welcome-ui 10.0.0-alpha.1 → 10.0.0-alpha.10
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/README.md +1 -1
- package/dist/2W3RN7C5-DMC82gDP.js +61 -0
- package/dist/4I4MLMKD-BO6Lcy7s.js +150 -0
- package/dist/Accordion.js +20 -18
- package/dist/Alert.css +1 -1
- package/dist/Alert.js +93 -87
- package/dist/AspectRatio.js +2 -1
- package/dist/Avatar.js +14 -12
- package/dist/{B7UTNDHN-BlIblHCu.js → B7UTNDHN-BghjolIs.js} +30 -30
- package/dist/Badge.js +2 -1
- package/dist/Breadcrumb.css +1 -1
- package/dist/Breadcrumb.js +175 -154
- package/dist/Button.css +1 -1
- package/dist/Button.js +43 -41
- package/dist/ButtonGroup.js +7 -5
- package/dist/Card.css +1 -1
- package/dist/Card.js +68 -15
- package/dist/Checkbox.js +30 -29
- package/dist/CloseButton.css +1 -1
- package/dist/CloseButton.js +15 -13
- package/dist/{CustomPopper-vwbOQq72.js → CustomPopper-C1wIDHbM.js} +5 -4
- package/dist/{DSAASPLT-BaaCUKsb.js → DSAASPLT-Fx1kuAsk.js} +3 -3
- package/dist/DatePicker.js +82 -78
- package/dist/DateTimePicker.js +23 -22
- package/dist/Drawer.js +141 -96
- package/dist/DropdownMenu.css +1 -1
- package/dist/DropdownMenu.js +902 -462
- package/dist/Field.js +2 -1
- package/dist/FieldGroup.js +9 -7
- package/dist/FileDrop.css +1 -1
- package/dist/FileDrop.js +427 -398
- package/dist/FileUpload.js +44 -41
- package/dist/GVVKDT6A-CF9ejW_c.js +619 -0
- package/dist/Hint.js +10 -8
- package/dist/Icon.css +1 -1
- package/dist/Icon.js +36 -22
- package/dist/InputText.css +1 -1
- package/dist/InputText.js +59 -57
- package/dist/{KPUWHTQJ-D2TPji47.js → KPUWHTQJ-Dv3cAqjP.js} +33 -31
- package/dist/Label.js +9 -7
- package/dist/Link.css +1 -1
- package/dist/Link.js +54 -49
- package/dist/Loader.js +13 -11
- package/dist/Logo.js +21 -13
- package/dist/Modal.js +145 -114
- package/dist/{NI3IVY7K-Ztb3-XAv.js → NI3IVY7K-Dy240mkD.js} +53 -53
- package/dist/{NMGNQVTG-C6TqBngP.js → NMGNQVTG-DRO2uXZT.js} +8 -8
- package/dist/{OE2EFRVA-C3721cM3.js → OE2EFRVA-Dg1R6gaC.js} +186 -170
- package/dist/{OLVWQA7U-DysaSaZj.js → OLVWQA7U-Dia3UUnG.js} +51 -51
- package/dist/Pagination.css +1 -1
- package/dist/Pagination.js +157 -76
- package/dist/PasswordInput.js +20 -17
- package/dist/Popover.js +89 -72
- package/dist/{RTNCFSKZ-qpPg689E.js → RTNCFSKZ-BywELldk.js} +47 -47
- package/dist/Radio.css +1 -1
- package/dist/Radio.js +39 -40
- package/dist/RadioGroup.js +29 -27
- package/dist/RadioTab.js +3 -2
- package/dist/{SBSPVDDI-DJKkC1eb.js → SBSPVDDI-CmtnvvUX.js} +42 -42
- package/dist/SQZLCNLX-Dg4KKdNJ.js +83 -0
- package/dist/Search.css +1 -1
- package/dist/Search.js +136 -129
- package/dist/Select.css +1 -1
- package/dist/Select.js +259 -257
- package/dist/Slider.js +67 -62
- package/dist/Stepper.js +34 -27
- package/dist/StickyNote.css +1 -0
- package/dist/StickyNote.js +49 -0
- package/dist/Swiper.js +53 -51
- package/dist/{T22PY7TE-C1N0q8Kn.js → T22PY7TE-gLuJpoOm.js} +46 -46
- package/dist/Table.js +34 -21
- package/dist/Tabs.js +165 -156
- package/dist/Tag.css +1 -1
- package/dist/Tag.js +67 -62
- package/dist/Text.js +5 -3
- package/dist/Textarea.css +1 -1
- package/dist/Textarea.js +26 -18
- package/dist/TimePicker.js +24 -23
- package/dist/Toast.css +1 -1
- package/dist/Toast.js +275 -165
- package/dist/Toggle.js +16 -14
- package/dist/Tooltip.css +1 -1
- package/dist/Tooltip.js +120 -129
- package/dist/VariantIcon.js +8 -6
- package/dist/VisuallyHidden.js +9 -7
- package/dist/WelcomeLoader.js +4 -3
- package/dist/XCKGTAUF-CJwwVibW.js +25 -0
- package/dist/{Y67KZUMI-DFEgrUv2.js → Y67KZUMI-BwLWwpNF.js} +5 -5
- package/dist/{ZTXFEM5L-CkrIQCN1.js → ZTXFEM5L-WGHY_jqg.js} +3 -3
- package/dist/{downshift.esm-D_6pHXkq.js → downshift.esm-xtYanIDi.js} +1 -1
- package/dist/scss/breakpoints.scss +9 -0
- package/dist/scss/text-ellipsis.scss +5 -0
- package/dist/scss/texts.scss +108 -0
- package/dist/theme.css +1 -1
- package/dist/theme.js +1 -0
- package/dist/{tslib.es6-DpB4Y59c.js → tslib.es6-C80jYMbM.js} +1 -1
- 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/Breadcrumb/Item.d.ts +2 -2
- package/dist/types/components/Breadcrumb/index.d.ts +1 -1
- package/dist/types/components/Breadcrumb/types.d.ts +6 -3
- 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/AssetDrawer/types.d.ts +3 -0
- package/dist/types/components/Drawer/components/Backdrop.d.ts +1 -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 +13 -4
- 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/FileDrop/types.d.ts +2 -0
- package/dist/types/components/Icon/icons.d.ts +6 -6
- package/dist/types/components/Icon/types.d.ts +2 -0
- 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/Pagination/types.d.ts +11 -0
- 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/Radio/types.d.ts +1 -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/Textarea/types.d.ts +1 -0
- package/dist/types/components/Toast/components/Growl.d.ts +2 -0
- package/dist/types/components/Toast/index.d.ts +8 -2
- package/dist/types/components/Toast/types.d.ts +8 -9
- package/dist/types/components/Tooltip/types.d.ts +1 -1
- package/dist/types/theme/types.d.ts +255 -218
- package/dist/types/utils/index.d.ts +0 -1
- package/dist/{utils-DileZjMm.js → utils-BD597oo6.js} +1 -1
- package/dist/utils.js +3 -2
- package/package.json +3 -2
- package/dist/2W3RN7C5-bkX-rIa3.js +0 -61
- package/dist/4I4MLMKD-BLxAidnq.js +0 -43
- package/dist/GVVKDT6A-bET6V7Py.js +0 -724
- package/dist/SQZLCNLX-CHDXnZ16.js +0 -82
- package/dist/XCKGTAUF-DkxWCbaW.js +0 -25
- package/dist/index.css +0 -0
- package/dist/types/components/Icon/Icon.d.ts +0 -2
- package/dist/types/utils/theme/index.d.ts +0 -0
- /package/dist/{index-CdiHdiVB.js → index-PAaZGbyz.js} +0 -0
- /package/dist/types/components/Icon/{Icon.test.d.ts → index.test.d.ts} +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
|
+
import { BodyProps } from './types';
|
|
1
2
|
/**
|
|
2
3
|
* @name Card.Body
|
|
3
4
|
*/
|
|
4
|
-
export declare const Body: import('react').ForwardRefExoticComponent<Omit<
|
|
5
|
-
ref?: import('react').Ref<HTMLDivElement>;
|
|
6
|
-
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export declare const Body: import('react').ForwardRefExoticComponent<Omit<BodyProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @name Card.Footer
|
|
3
|
+
*/
|
|
4
|
+
export declare const Footer: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
5
|
+
ref?: import('react').Ref<HTMLDivElement>;
|
|
6
|
+
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
ref
|
|
6
|
-
|
|
7
|
-
Body: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
1
|
+
import { CardProps } from './types';
|
|
2
|
+
export declare const CardComponent: import('../../utils').FunctionComponentWithAs<"div", CardProps>;
|
|
3
|
+
export declare const Card: import('../../utils').FunctionComponentWithAs<"div", CardProps> & {
|
|
4
|
+
Body: import('react').ForwardRefExoticComponent<Omit<import('./types').BodyProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
+
Cover: import('react').ForwardRefExoticComponent<Omit<import('./types').CoverProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
Footer: import('react').ForwardRefExoticComponent<Omit<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
8
7
|
ref?: import('react').Ref<HTMLDivElement>;
|
|
9
8
|
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
10
|
-
|
|
9
|
+
Header: import('react').ForwardRefExoticComponent<Omit<import('./types').HeaderProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
11
10
|
};
|
|
@@ -1,9 +1,22 @@
|
|
|
1
|
-
import { ComponentPropsWithRef } from 'react';
|
|
2
|
-
export type BodyProps = ComponentPropsWithRef<'div'>;
|
|
3
|
-
export type CardProps = ComponentPropsWithRef<'div'>;
|
|
1
|
+
import { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
|
+
export type BodyProps = BodyOptions & ComponentPropsWithRef<'div'>;
|
|
3
|
+
export type CardProps = CardOptions & ComponentPropsWithRef<'div'>;
|
|
4
4
|
export type CoverProps = ComponentPropsWithRef<'div'> & CoverOptions;
|
|
5
|
+
export type FooterProps = ComponentPropsWithRef<'div'>;
|
|
6
|
+
export type HeaderProps = ComponentPropsWithRef<'div'> & HeaderOptions;
|
|
7
|
+
interface BodyOptions {
|
|
8
|
+
metadata?: ReactNode;
|
|
9
|
+
}
|
|
10
|
+
interface CardOptions {
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
size?: 'lg' | 'md' | 'sm';
|
|
13
|
+
}
|
|
5
14
|
interface CoverOptions {
|
|
6
15
|
alt: string;
|
|
7
16
|
src: string;
|
|
8
17
|
}
|
|
18
|
+
interface HeaderOptions {
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
onClose?: () => void;
|
|
21
|
+
}
|
|
9
22
|
export {};
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { CheckboxProps } from './types';
|
|
3
|
-
export declare const Checkbox:
|
|
2
|
+
export declare const Checkbox: import('react').ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
|
|
@@ -3,5 +3,7 @@ export interface CheckboxOptions {
|
|
|
3
3
|
indeterminate?: boolean;
|
|
4
4
|
variant?: Variant;
|
|
5
5
|
}
|
|
6
|
-
export type CheckboxProps = CheckboxOptions & ComponentProps<'input'
|
|
6
|
+
export type CheckboxProps = CheckboxOptions & Omit<ComponentProps<'input'>, 'onChange'> & {
|
|
7
|
+
onChange?: (isChecked: boolean) => void;
|
|
8
|
+
};
|
|
7
9
|
export type Variant = 'danger' | 'success' | 'warning';
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import { CustomHeaderProps } from './types';
|
|
2
|
-
export declare const CustomHeader:
|
|
2
|
+
export declare const CustomHeader: {
|
|
3
|
+
({ changeMonth, changeYear, date, decreaseMonth, decreaseYear, endYear, increaseMonth, increaseYear, isMonthYearPicker, locale, startYear, }: CustomHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
export declare const CustomPopper:
|
|
3
|
-
children:
|
|
4
|
-
|
|
2
|
+
export declare const CustomPopper: {
|
|
3
|
+
({ children }: {
|
|
4
|
+
children: React.ReactElement;
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import { HeaderProps } from './types';
|
|
2
|
-
export declare const Header:
|
|
2
|
+
export declare const Header: {
|
|
3
|
+
({ action, className, iconName, onBackButtonClick, subtitle, title, }: HeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import { IconBlockProps } from './types';
|
|
2
|
-
export declare const IconBlock:
|
|
2
|
+
export declare const IconBlock: {
|
|
3
|
+
({ iconName, size }: IconBlockProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
@@ -10,6 +10,7 @@ export interface AssetDrawerOptions extends DialogOptions<'div'> {
|
|
|
10
10
|
maxWidth?: `${number}px` | `${number}rem` | number;
|
|
11
11
|
}
|
|
12
12
|
export type AssetDrawerProps = AssetDrawerOptions & ComponentPropsWithRef<'div'>;
|
|
13
|
+
export type BackdropProps = Pick<BaseDialogOptions, 'backdrop' | 'hideOnInteractOutside'>;
|
|
13
14
|
export type HeaderProps = ComponentProps<'div'> & {
|
|
14
15
|
/**
|
|
15
16
|
* Show on right a block, for example an HeaderAction
|
|
@@ -36,3 +37,5 @@ export type IconBlockProps = {
|
|
|
36
37
|
iconName: IconName;
|
|
37
38
|
size?: 'md' | 'sm';
|
|
38
39
|
};
|
|
40
|
+
type BaseDialogOptions = Omit<DialogOptions<'div'>, 'as'>;
|
|
41
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { BackdropProps } from '../types';
|
|
2
|
-
export declare const Backdrop: (
|
|
2
|
+
export declare const Backdrop: import('react').ForwardRefExoticComponent<Omit<BackdropProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import { CloseProps } from '../types';
|
|
2
|
-
export declare const Close:
|
|
2
|
+
export declare const Close: {
|
|
3
|
+
({ className }: CloseProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
@@ -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
|
-
Backdrop: (
|
|
4
|
-
Close:
|
|
3
|
+
Backdrop: import('react').ForwardRefExoticComponent<Omit<import('./types').BackdropProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
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
|
+
};
|
|
@@ -19,6 +19,8 @@ export interface FileDropOptions {
|
|
|
19
19
|
/** Pass a comma-separated string of file types e.g. "image/png" or "image/png,image/jpeg" */
|
|
20
20
|
accept?: Accept;
|
|
21
21
|
children?: (state: FileDropChildren) => JSX.Element;
|
|
22
|
+
deleteButtonText?: string;
|
|
23
|
+
editButtonText?: string;
|
|
22
24
|
fileName?: string;
|
|
23
25
|
forceFileType?: ForceFileType;
|
|
24
26
|
handleAddFile?: (event: CreateEvent | DropEvent | React.ChangeEvent<HTMLInputElement>) => void;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export declare const arrows: readonly ["angle-left-b", "angle-right-b", "angle-up", "angle-down", "arrow-left", "arrow-right", "arrow-up", "arrow-down", "left-arrow-to-left", "arrow-to-right", "top-arrow-to-top", "arrow-to-bottom"];
|
|
2
|
-
export declare const actions: readonly ["asterisk", "info-circle", "chart-line", "plus", "chart-line", "archive-alt", "arrows-merge-v", "arrows-shrink-v", "apps", "user-check", "user-plus", "user-times", "check", "times", "trash", "import", "upload", "draggable-dots", "copy", "pen", "left-arrow-from-left", "arrow-from-right", "resize-handle", "arrow-resize-diagonal", "external-link-alt", "heart-solid", "heart", "filter", "eye", "eye-slash", "link", "sign-out-alt", "bars", "ellipsis-v", "ellipsis-h", "move-arrow", "bell", "print", "bolt-alt", "redo", "save", "search", "setting", "share-alt", "share"];
|
|
3
|
-
export declare const
|
|
1
|
+
export declare const arrows: readonly ["angle-left-b", "angle-right-b", "angle-up", "angle-down", "arrow-left", "arrow-right", "arrow-up", "arrow-down", "left-arrow-to-left", "arrow-to-right", "top-arrow-to-top", "arrow-to-bottom", "angle-double-left", "angle-double-right", "angle-left", "angle-right"];
|
|
2
|
+
export declare const actions: readonly ["asterisk", "info-circle", "chart-line", "plus", "chart-line", "archive-alt", "arrows-merge-v", "arrows-shrink-v", "apps", "edit", "user-check", "user-plus", "user-times", "check", "times", "trash", "import", "upload", "draggable-dots", "copy", "pen", "left-arrow-from-left", "arrow-from-right", "resize-handle", "arrow-resize-diagonal", "external-link-alt", "heart-solid", "heart", "filter", "eye", "eye-slash", "link", "sign-out-alt", "bars", "ellipsis-v", "ellipsis-h", "move-arrow", "bell", "print", "bolt-alt", "redo", "save", "search", "setting", "share-alt", "share"];
|
|
3
|
+
export declare const chat: string[];
|
|
4
|
+
export declare const miscellaneous: readonly ["music", "rocket", "file-alt", "user-square", "book-reader", "file-question-alt", "sad-solid", "smile-beam-solid", "sad", "smile-beam", "sign-right", "exclamation-triangle", "exclamation-circle", "exclamation-octagon", "chart-pie", "paperclip", "chart-bar", "fire", "user-check", "apps", "trophy", "bookmark-solid", "bookmark", "clock", "comment-alt-lines", "file-edit-alt", "illustration", "calendar", "users-alt", "globe", "graduation-cap", "envelope", "equal-circle", "minus", "venus", "mars", "estate", "info-circle", "columns", "english-to-chinese", "bag-alt", "chart-line", "map-marker-alt", "lock-alt", "flag", "at", "user", "user-circle", "clipboard-check", "building", "compass", "phone", "pin", "microphone", "user-search", "house-user", "star-solid", "star", "coins", "euro-circle", "file-search-alt", "question-circle", "gift", "birthday-cake", "bunting-flags", "tag-alt", "tablet", "mobile", "video", "plus-circle", "pen", "check-circle", "certified", "plug"];
|
|
4
5
|
export declare const player: readonly ["play", "stop-circle-solid", "pause-circle-solid", "previous", "step-forward", "expand-arrows-alt", "compress-arrows", "screen-share", "stop-screen-share", "microphone", "microphone-slash", "cast", "cast-connected", "cast-unavailable", "video", "video-slash", "airplay", "history", "playlist", "volume-up", "volume-mute", "closed-captioning"];
|
|
5
6
|
export declare const wtf: readonly ["package", "basketball", "book-alt", "lightbulb-alt", "life-ring", "calculator-alt", "camera", "shopping-cart", "clipboard-notes", "coffee", "ruler", "desktop", "hard-hat", "credit-card", "moon-solid", "moon", "crosshair", "crown", "restaurant", "diamond", "industry", "fingerprint", "flag", "flag-solid", "setting", "handshake", "hashtag", "headphones", "heart", "estate", "balance-scale", "key-skeleton", "leaf", "map", "masonry", "masonry-plus", "megaphone", "microphone", "processor", "euro-circle", "mountains", "pen", "images", "chart-pie-alt", "pizza-slice", "puzzle-piece-solid", "puzzle-piece", "shield", "wrench", "sparkles", "server", "sun", "hunting", "thumbs-up", "thumbs-down", "trees", "sofa", "exit", "redo", "play", "ban"];
|
|
6
|
-
export declare const
|
|
7
|
+
export declare const foldersAndFiles: readonly ["folder", "folder-open", "folder-full", "file", "image"];
|
|
7
8
|
export declare const markdown: readonly ["bold", "arrow", "brackets-curly", "italic", "list-ol-alt", "list-ul", "quote", "text-strike-through", "heading", "heading-1", "heading-2", "heading-3", "heading-4", "heading-5", "heading-6", "font", "underline"];
|
|
8
|
-
export declare const table: readonly ["table", "columns"];
|
|
9
9
|
export declare const brands: readonly ["behance", "dribbble", "facebook", "github", "google", "instagram", "linkedin", "npm", "pinterest", "slack", "stackoverflow", "tiktok", "twitch", "x", "xing", "youtube", "zapier"];
|
|
10
10
|
export declare const welcome: readonly ["symbol", "wttj"];
|
|
11
11
|
export declare const flags: readonly ["flag-fr", "flag-en", "flag-us"];
|
|
12
|
-
export declare const icons: readonly ["asterisk", "info-circle", "chart-line", "plus", "chart-line", "archive-alt", "arrows-merge-v", "arrows-shrink-v", "apps", "user-check", "user-plus", "user-times", "check", "times", "trash", "import", "upload", "draggable-dots", "copy", "pen", "left-arrow-from-left", "arrow-from-right", "resize-handle", "arrow-resize-diagonal", "external-link-alt", "heart-solid", "heart", "filter", "eye", "eye-slash", "link", "sign-out-alt", "bars", "ellipsis-v", "ellipsis-h", "move-arrow", "bell", "print", "bolt-alt", "redo", "save", "search", "setting", "share-alt", "share", "angle-left-b", "angle-right-b", "angle-up", "angle-down", "arrow-left", "arrow-right", "arrow-up", "arrow-down", "left-arrow-to-left", "arrow-to-right", "top-arrow-to-top", "arrow-to-bottom", "behance", "dribbble", "facebook", "github", "google", "instagram", "linkedin", "npm", "pinterest", "slack", "stackoverflow", "tiktok", "twitch", "x", "xing", "youtube", "zapier", "file", "image", "flag-fr", "flag-en", "flag-us", "bold", "arrow", "brackets-curly", "italic", "list-ol-alt", "list-ul", "quote", "text-strike-through", "heading", "heading-1", "heading-2", "heading-3", "heading-4", "heading-5", "heading-6", "font", "underline", "music", "
|
|
12
|
+
export declare const icons: readonly ["asterisk", "info-circle", "chart-line", "plus", "chart-line", "archive-alt", "arrows-merge-v", "arrows-shrink-v", "apps", "edit", "user-check", "user-plus", "user-times", "check", "times", "trash", "import", "upload", "draggable-dots", "copy", "pen", "left-arrow-from-left", "arrow-from-right", "resize-handle", "arrow-resize-diagonal", "external-link-alt", "heart-solid", "heart", "filter", "eye", "eye-slash", "link", "sign-out-alt", "bars", "ellipsis-v", "ellipsis-h", "move-arrow", "bell", "print", "bolt-alt", "redo", "save", "search", "setting", "share-alt", "share", "angle-left-b", "angle-right-b", "angle-up", "angle-down", "arrow-left", "arrow-right", "arrow-up", "arrow-down", "left-arrow-to-left", "arrow-to-right", "top-arrow-to-top", "arrow-to-bottom", "angle-double-left", "angle-double-right", "angle-left", "angle-right", "behance", "dribbble", "facebook", "github", "google", "instagram", "linkedin", "npm", "pinterest", "slack", "stackoverflow", "tiktok", "twitch", "x", "xing", "youtube", "zapier", ...string[], "folder", "folder-open", "folder-full", "file", "image", "flag-fr", "flag-en", "flag-us", "bold", "arrow", "brackets-curly", "italic", "list-ol-alt", "list-ul", "quote", "text-strike-through", "heading", "heading-1", "heading-2", "heading-3", "heading-4", "heading-5", "heading-6", "font", "underline", "music", "rocket", "file-alt", "user-square", "book-reader", "file-question-alt", "sad-solid", "smile-beam-solid", "sad", "smile-beam", "sign-right", "exclamation-triangle", "exclamation-circle", "exclamation-octagon", "chart-pie", "paperclip", "chart-bar", "fire", "user-check", "apps", "trophy", "bookmark-solid", "bookmark", "clock", "comment-alt-lines", "file-edit-alt", "illustration", "calendar", "users-alt", "globe", "graduation-cap", "envelope", "equal-circle", "minus", "venus", "mars", "estate", "info-circle", "columns", "english-to-chinese", "bag-alt", "chart-line", "map-marker-alt", "lock-alt", "flag", "at", "user", "user-circle", "clipboard-check", "building", "compass", "phone", "pin", "microphone", "user-search", "house-user", "star-solid", "star", "coins", "euro-circle", "file-search-alt", "question-circle", "gift", "birthday-cake", "bunting-flags", "tag-alt", "tablet", "mobile", "video", "plus-circle", "pen", "check-circle", "certified", "plug", "play", "stop-circle-solid", "pause-circle-solid", "previous", "step-forward", "expand-arrows-alt", "compress-arrows", "screen-share", "stop-screen-share", "microphone", "microphone-slash", "cast", "cast-connected", "cast-unavailable", "video", "video-slash", "airplay", "history", "playlist", "volume-up", "volume-mute", "closed-captioning", "symbol", "wttj", "package", "basketball", "book-alt", "lightbulb-alt", "life-ring", "calculator-alt", "camera", "shopping-cart", "clipboard-notes", "coffee", "ruler", "desktop", "hard-hat", "credit-card", "moon-solid", "moon", "crosshair", "crown", "restaurant", "diamond", "industry", "fingerprint", "flag", "flag-solid", "setting", "handshake", "hashtag", "headphones", "heart", "estate", "balance-scale", "key-skeleton", "leaf", "map", "masonry", "masonry-plus", "megaphone", "microphone", "processor", "euro-circle", "mountains", "pen", "images", "chart-pie-alt", "pizza-slice", "puzzle-piece-solid", "puzzle-piece", "shield", "wrench", "sparkles", "server", "sun", "hunting", "thumbs-up", "thumbs-down", "trees", "sofa", "exit", "redo", "play", "ban"];
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
1
2
|
import { ForwardRefProps } from '../../utils';
|
|
2
3
|
import { icons } from './icons';
|
|
3
4
|
export type IconName = (typeof icons)[number];
|
|
4
5
|
export interface IconOptions {
|
|
6
|
+
colors?: CSSProperties[];
|
|
5
7
|
size?: '2xl' | '3xl' | 'lg' | 'md' | 'sm' | 'xl' | 'xs' | 'xxl';
|
|
6
8
|
}
|
|
7
9
|
export type IconProps = ForwardRefProps<IconOptions & {
|
|
@@ -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
|
};
|
|
@@ -1,13 +1,24 @@
|
|
|
1
1
|
import { ForwardRefProps } from '../../utils';
|
|
2
|
+
export interface NavigationTexts {
|
|
3
|
+
firstPage?: string;
|
|
4
|
+
lastPage?: string;
|
|
5
|
+
nextPage?: string;
|
|
6
|
+
previousPage?: string;
|
|
7
|
+
}
|
|
2
8
|
export interface PaginationOptions {
|
|
9
|
+
buttonFirstProps?: React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
10
|
+
buttonLastProps?: React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
3
11
|
buttonNextProps?: React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
4
12
|
buttonPrevProps?: React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
5
13
|
dataTestId?: string;
|
|
6
14
|
getHref?: (page: number | string) => string;
|
|
7
15
|
listProps?: React.OlHTMLAttributes<HTMLOListElement>;
|
|
16
|
+
navigationTexts?: NavigationTexts;
|
|
8
17
|
onChange: (page: number | string) => void;
|
|
9
18
|
page: number;
|
|
10
19
|
pageCount: number;
|
|
11
20
|
rangeDisplay?: number;
|
|
21
|
+
showEdgeControls?: boolean;
|
|
22
|
+
size?: 'lg' | 'md';
|
|
12
23
|
}
|
|
13
24
|
export type PaginationProps = ForwardRefProps<PaginationOptions, 'nav'>;
|
|
@@ -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
|
+
};
|
|
@@ -6,6 +6,6 @@ export interface RadioOptions {
|
|
|
6
6
|
label?: string;
|
|
7
7
|
maxWidth?: number | string;
|
|
8
8
|
value?: string;
|
|
9
|
-
variant?: 'danger' | 'default'
|
|
9
|
+
variant?: 'danger' | 'default';
|
|
10
10
|
}
|
|
11
11
|
export type RadioProps = ComponentPropsWithRef<'input'> & Omit<LabelProps, 'children'> & RadioOptions;
|
|
@@ -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
|
};
|