@zealicsolutions/web-ui 0.4.96 → 1.0.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 (634) hide show
  1. package/dist/cjs/index.js +38 -54
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/src/assets/index.d.ts +2 -8
  4. package/dist/cjs/src/atoms/Avatar/Avatar.d.ts +3 -2
  5. package/dist/cjs/src/atoms/Buttons/Button.d.ts +14 -0
  6. package/dist/cjs/src/atoms/Buttons/LinkButton.d.ts +20 -0
  7. package/dist/cjs/src/atoms/Checkbox/Checkbox.d.ts +7 -12
  8. package/dist/cjs/src/atoms/Icon/Icon.d.ts +12 -23
  9. package/dist/cjs/src/atoms/Image/Image.d.ts +8 -0
  10. package/dist/cjs/src/atoms/Input/Input.d.ts +16 -33
  11. package/dist/cjs/src/atoms/Paddings/Paddings.d.ts +3 -3
  12. package/dist/cjs/src/atoms/Select/Select.d.ts +3 -34
  13. package/dist/cjs/src/atoms/Select/styles.d.ts +1 -6
  14. package/dist/cjs/src/atoms/Select/types.d.ts +13 -0
  15. package/dist/cjs/src/atoms/TextWrapper/TextWrapper.d.ts +7 -17
  16. package/dist/cjs/src/atoms/Toast/ToastContent.d.ts +1 -0
  17. package/dist/cjs/src/atoms/Tooltip/Tooltip.d.ts +4 -6
  18. package/dist/cjs/src/atoms/ValidationTag/ValidationTag.d.ts +1 -0
  19. package/dist/cjs/src/atoms/index.d.ts +3 -10
  20. package/dist/cjs/src/fieldsConfiguration/index.d.ts +0 -1
  21. package/dist/cjs/src/fieldsConfiguration/mock.d.ts +1 -8
  22. package/dist/cjs/src/fieldsConfiguration/types.d.ts +11 -14
  23. package/dist/cjs/src/fieldsConfiguration/utils.d.ts +0 -2
  24. package/dist/cjs/src/helpers/styles.d.ts +2 -2
  25. package/dist/cjs/src/hooks/index.d.ts +0 -1
  26. package/dist/cjs/src/icons/Bell.d.ts +1 -0
  27. package/dist/cjs/src/icons/CaretDown.d.ts +2 -1
  28. package/dist/cjs/src/icons/CaretUp.d.ts +1 -0
  29. package/dist/cjs/src/icons/Check.d.ts +3 -2
  30. package/dist/cjs/src/icons/Close.d.ts +3 -2
  31. package/dist/cjs/src/icons/Filter.d.ts +3 -2
  32. package/dist/cjs/src/icons/Hide.d.ts +2 -1
  33. package/dist/cjs/src/icons/Info.d.ts +2 -1
  34. package/dist/cjs/src/icons/InfoBoxIcon.d.ts +1 -0
  35. package/dist/cjs/src/icons/Mail.d.ts +2 -1
  36. package/dist/cjs/src/icons/Minus.d.ts +3 -2
  37. package/dist/cjs/src/icons/Mobile.d.ts +3 -2
  38. package/dist/cjs/src/icons/View.d.ts +3 -2
  39. package/dist/cjs/src/icons/Warning.d.ts +2 -1
  40. package/dist/cjs/src/icons/index.d.ts +0 -9
  41. package/dist/cjs/src/index.d.ts +2 -5
  42. package/dist/cjs/src/molecules/AvatarDropdown/AvatarDropdown.d.ts +4 -6
  43. package/dist/cjs/src/molecules/Banner/Banner.d.ts +9 -0
  44. package/dist/cjs/src/molecules/CheckboxField/CheckboxField.d.ts +8 -35
  45. package/dist/cjs/src/molecules/CustomValidation/CustomValidation.d.ts +2 -4
  46. package/dist/cjs/src/molecules/Drawer/Drawer.d.ts +1 -1
  47. package/dist/cjs/src/molecules/Drawer/styles.d.ts +1 -19
  48. package/dist/cjs/src/molecules/FieldLabels/FieldLabels.d.ts +4 -37
  49. package/dist/cjs/src/molecules/FieldMapper/FieldMapper.d.ts +4 -8
  50. package/dist/cjs/src/molecules/InfoBox/InfoBox.d.ts +9 -0
  51. package/dist/cjs/src/molecules/InputField/InputField.d.ts +13 -19
  52. package/dist/cjs/src/molecules/MenuItems/MenuItems.d.ts +8 -7
  53. package/dist/cjs/src/molecules/SelectField/SelectField.d.ts +12 -19
  54. package/dist/cjs/src/molecules/SelectableInfoCard/BaseSelectable.d.ts +2 -1
  55. package/dist/cjs/src/molecules/SelectableInfoCard/SelectableCardGroup.d.ts +2 -1
  56. package/dist/cjs/src/molecules/SelectableInfoCard/styles.d.ts +3 -3
  57. package/dist/cjs/src/molecules/Tab/Tab.d.ts +23 -0
  58. package/dist/{esm/src/atoms → cjs/src/molecules}/Tab/styles.d.ts +5 -4
  59. package/dist/cjs/src/molecules/TabGroup/TabGroup.d.ts +6 -27
  60. package/dist/cjs/src/molecules/TabGroup/styles.d.ts +4 -27
  61. package/dist/cjs/src/molecules/TabGroup/useTabAnimation.d.ts +3 -2
  62. package/dist/cjs/src/molecules/index.d.ts +2 -22
  63. package/dist/cjs/src/organisms/AcquisitionForm/AcquisitionForm.d.ts +3 -13
  64. package/dist/cjs/src/organisms/ForgotPasswordForm/ForgotPasswordForm.d.ts +1 -0
  65. package/dist/cjs/src/organisms/Header/Header.d.ts +18 -14
  66. package/dist/cjs/src/organisms/Header/mock.d.ts +4 -2
  67. package/dist/cjs/src/organisms/Header/styles.d.ts +2 -3
  68. package/dist/cjs/src/organisms/LoginForm/LoginForm.d.ts +4 -7
  69. package/dist/cjs/src/organisms/SetPasswordForm/SetPasswordForm.d.ts +3 -6
  70. package/dist/cjs/src/organisms/SetPasswordForm/types.d.ts +5 -1
  71. package/dist/cjs/src/organisms/SetPasswordForm/utils.d.ts +2 -2
  72. package/dist/cjs/src/organisms/TwoFactorAuth/TwoFactorAuth.d.ts +1 -0
  73. package/dist/cjs/src/organisms/TwoFactorAuth/constants.d.ts +1 -1
  74. package/dist/cjs/src/organisms/index.d.ts +1 -13
  75. package/dist/cjs/src/pages/AuthPage/AuthDrawerContent.d.ts +11 -0
  76. package/dist/cjs/src/pages/AuthPage/AuthPage.d.ts +10 -0
  77. package/dist/cjs/src/pages/index.d.ts +1 -0
  78. package/dist/cjs/src/templates/DefaultTemplate/DefaultTemplate.d.ts +6 -9
  79. package/dist/cjs/src/templates/MainTemplate/index.d.ts +1 -0
  80. package/dist/cjs/src/theme/index.d.ts +0 -2
  81. package/dist/cjs/src/theme/provider.d.ts +1 -4
  82. package/dist/cjs/src/theme/types.d.ts +3 -13
  83. package/dist/cjs/src/typescript.d.ts +0 -14
  84. package/dist/esm/index.js +38 -54
  85. package/dist/esm/index.js.map +1 -1
  86. package/dist/esm/src/assets/index.d.ts +2 -8
  87. package/dist/esm/src/atoms/Avatar/Avatar.d.ts +3 -2
  88. package/dist/esm/src/atoms/Buttons/Button.d.ts +14 -0
  89. package/dist/esm/src/atoms/Buttons/LinkButton.d.ts +20 -0
  90. package/dist/esm/src/atoms/Checkbox/Checkbox.d.ts +7 -12
  91. package/dist/esm/src/atoms/Icon/Icon.d.ts +12 -23
  92. package/dist/esm/src/atoms/Image/Image.d.ts +8 -0
  93. package/dist/esm/src/atoms/Input/Input.d.ts +16 -33
  94. package/dist/esm/src/atoms/Paddings/Paddings.d.ts +3 -3
  95. package/dist/esm/src/atoms/Select/Select.d.ts +3 -34
  96. package/dist/esm/src/atoms/Select/styles.d.ts +1 -6
  97. package/dist/esm/src/atoms/Select/types.d.ts +13 -0
  98. package/dist/esm/src/atoms/TextWrapper/TextWrapper.d.ts +7 -17
  99. package/dist/esm/src/atoms/Toast/ToastContent.d.ts +1 -0
  100. package/dist/esm/src/atoms/Tooltip/Tooltip.d.ts +4 -6
  101. package/dist/esm/src/atoms/ValidationTag/ValidationTag.d.ts +1 -0
  102. package/dist/esm/src/atoms/index.d.ts +3 -10
  103. package/dist/esm/src/fieldsConfiguration/index.d.ts +0 -1
  104. package/dist/esm/src/fieldsConfiguration/mock.d.ts +1 -8
  105. package/dist/esm/src/fieldsConfiguration/types.d.ts +11 -14
  106. package/dist/esm/src/fieldsConfiguration/utils.d.ts +0 -2
  107. package/dist/esm/src/helpers/styles.d.ts +2 -2
  108. package/dist/esm/src/hooks/index.d.ts +0 -1
  109. package/dist/esm/src/icons/Bell.d.ts +1 -0
  110. package/dist/esm/src/icons/CaretDown.d.ts +2 -1
  111. package/dist/esm/src/icons/CaretUp.d.ts +1 -0
  112. package/dist/esm/src/icons/Check.d.ts +3 -2
  113. package/dist/esm/src/icons/Close.d.ts +3 -2
  114. package/dist/esm/src/icons/Filter.d.ts +3 -2
  115. package/dist/esm/src/icons/Hide.d.ts +2 -1
  116. package/dist/esm/src/icons/Info.d.ts +2 -1
  117. package/dist/esm/src/icons/InfoBoxIcon.d.ts +1 -0
  118. package/dist/esm/src/icons/Mail.d.ts +2 -1
  119. package/dist/esm/src/icons/Minus.d.ts +3 -2
  120. package/dist/esm/src/icons/Mobile.d.ts +3 -2
  121. package/dist/esm/src/icons/View.d.ts +3 -2
  122. package/dist/esm/src/icons/Warning.d.ts +2 -1
  123. package/dist/esm/src/icons/index.d.ts +0 -9
  124. package/dist/esm/src/index.d.ts +2 -5
  125. package/dist/esm/src/molecules/AvatarDropdown/AvatarDropdown.d.ts +4 -6
  126. package/dist/esm/src/molecules/Banner/Banner.d.ts +9 -0
  127. package/dist/esm/src/molecules/CheckboxField/CheckboxField.d.ts +8 -35
  128. package/dist/esm/src/molecules/CustomValidation/CustomValidation.d.ts +2 -4
  129. package/dist/esm/src/molecules/Drawer/Drawer.d.ts +1 -1
  130. package/dist/esm/src/molecules/Drawer/styles.d.ts +1 -19
  131. package/dist/esm/src/molecules/FieldLabels/FieldLabels.d.ts +4 -37
  132. package/dist/esm/src/molecules/FieldMapper/FieldMapper.d.ts +4 -8
  133. package/dist/esm/src/molecules/InfoBox/InfoBox.d.ts +9 -0
  134. package/dist/esm/src/molecules/InputField/InputField.d.ts +13 -19
  135. package/dist/esm/src/molecules/MenuItems/MenuItems.d.ts +8 -7
  136. package/dist/esm/src/molecules/SelectField/SelectField.d.ts +12 -19
  137. package/dist/esm/src/molecules/SelectableInfoCard/BaseSelectable.d.ts +2 -1
  138. package/dist/esm/src/molecules/SelectableInfoCard/SelectableCardGroup.d.ts +2 -1
  139. package/dist/esm/src/molecules/SelectableInfoCard/styles.d.ts +3 -3
  140. package/dist/esm/src/molecules/Tab/Tab.d.ts +23 -0
  141. package/dist/{cjs/src/atoms → esm/src/molecules}/Tab/styles.d.ts +5 -4
  142. package/dist/esm/src/molecules/TabGroup/TabGroup.d.ts +6 -27
  143. package/dist/esm/src/molecules/TabGroup/styles.d.ts +4 -27
  144. package/dist/esm/src/molecules/TabGroup/useTabAnimation.d.ts +3 -2
  145. package/dist/esm/src/molecules/index.d.ts +2 -22
  146. package/dist/esm/src/organisms/AcquisitionForm/AcquisitionForm.d.ts +3 -13
  147. package/dist/esm/src/organisms/ForgotPasswordForm/ForgotPasswordForm.d.ts +1 -0
  148. package/dist/esm/src/organisms/Header/Header.d.ts +18 -14
  149. package/dist/esm/src/organisms/Header/mock.d.ts +4 -2
  150. package/dist/esm/src/organisms/Header/styles.d.ts +2 -3
  151. package/dist/esm/src/organisms/LoginForm/LoginForm.d.ts +4 -7
  152. package/dist/esm/src/organisms/SetPasswordForm/SetPasswordForm.d.ts +3 -6
  153. package/dist/esm/src/organisms/SetPasswordForm/types.d.ts +5 -1
  154. package/dist/esm/src/organisms/SetPasswordForm/utils.d.ts +2 -2
  155. package/dist/esm/src/organisms/TwoFactorAuth/TwoFactorAuth.d.ts +1 -0
  156. package/dist/esm/src/organisms/TwoFactorAuth/constants.d.ts +1 -1
  157. package/dist/esm/src/organisms/index.d.ts +1 -13
  158. package/dist/esm/src/pages/AuthPage/AuthDrawerContent.d.ts +11 -0
  159. package/dist/esm/src/pages/AuthPage/AuthPage.d.ts +10 -0
  160. package/dist/esm/src/pages/index.d.ts +1 -0
  161. package/dist/esm/src/templates/DefaultTemplate/DefaultTemplate.d.ts +6 -9
  162. package/dist/esm/src/templates/MainTemplate/index.d.ts +1 -0
  163. package/dist/esm/src/theme/index.d.ts +0 -2
  164. package/dist/esm/src/theme/provider.d.ts +1 -4
  165. package/dist/esm/src/theme/types.d.ts +3 -13
  166. package/dist/esm/src/typescript.d.ts +0 -14
  167. package/dist/index.d.ts +341 -2091
  168. package/package.json +67 -91
  169. package/dist/cjs/src/atoms/Avatar/Avatar.stories.d.ts +0 -8
  170. package/dist/cjs/src/atoms/Buttons/Buttons.stories.d.ts +0 -19
  171. package/dist/cjs/src/atoms/Buttons/IconButton.d.ts +0 -12
  172. package/dist/cjs/src/atoms/Buttons/TextButton.d.ts +0 -17
  173. package/dist/cjs/src/atoms/Checkbox/Checkbox.stories.d.ts +0 -8
  174. package/dist/cjs/src/atoms/Checkbox/helpers.d.ts +0 -2
  175. package/dist/cjs/src/atoms/Checkbox/types.d.ts +0 -18
  176. package/dist/cjs/src/atoms/Circle/Circle.d.ts +0 -8
  177. package/dist/cjs/src/atoms/Circle/Circle.stories.d.ts +0 -8
  178. package/dist/cjs/src/atoms/CircularIndicator/CircularIndicator.d.ts +0 -8
  179. package/dist/cjs/src/atoms/CircularIndicator/CircularIndicator.stories.d.ts +0 -8
  180. package/dist/cjs/src/atoms/GoogleMap/GoogleMap.d.ts +0 -13
  181. package/dist/cjs/src/atoms/GoogleMap/GoogleMap.stories.d.ts +0 -12
  182. package/dist/cjs/src/atoms/HorizontalButtons/HorizontalButtons.d.ts +0 -11
  183. package/dist/cjs/src/atoms/HorizontalButtons/HorizontalButtons.stories.d.ts +0 -8
  184. package/dist/cjs/src/atoms/Icon/Icon.stories.d.ts +0 -8
  185. package/dist/cjs/src/atoms/Input/Input.stories.d.ts +0 -35
  186. package/dist/cjs/src/atoms/Input/helpers.d.ts +0 -44
  187. package/dist/cjs/src/atoms/RadioButtons/RadioButtons.d.ts +0 -55
  188. package/dist/cjs/src/atoms/RadioButtons/RadioButtons.stories.d.ts +0 -30
  189. package/dist/cjs/src/atoms/RadioButtons/RadioOption.d.ts +0 -11
  190. package/dist/cjs/src/atoms/RadioButtons/helpers.d.ts +0 -17
  191. package/dist/cjs/src/atoms/RadioButtons/styles.d.ts +0 -10
  192. package/dist/cjs/src/atoms/RegularImage/RegularImage.d.ts +0 -29
  193. package/dist/cjs/src/atoms/RegularImage/RegularImage.stories.d.ts +0 -16
  194. package/dist/cjs/src/atoms/RichTextViewer/RichTextViewer.d.ts +0 -24
  195. package/dist/cjs/src/atoms/RichTextViewer/components/EditorElement.d.ts +0 -5
  196. package/dist/cjs/src/atoms/RichTextViewer/components/Leaf.d.ts +0 -2
  197. package/dist/cjs/src/atoms/RichTextViewer/components/index.d.ts +0 -2
  198. package/dist/cjs/src/atoms/RichTextViewer/types.d.ts +0 -36
  199. package/dist/cjs/src/atoms/Select/Select.stories.d.ts +0 -21
  200. package/dist/cjs/src/atoms/Tab/Tab.d.ts +0 -56
  201. package/dist/cjs/src/atoms/Tab/Tab.stories.d.ts +0 -31
  202. package/dist/cjs/src/atoms/Tab/utils.d.ts +0 -4
  203. package/dist/cjs/src/atoms/TextWrapper/TextWrapper.stories.d.ts +0 -8
  204. package/dist/cjs/src/atoms/Toast/Toast.stories.d.ts +0 -9
  205. package/dist/cjs/src/atoms/Tooltip/Tooltip.stories.d.ts +0 -9
  206. package/dist/cjs/src/atoms/ValidationTag/ValidationTag.stories.d.ts +0 -8
  207. package/dist/cjs/src/constants/params.d.ts +0 -8
  208. package/dist/cjs/src/containers/Container.d.ts +0 -84
  209. package/dist/cjs/src/containers/Container.stories.d.ts +0 -7
  210. package/dist/cjs/src/containers/FormContainer.d.ts +0 -8
  211. package/dist/cjs/src/containers/FormOrganismItem.d.ts +0 -11
  212. package/dist/cjs/src/containers/FormStepContainer.d.ts +0 -9
  213. package/dist/cjs/src/containers/MoleculeItem.d.ts +0 -8
  214. package/dist/cjs/src/containers/OrganismItem.d.ts +0 -14
  215. package/dist/cjs/src/containers/helpers.d.ts +0 -6
  216. package/dist/cjs/src/containers/hooks/index.d.ts +0 -3
  217. package/dist/cjs/src/containers/hooks/useCheckCondition.d.ts +0 -16
  218. package/dist/cjs/src/containers/hooks/useCheckCondition.test.d.ts +0 -1
  219. package/dist/cjs/src/containers/hooks/useFormOrganismItem.d.ts +0 -3
  220. package/dist/cjs/src/containers/hooks/useSetFormData.d.ts +0 -10
  221. package/dist/cjs/src/containers/hooks/useStateListenerValue.d.ts +0 -18
  222. package/dist/cjs/src/containers/hooks/useStateModifierHandler.d.ts +0 -7
  223. package/dist/cjs/src/containers/hooks/useStateViewModifierHandler.d.ts +0 -2
  224. package/dist/cjs/src/containers/index.d.ts +0 -6
  225. package/dist/cjs/src/containers/mock-data.d.ts +0 -1153
  226. package/dist/cjs/src/containers/styles.d.ts +0 -38
  227. package/dist/cjs/src/containers/types/moleculeTypes.d.ts +0 -345
  228. package/dist/cjs/src/containers/types/types.d.ts +0 -135
  229. package/dist/cjs/src/contexts/AccountButtonContext/AccountButtonContext.d.ts +0 -14
  230. package/dist/cjs/src/contexts/AccountButtonContext/AccountButtonContextProvider.d.ts +0 -9
  231. package/dist/cjs/src/contexts/ButtonActionsContext/ButtonActionsContext.d.ts +0 -12
  232. package/dist/cjs/src/contexts/ButtonActionsContext/ButtonActionsContextProvider.d.ts +0 -26
  233. package/dist/cjs/src/contexts/FormStepContext/FormStepContext.d.ts +0 -13
  234. package/dist/cjs/src/contexts/FormStepContext/FormStepContextProvider.d.ts +0 -5
  235. package/dist/cjs/src/contexts/FormStepContext/utils.d.ts +0 -2
  236. package/dist/cjs/src/contexts/MlrRichTextViewerContext/MlrRichTextViewerContext.d.ts +0 -8
  237. package/dist/cjs/src/contexts/MlrRichTextViewerContext/MlrRichTextViewerProvider.d.ts +0 -8
  238. package/dist/cjs/src/contexts/MlrRichTextViewerContext/types.d.ts +0 -15
  239. package/dist/cjs/src/contexts/OrganismContext/OrganismContext.d.ts +0 -33
  240. package/dist/cjs/src/contexts/OrganismContext/OrganismContextProvider.d.ts +0 -31
  241. package/dist/cjs/src/contexts/OrganismContext/utils.d.ts +0 -5
  242. package/dist/cjs/src/contexts/StateContext/StateContext.d.ts +0 -7
  243. package/dist/cjs/src/contexts/StateContext/StateContextProvider.d.ts +0 -7
  244. package/dist/cjs/src/contexts/hooks/index.d.ts +0 -6
  245. package/dist/cjs/src/contexts/hooks/useAccountButtonContext.d.ts +0 -6
  246. package/dist/cjs/src/contexts/hooks/useButtonActionsContext.d.ts +0 -1
  247. package/dist/cjs/src/contexts/hooks/useFormStepContext.d.ts +0 -1
  248. package/dist/cjs/src/contexts/hooks/useMlrRichTextViewerContext.d.ts +0 -1
  249. package/dist/cjs/src/contexts/hooks/useOrganismContext.d.ts +0 -1
  250. package/dist/cjs/src/contexts/hooks/useStateContext.d.ts +0 -1
  251. package/dist/cjs/src/contexts/index.d.ts +0 -13
  252. package/dist/cjs/src/helpers/constants.d.ts +0 -6
  253. package/dist/cjs/src/helpers/date.d.ts +0 -3
  254. package/dist/cjs/src/helpers/slate.d.ts +0 -2
  255. package/dist/cjs/src/helpers/utils.d.ts +0 -14
  256. package/dist/cjs/src/helpers/validations.d.ts +0 -23
  257. package/dist/cjs/src/hooks/useRequiredConsentsAcceptedValues.d.ts +0 -2
  258. package/dist/cjs/src/icons/ArrowRight.d.ts +0 -2
  259. package/dist/cjs/src/icons/Bookmark.d.ts +0 -2
  260. package/dist/cjs/src/icons/CaretLeft.d.ts +0 -2
  261. package/dist/cjs/src/icons/CaretRight.d.ts +0 -2
  262. package/dist/cjs/src/icons/Edit.d.ts +0 -2
  263. package/dist/cjs/src/icons/Menu.d.ts +0 -2
  264. package/dist/cjs/src/icons/Play.d.ts +0 -2
  265. package/dist/cjs/src/icons/Save.d.ts +0 -2
  266. package/dist/cjs/src/icons/Search.d.ts +0 -2
  267. package/dist/cjs/src/molecules/Alert/Alert.d.ts +0 -20
  268. package/dist/cjs/src/molecules/Alert/Alert.stories.d.ts +0 -9
  269. package/dist/cjs/src/molecules/AvatarDropdown/AvatarDropdown.stories.d.ts +0 -8
  270. package/dist/cjs/src/molecules/BottomNavBarItem/BottomNavBarItem.d.ts +0 -11
  271. package/dist/cjs/src/molecules/BottomNavBarItem/BottomNavBarItem.stories.d.ts +0 -8
  272. package/dist/cjs/src/molecules/Button/Button.d.ts +0 -47
  273. package/dist/cjs/src/molecules/Button/Button.stories.d.ts +0 -8
  274. package/dist/cjs/src/molecules/Caruser/Carousel.d.ts +0 -17
  275. package/dist/cjs/src/molecules/CheckboxField/CheckboxField.stories.d.ts +0 -61
  276. package/dist/cjs/src/molecules/CheckboxField/CheckboxGroup.d.ts +0 -10
  277. package/dist/cjs/src/molecules/CheckboxField/CheckboxGroup.stories.d.ts +0 -32
  278. package/dist/cjs/src/molecules/CheckboxField/styles.d.ts +0 -6
  279. package/dist/cjs/src/molecules/Checklist/Checklist.d.ts +0 -26
  280. package/dist/cjs/src/molecules/Checklist/Checklist.stories.d.ts +0 -8
  281. package/dist/cjs/src/molecules/Columns/Column.d.ts +0 -12
  282. package/dist/cjs/src/molecules/Columns/ColumnImage.d.ts +0 -5
  283. package/dist/cjs/src/molecules/Columns/Columns.d.ts +0 -16
  284. package/dist/cjs/src/molecules/Columns/Columns.stories.d.ts +0 -8
  285. package/dist/cjs/src/molecules/Columns/styles.d.ts +0 -27
  286. package/dist/cjs/src/molecules/Columns/types.d.ts +0 -5
  287. package/dist/cjs/src/molecules/Columns/useAnnotationCircle.d.ts +0 -4
  288. package/dist/cjs/src/molecules/Consent/Consent.d.ts +0 -27
  289. package/dist/cjs/src/molecules/Consent/Consent.stories.d.ts +0 -8
  290. package/dist/cjs/src/molecules/Consent/ConsentCapture.d.ts +0 -20
  291. package/dist/cjs/src/molecules/Consent/ConsentMolecule.d.ts +0 -11
  292. package/dist/cjs/src/molecules/Consent/consentMock.d.ts +0 -7
  293. package/dist/cjs/src/molecules/CustomValidation/CustomValidation.stories.d.ts +0 -8
  294. package/dist/cjs/src/molecules/Drawer/Drawer.stories.d.ts +0 -9
  295. package/dist/cjs/src/molecules/EmphasizedText/EmphasizedText.d.ts +0 -6
  296. package/dist/cjs/src/molecules/EmphasizedText/EmphasizedText.stories.d.ts +0 -8
  297. package/dist/cjs/src/molecules/FeedContentHeader/FeedContentHeader.d.ts +0 -11
  298. package/dist/cjs/src/molecules/FeedContentHeader/FeedContentHeader.stories.d.ts +0 -8
  299. package/dist/cjs/src/molecules/FieldLabels/FieldLabels.stories.d.ts +0 -8
  300. package/dist/cjs/src/molecules/FieldLabels/helpers.d.ts +0 -8
  301. package/dist/cjs/src/molecules/FieldSection/FieldSection.d.ts +0 -9
  302. package/dist/cjs/src/molecules/FieldSection/FieldSection.stories.d.ts +0 -8
  303. package/dist/cjs/src/molecules/HeroImage/HeroImage.d.ts +0 -17
  304. package/dist/cjs/src/molecules/HeroImage/HeroImage.stories.d.ts +0 -8
  305. package/dist/cjs/src/molecules/HorizontalButtonsField/HorizontalButtonsField.d.ts +0 -12
  306. package/dist/cjs/src/molecules/HorizontalButtonsField/HorizontalButtonsField.stories.d.ts +0 -15
  307. package/dist/cjs/src/molecules/Image/Image.d.ts +0 -20
  308. package/dist/cjs/src/molecules/Image/Image.stories.d.ts +0 -8
  309. package/dist/cjs/src/molecules/InputField/InputField.stories.d.ts +0 -66
  310. package/dist/cjs/src/molecules/Link/Link.d.ts +0 -13
  311. package/dist/cjs/src/molecules/Link/Link.stories.d.ts +0 -8
  312. package/dist/cjs/src/molecules/MenuItems/MenuItem.d.ts +0 -20
  313. package/dist/cjs/src/molecules/MenuItems/MenuItems.stories.d.ts +0 -8
  314. package/dist/cjs/src/molecules/MenuNavigation/MenuNavigation.d.ts +0 -11
  315. package/dist/cjs/src/molecules/MenuNavigation/MenuNavigation.stories.d.ts +0 -9
  316. package/dist/cjs/src/molecules/PasswordSetup/PasswordSetup.d.ts +0 -25
  317. package/dist/cjs/src/molecules/PasswordSetup/PasswordSetup.stories.d.ts +0 -8
  318. package/dist/cjs/src/molecules/PdfDocument/PdfDocument.d.ts +0 -14
  319. package/dist/cjs/src/molecules/PdfDocument/PdfDocument.stories.d.ts +0 -8
  320. package/dist/cjs/src/molecules/RadioButtonField/RadioButtonField.d.ts +0 -74
  321. package/dist/cjs/src/molecules/RadioButtonField/RadioButtonField.stories.d.ts +0 -74
  322. package/dist/cjs/src/molecules/SelectField/SelectField.stories.d.ts +0 -53
  323. package/dist/cjs/src/molecules/SelectableInfoCard/SelectableInfoCard.stories.d.ts +0 -8
  324. package/dist/cjs/src/molecules/SettingsSelectionField/SettingsSelectionField.d.ts +0 -9
  325. package/dist/cjs/src/molecules/SettingsSelectionField/SettingsSelectionField.stories.d.ts +0 -8
  326. package/dist/cjs/src/molecules/Stepper/Step.d.ts +0 -9
  327. package/dist/cjs/src/molecules/Stepper/Stepper.d.ts +0 -12
  328. package/dist/cjs/src/molecules/Stepper/Stepper.stories.d.ts +0 -8
  329. package/dist/cjs/src/molecules/Stepper/styles.d.ts +0 -21
  330. package/dist/cjs/src/molecules/TabGroup/TabGroup.stories.d.ts +0 -8
  331. package/dist/cjs/src/molecules/TextMolecule/TextMolecule.d.ts +0 -20
  332. package/dist/cjs/src/molecules/TextMolecule/TextMolecule.stories.d.ts +0 -8
  333. package/dist/cjs/src/molecules/Video/Video.d.ts +0 -22
  334. package/dist/cjs/src/molecules/Video/Video.stories.d.ts +0 -8
  335. package/dist/cjs/src/molecules/ZealUIModal/ZealUIModal.d.ts +0 -23
  336. package/dist/cjs/src/molecules/ZealUIModal/ZealUIModal.stories.d.ts +0 -8
  337. package/dist/cjs/src/organisms/AccountInformation/AccountInformation.d.ts +0 -10
  338. package/dist/cjs/src/organisms/AcquisitionForm/AcquisitionForm.stories.d.ts +0 -8
  339. package/dist/cjs/src/organisms/Body/Body.d.ts +0 -14
  340. package/dist/cjs/src/organisms/Body/Body.stories.d.ts +0 -8
  341. package/dist/cjs/src/organisms/BottomNavBarNavigation/BottomNavBarNavigation.d.ts +0 -5
  342. package/dist/cjs/src/organisms/BottomNavBarNavigation/BottomNavBarNavigation.stories.d.ts +0 -8
  343. package/dist/cjs/src/organisms/DynamicContentZone/DynamicContentZone.d.ts +0 -23
  344. package/dist/cjs/src/organisms/DynamicContentZone/DynamicContentZone.stories.d.ts +0 -8
  345. package/dist/cjs/src/organisms/FeedContent/FeedContent.d.ts +0 -2
  346. package/dist/cjs/src/organisms/FeedContent/FeedContent.stories.d.ts +0 -8
  347. package/dist/cjs/src/organisms/FeedContent/components/BackToFeedButton.d.ts +0 -2
  348. package/dist/cjs/src/organisms/FeedContent/components/ExpandedContent.d.ts +0 -2
  349. package/dist/cjs/src/organisms/FeedContent/components/FullWidthContentTemplate.d.ts +0 -2
  350. package/dist/cjs/src/organisms/FeedContent/components/StandardContentTemplate.d.ts +0 -2
  351. package/dist/cjs/src/organisms/FeedContent/constants.d.ts +0 -2
  352. package/dist/cjs/src/organisms/FeedContent/styles.d.ts +0 -19
  353. package/dist/cjs/src/organisms/FeedContent/types.d.ts +0 -35
  354. package/dist/cjs/src/organisms/FeedContent/useSwitchHandler.d.ts +0 -10
  355. package/dist/cjs/src/organisms/FeedContentContainer/FeedContentContainer.d.ts +0 -10
  356. package/dist/cjs/src/organisms/FeedContentContainer/FeedContentContainer.stories.d.ts +0 -8
  357. package/dist/cjs/src/organisms/FeedContentContainer/mocks.d.ts +0 -48
  358. package/dist/cjs/src/organisms/Footer/Footer.d.ts +0 -6
  359. package/dist/cjs/src/organisms/Footer/Footer.stories.d.ts +0 -8
  360. package/dist/cjs/src/organisms/Footer/FooterA.d.ts +0 -12
  361. package/dist/cjs/src/organisms/Footer/FooterB.d.ts +0 -10
  362. package/dist/cjs/src/organisms/Footer/FooterC.d.ts +0 -6
  363. package/dist/cjs/src/organisms/Footer/FooterD.d.ts +0 -15
  364. package/dist/cjs/src/organisms/Footer/constants.d.ts +0 -1
  365. package/dist/cjs/src/organisms/Footer/mocks.d.ts +0 -2
  366. package/dist/cjs/src/organisms/Footer/shared.d.ts +0 -7
  367. package/dist/cjs/src/organisms/Footer/styles.d.ts +0 -18
  368. package/dist/cjs/src/organisms/Footer/types.d.ts +0 -10
  369. package/dist/cjs/src/organisms/ForgotPasswordForm/ForgotPasswordForm.stories.d.ts +0 -8
  370. package/dist/cjs/src/organisms/Header/Header.stories.d.ts +0 -8
  371. package/dist/cjs/src/organisms/Header/HeaderA.d.ts +0 -18
  372. package/dist/cjs/src/organisms/Header/HeaderB.d.ts +0 -3
  373. package/dist/cjs/src/organisms/Header/HeaderC.d.ts +0 -3
  374. package/dist/cjs/src/organisms/Header/HeaderD.d.ts +0 -6
  375. package/dist/cjs/src/organisms/Header/HeaderMobileNavigation.d.ts +0 -3
  376. package/dist/cjs/src/organisms/HeroSlider/HeroSlider.d.ts +0 -7
  377. package/dist/cjs/src/organisms/HeroSlider/HeroSlider.stories.d.ts +0 -8
  378. package/dist/cjs/src/organisms/ISI/ISI.d.ts +0 -3
  379. package/dist/cjs/src/organisms/ISI/ISI.stories.d.ts +0 -8
  380. package/dist/cjs/src/organisms/ISI/ISIA.d.ts +0 -6
  381. package/dist/cjs/src/organisms/LoginForm/LoginForm.stories.d.ts +0 -8
  382. package/dist/cjs/src/organisms/ProcessTracker/ProcessTracker.d.ts +0 -21
  383. package/dist/cjs/src/organisms/ProcessTracker/ProcessTracker.stories.d.ts +0 -8
  384. package/dist/cjs/src/organisms/ProcessTracker/mocks.d.ts +0 -2
  385. package/dist/cjs/src/organisms/ProfileInformation/ProfileInformation.d.ts +0 -18
  386. package/dist/cjs/src/organisms/ProfileInformation/ProfileInformation.stories.d.ts +0 -8
  387. package/dist/cjs/src/organisms/SetPasswordForm/SetPasswordForm.stories.d.ts +0 -8
  388. package/dist/cjs/src/organisms/SubscribePanel/SubscribePanel.d.ts +0 -2
  389. package/dist/cjs/src/organisms/SubscribePanel/SubscribePanel.stories.d.ts +0 -10
  390. package/dist/cjs/src/organisms/SubscribePanel/SubscribePanelA.d.ts +0 -2
  391. package/dist/cjs/src/organisms/SubscribePanel/SubscribePanelB.d.ts +0 -2
  392. package/dist/cjs/src/organisms/SubscribePanel/constants.d.ts +0 -4
  393. package/dist/cjs/src/organisms/SubscribePanel/organism-data.d.ts +0 -2
  394. package/dist/cjs/src/organisms/SubscribePanel/styles.d.ts +0 -17
  395. package/dist/cjs/src/organisms/SubscribePanel/type.d.ts +0 -19
  396. package/dist/cjs/src/organisms/SubscribePanel/useSubscribeHandler.d.ts +0 -5
  397. package/dist/cjs/src/organisms/TwoFactorAuth/TwoFactorAuth.stories.d.ts +0 -8
  398. package/dist/cjs/src/templates/DefaultTemplate/DefaultTemplate.stories.d.ts +0 -8
  399. package/dist/cjs/src/templates/DefaultTemplate/mockProps.d.ts +0 -5
  400. package/dist/cjs/src/theme/useMediaQuery.d.ts +0 -2
  401. package/dist/esm/src/atoms/Avatar/Avatar.stories.d.ts +0 -8
  402. package/dist/esm/src/atoms/Buttons/Buttons.stories.d.ts +0 -19
  403. package/dist/esm/src/atoms/Buttons/IconButton.d.ts +0 -12
  404. package/dist/esm/src/atoms/Buttons/TextButton.d.ts +0 -17
  405. package/dist/esm/src/atoms/Checkbox/Checkbox.stories.d.ts +0 -8
  406. package/dist/esm/src/atoms/Checkbox/helpers.d.ts +0 -2
  407. package/dist/esm/src/atoms/Checkbox/types.d.ts +0 -18
  408. package/dist/esm/src/atoms/Circle/Circle.d.ts +0 -8
  409. package/dist/esm/src/atoms/Circle/Circle.stories.d.ts +0 -8
  410. package/dist/esm/src/atoms/CircularIndicator/CircularIndicator.d.ts +0 -8
  411. package/dist/esm/src/atoms/CircularIndicator/CircularIndicator.stories.d.ts +0 -8
  412. package/dist/esm/src/atoms/GoogleMap/GoogleMap.d.ts +0 -13
  413. package/dist/esm/src/atoms/GoogleMap/GoogleMap.stories.d.ts +0 -12
  414. package/dist/esm/src/atoms/HorizontalButtons/HorizontalButtons.d.ts +0 -11
  415. package/dist/esm/src/atoms/HorizontalButtons/HorizontalButtons.stories.d.ts +0 -8
  416. package/dist/esm/src/atoms/Icon/Icon.stories.d.ts +0 -8
  417. package/dist/esm/src/atoms/Input/Input.stories.d.ts +0 -35
  418. package/dist/esm/src/atoms/Input/helpers.d.ts +0 -44
  419. package/dist/esm/src/atoms/RadioButtons/RadioButtons.d.ts +0 -55
  420. package/dist/esm/src/atoms/RadioButtons/RadioButtons.stories.d.ts +0 -30
  421. package/dist/esm/src/atoms/RadioButtons/RadioOption.d.ts +0 -11
  422. package/dist/esm/src/atoms/RadioButtons/helpers.d.ts +0 -17
  423. package/dist/esm/src/atoms/RadioButtons/styles.d.ts +0 -10
  424. package/dist/esm/src/atoms/RegularImage/RegularImage.d.ts +0 -29
  425. package/dist/esm/src/atoms/RegularImage/RegularImage.stories.d.ts +0 -16
  426. package/dist/esm/src/atoms/RichTextViewer/RichTextViewer.d.ts +0 -24
  427. package/dist/esm/src/atoms/RichTextViewer/components/EditorElement.d.ts +0 -5
  428. package/dist/esm/src/atoms/RichTextViewer/components/Leaf.d.ts +0 -2
  429. package/dist/esm/src/atoms/RichTextViewer/components/index.d.ts +0 -2
  430. package/dist/esm/src/atoms/RichTextViewer/types.d.ts +0 -36
  431. package/dist/esm/src/atoms/Select/Select.stories.d.ts +0 -21
  432. package/dist/esm/src/atoms/Tab/Tab.d.ts +0 -56
  433. package/dist/esm/src/atoms/Tab/Tab.stories.d.ts +0 -31
  434. package/dist/esm/src/atoms/Tab/utils.d.ts +0 -4
  435. package/dist/esm/src/atoms/TextWrapper/TextWrapper.stories.d.ts +0 -8
  436. package/dist/esm/src/atoms/Toast/Toast.stories.d.ts +0 -9
  437. package/dist/esm/src/atoms/Tooltip/Tooltip.stories.d.ts +0 -9
  438. package/dist/esm/src/atoms/ValidationTag/ValidationTag.stories.d.ts +0 -8
  439. package/dist/esm/src/constants/params.d.ts +0 -8
  440. package/dist/esm/src/containers/Container.d.ts +0 -84
  441. package/dist/esm/src/containers/Container.stories.d.ts +0 -7
  442. package/dist/esm/src/containers/FormContainer.d.ts +0 -8
  443. package/dist/esm/src/containers/FormOrganismItem.d.ts +0 -11
  444. package/dist/esm/src/containers/FormStepContainer.d.ts +0 -9
  445. package/dist/esm/src/containers/MoleculeItem.d.ts +0 -8
  446. package/dist/esm/src/containers/OrganismItem.d.ts +0 -14
  447. package/dist/esm/src/containers/helpers.d.ts +0 -6
  448. package/dist/esm/src/containers/hooks/index.d.ts +0 -3
  449. package/dist/esm/src/containers/hooks/useCheckCondition.d.ts +0 -16
  450. package/dist/esm/src/containers/hooks/useCheckCondition.test.d.ts +0 -1
  451. package/dist/esm/src/containers/hooks/useFormOrganismItem.d.ts +0 -3
  452. package/dist/esm/src/containers/hooks/useSetFormData.d.ts +0 -10
  453. package/dist/esm/src/containers/hooks/useStateListenerValue.d.ts +0 -18
  454. package/dist/esm/src/containers/hooks/useStateModifierHandler.d.ts +0 -7
  455. package/dist/esm/src/containers/hooks/useStateViewModifierHandler.d.ts +0 -2
  456. package/dist/esm/src/containers/index.d.ts +0 -6
  457. package/dist/esm/src/containers/mock-data.d.ts +0 -1153
  458. package/dist/esm/src/containers/styles.d.ts +0 -38
  459. package/dist/esm/src/containers/types/moleculeTypes.d.ts +0 -345
  460. package/dist/esm/src/containers/types/types.d.ts +0 -135
  461. package/dist/esm/src/contexts/AccountButtonContext/AccountButtonContext.d.ts +0 -14
  462. package/dist/esm/src/contexts/AccountButtonContext/AccountButtonContextProvider.d.ts +0 -9
  463. package/dist/esm/src/contexts/ButtonActionsContext/ButtonActionsContext.d.ts +0 -12
  464. package/dist/esm/src/contexts/ButtonActionsContext/ButtonActionsContextProvider.d.ts +0 -26
  465. package/dist/esm/src/contexts/FormStepContext/FormStepContext.d.ts +0 -13
  466. package/dist/esm/src/contexts/FormStepContext/FormStepContextProvider.d.ts +0 -5
  467. package/dist/esm/src/contexts/FormStepContext/utils.d.ts +0 -2
  468. package/dist/esm/src/contexts/MlrRichTextViewerContext/MlrRichTextViewerContext.d.ts +0 -8
  469. package/dist/esm/src/contexts/MlrRichTextViewerContext/MlrRichTextViewerProvider.d.ts +0 -8
  470. package/dist/esm/src/contexts/MlrRichTextViewerContext/types.d.ts +0 -15
  471. package/dist/esm/src/contexts/OrganismContext/OrganismContext.d.ts +0 -33
  472. package/dist/esm/src/contexts/OrganismContext/OrganismContextProvider.d.ts +0 -31
  473. package/dist/esm/src/contexts/OrganismContext/utils.d.ts +0 -5
  474. package/dist/esm/src/contexts/StateContext/StateContext.d.ts +0 -7
  475. package/dist/esm/src/contexts/StateContext/StateContextProvider.d.ts +0 -7
  476. package/dist/esm/src/contexts/hooks/index.d.ts +0 -6
  477. package/dist/esm/src/contexts/hooks/useAccountButtonContext.d.ts +0 -6
  478. package/dist/esm/src/contexts/hooks/useButtonActionsContext.d.ts +0 -1
  479. package/dist/esm/src/contexts/hooks/useFormStepContext.d.ts +0 -1
  480. package/dist/esm/src/contexts/hooks/useMlrRichTextViewerContext.d.ts +0 -1
  481. package/dist/esm/src/contexts/hooks/useOrganismContext.d.ts +0 -1
  482. package/dist/esm/src/contexts/hooks/useStateContext.d.ts +0 -1
  483. package/dist/esm/src/contexts/index.d.ts +0 -13
  484. package/dist/esm/src/helpers/constants.d.ts +0 -6
  485. package/dist/esm/src/helpers/date.d.ts +0 -3
  486. package/dist/esm/src/helpers/slate.d.ts +0 -2
  487. package/dist/esm/src/helpers/utils.d.ts +0 -14
  488. package/dist/esm/src/helpers/validations.d.ts +0 -23
  489. package/dist/esm/src/hooks/useRequiredConsentsAcceptedValues.d.ts +0 -2
  490. package/dist/esm/src/icons/ArrowRight.d.ts +0 -2
  491. package/dist/esm/src/icons/Bookmark.d.ts +0 -2
  492. package/dist/esm/src/icons/CaretLeft.d.ts +0 -2
  493. package/dist/esm/src/icons/CaretRight.d.ts +0 -2
  494. package/dist/esm/src/icons/Edit.d.ts +0 -2
  495. package/dist/esm/src/icons/Menu.d.ts +0 -2
  496. package/dist/esm/src/icons/Play.d.ts +0 -2
  497. package/dist/esm/src/icons/Save.d.ts +0 -2
  498. package/dist/esm/src/icons/Search.d.ts +0 -2
  499. package/dist/esm/src/molecules/Alert/Alert.d.ts +0 -20
  500. package/dist/esm/src/molecules/Alert/Alert.stories.d.ts +0 -9
  501. package/dist/esm/src/molecules/AvatarDropdown/AvatarDropdown.stories.d.ts +0 -8
  502. package/dist/esm/src/molecules/BottomNavBarItem/BottomNavBarItem.d.ts +0 -11
  503. package/dist/esm/src/molecules/BottomNavBarItem/BottomNavBarItem.stories.d.ts +0 -8
  504. package/dist/esm/src/molecules/Button/Button.d.ts +0 -47
  505. package/dist/esm/src/molecules/Button/Button.stories.d.ts +0 -8
  506. package/dist/esm/src/molecules/Caruser/Carousel.d.ts +0 -17
  507. package/dist/esm/src/molecules/CheckboxField/CheckboxField.stories.d.ts +0 -61
  508. package/dist/esm/src/molecules/CheckboxField/CheckboxGroup.d.ts +0 -10
  509. package/dist/esm/src/molecules/CheckboxField/CheckboxGroup.stories.d.ts +0 -32
  510. package/dist/esm/src/molecules/CheckboxField/styles.d.ts +0 -6
  511. package/dist/esm/src/molecules/Checklist/Checklist.d.ts +0 -26
  512. package/dist/esm/src/molecules/Checklist/Checklist.stories.d.ts +0 -8
  513. package/dist/esm/src/molecules/Columns/Column.d.ts +0 -12
  514. package/dist/esm/src/molecules/Columns/ColumnImage.d.ts +0 -5
  515. package/dist/esm/src/molecules/Columns/Columns.d.ts +0 -16
  516. package/dist/esm/src/molecules/Columns/Columns.stories.d.ts +0 -8
  517. package/dist/esm/src/molecules/Columns/styles.d.ts +0 -27
  518. package/dist/esm/src/molecules/Columns/types.d.ts +0 -5
  519. package/dist/esm/src/molecules/Columns/useAnnotationCircle.d.ts +0 -4
  520. package/dist/esm/src/molecules/Consent/Consent.d.ts +0 -27
  521. package/dist/esm/src/molecules/Consent/Consent.stories.d.ts +0 -8
  522. package/dist/esm/src/molecules/Consent/ConsentCapture.d.ts +0 -20
  523. package/dist/esm/src/molecules/Consent/ConsentMolecule.d.ts +0 -11
  524. package/dist/esm/src/molecules/Consent/consentMock.d.ts +0 -7
  525. package/dist/esm/src/molecules/CustomValidation/CustomValidation.stories.d.ts +0 -8
  526. package/dist/esm/src/molecules/Drawer/Drawer.stories.d.ts +0 -9
  527. package/dist/esm/src/molecules/EmphasizedText/EmphasizedText.d.ts +0 -6
  528. package/dist/esm/src/molecules/EmphasizedText/EmphasizedText.stories.d.ts +0 -8
  529. package/dist/esm/src/molecules/FeedContentHeader/FeedContentHeader.d.ts +0 -11
  530. package/dist/esm/src/molecules/FeedContentHeader/FeedContentHeader.stories.d.ts +0 -8
  531. package/dist/esm/src/molecules/FieldLabels/FieldLabels.stories.d.ts +0 -8
  532. package/dist/esm/src/molecules/FieldLabels/helpers.d.ts +0 -8
  533. package/dist/esm/src/molecules/FieldSection/FieldSection.d.ts +0 -9
  534. package/dist/esm/src/molecules/FieldSection/FieldSection.stories.d.ts +0 -8
  535. package/dist/esm/src/molecules/HeroImage/HeroImage.d.ts +0 -17
  536. package/dist/esm/src/molecules/HeroImage/HeroImage.stories.d.ts +0 -8
  537. package/dist/esm/src/molecules/HorizontalButtonsField/HorizontalButtonsField.d.ts +0 -12
  538. package/dist/esm/src/molecules/HorizontalButtonsField/HorizontalButtonsField.stories.d.ts +0 -15
  539. package/dist/esm/src/molecules/Image/Image.d.ts +0 -20
  540. package/dist/esm/src/molecules/Image/Image.stories.d.ts +0 -8
  541. package/dist/esm/src/molecules/InputField/InputField.stories.d.ts +0 -66
  542. package/dist/esm/src/molecules/Link/Link.d.ts +0 -13
  543. package/dist/esm/src/molecules/Link/Link.stories.d.ts +0 -8
  544. package/dist/esm/src/molecules/MenuItems/MenuItem.d.ts +0 -20
  545. package/dist/esm/src/molecules/MenuItems/MenuItems.stories.d.ts +0 -8
  546. package/dist/esm/src/molecules/MenuNavigation/MenuNavigation.d.ts +0 -11
  547. package/dist/esm/src/molecules/MenuNavigation/MenuNavigation.stories.d.ts +0 -9
  548. package/dist/esm/src/molecules/PasswordSetup/PasswordSetup.d.ts +0 -25
  549. package/dist/esm/src/molecules/PasswordSetup/PasswordSetup.stories.d.ts +0 -8
  550. package/dist/esm/src/molecules/PdfDocument/PdfDocument.d.ts +0 -14
  551. package/dist/esm/src/molecules/PdfDocument/PdfDocument.stories.d.ts +0 -8
  552. package/dist/esm/src/molecules/RadioButtonField/RadioButtonField.d.ts +0 -74
  553. package/dist/esm/src/molecules/RadioButtonField/RadioButtonField.stories.d.ts +0 -74
  554. package/dist/esm/src/molecules/SelectField/SelectField.stories.d.ts +0 -53
  555. package/dist/esm/src/molecules/SelectableInfoCard/SelectableInfoCard.stories.d.ts +0 -8
  556. package/dist/esm/src/molecules/SettingsSelectionField/SettingsSelectionField.d.ts +0 -9
  557. package/dist/esm/src/molecules/SettingsSelectionField/SettingsSelectionField.stories.d.ts +0 -8
  558. package/dist/esm/src/molecules/Stepper/Step.d.ts +0 -9
  559. package/dist/esm/src/molecules/Stepper/Stepper.d.ts +0 -12
  560. package/dist/esm/src/molecules/Stepper/Stepper.stories.d.ts +0 -8
  561. package/dist/esm/src/molecules/Stepper/styles.d.ts +0 -21
  562. package/dist/esm/src/molecules/TabGroup/TabGroup.stories.d.ts +0 -8
  563. package/dist/esm/src/molecules/TextMolecule/TextMolecule.d.ts +0 -20
  564. package/dist/esm/src/molecules/TextMolecule/TextMolecule.stories.d.ts +0 -8
  565. package/dist/esm/src/molecules/Video/Video.d.ts +0 -22
  566. package/dist/esm/src/molecules/Video/Video.stories.d.ts +0 -8
  567. package/dist/esm/src/molecules/ZealUIModal/ZealUIModal.d.ts +0 -23
  568. package/dist/esm/src/molecules/ZealUIModal/ZealUIModal.stories.d.ts +0 -8
  569. package/dist/esm/src/organisms/AccountInformation/AccountInformation.d.ts +0 -10
  570. package/dist/esm/src/organisms/AcquisitionForm/AcquisitionForm.stories.d.ts +0 -8
  571. package/dist/esm/src/organisms/Body/Body.d.ts +0 -14
  572. package/dist/esm/src/organisms/Body/Body.stories.d.ts +0 -8
  573. package/dist/esm/src/organisms/BottomNavBarNavigation/BottomNavBarNavigation.d.ts +0 -5
  574. package/dist/esm/src/organisms/BottomNavBarNavigation/BottomNavBarNavigation.stories.d.ts +0 -8
  575. package/dist/esm/src/organisms/DynamicContentZone/DynamicContentZone.d.ts +0 -23
  576. package/dist/esm/src/organisms/DynamicContentZone/DynamicContentZone.stories.d.ts +0 -8
  577. package/dist/esm/src/organisms/FeedContent/FeedContent.d.ts +0 -2
  578. package/dist/esm/src/organisms/FeedContent/FeedContent.stories.d.ts +0 -8
  579. package/dist/esm/src/organisms/FeedContent/components/BackToFeedButton.d.ts +0 -2
  580. package/dist/esm/src/organisms/FeedContent/components/ExpandedContent.d.ts +0 -2
  581. package/dist/esm/src/organisms/FeedContent/components/FullWidthContentTemplate.d.ts +0 -2
  582. package/dist/esm/src/organisms/FeedContent/components/StandardContentTemplate.d.ts +0 -2
  583. package/dist/esm/src/organisms/FeedContent/constants.d.ts +0 -2
  584. package/dist/esm/src/organisms/FeedContent/styles.d.ts +0 -19
  585. package/dist/esm/src/organisms/FeedContent/types.d.ts +0 -35
  586. package/dist/esm/src/organisms/FeedContent/useSwitchHandler.d.ts +0 -10
  587. package/dist/esm/src/organisms/FeedContentContainer/FeedContentContainer.d.ts +0 -10
  588. package/dist/esm/src/organisms/FeedContentContainer/FeedContentContainer.stories.d.ts +0 -8
  589. package/dist/esm/src/organisms/FeedContentContainer/mocks.d.ts +0 -48
  590. package/dist/esm/src/organisms/Footer/Footer.d.ts +0 -6
  591. package/dist/esm/src/organisms/Footer/Footer.stories.d.ts +0 -8
  592. package/dist/esm/src/organisms/Footer/FooterA.d.ts +0 -12
  593. package/dist/esm/src/organisms/Footer/FooterB.d.ts +0 -10
  594. package/dist/esm/src/organisms/Footer/FooterC.d.ts +0 -6
  595. package/dist/esm/src/organisms/Footer/FooterD.d.ts +0 -15
  596. package/dist/esm/src/organisms/Footer/constants.d.ts +0 -1
  597. package/dist/esm/src/organisms/Footer/mocks.d.ts +0 -2
  598. package/dist/esm/src/organisms/Footer/shared.d.ts +0 -7
  599. package/dist/esm/src/organisms/Footer/styles.d.ts +0 -18
  600. package/dist/esm/src/organisms/Footer/types.d.ts +0 -10
  601. package/dist/esm/src/organisms/ForgotPasswordForm/ForgotPasswordForm.stories.d.ts +0 -8
  602. package/dist/esm/src/organisms/Header/Header.stories.d.ts +0 -8
  603. package/dist/esm/src/organisms/Header/HeaderA.d.ts +0 -18
  604. package/dist/esm/src/organisms/Header/HeaderB.d.ts +0 -3
  605. package/dist/esm/src/organisms/Header/HeaderC.d.ts +0 -3
  606. package/dist/esm/src/organisms/Header/HeaderD.d.ts +0 -6
  607. package/dist/esm/src/organisms/Header/HeaderMobileNavigation.d.ts +0 -3
  608. package/dist/esm/src/organisms/HeroSlider/HeroSlider.d.ts +0 -7
  609. package/dist/esm/src/organisms/HeroSlider/HeroSlider.stories.d.ts +0 -8
  610. package/dist/esm/src/organisms/ISI/ISI.d.ts +0 -3
  611. package/dist/esm/src/organisms/ISI/ISI.stories.d.ts +0 -8
  612. package/dist/esm/src/organisms/ISI/ISIA.d.ts +0 -6
  613. package/dist/esm/src/organisms/LoginForm/LoginForm.stories.d.ts +0 -8
  614. package/dist/esm/src/organisms/ProcessTracker/ProcessTracker.d.ts +0 -21
  615. package/dist/esm/src/organisms/ProcessTracker/ProcessTracker.stories.d.ts +0 -8
  616. package/dist/esm/src/organisms/ProcessTracker/mocks.d.ts +0 -2
  617. package/dist/esm/src/organisms/ProfileInformation/ProfileInformation.d.ts +0 -18
  618. package/dist/esm/src/organisms/ProfileInformation/ProfileInformation.stories.d.ts +0 -8
  619. package/dist/esm/src/organisms/SetPasswordForm/SetPasswordForm.stories.d.ts +0 -8
  620. package/dist/esm/src/organisms/SubscribePanel/SubscribePanel.d.ts +0 -2
  621. package/dist/esm/src/organisms/SubscribePanel/SubscribePanel.stories.d.ts +0 -10
  622. package/dist/esm/src/organisms/SubscribePanel/SubscribePanelA.d.ts +0 -2
  623. package/dist/esm/src/organisms/SubscribePanel/SubscribePanelB.d.ts +0 -2
  624. package/dist/esm/src/organisms/SubscribePanel/constants.d.ts +0 -4
  625. package/dist/esm/src/organisms/SubscribePanel/organism-data.d.ts +0 -2
  626. package/dist/esm/src/organisms/SubscribePanel/styles.d.ts +0 -17
  627. package/dist/esm/src/organisms/SubscribePanel/type.d.ts +0 -19
  628. package/dist/esm/src/organisms/SubscribePanel/useSubscribeHandler.d.ts +0 -5
  629. package/dist/esm/src/organisms/TwoFactorAuth/TwoFactorAuth.stories.d.ts +0 -8
  630. package/dist/esm/src/templates/DefaultTemplate/DefaultTemplate.stories.d.ts +0 -8
  631. package/dist/esm/src/templates/DefaultTemplate/mockProps.d.ts +0 -5
  632. package/dist/esm/src/theme/useMediaQuery.d.ts +0 -2
  633. /package/dist/cjs/src/{fieldsConfiguration/shared.d.ts → organisms/ForgotPasswordForm/constants.d.ts} +0 -0
  634. /package/dist/esm/src/{fieldsConfiguration/shared.d.ts → organisms/ForgotPasswordForm/constants.d.ts} +0 -0
