@luscii-healthtech/web-ui 0.0.0-alpha.ab3fdb2 → 0.0.0-alpha.b7eb0f4

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 (629) hide show
  1. package/README.md +135 -63
  2. package/dist/.storybook/constants.d.ts +35 -0
  3. package/dist/.storybook/decorators.d.ts +31 -0
  4. package/dist/index.development.js +6530 -0
  5. package/dist/index.development.js.map +1 -0
  6. package/dist/index.js +1 -1356
  7. package/dist/index.js.map +1 -1
  8. package/dist/src/components/Accordion/Accordion.d.ts +15 -0
  9. package/dist/src/components/Accordion/AccordionItem.d.ts +17 -0
  10. package/dist/src/components/AccordionList/AccordionList.d.ts +51 -0
  11. package/dist/src/components/AccordionList/subcomponents/AccordionListActions.d.ts +18 -0
  12. package/dist/src/components/Alerts/AlertWidget.d.ts +20 -0
  13. package/dist/src/components/AsideLayout/AsideLayout.d.ts +7 -0
  14. package/dist/src/components/Avatar/Avatar.d.ts +53 -0
  15. package/dist/src/components/Avatar/AvatarGroup.d.ts +31 -0
  16. package/dist/src/components/Badge/Badge.d.ts +11 -0
  17. package/dist/{components → src/components}/BaseList/BaseList.d.ts +2 -2
  18. package/dist/{components → src/components}/BaseList/BaseList.types.d.ts +43 -10
  19. package/dist/{components → src/components}/BaseList/BaseListEmptyState.d.ts +2 -2
  20. package/dist/{components → src/components}/BaseList/BaseListIcon.d.ts +1 -1
  21. package/dist/src/components/BaseList/BaseListItem.d.ts +4 -0
  22. package/dist/src/components/BaseList/DraggableBaseList/DraggableBaseList.d.ts +4 -0
  23. package/dist/src/components/BaseList/DraggableBaseList/DraggableBaseListItem.d.ts +3 -0
  24. package/dist/{components → src/components}/BaseList/ListSkeleton/ListItemSkeleton.d.ts +0 -1
  25. package/dist/{components → src/components}/BaseList/ListSkeleton/ListSkeleton.d.ts +0 -1
  26. package/dist/src/components/BaseList/SortableBaseList/SortableBaseList.d.ts +4 -0
  27. package/dist/src/components/BaseList/SortableBaseList/SortableBaseListItem.d.ts +3 -0
  28. package/dist/{components → src/components}/BaseList/utils.d.ts +2 -2
  29. package/dist/src/components/Box/Box.d.ts +39 -0
  30. package/dist/src/components/Breadcrumbs/BreadcrumbItem.d.ts +4 -0
  31. package/dist/src/components/Breadcrumbs/Breadcrumbs.d.ts +3 -0
  32. package/dist/src/components/Breadcrumbs/Breadcrumbs.types.d.ts +25 -0
  33. package/dist/src/components/ButtonV2/ButtonProps.type.d.ts +104 -0
  34. package/dist/{components → src/components}/ButtonV2/ButtonV2.d.ts +1 -1
  35. package/dist/src/components/ButtonV2/PrimaryButton.d.ts +3 -0
  36. package/dist/src/components/ButtonV2/PrimaryIconButton.d.ts +3 -0
  37. package/dist/{components → src/components}/ButtonV2/SecondaryButton.d.ts +1 -1
  38. package/dist/src/components/ButtonV2/SecondaryIconButton.d.ts +3 -0
  39. package/dist/src/components/ButtonV2/TertiaryButton.d.ts +3 -0
  40. package/dist/src/components/ButtonV2/TertiaryIconButton.d.ts +15 -0
  41. package/dist/src/components/Card/Actions.d.ts +2 -0
  42. package/dist/src/components/Card/Card.d.ts +78 -0
  43. package/dist/src/components/Card/Padding.d.ts +6 -0
  44. package/dist/src/components/Card/Section.d.ts +6 -0
  45. package/dist/src/components/Card/TopBar.d.ts +10 -0
  46. package/dist/src/components/Carousel/Carousel.d.ts +30 -0
  47. package/dist/src/components/CenteredHero/CenteredHero.d.ts +16 -0
  48. package/dist/src/components/ChatBubble/ChatBubble.d.ts +58 -0
  49. package/dist/{components → src/components}/CheckBoxListModal/CheckboxListModal.d.ts +10 -5
  50. package/dist/src/components/Checkbox/Checkbox.d.ts +68 -0
  51. package/dist/src/components/CheckboxList/CheckboxGroup.d.ts +7 -0
  52. package/dist/src/components/CheckboxList/CheckboxList.d.ts +10 -0
  53. package/dist/src/components/CheckboxList/CheckboxList.types.d.ts +74 -0
  54. package/dist/src/components/Chip/Chip.d.ts +9 -0
  55. package/dist/src/components/Collapse/Collapse.d.ts +25 -0
  56. package/dist/src/components/ConfirmationDialog/ConfirmationDialog.d.ts +3 -0
  57. package/dist/src/components/ConfirmationDialog/ConfirmationDialogChoices.d.ts +7 -0
  58. package/dist/src/components/ConfirmationDialog/ConfirmationDialogMessage.d.ts +4 -0
  59. package/dist/src/components/ConfirmationDialog/ConfirmationDialogTitle.d.ts +3 -0
  60. package/dist/{components → src/components}/ConfirmationDialog/types/ConfirmationDialog.types.d.ts +17 -6
  61. package/dist/src/components/Container/FlexColumn.d.ts +7 -0
  62. package/dist/{components → src/components}/Container/FlexContainer.d.ts +3 -3
  63. package/dist/src/components/Container/FlexRow.d.ts +7 -0
  64. package/dist/{components → src/components}/Container/types/FlexContainerProps.type.d.ts +4 -4
  65. package/dist/src/components/DatePicker/DatePicker.d.ts +72 -0
  66. package/dist/src/components/DatePicker/LabeledDatePicker.d.ts +9 -0
  67. package/dist/src/components/DetailsDisclosure/DetailsDisclosure.d.ts +81 -0
  68. package/dist/src/components/Divider/Divider.d.ts +36 -0
  69. package/dist/src/components/DragHandle/DragHandle.d.ts +6 -0
  70. package/dist/{components → src/components}/DragHandle/DragHandle.types.d.ts +0 -1
  71. package/dist/src/components/Dropdown/Dropdown.d.ts +61 -0
  72. package/dist/src/components/Dropzone/Dropzone.d.ts +6 -0
  73. package/dist/{components → src/components}/Dropzone/Dropzone.types.d.ts +1 -1
  74. package/dist/{components → src/components}/EmptyListMessage/EmptyListMessage.d.ts +2 -3
  75. package/dist/src/components/FilePreviewModal/FilePreview.d.ts +25 -0
  76. package/dist/src/components/FileUpload/FileUpload.d.ts +32 -0
  77. package/dist/src/components/FilterBar/ActiveFilters.d.ts +9 -0
  78. package/dist/src/components/FilterBar/FilterBar.d.ts +111 -0
  79. package/dist/src/components/FilterBar/FilterBar.utils.d.ts +32 -0
  80. package/dist/src/components/FilterBar/FilterBarProps.type.d.ts +135 -0
  81. package/dist/src/components/FilterBar/FilterMenu.d.ts +10 -0
  82. package/dist/src/components/FilterBar/FiltersMenus.d.ts +11 -0
  83. package/dist/src/components/FilterBar/PresetFiltersMenu.d.ts +9 -0
  84. package/dist/src/components/FilterBar/SortMenu.d.ts +9 -0
  85. package/dist/src/components/FilterBar/index.d.ts +2 -0
  86. package/dist/src/components/FlyOutMenu/FlyOutMenu.d.ts +64 -0
  87. package/dist/src/components/HoverCard/HoverCard.d.ts +40 -0
  88. package/dist/src/components/HoverCard/index.d.ts +1 -0
  89. package/dist/src/components/HoverIndicatorControl/HoverIndicatorControl.d.ts +24 -0
  90. package/dist/{components → src/components}/Icon/Icon.d.ts +3 -3
  91. package/dist/src/components/Icons/AbsentIcon.d.ts +3 -0
  92. package/dist/src/components/Icons/AddNoteIcon.d.ts +3 -0
  93. package/dist/src/components/Icons/AlarmClockIcon.d.ts +3 -0
  94. package/dist/src/components/Icons/AmberAlertIcon.d.ts +3 -0
  95. package/dist/src/components/Icons/ArrowBackward.d.ts +3 -0
  96. package/dist/src/components/Icons/ArrowForward.d.ts +3 -0
  97. package/dist/src/components/Icons/AssignIcon.d.ts +3 -0
  98. package/dist/src/components/Icons/AssignedIcon.d.ts +3 -0
  99. package/dist/src/components/Icons/BellIcon.d.ts +3 -0
  100. package/dist/src/components/Icons/BellIconSlashed.d.ts +3 -0
  101. package/dist/src/components/Icons/BluetoothIcon.d.ts +3 -0
  102. package/dist/src/components/Icons/BrushIcon.d.ts +3 -0
  103. package/dist/src/components/Icons/CakeIcon.d.ts +3 -0
  104. package/dist/src/components/Icons/CalendarDayIcon.d.ts +3 -0
  105. package/dist/src/components/Icons/CalendarMonthIcon.d.ts +3 -0
  106. package/dist/src/components/Icons/CalendarRepeatIcon.d.ts +3 -0
  107. package/dist/src/components/Icons/ChartBarsIcon.d.ts +3 -0
  108. package/dist/src/components/Icons/ChartLineAndBarsIcon.d.ts +3 -0
  109. package/dist/src/components/Icons/ChartLineIcon.d.ts +3 -0
  110. package/dist/src/components/Icons/ChatBubbleIcon.d.ts +3 -0
  111. package/dist/src/components/Icons/ChatBubbleWithTextIcon.d.ts +3 -0
  112. package/dist/src/components/Icons/CheckIcon.d.ts +3 -0
  113. package/dist/src/components/Icons/ChevronDoubleIcon.d.ts +3 -0
  114. package/dist/src/components/Icons/ChevronDownIcon.d.ts +3 -0
  115. package/dist/src/components/Icons/ChevronLeftIcon.d.ts +3 -0
  116. package/dist/src/components/Icons/ChevronRightIcon.d.ts +3 -0
  117. package/dist/src/components/Icons/ClockIcon.d.ts +3 -0
  118. package/dist/src/components/Icons/CogwheelIcon.d.ts +3 -0
  119. package/dist/src/components/Icons/CompareIcon.d.ts +3 -0
  120. package/dist/src/components/Icons/CopyToClipboardIcon.d.ts +3 -0
  121. package/dist/src/components/Icons/CrossIcon.d.ts +3 -0
  122. package/dist/src/components/Icons/CrossInCircleIcon.d.ts +3 -0
  123. package/dist/src/components/Icons/CrossInFilledCircleIcon.d.ts +3 -0
  124. package/dist/src/components/Icons/DatabaseIcon.d.ts +3 -0
  125. package/dist/src/components/Icons/DownloadIcon.d.ts +3 -0
  126. package/dist/src/components/Icons/DragIndicatorIcon.d.ts +3 -0
  127. package/dist/src/components/Icons/EarthIcon.d.ts +3 -0
  128. package/dist/src/components/Icons/EmailIcon.d.ts +3 -0
  129. package/dist/src/components/Icons/EmptyIcon.d.ts +3 -0
  130. package/dist/src/components/Icons/ExclamationMarkIcon.d.ts +3 -0
  131. package/dist/src/components/Icons/ExportIcon.d.ts +3 -0
  132. package/dist/src/components/Icons/ExternalLinkIcon.d.ts +3 -0
  133. package/dist/src/components/Icons/EyeClosedIcon.d.ts +3 -0
  134. package/dist/src/components/Icons/EyeOpenIcon.d.ts +3 -0
  135. package/dist/src/components/Icons/FilterIcon.d.ts +3 -0
  136. package/dist/src/components/Icons/FireIcon.d.ts +3 -0
  137. package/dist/src/components/Icons/FirstAidKitIcon.d.ts +3 -0
  138. package/dist/src/components/Icons/FlagIcon.d.ts +3 -0
  139. package/dist/src/components/Icons/FolderIcon.d.ts +3 -0
  140. package/dist/src/components/Icons/ForwardIcon.d.ts +3 -0
  141. package/dist/src/components/Icons/GrayAlertIcon.d.ts +3 -0
  142. package/dist/src/components/Icons/GroupIcon.d.ts +3 -0
  143. package/dist/src/components/Icons/GroupOfThreeIcon.d.ts +3 -0
  144. package/dist/src/components/Icons/HamburgerIcon.d.ts +3 -0
  145. package/dist/src/components/Icons/HandUp.d.ts +3 -0
  146. package/dist/src/components/Icons/HandshakeIcon.d.ts +3 -0
  147. package/dist/src/components/Icons/HeartIcon.d.ts +3 -0
  148. package/dist/src/components/Icons/HeartMinusIcon.d.ts +3 -0
  149. package/dist/src/components/Icons/HomeIcon.d.ts +3 -0
  150. package/dist/src/components/Icons/IdBadgeIcon.d.ts +3 -0
  151. package/dist/src/components/Icons/ImageIcon.d.ts +3 -0
  152. package/dist/src/components/Icons/ImageLibraryIcon.d.ts +3 -0
  153. package/dist/src/components/Icons/InfoIcon.d.ts +3 -0
  154. package/dist/src/components/Icons/LifebuoyIcon.d.ts +3 -0
  155. package/dist/src/components/Icons/LightBulbIcon.d.ts +3 -0
  156. package/dist/src/components/Icons/LinkIcon.d.ts +3 -0
  157. package/dist/src/components/Icons/ListDescIcon.d.ts +3 -0
  158. package/dist/src/components/Icons/ListIcon.d.ts +3 -0
  159. package/dist/src/components/Icons/LockIcon.d.ts +3 -0
  160. package/dist/src/components/Icons/LogInIcon.d.ts +3 -0
  161. package/dist/src/components/Icons/LogOutIcon.d.ts +3 -0
  162. package/dist/src/components/Icons/MessageWithArrowIcon.d.ts +3 -0
  163. package/dist/src/components/Icons/MoreIcon.d.ts +3 -0
  164. package/dist/src/components/Icons/MouseIcon.d.ts +3 -0
  165. package/dist/src/components/Icons/NoteIcon.d.ts +3 -0
  166. package/dist/src/components/Icons/OpenAlertIcon.d.ts +3 -0
  167. package/dist/src/components/Icons/OpenFolderIcon.d.ts +3 -0
  168. package/dist/src/components/Icons/PageIcon.d.ts +3 -0
  169. package/dist/src/components/Icons/PageViewIcon.d.ts +3 -0
  170. package/dist/src/components/Icons/PaperclipIcon.d.ts +3 -0
  171. package/dist/src/components/Icons/PatientIcon.d.ts +3 -0
  172. package/dist/src/components/Icons/PencilIcon.d.ts +3 -0
  173. package/dist/src/components/Icons/PersonIcon.d.ts +3 -0
  174. package/dist/src/components/Icons/PhoneIcon.d.ts +3 -0
  175. package/dist/src/components/Icons/PieChartIcon.d.ts +3 -0
  176. package/dist/src/components/Icons/PinIcon.d.ts +3 -0
  177. package/dist/src/components/Icons/PlusIcon.d.ts +3 -0
  178. package/dist/src/components/Icons/PrinterIcon.d.ts +3 -0
  179. package/dist/src/components/Icons/RedAlertIcon.d.ts +3 -0
  180. package/dist/src/components/Icons/RobotIcon.d.ts +3 -0
  181. package/dist/src/components/Icons/RocketIcon.d.ts +3 -0
  182. package/dist/src/components/Icons/SearchIcon.d.ts +3 -0
  183. package/dist/src/components/Icons/SendIcon.d.ts +3 -0
  184. package/dist/src/components/Icons/ShareIcon.d.ts +3 -0
  185. package/dist/src/components/Icons/SidebarIcon.d.ts +3 -0
  186. package/dist/src/components/Icons/SmallArrowDownIcon.d.ts +3 -0
  187. package/dist/src/components/Icons/SmallArrowUpIcon.d.ts +3 -0
  188. package/dist/src/components/Icons/SmallCircleIcon.d.ts +3 -0
  189. package/dist/src/components/Icons/SmallDiamondIcon.d.ts +3 -0
  190. package/dist/src/components/Icons/SmallSquareIcon.d.ts +3 -0
  191. package/dist/src/components/Icons/SmallUpsideDownTriangleIcon.d.ts +3 -0
  192. package/dist/src/components/Icons/StarFilledIcon.d.ts +3 -0
  193. package/dist/src/components/Icons/StarIcon.d.ts +3 -0
  194. package/dist/src/components/Icons/StopwatchIcon.d.ts +3 -0
  195. package/dist/src/components/Icons/SummaryIcon.d.ts +3 -0
  196. package/dist/src/components/Icons/TadaIcon.d.ts +3 -0
  197. package/dist/src/components/Icons/ThresholdIcon.d.ts +3 -0
  198. package/dist/src/components/Icons/TrashBinIcon.d.ts +3 -0
  199. package/dist/src/components/Icons/TreeIcon.d.ts +3 -0
  200. package/dist/src/components/Icons/UnassignedIcon.d.ts +3 -0
  201. package/dist/src/components/Icons/UnlinkIcon.d.ts +3 -0
  202. package/dist/src/components/Icons/UnpinIcon.d.ts +3 -0
  203. package/dist/src/components/Icons/UploadIcon.d.ts +3 -0
  204. package/dist/src/components/Icons/VideoIcon.d.ts +3 -0
  205. package/dist/src/components/Icons/iconWrapper/iconWrapper.d.ts +4 -0
  206. package/dist/src/components/Icons/index.d.ts +291 -0
  207. package/dist/src/components/Icons/special-icons/AmberAlertColoredIcon.d.ts +3 -0
  208. package/dist/src/components/Icons/special-icons/ChartLineColoredIcon.d.ts +3 -0
  209. package/dist/src/components/Icons/special-icons/CheckFilledColoredIcon.d.ts +3 -0
  210. package/dist/src/components/Icons/special-icons/FlagDeColoredIcon.d.ts +3 -0
  211. package/dist/src/components/Icons/special-icons/FlagFrColoredIcon.d.ts +3 -0
  212. package/dist/src/components/Icons/special-icons/FlagNlColoredIcon.d.ts +3 -0
  213. package/dist/src/components/Icons/special-icons/FlagPtColoredIcon.d.ts +3 -0
  214. package/dist/src/components/Icons/special-icons/FlagUkColoredIcon.d.ts +3 -0
  215. package/dist/src/components/Icons/special-icons/GearColoredIcon.d.ts +3 -0
  216. package/dist/src/components/Icons/special-icons/GrayAlertColoredIcon.d.ts +3 -0
  217. package/dist/src/components/Icons/special-icons/GreenAlertColoredIcon.d.ts +3 -0
  218. package/dist/src/components/Icons/special-icons/GroupColoredIcon.d.ts +3 -0
  219. package/dist/src/components/Icons/special-icons/RedAlertColoredIcon.d.ts +3 -0
  220. package/dist/src/components/Icons/special-icons/StatusActiveColoredIcon.d.ts +3 -0
  221. package/dist/src/components/Icons/special-icons/StatusAddedColoredIcon.d.ts +3 -0
  222. package/dist/src/components/Icons/special-icons/StatusBlockedColoredIcon.d.ts +3 -0
  223. package/dist/src/components/Icons/special-icons/StatusCancelledColoredIcon.d.ts +3 -0
  224. package/dist/src/components/Icons/special-icons/StatusColoredIcon.d.ts +3 -0
  225. package/dist/src/components/Icons/special-icons/StatusStoppedColoredIcon.d.ts +3 -0
  226. package/dist/src/components/Icons/special-icons/index.d.ts +19 -0
  227. package/dist/src/components/Icons/types/IconProps.type.d.ts +18 -0
  228. package/dist/src/components/Image/Image.d.ts +17 -0
  229. package/dist/src/components/InfoField/InfoField.d.ts +28 -0
  230. package/dist/{components → src/components}/Input/Input.d.ts +4 -6
  231. package/dist/src/components/Input/LabeledInput.d.ts +24 -0
  232. package/dist/src/components/Input/SearchInput.d.ts +24 -0
  233. package/dist/src/components/Input/StyledInput.d.ts +14 -0
  234. package/dist/src/components/InputSelect/InputSelect.d.ts +37 -0
  235. package/dist/src/components/InputSelect/InputSelect.utils.d.ts +9 -0
  236. package/dist/src/components/InputSelect/InputSelectInput.d.ts +11 -0
  237. package/dist/src/components/InputSelect/InputSelectSelect.d.ts +9 -0
  238. package/dist/src/components/Line/Line.d.ts +14 -0
  239. package/dist/src/components/Link/Link.d.ts +19 -0
  240. package/dist/{components → src/components}/List/List.d.ts +2 -2
  241. package/dist/{components → src/components}/List/List.types.d.ts +13 -2
  242. package/dist/src/components/List/ListItem.d.ts +4 -0
  243. package/dist/{components → src/components}/LoadingIndicator/LoadingIndicator.d.ts +1 -2
  244. package/dist/{components/ImagePicker → src/components/MediaPicker}/ImageCategory.d.ts +2 -2
  245. package/dist/src/components/MediaPicker/MediaPicker.d.ts +91 -0
  246. package/dist/src/components/Modal/FullPageModal.d.ts +41 -0
  247. package/dist/src/components/Modal/FullPageModalHeader.d.ts +13 -0
  248. package/dist/src/components/Modal/Modal.d.ts +11 -0
  249. package/dist/src/components/Modal/ModalBase.d.ts +16 -0
  250. package/dist/src/components/Modal/ModalFooter.d.ts +27 -0
  251. package/dist/src/components/Modal/ModalHeader.d.ts +6 -0
  252. package/dist/src/components/Modal/subcomponents/FullPageModalActions.d.ts +18 -0
  253. package/dist/src/components/ModalDialog/ModalDialog.d.ts +105 -0
  254. package/dist/src/components/NaturalLanguageForm/NaturalLanguageForm.d.ts +77 -0
  255. package/dist/src/components/NaturalLanguageForm/NaturalLanguageFormContext.d.ts +8 -0
  256. package/dist/src/components/NaturalLanguageForm/NaturalLanguageFormInput.d.ts +11 -0
  257. package/dist/src/components/NaturalLanguageForm/NaturalLanguageFormInputSelect.d.ts +21 -0
  258. package/dist/src/components/NaturalLanguageForm/NaturalLanguageFormSelect.d.ts +9 -0
  259. package/dist/src/components/NaturalLanguageForm/NaturalLanguageFormText.d.ts +8 -0
  260. package/dist/src/components/NavMenu/NavLayout.d.ts +39 -0
  261. package/dist/{components → src/components}/NotificationBanner/NotificationBanner.d.ts +5 -11
  262. package/dist/{components → src/components}/Page/CRUDPage.d.ts +2 -2
  263. package/dist/src/components/Page/CRUDPage.types.d.ts +82 -0
  264. package/dist/src/components/Page/Page.d.ts +56 -0
  265. package/dist/src/components/PageHeader/PageHeader.d.ts +4 -0
  266. package/dist/src/components/PageHeader/PageHeader.types.d.ts +46 -0
  267. package/dist/src/components/PageWithCenteredContentLayout/PageWithCenteredContentLayout.d.ts +23 -0
  268. package/dist/src/components/PaginationMenu/PaginationMenu.d.ts +2 -0
  269. package/dist/src/components/PaginationMenu/PaginationMenu.types.d.ts +62 -0
  270. package/dist/{components → src/components}/PaginationMenu/PaginationMenu.utils.d.ts +1 -1
  271. package/dist/src/components/PaginationMenu/PaginationMenuCursor.d.ts +3 -0
  272. package/dist/src/components/PaginationMenu/PaginationMenuLarge.d.ts +3 -0
  273. package/dist/src/components/PaginationMenu/PaginationMenuSmall.d.ts +2 -0
  274. package/dist/src/components/PreviewPhone/PreviewPhone.d.ts +7 -0
  275. package/dist/src/components/PreviewPhone/useWindowDimensions.d.ts +4 -0
  276. package/dist/src/components/Radio/LabeledRadio.d.ts +67 -0
  277. package/dist/src/components/Radio/LabeledRadioGroup.d.ts +23 -0
  278. package/dist/src/components/Radio/Radio.d.ts +25 -0
  279. package/dist/{components → src/components}/Radio/RadioV2.d.ts +0 -1
  280. package/dist/src/components/Radio/StyledRadio.d.ts +4 -0
  281. package/dist/src/components/RadioGroup/RadioGroup.d.ts +33 -0
  282. package/dist/{components → src/components}/RadioGroup/RadioGroupV2.d.ts +1 -1
  283. package/dist/src/components/Section/Section.d.ts +29 -0
  284. package/dist/{components → src/components}/Section/SectionItem.d.ts +3 -3
  285. package/dist/{components → src/components}/Section/SectionItemWithContent.d.ts +1 -2
  286. package/dist/{components → src/components}/Section/subcomponents/SectionActions.d.ts +2 -2
  287. package/dist/src/components/Section/subcomponents/SectionFooter.d.ts +6 -0
  288. package/dist/src/components/Section/subcomponents/SectionHeader.d.ts +8 -0
  289. package/dist/src/components/Select/LabeledSelect.d.ts +22 -0
  290. package/dist/{components → src/components}/Select/Select.d.ts +18 -9
  291. package/dist/src/components/Select/Select.types.d.ts +4 -0
  292. package/dist/src/components/Select/SelectDropdownIndicator.d.ts +3 -0
  293. package/dist/src/components/Select/SelectLoadingIndicator.d.ts +3 -0
  294. package/dist/src/components/Select/StyledSelect.d.ts +12 -0
  295. package/dist/{components → src/components}/SettingsMenuButton/SettingsMenuButton.d.ts +8 -8
  296. package/dist/src/components/Skeleton/Skeleton.d.ts +9 -0
  297. package/dist/src/components/Spinner/Spinner.d.ts +6 -0
  298. package/dist/src/components/SplitViewLayout/SplitViewLayout.d.ts +20 -0
  299. package/dist/src/components/Stack/Stack.d.ts +49 -0
  300. package/dist/src/components/StatusIndicator/StatusIndicator.d.ts +16 -0
  301. package/dist/{components → src/components}/Steps/Step.d.ts +0 -1
  302. package/dist/{components → src/components}/Steps/Steps.d.ts +0 -1
  303. package/dist/src/components/StyledLists/StyledBaseList.d.ts +33 -0
  304. package/dist/src/components/StyledLists/StyledOrderedList.d.ts +25 -0
  305. package/dist/src/components/StyledLists/StyledUnorderedList.d.ts +43 -0
  306. package/dist/src/components/Switch/Switch.d.ts +23 -0
  307. package/dist/src/components/Switcher/Switcher.d.ts +26 -0
  308. package/dist/src/components/Switcher/SwitcherItem.d.ts +24 -0
  309. package/dist/{components → src/components}/Tabbar/Tabbar.d.ts +6 -4
  310. package/dist/{components → src/components}/Tabbar/TabbarItem.d.ts +0 -1
  311. package/dist/src/components/Table/Table.d.ts +55 -0
  312. package/dist/{components → src/components}/Table/Table.types.d.ts +3 -5
  313. package/dist/src/components/Table/Table.utils.d.ts +58 -0
  314. package/dist/src/components/Table/TableBody.d.ts +32 -0
  315. package/dist/{components → src/components}/Table/TableBodyRowDataCell.d.ts +2 -3
  316. package/dist/{components → src/components}/Table/TableFooter.d.ts +1 -2
  317. package/dist/src/components/Table/TableHeader.d.ts +18 -0
  318. package/dist/src/components/TableNew/TableNew.d.ts +63 -0
  319. package/dist/src/components/TableNew/index.d.ts +1 -0
  320. package/dist/src/components/Tag/Tag.d.ts +31 -0
  321. package/dist/src/components/Tag/TagGroup.d.ts +23 -0
  322. package/dist/src/components/Text/Text.d.ts +138 -0
  323. package/dist/src/components/TextEditor/TextEditor.d.ts +69 -0
  324. package/dist/{components → src/components}/TextLink/TextLink.d.ts +3 -1
  325. package/dist/{components → src/components}/Textarea/Textarea.d.ts +3 -2
  326. package/dist/{components → src/components}/Timeline/Timeline.d.ts +4 -5
  327. package/dist/src/components/Timeline/TimelineHeader.d.ts +10 -0
  328. package/dist/{components → src/components}/Timeline/TimelineStep.d.ts +3 -3
  329. package/dist/src/components/TimelineCard/LoadingState.d.ts +1 -0
  330. package/dist/src/components/TimelineCard/TimelineCard.d.ts +52 -0
  331. package/dist/src/components/TimelineCardLayout/TimelineCardLayout.d.ts +18 -0
  332. package/dist/src/components/Title/PageTitle.d.ts +6 -0
  333. package/dist/src/components/Title/Title.d.ts +41 -0
  334. package/dist/src/components/Toaster/Toaster.d.ts +3 -0
  335. package/dist/src/components/Toaster/ToasterPanel.d.ts +15 -0
  336. package/dist/src/components/Tooltip/Tooltip.d.ts +40 -0
  337. package/dist/src/components/Tooltip/index.d.ts +3 -0
  338. package/dist/src/components/UnorderedList/UnorderedList.d.ts +63 -0
  339. package/dist/src/components/VerticalMenu/VerticalMenu.d.ts +125 -0
  340. package/dist/src/components/WeekdaysPicker/WeekdaysPicker.d.ts +42 -0
  341. package/dist/src/components/forms/shared/HelperAndErrorText.d.ts +13 -0
  342. package/dist/src/components/forms/shared/LabelText.d.ts +5 -0
  343. package/dist/src/context/LocaleContext.d.ts +3 -0
  344. package/dist/src/index.d.ts +131 -0
  345. package/dist/src/system/Elevation.d.ts +9 -0
  346. package/dist/src/system/Locale.d.ts +3 -0
  347. package/dist/src/system/Sizes.d.ts +51 -0
  348. package/dist/src/types/general.types.d.ts +11 -0
  349. package/dist/src/utils/prefixKeys.d.ts +13 -0
  350. package/dist/src/utils/radius.utils.d.ts +37 -0
  351. package/dist/src/utils/responsiveness.utils.d.ts +30 -0
  352. package/dist/src/utils/shadow.utils.d.ts +21 -0
  353. package/dist/src/utils/useOutsideClick.d.ts +2 -0
  354. package/dist/stories/Accordion.stories.d.ts +21 -0
  355. package/dist/stories/AccordionList.stories.d.ts +110 -0
  356. package/dist/stories/AlertsWidget.stories.d.ts +14 -0
  357. package/dist/stories/AsideLayout.stories.d.ts +22 -0
  358. package/dist/stories/Avatar.stories.d.ts +46 -0
  359. package/dist/stories/Badge.stories.d.ts +21 -0
  360. package/dist/stories/BaseList.stories.d.ts +16 -0
  361. package/dist/stories/Box.stories.d.ts +15 -0
  362. package/dist/stories/Breadcrumbs.stories.d.ts +10 -0
  363. package/dist/stories/Button.stories.d.ts +11 -0
  364. package/dist/stories/CRUDPage.stories.d.ts +15 -0
  365. package/dist/stories/Card.stories.d.ts +44 -0
  366. package/dist/stories/Carousel.stories.d.ts +44 -0
  367. package/dist/stories/CenteredHero.stories.d.ts +14 -0
  368. package/dist/stories/ChatBubble.stories.d.ts +49 -0
  369. package/dist/stories/CheckBoxListModal.stories.d.ts +137 -0
  370. package/dist/stories/Checkbox.stories.d.ts +61 -0
  371. package/dist/stories/CheckboxList.stories.d.ts +20 -0
  372. package/dist/stories/Chip.stories.d.ts +15 -0
  373. package/dist/stories/Collapse.stories.d.ts +22 -0
  374. package/dist/stories/ConfirmationDialog.stories.d.ts +13 -0
  375. package/dist/stories/DatePicker.stories.d.ts +56 -0
  376. package/dist/stories/DetailsDisclosure.stories.d.ts +9505 -0
  377. package/dist/stories/Divider.stories.d.ts +67 -0
  378. package/dist/stories/DragHandle.stories.d.ts +23 -0
  379. package/dist/stories/DraggableAccordionList.stories.d.ts +11 -0
  380. package/dist/stories/DraggableList.stories.d.ts +10 -0
  381. package/dist/stories/Dropdown.stories.d.ts +10 -0
  382. package/dist/stories/Dropzone.stories.d.ts +14 -0
  383. package/dist/stories/EmptyListMessage.stories.d.ts +21 -0
  384. package/dist/stories/FilePreview.stories.d.ts +29 -0
  385. package/dist/stories/FileUpload.stories.d.ts +9 -0
  386. package/dist/stories/FilterBar.stories.d.ts +34 -0
  387. package/dist/stories/FlexContainer.stories.d.ts +13 -0
  388. package/dist/stories/FlyOutMenu.stories.d.ts +15 -0
  389. package/dist/stories/FullPageModal.stories.d.ts +42 -0
  390. package/dist/stories/HoverCard.stories.d.ts +8 -0
  391. package/dist/stories/HoverIndicatorControl.stories.d.ts +31 -0
  392. package/dist/stories/Icon.stories.d.ts +16 -0
  393. package/dist/stories/InfoField.stories.d.ts +32 -0
  394. package/dist/stories/Input.stories.d.ts +27 -0
  395. package/dist/stories/InputSelect.stories.d.ts +34 -0
  396. package/dist/stories/LabeledDatePicker.stories.d.ts +55 -0
  397. package/dist/stories/LabeledInput.stories.d.ts +44 -0
  398. package/dist/stories/LabeledRadio.stories.d.ts +33 -0
  399. package/dist/stories/Line.stories.d.ts +22 -0
  400. package/dist/stories/Link.stories.d.ts +17 -0
  401. package/dist/stories/LinkIcon.stories.d.ts +13 -0
  402. package/dist/stories/List.stories.d.ts +255 -0
  403. package/dist/stories/LoadingIndicator.stories.d.ts +26 -0
  404. package/dist/stories/MediaPicker.stories.d.ts +11 -0
  405. package/dist/stories/Modal.stories.d.ts +119 -0
  406. package/dist/stories/ModalDialog.stories.d.ts +26438 -0
  407. package/dist/stories/NaturalLanguageForm.stories.d.ts +74 -0
  408. package/dist/stories/NavLayout.stories.d.ts +26 -0
  409. package/dist/stories/NotificationBanner.stories.d.ts +43 -0
  410. package/dist/stories/Page.stories.d.ts +36 -0
  411. package/dist/stories/PageHeader.stories.d.ts +23 -0
  412. package/dist/stories/PageWithCenteredContentLayout.stories.d.ts +51 -0
  413. package/dist/stories/Pagination.stories.d.ts +18 -0
  414. package/dist/stories/PreviewPhone.stories.d.ts +17 -0
  415. package/dist/stories/PrimaryButton.stories.d.ts +18 -0
  416. package/dist/stories/PrimaryIconButton.stories.d.ts +13 -0
  417. package/dist/stories/Radio.stories.d.ts +28 -0
  418. package/dist/stories/RadioGroup.stories.d.ts +30 -0
  419. package/dist/stories/RadioGroupV2.stories.d.ts +36 -0
  420. package/dist/stories/RadioV2.stories.d.ts +41 -0
  421. package/dist/stories/SearchInput.stories.d.ts +11 -0
  422. package/dist/stories/SecondaryButton.stories.d.ts +15 -0
  423. package/dist/stories/SecondaryIconButton.stories.d.ts +12 -0
  424. package/dist/stories/Section.stories.d.ts +68 -0
  425. package/dist/stories/SectionItem.stories.d.ts +16 -0
  426. package/dist/stories/SectionItemWithContent.stories.d.ts +16 -0
  427. package/dist/stories/Select.stories.d.ts +181 -0
  428. package/dist/stories/SettingsMenuButton.stories.d.ts +98 -0
  429. package/dist/stories/Skeleton.stories.d.ts +19 -0
  430. package/dist/stories/SortableList.stories.d.ts +9 -0
  431. package/dist/stories/Spinner.stories.d.ts +14 -0
  432. package/dist/stories/SplitViewLayout.stories.d.ts +29 -0
  433. package/dist/stories/Stack.stories.d.ts +21 -0
  434. package/dist/stories/StatusIndicator.stories.d.ts +19 -0
  435. package/dist/stories/Step.stories.d.ts +25 -0
  436. package/dist/stories/Steps.stories.d.ts +14 -0
  437. package/dist/stories/StyledOrderedList.stories.d.ts +281 -0
  438. package/dist/stories/StyledSelect.stories.d.ts +18 -0
  439. package/dist/stories/StyledUnorderedList.stories.d.ts +285 -0
  440. package/dist/stories/Switch.stories.d.ts +11 -0
  441. package/dist/stories/Switcher.stories.d.ts +40 -0
  442. package/dist/stories/Tabbar.stories.d.ts +8 -0
  443. package/dist/stories/Table.stories.d.ts +3263 -0
  444. package/dist/stories/TableNew.stories.d.ts +33 -0
  445. package/dist/stories/Tag.stories.d.ts +18 -0
  446. package/dist/stories/TertiaryButton.stories.d.ts +14 -0
  447. package/dist/stories/TertiaryIconButton.stories.d.ts +20 -0
  448. package/dist/stories/Text.stories.d.ts +45 -0
  449. package/dist/stories/TextColors.stories.d.ts +30 -0
  450. package/dist/stories/TextEditor.stories.d.ts +29 -0
  451. package/dist/stories/TextLink.stories.d.ts +10 -0
  452. package/dist/stories/Textarea.stories.d.ts +65 -0
  453. package/dist/stories/Timeline.stories.d.ts +11 -0
  454. package/dist/stories/TimelineCard.stories.d.ts +39 -0
  455. package/dist/stories/TimelineCardLayout.stories.d.ts +40 -0
  456. package/dist/stories/Title.stories.d.ts +16 -0
  457. package/dist/stories/Toaster.stories.d.ts +12 -0
  458. package/dist/stories/Tooltip.stories.d.ts +8 -0
  459. package/dist/stories/UnorderedList.stories.d.ts +39 -0
  460. package/dist/stories/VerticalMenu.stories.d.ts +102 -0
  461. package/dist/stories/WeekdaysPicker.stories.d.ts +39 -0
  462. package/dist/web-ui-tailwind.css +4930 -2115
  463. package/dist/web-ui.esm.js +1 -1356
  464. package/dist/web-ui.esm.js.map +1 -1
  465. package/package.json +108 -101
  466. package/dist/components/Accordion/Accordion.d.ts +0 -10
  467. package/dist/components/Accordion/AccordionItem.d.ts +0 -9
  468. package/dist/components/AccordionList/AccordionList.d.ts +0 -32
  469. package/dist/components/Badge/Badge.d.ts +0 -7
  470. package/dist/components/BaseList/BaseListItem.d.ts +0 -4
  471. package/dist/components/BaseList/DraggableBaseList/DraggableBaseList.d.ts +0 -4
  472. package/dist/components/BaseList/DraggableBaseList/DraggableBaseListItem.d.ts +0 -3
  473. package/dist/components/BaseList/SortableBaseList/SortableBaseList.d.ts +0 -4
  474. package/dist/components/BaseList/SortableBaseList/SortableBaseListItem.d.ts +0 -3
  475. package/dist/components/Breadcrumbs/BreadcrumbItem.d.ts +0 -4
  476. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +0 -3
  477. package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts +0 -14
  478. package/dist/components/Button/Button.d.ts +0 -9
  479. package/dist/components/Button/Button.types.d.ts +0 -32
  480. package/dist/components/Button/ButtonIcon.d.ts +0 -7
  481. package/dist/components/ButtonV2/ButtonProps.type.d.ts +0 -49
  482. package/dist/components/ButtonV2/PrimaryButton.d.ts +0 -3
  483. package/dist/components/ButtonV2/TertiaryButton.d.ts +0 -3
  484. package/dist/components/Card/Card.d.ts +0 -12
  485. package/dist/components/Carousel/Carousel.d.ts +0 -8
  486. package/dist/components/Carousel/GliderContainer.d.ts +0 -7
  487. package/dist/components/CenteredHero/CenteredHero.d.ts +0 -14
  488. package/dist/components/Checkbox/Checkbox.d.ts +0 -19
  489. package/dist/components/CheckboxList/CheckboxGroup.d.ts +0 -3
  490. package/dist/components/CheckboxList/CheckboxList.d.ts +0 -5
  491. package/dist/components/CheckboxList/CheckboxList.types.d.ts +0 -52
  492. package/dist/components/CheckboxList/CheckboxListItem.d.ts +0 -3
  493. package/dist/components/ConfirmationDialog/ConfirmationDialog.d.ts +0 -3
  494. package/dist/components/ConfirmationDialog/ConfirmationDialogChoices.d.ts +0 -7
  495. package/dist/components/ConfirmationDialog/ConfirmationDialogMessage.d.ts +0 -4
  496. package/dist/components/ConfirmationDialog/ConfirmationDialogTitle.d.ts +0 -3
  497. package/dist/components/Container/FlexColumn.d.ts +0 -7
  498. package/dist/components/Container/FlexRow.d.ts +0 -7
  499. package/dist/components/Divider/Divider.d.ts +0 -6
  500. package/dist/components/DragHandle/DragHandle.d.ts +0 -7
  501. package/dist/components/Dropzone/Dropzone.d.ts +0 -6
  502. package/dist/components/Form/Form.d.ts +0 -30
  503. package/dist/components/Form/FormFieldCheckbox.d.ts +0 -9
  504. package/dist/components/Form/FormFieldCheckboxList.d.ts +0 -9
  505. package/dist/components/Form/FormFieldErrorMessages.d.ts +0 -8
  506. package/dist/components/Form/FormFieldLabeler.d.ts +0 -8
  507. package/dist/components/Form/FormImagePicker.d.ts +0 -9
  508. package/dist/components/Form/FormInput.d.ts +0 -14
  509. package/dist/components/Form/FormRadioGroup.d.ts +0 -13
  510. package/dist/components/Form/FormSelect.d.ts +0 -10
  511. package/dist/components/Form/FormTextarea.d.ts +0 -14
  512. package/dist/components/Form/form.transformer.d.ts +0 -3
  513. package/dist/components/Form/form.types.d.ts +0 -91
  514. package/dist/components/Icons/AddIcon.d.ts +0 -4
  515. package/dist/components/Icons/AlertsIcon.d.ts +0 -4
  516. package/dist/components/Icons/BellIcon.d.ts +0 -4
  517. package/dist/components/Icons/BluetoothIcon.d.ts +0 -4
  518. package/dist/components/Icons/ChartIcon.d.ts +0 -4
  519. package/dist/components/Icons/ChartLineColoredIcon.d.ts +0 -4
  520. package/dist/components/Icons/ChatBoxIcon.d.ts +0 -4
  521. package/dist/components/Icons/CheckIcon.d.ts +0 -4
  522. package/dist/components/Icons/ChevronDoubleIcon.d.ts +0 -4
  523. package/dist/components/Icons/ChevronDownIcon.d.ts +0 -4
  524. package/dist/components/Icons/ChevronRightIcon.d.ts +0 -4
  525. package/dist/components/Icons/CrossIcon.d.ts +0 -4
  526. package/dist/components/Icons/DeleteIcon.d.ts +0 -4
  527. package/dist/components/Icons/DownArrowIcon.d.ts +0 -4
  528. package/dist/components/Icons/DragIcon.d.ts +0 -4
  529. package/dist/components/Icons/EditIcon.d.ts +0 -4
  530. package/dist/components/Icons/EmptyIcon.d.ts +0 -4
  531. package/dist/components/Icons/EmptyStateDashboardIcon.d.ts +0 -4
  532. package/dist/components/Icons/ExclamationMarkIcon.d.ts +0 -4
  533. package/dist/components/Icons/EyeIcon.d.ts +0 -4
  534. package/dist/components/Icons/GearColoredIcon.d.ts +0 -4
  535. package/dist/components/Icons/GearIcon.d.ts +0 -4
  536. package/dist/components/Icons/GroupColoredIcon.d.ts +0 -4
  537. package/dist/components/Icons/GroupIcon.d.ts +0 -4
  538. package/dist/components/Icons/HamburgerIcon.d.ts +0 -4
  539. package/dist/components/Icons/HeartIcon.d.ts +0 -4
  540. package/dist/components/Icons/ImageIcon.d.ts +0 -4
  541. package/dist/components/Icons/InfoIcon.d.ts +0 -4
  542. package/dist/components/Icons/LeftArrowIcon.d.ts +0 -4
  543. package/dist/components/Icons/LightBulbIcon.d.ts +0 -4
  544. package/dist/components/Icons/LinkIcon.d.ts +0 -4
  545. package/dist/components/Icons/LockIcon.d.ts +0 -4
  546. package/dist/components/Icons/MessagesIcon.d.ts +0 -4
  547. package/dist/components/Icons/MouseIcon.d.ts +0 -4
  548. package/dist/components/Icons/NotesIcon.d.ts +0 -4
  549. package/dist/components/Icons/PinIcon.d.ts +0 -4
  550. package/dist/components/Icons/PrintIcon.d.ts +0 -4
  551. package/dist/components/Icons/RightArrowIcon.d.ts +0 -4
  552. package/dist/components/Icons/SearchCancelIcon.d.ts +0 -4
  553. package/dist/components/Icons/SearchIcon.d.ts +0 -4
  554. package/dist/components/Icons/SmallCircleIcon.d.ts +0 -4
  555. package/dist/components/Icons/SmallDiamondIcon.d.ts +0 -4
  556. package/dist/components/Icons/SmallSquareIcon.d.ts +0 -4
  557. package/dist/components/Icons/SpaceRocketIcon.d.ts +0 -4
  558. package/dist/components/Icons/StarIcon.d.ts +0 -4
  559. package/dist/components/Icons/StatusColoredIcon.d.ts +0 -4
  560. package/dist/components/Icons/WarningIcon.d.ts +0 -4
  561. package/dist/components/Icons/iconWrapper/iconWrapper.d.ts +0 -4
  562. package/dist/components/Icons/index.d.ts +0 -47
  563. package/dist/components/Icons/templates/component.d.ts +0 -3
  564. package/dist/components/Icons/templates/index.d.ts +0 -2
  565. package/dist/components/Icons/types/IconProps.type.d.ts +0 -8
  566. package/dist/components/Image/Image.d.ts +0 -10
  567. package/dist/components/ImagePicker/ImagePicker.d.ts +0 -29
  568. package/dist/components/InfoField/InfoField.d.ts +0 -18
  569. package/dist/components/Input/SearchInput.d.ts +0 -4
  570. package/dist/components/List/ListItem.d.ts +0 -4
  571. package/dist/components/Modal/FullPageModal.d.ts +0 -11
  572. package/dist/components/Modal/FullPageModalHeader.d.ts +0 -7
  573. package/dist/components/Modal/Modal.d.ts +0 -6
  574. package/dist/components/Modal/ModalBase.d.ts +0 -16
  575. package/dist/components/Modal/ModalFooter.d.ts +0 -12
  576. package/dist/components/Modal/ModalHeader.d.ts +0 -6
  577. package/dist/components/NavMenu/NavLayout.d.ts +0 -20
  578. package/dist/components/NavMenu/NavMenu.d.ts +0 -16
  579. package/dist/components/NavMenu/NavMenuContent.d.ts +0 -3
  580. package/dist/components/NavMenu/NavMenuFooter.d.ts +0 -3
  581. package/dist/components/NavMenu/NavMenuHeader.d.ts +0 -3
  582. package/dist/components/NavMenu/NavMenuItem.d.ts +0 -3
  583. package/dist/components/NavMenu/types/NavMenuFooterProps.type.d.ts +0 -5
  584. package/dist/components/NavMenu/types/NavMenuHeaderProps.type.d.ts +0 -5
  585. package/dist/components/NavMenu/types/NavMenuItemProps.type.d.ts +0 -11
  586. package/dist/components/Page/CRUDPage.types.d.ts +0 -32
  587. package/dist/components/PageHeader/PageHeader.d.ts +0 -4
  588. package/dist/components/PageHeader/PageHeader.types.d.ts +0 -28
  589. package/dist/components/PaginationMenu/PaginationMenu.d.ts +0 -3
  590. package/dist/components/PaginationMenu/PaginationMenu.types.d.ts +0 -37
  591. package/dist/components/PaginationMenu/PaginationMenuLarge.d.ts +0 -3
  592. package/dist/components/PaginationMenu/PaginationMenuSmall.d.ts +0 -3
  593. package/dist/components/PreviewPhone/PreviewPhone.d.ts +0 -7
  594. package/dist/components/Section/Section.d.ts +0 -25
  595. package/dist/components/Select/SelectDropdownIndicator.d.ts +0 -3
  596. package/dist/components/Select/SelectLoadingIndicator.d.ts +0 -3
  597. package/dist/components/Spinner/Spinner.d.ts +0 -6
  598. package/dist/components/TabLinks/TabLinks.d.ts +0 -14
  599. package/dist/components/Table/Table.d.ts +0 -16
  600. package/dist/components/Table/Table.utils.d.ts +0 -3
  601. package/dist/components/Table/TableBody.d.ts +0 -13
  602. package/dist/components/Table/TableBodyRow.d.ts +0 -10
  603. package/dist/components/Table/TableHeader.d.ts +0 -7
  604. package/dist/components/Tag/Tag.d.ts +0 -17
  605. package/dist/components/Tag/Tag.utils.d.ts +0 -4
  606. package/dist/components/Tag/TagGroup.d.ts +0 -10
  607. package/dist/components/Text/Text.d.ts +0 -66
  608. package/dist/components/Timeline/TimelineHeader.d.ts +0 -10
  609. package/dist/components/Title/Title.d.ts +0 -17
  610. package/dist/components/Toaster/Toaster.d.ts +0 -17
  611. package/dist/components/Toaster/toast-elements-getter.d.ts +0 -22
  612. package/dist/components/Toaster/toast-progress-animator.d.ts +0 -12
  613. package/dist/components/ViewItem/ViewItem.d.ts +0 -16
  614. package/dist/index.d.ts +0 -81
  615. package/dist/types/general.types.d.ts +0 -8
  616. /package/dist/{components → src/components}/BaseList/BaseListHeader.d.ts +0 -0
  617. /package/dist/{components → src/components}/BaseList/DraggableBaseList/index.d.ts +0 -0
  618. /package/dist/{components → src/components}/BaseList/SortableBaseList/index.d.ts +0 -0
  619. /package/dist/{components → src/components}/BaseList/index.d.ts +0 -0
  620. /package/dist/{components → src/components}/Breadcrumbs/index.d.ts +0 -0
  621. /package/dist/{components → src/components}/DragHandle/index.d.ts +0 -0
  622. /package/dist/{components → src/components}/Dropzone/index.d.ts +0 -0
  623. /package/dist/{components → src/components}/Icon/index.d.ts +0 -0
  624. /package/dist/{components → src/components}/Icons/iconWrapper/index.d.ts +0 -0
  625. /package/dist/{components → src/components}/List/index.d.ts +0 -0
  626. /package/dist/{components → src/components}/Page/index.d.ts +0 -0
  627. /package/dist/{components → src/components}/PageHeader/index.d.ts +0 -0
  628. /package/dist/{components → src/components}/Toaster/toast.d.ts +0 -0
  629. /package/dist/{utils → src/utils}/string.utils.d.ts +0 -0
