@heymantle/litho 0.0.14 → 0.0.16

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 (381) hide show
  1. package/AI_COMPONENTS_GUIDE.md +28 -15
  2. package/AI_INTEGRATION_GUIDE.md +3 -3
  3. package/AI_PATTERNS_GUIDE.md +59 -25
  4. package/COMPONENT_QUICK_REFERENCE.md +3 -3
  5. package/README.md +52 -0
  6. package/dist/cjs/components/ActionList.js +33 -25
  7. package/dist/cjs/components/AnnouncementBar.js +115 -18
  8. package/dist/cjs/components/AnnouncementCard.js +269 -0
  9. package/dist/cjs/components/AppProvider.js +15 -2
  10. package/dist/cjs/components/Autocomplete.js +58 -36
  11. package/dist/cjs/components/Badge.js +28 -14
  12. package/dist/cjs/components/Banner.js +37 -27
  13. package/dist/cjs/components/Box.js +50 -38
  14. package/dist/cjs/components/Button.js +338 -109
  15. package/dist/cjs/components/ButtonGroup.js +27 -14
  16. package/dist/cjs/components/Card.js +311 -143
  17. package/dist/cjs/components/Checkbox.js +55 -47
  18. package/dist/cjs/components/CheckboxCard.js +222 -0
  19. package/dist/cjs/components/CheckboxCardGroup.js +384 -0
  20. package/dist/cjs/components/ChoiceList.js +21 -11
  21. package/dist/cjs/components/Code.js +22 -8
  22. package/dist/cjs/components/Collapsible.js +24 -11
  23. package/dist/cjs/components/ColorField.js +163 -38
  24. package/dist/cjs/components/ContextualSaveBar.js +13 -6
  25. package/dist/cjs/components/DatePicker.js +48 -37
  26. package/dist/cjs/components/Disclosure.js +57 -13
  27. package/dist/cjs/components/Divider.js +82 -18
  28. package/dist/cjs/components/DropZone.js +194 -68
  29. package/dist/cjs/components/EmptyState.js +18 -6
  30. package/dist/cjs/components/Filters.js +84 -36
  31. package/dist/cjs/components/FooterHelp.js +14 -4
  32. package/dist/cjs/components/Form.js +13 -2
  33. package/dist/cjs/components/Frame.js +57 -22
  34. package/dist/cjs/components/FrameSaveBar.js +37 -6
  35. package/dist/cjs/components/Grid.js +31 -15
  36. package/dist/cjs/components/HorizontalStack.js +38 -25
  37. package/dist/cjs/components/Icon.js +683 -61
  38. package/dist/cjs/components/Image.js +35 -22
  39. package/dist/cjs/components/InlineError.js +19 -10
  40. package/dist/cjs/components/Label.js +21 -12
  41. package/dist/cjs/components/Layout.js +37 -26
  42. package/dist/cjs/components/LayoutSection.js +84 -22
  43. package/dist/cjs/components/Link.js +35 -22
  44. package/dist/cjs/components/List.js +28 -12
  45. package/dist/cjs/components/Listbox.js +53 -31
  46. package/dist/cjs/components/Loading.js +14 -2
  47. package/dist/cjs/components/Modal.js +32 -39
  48. package/dist/cjs/components/Navigation.js +107 -36
  49. package/dist/cjs/components/Page.js +44 -31
  50. package/dist/cjs/components/Pagination.js +20 -5
  51. package/dist/cjs/components/Pane.js +67 -4
  52. package/dist/cjs/components/Popover.js +63 -30
  53. package/dist/cjs/components/PopoverManager.js +14 -1
  54. package/dist/cjs/components/ProgressBar.js +28 -15
  55. package/dist/cjs/components/RadioButton.js +32 -24
  56. package/dist/cjs/components/RadioButtonCard.js +92 -67
  57. package/dist/cjs/components/RadioButtonCardGroup.js +379 -0
  58. package/dist/cjs/components/RangeSlider.js +34 -26
  59. package/dist/cjs/components/ResourceList.js +28 -14
  60. package/dist/cjs/components/Select.js +38 -26
  61. package/dist/cjs/components/SkeletonText.js +33 -18
  62. package/dist/cjs/components/Spinner.js +24 -12
  63. package/dist/cjs/components/Stack.js +131 -71
  64. package/dist/cjs/components/TabNavigation.js +27 -1
  65. package/dist/cjs/components/Table.js +85 -29
  66. package/dist/cjs/components/Tabs.js +84 -24
  67. package/dist/cjs/components/Tag.js +37 -16
  68. package/dist/cjs/components/Text.js +32 -18
  69. package/dist/cjs/components/TextField.js +119 -69
  70. package/dist/cjs/components/Thumbnail.js +25 -11
  71. package/dist/cjs/components/TimePicker.js +22 -1
  72. package/dist/cjs/components/Tip.js +140 -25
  73. package/dist/cjs/components/ToastNotification.js +107 -34
  74. package/dist/cjs/components/ToastProvider.js +13 -3
  75. package/dist/cjs/components/Tooltip.js +50 -41
  76. package/dist/cjs/components/TopBar.js +83 -9
  77. package/dist/cjs/components/VerticalStack.js +31 -16
  78. package/dist/cjs/index.js +24 -0
  79. package/dist/cjs/playwright.config.js +114 -0
  80. package/dist/cjs/stories/Autocomplete.stories.js +10 -10
  81. package/dist/cjs/stories/Checkbox.stories.js +6 -8
  82. package/dist/cjs/stories/CheckboxCardGroup.stories.js +459 -0
  83. package/dist/cjs/stories/Collapsible.stories.js +11 -11
  84. package/dist/cjs/stories/ColorField.stories.js +2 -3
  85. package/dist/cjs/stories/ComplexExamples.stories.js +48 -77
  86. package/dist/cjs/stories/ContextualSaveBar.stories.js +1 -1
  87. package/dist/cjs/stories/Divider.stories.js +15 -16
  88. package/dist/cjs/stories/DropZone.stories.js +3 -3
  89. package/dist/cjs/stories/FooterHelp.stories.js +3 -4
  90. package/dist/cjs/stories/Form.stories.js +2 -4
  91. package/dist/cjs/stories/Grid.stories.js +24 -33
  92. package/dist/cjs/stories/Icon.stories.js +22 -23
  93. package/dist/cjs/stories/Image.stories.js +12 -15
  94. package/dist/cjs/stories/InlineError.stories.js +0 -1
  95. package/dist/cjs/stories/Layout.stories.js +96 -2
  96. package/dist/cjs/stories/LayoutSection.stories.js +13 -18
  97. package/dist/cjs/stories/List.stories.js +24 -28
  98. package/dist/cjs/stories/Listbox.stories.js +2 -2
  99. package/dist/cjs/stories/Loading.stories.js +21 -25
  100. package/dist/cjs/stories/Modal.stories.js +0 -1
  101. package/dist/cjs/stories/Pagination.stories.js +4 -4
  102. package/dist/cjs/stories/Pane.stories.js +10 -18
  103. package/dist/cjs/stories/Popover.stories.js +7 -7
  104. package/dist/cjs/stories/PopoverManager.stories.js +9 -9
  105. package/dist/cjs/stories/ProgressBar.stories.js +8 -8
  106. package/dist/cjs/stories/RadioButton.stories.js +2 -2
  107. package/dist/cjs/stories/RadioButtonCard.stories.js +2 -2
  108. package/dist/cjs/stories/RadioButtonCardGroup.stories.js +502 -0
  109. package/dist/cjs/stories/RangeSlider.stories.js +1 -3
  110. package/dist/cjs/stories/ResourceList.stories.js +13 -13
  111. package/dist/cjs/stories/Spinner.stories.js +9 -9
  112. package/dist/cjs/stories/Stack.stories.js +233 -51
  113. package/dist/cjs/stories/Tabs.stories.js +2 -2
  114. package/dist/cjs/stories/Tag.stories.js +1 -1
  115. package/dist/cjs/stories/Thumbnail.stories.js +17 -18
  116. package/dist/cjs/stories/TimePicker.stories.js +0 -5
  117. package/dist/cjs/stories/Tip.stories.js +1 -1
  118. package/dist/cjs/styles/Table.js +2 -7
  119. package/dist/cjs/tests/visual/stories.spec.js +637 -0
  120. package/dist/cjs/utilities/dates.js +7 -7
  121. package/dist/esm/components/ActionList.js +33 -25
  122. package/dist/esm/components/AnnouncementBar.js +115 -18
  123. package/dist/esm/components/AnnouncementCard.js +254 -0
  124. package/dist/esm/components/AppProvider.js +15 -2
  125. package/dist/esm/components/Autocomplete.js +58 -36
  126. package/dist/esm/components/Badge.js +28 -14
  127. package/dist/esm/components/Banner.js +37 -27
  128. package/dist/esm/components/Box.js +50 -38
  129. package/dist/esm/components/Button.js +338 -109
  130. package/dist/esm/components/ButtonGroup.js +27 -14
  131. package/dist/esm/components/Card.js +300 -140
  132. package/dist/esm/components/Checkbox.js +55 -47
  133. package/dist/esm/components/CheckboxCard.js +207 -0
  134. package/dist/esm/components/CheckboxCardGroup.js +370 -0
  135. package/dist/esm/components/ChoiceList.js +21 -11
  136. package/dist/esm/components/Code.js +22 -8
  137. package/dist/esm/components/Collapsible.js +24 -11
  138. package/dist/esm/components/ColorField.js +165 -40
  139. package/dist/esm/components/ContextualSaveBar.js +13 -6
  140. package/dist/esm/components/DatePicker.js +48 -37
  141. package/dist/esm/components/Disclosure.js +50 -6
  142. package/dist/esm/components/Divider.js +78 -20
  143. package/dist/esm/components/DropZone.js +194 -68
  144. package/dist/esm/components/EmptyState.js +18 -6
  145. package/dist/esm/components/Filters.js +84 -36
  146. package/dist/esm/components/FooterHelp.js +14 -4
  147. package/dist/esm/components/Form.js +13 -2
  148. package/dist/esm/components/Frame.js +57 -22
  149. package/dist/esm/components/FrameSaveBar.js +37 -6
  150. package/dist/esm/components/Grid.js +31 -15
  151. package/dist/esm/components/HorizontalStack.js +38 -25
  152. package/dist/esm/components/Icon.js +681 -62
  153. package/dist/esm/components/Image.js +35 -22
  154. package/dist/esm/components/InlineError.js +19 -10
  155. package/dist/esm/components/Label.js +21 -12
  156. package/dist/esm/components/Layout.js +62 -27
  157. package/dist/esm/components/LayoutSection.js +84 -22
  158. package/dist/esm/components/Link.js +35 -22
  159. package/dist/esm/components/List.js +28 -12
  160. package/dist/esm/components/Listbox.js +53 -31
  161. package/dist/esm/components/Loading.js +14 -2
  162. package/dist/esm/components/Modal.js +79 -40
  163. package/dist/esm/components/Navigation.js +107 -36
  164. package/dist/esm/components/Page.js +44 -31
  165. package/dist/esm/components/Pagination.js +20 -5
  166. package/dist/esm/components/Pane.js +67 -4
  167. package/dist/esm/components/Popover.js +63 -30
  168. package/dist/esm/components/PopoverManager.js +14 -1
  169. package/dist/esm/components/ProgressBar.js +28 -15
  170. package/dist/esm/components/RadioButton.js +32 -24
  171. package/dist/esm/components/RadioButtonCard.js +92 -67
  172. package/dist/esm/components/RadioButtonCardGroup.js +364 -0
  173. package/dist/esm/components/RangeSlider.js +34 -26
  174. package/dist/esm/components/ResourceList.js +28 -14
  175. package/dist/esm/components/Select.js +38 -26
  176. package/dist/esm/components/SkeletonText.js +33 -18
  177. package/dist/esm/components/Spinner.js +24 -12
  178. package/dist/esm/components/Stack.js +131 -71
  179. package/dist/esm/components/TabNavigation.js +27 -1
  180. package/dist/esm/components/Table.js +85 -29
  181. package/dist/esm/components/Tabs.js +84 -24
  182. package/dist/esm/components/Tag.js +37 -16
  183. package/dist/esm/components/Text.js +32 -18
  184. package/dist/esm/components/TextField.js +119 -69
  185. package/dist/esm/components/Thumbnail.js +25 -11
  186. package/dist/esm/components/TimePicker.js +22 -1
  187. package/dist/esm/components/Tip.js +140 -25
  188. package/dist/esm/components/ToastNotification.js +107 -34
  189. package/dist/esm/components/ToastProvider.js +13 -3
  190. package/dist/esm/components/Tooltip.js +50 -41
  191. package/dist/esm/components/TopBar.js +83 -9
  192. package/dist/esm/components/VerticalStack.js +31 -16
  193. package/dist/esm/index.js +6 -0
  194. package/dist/esm/playwright.config.js +104 -0
  195. package/dist/esm/stories/Autocomplete.stories.js +10 -10
  196. package/dist/esm/stories/Checkbox.stories.js +6 -8
  197. package/dist/esm/stories/CheckboxCardGroup.stories.js +421 -0
  198. package/dist/esm/stories/Collapsible.stories.js +11 -11
  199. package/dist/esm/stories/ColorField.stories.js +2 -3
  200. package/dist/esm/stories/ComplexExamples.stories.js +48 -77
  201. package/dist/esm/stories/ContextualSaveBar.stories.js +1 -1
  202. package/dist/esm/stories/Divider.stories.js +15 -16
  203. package/dist/esm/stories/DropZone.stories.js +3 -3
  204. package/dist/esm/stories/FooterHelp.stories.js +3 -4
  205. package/dist/esm/stories/Form.stories.js +2 -4
  206. package/dist/esm/stories/Grid.stories.js +24 -33
  207. package/dist/esm/stories/Icon.stories.js +22 -23
  208. package/dist/esm/stories/Image.stories.js +12 -15
  209. package/dist/esm/stories/InlineError.stories.js +0 -1
  210. package/dist/esm/stories/Layout.stories.js +93 -2
  211. package/dist/esm/stories/LayoutSection.stories.js +13 -18
  212. package/dist/esm/stories/List.stories.js +24 -28
  213. package/dist/esm/stories/Listbox.stories.js +2 -2
  214. package/dist/esm/stories/Loading.stories.js +21 -25
  215. package/dist/esm/stories/Modal.stories.js +0 -1
  216. package/dist/esm/stories/Pagination.stories.js +4 -4
  217. package/dist/esm/stories/Pane.stories.js +10 -18
  218. package/dist/esm/stories/Popover.stories.js +7 -7
  219. package/dist/esm/stories/PopoverManager.stories.js +9 -9
  220. package/dist/esm/stories/ProgressBar.stories.js +8 -8
  221. package/dist/esm/stories/RadioButton.stories.js +2 -2
  222. package/dist/esm/stories/RadioButtonCard.stories.js +2 -2
  223. package/dist/esm/stories/RadioButtonCardGroup.stories.js +461 -0
  224. package/dist/esm/stories/RangeSlider.stories.js +1 -3
  225. package/dist/esm/stories/ResourceList.stories.js +13 -13
  226. package/dist/esm/stories/Spinner.stories.js +9 -9
  227. package/dist/esm/stories/Stack.stories.js +224 -51
  228. package/dist/esm/stories/Tabs.stories.js +2 -2
  229. package/dist/esm/stories/Tag.stories.js +1 -1
  230. package/dist/esm/stories/Thumbnail.stories.js +17 -18
  231. package/dist/esm/stories/TimePicker.stories.js +0 -5
  232. package/dist/esm/stories/Tip.stories.js +1 -1
  233. package/dist/esm/styles/Table.js +2 -7
  234. package/dist/esm/tests/visual/stories.spec.js +633 -0
  235. package/dist/esm/utilities/dates.js +7 -7
  236. package/dist/types/components/ActionList.d.ts +1 -31
  237. package/dist/types/components/ActionList.d.ts.map +1 -1
  238. package/dist/types/components/AnnouncementBar.d.ts +1 -19
  239. package/dist/types/components/AnnouncementBar.d.ts.map +1 -1
  240. package/dist/types/components/AnnouncementCard.d.ts +3 -0
  241. package/dist/types/components/AnnouncementCard.d.ts.map +1 -0
  242. package/dist/types/components/AppProvider.d.ts +14 -1
  243. package/dist/types/components/AppProvider.d.ts.map +1 -1
  244. package/dist/types/components/Autocomplete.d.ts +1 -71
  245. package/dist/types/components/Autocomplete.d.ts.map +1 -1
  246. package/dist/types/components/Badge.d.ts +1 -19
  247. package/dist/types/components/Badge.d.ts.map +1 -1
  248. package/dist/types/components/Banner.d.ts +1 -37
  249. package/dist/types/components/Banner.d.ts.map +1 -1
  250. package/dist/types/components/Box.d.ts +1 -68
  251. package/dist/types/components/Box.d.ts.map +1 -1
  252. package/dist/types/components/Button.d.ts +1 -131
  253. package/dist/types/components/Button.d.ts.map +1 -1
  254. package/dist/types/components/ButtonGroup.d.ts +1 -22
  255. package/dist/types/components/ButtonGroup.d.ts.map +1 -1
  256. package/dist/types/components/Card.d.ts +54 -59
  257. package/dist/types/components/Card.d.ts.map +1 -1
  258. package/dist/types/components/Checkbox.d.ts +1 -63
  259. package/dist/types/components/Checkbox.d.ts.map +1 -1
  260. package/dist/types/components/CheckboxCard.d.ts +3 -0
  261. package/dist/types/components/CheckboxCard.d.ts.map +1 -0
  262. package/dist/types/components/CheckboxCardGroup.d.ts +3 -0
  263. package/dist/types/components/CheckboxCardGroup.d.ts.map +1 -0
  264. package/dist/types/components/ChoiceList.d.ts +1 -42
  265. package/dist/types/components/ChoiceList.d.ts.map +1 -1
  266. package/dist/types/components/Code.d.ts +1 -26
  267. package/dist/types/components/Code.d.ts.map +1 -1
  268. package/dist/types/components/Collapsible.d.ts +1 -15
  269. package/dist/types/components/Collapsible.d.ts.map +1 -1
  270. package/dist/types/components/ColorField.d.ts +13 -34
  271. package/dist/types/components/ColorField.d.ts.map +1 -1
  272. package/dist/types/components/ContextualSaveBar.d.ts +13 -6
  273. package/dist/types/components/ContextualSaveBar.d.ts.map +1 -1
  274. package/dist/types/components/DatePicker.d.ts +1 -64
  275. package/dist/types/components/DatePicker.d.ts.map +1 -1
  276. package/dist/types/components/Disclosure.d.ts +1 -25
  277. package/dist/types/components/Disclosure.d.ts.map +1 -1
  278. package/dist/types/components/Divider.d.ts +1 -19
  279. package/dist/types/components/Divider.d.ts.map +1 -1
  280. package/dist/types/components/DropZone.d.ts +3 -62
  281. package/dist/types/components/DropZone.d.ts.map +1 -1
  282. package/dist/types/components/EmptyState.d.ts +1 -50
  283. package/dist/types/components/EmptyState.d.ts.map +1 -1
  284. package/dist/types/components/Filters.d.ts +13 -68
  285. package/dist/types/components/Filters.d.ts.map +1 -1
  286. package/dist/types/components/FooterHelp.d.ts +14 -4
  287. package/dist/types/components/FooterHelp.d.ts.map +1 -1
  288. package/dist/types/components/Form.d.ts +13 -2
  289. package/dist/types/components/Form.d.ts.map +1 -1
  290. package/dist/types/components/Frame.d.ts +15 -36
  291. package/dist/types/components/Frame.d.ts.map +1 -1
  292. package/dist/types/components/FrameSaveBar.d.ts +3 -6
  293. package/dist/types/components/FrameSaveBar.d.ts.map +1 -1
  294. package/dist/types/components/Grid.d.ts +5 -21
  295. package/dist/types/components/Grid.d.ts.map +1 -1
  296. package/dist/types/components/HorizontalStack.d.ts +1 -34
  297. package/dist/types/components/HorizontalStack.d.ts.map +1 -1
  298. package/dist/types/components/Icon.d.ts +1 -41
  299. package/dist/types/components/Icon.d.ts.map +1 -1
  300. package/dist/types/components/Image.d.ts +1 -43
  301. package/dist/types/components/Image.d.ts.map +1 -1
  302. package/dist/types/components/InlineError.d.ts +1 -20
  303. package/dist/types/components/InlineError.d.ts.map +1 -1
  304. package/dist/types/components/Label.d.ts +1 -26
  305. package/dist/types/components/Label.d.ts.map +1 -1
  306. package/dist/types/components/Layout.d.ts +24 -15
  307. package/dist/types/components/Layout.d.ts.map +1 -1
  308. package/dist/types/components/LayoutSection.d.ts +1 -19
  309. package/dist/types/components/LayoutSection.d.ts.map +1 -1
  310. package/dist/types/components/Link.d.ts +1 -37
  311. package/dist/types/components/Link.d.ts.map +1 -1
  312. package/dist/types/components/List.d.ts +5 -17
  313. package/dist/types/components/List.d.ts.map +1 -1
  314. package/dist/types/components/Listbox.d.ts +1 -32
  315. package/dist/types/components/Listbox.d.ts.map +1 -1
  316. package/dist/types/components/Loading.d.ts +14 -2
  317. package/dist/types/components/Loading.d.ts.map +1 -1
  318. package/dist/types/components/Modal.d.ts +26 -35
  319. package/dist/types/components/Modal.d.ts.map +1 -1
  320. package/dist/types/components/Navigation.d.ts +1 -25
  321. package/dist/types/components/Navigation.d.ts.map +1 -1
  322. package/dist/types/components/Page.d.ts +1 -57
  323. package/dist/types/components/Page.d.ts.map +1 -1
  324. package/dist/types/components/Pagination.d.ts +13 -3
  325. package/dist/types/components/Pagination.d.ts.map +1 -1
  326. package/dist/types/components/Pane.d.ts +55 -3
  327. package/dist/types/components/Pane.d.ts.map +1 -1
  328. package/dist/types/components/Popover.d.ts +5 -35
  329. package/dist/types/components/Popover.d.ts.map +1 -1
  330. package/dist/types/components/PopoverManager.d.ts.map +1 -1
  331. package/dist/types/components/ProgressBar.d.ts +1 -22
  332. package/dist/types/components/ProgressBar.d.ts.map +1 -1
  333. package/dist/types/components/RadioButton.d.ts +1 -37
  334. package/dist/types/components/RadioButton.d.ts.map +1 -1
  335. package/dist/types/components/RadioButtonCard.d.ts +1 -39
  336. package/dist/types/components/RadioButtonCard.d.ts.map +1 -1
  337. package/dist/types/components/RadioButtonCardGroup.d.ts +3 -0
  338. package/dist/types/components/RadioButtonCardGroup.d.ts.map +1 -0
  339. package/dist/types/components/RangeSlider.d.ts +1 -42
  340. package/dist/types/components/RangeSlider.d.ts.map +1 -1
  341. package/dist/types/components/ResourceList.d.ts +5 -30
  342. package/dist/types/components/ResourceList.d.ts.map +1 -1
  343. package/dist/types/components/Select.d.ts +1 -46
  344. package/dist/types/components/Select.d.ts.map +1 -1
  345. package/dist/types/components/SkeletonText.d.ts +1 -26
  346. package/dist/types/components/SkeletonText.d.ts.map +1 -1
  347. package/dist/types/components/Spinner.d.ts +1 -16
  348. package/dist/types/components/Spinner.d.ts.map +1 -1
  349. package/dist/types/components/Stack.d.ts +1 -47
  350. package/dist/types/components/Stack.d.ts.map +1 -1
  351. package/dist/types/components/TabNavigation.d.ts.map +1 -1
  352. package/dist/types/components/Table.d.ts +13 -58
  353. package/dist/types/components/Table.d.ts.map +1 -1
  354. package/dist/types/components/Tabs.d.ts +40 -34
  355. package/dist/types/components/Tabs.d.ts.map +1 -1
  356. package/dist/types/components/Tag.d.ts +1 -24
  357. package/dist/types/components/Tag.d.ts.map +1 -1
  358. package/dist/types/components/Text.d.ts +1 -30
  359. package/dist/types/components/Text.d.ts.map +1 -1
  360. package/dist/types/components/TextField.d.ts +1 -109
  361. package/dist/types/components/TextField.d.ts.map +1 -1
  362. package/dist/types/components/Thumbnail.d.ts +1 -16
  363. package/dist/types/components/Thumbnail.d.ts.map +1 -1
  364. package/dist/types/components/TimePicker.d.ts +28 -1
  365. package/dist/types/components/TimePicker.d.ts.map +1 -1
  366. package/dist/types/components/Tip.d.ts +1 -21
  367. package/dist/types/components/Tip.d.ts.map +1 -1
  368. package/dist/types/components/ToastNotification.d.ts +1 -34
  369. package/dist/types/components/ToastNotification.d.ts.map +1 -1
  370. package/dist/types/components/ToastProvider.d.ts +13 -3
  371. package/dist/types/components/ToastProvider.d.ts.map +1 -1
  372. package/dist/types/components/Tooltip.d.ts +1 -54
  373. package/dist/types/components/Tooltip.d.ts.map +1 -1
  374. package/dist/types/components/TopBar.d.ts +1 -19
  375. package/dist/types/components/TopBar.d.ts.map +1 -1
  376. package/dist/types/components/VerticalStack.d.ts +1 -25
  377. package/dist/types/components/VerticalStack.d.ts.map +1 -1
  378. package/dist/types/index.d.ts +6 -0
  379. package/dist/types/styles/Table.d.ts.map +1 -1
  380. package/index.css +76 -14
  381. package/package.json +15 -5
