altum 0.0.9 → 0.0.11

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.
Files changed (145) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +1 -1
  3. package/dist/base/ChartBase/ChartHoverBubble.module.css.js +1 -1
  4. package/dist/base/ChartBase/ChartLegend.module.css.js +1 -1
  5. package/dist/base/ChartBase/ChartPlot.module.css.js +1 -1
  6. package/dist/base/Flex/Flex.module.css.js +1 -1
  7. package/dist/base/SelectionGroup/SelectionGroup.module.css.js +1 -1
  8. package/dist/base/ToggleControlBase/ToggleControlBase.module.css.js +1 -1
  9. package/dist/components/Accordion/Accordion.module.css.js +1 -1
  10. package/dist/components/ActionList/ActionItem.module.css.js +1 -1
  11. package/dist/components/ActionList/ActionList.js +1 -1
  12. package/dist/components/ActionList/ActionList.module.css.js +1 -1
  13. package/dist/components/ActionList/actionListFilter.js +1 -1
  14. package/dist/components/Alert/Alert.module.css.js +1 -1
  15. package/dist/components/AspectRatio/AspectRatio.module.css.js +1 -1
  16. package/dist/components/Attachment/Attachment.module.css.js +1 -1
  17. package/dist/components/AutocompleteField/AutocompleteField.js +1 -1
  18. package/dist/components/Avatar/Avatar.module.css.js +1 -1
  19. package/dist/components/Badge/Badge.module.css.js +1 -1
  20. package/dist/components/BarChart/BarChart.module.css.js +1 -1
  21. package/dist/components/Box/Box.module.css.js +1 -1
  22. package/dist/components/Bubble/Bubble.module.css.js +1 -1
  23. package/dist/components/Button/Button.module.css.js +1 -1
  24. package/dist/components/ButtonGroup/ButtonGroup.module.css.js +1 -1
  25. package/dist/components/Calendar/Calendar.module.css.js +1 -1
  26. package/dist/components/CalendarBoard/CalendarBoard.Event.module.css.js +1 -1
  27. package/dist/components/CalendarBoard/CalendarBoard.Schedule.module.css.js +1 -1
  28. package/dist/components/CalendarBoard/CalendarBoard.module.css.js +1 -1
  29. package/dist/components/Card/Card.module.css.js +1 -1
  30. package/dist/components/Checkbox/Checkbox.module.css.js +1 -1
  31. package/dist/components/Chip/Chip.module.css.js +1 -1
  32. package/dist/components/ColorSwatchGroup/ColorSwatchGroup.module.css.js +1 -1
  33. package/dist/components/CommandPalette/CommandPalette.module.css.js +1 -1
  34. package/dist/components/Container/Container.module.css.js +1 -1
  35. package/dist/components/DateField/DateField.js +1 -1
  36. package/dist/components/DateField/DateField.module.css.js +1 -1
  37. package/dist/components/DateRangeField/DateRangeField.js +1 -1
  38. package/dist/components/DateRangeField/DateRangeField.module.css.js +1 -1
  39. package/dist/components/DayStripCalendar/DayStripCalendar.module.css.js +1 -1
  40. package/dist/components/DescriptionList/DescriptionList.module.css.js +1 -1
  41. package/dist/components/DialogLayout/DialogLayout.module.css.js +1 -1
  42. package/dist/components/DonutChart/DonutChart.module.css.js +1 -1
  43. package/dist/components/Dropdown/Dropdown.module.css.js +1 -1
  44. package/dist/components/EmptyState/EmptyState.module.css.js +1 -1
  45. package/dist/components/FieldGroup/FieldGroup.module.css.js +1 -1
  46. package/dist/components/FieldLabel/FieldLabel.module.css.js +1 -1
  47. package/dist/components/Fieldset/Fieldset.module.css.js +1 -1
  48. package/dist/components/FileList/FileList.module.css.js +1 -1
  49. package/dist/components/FileUploader/FileUploader.module.css.js +1 -1
  50. package/dist/components/Gap/Gap.module.css.js +1 -1
  51. package/dist/components/Grid/Grid.module.css.js +1 -1
  52. package/dist/components/ImageCrop/ImageCrop.module.css.js +1 -1
  53. package/dist/components/ImageGallery/ImageGallery.module.css.js +1 -1
  54. package/dist/components/ImageLightbox/ImageLightbox.module.css.js +1 -1
  55. package/dist/components/Item/Item.module.css.js +1 -1
  56. package/dist/components/Kbd/Kbd.module.css.js +1 -1
  57. package/dist/components/Layout/Layout.module.css.js +1 -1
  58. package/dist/components/LineChart/LineChart.module.css.js +1 -1
  59. package/dist/components/Link/Link.module.css.js +1 -1
  60. package/dist/components/Listbox/Listbox.js +1 -1
  61. package/dist/components/Listbox/Listbox.module.css.js +1 -1
  62. package/dist/components/Marker/Marker.module.css.js +1 -1
  63. package/dist/components/MaskedField/MaskedField.module.css.js +1 -1
  64. package/dist/components/Media/Media.module.css.js +1 -1
  65. package/dist/components/Menu/Menu.js +1 -1
  66. package/dist/components/Menu/Menu.module.css.js +1 -1
  67. package/dist/components/Modal/Modal.js +1 -1
  68. package/dist/components/Modal/Modal.module.css.js +1 -1
  69. package/dist/components/MultiSelect/MultiSelect.js +1 -1
  70. package/dist/components/MultiSelect/MultiSelect.module.css.js +1 -1
  71. package/dist/components/Notification/Notification.module.css.js +1 -1
  72. package/dist/components/Overflow/Overflow.module.css.js +1 -1
  73. package/dist/components/Overlay/Overlay.module.css.js +1 -1
  74. package/dist/components/Pagination/Pagination.module.css.js +1 -1
  75. package/dist/components/PasswordField/PasswordField.module.css.js +1 -1
  76. package/dist/components/PinInput/PinInput.module.css.js +1 -1
  77. package/dist/components/Popover/Popover.js +1 -1
  78. package/dist/components/Popover/Popover.module.css.js +1 -1
  79. package/dist/components/PopupSwitch/PopupSwitch.js +1 -1
  80. package/dist/components/PopupSwitch/PopupSwitch.module.css.js +1 -1
  81. package/dist/components/Progress/Progress.module.css.js +1 -1
  82. package/dist/components/PullToRefresh/PullToRefresh.module.css.js +1 -1
  83. package/dist/components/Radio/Radio.module.css.js +1 -1
  84. package/dist/components/SafeArea/SafeArea.module.css.js +1 -1
  85. package/dist/components/ScrollArea/ScrollArea.module.css.js +1 -1
  86. package/dist/components/SegmentedControl/SegmentedControl.module.css.js +1 -1
  87. package/dist/components/Select/Select.js +1 -1
  88. package/dist/components/Select/Select.module.css.js +1 -1
  89. package/dist/components/Select/useTextTrigger.js +1 -0
  90. package/dist/components/Separator/Separator.module.css.js +1 -1
  91. package/dist/components/Sheet/Sheet.module.css.js +1 -1
  92. package/dist/components/Sidebar/Sidebar.module.css.js +1 -1
  93. package/dist/components/Skeleton/Skeleton.module.css.js +1 -1
  94. package/dist/components/SkipLink/SkipLink.module.css.js +1 -1
  95. package/dist/components/Slider/Slider.module.css.js +1 -1
  96. package/dist/components/SortableList/SortableList.module.css.js +1 -1
  97. package/dist/components/Spinner/Spinner.module.css.js +1 -1
  98. package/dist/components/StatBadge/StatBadge.module.css.js +1 -1
  99. package/dist/components/Steps/Steps.module.css.js +1 -1
  100. package/dist/components/SuggestField/SuggestField.js +1 -1
  101. package/dist/components/SwipeToAction/SwipeToAction.module.css.js +1 -1
  102. package/dist/components/Switch/Switch.module.css.js +1 -1
  103. package/dist/components/Table/Table.module.css.js +1 -1
  104. package/dist/components/Tabs/Tabs.js +1 -1
  105. package/dist/components/Tabs/Tabs.module.css.js +1 -1
  106. package/dist/components/Text/Text.module.css.js +1 -1
  107. package/dist/components/TextField/TextField.module.css.js +1 -1
  108. package/dist/components/TextareaField/TextareaField.module.css.js +1 -1
  109. package/dist/components/ThemeProvider/ThemeProvider.module.css.js +1 -1
  110. package/dist/components/TimeField/TimeField.js +1 -1
  111. package/dist/components/TimeField/TimeField.module.css.js +1 -1
  112. package/dist/components/Timeline/Timeline.module.css.js +1 -1
  113. package/dist/components/Title/Title.module.css.js +1 -1
  114. package/dist/components/Tooltip/Tooltip.module.css.js +1 -1
  115. package/dist/components/UploadZone/UploadZone.module.css.js +1 -1
  116. package/dist/components/VirtualList/VirtualList.module.css.js +1 -1
  117. package/dist/components/WheelTimePicker/WheelTimePicker.module.css.js +1 -1
  118. package/dist/core/utils/cssShrinkTokens.js +1 -1
  119. package/dist/core/utils/object.js +1 -0
  120. package/dist/entries/hooks.js +1 -1
  121. package/dist/entries/utils.js +1 -1
  122. package/dist/hooks/useForm.js +1 -1
  123. package/dist/hooks/useMediaQuery.js +1 -0
  124. package/dist/hooks/useOutsideClick.js +1 -0
  125. package/dist/hooks/usePrefersReducedMotion.js +1 -0
  126. package/dist/styles/MediaItem.module.css.js +1 -1
  127. package/dist/styles/calendarChrome.module.css.js +1 -1
  128. package/dist/styles/fieldMessage.module.css.js +1 -1
  129. package/dist/styles/floating.module.css.js +1 -1
  130. package/dist/styles/overlayClose.module.css.js +1 -1
  131. package/dist/styles/overlayScrim.module.css.js +1 -1
  132. package/dist/styles/overlayTransition.module.css.js +1 -1
  133. package/dist/styles/scrollable.module.css.js +1 -1
  134. package/dist/styles/selectField.module.css.js +1 -1
  135. package/dist/styles/textLink.module.css.js +1 -1
  136. package/dist/styles/toggleBox.module.css.js +1 -1
  137. package/dist/styles/toggleGroup.module.css.js +1 -1
  138. package/dist/styles/unstyledControl.module.css.js +1 -1
  139. package/dist/styles/utilities.module.css.js +1 -1
  140. package/docs/COMPONENTS.md +5 -5
  141. package/docs/THEMING.md +2 -2
  142. package/package.json +5 -1
  143. package/types/entries/hooks.d.ts +22 -5
  144. package/types/entries/utils.d.ts +4 -1
  145. package/types/index.d.ts +22 -45
