altum 0.0.5 → 0.0.7
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/ButtonGroup/ButtonGroup.module.css.js +1 -1
- package/dist/components/ButtonIcon/ButtonIcon.module.css.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/FieldGroup/FieldGroup.js +1 -0
- package/dist/components/FieldGroup/FieldGroup.module.css.js +1 -0
- 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/SuggestField/SuggestField.module.css.js +1 -0
- 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 +15 -12
- package/docs/LAYOUT.md +6 -6
- package/docs/THEMING.md +5 -12
- package/package.json +3 -2
- 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 +534 -617
- 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,46 @@ 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>>;
|
|
189
|
+
|
|
190
|
+
type FieldGroupWidth = 'auto' | 'full';
|
|
191
|
+
interface FieldGroupProps extends ComponentPropsWithoutRef<'div'> {
|
|
192
|
+
width?: FieldGroupWidth;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
declare const FieldGroup: react.ForwardRefExoticComponent<FieldGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
192
196
|
|
|
193
197
|
type FieldsetVariant = 'default' | 'card' | 'plain';
|
|
194
198
|
interface FieldsetProps extends ComponentPropsWithoutRef<'div'> {
|
|
195
199
|
variant?: FieldsetVariant;
|
|
196
200
|
disabled?: boolean;
|
|
197
|
-
children?:
|
|
198
|
-
legend?:
|
|
199
|
-
description?:
|
|
200
|
-
hint?:
|
|
201
|
-
footer?:
|
|
201
|
+
children?: react__default.ReactNode;
|
|
202
|
+
legend?: react__default.ReactNode;
|
|
203
|
+
description?: react__default.ReactNode;
|
|
204
|
+
hint?: react__default.ReactNode;
|
|
205
|
+
footer?: react__default.ReactNode;
|
|
202
206
|
gap?: number | string;
|
|
203
207
|
}
|
|
204
208
|
|
|
205
|
-
declare const Fieldset:
|
|
209
|
+
declare const Fieldset: react.ForwardRefExoticComponent<FieldsetProps & react.RefAttributes<HTMLDivElement>>;
|
|
206
210
|
|
|
207
211
|
type FieldLabelLayout = 'vertical' | 'horizontal';
|
|
208
212
|
type FieldLabelAlign = 'start' | 'center' | 'baseline';
|
|
209
213
|
type FieldLabelJustify = 'start' | 'between';
|
|
210
214
|
interface FieldLabelProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
211
|
-
label:
|
|
212
|
-
children:
|
|
215
|
+
label: react__default.ReactNode;
|
|
216
|
+
children: react__default.ReactNode;
|
|
213
217
|
layout?: FieldLabelLayout;
|
|
214
218
|
size?: ControlSize;
|
|
215
219
|
htmlFor?: string;
|
|
@@ -221,7 +225,7 @@ interface FieldLabelProps extends Omit<ComponentPropsWithoutRef<'div'>, 'childre
|
|
|
221
225
|
id?: string;
|
|
222
226
|
}
|
|
223
227
|
|
|
224
|
-
declare const FieldLabel:
|
|
228
|
+
declare const FieldLabel: react.ForwardRefExoticComponent<FieldLabelProps & react.RefAttributes<HTMLDivElement>>;
|
|
225
229
|
|
|
226
230
|
interface FieldBaseProps {
|
|
227
231
|
label?: string;
|
|
@@ -257,8 +261,8 @@ type TextFieldProps<T extends TextFieldAs = 'input'> = TextFieldOwnProps & Omit<
|
|
|
257
261
|
as?: T;
|
|
258
262
|
};
|
|
259
263
|
|
|
260
|
-
declare const FieldBaseButton:
|
|
261
|
-
declare const FieldBaseIcon:
|
|
264
|
+
declare const FieldBaseButton: react__default.ForwardRefExoticComponent<FieldBaseButtonProps & react__default.RefAttributes<HTMLButtonElement>>;
|
|
265
|
+
declare const FieldBaseIcon: react__default.ForwardRefExoticComponent<FieldBaseIconProps & react__default.RefAttributes<HTMLSpanElement>>;
|
|
262
266
|
type TextFieldComponent = (<T extends TextFieldAs = 'input'>(props: TextFieldProps<T> & {
|
|
263
267
|
ref?: Ref<TextFieldRef<T>>;
|
|
264
268
|
}) => ReactElement | null) & {
|
|
@@ -268,7 +272,7 @@ declare const TextField: TextFieldComponent;
|
|
|
268
272
|
|
|
269
273
|
type SearchFieldProps = Omit<TextFieldProps, 'prefix' | 'type'>;
|
|
270
274
|
|
|
271
|
-
declare const SearchField:
|
|
275
|
+
declare const SearchField: react.ForwardRefExoticComponent<Omit<SearchFieldProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
272
276
|
|
|
273
277
|
type SkeletonVariant = 'block' | 'text' | 'avatar' | 'card' | 'table';
|
|
274
278
|
interface SkeletonProps extends ComponentPropsWithoutRef<'div'> {
|
|
@@ -284,7 +288,7 @@ interface SkeletonProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
284
288
|
columns?: number;
|
|
285
289
|
}
|
|
286
290
|
|
|
287
|
-
declare const Skeleton:
|
|
291
|
+
declare const Skeleton: react.ForwardRefExoticComponent<SkeletonProps & react.RefAttributes<HTMLDivElement>>;
|
|
288
292
|
|
|
289
293
|
interface StatBadgeProps extends ComponentPropsWithoutRef<'div'> {
|
|
290
294
|
label: string;
|
|
@@ -293,7 +297,7 @@ interface StatBadgeProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
293
297
|
size?: 'sm' | 'md';
|
|
294
298
|
}
|
|
295
299
|
|
|
296
|
-
declare const StatBadge:
|
|
300
|
+
declare const StatBadge: react.ForwardRefExoticComponent<StatBadgeProps & react.RefAttributes<HTMLDivElement>>;
|
|
297
301
|
|
|
298
302
|
type BoxVariant = 'outlined' | 'elevated' | 'floating' | 'tinted' | 'secondary' | 'muted' | 'glass' | 'overlay' | 'ghost' | 'plain';
|
|
299
303
|
type BoxShadow = 'none' | 'sm' | 'md' | 'lg';
|
|
@@ -311,14 +315,14 @@ interface BoxProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
311
315
|
radius?: BoxRadius;
|
|
312
316
|
}
|
|
313
317
|
|
|
314
|
-
declare const Box:
|
|
318
|
+
declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLElement>>;
|
|
315
319
|
|
|
316
320
|
type CardVariant = Extract<BoxVariant, 'outlined' | 'elevated' | 'ghost'>;
|
|
317
321
|
interface CardProps extends ComponentPropsWithoutRef<'div'> {
|
|
318
|
-
children?:
|
|
319
|
-
header?:
|
|
320
|
-
media?:
|
|
321
|
-
actions?:
|
|
322
|
+
children?: react__default.ReactNode;
|
|
323
|
+
header?: react__default.ReactNode;
|
|
324
|
+
media?: react__default.ReactNode;
|
|
325
|
+
actions?: react__default.ReactNode;
|
|
322
326
|
hoverable?: boolean;
|
|
323
327
|
variant?: CardVariant;
|
|
324
328
|
radius?: BoxRadius;
|
|
@@ -326,7 +330,7 @@ interface CardProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
326
330
|
as?: BoxAs;
|
|
327
331
|
}
|
|
328
332
|
|
|
329
|
-
declare const Card:
|
|
333
|
+
declare const Card: react.ForwardRefExoticComponent<CardProps & react.RefAttributes<HTMLDivElement>>;
|
|
330
334
|
|
|
331
335
|
type ItemSize = 'sm' | 'md' | 'lg';
|
|
332
336
|
type ItemMediaVariant = 'icon' | 'image' | 'avatar';
|
|
@@ -354,7 +358,7 @@ interface AttachmentProps extends Omit<ItemProps, 'size' | 'variant'> {
|
|
|
354
358
|
status?: AttachmentStatus;
|
|
355
359
|
}
|
|
356
360
|
|
|
357
|
-
declare const Attachment:
|
|
361
|
+
declare const Attachment: react.ForwardRefExoticComponent<AttachmentProps & react.RefAttributes<HTMLDivElement>>;
|
|
358
362
|
|
|
359
363
|
type FileListItemStatus = 'idle' | 'uploading' | 'done' | 'error';
|
|
360
364
|
interface FileListItemProps extends Omit<ComponentPropsWithoutRef<'li'>, 'id'> {
|
|
@@ -363,7 +367,7 @@ interface FileListItemProps extends Omit<ComponentPropsWithoutRef<'li'>, 'id'> {
|
|
|
363
367
|
size?: number | string;
|
|
364
368
|
progress?: number;
|
|
365
369
|
status?: FileListItemStatus;
|
|
366
|
-
error?:
|
|
370
|
+
error?: react__default.ReactNode;
|
|
367
371
|
previewUrl?: string;
|
|
368
372
|
onRemove?: (id: string) => void;
|
|
369
373
|
onRetry?: (id: string) => void;
|
|
@@ -372,12 +376,12 @@ interface FileListItemProps extends Omit<ComponentPropsWithoutRef<'li'>, 'id'> {
|
|
|
372
376
|
attachmentSize?: AttachmentSize;
|
|
373
377
|
}
|
|
374
378
|
interface FileListRootProps extends Omit<ComponentPropsWithoutRef<'ul'>, 'children'> {
|
|
375
|
-
children:
|
|
379
|
+
children: react__default.ReactNode;
|
|
376
380
|
}
|
|
377
381
|
|
|
378
|
-
declare const FileList$1:
|
|
379
|
-
Root:
|
|
380
|
-
Item:
|
|
382
|
+
declare const FileList$1: react.ForwardRefExoticComponent<FileListRootProps & react.RefAttributes<HTMLUListElement>> & {
|
|
383
|
+
Root: react.ForwardRefExoticComponent<FileListRootProps & react.RefAttributes<HTMLUListElement>>;
|
|
384
|
+
Item: react.ForwardRefExoticComponent<FileListItemProps & react.RefAttributes<HTMLLIElement>>;
|
|
381
385
|
};
|
|
382
386
|
|
|
383
387
|
interface PinInputProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'onChange' | 'defaultValue'> {
|
|
@@ -398,7 +402,7 @@ interface PinInputProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'
|
|
|
398
402
|
width?: FieldWidth;
|
|
399
403
|
}
|
|
400
404
|
|
|
401
|
-
declare const PinInput:
|
|
405
|
+
declare const PinInput: react.ForwardRefExoticComponent<PinInputProps & react.RefAttributes<HTMLDivElement>>;
|
|
402
406
|
|
|
403
407
|
interface RatingProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'onChange' | 'defaultValue'> {
|
|
404
408
|
value?: number;
|
|
@@ -411,7 +415,7 @@ interface RatingProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' |
|
|
|
411
415
|
allowClear?: boolean;
|
|
412
416
|
}
|
|
413
417
|
|
|
414
|
-
declare const Rating:
|
|
418
|
+
declare const Rating: react.ForwardRefExoticComponent<RatingProps & react.RefAttributes<HTMLDivElement>>;
|
|
415
419
|
|
|
416
420
|
interface RelativeTimeProps extends Omit<ComponentPropsWithoutRef<'time'>, 'dateTime'> {
|
|
417
421
|
date: Date | string | number;
|
|
@@ -421,12 +425,12 @@ interface RelativeTimeProps extends Omit<ComponentPropsWithoutRef<'time'>, 'date
|
|
|
421
425
|
}
|
|
422
426
|
|
|
423
427
|
declare function formatRelativeTime(date: Date, locale?: string, now?: Date): string;
|
|
424
|
-
declare const RelativeTime:
|
|
428
|
+
declare const RelativeTime: react.ForwardRefExoticComponent<RelativeTimeProps & react.RefAttributes<HTMLTimeElement>>;
|
|
425
429
|
|
|
426
430
|
interface DescriptionListItem {
|
|
427
431
|
id?: string;
|
|
428
|
-
label:
|
|
429
|
-
value:
|
|
432
|
+
label: react__default.ReactNode;
|
|
433
|
+
value: react__default.ReactNode;
|
|
430
434
|
}
|
|
431
435
|
interface DescriptionListProps extends Omit<ComponentPropsWithoutRef<'dl'>, 'children'> {
|
|
432
436
|
items: DescriptionListItem[];
|
|
@@ -434,13 +438,13 @@ interface DescriptionListProps extends Omit<ComponentPropsWithoutRef<'dl'>, 'chi
|
|
|
434
438
|
columns?: 1 | 2 | 3;
|
|
435
439
|
}
|
|
436
440
|
|
|
437
|
-
declare const DescriptionList:
|
|
441
|
+
declare const DescriptionList: react.ForwardRefExoticComponent<DescriptionListProps & react.RefAttributes<HTMLDListElement>>;
|
|
438
442
|
|
|
439
443
|
interface AspectRatioProps extends ComponentPropsWithoutRef<'div'> {
|
|
440
444
|
ratio?: number | string;
|
|
441
445
|
}
|
|
442
446
|
|
|
443
|
-
declare const AspectRatio:
|
|
447
|
+
declare const AspectRatio: react.ForwardRefExoticComponent<AspectRatioProps & react.RefAttributes<HTMLDivElement>>;
|
|
444
448
|
|
|
445
449
|
interface MediaProps extends Omit<AspectRatioProps, 'children'> {
|
|
446
450
|
src: string;
|
|
@@ -451,34 +455,41 @@ interface MediaProps extends Omit<AspectRatioProps, 'children'> {
|
|
|
451
455
|
rounded?: boolean;
|
|
452
456
|
}
|
|
453
457
|
|
|
454
|
-
declare const Media:
|
|
458
|
+
declare const Media: react.ForwardRefExoticComponent<MediaProps & react.RefAttributes<HTMLDivElement>>;
|
|
455
459
|
|
|
456
460
|
interface ScrollAreaProps extends ComponentPropsWithoutRef<'div'> {
|
|
457
461
|
maxHeight?: string | number;
|
|
458
462
|
maxWidth?: string | number;
|
|
459
463
|
orientation?: 'y' | 'x' | 'both';
|
|
460
|
-
children?:
|
|
464
|
+
children?: react__default.ReactNode;
|
|
461
465
|
}
|
|
462
466
|
|
|
463
|
-
declare const ScrollArea:
|
|
467
|
+
declare const ScrollArea: react.ForwardRefExoticComponent<ScrollAreaProps & react.RefAttributes<HTMLDivElement>>;
|
|
464
468
|
|
|
465
469
|
interface VisuallyHiddenProps extends ComponentPropsWithoutRef<'span'> {
|
|
466
|
-
children:
|
|
470
|
+
children: react__default.ReactNode;
|
|
467
471
|
as?: 'span' | 'div' | 'label';
|
|
468
472
|
}
|
|
469
473
|
|
|
470
|
-
declare const VisuallyHidden:
|
|
474
|
+
declare const VisuallyHidden: react.ForwardRefExoticComponent<VisuallyHiddenProps & react.RefAttributes<HTMLElement>>;
|
|
475
|
+
|
|
476
|
+
interface LiveRegionProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'role'> {
|
|
477
|
+
message?: ReactNode;
|
|
478
|
+
politeness?: 'polite' | 'assertive';
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
declare const LiveRegion: react.ForwardRefExoticComponent<LiveRegionProps & react.RefAttributes<HTMLElement>>;
|
|
471
482
|
|
|
472
483
|
interface SkipLinkProps extends ComponentPropsWithoutRef<'a'> {
|
|
473
484
|
href?: string;
|
|
474
|
-
children?:
|
|
485
|
+
children?: react__default.ReactNode;
|
|
475
486
|
}
|
|
476
487
|
|
|
477
|
-
declare const SkipLink:
|
|
488
|
+
declare const SkipLink: react.ForwardRefExoticComponent<SkipLinkProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
478
489
|
|
|
479
490
|
type CheckboxMode = 'default' | 'task';
|
|
480
491
|
interface CheckboxProps extends Omit<ComponentPropsWithoutRef<'input'>, 'size'> {
|
|
481
|
-
label?:
|
|
492
|
+
label?: react__default.ReactNode;
|
|
482
493
|
labelVisibility?: 'visible' | 'hidden';
|
|
483
494
|
readOnly?: boolean;
|
|
484
495
|
size?: ControlSize;
|
|
@@ -504,116 +515,28 @@ interface CheckboxGroupProps extends Omit<ComponentPropsWithoutRef<'fieldset'>,
|
|
|
504
515
|
labelSide?: LabelSide;
|
|
505
516
|
}
|
|
506
517
|
|
|
507
|
-
declare const Checkbox:
|
|
508
|
-
declare const CheckboxGroup:
|
|
518
|
+
declare const Checkbox: react.ForwardRefExoticComponent<CheckboxProps & react.RefAttributes<HTMLInputElement>>;
|
|
519
|
+
declare const CheckboxGroup: react.ForwardRefExoticComponent<CheckboxGroupProps & react.RefAttributes<HTMLFieldSetElement>>;
|
|
509
520
|
|
|
510
521
|
interface CollapseProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
511
522
|
open: boolean;
|
|
512
|
-
children:
|
|
523
|
+
children: react__default.ReactNode;
|
|
513
524
|
reducedMotion?: boolean;
|
|
514
525
|
}
|
|
515
526
|
|
|
516
|
-
declare const Collapse:
|
|
527
|
+
declare const Collapse: react.ForwardRefExoticComponent<CollapseProps & react.RefAttributes<HTMLDivElement>>;
|
|
517
528
|
|
|
518
|
-
type
|
|
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>>;
|
|
530
|
-
|
|
531
|
-
type OverlayPurpose = 'tooltip' | 'popover' | 'dropdown' | 'modal' | 'sheet' | 'lightbox' | 'notification';
|
|
532
|
-
|
|
533
|
-
type RenderChildrenFn<P> = (props: P, contentRef: React__default.RefCallback<HTMLElement>) => React__default.ReactNode;
|
|
529
|
+
type RenderChildrenFn<P> = (props: P, contentRef: react__default.RefCallback<HTMLElement>) => react__default.ReactNode;
|
|
534
530
|
type WithEnrichedChildren<T, P> = T & {
|
|
535
|
-
children: RenderChildrenFn<P> |
|
|
531
|
+
children: RenderChildrenFn<P> | react__default.ReactElement;
|
|
536
532
|
};
|
|
537
533
|
|
|
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;
|
|
592
|
-
};
|
|
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
|
-
|
|
613
534
|
type DropdownPopupRole = 'menu' | 'listbox' | 'none' | 'dialog';
|
|
614
535
|
type DropdownTriggerMode = 'toggle' | 'combobox';
|
|
615
|
-
|
|
616
|
-
type
|
|
536
|
+
type DropdownAlign = AnchorAlign | 'auto' | 'left' | 'right';
|
|
537
|
+
type DropdownWidthMode = 'trigger' | 'content' | 'trigger-fit';
|
|
538
|
+
type DropdownPanelScroll = 'overlay' | 'content';
|
|
539
|
+
type DropdownTriggerAttrs = Pick<react__default.HTMLAttributes<HTMLElement>, 'onKeyDown' | 'onClick'> & {
|
|
617
540
|
'aria-haspopup'?: 'true' | 'listbox' | 'menu' | 'dialog';
|
|
618
541
|
'aria-expanded': boolean;
|
|
619
542
|
'aria-controls'?: string;
|
|
@@ -623,23 +546,23 @@ type DropdownTriggerAttrs = Pick<React__default.HTMLAttributes<HTMLElement>, 'on
|
|
|
623
546
|
};
|
|
624
547
|
type DropdownTriggerSlotProps = DropdownTriggerAttrs;
|
|
625
548
|
interface DropdownProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
626
|
-
children?:
|
|
549
|
+
children?: react__default.ReactNode;
|
|
627
550
|
renderTrigger: RenderChildrenFn<DropdownTriggerSlotProps>;
|
|
628
551
|
open?: boolean;
|
|
629
552
|
onOpenChange?: (open: boolean) => void;
|
|
630
553
|
popupRole?: DropdownPopupRole;
|
|
631
554
|
triggerMode?: DropdownTriggerMode;
|
|
632
|
-
boxProps?:
|
|
555
|
+
boxProps?: BoxProps;
|
|
633
556
|
align?: DropdownAlign;
|
|
634
557
|
widthMode?: DropdownWidthMode;
|
|
635
|
-
mobileTitle?:
|
|
636
|
-
mobileLeftControls?:
|
|
637
|
-
mobileRightControls?:
|
|
558
|
+
mobileTitle?: react__default.ReactNode;
|
|
559
|
+
mobileLeftControls?: react__default.ReactNode;
|
|
560
|
+
mobileRightControls?: react__default.ReactNode;
|
|
638
561
|
panelScroll?: DropdownPanelScroll;
|
|
639
562
|
panelClassName?: string;
|
|
640
563
|
}
|
|
641
564
|
|
|
642
|
-
declare const Dropdown:
|
|
565
|
+
declare const Dropdown: react.ForwardRefExoticComponent<DropdownProps & react.RefAttributes<HTMLDivElement>>;
|
|
643
566
|
|
|
644
567
|
interface ListboxOption {
|
|
645
568
|
value: string;
|
|
@@ -691,7 +614,7 @@ interface ListboxHandle {
|
|
|
691
614
|
focusOption: (index: number) => void;
|
|
692
615
|
}
|
|
693
616
|
|
|
694
|
-
declare const Listbox:
|
|
617
|
+
declare const Listbox: react.ForwardRefExoticComponent<ListboxProps & react.RefAttributes<ListboxHandle>>;
|
|
695
618
|
|
|
696
619
|
interface ActionListItem {
|
|
697
620
|
id: string;
|
|
@@ -749,7 +672,7 @@ interface MenuProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
|
749
672
|
onAction?: ActionListProps['onAction'];
|
|
750
673
|
}
|
|
751
674
|
|
|
752
|
-
declare const Menu:
|
|
675
|
+
declare const Menu: react.ForwardRefExoticComponent<MenuProps & react.RefAttributes<HTMLDivElement>>;
|
|
753
676
|
|
|
754
677
|
interface ImageGalleryItem {
|
|
755
678
|
src: string;
|
|
@@ -768,7 +691,7 @@ interface ImageGalleryProps extends Omit<ComponentPropsWithoutRef<'div'>, 'child
|
|
|
768
691
|
enableKeyboard?: boolean;
|
|
769
692
|
}
|
|
770
693
|
|
|
771
|
-
declare const ImageGallery:
|
|
694
|
+
declare const ImageGallery: react.ForwardRefExoticComponent<ImageGalleryProps & react.RefAttributes<HTMLDivElement>>;
|
|
772
695
|
|
|
773
696
|
interface ImageLightboxProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
774
697
|
open: boolean;
|
|
@@ -779,7 +702,7 @@ interface ImageLightboxProps extends Omit<ComponentPropsWithoutRef<'div'>, 'chil
|
|
|
779
702
|
onIndexChange?: (index: number) => void;
|
|
780
703
|
}
|
|
781
704
|
|
|
782
|
-
declare const ImageLightbox:
|
|
705
|
+
declare const ImageLightbox: react.ForwardRefExoticComponent<ImageLightboxProps & react.RefAttributes<HTMLElement>>;
|
|
783
706
|
|
|
784
707
|
type LinkVariant = 'primary' | 'secondary' | 'muted';
|
|
785
708
|
type LinkStatus = 'default' | 'danger';
|
|
@@ -789,21 +712,21 @@ interface LinkProps extends ComponentPropsWithoutRef<'a'> {
|
|
|
789
712
|
status?: LinkStatus;
|
|
790
713
|
size?: LinkSize;
|
|
791
714
|
weight?: 'normal' | 'medium' | 'bold';
|
|
792
|
-
children:
|
|
715
|
+
children: react__default.ReactNode;
|
|
793
716
|
}
|
|
794
717
|
|
|
795
|
-
declare const Link:
|
|
718
|
+
declare const Link: react.ForwardRefExoticComponent<LinkProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
796
719
|
|
|
797
720
|
interface SwipeAction {
|
|
798
721
|
id: string;
|
|
799
722
|
label: string;
|
|
800
|
-
icon?:
|
|
723
|
+
icon?: react__default.ReactNode;
|
|
801
724
|
onClick: () => void;
|
|
802
725
|
bg?: string;
|
|
803
726
|
swipeToTrigger?: boolean;
|
|
804
727
|
}
|
|
805
|
-
interface SwipeToActionProps extends Omit<
|
|
806
|
-
children:
|
|
728
|
+
interface SwipeToActionProps extends Omit<react__default.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
729
|
+
children: react__default.ReactNode;
|
|
807
730
|
leftActions?: SwipeAction[];
|
|
808
731
|
rightActions?: SwipeAction[];
|
|
809
732
|
closeOnOutsideClick?: boolean;
|
|
@@ -811,7 +734,7 @@ interface SwipeToActionProps extends Omit<React__default.HTMLAttributes<HTMLDivE
|
|
|
811
734
|
actionWidth?: number;
|
|
812
735
|
}
|
|
813
736
|
|
|
814
|
-
declare const SwipeToAction:
|
|
737
|
+
declare const SwipeToAction: react__default.ForwardRefExoticComponent<SwipeToActionProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
815
738
|
|
|
816
739
|
interface MaskedFieldProps extends Omit<TextFieldProps, 'value' | 'onChange'> {
|
|
817
740
|
mask: string;
|
|
@@ -820,7 +743,7 @@ interface MaskedFieldProps extends Omit<TextFieldProps, 'value' | 'onChange'> {
|
|
|
820
743
|
maskAsPlaceholder?: boolean;
|
|
821
744
|
}
|
|
822
745
|
|
|
823
|
-
declare const MaskedField:
|
|
746
|
+
declare const MaskedField: react.ForwardRefExoticComponent<Omit<MaskedFieldProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
824
747
|
|
|
825
748
|
interface NumberFieldProps extends Omit<TextFieldProps, 'type' | 'onChange'> {
|
|
826
749
|
value?: number;
|
|
@@ -830,42 +753,42 @@ interface NumberFieldProps extends Omit<TextFieldProps, 'type' | 'onChange'> {
|
|
|
830
753
|
onChange?: (val: number | undefined) => void;
|
|
831
754
|
}
|
|
832
755
|
|
|
833
|
-
declare const NumberField:
|
|
756
|
+
declare const NumberField: react.ForwardRefExoticComponent<Omit<NumberFieldProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
834
757
|
|
|
835
|
-
interface PaginationRootProps extends Omit<
|
|
758
|
+
interface PaginationRootProps extends Omit<react__default.ComponentPropsWithoutRef<'nav'>, 'children'> {
|
|
836
759
|
currentPage: number;
|
|
837
760
|
totalPages: number;
|
|
838
761
|
onPageChange: (page: number) => void;
|
|
839
|
-
children?:
|
|
762
|
+
children?: react__default.ReactNode;
|
|
840
763
|
totalItems?: number;
|
|
841
764
|
pageSize?: number;
|
|
842
765
|
onPageSizeChange?: (pageSize: number) => void;
|
|
843
766
|
pageSizeOptions?: number[];
|
|
844
767
|
}
|
|
845
|
-
interface PaginationSummaryProps extends
|
|
768
|
+
interface PaginationSummaryProps extends react__default.HTMLAttributes<HTMLSpanElement> {
|
|
846
769
|
totalItems?: number;
|
|
847
770
|
pageSize?: number;
|
|
848
771
|
}
|
|
849
|
-
type PaginationControlsProps =
|
|
850
|
-
interface PaginationPageSizeProps extends Omit<
|
|
772
|
+
type PaginationControlsProps = react__default.HTMLAttributes<HTMLDivElement>;
|
|
773
|
+
interface PaginationPageSizeProps extends Omit<react__default.HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
851
774
|
pageSize: number;
|
|
852
775
|
onPageSizeChange: (pageSize: number) => void;
|
|
853
776
|
pageSizeOptions?: number[];
|
|
854
777
|
}
|
|
855
778
|
type PaginationProps = PaginationRootProps;
|
|
856
779
|
|
|
857
|
-
declare const Pagination:
|
|
858
|
-
Summary:
|
|
859
|
-
Controls:
|
|
860
|
-
PageSize:
|
|
780
|
+
declare const Pagination: react.ForwardRefExoticComponent<PaginationRootProps & react.RefAttributes<HTMLElement>> & {
|
|
781
|
+
Summary: react.ForwardRefExoticComponent<PaginationSummaryProps & react.RefAttributes<HTMLSpanElement>>;
|
|
782
|
+
Controls: react.ForwardRefExoticComponent<PaginationControlsProps & react.RefAttributes<HTMLDivElement>>;
|
|
783
|
+
PageSize: react.ForwardRefExoticComponent<PaginationPageSizeProps & react.RefAttributes<HTMLDivElement>>;
|
|
861
784
|
};
|
|
862
785
|
|
|
863
786
|
type ProgressVariant = 'auto' | 'primary' | 'success' | 'warning' | 'error' | 'info';
|
|
864
787
|
interface ProgressProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
865
788
|
percentage?: number;
|
|
866
789
|
indeterminate?: boolean;
|
|
867
|
-
label?:
|
|
868
|
-
valueText?:
|
|
790
|
+
label?: react__default.ReactNode;
|
|
791
|
+
valueText?: react__default.ReactNode;
|
|
869
792
|
showValueText?: boolean;
|
|
870
793
|
size?: ControlSize;
|
|
871
794
|
variant?: ProgressVariant;
|
|
@@ -874,11 +797,11 @@ interface ProgressCircleProps extends ProgressProps {
|
|
|
874
797
|
diameter?: number;
|
|
875
798
|
}
|
|
876
799
|
|
|
877
|
-
declare const Progress:
|
|
878
|
-
declare const ProgressCircle:
|
|
800
|
+
declare const Progress: react.ForwardRefExoticComponent<ProgressProps & react.RefAttributes<HTMLDivElement>>;
|
|
801
|
+
declare const ProgressCircle: react.ForwardRefExoticComponent<ProgressCircleProps & react.RefAttributes<HTMLDivElement>>;
|
|
879
802
|
|
|
880
803
|
interface RadioProps extends Omit<ComponentPropsWithoutRef<'input'>, 'size'> {
|
|
881
|
-
label:
|
|
804
|
+
label: react__default.ReactNode;
|
|
882
805
|
readOnly?: boolean;
|
|
883
806
|
size?: ControlSize;
|
|
884
807
|
labelSide?: LabelSide;
|
|
@@ -901,12 +824,12 @@ interface RadioGroupProps extends Omit<ComponentPropsWithoutRef<'fieldset'>, 'ch
|
|
|
901
824
|
labelSide?: LabelSide;
|
|
902
825
|
}
|
|
903
826
|
|
|
904
|
-
declare const Radio:
|
|
905
|
-
declare const RadioGroup:
|
|
827
|
+
declare const Radio: react.ForwardRefExoticComponent<RadioProps & react.RefAttributes<HTMLInputElement>>;
|
|
828
|
+
declare const RadioGroup: react.ForwardRefExoticComponent<RadioGroupProps & react.RefAttributes<HTMLFieldSetElement>>;
|
|
906
829
|
|
|
907
830
|
type SelectionGroupOrientation = 'horizontal' | 'vertical';
|
|
908
831
|
interface SelectionGroupRootProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'defaultValue' | 'onChange'> {
|
|
909
|
-
children:
|
|
832
|
+
children: react__default.ReactNode;
|
|
910
833
|
value?: string;
|
|
911
834
|
defaultValue?: string;
|
|
912
835
|
onChange?: (value: string) => void;
|
|
@@ -916,23 +839,23 @@ interface SelectionGroupRootProps extends Omit<ComponentPropsWithoutRef<'div'>,
|
|
|
916
839
|
activateOnFocus?: boolean;
|
|
917
840
|
}
|
|
918
841
|
interface SelectionGroupListProps extends ComponentPropsWithoutRef<'div'> {
|
|
919
|
-
children?:
|
|
842
|
+
children?: react__default.ReactNode;
|
|
920
843
|
}
|
|
921
844
|
interface SelectionGroupItemProps extends Omit<ComponentPropsWithoutRef<'button'>, 'value'> {
|
|
922
845
|
value: string;
|
|
923
|
-
children?:
|
|
846
|
+
children?: react__default.ReactNode;
|
|
924
847
|
}
|
|
925
848
|
interface SelectionGroupPanelProps extends ComponentPropsWithoutRef<'div'> {
|
|
926
849
|
value: string;
|
|
927
|
-
children?:
|
|
850
|
+
children?: react__default.ReactNode;
|
|
928
851
|
forceMount?: boolean;
|
|
929
852
|
}
|
|
930
853
|
|
|
931
|
-
declare const SelectionGroupRoot:
|
|
932
|
-
declare const SelectionGroupList:
|
|
933
|
-
declare const SelectionGroupItem:
|
|
934
|
-
declare const SelectionGroupPanel:
|
|
935
|
-
type SelectionGroupComponent =
|
|
854
|
+
declare const SelectionGroupRoot: ForwardRefExoticComponent<SelectionGroupRootProps & RefAttributes<HTMLDivElement>>;
|
|
855
|
+
declare const SelectionGroupList: ForwardRefExoticComponent<SelectionGroupListProps & RefAttributes<HTMLDivElement>>;
|
|
856
|
+
declare const SelectionGroupItem: ForwardRefExoticComponent<SelectionGroupItemProps & RefAttributes<HTMLButtonElement>>;
|
|
857
|
+
declare const SelectionGroupPanel: ForwardRefExoticComponent<SelectionGroupPanelProps & RefAttributes<HTMLDivElement>>;
|
|
858
|
+
type SelectionGroupComponent = ForwardRefExoticComponent<SelectionGroupRootProps & RefAttributes<HTMLDivElement>> & {
|
|
936
859
|
Root: typeof SelectionGroupRoot;
|
|
937
860
|
List: typeof SelectionGroupList;
|
|
938
861
|
Item: typeof SelectionGroupItem;
|
|
@@ -957,12 +880,15 @@ interface SegmentedControlProps<T = string> extends Omit<ComponentPropsWithoutRe
|
|
|
957
880
|
borderless?: boolean;
|
|
958
881
|
}
|
|
959
882
|
|
|
960
|
-
|
|
961
|
-
ref?:
|
|
962
|
-
}) =>
|
|
883
|
+
type SegmentedControlComponent = (<T extends string | number>(props: SegmentedControlProps<T> & {
|
|
884
|
+
ref?: Ref<HTMLDivElement>;
|
|
885
|
+
}) => ReactElement) & {
|
|
886
|
+
displayName?: string;
|
|
887
|
+
};
|
|
888
|
+
declare const SegmentedControl: SegmentedControlComponent;
|
|
963
889
|
|
|
964
|
-
interface SidebarProps extends Omit<
|
|
965
|
-
children:
|
|
890
|
+
interface SidebarProps extends Omit<react__default.ComponentPropsWithoutRef<'aside'>, 'children' | 'onChange'> {
|
|
891
|
+
children: react__default.ReactNode;
|
|
966
892
|
value?: string;
|
|
967
893
|
defaultValue?: string;
|
|
968
894
|
onChange?: (id: string) => void;
|
|
@@ -973,51 +899,48 @@ interface SidebarProps extends Omit<React__default.ComponentPropsWithoutRef<'asi
|
|
|
973
899
|
mobileOpen?: boolean;
|
|
974
900
|
onMobileOpenChange?: (open: boolean) => void;
|
|
975
901
|
}
|
|
976
|
-
interface SidebarHeaderProps extends
|
|
977
|
-
children?:
|
|
902
|
+
interface SidebarHeaderProps extends react__default.HTMLAttributes<HTMLElement> {
|
|
903
|
+
children?: react__default.ReactNode;
|
|
978
904
|
}
|
|
979
|
-
interface SidebarTitleProps extends
|
|
980
|
-
children:
|
|
905
|
+
interface SidebarTitleProps extends react__default.HTMLAttributes<HTMLSpanElement> {
|
|
906
|
+
children: react__default.ReactNode;
|
|
981
907
|
}
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
children: React__default.ReactNode;
|
|
908
|
+
interface SidebarContentProps extends react__default.HTMLAttributes<HTMLElement> {
|
|
909
|
+
children: react__default.ReactNode;
|
|
985
910
|
}
|
|
986
|
-
interface SidebarGroupProps extends
|
|
987
|
-
children:
|
|
911
|
+
interface SidebarGroupProps extends react__default.HTMLAttributes<HTMLDivElement> {
|
|
912
|
+
children: react__default.ReactNode;
|
|
988
913
|
}
|
|
989
|
-
interface SidebarGroupLabelProps extends
|
|
990
|
-
children:
|
|
914
|
+
interface SidebarGroupLabelProps extends react__default.HTMLAttributes<HTMLDivElement> {
|
|
915
|
+
children: react__default.ReactNode;
|
|
991
916
|
}
|
|
992
|
-
interface SidebarItemProps extends Omit<
|
|
917
|
+
interface SidebarItemProps extends Omit<react__default.ButtonHTMLAttributes<HTMLButtonElement>, 'onChange' | 'type'> {
|
|
993
918
|
value: string;
|
|
994
|
-
icon?:
|
|
995
|
-
badge?:
|
|
919
|
+
icon?: react__default.ReactNode;
|
|
920
|
+
badge?: react__default.ReactNode;
|
|
996
921
|
badgeDot?: boolean;
|
|
997
|
-
children:
|
|
922
|
+
children: react__default.ReactNode;
|
|
998
923
|
}
|
|
999
|
-
interface SidebarFooterProps extends
|
|
1000
|
-
children:
|
|
924
|
+
interface SidebarFooterProps extends react__default.HTMLAttributes<HTMLElement> {
|
|
925
|
+
children: react__default.ReactNode;
|
|
1001
926
|
}
|
|
1002
|
-
interface SidebarMobileTriggerProps extends Omit<
|
|
927
|
+
interface SidebarMobileTriggerProps extends Omit<react__default.ButtonHTMLAttributes<HTMLButtonElement>, 'type'> {
|
|
1003
928
|
label?: string;
|
|
1004
929
|
}
|
|
1005
930
|
|
|
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>>;
|
|
931
|
+
declare const SidebarRoot: react.ForwardRefExoticComponent<SidebarProps & react.RefAttributes<HTMLElement>>;
|
|
932
|
+
declare const SidebarHeader: react.ForwardRefExoticComponent<SidebarHeaderProps & react.RefAttributes<HTMLElement>>;
|
|
933
|
+
declare const SidebarTitle: react.ForwardRefExoticComponent<SidebarTitleProps & react.RefAttributes<HTMLSpanElement>>;
|
|
934
|
+
declare const SidebarContent: react.ForwardRefExoticComponent<SidebarContentProps & react.RefAttributes<HTMLElement>>;
|
|
935
|
+
declare const SidebarGroup: react.ForwardRefExoticComponent<SidebarGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
936
|
+
declare const SidebarGroupLabel: react.ForwardRefExoticComponent<SidebarGroupLabelProps & react.RefAttributes<HTMLDivElement>>;
|
|
937
|
+
declare const SidebarItem: react.ForwardRefExoticComponent<SidebarItemProps & react.RefAttributes<HTMLButtonElement>>;
|
|
938
|
+
declare const SidebarFooter: react.ForwardRefExoticComponent<SidebarFooterProps & react.RefAttributes<HTMLElement>>;
|
|
939
|
+
declare const SidebarMobileTrigger: react.ForwardRefExoticComponent<SidebarMobileTriggerProps & react.RefAttributes<HTMLButtonElement>>;
|
|
1016
940
|
type SidebarComponent = typeof SidebarRoot & {
|
|
1017
941
|
Root: typeof SidebarRoot;
|
|
1018
942
|
Header: typeof SidebarHeader;
|
|
1019
943
|
Title: typeof SidebarTitle;
|
|
1020
|
-
Collapse: typeof SidebarCollapse;
|
|
1021
944
|
Content: typeof SidebarContent;
|
|
1022
945
|
Group: typeof SidebarGroup;
|
|
1023
946
|
GroupLabel: typeof SidebarGroupLabel;
|
|
@@ -1033,13 +956,13 @@ interface SafeAreaProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
1033
956
|
padding?: string | number;
|
|
1034
957
|
fill?: boolean;
|
|
1035
958
|
as?: 'div' | 'main' | 'section' | 'header' | 'footer';
|
|
1036
|
-
children?:
|
|
959
|
+
children?: react__default.ReactNode;
|
|
1037
960
|
}
|
|
1038
961
|
|
|
1039
|
-
declare const SafeArea:
|
|
962
|
+
declare const SafeArea: react.ForwardRefExoticComponent<SafeAreaProps & react.RefAttributes<HTMLElement>>;
|
|
1040
963
|
|
|
1041
964
|
interface PullToRefreshProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
1042
|
-
children:
|
|
965
|
+
children: react__default.ReactNode;
|
|
1043
966
|
onRefresh: () => void | Promise<void>;
|
|
1044
967
|
threshold?: number;
|
|
1045
968
|
disabled?: boolean;
|
|
@@ -1048,16 +971,16 @@ interface PullToRefreshProps extends Omit<ComponentPropsWithoutRef<'div'>, 'chil
|
|
|
1048
971
|
refreshingLabel?: string;
|
|
1049
972
|
}
|
|
1050
973
|
|
|
1051
|
-
declare const PullToRefresh:
|
|
974
|
+
declare const PullToRefresh: react__default.ForwardRefExoticComponent<PullToRefreshProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
1052
975
|
|
|
1053
976
|
type TimelineItemStatus = 'default' | 'success' | 'warning' | 'error' | 'info';
|
|
1054
977
|
interface TimelineItem {
|
|
1055
978
|
id: string;
|
|
1056
|
-
title:
|
|
1057
|
-
description?:
|
|
1058
|
-
details?:
|
|
1059
|
-
time?:
|
|
1060
|
-
icon?:
|
|
979
|
+
title: react__default.ReactNode;
|
|
980
|
+
description?: react__default.ReactNode;
|
|
981
|
+
details?: react__default.ReactNode;
|
|
982
|
+
time?: react__default.ReactNode;
|
|
983
|
+
icon?: react__default.ReactNode;
|
|
1061
984
|
status?: TimelineItemStatus;
|
|
1062
985
|
}
|
|
1063
986
|
interface TimelineProps extends Omit<ComponentPropsWithoutRef<'ol'>, 'children'> {
|
|
@@ -1067,7 +990,7 @@ interface TimelineProps extends Omit<ComponentPropsWithoutRef<'ol'>, 'children'>
|
|
|
1067
990
|
defaultExpandedIds?: string[];
|
|
1068
991
|
}
|
|
1069
992
|
|
|
1070
|
-
declare const Timeline:
|
|
993
|
+
declare const Timeline: react.ForwardRefExoticComponent<TimelineProps & react.RefAttributes<HTMLOListElement>>;
|
|
1071
994
|
|
|
1072
995
|
type RangeValue = [number, number];
|
|
1073
996
|
type SliderSharedProps = Omit<ComponentPropsWithoutRef<'div'>, 'onChange' | 'defaultValue'> & {
|
|
@@ -1088,27 +1011,27 @@ type SliderRangeProps = SliderSharedProps & {
|
|
|
1088
1011
|
};
|
|
1089
1012
|
type SliderProps = SliderSingleProps | SliderRangeProps;
|
|
1090
1013
|
|
|
1091
|
-
declare const Slider:
|
|
1014
|
+
declare const Slider: react.ForwardRefExoticComponent<SliderProps & react.RefAttributes<HTMLDivElement>>;
|
|
1092
1015
|
|
|
1093
1016
|
type SpinnerVariant = 'spin' | 'typing' | 'dots' | 'pulse';
|
|
1094
1017
|
type SpinnerSize = 'sm' | 'md' | 'lg';
|
|
1095
1018
|
interface SpinnerProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
1096
1019
|
variant?: SpinnerVariant;
|
|
1097
1020
|
size?: number | SpinnerSize;
|
|
1098
|
-
label?:
|
|
1021
|
+
label?: react__default.ReactNode;
|
|
1099
1022
|
}
|
|
1100
1023
|
|
|
1101
|
-
declare const Spinner:
|
|
1024
|
+
declare const Spinner: react.ForwardRefExoticComponent<SpinnerProps & react.RefAttributes<HTMLDivElement>>;
|
|
1102
1025
|
|
|
1103
1026
|
type StepStatus = 'pending' | 'current' | 'complete' | 'error';
|
|
1104
1027
|
interface StepItem {
|
|
1105
1028
|
title: string;
|
|
1106
|
-
description?:
|
|
1029
|
+
description?: react__default.ReactNode;
|
|
1107
1030
|
status?: StepStatus;
|
|
1108
1031
|
disabled?: boolean;
|
|
1109
|
-
icon?:
|
|
1032
|
+
icon?: react__default.ReactNode;
|
|
1110
1033
|
}
|
|
1111
|
-
interface StepsProps extends Omit<
|
|
1034
|
+
interface StepsProps extends Omit<react__default.ComponentPropsWithoutRef<'ol'>, 'children'> {
|
|
1112
1035
|
currentStep: number;
|
|
1113
1036
|
items: StepItem[];
|
|
1114
1037
|
orientation?: 'horizontal' | 'vertical';
|
|
@@ -1117,7 +1040,7 @@ interface StepsProps extends Omit<React__default.ComponentPropsWithoutRef<'ol'>,
|
|
|
1117
1040
|
showConnectors?: boolean;
|
|
1118
1041
|
}
|
|
1119
1042
|
|
|
1120
|
-
declare const Steps:
|
|
1043
|
+
declare const Steps: react.ForwardRefExoticComponent<StepsProps & react.RefAttributes<HTMLOListElement>>;
|
|
1121
1044
|
|
|
1122
1045
|
type SwitchLabelSide = LabelSide;
|
|
1123
1046
|
interface SwitchProps extends Omit<ComponentPropsWithoutRef<'input'>, 'onChange' | 'size'> {
|
|
@@ -1131,7 +1054,7 @@ interface SwitchProps extends Omit<ComponentPropsWithoutRef<'input'>, 'onChange'
|
|
|
1131
1054
|
labelSide?: SwitchLabelSide;
|
|
1132
1055
|
}
|
|
1133
1056
|
|
|
1134
|
-
declare const Switch:
|
|
1057
|
+
declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLInputElement>>;
|
|
1135
1058
|
|
|
1136
1059
|
type TabsVariant = 'line' | 'pill';
|
|
1137
1060
|
type TabsOrientation = 'horizontal' | 'vertical';
|
|
@@ -1141,24 +1064,24 @@ interface TabsProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | '
|
|
|
1141
1064
|
onChange?: (id: string) => void;
|
|
1142
1065
|
variant?: TabsVariant;
|
|
1143
1066
|
orientation?: TabsOrientation;
|
|
1144
|
-
children:
|
|
1067
|
+
children: react__default.ReactNode;
|
|
1145
1068
|
}
|
|
1146
1069
|
type TabsListProps = ComponentPropsWithoutRef<'div'>;
|
|
1147
|
-
interface TabsTriggerProps extends Omit<
|
|
1070
|
+
interface TabsTriggerProps extends Omit<react__default.ButtonHTMLAttributes<HTMLButtonElement>, 'value'> {
|
|
1148
1071
|
value: string;
|
|
1149
|
-
badge?:
|
|
1072
|
+
badge?: react__default.ReactNode;
|
|
1150
1073
|
badgeDot?: boolean;
|
|
1151
1074
|
}
|
|
1152
|
-
interface TabsPanelProps extends
|
|
1075
|
+
interface TabsPanelProps extends react__default.HTMLAttributes<HTMLDivElement> {
|
|
1153
1076
|
value: string;
|
|
1154
1077
|
forceMount?: boolean;
|
|
1155
1078
|
}
|
|
1156
1079
|
|
|
1157
|
-
declare const TabsList:
|
|
1158
|
-
declare const TabsTrigger:
|
|
1159
|
-
declare const TabsPanel:
|
|
1160
|
-
declare const TabsRoot:
|
|
1161
|
-
type TabsComponent =
|
|
1080
|
+
declare const TabsList: react__default.ForwardRefExoticComponent<Omit<react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
1081
|
+
declare const TabsTrigger: react__default.ForwardRefExoticComponent<TabsTriggerProps & react__default.RefAttributes<HTMLButtonElement>>;
|
|
1082
|
+
declare const TabsPanel: react__default.ForwardRefExoticComponent<TabsPanelProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
1083
|
+
declare const TabsRoot: react__default.ForwardRefExoticComponent<TabsProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
1084
|
+
type TabsComponent = react__default.ForwardRefExoticComponent<TabsProps & react__default.RefAttributes<HTMLDivElement>> & {
|
|
1162
1085
|
Root: typeof TabsRoot;
|
|
1163
1086
|
List: typeof TabsList;
|
|
1164
1087
|
Trigger: typeof TabsTrigger;
|
|
@@ -1178,7 +1101,7 @@ interface TextProps extends Omit<TypeProps, 'color'> {
|
|
|
1178
1101
|
color?: 'primary' | 'secondary' | 'tertiary' | 'muted' | 'info' | 'success' | 'warning' | 'error' | 'disabled';
|
|
1179
1102
|
}
|
|
1180
1103
|
|
|
1181
|
-
declare const Text:
|
|
1104
|
+
declare const Text: react.ForwardRefExoticComponent<TextProps & react.RefAttributes<HTMLElement>>;
|
|
1182
1105
|
|
|
1183
1106
|
type PasswordStrength = 'empty' | 'weak' | 'fair' | 'good' | 'strong';
|
|
1184
1107
|
interface PasswordFieldProps extends Omit<TextFieldProps, 'type' | 'postfix'> {
|
|
@@ -1192,15 +1115,15 @@ interface PasswordFieldProps extends Omit<TextFieldProps, 'type' | 'postfix'> {
|
|
|
1192
1115
|
}
|
|
1193
1116
|
|
|
1194
1117
|
declare function getPasswordStrength(password: string): PasswordStrength;
|
|
1195
|
-
declare const PasswordField:
|
|
1118
|
+
declare const PasswordField: react.ForwardRefExoticComponent<Omit<PasswordFieldProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
1196
1119
|
|
|
1197
1120
|
type FormMessageVariant = 'error' | 'hint' | 'success';
|
|
1198
1121
|
interface FormMessageProps extends Omit<ComponentPropsWithoutRef<'p'>, 'color'> {
|
|
1199
1122
|
variant?: FormMessageVariant;
|
|
1200
|
-
children:
|
|
1123
|
+
children: react__default.ReactNode;
|
|
1201
1124
|
}
|
|
1202
1125
|
|
|
1203
|
-
declare const FormMessage:
|
|
1126
|
+
declare const FormMessage: react.ForwardRefExoticComponent<FormMessageProps & react.RefAttributes<HTMLParagraphElement>>;
|
|
1204
1127
|
|
|
1205
1128
|
interface TextareaFieldProps extends FieldBaseProps, Omit<ComponentPropsWithoutRef<'textarea'>, 'size' | 'width' | 'prefix' | keyof FieldBaseProps> {
|
|
1206
1129
|
wrapperClassName?: string;
|
|
@@ -1209,7 +1132,7 @@ interface TextareaFieldProps extends FieldBaseProps, Omit<ComponentPropsWithoutR
|
|
|
1209
1132
|
autoResize?: boolean;
|
|
1210
1133
|
}
|
|
1211
1134
|
|
|
1212
|
-
declare const TextareaField:
|
|
1135
|
+
declare const TextareaField: react.ForwardRefExoticComponent<TextareaFieldProps & react.RefAttributes<HTMLTextAreaElement>>;
|
|
1213
1136
|
|
|
1214
1137
|
type Theme = 'light' | 'dark';
|
|
1215
1138
|
type ThemeApplyTarget = 'wrapper' | 'document';
|
|
@@ -1218,7 +1141,7 @@ interface ThemeProviderProps extends Omit<ComponentPropsWithoutRef<'div'>, 'chil
|
|
|
1218
1141
|
theme?: Theme;
|
|
1219
1142
|
onThemeChange?: (theme: Theme) => void;
|
|
1220
1143
|
applyTo?: ThemeApplyTarget;
|
|
1221
|
-
children:
|
|
1144
|
+
children: react__default.ReactNode;
|
|
1222
1145
|
}
|
|
1223
1146
|
|
|
1224
1147
|
interface ThemeContextProps {
|
|
@@ -1227,7 +1150,7 @@ interface ThemeContextProps {
|
|
|
1227
1150
|
toggleTheme: () => void;
|
|
1228
1151
|
}
|
|
1229
1152
|
declare const useTheme: () => ThemeContextProps;
|
|
1230
|
-
declare const ThemeProvider:
|
|
1153
|
+
declare const ThemeProvider: react__default.ForwardRefExoticComponent<ThemeProviderProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
1231
1154
|
|
|
1232
1155
|
declare const ru: {
|
|
1233
1156
|
readonly common: {
|
|
@@ -1329,7 +1252,6 @@ declare const ru: {
|
|
|
1329
1252
|
readonly page: "Страница {page}";
|
|
1330
1253
|
readonly summary: "{start}–{end} из {total}";
|
|
1331
1254
|
readonly pageSizeLabel: "На странице";
|
|
1332
|
-
readonly pageSizeAria: "Размер страницы";
|
|
1333
1255
|
};
|
|
1334
1256
|
readonly sortable: {
|
|
1335
1257
|
readonly moveUp: "Переместить вверх";
|
|
@@ -1387,7 +1309,6 @@ declare const ru: {
|
|
|
1387
1309
|
};
|
|
1388
1310
|
};
|
|
1389
1311
|
readonly numberField: {
|
|
1390
|
-
readonly group: "Изменить значение";
|
|
1391
1312
|
readonly decrement: "Уменьшить";
|
|
1392
1313
|
readonly increment: "Увеличить";
|
|
1393
1314
|
};
|
|
@@ -1427,9 +1348,6 @@ declare const ru: {
|
|
|
1427
1348
|
readonly steps: {
|
|
1428
1349
|
readonly ariaLabel: "Шаги";
|
|
1429
1350
|
};
|
|
1430
|
-
readonly segmentedControl: {
|
|
1431
|
-
readonly ariaLabel: "Сегментированный контроль";
|
|
1432
|
-
};
|
|
1433
1351
|
readonly bubble: {
|
|
1434
1352
|
readonly expand: "Ещё";
|
|
1435
1353
|
readonly collapse: "Свернуть";
|
|
@@ -1481,6 +1399,14 @@ type DeepPartialMessagesValue<T> = T extends (infer U)[] ? U[] : T extends objec
|
|
|
1481
1399
|
[P in keyof T]?: DeepPartialMessagesValue<T[P]>;
|
|
1482
1400
|
} : T;
|
|
1483
1401
|
type LocaleCode = 'ru' | 'en';
|
|
1402
|
+
interface PluralMessage {
|
|
1403
|
+
one: string;
|
|
1404
|
+
few: string;
|
|
1405
|
+
many: string;
|
|
1406
|
+
}
|
|
1407
|
+
interface MessageTree {
|
|
1408
|
+
[key: string]: string | PluralMessage | readonly string[] | MessageTree;
|
|
1409
|
+
}
|
|
1484
1410
|
type TranslationParams = Record<string, string | number>;
|
|
1485
1411
|
|
|
1486
1412
|
declare const en: Messages;
|
|
@@ -1492,7 +1418,7 @@ interface LocaleContextValue {
|
|
|
1492
1418
|
messages: Messages;
|
|
1493
1419
|
t: TranslateFn;
|
|
1494
1420
|
}
|
|
1495
|
-
declare function useLocale(): LocaleContextValue;
|
|
1421
|
+
declare function useLocale(fallback?: MessageTree): LocaleContextValue;
|
|
1496
1422
|
declare function useT(): TranslateFn;
|
|
1497
1423
|
|
|
1498
1424
|
interface LocaleProviderProps {
|
|
@@ -1501,17 +1427,16 @@ interface LocaleProviderProps {
|
|
|
1501
1427
|
children: ReactNode;
|
|
1502
1428
|
}
|
|
1503
1429
|
|
|
1504
|
-
declare const LocaleProvider:
|
|
1430
|
+
declare const LocaleProvider: react__default.FC<LocaleProviderProps>;
|
|
1505
1431
|
|
|
1506
1432
|
interface TitleProps extends ComponentPropsWithoutRef<'h2'> {
|
|
1507
1433
|
level?: 1 | 2 | 3 | 4;
|
|
1508
1434
|
weight?: 'normal' | 'medium' | 'bold';
|
|
1509
1435
|
}
|
|
1510
1436
|
|
|
1511
|
-
declare const Title:
|
|
1437
|
+
declare const Title: react.ForwardRefExoticComponent<TitleProps & react.RefAttributes<HTMLHeadingElement>>;
|
|
1512
1438
|
|
|
1513
1439
|
type TooltipSide = AnchorSide;
|
|
1514
|
-
type TooltipPosition = TooltipSide;
|
|
1515
1440
|
type TooltipTriggerProps = {
|
|
1516
1441
|
className?: string;
|
|
1517
1442
|
'aria-describedby'?: string;
|
|
@@ -1519,7 +1444,6 @@ type TooltipTriggerProps = {
|
|
|
1519
1444
|
type TooltipBaseProps = {
|
|
1520
1445
|
content: ReactNode;
|
|
1521
1446
|
side?: TooltipSide;
|
|
1522
|
-
position?: TooltipSide;
|
|
1523
1447
|
className?: string;
|
|
1524
1448
|
open?: boolean;
|
|
1525
1449
|
defaultOpen?: boolean;
|
|
@@ -1528,14 +1452,12 @@ type TooltipBaseProps = {
|
|
|
1528
1452
|
closeDelay?: number;
|
|
1529
1453
|
disabled?: boolean;
|
|
1530
1454
|
wrap?: boolean;
|
|
1531
|
-
arrow?: boolean;
|
|
1532
1455
|
};
|
|
1533
1456
|
type TooltipProps = WithEnrichedChildren<TooltipBaseProps, TooltipTriggerProps>;
|
|
1534
1457
|
|
|
1535
|
-
declare const Tooltip:
|
|
1536
|
-
content:
|
|
1458
|
+
declare const Tooltip: react.ForwardRefExoticComponent<{
|
|
1459
|
+
content: ReactNode;
|
|
1537
1460
|
side?: TooltipSide;
|
|
1538
|
-
position?: TooltipSide;
|
|
1539
1461
|
className?: string;
|
|
1540
1462
|
open?: boolean;
|
|
1541
1463
|
defaultOpen?: boolean;
|
|
@@ -1544,32 +1466,31 @@ declare const Tooltip: React__default.ForwardRefExoticComponent<{
|
|
|
1544
1466
|
closeDelay?: number;
|
|
1545
1467
|
disabled?: boolean;
|
|
1546
1468
|
wrap?: boolean;
|
|
1547
|
-
arrow?: boolean;
|
|
1548
1469
|
} & {
|
|
1549
|
-
children:
|
|
1550
|
-
} &
|
|
1470
|
+
children: react.ReactElement<any, string | react.JSXElementConstructor<any>> | RenderChildrenFn<TooltipTriggerProps>;
|
|
1471
|
+
} & react.RefAttributes<HTMLElement>>;
|
|
1551
1472
|
|
|
1552
1473
|
interface UploadZoneProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'onChange'> {
|
|
1553
1474
|
onChange?: (files: FileList) => void;
|
|
1554
1475
|
multiple?: boolean;
|
|
1555
|
-
children?:
|
|
1476
|
+
children?: react__default.ReactNode | ((openFileDialog: () => void) => react__default.ReactNode);
|
|
1556
1477
|
readOnly?: boolean;
|
|
1557
1478
|
disabled?: boolean;
|
|
1558
1479
|
}
|
|
1559
1480
|
|
|
1560
|
-
declare const UploadZone:
|
|
1481
|
+
declare const UploadZone: react.ForwardRefExoticComponent<UploadZoneProps & react.RefAttributes<HTMLDivElement>>;
|
|
1561
1482
|
|
|
1562
1483
|
type SeparatorOrientation = 'horizontal' | 'vertical';
|
|
1563
1484
|
type SeparatorSpace = SpacingToken | number | string;
|
|
1564
1485
|
interface SeparatorProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
1565
1486
|
orientation?: SeparatorOrientation;
|
|
1566
1487
|
decorative?: boolean;
|
|
1567
|
-
children?:
|
|
1488
|
+
children?: react__default.ReactNode;
|
|
1568
1489
|
start?: SeparatorSpace;
|
|
1569
1490
|
end?: SeparatorSpace;
|
|
1570
1491
|
}
|
|
1571
1492
|
|
|
1572
|
-
declare const Separator:
|
|
1493
|
+
declare const Separator: react.ForwardRefExoticComponent<SeparatorProps & react.RefAttributes<HTMLDivElement>>;
|
|
1573
1494
|
|
|
1574
1495
|
type AlertVariant = 'info' | 'success' | 'warning' | 'error';
|
|
1575
1496
|
type AlertLayout = 'block' | 'inline';
|
|
@@ -1577,28 +1498,28 @@ interface AlertProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
|
|
|
1577
1498
|
variant?: AlertVariant;
|
|
1578
1499
|
size?: ControlSize;
|
|
1579
1500
|
layout?: AlertLayout;
|
|
1580
|
-
role?:
|
|
1581
|
-
title?:
|
|
1582
|
-
icon?:
|
|
1583
|
-
actions?:
|
|
1501
|
+
role?: react__default.AriaRole;
|
|
1502
|
+
title?: react__default.ReactNode;
|
|
1503
|
+
icon?: react__default.ReactNode | null;
|
|
1504
|
+
actions?: react__default.ReactNode;
|
|
1584
1505
|
onClose?: () => void;
|
|
1585
1506
|
closeLabel?: string;
|
|
1586
1507
|
}
|
|
1587
1508
|
|
|
1588
|
-
declare const Alert:
|
|
1509
|
+
declare const Alert: react.ForwardRefExoticComponent<AlertProps & react.RefAttributes<HTMLDivElement>>;
|
|
1589
1510
|
|
|
1590
1511
|
interface KbdProps extends ComponentPropsWithoutRef<'kbd'> {
|
|
1591
|
-
children:
|
|
1512
|
+
children: react__default.ReactNode;
|
|
1592
1513
|
symbol?: boolean;
|
|
1593
1514
|
}
|
|
1594
1515
|
interface KbdGroupProps extends ComponentPropsWithoutRef<'span'> {
|
|
1595
|
-
children:
|
|
1516
|
+
children: react__default.ReactNode;
|
|
1596
1517
|
}
|
|
1597
1518
|
|
|
1598
|
-
declare const Kbd:
|
|
1599
|
-
declare const KbdGroup:
|
|
1519
|
+
declare const Kbd: react.ForwardRefExoticComponent<KbdProps & react.RefAttributes<HTMLElement>>;
|
|
1520
|
+
declare const KbdGroup: react.ForwardRefExoticComponent<KbdGroupProps & react.RefAttributes<HTMLSpanElement>>;
|
|
1600
1521
|
|
|
1601
|
-
declare const Item:
|
|
1522
|
+
declare const Item: react.ForwardRefExoticComponent<ItemProps & react.RefAttributes<HTMLDivElement>>;
|
|
1602
1523
|
|
|
1603
1524
|
type BubbleVariant = 'default' | 'outgoing' | 'incoming' | 'system';
|
|
1604
1525
|
type BubbleAlign = 'start' | 'end';
|
|
@@ -1609,11 +1530,11 @@ interface BubbleReaction {
|
|
|
1609
1530
|
onClick?: () => void;
|
|
1610
1531
|
}
|
|
1611
1532
|
interface BubbleProps extends Omit<ComponentPropsWithoutRef<'div'>, 'content'> {
|
|
1612
|
-
children:
|
|
1533
|
+
children: react__default.ReactNode;
|
|
1613
1534
|
variant?: BubbleVariant;
|
|
1614
1535
|
align?: BubbleAlign;
|
|
1615
1536
|
group?: 'single' | 'first' | 'middle' | 'last';
|
|
1616
|
-
meta?:
|
|
1537
|
+
meta?: react__default.ReactNode;
|
|
1617
1538
|
reactions?: BubbleReaction[];
|
|
1618
1539
|
collapsible?: boolean;
|
|
1619
1540
|
collapsedLines?: number;
|
|
@@ -1621,20 +1542,87 @@ interface BubbleProps extends Omit<ComponentPropsWithoutRef<'div'>, 'content'> {
|
|
|
1621
1542
|
collapseLabel?: string;
|
|
1622
1543
|
}
|
|
1623
1544
|
|
|
1624
|
-
declare const Bubble:
|
|
1545
|
+
declare const Bubble: react.ForwardRefExoticComponent<BubbleProps & react.RefAttributes<HTMLDivElement>>;
|
|
1625
1546
|
|
|
1626
1547
|
type MarkerVariant = 'default' | 'separator' | 'note' | 'row';
|
|
1627
1548
|
interface MarkerProps extends ComponentPropsWithoutRef<'div'> {
|
|
1628
|
-
children?:
|
|
1629
|
-
icon?:
|
|
1549
|
+
children?: react__default.ReactNode;
|
|
1550
|
+
icon?: react__default.ReactNode;
|
|
1630
1551
|
shimmer?: boolean;
|
|
1631
1552
|
variant?: MarkerVariant;
|
|
1632
1553
|
}
|
|
1633
1554
|
|
|
1634
|
-
declare const Marker:
|
|
1555
|
+
declare const Marker: react.ForwardRefExoticComponent<MarkerProps & react.RefAttributes<HTMLDivElement>>;
|
|
1556
|
+
|
|
1557
|
+
type BackdropVariant = 'default' | 'strong';
|
|
1558
|
+
type BackdropBlur = 'none' | 'sm' | 'md';
|
|
1559
|
+
type BackdropPosition = 'fixed' | 'absolute';
|
|
1560
|
+
interface BackdropProps extends Omit<ComponentPropsWithoutRef<'div'>, 'onClick'> {
|
|
1561
|
+
variant?: BackdropVariant;
|
|
1562
|
+
blur?: BackdropBlur;
|
|
1563
|
+
position?: BackdropPosition;
|
|
1564
|
+
onClick?: () => void;
|
|
1565
|
+
zIndex?: number;
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
declare const Backdrop: react.ForwardRefExoticComponent<BackdropProps & react.RefAttributes<HTMLDivElement>>;
|
|
1569
|
+
|
|
1570
|
+
type OverlayPurpose = 'tooltip' | 'popover' | 'dropdown' | 'modal' | 'sheet' | 'lightbox' | 'notification';
|
|
1571
|
+
|
|
1572
|
+
type OverlayVariant = 'modal' | 'sheet' | 'floating';
|
|
1573
|
+
type OverlaySheetSide = 'top' | 'bottom' | 'left' | 'right';
|
|
1574
|
+
|
|
1575
|
+
type OverlayDismiss = 'outside' | 'escape' | 'all' | 'none';
|
|
1576
|
+
type OverlayContentProps = Omit<react__default.HTMLAttributes<HTMLElement>, 'role' | 'color'> & {
|
|
1577
|
+
role?: string;
|
|
1578
|
+
'aria-modal'?: boolean | 'true' | 'false';
|
|
1579
|
+
'aria-label'?: string;
|
|
1580
|
+
'aria-labelledby'?: string;
|
|
1581
|
+
'aria-describedby'?: string;
|
|
1582
|
+
'data-side'?: AnchorSide;
|
|
1583
|
+
'data-kind'?: OverlayVariant;
|
|
1584
|
+
'data-presented'?: string;
|
|
1585
|
+
};
|
|
1586
|
+
type OverlayChildren = RenderChildrenFn<OverlayContentProps> | react__default.ReactElement;
|
|
1587
|
+
type OverlayBaseProps = {
|
|
1588
|
+
children: OverlayChildren;
|
|
1589
|
+
open: boolean;
|
|
1590
|
+
onOpenChange: (open: boolean) => void;
|
|
1591
|
+
className?: string;
|
|
1592
|
+
purpose?: OverlayPurpose;
|
|
1593
|
+
zIndex?: number | string;
|
|
1594
|
+
'aria-label'?: string;
|
|
1595
|
+
'aria-labelledby'?: string;
|
|
1596
|
+
'aria-describedby'?: string;
|
|
1597
|
+
role?: string;
|
|
1598
|
+
};
|
|
1599
|
+
type OverlayModalProps = OverlayBaseProps & {
|
|
1600
|
+
variant: 'modal';
|
|
1601
|
+
backdropVariant?: BackdropVariant;
|
|
1602
|
+
backdropBlur?: BackdropBlur;
|
|
1603
|
+
};
|
|
1604
|
+
type OverlayFloatingProps = OverlayBaseProps & {
|
|
1605
|
+
variant: 'floating';
|
|
1606
|
+
style?: react__default.CSSProperties;
|
|
1607
|
+
backdrop?: boolean;
|
|
1608
|
+
backdropVariant?: BackdropVariant;
|
|
1609
|
+
backdropBlur?: BackdropBlur;
|
|
1610
|
+
dismiss?: OverlayDismiss;
|
|
1611
|
+
lockScroll?: boolean;
|
|
1612
|
+
trapFocus?: boolean;
|
|
1613
|
+
};
|
|
1614
|
+
type OverlaySheetProps = OverlayBaseProps & {
|
|
1615
|
+
variant: 'sheet';
|
|
1616
|
+
side?: OverlaySheetSide;
|
|
1617
|
+
backdrop?: boolean;
|
|
1618
|
+
backdropVariant?: BackdropVariant;
|
|
1619
|
+
backdropBlur?: BackdropBlur;
|
|
1620
|
+
dismiss?: OverlayDismiss;
|
|
1621
|
+
};
|
|
1622
|
+
type OverlayProps = OverlayModalProps | OverlayFloatingProps | OverlaySheetProps;
|
|
1635
1623
|
|
|
1636
1624
|
type PopoverTriggerMode = 'click' | 'hover' | 'manual';
|
|
1637
|
-
type PopoverContentVariant = 'panel' | '
|
|
1625
|
+
type PopoverContentVariant = 'panel' | 'plain';
|
|
1638
1626
|
type PopoverTriggerSlotProps = {
|
|
1639
1627
|
className?: string;
|
|
1640
1628
|
'aria-expanded'?: boolean;
|
|
@@ -1642,7 +1630,7 @@ type PopoverTriggerSlotProps = {
|
|
|
1642
1630
|
'aria-controls'?: string;
|
|
1643
1631
|
'aria-describedby'?: string;
|
|
1644
1632
|
};
|
|
1645
|
-
interface PopoverProps
|
|
1633
|
+
interface PopoverProps {
|
|
1646
1634
|
children?: ReactNode;
|
|
1647
1635
|
renderTrigger: RenderChildrenFn<PopoverTriggerSlotProps>;
|
|
1648
1636
|
open?: boolean;
|
|
@@ -1650,31 +1638,59 @@ interface PopoverProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'>
|
|
|
1650
1638
|
onOpenChange?: (open: boolean) => void;
|
|
1651
1639
|
trigger?: PopoverTriggerMode;
|
|
1652
1640
|
disabled?: boolean;
|
|
1653
|
-
wrap?: boolean;
|
|
1654
1641
|
variant?: PopoverContentVariant;
|
|
1655
|
-
|
|
1656
|
-
panelClassName?: string;
|
|
1642
|
+
className?: string;
|
|
1657
1643
|
role?: AriaRole;
|
|
1658
1644
|
side?: AnchorSide;
|
|
1659
1645
|
align?: AnchorAlign;
|
|
1646
|
+
widthMode?: 'trigger' | 'content' | 'trigger-fit';
|
|
1660
1647
|
openDelay?: number;
|
|
1661
1648
|
closeDelay?: number;
|
|
1662
1649
|
dismiss?: OverlayDismiss;
|
|
1663
1650
|
}
|
|
1664
1651
|
|
|
1665
|
-
declare
|
|
1652
|
+
declare function Popover({ children, renderTrigger, open: controlledOpen, defaultOpen, onOpenChange, trigger, disabled, variant, className, role, side, align, widthMode, openDelay, closeDelay, dismiss, }: PopoverProps): react.JSX.Element;
|
|
1653
|
+
declare namespace Popover {
|
|
1654
|
+
var displayName: string;
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
interface PopupSwitchOption<T extends string | number = string> {
|
|
1658
|
+
value: T;
|
|
1659
|
+
label: string;
|
|
1660
|
+
icon?: ReactNode;
|
|
1661
|
+
}
|
|
1662
|
+
type PopupSwitchVariant = 'secondary' | 'tinted' | 'ghost';
|
|
1663
|
+
type PopupSwitchWidth = 'auto' | 'options';
|
|
1664
|
+
type PopupSwitchAlign = 'start' | 'center';
|
|
1665
|
+
interface PopupSwitchProps<T extends string | number = string> {
|
|
1666
|
+
value: T;
|
|
1667
|
+
options: Array<PopupSwitchOption<T>>;
|
|
1668
|
+
onChange: (value: T) => void;
|
|
1669
|
+
disabled?: boolean;
|
|
1670
|
+
className?: string;
|
|
1671
|
+
placeholder?: string;
|
|
1672
|
+
size?: ControlSize;
|
|
1673
|
+
variant?: PopupSwitchVariant;
|
|
1674
|
+
width?: PopupSwitchWidth;
|
|
1675
|
+
align?: PopupSwitchAlign;
|
|
1676
|
+
'aria-label'?: string;
|
|
1677
|
+
}
|
|
1666
1678
|
|
|
1667
|
-
declare const
|
|
1679
|
+
declare const PopupSwitch: <T extends string | number = string>(props: PopupSwitchProps<T> & {
|
|
1680
|
+
ref?: react__default.Ref<HTMLButtonElement>;
|
|
1681
|
+
}) => react__default.ReactElement;
|
|
1682
|
+
|
|
1683
|
+
declare const ActionList: react.ForwardRefExoticComponent<ActionListProps & react.RefAttributes<ActionListHandle>>;
|
|
1668
1684
|
|
|
1669
1685
|
interface ActionSheetTriggerProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
1670
|
-
children:
|
|
1686
|
+
children: react__default.ReactNode;
|
|
1671
1687
|
showOverflowTrigger?: boolean;
|
|
1672
1688
|
longPressMs?: number;
|
|
1673
1689
|
moveThreshold?: number;
|
|
1674
1690
|
disabled?: boolean;
|
|
1675
1691
|
}
|
|
1676
1692
|
|
|
1677
|
-
declare const ActionSheetTrigger:
|
|
1693
|
+
declare const ActionSheetTrigger: react.ForwardRefExoticComponent<ActionSheetTriggerProps & react.RefAttributes<HTMLDivElement>>;
|
|
1678
1694
|
|
|
1679
1695
|
type OverflowDisplay = 'icon' | 'icon-label';
|
|
1680
1696
|
type OverflowItemDomProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'onClick' | 'type' | 'color'>;
|
|
@@ -1706,117 +1722,71 @@ interface OverflowProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'
|
|
|
1706
1722
|
moreLabel?: string;
|
|
1707
1723
|
}
|
|
1708
1724
|
|
|
1709
|
-
declare const OverflowItem:
|
|
1710
|
-
|
|
1711
|
-
type OverflowComponent = React__default.ForwardRefExoticComponent<OverflowProps & React__default.RefAttributes<HTMLDivElement>> & {
|
|
1725
|
+
declare const OverflowItem: FC<OverflowItemProps>;
|
|
1726
|
+
type OverflowComponent = ForwardRefExoticComponent<OverflowProps & RefAttributes<HTMLDivElement>> & {
|
|
1712
1727
|
Item: typeof OverflowItem;
|
|
1713
1728
|
};
|
|
1714
1729
|
declare const Overflow: OverflowComponent;
|
|
1715
1730
|
|
|
1716
|
-
type
|
|
1717
|
-
type
|
|
1718
|
-
interface
|
|
1719
|
-
triggerRef:
|
|
1720
|
-
triggerAttrs: DropdownTriggerAttrs;
|
|
1731
|
+
type SelectOption = ListboxOption;
|
|
1732
|
+
type SelectSelectionMode = 'single' | 'multiple' | 'path';
|
|
1733
|
+
interface SelectCustomTriggerProps {
|
|
1734
|
+
triggerRef: (node: HTMLElement | null) => void;
|
|
1721
1735
|
open: boolean;
|
|
1722
|
-
disabled: boolean;
|
|
1723
|
-
readOnly: boolean;
|
|
1724
|
-
interactive: boolean;
|
|
1725
|
-
selectionMode: CustomSelectSelectionMode;
|
|
1726
|
-
value: string | string[];
|
|
1727
|
-
selectedOptions: CustomSelectOption[];
|
|
1728
1736
|
listboxId: string;
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
|
|
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[];
|
|
1766
|
-
groups?: ListboxGroup[];
|
|
1767
|
-
id?: string;
|
|
1737
|
+
activeDescendantId?: string;
|
|
1738
|
+
chevron: ReactNode;
|
|
1739
|
+
onClick: react__default.MouseEventHandler<HTMLElement>;
|
|
1740
|
+
onKeyDown: react__default.KeyboardEventHandler<HTMLElement>;
|
|
1768
1741
|
}
|
|
1769
|
-
interface
|
|
1770
|
-
|
|
1771
|
-
options: CustomSelectOption[];
|
|
1742
|
+
interface SelectProps extends FieldBaseProps {
|
|
1743
|
+
options: SelectOption[];
|
|
1772
1744
|
groups?: ListboxGroup[];
|
|
1773
|
-
selectionMode?:
|
|
1745
|
+
selectionMode?: SelectSelectionMode;
|
|
1774
1746
|
value?: string | string[];
|
|
1775
1747
|
defaultValue?: string | string[];
|
|
1776
1748
|
onChange?: (value: string | string[]) => void;
|
|
1777
1749
|
open?: boolean;
|
|
1778
1750
|
defaultOpen?: boolean;
|
|
1779
1751
|
onOpenChange?: (open: boolean) => void;
|
|
1780
|
-
disabled?: boolean;
|
|
1781
|
-
readOnly?: boolean;
|
|
1782
1752
|
closeOnSelect?: boolean;
|
|
1783
|
-
filterFn?: ListboxFilterFn<
|
|
1753
|
+
filterFn?: ListboxFilterFn<SelectOption>;
|
|
1784
1754
|
filterQuery?: string;
|
|
1785
1755
|
defaultFilterQuery?: string;
|
|
1786
1756
|
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
1757
|
placeholder?: string;
|
|
1809
1758
|
loading?: boolean;
|
|
1810
1759
|
separator?: string;
|
|
1811
1760
|
popupRole?: 'listbox' | 'tree' | 'dialog' | 'menu';
|
|
1812
1761
|
filterable?: boolean;
|
|
1813
1762
|
filterPlaceholder?: string;
|
|
1763
|
+
align?: DropdownAlign;
|
|
1764
|
+
widthMode?: DropdownWidthMode;
|
|
1765
|
+
triggerMode?: DropdownTriggerMode;
|
|
1766
|
+
mobileTitle?: ReactNode;
|
|
1767
|
+
mobileLeftControls?: ReactNode;
|
|
1768
|
+
mobileRightControls?: ReactNode;
|
|
1769
|
+
panelScroll?: DropdownPanelScroll;
|
|
1770
|
+
navigation?: ListboxNavigation;
|
|
1771
|
+
highlightedIndex?: number;
|
|
1772
|
+
onHighlightChange?: (index: number) => void;
|
|
1773
|
+
showCheck?: boolean;
|
|
1774
|
+
noOptionsText?: string;
|
|
1775
|
+
preventOptionMouseDown?: boolean;
|
|
1776
|
+
listAriaLabel?: string;
|
|
1777
|
+
customTrigger?: (props: SelectCustomTriggerProps) => ReactNode;
|
|
1778
|
+
onComboboxEnter?: () => void;
|
|
1779
|
+
onComboboxEscape?: () => void;
|
|
1780
|
+
popupClassName?: string;
|
|
1781
|
+
className?: string;
|
|
1782
|
+
id?: string;
|
|
1783
|
+
'aria-label'?: string;
|
|
1814
1784
|
}
|
|
1815
1785
|
|
|
1816
|
-
declare const Select:
|
|
1786
|
+
declare const Select: react__default.ForwardRefExoticComponent<SelectProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
1817
1787
|
|
|
1818
|
-
type SuggestFieldOption =
|
|
1819
|
-
interface SuggestFieldProps extends FieldBaseProps, Omit<
|
|
1788
|
+
type SuggestFieldOption = SelectOption;
|
|
1789
|
+
interface SuggestFieldProps extends FieldBaseProps, Omit<react__default.HTMLAttributes<HTMLDivElement>, 'className' | 'onChange' | 'prefix' | 'onFocus' | 'onBlur' | 'onClick' | 'onKeyDown' | keyof FieldBaseProps> {
|
|
1820
1790
|
options: SuggestFieldOption[];
|
|
1821
1791
|
value?: string;
|
|
1822
1792
|
defaultValue?: string;
|
|
@@ -1828,20 +1798,23 @@ interface SuggestFieldProps extends FieldBaseProps, Omit<React__default.HTMLAttr
|
|
|
1828
1798
|
filterFn?: ListboxFilterFn<SuggestFieldOption>;
|
|
1829
1799
|
noOptionsText?: string;
|
|
1830
1800
|
onChange?: (value: string) => void;
|
|
1831
|
-
onFocus?:
|
|
1832
|
-
onBlur?:
|
|
1833
|
-
onClick?:
|
|
1834
|
-
onKeyDown?:
|
|
1801
|
+
onFocus?: react__default.FocusEventHandler<HTMLInputElement>;
|
|
1802
|
+
onBlur?: react__default.FocusEventHandler<HTMLInputElement>;
|
|
1803
|
+
onClick?: react__default.MouseEventHandler<HTMLInputElement>;
|
|
1804
|
+
onKeyDown?: react__default.KeyboardEventHandler<HTMLInputElement>;
|
|
1835
1805
|
}
|
|
1836
1806
|
|
|
1837
|
-
declare const SuggestField:
|
|
1807
|
+
declare const SuggestField: react.ForwardRefExoticComponent<SuggestFieldProps & react.RefAttributes<HTMLInputElement>>;
|
|
1838
1808
|
|
|
1839
1809
|
type LayoutGap = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
1840
1810
|
type LayoutAlign = 'start' | 'center' | 'end' | 'baseline' | 'stretch';
|
|
1841
1811
|
type LayoutJustify = 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
|
|
1812
|
+
type LayoutSpacing = 'sm' | 'md' | 'lg';
|
|
1842
1813
|
interface LayoutRootProps extends ComponentPropsWithoutRef<'div'> {
|
|
1843
1814
|
children?: ReactNode;
|
|
1844
1815
|
as?: ElementType;
|
|
1816
|
+
padding?: LayoutSpacing;
|
|
1817
|
+
gap?: LayoutSpacing;
|
|
1845
1818
|
}
|
|
1846
1819
|
interface LayoutHeaderProps extends ComponentPropsWithoutRef<'header'> {
|
|
1847
1820
|
children?: ReactNode;
|
|
@@ -1893,34 +1866,28 @@ interface ControlRowProps extends ComponentPropsWithoutRef<'div'> {
|
|
|
1893
1866
|
wrap?: boolean;
|
|
1894
1867
|
}
|
|
1895
1868
|
|
|
1896
|
-
declare const LayoutItem:
|
|
1869
|
+
declare const LayoutItem: react.ForwardRefExoticComponent<LayoutItemProps & react.RefAttributes<HTMLElement>>;
|
|
1897
1870
|
|
|
1898
|
-
declare const Stack:
|
|
1871
|
+
declare const Stack: react.ForwardRefExoticComponent<StackProps & react.RefAttributes<HTMLElement>>;
|
|
1899
1872
|
|
|
1900
|
-
declare const Inline:
|
|
1873
|
+
declare const Inline: react.ForwardRefExoticComponent<InlineProps & react.RefAttributes<HTMLElement>>;
|
|
1901
1874
|
|
|
1902
|
-
declare const Split:
|
|
1875
|
+
declare const Split: react.ForwardRefExoticComponent<SplitProps & react.RefAttributes<HTMLDivElement>>;
|
|
1903
1876
|
|
|
1904
1877
|
type ControlRowComponent = typeof ControlRowInner & {
|
|
1905
1878
|
Item: typeof LayoutItem;
|
|
1906
1879
|
};
|
|
1907
|
-
declare const ControlRowInner:
|
|
1880
|
+
declare const ControlRowInner: react.ForwardRefExoticComponent<ControlRowProps & react.RefAttributes<HTMLDivElement>>;
|
|
1908
1881
|
declare const ControlRow: ControlRowComponent;
|
|
1909
1882
|
|
|
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>>;
|
|
1883
|
+
declare const LayoutRoot: react.ForwardRefExoticComponent<LayoutRootProps & react.RefAttributes<HTMLElement>>;
|
|
1884
|
+
declare const LayoutHeader: react.ForwardRefExoticComponent<LayoutHeaderProps & react.RefAttributes<HTMLElement>>;
|
|
1885
|
+
declare const LayoutContent: react.ForwardRefExoticComponent<LayoutContentProps & react.RefAttributes<HTMLElement>>;
|
|
1886
|
+
declare const LayoutFooter: react.ForwardRefExoticComponent<LayoutFooterProps & react.RefAttributes<HTMLElement>>;
|
|
1887
|
+
declare const Layout: react.ForwardRefExoticComponent<LayoutRootProps & react.RefAttributes<HTMLElement>> & {
|
|
1888
|
+
Header: react.ForwardRefExoticComponent<LayoutHeaderProps & react.RefAttributes<HTMLElement>>;
|
|
1889
|
+
Content: react.ForwardRefExoticComponent<LayoutContentProps & react.RefAttributes<HTMLElement>>;
|
|
1890
|
+
Footer: react.ForwardRefExoticComponent<LayoutFooterProps & react.RefAttributes<HTMLElement>>;
|
|
1924
1891
|
};
|
|
1925
1892
|
|
|
1926
1893
|
interface AdaptiveValue<T> {
|
|
@@ -1945,7 +1912,7 @@ interface GridProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
|
1945
1912
|
gap?: number | string | AdaptiveValue<number | string>;
|
|
1946
1913
|
mode?: GridMode;
|
|
1947
1914
|
minColumnWidth?: number | string;
|
|
1948
|
-
children:
|
|
1915
|
+
children: react__default.ReactNode;
|
|
1949
1916
|
className?: string;
|
|
1950
1917
|
as?: 'div' | 'section' | 'ul' | 'ol';
|
|
1951
1918
|
}
|
|
@@ -1954,17 +1921,17 @@ interface GridItemProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'
|
|
|
1954
1921
|
colStart?: number | AdaptiveValue<number>;
|
|
1955
1922
|
colEnd?: number | AdaptiveValue<number>;
|
|
1956
1923
|
rowSpan?: number | AdaptiveValue<number>;
|
|
1957
|
-
children?:
|
|
1924
|
+
children?: react__default.ReactNode;
|
|
1958
1925
|
className?: string;
|
|
1959
1926
|
as?: 'div' | 'section' | 'article' | 'aside' | 'li';
|
|
1960
1927
|
}
|
|
1961
1928
|
|
|
1962
|
-
declare const Grid:
|
|
1963
|
-
declare const GridItem:
|
|
1929
|
+
declare const Grid: react.ForwardRefExoticComponent<GridProps & react.RefAttributes<HTMLElement>>;
|
|
1930
|
+
declare const GridItem: react.ForwardRefExoticComponent<GridItemProps & react.RefAttributes<HTMLElement>>;
|
|
1964
1931
|
|
|
1965
1932
|
type ContainerSize = 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
1966
1933
|
interface ContainerProps extends ComponentPropsWithoutRef<'div'> {
|
|
1967
|
-
children:
|
|
1934
|
+
children: react__default.ReactNode;
|
|
1968
1935
|
size?: ContainerSize;
|
|
1969
1936
|
padded?: boolean;
|
|
1970
1937
|
as?: 'div' | 'section' | 'main' | 'article';
|
|
@@ -1973,87 +1940,48 @@ interface PageProps extends Omit<ContainerProps, 'as'> {
|
|
|
1973
1940
|
verticalPadding?: boolean;
|
|
1974
1941
|
}
|
|
1975
1942
|
|
|
1976
|
-
declare const Container:
|
|
1977
|
-
declare const Page:
|
|
1943
|
+
declare const Container: react.ForwardRefExoticComponent<ContainerProps & react.RefAttributes<HTMLElement>>;
|
|
1944
|
+
declare const Page: react.ForwardRefExoticComponent<PageProps & react.RefAttributes<HTMLDivElement>>;
|
|
1978
1945
|
|
|
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;
|
|
1946
|
+
interface DialogLayoutProps extends BoxProps {
|
|
1947
|
+
onClose?: () => void;
|
|
1987
1948
|
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;
|
|
1949
|
+
closeLabel?: string;
|
|
2010
1950
|
}
|
|
2011
1951
|
|
|
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
|
-
};
|
|
1952
|
+
declare const DialogLayout: react.ForwardRefExoticComponent<DialogLayoutProps & react.RefAttributes<HTMLElement>>;
|
|
2025
1953
|
|
|
2026
|
-
type ModalFooterAlign =
|
|
2027
|
-
interface ModalRootProps extends Omit<
|
|
1954
|
+
type ModalFooterAlign = 'start' | 'center' | 'end' | 'space-between';
|
|
1955
|
+
interface ModalRootProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title' | 'children'> {
|
|
2028
1956
|
open: boolean;
|
|
2029
1957
|
onOpenChange: (open: boolean) => void;
|
|
2030
|
-
children:
|
|
1958
|
+
children: ReactNode;
|
|
2031
1959
|
className?: string;
|
|
1960
|
+
showClose?: boolean;
|
|
2032
1961
|
'aria-labelledby'?: string;
|
|
2033
1962
|
'aria-label'?: string;
|
|
2034
1963
|
'aria-describedby'?: string;
|
|
2035
1964
|
}
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
1965
|
+
interface ModalHeaderProps extends Omit<ComponentPropsWithoutRef<'header'>, 'children'> {
|
|
1966
|
+
children?: ReactNode;
|
|
1967
|
+
}
|
|
1968
|
+
interface ModalBodyProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
1969
|
+
children?: ReactNode;
|
|
1970
|
+
}
|
|
1971
|
+
interface ModalFooterProps extends Omit<ComponentPropsWithoutRef<'footer'>, 'align' | 'children'> {
|
|
1972
|
+
children?: ReactNode;
|
|
2044
1973
|
align?: ModalFooterAlign;
|
|
2045
|
-
children?: React__default.ReactNode;
|
|
2046
1974
|
}
|
|
2047
1975
|
type ModalProps = ModalRootProps;
|
|
2048
1976
|
|
|
2049
|
-
declare const
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
1977
|
+
declare const ModalHeader: react.ForwardRefExoticComponent<ModalHeaderProps & react.RefAttributes<HTMLElement>>;
|
|
1978
|
+
declare const ModalBody: react.ForwardRefExoticComponent<ModalBodyProps & react.RefAttributes<HTMLElement>>;
|
|
1979
|
+
declare const ModalFooter: react.ForwardRefExoticComponent<ModalFooterProps & react.RefAttributes<HTMLElement>>;
|
|
1980
|
+
declare const ModalRoot: react.ForwardRefExoticComponent<ModalRootProps & react.RefAttributes<HTMLElement>>;
|
|
1981
|
+
type ModalComponent = typeof ModalRoot & {
|
|
1982
|
+
Header: typeof ModalHeader;
|
|
1983
|
+
Body: typeof ModalBody;
|
|
1984
|
+
Footer: typeof ModalFooter;
|
|
2057
1985
|
};
|
|
2058
1986
|
declare const Modal: ModalComponent;
|
|
2059
1987
|
|
|
@@ -2061,7 +1989,7 @@ type OverlayZIndexTier = 'overlay' | 'modal' | 'dropdown' | 'lightbox' | 'notifi
|
|
|
2061
1989
|
|
|
2062
1990
|
type SheetMode = 'auto' | 'sidebar' | 'sheet';
|
|
2063
1991
|
type SheetDirection = 'start' | 'end';
|
|
2064
|
-
type SheetFooterAlign =
|
|
1992
|
+
type SheetFooterAlign = 'start' | 'center' | 'end' | 'space-between';
|
|
2065
1993
|
interface SheetProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
2066
1994
|
open: boolean;
|
|
2067
1995
|
onOpenChange: (open: boolean) => void;
|
|
@@ -2086,15 +2014,6 @@ interface SheetHeaderProps extends HTMLAttributes<HTMLElement> {
|
|
|
2086
2014
|
rightControls?: ReactNode;
|
|
2087
2015
|
showClose?: boolean;
|
|
2088
2016
|
}
|
|
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
2017
|
interface SheetBodyProps extends HTMLAttributes<HTMLElement> {
|
|
2099
2018
|
children?: ReactNode;
|
|
2100
2019
|
className?: string;
|
|
@@ -2106,15 +2025,14 @@ interface SheetFooterProps extends Omit<HTMLAttributes<HTMLElement>, 'align'> {
|
|
|
2106
2025
|
align?: SheetFooterAlign;
|
|
2107
2026
|
}
|
|
2108
2027
|
|
|
2109
|
-
declare const SheetHeader:
|
|
2110
|
-
declare const SheetBody:
|
|
2111
|
-
declare const
|
|
2028
|
+
declare const SheetHeader: react.ForwardRefExoticComponent<SheetHeaderProps & react.RefAttributes<HTMLElement>>;
|
|
2029
|
+
declare const SheetBody: react.ForwardRefExoticComponent<SheetBodyProps & react.RefAttributes<HTMLElement>>;
|
|
2030
|
+
declare const SheetFooter: react.ForwardRefExoticComponent<SheetFooterProps & react.RefAttributes<HTMLElement>>;
|
|
2031
|
+
declare const SheetRoot: react.ForwardRefExoticComponent<SheetProps & react.RefAttributes<HTMLDivElement>>;
|
|
2112
2032
|
type SheetComponent = typeof SheetRoot & {
|
|
2113
2033
|
Header: typeof SheetHeader;
|
|
2114
|
-
Title: typeof DialogBase.Title;
|
|
2115
|
-
Close: typeof DialogBase.Close;
|
|
2116
2034
|
Body: typeof SheetBody;
|
|
2117
|
-
Footer: typeof
|
|
2035
|
+
Footer: typeof SheetFooter;
|
|
2118
2036
|
};
|
|
2119
2037
|
declare const Sheet: SheetComponent;
|
|
2120
2038
|
|
|
@@ -2127,7 +2045,7 @@ interface ConfirmDialogSecondaryAction {
|
|
|
2127
2045
|
interface ConfirmDialogProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title' | 'children'> {
|
|
2128
2046
|
open: boolean;
|
|
2129
2047
|
title: string;
|
|
2130
|
-
message:
|
|
2048
|
+
message: react__default.ReactNode;
|
|
2131
2049
|
confirmLabel?: string;
|
|
2132
2050
|
cancelLabel?: string;
|
|
2133
2051
|
status?: 'default' | 'danger';
|
|
@@ -2137,7 +2055,9 @@ interface ConfirmDialogProps extends Omit<ComponentPropsWithoutRef<'div'>, 'titl
|
|
|
2137
2055
|
loading?: boolean;
|
|
2138
2056
|
}
|
|
2139
2057
|
|
|
2140
|
-
declare const ConfirmDialog:
|
|
2058
|
+
declare const ConfirmDialog: react.ForwardRefExoticComponent<ConfirmDialogProps & react.RefAttributes<HTMLElement>>;
|
|
2059
|
+
|
|
2060
|
+
declare const Overlay: react.ForwardRefExoticComponent<OverlayProps & react.RefAttributes<HTMLElement>>;
|
|
2141
2061
|
|
|
2142
2062
|
interface CommandPaletteProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'title' | 'onSelect'> {
|
|
2143
2063
|
open: boolean;
|
|
@@ -2152,7 +2072,7 @@ interface CommandPaletteProps extends Omit<ComponentPropsWithoutRef<'div'>, 'chi
|
|
|
2152
2072
|
className?: string;
|
|
2153
2073
|
}
|
|
2154
2074
|
|
|
2155
|
-
declare const CommandPalette:
|
|
2075
|
+
declare const CommandPalette: react.ForwardRefExoticComponent<CommandPaletteProps & react.RefAttributes<HTMLElement>>;
|
|
2156
2076
|
|
|
2157
2077
|
interface CalendarDayCell {
|
|
2158
2078
|
day: number;
|
|
@@ -2188,17 +2108,17 @@ interface CalendarProviderProps {
|
|
|
2188
2108
|
onChange?: (value: Date | DateRangeValue) => void;
|
|
2189
2109
|
viewDate?: Date;
|
|
2190
2110
|
onViewDateChange?: (date: Date) => void;
|
|
2191
|
-
renderDayCell?: (props: CalendarDayCellRenderProps) =>
|
|
2192
|
-
children:
|
|
2111
|
+
renderDayCell?: (props: CalendarDayCellRenderProps) => react__default.ReactNode;
|
|
2112
|
+
children: react__default.ReactNode;
|
|
2193
2113
|
}
|
|
2194
|
-
type CalendarRootProps =
|
|
2195
|
-
type CalendarHeaderProps =
|
|
2196
|
-
type CalendarTitleProps =
|
|
2197
|
-
interface CalendarNavProps extends Omit<
|
|
2114
|
+
type CalendarRootProps = react__default.ComponentPropsWithoutRef<'div'>;
|
|
2115
|
+
type CalendarHeaderProps = react__default.ComponentPropsWithoutRef<'div'>;
|
|
2116
|
+
type CalendarTitleProps = react__default.ComponentPropsWithoutRef<'span'>;
|
|
2117
|
+
interface CalendarNavProps extends Omit<react__default.ComponentPropsWithoutRef<'button'>, 'direction'> {
|
|
2198
2118
|
direction: 'prev' | 'next';
|
|
2199
2119
|
}
|
|
2200
|
-
interface CalendarBodyProps extends
|
|
2201
|
-
renderDayCell?: (props: CalendarDayCellRenderProps) =>
|
|
2120
|
+
interface CalendarBodyProps extends react__default.ComponentPropsWithoutRef<'div'> {
|
|
2121
|
+
renderDayCell?: (props: CalendarDayCellRenderProps) => react__default.ReactNode;
|
|
2202
2122
|
}
|
|
2203
2123
|
type CalendarContextValue = {
|
|
2204
2124
|
selectionMode: CalendarSelectionMode;
|
|
@@ -2209,7 +2129,6 @@ type CalendarContextValue = {
|
|
|
2209
2129
|
viewDate: Date;
|
|
2210
2130
|
year: number;
|
|
2211
2131
|
month: number;
|
|
2212
|
-
days: CalendarDayCell[];
|
|
2213
2132
|
view: CalendarViewMode;
|
|
2214
2133
|
setView: (mode: CalendarViewMode) => void;
|
|
2215
2134
|
yearPageStart: number;
|
|
@@ -2217,16 +2136,16 @@ type CalendarContextValue = {
|
|
|
2217
2136
|
shiftView: (delta: number) => void;
|
|
2218
2137
|
selectMonth: (monthIndex: number) => void;
|
|
2219
2138
|
selectYear: (year: number) => void;
|
|
2220
|
-
renderDayCell?: (props: CalendarDayCellRenderProps) =>
|
|
2139
|
+
renderDayCell?: (props: CalendarDayCellRenderProps) => react__default.ReactNode;
|
|
2221
2140
|
};
|
|
2222
2141
|
|
|
2223
2142
|
declare const Calendar: {
|
|
2224
|
-
Provider:
|
|
2225
|
-
Root:
|
|
2226
|
-
Header:
|
|
2227
|
-
Title:
|
|
2228
|
-
Nav:
|
|
2229
|
-
Body:
|
|
2143
|
+
Provider: react.FC<CalendarProviderProps>;
|
|
2144
|
+
Root: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2145
|
+
Header: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2146
|
+
Title: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & react.RefAttributes<HTMLSpanElement>>;
|
|
2147
|
+
Nav: react.ForwardRefExoticComponent<CalendarNavProps & react.RefAttributes<HTMLButtonElement>>;
|
|
2148
|
+
Body: react.ForwardRefExoticComponent<CalendarBodyProps & react.RefAttributes<HTMLDivElement>>;
|
|
2230
2149
|
} & {
|
|
2231
2150
|
displayName: string;
|
|
2232
2151
|
};
|
|
@@ -2236,7 +2155,7 @@ interface DateFieldProps extends Omit<MaskedFieldProps, 'mask' | 'value' | 'onCh
|
|
|
2236
2155
|
onChange: (date: Date | undefined) => void;
|
|
2237
2156
|
}
|
|
2238
2157
|
|
|
2239
|
-
declare const DateField:
|
|
2158
|
+
declare const DateField: react.ForwardRefExoticComponent<Omit<DateFieldProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
2240
2159
|
|
|
2241
2160
|
interface DateRangeFieldProps extends Omit<FieldBaseProps, 'label'>, Omit<ComponentPropsWithoutRef<'div'>, 'onChange' | 'defaultValue' | 'children' | keyof FieldBaseProps> {
|
|
2242
2161
|
value: DateRangeValue;
|
|
@@ -2247,7 +2166,7 @@ interface DateRangeFieldProps extends Omit<FieldBaseProps, 'label'>, Omit<Compon
|
|
|
2247
2166
|
layout?: 'single' | 'split';
|
|
2248
2167
|
}
|
|
2249
2168
|
|
|
2250
|
-
declare const DateRangeField:
|
|
2169
|
+
declare const DateRangeField: react.ForwardRefExoticComponent<DateRangeFieldProps & react.RefAttributes<HTMLInputElement>>;
|
|
2251
2170
|
|
|
2252
2171
|
interface DayStripDayRenderProps {
|
|
2253
2172
|
date: Date;
|
|
@@ -2256,7 +2175,7 @@ interface DayStripDayRenderProps {
|
|
|
2256
2175
|
isSelected: boolean;
|
|
2257
2176
|
isToday: boolean;
|
|
2258
2177
|
}
|
|
2259
|
-
interface DayStripCalendarProps extends Omit<
|
|
2178
|
+
interface DayStripCalendarProps extends Omit<react__default.ComponentPropsWithoutRef<'div'>, 'onChange'> {
|
|
2260
2179
|
value?: Date;
|
|
2261
2180
|
onChange: (date: Date) => void;
|
|
2262
2181
|
viewDate?: Date;
|
|
@@ -2265,16 +2184,16 @@ interface DayStripCalendarProps extends Omit<React__default.ComponentPropsWithou
|
|
|
2265
2184
|
weekStartsOn?: 0 | 1;
|
|
2266
2185
|
showHeader?: boolean;
|
|
2267
2186
|
showNav?: boolean;
|
|
2268
|
-
renderDay?: (props: DayStripDayRenderProps) =>
|
|
2187
|
+
renderDay?: (props: DayStripDayRenderProps) => react__default.ReactNode;
|
|
2269
2188
|
}
|
|
2270
2189
|
|
|
2271
|
-
declare const DayStripCalendar:
|
|
2190
|
+
declare const DayStripCalendar: react__default.ForwardRefExoticComponent<DayStripCalendarProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
2272
2191
|
|
|
2273
2192
|
interface TimeFieldProps extends Omit<MaskedFieldProps, 'mask'> {
|
|
2274
2193
|
value: string;
|
|
2275
2194
|
}
|
|
2276
2195
|
|
|
2277
|
-
declare const TimeField:
|
|
2196
|
+
declare const TimeField: react.ForwardRefExoticComponent<Omit<TimeFieldProps, "ref"> & react.RefAttributes<HTMLInputElement>>;
|
|
2278
2197
|
|
|
2279
2198
|
type TimeValue = {
|
|
2280
2199
|
hours: number;
|
|
@@ -2288,7 +2207,7 @@ interface WheelTimePickerProps extends TimePopupProps, Omit<ComponentPropsWithou
|
|
|
2288
2207
|
active?: boolean;
|
|
2289
2208
|
}
|
|
2290
2209
|
|
|
2291
|
-
declare const WheelTimePicker:
|
|
2210
|
+
declare const WheelTimePicker: react.ForwardRefExoticComponent<WheelTimePickerProps & react.RefAttributes<HTMLDivElement>>;
|
|
2292
2211
|
|
|
2293
2212
|
interface ChartSeries {
|
|
2294
2213
|
name: string;
|
|
@@ -2305,7 +2224,7 @@ interface BarChartProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'
|
|
|
2305
2224
|
showHoverValue?: boolean;
|
|
2306
2225
|
}
|
|
2307
2226
|
|
|
2308
|
-
declare const BarChart:
|
|
2227
|
+
declare const BarChart: react.ForwardRefExoticComponent<BarChartProps & react.RefAttributes<HTMLDivElement>>;
|
|
2309
2228
|
|
|
2310
2229
|
interface ChartDataset extends ChartSeries {
|
|
2311
2230
|
color: string;
|
|
@@ -2316,7 +2235,7 @@ interface LineChartProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children
|
|
|
2316
2235
|
height?: number;
|
|
2317
2236
|
}
|
|
2318
2237
|
|
|
2319
|
-
declare const LineChart:
|
|
2238
|
+
declare const LineChart: react.ForwardRefExoticComponent<LineChartProps & react.RefAttributes<HTMLDivElement>>;
|
|
2320
2239
|
|
|
2321
2240
|
interface DonutSegment {
|
|
2322
2241
|
id?: string;
|
|
@@ -2328,20 +2247,20 @@ interface DonutChartProps extends Omit<ComponentPropsWithoutRef<'div'>, 'childre
|
|
|
2328
2247
|
segments: DonutSegment[];
|
|
2329
2248
|
size?: number;
|
|
2330
2249
|
thickness?: number;
|
|
2331
|
-
centerLabel?:
|
|
2332
|
-
centerValue?:
|
|
2250
|
+
centerLabel?: react__default.ReactNode;
|
|
2251
|
+
centerValue?: react__default.ReactNode;
|
|
2333
2252
|
showLegend?: boolean;
|
|
2334
2253
|
hoverExpand?: boolean;
|
|
2335
2254
|
}
|
|
2336
2255
|
|
|
2337
|
-
declare const DonutChart:
|
|
2256
|
+
declare const DonutChart: react.ForwardRefExoticComponent<DonutChartProps & react.RefAttributes<HTMLDivElement>>;
|
|
2338
2257
|
|
|
2339
2258
|
interface NotificationAction {
|
|
2340
2259
|
label: string;
|
|
2341
2260
|
onClick: () => void;
|
|
2342
2261
|
variant?: 'primary' | 'secondary';
|
|
2343
2262
|
shortcut?: string;
|
|
2344
|
-
shortcutLabel?:
|
|
2263
|
+
shortcutLabel?: react__default.ReactNode;
|
|
2345
2264
|
}
|
|
2346
2265
|
interface NotificationItem {
|
|
2347
2266
|
id: string;
|
|
@@ -2355,14 +2274,14 @@ interface NotificationItem {
|
|
|
2355
2274
|
}
|
|
2356
2275
|
type NotificationPosition = 'top-left' | 'top-right' | 'top-center' | 'bottom-left' | 'bottom-right' | 'bottom-center';
|
|
2357
2276
|
interface NotificationViewportProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
2358
|
-
children?:
|
|
2277
|
+
children?: react__default.ReactNode;
|
|
2359
2278
|
stacked?: boolean;
|
|
2360
2279
|
stackDepth?: number;
|
|
2361
2280
|
position?: NotificationPosition;
|
|
2362
2281
|
}
|
|
2363
2282
|
interface NotificationProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title'> {
|
|
2364
|
-
title:
|
|
2365
|
-
description?:
|
|
2283
|
+
title: react__default.ReactNode;
|
|
2284
|
+
description?: react__default.ReactNode;
|
|
2366
2285
|
actions?: NotificationAction[];
|
|
2367
2286
|
variant?: NotificationItem['variant'];
|
|
2368
2287
|
duration?: number;
|
|
@@ -2370,12 +2289,11 @@ interface NotificationProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title
|
|
|
2370
2289
|
pauseOnHover?: boolean;
|
|
2371
2290
|
onClose?: () => void;
|
|
2372
2291
|
}
|
|
2373
|
-
type NotificationRootProps = NotificationProps;
|
|
2374
2292
|
type NotifyInput = Omit<NotificationItem, 'id'> & {
|
|
2375
2293
|
id?: string;
|
|
2376
2294
|
};
|
|
2377
2295
|
interface NotificationProviderProps {
|
|
2378
|
-
children?:
|
|
2296
|
+
children?: react__default.ReactNode;
|
|
2379
2297
|
maxVisible?: number;
|
|
2380
2298
|
stacked?: boolean;
|
|
2381
2299
|
stackDepth?: number;
|
|
@@ -2400,12 +2318,12 @@ interface ToastContextValue {
|
|
|
2400
2318
|
dismiss: typeof dismiss;
|
|
2401
2319
|
dismissAll: typeof dismissAll;
|
|
2402
2320
|
}
|
|
2403
|
-
declare const NotificationProvider:
|
|
2321
|
+
declare const NotificationProvider: react__default.FC<NotificationProviderProps>;
|
|
2404
2322
|
declare function useNotify(): ToastContextValue;
|
|
2405
2323
|
|
|
2406
|
-
declare const NotificationViewport:
|
|
2407
|
-
declare const Notification:
|
|
2408
|
-
Provider:
|
|
2324
|
+
declare const NotificationViewport: react__default.ForwardRefExoticComponent<NotificationViewportProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
2325
|
+
declare const Notification: react__default.ForwardRefExoticComponent<NotificationProps & react__default.RefAttributes<HTMLDivElement>> & {
|
|
2326
|
+
Provider: react__default.FC<NotificationProviderProps>;
|
|
2409
2327
|
Viewport: typeof NotificationViewport;
|
|
2410
2328
|
};
|
|
2411
2329
|
|
|
@@ -2414,7 +2332,7 @@ type TableDensity = Density;
|
|
|
2414
2332
|
interface Column<T> {
|
|
2415
2333
|
key: keyof T | string;
|
|
2416
2334
|
header: string;
|
|
2417
|
-
render?: (row: T) =>
|
|
2335
|
+
render?: (row: T) => react__default.ReactNode;
|
|
2418
2336
|
sortable?: boolean;
|
|
2419
2337
|
sticky?: 'left' | 'right';
|
|
2420
2338
|
resizable?: boolean;
|
|
@@ -2448,7 +2366,7 @@ interface TableProps<T> extends Omit<ComponentPropsWithoutRef<'div'>, 'children'
|
|
|
2448
2366
|
onSortChange?: (key: string, direction: TableSortDirection) => void;
|
|
2449
2367
|
expandedKeys?: Set<string | number>;
|
|
2450
2368
|
onExpandedChange?: (keys: Set<string | number>) => void;
|
|
2451
|
-
renderExpandedRow?: (row: T) =>
|
|
2369
|
+
renderExpandedRow?: (row: T) => react__default.ReactNode;
|
|
2452
2370
|
rowActions?: (row: T) => ActionListItem[];
|
|
2453
2371
|
rowActionsLabel?: string;
|
|
2454
2372
|
toolbar?: ReactNode;
|
|
@@ -2457,18 +2375,17 @@ interface TableProps<T> extends Omit<ComponentPropsWithoutRef<'div'>, 'children'
|
|
|
2457
2375
|
empty?: ReactNode | TableEmptyConfig;
|
|
2458
2376
|
footer?: TablePagination;
|
|
2459
2377
|
}
|
|
2460
|
-
type TableContentProps<T> = TableProps<T>;
|
|
2461
2378
|
interface TableRowActionsProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
2462
2379
|
items: ActionListItem[];
|
|
2463
2380
|
}
|
|
2464
2381
|
|
|
2465
2382
|
declare const Table: <T extends object>(props: TableProps<T> & {
|
|
2466
|
-
ref?:
|
|
2467
|
-
}) =>
|
|
2383
|
+
ref?: react__default.Ref<HTMLDivElement>;
|
|
2384
|
+
}) => react__default.ReactElement;
|
|
2468
2385
|
|
|
2469
2386
|
interface SortableItem {
|
|
2470
2387
|
id: string;
|
|
2471
|
-
content:
|
|
2388
|
+
content: react__default.ReactNode;
|
|
2472
2389
|
}
|
|
2473
2390
|
type SortableListVariant = 'default' | 'plain';
|
|
2474
2391
|
interface SortableListProps<T extends {
|
|
@@ -2476,7 +2393,7 @@ interface SortableListProps<T extends {
|
|
|
2476
2393
|
} = SortableItem> extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
2477
2394
|
items: T[];
|
|
2478
2395
|
onOrderChange: (newItems: T[]) => void;
|
|
2479
|
-
renderItem?: (item: T, index: number) =>
|
|
2396
|
+
renderItem?: (item: T, index: number) => react__default.ReactNode;
|
|
2480
2397
|
variant?: SortableListVariant;
|
|
2481
2398
|
keyboardReorder?: boolean;
|
|
2482
2399
|
showMoveButtons?: boolean;
|
|
@@ -2487,14 +2404,14 @@ interface SortableListProps<T extends {
|
|
|
2487
2404
|
declare const SortableList: <T extends {
|
|
2488
2405
|
id: string;
|
|
2489
2406
|
} = SortableItem>(props: SortableListProps<T> & {
|
|
2490
|
-
ref?:
|
|
2491
|
-
}) =>
|
|
2407
|
+
ref?: react__default.Ref<HTMLDivElement>;
|
|
2408
|
+
}) => react__default.ReactElement;
|
|
2492
2409
|
|
|
2493
2410
|
type VirtualListAlign = 'start' | 'center' | 'end' | 'auto';
|
|
2494
2411
|
interface VirtualListRenderItemInfo<T> {
|
|
2495
2412
|
item: T;
|
|
2496
2413
|
index: number;
|
|
2497
|
-
style:
|
|
2414
|
+
style: react__default.CSSProperties;
|
|
2498
2415
|
}
|
|
2499
2416
|
interface VirtualListRange {
|
|
2500
2417
|
start: number;
|
|
@@ -2528,19 +2445,19 @@ interface VirtualListProps<T> extends Omit<ComponentPropsWithoutRef<'div'>, 'chi
|
|
|
2528
2445
|
height?: number | string;
|
|
2529
2446
|
gap?: number;
|
|
2530
2447
|
getItemKey?: (item: T, index: number) => string | number;
|
|
2531
|
-
renderItem: (info: VirtualListRenderItemInfo<T>) =>
|
|
2532
|
-
onScroll?: (event: Event |
|
|
2448
|
+
renderItem: (info: VirtualListRenderItemInfo<T>) => react__default.ReactNode;
|
|
2449
|
+
onScroll?: (event: Event | react__default.UIEvent<HTMLDivElement>) => void;
|
|
2533
2450
|
onRangeChange?: (range: VirtualListRange) => void;
|
|
2534
2451
|
onRangeChangeOptions?: VirtualListOnRangeChangeOptions;
|
|
2535
|
-
scrollElement?: HTMLElement | null |
|
|
2452
|
+
scrollElement?: HTMLElement | null | react__default.RefObject<HTMLElement | null>;
|
|
2536
2453
|
useWindowScroll?: boolean;
|
|
2537
2454
|
scrollMetrics?: VirtualScrollMetrics;
|
|
2538
2455
|
scrollMetricsStore?: VirtualScrollMetricsStore;
|
|
2539
2456
|
}
|
|
2540
2457
|
|
|
2541
2458
|
declare const VirtualList: <T>(props: VirtualListProps<T> & {
|
|
2542
|
-
ref?:
|
|
2543
|
-
}) =>
|
|
2459
|
+
ref?: react__default.Ref<VirtualListHandle>;
|
|
2460
|
+
}) => react__default.ReactElement | null;
|
|
2544
2461
|
|
|
2545
2462
|
type ImageCropShape = 'circle' | 'square';
|
|
2546
2463
|
|
|
@@ -2563,7 +2480,7 @@ interface ImageCropProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children
|
|
|
2563
2480
|
onCrop?: (result: ImageCropResult) => void;
|
|
2564
2481
|
}
|
|
2565
2482
|
|
|
2566
|
-
declare const ImageCrop:
|
|
2483
|
+
declare const ImageCrop: react__default.ForwardRefExoticComponent<ImageCropProps & react__default.RefAttributes<HTMLElement>>;
|
|
2567
2484
|
|
|
2568
2485
|
type CalendarBoardView = 'month' | 'week' | 'day' | 'year';
|
|
2569
2486
|
type CalendarBoardTask = CalendarScheduleEvent & {
|
|
@@ -2581,7 +2498,7 @@ interface CalendarBoardTaskRenderProps {
|
|
|
2581
2498
|
onMouseEnter?: () => void;
|
|
2582
2499
|
onMouseLeave?: () => void;
|
|
2583
2500
|
className?: string;
|
|
2584
|
-
style?:
|
|
2501
|
+
style?: react__default.CSSProperties;
|
|
2585
2502
|
}
|
|
2586
2503
|
interface CalendarBoardDayCellRenderProps {
|
|
2587
2504
|
date: Date;
|
|
@@ -2611,12 +2528,12 @@ interface CalendarBoardContextValue {
|
|
|
2611
2528
|
dayEndHour: number;
|
|
2612
2529
|
hourHeight: number;
|
|
2613
2530
|
onTaskClick?: (task: CalendarBoardTask) => void;
|
|
2614
|
-
renderTask?: (props: CalendarBoardTaskRenderProps) =>
|
|
2615
|
-
renderDayCell?: (props: CalendarBoardDayCellRenderProps) =>
|
|
2616
|
-
renderYearMonth?: (props: CalendarBoardYearMonthRenderProps) =>
|
|
2531
|
+
renderTask?: (props: CalendarBoardTaskRenderProps) => react__default.ReactNode;
|
|
2532
|
+
renderDayCell?: (props: CalendarBoardDayCellRenderProps) => react__default.ReactNode;
|
|
2533
|
+
renderYearMonth?: (props: CalendarBoardYearMonthRenderProps) => react__default.ReactNode;
|
|
2617
2534
|
}
|
|
2618
2535
|
interface CalendarBoardProviderProps {
|
|
2619
|
-
children:
|
|
2536
|
+
children: react__default.ReactNode;
|
|
2620
2537
|
view?: CalendarBoardView;
|
|
2621
2538
|
defaultView?: CalendarBoardView;
|
|
2622
2539
|
onViewChange?: (view: CalendarBoardView) => void;
|
|
@@ -2631,11 +2548,11 @@ interface CalendarBoardProviderProps {
|
|
|
2631
2548
|
dayEndHour?: number;
|
|
2632
2549
|
hourHeight?: number;
|
|
2633
2550
|
onTaskClick?: (task: CalendarBoardTask) => void;
|
|
2634
|
-
renderTask?: (props: CalendarBoardTaskRenderProps) =>
|
|
2635
|
-
renderDayCell?: (props: CalendarBoardDayCellRenderProps) =>
|
|
2636
|
-
renderYearMonth?: (props: CalendarBoardYearMonthRenderProps) =>
|
|
2551
|
+
renderTask?: (props: CalendarBoardTaskRenderProps) => react__default.ReactNode;
|
|
2552
|
+
renderDayCell?: (props: CalendarBoardDayCellRenderProps) => react__default.ReactNode;
|
|
2553
|
+
renderYearMonth?: (props: CalendarBoardYearMonthRenderProps) => react__default.ReactNode;
|
|
2637
2554
|
}
|
|
2638
|
-
interface CalendarBoardTaskChipProps extends Omit<
|
|
2555
|
+
interface CalendarBoardTaskChipProps extends Omit<react__default.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
2639
2556
|
task: CalendarBoardTask;
|
|
2640
2557
|
layout?: CalendarBoardTaskLayout;
|
|
2641
2558
|
continuesBefore?: boolean;
|
|
@@ -2643,32 +2560,32 @@ interface CalendarBoardTaskChipProps extends Omit<React__default.ComponentPropsW
|
|
|
2643
2560
|
timeLabel?: string;
|
|
2644
2561
|
highlighted?: boolean;
|
|
2645
2562
|
}
|
|
2646
|
-
interface CalendarBoardMonthProps extends
|
|
2563
|
+
interface CalendarBoardMonthProps extends react__default.ComponentPropsWithoutRef<'div'> {
|
|
2647
2564
|
maxChipsPerDay?: number;
|
|
2648
2565
|
}
|
|
2649
|
-
interface CalendarBoardWeekProps extends
|
|
2566
|
+
interface CalendarBoardWeekProps extends react__default.ComponentPropsWithoutRef<'div'> {
|
|
2650
2567
|
showScheduleHeader?: boolean;
|
|
2651
2568
|
showScheduleNav?: boolean;
|
|
2652
2569
|
}
|
|
2653
|
-
interface CalendarBoardDayProps extends
|
|
2570
|
+
interface CalendarBoardDayProps extends react__default.ComponentPropsWithoutRef<'div'> {
|
|
2654
2571
|
showScheduleHeader?: boolean;
|
|
2655
2572
|
showScheduleNav?: boolean;
|
|
2656
2573
|
}
|
|
2657
|
-
type CalendarBoardYearProps =
|
|
2658
|
-
interface CalendarBoardBodyProps extends
|
|
2574
|
+
type CalendarBoardYearProps = react__default.ComponentPropsWithoutRef<'div'>;
|
|
2575
|
+
interface CalendarBoardBodyProps extends react__default.ComponentPropsWithoutRef<'div'> {
|
|
2659
2576
|
monthProps?: CalendarBoardMonthProps;
|
|
2660
2577
|
weekProps?: CalendarBoardWeekProps;
|
|
2661
2578
|
dayProps?: CalendarBoardDayProps;
|
|
2662
2579
|
yearProps?: CalendarBoardYearProps;
|
|
2663
2580
|
}
|
|
2664
|
-
interface CalendarBoardViewSwitchProps extends
|
|
2581
|
+
interface CalendarBoardViewSwitchProps extends react__default.ComponentPropsWithoutRef<'div'> {
|
|
2665
2582
|
variant?: 'primary' | 'tinted' | 'secondary';
|
|
2666
2583
|
size?: 'sm' | 'md' | 'lg';
|
|
2667
2584
|
}
|
|
2668
|
-
type CalendarBoardRootProps =
|
|
2669
|
-
type CalendarBoardHeaderProps =
|
|
2670
|
-
type CalendarBoardTitleProps =
|
|
2671
|
-
type CalendarBoardNavProps =
|
|
2585
|
+
type CalendarBoardRootProps = react__default.ComponentPropsWithoutRef<'div'>;
|
|
2586
|
+
type CalendarBoardHeaderProps = react__default.ComponentPropsWithoutRef<'div'>;
|
|
2587
|
+
type CalendarBoardTitleProps = react__default.ComponentPropsWithoutRef<'div'>;
|
|
2588
|
+
type CalendarBoardNavProps = react__default.ComponentPropsWithoutRef<'div'>;
|
|
2672
2589
|
|
|
2673
2590
|
declare function useCalendarBoardTaskHover(taskId: string): {
|
|
2674
2591
|
highlighted: boolean;
|
|
@@ -2677,20 +2594,20 @@ declare function useCalendarBoardTaskHover(taskId: string): {
|
|
|
2677
2594
|
};
|
|
2678
2595
|
declare function useCalendarBoardContext(): CalendarBoardContextValue;
|
|
2679
2596
|
|
|
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:
|
|
2597
|
+
declare const CalendarBoard: react.FC<CalendarBoardProviderProps> & {
|
|
2598
|
+
Provider: react.FC<CalendarBoardProviderProps>;
|
|
2599
|
+
Root: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2600
|
+
Header: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2601
|
+
Title: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2602
|
+
Nav: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2603
|
+
ViewSwitch: react.ForwardRefExoticComponent<CalendarBoardViewSwitchProps & react.RefAttributes<HTMLDivElement>>;
|
|
2604
|
+
Body: react.ForwardRefExoticComponent<CalendarBoardBodyProps & react.RefAttributes<HTMLDivElement>>;
|
|
2605
|
+
Month: react.ForwardRefExoticComponent<CalendarBoardMonthProps & react.RefAttributes<HTMLDivElement>>;
|
|
2606
|
+
Week: react.ForwardRefExoticComponent<CalendarBoardWeekProps & react.RefAttributes<HTMLDivElement>>;
|
|
2607
|
+
Day: react.ForwardRefExoticComponent<CalendarBoardDayProps & react.RefAttributes<HTMLDivElement>>;
|
|
2608
|
+
Year: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
2609
|
+
TaskChip: react.ForwardRefExoticComponent<CalendarBoardTaskChipProps & react.RefAttributes<HTMLButtonElement | HTMLSpanElement>>;
|
|
2693
2610
|
};
|
|
2694
2611
|
|
|
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,
|
|
2612
|
+
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, FieldGroup, 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 };
|
|
2613
|
+
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, FieldGroupProps, FieldGroupWidth, 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, PopupSwitchWidth, ProgressCircleProps, ProgressProps, ProgressVariant, PullToRefreshProps, RadioGroupProps, RadioProps, RangeValue, RatingProps, RelativeTimeProps, ResolvedListboxGroup, SafeAreaEdges, SafeAreaProps, ScrollAreaProps, SearchFieldProps, SegmentOption, SegmentedControlProps, SegmentedItemFit, SelectCustomTriggerProps, 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 };
|