@luscii-healthtech/web-ui 2.8.0 → 2.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (263) hide show
  1. package/dist/components/CenteredHero/CenteredHero.d.ts +1 -1
  2. package/dist/components/Container/FlexColumn.d.ts +7 -0
  3. package/dist/components/Container/FlexContainer.d.ts +9 -0
  4. package/dist/components/Container/FlexRow.d.ts +7 -0
  5. package/dist/components/Container/types/FlexContainerProps.type.d.ts +15 -0
  6. package/dist/index.d.ts +3 -0
  7. package/dist/web-ui-tailwind.css +4 -0
  8. package/dist/web-ui.cjs.development.js +167 -97
  9. package/dist/web-ui.cjs.development.js.map +1 -1
  10. package/dist/web-ui.cjs.production.min.js +1 -1
  11. package/dist/web-ui.cjs.production.min.js.map +1 -1
  12. package/dist/web-ui.esm.js +166 -98
  13. package/dist/web-ui.esm.js.map +1 -1
  14. package/package.json +2 -3
  15. package/src/assets/add.svg +0 -5
  16. package/src/assets/add_hover.svg +0 -4
  17. package/src/assets/arrow-down-icon.svg +0 -3
  18. package/src/assets/big-menu-icon-hover.svg +0 -6
  19. package/src/assets/big-menu-icon.svg +0 -6
  20. package/src/assets/check-cross-icon.svg +0 -7
  21. package/src/assets/check-icon-primary.svg +0 -5
  22. package/src/assets/check-icon.svg +0 -3
  23. package/src/assets/chevron-double.svg +0 -3
  24. package/src/assets/close.svg +0 -3
  25. package/src/assets/color-variant-cross.svg +0 -3
  26. package/src/assets/cross-dark.svg +0 -3
  27. package/src/assets/delete.svg +0 -4
  28. package/src/assets/delete_hover.svg +0 -4
  29. package/src/assets/edit.svg +0 -6
  30. package/src/assets/edit_hover.svg +0 -6
  31. package/src/assets/error-icon.svg +0 -7
  32. package/src/assets/grid-view-icon-active.svg +0 -6
  33. package/src/assets/grid-view-icon.svg +0 -6
  34. package/src/assets/groups.svg +0 -3
  35. package/src/assets/hamburger.svg +0 -5
  36. package/src/assets/happy-star.svg +0 -9
  37. package/src/assets/hcps.svg +0 -3
  38. package/src/assets/indeterminate-icon.svg +0 -3
  39. package/src/assets/info-icon.svg +0 -6
  40. package/src/assets/left-arrow-blue.svg +0 -3
  41. package/src/assets/left-arrow-grey.svg +0 -3
  42. package/src/assets/list-view-icon-active.svg +0 -3
  43. package/src/assets/list-view-icon.svg +0 -3
  44. package/src/assets/loading.svg +0 -16
  45. package/src/assets/modal-close-icon-active.svg +0 -9
  46. package/src/assets/modal-close-icon.svg +0 -9
  47. package/src/assets/no-open-alerts.svg +0 -19
  48. package/src/assets/patients.svg +0 -3
  49. package/src/assets/phone-mockup.svg +0 -9
  50. package/src/assets/programs.svg +0 -3
  51. package/src/assets/right-arrow-blue.svg +0 -3
  52. package/src/assets/right-arrow-grey.svg +0 -3
  53. package/src/assets/search-cancel.svg +0 -3
  54. package/src/assets/search-not-found.svg +0 -70
  55. package/src/assets/search.svg +0 -3
  56. package/src/assets/spinner-gray.svg +0 -6
  57. package/src/assets/spinner.svg +0 -5
  58. package/src/assets/starIcon.svg +0 -3
  59. package/src/assets/success-icon.svg +0 -6
  60. package/src/components/Accordion/Accordion.tsx +0 -33
  61. package/src/components/Accordion/AccordionItem.tsx +0 -50
  62. package/src/components/Avatar/Avatar.js +0 -81
  63. package/src/components/Avatar/Avatar.scss +0 -153
  64. package/src/components/Badge/Badge.tsx +0 -23
  65. package/src/components/Breadcrumbs/Breadcrumbs.tsx +0 -46
  66. package/src/components/Button/Button.examples.md +0 -46
  67. package/src/components/Button/Button.tsx +0 -200
  68. package/src/components/Button/Button.types.ts +0 -41
  69. package/src/components/Button/ButtonIcon.tsx +0 -42
  70. package/src/components/ButtonV2/ButtonProps.type.ts +0 -44
  71. package/src/components/ButtonV2/ButtonV2.tsx +0 -97
  72. package/src/components/ButtonV2/PrimaryButton.tsx +0 -25
  73. package/src/components/ButtonV2/SecondaryButton.tsx +0 -26
  74. package/src/components/ButtonV2/TertiaryButton.tsx +0 -26
  75. package/src/components/Carousel/Carousel.tsx +0 -52
  76. package/src/components/Carousel/GliderContainer.scss +0 -13
  77. package/src/components/Carousel/GliderContainer.tsx +0 -22
  78. package/src/components/CenteredHero/CenteredHero.tsx +0 -63
  79. package/src/components/CheckBoxListModal/CheckboxListModal.tsx +0 -180
  80. package/src/components/Checkbox/Checkbox.scss +0 -125
  81. package/src/components/Checkbox/Checkbox.tsx +0 -147
  82. package/src/components/CheckboxList/CheckboxGroup.tsx +0 -120
  83. package/src/components/CheckboxList/CheckboxList.tsx +0 -46
  84. package/src/components/CheckboxList/CheckboxList.types.ts +0 -47
  85. package/src/components/CheckboxList/CheckboxListItem.tsx +0 -54
  86. package/src/components/ConfirmationDialog/ConfirmationDialog.scss +0 -15
  87. package/src/components/ConfirmationDialog/ConfirmationDialog.tsx +0 -84
  88. package/src/components/Datepicker/Datepicker.js +0 -96
  89. package/src/components/Datepicker/Datepicker.scss +0 -332
  90. package/src/components/Dropdown/Dropdown.js +0 -416
  91. package/src/components/Dropdown/Dropdown.scss +0 -83
  92. package/src/components/EmptyListMessage/EmptyListMessage.tsx +0 -34
  93. package/src/components/ErrorBlock/ErrorBlock.js +0 -24
  94. package/src/components/ErrorBlock/ErrorBlock.scss +0 -20
  95. package/src/components/Form/Form.tsx +0 -138
  96. package/src/components/Form/FormFieldDecorator.tsx +0 -66
  97. package/src/components/Form/FormInput.tsx +0 -47
  98. package/src/components/Form/FormRadioGroup.tsx +0 -23
  99. package/src/components/Form/FormSelect.tsx +0 -32
  100. package/src/components/Form/form.transformer.ts +0 -9
  101. package/src/components/Form/form.types.ts +0 -139
  102. package/src/components/Icons/AddIcon.tsx +0 -29
  103. package/src/components/Icons/AlertsIcon.tsx +0 -39
  104. package/src/components/Icons/BellIcon.tsx +0 -39
  105. package/src/components/Icons/ChartIcon.tsx +0 -22
  106. package/src/components/Icons/ChatBoxIcon.tsx +0 -23
  107. package/src/components/Icons/CheckIcon.tsx +0 -26
  108. package/src/components/Icons/ChevronDoubleIcon.tsx +0 -25
  109. package/src/components/Icons/ChevronDownIcon.tsx +0 -20
  110. package/src/components/Icons/ChevronRightIcon.tsx +0 -20
  111. package/src/components/Icons/CrossIcon.tsx +0 -24
  112. package/src/components/Icons/DeleteIcon.tsx +0 -23
  113. package/src/components/Icons/DownArrowIcon.tsx +0 -23
  114. package/src/components/Icons/DragIcon.tsx +0 -25
  115. package/src/components/Icons/DynamicIcon.tsx +0 -25
  116. package/src/components/Icons/EditIcon.tsx +0 -23
  117. package/src/components/Icons/EmptyIcon.tsx +0 -29
  118. package/src/components/Icons/EmptyStateDashboardIcon.tsx +0 -130
  119. package/src/components/Icons/ExclamationMarkIcon.tsx +0 -23
  120. package/src/components/Icons/EyeIcon.tsx +0 -23
  121. package/src/components/Icons/GearIcon.tsx +0 -23
  122. package/src/components/Icons/GroupIcon.tsx +0 -23
  123. package/src/components/Icons/HamburgerIcon.tsx +0 -31
  124. package/src/components/Icons/HeartIcon.tsx +0 -23
  125. package/src/components/Icons/ImageIcon.tsx +0 -23
  126. package/src/components/Icons/LeftArrowIcon.tsx +0 -23
  127. package/src/components/Icons/LightBulbIcon.tsx +0 -31
  128. package/src/components/Icons/LockIcon.tsx +0 -23
  129. package/src/components/Icons/MessagesIcon.tsx +0 -23
  130. package/src/components/Icons/NotesIcon.tsx +0 -23
  131. package/src/components/Icons/PinIcon.tsx +0 -23
  132. package/src/components/Icons/PrintIcon.tsx +0 -22
  133. package/src/components/Icons/RightArrowIcon.tsx +0 -23
  134. package/src/components/Icons/SearchCancelIcon.tsx +0 -23
  135. package/src/components/Icons/SearchIcon.tsx +0 -23
  136. package/src/components/Icons/SmallCircleIcon.tsx +0 -21
  137. package/src/components/Icons/SmallDiamondIcon.tsx +0 -31
  138. package/src/components/Icons/SmallSquareIcon.tsx +0 -21
  139. package/src/components/Icons/SpaceRocketIcon.tsx +0 -23
  140. package/src/components/Icons/StarIcon.tsx +0 -23
  141. package/src/components/Icons/WarningIcon.tsx +0 -24
  142. package/src/components/Icons/types/IconProps.type.ts +0 -5
  143. package/src/components/InfoBlock/InfoBlock.js +0 -24
  144. package/src/components/InfoBlock/InfoBlock.scss +0 -20
  145. package/src/components/InfoField/InfoField.tsx +0 -94
  146. package/src/components/Input/Input.css +0 -3
  147. package/src/components/Input/Input.tsx +0 -211
  148. package/src/components/Input/SearchInput.tsx +0 -24
  149. package/src/components/Line/Line.js +0 -38
  150. package/src/components/List/List.scss +0 -23
  151. package/src/components/List/List.tsx +0 -138
  152. package/src/components/List/List.types.ts +0 -41
  153. package/src/components/List/ListItem.tsx +0 -89
  154. package/src/components/List/ListItemSkeleton.tsx +0 -26
  155. package/src/components/List/ListSkeleton.scss +0 -5
  156. package/src/components/List/ListSkeleton.tsx +0 -30
  157. package/src/components/LoadingIndicator/LoadingIndicator.scss +0 -50
  158. package/src/components/LoadingIndicator/LoadingIndicator.tsx +0 -46
  159. package/src/components/Menu/Menu.js +0 -74
  160. package/src/components/Menu/Menu.scss +0 -27
  161. package/src/components/Modal/Modal.scss +0 -117
  162. package/src/components/Modal/Modal.tsx +0 -104
  163. package/src/components/Modal/ModalWithButtons.tsx +0 -34
  164. package/src/components/MultiSelect/MultiSelect.js +0 -117
  165. package/src/components/MultiSelect/MultiSelect.scss +0 -29
  166. package/src/components/MultiSelect/MultiSelectUtils.js +0 -23
  167. package/src/components/NavMenu/NavLayout.tsx +0 -40
  168. package/src/components/NavMenu/NavMenu.tsx +0 -39
  169. package/src/components/NavMenu/NavMenu.utils.ts +0 -6
  170. package/src/components/NavMenu/NavMenuContent.tsx +0 -23
  171. package/src/components/NavMenu/NavMenuItem.tsx +0 -102
  172. package/src/components/NotificationBanner/NotificationBanner.tsx +0 -104
  173. package/src/components/Page/CRUDPage.js +0 -123
  174. package/src/components/Page/CRUDPage.scss +0 -32
  175. package/src/components/Page/Page.js +0 -102
  176. package/src/components/Page/Page.scss +0 -59
  177. package/src/components/PageHeader/PageHeader.tsx +0 -51
  178. package/src/components/PaginationMenu/PaginationMenu.tsx +0 -47
  179. package/src/components/PaginationMenu/PaginationMenu.types.ts +0 -46
  180. package/src/components/PaginationMenu/PaginationMenu.utils.ts +0 -49
  181. package/src/components/PaginationMenu/PaginationMenuLarge.tsx +0 -96
  182. package/src/components/PaginationMenu/PaginationMenuSmall.tsx +0 -43
  183. package/src/components/PreviewPhone/PreviewPhone.tsx +0 -52
  184. package/src/components/PreviewPhone/useWindowDimensions.js +0 -26
  185. package/src/components/Radio/Radio.js +0 -102
  186. package/src/components/Radio/Radio.scss +0 -58
  187. package/src/components/Radio/RadioV2.css +0 -15
  188. package/src/components/Radio/RadioV2.tsx +0 -87
  189. package/src/components/RadioGroup/RadioGroup.js +0 -66
  190. package/src/components/RadioGroup/RadioGroup.scss +0 -37
  191. package/src/components/RadioGroup/RadioGroupV2.tsx +0 -35
  192. package/src/components/Section/Section.scss +0 -74
  193. package/src/components/Section/Section.tsx +0 -68
  194. package/src/components/Section/SectionItem.scss +0 -20
  195. package/src/components/Section/SectionItem.tsx +0 -26
  196. package/src/components/Section/SectionItemWithContent.tsx +0 -30
  197. package/src/components/Select/LegacySelect.js +0 -114
  198. package/src/components/Select/Select.scss +0 -29
  199. package/src/components/Select/Select.tsx +0 -151
  200. package/src/components/Select/SelectV2.tsx +0 -171
  201. package/src/components/Select/options.transformer.ts +0 -36
  202. package/src/components/Select/select.utils.spec.ts +0 -63
  203. package/src/components/Select/select.utils.ts +0 -45
  204. package/src/components/SettingsMenuButton/SettingsMenuButton.tsx +0 -111
  205. package/src/components/Spinner/Spinner.tsx +0 -23
  206. package/src/components/Steps/Step.tsx +0 -31
  207. package/src/components/Steps/Steps.tsx +0 -24
  208. package/src/components/Switcher/Switcher.js +0 -58
  209. package/src/components/Switcher/SwitcherItem.js +0 -61
  210. package/src/components/Switcher/SwitcherItem.scss +0 -67
  211. package/src/components/TabLinks/TabLinks.tsx +0 -63
  212. package/src/components/Tabbar/Tabbar.tsx +0 -60
  213. package/src/components/Tabbar/TabbarItem.tsx +0 -66
  214. package/src/components/Table/Table.tsx +0 -91
  215. package/src/components/Table/Table.types.ts +0 -28
  216. package/src/components/Table/Table.utils.ts +0 -23
  217. package/src/components/Table/TableBody.tsx +0 -57
  218. package/src/components/Table/TableBodyRow.tsx +0 -47
  219. package/src/components/Table/TableBodyRowDataCell.tsx +0 -76
  220. package/src/components/Table/TableFooter.tsx +0 -21
  221. package/src/components/Table/TableHeader.tsx +0 -28
  222. package/src/components/Tag/Tag.tsx +0 -58
  223. package/src/components/Tag/Tag.utils.ts +0 -4
  224. package/src/components/Tag/TagGroup.tsx +0 -29
  225. package/src/components/Text/LegacyText.js +0 -78
  226. package/src/components/Text/Text.scss +0 -67
  227. package/src/components/Text/Text.tsx +0 -131
  228. package/src/components/TextEditor/TextEditor.js +0 -61
  229. package/src/components/TextEditor/TextEditor.scss +0 -14
  230. package/src/components/TextEditorV2/TextEditorV2.js +0 -52
  231. package/src/components/TextEditorV2/TextEditorV2.scss +0 -110
  232. package/src/components/TextLink/TextLink.tsx +0 -42
  233. package/src/components/Textarea/Textarea.js +0 -108
  234. package/src/components/Textarea/Textarea.scss +0 -56
  235. package/src/components/Timeline/Timeline.tsx +0 -28
  236. package/src/components/Timeline/TimelineStep.tsx +0 -36
  237. package/src/components/Title/LegacyTitle.js +0 -64
  238. package/src/components/Title/Title.scss +0 -6
  239. package/src/components/Title/Title.tsx +0 -62
  240. package/src/components/Toaster/Toaster.scss +0 -57
  241. package/src/components/Toaster/Toaster.tsx +0 -100
  242. package/src/components/Toaster/toast-elements-getter.ts +0 -72
  243. package/src/components/Toaster/toast-progress-animator.ts +0 -53
  244. package/src/components/Toaster/toast.ts +0 -112
  245. package/src/components/ViewItem/ViewItem.tsx +0 -85
  246. package/src/custom.d.ts +0 -4
  247. package/src/index.tsx +0 -166
  248. package/src/styles/_colors.scss +0 -59
  249. package/src/styles/_layout.scss +0 -64
  250. package/src/styles/_shadows.scss +0 -19
  251. package/src/styles/_skeleton.scss +0 -63
  252. package/src/styles/_typography.scss +0 -8
  253. package/src/styles/_utils.scss +0 -45
  254. package/src/styles/fonts/avenir/3A0AF8_0_0.eot +0 -0
  255. package/src/styles/fonts/avenir/3A0AF8_0_0.ttf +0 -0
  256. package/src/styles/fonts/avenir/3A0AF8_0_0.woff +0 -0
  257. package/src/styles/fonts/avenir/3A0AF8_0_0.woff2 +0 -0
  258. package/src/styles/fonts/avenir/3A0AF8_1_0.eot +0 -0
  259. package/src/styles/fonts/avenir/3A0AF8_1_0.ttf +0 -0
  260. package/src/styles/fonts/avenir/3A0AF8_1_0.woff +0 -0
  261. package/src/styles/fonts/avenir/3A0AF8_1_0.woff2 +0 -0
  262. package/src/types/general.types.ts +0 -11
  263. package/src/utils/useOutsideClick.js +0 -19
