@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 +0,0 @@
1
- {"version":3,"file":"visual.d.ts","sourceRoot":"","sources":["../../../src/internal/styling/visual.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,MAAM,MAAM,aAAa,GACrB,SAAS,GACT,WAAW,GACX,SAAS,GACT,QAAQ,GACR,SAAS,GACT,MAAM,GACN,OAAO,GACP,MAAM,CAAC;AAEX,+CAA+C;AAC/C,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;AAExE,sCAAsC;AACtC,MAAM,MAAM,WAAW,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC"}
@@ -1,60 +0,0 @@
1
- import type { ReactElement, ReactNode } from 'react';
2
- /** Stable identifier accepted by every Breeze collection. */
3
- export type CollectionKey = string | number;
4
- /** Minimum item shape required by Breeze dynamic collections. */
5
- export interface BreezeCollectionItem {
6
- /** Stable string or number identifier used for focus and selection. */
7
- id: CollectionKey;
8
- }
9
- /** Selected collection keys, or every key for select-all state. */
10
- export type CollectionSelection = CollectionKey[] | 'all';
11
- interface CollectionVirtualizationShared {
12
- /** Gap between measured rows in pixels. Defaults to `0`. */
13
- gap?: number;
14
- /** Initial measurable loading-row height in pixels. Defaults to `48`. */
15
- loadingRowHeight?: number;
16
- /** Additional pixels retained around the visible window. Defaults to `0` beyond the engine's directional buffer. */
17
- overscan?: number;
18
- /** Initial section heading or footer height estimate; live measurements remain authoritative. */
19
- estimatedSectionHeight?: number;
20
- /** Fixed scroll viewport height in pixels. */
21
- viewportHeight: number;
22
- }
23
- /** Fixed-height virtualization configuration for uniform collection rows. */
24
- export interface FixedCollectionVirtualization extends CollectionVirtualizationShared {
25
- /** Uses one authoritative height for every row. */
26
- mode: 'fixed';
27
- /** Authoritative fixed row height in pixels. */
28
- rowHeight: number;
29
- /** Excluded because fixed mode does not estimate row height. */
30
- estimatedRowHeight?: never;
31
- }
32
- /** Variable-height virtualization configuration whose live measurements override estimates. */
33
- export interface VariableCollectionVirtualization extends CollectionVirtualizationShared {
34
- /** Measures every rendered row and retains those measurements across window changes. */
35
- mode: 'variable';
36
- /** Initial row-height estimate in pixels; measured content is always authoritative. Defaults to `48`. */
37
- estimatedRowHeight?: number;
38
- /** Excluded because variable mode measures each row. */
39
- rowHeight?: never;
40
- }
41
- /** Optional Breeze-owned virtualization configuration shared by supported collections. */
42
- export type CollectionVirtualization = FixedCollectionVirtualization | VariableCollectionVirtualization;
43
- /** Static compound collection content. */
44
- export interface StaticCollectionContentProps {
45
- /** Static compound item elements. */
46
- children: ReactNode;
47
- /** Excluded when static compound item elements are supplied. */
48
- items?: never;
49
- }
50
- /** Generic item-renderer collection content. */
51
- export interface DynamicCollectionContentProps<Item extends BreezeCollectionItem> {
52
- /** Generic items with stable `id` keys. */
53
- items: Iterable<Item>;
54
- /** Renders one compound item for each generic item. */
55
- children: (item: Item) => ReactElement;
56
- }
57
- /** Shared static-or-generic collection content contract. */
58
- export type CollectionContentProps<Item extends BreezeCollectionItem> = DynamicCollectionContentProps<Item> | StaticCollectionContentProps;
59
- export {};
60
- //# sourceMappingURL=collection.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../src/internal/types/collection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,6DAA6D;AAC7D,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,CAAC;AAE5C,iEAAiE;AACjE,MAAM,WAAW,oBAAoB;IACnC,uEAAuE;IACvE,EAAE,EAAE,aAAa,CAAC;CACnB;AAED,mEAAmE;AACnE,MAAM,MAAM,mBAAmB,GAAG,aAAa,EAAE,GAAG,KAAK,CAAC;AAE1D,UAAU,8BAA8B;IACtC,4DAA4D;IAC5D,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,yEAAyE;IACzE,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oHAAoH;IACpH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iGAAiG;IACjG,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,8CAA8C;IAC9C,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,6EAA6E;AAC7E,MAAM,WAAW,6BACf,SAAQ,8BAA8B;IACtC,mDAAmD;IACnD,IAAI,EAAE,OAAO,CAAC;IACd,gDAAgD;IAChD,SAAS,EAAE,MAAM,CAAC;IAClB,gEAAgE;IAChE,kBAAkB,CAAC,EAAE,KAAK,CAAC;CAC5B;AAED,+FAA+F;AAC/F,MAAM,WAAW,gCACf,SAAQ,8BAA8B;IACtC,wFAAwF;IACxF,IAAI,EAAE,UAAU,CAAC;IACjB,yGAAyG;IACzG,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,wDAAwD;IACxD,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB;AAED,0FAA0F;AAC1F,MAAM,MAAM,wBAAwB,GAChC,6BAA6B,GAC7B,gCAAgC,CAAC;AAErC,0CAA0C;AAC1C,MAAM,WAAW,4BAA4B;IAC3C,qCAAqC;IACrC,QAAQ,EAAE,SAAS,CAAC;IACpB,gEAAgE;IAChE,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,gDAAgD;AAChD,MAAM,WAAW,6BAA6B,CAC5C,IAAI,SAAS,oBAAoB;IAEjC,2CAA2C;IAC3C,KAAK,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC;IACtB,uDAAuD;IACvD,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,YAAY,CAAC;CACxC;AAED,4DAA4D;AAC5D,MAAM,MAAM,sBAAsB,CAAC,IAAI,SAAS,oBAAoB,IAChE,6BAA6B,CAAC,IAAI,CAAC,GACnC,4BAA4B,CAAC"}
@@ -1,8 +0,0 @@
1
- /** Stable inclusive date range crossing the Breeze public API. */
2
- export interface DateRangeValue {
3
- /** Inclusive range end in `YYYY-MM-DD` format. */
4
- end: string;
5
- /** Inclusive range start in `YYYY-MM-DD` format. */
6
- start: string;
7
- }
8
- //# sourceMappingURL=date.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../src/internal/types/date.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,MAAM,WAAW,cAAc;IAC7B,kDAAkD;IAClD,GAAG,EAAE,MAAM,CAAC;IACZ,oDAAoD;IACpD,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -1,21 +0,0 @@
1
- /** Breeze-owned reason why a native file was rejected. */
2
- export type FileRejectionReason = 'file-count' | 'file-size' | 'file-type';
3
- /** Native file and all Breeze validation reasons that rejected it. */
4
- export interface FileRejection {
5
- /** Rejected native file. */
6
- file: File;
7
- /** Stable validation reason identifiers. */
8
- reasons: FileRejectionReason[];
9
- }
10
- /** Browser-supplied context for a dropped file that could not be read. */
11
- export interface DropZoneFileReadFailure {
12
- /** Original failure reported while reading the native file. */
13
- cause: unknown;
14
- /** Zero-based position of the failed file within the dropped file items. */
15
- itemIndex: number;
16
- /** Browser-supplied file name available before reading the native file. */
17
- name: string;
18
- /** Browser-supplied MIME type available before reading the native file. */
19
- type: string;
20
- }
21
- //# sourceMappingURL=file.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../../src/internal/types/file.ts"],"names":[],"mappings":"AAAA,0DAA0D;AAC1D,MAAM,MAAM,mBAAmB,GAAG,YAAY,GAAG,WAAW,GAAG,WAAW,CAAC;AAE3E,sEAAsE;AACtE,MAAM,WAAW,aAAa;IAC5B,4BAA4B;IAC5B,IAAI,EAAE,IAAI,CAAC;IACX,4CAA4C;IAC5C,OAAO,EAAE,mBAAmB,EAAE,CAAC;CAChC;AAED,0EAA0E;AAC1E,MAAM,WAAW,uBAAuB;IACtC,+DAA+D;IAC/D,KAAK,EAAE,OAAO,CAAC;IACf,4EAA4E;IAC5E,SAAS,EAAE,MAAM,CAAC;IAClB,2EAA2E;IAC3E,IAAI,EAAE,MAAM,CAAC;IACb,2EAA2E;IAC3E,IAAI,EAAE,MAAM,CAAC;CACd"}
@@ -1,8 +0,0 @@
1
- import type { AnchorHTMLAttributes, ButtonHTMLAttributes } from 'react';
2
- type ConflictingInteractionProps = 'children' | 'className' | 'onClick' | 'onClickCapture' | 'style';
3
- /** Native React button attributes that do not conflict with Breeze state APIs. */
4
- export type NativeButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, ConflictingInteractionProps | 'aria-busy' | 'aria-pressed' | 'disabled' | 'onChange' | 'type'>;
5
- /** Native React anchor attributes that do not conflict with Breeze navigation APIs. */
6
- export type NativeLinkProps = Omit<AnchorHTMLAttributes<HTMLAnchorElement>, ConflictingInteractionProps | 'download' | 'href'>;
7
- export {};
8
- //# sourceMappingURL=native.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"native.d.ts","sourceRoot":"","sources":["../../../src/internal/types/native.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAExE,KAAK,2BAA2B,GAC5B,UAAU,GACV,WAAW,GACX,SAAS,GACT,gBAAgB,GAChB,OAAO,CAAC;AAEZ,kFAAkF;AAClF,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAClC,oBAAoB,CAAC,iBAAiB,CAAC,EACrC,2BAA2B,GAC3B,WAAW,GACX,cAAc,GACd,UAAU,GACV,UAAU,GACV,MAAM,CACT,CAAC;AAEF,uFAAuF;AACvF,MAAM,MAAM,eAAe,GAAG,IAAI,CAChC,oBAAoB,CAAC,iBAAiB,CAAC,EACvC,2BAA2B,GAAG,UAAU,GAAG,MAAM,CAClD,CAAC"}
@@ -1,50 +0,0 @@
1
- import type { HTMLAttributes, Key, ReactElement, ReactNode, Ref } from 'react';
2
- interface ApplicationShellSharedProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'style' | 'title'> {
3
- /** Account or user-menu slot in the wide rail footer and compact header. */
4
- account: ReactNode;
5
- /** Canonical product brand slot. */
6
- brand: ReactNode;
7
- /** Main application page content. */
8
- children: ReactNode;
9
- /** Compact-header product name. Defaults to `brand`. */
10
- compactBrand?: ReactNode;
11
- /** Focuses the main-content target after this application-owned content key changes. */
12
- contentFocusKey?: Key;
13
- /** Optional active application-context slot. */
14
- context?: ReactNode;
15
- /** Accessible title for the compact navigation drawer. */
16
- navigationLabel: string;
17
- /** Primary application navigation. */
18
- navigation: ReactNode;
19
- /** Ref to the rendered shell root. */
20
- ref?: Ref<HTMLDivElement>;
21
- /** Visible-on-focus skip-link label. */
22
- skipLinkLabel: ReactNode;
23
- /** Stable id assigned to the main-content target. Defaults to `main-content`. */
24
- mainId?: string;
25
- }
26
- interface ControlledApplicationShellProps {
27
- /** Current compact-navigation drawer state. */
28
- compactNavigationOpen: boolean;
29
- defaultCompactNavigationOpen?: never;
30
- /** Called with the next compact-navigation drawer state. */
31
- onCompactNavigationOpenChange: (open: boolean) => void;
32
- }
33
- interface UncontrolledApplicationShellProps {
34
- compactNavigationOpen?: never;
35
- /** Initial compact-navigation drawer state. Defaults to `false`. */
36
- defaultCompactNavigationOpen?: boolean;
37
- /** Called with the next compact-navigation drawer state. */
38
- onCompactNavigationOpenChange?: (open: boolean) => void;
39
- }
40
- /** Props for the shared responsive application frame. */
41
- export type ApplicationShellProps = ApplicationShellSharedProps & (ControlledApplicationShellProps | UncontrolledApplicationShellProps);
42
- /**
43
- * Frames brand, navigation, context, account controls, and main content
44
- * responsively.
45
- *
46
- * @summary responsive application frame with accessible primary navigation
47
- */
48
- export declare function ApplicationShell({ account, brand, children, className, compactBrand, compactNavigationOpen, context, contentFocusKey, defaultCompactNavigationOpen, mainId, navigation, navigationLabel, onCompactNavigationOpenChange, ref, skipLinkLabel, ...props }: Readonly<ApplicationShellProps>): ReactElement;
49
- export {};
50
- //# sourceMappingURL=ApplicationShell.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ApplicationShell.d.ts","sourceRoot":"","sources":["../../../src/patterns/ApplicationShell/ApplicationShell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,YAAY,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAQ/E,UAAU,2BACR,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,OAAO,CAAC;IAC5E,4EAA4E;IAC5E,OAAO,EAAE,SAAS,CAAC;IACnB,oCAAoC;IACpC,KAAK,EAAE,SAAS,CAAC;IACjB,qCAAqC;IACrC,QAAQ,EAAE,SAAS,CAAC;IACpB,wDAAwD;IACxD,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,wFAAwF;IACxF,eAAe,CAAC,EAAE,GAAG,CAAC;IACtB,gDAAgD;IAChD,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,0DAA0D;IAC1D,eAAe,EAAE,MAAM,CAAC;IACxB,sCAAsC;IACtC,UAAU,EAAE,SAAS,CAAC;IACtB,sCAAsC;IACtC,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;IAC1B,wCAAwC;IACxC,aAAa,EAAE,SAAS,CAAC;IACzB,iFAAiF;IACjF,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,+BAA+B;IACvC,+CAA+C;IAC/C,qBAAqB,EAAE,OAAO,CAAC;IAC/B,4BAA4B,CAAC,EAAE,KAAK,CAAC;IACrC,4DAA4D;IAC5D,6BAA6B,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACxD;AAED,UAAU,iCAAiC;IACzC,qBAAqB,CAAC,EAAE,KAAK,CAAC;IAC9B,oEAAoE;IACpE,4BAA4B,CAAC,EAAE,OAAO,CAAC;IACvC,4DAA4D;IAC5D,6BAA6B,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACzD;AAED,yDAAyD;AACzD,MAAM,MAAM,qBAAqB,GAAG,2BAA2B,GAC7D,CAAC,+BAA+B,GAAG,iCAAiC,CAAC,CAAC;AAExE;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,OAAO,EACP,KAAK,EACL,QAAQ,EACR,SAAS,EACT,YAAY,EACZ,qBAAqB,EACrB,OAAO,EACP,eAAe,EACf,4BAA4B,EAC5B,MAAuB,EACvB,UAAU,EACV,eAAe,EACf,6BAA6B,EAC7B,GAAG,EACH,aAAa,EACb,GAAG,KAAK,EACT,EAAE,QAAQ,CAAC,qBAAqB,CAAC,GAAG,YAAY,CAqHhD"}
@@ -1,20 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,76 +0,0 @@
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
- /** Uses the backdrop supplied by an existing modal layer. Defaults to `false`. */
15
- nested?: boolean;
16
- /** Reports the explicit confirming decision. */
17
- onConfirm: () => void;
18
- /** Dialog heading. */
19
- title: ReactNode;
20
- /** Semantic confirming action colour. Defaults to `danger`. */
21
- variant?: 'danger' | 'warning' | 'primary';
22
- }
23
- interface ControlledConfirmationDialogProps {
24
- /** Current open state. */
25
- open: boolean;
26
- /** Called with the next open state. */
27
- onOpenChange: (open: boolean) => void;
28
- defaultOpen?: never;
29
- readOnly?: false;
30
- }
31
- interface ReadOnlyConfirmationDialogProps {
32
- /** Current immutable open state. */
33
- open: boolean;
34
- /** Marks controlled state as intentionally immutable. */
35
- readOnly: true;
36
- defaultOpen?: never;
37
- onOpenChange?: never;
38
- }
39
- interface UncontrolledConfirmationDialogProps {
40
- /** Initial open state. Defaults to `false`. */
41
- defaultOpen?: boolean;
42
- /** Called with the next open state. */
43
- onOpenChange?: (open: boolean) => void;
44
- open?: never;
45
- readOnly?: false;
46
- }
47
- interface TriggeredConfirmationDialogProps {
48
- /** Semantic action content that opens the dialog. */
49
- trigger: ReactNode;
50
- /** Visual treatment for the trigger. Defaults to `solid`. */
51
- triggerAppearance?: VisualAppearance;
52
- /** Uses the pattern's semantic trigger to coordinate dialog state. */
53
- triggerless?: false;
54
- }
55
- interface TriggerlessConfirmationDialogProps {
56
- defaultOpen?: never;
57
- /** Called with the next externally controlled open state. */
58
- onOpenChange: (open: boolean) => void;
59
- /** Current externally controlled open state. */
60
- open: boolean;
61
- readOnly?: never;
62
- trigger?: never;
63
- triggerAppearance?: never;
64
- /** Omits the pattern trigger for state controlled by an external action. */
65
- triggerless: true;
66
- }
67
- /** Props for a controlled, read-only, or uncontrolled confirmation dialog. */
68
- export type ConfirmationDialogProps = ConfirmationDialogSharedProps & ((TriggeredConfirmationDialogProps & (ControlledConfirmationDialogProps | ReadOnlyConfirmationDialogProps | UncontrolledConfirmationDialogProps)) | TriggerlessConfirmationDialogProps);
69
- /**
70
- * Presents a focused explicit decision while retaining focus restoration.
71
- *
72
- * @summary consequential decision pattern with safe initial focus
73
- */
74
- export declare function ConfirmationDialog({ cancelLabel, closeLabel, confirmLabel, defaultOpen, description, disabled, nested, onConfirm, onOpenChange, open, readOnly, title, trigger, triggerAppearance, triggerless, variant, }: Readonly<ConfirmationDialogProps>): ReactElement;
75
- export {};
76
- //# sourceMappingURL=ConfirmationDialog.d.ts.map
@@ -1 +0,0 @@
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,kFAAkF;IAClF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,gDAAgD;IAChD,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,sBAAsB;IACtB,KAAK,EAAE,SAAS,CAAC;IACjB,+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,UAAU,gCAAgC;IACxC,qDAAqD;IACrD,OAAO,EAAE,SAAS,CAAC;IACnB,6DAA6D;IAC7D,iBAAiB,CAAC,EAAE,gBAAgB,CAAC;IACrC,sEAAsE;IACtE,WAAW,CAAC,EAAE,KAAK,CAAC;CACrB;AAED,UAAU,kCAAkC;IAC1C,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,6DAA6D;IAC7D,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,gDAAgD;IAChD,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,iBAAiB,CAAC,EAAE,KAAK,CAAC;IAC1B,4EAA4E;IAC5E,WAAW,EAAE,IAAI,CAAC;CACnB;AAED,8EAA8E;AAC9E,MAAM,MAAM,uBAAuB,GAAG,6BAA6B,GACjE,CACI,CAAC,gCAAgC,GAC/B,CACI,iCAAiC,GACjC,+BAA+B,GAC/B,mCAAmC,CACtC,CAAC,GACJ,kCAAkC,CACrC,CAAC;AAEJ;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,WAAW,EACX,UAAU,EACV,YAAY,EACZ,WAAW,EACX,WAAW,EACX,QAAgB,EAChB,MAAc,EACd,SAAS,EACT,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,OAAO,EACP,iBAAiB,EACjB,WAAmB,EACnB,OAAkB,GACnB,EAAE,QAAQ,CAAC,uBAAuB,CAAC,GAAG,YAAY,CAkGlD"}
@@ -1,42 +0,0 @@
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
@@ -1 +0,0 @@
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,CAkF/C"}
@@ -1,17 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,35 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,25 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,31 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,28 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,17 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,21 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,23 +0,0 @@
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
@@ -1 +0,0 @@
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"}