welcome-ui 10.0.0-alpha.3 → 10.0.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/2W3RN7C5-DMC82gDP.js +61 -0
- package/dist/{4I4MLMKD-z3Xm3qCo.js → 4I4MLMKD-BO6Lcy7s.js} +17 -17
- package/dist/Accordion.js +19 -17
- package/dist/Alert.css +1 -1
- package/dist/Alert.js +93 -87
- package/dist/AspectRatio.js +1 -0
- package/dist/Avatar.js +13 -11
- package/dist/{B7UTNDHN-BDa2-8JK.js → B7UTNDHN-BghjolIs.js} +30 -30
- package/dist/Badge.js +1 -0
- package/dist/Breadcrumb.js +76 -71
- package/dist/Button.js +8 -6
- package/dist/ButtonGroup.js +6 -4
- package/dist/Card.css +1 -1
- package/dist/Card.js +68 -15
- package/dist/Checkbox.js +30 -29
- package/dist/CloseButton.js +7 -5
- package/dist/{CustomPopper-vwbOQq72.js → CustomPopper-C1wIDHbM.js} +5 -4
- package/dist/{DSAASPLT-C-2xDjIv.js → DSAASPLT-Fx1kuAsk.js} +3 -3
- package/dist/DatePicker.js +82 -78
- package/dist/DateTimePicker.js +22 -21
- package/dist/Drawer.js +101 -80
- package/dist/DropdownMenu.css +1 -1
- package/dist/DropdownMenu.js +889 -462
- package/dist/Field.js +1 -0
- package/dist/FieldGroup.js +9 -7
- package/dist/FileDrop.js +184 -176
- package/dist/FileUpload.js +43 -40
- package/dist/{GVVKDT6A-C66-lr0B.js → GVVKDT6A-CF9ejW_c.js} +103 -103
- package/dist/Hint.js +9 -7
- package/dist/Icon.js +6 -4
- package/dist/InputText.js +30 -28
- package/dist/{KPUWHTQJ-Byij2al4.js → KPUWHTQJ-Dv3cAqjP.js} +33 -31
- package/dist/Label.js +9 -7
- package/dist/Link.js +25 -21
- package/dist/Loader.js +12 -10
- package/dist/Logo.js +21 -13
- package/dist/Modal.js +145 -114
- package/dist/{NI3IVY7K-DpF3td-7.js → NI3IVY7K-Dy240mkD.js} +160 -160
- package/dist/{NMGNQVTG-BgAqqGOq.js → NMGNQVTG-DRO2uXZT.js} +6 -6
- package/dist/{OE2EFRVA-DkdhQLJL.js → OE2EFRVA-Dg1R6gaC.js} +186 -170
- package/dist/{OLVWQA7U-wHytlFYu.js → OLVWQA7U-Dia3UUnG.js} +36 -36
- package/dist/Pagination.js +39 -37
- package/dist/PasswordInput.js +20 -17
- package/dist/Popover.js +89 -72
- package/dist/{RTNCFSKZ-LcIdBwa8.js → RTNCFSKZ-BywELldk.js} +42 -42
- package/dist/Radio.js +20 -19
- package/dist/RadioGroup.js +29 -27
- package/dist/RadioTab.js +2 -1
- package/dist/{SBSPVDDI-BoxPz2JY.js → SBSPVDDI-CmtnvvUX.js} +46 -46
- package/dist/SQZLCNLX-Dg4KKdNJ.js +83 -0
- package/dist/Search.css +1 -1
- package/dist/Search.js +62 -60
- package/dist/Select.css +1 -1
- package/dist/Select.js +204 -202
- package/dist/Slider.js +66 -61
- package/dist/Stepper.js +34 -27
- package/dist/StickyNote.css +1 -0
- package/dist/StickyNote.js +49 -0
- package/dist/Swiper.js +52 -50
- package/dist/{T22PY7TE-CzEDuEn1.js → T22PY7TE-gLuJpoOm.js} +46 -46
- package/dist/Table.js +34 -21
- package/dist/Tabs.js +161 -152
- package/dist/Tag.css +1 -1
- package/dist/Tag.js +66 -61
- package/dist/Text.js +4 -2
- package/dist/Textarea.js +10 -8
- package/dist/TimePicker.js +22 -21
- package/dist/Toast.js +186 -177
- package/dist/Toggle.js +16 -14
- package/dist/Tooltip.js +29 -27
- package/dist/VariantIcon.js +7 -5
- package/dist/VisuallyHidden.js +8 -6
- package/dist/WelcomeLoader.js +3 -2
- package/dist/XCKGTAUF-CJwwVibW.js +25 -0
- package/dist/{Y67KZUMI-BDyUNSJw.js → Y67KZUMI-BwLWwpNF.js} +2 -2
- package/dist/{ZTXFEM5L-CjFLRObi.js → ZTXFEM5L-WGHY_jqg.js} +3 -3
- package/dist/theme.css +1 -1
- package/dist/theme.js +1 -0
- package/dist/types/components/Alert/components/Buttons.d.ts +3 -0
- package/dist/types/components/Alert/components/Title.d.ts +5 -0
- package/dist/types/components/Alert/index.d.ts +7 -3
- package/dist/types/components/Alert/types.d.ts +3 -9
- package/dist/types/components/Card/Body.d.ts +2 -3
- package/dist/types/components/Card/Footer.d.ts +6 -0
- package/dist/types/components/Card/Header.d.ts +5 -0
- package/dist/types/components/Card/index.d.ts +7 -8
- package/dist/types/components/Card/types.d.ts +16 -3
- package/dist/types/components/Checkbox/index.d.ts +1 -2
- package/dist/types/components/Checkbox/types.d.ts +3 -1
- package/dist/types/components/DateTimePickerCommon/CustomHeader.d.ts +4 -1
- package/dist/types/components/DateTimePickerCommon/CustomPopper.d.ts +6 -3
- package/dist/types/components/Drawer/AssetDrawer/Header.d.ts +4 -1
- package/dist/types/components/Drawer/AssetDrawer/IconBlock.d.ts +4 -1
- package/dist/types/components/Drawer/components/Close.d.ts +4 -1
- package/dist/types/components/Drawer/components/Title.d.ts +4 -1
- package/dist/types/components/Drawer/index.d.ts +12 -3
- package/dist/types/components/DropdownMenu/Action.d.ts +2 -0
- package/dist/types/components/DropdownMenu/Group.d.ts +4 -0
- package/dist/types/components/DropdownMenu/Item.d.ts +7 -0
- package/dist/types/components/DropdownMenu/Search.d.ts +2 -0
- package/dist/types/components/DropdownMenu/Submenu.d.ts +4 -0
- package/dist/types/components/DropdownMenu/index.d.ts +11 -0
- package/dist/types/components/DropdownMenu/types.d.ts +26 -5
- package/dist/types/components/FileDrop/components/FilePreview.d.ts +4 -1
- package/dist/types/components/FileDrop/components/Message.d.ts +4 -1
- package/dist/types/components/Loader/index.d.ts +4 -1
- package/dist/types/components/Modal/Assets/AssetContent.d.ts +4 -1
- package/dist/types/components/Modal/Assets/AssetTitle.d.ts +4 -1
- package/dist/types/components/Modal/Assets/CloseButton.d.ts +4 -1
- package/dist/types/components/Modal/Assets/Dialog.d.ts +4 -1
- package/dist/types/components/Modal/Assets/Iframe.d.ts +4 -1
- package/dist/types/components/Modal/Assets/index.d.ts +16 -4
- package/dist/types/components/Modal/components/Close.d.ts +4 -1
- package/dist/types/components/Modal/index.d.ts +16 -4
- package/dist/types/components/PasswordInput/ToggleButton.d.ts +4 -1
- package/dist/types/components/Popover/Arrow.d.ts +4 -1
- package/dist/types/components/Popover/ContentWrapper.d.ts +4 -1
- package/dist/types/components/RadioGroup/index.d.ts +4 -1
- package/dist/types/components/Stepper/index.d.ts +8 -2
- package/dist/types/components/StickyNote/components/Button.d.ts +5 -0
- package/dist/types/components/StickyNote/components/Title.d.ts +5 -0
- package/dist/types/components/StickyNote/index.d.ts +11 -0
- package/dist/types/components/StickyNote/index.test.d.ts +1 -0
- package/dist/types/components/StickyNote/types.d.ts +15 -0
- package/dist/types/components/Swiper/index.d.ts +4 -1
- package/dist/types/components/Table/index.d.ts +20 -5
- package/dist/types/components/Tabs/components/ActiveBar/index.d.ts +4 -1
- package/dist/types/components/Tag/types.d.ts +4 -2
- package/dist/types/components/Toast/index.d.ts +4 -1
- package/dist/types/theme/types.d.ts +233 -218
- package/dist/utils.js +1 -0
- package/package.json +2 -2
- package/dist/2W3RN7C5-uG7eBeTQ.js +0 -61
- package/dist/SQZLCNLX-CUlXoT69.js +0 -82
- package/dist/XCKGTAUF-CahZE721.js +0 -25
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import { TitleProps } from '../types';
|
|
2
|
-
export declare const Title:
|
|
2
|
+
export declare const Title: {
|
|
3
|
+
({ children, className, ...rest }: TitleProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
@@ -1,18 +1,27 @@
|
|
|
1
1
|
import { DrawerProps } from './types';
|
|
2
2
|
export declare const Drawer: import('react').ForwardRefExoticComponent<Omit<DrawerProps, "ref"> & import('react').RefAttributes<HTMLDivElement>> & {
|
|
3
3
|
Backdrop: import('react').ForwardRefExoticComponent<Omit<import('./types').BackdropProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
4
|
-
Close:
|
|
4
|
+
Close: {
|
|
5
|
+
({ className }: import('./types').CloseProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
5
8
|
Content: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
6
9
|
ref?: import('react').Ref<HTMLDivElement>;
|
|
7
10
|
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
8
11
|
Footer: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
9
12
|
ref?: import('react').Ref<HTMLDivElement>;
|
|
10
13
|
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
11
|
-
Title:
|
|
14
|
+
Title: {
|
|
15
|
+
({ children, className, ...rest }: import('./types').TitleProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
12
18
|
Trigger: import('../../utils').FunctionComponentWithAs<"button", import('./types').TriggerProps>;
|
|
13
19
|
};
|
|
14
20
|
export { useDialogStore as useDrawer } from '@ariakit/react';
|
|
15
21
|
export declare const AssetDrawer: import('../../utils').FunctionComponentWithAs<"div", import('./AssetDrawer/types').AssetDrawerProps> & {
|
|
16
|
-
Header:
|
|
22
|
+
Header: {
|
|
23
|
+
({ action, className, iconName, onBackButtonClick, subtitle, title, }: import('./AssetDrawer/types').HeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
displayName: string;
|
|
25
|
+
};
|
|
17
26
|
Trigger: import('../../utils').FunctionComponentWithAs<"button", import('./types').TriggerProps>;
|
|
18
27
|
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { GroupProps } from '@ariakit/react';
|
|
2
|
+
import { GroupLabelProps } from './types';
|
|
3
|
+
export declare const Group: import('../../utils').FunctionComponentWithAs<"div", GroupProps>;
|
|
4
|
+
export declare const GroupLabel: import('../../utils').FunctionComponentWithAs<"div", GroupLabelProps>;
|
|
@@ -1,2 +1,9 @@
|
|
|
1
|
+
import { Ref } from 'react';
|
|
1
2
|
import { ItemProps } from './types';
|
|
2
3
|
export declare const Item: import('../../utils').FunctionComponentWithAs<"button", ItemProps>;
|
|
4
|
+
export declare const ItemContent: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
5
|
+
ref?: Ref<HTMLDivElement>;
|
|
6
|
+
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export declare const ItemDescription: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
8
|
+
ref?: Ref<HTMLDivElement>;
|
|
9
|
+
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SubmenuOptions } from './types';
|
|
2
|
+
export * from './types';
|
|
3
|
+
export { useMenuStore as useDropdownMenu } from '@ariakit/react';
|
|
4
|
+
export declare const Submenu: import('react').ForwardRefExoticComponent<Omit<SubmenuOptions, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -2,8 +2,19 @@ import { DropdownMenuOptions } from './types';
|
|
|
2
2
|
export * from './types';
|
|
3
3
|
export { useMenuStore as useDropdownMenu } from '@ariakit/react';
|
|
4
4
|
export declare const DropdownMenu: import('react').ForwardRefExoticComponent<Omit<DropdownMenuOptions, "ref"> & import('react').RefAttributes<HTMLDivElement>> & {
|
|
5
|
+
Action: import('../../utils').FunctionComponentWithAs<"button", import('./types').ActionProps>;
|
|
5
6
|
Arrow: import('react').ForwardRefExoticComponent<Omit<import('./types').ArrowProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
7
|
+
Content: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
8
|
+
ref?: import('react').Ref<HTMLDivElement>;
|
|
9
|
+
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
10
|
+
Description: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
11
|
+
ref?: import('react').Ref<HTMLDivElement>;
|
|
12
|
+
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
13
|
+
Group: import('../../utils').FunctionComponentWithAs<"div", import('@ariakit/react').GroupProps>;
|
|
14
|
+
GroupLabel: import('../../utils').FunctionComponentWithAs<"div", import('./types').GroupLabelProps>;
|
|
6
15
|
Item: import('../../utils').FunctionComponentWithAs<"button", import('./types').ItemProps>;
|
|
16
|
+
Search: import('../../utils').FunctionComponentWithAs<"input", import('./types').SearchProps>;
|
|
7
17
|
Separator: import('react').ForwardRefExoticComponent<Omit<import('./types').SeparatorProps, "ref"> & import('react').RefAttributes<HTMLHRElement>>;
|
|
18
|
+
Submenu: import('react').ForwardRefExoticComponent<Omit<import('./types').SubmenuOptions, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
8
19
|
Trigger: import('../../utils').FunctionComponentWithAs<"button", import('./types').TriggerProps>;
|
|
9
20
|
};
|
|
@@ -1,12 +1,33 @@
|
|
|
1
|
-
import { MenuArrowProps, MenuItemProps, MenuProps, MenuSeparatorProps, MenuStore } from '@ariakit/react';
|
|
1
|
+
import { MenuArrowProps, MenuGroupLabelProps, MenuItemCheckboxProps, MenuItemCheckProps, MenuItemProps, MenuItemRadioProps, MenuProps, MenuSeparatorProps, MenuStore } from '@ariakit/react';
|
|
2
|
+
import { ComponentPropsWithRef, ReactNode } from 'react';
|
|
3
|
+
export type ActionProps = MenuItemProps;
|
|
2
4
|
export type ArrowProps = MenuArrowProps;
|
|
3
5
|
export interface DropdownMenuOptions extends Omit<MenuProps, 'gutter'> {
|
|
4
|
-
|
|
5
|
-
innerProps?: React.ComponentProps<'div'>;
|
|
6
|
+
size?: 'lg' | 'md';
|
|
6
7
|
withGutter?: boolean;
|
|
7
8
|
}
|
|
8
|
-
export type
|
|
9
|
-
export type
|
|
9
|
+
export type GroupLabelProps = MenuGroupLabelProps;
|
|
10
|
+
export type ItemCheckboxCheckProps = Omit<ComponentPropsWithRef<'input'>, 'onChange'> & {
|
|
11
|
+
onChange?: (isChecked: boolean) => void;
|
|
12
|
+
};
|
|
13
|
+
export type ItemCheckboxProps = MenuItemCheckboxProps;
|
|
14
|
+
export type ItemContentProps = ComponentPropsWithRef<'div'>;
|
|
15
|
+
export type ItemDefaultCheckProps = MenuItemCheckProps;
|
|
16
|
+
export type ItemDescriptionProps = ComponentPropsWithRef<'div'>;
|
|
17
|
+
export interface ItemProps extends MenuItemProps {
|
|
18
|
+
variant?: 'checkbox' | 'checkbox-mark' | 'radio' | 'radio-mark' | 'toggle';
|
|
19
|
+
}
|
|
20
|
+
export type ItemRadioCheckProps = ComponentPropsWithRef<'input'> & ComponentPropsWithRef<'label'>;
|
|
21
|
+
export type ItemRadioProps = MenuItemRadioProps;
|
|
22
|
+
export type ItemToggleCheckProps = ComponentPropsWithRef<'input'>;
|
|
23
|
+
export type SearchProps = MenuItemProps;
|
|
24
|
+
export interface SeparatorProps extends MenuSeparatorProps {
|
|
25
|
+
disabled?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface SubmenuOptions extends Omit<ItemProps, 'store'> {
|
|
28
|
+
item: ReactNode;
|
|
29
|
+
size?: 'lg' | 'md';
|
|
30
|
+
}
|
|
10
31
|
export type TriggerProps = {
|
|
11
32
|
store: MenuStore;
|
|
12
33
|
};
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import { FilePreviewProps } from '../types';
|
|
2
|
-
export declare const FilePreview:
|
|
2
|
+
export declare const FilePreview: {
|
|
3
|
+
({ file, fileName, forceFileType, previewButtonText, }: FilePreviewProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import { MessageProps } from '../types';
|
|
2
|
-
export declare const Message:
|
|
2
|
+
export declare const Message: {
|
|
3
|
+
({ disabled, fileButtonText, hint, openFile, title, }: MessageProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import { LoaderProps } from './types';
|
|
2
|
-
export declare const Loader:
|
|
2
|
+
export declare const Loader: {
|
|
3
|
+
({ className, size, variant, ...rest }: LoaderProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes, default as React } from 'react';
|
|
2
|
-
export declare const AssetContent:
|
|
2
|
+
export declare const AssetContent: {
|
|
3
|
+
({ children, ...rest }: React.PropsWithChildren<HTMLAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import { TextProps } from '../../Text/types';
|
|
2
|
-
export declare const AssetTitle:
|
|
2
|
+
export declare const AssetTitle: {
|
|
3
|
+
({ children, ...rest }: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import { ButtonProps } from '../../Button/types';
|
|
2
|
-
export declare const CloseButton:
|
|
2
|
+
export declare const CloseButton: {
|
|
3
|
+
({ children, ...rest }: ButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import { HTMLAttributes, default as React } from 'react';
|
|
2
|
-
export declare const Dialog:
|
|
2
|
+
export declare const Dialog: {
|
|
3
|
+
({ children, ...rest }: React.PropsWithChildren<HTMLAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
@@ -1,7 +1,19 @@
|
|
|
1
|
-
export declare const Assets:
|
|
1
|
+
export declare const Assets: {
|
|
2
|
+
({ children, ...rest }: React.PropsWithChildren<import('react').HTMLAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
displayName: string;
|
|
4
|
+
} & {
|
|
2
5
|
AssetWithTitle: import('react').ForwardRefExoticComponent<Omit<import('./types').AssetWithTitleProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
3
6
|
Backdrop: import('react').ForwardRefExoticComponent<import('../types').BackdropProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
4
|
-
Content:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
+
Content: {
|
|
8
|
+
({ children, ...rest }: React.PropsWithChildren<import('react').HTMLAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
Iframe: {
|
|
12
|
+
({ children }: React.PropsWithChildren): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
Title: {
|
|
16
|
+
({ children, ...rest }: import('../../Text/types').TextProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
displayName: string;
|
|
18
|
+
};
|
|
7
19
|
};
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import { CloseButtonProps } from '../../CloseButton/types';
|
|
2
|
-
export declare const Close:
|
|
2
|
+
export declare const Close: {
|
|
3
|
+
(props: CloseButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
@@ -13,10 +13,22 @@ export declare const Modal: import('../../utils').FunctionComponentWithAs<"div",
|
|
|
13
13
|
Header: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLDivElement>, keyof import('./types').HeaderOptions> & import('./types').HeaderOptions & import('react').RefAttributes<HTMLDivElement>>;
|
|
14
14
|
Trigger: import('../../utils').FunctionComponentWithAs<"button", import('./types').TriggerProps>;
|
|
15
15
|
};
|
|
16
|
-
export declare const AssetModal:
|
|
16
|
+
export declare const AssetModal: {
|
|
17
|
+
({ children, ...rest }: React.PropsWithChildren<import('react').HTMLAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
displayName: string;
|
|
19
|
+
} & {
|
|
17
20
|
AssetWithTitle: import('react').ForwardRefExoticComponent<Omit<import('./Assets/types').AssetWithTitleProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
18
21
|
Backdrop: import('react').ForwardRefExoticComponent<import('./types').BackdropProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
19
|
-
Content:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
Content: {
|
|
23
|
+
({ children, ...rest }: React.PropsWithChildren<import('react').HTMLAttributes<HTMLDivElement>>): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
displayName: string;
|
|
25
|
+
};
|
|
26
|
+
Iframe: {
|
|
27
|
+
({ children }: React.PropsWithChildren): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
displayName: string;
|
|
29
|
+
};
|
|
30
|
+
Title: {
|
|
31
|
+
({ children, ...rest }: import('../Text/types').TextProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
displayName: string;
|
|
33
|
+
};
|
|
22
34
|
};
|
|
@@ -3,4 +3,7 @@ import { Button } from '../Button';
|
|
|
3
3
|
export type ToggleButtonProps = React.ComponentPropsWithoutRef<typeof Button> & {
|
|
4
4
|
isHidden: boolean;
|
|
5
5
|
};
|
|
6
|
-
export declare const ToggleButton:
|
|
6
|
+
export declare const ToggleButton: {
|
|
7
|
+
({ isHidden, onClick, ...rest }: ToggleButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
@@ -2,5 +2,8 @@ import { UsePopover } from './usePopover';
|
|
|
2
2
|
type ArrowProps = {
|
|
3
3
|
store: UsePopover;
|
|
4
4
|
};
|
|
5
|
-
export declare const Arrow:
|
|
5
|
+
export declare const Arrow: {
|
|
6
|
+
({ store }: ArrowProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
displayName: string;
|
|
8
|
+
};
|
|
6
9
|
export {};
|
|
@@ -6,4 +6,7 @@ export interface ContentWrapperOptions {
|
|
|
6
6
|
onClose?: () => void;
|
|
7
7
|
store: UsePopover | UsePopoverHover;
|
|
8
8
|
}
|
|
9
|
-
export declare const ContentWrapper:
|
|
9
|
+
export declare const ContentWrapper: {
|
|
10
|
+
({ children, className, onClose, store }: ContentWrapperOptions): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
displayName: string;
|
|
12
|
+
};
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import { RadioGroupProps } from './types';
|
|
2
|
-
export declare const RadioGroup:
|
|
2
|
+
export declare const RadioGroup: {
|
|
3
|
+
({ className, dataTestId, disabled, hideLabel, id, label, name, onChange, options, renderOption: Component, required, value, ...rest }: RadioGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { StepperItemProps, StepperProps } from './types';
|
|
2
2
|
export declare const Stepper: import('react').ForwardRefExoticComponent<Omit<StepperProps, "ref"> & import('react').RefAttributes<HTMLOListElement>> & {
|
|
3
|
-
Item:
|
|
4
|
-
|
|
3
|
+
Item: {
|
|
4
|
+
({ children, icon, isCompleted, isOpen, onClick }: StepperItemProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
Separator: {
|
|
8
|
+
(): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
5
11
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { StickyNoteProps } from './types';
|
|
2
|
+
export declare const StickyNote: import('react').ForwardRefExoticComponent<Omit<StickyNoteProps, "ref"> & import('react').RefAttributes<HTMLDivElement>> & {
|
|
3
|
+
Button: {
|
|
4
|
+
({ children, className, ...rest }: Omit<import('../Button/types').ButtonProps, "size" | "variant">): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
Title: {
|
|
8
|
+
({ children, icon }: import('./types').StickyNoteTitleProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
displayName: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ComponentProps, ComponentPropsWithRef, HTMLAttributes } from 'react';
|
|
2
|
+
import { IconProps } from '../Icon/types';
|
|
3
|
+
export type StickyNoteProps = ComponentPropsWithRef<'div'> & HTMLAttributes<HTMLDivElement> & StickyNoteOptions;
|
|
4
|
+
export type StickyNoteTitleProps = ComponentProps<'div'> & HTMLAttributes<HTMLDivElement> & StickyNoteTitleOptions;
|
|
5
|
+
interface StickyNoteOptions {
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
handleClose?: () => void;
|
|
8
|
+
shape?: 'rectangle' | 'square';
|
|
9
|
+
variant?: 'blue' | 'brand' | 'green' | 'orange' | 'pink' | 'teal' | 'violet';
|
|
10
|
+
}
|
|
11
|
+
interface StickyNoteTitleOptions {
|
|
12
|
+
children: React.ReactNode;
|
|
13
|
+
icon?: IconProps['name'];
|
|
14
|
+
}
|
|
15
|
+
export {};
|
|
@@ -32,4 +32,7 @@ export declare const useSwiper: (options?: UseSwiperOptions) => {
|
|
|
32
32
|
mobile: boolean;
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
|
-
export declare const Swiper:
|
|
35
|
+
export declare const Swiper: {
|
|
36
|
+
({ children, className, store, ...rest }: SwiperProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
displayName: string;
|
|
38
|
+
};
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { TableProps, TableTrProps } from './types';
|
|
2
2
|
export declare const TableComponent: import('react').ForwardRefExoticComponent<Omit<TableProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
3
3
|
export declare const Table: import('react').ForwardRefExoticComponent<Omit<TableProps, "ref"> & import('react').RefAttributes<HTMLDivElement>> & {
|
|
4
|
-
Tbody:
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
Tbody: {
|
|
5
|
+
(props: React.HTMLAttributes<HTMLTableSectionElement>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
8
|
+
Td: {
|
|
9
|
+
(props: React.TdHTMLAttributes<HTMLTableCellElement>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
12
|
+
Th: {
|
|
13
|
+
(props: React.ThHTMLAttributes<HTMLTableCellElement>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
};
|
|
16
|
+
Thead: {
|
|
17
|
+
(props: React.HTMLAttributes<HTMLTableSectionElement>): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
20
|
+
Tr: {
|
|
21
|
+
({ className, onClick, variant, ...rest }: TableTrProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
displayName: string;
|
|
23
|
+
};
|
|
9
24
|
};
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import { ActiveBarProps } from '../../types';
|
|
2
|
-
export declare const ActiveBar:
|
|
2
|
+
export declare const ActiveBar: {
|
|
3
|
+
({ activeTab, listRef, orientation }: ActiveBarProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { ButtonProps } from '../Button/types';
|
|
2
2
|
export interface TagOptions {
|
|
3
|
+
ai?: boolean;
|
|
4
|
+
disabled?: boolean;
|
|
3
5
|
icon?: React.ReactNode;
|
|
4
6
|
onRemove?: () => void;
|
|
5
7
|
removeButtonProps?: ButtonProps;
|
|
6
8
|
size?: TagSize;
|
|
7
9
|
variant?: TagVariant;
|
|
8
10
|
}
|
|
9
|
-
type TagSize = '
|
|
10
|
-
type TagVariant = '
|
|
11
|
+
type TagSize = 'lg' | 'md';
|
|
12
|
+
type TagVariant = 'blue' | 'brand' | 'dash' | 'green' | 'orange' | 'pink' | 'red' | 'teal' | 'violet' | 'warm';
|
|
11
13
|
export {};
|
|
@@ -8,5 +8,8 @@ export declare const Toast: import('react').FC<import('react-hot-toast').Toaster
|
|
|
8
8
|
GrowlAction: import('../../utils').FunctionComponentWithAs<"button", import('../Button/types').ButtonProps>;
|
|
9
9
|
Snackbar: import('react').ForwardRefExoticComponent<Omit<import('./types').SnackbarProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
10
10
|
SnackbarAction: import('../../utils').FunctionComponentWithAs<"button", import('../Button/types').ButtonProps>;
|
|
11
|
-
Title:
|
|
11
|
+
Title: {
|
|
12
|
+
({ children, className, ...rest }: TextProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
12
15
|
};
|