@luscii-healthtech/web-ui 58.19.2 → 59.0.0

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 (310) hide show
  1. package/dist/esm/components/Accordion/AccordionItem.js +2 -2
  2. package/dist/esm/components/Accordion/AccordionItem.js.map +1 -1
  3. package/dist/esm/components/Avatar/Avatar.js +9 -29
  4. package/dist/esm/components/Avatar/Avatar.js.map +1 -1
  5. package/dist/esm/components/Avatar/AvatarGroup.js +2 -8
  6. package/dist/esm/components/Avatar/AvatarGroup.js.map +1 -1
  7. package/dist/esm/components/Badge/Badge.js +1 -3
  8. package/dist/esm/components/Badge/Badge.js.map +1 -1
  9. package/dist/esm/components/ButtonV2/ButtonV2.js +11 -10
  10. package/dist/esm/components/ButtonV2/ButtonV2.js.map +1 -1
  11. package/dist/esm/components/ButtonV2/PrimaryButton.js +1 -1
  12. package/dist/esm/components/ButtonV2/PrimaryButton.js.map +1 -1
  13. package/dist/esm/components/ButtonV2/SecondaryButton.js +1 -1
  14. package/dist/esm/components/ButtonV2/TertiaryButton.js +1 -1
  15. package/dist/esm/components/Card/Card.js +4 -4
  16. package/dist/esm/components/Card/Card.js.map +1 -1
  17. package/dist/esm/components/CenteredHero/CenteredHero.js +2 -2
  18. package/dist/esm/components/CenteredHero/CenteredHero.js.map +1 -1
  19. package/dist/esm/components/Checkbox/Checkbox.js.map +1 -1
  20. package/dist/esm/components/ConfirmationDialog/ConfirmationDialog.js +1 -1
  21. package/dist/esm/components/ConfirmationDialog/ConfirmationDialog.js.map +1 -1
  22. package/dist/esm/components/ConfirmationDialog/ConfirmationDialogChoices.js +5 -13
  23. package/dist/esm/components/ConfirmationDialog/ConfirmationDialogChoices.js.map +1 -1
  24. package/dist/esm/components/ConfirmationDialog/ConfirmationDialogMessage.js +1 -1
  25. package/dist/esm/components/ConfirmationDialog/ConfirmationDialogMessage.js.map +1 -1
  26. package/dist/esm/components/ConfirmationDialog/ConfirmationDialogTitle.js +2 -2
  27. package/dist/esm/components/ConfirmationDialog/ConfirmationDialogTitle.js.map +1 -1
  28. package/dist/esm/components/DatePicker/DatePicker.js +2 -3
  29. package/dist/esm/components/DatePicker/DatePicker.js.map +1 -1
  30. package/dist/esm/components/EmptyListMessage/EmptyListMessage.js +1 -1
  31. package/dist/esm/components/EmptyListMessage/EmptyListMessage.js.map +1 -1
  32. package/dist/esm/components/FlyOutMenu/FlyOutMenu.js +3 -4
  33. package/dist/esm/components/FlyOutMenu/FlyOutMenu.js.map +1 -1
  34. package/dist/esm/components/InfoField/InfoField.js +1 -1
  35. package/dist/esm/components/InfoField/InfoField.js.map +1 -1
  36. package/dist/esm/components/Input/SearchInput.js.map +1 -1
  37. package/dist/esm/components/MediaPicker/ImageCategory.js +1 -1
  38. package/dist/esm/components/MediaPicker/ImageCategory.js.map +1 -1
  39. package/dist/esm/components/MediaPicker/MediaPicker.js +1 -1
  40. package/dist/esm/components/MediaPicker/MediaPicker.js.map +1 -1
  41. package/dist/esm/components/Modal/FullPageModal.js +2 -2
  42. package/dist/esm/components/Modal/FullPageModal.js.map +1 -1
  43. package/dist/esm/components/Modal/FullPageModalHeader.js +2 -3
  44. package/dist/esm/components/Modal/FullPageModalHeader.js.map +1 -1
  45. package/dist/esm/components/Modal/ModalBase.js +1 -1
  46. package/dist/esm/components/Modal/ModalBase.js.map +1 -1
  47. package/dist/esm/components/Modal/ModalFooter.js +3 -5
  48. package/dist/esm/components/Modal/ModalFooter.js.map +1 -1
  49. package/dist/esm/components/Modal/ModalHeader.js +2 -2
  50. package/dist/esm/components/Modal/ModalHeader.js.map +1 -1
  51. package/dist/esm/components/Page/CRUDPage.js +3 -7
  52. package/dist/esm/components/Page/CRUDPage.js.map +1 -1
  53. package/dist/esm/components/Page/Page.js +2 -2
  54. package/dist/esm/components/Page/Page.js.map +1 -1
  55. package/dist/esm/components/PaginationMenu/PaginationMenu.js +1 -1
  56. package/dist/esm/components/PaginationMenu/PaginationMenu.js.map +1 -1
  57. package/dist/esm/components/RangeCoverage/RangeCoverage.js +2 -2
  58. package/dist/esm/components/RangeCoverage/RangeCoverage.js.map +1 -1
  59. package/dist/esm/components/Section/Section.js.map +1 -1
  60. package/dist/esm/components/Section/SectionItemWithContent.js +1 -1
  61. package/dist/esm/components/Section/SectionItemWithContent.js.map +1 -1
  62. package/dist/esm/components/Section/subcomponents/SectionHeader.js +2 -2
  63. package/dist/esm/components/Section/subcomponents/SectionHeader.js.map +1 -1
  64. package/dist/esm/components/SettingsMenuButton/SettingsMenuButton.js +3 -3
  65. package/dist/esm/components/SettingsMenuButton/SettingsMenuButton.js.map +1 -1
  66. package/dist/esm/components/Switcher/SwitcherItem.js +1 -1
  67. package/dist/esm/components/Switcher/SwitcherItem.js.map +1 -1
  68. package/dist/esm/components/Table/TableBodyRowDataCell.js +2 -1
  69. package/dist/esm/components/Table/TableBodyRowDataCell.js.map +1 -1
  70. package/dist/esm/components/Tag/TagGroup.js +2 -3
  71. package/dist/esm/components/Tag/TagGroup.js.map +1 -1
  72. package/dist/esm/components/Text/Text.js +7 -15
  73. package/dist/esm/components/Text/Text.js.map +1 -1
  74. package/dist/esm/components/TextEditor/LinkTooltip.js +1 -1
  75. package/dist/esm/components/TextEditor/LinkTooltip.js.map +1 -1
  76. package/dist/esm/components/Timeline/TimelineHeader.js +2 -2
  77. package/dist/esm/components/Timeline/TimelineHeader.js.map +1 -1
  78. package/dist/esm/components/Timeline/TimelineStep.js +1 -1
  79. package/dist/esm/components/Timeline/TimelineStep.js.map +1 -1
  80. package/dist/esm/components/TimelineCard/TimelineCard.js +6 -8
  81. package/dist/esm/components/TimelineCard/TimelineCard.js.map +1 -1
  82. package/dist/esm/components/Title/PageTitle.js +1 -0
  83. package/dist/esm/components/Title/PageTitle.js.map +1 -1
  84. package/dist/esm/index.js +2 -20
  85. package/dist/esm/index.js.map +1 -1
  86. package/dist/esm/system/Sizes.js.map +1 -1
  87. package/dist/index.development.js +668 -1139
  88. package/dist/index.development.js.map +1 -1
  89. package/dist/index.js +1 -1
  90. package/dist/index.js.map +1 -1
  91. package/dist/src/components/ActionController/ActionController.d.ts +1 -1
  92. package/dist/src/components/Avatar/Avatar.d.ts +9 -42
  93. package/dist/src/components/Badge/Badge.d.ts +0 -4
  94. package/dist/src/components/Box/Box.d.ts +3 -3
  95. package/dist/src/components/ButtonV2/ButtonProps.type.d.ts +0 -13
  96. package/dist/src/components/Card/Card.d.ts +3 -3
  97. package/dist/src/components/Checkbox/Checkbox.d.ts +2 -11
  98. package/dist/src/components/ConfirmationDialog/ConfirmationDialogChoices.d.ts +1 -1
  99. package/dist/src/components/ConfirmationDialog/types/ConfirmationDialog.types.d.ts +2 -2
  100. package/dist/src/components/DatePicker/DatePicker.d.ts +0 -10
  101. package/dist/src/components/DropdownTrigger/DropdownTrigger.d.ts +1 -1
  102. package/dist/src/components/EmptyListMessage/EmptyListMessage.d.ts +1 -5
  103. package/dist/src/components/FlyOutMenu/FlyOutMenu.d.ts +0 -4
  104. package/dist/src/components/Icons/types/IconProps.type.d.ts +1 -1
  105. package/dist/src/components/Input/Input.d.ts +1 -1
  106. package/dist/src/components/Input/SearchInput.d.ts +0 -11
  107. package/dist/src/components/Input/StyledInput.d.ts +2 -2
  108. package/dist/src/components/InputSelect/InputSelect.d.ts +1 -1
  109. package/dist/src/components/InputSelect/InputSelect.utils.d.ts +1 -1
  110. package/dist/src/components/LoadingIndicator/LoadingIndicator.d.ts +1 -1
  111. package/dist/src/components/Modal/FullPageModal.d.ts +0 -10
  112. package/dist/src/components/Modal/FullPageModalHeader.d.ts +0 -7
  113. package/dist/src/components/Modal/ModalFooter.d.ts +0 -17
  114. package/dist/src/components/NaturalLanguageForm/NaturalLanguageForm.d.ts +1 -5
  115. package/dist/src/components/NaturalLanguageForm/NaturalLanguageFormContext.d.ts +1 -1
  116. package/dist/src/components/Page/CRUDPage.types.d.ts +0 -25
  117. package/dist/src/components/PaginationMenu/PaginationMenu.types.d.ts +5 -16
  118. package/dist/src/components/Section/Section.d.ts +0 -4
  119. package/dist/src/components/Select/StyledSelect.d.ts +2 -2
  120. package/dist/src/components/Stack/Stack.d.ts +1 -1
  121. package/dist/src/components/Table/Table.types.d.ts +6 -3
  122. package/dist/src/components/Tag/TagGroup.d.ts +1 -17
  123. package/dist/src/components/Text/Text.d.ts +0 -33
  124. package/dist/src/components/Timeline/TimelineHeader.d.ts +3 -3
  125. package/dist/src/components/TimelineCard/TimelineCard.d.ts +2 -21
  126. package/dist/src/components/Title/PageTitle.d.ts +1 -0
  127. package/dist/src/components/UnorderedList/UnorderedList.d.ts +1 -1
  128. package/dist/src/components/forms/shared/LabelText.d.ts +1 -1
  129. package/dist/src/generated/components/ActionController/ActionController.d.ts +1 -1
  130. package/dist/src/generated/components/Avatar/Avatar.d.ts +9 -42
  131. package/dist/src/generated/components/Badge/Badge.d.ts +0 -4
  132. package/dist/src/generated/components/Box/Box.d.ts +3 -3
  133. package/dist/src/generated/components/ButtonV2/ButtonProps.type.d.ts +0 -13
  134. package/dist/src/generated/components/Card/Card.d.ts +3 -3
  135. package/dist/src/generated/components/Checkbox/Checkbox.d.ts +2 -11
  136. package/dist/src/generated/components/ConfirmationDialog/ConfirmationDialogChoices.d.ts +1 -1
  137. package/dist/src/generated/components/ConfirmationDialog/types/ConfirmationDialog.types.d.ts +2 -2
  138. package/dist/src/generated/components/DatePicker/DatePicker.d.ts +0 -10
  139. package/dist/src/generated/components/DropdownTrigger/DropdownTrigger.d.ts +1 -1
  140. package/dist/src/generated/components/EmptyListMessage/EmptyListMessage.d.ts +1 -5
  141. package/dist/src/generated/components/FlyOutMenu/FlyOutMenu.d.ts +0 -4
  142. package/dist/src/generated/components/Icons/types/IconProps.type.d.ts +1 -1
  143. package/dist/src/generated/components/Input/Input.d.ts +1 -1
  144. package/dist/src/generated/components/Input/SearchInput.d.ts +0 -11
  145. package/dist/src/generated/components/Input/StyledInput.d.ts +2 -2
  146. package/dist/src/generated/components/InputSelect/InputSelect.d.ts +1 -1
  147. package/dist/src/generated/components/InputSelect/InputSelect.utils.d.ts +1 -1
  148. package/dist/src/generated/components/LoadingIndicator/LoadingIndicator.d.ts +1 -1
  149. package/dist/src/generated/components/Modal/FullPageModal.d.ts +0 -10
  150. package/dist/src/generated/components/Modal/FullPageModalHeader.d.ts +0 -7
  151. package/dist/src/generated/components/Modal/ModalFooter.d.ts +0 -17
  152. package/dist/src/generated/components/NaturalLanguageForm/NaturalLanguageForm.d.ts +1 -5
  153. package/dist/src/generated/components/NaturalLanguageForm/NaturalLanguageFormContext.d.ts +1 -1
  154. package/dist/src/generated/components/Page/CRUDPage.types.d.ts +0 -25
  155. package/dist/src/generated/components/PaginationMenu/PaginationMenu.types.d.ts +5 -16
  156. package/dist/src/generated/components/Section/Section.d.ts +0 -4
  157. package/dist/src/generated/components/Select/StyledSelect.d.ts +2 -2
  158. package/dist/src/generated/components/Stack/Stack.d.ts +1 -1
  159. package/dist/src/generated/components/Table/Table.types.d.ts +6 -3
  160. package/dist/src/generated/components/Tag/TagGroup.d.ts +1 -17
  161. package/dist/src/generated/components/Text/Text.d.ts +0 -33
  162. package/dist/src/generated/components/Timeline/TimelineHeader.d.ts +3 -3
  163. package/dist/src/generated/components/TimelineCard/TimelineCard.d.ts +2 -21
  164. package/dist/src/generated/components/Title/PageTitle.d.ts +1 -0
  165. package/dist/src/generated/components/UnorderedList/UnorderedList.d.ts +1 -1
  166. package/dist/src/generated/components/forms/shared/LabelText.d.ts +1 -1
  167. package/dist/src/generated/index.d.ts +2 -11
  168. package/dist/src/generated/system/Sizes.d.ts +2 -5
  169. package/dist/src/generated/types/general.types.d.ts +1 -1
  170. package/dist/src/index.d.ts +2 -11
  171. package/dist/src/system/Sizes.d.ts +2 -5
  172. package/dist/src/types/general.types.d.ts +1 -1
  173. package/dist/stories/AccordionListRecipe.stories.d.ts +1 -2
  174. package/dist/stories/ActionController.stories.d.ts +6 -6
  175. package/dist/stories/AsideLayout.stories.d.ts +6 -6
  176. package/dist/stories/Avatar.stories.d.ts +4 -9
  177. package/dist/stories/Badge.stories.d.ts +0 -1
  178. package/dist/stories/Box.stories.d.ts +6 -6
  179. package/dist/stories/DatePicker.stories.d.ts +0 -1
  180. package/dist/stories/DetailsDisclosure.stories.d.ts +1669 -1669
  181. package/dist/stories/Divider.stories.d.ts +12 -12
  182. package/dist/stories/FullPageModal.stories.d.ts +0 -11
  183. package/dist/stories/HoverIndicatorControl.stories.d.ts +6 -6
  184. package/dist/stories/LabeledDatePicker.stories.d.ts +0 -1
  185. package/dist/stories/ListRecipe.stories.d.ts +1 -2
  186. package/dist/stories/ModalDialog.stories.d.ts +3553 -3553
  187. package/dist/stories/NaturalLanguageForm.stories.d.ts +0 -4
  188. package/dist/stories/PageWithCenteredContentLayout.stories.d.ts +18 -18
  189. package/dist/stories/PrimaryTabBar.stories.d.ts +44 -44
  190. package/dist/stories/RangeCoverage.stories.d.ts +1 -1
  191. package/dist/stories/Section.stories.d.ts +6 -6
  192. package/dist/stories/SplitViewLayout.stories.d.ts +6 -6
  193. package/dist/stories/Stack.stories.d.ts +1 -1
  194. package/dist/stories/StyledOrderedList.stories.d.ts +44 -44
  195. package/dist/stories/StyledUnorderedList.stories.d.ts +44 -44
  196. package/dist/stories/Tabs.stories.d.ts +6 -6
  197. package/dist/stories/Text.stories.d.ts +0 -20
  198. package/dist/stories/TextColors.stories.d.ts +0 -1
  199. package/dist/stories/TextLegacy.stories.d.ts +0 -3
  200. package/dist/stories/TimelineCard.stories.d.ts +0 -8
  201. package/dist/stories/TimelineCardLayout.stories.d.ts +6 -6
  202. package/dist/stories/VerticalMenu.stories.d.ts +6 -6
  203. package/dist/web-ui-tailwind.css +0 -127
  204. package/package.json +18 -24
  205. package/dist/esm/components/AccordionList/AccordionList.js +0 -74
  206. package/dist/esm/components/AccordionList/AccordionList.js.map +0 -1
  207. package/dist/esm/components/AccordionList/subcomponents/AccordionListActions.js +0 -8
  208. package/dist/esm/components/AccordionList/subcomponents/AccordionListActions.js.map +0 -1
  209. package/dist/esm/components/BaseList/BaseList.js +0 -28
  210. package/dist/esm/components/BaseList/BaseList.js.map +0 -1
  211. package/dist/esm/components/BaseList/BaseListEmptyState.js +0 -14
  212. package/dist/esm/components/BaseList/BaseListEmptyState.js.map +0 -1
  213. package/dist/esm/components/BaseList/BaseListHeader.js +0 -24
  214. package/dist/esm/components/BaseList/BaseListHeader.js.map +0 -1
  215. package/dist/esm/components/BaseList/BaseListIcon.js +0 -19
  216. package/dist/esm/components/BaseList/BaseListIcon.js.map +0 -1
  217. package/dist/esm/components/BaseList/BaseListItem.js +0 -40
  218. package/dist/esm/components/BaseList/BaseListItem.js.map +0 -1
  219. package/dist/esm/components/BaseList/DraggableBaseList/DraggableBaseList.js +0 -12
  220. package/dist/esm/components/BaseList/DraggableBaseList/DraggableBaseList.js.map +0 -1
  221. package/dist/esm/components/BaseList/DraggableBaseList/DraggableBaseListItem.js +0 -22
  222. package/dist/esm/components/BaseList/DraggableBaseList/DraggableBaseListItem.js.map +0 -1
  223. package/dist/esm/components/BaseList/ListSkeleton/ListItemSkeleton.js +0 -8
  224. package/dist/esm/components/BaseList/ListSkeleton/ListItemSkeleton.js.map +0 -1
  225. package/dist/esm/components/BaseList/ListSkeleton/ListSkeleton.js +0 -13
  226. package/dist/esm/components/BaseList/ListSkeleton/ListSkeleton.js.map +0 -1
  227. package/dist/esm/components/BaseList/ListSkeleton/ListSkeleton.scss.js +0 -5
  228. package/dist/esm/components/BaseList/ListSkeleton/ListSkeleton.scss.js.map +0 -1
  229. package/dist/esm/components/BaseList/SortableBaseList/SortableBaseList.js +0 -13
  230. package/dist/esm/components/BaseList/SortableBaseList/SortableBaseList.js.map +0 -1
  231. package/dist/esm/components/BaseList/SortableBaseList/SortableBaseListItem.js +0 -28
  232. package/dist/esm/components/BaseList/SortableBaseList/SortableBaseListItem.js.map +0 -1
  233. package/dist/esm/components/BaseList/utils.js +0 -29
  234. package/dist/esm/components/BaseList/utils.js.map +0 -1
  235. package/dist/esm/components/List/List.js +0 -125
  236. package/dist/esm/components/List/List.js.map +0 -1
  237. package/dist/esm/components/List/ListItem.js +0 -16
  238. package/dist/esm/components/List/ListItem.js.map +0 -1
  239. package/dist/esm/components/Radio/RadioV2.js +0 -19
  240. package/dist/esm/components/Radio/RadioV2.js.map +0 -1
  241. package/dist/esm/components/RadioGroup/RadioGroupV2.js +0 -22
  242. package/dist/esm/components/RadioGroup/RadioGroupV2.js.map +0 -1
  243. package/dist/esm/components/TextLink/TextLink.js +0 -19
  244. package/dist/esm/components/TextLink/TextLink.js.map +0 -1
  245. package/dist/esm/components/Title/Title.js +0 -51
  246. package/dist/esm/components/Title/Title.js.map +0 -1
  247. package/dist/src/components/AccordionList/AccordionList.d.ts +0 -54
  248. package/dist/src/components/AccordionList/subcomponents/AccordionListActions.d.ts +0 -18
  249. package/dist/src/components/BaseList/BaseList.d.ts +0 -7
  250. package/dist/src/components/BaseList/BaseList.types.d.ts +0 -88
  251. package/dist/src/components/BaseList/BaseListEmptyState.d.ts +0 -7
  252. package/dist/src/components/BaseList/BaseListHeader.d.ts +0 -4
  253. package/dist/src/components/BaseList/BaseListIcon.d.ts +0 -5
  254. package/dist/src/components/BaseList/BaseListItem.d.ts +0 -4
  255. package/dist/src/components/BaseList/DraggableBaseList/DraggableBaseList.d.ts +0 -4
  256. package/dist/src/components/BaseList/DraggableBaseList/DraggableBaseListItem.d.ts +0 -3
  257. package/dist/src/components/BaseList/DraggableBaseList/index.d.ts +0 -2
  258. package/dist/src/components/BaseList/ListSkeleton/ListItemSkeleton.d.ts +0 -2
  259. package/dist/src/components/BaseList/ListSkeleton/ListSkeleton.d.ts +0 -13
  260. package/dist/src/components/BaseList/SortableBaseList/SortableBaseList.d.ts +0 -4
  261. package/dist/src/components/BaseList/SortableBaseList/SortableBaseListItem.d.ts +0 -3
  262. package/dist/src/components/BaseList/SortableBaseList/index.d.ts +0 -2
  263. package/dist/src/components/BaseList/index.d.ts +0 -6
  264. package/dist/src/components/BaseList/utils.d.ts +0 -10
  265. package/dist/src/components/List/List.d.ts +0 -8
  266. package/dist/src/components/List/List.types.d.ts +0 -30
  267. package/dist/src/components/List/ListItem.d.ts +0 -4
  268. package/dist/src/components/List/index.d.ts +0 -5
  269. package/dist/src/components/Radio/RadioV2.d.ts +0 -23
  270. package/dist/src/components/RadioGroup/RadioGroupV2.d.ts +0 -23
  271. package/dist/src/components/TextLink/TextLink.d.ts +0 -14
  272. package/dist/src/components/Title/Title.d.ts +0 -44
  273. package/dist/src/generated/components/AccordionList/AccordionList.d.ts +0 -54
  274. package/dist/src/generated/components/AccordionList/subcomponents/AccordionListActions.d.ts +0 -18
  275. package/dist/src/generated/components/BaseList/BaseList.d.ts +0 -7
  276. package/dist/src/generated/components/BaseList/BaseList.types.d.ts +0 -88
  277. package/dist/src/generated/components/BaseList/BaseListEmptyState.d.ts +0 -7
  278. package/dist/src/generated/components/BaseList/BaseListHeader.d.ts +0 -4
  279. package/dist/src/generated/components/BaseList/BaseListIcon.d.ts +0 -5
  280. package/dist/src/generated/components/BaseList/BaseListItem.d.ts +0 -4
  281. package/dist/src/generated/components/BaseList/DraggableBaseList/DraggableBaseList.d.ts +0 -4
  282. package/dist/src/generated/components/BaseList/DraggableBaseList/DraggableBaseListItem.d.ts +0 -3
  283. package/dist/src/generated/components/BaseList/DraggableBaseList/index.d.ts +0 -2
  284. package/dist/src/generated/components/BaseList/ListSkeleton/ListItemSkeleton.d.ts +0 -2
  285. package/dist/src/generated/components/BaseList/ListSkeleton/ListSkeleton.d.ts +0 -13
  286. package/dist/src/generated/components/BaseList/SortableBaseList/SortableBaseList.d.ts +0 -4
  287. package/dist/src/generated/components/BaseList/SortableBaseList/SortableBaseListItem.d.ts +0 -3
  288. package/dist/src/generated/components/BaseList/SortableBaseList/index.d.ts +0 -2
  289. package/dist/src/generated/components/BaseList/index.d.ts +0 -6
  290. package/dist/src/generated/components/BaseList/utils.d.ts +0 -10
  291. package/dist/src/generated/components/List/List.d.ts +0 -8
  292. package/dist/src/generated/components/List/List.types.d.ts +0 -30
  293. package/dist/src/generated/components/List/ListItem.d.ts +0 -4
  294. package/dist/src/generated/components/List/index.d.ts +0 -5
  295. package/dist/src/generated/components/Radio/RadioV2.d.ts +0 -23
  296. package/dist/src/generated/components/RadioGroup/RadioGroupV2.d.ts +0 -23
  297. package/dist/src/generated/components/TextLink/TextLink.d.ts +0 -14
  298. package/dist/src/generated/components/Title/Title.d.ts +0 -44
  299. package/dist/stories/AccordionList.stories.d.ts +0 -120
  300. package/dist/stories/BaseList.stories.d.ts +0 -16
  301. package/dist/stories/Checkbox.stories.d.ts +0 -61
  302. package/dist/stories/DraggableAccordionList.stories.d.ts +0 -11
  303. package/dist/stories/DraggableList.stories.d.ts +0 -9
  304. package/dist/stories/EmptyListMessage.stories.d.ts +0 -32
  305. package/dist/stories/List.stories.d.ts +0 -248
  306. package/dist/stories/RadioGroupV2.stories.d.ts +0 -37
  307. package/dist/stories/RadioV2.stories.d.ts +0 -42
  308. package/dist/stories/SortableList.stories.d.ts +0 -9
  309. package/dist/stories/TextLink.stories.d.ts +0 -10
  310. package/dist/stories/Title.stories.d.ts +0 -16
