@heymantle/litho 0.0.15 → 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 (371) 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/dist/cjs/components/ActionList.js +33 -25
  6. package/dist/cjs/components/AnnouncementBar.js +115 -18
  7. package/dist/cjs/components/AnnouncementCard.js +269 -0
  8. package/dist/cjs/components/AppProvider.js +15 -2
  9. package/dist/cjs/components/Autocomplete.js +58 -36
  10. package/dist/cjs/components/Badge.js +28 -14
  11. package/dist/cjs/components/Banner.js +37 -27
  12. package/dist/cjs/components/Box.js +50 -38
  13. package/dist/cjs/components/Button.js +338 -109
  14. package/dist/cjs/components/ButtonGroup.js +27 -14
  15. package/dist/cjs/components/Card.js +311 -143
  16. package/dist/cjs/components/Checkbox.js +55 -47
  17. package/dist/cjs/components/CheckboxCard.js +222 -0
  18. package/dist/cjs/components/CheckboxCardGroup.js +384 -0
  19. package/dist/cjs/components/ChoiceList.js +21 -11
  20. package/dist/cjs/components/Code.js +22 -8
  21. package/dist/cjs/components/Collapsible.js +24 -11
  22. package/dist/cjs/components/ColorField.js +163 -38
  23. package/dist/cjs/components/ContextualSaveBar.js +13 -6
  24. package/dist/cjs/components/DatePicker.js +48 -37
  25. package/dist/cjs/components/Disclosure.js +35 -22
  26. package/dist/cjs/components/Divider.js +82 -18
  27. package/dist/cjs/components/DropZone.js +111 -37
  28. package/dist/cjs/components/EmptyState.js +18 -6
  29. package/dist/cjs/components/Filters.js +84 -36
  30. package/dist/cjs/components/FooterHelp.js +14 -4
  31. package/dist/cjs/components/Form.js +13 -2
  32. package/dist/cjs/components/Frame.js +57 -22
  33. package/dist/cjs/components/FrameSaveBar.js +37 -6
  34. package/dist/cjs/components/Grid.js +31 -15
  35. package/dist/cjs/components/HorizontalStack.js +38 -25
  36. package/dist/cjs/components/Icon.js +683 -61
  37. package/dist/cjs/components/Image.js +35 -22
  38. package/dist/cjs/components/InlineError.js +19 -10
  39. package/dist/cjs/components/Label.js +21 -12
  40. package/dist/cjs/components/Layout.js +33 -24
  41. package/dist/cjs/components/LayoutSection.js +84 -22
  42. package/dist/cjs/components/Link.js +35 -22
  43. package/dist/cjs/components/List.js +28 -12
  44. package/dist/cjs/components/Listbox.js +53 -31
  45. package/dist/cjs/components/Loading.js +14 -2
  46. package/dist/cjs/components/Modal.js +22 -40
  47. package/dist/cjs/components/Navigation.js +107 -36
  48. package/dist/cjs/components/Page.js +44 -31
  49. package/dist/cjs/components/Pagination.js +20 -5
  50. package/dist/cjs/components/Pane.js +67 -4
  51. package/dist/cjs/components/Popover.js +37 -21
  52. package/dist/cjs/components/PopoverManager.js +14 -1
  53. package/dist/cjs/components/ProgressBar.js +28 -15
  54. package/dist/cjs/components/RadioButton.js +32 -24
  55. package/dist/cjs/components/RadioButtonCard.js +92 -67
  56. package/dist/cjs/components/RadioButtonCardGroup.js +379 -0
  57. package/dist/cjs/components/RangeSlider.js +34 -26
  58. package/dist/cjs/components/ResourceList.js +28 -14
  59. package/dist/cjs/components/Select.js +38 -26
  60. package/dist/cjs/components/SkeletonText.js +33 -18
  61. package/dist/cjs/components/Spinner.js +24 -12
  62. package/dist/cjs/components/Stack.js +131 -71
  63. package/dist/cjs/components/TabNavigation.js +27 -1
  64. package/dist/cjs/components/Table.js +58 -18
  65. package/dist/cjs/components/Tabs.js +52 -23
  66. package/dist/cjs/components/Tag.js +37 -16
  67. package/dist/cjs/components/Text.js +32 -18
  68. package/dist/cjs/components/TextField.js +119 -69
  69. package/dist/cjs/components/Thumbnail.js +25 -11
  70. package/dist/cjs/components/TimePicker.js +22 -1
  71. package/dist/cjs/components/Tip.js +140 -25
  72. package/dist/cjs/components/ToastNotification.js +107 -34
  73. package/dist/cjs/components/ToastProvider.js +13 -3
  74. package/dist/cjs/components/Tooltip.js +50 -41
  75. package/dist/cjs/components/TopBar.js +83 -9
  76. package/dist/cjs/components/VerticalStack.js +31 -16
  77. package/dist/cjs/index.js +24 -0
  78. package/dist/cjs/stories/Autocomplete.stories.js +10 -10
  79. package/dist/cjs/stories/Checkbox.stories.js +6 -8
  80. package/dist/cjs/stories/CheckboxCardGroup.stories.js +459 -0
  81. package/dist/cjs/stories/Collapsible.stories.js +11 -11
  82. package/dist/cjs/stories/ColorField.stories.js +2 -3
  83. package/dist/cjs/stories/ComplexExamples.stories.js +48 -77
  84. package/dist/cjs/stories/ContextualSaveBar.stories.js +1 -1
  85. package/dist/cjs/stories/Divider.stories.js +15 -16
  86. package/dist/cjs/stories/DropZone.stories.js +3 -3
  87. package/dist/cjs/stories/FooterHelp.stories.js +3 -4
  88. package/dist/cjs/stories/Form.stories.js +2 -4
  89. package/dist/cjs/stories/Grid.stories.js +24 -33
  90. package/dist/cjs/stories/Icon.stories.js +22 -23
  91. package/dist/cjs/stories/Image.stories.js +12 -15
  92. package/dist/cjs/stories/InlineError.stories.js +0 -1
  93. package/dist/cjs/stories/Layout.stories.js +96 -2
  94. package/dist/cjs/stories/LayoutSection.stories.js +13 -18
  95. package/dist/cjs/stories/List.stories.js +24 -28
  96. package/dist/cjs/stories/Listbox.stories.js +2 -2
  97. package/dist/cjs/stories/Loading.stories.js +21 -25
  98. package/dist/cjs/stories/Modal.stories.js +0 -1
  99. package/dist/cjs/stories/Pagination.stories.js +4 -4
  100. package/dist/cjs/stories/Pane.stories.js +10 -18
  101. package/dist/cjs/stories/Popover.stories.js +7 -7
  102. package/dist/cjs/stories/PopoverManager.stories.js +9 -9
  103. package/dist/cjs/stories/ProgressBar.stories.js +8 -8
  104. package/dist/cjs/stories/RadioButton.stories.js +2 -2
  105. package/dist/cjs/stories/RadioButtonCard.stories.js +2 -2
  106. package/dist/cjs/stories/RadioButtonCardGroup.stories.js +502 -0
  107. package/dist/cjs/stories/RangeSlider.stories.js +1 -3
  108. package/dist/cjs/stories/ResourceList.stories.js +13 -13
  109. package/dist/cjs/stories/Spinner.stories.js +9 -9
  110. package/dist/cjs/stories/Stack.stories.js +233 -51
  111. package/dist/cjs/stories/Tabs.stories.js +2 -2
  112. package/dist/cjs/stories/Tag.stories.js +1 -1
  113. package/dist/cjs/stories/Thumbnail.stories.js +17 -18
  114. package/dist/cjs/stories/TimePicker.stories.js +0 -5
  115. package/dist/cjs/stories/Tip.stories.js +1 -1
  116. package/dist/esm/components/ActionList.js +33 -25
  117. package/dist/esm/components/AnnouncementBar.js +115 -18
  118. package/dist/esm/components/AnnouncementCard.js +254 -0
  119. package/dist/esm/components/AppProvider.js +15 -2
  120. package/dist/esm/components/Autocomplete.js +58 -36
  121. package/dist/esm/components/Badge.js +28 -14
  122. package/dist/esm/components/Banner.js +37 -27
  123. package/dist/esm/components/Box.js +50 -38
  124. package/dist/esm/components/Button.js +338 -109
  125. package/dist/esm/components/ButtonGroup.js +27 -14
  126. package/dist/esm/components/Card.js +300 -140
  127. package/dist/esm/components/Checkbox.js +55 -47
  128. package/dist/esm/components/CheckboxCard.js +207 -0
  129. package/dist/esm/components/CheckboxCardGroup.js +370 -0
  130. package/dist/esm/components/ChoiceList.js +21 -11
  131. package/dist/esm/components/Code.js +22 -8
  132. package/dist/esm/components/Collapsible.js +24 -11
  133. package/dist/esm/components/ColorField.js +165 -40
  134. package/dist/esm/components/ContextualSaveBar.js +13 -6
  135. package/dist/esm/components/DatePicker.js +48 -37
  136. package/dist/esm/components/Disclosure.js +35 -22
  137. package/dist/esm/components/Divider.js +78 -20
  138. package/dist/esm/components/DropZone.js +111 -37
  139. package/dist/esm/components/EmptyState.js +18 -6
  140. package/dist/esm/components/Filters.js +84 -36
  141. package/dist/esm/components/FooterHelp.js +14 -4
  142. package/dist/esm/components/Form.js +13 -2
  143. package/dist/esm/components/Frame.js +57 -22
  144. package/dist/esm/components/FrameSaveBar.js +37 -6
  145. package/dist/esm/components/Grid.js +31 -15
  146. package/dist/esm/components/HorizontalStack.js +38 -25
  147. package/dist/esm/components/Icon.js +681 -62
  148. package/dist/esm/components/Image.js +35 -22
  149. package/dist/esm/components/InlineError.js +19 -10
  150. package/dist/esm/components/Label.js +21 -12
  151. package/dist/esm/components/Layout.js +58 -25
  152. package/dist/esm/components/LayoutSection.js +84 -22
  153. package/dist/esm/components/Link.js +35 -22
  154. package/dist/esm/components/List.js +28 -12
  155. package/dist/esm/components/Listbox.js +53 -31
  156. package/dist/esm/components/Loading.js +14 -2
  157. package/dist/esm/components/Modal.js +69 -41
  158. package/dist/esm/components/Navigation.js +107 -36
  159. package/dist/esm/components/Page.js +44 -31
  160. package/dist/esm/components/Pagination.js +20 -5
  161. package/dist/esm/components/Pane.js +67 -4
  162. package/dist/esm/components/Popover.js +37 -21
  163. package/dist/esm/components/PopoverManager.js +14 -1
  164. package/dist/esm/components/ProgressBar.js +28 -15
  165. package/dist/esm/components/RadioButton.js +32 -24
  166. package/dist/esm/components/RadioButtonCard.js +92 -67
  167. package/dist/esm/components/RadioButtonCardGroup.js +364 -0
  168. package/dist/esm/components/RangeSlider.js +34 -26
  169. package/dist/esm/components/ResourceList.js +28 -14
  170. package/dist/esm/components/Select.js +38 -26
  171. package/dist/esm/components/SkeletonText.js +33 -18
  172. package/dist/esm/components/Spinner.js +24 -12
  173. package/dist/esm/components/Stack.js +131 -71
  174. package/dist/esm/components/TabNavigation.js +27 -1
  175. package/dist/esm/components/Table.js +58 -18
  176. package/dist/esm/components/Tabs.js +52 -23
  177. package/dist/esm/components/Tag.js +37 -16
  178. package/dist/esm/components/Text.js +32 -18
  179. package/dist/esm/components/TextField.js +119 -69
  180. package/dist/esm/components/Thumbnail.js +25 -11
  181. package/dist/esm/components/TimePicker.js +22 -1
  182. package/dist/esm/components/Tip.js +140 -25
  183. package/dist/esm/components/ToastNotification.js +107 -34
  184. package/dist/esm/components/ToastProvider.js +13 -3
  185. package/dist/esm/components/Tooltip.js +50 -41
  186. package/dist/esm/components/TopBar.js +83 -9
  187. package/dist/esm/components/VerticalStack.js +31 -16
  188. package/dist/esm/index.js +6 -0
  189. package/dist/esm/stories/Autocomplete.stories.js +10 -10
  190. package/dist/esm/stories/Checkbox.stories.js +6 -8
  191. package/dist/esm/stories/CheckboxCardGroup.stories.js +421 -0
  192. package/dist/esm/stories/Collapsible.stories.js +11 -11
  193. package/dist/esm/stories/ColorField.stories.js +2 -3
  194. package/dist/esm/stories/ComplexExamples.stories.js +48 -77
  195. package/dist/esm/stories/ContextualSaveBar.stories.js +1 -1
  196. package/dist/esm/stories/Divider.stories.js +15 -16
  197. package/dist/esm/stories/DropZone.stories.js +3 -3
  198. package/dist/esm/stories/FooterHelp.stories.js +3 -4
  199. package/dist/esm/stories/Form.stories.js +2 -4
  200. package/dist/esm/stories/Grid.stories.js +24 -33
  201. package/dist/esm/stories/Icon.stories.js +22 -23
  202. package/dist/esm/stories/Image.stories.js +12 -15
  203. package/dist/esm/stories/InlineError.stories.js +0 -1
  204. package/dist/esm/stories/Layout.stories.js +93 -2
  205. package/dist/esm/stories/LayoutSection.stories.js +13 -18
  206. package/dist/esm/stories/List.stories.js +24 -28
  207. package/dist/esm/stories/Listbox.stories.js +2 -2
  208. package/dist/esm/stories/Loading.stories.js +21 -25
  209. package/dist/esm/stories/Modal.stories.js +0 -1
  210. package/dist/esm/stories/Pagination.stories.js +4 -4
  211. package/dist/esm/stories/Pane.stories.js +10 -18
  212. package/dist/esm/stories/Popover.stories.js +7 -7
  213. package/dist/esm/stories/PopoverManager.stories.js +9 -9
  214. package/dist/esm/stories/ProgressBar.stories.js +8 -8
  215. package/dist/esm/stories/RadioButton.stories.js +2 -2
  216. package/dist/esm/stories/RadioButtonCard.stories.js +2 -2
  217. package/dist/esm/stories/RadioButtonCardGroup.stories.js +461 -0
  218. package/dist/esm/stories/RangeSlider.stories.js +1 -3
  219. package/dist/esm/stories/ResourceList.stories.js +13 -13
  220. package/dist/esm/stories/Spinner.stories.js +9 -9
  221. package/dist/esm/stories/Stack.stories.js +224 -51
  222. package/dist/esm/stories/Tabs.stories.js +2 -2
  223. package/dist/esm/stories/Tag.stories.js +1 -1
  224. package/dist/esm/stories/Thumbnail.stories.js +17 -18
  225. package/dist/esm/stories/TimePicker.stories.js +0 -5
  226. package/dist/esm/stories/Tip.stories.js +1 -1
  227. package/dist/types/components/ActionList.d.ts +1 -31
  228. package/dist/types/components/ActionList.d.ts.map +1 -1
  229. package/dist/types/components/AnnouncementBar.d.ts +1 -19
  230. package/dist/types/components/AnnouncementBar.d.ts.map +1 -1
  231. package/dist/types/components/AnnouncementCard.d.ts +3 -0
  232. package/dist/types/components/AnnouncementCard.d.ts.map +1 -0
  233. package/dist/types/components/AppProvider.d.ts +14 -1
  234. package/dist/types/components/AppProvider.d.ts.map +1 -1
  235. package/dist/types/components/Autocomplete.d.ts +1 -71
  236. package/dist/types/components/Autocomplete.d.ts.map +1 -1
  237. package/dist/types/components/Badge.d.ts +1 -19
  238. package/dist/types/components/Badge.d.ts.map +1 -1
  239. package/dist/types/components/Banner.d.ts +1 -37
  240. package/dist/types/components/Banner.d.ts.map +1 -1
  241. package/dist/types/components/Box.d.ts +1 -68
  242. package/dist/types/components/Box.d.ts.map +1 -1
  243. package/dist/types/components/Button.d.ts +1 -131
  244. package/dist/types/components/Button.d.ts.map +1 -1
  245. package/dist/types/components/ButtonGroup.d.ts +1 -22
  246. package/dist/types/components/ButtonGroup.d.ts.map +1 -1
  247. package/dist/types/components/Card.d.ts +54 -59
  248. package/dist/types/components/Card.d.ts.map +1 -1
  249. package/dist/types/components/Checkbox.d.ts +1 -63
  250. package/dist/types/components/Checkbox.d.ts.map +1 -1
  251. package/dist/types/components/CheckboxCard.d.ts +3 -0
  252. package/dist/types/components/CheckboxCard.d.ts.map +1 -0
  253. package/dist/types/components/CheckboxCardGroup.d.ts +3 -0
  254. package/dist/types/components/CheckboxCardGroup.d.ts.map +1 -0
  255. package/dist/types/components/ChoiceList.d.ts +1 -42
  256. package/dist/types/components/ChoiceList.d.ts.map +1 -1
  257. package/dist/types/components/Code.d.ts +1 -26
  258. package/dist/types/components/Code.d.ts.map +1 -1
  259. package/dist/types/components/Collapsible.d.ts +1 -15
  260. package/dist/types/components/Collapsible.d.ts.map +1 -1
  261. package/dist/types/components/ColorField.d.ts +13 -34
  262. package/dist/types/components/ColorField.d.ts.map +1 -1
  263. package/dist/types/components/ContextualSaveBar.d.ts +13 -6
  264. package/dist/types/components/ContextualSaveBar.d.ts.map +1 -1
  265. package/dist/types/components/DatePicker.d.ts +1 -64
  266. package/dist/types/components/DatePicker.d.ts.map +1 -1
  267. package/dist/types/components/Disclosure.d.ts +1 -25
  268. package/dist/types/components/Disclosure.d.ts.map +1 -1
  269. package/dist/types/components/Divider.d.ts +1 -19
  270. package/dist/types/components/Divider.d.ts.map +1 -1
  271. package/dist/types/components/DropZone.d.ts +1 -62
  272. package/dist/types/components/DropZone.d.ts.map +1 -1
  273. package/dist/types/components/EmptyState.d.ts +1 -50
  274. package/dist/types/components/EmptyState.d.ts.map +1 -1
  275. package/dist/types/components/Filters.d.ts +13 -68
  276. package/dist/types/components/Filters.d.ts.map +1 -1
  277. package/dist/types/components/FooterHelp.d.ts +14 -4
  278. package/dist/types/components/FooterHelp.d.ts.map +1 -1
  279. package/dist/types/components/Form.d.ts +13 -2
  280. package/dist/types/components/Form.d.ts.map +1 -1
  281. package/dist/types/components/Frame.d.ts +15 -36
  282. package/dist/types/components/Frame.d.ts.map +1 -1
  283. package/dist/types/components/FrameSaveBar.d.ts +3 -6
  284. package/dist/types/components/FrameSaveBar.d.ts.map +1 -1
  285. package/dist/types/components/Grid.d.ts +5 -21
  286. package/dist/types/components/Grid.d.ts.map +1 -1
  287. package/dist/types/components/HorizontalStack.d.ts +1 -34
  288. package/dist/types/components/HorizontalStack.d.ts.map +1 -1
  289. package/dist/types/components/Icon.d.ts +1 -41
  290. package/dist/types/components/Icon.d.ts.map +1 -1
  291. package/dist/types/components/Image.d.ts +1 -43
  292. package/dist/types/components/Image.d.ts.map +1 -1
  293. package/dist/types/components/InlineError.d.ts +1 -20
  294. package/dist/types/components/InlineError.d.ts.map +1 -1
  295. package/dist/types/components/Label.d.ts +1 -26
  296. package/dist/types/components/Label.d.ts.map +1 -1
  297. package/dist/types/components/Layout.d.ts +24 -15
  298. package/dist/types/components/Layout.d.ts.map +1 -1
  299. package/dist/types/components/LayoutSection.d.ts +1 -19
  300. package/dist/types/components/LayoutSection.d.ts.map +1 -1
  301. package/dist/types/components/Link.d.ts +1 -37
  302. package/dist/types/components/Link.d.ts.map +1 -1
  303. package/dist/types/components/List.d.ts +5 -17
  304. package/dist/types/components/List.d.ts.map +1 -1
  305. package/dist/types/components/Listbox.d.ts +1 -32
  306. package/dist/types/components/Listbox.d.ts.map +1 -1
  307. package/dist/types/components/Loading.d.ts +14 -2
  308. package/dist/types/components/Loading.d.ts.map +1 -1
  309. package/dist/types/components/Modal.d.ts +26 -35
  310. package/dist/types/components/Modal.d.ts.map +1 -1
  311. package/dist/types/components/Navigation.d.ts +1 -25
  312. package/dist/types/components/Navigation.d.ts.map +1 -1
  313. package/dist/types/components/Page.d.ts +1 -57
  314. package/dist/types/components/Page.d.ts.map +1 -1
  315. package/dist/types/components/Pagination.d.ts +13 -3
  316. package/dist/types/components/Pagination.d.ts.map +1 -1
  317. package/dist/types/components/Pane.d.ts +55 -3
  318. package/dist/types/components/Pane.d.ts.map +1 -1
  319. package/dist/types/components/Popover.d.ts +5 -37
  320. package/dist/types/components/Popover.d.ts.map +1 -1
  321. package/dist/types/components/PopoverManager.d.ts.map +1 -1
  322. package/dist/types/components/ProgressBar.d.ts +1 -22
  323. package/dist/types/components/ProgressBar.d.ts.map +1 -1
  324. package/dist/types/components/RadioButton.d.ts +1 -37
  325. package/dist/types/components/RadioButton.d.ts.map +1 -1
  326. package/dist/types/components/RadioButtonCard.d.ts +1 -39
  327. package/dist/types/components/RadioButtonCard.d.ts.map +1 -1
  328. package/dist/types/components/RadioButtonCardGroup.d.ts +3 -0
  329. package/dist/types/components/RadioButtonCardGroup.d.ts.map +1 -0
  330. package/dist/types/components/RangeSlider.d.ts +1 -42
  331. package/dist/types/components/RangeSlider.d.ts.map +1 -1
  332. package/dist/types/components/ResourceList.d.ts +5 -30
  333. package/dist/types/components/ResourceList.d.ts.map +1 -1
  334. package/dist/types/components/Select.d.ts +1 -46
  335. package/dist/types/components/Select.d.ts.map +1 -1
  336. package/dist/types/components/SkeletonText.d.ts +1 -26
  337. package/dist/types/components/SkeletonText.d.ts.map +1 -1
  338. package/dist/types/components/Spinner.d.ts +1 -16
  339. package/dist/types/components/Spinner.d.ts.map +1 -1
  340. package/dist/types/components/Stack.d.ts +1 -47
  341. package/dist/types/components/Stack.d.ts.map +1 -1
  342. package/dist/types/components/TabNavigation.d.ts.map +1 -1
  343. package/dist/types/components/Table.d.ts +13 -58
  344. package/dist/types/components/Table.d.ts.map +1 -1
  345. package/dist/types/components/Tabs.d.ts +3 -41
  346. package/dist/types/components/Tabs.d.ts.map +1 -1
  347. package/dist/types/components/Tag.d.ts +1 -24
  348. package/dist/types/components/Tag.d.ts.map +1 -1
  349. package/dist/types/components/Text.d.ts +1 -30
  350. package/dist/types/components/Text.d.ts.map +1 -1
  351. package/dist/types/components/TextField.d.ts +1 -109
  352. package/dist/types/components/TextField.d.ts.map +1 -1
  353. package/dist/types/components/Thumbnail.d.ts +1 -16
  354. package/dist/types/components/Thumbnail.d.ts.map +1 -1
  355. package/dist/types/components/TimePicker.d.ts +28 -1
  356. package/dist/types/components/TimePicker.d.ts.map +1 -1
  357. package/dist/types/components/Tip.d.ts +1 -21
  358. package/dist/types/components/Tip.d.ts.map +1 -1
  359. package/dist/types/components/ToastNotification.d.ts +1 -34
  360. package/dist/types/components/ToastNotification.d.ts.map +1 -1
  361. package/dist/types/components/ToastProvider.d.ts +13 -3
  362. package/dist/types/components/ToastProvider.d.ts.map +1 -1
  363. package/dist/types/components/Tooltip.d.ts +1 -54
  364. package/dist/types/components/Tooltip.d.ts.map +1 -1
  365. package/dist/types/components/TopBar.d.ts +1 -19
  366. package/dist/types/components/TopBar.d.ts.map +1 -1
  367. package/dist/types/components/VerticalStack.d.ts +1 -25
  368. package/dist/types/components/VerticalStack.d.ts.map +1 -1
  369. package/dist/types/index.d.ts +6 -0
  370. package/index.css +76 -14
  371. package/package.json +4 -3
