@motech-development/breeze-ui 3.8.2 → 4.0.0

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 (253) hide show
  1. package/lib/{Cabin-LICENSE.txt → Public-Sans-LICENSE.txt} +1 -1
  2. package/lib/assets/public-sans-latin-wght-normal-DdeTHZLK.woff2 +0 -0
  3. package/lib/index.d.ts +4 -99
  4. package/lib/index.d.ts.map +1 -1
  5. package/lib/index.js +103 -6083
  6. package/lib/index.js.map +1 -1
  7. package/lib/primitives/Button/Button.d.ts +51 -25
  8. package/lib/primitives/Button/Button.d.ts.map +1 -1
  9. package/lib/provider/BreezeContext.d.ts +5 -14
  10. package/lib/provider/BreezeContext.d.ts.map +1 -1
  11. package/lib/provider/BreezeProvider.d.ts +8 -21
  12. package/lib/provider/BreezeProvider.d.ts.map +1 -1
  13. package/lib/provider/en-GB.d.ts +5 -0
  14. package/lib/provider/en-GB.d.ts.map +1 -0
  15. package/lib/reset.css +1 -2
  16. package/lib/styles.css +1 -1
  17. package/package.json +4 -13
  18. package/lib/assets/cabin-latin-wght-normal-DZW_uTKI.woff2 +0 -0
  19. package/lib/formatting/FormattedDateTime/FormattedDateTime.d.ts +0 -17
  20. package/lib/formatting/FormattedDateTime/FormattedDateTime.d.ts.map +0 -1
  21. package/lib/formatting/FormattedList/FormattedList.d.ts +0 -17
  22. package/lib/formatting/FormattedList/FormattedList.d.ts.map +0 -1
  23. package/lib/formatting/FormattedNumber/FormattedNumber.d.ts +0 -17
  24. package/lib/formatting/FormattedNumber/FormattedNumber.d.ts.map +0 -1
  25. package/lib/formatting/RelativeTime/RelativeTime.d.ts +0 -21
  26. package/lib/formatting/RelativeTime/RelativeTime.d.ts.map +0 -1
  27. package/lib/icons/index.d.ts +0 -83
  28. package/lib/icons/index.d.ts.map +0 -1
  29. package/lib/icons.js +0 -29
  30. package/lib/icons.js.map +0 -1
  31. package/lib/internal/collections/VirtualizedCollection.d.ts +0 -16
  32. package/lib/internal/collections/VirtualizedCollection.d.ts.map +0 -1
  33. package/lib/internal/collections/collectionKey.d.ts +0 -6
  34. package/lib/internal/collections/collectionKey.d.ts.map +0 -1
  35. package/lib/internal/collections/useCollectionEmptyContent.d.ts +0 -3
  36. package/lib/internal/collections/useCollectionEmptyContent.d.ts.map +0 -1
  37. package/lib/internal/collections/useLoadMoreHandler.d.ts +0 -7
  38. package/lib/internal/collections/useLoadMoreHandler.d.ts.map +0 -1
  39. package/lib/internal/date/conversion.d.ts +0 -16
  40. package/lib/internal/date/conversion.d.ts.map +0 -1
  41. package/lib/internal/files/validation.d.ts +0 -17
  42. package/lib/internal/files/validation.d.ts.map +0 -1
  43. package/lib/internal/hooks/useForwardedRef.d.ts +0 -3
  44. package/lib/internal/hooks/useForwardedRef.d.ts.map +0 -1
  45. package/lib/internal/react-aria/DisclosureParts.d.ts +0 -27
  46. package/lib/internal/react-aria/DisclosureParts.d.ts.map +0 -1
  47. package/lib/internal/react-aria/OverlayParts.d.ts +0 -55
  48. package/lib/internal/react-aria/OverlayParts.d.ts.map +0 -1
  49. package/lib/internal/react-aria/renderNativeButton.d.ts +0 -6
  50. package/lib/internal/react-aria/renderNativeButton.d.ts.map +0 -1
  51. package/lib/internal/styling/actions.d.ts +0 -72
  52. package/lib/internal/styling/actions.d.ts.map +0 -1
  53. package/lib/internal/styling/breakpoints.d.ts +0 -5
  54. package/lib/internal/styling/breakpoints.d.ts.map +0 -1
  55. package/lib/internal/styling/formControls.d.ts +0 -23
  56. package/lib/internal/styling/formControls.d.ts.map +0 -1
  57. package/lib/internal/styling/layout.d.ts +0 -108
  58. package/lib/internal/styling/layout.d.ts.map +0 -1
  59. package/lib/internal/styling/responsive.d.ts +0 -22
  60. package/lib/internal/styling/responsive.d.ts.map +0 -1
  61. package/lib/internal/styling/visual.d.ts +0 -7
  62. package/lib/internal/styling/visual.d.ts.map +0 -1
  63. package/lib/internal/types/collection.d.ts +0 -60
  64. package/lib/internal/types/collection.d.ts.map +0 -1
  65. package/lib/internal/types/date.d.ts +0 -8
  66. package/lib/internal/types/date.d.ts.map +0 -1
  67. package/lib/internal/types/file.d.ts +0 -21
  68. package/lib/internal/types/file.d.ts.map +0 -1
  69. package/lib/internal/types/native.d.ts +0 -8
  70. package/lib/internal/types/native.d.ts.map +0 -1
  71. package/lib/patterns/ApplicationShell/ApplicationShell.d.ts +0 -50
  72. package/lib/patterns/ApplicationShell/ApplicationShell.d.ts.map +0 -1
  73. package/lib/patterns/ButtonGroup/ButtonGroup.d.ts +0 -20
  74. package/lib/patterns/ButtonGroup/ButtonGroup.d.ts.map +0 -1
  75. package/lib/patterns/ConfirmationDialog/ConfirmationDialog.d.ts +0 -76
  76. package/lib/patterns/ConfirmationDialog/ConfirmationDialog.d.ts.map +0 -1
  77. package/lib/patterns/ContextSwitcher/ContextSwitcher.d.ts +0 -42
  78. package/lib/patterns/ContextSwitcher/ContextSwitcher.d.ts.map +0 -1
  79. package/lib/patterns/FileAttachment/FileAttachment.d.ts +0 -17
  80. package/lib/patterns/FileAttachment/FileAttachment.d.ts.map +0 -1
  81. package/lib/patterns/FileUpload/FileUpload.d.ts +0 -35
  82. package/lib/patterns/FileUpload/FileUpload.d.ts.map +0 -1
  83. package/lib/patterns/FormActions/FormActions.d.ts +0 -25
  84. package/lib/patterns/FormActions/FormActions.d.ts.map +0 -1
  85. package/lib/patterns/FormSection/FormSection.d.ts +0 -31
  86. package/lib/patterns/FormSection/FormSection.d.ts.map +0 -1
  87. package/lib/patterns/MetricCard/MetricCard.d.ts +0 -28
  88. package/lib/patterns/MetricCard/MetricCard.d.ts.map +0 -1
  89. package/lib/patterns/NavigationSection/NavigationSection.d.ts +0 -17
  90. package/lib/patterns/NavigationSection/NavigationSection.d.ts.map +0 -1
  91. package/lib/patterns/PageHeader/PageHeader.d.ts +0 -21
  92. package/lib/patterns/PageHeader/PageHeader.d.ts.map +0 -1
  93. package/lib/patterns/Pagination/Pagination.d.ts +0 -23
  94. package/lib/patterns/Pagination/Pagination.d.ts.map +0 -1
  95. package/lib/patterns/PasswordField/PasswordField.d.ts +0 -58
  96. package/lib/patterns/PasswordField/PasswordField.d.ts.map +0 -1
  97. package/lib/patterns/SectionHeader/SectionHeader.d.ts +0 -21
  98. package/lib/patterns/SectionHeader/SectionHeader.d.ts.map +0 -1
  99. package/lib/patterns/SegmentedControl/SegmentedControl.d.ts +0 -56
  100. package/lib/patterns/SegmentedControl/SegmentedControl.d.ts.map +0 -1
  101. package/lib/patterns/StatePanel/StatePanel.d.ts +0 -25
  102. package/lib/patterns/StatePanel/StatePanel.d.ts.map +0 -1
  103. package/lib/patterns/UserMenu/UserMenu.d.ts +0 -63
  104. package/lib/patterns/UserMenu/UserMenu.d.ts.map +0 -1
  105. package/lib/primitives/Accordion/Accordion.d.ts +0 -76
  106. package/lib/primitives/Accordion/Accordion.d.ts.map +0 -1
  107. package/lib/primitives/Alert/Alert.d.ts +0 -23
  108. package/lib/primitives/Alert/Alert.d.ts.map +0 -1
  109. package/lib/primitives/AlertDialog/AlertDialog.d.ts +0 -77
  110. package/lib/primitives/AlertDialog/AlertDialog.d.ts.map +0 -1
  111. package/lib/primitives/Avatar/Avatar.d.ts +0 -308
  112. package/lib/primitives/Avatar/Avatar.d.ts.map +0 -1
  113. package/lib/primitives/Badge/Badge.d.ts +0 -299
  114. package/lib/primitives/Badge/Badge.d.ts.map +0 -1
  115. package/lib/primitives/Breadcrumbs/Breadcrumbs.d.ts +0 -40
  116. package/lib/primitives/Breadcrumbs/Breadcrumbs.d.ts.map +0 -1
  117. package/lib/primitives/Calendar/Calendar.d.ts +0 -61
  118. package/lib/primitives/Calendar/Calendar.d.ts.map +0 -1
  119. package/lib/primitives/Card/Card.d.ts +0 -63
  120. package/lib/primitives/Card/Card.d.ts.map +0 -1
  121. package/lib/primitives/Center/Center.d.ts +0 -295
  122. package/lib/primitives/Center/Center.d.ts.map +0 -1
  123. package/lib/primitives/Checkbox/Checkbox.d.ts +0 -106
  124. package/lib/primitives/Checkbox/Checkbox.d.ts.map +0 -1
  125. package/lib/primitives/CheckboxGroup/CheckboxGroup.d.ts +0 -76
  126. package/lib/primitives/CheckboxGroup/CheckboxGroup.d.ts.map +0 -1
  127. package/lib/primitives/ComboBox/ComboBox.d.ts +0 -174
  128. package/lib/primitives/ComboBox/ComboBox.d.ts.map +0 -1
  129. package/lib/primitives/Container/Container.d.ts +0 -296
  130. package/lib/primitives/Container/Container.d.ts.map +0 -1
  131. package/lib/primitives/DateField/DateField.d.ts +0 -87
  132. package/lib/primitives/DateField/DateField.d.ts.map +0 -1
  133. package/lib/primitives/DatePicker/DatePicker.d.ts +0 -74
  134. package/lib/primitives/DatePicker/DatePicker.d.ts.map +0 -1
  135. package/lib/primitives/DateRangePicker/DateRangePicker.d.ts +0 -116
  136. package/lib/primitives/DateRangePicker/DateRangePicker.d.ts.map +0 -1
  137. package/lib/primitives/DateTimePicker/DateTimePicker.d.ts +0 -93
  138. package/lib/primitives/DateTimePicker/DateTimePicker.d.ts.map +0 -1
  139. package/lib/primitives/DescriptionList/DescriptionList.d.ts +0 -45
  140. package/lib/primitives/DescriptionList/DescriptionList.d.ts.map +0 -1
  141. package/lib/primitives/Dialog/Dialog.d.ts +0 -56
  142. package/lib/primitives/Dialog/Dialog.d.ts.map +0 -1
  143. package/lib/primitives/Disclosure/Disclosure.d.ts +0 -59
  144. package/lib/primitives/Disclosure/Disclosure.d.ts.map +0 -1
  145. package/lib/primitives/Drawer/Drawer.d.ts +0 -87
  146. package/lib/primitives/Drawer/Drawer.d.ts.map +0 -1
  147. package/lib/primitives/DropZone/DropZone.d.ts +0 -85
  148. package/lib/primitives/DropZone/DropZone.d.ts.map +0 -1
  149. package/lib/primitives/Fieldset/Fieldset.d.ts +0 -57
  150. package/lib/primitives/Fieldset/Fieldset.d.ts.map +0 -1
  151. package/lib/primitives/FileTrigger/FileTrigger.d.ts +0 -72
  152. package/lib/primitives/FileTrigger/FileTrigger.d.ts.map +0 -1
  153. package/lib/primitives/Grid/Grid.d.ts +0 -307
  154. package/lib/primitives/Grid/Grid.d.ts.map +0 -1
  155. package/lib/primitives/GridList/GridList.d.ts +0 -131
  156. package/lib/primitives/GridList/GridList.d.ts.map +0 -1
  157. package/lib/primitives/IconButton/IconButton.d.ts +0 -37
  158. package/lib/primitives/IconButton/IconButton.d.ts.map +0 -1
  159. package/lib/primitives/IconTile/IconTile.d.ts +0 -312
  160. package/lib/primitives/IconTile/IconTile.d.ts.map +0 -1
  161. package/lib/primitives/Inline/Inline.d.ts +0 -302
  162. package/lib/primitives/Inline/Inline.d.ts.map +0 -1
  163. package/lib/primitives/InputGroup/InputGroup.d.ts +0 -36
  164. package/lib/primitives/InputGroup/InputGroup.d.ts.map +0 -1
  165. package/lib/primitives/Link/Link.d.ts +0 -28
  166. package/lib/primitives/Link/Link.d.ts.map +0 -1
  167. package/lib/primitives/LinkButton/LinkButton.d.ts +0 -31
  168. package/lib/primitives/LinkButton/LinkButton.d.ts.map +0 -1
  169. package/lib/primitives/List/List.d.ts +0 -29
  170. package/lib/primitives/List/List.d.ts.map +0 -1
  171. package/lib/primitives/ListBox/ListBox.d.ts +0 -102
  172. package/lib/primitives/ListBox/ListBox.d.ts.map +0 -1
  173. package/lib/primitives/Logo/Logo.d.ts +0 -292
  174. package/lib/primitives/Logo/Logo.d.ts.map +0 -1
  175. package/lib/primitives/Menu/Menu.d.ts +0 -161
  176. package/lib/primitives/Menu/Menu.d.ts.map +0 -1
  177. package/lib/primitives/Meter/Meter.d.ts +0 -28
  178. package/lib/primitives/Meter/Meter.d.ts.map +0 -1
  179. package/lib/primitives/NavigationList/NavigationList.d.ts +0 -44
  180. package/lib/primitives/NavigationList/NavigationList.d.ts.map +0 -1
  181. package/lib/primitives/NumberField/NumberField.d.ts +0 -118
  182. package/lib/primitives/NumberField/NumberField.d.ts.map +0 -1
  183. package/lib/primitives/Popover/Popover.d.ts +0 -61
  184. package/lib/primitives/Popover/Popover.d.ts.map +0 -1
  185. package/lib/primitives/ProgressBar/ProgressBar.d.ts +0 -41
  186. package/lib/primitives/ProgressBar/ProgressBar.d.ts.map +0 -1
  187. package/lib/primitives/RadioGroup/RadioGroup.d.ts +0 -131
  188. package/lib/primitives/RadioGroup/RadioGroup.d.ts.map +0 -1
  189. package/lib/primitives/RangeCalendar/RangeCalendar.d.ts +0 -57
  190. package/lib/primitives/RangeCalendar/RangeCalendar.d.ts.map +0 -1
  191. package/lib/primitives/SearchField/SearchField.d.ts +0 -70
  192. package/lib/primitives/SearchField/SearchField.d.ts.map +0 -1
  193. package/lib/primitives/Select/Select.d.ts +0 -110
  194. package/lib/primitives/Select/Select.d.ts.map +0 -1
  195. package/lib/primitives/Separator/Separator.d.ts +0 -302
  196. package/lib/primitives/Separator/Separator.d.ts.map +0 -1
  197. package/lib/primitives/Skeleton/Skeleton.d.ts +0 -27
  198. package/lib/primitives/Skeleton/Skeleton.d.ts.map +0 -1
  199. package/lib/primitives/SkipLink/SkipLink.d.ts +0 -21
  200. package/lib/primitives/SkipLink/SkipLink.d.ts.map +0 -1
  201. package/lib/primitives/Slider/Slider.d.ts +0 -148
  202. package/lib/primitives/Slider/Slider.d.ts.map +0 -1
  203. package/lib/primitives/Spinner/Spinner.d.ts +0 -23
  204. package/lib/primitives/Spinner/Spinner.d.ts.map +0 -1
  205. package/lib/primitives/Stack/Stack.d.ts +0 -300
  206. package/lib/primitives/Stack/Stack.d.ts.map +0 -1
  207. package/lib/primitives/Stepper/Stepper.d.ts +0 -42
  208. package/lib/primitives/Stepper/Stepper.d.ts.map +0 -1
  209. package/lib/primitives/Surface/Surface.d.ts +0 -306
  210. package/lib/primitives/Surface/Surface.d.ts.map +0 -1
  211. package/lib/primitives/Switch/Switch.d.ts +0 -118
  212. package/lib/primitives/Switch/Switch.d.ts.map +0 -1
  213. package/lib/primitives/Table/Table.d.ts +0 -233
  214. package/lib/primitives/Table/Table.d.ts.map +0 -1
  215. package/lib/primitives/Tabs/Tabs.d.ts +0 -105
  216. package/lib/primitives/Tabs/Tabs.d.ts.map +0 -1
  217. package/lib/primitives/Tag/Tag.d.ts +0 -18
  218. package/lib/primitives/Tag/Tag.d.ts.map +0 -1
  219. package/lib/primitives/TagGroup/TagGroup.d.ts +0 -60
  220. package/lib/primitives/TagGroup/TagGroup.d.ts.map +0 -1
  221. package/lib/primitives/TextArea/TextArea.d.ts +0 -40
  222. package/lib/primitives/TextArea/TextArea.d.ts.map +0 -1
  223. package/lib/primitives/TextField/TextField.d.ts +0 -102
  224. package/lib/primitives/TextField/TextField.d.ts.map +0 -1
  225. package/lib/primitives/TimeField/TimeField.d.ts +0 -58
  226. package/lib/primitives/TimeField/TimeField.d.ts.map +0 -1
  227. package/lib/primitives/Toast/Toast.d.ts +0 -88
  228. package/lib/primitives/Toast/Toast.d.ts.map +0 -1
  229. package/lib/primitives/ToggleButton/ToggleButton.d.ts +0 -55
  230. package/lib/primitives/ToggleButton/ToggleButton.d.ts.map +0 -1
  231. package/lib/primitives/ToggleGroup/ToggleGroup.d.ts +0 -48
  232. package/lib/primitives/ToggleGroup/ToggleGroup.d.ts.map +0 -1
  233. package/lib/primitives/Toolbar/Toolbar.d.ts +0 -17
  234. package/lib/primitives/Toolbar/Toolbar.d.ts.map +0 -1
  235. package/lib/primitives/Tooltip/Tooltip.d.ts +0 -66
  236. package/lib/primitives/Tooltip/Tooltip.d.ts.map +0 -1
  237. package/lib/primitives/Typography/Typography.d.ts +0 -317
  238. package/lib/primitives/Typography/Typography.d.ts.map +0 -1
  239. package/lib/primitives/VisuallyHidden/VisuallyHidden.d.ts +0 -294
  240. package/lib/primitives/VisuallyHidden/VisuallyHidden.d.ts.map +0 -1
  241. package/lib/primitives/date/CalendarParts.d.ts +0 -26
  242. package/lib/primitives/date/CalendarParts.d.ts.map +0 -1
  243. package/lib/primitives/date/DateInput.d.ts +0 -9
  244. package/lib/primitives/date/DateInput.d.ts.map +0 -1
  245. package/lib/primitives/date/PickerFieldParts.d.ts +0 -11
  246. package/lib/primitives/date/PickerFieldParts.d.ts.map +0 -1
  247. package/lib/primitives/date/PickerParts.d.ts +0 -29
  248. package/lib/primitives/date/PickerParts.d.ts.map +0 -1
  249. package/lib/primitives/file/FileFeedback.d.ts +0 -14
  250. package/lib/primitives/file/FileFeedback.d.ts.map +0 -1
  251. package/lib/provider/messages.d.ts +0 -43
  252. package/lib/provider/messages.d.ts.map +0 -1
  253. package/lib/theme.css +0 -5