@@ -1,13 +0,0 @@
1
- import type { JSX } from "react";
2
- import "./ListSkeleton.scss";
3
- type ListSkeletonProps = {
4
- /**
5
- * Accessible label for the loading indicator.
6
- * @default "Loading"
7
- */
8
- "aria-label"?: string;
9
- items: number;
10
- dataTestId?: string;
11
- };
12
- export declare const ListSkeleton: ({ items, "aria-label": ariaLabel, dataTestId, }: ListSkeletonProps) => JSX.Element;
13
- export {};
@@ -1,4 +0,0 @@
1
- import type { FC } from "react";
2
- import type { SortableBaseListProps } from "../BaseList.types";
3
- export declare const SortableBaseList: FC<SortableBaseListProps>;
4
- export default SortableBaseList;
@@ -1,3 +0,0 @@
1
- import type { FC } from "react";
2
- import { type SortableBaseListItemProps } from "../BaseList.types";
3
- export declare const SortableBaseListItem: FC<SortableBaseListItemProps>;
@@ -1,2 +0,0 @@
1
- export { SortableBaseList } from "./SortableBaseList";
2
- export { SortableBaseListItem } from "./SortableBaseListItem";
@@ -1,6 +0,0 @@
1
- export { BaseList } from "./BaseList";
2
- export { BaseListItem } from "./BaseListItem";
3
- export type { BaseListProps, BaseListItemProps, OnAssetLoadErrorPayload, DraggableBaseListProps, DraggableBaseListItemProps, } from "./BaseList.types";
4
- export { DraggableBaseList, DraggableBaseListItem } from "./DraggableBaseList";
5
- export { SortableBaseList, SortableBaseListItem } from "./SortableBaseList";
6
- export { getDndListItemProps } from "./utils";
@@ -1,10 +0,0 @@
1
- import { type Active, type Over } from "@dnd-kit/core";
2
- import { type ListItemProps } from "../List/List";
3
- declare const draggableListItemPropsPointer: {
4
- readonly symbol: symbol;
5
- };
6
- type DraggableListItemProps = WeakMap<typeof draggableListItemPropsPointer, Pick<ListItemProps, "itemId" | "title" | "subtitle" | "icon" | "isDraggable" | "isSelected">>;
7
- export declare const createDraggableListProps: ({ itemId, title, subtitle, icon, isDraggable, isSelected, }: ListItemProps) => DraggableListItemProps;
8
- export declare const draggableListPropsKey: "listItem";
9
- export declare const getDndListItemProps: (subject: Active | Over) => ListItemProps | null;
10
- export {};
@@ -1,8 +0,0 @@
1
- import { type FC } from "react";
2
- import type { ListItemProps, ListProps } from "./List.types";
3
- export { ListProps, ListItemProps };
4
- /**
5
- * @deprecated Please check out the recipes on how to create a `List` component using composition: https://design.luscii.com/?path=/docs/recipes-list-composition--docs
6
- */
7
- declare const List: FC<ListProps>;
8
- export default List;
@@ -1,30 +0,0 @@
1
- import type { BaseListProps, BaseListItemProps, OnAssetLoadErrorPayload, DraggableBaseListProps, SortableBaseListProps } from "../BaseList/BaseList.types";
2
- export type ListItemProps = Omit<BaseListItemProps, "onClick"> & {
3
- handleItemClick?: (e: React.MouseEvent<HTMLLIElement>) => void;
4
- /** Optional nested rows to show when expanded */
5
- children?: ListItemProps[];
6
- };
7
- export type DefaultListProps = Omit<BaseListProps<ListItemProps>, "renderItem" | "itemComponent"> & {
8
- onDragEnd?: (itemId: string | number, newIndex: number, rest: {
9
- /**
10
- * The current order of the items in the list, with all of
11
- * the item details.
12
- */
13
- state: BaseListProps["items"];
14
- }) => void;
15
- onAssetLoadError?: (payload: OnAssetLoadErrorPayload) => void;
16
- /**
17
- * Optional subtitle to display under the main title in the header.
18
- */
19
- subtitle?: React.ReactNode;
20
- };
21
- export type DraggableListProps = DraggableBaseListProps;
22
- export type SortableListProps = SortableBaseListProps;
23
- export type SortableListItemProps = SortableListProps["items"][number];
24
- export type ListProps = ({
25
- draggableListType: "default";
26
- } & DefaultListProps) | ({
27
- draggableListType: "draggable";
28
- } & DraggableListProps) | ({
29
- draggableListType: "sortable";
30
- } & SortableListProps) | DefaultListProps;
@@ -1,4 +0,0 @@
1
- import type { FC } from "react";
2
- import { type ListItemProps } from "./List.types";
3
- export declare const ListItem: FC<ListItemProps>;
4
- export default ListItem;
@@ -1,5 +0,0 @@
1
- export { default as List } from "./List";
2
- export { ListItem } from "./ListItem";
3
- export type { ListProps, ListItemProps, DraggableListProps, SortableListProps, SortableListItemProps, } from "./List.types";
4
- export type { OnAssetLoadErrorPayload } from "../BaseList";
5
- export { getDndListItemProps } from "../BaseList";
@@ -1,23 +0,0 @@
1
- import React from "react";
2
- export interface RadioProps extends React.InputHTMLAttributes<HTMLInputElement> {
3
- name: string;
4
- value: string | number;
5
- text?: string;
6
- info?: string;
7
- isError?: boolean;
8
- innerRef?: React.Ref<HTMLInputElement>;
9
- }
10
- /**
11
- * @deprecated Use `LabeledRadio` components in a `LabeledRadioGroup` instead.
12
- *
13
- * E.g. with React Hook Form:
14
- *
15
- * @example
16
- * ```tsx
17
- * <LabeledRadioGroup>
18
- * <LabeledRadio {...register("favoriteFruit")} label="Apple" value="apple" />
19
- * <LabeledRadio {...register("favoriteFruit")} label="Banana" value="banana" />
20
- * </LabeledRadioGroup>
21
- * ```
22
- */
23
- export declare const RadioV2: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLInputElement>>;
@@ -1,23 +0,0 @@
1
- import React from "react";
2
- import { type RadioProps } from "../Radio/RadioV2";
3
- export interface RadioGroupProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "name" | "value" | "checked"> {
4
- name: string;
5
- isError?: boolean;
6
- options: Omit<RadioProps, "name">[];
7
- innerRef?: React.Ref<HTMLInputElement>;
8
- title?: string;
9
- }
10
- /**
11
- * @deprecated Use `LabeledRadio` components in a `LabeledRadioGroup` instead.
12
- *
13
- * E.g. with React Hook Form:
14
- *
15
- * @example
16
- * ```tsx
17
- * <LabeledRadioGroup>
18
- * <LabeledRadio {...register("favoriteFruit")} label="Apple" value="apple" />
19
- * <LabeledRadio {...register("favoriteFruit")} label="Banana" value="banana" />
20
- * </LabeledRadioGroup>
21
- * ```
22
- */
23
- export declare const RadioGroupV2: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLInputElement>>;
@@ -1,14 +0,0 @@
1
- import type { JSX } from "react";
2
- export interface TextLinkProps {
3
- text: string;
4
- enabled?: boolean;
5
- href?: string;
6
- rel?: string;
7
- target?: string;
8
- onClick?: () => void;
9
- className?: string;
10
- }
11
- /**
12
- * @deprecated Use `Link`.
13
- */
14
- export declare const TextLink: (props: TextLinkProps) => JSX.Element;
@@ -1,44 +0,0 @@
1
- import type { ForwardedRef, PropsWithChildren } from "react";
2
- import { type HTMLProps } from "react";
3
- import "./Title.scss";
4
- import { type TextColor } from "../Text/Text";
5
- export type TitleStyle = "xs" | "sm" | "base" | "lg" | "xl" | "2xl";
6
- type SharedProps = {
7
- /**
8
- * @deprecated, use variant instead
9
- */
10
- type?: TitleStyle;
11
- /**
12
- * @default "base"
13
- */
14
- variant?: TitleStyle;
15
- color?: TextColor;
16
- className?: string;
17
- ref?: ForwardedRef<HTMLHeadingElement>;
18
- /**
19
- * Sets the "level" of the Section Heading element.
20
- * @example <Title level="2">title</Title> // <h2>title</h2>
21
- *
22
- * When used any level based on the "variant" prop will be ignored.
23
- */
24
- level?: "1" | "2" | "3" | "4" | "5" | "6";
25
- };
26
- type WithChildrenProp = PropsWithChildren<SharedProps> & {
27
- /**
28
- * @deprecated Use children instead
29
- */
30
- text?: never;
31
- };
32
- type WithTextProp = SharedProps & {
33
- /**
34
- * @deprecated Use children instead
35
- */
36
- text: string;
37
- children?: never;
38
- };
39
- export type TitleProps = (WithChildrenProp | WithTextProp) & HTMLProps<HTMLHeadingElement>;
40
- /**
41
- * @deprecated Use the new `Heading` component instead.
42
- */
43
- export declare const Title: (props: TitleProps) => import("react").JSX.Element;
44
- export {};
@@ -1,120 +0,0 @@
1
- import { type StoryObj } from "@storybook/react-vite";
2
- import AccordionList, { type AccordionListProps } from "../src/components/AccordionList/AccordionList";
3
- declare const _default: {
4
- title: string;
5
- component: import("react").FC<AccordionListProps> & {
6
- Actions: typeof import("../src/components/AccordionList/subcomponents/AccordionListActions").AccordionListActions;
7
- };
8
- tags: string[];
9
- parameters: {
10
- docs: {
11
- description: {
12
- component: string;
13
- };
14
- };
15
- };
16
- };
17
- export default _default;
18
- type Story = StoryObj<typeof AccordionList>;
19
- export declare const SimpleAccordionList: {
20
- render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, AccordionListProps>;
21
- args: {
22
- id: string;
23
- localisations: {
24
- title: string;
25
- };
26
- buttonProps: {
27
- onClick: import("storybook/actions").HandlerFunction;
28
- text: string;
29
- icon: import("react").FC<import("../src").IconProps>;
30
- className: string;
31
- };
32
- accordionItems: ({
33
- id: number;
34
- title: string;
35
- listItems: import("../src").ListItemProps[];
36
- isCollapsedByDefault: boolean;
37
- } | {
38
- id: number;
39
- title: string;
40
- listItems: import("../src").ListItemProps[];
41
- isCollapsedByDefault?: undefined;
42
- })[];
43
- };
44
- };
45
- export declare const SearchableAccordionList: Story;
46
- export declare const SearchableAccordionListByItemId: Story;
47
- export declare const SearchableAccordionListByMatchTerm: Story;
48
- export declare const LoadingAccordionList: {
49
- render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, AccordionListProps>;
50
- args: {
51
- id: string;
52
- localisations: {
53
- title: string;
54
- searchPlaceholder: string;
55
- emptyListText: string;
56
- };
57
- isSearchEnabled: boolean;
58
- buttonProps: {
59
- onClick: import("storybook/actions").HandlerFunction;
60
- text: string;
61
- icon: import("react").FC<import("../src").IconProps>;
62
- className: string;
63
- };
64
- accordionItems: never[];
65
- isLoading: boolean;
66
- };
67
- };
68
- export declare const WithActions: {
69
- render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, AccordionListProps>;
70
- args: {
71
- id: string;
72
- localisations: {
73
- title: string;
74
- };
75
- actions: import("react").JSX.Element;
76
- accordionItems: {
77
- id: number;
78
- title: string;
79
- listItems: import("../src").ListItemProps[];
80
- isCollapsedByDefault: boolean;
81
- }[];
82
- };
83
- };
84
- export declare const WithActionsInHeader: {
85
- render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, AccordionListProps>;
86
- args: {
87
- id: string;
88
- localisations: {
89
- title: string;
90
- searchPlaceholder: string;
91
- };
92
- headerActions: import("react").JSX.Element;
93
- actions: import("react").JSX.Element;
94
- isSearchEnabled: boolean;
95
- accordionItems: {
96
- id: number;
97
- title: string;
98
- listItems: import("../src").ListItemProps[];
99
- isCollapsedByDefault: boolean;
100
- }[];
101
- };
102
- };
103
- export declare const WithErrorState: {
104
- render: import("storybook/internal/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, AccordionListProps>;
105
- args: {
106
- id: string;
107
- localisations: {
108
- title: string;
109
- searchPlaceholder: string;
110
- };
111
- headerActions: import("react").JSX.Element;
112
- actions: import("react").JSX.Element;
113
- isError: boolean;
114
- isSearchEnabled: boolean;
115
- errorState: {
116
- title: string;
117
- description: string;
118
- };
119
- };
120
- };
@@ -1,16 +0,0 @@
1
- import { type StoryObj } from "@storybook/react-vite";
2
- import { type BaseListProps } from "../src/components/BaseList";
3
- declare const _default: {
4
- title: string;
5
- component: <T extends import("../src/components/BaseList").BaseListItemProps>(props: BaseListProps<T> & {
6
- ref?: React.ForwardedRef<HTMLUListElement>;
7
- }) => ReturnType<(<T_1 extends import("../src/components/BaseList").BaseListItemProps>({ dataTestId, title, subtitle, headerButton, headerAccessory, emptyStateMessage, isLoading, items, headerTransparent, itemComponent, footer, withBorder, }: BaseListProps<T_1>, ref: React.ForwardedRef<HTMLUListElement>) => import("react").JSX.Element)>;
8
- argTypes: {};
9
- };
10
- export default _default;
11
- export declare const MultipleItems: StoryObj<BaseListProps>;
12
- export declare const EmptyState: StoryObj<BaseListProps>;
13
- export declare const EmptyStateWithTitle: StoryObj<BaseListProps>;
14
- export declare const EmptyStateTransparentHeader: StoryObj<BaseListProps>;
15
- export declare const LoadingState: StoryObj<BaseListProps>;
16
- export declare const WithFooter: StoryObj<BaseListProps>;
@@ -1,61 +0,0 @@
1
- import React from "react";
2
- import { type StoryObj } from "@storybook/react-vite";
3
- import CheckboxDocumentation from "./Checkbox.docs.mdx";
4
- declare const meta: {
5
- title: string;
6
- component: React.ForwardRefExoticComponent<import("../src/components/Checkbox/Checkbox").CheckboxProps & React.RefAttributes<HTMLInputElement>>;
7
- parameters: {
8
- docs: {
9
- page: typeof CheckboxDocumentation;
10
- };
11
- };
12
- };
13
- export default meta;
14
- type Story = StoryObj<typeof meta>;
15
- export declare const Base: {
16
- args: {
17
- text: string;
18
- isChecked: boolean;
19
- };
20
- };
21
- export declare const IsChecked: {
22
- args: {
23
- text: string;
24
- isChecked: boolean;
25
- };
26
- };
27
- export declare const IsIndeterminate: {
28
- args: {
29
- text: string;
30
- isIndeterminate: boolean;
31
- };
32
- };
33
- export declare const IsDisabled: {
34
- args: {
35
- text: string;
36
- isDisabled: boolean;
37
- isChecked: boolean;
38
- };
39
- };
40
- export declare const Error: {
41
- args: {
42
- text: string;
43
- error: boolean;
44
- };
45
- };
46
- export declare const Explanation: {
47
- args: {
48
- text: string;
49
- explanation: string;
50
- isChecked: boolean;
51
- };
52
- render: (args: any) => React.JSX.Element;
53
- };
54
- export declare const ExplanationDisabled: {
55
- args: {
56
- text: string;
57
- explanation: string;
58
- isDisabled: boolean;
59
- };
60
- };
61
- export declare const CustomLabel: Story;
@@ -1,11 +0,0 @@
1
- import { type StoryObj } from "@storybook/react-vite";
2
- import AccordionList, { type AccordionListProps } from "../src/components/AccordionList/AccordionList";
3
- declare const _default: {
4
- title: string;
5
- component: import("react").FC<AccordionListProps> & {
6
- Actions: typeof import("../src/components/AccordionList/subcomponents/AccordionListActions").AccordionListActions;
7
- };
8
- argTypes: {};
9
- };
10
- export default _default;
11
- export declare const Simple: StoryObj<typeof AccordionList>;
@@ -1,9 +0,0 @@
1
- import { type StoryObj } from "@storybook/react-vite";
2
- import { type DraggableListProps } from "../src/components/List";
3
- declare const _default: {
4
- title: string;
5
- component: import("react").FC<import("../src").ListProps>;
6
- argTypes: {};
7
- };
8
- export default _default;
9
- export declare const Simple: StoryObj<DraggableListProps>;
@@ -1,32 +0,0 @@
1
- import { type StoryObj } from "@storybook/react-vite";
2
- declare const _default: {
3
- title: string;
4
- component: ({ text, imageName, dataTestId, className, }: {
5
- text: string;
6
- imageName?: "no-open-alerts" | "search-not-found" | "no-notes-found";
7
- dataTestId?: string;
8
- className?: string;
9
- }) => import("react").JSX.Element;
10
- tags: string[];
11
- parameters: {
12
- docs: {
13
- description: {
14
- component: string;
15
- };
16
- };
17
- };
18
- };
19
- export default _default;
20
- export declare const Base: {
21
- args: {
22
- text: string;
23
- imageName: string;
24
- };
25
- };
26
- export declare const WithoutImage: {
27
- args: {
28
- text: string;
29
- };
30
- };
31
- /** The `Base` story rebuilt with `CenteredHero`, following the migration steps above. */
32
- export declare const MigratedToCenteredHero: StoryObj;