@@ -1,28 +1,3 @@
1
1
  export default Label;
2
- /**
3
- * Label component
4
- *
5
- * This component renders a customizable label element with optional required indicator styling.
6
- * It uses `tailwind-variants` to apply base styles and accepts various props for customization.
7
- *
8
- * @param {Object} props - The properties passed to the component.
9
- * @param {React.ReactNode} props.children - The content to be displayed within the label.
10
- * @param {string} [props.id] - The identifier for the label and its associated form element.
11
- * @param {boolean} [props.hidden] - If true, the label is visually hidden.
12
- * @param {boolean} [props.requiredIndicator] - If true, displays an asterisk (*) to indicate a required field.
13
- * @param {string} [props.className] - Additional CSS class names.
14
- * @param {React.ReactNode|import("./Tooltip").TooltipContentObject} [props.tooltip] - Tooltip content for the label.
15
- * @param {Object} [props.rest] - Additional props to be spread onto the label element.
16
- *
17
- * @returns {JSX.Element} The rendered label component with optional required indicator.
18
- */
19
- declare function Label(props?: {
20
- children: React.ReactNode;
21
- id?: string;
22
- hidden?: boolean;
23
- requiredIndicator?: boolean;
24
- className?: string;
25
- tooltip?: React.ReactNode | import("./Tooltip").TooltipContentObject;
26
- rest?: any;
27
- }): JSX.Element;
2
+ declare function Label(props?: {}): import("react/jsx-runtime").JSX.Element;
28
3
  //# sourceMappingURL=Label.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../components/Label.js"],"names":[],"mappings":";AAaA;;;;;;;;;;;;;;;;GAgBG;AAEH,+BAXG;IAA+B,QAAQ,EAA/B,KAAK,CAAC,SAAS;IACA,EAAE,GAAjB,MAAM;IACU,MAAM,GAAtB,OAAO;IACS,iBAAiB,GAAjC,OAAO;IACQ,SAAS,GAAxB,MAAM;IAC2D,OAAO,GAAxE,KAAK,CAAC,SAAS,GAAC,OAAO,WAAW,EAAE,oBAAoB;IACzC,IAAI;CAE3B,GAAU,GAAG,CAAC,OAAO,CAiDvB"}