package/dist/index.d.ts CHANGED
@@ -1,54 +1,31 @@
1
1
  /// <reference types="react" />
2
+ import { Callback, StylesType } from 'typescript';
2
3
  import * as react from 'react';
3
- import react__default, { PropsWithChildren, ReactNode, Dispatch, SetStateAction, MouseEvent, CSSProperties as CSSProperties$1, ComponentType, KeyboardEvent } from 'react';
4
+ import { PropsWithChildren, ReactNode, Dispatch, SetStateAction } from 'react';
4
5
  import * as styled_components from 'styled-components';
5
- import { CSSProperties, DefaultTheme } from 'styled-components';
6
- import * as theme from 'theme';
7
- import { ThemeColors as ThemeColors$1, SizesTypes as SizesTypes$1, FontSizesTypes as FontSizesTypes$2 } from 'theme';
8
- import * as typescript from 'typescript';
9
- import { StylesType, AnyObject as AnyObject$1, Callback as Callback$1, Nullable, StrictUnion, OverrideStyles, StyledTransientProps } from 'typescript';
10
- import { RefCallBack, Control as Control$1, ControllerProps as ControllerProps$1 } from 'react-hook-form/dist/types';
6
+ import { DefaultTheme, CSSProperties } from 'styled-components';
11
7
  import { IconNames as IconNames$1 } from 'atoms/Icon/Icon';
