@delightui/components 0.1.39 → 0.1.40
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/cjs/components/atoms/Checkbox/Checkbox.d.ts +10 -2
- package/dist/cjs/components/atoms/Checkbox/Checkbox.types.d.ts +41 -0
- package/dist/cjs/components/atoms/Checkbox/index.d.ts +1 -0
- package/dist/cjs/components/atoms/CheckboxItem/CheckboxItem.d.ts +8 -0
- package/dist/cjs/components/atoms/CheckboxItem/CheckboxItem.types.d.ts +22 -0
- package/dist/cjs/components/atoms/CheckboxItem/index.d.ts +3 -0
- package/dist/cjs/components/atoms/Chip/Chip.types.d.ts +5 -5
- package/dist/cjs/components/atoms/ListItem/ListItem.types.d.ts +4 -0
- package/dist/cjs/components/atoms/RadioButton/RadioButton.d.ts +11 -0
- package/dist/cjs/components/atoms/RadioButton/RadioButton.types.d.ts +37 -0
- package/dist/cjs/components/atoms/RadioButton/index.d.ts +3 -0
- package/dist/cjs/components/atoms/RadioButtonItem/RadioButtonItem.d.ts +8 -0
- package/dist/cjs/components/atoms/RadioButtonItem/RadioButtonItem.types.d.ts +22 -0
- package/dist/cjs/components/atoms/RadioButtonItem/index.d.ts +2 -0
- package/dist/cjs/components/atoms/Slider/Slider.d.ts +4 -0
- package/dist/cjs/components/atoms/Slider/Slider.types.d.ts +53 -0
- package/dist/cjs/components/atoms/Slider/index.d.ts +4 -0
- package/dist/cjs/components/atoms/ToastNotification/ToastNotification.d.ts +4 -0
- package/dist/cjs/components/atoms/ToastNotification/ToastNotification.types.d.ts +44 -0
- package/dist/cjs/components/atoms/ToastNotification/index.d.ts +4 -0
- package/dist/cjs/components/atoms/Toggle/Toggle.d.ts +1 -1
- package/dist/cjs/components/atoms/Toggle/Toggle.types.d.ts +4 -3
- package/dist/cjs/components/atoms/index.d.ts +6 -0
- package/dist/cjs/components/molecules/CheckboxGroup/CheckboxGroup.Context.d.ts +4 -0
- package/dist/cjs/components/molecules/CheckboxGroup/CheckboxGroup.d.ts +4 -0
- package/dist/cjs/components/molecules/CheckboxGroup/CheckboxGroup.types.d.ts +53 -0
- package/dist/cjs/components/molecules/CheckboxGroup/index.d.ts +3 -0
- package/dist/cjs/components/molecules/ChipInput/ChipInput.d.ts +4 -0
- package/dist/cjs/components/molecules/ChipInput/ChipInput.types.d.ts +16 -0
- package/dist/cjs/components/molecules/ContextMenu/ContextMenu.d.ts +4 -6
- package/dist/cjs/components/molecules/ContextMenu/ContextMenu.types.d.ts +3 -64
- package/dist/cjs/components/molecules/ContextMenu/index.d.ts +2 -4
- package/dist/cjs/components/molecules/List/List.types.d.ts +30 -0
- package/dist/cjs/components/molecules/List/components/SortableListItem.d.ts +2 -1
- package/dist/cjs/components/molecules/List/components/SortableTrigger.d.ts +3 -0
- package/dist/cjs/components/molecules/Nav/NavLink/NavLink.types.d.ts +8 -2
- package/dist/cjs/components/molecules/Pagination/Pagination.d.ts +3 -0
- package/dist/cjs/components/molecules/Pagination/Pagination.presenter.d.ts +11 -0
- package/dist/cjs/components/molecules/Pagination/Pagination.types.d.ts +9 -0
- package/dist/cjs/components/molecules/Pagination/index.d.ts +2 -0
- package/dist/cjs/components/molecules/PaginationNumberField/PaginationNumberField.d.ts +3 -0
- package/dist/cjs/components/molecules/PaginationNumberField/PaginationNumberField.presenter.d.ts +10 -0
- package/dist/cjs/components/molecules/PaginationNumberField/PaginationNumberField.types.d.ts +7 -0
- package/dist/cjs/components/molecules/PaginationNumberField/index.d.ts +2 -0
- package/dist/cjs/components/molecules/RadioGroup/RadioGroup.Context.d.ts +21 -0
- package/dist/cjs/components/molecules/RadioGroup/RadioGroup.d.ts +4 -0
- package/dist/cjs/components/molecules/RadioGroup/RadioGroup.types.d.ts +36 -0
- package/dist/cjs/components/molecules/RadioGroup/index.d.ts +3 -0
- package/dist/cjs/components/molecules/index.d.ts +23 -32
- package/dist/cjs/components/organisms/Dropzone/Dropzone.d.ts +5 -0
- package/dist/cjs/components/organisms/Dropzone/Dropzone.types.d.ts +102 -0
- package/dist/cjs/components/organisms/Dropzone/components/DropzoneClear.d.ts +4 -0
- package/dist/cjs/components/organisms/Dropzone/components/DropzoneFilename.d.ts +4 -0
- package/dist/cjs/components/organisms/Dropzone/components/DropzoneSupportedFormats.d.ts +4 -0
- package/dist/cjs/components/organisms/Dropzone/components/DrozoneTrigger.d.ts +4 -0
- package/dist/cjs/components/organisms/Dropzone/index.d.ts +6 -0
- package/dist/cjs/components/organisms/DropzoneContent/DropzoneContent.d.ts +3 -0
- package/dist/cjs/components/organisms/DropzoneContent/DropzoneContent.types.d.ts +6 -0
- package/dist/cjs/components/organisms/DropzoneContent/index.d.ts +3 -0
- package/dist/cjs/components/organisms/Form/Form.types.d.ts +1 -1
- package/dist/cjs/components/organisms/Form/FormExample.d.ts +9 -1
- package/dist/cjs/components/organisms/Table/Table.types.d.ts +6 -1
- package/dist/cjs/components/{molecules → organisms/Tabs}/TabItem/TabItem.types.d.ts +1 -1
- package/dist/cjs/components/organisms/index.d.ts +23 -1
- package/dist/cjs/library.css +5960 -2586
- package/dist/cjs/library.js +3 -3
- package/dist/cjs/library.js.map +1 -1
- package/dist/cjs/modules/index.d.ts +1 -0
- package/dist/cjs/modules/notification/NotificationContainer.d.ts +4 -0
- package/dist/cjs/modules/notification/NotificationContext.d.ts +5 -0
- package/dist/cjs/modules/notification/index.d.ts +4 -0
- package/dist/cjs/modules/notification/types.d.ts +38 -0
- package/dist/esm/components/atoms/Checkbox/Checkbox.d.ts +10 -2
- package/dist/esm/components/atoms/Checkbox/Checkbox.types.d.ts +41 -0
- package/dist/esm/components/atoms/Checkbox/index.d.ts +1 -0
- package/dist/esm/components/atoms/CheckboxItem/CheckboxItem.d.ts +8 -0
- package/dist/esm/components/atoms/CheckboxItem/CheckboxItem.types.d.ts +22 -0
- package/dist/esm/components/atoms/CheckboxItem/index.d.ts +3 -0
- package/dist/esm/components/atoms/Chip/Chip.types.d.ts +5 -5
- package/dist/esm/components/atoms/ListItem/ListItem.types.d.ts +4 -0
- package/dist/esm/components/atoms/RadioButton/RadioButton.d.ts +11 -0
- package/dist/esm/components/atoms/RadioButton/RadioButton.types.d.ts +37 -0
- package/dist/esm/components/atoms/RadioButton/index.d.ts +3 -0
- package/dist/esm/components/atoms/RadioButtonItem/RadioButtonItem.d.ts +8 -0
- package/dist/esm/components/atoms/RadioButtonItem/RadioButtonItem.types.d.ts +22 -0
- package/dist/esm/components/atoms/RadioButtonItem/index.d.ts +2 -0
- package/dist/esm/components/atoms/Slider/Slider.d.ts +4 -0
- package/dist/esm/components/atoms/Slider/Slider.types.d.ts +53 -0
- package/dist/esm/components/atoms/Slider/index.d.ts +4 -0
- package/dist/esm/components/atoms/ToastNotification/ToastNotification.d.ts +4 -0
- package/dist/esm/components/atoms/ToastNotification/ToastNotification.types.d.ts +44 -0
- package/dist/esm/components/atoms/ToastNotification/index.d.ts +4 -0
- package/dist/esm/components/atoms/Toggle/Toggle.d.ts +1 -1
- package/dist/esm/components/atoms/Toggle/Toggle.types.d.ts +4 -3
- package/dist/esm/components/atoms/index.d.ts +6 -0
- package/dist/esm/components/molecules/CheckboxGroup/CheckboxGroup.Context.d.ts +4 -0
- package/dist/esm/components/molecules/CheckboxGroup/CheckboxGroup.d.ts +4 -0
- package/dist/esm/components/molecules/CheckboxGroup/CheckboxGroup.types.d.ts +53 -0
- package/dist/esm/components/molecules/CheckboxGroup/index.d.ts +3 -0
- package/dist/esm/components/molecules/ChipInput/ChipInput.d.ts +4 -0
- package/dist/esm/components/molecules/ChipInput/ChipInput.types.d.ts +16 -0
- package/dist/esm/components/molecules/ContextMenu/ContextMenu.d.ts +4 -6
- package/dist/esm/components/molecules/ContextMenu/ContextMenu.types.d.ts +3 -64
- package/dist/esm/components/molecules/ContextMenu/index.d.ts +2 -4
- package/dist/esm/components/molecules/List/List.types.d.ts +30 -0
- package/dist/esm/components/molecules/List/components/SortableListItem.d.ts +2 -1
- package/dist/esm/components/molecules/List/components/SortableTrigger.d.ts +3 -0
- package/dist/esm/components/molecules/Nav/NavLink/NavLink.types.d.ts +8 -2
- package/dist/esm/components/molecules/Pagination/Pagination.d.ts +3 -0
- package/dist/esm/components/molecules/Pagination/Pagination.presenter.d.ts +11 -0
- package/dist/esm/components/molecules/Pagination/Pagination.types.d.ts +9 -0
- package/dist/esm/components/molecules/Pagination/index.d.ts +2 -0
- package/dist/esm/components/molecules/PaginationNumberField/PaginationNumberField.d.ts +3 -0
- package/dist/esm/components/molecules/PaginationNumberField/PaginationNumberField.presenter.d.ts +10 -0
- package/dist/esm/components/molecules/PaginationNumberField/PaginationNumberField.types.d.ts +7 -0
- package/dist/esm/components/molecules/PaginationNumberField/index.d.ts +2 -0
- package/dist/esm/components/molecules/RadioGroup/RadioGroup.Context.d.ts +21 -0
- package/dist/esm/components/molecules/RadioGroup/RadioGroup.d.ts +4 -0
- package/dist/esm/components/molecules/RadioGroup/RadioGroup.types.d.ts +36 -0
- package/dist/esm/components/molecules/RadioGroup/index.d.ts +3 -0
- package/dist/esm/components/molecules/index.d.ts +23 -32
- package/dist/esm/components/organisms/Dropzone/Dropzone.d.ts +5 -0
- package/dist/esm/components/organisms/Dropzone/Dropzone.types.d.ts +102 -0
- package/dist/esm/components/organisms/Dropzone/components/DropzoneClear.d.ts +4 -0
- package/dist/esm/components/organisms/Dropzone/components/DropzoneFilename.d.ts +4 -0
- package/dist/esm/components/organisms/Dropzone/components/DropzoneSupportedFormats.d.ts +4 -0
- package/dist/esm/components/organisms/Dropzone/components/DrozoneTrigger.d.ts +4 -0
- package/dist/esm/components/organisms/Dropzone/index.d.ts +6 -0
- package/dist/esm/components/organisms/DropzoneContent/DropzoneContent.d.ts +3 -0
- package/dist/esm/components/organisms/DropzoneContent/DropzoneContent.types.d.ts +6 -0
- package/dist/esm/components/organisms/DropzoneContent/index.d.ts +3 -0
- package/dist/esm/components/organisms/Form/Form.types.d.ts +1 -1
- package/dist/esm/components/organisms/Form/FormExample.d.ts +9 -1
- package/dist/esm/components/organisms/Table/Table.types.d.ts +6 -1
- package/dist/esm/components/{molecules → organisms/Tabs}/TabItem/TabItem.types.d.ts +1 -1
- package/dist/esm/components/organisms/index.d.ts +23 -1
- package/dist/esm/library.css +5960 -2586
- package/dist/esm/library.js +3 -3
- package/dist/esm/library.js.map +1 -1
- package/dist/esm/modules/index.d.ts +1 -0
- package/dist/esm/modules/notification/NotificationContainer.d.ts +4 -0
- package/dist/esm/modules/notification/NotificationContext.d.ts +5 -0
- package/dist/esm/modules/notification/index.d.ts +4 -0
- package/dist/esm/modules/notification/types.d.ts +38 -0
- package/dist/index.d.ts +753 -546
- package/package.json +2 -1
- package/dist/cjs/components/atoms/Checkbox/types.d.ts +0 -8
- package/dist/cjs/components/molecules/ContextMenu/MenuItem/MenuItem.d.ts +0 -9
- package/dist/cjs/components/molecules/ContextMenu/MenuItem/MenuItem.types.d.ts +0 -24
- package/dist/cjs/components/molecules/ContextMenu/MenuItem/index.d.ts +0 -4
- package/dist/esm/components/atoms/Checkbox/types.d.ts +0 -8
- package/dist/esm/components/molecules/ContextMenu/MenuItem/MenuItem.d.ts +0 -9
- package/dist/esm/components/molecules/ContextMenu/MenuItem/MenuItem.types.d.ts +0 -24
- package/dist/esm/components/molecules/ContextMenu/MenuItem/index.d.ts +0 -4
- /package/dist/cjs/components/molecules/{ModalFooter → Modal/ModalFooter}/ModalFooter.d.ts +0 -0
- /package/dist/cjs/components/molecules/{ModalFooter → Modal/ModalFooter}/ModalFooter.types.d.ts +0 -0
- /package/dist/cjs/components/molecules/{ModalFooter → Modal/ModalFooter}/index.d.ts +0 -0
- /package/dist/cjs/components/molecules/{ModalHeader → Modal/ModalHeader}/ModalHeader.d.ts +0 -0
- /package/dist/cjs/components/molecules/{ModalHeader → Modal/ModalHeader}/ModalHeader.types.d.ts +0 -0
- /package/dist/cjs/components/molecules/{ModalHeader → Modal/ModalHeader}/index.d.ts +0 -0
- /package/dist/cjs/components/{molecules → organisms/Table}/TableBody/TableBody.d.ts +0 -0
- /package/dist/cjs/components/{molecules → organisms/Table}/TableBody/TableBody.types.d.ts +0 -0
- /package/dist/cjs/components/{molecules → organisms/Table}/TableBody/index.d.ts +0 -0
- /package/dist/cjs/components/{molecules → organisms/Table}/TableCell/TableCell.d.ts +0 -0
- /package/dist/cjs/components/{molecules → organisms/Table}/TableCell/TableCell.types.d.ts +0 -0
- /package/dist/cjs/components/{molecules → organisms/Table}/TableCell/index.d.ts +0 -0
- /package/dist/cjs/components/{molecules → organisms/Table}/TableHeader/TableHeader.d.ts +0 -0
- /package/dist/cjs/components/{molecules → organisms/Table}/TableHeader/TableHeader.types.d.ts +0 -0
- /package/dist/cjs/components/{molecules → organisms/Table}/TableHeader/index.d.ts +0 -0
- /package/dist/cjs/components/{molecules → organisms/Table}/TableRow/TableRow.d.ts +0 -0
- /package/dist/cjs/components/{molecules → organisms/Table}/TableRow/TableRow.types.d.ts +0 -0
- /package/dist/cjs/components/{molecules → organisms/Table}/TableRow/index.d.ts +0 -0
- /package/dist/cjs/components/{molecules → organisms/Tabs}/TabContent/TabContent.d.ts +0 -0
- /package/dist/cjs/components/{molecules → organisms/Tabs}/TabContent/TabContent.types.d.ts +0 -0
- /package/dist/cjs/components/{molecules → organisms/Tabs}/TabContent/index.d.ts +0 -0
- /package/dist/cjs/components/{molecules → organisms/Tabs}/TabItem/TabItem.d.ts +0 -0
- /package/dist/cjs/components/{molecules → organisms/Tabs}/TabItem/index.d.ts +0 -0
- /package/dist/cjs/components/{molecules → organisms}/Tabs/Tabs.Context.d.ts +0 -0
- /package/dist/cjs/components/{molecules → organisms}/Tabs/Tabs.d.ts +0 -0
- /package/dist/cjs/components/{molecules → organisms}/Tabs/Tabs.types.d.ts +0 -0
- /package/dist/cjs/components/{molecules → organisms}/Tabs/index.d.ts +0 -0
- /package/dist/esm/components/molecules/{ModalFooter → Modal/ModalFooter}/ModalFooter.d.ts +0 -0
- /package/dist/esm/components/molecules/{ModalFooter → Modal/ModalFooter}/ModalFooter.types.d.ts +0 -0
- /package/dist/esm/components/molecules/{ModalFooter → Modal/ModalFooter}/index.d.ts +0 -0
- /package/dist/esm/components/molecules/{ModalHeader → Modal/ModalHeader}/ModalHeader.d.ts +0 -0
- /package/dist/esm/components/molecules/{ModalHeader → Modal/ModalHeader}/ModalHeader.types.d.ts +0 -0
- /package/dist/esm/components/molecules/{ModalHeader → Modal/ModalHeader}/index.d.ts +0 -0
- /package/dist/esm/components/{molecules → organisms/Table}/TableBody/TableBody.d.ts +0 -0
- /package/dist/esm/components/{molecules → organisms/Table}/TableBody/TableBody.types.d.ts +0 -0
- /package/dist/esm/components/{molecules → organisms/Table}/TableBody/index.d.ts +0 -0
- /package/dist/esm/components/{molecules → organisms/Table}/TableCell/TableCell.d.ts +0 -0
- /package/dist/esm/components/{molecules → organisms/Table}/TableCell/TableCell.types.d.ts +0 -0
- /package/dist/esm/components/{molecules → organisms/Table}/TableCell/index.d.ts +0 -0
- /package/dist/esm/components/{molecules → organisms/Table}/TableHeader/TableHeader.d.ts +0 -0
- /package/dist/esm/components/{molecules → organisms/Table}/TableHeader/TableHeader.types.d.ts +0 -0
- /package/dist/esm/components/{molecules → organisms/Table}/TableHeader/index.d.ts +0 -0
- /package/dist/esm/components/{molecules → organisms/Table}/TableRow/TableRow.d.ts +0 -0
- /package/dist/esm/components/{molecules → organisms/Table}/TableRow/TableRow.types.d.ts +0 -0
- /package/dist/esm/components/{molecules → organisms/Table}/TableRow/index.d.ts +0 -0
- /package/dist/esm/components/{molecules → organisms/Tabs}/TabContent/TabContent.d.ts +0 -0
- /package/dist/esm/components/{molecules → organisms/Tabs}/TabContent/TabContent.types.d.ts +0 -0
- /package/dist/esm/components/{molecules → organisms/Tabs}/TabContent/index.d.ts +0 -0
- /package/dist/esm/components/{molecules → organisms/Tabs}/TabItem/TabItem.d.ts +0 -0
- /package/dist/esm/components/{molecules → organisms/Tabs}/TabItem/index.d.ts +0 -0
- /package/dist/esm/components/{molecules → organisms}/Tabs/Tabs.Context.d.ts +0 -0
- /package/dist/esm/components/{molecules → organisms}/Tabs/Tabs.d.ts +0 -0
- /package/dist/esm/components/{molecules → organisms}/Tabs/Tabs.types.d.ts +0 -0
- /package/dist/esm/components/{molecules → organisms}/Tabs/index.d.ts +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { ImgHTMLAttributes, SyntheticEvent, HTMLAttributes, ReactNode, MouseEvent, InputHTMLAttributes, TextareaHTMLAttributes,
|
|
2
|
+
import React__default, { ImgHTMLAttributes, SyntheticEvent, HTMLAttributes, ReactNode, MouseEvent, InputHTMLAttributes, TextareaHTMLAttributes, Dispatch, SetStateAction, FormHTMLAttributes, Ref, LiHTMLAttributes, CSSProperties, TableHTMLAttributes, TdHTMLAttributes } from 'react';
|
|
3
3
|
import { LinkProps } from 'react-router-dom';
|
|
4
|
-
import { Offset } from 'react-overlays/usePopper';
|
|
5
4
|
import { Plugin } from 'flatpickr/dist/types/options';
|
|
6
5
|
import FlatPickr from 'react-flatpickr';
|
|
6
|
+
import { Offset } from 'react-overlays/usePopper';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* Enum for different image fit options.
|
|
@@ -376,6 +376,10 @@ type ListItemProps = Omit<HTMLAttributes<HTMLDivElement>, 'style'> & {
|
|
|
376
376
|
* Click event handler for the list item.
|
|
377
377
|
*/
|
|
378
378
|
onClick?: (event?: MouseEvent<HTMLElement>) => void;
|
|
379
|
+
/**
|
|
380
|
+
* The label for the list item.
|
|
381
|
+
*/
|
|
382
|
+
children?: ReactNode;
|
|
379
383
|
/**
|
|
380
384
|
* Additional class for styling.
|
|
381
385
|
*/
|
|
@@ -384,13 +388,15 @@ type ListItemProps = Omit<HTMLAttributes<HTMLDivElement>, 'style'> & {
|
|
|
384
388
|
|
|
385
389
|
declare const ListItem: (props: ListItemProps) => React__default.JSX.Element;
|
|
386
390
|
|
|
391
|
+
type ToggleLabelAlignmentEnum = 'Left' | 'Right';
|
|
392
|
+
|
|
387
393
|
declare const Toggle: React__default.ForwardRefExoticComponent<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "checked" | "value" | "type"> & {
|
|
388
394
|
children?: React__default.ReactNode;
|
|
389
395
|
checked?: boolean;
|
|
390
396
|
onValueChanged?: (value: boolean) => void;
|
|
391
397
|
defaultChecked?: boolean;
|
|
392
398
|
invalid?: boolean;
|
|
393
|
-
|
|
399
|
+
labelAlignment?: ToggleLabelAlignmentEnum;
|
|
394
400
|
} & React__default.RefAttributes<HTMLInputElement>>;
|
|
395
401
|
|
|
396
402
|
declare const ToggleButton: React__default.ForwardRefExoticComponent<Omit<ButtonProps, "type" | "actionType"> & {
|
|
@@ -480,16 +486,16 @@ interface CustomToggleProps {
|
|
|
480
486
|
|
|
481
487
|
declare const CustomToggle: React__default.ForwardRefExoticComponent<CustomToggleProps & React__default.RefAttributes<HTMLInputElement>>;
|
|
482
488
|
|
|
483
|
-
type
|
|
489
|
+
type ChipTypeEnum = 'Bright' | 'BrightOutline' | 'Subdued' | 'SubduedOutline';
|
|
484
490
|
type ChipStyleEnum = 'A' | 'B' | 'C' | 'D' | 'E' | 'F';
|
|
485
491
|
type ChipSizeEnum = 'Small' | 'Medium' | 'Large';
|
|
486
|
-
type ChipCornerEnum = 'Rounded' | '
|
|
492
|
+
type ChipCornerEnum = 'Rounded' | 'Squared';
|
|
487
493
|
type ChipProps = Omit<HTMLAttributes<HTMLDivElement>, 'style'> & {
|
|
488
494
|
/**
|
|
489
|
-
*
|
|
495
|
+
* Type of the chip.
|
|
490
496
|
* @default 'Filled'
|
|
491
497
|
*/
|
|
492
|
-
|
|
498
|
+
type?: ChipTypeEnum;
|
|
493
499
|
/**
|
|
494
500
|
* Style of the chip.
|
|
495
501
|
* @default 'A'
|
|
@@ -538,7 +544,7 @@ type ChipProps = Omit<HTMLAttributes<HTMLDivElement>, 'style'> & {
|
|
|
538
544
|
/**
|
|
539
545
|
* Event handler for the close action when chip is dismissible.
|
|
540
546
|
*/
|
|
541
|
-
onClose?: (event?: MouseEvent<
|
|
547
|
+
onClose?: (event?: MouseEvent<HTMLElement>) => void;
|
|
542
548
|
};
|
|
543
549
|
|
|
544
550
|
/**
|
|
@@ -546,39 +552,235 @@ type ChipProps = Omit<HTMLAttributes<HTMLDivElement>, 'style'> & {
|
|
|
546
552
|
*/
|
|
547
553
|
declare const Chip: (props: ChipProps) => React__default.JSX.Element;
|
|
548
554
|
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
type ButtonGroupAlignEnum = 'Horizontal' | 'Vertical';
|
|
553
|
-
/**
|
|
554
|
-
* Enum for the type of the button-group.
|
|
555
|
-
*/
|
|
556
|
-
type ButtonGroupTypeEnum = 'Outlined' | 'Ghost';
|
|
557
|
-
type ButtonGroupProps = {
|
|
555
|
+
type CheckboxSizeEnum = 'Small' | 'Medium' | 'Large';
|
|
556
|
+
type CheckboxLabelAlignmentEnum = 'Left' | 'Right';
|
|
557
|
+
type CheckboxProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'checked' | 'value'> & {
|
|
558
558
|
/**
|
|
559
|
-
* The
|
|
560
|
-
* @default 'Horizontal'
|
|
559
|
+
* The label of the checkbox.
|
|
561
560
|
*/
|
|
562
|
-
|
|
561
|
+
children?: React.ReactNode;
|
|
563
562
|
/**
|
|
564
|
-
*
|
|
565
|
-
* @default '
|
|
563
|
+
* The size of the checkbox.
|
|
564
|
+
* @default 'Medium'
|
|
566
565
|
*/
|
|
567
|
-
|
|
566
|
+
size?: CheckboxSizeEnum;
|
|
568
567
|
/**
|
|
569
|
-
* The
|
|
568
|
+
* The checked state of the checkbox.
|
|
570
569
|
*/
|
|
571
|
-
|
|
570
|
+
checked?: boolean;
|
|
571
|
+
/**
|
|
572
|
+
* Callback function when the checkbox state changes.
|
|
573
|
+
* @param value - The new checked state of the checkbox.
|
|
574
|
+
*/
|
|
575
|
+
onValueChanged?: (value: boolean) => void;
|
|
576
|
+
/**
|
|
577
|
+
* Default checked state of the checkbox.
|
|
578
|
+
* @default false
|
|
579
|
+
*/
|
|
580
|
+
defaultChecked?: boolean;
|
|
581
|
+
/**
|
|
582
|
+
* Indicates if the checkbox is invalid.
|
|
583
|
+
* @default false
|
|
584
|
+
*/
|
|
585
|
+
invalid?: boolean;
|
|
586
|
+
/**
|
|
587
|
+
* The value of the checkbox.
|
|
588
|
+
*/
|
|
589
|
+
value?: string | number;
|
|
590
|
+
/**
|
|
591
|
+
* The alignment of the label.
|
|
592
|
+
*/
|
|
593
|
+
labelAlignment?: CheckboxLabelAlignmentEnum;
|
|
594
|
+
};
|
|
595
|
+
|
|
596
|
+
declare const Checkbox: React__default.ForwardRefExoticComponent<Omit<React__default.InputHTMLAttributes<HTMLInputElement>, "checked" | "value" | "type"> & {
|
|
597
|
+
children?: React__default.ReactNode;
|
|
598
|
+
size?: CheckboxSizeEnum;
|
|
599
|
+
checked?: boolean;
|
|
600
|
+
onValueChanged?: (value: boolean) => void;
|
|
601
|
+
defaultChecked?: boolean;
|
|
602
|
+
invalid?: boolean;
|
|
603
|
+
value?: string | number;
|
|
604
|
+
labelAlignment?: CheckboxLabelAlignmentEnum;
|
|
605
|
+
} & React__default.RefAttributes<HTMLInputElement>>;
|
|
606
|
+
|
|
607
|
+
declare const CheckboxItem: React__default.ForwardRefExoticComponent<Omit<CheckboxProps, "onValueChanged"> & {
|
|
608
|
+
onChange?: (value: boolean) => void;
|
|
609
|
+
showRightButton?: boolean;
|
|
610
|
+
onRightButtonClick?: () => void;
|
|
611
|
+
rightButtonIcon?: React__default.ReactNode;
|
|
612
|
+
} & React__default.RefAttributes<HTMLInputElement>>;
|
|
613
|
+
|
|
614
|
+
type CheckboxItemProps = Omit<CheckboxProps, 'onValueChanged'> & {
|
|
615
|
+
/**
|
|
616
|
+
* Callback function when the checkbox state changes.
|
|
617
|
+
* @param value: boolean - The new checked state of the checkbox.
|
|
618
|
+
*/
|
|
619
|
+
onChange?: (value: boolean) => void;
|
|
620
|
+
/**
|
|
621
|
+
* Flag to show right button.
|
|
622
|
+
* @default false
|
|
623
|
+
*/
|
|
624
|
+
showRightButton?: boolean;
|
|
625
|
+
/**
|
|
626
|
+
* Callback function when the right button is clicked.
|
|
627
|
+
*/
|
|
628
|
+
onRightButtonClick?: () => void;
|
|
629
|
+
/**
|
|
630
|
+
* Custom icon for the right button.
|
|
631
|
+
*/
|
|
632
|
+
rightButtonIcon?: ReactNode;
|
|
633
|
+
};
|
|
634
|
+
|
|
635
|
+
type SliderProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
636
|
+
/**
|
|
637
|
+
* The minimum value of the slider.
|
|
638
|
+
* @default 0
|
|
639
|
+
*/
|
|
640
|
+
min?: number;
|
|
641
|
+
/**
|
|
642
|
+
* The maximum value of the slider.
|
|
643
|
+
* @default 100
|
|
644
|
+
*/
|
|
645
|
+
max?: number;
|
|
646
|
+
/**
|
|
647
|
+
* The step size for the slider.
|
|
648
|
+
* @default 1
|
|
649
|
+
*/
|
|
650
|
+
step?: number;
|
|
651
|
+
/**
|
|
652
|
+
* The current value of the slider.
|
|
653
|
+
* Can be a single number or an array with exactly two numbers for range selection.
|
|
654
|
+
*/
|
|
655
|
+
value?: number | [number, number];
|
|
656
|
+
/**
|
|
657
|
+
* Callback function triggered when the slider value changes.
|
|
658
|
+
* @param value - The new value of the slider.
|
|
659
|
+
*/
|
|
660
|
+
onValueChange?: (value: number | [number, number]) => void;
|
|
661
|
+
/**
|
|
662
|
+
* Whether to display the minimum value label.
|
|
663
|
+
* @default false
|
|
664
|
+
*/
|
|
665
|
+
showMin?: boolean;
|
|
666
|
+
/**
|
|
667
|
+
* Whether to display the maximum value label.
|
|
668
|
+
* @default false
|
|
669
|
+
*/
|
|
670
|
+
showMax?: boolean;
|
|
671
|
+
/**
|
|
672
|
+
* Whether to show the current value on the slider thumb.
|
|
673
|
+
* @default false
|
|
674
|
+
*/
|
|
675
|
+
showValueOnThumb?: boolean;
|
|
676
|
+
/**
|
|
677
|
+
* Whether to enable range selection (two thumbs).
|
|
678
|
+
* @default false
|
|
679
|
+
*/
|
|
680
|
+
enableRange?: boolean;
|
|
681
|
+
/**
|
|
682
|
+
* Flag to disabled slider.
|
|
683
|
+
* @default false
|
|
684
|
+
*/
|
|
685
|
+
disabled?: boolean;
|
|
686
|
+
className?: string;
|
|
687
|
+
};
|
|
688
|
+
|
|
689
|
+
declare const Slider: (props: SliderProps) => React__default.JSX.Element;
|
|
690
|
+
|
|
691
|
+
type AccordionSummaryProps = {
|
|
692
|
+
children: ReactNode;
|
|
693
|
+
className?: string;
|
|
694
|
+
/**
|
|
695
|
+
* Custom expand/collapse icon element to override the default icon.
|
|
696
|
+
* It will rotate 90 degrees clockwise when the accordion is expanded.
|
|
697
|
+
*/
|
|
698
|
+
expandIcon?: ReactNode;
|
|
699
|
+
};
|
|
700
|
+
type AccordionDetailsProps = {
|
|
701
|
+
/**
|
|
702
|
+
* The content to be displayed in the accordion details section.
|
|
703
|
+
*/
|
|
704
|
+
children: ReactNode;
|
|
705
|
+
/**
|
|
706
|
+
* Optional CSS class name for custom styling.
|
|
707
|
+
*/
|
|
708
|
+
className?: string;
|
|
709
|
+
};
|
|
710
|
+
type AccordionProps = {
|
|
711
|
+
children: ReactNode;
|
|
712
|
+
className?: string;
|
|
713
|
+
/**
|
|
714
|
+
* Whether the accordion is expanded by default.
|
|
715
|
+
* @default false
|
|
716
|
+
*/
|
|
717
|
+
defaultExpanded?: boolean;
|
|
718
|
+
/**
|
|
719
|
+
* Controls the expanded state when using controlled mode.
|
|
720
|
+
* Use this prop along with onChange for controlled behavior.
|
|
721
|
+
*/
|
|
722
|
+
expanded?: boolean;
|
|
723
|
+
/**
|
|
724
|
+
* Callback function when the accordion is expanded/collapsed.
|
|
725
|
+
* @param isOpen - The new expanded state of the accordion.
|
|
726
|
+
*/
|
|
727
|
+
onChange?: (isOpen: boolean) => void;
|
|
728
|
+
/**
|
|
729
|
+
* Unique identifier for the accordion.
|
|
730
|
+
* This is used to identify the accordion in the group.
|
|
731
|
+
*/
|
|
732
|
+
name?: string;
|
|
733
|
+
};
|
|
734
|
+
|
|
735
|
+
declare const AccordionSummary: (props: AccordionSummaryProps) => React__default.JSX.Element;
|
|
736
|
+
declare const AccordionDetails: (props: AccordionDetailsProps) => React__default.JSX.Element;
|
|
737
|
+
declare const Accordion: (props: AccordionProps) => React__default.JSX.Element;
|
|
738
|
+
|
|
739
|
+
type AccordionGroupProps = {
|
|
740
|
+
children: ReactNode;
|
|
741
|
+
className?: string;
|
|
742
|
+
/**
|
|
743
|
+
* Unique identifier for the accordion group.
|
|
744
|
+
* This will be passed to the accordions as a prop.
|
|
745
|
+
*/
|
|
746
|
+
name?: string;
|
|
747
|
+
};
|
|
748
|
+
|
|
749
|
+
declare const AccordionGroup: (props: AccordionGroupProps) => React__default.JSX.Element;
|
|
750
|
+
|
|
751
|
+
type ActionCardProps = HTMLAttributes<HTMLDivElement> & Omit<LinkProps, 'to'> & {
|
|
752
|
+
/**
|
|
753
|
+
* The content to be displayed within the action card.
|
|
754
|
+
*/
|
|
755
|
+
children: ReactNode;
|
|
756
|
+
/**
|
|
757
|
+
* Specifies if the action card is disabled.
|
|
758
|
+
* @default false
|
|
759
|
+
*/
|
|
760
|
+
disabled?: boolean;
|
|
572
761
|
/**
|
|
573
762
|
* Additional class for styling.
|
|
574
763
|
*/
|
|
575
764
|
className?: string;
|
|
765
|
+
/**
|
|
766
|
+
* The destination URL or path for the navigation link.
|
|
767
|
+
* If the URL starts with "https", it will be treated as an external link and rendered as an <a> tag.
|
|
768
|
+
* Otherwise, it will be treated as an internal link and rendered as a <RouterNavLink> component.
|
|
769
|
+
*
|
|
770
|
+
* @example
|
|
771
|
+
* // Internal link
|
|
772
|
+
* <NavLink to="/home">Home</NavLink>
|
|
773
|
+
*
|
|
774
|
+
* // External link
|
|
775
|
+
* <NavLink to="https://www.example.com">External</NavLink>
|
|
776
|
+
*/
|
|
777
|
+
to?: string | -1;
|
|
576
778
|
};
|
|
577
779
|
|
|
578
780
|
/**
|
|
579
|
-
*
|
|
781
|
+
* ActionCard component definition.
|
|
580
782
|
*/
|
|
581
|
-
declare const
|
|
783
|
+
declare const ActionCard: (props: ActionCardProps) => React__default.JSX.Element;
|
|
582
784
|
|
|
583
785
|
interface BreadcrumbsProps {
|
|
584
786
|
/**
|
|
@@ -598,7 +800,8 @@ interface BreadcrumbsProps {
|
|
|
598
800
|
|
|
599
801
|
declare const Breadcrumbs: (props: BreadcrumbsProps) => React__default.JSX.Element;
|
|
600
802
|
|
|
601
|
-
type
|
|
803
|
+
type NavLinkTypeEnum = 'Fill' | 'Underline';
|
|
804
|
+
type NavLinkProps = Omit<LinkProps, 'to'> & Pick<ButtonProps, 'appearance' | 'size' | 'style' | 'leadingIcon' | 'trailingIcon'> & {
|
|
602
805
|
/**
|
|
603
806
|
* The destination URL or path for the navigation link.
|
|
604
807
|
* If the URL starts with "https", it will be treated as an external link and rendered as an <a> tag.
|
|
@@ -612,6 +815,11 @@ type NavLinkProps = Omit<LinkProps, 'to'> & Pick<ButtonProps, 'appearance' | 'si
|
|
|
612
815
|
* <NavLink to="https://www.example.com">External</NavLink>
|
|
613
816
|
*/
|
|
614
817
|
to: string | -1;
|
|
818
|
+
/**
|
|
819
|
+
* The type of nav link to render.
|
|
820
|
+
* @default 'Fill'
|
|
821
|
+
*/
|
|
822
|
+
type?: NavLinkTypeEnum | ButtonTypeEnum;
|
|
615
823
|
/**
|
|
616
824
|
* provide a way to override the styling
|
|
617
825
|
*/
|
|
@@ -635,211 +843,137 @@ interface BreadcrumbProps extends Omit<NavLinkProps, 'type'> {
|
|
|
635
843
|
declare const Breadcrumb: (props: BreadcrumbProps) => React__default.JSX.Element;
|
|
636
844
|
|
|
637
845
|
/**
|
|
638
|
-
* Enum for the
|
|
639
|
-
*/
|
|
640
|
-
type ActionType = 'Click' | 'Hover' | 'DoubleClick';
|
|
641
|
-
/**
|
|
642
|
-
* Enum for the overlay direction of the Popover.
|
|
643
|
-
*/
|
|
644
|
-
type OverlayDirectionEnum = 'Up' | 'Down' | 'Right' | 'Left';
|
|
645
|
-
/**
|
|
646
|
-
* Enum for the overlay alignment of the Popover.
|
|
647
|
-
*/
|
|
648
|
-
type OverlayAlignEnum = 'Start' | 'End' | 'Center';
|
|
649
|
-
/**
|
|
650
|
-
* Props for the content of the Popover.
|
|
846
|
+
* Enum for the alignment of the button-group.
|
|
651
847
|
*/
|
|
652
|
-
type
|
|
653
|
-
width?: CSSProperties['width'] | 'match-trigger';
|
|
654
|
-
minWidth?: CSSProperties['minWidth'] | 'match-trigger';
|
|
655
|
-
};
|
|
848
|
+
type ButtonGroupAlignEnum = 'Horizontal' | 'Vertical';
|
|
656
849
|
/**
|
|
657
|
-
*
|
|
850
|
+
* Enum for the type of the button-group.
|
|
658
851
|
*/
|
|
659
|
-
type
|
|
660
|
-
|
|
661
|
-
* Ref or Element for the Popover component to render in.
|
|
662
|
-
*/
|
|
663
|
-
container?: HTMLElement | React__default.RefObject<HTMLElement> | null;
|
|
664
|
-
/**
|
|
665
|
-
* The content to display in the Popover.
|
|
666
|
-
*/
|
|
667
|
-
content: ReactNode;
|
|
852
|
+
type ButtonGroupTypeEnum = 'Outlined' | 'Ghost';
|
|
853
|
+
type ButtonGroupProps = {
|
|
668
854
|
/**
|
|
669
|
-
* The
|
|
855
|
+
* The alignment of the button-group.
|
|
856
|
+
* @default 'Horizontal'
|
|
670
857
|
*/
|
|
671
|
-
|
|
858
|
+
align?: ButtonGroupAlignEnum;
|
|
672
859
|
/**
|
|
673
|
-
*
|
|
860
|
+
* Type of the button-group.
|
|
861
|
+
* @default 'Filled'
|
|
674
862
|
*/
|
|
675
|
-
|
|
863
|
+
type?: ButtonGroupTypeEnum;
|
|
676
864
|
/**
|
|
677
|
-
*
|
|
865
|
+
* The content to be displayed within the ButtonGroup.
|
|
678
866
|
*/
|
|
679
|
-
|
|
867
|
+
children: ReactNode | ReactNode[];
|
|
680
868
|
/**
|
|
681
|
-
*
|
|
869
|
+
* Additional class for styling.
|
|
682
870
|
*/
|
|
683
|
-
|
|
871
|
+
className?: string;
|
|
872
|
+
};
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* ButtonGroup component definition.
|
|
876
|
+
*/
|
|
877
|
+
declare const ButtonGroup: (props: ButtonGroupProps) => React__default.JSX.Element;
|
|
878
|
+
|
|
879
|
+
type CardProps = {
|
|
684
880
|
/**
|
|
685
|
-
*
|
|
686
|
-
* @default 'Down'
|
|
881
|
+
* The content to be displayed within the card.
|
|
687
882
|
*/
|
|
688
|
-
|
|
883
|
+
children: ReactNode;
|
|
689
884
|
/**
|
|
690
|
-
*
|
|
691
|
-
* @default true
|
|
692
|
-
*/
|
|
693
|
-
hideOnClickAway?: boolean;
|
|
694
|
-
/**
|
|
695
|
-
* Indicates if content should stay on item click.
|
|
696
|
-
* @default false
|
|
697
|
-
*/
|
|
698
|
-
keepContentOnItemClick?: boolean;
|
|
699
|
-
/**
|
|
700
|
-
* Indicates if the Popover is shown.
|
|
701
|
-
* @default false
|
|
702
|
-
*/
|
|
703
|
-
show?: boolean;
|
|
704
|
-
/**
|
|
705
|
-
* Action type to trigger the Popover.
|
|
706
|
-
* @default 'Click'
|
|
707
|
-
*/
|
|
708
|
-
action?: ActionType;
|
|
709
|
-
/**
|
|
710
|
-
* Alignment of the Popover.
|
|
711
|
-
* @default 'Center'
|
|
712
|
-
*/
|
|
713
|
-
alignment?: OverlayAlignEnum;
|
|
714
|
-
/**
|
|
715
|
-
* Props for the content of the Popover.
|
|
716
|
-
*/
|
|
717
|
-
contentProps?: ContentProps;
|
|
718
|
-
/**
|
|
719
|
-
* Indicates if the Popover is disabled.
|
|
720
|
-
* @default false
|
|
721
|
-
*/
|
|
722
|
-
disabled?: boolean;
|
|
723
|
-
/**
|
|
724
|
-
* Indicates if content should change placement to stay on the screen.
|
|
725
|
-
* @default false
|
|
726
|
-
*/
|
|
727
|
-
flip?: boolean;
|
|
728
|
-
/**
|
|
729
|
-
* Additional class for styling.
|
|
885
|
+
* Additional class for styling.
|
|
730
886
|
*/
|
|
731
887
|
className?: string;
|
|
732
|
-
/**
|
|
733
|
-
* Additional class for overlay container styling.
|
|
734
|
-
*/
|
|
735
|
-
overlayClassName?: string;
|
|
736
|
-
/**
|
|
737
|
-
* Position of the Popover.
|
|
738
|
-
* @default 'absolute'
|
|
739
|
-
*/
|
|
740
|
-
contentPosition?: 'absolute' | 'fixed';
|
|
741
|
-
};
|
|
742
|
-
type PopoverHandle = {
|
|
743
|
-
close: () => void;
|
|
744
|
-
open: () => void;
|
|
745
888
|
};
|
|
746
889
|
|
|
747
890
|
/**
|
|
748
|
-
*
|
|
891
|
+
* Card component definition.
|
|
749
892
|
*/
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
893
|
+
declare const Card: (props: CardProps) => React__default.JSX.Element;
|
|
894
|
+
|
|
895
|
+
/**
|
|
896
|
+
* Enum for the alignment of the list.
|
|
897
|
+
*
|
|
898
|
+
* @typedef {'Horizontal' | 'Vertical'} ListAlignEnum
|
|
899
|
+
*/
|
|
900
|
+
type ListAlignEnum = 'Horizontal' | 'Vertical';
|
|
901
|
+
/**
|
|
902
|
+
* Represents a generic list item.
|
|
903
|
+
*
|
|
904
|
+
* @property {string | number} [id] - A unique identifier for the list item. This is optional and can be auto-generated if not provided.
|
|
905
|
+
* @property {string} [itemClassName] - Additional class for styling the list item.
|
|
906
|
+
* @property {React.CSSProperties} [itemStyle] - Additional styles for the list item.
|
|
907
|
+
*/
|
|
908
|
+
type ListItemType = object & {
|
|
909
|
+
id?: string | number;
|
|
910
|
+
itemClassName?: string;
|
|
911
|
+
itemStyle?: React.CSSProperties;
|
|
912
|
+
};
|
|
913
|
+
/**
|
|
914
|
+
* Props for the list wrapper component.
|
|
915
|
+
*
|
|
916
|
+
* @template T - The type of the list items.
|
|
917
|
+
* @property {T[]} [data] - The data to be rendered in the list.
|
|
918
|
+
* @property {React.FC<any>} component - The React functional component used to render each list item.
|
|
919
|
+
* @property {(item: T, index: number) => string | number} [keyExtractor] - A function to extract unique keys for each item.
|
|
920
|
+
* @property {'Horizontal' | 'Vertical'} [align='Vertical'] - The alignment of the list. Defaults to `'Vertical'`.
|
|
921
|
+
* @property {boolean} [wrap] - Whether the list content should wrap.
|
|
922
|
+
* @property {string} [className] - Additional class for styling the list.
|
|
923
|
+
* @property {boolean} [sortable] - Whether the list items can be sorted using drag-and-drop.
|
|
924
|
+
* @property {Dispatch<SetStateAction<T[]>>} [updateSortOrder] - Callback function to update the order of the list items after sorting.
|
|
925
|
+
*/
|
|
926
|
+
type ListProps<T extends ListItemType> = Omit<HTMLAttributes<HTMLUListElement>, 'children'> & {
|
|
778
927
|
/**
|
|
779
|
-
*
|
|
780
|
-
* @default false
|
|
928
|
+
* The data to be rendered in the list.
|
|
781
929
|
*/
|
|
782
|
-
|
|
930
|
+
data?: T[];
|
|
783
931
|
/**
|
|
784
|
-
*
|
|
932
|
+
* The component used to render each item in the list.
|
|
785
933
|
*/
|
|
786
|
-
|
|
934
|
+
component: React.FC<any>;
|
|
787
935
|
/**
|
|
788
|
-
*
|
|
789
|
-
* @default 'Click'
|
|
936
|
+
* Function to extract keys.
|
|
790
937
|
*/
|
|
791
|
-
|
|
938
|
+
keyExtractor?: (item: T, index: number) => string | number;
|
|
792
939
|
/**
|
|
793
|
-
*
|
|
794
|
-
* @default
|
|
940
|
+
* The alignment of the list.
|
|
941
|
+
* @default 'Vertical'
|
|
795
942
|
*/
|
|
796
|
-
|
|
943
|
+
align?: ListAlignEnum;
|
|
797
944
|
/**
|
|
798
|
-
*
|
|
799
|
-
* @default false
|
|
945
|
+
* Flag to control if the content should wrap.
|
|
800
946
|
*/
|
|
801
|
-
|
|
947
|
+
wrap?: boolean;
|
|
802
948
|
/**
|
|
803
|
-
* Additional
|
|
949
|
+
* Additional class for styling.
|
|
804
950
|
*/
|
|
805
951
|
className?: string;
|
|
806
|
-
};
|
|
807
|
-
|
|
808
|
-
/**
|
|
809
|
-
* ContextMenu component that renders a popover menu.
|
|
810
|
-
*/
|
|
811
|
-
declare const ContextMenu: (props: ContextMenuProps) => React__default.JSX.Element;
|
|
812
|
-
|
|
813
|
-
/**
|
|
814
|
-
* Props for the MenuItem component.
|
|
815
|
-
*/
|
|
816
|
-
type MenuItemProps = HTMLAttributes<HTMLLIElement> & {
|
|
817
|
-
/**
|
|
818
|
-
* The content to be rendered inside the menu item.
|
|
819
|
-
*/
|
|
820
|
-
children: React.ReactNode;
|
|
821
952
|
/**
|
|
822
|
-
*
|
|
823
|
-
*/
|
|
824
|
-
key?: string;
|
|
825
|
-
/**
|
|
826
|
-
* Disables interaction with the menu item if `true`.
|
|
827
|
-
* @default false
|
|
953
|
+
* Flag to enable sorting of list items
|
|
828
954
|
*/
|
|
829
|
-
|
|
955
|
+
sortable?: boolean;
|
|
830
956
|
/**
|
|
831
|
-
*
|
|
832
|
-
*
|
|
957
|
+
* callback function to update the current order of data
|
|
958
|
+
*
|
|
959
|
+
* @param data
|
|
960
|
+
* @returns
|
|
833
961
|
*/
|
|
834
|
-
|
|
962
|
+
updateSortOrder?: Dispatch<SetStateAction<T[]>>;
|
|
835
963
|
};
|
|
836
964
|
|
|
837
965
|
/**
|
|
838
|
-
*
|
|
966
|
+
* A wrapper component that manages the rendering of either a sortable or regular list based on the provided props.
|
|
839
967
|
*
|
|
840
|
-
*
|
|
968
|
+
* @template T - The type of the list items.
|
|
969
|
+
* @param {ListProps<T>} props - The properties for the list wrapper.
|
|
970
|
+
* @returns {JSX.Element} The rendered list component.
|
|
841
971
|
*/
|
|
842
|
-
declare const
|
|
972
|
+
declare const List: <T extends ListItemType>(props: ListProps<T>) => React__default.JSX.Element;
|
|
973
|
+
|
|
974
|
+
type ContextMenuProps<T extends ListItemType> = ListProps<T>;
|
|
975
|
+
|
|
976
|
+
declare const ContextMenu: <T extends ListItemType>(props: ContextMenuProps<T>) => React__default.JSX.Element;
|
|
843
977
|
|
|
844
978
|
type DatePickerPosition = 'auto' | 'above' | 'below' | 'auto left' | 'auto center' | 'auto right' | 'above left' | 'above center' | 'above right' | 'below left' | 'below center' | 'below right';
|
|
845
979
|
type DatePickerProps = {
|
|
@@ -947,7 +1081,7 @@ declare const DatePicker: (props: DatePickerProps) => React__default.JSX.Element
|
|
|
947
1081
|
/**
|
|
948
1082
|
* Type representing the allowed values for form fields
|
|
949
1083
|
*/
|
|
950
|
-
type FieldValue = string | number | Date | boolean | Array<string | number | Date>;
|
|
1084
|
+
type FieldValue = string | number | Date | boolean | File | Array<string | number | Date | File>;
|
|
951
1085
|
/**
|
|
952
1086
|
* Type representing the form values as a partial record of field names to field values
|
|
953
1087
|
* @example
|
|
@@ -1180,6 +1314,25 @@ declare const useField: <T extends FieldValue = FieldValue>(props: UseFieldProps
|
|
|
1180
1314
|
|
|
1181
1315
|
declare const FormField: (props: FormFieldProviderProps & FormFieldProps) => React__default.JSX.Element;
|
|
1182
1316
|
|
|
1317
|
+
type GridProps = HTMLAttributes<HTMLDivElement> & {
|
|
1318
|
+
columns?: number;
|
|
1319
|
+
rows?: number;
|
|
1320
|
+
};
|
|
1321
|
+
type GridItemProps = HTMLAttributes<HTMLDivElement> & {
|
|
1322
|
+
columnSpan?: number;
|
|
1323
|
+
rowSpan?: number;
|
|
1324
|
+
};
|
|
1325
|
+
|
|
1326
|
+
declare const Grid: (props: GridProps) => React__default.JSX.Element;
|
|
1327
|
+
|
|
1328
|
+
declare const GridItem: (props: GridItemProps) => React$1.JSX.Element;
|
|
1329
|
+
|
|
1330
|
+
type GridListProps<T extends ListItemType> = Omit<ListProps<T>, 'style'> & {
|
|
1331
|
+
columns?: number;
|
|
1332
|
+
};
|
|
1333
|
+
|
|
1334
|
+
declare const GridList: <T extends ListItemType>(props: GridListProps<T>) => React__default.JSX.Element;
|
|
1335
|
+
|
|
1183
1336
|
/**
|
|
1184
1337
|
* Enum defining the possible sizes for the Modal component.
|
|
1185
1338
|
*/
|
|
@@ -1239,88 +1392,274 @@ type ModalProps = {
|
|
|
1239
1392
|
*/
|
|
1240
1393
|
declare const Modal: (props: ModalProps) => React__default.JSX.Element;
|
|
1241
1394
|
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
type
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
type
|
|
1251
|
-
type ProgressBarLabelType = "Percentage" | "Text";
|
|
1252
|
-
type ProgressBarProps = {
|
|
1253
|
-
/**
|
|
1254
|
-
* Current progress value
|
|
1255
|
-
* @default 0
|
|
1256
|
-
*/
|
|
1257
|
-
value: number;
|
|
1258
|
-
/**
|
|
1259
|
-
* Minimum value of the progress bar
|
|
1260
|
-
* @default 0
|
|
1261
|
-
*/
|
|
1262
|
-
min?: number;
|
|
1263
|
-
/**
|
|
1264
|
-
* Maximum value of the progress bar
|
|
1265
|
-
* @default 100
|
|
1266
|
-
*/
|
|
1267
|
-
max?: number;
|
|
1395
|
+
/**
|
|
1396
|
+
* Defines the type of modal footer layout.
|
|
1397
|
+
* @default "1 button"
|
|
1398
|
+
*/
|
|
1399
|
+
type ModalFooterTypeEnum = "1 button" | "2 buttons";
|
|
1400
|
+
/**
|
|
1401
|
+
* Props for the ModalFooter component.
|
|
1402
|
+
*/
|
|
1403
|
+
type ModalFooterProps = Omit<HTMLAttributes<HTMLDivElement>, 'style'> & {
|
|
1268
1404
|
/**
|
|
1269
|
-
*
|
|
1270
|
-
* @default "
|
|
1405
|
+
* Determines whether the footer contains one or two buttons.
|
|
1406
|
+
* @default "1 button"
|
|
1271
1407
|
*/
|
|
1272
|
-
|
|
1408
|
+
type?: ModalFooterTypeEnum;
|
|
1273
1409
|
/**
|
|
1274
|
-
*
|
|
1410
|
+
* The primary button element.
|
|
1275
1411
|
*/
|
|
1276
|
-
|
|
1412
|
+
primaryButton?: ReactNode;
|
|
1277
1413
|
/**
|
|
1278
|
-
*
|
|
1414
|
+
* The secondary button element (only applicable when type is "2 buttons").
|
|
1279
1415
|
*/
|
|
1280
|
-
|
|
1416
|
+
secondaryButton?: ReactNode;
|
|
1281
1417
|
/**
|
|
1282
|
-
* Additional class for styling
|
|
1418
|
+
* Additional class for styling.
|
|
1283
1419
|
*/
|
|
1284
1420
|
className?: string;
|
|
1285
1421
|
};
|
|
1286
1422
|
|
|
1287
|
-
declare const ProgressBar: React__default.FC<ProgressBarProps>;
|
|
1288
|
-
|
|
1289
1423
|
/**
|
|
1290
|
-
*
|
|
1291
|
-
* It can be triggered via different user actions like 'Click' or 'Hover'.
|
|
1424
|
+
* Modal Footer component for displaying footer actions in a modal.
|
|
1292
1425
|
*/
|
|
1293
|
-
declare const
|
|
1426
|
+
declare const ModalFooter: React__default.FC<ModalFooterProps>;
|
|
1294
1427
|
|
|
1295
1428
|
/**
|
|
1296
|
-
* Props for the
|
|
1297
|
-
* Represents an option within a Select component.
|
|
1429
|
+
* Props for the ModalHeader component.
|
|
1298
1430
|
*/
|
|
1299
|
-
type
|
|
1300
|
-
/**
|
|
1301
|
-
* Value associated with the option.
|
|
1302
|
-
*/
|
|
1303
|
-
value: string | number;
|
|
1304
|
-
/**
|
|
1305
|
-
* Indicates if the option is disabled.
|
|
1306
|
-
* @default false
|
|
1307
|
-
*/
|
|
1308
|
-
disabled?: boolean;
|
|
1431
|
+
type ModalHeaderProps = {
|
|
1309
1432
|
/**
|
|
1310
|
-
*
|
|
1433
|
+
* The title to be displayed in the header.
|
|
1311
1434
|
*/
|
|
1312
|
-
|
|
1435
|
+
title?: string;
|
|
1313
1436
|
/**
|
|
1314
|
-
*
|
|
1437
|
+
* An optional icon button to display in the header.
|
|
1315
1438
|
*/
|
|
1316
|
-
|
|
1439
|
+
iconButton?: ReactNode;
|
|
1317
1440
|
/**
|
|
1318
|
-
* Additional CSS class names
|
|
1441
|
+
* Additional CSS class names to apply to the modal header.
|
|
1319
1442
|
*/
|
|
1320
1443
|
className?: string;
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1444
|
+
};
|
|
1445
|
+
|
|
1446
|
+
/**
|
|
1447
|
+
* Modal Header component definition.
|
|
1448
|
+
*/
|
|
1449
|
+
declare const ModalHeader: (props: ModalHeaderProps) => React__default.JSX.Element;
|
|
1450
|
+
|
|
1451
|
+
type NavProps = HTMLAttributes<HTMLElement> & {};
|
|
1452
|
+
|
|
1453
|
+
declare const Nav: (props: NavProps) => React__default.JSX.Element;
|
|
1454
|
+
|
|
1455
|
+
type NavItemProps = LiHTMLAttributes<HTMLElement> & {};
|
|
1456
|
+
|
|
1457
|
+
declare const NavItem: (props: NavItemProps) => React__default.JSX.Element;
|
|
1458
|
+
|
|
1459
|
+
type PaginationProps = {
|
|
1460
|
+
className?: string;
|
|
1461
|
+
currentPage?: number;
|
|
1462
|
+
totalPages?: number;
|
|
1463
|
+
updateCurrentPage?: (page: number) => void;
|
|
1464
|
+
previousPageIcon?: React.ReactNode;
|
|
1465
|
+
nextPageIcon?: React.ReactNode;
|
|
1466
|
+
};
|
|
1467
|
+
|
|
1468
|
+
declare const Pagination: (props: PaginationProps) => React$1.JSX.Element;
|
|
1469
|
+
|
|
1470
|
+
type PaginationNumberFieldProps = {
|
|
1471
|
+
className?: string;
|
|
1472
|
+
page?: number;
|
|
1473
|
+
totalPages?: number;
|
|
1474
|
+
onPageChanged?: (page: number) => void;
|
|
1475
|
+
};
|
|
1476
|
+
|
|
1477
|
+
declare const PaginationNumberField: (props: PaginationNumberFieldProps) => React$1.JSX.Element;
|
|
1478
|
+
|
|
1479
|
+
/**
|
|
1480
|
+
* Enum for the action type of the Popover.
|
|
1481
|
+
*/
|
|
1482
|
+
type ActionType = 'Click' | 'Hover' | 'DoubleClick';
|
|
1483
|
+
/**
|
|
1484
|
+
* Enum for the overlay direction of the Popover.
|
|
1485
|
+
*/
|
|
1486
|
+
type OverlayDirectionEnum = 'Up' | 'Down' | 'Right' | 'Left';
|
|
1487
|
+
/**
|
|
1488
|
+
* Enum for the overlay alignment of the Popover.
|
|
1489
|
+
*/
|
|
1490
|
+
type OverlayAlignEnum = 'Start' | 'End' | 'Center';
|
|
1491
|
+
/**
|
|
1492
|
+
* Props for the content of the Popover.
|
|
1493
|
+
*/
|
|
1494
|
+
type ContentProps = {
|
|
1495
|
+
width?: CSSProperties['width'] | 'match-trigger';
|
|
1496
|
+
minWidth?: CSSProperties['minWidth'] | 'match-trigger';
|
|
1497
|
+
};
|
|
1498
|
+
/**
|
|
1499
|
+
* Props for the Popover component.
|
|
1500
|
+
*/
|
|
1501
|
+
type PopoverProps = {
|
|
1502
|
+
/**
|
|
1503
|
+
* Ref or Element for the Popover component to render in.
|
|
1504
|
+
*/
|
|
1505
|
+
container?: HTMLElement | React__default.RefObject<HTMLElement> | null;
|
|
1506
|
+
/**
|
|
1507
|
+
* The content to display in the Popover.
|
|
1508
|
+
*/
|
|
1509
|
+
content: ReactNode;
|
|
1510
|
+
/**
|
|
1511
|
+
* The target element for the Popover.
|
|
1512
|
+
*/
|
|
1513
|
+
target: ReactNode;
|
|
1514
|
+
/**
|
|
1515
|
+
* Offset for positioning the Popover.
|
|
1516
|
+
*/
|
|
1517
|
+
offset?: Offset;
|
|
1518
|
+
/**
|
|
1519
|
+
* Function to handle hiding the Popover.
|
|
1520
|
+
*/
|
|
1521
|
+
onHide?: () => void;
|
|
1522
|
+
/**
|
|
1523
|
+
* Function to handle hiding the Popover.
|
|
1524
|
+
*/
|
|
1525
|
+
onOpen?: () => void;
|
|
1526
|
+
/**
|
|
1527
|
+
* Direction in which the Popover should open.
|
|
1528
|
+
* @default 'Down'
|
|
1529
|
+
*/
|
|
1530
|
+
direction?: OverlayDirectionEnum;
|
|
1531
|
+
/**
|
|
1532
|
+
* Indicates if Popover should hide on click away.
|
|
1533
|
+
* @default true
|
|
1534
|
+
*/
|
|
1535
|
+
hideOnClickAway?: boolean;
|
|
1536
|
+
/**
|
|
1537
|
+
* Indicates if content should stay on item click.
|
|
1538
|
+
* @default false
|
|
1539
|
+
*/
|
|
1540
|
+
keepContentOnItemClick?: boolean;
|
|
1541
|
+
/**
|
|
1542
|
+
* Indicates if the Popover is shown.
|
|
1543
|
+
* @default false
|
|
1544
|
+
*/
|
|
1545
|
+
show?: boolean;
|
|
1546
|
+
/**
|
|
1547
|
+
* Action type to trigger the Popover.
|
|
1548
|
+
* @default 'Click'
|
|
1549
|
+
*/
|
|
1550
|
+
action?: ActionType;
|
|
1551
|
+
/**
|
|
1552
|
+
* Alignment of the Popover.
|
|
1553
|
+
* @default 'Center'
|
|
1554
|
+
*/
|
|
1555
|
+
alignment?: OverlayAlignEnum;
|
|
1556
|
+
/**
|
|
1557
|
+
* Props for the content of the Popover.
|
|
1558
|
+
*/
|
|
1559
|
+
contentProps?: ContentProps;
|
|
1560
|
+
/**
|
|
1561
|
+
* Indicates if the Popover is disabled.
|
|
1562
|
+
* @default false
|
|
1563
|
+
*/
|
|
1564
|
+
disabled?: boolean;
|
|
1565
|
+
/**
|
|
1566
|
+
* Indicates if content should change placement to stay on the screen.
|
|
1567
|
+
* @default false
|
|
1568
|
+
*/
|
|
1569
|
+
flip?: boolean;
|
|
1570
|
+
/**
|
|
1571
|
+
* Additional class for styling.
|
|
1572
|
+
*/
|
|
1573
|
+
className?: string;
|
|
1574
|
+
/**
|
|
1575
|
+
* Additional class for overlay container styling.
|
|
1576
|
+
*/
|
|
1577
|
+
overlayClassName?: string;
|
|
1578
|
+
/**
|
|
1579
|
+
* Position of the Popover.
|
|
1580
|
+
* @default 'absolute'
|
|
1581
|
+
*/
|
|
1582
|
+
contentPosition?: 'absolute' | 'fixed';
|
|
1583
|
+
};
|
|
1584
|
+
type PopoverHandle = {
|
|
1585
|
+
close: () => void;
|
|
1586
|
+
open: () => void;
|
|
1587
|
+
};
|
|
1588
|
+
|
|
1589
|
+
/**
|
|
1590
|
+
* Popover component that displays a floating content element in relation to a target element.
|
|
1591
|
+
* It can be triggered via different user actions like 'Click' or 'Hover'.
|
|
1592
|
+
*/
|
|
1593
|
+
declare const Popover: React__default.ForwardRefExoticComponent<PopoverProps & React__default.RefAttributes<PopoverHandle>>;
|
|
1594
|
+
|
|
1595
|
+
type ProgressBarOrientation = "Horizontal" | "Vertical";
|
|
1596
|
+
type ProgressBarLabelType = "Percentage" | "Text";
|
|
1597
|
+
type ProgressBarProps = {
|
|
1598
|
+
/**
|
|
1599
|
+
* Current progress value
|
|
1600
|
+
* @default 0
|
|
1601
|
+
*/
|
|
1602
|
+
value: number;
|
|
1603
|
+
/**
|
|
1604
|
+
* Minimum value of the progress bar
|
|
1605
|
+
* @default 0
|
|
1606
|
+
*/
|
|
1607
|
+
min?: number;
|
|
1608
|
+
/**
|
|
1609
|
+
* Maximum value of the progress bar
|
|
1610
|
+
* @default 100
|
|
1611
|
+
*/
|
|
1612
|
+
max?: number;
|
|
1613
|
+
/**
|
|
1614
|
+
* Defines the orientation of the progress bar
|
|
1615
|
+
* @default "horizontal"
|
|
1616
|
+
*/
|
|
1617
|
+
orientation?: ProgressBarOrientation;
|
|
1618
|
+
/**
|
|
1619
|
+
* Determines if and how the label is displayed
|
|
1620
|
+
*/
|
|
1621
|
+
showLabel?: ProgressBarLabelType;
|
|
1622
|
+
/**
|
|
1623
|
+
* Custom label to be displayed when `showLabel` is set to "Text"
|
|
1624
|
+
*/
|
|
1625
|
+
label?: React.ReactNode;
|
|
1626
|
+
/**
|
|
1627
|
+
* Additional class for styling
|
|
1628
|
+
*/
|
|
1629
|
+
className?: string;
|
|
1630
|
+
};
|
|
1631
|
+
|
|
1632
|
+
declare const ProgressBar: React__default.FC<ProgressBarProps>;
|
|
1633
|
+
|
|
1634
|
+
/**
|
|
1635
|
+
* Props for the Option component, extending LiHTMLAttributes<HTMLLIElement>.
|
|
1636
|
+
* Represents an option within a Select component.
|
|
1637
|
+
*/
|
|
1638
|
+
type OptionProps = LiHTMLAttributes<HTMLLIElement> & {
|
|
1639
|
+
/**
|
|
1640
|
+
* Value associated with the option.
|
|
1641
|
+
*/
|
|
1642
|
+
value: string | number;
|
|
1643
|
+
/**
|
|
1644
|
+
* Indicates if the option is disabled.
|
|
1645
|
+
* @default false
|
|
1646
|
+
*/
|
|
1647
|
+
disabled?: boolean;
|
|
1648
|
+
/**
|
|
1649
|
+
* Icon to be displayed before the option content.
|
|
1650
|
+
*/
|
|
1651
|
+
leadingIcon?: ReactNode;
|
|
1652
|
+
/**
|
|
1653
|
+
* Icon to be displayed after the option content.
|
|
1654
|
+
*/
|
|
1655
|
+
trailingIcon?: ReactNode;
|
|
1656
|
+
/**
|
|
1657
|
+
* Additional CSS class names for custom styling.
|
|
1658
|
+
*/
|
|
1659
|
+
className?: string;
|
|
1660
|
+
/**
|
|
1661
|
+
* Children elements or text content of the option.
|
|
1662
|
+
*/
|
|
1324
1663
|
children?: ReactNode;
|
|
1325
1664
|
};
|
|
1326
1665
|
|
|
@@ -1492,60 +1831,141 @@ declare const SelectProvider: ({ children, value, defaultValue, multiple, disabl
|
|
|
1492
1831
|
*/
|
|
1493
1832
|
declare const Select: (props: SelectProps) => JSX.Element;
|
|
1494
1833
|
|
|
1495
|
-
|
|
1834
|
+
/**
|
|
1835
|
+
* Dropzone component props
|
|
1836
|
+
* @param initial React.ReactNode - The initial state of the dropzone.
|
|
1837
|
+
* @param uploading React.ReactNode - The uploading state of the dropzone.
|
|
1838
|
+
* @param uploaded React.ReactNode - The uploaded state of the dropzone.
|
|
1839
|
+
* @param accept { [key: string]: readonly string[] } - The accepted file types.
|
|
1840
|
+
* @param maxSize number - The maximum size of the file in bytes.
|
|
1841
|
+
* @param maxFiles number - The maximum number of files to upload.
|
|
1842
|
+
* @param onFilesUpload (file: File) => void - callback when files are selected
|
|
1843
|
+
* @param onFilesReset () => void - callback when files are reset
|
|
1844
|
+
*/
|
|
1845
|
+
type DropzoneProps = {
|
|
1496
1846
|
/**
|
|
1497
|
-
* The
|
|
1498
|
-
* @remarks
|
|
1499
|
-
* This is used for determining which tab is selected.
|
|
1500
|
-
* The value from TabContent will be compared to the value from TabItem.
|
|
1501
|
-
* @example
|
|
1502
|
-
* 1
|
|
1503
|
-
* "One"
|
|
1847
|
+
* The initial state of the dropzone.
|
|
1504
1848
|
*/
|
|
1505
|
-
|
|
1849
|
+
initial?: React.ReactNode;
|
|
1506
1850
|
/**
|
|
1507
|
-
* The
|
|
1851
|
+
* The uploading state of the dropzone.
|
|
1508
1852
|
*/
|
|
1509
|
-
|
|
1853
|
+
uploading?: React.ReactNode;
|
|
1510
1854
|
/**
|
|
1511
|
-
* The
|
|
1855
|
+
* The uploaded state of the dropzone.
|
|
1512
1856
|
*/
|
|
1513
|
-
|
|
1514
|
-
}
|
|
1515
|
-
|
|
1516
|
-
declare const TabContent: (props: TabContentProps) => React__default.JSX.Element;
|
|
1517
|
-
|
|
1518
|
-
type TabItemStyleEnum = 'Filled' | 'Underlined';
|
|
1519
|
-
type TabItemProps = Omit<ButtonProps, 'actionType' | 'appearance' | 'size' | 'style' | 'type'> & {
|
|
1857
|
+
uploaded?: React.ReactNode;
|
|
1520
1858
|
/**
|
|
1521
|
-
* The
|
|
1522
|
-
* @remarks
|
|
1523
|
-
* This is used for determining which tab is selected.
|
|
1524
|
-
* The value from TabContent will be compared to the value from TabItem.
|
|
1859
|
+
* The accepted file types based on mime type.
|
|
1525
1860
|
* @example
|
|
1526
|
-
*
|
|
1527
|
-
*
|
|
1861
|
+
* accept={{
|
|
1862
|
+
* 'image/*': ['.jpg', '.jpeg', '.png', '.gif', '.bmp', '.tiff', '.ico', '.webp'],
|
|
1863
|
+
* }}
|
|
1528
1864
|
*/
|
|
1529
|
-
|
|
1865
|
+
accept?: {
|
|
1866
|
+
[key: string]: readonly string[];
|
|
1867
|
+
};
|
|
1530
1868
|
/**
|
|
1531
|
-
* The
|
|
1532
|
-
* @remarks
|
|
1533
|
-
* True means that this tab will be displayed initially
|
|
1869
|
+
* The maximum size of the file in bytes.
|
|
1534
1870
|
*/
|
|
1535
|
-
|
|
1871
|
+
maxSize?: number;
|
|
1536
1872
|
/**
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1873
|
+
* The maximum number of files to upload.
|
|
1874
|
+
* @default 1
|
|
1875
|
+
*/
|
|
1876
|
+
maxFiles?: number;
|
|
1877
|
+
disabled?: boolean;
|
|
1878
|
+
required?: boolean;
|
|
1879
|
+
/**
|
|
1880
|
+
* callback when files are selected
|
|
1881
|
+
*/
|
|
1882
|
+
onFilesSelected?: (files: File[]) => Promise<void> | void;
|
|
1883
|
+
/**
|
|
1884
|
+
* callback when files are reset
|
|
1885
|
+
*/
|
|
1886
|
+
onFilesReset?: () => void;
|
|
1541
1887
|
};
|
|
1888
|
+
/**
|
|
1889
|
+
* Dropzone context type
|
|
1890
|
+
* @param status 'initial' | 'uploading' | 'uploaded' - The status of the dropzone.
|
|
1891
|
+
* @param file File | null - The file of the dropzone.
|
|
1892
|
+
* @param selectFile () => void - The function to call when the file is selected.
|
|
1893
|
+
* @param resetUpload () => void - The function to call when the file is reset.
|
|
1894
|
+
*/
|
|
1895
|
+
type DropzoneContextType = {
|
|
1896
|
+
/**
|
|
1897
|
+
* The status of the dropzone.
|
|
1898
|
+
*/
|
|
1899
|
+
status: 'initial' | 'uploading' | 'uploaded';
|
|
1900
|
+
/**
|
|
1901
|
+
* The files of the dropzone.
|
|
1902
|
+
*/
|
|
1903
|
+
files: File[];
|
|
1904
|
+
/**
|
|
1905
|
+
* The accepted file types based on mime type.
|
|
1906
|
+
* @example
|
|
1907
|
+
* accept={{
|
|
1908
|
+
* 'image/*': ['.jpg', '.jpeg', '.png', '.gif', '.bmp', '.tiff', '.ico', '.webp'],
|
|
1909
|
+
* }}
|
|
1910
|
+
*/
|
|
1911
|
+
accept: {
|
|
1912
|
+
[key: string]: readonly string[];
|
|
1913
|
+
};
|
|
1914
|
+
/**
|
|
1915
|
+
* The function to call to open the file dialog.
|
|
1916
|
+
*/
|
|
1917
|
+
selectFiles: () => void;
|
|
1918
|
+
/**
|
|
1919
|
+
* The function to call to reset the files.
|
|
1920
|
+
*/
|
|
1921
|
+
resetFiles: () => void;
|
|
1922
|
+
children?: ReactNode;
|
|
1923
|
+
};
|
|
1924
|
+
type DropzoneTriggerProps = ButtonProps;
|
|
1925
|
+
type DropzoneSupportedFormatsProps = TextProps;
|
|
1926
|
+
type DropzoneClearProps = IconButtonProps;
|
|
1927
|
+
type DropzoneFilenameProps = TextProps & {
|
|
1928
|
+
/**
|
|
1929
|
+
* The index of the file in the files array.
|
|
1930
|
+
* @default 0
|
|
1931
|
+
*/
|
|
1932
|
+
fileIndex?: number;
|
|
1933
|
+
};
|
|
1934
|
+
|
|
1935
|
+
declare const Dropzone: (props: DropzoneProps) => React__default.JSX.Element;
|
|
1936
|
+
declare const useDropzoneContext: () => DropzoneContextType;
|
|
1937
|
+
|
|
1938
|
+
declare const DropzoneClear: (props: DropzoneClearProps) => React__default.JSX.Element;
|
|
1939
|
+
|
|
1940
|
+
declare const DropzoneFilename: ({ children, fileIndex, ...props }: DropzoneFilenameProps) => React__default.JSX.Element;
|
|
1941
|
+
|
|
1942
|
+
declare const DropzoneSupportedFormats: (props: DropzoneSupportedFormatsProps) => React__default.JSX.Element;
|
|
1943
|
+
|
|
1944
|
+
declare const DropzoneTrigger: (props: DropzoneTriggerProps) => React__default.JSX.Element;
|
|
1945
|
+
|
|
1946
|
+
type DropzoneContentTypeEnum = 'Empty' | 'Uploaded' | 'Loading';
|
|
1947
|
+
type DropzoneContentProps = {
|
|
1948
|
+
className?: string;
|
|
1949
|
+
type: DropzoneContentTypeEnum;
|
|
1950
|
+
};
|
|
1951
|
+
|
|
1952
|
+
declare const DropzoneContent: (props: DropzoneContentProps) => React$1.JSX.Element;
|
|
1953
|
+
|
|
1954
|
+
declare const Form: <T extends FormState>(props: FormProviderProps<T> & FormProps) => React__default.JSX.Element;
|
|
1955
|
+
|
|
1956
|
+
type TableProps = TableHTMLAttributes<HTMLTableElement> & {
|
|
1957
|
+
/**
|
|
1958
|
+
* Whether the table header should stick to the top when scrolling
|
|
1959
|
+
*/
|
|
1960
|
+
stickyHeader?: boolean;
|
|
1961
|
+
};
|
|
1962
|
+
|
|
1963
|
+
declare const Table: (props: TableProps) => React__default.JSX.Element;
|
|
1964
|
+
|
|
1965
|
+
type TableRowProps = HTMLAttributes<HTMLTableRowElement>;
|
|
1966
|
+
|
|
1967
|
+
declare const TableRow: (props: TableRowProps) => React__default.JSX.Element;
|
|
1542
1968
|
|
|
1543
|
-
declare const TabItem: (props: TabItemProps) => React__default.JSX.Element;
|
|
1544
|
-
|
|
1545
|
-
type TableBodyProps = HTMLAttributes<HTMLTableSectionElement>;
|
|
1546
|
-
|
|
1547
|
-
declare const TableBody: (props: TableBodyProps) => React__default.JSX.Element;
|
|
1548
|
-
|
|
1549
1969
|
type TableCellProps = TdHTMLAttributes<HTMLTableCellElement>;
|
|
1550
1970
|
|
|
1551
1971
|
declare const TableCell: (props: TableCellProps) => React__default.JSX.Element;
|
|
@@ -1554,9 +1974,9 @@ type TableHeaderProps = HTMLAttributes<HTMLTableSectionElement>;
|
|
|
1554
1974
|
|
|
1555
1975
|
declare const TableHeader: (props: TableHeaderProps) => React__default.JSX.Element;
|
|
1556
1976
|
|
|
1557
|
-
type
|
|
1977
|
+
type TableBodyProps = HTMLAttributes<HTMLTableSectionElement>;
|
|
1558
1978
|
|
|
1559
|
-
declare const
|
|
1979
|
+
declare const TableBody: (props: TableBodyProps) => React__default.JSX.Element;
|
|
1560
1980
|
|
|
1561
1981
|
type TabsStyleEnum = 'Filled' | 'Underlined';
|
|
1562
1982
|
type TabsTypeEnum = 'Horizontal' | 'Vertical';
|
|
@@ -1626,275 +2046,55 @@ declare const useTab: () => TabContextType;
|
|
|
1626
2046
|
|
|
1627
2047
|
declare const Tabs: (props: TabsProps) => React__default.JSX.Element;
|
|
1628
2048
|
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
*
|
|
1632
|
-
* @typedef {'Horizontal' | 'Vertical'} ListAlignEnum
|
|
1633
|
-
*/
|
|
1634
|
-
type ListAlignEnum = 'Horizontal' | 'Vertical';
|
|
1635
|
-
/**
|
|
1636
|
-
* Represents a generic list item.
|
|
1637
|
-
*
|
|
1638
|
-
* @property {string | number} [id] - A unique identifier for the list item. This is optional and can be auto-generated if not provided.
|
|
1639
|
-
* @property {string} [itemClassName] - Additional class for styling the list item.
|
|
1640
|
-
* @property {React.CSSProperties} [itemStyle] - Additional styles for the list item.
|
|
1641
|
-
*/
|
|
1642
|
-
type ListItemType = object & {
|
|
1643
|
-
id?: string | number;
|
|
1644
|
-
itemClassName?: string;
|
|
1645
|
-
itemStyle?: React.CSSProperties;
|
|
1646
|
-
};
|
|
1647
|
-
/**
|
|
1648
|
-
* Props for the list wrapper component.
|
|
1649
|
-
*
|
|
1650
|
-
* @template T - The type of the list items.
|
|
1651
|
-
* @property {T[]} [data] - The data to be rendered in the list.
|
|
1652
|
-
* @property {React.FC<any>} component - The React functional component used to render each list item.
|
|
1653
|
-
* @property {(item: T, index: number) => string | number} [keyExtractor] - A function to extract unique keys for each item.
|
|
1654
|
-
* @property {'Horizontal' | 'Vertical'} [align='Vertical'] - The alignment of the list. Defaults to `'Vertical'`.
|
|
1655
|
-
* @property {boolean} [wrap] - Whether the list content should wrap.
|
|
1656
|
-
* @property {string} [className] - Additional class for styling the list.
|
|
1657
|
-
* @property {boolean} [sortable] - Whether the list items can be sorted using drag-and-drop.
|
|
1658
|
-
* @property {Dispatch<SetStateAction<T[]>>} [updateSortOrder] - Callback function to update the order of the list items after sorting.
|
|
1659
|
-
*/
|
|
1660
|
-
type ListProps<T extends ListItemType> = Omit<HTMLAttributes<HTMLUListElement>, 'children'> & {
|
|
1661
|
-
/**
|
|
1662
|
-
* The data to be rendered in the list.
|
|
1663
|
-
*/
|
|
1664
|
-
data?: T[];
|
|
1665
|
-
/**
|
|
1666
|
-
* The component used to render each item in the list.
|
|
1667
|
-
*/
|
|
1668
|
-
component: React.FC<any>;
|
|
1669
|
-
/**
|
|
1670
|
-
* Function to extract keys.
|
|
1671
|
-
*/
|
|
1672
|
-
keyExtractor?: (item: T, index: number) => string | number;
|
|
1673
|
-
/**
|
|
1674
|
-
* The alignment of the list.
|
|
1675
|
-
* @default 'Vertical'
|
|
1676
|
-
*/
|
|
1677
|
-
align?: ListAlignEnum;
|
|
1678
|
-
/**
|
|
1679
|
-
* Flag to control if the content should wrap.
|
|
1680
|
-
*/
|
|
1681
|
-
wrap?: boolean;
|
|
1682
|
-
/**
|
|
1683
|
-
* Additional class for styling.
|
|
1684
|
-
*/
|
|
1685
|
-
className?: string;
|
|
1686
|
-
/**
|
|
1687
|
-
* Flag to enable sorting of list items
|
|
1688
|
-
*/
|
|
1689
|
-
sortable?: boolean;
|
|
1690
|
-
/**
|
|
1691
|
-
* callback function to update the current order of data
|
|
1692
|
-
*
|
|
1693
|
-
* @param data
|
|
1694
|
-
* @returns
|
|
1695
|
-
*/
|
|
1696
|
-
updateSortOrder?: Dispatch<SetStateAction<T[]>>;
|
|
1697
|
-
};
|
|
1698
|
-
|
|
1699
|
-
/**
|
|
1700
|
-
* A wrapper component that manages the rendering of either a sortable or regular list based on the provided props.
|
|
1701
|
-
*
|
|
1702
|
-
* @template T - The type of the list items.
|
|
1703
|
-
* @param {ListProps<T>} props - The properties for the list wrapper.
|
|
1704
|
-
* @returns {JSX.Element} The rendered list component.
|
|
1705
|
-
*/
|
|
1706
|
-
declare const List: <T extends ListItemType>(props: ListProps<T>) => React__default.JSX.Element;
|
|
1707
|
-
|
|
1708
|
-
type ActionCardProps = HTMLAttributes<HTMLDivElement> & Omit<LinkProps, 'to'> & {
|
|
1709
|
-
/**
|
|
1710
|
-
* The content to be displayed within the action card.
|
|
1711
|
-
*/
|
|
1712
|
-
children: ReactNode;
|
|
1713
|
-
/**
|
|
1714
|
-
* Specifies if the action card is disabled.
|
|
1715
|
-
* @default false
|
|
1716
|
-
*/
|
|
1717
|
-
disabled?: boolean;
|
|
1718
|
-
/**
|
|
1719
|
-
* Additional class for styling.
|
|
1720
|
-
*/
|
|
1721
|
-
className?: string;
|
|
2049
|
+
type TabItemStyleEnum = 'Filled' | 'Underlined';
|
|
2050
|
+
type TabItemProps = Omit<ButtonProps, 'actionType' | 'appearance' | 'size' | 'style' | 'type'> & {
|
|
1722
2051
|
/**
|
|
1723
|
-
* The
|
|
1724
|
-
*
|
|
1725
|
-
*
|
|
1726
|
-
*
|
|
2052
|
+
* The tabs value.
|
|
2053
|
+
* @remarks
|
|
2054
|
+
* This is used for determining which tab is selected.
|
|
2055
|
+
* The value from TabContent will be compared to the value from TabItem.
|
|
1727
2056
|
* @example
|
|
1728
|
-
*
|
|
1729
|
-
*
|
|
1730
|
-
*
|
|
1731
|
-
* // External link
|
|
1732
|
-
* <NavLink to="https://www.example.com">External</NavLink>
|
|
1733
|
-
*/
|
|
1734
|
-
to?: string | -1;
|
|
1735
|
-
};
|
|
1736
|
-
|
|
1737
|
-
/**
|
|
1738
|
-
* ActionCard component definition.
|
|
1739
|
-
*/
|
|
1740
|
-
declare const ActionCard: (props: ActionCardProps) => React__default.JSX.Element;
|
|
1741
|
-
|
|
1742
|
-
type CardProps = {
|
|
1743
|
-
/**
|
|
1744
|
-
* The content to be displayed within the card.
|
|
1745
|
-
*/
|
|
1746
|
-
children: ReactNode;
|
|
1747
|
-
/**
|
|
1748
|
-
* Additional class for styling.
|
|
1749
|
-
*/
|
|
1750
|
-
className?: string;
|
|
1751
|
-
};
|
|
1752
|
-
|
|
1753
|
-
/**
|
|
1754
|
-
* Card component definition.
|
|
1755
|
-
*/
|
|
1756
|
-
declare const Card: (props: CardProps) => React__default.JSX.Element;
|
|
1757
|
-
|
|
1758
|
-
type GridListProps<T extends ListItemType> = Omit<ListProps<T>, 'style'> & {
|
|
1759
|
-
columns?: number;
|
|
1760
|
-
};
|
|
1761
|
-
|
|
1762
|
-
declare const GridList: <T extends ListItemType>(props: GridListProps<T>) => React__default.JSX.Element;
|
|
1763
|
-
|
|
1764
|
-
type GridProps = HTMLAttributes<HTMLDivElement> & {
|
|
1765
|
-
columns?: number;
|
|
1766
|
-
rows?: number;
|
|
1767
|
-
};
|
|
1768
|
-
type GridItemProps = HTMLAttributes<HTMLDivElement> & {
|
|
1769
|
-
columnSpan?: number;
|
|
1770
|
-
rowSpan?: number;
|
|
1771
|
-
};
|
|
1772
|
-
|
|
1773
|
-
declare const Grid: (props: GridProps) => React__default.JSX.Element;
|
|
1774
|
-
|
|
1775
|
-
declare const GridItem: (props: GridItemProps) => React$1.JSX.Element;
|
|
1776
|
-
|
|
1777
|
-
type AccordionSummaryProps = {
|
|
1778
|
-
children: ReactNode;
|
|
1779
|
-
className?: string;
|
|
1780
|
-
/**
|
|
1781
|
-
* Custom expand/collapse icon element to override the default icon.
|
|
1782
|
-
* It will rotate 90 degrees clockwise when the accordion is expanded.
|
|
1783
|
-
*/
|
|
1784
|
-
expandIcon?: ReactNode;
|
|
1785
|
-
};
|
|
1786
|
-
type AccordionDetailsProps = {
|
|
1787
|
-
/**
|
|
1788
|
-
* The content to be displayed in the accordion details section.
|
|
1789
|
-
*/
|
|
1790
|
-
children: ReactNode;
|
|
1791
|
-
/**
|
|
1792
|
-
* Optional CSS class name for custom styling.
|
|
1793
|
-
*/
|
|
1794
|
-
className?: string;
|
|
1795
|
-
};
|
|
1796
|
-
type AccordionProps = {
|
|
1797
|
-
children: ReactNode;
|
|
1798
|
-
className?: string;
|
|
1799
|
-
/**
|
|
1800
|
-
* Whether the accordion is expanded by default.
|
|
1801
|
-
* @default false
|
|
1802
|
-
*/
|
|
1803
|
-
defaultExpanded?: boolean;
|
|
1804
|
-
/**
|
|
1805
|
-
* Controls the expanded state when using controlled mode.
|
|
1806
|
-
* Use this prop along with onChange for controlled behavior.
|
|
1807
|
-
*/
|
|
1808
|
-
expanded?: boolean;
|
|
1809
|
-
/**
|
|
1810
|
-
* Callback function when the accordion is expanded/collapsed.
|
|
1811
|
-
* @param isOpen - The new expanded state of the accordion.
|
|
1812
|
-
*/
|
|
1813
|
-
onChange?: (isOpen: boolean) => void;
|
|
1814
|
-
/**
|
|
1815
|
-
* Unique identifier for the accordion.
|
|
1816
|
-
* This is used to identify the accordion in the group.
|
|
1817
|
-
*/
|
|
1818
|
-
name?: string;
|
|
1819
|
-
};
|
|
1820
|
-
|
|
1821
|
-
declare const AccordionSummary: (props: AccordionSummaryProps) => React__default.JSX.Element;
|
|
1822
|
-
declare const AccordionDetails: (props: AccordionDetailsProps) => React__default.JSX.Element;
|
|
1823
|
-
declare const Accordion: (props: AccordionProps) => React__default.JSX.Element;
|
|
1824
|
-
|
|
1825
|
-
type AccordionGroupProps = {
|
|
1826
|
-
children: ReactNode;
|
|
1827
|
-
className?: string;
|
|
1828
|
-
/**
|
|
1829
|
-
* Unique identifier for the accordion group.
|
|
1830
|
-
* This will be passed to the accordions as a prop.
|
|
1831
|
-
*/
|
|
1832
|
-
name?: string;
|
|
1833
|
-
};
|
|
1834
|
-
|
|
1835
|
-
declare const AccordionGroup: (props: AccordionGroupProps) => React__default.JSX.Element;
|
|
1836
|
-
|
|
1837
|
-
/**
|
|
1838
|
-
* Defines the type of modal footer layout.
|
|
1839
|
-
* @default "1 button"
|
|
1840
|
-
*/
|
|
1841
|
-
type ModalFooterTypeEnum = "1 button" | "2 buttons";
|
|
1842
|
-
/**
|
|
1843
|
-
* Props for the ModalFooter component.
|
|
1844
|
-
*/
|
|
1845
|
-
type ModalFooterProps = Omit<HTMLAttributes<HTMLDivElement>, 'style'> & {
|
|
1846
|
-
/**
|
|
1847
|
-
* Determines whether the footer contains one or two buttons.
|
|
1848
|
-
* @default "1 button"
|
|
1849
|
-
*/
|
|
1850
|
-
type?: ModalFooterTypeEnum;
|
|
1851
|
-
/**
|
|
1852
|
-
* The primary button element.
|
|
2057
|
+
* 1
|
|
2058
|
+
* "One"
|
|
1853
2059
|
*/
|
|
1854
|
-
|
|
2060
|
+
value: number | string;
|
|
1855
2061
|
/**
|
|
1856
|
-
* The
|
|
2062
|
+
* The default tab.
|
|
2063
|
+
* @remarks
|
|
2064
|
+
* True means that this tab will be displayed initially
|
|
1857
2065
|
*/
|
|
1858
|
-
|
|
2066
|
+
defaultTab?: boolean;
|
|
1859
2067
|
/**
|
|
1860
|
-
|
|
1861
|
-
|
|
1862
|
-
|
|
2068
|
+
* The tab item style to apply.
|
|
2069
|
+
* @default Filled
|
|
2070
|
+
*/
|
|
2071
|
+
style?: TabItemStyleEnum;
|
|
1863
2072
|
};
|
|
1864
2073
|
|
|
1865
|
-
|
|
1866
|
-
* Modal Footer component for displaying footer actions in a modal.
|
|
1867
|
-
*/
|
|
1868
|
-
declare const ModalFooter: React__default.FC<ModalFooterProps>;
|
|
2074
|
+
declare const TabItem: (props: TabItemProps) => React__default.JSX.Element;
|
|
1869
2075
|
|
|
1870
|
-
|
|
1871
|
-
* Props for the ModalHeader component.
|
|
1872
|
-
*/
|
|
1873
|
-
type ModalHeaderProps = {
|
|
2076
|
+
interface TabContentProps {
|
|
1874
2077
|
/**
|
|
1875
|
-
* The
|
|
2078
|
+
* The tab contents value.
|
|
2079
|
+
* @remarks
|
|
2080
|
+
* This is used for determining which tab is selected.
|
|
2081
|
+
* The value from TabContent will be compared to the value from TabItem.
|
|
2082
|
+
* @example
|
|
2083
|
+
* 1
|
|
2084
|
+
* "One"
|
|
1876
2085
|
*/
|
|
1877
|
-
|
|
2086
|
+
value: number | string;
|
|
1878
2087
|
/**
|
|
1879
|
-
*
|
|
2088
|
+
* The contents of the tab.
|
|
1880
2089
|
*/
|
|
1881
|
-
|
|
2090
|
+
children: React.ReactNode;
|
|
1882
2091
|
/**
|
|
1883
|
-
*
|
|
2092
|
+
* The classname applied to the tab content.
|
|
1884
2093
|
*/
|
|
1885
2094
|
className?: string;
|
|
1886
|
-
}
|
|
1887
|
-
|
|
1888
|
-
/**
|
|
1889
|
-
* Modal Header component definition.
|
|
1890
|
-
*/
|
|
1891
|
-
declare const ModalHeader: (props: ModalHeaderProps) => React__default.JSX.Element;
|
|
1892
|
-
|
|
1893
|
-
declare const Form: <T extends FormState>(props: FormProviderProps<T> & FormProps) => React__default.JSX.Element;
|
|
1894
|
-
|
|
1895
|
-
type TableProps = TableHTMLAttributes<HTMLTableElement>;
|
|
2095
|
+
}
|
|
1896
2096
|
|
|
1897
|
-
declare const
|
|
2097
|
+
declare const TabContent: (props: TabContentProps) => React__default.JSX.Element;
|
|
1898
2098
|
|
|
1899
2099
|
type ThemeContextType = {
|
|
1900
2100
|
theme: string;
|
|
@@ -1908,4 +2108,11 @@ type ThemeProviderProps = {
|
|
|
1908
2108
|
declare const ThemeContext: React__default.Context<ThemeContextType>;
|
|
1909
2109
|
declare const ThemeProvider: React__default.FC<ThemeProviderProps>;
|
|
1910
2110
|
|
|
1911
|
-
|
|
2111
|
+
/**
|
|
2112
|
+
* Props for the NotificationContainer component.
|
|
2113
|
+
*/
|
|
2114
|
+
type NotificationContainerProps = {
|
|
2115
|
+
className?: string;
|
|
2116
|
+
};
|
|
2117
|
+
|
|
2118
|
+
export { Accordion, AccordionDetails, AccordionGroup, AccordionSummary, ActionCard, type ActionCardProps, ActionImage, type ActionImageProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Breakpoint, type BreakpointProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, Card, type CardProps, Checkbox, CheckboxItem, type CheckboxItemProps, type CheckboxLabelAlignmentEnum, type CheckboxProps, type CheckboxSizeEnum, Chip, type ChipProps, ContextMenu, type ContextMenuProps, type CustomTimePickerConfig, CustomToggle, type CustomToggleProps, DatePicker, type DatePickerProps, Dropzone, DropzoneClear, DropzoneContent, type DropzoneContentProps, type DropzoneContentTypeEnum, DropzoneFilename as DropzonePreview, type DropzoneProps, DropzoneSupportedFormats as DropzoneReject, DropzoneTrigger as DropzoneRoot, type FieldValidationFunction, type FieldValidators, type FieldValue, Form, type FormContextValues, type FormErrors, FormField, type FormFieldProps, type FormProps, type FormProviderProps, type FormState, type FormStateChangeHandler, type FormSubmitHandler, type FormValidator, Grid, GridItem, type GridItemProps, GridList, type GridListProps, type GridProps, Icon, IconButton, type IconButtonProps, type IconButtonStyleEnum, type IconProps, type IconSizeEnum, type IconStyleEnum, Image, type ImageFitEnum, type ImageProps, Input, type InputProps, type InputTypeEnum, List, ListItem, type ListItemProps, type ListProps, Modal, ModalFooter, type ModalFooterProps, ModalHeader, type ModalHeaderProps, type ModalProps, Nav, NavItem, type NavItemProps, NavLink, type NavLinkProps, type NavProps, type NotificationContainerProps, Option, type OptionProps, type OverlayDirectionEnum, Pagination, PaginationNumberField, type PaginationNumberFieldProps, type PaginationProps, Password, Popover, type PopoverHandle, type PopoverProps, ProgressBar, type ProgressBarProps, type RequiredFields, ResponsiveComponent, type ResponsiveComponentProps, Select, type SelectProps, SelectProvider, Slider, type SliderProps, Spinner, type SpinnerProps, TabContent, type TabContentProps, TabItem, type TabItemProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, Text, TextArea, type TextAreaProps, type TextDecorationEnum, type TextProps, type TextTypeEnum, type TextWeightEnum, ThemeContext, type ThemeContextType, ThemeProvider, type ThemeProviderProps, Toggle, ToggleButton, type ToggleButtonProps, useDropzoneContext, useField, useSelectContext, useTab };
|