package/README.md CHANGED
@@ -1,109 +1,181 @@
1
- # web-ui
1
+ # WebUI
2
2
 
3
- The web-ui repository contains the web UI components for Luscii's front end projects. It is published to NPM for inclusion into our projects. It also uses storybook and is published to chromatic for easy review of changes.
3
+ The `web-ui` repository contains the UI components for Luscii's frontend projects. It is published to NPM for usage into our projects. It uses Storybook and is published to Chromatic for easy review and tracking of visual changes.
4
4
 
5
- ## Running locally
5
+ ## Table of contents
6
6
 
7
- If you want to run storybook locally you can use
7
+ - 🚀 [Getting started](#getting-started)
8
+ - 📖 [Fonts](#fonts)
9
+ - 📦 [How to use](#how-to-use)
10
+ - 🤝 [Contributing](#contributing)
8
11
 
9
- ```bash
10
- yarn install
11
- yarn storybook
12
- ```
12
+ ## Getting started
13
13
 
14
- ## Testing your production build
14
+ To use WebUI, you need to add it as a dependency to your project:
15
15
 
16
- Assuming the following setup:
16
+ ```bash
17
+ yarn add @luscii-healthtech/web-ui
18
+ ```
17
19
 
18
- - The `web-ui` and `cVitals-Web` repositories are siblings are in the same folder
19
- - You have ran `yarn install` on `cVitals-Web`
20
- - You have ran `yarn build` on `web-ui`
20
+ Then you can use components like this:
21
21
 
22
- Run the script below in your terminal, _in the parent folder of the repositories_.
22
+ ```tsx
23
+ import { Text } from "@luscii-healthtech/web-ui";
23
24
 
24
- ```
25
- cp -a web-ui/dist/. cVitals-Web/node_modules/@luscii-healthtech/web-ui/dist
25
+ function MyComponent() {
26
+ return <Text>Some beautiful text from WebUI!</Text>;
27
+ }
26
28
  ```
27
29
 
28
- Or use the shortcut:
30
+ ### Fonts
29
31
 
32
+ WebUI uses the Inter font family for most of its text. This font should be provided by your application if you're using WebUI. The weights needed to show the full gamut of weights in the design system are 400, 500, 600 and 700. One way of doing this is using a Google Fonts link in your HTML file:
33
+
34
+ ```html
35
+ <link rel="preconnect" href="https://fonts.googleapis.com" />
36
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
37
+ <link
38
+ href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap"
39
+ rel="stylesheet"
40
+ />
30
41
  ```
31
- yarn test-copy-build
42
+
43
+ For some headings WebUI uses the Avenir Next LT Pro font family. If you want to use these, you need to make them available in your project. You can do this by declaring the following `@font-face` rules in your CSS:
44
+
45
+ ```css
46
+ @font-face {
47
+ font-family: "AvenirNextLTPro-Regular";
48
+ src:
49
+ url("./<regular-font-file>.eot") format("embedded-opentype"),
50
+ url("./<regular-font-file>.woff2") format("woff2"),
51
+ url("./<regular-font-file>.woff") format("woff"),
52
+ url("./<regular-font-file>.ttf") format("truetype");
53
+ }
54
+
55
+ @font-face {
56
+ font-family: "AvenirNextLTPro-Bold";
57
+ src:
58
+ url("./<bold-font-file>.eot") format("embedded-opentype"),
59
+ url("./<bold-font-file>.woff2") format("woff2"),
60
+ url("./<bold-font-file>.woff") format("woff"),
61
+ url("./<bold-font-file>.ttf") format("truetype");
62
+ }
32
63
  ```
33
64
 
34
- When you run cVitals again, it should contain your latest updates in the component library. Use this to make sure your changes are solid before merging a pull request.
65
+ The `font-family` property value is important, as this is what WebUI is referencing to use the font. The `src` property values should point to the font files you want to use.
35
66
 
36
- ## Contributing
67
+ If you don't declare these `@font-face` rules, the font will not be available and the headings will gracefully fall back to next available font in your application.
37
68
 
38
- Make sure you understand our design system and follow its guidelines. They are document in storybook. We value consistency, simplicity and usability highly. Don't mess it up.
69
+ ### LocaleProvider
39
70
 
40
- If you want to add components, do so in
71
+ WebUI exposes a `LocaleProvider`, which is used to make components adjust their data formats to the locale of the application.
72
+ You should wrap your app with the `LocaleProvider`.
41
73
 
42
- ```
43
- /src/components
74
+ ```tsx
75
+ import { LocaleProvider } from "@luscii-healthtech/web-ui";
76
+ import React from "react";
77
+ import { createRoot } from "react-dom/client";
78
+ import App from "./App";
79
+
80
+ function start() {
81
+ const root = createRoot(document.querySelector("#root"));
82
+ root.render(
83
+ <LocaleProvider value="nl-NL">
84
+ <App />
85
+ </LocaleProvider>
86
+ );
87
+ }
44
88
  ```
45
89
 
46
- Please stay vigilant when adding components that we implement them consistently in our projects and that it is clear when and where they have to be used. We want to avoid a lot of components that are similar.
90
+ The locale passed should adhere to the `{language}-{region}` format, for example:
47
91
 
48
- When you create new components, you must add them to storybook as well. Stories go in
92
+ - `nl-NL`
93
+ - `en-GB`
94
+ - `pt-PT`
95
+ - `de-DE`
96
+ - `fr-FR`
49
97
 
50
- ```
51
- /stories
52
- ```
98
+ ### Tooltip Provider
53
99
 
54
- ### Adding icons
100
+ Install the `@radix-ui/react-tooltip` peer dependency into your project:
55
101
 
56
- Add new icons by:
102
+ ```bash
103
+ yarn add @radix-ui/react-tooltip
104
+ ```
57
105
 
58
- - Add the svg file(s) in `src/components/Icons/icons`
59
- - Run `yarn icons`
106
+ Wrap your app with the `Tooltip.Provider` component:
107
+
108
+ ```tsx
109
+ import * as Tooltip from "@radix-ui/react-tooltip";
110
+ import React from "react";
111
+ import { createRoot } from "react-dom/client";
112
+ import App from "./App";
113
+
114
+ function start() {
115
+ const root = createRoot(document.querySelector("#root"));
116
+ root.render(
117
+ <Tooltip.Provider delayDuration={800} skipDelayDuration={500}>
118
+ <App />
119
+ </Tooltip.Provider>
120
+ );
121
+ }
122
+ ```
60
123
 
61
- The icons are optimized by SVGO and transformed into React components by [SVGR](https://react-svgr.com) which are placed in `src/components/Icons`.
124
+ More about this component can be found in its [documentation](https://www.radix-ui.com/primitives/docs/components/tooltip).
62
125
 
63
- ## CI setup
126
+ ## How to use
64
127
 
65
- #### Branching
128
+ The primary goal of WebUI is to make frontend development faster. It does this by providing a set of commonly used components that can be composed together to build user interfaces.
129
+ WebUI aims to have every component well documented, both in the code and in Storybook. You can find all available components and documentation on how to
130
+ use them at [design.luscii.com](https://design.luscii.com/).
66
131
 
67
- The `main` branch is our default branch. When you contribute, branch from there and name your branch
132
+ ### Example scenario
68
133
 
69
- ```
70
- //Branch names convention (enforced)
134
+ Say you're tasked with building a UI that contains a card. This card has a title, a subtitle, some body text and a button. You could build this UI by writing the following code:
71
135
 
72
- major/* //for a new design system or changes that effect our foundations (typography, color)
73
- minor/* //for new components and stories
74
- patch/* //for small improvements to existing components, stories
75
- bug/* //for bugs, fixes
136
+ ```tsx
137
+ import { Card, Text, Button } from "@luscii-healthtech/web-ui";
138
+
139
+ function MyComponent() {
140
+ return (
141
+ <div className="my-layout">
142
+ <Card>
143
+ <Card.Title>Heart program</Card.Title>
144
+ <Card.Subtitle>79 participants</Card.Subtitle>
145
+ <Card.Text>Some description of how great this program is.</Card.Text>
146
+ <Card.Button>View program</Card.Button>
147
+ </Card>
148
+ </div>
149
+ );
150
+ }
76
151
  ```
77
152
 
78
- We have configured at lot of magic for your convenience.
153
+ Often times WebUI will provide a component that is a composition of other components. In this case, the `Card` component is a composition of `Card.Title`, `Card.Subtitle`, `Card.Text` and `Card.Button`. This allows you to build UIs faster, as you don't have to think about where to get a certain component. You can just use `Card` and its subcomponents and everything will be styled correctly.
79
154
 
80
- #### On every PR
155
+ ## Frequently asked questions
81
156
 
82
- 1. the module build, lint and tests are checked.
83
- 2. The storybook build is published to chromatic.
84
- 3. Labels are added based on the branch name and PR size.
85
- 4. Branch names must follow the convention and are checked
157
+ <details>
158
+ <summary>The feature I'm building needs a component from WebUI that doesn't exist.</summary>
86
159
 
87
- #### On merge to main
160
+ Please get in touch with the design system circle by sending us a message in the [#design-system-circle channel](https://luscii.slack.com/archives/C03507ZKRCY). We'll discuss your needs and see what would be the best way to move forward.
88
161
 
89
- 1. Draft a github release
90
- 2. Version bump of the package
91
- 3. Publish new package to NPM
162
+ </details>
92
163
 
93
- ---
164
+ <details>
165
+ <summary>The component I'm using doesn't have the props/subcomponents to build my feature.</summary>
94
166
 
95
- ## IE11
167
+ In most cases you can build the UI you need by composing the components that are available. If for instance `Card.Text` doesn't exist, go "one level up" and find the component that is closest to what you need. In this case, you can use the `Text` component and configure it with the correct props to match the design.
96
168
 
97
- This package includes [dnd-kit](https://dndkit.com) as a peer dependency. The bundle of dnd-kit contains syntax which isn't compatible with IE11, therefore any application needing to support IE11 has to transpile dnd-kit.
169
+ In case the component is missing a prop that you need, please get in touch with the design system circle by sending us a message in the [#design-system-circle channel](https://luscii.slack.com/archives/C03507ZKRCY). We'll discuss your needs and see what would be the best way to move forward.
98
170
 
99
- It should also at least include the following polyfills to make it work:
171
+ </details>
100
172
 
101
- - [core-js](https://www.npmjs.com/package/core-js)
102
- - [regenerator-runtime](https://www.npmjs.com/package/regenerator-runtime)
103
- - [smoothscroll-polyfill](https://www.npmjs.com/package/smoothscroll-polyfill)
173
+ ## Contributing
104
174
 
105
- Optional:
175
+ Great to have you help making WebUI better! We have a few guidelines and tips
176
+ to make sure we can keep the library consistent and easy to use. You can find
177
+ them in our [contributing guide](CONTRIBUTING.md).
106
178
 
107
- - [web-animations-js](https://www.npmjs.com/package/web-animations-js)
179
+ ### Reporting bugs
108
180
 
109
- This isn't necessary if the [drop animation is disabled](https://github.com/clauderic/dnd-kit/issues/705#issuecomment-1103056336). Check out [this ticket](https://github.com/clauderic/dnd-kit/issues/271) for more information on IE11.
181
+ If you find a bug, please report it by sending us a message in the [#design-system-circle channel](https://luscii.slack.com/archives/C03507ZKRCY). It helps us a lot knowing of anything that is not working as expected.
@@ -0,0 +1,35 @@
1
+ import { type Meta } from "@storybook/react-webpack5";
2
+ export declare const BADGES: {
3
+ readonly NEEDS_REVISION: "needs-revision";
4
+ readonly DOCUMENTED: "documented";
5
+ readonly STABLE: "stable";
6
+ readonly NEW: "new";
7
+ readonly DEPRECATED: "deprecated";
8
+ };
9
+ type TAGS = (typeof BADGES)[keyof typeof BADGES][];
10
+ /**
11
+ * A drop-in replacements for `"@storybook/react-webpack5"`'s Meta type which extends the type with web-ui's tags.
12
+ *
13
+ * @example
14
+ *
15
+ * const meta = {
16
+ * title: "Layout/SplitViewLayout",
17
+ * component: Component,
18
+ * tags: ["new"], // `tags` is now type-checked and auto-completes
19
+ * } satisfies MMeta<typeof Component>;
20
+ */
21
+ export type MMeta<T> = Meta<T> & {
22
+ tags: TAGS;
23
+ };
24
+ /**
25
+ * For stories specifically used in the Docs page that are not intended
26
+ * to be used for snapshots. E.g. stories that are used to demonstrate
27
+ * what NOT to do, or stories that are used to demonstrate a component
28
+ * and that don't need to show up in snapshots.
29
+ */
30
+ export declare const NO_SNAPSHOT_PARAMS: {
31
+ chromatic: {
32
+ disableSnapshot: boolean;
33
+ };
34
+ };
35
+ export {};
@@ -0,0 +1,31 @@
1
+ import { Decorator } from "@storybook/react-webpack5";
2
+ import { ModalDialog } from "../src";
3
+ import { ComponentProps, HTMLAttributes, ReactNode } from "react";
4
+ export declare const LocaleDecorator: Decorator;
5
+ export declare const TooltipDecorator: Decorator;
6
+ export declare const createHoverCardDecorator: (trigger: ReactNode) => Decorator;
7
+ export declare const CenteredDecorator: Decorator;
8
+ /**
9
+ * Wraps the story in a div with the provided role.
10
+ *
11
+ * @example // Wrap the story within <div role="status"><Story /></div>
12
+ *
13
+ * const story = {
14
+ * // ...
15
+ * decorators: [createRoleDecorator("status")]
16
+ * }
17
+ *
18
+ */
19
+ export declare const createRoleDecorator: (role: HTMLAttributes<HTMLDivElement>["role"]) => Decorator;
20
+ /**
21
+ * Wraps the story in a ModalDialog.
22
+ *
23
+ * @example // Wrap the story within <ModalDialog variant="side-modal" size="l"><ModalDialog.Body><Story /></ModalDialog.Body></ModalDialog>
24
+ *
25
+ * const story = {
26
+ * // ...
27
+ * decorators: [createModalDialogDecorator({ size: "l", variant: "side-modal" })]
28
+ * }
29
+ *
30
+ */
31
+ export declare const createModalDialogDecorator: (options?: Pick<ComponentProps<typeof ModalDialog>, "variant" | "size">) => Decorator;