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