12
- import * as containers from 'containers';
13
- import { ContainerComponentProps as ContainerComponentProps$1, Molecule as Molecule$1, FormStateType as FormStateType$1, ProcessTrackerStatus as ProcessTrackerStatus$1, MoleculeTypes as MoleculeTypes$1, ContainerType as ContainerType$1, MetadataType as MetadataType$1, StateConfigType as StateConfigType$1, ConditionConfig as ConditionConfig$1, ConfigurationItemInfo as ConfigurationItemInfo$1, ProcessStep as ProcessStep$1, MetadataStateConfig as MetadataStateConfig$1 } from 'containers';
14
- import { FieldTypes as FieldTypes$1, UIFields as UIFields$1, InputFieldTypes as InputFieldTypes$1 } from 'fieldsConfiguration/types';
15
- import { ThemeColors as ThemeColors$2, FontSizesTypes as FontSizesTypes$1, SizesTypes as SizesTypes$2, BreakpointSizesTypes as BreakpointSizesTypes$1 } from 'theme/types';
16
- import * as atoms from 'atoms';
17
- import { SelectOption as SelectOption$1, LinkVariant as LinkVariant$1, TextProps as TextProps$1, IconNames as IconNames$2, TouchableOpacityProps as TouchableOpacityProps$1, AvatarProps as AvatarProps$1, TabProps as TabProps$1, InputProps as InputProps$1, SelectProps as SelectProps$1, RegularImageProps as RegularImageProps$1, TextButtonProps as TextButtonProps$1, TabTheme as TabTheme$1, RadioButtonsProps as RadioButtonsProps$1, RadioButtonInternalConfigProps as RadioButtonInternalConfigProps$1, HorizontalButtonsProps as HorizontalButtonsProps$1, IconProps as IconProps$1 } from 'atoms';
18
- import { ChecklistItem as ChecklistItem$1, ImageProps as ImageProps$1, TextMoleculeProps as TextMoleculeProps$1, ButtonProps as ButtonProps$1, TabGroupProps as TabGroupProps$1, AdditionalTabContainerProps as AdditionalTabContainerProps$1, InputFieldProps as InputFieldProps$1, SelectFieldProps as SelectFieldProps$1, RadioButtonFieldProps as RadioButtonFieldProps$1, CheckboxFieldProps as CheckboxFieldProps$1, ConsentType as ConsentType$1, LinkProps as LinkProps$1, AvatarDropdownProps as AvatarDropdownProps$1, AvatarDropdownMenuConfigType as AvatarDropdownMenuConfigType$1, FieldSectionProps as FieldSectionProps$1, BaseButtonProps as BaseButtonProps$1, MenuItem, ConsentProps as ConsentProps$1, HeroImageProps as HeroImageProps$1, ColumnsProps as ColumnsProps$1, EmphasizedTextProps as EmphasizedTextProps$1, FeedContentHeaderProps as FeedContentHeaderProps$1, AlertProps as AlertProps$1, BottomNaVBarItemProps as BottomNaVBarItemProps$1, MenuItemsProps as MenuItemsProps$1 } from 'molecules';
19
- import * as react_hook_form from 'react-hook-form';
20
- import { UseFormReturn, ValidationMode, ControllerProps, DeepPartial, FieldValues, FormState, Control } from 'react-hook-form';
21
- import { CheckboxInternalConfigProps as CheckboxInternalConfigProps$1 } from 'atoms/Checkbox/types';
22
- import { MaskConfig as MaskConfig$1 } from 'atoms/Input/helpers';
8
+ import { InputFieldTypes as InputFieldTypes$1 } from 'fieldsConfiguration/types';
9
+ import { SizesTypes as SizesTypes$1, ThemeColors as ThemeColors$1 } from 'theme/types';
10
+ import { SizesTypes as SizesTypes$2, ThemeColors as ThemeColors$2 } from 'theme';
23
11
  import { TooltipProps as TooltipProps$1 } from 'rc-tooltip/lib/Tooltip';
24
- import { WithGoogleMapProps } from 'react-google-maps/lib/withGoogleMap';
25
- import { WithScriptjsProps } from 'react-google-maps/lib/withScriptjs';
26
- import { Descendant } from 'slate';
27
- import { RadioGroup, DrawerProps as DrawerProps$1, ModalProps } from '@mui/material';
28
- import { UIFields as UIFields$2, InputFieldTypes as InputFieldTypes$2, UIField as UIField$1 } from 'fieldsConfiguration';
29
- import { SetPasswordFields, MaxRuleValidation, MinRuleValidation } from 'organisms/SetPasswordForm/types';
30
- import { ConsentProps as ConsentProps$2 } from 'molecules/Consent/Consent';
31
- import { FooterAProps } from 'organisms/Footer/FooterA';
32
- import { FooterBProps } from 'organisms/Footer/FooterB';
33
- import { FooterCProps } from 'organisms/Footer/FooterC';
34
- import { FooterDProps } from 'organisms/Footer/FooterD';
35
- import { FilteredFeedContentType as FilteredFeedContentType$1, HeroSliderProps as HeroSliderProps$1, ProcessTrackerProps as ProcessTrackerProps$1, ConsentProps as ConsentProps$3 } from 'organisms';
36
- import { FeedContentContainerProps as FeedContentContainerProps$1 } from 'organisms/FeedContentContainer/FeedContentContainer';
37
- import { SubscribePanelProps as SubscribePanelProps$1 } from 'organisms/SubscribePanel/type';
38
- import { ISIAProps } from 'organisms/ISI/ISIA';
39
- import { HeaderAProps as HeaderAProps$1 } from 'organisms/Header/HeaderA';
40
- import { FeedContentProps as FeedContentProps$1, FeedContentTemplateTypes as FeedContentTemplateTypes$1 } from 'organisms/FeedContent/types';
41
- import { AlertProps as AlertProps$2 } from 'molecules/Alert/Alert';
42
- import { PasswordFields, PasswordRuleValidation } from 'molecules/PasswordSetup/PasswordSetup';
43
- import { LoginFields as LoginFields$1 } from 'organisms/LoginForm/types';
44
- import { AnnotationsList as AnnotationsList$1 } from 'contexts/MlrRichTextViewerContext/types';
45
- import * as contexts_MlrRichTextViewerContext_MlrRichTextViewerContext from 'contexts/MlrRichTextViewerContext/MlrRichTextViewerContext';
46
- import * as contexts_ButtonActionsContext_ButtonActionsContext from 'contexts/ButtonActionsContext/ButtonActionsContext';
47
- export * from 'helpers/constants';
48
- import { CustomDescendant } from 'atoms/RichTextViewer/types';
49
- import { ConsentCaptureProps } from 'molecules/Consent/ConsentCapture';
50
- import * as containers_types_types from 'containers/types/types';
51
- import { ContainerProps as ContainerProps$1, ContainerComponentProps as ContainerComponentProps$2 } from 'containers/types/types';
12
+ import { Control } from 'react-hook-form/dist/types';
13
+ import { SelectOption as SelectOption$1 } from 'atoms/Select/types';
14
+ import { DrawerProps as DrawerProps$1 } from '@mui/material';
15
+ import { SetPasswordFields, SetPasswordRuleValidation } from 'organisms/SetPasswordForm/types';
16
+
17
+ declare type BaseButtonProps = {
18
+ onClick?: Callback;
19
+ variant?: 'primary' | 'secondary';
20
+ disabled?: boolean;
21
+ fullWidth?: boolean;
22
+ };
23
+ declare type ButtonProps = BaseButtonProps & {
24
+ fullWidth?: boolean;
25
+ text?: string;
26
+ loading?: boolean;
27
+ };
28
+ declare const Button: ({ text, onClick, loading, disabled, variant, fullWidth, }: ButtonProps) => JSX.Element;
52
29
 
53
30
  declare type TouchableOpacityProps = PropsWithChildren<{
54
31
  activeOpacity?: number;
@@ -63,1691 +40,263 @@ declare const TouchableOpacity: styled_components.StyledComponent<"div", styled_
63
40
  children?: react.ReactNode;
64
41
  }, never>;
65
42
 