1
+ {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../components/Label.js"],"names":[],"mappings":";AAwCA,4EA8CC"}
@@ -1,32 +1,41 @@
1
- export const LayoutContext: React.Context<any>;
2
- export default Layout;
3
- import React from "react";
4
1
  /**
5
- * Layout component for structuring content.
2
+ * @component Layout
3
+ *
4
+ * @description A two-column page layout component with a primary content area and optional sidebar, used for settings and detail pages.
5
+ *
6
+ * @usage
7
+ * - DO: Use for two-column page layouts with a primary content area and sidebar.
8
+ * - DON'T: Use for single-column content (use `Stack` or `Card` instead).
9
+ *
10
+ * @accessibility
11
+ * - Content areas maintain logical reading order regardless of visual layout.
6
12
  *
7
- * The `Layout` component organizes its children into a flexible and responsive layout.
8
- * If no `Layout.Section` or `Layout.AnnotatedSection` children are found, it wraps the
9
- * children inside a default `Layout.Section`.
13
+ * @alternative
14
+ * - If you need a CSS grid with custom columns, use `Grid`.
15
+ * - If you need a single-column layout, use `Stack`.
10
16
  *
11
17
  * @param {Object} props - Component props.
12
18
  * @param {React.ReactNode} props.children - The content to render inside the layout.
13
19
  * @param {boolean} [props.reverseOnMobile] - If true, reverses the flex direction on mobile devices.
20
+ * @param {boolean} [props.scrollSectionsIndependently=false] - When true, caps the layout
21
+ * height to the viewport and makes each section scroll its content independently.
22
+ * Only applies at the @lg container breakpoint when sections are side-by-side.
23
+ * When inside a Page, automatically removes Page content padding for full-bleed.
14
24
  * @returns {JSX.Element} The rendered layout component.
15
25
  */
16
- declare function Layout(props?: {
17
- children: React.ReactNode;
18
- reverseOnMobile?: boolean;
19
- }): JSX.Element;
26
+ export const LayoutContext: React.Context<any>;
27
+ export default Layout;
28
+ import React from "react";
29
+ declare function Layout(props?: {}): import("react/jsx-runtime").JSX.Element;
20
30
  declare namespace Layout {
21
31
  export { AnnotatedSection };
22
32
  export { Section };
23
33
  }
24
34
  /**
25
- * AnnotatedSection component for displaying a titled section with optional description.
35
+ * @component Layout.AnnotatedSection
26
36
  *
27
- * The `AnnotatedSection` organizes content into two main areas:
28
- * - Annotation: Displays a title and description.
29
- * - Content: Displays the main content provided as children.
37
+ * @usage
38
+ * - DO: Use for settings pages where each section has a title and description alongside form content.
30
39
  *
31
40
  * @param {Object} props - Component props.
32
41
  * @param {React.ReactNode} props.children - The main content of the section.
@@ -1 +1 @@
1
- {"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../components/Layout.js"],"names":[],"mappings":"AAQA,+CAA6C;;kBANC,OAAO;AA2CrD;;;;;;;;;;;GAWG;AACH,gCAJG;IAA+B,QAAQ,EAA/B,KAAK,CAAC,SAAS;IACC,eAAe,GAA/B,OAAO;CACf,GAAU,GAAG,CAAC,OAAO,CAoDvB;;;;;AAeD;;;;;;;;;;;;GAYG;AACH,0CALG;IAA+B,QAAQ,EAA/B,KAAK,CAAC,SAAS;IACgB,KAAK,GAApC,MAAM,GAAC,KAAK,CAAC,SAAS;IACS,WAAW,GAA1C,MAAM,GAAC,KAAK,CAAC,SAAS;CAC9B,GAAU,GAAG,CAAC,OAAO,CAevB;;;;oBAhJmB,iBAAiB"}
1
+ {"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../components/Layout.js"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,+CAA6C;;kBAhCC,OAAO;AAwFrD,6EAqDC;;;;;AAeD;;;;;;;;;;;GAWG;AACH,0CALG;IAA+B,QAAQ,EAA/B,KAAK,CAAC,SAAS;IACgB,KAAK,GAApC,MAAM,GAAC,KAAK,CAAC,SAAS;IACS,WAAW,GAA1C,MAAM,GAAC,KAAK,CAAC,SAAS;CAC9B,GAAU,GAAG,CAAC,OAAO,CAmBvB;;;;oBAvLmB,iBAAiB"}
@@ -1,24 +1,6 @@
1
1
  export default Section;
2
- /**
3
- * Section component for flexible content grouping.
4
- *
5
- * The `Section` allows for configuring its layout, supporting sidebar and slim variants.
6
- *
7
- * @param {Object} props - Component props.
8
- * @param {React.ReactNode} props.children - The content to render inside the section.
9
- * @param {boolean|"slim"} [props.sidebar=false] - Configures the section layout:
10
- * - `true`: Makes it a sidebar with a 1/3 basis.
11
- * - `"slim"`: Makes it a slim sidebar with a max width of 320px.
12
- * - `false`: Allows it to grow.
13
- * @params {boolean|integer} props.sticky - Specify whether the section becomes sticky or not
14
- * @returns {JSX.Element} The rendered section component.
15
- */
16
- declare function Section(props?: {
17
- children: React.ReactNode;
18
- sidebar?: boolean | "slim";
19
- }): JSX.Element;
2
+ declare function Section(props?: {}): import("react/jsx-runtime").JSX.Element;
20
3
  declare namespace Section {
21
4
  let displayName: string;
22
5
  }
23
- import React from "react";
24
6
  //# sourceMappingURL=LayoutSection.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LayoutSection.d.ts","sourceRoot":"","sources":["../../../components/LayoutSection.js"],"names":[],"mappings":";AAgDA;;;;;;;;;;;;;GAaG;AACH,iCARG;IAA+B,QAAQ,EAA/B,KAAK,CAAC,SAAS;IACQ,OAAO,GAA9B,OAAO,GAAC,MAAM;CAItB,GACU,GAAG,CAAC,OAAO,CA8BvB;;;;kBAxFiC,OAAO"}
1
+ {"version":3,"file":"LayoutSection.d.ts","sourceRoot":"","sources":["../../../components/LayoutSection.js"],"names":[],"mappings":";AA0HA,8EA6BC"}
@@ -1,41 +1,5 @@
1
1
  export default Link;
2
- /**
3
- * Renders an accessible link with customizable styling based on variants.
4
- *
5
- * @param {Object} props - Props for the Link component.
6
- * @param {string} props.url - The URL the link points to.
7
- * @param {React.ReactNode} props.children - Content to display within the link.
8
- * @param {Function} [props.onClick] - Optional click event handler for the link.
9
- * @param {boolean} [props.external=false] - If true, opens the link in a new tab.
10
- * @param {boolean} [props.insight=false] - If true, set the color and iconColor to insight
11
- * @param {string} [props.target] - Optional target attribute for specifying where to open the link.
12
- * @param {string} [props.id] - Optional id attribute for the link.
13
- * @param {boolean} [props.monochrome=false] - If true, applies monochrome color scheme.
14
- * @param {boolean} [props.removeUnderline=false] - If true, removes underline from the link.
15
- * @param {string} [props.accessibilityLabel] - Optional aria-label for accessibility.
16
- * @param {string} [props.dataPrimaryLink] - Optional data attribute for custom tracking.
17
- * @param {Function} [props.onMouseEnter] - Optional mouse enter event handler for the link.
18
- * @param {Function} [props.onMouseLeave] - Optional mouse leave event handler for the link.
19
- * @param {React.ReactNode} [props.icon] - Optional icon to display within the link.
20
- *
21
- * @returns {JSX.Element} Rendered link element.
22
- */
23
- declare function Link(props?: {
24
- url: string;
25
- children: React.ReactNode;
26
- onClick?: Function;
27
- external?: boolean;
28
- insight?: boolean;
29
- target?: string;
30
- id?: string;
31
- monochrome?: boolean;
32
- removeUnderline?: boolean;
33
- accessibilityLabel?: string;
34
- dataPrimaryLink?: string;
35
- onMouseEnter?: Function;
36
- onMouseLeave?: Function;
37
- icon?: React.ReactNode;
38
- }): JSX.Element;
2
+ declare function Link(props?: {}): import("react/jsx-runtime").JSX.Element;
39
3
  declare namespace Link {
40
4
  let displayName: string;
41
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../components/Link.js"],"names":[],"mappings":";AA8CA;;;;;;;;;;;;;;;;;;;;GAoBG;AAEH,8BAlBG;IAAsB,GAAG,EAAjB,MAAM;IACiB,QAAQ,EAA/B,KAAK,CAAC,SAAS;IACE,OAAO;IACR,QAAQ,GAAxB,OAAO;IACS,OAAO,GAAvB,OAAO;IACQ,MAAM,GAArB,MAAM;IACS,EAAE,GAAjB,MAAM;IACU,UAAU,GAA1B,OAAO;IACS,eAAe,GAA/B,OAAO;IACQ,kBAAkB,GAAjC,MAAM;IACS,eAAe,GAA9B,MAAM;IACW,YAAY;IACZ,YAAY;IACL,IAAI,GAA5B,KAAK,CAAC,SAAS;CAEvB,GAAU,GAAG,CAAC,OAAO,CAwDvB"}
1
+ {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../components/Link.js"],"names":[],"mappings":";AAiFA,2EAqDC"}
@@ -1,25 +1,13 @@
1
1
  export default List;
2
- /**
3
- * List component for rendering unordered or ordered lists.
4
- *
5
- * @param {Object} props - Component props.
6
- * @param {React.ReactNode} props.children - The list items to render inside the list.
7
- * @param {'normal' | 'loose' | 'tight'} [props.spacing='normal'] - Controls vertical spacing between list items.
8
- * @param {'bullet' | 'number'} [props.type='bullet'] - Determines list type: bullet (unordered) or number (ordered).
9
- * @param {string} [props.className] - Additional class names to apply to the list container.
10
- * @returns {JSX.Element} The rendered List component.
11
- */
12
- declare function List(props?: {
13
- children: React.ReactNode;
14
- spacing?: "normal" | "loose" | "tight";
15
- type?: "bullet" | "number";
16
- className?: string;
17
- }): JSX.Element;
2
+ declare function List(props?: {}): import("react/jsx-runtime").JSX.Element;
18
3
  declare namespace List {
19
4
  export { Item };
20
5
  }
21
6
  /**
22
- * Item component for individual list items in the List component.
7
+ * @component List.Item
8
+ *
9
+ * @usage
10
+ * - DO: Use as direct children of List for each list entry.
23
11
  *
24
12
  * @param {Object} props - Component props.
25
13
  * @param {React.ReactNode} props.children - The content of the list item.
@@ -1 +1 @@
1
- {"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../components/List.js"],"names":[],"mappings":";AAkBA;;;;;;;;;GASG;AAEH,8BAPG;IAA+B,QAAQ,EAA/B,KAAK,CAAC,SAAS;IACsB,OAAO,GAA5C,QAAQ,GAAG,OAAO,GAAG,OAAO;IACA,IAAI,GAAhC,QAAQ,GAAG,QAAQ;IACJ,SAAS,GAAxB,MAAM;CACd,GAAU,GAAG,CAAC,OAAO,CAqBvB;;;;AAMD;;;;;;;GAOG;AAEH,8BALG;IAA+B,QAAQ,EAA/B,KAAK,CAAC,SAAS;IACA,SAAS,GAAxB,MAAM;CACd,GAAU,GAAG,CAAC,OAAO,CAgBvB"}
1
+ {"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../../components/List.js"],"names":[],"mappings":";AA0CA,2EAkBC;;;;AAMD;;;;;;;;;;GAUG;AAEH,8BALG;IAA+B,QAAQ,EAA/B,KAAK,CAAC,SAAS;IACA,SAAS,GAAxB,MAAM;CACd,GAAU,GAAG,CAAC,OAAO,CAgBvB"}
@@ -1,34 +1,3 @@
1
1
  export default Listbox;
2
- /**
3
- * A customizable Listbox component for displaying a list of options with selectable states.
4
- * The component supports keyboard navigation and optional icons for selected items.
5
- *
6
- * @component
7
- * @param {Object} props - The properties object.
8
- * @param {Array<Object>} props.options - Array of options to render in the listbox.
9
- * Each option should be an object with the following properties:
10
- * - `label` {string}: The display label of the option.
11
- * - `value` {string | number}: The unique value of the option.
12
- * - `selected` {boolean}: Whether the option is currently selected.
13
- * - `onAction` {function}: A callback function invoked when the option is clicked or "Enter" is pressed.
14
- * @param {boolean} [props.showIcon=false] - Determines whether to display an icon next to selected options.
15
- * @param {React.ReactNode} [props.icon=MobileAcceptMajor] - The icon to display for selected options (default is `MobileAcceptMajor`).
16
- * @param {boolean} [props.displayHorizontallyOnMobile=false] - Determines whether to display the listbox horizontally on mobile.
17
- *
18
- * @example
19
- * const options = [
20
- * { label: "Option 1", value: "opt1", selected: false, onAction: () => console.log("Option 1 clicked") },
21
- * { label: "Option 2", value: "opt2", selected: true, onAction: () => console.log("Option 2 clicked") },
22
- * ];
23
- *
24
- * <Listbox options={options} showIcon={true} icon={CustomIcon} />
25
- *
26
- * @returns {JSX.Element} The rendered Listbox component.
27
- */
28
- declare function Listbox(props?: {
29
- options: Array<any>;
30
- showIcon?: boolean;
31
- icon?: React.ReactNode;
32
- displayHorizontallyOnMobile?: boolean;
33
- }): JSX.Element;
2
+ declare function Listbox(props?: {}): import("react/jsx-runtime").JSX.Element;
34
3
  //# sourceMappingURL=Listbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Listbox.d.ts","sourceRoot":"","sources":["../../../components/Listbox.js"],"names":[],"mappings":";AAuCA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,iCApBG;IAA6B,OAAO,EAA5B,KAAK,KAAQ;IAMG,QAAQ,GAAxB,OAAO;IACiB,IAAI,GAA5B,KAAK,CAAC,SAAS;IACC,2BAA2B,GAA3C,OAAO;CAEf,GAQU,GAAG,CAAC,OAAO,CA8FvB"}
1
+ {"version":3,"file":"Listbox.d.ts","sourceRoot":"","sources":["../../../components/Listbox.js"],"names":[],"mappings":";AA8EA,8EAmGC"}
@@ -1,8 +1,20 @@
1
1
  export default Loading;
2
2
  /**
3
- * A loading progress bar component that animates over a specified duration.
3
+ * @component Loading
4
+ *
5
+ * @description A page-level progress bar that animates across the top of the viewport during navigation or data fetching.
6
+ *
7
+ * @usage
8
+ * - DO: Use as a page-level loading indicator at the top of the viewport during navigation or data fetching.
9
+ * - DON'T: Use for inline or localized loading states; use `Spinner` for those cases.
10
+ *
11
+ * @accessibility
12
+ * - The progress bar is purely visual; pair with `aria-busy` on the loading container if screen reader announcements are needed.
13
+ *
14
+ * @alternative
15
+ * - If you need an inline loading indicator, use `Spinner` instead.
16
+ * - If you need placeholder content while data loads, use `SkeletonText` instead.
4
17
  *
5
- * @component
6
18
  * @param {Object} props - The props object.
7
19
  * @param {number} [props.maxDuration=10000] - The maximum duration (in milliseconds) for the loading progress bar to reach 100%.
8
20
  * @returns {JSX.Element} A fixed progress bar displayed at the top of the page.
@@ -1 +1 @@
1
- {"version":3,"file":"Loading.d.ts","sourceRoot":"","sources":["../../../components/Loading.js"],"names":[],"mappings":";AAIA;;;;;;;GAOG;AACH,iCAHG;IAAuB,WAAW,GAA1B,MAAM;CACd,GAAU,GAAG,CAAC,OAAO,CAqCvB"}
1
+ {"version":3,"file":"Loading.d.ts","sourceRoot":"","sources":["../../../components/Loading.js"],"names":[],"mappings":";AAIA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,iCAHG;IAAuB,WAAW,GAA1B,MAAM;CACd,GAAU,GAAG,CAAC,OAAO,CAqCvB"}
@@ -1,8 +1,19 @@
1
- export const ModalContext: React.Context<boolean>;
2
- export default Modal;
3
- import React from "react";
4
1
  /**
5
- * Modal component for displaying a customizable dialog.
2
+ * @component Modal
3
+ *
4
+ * @description A dialog overlay that focuses the user on a specific task or confirmation, with header, body sections, and footer actions.
5
+ *
6
+ * @usage
7
+ * - DO: Use for focused tasks that require user attention or input, like confirmations or forms.
8
+ * - DON'T: Use for content that should remain accessible while reading the page (use Pane).
9
+ *
10
+ * @accessibility
11
+ * - Traps focus within the modal when open; supports Escape key dismissal.
12
+ * - Ensure `title` provides context for screen readers.
13
+ *
14
+ * @alternative
15
+ * - If you need a side panel that doesn't block the page, use `Pane`.
16
+ * - If you need inline messaging, use `Banner`.
6
17
  *
7
18
  * @param {Object} props - The component props.
8
19
  * @param {React.ReactNode} [props.children] - The content of the modal.
@@ -30,52 +41,32 @@ import React from "react";
30
41
  * @param {Function} [props.backAction] - Callback function for the back button. When provided, displays a back button next to the title.
31
42
  * @param {number} [props.zIndexOverride=1000] - The z-index of the modal.
32
43
  * @param {boolean} [props.autoFocusFirstInput=true] - Whether to focus the first input when the modal opens.
44
+ * @param {boolean} [props.pinToTop=false] - Whether to pin the modal to the top of the viewport instead of centering it vertically. Useful when modal content changes height dynamically.
33
45
  * @param {string} [props.bodyClassName] - Additional CSS classes to apply to the modal body.
34
46
  * @returns {React.ReactPortal|null} The rendered modal component or null if not open.
35
47
  */
36
- declare function Modal(props?: {
37
- children?: React.ReactNode;
38
- title?: string;
39
- subtitle?: string;
40
- open?: boolean;
41
- onClose?: Function;
42
- sectioned?: boolean;
43
- primaryAction?: {
44
- content?: string;
45
- onAction?: Function;
46
- loading?: boolean;
47
- disabled?: boolean;
48
- destructive?: boolean;
49
- };
50
- secondaryAction?: {
51
- content?: string;
52
- onAction?: Function;
53
- disabled?: boolean;
54
- };
55
- secondaryActions?: any[];
56
- destructiveAction?: any;
57
- loading?: boolean;
58
- size?: string;
59
- leftAccessory?: React.ReactNode;
60
- hideCloseButton?: boolean;
61
- backAction?: Function;
62
- zIndexOverride?: number;
63
- autoFocusFirstInput?: boolean;
64
- bodyClassName?: string;
65
- }): React.ReactPortal | null;
48
+ export const ModalContext: React.Context<boolean>;
49
+ export default Modal;
50
+ import React from "react";
51
+ declare function Modal(props?: {}): React.ReactPortal;
66
52
  declare namespace Modal {
67
53
  export { Section };
68
54
  }
69
55
  /**
70
- * Section component for use within the Modal.
56
+ * @component Modal.Section
57
+ *
58
+ * @usage
59
+ * - DO: Divide modal content into bordered sections for visual separation.
71
60
  *
72
61
  * @param {Object} props - The component props.
73
62
  * @param {React.ReactNode} [props.children] - The content of the section.
74
63
  * @param {boolean} [props.flush=false] - Whether the section should be flush with no padding.
64
+ * @param {string} [props.className] - Additional CSS classes to apply to the section.
75
65
  * @returns {JSX.Element} The rendered section.
76
66
  */
77
67
  declare function Section(props?: {
78
68
  children?: React.ReactNode;
79
69
  flush?: boolean;
70
+ className?: string;
80
71
  }): JSX.Element;
81
72
  //# sourceMappingURL=Modal.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../components/Modal.js"],"names":[],"mappings":"AAcA,kDAAiD;;kBAXkC,OAAO;AAiE1F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AAEH,+BA7BG;IAAgC,QAAQ,GAAhC,KAAK,CAAC,SAAS;IACA,KAAK,GAApB,MAAM;IACS,QAAQ,GAAvB,MAAM;IACU,IAAI,GAApB,OAAO;IACU,OAAO;IACR,SAAS,GAAzB,OAAO;IACQ,aAAa,GACpC;QAAqC,OAAO,GAApC,MAAM;QACyB,QAAQ;QACT,OAAO,GAArC,OAAO;QACuB,QAAQ,GAAtC,OAAO;QACuB,WAAW,GAAzC,OAAO;KACf;IAAuB,eAAe,GACtC;QAAuC,OAAO,GAAtC,MAAM;QAC2B,QAAQ;QACT,QAAQ,GAAxC,OAAO;KACf;IAAyB,gBAAgB,GAAjC,KAAQ;IACO,iBAAiB;IAChB,OAAO,GAAvB,OAAO;IACQ,IAAI,GAAnB,MAAM;IACkB,aAAa,GAArC,KAAK,CAAC,SAAS;IACC,eAAe,GAA/B,OAAO;IACU,UAAU;IACZ,cAAc,GAA7B,MAAM;IACU,mBAAmB,GAAnC,OAAO;IACQ,aAAa,GAA5B,MAAM;CACd,GAAU,KAAK,CAAC,WAAW,GAAC,IAAI,CA0MlC;;;;AAED;;;;;;;GAOG;AAEH,iCALG;IAAgC,QAAQ,GAAhC,KAAK,CAAC,SAAS;IACC,KAAK,GAArB,OAAO;CACf,GAAU,GAAG,CAAC,OAAO,CA0EvB"}
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../components/Modal.js"],"names":[],"mappings":"AAcA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AAEH,kDAAiD;;kBA3DkC,OAAO;AA+H1F,sDA0MC;;;;AAED;;;;;;;;;;;GAWG;AAEH,iCANG;IAAgC,QAAQ,GAAhC,KAAK,CAAC,SAAS;IACC,KAAK,GAArB,OAAO;IACQ,SAAS,GAAxB,MAAM;CACd,GAAU,GAAG,CAAC,OAAO,CA4EvB"}
@@ -1,29 +1,5 @@
1
1
  export default Navigation;
2
- /**
3
- * Navigation component.
4
- * A sidebar navigation component for displaying links, sections, and footer links.
5
- *
6
- * @component
7
- * @param {Object} props - Component properties.
8
- * @param {Object} [props.breadcrumb] - Breadcrumb navigation item.
9
- * @param {string} [props.breadcrumb.content] - Label for the breadcrumb.
10
- * @param {Function} [props.breadcrumb.onAction] - Callback for breadcrumb action.
11
- * @param {Array<Object>} [props.sections] - Array of navigation sections.
12
- * @param {Object} [props.sections[].title] - Section title configuration.
13
- * @param {string} [props.sections[].title.label] - Title label.
14
- * @param {boolean} [props.sections[].title.selected] - Whether the title is selected.
15
- * @param {Function} [props.sections[].title.onAction] - Callback for title action.
16
- * @param {Array<Object>} [props.sections[].links] - Array of link configurations for the section.
17
- * @param {Array<Object>} [props.footerLinks] - Array of footer link configurations.
18
- * @returns {JSX.Element} The rendered Navigation component.
19
- */
20
- declare function Navigation(props?: {
21
- breadcrumb?: {
22
- content?: string;
23
- onAction?: Function;
24
- };
25
- sections?: Array<any>;
26
- }): JSX.Element;
2
+ declare function Navigation(props?: {}): import("react/jsx-runtime").JSX.Element;
27
3
  declare namespace Navigation {
28
4
  export { Link };
29
5
  export { SubLink };
@@ -1 +1 @@
1
- {"version":3,"file":"Navigation.d.ts","sourceRoot":"","sources":["../../../components/Navigation.js"],"names":[],"mappings":";AA4BA;;;;;;;;;;;;;;;;;GAiBG;AAEH,oCAbG;IAAuB,UAAU,GACjC;QAAkC,OAAO,GAAjC,MAAM;QACsB,QAAQ;KAC5C;IAA8B,QAAQ,GAA9B,KAAK,KAAQ;CACrB,GAMU,GAAG,CAAC,OAAO,CAmEvB;;;;;AAoBD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,8BApBG;IAAwB,QAAQ,GAAxB,OAAO;IACS,SAAS,GAAzB,OAAO;IACe,QAAQ,GAA9B,KAAK,KAAQ;IACG,0BAA0B,GAA1C,OAAO;IACS,gBAAgB,GAAhC,OAAO;IACS,gBAAgB,GAAhC,OAAO;IACU,QAAQ;IACD,MAAM,GAA9B,KAAK,CAAC,SAAS;IACS,IAAI,GAA5B,KAAK,CAAC,SAAS;IACA,KAAK,GAApB,MAAM;IACS,KAAK,GAC5B;QAA6B,MAAM,GAA3B,MAAM;QACe,KAAK,GAA1B,MAAM;KACd;IAAwB,QAAQ,GAAxB,OAAO;IACS,UAAU,GAA1B,OAAO;IACQ,WAAW,GAA1B,MAAM;IACU,kBAAkB,GAAlC,OAAO;IACiB,SAAS,GAAjC,KAAK,CAAC,SAAS;CACvB,GAAU,GAAG,CAAC,OAAO,CAoGvB;AAgBD;;;;;;;;;;;;;;;GAeG;AACH,iCAVG;IAAwB,QAAQ,GAAxB,OAAO;IACU,QAAQ;IACV,KAAK,GAApB,MAAM;IACS,KAAK,GAC5B;QAA6B,MAAM,GAA3B,MAAM;QACe,KAAK,GAA1B,MAAM;KACd;IAAwB,kBAAkB,GAAlC,OAAO;IACiB,SAAS,GAAjC,KAAK,CAAC,SAAS;CACvB,GAAU,GAAG,CAAC,OAAO,CAuCvB;kBApUiB,OAAO"}
1
+ {"version":3,"file":"Navigation.d.ts","sourceRoot":"","sources":["../../../components/Navigation.js"],"names":[],"mappings":";AAyDA,iFAgFC;;;;;AAoBD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,8BApBG;IAAwB,QAAQ,GAAxB,OAAO;IACS,SAAS,GAAzB,OAAO;IACe,QAAQ,GAA9B,KAAK,KAAQ;IACG,0BAA0B,GAA1C,OAAO;IACS,gBAAgB,GAAhC,OAAO;IACS,gBAAgB,GAAhC,OAAO;IACU,QAAQ;IACD,MAAM,GAA9B,KAAK,CAAC,SAAS;IACS,IAAI,GAA5B,KAAK,CAAC,SAAS;IACA,KAAK,GAApB,MAAM;IACS,KAAK,GAC5B;QAA6B,MAAM,GAA3B,MAAM;QACe,KAAK,GAA1B,MAAM;KACd;IAAwB,QAAQ,GAAxB,OAAO;IACS,UAAU,GAA1B,OAAO;IACQ,WAAW,GAA1B,MAAM;IACU,kBAAkB,GAAlC,OAAO;IACiB,SAAS,GAAjC,KAAK,CAAC,SAAS;CACvB,GAAU,GAAG,CAAC,OAAO,CAiHvB;AAgBD;;;;;;;;;;;;;;;GAeG;AACH,iCAVG;IAAwB,QAAQ,GAAxB,OAAO;IACU,QAAQ;IACV,KAAK,GAApB,MAAM;IACS,KAAK,GAC5B;QAA6B,MAAM,GAA3B,MAAM;QACe,KAAK,GAA1B,MAAM;KACd;IAAwB,kBAAkB,GAAlC,OAAO;IACiB,SAAS,GAAjC,KAAK,CAAC,SAAS;CACvB,GAAU,GAAG,CAAC,OAAO,CAoDvB;kBAxXiB,OAAO"}
@@ -1,59 +1,3 @@
1
1
  export default Page;
2
- /**
3
- * Page component that provides a structured layout with a header, primary and secondary actions, and content.
4
- *
5
- * @component
6
- *
7
- * @param {Object} props - Props for the component.
8
- * @param {string|React.ReactNode} props.title - The title of the page. Can be a string or React element.
9
- * @param {string|React.ReactNode} props.subtitle - The subtitle of the page. Can be a string or React element.
10
- * @param {Object} [props.backAction] - Configuration for the back action button.
11
- * @param {Function} [props.backAction.onAction] - Callback when the back action is triggered.
12
- * @param {string} [props.backAction.accessibilityLabel] - Accessibility label for the back action button.
13
- * @param {boolean} [props.narrowWidth=false] - Whether to use a narrow width layout.
14
- * @param {boolean} [props.fullWidth=false] - Whether to use a full-width layout.
15
- * @param {boolean} [props.showTitleInTopBar=true] - Whether to show the title in the top bar area.
16
- * @param {boolean} [props.wrapInContentContainer=true] - Whether to wrap the content in a container with padding.
17
- * @param {Object} [props.primaryAction] - Configuration for the primary action button.
18
- * @param {Function} [props.primaryAction.onAction] - Callback when the primary action is triggered.
19
- * @param {boolean} [props.primaryAction.loading] - Whether the primary action button is in a loading state.
20
- * @param {boolean} [props.primaryAction.disabled] - Whether the primary action button is disabled.
21
- * @param {boolean} [props.primaryAction.destructive] - Whether the primary action button is styled as destructive.
22
- * @param {string} [props.primaryAction.tooltip] - Tooltip to show when hovering over the primary action button.
23
- * @param {React.ReactNode} [props.primaryAction.content="Save"] - Content for the primary action button.
24
- * @param {Object[]} [props.secondaryActions=[]] - List of secondary actions.
25
- * @param {string} [props.moreActionsLabel="Actions"] - Label for the "More Actions" button in mobile view.
26
- * @param {React.ReactNode} [props.titleMetadata] - Metadata displayed alongside the title.
27
- * @param {React.ReactNode} [props.children] - Content for the main section of the page.
28
- * @param {Object} [props.footerActions] - Configuration for the footer actions.
29
- * @param {string} [props.className] - Additional CSS classes for the Page.
30
- * @returns {React.ReactElement} Rendered Page component.
31
- */
32
- declare function Page(props?: {
33
- title: string | React.ReactNode;
34
- subtitle: string | React.ReactNode;
35
- backAction?: {
36
- onAction?: Function;
37
- accessibilityLabel?: string;
38
- };
39
- narrowWidth?: boolean;
40
- fullWidth?: boolean;
41
- showTitleInTopBar?: boolean;
42
- wrapInContentContainer?: boolean;
43
- primaryAction?: {
44
- onAction?: Function;
45
- loading?: boolean;
46
- disabled?: boolean;
47
- destructive?: boolean;
48
- tooltip?: string;
49
- content?: React.ReactNode;
50
- };
51
- secondaryActions?: any[];
52
- moreActionsLabel?: string;
53
- titleMetadata?: React.ReactNode;
54
- children?: React.ReactNode;
55
- footerActions?: any;
56
- className?: string;
57
- }): React.ReactElement;
58
- import React from "react";
2
+ declare function Page(props?: {}): import("react/jsx-runtime").JSX.Element;
59
3
  //# sourceMappingURL=Page.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Page.d.ts","sourceRoot":"","sources":["../../../components/Page.js"],"names":[],"mappings":";AA0FA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,8BAzBG;IAAsC,KAAK,EAAnC,MAAM,GAAC,KAAK,CAAC,SAAS;IACQ,QAAQ,EAAtC,MAAM,GAAC,KAAK,CAAC,SAAS;IACP,UAAU,GACjC;QAAoC,QAAQ;QACV,kBAAkB,GAA5C,MAAM;KACd;IAAwB,WAAW,GAA3B,OAAO;IACS,SAAS,GAAzB,OAAO;IACS,iBAAiB,GAAjC,OAAO;IACS,sBAAsB,GAAtC,OAAO;IACQ,aAAa,GACpC;QAAuC,QAAQ;QACT,OAAO,GAArC,OAAO;QACuB,QAAQ,GAAtC,OAAO;QACuB,WAAW,GAAzC,OAAO;QACsB,OAAO,GAApC,MAAM;QACgC,OAAO,GAA7C,KAAK,CAAC,SAAS;KACvB;IAAyB,gBAAgB,GAAjC,KAAQ;IACO,gBAAgB,GAA/B,MAAM;IACkB,aAAa,GAArC,KAAK,CAAC,SAAS;IACS,QAAQ,GAAhC,KAAK,CAAC,SAAS;IACA,aAAa;IACb,SAAS,GAAxB,MAAM;CACd,GAAU,KAAK,CAAC,YAAY,CAwR9B;kBA5YuC,OAAO"}
1
+ {"version":3,"file":"Page.d.ts","sourceRoot":"","sources":["../../../components/Page.js"],"names":[],"mappings":";AAmIA,2EAwRC"}
@@ -1,9 +1,19 @@
1
1
  export default Pagination;
2
2
  /**
3
- * Pagination component for navigating between pages or steps.
4
- * Provides support for next and previous navigation with optional tooltips.
3
+ * @component Pagination
4
+ *
5
+ * @description A page navigation component with previous/next controls and optional page number display for paginated content.
6
+ *
7
+ * @usage
8
+ * - DO: Use for navigating between pages of paginated content.
9
+ * - DON'T: Use for in-page section navigation (use Tabs).
10
+ *
11
+ * @accessibility
12
+ * - Pagination buttons should have descriptive labels ("Previous page", "Next page"); disabled states are communicated to screen readers.
13
+ *
14
+ * @alternative
15
+ * - If you need tab-based content switching, use `Tabs`. If you need infinite scroll, implement custom scroll handling.
5
16
  *
6
- * @component
7
17
  * @param {Object} props - The properties for the Pagination component.
8
18
  * @param {boolean} [props.hasNext] - Indicates whether there is a next page/step.
9
19
  * @param {boolean} [props.hasPrevious] - Indicates whether there is a previous page/step.
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../components/Pagination.js"],"names":[],"mappings":";AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,oCAtBG;IAAwB,OAAO,GAAvB,OAAO;IACS,WAAW,GAA3B,OAAO;IACQ,OAAO,GAAtB,MAAM;IACS,WAAW,GAA1B,MAAM;IACW,MAAM;IACN,UAAU;IACZ,WAAW,GAA1B,MAAM;IACS,eAAe,GAA9B,MAAM;CAEd,2CA8DF"}
1
+ {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../components/Pagination.js"],"names":[],"mappings":";AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AAEH,oCAtBG;IAAwB,OAAO,GAAvB,OAAO;IACS,WAAW,GAA3B,OAAO;IACQ,OAAO,GAAtB,MAAM;IACS,WAAW,GAA1B,MAAM;IACW,MAAM;IACN,UAAU;IACZ,WAAW,GAA1B,MAAM;IACS,eAAe,GAA9B,MAAM;CAEd,2CAqEF"}
@@ -7,7 +7,59 @@ declare namespace Pane {
7
7
  export { Content };
8
8
  export { Footer };
9
9
  }
10
- declare function Header(props?: {}): import("react/jsx-runtime").JSX.Element;
11
- declare function Content(props?: {}): import("react/jsx-runtime").JSX.Element;
12
- declare function Footer(props?: {}): import("react/jsx-runtime").JSX.Element;
10
+ /**
11
+ * @component Pane.Header
12
+ *
13
+ * @usage
14
+ * - DO: Provide title and close action for the pane.
15
+ *
16
+ * @param {Object} props - Component properties.
17
+ * @param {string|React.ReactNode} [props.title] - Title text or custom element for the header.
18
+ * @param {string|React.ReactNode} [props.subtitle] - Subtitle text or custom element.
19
+ * @param {Array<Object>} [props.actions=[]] - Array of action button configurations.
20
+ * @param {boolean} [props.bottomBorder=true] - Whether to show a bottom border.
21
+ * @param {React.ReactNode} [props.subHeader] - Additional content rendered below the header row.
22
+ * @param {Object} [props.backAction] - Back navigation action with onAction callback and accessibilityLabel.
23
+ * @returns {JSX.Element} The rendered Pane.Header component.
24
+ */
25
+ declare function Header(props?: {
26
+ title?: string | React.ReactNode;
27
+ subtitle?: string | React.ReactNode;
28
+ actions?: Array<any>;
29
+ bottomBorder?: boolean;
30
+ subHeader?: React.ReactNode;
31
+ backAction?: any;
32
+ }): JSX.Element;
33
+ /**
34
+ * @component Pane.Content
35
+ *
36
+ * @usage
37
+ * - DO: Wrap scrollable content within the pane.
38
+ *
39
+ * @param {Object} props - Component properties.
40
+ * @param {React.ReactNode} props.children - Content to render inside the pane body.
41
+ * @param {boolean} [props.padded=true] - Whether to apply padding to the content area.
42
+ * @param {string} [props.className] - Additional CSS class names.
43
+ * @returns {JSX.Element} The rendered Pane.Content component.
44
+ */
45
+ declare function Content(props?: {
46
+ children: React.ReactNode;
47
+ padded?: boolean;
48
+ className?: string;
49
+ }): JSX.Element;
50
+ /**
51
+ * @component Pane.Footer
52
+ *
53
+ * @usage
54
+ * - DO: Place action buttons at the bottom of the pane.
55
+ *
56
+ * @param {Object} props - Component properties.
57
+ * @param {React.ReactNode} props.children - Content to render inside the footer.
58
+ * @param {boolean} [props.topBorder=true] - Whether to show a top border.
59
+ * @returns {JSX.Element} The rendered Pane.Footer component.
60
+ */
61
+ declare function Footer(props?: {
62
+ children: React.ReactNode;
63
+ topBorder?: boolean;
64
+ }): JSX.Element;
13
65
  //# sourceMappingURL=Pane.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Pane.d.ts","sourceRoot":"","sources":["../../../components/Pane.js"],"names":[],"mappings":"AAgGA,4CAA6C;;kBA5F4D,OAAO;AAqHhH,2EAwcC;;;;;;AAED,6EA6EC;AAGD,8EAKC;AAGD,6EAOC"}
1
+ {"version":3,"file":"Pane.d.ts","sourceRoot":"","sources":["../../../components/Pane.js"],"names":[],"mappings":"AA8HA,4CAA6C;;kBA1H4D,OAAO;AAmJhH,2EAwcC;;;;;;AAED;;;;;;;;;;;;;;GAcG;AACH,gCARG;IAAuC,KAAK,GAApC,MAAM,GAAC,KAAK,CAAC,SAAS;IACS,QAAQ,GAAvC,MAAM,GAAC,KAAK,CAAC,SAAS;IACA,OAAO,GAA7B,KAAK,KAAQ;IACG,YAAY,GAA5B,OAAO;IACiB,SAAS,GAAjC,KAAK,CAAC,SAAS;IACA,UAAU;CACjC,GAAU,GAAG,CAAC,OAAO,CA+EvB;AAGD;;;;;;;;;;;GAWG;AACH,iCALG;IAA+B,QAAQ,EAA/B,KAAK,CAAC,SAAS;IACC,MAAM,GAAtB,OAAO;IACQ,SAAS,GAAxB,MAAM;CACd,GAAU,GAAG,CAAC,OAAO,CAOvB;AAGD;;;;;;;;;;GAUG;AACH,gCAJG;IAA+B,QAAQ,EAA/B,KAAK,CAAC,SAAS;IACC,SAAS,GAAzB,OAAO;CACf,GAAU,GAAG,CAAC,OAAO,CASvB"}
@@ -1,42 +1,12 @@
1
1
  export default Popover;
2
- /**
3
- * Popover component for displaying an overlay near an activator.
4
- *
5
- * @param {Object} props - The component props.
6
- * @param {string|React.ComponentType} [props.activatorWrapper="div"] - The wrapper element for the activator.
7
- * @param {React.ReactNode} props.activator - The activator element that triggers the popover.
8
- * @param {string} [props.activatorDisplayType="inline-block"] - The display type for the activator.
9
- * @param {React.ReactNode} props.children - The content of the popover.
10
- * @param {Function} [props.onClose] - Callback function triggered when the popover is closed.
11
- * @param {boolean} [props.active=false] - Whether the popover is currently active.
12
- * @param {boolean} [props.fixed=false] - Whether the popover is fixed or absolute positioned.
13
- * @param {number} [props.zIndexOverride] - Custom z-index for the popover.
14
- * @param {boolean} [props.sectioned=false] - Whether the popover content is sectioned with padding.
15
- * @param {string} [props.preferredAlignment="center"] - Preferred alignment for the popover (left, center, right).
16
- * @param {string} [props.preferredPosition="below"] - Preferred position for the popover (above, below, cover, left, right).
17
- * @param {string} [props.className] - Additional class name for the popover.
18
- * @param {string} [props.containerClassName] - Additional class name for the popover container.
19
- * @returns {JSX.Element} The rendered popover component.
20
- */
21
- declare function Popover(props?: {
22
- activatorWrapper?: string | React.ComponentType;
23
- activator: React.ReactNode;
24
- activatorDisplayType?: string;
25
- children: React.ReactNode;
26
- onClose?: Function;
27
- active?: boolean;
28
- fixed?: boolean;
29
- zIndexOverride?: number;
30
- sectioned?: boolean;
31
- preferredAlignment?: string;
32
- preferredPosition?: string;
33
- className?: string;
34
- containerClassName?: string;
35
- }): JSX.Element;
2
+ declare function Popover(props?: {}): import("react/jsx-runtime").JSX.Element;
36
3
  declare namespace Popover {
37
4
  let displayName: string;
38
5
  /**
39
- * Section component for use within the Popover.
6
+ * @component Popover.Section
7
+ *
8
+ * @usage
9
+ * - DO: Use to divide Popover content into logical segments with borders.
40
10
  *
41
11
  * @param {Object} props - The component props.
42
12
  * @param {React.ReactNode} [props.children] - The content of the section.
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../components/Popover.js"],"names":[],"mappings":";AAyBA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,iCAhBG;IAA2C,gBAAgB,GAAnD,MAAM,GAAC,KAAK,CAAC,aAAa;IACH,SAAS,EAAhC,KAAK,CAAC,SAAS;IACA,oBAAoB,GAAnC,MAAM;IACiB,QAAQ,EAA/B,KAAK,CAAC,SAAS;IACE,OAAO;IACR,MAAM,GAAtB,OAAO;IACS,KAAK,GAArB,OAAO;IACQ,cAAc,GAA7B,MAAM;IACU,SAAS,GAAzB,OAAO;IACQ,kBAAkB,GAAjC,MAAM;IACS,iBAAiB,GAAhC,MAAM;IACS,SAAS,GAAxB,MAAM;IACS,kBAAkB,GAAjC,MAAM;CACd,GAAU,GAAG,CAAC,OAAO,CA2YvB;;;IAgBD;;;;;;;OAOG;IAEH,yBALG;QAAgC,QAAQ,GAAhC,KAAK,CAAC,SAAS;QACC,MAAM,GAAtB,OAAO;KACf,GAAU,GAAG,CAAC,OAAO,CAYvB;;;;;;kBArdmF,OAAO"}
1
+ {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../components/Popover.js"],"names":[],"mappings":";AA2DA,8EAiaC;;;IAgBD;;;;;;;;;;OAUG;IAEH,yBALG;QAAgC,QAAQ,GAAhC,KAAK,CAAC,SAAS;QACC,MAAM,GAAtB,OAAO;KACf,GAAU,GAAG,CAAC,OAAO,CAYvB;;;;;;kBA/fmF,OAAO"}