@@ -345,7 +345,6 @@ export var SchedulingForm = {
345
345
  children: [
346
346
  /*#__PURE__*/ _jsxs(Grid, {
347
347
  columns: 2,
348
- gap: "4",
349
348
  children: [
350
349
  /*#__PURE__*/ _jsx(TimePicker, {
351
350
  label: "Start time",
@@ -365,7 +364,6 @@ export var SchedulingForm = {
365
364
  }),
366
365
  /*#__PURE__*/ _jsxs(Grid, {
367
366
  columns: 2,
368
- gap: "4",
369
367
  children: [
370
368
  /*#__PURE__*/ _jsx(TimePicker, {
371
369
  label: "Break start",
@@ -503,7 +501,6 @@ export var EventPlanning = {
503
501
  }),
504
502
  /*#__PURE__*/ _jsxs(Grid, {
505
503
  columns: 2,
506
- gap: "4",
507
504
  children: [
508
505
  /*#__PURE__*/ _jsx(TimePicker, {
509
506
  label: "Start time",
@@ -589,7 +586,6 @@ export var AppointmentBooking = {
589
586
  children: [
590
587
  /*#__PURE__*/ _jsxs(Grid, {
591
588
  columns: 2,
592
- gap: "4",
593
589
  children: [
594
590
  /*#__PURE__*/ _jsxs(Stack, {
595
591
  gap: "sm",
@@ -771,7 +767,6 @@ export var RestaurantReservation = {
771
767
  children: [
772
768
  /*#__PURE__*/ _jsxs(Grid, {
773
769
  columns: "2fr 1fr",
774
- gap: "4",
775
770
  children: [
776
771
  /*#__PURE__*/ _jsx(TimePicker, {
777
772
  label: "Preferred time",
@@ -295,7 +295,7 @@ export var DismissibleTips = {
295
295
  !Object.values(visibleTips).some(Boolean) && /*#__PURE__*/ _jsx(Box, {
296
296
  padding: "2",
297
297
  children: /*#__PURE__*/ _jsxs(Stack, {
298
- inlineAlign: "center",
298
+ align: "center",
299
299
  children: [
300
300
  /*#__PURE__*/ _jsx(Text, {
301
301
  style: {
@@ -87,36 +87,6 @@ export type ActionListItem = {
87
87
  * @property {string} url - The URL to navigate to when the action item is selected.
88
88
  * @property {SecondaryAction} secondaryAction - The secondary action to display for the action item.
89
89
  */
90
- /**
91
- * ActionList component renders a list of actionable items with optional sections.
92
- * Supports keyboard navigation and action triggers on item selection.
93
- *
94
- * @component
95
- * @param {Object} props - Component properties.
96
- * @param {Array<{title: string, items: Array<ActionListItem>}>} [props.sections] - Sections containing items for the action list.
97
- * @param {Array<ActionListItem>} [props.items] - List of items to render in the action list when no sections are provided.
98
- * @param {string} [props.iconColor="subdued"] - Default color for icons in the action items.
99
- * @param {function} [props.onActionAnyItem] - Callback function invoked whenever any action item is selected.
100
- * @param {boolean} [props.fullWidth=false] - Whether to apply full width styling to the action list.
101
- * @param {boolean} [props.padded=true] - Whether to apply padding to the action list.
102
- * @param {string} [props.className] - Additional CSS classes to apply to the action list.
103
- * @example
104
- * const items = [{ content: 'Item 1', onAction: () => {} }];
105
- * <ActionList items={items} />
106
- *
107
- * @returns {JSX.Element} The rendered ActionList component.
108
- */
109
- declare function ActionList(props?: {
110
- sections?: Array<{
111
- title: string;
112
- items: Array<ActionListItem>;
113
- }>;
114
- items?: Array<ActionListItem>;
115
- iconColor?: string;
116
- onActionAnyItem?: Function;
117
- fullWidth?: boolean;
118
- padded?: boolean;
119
- className?: string;
120
- }): JSX.Element;
90
+ declare function ActionList(props?: {}): import("react/jsx-runtime").JSX.Element;
121
91
  import React from "react";
122
92
  //# sourceMappingURL=ActionList.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ActionList.d.ts","sourceRoot":"","sources":["../../../components/ActionList.js"],"names":[],"mappings":";;;;;UAoDc,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;;;;aACtD,MAAM;;;;;;;;;;WAMN,MAAM;;;;WACN,KAAK,CAAC,cAAc,CAAC;;;;;;;;;aAKrB,MAAM;;;;cACN,OAAO;;;;iBACP,OAAO;;;;UACP,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;;;;;;;;YAEtD,KAAK,CAAC,SAAS;;;;cACf,MAAM;;;;SACN,MAAM;;;;qBACN,eAAe;;AAvB7B;;;;;GAKG;AAEH;;;;GAIG;AAEH;;;;;;;;;;;GAWG;AAEH;;;;;;;;;;;;;;;;;;GAkBG;AAEH,oCAdG;IAAqE,QAAQ,GAArE,KAAK,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,CAAA;KAAC,CAAC;IACtB,KAAK,GAAnC,KAAK,CAAC,cAAc,CAAC;IACN,SAAS,GAAxB,MAAM;IACW,eAAe;IAChB,SAAS,GAAzB,OAAO;IACS,MAAM,GAAtB,OAAO;IACQ,SAAS,GAAxB,MAAM;CACd,GAIU,GAAG,CAAC,OAAO,CA0MvB;kBArSwC,OAAO"}
1
+ {"version":3,"file":"ActionList.d.ts","sourceRoot":"","sources":["../../../components/ActionList.js"],"names":[],"mappings":";;;;;UAmFc,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;;;;aACtD,MAAM;;;;;;;;;;WAMN,MAAM;;;;WACN,KAAK,CAAC,cAAc,CAAC;;;;;;;;;aAKrB,MAAM;;;;cACN,OAAO;;;;iBACP,OAAO;;;;UACP,KAAK,CAAC,iBAAiB,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;;;;;;;;YAEtD,KAAK,CAAC,SAAS;;;;cACf,MAAM;;;;SACN,MAAM;;;;qBACN,eAAe;;AAvB7B;;;;;GAKG;AAEH;;;;GAIG;AAEH;;;;;;;;;;;GAWG;AAEH,iFAmMC;kBA5SwC,OAAO"}
@@ -1,21 +1,3 @@
1
1
  export default AnnouncementBar;
2
- /**
3
- * AnnouncementBar Component
4
- *
5
- * @param {Object} props - Component properties.
6
- * @param {Function} [props.onClick] - Click handler function.
7
- * @param {string} props.content - Text content to be displayed.
8
- * @param {string} [props.icon] - Icon source name.
9
- * @param {"bounce"} [props.animateIcon] - Animation type for the icon.
10
- * @param {boolean} [props.fixed] - Whether to fix the announcement bar to the top of the page.
11
- *
12
- * @returns {JSX.Element} AnnouncementBar component.
13
- */
14
- declare function AnnouncementBar(props?: {
15
- onClick?: Function;
16
- content: string;
17
- icon?: string;
18
- animateIcon?: "bounce";
19
- fixed?: boolean;
20
- }): JSX.Element;
2
+ declare function AnnouncementBar(props?: {}): import("react/jsx-runtime").JSX.Element;
21
3
  //# sourceMappingURL=AnnouncementBar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AnnouncementBar.d.ts","sourceRoot":"","sources":["../../../components/AnnouncementBar.js"],"names":[],"mappings":";AA0BA;;;;;;;;;;;GAWG;AACH,yCARG;IAAyB,OAAO;IACV,OAAO,EAArB,MAAM;IACS,IAAI,GAAnB,MAAM;IACW,WAAW,GAA5B,QAAQ;IACQ,KAAK,GAArB,OAAO;CAEf,GAAU,GAAG,CAAC,OAAO,CAsBvB"}
1
+ {"version":3,"file":"AnnouncementBar.d.ts","sourceRoot":"","sources":["../../../components/AnnouncementBar.js"],"names":[],"mappings":";AAsDA,sFAmDC"}
@@ -0,0 +1,3 @@
1
+ export default AnnouncementCard;
2
+ declare function AnnouncementCard(props?: {}): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=AnnouncementCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AnnouncementCard.d.ts","sourceRoot":"","sources":["../../../components/AnnouncementCard.js"],"names":[],"mappings":";AA+JA,uFA+EC"}
@@ -42,7 +42,20 @@ export type DarkModeContextType = {
42
42
  };
43
43
  import React from "react";
44
44
  /**
45
- * Provider component for managing global application state.
45
+ * @component AppProvider
46
+ *
47
+ * @description The root context provider that initializes dark mode, frame state, and form context for the entire Litho application.
48
+ *
49
+ * @usage
50
+ * - DO: Wrap your entire application to provide dark mode, frame, and form context.
51
+ * - DON'T: Use multiple AppProviders in the same tree.
52
+ *
53
+ * @accessibility
54
+ * - AppProvider manages the `data-theme` attribute on `<html>` for dark mode; ensures consistent theming for all components.
55
+ *
56
+ * @alternative
57
+ * - If you only need toast notifications, use `ToastProvider` independently.
58
+ *
46
59
  * @param {Object} props
47
60
  * @param {React.ReactNode} props.children - The child components.
48
61
  * @param {boolean} props.embedded - Whether the app is embedded.
@@ -1 +1 @@
1
- {"version":3,"file":"AppProvider.d.ts","sourceRoot":"","sources":["../../../components/AppProvider.js"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,iDAAmD;AAK5C,+BAFM,mBAAmB,CAe/B;AAED;;;;;;;;;;;;GAYG;AACH,6CAA+C;;;;;;uBAtCjC,OAAO;;;;cACP,OAAO;;;;oBACP,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI;;;;0BAC3B,CAAC,iBAAiB,EAAE,OAAO,KAAK,IAAI;;kBAPoB,OAAO;AAgF7E;;;;;;;;;GASG;AACH,mIAPG;IAA+B,QAAQ,EAA/B,KAAK,CAAC,SAAS;IACA,QAAQ,EAAvB,OAAO;IACQ,iBAAiB,EAAhC,OAAO;IACO,kBAAkB,EAAhC,MAAM;IAC6B,gBAAgB,EAAnD,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI;CACnC,GAAU,GAAG,CAAC,OAAO,CAsGvB"}
1
+ {"version":3,"file":"AppProvider.d.ts","sourceRoot":"","sources":["../../../components/AppProvider.js"],"names":[],"mappings":"AAIA;;;;;;GAMG;AACH,iDAAmD;AAK5C,+BAFM,mBAAmB,CAe/B;AAED;;;;;;;;;;;;GAYG;AACH,6CAA+C;;;;;;uBAtCjC,OAAO;;;;cACP,OAAO;;;;oBACP,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI;;;;0BAC3B,CAAC,iBAAiB,EAAE,OAAO,KAAK,IAAI;;kBAPoB,OAAO;AAgF7E;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,mIAPG;IAA+B,QAAQ,EAA/B,KAAK,CAAC,SAAS;IACA,QAAQ,EAAvB,OAAO;IACQ,iBAAiB,EAAhC,OAAO;IACO,kBAAkB,EAAhC,MAAM;IAC6B,gBAAgB,EAAnD,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI;CACnC,GAAU,GAAG,CAAC,OAAO,CAsGvB"}
@@ -39,77 +39,7 @@ export type AutocompleteEmptyState = {
39
39
  */
40
40
  icon: React.ReactNode;
41
41
  };
42
- /**
43
- * @typedef {Object} AutocompleteOption
44
- * @property {string|React.ReactNode} label - The label to display for the option. Can be a string or a React element (e.g., text with a badge).
45
- * @property {string} value - The value to associate with the option.
46
- * @property {string} [title] - An optional title to display for the option.
47
- * @property {boolean} [allowMultiple] - Whether multiple options can be selected.
48
- * @property {string} [selected] - The value of the option that is currently selected.
49
- * @property {function} [onSelect] - The function to call when the option is selected.
50
- * @property {Array<AutocompleteOption>} [options] - An optional array of sub-options to display for the option.
51
- */
52
- /**
53
- * @typedef {Object} AutocompleteEmptyState
54
- * @property {string} content - The content to display in the empty state.
55
- * @property {React.ReactNode} icon - An optional icon to display in the empty state.
56
- */
57
- /**
58
- * Autocomplete component that provides a flexible dropdown menu with search and selection capabilities.
59
- *
60
- * @component
61
- * @param {Object} props - The props for the Autocomplete component.
62
- * @param {Array<AutocompleteOption>} props.options - The options to display in the dropdown.
63
- * @param {Array<string>} props.selected - The currently selected option values.
64
- * @param {"below"|"above"} [props.preferredPosition="below"] - The preferred position of the dropdown relative to the activator.
65
- * @param {"left"|"center"|"right"} [props.preferredAlignment="left"] - The preferred alignment of the dropdown.
66
- * @param {boolean} [props.allowMultiple=false] - Whether multiple options can be selected.
67
- * @param {boolean} [props.loading=false] - Whether to show a loading spinner in the dropdown.
68
- * @param {AutocompleteEmptyState} [props.emptyState] - The content to display when there are no options.
69
- * @param {function(Array<string>)} props.onSelect - Callback fired when the selection changes. Receives the new selected values.
70
- * @param {React.ReactNode} props.textField - The activator for the dropdown, typically a `TextField` component.
71
- * @param {string} [props.className] - Additional class names to apply to the component.
72
- * @param {function} [props.onClose] - Callback fired when the dropdown closes.
73
- * @param {number} [props.zIndexOverride] - Custom z-index for the dropdown.
74
- *
75
- * @example
76
- * // Basic usage with string labels
77
- * <Autocomplete
78
- * options={[{ label: "Option 1", value: "1" }, { label: "Option 2", value: "2" }]}
79
- * selected={["1"]}
80
- * allowMultiple
81
- * onSelect={(selected) => console.log(selected)}
82
- * textField={<Autocomplete.TextField placeholder="Search..." />}
83
- * />
84
- *
85
- * @example
86
- * // With React element labels (e.g., text with badges)
87
- * <Autocomplete
88
- * options={[
89
- * {
90
- * label: <Stack horizontal gap="xs" blockAlign="center"><span>Premium</span><Badge>New</Badge></Stack>,
91
- * value: "premium"
92
- * }
93
- * ]}
94
- * selected={[]}
95
- * onSelect={(selected) => console.log(selected)}
96
- * textField={<Autocomplete.TextField placeholder="Search..." />}
97
- * />
98
- */
99
- declare function Autocomplete(props?: {
100
- options: Array<AutocompleteOption>;
101
- selected: Array<string>;
102
- preferredPosition?: "below" | "above";
103
- preferredAlignment?: "left" | "center" | "right";
104
- allowMultiple?: boolean;
105
- loading?: boolean;
106
- emptyState?: AutocompleteEmptyState;
107
- onSelect: (arg0: Array<string>) => any;
108
- textField: React.ReactNode;
109
- className?: string;
110
- onClose?: Function;
111
- zIndexOverride?: number;
112
- }): import("react/jsx-runtime").JSX.Element;
42
+ declare function Autocomplete(props?: {}): import("react/jsx-runtime").JSX.Element;
113
43
  declare namespace Autocomplete {
114
44
  export let displayName: string;
115
45
  export { AutocompleteTextField as TextField };
@@ -1 +1 @@
1
- {"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../components/Autocomplete.js"],"names":[],"mappings":";;;;;WAkCc,MAAM,GAAC,KAAK,CAAC,SAAS;;;;WACtB,MAAM;;;;YACN,MAAM;;;;oBACN,OAAO;;;;eACP,MAAM;;;;;;;;cAEN,KAAK,CAAC,kBAAkB,CAAC;;;;;;aAKzB,MAAM;;;;UACN,KAAK,CAAC,SAAS;;AAd7B;;;;;;;;;GASG;AAEH;;;;GAIG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AAEH,sCAtCG;IAAyC,OAAO,EAAxC,KAAK,CAAC,kBAAkB,CAAC;IACJ,QAAQ,EAA7B,KAAK,CAAC,MAAM,CAAC;IACW,iBAAiB,GAAzC,OAAO,GAAC,OAAO;IACiB,kBAAkB,GAAlD,MAAM,GAAC,QAAQ,GAAC,OAAO;IACP,aAAa,GAA7B,OAAO;IACS,OAAO,GAAvB,OAAO;IACwB,UAAU,GAAzC,sBAAsB;IACS,QAAQ,EAAvC,CAAS,IAAa,EAAb,KAAK,CAAC,MAAM,CAAC,QAAC;IACA,SAAS,EAAhC,KAAK,CAAC,SAAS;IACA,SAAS,GAAxB,MAAM;IACW,OAAO;IACT,cAAc,GAA7B,MAAM;CAEd,2CAmKF;;;;;kBApO6D,OAAO;AAuOrE;;;;;;;;;;;;;;;;;;GAkBG;AAEH,+CAfG;IAAyB,gBAAgB;IAChB,OAAO;IACT,WAAW,GAA1B,MAAM;IACS,KAAK,GAApB,MAAM;IACS,KAAK,GAApB,MAAM;IACS,WAAW,GAA1B,MAAM;IACW,QAAQ;CAEjC,2CAqBF"}
1
+ {"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../components/Autocomplete.js"],"names":[],"mappings":";;;;;WAwEc,MAAM,GAAC,KAAK,CAAC,SAAS;;;;WACtB,MAAM;;;;YACN,MAAM;;;;oBACN,OAAO;;;;eACP,MAAM;;;;;;;;cAEN,KAAK,CAAC,kBAAkB,CAAC;;;;;;aAKzB,MAAM;;;;UACN,KAAK,CAAC,SAAS;;AAmB7B,mFAmJC;;;;;kBAxP6D,OAAO;AA2PrE;;;;;;;;;;;;;;;;;;GAkBG;AAEH,+CAfG;IAAyB,gBAAgB;IAChB,OAAO;IACT,WAAW,GAA1B,MAAM;IACS,KAAK,GAApB,MAAM;IACS,KAAK,GAApB,MAAM;IACS,WAAW,GAA1B,MAAM;IACW,QAAQ;CAEjC,2CAqBF"}
@@ -1,21 +1,3 @@
1
1
  export default Badge;
2
- /**
3
- * A Badge component that renders a small, colored label with a status or progress indicator. The badge can be configured with different statuses, progress states, and sizes.
4
- *
5
- * @component
6
- * @param {object} props - Component properties.
7
- * @param {React.ReactNode} props.children - Content to display within the badge.
8
- * @param {"complete" | "incomplete" | "partiallyComplete" | null} [props.progress] - Progress state of the badge.
9
- * @param {boolean} [props.capitalize] - Capitalize the first letter of the badge.
10
- * @param {"default" | "info" | "success" | "warning" | "critical" | "attention" | "highlight"} [props.status="default"] - Status variant to style the badge.
11
- * @param {string} [props.className] - Additional CSS classes to apply to the badge.
12
- * @returns {JSX.Element} - Rendered Badge component with optional progress indicator.
13
- */
14
- declare function Badge(props?: {
15
- children: React.ReactNode;
16
- progress?: "complete" | "incomplete" | "partiallyComplete" | null;
17
- capitalize?: boolean;
18
- status?: "default" | "info" | "success" | "warning" | "critical" | "attention" | "highlight";
19
- className?: string;
20
- }): JSX.Element;
2
+ declare function Badge(props?: {}): import("react/jsx-runtime").JSX.Element;
21
3
  //# sourceMappingURL=Badge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../components/Badge.js"],"names":[],"mappings":";AAkFA;;;;;;;;;;;GAWG;AACH,+BAPG;IAA+B,QAAQ,EAA/B,KAAK,CAAC,SAAS;IACgD,QAAQ,GAAvE,UAAU,GAAG,YAAY,GAAG,mBAAmB,GAAG,IAAI;IACtC,UAAU,GAA1B,OAAO;IACqF,MAAM,GAAlG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,WAAW,GAAG,WAAW;IACpE,SAAS,GAAxB,MAAM;CACd,GAAU,GAAG,CAAC,OAAO,CA4BvB"}
1
+ {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../components/Badge.js"],"names":[],"mappings":";AA6GA,4EA0BC"}
@@ -38,41 +38,5 @@ export type BannerAction = {
38
38
  * @property {Function} [onAction] - Click handler for the action
39
39
  * @property {string} [url] - URL to navigate to when clicked (opens in new tab)
40
40
  */
41
- /**
42
- * A Banner component that displays a styled banner with customizable title, status, icon, actions, and dismiss functionality.
43
- * The banner style and content change based on the provided props, allowing for various statuses and themes.
44
- *
45
- * @component
46
- *
47
- * @param {Object} props - The properties for configuring the Banner component.
48
- * @param {string} [props.title] - The title text for the banner. If not provided, no title will be displayed.
49
- * @param {BannerStatus} [props.status='neutral'] - The status of the banner, which determines its color and icon.
50
- * @param {Function} [props.onDismiss] - Callback function to handle the banner's dismiss action.
51
- * @param {React.ReactNode} [props.children] - Additional content to display within the banner.
52
- * @param {BannerAction} [props.action] - Primary action configuration object
53
- * @param {BannerAction} [props.secondaryAction] - Secondary action configuration object
54
- * @param {FunctionComponent} [props.icon] - Custom icon to display on the banner. If not provided, a default icon is used based on the status.
55
- * @param {boolean} [props.spinner] - Shows a spinner icon instead of a status icon when set to true.
56
- *
57
- * @returns {JSX.Element} The rendered Banner component.
58
- *
59
- * @example
60
- * <Banner
61
- * title="Warning"
62
- * status="warning"
63
- * onDismiss={() => console.log('Dismissed')}
64
- * action={{ content: "Action", primary: true, onAction: () => console.log('Action clicked') }}
65
- * secondaryAction={{ content: "Learn more", link: true, monochrome: true, url: "https://example.com" }}
66
- * />
67
- */
68
- declare function Banner(props?: {
69
- title?: string;
70
- status?: BannerStatus;
71
- onDismiss?: Function;
72
- children?: React.ReactNode;
73
- action?: BannerAction;
74
- secondaryAction?: BannerAction;
75
- icon?: FunctionComponent;
76
- spinner?: boolean;
77
- }): JSX.Element;
41
+ declare function Banner(props?: {}): import("react/jsx-runtime").JSX.Element;
78
42
  //# sourceMappingURL=Banner.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../components/Banner.js"],"names":[],"mappings":";2BAyEa,SAAS,GAAG,UAAU,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,WAAW;;;;;aAK9F,MAAM;;;;cACN,OAAO;;;;eACP,OAAO;;;;cACP,OAAO;;;;;;;;UAEP,MAAM;;AAXpB;;GAEG;AAEH;;;;;;;;GAQG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AAEH,gCArBG;IAAuB,KAAK,GAApB,MAAM;IACe,MAAM,GAA3B,YAAY;IACK,SAAS;IACF,QAAQ,GAAhC,KAAK,CAAC,SAAS;IACM,MAAM,GAA3B,YAAY;IACS,eAAe,GAApC,YAAY;IACc,IAAI,GAA9B,iBAAiB;IACD,OAAO,GAAvB,OAAO;CAEf,GAAU,GAAG,CAAC,OAAO,CAuJvB"}
1
+ {"version":3,"file":"Banner.d.ts","sourceRoot":"","sources":["../../../components/Banner.js"],"names":[],"mappings":";2BA+Ga,SAAS,GAAG,UAAU,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,WAAW;;;;;aAK9F,MAAM;;;;cACN,OAAO;;;;eACP,OAAO;;;;cACP,OAAO;;;;;;;;UAEP,MAAM;;AAXpB;;GAEG;AAEH;;;;;;;;GAQG;AAEH,6EA2IC"}
@@ -1,70 +1,3 @@
1
1
  export default Box;
2
- /**
3
- * Renders a customizable Box component with various styling options.
4
- *
5
- * @component
6
- * @param {Object} props - Properties to configure the Box component.
7
- * @param {string} [props.as='div'] - The HTML element to render as. Defaults to `div`.
8
- * @param {'default' | 'subdued'} [props.background] - Background color variant.
9
- * @param {'default' | 'subdued'} [props.borderColor] - Border color variant.
10
- * @param {'default' | 'sm' | 'lg' | 'full'} [props.borderRadius] - Border radius variant.
11
- * @param {'none' | '0' | '1'} [props.borderBlockStartWidth] - Top border width variant.
12
- * @param {'none' | '0' | '1'} [props.borderBlockEndWidth] - Bottom border width variant.
13
- * @param {'none' | '0' | '1'} [props.borderInlineStartWidth] - Left border width variant.
14
- * @param {'none' | '0' | '1'} [props.borderInlineEndWidth] - Right border width variant.
15
- * @param {'none' | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10'} [props.padding] - Padding for all sides.
16
- * @param {'none' | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10'} [props.paddingBlockStart] - Top padding.
17
- * @param {'none' | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10'} [props.paddingBlockEnd] - Bottom padding.
18
- * @param {'none' | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10'} [props.paddingInlineStart] - Left padding.
19
- * @param {'none' | '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10'} [props.paddingInlineEnd] - Right padding.
20
- * @param {'hidden' | 'scroll'} [props.overflow] - Overflow setting for all sides.
21
- * @param {'hidden' | 'scroll'} [props.overflowX] - Overflow setting for x-axis.
22
- * @param {'hidden' | 'scroll'} [props.overflowY] - Overflow setting for y-axis.
23
- * @param {'relative' | 'absolute' | 'fixed' | 'sticky'} [props.position] - CSS positioning of the box.
24
- * @param {React.ReactNode} [props.children] - Child elements to render inside the Box.
25
- * @param {string} [props.id] - ID for the Box element.
26
- * @param {number | string} [props.height] - CSS height of the Box.
27
- * @param {number | string} [props.width] - CSS width of the Box.
28
- * @param {number | string} [props.minHeight] - Minimum CSS height.
29
- * @param {number | string} [props.maxHeight] - Maximum CSS height.
30
- * @param {number | string} [props.minWidth] - Minimum CSS width.
31
- * @param {number | string} [props.maxWidth] - Maximum CSS width.
32
- * @param {number | string} [props.zIndex] - CSS z-index.
33
- * @param {Object} [props.style] - Additional inline styles for the Box.
34
- * @param {string} [props.className] - Additional CSS classes to apply to the Box.
35
- * @param {Function} [props.onClick] - Click handler for the Box.
36
- *
37
- * @returns {JSX.Element} A rendered Box component with customized styling.
38
- */
39
- declare function Box(props?: {
40
- as?: string;
41
- background?: "default" | "subdued";
42
- borderColor?: "default" | "subdued";
43
- borderRadius?: "default" | "sm" | "lg" | "full";
44
- borderBlockStartWidth?: "none" | "0" | "1";
45
- borderBlockEndWidth?: "none" | "0" | "1";
46
- borderInlineStartWidth?: "none" | "0" | "1";
47
- borderInlineEndWidth?: "none" | "0" | "1";
48
- padding?: "none" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10";
49
- paddingBlockStart?: "none" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10";
50
- paddingBlockEnd?: "none" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10";
51
- paddingInlineStart?: "none" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10";
52
- paddingInlineEnd?: "none" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10";
53
- overflow?: "hidden" | "scroll";
54
- overflowX?: "hidden" | "scroll";
55
- overflowY?: "hidden" | "scroll";
56
- position?: "relative" | "absolute" | "fixed" | "sticky";
57
- children?: React.ReactNode;
58
- id?: string;
59
- height?: number | string;
60
- width?: number | string;
61
- minHeight?: number | string;
62
- maxHeight?: number | string;
63
- minWidth?: number | string;
64
- maxWidth?: number | string;
65
- zIndex?: number | string;
66
- style?: any;
67
- className?: string;
68
- onClick?: Function;
69
- }): JSX.Element;
2
+ declare function Box(props?: {}): import("react/jsx-runtime").JSX.Element;
70
3
  //# sourceMappingURL=Box.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../components/Box.js"],"names":[],"mappings":";AAkIA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoCE;AACF,6BAhCG;IAAuB,EAAE,GAAjB,MAAM;IACwB,UAAU,GAAxC,SAAS,GAAG,SAAS;IACS,WAAW,GAAzC,SAAS,GAAG,SAAS;IACoB,YAAY,GAArD,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM;IACL,qBAAqB,GAAhD,MAAM,GAAG,GAAG,GAAG,GAAG;IACS,mBAAmB,GAA9C,MAAM,GAAG,GAAG,GAAG,GAAG;IACS,sBAAsB,GAAjD,MAAM,GAAG,GAAG,GAAG,GAAG;IACS,oBAAoB,GAA/C,MAAM,GAAG,GAAG,GAAG,GAAG;IACgE,OAAO,GAAzF,MAAM,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI;IACS,iBAAiB,GAAnG,MAAM,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI;IACS,eAAe,GAAjG,MAAM,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI;IACS,kBAAkB,GAApG,MAAM,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI;IACS,gBAAgB,GAAlG,MAAM,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI;IAC7C,QAAQ,GAApC,QAAQ,GAAG,QAAQ;IACS,SAAS,GAArC,QAAQ,GAAG,QAAQ;IACS,SAAS,GAArC,QAAQ,GAAG,QAAQ;IACkC,QAAQ,GAA7D,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ;IACpB,QAAQ,GAAhC,KAAK,CAAC,SAAS;IACA,EAAE,GAAjB,MAAM;IACkB,MAAM,GAA9B,MAAM,GAAG,MAAM;IACS,KAAK,GAA7B,MAAM,GAAG,MAAM;IACS,SAAS,GAAjC,MAAM,GAAG,MAAM;IACS,SAAS,GAAjC,MAAM,GAAG,MAAM;IACS,QAAQ,GAAhC,MAAM,GAAG,MAAM;IACS,QAAQ,GAAhC,MAAM,GAAG,MAAM;IACS,MAAM,GAA9B,MAAM,GAAG,MAAM;IACA,KAAK;IACL,SAAS,GAAxB,MAAM;IACW,OAAO;CAEhC,GAAU,GAAG,CAAC,OAAO,CA6EvB"}
1
+ {"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../components/Box.js"],"names":[],"mappings":";AAoLA,0EA2EC"}
@@ -1,133 +1,3 @@
1
1
  export default Button;
2
- /**
3
- * A Button component that renders a customizable button or link with various styles and states.
4
- * The button can be configured with different variants, sizes, and can include icons, loading states,
5
- * and connected disclosure actions.
6
- *
7
- * @component
8
- *
9
- * @param {Object} props - The properties for configuring the Button component.
10
- * @param {string} [props.id] - Unique identifier for the button.
11
- * @param {React.ReactNode} [props.children] - The content to display within the button.
12
- * @param {string} [props.url] - URL to navigate to when clicked. If provided, renders as an anchor tag.
13
- * @param {boolean} [props.disabled=false] - Whether the button is disabled.
14
- * @param {boolean} [props.external] - Whether the URL should open in a new tab.
15
- * @param {string} [props.target] - Target attribute for the anchor tag when URL is provided.
16
- * @param {boolean} [props.submit] - Whether the button should act as a form submit button.
17
- * @param {boolean} [props.loading=false] - Whether to show a loading spinner.
18
- * @param {boolean} [props.pressed=false] - Whether the button appears pressed.
19
- * @param {string} [props.accessibilityLabel] - Accessible label for screen readers.
20
- * @param {string} [props.role] - ARIA role for the button.
21
- * @param {string} [props.ariaControls] - ID of the element controlled by the button.
22
- * @param {boolean} [props.ariaExpanded] - Whether the controlled element is expanded.
23
- * @param {string} [props.ariaDescribedBy] - ID of the element that describes the button.
24
- * @param {boolean} [props.ariaChecked] - Whether the button is checked (for toggle buttons).
25
- * @param {React.Component} [props.icon] - Icon component to display within the button.
26
- * @param {"default" | "primary" | "secondary" | "plain" | "link" | "destructive" | "highlight"} [props.iconColor='default'] - Color of the icon.
27
- * @param {"default" | "sm" | "lg" | "xl"} [props.iconSize='default'] - Size of the icon.
28
- * @param {boolean} [props.primary=false] - Whether to show the primary button style.
29
- * @param {boolean} [props.highlight=false] - Whether to show the highlight button style.
30
- * @param {boolean} [props.link=false] - Whether to show a link style.
31
- * @param {boolean} [props.destructive=false] - Whether to show destructive styling.
32
- * @param {boolean} [props.disclosure=false] - Whether to show a disclosure arrow.
33
- * @param {boolean} [props.disclosureRight=false] - Whether to show the disclosure on the right.
34
- * @param {boolean} [props.plain=false] - Whether to show plain styling without background.
35
- * @param {boolean} [props.naked=false] - Whether to show the naked styling.
36
- * @param {"mini" | "small" | "medium" | "large" | "stepper"} [props.size='medium'] - Size of the button ('mini', 'small', 'medium', 'large', 'stepper').
37
- * @param {boolean} [props.fullWidth] - Whether the button should take full width.
38
- * @param {"left" | "center" | "right"} [props.align='center'] - Alignment of the button content ('left', 'center', 'right').
39
- * @param {string} [props.tooltip] - Tooltip to show when hovering over the button.
40
- * @param {"left" | "center" | "right"} [props.tooltipAlignment='right'] - Alignment of the tooltip ('left', 'center', 'right').
41
- * @param {"above" | "below" | "left" | "right"} [props.tooltipPosition='above'] - Position of the tooltip ('above', 'below', 'left', 'right').
42
- * @param {"inline-block" | "block" | "inline"} [props.tooltipDisplay='inline-block'] - Display type of the tooltip ('inline-block', 'block', 'inline').
43
- * @param {Object} [props.connectedDisclosure] - Configuration for connected disclosure menu.
44
- * @param {Array<import("./ActionList").ActionListItem>} [props.connectedDisclosure.actions] - Actions to show in the disclosure menu.
45
- * @param {string} [props.className] - Additional CSS classes for the button.
46
- * @param {string} [props.contentClassName] - Additional CSS classes for the button content.
47
- * @param {boolean} [props.rounded] - Whether to show fully rounded corners.
48
- * @param {Function} [props.onClick] - Callback when the button is clicked.
49
- * @param {Function} [props.onMouseDown] - Callback when the mouse is pressed on the button.
50
- *
51
- * @returns {JSX.Element} The rendered Button component.
52
- *
53
- * @example
54
- * ```js
55
- * // Basic button
56
- * <Button onClick={() => console.log('Clicked')}>
57
- * Click me
58
- * </Button>
59
- * ```
60
- *
61
- * @example
62
- * ```js
63
- * // Primary button with icon and loading state
64
- * <Button
65
- * primary
66
- * loading={isLoading}
67
- * icon={SaveMinor}
68
- * onClick={handleSave}
69
- * >
70
- * Save changes
71
- * </Button>
72
- * ```
73
- *
74
- * @example
75
- * ```js
76
- * // Button with connected disclosure
77
- * <Button
78
- * connectedDisclosure={{
79
- * actions: [
80
- * { content: 'Option 1', onAction: () => {} },
81
- * { content: 'Option 2', onAction: () => {} }
82
- * ]
83
- * }}
84
- * >
85
- * More actions
86
- * </Button>
87
- * ```
88
- */
89
- declare function Button(props?: {
90
- id?: string;
91
- children?: React.ReactNode;
92
- url?: string;
93
- disabled?: boolean;
94
- external?: boolean;
95
- target?: string;
96
- submit?: boolean;
97
- loading?: boolean;
98
- pressed?: boolean;
99
- accessibilityLabel?: string;
100
- role?: string;
101
- ariaControls?: string;
102
- ariaExpanded?: boolean;
103
- ariaDescribedBy?: string;
104
- ariaChecked?: boolean;
105
- icon?: React.Component;
106
- iconColor?: "default" | "primary" | "secondary" | "plain" | "link" | "destructive" | "highlight";
107
- iconSize?: "default" | "sm" | "lg" | "xl";
108
- primary?: boolean;
109
- highlight?: boolean;
110
- link?: boolean;
111
- destructive?: boolean;
112
- disclosure?: boolean;
113
- disclosureRight?: boolean;
114
- plain?: boolean;
115
- naked?: boolean;
116
- size?: "mini" | "small" | "medium" | "large" | "stepper";
117
- fullWidth?: boolean;
118
- align?: "left" | "center" | "right";
119
- tooltip?: string;
120
- tooltipAlignment?: "left" | "center" | "right";
121
- tooltipPosition?: "above" | "below" | "left" | "right";
122
- tooltipDisplay?: "inline-block" | "block" | "inline";
123
- connectedDisclosure?: {
124
- actions?: Array<import("./ActionList").ActionListItem>;
125
- };
126
- className?: string;
127
- contentClassName?: string;
128
- rounded?: boolean;
129
- onClick?: Function;
130
- onMouseDown?: Function;
131
- }): JSX.Element;
132
- import React from "react";
2
+ declare function Button(props?: {}): import("react/jsx-runtime").JSX.Element;
133
3
  //# sourceMappingURL=Button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../components/Button.js"],"names":[],"mappings":";AAoiBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsFG;AAEH,gCAhFG;IAAuB,EAAE,GAAjB,MAAM;IACkB,QAAQ,GAAhC,KAAK,CAAC,SAAS;IACA,GAAG,GAAlB,MAAM;IACU,QAAQ,GAAxB,OAAO;IACS,QAAQ,GAAxB,OAAO;IACQ,MAAM,GAArB,MAAM;IACU,MAAM,GAAtB,OAAO;IACS,OAAO,GAAvB,OAAO;IACS,OAAO,GAAvB,OAAO;IACQ,kBAAkB,GAAjC,MAAM;IACS,IAAI,GAAnB,MAAM;IACS,YAAY,GAA3B,MAAM;IACU,YAAY,GAA5B,OAAO;IACQ,eAAe,GAA9B,MAAM;IACU,WAAW,GAA3B,OAAO;IACiB,IAAI,GAA5B,KAAK,CAAC,SAAS;IAC8E,SAAS,GAAtG,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,OAAO,GAAG,MAAM,GAAG,aAAa,GAAG,WAAW;IAC7C,QAAQ,GAA/C,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI;IACd,OAAO,GAAvB,OAAO;IACS,SAAS,GAAzB,OAAO;IACS,IAAI,GAApB,OAAO;IACS,WAAW,GAA3B,OAAO;IACS,UAAU,GAA1B,OAAO;IACS,eAAe,GAA/B,OAAO;IACS,KAAK,GAArB,OAAO;IACS,KAAK,GAArB,OAAO;IACmD,IAAI,GAA9D,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS;IACjC,SAAS,GAAzB,OAAO;IAC6B,KAAK,GAAzC,MAAM,GAAG,QAAQ,GAAG,OAAO;IACZ,OAAO,GAAtB,MAAM;IAC8B,gBAAgB,GAApD,MAAM,GAAG,QAAQ,GAAG,OAAO;IACkB,eAAe,GAA5D,OAAO,GAAG,OAAO,GAAG,MAAM,GAAG,OAAO;IACQ,cAAc,GAA1D,cAAc,GAAG,OAAO,GAAG,QAAQ;IACpB,mBAAmB,GAC1C;QAAiF,OAAO,GAAhF,KAAK,CAAC,OAAO,cAAc,EAAE,cAAc,CAAC;KACpD;IAAuB,SAAS,GAAxB,MAAM;IACS,gBAAgB,GAA/B,MAAM;IACU,OAAO,GAAvB,OAAO;IACU,OAAO;IACP,WAAW;CAEpC,GAAU,GAAG,CAAC,OAAO,CA+QvB;kBAl2BoD,OAAO"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../components/Button.js"],"names":[],"mappings":";AA6vBA,6EAoQC"}
@@ -1,26 +1,5 @@
1
1
  export const ButtonGroupContext: React.Context<boolean>;
2
2
  export default ButtonGroup;
3
3
  import React from "react";
4
- /**
5
- * ButtonGroup Component
6
- *
7
- * @param {object} props - The properties object.
8
- * @param {React.ReactNode} [props.children] - The child components to be rendered inside the button group.
9
- * @param {boolean} [props.segmented=false] - Determines whether the button group has segmented styling.
10
- * @param {string} [props.id] - The unique identifier for the button group.
11
- * @param {string} [props.className] - Additional class names to be added to the button group.
12
- * @param {boolean} [props.fullWidth=false] - Determines if the button group spans the full width of the container.
13
- * @param {boolean} [props.noWrap=false] - Determines if the buttons inside the group do not wrap.
14
- * @param {object} [props.restProps] - Additional props to be spread onto the container element.
15
- * @returns {JSX.Element} The rendered ButtonGroup component.
16
- */
17
- declare function ButtonGroup(props?: {
18
- children?: React.ReactNode;
19
- segmented?: boolean;
20
- id?: string;
21
- className?: string;
22
- fullWidth?: boolean;
23
- noWrap?: boolean;
24
- restProps?: object;
25
- }): JSX.Element;
4
+ declare function ButtonGroup(props?: {}): import("react/jsx-runtime").JSX.Element;
26
5
  //# sourceMappingURL=ButtonGroup.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../../components/ButtonGroup.js"],"names":[],"mappings":"AAiCA,wDAAuD;;kBA/BlB,OAAO;AAiC5C;;;;;;;;;;;;GAYG;AAEH,qCAVG;IAAgC,QAAQ,GAAhC,KAAK,CAAC,SAAS;IACC,SAAS,GAAzB,OAAO;IACQ,EAAE,GAAjB,MAAM;IACS,SAAS,GAAxB,MAAM;IACU,SAAS,GAAzB,OAAO;IACS,MAAM,GAAtB,OAAO;IACQ,SAAS,GAAxB,MAAM;CACd,GAAU,GAAG,CAAC,OAAO,CAkCvB"}
1
+ {"version":3,"file":"ButtonGroup.d.ts","sourceRoot":"","sources":["../../../components/ButtonGroup.js"],"names":[],"mappings":"AA4DA,wDAAuD;;kBA1DlB,OAAO;AA4D5C,kFA+BC"}