@motech-development/breeze-ui 2.3.1 → 3.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 (248) hide show
  1. package/dist/Cabin-LICENSE.txt +93 -0
  2. package/dist/assets/cabin-latin-wght-normal-DZW_uTKI.woff2 +0 -0
  3. package/dist/formatting/FormattedDateTime/FormattedDateTime.d.ts +17 -0
  4. package/dist/formatting/FormattedDateTime/FormattedDateTime.d.ts.map +1 -0
  5. package/dist/formatting/FormattedList/FormattedList.d.ts +17 -0
  6. package/dist/formatting/FormattedList/FormattedList.d.ts.map +1 -0
  7. package/dist/formatting/FormattedNumber/FormattedNumber.d.ts +17 -0
  8. package/dist/formatting/FormattedNumber/FormattedNumber.d.ts.map +1 -0
  9. package/dist/formatting/RelativeTime/RelativeTime.d.ts +21 -0
  10. package/dist/formatting/RelativeTime/RelativeTime.d.ts.map +1 -0
  11. package/dist/icons/index.d.ts +77 -0
  12. package/dist/icons/index.d.ts.map +1 -0
  13. package/dist/icons.js +27 -0
  14. package/dist/index.d.ts +100 -0
  15. package/dist/index.d.ts.map +1 -0
  16. package/dist/index.js +5759 -0
  17. package/dist/internal/collections/VirtualizedCollection.d.ts +15 -0
  18. package/dist/internal/collections/VirtualizedCollection.d.ts.map +1 -0
  19. package/dist/internal/collections/useCollectionEmptyContent.d.ts +3 -0
  20. package/dist/internal/collections/useCollectionEmptyContent.d.ts.map +1 -0
  21. package/dist/internal/collections/useLoadMoreHandler.d.ts +7 -0
  22. package/dist/internal/collections/useLoadMoreHandler.d.ts.map +1 -0
  23. package/dist/internal/date/conversion.d.ts +16 -0
  24. package/dist/internal/date/conversion.d.ts.map +1 -0
  25. package/dist/internal/files/validation.d.ts +17 -0
  26. package/dist/internal/files/validation.d.ts.map +1 -0
  27. package/dist/internal/hooks/useForwardedRef.d.ts +3 -0
  28. package/dist/internal/hooks/useForwardedRef.d.ts.map +1 -0
  29. package/dist/internal/react-aria/DisclosureParts.d.ts +27 -0
  30. package/dist/internal/react-aria/DisclosureParts.d.ts.map +1 -0
  31. package/dist/internal/react-aria/OverlayParts.d.ts +55 -0
  32. package/dist/internal/react-aria/OverlayParts.d.ts.map +1 -0
  33. package/dist/internal/react-aria/renderNativeButton.d.ts +6 -0
  34. package/dist/internal/react-aria/renderNativeButton.d.ts.map +1 -0
  35. package/dist/internal/styling/actions.d.ts +72 -0
  36. package/dist/internal/styling/actions.d.ts.map +1 -0
  37. package/dist/internal/styling/formControls.d.ts +23 -0
  38. package/dist/internal/styling/formControls.d.ts.map +1 -0
  39. package/dist/internal/styling/layout.d.ts +108 -0
  40. package/dist/internal/styling/layout.d.ts.map +1 -0
  41. package/dist/internal/styling/responsive.d.ts +22 -0
  42. package/dist/internal/styling/responsive.d.ts.map +1 -0
  43. package/dist/internal/styling/visual.d.ts +7 -0
  44. package/dist/internal/styling/visual.d.ts.map +1 -0
  45. package/dist/internal/types/collection.d.ts +60 -0
  46. package/dist/internal/types/collection.d.ts.map +1 -0
  47. package/dist/internal/types/date.d.ts +8 -0
  48. package/dist/internal/types/date.d.ts.map +1 -0
  49. package/dist/internal/types/file.d.ts +21 -0
  50. package/dist/internal/types/file.d.ts.map +1 -0
  51. package/dist/internal/types/native.d.ts +8 -0
  52. package/dist/internal/types/native.d.ts.map +1 -0
  53. package/dist/patterns/ApplicationShell/ApplicationShell.d.ts +32 -0
  54. package/dist/patterns/ApplicationShell/ApplicationShell.d.ts.map +1 -0
  55. package/dist/patterns/ButtonGroup/ButtonGroup.d.ts +20 -0
  56. package/dist/patterns/ButtonGroup/ButtonGroup.d.ts.map +1 -0
  57. package/dist/patterns/ConfirmationDialog/ConfirmationDialog.d.ts +58 -0
  58. package/dist/patterns/ConfirmationDialog/ConfirmationDialog.d.ts.map +1 -0
  59. package/dist/patterns/ContextSwitcher/ContextSwitcher.d.ts +42 -0
  60. package/dist/patterns/ContextSwitcher/ContextSwitcher.d.ts.map +1 -0
  61. package/dist/patterns/FileAttachment/FileAttachment.d.ts +17 -0
  62. package/dist/patterns/FileAttachment/FileAttachment.d.ts.map +1 -0
  63. package/dist/patterns/FileUpload/FileUpload.d.ts +35 -0
  64. package/dist/patterns/FileUpload/FileUpload.d.ts.map +1 -0
  65. package/dist/patterns/FormActions/FormActions.d.ts +25 -0
  66. package/dist/patterns/FormActions/FormActions.d.ts.map +1 -0
  67. package/dist/patterns/FormSection/FormSection.d.ts +31 -0
  68. package/dist/patterns/FormSection/FormSection.d.ts.map +1 -0
  69. package/dist/patterns/MetricCard/MetricCard.d.ts +28 -0
  70. package/dist/patterns/MetricCard/MetricCard.d.ts.map +1 -0
  71. package/dist/patterns/NavigationSection/NavigationSection.d.ts +17 -0
  72. package/dist/patterns/NavigationSection/NavigationSection.d.ts.map +1 -0
  73. package/dist/patterns/PageHeader/PageHeader.d.ts +21 -0
  74. package/dist/patterns/PageHeader/PageHeader.d.ts.map +1 -0
  75. package/dist/patterns/Pagination/Pagination.d.ts +23 -0
  76. package/dist/patterns/Pagination/Pagination.d.ts.map +1 -0
  77. package/dist/patterns/PasswordField/PasswordField.d.ts +58 -0
  78. package/dist/patterns/PasswordField/PasswordField.d.ts.map +1 -0
  79. package/dist/patterns/SectionHeader/SectionHeader.d.ts +21 -0
  80. package/dist/patterns/SectionHeader/SectionHeader.d.ts.map +1 -0
  81. package/dist/patterns/SegmentedControl/SegmentedControl.d.ts +56 -0
  82. package/dist/patterns/SegmentedControl/SegmentedControl.d.ts.map +1 -0
  83. package/dist/patterns/StatePanel/StatePanel.d.ts +25 -0
  84. package/dist/patterns/StatePanel/StatePanel.d.ts.map +1 -0
  85. package/dist/patterns/UserMenu/UserMenu.d.ts +45 -0
  86. package/dist/patterns/UserMenu/UserMenu.d.ts.map +1 -0
  87. package/dist/primitives/Accordion/Accordion.d.ts +76 -0
  88. package/dist/primitives/Accordion/Accordion.d.ts.map +1 -0
  89. package/dist/primitives/Alert/Alert.d.ts +23 -0
  90. package/dist/primitives/Alert/Alert.d.ts.map +1 -0
  91. package/dist/primitives/AlertDialog/AlertDialog.d.ts +63 -0
  92. package/dist/primitives/AlertDialog/AlertDialog.d.ts.map +1 -0
  93. package/dist/primitives/Avatar/Avatar.d.ts +308 -0
  94. package/dist/primitives/Avatar/Avatar.d.ts.map +1 -0
  95. package/dist/primitives/Badge/Badge.d.ts +299 -0
  96. package/dist/primitives/Badge/Badge.d.ts.map +1 -0
  97. package/dist/primitives/Breadcrumbs/Breadcrumbs.d.ts +40 -0
  98. package/dist/primitives/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
  99. package/dist/primitives/Button/Button.d.ts +36 -0
  100. package/dist/primitives/Button/Button.d.ts.map +1 -0
  101. package/dist/primitives/Calendar/Calendar.d.ts +61 -0
  102. package/dist/primitives/Calendar/Calendar.d.ts.map +1 -0
  103. package/dist/primitives/Card/Card.d.ts +63 -0
  104. package/dist/primitives/Card/Card.d.ts.map +1 -0
  105. package/dist/primitives/Center/Center.d.ts +295 -0
  106. package/dist/primitives/Center/Center.d.ts.map +1 -0
  107. package/dist/primitives/Checkbox/Checkbox.d.ts +106 -0
  108. package/dist/primitives/Checkbox/Checkbox.d.ts.map +1 -0
  109. package/dist/primitives/CheckboxGroup/CheckboxGroup.d.ts +76 -0
  110. package/dist/primitives/CheckboxGroup/CheckboxGroup.d.ts.map +1 -0
  111. package/dist/primitives/ComboBox/ComboBox.d.ts +174 -0
  112. package/dist/primitives/ComboBox/ComboBox.d.ts.map +1 -0
  113. package/dist/primitives/Container/Container.d.ts +296 -0
  114. package/dist/primitives/Container/Container.d.ts.map +1 -0
  115. package/dist/primitives/DateField/DateField.d.ts +87 -0
  116. package/dist/primitives/DateField/DateField.d.ts.map +1 -0
  117. package/dist/primitives/DatePicker/DatePicker.d.ts +74 -0
  118. package/dist/primitives/DatePicker/DatePicker.d.ts.map +1 -0
  119. package/dist/primitives/DateRangePicker/DateRangePicker.d.ts +116 -0
  120. package/dist/primitives/DateRangePicker/DateRangePicker.d.ts.map +1 -0
  121. package/dist/primitives/DateTimePicker/DateTimePicker.d.ts +93 -0
  122. package/dist/primitives/DateTimePicker/DateTimePicker.d.ts.map +1 -0
  123. package/dist/primitives/DescriptionList/DescriptionList.d.ts +45 -0
  124. package/dist/primitives/DescriptionList/DescriptionList.d.ts.map +1 -0
  125. package/dist/primitives/Dialog/Dialog.d.ts +56 -0
  126. package/dist/primitives/Dialog/Dialog.d.ts.map +1 -0
  127. package/dist/primitives/Disclosure/Disclosure.d.ts +59 -0
  128. package/dist/primitives/Disclosure/Disclosure.d.ts.map +1 -0
  129. package/dist/primitives/Drawer/Drawer.d.ts +87 -0
  130. package/dist/primitives/Drawer/Drawer.d.ts.map +1 -0
  131. package/dist/primitives/DropZone/DropZone.d.ts +85 -0
  132. package/dist/primitives/DropZone/DropZone.d.ts.map +1 -0
  133. package/dist/primitives/Fieldset/Fieldset.d.ts +57 -0
  134. package/dist/primitives/Fieldset/Fieldset.d.ts.map +1 -0
  135. package/dist/primitives/FileTrigger/FileTrigger.d.ts +72 -0
  136. package/dist/primitives/FileTrigger/FileTrigger.d.ts.map +1 -0
  137. package/dist/primitives/Grid/Grid.d.ts +307 -0
  138. package/dist/primitives/Grid/Grid.d.ts.map +1 -0
  139. package/dist/primitives/GridList/GridList.d.ts +131 -0
  140. package/dist/primitives/GridList/GridList.d.ts.map +1 -0
  141. package/dist/primitives/IconButton/IconButton.d.ts +37 -0
  142. package/dist/primitives/IconButton/IconButton.d.ts.map +1 -0
  143. package/dist/primitives/IconTile/IconTile.d.ts +312 -0
  144. package/dist/primitives/IconTile/IconTile.d.ts.map +1 -0
  145. package/dist/primitives/Inline/Inline.d.ts +302 -0
  146. package/dist/primitives/Inline/Inline.d.ts.map +1 -0
  147. package/dist/primitives/InputGroup/InputGroup.d.ts +36 -0
  148. package/dist/primitives/InputGroup/InputGroup.d.ts.map +1 -0
  149. package/dist/primitives/Link/Link.d.ts +28 -0
  150. package/dist/primitives/Link/Link.d.ts.map +1 -0
  151. package/dist/primitives/LinkButton/LinkButton.d.ts +31 -0
  152. package/dist/primitives/LinkButton/LinkButton.d.ts.map +1 -0
  153. package/dist/primitives/List/List.d.ts +29 -0
  154. package/dist/primitives/List/List.d.ts.map +1 -0
  155. package/dist/primitives/ListBox/ListBox.d.ts +102 -0
  156. package/dist/primitives/ListBox/ListBox.d.ts.map +1 -0
  157. package/dist/primitives/Logo/Logo.d.ts +292 -0
  158. package/dist/primitives/Logo/Logo.d.ts.map +1 -0
  159. package/dist/primitives/Menu/Menu.d.ts +151 -0
  160. package/dist/primitives/Menu/Menu.d.ts.map +1 -0
  161. package/dist/primitives/Meter/Meter.d.ts +28 -0
  162. package/dist/primitives/Meter/Meter.d.ts.map +1 -0
  163. package/dist/primitives/NavigationList/NavigationList.d.ts +44 -0
  164. package/dist/primitives/NavigationList/NavigationList.d.ts.map +1 -0
  165. package/dist/primitives/NumberField/NumberField.d.ts +118 -0
  166. package/dist/primitives/NumberField/NumberField.d.ts.map +1 -0
  167. package/dist/primitives/Popover/Popover.d.ts +61 -0
  168. package/dist/primitives/Popover/Popover.d.ts.map +1 -0
  169. package/dist/primitives/ProgressBar/ProgressBar.d.ts +41 -0
  170. package/dist/primitives/ProgressBar/ProgressBar.d.ts.map +1 -0
  171. package/dist/primitives/RadioGroup/RadioGroup.d.ts +131 -0
  172. package/dist/primitives/RadioGroup/RadioGroup.d.ts.map +1 -0
  173. package/dist/primitives/RangeCalendar/RangeCalendar.d.ts +57 -0
  174. package/dist/primitives/RangeCalendar/RangeCalendar.d.ts.map +1 -0
  175. package/dist/primitives/SearchField/SearchField.d.ts +70 -0
  176. package/dist/primitives/SearchField/SearchField.d.ts.map +1 -0
  177. package/dist/primitives/Select/Select.d.ts +110 -0
  178. package/dist/primitives/Select/Select.d.ts.map +1 -0
  179. package/dist/primitives/Separator/Separator.d.ts +302 -0
  180. package/dist/primitives/Separator/Separator.d.ts.map +1 -0
  181. package/dist/primitives/Skeleton/Skeleton.d.ts +27 -0
  182. package/dist/primitives/Skeleton/Skeleton.d.ts.map +1 -0
  183. package/dist/primitives/SkipLink/SkipLink.d.ts +21 -0
  184. package/dist/primitives/SkipLink/SkipLink.d.ts.map +1 -0
  185. package/dist/primitives/Slider/Slider.d.ts +148 -0
  186. package/dist/primitives/Slider/Slider.d.ts.map +1 -0
  187. package/dist/primitives/Spinner/Spinner.d.ts +23 -0
  188. package/dist/primitives/Spinner/Spinner.d.ts.map +1 -0
  189. package/dist/primitives/Stack/Stack.d.ts +300 -0
  190. package/dist/primitives/Stack/Stack.d.ts.map +1 -0
  191. package/dist/primitives/Stepper/Stepper.d.ts +42 -0
  192. package/dist/primitives/Stepper/Stepper.d.ts.map +1 -0
  193. package/dist/primitives/Surface/Surface.d.ts +306 -0
  194. package/dist/primitives/Surface/Surface.d.ts.map +1 -0
  195. package/dist/primitives/Switch/Switch.d.ts +118 -0
  196. package/dist/primitives/Switch/Switch.d.ts.map +1 -0
  197. package/dist/primitives/Table/Table.d.ts +226 -0
  198. package/dist/primitives/Table/Table.d.ts.map +1 -0
  199. package/dist/primitives/Tabs/Tabs.d.ts +105 -0
  200. package/dist/primitives/Tabs/Tabs.d.ts.map +1 -0
  201. package/dist/primitives/Tag/Tag.d.ts +18 -0
  202. package/dist/primitives/Tag/Tag.d.ts.map +1 -0
  203. package/dist/primitives/TagGroup/TagGroup.d.ts +60 -0
  204. package/dist/primitives/TagGroup/TagGroup.d.ts.map +1 -0
  205. package/dist/primitives/TextArea/TextArea.d.ts +40 -0
  206. package/dist/primitives/TextArea/TextArea.d.ts.map +1 -0
  207. package/dist/primitives/TextField/TextField.d.ts +102 -0
  208. package/dist/primitives/TextField/TextField.d.ts.map +1 -0
  209. package/dist/primitives/TimeField/TimeField.d.ts +58 -0
  210. package/dist/primitives/TimeField/TimeField.d.ts.map +1 -0
  211. package/dist/primitives/Toast/Toast.d.ts +88 -0
  212. package/dist/primitives/Toast/Toast.d.ts.map +1 -0
  213. package/dist/primitives/ToggleButton/ToggleButton.d.ts +55 -0
  214. package/dist/primitives/ToggleButton/ToggleButton.d.ts.map +1 -0
  215. package/dist/primitives/ToggleGroup/ToggleGroup.d.ts +48 -0
  216. package/dist/primitives/ToggleGroup/ToggleGroup.d.ts.map +1 -0
  217. package/dist/primitives/Toolbar/Toolbar.d.ts +17 -0
  218. package/dist/primitives/Toolbar/Toolbar.d.ts.map +1 -0
  219. package/dist/primitives/Tooltip/Tooltip.d.ts +66 -0
  220. package/dist/primitives/Tooltip/Tooltip.d.ts.map +1 -0
  221. package/dist/primitives/Typography/Typography.d.ts +317 -0
  222. package/dist/primitives/Typography/Typography.d.ts.map +1 -0
  223. package/dist/primitives/VisuallyHidden/VisuallyHidden.d.ts +294 -0
  224. package/dist/primitives/VisuallyHidden/VisuallyHidden.d.ts.map +1 -0
  225. package/dist/primitives/date/CalendarParts.d.ts +26 -0
  226. package/dist/primitives/date/CalendarParts.d.ts.map +1 -0
  227. package/dist/primitives/date/DateInput.d.ts +9 -0
  228. package/dist/primitives/date/DateInput.d.ts.map +1 -0
  229. package/dist/primitives/date/PickerFieldParts.d.ts +11 -0
  230. package/dist/primitives/date/PickerFieldParts.d.ts.map +1 -0
  231. package/dist/primitives/date/PickerParts.d.ts +29 -0
  232. package/dist/primitives/date/PickerParts.d.ts.map +1 -0
  233. package/dist/primitives/file/FileFeedback.d.ts +14 -0
  234. package/dist/primitives/file/FileFeedback.d.ts.map +1 -0
  235. package/dist/provider/BreezeContext.d.ts +19 -0
  236. package/dist/provider/BreezeContext.d.ts.map +1 -0
  237. package/dist/provider/BreezeProvider.d.ts +30 -0
  238. package/dist/provider/BreezeProvider.d.ts.map +1 -0
  239. package/dist/provider/messages.d.ts +43 -0
  240. package/dist/provider/messages.d.ts.map +1 -0
  241. package/dist/reset.css +2 -0
  242. package/dist/styles.css +2 -0
  243. package/package.json +63 -91
  244. package/lib/index.cjs.js +0 -2900
  245. package/lib/index.cjs.js.map +0 -1
  246. package/lib/index.d.ts +0 -489
  247. package/lib/index.esm.js +0 -2846
  248. package/lib/index.esm.js.map +0 -1
