@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
@@ -2,6 +2,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
2
2
  import { Controls, Heading as DocHeading, Markdown, Primary as DocPrimary, Stories, Subtitle, Title, } from '@storybook/addon-docs/blocks';
3
3
  import { useState } from 'react';
4
4
  import { fn } from 'storybook/test';
5
+ import { Icon } from '../../../icon/Icon';
5
6
  import { RadioButtonInput } from './RadioButtonInput';
6
7
  import { RadioButtonGroup } from './RadioButtonGroup';
7
8
  // ---------------------------------------------------------------------------
@@ -60,19 +61,26 @@ const DEVELOPER_NOTES = [
60
61
  '#### 1. `hasError` is ARIA-only — it makes zero visual difference',
61
62
  '`hasError={true}` sets `aria-invalid="true"` on the native `<input>`. There are NO CSS rules',
62
63
  'that change the appearance of the indicator circle based on `aria-invalid`.',
63
- 'To show a visible error state, YOU must render an error message element below the group.',
64
- 'See the `WithError` and `RadioGroupWithError` stories for the correct pattern.',
64
+ 'To show a visible error state, render an error message yourself below the group using',
65
+ '`FormField`\'s canonical markup `.ds-form-field__message` wrapping a `.ds-form-field__message--error`',
66
+ 'span with a `triangle-alert` `Icon`. This keeps radio errors visually consistent with text/number/select',
67
+ 'fields wrapped in `FormField`. (`FormField` itself does not currently support `inputType="radio"`,',
68
+ 'so you have to hand-roll the markup.)',
69
+ 'See the `WithError` and `RadioGroupWithError` stories for the full pattern.',
65
70
  '',
66
71
  '```tsx',
67
72
  '// WRONG — hasError alone shows no visible change',
68
73
  '<RadioButtonInput hasError name="period" value="term" label="Current term" checked onChange={() => {}} />',
69
74
  '',
70
- '// CORRECT — pair hasError with a visible error message rendered by the consumer',
75
+ '// CORRECT — pair hasError with the canonical FormField error markup',
71
76
  '<div>',
72
77
  ' <RadioButtonInput hasError name="period" value="term" label="Current term" checked onChange={() => {}} />',
73
- ' <p role="alert" style={{ color: "var(--form-field-text-error-color-error-text)" }}>',
74
- ' Please select a valid report period.',
75
- ' </p>',
78
+ ' <div className="ds-form-field__message">',
79
+ ' <span className="ds-form-field__message--error" role="alert">',
80
+ ' <Icon size={12} name="triangle-alert" />',
81
+ ' Please select a valid report period.',
82
+ ' </span>',
83
+ ' </div>',
76
84
  '</div>',
77
85
  '```',
78
86
  '',
@@ -329,14 +337,10 @@ const RadioGroupTemplate = () => {
329
337
  const RadioGroupWithErrorTemplate = () => {
330
338
  const [method, setMethod] = useState('');
331
339
  return (_jsxs("div", { style: { maxWidth: '28rem', padding: 'var(--spacing-xlarge)' }, children: [_jsx(RadioButtonGroup, { legend: "Notification method", name: "notification-method", checkedValue: method, onChange: e => setMethod(e.target.value), options: [
332
- { id: 'opt-email', value: 'email', label: 'Email', hasError: true },
333
- { id: 'opt-sms', value: 'sms', label: 'SMS', hasError: true },
334
- { id: 'opt-post', value: 'post', label: 'Post', hasError: true },
335
- ] }), _jsx("p", { role: "alert", style: {
336
- margin: 'var(--spacing-small) 0 0',
337
- color: 'var(--form-field-text-error-color-error-text)',
338
- fontSize: 'var(--font-size-2-13)',
339
- }, children: "Please select a notification method to continue." })] }));
340
+ { id: 'opt-email', value: 'email', label: 'Email' },
341
+ { id: 'opt-sms', value: 'sms', label: 'SMS' },
342
+ { id: 'opt-post', value: 'post', label: 'Post' },
343
+ ] }), _jsx("div", { className: "ds-form-field__message", children: _jsxs("span", { className: "ds-form-field__message--error", role: "alert", children: [_jsx(Icon, { size: 12, name: "triangle-alert" }), "Please select a notification method to continue."] }) })] }));
340
344
  };