@@ -1,5 +1,11 @@
1
1
  import * as react from 'react';
2
- import { PointerEvent, MouseEvent, Dispatch, SetStateAction, ReactNode } from 'react';
2
+ import { RefObject, PointerEvent, MouseEvent as MouseEvent$1, Dispatch, SetStateAction, ReactNode } from 'react';
3
+
4
+ interface UseOutsideClickOptions {
5
+ enabled?: boolean;
6
+ }
7
+ type OutsideClickTarget = RefObject<HTMLElement | null>;
8
+ declare function useOutsideClick(refs: OutsideClickTarget | readonly OutsideClickTarget[], callback: (event: MouseEvent | TouchEvent) => void, options?: UseOutsideClickOptions): void;
3
9
 
4
10
  type DocumentKeyDownTarget = 'document' | 'window';
5
11
  interface UseDocumentKeyDownOptions {
@@ -13,6 +19,17 @@ declare function useControlledStateWithCallback<T>(controlled: T | undefined, de
13
19
 
14
20
  declare function useNow(intervalMs: number): Date;
15
21
 
22
+ declare const MOBILE_MEDIA_QUERY = "(max-width: 768px)";
23
+ declare const SIDEBAR_LARGE_MEDIA_QUERY = "(min-width: 1280px)";
24
+ declare const SIDEBAR_MEDIUM_MEDIA_QUERY = "(min-width: 1024px) and (max-width: 1279px)";
25
+ declare function useMediaQuery(query: string): boolean;
26
+ declare function useIsMobile(): boolean;
27
+ declare function useIsSidebarLarge(): boolean;
28
+ declare function useIsSidebarMedium(): boolean;
29
+
30
+ declare const REDUCED_MOTION_QUERY = "(prefers-reduced-motion: reduce)";
31
+ declare function usePrefersReducedMotion(): boolean;
32
+
16
33
  interface UseLongPressOptions {
17
34
  delay?: number;
18
35
  disabled?: boolean;
@@ -22,8 +39,8 @@ interface UseLongPressHandlers {
22
39
  onPointerDown: (event: PointerEvent) => void;
23
40
  onPointerUp: (event: PointerEvent) => void;
24
41
  onPointerCancel: (event: PointerEvent) => void;
25
- onContextMenu: (event: MouseEvent) => void;
26
- onClick: (event: MouseEvent) => void;
42
+ onContextMenu: (event: MouseEvent$1) => void;
43
+ onClick: (event: MouseEvent$1) => void;
27
44
  cancel: () => void;
28
45
  }
29
46
  declare function useLongPress(onLongPress: () => void, options?: UseLongPressOptions): UseLongPressHandlers;
@@ -92,5 +109,5 @@ interface ValidationRules {
92
109
  declare function fieldRules(rules: ValidationRules): FormRule;
93
110
  declare function checkedValue(payload: unknown): boolean;
94
111
 
95
- export { checkedValue, compose, fieldRules, pattern, required, useControlledState, useControlledStateWithCallback, useDocumentKeyDown, useForm, useFormContext, useFormProvider, useLongPress, useNow };
96
- export type { DocumentKeyDownTarget, FieldValidate, FormErrors, FormRule, RegisterOptions, UseDocumentKeyDownOptions, UseFormReturn, UseLongPressHandlers, UseLongPressOptions, ValidationRules };
112
+ export { MOBILE_MEDIA_QUERY, REDUCED_MOTION_QUERY, SIDEBAR_LARGE_MEDIA_QUERY, SIDEBAR_MEDIUM_MEDIA_QUERY, checkedValue, compose, fieldRules, pattern, required, useControlledState, useControlledStateWithCallback, useDocumentKeyDown, useForm, useFormContext, useFormProvider, useIsMobile, useIsSidebarLarge, useIsSidebarMedium, useLongPress, useMediaQuery, useNow, useOutsideClick, usePrefersReducedMotion };
113
+ export type { DocumentKeyDownTarget, FieldValidate, FormErrors, FormRule, RegisterOptions, UseDocumentKeyDownOptions, UseFormReturn, UseLongPressHandlers, UseLongPressOptions, UseOutsideClickOptions, ValidationRules };
@@ -159,6 +159,9 @@ declare const getCtx: <T>(context: Context<T | undefined>, message: string) => T
159
159
 
160
160
  declare function cn(...parts: Array<string | false | undefined | null>): string;
161
161
 
162
+ declare function pick<T extends object, const K extends keyof T>(source: T, keys: readonly K[]): Pick<T, K>;
163
+ declare function omit<T extends object, const K extends keyof T>(source: T, keys: readonly K[]): Omit<T, K>;
164
+
162
165
  declare function clamp(value: number, min: number, max: number): number;
163
166
 
164
167
  declare function toggleSet<T>(set: ReadonlySet<T>, key: T): Set<T>;
@@ -201,5 +204,5 @@ type Density = 'default' | 'compact';
201
204
 
202
205
  type SurfaceVariant = 'primary' | 'tinted' | 'secondary' | 'ghost' | 'plain';
203
206
 
204
- export { DAY_SECONDS, DEFAULT_DRAG_BLOCKED_SELECTOR, DEFAULT_PORTAL_SELECTOR, HOUR_SECONDS, MINUTE_SECONDS, SPACING_CSS, WEEK_SECONDS, addDays, addToDate, ariaIds, clamp, cn, compareDay, defaultListboxFilterFn, filterListboxOptions, findListboxOption, flattenResolvedListboxGroups, formatAriaKeyShortcuts, formatBytes, formatHHmm, formatHourLabel, formatHourTime, formatInTimeZone, formatKeyboardShortcut, formatLocalDate, formatTimezoneLabel, formatTimezoneOffset, getBrowserTimezone, getCtx, getDurationUnitAndValue, getFormControlState, getListboxDisplayValue, getListboxOptionDomId, getListboxOptionText, getListboxPath, getSupportedTimezones, getTimezoneOffsetMinutes, getTranslateXFromTransform, getWeekDays, getWeekStart, getZonedParts, handleRovingFocus, isDragBlockedTarget, isEditableTarget, isExistingLocalDate, isOutsideFormInteraction, isSameDay, isSameZonedDay, isValidTimeZone, liveStatus, localeToBcp47, matchListboxOption, matchesKeyboardShortcut, mergeSlotProps, moveArrayItem, parseKeyboardShortcut, parseLocalDate, plural, pluralEn, pluralRu, renderChildren, resolveListboxGroups, secondsToUnit, set, spacingCss, startOfDay, toCssSize, toPath, toggleSet, uEv, uRef, unitToSeconds };
207
+ export { DAY_SECONDS, DEFAULT_DRAG_BLOCKED_SELECTOR, DEFAULT_PORTAL_SELECTOR, HOUR_SECONDS, MINUTE_SECONDS, SPACING_CSS, WEEK_SECONDS, addDays, addToDate, ariaIds, clamp, cn, compareDay, defaultListboxFilterFn, filterListboxOptions, findListboxOption, flattenResolvedListboxGroups, formatAriaKeyShortcuts, formatBytes, formatHHmm, formatHourLabel, formatHourTime, formatInTimeZone, formatKeyboardShortcut, formatLocalDate, formatTimezoneLabel, formatTimezoneOffset, getBrowserTimezone, getCtx, getDurationUnitAndValue, getFormControlState, getListboxDisplayValue, getListboxOptionDomId, getListboxOptionText, getListboxPath, getSupportedTimezones, getTimezoneOffsetMinutes, getTranslateXFromTransform, getWeekDays, getWeekStart, getZonedParts, handleRovingFocus, isDragBlockedTarget, isEditableTarget, isExistingLocalDate, isOutsideFormInteraction, isSameDay, isSameZonedDay, isValidTimeZone, liveStatus, localeToBcp47, matchListboxOption, matchesKeyboardShortcut, mergeSlotProps, moveArrayItem, omit, parseKeyboardShortcut, parseLocalDate, pick, plural, pluralEn, pluralRu, renderChildren, resolveListboxGroups, secondsToUnit, set, spacingCss, startOfDay, toCssSize, toPath, toggleSet, uEv, uRef, unitToSeconds };
205
208
  export type { DateAddUnit, Density, DurationUnit, DurationUnitValue, EnrichedThroughChild, EnrichedThroughFn, GroupGap, KeyboardShortcutParts, ListboxFilterFn, ListboxGroup, ListboxOption, PluralForms, PropertyPath, RenderChildrenFn, RenderChildrenOptions, ResolvedListboxGroup, SpacingToken, SpacingValue, SurfaceVariant, WeekStartsOn, WithEnrichedChildren, ZonedDateParts };
package/types/index.d.ts CHANGED
@@ -577,8 +577,8 @@ type WithEnrichedChildren<T, P> = T & {
577
577
  type PopoverContentVariant = 'panel' | 'plain';
578
578
  type PopoverTargetAction = 'toggle' | 'show' | 'hide';
579
579
  type PopoverTriggerSlotProps = {
580
- popoverTarget?: string;
581
- popoverTargetAction?: PopoverTargetAction;
580
+ popovertarget?: string;
581
+ popovertargetaction?: PopoverTargetAction;
582
582
  onClick?: (event: MouseEvent<HTMLElement>) => void;
583
583
  style?: CSSProperties;
584
584
  };
@@ -707,13 +707,19 @@ interface ActionListItem {
707
707
  buttonProps?: ListboxOption['buttonProps'];
708
708
  groupId?: string;
709
709
  }
710
+ interface ActionListSeparator {
711
+ type: 'separator';
712
+ id?: string;
713
+ groupId?: string;
714
+ }
715
+ type ActionListEntry = ActionListItem | ActionListSeparator;
710
716
  interface ActionListGroup {
711
717
  id: string;
712
718
  label: ReactNode;
713
719
  }
714
720
  interface ActionListProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'onSelect'> {
715
721
  rootRef?: Ref<HTMLDivElement>;
716
- items: ActionListItem[];
722
+ items: ActionListEntry[];
717
723
  groups?: ActionListGroup[];
718
724
  onAction?: (item: ActionListItem) => void;
719
725
  onHighlightChange?: (index: number) => void;
@@ -728,7 +734,7 @@ type MenuTrigger = ReactElement | 'context';
728
734
  interface MenuProps extends Omit<ComponentPropsWithoutRef<'div'>, 'children'> {
729
735
  trigger: MenuTrigger;
730
736
  children?: ReactNode;
731
- items: ActionListItem[];
737
+ items: ActionListEntry[];
732
738
  groups?: ActionListGroup[];
733
739
  onOpenChange?: (open: boolean) => void;
734
740
  popupRef?: Ref<DropdownPopup | null>;
@@ -1738,29 +1744,10 @@ declare const Overflow: typeof OverflowRoot & {
1738
1744
 
1739
1745
  type SelectOption = ListboxOption;
1740
1746
  type SelectSelectionMode = 'single' | 'multiple' | 'path';
1741
- type SelectTriggerMode = 'button' | 'input';
1742
- interface SelectCustomTriggerProps {
1743
- triggerRef: (node: HTMLElement | null) => void;
1744
- popoverTarget?: string;
1745
- popoverTargetAction?: PopoverTargetAction;
1746
- listboxId: string;
1747
- activeDescendantId?: string;
1748
- 'aria-expanded'?: boolean;
1749
- chevron: ReactNode;
1750
- onClick: React__default.MouseEventHandler<HTMLElement>;
1751
- onFocus: React__default.FocusEventHandler<HTMLElement>;
1752
- onKeyDown: React__default.KeyboardEventHandler<HTMLElement>;
1753
- }
1754
- interface SelectSelectionState {
1755
- value: string | string[];
1756
- valueArray: string[];
1757
- selectedOptions: SelectOption[];
1758
- selectionMode: SelectSelectionMode;
1759
- hasValue: boolean;
1760
- isReadOnly: boolean;
1761
- removeOption: (optionValue: string) => void;
1762
- clearValue: () => void;
1763
- }
1747
+ type SelectInputProps = Partial<Omit<TextFieldProps<'input'>, 'as'>> & {
1748
+ as?: TextFieldAs;
1749
+ children?: ReactNode;
1750
+ };
1764
1751
  interface SelectProps extends FieldBaseProps {
1765
1752
  options: SelectOption[];
1766
1753
  groups?: ListboxGroup[];
@@ -1781,17 +1768,8 @@ interface SelectProps extends FieldBaseProps {
1781
1768
  popupRole?: 'listbox' | 'tree' | 'dialog' | 'menu';
1782
1769
  filterable?: boolean;
1783
1770
  filterPlaceholder?: string;
1784
- allowCustom?: boolean;
1785
- name?: string;
1786
- required?: boolean;
1787
- inputRef?: Ref<HTMLInputElement>;
1788
- onFocus?: React__default.FocusEventHandler<HTMLInputElement>;
1789
- onBlur?: React__default.FocusEventHandler<HTMLInputElement>;
1790
- onClick?: React__default.MouseEventHandler<HTMLInputElement>;
1791
- onKeyDown?: React__default.KeyboardEventHandler<HTMLInputElement>;
1792
1771
  align?: DropdownAlign;
1793
1772
  widthMode?: DropdownWidthMode;
1794
- triggerMode?: SelectTriggerMode;
1795
1773
  mobileTitle?: ReactNode;
1796
1774
  mobileLeftControls?: ReactNode;
1797
1775
  mobileRightControls?: ReactNode;
@@ -1803,9 +1781,7 @@ interface SelectProps extends FieldBaseProps {
1803
1781
  noOptionsText?: string;
1804
1782
  preventOptionMouseDown?: boolean;
1805
1783
  listAriaLabel?: string;
1806
- customTrigger?: (triggerProps: SelectCustomTriggerProps, selectionState: SelectSelectionState) => ReactNode;
1807
- onComboboxEnter?: () => void;
1808
- onComboboxEscape?: () => void;
1784
+ inputProps?: SelectInputProps;
1809
1785
  popupClassName?: string;
1810
1786
  rootRef?: Ref<HTMLDivElement>;
1811
1787
  className?: string;
@@ -1813,7 +1789,7 @@ interface SelectProps extends FieldBaseProps {
1813
1789
  'aria-label'?: string;
1814
1790
  }
1815
1791
 
1816
- declare const Select: ({ options, groups, selectionMode, value: controlledValue, defaultValue, onChange, defaultOpen, onOpenChange, disabled, readOnly, closeOnSelect, filterFn, filterQuery: controlledFilterQuery, defaultFilterQuery, onFilterQueryChange, placeholder, loading, separator, popupRole, filterable, filterPlaceholder, allowCustom, name, required, inputRef, onFocus, onBlur, onClick, onKeyDown, align, widthMode, triggerMode, mobileTitle, mobileLeftControls, mobileRightControls, panelScroll, navigation, highlightedIndex, onHighlightChange, showCheck, noOptionsText: noOptionsTextProp, preventOptionMouseDown, listAriaLabel, customTrigger, onComboboxEnter, onComboboxEscape, popupClassName, rootRef, className, id: providedId, label, size, width, prefix, postfix: _postfix, error, description, onClear, clearLabel, "aria-label": ariaLabel, }: SelectProps) => React.JSX.Element;
1792
+ declare const Select: ({ options, groups, selectionMode, value: controlledValue, defaultValue, onChange, defaultOpen, onOpenChange, disabled, readOnly, closeOnSelect, filterFn, filterQuery: controlledFilterQuery, defaultFilterQuery, onFilterQueryChange, placeholder, loading, separator, popupRole, filterable, filterPlaceholder, align, widthMode, mobileTitle, mobileLeftControls, mobileRightControls, panelScroll, navigation, highlightedIndex, onHighlightChange, showCheck, noOptionsText: noOptionsTextProp, preventOptionMouseDown, listAriaLabel, inputProps, popupClassName, rootRef, className, id: providedId, label, size, width, prefix, postfix: _postfix, error, description, onClear, clearLabel, "aria-label": ariaLabel, }: SelectProps) => React.JSX.Element;
1817
1793
 
1818
1794
  type SuggestFieldOption = SelectOption;
1819
1795
  interface SuggestFieldProps extends FieldBaseProps {
@@ -1836,7 +1812,7 @@ interface SuggestFieldProps extends FieldBaseProps {
1836
1812
  'aria-label'?: string;
1837
1813
  }
1838
1814
 
1839
- declare const SuggestField: ({ value, defaultValue, onChange, width, noOptionsText, label, "aria-label": ariaLabel, postfix: _postfix, ...props }: SuggestFieldProps) => React.JSX.Element;
1815
+ declare const SuggestField: ({ options, value, defaultValue, onChange, width, noOptionsText, label, placeholder, name, required, inputRef, onFocus, onBlur, onClick, onKeyDown, "aria-label": ariaLabel, postfix: _postfix, ...props }: SuggestFieldProps) => React.JSX.Element;
1840
1816
 
1841
1817
  type AutocompleteFieldOption = SelectOption;
1842
1818
  interface AutocompleteFieldProps extends FieldBaseProps {
@@ -1859,7 +1835,7 @@ interface AutocompleteFieldProps extends FieldBaseProps {
1859
1835
  'aria-label'?: string;
1860
1836
  }
1861
1837
 
1862
- declare const AutocompleteField: ({ value, defaultValue, onChange, width, noOptionsText, label, "aria-label": ariaLabel, postfix: _postfix, ...props }: AutocompleteFieldProps) => React.JSX.Element;
1838
+ declare const AutocompleteField: ({ options, value, defaultValue, onChange, width, noOptionsText, label, placeholder, name, required, inputRef, onFocus, onBlur, onClick, onKeyDown, "aria-label": ariaLabel, postfix: _postfix, ...props }: AutocompleteFieldProps) => React.JSX.Element;
1863
1839
 
1864
1840
  type MultiSelectOption = SelectOption;
1865
1841
  interface MultiSelectProps extends FieldBaseProps {
@@ -1895,7 +1871,7 @@ interface MultiSelectProps extends FieldBaseProps {
1895
1871
  'aria-label'?: string;
1896
1872
  }
1897
1873
 
1898
- declare const MultiSelect: ({ options, groups, value, defaultValue, onChange, placeholder, loading, disabled, readOnly, label, size, width, prefix, postfix: _postfix, error, description, onClear, clearLabel, className, id: providedId, "aria-label": ariaLabel, listAriaLabel, noOptionsText, filterable, filterPlaceholder, showCheck, ...popupProps }: MultiSelectProps) => React.JSX.Element;
1874
+ declare const MultiSelect: ({ options, groups, value: controlledValue, defaultValue, onChange, placeholder, loading, disabled, readOnly, label, size, width, prefix, postfix: _postfix, error, description, onClear, clearLabel, className, id: providedId, "aria-label": ariaLabel, listAriaLabel, noOptionsText, filterable, filterPlaceholder, showCheck, widthMode, ...popupProps }: MultiSelectProps) => React.JSX.Element;
1899
1875
 
1900
1876
  type LayoutNodeRef = Ref<HTMLElement> | Ref<HTMLDivElement> | Ref<HTMLSpanElement> | Ref<HTMLUListElement> | Ref<HTMLOListElement> | Ref<HTMLLIElement>;
1901
1877
  type LayoutGap = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
@@ -2046,6 +2022,7 @@ interface ModalRootProps extends Omit<ComponentPropsWithoutRef<'div'>, 'title' |
2046
2022
  open: boolean;
2047
2023
  onOpenChange: (open: boolean) => void;
2048
2024
  children: ReactNode;
2025
+ size?: ControlSize;
2049
2026
  className?: string;
2050
2027
  showClose?: boolean;
2051
2028
  'aria-labelledby'?: string;
@@ -2068,7 +2045,7 @@ interface ModalFooterProps extends Omit<ComponentPropsWithoutRef<'footer'>, 'ali
2068
2045
  }
2069
2046
  type ModalProps = ModalRootProps;
2070
2047
 
2071
- declare const Modal: (({ open, onOpenChange, children, className, "aria-labelledby": ariaLabelledBy, "aria-label": ariaLabel, "aria-describedby": ariaDescribedBy, rootRef, ...rest }: ModalRootProps) => React.JSX.Element) & {
2048
+ declare const Modal: (({ open, onOpenChange, children, size, className, "aria-labelledby": ariaLabelledBy, "aria-label": ariaLabel, "aria-describedby": ariaDescribedBy, rootRef, ...rest }: ModalRootProps) => React.JSX.Element) & {
2072
2049
  Header: ({ rootRef, ...props }: ModalHeaderProps) => React.JSX.Element;
2073
2050
  Body: ({ className, rootRef, ...props }: ModalBodyProps) => React.JSX.Element;
2074
2051
  Footer: ({ align, rootRef, ...props }: ModalFooterProps) => React.JSX.Element;
@@ -2767,4 +2744,4 @@ declare const CalendarBoard: (({ children, view: controlledView, defaultView, on
2767
2744
  };
2768
2745
 
2769
2746
  export { Accordion, ActionItem, ActionList, ActionSheetTrigger, Alert, AspectRatio, Attachment, AutocompleteField, Avatar, AvatarGroup, Badge, BarChart, Box, Bubble, Button, ButtonGroup, ButtonIcon, Calendar, CalendarBoard, Card, Checkbox, CheckboxGroup, Chip, ChipGroup, Collapse, ColorSwatchGroup, CommandPalette, ConfirmDialog, Container, ControlRow, DateField, DateRangeField, DayStripCalendar, DescriptionList, DialogLayout, DonutChart, Dropdown, EmptyState, FieldBaseButton, FieldBaseIcon, FieldGroup, FieldLabel, Fieldset, FileList$1 as FileList, FileUploader, FormMessage, Gap, 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, MultiSelect, Notification, NotificationProvider, NumberField, Overflow, Overlay, Page, Pagination, PasswordField, PinInput, Popover, PopupSwitch, Progress, ProgressCircle, PullToRefresh, Radio, RadioGroup, Rating, RelativeTime, SafeArea, ScrollArea, SearchField, SegmentedControl, Select, 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 };
2770
- export type { AccordionItemData, AccordionItemProps, AccordionProps, AccordionVariant, ActionItemProps, ActionListGroup, ActionListItem, ActionListProps, ActionSheetTriggerProps, AlertLayout, AlertProps, AlertVariant, AspectRatioProps, AttachmentProps, AttachmentSize, AttachmentStatus, AutocompleteFieldOption, AutocompleteFieldProps, AvatarGroupProps, AvatarProps, AvatarSize, AvatarStatus, BadgePosition, BadgeProps, BadgeSize, BadgeVariant, BarChartDataset, BarChartProps, BoxAs, BoxBorderStyle, BoxProps, BoxRadius, BoxShadow, BoxVariant, BubbleAlign, BubbleProps, BubbleReaction, BubbleVariant, ButtonGroupItemFit, ButtonGroupOrientation, 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, DropdownPanelState, DropdownPopup, DropdownPopupRole, DropdownProps, DropdownTriggerAttrs, DropdownTriggerMode, DropdownTriggerSlotProps, DropdownWidthMode, EmptyStateProps, EmptyStateSize, FieldBaseButtonProps, FieldBaseIconProps, FieldBaseProps, FieldGroupProps, FieldGroupWidth, FieldLabelAlign, FieldLabelJustify, FieldLabelLayout, FieldLabelProps, FieldWidth, FieldsetProps, FieldsetVariant, FileListItemProps, FileListItemStatus, FileListRootProps, FileUploaderFile, FileUploaderProps, FormMessageProps, FormMessageVariant, GapOrientation, GapProps, 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, ListboxEntry, ListboxFilterFn, ListboxGroup, ListboxHandle, ListboxNavigation, ListboxOption, ListboxProps, ListboxSeparator, LiveRegionProps, LocaleCode, LocaleProviderProps, MarkerProps, MarkerVariant, MaskedFieldProps, MediaProps, MenuProps, MenuTrigger, Messages, ModalBodyProps, ModalFooterAlign, ModalFooterProps, ModalHeaderProps, ModalProps, ModalRootProps, MultiSelectOption, MultiSelectProps, NotificationAction, NotificationItem, NotificationPosition, NotificationProps, NotificationProviderProps, NotificationViewportProps, NotifyInput, NumberFieldProps, OverflowDisplay, OverflowFit, OverflowGap, OverflowItemProps, OverflowProps, OverlayBaseProps, OverlayFloatingProps, OverlayModalProps, OverlayProps, OverlaySheetProps, OverlaySheetSide, OverlayVariant, PageProps, PaginationControlsProps, PaginationPageSizeProps, PaginationProps, PaginationRootProps, PaginationSummaryProps, PasswordFieldProps, PasswordStrength, PinInputProps, PopoverContentVariant, PopoverProps, PopoverTargetAction, PopoverTriggerSlotProps, PopupSwitchAlign, PopupSwitchOption, PopupSwitchProps, PopupSwitchVariant, PopupSwitchWidth, ProgressCircleProps, ProgressProps, ProgressVariant, PullToRefreshProps, RadioGroupProps, RadioProps, RangeValue, RatingProps, RelativeTimeProps, ResolvedListboxGroup, SafeAreaEdges, SafeAreaProps, ScrollAreaProps, SearchFieldProps, SegmentOption, SegmentedControlProps, SegmentedControlVariant, SegmentedItemFit, SelectCustomTriggerProps, SelectOption, SelectProps, SelectSelectionMode, SelectSelectionState, SelectTriggerMode, 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, TabsItem, 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 };
2747
+ export type { AccordionItemData, AccordionItemProps, AccordionProps, AccordionVariant, ActionItemProps, ActionListEntry, ActionListGroup, ActionListItem, ActionListProps, ActionListSeparator, ActionSheetTriggerProps, AlertLayout, AlertProps, AlertVariant, AspectRatioProps, AttachmentProps, AttachmentSize, AttachmentStatus, AutocompleteFieldOption, AutocompleteFieldProps, AvatarGroupProps, AvatarProps, AvatarSize, AvatarStatus, BadgePosition, BadgeProps, BadgeSize, BadgeVariant, BarChartDataset, BarChartProps, BoxAs, BoxBorderStyle, BoxProps, BoxRadius, BoxShadow, BoxVariant, BubbleAlign, BubbleProps, BubbleReaction, BubbleVariant, ButtonGroupItemFit, ButtonGroupOrientation, 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, DropdownPanelState, DropdownPopup, DropdownPopupRole, DropdownProps, DropdownTriggerAttrs, DropdownTriggerMode, DropdownTriggerSlotProps, DropdownWidthMode, EmptyStateProps, EmptyStateSize, FieldBaseButtonProps, FieldBaseIconProps, FieldBaseProps, FieldGroupProps, FieldGroupWidth, FieldLabelAlign, FieldLabelJustify, FieldLabelLayout, FieldLabelProps, FieldWidth, FieldsetProps, FieldsetVariant, FileListItemProps, FileListItemStatus, FileListRootProps, FileUploaderFile, FileUploaderProps, FormMessageProps, FormMessageVariant, GapOrientation, GapProps, 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, ListboxEntry, ListboxFilterFn, ListboxGroup, ListboxHandle, ListboxNavigation, ListboxOption, ListboxProps, ListboxSeparator, LiveRegionProps, LocaleCode, LocaleProviderProps, MarkerProps, MarkerVariant, MaskedFieldProps, MediaProps, MenuProps, MenuTrigger, Messages, ModalBodyProps, ModalFooterAlign, ModalFooterProps, ModalHeaderProps, ModalProps, ModalRootProps, MultiSelectOption, MultiSelectProps, NotificationAction, NotificationItem, NotificationPosition, NotificationProps, NotificationProviderProps, NotificationViewportProps, NotifyInput, NumberFieldProps, OverflowDisplay, OverflowFit, OverflowGap, OverflowItemProps, OverflowProps, OverlayBaseProps, OverlayFloatingProps, OverlayModalProps, OverlayProps, OverlaySheetProps, OverlaySheetSide, OverlayVariant, PageProps, PaginationControlsProps, PaginationPageSizeProps, PaginationProps, PaginationRootProps, PaginationSummaryProps, PasswordFieldProps, PasswordStrength, PinInputProps, PopoverContentVariant, PopoverProps, PopoverTargetAction, PopoverTriggerSlotProps, PopupSwitchAlign, PopupSwitchOption, PopupSwitchProps, PopupSwitchVariant, PopupSwitchWidth, ProgressCircleProps, ProgressProps, ProgressVariant, PullToRefreshProps, RadioGroupProps, RadioProps, RangeValue, RatingProps, RelativeTimeProps, ResolvedListboxGroup, SafeAreaEdges, SafeAreaProps, ScrollAreaProps, SearchFieldProps, SegmentOption, SegmentedControlProps, SegmentedControlVariant, SegmentedItemFit, SelectInputProps, SelectOption, SelectProps, SelectSelectionMode, 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, TabsItem, 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 };