@@ -0,0 +1,20 @@
1
+ import type { HTMLAttributes, ReactElement, ReactNode, Ref } from 'react';
2
+ import type { ResponsiveValue } from '../../internal/styling/responsive';
3
+ /** Props for a related set of application actions. */
4
+ export interface ButtonGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, 'style'> {
5
+ /** Horizontal alignment. Defaults to `start`. */
6
+ align?: 'start' | 'center' | 'end' | 'spaceBetween';
7
+ /** Related Button, LinkButton, or IconButton children. */
8
+ children: ReactNode;
9
+ /** Responsive action-flow direction. Defaults to `horizontal`. */
10
+ orientation?: ResponsiveValue<'horizontal' | 'vertical' | 'verticalReverse'>;
11
+ /** Ref to the rendered group. */
12
+ ref?: Ref<HTMLDivElement>;
13
+ }
14
+ /**
15
+ * Arranges semantically related actions with responsive flow.
16
+ *
17
+ * @summary responsive visual grouping for related application actions
18
+ */
19
+ export declare function ButtonGroup({ align, className, orientation, ref, ...props }: Readonly<ButtonGroupProps>): ReactElement;
20
+ //# sourceMappingURL=ButtonGroup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../../src/patterns/ButtonGroup/ButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAI1E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAwCzE,sDAAsD;AACtD,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IACrD,iDAAiD;IACjD,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,cAAc,CAAC;IACpD,0DAA0D;IAC1D,QAAQ,EAAE,SAAS,CAAC;IACpB,kEAAkE;IAClE,WAAW,CAAC,EAAE,eAAe,CAAC,YAAY,GAAG,UAAU,GAAG,iBAAiB,CAAC,CAAC;IAC7E,iCAAiC;IACjC,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;CAC3B;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,SAAS,EACT,WAA0B,EAC1B,GAAG,EACH,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,gBAAgB,CAAC,GAAG,YAAY,CAe3C"}
@@ -0,0 +1,58 @@
1
+ import type { ReactElement, ReactNode } from 'react';
2
+ import type { VisualAppearance } from '../../internal/styling/visual';
3
+ interface ConfirmationDialogSharedProps {
4
+ /** Visible label for the non-confirming close action. */
5
+ cancelLabel: ReactNode;
6
+ /** Accessible label for the icon-only header close action. */
7
+ closeLabel: string;
8
+ /** Visible label for the confirming action. */
9
+ confirmLabel: ReactNode;
10
+ /** Consequence or decision context announced by the dialog. */
11
+ description: ReactNode;
12
+ /** Prevents the confirming action. Defaults to `false`. */
13
+ disabled?: boolean;
14
+ /** Reports the explicit confirming decision. */
15
+ onConfirm: () => void;
16
+ /** Dialog heading. */
17
+ title: ReactNode;
18
+ /** Semantic action content that opens the dialog. */
19
+ trigger: ReactNode;
20
+ /** Visual treatment for the trigger. Defaults to `solid`. */
21
+ triggerAppearance?: VisualAppearance;
22
+ /** Semantic confirming action colour. Defaults to `danger`. */
23
+ variant?: 'danger' | 'warning' | 'primary';
24
+ }
25
+ interface ControlledConfirmationDialogProps {
26
+ /** Current open state. */
27
+ open: boolean;
28
+ /** Called with the next open state. */
29
+ onOpenChange: (open: boolean) => void;
30
+ defaultOpen?: never;
31
+ readOnly?: false;
32
+ }
33
+ interface ReadOnlyConfirmationDialogProps {
34
+ /** Current immutable open state. */
35
+ open: boolean;
36
+ /** Marks controlled state as intentionally immutable. */
37
+ readOnly: true;
38
+ defaultOpen?: never;
39
+ onOpenChange?: never;
40
+ }
41
+ interface UncontrolledConfirmationDialogProps {
42
+ /** Initial open state. Defaults to `false`. */
43
+ defaultOpen?: boolean;
44
+ /** Called with the next open state. */
45
+ onOpenChange?: (open: boolean) => void;
46
+ open?: never;
47
+ readOnly?: false;
48
+ }
49
+ /** Props for a controlled, read-only, or uncontrolled confirmation dialog. */
50
+ export type ConfirmationDialogProps = ConfirmationDialogSharedProps & (ControlledConfirmationDialogProps | ReadOnlyConfirmationDialogProps | UncontrolledConfirmationDialogProps);
51
+ /**
52
+ * Presents a focused explicit decision while retaining focus restoration.
53
+ *
54
+ * @summary consequential decision pattern with safe initial focus
55
+ */
56
+ export declare function ConfirmationDialog({ cancelLabel, closeLabel, confirmLabel, defaultOpen, description, disabled, onConfirm, onOpenChange, open, readOnly, title, trigger, triggerAppearance, variant, }: Readonly<ConfirmationDialogProps>): ReactElement;
57
+ export {};
58
+ //# sourceMappingURL=ConfirmationDialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfirmationDialog.d.ts","sourceRoot":"","sources":["../../../src/patterns/ConfirmationDialog/ConfirmationDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAItE,UAAU,6BAA6B;IACrC,yDAAyD;IACzD,WAAW,EAAE,SAAS,CAAC;IACvB,8DAA8D;IAC9D,UAAU,EAAE,MAAM,CAAC;IACnB,+CAA+C;IAC/C,YAAY,EAAE,SAAS,CAAC;IACxB,+DAA+D;IAC/D,WAAW,EAAE,SAAS,CAAC;IACvB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gDAAgD;IAChD,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,sBAAsB;IACtB,KAAK,EAAE,SAAS,CAAC;IACjB,qDAAqD;IACrD,OAAO,EAAE,SAAS,CAAC;IACnB,6DAA6D;IAC7D,iBAAiB,CAAC,EAAE,gBAAgB,CAAC;IACrC,+DAA+D;IAC/D,OAAO,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;CAC5C;AAED,UAAU,iCAAiC;IACzC,0BAA0B;IAC1B,IAAI,EAAE,OAAO,CAAC;IACd,uCAAuC;IACvC,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB;AAED,UAAU,+BAA+B;IACvC,oCAAoC;IACpC,IAAI,EAAE,OAAO,CAAC;IACd,yDAAyD;IACzD,QAAQ,EAAE,IAAI,CAAC;IACf,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,YAAY,CAAC,EAAE,KAAK,CAAC;CACtB;AAED,UAAU,mCAAmC;IAC3C,+CAA+C;IAC/C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,uCAAuC;IACvC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB;AAED,8EAA8E;AAC9E,MAAM,MAAM,uBAAuB,GAAG,6BAA6B,GACjE,CACI,iCAAiC,GACjC,+BAA+B,GAC/B,mCAAmC,CACtC,CAAC;AAEJ;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,WAAW,EACX,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,QAAgB,EAChB,SAAS,EACT,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,OAAO,EACP,iBAAiB,EACjB,OAAkB,GACnB,EAAE,QAAQ,CAAC,uBAAuB,CAAC,GAAG,YAAY,CAkFlD"}
@@ -0,0 +1,42 @@
1
+ import type { ReactElement, ReactNode } from 'react';
2
+ /** One application-owned context available for selection. */
3
+ export interface ContextSwitcherItem {
4
+ /** Optional supporting identifier or description. */
5
+ description?: ReactNode;
6
+ /** Prevents selection. Defaults to `false`. */
7
+ disabled?: boolean;
8
+ /** Optional visual context marker. */
9
+ icon?: ReactNode;
10
+ /** Stable context key. */
11
+ id: string;
12
+ /** Visible and typeahead-readable context name. */
13
+ name: string;
14
+ }
15
+ /** Props for switching one visible application context. */
16
+ export interface ContextSwitcherProps {
17
+ /** Accessible name for the menu trigger. */
18
+ 'aria-label': string;
19
+ /** Current selected context key, or `null` when selection is required. */
20
+ currentId: string | null;
21
+ /** Optional visual marker shown when selection is required. */
22
+ emptyIcon?: ReactNode;
23
+ /** Application-owned prompt shown when selection is required. */
24
+ emptyName?: ReactNode;
25
+ /** Ordered application-owned contexts. */
26
+ items: readonly ContextSwitcherItem[];
27
+ /** Optional label for a management action after the contexts. */
28
+ manageLabel?: string;
29
+ /** Called when the optional management action is selected. */
30
+ onManage?: () => void;
31
+ /** Called with the next selected context key. */
32
+ onChange: (id: string) => void;
33
+ /** Short text describing the selected context role. */
34
+ triggerLabel?: ReactNode;
35
+ }
36
+ /**
37
+ * Switches one application-owned context through a keyboard-complete menu.
38
+ *
39
+ * @summary controlled application-context selection menu
40
+ */
41
+ export declare function ContextSwitcher({ 'aria-label': ariaLabel, currentId, emptyIcon, emptyName, items, manageLabel, onChange, onManage, triggerLabel, }: Readonly<ContextSwitcherProps>): ReactElement;
42
+ //# sourceMappingURL=ContextSwitcher.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContextSwitcher.d.ts","sourceRoot":"","sources":["../../../src/patterns/ContextSwitcher/ContextSwitcher.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,6DAA6D;AAC7D,MAAM,WAAW,mBAAmB;IAClC,qDAAqD;IACrD,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,sCAAsC;IACtC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,0BAA0B;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,mDAAmD;IACnD,IAAI,EAAE,MAAM,CAAC;CACd;AAED,2DAA2D;AAC3D,MAAM,WAAW,oBAAoB;IACnC,4CAA4C;IAC5C,YAAY,EAAE,MAAM,CAAC;IACrB,0EAA0E;IAC1E,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,+DAA+D;IAC/D,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,iEAAiE;IACjE,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,0CAA0C;IAC1C,KAAK,EAAE,SAAS,mBAAmB,EAAE,CAAC;IACtC,iEAAiE;IACjE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,iDAAiD;IACjD,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/B,uDAAuD;IACvD,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,EAC9B,YAAY,EAAE,SAAS,EACvB,SAAS,EACT,SAAS,EACT,SAAS,EACT,KAAK,EACL,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,YAAY,GACb,EAAE,QAAQ,CAAC,oBAAoB,CAAC,GAAG,YAAY,CA8E/C"}
@@ -0,0 +1,17 @@
1
+ import type { HTMLAttributes, ReactElement, ReactNode, Ref } from 'react';
2
+ /** Props for a selected file with persistent application-owned actions. */
3
+ export interface FileAttachmentProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'style'> {
4
+ /** View, replace, download, or removal actions owned by the application. */
5
+ actions: ReactNode;
6
+ /** Persistent visible file name. */
7
+ name: ReactNode;
8
+ /** Ref to the rendered attachment row. */
9
+ ref?: Ref<HTMLDivElement>;
10
+ }
11
+ /**
12
+ * Presents a selected file and its actions with canonical responsive geometry.
13
+ *
14
+ * @summary responsive selected-file row with application-owned actions
15
+ */
16
+ export declare function FileAttachment({ actions, className, name, ref, ...props }: Readonly<FileAttachmentProps>): ReactElement;
17
+ //# sourceMappingURL=FileAttachment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileAttachment.d.ts","sourceRoot":"","sources":["../../../src/patterns/FileAttachment/FileAttachment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAM1E,2EAA2E;AAC3E,MAAM,WAAW,mBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;IAClE,4EAA4E;IAC5E,OAAO,EAAE,SAAS,CAAC;IACnB,oCAAoC;IACpC,IAAI,EAAE,SAAS,CAAC;IAChB,0CAA0C;IAC1C,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;CAC3B;AAOD;;;;GAIG;AACH,wBAAgB,cAAc,CAAC,EAC7B,OAAO,EACP,SAAS,EACT,IAAI,EACJ,GAAG,EACH,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,mBAAmB,CAAC,GAAG,YAAY,CAwB9C"}
@@ -0,0 +1,35 @@
1
+ import type { ReactElement, ReactNode } from 'react';
2
+ import type { FileRejection } from '../../internal/types/file';
3
+ /** Props for an accessible browse-and-drop file selection surface. */
4
+ export interface FileUploadProps {
5
+ /** Accepted MIME types, wildcard MIME groups, or extensions. */
6
+ acceptedFileTypes?: readonly string[];
7
+ /** Allows more than one file. Defaults to `false`. */
8
+ allowsMultiple?: boolean;
9
+ /** Visible label for the browse action. */
10
+ browseLabel: ReactNode;
11
+ /** Prevents browse and drop interaction. Defaults to `false`. */
12
+ disabled?: boolean;
13
+ /** Supporting accepted-file or workflow guidance. */
14
+ guidance?: ReactNode;
15
+ /** Exposes invalid state and error association. Defaults to `false`. */
16
+ invalid?: boolean;
17
+ /** Persistent visible drop-zone label. */
18
+ label: ReactNode;
19
+ /** Maximum accepted file size in bytes. */
20
+ maxFileSize?: number;
21
+ /** Called with files selected through browse or drop. */
22
+ onFiles: (files: File[]) => void;
23
+ /** Called with files rejected by Breeze constraints. */
24
+ onReject?: (rejections: FileRejection[]) => void;
25
+ /** Selected files owned by the application and presented as feedback. */
26
+ selectedFiles?: readonly File[];
27
+ }
28
+ /**
29
+ * Selects files through browse or drop while leaving upload transport
30
+ * application-owned.
31
+ *
32
+ * @summary accessible browse-and-drop file selection with persistent feedback
33
+ */
34
+ export declare function FileUpload({ acceptedFileTypes, allowsMultiple, browseLabel, disabled, guidance, invalid, label, maxFileSize, onFiles, onReject, selectedFiles, }: Readonly<FileUploadProps>): ReactElement;
35
+ //# sourceMappingURL=FileUpload.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FileUpload.d.ts","sourceRoot":"","sources":["../../../src/patterns/FileUpload/FileUpload.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGrD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAI/D,sEAAsE;AACtE,MAAM,WAAW,eAAe;IAC9B,gEAAgE;IAChE,iBAAiB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACtC,sDAAsD;IACtD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,2CAA2C;IAC3C,WAAW,EAAE,SAAS,CAAC;IACvB,iEAAiE;IACjE,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qDAAqD;IACrD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,wEAAwE;IACxE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0CAA0C;IAC1C,KAAK,EAAE,SAAS,CAAC;IACjB,2CAA2C;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yDAAyD;IACzD,OAAO,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,CAAC;IACjC,wDAAwD;IACxD,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,aAAa,EAAE,KAAK,IAAI,CAAC;IACjD,yEAAyE;IACzE,aAAa,CAAC,EAAE,SAAS,IAAI,EAAE,CAAC;CACjC;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EACzB,iBAAiB,EACjB,cAAsB,EACtB,WAAW,EACX,QAAgB,EAChB,QAAQ,EACR,OAAe,EACf,KAAK,EACL,WAAW,EACX,OAAO,EACP,QAAQ,EACR,aAAkB,GACnB,EAAE,QAAQ,CAAC,eAAe,CAAC,GAAG,YAAY,CA+C1C"}
@@ -0,0 +1,25 @@
1
+ import type { HTMLAttributes, ReactElement, ReactNode, Ref } from 'react';
2
+ /** Props for a canonical form action region. */
3
+ export interface FormActionsProps extends Omit<HTMLAttributes<HTMLElement>, 'children' | 'style'> {
4
+ /** Optional back action placed at the leading edge on wide layouts and after primary on compact layouts. */
5
+ back?: ReactNode;
6
+ /** Optional cancellation action displayed after the back action. */
7
+ cancel?: ReactNode;
8
+ /** Optional destructive action placed at the leading edge on wide layouts and last on compact layouts. */
9
+ danger?: ReactNode;
10
+ /** Replaces the compact action spacing with the canonical separated-page spacing. Defaults to `false`. */
11
+ divided?: boolean;
12
+ /** Primary submit or continuation action, first on compact layouts and in the trailing group on wide layouts. */
13
+ primary: ReactNode;
14
+ /** Ref to the rendered action container. */
15
+ ref?: Ref<HTMLElement>;
16
+ /** Additional non-primary action displayed after cancellation. */
17
+ secondary?: ReactNode;
18
+ }
19
+ /**
20
+ * Orders form actions consistently across compact and wide layouts.
21
+ *
22
+ * @summary responsive ordering for primary and supporting form actions
23
+ */
24
+ export declare function FormActions({ back, cancel, className, danger, divided, primary, ref, secondary, ...props }: Readonly<FormActionsProps>): ReactElement;
25
+ //# sourceMappingURL=FormActions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormActions.d.ts","sourceRoot":"","sources":["../../../src/patterns/FormActions/FormActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAsB1E,gDAAgD;AAChD,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;IAC/D,4GAA4G;IAC5G,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,oEAAoE;IACpE,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,0GAA0G;IAC1G,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,0GAA0G;IAC1G,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,iHAAiH;IACjH,OAAO,EAAE,SAAS,CAAC;IACnB,4CAA4C;IAC5C,GAAG,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC;IACvB,kEAAkE;IAClE,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,MAAM,EACN,SAAS,EACT,MAAM,EACN,OAAe,EACf,OAAO,EACP,GAAG,EACH,SAAS,EACT,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,gBAAgB,CAAC,GAAG,YAAY,CA2D3C"}
@@ -0,0 +1,31 @@
1
+ import type { HTMLAttributes, ReactElement, ReactNode, Ref } from 'react';
2
+ /** Canonical section arrangements for page and overlay forms. */
3
+ export type FormSectionLayout = 'split' | 'stacked';
4
+ /** Semantic heading levels supported by a form section. */
5
+ export type FormSectionHeadingLevel = 2 | 3 | 4 | 5 | 6;
6
+ /** Props for one titled region of a longer form. */
7
+ export interface FormSectionProps extends Omit<HTMLAttributes<HTMLElement>, 'style' | 'title'> {
8
+ /** Optional action aligned with the section introduction. */
9
+ action?: ReactNode;
10
+ /** Form fields or other related controls. */
11
+ children: ReactNode;
12
+ /** Supporting explanation. */
13
+ description?: ReactNode;
14
+ /** Adds the canonical outer divider for the selected layout. Defaults to `false`. */
15
+ divided?: boolean;
16
+ /** Semantic level for the persistent section heading. Defaults to `2`. */
17
+ headingLevel?: FormSectionHeadingLevel;
18
+ /** Page split or overlay stacked arrangement. Defaults to `split`. */
19
+ layout?: FormSectionLayout;
20
+ /** Ref to the rendered section. */
21
+ ref?: Ref<HTMLElement>;
22
+ /** Persistent section heading. */
23
+ title: ReactNode;
24
+ }
25
+ /**
26
+ * Groups related form controls with a consistent heading and divider rhythm.
27
+ *
28
+ * @summary titled form region with responsive field and action layout
29
+ */
30
+ export declare function FormSection({ action, children, className, description, divided, headingLevel, layout, ref, title, ...props }: Readonly<FormSectionProps>): ReactElement;
31
+ //# sourceMappingURL=FormSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FormSection.d.ts","sourceRoot":"","sources":["../../../src/patterns/FormSection/FormSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAmD1E,iEAAiE;AACjE,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,SAAS,CAAC;AAEpD,2DAA2D;AAC3D,MAAM,MAAM,uBAAuB,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAExD,oDAAoD;AACpD,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAC5D,6DAA6D;IAC7D,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,6CAA6C;IAC7C,QAAQ,EAAE,SAAS,CAAC;IACpB,8BAA8B;IAC9B,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,qFAAqF;IACrF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0EAA0E;IAC1E,YAAY,CAAC,EAAE,uBAAuB,CAAC;IACvC,sEAAsE;IACtE,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,mCAAmC;IACnC,GAAG,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC;IACvB,kCAAkC;IAClC,KAAK,EAAE,SAAS,CAAC;CAClB;AAED;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,EAC1B,MAAM,EACN,QAAQ,EACR,SAAS,EACT,WAAW,EACX,OAAe,EACf,YAAgB,EAChB,MAAgB,EAChB,GAAG,EACH,KAAK,EACL,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,gBAAgB,CAAC,GAAG,YAAY,CA0D3C"}
@@ -0,0 +1,28 @@
1
+ import type { HTMLAttributes, ReactElement, ReactNode, Ref } from 'react';
2
+ /** Internal rhythm supported by a metric card. */
3
+ export type MetricCardDensity = 'regular' | 'spacious';
4
+ /** Semantic surface tones supported by a metric card. */
5
+ export type MetricCardTone = 'default' | 'subtle' | 'inverse';
6
+ /** Props for one prominent domain-neutral metric summary. */
7
+ export interface MetricCardProps extends Omit<HTMLAttributes<HTMLElement>, 'children' | 'style'> {
8
+ /** Internal content rhythm. Defaults to `regular`. */
9
+ density?: MetricCardDensity;
10
+ /** Optional supporting explanation or comparison. */
11
+ description?: ReactNode;
12
+ /** Persistent metric label. */
13
+ label: ReactNode;
14
+ /** Ref to the rendered article. */
15
+ ref?: Ref<HTMLElement>;
16
+ /** Semantic surface tone. Defaults to `default`. */
17
+ tone?: MetricCardTone;
18
+ /** Prominent application-formatted value. */
19
+ value: ReactNode;
20
+ }
21
+ /**
22
+ * Presents one prominent application-formatted metric without domain
23
+ * calculation.
24
+ *
25
+ * @summary prominent labelled metric with optional supporting context
26
+ */
27
+ export declare function MetricCard({ className, density, description, label, ref, tone, value, ...props }: Readonly<MetricCardProps>): ReactElement;
28
+ //# sourceMappingURL=MetricCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MetricCard.d.ts","sourceRoot":"","sources":["../../../src/patterns/MetricCard/MetricCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AA+C1E,kDAAkD;AAClD,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,UAAU,CAAC;AAEvD,yDAAyD;AACzD,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE9D,6DAA6D;AAC7D,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;IAC/D,sDAAsD;IACtD,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,qDAAqD;IACrD,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,+BAA+B;IAC/B,KAAK,EAAE,SAAS,CAAC;IACjB,mCAAmC;IACnC,GAAG,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC;IACvB,oDAAoD;IACpD,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,6CAA6C;IAC7C,KAAK,EAAE,SAAS,CAAC;CAClB;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EACzB,SAAS,EACT,OAAmB,EACnB,WAAW,EACX,KAAK,EACL,GAAG,EACH,IAAgB,EAChB,KAAK,EACL,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,eAAe,CAAC,GAAG,YAAY,CAwB1C"}
@@ -0,0 +1,17 @@
1
+ import type { HTMLAttributes, ReactElement, ReactNode, Ref } from 'react';
2
+ /** Props for a visibly titled navigation group. */
3
+ export interface NavigationSectionProps extends Omit<HTMLAttributes<HTMLElement>, 'children' | 'style' | 'title'> {
4
+ /** Navigation destinations, commonly NavigationList.Item elements. */
5
+ children: ReactNode;
6
+ /** Ref to the rendered navigation landmark. */
7
+ ref?: Ref<HTMLElement>;
8
+ /** Persistent visible navigation-group title. */
9
+ title: ReactNode;
10
+ }
11
+ /**
12
+ * Groups related destinations under one visible navigation heading.
13
+ *
14
+ * @summary labelled navigation landmark for related destinations
15
+ */
16
+ export declare function NavigationSection({ children, className, ref, title, ...props }: Readonly<NavigationSectionProps>): ReactElement;
17
+ //# sourceMappingURL=NavigationSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavigationSection.d.ts","sourceRoot":"","sources":["../../../src/patterns/NavigationSection/NavigationSection.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAK1E,mDAAmD;AACnD,MAAM,WAAW,sBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC;IACzE,sEAAsE;IACtE,QAAQ,EAAE,SAAS,CAAC;IACpB,+CAA+C;IAC/C,GAAG,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC;IACvB,iDAAiD;IACjD,KAAK,EAAE,SAAS,CAAC;CAClB;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,SAAS,EACT,GAAG,EACH,KAAK,EACL,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,sBAAsB,CAAC,GAAG,YAAY,CAuBjD"}
@@ -0,0 +1,21 @@
1
+ import type { HTMLAttributes, ReactElement, ReactNode, Ref } from 'react';
2
+ /** Props for a page title, context, back destination, and actions. */
3
+ export interface PageHeaderProps extends Omit<HTMLAttributes<HTMLElement>, 'children' | 'style' | 'title'> {
4
+ /** Page-level actions that stack below the title on compact layouts. */
5
+ actions?: ReactNode;
6
+ /** Optional back navigation displayed before the page heading. */
7
+ back?: ReactNode;
8
+ /** Concise page purpose or status. */
9
+ description?: ReactNode;
10
+ /** Ref to the rendered header. */
11
+ ref?: Ref<HTMLElement>;
12
+ /** Unique page heading. */
13
+ title: ReactNode;
14
+ }
15
+ /**
16
+ * Establishes page hierarchy and responsive page-level actions.
17
+ *
18
+ * @summary responsive page heading with context, back link, and actions
19
+ */
20
+ export declare function PageHeader({ actions, back, className, description, ref, title, ...props }: Readonly<PageHeaderProps>): ReactElement;
21
+ //# sourceMappingURL=PageHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../src/patterns/PageHeader/PageHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAK1E,sEAAsE;AACtE,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC;IACzE,wEAAwE;IACxE,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,kEAAkE;IAClE,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,sCAAsC;IACtC,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,kCAAkC;IAClC,GAAG,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC;IACvB,2BAA2B;IAC3B,KAAK,EAAE,SAAS,CAAC;CAClB;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EACzB,OAAO,EACP,IAAI,EACJ,SAAS,EACT,WAAW,EACX,GAAG,EACH,KAAK,EACL,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,eAAe,CAAC,GAAG,YAAY,CAyC1C"}
@@ -0,0 +1,23 @@
1
+ import type { HTMLAttributes, ReactElement, Ref } from 'react';
2
+ /** Props for page-based application-owned navigation. */
3
+ export interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, 'children' | 'onChange' | 'style'> {
4
+ /** Accessible name for the pagination landmark. */
5
+ 'aria-label': string;
6
+ /** Current one-based page. */
7
+ currentPage: number;
8
+ /** Prevents all page changes. Defaults to `false`. */
9
+ disabled?: boolean;
10
+ /** Called with the requested one-based page. */
11
+ onChange: (page: number) => void;
12
+ /** Total number of pages. */
13
+ pageCount: number;
14
+ /** Ref to the rendered navigation landmark. */
15
+ ref?: Ref<HTMLElement>;
16
+ }
17
+ /**
18
+ * Navigates application-owned paginated data without owning fetching or cursors.
19
+ *
20
+ * @summary one-based navigation across a known page range
21
+ */
22
+ export declare function Pagination({ currentPage, disabled, onChange, pageCount, ref, ...props }: Readonly<PaginationProps>): ReactElement;
23
+ //# sourceMappingURL=Pagination.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../src/patterns/Pagination/Pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AA4C/D,yDAAyD;AACzD,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,OAAO,CAAC;IAC5E,mDAAmD;IACnD,YAAY,EAAE,MAAM,CAAC;IACrB,8BAA8B;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gDAAgD;IAChD,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACjC,6BAA6B;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,+CAA+C;IAC/C,GAAG,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC;CACxB;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EACzB,WAAW,EACX,QAAgB,EAChB,QAAQ,EACR,SAAS,EACT,GAAG,EACH,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,eAAe,CAAC,GAAG,YAAY,CAqF1C"}
@@ -0,0 +1,58 @@
1
+ import type { ReactElement, ReactNode } from 'react';
2
+ import type { ControlSize } from '../../internal/styling/visual';
3
+ interface PasswordFieldSharedProps {
4
+ /** Native autocomplete purpose. */
5
+ autoComplete?: 'current-password' | 'new-password' | 'off';
6
+ /** Supporting guidance associated with the input. */
7
+ description?: ReactNode;
8
+ /** Prevents editing and focus. Defaults to `false`. */
9
+ disabled?: boolean;
10
+ /** Validation message shown when invalid. */
11
+ error?: ReactNode;
12
+ /** Exposes invalid state. Defaults to `false`. */
13
+ invalid?: boolean;
14
+ /** Persistent visible input label. */
15
+ label: ReactNode;
16
+ /** Native form field name. */
17
+ name?: string;
18
+ /** Placeholder shown while empty. */
19
+ placeholder?: string;
20
+ /** Marks the input as required. Defaults to `false`. */
21
+ required?: boolean;
22
+ /** Canonical input and action size. Defaults to `md`. */
23
+ size?: ControlSize;
24
+ }
25
+ interface ControlledPasswordFieldProps {
26
+ /** Current password value. */
27
+ value: string;
28
+ /** Called with the next password value. */
29
+ onChange: (value: string) => void;
30
+ defaultValue?: never;
31
+ readOnly?: false;
32
+ }
33
+ interface ReadOnlyPasswordFieldProps {
34
+ /** Current immutable password value. */
35
+ value: string;
36
+ /** Marks the controlled value as intentionally immutable. */
37
+ readOnly: true;
38
+ defaultValue?: never;
39
+ onChange?: never;
40
+ }
41
+ interface UncontrolledPasswordFieldProps {
42
+ /** Initial password value. Defaults to an empty string. */
43
+ defaultValue?: string;
44
+ /** Called with the next password value. */
45
+ onChange?: (value: string) => void;
46
+ value?: never;
47
+ readOnly?: false;
48
+ }
49
+ /** Props for controlled, read-only, or uncontrolled password entry. */
50
+ export type PasswordFieldProps = PasswordFieldSharedProps & (ControlledPasswordFieldProps | ReadOnlyPasswordFieldProps | UncontrolledPasswordFieldProps);
51
+ /**
52
+ * Provides accessible password entry with a keyboard-operable visibility toggle.
53
+ *
54
+ * @summary labelled password entry with a visibility action
55
+ */
56
+ export declare function PasswordField({ autoComplete, defaultValue, description, disabled, error, invalid, label, name, onChange, placeholder, readOnly, required, size, value, }: Readonly<PasswordFieldProps>): ReactElement;
57
+ export {};
58
+ //# sourceMappingURL=PasswordField.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PasswordField.d.ts","sourceRoot":"","sources":["../../../src/patterns/PasswordField/PasswordField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAkBjE,UAAU,wBAAwB;IAChC,mCAAmC;IACnC,YAAY,CAAC,EAAE,kBAAkB,GAAG,cAAc,GAAG,KAAK,CAAC;IAC3D,qDAAqD;IACrD,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,uDAAuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,kDAAkD;IAClD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,sCAAsC;IACtC,KAAK,EAAE,SAAS,CAAC;IACjB,8BAA8B;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qCAAqC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wDAAwD;IACxD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yDAAyD;IACzD,IAAI,CAAC,EAAE,WAAW,CAAC;CACpB;AAED,UAAU,4BAA4B;IACpC,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,2CAA2C;IAC3C,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB;AAED,UAAU,0BAA0B;IAClC,wCAAwC;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,6DAA6D;IAC7D,QAAQ,EAAE,IAAI,CAAC;IACf,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB;AAED,UAAU,8BAA8B;IACtC,2DAA2D;IAC3D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB;AAED,uEAAuE;AACvE,MAAM,MAAM,kBAAkB,GAAG,wBAAwB,GACvD,CACI,4BAA4B,GAC5B,0BAA0B,GAC1B,8BAA8B,CACjC,CAAC;AAEJ;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,EAC5B,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,QAAgB,EAChB,KAAK,EACL,OAAe,EACf,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,QAAgB,EAChB,QAAgB,EAChB,IAAW,EACX,KAAK,GACN,EAAE,QAAQ,CAAC,kBAAkB,CAAC,GAAG,YAAY,CA4E7C"}
@@ -0,0 +1,21 @@
1
+ import type { HTMLAttributes, ReactElement, ReactNode, Ref } from 'react';
2
+ /** Props for a content-section heading and optional action. */
3
+ export interface SectionHeaderProps extends Omit<HTMLAttributes<HTMLElement>, 'children' | 'style' | 'title'> {
4
+ /** Optional section action. */
5
+ action?: ReactNode;
6
+ /** Optional concise supporting context. */
7
+ description?: ReactNode;
8
+ /** Stable id for heading relationships. */
9
+ id?: string;
10
+ /** Ref to the rendered header. */
11
+ ref?: Ref<HTMLElement>;
12
+ /** Section heading. */
13
+ title: ReactNode;
14
+ }
15
+ /**
16
+ * Aligns a section heading, supporting context, and one related action.
17
+ *
18
+ * @summary content-section heading with context and one related action
19
+ */
20
+ export declare function SectionHeader({ action, className, description, id, ref, title, ...props }: Readonly<SectionHeaderProps>): ReactElement;
21
+ //# sourceMappingURL=SectionHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SectionHeader.d.ts","sourceRoot":"","sources":["../../../src/patterns/SectionHeader/SectionHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAK1E,+DAA+D;AAC/D,MAAM,WAAW,kBACf,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC;IACzE,+BAA+B;IAC/B,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,2CAA2C;IAC3C,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,2CAA2C;IAC3C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,kCAAkC;IAClC,GAAG,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC;IACvB,uBAAuB;IACvB,KAAK,EAAE,SAAS,CAAC;CAClB;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,EAC5B,MAAM,EACN,SAAS,EACT,WAAW,EACX,EAAE,EACF,GAAG,EACH,KAAK,EACL,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,kBAAkB,CAAC,GAAG,YAAY,CA6B7C"}
@@ -0,0 +1,56 @@
1
+ import type { ReactElement, ReactNode } from 'react';
2
+ /** One option displayed by SegmentedControl. */
3
+ export interface SegmentedControlOption {
4
+ /** Prevents selection of this option. Defaults to `false`. */
5
+ disabled?: boolean;
6
+ /** Visible option label. */
7
+ label: ReactNode;
8
+ /** Stable semantic value. */
9
+ value: string;
10
+ }
11
+ interface SegmentedControlSharedProps {
12
+ /** Accessible name for the exclusive choice. */
13
+ 'aria-label': string;
14
+ /** Optional placement class for application composition. */
15
+ className?: string;
16
+ /** Prevents all choices from changing. Defaults to `false`. */
17
+ disabled?: boolean;
18
+ /** Choice layout and keyboard axis. Defaults to `horizontal`. */
19
+ orientation?: 'horizontal' | 'vertical';
20
+ /** Ordered application-owned options. */
21
+ options: readonly SegmentedControlOption[];
22
+ }
23
+ interface ControlledSegmentedControlProps {
24
+ /** Current selected option. */
25
+ value: string;
26
+ /** Called with the next selected option. */
27
+ onChange: (value: string) => void;
28
+ defaultValue?: never;
29
+ readOnly?: false;
30
+ }
31
+ interface ReadOnlySegmentedControlProps {
32
+ /** Current immutable selected option. */
33
+ value: string;
34
+ /** Marks the controlled value as intentionally immutable. */
35
+ readOnly: true;
36
+ defaultValue?: never;
37
+ onChange?: never;
38
+ }
39
+ interface UncontrolledSegmentedControlProps {
40
+ /** Initial selected option. */
41
+ defaultValue?: string;
42
+ /** Called with the next selected option. */
43
+ onChange?: (value: string) => void;
44
+ value?: never;
45
+ readOnly?: false;
46
+ }
47
+ /** Props for a controlled, read-only, or uncontrolled segmented choice. */
48
+ export type SegmentedControlProps = SegmentedControlSharedProps & (ControlledSegmentedControlProps | ReadOnlySegmentedControlProps | UncontrolledSegmentedControlProps);
49
+ /**
50
+ * Presents a compact exclusive choice with arrow-key navigation.
51
+ *
52
+ * @summary exclusive compact choice with controlled or uncontrolled state
53
+ */
54
+ export declare function SegmentedControl({ 'aria-label': ariaLabel, className, defaultValue, disabled, onChange, options, orientation, readOnly, value, }: Readonly<SegmentedControlProps>): ReactElement;
55
+ export {};
56
+ //# sourceMappingURL=SegmentedControl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../../src/patterns/SegmentedControl/SegmentedControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIrD,gDAAgD;AAChD,MAAM,WAAW,sBAAsB;IACrC,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,4BAA4B;IAC5B,KAAK,EAAE,SAAS,CAAC;IACjB,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,UAAU,2BAA2B;IACnC,gDAAgD;IAChD,YAAY,EAAE,MAAM,CAAC;IACrB,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iEAAiE;IACjE,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,yCAAyC;IACzC,OAAO,EAAE,SAAS,sBAAsB,EAAE,CAAC;CAC5C;AAED,UAAU,+BAA+B;IACvC,+BAA+B;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB;AAED,UAAU,6BAA6B;IACrC,yCAAyC;IACzC,KAAK,EAAE,MAAM,CAAC;IACd,6DAA6D;IAC7D,QAAQ,EAAE,IAAI,CAAC;IACf,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB;AAED,UAAU,iCAAiC;IACzC,+BAA+B;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB;AAED,2EAA2E;AAC3E,MAAM,MAAM,qBAAqB,GAAG,2BAA2B,GAC7D,CACI,+BAA+B,GAC/B,6BAA6B,GAC7B,iCAAiC,CACpC,CAAC;AAEJ;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,EAAE,SAAS,EACvB,SAAS,EACT,YAAY,EACZ,QAAgB,EAChB,QAAQ,EACR,OAAO,EACP,WAA0B,EAC1B,QAAgB,EAChB,KAAK,GACN,EAAE,QAAQ,CAAC,qBAAqB,CAAC,GAAG,YAAY,CA6EhD"}
@@ -0,0 +1,25 @@
1
+ import type { HTMLAttributes, ReactElement, ReactNode, Ref } from 'react';
2
+ import type { VisualVariant } from '../../internal/styling/visual';
3
+ /** Props for a complete contextual state message. */
4
+ export interface StatePanelProps extends Omit<HTMLAttributes<HTMLElement>, 'children' | 'style' | 'title'> {
5
+ /** Optional recovery or next-step action. */
6
+ action?: ReactNode;
7
+ /** Concise supporting guidance. */
8
+ description: ReactNode;
9
+ /** Decorative state icon. */
10
+ icon: ReactNode;
11
+ /** Ref to the rendered section. */
12
+ ref?: Ref<HTMLElement>;
13
+ /** Contextual state heading. */
14
+ title: ReactNode;
15
+ /** Semantic state colour. Defaults to `info`. */
16
+ variant?: Extract<VisualVariant, 'danger' | 'info' | 'primary' | 'success' | 'warning'>;
17
+ }
18
+ /**
19
+ * Communicates empty, error, success, warning, or informational state and
20
+ * recovery.
21
+ *
22
+ * @summary complete contextual state with guidance and optional recovery
23
+ */
24
+ export declare function StatePanel({ action, className, description, icon, ref, title, variant, ...props }: Readonly<StatePanelProps>): ReactElement;
25
+ //# sourceMappingURL=StatePanel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatePanel.d.ts","sourceRoot":"","sources":["../../../src/patterns/StatePanel/StatePanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAG1E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAInE,qDAAqD;AACrD,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC;IACzE,6CAA6C;IAC7C,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,mCAAmC;IACnC,WAAW,EAAE,SAAS,CAAC;IACvB,6BAA6B;IAC7B,IAAI,EAAE,SAAS,CAAC;IAChB,mCAAmC;IACnC,GAAG,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC,CAAC;IACvB,gCAAgC;IAChC,KAAK,EAAE,SAAS,CAAC;IACjB,iDAAiD;IACjD,OAAO,CAAC,EAAE,OAAO,CACf,aAAa,EACb,QAAQ,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,CACtD,CAAC;CACH;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EACzB,MAAM,EACN,SAAS,EACT,WAAW,EACX,IAAI,EACJ,GAAG,EACH,KAAK,EACL,OAAgB,EAChB,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,eAAe,CAAC,GAAG,YAAY,CAmC1C"}
@@ -0,0 +1,45 @@
1
+ import type { ReactElement, ReactNode } from 'react';
2
+ /** One application-owned user-menu action or destination. */
3
+ export interface UserMenuAction {
4
+ /** Prevents action. Defaults to `false`. */
5
+ disabled?: boolean;
6
+ /** Optional router-neutral or native destination. */
7
+ href?: string;
8
+ /** Optional decorative action icon. */
9
+ icon?: ReactNode;
10
+ /** Stable action key. */
11
+ id: string;
12
+ /** Visible and typeahead-readable label. */
13
+ label: string;
14
+ /** Called with this action key after activation. */
15
+ onAction?: (id: string) => void;
16
+ /** Visual treatment for the action. Defaults to `default`. */
17
+ variant?: 'default' | 'danger';
18
+ }
19
+ /** Props for account identity, notifications, and application-owned user actions. */
20
+ export interface UserMenuProps {
21
+ /** Accessible name for the menu trigger. */
22
+ 'aria-label': string;
23
+ /** Ordered application-owned actions. */
24
+ actions: readonly UserMenuAction[];
25
+ /** Indicates unread notification content. Defaults to `false`. */
26
+ hasUnread?: boolean;
27
+ /** Optional notification or account content above the actions. */
28
+ notifications?: ReactNode;
29
+ /** Optional heading displayed above notification content. */
30
+ notificationHeading?: ReactNode;
31
+ /** Optional count or state displayed beside the notification heading. */
32
+ notificationState?: ReactNode;
33
+ /** Optional avatar image URL. */
34
+ src?: string;
35
+ /** Visible represented user name. */
36
+ userName: string;
37
+ }
38
+ /**
39
+ * Presents user identity, notification content, and keyboard-complete account
40
+ * actions.
41
+ *
42
+ * @summary user identity menu with notifications and account actions
43
+ */
44
+ export declare function UserMenu({ 'aria-label': ariaLabel, actions, hasUnread, notificationHeading, notificationState, notifications, src, userName, }: Readonly<UserMenuProps>): ReactElement;
45
+ //# sourceMappingURL=UserMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserMenu.d.ts","sourceRoot":"","sources":["../../../src/patterns/UserMenu/UserMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKrD,6DAA6D;AAC7D,MAAM,WAAW,cAAc;IAC7B,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qDAAqD;IACrD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uCAAuC;IACvC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,yBAAyB;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,4CAA4C;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,oDAAoD;IACpD,QAAQ,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,8DAA8D;IAC9D,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;CAChC;AAED,qFAAqF;AACrF,MAAM,WAAW,aAAa;IAC5B,4CAA4C;IAC5C,YAAY,EAAE,MAAM,CAAC;IACrB,yCAAyC;IACzC,OAAO,EAAE,SAAS,cAAc,EAAE,CAAC;IACnC,kEAAkE;IAClE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,kEAAkE;IAClE,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,6DAA6D;IAC7D,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,yEAAyE;IACzE,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAC9B,iCAAiC;IACjC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,qCAAqC;IACrC,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;;;;GAKG;AACH,wBAAgB,QAAQ,CAAC,EACvB,YAAY,EAAE,SAAS,EACvB,OAAO,EACP,SAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,aAAa,EACb,GAAG,EACH,QAAQ,GACT,EAAE,QAAQ,CAAC,aAAa,CAAC,GAAG,YAAY,CAwExC"}