@heymantle/litho 0.0.3 → 0.0.4

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 (353) hide show
  1. package/dist/cjs/components/ActionList.js +50 -16
  2. package/dist/cjs/components/AnnouncementBar.js +10 -3
  3. package/dist/cjs/components/AppProvider.js +10 -1
  4. package/dist/cjs/components/Autocomplete.js +33 -11
  5. package/dist/cjs/components/Badge.js +2 -1
  6. package/dist/cjs/components/Banner.js +35 -31
  7. package/dist/cjs/components/Box.js +5 -3
  8. package/dist/cjs/components/Button.js +34 -12
  9. package/dist/cjs/components/Card.js +5 -45
  10. package/dist/cjs/components/Checkbox.js +16 -6
  11. package/dist/cjs/components/ChoiceList.js +7 -4
  12. package/dist/cjs/components/ColorField.js +8 -3
  13. package/dist/cjs/components/DatePicker.js +13 -8
  14. package/dist/cjs/components/DropZone.js +33 -18
  15. package/dist/cjs/components/EmptyState.js +15 -7
  16. package/dist/cjs/components/Filters.js +32 -20
  17. package/dist/cjs/components/FooterHelp.js +7 -2
  18. package/dist/cjs/components/Form.js +18 -3
  19. package/dist/cjs/components/Frame.js +40 -15
  20. package/dist/cjs/components/FrameSaveBar.js +21 -12
  21. package/dist/cjs/components/Layout.js +3 -3
  22. package/dist/cjs/components/LayoutSection.js +2 -2
  23. package/dist/cjs/components/Link.js +6 -2
  24. package/dist/cjs/components/List.js +1 -0
  25. package/dist/cjs/components/Listbox.js +9 -4
  26. package/dist/cjs/components/Modal.js +26 -17
  27. package/dist/cjs/components/Navigation.js +30 -20
  28. package/dist/cjs/components/Page.js +8 -3
  29. package/dist/cjs/components/Pagination.js +11 -4
  30. package/dist/cjs/components/Pane.js +118 -35
  31. package/dist/cjs/components/Popover.js +59 -6
  32. package/dist/cjs/components/RangeSlider.js +11 -4
  33. package/dist/cjs/components/ResourceList.js +9 -3
  34. package/dist/cjs/components/Select.js +2 -0
  35. package/dist/cjs/components/Table.js +32 -19
  36. package/dist/cjs/components/Text.js +8 -5
  37. package/dist/cjs/components/TextField.js +23 -13
  38. package/dist/cjs/components/Thumbnail.js +7 -2
  39. package/dist/cjs/components/TimePicker.js +7 -2
  40. package/dist/cjs/components/Tip.js +10 -4
  41. package/dist/cjs/components/Tooltip.js +16 -8
  42. package/dist/cjs/components/TopBar.js +17 -9
  43. package/dist/cjs/dev/verify-publish.js +37 -4
  44. package/dist/cjs/postcss.config.js +21 -0
  45. package/dist/cjs/stories/ActionList.stories.js +365 -0
  46. package/dist/cjs/stories/AnnouncementBar.stories.js +244 -0
  47. package/dist/cjs/stories/Autocomplete.stories.js +871 -0
  48. package/dist/cjs/stories/Badge.stories.js +183 -0
  49. package/dist/cjs/stories/Banner.stories.js +201 -0
  50. package/dist/cjs/stories/Box.stories.js +599 -0
  51. package/dist/cjs/stories/Button.stories.js +325 -0
  52. package/dist/cjs/stories/ButtonGroup.stories.js +404 -0
  53. package/dist/cjs/stories/Card.stories.js +278 -0
  54. package/dist/cjs/stories/Checkbox.stories.js +266 -0
  55. package/dist/cjs/stories/ChoiceList.stories.js +884 -0
  56. package/dist/cjs/stories/Collapsible.stories.js +905 -0
  57. package/dist/cjs/stories/ColorField.stories.js +883 -0
  58. package/dist/cjs/stories/ContextualSaveBar.stories.js +970 -0
  59. package/dist/cjs/stories/DatePicker.stories.js +584 -0
  60. package/dist/cjs/stories/Divider.stories.js +759 -0
  61. package/dist/cjs/stories/DropZone.stories.js +1205 -0
  62. package/dist/cjs/stories/EmptyState.stories.js +296 -0
  63. package/dist/cjs/stories/Filters.stories.js +1353 -0
  64. package/dist/cjs/stories/FooterHelp.stories.js +869 -0
  65. package/dist/cjs/stories/Form.stories.js +940 -0
  66. package/dist/cjs/stories/Grid.stories.js +1199 -0
  67. package/dist/cjs/stories/HorizontalStack.stories.js +1064 -0
  68. package/dist/cjs/stories/Icon.stories.js +596 -0
  69. package/dist/cjs/stories/Image.stories.js +883 -0
  70. package/dist/cjs/stories/InlineError.stories.js +710 -0
  71. package/dist/cjs/stories/Label.stories.js +665 -0
  72. package/dist/cjs/stories/Layout.stories.js +685 -0
  73. package/dist/cjs/stories/LayoutSection.stories.js +1267 -0
  74. package/dist/cjs/stories/Link.stories.js +423 -0
  75. package/dist/cjs/stories/List.stories.js +1031 -0
  76. package/dist/cjs/stories/Listbox.stories.js +820 -0
  77. package/dist/cjs/stories/Loading.stories.js +900 -0
  78. package/dist/cjs/stories/Modal.stories.js +363 -0
  79. package/dist/cjs/stories/Navigation.stories.js +605 -0
  80. package/dist/cjs/stories/Page.stories.js +318 -0
  81. package/dist/cjs/stories/Pagination.stories.js +438 -0
  82. package/dist/cjs/stories/Pane.stories.js +1535 -0
  83. package/dist/cjs/stories/Popover.stories.js +637 -0
  84. package/dist/cjs/stories/PopoverManager.stories.js +1225 -0
  85. package/dist/cjs/stories/ProgressBar.stories.js +506 -0
  86. package/dist/cjs/stories/RadioButton.stories.js +642 -0
  87. package/dist/cjs/stories/RadioButtonCard.stories.js +816 -0
  88. package/dist/cjs/stories/RangeSlider.stories.js +892 -0
  89. package/dist/cjs/stories/ResourceList.stories.js +1067 -0
  90. package/dist/cjs/stories/Select.stories.js +413 -0
  91. package/dist/cjs/stories/SkeletonText.stories.js +776 -0
  92. package/dist/cjs/stories/Spinner.stories.js +396 -0
  93. package/dist/cjs/stories/Table.stories.js +628 -0
  94. package/dist/cjs/stories/Tabs.stories.js +723 -0
  95. package/dist/cjs/stories/Tag.stories.js +620 -0
  96. package/dist/cjs/stories/Text.stories.js +262 -0
  97. package/dist/cjs/stories/TextField.stories.js +377 -0
  98. package/dist/cjs/stories/Thumbnail.stories.js +859 -0
  99. package/dist/cjs/stories/TimePicker.stories.js +966 -0
  100. package/dist/cjs/stories/Tip.stories.js +753 -0
  101. package/dist/cjs/stories/Tooltip.stories.js +357 -0
  102. package/dist/cjs/stories/TopBar.stories.js +155 -0
  103. package/dist/cjs/stories/VerticalStack.stories.js +1287 -0
  104. package/dist/cjs/tailwind.config.js +17 -0
  105. package/dist/cjs/utilities/transformers.js +66 -0
  106. package/dist/cjs/vite.config.js +35 -0
  107. package/dist/esm/components/ActionList.js +41 -12
  108. package/dist/esm/components/AnnouncementBar.js +3 -1
  109. package/dist/esm/components/AppProvider.js +10 -1
  110. package/dist/esm/components/Autocomplete.js +21 -4
  111. package/dist/esm/components/Badge.js +2 -2
  112. package/dist/esm/components/Banner.js +20 -21
  113. package/dist/esm/components/Box.js +5 -4
  114. package/dist/esm/components/Button.js +24 -7
  115. package/dist/esm/components/Card.js +5 -4
  116. package/dist/esm/components/Checkbox.js +6 -1
  117. package/dist/esm/components/ChoiceList.js +7 -4
  118. package/dist/esm/components/ColorField.js +1 -1
  119. package/dist/esm/components/DatePicker.js +6 -1
  120. package/dist/esm/components/DropZone.js +14 -4
  121. package/dist/esm/components/EmptyState.js +4 -1
  122. package/dist/esm/components/Filters.js +10 -3
  123. package/dist/esm/components/FooterHelp.js +1 -1
  124. package/dist/esm/components/Form.js +18 -3
  125. package/dist/esm/components/Frame.js +18 -6
  126. package/dist/esm/components/FrameSaveBar.js +10 -6
  127. package/dist/esm/components/InlineError.js +1 -1
  128. package/dist/esm/components/Layout.js +4 -4
  129. package/dist/esm/components/LayoutSection.js +2 -2
  130. package/dist/esm/components/Link.js +6 -2
  131. package/dist/esm/components/List.js +1 -0
  132. package/dist/esm/components/Listbox.js +4 -4
  133. package/dist/esm/components/Modal.js +8 -4
  134. package/dist/esm/components/Navigation.js +16 -11
  135. package/dist/esm/components/Page.js +9 -4
  136. package/dist/esm/components/Pagination.js +3 -1
  137. package/dist/esm/components/Pane.js +114 -36
  138. package/dist/esm/components/Popover.js +18 -6
  139. package/dist/esm/components/RangeSlider.js +3 -1
  140. package/dist/esm/components/ResourceList.js +2 -1
  141. package/dist/esm/components/Select.js +2 -0
  142. package/dist/esm/components/Table.js +16 -3
  143. package/dist/esm/components/Text.js +8 -6
  144. package/dist/esm/components/TextField.js +6 -1
  145. package/dist/esm/components/Thumbnail.js +1 -1
  146. package/dist/esm/components/TimePicker.js +1 -1
  147. package/dist/esm/components/Tip.js +3 -2
  148. package/dist/esm/components/Tooltip.js +4 -1
  149. package/dist/esm/components/TopBar.js +7 -4
  150. package/dist/esm/dev/verify-publish.js +37 -4
  151. package/dist/esm/postcss.config.js +6 -0
  152. package/dist/esm/stories/ActionList.stories.js +327 -0
  153. package/dist/esm/stories/AnnouncementBar.stories.js +212 -0
  154. package/dist/esm/stories/Autocomplete.stories.js +833 -0
  155. package/dist/esm/stories/Badge.stories.js +138 -0
  156. package/dist/esm/stories/Banner.stories.js +159 -0
  157. package/dist/esm/stories/Box.stories.js +558 -0
  158. package/dist/esm/stories/Button.stories.js +277 -0
  159. package/dist/esm/stories/ButtonGroup.stories.js +357 -0
  160. package/dist/esm/stories/Card.stories.js +240 -0
  161. package/dist/esm/stories/Checkbox.stories.js +219 -0
  162. package/dist/esm/stories/ChoiceList.stories.js +834 -0
  163. package/dist/esm/stories/Collapsible.stories.js +867 -0
  164. package/dist/esm/stories/ColorField.stories.js +842 -0
  165. package/dist/esm/stories/ContextualSaveBar.stories.js +938 -0
  166. package/dist/esm/stories/DatePicker.stories.js +537 -0
  167. package/dist/esm/stories/Divider.stories.js +715 -0
  168. package/dist/esm/stories/DropZone.stories.js +1161 -0
  169. package/dist/esm/stories/EmptyState.stories.js +246 -0
  170. package/dist/esm/stories/Filters.stories.js +1315 -0
  171. package/dist/esm/stories/FooterHelp.stories.js +813 -0
  172. package/dist/esm/stories/Form.stories.js +905 -0
  173. package/dist/esm/stories/Grid.stories.js +1152 -0
  174. package/dist/esm/stories/HorizontalStack.stories.js +1011 -0
  175. package/dist/esm/stories/Icon.stories.js +555 -0
  176. package/dist/esm/stories/Image.stories.js +836 -0
  177. package/dist/esm/stories/InlineError.stories.js +666 -0
  178. package/dist/esm/stories/Label.stories.js +612 -0
  179. package/dist/esm/stories/Layout.stories.js +647 -0
  180. package/dist/esm/stories/LayoutSection.stories.js +1226 -0
  181. package/dist/esm/stories/Link.stories.js +379 -0
  182. package/dist/esm/stories/List.stories.js +975 -0
  183. package/dist/esm/stories/Listbox.stories.js +776 -0
  184. package/dist/esm/stories/Loading.stories.js +850 -0
  185. package/dist/esm/stories/Modal.stories.js +322 -0
  186. package/dist/esm/stories/Navigation.stories.js +567 -0
  187. package/dist/esm/stories/Page.stories.js +276 -0
  188. package/dist/esm/stories/Pagination.stories.js +394 -0
  189. package/dist/esm/stories/Pane.stories.js +1497 -0
  190. package/dist/esm/stories/Popover.stories.js +605 -0
  191. package/dist/esm/stories/PopoverManager.stories.js +1193 -0
  192. package/dist/esm/stories/ProgressBar.stories.js +465 -0
  193. package/dist/esm/stories/RadioButton.stories.js +598 -0
  194. package/dist/esm/stories/RadioButtonCard.stories.js +772 -0
  195. package/dist/esm/stories/RangeSlider.stories.js +845 -0
  196. package/dist/esm/stories/ResourceList.stories.js +1029 -0
  197. package/dist/esm/stories/Select.stories.js +363 -0
  198. package/dist/esm/stories/SkeletonText.stories.js +717 -0
  199. package/dist/esm/stories/Spinner.stories.js +355 -0
  200. package/dist/esm/stories/Table.stories.js +584 -0
  201. package/dist/esm/stories/Tabs.stories.js +685 -0
  202. package/dist/esm/stories/Tag.stories.js +573 -0
  203. package/dist/esm/stories/Text.stories.js +217 -0
  204. package/dist/esm/stories/TextField.stories.js +332 -0
  205. package/dist/esm/stories/Thumbnail.stories.js +806 -0
  206. package/dist/esm/stories/TimePicker.stories.js +910 -0
  207. package/dist/esm/stories/Tip.stories.js +706 -0
  208. package/dist/esm/stories/Tooltip.stories.js +313 -0
  209. package/dist/esm/stories/TopBar.stories.js +114 -0
  210. package/dist/esm/stories/VerticalStack.stories.js +1240 -0
  211. package/dist/esm/tailwind.config.js +7 -0
  212. package/dist/esm/utilities/transformers.js +47 -0
  213. package/dist/esm/vite.config.js +20 -0
  214. package/dist/types/components/ActionList.d.ts +122 -0
  215. package/dist/types/components/ActionList.d.ts.map +1 -0
  216. package/dist/types/components/AnnouncementBar.d.ts +21 -0
  217. package/dist/types/components/AnnouncementBar.d.ts.map +1 -0
  218. package/dist/types/components/AppProvider.d.ts +61 -0
  219. package/dist/types/components/AppProvider.d.ts.map +1 -0
  220. package/dist/types/components/Autocomplete.d.ts +130 -0
  221. package/dist/types/components/Autocomplete.d.ts.map +1 -0
  222. package/dist/types/components/Badge.d.ts +21 -0
  223. package/dist/types/components/Badge.d.ts.map +1 -0
  224. package/dist/types/components/Banner.d.ts +78 -0
  225. package/dist/types/components/Banner.d.ts.map +1 -0
  226. package/dist/types/components/Box.d.ts +70 -0
  227. package/dist/types/components/Box.d.ts.map +1 -0
  228. package/dist/types/components/Button.d.ts +123 -0
  229. package/dist/types/components/Button.d.ts.map +1 -0
  230. package/dist/types/components/ButtonGroup.d.ts +26 -0
  231. package/dist/types/components/ButtonGroup.d.ts.map +1 -0
  232. package/dist/types/components/Card.d.ts +139 -0
  233. package/dist/types/components/Card.d.ts.map +1 -0
  234. package/dist/types/components/Checkbox.d.ts +56 -0
  235. package/dist/types/components/Checkbox.d.ts.map +1 -0
  236. package/dist/types/components/ChoiceList.d.ts +69 -0
  237. package/dist/types/components/ChoiceList.d.ts.map +1 -0
  238. package/dist/types/components/Collapsible.d.ts +17 -0
  239. package/dist/types/components/Collapsible.d.ts.map +1 -0
  240. package/dist/types/components/ColorField.d.ts +36 -0
  241. package/dist/types/components/ColorField.d.ts.map +1 -0
  242. package/dist/types/components/ContextualSaveBar.d.ts +22 -0
  243. package/dist/types/components/ContextualSaveBar.d.ts.map +1 -0
  244. package/dist/types/components/DatePicker.d.ts +66 -0
  245. package/dist/types/components/DatePicker.d.ts.map +1 -0
  246. package/dist/types/components/Divider.d.ts +21 -0
  247. package/dist/types/components/Divider.d.ts.map +1 -0
  248. package/dist/types/components/DropZone.d.ts +108 -0
  249. package/dist/types/components/DropZone.d.ts.map +1 -0
  250. package/dist/types/components/EmptyState.d.ts +52 -0
  251. package/dist/types/components/EmptyState.d.ts.map +1 -0
  252. package/dist/types/components/Filters.d.ts +166 -0
  253. package/dist/types/components/Filters.d.ts.map +1 -0
  254. package/dist/types/components/FooterHelp.d.ts +21 -0
  255. package/dist/types/components/FooterHelp.d.ts.map +1 -0
  256. package/dist/types/components/Form.d.ts +39 -0
  257. package/dist/types/components/Form.d.ts.map +1 -0
  258. package/dist/types/components/Frame.d.ts +51 -0
  259. package/dist/types/components/Frame.d.ts.map +1 -0
  260. package/dist/types/components/FrameSaveBar.d.ts +8 -0
  261. package/dist/types/components/FrameSaveBar.d.ts.map +1 -0
  262. package/dist/types/components/Grid.d.ts +39 -0
  263. package/dist/types/components/Grid.d.ts.map +1 -0
  264. package/dist/types/components/HorizontalStack.d.ts +36 -0
  265. package/dist/types/components/HorizontalStack.d.ts.map +1 -0
  266. package/dist/types/components/Icon.d.ts +43 -0
  267. package/dist/types/components/Icon.d.ts.map +1 -0
  268. package/dist/types/components/Image.d.ts +45 -0
  269. package/dist/types/components/Image.d.ts.map +1 -0
  270. package/dist/types/components/InlineError.d.ts +22 -0
  271. package/dist/types/components/InlineError.d.ts.map +1 -0
  272. package/dist/types/components/Label.d.ts +28 -0
  273. package/dist/types/components/Label.d.ts.map +1 -0
  274. package/dist/types/components/Layout.d.ts +44 -0
  275. package/dist/types/components/Layout.d.ts.map +1 -0
  276. package/dist/types/components/LayoutSection.d.ts +24 -0
  277. package/dist/types/components/LayoutSection.d.ts.map +1 -0
  278. package/dist/types/components/Link.d.ts +38 -0
  279. package/dist/types/components/Link.d.ts.map +1 -0
  280. package/dist/types/components/List.d.ts +33 -0
  281. package/dist/types/components/List.d.ts.map +1 -0
  282. package/dist/types/components/Listbox.d.ts +34 -0
  283. package/dist/types/components/Listbox.d.ts.map +1 -0
  284. package/dist/types/components/Loading.d.ts +13 -0
  285. package/dist/types/components/Loading.d.ts.map +1 -0
  286. package/dist/types/components/Modal.d.ts +75 -0
  287. package/dist/types/components/Modal.d.ts.map +1 -0
  288. package/dist/types/components/Navigation.d.ts +105 -0
  289. package/dist/types/components/Navigation.d.ts.map +1 -0
  290. package/dist/types/components/Page.d.ts +59 -0
  291. package/dist/types/components/Page.d.ts.map +1 -0
  292. package/dist/types/components/Pagination.d.ts +39 -0
  293. package/dist/types/components/Pagination.d.ts.map +1 -0
  294. package/dist/types/components/Pane.d.ts +11 -0
  295. package/dist/types/components/Pane.d.ts.map +1 -0
  296. package/dist/types/components/Popover.d.ts +56 -0
  297. package/dist/types/components/Popover.d.ts.map +1 -0
  298. package/dist/types/components/PopoverManager.d.ts +3 -0
  299. package/dist/types/components/PopoverManager.d.ts.map +1 -0
  300. package/dist/types/components/ProgressBar.d.ts +24 -0
  301. package/dist/types/components/ProgressBar.d.ts.map +1 -0
  302. package/dist/types/components/RadioButton.d.ts +39 -0
  303. package/dist/types/components/RadioButton.d.ts.map +1 -0
  304. package/dist/types/components/RadioButtonCard.d.ts +41 -0
  305. package/dist/types/components/RadioButtonCard.d.ts.map +1 -0
  306. package/dist/types/components/RangeSlider.d.ts +44 -0
  307. package/dist/types/components/RangeSlider.d.ts.map +1 -0
  308. package/dist/types/components/ResourceList.d.ts +54 -0
  309. package/dist/types/components/ResourceList.d.ts.map +1 -0
  310. package/dist/types/components/Select.d.ts +48 -0
  311. package/dist/types/components/Select.d.ts.map +1 -0
  312. package/dist/types/components/SkeletonText.d.ts +28 -0
  313. package/dist/types/components/SkeletonText.d.ts.map +1 -0
  314. package/dist/types/components/Spinner.d.ts +18 -0
  315. package/dist/types/components/Spinner.d.ts.map +1 -0
  316. package/dist/types/components/Table.d.ts +197 -0
  317. package/dist/types/components/Table.d.ts.map +1 -0
  318. package/dist/types/components/Tabs.d.ts +41 -0
  319. package/dist/types/components/Tabs.d.ts.map +1 -0
  320. package/dist/types/components/Tag.d.ts +26 -0
  321. package/dist/types/components/Tag.d.ts.map +1 -0
  322. package/dist/types/components/Text.d.ts +32 -0
  323. package/dist/types/components/Text.d.ts.map +1 -0
  324. package/dist/types/components/TextField.d.ts +109 -0
  325. package/dist/types/components/TextField.d.ts.map +1 -0
  326. package/dist/types/components/Thumbnail.d.ts +18 -0
  327. package/dist/types/components/Thumbnail.d.ts.map +1 -0
  328. package/dist/types/components/TimePicker.d.ts +3 -0
  329. package/dist/types/components/TimePicker.d.ts.map +1 -0
  330. package/dist/types/components/Tip.d.ts +23 -0
  331. package/dist/types/components/Tip.d.ts.map +1 -0
  332. package/dist/types/components/Tooltip.d.ts +84 -0
  333. package/dist/types/components/Tooltip.d.ts.map +1 -0
  334. package/dist/types/components/TopBar.d.ts +43 -0
  335. package/dist/types/components/TopBar.d.ts.map +1 -0
  336. package/dist/types/components/VerticalStack.d.ts +27 -0
  337. package/dist/types/components/VerticalStack.d.ts.map +1 -0
  338. package/dist/types/index.d.ts +62 -0
  339. package/dist/types/index.d.ts.map +1 -0
  340. package/dist/types/styles/Table.d.ts +1570 -0
  341. package/dist/types/styles/Table.d.ts.map +1 -0
  342. package/dist/types/utilities/dates.d.ts +46 -0
  343. package/dist/types/utilities/dates.d.ts.map +1 -0
  344. package/dist/types/utilities/transformers.d.ts +4 -0
  345. package/dist/types/utilities/transformers.d.ts.map +1 -0
  346. package/dist/types/utilities/useIndexResourceState.d.ts +21 -0
  347. package/dist/types/utilities/useIndexResourceState.d.ts.map +1 -0
  348. package/dist/types/utilities/useMounted.d.ts +2 -0
  349. package/dist/types/utilities/useMounted.d.ts.map +1 -0
  350. package/dist/types/utilities/useTableScrollState.d.ts +29 -0
  351. package/dist/types/utilities/useTableScrollState.d.ts.map +1 -0
  352. package/index.css +6 -0
  353. package/package.json +37 -6