@@ -1,57 +0,0 @@
1
- import type { HTMLAttributes, ReactElement, ReactNode, Ref } from 'react';
2
- import type { DateRangeValue } from '../../internal/types/date';
3
- import { type CalendarButtonPartProps, CalendarGridPart, type CalendarGridPartProps, CalendarHeaderPart, type CalendarHeaderPartProps, CalendarHeadingPart, type CalendarHeadingPartProps, CalendarNextButtonPart, CalendarPreviousButtonPart } from '../date/CalendarParts';
4
- interface SharedProps extends Omit<HTMLAttributes<HTMLDivElement>, 'defaultValue' | 'onChange' | 'style'> {
5
- /** Calendar navigation, heading, range grid, and guidance. */ children: ReactNode;
6
- /** Allows ranges containing unavailable dates. */ allowsNonContiguousRanges?: boolean;
7
- /** Prevents focus and selection. */ disabled?: boolean;
8
- /** Exposes invalid selection state. */ invalid?: boolean;
9
- /** Returns whether a stable date is unavailable. */ isDateUnavailable?: (date: string, anchorDate: string | null) => boolean;
10
- /** Latest selectable date. */ maxValue?: string;
11
- /** Earliest selectable date. */ minValue?: string;
12
- /** Ref to the rendered range-calendar root. */ ref?: Ref<HTMLDivElement>;
13
- /** Number of visible months. Defaults to `1`. */ visibleMonths?: number;
14
- }
15
- type State = {
16
- /** Current controlled range, or `null` when empty. */ value: DateRangeValue | null;
17
- /** Called with the next stable range or `null`. */ onChange: (value: DateRangeValue | null) => void;
18
- /** Excluded when controlled. */ defaultValue?: never;
19
- /** Mutable controlled calendars cannot be read-only. */ readOnly?: false;
20
- } | {
21
- /** Current immutable range, or `null` when empty. */ value: DateRangeValue | null;
22
- /** Prevents range changes. */ readOnly: true;
23
- /** Excluded when controlled. */ defaultValue?: never;
24
- /** Excluded because read-only calendars cannot change. */ onChange?: never;
25
- } | {
26
- /** Initial uncontrolled range, or `null` when empty. */ defaultValue?: DateRangeValue | null;
27
- /** Called with the next stable range or `null`. */ onChange?: (value: DateRangeValue | null) => void;
28
- /** Uncontrolled calendars cannot be read-only. */ readOnly?: false;
29
- /** Excluded when uncontrolled. */ value?: never;
30
- };
31
- /** Props for stable date-range calendar selection. */
32
- export type RangeCalendarRootProps = SharedProps & State;
33
- /** Props for the navigation header. */
34
- export type RangeCalendarHeaderProps = CalendarHeaderPartProps;
35
- /** Props for previous and next buttons. */
36
- export type RangeCalendarButtonProps = CalendarButtonPartProps;
37
- /** Props for the locale-formatted heading. */
38
- export type RangeCalendarHeadingProps = CalendarHeadingPartProps;
39
- /** Props for the range calendar grid. */
40
- export type RangeCalendarGridProps = CalendarGridPartProps;
41
- /** Coordinates locale-aware selection of a start and end date. */
42
- export declare function Root({ allowsNonContiguousRanges, children, className, defaultValue, disabled, invalid, isDateUnavailable, maxValue, minValue, onChange, readOnly, ref, value, visibleMonths, ...props }: Readonly<RangeCalendarRootProps>): ReactElement;
43
- /**
44
- * Accessible locale-aware date-range calendar.
45
- *
46
- * @summary inclusive ISO date-range selection from calendar grids
47
- */
48
- export declare const RangeCalendar: {
49
- /** Locale-aware weekday and range grid. */ Grid: typeof CalendarGridPart;
50
- /** Navigation header container. */ Header: typeof CalendarHeaderPart;
51
- /** Visible month heading. */ Heading: typeof CalendarHeadingPart;
52
- /** Next-page navigation. */ NextButton: typeof CalendarNextButtonPart;
53
- /** Previous-page navigation. */ PreviousButton: typeof CalendarPreviousButtonPart;
54
- /** Stable range state and constraints. */ Root: typeof Root;
55
- };
56
- export {};
57
- //# sourceMappingURL=RangeCalendar.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RangeCalendar.d.ts","sourceRoot":"","sources":["../../../src/primitives/RangeCalendar/RangeCalendar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,cAAc,EACd,YAAY,EACZ,SAAS,EACT,GAAG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+0,0 @@
1
- import type { ButtonHTMLAttributes, HTMLAttributes, ReactElement, ReactNode, Ref } from 'react';
2
- import type { ControlSize } from '../../internal/styling/visual';
3
- import { type TextFieldDescriptionProps, type TextFieldErrorProps, type TextFieldInputProps, type TextFieldLabelProps, type TextFieldRootProps } from '../TextField/TextField';
4
- interface SearchFieldRootCallbacks {
5
- /** Called after the query is cleared with the clear button or Escape key. */
6
- onClear?: () => void;
7
- /** Called with the current query when the user submits the search. */
8
- onSubmit?: (value: string) => void;
9
- }
10
- /** Props for controlled, read-only, or uncontrolled search field state. */
11
- export type SearchFieldRootProps = TextFieldRootProps & SearchFieldRootCallbacks;
12
- /** Props for the visible search field label. */
13
- export type SearchFieldLabelProps = TextFieldLabelProps;
14
- /** Props for the single-surface search input and clear-action group. */
15
- export interface SearchFieldGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'style'> {
16
- /** Search input and optional clear action. */
17
- children: ReactNode;
18
- /** Ref to the rendered group. */
19
- ref?: Ref<HTMLDivElement>;
20
- /** Canonical size applied to every grouped control part. Defaults to `md`. */
21
- size?: ControlSize;
22
- }
23
- /** Props for the native search input part. */
24
- export type SearchFieldInputProps = Omit<TextFieldInputProps, 'type'>;
25
- /** Props for supporting text associated with the search input. */
26
- export type SearchFieldDescriptionProps = TextFieldDescriptionProps;
27
- /** Props for an accessible search validation message. */
28
- export type SearchFieldErrorProps = TextFieldErrorProps;
29
- /** Props for the search clear action. */
30
- export interface SearchFieldClearButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'children' | 'onClick' | 'onClickCapture' | 'style' | 'type'> {
31
- /** Accessible action name. Defaults to the provider's `clear` message. */
32
- 'aria-label'?: string;
33
- /** Optional clear-action content. Defaults to the Breeze close icon. */
34
- children?: ReactNode;
35
- /** Ref to the rendered clear button. */
36
- ref?: Ref<HTMLButtonElement>;
37
- /** Standalone action size. A containing Group takes precedence. Defaults to `md`. */
38
- size?: ControlSize;
39
- }
40
- /** Coordinates accessible query state, submission, clearing, and compound anatomy. */
41
- export declare function Root({ children, className, defaultValue, disabled, invalid, onChange, onClear, onSubmit, readOnly, ref, required, value, ...props }: Readonly<SearchFieldRootProps>): ReactElement;
42
- /** Groups the SearchField input and clear action as one visual control. */
43
- export declare function Group({ className, ref, role, size, ...props }: Readonly<SearchFieldGroupProps>): ReactElement;
44
- /** Renders the native search input for a SearchField. */
45
- export declare function Input({ className, size, ...props }: Readonly<SearchFieldInputProps>): ReactElement;
46
- /** Clears the current SearchField value with pointer or keyboard activation. */
47
- export declare function ClearButton({ 'aria-label': ariaLabel, children, className, ref, size, ...props }: Readonly<SearchFieldClearButtonProps>): ReactElement | null;
48
- /**
49
- * Accessible compound search-query primitive.
50
- *
51
- * @summary labelled search entry with submission and clearing
52
- */
53
- export declare const SearchField: {
54
- /** Query clear action. */
55
- ClearButton: typeof ClearButton;
56
- /** Supporting guidance associated with the search input. */
57
- Description: typeof import("../TextField/TextField").Description;
58
- /** Validation message associated with an invalid search input. */
59
- Error: typeof import("../TextField/TextField").Error;
60
- /** Single-surface input and clear-action composition. */
61
- Group: typeof Group;
62
- /** Native search input. */
63
- Input: typeof Input;
64
- /** Persistent accessible label. */
65
- Label: typeof import("../TextField/TextField").Label;
66
- /** State, submission, and accessibility root. */
67
- Root: typeof Root;
68
- };
69
- export {};
70
- //# sourceMappingURL=SearchField.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SearchField.d.ts","sourceRoot":"","sources":["../../../src/primitives/SearchField/SearchField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EAEpB,cAAc,EACd,YAAY,EACZ,SAAS,EACT,GAAG,EACJ,MAAM,OAAO,CAAC;AAWf,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAEjE,OAAO,EAEL,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACxB,MAAM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,CAAC,EACnB,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,QAAgB,EAChB,OAAe,EACf,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,QAAgB,EAChB,GAAG,EACH,QAAgB,EAChB,KAAK,EACL,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,oBAAoB,CAAC,GAAG,YAAY,CAoB/C;AAED,2EAA2E;AAC3E,wBAAgB,KAAK,CAAC,EACpB,SAAS,EACT,GAAG,EACH,IAAqB,EACrB,IAAW,EACX,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,qBAAqB,CAAC,GAAG,YAAY,CAiBhD;AAED,yDAAyD;AACzD,wBAAgB,KAAK,CAAC,EACpB,SAAS,EACT,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,qBAAqB,CAAC,GAAG,YAAY,CAWhD;AAED,gFAAgF;AAChF,wBAAgB,WAAW,CAAC,EAC1B,YAAY,EAAE,SAAS,EACvB,QAAQ,EACR,SAAS,EACT,GAAG,EACH,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,2BAA2B,CAAC,GAAG,YAAY,GAAG,IAAI,CAyB7D;AAED;;;;GAIG;AACH,eAAO,MAAM,WAAW;IACtB,0BAA0B;;IAE1B,4DAA4D;;IAE5D,kEAAkE;;IAElE,yDAAyD;;IAEzD,2BAA2B;;IAE3B,mCAAmC;;IAEnC,iDAAiD;;CAElD,CAAC"}
@@ -1,110 +0,0 @@
1
- import type { ButtonHTMLAttributes, HTMLAttributes, ReactElement, ReactNode, Ref } from 'react';
2
- import type { ControlSize } from '../../internal/styling/visual';
3
- import type { BreezeCollectionItem, CollectionContentProps, CollectionKey } from '../../internal/types/collection';
4
- import { type ListBoxItemProps } from '../ListBox/ListBox';
5
- import { type TextFieldDescriptionProps, type TextFieldErrorProps, type TextFieldLabelProps } from '../TextField/TextField';
6
- type NativeRoot = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'defaultValue' | 'onChange' | 'style'>;
7
- interface SharedRoot extends NativeRoot {
8
- /** Compound label, trigger, popover, listbox, description, and error parts. */ children: ReactNode;
9
- /** Prevents focus and selection. Defaults to `false`. */ disabled?: boolean;
10
- /** Associates the native form value with an external form. */ form?: string;
11
- /** Exposes invalid state. Defaults to `false`. */ invalid?: boolean;
12
- /** Native form field name. */ name?: string;
13
- /** Placeholder shown before selection. */ placeholder?: string;
14
- /** Marks the select as required. Defaults to `false`. */ required?: boolean;
15
- /** Ref to the rendered field root. */ ref?: Ref<HTMLDivElement>;
16
- }
17
- interface Controlled {
18
- /** Current selected key, or `null` when no option is selected. */
19
- value: CollectionKey | null;
20
- /** Called when the selected key changes. */
21
- onChange: (value: CollectionKey | null) => void;
22
- /** Excluded when value is controlled. */
23
- defaultValue?: never;
24
- /** Controlled mutable state cannot be marked read-only. */
25
- readOnly?: false;
26
- }
27
- interface ReadOnly {
28
- /** Current immutable selected key, or `null` when no option is selected. */
29
- value: CollectionKey | null;
30
- /** Prevents interaction with the controlled value. */
31
- readOnly: true;
32
- /** Excluded when value is controlled. */
33
- defaultValue?: never;
34
- /** Excluded because read-only values cannot change. */
35
- onChange?: never;
36
- }
37
- interface Uncontrolled {
38
- /** Initial selected key. */
39
- defaultValue?: CollectionKey;
40
- /** Called when the selected key changes. */
41
- onChange?: (value: CollectionKey | null) => void;
42
- /** Uncontrolled state cannot be marked read-only. */
43
- readOnly?: false;
44
- /** Excluded when value is uncontrolled. */
45
- value?: never;
46
- }
47
- /** Props for controlled, read-only, or uncontrolled single-value select state. */
48
- export type SelectRootProps = SharedRoot & (Controlled | ReadOnly | Uncontrolled);
49
- /** Props for the visible select label. */ export type SelectLabelProps = TextFieldLabelProps;
50
- /** Props for select supporting text. */ export type SelectDescriptionProps = TextFieldDescriptionProps;
51
- /** Props for a select validation message. */ export type SelectErrorProps = TextFieldErrorProps;
52
- /** Props for the native select trigger button. */
53
- export interface SelectTriggerProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'onClickCapture' | 'style'> {
54
- /** Trigger content. */ children: ReactNode;
55
- /** Ref to the trigger. */ ref?: Ref<HTMLButtonElement>;
56
- /** Canonical control size. Defaults to `md`. */ size?: ControlSize;
57
- }
58
- /** Props for the displayed selected value. */
59
- export interface SelectValueProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'style'> {
60
- /** Optional custom value content. */ children?: ReactNode;
61
- /** Ref to the value element. */ ref?: Ref<HTMLSpanElement>;
62
- }
63
- /** Props for the select popover. */
64
- export interface SelectPopoverProps extends Omit<HTMLAttributes<HTMLElement>, 'style'> {
65
- /** Select listbox content. */ children: ReactNode;
66
- /** Ref to the popover. */ ref?: Ref<HTMLElement>;
67
- }
68
- /** Props for static or generic select options. */
69
- export type SelectListBoxProps<Item extends BreezeCollectionItem = BreezeCollectionItem> = Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'style'> & CollectionContentProps<Item> & {
70
- /** Empty-state content. */ emptyContent?: ReactNode;
71
- /** Ref to the listbox. */ ref?: Ref<HTMLDivElement>;
72
- };
73
- /** Props for one keyed select option. */ export type SelectItemProps = ListBoxItemProps;
74
- /** Coordinates select state, validation, and native form participation. */
75
- export declare function Root({ children, className, defaultValue, disabled, form, invalid, name, onChange, placeholder, readOnly, ref, required, value, ...props }: Readonly<SelectRootProps>): ReactElement;
76
- /** Renders the select trigger button. */
77
- export declare function Trigger({ children, className, ref, size, ...props }: Readonly<SelectTriggerProps>): ReactElement;
78
- /** Renders selected option text or the placeholder. */
79
- export declare function Value({ className, ref, ...props }: Readonly<SelectValueProps>): ReactElement;
80
- /** Positions the select listbox relative to its trigger. */
81
- export declare function Popover({ className, ref, ...props }: Readonly<SelectPopoverProps>): ReactElement;
82
- /** Renders static or typed generic select options. */
83
- export declare function ListBox<Item extends BreezeCollectionItem>({ children, className, emptyContent, items, ref, ...props }: Readonly<SelectListBoxProps<Item>>): ReactElement;
84
- /**
85
- * Accessible compound native-form select primitive.
86
- *
87
- * @summary compact single selection from a keyed option collection
88
- */
89
- export declare const Select: {
90
- /** Supporting guidance associated with the select. */
91
- Description: typeof import("../TextField/TextField").Description;
92
- /** Validation feedback associated with the select. */
93
- Error: typeof import("../TextField/TextField").Error;
94
- /** One keyed option within `Select.ListBox`. */
95
- Item: typeof import("../ListBox/ListBox").Item;
96
- /** Visible label associated with the select trigger. */
97
- Label: typeof import("../TextField/TextField").Label;
98
- /** Static or typed generic option collection. */
99
- ListBox: typeof ListBox;
100
- /** Popup positioned relative to the trigger. */
101
- Popover: typeof Popover;
102
- /** State, validation, and native-form coordination root. */
103
- Root: typeof Root;
104
- /** Button that opens and closes the option popup. */
105
- Trigger: typeof Trigger;
106
- /** Selected option text or placeholder content. */
107
- Value: typeof Value;
108
- };
109
- export {};
110
- //# sourceMappingURL=Select.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/primitives/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EAEpB,cAAc,EACd,YAAY,EACZ,SAAS,EACT,GAAG,EACJ,MAAM,OAAO,CAAC;AAcf,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,KAAK,EACV,oBAAoB,EACpB,sBAAsB,EACtB,aAAa,EACd,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAEL,KAAK,yBAAyB,EAC9B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACzB,MAAM,wBAAwB,CAAC;AAWhC,KAAK,UAAU,GAAG,IAAI,CACpB,cAAc,CAAC,cAAc,CAAC,EAC9B,UAAU,GAAG,cAAc,GAAG,UAAU,GAAG,OAAO,CACnD,CAAC;AACF,UAAU,UAAW,SAAQ,UAAU;IACrC,+EAA+E,CAAC,QAAQ,EAAE,SAAS,CAAC;IACpG,yDAAyD,CAAC,QAAQ,CAAC,EAAE,OAAO,C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MLAttributes, Ref } from 'react';
2
- type SeparatorNativeProps = Omit<HTMLAttributes<HTMLElement>, 'aria-orientation' | 'children' | 'role' | 'style'>;
3
- /** Props for a visual or semantic divider between related regions. */
4
- export interface SeparatorProps extends SeparatorNativeProps {
5
- /** Hides the divider from assistive technology. Defaults to `false`. */
6
- decorative?: boolean;
7
- /** Divider axis. Defaults to `horizontal`. */
8
- orientation?: 'horizontal' | 'vertical';
9
- /** Ref to the rendered HTML element. */
10
- ref?: Ref<HTMLElement>;
11
- /** Visual border emphasis. Defaults to `default`. */
12
- tone?: 'default' | 'strong';
13
- }
14
- /**
15
- * Separates related regions and exposes separator semantics unless marked as
16
- * decorative.
17
- *
18
- * @summary semantic or decorative horizontal and vertical divider
19
- */
20
- export declare function Separator({ className, decorative, orientation, ref, tone, ...props }: Readonly<SeparatorProps>): import("react").DetailedReactHTMLElement<{
21
- dangerouslySetInnerHTML?: {
22
- __html: string | TrustedHTML;
23
- } | undefined;
24
- onCopy?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
25
- onCopyCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
26
- onCut?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
27
- onCutCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
28
- onPaste?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
29
- onPasteCapture?: import("react").ClipboardEventHandler<HTMLElement> | undefined;
30
- onCompositionEnd?: import("react").CompositionEventHandler<HTMLElement> | undefined;
31
- onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLElement> | undefined;
32
- onCompositionStart?: import("react").CompositionEventHandler<HTMLElement> | undefined;
33
- onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLElement> | undefined;
34
- onCompositionUpdate?: import("react").CompositionEventHandler<HTMLElement> | undefined;
35
- onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLElement> | undefined;
36
- onFocus?: import("react").FocusEventHandler<HTMLElement> | undefined;
37
- onFocusCapture?: import("react").FocusEventHandler<HTMLElement> | undefined;
38
- onBlur?: import("react").FocusEventHandler<HTMLElement> | undefined;
39
- onBlurCapture?: import("react").FocusEventHandler<HTMLElement> | undefined;
40
- onChange?: import("react").ChangeEventHandler<HTMLElement, Element> | undefined;
41
- onChangeCapture?: import("react").ChangeEventHandler<HTMLElement, Element> | undefined;
42
- onBeforeInput?: import("react").InputEventHandler<HTMLElement> | undefined;
43
- onBeforeInputCapture?: import("react").InputEventHandler<HTMLElement> | undefined;
44
- onInput?: import("react").InputEventHandler<HTMLElement> | undefined;
45
- onInputCapture?: import("react").InputEventHandler<HTMLElement> | undefined;
46
- onReset?: import("react").ReactEventHandler<HTMLElement> | undefined;
47
- onResetCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
48
- onSubmit?: import("react").SubmitEventHandler<HTMLElement> | undefined;
49
- onSubmitCapture?: import("react").SubmitEventHandler<HTMLElement> | undefined;
50
- onInvalid?: import("react").ReactEventHandler<HTMLElement> | undefined;
51
- onInvalidCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
52
- onLoad?: import("react").ReactEventHandler<HTMLElement> | undefined;
53
- onLoadCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
54
- onError?: import("react").ReactEventHandler<HTMLElement> | undefined;
55
- onErrorCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
56
- onKeyDown?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
57
- onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
58
- onKeyPress?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
59
- onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
60
- onKeyUp?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
61
- onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLElement> | undefined;
62
- onAbort?: import("react").ReactEventHandler<HTMLElement> | undefined;
63
- onAbortCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
64
- onCanPlay?: import("react").ReactEventHandler<HTMLElement> | undefined;
65
- onCanPlayCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
66
- onCanPlayThrough?: import("react").ReactEventHandler<HTMLElement> | undefined;
67
- onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
68
- onDurationChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
69
- onDurationChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
70
- onEmptied?: import("react").ReactEventHandler<HTMLElement> | undefined;
71
- onEmptiedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
72
- onEncrypted?: import("react").ReactEventHandler<HTMLElement> | undefined;
73
- onEncryptedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
74
- onEnded?: import("react").ReactEventHandler<HTMLElement> | undefined;
75
- onEndedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
76
- onLoadedData?: import("react").ReactEventHandler<HTMLElement> | undefined;
77
- onLoadedDataCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
78
- onLoadedMetadata?: import("react").ReactEventHandler<HTMLElement> | undefined;
79
- onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
80
- onLoadStart?: import("react").ReactEventHandler<HTMLElement> | undefined;
81
- onLoadStartCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
82
- onPause?: import("react").ReactEventHandler<HTMLElement> | undefined;
83
- onPauseCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
84
- onPlay?: import("react").ReactEventHandler<HTMLElement> | undefined;
85
- onPlayCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
86
- onPlaying?: import("react").ReactEventHandler<HTMLElement> | undefined;
87
- onPlayingCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
88
- onProgress?: import("react").ReactEventHandler<HTMLElement> | undefined;
89
- onProgressCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
90
- onRateChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
91
- onRateChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
92
- onSeeked?: import("react").ReactEventHandler<HTMLElement> | undefined;
93
- onSeekedCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
94
- onSeeking?: import("react").ReactEventHandler<HTMLElement> | undefined;
95
- onSeekingCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
96
- onStalled?: import("react").ReactEventHandler<HTMLElement> | undefined;
97
- onStalledCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
98
- onSuspend?: import("react").ReactEventHandler<HTMLElement> | undefined;
99
- onSuspendCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
100
- onTimeUpdate?: import("react").ReactEventHandler<HTMLElement> | undefined;
101
- onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
102
- onVolumeChange?: import("react").ReactEventHandler<HTMLElement> | undefined;
103
- onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
104
- onWaiting?: import("react").ReactEventHandler<HTMLElement> | undefined;
105
- onWaitingCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
106
- onAuxClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
107
- onAuxClickCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
108
- onClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
109
- onClickCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
110
- onContextMenu?: import("react").MouseEventHandler<HTMLElement> | undefined;
111
- onContextMenuCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
112
- onDoubleClick?: import("react").MouseEventHandler<HTMLElement> | undefined;
113
- onDoubleClickCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
114
- onDrag?: import("react").DragEventHandler<HTMLElement> | undefined;
115
- onDragCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
116
- onDragEnd?: import("react").DragEventHandler<HTMLElement> | undefined;
117
- onDragEndCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
118
- onDragEnter?: import("react").DragEventHandler<HTMLElement> | undefined;
119
- onDragEnterCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
120
- onDragExit?: import("react").DragEventHandler<HTMLElement> | undefined;
121
- onDragExitCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
122
- onDragLeave?: import("react").DragEventHandler<HTMLElement> | undefined;
123
- onDragLeaveCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
124
- onDragOver?: import("react").DragEventHandler<HTMLElement> | undefined;
125
- onDragOverCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
126
- onDragStart?: import("react").DragEventHandler<HTMLElement> | undefined;
127
- onDragStartCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
128
- onDrop?: import("react").DragEventHandler<HTMLElement> | undefined;
129
- onDropCapture?: import("react").DragEventHandler<HTMLElement> | undefined;
130
- onMouseDown?: import("react").MouseEventHandler<HTMLElement> | undefined;
131
- onMouseDownCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
132
- onMouseEnter?: import("react").MouseEventHandler<HTMLElement> | undefined;
133
- onMouseLeave?: import("react").MouseEventHandler<HTMLElement> | undefined;
134
- onMouseMove?: import("react").MouseEventHandler<HTMLElement> | undefined;
135
- onMouseMoveCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
136
- onMouseOut?: import("react").MouseEventHandler<HTMLElement> | undefined;
137
- onMouseOutCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
138
- onMouseOver?: import("react").MouseEventHandler<HTMLElement> | undefined;
139
- onMouseOverCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
140
- onMouseUp?: import("react").MouseEventHandler<HTMLElement> | undefined;
141
- onMouseUpCapture?: import("react").MouseEventHandler<HTMLElement> | undefined;
142
- onSelect?: import("react").ReactEventHandler<HTMLElement> | undefined;
143
- onSelectCapture?: import("react").ReactEventHandler<HTMLElement> | undefined;
144
- onTouchCancel?: import("react").TouchEventHandler<HTMLElement> | undefined;
145
- onTouchCancelCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
146
- onTouchEnd?: import("react").TouchEventHandler<HTMLElement> | undefined;
147
- onTouchEndCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
148
- onTouchMove?: import("react").TouchEventHandler<HTMLElement> | undefined;
149
- onTouchMoveCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
150
- onTouchStart?: import("react").TouchEventHandler<HTMLElement> | undefined;
151
- onTouchStartCapture?: import("react").TouchEventHandler<HTMLElement> | undefined;
152
- onPointerDown?: import("react").PointerEventHandler<HTMLElement> | undefined;
153
- onPointerDownCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
154
- onPointerMove?: import("react").PointerEventHandler<HTMLElement> | undefined;
155
- onPointerMoveCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
156
- onPointerUp?: import("react").PointerEventHandler<HTMLElement> | undefined;
157
- onPointerUpCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
158
- onPointerCancel?: import("react").PointerEventHandler<HTMLElement> | undefined;
159
- onPointerCancelCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
160
- onPointerEnter?: import("react").PointerEventHandler<HTMLElement> | undefined;
161
- onPointerLeave?: import("react").PointerEventHandler<HTMLElement> | undefined;
162
- onPointerOver?: import("react").PointerEventHandler<HTMLElement> | undefined;
163
- onPointerOverCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
164
- onPointerOut?: import("react").PointerEventHandler<HTMLElement> | undefined;
165
- onPointerOutCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
166
- onGotPointerCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
167
- onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
168
- onLostPointerCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
169
- onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLElement> | undefined;
170
- onScroll?: import("react").UIEventHandler<HTMLElement> | undefined;
171
- onScrollCapture?: import("react").UIEventHandler<HTMLElement> | undefined;
172
- onScrollEnd?: import("react").UIEventHandler<HTMLElement> | undefined;
173
- onScrollEndCapture?: import("react").UIEventHandler<HTMLElement> | undefined;
174
- onWheel?: import("react").WheelEventHandler<HTMLElement> | undefined;
175
- onWheelCapture?: import("react").WheelEventHandler<HTMLElement> | undefined;
176
- onAnimationStart?: import("react").AnimationEventHandler<HTMLElement> | undefined;
177
- onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
178
- onAnimationEnd?: import("react").AnimationEventHandler<HTMLElement> | undefined;
179
- onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
180
- onAnimationIteration?: import("react").AnimationEventHandler<HTMLElement> | undefined;
181
- onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLElement> | undefined;
182
- onToggle?: import("react").ToggleEventHandler<HTMLElement> | undefined;
183
- onBeforeToggle?: import("react").ToggleEventHandler<HTMLElement> | undefined;
184
- onTransitionCancel?: import("react").TransitionEventHandler<HTMLElement> | undefined;
185
- onTransitionCancelCapture?: import("react").TransitionEventHandler<HTMLElement> | undefined;
186
- onTransitionEnd?: import("react").TransitionEventHandler<HTMLElement> | undefined;
187
- onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLElement> | undefined;
188
- onTransitionRun?: import("react").TransitionEventHandler<HTMLElement> | undefined;
189
- onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLElement> | undefined;
190
- onTransitionStart?: import("react").TransitionEventHandler<HTMLElement> | undefined;
191
- onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLElement> | undefined;
192
- "aria-activedescendant"?: string | undefined;
193
- "aria-atomic"?: ("false" | "true" | boolean) | undefined;
194
- "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
195
- "aria-braillelabel"?: string | undefined;
196
- "aria-brailleroledescription"?: string | undefined;
197
- "aria-busy"?: ("false" | "true" | boolean) | undefined;
198
- "aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
199
- "aria-colcount"?: number | undefined;
200
- "aria-colindex"?: number | undefined;
201
- "aria-colindextext"?: string | undefined;
202
- "aria-colspan"?: number | undefined;
203
- "aria-controls"?: string | undefined;
204
- "aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
205
- "aria-describedby"?: string | undefined;
206
- "aria-description"?: string | undefined;
207
- "aria-details"?: string | undefined;
208
- "aria-disabled"?: ("false" | "true" | boolean) | undefined;
209
- "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
210
- "aria-errormessage"?: string | undefined;
211
- "aria-expanded"?: ("false" | "true" | boolean) | undefined;
212
- "aria-flowto"?: string | undefined;
213
- "aria-grabbed"?: ("false" | "true" | boolean) | undefined;
214
- "aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
215
- "aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
216
- "aria-keyshortcuts"?: string | undefined;
217
- "aria-label"?: string | undefined;
218
- "aria-labelledby"?: string | undefined;
219
- "aria-level"?: number | undefined;
220
- "aria-live"?: "off" | "assertive" | "polite" | undefined;
221
- "aria-modal"?: ("false" | "true" | boolean) | undefined;
222
- "aria-multiline"?: ("false" | "true" | boolean) | undefined;
223
- "aria-multiselectable"?: ("false" | "true" | boolean) | undefined;
224
- "aria-owns"?: string | undefined;
225
- "aria-placeholder"?: string | undefined;
226
- "aria-posinset"?: number | undefined;
227
- "aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
228
- "aria-readonly"?: ("false" | "true" | boolean) | undefined;
229
- "aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
230
- "aria-required"?: ("false" | "true" | boolean) | undefined;
231
- "aria-roledescription"?: string | undefined;
232
- "aria-rowcount"?: number | undefined;
233
- "aria-rowindex"?: number | undefined;
234
- "aria-rowindextext"?: string | undefined;
235
- "aria-rowspan"?: number | undefined;
236
- "aria-selected"?: ("false" | "true" | boolean) | undefined;
237
- "aria-setsize"?: number | undefined;
238
- "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
239
- "aria-valuemax"?: number | undefined;
240
- "aria-valuemin"?: number | undefined;
241
- "aria-valuenow"?: number | undefined;
242
- "aria-valuetext"?: string | undefined;
243
- defaultChecked?: boolean | undefined;
244
- defaultValue?: string | number | readonly string[] | undefined;
245
- suppressContentEditableWarning?: boolean | undefined;
246
- suppressHydrationWarning?: boolean | undefined;
247
- accessKey?: string | undefined;
248
- autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
249
- autoFocus?: boolean | undefined;
250
- contentEditable?: ("false" | "true" | boolean) | "inherit" | "plaintext-only" | undefined;
251
- contextMenu?: string | undefined;
252
- dir?: string | undefined;
253
- draggable?: ("false" | "true" | boolean) | undefined;
254
- enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
255
- hidden?: boolean | undefined;
256
- id?: string | undefined;
257
- lang?: string | undefined;
258
- nonce?: string | undefined;
259
- slot?: string | undefined;
260
- spellCheck?: ("false" | "true" | boolean) | undefined;
261
- tabIndex?: number | undefined;
262
- title?: string | undefined;
263
- translate?: "yes" | "no" | undefined;
264
- radioGroup?: string | undefined;
265
- about?: string | undefined;
266
- content?: string | undefined;
267
- datatype?: string | undefined;
268
- inlist?: any;
269
- prefix?: string | undefined;
270
- property?: string | undefined;
271
- rel?: string | undefined;
272
- resource?: string | undefined;
273
- rev?: string | undefined;
274
- typeof?: string | undefined;
275
- vocab?: string | undefined;
276
- autoCorrect?: string | undefined;
277
- autoSave?: string | undefined;
278
- color?: string | undefined;
279
- itemProp?: string | undefined;
280
- itemScope?: boolean | undefined;
281
- itemType?: string | undefined;
282
- itemID?: string | undefined;
283
- itemRef?: string | undefined;
284
- results?: number | undefined;
285
- security?: string | undefined;
286
- unselectable?: "on" | "off" | undefined;
287
- popover?: "" | "auto" | "manual" | "hint" | undefined;
288
- popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
289
- popoverTarget?: string | undefined;
290
- inert?: boolean | undefined;
291
- inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
292
- is?: string | undefined;
293
- exportparts?: string | undefined;
294
- part?: string | undefined;
295
- 'aria-hidden': true | undefined;
296
- 'aria-orientation': "vertical" | undefined;
297
- className: string;
298
- ref: import("react").RefCallback<HTMLElement>;
299
- role: "presentation" | "separator";
300
- }, HTMLElement>;
301
- export {};
302
- //# sourceMappingURL=Separator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Separator.d.ts","sourceRoot":"","sources":["../../../src/primitives/Separator/Separator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAe,cAAc,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAwB9D,KAAK,oBAAoB,GAAG,IAAI,CAC9B,cAAc,CAAC,WAAW,CAAC,EAC3B,kBAAkB,GAAG,UAAU,GAAG,MAAM,GAAG,OAAO,CACnD,CAAC;AAEF,sEAAsE;AACtE,MAAM,WAAW,cAAe,SAAQ,oBAAoB;IAC1D,wEAAwE;IACxE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,8CAA8C;IAC9C,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,wCAAwC;IACxC,GAAG,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC;IACvB,qDAAqD;IACrD,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;CAC7B;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,EACxB,SAAS,EACT,UAAkB,EAClB,WAA0B,EAC1B,GAAG,EACH,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAmB1B"}
@@ -1,27 +0,0 @@
1
- import type { ComponentPropsWithoutRef, ReactElement, Ref } from 'react';
2
- /** Visual shapes supported by a loading skeleton. */
3
- export type SkeletonShape = 'circle' | 'rectangle' | 'text';
4
- /** Semantic surface tones supported by loading placeholders. */
5
- export type SkeletonTone = 'default' | 'inverse' | 'danger';
6
- /** Elements supported by a loading skeleton. */
7
- export type SkeletonElement = 'div' | 'span';
8
- type SkeletonElementNode<Element extends SkeletonElement> = Element extends 'span' ? HTMLSpanElement : HTMLDivElement;
9
- /** Props for a non-announcing visual loading placeholder. */
10
- export type SkeletonProps<Element extends SkeletonElement = 'div'> = Omit<ComponentPropsWithoutRef<Element>, 'children' | 'role' | 'style'> & {
11
- /** Render as a `span` when the placeholder must sit inside text content. */
12
- as?: Element;
13
- /** Ref to the rendered placeholder element. */
14
- ref?: Ref<SkeletonElementNode<Element>>;
15
- /** Placeholder geometry. Defaults to `text`. */
16
- shape?: SkeletonShape;
17
- /** Surface-aware placeholder colour. Defaults to `default`. */
18
- tone?: SkeletonTone;
19
- };
20
- /**
21
- * Reserves loading layout without adding content to the accessibility tree.
22
- *
23
- * @summary non-announcing loading placeholder with canonical shapes
24
- */
25
- export declare function Skeleton<Element extends SkeletonElement = 'div'>({ as, className, ref, shape, tone, ...props }: Readonly<SkeletonProps<Element>>): ReactElement;
26
- export {};
27
- //# sourceMappingURL=Skeleton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/primitives/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AA0BzE,qDAAqD;AACrD,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,WAAW,GAAG,MAAM,CAAC;AAC5D,gEAAgE;AAChE,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AAC5D,gDAAgD;AAChD,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,MAAM,CAAC;AAE7C,KAAK,mBAAmB,CAAC,OAAO,SAAS,eAAe,IACtD,OAAO,SAAS,MAAM,GAAG,eAAe,GAAG,cAAc,CAAC;AAE5D,6DAA6D;AAC7D,MAAM,MAAM,aAAa,CAAC,OAAO,SAAS,eAAe,GAAG,KAAK,IAAI,IAAI,CACvE,wBAAwB,CAAC,OAAO,CAAC,EACjC,UAAU,GAAG,MAAM,GAAG,OAAO,CAC9B,GAAG;IACF,4EAA4E;IAC5E,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,+CAA+C;IAC/C,GAAG,CAAC,EAAE,GAAG,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC,CAAC;IACxC,gDAAgD;IAChD,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,+DAA+D;IAC/D,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,OAAO,SAAS,eAAe,GAAG,KAAK,EAAE,EAChE,EAAE,EACF,SAAS,EACT,GAAG,EACH,KAAc,EACd,IAAgB,EAChB,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,GAAG,YAAY,CAajD"}
@@ -1,21 +0,0 @@
1
- import type { ReactElement, ReactNode, Ref } from 'react';
2
- import type { NativeLinkProps } from '../../internal/types/native';
3
- /** Props for the keyboard-first link that bypasses repeated page chrome. */
4
- export interface SkipLinkProps extends NativeLinkProps {
5
- /** Accessible link content. */
6
- children: ReactNode;
7
- /** Placement and composition classes. */
8
- className?: string;
9
- /** Ref to the rendered anchor. */
10
- ref?: Ref<HTMLAnchorElement>;
11
- /** Id of the focusable main content target, without a leading hash. */
12
- targetId: string;
13
- }
14
- /**
15
- * Reveals a native fragment link on focus so keyboard users can bypass
16
- * repeated content.
17
- *
18
- * @summary focus-revealed bypass link to a main-content target
19
- */
20
- export declare function SkipLink({ children, className, ref, targetId, ...props }: Readonly<SkipLinkProps>): ReactElement;
21
- //# sourceMappingURL=SkipLink.d.ts.map