@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,975 @@
1
+ function _define_property(obj, key, value) {
2
+ if (key in obj) {
3
+ Object.defineProperty(obj, key, {
4
+ value: value,
5
+ enumerable: true,
6
+ configurable: true,
7
+ writable: true
8
+ });
9
+ } else {
10
+ obj[key] = value;
11
+ }
12
+ return obj;
13
+ }
14
+ function _object_spread(target) {
15
+ for(var i = 1; i < arguments.length; i++){
16
+ var source = arguments[i] != null ? arguments[i] : {};
17
+ var ownKeys = Object.keys(source);
18
+ if (typeof Object.getOwnPropertySymbols === "function") {
19
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
20
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
21
+ }));
22
+ }
23
+ ownKeys.forEach(function(key) {
24
+ _define_property(target, key, source[key]);
25
+ });
26
+ }
27
+ return target;
28
+ }
29
+ function ownKeys(object, enumerableOnly) {
30
+ var keys = Object.keys(object);
31
+ if (Object.getOwnPropertySymbols) {
32
+ var symbols = Object.getOwnPropertySymbols(object);
33
+ if (enumerableOnly) {
34
+ symbols = symbols.filter(function(sym) {
35
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
36
+ });
37
+ }
38
+ keys.push.apply(keys, symbols);
39
+ }
40
+ return keys;
41
+ }
42
+ function _object_spread_props(target, source) {
43
+ source = source != null ? source : {};
44
+ if (Object.getOwnPropertyDescriptors) {
45
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
46
+ } else {
47
+ ownKeys(Object(source)).forEach(function(key) {
48
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
49
+ });
50
+ }
51
+ return target;
52
+ }
53
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
54
+ import { transformStorySource } from "../utilities/transformers.js";
55
+ import List from "../components/List.js";
56
+ import Text from "../components/Text.js";
57
+ import Card from "../components/Card.js";
58
+ import Button from "../components/Button.js";
59
+ import Icon from "../components/Icon.js";
60
+ import HorizontalStack from "../components/HorizontalStack.js";
61
+ import VerticalStack from "../components/VerticalStack.js";
62
+ import Grid from "../components/Grid.js";
63
+ import Box from "../components/Box.js";
64
+ import { MobileAcceptMajor, AlertMinor, InfoMinor, ViewMinor } from "@shopify/polaris-icons";
65
+ export default {
66
+ title: "Litho/List",
67
+ component: List,
68
+ parameters: {
69
+ layout: "padded",
70
+ docs: {
71
+ description: {
72
+ component: "A List component that displays a series of related items in a structured format. Lists can be ordered, unordered, or bulleted with support for various content types and styling options."
73
+ },
74
+ source: {
75
+ transform: transformStorySource
76
+ }
77
+ }
78
+ },
79
+ tags: [
80
+ "autodocs"
81
+ ],
82
+ argTypes: {
83
+ type: {
84
+ control: "select",
85
+ options: [
86
+ "bullet",
87
+ "number",
88
+ "none"
89
+ ],
90
+ description: "Type of list (bulleted, numbered, or no markers)"
91
+ },
92
+ spacing: {
93
+ control: "select",
94
+ options: [
95
+ "tight",
96
+ "normal",
97
+ "loose"
98
+ ],
99
+ description: "Spacing between list items"
100
+ },
101
+ children: {
102
+ control: false,
103
+ description: "List items to render inside the list"
104
+ },
105
+ className: {
106
+ control: "text",
107
+ description: "Additional CSS classes to apply"
108
+ }
109
+ }
110
+ };
111
+ export var Default = {
112
+ render: function(args) {
113
+ return /*#__PURE__*/ _jsxs(List, _object_spread_props(_object_spread({}, args), {
114
+ children: [
115
+ /*#__PURE__*/ _jsx(List.Item, {
116
+ children: "First list item"
117
+ }),
118
+ /*#__PURE__*/ _jsx(List.Item, {
119
+ children: "Second list item"
120
+ }),
121
+ /*#__PURE__*/ _jsx(List.Item, {
122
+ children: "Third list item"
123
+ })
124
+ ]
125
+ }));
126
+ }
127
+ };
128
+ export var BulletList = {
129
+ args: {
130
+ type: "bullet"
131
+ },
132
+ render: function(args) {
133
+ return /*#__PURE__*/ _jsxs(List, _object_spread_props(_object_spread({}, args), {
134
+ children: [
135
+ /*#__PURE__*/ _jsx(List.Item, {
136
+ children: "Apples"
137
+ }),
138
+ /*#__PURE__*/ _jsx(List.Item, {
139
+ children: "Bananas"
140
+ }),
141
+ /*#__PURE__*/ _jsx(List.Item, {
142
+ children: "Oranges"
143
+ }),
144
+ /*#__PURE__*/ _jsx(List.Item, {
145
+ children: "Grapes"
146
+ })
147
+ ]
148
+ }));
149
+ },
150
+ parameters: {
151
+ docs: {
152
+ description: {
153
+ story: "Bulleted list for unordered items."
154
+ }
155
+ }
156
+ }
157
+ };
158
+ export var NumberedList = {
159
+ args: {
160
+ type: "number"
161
+ },
162
+ render: function(args) {
163
+ return /*#__PURE__*/ _jsxs(List, _object_spread_props(_object_spread({}, args), {
164
+ children: [
165
+ /*#__PURE__*/ _jsx(List.Item, {
166
+ children: "Create your account"
167
+ }),
168
+ /*#__PURE__*/ _jsx(List.Item, {
169
+ children: "Verify your email address"
170
+ }),
171
+ /*#__PURE__*/ _jsx(List.Item, {
172
+ children: "Complete your profile"
173
+ }),
174
+ /*#__PURE__*/ _jsx(List.Item, {
175
+ children: "Start using the platform"
176
+ })
177
+ ]
178
+ }));
179
+ },
180
+ parameters: {
181
+ docs: {
182
+ description: {
183
+ story: "Numbered list for ordered steps or instructions."
184
+ }
185
+ }
186
+ }
187
+ };
188
+ export var TightSpacing = {
189
+ args: {
190
+ gap: "tight",
191
+ type: "bullet"
192
+ },
193
+ render: function(args) {
194
+ return /*#__PURE__*/ _jsxs(List, _object_spread_props(_object_spread({}, args), {
195
+ children: [
196
+ /*#__PURE__*/ _jsx(List.Item, {
197
+ children: "Item with tight spacing"
198
+ }),
199
+ /*#__PURE__*/ _jsx(List.Item, {
200
+ children: "Another tightly spaced item"
201
+ }),
202
+ /*#__PURE__*/ _jsx(List.Item, {
203
+ children: "Third item with minimal gaps"
204
+ })
205
+ ]
206
+ }));
207
+ },
208
+ parameters: {
209
+ docs: {
210
+ description: {
211
+ story: "List with tight spacing for compact layouts."
212
+ }
213
+ }
214
+ }
215
+ };
216
+ export var LooseSpacing = {
217
+ args: {
218
+ gap: "loose",
219
+ type: "bullet"
220
+ },
221
+ render: function(args) {
222
+ return /*#__PURE__*/ _jsxs(List, _object_spread_props(_object_spread({}, args), {
223
+ children: [
224
+ /*#__PURE__*/ _jsx(List.Item, {
225
+ children: "Item with loose spacing"
226
+ }),
227
+ /*#__PURE__*/ _jsx(List.Item, {
228
+ children: "Another item with more breathing room"
229
+ }),
230
+ /*#__PURE__*/ _jsx(List.Item, {
231
+ children: "Third item with generous gaps"
232
+ })
233
+ ]
234
+ }));
235
+ },
236
+ parameters: {
237
+ docs: {
238
+ description: {
239
+ story: "List with loose spacing for better readability."
240
+ }
241
+ }
242
+ }
243
+ };
244
+ export var NestedLists = {
245
+ render: function() {
246
+ return /*#__PURE__*/ _jsxs(List, {
247
+ type: "bullet",
248
+ children: [
249
+ /*#__PURE__*/ _jsxs(List.Item, {
250
+ children: [
251
+ "Web Development",
252
+ /*#__PURE__*/ _jsx(Box, {
253
+ paddingBlockStart: "2",
254
+ children: /*#__PURE__*/ _jsxs(List, {
255
+ type: "bullet",
256
+ gap: "tight",
257
+ children: [
258
+ /*#__PURE__*/ _jsx(List.Item, {
259
+ children: "Frontend Technologies"
260
+ }),
261
+ /*#__PURE__*/ _jsx(List.Item, {
262
+ children: "Backend Frameworks"
263
+ }),
264
+ /*#__PURE__*/ _jsx(List.Item, {
265
+ children: "Database Management"
266
+ })
267
+ ]
268
+ })
269
+ })
270
+ ]
271
+ }),
272
+ /*#__PURE__*/ _jsxs(List.Item, {
273
+ children: [
274
+ "Mobile Development",
275
+ /*#__PURE__*/ _jsx(Box, {
276
+ paddingBlockStart: "2",
277
+ children: /*#__PURE__*/ _jsxs(List, {
278
+ type: "bullet",
279
+ gap: "tight",
280
+ children: [
281
+ /*#__PURE__*/ _jsx(List.Item, {
282
+ children: "iOS Development"
283
+ }),
284
+ /*#__PURE__*/ _jsx(List.Item, {
285
+ children: "Android Development"
286
+ }),
287
+ /*#__PURE__*/ _jsx(List.Item, {
288
+ children: "Cross-platform Solutions"
289
+ })
290
+ ]
291
+ })
292
+ })
293
+ ]
294
+ }),
295
+ /*#__PURE__*/ _jsxs(List.Item, {
296
+ children: [
297
+ "DevOps",
298
+ /*#__PURE__*/ _jsx(Box, {
299
+ paddingBlockStart: "2",
300
+ children: /*#__PURE__*/ _jsxs(List, {
301
+ type: "bullet",
302
+ gap: "tight",
303
+ children: [
304
+ /*#__PURE__*/ _jsx(List.Item, {
305
+ children: "CI/CD Pipelines"
306
+ }),
307
+ /*#__PURE__*/ _jsx(List.Item, {
308
+ children: "Cloud Infrastructure"
309
+ }),
310
+ /*#__PURE__*/ _jsx(List.Item, {
311
+ children: "Monitoring & Logging"
312
+ })
313
+ ]
314
+ })
315
+ })
316
+ ]
317
+ })
318
+ ]
319
+ });
320
+ },
321
+ parameters: {
322
+ docs: {
323
+ description: {
324
+ story: "Nested lists for hierarchical information organization."
325
+ }
326
+ }
327
+ }
328
+ };
329
+ export var WithIcons = {
330
+ render: function() {
331
+ return /*#__PURE__*/ _jsxs(List, {
332
+ type: "none",
333
+ children: [
334
+ /*#__PURE__*/ _jsx(List.Item, {
335
+ children: /*#__PURE__*/ _jsxs(HorizontalStack, {
336
+ gap: "2",
337
+ blockAlign: "center",
338
+ children: [
339
+ /*#__PURE__*/ _jsx(Icon, {
340
+ source: MobileAcceptMajor,
341
+ size: "sm",
342
+ color: "success"
343
+ }),
344
+ /*#__PURE__*/ _jsx(Text, {
345
+ children: "Task completed successfully"
346
+ })
347
+ ]
348
+ })
349
+ }),
350
+ /*#__PURE__*/ _jsx(List.Item, {
351
+ children: /*#__PURE__*/ _jsxs(HorizontalStack, {
352
+ gap: "2",
353
+ blockAlign: "center",
354
+ children: [
355
+ /*#__PURE__*/ _jsx(Icon, {
356
+ source: AlertMinor,
357
+ size: "sm",
358
+ color: "warning"
359
+ }),
360
+ /*#__PURE__*/ _jsx(Text, {
361
+ children: "Warning: Action required"
362
+ })
363
+ ]
364
+ })
365
+ }),
366
+ /*#__PURE__*/ _jsx(List.Item, {
367
+ children: /*#__PURE__*/ _jsxs(HorizontalStack, {
368
+ gap: "2",
369
+ blockAlign: "center",
370
+ children: [
371
+ /*#__PURE__*/ _jsx(Icon, {
372
+ source: InfoMinor,
373
+ size: "sm",
374
+ color: "subdued"
375
+ }),
376
+ /*#__PURE__*/ _jsx(Text, {
377
+ children: "Additional information available"
378
+ })
379
+ ]
380
+ })
381
+ })
382
+ ]
383
+ });
384
+ },
385
+ parameters: {
386
+ docs: {
387
+ description: {
388
+ story: "List items with icons for visual communication."
389
+ }
390
+ }
391
+ }
392
+ };
393
+ export var FeatureList = {
394
+ render: function() {
395
+ return /*#__PURE__*/ _jsx(Card, {
396
+ title: "Premium Features",
397
+ padded: true,
398
+ children: /*#__PURE__*/ _jsxs(List, {
399
+ type: "bullet",
400
+ gap: "loose",
401
+ children: [
402
+ /*#__PURE__*/ _jsx(List.Item, {
403
+ children: /*#__PURE__*/ _jsxs(VerticalStack, {
404
+ gap: "1",
405
+ children: [
406
+ /*#__PURE__*/ _jsx(Text, {
407
+ variant: "headingSm",
408
+ children: "Advanced Analytics"
409
+ }),
410
+ /*#__PURE__*/ _jsx(Text, {
411
+ color: "subdued",
412
+ children: "Get detailed insights into your data with custom dashboards and reports."
413
+ })
414
+ ]
415
+ })
416
+ }),
417
+ /*#__PURE__*/ _jsx(List.Item, {
418
+ children: /*#__PURE__*/ _jsxs(VerticalStack, {
419
+ gap: "1",
420
+ children: [
421
+ /*#__PURE__*/ _jsx(Text, {
422
+ variant: "headingSm",
423
+ children: "Priority Support"
424
+ }),
425
+ /*#__PURE__*/ _jsx(Text, {
426
+ color: "subdued",
427
+ children: "24/7 dedicated support with guaranteed response times."
428
+ })
429
+ ]
430
+ })
431
+ }),
432
+ /*#__PURE__*/ _jsx(List.Item, {
433
+ children: /*#__PURE__*/ _jsxs(VerticalStack, {
434
+ gap: "1",
435
+ children: [
436
+ /*#__PURE__*/ _jsx(Text, {
437
+ variant: "headingSm",
438
+ children: "Custom Integrations"
439
+ }),
440
+ /*#__PURE__*/ _jsx(Text, {
441
+ color: "subdued",
442
+ children: "Connect with any third-party service using our API platform."
443
+ })
444
+ ]
445
+ })
446
+ }),
447
+ /*#__PURE__*/ _jsx(List.Item, {
448
+ children: /*#__PURE__*/ _jsxs(VerticalStack, {
449
+ gap: "1",
450
+ children: [
451
+ /*#__PURE__*/ _jsx(Text, {
452
+ variant: "headingSm",
453
+ children: "Team Collaboration"
454
+ }),
455
+ /*#__PURE__*/ _jsx(Text, {
456
+ color: "subdued",
457
+ children: "Share projects and collaborate in real-time with your team members."
458
+ })
459
+ ]
460
+ })
461
+ })
462
+ ]
463
+ })
464
+ });
465
+ },
466
+ parameters: {
467
+ docs: {
468
+ description: {
469
+ story: "Feature list with titles and descriptions for marketing content."
470
+ }
471
+ }
472
+ }
473
+ };
474
+ export var ChecklistExample = {
475
+ render: function() {
476
+ var checklistItems = [
477
+ {
478
+ id: 1,
479
+ text: "Review project requirements",
480
+ completed: true
481
+ },
482
+ {
483
+ id: 2,
484
+ text: "Set up development environment",
485
+ completed: true
486
+ },
487
+ {
488
+ id: 3,
489
+ text: "Create initial wireframes",
490
+ completed: false
491
+ },
492
+ {
493
+ id: 4,
494
+ text: "Design user interface mockups",
495
+ completed: false
496
+ },
497
+ {
498
+ id: 5,
499
+ text: "Implement core functionality",
500
+ completed: false
501
+ },
502
+ {
503
+ id: 6,
504
+ text: "Write unit tests",
505
+ completed: false
506
+ },
507
+ {
508
+ id: 7,
509
+ text: "Deploy to staging environment",
510
+ completed: false
511
+ }
512
+ ];
513
+ return /*#__PURE__*/ _jsxs(Card, {
514
+ title: "Project Checklist",
515
+ padded: true,
516
+ children: [
517
+ /*#__PURE__*/ _jsx(List, {
518
+ gap: "loose",
519
+ children: checklistItems.map(function(item) {
520
+ return /*#__PURE__*/ _jsx(List.Item, {
521
+ children: /*#__PURE__*/ _jsxs(HorizontalStack, {
522
+ gap: "3",
523
+ blockAlign: "center",
524
+ children: [
525
+ /*#__PURE__*/ _jsx(Box, {
526
+ minInlineSize: "20px",
527
+ minBlockSize: "20px",
528
+ borderRadius: "full",
529
+ background: item.completed ? "success" : "neutral",
530
+ inlineAlign: "center",
531
+ blockAlign: "center",
532
+ style: {
533
+ display: "flex"
534
+ },
535
+ children: item.completed && /*#__PURE__*/ _jsx(Icon, {
536
+ source: MobileAcceptMajor,
537
+ size: "xs",
538
+ color: "white"
539
+ })
540
+ }),
541
+ /*#__PURE__*/ _jsx(Text, {
542
+ style: {
543
+ textDecoration: item.completed ? "line-through" : "none",
544
+ color: item.completed ? "#999" : "inherit"
545
+ },
546
+ children: item.text
547
+ })
548
+ ]
549
+ })
550
+ }, item.id);
551
+ })
552
+ }),
553
+ /*#__PURE__*/ _jsx(Box, {
554
+ paddingBlockStart: "6",
555
+ borderBlockStartWidth: "1",
556
+ borderColor: "neutral",
557
+ children: /*#__PURE__*/ _jsx(Box, {
558
+ paddingBlockStart: "4",
559
+ children: /*#__PURE__*/ _jsxs(Text, {
560
+ color: "subdued",
561
+ children: [
562
+ "Progress: ",
563
+ checklistItems.filter(function(item) {
564
+ return item.completed;
565
+ }).length,
566
+ " of",
567
+ " ",
568
+ checklistItems.length,
569
+ " completed"
570
+ ]
571
+ })
572
+ })
573
+ })
574
+ ]
575
+ });
576
+ },
577
+ parameters: {
578
+ docs: {
579
+ description: {
580
+ story: "Interactive checklist example with completion status visualization."
581
+ }
582
+ }
583
+ }
584
+ };
585
+ export var NavigationMenu = {
586
+ render: function() {
587
+ return /*#__PURE__*/ _jsx(Card, {
588
+ title: "Main Navigation",
589
+ padded: true,
590
+ children: /*#__PURE__*/ _jsxs(List, {
591
+ children: [
592
+ /*#__PURE__*/ _jsx(List.Item, {
593
+ children: /*#__PURE__*/ _jsxs(HorizontalStack, {
594
+ align: "space-between",
595
+ blockAlign: "center",
596
+ children: [
597
+ /*#__PURE__*/ _jsx(Text, {
598
+ children: "Dashboard"
599
+ }),
600
+ /*#__PURE__*/ _jsx(Icon, {
601
+ source: ViewMinor,
602
+ size: "sm",
603
+ color: "subdued"
604
+ })
605
+ ]
606
+ })
607
+ }),
608
+ /*#__PURE__*/ _jsx(List.Item, {
609
+ children: /*#__PURE__*/ _jsxs(HorizontalStack, {
610
+ align: "space-between",
611
+ blockAlign: "center",
612
+ children: [
613
+ /*#__PURE__*/ _jsx(Text, {
614
+ children: "Projects"
615
+ }),
616
+ /*#__PURE__*/ _jsx(Icon, {
617
+ source: ViewMinor,
618
+ size: "sm",
619
+ color: "subdued"
620
+ })
621
+ ]
622
+ })
623
+ }),
624
+ /*#__PURE__*/ _jsx(List.Item, {
625
+ children: /*#__PURE__*/ _jsxs(HorizontalStack, {
626
+ align: "space-between",
627
+ blockAlign: "center",
628
+ children: [
629
+ /*#__PURE__*/ _jsx(Text, {
630
+ children: "Team Members"
631
+ }),
632
+ /*#__PURE__*/ _jsx(Icon, {
633
+ source: ViewMinor,
634
+ size: "sm",
635
+ color: "subdued"
636
+ })
637
+ ]
638
+ })
639
+ }),
640
+ /*#__PURE__*/ _jsx(List.Item, {
641
+ children: /*#__PURE__*/ _jsxs(HorizontalStack, {
642
+ align: "space-between",
643
+ blockAlign: "center",
644
+ children: [
645
+ /*#__PURE__*/ _jsx(Text, {
646
+ children: "Settings"
647
+ }),
648
+ /*#__PURE__*/ _jsx(Icon, {
649
+ source: ViewMinor,
650
+ size: "sm",
651
+ color: "subdued"
652
+ })
653
+ ]
654
+ })
655
+ })
656
+ ]
657
+ })
658
+ });
659
+ },
660
+ parameters: {
661
+ docs: {
662
+ description: {
663
+ story: "Navigation menu layout using list items with icons."
664
+ }
665
+ }
666
+ }
667
+ };
668
+ export var InstructionSteps = {
669
+ render: function() {
670
+ return /*#__PURE__*/ _jsx(Card, {
671
+ title: "Getting Started Guide",
672
+ padded: true,
673
+ children: /*#__PURE__*/ _jsxs(List, {
674
+ type: "number",
675
+ gap: "loose",
676
+ children: [
677
+ /*#__PURE__*/ _jsx(List.Item, {
678
+ children: /*#__PURE__*/ _jsxs(VerticalStack, {
679
+ gap: "2",
680
+ children: [
681
+ /*#__PURE__*/ _jsx(Text, {
682
+ variant: "headingSm",
683
+ children: "Install the Application"
684
+ }),
685
+ /*#__PURE__*/ _jsx(Text, {
686
+ children: "Download and install the application from our website or app store."
687
+ }),
688
+ /*#__PURE__*/ _jsx(Box, {
689
+ children: /*#__PURE__*/ _jsx(Button, {
690
+ size: "small",
691
+ children: "Download Now"
692
+ })
693
+ })
694
+ ]
695
+ })
696
+ }),
697
+ /*#__PURE__*/ _jsx(List.Item, {
698
+ children: /*#__PURE__*/ _jsxs(VerticalStack, {
699
+ gap: "2",
700
+ children: [
701
+ /*#__PURE__*/ _jsx(Text, {
702
+ variant: "headingSm",
703
+ children: "Create Your Account"
704
+ }),
705
+ /*#__PURE__*/ _jsx(Text, {
706
+ children: "Sign up with your email address and create a secure password."
707
+ }),
708
+ /*#__PURE__*/ _jsx(Box, {
709
+ children: /*#__PURE__*/ _jsx(Button, {
710
+ size: "small",
711
+ children: "Sign Up"
712
+ })
713
+ })
714
+ ]
715
+ })
716
+ }),
717
+ /*#__PURE__*/ _jsx(List.Item, {
718
+ children: /*#__PURE__*/ _jsxs(VerticalStack, {
719
+ gap: "2",
720
+ children: [
721
+ /*#__PURE__*/ _jsx(Text, {
722
+ variant: "headingSm",
723
+ children: "Verify Your Email"
724
+ }),
725
+ /*#__PURE__*/ _jsx(Text, {
726
+ children: "Check your inbox and click the verification link we sent you."
727
+ })
728
+ ]
729
+ })
730
+ }),
731
+ /*#__PURE__*/ _jsx(List.Item, {
732
+ children: /*#__PURE__*/ _jsxs(VerticalStack, {
733
+ gap: "2",
734
+ children: [
735
+ /*#__PURE__*/ _jsx(Text, {
736
+ variant: "headingSm",
737
+ children: "Complete Your Profile"
738
+ }),
739
+ /*#__PURE__*/ _jsx(Text, {
740
+ children: "Add your personal information and preferences to get started."
741
+ }),
742
+ /*#__PURE__*/ _jsx(Box, {
743
+ children: /*#__PURE__*/ _jsx(Button, {
744
+ size: "small",
745
+ children: "Complete Profile"
746
+ })
747
+ })
748
+ ]
749
+ })
750
+ })
751
+ ]
752
+ })
753
+ });
754
+ },
755
+ parameters: {
756
+ docs: {
757
+ description: {
758
+ story: "Step-by-step instructions with detailed descriptions and action buttons."
759
+ }
760
+ }
761
+ }
762
+ };
763
+ export var ComparisonList = {
764
+ render: function() {
765
+ return /*#__PURE__*/ _jsxs(Grid, {
766
+ columns: 2,
767
+ gap: "8",
768
+ children: [
769
+ /*#__PURE__*/ _jsx(Card, {
770
+ title: "Free Plan",
771
+ padded: true,
772
+ children: /*#__PURE__*/ _jsxs(List, {
773
+ type: "bullet",
774
+ gap: "tight",
775
+ children: [
776
+ /*#__PURE__*/ _jsx(List.Item, {
777
+ children: /*#__PURE__*/ _jsxs(HorizontalStack, {
778
+ gap: "2",
779
+ blockAlign: "center",
780
+ children: [
781
+ /*#__PURE__*/ _jsx(Icon, {
782
+ source: MobileAcceptMajor,
783
+ size: "sm",
784
+ color: "success"
785
+ }),
786
+ /*#__PURE__*/ _jsx(Text, {
787
+ children: "5 projects"
788
+ })
789
+ ]
790
+ })
791
+ }),
792
+ /*#__PURE__*/ _jsx(List.Item, {
793
+ children: /*#__PURE__*/ _jsxs(HorizontalStack, {
794
+ gap: "2",
795
+ blockAlign: "center",
796
+ children: [
797
+ /*#__PURE__*/ _jsx(Icon, {
798
+ source: MobileAcceptMajor,
799
+ size: "sm",
800
+ color: "success"
801
+ }),
802
+ /*#__PURE__*/ _jsx(Text, {
803
+ children: "1GB storage"
804
+ })
805
+ ]
806
+ })
807
+ }),
808
+ /*#__PURE__*/ _jsx(List.Item, {
809
+ children: /*#__PURE__*/ _jsxs(HorizontalStack, {
810
+ gap: "2",
811
+ blockAlign: "center",
812
+ children: [
813
+ /*#__PURE__*/ _jsx(Icon, {
814
+ source: MobileAcceptMajor,
815
+ size: "sm",
816
+ color: "success"
817
+ }),
818
+ /*#__PURE__*/ _jsx(Text, {
819
+ children: "Basic support"
820
+ })
821
+ ]
822
+ })
823
+ }),
824
+ /*#__PURE__*/ _jsx(List.Item, {
825
+ children: /*#__PURE__*/ _jsxs(HorizontalStack, {
826
+ gap: "2",
827
+ blockAlign: "center",
828
+ children: [
829
+ /*#__PURE__*/ _jsx(Box, {
830
+ minInlineSize: "16px",
831
+ minBlockSize: "16px",
832
+ inlineAlign: "center",
833
+ blockAlign: "center",
834
+ style: {
835
+ display: "flex",
836
+ color: "#999",
837
+ fontSize: "12px"
838
+ },
839
+ children: "\xd7"
840
+ }),
841
+ /*#__PURE__*/ _jsx(Text, {
842
+ color: "subdued",
843
+ children: "Advanced analytics"
844
+ })
845
+ ]
846
+ })
847
+ }),
848
+ /*#__PURE__*/ _jsx(List.Item, {
849
+ children: /*#__PURE__*/ _jsxs(HorizontalStack, {
850
+ gap: "2",
851
+ blockAlign: "center",
852
+ children: [
853
+ /*#__PURE__*/ _jsx(Box, {
854
+ minInlineSize: "16px",
855
+ minBlockSize: "16px",
856
+ inlineAlign: "center",
857
+ blockAlign: "center",
858
+ style: {
859
+ display: "flex",
860
+ color: "#999",
861
+ fontSize: "12px"
862
+ },
863
+ children: "\xd7"
864
+ }),
865
+ /*#__PURE__*/ _jsx(Text, {
866
+ color: "subdued",
867
+ children: "Priority support"
868
+ })
869
+ ]
870
+ })
871
+ })
872
+ ]
873
+ })
874
+ }),
875
+ /*#__PURE__*/ _jsx(Card, {
876
+ title: "Pro Plan",
877
+ padded: true,
878
+ children: /*#__PURE__*/ _jsxs(List, {
879
+ type: "bullet",
880
+ gap: "tight",
881
+ children: [
882
+ /*#__PURE__*/ _jsx(List.Item, {
883
+ children: /*#__PURE__*/ _jsxs(HorizontalStack, {
884
+ gap: "2",
885
+ blockAlign: "center",
886
+ children: [
887
+ /*#__PURE__*/ _jsx(Icon, {
888
+ source: MobileAcceptMajor,
889
+ size: "sm",
890
+ color: "success"
891
+ }),
892
+ /*#__PURE__*/ _jsx(Text, {
893
+ children: "Unlimited projects"
894
+ })
895
+ ]
896
+ })
897
+ }),
898
+ /*#__PURE__*/ _jsx(List.Item, {
899
+ children: /*#__PURE__*/ _jsxs(HorizontalStack, {
900
+ gap: "2",
901
+ blockAlign: "center",
902
+ children: [
903
+ /*#__PURE__*/ _jsx(Icon, {
904
+ source: MobileAcceptMajor,
905
+ size: "sm",
906
+ color: "success"
907
+ }),
908
+ /*#__PURE__*/ _jsx(Text, {
909
+ children: "100GB storage"
910
+ })
911
+ ]
912
+ })
913
+ }),
914
+ /*#__PURE__*/ _jsx(List.Item, {
915
+ children: /*#__PURE__*/ _jsxs(HorizontalStack, {
916
+ gap: "2",
917
+ blockAlign: "center",
918
+ children: [
919
+ /*#__PURE__*/ _jsx(Icon, {
920
+ source: MobileAcceptMajor,
921
+ size: "sm",
922
+ color: "success"
923
+ }),
924
+ /*#__PURE__*/ _jsx(Text, {
925
+ children: "Priority support"
926
+ })
927
+ ]
928
+ })
929
+ }),
930
+ /*#__PURE__*/ _jsx(List.Item, {
931
+ children: /*#__PURE__*/ _jsxs(HorizontalStack, {
932
+ gap: "2",
933
+ blockAlign: "center",
934
+ children: [
935
+ /*#__PURE__*/ _jsx(Icon, {
936
+ source: MobileAcceptMajor,
937
+ size: "sm",
938
+ color: "success"
939
+ }),
940
+ /*#__PURE__*/ _jsx(Text, {
941
+ children: "Advanced analytics"
942
+ })
943
+ ]
944
+ })
945
+ }),
946
+ /*#__PURE__*/ _jsx(List.Item, {
947
+ children: /*#__PURE__*/ _jsxs(HorizontalStack, {
948
+ gap: "2",
949
+ blockAlign: "center",
950
+ children: [
951
+ /*#__PURE__*/ _jsx(Icon, {
952
+ source: MobileAcceptMajor,
953
+ size: "sm",
954
+ color: "success"
955
+ }),
956
+ /*#__PURE__*/ _jsx(Text, {
957
+ children: "Custom integrations"
958
+ })
959
+ ]
960
+ })
961
+ })
962
+ ]
963
+ })
964
+ })
965
+ ]
966
+ });
967
+ },
968
+ parameters: {
969
+ docs: {
970
+ description: {
971
+ story: "Side-by-side comparison lists showing plan features and limitations."
972
+ }
973
+ }
974
+ }
975
+ };