altum 0.0.5 → 0.0.6
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/CHANGELOG.md +18 -0
- package/dist/base/FieldPopup/FieldPopup.js +1 -1
- package/dist/base/PeriodHeader/PeriodHeader.js +1 -1
- package/dist/base/ToggleControlBase/ToggleControlBase.js +1 -1
- package/dist/base/ToggleControlBase/ToggleControlBase.module.css.js +1 -1
- package/dist/components/Accordion/Accordion.js +1 -1
- package/dist/components/ActionList/ActionList.js +1 -1
- package/dist/components/ActionList/ActionList.module.css.js +1 -1
- package/dist/components/ActionSheetTrigger/ActionSheetTrigger.js +1 -1
- package/dist/components/ActionSheetTrigger/ActionSheetTrigger.module.css.js +1 -1
- package/dist/components/Alert/Alert.js +1 -1
- package/dist/components/Alert/Alert.module.css.js +1 -1
- package/dist/components/Badge/Badge.js +1 -1
- package/dist/components/Badge/Badge.module.css.js +1 -1
- package/dist/components/Box/Box.js +1 -1
- package/dist/components/Box/Box.module.css.js +1 -1
- package/dist/components/Bubble/Bubble.js +1 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Button/Button.module.css.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/components/ButtonIcon/OverlayCloseButton.js +1 -0
- package/dist/components/Calendar/Calendar.context.js +1 -1
- package/dist/components/Calendar/Calendar.module.css.js +1 -1
- package/dist/components/Calendar/Calendar.slots.js +1 -1
- package/dist/components/Calendar/Calendar.utils.js +1 -1
- package/dist/components/Calendar/Calendar.views.js +1 -1
- package/dist/components/CalendarBoard/CalendarBoard.MonthView.js +1 -1
- package/dist/components/CalendarBoard/CalendarBoard.Schedule.js +1 -1
- package/dist/components/CalendarBoard/CalendarBoard.YearView.js +2 -2
- package/dist/components/CalendarBoard/CalendarBoard.chrome.js +1 -1
- package/dist/components/CalendarBoard/CalendarBoard.module.css.js +1 -1
- package/dist/components/CalendarBoard/calendar.schedule.js +1 -1
- package/dist/components/Card/Card.js +1 -1
- package/dist/components/Card/Card.module.css.js +1 -1
- package/dist/components/Chip/Chip.js +1 -1
- package/dist/components/Chip/Chip.module.css.js +1 -1
- package/dist/components/ColorSwatchGroup/ColorSwatchGroup.js +1 -1
- package/dist/components/CommandPalette/CommandPalette.js +1 -1
- package/dist/components/CommandPalette/CommandPalette.module.css.js +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.js +1 -1
- package/dist/components/DateField/DateField.js +1 -1
- package/dist/components/DateField/DateField.utils.js +1 -1
- package/dist/components/DateRangeField/DateRangeField.js +1 -1
- package/dist/components/DayStripCalendar/DayStripCalendar.js +1 -1
- package/dist/components/DialogLayout/DialogLayout.js +1 -0
- package/dist/components/DialogLayout/DialogLayout.module.css.js +1 -0
- package/dist/components/Dropdown/Dropdown.js +1 -1
- package/dist/components/Dropdown/Dropdown.module.css.js +1 -1
- package/dist/components/Dropdown/DropdownMobileSheet.js +1 -1
- package/dist/components/FileList/FileList.js +1 -1
- package/dist/components/ImageCrop/ImageCrop.js +1 -1
- package/dist/components/ImageCrop/ImageCrop.module.css.js +1 -1
- package/dist/components/ImageGallery/ImageGallery.js +1 -1
- package/dist/components/ImageGallery/ImageGallery.module.css.js +1 -1
- package/dist/components/ImageLightbox/ImageLightbox.js +1 -1
- package/dist/components/ImageLightbox/ImageLightbox.module.css.js +1 -1
- package/dist/components/Layout/Layout.js +1 -1
- package/dist/components/Layout/Layout.module.css.js +1 -1
- package/dist/components/Link/Link.js +1 -1
- package/dist/components/Listbox/Listbox.js +1 -1
- package/dist/components/Listbox/Listbox.module.css.js +1 -1
- package/dist/components/LiveRegion/LiveRegion.js +1 -0
- package/dist/components/LocaleProvider/LocaleProvider.js +1 -1
- package/dist/components/MaskedField/MaskedField.js +1 -1
- package/dist/components/MaskedField/MaskedField.module.css.js +1 -1
- package/dist/components/Menu/Menu.js +1 -1
- package/dist/components/Menu/Menu.module.css.js +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Modal/Modal.module.css.js +1 -1
- package/dist/components/Notification/Notification.js +1 -1
- package/dist/components/Notification/Notification.module.css.js +1 -1
- package/dist/components/Notification/toast.js +1 -1
- package/dist/components/NumberField/NumberField.js +1 -1
- package/dist/components/Overflow/Overflow.js +1 -1
- package/dist/components/Overflow/Overflow.module.css.js +1 -1
- package/dist/components/Overlay/Overlay.frame.js +1 -0
- package/dist/components/Overlay/Overlay.js +1 -1
- package/dist/components/Overlay/Overlay.module.css.js +1 -1
- package/dist/components/Pagination/Pagination.js +1 -1
- package/dist/components/PasswordField/PasswordField.js +1 -1
- package/dist/components/PinInput/PinInput.js +1 -1
- package/dist/components/PinInput/PinInput.module.css.js +1 -1
- package/dist/components/Popover/Popover.js +1 -1
- package/dist/components/Popover/Popover.module.css.js +1 -1
- package/dist/components/PopupSwitch/PopupSwitch.js +1 -0
- package/dist/components/PopupSwitch/PopupSwitch.module.css.js +1 -0
- package/dist/components/PopupSwitch/PopupSwitch.utils.js +1 -0
- package/dist/components/PullToRefresh/PullToRefresh.js +1 -1
- package/dist/components/Rating/Rating.js +1 -1
- package/dist/components/SearchField/SearchField.js +1 -1
- package/dist/components/SegmentedControl/SegmentedControl.js +1 -1
- package/dist/components/Select/Select.js +1 -1
- package/dist/components/Select/Select.module.css.js +1 -1
- package/dist/components/SelectionGroup/SelectionGroup.js +1 -1
- package/dist/components/Sheet/Sheet.js +1 -1
- package/dist/components/Sheet/Sheet.module.css.js +1 -1
- package/dist/components/Sidebar/Sidebar.js +1 -1
- package/dist/components/Sidebar/Sidebar.module.css.js +1 -1
- package/dist/components/SkipLink/SkipLink.js +1 -1
- package/dist/components/Slider/Slider.js +1 -1
- package/dist/components/SortableList/SortableList.js +1 -1
- package/dist/components/SortableList/SortableList.module.css.js +1 -1
- package/dist/components/Spinner/Spinner.js +1 -1
- package/dist/components/Steps/Steps.js +1 -1
- package/dist/components/SuggestField/SuggestField.js +1 -1
- package/dist/components/Table/Table.js +1 -1
- package/dist/components/Table/TableRowActions.js +1 -1
- package/dist/components/Table/TableView.js +1 -1
- package/dist/components/TextField/TextField.js +1 -1
- package/dist/components/TextField/TextField.module.css.js +1 -1
- package/dist/components/TextareaField/TextareaField.js +1 -1
- package/dist/components/TextareaField/TextareaField.module.css.js +1 -1
- package/dist/components/ThemeProvider/ThemeProvider.js +1 -1
- package/dist/components/ThemeProvider/ThemeProvider.module.css.js +1 -1
- package/dist/components/TimeField/TimeField.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/Tooltip/Tooltip.module.css.js +1 -1
- package/dist/components/UploadZone/UploadZone.js +1 -1
- package/dist/components/VirtualList/VirtualList.js +1 -1
- package/dist/components/VirtualList/VirtualList.module.css.js +1 -1
- package/dist/components/VirtualList/VirtualList.utils.js +1 -1
- package/dist/components/VisuallyHidden/VisuallyHidden.js +1 -1
- package/dist/components/WheelTimePicker/WheelTimePicker.js +1 -1
- package/dist/entries/icons.js +1 -1
- package/dist/entries/utils.js +1 -1
- package/dist/hooks/useAutoResize.js +1 -1
- package/dist/hooks/useOtpInputs.js +1 -1
- package/dist/hooks/useTrackThumb.js +1 -1
- package/dist/icons/icons/IconChevronUpDown.js +1 -0
- package/dist/index.js +1 -1
- package/dist/locales/en.js +1 -1
- package/dist/locales/localeContext.js +1 -1
- package/dist/locales/ru.js +1 -1
- package/dist/locales/slices/actionList.en.js +1 -0
- package/dist/locales/slices/actionList.ru.js +1 -0
- package/dist/locales/slices/bubble.en.js +1 -0
- package/dist/locales/slices/bubble.ru.js +1 -0
- package/dist/locales/slices/buttonGroup.en.js +1 -0
- package/dist/locales/slices/buttonGroup.ru.js +1 -0
- package/dist/locales/slices/calendar.en.js +1 -0
- package/dist/locales/slices/calendar.ru.js +1 -0
- package/dist/locales/slices/calendarBoard.en.js +1 -0
- package/dist/locales/slices/calendarBoard.ru.js +1 -0
- package/dist/locales/slices/chip.en.js +1 -0
- package/dist/locales/slices/chip.ru.js +1 -0
- package/dist/locales/slices/commandPalette.en.js +1 -0
- package/dist/locales/slices/commandPalette.ru.js +1 -0
- package/dist/locales/slices/common.en.js +1 -0
- package/dist/locales/slices/common.ru.js +1 -0
- package/dist/locales/slices/confirmDialog.en.js +1 -0
- package/dist/locales/slices/confirmDialog.ru.js +1 -0
- package/dist/locales/slices/customSelect.en.js +1 -0
- package/dist/locales/slices/customSelect.ru.js +1 -0
- package/dist/locales/slices/dateRangeField.en.js +1 -0
- package/dist/locales/slices/dateRangeField.ru.js +1 -0
- package/dist/locales/slices/dayStrip.en.js +1 -0
- package/dist/locales/slices/dayStrip.ru.js +1 -0
- package/dist/locales/slices/fileList.en.js +1 -0
- package/dist/locales/slices/fileList.ru.js +1 -0
- package/dist/locales/slices/imageCrop.en.js +1 -0
- package/dist/locales/slices/imageCrop.ru.js +1 -0
- package/dist/locales/slices/imageGallery.en.js +1 -0
- package/dist/locales/slices/imageGallery.ru.js +1 -0
- package/dist/locales/slices/imageLightbox.en.js +1 -0
- package/dist/locales/slices/imageLightbox.ru.js +1 -0
- package/dist/locales/slices/listbox.en.js +1 -0
- package/dist/locales/slices/listbox.ru.js +1 -0
- package/dist/locales/slices/menu.en.js +1 -0
- package/dist/locales/slices/menu.ru.js +1 -0
- package/dist/locales/slices/modal.en.js +1 -0
- package/dist/locales/slices/modal.ru.js +1 -0
- package/dist/locales/slices/numberField.en.js +1 -0
- package/dist/locales/slices/numberField.ru.js +1 -0
- package/dist/locales/slices/overflow.en.js +1 -0
- package/dist/locales/slices/overflow.ru.js +1 -0
- package/dist/locales/slices/pagination.en.js +1 -0
- package/dist/locales/slices/pagination.ru.js +1 -0
- package/dist/locales/slices/password.en.js +1 -0
- package/dist/locales/slices/password.ru.js +1 -0
- package/dist/locales/slices/pinInput.en.js +1 -0
- package/dist/locales/slices/pinInput.ru.js +1 -0
- package/dist/locales/slices/pullToRefresh.en.js +1 -0
- package/dist/locales/slices/pullToRefresh.ru.js +1 -0
- package/dist/locales/slices/rating.en.js +1 -0
- package/dist/locales/slices/rating.ru.js +1 -0
- package/dist/locales/slices/searchField.en.js +1 -0
- package/dist/locales/slices/searchField.ru.js +1 -0
- package/dist/locales/slices/select.en.js +1 -0
- package/dist/locales/slices/select.ru.js +1 -0
- package/dist/locales/slices/sheet.en.js +1 -0
- package/dist/locales/slices/sheet.ru.js +1 -0
- package/dist/locales/slices/sidebar.en.js +1 -0
- package/dist/locales/slices/sidebar.ru.js +1 -0
- package/dist/locales/slices/skipLink.en.js +1 -0
- package/dist/locales/slices/skipLink.ru.js +1 -0
- package/dist/locales/slices/slider.en.js +1 -0
- package/dist/locales/slices/slider.ru.js +1 -0
- package/dist/locales/slices/sortable.en.js +1 -0
- package/dist/locales/slices/sortable.ru.js +1 -0
- package/dist/locales/slices/spinner.en.js +1 -0
- package/dist/locales/slices/spinner.ru.js +1 -0
- package/dist/locales/slices/steps.en.js +1 -0
- package/dist/locales/slices/steps.ru.js +1 -0
- package/dist/locales/slices/suggestField.en.js +1 -0
- package/dist/locales/slices/suggestField.ru.js +1 -0
- package/dist/locales/slices/table.en.js +1 -0
- package/dist/locales/slices/table.ru.js +1 -0
- package/dist/locales/slices/timeField.en.js +1 -0
- package/dist/locales/slices/timeField.ru.js +1 -0
- package/dist/locales/slices/upload.en.js +1 -0
- package/dist/locales/slices/upload.ru.js +1 -0
- package/dist/locales/slices/virtualList.en.js +1 -0
- package/dist/locales/slices/virtualList.ru.js +1 -0
- package/dist/styles/calendarChrome.module.css.js +1 -1
- package/dist/styles/status.module.css.js +1 -1
- package/dist/styles/visuallyHidden.module.css.js +1 -0
- package/dist/utils/date.js +1 -1
- package/dist/utils/fieldMessage.js +1 -0
- package/dist/utils/visitElementTree.js +1 -1
- package/docs/COMPONENTS.md +12 -10
- package/docs/LAYOUT.md +6 -6
- package/docs/THEMING.md +5 -12
- package/package.json +1 -1
- package/types/entries/icons.d.ts +3 -1
- package/types/entries/locales.d.ts +1 -6
- package/types/entries/utils.d.ts +2 -1
- package/types/index.d.ts +527 -620
- package/dist/base/ChevronButton/ChevronButton.js +0 -1
- package/dist/base/DialogBase/DialogBase.js +0 -1
- package/dist/base/DialogBase/DialogBase.module.css.js +0 -1
- package/dist/components/CustomSelect/CustomSelect.Filter.js +0 -1
- package/dist/components/CustomSelect/CustomSelect.List.js +0 -1
- package/dist/components/CustomSelect/CustomSelect.Shell.js +0 -1
- package/dist/components/CustomSelect/CustomSelect.Shell.module.css.js +0 -1
- package/dist/components/CustomSelect/CustomSelect.context.js +0 -1
- package/dist/components/CustomSelect/CustomSelect.js +0 -1
- package/dist/components/CustomSelect/CustomSelect.module.css.js +0 -1
- package/dist/components/CustomSelect/useCustomSelectComboboxKeyboard.js +0 -1
- package/dist/components/FocusTrap/FocusTrap.js +0 -1
- package/dist/components/Overflow/OverflowActionsMode.js +0 -1
- package/dist/components/Overflow/OverflowMeasure.js +0 -1
- package/dist/components/Overflow/OverflowMore.js +0 -1
- package/dist/components/Overlay/Overlay.Dismiss.js +0 -1
- package/dist/components/Overlay/Overlay.Positioner.js +0 -1
- package/dist/components/Overlay/Overlay.types.js +0 -1
- package/dist/components/SortableList/SortableList.types.js +0 -1
- package/dist/components/SortableList/useSortableListDnD.js +0 -1
- package/dist/components/TimeField/TimeField.module.css.js +0 -1
- package/dist/hooks/useDigitMask.js +0 -1
- package/dist/styles/srOnly.module.css.js +0 -1
package/types/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import react__default, { ComponentPropsWithoutRef, ReactNode, ComponentPropsWithRef, Ref, ReactElement, ButtonHTMLAttributes, ForwardRefExoticComponent, RefAttributes, ElementType, AriaRole, FC, HTMLAttributes } from 'react';
|
|
3
3
|
|
|
4
4
|
type AccordionVariant = 'bordered' | 'flush';
|
|
5
5
|
interface AccordionProps extends ComponentPropsWithoutRef<'div'> {
|
|
6
|
-
children:
|
|
6
|
+
children: react__default.ReactNode;
|
|
7
7
|
multiple?: boolean;
|
|
8
8
|
variant?: AccordionVariant;
|
|
9
9
|
defaultOpenIds?: string[];
|
|
@@ -12,14 +12,14 @@ interface AccordionProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
12
12
|
}
|
|
13
13
|
interface AccordionItemProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
|
|
14
14
|
value: string;
|
|
15
|
-
title:
|
|
15
|
+
title: react__default.ReactNode;
|
|
16
16
|
disabled?: boolean;
|
|
17
|
-
children?:
|
|
17
|
+
children?: react__default.ReactNode;
|
|
18
18
|
headingLevel?: 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
declare const AccordionItem:
|
|
22
|
-
type AccordionComponent =
|
|
21
|
+
declare const AccordionItem: react__default.ForwardRefExoticComponent<AccordionItemProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
type AccordionComponent = react__default.ForwardRefExoticComponent<AccordionProps & react__default.RefAttributes<HTMLDivElement>> & {
|
|
23
23
|
Item: typeof AccordionItem;
|
|
24
24
|
};
|
|
25
25
|
declare const Accordion: AccordionComponent;
|
|
@@ -35,14 +35,14 @@ interface AvatarProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
35
35
|
}
|
|
36
36
|
type AvatarGroupProps = ComponentPropsWithoutRef<'div'>;
|
|
37
37
|
|
|
38
|
-
declare const Avatar:
|
|
39
|
-
declare const AvatarGroup:
|
|
38
|
+
declare const Avatar: react.ForwardRefExoticComponent<AvatarProps & react.RefAttributes<HTMLDivElement>>;
|
|
39
|
+
declare const AvatarGroup: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
40
40
|
|
|
41
41
|
type BadgeVariant = 'error' | 'success' | 'info' | 'warning' | 'primary' | 'secondary';
|
|
42
42
|
type BadgeSize = 'sm' | 'md';
|
|
43
43
|
type BadgePosition = 'overlay' | 'standalone';
|
|
44
44
|
interface BadgeProps extends ComponentPropsWithoutRef<'div'> {
|
|
45
|
-
label?:
|
|
45
|
+
label?: react__default.ReactNode;
|
|
46
46
|
dot?: boolean;
|
|
47
47
|
variant?: BadgeVariant;
|
|
48
48
|
size?: BadgeSize;
|
|
@@ -50,7 +50,7 @@ interface BadgeProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
50
50
|
max?: number | false;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
declare const Badge:
|
|
53
|
+
declare const Badge: react.ForwardRefExoticComponent<BadgeProps & react.RefAttributes<HTMLDivElement | HTMLSpanElement>>;
|
|
54
54
|
|
|
55
55
|
type SpacingToken = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
56
56
|
type GroupGap = 'sm' | 'md' | 'lg';
|
|
@@ -75,7 +75,7 @@ type ButtonOwnProps = {
|
|
|
75
75
|
active?: boolean;
|
|
76
76
|
disabled?: boolean;
|
|
77
77
|
type?: 'button' | 'submit' | 'reset';
|
|
78
|
-
children?:
|
|
78
|
+
children?: react__default.ReactNode;
|
|
79
79
|
prefix?: ReactNode;
|
|
80
80
|
postfix?: ReactNode;
|
|
81
81
|
loading?: boolean;
|
|
@@ -95,17 +95,17 @@ declare const Button: ButtonComponent;
|
|
|
95
95
|
interface ButtonIconProps extends Omit<ButtonProps, 'children' | 'prefix' | 'postfix' | 'loading' | 'fullWidth'> {
|
|
96
96
|
shape?: 'circle' | 'square';
|
|
97
97
|
appearance?: 'default' | 'diskClose';
|
|
98
|
-
icon?:
|
|
99
|
-
children?:
|
|
98
|
+
icon?: react__default.ReactNode;
|
|
99
|
+
children?: react__default.ReactNode;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
declare const ButtonIcon:
|
|
102
|
+
declare const ButtonIcon: react.ForwardRefExoticComponent<Omit<ButtonIconProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
103
103
|
|
|
104
104
|
type ButtonGroupMode = 'button' | 'toggle' | 'multi_toggle';
|
|
105
105
|
type ButtonGroupItemFit = 'equal' | 'content';
|
|
106
106
|
type ButtonGroupVariant = Exclude<ButtonVariant, 'danger' | 'danger_tinted'> | 'plain';
|
|
107
107
|
interface ButtonGroupRootProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'onChange' | 'defaultValue'> {
|
|
108
|
-
children:
|
|
108
|
+
children: react__default.ReactNode;
|
|
109
109
|
mode?: ButtonGroupMode;
|
|
110
110
|
variant?: ButtonGroupVariant;
|
|
111
111
|
status?: 'default' | 'danger';
|
|
@@ -122,17 +122,17 @@ interface ButtonGroupRootProps extends Omit<ComponentPropsWithoutRef<'div'>, 'ch
|
|
|
122
122
|
activateOnFocus?: boolean;
|
|
123
123
|
'aria-label'?: string;
|
|
124
124
|
}
|
|
125
|
-
interface ButtonGroupItemProps extends Omit<
|
|
125
|
+
interface ButtonGroupItemProps extends Omit<react__default.ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'value'> {
|
|
126
126
|
value?: string;
|
|
127
127
|
active?: boolean;
|
|
128
|
-
icon?:
|
|
129
|
-
children?:
|
|
128
|
+
icon?: react__default.ReactNode;
|
|
129
|
+
children?: react__default.ReactNode;
|
|
130
130
|
className?: string;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
declare const ButtonGroupRoot:
|
|
134
|
-
declare const ButtonGroupItem:
|
|
135
|
-
type ButtonGroupComponent =
|
|
133
|
+
declare const ButtonGroupRoot: react__default.ForwardRefExoticComponent<ButtonGroupRootProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
134
|
+
declare const ButtonGroupItem: react__default.ForwardRefExoticComponent<ButtonGroupItemProps & react__default.RefAttributes<HTMLButtonElement>>;
|
|
135
|
+
type ButtonGroupComponent = react__default.ForwardRefExoticComponent<ButtonGroupRootProps & react__default.RefAttributes<HTMLDivElement>> & {
|
|
136
136
|
Root: typeof ButtonGroupRoot;
|
|
137
137
|
Item: typeof ButtonGroupItem;
|
|
138
138
|
};
|
|
@@ -140,32 +140,29 @@ declare const ButtonGroup: ButtonGroupComponent;
|
|
|
140
140
|
|
|
141
141
|
type ChipVariant = 'primary' | 'tinted' | 'secondary' | 'success' | 'info' | 'warning' | 'error';
|
|
142
142
|
type ChipMode = 'chip' | 'tag' | 'toggle';
|
|
143
|
-
|
|
144
|
-
interface ChipProps extends Omit<ComponentPropsWithoutRef<'span'>, 'onClick' | 'as'> {
|
|
143
|
+
interface ChipProps extends Omit<ComponentPropsWithoutRef<'span'>, 'onClick'> {
|
|
145
144
|
variant?: ChipVariant;
|
|
146
145
|
size?: ControlSize;
|
|
147
146
|
mode?: ChipMode;
|
|
148
|
-
|
|
149
|
-
children: React__default.ReactNode;
|
|
147
|
+
children: react__default.ReactNode;
|
|
150
148
|
onRemove?: () => void;
|
|
151
|
-
onClick?:
|
|
149
|
+
onClick?: react__default.MouseEventHandler<HTMLButtonElement | HTMLSpanElement>;
|
|
152
150
|
disabled?: boolean;
|
|
153
|
-
icon?:
|
|
151
|
+
icon?: react__default.ReactNode;
|
|
154
152
|
className?: string;
|
|
155
153
|
removeLabel?: string;
|
|
156
154
|
}
|
|
157
155
|
type ChipGroupGap = GroupGap;
|
|
158
156
|
interface ChipGroupProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
159
|
-
children:
|
|
157
|
+
children: react__default.ReactNode;
|
|
160
158
|
'aria-label'?: string;
|
|
161
159
|
gap?: ChipGroupGap;
|
|
162
160
|
mode?: Exclude<ChipMode, 'toggle'>;
|
|
163
|
-
as?: Exclude<ChipMode, 'toggle'>;
|
|
164
161
|
className?: string;
|
|
165
162
|
}
|
|
166
163
|
|
|
167
|
-
declare const Chip:
|
|
168
|
-
declare const ChipGroup:
|
|
164
|
+
declare const Chip: react.ForwardRefExoticComponent<ChipProps & react.RefAttributes<HTMLButtonElement | HTMLSpanElement>>;
|
|
165
|
+
declare const ChipGroup: react.ForwardRefExoticComponent<ChipGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
169
166
|
|
|
170
167
|
interface ColorSwatchGroupProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'onChange' | 'defaultValue'> {
|
|
171
168
|
colors: string[];
|
|
@@ -177,39 +174,39 @@ interface ColorSwatchGroupProps extends Omit<ComponentPropsWithoutRef<'div'>, 'c
|
|
|
177
174
|
disabled?: boolean;
|
|
178
175
|
}
|
|
179
176
|
|
|
180
|
-
declare const ColorSwatchGroup:
|
|
177
|
+
declare const ColorSwatchGroup: react.ForwardRefExoticComponent<ColorSwatchGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
181
178
|
|
|
182
179
|
type EmptyStateSize = 'sm' | 'md' | 'lg';
|
|
183
180
|
interface EmptyStateProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'title'> {
|
|
184
|
-
icon?:
|
|
181
|
+
icon?: react__default.ReactNode;
|
|
185
182
|
title: string;
|
|
186
183
|
description?: string;
|
|
187
|
-
action?:
|
|
184
|
+
action?: react__default.ReactNode;
|
|
188
185
|
size?: EmptyStateSize;
|
|
189
186
|
}
|
|
190
187
|
|
|
191
|
-
declare const EmptyState:
|
|
188
|
+
declare const EmptyState: react.ForwardRefExoticComponent<EmptyStateProps & react.RefAttributes<HTMLDivElement>>;
|
|
192
189
|
|
|
193
190
|
type FieldsetVariant = 'default' | 'card' | 'plain';
|
|
194
191
|
interface FieldsetProps extends ComponentPropsWithoutRef<'div'> {
|
|
195
192
|
variant?: FieldsetVariant;
|
|
196
193
|
disabled?: boolean;
|
|
197
|
-
children?:
|
|
198
|
-
legend?:
|
|
199
|
-
description?:
|
|
200
|
-
hint?:
|
|
201
|
-
footer?:
|
|
194
|
+
children?: react__default.ReactNode;
|
|
195
|
+
legend?: react__default.ReactNode;
|
|
196
|
+
description?: react__default.ReactNode;
|
|
197
|
+
hint?: react__default.ReactNode;
|
|
198
|
+
footer?: react__default.ReactNode;
|
|
202
199
|
gap?: number | string;
|
|
203
200
|
}
|
|
204
201
|
|
|
205
|
-
declare const Fieldset:
|
|
202
|
+
declare const Fieldset: react.ForwardRefExoticComponent<FieldsetProps & react.RefAttributes<HTMLDivElement>>;
|
|
206
203
|
|
|
207
204
|
type FieldLabelLayout = 'vertical' | 'horizontal';
|
|
208
205
|
type FieldLabelAlign = 'start' | 'center' | 'baseline';
|
|
209
206
|
type FieldLabelJustify = 'start' | 'between';
|
|
210
207
|
interface FieldLabelProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
211
|
-
label:
|
|
212
|
-
children:
|
|
208
|
+
label: react__default.ReactNode;
|
|
209
|
+
children: react__default.ReactNode;
|
|
213
210
|
layout?: FieldLabelLayout;
|
|
214
211
|
size?: ControlSize;
|
|
215
212
|
htmlFor?: string;
|
|
@@ -221,7 +218,7 @@ interface FieldLabelProps extends Omit<ComponentPropsWithoutRef<'div'>, 'childre
|
|
|
221
218
|
id?: string;
|
|
222
219
|
}
|
|
223
220
|
|
|
224
|
-
declare const FieldLabel:
|
|
221
|
+
declare const FieldLabel: react.ForwardRefExoticComponent<FieldLabelProps & react.RefAttributes<HTMLDivElement>>;
|
|
225
222
|
|
|
226
223
|
interface FieldBaseProps {
|
|
227
224
|
label?: string;
|
|
@@ -257,8 +254,8 @@ type TextFieldProps<T extends TextFieldAs = 'input'> = TextFieldOwnProps & Omit<
|
|
|
257
254
|
as?: T;
|
|
258
255
|
};
|
|
259
256
|
|
|
260
|
-
declare const FieldBaseButton:
|
|
261
|
-
declare const FieldBaseIcon:
|
|
257
|
+
declare const FieldBaseButton: react__default.ForwardRefExoticComponent<FieldBaseButtonProps & react__default.RefAttributes<HTMLButtonElement>>;
|
|
258
|
+
declare const FieldBaseIcon: react__default.ForwardRefExoticComponent<FieldBaseIconProps & react__default.RefAttributes<HTMLSpanElement>>;
|
|
262
259
|
type TextFieldComponent = (<T extends TextFieldAs = 'input'>(props: TextFieldProps<T> & {
|
|
263
260
|
ref?: Ref<TextFieldRef<T>>;
|
|
264
261
|
}) => ReactElement | null) & {
|
|
@@ -268,7 +265,7 @@ declare const TextField: TextFieldComponent;
|
|
|
268
265
|
|
|
269
266
|
type SearchFieldProps = Omit<TextFieldProps, 'prefix' | 'type'>;
|
|
270
267
|
|
|
271
|
-
declare const SearchField:
|
|
268
|
+
declare const SearchField: react.ForwardRefExoticComponent<Omit<SearchFieldProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
272
269
|
|
|
273
270
|
type SkeletonVariant = 'block' | 'text' | 'avatar' | 'card' | 'table';
|
|
274
271
|
interface SkeletonProps extends ComponentPropsWithoutRef<'div'> {
|
|
@@ -284,7 +281,7 @@ interface SkeletonProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
284
281
|
columns?: number;
|
|
285
282
|
}
|
|
286
283
|
|
|
287
|
-
declare const Skeleton:
|
|
284
|
+
declare const Skeleton: react.ForwardRefExoticComponent<SkeletonProps & react.RefAttributes<HTMLDivElement>>;
|
|
288
285
|
|
|
289
286
|
interface StatBadgeProps extends ComponentPropsWithoutRef<'div'> {
|
|
290
287
|
label: string;
|
|
@@ -293,7 +290,7 @@ interface StatBadgeProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
293
290
|
size?: 'sm' | 'md';
|
|
294
291
|
}
|
|
295
292
|
|
|
296
|
-
declare const StatBadge:
|
|
293
|
+
declare const StatBadge: react.ForwardRefExoticComponent<StatBadgeProps & react.RefAttributes<HTMLDivElement>>;
|
|
297
294
|
|
|
298
295
|
type BoxVariant = 'outlined' | 'elevated' | 'floating' | 'tinted' | 'secondary' | 'muted' | 'glass' | 'overlay' | 'ghost' | 'plain';
|
|
299
296
|
type BoxShadow = 'none' | 'sm' | 'md' | 'lg';
|
|
@@ -311,14 +308,14 @@ interface BoxProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
311
308
|
radius?: BoxRadius;
|
|
312
309
|
}
|
|
313
310
|
|
|
314
|
-
declare const Box:
|
|
311
|
+
declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLElement>>;
|
|
315
312
|
|
|
316
313
|
type CardVariant = Extract<BoxVariant, 'outlined' | 'elevated' | 'ghost'>;
|
|
317
314
|
interface CardProps extends ComponentPropsWithoutRef<'div'> {
|
|
318
|
-
children?:
|
|
319
|
-
header?:
|
|
320
|
-
media?:
|
|
321
|
-
actions?:
|
|
315
|
+
children?: react__default.ReactNode;
|
|
316
|
+
header?: react__default.ReactNode;
|
|
317
|
+
media?: react__default.ReactNode;
|
|
318
|
+
actions?: react__default.ReactNode;
|
|
322
319
|
hoverable?: boolean;
|
|
323
320
|
variant?: CardVariant;
|
|
324
321
|
radius?: BoxRadius;
|
|
@@ -326,7 +323,7 @@ interface CardProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
326
323
|
as?: BoxAs;
|
|
327
324
|
}
|
|
328
325
|
|
|
329
|
-
declare const Card:
|
|
326
|
+
declare const Card: react.ForwardRefExoticComponent<CardProps & react.RefAttributes<HTMLDivElement>>;
|
|
330
327
|
|
|
331
328
|
type ItemSize = 'sm' | 'md' | 'lg';
|
|
332
329
|
type ItemMediaVariant = 'icon' | 'image' | 'avatar';
|
|
@@ -354,7 +351,7 @@ interface AttachmentProps extends Omit<ItemProps, 'size' | 'variant'> {
|
|
|
354
351
|
status?: AttachmentStatus;
|
|
355
352
|
}
|
|
356
353
|
|
|
357
|
-
declare const Attachment:
|
|
354
|
+
declare const Attachment: react.ForwardRefExoticComponent<AttachmentProps & react.RefAttributes<HTMLDivElement>>;
|
|
358
355
|
|
|
359
356
|
type FileListItemStatus = 'idle' | 'uploading' | 'done' | 'error';
|
|
360
357
|
interface FileListItemProps extends Omit<ComponentPropsWithoutRef<'li'>, 'id'> {
|
|
@@ -363,7 +360,7 @@ interface FileListItemProps extends Omit<ComponentPropsWithoutRef<'li'>, 'id'> {
|
|
|
363
360
|
size?: number | string;
|
|
364
361
|
progress?: number;
|
|
365
362
|
status?: FileListItemStatus;
|
|
366
|
-
error?:
|
|
363
|
+
error?: react__default.ReactNode;
|
|
367
364
|
previewUrl?: string;
|
|
368
365
|
onRemove?: (id: string) => void;
|
|
369
366
|
onRetry?: (id: string) => void;
|
|
@@ -372,12 +369,12 @@ interface FileListItemProps extends Omit<ComponentPropsWithoutRef<'li'>, 'id'> {
|
|
|
372
369
|
attachmentSize?: AttachmentSize;
|
|
373
370
|
}
|
|
374
371
|
interface FileListRootProps extends Omit<ComponentPropsWithoutRef<'ul'>, 'children'> {
|
|
375
|
-
children:
|
|
372
|
+
children: react__default.ReactNode;
|
|
376
373
|
}
|
|
377
374
|
|
|
378
|
-
declare const FileList$1:
|
|
379
|
-
Root:
|
|
380
|
-
Item:
|
|
375
|
+
declare const FileList$1: react.ForwardRefExoticComponent<FileListRootProps & react.RefAttributes<HTMLUListElement>> & {
|
|
376
|
+
Root: react.ForwardRefExoticComponent<FileListRootProps & react.RefAttributes<HTMLUListElement>>;
|
|
377
|
+
Item: react.ForwardRefExoticComponent<FileListItemProps & react.RefAttributes<HTMLLIElement>>;
|
|
381
378
|
};
|
|
382
379
|
|
|
383
380
|
interface PinInputProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'onChange' | 'defaultValue'> {
|
|
@@ -398,7 +395,7 @@ interface PinInputProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'
|
|
|
398
395
|
width?: FieldWidth;
|
|
399
396
|
}
|
|
400
397
|
|
|
401
|
-
declare const PinInput:
|
|
398
|
+
declare const PinInput: react.ForwardRefExoticComponent<PinInputProps & react.RefAttributes<HTMLDivElement>>;
|
|
402
399
|
|
|
403
400
|
interface RatingProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'onChange' | 'defaultValue'> {
|
|
404
401
|
value?: number;
|
|
@@ -411,7 +408,7 @@ interface RatingProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' |
|
|
|
411
408
|
allowClear?: boolean;
|
|
412
409
|
}
|
|
413
410
|
|
|
414
|
-
declare const Rating:
|
|
411
|
+
declare const Rating: react.ForwardRefExoticComponent<RatingProps & react.RefAttributes<HTMLDivElement>>;
|
|
415
412
|
|
|
416
413
|
interface RelativeTimeProps extends Omit<ComponentPropsWithoutRef<'time'>, 'dateTime'> {
|
|
417
414
|
date: Date | string | number;
|
|
@@ -421,12 +418,12 @@ interface RelativeTimeProps extends Omit<ComponentPropsWithoutRef<'time'>, 'date
|
|
|
421
418
|
}
|
|
422
419
|
|
|
423
420
|
declare function formatRelativeTime(date: Date, locale?: string, now?: Date): string;
|
|
424
|
-
declare const RelativeTime:
|
|
421
|
+
declare const RelativeTime: react.ForwardRefExoticComponent<RelativeTimeProps & react.RefAttributes<HTMLTimeElement>>;
|
|
425
422
|
|
|
426
423
|
interface DescriptionListItem {
|
|
427
424
|
id?: string;
|
|
428
|
-
label:
|
|
429
|
-
value:
|
|
425
|
+
label: react__default.ReactNode;
|
|
426
|
+
value: react__default.ReactNode;
|
|
430
427
|
}
|
|
431
428
|
interface DescriptionListProps extends Omit<ComponentPropsWithoutRef<'dl'>, 'children'> {
|
|
432
429
|
items: DescriptionListItem[];
|
|
@@ -434,13 +431,13 @@ interface DescriptionListProps extends Omit<ComponentPropsWithoutRef<'dl'>, 'chi
|
|
|
434
431
|
columns?: 1 | 2 | 3;
|
|
435
432
|
}
|
|
436
433
|
|
|
437
|
-
declare const DescriptionList:
|
|
434
|
+
declare const DescriptionList: react.ForwardRefExoticComponent<DescriptionListProps & react.RefAttributes<HTMLDListElement>>;
|
|
438
435
|
|
|
439
436
|
interface AspectRatioProps extends ComponentPropsWithoutRef<'div'> {
|
|
440
437
|
ratio?: number | string;
|
|
441
438
|
}
|
|
442
439
|
|
|
443
|
-
declare const AspectRatio:
|
|
440
|
+
declare const AspectRatio: react.ForwardRefExoticComponent<AspectRatioProps & react.RefAttributes<HTMLDivElement>>;
|
|
444
441
|
|
|
445
442
|
interface MediaProps extends Omit<AspectRatioProps, 'children'> {
|
|
446
443
|
src: string;
|
|
@@ -451,34 +448,41 @@ interface MediaProps extends Omit<AspectRatioProps, 'children'> {
|
|
|
451
448
|
rounded?: boolean;
|
|
452
449
|
}
|
|
453
450
|
|
|
454
|
-
declare const Media:
|
|
451
|
+
declare const Media: react.ForwardRefExoticComponent<MediaProps & react.RefAttributes<HTMLDivElement>>;
|
|
455
452
|
|
|
456
453
|
interface ScrollAreaProps extends ComponentPropsWithoutRef<'div'> {
|
|
457
454
|
maxHeight?: string | number;
|
|
458
455
|
maxWidth?: string | number;
|
|
459
456
|
orientation?: 'y' | 'x' | 'both';
|
|
460
|
-
children?:
|
|
457
|
+
children?: react__default.ReactNode;
|
|
461
458
|
}
|
|
462
459
|
|
|
463
|
-
declare const ScrollArea:
|
|
460
|
+
declare const ScrollArea: react.ForwardRefExoticComponent<ScrollAreaProps & react.RefAttributes<HTMLDivElement>>;
|
|
464
461
|
|
|
465
462
|
interface VisuallyHiddenProps extends ComponentPropsWithoutRef<'span'> {
|
|
466
|
-
children:
|
|
463
|
+
children: react__default.ReactNode;
|
|
467
464
|
as?: 'span' | 'div' | 'label';
|
|
468
465
|
}
|
|
469
466
|
|
|
470
|
-
declare const VisuallyHidden:
|
|
467
|
+
declare const VisuallyHidden: react.ForwardRefExoticComponent<VisuallyHiddenProps & react.RefAttributes<HTMLElement>>;
|
|
468
|
+
|
|
469
|
+
interface LiveRegionProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'role'> {
|
|
470
|
+
message?: ReactNode;
|
|
471
|
+
politeness?: 'polite' | 'assertive';
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
declare const LiveRegion: react.ForwardRefExoticComponent<LiveRegionProps & react.RefAttributes<HTMLElement>>;
|
|
471
475
|
|
|
472
476
|
interface SkipLinkProps extends ComponentPropsWithoutRef<'a'> {
|
|
473
477
|
href?: string;
|
|
474
|
-
children?:
|
|
478
|
+
children?: react__default.ReactNode;
|
|
475
479
|
}
|
|
476
480
|
|
|
477
|
-
declare const SkipLink:
|
|
481
|
+
declare const SkipLink: react.ForwardRefExoticComponent<SkipLinkProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
478
482
|
|
|
479
483
|
type CheckboxMode = 'default' | 'task';
|
|
480
484
|
interface CheckboxProps extends Omit<ComponentPropsWithoutRef<'input'>, 'size'> {
|
|
481
|
-
label?:
|
|
485
|
+
label?: react__default.ReactNode;
|
|
482
486
|
labelVisibility?: 'visible' | 'hidden';
|
|
483
487
|
readOnly?: boolean;
|
|
484
488
|
size?: ControlSize;
|
|
@@ -504,116 +508,28 @@ interface CheckboxGroupProps extends Omit<ComponentPropsWithoutRef<'fieldset'>,
|
|
|
504
508
|
labelSide?: LabelSide;
|
|
505
509
|
}
|
|
506
510
|
|
|
507
|
-
declare const Checkbox:
|
|
508
|
-
declare const CheckboxGroup:
|
|
511
|
+
declare const Checkbox: react.ForwardRefExoticComponent<CheckboxProps & react.RefAttributes<HTMLInputElement>>;
|
|
512
|
+
declare const CheckboxGroup: react.ForwardRefExoticComponent<CheckboxGroupProps & react.RefAttributes<HTMLFieldSetElement>>;
|
|
509
513
|
|
|
510
514
|
interface CollapseProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
511
515
|
open: boolean;
|
|
512
|
-
children:
|
|
516
|
+
children: react__default.ReactNode;
|
|
513
517
|
reducedMotion?: boolean;
|
|
514
518
|
}
|
|
515
519
|
|
|
516
|
-
declare const Collapse:
|
|
517
|
-
|
|
518
|
-
type BackdropVariant = 'default' | 'strong';
|
|
519
|
-
type BackdropBlur = 'none' | 'sm' | 'md';
|
|
520
|
-
type BackdropPosition = 'fixed' | 'absolute';
|
|
521
|
-
interface BackdropProps extends Omit<ComponentPropsWithoutRef<'div'>, 'onClick'> {
|
|
522
|
-
variant?: BackdropVariant;
|
|
523
|
-
blur?: BackdropBlur;
|
|
524
|
-
position?: BackdropPosition;
|
|
525
|
-
onClick?: () => void;
|
|
526
|
-
zIndex?: number;
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
declare const Backdrop: React.ForwardRefExoticComponent<BackdropProps & React.RefAttributes<HTMLDivElement>>;
|
|
520
|
+
declare const Collapse: react.ForwardRefExoticComponent<CollapseProps & react.RefAttributes<HTMLDivElement>>;
|
|
530
521
|
|
|
531
|
-
type
|
|
532
|
-
|
|
533
|
-
type RenderChildrenFn<P> = (props: P, contentRef: React__default.RefCallback<HTMLElement>) => React__default.ReactNode;
|
|
522
|
+
type RenderChildrenFn<P> = (props: P, contentRef: react__default.RefCallback<HTMLElement>) => react__default.ReactNode;
|
|
534
523
|
type WithEnrichedChildren<T, P> = T & {
|
|
535
|
-
children: RenderChildrenFn<P> |
|
|
536
|
-
};
|
|
537
|
-
|
|
538
|
-
type OverlayVariant = 'modal' | 'sheet' | 'popover' | 'dropdown' | 'floating';
|
|
539
|
-
type OverlaySheetSide = 'top' | 'bottom' | 'left' | 'right';
|
|
540
|
-
type OverlayTriggerMode = 'click' | 'hover' | 'manual';
|
|
541
|
-
type OverlayWidthMode = 'trigger' | 'content' | 'trigger-fit';
|
|
542
|
-
type DropdownWidthMode = OverlayWidthMode;
|
|
543
|
-
type DropdownAlign = AnchorAlign | 'auto' | 'left' | 'right';
|
|
544
|
-
type DropdownPanelScroll = 'overlay' | 'content';
|
|
545
|
-
|
|
546
|
-
type OverlayDismiss = 'outside' | 'escape' | 'all' | 'none';
|
|
547
|
-
type OverlayContentProps = Omit<React__default.HTMLAttributes<HTMLElement>, 'role' | 'color'> & {
|
|
548
|
-
role?: string;
|
|
549
|
-
'aria-modal'?: boolean | 'true' | 'false';
|
|
550
|
-
'aria-label'?: string;
|
|
551
|
-
'aria-labelledby'?: string;
|
|
552
|
-
'aria-describedby'?: string;
|
|
553
|
-
'data-side'?: AnchorSide;
|
|
554
|
-
'data-kind'?: OverlayVariant;
|
|
555
|
-
'data-presented'?: string;
|
|
556
|
-
};
|
|
557
|
-
type OverlayChildren = RenderChildrenFn<OverlayContentProps> | React__default.ReactElement;
|
|
558
|
-
type OverlayBaseProps = {
|
|
559
|
-
children: OverlayChildren;
|
|
560
|
-
open: boolean;
|
|
561
|
-
onOpenChange: (open: boolean) => void;
|
|
562
|
-
className?: string;
|
|
563
|
-
purpose?: OverlayPurpose;
|
|
564
|
-
zIndex?: number | string;
|
|
565
|
-
'aria-label'?: string;
|
|
566
|
-
'aria-labelledby'?: string;
|
|
567
|
-
'aria-describedby'?: string;
|
|
568
|
-
role?: string;
|
|
569
|
-
};
|
|
570
|
-
type OverlayModalProps = OverlayBaseProps & {
|
|
571
|
-
variant: 'modal';
|
|
572
|
-
backdropVariant?: BackdropVariant;
|
|
573
|
-
backdropBlur?: BackdropBlur;
|
|
574
|
-
};
|
|
575
|
-
type OverlayFloatingProps = OverlayBaseProps & {
|
|
576
|
-
variant: 'floating';
|
|
577
|
-
style?: React__default.CSSProperties;
|
|
578
|
-
backdrop?: boolean;
|
|
579
|
-
backdropVariant?: BackdropVariant;
|
|
580
|
-
backdropBlur?: BackdropBlur;
|
|
581
|
-
dismiss?: OverlayDismiss;
|
|
582
|
-
lockScroll?: boolean;
|
|
583
|
-
trapFocus?: boolean;
|
|
584
|
-
};
|
|
585
|
-
type OverlaySheetProps = OverlayBaseProps & {
|
|
586
|
-
variant: 'sheet';
|
|
587
|
-
side?: OverlaySheetSide;
|
|
588
|
-
backdrop?: boolean;
|
|
589
|
-
backdropVariant?: BackdropVariant;
|
|
590
|
-
backdropBlur?: BackdropBlur;
|
|
591
|
-
dismiss?: OverlayDismiss;
|
|
524
|
+
children: RenderChildrenFn<P> | react__default.ReactElement;
|
|
592
525
|
};
|
|
593
|
-
type OverlayAnchorBaseProps = OverlayBaseProps & {
|
|
594
|
-
targetRef: React__default.RefObject<HTMLElement | null>;
|
|
595
|
-
triggerMode?: OverlayTriggerMode;
|
|
596
|
-
side?: AnchorSide;
|
|
597
|
-
align?: AnchorAlign;
|
|
598
|
-
openDelay?: number;
|
|
599
|
-
closeDelay?: number;
|
|
600
|
-
dismiss?: OverlayDismiss;
|
|
601
|
-
};
|
|
602
|
-
type OverlayPopoverProps = OverlayAnchorBaseProps & {
|
|
603
|
-
variant: 'popover';
|
|
604
|
-
};
|
|
605
|
-
type OverlayDropdownProps = OverlayAnchorBaseProps & {
|
|
606
|
-
variant: 'dropdown';
|
|
607
|
-
widthMode?: OverlayWidthMode;
|
|
608
|
-
};
|
|
609
|
-
type OverlayProps = OverlayModalProps | OverlayFloatingProps | OverlaySheetProps | OverlayPopoverProps | OverlayDropdownProps;
|
|
610
|
-
|
|
611
|
-
declare const Overlay: React__default.ForwardRefExoticComponent<OverlayProps & React__default.RefAttributes<HTMLElement>>;
|
|
612
526
|
|
|
613
527
|
type DropdownPopupRole = 'menu' | 'listbox' | 'none' | 'dialog';
|
|
614
528
|
type DropdownTriggerMode = 'toggle' | 'combobox';
|
|
615
|
-
|
|
616
|
-
type
|
|
529
|
+
type DropdownAlign = AnchorAlign | 'auto' | 'left' | 'right';
|
|
530
|
+
type DropdownWidthMode = 'trigger' | 'content' | 'trigger-fit';
|
|
531
|
+
type DropdownPanelScroll = 'overlay' | 'content';
|
|
532
|
+
type DropdownTriggerAttrs = Pick<react__default.HTMLAttributes<HTMLElement>, 'onKeyDown' | 'onClick'> & {
|
|
617
533
|
'aria-haspopup'?: 'true' | 'listbox' | 'menu' | 'dialog';
|
|
618
534
|
'aria-expanded': boolean;
|
|
619
535
|
'aria-controls'?: string;
|
|
@@ -623,23 +539,23 @@ type DropdownTriggerAttrs = Pick<React__default.HTMLAttributes<HTMLElement>, 'on
|
|
|
623
539
|
};
|
|
624
540
|
type DropdownTriggerSlotProps = DropdownTriggerAttrs;
|
|
625
541
|
interface DropdownProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
626
|
-
children?:
|
|
542
|
+
children?: react__default.ReactNode;
|
|
627
543
|
renderTrigger: RenderChildrenFn<DropdownTriggerSlotProps>;
|
|
628
544
|
open?: boolean;
|
|
629
545
|
onOpenChange?: (open: boolean) => void;
|
|
630
546
|
popupRole?: DropdownPopupRole;
|
|
631
547
|
triggerMode?: DropdownTriggerMode;
|
|
632
|
-
boxProps?:
|
|
548
|
+
boxProps?: BoxProps;
|
|
633
549
|
align?: DropdownAlign;
|
|
634
550
|
widthMode?: DropdownWidthMode;
|
|
635
|
-
mobileTitle?:
|
|
636
|
-
mobileLeftControls?:
|
|
637
|
-
mobileRightControls?:
|
|
551
|
+
mobileTitle?: react__default.ReactNode;
|
|
552
|
+
mobileLeftControls?: react__default.ReactNode;
|
|
553
|
+
mobileRightControls?: react__default.ReactNode;
|
|
638
554
|
panelScroll?: DropdownPanelScroll;
|
|
639
555
|
panelClassName?: string;
|
|
640
556
|
}
|
|
641
557
|
|
|
642
|
-
declare const Dropdown:
|
|
558
|
+
declare const Dropdown: react.ForwardRefExoticComponent<DropdownProps & react.RefAttributes<HTMLDivElement>>;
|
|
643
559
|
|
|
644
560
|
interface ListboxOption {
|
|
645
561
|
value: string;
|
|
@@ -691,7 +607,7 @@ interface ListboxHandle {
|
|
|
691
607
|
focusOption: (index: number) => void;
|
|
692
608
|
}
|
|
693
609
|
|
|
694
|
-
declare const Listbox:
|
|
610
|
+
declare const Listbox: react.ForwardRefExoticComponent<ListboxProps & react.RefAttributes<ListboxHandle>>;
|
|
695
611
|
|
|
696
612
|
interface ActionListItem {
|
|
697
613
|
id: string;
|
|
@@ -749,7 +665,7 @@ interface MenuProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
|
749
665
|
onAction?: ActionListProps['onAction'];
|
|
750
666
|
}
|
|
751
667
|
|
|
752
|
-
declare const Menu:
|
|
668
|
+
declare const Menu: react.ForwardRefExoticComponent<MenuProps & react.RefAttributes<HTMLDivElement>>;
|
|
753
669
|
|
|
754
670
|
interface ImageGalleryItem {
|
|
755
671
|
src: string;
|
|
@@ -768,7 +684,7 @@ interface ImageGalleryProps extends Omit<ComponentPropsWithoutRef<'div'>, 'child
|
|
|
768
684
|
enableKeyboard?: boolean;
|
|
769
685
|
}
|
|
770
686
|
|
|
771
|
-
declare const ImageGallery:
|
|
687
|
+
declare const ImageGallery: react.ForwardRefExoticComponent<ImageGalleryProps & react.RefAttributes<HTMLDivElement>>;
|
|
772
688
|
|
|
773
689
|
interface ImageLightboxProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
774
690
|
open: boolean;
|
|
@@ -779,7 +695,7 @@ interface ImageLightboxProps extends Omit<ComponentPropsWithoutRef<'div'>, 'chil
|
|
|
779
695
|
onIndexChange?: (index: number) => void;
|
|
780
696
|
}
|
|
781
697
|
|
|
782
|
-
declare const ImageLightbox:
|
|
698
|
+
declare const ImageLightbox: react.ForwardRefExoticComponent<ImageLightboxProps & react.RefAttributes<HTMLElement>>;
|
|
783
699
|
|
|
784
700
|
type LinkVariant = 'primary' | 'secondary' | 'muted';
|
|
785
701
|
type LinkStatus = 'default' | 'danger';
|
|
@@ -789,21 +705,21 @@ interface LinkProps extends ComponentPropsWithoutRef<'a'> {
|
|
|
789
705
|
status?: LinkStatus;
|
|
790
706
|
size?: LinkSize;
|
|
791
707
|
weight?: 'normal' | 'medium' | 'bold';
|
|
792
|
-
children:
|
|
708
|
+
children: react__default.ReactNode;
|
|
793
709
|
}
|
|
794
710
|
|
|
795
|
-
declare const Link:
|
|
711
|
+
declare const Link: react.ForwardRefExoticComponent<LinkProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
796
712
|
|
|
797
713
|
interface SwipeAction {
|
|
798
714
|
id: string;
|
|
799
715
|
label: string;
|
|
800
|
-
icon?:
|
|
716
|
+
icon?: react__default.ReactNode;
|
|
801
717
|
onClick: () => void;
|
|
802
718
|
bg?: string;
|
|
803
719
|
swipeToTrigger?: boolean;
|
|
804
720
|
}
|
|
805
|
-
interface SwipeToActionProps extends Omit<
|
|
806
|
-
children:
|
|
721
|
+
interface SwipeToActionProps extends Omit<react__default.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
722
|
+
children: react__default.ReactNode;
|
|
807
723
|
leftActions?: SwipeAction[];
|
|
808
724
|
rightActions?: SwipeAction[];
|
|
809
725
|
closeOnOutsideClick?: boolean;
|
|
@@ -811,7 +727,7 @@ interface SwipeToActionProps extends Omit<React__default.HTMLAttributes<HTMLDivE
|
|
|
811
727
|
actionWidth?: number;
|
|
812
728
|
}
|
|
813
729
|
|
|
814
|
-
declare const SwipeToAction:
|
|
730
|
+
declare const SwipeToAction: react__default.ForwardRefExoticComponent<SwipeToActionProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
815
731
|
|
|
816
732
|
interface MaskedFieldProps extends Omit<TextFieldProps, 'value' | 'onChange'> {
|
|
817
733
|
mask: string;
|
|
@@ -820,7 +736,7 @@ interface MaskedFieldProps extends Omit<TextFieldProps, 'value' | 'onChange'> {
|
|
|
820
736
|
maskAsPlaceholder?: boolean;
|
|
821
737
|
}
|
|
822
738
|
|
|
823
|
-
declare const MaskedField:
|
|
739
|
+
declare const MaskedField: react.ForwardRefExoticComponent<Omit<MaskedFieldProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
824
740
|
|
|
825
741
|
interface NumberFieldProps extends Omit<TextFieldProps, 'type' | 'onChange'> {
|
|
826
742
|
value?: number;
|
|
@@ -830,42 +746,42 @@ interface NumberFieldProps extends Omit<TextFieldProps, 'type' | 'onChange'> {
|
|
|
830
746
|
onChange?: (val: number | undefined) => void;
|
|
831
747
|
}
|
|
832
748
|
|
|
833
|
-
declare const NumberField:
|
|
749
|
+
declare const NumberField: react.ForwardRefExoticComponent<Omit<NumberFieldProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
834
750
|
|
|
835
|
-
interface PaginationRootProps extends Omit<
|
|
751
|
+
interface PaginationRootProps extends Omit<react__default.ComponentPropsWithoutRef<'nav'>, 'children'> {
|
|
836
752
|
currentPage: number;
|
|
837
753
|
totalPages: number;
|
|
838
754
|
onPageChange: (page: number) => void;
|
|
839
|
-
children?:
|
|
755
|
+
children?: react__default.ReactNode;
|
|
840
756
|
totalItems?: number;
|
|
841
757
|
pageSize?: number;
|
|
842
758
|
onPageSizeChange?: (pageSize: number) => void;
|
|
843
759
|
pageSizeOptions?: number[];
|
|
844
760
|
}
|
|
845
|
-
interface PaginationSummaryProps extends
|
|
761
|
+
interface PaginationSummaryProps extends react__default.HTMLAttributes<HTMLSpanElement> {
|
|
846
762
|
totalItems?: number;
|
|
847
763
|
pageSize?: number;
|
|
848
764
|
}
|
|
849
|
-
type PaginationControlsProps =
|
|
850
|
-
interface PaginationPageSizeProps extends Omit<
|
|
765
|
+
type PaginationControlsProps = react__default.HTMLAttributes<HTMLDivElement>;
|
|
766
|
+
interface PaginationPageSizeProps extends Omit<react__default.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
851
767
|
pageSize: number;
|
|
852
768
|
onPageSizeChange: (pageSize: number) => void;
|
|
853
769
|
pageSizeOptions?: number[];
|
|
854
770
|
}
|
|
855
771
|
type PaginationProps = PaginationRootProps;
|
|
856
772
|
|
|
857
|
-
declare const Pagination:
|
|
858
|
-
Summary:
|
|
859
|
-
Controls:
|
|
860
|
-
PageSize:
|
|
773
|
+
declare const Pagination: react.ForwardRefExoticComponent<PaginationRootProps & react.RefAttributes<HTMLElement>> & {
|
|
774
|
+
Summary: react.ForwardRefExoticComponent<PaginationSummaryProps & react.RefAttributes<HTMLSpanElement>>;
|
|
775
|
+
Controls: react.ForwardRefExoticComponent<PaginationControlsProps & react.RefAttributes<HTMLDivElement>>;
|
|
776
|
+
PageSize: react.ForwardRefExoticComponent<PaginationPageSizeProps & react.RefAttributes<HTMLDivElement>>;
|
|
861
777
|
};
|
|
862
778
|
|
|
863
779
|
type ProgressVariant = 'auto' | 'primary' | 'success' | 'warning' | 'error' | 'info';
|
|
864
780
|
interface ProgressProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
865
781
|
percentage?: number;
|
|
866
782
|
indeterminate?: boolean;
|
|
867
|
-
label?:
|
|
868
|
-
valueText?:
|
|
783
|
+
label?: react__default.ReactNode;
|
|
784
|
+
valueText?: react__default.ReactNode;
|
|
869
785
|
showValueText?: boolean;
|
|
870
786
|
size?: ControlSize;
|
|
871
787
|
variant?: ProgressVariant;
|
|
@@ -874,11 +790,11 @@ interface ProgressCircleProps extends ProgressProps {
|
|
|
874
790
|
diameter?: number;
|
|
875
791
|
}
|
|
876
792
|
|
|
877
|
-
declare const Progress:
|
|
878
|
-
declare const ProgressCircle:
|
|
793
|
+
declare const Progress: react.ForwardRefExoticComponent<ProgressProps & react.RefAttributes<HTMLDivElement>>;
|
|
794
|
+
declare const ProgressCircle: react.ForwardRefExoticComponent<ProgressCircleProps & react.RefAttributes<HTMLDivElement>>;
|
|
879
795
|
|
|
880
796
|
interface RadioProps extends Omit<ComponentPropsWithoutRef<'input'>, 'size'> {
|
|
881
|
-
label:
|
|
797
|
+
label: react__default.ReactNode;
|
|
882
798
|
readOnly?: boolean;
|
|
883
799
|
size?: ControlSize;
|
|
884
800
|
labelSide?: LabelSide;
|
|
@@ -901,12 +817,12 @@ interface RadioGroupProps extends Omit<ComponentPropsWithoutRef<'fieldset'>, 'ch
|
|
|
901
817
|
labelSide?: LabelSide;
|
|
902
818
|
}
|
|
903
819
|
|
|
904
|
-
declare const Radio:
|
|
905
|
-
declare const RadioGroup:
|
|
820
|
+
declare const Radio: react.ForwardRefExoticComponent<RadioProps & react.RefAttributes<HTMLInputElement>>;
|
|
821
|
+
declare const RadioGroup: react.ForwardRefExoticComponent<RadioGroupProps & react.RefAttributes<HTMLFieldSetElement>>;
|
|
906
822
|
|
|
907
823
|
type SelectionGroupOrientation = 'horizontal' | 'vertical';
|
|
908
824
|
interface SelectionGroupRootProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'defaultValue' | 'onChange'> {
|
|
909
|
-
children:
|
|
825
|
+
children: react__default.ReactNode;
|
|
910
826
|
value?: string;
|
|
911
827
|
defaultValue?: string;
|
|
912
828
|
onChange?: (value: string) => void;
|
|
@@ -916,23 +832,23 @@ interface SelectionGroupRootProps extends Omit<ComponentPropsWithoutRef<'div'>,
|
|
|
916
832
|
activateOnFocus?: boolean;
|
|
917
833
|
}
|
|
918
834
|
interface SelectionGroupListProps extends ComponentPropsWithoutRef<'div'> {
|
|
919
|
-
children?:
|
|
835
|
+
children?: react__default.ReactNode;
|
|
920
836
|
}
|
|
921
837
|
interface SelectionGroupItemProps extends Omit<ComponentPropsWithoutRef<'button'>, 'value'> {
|
|
922
838
|
value: string;
|
|
923
|
-
children?:
|
|
839
|
+
children?: react__default.ReactNode;
|
|
924
840
|
}
|
|
925
841
|
interface SelectionGroupPanelProps extends ComponentPropsWithoutRef<'div'> {
|
|
926
842
|
value: string;
|
|
927
|
-
children?:
|
|
843
|
+
children?: react__default.ReactNode;
|
|
928
844
|
forceMount?: boolean;
|
|
929
845
|
}
|
|
930
846
|
|
|
931
|
-
declare const SelectionGroupRoot:
|
|
932
|
-
declare const SelectionGroupList:
|
|
933
|
-
declare const SelectionGroupItem:
|
|
934
|
-
declare const SelectionGroupPanel:
|
|
935
|
-
type SelectionGroupComponent =
|
|
847
|
+
declare const SelectionGroupRoot: ForwardRefExoticComponent<SelectionGroupRootProps & RefAttributes<HTMLDivElement>>;
|
|
848
|
+
declare const SelectionGroupList: ForwardRefExoticComponent<SelectionGroupListProps & RefAttributes<HTMLDivElement>>;
|
|
849
|
+
declare const SelectionGroupItem: ForwardRefExoticComponent<SelectionGroupItemProps & RefAttributes<HTMLButtonElement>>;
|
|
850
|
+
declare const SelectionGroupPanel: ForwardRefExoticComponent<SelectionGroupPanelProps & RefAttributes<HTMLDivElement>>;
|
|
851
|
+
type SelectionGroupComponent = ForwardRefExoticComponent<SelectionGroupRootProps & RefAttributes<HTMLDivElement>> & {
|
|
936
852
|
Root: typeof SelectionGroupRoot;
|
|
937
853
|
List: typeof SelectionGroupList;
|
|
938
854
|
Item: typeof SelectionGroupItem;
|
|
@@ -957,12 +873,15 @@ interface SegmentedControlProps<T = string> extends Omit<ComponentPropsWithoutRe
|
|
|
957
873
|
borderless?: boolean;
|
|
958
874
|
}
|
|
959
875
|
|
|
960
|
-
|
|
961
|
-
ref?:
|
|
962
|
-
}) =>
|
|
876
|
+
type SegmentedControlComponent = (<T extends string | number>(props: SegmentedControlProps<T> & {
|
|
877
|
+
ref?: Ref<HTMLDivElement>;
|
|
878
|
+
}) => ReactElement) & {
|
|
879
|
+
displayName?: string;
|
|
880
|
+
};
|
|
881
|
+
declare const SegmentedControl: SegmentedControlComponent;
|
|
963
882
|
|
|
964
|
-
interface SidebarProps extends Omit<
|
|
965
|
-
children:
|
|
883
|
+
interface SidebarProps extends Omit<react__default.ComponentPropsWithoutRef<'aside'>, 'children' | 'onChange'> {
|
|
884
|
+
children: react__default.ReactNode;
|
|
966
885
|
value?: string;
|
|
967
886
|
defaultValue?: string;
|
|
968
887
|
onChange?: (id: string) => void;
|
|
@@ -973,51 +892,48 @@ interface SidebarProps extends Omit<React__default.ComponentPropsWithoutRef<'asi
|
|
|
973
892
|
mobileOpen?: boolean;
|
|
974
893
|
onMobileOpenChange?: (open: boolean) => void;
|
|
975
894
|
}
|
|
976
|
-
interface SidebarHeaderProps extends
|
|
977
|
-
children?:
|
|
895
|
+
interface SidebarHeaderProps extends react__default.HTMLAttributes<HTMLElement> {
|
|
896
|
+
children?: react__default.ReactNode;
|
|
978
897
|
}
|
|
979
|
-
interface SidebarTitleProps extends
|
|
980
|
-
children:
|
|
898
|
+
interface SidebarTitleProps extends react__default.HTMLAttributes<HTMLSpanElement> {
|
|
899
|
+
children: react__default.ReactNode;
|
|
981
900
|
}
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
children: React__default.ReactNode;
|
|
901
|
+
interface SidebarContentProps extends react__default.HTMLAttributes<HTMLElement> {
|
|
902
|
+
children: react__default.ReactNode;
|
|
985
903
|
}
|
|
986
|
-
interface SidebarGroupProps extends
|
|
987
|
-
children:
|
|
904
|
+
interface SidebarGroupProps extends react__default.HTMLAttributes<HTMLDivElement> {
|
|
905
|
+
children: react__default.ReactNode;
|
|
988
906
|
}
|
|
989
|
-
interface SidebarGroupLabelProps extends
|
|
990
|
-
children:
|
|
907
|
+
interface SidebarGroupLabelProps extends react__default.HTMLAttributes<HTMLDivElement> {
|
|
908
|
+
children: react__default.ReactNode;
|
|
991
909
|
}
|
|
992
|
-
interface SidebarItemProps extends Omit<
|
|
910
|
+
interface SidebarItemProps extends Omit<react__default.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange' | 'type'> {
|
|
993
911
|
value: string;
|
|
994
|
-
icon?:
|
|
995
|
-
badge?:
|
|
912
|
+
icon?: react__default.ReactNode;
|
|
913
|
+
badge?: react__default.ReactNode;
|
|
996
914
|
badgeDot?: boolean;
|
|
997
|
-
children:
|
|
915
|
+
children: react__default.ReactNode;
|
|
998
916
|
}
|
|
999
|
-
interface SidebarFooterProps extends
|
|
1000
|
-
children:
|
|
917
|
+
interface SidebarFooterProps extends react__default.HTMLAttributes<HTMLElement> {
|
|
918
|
+
children: react__default.ReactNode;
|
|
1001
919
|
}
|
|
1002
|
-
interface SidebarMobileTriggerProps extends Omit<
|
|
920
|
+
interface SidebarMobileTriggerProps extends Omit<react__default.ButtonHTMLAttributes<HTMLButtonElement>, 'type'> {
|
|
1003
921
|
label?: string;
|
|
1004
922
|
}
|
|
1005
923
|
|
|
1006
|
-
declare const SidebarRoot:
|
|
1007
|
-
declare const SidebarHeader:
|
|
1008
|
-
declare const SidebarTitle:
|
|
1009
|
-
declare const
|
|
1010
|
-
declare const
|
|
1011
|
-
declare const
|
|
1012
|
-
declare const
|
|
1013
|
-
declare const
|
|
1014
|
-
declare const
|
|
1015
|
-
declare const SidebarMobileTrigger: React.ForwardRefExoticComponent<SidebarMobileTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
924
|
+
declare const SidebarRoot: react.ForwardRefExoticComponent<SidebarProps & react.RefAttributes<HTMLElement>>;
|
|
925
|
+
declare const SidebarHeader: react.ForwardRefExoticComponent<SidebarHeaderProps & react.RefAttributes<HTMLElement>>;
|
|
926
|
+
declare const SidebarTitle: react.ForwardRefExoticComponent<SidebarTitleProps & react.RefAttributes<HTMLSpanElement>>;
|
|
927
|
+
declare const SidebarContent: react.ForwardRefExoticComponent<SidebarContentProps & react.RefAttributes<HTMLElement>>;
|
|
928
|
+
declare const SidebarGroup: react.ForwardRefExoticComponent<SidebarGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
929
|
+
declare const SidebarGroupLabel: react.ForwardRefExoticComponent<SidebarGroupLabelProps & react.RefAttributes<HTMLDivElement>>;
|
|
930
|
+
declare const SidebarItem: react.ForwardRefExoticComponent<SidebarItemProps & react.RefAttributes<HTMLButtonElement>>;
|
|
931
|
+
declare const SidebarFooter: react.ForwardRefExoticComponent<SidebarFooterProps & react.RefAttributes<HTMLElement>>;
|
|
932
|
+
declare const SidebarMobileTrigger: react.ForwardRefExoticComponent<SidebarMobileTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1016
933
|
type SidebarComponent = typeof SidebarRoot & {
|
|
1017
934
|
Root: typeof SidebarRoot;
|
|
1018
935
|
Header: typeof SidebarHeader;
|
|
1019
936
|
Title: typeof SidebarTitle;
|
|
1020
|
-
Collapse: typeof SidebarCollapse;
|
|
1021
937
|
Content: typeof SidebarContent;
|
|
1022
938
|
Group: typeof SidebarGroup;
|
|
1023
939
|
GroupLabel: typeof SidebarGroupLabel;
|
|
@@ -1033,13 +949,13 @@ interface SafeAreaProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
1033
949
|
padding?: string | number;
|
|
1034
950
|
fill?: boolean;
|
|
1035
951
|
as?: 'div' | 'main' | 'section' | 'header' | 'footer';
|
|
1036
|
-
children?:
|
|
952
|
+
children?: react__default.ReactNode;
|
|
1037
953
|
}
|
|
1038
954
|
|
|
1039
|
-
declare const SafeArea:
|
|
955
|
+
declare const SafeArea: react.ForwardRefExoticComponent<SafeAreaProps & react.RefAttributes<HTMLElement>>;
|
|
1040
956
|
|
|
1041
957
|
interface PullToRefreshProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
1042
|
-
children:
|
|
958
|
+
children: react__default.ReactNode;
|
|
1043
959
|
onRefresh: () => void | Promise<void>;
|
|
1044
960
|
threshold?: number;
|
|
1045
961
|
disabled?: boolean;
|
|
@@ -1048,16 +964,16 @@ interface PullToRefreshProps extends Omit<ComponentPropsWithoutRef<'div'>, 'chil
|
|
|
1048
964
|
refreshingLabel?: string;
|
|
1049
965
|
}
|
|
1050
966
|
|
|
1051
|
-
declare const PullToRefresh:
|
|
967
|
+
declare const PullToRefresh: react__default.ForwardRefExoticComponent<PullToRefreshProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
1052
968
|
|
|
1053
969
|
type TimelineItemStatus = 'default' | 'success' | 'warning' | 'error' | 'info';
|
|
1054
970
|
interface TimelineItem {
|
|
1055
971
|
id: string;
|
|
1056
|
-
title:
|
|
1057
|
-
description?:
|
|
1058
|
-
details?:
|
|
1059
|
-
time?:
|
|
1060
|
-
icon?:
|
|
972
|
+
title: react__default.ReactNode;
|
|
973
|
+
description?: react__default.ReactNode;
|
|
974
|
+
details?: react__default.ReactNode;
|
|
975
|
+
time?: react__default.ReactNode;
|
|
976
|
+
icon?: react__default.ReactNode;
|
|
1061
977
|
status?: TimelineItemStatus;
|
|
1062
978
|
}
|
|
1063
979
|
interface TimelineProps extends Omit<ComponentPropsWithoutRef<'ol'>, 'children'> {
|
|
@@ -1067,7 +983,7 @@ interface TimelineProps extends Omit<ComponentPropsWithoutRef<'ol'>, 'children'>
|
|
|
1067
983
|
defaultExpandedIds?: string[];
|
|
1068
984
|
}
|
|
1069
985
|
|
|
1070
|
-
declare const Timeline:
|
|
986
|
+
declare const Timeline: react.ForwardRefExoticComponent<TimelineProps & react.RefAttributes<HTMLOListElement>>;
|
|
1071
987
|
|
|
1072
988
|
type RangeValue = [number, number];
|
|
1073
989
|
type SliderSharedProps = Omit<ComponentPropsWithoutRef<'div'>, 'onChange' | 'defaultValue'> & {
|
|
@@ -1088,27 +1004,27 @@ type SliderRangeProps = SliderSharedProps & {
|
|
|
1088
1004
|
};
|
|
1089
1005
|
type SliderProps = SliderSingleProps | SliderRangeProps;
|
|
1090
1006
|
|
|
1091
|
-
declare const Slider:
|
|
1007
|
+
declare const Slider: react.ForwardRefExoticComponent<SliderProps & react.RefAttributes<HTMLDivElement>>;
|
|
1092
1008
|
|
|
1093
1009
|
type SpinnerVariant = 'spin' | 'typing' | 'dots' | 'pulse';
|
|
1094
1010
|
type SpinnerSize = 'sm' | 'md' | 'lg';
|
|
1095
1011
|
interface SpinnerProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
1096
1012
|
variant?: SpinnerVariant;
|
|
1097
1013
|
size?: number | SpinnerSize;
|
|
1098
|
-
label?:
|
|
1014
|
+
label?: react__default.ReactNode;
|
|
1099
1015
|
}
|
|
1100
1016
|
|
|
1101
|
-
declare const Spinner:
|
|
1017
|
+
declare const Spinner: react.ForwardRefExoticComponent<SpinnerProps & react.RefAttributes<HTMLDivElement>>;
|
|
1102
1018
|
|
|
1103
1019
|
type StepStatus = 'pending' | 'current' | 'complete' | 'error';
|
|
1104
1020
|
interface StepItem {
|
|
1105
1021
|
title: string;
|
|
1106
|
-
description?:
|
|
1022
|
+
description?: react__default.ReactNode;
|
|
1107
1023
|
status?: StepStatus;
|
|
1108
1024
|
disabled?: boolean;
|
|
1109
|
-
icon?:
|
|
1025
|
+
icon?: react__default.ReactNode;
|
|
1110
1026
|
}
|
|
1111
|
-
interface StepsProps extends Omit<
|
|
1027
|
+
interface StepsProps extends Omit<react__default.ComponentPropsWithoutRef<'ol'>, 'children'> {
|
|
1112
1028
|
currentStep: number;
|
|
1113
1029
|
items: StepItem[];
|
|
1114
1030
|
orientation?: 'horizontal' | 'vertical';
|
|
@@ -1117,7 +1033,7 @@ interface StepsProps extends Omit<React__default.ComponentPropsWithoutRef<'ol'>,
|
|
|
1117
1033
|
showConnectors?: boolean;
|
|
1118
1034
|
}
|
|
1119
1035
|
|
|
1120
|
-
declare const Steps:
|
|
1036
|
+
declare const Steps: react.ForwardRefExoticComponent<StepsProps & react.RefAttributes<HTMLOListElement>>;
|
|
1121
1037
|
|
|
1122
1038
|
type SwitchLabelSide = LabelSide;
|
|
1123
1039
|
interface SwitchProps extends Omit<ComponentPropsWithoutRef<'input'>, 'onChange' | 'size'> {
|
|
@@ -1131,7 +1047,7 @@ interface SwitchProps extends Omit<ComponentPropsWithoutRef<'input'>, 'onChange'
|
|
|
1131
1047
|
labelSide?: SwitchLabelSide;
|
|
1132
1048
|
}
|
|
1133
1049
|
|
|
1134
|
-
declare const Switch:
|
|
1050
|
+
declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLInputElement>>;
|
|
1135
1051
|
|
|
1136
1052
|
type TabsVariant = 'line' | 'pill';
|
|
1137
1053
|
type TabsOrientation = 'horizontal' | 'vertical';
|
|
@@ -1141,24 +1057,24 @@ interface TabsProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | '
|
|
|
1141
1057
|
onChange?: (id: string) => void;
|
|
1142
1058
|
variant?: TabsVariant;
|
|
1143
1059
|
orientation?: TabsOrientation;
|
|
1144
|
-
children:
|
|
1060
|
+
children: react__default.ReactNode;
|
|
1145
1061
|
}
|
|
1146
1062
|
type TabsListProps = ComponentPropsWithoutRef<'div'>;
|
|
1147
|
-
interface TabsTriggerProps extends Omit<
|
|
1063
|
+
interface TabsTriggerProps extends Omit<react__default.ButtonHTMLAttributes<HTMLButtonElement>, 'value'> {
|
|
1148
1064
|
value: string;
|
|
1149
|
-
badge?:
|
|
1065
|
+
badge?: react__default.ReactNode;
|
|
1150
1066
|
badgeDot?: boolean;
|
|
1151
1067
|
}
|
|
1152
|
-
interface TabsPanelProps extends
|
|
1068
|
+
interface TabsPanelProps extends react__default.HTMLAttributes<HTMLDivElement> {
|
|
1153
1069
|
value: string;
|
|
1154
1070
|
forceMount?: boolean;
|
|
1155
1071
|
}
|
|
1156
1072
|
|
|
1157
|
-
declare const TabsList:
|
|
1158
|
-
declare const TabsTrigger:
|
|
1159
|
-
declare const TabsPanel:
|
|
1160
|
-
declare const TabsRoot:
|
|
1161
|
-
type TabsComponent =
|
|
1073
|
+
declare const TabsList: react__default.ForwardRefExoticComponent<Omit<react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
1074
|
+
declare const TabsTrigger: react__default.ForwardRefExoticComponent<TabsTriggerProps & react__default.RefAttributes<HTMLButtonElement>>;
|
|
1075
|
+
declare const TabsPanel: react__default.ForwardRefExoticComponent<TabsPanelProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
1076
|
+
declare const TabsRoot: react__default.ForwardRefExoticComponent<TabsProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
1077
|
+
type TabsComponent = react__default.ForwardRefExoticComponent<TabsProps & react__default.RefAttributes<HTMLDivElement>> & {
|
|
1162
1078
|
Root: typeof TabsRoot;
|
|
1163
1079
|
List: typeof TabsList;
|
|
1164
1080
|
Trigger: typeof TabsTrigger;
|
|
@@ -1178,7 +1094,7 @@ interface TextProps extends Omit<TypeProps, 'color'> {
|
|
|
1178
1094
|
color?: 'primary' | 'secondary' | 'tertiary' | 'muted' | 'info' | 'success' | 'warning' | 'error' | 'disabled';
|
|
1179
1095
|
}
|
|
1180
1096
|
|
|
1181
|
-
declare const Text:
|
|
1097
|
+
declare const Text: react.ForwardRefExoticComponent<TextProps & react.RefAttributes<HTMLElement>>;
|
|
1182
1098
|
|
|
1183
1099
|
type PasswordStrength = 'empty' | 'weak' | 'fair' | 'good' | 'strong';
|
|
1184
1100
|
interface PasswordFieldProps extends Omit<TextFieldProps, 'type' | 'postfix'> {
|
|
@@ -1192,15 +1108,15 @@ interface PasswordFieldProps extends Omit<TextFieldProps, 'type' | 'postfix'> {
|
|
|
1192
1108
|
}
|
|
1193
1109
|
|
|
1194
1110
|
declare function getPasswordStrength(password: string): PasswordStrength;
|
|
1195
|
-
declare const PasswordField:
|
|
1111
|
+
declare const PasswordField: react.ForwardRefExoticComponent<Omit<PasswordFieldProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
1196
1112
|
|
|
1197
1113
|
type FormMessageVariant = 'error' | 'hint' | 'success';
|
|
1198
1114
|
interface FormMessageProps extends Omit<ComponentPropsWithoutRef<'p'>, 'color'> {
|
|
1199
1115
|
variant?: FormMessageVariant;
|
|
1200
|
-
children:
|
|
1116
|
+
children: react__default.ReactNode;
|
|
1201
1117
|
}
|
|
1202
1118
|
|
|
1203
|
-
declare const FormMessage:
|
|
1119
|
+
declare const FormMessage: react.ForwardRefExoticComponent<FormMessageProps & react.RefAttributes<HTMLParagraphElement>>;
|
|
1204
1120
|
|
|
1205
1121
|
interface TextareaFieldProps extends FieldBaseProps, Omit<ComponentPropsWithoutRef<'textarea'>, 'size' | 'width' | 'prefix' | keyof FieldBaseProps> {
|
|
1206
1122
|
wrapperClassName?: string;
|
|
@@ -1209,7 +1125,7 @@ interface TextareaFieldProps extends FieldBaseProps, Omit<ComponentPropsWithoutR
|
|
|
1209
1125
|
autoResize?: boolean;
|
|
1210
1126
|
}
|
|
1211
1127
|
|
|
1212
|
-
declare const TextareaField:
|
|
1128
|
+
declare const TextareaField: react.ForwardRefExoticComponent<TextareaFieldProps & react.RefAttributes<HTMLTextAreaElement>>;
|
|
1213
1129
|
|
|
1214
1130
|
type Theme = 'light' | 'dark';
|
|
1215
1131
|
type ThemeApplyTarget = 'wrapper' | 'document';
|
|
@@ -1218,7 +1134,7 @@ interface ThemeProviderProps extends Omit<ComponentPropsWithoutRef<'div'>, 'chil
|
|
|
1218
1134
|
theme?: Theme;
|
|
1219
1135
|
onThemeChange?: (theme: Theme) => void;
|
|
1220
1136
|
applyTo?: ThemeApplyTarget;
|
|
1221
|
-
children:
|
|
1137
|
+
children: react__default.ReactNode;
|
|
1222
1138
|
}
|
|
1223
1139
|
|
|
1224
1140
|
interface ThemeContextProps {
|
|
@@ -1227,7 +1143,7 @@ interface ThemeContextProps {
|
|
|
1227
1143
|
toggleTheme: () => void;
|
|
1228
1144
|
}
|
|
1229
1145
|
declare const useTheme: () => ThemeContextProps;
|
|
1230
|
-
declare const ThemeProvider:
|
|
1146
|
+
declare const ThemeProvider: react__default.ForwardRefExoticComponent<ThemeProviderProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
1231
1147
|
|
|
1232
1148
|
declare const ru: {
|
|
1233
1149
|
readonly common: {
|
|
@@ -1329,7 +1245,6 @@ declare const ru: {
|
|
|
1329
1245
|
readonly page: "Страница {page}";
|
|
1330
1246
|
readonly summary: "{start}–{end} из {total}";
|
|
1331
1247
|
readonly pageSizeLabel: "На странице";
|
|
1332
|
-
readonly pageSizeAria: "Размер страницы";
|
|
1333
1248
|
};
|
|
1334
1249
|
readonly sortable: {
|
|
1335
1250
|
readonly moveUp: "Переместить вверх";
|
|
@@ -1387,7 +1302,6 @@ declare const ru: {
|
|
|
1387
1302
|
};
|
|
1388
1303
|
};
|
|
1389
1304
|
readonly numberField: {
|
|
1390
|
-
readonly group: "Изменить значение";
|
|
1391
1305
|
readonly decrement: "Уменьшить";
|
|
1392
1306
|
readonly increment: "Увеличить";
|
|
1393
1307
|
};
|
|
@@ -1427,9 +1341,6 @@ declare const ru: {
|
|
|
1427
1341
|
readonly steps: {
|
|
1428
1342
|
readonly ariaLabel: "Шаги";
|
|
1429
1343
|
};
|
|
1430
|
-
readonly segmentedControl: {
|
|
1431
|
-
readonly ariaLabel: "Сегментированный контроль";
|
|
1432
|
-
};
|
|
1433
1344
|
readonly bubble: {
|
|
1434
1345
|
readonly expand: "Ещё";
|
|
1435
1346
|
readonly collapse: "Свернуть";
|
|
@@ -1481,6 +1392,14 @@ type DeepPartialMessagesValue<T> = T extends (infer U)[] ? U[] : T extends objec
|
|
|
1481
1392
|
[P in keyof T]?: DeepPartialMessagesValue<T[P]>;
|
|
1482
1393
|
} : T;
|
|
1483
1394
|
type LocaleCode = 'ru' | 'en';
|
|
1395
|
+
interface PluralMessage {
|
|
1396
|
+
one: string;
|
|
1397
|
+
few: string;
|
|
1398
|
+
many: string;
|
|
1399
|
+
}
|
|
1400
|
+
interface MessageTree {
|
|
1401
|
+
[key: string]: string | PluralMessage | readonly string[] | MessageTree;
|
|
1402
|
+
}
|
|
1484
1403
|
type TranslationParams = Record<string, string | number>;
|
|
1485
1404
|
|
|
1486
1405
|
declare const en: Messages;
|
|
@@ -1492,7 +1411,7 @@ interface LocaleContextValue {
|
|
|
1492
1411
|
messages: Messages;
|
|
1493
1412
|
t: TranslateFn;
|
|
1494
1413
|
}
|
|
1495
|
-
declare function useLocale(): LocaleContextValue;
|
|
1414
|
+
declare function useLocale(fallback?: MessageTree): LocaleContextValue;
|
|
1496
1415
|
declare function useT(): TranslateFn;
|
|
1497
1416
|
|
|
1498
1417
|
interface LocaleProviderProps {
|
|
@@ -1501,17 +1420,16 @@ interface LocaleProviderProps {
|
|
|
1501
1420
|
children: ReactNode;
|
|
1502
1421
|
}
|
|
1503
1422
|
|
|
1504
|
-
declare const LocaleProvider:
|
|
1423
|
+
declare const LocaleProvider: react__default.FC<LocaleProviderProps>;
|
|
1505
1424
|
|
|
1506
1425
|
interface TitleProps extends ComponentPropsWithoutRef<'h2'> {
|
|
1507
1426
|
level?: 1 | 2 | 3 | 4;
|
|
1508
1427
|
weight?: 'normal' | 'medium' | 'bold';
|
|
1509
1428
|
}
|
|
1510
1429
|
|
|
1511
|
-
declare const Title:
|
|
1430
|
+
declare const Title: react.ForwardRefExoticComponent<TitleProps & react.RefAttributes<HTMLHeadingElement>>;
|
|
1512
1431
|
|
|
1513
1432
|
type TooltipSide = AnchorSide;
|
|
1514
|
-
type TooltipPosition = TooltipSide;
|
|
1515
1433
|
type TooltipTriggerProps = {
|
|
1516
1434
|
className?: string;
|
|
1517
1435
|
'aria-describedby'?: string;
|
|
@@ -1519,7 +1437,6 @@ type TooltipTriggerProps = {
|
|
|
1519
1437
|
type TooltipBaseProps = {
|
|
1520
1438
|
content: ReactNode;
|
|
1521
1439
|
side?: TooltipSide;
|
|
1522
|
-
position?: TooltipSide;
|
|
1523
1440
|
className?: string;
|
|
1524
1441
|
open?: boolean;
|
|
1525
1442
|
defaultOpen?: boolean;
|
|
@@ -1528,14 +1445,12 @@ type TooltipBaseProps = {
|
|
|
1528
1445
|
closeDelay?: number;
|
|
1529
1446
|
disabled?: boolean;
|
|
1530
1447
|
wrap?: boolean;
|
|
1531
|
-
arrow?: boolean;
|
|
1532
1448
|
};
|
|
1533
1449
|
type TooltipProps = WithEnrichedChildren<TooltipBaseProps, TooltipTriggerProps>;
|
|
1534
1450
|
|
|
1535
|
-
declare const Tooltip:
|
|
1536
|
-
content:
|
|
1451
|
+
declare const Tooltip: react.ForwardRefExoticComponent<{
|
|
1452
|
+
content: ReactNode;
|
|
1537
1453
|
side?: TooltipSide;
|
|
1538
|
-
position?: TooltipSide;
|
|
1539
1454
|
className?: string;
|
|
1540
1455
|
open?: boolean;
|
|
1541
1456
|
defaultOpen?: boolean;
|
|
@@ -1544,32 +1459,31 @@ declare const Tooltip: React__default.ForwardRefExoticComponent<{
|
|
|
1544
1459
|
closeDelay?: number;
|
|
1545
1460
|
disabled?: boolean;
|
|
1546
1461
|
wrap?: boolean;
|
|
1547
|
-
arrow?: boolean;
|
|
1548
1462
|
} & {
|
|
1549
|
-
children:
|
|
1550
|
-
} &
|
|
1463
|
+
children: react.ReactElement<any, string | react.JSXElementConstructor<any>> | RenderChildrenFn<TooltipTriggerProps>;
|
|
1464
|
+
} & react.RefAttributes<HTMLElement>>;
|
|
1551
1465
|
|
|
1552
1466
|
interface UploadZoneProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'onChange'> {
|
|
1553
1467
|
onChange?: (files: FileList) => void;
|
|
1554
1468
|
multiple?: boolean;
|
|
1555
|
-
children?:
|
|
1469
|
+
children?: react__default.ReactNode | ((openFileDialog: () => void) => react__default.ReactNode);
|
|
1556
1470
|
readOnly?: boolean;
|
|
1557
1471
|
disabled?: boolean;
|
|
1558
1472
|
}
|
|
1559
1473
|
|
|
1560
|
-
declare const UploadZone:
|
|
1474
|
+
declare const UploadZone: react.ForwardRefExoticComponent<UploadZoneProps & react.RefAttributes<HTMLDivElement>>;
|
|
1561
1475
|
|
|
1562
1476
|
type SeparatorOrientation = 'horizontal' | 'vertical';
|
|
1563
1477
|
type SeparatorSpace = SpacingToken | number | string;
|
|
1564
1478
|
interface SeparatorProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
1565
1479
|
orientation?: SeparatorOrientation;
|
|
1566
1480
|
decorative?: boolean;
|
|
1567
|
-
children?:
|
|
1481
|
+
children?: react__default.ReactNode;
|
|
1568
1482
|
start?: SeparatorSpace;
|
|
1569
1483
|
end?: SeparatorSpace;
|
|
1570
1484
|
}
|
|
1571
1485
|
|
|
1572
|
-
declare const Separator:
|
|
1486
|
+
declare const Separator: react.ForwardRefExoticComponent<SeparatorProps & react.RefAttributes<HTMLDivElement>>;
|
|
1573
1487
|
|
|
1574
1488
|
type AlertVariant = 'info' | 'success' | 'warning' | 'error';
|
|
1575
1489
|
type AlertLayout = 'block' | 'inline';
|
|
@@ -1577,28 +1491,28 @@ interface AlertProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
|
|
|
1577
1491
|
variant?: AlertVariant;
|
|
1578
1492
|
size?: ControlSize;
|
|
1579
1493
|
layout?: AlertLayout;
|
|
1580
|
-
role?:
|
|
1581
|
-
title?:
|
|
1582
|
-
icon?:
|
|
1583
|
-
actions?:
|
|
1494
|
+
role?: react__default.AriaRole;
|
|
1495
|
+
title?: react__default.ReactNode;
|
|
1496
|
+
icon?: react__default.ReactNode | null;
|
|
1497
|
+
actions?: react__default.ReactNode;
|
|
1584
1498
|
onClose?: () => void;
|
|
1585
1499
|
closeLabel?: string;
|
|
1586
1500
|
}
|
|
1587
1501
|
|
|
1588
|
-
declare const Alert:
|
|
1502
|
+
declare const Alert: react.ForwardRefExoticComponent<AlertProps & react.RefAttributes<HTMLDivElement>>;
|
|
1589
1503
|
|
|
1590
1504
|
interface KbdProps extends ComponentPropsWithoutRef<'kbd'> {
|
|
1591
|
-
children:
|
|
1505
|
+
children: react__default.ReactNode;
|
|
1592
1506
|
symbol?: boolean;
|
|
1593
1507
|
}
|
|
1594
1508
|
interface KbdGroupProps extends ComponentPropsWithoutRef<'span'> {
|
|
1595
|
-
children:
|
|
1509
|
+
children: react__default.ReactNode;
|
|
1596
1510
|
}
|
|
1597
1511
|
|
|
1598
|
-
declare const Kbd:
|
|
1599
|
-
declare const KbdGroup:
|
|
1512
|
+
declare const Kbd: react.ForwardRefExoticComponent<KbdProps & react.RefAttributes<HTMLElement>>;
|
|
1513
|
+
declare const KbdGroup: react.ForwardRefExoticComponent<KbdGroupProps & react.RefAttributes<HTMLSpanElement>>;
|
|
1600
1514
|
|
|
1601
|
-
declare const Item:
|
|
1515
|
+
declare const Item: react.ForwardRefExoticComponent<ItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
1602
1516
|
|
|
1603
1517
|
type BubbleVariant = 'default' | 'outgoing' | 'incoming' | 'system';
|
|
1604
1518
|
type BubbleAlign = 'start' | 'end';
|
|
@@ -1609,11 +1523,11 @@ interface BubbleReaction {
|
|
|
1609
1523
|
onClick?: () => void;
|
|
1610
1524
|
}
|
|
1611
1525
|
interface BubbleProps extends Omit<ComponentPropsWithoutRef<'div'>, 'content'> {
|
|
1612
|
-
children:
|
|
1526
|
+
children: react__default.ReactNode;
|
|
1613
1527
|
variant?: BubbleVariant;
|
|
1614
1528
|
align?: BubbleAlign;
|
|
1615
1529
|
group?: 'single' | 'first' | 'middle' | 'last';
|
|
1616
|
-
meta?:
|
|
1530
|
+
meta?: react__default.ReactNode;
|
|
1617
1531
|
reactions?: BubbleReaction[];
|
|
1618
1532
|
collapsible?: boolean;
|
|
1619
1533
|
collapsedLines?: number;
|
|
@@ -1621,20 +1535,87 @@ interface BubbleProps extends Omit<ComponentPropsWithoutRef<'div'>, 'content'> {
|
|
|
1621
1535
|
collapseLabel?: string;
|
|
1622
1536
|
}
|
|
1623
1537
|
|
|
1624
|
-
declare const Bubble:
|
|
1538
|
+
declare const Bubble: react.ForwardRefExoticComponent<BubbleProps & react.RefAttributes<HTMLDivElement>>;
|
|
1625
1539
|
|
|
1626
1540
|
type MarkerVariant = 'default' | 'separator' | 'note' | 'row';
|
|
1627
1541
|
interface MarkerProps extends ComponentPropsWithoutRef<'div'> {
|
|
1628
|
-
children?:
|
|
1629
|
-
icon?:
|
|
1542
|
+
children?: react__default.ReactNode;
|
|
1543
|
+
icon?: react__default.ReactNode;
|
|
1630
1544
|
shimmer?: boolean;
|
|
1631
1545
|
variant?: MarkerVariant;
|
|
1632
1546
|
}
|
|
1633
1547
|
|
|
1634
|
-
declare const Marker:
|
|
1548
|
+
declare const Marker: react.ForwardRefExoticComponent<MarkerProps & react.RefAttributes<HTMLDivElement>>;
|
|
1549
|
+
|
|
1550
|
+
type BackdropVariant = 'default' | 'strong';
|
|
1551
|
+
type BackdropBlur = 'none' | 'sm' | 'md';
|
|
1552
|
+
type BackdropPosition = 'fixed' | 'absolute';
|
|
1553
|
+
interface BackdropProps extends Omit<ComponentPropsWithoutRef<'div'>, 'onClick'> {
|
|
1554
|
+
variant?: BackdropVariant;
|
|
1555
|
+
blur?: BackdropBlur;
|
|
1556
|
+
position?: BackdropPosition;
|
|
1557
|
+
onClick?: () => void;
|
|
1558
|
+
zIndex?: number;
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
declare const Backdrop: react.ForwardRefExoticComponent<BackdropProps & react.RefAttributes<HTMLDivElement>>;
|
|
1562
|
+
|
|
1563
|
+
type OverlayPurpose = 'tooltip' | 'popover' | 'dropdown' | 'modal' | 'sheet' | 'lightbox' | 'notification';
|
|
1564
|
+
|
|
1565
|
+
type OverlayVariant = 'modal' | 'sheet' | 'floating';
|
|
1566
|
+
type OverlaySheetSide = 'top' | 'bottom' | 'left' | 'right';
|
|
1567
|
+
|
|
1568
|
+
type OverlayDismiss = 'outside' | 'escape' | 'all' | 'none';
|
|
1569
|
+
type OverlayContentProps = Omit<react__default.HTMLAttributes<HTMLElement>, 'role' | 'color'> & {
|
|
1570
|
+
role?: string;
|
|
1571
|
+
'aria-modal'?: boolean | 'true' | 'false';
|
|
1572
|
+
'aria-label'?: string;
|
|
1573
|
+
'aria-labelledby'?: string;
|
|
1574
|
+
'aria-describedby'?: string;
|
|
1575
|
+
'data-side'?: AnchorSide;
|
|
1576
|
+
'data-kind'?: OverlayVariant;
|
|
1577
|
+
'data-presented'?: string;
|
|
1578
|
+
};
|
|
1579
|
+
type OverlayChildren = RenderChildrenFn<OverlayContentProps> | react__default.ReactElement;
|
|
1580
|
+
type OverlayBaseProps = {
|
|
1581
|
+
children: OverlayChildren;
|
|
1582
|
+
open: boolean;
|
|
1583
|
+
onOpenChange: (open: boolean) => void;
|
|
1584
|
+
className?: string;
|
|
1585
|
+
purpose?: OverlayPurpose;
|
|
1586
|
+
zIndex?: number | string;
|
|
1587
|
+
'aria-label'?: string;
|
|
1588
|
+
'aria-labelledby'?: string;
|
|
1589
|
+
'aria-describedby'?: string;
|
|
1590
|
+
role?: string;
|
|
1591
|
+
};
|
|
1592
|
+
type OverlayModalProps = OverlayBaseProps & {
|
|
1593
|
+
variant: 'modal';
|
|
1594
|
+
backdropVariant?: BackdropVariant;
|
|
1595
|
+
backdropBlur?: BackdropBlur;
|
|
1596
|
+
};
|
|
1597
|
+
type OverlayFloatingProps = OverlayBaseProps & {
|
|
1598
|
+
variant: 'floating';
|
|
1599
|
+
style?: react__default.CSSProperties;
|
|
1600
|
+
backdrop?: boolean;
|
|
1601
|
+
backdropVariant?: BackdropVariant;
|
|
1602
|
+
backdropBlur?: BackdropBlur;
|
|
1603
|
+
dismiss?: OverlayDismiss;
|
|
1604
|
+
lockScroll?: boolean;
|
|
1605
|
+
trapFocus?: boolean;
|
|
1606
|
+
};
|
|
1607
|
+
type OverlaySheetProps = OverlayBaseProps & {
|
|
1608
|
+
variant: 'sheet';
|
|
1609
|
+
side?: OverlaySheetSide;
|
|
1610
|
+
backdrop?: boolean;
|
|
1611
|
+
backdropVariant?: BackdropVariant;
|
|
1612
|
+
backdropBlur?: BackdropBlur;
|
|
1613
|
+
dismiss?: OverlayDismiss;
|
|
1614
|
+
};
|
|
1615
|
+
type OverlayProps = OverlayModalProps | OverlayFloatingProps | OverlaySheetProps;
|
|
1635
1616
|
|
|
1636
1617
|
type PopoverTriggerMode = 'click' | 'hover' | 'manual';
|
|
1637
|
-
type PopoverContentVariant = 'panel' | '
|
|
1618
|
+
type PopoverContentVariant = 'panel' | 'plain';
|
|
1638
1619
|
type PopoverTriggerSlotProps = {
|
|
1639
1620
|
className?: string;
|
|
1640
1621
|
'aria-expanded'?: boolean;
|
|
@@ -1642,7 +1623,7 @@ type PopoverTriggerSlotProps = {
|
|
|
1642
1623
|
'aria-controls'?: string;
|
|
1643
1624
|
'aria-describedby'?: string;
|
|
1644
1625
|
};
|
|
1645
|
-
interface PopoverProps
|
|
1626
|
+
interface PopoverProps {
|
|
1646
1627
|
children?: ReactNode;
|
|
1647
1628
|
renderTrigger: RenderChildrenFn<PopoverTriggerSlotProps>;
|
|
1648
1629
|
open?: boolean;
|
|
@@ -1650,31 +1631,57 @@ interface PopoverProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'>
|
|
|
1650
1631
|
onOpenChange?: (open: boolean) => void;
|
|
1651
1632
|
trigger?: PopoverTriggerMode;
|
|
1652
1633
|
disabled?: boolean;
|
|
1653
|
-
wrap?: boolean;
|
|
1654
1634
|
variant?: PopoverContentVariant;
|
|
1655
|
-
|
|
1656
|
-
panelClassName?: string;
|
|
1635
|
+
className?: string;
|
|
1657
1636
|
role?: AriaRole;
|
|
1658
1637
|
side?: AnchorSide;
|
|
1659
1638
|
align?: AnchorAlign;
|
|
1639
|
+
widthMode?: 'trigger' | 'content' | 'trigger-fit';
|
|
1660
1640
|
openDelay?: number;
|
|
1661
1641
|
closeDelay?: number;
|
|
1662
1642
|
dismiss?: OverlayDismiss;
|
|
1663
1643
|
}
|
|
1664
1644
|
|
|
1665
|
-
declare
|
|
1645
|
+
declare function Popover({ children, renderTrigger, open: controlledOpen, defaultOpen, onOpenChange, trigger, disabled, variant, className, role, side, align, widthMode, openDelay, closeDelay, dismiss, }: PopoverProps): react.JSX.Element;
|
|
1646
|
+
declare namespace Popover {
|
|
1647
|
+
var displayName: string;
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
interface PopupSwitchOption<T extends string | number = string> {
|
|
1651
|
+
value: T;
|
|
1652
|
+
label: string;
|
|
1653
|
+
icon?: ReactNode;
|
|
1654
|
+
}
|
|
1655
|
+
type PopupSwitchVariant = 'secondary' | 'tinted' | 'ghost';
|
|
1656
|
+
type PopupSwitchAlign = 'start' | 'center';
|
|
1657
|
+
interface PopupSwitchProps<T extends string | number = string> {
|
|
1658
|
+
value: T;
|
|
1659
|
+
options: Array<PopupSwitchOption<T>>;
|
|
1660
|
+
onChange: (value: T) => void;
|
|
1661
|
+
disabled?: boolean;
|
|
1662
|
+
className?: string;
|
|
1663
|
+
placeholder?: string;
|
|
1664
|
+
size?: ControlSize;
|
|
1665
|
+
variant?: PopupSwitchVariant;
|
|
1666
|
+
align?: PopupSwitchAlign;
|
|
1667
|
+
'aria-label'?: string;
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
declare const PopupSwitch: <T extends string | number = string>(props: PopupSwitchProps<T> & {
|
|
1671
|
+
ref?: react__default.Ref<HTMLButtonElement>;
|
|
1672
|
+
}) => react__default.ReactElement;
|
|
1666
1673
|
|
|
1667
|
-
declare const ActionList:
|
|
1674
|
+
declare const ActionList: react.ForwardRefExoticComponent<ActionListProps & react.RefAttributes<ActionListHandle>>;
|
|
1668
1675
|
|
|
1669
1676
|
interface ActionSheetTriggerProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
1670
|
-
children:
|
|
1677
|
+
children: react__default.ReactNode;
|
|
1671
1678
|
showOverflowTrigger?: boolean;
|
|
1672
1679
|
longPressMs?: number;
|
|
1673
1680
|
moveThreshold?: number;
|
|
1674
1681
|
disabled?: boolean;
|
|
1675
1682
|
}
|
|
1676
1683
|
|
|
1677
|
-
declare const ActionSheetTrigger:
|
|
1684
|
+
declare const ActionSheetTrigger: react.ForwardRefExoticComponent<ActionSheetTriggerProps & react.RefAttributes<HTMLDivElement>>;
|
|
1678
1685
|
|
|
1679
1686
|
type OverflowDisplay = 'icon' | 'icon-label';
|
|
1680
1687
|
type OverflowItemDomProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'onClick' | 'type' | 'color'>;
|
|
@@ -1706,117 +1713,70 @@ interface OverflowProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'
|
|
|
1706
1713
|
moreLabel?: string;
|
|
1707
1714
|
}
|
|
1708
1715
|
|
|
1709
|
-
declare const OverflowItem:
|
|
1710
|
-
|
|
1711
|
-
type OverflowComponent = React__default.ForwardRefExoticComponent<OverflowProps & React__default.RefAttributes<HTMLDivElement>> & {
|
|
1716
|
+
declare const OverflowItem: FC<OverflowItemProps>;
|
|
1717
|
+
type OverflowComponent = ForwardRefExoticComponent<OverflowProps & RefAttributes<HTMLDivElement>> & {
|
|
1712
1718
|
Item: typeof OverflowItem;
|
|
1713
1719
|
};
|
|
1714
1720
|
declare const Overflow: OverflowComponent;
|
|
1715
1721
|
|
|
1716
|
-
type
|
|
1717
|
-
type
|
|
1718
|
-
interface
|
|
1719
|
-
|
|
1720
|
-
triggerAttrs: DropdownTriggerAttrs;
|
|
1721
|
-
open: boolean;
|
|
1722
|
-
disabled: boolean;
|
|
1723
|
-
readOnly: boolean;
|
|
1724
|
-
interactive: boolean;
|
|
1725
|
-
selectionMode: CustomSelectSelectionMode;
|
|
1726
|
-
value: string | string[];
|
|
1727
|
-
selectedOptions: CustomSelectOption[];
|
|
1728
|
-
listboxId: string;
|
|
1729
|
-
setOpen: (open: boolean) => void;
|
|
1730
|
-
clearValue: () => void;
|
|
1731
|
-
removeOption: (optionValue: string) => void;
|
|
1732
|
-
}
|
|
1733
|
-
|
|
1734
|
-
interface CustomSelectChevronProps extends Omit<SVGProps<SVGSVGElement>, 'children' | 'viewBox'> {
|
|
1735
|
-
open?: boolean;
|
|
1736
|
-
readOnly?: boolean;
|
|
1737
|
-
arrowClassName?: string;
|
|
1738
|
-
arrowOpenClassName?: string;
|
|
1739
|
-
readOnlyArrowClassName?: string;
|
|
1740
|
-
}
|
|
1741
|
-
interface CustomSelectPlaceholderProps extends Omit<React__default.HTMLAttributes<HTMLSpanElement>, 'children'> {
|
|
1742
|
-
children?: ReactNode;
|
|
1743
|
-
}
|
|
1744
|
-
interface CustomSelectShellProps extends FieldBaseProps, Omit<React__default.HTMLAttributes<HTMLDivElement>, 'children' | 'className' | 'prefix' | keyof FieldBaseProps> {
|
|
1745
|
-
triggerRef: React__default.LegacyRef<HTMLDivElement>;
|
|
1746
|
-
triggerAttrs: DropdownTriggerAttrs;
|
|
1747
|
-
id: string;
|
|
1748
|
-
open: boolean;
|
|
1749
|
-
isInteractive: boolean;
|
|
1750
|
-
hasValue: boolean;
|
|
1751
|
-
className?: string;
|
|
1752
|
-
popupRole?: 'listbox' | 'tree' | 'dialog' | 'menu';
|
|
1753
|
-
children: ReactNode;
|
|
1754
|
-
sizerContent?: ReactNode;
|
|
1755
|
-
triggerClassName?: string;
|
|
1756
|
-
triggerAs?: 'button' | 'div';
|
|
1757
|
-
triggerProps?: Omit<React__default.HTMLAttributes<HTMLElement>, 'id' | 'className' | 'children' | 'onClick' | 'onKeyDown'>;
|
|
1758
|
-
wrapperProps?: React__default.HTMLAttributes<HTMLDivElement>;
|
|
1759
|
-
}
|
|
1760
|
-
interface CustomSelectFilterProps extends Omit<TextFieldProps, 'value' | 'type' | 'prefix' | 'label'> {
|
|
1761
|
-
autoFocus?: boolean;
|
|
1762
|
-
label?: string;
|
|
1763
|
-
}
|
|
1764
|
-
interface CustomSelectListProps extends Omit<ListboxProps, 'options' | 'groups' | 'value' | 'onSelect' | 'multiple' | 'id'> {
|
|
1765
|
-
options?: CustomSelectOption[];
|
|
1722
|
+
type SelectOption = ListboxOption;
|
|
1723
|
+
type SelectSelectionMode = 'single' | 'multiple' | 'path';
|
|
1724
|
+
interface SelectProps extends FieldBaseProps {
|
|
1725
|
+
options: SelectOption[];
|
|
1766
1726
|
groups?: ListboxGroup[];
|
|
1767
|
-
|
|
1768
|
-
}
|
|
1769
|
-
interface CustomSelectRootProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'onChange' | 'value' | 'defaultValue'> {
|
|
1770
|
-
children: ReactNode;
|
|
1771
|
-
options: CustomSelectOption[];
|
|
1772
|
-
groups?: ListboxGroup[];
|
|
1773
|
-
selectionMode?: CustomSelectSelectionMode;
|
|
1727
|
+
selectionMode?: SelectSelectionMode;
|
|
1774
1728
|
value?: string | string[];
|
|
1775
1729
|
defaultValue?: string | string[];
|
|
1776
1730
|
onChange?: (value: string | string[]) => void;
|
|
1777
1731
|
open?: boolean;
|
|
1778
1732
|
defaultOpen?: boolean;
|
|
1779
1733
|
onOpenChange?: (open: boolean) => void;
|
|
1780
|
-
disabled?: boolean;
|
|
1781
|
-
readOnly?: boolean;
|
|
1782
1734
|
closeOnSelect?: boolean;
|
|
1783
|
-
filterFn?: ListboxFilterFn<
|
|
1735
|
+
filterFn?: ListboxFilterFn<SelectOption>;
|
|
1784
1736
|
filterQuery?: string;
|
|
1785
1737
|
defaultFilterQuery?: string;
|
|
1786
1738
|
onFilterQueryChange?: (query: string) => void;
|
|
1787
|
-
renderTarget: (ctx: CustomSelectRenderTargetContext) => ReactNode;
|
|
1788
|
-
align?: DropdownProps['align'];
|
|
1789
|
-
widthMode?: DropdownProps['widthMode'];
|
|
1790
|
-
triggerMode?: DropdownProps['triggerMode'];
|
|
1791
|
-
mobileTitle?: ReactNode;
|
|
1792
|
-
mobileLeftControls?: ReactNode;
|
|
1793
|
-
mobileRightControls?: ReactNode;
|
|
1794
|
-
panelScroll?: DropdownProps['panelScroll'];
|
|
1795
|
-
}
|
|
1796
|
-
|
|
1797
|
-
declare const CustomSelect: React__default.ForwardRefExoticComponent<CustomSelectRootProps & React__default.RefAttributes<HTMLDivElement>> & {
|
|
1798
|
-
Root: React__default.ForwardRefExoticComponent<CustomSelectRootProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1799
|
-
Filter: React__default.ForwardRefExoticComponent<Omit<CustomSelectFilterProps, "ref"> & React__default.RefAttributes<HTMLInputElement>>;
|
|
1800
|
-
List: React__default.ForwardRefExoticComponent<CustomSelectListProps & React__default.RefAttributes<ListboxHandle>>;
|
|
1801
|
-
Shell: React__default.ForwardRefExoticComponent<CustomSelectShellProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1802
|
-
Chevron: React__default.ForwardRefExoticComponent<Omit<CustomSelectChevronProps, "ref"> & React__default.RefAttributes<SVGSVGElement>>;
|
|
1803
|
-
Placeholder: React__default.ForwardRefExoticComponent<CustomSelectPlaceholderProps & React__default.RefAttributes<HTMLSpanElement>>;
|
|
1804
|
-
};
|
|
1805
|
-
|
|
1806
|
-
type SelectOption = CustomSelectOption;
|
|
1807
|
-
interface SelectProps extends Omit<CustomSelectRootProps, 'renderTarget' | 'children' | 'prefix'>, Omit<FieldBaseProps, 'disabled' | 'readOnly'> {
|
|
1808
1739
|
placeholder?: string;
|
|
1809
1740
|
loading?: boolean;
|
|
1810
1741
|
separator?: string;
|
|
1811
1742
|
popupRole?: 'listbox' | 'tree' | 'dialog' | 'menu';
|
|
1812
1743
|
filterable?: boolean;
|
|
1813
1744
|
filterPlaceholder?: string;
|
|
1745
|
+
align?: DropdownAlign;
|
|
1746
|
+
widthMode?: DropdownWidthMode;
|
|
1747
|
+
triggerMode?: DropdownTriggerMode;
|
|
1748
|
+
mobileTitle?: ReactNode;
|
|
1749
|
+
mobileLeftControls?: ReactNode;
|
|
1750
|
+
mobileRightControls?: ReactNode;
|
|
1751
|
+
panelScroll?: DropdownPanelScroll;
|
|
1752
|
+
navigation?: ListboxNavigation;
|
|
1753
|
+
highlightedIndex?: number;
|
|
1754
|
+
onHighlightChange?: (index: number) => void;
|
|
1755
|
+
showCheck?: boolean;
|
|
1756
|
+
noOptionsText?: string;
|
|
1757
|
+
preventOptionMouseDown?: boolean;
|
|
1758
|
+
listAriaLabel?: string;
|
|
1759
|
+
combobox?: boolean;
|
|
1760
|
+
onComboboxEnter?: () => void;
|
|
1761
|
+
onComboboxEscape?: () => void;
|
|
1762
|
+
inputRef?: Ref<HTMLInputElement>;
|
|
1763
|
+
popupClassName?: string;
|
|
1764
|
+
className?: string;
|
|
1765
|
+
id?: string;
|
|
1766
|
+
name?: string;
|
|
1767
|
+
required?: boolean;
|
|
1768
|
+
'aria-label'?: string;
|
|
1769
|
+
onFocus?: react__default.FocusEventHandler<HTMLInputElement>;
|
|
1770
|
+
onBlur?: react__default.FocusEventHandler<HTMLInputElement>;
|
|
1771
|
+
onClick?: react__default.MouseEventHandler<HTMLInputElement>;
|
|
1772
|
+
onKeyDown?: react__default.KeyboardEventHandler<HTMLInputElement>;
|
|
1773
|
+
wrapperProps?: Omit<react__default.HTMLAttributes<HTMLDivElement>, 'className' | 'onChange' | 'prefix' | 'onFocus' | 'onBlur' | 'onClick' | 'onKeyDown'>;
|
|
1814
1774
|
}
|
|
1815
1775
|
|
|
1816
|
-
declare const Select:
|
|
1776
|
+
declare const Select: react__default.ForwardRefExoticComponent<SelectProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
1817
1777
|
|
|
1818
|
-
type SuggestFieldOption =
|
|
1819
|
-
interface SuggestFieldProps extends FieldBaseProps, Omit<
|
|
1778
|
+
type SuggestFieldOption = SelectOption;
|
|
1779
|
+
interface SuggestFieldProps extends FieldBaseProps, Omit<react__default.HTMLAttributes<HTMLDivElement>, 'className' | 'onChange' | 'prefix' | 'onFocus' | 'onBlur' | 'onClick' | 'onKeyDown' | keyof FieldBaseProps> {
|
|
1820
1780
|
options: SuggestFieldOption[];
|
|
1821
1781
|
value?: string;
|
|
1822
1782
|
defaultValue?: string;
|
|
@@ -1828,20 +1788,23 @@ interface SuggestFieldProps extends FieldBaseProps, Omit<React__default.HTMLAttr
|
|
|
1828
1788
|
filterFn?: ListboxFilterFn<SuggestFieldOption>;
|
|
1829
1789
|
noOptionsText?: string;
|
|
1830
1790
|
onChange?: (value: string) => void;
|
|
1831
|
-
onFocus?:
|
|
1832
|
-
onBlur?:
|
|
1833
|
-
onClick?:
|
|
1834
|
-
onKeyDown?:
|
|
1791
|
+
onFocus?: react__default.FocusEventHandler<HTMLInputElement>;
|
|
1792
|
+
onBlur?: react__default.FocusEventHandler<HTMLInputElement>;
|
|
1793
|
+
onClick?: react__default.MouseEventHandler<HTMLInputElement>;
|
|
1794
|
+
onKeyDown?: react__default.KeyboardEventHandler<HTMLInputElement>;
|
|
1835
1795
|
}
|
|
1836
1796
|
|
|
1837
|
-
declare const SuggestField:
|
|
1797
|
+
declare const SuggestField: react.ForwardRefExoticComponent<SuggestFieldProps & react.RefAttributes<HTMLInputElement>>;
|
|
1838
1798
|
|
|
1839
1799
|
type LayoutGap = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
1840
1800
|
type LayoutAlign = 'start' | 'center' | 'end' | 'baseline' | 'stretch';
|
|
1841
1801
|
type LayoutJustify = 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
|
1802
|
+
type LayoutSpacing = 'sm' | 'md' | 'lg';
|
|
1842
1803
|
interface LayoutRootProps extends ComponentPropsWithoutRef<'div'> {
|
|
1843
1804
|
children?: ReactNode;
|
|
1844
1805
|
as?: ElementType;
|
|
1806
|
+
padding?: LayoutSpacing;
|
|
1807
|
+
gap?: LayoutSpacing;
|
|
1845
1808
|
}
|
|
1846
1809
|
interface LayoutHeaderProps extends ComponentPropsWithoutRef<'header'> {
|
|
1847
1810
|
children?: ReactNode;
|
|
@@ -1893,34 +1856,28 @@ interface ControlRowProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
1893
1856
|
wrap?: boolean;
|
|
1894
1857
|
}
|
|
1895
1858
|
|
|
1896
|
-
declare const LayoutItem:
|
|
1859
|
+
declare const LayoutItem: react.ForwardRefExoticComponent<LayoutItemProps & react.RefAttributes<HTMLElement>>;
|
|
1897
1860
|
|
|
1898
|
-
declare const Stack:
|
|
1861
|
+
declare const Stack: react.ForwardRefExoticComponent<StackProps & react.RefAttributes<HTMLElement>>;
|
|
1899
1862
|
|
|
1900
|
-
declare const Inline:
|
|
1863
|
+
declare const Inline: react.ForwardRefExoticComponent<InlineProps & react.RefAttributes<HTMLElement>>;
|
|
1901
1864
|
|
|
1902
|
-
declare const Split:
|
|
1865
|
+
declare const Split: react.ForwardRefExoticComponent<SplitProps & react.RefAttributes<HTMLDivElement>>;
|
|
1903
1866
|
|
|
1904
1867
|
type ControlRowComponent = typeof ControlRowInner & {
|
|
1905
1868
|
Item: typeof LayoutItem;
|
|
1906
1869
|
};
|
|
1907
|
-
declare const ControlRowInner:
|
|
1870
|
+
declare const ControlRowInner: react.ForwardRefExoticComponent<ControlRowProps & react.RefAttributes<HTMLDivElement>>;
|
|
1908
1871
|
declare const ControlRow: ControlRowComponent;
|
|
1909
1872
|
|
|
1910
|
-
declare const LayoutRoot:
|
|
1911
|
-
declare const LayoutHeader:
|
|
1912
|
-
declare const LayoutContent:
|
|
1913
|
-
declare const LayoutFooter:
|
|
1914
|
-
declare const Layout:
|
|
1915
|
-
Header:
|
|
1916
|
-
Content:
|
|
1917
|
-
Footer:
|
|
1918
|
-
Inline: React.ForwardRefExoticComponent<InlineProps & React.RefAttributes<HTMLElement>>;
|
|
1919
|
-
Split: React.ForwardRefExoticComponent<SplitProps & React.RefAttributes<HTMLDivElement>>;
|
|
1920
|
-
ControlRow: React.ForwardRefExoticComponent<ControlRowProps & React.RefAttributes<HTMLDivElement>> & {
|
|
1921
|
-
Item: typeof LayoutItem;
|
|
1922
|
-
};
|
|
1923
|
-
Item: React.ForwardRefExoticComponent<LayoutItemProps & React.RefAttributes<HTMLElement>>;
|
|
1873
|
+
declare const LayoutRoot: react.ForwardRefExoticComponent<LayoutRootProps & react.RefAttributes<HTMLElement>>;
|
|
1874
|
+
declare const LayoutHeader: react.ForwardRefExoticComponent<LayoutHeaderProps & react.RefAttributes<HTMLElement>>;
|
|
1875
|
+
declare const LayoutContent: react.ForwardRefExoticComponent<LayoutContentProps & react.RefAttributes<HTMLElement>>;
|
|
1876
|
+
declare const LayoutFooter: react.ForwardRefExoticComponent<LayoutFooterProps & react.RefAttributes<HTMLElement>>;
|
|
1877
|
+
declare const Layout: react.ForwardRefExoticComponent<LayoutRootProps & react.RefAttributes<HTMLElement>> & {
|
|
1878
|
+
Header: react.ForwardRefExoticComponent<LayoutHeaderProps & react.RefAttributes<HTMLElement>>;
|
|
1879
|
+
Content: react.ForwardRefExoticComponent<LayoutContentProps & react.RefAttributes<HTMLElement>>;
|
|
1880
|
+
Footer: react.ForwardRefExoticComponent<LayoutFooterProps & react.RefAttributes<HTMLElement>>;
|
|
1924
1881
|
};
|
|
1925
1882
|
|
|
1926
1883
|
interface AdaptiveValue<T> {
|
|
@@ -1945,7 +1902,7 @@ interface GridProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
|
1945
1902
|
gap?: number | string | AdaptiveValue<number | string>;
|
|
1946
1903
|
mode?: GridMode;
|
|
1947
1904
|
minColumnWidth?: number | string;
|
|
1948
|
-
children:
|
|
1905
|
+
children: react__default.ReactNode;
|
|
1949
1906
|
className?: string;
|
|
1950
1907
|
as?: 'div' | 'section' | 'ul' | 'ol';
|
|
1951
1908
|
}
|
|
@@ -1954,17 +1911,17 @@ interface GridItemProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'
|
|
|
1954
1911
|
colStart?: number | AdaptiveValue<number>;
|
|
1955
1912
|
colEnd?: number | AdaptiveValue<number>;
|
|
1956
1913
|
rowSpan?: number | AdaptiveValue<number>;
|
|
1957
|
-
children?:
|
|
1914
|
+
children?: react__default.ReactNode;
|
|
1958
1915
|
className?: string;
|
|
1959
1916
|
as?: 'div' | 'section' | 'article' | 'aside' | 'li';
|
|
1960
1917
|
}
|
|
1961
1918
|
|
|
1962
|
-
declare const Grid:
|
|
1963
|
-
declare const GridItem:
|
|
1919
|
+
declare const Grid: react.ForwardRefExoticComponent<GridProps & react.RefAttributes<HTMLElement>>;
|
|
1920
|
+
declare const GridItem: react.ForwardRefExoticComponent<GridItemProps & react.RefAttributes<HTMLElement>>;
|
|
1964
1921
|
|
|
1965
1922
|
type ContainerSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
1966
1923
|
interface ContainerProps extends ComponentPropsWithoutRef<'div'> {
|
|
1967
|
-
children:
|
|
1924
|
+
children: react__default.ReactNode;
|
|
1968
1925
|
size?: ContainerSize;
|
|
1969
1926
|
padded?: boolean;
|
|
1970
1927
|
as?: 'div' | 'section' | 'main' | 'article';
|
|
@@ -1973,87 +1930,48 @@ interface PageProps extends Omit<ContainerProps, 'as'> {
|
|
|
1973
1930
|
verticalPadding?: boolean;
|
|
1974
1931
|
}
|
|
1975
1932
|
|
|
1976
|
-
declare const Container:
|
|
1977
|
-
declare const Page:
|
|
1933
|
+
declare const Container: react.ForwardRefExoticComponent<ContainerProps & react.RefAttributes<HTMLElement>>;
|
|
1934
|
+
declare const Page: react.ForwardRefExoticComponent<PageProps & react.RefAttributes<HTMLDivElement>>;
|
|
1978
1935
|
|
|
1979
|
-
interface
|
|
1980
|
-
onClose
|
|
1981
|
-
titleId: string;
|
|
1982
|
-
onDragHandlePointerDown?: (event: React__default.PointerEvent) => void;
|
|
1983
|
-
children: React__default.ReactNode;
|
|
1984
|
-
}
|
|
1985
|
-
interface DialogHeaderProps extends Omit<ComponentPropsWithoutRef<'header'>, 'children'> {
|
|
1986
|
-
children?: React__default.ReactNode;
|
|
1936
|
+
interface DialogLayoutProps extends BoxProps {
|
|
1937
|
+
onClose?: () => void;
|
|
1987
1938
|
showClose?: boolean;
|
|
1988
|
-
|
|
1989
|
-
}
|
|
1990
|
-
interface DialogTitleProps extends Omit<ComponentPropsWithoutRef<'h3'>, 'children'> {
|
|
1991
|
-
children: React__default.ReactNode;
|
|
1992
|
-
as?: 'h2' | 'h3' | 'h4';
|
|
1993
|
-
}
|
|
1994
|
-
interface DialogCloseProps extends Omit<ComponentPropsWithoutRef<'button'>, 'children'> {
|
|
1995
|
-
'aria-label'?: string;
|
|
1996
|
-
'data-drag-ignore'?: string;
|
|
1997
|
-
}
|
|
1998
|
-
interface DialogBodyProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
1999
|
-
children?: React__default.ReactNode;
|
|
2000
|
-
}
|
|
2001
|
-
type DialogFooterAlign = 'start' | 'center' | 'end' | 'space-between';
|
|
2002
|
-
interface DialogFooterProps extends Omit<ComponentPropsWithoutRef<'footer'>, 'align' | 'children'> {
|
|
2003
|
-
children?: React__default.ReactNode;
|
|
2004
|
-
align?: DialogFooterAlign;
|
|
2005
|
-
}
|
|
2006
|
-
interface DialogSurfaceProps extends BoxProps {
|
|
2007
|
-
onClose: () => void;
|
|
2008
|
-
titleId: string;
|
|
2009
|
-
onDragHandlePointerDown?: (event: React__default.PointerEvent) => void;
|
|
1939
|
+
closeLabel?: string;
|
|
2010
1940
|
}
|
|
2011
1941
|
|
|
2012
|
-
declare
|
|
2013
|
-
declare namespace DialogBaseProvider {
|
|
2014
|
-
var displayName: string;
|
|
2015
|
-
}
|
|
2016
|
-
declare const DialogBase: {
|
|
2017
|
-
Provider: typeof DialogBaseProvider;
|
|
2018
|
-
Surface: React.ForwardRefExoticComponent<DialogSurfaceProps & React.RefAttributes<HTMLElement>>;
|
|
2019
|
-
Header: React.ForwardRefExoticComponent<DialogHeaderProps & React.RefAttributes<HTMLElement>>;
|
|
2020
|
-
Title: React.ForwardRefExoticComponent<DialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
2021
|
-
Close: React.ForwardRefExoticComponent<DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
2022
|
-
Body: React.ForwardRefExoticComponent<DialogBodyProps & React.RefAttributes<HTMLElement>>;
|
|
2023
|
-
Footer: React.ForwardRefExoticComponent<DialogFooterProps & React.RefAttributes<HTMLElement>>;
|
|
2024
|
-
};
|
|
1942
|
+
declare const DialogLayout: react.ForwardRefExoticComponent<DialogLayoutProps & react.RefAttributes<HTMLElement>>;
|
|
2025
1943
|
|
|
2026
|
-
type ModalFooterAlign =
|
|
2027
|
-
interface ModalRootProps extends Omit<
|
|
1944
|
+
type ModalFooterAlign = 'start' | 'center' | 'end' | 'space-between';
|
|
1945
|
+
interface ModalRootProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title' | 'children'> {
|
|
2028
1946
|
open: boolean;
|
|
2029
1947
|
onOpenChange: (open: boolean) => void;
|
|
2030
|
-
children:
|
|
1948
|
+
children: ReactNode;
|
|
2031
1949
|
className?: string;
|
|
1950
|
+
showClose?: boolean;
|
|
2032
1951
|
'aria-labelledby'?: string;
|
|
2033
1952
|
'aria-label'?: string;
|
|
2034
1953
|
'aria-describedby'?: string;
|
|
2035
1954
|
}
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
1955
|
+
interface ModalHeaderProps extends Omit<ComponentPropsWithoutRef<'header'>, 'children'> {
|
|
1956
|
+
children?: ReactNode;
|
|
1957
|
+
}
|
|
1958
|
+
interface ModalBodyProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
1959
|
+
children?: ReactNode;
|
|
1960
|
+
}
|
|
1961
|
+
interface ModalFooterProps extends Omit<ComponentPropsWithoutRef<'footer'>, 'align' | 'children'> {
|
|
1962
|
+
children?: ReactNode;
|
|
2044
1963
|
align?: ModalFooterAlign;
|
|
2045
|
-
children?: React__default.ReactNode;
|
|
2046
1964
|
}
|
|
2047
1965
|
type ModalProps = ModalRootProps;
|
|
2048
1966
|
|
|
2049
|
-
declare const
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
1967
|
+
declare const ModalHeader: react.ForwardRefExoticComponent<ModalHeaderProps & react.RefAttributes<HTMLElement>>;
|
|
1968
|
+
declare const ModalBody: react.ForwardRefExoticComponent<ModalBodyProps & react.RefAttributes<HTMLElement>>;
|
|
1969
|
+
declare const ModalFooter: react.ForwardRefExoticComponent<ModalFooterProps & react.RefAttributes<HTMLElement>>;
|
|
1970
|
+
declare const ModalRoot: react.ForwardRefExoticComponent<ModalRootProps & react.RefAttributes<HTMLElement>>;
|
|
1971
|
+
type ModalComponent = typeof ModalRoot & {
|
|
1972
|
+
Header: typeof ModalHeader;
|
|
1973
|
+
Body: typeof ModalBody;
|
|
1974
|
+
Footer: typeof ModalFooter;
|
|
2057
1975
|
};
|
|
2058
1976
|
declare const Modal: ModalComponent;
|
|
2059
1977
|
|
|
@@ -2061,7 +1979,7 @@ type OverlayZIndexTier = 'overlay' | 'modal' | 'dropdown' | 'lightbox' | 'notifi
|
|
|
2061
1979
|
|
|
2062
1980
|
type SheetMode = 'auto' | 'sidebar' | 'sheet';
|
|
2063
1981
|
type SheetDirection = 'start' | 'end';
|
|
2064
|
-
type SheetFooterAlign =
|
|
1982
|
+
type SheetFooterAlign = 'start' | 'center' | 'end' | 'space-between';
|
|
2065
1983
|
interface SheetProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
2066
1984
|
open: boolean;
|
|
2067
1985
|
onOpenChange: (open: boolean) => void;
|
|
@@ -2086,15 +2004,6 @@ interface SheetHeaderProps extends HTMLAttributes<HTMLElement> {
|
|
|
2086
2004
|
rightControls?: ReactNode;
|
|
2087
2005
|
showClose?: boolean;
|
|
2088
2006
|
}
|
|
2089
|
-
interface SheetTitleProps extends Omit<HTMLAttributes<HTMLHeadingElement>, 'children' | 'className'> {
|
|
2090
|
-
children: ReactNode;
|
|
2091
|
-
className?: string;
|
|
2092
|
-
as?: 'h2' | 'h3' | 'h4';
|
|
2093
|
-
}
|
|
2094
|
-
interface SheetCloseProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'className' | 'onClick' | 'type'> {
|
|
2095
|
-
className?: string;
|
|
2096
|
-
'aria-label'?: string;
|
|
2097
|
-
}
|
|
2098
2007
|
interface SheetBodyProps extends HTMLAttributes<HTMLElement> {
|
|
2099
2008
|
children?: ReactNode;
|
|
2100
2009
|
className?: string;
|
|
@@ -2106,15 +2015,14 @@ interface SheetFooterProps extends Omit<HTMLAttributes<HTMLElement>, 'align'> {
|
|
|
2106
2015
|
align?: SheetFooterAlign;
|
|
2107
2016
|
}
|
|
2108
2017
|
|
|
2109
|
-
declare const SheetHeader:
|
|
2110
|
-
declare const SheetBody:
|
|
2111
|
-
declare const
|
|
2018
|
+
declare const SheetHeader: react.ForwardRefExoticComponent<SheetHeaderProps & react.RefAttributes<HTMLElement>>;
|
|
2019
|
+
declare const SheetBody: react.ForwardRefExoticComponent<SheetBodyProps & react.RefAttributes<HTMLElement>>;
|
|
2020
|
+
declare const SheetFooter: react.ForwardRefExoticComponent<SheetFooterProps & react.RefAttributes<HTMLElement>>;
|
|
2021
|
+
declare const SheetRoot: react.ForwardRefExoticComponent<SheetProps & react.RefAttributes<HTMLDivElement>>;
|
|
2112
2022
|
type SheetComponent = typeof SheetRoot & {
|
|
2113
2023
|
Header: typeof SheetHeader;
|
|
2114
|
-
Title: typeof DialogBase.Title;
|
|
2115
|
-
Close: typeof DialogBase.Close;
|
|
2116
2024
|
Body: typeof SheetBody;
|
|
2117
|
-
Footer: typeof
|
|
2025
|
+
Footer: typeof SheetFooter;
|
|
2118
2026
|
};
|
|
2119
2027
|
declare const Sheet: SheetComponent;
|
|
2120
2028
|
|
|
@@ -2127,7 +2035,7 @@ interface ConfirmDialogSecondaryAction {
|
|
|
2127
2035
|
interface ConfirmDialogProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title' | 'children'> {
|
|
2128
2036
|
open: boolean;
|
|
2129
2037
|
title: string;
|
|
2130
|
-
message:
|
|
2038
|
+
message: react__default.ReactNode;
|
|
2131
2039
|
confirmLabel?: string;
|
|
2132
2040
|
cancelLabel?: string;
|
|
2133
2041
|
status?: 'default' | 'danger';
|
|
@@ -2137,7 +2045,9 @@ interface ConfirmDialogProps extends Omit<ComponentPropsWithoutRef<'div'>, 'titl
|
|
|
2137
2045
|
loading?: boolean;
|
|
2138
2046
|
}
|
|
2139
2047
|
|
|
2140
|
-
declare const ConfirmDialog:
|
|
2048
|
+
declare const ConfirmDialog: react.ForwardRefExoticComponent<ConfirmDialogProps & react.RefAttributes<HTMLElement>>;
|
|
2049
|
+
|
|
2050
|
+
declare const Overlay: react.ForwardRefExoticComponent<OverlayProps & react.RefAttributes<HTMLElement>>;
|
|
2141
2051
|
|
|
2142
2052
|
interface CommandPaletteProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'title' | 'onSelect'> {
|
|
2143
2053
|
open: boolean;
|
|
@@ -2152,7 +2062,7 @@ interface CommandPaletteProps extends Omit<ComponentPropsWithoutRef<'div'>, 'chi
|
|
|
2152
2062
|
className?: string;
|
|
2153
2063
|
}
|
|
2154
2064
|
|
|
2155
|
-
declare const CommandPalette:
|
|
2065
|
+
declare const CommandPalette: react.ForwardRefExoticComponent<CommandPaletteProps & react.RefAttributes<HTMLElement>>;
|
|
2156
2066
|
|
|
2157
2067
|
interface CalendarDayCell {
|
|
2158
2068
|
day: number;
|
|
@@ -2188,17 +2098,17 @@ interface CalendarProviderProps {
|
|
|
2188
2098
|
onChange?: (value: Date | DateRangeValue) => void;
|
|
2189
2099
|
viewDate?: Date;
|
|
2190
2100
|
onViewDateChange?: (date: Date) => void;
|
|
2191
|
-
renderDayCell?: (props: CalendarDayCellRenderProps) =>
|
|
2192
|
-
children:
|
|
2101
|
+
renderDayCell?: (props: CalendarDayCellRenderProps) => react__default.ReactNode;
|
|
2102
|
+
children: react__default.ReactNode;
|
|
2193
2103
|
}
|
|
2194
|
-
type CalendarRootProps =
|
|
2195
|
-
type CalendarHeaderProps =
|
|
2196
|
-
type CalendarTitleProps =
|
|
2197
|
-
interface CalendarNavProps extends Omit<
|
|
2104
|
+
type CalendarRootProps = react__default.ComponentPropsWithoutRef<'div'>;
|
|
2105
|
+
type CalendarHeaderProps = react__default.ComponentPropsWithoutRef<'div'>;
|
|
2106
|
+
type CalendarTitleProps = react__default.ComponentPropsWithoutRef<'span'>;
|
|
2107
|
+
interface CalendarNavProps extends Omit<react__default.ComponentPropsWithoutRef<'button'>, 'direction'> {
|
|
2198
2108
|
direction: 'prev' | 'next';
|
|
2199
2109
|
}
|
|
2200
|
-
interface CalendarBodyProps extends
|
|
2201
|
-
renderDayCell?: (props: CalendarDayCellRenderProps) =>
|
|
2110
|
+
interface CalendarBodyProps extends react__default.ComponentPropsWithoutRef<'div'> {
|
|
2111
|
+
renderDayCell?: (props: CalendarDayCellRenderProps) => react__default.ReactNode;
|
|
2202
2112
|
}
|
|
2203
2113
|
type CalendarContextValue = {
|
|
2204
2114
|
selectionMode: CalendarSelectionMode;
|
|
@@ -2209,7 +2119,6 @@ type CalendarContextValue = {
|
|
|
2209
2119
|
viewDate: Date;
|
|
2210
2120
|
year: number;
|
|
2211
2121
|
month: number;
|
|
2212
|
-
days: CalendarDayCell[];
|
|
2213
2122
|
view: CalendarViewMode;
|
|
2214
2123
|
setView: (mode: CalendarViewMode) => void;
|
|
2215
2124
|
yearPageStart: number;
|
|
@@ -2217,16 +2126,16 @@ type CalendarContextValue = {
|
|
|
2217
2126
|
shiftView: (delta: number) => void;
|
|
2218
2127
|
selectMonth: (monthIndex: number) => void;
|
|
2219
2128
|
selectYear: (year: number) => void;
|
|
2220
|
-
renderDayCell?: (props: CalendarDayCellRenderProps) =>
|
|
2129
|
+
renderDayCell?: (props: CalendarDayCellRenderProps) => react__default.ReactNode;
|
|
2221
2130
|
};
|
|
2222
2131
|
|
|
2223
2132
|
declare const Calendar: {
|
|
2224
|
-
Provider:
|
|
2225
|
-
Root:
|
|
2226
|
-
Header:
|
|
2227
|
-
Title:
|
|
2228
|
-
Nav:
|
|
2229
|
-
Body:
|
|
2133
|
+
Provider: react.FC<CalendarProviderProps>;
|
|
2134
|
+
Root: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2135
|
+
Header: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2136
|
+
Title: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & react.RefAttributes<HTMLSpanElement>>;
|
|
2137
|
+
Nav: react.ForwardRefExoticComponent<CalendarNavProps & react.RefAttributes<HTMLButtonElement>>;
|
|
2138
|
+
Body: react.ForwardRefExoticComponent<CalendarBodyProps & react.RefAttributes<HTMLDivElement>>;
|
|
2230
2139
|
} & {
|
|
2231
2140
|
displayName: string;
|
|
2232
2141
|
};
|
|
@@ -2236,7 +2145,7 @@ interface DateFieldProps extends Omit<MaskedFieldProps, 'mask' | 'value' | 'onCh
|
|
|
2236
2145
|
onChange: (date: Date | undefined) => void;
|
|
2237
2146
|
}
|
|
2238
2147
|
|
|
2239
|
-
declare const DateField:
|
|
2148
|
+
declare const DateField: react.ForwardRefExoticComponent<Omit<DateFieldProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
2240
2149
|
|
|
2241
2150
|
interface DateRangeFieldProps extends Omit<FieldBaseProps, 'label'>, Omit<ComponentPropsWithoutRef<'div'>, 'onChange' | 'defaultValue' | 'children' | keyof FieldBaseProps> {
|
|
2242
2151
|
value: DateRangeValue;
|
|
@@ -2247,7 +2156,7 @@ interface DateRangeFieldProps extends Omit<FieldBaseProps, 'label'>, Omit<Compon
|
|
|
2247
2156
|
layout?: 'single' | 'split';
|
|
2248
2157
|
}
|
|
2249
2158
|
|
|
2250
|
-
declare const DateRangeField:
|
|
2159
|
+
declare const DateRangeField: react.ForwardRefExoticComponent<DateRangeFieldProps & react.RefAttributes<HTMLInputElement>>;
|
|
2251
2160
|
|
|
2252
2161
|
interface DayStripDayRenderProps {
|
|
2253
2162
|
date: Date;
|
|
@@ -2256,7 +2165,7 @@ interface DayStripDayRenderProps {
|
|
|
2256
2165
|
isSelected: boolean;
|
|
2257
2166
|
isToday: boolean;
|
|
2258
2167
|
}
|
|
2259
|
-
interface DayStripCalendarProps extends Omit<
|
|
2168
|
+
interface DayStripCalendarProps extends Omit<react__default.ComponentPropsWithoutRef<'div'>, 'onChange'> {
|
|
2260
2169
|
value?: Date;
|
|
2261
2170
|
onChange: (date: Date) => void;
|
|
2262
2171
|
viewDate?: Date;
|
|
@@ -2265,16 +2174,16 @@ interface DayStripCalendarProps extends Omit<React__default.ComponentPropsWithou
|
|
|
2265
2174
|
weekStartsOn?: 0 | 1;
|
|
2266
2175
|
showHeader?: boolean;
|
|
2267
2176
|
showNav?: boolean;
|
|
2268
|
-
renderDay?: (props: DayStripDayRenderProps) =>
|
|
2177
|
+
renderDay?: (props: DayStripDayRenderProps) => react__default.ReactNode;
|
|
2269
2178
|
}
|
|
2270
2179
|
|
|
2271
|
-
declare const DayStripCalendar:
|
|
2180
|
+
declare const DayStripCalendar: react__default.ForwardRefExoticComponent<DayStripCalendarProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
2272
2181
|
|
|
2273
2182
|
interface TimeFieldProps extends Omit<MaskedFieldProps, 'mask'> {
|
|
2274
2183
|
value: string;
|
|
2275
2184
|
}
|
|
2276
2185
|
|
|
2277
|
-
declare const TimeField:
|
|
2186
|
+
declare const TimeField: react.ForwardRefExoticComponent<Omit<TimeFieldProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
2278
2187
|
|
|
2279
2188
|
type TimeValue = {
|
|
2280
2189
|
hours: number;
|
|
@@ -2288,7 +2197,7 @@ interface WheelTimePickerProps extends TimePopupProps, Omit<ComponentPropsWithou
|
|
|
2288
2197
|
active?: boolean;
|
|
2289
2198
|
}
|
|
2290
2199
|
|
|
2291
|
-
declare const WheelTimePicker:
|
|
2200
|
+
declare const WheelTimePicker: react.ForwardRefExoticComponent<WheelTimePickerProps & react.RefAttributes<HTMLDivElement>>;
|
|
2292
2201
|
|
|
2293
2202
|
interface ChartSeries {
|
|
2294
2203
|
name: string;
|
|
@@ -2305,7 +2214,7 @@ interface BarChartProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'
|
|
|
2305
2214
|
showHoverValue?: boolean;
|
|
2306
2215
|
}
|
|
2307
2216
|
|
|
2308
|
-
declare const BarChart:
|
|
2217
|
+
declare const BarChart: react.ForwardRefExoticComponent<BarChartProps & react.RefAttributes<HTMLDivElement>>;
|
|
2309
2218
|
|
|
2310
2219
|
interface ChartDataset extends ChartSeries {
|
|
2311
2220
|
color: string;
|
|
@@ -2316,7 +2225,7 @@ interface LineChartProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children
|
|
|
2316
2225
|
height?: number;
|
|
2317
2226
|
}
|
|
2318
2227
|
|
|
2319
|
-
declare const LineChart:
|
|
2228
|
+
declare const LineChart: react.ForwardRefExoticComponent<LineChartProps & react.RefAttributes<HTMLDivElement>>;
|
|
2320
2229
|
|
|
2321
2230
|
interface DonutSegment {
|
|
2322
2231
|
id?: string;
|
|
@@ -2328,20 +2237,20 @@ interface DonutChartProps extends Omit<ComponentPropsWithoutRef<'div'>, 'childre
|
|
|
2328
2237
|
segments: DonutSegment[];
|
|
2329
2238
|
size?: number;
|
|
2330
2239
|
thickness?: number;
|
|
2331
|
-
centerLabel?:
|
|
2332
|
-
centerValue?:
|
|
2240
|
+
centerLabel?: react__default.ReactNode;
|
|
2241
|
+
centerValue?: react__default.ReactNode;
|
|
2333
2242
|
showLegend?: boolean;
|
|
2334
2243
|
hoverExpand?: boolean;
|
|
2335
2244
|
}
|
|
2336
2245
|
|
|
2337
|
-
declare const DonutChart:
|
|
2246
|
+
declare const DonutChart: react.ForwardRefExoticComponent<DonutChartProps & react.RefAttributes<HTMLDivElement>>;
|
|
2338
2247
|
|
|
2339
2248
|
interface NotificationAction {
|
|
2340
2249
|
label: string;
|
|
2341
2250
|
onClick: () => void;
|
|
2342
2251
|
variant?: 'primary' | 'secondary';
|
|
2343
2252
|
shortcut?: string;
|
|
2344
|
-
shortcutLabel?:
|
|
2253
|
+
shortcutLabel?: react__default.ReactNode;
|
|
2345
2254
|
}
|
|
2346
2255
|
interface NotificationItem {
|
|
2347
2256
|
id: string;
|
|
@@ -2355,14 +2264,14 @@ interface NotificationItem {
|
|
|
2355
2264
|
}
|
|
2356
2265
|
type NotificationPosition = 'top-left' | 'top-right' | 'top-center' | 'bottom-left' | 'bottom-right' | 'bottom-center';
|
|
2357
2266
|
interface NotificationViewportProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
2358
|
-
children?:
|
|
2267
|
+
children?: react__default.ReactNode;
|
|
2359
2268
|
stacked?: boolean;
|
|
2360
2269
|
stackDepth?: number;
|
|
2361
2270
|
position?: NotificationPosition;
|
|
2362
2271
|
}
|
|
2363
2272
|
interface NotificationProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
|
|
2364
|
-
title:
|
|
2365
|
-
description?:
|
|
2273
|
+
title: react__default.ReactNode;
|
|
2274
|
+
description?: react__default.ReactNode;
|
|
2366
2275
|
actions?: NotificationAction[];
|
|
2367
2276
|
variant?: NotificationItem['variant'];
|
|
2368
2277
|
duration?: number;
|
|
@@ -2370,12 +2279,11 @@ interface NotificationProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title
|
|
|
2370
2279
|
pauseOnHover?: boolean;
|
|
2371
2280
|
onClose?: () => void;
|
|
2372
2281
|
}
|
|
2373
|
-
type NotificationRootProps = NotificationProps;
|
|
2374
2282
|
type NotifyInput = Omit<NotificationItem, 'id'> & {
|
|
2375
2283
|
id?: string;
|
|
2376
2284
|
};
|
|
2377
2285
|
interface NotificationProviderProps {
|
|
2378
|
-
children?:
|
|
2286
|
+
children?: react__default.ReactNode;
|
|
2379
2287
|
maxVisible?: number;
|
|
2380
2288
|
stacked?: boolean;
|
|
2381
2289
|
stackDepth?: number;
|
|
@@ -2400,12 +2308,12 @@ interface ToastContextValue {
|
|
|
2400
2308
|
dismiss: typeof dismiss;
|
|
2401
2309
|
dismissAll: typeof dismissAll;
|
|
2402
2310
|
}
|
|
2403
|
-
declare const NotificationProvider:
|
|
2311
|
+
declare const NotificationProvider: react__default.FC<NotificationProviderProps>;
|
|
2404
2312
|
declare function useNotify(): ToastContextValue;
|
|
2405
2313
|
|
|
2406
|
-
declare const NotificationViewport:
|
|
2407
|
-
declare const Notification:
|
|
2408
|
-
Provider:
|
|
2314
|
+
declare const NotificationViewport: react__default.ForwardRefExoticComponent<NotificationViewportProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
2315
|
+
declare const Notification: react__default.ForwardRefExoticComponent<NotificationProps & react__default.RefAttributes<HTMLDivElement>> & {
|
|
2316
|
+
Provider: react__default.FC<NotificationProviderProps>;
|
|
2409
2317
|
Viewport: typeof NotificationViewport;
|
|
2410
2318
|
};
|
|
2411
2319
|
|
|
@@ -2414,7 +2322,7 @@ type TableDensity = Density;
|
|
|
2414
2322
|
interface Column<T> {
|
|
2415
2323
|
key: keyof T | string;
|
|
2416
2324
|
header: string;
|
|
2417
|
-
render?: (row: T) =>
|
|
2325
|
+
render?: (row: T) => react__default.ReactNode;
|
|
2418
2326
|
sortable?: boolean;
|
|
2419
2327
|
sticky?: 'left' | 'right';
|
|
2420
2328
|
resizable?: boolean;
|
|
@@ -2448,7 +2356,7 @@ interface TableProps<T> extends Omit<ComponentPropsWithoutRef<'div'>, 'children'
|
|
|
2448
2356
|
onSortChange?: (key: string, direction: TableSortDirection) => void;
|
|
2449
2357
|
expandedKeys?: Set<string | number>;
|
|
2450
2358
|
onExpandedChange?: (keys: Set<string | number>) => void;
|
|
2451
|
-
renderExpandedRow?: (row: T) =>
|
|
2359
|
+
renderExpandedRow?: (row: T) => react__default.ReactNode;
|
|
2452
2360
|
rowActions?: (row: T) => ActionListItem[];
|
|
2453
2361
|
rowActionsLabel?: string;
|
|
2454
2362
|
toolbar?: ReactNode;
|
|
@@ -2457,18 +2365,17 @@ interface TableProps<T> extends Omit<ComponentPropsWithoutRef<'div'>, 'children'
|
|
|
2457
2365
|
empty?: ReactNode | TableEmptyConfig;
|
|
2458
2366
|
footer?: TablePagination;
|
|
2459
2367
|
}
|
|
2460
|
-
type TableContentProps<T> = TableProps<T>;
|
|
2461
2368
|
interface TableRowActionsProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
2462
2369
|
items: ActionListItem[];
|
|
2463
2370
|
}
|
|
2464
2371
|
|
|
2465
2372
|
declare const Table: <T extends object>(props: TableProps<T> & {
|
|
2466
|
-
ref?:
|
|
2467
|
-
}) =>
|
|
2373
|
+
ref?: react__default.Ref<HTMLDivElement>;
|
|
2374
|
+
}) => react__default.ReactElement;
|
|
2468
2375
|
|
|
2469
2376
|
interface SortableItem {
|
|
2470
2377
|
id: string;
|
|
2471
|
-
content:
|
|
2378
|
+
content: react__default.ReactNode;
|
|
2472
2379
|
}
|
|
2473
2380
|
type SortableListVariant = 'default' | 'plain';
|
|
2474
2381
|
interface SortableListProps<T extends {
|
|
@@ -2476,7 +2383,7 @@ interface SortableListProps<T extends {
|
|
|
2476
2383
|
} = SortableItem> extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
2477
2384
|
items: T[];
|
|
2478
2385
|
onOrderChange: (newItems: T[]) => void;
|
|
2479
|
-
renderItem?: (item: T, index: number) =>
|
|
2386
|
+
renderItem?: (item: T, index: number) => react__default.ReactNode;
|
|
2480
2387
|
variant?: SortableListVariant;
|
|
2481
2388
|
keyboardReorder?: boolean;
|
|
2482
2389
|
showMoveButtons?: boolean;
|
|
@@ -2487,14 +2394,14 @@ interface SortableListProps<T extends {
|
|
|
2487
2394
|
declare const SortableList: <T extends {
|
|
2488
2395
|
id: string;
|
|
2489
2396
|
} = SortableItem>(props: SortableListProps<T> & {
|
|
2490
|
-
ref?:
|
|
2491
|
-
}) =>
|
|
2397
|
+
ref?: react__default.Ref<HTMLDivElement>;
|
|
2398
|
+
}) => react__default.ReactElement;
|
|
2492
2399
|
|
|
2493
2400
|
type VirtualListAlign = 'start' | 'center' | 'end' | 'auto';
|
|
2494
2401
|
interface VirtualListRenderItemInfo<T> {
|
|
2495
2402
|
item: T;
|
|
2496
2403
|
index: number;
|
|
2497
|
-
style:
|
|
2404
|
+
style: react__default.CSSProperties;
|
|
2498
2405
|
}
|
|
2499
2406
|
interface VirtualListRange {
|
|
2500
2407
|
start: number;
|
|
@@ -2528,19 +2435,19 @@ interface VirtualListProps<T> extends Omit<ComponentPropsWithoutRef<'div'>, 'chi
|
|
|
2528
2435
|
height?: number | string;
|
|
2529
2436
|
gap?: number;
|
|
2530
2437
|
getItemKey?: (item: T, index: number) => string | number;
|
|
2531
|
-
renderItem: (info: VirtualListRenderItemInfo<T>) =>
|
|
2532
|
-
onScroll?: (event: Event |
|
|
2438
|
+
renderItem: (info: VirtualListRenderItemInfo<T>) => react__default.ReactNode;
|
|
2439
|
+
onScroll?: (event: Event | react__default.UIEvent<HTMLDivElement>) => void;
|
|
2533
2440
|
onRangeChange?: (range: VirtualListRange) => void;
|
|
2534
2441
|
onRangeChangeOptions?: VirtualListOnRangeChangeOptions;
|
|
2535
|
-
scrollElement?: HTMLElement | null |
|
|
2442
|
+
scrollElement?: HTMLElement | null | react__default.RefObject<HTMLElement | null>;
|
|
2536
2443
|
useWindowScroll?: boolean;
|
|
2537
2444
|
scrollMetrics?: VirtualScrollMetrics;
|
|
2538
2445
|
scrollMetricsStore?: VirtualScrollMetricsStore;
|
|
2539
2446
|
}
|
|
2540
2447
|
|
|
2541
2448
|
declare const VirtualList: <T>(props: VirtualListProps<T> & {
|
|
2542
|
-
ref?:
|
|
2543
|
-
}) =>
|
|
2449
|
+
ref?: react__default.Ref<VirtualListHandle>;
|
|
2450
|
+
}) => react__default.ReactElement | null;
|
|
2544
2451
|
|
|
2545
2452
|
type ImageCropShape = 'circle' | 'square';
|
|
2546
2453
|
|
|
@@ -2563,7 +2470,7 @@ interface ImageCropProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children
|
|
|
2563
2470
|
onCrop?: (result: ImageCropResult) => void;
|
|
2564
2471
|
}
|
|
2565
2472
|
|
|
2566
|
-
declare const ImageCrop:
|
|
2473
|
+
declare const ImageCrop: react__default.ForwardRefExoticComponent<ImageCropProps & react__default.RefAttributes<HTMLElement>>;
|
|
2567
2474
|
|
|
2568
2475
|
type CalendarBoardView = 'month' | 'week' | 'day' | 'year';
|
|
2569
2476
|
type CalendarBoardTask = CalendarScheduleEvent & {
|
|
@@ -2581,7 +2488,7 @@ interface CalendarBoardTaskRenderProps {
|
|
|
2581
2488
|
onMouseEnter?: () => void;
|
|
2582
2489
|
onMouseLeave?: () => void;
|
|
2583
2490
|
className?: string;
|
|
2584
|
-
style?:
|
|
2491
|
+
style?: react__default.CSSProperties;
|
|
2585
2492
|
}
|
|
2586
2493
|
interface CalendarBoardDayCellRenderProps {
|
|
2587
2494
|
date: Date;
|
|
@@ -2611,12 +2518,12 @@ interface CalendarBoardContextValue {
|
|
|
2611
2518
|
dayEndHour: number;
|
|
2612
2519
|
hourHeight: number;
|
|
2613
2520
|
onTaskClick?: (task: CalendarBoardTask) => void;
|
|
2614
|
-
renderTask?: (props: CalendarBoardTaskRenderProps) =>
|
|
2615
|
-
renderDayCell?: (props: CalendarBoardDayCellRenderProps) =>
|
|
2616
|
-
renderYearMonth?: (props: CalendarBoardYearMonthRenderProps) =>
|
|
2521
|
+
renderTask?: (props: CalendarBoardTaskRenderProps) => react__default.ReactNode;
|
|
2522
|
+
renderDayCell?: (props: CalendarBoardDayCellRenderProps) => react__default.ReactNode;
|
|
2523
|
+
renderYearMonth?: (props: CalendarBoardYearMonthRenderProps) => react__default.ReactNode;
|
|
2617
2524
|
}
|
|
2618
2525
|
interface CalendarBoardProviderProps {
|
|
2619
|
-
children:
|
|
2526
|
+
children: react__default.ReactNode;
|
|
2620
2527
|
view?: CalendarBoardView;
|
|
2621
2528
|
defaultView?: CalendarBoardView;
|
|
2622
2529
|
onViewChange?: (view: CalendarBoardView) => void;
|
|
@@ -2631,11 +2538,11 @@ interface CalendarBoardProviderProps {
|
|
|
2631
2538
|
dayEndHour?: number;
|
|
2632
2539
|
hourHeight?: number;
|
|
2633
2540
|
onTaskClick?: (task: CalendarBoardTask) => void;
|
|
2634
|
-
renderTask?: (props: CalendarBoardTaskRenderProps) =>
|
|
2635
|
-
renderDayCell?: (props: CalendarBoardDayCellRenderProps) =>
|
|
2636
|
-
renderYearMonth?: (props: CalendarBoardYearMonthRenderProps) =>
|
|
2541
|
+
renderTask?: (props: CalendarBoardTaskRenderProps) => react__default.ReactNode;
|
|
2542
|
+
renderDayCell?: (props: CalendarBoardDayCellRenderProps) => react__default.ReactNode;
|
|
2543
|
+
renderYearMonth?: (props: CalendarBoardYearMonthRenderProps) => react__default.ReactNode;
|
|
2637
2544
|
}
|
|
2638
|
-
interface CalendarBoardTaskChipProps extends Omit<
|
|
2545
|
+
interface CalendarBoardTaskChipProps extends Omit<react__default.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
2639
2546
|
task: CalendarBoardTask;
|
|
2640
2547
|
layout?: CalendarBoardTaskLayout;
|
|
2641
2548
|
continuesBefore?: boolean;
|
|
@@ -2643,32 +2550,32 @@ interface CalendarBoardTaskChipProps extends Omit<React__default.ComponentPropsW
|
|
|
2643
2550
|
timeLabel?: string;
|
|
2644
2551
|
highlighted?: boolean;
|
|
2645
2552
|
}
|
|
2646
|
-
interface CalendarBoardMonthProps extends
|
|
2553
|
+
interface CalendarBoardMonthProps extends react__default.ComponentPropsWithoutRef<'div'> {
|
|
2647
2554
|
maxChipsPerDay?: number;
|
|
2648
2555
|
}
|
|
2649
|
-
interface CalendarBoardWeekProps extends
|
|
2556
|
+
interface CalendarBoardWeekProps extends react__default.ComponentPropsWithoutRef<'div'> {
|
|
2650
2557
|
showScheduleHeader?: boolean;
|
|
2651
2558
|
showScheduleNav?: boolean;
|
|
2652
2559
|
}
|
|
2653
|
-
interface CalendarBoardDayProps extends
|
|
2560
|
+
interface CalendarBoardDayProps extends react__default.ComponentPropsWithoutRef<'div'> {
|
|
2654
2561
|
showScheduleHeader?: boolean;
|
|
2655
2562
|
showScheduleNav?: boolean;
|
|
2656
2563
|
}
|
|
2657
|
-
type CalendarBoardYearProps =
|
|
2658
|
-
interface CalendarBoardBodyProps extends
|
|
2564
|
+
type CalendarBoardYearProps = react__default.ComponentPropsWithoutRef<'div'>;
|
|
2565
|
+
interface CalendarBoardBodyProps extends react__default.ComponentPropsWithoutRef<'div'> {
|
|
2659
2566
|
monthProps?: CalendarBoardMonthProps;
|
|
2660
2567
|
weekProps?: CalendarBoardWeekProps;
|
|
2661
2568
|
dayProps?: CalendarBoardDayProps;
|
|
2662
2569
|
yearProps?: CalendarBoardYearProps;
|
|
2663
2570
|
}
|
|
2664
|
-
interface CalendarBoardViewSwitchProps extends
|
|
2571
|
+
interface CalendarBoardViewSwitchProps extends react__default.ComponentPropsWithoutRef<'div'> {
|
|
2665
2572
|
variant?: 'primary' | 'tinted' | 'secondary';
|
|
2666
2573
|
size?: 'sm' | 'md' | 'lg';
|
|
2667
2574
|
}
|
|
2668
|
-
type CalendarBoardRootProps =
|
|
2669
|
-
type CalendarBoardHeaderProps =
|
|
2670
|
-
type CalendarBoardTitleProps =
|
|
2671
|
-
type CalendarBoardNavProps =
|
|
2575
|
+
type CalendarBoardRootProps = react__default.ComponentPropsWithoutRef<'div'>;
|
|
2576
|
+
type CalendarBoardHeaderProps = react__default.ComponentPropsWithoutRef<'div'>;
|
|
2577
|
+
type CalendarBoardTitleProps = react__default.ComponentPropsWithoutRef<'div'>;
|
|
2578
|
+
type CalendarBoardNavProps = react__default.ComponentPropsWithoutRef<'div'>;
|
|
2672
2579
|
|
|
2673
2580
|
declare function useCalendarBoardTaskHover(taskId: string): {
|
|
2674
2581
|
highlighted: boolean;
|
|
@@ -2677,20 +2584,20 @@ declare function useCalendarBoardTaskHover(taskId: string): {
|
|
|
2677
2584
|
};
|
|
2678
2585
|
declare function useCalendarBoardContext(): CalendarBoardContextValue;
|
|
2679
2586
|
|
|
2680
|
-
declare const CalendarBoard:
|
|
2681
|
-
Provider:
|
|
2682
|
-
Root:
|
|
2683
|
-
Header:
|
|
2684
|
-
Title:
|
|
2685
|
-
Nav:
|
|
2686
|
-
ViewSwitch:
|
|
2687
|
-
Body:
|
|
2688
|
-
Month:
|
|
2689
|
-
Week:
|
|
2690
|
-
Day:
|
|
2691
|
-
Year:
|
|
2692
|
-
TaskChip:
|
|
2587
|
+
declare const CalendarBoard: react.FC<CalendarBoardProviderProps> & {
|
|
2588
|
+
Provider: react.FC<CalendarBoardProviderProps>;
|
|
2589
|
+
Root: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2590
|
+
Header: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2591
|
+
Title: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2592
|
+
Nav: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2593
|
+
ViewSwitch: react.ForwardRefExoticComponent<CalendarBoardViewSwitchProps & react.RefAttributes<HTMLDivElement>>;
|
|
2594
|
+
Body: react.ForwardRefExoticComponent<CalendarBoardBodyProps & react.RefAttributes<HTMLDivElement>>;
|
|
2595
|
+
Month: react.ForwardRefExoticComponent<CalendarBoardMonthProps & react.RefAttributes<HTMLDivElement>>;
|
|
2596
|
+
Week: react.ForwardRefExoticComponent<CalendarBoardWeekProps & react.RefAttributes<HTMLDivElement>>;
|
|
2597
|
+
Day: react.ForwardRefExoticComponent<CalendarBoardDayProps & react.RefAttributes<HTMLDivElement>>;
|
|
2598
|
+
Year: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2599
|
+
TaskChip: react.ForwardRefExoticComponent<CalendarBoardTaskChipProps & react.RefAttributes<HTMLButtonElement | HTMLSpanElement>>;
|
|
2693
2600
|
};
|
|
2694
2601
|
|
|
2695
|
-
export { Accordion, ActionList, ActionSheetTrigger, Alert, AspectRatio, Attachment, Avatar, AvatarGroup, Backdrop, Badge, BarChart, Box, Bubble, Button, ButtonGroup, ButtonIcon, Calendar, CalendarBoard, Card, Checkbox, CheckboxGroup, Chip, ChipGroup, Collapse, ColorSwatchGroup, CommandPalette, ConfirmDialog, Container, ControlRow,
|
|
2696
|
-
export type { AccordionItemProps, AccordionProps, AccordionVariant, ActionListGroup, ActionListHandle, ActionListItem, ActionListProps, ActionSheetTriggerProps, AdaptiveValue, AlertLayout, AlertProps, AlertVariant, AspectRatioProps, AttachmentProps, AttachmentSize, AttachmentStatus, AvatarGroupProps, AvatarProps, AvatarSize, AvatarStatus, BackdropBlur, BackdropPosition, BackdropProps, BackdropVariant, BadgePosition, BadgeProps, BadgeSize, BadgeVariant, BarChartDataset, BarChartProps, BoxAs, BoxBorderStyle, BoxPadding, BoxProps, BoxRadius, BoxShadow, BoxVariant, BubbleAlign, BubbleProps, BubbleReaction, BubbleVariant, ButtonGroupItemFit, ButtonGroupItemProps, ButtonGroupMode, ButtonGroupRootProps, ButtonGroupVariant, ButtonIconProps, ButtonProps, ButtonVariant, CalendarBoardBodyProps, CalendarBoardDayCellRenderProps, CalendarBoardDayProps, CalendarBoardHeaderProps, CalendarBoardMonthProps, CalendarBoardNavProps, CalendarBoardProviderProps, CalendarBoardRootProps, CalendarBoardTask, CalendarBoardTaskChipProps, CalendarBoardTaskLayout, CalendarBoardTaskRenderProps, CalendarBoardTitleProps, CalendarBoardView, CalendarBoardWeekProps, CalendarBoardYearMonthRenderProps, CalendarBoardYearProps, CalendarBodyProps, CalendarContextValue, CalendarDayCell, CalendarDayCellRenderProps, CalendarHeaderProps, CalendarNavProps, CalendarProviderProps, CalendarRootProps, CalendarScheduleEvent, CalendarSelectionMode, CalendarTitleProps, CalendarViewMode, CardProps, CardVariant, CheckboxGroupProps, CheckboxMode, CheckboxProps,
|
|
2602
|
+
export { Accordion, ActionList, ActionSheetTrigger, Alert, AspectRatio, Attachment, Avatar, AvatarGroup, Backdrop, Badge, BarChart, Box, Bubble, Button, ButtonGroup, ButtonIcon, Calendar, CalendarBoard, Card, Checkbox, CheckboxGroup, Chip, ChipGroup, Collapse, ColorSwatchGroup, CommandPalette, ConfirmDialog, Container, ControlRow, DateField, DateRangeField, DayStripCalendar, DescriptionList, DialogLayout, DonutChart, Dropdown, EmptyState, FieldBaseButton, FieldBaseIcon, FieldLabel, Fieldset, FileList$1 as FileList, FormMessage, GRID_BREAKPOINTS, Grid, GridItem, ImageCrop, ImageGallery, ImageLightbox, Inline, Item, Kbd, KbdGroup, Layout, LayoutContent, LayoutFooter, LayoutHeader, LayoutItem, LayoutRoot, LineChart, Link, Listbox, LiveRegion, LocaleProvider, Marker, MaskedField, Media, Menu, Modal, Notification, NotificationProvider, NumberField, Overflow, Overlay, Page, Pagination, PasswordField, PinInput, Popover, PopupSwitch, Progress, ProgressCircle, PullToRefresh, Radio, RadioGroup, Rating, RelativeTime, SafeArea, ScrollArea, SearchField, SegmentedControl, Select, SelectionGroup, Separator, Sheet, Sidebar, Skeleton, SkipLink, Slider, SortableList, Spinner, Split, Stack, StatBadge, Steps, SuggestField, SwipeToAction, Switch, Table, Tabs, Text, TextField, TextareaField, ThemeProvider, TimeField, Timeline, Title, Tooltip, UploadZone, VirtualList, VisuallyHidden, WheelTimePicker, dismiss, dismissAll, en, formatRelativeTime, getPasswordStrength, notify, ru, useCalendarBoardContext, useCalendarBoardTaskHover, useLocale, useNotify, useT, useTheme };
|
|
2603
|
+
export type { AccordionItemProps, AccordionProps, AccordionVariant, ActionListGroup, ActionListHandle, ActionListItem, ActionListProps, ActionSheetTriggerProps, AdaptiveValue, AlertLayout, AlertProps, AlertVariant, AspectRatioProps, AttachmentProps, AttachmentSize, AttachmentStatus, AvatarGroupProps, AvatarProps, AvatarSize, AvatarStatus, BackdropBlur, BackdropPosition, BackdropProps, BackdropVariant, BadgePosition, BadgeProps, BadgeSize, BadgeVariant, BarChartDataset, BarChartProps, BoxAs, BoxBorderStyle, BoxPadding, BoxProps, BoxRadius, BoxShadow, BoxVariant, BubbleAlign, BubbleProps, BubbleReaction, BubbleVariant, ButtonGroupItemFit, ButtonGroupItemProps, ButtonGroupMode, ButtonGroupRootProps, ButtonGroupVariant, ButtonIconProps, ButtonProps, ButtonVariant, CalendarBoardBodyProps, CalendarBoardDayCellRenderProps, CalendarBoardDayProps, CalendarBoardHeaderProps, CalendarBoardMonthProps, CalendarBoardNavProps, CalendarBoardProviderProps, CalendarBoardRootProps, CalendarBoardTask, CalendarBoardTaskChipProps, CalendarBoardTaskLayout, CalendarBoardTaskRenderProps, CalendarBoardTitleProps, CalendarBoardView, CalendarBoardWeekProps, CalendarBoardYearMonthRenderProps, CalendarBoardYearProps, CalendarBodyProps, CalendarContextValue, CalendarDayCell, CalendarDayCellRenderProps, CalendarHeaderProps, CalendarNavProps, CalendarProviderProps, CalendarRootProps, CalendarScheduleEvent, CalendarSelectionMode, CalendarTitleProps, CalendarViewMode, CardProps, CardVariant, CheckboxGroupProps, CheckboxMode, CheckboxProps, ChipGroupGap, ChipGroupProps, ChipMode, ChipProps, ChipVariant, CollapseProps, ColorSwatchGroupProps, Column, ActionListGroup as CommandPaletteGroup, ActionListItem as CommandPaletteItem, CommandPaletteProps, ConfirmDialogProps, ConfirmDialogSecondaryAction, ContainerProps, ContainerSize, ControlRowProps, ControlSize, DateFieldProps, DateRangeFieldProps, DateRangeValue, DayStripCalendarProps, DayStripDayRenderProps, DeepPartialMessages, DescriptionListItem, DescriptionListProps, DialogLayoutProps, DonutChartProps, DropdownAlign, DropdownPanelScroll, DropdownPopupRole, DropdownProps, DropdownTriggerAttrs, DropdownTriggerMode, DropdownTriggerSlotProps, DropdownWidthMode, EmptyStateProps, EmptyStateSize, FieldBaseButtonProps, FieldBaseIconProps, FieldBaseProps, FieldLabelAlign, FieldLabelJustify, FieldLabelLayout, FieldLabelProps, FieldWidth, FieldsetProps, FieldsetVariant, FileListItemProps, FileListItemStatus, FileListRootProps, FormMessageProps, FormMessageVariant, GridGapToken, GridItemProps, GridMode, GridProps, ImageCropProps, ImageCropResult, ImageCropShape, ImageGalleryItem, ImageGalleryProps, ImageLightboxProps, InlineProps, ItemMediaVariant, ItemProps, ItemSize, ItemVariant, KbdGroupProps, KbdProps, LabelSide, LayoutAlign, LayoutContentProps, LayoutFooterAlign, LayoutFooterProps, LayoutGap, LayoutHeaderProps, LayoutItemProps, LayoutJustify, LayoutRootProps, LayoutSpacing, LineChartProps, LinkProps, LinkSize, LinkStatus, LinkVariant, ListboxFilterFn, ListboxGroup, ListboxHandle, ListboxNavigation, ListboxOption, ListboxProps, LiveRegionProps, LocaleCode, LocaleProviderProps, MarkerProps, MarkerVariant, MaskedFieldProps, MediaProps, MenuProps, MenuTrigger, Messages, ModalBodyProps, ModalFooterAlign, ModalFooterProps, ModalHeaderProps, ModalProps, ModalRootProps, NotificationAction, NotificationItem, NotificationPosition, NotificationProps, NotificationProviderProps, NotificationViewportProps, NotifyInput, NumberFieldProps, OverflowDisplay, OverflowFit, OverflowGap, OverflowItemProps, OverflowProps, OverlayBaseProps, OverlayChildren, OverlayContentProps, OverlayDismiss, OverlayFloatingProps, OverlayModalProps, OverlayProps, OverlayPurpose, OverlaySheetProps, OverlaySheetSide, OverlayVariant, PageProps, PaginationControlsProps, PaginationPageSizeProps, PaginationProps, PaginationRootProps, PaginationSummaryProps, PasswordFieldProps, PasswordStrength, PinInputProps, PopoverContentVariant, PopoverProps, PopoverTriggerMode, PopoverTriggerSlotProps, PopupSwitchAlign, PopupSwitchOption, PopupSwitchProps, PopupSwitchVariant, ProgressCircleProps, ProgressProps, ProgressVariant, PullToRefreshProps, RadioGroupProps, RadioProps, RangeValue, RatingProps, RelativeTimeProps, ResolvedListboxGroup, SafeAreaEdges, SafeAreaProps, ScrollAreaProps, SearchFieldProps, SegmentOption, SegmentedControlProps, SegmentedItemFit, SelectOption, SelectProps, SelectionGroupItemProps, SelectionGroupListProps, SelectionGroupOrientation, SelectionGroupPanelProps, SelectionGroupRootProps, SeparatorOrientation, SeparatorProps, SeparatorSpace, SheetBodyProps, SheetDirection, SheetFooterAlign, SheetFooterProps, SheetHeaderProps, SheetMode, SheetProps, SidebarContentProps, SidebarFooterProps, SidebarGroupLabelProps, SidebarGroupProps, SidebarHeaderProps, SidebarItemProps, SidebarMobileTriggerProps, SidebarProps, SidebarTitleProps, SkeletonProps, SkeletonVariant, SkipLinkProps, SliderProps, SliderRangeProps, SliderSingleProps, SortableItem, SortableListProps, SortableListVariant, SpinnerProps, SpinnerSize, SpinnerVariant, SplitProps, StackProps, StatBadgeProps, StepItem, StepStatus, StepsProps, SuggestFieldOption, SuggestFieldProps, SwipeAction, SwipeToActionProps, SwitchLabelSide, SwitchProps, TableDensity, TableEmptyConfig, TablePagination, TableProps, TableRowActionsProps, TableSortDirection, TabsListProps, TabsOrientation, TabsPanelProps, TabsProps, TabsTriggerProps, TabsVariant, TextFieldAs, TextFieldProps, TextFieldRef, TextProps, TextareaFieldProps, Theme, ThemeApplyTarget, ThemeProviderProps, TimeFieldProps, TimePopupProps, TimeValue, TimelineItem, TimelineItemStatus, TimelineProps, TitleProps, TooltipProps, TooltipSide, TooltipTriggerProps, TranslationParams, UploadZoneProps, VirtualListAlign, VirtualListHandle, VirtualListOnRangeChangeOptions, VirtualListProps, VirtualListRange, VirtualListRenderItemInfo, VirtualScrollMetrics, VirtualScrollMetricsStore, VisuallyHiddenProps, WheelTimePickerProps };
|