341
345
  // ---------------------------------------------------------------------------
342
346
  // Stories
@@ -446,22 +450,20 @@ export default DisabledCheckedExample;
446
450
  },
447
451
  }, 'A disabled radio button that is already selected. This is appropriate for read-only settings where the current selection is system-enforced and cannot be changed. Always provide a tooltip or helper text explaining the constraint.');
448
452
  export const WithError = withDescription({
449
- render: () => (_jsxs("div", { style: { maxWidth: '28rem', padding: 'var(--spacing-xlarge)', display: 'flex', flexDirection: 'column', gap: 'var(--spacing-medium)' }, children: [_jsx("p", { style: { margin: 0, color: 'var(--color-grey-600)', fontSize: 'var(--font-size-2-13)' }, children: "Report period" }), _jsx(RadioButtonInput, { id: "error-current-term", name: "error-report-period", value: "current-term", checked: false, hasError: true, onChange: fn(), label: "Current term" }), _jsx(RadioButtonInput, { id: "error-last-term", name: "error-report-period", value: "last-term", checked: false, hasError: true, onChange: fn(), label: "Last term" }), _jsx(RadioButtonInput, { id: "error-full-year", name: "error-report-period", value: "full-year", checked: false, hasError: true, onChange: fn(), label: "Full academic year" }), _jsx("p", { role: "alert", style: {
450
- margin: 0,
451
- color: 'var(--form-field-text-error-color-error-text)',
452
- fontSize: 'var(--font-size-2-13)',
453
- }, children: "Please select a report period to continue." })] })),
453
+ render: () => (_jsxs("div", { style: { maxWidth: '28rem', padding: 'var(--spacing-xlarge)', display: 'flex', flexDirection: 'column', gap: 'var(--spacing-medium)' }, children: [_jsx("p", { style: { margin: 0, color: 'var(--color-grey-600)', fontSize: 'var(--font-size-2-13)' }, children: "Report period" }), _jsx(RadioButtonInput, { id: "error-current-term", name: "error-report-period", value: "current-term", checked: false, hasError: true, onChange: fn(), label: "Current term" }), _jsx(RadioButtonInput, { id: "error-last-term", name: "error-report-period", value: "last-term", checked: false, hasError: true, onChange: fn(), label: "Last term" }), _jsx(RadioButtonInput, { id: "error-full-year", name: "error-report-period", value: "full-year", checked: false, hasError: true, onChange: fn(), label: "Full academic year" }), _jsx("div", { className: "ds-form-field__message", children: _jsxs("span", { className: "ds-form-field__message--error", role: "alert", children: [_jsx(Icon, { size: 12, name: "triangle-alert" }), "Please select a report period to continue."] }) })] })),
454
454
  parameters: {
455
455
  docs: {
456
456
  source: {
457
457
  language: 'tsx',
458
458
  code: `
459
- import { RadioButtonInput } from '@arbor-education/design-system.components';
459
+ import { Icon, RadioButtonInput } from '@arbor-education/design-system.components';
460
460
 
461
461
  function WithErrorExample() {
462
- // IMPORTANT: hasError sets aria-invalid="true" on the <input> but makes
463
- // NO visual change to the indicator circle — there are zero CSS rules for
464
- // the error state. You MUST render the error message yourself.
462
+ // hasError sets aria-invalid="true" on the <input> but makes NO visual change
463
+ // to the indicator circle — there are zero CSS rules for the error state.
464
+ // Render the error message yourself using FormField's canonical markup so the
465
+ // look matches text/number/select fields:
466
+ // .ds-form-field__message > .ds-form-field__message--error + triangle-alert Icon
465
467
  return (
466
468
  <div>
467
469
  <RadioButtonInput
@@ -491,10 +493,12 @@ function WithErrorExample() {
491
493
  onChange={() => {}}
492
494
  label="Full academic year"
493
495
  />
494
- {/* Consumer-rendered error message — hasError alone shows nothing visually */}
495
- <p role="alert" style={{ color: 'var(--form-field-text-error-color-error-text)' }}>
496
- Please select a report period to continue.
497
- </p>
496
+ <div className="ds-form-field__message">
497
+ <span className="ds-form-field__message--error" role="alert">
498
+ <Icon size={12} name="triangle-alert" />
499
+ Please select a report period to continue.
500
+ </span>
501
+ </div>
498
502
  </div>
499
503
  );
500
504
  }
@@ -508,8 +512,11 @@ export default WithErrorExample;
508
512
  '**Important:** `hasError={true}` sets `aria-invalid="true"` on the native `<input>` — this is',
509
513
  'ARIA-only and makes zero visual difference to the indicator circle.',
510
514
  'There are no CSS rules in the design system that change the indicator\'s appearance based on `aria-invalid`.',
511
- 'To communicate the error visually, you must render your own error message below the group (shown here',
512
- 'with `role="alert"` so screen readers announce it automatically).',
515
+ 'To communicate the error visually, render your own message below the group using `FormField`\'s',
516
+ 'canonical error markup a `.ds-form-field__message` wrapper with a `.ds-form-field__message--error`',
517
+ 'span containing a `triangle-alert` `Icon` and the error text (with `role="alert"` so screen readers',
518
+ 'announce it automatically). Reusing this markup keeps radio errors visually consistent with',
519
+ 'text/number/select fields wrapped in `FormField`.',
513
520
  'Error validation should always be at the field level, not per-option.',
514
521
  ].join(' '));
515
522
  export const WithoutLabel = withDescription({
@@ -670,15 +677,16 @@ export const RadioGroupWithError = withDescription({
670
677
  language: 'tsx',
671
678
  code: `
672
679
  import { useState } from 'react';
673
- import { RadioButtonGroup } from '@arbor-education/design-system.components';
680
+ import { Icon, RadioButtonGroup } from '@arbor-education/design-system.components';
674
681
 
675
682
  function NotificationMethodWithErrorExample() {
676
683
  const [method, setMethod] = useState('');
677
684
 
678
- // hasError in each option sets aria-invalid="true" on each <input>.
679
- // This makes ZERO visual difference to the indicator circles there are
680
- // no CSS rules for the aria-invalid error state. The visible error message
681
- // below is the only thing that communicates the error to sighted users.
685
+ // RadioButtonGroup has no per-option hasError API its option type is
686
+ // { id, value, label } only. Communicate validation at the field level by
687
+ // rendering an error message below the group, matching FormField's canonical
688
+ // markup (.ds-form-field__message--error + triangle-alert Icon) so the look
689
+ // is consistent with the rest of the design system.
682
690
  return (
683
691
  <div>
684
692
  <RadioButtonGroup
@@ -687,15 +695,17 @@ function NotificationMethodWithErrorExample() {
687
695
  checkedValue={method}
688
696
  onChange={(e) => setMethod(e.target.value)}
689
697
  options={[
690
- { id: 'opt-email', value: 'email', label: 'Email', hasError: true },
691
- { id: 'opt-sms', value: 'sms', label: 'SMS', hasError: true },
692
- { id: 'opt-post', value: 'post', label: 'Post', hasError: true },
698
+ { id: 'opt-email', value: 'email', label: 'Email' },
699
+ { id: 'opt-sms', value: 'sms', label: 'SMS' },
700
+ { id: 'opt-post', value: 'post', label: 'Post' },
693
701
  ]}
694
702
  />
695
- {/* Consumer-rendered error message — hasError alone shows nothing visually */}
696
- <p role="alert" style={{ color: 'var(--form-field-text-error-color-error-text)' }}>
697
- Please select a notification method to continue.
698
- </p>
703
+ <div className="ds-form-field__message">
704
+ <span className="ds-form-field__message--error" role="alert">
705
+ <Icon size={12} name="triangle-alert" />
706
+ Please select a notification method to continue.
707
+ </span>
708
+ </div>
699
709
  </div>
700
710
  );
701
711
  }
@@ -706,13 +716,15 @@ export default NotificationMethodWithErrorExample;
706
716
  },
707
717
  },
708
718
  }, [
709
- '**Field-level validation** error state is shown at the group level, not per option.',
710
- '`hasError` is passed to each option in the `options` array, which sets `aria-invalid="true"`',
711
- 'on each native `<input>`. Screen readers will announce each option as invalid.',
712
- '**However, `hasError` makes ZERO visual change to the indicator circles** — there are no CSS rules',
713
- 'for the error state. The visible error message rendered below the group (with `role="alert"`) is',
714
- 'the only thing that communicates the error to sighted users.',
715
- 'Start with no option selected and note how the error message is present — select any option to',
716
- 'resolve the validation in a real implementation.',
719
+ '**Field-level validation.** `RadioButtonGroup`\'s option type is `{ id, value, label }` only ',
720
+ 'there is no per-option `hasError` and no group-level error prop.',
721
+ 'To communicate an error, render your own message below the group using the same canonical markup',
722
+ '`FormField` produces: a `.ds-form-field__message` wrapper containing a `.ds-form-field__message--error`',
723
+ 'span with a `triangle-alert` `Icon` and the error text. This keeps radio errors visually consistent',
724
+ 'with text/number/select fields wrapped in `FormField`.',
725
+ 'Note: `FormField` itself does not currently support `inputType="radio"`, so this hand-rolled',
726
+ 'pattern is the recommended approach.',
727
+ 'Start with no option selected — the error message is present; select any option to resolve the',
728
+ 'validation in a real implementation.',
717
729
  ].join(' '));
718
730
  //# sourceMappingURL=RadioButtonInput.stories.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RadioButtonInput.stories.js","sourceRoot":"","sources":["../../../../../src/components/formField/inputs/radio/RadioButtonInput.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,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,8EAA8E;AAC9E,4EAA4E;AAC5E,mDAA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ACf,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;;;WAuBL,CAAC,IAAI,EAAE;aACT;SACF;KACF;CACF,EACD;IACE,4FAA4F;IAC5F,wGAAwG;IACxG,+CAA+C;IAC/C,8FAA8F;IAC9F,kDAAkD;CACnD,CAAC,IAAI,CAAC,GAAG,CAAC,CACZ,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAU,eAAe,CACvD;IACE,IAAI,EAAE,gCAAgC;IACtC,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,2BAA2B,KAAG;IAC7C,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAiCL,CAAC,IAAI,EAAE;aACT;SACF;KACF;CACF,EACD;IACE,uFAAuF;IACvF,8FAA8F;IAC9F,gFAAgF;IAChF,oGAAoG;IACpG,kGAAkG;IAClG,8DAA8D;IAC9D,gGAAgG;IAChG,kDAAkD;CACnD,CAAC,IAAI,CAAC,GAAG,CAAC,CACZ,CAAC"}
1
+ {"version":3,"file":"RadioButtonInput.stories.js","sourceRoot":"","sources":["../../../../../src/components/formField/inputs/radio/RadioButtonInput.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,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,8EAA8E;AAC9E,4EAA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AAc,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,oBAAoB,EAAE;aACxE,GACD,GACE,CACP;IACD,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;;;WAuBL,CAAC,IAAI,EAAE;aACT;SACF;KACF;CACF,EACD;IACE,4FAA4F;IAC5F,wGAAwG;IACxG,+CAA+C;IAC/C,8FAA8F;IAC9F,kDAAkD;CACnD,CAAC,IAAI,CAAC,GAAG,CAAC,CACZ,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAU,eAAe,CACvD;IACE,IAAI,EAAE,gCAAgC;IACtC,MAAM,EAAE,GAAG,EAAE,CAAC,KAAC,2BAA2B,KAAG;IAC7C,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,MAAM,EAAE;gBACN,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAoCL,CAAC,IAAI,EAAE;aACT;SACF;KACF;CACF,EACD;IACE,gGAAgG;IAChG,kEAAkE;IAClE,kGAAkG;IAClG,yGAAyG;IACzG,qGAAqG;IACrG,wDAAwD;IACxD,8FAA8F;IAC9F,sCAAsC;IACtC,gGAAgG;IAChG,sCAAsC;CACvC,CAAC,IAAI,CAAC,GAAG,CAAC,CACZ,CAAC"}
@@ -1,173 +1,195 @@
1
- import type { Meta } from '@storybook/react-vite';
1
+ import type { StoryObj } from '@storybook/react-vite';
2
2
  import { SelectDropdown } from './SelectDropdown';
3
- declare const meta: Meta<typeof SelectDropdown>;
4
- export declare const Default: {
5
- args: {
6
- title: string;
7
- options: {
8
- label: string;
9
- value: string;
10
- }[];
11
- multiple: boolean;
12
- onSelectionChange: (value: string[]) => void;
13
- };
14
- };
15
- export declare const WithIcon: {
16
- args: {
17
- title: string;
18
- options: {
19
- label: string;
20
- value: string;
21
- icon: string;
22
- }[];
23
- multiple: boolean;
24
- onSelectionChange: (value: string[]) => void;
25
- };
26
- };
27
- export declare const DefaultWithGroups: {
28
- args: {
29
- title: string;
30
- multiple: boolean;
31
- options: ({
32
- label: string;
33
- value: string;
34
- group: string;
35
- } | {
36
- label: string;
37
- value: string;
38
- group?: undefined;
39
- })[];
40
- onSelectionChange: (value: string[]) => void;
41
- };
42
- };
43
- export declare const DefaultMultiSelect: {
44
- args: {
45
- title: string;
46
- options: {
47
- label: string;
48
- value: string;
49
- }[];
50
- multiple: boolean;
51
- onSelectionChange: (value: string[]) => void;
52
- };
53
- };
54
- export declare const Placeholder: {
55
- args: {
56
- placeholder: string;
57
- title: string;
58
- options: {
59
- label: string;
60
- value: string;
61
- }[];
62
- onSelectionChange: (value: string[]) => void;
3
+ declare function SelectDropdownDocsPage(): import("react/jsx-runtime").JSX.Element;
4
+ declare const meta: {
5
+ title: string;
6
+ component: (props: import("./SelectDropdown").SelectDropdownInputProps) => import("react/jsx-runtime").JSX.Element;
7
+ tags: string[];
8
+ parameters: {
9
+ layout: string;
10
+ docs: {
11
+ page: typeof SelectDropdownDocsPage;
12
+ };
63
13
  };
64
- };
65
- export declare const EmptyPlaceHolder: {
66
- args: {
67
- placeholder: string;
68
- options: {
69
- label: string;
70
- value: string;
71
- }[];
72
- disabled: boolean;
73
- onSelectionChange: (value: string[]) => void;
74
- };
75
- };
76
- export declare const WithError: {
77
- args: {
78
- title: string;
79
- options: {
80
- label: string;
81
- value: string;
82
- }[];
83
- disabled: boolean;
84
- errorText: string;
85
- onSelectionChange: (value: string[]) => void;
86
- };
87
- };
88
- export declare const Disabled: {
89
- args: {
90
- title: string;
91
- options: {
92
- label: string;
93
- value: string;
94
- }[];
95
- disabled: boolean;
96
- onSelectionChange: (value: string[]) => void;
97
- };
98
- };
99
- export declare const WithGroups: {
100
- args: {
101
- title: string;
102
- options: ({
103
- label: string;
104
- value: string;
105
- group: string;
106
- } | {
107
- label: string;
108
- value: string;
109
- group?: undefined;
110
- })[];
111
- onSelectionChange: (value: string[]) => void;
112
- };
113
- };
114
- export declare const MultilineItems: {
115
- args: {
116
- title: string;
117
- options: {
118
- label: string;
119
- value: string;
120
- header: string;
121
- }[];
122
- onSelectionChange: (value: string[]) => void;
123
- };
124
- };
125
- export declare const MultilineItemsGrouped: {
126
- args: {
127
- title: string;
128
- options: ({
129
- label: string;
130
- value: string;
131
- header: string;
132
- group?: undefined;
133
- } | {
134
- label: string;
135
- value: string;
136
- header: string;
137
- group: string;
138
- })[];
139
- onSelectionChange: (value: string[]) => void;
140
- };
141
- };
142
- export declare const MultilineItemsGroupedMultiSelect: {
143
- args: {
144
- title: string;
145
- multiple: boolean;
146
- options: ({
147
- label: string;
148
- value: string;
149
- header: string;
150
- group: string;
151
- } | {
152
- label: string;
153
- value: string;
154
- header: string;
155
- group?: undefined;
156
- })[];
157
- onSelectionChange: (value: string[]) => void;
158
- };
159
- };
160
- export declare const ControlledOpen: {
161
- args: {
162
- title: string;
14
+ argTypes: {
163
15
  options: {
164
- label: string;
165
- value: string;
166
- }[];
167
- open: boolean;
168
- onOpenChange: (open: boolean) => void;
169
- onSelectionChange: (value: string[]) => void;
16
+ description: string;
17
+ control: false;
18
+ table: {
19
+ type: {
20
+ summary: string;
21
+ };
22
+ };
23
+ };
24
+ placeholder: {
25
+ description: string;
26
+ control: "text";
27
+ table: {
28
+ type: {
29
+ summary: string;
30
+ };
31
+ defaultValue: {
32
+ summary: string;
33
+ };
34
+ };
35
+ };
36
+ multiple: {
37
+ description: string;
38
+ control: "boolean";
39
+ table: {
40
+ type: {
41
+ summary: string;
42
+ };
43
+ defaultValue: {
44
+ summary: string;
45
+ };
46
+ };
47
+ };
48
+ disabled: {
49
+ description: string;
50
+ control: "boolean";
51
+ table: {
52
+ type: {
53
+ summary: string;
54
+ };
55
+ defaultValue: {
56
+ summary: string;
57
+ };
58
+ };
59
+ };
60
+ hasError: {
61
+ description: string;
62
+ control: "boolean";
63
+ table: {
64
+ type: {
65
+ summary: string;
66
+ };
67
+ defaultValue: {
68
+ summary: string;
69
+ };
70
+ };
71
+ };
72
+ 'aria-invalid': {
73
+ description: string;
74
+ control: "boolean";
75
+ table: {
76
+ type: {
77
+ summary: string;
78
+ };
79
+ defaultValue: {
80
+ summary: string;
81
+ };
82
+ };
83
+ };
84
+ 'aria-describedBy': {
85
+ description: string;
86
+ control: "text";
87
+ table: {
88
+ type: {
89
+ summary: string;
90
+ };
91
+ defaultValue: {
92
+ summary: string;
93
+ };
94
+ };
95
+ };
96
+ id: {
97
+ description: string;
98
+ control: "text";
99
+ table: {
100
+ type: {
101
+ summary: string;
102
+ };
103
+ defaultValue: {
104
+ summary: string;
105
+ };
106
+ };
107
+ };
108
+ alwaysShowPlaceholder: {
109
+ description: string;
110
+ control: "boolean";
111
+ table: {
112
+ type: {
113
+ summary: string;
114
+ };
115
+ defaultValue: {
116
+ summary: string;
117
+ };
118
+ };
119
+ };
120
+ initialSelectedValues: {
121
+ description: string;
122
+ control: false;
123
+ table: {
124
+ type: {
125
+ summary: string;
126
+ };
127
+ defaultValue: {
128
+ summary: string;
129
+ };
130
+ };
131
+ };
132
+ selectedValues: {
133
+ description: string;
134
+ control: false;
135
+ table: {
136
+ type: {
137
+ summary: string;
138
+ };
139
+ defaultValue: {
140
+ summary: string;
141
+ };
142
+ };
143
+ };
144
+ onSelectionChange: {
145
+ description: string;
146
+ action: string;
147
+ control: false;
148
+ table: {
149
+ type: {
150
+ summary: string;
151
+ };
152
+ };
153
+ };
154
+ open: {
155
+ description: string;
156
+ control: "boolean";
157
+ table: {
158
+ type: {
159
+ summary: string;
160
+ };
161
+ defaultValue: {
162
+ summary: string;
163
+ };
164
+ };
165
+ };
166
+ onOpenChange: {
167
+ description: string;
168
+ action: string;
169
+ control: false;
170
+ table: {
171
+ type: {
172
+ summary: string;
173
+ };
174
+ };
175
+ };
170
176
  };
171
177
  };
172
178
  export default meta;
179
+ type Story = StoryObj<typeof SelectDropdown>;
180
+ export declare const Default: Story;
181
+ export declare const WithInitialSelection: Story;
182
+ export declare const MultiSelect: Story;
183
+ export declare const MultiSelectWithCount: Story;
184
+ export declare const Disabled: Story;
185
+ export declare const WithError: Story;
186
+ export declare const WithIcons: Story;
187
+ export declare const WithItemHeaders: Story;
188
+ export declare const WithGroups: Story;
189
+ export declare const WithGroupsMultiSelect: Story;
190
+ export declare const AlwaysShowPlaceholder: Story;
191
+ export declare const ControlledSingleSelect: Story;
192
+ export declare const ControlledOpen: Story;
193
+ export declare const InsideFormField: Story;
194
+ export declare const InsideFormFieldWithError: Story;
173
195
  //# sourceMappingURL=SelectDropdown.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SelectDropdown.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/formField/inputs/selectDropdown/SelectDropdown.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CAGrC,CAAC;AAEF,eAAO,MAAM,OAAO;;;;;;;;mCASW,MAAM,EAAE;;CAEtC,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;mCASU,MAAM,EAAE;;CAEtC,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;mCAeC,MAAM,EAAE;;CAEtC,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;;mCASA,MAAM,EAAE;;CAEtC,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;mCASO,MAAM,EAAE;;CAEtC,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;;;;;mCASE,MAAM,EAAE;;CAEtC,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;mCAUS,MAAM,EAAE;;CAEtC,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;mCASU,MAAM,EAAE;;CAEtC,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;mCAYQ,MAAM,EAAE;;CAEtC,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;mCASI,MAAM,EAAE;;CAEtC,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;mCAcH,MAAM,EAAE;;CAEtC,CAAC;AAEF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;mCAed,MAAM,EAAE;;CAEtC,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;6BASF,OAAO;mCACD,MAAM,EAAE;;CAEtC,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"SelectDropdown.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/formField/inputs/selectDropdown/SelectDropdown.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAW5D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AA6FlD,iBAAS,sBAAsB,4CAmB9B;AAsDD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6J6B,CAAC;AAExC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAC;AAsN7C,eAAO,MAAM,OAAO,EAAE,KAerB,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAkClC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAkCzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,EAAE,KAuClC,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAgCtB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KA0CvB,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