@arbor-education/design-system.components 0.15.0 → 0.16.1

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 (304) hide show
  1. package/.gather/skills/write-stories/SKILL.md +207 -271
  2. package/.storybook/preview.ts +5 -0
  3. package/CHANGELOG.md +23 -0
  4. package/README.md +8 -0
  5. package/component-library.md +144 -13
  6. package/dist/components/articleCard/ArticleCard.stories.d.ts +137 -11
  7. package/dist/components/articleCard/ArticleCard.stories.d.ts.map +1 -1
  8. package/dist/components/articleCard/ArticleCard.stories.js +358 -91
  9. package/dist/components/articleCard/ArticleCard.stories.js.map +1 -1
  10. package/dist/components/avatar/Avatar.stories.d.ts +6 -6
  11. package/dist/components/avatar/Avatar.stories.d.ts.map +1 -1
  12. package/dist/components/avatar/Avatar.stories.js +393 -49
  13. package/dist/components/avatar/Avatar.stories.js.map +1 -1
  14. package/dist/components/avatarGroup/AvatarGroup.stories.d.ts +9 -7
  15. package/dist/components/avatarGroup/AvatarGroup.stories.d.ts.map +1 -1
  16. package/dist/components/avatarGroup/AvatarGroup.stories.js +688 -65
  17. package/dist/components/avatarGroup/AvatarGroup.stories.js.map +1 -1
  18. package/dist/components/banner/Banner.stories.d.ts.map +1 -1
  19. package/dist/components/banner/Banner.stories.js +7 -3
  20. package/dist/components/banner/Banner.stories.js.map +1 -1
  21. package/dist/components/card/Card.stories.d.ts +105 -4
  22. package/dist/components/card/Card.stories.d.ts.map +1 -1
  23. package/dist/components/card/Card.stories.js +336 -18
  24. package/dist/components/card/Card.stories.js.map +1 -1
  25. package/dist/components/combobox/Combobox.stories.d.ts +134 -21
  26. package/dist/components/combobox/Combobox.stories.d.ts.map +1 -1
  27. package/dist/components/combobox/Combobox.stories.js +676 -175
  28. package/dist/components/combobox/Combobox.stories.js.map +1 -1
  29. package/dist/components/datePicker/DatePicker.stories.d.ts +119 -27
  30. package/dist/components/datePicker/DatePicker.stories.d.ts.map +1 -1
  31. package/dist/components/datePicker/DatePicker.stories.js +575 -47
  32. package/dist/components/datePicker/DatePicker.stories.js.map +1 -1
  33. package/dist/components/dateTimePicker/DateTimePicker.stories.d.ts +155 -39
  34. package/dist/components/dateTimePicker/DateTimePicker.stories.d.ts.map +1 -1
  35. package/dist/components/dateTimePicker/DateTimePicker.stories.js +674 -103
  36. package/dist/components/dateTimePicker/DateTimePicker.stories.js.map +1 -1
  37. package/dist/components/editableText/EditableText.stories.d.ts +53 -12
  38. package/dist/components/editableText/EditableText.stories.d.ts.map +1 -1
  39. package/dist/components/editableText/EditableText.stories.js +401 -64
  40. package/dist/components/editableText/EditableText.stories.js.map +1 -1
  41. package/dist/components/formField/FormField.d.ts +4 -0
  42. package/dist/components/formField/FormField.d.ts.map +1 -1
  43. package/dist/components/formField/FormField.js +2 -1
  44. package/dist/components/formField/FormField.js.map +1 -1
  45. package/dist/components/formField/FormField.test.js +5 -0
  46. package/dist/components/formField/FormField.test.js.map +1 -1
  47. package/dist/components/formField/fieldset/Fieldset.stories.d.ts +56 -4
  48. package/dist/components/formField/fieldset/Fieldset.stories.d.ts.map +1 -1
  49. package/dist/components/formField/fieldset/Fieldset.stories.js +534 -28
  50. package/dist/components/formField/fieldset/Fieldset.stories.js.map +1 -1
  51. package/dist/components/formField/inputs/checkbox/CheckboxGroup.d.ts +3 -1
  52. package/dist/components/formField/inputs/checkbox/CheckboxGroup.d.ts.map +1 -1
  53. package/dist/components/formField/inputs/checkbox/CheckboxInput.js +1 -1
  54. package/dist/components/formField/inputs/checkbox/CheckboxInput.js.map +1 -1
  55. package/dist/components/formField/inputs/colourPickerDropdown/ColourPickerDropdown.stories.d.ts +95 -1
  56. package/dist/components/formField/inputs/colourPickerDropdown/ColourPickerDropdown.stories.d.ts.map +1 -1
  57. package/dist/components/formField/inputs/colourPickerDropdown/ColourPickerDropdown.stories.js +386 -9
  58. package/dist/components/formField/inputs/colourPickerDropdown/ColourPickerDropdown.stories.js.map +1 -1
  59. package/dist/components/formField/inputs/radio/RadioButtonGroup.d.ts +6 -2
  60. package/dist/components/formField/inputs/radio/RadioButtonGroup.d.ts.map +1 -1
  61. package/dist/components/formField/inputs/radio/RadioButtonGroup.js.map +1 -1
  62. package/dist/components/formField/inputs/radio/RadioButtonInput.stories.d.ts.map +1 -1
  63. package/dist/components/formField/inputs/radio/RadioButtonInput.stories.js +61 -49
  64. package/dist/components/formField/inputs/radio/RadioButtonInput.stories.js.map +1 -1
  65. package/dist/components/formField/inputs/selectDropdown/SelectDropdown.stories.d.ts +188 -166
  66. package/dist/components/formField/inputs/selectDropdown/SelectDropdown.stories.d.ts.map +1 -1
  67. package/dist/components/formField/inputs/selectDropdown/SelectDropdown.stories.js +821 -160
  68. package/dist/components/formField/inputs/selectDropdown/SelectDropdown.stories.js.map +1 -1
  69. package/dist/components/formField/inputs/time/TimeInput.stories.d.ts +176 -22
  70. package/dist/components/formField/inputs/time/TimeInput.stories.d.ts.map +1 -1
  71. package/dist/components/formField/inputs/time/TimeInput.stories.js +851 -92
  72. package/dist/components/formField/inputs/time/TimeInput.stories.js.map +1 -1
  73. package/dist/components/formField/label/Label.stories.d.ts +54 -5
  74. package/dist/components/formField/label/Label.stories.d.ts.map +1 -1
  75. package/dist/components/formField/label/Label.stories.js +238 -4
  76. package/dist/components/formField/label/Label.stories.js.map +1 -1
  77. package/dist/components/icoText/IcoText.stories.d.ts +32 -6
  78. package/dist/components/icoText/IcoText.stories.d.ts.map +1 -1
  79. package/dist/components/icoText/IcoText.stories.js +309 -14
  80. package/dist/components/icoText/IcoText.stories.js.map +1 -1
  81. package/dist/components/kpiCard/KPICard.stories.d.ts +100 -2
  82. package/dist/components/kpiCard/KPICard.stories.d.ts.map +1 -1
  83. package/dist/components/kpiCard/KPICard.stories.js +354 -10
  84. package/dist/components/kpiCard/KPICard.stories.js.map +1 -1
  85. package/dist/components/kvpList/KVPList.stories.d.ts +57 -4
  86. package/dist/components/kvpList/KVPList.stories.d.ts.map +1 -1
  87. package/dist/components/kvpList/KVPList.stories.js +403 -10
  88. package/dist/components/kvpList/KVPList.stories.js.map +1 -1
  89. package/dist/components/modal/Modal.stories.d.ts +113 -9
  90. package/dist/components/modal/Modal.stories.d.ts.map +1 -1
  91. package/dist/components/modal/Modal.stories.js +633 -13
  92. package/dist/components/modal/Modal.stories.js.map +1 -1
  93. package/dist/components/modal/modalManager/ModalManager.stories.d.ts +34 -10
  94. package/dist/components/modal/modalManager/ModalManager.stories.d.ts.map +1 -1
  95. package/dist/components/modal/modalManager/ModalManager.stories.js +463 -85
  96. package/dist/components/modal/modalManager/ModalManager.stories.js.map +1 -1
  97. package/dist/components/pill/Pill.d.ts.map +1 -1
  98. package/dist/components/pill/Pill.js +1 -1
  99. package/dist/components/pill/Pill.js.map +1 -1
  100. package/dist/components/pill/Pill.stories.d.ts.map +1 -1
  101. package/dist/components/pill/Pill.stories.js +11 -13
  102. package/dist/components/pill/Pill.stories.js.map +1 -1
  103. package/dist/components/row/Row.stories.d.ts +1 -2
  104. package/dist/components/row/Row.stories.d.ts.map +1 -1
  105. package/dist/components/row/Row.stories.js +360 -50
  106. package/dist/components/row/Row.stories.js.map +1 -1
  107. package/dist/components/searchBar/SearchBar.stories.d.ts +52 -4
  108. package/dist/components/searchBar/SearchBar.stories.d.ts.map +1 -1
  109. package/dist/components/searchBar/SearchBar.stories.js +428 -36
  110. package/dist/components/searchBar/SearchBar.stories.js.map +1 -1
  111. package/dist/components/section/Section.stories.d.ts +11 -41
  112. package/dist/components/section/Section.stories.d.ts.map +1 -1
  113. package/dist/components/section/Section.stories.js +494 -56
  114. package/dist/components/section/Section.stories.js.map +1 -1
  115. package/dist/components/singleUser/SingleUser.stories.d.ts +5 -4
  116. package/dist/components/singleUser/SingleUser.stories.d.ts.map +1 -1
  117. package/dist/components/singleUser/SingleUser.stories.js +303 -31
  118. package/dist/components/singleUser/SingleUser.stories.js.map +1 -1
  119. package/dist/components/slideoverManager/SlideoverManager.stories.d.ts +32 -11
  120. package/dist/components/slideoverManager/SlideoverManager.stories.d.ts.map +1 -1
  121. package/dist/components/slideoverManager/SlideoverManager.stories.js +380 -84
  122. package/dist/components/slideoverManager/SlideoverManager.stories.js.map +1 -1
  123. package/dist/components/table/DSDefaultColDef.d.ts.map +1 -1
  124. package/dist/components/table/DSDefaultColDef.js +4 -3
  125. package/dist/components/table/DSDefaultColDef.js.map +1 -1
  126. package/dist/components/table/Table.d.ts +6 -1
  127. package/dist/components/table/Table.d.ts.map +1 -1
  128. package/dist/components/table/Table.js +8 -3
  129. package/dist/components/table/Table.js.map +1 -1
  130. package/dist/components/table/Table.stories.d.ts +3 -0
  131. package/dist/components/table/Table.stories.d.ts.map +1 -1
  132. package/dist/components/table/Table.stories.js +384 -5
  133. package/dist/components/table/Table.stories.js.map +1 -1
  134. package/dist/components/table/Table.test.js +30 -0
  135. package/dist/components/table/Table.test.js.map +1 -1
  136. package/dist/components/table/TableFooter.stories.d.ts +49 -0
  137. package/dist/components/table/TableFooter.stories.d.ts.map +1 -0
  138. package/dist/components/table/TableFooter.stories.js +137 -0
  139. package/dist/components/table/TableFooter.stories.js.map +1 -0
  140. package/dist/components/table/TableHeader.stories.d.ts +93 -0
  141. package/dist/components/table/TableHeader.stories.d.ts.map +1 -0
  142. package/dist/components/table/TableHeader.stories.js +176 -0
  143. package/dist/components/table/TableHeader.stories.js.map +1 -0
  144. package/dist/components/table/cellEditors/DateCellEditor.stories.d.ts +44 -0
  145. package/dist/components/table/cellEditors/DateCellEditor.stories.d.ts.map +1 -0
  146. package/dist/components/table/cellEditors/DateCellEditor.stories.js +186 -0
  147. package/dist/components/table/cellEditors/DateCellEditor.stories.js.map +1 -0
  148. package/dist/components/table/cellRenderers/BooleanCellRenderer.stories.d.ts +40 -0
  149. package/dist/components/table/cellRenderers/BooleanCellRenderer.stories.d.ts.map +1 -0
  150. package/dist/components/table/cellRenderers/BooleanCellRenderer.stories.js +209 -0
  151. package/dist/components/table/cellRenderers/BooleanCellRenderer.stories.js.map +1 -0
  152. package/dist/components/table/cellRenderers/ButtonCellRenderer.stories.d.ts +48 -0
  153. package/dist/components/table/cellRenderers/ButtonCellRenderer.stories.d.ts.map +1 -0
  154. package/dist/components/table/cellRenderers/ButtonCellRenderer.stories.js +244 -0
  155. package/dist/components/table/cellRenderers/ButtonCellRenderer.stories.js.map +1 -0
  156. package/dist/components/table/cellRenderers/CheckboxCellRenderer.d.ts.map +1 -1
  157. package/dist/components/table/cellRenderers/CheckboxCellRenderer.js +3 -1
  158. package/dist/components/table/cellRenderers/CheckboxCellRenderer.js.map +1 -1
  159. package/dist/components/table/cellRenderers/CheckboxCellRenderer.stories.d.ts +64 -0
  160. package/dist/components/table/cellRenderers/CheckboxCellRenderer.stories.d.ts.map +1 -0
  161. package/dist/components/table/cellRenderers/CheckboxCellRenderer.stories.js +241 -0
  162. package/dist/components/table/cellRenderers/CheckboxCellRenderer.stories.js.map +1 -0
  163. package/dist/components/table/cellRenderers/DefaultCellRenderer.stories.d.ts +55 -0
  164. package/dist/components/table/cellRenderers/DefaultCellRenderer.stories.d.ts.map +1 -0
  165. package/dist/components/table/cellRenderers/DefaultCellRenderer.stories.js +245 -0
  166. package/dist/components/table/cellRenderers/DefaultCellRenderer.stories.js.map +1 -0
  167. package/dist/components/table/cellRenderers/InlineTextCellRenderer.stories.d.ts +67 -0
  168. package/dist/components/table/cellRenderers/InlineTextCellRenderer.stories.d.ts.map +1 -0
  169. package/dist/components/table/cellRenderers/InlineTextCellRenderer.stories.js +221 -0
  170. package/dist/components/table/cellRenderers/InlineTextCellRenderer.stories.js.map +1 -0
  171. package/dist/components/table/cellRenderers/SelectDropdownCellRenderer.stories.d.ts +75 -0
  172. package/dist/components/table/cellRenderers/SelectDropdownCellRenderer.stories.d.ts.map +1 -0
  173. package/dist/components/table/cellRenderers/SelectDropdownCellRenderer.stories.js +270 -0
  174. package/dist/components/table/cellRenderers/SelectDropdownCellRenderer.stories.js.map +1 -0
  175. package/dist/components/table/columnFilters/BooleanFilter.stories.d.ts +57 -0
  176. package/dist/components/table/columnFilters/BooleanFilter.stories.d.ts.map +1 -0
  177. package/dist/components/table/columnFilters/BooleanFilter.stories.js +198 -0
  178. package/dist/components/table/columnFilters/BooleanFilter.stories.js.map +1 -0
  179. package/dist/components/table/columnFilters/TimeFilter.stories.d.ts +58 -0
  180. package/dist/components/table/columnFilters/TimeFilter.stories.d.ts.map +1 -0
  181. package/dist/components/table/columnFilters/TimeFilter.stories.js +207 -0
  182. package/dist/components/table/columnFilters/TimeFilter.stories.js.map +1 -0
  183. package/dist/components/table/pagination/PaginationPanel.stories.d.ts +113 -0
  184. package/dist/components/table/pagination/PaginationPanel.stories.d.ts.map +1 -0
  185. package/dist/components/table/pagination/PaginationPanel.stories.js +272 -0
  186. package/dist/components/table/pagination/PaginationPanel.stories.js.map +1 -0
  187. package/dist/components/table/tableControls/HideColumnsDropdown.d.ts.map +1 -1
  188. package/dist/components/table/tableControls/HideColumnsDropdown.js +9 -3
  189. package/dist/components/table/tableControls/HideColumnsDropdown.js.map +1 -1
  190. package/dist/components/table/tableControls/TableControls.stories.d.ts +151 -0
  191. package/dist/components/table/tableControls/TableControls.stories.d.ts.map +1 -0
  192. package/dist/components/table/tableControls/TableControls.stories.js +356 -0
  193. package/dist/components/table/tableControls/TableControls.stories.js.map +1 -0
  194. package/dist/components/table/tableControls/TableSettingsDropdown.d.ts +27 -1
  195. package/dist/components/table/tableControls/TableSettingsDropdown.d.ts.map +1 -1
  196. package/dist/components/table/tableControls/TableSettingsDropdown.js +53 -26
  197. package/dist/components/table/tableControls/TableSettingsDropdown.js.map +1 -1
  198. package/dist/components/table/tableControls/TableSettingsDropdown.test.d.ts +2 -0
  199. package/dist/components/table/tableControls/TableSettingsDropdown.test.d.ts.map +1 -0
  200. package/dist/components/table/tableControls/TableSettingsDropdown.test.js +178 -0
  201. package/dist/components/table/tableControls/TableSettingsDropdown.test.js.map +1 -0
  202. package/dist/components/tabs/Tabs.stories.d.ts +22 -4
  203. package/dist/components/tabs/Tabs.stories.d.ts.map +1 -1
  204. package/dist/components/tabs/Tabs.stories.js +398 -22
  205. package/dist/components/tabs/Tabs.stories.js.map +1 -1
  206. package/dist/components/tabs/TabsItem.stories.d.ts +54 -1
  207. package/dist/components/tabs/TabsItem.stories.d.ts.map +1 -1
  208. package/dist/components/tabs/TabsItem.stories.js +61 -9
  209. package/dist/components/tabs/TabsItem.stories.js.map +1 -1
  210. package/dist/components/toast/Toast.stories.d.ts +103 -10
  211. package/dist/components/toast/Toast.stories.d.ts.map +1 -1
  212. package/dist/components/toast/Toast.stories.js +409 -47
  213. package/dist/components/toast/Toast.stories.js.map +1 -1
  214. package/dist/components/toggle/Toggle.stories.d.ts +61 -46
  215. package/dist/components/toggle/Toggle.stories.d.ts.map +1 -1
  216. package/dist/components/toggle/Toggle.stories.js +311 -122
  217. package/dist/components/toggle/Toggle.stories.js.map +1 -1
  218. package/dist/components/tooltip/Tooltip.stories.d.ts +78 -6
  219. package/dist/components/tooltip/Tooltip.stories.d.ts.map +1 -1
  220. package/dist/components/tooltip/Tooltip.stories.js +413 -7
  221. package/dist/components/tooltip/Tooltip.stories.js.map +1 -1
  222. package/dist/components/tooltip/TooltipWrapper.stories.d.ts +71 -7
  223. package/dist/components/tooltip/TooltipWrapper.stories.d.ts.map +1 -1
  224. package/dist/components/tooltip/TooltipWrapper.stories.js +238 -10
  225. package/dist/components/tooltip/TooltipWrapper.stories.js.map +1 -1
  226. package/dist/index.css +8 -0
  227. package/dist/index.css.map +1 -1
  228. package/dist/utils/PopupParentContext.stories.d.ts +17 -0
  229. package/dist/utils/PopupParentContext.stories.d.ts.map +1 -0
  230. package/dist/utils/PopupParentContext.stories.js +266 -0
  231. package/dist/utils/PopupParentContext.stories.js.map +1 -0
  232. package/dist/utils/getDefaultPopupParent.d.ts.map +1 -1
  233. package/dist/utils/getDefaultPopupParent.js +6 -0
  234. package/dist/utils/getDefaultPopupParent.js.map +1 -1
  235. package/package.json +1 -1
  236. package/src/components/articleCard/ArticleCard.stories.tsx +524 -111
  237. package/src/components/avatar/Avatar.stories.tsx +504 -59
  238. package/src/components/avatarGroup/AvatarGroup.stories.tsx +977 -175
  239. package/src/components/banner/Banner.stories.tsx +7 -3
  240. package/src/components/card/Card.stories.tsx +466 -36
  241. package/src/components/combobox/Combobox.stories.tsx +867 -260
  242. package/src/components/datePicker/DatePicker.stories.tsx +777 -60
  243. package/src/components/dateTimePicker/DateTimePicker.stories.tsx +910 -132
  244. package/src/components/editableText/EditableText.stories.tsx +567 -91
  245. package/src/components/formField/FormField.test.tsx +6 -0
  246. package/src/components/formField/FormField.tsx +5 -0
  247. package/src/components/formField/fieldset/Fieldset.stories.tsx +761 -51
  248. package/src/components/formField/inputs/checkbox/CheckboxGroup.tsx +1 -1
  249. package/src/components/formField/inputs/checkbox/CheckboxInput.tsx +1 -1
  250. package/src/components/formField/inputs/colourPickerDropdown/ColourPickerDropdown.stories.tsx +504 -11
  251. package/src/components/formField/inputs/radio/RadioButtonGroup.tsx +17 -4
  252. package/src/components/formField/inputs/radio/RadioButtonInput.stories.tsx +71 -59
  253. package/src/components/formField/inputs/selectDropdown/SelectDropdown.stories.tsx +1079 -168
  254. package/src/components/formField/inputs/time/TimeInput.stories.tsx +1140 -104
  255. package/src/components/formField/label/Label.stories.tsx +317 -8
  256. package/src/components/icoText/IcoText.stories.tsx +442 -31
  257. package/src/components/kpiCard/KPICard.stories.tsx +475 -30
  258. package/src/components/kvpList/KVPList.stories.tsx +593 -26
  259. package/src/components/modal/Modal.stories.tsx +963 -26
  260. package/src/components/modal/modalManager/ModalManager.stories.tsx +612 -454
  261. package/src/components/pill/Pill.stories.tsx +11 -13
  262. package/src/components/pill/Pill.tsx +1 -0
  263. package/src/components/row/Row.stories.tsx +474 -58
  264. package/src/components/searchBar/SearchBar.stories.tsx +570 -38
  265. package/src/components/section/Section.stories.tsx +723 -70
  266. package/src/components/singleUser/SingleUser.stories.tsx +393 -34
  267. package/src/components/slideoverManager/SlideoverManager.stories.tsx +572 -342
  268. package/src/components/table/DSDefaultColDef.ts +25 -5
  269. package/src/components/table/Table.stories.tsx +460 -5
  270. package/src/components/table/Table.test.tsx +53 -0
  271. package/src/components/table/Table.tsx +9 -2
  272. package/src/components/table/TableFooter.stories.tsx +196 -0
  273. package/src/components/table/TableHeader.stories.tsx +251 -0
  274. package/src/components/table/cellEditors/DateCellEditor.stories.tsx +245 -0
  275. package/src/components/table/cellRenderers/BooleanCellRenderer.stories.tsx +278 -0
  276. package/src/components/table/cellRenderers/ButtonCellRenderer.stories.tsx +333 -0
  277. package/src/components/table/cellRenderers/CheckboxCellRenderer.stories.tsx +337 -0
  278. package/src/components/table/cellRenderers/CheckboxCellRenderer.tsx +5 -1
  279. package/src/components/table/cellRenderers/DefaultCellRenderer.stories.tsx +342 -0
  280. package/src/components/table/cellRenderers/InlineTextCellRenderer.stories.tsx +292 -0
  281. package/src/components/table/cellRenderers/SelectDropdownCellRenderer.stories.tsx +369 -0
  282. package/src/components/table/columnFilters/BooleanFilter.stories.tsx +268 -0
  283. package/src/components/table/columnFilters/TimeFilter.stories.tsx +281 -0
  284. package/src/components/table/pagination/PaginationPanel.stories.tsx +327 -0
  285. package/src/components/table/tableControls/HideColumnsDropdown.tsx +11 -2
  286. package/src/components/table/tableControls/TableControls.stories.tsx +415 -0
  287. package/src/components/table/tableControls/TableSettingsDropdown.test.tsx +207 -0
  288. package/src/components/table/tableControls/TableSettingsDropdown.tsx +103 -39
  289. package/src/components/tabs/Tabs.stories.tsx +540 -60
  290. package/src/components/tabs/TabsItem.stories.tsx +82 -8
  291. package/src/components/toast/Toast.stories.tsx +539 -77
  292. package/src/components/toggle/Toggle.stories.tsx +371 -135
  293. package/src/components/tooltip/Tooltip.stories.tsx +606 -15
  294. package/src/components/tooltip/TooltipWrapper.stories.tsx +348 -12
  295. package/src/docs/Contributing.mdx +241 -0
  296. package/src/docs/UsingComponents.mdx +93 -0
  297. package/src/docs/Welcome.mdx +68 -0
  298. package/src/global.scss +7 -0
  299. package/src/utils/PopupParentContext.stories.tsx +367 -0
  300. package/src/utils/getDefaultPopupParent.ts +6 -0
  301. package/.ralph/storybook-upgrade/knowledge.md +0 -308
  302. package/.ralph/storybook-upgrade/prd.json +0 -777
  303. package/.ralph/storybook-upgrade/progress.md +0 -342
  304. package/src/components/table/TableWIP.mdx +0 -3