@@ -0,0 +1,45 @@
1
+ export default Image;
2
+ /**
3
+ * Image component that renders an image with optional styling and behavior.
4
+ *
5
+ * @component
6
+ * @param {Object} props - Properties passed to the Image component.
7
+ * @param {string} [props.alt] - Alternative text for the image.
8
+ * @param {Array<{source: string, descriptor: string}>} [props.sourceSet] - Array of image sources and descriptors for responsive images.
9
+ * @param {string} [props.source] - URL of the image to display.
10
+ * @param {boolean} [props.rounded] - Whether to round the image.
11
+ * @param {string} [props.crossOrigin] - Sets the crossOrigin attribute for the image. Possible values are "anonymous" or "use-credentials".
12
+ * @param {function} [props.onLoad] - Callback function to handle the image load event.
13
+ * @param {string} [props.className] - Additional classes to apply to the image.
14
+ * @param {('default'|'none'|'xs'|'sm'|'md'|'lg'|'full'|'max')} [props.borderRadius='default'] - The border radius variant for the image.
15
+ * @param {Object} [rest] - Any additional props passed to the underlying `<img>` element.
16
+ *
17
+ * @example
18
+ * <Image
19
+ * alt="Sample Image"
20
+ * sourceSet={[
21
+ * { source: 'image-320w.jpg', descriptor: '320w' },
22
+ * { source: 'image-640w.jpg', descriptor: '640w' }
23
+ * ]}
24
+ * source="image.jpg"
25
+ * borderRadius="md"
26
+ * onLoad={() => console.log("Image loaded")}
27
+ * className="custom-class"
28
+ * />
29
+ *
30
+ * @returns {JSX.Element} A styled image component with optional responsive support.
31
+ */
32
+ declare function Image(props?: {
33
+ alt?: string;
34
+ sourceSet?: Array<{
35
+ source: string;
36
+ descriptor: string;
37
+ }>;
38
+ source?: string;
39
+ rounded?: boolean;
40
+ crossOrigin?: string;
41
+ onLoad?: Function;
42
+ className?: string;
43
+ borderRadius?: ("default" | "none" | "xs" | "sm" | "md" | "lg" | "full" | "max");
44
+ }): JSX.Element;
45
+ //# sourceMappingURL=Image.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../components/Image.js"],"names":[],"mappings":";AAsBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAEH,+BA1BG;IAAuB,GAAG,GAAlB,MAAM;IAC8C,SAAS,GAA7D,KAAK,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,MAAM,CAAA;KAAC,CAAC;IAC5B,MAAM,GAArB,MAAM;IACU,OAAO,GAAvB,OAAO;IACQ,WAAW,GAA1B,MAAM;IACW,MAAM;IACR,SAAS,GAAxB,MAAM;IACsD,YAAY,GAAxE,CAAC,SAAS,GAAC,MAAM,GAAC,IAAI,GAAC,IAAI,GAAC,IAAI,GAAC,IAAI,GAAC,MAAM,GAAC,KAAK,CAAC;CAC3D,GAeU,GAAG,CAAC,OAAO,CAuCvB"}
@@ -0,0 +1,22 @@
1
+ export default InlineError;
2
+ /**
3
+ * InlineError Component
4
+ *
5
+ * Displays an inline error message with an icon, useful for indicating errors next to form fields.
6
+ *
7
+ * @component
8
+ * @param {Object} props - Component properties.
9
+ * @param {string} props.message - The error message to display.
10
+ * @param {string} props.fieldID - The ID of the field this error is associated with, used to generate an accessible ID for the error element.
11
+ *
12
+ * @returns {JSX.Element} A styled inline error message with an icon.
13
+ *
14
+ * @example
15
+ * <InlineError message="This field is required" fieldID="username" />
16
+ *
17
+ */
18
+ declare function InlineError(props?: {
19
+ message: string;
20
+ fieldID: string;
21
+ }): JSX.Element;
22
+ //# sourceMappingURL=InlineError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InlineError.d.ts","sourceRoot":"","sources":["../../../components/InlineError.js"],"names":[],"mappings":";AAQA;;;;;;;;;;;;;;;GAeG;AAEH,qCAVG;IAAsB,OAAO,EAArB,MAAM;IACQ,OAAO,EAArB,MAAM;CAEd,GAAU,GAAG,CAAC,OAAO,CAqBvB"}
@@ -0,0 +1,28 @@
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;
28
+ //# sourceMappingURL=Label.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,44 @@
1
+ export const LayoutContext: React.Context<any>;
2
+ export default Layout;
3
+ import React from "react";
4
+ /**
5
+ * Layout component for structuring content.
6
+ *
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`.
10
+ *
11
+ * @param {Object} props - Component props.
12
+ * @param {React.ReactNode} props.children - The content to render inside the layout.
13
+ * @returns {JSX.Element} The rendered layout component.
14
+ */
15
+ declare function Layout(props?: {
16
+ children: React.ReactNode;
17
+ }): JSX.Element;
18
+ declare namespace Layout {
19
+ export { AnnotatedSection };
20
+ export { Section };
21
+ }
22
+ /**
23
+ * AnnotatedSection component for displaying a titled section with optional description.
24
+ *
25
+ * The `AnnotatedSection` organizes content into two main areas:
26
+ * - Annotation: Displays a title and description.
27
+ * - Content: Displays the main content provided as children.
28
+ *
29
+ * @param {Object} props - Component props.
30
+ * @param {React.ReactNode} props.children - The main content of the section.
31
+ * @param {string|React.ReactNode} [props.title] - The title for the annotated section.
32
+ * @param {string|React.ReactNode} [props.description] - A brief description for the annotated section.
33
+ * @returns {JSX.Element} The rendered annotated section component.
34
+ */
35
+ declare function AnnotatedSection(props?: {
36
+ children: React.ReactNode;
37
+ title?: string | React.ReactNode;
38
+ description?: string | React.ReactNode;
39
+ }): JSX.Element;
40
+ declare namespace AnnotatedSection {
41
+ let displayName: string;
42
+ }
43
+ import Section from "./LayoutSection";
44
+ //# sourceMappingURL=Layout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../components/Layout.js"],"names":[],"mappings":"AAQA,+CAA6C;;kBANC,OAAO;AAiCrD;;;;;;;;;;GAUG;AACH,gCAHG;IAA+B,QAAQ,EAA/B,KAAK,CAAC,SAAS;CACvB,GAAU,GAAG,CAAC,OAAO,CAmDvB;;;;;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;;;;oBApImB,iBAAiB"}
@@ -0,0 +1,24 @@
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;
20
+ declare namespace Section {
21
+ let displayName: string;
22
+ }
23
+ import React from "react";
24
+ //# sourceMappingURL=LayoutSection.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,38 @@
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 {string} [props.target] - Optional target attribute for specifying where to open the link.
11
+ * @param {string} [props.id] - Optional id attribute for the link.
12
+ * @param {boolean} [props.monochrome=false] - If true, applies monochrome color scheme.
13
+ * @param {boolean} [props.removeUnderline=false] - If true, removes underline from the link.
14
+ * @param {string} [props.accessibilityLabel] - Optional aria-label for accessibility.
15
+ * @param {string} [props.dataPrimaryLink] - Optional data attribute for custom tracking.
16
+ * @param {Function} [props.onMouseEnter] - Optional mouse enter event handler for the link.
17
+ * @param {Function} [props.onMouseLeave] - Optional mouse leave event handler for the link.
18
+ *
19
+ * @returns {JSX.Element} Rendered link element.
20
+ */
21
+ declare function Link(props?: {
22
+ url: string;
23
+ children: React.ReactNode;
24
+ onClick?: Function;
25
+ external?: boolean;
26
+ target?: string;
27
+ id?: string;
28
+ monochrome?: boolean;
29
+ removeUnderline?: boolean;
30
+ accessibilityLabel?: string;
31
+ dataPrimaryLink?: string;
32
+ onMouseEnter?: Function;
33
+ onMouseLeave?: Function;
34
+ }): JSX.Element;
35
+ declare namespace Link {
36
+ let displayName: string;
37
+ }
38
+ //# sourceMappingURL=Link.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../components/Link.js"],"names":[],"mappings":";AAwCA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,8BAhBG;IAAsB,GAAG,EAAjB,MAAM;IACiB,QAAQ,EAA/B,KAAK,CAAC,SAAS;IACE,OAAO;IACR,QAAQ,GAAxB,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;CAErC,GAAU,GAAG,CAAC,OAAO,CA8CvB"}
@@ -0,0 +1,33 @@
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;
18
+ declare namespace List {
19
+ export { Item };
20
+ }
21
+ /**
22
+ * Item component for individual list items in the List component.
23
+ *
24
+ * @param {Object} props - Component props.
25
+ * @param {React.ReactNode} props.children - The content of the list item.
26
+ * @param {string} [props.className] - Additional class names to apply to the list item.
27
+ * @returns {JSX.Element} The rendered Item component.
28
+ */
29
+ declare function Item(props?: {
30
+ children: React.ReactNode;
31
+ className?: string;
32
+ }): JSX.Element;
33
+ //# sourceMappingURL=List.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,34 @@
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;
34
+ //# sourceMappingURL=Listbox.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,13 @@
1
+ export default Loading;
2
+ /**
3
+ * A loading progress bar component that animates over a specified duration.
4
+ *
5
+ * @component
6
+ * @param {Object} props - The props object.
7
+ * @param {number} [props.maxDuration=10000] - The maximum duration (in milliseconds) for the loading progress bar to reach 100%.
8
+ * @returns {JSX.Element} A fixed progress bar displayed at the top of the page.
9
+ */
10
+ declare function Loading(props?: {
11
+ maxDuration?: number;
12
+ }): JSX.Element;
13
+ //# sourceMappingURL=Loading.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,75 @@
1
+ export const ModalContext: React.Context<boolean>;
2
+ export default Modal;
3
+ import React from "react";
4
+ /**
5
+ * Modal component for displaying a customizable dialog.
6
+ *
7
+ * @param {Object} props - The component props.
8
+ * @param {React.ReactNode} [props.children] - The content of the modal.
9
+ * @param {string} [props.title] - The title of the modal.
10
+ * @param {string} [props.subtitle] - The subtitle of the modal.
11
+ * @param {boolean} [props.open=false] - Whether the modal is open.
12
+ * @param {Function} [props.onClose] - Callback function for closing the modal.
13
+ * @param {boolean} [props.sectioned=false] - Whether the modal content should be sectioned.
14
+ * @param {Object} [props.primaryAction] - The primary action for the modal.
15
+ * @param {string} [props.primaryAction.content] - Content of the primary action button.
16
+ * @param {Function} [props.primaryAction.onAction] - Callback for the primary action.
17
+ * @param {boolean} [props.primaryAction.loading=false] - Whether the primary action is loading.
18
+ * @param {boolean} [props.primaryAction.disabled=false] - Whether the primary action is disabled.
19
+ * @param {boolean} [props.primaryAction.destructive=false] - Whether the primary action is destructive.
20
+ * @param {Object} [props.secondaryAction] - The secondary action for the modal.
21
+ * @param {string} [props.secondaryAction.content] - Content of the secondary action button.
22
+ * @param {Function} [props.secondaryAction.onAction] - Callback for the secondary action.
23
+ * @param {boolean} [props.secondaryAction.disabled=false] - Whether the secondary action is disabled.
24
+ * @param {Object[]} [props.secondaryActions=[]] - Additional secondary actions.
25
+ * @param {Object} [props.destructiveAction] - A destructive action for the modal.
26
+ * @param {boolean} [props.loading=false] - Whether the modal is in a loading state.
27
+ * @param {string} [props.size="default"] - The size of the modal (default, large, or full).
28
+ * @param {React.ReactNode} [props.leftAccessory] - Left accessory content in the footer.
29
+ * @param {boolean} [props.hideCloseButton=false] - Whether to hide the close button.
30
+ * @param {number} [props.zIndexOverride=1000] - The z-index of the modal.
31
+ * @returns {React.ReactPortal|null} The rendered modal component or null if not open.
32
+ */
33
+ declare function Modal(props?: {
34
+ children?: React.ReactNode;
35
+ title?: string;
36
+ subtitle?: string;
37
+ open?: boolean;
38
+ onClose?: Function;
39
+ sectioned?: boolean;
40
+ primaryAction?: {
41
+ content?: string;
42
+ onAction?: Function;
43
+ loading?: boolean;
44
+ disabled?: boolean;
45
+ destructive?: boolean;
46
+ };
47
+ secondaryAction?: {
48
+ content?: string;
49
+ onAction?: Function;
50
+ disabled?: boolean;
51
+ };
52
+ secondaryActions?: any[];
53
+ destructiveAction?: any;
54
+ loading?: boolean;
55
+ size?: string;
56
+ leftAccessory?: React.ReactNode;
57
+ hideCloseButton?: boolean;
58
+ zIndexOverride?: number;
59
+ }): React.ReactPortal | null;
60
+ declare namespace Modal {
61
+ export { Section };
62
+ }
63
+ /**
64
+ * Section component for use within the Modal.
65
+ *
66
+ * @param {Object} props - The component props.
67
+ * @param {React.ReactNode} [props.children] - The content of the section.
68
+ * @param {boolean} [props.flush=false] - Whether the section should be flush with no padding.
69
+ * @returns {JSX.Element} The rendered section.
70
+ */
71
+ declare function Section(props?: {
72
+ children?: React.ReactNode;
73
+ flush?: boolean;
74
+ }): JSX.Element;
75
+ //# sourceMappingURL=Modal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../components/Modal.js"],"names":[],"mappings":"AAaA,kDAAiD;;kBAVkC,OAAO;AAgE1F;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,+BA1BG;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;IACQ,cAAc,GAA7B,MAAM;CACd,GAAU,KAAK,CAAC,WAAW,GAAC,IAAI,CAqMlC;;;;AAED;;;;;;;GAOG;AAEH,iCALG;IAAgC,QAAQ,GAAhC,KAAK,CAAC,SAAS;IACC,KAAK,GAArB,OAAO;CACf,GAAU,GAAG,CAAC,OAAO,CA0EvB"}
@@ -0,0 +1,105 @@
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;
27
+ declare namespace Navigation {
28
+ export { Link };
29
+ export { SubLink };
30
+ }
31
+ /**
32
+ * Navigation.Link component.
33
+ * Represents a link within the navigation.
34
+ *
35
+ * @component
36
+ * @param {Object} props - Component properties.
37
+ * @param {boolean} [props.selected] - Whether the link is selected.
38
+ * @param {boolean} [props.highlight] - Whether the link is highlighted.
39
+ * @param {Array<Object>} [props.subLinks] - Array of sub-links for this link.
40
+ * @param {boolean} [props.showSubLinksAsRegularLinks] - Whether to render sub-links as regular links.
41
+ * @param {boolean} [props.showDividerAbove] - Whether to show a divider above the link.
42
+ * @param {boolean} [props.showDividerBelow] - Whether to show a divider below the link.
43
+ * @param {Function} [props.onAction] - Callback for the link action.
44
+ * @param {React.ReactNode} [props.source] - Optional source content to render.
45
+ * @param {React.ReactNode} [props.icon] - Optional icon to render.
46
+ * @param {string} [props.label] - Label for the link.
47
+ * @param {Object} [props.badge] - Badge configuration.
48
+ * @param {string} [props.badge.status] - Badge status (e.g., "success", "warning").
49
+ * @param {string} [props.badge.label] - Badge label.
50
+ * @param {boolean} [props.external] - Whether the link is external.
51
+ * @param {boolean} [props.disclosure] - Whether the link has a disclosure icon.
52
+ * @param {string} [props.iconDisplay] - Icon display style (e.g., "block", "inline").
53
+ * @param {boolean} [props.keepNavigationOpen] - Whether to keep the navigation open.
54
+ * @param {React.ReactNode} [props.accessory] - Optional accessory to render.
55
+ * @returns {JSX.Element} The rendered Link component.
56
+ */
57
+ declare function Link(props?: {
58
+ selected?: boolean;
59
+ highlight?: boolean;
60
+ subLinks?: Array<any>;
61
+ showSubLinksAsRegularLinks?: boolean;
62
+ showDividerAbove?: boolean;
63
+ showDividerBelow?: boolean;
64
+ onAction?: Function;
65
+ source?: React.ReactNode;
66
+ icon?: React.ReactNode;
67
+ label?: string;
68
+ badge?: {
69
+ status?: string;
70
+ label?: string;
71
+ };
72
+ external?: boolean;
73
+ disclosure?: boolean;
74
+ iconDisplay?: string;
75
+ keepNavigationOpen?: boolean;
76
+ accessory?: React.ReactNode;
77
+ }): JSX.Element;
78
+ /**
79
+ * Navigation.SubLink component.
80
+ * Represents a sub-link within the navigation.
81
+ *
82
+ * @component
83
+ * @param {Object} props - Component properties.
84
+ * @param {boolean} [props.selected] - Whether the sub-link is selected.
85
+ * @param {Function} [props.onAction] - Callback for the sub-link action.
86
+ * @param {string} [props.label] - Label for the sub-link.
87
+ * @param {Object} [props.badge] - Badge configuration.
88
+ * @param {string} [props.badge.status] - Badge status (e.g., "success", "warning").
89
+ * @param {string} [props.badge.label] - Badge label.
90
+ * @param {boolean} [props.keepNavigationOpen] - Whether to keep the navigation open.
91
+ * @param {React.ReactNode} [props.accessory] - Optional accessory to render.
92
+ * @returns {JSX.Element} The rendered SubLink component.
93
+ */
94
+ declare function SubLink(props?: {
95
+ selected?: boolean;
96
+ onAction?: Function;
97
+ label?: string;
98
+ badge?: {
99
+ status?: string;
100
+ label?: string;
101
+ };
102
+ keepNavigationOpen?: boolean;
103
+ accessory?: React.ReactNode;
104
+ }): JSX.Element;
105
+ //# sourceMappingURL=Navigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Navigation.d.ts","sourceRoot":"","sources":["../../../components/Navigation.js"],"names":[],"mappings":";AA2BA;;;;;;;;;;;;;;;;;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,CAgGvB;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,CAkCvB"}
@@ -0,0 +1,59 @@
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";
59
+ //# sourceMappingURL=Page.d.ts.map
@@ -0,0 +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,CA4Q9B;kBAhYuC,OAAO"}
@@ -0,0 +1,39 @@
1
+ export default Pagination;
2
+ /**
3
+ * Pagination component for navigating between pages or steps.
4
+ * Provides support for next and previous navigation with optional tooltips.
5
+ *
6
+ * @component
7
+ * @param {Object} props - The properties for the Pagination component.
8
+ * @param {boolean} [props.hasNext] - Indicates whether there is a next page/step.
9
+ * @param {boolean} [props.hasPrevious] - Indicates whether there is a previous page/step.
10
+ * @param {string} [props.nextURL] - URL to navigate to for the next page/step.
11
+ * @param {string} [props.previousURL] - URL to navigate to for the previous page/step.
12
+ * @param {function} [props.onNext] - Callback function to handle next button clicks.
13
+ * @param {function} [props.onPrevious] - Callback function to handle previous button clicks.
14
+ * @param {string} [props.nextTooltip] - Tooltip content for the next button.
15
+ * @param {string} [props.previousTooltip] - Tooltip content for the previous button.
16
+ *
17
+ * @example
18
+ * <Pagination
19
+ * hasNext={true}
20
+ * hasPrevious={true}
21
+ * nextURL="/next"
22
+ * previousURL="/previous"
23
+ * onNext={() => console.log('Next clicked')}
24
+ * onPrevious={() => console.log('Previous clicked')}
25
+ * nextTooltip="Go to next page"
26
+ * previousTooltip="Go to previous page"
27
+ * />
28
+ */
29
+ declare function Pagination(props?: {
30
+ hasNext?: boolean;
31
+ hasPrevious?: boolean;
32
+ nextURL?: string;
33
+ previousURL?: string;
34
+ onNext?: Function;
35
+ onPrevious?: Function;
36
+ nextTooltip?: string;
37
+ previousTooltip?: string;
38
+ }): import("react/jsx-runtime").JSX.Element;
39
+ //# sourceMappingURL=Pagination.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,11 @@
1
+ export default Pane;
2
+ declare function Pane(props?: {}): import("react/jsx-runtime").JSX.Element;
3
+ declare namespace Pane {
4
+ export { Header };
5
+ export { Content };
6
+ export { Footer };
7
+ }
8
+ declare function Header(props?: {}): import("react/jsx-runtime").JSX.Element;
9
+ declare function Content(props?: {}): import("react/jsx-runtime").JSX.Element;
10
+ declare function Footer(props?: {}): import("react/jsx-runtime").JSX.Element;
11
+ //# sourceMappingURL=Pane.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pane.d.ts","sourceRoot":"","sources":["../../../components/Pane.js"],"names":[],"mappings":";AAmBA,2EAmCC;;;;;;AAED,6EAyEC;AAGD,8EAKC;AAGD,6EAKC"}