@@ -5,7 +5,7 @@ export interface CenteredHeroProps {
5
5
  title: string;
6
6
  text: string;
7
7
  image: string;
8
- buttons: ButtonProps[];
8
+ buttons?: ButtonProps[];
9
9
  background?: BackgroundColor;
10
10
  }
11
11
  declare const CenteredHero: ({ title, text, image, buttons, background, }: CenteredHeroProps) => JSX.Element;
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import { FlexContainerProps } from "./types/FlexContainerProps.type";
3
+ /**
4
+ * Container to be used for layouting instead of divs around the project.
5
+ * The spacing here has been coded according to our guidelines.
6
+ */
7
+ export declare const FlexColumn: React.FC<FlexContainerProps>;
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import { FlexContainerBaseProps } from "./types/FlexContainerProps.type";
3
+ /**
4
+ * Container to be used for layouting instead of divs around the project.
5
+ * The spacing here has been coded according to our guidelines.
6
+ */
7
+ export declare const FlexContainer: React.FC<FlexContainerBaseProps & {
8
+ type: "column" | "row";
9
+ }>;
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import { FlexContainerProps } from "./types/FlexContainerProps.type";
3
+ /**
4
+ * Container to be used for layouting instead of divs around the project.
5
+ * The spacing here has been coded according to our guidelines.
6
+ */
7
+ export declare const FlexRow: React.FC<FlexContainerProps>;
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ declare type FlexContainerBase = {
3
+ alignItems?: "center" | "start" | "end";
4
+ justifyContent?: "center" | "start" | "end" | "between";
5
+ verticallySpaced?: boolean;
6
+ horitontallySpaced?: boolean;
7
+ hasPadding?: boolean;
8
+ };
9
+ export declare type FlexContainerBaseProps = FlexContainerBase & {
10
+ children: React.ReactNode;
11
+ };
12
+ export declare type FlexContainerProps = Omit<FlexContainerBaseProps, "verticallySpaced" | "horitontallySpaced"> & {
13
+ spaced?: boolean;
14
+ };
15
+ export {};
package/dist/index.d.ts CHANGED
@@ -1,3 +1,6 @@
1
+ export { FlexColumn } from "./components/Container/FlexColumn";
2
+ export { FlexRow } from "./components/Container/FlexRow";
3
+ export type { FlexContainerProps } from "./components/Container/types/FlexContainerProps.type";
1
4
  export { default as Toaster, TOASTER_TYPE_OPTIONS, } from "./components/Toaster/Toaster";
2
5
  export { toast } from "./components/Toaster/toast";
3
6
  export { default as Avatar } from "./components/Avatar/Avatar";
@@ -1139,6 +1139,10 @@ video {
1139
1139
  align-items: flex-start;
1140
1140
  }
1141
1141
 
1142
+ .items-end {
1143
+ align-items: flex-end;
1144
+ }
1145
+
1142
1146
  .items-center {
1143
1147
  align-items: center;
1144
1148
  }