@@ -1,112 +1,379 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Controls, Heading as DocHeading, Markdown, Primary as DocPrimary, Stories, Subtitle, Title, } from '@storybook/addon-docs/blocks';
2
3
  import { fn } from 'storybook/test';
3
4
  import { ArticleCard } from './ArticleCard';
5
+ // ---------------------------------------------------------------------------
6
+ // Docs page content
7
+ // ---------------------------------------------------------------------------
8
+ const DESCRIPTION_INTRO = [
9
+ '`ArticleCard` is a card variant for article and content listings. It combines an optional icon (in a left rail),',
10
+ 'a heading, a paragraph, and an optional tag badge into a consistently-structured card.',
11
+ 'Two interaction modes are supported: **linked** (the heading becomes a navigable `<a>`) and',
12
+ '**interactive shell** (the entire card is a click target via `onClick`).',
13
+ ].join(' ');
14
+ const USAGE_GUIDANCE = [
15
+ '### When to use',
16
+ '',
17
+ '- Displaying a navigable item in a list or grid — a help article, report, policy document, or resource link',
18
+ '- When each card represents one destination and needs an icon, heading, and optional description',
19
+ '- Use `href` (linked mode) when navigation follows a standard URL; use `onClick` (shell mode) when navigation is programmatic',
20
+ '',
21
+ '---',
22
+ '',
23
+ '### When NOT to use',
24
+ '',
25
+ '| Situation | Use instead |',
26
+ '|---|---|',
27
+ '| Displaying a metric or statistic | [`KPICard`](?path=/docs/components-card-kpicard--docs) |',
28
+ '| Full control over interior layout | [`Card`](?path=/docs/components-card--docs) directly |',
29
+ '| Icon + text without a card shell | [`IcoText`](?path=/docs/components-icotext--docs) |',
30
+ '| Selecting from a list (radio/checkbox semantics) | `RadioGroup` or selection list pattern |',
31
+ ].join('\n');
32
+ const DEVELOPER_NOTES = [
33
+ '### Critical usage patterns',
34
+ '',
35
+ '**Three mutually exclusive modes:**',
36
+ '',
37
+ '| Mode | When | Behaviour |',
38
+ '|---|---|---|',
39
+ '| **Linked** | `href` + `title` + `!disabled` | Title renders as `<a>` with full-card overlay |',
40
+ '| **Interactive shell** | `onClick` provided | Card gets `role="button"` and chevron icon |',
41
+ '| **Static** | Neither `href` nor `onClick` | Plain content display, no interaction |',
42
+ '',
43
+ '`href` and `onClick` are mutually exclusive — TypeScript enforces this via a discriminated union.',
44
+ '',
45
+ '**`disabled` suppresses the link in linked mode.** When `href` + `title` + `disabled=true` are all',
46
+ 'present, no `<a>` element is rendered — the title appears as plain text. This is the most common gotcha.',
47
+ '',
48
+ '**`tagColor` without `tagText` does nothing.** The Tag only renders when `tagText` has a value.',
49
+ '',
50
+ '---',
51
+ '',
52
+ '### Accessibility',
53
+ '',
54
+ '- **Linked mode**: the `<a>` wrapping `title` is the accessible link target.',
55
+ ' If the title text is not self-descriptive, use `aria-label` to override the accessible name.',
56
+ '- **Shell mode**: `aria-label` or `aria-labelledby` is required when `onClick` is provided.',
57
+ '- **Decorative icons**: omit `iconScreenReaderText` — the icon is `aria-hidden="true"` automatically.',
58
+ '',
59
+ '---',
60
+ '',
61
+ '### TypeScript types',
62
+ '',
63
+ '```ts',
64
+ "import { ArticleCard } from '@arbor-education/design-system.components';",
65
+ "import type { ArticleCardProps } from '@arbor-education/design-system.components';",
66
+ '```',
67
+ ].join('\n');
68
+ const RELATED_COMPONENTS = [
69
+ '## Related components',
70
+ '',
71
+ '[Card](?path=/docs/components-card--docs) · [KPICard](?path=/docs/components-card-kpicard--docs) · [IcoText](?path=/docs/components-icotext--docs) · [Tag](?path=/docs/components-tag--docs)',
72
+ ].join('\n');
73
+ const PROPS_INTRO = 'The preview below is wired to the **Controls** panel — tweak any prop to see the story update in real time.';
74
+ // ---------------------------------------------------------------------------
75
+ // Custom DocsPage
76
+ // ---------------------------------------------------------------------------
77
+ function ArticleCardDocsPage() {
78
+ return (_jsxs(_Fragment, { children: [_jsx(Title, {}), _jsx(Subtitle, {}), _jsx(Markdown, { children: DESCRIPTION_INTRO }), _jsx(DocHeading, { children: "Interactive example" }), _jsx(Markdown, { children: PROPS_INTRO }), _jsx(DocPrimary, {}), _jsx(Controls, {}), _jsx(DocHeading, { children: "Usage guidance" }), _jsx(Markdown, { children: USAGE_GUIDANCE }), _jsx(DocHeading, { children: "Developer notes" }), _jsx(Markdown, { children: DEVELOPER_NOTES }), _jsx(DocHeading, { children: "Examples" }), _jsx(Stories, { title: "" }), _jsx(Markdown, { children: RELATED_COMPONENTS })] }));
79
+ }
80
+ // ---------------------------------------------------------------------------
81
+ // Meta
82
+ // ---------------------------------------------------------------------------
4
83
  const meta = {
5
84
  title: 'Components/Card/ArticleCard',
6
85
  component: ArticleCard,
7
- };
8
- export const CardWithTitleAndParagraph = {
9
- args: {
10
- 'title': 'Title of Card',
11
- 'paragraph': 'Lorem ipsum dolor sit amet consectetur adipiscing elit.',
12
- 'disabled': false,
13
- 'onClick': fn(),
14
- 'onKeyDown': fn(),
15
- 'aria-label': 'Clickable article card with title and paragraph',
86
+ tags: ['autodocs'],
87
+ parameters: {
88
+ layout: 'padded',
89
+ docs: { page: ArticleCardDocsPage },
16
90
  },
17
- };
18
- export const CardWithTitleParagraphAndIcon = {
19
- args: {
20
- 'title': 'Title of Card',
21
- 'paragraph': 'Lorem ipsum dolor sit amet consectetur adipiscing elit.',
22
- 'icon': 'eye',
23
- 'disabled': false,
24
- 'onClick': fn(),
25
- 'onKeyDown': fn(),
26
- 'aria-label': 'Clickable article card with title paragraph and icon',
91
+ argTypes: {
92
+ 'title': {
93
+ control: 'text',
94
+ description: 'Card heading. In linked mode (`href` provided) this becomes the `<a>` element.',
95
+ table: { type: { summary: 'ReactNode' } },
96
+ },
97
+ 'paragraph': {
98
+ control: 'text',
99
+ description: 'Body text rendered below the heading. Accepts `ReactNode` — can include inline links.',
100
+ table: { type: { summary: 'ReactNode' } },
101
+ },
102
+ 'icon': {
103
+ control: { type: 'select' },
104
+ options: [undefined, 'eye', 'guardians', 'date', 'book-open', 'file', 'settings', 'info', 'triangle-alert'],
105
+ description: 'Icon displayed in the left rail via `IcoText.Icon`. Omit for icon-free layout.',
106
+ table: { type: { summary: 'IconName' } },
107
+ },
108
+ 'iconColor': {
109
+ control: 'text',
110
+ description: 'Colour applied to the icon. Use a CSS token, e.g. `var(--color-semantic-info-600)`.',
111
+ table: { type: { summary: 'string' } },
112
+ },
113
+ 'iconScreenReaderText': {
114
+ control: 'text',
115
+ description: 'Accessible label for the icon. Omit for decorative icons — they become `aria-hidden` automatically.',
116
+ table: { type: { summary: 'string' } },
117
+ },
118
+ 'tagText': {
119
+ control: 'text',
120
+ description: 'Renders a `Tag` badge. Has no effect when empty.',
121
+ table: { type: { summary: 'string' } },
122
+ },
123
+ 'tagColor': {
124
+ control: { type: 'select' },
125
+ options: [undefined, 'neutral', 'orange', 'blue', 'green', 'purple', 'teal', 'salmon', 'yellow'],
126
+ description: 'Colour variant for the `Tag` badge.',
127
+ table: { type: { summary: "'neutral' | 'orange' | 'blue' | 'green' | 'purple' | 'teal' | 'salmon' | 'yellow'" } },
128
+ },
129
+ 'disabled': {
130
+ control: 'boolean',
131
+ description: 'Disables all interaction. In linked mode, suppresses the `<a>` even when `href` is provided.',
132
+ table: { type: { summary: 'boolean' }, defaultValue: { summary: 'false' } },
133
+ },
134
+ 'onClick': {
135
+ control: false,
136
+ description: 'Click handler. Mutually exclusive with `href`. Makes the entire card interactive (`role="button"`).',
137
+ table: { type: { summary: '(e: MouseEvent<HTMLElement>) => void' } },
138
+ },
139
+ 'aria-label': {
140
+ control: 'text',
141
+ description: 'Accessible name. Required on interactive shell cards (when `onClick` is provided).',
142
+ table: { type: { summary: 'string' } },
143
+ },
144
+ 'href': {
145
+ control: 'text',
146
+ description: 'URL. Mutually exclusive with `onClick`. When provided with `title` + `!disabled`, the title renders as a navigable `<a>`.',
147
+ table: { type: { summary: 'string' } },
148
+ },
149
+ 'className': {
150
+ control: false,
151
+ description: 'Additional CSS class names on the root element.',
152
+ table: { type: { summary: 'string' } },
153
+ },
27
154
  },
28
155
  };
29
- export const TheEverythingCard = {
30
- args: {
31
- 'title': 'Title of Card',
32
- 'paragraph': 'Lorem ipsum dolor sit amet consectetur adipiscing elit.',
33
- 'icon': 'eye',
34
- 'disabled': false,
35
- 'tagText': 'argle bargle',
36
- 'tagColor': 'orange',
37
- 'onClick': fn(),
38
- 'onKeyDown': fn(),
39
- 'aria-label': 'Clickable article card with all content',
156
+ export default meta;
157
+ // ---------------------------------------------------------------------------
158
+ // Helper: attach a per-story description to docs
159
+ // ---------------------------------------------------------------------------
160
+ const withDescription = (story, description) => ({
161
+ ...story,
162
+ parameters: {
163
+ ...story.parameters,
164
+ docs: { ...story.parameters?.docs, description: { story: description } },
40
165
  },
41
- };
42
- export const CardWithTitleParagraphAndTag = {
166
+ });
167
+ // ---------------------------------------------------------------------------
168
+ // Template components
169
+ // ---------------------------------------------------------------------------
170
+ const LinkedDisabledTemplate = () => (_jsxs("div", { style: { display: 'flex', flexDirection: 'column', gap: 'var(--spacing-large)', maxWidth: '400px' }, children: [_jsxs("div", { children: [_jsx("p", { className: "ds-text", style: { margin: '0 0 var(--spacing-small)', color: 'var(--color-grey-600)' }, children: "Enabled \u2014 title renders as a link" }), _jsx(ArticleCard, { href: "/reports/attendance", title: "Autumn term attendance report", paragraph: "Published 14 Nov 2024 \u00B7 Available to all staff", icon: "file" })] }), _jsxs("div", { children: [_jsx("p", { className: "ds-text", style: { margin: '0 0 var(--spacing-small)', color: 'var(--color-grey-600)' }, children: "Disabled \u2014 link suppressed, title renders as plain text" }), _jsx(ArticleCard, { href: "/reports/attendance", title: "Autumn term attendance report", paragraph: "This report is not yet available.", icon: "file", disabled: true })] })] }));
171
+ // ---------------------------------------------------------------------------
172
+ // Stories
173
+ // ---------------------------------------------------------------------------
174
+ export const Default = withDescription({
43
175
  args: {
44
- 'title': 'Title of Card',
45
- 'paragraph': 'Lorem ipsum dolor sit amet consectetur adipiscing elit.',
176
+ 'title': 'Attendance overview',
177
+ 'paragraph': 'View pupil attendance rates, trends, and intervention records for this academic year.',
178
+ 'icon': 'guardians',
46
179
  'disabled': false,
47
- 'tagText': 'argle bargle',
48
- 'tagColor': 'orange',
49
180
  'onClick': fn(),
50
- 'onKeyDown': fn(),
51
- 'aria-label': 'Clickable article card with title paragraph and tag',
181
+ 'aria-label': 'Attendance overview',
52
182
  },
53
- };
54
- export const CardWithTitleAndIcon = {
55
- args: {
56
- 'title': 'Title of Card',
57
- 'icon': 'eye',
58
- 'disabled': false,
59
- 'onClick': fn(),
60
- 'onKeyDown': fn(),
61
- 'aria-label': 'Clickable article card with title and icon',
183
+ render: args => (_jsx("div", { style: { maxWidth: '400px' }, children: _jsx(ArticleCard, { ...args }) })),
184
+ }, 'Interactive shell mode — `onClick` is provided so the whole card is a click target with `role="button"`. Toggle `disabled` in the Controls panel to see the dimmed state.');
185
+ export const Static = withDescription({
186
+ parameters: {
187
+ controls: { disable: true },
188
+ docs: {
189
+ source: {
190
+ language: 'tsx',
191
+ code: `
192
+ import { ArticleCard } from '@arbor-education/design-system.components';
193
+
194
+ function StaticArticleCardExample() {
195
+ return (
196
+ <ArticleCard
197
+ title="Attendance overview"
198
+ paragraph="View pupil attendance rates and trends for this academic year."
199
+ icon="guardians"
200
+ />
201
+ );
202
+ }
203
+ export default StaticArticleCardExample;
204
+ `.trim(),
205
+ },
206
+ },
62
207
  },
63
- };
64
- export const CardWithParagraph = {
65
- args: {
66
- 'paragraph': 'Lorem ipsum dolor sit amet consectetur adipiscing elit.',
67
- 'disabled': false,
68
- 'onClick': fn(),
69
- 'onKeyDown': fn(),
70
- 'aria-label': 'Clickable article card with paragraph',
208
+ render: () => (_jsx("div", { style: { maxWidth: '400px' }, children: _jsx(ArticleCard, { title: "Attendance overview", paragraph: "View pupil attendance rates and trends for this academic year.", icon: "guardians" }) })),
209
+ }, 'Static mode no `href`, no `onClick`. The card renders as a plain surface with no role, no tab stop, and no chevron icon.');
210
+ export const WithTag = withDescription({
211
+ parameters: {
212
+ controls: { disable: true },
213
+ docs: {
214
+ source: {
215
+ language: 'tsx',
216
+ code: `
217
+ import { ArticleCard } from '@arbor-education/design-system.components';
218
+
219
+ function WithTagExample() {
220
+ return (
221
+ <ArticleCard
222
+ title="Safeguarding policy"
223
+ paragraph="Updated September 2024 — mandatory reading for all staff."
224
+ icon="book-open"
225
+ tagText="Required"
226
+ tagColor="orange"
227
+ />
228
+ );
229
+ }
230
+ export default WithTagExample;
231
+ `.trim(),
232
+ },
233
+ },
71
234
  },
72
- };
73
- export const ClickableDisabledCard = {
74
- args: {
75
- 'title': 'Title of Card',
76
- 'paragraph': 'Lorem ipsum dolor sit amet consectetur adipiscing elit.',
77
- 'icon': 'eye',
78
- 'tagText': 'argle bargle',
79
- 'tagColor': 'orange',
80
- 'disabled': true,
81
- 'onClick': fn(),
82
- 'onKeyDown': fn(),
83
- 'aria-label': 'Disabled clickable article card',
235
+ render: () => (_jsx("div", { style: { maxWidth: '400px' }, children: _jsx(ArticleCard, { title: "Safeguarding policy", paragraph: "Updated September 2024 \u2014 mandatory reading for all staff.", icon: "book-open", tagText: "Required", tagColor: "orange" }) })),
236
+ }, 'Adding `tagText` and `tagColor` renders a `Tag` badge. Use tags for status, category, or priority labels — e.g. "Required", "New", "Featured".');
237
+ export const FullComposition = withDescription({
238
+ parameters: {
239
+ controls: { disable: true },
240
+ docs: {
241
+ source: {
242
+ language: 'tsx',
243
+ code: `
244
+ import { ArticleCard } from '@arbor-education/design-system.components';
245
+
246
+ function FullCompositionExample() {
247
+ return (
248
+ <ArticleCard
249
+ title="Spring term behaviour report"
250
+ paragraph="Incident trends, intervention outcomes, and recommendations for Year 10."
251
+ icon="triangle-alert"
252
+ iconColor="var(--color-semantic-warning-600)"
253
+ tagText="Pending review"
254
+ tagColor="yellow"
255
+ onClick={() => console.log('navigate to report')}
256
+ aria-label="Spring term behaviour report"
257
+ />
258
+ );
259
+ }
260
+ export default FullCompositionExample;
261
+ `.trim(),
262
+ },
263
+ },
84
264
  },
85
- };
86
- export const UnclickableCard = {
87
- args: {
88
- title: 'Title of Card',
89
- paragraph: 'Lorem ipsum dolor sit amet consectetur adipiscing elit.',
90
- icon: 'eye',
91
- tagText: 'argle bargle',
92
- tagColor: 'orange',
265
+ render: () => (_jsx("div", { style: { maxWidth: '400px' }, children: _jsx(ArticleCard, { title: "Spring term behaviour report", paragraph: "Incident trends, intervention outcomes, and recommendations for Year 10.", icon: "triangle-alert", iconColor: "var(--color-semantic-warning-600)", tagText: "Pending review", tagColor: "yellow", onClick: fn(), "aria-label": "Spring term behaviour report" }) })),
266
+ }, 'All content props combined — icon + iconColor + title + paragraph + tag + interactive shell. This is the richest production pattern.');
267
+ export const LinkedMode = withDescription({
268
+ parameters: {
269
+ controls: { disable: true },
270
+ docs: {
271
+ source: {
272
+ language: 'tsx',
273
+ code: `
274
+ import { ArticleCard } from '@arbor-education/design-system.components';
275
+
276
+ function LinkedModeExample() {
277
+ return (
278
+ <ArticleCard
279
+ href="/policies/attendance"
280
+ title="Attendance policy"
281
+ paragraph="School attendance policy for 2024/25 — includes statutory guidance and thresholds."
282
+ icon="book-open"
283
+ tagText="Policy"
284
+ tagColor="blue"
285
+ />
286
+ );
287
+ }
288
+ export default LinkedModeExample;
289
+ `.trim(),
290
+ },
291
+ },
93
292
  },
94
- };
95
- export const TextOnly = {
96
- args: {
97
- title: 'Text-only article card',
98
- paragraph: 'A compact way to present article-style content in the shared shell.',
293
+ render: () => (_jsx("div", { style: { maxWidth: '400px' }, children: _jsx(ArticleCard, { href: "/policies/attendance", title: "Attendance policy", paragraph: "School attendance policy for 2024/25 \u2014 includes statutory guidance and thresholds.", icon: "book-open", tagText: "Policy", tagColor: "blue" }) })),
294
+ }, 'Linked mode — `href` + `title` present. The heading renders as `<a href>` with a CSS `::after` overlay making the whole card surface clickable. The card shell has no `role="button"`.');
295
+ export const InteractiveShell = withDescription({
296
+ parameters: {
297
+ controls: { disable: true },
298
+ docs: {
299
+ source: {
300
+ language: 'tsx',
301
+ code: `
302
+ import { ArticleCard } from '@arbor-education/design-system.components';
303
+
304
+ function InteractiveShellExample() {
305
+ return (
306
+ <ArticleCard
307
+ onClick={() => console.log('card clicked')}
308
+ aria-label="Year 10 progress report"
309
+ title="Year 10 progress report"
310
+ paragraph="Mid-year review — targets, attainment, and next steps."
311
+ icon="eye"
312
+ />
313
+ );
314
+ }
315
+ export default InteractiveShellExample;
316
+ `.trim(),
317
+ },
318
+ },
99
319
  },
100
- };
101
- export const LinkedArticle = {
102
- args: {
103
- title: 'Primary article link',
104
- href: '/articles/primary-article-link',
105
- paragraph: (_jsxs(_Fragment, { children: ["Read the full article or visit the", ' ', _jsx("a", { href: "/authors/design-system", children: "author page" }), "."] })),
106
- icon: 'eye',
107
- tagText: 'Featured',
108
- tagColor: 'green',
320
+ render: () => (_jsx("div", { style: { maxWidth: '400px' }, children: _jsx(ArticleCard, { onClick: fn(), "aria-label": "Year 10 progress report", title: "Year 10 progress report", paragraph: "Mid-year review \u2014 targets, attainment, and next steps.", icon: "eye" }) })),
321
+ }, 'Interactive shell mode — `onClick` provided. The whole card gets `role="button"` and `tabIndex={0}`. Use when navigation is programmatic (e.g. React Router `navigate`) rather than a standard URL.');
322
+ export const Disabled = withDescription({
323
+ parameters: {
324
+ controls: { disable: true },
325
+ docs: {
326
+ source: {
327
+ language: 'tsx',
328
+ code: `
329
+ import { ArticleCard } from '@arbor-education/design-system.components';
330
+
331
+ function DisabledExample() {
332
+ return (
333
+ <ArticleCard
334
+ onClick={() => {}}
335
+ aria-label="Summer term report — not yet available"
336
+ title="Summer term report"
337
+ paragraph="This report will be available at the end of term."
338
+ icon="file"
339
+ disabled
340
+ />
341
+ );
342
+ }
343
+ export default DisabledExample;
344
+ `.trim(),
345
+ },
346
+ },
109
347
  },
110
- };
111
- export default meta;
348
+ render: () => (_jsx("div", { style: { maxWidth: '400px' }, children: _jsx(ArticleCard, { onClick: fn(), "aria-label": "Summer term report \u2014 not yet available", title: "Summer term report", paragraph: "This report will be available at the end of term.", icon: "file", disabled: true }) })),
349
+ }, '`disabled=true` dims the card and suppresses all interaction. In interactive shell mode, `onClick` does not fire. The card is removed from the tab order.');
350
+ export const LinkedDisabled = withDescription({
351
+ parameters: {
352
+ controls: { disable: true },
353
+ docs: {
354
+ source: {
355
+ language: 'tsx',
356
+ code: `
357
+ import { ArticleCard } from '@arbor-education/design-system.components';
358
+
359
+ function LinkedDisabledExample() {
360
+ // When disabled=true, hasPrimaryLink becomes false — no <a> is rendered.
361
+ // The title appears as plain text even though href is provided.
362
+ return (
363
+ <ArticleCard
364
+ href="/reports/attendance"
365
+ title="Autumn term attendance report"
366
+ paragraph="This report is not yet available."
367
+ icon="file"
368
+ disabled
369
+ />
370
+ );
371
+ }
372
+ export default LinkedDisabledExample;
373
+ `.trim(),
374
+ },
375
+ },
376
+ },
377
+ render: LinkedDisabledTemplate,
378
+ }, '**The most common gotcha.** When `disabled={true}` is combined with `href`, the primary link is suppressed — no `<a>` element is rendered. The title appears as plain text. The story shows enabled vs disabled side-by-side — inspect the DOM to confirm.');
112
379
  //# sourceMappingURL=ArticleCard.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ArticleCard.stories.js","sourceRoot":"","sources":["../../../src/components/articleCard/ArticleCard.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,6BAA6B;IACpC,SAAS,EAAE,WAAW;CACY,CAAC;AAIrC,MAAM,CAAC,MAAM,yBAAyB,GAAU;IAC9C,IAAI,EAAE;QACJ,OAAO,EAAE,eAAe;QACxB,WAAW,EAAE,yDAAyD;QACtE,UAAU,EAAE,KAAK;QACjB,SAAS,EAAE,EAAE,EAAE;QACf,WAAW,EAAE,EAAE,EAAE;QACjB,YAAY,EAAE,iDAAiD;KAChE;CACF,CAAC;AAEF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AAE;QACjB,YAAY,EAAE,uCAAuC;KACtD;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAU;IAC1C,IAAI,EAAE;QACJ,OAAO,EAAE,eAAe;QACxB,WAAW,EAAE,yDAAyD;QACtE,MAAM,EAAE,KAAK;QACb,SAAS,EAAE,cAAc;QACzB,UAAU,EAAE,QAAQ;QACpB,UAAU,EAAE,IAAI;QAChB,SAAS,EAAE,EAAE,EAAE;QACf,WAAW,EAAE,EAAE,EAAE;QACjB,YAAY,EAAE,iCAAiC;KAChD;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAU;IACpC,IAAI,EAAE;QACJ,KAAK,EAAE,eAAe;QACtB,SAAS,EAAE,yDAAyD;QACpE,IAAI,EAAE,KAAK;QACX,OAAO,EAAE,cAAc;QACvB,QAAQ,EAAE,QAAQ;KACnB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,IAAI,EAAE;QACJ,KAAK,EAAE,wBAAwB;QAC/B,SAAS,EAAE,qEAAqE;KACjF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAU;IAClC,IAAI,EAAE;QACJ,KAAK,EAAE,sBAAsB;QAC7B,IAAI,EAAE,gCAAgC;QACtC,SAAS,EAAE,CACT,oEAEG,GAAG,EACJ,YAAG,IAAI,EAAC,wBAAwB,4BAAgB,SAE/C,CACJ;QACD,IAAI,EAAE,KAAK;QACX,OAAO,EAAE,UAAU;QACnB,QAAQ,EAAE,OAAO;KAClB;CACF,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"ArticleCard.stories.js","sourceRoot":"","sources":["../../../src/components/articleCard/ArticleCard.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,QAAQ,EACR,OAAO,IAAI,UAAU,EACrB,QAAQ,EACR,OAAO,IAAI,UAAU,EACrB,OAAO,EACP,QAAQ,EACR,KAAK,GACN,MAAM,8BAA8B,CAAC;AACtC,O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EAAE;;;;;;;;;;;;;;;;CAgBf,CAAC,IAAI,EAAE;aACC;SACF;KACF;IACD,MAAM,EAAE,GAAG,EAAE,CAAC,CACZ,cAAK,KAAK,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,YAC/B,KAAC,WAAW,IACV,OAAO,EAAE,EAAE,EAAE,gBACF,6CAAwC,EACnD,KAAK,EAAC,oBAAoB,EAC1B,SAAS,EAAC,mDAAmD,EAC7D,IAAI,EAAC,MAAM,EACX,QAAQ,SACR,GACE,CACP;CACF,EACD,2JAA2J,CAC5J,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAU,eAAe,CAClD;IACE,UAAU,EAAE;QACV,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE;QAC3B,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE;;;;;;;;;;;;;;;;;CAiBf,CAAC,IAAI,EAAE;aACC;SACF;KACF;IACD,MAAM,EAAE,sBAAsB;CAC/B,EACD,4PAA4P,CAC7P,CAAC"}
@@ -1,14 +1,14 @@
1
1
  import type { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import { Avatar } from './Avatar';
3
3
  declare const meta: Meta<typeof Avatar>;
4
- type Story = StoryObj<typeof Avatar>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
5
6
  export declare const Default: Story;
6
7
  export declare const WithInitials: Story;
7
8
  export declare const Placeholder: Story;
8
- export declare const Small: Story;
9
- export declare const Medium: Story;
10
- export declare const Large: Story;
11
- export declare const ExtraLarge: Story;
9
+ export declare const AllRenderingModes: Story;
12
10
  export declare const AllSizes: Story;
13
- export default meta;
11
+ export declare const ImageTakesPriorityOverInitials: Story;
12
+ export declare const SmallInListContext: Story;
13
+ export declare const ExtraLargeProfile: Story;
14
14
  //# sourceMappingURL=Avatar.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.stories.d.ts","sourceRoot":"","sources":["../../../src/components/avatar/Avatar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAkB7B,CAAC;AAEF,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAC;AAErC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAM1B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAKzB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAMpB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAMnB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAMxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAStB,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Avatar.stories.d.ts","sourceRoot":"","sources":["../../../src/components/avatar/Avatar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAW5D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAgJlC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CAyE7B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAkBnC,eAAO,MAAM,OAAO,EAAE,KAUrB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KA2B1B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KA0BzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAiC/B,CAAC;AAEF,eAAO,MAAM,QAAQ,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