66
- declare type CheckboxInternalConfigProps = Partial<{
67
- selectedCheckboxBackgroundColor: ThemeColors$1 | string;
68
- selectedCheckboxIconColor: ThemeColors$1 | string;
69
- buttonPadding: number;
70
- textPadding: number;
71
- styles: StylesType;
72
- wrapperStyles: StylesType;
73
- buttonOptionSpacing?: SizesTypes$1;
74
- }>;
75
-
76
- declare type CheckboxProps = {
77
- id: string;
78
- onClick: (id: string) => void;
79
- label: string;
80
- isError?: boolean;
43
+ declare type CheckBoxProps = {
44
+ value: boolean;
45
+ onClick: (value: boolean) => void;
81
46
  disabled?: boolean;
82
- isEditMode?: boolean;
83
- isSelected?: boolean;
84
- isRichText?: boolean;
85
- notInteractable?: boolean;
86
- internalConfig?: CheckboxInternalConfigProps;
47
+ error?: boolean;
48
+ label?: string;
87
49
  };
88
- declare const Checkbox: ({ id, onClick, label, isError, disabled, isEditMode, isSelected, isRichText, notInteractable, internalConfig, }: CheckboxProps) => JSX.Element;
50
+ declare const Checkbox: ({ label, onClick, value, disabled, error }: CheckBoxProps) => JSX.Element;
89
51
 
90
52
  declare type SelectOption = {
91
53
  id: string;
92
54
  label: string;
93
- value?: string;
94
- config?: AnyObject$1;
95
- };
96
- declare type SelectInternalConfigurationOptions = {
97
- placeholderTextColor: ThemeColors$1 | string;
98
- placeholderTextFontSize: number;
99
- selectedTextColor: ThemeColors$1 | string;
100
- selectedTextFontSize: number;
101
- verticalPadding: number;
102
- horizontalPadding: number;
103
- wrapperStyles: StylesType;
104
- styles: StylesType;
105
- };
106
- declare type SelectProps = Partial<{
107
- ref: RefCallBack;
108
- onBlur: Callback$1;
109
- value: string;
110
- optionsPresentation: boolean;
111
- onChange: (value: string) => void;
112
- placeholder: string;
113
- disabled: boolean;
114
- options: SelectOption[];
115
- isError: boolean;
116
- isEditMode: boolean;
117
- selectInternalConfig: SelectInternalConfigurationOptions;
118
- isRichText: boolean;
119
- }>;
120
- declare const Select: ({ ref, onBlur, onChange, value, placeholder, options, disabled, optionsPresentation, isError, isEditMode, selectInternalConfig, isRichText, }: SelectProps) => JSX.Element;
121
-
122
- declare const Container: ({ id, type, wide, props, compact, children, metadata, isMobile, }: {
123
- type: containers.ContainerType;
124
- metadata: containers.MetadataType;
125
- } & Partial<{
126
- containerTemplateType: "row_content_container";
127
- wide: Partial<{
128
- containerStyle: styled_components.CSSProperties;
129
- containerProps: Partial<{
130
- position: containers.ContainerPositionType;
131
- alignItems: containers.ContainerAlignItemsType;
132
- scrollBehaviour: containers.ContainerScrollBehaviourType;
133
- cornerRadius: number | theme.SizesTypes;
134
- gap: theme.SizesTypes;
135
- styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
136
- paddingTop: theme.SizesTypes;
137
- paddingBottom: theme.SizesTypes;
138
- paddingLeft: theme.SizesTypes;
139
- paddingRight: theme.SizesTypes;
140
- autoplay: boolean;
141
- autoplayDuration: number;
142
- formProps: containers.FormContainerProps;
143
- formStepProps: containers.FormStepContainerProps;
144
- border: string;
145
- activeChildrenIds: string[];
146
- activeOrganismIds: string[];
147
- padding: containers.Padding;
148
- }>;
149
- }>;
150
- compact: Partial<{
151
- containerStyle: styled_components.CSSProperties;
152
- containerProps: Partial<{
153
- position: containers.ContainerPositionType;
154
- alignItems: containers.ContainerAlignItemsType;
155
- scrollBehaviour: containers.ContainerScrollBehaviourType;
156
- cornerRadius: number | theme.SizesTypes;
157
- gap: theme.SizesTypes;
158
- styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
159
- paddingTop: theme.SizesTypes;
160
- paddingBottom: theme.SizesTypes;
161
- paddingLeft: theme.SizesTypes;
162
- paddingRight: theme.SizesTypes;
163
- autoplay: boolean;
164
- autoplayDuration: number;
165
- formProps: containers.FormContainerProps;
166
- formStepProps: containers.FormStepContainerProps;
167
- border: string;
168
- activeChildrenIds: string[];
169
- activeOrganismIds: string[];
170
- padding: containers.Padding;
171
- }>;
172
- }>;
173
- props: Partial<{
174
- position: containers.ContainerPositionType;
175
- alignItems: containers.ContainerAlignItemsType;
176
- scrollBehaviour: containers.ContainerScrollBehaviourType;
177
- cornerRadius: number | theme.SizesTypes;
178
- gap: theme.SizesTypes;
179
- styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
180
- paddingTop: theme.SizesTypes;
181
- paddingBottom: theme.SizesTypes;
182
- paddingLeft: theme.SizesTypes;
183
- paddingRight: theme.SizesTypes;
184
- autoplay: boolean;
185
- autoplayDuration: number;
186
- formProps: containers.FormContainerProps;
187
- formStepProps: containers.FormStepContainerProps;
188
- border: string;
189
- activeChildrenIds: string[];
190
- activeOrganismIds: string[];
191
- padding: containers.Padding;
192
- }>;
193
- isMobile: boolean;
194
- }> & {
195
- children?: ReactNode;
196
- } & {
197
- id: string;
198
- }) => JSX.Element | null;
199
- declare const ContainerComponent: ({ config, tabsProps, id, type, items, metadata, formData, setFormData, isMobile, isConfigurationMode, }: ContainerComponentProps$1 & {
200
- formData?: AnyObject$1 | undefined;
201
- setFormData?: Dispatch<SetStateAction<AnyObject$1>> | undefined;
202
- }) => JSX.Element | null;
203
-
204
- declare type ActionTypes = 'link' | 'popup' | 'drawer' | 'download' | 'submit' | 'reset' | 'destroy';
205
- declare type DataModelFieldFormatCodeTypes = 'date' | 'email' | 'string' | 'integer' | 'boolean' | 'numeric' | 'zip_code' | 'phone_number';
206
- declare type DataModelFieldFormatValueTypes = 'any' | 'text' | 'email' | 'integer' | 'numerical' | 'us_zip_code' | 'phone_number' | 'month_year_date' | 'day_month_year_date' | 'month_day_year_date' | 'year_month_day_date';
207
- declare type DownloadFile = {
208
- url: string;
209
- name: string;
210
- };
211
- declare type LinkAction = LinkAttributes;
212
- declare type PopupDrawerAction = ContainerComponentProps;
213
- declare type DownloadAction = DownloadFile;
214
- declare type SubmitAction = AnyObject$1;
215
- declare type CancelAction = AnyObject$1;
216
- declare type ResetAction = AnyObject$1;
217
- declare type DestroyAction = AnyObject$1;
218
- declare type Action = {
219
- type: ActionTypes;
220
- } & Partial<{
221
- link: LinkAction;
222
- popup: PopupDrawerAction;
223
- drawer: PopupDrawerAction;
224
- download: DownloadAction;
225
- submit: SubmitAction;
226
- cancel: CancelAction;
227
- reset: ResetAction;
228
- destroy: DestroyAction;
229
- }>;
230
- declare type FormStateType = 'default' | 'success' | 'error' | 'format_error' | 'field_error' | 'open_dropdown' | 'match_error';
231
- declare type ProcessTrackerStatus = 'complete' | 'incomplete' | 'in_progress';
232
- declare type OrientationType = 'horizontal' | 'vertical';
233
- declare type OrientationTypeLabel = 'Horizontal' | 'Vertical';
234
- declare type ProcessStep = {
235
- id: string;
236
- title: Partial<TextAttributes>;
237
- description?: Partial<TextAttributes>;
238
- status?: ProcessTrackerStatus;
239
- link?: Partial<LinkAttributes>;
240
- order: number;
241
- };
242
- declare type ImageAttributes = {
243
- attributeType: 'image';
244
- imageSource: string;
245
- };
246
- interface TextAttributes {
247
- id?: string;
248
- attributeType: 'text';
249
- isRichText?: boolean;
250
- text: string;
251
- }
252
- interface VideoAttributes {
253
- attributeType: 'video';
254
- videoSource: string;
255
- }
256
- interface ActionAttributes {
257
- attributeType: 'action';
258
- action: Action;
259
- }
260
- interface LinkAttributes {
261
- id: string;
262
- attributeType: 'link';
263
- type: 'internalLink' | 'externalLink' | 'external_link' | 'internal_link';
264
- internalLink: Nullable<string>;
265
- externalLink: Nullable<string>;
266
- name: string;
267
- }
268
- interface SelectAttributes {
269
- id?: string;
270
- attributeType: 'select';
271
- value: string;
272
- options: SelectOption$1[];
273
- }
274
- interface BooleanAttributes {
275
- attributeType: 'boolean';
276
- value: boolean;
277
- }
278
- interface IterableAttributes {
279
- attributeType: 'iterable';
280
- options: SelectOption$1[];
281
- }
282
- declare type DataModelFieldFormat = {
283
- id: string;
284
- label: string;
285
- value: DataModelFieldFormatValueTypes;
286
- code: DataModelFieldFormatCodeTypes;
287
- config: MaskConfig$1;
288
- };
289
- declare type DataConnectionValues = {
290
- dataFieldName: string;
291
- dataModelFieldId: string;
292
- defaultValue?: string;
293
- entitySubtypeId?: string;
294
- entitySubtypeName?: string;
295
- format: DataModelFieldFormat;
296
55
  };
297
- interface DataConnectionAttributes {
298
- id: string;
299
- attributeType: 'data_model_field';
300
- dataModelField: DataConnectionValues;
301
- }
302
- interface ConditionConfigAttributes {
303
- id: string;
304
- attributeType: 'condition_config';
305
- conditionConfig: ConditionConfig;
306
- }
307
- interface ColorAttributes {
308
- attributeType: 'color';
309
- color: string;
310
- }
311
- interface ProcessStepsAttributes {
312
- orientation: {
313
- attributeType: 'select';
314
- options: {
315
- id: OrientationType;
316
- label: OrientationTypeLabel;
317
- }[];
318
- value: OrientationType;
319
- };
320
- processSteps: {
321
- attributeType: 'process_steps';
322
- steps: ProcessStep[];
323
- };
324
- }
325
- interface ChecklistAttributes {
326
- checklist: {
327
- attributeType: 'checklist';
328
- items: ChecklistItem$1[];
329
- };
330
- }
331
- declare type MoleculeTypes = 'image' | 'text' | 'button' | 'video' | 'header_tab_group' | 'input_field' | 'select_field' | 'radio_button_field' | 'checkbox_field' | 'consent' | 'link' | 'password_setup_field' | 'account_button' | 'process_steps' | 'checklist';
332
- interface BaseMolecule {
333
- id: string;
334
- type: MoleculeTypes;
335
- instance: 'molecule';
336
- metadata: MetadataType;
337
- moleculeLibraryId: string;
338
- organismLibraryMoleculeId: string;
339
- }
340
- interface ImageMolecule extends BaseMolecule {
341
- type: 'image';
342
- attributes: Partial<{
343
- image: ImageAttributes;
344
- altText: Omit<TextAttributes, 'isRichText'>;
345
- link: LinkAttributes;
346
- }>;
347
- config: {
348
- props?: Omit<ImageProps$1, 'src' | 'link' | 'altText'>;
349
- };
350
- }
351
- interface TextMoleculeType extends BaseMolecule {
352
- type: 'text';
353
- attributes: Partial<{
354
- text: TextAttributes;
355
- seoStyle: SelectAttributes;
356
- fontVariant: SelectAttributes;
357
- color: ColorAttributes;
358
- }>;
359
- config: {
360
- props?: TextMoleculeProps$1;
361
- };
362
- }
363
- interface ButtonMolecule extends BaseMolecule {
364
- type: 'button';
365
- attributes: Partial<{
366
- title: TextAttributes;
367
- action: ActionAttributes;
368
- }>;
369
- config: {
370
- props?: Partial<Omit<ButtonProps$1, 'disabled' | 'children' | 'link' | 'text' | 'onClick' | 'elementId'>>;
371
- };
372
- }
373
- interface VideoMolecule extends BaseMolecule {
374
- type: 'video';
375
- attributes: Partial<{
376
- video: VideoAttributes;
377
- altText: Omit<TextAttributes, 'isRichText'>;
378
- autoPlayVideo: BooleanAttributes;
379
- enableCoverImage: BooleanAttributes;
380
- coverImage: ImageAttributes;
381
- }>;
382
- config: {
383
- props: Partial<{
384
- width: number;
385
- styles: StylesType;
386
- }>;
387
- };
388
- }
389
- interface TabGroupMolecule extends BaseMolecule {
390
- type: 'header_tab_group';
391
- attributes: Partial<{
392
- tabs: {
393
- tabKey: string;
394
- text: string;
395
- disabled: boolean;
396
- divider: boolean;
397
- }[];
398
- activeTabKey: string;
399
- attributeType: 'tab_group';
400
- }>;
401
- config: {
402
- props: TabGroupProps$1;
403
- wide: AdditionalTabContainerProps$1;
404
- compact: AdditionalTabContainerProps$1;
405
- };
406
- }
407
- interface TextInputMolecule extends BaseMolecule {
408
- type: 'input_field';
409
- attributes: Partial<{
410
- label: TextAttributes;
411
- required: BooleanAttributes;
412
- dataModelField: DataConnectionAttributes;
413
- conditionConfig: ConditionConfigAttributes;
414
- }>;
415
- config: {
416
- props: InputFieldProps$1;
417
- };
418
- }
419
- interface SelectFieldMolecule extends BaseMolecule {
420
- type: 'select_field';
421
- attributes: Partial<{
422
- label: TextAttributes;
423
- required: BooleanAttributes;
424
- options: IterableAttributes;
425
- dataModelField: DataConnectionAttributes;
426
- conditionConfig: ConditionConfigAttributes;
427
- }>;
428
- config: {
429
- props: SelectFieldProps$1;
430
- };
431
- }
432
- interface RadioButtonFieldMolecule extends BaseMolecule {
433
- type: 'radio_button_field';
434
- attributes: Partial<{
435
- label: TextAttributes;
436
- required: BooleanAttributes;
437
- options: IterableAttributes;
438
- dataModelField: DataConnectionAttributes;
439
- conditionConfig: ConditionConfigAttributes;
440
- }>;
441
- config: {
442
- props: RadioButtonFieldProps$1<string>;
443
- };
444
- }
445
- interface CheckboxFieldMolecule extends BaseMolecule {
446
- type: 'checkbox_field';
447
- attributes: Partial<{
448
- label: TextAttributes;
449
- required: BooleanAttributes;
450
- options: IterableAttributes;
451
- dataModelField: DataConnectionAttributes;
452
- conditionConfig: ConditionConfigAttributes;
453
- }>;
454
- config: {
455
- props: CheckboxFieldProps$1;
456
- };
457
- }
458
- interface ConsentFieldMolecule extends BaseMolecule {
459
- type: 'consent';
460
- attributes: Partial<{
461
- consent: Partial<{
462
- attributeType: 'consent';
463
- consent: ConsentType$1;
464
- required: BooleanAttributes;
465
- }>;
466
- conditionConfig: ConditionConfigAttributes;
467
- }>;
468
- config: {
469
- props: Partial<{
470
- state: 'field_error';
471
- }>;
472
- };
473
- }
474
- interface LinkMolecule extends BaseMolecule {
475
- type: 'link';
476
- attributes: {
477
- text: TextAttributes;
478
- link: LinkAttributes;
479
- };
480
- config: {
481
- props: Omit<LinkProps$1, '$variant' | '$styles'> & Partial<{
482
- variant: LinkVariant$1;
483
- styles: StylesType;
484
- }>;
485
- };
486
- }
487
- interface PasswordSetupMolecule extends BaseMolecule {
488
- type: 'password_setup_field';
489
- attributes: Partial<{
490
- passwordFieldLabel: TextAttributes;
491
- reenteredPasswordFieldLabel: TextAttributes;
492
- passwordFieldRequired: BooleanAttributes;
493
- reenteredPasswordFieldRequired: BooleanAttributes;
494
- dataModelField: DataConnectionAttributes;
495
- }>;
496
- config: {
497
- props: {
498
- validationLabel?: string;
499
- state?: FormStateType;
500
- passwordInputProps: InputFieldProps$1;
501
- reenteredPasswordInputProps: InputFieldProps$1;
502
- };
503
- };
504
- }
505
- interface AccountButtonMolecule extends BaseMolecule {
506
- type: 'account_button';
507
- config: {
508
- props: AvatarDropdownProps$1<AvatarDropdownMenuConfigType$1>;
509
- };
510
- }
511
- interface ProcessStepsMoleculeType extends BaseMolecule {
512
- type: 'process_steps';
513
- organismMoleculeLibraryId: string;
514
- attributes: ProcessStepsAttributes;
515
- }
516
- interface ChecklistsMolecule extends BaseMolecule {
517
- type: 'checklist';
518
- config: {
519
- props: {
520
- gap: SizesTypes$1;
521
- } & CheckboxInternalConfigProps$1;
522
- };
523
- attributes: ChecklistAttributes;
524
- }
525
- declare type Molecule = StrictUnion<ImageMolecule | TextMoleculeType | ButtonMolecule | VideoMolecule | TabGroupMolecule | TextInputMolecule | SelectFieldMolecule | RadioButtonFieldMolecule | CheckboxFieldMolecule | ConsentFieldMolecule | LinkMolecule | PasswordSetupMolecule | AccountButtonMolecule | ProcessStepsMoleculeType | ChecklistsMolecule> & Partial<{
526
- form: UseFormReturn<any>;
527
- formData: AnyObject$1;
528
- setFormData: Dispatch<SetStateAction<AnyObject$1>>;
529
- }>;
530
- declare type SlateValueChildType = {
531
- id: string;
532
- text: string;
533
- variable?: {
534
- dataModelField: DataConnectionValues;
535
- text: string;
536
- isStateConfigPresent?: boolean;
537
- };
538
- };
539
-
540
- declare type ContainerType = 'row' | 'column' | 'slider' | 'form' | 'form_step' | 'dynamic';
541
- declare type ContainerTemplateType = 'row_content_container';
542
- declare type WrappedContainerType = Extract<ContainerType, 'slider' | 'form' | 'form_step'>;
543
- declare type ContainerPositionType = 'fixed' | 'sticky' | 'static' | 'relative';
544
- declare type ContainerAlignItemsType = 'start' | 'center' | 'end' | 'stretch';
545
- declare type ContainerScrollBehaviourType = 'vertical' | 'horizontal' | 'auto' | 'none';
546
- declare type StateActionType = 'visible' | 'disabled';
547
- declare type StateEventType = 'click' | 'view';
548
- declare type StateListenerConfigType = {
549
- role: 'stateListener';
550
- stateKey: string;
551
- stateValue: string | boolean;
552
- defaultState: Partial<Record<StateActionType, boolean>>;
553
- action: Partial<Record<StateActionType, boolean>>;
554
- };
555
- declare type StateModifierConfigType = {
556
- role: 'stateModifier';
557
- stateKey: string;
558
- event: StateEventType;
559
- };
560
- declare type MetadataStateConfig = StateListenerConfigType | StateModifierConfigType;
561
- declare type MetadataType = AnyObject$1 & Partial<{
562
- stateConfig: MetadataStateConfig[];
563
- referenceName: string;
564
- isAction: boolean;
565
- isTrigger: boolean;
566
- notEditable: boolean;
567
- hasOwnButton: boolean;
568
- stateListenerId: string;
569
- configurationPath: string;
570
- }>;
571
- declare type SliderProps = {
572
- autoplay?: boolean;
573
- autoplayDuration?: number;
574
- };
575
- declare type FormStepContainerProps = {
576
- formStepName: string;
577
- order: number;
578
- conditionConfig: ConditionConfig;
579
- formStepStyles?: CSSProperties;
580
- };
581
- declare type FormContainerProps = {
582
- mode: keyof ValidationMode;
583
- };
584
- declare type PaddingVariants = 'top' | 'right' | 'bottom' | 'left';
585
- declare type Padding = Record<PaddingVariants, SizesTypes$1 | number> | SizesTypes$1 | string;
586
- declare type ContainerPropsType = Partial<{
587
- position: ContainerPositionType;
588
- alignItems: ContainerAlignItemsType;
589
- scrollBehaviour: ContainerScrollBehaviourType;
590
- cornerRadius: SizesTypes$1 | number;
591
- gap: SizesTypes$1;
592
- styles: StylesType;
593
- paddingTop: SizesTypes$1;
594
- paddingBottom: SizesTypes$1;
595
- paddingLeft: SizesTypes$1;
596
- paddingRight: SizesTypes$1;
597
- autoplay: boolean;
598
- autoplayDuration: number;
599
- formProps: FormContainerProps;
600
- formStepProps: FormStepContainerProps;
601
- border: string;
602
- activeChildrenIds: string[];
603
- activeOrganismIds: string[];
604
- padding: Padding;
605
- }>;
606
- declare type AdditionalContainerProps = Partial<{
607
- containerStyle: CSSProperties;
608
- containerProps: ContainerPropsType;
609
- }>;
610
- declare type ContainerProps = PropsWithChildren<{
611
- type: ContainerType;
612
- metadata: MetadataType;
613
- } & Partial<{
614
- containerTemplateType: ContainerTemplateType;
615
- wide: AdditionalContainerProps;
616
- compact: AdditionalContainerProps;
617
- props: ContainerPropsType;
618
- isMobile: boolean;
619
- }>>;
620
- declare type ContainerComponentProps = {
621
- id: string;
622
- instance: 'container';
623
- type: ContainerType;
624
- items: (ContainerComponentProps | Molecule)[];
625
- config: Partial<{
626
- wide: AdditionalContainerProps;
627
- compact: AdditionalContainerProps;
628
- props: ContainerPropsType;
629
- }>;
630
- tabsProps?: Pick<TabGroupProps$1, 'tabs' | 'activeTabKey' | 'onTabChange'>;
631
- metadata?: MetadataType;
632
- attributes?: AnyObject$1;
633
- containerLibraryId?: string;
634
- isMobile?: boolean;
635
- isConfigurationMode?: boolean;
636
- };
637
- declare type CriteriaType = 'operator' | 'condition';
638
- declare type ConditionCriteria = {
639
- id: string;
640
- type: CriteriaType;
641
- operator: string;
642
- dataFieldId: Nullable<string>;
643
- subtypeId: Nullable<string>;
644
- dataFieldName: Nullable<string>;
645
- dataValue: Nullable<string>;
646
- connectedTo: Nullable<string>;
647
- };
648
- declare type SegmentationType = 'simple' | 'advanced';
649
- declare type ConditionConfig = Nullable<{
650
- id: string;
651
- segmentationType: SegmentationType;
652
- criteriaList: ConditionCriteria[];
653
- }>;
654
- declare type FormDataStateConfig = {
655
- value?: string | number;
656
- } & Record<string, {
657
- value?: string | number;
658
- }>;
659
- declare type ActionEventType = Record<string, boolean>;
660
- declare type ProcessTrackerStateValue = {
661
- visible?: boolean;
662
- journeyId: string;
663
- steps: Pick<ProcessStep, 'id' | 'status' | 'link' | 'order'>[];
664
- };
665
- declare type StateConfigType = {
666
- [stateKey: string]: Nullable<StrictUnion<boolean | string | FormDataStateConfig | ActionEventType | ProcessTrackerStateValue>>;
667
- };
668
-
669
- declare type Callback = () => void;
670
- declare type AnyObject = Record<string, unknown>;
671
-
672
- declare type ConfigurationItemInfo = {
673
- $selected?: boolean;
674
- isConfigurationMode?: boolean;
675
- onClick?: (e: MouseEvent) => void;
676
- };
677
- declare const ContainerWrapper: styled_components.StyledComponent<"div", DefaultTheme, Pick<ContainerProps$1, "type"> & {
678
- containerProps?: Partial<{
679
- position: containers_types_types.ContainerPositionType;
680
- alignItems: containers_types_types.ContainerAlignItemsType;
681
- scrollBehaviour: containers_types_types.ContainerScrollBehaviourType;
682
- cornerRadius: number | SizesTypes$1;
683
- gap: SizesTypes$1;
684
- styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, DefaultTheme>>;
685
- paddingTop: SizesTypes$1;
686
- paddingBottom: SizesTypes$1;
687
- paddingLeft: SizesTypes$1;
688
- paddingRight: SizesTypes$1;
689
- autoplay: boolean;
690
- autoplayDuration: number;
691
- formProps: containers_types_types.FormContainerProps;
692
- formStepProps: containers_types_types.FormStepContainerProps;
693
- border: string;
694
- activeChildrenIds: string[];
695
- activeOrganismIds: string[];
696
- padding: containers_types_types.Padding;
697
- }> | undefined;
698
- metadata?: AnyObject | undefined;
699
- }, never>;
700
-
701
- declare type OrganismItemProps = {
702
- item: ContainerComponentProps$1 | Molecule$1;
703
- tabsProps?: Pick<TabGroupProps$1, 'tabs' | 'activeTabKey' | 'onTabChange'>;
704
- formData?: AnyObject$1;
705
- setFormData?: Dispatch<SetStateAction<AnyObject$1>>;
706
- isMobile?: boolean;
707
- isConfigurationMode?: boolean;
708
- onConfigurationItemHandler?: (itemPath: string) => void;
709
- };
710
- declare const OrganismItem: ({ item, tabsProps, formData, setFormData, isMobile, }: OrganismItemProps) => JSX.Element | null;
711
-
712
- declare type FormOrganismItemProps = {
713
- item: ContainerComponentProps$2;
714
- activeChildrenIds: string[];
715
- formData?: AnyObject$1;
716
- setFormData?: Dispatch<SetStateAction<AnyObject$1>>;
717
- isMobile?: boolean;
718
- };
719
- declare const FormOrganismItem: ({ formData, setFormData, isMobile, ...props }: FormOrganismItemProps) => JSX.Element | null;
720
-
721
- declare const getFieldPlaceholder: (type: FieldTypes$1, title?: string) => string;
722
-
723
- declare type InputFieldTypes = 'any' | 'text' | 'email' | 'integer' | 'password' | 'username' | 'numerical' | 'us_zip_code' | 'phone_number' | 'month_year_date' | 'day_month_year_date' | 'month_day_year_date' | 'year_month_day_date';
724
- declare type FieldTypes = 'input' | 'select' | 'checkbox';
725
- declare type UIField<T = string> = (UIInputField & UISelectField & UICheckboxField) & {
726
- name: T;
727
- type: FieldTypes;
56
+ declare type SelectProps = {
728
57
  value?: string;
729
- label?: string;
58
+ onChange?: (value: string) => void;
730
59
  placeholder?: string;
731
- required?: boolean;
732
- tooltip?: string;
733
- rules?: ControllerProps['rules'];
734
- order?: number;
735
- };
736
- declare type UIInputField = {
737
- inputType?: InputFieldTypes;
738
- maxLength?: number;
739
- onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;
740
- } & InputFieldProps$1;
741
- declare type UISelectField = {
742
- options?: SelectOption$1[];
743
- } & SelectFieldProps$1;
744
- declare type UICheckboxField = {
745
- checkboxLabel?: string;
60
+ disabled?: boolean;
61
+ options: SelectOption[];
62
+ isError?: boolean;
63
+ isEditMode?: boolean;
746
64
  };
747
- declare type UIFields<T extends object> = UIField<keyof T>[];
748
-
749
- declare const getInitialValuesFromFields: <T extends object>(fields: UIFields$1<T>) => DeepPartial<T>;
750
- declare const isFormValid: <T extends FieldValues>(formState: FormState<T>) => boolean;
751
- declare const getFieldsFromFieldSections: <T extends object>(sections: Pick<FieldSectionProps$1<T>, "fields">[]) => UIFields$1<T>;
752
-
753
- declare const acquisitionFormMockFields: UIFields$1<Record<string, string>>;
754
- declare const setPasswordMockFields: UIFields$1<SetPasswordFields>;
755
- declare const passwordMockFields: UIFields$1<PasswordFields>;
756
- declare const loginMockFields: UIFields$1<LoginFields$1>;
757
- declare const sectionMockFields: UIFields$1<Record<string, string>>;
758
- declare const profileInformationMockForm: {
759
- label: string;
760
- fields: UIFields$1<Record<string, string>>;
761
- }[];
762
65
 
763
- declare type MaskConfig = {
764
- maskPlaceholder?: string;
765
- maskPattern?: Array<string | RegExp>;
766
- dataModelFieldType: DataModelFieldFormatCodeTypes;
767
- };
66
+ declare const Select: ({ onChange, value, placeholder, options, disabled, isError, }: SelectProps) => JSX.Element;
768
67
 
769
- declare type InputFieldInternalConfigProps = Partial<{
770
- textColor: ThemeColors$2 | string;
771
- textFontSize: number;
772
- placeholderTextColor: ThemeColors$2 | string;
773
- placeholderTextFontSize: number;
774
- verticalPadding: number;
775
- horizontalPadding: number;
776
- styles: StylesType;
777
- wrapperStyles: StylesType;
778
- }>;
779
68
  declare type InputIconProps = {
780
69
  name: IconNames$1;
781
- onClick?: Callback$1;
782
- };
783
- declare type InputProps = Partial<{
784
- value: string;
785
- leftIcon: InputIconProps;
786
- rightIcon: InputIconProps;
787
- onBlur: Callback$1;
788
- type: InputFieldTypes$1;
789
- placeholder: string;
790
- disabled: boolean;
791
- isEditMode: boolean;
792
- isError: boolean;
793
- maxLength: number;
794
- onChange: (value: string) => void;
795
- onKeyDown: (event: react__default.KeyboardEvent<HTMLInputElement>) => void;
796
- internalConfig: InputFieldInternalConfigProps;
797
- config?: MaskConfig;
798
- state: FormStateType$1;
799
- }>;
800
- declare const Input: ({ value, leftIcon, rightIcon, onChange, onBlur, disabled, isError, placeholder, isEditMode, type, internalConfig, config, ...rest }: InputProps) => JSX.Element;
801
-
802
- declare type TextTypes = 'primary' | 'secondary' | 'error' | 'success';
803
- declare type TextAlign = 'center' | 'right' | 'left';
804
- declare type SeoTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
805
- declare type TextProps = {
806
- variant: FontSizesTypes$1;
807
- layout?: 'div' | 'span';
808
- type?: TextTypes;
809
- styles?: StylesType;
810
- color?: ThemeColors$2 | string;
811
- numberOfLines?: number;
812
- textAlign?: TextAlign;
813
- behaveAs?: 'text' | 'button';
814
- seoTag?: SeoTags;
815
- htmlElementId?: string;
816
- };
817
- declare type TextWrapperProps = PropsWithChildren<TextProps>;
818
- declare const TextWrapper: ({ children, seoTag, ...textProps }: TextWrapperProps) => JSX.Element;
819
- declare const ErrorText: ({ text }: {
820
- text: string;
821
- }) => JSX.Element;
822
-
823
- declare type IconProps = {
824
- name: IconNames;
825
- size?: number;
826
- color?: ThemeColors$1 | string;
827
- fill?: ThemeColors$1 | string;
828
- pointerEvents?: 'auto' | 'none';
829
- style?: CSSProperties;
830
- };
831
- declare const availableIcons: {
832
- ArrowRight: ({ color, ...props }: Omit<IconProps, "name">) => JSX.Element;
833
- Bell: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
834
- Bookmark: ({ fill, color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
835
- CaretDown: ({ color, size, }: Omit<IconProps, "name">) => JSX.Element;
836
- CaretLeft: ({ color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
837
- CaretRight: ({ color, size, ...props }: Omit<IconProps, "name">) => JSX.Element;
838
- CaretUp: ({ color, ...props }: Omit<IconProps, "name">) => JSX.Element;
839
- Check: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
840
- Close: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
841
- Edit: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
842
- Filter: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
843
- Hide: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
844
- Info: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
845
- InfoBoxIcon: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
846
- Mail: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
847
- Menu: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
848
- Minus: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
849
- Mobile: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
850
- Play: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
851
- Save: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
852
- Search: ({ size, color, ...props }: Omit<IconProps, "name">) => JSX.Element;
853
- View: ({ color, size, }: Omit<IconProps, "name">) => JSX.Element;
854
- Warning: ({ size, color, }: Omit<IconProps, "name">) => JSX.Element;
855
- };
856
- declare type IconNames = keyof typeof availableIcons;
857
- declare const Icon: ({ name, color, ...props }: IconProps) => JSX.Element;
858
-
859
- declare type SpacerProps = {
860
- width?: SizesTypes$1 | number;
861
- height?: SizesTypes$1 | number;
862
- layout?: 'div' | 'span';
863
- };
864
- declare const Spacer: styled_components.StyledComponent<"div", styled_components.DefaultTheme, SpacerProps, never>;
865
-
866
- declare const Spinner: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
867
- color?: ThemeColors$2 | undefined;
868
- size?: SizesTypes$2 | undefined;
869
- }, never>;
870
-
871
- declare type RegularImageProps = {
872
- src: string;
873
- } & Partial<{
874
- alt: string;
875
- width: number | string;
876
- height: number | string;
877
- onClick: Callback$1;
878
- cornerRadius: SizesTypes$1 | number;
879
- }> & OverrideStyles;
880
- declare const RegularImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, {
881
- src: string;
882
- } & Partial<{
883
- alt: string;
884
- width: number | string;
885
- height: number | string;
886
- onClick: Callback$1;
887
- cornerRadius: SizesTypes$1 | number;
888
- }> & OverrideStyles, never>;
889
- declare const BackgroundImage: styled_components.StyledComponent<"img", styled_components.DefaultTheme, {
890
- src: string;
891
- } & Partial<{
892
- alt: string;
893
- width: number | string;
894
- height: number | string;
895
- onClick: Callback$1;
896
- cornerRadius: SizesTypes$1 | number;
897
- }> & OverrideStyles, never>;
898
-
899
- declare type LinkVariant = 'link' | 'custom';
900
- declare type TextButtonProps = Pick<BaseButtonProps$1, 'disabled' | 'onClick' | 'children' | 'colorTheme' | 'size'> & Partial<{
901
- buttonLink: string;
902
- elementId: string;
903
- $styles: StylesType;
904
- $variant: LinkVariant;
905
- textColor: string;
906
- }>;
907
- declare const TextButton: styled_components.StyledComponent<"a", styled_components.DefaultTheme, Pick<BaseButtonProps$1, "children" | "onClick" | "disabled" | "size" | "colorTheme"> & Partial<{
908
- buttonLink: string;
909
- elementId: string;
910
- $styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
911
- $variant: LinkVariant;
912
- textColor: string;
913
- }>, never>;
914
-
915
- declare type ValidationTagStatus = 'DEFAULT' | 'ERROR' | 'SUCCESS';
916
- declare type ValidationTagProps = {
917
- status: ValidationTagStatus;
918
- text: string;
919
- };
920
- declare const ValidationTag: ({ text, status }: ValidationTagProps) => JSX.Element;
921
-
922
- declare type TooltipProps = Pick<TooltipProps$1, 'overlay' | 'placement' | 'trigger' | 'visible' | 'children'> & {
923
- styles?: StylesType;
70
+ onClick?: Callback;
924
71
  };
925
- declare const StyleWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, OverrideStyles, never>;
926
- declare const Tooltip: ({ trigger, placement, styles, ...props }: TooltipProps) => JSX.Element;
927
-
928
- declare type ToastType = 'success' | 'infoTierOne' | 'infoTierTwo' | 'warning' | 'error';
929
- declare type ToastParams = {
930
- message: string;
931
- type?: ToastType;
932
- duration?: number;
933
- };
934
-
935
- declare const toast: ({ message, type, duration }: ToastParams) => void | undefined;
936
-
937
- declare type HorizontalButtonsProps = {
938
- selectedButtonId: string;
939
- buttonOptions: {
940
- value: string;
941
- id: string;
942
- }[];
943
- onClick: (value: string) => void;
72
+ declare type InputProps = {
73
+ value?: string;
74
+ leftIcon?: InputIconProps;
75
+ rightIcon?: InputIconProps;
76
+ onBlur?: Callback;
77
+ type?: InputFieldTypes$1;
78
+ placeholder?: string;
944
79
  disabled?: boolean;
945
- error?: boolean;
946
- };
947
- declare const HorizontalButtons: ({ onClick, disabled, buttonOptions, selectedButtonId, error, }: HorizontalButtonsProps) => JSX.Element;
948
-
949
- declare type AvatarProps = {
950
- size?: SizesTypes$1 | number;
951
- withShadow?: boolean;
952
- label?: string;
953
- backgroundColor?: ThemeColors$1;
954
- textConfig?: {
955
- color?: ThemeColors$1;
956
- font?: FontSizesTypes$2;
957
- };
958
- content: {
959
- initials?: string;
960
- iconName?: IconNames;
961
- imageUrl?: string;
962
- };
963
- onPress?: Callback$1;
964
- };
965
- declare const Avatar: ({ size, withShadow, label, backgroundColor, onPress, content: { initials, iconName, imageUrl }, textConfig: { color, font }, }: AvatarProps) => JSX.Element;
966
-
967
- declare type PaddingProps = {
968
- padding: SizesTypes$1 | number;
969
- };
970
- declare const HorizontalPadding: styled_components.StyledComponent<"div", styled_components.DefaultTheme, PaddingProps, never>;
971
- declare const VerticalPadding: styled_components.StyledComponent<"div", styled_components.DefaultTheme, PaddingProps, never>;
972
-
973
- declare type DividerProps = {
974
- type?: 'horizontal' | 'vertical';
975
- color?: ThemeColors$1 | string;
976
- marginVertical?: SizesTypes$1 | number;
977
- marginHorizontal?: SizesTypes$1 | number;
978
- weight?: number;
979
- };
980
- declare const Divider: styled_components.StyledComponent<"div", styled_components.DefaultTheme, DividerProps, never>;
981
-
982
- declare type MapPosition = {
983
- lat: number;
984
- lng: number;
985
- };
986
- declare type GoogleMapProps = {
987
- position: MapPosition;
988
- } & WithScriptjsProps & WithGoogleMapProps;
989
- declare const GoogleMap: react__default.ComponentClass<{
990
- position: MapPosition;
991
- } & WithScriptjsProps & WithGoogleMapProps, any>;
992
-
993
- declare const defaultValue: Descendant[];
994
- declare const MATRIX_MESSAGE_ELEMENT_ID = "matrix-message";
995
- declare const COMMUNICATION_LINK_ELEMENT_ID = "communication-link";
996
- declare const MATRIX_MESSAGE_DATA_ID = "matrix-message-id";
997
- declare const COMMUNICATION_LINK_DATA_URL = "communication-link-url";
998
- declare const COMMUNICATION_LINK_DATA_TEXT = "communication-link-text";
999
- declare type RichTextEditorProps = Partial<{
1000
- value: string;
1001
- font: FontSizesTypes$2;
1002
- color: ThemeColors$1 | string;
1003
- textStyles: StylesType;
1004
- numberOfLines: number;
1005
- extraTextProps: TextProps$1;
1006
- renderElementWrapperComponent: (props: AnyObject$1) => JSX.Element;
1007
- renderElementWrapperProps: AnyObject$1;
1008
- htmlElementId: string;
1009
- moleculeId: string;
1010
- isTrigger: boolean;
1011
- }>;
1012
- declare const RichTextViewer: ({ value, font, color, textStyles, numberOfLines, extraTextProps, renderElementWrapperComponent, renderElementWrapperProps, htmlElementId, moleculeId, isTrigger, }: RichTextEditorProps) => JSX.Element;
1013
-
1014
- declare type RadioButtonInternalConfigProps = Partial<{
1015
- selectedRadioOptionBackgroundColor: ThemeColors$1 | string;
1016
- selectedRadioOptionIndicatorColor: ThemeColors$1 | string;
1017
- buttonPadding: number;
1018
- textPadding: number;
1019
- styles: StylesType;
1020
- wrapperStyles: StylesType;
1021
- buttonOptionSpacing: SizesTypes$1;
1022
- radioGroupWrapperStyles: StylesType;
1023
- }>;
1024
- declare type RadioButtonsProps<T extends string> = Partial<{
1025
- ref: RefCallBack;
1026
- name: string;
1027
- value: T;
1028
- options: SelectOption[];
1029
- onBlur: Callback$1;
1030
- onChange: (value: T) => void;
1031
- isRow: boolean;
1032
- isError: boolean;
1033
- disabled: boolean;
1034
- isEditMode: boolean;
1035
- isRichText: boolean;
1036
- internalConfig: RadioButtonInternalConfigProps;
1037
- }>;
1038
- declare const RadioButtons: <T extends string>({ ref, name, value, options, onBlur, onChange, isRow, isError, disabled, isEditMode, isRichText, internalConfig, }: Partial<{
1039
- ref: RefCallBack;
1040
- name: string;
1041
- value: T;
1042
- options: SelectOption[];
1043
- onBlur: Callback$1;
1044
- onChange: (value: T) => void;
1045
- isRow: boolean;
1046
- isError: boolean;
1047
- disabled: boolean;
1048
- isEditMode: boolean;
1049
- isRichText: boolean;
1050
- internalConfig: Partial<{
1051
- selectedRadioOptionBackgroundColor: ThemeColors$1 | string;
1052
- selectedRadioOptionIndicatorColor: ThemeColors$1 | string;
1053
- buttonPadding: number;
1054
- textPadding: number;
1055
- styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1056
- wrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1057
- buttonOptionSpacing: SizesTypes$1;
1058
- radioGroupWrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1059
- }>;
1060
- }>) => JSX.Element;
1061
- declare const RadioGroupWrapper: styled_components.StyledComponent<typeof RadioGroup, styled_components.DefaultTheme, StyledTransientProps<{
1062
- isRow: boolean;
1063
- }> & OverrideStyles, never>;
1064
-
1065
- declare type CircleType = 'link' | 'message';
1066
- declare type CircleBoxProps = {
1067
- index: number;
1068
- type: CircleType;
1069
- };
1070
- declare const Circle: ({ index, type }: CircleBoxProps) => JSX.Element;
1071
- declare const CirclesWrapper: styled_components.StyledComponent<"span", styled_components.DefaultTheme, {}, never>;
1072
-
1073
- declare type CircularIndicatorProps = {
1074
- active: boolean;
1075
- activeColor?: ThemeColors$1 | string;
1076
- inactiveColor?: ThemeColors$1 | string;
1077
- };
1078
- declare const CircularIndicator: ({ activeColor, inactiveColor, ...props }: CircularIndicatorProps) => JSX.Element;
1079
- declare const CircularIndicatorStyledComponent: styled_components.StyledComponent<"span", styled_components.DefaultTheme, CircularIndicatorProps, never>;
1080
-
1081
- declare type IconButtonProps = {
1082
- name: IconNames$2;
1083
- size?: number;
1084
- onClick: Callback$1;
1085
- color?: ThemeColors$1 | string;
1086
- fill?: ThemeColors$1 | string;
1087
- pointerEvents?: 'auto' | 'none';
1088
- };
1089
- declare const IconButton: ({ name, color, onClick, disabled, activeOpacity, withoutOpacityEffect, ...props }: IconButtonProps & TouchableOpacityProps$1) => JSX.Element;
1090
-
1091
- declare type TabOption<T = string> = {
1092
- menuText: string;
1093
- menuKey: T;
1094
- onMenuClick?: (key: T) => void;
1095
- isSelected?: boolean;
1096
- };
1097
- declare type TabElement = HTMLDivElement | null;
1098
- declare type TabTheme = 'light' | 'dark';
1099
- declare type TabProps<T = string, K = string> = {
1100
- tabKey: T;
1101
- text: string;
1102
- } & Partial<{
1103
- disabled: boolean;
1104
- vertical: boolean;
1105
- isActive: boolean;
1106
- onClick: (key: T) => void;
1107
- options: MenuItem<K>[];
1108
- onOptionClick: (optionKey: K) => void;
1109
- tabTheme: TabTheme;
1110
- divider: boolean;
1111
- tabFont: FontSizesTypes$2;
1112
- textSize: number;
1113
- tabPadding: SizesTypes$1 | number;
1114
- defaultTabTextColor: ThemeColors$1 | string;
1115
- selectedTabTextColor: ThemeColors$1 | string;
1116
- selectedTabIndicatorColor: ThemeColors$1 | string;
1117
- styles: StylesType;
1118
- }>;
1119
- declare const ZealTab: <T extends string, K extends string>({ options, onClick, text, tabKey, vertical, onOptionClick, tabTheme, tabFont, tabPadding, selectedTabIndicatorColor, textSize, defaultTabTextColor, ...tabProps }: TabProps<T, K>, ref: react__default.ForwardedRef<TabElement>) => JSX.Element;
1120
- declare const Tab: <T, K>(props: {
1121
- tabKey: T;
1122
- text: string;
1123
- } & Partial<{
1124
- disabled: boolean;
1125
- vertical: boolean;
1126
- isActive: boolean;
1127
- onClick: (key: T) => void;
1128
- options: MenuItem<K_1>[];
1129
- onOptionClick: (optionKey: K) => void;
1130
- tabTheme: TabTheme;
1131
- divider: boolean;
1132
- tabFont: FontSizesTypes$2;
1133
- textSize: number;
1134
- tabPadding: SizesTypes$1 | number;
1135
- defaultTabTextColor: ThemeColors$1 | string;
1136
- selectedTabTextColor: ThemeColors$1 | string;
1137
- selectedTabIndicatorColor: ThemeColors$1 | string;
1138
- styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1139
- }> & {
1140
- ref?: react__default.ForwardedRef<TabElement> | undefined;
1141
- }) => ReturnType<typeof ZealTab>;
1142
-
1143
- declare type SetPasswordRuleValidation = {
1144
- label: string;
1145
- rule: MaxRuleValidation | MinRuleValidation;
1146
- };
1147
- declare type SetPasswordFormProps = {
1148
- fields: UIFields$2<SetPasswordFields>;
1149
- logoUrl: string;
1150
- isLoading?: boolean;
1151
- validations: SetPasswordRuleValidation[];
1152
- onSubmit: (values: SetPasswordFields) => void;
1153
- onBack: () => void;
1154
- };
1155
- declare const SetPasswordForm: ({ logoUrl, fields, validations, onBack, onSubmit, isLoading, }: SetPasswordFormProps) => JSX.Element;
1156
-
1157
- declare const showAcceptToastMessage: () => void | undefined;
1158
- declare type AcquisitionFormProps<T extends object> = {
1159
- fields: UIFields$2<T>;
1160
- consents: ConsentProps$1[];
1161
- logoUrl: string;
1162
- isLoading?: boolean;
1163
- isSubmitDisabled?: boolean;
1164
- title: string;
1165
- description?: string;
1166
- buttonText?: string;
1167
- onSubmit: (values: T) => void;
1168
- onLinkButtonClick?: Callback$1;
1169
- showConsentLabel?: boolean;
1170
- triggerFormInitially?: boolean;
1171
- isTooltipVisible?: boolean;
1172
- optionsPresentation?: boolean;
1173
- };
1174
- declare const AcquisitionForm: <T extends object>({ logoUrl, title, description, buttonText, fields, optionsPresentation, onSubmit, showConsentLabel, onLinkButtonClick, isSubmitDisabled, consents, isLoading, triggerFormInitially, isTooltipVisible, }: AcquisitionFormProps<T>) => JSX.Element;
1175
-
1176
- declare type VerificationCodeForm = {
1177
- code: string;
1178
- };
1179
- declare type AuthMethod = 'email' | 'sms';
1180
- declare type TwoFactorAuthProps = {
1181
- logoUrl: string;
1182
- onNext?: (authMethod: AuthMethod) => Promise<void>;
1183
- onSubmit?: (values: VerificationCodeForm) => void;
1184
- onBack?: () => void;
1185
- };
1186
- declare const TwoFactorAuth: ({ logoUrl, onSubmit, onBack, onNext }: TwoFactorAuthProps) => JSX.Element;
1187
-
1188
- declare type LoginFields = {
1189
- email: string;
1190
- password: string;
1191
- rememberMe: boolean;
1192
- };
1193
-
1194
- declare type LoginFormProps = {
1195
- fields: UIFields$2<LoginFields>;
1196
- logoUrl: string;
1197
- isLoading?: boolean;
1198
- twoFactorAuthConfig?: {
1199
- twoFactorShow: boolean;
1200
- twoFactorAuthProps: TwoFactorAuthProps;
1201
- };
1202
- optionsPresentation?: boolean;
1203
- onSubmit: (values: LoginFields) => void;
1204
- onSignUpButtonClick?: Callback$1;
1205
- onForgotPasswordButtonClick?: Callback$1;
1206
- isTooltipVisible?: boolean;
1207
- consents: ConsentProps$2[];
1208
- };
1209
- declare const LoginForm: ({ logoUrl, fields, isTooltipVisible, onSubmit, optionsPresentation, onSignUpButtonClick, isLoading, twoFactorAuthConfig, consents, onForgotPasswordButtonClick, }: LoginFormProps) => JSX.Element;
1210
-
1211
- declare type FooterProps = FooterAProps | FooterBProps | FooterCProps | FooterDProps;
1212
- declare const Footer: (props: FooterProps) => JSX.Element;
1213
-
1214
- declare type FeedContentTemplateTypes = 'full_width_content' | 'standard_content' | 'auto_play' | '';
1215
- declare type FeedContentProps = {
1216
- feedContentType: Omit<FilteredFeedContentType$1, 'all'>;
1217
- feedContentTemplate: FeedContentTemplateTypes;
1218
- id?: string;
1219
- image?: string;
1220
- video?: string;
1221
- document?: string;
1222
- title?: Nullable<string>;
1223
- description: Nullable<string>;
1224
- lastUpdated: string;
1225
- buttonConfig: {
1226
- disabled?: boolean;
1227
- onClick?: () => void;
1228
- };
1229
- withCloseIcon?: {
1230
- onClose: Callback$1;
1231
- };
1232
- isMobile?: boolean;
1233
- isExpanded?: boolean;
1234
- fullWidth?: boolean;
1235
- fullWidthTemplateContainerStyles?: CSSProperties;
1236
- showDefaultDocumentStyles?: boolean;
1237
- destinationLink?: string;
1238
- onDestinationHandler?: Callback$1;
1239
- imageStyles?: StylesType;
1240
- videoStyles?: CSSProperties;
1241
- isEnabledFavoriting?: boolean;
1242
- isFavorite?: boolean;
1243
- onFavoriteClickHandler?: Callback$1;
1244
- onFavoriteIconClick?: (selectedFeedContent: FeedContentProps) => void;
1245
- };
1246
-
1247
- declare const FeedContent: ({ feedContentTemplate, ...props }: FeedContentProps) => JSX.Element;
1248
-
1249
- declare type FooterContactInfo = {
1250
- phoneNumber: string;
1251
- addressLine1: string;
1252
- addressLine2: string;
1253
- };
1254
- declare type FooterLink = {
1255
- id: string;
1256
- name: string;
1257
- location: string;
1258
- };
1259
-
1260
- declare type ProfileInformationProps<TabKeys extends string> = {
1261
- backgroundImageUrl: string;
1262
- avatarProps: AvatarProps$1;
1263
- tabs: TabProps$1<string, TabKeys>[];
1264
- tabContents: Record<TabKeys, () => ReactNode>;
1265
- initialTabKey: TabKeys;
1266
- title: string;
1267
- editIcons?: {
1268
- isEditMode: boolean;
1269
- onSave: Callback$1;
1270
- onEdit: Callback$1;
1271
- onClose: Callback$1;
1272
- };
1273
- };
1274
- declare const ProfileInformation: <TabKeys extends string>({ avatarProps, backgroundImageUrl, initialTabKey, tabs, title, editIcons, tabContents, }: ProfileInformationProps<TabKeys>) => JSX.Element;
1275
-
1276
- declare type EmailAddressFields = {
1277
- email: string;
1278
- };
1279
- declare type ForgotPasswordFormProps = {
1280
- logoUrl: string;
1281
- isLoading?: boolean;
1282
- onSubmit?: (values: EmailAddressFields) => void;
1283
- onBack?: Callback$1;
1284
- };
1285
- declare const ForgotPasswordForm: ({ logoUrl, onBack, onSubmit, isLoading, }: ForgotPasswordFormProps) => JSX.Element;
1286
-
1287
- declare type BodyProps = {
1288
- elements: {
1289
- data: (HeroImageProps$1 | HeroSliderProps$1 | SubscribePanelProps$1 | ColumnsProps$1 | EmphasizedTextProps$1 | FeedContentContainerProps$1)[];
1290
- spacer?: number;
1291
- };
1292
- horizontalPaddings?: number;
1293
- containerStyles?: CSSProperties;
1294
- };
1295
- declare const Body: ({ elements, horizontalPaddings, containerStyles, }: BodyProps) => JSX.Element;
1296
-
1297
- declare type ISIProps = ISIAProps;
1298
- declare const ISI: (props: ISIProps) => JSX.Element;
1299
-
1300
- declare type ImportantLink = {
1301
- text: string;
1302
- href: string;
1303
- };
1304
- declare type HeaderAProps<T = string> = {
1305
- className?: string;
1306
- links?: ImportantLink[];
1307
- logoUrl: string;
1308
- tabsProps: TabGroupProps$1;
1309
- onActionButtonClick?: Callback$1;
1310
- buttonText: string;
1311
- buttonLink: string;
1312
- isMobile?: boolean;
1313
- };
1314
-
1315
- declare type HeaderBProps<T = string> = Pick<HeaderAProps$1<T>, 'isMobile' | 'logoUrl' | 'tabsProps' | 'buttonText' | 'onActionButtonClick' | 'buttonLink' | 'className'>;
1316
-
1317
- declare type HeaderCProps<T> = Pick<HeaderAProps$1<T>, 'logoUrl' | 'tabsProps' | 'isMobile' | 'className'>;
1318
-
1319
- declare type HeaderDProps = {
1320
- withAvatar: AvatarDropdownProps$1<string>;
1321
- } & Pick<HeaderAProps$1, 'isMobile' | 'logoUrl' | 'links' | 'tabsProps' | 'className'>;
1322
-
1323
- declare type HeaderProps<T = string> = (HeaderAProps<T> & {
1324
- type: 'header_a';
1325
- }) | (HeaderBProps<T> & {
1326
- type: 'header_b';
1327
- }) | (HeaderCProps<T> & {
1328
- type: 'header_c';
1329
- }) | (HeaderDProps & {
1330
- type: 'header_d';
1331
- });
1332
- declare const Header: <T extends string | number>(props: HeaderProps<T>) => JSX.Element;
1333
-
1334
- declare type ProcessTrackerProps = {
1335
- title?: Nullable<string>;
1336
- description?: Nullable<string>;
1337
- isMobile?: boolean;
1338
- statuses?: {
1339
- title: string;
1340
- description: string;
1341
- status: ProcessTrackerStatus$1;
1342
- }[];
1343
- currentStep?: number;
1344
- style?: CSSProperties;
1345
- withCloseIcon?: {
1346
- onClose: Callback$1;
1347
- };
1348
- destinationLink?: string;
1349
- onDestinationHandler?: Callback$1;
1350
- };
1351
- declare const ProcessTracker: ({ title, statuses, isMobile, description, currentStep, style, withCloseIcon, }: ProcessTrackerProps) => JSX.Element;
1352
-
1353
- declare type FilteredFeedContentType = 'all' | 'favourite';
1354
- declare type FeedContentContainerProps = {
1355
- type: 'feed';
1356
- feedHeader: Omit<FeedContentHeaderProps$1, 'isMobile'>;
1357
- feedContent?: Omit<FeedContentProps$1, 'isMobile'>[];
1358
- isMobile?: boolean;
1359
- };
1360
- declare const FeedContentContainer: ({ feedHeader, feedContent, isMobile, }: FeedContentContainerProps) => JSX.Element;
1361
-
1362
- declare type DynamicElementProps = (AlertProps$1 & {
1363
- elementType: 'alert';
1364
- }) | (ProcessTrackerProps$1 & {
1365
- elementType: 'process_tracker';
1366
- }) | (FeedContentProps$1 & {
1367
- elementType: 'feed_content';
1368
- });
1369
- declare type SizeProps = SizesTypes$1 | number;
1370
- declare type DynamicContentZoneProps = {
1371
- elements: {
1372
- data: DynamicElementProps[];
1373
- spacer?: SizeProps;
1374
- };
1375
- horizontalPaddings?: SizeProps;
1376
- containerStyles?: CSSProperties;
1377
- };
1378
- declare const DynamicContentZone: ({ elements, horizontalPaddings, containerStyles, }: DynamicContentZoneProps) => JSX.Element;
1379
-
1380
- declare type BottomNavBarNavigationProps = {
1381
- navbarItems: BottomNaVBarItemProps$1[];
1382
- };
1383
- declare const BottomNavBarNavigation: ({ navbarItems }: BottomNavBarNavigationProps) => JSX.Element;
1384
-
1385
- declare type HeroSliderProps = {
1386
- type: 'hero_slides';
1387
- heroSlides: Omit<HeroImageProps$1, 'type' | 'template'>[];
1388
- };
1389
- declare const HeroSlider: ({ heroSlides }: HeroSliderProps) => JSX.Element | null;
1390
- declare const HeroSliderWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
1391
-
1392
- declare type SubscribePanelTemplateKeys = `subscribe_template_${'a' | 'b'}`;
1393
- declare type SubscribePanelTemplateProps = {
1394
- title?: string;
1395
- description?: string;
1396
- isSubscribing?: boolean;
1397
- subscribeHandler: Callback$1;
1398
- isMobile: boolean;
1399
- control: Control<SubscribePanelForm>;
1400
- };
1401
- declare type SubscribePanelProps = Omit<SubscribePanelTemplateProps, 'isMobile' | 'control' | 'subscribeHandler'> & {
1402
- type: 'subscribe_panel';
1403
- template: SubscribePanelTemplateKeys;
1404
- onSubscribe: (email: string) => void;
1405
- };
1406
- declare type SubscribePanelForm = {
1407
- email: string;
1408
- };
1409
-
1410
- declare const SubscribePanel: ({ template, onSubscribe, ...props }: SubscribePanelProps) => JSX.Element;
1411
-
1412
- declare type DefaultTemplateProps = {
1413
- alerts?: AlertProps$2[];
1414
- processTracker?: ProcessTrackerProps$1;
1415
- header: React.ReactNode;
1416
- feedContent?: React.ReactNode;
1417
- banner?: React.ReactNode;
1418
- content?: React.ReactNode;
1419
- };
1420
- declare const DefaultTemplate: ({ header, banner, content, alerts, processTracker, feedContent, }: DefaultTemplateProps) => JSX.Element;
1421
-
1422
- interface Helpers {
1423
- goToNextStep: () => void;
1424
- goToPrevStep: () => void;
1425
- reset: () => void;
1426
- canGoToNextStep: boolean;
1427
- canGoToPrevStep: boolean;
1428
- setStep: Dispatch<SetStateAction<number>>;
1429
- }
1430
- declare const useStep: (maxStep: number) => [number, Helpers];
80
+ isEditMode?: boolean;
81
+ isError?: boolean;
82
+ maxLength?: number;
83
+ onChange?: (value: string) => void;
84
+ };
85
+ declare const Input: ({ value, leftIcon, rightIcon, onChange, onBlur, disabled, isError, placeholder, isEditMode, type, ...rest }: InputProps) => JSX.Element;
1431
86
 
1432
- declare const useRequiredConsentsAcceptedValues: (consents: ConsentProps$3[]) => boolean;
87
+ declare type TextTypes = 'primary' | 'secondary' | 'error' | 'success';
88
+ declare type TextWrapperProps = {
89
+ children: ReactNode;
90
+ variant: SizesTypes$1;
91
+ layout?: 'div' | 'span';
92
+ type?: TextTypes;
93
+ styles?: StylesType;
94
+ color?: ThemeColors$1 | string;
95
+ };
96
+ declare const TextWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, TextWrapperProps, never>;
1433
97
 
1434
98
  declare const defaultTheme: DefaultTheme;
1435
99
 
1436
- declare const ZealThemeProvider: (props: PropsWithChildren<{
1437
- theme?: DefaultTheme;
1438
- }>) => JSX.Element;
100
+ declare const ZealThemeProvider: (props: PropsWithChildren<{}>) => JSX.Element;
1439
101
 
1440
- declare type ThemeColors = 'primary' | 'primaryTint' | 'primaryShade' | 'secondary' | 'secondaryTint' | 'secondaryShade' | 'pink' | 'pinkTint' | 'pinkShade' | 'orange' | 'orangeTint' | 'orangeShade' | 'purple' | 'purpleTint' | 'purpleShade' | 'indigo' | 'indigoTint1' | 'indigoTint2' | 'gray1' | 'gray2' | 'gray3' | 'gray4' | 'gray5' | 'green' | 'greenTint' | 'greenShade' | 'yellow' | 'yellowTint' | 'yellowShade' | 'red' | 'redTint' | 'redShade' | 'black' | 'white' | 'blue' | 'blueTint' | 'blueShade' | 'background';
1441
- declare type SizesTypes = '5XL' | '4XL' | '3XL' | '2XL' | 'XL' | 'L' | 'M' | 'S' | 'XS';
1442
- declare type FontSizesTypes = Exclude<SizesTypes, '5XL' | '4XL'>;
1443
- declare type BreakpointSizesTypes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
1444
- declare type FontWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
102
+ declare type ThemeColors = 'primary' | 'secondary' | 'background' | 'gray1' | 'gray2' | 'gray3' | 'gray4' | 'gray5' | 'indigo' | 'blue' | 'white' | 'black' | 'indigoTint' | 'indigoTint2' | 'success' | 'error' | 'warning';
103
+ declare type SizesTypes = '2XL' | 'XL' | 'L' | 'M' | 'S' | 'XS';
1445
104
  declare type ThemeColorsType = Record<ThemeColors, string>;
1446
- declare type ThemeTextType = Record<FontSizesTypes, {
105
+ declare type ThemeTextType = Record<SizesTypes, {
1447
106
  'font-weight': string;
1448
107
  'font-size': number;
1449
108
  'line-height': number;
1450
109
  }>;
1451
110
  declare type ThemeSizesType = Record<SizesTypes, number>;
1452
- declare type ThemeDevicesType = Record<BreakpointSizesTypes, string>;
1453
- declare type ZealTheme = {
1454
- colors: ThemeColorsType;
1455
- fonts: Record<FontSizesTypes, number>;
1456
- sizes: ThemeSizesType;
1457
- devices: ThemeDevicesType;
1458
- };
1459
111
 
1460
- declare const toastStyles: styled_components.FlattenSimpleInterpolation;
112
+ declare type IconProps = {
113
+ name: IconNames;
114
+ size?: number;
115
+ color?: ThemeColors | string;
116
+ pointerEvents?: 'auto' | 'none';
117
+ };
118
+ declare const availableIcons: {
119
+ CaretDown: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
120
+ CaretUp: ({ color, ...props }: Omit<IconProps, "name">) => JSX.Element;
121
+ Filter: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
122
+ Check: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
123
+ Info: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
124
+ View: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
125
+ Hide: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
126
+ Close: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
127
+ Minus: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
128
+ InfoBoxIcon: ({ color, size }: Omit<IconProps, "name">) => JSX.Element;
129
+ Warning: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
130
+ Bell: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
131
+ Mobile: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
132
+ Mail: ({ size, color }: Omit<IconProps, "name">) => JSX.Element;
133
+ };
134
+ declare type IconNames = keyof typeof availableIcons;
135
+ declare const Icon: ({ name, color, ...props }: IconProps) => JSX.Element;
1461
136
 
1462
- declare const useMediaQuery: (breakpointSize: BreakpointSizesTypes$1) => boolean;
137
+ declare type SpacerProps = {
138
+ width?: SizesTypes$2 | number;
139
+ height?: SizesTypes$2 | number;
140
+ layout?: 'div' | 'span';
141
+ };
142
+ declare const Spacer: styled_components.StyledComponent<"div", styled_components.DefaultTheme, SpacerProps, never>;
1463
143
 
1464
- declare type MlrRichTextViewerProviderProps = PropsWithChildren<{
1465
- annotationsList: AnnotationsList$1;
1466
- isMLRReview: boolean;
1467
- showAnnotations: boolean;
1468
- }>;
1469
- declare const MlrRichTextViewerProvider: ({ children, isMLRReview, showAnnotations, annotationsList, }: MlrRichTextViewerProviderProps) => JSX.Element;
144
+ declare const Spinner: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
145
+ color?: ThemeColors$1 | undefined;
146
+ size?: SizesTypes$1 | undefined;
147
+ }, never>;
1470
148
 
1471
- declare type MlrRichTextViewerContextType = {
1472
- isMLRReview: boolean;
1473
- showAnnotations: boolean;
1474
- annotationsList: AnnotationsList$1;
149
+ declare type ImageProps = {
150
+ src: string;
151
+ alt?: string;
152
+ styles?: CSSProperties;
1475
153
  };
1476
- declare const MlrRichTextViewerContext: react.Context<MlrRichTextViewerContextType>;
154
+ declare const Image: (props: ImageProps) => JSX.Element;
1477
155
 
1478
- declare type AnnotationsList = {
1479
- tags: {
1480
- id: string;
1481
- label: string;
1482
- entityIds: string[];
1483
- moleculeIds: string[];
1484
- referencedByIds: string[];
1485
- }[];
1486
- links: {
1487
- referencedById: string;
1488
- moleculeId: string;
1489
- text: string;
1490
- url: string;
1491
- }[];
1492
- };
156
+ declare type LinkButtonProps = PropsWithChildren<{
157
+ activeOpacity?: number;
158
+ withoutOpacityEffect?: boolean;
159
+ disabled?: boolean;
160
+ onClick?: Callback;
161
+ }>;
162
+ declare const LinkButton: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
163
+ activeOpacity?: number | undefined;
164
+ withoutOpacityEffect?: boolean | undefined;
165
+ disabled?: boolean | undefined;
166
+ } & {
167
+ children?: react.ReactNode;
168
+ } & {
169
+ activeOpacity?: number | undefined;
170
+ withoutOpacityEffect?: boolean | undefined;
171
+ disabled?: boolean | undefined;
172
+ onClick?: Callback | undefined;
173
+ }, never>;
1493
174
 
1494
- declare const useMlrRichTextViewerContext: () => contexts_MlrRichTextViewerContext_MlrRichTextViewerContext.MlrRichTextViewerContextType;
175
+ declare type ValidationTagStatus = 'DEFAULT' | 'ERROR' | 'SUCCESS';
176
+ declare type ValidationTagProps = {
177
+ status: ValidationTagStatus;
178
+ text: string;
179
+ };
180
+ declare const ValidationTag: ({ text, status }: ValidationTagProps) => JSX.Element;
1495
181
 
1496
- declare const useButtonActionsContext: () => contexts_ButtonActionsContext_ButtonActionsContext.ButtonActionsContextType;
182
+ declare type TooltipProps = Pick<TooltipProps$1, 'overlay' | 'placement' | 'trigger' | 'visible' | 'children'>;
183
+ declare const StyleWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
184
+ declare const Tooltip: ({ trigger, placement, ...props }: TooltipProps) => JSX.Element;
1497
185
 
1498
- declare type ButtonActionsContextType = {
1499
- actionContent?: ContainerComponentProps$1;
1500
- setActionContent: Dispatch<SetStateAction<ContainerComponentProps$1>>;
1501
- isModalVisible: boolean;
1502
- isDrawerVisible: boolean;
1503
- setDrawerVisible: Dispatch<SetStateAction<boolean>>;
1504
- setActivePopUpById: (id: string) => void;
1505
- onCloseModal: (id: string) => void;
186
+ declare type ToastType = 'success' | 'infoTierOne' | 'infoTierTwo' | 'warning' | 'error';
187
+ declare type ToastParams = {
188
+ message: string;
189
+ type?: ToastType;
190
+ duration?: number;
1506
191
  };
1507
- declare const ButtonActionsContext: react.Context<ButtonActionsContextType>;
1508
192
 
1509
- declare type PopupPropsType = {
1510
- id: string;
1511
- config: {
1512
- styles?: AnyObject$1;
1513
- size?: 'large' | 'medium';
1514
- withCloseIcon?: boolean;
193
+ declare const toast: ({ message, type, duration }: ToastParams) => void | undefined;
194
+
195
+ declare type AvatarProps = {
196
+ size?: SizesTypes | number;
197
+ withShadow?: boolean;
198
+ label?: string;
199
+ backgroundColor?: ThemeColors;
200
+ textConfig?: {
201
+ color?: ThemeColors;
202
+ font?: SizesTypes;
1515
203
  };
1516
204
  content: {
1517
- embedded?: (ContainerComponentProps$1 | Molecule$1)[];
1518
- isi?: ContainerComponentProps$1 | Molecule$1;
205
+ initials?: string;
206
+ iconName?: IconNames;
207
+ imageUrl?: string;
1519
208
  };
209
+ onPress?: Callback;
1520
210
  };
1521
- declare type ButtonActionsProviderProps = PropsWithChildren<Partial<{
1522
- actionContent: ContainerComponentProps$1;
1523
- setActionContent: Dispatch<SetStateAction<ContainerComponentProps$1>>;
1524
- isModalVisible: boolean;
1525
- setDrawerVisible: Dispatch<SetStateAction<boolean>>;
1526
- isDrawerVisible: boolean;
1527
- setActivePopUpById: (id: string) => void;
1528
- onCloseModal: (id: string) => void;
1529
- popupProps?: PopupPropsType[];
1530
- }>>;
1531
- declare const ButtonActionsProvider: ({ children, popupProps }: ButtonActionsProviderProps) => JSX.Element;
1532
-
1533
- declare type StepItem = ContainerComponentProps$1 | Molecule$1;
1534
- declare type GroupedStepItemsByStepContainer = Map<string, StepItem[]>;
1535
-
1536
- declare type ConfigurationItem = {
1537
- entity: 'container' | 'molecule';
1538
- entityId: string;
1539
- organismId: string;
1540
- entityType: MoleculeTypes$1 | ContainerType$1;
1541
- entityMetadata: MetadataType$1;
1542
- organismLibraryMoleculeId?: string;
1543
- };
1544
- declare type OrganismContextProviderProps = PropsWithChildren<{
1545
- organismId: string;
1546
- } & Partial<{
1547
- formId: string;
1548
- editable: boolean;
1549
- isPreview: boolean;
1550
- initItems: (ContainerComponentProps$1 | Molecule$1)[];
1551
- validations: PasswordRuleValidation[];
1552
- submitHandler: (data: {
1553
- formId: string;
1554
- data: AnyObject$1;
1555
- }) => Promise<void>;
1556
- isFormInEditMode: boolean;
1557
- organismMetadata: AnyObject$1;
1558
- isConfigurationMode: boolean;
1559
- onConfigurationItemHandler: (itemInfo: ConfigurationItem) => void;
1560
- selectedConfigurationItemId: string;
1561
- }>>;
1562
- declare const OrganismContextProvider: ({ initItems, children, submitHandler, formId, organismId, validations, editable, isPreview, isFormInEditMode, organismMetadata, isConfigurationMode, onConfigurationItemHandler, selectedConfigurationItemId, }: OrganismContextProviderProps) => JSX.Element;
211
+ declare const Avatar: ({ size, withShadow, label, backgroundColor, onPress, content: { initials, iconName, imageUrl }, textConfig: { color, font }, }: AvatarProps) => JSX.Element;
1563
212
 
1564
- declare type OrganismContextType = {
1565
- items: (ContainerComponentProps$1 | Molecule$1)[];
1566
- groupStepItemsByStepContainer: () => GroupedStepItemsByStepContainer;
1567
- dateFields: {
1568
- id: string;
1569
- dateType: InputFieldTypes$2;
1570
- }[];
1571
- setDateFields: Dispatch<SetStateAction<{
1572
- id: string;
1573
- dateType: InputFieldTypes$2;
1574
- }[]>>;
1575
- formId?: string;
1576
- isPreview?: boolean;
1577
- submitHandler?: (data: {
1578
- formId: string;
1579
- data: AnyObject$1;
1580
- }) => Promise<void>;
1581
- validations?: PasswordRuleValidation[];
1582
- editable?: boolean;
1583
- isFormInEditMode?: boolean;
1584
- isConfigurationMode?: boolean;
1585
- organismMetadata?: MetadataType$1;
1586
- onConfigurationItemClicked: (itemInfo?: Omit<ConfigurationItem, 'organismId'>) => void;
1587
- selectedConfigurationItemId?: string;
213
+ declare type HorizontalPaddingProps = {
214
+ padding: SizesTypes$2 | number;
1588
215
  };
1589
- declare const OrganismContext: react.Context<OrganismContextType>;
216
+ declare const HorizontalPadding: styled_components.StyledComponent<"div", styled_components.DefaultTheme, HorizontalPaddingProps, never>;
217
+ declare const VerticalPadding: styled_components.StyledComponent<"div", styled_components.DefaultTheme, HorizontalPaddingProps, never>;
1590
218
 
1591
- declare type AccountButtonContextType = Partial<{
1592
- userInitials: string;
1593
- logOutHandler: Callback$1;
1594
- goToAccountInfo: Callback$1;
1595
- username: string;
1596
- }>;
1597
- declare const AccountButtonContext: react.Context<Partial<{
1598
- userInitials: string;
1599
- logOutHandler: Callback$1;
1600
- goToAccountInfo: Callback$1;
1601
- username: string;
1602
- }>>;
1603
-
1604
- declare type AccountButtonProviderProps = PropsWithChildren<Partial<{
1605
- userInitials: string;
1606
- logOutHandler: Callback$1;
1607
- goToAccountInfo: Callback$1;
1608
- username: string;
1609
- }>>;
1610
- declare const AccountButtonProvider: ({ children, goToAccountInfo, userInitials, logOutHandler, username, }: AccountButtonProviderProps) => JSX.Element;
1611
-
1612
- declare type StateContextType = {
1613
- stateConfig: StateConfigType$1;
1614
- stateHandler?: (updatedStateConfig: StateConfigType$1) => void;
219
+ declare type DividerProps = {
220
+ type?: 'horizontal' | 'vertical';
221
+ color?: ThemeColors$2 | string;
222
+ marginVertical?: SizesTypes$2 | number;
223
+ marginHorizontal?: SizesTypes$2 | number;
224
+ weight?: number;
1615
225
  };
1616
- declare const StateContext: react.Context<StateContextType>;
1617
-
1618
- declare type StateContextProviderProps = PropsWithChildren<{
1619
- initStateConfig: StateConfigType$1;
1620
- stateHandler?: (updatedStateConfig: StateConfigType$1) => void;
1621
- }>;
1622
- declare const StateContextProvider: ({ initStateConfig, children, stateHandler, }: StateContextProviderProps) => JSX.Element;
226
+ declare const Divider: styled_components.StyledComponent<"div", styled_components.DefaultTheme, DividerProps, never>;
1623
227
 
1624
228
  declare type FieldRuleLabelTypes = 'OPTIONAL' | 'REQUIRED';
1625
- declare type LabelInternalConfig = {
1626
- fontVariant: FontSizesTypes$2;
1627
- fontSize: number;
1628
- fontWeight: string | number;
1629
- color: ThemeColors$1 | string;
1630
- padding: string;
1631
- styles: StylesType;
1632
- wrapperStyles: StylesType;
1633
- };
1634
- declare type RuleLabelInternalConfig = {
1635
- requiredTextColor: ThemeColors$1 | string;
1636
- optionalTextColor: ThemeColors$1 | string;
1637
- padding: string;
1638
- fontSize: number;
1639
- styles: StylesType;
1640
- };
1641
- declare type TooltipInternalConfig = {
1642
- fontVariant: FontSizesTypes$2;
1643
- fontSize: number;
1644
- fontWeight: string | number;
1645
- color: ThemeColors$1 | string;
1646
- padding: string;
1647
- backgroundColor: ThemeColors$1 | string;
1648
- iconColor: ThemeColors$1 | string;
1649
- styles: StylesType;
1650
- wrapperStyles: StylesType;
1651
- };
1652
229
  declare type FieldLabelsProps = {
1653
- label?: string;
230
+ label: string;
1654
231
  tooltipText?: string;
1655
232
  isError?: boolean;
1656
- isTooltipVisible?: boolean;
1657
- ruleLabel?: Nullable<FieldRuleLabelTypes>;
1658
- labelInternalConfig?: LabelInternalConfig;
1659
- ruleLabelInternalConfig?: RuleLabelInternalConfig;
1660
- tooltipInternalConfig?: TooltipInternalConfig;
1661
- isRichText?: boolean;
233
+ ruleLabel?: FieldRuleLabelTypes;
1662
234
  };
1663
- declare const FieldLabels: ({ label, isTooltipVisible, isError, ruleLabel, tooltipText, labelInternalConfig, ruleLabelInternalConfig, tooltipInternalConfig, isRichText, }: FieldLabelsProps) => JSX.Element;
235
+ declare const FieldLabels: ({ label, isError, ruleLabel, tooltipText }: FieldLabelsProps) => JSX.Element;
1664
236
 
1665
- declare type InputFieldProps = Partial<{
237
+ declare type InputFieldProps = {
1666
238
  name: string;
1667
- control: Control$1<any>;
1668
- rules: ControllerProps$1['rules'];
1669
- required: boolean;
1670
- optional: boolean;
1671
- defaultValue: string;
1672
- inputProps: InputProps$1;
1673
- styles: StylesType;
1674
- labelsProps: FieldLabelsProps;
1675
- conditionConfig: ConditionConfig$1;
1676
- state: FormStateType$1;
1677
- formData: AnyObject$1;
1678
- htmlElementId: string;
1679
- configurationItemInfo?: ConfigurationItemInfo$1;
1680
- }>;
1681
- declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, rules, conditionConfig, state, formData, htmlElementId, configurationItemInfo, }: InputFieldProps) => JSX.Element | null;
239
+ control?: Control<any>;
240
+ required?: boolean;
241
+ optional?: boolean;
242
+ defaultValue?: string;
243
+ inputProps: InputProps;
244
+ styles?: CSSProperties;
245
+ labelsProps?: FieldLabelsProps;
246
+ };
247
+ declare const InputField: ({ control, name, inputProps, styles, labelsProps, defaultValue, optional, required, }: InputFieldProps) => JSX.Element;
248
+
249
+ declare type InputFieldTypes = 'number' | 'text' | 'email' | 'password';
250
+ declare type UIField<T = string> = (UIInputField | UISelectField | UICheckboxField) & {
251
+ name: T;
252
+ value?: string;
253
+ label?: string;
254
+ placeholder?: string;
255
+ required?: boolean;
256
+ optional?: boolean;
257
+ tooltip?: string;
258
+ };
259
+ declare type UIInputField = {
260
+ type: 'input';
261
+ inputType?: InputFieldTypes;
262
+ maxLength?: number;
263
+ };
264
+ declare type UISelectField = {
265
+ type: 'select';
266
+ options: SelectOption$1[];
267
+ };
268
+ declare type UICheckboxField = {
269
+ type: 'checkbox';
270
+ checkboxLabel?: string;
271
+ };
272
+ declare type UIFields<T extends object> = UIField<keyof T>[];
1682
273
 
1683
274
  declare type FieldMapperProps<T extends object> = {
1684
- field: UIField$1<keyof T>;
1685
- isEditMode?: boolean;
1686
- control?: Control$1<T>;
275
+ field: UIField<keyof T>;
276
+ control: Control<T>;
1687
277
  spacer?: number;
1688
- isTooltipVisible?: boolean;
1689
- optionsPresentation?: boolean;
1690
- styles?: StylesType;
1691
278
  };
1692
- declare const FieldMapper: <T extends object>({ field, isEditMode, spacer, control, isTooltipVisible, optionsPresentation, styles, }: FieldMapperProps<T>) => JSX.Element | null;
279
+ declare const FieldMapper: <T extends object>({ field, spacer, control, }: FieldMapperProps<T>) => JSX.Element;
1693
280
 
1694
- declare type CheckboxesProps = Partial<{
1695
- checkboxGroupWrapperStyles: StylesType;
1696
- checkboxFieldWrapperStyles: StylesType;
1697
- onChange: (id: string) => void;
1698
- disabled: boolean;
1699
- options?: SelectOption$1[];
1700
- selectedIds?: string[];
1701
- isError?: boolean;
1702
- isEditMode?: boolean;
1703
- isRichText: boolean;
1704
- internalConfig: CheckboxInternalConfigProps$1;
1705
- }>;
1706
- declare type CheckboxFieldProps = Partial<{
1707
- checkboxesProps: CheckboxesProps;
1708
- labelsProps: FieldLabelsProps;
281
+ declare type CheckboxFieldProps = {
1709
282
  name: string;
1710
- rules: ControllerProps$1['rules'];
1711
- control: Control$1<any>;
1712
- required: boolean;
1713
- optional: boolean;
1714
- wrapperStyles: StylesType;
1715
- conditionConfig: ConditionConfig$1;
1716
- state: FormStateType$1;
1717
- defaultValue: string[];
1718
- formData: AnyObject$1;
1719
- htmlElementId: string;
1720
- isTrigger?: boolean;
1721
- moleculeId: string;
1722
- configurationItemInfo?: ConfigurationItemInfo$1;
1723
- }>;
1724
- declare const CheckboxField: ({ checkboxesProps, name, rules, control, optional, required, labelsProps, wrapperStyles, conditionConfig, defaultValue, formData, htmlElementId, state, isTrigger, moleculeId, configurationItemInfo, }: CheckboxFieldProps) => JSX.Element | null;
1725
-
1726
- declare type CheckboxGroupProps = Partial<{
1727
- ref: RefCallBack;
1728
- onBlur: Callback$1;
1729
- onChange: (checkedIds: string[]) => void;
1730
- checkboxesProps: CheckboxesProps;
1731
- }>;
1732
- declare const CheckboxGroup: ({ ref, onBlur, onChange, checkboxesProps }: CheckboxGroupProps) => JSX.Element;
283
+ control: Control<any>;
284
+ defaultValue?: boolean;
285
+ checkboxProps: Omit<CheckBoxProps, 'error' | 'onClick' | 'value'>;
286
+ };
287
+ declare const CheckboxField: ({ control, name, checkboxProps, defaultValue, }: CheckboxFieldProps) => JSX.Element;
1733
288
 
1734
- declare type SelectFieldProps = Partial<{
1735
- selectProps: SelectProps$1;
1736
- labelsProps: FieldLabelsProps;
289
+ declare type SelectFieldProps = {
290
+ selectProps: SelectProps;
291
+ labelsProps?: FieldLabelsProps;
1737
292
  name: string;
1738
- rules: ControllerProps$1['rules'];
1739
- control: Control$1<any>;
1740
- required: boolean;
1741
- optional: boolean;
1742
- defaultValue: string;
1743
- styles: StylesType;
1744
- conditionConfig: ConditionConfig$1;
1745
- state: FormStateType$1;
1746
- formData: AnyObject$1;
1747
- htmlElementId: string;
1748
- configurationItemInfo?: ConfigurationItemInfo$1;
1749
- }>;
1750
- declare const SelectField: ({ selectProps, name, defaultValue, optional, required, control, styles, labelsProps, rules, conditionConfig, formData, state, htmlElementId, configurationItemInfo, }: SelectFieldProps) => JSX.Element | null;
293
+ control: Control<any>;
294
+ required?: boolean;
295
+ optional?: boolean;
296
+ defaultValue?: string;
297
+ styles?: CSSProperties;
298
+ };
299
+ declare const SelectField: ({ selectProps, name, defaultValue, optional, required, control, styles, labelsProps, }: SelectFieldProps) => JSX.Element;
1751
300
 
1752
301
  declare type CustomValidationRule<T = string> = {
1753
302
  text: string;
@@ -1758,13 +307,11 @@ declare type CustomValidationProps<T = string> = {
1758
307
  value: T;
1759
308
  isSubmitted?: boolean;
1760
309
  rules: CustomValidationRule<T>[];
1761
- spacer?: number;
1762
- validationState?: FormStateType$1;
1763
310
  };
1764
- declare const CustomValidation: <T extends string = string>({ rules, value, isSubmitted, label, spacer, validationState, }: CustomValidationProps<T>) => JSX.Element;
311
+ declare const CustomValidation: <T extends string = string>({ rules, value, isSubmitted, label, }: CustomValidationProps<T>) => JSX.Element;
1765
312
 
1766
313
  declare type BaseSelectableProps<T> = {
1767
- iconName: IconNames$2;
314
+ iconName: IconNames;
1768
315
  infoText: string;
1769
316
  isActive?: boolean;
1770
317
  onClick?: (value: T) => void;
@@ -1774,476 +321,179 @@ declare type BaseSelectableProps<T> = {
1774
321
  declare type SelectableCardGroupProps<T> = {
1775
322
  cards: BaseSelectableProps<T>[];
1776
323
  handleChange?: (value: T | undefined) => void;
1777
- spacing?: SizesTypes$1;
324
+ spacing?: SizesTypes;
1778
325
  initialValue?: T;
1779
326
  };
1780
327
  declare const SelectableCardGroup: <T extends string>({ cards, handleChange, spacing, initialValue, }: SelectableCardGroupProps<T>) => JSX.Element;
1781
328
 
1782
- declare type HeroImageAlignment = 'left_aligned' | 'center_aligned';
1783
- declare type HeroImageTemplate = 'card' | 'full_width';
1784
- declare type HeroImageProps = {
1785
- type: 'hero_image';
1786
- backgroundImage: RegularImageProps$1;
1787
- mainHeading: string;
1788
- subHeading?: string;
1789
- button?: ButtonProps$1;
1790
- contentAlignment?: HeroImageAlignment;
1791
- horizontalPaddings?: number;
1792
- template?: HeroImageTemplate;
1793
- isMobile?: boolean;
1794
- height?: number;
329
+ declare type BannerProps = {
330
+ backgroundImage: ImageProps;
331
+ title: string;
332
+ description?: string;
333
+ button?: ButtonProps;
1795
334
  };
1796
- declare const HeroImage: ({ backgroundImage, button, contentAlignment, mainHeading, horizontalPaddings, subHeading, template, isMobile, height, }: HeroImageProps) => JSX.Element;
335
+ declare const Banner: ({ backgroundImage, button, title, description }: BannerProps) => JSX.Element;
1797
336
 
1798
337
  declare type Anchor = 'top' | 'left' | 'bottom' | 'right';
1799
338
  declare type DrawerProps = DrawerProps$1 & {
1800
339
  anchor: Anchor;
1801
- padding?: SizesTypes$2 | number | string;
1802
- height?: number | string;
1803
- width?: number | string;
1804
- withCloseIcon?: boolean;
1805
- closeIconColor?: ThemeColors$2 | string;
1806
340
  };
1807
341
 
1808
- declare const Drawer: ({ children, closeIconColor, withCloseIcon, ...props }: PropsWithChildren<DrawerProps>) => JSX.Element;
1809
-
1810
- declare type ColumnsTemplateKeys = 'horizontal' | 'card' | 'with_image';
342
+ declare const Drawer: ({ children, ...props }: PropsWithChildren<DrawerProps>) => JSX.Element;
1811
343
 
1812
- declare type ColumnsProps = {
1813
- type: 'columns';
1814
- columns: ColumnItem[];
1815
- containerStyles?: CSSProperties$1;
1816
- template?: ColumnsTemplateKeys;
1817
- };
1818
- declare type ColumnItem = {
1819
- title?: string;
1820
- mainContent?: string;
1821
- button?: TextButtonProps$1;
1822
- icon: string;
344
+ declare type InfoBoxProps = {
345
+ title: string;
346
+ description?: string;
347
+ linkButton?: LinkButtonProps;
348
+ icon?: IconNames;
1823
349
  };
1824
- declare const Columns: ({ columns, containerStyles, template }: ColumnsProps) => JSX.Element;
350
+ declare const InfoBox: ({ title, icon, description, linkButton }: InfoBoxProps) => JSX.Element;
1825
351
 
1826
- declare type MenuItemType<T> = {
352
+ declare type MenuItem<T> = {
1827
353
  id: T;
1828
354
  title: string;
1829
- active?: boolean;
1830
- onClick: (id: T) => void;
1831
- options?: MenuItemType<T>[];
1832
- divider?: boolean;
1833
- disabled?: boolean;
1834
- itemColor?: string;
1835
- activeItemColor?: string;
355
+ onClick?: (id: T) => void;
1836
356
  };
1837
-
1838
357
  declare type MenuItemsProps<T> = {
1839
358
  title?: string;
1840
- options?: MenuItemType<T>[];
1841
- activeKey?: T;
1842
- itemColor?: string;
1843
- menuTheme?: 'light' | 'dark';
1844
359
  onItemPress?: (id: T) => void;
1845
- activeItemColor?: string;
360
+ options: MenuItem<T>[];
1846
361
  };
1847
- declare const MenuItems: <T extends string | number>({ title, options, activeKey, itemColor, menuTheme, onItemPress, activeItemColor, }: MenuItemsProps<T>) => JSX.Element;
362
+ declare const MenuItems: <T extends string | number>({ title, onItemPress, options, }: MenuItemsProps<T>) => JSX.Element;
1848
363
 
1849
- declare type AvatarDropdownMenuConfigType = 'log-out' | 'account-information';
1850
- declare type AvatarDropdownProps<T = string> = {
1851
- avatarProps: AvatarProps$1;
364
+ declare type AvatarDropdownProps<T> = {
365
+ avatarProps: AvatarProps;
1852
366
  menuConfig: MenuItemsProps<T>;
1853
- configurationItemInfo?: ConfigurationItemInfo$1;
1854
367
  };
1855
- declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, configurationItemInfo, }: AvatarDropdownProps<T>) => JSX.Element;
368
+ declare const AvatarDropdown: <T extends string | number>({ avatarProps, menuConfig, }: AvatarDropdownProps<T>) => JSX.Element;
1856
369
 
1857
- declare type TabType<T = string, K = string> = Pick<TabProps$1<T, K>, 'text' | 'tabKey' | 'disabled' | 'options' | 'divider'>;
1858
- declare type AdditionalTabContainerProps = {
1859
- containerStyle?: StylesType;
1860
- containerProps?: Record<string, unknown>;
370
+ declare type TabProps<T = string, K = string> = {
371
+ tabKey: T;
372
+ text: string;
373
+ disabled?: boolean;
374
+ isActive?: boolean;
375
+ onClick?: (key: T) => void;
376
+ options?: MenuItemsProps<T>[];
377
+ onOptionClick?: (optionKey: K) => void;
1861
378
  };
379
+
1862
380
  declare type TabGroupProps<T = string, K = string> = {
1863
- tabs: TabType<T, K>[];
381
+ tabs: Pick<TabProps<T>, 'text' | 'tabKey' | 'disabled' | 'options'>[];
1864
382
  activeTabKey: T;
383
+ spacing?: SizesTypes$1;
1865
384
  onTabChange?: (tabKey: T) => void;
1866
385
  onOptionClick?: (optionKey: K) => void;
1867
- styles?: StylesType;
1868
- vertical?: boolean;
1869
- tabTheme?: TabTheme$1;
1870
- tabFont?: FontSizesTypes$1;
1871
- textSize?: number;
1872
- tabPadding?: SizesTypes$2 | number;
1873
- tabSpacing?: SizesTypes$2;
1874
- defaultTabTextColor?: ThemeColors$2 | string;
1875
- selectedTabTextColor?: ThemeColors$2 | string;
1876
- selectedTabIndicatorColor?: ThemeColors$2 | string;
1877
- wide?: AdditionalTabContainerProps;
1878
- compact?: AdditionalTabContainerProps;
1879
- isMobile?: boolean;
1880
- htmlElementId?: string;
1881
- menuIconColor?: string;
1882
- configurationItemInfo?: ConfigurationItemInfo$1;
1883
- };
1884
- declare const TabGroup: <T extends string, K extends string>({ tabs, vertical, activeTabKey, onTabChange, tabTheme, wide, compact, tabSpacing, isMobile, htmlElementId, menuIconColor, configurationItemInfo, ...props }: TabGroupProps<T, K>) => JSX.Element;
1885
-
1886
- declare type FieldSectionProps<T extends object> = {
1887
- label: string;
1888
- control?: Control$1<T>;
1889
- isEditMode?: boolean;
1890
- fields: UIFields<T>;
1891
- };
1892
- declare const FieldSection: <T extends object>({ fields, label, isEditMode, control, }: FieldSectionProps<T>) => JSX.Element;
1893
-
1894
- declare type MenuNavigationProps<T> = {
1895
- menuConfig: MenuItemsProps<T>;
1896
- customIconType?: IconNames$2;
1897
- menuIconColor?: string;
1898
- };
1899
- declare const MenuNavigation: <T extends string | number>({ menuConfig, customIconType, menuIconColor, }: MenuNavigationProps<T>) => JSX.Element;
1900
- declare const CaretIconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
1901
- isOpen: boolean;
1902
- }, never>;
1903
-
1904
- declare type EmphasizedTextProps = {
1905
- type: 'emphasized_text';
1906
- invertColors: boolean;
1907
- textContent: string;
1908
386
  };
1909
- declare const EmphasizedText: ({ textContent, invertColors }: EmphasizedTextProps) => JSX.Element;
1910
-
1911
- declare type RadioButtonFieldProps<T extends string> = Partial<{
1912
- name: string;
1913
- rules: ControllerProps$1['rules'];
1914
- styles: StylesType;
1915
- control: Control$1<any>;
1916
- optional: boolean;
1917
- required: boolean;
1918
- labelsProps: FieldLabelsProps;
1919
- defaultValue: string;
1920
- radioButtonsProps: RadioButtonsProps$1<T>;
1921
- internalConfig: RadioButtonInternalConfigProps$1;
1922
- conditionConfig: ConditionConfig$1;
1923
- state: FormStateType$1;
1924
- formData: AnyObject$1;
1925
- htmlElementId: string;
1926
- isTrigger?: boolean;
1927
- moleculeId: string;
1928
- configurationItemInfo?: ConfigurationItemInfo$1;
1929
- }>;
1930
- declare const RadioButtonField: <T extends string>({ name, rules, styles, control, optional, required, labelsProps, defaultValue, radioButtonsProps, conditionConfig, formData, htmlElementId, state, isTrigger, moleculeId, configurationItemInfo, }: Partial<{
1931
- name: string;
1932
- rules: ControllerProps$1['rules'];
1933
- styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1934
- control: Control$1<any>;
1935
- optional: boolean;
1936
- required: boolean;
1937
- labelsProps: FieldLabelsProps;
1938
- defaultValue: string;
1939
- radioButtonsProps: Partial<{
1940
- ref: react_hook_form.RefCallBack;
1941
- name: string;
1942
- value: T;
1943
- options: atoms.SelectOption[];
1944
- onBlur: typescript.Callback;
1945
- onChange: (value: T) => void;
1946
- isRow: boolean;
1947
- isError: boolean;
1948
- disabled: boolean;
1949
- isEditMode: boolean;
1950
- isRichText: boolean;
1951
- internalConfig: Partial<{
1952
- selectedRadioOptionBackgroundColor: string;
1953
- selectedRadioOptionIndicatorColor: string;
1954
- buttonPadding: number;
1955
- textPadding: number;
1956
- styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1957
- wrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1958
- buttonOptionSpacing: SizesTypes;
1959
- radioGroupWrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1960
- }>;
1961
- }>;
1962
- internalConfig: Partial<{
1963
- selectedRadioOptionBackgroundColor: string;
1964
- selectedRadioOptionIndicatorColor: string;
1965
- buttonPadding: number;
1966
- textPadding: number;
1967
- styles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1968
- wrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1969
- buttonOptionSpacing: SizesTypes;
1970
- radioGroupWrapperStyles: styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<object, styled_components.DefaultTheme>>;
1971
- }>;
1972
- conditionConfig: ConditionConfig$1;
1973
- state: FormStateType$1;
1974
- formData: AnyObject$1;
1975
- htmlElementId: string;
1976
- isTrigger?: boolean | undefined;
1977
- moleculeId: string;
1978
- configurationItemInfo?: ConfigurationItemInfo$1 | undefined;
1979
- }>) => JSX.Element | null;
387
+ declare const TabGroup: <T extends string, K extends string>({ tabs, spacing, activeTabKey, onTabChange, }: TabGroupProps<T, K>) => JSX.Element;
1980
388
 
1981
- declare type AlertProps = {
1982
- style?: CSSProperties;
1983
- title: string;
1984
- description: string;
1985
- color?: string;
1986
- isMobile?: boolean;
1987
- logo?: string;
1988
- fullWidth?: boolean;
1989
- withCloseIcon?: {
1990
- onClose: Callback$1;
1991
- };
1992
- fontColor?: ThemeColors$1;
1993
- destinationLink?: string;
1994
- onDestinationHandler?: Callback$1;
1995
- containerStyles?: CSSProperties;
389
+ declare type SetPasswordFormProps = {
390
+ fields: UIFields<SetPasswordFields>;
391
+ logoUrl: string;
392
+ isLoading?: boolean;
393
+ validations: SetPasswordRuleValidation[];
394
+ onSubmit: (values: SetPasswordFields) => void;
395
+ onBack: () => void;
1996
396
  };
1997
- declare const Alert: ({ logo, title, withCloseIcon, description, style, fontColor, containerStyles, isMobile, ...props }: AlertProps) => JSX.Element;
397
+ declare const SetPasswordForm: ({ logoUrl, fields, validations, onBack, onSubmit, isLoading, }: SetPasswordFormProps) => JSX.Element;
1998
398
 
1999
- declare type ProcessTrackerOrientation = 'horizontal' | 'vertical';
2000
- declare type StepperProps = {
2001
- steps: ProcessStep$1[];
2002
- orientation: ProcessTrackerOrientation;
2003
- htmlElementId?: string;
2004
- metadata: MetadataType$1;
2005
- isMobile?: boolean;
2006
- isOnClickDisabled?: boolean;
2007
- configurationItemInfo?: ConfigurationItemInfo$1;
399
+ declare type AcquisitionFormProps<T extends object> = {
400
+ fields: UIFields<T>;
401
+ logoUrl: string;
402
+ isLoading?: boolean;
403
+ onSubmit: (values: T) => void;
404
+ onLinkButtonClick?: Callback;
2008
405
  };
2009
- declare const Stepper: ({ steps, orientation, htmlElementId, metadata, isMobile, isOnClickDisabled, configurationItemInfo, }: StepperProps) => JSX.Element | null;
406
+ declare const AcquisitionForm: <T extends object>({ logoUrl, fields, onSubmit, onLinkButtonClick, isLoading, }: AcquisitionFormProps<T>) => JSX.Element;
2010
407
 
2011
- declare type PdfDocumentProps = {
2012
- source: string;
2013
- isMobile?: boolean;
2014
- customDocumentStyles?: Partial<{
2015
- wrapperBackgroundColor: ThemeColors$1 | string;
2016
- pageNumberColor: ThemeColors$1 | string;
2017
- pageWidth: number;
2018
- pageHeight: number;
2019
- paginationArrowColor: ThemeColors$1 | string;
2020
- disabledPaginationArrowColor: ThemeColors$1 | string;
2021
- }>;
408
+ declare type LoginFields = {
409
+ email: string;
410
+ password: string;
411
+ rememberMe: boolean;
2022
412
  };
2023
- declare const PdfDocument: ({ source, isMobile, customDocumentStyles, }: PdfDocumentProps) => JSX.Element;
2024
-
2025
- declare type FeedTemplateKeys = `feed_${'a' | 'b'}`;
2026
- declare type FeedContentHeaderProps = {
2027
- title: string;
2028
- enableFavoriting?: boolean;
2029
- templateType: FeedTemplateKeys;
2030
- isMobile?: boolean;
2031
- menuConfig: MenuItemsProps$1<FilteredFeedContentType$1>;
2032
- } & Partial<Omit<InputFieldProps$1, 'labelsProps' | 'required' | 'optional'>>;
2033
- declare const FeedContentHeader: ({ templateType, title, name, inputProps, isMobile, menuConfig, ...rest }: FeedContentHeaderProps) => JSX.Element;
2034
413
 
2035
- declare type ToggleFieldProps = {
2036
- name: string;
2037
- title: string;
2038
- control?: Control$1<any>;
2039
- description?: string;
2040
- horizontalButtonsProps: HorizontalButtonsProps$1;
2041
- defaultValue?: string;
414
+ declare type VerificationCodeForm = {
415
+ code: string;
2042
416
  };
2043
- declare const HorizontalButtonsField: ({ name, title, control, description, horizontalButtonsProps, }: ToggleFieldProps) => JSX.Element;
2044
-
2045
- declare type BottomNaVBarItemProps = {
2046
- name: string;
2047
- icon: ComponentType<Omit<IconProps$1, 'name'>>;
2048
- active: boolean;
2049
- activeColor: string;
2050
- onNavigate: Callback;
417
+ declare type AuthMethod = 'email' | 'sms';
418
+ declare type TwoFactorAuthProps = {
419
+ logoUrl: string;
420
+ onNext?: (authMethod: AuthMethod) => Promise<void>;
421
+ onSubmit?: (values: VerificationCodeForm) => void;
422
+ onBack?: () => void;
2051
423
  };
2052
- declare const BottomNavBarItem: ({ name, icon, active, activeColor, onNavigate, }: BottomNaVBarItemProps) => JSX.Element;
2053
-
2054
- declare type VideoProps = {
2055
- src: string;
2056
- } & Partial<{
2057
- width: number;
2058
- height: number;
2059
- autoplay: boolean;
2060
- enableCoverImage: boolean;
2061
- coverImageSrc: string;
2062
- style: CSSProperties;
2063
- styles: StylesType;
2064
- template: FeedContentTemplateTypes$1;
2065
- htmlElementId: string;
2066
- moleculeId: string;
2067
- isTrigger: boolean;
2068
- isOnClickDisabled: boolean;
2069
- configurationItemInfo?: ConfigurationItemInfo$1;
2070
- }>;
2071
- declare const Video: ({ style, src, width, height, template, autoplay, enableCoverImage, coverImageSrc, styles, htmlElementId, isTrigger, moleculeId, isOnClickDisabled, configurationItemInfo, }: VideoProps) => JSX.Element | null;
2072
-
2073
- declare type ImageProps = {
2074
- src: string;
2075
- } & Partial<{
2076
- id: string;
2077
- altText: string;
2078
- link: string;
2079
- onClick: Callback$1;
2080
- width: number;
2081
- height: number;
2082
- cornerRadius: SizesTypes$1 | number;
2083
- behaveAs: 'background' | 'regular';
2084
- styles: StylesType;
2085
- metadata: MetadataType$1;
2086
- htmlElementId: string;
2087
- configurationItemInfo: ConfigurationItemInfo$1;
2088
- }>;
2089
- declare const Image: ({ src, onClick, link, altText, styles, width, height, id, behaveAs, cornerRadius, htmlElementId, metadata, configurationItemInfo, }: ImageProps) => JSX.Element | null;
424
+ declare const TwoFactorAuth: ({ logoUrl, onSubmit, onBack, onNext }: TwoFactorAuthProps) => JSX.Element;
2090
425
 
2091
- declare type CarouselProps = {
2092
- children: JSX.Element[];
2093
- autoplay?: boolean;
2094
- autoplayDuration?: number;
426
+ declare type LoginFormProps = {
427
+ fields: UIFields<LoginFields>;
428
+ logoUrl: string;
429
+ isLoading?: boolean;
430
+ twoFactorAuthConfig?: {
431
+ twoFactorShow: boolean;
432
+ twoFactorAuthProps: TwoFactorAuthProps;
433
+ };
434
+ onSubmit: (values: LoginFields) => void;
435
+ onSignUpButtonClick?: Callback;
436
+ onForgotPasswordButtonClick?: Callback;
2095
437
  };
2096
- declare const Carousel: ({ children, autoplay, autoplayDuration, }: PropsWithChildren<CarouselProps>) => JSX.Element;
2097
- declare const Wrapper: styled_components.StyledComponent<"section", styled_components.DefaultTheme, {}, never>;
2098
- declare const SlidesWrapper: styled_components.StyledComponent<"ul", styled_components.DefaultTheme, {
2099
- translateX: number;
2100
- }, never>;
2101
- declare const Slide: styled_components.StyledComponent<"li", styled_components.DefaultTheme, {}, never>;
2102
- declare const ButtonsWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
2103
- declare const ArrowIconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
2104
- arrowSide: 'left' | 'right';
2105
- }, never>;
2106
- declare const NavigationDotsWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {}, never>;
438
+ declare const LoginForm: ({ logoUrl, fields, onSubmit, onSignUpButtonClick, isLoading, twoFactorAuthConfig, onForgotPasswordButtonClick, }: LoginFormProps) => JSX.Element;
2107
439
 
2108
- declare type TextMoleculeProps = Partial<{
440
+ declare type ImportantLink = {
2109
441
  text: string;
2110
- variant: 'base' | 'custom';
2111
- fontVariant: FontSizesTypes$2;
2112
- textSize: number;
2113
- textColor: ThemeColors$1 | string;
2114
- letterSpacing: number;
2115
- lineHeight: number;
2116
- fontWeight: string | number;
2117
- isRichText: boolean;
2118
- styles: StylesType;
2119
- textAlign: 'center' | 'right' | 'left';
2120
- htmlElementId: string;
2121
- configurationItemInfo: ConfigurationItemInfo$1;
2122
- }> & Pick<TextProps$1, 'seoTag' | 'numberOfLines'>;
2123
- declare const TextMolecule: ({ isRichText, variant, text, seoTag, fontVariant, textColor, textSize, fontWeight, lineHeight, letterSpacing, styles, textAlign, htmlElementId, configurationItemInfo, ...restOfTextProps }: TextMoleculeProps) => JSX.Element;
2124
-
2125
- declare type ButtonVariant = 'primary' | 'secondary' | 'text' | 'custom';
2126
- declare type ButtonType = 'button' | 'submit' | 'reset';
2127
- declare type BaseButtonProps = PropsWithChildren<Partial<{
2128
- onClick: Callback$1;
2129
- variant: ButtonVariant;
2130
- disabled: boolean;
2131
- state: 'disabled' | 'enabled';
2132
- fullWidth: boolean;
2133
- size: 'medium' | 'small';
2134
- buttonFont: FontSizesTypes$2;
2135
- textColor: ThemeColors$1 | string;
2136
- textSize: number;
2137
- horizontalPadding: SizesTypes$1;
2138
- verticalPadding: SizesTypes$1;
2139
- buttonColor: ThemeColors$1 | string;
2140
- buttonStroke: ThemeColors$1 | string;
2141
- cornerRadius: SizesTypes$1 | number;
2142
- hoverButtonColor: ThemeColors$1 | string;
2143
- hoverStrokeColor: ThemeColors$1 | string;
2144
- inactiveButtonColor: ThemeColors$1 | string;
2145
- inactiveStrokeColor: ThemeColors$1 | string;
2146
- inactiveTextColor: ThemeColors$1 | string;
2147
- styles: StylesType;
2148
- colorTheme: 'light' | 'dark';
2149
442
  href: string;
2150
- type: ButtonType;
2151
- }>>;
2152
- declare const baseButtonAllowedConfigurations: string[];
2153
- declare type ButtonProps = BaseButtonProps & {
2154
- fullWidth?: boolean;
2155
- text?: string;
2156
- link?: string;
2157
- elementId?: string;
2158
- loading?: boolean;
2159
- isRichText?: boolean;
2160
- containerStyle?: StylesType;
2161
- buttonStyle?: StylesType;
2162
- stateConfig?: MetadataStateConfig$1[];
2163
- htmlElementId?: string;
2164
- metadata?: MetadataType$1;
2165
- configurationItemInfo?: ConfigurationItemInfo$1;
2166
443
  };
2167
- declare const Button: ({ text, onClick, loading, disabled, variant, isRichText, fullWidth, elementId, link, containerStyle, children, buttonStyle, size, textColor, inactiveTextColor, state, href, stateConfig, htmlElementId, metadata, configurationItemInfo, ...props }: ButtonProps) => JSX.Element | null;
2168
-
2169
- declare type ZealUIModalProps = PropsWithChildren<Pick<ModalProps, 'open'>> & {
2170
- padding?: number | string;
2171
- wrapperStyles?: CSSProperties;
2172
- onKeyDown?: <T extends HTMLElement>(event: KeyboardEvent<T>) => void;
2173
- modalStyles?: CSSProperties;
2174
- size?: string;
2175
- popupId: string;
2176
- onClose: () => void;
2177
- withCloseIcon?: boolean;
444
+ declare type HeaderProps = {
445
+ links?: ImportantLink[];
446
+ logoUrl: string;
447
+ tabs: TabGroupProps['tabs'];
448
+ withAvatar?: {
449
+ props: AvatarDropdownProps<string>;
450
+ };
451
+ onActionButtonClick?: Callback;
2178
452
  };
2179
- declare const ZealUIModal: ({ children, wrapperStyles, padding, onKeyDown, modalStyles, size, popupId, withCloseIcon, ...rest }: ZealUIModalProps) => JSX.Element;
2180
- declare const ModalWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, OverrideStyles, never>;
2181
- declare const IconWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
2182
- activeOpacity?: number | undefined;
2183
- withoutOpacityEffect?: boolean | undefined;
2184
- disabled?: boolean | undefined;
2185
- } & {
2186
- children?: react__default.ReactNode;
2187
- }, never>;
453
+ declare const Header: ({ logoUrl, links, onActionButtonClick, tabs, withAvatar }: HeaderProps) => JSX.Element;
2188
454
 
2189
- declare type ConsentCaptureMethod = 'button' | 'radioButton' | 'checkbox';
2190
- declare type DefaultSelectionType = 'confirmation' | 'rejection';
2191
- declare type ConsentType = {
2192
- id: string;
2193
- name: string;
2194
- acknowledgment: CustomDescendant[];
2195
- methodOfCapture: ConsentCaptureMethod;
2196
- description: string;
2197
- language: CustomDescendant[];
2198
- expiration: string;
2199
- confirmationButtonText: string;
2200
- rejectionButtonText: string;
2201
- defaultSelection: DefaultSelectionType;
2202
- value?: DefaultSelectionType | boolean;
2203
- isRequired?: boolean;
455
+ declare type EmailAddressFields = {
456
+ email: string;
2204
457
  };
2205
- declare type ConsentProps<T extends string = string> = {
2206
- text: string;
2207
- isRequired?: boolean;
2208
- consentCaptureProps: ConsentCaptureProps<T>;
2209
- containerStyles?: CSSProperties;
2210
- clearStyles?: boolean;
458
+ declare type ForgotPasswordFormProps = {
459
+ logoUrl: string;
460
+ isLoading?: boolean;
461
+ onSubmit?: (values: EmailAddressFields) => void;
462
+ onBack?: Callback;
2211
463
  };
2212
- declare const Consent: <T extends string>({ text, consentCaptureProps, containerStyles, clearStyles, }: ConsentProps<T>) => JSX.Element;
464
+ declare const ForgotPasswordForm: ({ logoUrl, onBack, onSubmit, isLoading, }: ForgotPasswordFormProps) => JSX.Element;
2213
465
 
2214
- declare type LinkProps = Omit<TextButtonProps$1, 'children'> & Partial<{
2215
- text: string;
2216
- isRichText: boolean;
2217
- href: string;
2218
- htmlElementId: string;
2219
- moleculeId: string;
2220
- isTrigger: boolean;
2221
- onExternalLink?: () => void;
2222
- configurationItemInfo?: ConfigurationItemInfo$1;
2223
- }>;
2224
- declare const Link: ({ text, isRichText, htmlElementId, isTrigger, moleculeId, configurationItemInfo, ...props }: LinkProps) => JSX.Element | null;
466
+ declare type DefaultTemplateProps = {
467
+ header: HeaderProps;
468
+ banner?: BannerProps;
469
+ renderContent: () => JSX.Element;
470
+ };
471
+ declare const DefaultTemplate: ({ banner, header, renderContent }: DefaultTemplateProps) => JSX.Element;
2225
472
 
2226
- declare type ChecklistItem = {
2227
- id: string;
2228
- isChecked: boolean;
2229
- eventId: Nullable<string>;
2230
- type: 'user_interactive' | 'system_controlled';
2231
- label: {
2232
- text: string;
2233
- isRichText: boolean;
2234
- };
473
+ declare type AuthDrawerContentType = 'sign-up' | 'sign-in' | 'set-password' | 'forgot-password';
474
+ declare type AuthDrawerContentProps = {
475
+ type: AuthDrawerContentType;
476
+ acquisitionFormConfig: AcquisitionFormProps<any>;
477
+ loginFormConfig: LoginFormProps;
478
+ forgotPasswordConfig: ForgotPasswordFormProps;
479
+ setPasswordConfig: SetPasswordFormProps;
2235
480
  };
2236
- declare type ChecklistProps = {
2237
- items: ChecklistItem[];
2238
- props?: {
2239
- gap?: SizesTypes$1;
2240
- } & CheckboxInternalConfigProps$1;
2241
- configurationItemInfo?: ConfigurationItemInfo$1;
2242
- metadata: MetadataType$1;
481
+
482
+ declare type RegistrationPageProps = {
483
+ templateConfig: DefaultTemplateProps;
484
+ drawerConfig: Pick<DrawerProps, 'open' | 'onClose'>;
485
+ drawerContentConfig: AuthDrawerContentProps;
2243
486
  };
2244
- declare const Checklist: ({ items, props: { gap, ...checkboxProps }, configurationItemInfo, metadata, }: ChecklistProps) => JSX.Element;
2245
- declare const ChecklistWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, {
2246
- $gap: SizesTypes$1;
2247
- }, never>;
487
+ declare const AuthPage: ({ templateConfig, drawerContentConfig, drawerConfig, }: RegistrationPageProps) => JSX.Element;
488
+
489
+ interface Helpers {
490
+ goToNextStep: () => void;
491
+ goToPrevStep: () => void;
492
+ reset: () => void;
493
+ canGoToNextStep: boolean;
494
+ canGoToPrevStep: boolean;
495
+ setStep: Dispatch<SetStateAction<number>>;
496
+ }
497
+ declare const useStep: (maxStep: number) => [number, Helpers];
2248
498
 
2249
- export { AccountButtonContext, AccountButtonContextType, AccountButtonMolecule, AccountButtonProvider, AccountButtonProviderProps, AcquisitionForm, AcquisitionFormProps, ActionAttributes, ActionEventType, ActionTypes, AdditionalContainerProps, AdditionalTabContainerProps, Alert, AlertProps, AnnotationsList, ArrowIconWrapper, AuthMethod, Avatar, AvatarDropdown, AvatarDropdownMenuConfigType, AvatarDropdownProps, AvatarProps, BackgroundImage, BaseButtonProps, BaseMolecule, Body, BodyProps, BooleanAttributes, BottomNaVBarItemProps, BottomNavBarItem, BottomNavBarNavigation, BottomNavBarNavigationProps, BreakpointSizesTypes, Button, ButtonActionsContext, ButtonActionsContextType, ButtonActionsProvider, ButtonActionsProviderProps, ButtonMolecule, ButtonProps, ButtonType, ButtonVariant, ButtonsWrapper, COMMUNICATION_LINK_DATA_TEXT, COMMUNICATION_LINK_DATA_URL, COMMUNICATION_LINK_ELEMENT_ID, CaretIconWrapper, Carousel, CarouselProps, Checkbox, CheckboxField, CheckboxFieldMolecule, CheckboxFieldProps, CheckboxGroup, CheckboxGroupProps, CheckboxProps, CheckboxesProps, Checklist, ChecklistAttributes, ChecklistItem, ChecklistProps, ChecklistWrapper, ChecklistsMolecule, Circle, CircleBoxProps, CirclesWrapper, CircularIndicator, CircularIndicatorProps, CircularIndicatorStyledComponent, ColorAttributes, ColumnItem, Columns, ColumnsProps, ConditionConfig, ConditionConfigAttributes, ConditionCriteria, ConfigurationItem, ConfigurationItemInfo, Consent, ConsentCaptureMethod, ConsentFieldMolecule, ConsentProps, ConsentType, Container, ContainerAlignItemsType, ContainerComponent, ContainerComponentProps, ContainerPositionType, ContainerProps, ContainerPropsType, ContainerScrollBehaviourType, ContainerTemplateType, ContainerType, ContainerWrapper, CriteriaType, CustomValidation, CustomValidationProps, CustomValidationRule, DataConnectionAttributes, DataConnectionValues, DataModelFieldFormat, DataModelFieldFormatCodeTypes, DataModelFieldFormatValueTypes, DefaultSelectionType, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, DownloadFile, Drawer, DynamicContentZone, DynamicContentZoneProps, DynamicElementProps, EmphasizedText, EmphasizedTextProps, ErrorText, FeedContent, FeedContentContainer, FeedContentContainerProps, FeedContentHeader, FeedContentHeaderProps, FeedTemplateKeys, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, FieldSection, FieldSectionProps, FieldTypes, FilteredFeedContentType, FontSizesTypes, FontWeight, Footer, FooterContactInfo, FooterLink, FooterProps, ForgotPasswordForm, ForgotPasswordFormProps, FormContainerProps, FormDataStateConfig, FormOrganismItem, FormStateType, FormStepContainerProps, GoogleMap, GoogleMapProps, Header, HeaderProps, HeroImage, HeroImageAlignment, HeroImageProps, HeroImageTemplate, HeroSlider, HeroSliderProps, HeroSliderWrapper, HorizontalButtons, HorizontalButtonsField, HorizontalButtonsProps, HorizontalPadding, ISI, ISIProps, Icon, IconButton, IconButtonProps, IconNames, IconProps, IconWrapper, Image, ImageAttributes, ImageMolecule, ImageProps, Input, InputField, InputFieldInternalConfigProps, InputFieldProps, InputFieldTypes, InputIconProps, InputProps, IterableAttributes, LabelInternalConfig, Link, LinkAttributes, LinkMolecule, LinkProps, LinkVariant, LoginForm, LoginFormProps, MATRIX_MESSAGE_DATA_ID, MATRIX_MESSAGE_ELEMENT_ID, MapPosition, MenuItems, MenuItemsProps, MenuNavigation, MenuNavigationProps, MetadataStateConfig, MetadataType, MlrRichTextViewerContext, MlrRichTextViewerContextType, MlrRichTextViewerProvider, MlrRichTextViewerProviderProps, ModalWrapper, Molecule, MoleculeTypes, NavigationDotsWrapper, OrganismContext, OrganismContextProvider, OrganismContextProviderProps, OrganismContextType, OrganismItem, OrganismItemProps, OrientationType, OrientationTypeLabel, Padding, PaddingProps, PaddingVariants, PasswordSetupMolecule, PdfDocument, PdfDocumentProps, PopupPropsType, ProcessStep, ProcessStepsAttributes, ProcessStepsMoleculeType, ProcessTracker, ProcessTrackerOrientation, ProcessTrackerProps, ProcessTrackerStateValue, ProcessTrackerStatus, ProfileInformation, ProfileInformationProps, RadioButtonField, RadioButtonFieldMolecule, RadioButtonFieldProps, RadioButtonInternalConfigProps, RadioButtons, RadioButtonsProps, RadioGroupWrapper, RegularImage, RegularImageProps, RichTextEditorProps, RichTextViewer, RuleLabelInternalConfig, SegmentationType, Select, SelectAttributes, SelectField, SelectFieldMolecule, SelectFieldProps, SelectInternalConfigurationOptions, SelectOption, SelectProps, SelectableCardGroup, SelectableCardGroupProps, SeoTags, SetPasswordForm, SetPasswordFormProps, SetPasswordRuleValidation, SizesTypes, SlateValueChildType, Slide, SliderProps, SlidesWrapper, Spacer, SpacerProps, Spinner, StateActionType, StateConfigType, StateContext, StateContextProvider, StateContextProviderProps, StateContextType, StateEventType, StateListenerConfigType, StateModifierConfigType, Stepper, StepperProps, StyleWrapper, SubscribePanel, Tab, TabGroup, TabGroupMolecule, TabGroupProps, TabOption, TabProps, TabTheme, TabType, TextAlign, TextAttributes, TextButton, TextButtonProps, TextInputMolecule, TextMolecule, TextMoleculeProps, TextMoleculeType, TextProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeDevicesType, ThemeSizesType, ThemeTextType, Tooltip, TooltipInternalConfig, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, UICheckboxField, UIField, UIFields, UIInputField, UISelectField, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, Video, VideoAttributes, VideoMolecule, VideoProps, WrappedContainerType, Wrapper, ZealTheme, ZealThemeProvider, ZealUIModal, ZealUIModalProps, acquisitionFormMockFields, baseButtonAllowedConfigurations, defaultTheme, defaultValue, getFieldPlaceholder, getFieldsFromFieldSections, getInitialValuesFromFields, isFormValid, loginMockFields, passwordMockFields, profileInformationMockForm, sectionMockFields, setPasswordMockFields, showAcceptToastMessage, toast, toastStyles, useButtonActionsContext, useMediaQuery, useMlrRichTextViewerContext, useRequiredConsentsAcceptedValues, useStep };
499
+ export { AcquisitionForm, AcquisitionFormProps, AuthMethod, AuthPage, Avatar, AvatarDropdown, AvatarDropdownProps, AvatarProps, Banner, BannerProps, BaseButtonProps, Button, ButtonProps, CheckBoxProps, Checkbox, CheckboxField, CheckboxFieldProps, CustomValidation, CustomValidationProps, CustomValidationRule, DefaultTemplate, DefaultTemplateProps, Divider, DividerProps, Drawer, FieldLabels, FieldLabelsProps, FieldMapper, FieldMapperProps, FieldRuleLabelTypes, ForgotPasswordForm, ForgotPasswordFormProps, Header, HeaderProps, HorizontalPadding, HorizontalPaddingProps, Icon, IconNames, IconProps, Image, ImageProps, InfoBox, InfoBoxProps, Input, InputField, InputFieldProps, InputIconProps, InputProps, LinkButton, LinkButtonProps, LoginForm, LoginFormProps, MenuItem, MenuItems, MenuItemsProps, RegistrationPageProps, Select, SelectField, SelectFieldProps, SelectableCardGroup, SelectableCardGroupProps, SetPasswordForm, SetPasswordFormProps, SizesTypes, Spacer, SpacerProps, Spinner, StyleWrapper, TabGroup, TabGroupProps, TextTypes, TextWrapper, TextWrapperProps, ThemeColors, ThemeColorsType, ThemeSizesType, ThemeTextType, Tooltip, TooltipProps, TouchableOpacity, TouchableOpacityProps, TwoFactorAuth, TwoFactorAuthProps, ValidationTag, ValidationTagProps, ValidationTagStatus, VerticalPadding, ZealThemeProvider, defaultTheme, toast, useStep };