node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

7
server/node_modules/@strapi/design-system/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,7 @@
Copyright (c) 2015-present Strapi Solutions SAS
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

47
server/node_modules/@strapi/design-system/README.md generated vendored Normal file
View File

@@ -0,0 +1,47 @@
# Strapi Design System
[![Version](https://img.shields.io/npm/v/@strapi/design-system?style=flat&colorA=4945ff&colorB=4945ff)](https://www.npmjs.com/package/@strapi/design-system)
[![Downloads](https://img.shields.io/npm/dt/@strapi/design-system.svg?style=flat&colorA=4945ff&colorB=4945ff)](https://www.npmjs.com/package/@strapi/design-system)
[![Discord Shield](https://img.shields.io/discord/811989166782021633?style=flat&colorA=4945ff&colorB=4945ff&label=discord&logo=discord&logoColor=f0f0ff)](https://discord.gg/strapi)
<b>A UI component library for creating amazing Strapi extensions.</b>
## Installation
```sh
$ yarn add react react-dom @strapi/design-system @strapi/icons styled-components
# or
$ npm i react react-dom @strapi/design-system @strapi/icons styled-components
```
## Getting Started
Wrap your application with the `DesignSystemProvider`. You can additionally pass a theme and/or locale, although you don't have to as we have default values for both.
```jsx
import { DesignSystemProvider, lightTheme } from '@strapi/design-system';
function MyApp({ children }) {
return (
<DesignSystemProvider locale="en-GB" theme={lightTheme}>
{children}
</DesignSystemProvider>
);
}
export default App;
```
Then, checkout the complete [Storybook documentation](https://design-system-git-main-strapijs.vercel.app/) to find the components you want to use and how to use them.
## Contributing
Please follow our [CONTRIBUTING](https://github.com/strapi/design-system/blob/main/CONTRIBUTING.md) guidelines.
## License
Licensed under the MIT License, Copyright © 2015-present [Strapi Solutions SAS](https://strapi.io).
See [LICENSE](https://github.com/strapi/design-system/blob/main/LICENSE) for more information.

View File

@@ -0,0 +1,48 @@
import * as React from 'react';
import * as RadixAccordion from '@radix-ui/react-accordion';
import { FlexProps } from '../../primitives/Flex';
type Size = 'S' | 'M';
type Variant = 'primary' | 'secondary';
interface ContextValue {
/**
* @default "S"
*/
size: Size;
}
type Element = HTMLDivElement;
type Props = Omit<RadixAccordion.AccordionSingleProps, 'type'> & Partial<ContextValue>;
declare const Root: React.ForwardRefExoticComponent<Omit<RadixAccordion.AccordionSingleProps, "type"> & Partial<ContextValue> & React.RefAttributes<HTMLDivElement>>;
type ItemElement = HTMLDivElement;
interface ItemProps extends RadixAccordion.AccordionItemProps {
}
declare const Item: React.ForwardRefExoticComponent<ItemProps & React.RefAttributes<HTMLDivElement>>;
type TriggerElement = HTMLButtonElement;
interface TriggerProps extends Omit<RadixAccordion.AccordionTriggerProps, 'asChild'> {
/**
* @default "left"
*/
caretPosition?: 'left' | 'right';
description?: string;
icon?: React.ElementType<React.SVGProps<SVGSVGElement>>;
iconProps?: React.SVGProps<SVGSVGElement>;
}
declare const Trigger: React.ForwardRefExoticComponent<TriggerProps & React.RefAttributes<HTMLButtonElement>>;
type ActionsElement = HTMLSpanElement;
interface ActionsProps extends FlexProps<'span'> {
}
declare const Actions: React.ForwardRefExoticComponent<Omit<ActionsProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
type HeaderElement = HTMLHeadingElement;
interface HeaderProps extends Omit<RadixAccordion.AccordionHeaderProps, 'asChild'> {
/**
* @default "primary"
*/
variant?: Variant;
}
declare const Header: React.ForwardRefExoticComponent<HeaderProps & React.RefAttributes<HTMLHeadingElement>>;
type ContentElement = HTMLDivElement;
interface ContentProps extends RadixAccordion.AccordionContentProps {
}
declare const Content: React.ForwardRefExoticComponent<ContentProps & React.RefAttributes<HTMLDivElement>>;
export { Root, Item, Header, Trigger, Actions, Content };
export type { ContextValue, Element, Props, ItemElement, ItemProps, HeaderElement, HeaderProps, TriggerElement, TriggerProps, ActionsElement, ActionsProps, ContentElement, ContentProps, Size, Variant, };
//# sourceMappingURL=Accordion.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,cAAc,MAAM,2BAA2B,CAAC;AAM5D,OAAO,EAAuB,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGvE,KAAK,IAAI,GAAG,GAAG,GAAG,GAAG,CAAC;AACtB,KAAK,OAAO,GAAG,SAAS,GAAG,WAAW,CAAC;AAMvC,UAAU,YAAY;IACpB;;OAEG;IACH,IAAI,EAAE,IAAI,CAAC;CACZ;AAID,KAAK,OAAO,GAAG,cAAc,CAAC;AAE9B,KAAK,KAAK,GAAG,IAAI,CAAC,cAAc,CAAC,oBAAoB,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AAEvF,QAAA,MAAM,IAAI,kJAMR,CAAC;AAqBH,KAAK,WAAW,GAAG,cAAc,CAAC;AAElC,UAAU,SAAU,SAAQ,cAAc,CAAC,kBAAkB;CAAG;AAEhE,QAAA,MAAM,IAAI,kFAIR,CAAC;AAiDH,KAAK,cAAc,GAAG,iBAAiB,CAAC;AAExC,UAAU,YAAa,SAAQ,IAAI,CAAC,cAAc,CAAC,qBAAqB,EAAE,SAAS,CAAC;IAClF;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAC;IACxD,SAAS,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;CAC3C;AAED,QAAA,MAAM,OAAO,wFAsCZ,CAAC;AAgEF,KAAK,cAAc,GAAG,eAAe,CAAC;AAEtC,UAAU,YAAa,SAAQ,SAAS,CAAC,MAAM,CAAC;CAAG;AAEnD,QAAA,MAAM,OAAO,mGAIX,CAAC;AAyBH,KAAK,aAAa,GAAG,kBAAkB,CAAC;AAExC,UAAU,WAAY,SAAQ,IAAI,CAAC,cAAc,CAAC,oBAAoB,EAAE,SAAS,CAAC;IAChF;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,MAAM,wFAEV,CAAC;AA4CH,KAAK,cAAc,GAAG,cAAc,CAAC;AAErC,UAAU,YAAa,SAAQ,cAAc,CAAC,qBAAqB;CAAG;AAEtE,QAAA,MAAM,OAAO,qFAEX,CAAC;AAoCH,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;AACzD,YAAY,EACV,YAAY,EACZ,OAAO,EACP,KAAK,EACL,WAAW,EACX,SAAS,EACT,aAAa,EACb,WAAW,EACX,cAAc,EACd,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,IAAI,EACJ,OAAO,GACR,CAAC"}

View File

@@ -0,0 +1,2 @@
export * as Accordion from './Accordion';
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Accordion/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC"}

View File

@@ -0,0 +1,35 @@
import * as React from 'react';
import { BoxProps } from '../../primitives/Box';
export type AlertVariant = 'success' | 'danger' | 'default' | 'warning';
export interface AlertProps extends BoxProps {
/**
* Render a React element below the body of an `Alert` (Mainly used to render a Link).
*/
action?: React.ReactNode;
/**
* The body of the `Alert` (Will be rendered under the `Alert` title).
*/
children: React.ReactNode;
/**
* Accessible label for the close icon button.
*/
closeLabel: string;
/**
* The callback invoked when click on the close icon button.
*/
onClose?: () => void;
/**
* The title of the `Alert`.
*/
title?: string;
/**
* Changes the element, as which a component will render (similar to styled-components).
*/
titleAs?: React.ElementType;
/**
* `Alert` color variant.
*/
variant?: AlertVariant;
}
export declare const Alert: ({ title, children, variant, onClose, closeLabel, titleAs, action, ...props }: AlertProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=Alert.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Alert.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/Alert.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAqB,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAiDnE,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;AAExE,MAAM,WAAW,UAAW,SAAQ,QAAQ;IAC1C;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;AAED,eAAO,MAAM,KAAK,iFASf,UAAU,4CAqDZ,CAAC"}

View File

@@ -0,0 +1,2 @@
export * from './Alert';
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}

View File

@@ -0,0 +1,11 @@
import { DefaultTheme } from 'styled-components';
import type { AlertVariant } from './Alert';
interface StyledProps {
theme: DefaultTheme;
$variant: AlertVariant;
}
export declare const handleBackgroundColor: (variant: AlertVariant) => keyof DefaultTheme['colors'];
export declare const handleBorderColor: (variant: AlertVariant) => keyof DefaultTheme['colors'];
export declare const handleIconColor: ({ theme, $variant }: StyledProps) => string;
export {};
//# sourceMappingURL=utils.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,UAAU,WAAW;IACnB,KAAK,EAAE,YAAY,CAAC;IACpB,QAAQ,EAAE,YAAY,CAAC;CACxB;AAED,eAAO,MAAM,qBAAqB,YAAa,YAAY,KAAG,MAAM,YAAY,CAAC,QAAQ,CAWxF,CAAC;AAGF,eAAO,MAAM,iBAAiB,YAAa,YAAY,KAAG,MAAM,YAAY,CAAC,QAAQ,CAEpF,CAAC;AAEF,eAAO,MAAM,eAAe,wBAAyB,WAAW,WAc/D,CAAC"}

View File

@@ -0,0 +1,27 @@
import * as React from 'react';
import * as Avatar from '@radix-ui/react-avatar';
import { FlexProps } from '../../primitives/Flex';
type ItemElement = HTMLSpanElement;
interface ItemProps extends Avatar.AvatarProps, Pick<Avatar.AvatarImageProps, 'onLoadingStatusChange' | 'src' | 'alt'> {
/**
* @default 600
* @description Useful for delaying rendering so it only
* appears for those with slower connections.
*/
delayMs?: Avatar.AvatarFallbackProps['delayMs'];
fallback: React.ReactNode;
/**
* @default false
* @description Useful for showing a preview of the image
* on hover in a tooltip.
*/
preview?: boolean;
}
declare const Item: React.ForwardRefExoticComponent<ItemProps & React.RefAttributes<HTMLSpanElement>>;
type GroupElement = HTMLDivElement;
interface GroupProps extends Omit<FlexProps, 'tag'> {
}
declare const Group: React.ForwardRefExoticComponent<Omit<GroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
export { Item, Group };
export type { ItemElement, ItemProps, GroupElement, GroupProps };
//# sourceMappingURL=Avatar.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AAMjD,OAAO,EAAuB,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAiBvE,KAAK,WAAW,GAAG,eAAe,CAAC;AAEnC,UAAU,SAAU,SAAQ,MAAM,CAAC,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,gBAAgB,EAAE,uBAAuB,GAAG,KAAK,GAAG,KAAK,CAAC;IACpH;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,mBAAmB,CAAC,SAAS,CAAC,CAAC;IAChD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,IAAI,mFA+CT,CAAC;AA6DF,KAAK,YAAY,GAAG,cAAc,CAAC;AAEnC,UAAU,UAAW,SAAQ,IAAI,CAAC,SAAS,EAAE,KAAK,CAAC;CAAG;AAEtD,QAAA,MAAM,KAAK,gGAET,CAAC;AAQH,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;AACvB,YAAY,EAAE,WAAW,EAAE,SAAS,EAAE,YAAY,EAAE,UAAU,EAAE,CAAC"}

View File

@@ -0,0 +1,2 @@
export * as Avatar from './Avatar';
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC"}

View File

@@ -0,0 +1,19 @@
import { FlexProps } from '../../primitives/Flex';
import { DefaultThemeOrCSSProp } from '../../types';
type BadgeSize = 'S' | 'M';
interface BadgeProps extends FlexProps {
/**
* If `true`, it changes the `backgroundColor` to `primary200` and the `textColor` to `primary600`
*/
active?: boolean;
backgroundColor?: DefaultThemeOrCSSProp<'colors', 'background'>;
/**
* @default 'M'
*/
size?: BadgeSize;
textColor?: DefaultThemeOrCSSProp<'colors', 'color'>;
}
declare const Badge: ({ active, size, textColor, backgroundColor, children, minWidth, ...props }: BadgeProps) => import("react/jsx-runtime").JSX.Element;
export { Badge };
export type { BadgeProps, BadgeSize };
//# sourceMappingURL=Badge.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAuB,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEpD,KAAK,SAAS,GAAG,GAAG,GAAG,GAAG,CAAC;AAE3B,UAAU,UAAW,SAAQ,SAAS;IACpC;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,eAAe,CAAC,EAAE,qBAAqB,CAAC,QAAQ,EAAE,YAAY,CAAC,CAAC;IAChE;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,SAAS,CAAC,EAAE,qBAAqB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;CACtD;AAED,QAAA,MAAM,KAAK,+EAQR,UAAU,4CAoBZ,CAAC;AAmBF,OAAO,EAAE,KAAK,EAAE,CAAC;AACjB,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC"}

View File

@@ -0,0 +1,2 @@
export * from './Badge';
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}

View File

@@ -0,0 +1,11 @@
import * as React from 'react';
import { BoxProps } from '../../primitives/Box';
type BaseLinkProps<C extends React.ElementType = 'a'> = BoxProps<C> & {
disabled?: boolean;
isExternal?: boolean;
};
declare const BaseLinkImpl: (props: Omit<BaseLinkProps<"a">, "ref"> & React.RefAttributes<HTMLAnchorElement>) => React.ReactNode;
type BaseLinkComponent<C extends React.ElementType = 'a'> = (props: BaseLinkProps<C>) => React.ReactNode;
export { BaseLinkImpl as BaseLink };
export type { BaseLinkProps, BaseLinkComponent };
//# sourceMappingURL=BaseLink.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"BaseLink.d.ts","sourceRoot":"","sources":["../../../src/components/BaseLink/BaseLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAqB,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGnE,KAAK,aAAa,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,GAAG,IAAI,QAAQ,CAAC,CAAC,CAAC,GAAG;IACpE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,QAAA,MAAM,YAAY,sGAiBjB,CAAC;AAUF,KAAK,iBAAiB,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,GAAG,IAAI,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;AAEzG,OAAO,EAAE,YAAY,IAAI,QAAQ,EAAE,CAAC;AACpC,YAAY,EAAE,aAAa,EAAE,iBAAiB,EAAE,CAAC"}

View File

@@ -0,0 +1,2 @@
export * from './BaseLink';
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BaseLink/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}

View File

@@ -0,0 +1,7 @@
import * as React from 'react';
import { FlexProps } from '../../primitives/Flex';
export interface BreadcrumbsProps extends FlexProps {
label?: string;
}
export declare const Breadcrumbs: React.ForwardRefExoticComponent<Omit<BreadcrumbsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=Breadcrumbs.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/Breadcrumbs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAuB,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAcvE,MAAM,WAAW,gBAAiB,SAAQ,SAAS;IACjD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,WAAW,sGAqBvB,CAAC"}

View File

@@ -0,0 +1,7 @@
import * as React from 'react';
import { TypographyProps } from '../../primitives/Typography';
export interface CrumbProps extends TypographyProps {
isCurrent?: boolean;
}
export declare const Crumb: React.ForwardRefExoticComponent<CrumbProps & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=Crumb.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Crumb.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/Crumb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAc,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE1E,MAAM,WAAW,UAAW,SAAQ,eAAe;IACjD,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,KAAK,mFAcjB,CAAC"}

View File

@@ -0,0 +1,4 @@
import * as React from 'react';
import { BaseLinkProps } from '../BaseLink';
export declare const CrumbLink: React.ForwardRefExoticComponent<Omit<BaseLinkProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
//# sourceMappingURL=CrumbLink.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CrumbLink.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/CrumbLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAY,aAAa,EAAE,MAAM,aAAa,CAAC;AAiBtD,eAAO,MAAM,SAAS,sGAIpB,CAAC"}

View File

@@ -0,0 +1,39 @@
import * as React from 'react';
import { type SimpleMenuProps } from '../SimpleMenu';
export type CrumbSimpleMenuProps = SimpleMenuProps & {
'aria-label': string;
icon?: React.ReactElement;
endIcon?: React.ReactNode;
};
export declare const CrumbSimpleMenu: React.ForwardRefExoticComponent<(Omit<Omit<import("..").ButtonProps, "tag"> & {
endIcon?: React.ReactNode;
label?: React.ReactNode;
} & {
tag?: (<C extends React.ElementType<any, keyof React.JSX.IntrinsicElements> = "button">(props: React.PropsWithoutRef<import("..").ButtonProps<C>> & React.RefAttributes<unknown>) => React.ReactNode) | undefined;
icon?: React.ReactNode;
} & Pick<import("../SimpleMenu/Menu").ContentProps, "intersectionId" | "popoverPlacement"> & {
children?: React.ReactNode;
onOpen?: (() => void) | undefined;
onClose?: (() => void) | undefined;
onReachEnd?: ((entry: IntersectionObserverEntry) => void) | undefined;
} & {
'aria-label': string;
icon?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
endIcon?: React.ReactNode;
}, "ref"> | Omit<Omit<import("..").ButtonProps, "tag"> & {
endIcon?: React.ReactNode;
label?: React.ReactNode;
} & {
tag: <C_1 extends React.ElementType<any, keyof React.JSX.IntrinsicElements> = "button">(props: React.PropsWithoutRef<import("..").IconButtonProps<C_1>> & React.RefAttributes<unknown>) => React.ReactNode;
icon: React.ReactNode;
} & Pick<import("../SimpleMenu/Menu").ContentProps, "intersectionId" | "popoverPlacement"> & {
children?: React.ReactNode;
onOpen?: (() => void) | undefined;
onClose?: (() => void) | undefined;
onReachEnd?: ((entry: IntersectionObserverEntry) => void) | undefined;
} & {
'aria-label': string;
icon?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
endIcon?: React.ReactNode;
}, "ref">) & React.RefAttributes<HTMLButtonElement>>;
//# sourceMappingURL=CrumbSimpleMenu.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CrumbSimpleMenu.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/CrumbSimpleMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAYjE,MAAM,MAAM,oBAAoB,GAAG,eAAe,GAAG;IACnD,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;kBALZ,MAAM;;cAEV,MAAM,SAAS;;;;;;;;;;;;;kBAFX,MAAM;;cAEV,MAAM,SAAS;oDAS1B,CAAC"}

View File

@@ -0,0 +1,5 @@
export declare const Divider: {
(): import("react/jsx-runtime").JSX.Element;
displayName: string;
};
//# sourceMappingURL=Divider.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/Divider.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO;;;CAQnB,CAAC"}

View File

@@ -0,0 +1,5 @@
export * from './Breadcrumbs';
export * from './Crumb';
export * from './CrumbLink';
export * from './CrumbSimpleMenu';
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Breadcrumbs/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC"}

View File

@@ -0,0 +1,18 @@
import * as React from 'react';
import { FlexProps } from '../../primitives/Flex';
import { ButtonVariant, ButtonSize } from './constants';
type ButtonProps<C extends React.ElementType = 'button'> = FlexProps<C> & {
disabled?: boolean;
endIcon?: React.ReactNode;
fullWidth?: boolean;
loading?: boolean;
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
size?: ButtonSize;
startIcon?: React.ReactNode;
variant?: ButtonVariant;
};
declare const Button: <C extends React.ElementType<any, keyof React.JSX.IntrinsicElements> = "button">(props: React.PropsWithoutRef<ButtonProps<C>> & React.RefAttributes<unknown>) => React.ReactNode;
type ButtonComponent<C extends React.ElementType = 'button'> = (props: ButtonProps<C>) => React.ReactNode;
export { Button };
export type { ButtonComponent, ButtonProps };
//# sourceMappingURL=Button.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAuB,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAKvE,OAAO,EAAgB,aAAa,EAAE,UAAU,EAAW,MAAM,aAAa,CAAC;AAG/E,KAAK,WAAW,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,QAAQ,IAAI,SAAS,CAAC,CAAC,CAAC,GAAG;IACxE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC/D,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,OAAO,CAAC,EAAE,aAAa,CAAC;CACzB,CAAC;AAEF,QAAA,MAAM,MAAM,kLA8DX,CAAC;AAEF,KAAK,eAAe,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,QAAQ,IAAI,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,KAAK,CAAC,SAAS,CAAC;AA2C1G,OAAO,EAAE,MAAM,EAAE,CAAC;AAClB,YAAY,EAAE,eAAe,EAAE,WAAW,EAAE,CAAC"}

View File

@@ -0,0 +1,14 @@
export declare const SUCCESS_LIGHT = "success-light";
export declare const DANGER_LIGHT = "danger-light";
export declare const DEFAULT = "default";
export declare const TERTIARY = "tertiary";
export declare const SECONDARY = "secondary";
export declare const DANGER = "danger";
export declare const SUCCESS = "success";
export declare const GHOST = "ghost";
export declare const LIGHT_VARIANTS: readonly ["success-light", "danger-light"];
export declare const VARIANTS: readonly ["default", "tertiary", "secondary", "danger", "success", "ghost", "success-light", "danger-light"];
export declare const BUTTON_SIZES: readonly ["XS", "S", "M", "L"];
export type ButtonVariant = (typeof VARIANTS)[number];
export type ButtonSize = (typeof BUTTON_SIZES)[number];
//# sourceMappingURL=constants.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/Button/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,YAAY,iBAAiB,CAAC;AAC3C,eAAO,MAAM,OAAO,YAAY,CAAC;AACjC,eAAO,MAAM,QAAQ,aAAa,CAAC;AACnC,eAAO,MAAM,SAAS,cAAc,CAAC;AACrC,eAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,eAAO,MAAM,OAAO,YAAY,CAAC;AACjC,eAAO,MAAM,KAAK,UAAU,CAAC;AAE7B,eAAO,MAAM,cAAc,4CAAyC,CAAC;AACrE,eAAO,MAAM,QAAQ,8GAAqF,CAAC;AAC3G,eAAO,MAAM,YAAY,gCAAiC,CAAC;AAE3D,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC;AACtD,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC"}

View File

@@ -0,0 +1,2 @@
export * from './Button';
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}

View File

@@ -0,0 +1,19 @@
import { DefaultTheme } from 'styled-components';
import { type ButtonVariant } from './constants';
export declare const getVariantColorName: (variant: ButtonVariant) => 'success' | 'danger' | 'neutral' | 'primary';
export declare const getDisabledStyle: ({ theme }: {
theme: DefaultTheme;
}) => import("styled-components").RuleSet<object>;
export declare const getHoverStyle: ({ theme, $variant }: {
theme: DefaultTheme;
$variant: ButtonVariant;
}) => import("styled-components").RuleSet<object>;
export declare const getActiveStyle: ({ theme, $variant }: {
theme: DefaultTheme;
$variant: ButtonVariant;
}) => import("styled-components").RuleSet<object>;
export declare const getVariantStyle: ({ theme, $variant }: {
theme: DefaultTheme;
$variant: ButtonVariant;
}) => import("styled-components").RuleSet<object>;
//# sourceMappingURL=utils.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/Button/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAO,MAAM,mBAAmB,CAAC;AAEtD,OAAO,EAWL,KAAK,aAAa,EACnB,MAAM,aAAa,CAAC;AAErB,eAAO,MAAM,mBAAmB,YAAa,aAAa,KAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,SAa/F,CAAC;AAEF,eAAO,MAAM,gBAAgB,cAAe;IAAE,KAAK,EAAE,YAAY,CAAA;CAAE,gDAOlE,CAAC;AAEF,eAAO,MAAM,aAAa,wBAAyB;IAAE,KAAK,EAAE,YAAY,CAAC;IAAC,QAAQ,EAAE,aAAa,CAAA;CAAE,gDA6BlG,CAAC;AAEF,eAAO,MAAM,cAAc,wBAAyB;IAAE,KAAK,EAAE,YAAY,CAAC;IAAC,QAAQ,EAAE,aAAa,CAAA;CAAE,gDAkBnG,CAAC;AAEF,eAAO,MAAM,eAAe,wBAAyB;IAAE,KAAK,EAAE,YAAY,CAAC;IAAC,QAAQ,EAAE,aAAa,CAAA;CAAE,gDA6CpG,CAAC"}

View File

@@ -0,0 +1,7 @@
import * as React from 'react';
import { BoxProps } from '../../primitives/Box';
export interface CardProps extends BoxProps {
id?: string;
}
export declare const Card: React.ForwardRefExoticComponent<Omit<CardProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=Card.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAO,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAIrD,MAAM,WAAW,SAAU,SAAQ,QAAQ;IACzC,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,eAAO,MAAM,IAAI,+FAuBf,CAAC"}

View File

@@ -0,0 +1,10 @@
import * as React from 'react';
import { FlexProps } from '../../primitives/Flex';
type CardActionPosition = 'end' | 'start';
type CardActionProps = Omit<FlexProps<'div'>, 'direction' | 'gap' | 'position'> & {
position: CardActionPosition;
};
declare const CardActionImpl: React.ForwardRefExoticComponent<Omit<CardActionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
export { CardActionImpl as CardAction };
export type { CardActionProps, CardActionPosition };
//# sourceMappingURL=CardAction.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CardAction.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardAction.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAuB,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAGvE,KAAK,kBAAkB,GAAG,KAAK,GAAG,OAAO,CAAC;AAE1C,KAAK,eAAe,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,KAAK,GAAG,UAAU,CAAC,GAAG;IAChF,QAAQ,EAAE,kBAAkB,CAAC;CAC9B,CAAC;AAEF,QAAA,MAAM,cAAc,qGAElB,CAAC;AAqBH,OAAO,EAAE,cAAc,IAAI,UAAU,EAAE,CAAC;AACxC,YAAY,EAAE,eAAe,EAAE,kBAAkB,EAAE,CAAC"}

View File

@@ -0,0 +1,13 @@
import * as React from 'react';
type CardAssetSize = 'S' | 'M';
interface CardAssetProps extends React.ImgHTMLAttributes<HTMLImageElement> {
/**
* @default 'M'
*/
size?: CardAssetSize;
children?: React.ReactNode;
}
declare const CardAsset: ({ size, children, ...props }: CardAssetProps) => import("react/jsx-runtime").JSX.Element;
export { CardAsset };
export type { CardAssetProps, CardAssetSize };
//# sourceMappingURL=CardAsset.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CardAsset.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardAsset.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,KAAK,aAAa,GAAG,GAAG,GAAG,GAAG,CAAC;AAE/B,UAAU,cAAe,SAAQ,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC;IACxE;;OAEG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED,QAAA,MAAM,SAAS,iCAAwC,cAAc,4CAIpE,CAAC;AAwBF,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB,YAAY,EAAE,cAAc,EAAE,aAAa,EAAE,CAAC"}

View File

@@ -0,0 +1,4 @@
import { BadgeProps } from '../Badge';
export type CardBadgeProps = BadgeProps;
export declare const CardBadge: (props: CardBadgeProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=CardBadge.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CardBadge.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardBadge.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAS,UAAU,EAAE,MAAM,UAAU,CAAC;AAW7C,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC;AAExC,eAAO,MAAM,SAAS,UAAW,cAAc,4CAI9C,CAAC"}

View File

@@ -0,0 +1,4 @@
import { FlexProps } from '../../primitives/Flex';
export type CardBodyProps = FlexProps;
export declare const CardBody: (props: CardBodyProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=CardBody.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CardBody.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardBody.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAExD,MAAM,MAAM,aAAa,GAAG,SAAS,CAAC;AAEtC,eAAO,MAAM,QAAQ,UAAW,aAAa,4CAM5C,CAAC"}

View File

@@ -0,0 +1,8 @@
import * as React from 'react';
import { CheckboxProps } from '../Checkbox';
interface CardCheckboxProps extends CheckboxProps {
}
declare const CardCheckbox: React.ForwardRefExoticComponent<CardCheckboxProps & React.RefAttributes<HTMLButtonElement>>;
export { CardCheckbox };
export type { CardCheckboxProps };
//# sourceMappingURL=CardCheckbox.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CardCheckbox.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardCheckbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAY,aAAa,EAAE,MAAM,aAAa,CAAC;AAKtD,UAAU,iBAAkB,SAAQ,aAAa;CAAG;AAEpD,QAAA,MAAM,YAAY,6FAQhB,CAAC;AAEH,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,YAAY,EAAE,iBAAiB,EAAE,CAAC"}

View File

@@ -0,0 +1,7 @@
import * as React from 'react';
import { BoxProps } from '../../primitives/Box';
export interface CardContentProps extends BoxProps {
children: React.ReactNode;
}
export declare const CardContent: ({ children, ...props }: CardContentProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=CardContent.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CardContent.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAqB,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAMnE,MAAM,WAAW,gBAAiB,SAAQ,QAAQ;IAChD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,WAAW,2BAA4B,gBAAgB,4CAEnE,CAAC"}

View File

@@ -0,0 +1,8 @@
import * as React from 'react';
export declare const CardContext: React.Context<{
id: string;
}>;
export declare const useCard: () => {
id: string;
};
//# sourceMappingURL=CardContext.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CardContext.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,eAAO,MAAM,WAAW;;EAAkC,CAAC;AAE3D,eAAO,MAAM,OAAO;;CAAsC,CAAC"}

View File

@@ -0,0 +1,4 @@
import { FlexProps } from '../../primitives/Flex';
export type CardHeaderProps = FlexProps;
export declare const CardHeader: (props: CardHeaderProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=CardHeader.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CardHeader.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAuB,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAMvE,MAAM,MAAM,eAAe,GAAG,SAAS,CAAC;AAExC,eAAO,MAAM,UAAU,UAAW,eAAe,4CAEhD,CAAC"}

View File

@@ -0,0 +1,7 @@
import * as React from 'react';
import { BoxProps } from '../../primitives/Box';
export interface CardTimerProps extends BoxProps {
children: React.ReactNode;
}
export declare const CardTimer: ({ children, ...props }: CardTimerProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=CardTimer.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CardTimer.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardTimer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAO,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAGrD,MAAM,WAAW,cAAe,SAAQ,QAAQ;IAC9C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,SAAS,2BAA4B,cAAc,4CAgB/D,CAAC"}

View File

@@ -0,0 +1,6 @@
import { TypographyProps } from '../../primitives/Typography';
export type CardTitleProps = TypographyProps;
export declare const CardTitle: (props: CardTitleProps) => import("react/jsx-runtime").JSX.Element;
export type CardSubtitleProps = Omit<TypographyProps<'div'>, 'textColor' | 'as'>;
export declare const CardSubtitle: (props: CardSubtitleProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=CardTitle.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CardTitle.d.ts","sourceRoot":"","sources":["../../../src/components/Card/CardTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAI1E,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC;AAE7C,eAAO,MAAM,SAAS,UAAW,cAAc,4CAI9C,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC,CAAC;AAEjF,eAAO,MAAM,YAAY,UAAW,iBAAiB,4CAEpD,CAAC"}

View File

@@ -0,0 +1,11 @@
export * from './Card';
export * from './CardAction';
export * from './CardAsset';
export * from './CardBadge';
export * from './CardBody';
export * from './CardCheckbox';
export * from './CardContent';
export * from './CardHeader';
export * from './CardTimer';
export * from './CardTitle';
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Card/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC"}

View File

@@ -0,0 +1,16 @@
import * as React from 'react';
import { BoxProps } from '../../primitives/Box';
export interface CarouselProps extends BoxProps {
actions?: React.ReactNode;
children: React.ReactNode;
label: string;
nextLabel: string;
onNext?: () => void;
onPrevious?: () => void;
previousLabel: string;
secondaryLabel?: string;
selectedSlide: number;
}
export type CarouselElement = HTMLDivElement;
export declare const Carousel: React.ForwardRefExoticComponent<Omit<CarouselProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=Carousel.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../src/components/CarouselInput/Carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,EAAqB,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAMnE,MAAM,WAAW,aAAc,SAAQ,QAAQ;IAC7C,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;CACvB;AAoBD,MAAM,MAAM,eAAe,GAAG,cAAc,CAAC;AAE7C,eAAO,MAAM,QAAQ,mGA6FpB,CAAC"}

View File

@@ -0,0 +1,6 @@
import { FlexProps } from '../../primitives/Flex';
export interface CarouselActionsProps extends FlexProps {
horizontal?: boolean;
}
export declare const CarouselActions: ({ horizontal, ...props }: CarouselActionsProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=CarouselActions.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CarouselActions.d.ts","sourceRoot":"","sources":["../../../src/components/CarouselInput/CarouselActions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAExD,MAAM,WAAW,oBAAqB,SAAQ,SAAS;IACrD,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,eAAO,MAAM,eAAe,6BAAqC,oBAAoB,4CAWpF,CAAC"}

View File

@@ -0,0 +1,7 @@
import { BoxProps } from '../../primitives/Box';
export interface CarouselImageProps extends BoxProps<'img'> {
alt: string;
src: string;
}
export declare const CarouselImage: (props: CarouselImageProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=CarouselImage.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CarouselImage.d.ts","sourceRoot":"","sources":["../../../src/components/CarouselInput/CarouselImage.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAqB,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAInE,MAAM,WAAW,kBAAmB,SAAQ,QAAQ,CAAC,KAAK,CAAC;IACzD,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb;AAMD,eAAO,MAAM,aAAa,UAAW,kBAAkB,4CAgBtD,CAAC"}

View File

@@ -0,0 +1,10 @@
import * as React from 'react';
import { Field } from '../Field';
import { CarouselProps } from './Carousel';
export interface CarouselInputProps extends CarouselProps, Pick<Field.Props, 'hint' | 'error' | 'required'> {
actions?: React.ReactNode;
children: React.ReactNode;
labelAction?: Field.LabelProps['action'];
}
export declare const CarouselInput: React.ForwardRefExoticComponent<Omit<CarouselInputProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
//# sourceMappingURL=CarouselInput.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CarouselInput.d.ts","sourceRoot":"","sources":["../../../src/components/CarouselInput/CarouselInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,OAAO,EAA6B,aAAa,EAAE,MAAM,YAAY,CAAC;AAEtE,MAAM,WAAW,kBAAmB,SAAQ,aAAa,EAAE,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,CAAC;IACzG,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,WAAW,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC;CAC1C;AAED,eAAO,MAAM,aAAa,wGAgDzB,CAAC"}

View File

@@ -0,0 +1,9 @@
/// <reference types="react" />
import { FlexProps } from '../../primitives/Flex';
export interface CarouselSlideProps extends FlexProps {
children: React.ReactNode;
label: string;
selected?: boolean;
}
export declare const CarouselSlide: ({ label, children, selected, ...props }: CarouselSlideProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=CarouselSlide.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"CarouselSlide.d.ts","sourceRoot":"","sources":["../../../src/components/CarouselInput/CarouselSlide.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAExD,MAAM,WAAW,kBAAmB,SAAQ,SAAS;IACnD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,4CAAqD,kBAAkB,4CAchG,CAAC"}

View File

@@ -0,0 +1,6 @@
export * from './Carousel';
export * from './CarouselInput';
export * from './CarouselActions';
export * from './CarouselImage';
export * from './CarouselSlide';
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CarouselInput/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC"}

View File

@@ -0,0 +1,11 @@
import * as React from 'react';
import * as Checkbox from '@radix-ui/react-checkbox';
interface CheckboxElProps extends Checkbox.CheckboxProps {
}
type CheckboxElement = HTMLButtonElement;
interface CheckboxProps extends CheckboxElProps {
}
declare const CheckboxImpl: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
export { CheckboxImpl as Checkbox };
export type { CheckboxProps, CheckboxElProps, CheckboxElement };
//# sourceMappingURL=Checkbox.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,QAAQ,MAAM,0BAA0B,CAAC;AAmCrD,UAAU,eAAgB,SAAQ,QAAQ,CAAC,aAAa;CAAG;AAE3D,KAAK,eAAe,GAAG,iBAAiB,CAAC;AAiFzC,UAAU,aAAc,SAAQ,eAAe;CAAG;AAElD,QAAA,MAAM,YAAY,yFAehB,CAAC;AAEH,OAAO,EAAE,YAAY,IAAI,QAAQ,EAAE,CAAC;AACpC,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,eAAe,EAAE,CAAC"}

View File

@@ -0,0 +1,2 @@
export * from './Checkbox';
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}

View File

@@ -0,0 +1,32 @@
import * as React from 'react';
import { Combobox as ComboboxPrimitive } from '@strapi/ui-primitives';
import { Field } from '../Field';
interface ComboboxProps extends Pick<ComboboxPrimitive.RootProps, 'allowCustomValue' | 'autocomplete' | 'children' | 'disabled' | 'defaultTextValue' | 'defaultOpen' | 'defaultFilterValue' | 'filterValue' | 'isPrintableCharacter' | 'open' | 'onOpenChange' | 'onFilterValueChange' | 'onTextValueChange' | 'required' | 'textValue' | 'value'>, Pick<Field.InputProps, 'hasError' | 'name' | 'id'>, Omit<ComboboxPrimitive.TextInputProps, 'required' | 'disabled' | 'value' | 'onChange' | 'size'> {
clearLabel?: string;
creatable?: boolean | 'visible';
createMessage?: (value: string) => string;
creatableStartIcon?: React.ReactNode;
hasMoreItems?: boolean;
loading?: boolean;
loadingMessage?: string;
noOptionsMessage?: (value: string) => string;
onChange?: ComboboxPrimitive.RootProps['onValueChange'];
onClear?: React.MouseEventHandler<HTMLButtonElement | HTMLDivElement>;
onCreateOption?: (value?: string) => void;
onLoadMore?: (entry: IntersectionObserverEntry) => void;
onInputChange?: React.ChangeEventHandler<HTMLInputElement>;
/**
* @default "M"
*/
size?: 'S' | 'M';
startIcon?: React.ReactNode;
}
type ComboboxInputElement = HTMLInputElement;
declare const Combobox: React.ForwardRefExoticComponent<ComboboxProps & React.RefAttributes<HTMLInputElement>>;
interface ComboboxOptionProps extends ComboboxPrimitive.ItemProps {
children: React.ReactNode;
}
declare const Option: React.ForwardRefExoticComponent<ComboboxOptionProps & React.RefAttributes<HTMLDivElement>>;
export { Combobox, Option as ComboboxOption };
export type { ComboboxInputElement, ComboboxOptionProps, ComboboxProps };
//# sourceMappingURL=Combobox.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AActE,OAAO,EAAE,KAAK,EAAY,MAAM,UAAU,CAAC;AAQ3C,UAAU,aACR,SAAQ,IAAI,CACR,iBAAiB,CAAC,SAAS,EACzB,kBAAkB,GAClB,cAAc,GACd,UAAU,GACV,UAAU,GACV,kBAAkB,GAClB,aAAa,GACb,oBAAoB,GACpB,aAAa,GACb,sBAAsB,GACtB,MAAM,GACN,cAAc,GACd,qBAAqB,GACrB,mBAAmB,GACnB,UAAU,GACV,WAAW,GACX,OAAO,CACV,EACD,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,CAAC,EAClD,IAAI,CAAC,iBAAiB,CAAC,cAAc,EAAE,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,UAAU,GAAG,MAAM,CAAC;IACjG,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC1C,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAC7C,QAAQ,CAAC,EAAE,iBAAiB,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC;IACxD,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,GAAG,cAAc,CAAC,CAAC;IACtE,cAAc,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC;IACxD,aAAa,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;IAC3D;;OAEG;IACH,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC;IACjB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B;AAED,KAAK,oBAAoB,GAAG,gBAAgB,CAAC;AAE7C,QAAA,MAAM,QAAQ,wFA6Ob,CAAC;AA6IF,UAAU,mBAAoB,SAAQ,iBAAiB,CAAC,SAAS;IAC/D,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,QAAA,MAAM,MAAM,4FAYX,CAAC;AA8BF,OAAO,EAAE,QAAQ,EAAE,MAAM,IAAI,cAAc,EAAE,CAAC;AAC9C,YAAY,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,aAAa,EAAE,CAAC"}

View File

@@ -0,0 +1,2 @@
export * from './Combobox';
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}

View File

@@ -0,0 +1,63 @@
import * as React from 'react';
import { CalendarDate } from '@internationalized/date';
import { FlexProps } from '../../primitives/Flex';
import { Field } from '../Field';
interface DatePickerContextValue {
calendarDate: CalendarDate;
content: DatePickerContentElement | null;
contentId: string;
disabled: boolean;
locale: string;
minDate: CalendarDate;
maxDate: CalendarDate;
open: boolean;
onCalendarDateChange: (date: CalendarDate) => void;
onContentChange: (content: DatePickerContentElement | null) => void;
onOpenChange: (isOpen: boolean) => void;
onTextInputChange: (textInput: DatePickerTextInputElement | null) => void;
onTextValueChange: (textValue: string) => void;
onTriggerChange: (trigger: DatePickerTriggerElement | null) => void;
onValueChange: (value: CalendarDate | undefined) => void;
required: boolean;
textInput: DatePickerTextInputElement | null;
textValue?: string;
timeZone: string;
trigger: DatePickerTriggerElement | null;
value?: CalendarDate;
}
interface DatePickerProps extends Pick<Partial<DatePickerContextValue>, 'disabled' | 'locale'>, Pick<CalendarProps, 'monthSelectLabel' | 'yearSelectLabel'>, Omit<TextInputProps, 'onChange' | 'value' | 'ref' | 'size'> {
calendarLabel?: string;
className?: string;
minDate?: Date;
maxDate?: Date;
/**
* @default Now
*/
initialDate?: Date;
/**
* onChange function, passed from a parent component, it takes the actual date value and it is used inside the different handlers related to the change event for the DatePicker and the TimePicker and also the clear event for the TimePicker
*/
onChange?: (date: Date | undefined) => void;
onClear?: (e: React.MouseEvent<HTMLButtonElement> | React.MouseEvent<HTMLDivElement>) => void;
clearLabel?: string;
/**
* @default
*/
size?: 'S' | 'M';
value?: Date;
}
declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLInputElement>>;
type DatePickerTriggerElement = HTMLDivElement;
type DatePickerTextInputElement = HTMLInputElement;
interface TextInputProps extends React.ComponentPropsWithRef<'input'>, Pick<Field.InputProps, 'hasError'> {
}
type DatePickerContentElement = DatePickerContentImplElement;
type DatePickerContentImplElement = HTMLDivElement;
interface CalendarProps extends FlexProps<'div'> {
monthSelectLabel?: string;
yearSelectLabel?: string;
}
type DatePickerElement = DatePickerTextInputElement;
export { DatePicker };
export type { DatePickerProps, DatePickerElement };
//# sourceMappingURL=DatePicker.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/DatePicker.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAOL,YAAY,EAMb,MAAM,yBAAyB,CAAC;AAgBjC,OAAO,EAAuB,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAOvE,OAAO,EAAE,KAAK,EAAY,MAAM,UAAU,CAAC;AAW3C,UAAU,sBAAsB;IAC9B,YAAY,EAAE,YAAY,CAAC;IAC3B,OAAO,EAAE,wBAAwB,GAAG,IAAI,CAAC;IACzC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IAIf,OAAO,EAAE,YAAY,CAAC;IAItB,OAAO,EAAE,YAAY,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,oBAAoB,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IACnD,eAAe,EAAE,CAAC,OAAO,EAAE,wBAAwB,GAAG,IAAI,KAAK,IAAI,CAAC;IACpE,YAAY,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACxC,iBAAiB,EAAE,CAAC,SAAS,EAAE,0BAA0B,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1E,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,eAAe,EAAE,CAAC,OAAO,EAAE,wBAAwB,GAAG,IAAI,KAAK,IAAI,CAAC;IACpE,aAAa,EAAE,CAAC,KAAK,EAAE,YAAY,GAAG,SAAS,KAAK,IAAI,CAAC;IACzD,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,0BAA0B,GAAG,IAAI,CAAC;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,wBAAwB,GAAG,IAAI,CAAC;IACzC,KAAK,CAAC,EAAE,YAAY,CAAC;CACtB;AAID,UAAU,eACR,SAAQ,IAAI,CAAC,OAAO,CAAC,sBAAsB,CAAC,EAAE,UAAU,GAAG,QAAQ,CAAC,EAClE,IAAI,CAAC,aAAa,EAAE,kBAAkB,GAAG,iBAAiB,CAAC,EAC3D,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,CAAC;IAC7D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IAInB,OAAO,CAAC,EAAE,IAAI,CAAC;IAIf,OAAO,CAAC,EAAE,IAAI,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAC5C,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IAC9F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC;IACjB,KAAK,CAAC,EAAE,IAAI,CAAC;CACd;AAED,QAAA,MAAM,UAAU,0FAiMf,CAAC;AAsCF,KAAK,wBAAwB,GAAG,cAAc,CAAC;AAmI/C,KAAK,0BAA0B,GAAG,gBAAgB,CAAC;AAEnD,UAAU,cAAe,SAAQ,KAAK,CAAC,qBAAqB,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,UAAU,CAAC;CAAG;AAkS5G,KAAK,wBAAwB,GAAG,4BAA4B,CAAC;AAiC7D,KAAK,4BAA4B,GAAG,cAAc,CAAC;AA8GnD,UAAU,aAAc,SAAQ,SAAS,CAAC,KAAK,CAAC;IAC9C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAqUD,KAAK,iBAAiB,GAAG,0BAA0B,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,YAAY,EAAE,eAAe,EAAE,iBAAiB,EAAE,CAAC"}

View File

@@ -0,0 +1,3 @@
export { DatePicker } from './DatePicker';
export type { DatePickerProps } from './DatePicker';
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DatePicker/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC"}

View File

@@ -0,0 +1,24 @@
import * as React from 'react';
import { CalendarDateTime } from '@internationalized/date';
import { DatePickerProps } from '../DatePicker/DatePicker';
import { TimePickerProps } from '../TimePicker';
export interface DateTimePickerProps extends Omit<DatePickerProps, 'step' | 'onChange' | 'value'>, Pick<TimePickerProps, 'step'> {
/**
* Label for the DatePicker field
* @default "Date"
*/
dateLabel?: string;
/**
* Label for the TimePicker field
* @default "Time"
*/
timeLabel?: string;
onChange?: (date: Date | undefined) => void;
/**
* Value. The Date passed as value
*/
value?: Date | null;
}
export declare const DateTimePicker: React.ForwardRefExoticComponent<DateTimePickerProps & React.RefAttributes<HTMLInputElement>>;
export declare const convertUTCDateToCalendarDateTime: (date: Date, resetTime?: boolean) => CalendarDateTime;
//# sourceMappingURL=DateTimePicker.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"DateTimePicker.d.ts","sourceRoot":"","sources":["../../../src/components/DateTimePicker/DateTimePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,gBAAgB,EAA8D,MAAM,yBAAyB,CAAC;AAQvH,OAAO,EAAiC,eAAe,EAAqB,MAAM,0BAA0B,CAAC;AAE7G,OAAO,EAAgC,eAAe,EAAE,MAAM,eAAe,CAAC;AAY9E,MAAM,WAAW,mBACf,SAAQ,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,CAAC,EAC1D,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC;IAC/B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAC5C;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,cAAc,8FAsI1B,CAAC;AAEF,eAAO,MAAM,gCAAgC,SAAU,IAAI,0BAAqB,gBAa/E,CAAC"}

View File

@@ -0,0 +1,2 @@
export * from './DateTimePicker';
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/DateTimePicker/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC"}

View File

@@ -0,0 +1,48 @@
import * as React from 'react';
import * as AlertDialog from '@radix-ui/react-alert-dialog';
import { FlexProps } from '../../primitives/Flex';
import { TypographyProps } from '../../primitives/Typography';
interface Props extends AlertDialog.AlertDialogProps {
}
declare const Root: React.FC<AlertDialog.AlertDialogProps>;
type TriggerElement = HTMLButtonElement;
interface TriggerProps extends Omit<AlertDialog.AlertDialogTriggerProps, 'asChild'> {
}
declare const Trigger: React.ForwardRefExoticComponent<TriggerProps & React.RefAttributes<HTMLButtonElement>>;
type ContentElement = HTMLDivElement;
interface ContentProps extends AlertDialog.AlertDialogContentProps {
}
declare const Content: React.ForwardRefExoticComponent<ContentProps & React.RefAttributes<HTMLDivElement>>;
type HeaderElement = HTMLHeadingElement;
interface HeaderProps extends TypographyProps<'h2'> {
}
declare const Header: React.ForwardRefExoticComponent<HeaderProps & React.RefAttributes<HTMLHeadingElement>>;
type BodyElement = HTMLDivElement;
interface BodyProps extends Omit<FlexProps<'div'>, 'tag'> {
/**
* @description optional icon to display, only rendered if
* children is a string. If provided, it is given the height
* & width of 24px.
*/
icon?: React.ReactElement;
}
declare const Body: React.ForwardRefExoticComponent<Omit<BodyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
type DescriptionElement = HTMLParagraphElement;
interface DescriptionProps extends Omit<TypographyProps<'p'>, 'tag'> {
}
declare const Description: React.ForwardRefExoticComponent<DescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
type FooterElement = HTMLDivElement;
interface FooterProps extends Omit<FlexProps<'footer'>, 'tag'> {
}
declare const Footer: React.ForwardRefExoticComponent<Omit<FooterProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
type CancelElement = HTMLButtonElement;
interface CancelProps extends Omit<AlertDialog.AlertDialogCancelProps, 'asChild'> {
}
declare const Cancel: React.ForwardRefExoticComponent<CancelProps & React.RefAttributes<HTMLButtonElement>>;
type ActionElement = HTMLButtonElement;
interface ActionProps extends Omit<AlertDialog.AlertDialogActionProps, 'asChild'> {
}
declare const Action: React.ForwardRefExoticComponent<ActionProps & React.RefAttributes<HTMLButtonElement>>;
export { Root, Trigger, Content, Header, Body, Description, Footer, Cancel, Action };
export type { Props, TriggerElement, TriggerProps, ContentElement, ContentProps, HeaderElement, HeaderProps, BodyElement, BodyProps, DescriptionElement, DescriptionProps, FooterElement, FooterProps, CancelElement, CancelProps, ActionElement, ActionProps, };
//# sourceMappingURL=Dialog.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"Dialog.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/Dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,WAAW,MAAM,8BAA8B,CAAC;AAG5D,OAAO,EAAuB,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAmC,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAO/F,UAAU,KAAM,SAAQ,WAAW,CAAC,gBAAgB;CAAG;AAEvD,QAAA,MAAM,IAAI,wCAAmB,CAAC;AAM9B,KAAK,cAAc,GAAG,iBAAiB,CAAC;AAExC,UAAU,YAAa,SAAQ,IAAI,CAAC,WAAW,CAAC,uBAAuB,EAAE,SAAS,CAAC;CAAG;AAEtF,QAAA,MAAM,OAAO,wFAEX,CAAC;AAMH,KAAK,cAAc,GAAG,cAAc,CAAC;AAErC,UAAU,YAAa,SAAQ,WAAW,CAAC,uBAAuB;CAAG;AAErE,QAAA,MAAM,OAAO,qFAOX,CAAC;AAqDH,KAAK,aAAa,GAAG,kBAAkB,CAAC;AAExC,UAAU,WAAY,SAAQ,eAAe,CAAC,IAAI,CAAC;CAAG;AAEtD,QAAA,MAAM,MAAM,wFASV,CAAC;AAYH,KAAK,WAAW,GAAG,cAAc,CAAC;AAElC,UAAU,SAAU,SAAQ,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC;IACvD;;;;OAIG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;CAC3B;AAED,QAAA,MAAM,IAAI,+FA2BR,CAAC;AAMH,KAAK,kBAAkB,GAAG,oBAAoB,CAAC;AAE/C,UAAU,gBAAiB,SAAQ,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC;CAAG;AAEvE,QAAA,MAAM,WAAW,+FAMf,CAAC;AAMH,KAAK,aAAa,GAAG,cAAc,CAAC;AAEpC,UAAU,WAAY,SAAQ,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC;CAAG;AAEjE,QAAA,MAAM,MAAM,iGAEV,CAAC;AAWH,KAAK,aAAa,GAAG,iBAAiB,CAAC;AAEvC,UAAU,WAAY,SAAQ,IAAI,CAAC,WAAW,CAAC,sBAAsB,EAAE,SAAS,CAAC;CAAG;AAEpF,QAAA,MAAM,MAAM,uFAEV,CAAC;AAMH,KAAK,aAAa,GAAG,iBAAiB,CAAC;AAEvC,UAAU,WAAY,SAAQ,IAAI,CAAC,WAAW,CAAC,sBAAsB,EAAE,SAAS,CAAC;CAAG;AAEpF,QAAA,MAAM,MAAM,uFAEV,CAAC;AAEH,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;AACrF,YAAY,EACV,KAAK,EACL,cAAc,EACd,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,aAAa,EACb,WAAW,EACX,WAAW,EACX,SAAS,EACT,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,WAAW,EACX,aAAa,EACb,WAAW,EACX,aAAa,EACb,WAAW,GACZ,CAAC"}

View File

@@ -0,0 +1,2 @@
export * as Dialog from './Dialog';
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC"}

Some files were not shown because too many files have changed in this diff Show More