@npm_leadtech/legal-lib-components 4.1.6 → 4.1.10

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 (789) hide show
  1. package/dist/css/styles.css +0 -1
  2. package/dist/images/componentsSvg/ArrowRight.tsx +47 -0
  3. package/dist/images/componentsSvg/ChevronExpandLess.tsx +10 -0
  4. package/dist/images/componentsSvg/ChevronExpandMore.tsx +17 -0
  5. package/dist/images/componentsSvg/ChevronRight.tsx +9 -0
  6. package/dist/images/componentsSvg/ChevronRight24px.tsx +18 -0
  7. package/dist/images/componentsSvg/Delete24p.tsx +33 -0
  8. package/dist/images/componentsSvg/Done24px.tsx +13 -0
  9. package/dist/images/componentsSvg/Done24pxoutlined.tsx +25 -0
  10. package/dist/images/componentsSvg/Edit24p.tsx +33 -0
  11. package/dist/images/componentsSvg/EditText24px.tsx +33 -0
  12. package/dist/images/componentsSvg/EmploymentIcon.tsx +21 -0
  13. package/dist/images/componentsSvg/Eye24pxOptimized.tsx +33 -0
  14. package/dist/images/componentsSvg/IconDuplicate24px.tsx +29 -0
  15. package/dist/images/componentsSvg/InfoError24pxOutlined.tsx +31 -0
  16. package/dist/images/componentsSvg/LogoutSvg.tsx +27 -0
  17. package/dist/images/componentsSvg/MailSvg.tsx +24 -0
  18. package/dist/images/componentsSvg/MenuCollapse24p.tsx +43 -0
  19. package/dist/images/componentsSvg/NewDocumentSvg.tsx +28 -0
  20. package/dist/images/componentsSvg/NewRelease24p.tsx +26 -0
  21. package/dist/images/componentsSvg/PhoneIcon24px.tsx +47 -0
  22. package/dist/images/componentsSvg/SvgProps.ts +5 -0
  23. package/dist/images/componentsSvg/SymbolDoc.tsx +14 -0
  24. package/dist/images/componentsSvg/Time24px.tsx +33 -0
  25. package/dist/images/componentsSvg/flags/GBFlag.tsx +46 -0
  26. package/dist/images/componentsSvg/flags/USFlag.tsx +129 -0
  27. package/dist/images/componentsSvg/generalCategories/BusinessIconCategory.tsx +19 -0
  28. package/dist/images/componentsSvg/generalCategories/EmploymentIconCategory.tsx +19 -0
  29. package/dist/images/componentsSvg/generalCategories/FinanceIconCategory.tsx +19 -0
  30. package/dist/images/componentsSvg/generalCategories/PersonalFamilyIconCategory.tsx +19 -0
  31. package/dist/images/componentsSvg/generalCategories/RealEstateIconCategory.tsx +17 -0
  32. package/dist/images/componentsSvg/generalCategories/index.ts +5 -0
  33. package/dist/images/jpg/Img-documents.jpg +0 -0
  34. package/dist/images/png/AboutUs.png +0 -0
  35. package/dist/images/png/Img-documents.png +0 -0
  36. package/dist/images/png/buy-logo-large-en.png +0 -0
  37. package/dist/images/png/content-img-desktophd.png +0 -0
  38. package/dist/images/png/content-img-tablet.png +0 -0
  39. package/dist/images/png/customer-support.png +0 -0
  40. package/dist/images/png/editing@2x.png +0 -0
  41. package/dist/images/png/expertOne.png +0 -0
  42. package/dist/images/png/expertTwo.png +0 -0
  43. package/dist/images/png/graphics-grey-02.png +0 -0
  44. package/dist/images/png/graphics.png +0 -0
  45. package/dist/images/png/icon-cloud@2x.png +0 -0
  46. package/dist/images/png/img-modal-template-mobile.png +0 -0
  47. package/dist/images/png/img-modal-template.png +0 -0
  48. package/dist/images/png/ld-illust-empty-state-dash.png +0 -0
  49. package/dist/images/png/satisfaction@2x.png +0 -0
  50. package/dist/images/svg/aarp.svg +9 -0
  51. package/dist/images/svg/chevron-right-24-px.svg +14 -0
  52. package/dist/images/svg/communication-24px-2.svg +14 -0
  53. package/dist/images/svg/communication-24px.svg +14 -0
  54. package/dist/images/svg/debt.svg +9 -0
  55. package/dist/images/svg/done-24px.svg +14 -0
  56. package/dist/images/svg/done_24px_outlined.svg +20 -0
  57. package/dist/images/svg/download_24px.svg +3 -0
  58. package/dist/images/svg/expand_dropdown_24px.svg +23 -0
  59. package/dist/images/svg/expand_less_24px.svg +3 -0
  60. package/dist/images/svg/expand_more_24px.svg +3 -0
  61. package/dist/images/svg/eye-24-px.svg +20 -0
  62. package/dist/images/svg/eye-close.svg +24 -0
  63. package/dist/images/svg/icon-24-px-security.svg +15 -0
  64. package/dist/images/svg/icon-clear-24-px.svg +14 -0
  65. package/dist/images/svg/icon-info-24px.svg +21 -0
  66. package/dist/images/svg/icon-web-24px.svg +22 -0
  67. package/dist/images/svg/info-24px.svg +15 -0
  68. package/dist/images/svg/info-error_24px_outlined.svg +15 -0
  69. package/dist/images/svg/logo-google.svg +19 -0
  70. package/dist/images/svg/modal-free-doc.svg +50 -0
  71. package/dist/images/svg/preview-doc.svg +20 -0
  72. package/dist/images/svg/rentcafe.svg +9 -0
  73. package/dist/images/svg/shape.svg +3 -0
  74. package/dist/images/svg/techradar.svg +9 -0
  75. package/dist/images/svg/thenevvschool.svg +9 -0
  76. package/dist/images/webp/customer-support.webp +0 -0
  77. package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.scss +24 -0
  78. package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.tsx +20 -0
  79. package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCardProps.types.ts +9 -0
  80. package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/index.ts +2 -0
  81. package/dist/src/components/atoms/AddButton/AddButton.scss +48 -0
  82. package/dist/src/components/atoms/AddButton/AddButton.tsx +38 -0
  83. package/dist/src/components/atoms/AddButton/AddButtonProps.types.ts +15 -0
  84. package/dist/src/components/atoms/AddButton/index.ts +2 -0
  85. package/dist/src/components/atoms/BaseBox/BaseBox.styled.ts +25 -0
  86. package/dist/src/components/atoms/BaseBox/BaseBox.tsx +19 -0
  87. package/dist/src/components/atoms/BaseBox/BaseBoxProps.types.ts +7 -0
  88. package/dist/src/components/atoms/BaseBox/index.ts +2 -0
  89. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.scss +54 -0
  90. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.tsx +18 -0
  91. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCardProps.types.ts +6 -0
  92. package/dist/src/components/atoms/BenefitRatafiaCard/index.ts +2 -0
  93. package/dist/src/components/atoms/BillCard/BillCard.scss +57 -0
  94. package/dist/src/components/atoms/BillCard/BillCard.tsx +24 -0
  95. package/dist/src/components/atoms/BillCard/BillCardProps.types.ts +5 -0
  96. package/dist/src/components/atoms/BillCard/index.ts +2 -0
  97. package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.scss +33 -0
  98. package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.tsx +11 -0
  99. package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenuProps.types.ts +3 -0
  100. package/dist/src/components/atoms/BottomOverlayMenu/index.ts +2 -0
  101. package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.scss +21 -0
  102. package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.tsx +18 -0
  103. package/dist/src/components/atoms/BreadcrumItem/BreadcrumItemProps.types.ts +5 -0
  104. package/dist/src/components/atoms/BreadcrumItem/index.ts +2 -0
  105. package/dist/src/components/atoms/Button/Button.scss +286 -0
  106. package/dist/src/components/atoms/Button/Button.tsx +123 -0
  107. package/dist/src/components/atoms/Button/ButtonProps.types.ts +37 -0
  108. package/dist/src/components/atoms/Button/index.ts +2 -0
  109. package/dist/src/components/atoms/ButtonIcon/ButtonIcon.scss +42 -0
  110. package/dist/src/components/atoms/ButtonIcon/ButtonIcon.tsx +59 -0
  111. package/dist/src/components/atoms/ButtonIcon/ButtonIconProps.types.ts +12 -0
  112. package/dist/src/components/atoms/ButtonIcon/index.ts +2 -0
  113. package/dist/src/components/atoms/CardPane/CardPane.scss +106 -0
  114. package/dist/src/components/atoms/CardPane/CardPane.tsx +19 -0
  115. package/dist/src/components/atoms/CardPane/CardPaneInfo.tsx +36 -0
  116. package/dist/src/components/atoms/CardPane/CardPaneProps.types.ts +10 -0
  117. package/dist/src/components/atoms/CardPane/index.ts +2 -0
  118. package/dist/src/components/atoms/Checkbox/Checkbox.d.ts +0 -1
  119. package/dist/src/components/atoms/Checkbox/Checkbox.js +1 -1
  120. package/dist/src/components/atoms/Checkbox/Checkbox.scss +132 -0
  121. package/dist/src/components/atoms/Checkbox/Checkbox.tsx +43 -0
  122. package/dist/src/components/atoms/Checkbox/CheckboxProps.types.ts +13 -0
  123. package/dist/src/components/atoms/Checkbox/index.ts +2 -0
  124. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.scss +116 -0
  125. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.tsx +178 -0
  126. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustomProps.types.ts +17 -0
  127. package/dist/src/components/atoms/DatePickerCustom/DatepickerPlugin.scss +842 -0
  128. package/dist/src/components/atoms/DatePickerCustom/index.ts +2 -0
  129. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.scss +84 -0
  130. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.tsx +80 -0
  131. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIconProps.types.ts +6 -0
  132. package/dist/src/components/atoms/DialogMenuIcon/index.ts +2 -0
  133. package/dist/src/components/atoms/Disclaimer/Disclaimer.scss +45 -0
  134. package/dist/src/components/atoms/Disclaimer/Disclaimer.tsx +36 -0
  135. package/dist/src/components/atoms/Disclaimer/DisclaimerProps.types.ts +10 -0
  136. package/dist/src/components/atoms/Disclaimer/index.ts +2 -0
  137. package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.scss +149 -0
  138. package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.tsx +88 -0
  139. package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafiaProps.ts +17 -0
  140. package/dist/src/components/atoms/DisclaimerRatafia/index.ts +2 -0
  141. package/dist/src/components/atoms/Divider/Divider.scss +20 -0
  142. package/dist/src/components/atoms/Divider/Divider.tsx +19 -0
  143. package/dist/src/components/atoms/Divider/DividerProps.types.ts +6 -0
  144. package/dist/src/components/atoms/Divider/index.ts +2 -0
  145. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.scss +91 -0
  146. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.tsx +37 -0
  147. package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.ts +6 -0
  148. package/dist/src/components/atoms/DocumentStatus/index.ts +2 -0
  149. package/dist/src/components/atoms/DocumentTag/DocumentTag.d.ts +0 -1
  150. package/dist/src/components/atoms/DocumentTag/DocumentTag.js +1 -1
  151. package/dist/src/components/atoms/DocumentTag/DocumentTag.scss +13 -0
  152. package/dist/src/components/atoms/DocumentTag/DocumentTag.tsx +9 -0
  153. package/dist/src/components/atoms/DocumentTag/DocumentTagProps.ts +3 -0
  154. package/dist/src/components/atoms/DocumentTag/index.ts +2 -0
  155. package/dist/src/components/atoms/ExpertCard/ExpertCard.scss +61 -0
  156. package/dist/src/components/atoms/ExpertCard/ExpertCard.tsx +24 -0
  157. package/dist/src/components/atoms/ExpertCard/ExpertCardProps.types.ts +6 -0
  158. package/dist/src/components/atoms/ExpertCard/index.ts +2 -0
  159. package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.scss +79 -0
  160. package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.tsx +37 -0
  161. package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCardProps.types.ts +8 -0
  162. package/dist/src/components/atoms/FeatureRatafiaCard/index.ts +2 -0
  163. package/dist/src/components/atoms/FormFaq/FormFaq.scss +72 -0
  164. package/dist/src/components/atoms/FormFaq/FormFaq.tsx +17 -0
  165. package/dist/src/components/atoms/FormFaq/FormFaqProps.types.ts +4 -0
  166. package/dist/src/components/atoms/FormFaq/index.ts +2 -0
  167. package/dist/src/components/atoms/GoogleButton/GoogleButton.scss +22 -0
  168. package/dist/src/components/atoms/GoogleButton/GoogleButton.tsx +16 -0
  169. package/dist/src/components/atoms/GoogleButton/GoogleButtonProps.types.ts +4 -0
  170. package/dist/src/components/atoms/GoogleButton/index.ts +2 -0
  171. package/dist/src/components/atoms/IconImage/IconImage.tsx +14 -0
  172. package/dist/src/components/atoms/IconImage/IconImageProps.types.ts +6 -0
  173. package/dist/src/components/atoms/IconImage/index.ts +2 -0
  174. package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.scss +6 -0
  175. package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.tsx +29 -0
  176. package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColorProps.types.ts +6 -0
  177. package/dist/src/components/atoms/IconSvgURLWithThemeColor/index.ts +2 -0
  178. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.scss +80 -0
  179. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.tsx +25 -0
  180. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.types.ts +9 -0
  181. package/dist/src/components/atoms/IconTextInfoSection/index.ts +1 -0
  182. package/dist/src/components/atoms/InfoBox/InfoBox.scss +40 -0
  183. package/dist/src/components/atoms/InfoBox/InfoBox.tsx +21 -0
  184. package/dist/src/components/atoms/InfoBox/InfoBoxProps.types.ts +5 -0
  185. package/dist/src/components/atoms/InfoBox/index.ts +2 -0
  186. package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.scss +8 -0
  187. package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.tsx +12 -0
  188. package/dist/src/components/atoms/JumbotronStatic/JumbotronStaticProps.types.ts +3 -0
  189. package/dist/src/components/atoms/JumbotronStatic/index.ts +2 -0
  190. package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.scss +38 -0
  191. package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.tsx +18 -0
  192. package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCardProps.types.ts +5 -0
  193. package/dist/src/components/atoms/KeyFactRatafiaCard/index.ts +2 -0
  194. package/dist/src/components/atoms/Logo/Logo.tsx +67 -0
  195. package/dist/src/components/atoms/Logo/LogoProps.types.ts +7 -0
  196. package/dist/src/components/atoms/Logo/index.ts +2 -0
  197. package/dist/src/components/atoms/Logo/svg/districtlaws-logo.svg +19 -0
  198. package/dist/src/components/atoms/Logo/svg/districtlaws-white-logo.svg +19 -0
  199. package/dist/src/components/atoms/Logo/svg/lawdistrict-logo.svg +12 -0
  200. package/dist/src/components/atoms/Logo/svg/lawdistrict-white-logo.svg +12 -0
  201. package/dist/src/components/atoms/Logo/svg/lawdistrictinfo-logo.svg +24 -0
  202. package/dist/src/components/atoms/Logo/svg/lawdistrictinfo-white-logo.svg +24 -0
  203. package/dist/src/components/atoms/Logo/svg/lawdistrictonline-logo.svg +26 -0
  204. package/dist/src/components/atoms/Logo/svg/lawdistrictonline-white-logo.svg +26 -0
  205. package/dist/src/components/atoms/Logo/svg/lawdistricts-logo.svg +4 -0
  206. package/dist/src/components/atoms/Logo/svg/lawdistricts-white-logo.svg +4 -0
  207. package/dist/src/components/atoms/Logo/svg/lawsdistrict-logo.svg +23 -0
  208. package/dist/src/components/atoms/Logo/svg/lawsdistrict-white-logo.svg +23 -0
  209. package/dist/src/components/atoms/Logo/svg/uslawdistrict-logo.svg +18 -0
  210. package/dist/src/components/atoms/Logo/svg/uslawdistrict-white-logo.svg +22 -0
  211. package/dist/src/components/atoms/LogoText/LogoText.scss +34 -0
  212. package/dist/src/components/atoms/LogoText/LogoText.tsx +21 -0
  213. package/dist/src/components/atoms/LogoText/LogoTextProps.types.ts +5 -0
  214. package/dist/src/components/atoms/LogoText/index.ts +2 -0
  215. package/dist/src/components/atoms/MenuItems/MenuItemProps.types.ts +15 -0
  216. package/dist/src/components/atoms/MenuItems/MenuItems.scss +70 -0
  217. package/dist/src/components/atoms/MenuItems/MenuItems.tsx +71 -0
  218. package/dist/src/components/atoms/MenuItems/index.ts +2 -0
  219. package/dist/src/components/atoms/Message/Message.scss +31 -0
  220. package/dist/src/components/atoms/Message/Message.tsx +16 -0
  221. package/dist/src/components/atoms/Message/MessageProps.types.ts +4 -0
  222. package/dist/src/components/atoms/Message/index.ts +2 -0
  223. package/dist/src/components/atoms/MessageInformation/MessageInformation.scss +51 -0
  224. package/dist/src/components/atoms/MessageInformation/MessageInformation.tsx +23 -0
  225. package/dist/src/components/atoms/MessageInformation/MessageInformationProps.types.ts +6 -0
  226. package/dist/src/components/atoms/MessageInformation/index.ts +2 -0
  227. package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.d.ts +0 -1
  228. package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.js +1 -1
  229. package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.scss +44 -0
  230. package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.tsx +30 -0
  231. package/dist/src/components/atoms/MoreDocsItem/MoreDocsItemProps.ts +9 -0
  232. package/dist/src/components/atoms/MoreDocsItem/index.ts +2 -0
  233. package/dist/src/components/atoms/NavMenuItem/NavMenuItem.scss +60 -0
  234. package/dist/src/components/atoms/NavMenuItem/NavMenuItem.tsx +24 -0
  235. package/dist/src/components/atoms/NavMenuItem/NavMenuItemProps.ts +9 -0
  236. package/dist/src/components/atoms/NavMenuItem/index.ts +2 -0
  237. package/dist/src/components/atoms/PaypalButton/PaypalButton.scss +5 -0
  238. package/dist/src/components/atoms/PaypalButton/PaypalButton.tsx +15 -0
  239. package/dist/src/components/atoms/PaypalButton/PaypalButtonProps.types.ts +3 -0
  240. package/dist/src/components/atoms/PaypalButton/index.ts +2 -0
  241. package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.scss +59 -0
  242. package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.tsx +23 -0
  243. package/dist/src/components/atoms/PopularDocsItem/PopularDocsItemProps.ts +9 -0
  244. package/dist/src/components/atoms/PopularDocsItem/index.ts +2 -0
  245. package/dist/src/components/atoms/ProgressBar/ProgressBar.d.ts +0 -1
  246. package/dist/src/components/atoms/ProgressBar/ProgressBar.js +1 -1
  247. package/dist/src/components/atoms/ProgressBar/ProgressBar.scss +24 -0
  248. package/dist/src/components/atoms/ProgressBar/ProgressBar.tsx +17 -0
  249. package/dist/src/components/atoms/ProgressBar/ProgressBarProps.types.ts +4 -0
  250. package/dist/src/components/atoms/ProgressBar/index.ts +2 -0
  251. package/dist/src/components/atoms/Radio/Radio.scss +341 -0
  252. package/dist/src/components/atoms/Radio/Radio.tsx +66 -0
  253. package/dist/src/components/atoms/Radio/RadioProps.types.ts +14 -0
  254. package/dist/src/components/atoms/Radio/index.ts +2 -0
  255. package/dist/src/components/atoms/RemoveButton/RemoveButton.scss +43 -0
  256. package/dist/src/components/atoms/RemoveButton/RemoveButton.tsx +40 -0
  257. package/dist/src/components/atoms/RemoveButton/RemoveButtonProps.types.ts +16 -0
  258. package/dist/src/components/atoms/RemoveButton/index.ts +2 -0
  259. package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.d.ts +0 -1
  260. package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.js +1 -1
  261. package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.scss +54 -0
  262. package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.tsx +56 -0
  263. package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafiaProps.types.ts +15 -0
  264. package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/index.ts +2 -0
  265. package/dist/src/components/atoms/RichTextInner/RichTextInner.scss +34 -0
  266. package/dist/src/components/atoms/RichTextInner/RichTextInner.tsx +10 -0
  267. package/dist/src/components/atoms/RichTextInner/RichTextInnerProps.types.ts +6 -0
  268. package/dist/src/components/atoms/RichTextInner/index.ts +2 -0
  269. package/dist/src/components/atoms/RichTextStrapi/RichTextMedia.ts +12 -0
  270. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.scss +9 -0
  271. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.tsx +14 -0
  272. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapiProps.ts +9 -0
  273. package/dist/src/components/atoms/RichTextStrapi/index.ts +3 -0
  274. package/dist/src/components/atoms/RichTextStrapi/useFormattedText.tsx +31 -0
  275. package/dist/src/components/atoms/SearchSelect/SearchSelect.d.ts +0 -1
  276. package/dist/src/components/atoms/SearchSelect/SearchSelect.js +1 -1
  277. package/dist/src/components/atoms/SearchSelect/SearchSelect.scss +222 -0
  278. package/dist/src/components/atoms/SearchSelect/SearchSelect.tsx +100 -0
  279. package/dist/src/components/atoms/SearchSelect/SearchSelectProps.types.ts +28 -0
  280. package/dist/src/components/atoms/SearchSelect/index.ts +2 -0
  281. package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.scss +48 -0
  282. package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.tsx +34 -0
  283. package/dist/src/components/atoms/ShowMoreBox/ShowMoreBoxProps.ts +5 -0
  284. package/dist/src/components/atoms/ShowMoreBox/index.ts +2 -0
  285. package/dist/src/components/atoms/SidemenuTab/SideMenuTabProps.types.ts +11 -0
  286. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.d.ts +0 -1
  287. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.js +1 -1
  288. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.scss +90 -0
  289. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.tsx +35 -0
  290. package/dist/src/components/atoms/SidemenuTab/index.ts +2 -0
  291. package/dist/src/components/atoms/Spinner/Spinner.scss +32 -0
  292. package/dist/src/components/atoms/Spinner/Spinner.tsx +24 -0
  293. package/dist/src/components/atoms/Spinner/SpinnerProps.types.ts +4 -0
  294. package/dist/src/components/atoms/Spinner/index.ts +2 -0
  295. package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.scss +27 -0
  296. package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.tsx +18 -0
  297. package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCardProps.types.ts +6 -0
  298. package/dist/src/components/atoms/StepRatafiaCard/index.ts +2 -0
  299. package/dist/src/components/atoms/Tag/Tag.scss +23 -0
  300. package/dist/src/components/atoms/Tag/Tag.tsx +13 -0
  301. package/dist/src/components/atoms/Tag/TagProps.ts +5 -0
  302. package/dist/src/components/atoms/Tag/index.ts +2 -0
  303. package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.scss +22 -0
  304. package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.tsx +17 -0
  305. package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItemProps.types.ts +5 -0
  306. package/dist/src/components/atoms/TagRatafiaItem/index.ts +2 -0
  307. package/dist/src/components/atoms/Tagline/Tagline.scss +16 -0
  308. package/dist/src/components/atoms/Tagline/Tagline.tsx +12 -0
  309. package/dist/src/components/atoms/Tagline/TaglineProps.types.ts +3 -0
  310. package/dist/src/components/atoms/Tagline/index.ts +2 -0
  311. package/dist/src/components/atoms/TestAB/TestAB.tsx +29 -0
  312. package/dist/src/components/atoms/TextArea/TextArea.scss +103 -0
  313. package/dist/src/components/atoms/TextArea/TextArea.tsx +50 -0
  314. package/dist/src/components/atoms/TextArea/TextAreaProps.types.ts +13 -0
  315. package/dist/src/components/atoms/TextArea/index.ts +2 -0
  316. package/dist/src/components/atoms/Toggle/Toggle.scss +59 -0
  317. package/dist/src/components/atoms/Toggle/Toggle.tsx +24 -0
  318. package/dist/src/components/atoms/Toggle/ToggleProps.types.ts +5 -0
  319. package/dist/src/components/atoms/Toggle/index.ts +2 -0
  320. package/dist/src/components/atoms/Tooltip/Tooltip.scss +62 -0
  321. package/dist/src/components/atoms/Tooltip/Tooltip.tsx +23 -0
  322. package/dist/src/components/atoms/Tooltip/TooltipProps.types.ts +30 -0
  323. package/dist/src/components/atoms/Tooltip/index.ts +2 -0
  324. package/dist/src/components/atoms/TopBar/TopBar.scss +54 -0
  325. package/dist/src/components/atoms/TopBar/TopBar.tsx +23 -0
  326. package/dist/src/components/atoms/TopBar/TopBarProps.types.ts +4 -0
  327. package/dist/src/components/atoms/TopBar/index.ts +2 -0
  328. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.scss +48 -0
  329. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.tsx +19 -0
  330. package/dist/src/components/atoms/TopBarMobile/index.ts +1 -0
  331. package/dist/src/components/atoms/TrustPilot/TrustPilot.scss +11 -0
  332. package/dist/src/components/atoms/TrustPilot/TrustPilot.tsx +10 -0
  333. package/dist/src/components/atoms/TrustPilot/TrustPilotProps.types.ts +3 -0
  334. package/dist/src/components/atoms/TrustPilot/index.ts +2 -0
  335. package/dist/src/components/atoms/Video/Video.tsx +26 -0
  336. package/dist/src/components/atoms/Video/VideoProps.types.ts +17 -0
  337. package/dist/src/components/atoms/Video/index.ts +2 -0
  338. package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.scss +36 -0
  339. package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.tsx +21 -0
  340. package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItemsProps.types.ts +8 -0
  341. package/dist/src/components/atoms/WhyLawDistrictItems/index.ts +3 -0
  342. package/dist/src/components/atoms/WideInfoBar/WideInfoBar.scss +32 -0
  343. package/dist/src/components/atoms/WideInfoBar/WideInfoBar.tsx +19 -0
  344. package/dist/src/components/atoms/WideInfoBar/index.ts +1 -0
  345. package/dist/src/components/atoms/index.ts +60 -0
  346. package/dist/src/components/molecules/AccordionItem/AccordionItem.scss +70 -0
  347. package/dist/src/components/molecules/AccordionItem/AccordionItem.tsx +54 -0
  348. package/dist/src/components/molecules/AccordionItem/AccordionItemProps.types.ts +9 -0
  349. package/dist/src/components/molecules/AccordionItem/index.ts +1 -0
  350. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.scss +7 -0
  351. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.tsx +18 -0
  352. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardListProps.types.ts +5 -0
  353. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/index.ts +2 -0
  354. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.scss +29 -0
  355. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.tsx +24 -0
  356. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAsProps.types.ts +4 -0
  357. package/dist/src/components/molecules/AlsoKnownAs/index.ts +2 -0
  358. package/dist/src/components/molecules/Article/Article.scss +66 -0
  359. package/dist/src/components/molecules/Article/Article.tsx +22 -0
  360. package/dist/src/components/molecules/Article/ArticleProps.types.ts +7 -0
  361. package/dist/src/components/molecules/Article/index.ts +2 -0
  362. package/dist/src/components/molecules/BaseBoxList/BaseBoxList.scss +26 -0
  363. package/dist/src/components/molecules/BaseBoxList/BaseBoxList.tsx +18 -0
  364. package/dist/src/components/molecules/BaseBoxList/BaseBoxListProps.types.ts +6 -0
  365. package/dist/src/components/molecules/BaseBoxList/index.ts +2 -0
  366. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.scss +16 -0
  367. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.tsx +18 -0
  368. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.ts +5 -0
  369. package/dist/src/components/molecules/BenefitRatafiaCardList/index.ts +2 -0
  370. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.scss +49 -0
  371. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.tsx +20 -0
  372. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBarProps.types.ts +6 -0
  373. package/dist/src/components/molecules/BottomFixedBar/index.ts +2 -0
  374. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.d.ts +0 -1
  375. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.js +1 -1
  376. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.scss +93 -0
  377. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.tsx +73 -0
  378. package/dist/src/components/molecules/BottomOverlay/BottomOverlayProps.types.ts +8 -0
  379. package/dist/src/components/molecules/BottomOverlay/index.ts +2 -0
  380. package/dist/src/components/molecules/BoxForm/BoxForm.scss +129 -0
  381. package/dist/src/components/molecules/BoxForm/BoxForm.tsx +57 -0
  382. package/dist/src/components/molecules/BoxForm/BoxFormProps.types.ts +13 -0
  383. package/dist/src/components/molecules/BoxForm/index.ts +2 -0
  384. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.scss +3 -0
  385. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.tsx +19 -0
  386. package/dist/src/components/molecules/Breadcrumb/BreadcrumbProps.types.ts +3 -0
  387. package/dist/src/components/molecules/Breadcrumb/index.ts +2 -0
  388. package/dist/src/components/molecules/ContactBox/ContactBox.scss +57 -0
  389. package/dist/src/components/molecules/ContactBox/ContactBox.tsx +35 -0
  390. package/dist/src/components/molecules/ContactBox/ContactBoxProps.types.ts +9 -0
  391. package/dist/src/components/molecules/ContactBox/index.ts +2 -0
  392. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.scss +42 -0
  393. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.tsx +36 -0
  394. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBannerProps.types.ts +21 -0
  395. package/dist/src/components/molecules/ContinueEditingBanner/index.ts +2 -0
  396. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.scss +37 -0
  397. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.tsx +53 -0
  398. package/dist/src/components/molecules/CountDownMessage/CountDownMessageProps.types.ts +6 -0
  399. package/dist/src/components/molecules/CountDownMessage/index.ts +2 -0
  400. package/dist/src/components/molecules/EmailContactBox/EmailContactBox.scss +35 -0
  401. package/dist/src/components/molecules/EmailContactBox/EmailContactBox.tsx +21 -0
  402. package/dist/src/components/molecules/EmailContactBox/EmailContactBoxProps.ts +4 -0
  403. package/dist/src/components/molecules/EmailContactBox/index.ts +2 -0
  404. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.scss +13 -0
  405. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.tsx +23 -0
  406. package/dist/src/components/molecules/ExpertCardList/ExpertCardListProps.types.ts +5 -0
  407. package/dist/src/components/molecules/ExpertCardList/index.ts +2 -0
  408. package/dist/src/components/molecules/FaqItem/FaqItem.scss +58 -0
  409. package/dist/src/components/molecules/FaqItem/FaqItem.tsx +42 -0
  410. package/dist/src/components/molecules/FaqItem/FaqItemProps.ts +9 -0
  411. package/dist/src/components/molecules/FaqItem/index.ts +2 -0
  412. package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.scss +8 -0
  413. package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.tsx +18 -0
  414. package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardListProps.types.ts +6 -0
  415. package/dist/src/components/molecules/FeatureRatafiaCardList/index.ts +2 -0
  416. package/dist/src/components/molecules/Feedback/Feedback.scss +109 -0
  417. package/dist/src/components/molecules/Feedback/Feedback.tsx +94 -0
  418. package/dist/src/components/molecules/Feedback/FeedbackProps.types.ts +16 -0
  419. package/dist/src/components/molecules/Feedback/index.ts +2 -0
  420. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.scss +110 -0
  421. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.tsx +54 -0
  422. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.types.ts +7 -0
  423. package/dist/src/components/molecules/FreeDocModalContent/index.ts +2 -0
  424. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.scss +31 -0
  425. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.tsx +26 -0
  426. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafiaProps.types.ts +8 -0
  427. package/dist/src/components/molecules/HeaderRatafia/index.ts +2 -0
  428. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.scss +21 -0
  429. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.tsx +21 -0
  430. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafiaProps.types.ts +5 -0
  431. package/dist/src/components/molecules/KeyFactCardListRatafia/index.ts +2 -0
  432. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.scss +32 -0
  433. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +22 -0
  434. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSectionProps.types.ts +7 -0
  435. package/dist/src/components/molecules/MenuItemsSection/index.ts +2 -0
  436. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.scss +29 -0
  437. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.tsx +31 -0
  438. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContentProps.types.ts +7 -0
  439. package/dist/src/components/molecules/MidBannerRatafiaContent/index.ts +2 -0
  440. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.scss +69 -0
  441. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.tsx +41 -0
  442. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSampleProps.types.ts +3 -0
  443. package/dist/src/components/molecules/MidBannerRatafiaSample/index.ts +2 -0
  444. package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.scss +74 -0
  445. package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.tsx +34 -0
  446. package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktopProps.ts +6 -0
  447. package/dist/src/components/molecules/MoreDocsDesktop/index.ts +2 -0
  448. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.d.ts +0 -1
  449. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.js +1 -1
  450. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.scss +71 -0
  451. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.tsx +47 -0
  452. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobileProps.ts +6 -0
  453. package/dist/src/components/molecules/MoreDocsMobile/index.ts +2 -0
  454. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.scss +33 -0
  455. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +96 -0
  456. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDownProps.types.ts +13 -0
  457. package/dist/src/components/molecules/NavBarDropDown/index.ts +2 -0
  458. package/dist/src/components/molecules/Pagination/PageStepControl.tsx +38 -0
  459. package/dist/src/components/molecules/Pagination/PageStepControlProps.types.ts +8 -0
  460. package/dist/src/components/molecules/Pagination/PageSteps.tsx +80 -0
  461. package/dist/src/components/molecules/Pagination/Pagination.scss +62 -0
  462. package/dist/src/components/molecules/Pagination/Pagination.tsx +42 -0
  463. package/dist/src/components/molecules/Pagination/PaginationProps.types.ts +7 -0
  464. package/dist/src/components/molecules/Pagination/index.ts +2 -0
  465. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.scss +60 -0
  466. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.tsx +23 -0
  467. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktopProps.types.ts +4 -0
  468. package/dist/src/components/molecules/PhoneContactBoxDesktop/index.ts +2 -0
  469. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.scss +33 -0
  470. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.tsx +25 -0
  471. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobileProps.types.ts +4 -0
  472. package/dist/src/components/molecules/PhoneContactBoxMobile/index.ts +2 -0
  473. package/dist/src/components/molecules/PopularDocs/PopularDocs.scss +34 -0
  474. package/dist/src/components/molecules/PopularDocs/PopularDocs.tsx +18 -0
  475. package/dist/src/components/molecules/PopularDocs/PopularDocsProps.ts +6 -0
  476. package/dist/src/components/molecules/PopularDocs/index.ts +2 -0
  477. package/dist/src/components/molecules/PricingCard/PricingCard.scss +186 -0
  478. package/dist/src/components/molecules/PricingCard/PricingCard.tsx +126 -0
  479. package/dist/src/components/molecules/PricingCard/PricingCardProps.types.ts +17 -0
  480. package/dist/src/components/molecules/PricingCard/index.ts +2 -0
  481. package/dist/src/components/molecules/Snackbar/Snackbar.scss +135 -0
  482. package/dist/src/components/molecules/Snackbar/Snackbar.tsx +81 -0
  483. package/dist/src/components/molecules/Snackbar/SnackbarProps.types.ts +15 -0
  484. package/dist/src/components/molecules/Snackbar/index.ts +2 -0
  485. package/dist/src/components/molecules/StepGetForm/StepGetForm.scss +105 -0
  486. package/dist/src/components/molecules/StepGetForm/StepGetForm.tsx +18 -0
  487. package/dist/src/components/molecules/StepGetForm/StepGetFormProps.types.ts +6 -0
  488. package/dist/src/components/molecules/StepGetForm/index.ts +2 -0
  489. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.scss +18 -0
  490. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.tsx +18 -0
  491. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardListProps.types.ts +5 -0
  492. package/dist/src/components/molecules/StepRatafiaCardList/index.ts +2 -0
  493. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.scss +5 -0
  494. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.tsx +18 -0
  495. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaListProps.types.ts +5 -0
  496. package/dist/src/components/molecules/TagsRatafiaList/index.ts +2 -0
  497. package/dist/src/components/molecules/TextInput/Input.tsx +74 -0
  498. package/dist/src/components/molecules/TextInput/TextInput.scss +176 -0
  499. package/dist/src/components/molecules/TextInput/TextInput.tsx +114 -0
  500. package/dist/src/components/molecules/TextInput/TextInputLabel.d.ts +0 -1
  501. package/dist/src/components/molecules/TextInput/TextInputLabel.js +0 -1
  502. package/dist/src/components/molecules/TextInput/TextInputLabel.tsx +26 -0
  503. package/dist/src/components/molecules/TextInput/TextInputMessage.tsx +22 -0
  504. package/dist/src/components/molecules/TextInput/TextInputProps.types.ts +24 -0
  505. package/dist/src/components/molecules/TextInput/TextInputTooltip.tsx +11 -0
  506. package/dist/src/components/molecules/TextInput/index.ts +2 -0
  507. package/dist/src/components/molecules/TextInput/stories/TextInput.stories.tsx +125 -0
  508. package/dist/src/components/molecules/TextInput/tests/Input.test.tsx +45 -0
  509. package/dist/src/components/molecules/TextInput/tests/TextInput.test.tsx +68 -0
  510. package/dist/src/components/molecules/TextInput/tests/TextInputLabel.test.tsx +41 -0
  511. package/dist/src/components/molecules/TextInput/tests/TextInputMessage.test.tsx +27 -0
  512. package/dist/src/components/molecules/TextInput/tests/TextInputTooltip.test.tsx +22 -0
  513. package/dist/src/components/molecules/TooltipMenu/TooltipMenu.scss +40 -0
  514. package/dist/src/components/molecules/TooltipMenu/TooltipMenu.tsx +23 -0
  515. package/dist/src/components/molecules/TooltipMenu/TooltipMenuProps.types.ts +9 -0
  516. package/dist/src/components/molecules/TooltipMenu/index.ts +2 -0
  517. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.scss +12 -0
  518. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.tsx +18 -0
  519. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsitesProps.types.ts +8 -0
  520. package/dist/src/components/molecules/TrustworthyWebsites/index.ts +2 -0
  521. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.scss +108 -0
  522. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.tsx +45 -0
  523. package/dist/src/components/molecules/TypeModulesList/TypeModulesListProps.types.ts +16 -0
  524. package/dist/src/components/molecules/TypeModulesList/index.ts +2 -0
  525. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.scss +63 -0
  526. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.tsx +40 -0
  527. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZoneProps.types.ts +19 -0
  528. package/dist/src/components/molecules/UploadRatafiaZone/index.ts +2 -0
  529. package/dist/src/components/molecules/index.ts +41 -0
  530. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.scss +58 -0
  531. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.tsx +23 -0
  532. package/dist/src/components/organisms/AboutUsContent/AboutUsContentProps.types.ts +7 -0
  533. package/dist/src/components/organisms/AboutUsContent/index.ts +2 -0
  534. package/dist/src/components/organisms/Accordion/Accordion.context.tsx +124 -0
  535. package/dist/src/components/organisms/Accordion/Accordion.scss +4 -0
  536. package/dist/src/components/organisms/Accordion/Accordion.tsx +36 -0
  537. package/dist/src/components/organisms/Accordion/AccordionProps.types.ts +12 -0
  538. package/dist/src/components/organisms/Accordion/index.ts +2 -0
  539. package/dist/src/components/organisms/ArticlesList/ArticlesList.scss +12 -0
  540. package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +19 -0
  541. package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.ts +5 -0
  542. package/dist/src/components/organisms/ArticlesList/index.ts +2 -0
  543. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.scss +22 -0
  544. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.tsx +21 -0
  545. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContentProps.types.ts +6 -0
  546. package/dist/src/components/organisms/AsSeeInContent/index.ts +2 -0
  547. package/dist/src/components/organisms/CardFuncionality/CardFuncionality.scss +60 -0
  548. package/dist/src/components/organisms/CardFuncionality/CardFuncionality.tsx +29 -0
  549. package/dist/src/components/organisms/CardFuncionality/CardFuncionalityProps.ts +9 -0
  550. package/dist/src/components/organisms/CardFuncionality/index.ts +2 -0
  551. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.scss +45 -0
  552. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.tsx +32 -0
  553. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotronProps.types.ts +11 -0
  554. package/dist/src/components/organisms/ContactJumbotron/index.ts +2 -0
  555. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.scss +54 -0
  556. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.tsx +23 -0
  557. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBarProps.ts +4 -0
  558. package/dist/src/components/organisms/CookiePolicyBar/index.ts +2 -0
  559. package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.scss +18 -0
  560. package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.tsx +13 -0
  561. package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafiaProps.types.ts +4 -0
  562. package/dist/src/components/organisms/ErrorContentRatafia/index.ts +2 -0
  563. package/dist/src/components/organisms/FaqGroup/FaqGroup.scss +22 -0
  564. package/dist/src/components/organisms/FaqGroup/FaqGroup.tsx +21 -0
  565. package/dist/src/components/organisms/FaqGroup/FaqGroupProps.ts +10 -0
  566. package/dist/src/components/organisms/FaqGroup/index.ts +2 -0
  567. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.scss +28 -0
  568. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.tsx +30 -0
  569. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContentProps.types.ts +8 -0
  570. package/dist/src/components/organisms/FeaturesRatafiaContent/index.ts +2 -0
  571. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.scss +70 -0
  572. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +20 -0
  573. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContentProps.types.ts +5 -0
  574. package/dist/src/components/organisms/GuidelinesContent/index.ts +2 -0
  575. package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.scss +28 -0
  576. package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.tsx +19 -0
  577. package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContentProps.types.ts +7 -0
  578. package/dist/src/components/organisms/JumbotronRatafiaContent/index.ts +2 -0
  579. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.scss +146 -0
  580. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.tsx +46 -0
  581. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafiaProps.types.ts +5 -0
  582. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/index.ts +2 -0
  583. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.scss +23 -0
  584. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.tsx +20 -0
  585. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafiaProps.types.ts +11 -0
  586. package/dist/src/components/organisms/KeyFactsResultContentRatafia/index.ts +3 -0
  587. package/dist/src/components/organisms/LanguageSelector/LanguageSelector.tsx +53 -0
  588. package/dist/src/components/organisms/LanguageSelector/LanguageSelectorProps.ts +6 -0
  589. package/dist/src/components/organisms/LanguageSelector/LenguageSelectorItem.ts +6 -0
  590. package/dist/src/components/organisms/LanguageSelector/index.ts +6 -0
  591. package/dist/src/components/organisms/LanguageSelector/useLanguageOptions.tsx +18 -0
  592. package/dist/src/components/organisms/LanguageSelector/useLanguageSelected.tsx +18 -0
  593. package/dist/src/components/organisms/LanguageSelector/useLanguagesSelector.tsx +31 -0
  594. package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.scss +65 -0
  595. package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.tsx +67 -0
  596. package/dist/src/components/organisms/LanguageSelectorMobile/index.ts +1 -0
  597. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.scss +93 -0
  598. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.tsx +25 -0
  599. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafiaProps.types.ts +9 -0
  600. package/dist/src/components/organisms/LayoutRatafia/index.ts +2 -0
  601. package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.d.ts +0 -1
  602. package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.js +1 -1
  603. package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.scss +35 -0
  604. package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.tsx +23 -0
  605. package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetFormProps.types.ts +5 -0
  606. package/dist/src/components/organisms/ListStepsGetForm/index.ts +2 -0
  607. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.d.ts +0 -1
  608. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.js +1 -1
  609. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.scss +16 -0
  610. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.tsx +18 -0
  611. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContentProps.types.ts +8 -0
  612. package/dist/src/components/organisms/LoginRatafiaContent/index.ts +2 -0
  613. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.d.ts +0 -1
  614. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.js +1 -1
  615. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.scss +46 -0
  616. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.tsx +34 -0
  617. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.ts +5 -0
  618. package/dist/src/components/organisms/MobileBottomBar/index.ts +2 -0
  619. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.d.ts +0 -1
  620. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.js +1 -1
  621. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.scss +12 -0
  622. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.tsx +16 -0
  623. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContentProps.types.ts +6 -0
  624. package/dist/src/components/organisms/StepsRatafiaContent/index.ts +2 -0
  625. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.d.ts +0 -1
  626. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +1 -1
  627. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss +49 -0
  628. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +19 -0
  629. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +5 -0
  630. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.ts +2 -0
  631. package/dist/src/components/organisms/index.ts +22 -0
  632. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +43 -0
  633. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +20 -0
  634. package/dist/src/components/pages/AboutUsPage/index.ts +2 -0
  635. package/dist/src/components/pages/ContactUsPage/ContactUsPage.tsx +20 -0
  636. package/dist/src/components/pages/ContactUsPage/ContactUsPageProps.ts +9 -0
  637. package/dist/src/components/pages/ContactUsPage/index.ts +2 -0
  638. package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.scss +32 -0
  639. package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.tsx +68 -0
  640. package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPageProps.types.ts +18 -0
  641. package/dist/src/components/pages/ErrorRatafiaPage/index.ts +2 -0
  642. package/dist/src/components/pages/FaqsPage/FaqsPage.d.ts +0 -1
  643. package/dist/src/components/pages/FaqsPage/FaqsPage.js +1 -1
  644. package/dist/src/components/pages/FaqsPage/FaqsPage.scss +61 -0
  645. package/dist/src/components/pages/FaqsPage/FaqsPage.tsx +20 -0
  646. package/dist/src/components/pages/FaqsPage/FaqsPageProps.ts +8 -0
  647. package/dist/src/components/pages/FaqsPage/index.ts +2 -0
  648. package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.scss +23 -0
  649. package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.tsx +74 -0
  650. package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPageProps.types.ts +20 -0
  651. package/dist/src/components/pages/KeyFactsResultRatafiaPage/index.ts +2 -0
  652. package/dist/src/components/pages/LegalPage/LegalPage.tsx +14 -0
  653. package/dist/src/components/pages/LegalPage/LegalPageProps.ts +7 -0
  654. package/dist/src/components/pages/LegalPage/index.ts +2 -0
  655. package/dist/src/components/pages/LoginRatafiaPage/LoginPageRatafia.scss +23 -0
  656. package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.tsx +73 -0
  657. package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPageProps.ts +23 -0
  658. package/dist/src/components/pages/LoginRatafiaPage/index.ts +2 -0
  659. package/dist/src/components/pages/RatafiaLandingPage/RatafiaLandingPage.tsx +42 -0
  660. package/dist/src/components/pages/RatafiaLandingPage/RatafiaLandingPageProps.types.ts +20 -0
  661. package/dist/src/components/pages/RatafiaLandingPage/index.ts +2 -0
  662. package/dist/src/components/pages/UnsubscribePage/UnsubscribePage.tsx +14 -0
  663. package/dist/src/components/pages/UnsubscribePage/UnsubscribePageProps.ts +7 -0
  664. package/dist/src/components/pages/UnsubscribePage/index.ts +2 -0
  665. package/dist/src/components/pages/index.ts +9 -0
  666. package/dist/src/components/sections/AboutUsSection/AboutUsSection.scss +52 -0
  667. package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +24 -0
  668. package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.ts +7 -0
  669. package/dist/src/components/sections/AboutUsSection/index.ts +2 -0
  670. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +33 -0
  671. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.tsx +22 -0
  672. package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.ts +6 -0
  673. package/dist/src/components/sections/AsSeeInSection/index.ts +2 -0
  674. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.scss +50 -0
  675. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.tsx +26 -0
  676. package/dist/src/components/sections/AsideMenuSection/AsideMenuSectionProps.ts +9 -0
  677. package/dist/src/components/sections/AsideMenuSection/index.ts +2 -0
  678. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.scss +57 -0
  679. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.tsx +25 -0
  680. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.ts +7 -0
  681. package/dist/src/components/sections/BenefitsRatafiaSection/index.ts +2 -0
  682. package/dist/src/components/sections/BlogSection/BlogSection.scss +33 -0
  683. package/dist/src/components/sections/BlogSection/BlogSection.tsx +20 -0
  684. package/dist/src/components/sections/BlogSection/BlogSectionProps.types.ts +7 -0
  685. package/dist/src/components/sections/BlogSection/index.ts +2 -0
  686. package/dist/src/components/sections/ContactSection/ContactSection.scss +90 -0
  687. package/dist/src/components/sections/ContactSection/ContactSection.tsx +25 -0
  688. package/dist/src/components/sections/ContactSection/ContactSectionProps.ts +7 -0
  689. package/dist/src/components/sections/ContactSection/index.ts +2 -0
  690. package/dist/src/components/sections/ExpertsSection/ExpertsSection.scss +26 -0
  691. package/dist/src/components/sections/ExpertsSection/ExpertsSection.tsx +20 -0
  692. package/dist/src/components/sections/ExpertsSection/ExpertsSectionProps.types.ts +6 -0
  693. package/dist/src/components/sections/ExpertsSection/index.ts +2 -0
  694. package/dist/src/components/sections/FaqSection/FaqSection.scss +31 -0
  695. package/dist/src/components/sections/FaqSection/FaqSection.tsx +18 -0
  696. package/dist/src/components/sections/FaqSection/FaqSectionProps.ts +6 -0
  697. package/dist/src/components/sections/FaqSection/index.ts +2 -0
  698. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.scss +57 -0
  699. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.tsx +25 -0
  700. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSectionProps.types.ts +6 -0
  701. package/dist/src/components/sections/FeaturesRatafiaSection/index.ts +2 -0
  702. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.scss +11 -0
  703. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.tsx +17 -0
  704. package/dist/src/components/sections/GuidelinesSection/GuidelinesSectionProps.types.ts +5 -0
  705. package/dist/src/components/sections/GuidelinesSection/index.ts +2 -0
  706. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.scss +26 -0
  707. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +25 -0
  708. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSectionProps.types.ts +7 -0
  709. package/dist/src/components/sections/HowGetYourFormsSection/index.ts +2 -0
  710. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.scss +41 -0
  711. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.tsx +18 -0
  712. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSectionProps.types.ts +6 -0
  713. package/dist/src/components/sections/JumbotronRatafiaSection/index.ts +2 -0
  714. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.scss +41 -0
  715. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.tsx +22 -0
  716. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSectionProps.types.ts +10 -0
  717. package/dist/src/components/sections/JumbotronSimplifiedSection/index.ts +2 -0
  718. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.scss +107 -0
  719. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.tsx +24 -0
  720. package/dist/src/components/sections/LearnMoreSection/LearnMoreSectionProps.types.ts +6 -0
  721. package/dist/src/components/sections/LearnMoreSection/index.ts +2 -0
  722. package/dist/src/components/sections/LegalSection/LegalSection.scss +120 -0
  723. package/dist/src/components/sections/LegalSection/LegalSection.tsx +15 -0
  724. package/dist/src/components/sections/LegalSection/LegalSectionProps.ts +5 -0
  725. package/dist/src/components/sections/LegalSection/index.ts +2 -0
  726. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.scss +47 -0
  727. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.tsx +33 -0
  728. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSectionProps.types.ts +8 -0
  729. package/dist/src/components/sections/MidBannerRatafiaSection/index.ts +2 -0
  730. package/dist/src/components/sections/MoreDocsSection/MoreDocsSection.tsx +24 -0
  731. package/dist/src/components/sections/MoreDocsSection/MoreDocsSectionProps.ts +6 -0
  732. package/dist/src/components/sections/MoreDocsSection/index.ts +2 -0
  733. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.scss +17 -0
  734. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.tsx +16 -0
  735. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSectionProps.types.ts +6 -0
  736. package/dist/src/components/sections/PeopleSayAboutUsSection/index.ts +2 -0
  737. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.scss +53 -0
  738. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.tsx +24 -0
  739. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSectionProps.types.ts +7 -0
  740. package/dist/src/components/sections/StepsRatafiaSection/index.ts +2 -0
  741. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.scss +69 -0
  742. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.tsx +22 -0
  743. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSectionProps.types.ts +5 -0
  744. package/dist/src/components/sections/TryItRatafiaSection/index.ts +2 -0
  745. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.scss +11 -0
  746. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +17 -0
  747. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSectionProps.types.ts +5 -0
  748. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/index.ts +2 -0
  749. package/dist/src/components/sections/TryUsSection/TryUsSection.scss +24 -0
  750. package/dist/src/components/sections/TryUsSection/TryUsSection.tsx +14 -0
  751. package/dist/src/components/sections/TryUsSection/TryUsSectionProps.ts +8 -0
  752. package/dist/src/components/sections/TryUsSection/index.ts +2 -0
  753. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.scss +62 -0
  754. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.tsx +15 -0
  755. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSectionProps.ts +5 -0
  756. package/dist/src/components/sections/UnsubscribeSection/index.ts +2 -0
  757. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.scss +36 -0
  758. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.tsx +32 -0
  759. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSectionProps.types.ts +13 -0
  760. package/dist/src/components/sections/WhyLawDistrictSection/index.ts +2 -0
  761. package/dist/src/components/sections/index.ts +24 -0
  762. package/dist/src/custom.d.ts +13 -0
  763. package/dist/src/globalStyles/animations.scss +75 -0
  764. package/dist/src/globalStyles/base.scss +74 -0
  765. package/dist/src/globalStyles/functions.scss +23 -0
  766. package/dist/src/globalStyles/layout.scss +77 -0
  767. package/dist/src/globalStyles/mediaqueries.scss +43 -0
  768. package/dist/src/globalStyles/reset.scss +68 -0
  769. package/dist/src/globalStyles/styles.scss +161 -0
  770. package/dist/src/globalStyles/themes.scss +271 -0
  771. package/dist/src/globalStyles/typography.scss +108 -0
  772. package/dist/src/globalStyles/variables.scss +84 -0
  773. package/dist/src/hooks/index.ts +2 -0
  774. package/dist/src/hooks/useIntersectionObserver.tsx +31 -0
  775. package/dist/src/hooks/useIsMobileOrTable.tsx +41 -0
  776. package/dist/src/index.ts +3 -0
  777. package/dist/src/styles/stories.scss +67 -0
  778. package/dist/src/utils/ProductCategory.ts +7 -0
  779. package/dist/src/utils/getCategoryIcons.tsx +41 -0
  780. package/dist/src/utils/getDateFormatMMMMYYYY.ts +3 -0
  781. package/dist/src/utils/getGatsbyImageSkeleton.tsx +19 -0
  782. package/dist/src/utils/getRichTextSkeleton.tsx +5 -0
  783. package/dist/src/utils/index.d.ts +7 -0
  784. package/dist/src/utils/index.js +7 -0
  785. package/dist/src/utils/index.ts +7 -0
  786. package/dist/src/utils/replaceAll.ts +7 -0
  787. package/dist/src/utils/stringSlugify.ts +3 -0
  788. package/dist/tsconfig.build.tsbuildinfo +1 -1
  789. package/package.json +7 -3
@@ -0,0 +1,222 @@
1
+ @import '../../../globalStyles/variables.scss';
2
+ @import '../../../globalStyles/mediaqueries.scss';
3
+
4
+ .e-searchselect {
5
+ display: flex;
6
+ flex-direction: column-reverse;
7
+ margin-bottom: 2rem;
8
+ position: relative;
9
+ width: 100%;
10
+
11
+ @include laptop {
12
+ max-width: 50%;
13
+ }
14
+
15
+ &--error {
16
+ display: none;
17
+ }
18
+
19
+ &__inner {
20
+ margin-bottom: 0.5rem;
21
+
22
+ label {
23
+ font-weight: bold;
24
+ }
25
+ }
26
+
27
+ .css-1wy0on6 {
28
+ & div:not(:last-child):first-child {
29
+ display: none;
30
+ }
31
+ }
32
+
33
+ .css-1hb7zxy-IndicatorsContainer {
34
+ div:nth-child(1) {
35
+ display: none;
36
+ }
37
+ }
38
+
39
+ .css-1gtu0rj-indicatorContainer {
40
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iOHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjAgMCA4IDIwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IHNrZXRjaHRvb2wgNjMuMSAoMTAxMDEwKSAtIGh0dHBzOi8vc2tldGNoLmNvbSAtLT4KICAgIDx0aXRsZT41N0NBNzNCRi02MUNDLTQ2RkYtOEE5Qi1DMzMzRTQxQUZDMzA8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIHNrZXRjaHRvb2wuPC9kZXNjPgogICAgPGRlZnM+CiAgICAgICAgPHBhdGggZD0iTTE1LjA2LDE2LjI5NSBMMTYsMTcuMjM1IEwxMiwyMS4yMzUgTDgsMTcuMjM1IEw4Ljk0LDE2LjI5NSBMMTIsMTkuMzQ4MzMzMyBMMTUuMDYsMTYuMjk1IFogTTEyLDIuMjk1IEwxNiw2LjI5NSBMMTUuMDYsNy4yMzUgTDEyLDQuMTgxNjY2NjcgTDguOTQsNy4yMzUgTDgsNi4yOTUgTDEyLDIuMjk1IFoiIGlkPSJwYXRoLTEiPjwvcGF0aD4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSJVSS1TdHlsZS1HdWlkZS0tLUxEIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iVUktU3R5bGUtR3VpZGUtLS1MYXdEaXN0cmljdC0wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTc2MS4wMDAwMDAsIC05NjYuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSJpY29uL2V4cGFuZF9kcm9wZG93bl8yNHB4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg3NTMuMDAwMDAwLCA5NjQuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8cmVjdCBpZD0iQm91bmQiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PC9yZWN0PgogICAgICAgICAgICAgICAgPG1hc2sgaWQ9Im1hc2stMiIgZmlsbD0id2hpdGUiPgogICAgICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgICAgICA8L21hc2s+CiAgICAgICAgICAgICAgICA8ZyBpZD0iQ29tYmluZWQtU2hhcGUiIGZpbGwtcnVsZT0ibm9uemVybyI+PC9nPgogICAgICAgICAgICAgICAgPGcgaWQ9IuKGsy1Db2xvciIgbWFzaz0idXJsKCNtYXNrLTIpIiBmaWxsPSIjMUUyMDIxIj4KICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiPjwvcmVjdD4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+);
41
+ background-repeat: no-repeat;
42
+ background-position: center center;
43
+ height: 30px;
44
+ width: 30px;
45
+
46
+ svg {
47
+ display: none;
48
+ }
49
+
50
+ &:not(:last-child):first-child {
51
+ display: none;
52
+ }
53
+ }
54
+
55
+ .css-tlfecz-indicatorContainer {
56
+ background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iOHB4IiBoZWlnaHQ9IjIwcHgiIHZpZXdCb3g9IjAgMCA4IDIwIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IHNrZXRjaHRvb2wgNjMuMSAoMTAxMDEwKSAtIGh0dHBzOi8vc2tldGNoLmNvbSAtLT4KICAgIDx0aXRsZT41N0NBNzNCRi02MUNDLTQ2RkYtOEE5Qi1DMzMzRTQxQUZDMzA8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIHNrZXRjaHRvb2wuPC9kZXNjPgogICAgPGRlZnM+CiAgICAgICAgPHBhdGggZD0iTTE1LjA2LDE2LjI5NSBMMTYsMTcuMjM1IEwxMiwyMS4yMzUgTDgsMTcuMjM1IEw4Ljk0LDE2LjI5NSBMMTIsMTkuMzQ4MzMzMyBMMTUuMDYsMTYuMjk1IFogTTEyLDIuMjk1IEwxNiw2LjI5NSBMMTUuMDYsNy4yMzUgTDEyLDQuMTgxNjY2NjcgTDguOTQsNy4yMzUgTDgsNi4yOTUgTDEyLDIuMjk1IFoiIGlkPSJwYXRoLTEiPjwvcGF0aD4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSJVSS1TdHlsZS1HdWlkZS0tLUxEIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iVUktU3R5bGUtR3VpZGUtLS1MYXdEaXN0cmljdC0wMiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTc2MS4wMDAwMDAsIC05NjYuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSJpY29uL2V4cGFuZF9kcm9wZG93bl8yNHB4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg3NTMuMDAwMDAwLCA5NjQuMDAwMDAwKSI+CiAgICAgICAgICAgICAgICA8cmVjdCBpZD0iQm91bmQiIHg9IjAiIHk9IjAiIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCI+PC9yZWN0PgogICAgICAgICAgICAgICAgPG1hc2sgaWQ9Im1hc2stMiIgZmlsbD0id2hpdGUiPgogICAgICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgICAgICA8L21hc2s+CiAgICAgICAgICAgICAgICA8ZyBpZD0iQ29tYmluZWQtU2hhcGUiIGZpbGwtcnVsZT0ibm9uemVybyI+PC9nPgogICAgICAgICAgICAgICAgPGcgaWQ9IuKGsy1Db2xvciIgbWFzaz0idXJsKCNtYXNrLTIpIiBmaWxsPSIjMUUyMDIxIj4KICAgICAgICAgICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiPjwvcmVjdD4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+);
57
+ background-repeat: no-repeat;
58
+ background-position: center center;
59
+ height: 30px;
60
+ width: 30px;
61
+
62
+ svg {
63
+ display: none;
64
+ }
65
+ }
66
+
67
+ .css-1u9des2-indicatorSeparator {
68
+ display: none;
69
+ }
70
+
71
+ .legal-selector {
72
+ display: flex;
73
+ flex-direction: column-reverse;
74
+ margin-bottom: 1rem;
75
+ position: relative;
76
+ border-radius: $global-border-radius;
77
+ transition: box-shadow 0.3s ease;
78
+ box-shadow: 0 0 0 1px get-color(neutral, neutral-3);
79
+ background-color: get-color(neutral, neutral-5);
80
+
81
+ .css-1hwfws3 {
82
+ height: 40px;
83
+ }
84
+
85
+ .css-yk16xz-control {
86
+ background-color: get-color(neutral, neutral-6);
87
+ border: none;
88
+ }
89
+
90
+ .css-1pahdxg-control {
91
+ outline: none;
92
+ border: none;
93
+ background-color: get-color(neutral, neutral-6);
94
+ box-shadow: 0 0 0 2px get-color(primary);
95
+ }
96
+
97
+ .css-1wa3eu0-placeholder {
98
+ font-size: 0.875rem;
99
+ color: get-color(neutral, neutral-2);
100
+ }
101
+
102
+ .css-26l3qy-menu {
103
+ border-radius: $global-border-radius;
104
+ box-shadow: $box-shadow-container;
105
+ font-size: 0.875rem;
106
+ }
107
+
108
+ .css-9gakcf-option {
109
+ background-color: get-color(neutral, neutral-6);
110
+ color: get-color(neutral, neutral-1);
111
+ }
112
+
113
+ .css-1uccc91-singleValue {
114
+ font-size: 0.875rem;
115
+ transition: all 0.3s ease;
116
+ }
117
+
118
+ .css-b8ldur-Input {
119
+ font-size: 0.875rem;
120
+ }
121
+
122
+ .css-1n7v3ny-option {
123
+ background-color: transparent;
124
+ &:hover {
125
+ background-color: get-color(neutral, neutral-4);
126
+ }
127
+ }
128
+
129
+ &:hover {
130
+ box-shadow: 0 0 0 1px get-color(neutral, neutral-2);
131
+ }
132
+
133
+ &:active,
134
+ &:focus {
135
+ outline: none;
136
+ }
137
+ }
138
+
139
+ &.--group-invalid {
140
+ .legal-selector {
141
+ box-shadow: 0 0 0 1px get-color(error);
142
+ }
143
+
144
+ .css-yk16xz-control {
145
+ background-color: get-color(error, error-3);
146
+ }
147
+ }
148
+
149
+ &.--is-invalid {
150
+ .e-searchselect--error {
151
+ display: flex;
152
+ align-content: center;
153
+ position: absolute;
154
+ bottom: 0;
155
+ margin-top: 0.5rem;
156
+ color: get-color(error);
157
+
158
+ img {
159
+ max-width: 20px;
160
+ margin-right: 0.25rem;
161
+ }
162
+ }
163
+
164
+ .legal-selector {
165
+ box-shadow: 0 0 0 1px get-color(error);
166
+ }
167
+
168
+ .css-yk16xz-control {
169
+ background-color: get-color(error, error-3);
170
+ }
171
+ }
172
+ }
173
+
174
+ .searchselect__label {
175
+ color: get-color(neutral, neutral-1);
176
+ }
177
+
178
+ .searchselect--fullwidth {
179
+ max-width: 100%;
180
+ }
181
+
182
+ .search-select--bare {
183
+ margin-bottom: 0;
184
+
185
+ .legal-selector,
186
+ .e-searchselect__inner {
187
+ margin-bottom: 0;
188
+ }
189
+
190
+ .legal-selector,
191
+ .css-1pahdxg-control,
192
+ .css-yk16xz-control {
193
+ min-height: 42px;
194
+ }
195
+
196
+ .legal-selector {
197
+ margin-bottom: 0;
198
+ }
199
+ }
200
+
201
+ .search-select--small {
202
+ width: 5.5rem;
203
+
204
+ @include laptop {
205
+ max-width: 100%;
206
+ }
207
+ }
208
+
209
+ .mobile-select-container {
210
+ display: flex;
211
+ flex-direction: row;
212
+ align-items: flex-start;
213
+ gap: 1.25rem;
214
+ }
215
+
216
+ .width {
217
+ width: 85%;
218
+
219
+ @include portrait-tablets {
220
+ width: 60%;
221
+ }
222
+ }
@@ -0,0 +1,100 @@
1
+ /* eslint-disable @typescript-eslint/strict-boolean-expressions */
2
+ import React, { type FC } from 'react'
3
+ import Select from 'react-select'
4
+
5
+ import { type SearchSelectProps } from './SearchSelectProps.types'
6
+ import classNames from 'classnames'
7
+ import error from '../../../../images/svg/info-error_24px_outlined.svg'
8
+ // import './SearchSelect.scss'
9
+
10
+ export enum MenuPlacement {
11
+ top = 'top',
12
+ bottom = 'bottom',
13
+ auto = 'auto'
14
+ }
15
+
16
+ const getSortedItems = (items: any, isSortAlphabetically: boolean | undefined = false): any => {
17
+ if (isSortAlphabetically) {
18
+ return items.sort((item1: any, item2: any) => {
19
+ const textItem1 = item1.label.toUpperCase()
20
+ const textItem2 = item2.label.toUpperCase()
21
+ if (textItem1 < textItem2) return -1
22
+ return textItem1 > textItem2 ? 1 : 0
23
+ })
24
+ }
25
+ return items
26
+ }
27
+
28
+ const SearchSelect: FC<SearchSelectProps> = (props) => {
29
+ const { customClass = '', menuPlacement = MenuPlacement.bottom } = props
30
+ const sortedItems = getSortedItems(props.items, props.isSortAlphabetically)
31
+ const defaultValue = props.defaultValue as unknown as string
32
+
33
+ const classnames = classNames({
34
+ 'e-searchselect': true,
35
+ '--is-invalid': !props.validate,
36
+ [`${customClass}`]: props.customClass,
37
+ '--group-invalid': !props.isValidGroup
38
+ })
39
+
40
+ const handleChange = (selectedOption): void => {
41
+ const selectObject = {
42
+ target: {
43
+ name: props.name,
44
+ value: selectedOption
45
+ }
46
+ }
47
+ props.onChange(selectObject)
48
+ }
49
+
50
+ const TooltipObject =
51
+ props.tooltip && typeof props.tooltip === 'string' ? (
52
+ <p className='tooltip-form sans-serif --small'>{props.tooltip}</p>
53
+ ) : (
54
+ ''
55
+ )
56
+
57
+ return (
58
+ <>
59
+ {props.label && (
60
+ <div className={'e-searchselect__inner'}>
61
+ <label className='searchselect__label'>{props.label}</label>
62
+ </div>
63
+ )}
64
+ <div className={`${classnames} ${props.width ? 'width' : ''}`} data-qa={`${props.dataQA ?? props.name}`}>
65
+ {TooltipObject}
66
+ <span className='e-searchselect--error sans-serif --small'>
67
+ <img src={error} alt={props.errorMessage} width='24' height='24' />
68
+ {props.errorMessage}
69
+ </span>
70
+ <Select
71
+ styles={{
72
+ control: (baseStyles, state) => {
73
+ return {
74
+ ...baseStyles,
75
+ borderColor: state.isFocused ? 'var(--primary-main) !important' : '',
76
+ boxShadow: state.isFocused ? '0 0 0 1px var(--primary-main) !important' : '',
77
+ borderStyle: state.isFocused ? 'solid' : 'initial'
78
+ }
79
+ }
80
+ }}
81
+ id={props.name}
82
+ name={props.name}
83
+ className='legal-selector'
84
+ defaultValue={defaultValue}
85
+ onChange={handleChange}
86
+ isDisabled={props.disabled}
87
+ isSearchable={props.isSearchable !== false}
88
+ options={sortedItems}
89
+ escapeClearsValue={true}
90
+ isClearable={true}
91
+ placeholder={props.placeholder}
92
+ defaultMenuIsOpen={props.defaultMenuIsOpen}
93
+ menuPlacement={menuPlacement}
94
+ />
95
+ </div>
96
+ </>
97
+ )
98
+ }
99
+
100
+ export default SearchSelect
@@ -0,0 +1,28 @@
1
+ import { type MenuPlacement } from './SearchSelect'
2
+
3
+ type DefaultValue = Record<string, string | null | undefined>
4
+
5
+ export interface SearchSelectProps {
6
+ id?: string
7
+ name: string
8
+ customClass?: string
9
+ value?: string
10
+ validate?: boolean
11
+ tooltip?: string
12
+ isValidGroup?: boolean
13
+ label: string
14
+ items: any[]
15
+ onChange: (event: any) => void
16
+ disabled?: boolean
17
+ errorMessage?: string
18
+ notes?: string
19
+ isSortAlphabetically?: boolean
20
+ isSearchable?: boolean
21
+ placeholder?: string
22
+ defaultMenuIsOpen?: boolean
23
+ tooltipBesideLabel?: React.ReactNode
24
+ width?: boolean
25
+ defaultValue: DefaultValue
26
+ menuPlacement: MenuPlacement
27
+ dataQA: string
28
+ }
@@ -0,0 +1,2 @@
1
+ export { default as SearchSelect, MenuPlacement } from './SearchSelect'
2
+ export { type SearchSelectProps } from './SearchSelectProps.types'
@@ -0,0 +1,48 @@
1
+ @import '../../../globalStyles/variables.scss';
2
+ @import '../../../globalStyles/mediaqueries.scss';
3
+
4
+ .show-more-box {
5
+ display: flex;
6
+ padding: 1rem;
7
+ flex-direction: column;
8
+ gap: $global-gap;
9
+ border-radius: $global-border-radius;
10
+ background: get-color(neutral, neutral-5);
11
+
12
+ .content {
13
+ color: get-color(neutral, neutral-1);
14
+ font-size: 12px;
15
+ line-height: 16px;
16
+ letter-spacing: -0.3px;
17
+
18
+ &.truncate {
19
+ display: -webkit-box;
20
+ -webkit-line-clamp: 4;
21
+ -webkit-box-orient: vertical;
22
+ overflow: hidden;
23
+ }
24
+ }
25
+
26
+ .button {
27
+ display: flex;
28
+ align-items: center;
29
+ align-self: stretch;
30
+ cursor: pointer;
31
+
32
+ div {
33
+ color: get-color(primary, main-light-1);
34
+ font-size: 14px;
35
+ line-height: 18px;
36
+ letter-spacing: -0.3px;
37
+ }
38
+
39
+ svg {
40
+ width: 20px;
41
+ height: 20px;
42
+
43
+ path {
44
+ fill: get-color(primary, main-light-1);
45
+ }
46
+ }
47
+ }
48
+ }
@@ -0,0 +1,34 @@
1
+ import React from 'react'
2
+
3
+ import { ChevronExpandLess } from '../../../../images/componentsSvg/ChevronExpandLess'
4
+ import { ChevronExpandMore } from '../../../../images/componentsSvg/ChevronExpandMore'
5
+ import { type ShowMoreBoxProps } from './ShowMoreBoxProps'
6
+ // import './ShowMoreBox.scss'
7
+
8
+ export const ShowMoreBox: React.FC<ShowMoreBoxProps> = ({
9
+ children,
10
+ collapsedButtonText = 'Show More',
11
+ expandedButtonText = 'Show Less'
12
+ }) => {
13
+ const [isExpanded, setIsExpanded] = React.useState(false)
14
+ return (
15
+ <div className='show-more-box'>
16
+ <div className={`content ${isExpanded ? '' : 'truncate'}`}>{children}</div>
17
+ <div className='button'>
18
+ <div
19
+ role='button'
20
+ tabIndex={0}
21
+ onClick={() => {
22
+ setIsExpanded(!isExpanded)
23
+ }}
24
+ onKeyDown={() => {
25
+ setIsExpanded(!isExpanded)
26
+ }}
27
+ >
28
+ {isExpanded ? expandedButtonText : collapsedButtonText}
29
+ </div>
30
+ {isExpanded ? <ChevronExpandLess /> : <ChevronExpandMore />}
31
+ </div>
32
+ </div>
33
+ )
34
+ }
@@ -0,0 +1,5 @@
1
+ export interface ShowMoreBoxProps {
2
+ children: React.ReactNode
3
+ collapsedButtonText?: string
4
+ expandedButtonText?: string
5
+ }
@@ -0,0 +1,2 @@
1
+ export { ShowMoreBox } from './ShowMoreBox'
2
+ export type { ShowMoreBoxProps } from './ShowMoreBoxProps'
@@ -0,0 +1,11 @@
1
+ import { type MouseEventHandler } from 'react'
2
+
3
+ export interface SideMenuTabProps {
4
+ text?: string
5
+ active?: boolean
6
+ mobile?: boolean
7
+ menu?: any
8
+ onClick?: MouseEventHandler<HTMLButtonElement>
9
+ image?: React.ReactNode
10
+ children?: React.ReactNode
11
+ }
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
2
  import { type SideMenuTabProps } from './SideMenuTabProps.types';
3
- import './SidemenuTab.scss';
4
3
  declare const SidemenuTab: React.FC<SideMenuTabProps>;
5
4
  export default SidemenuTab;
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import classNames from 'classnames';
3
3
  import { MenuItems } from '../MenuItems';
4
4
  import { Tooltip } from '../Tooltip';
5
- import './SidemenuTab.scss';
5
+ // import './SidemenuTab.scss'
6
6
  const SidemenuTab = ({ active, mobile, menu, text, image, onClick, children }) => {
7
7
  const classes = classNames('sidemenu-tab', {
8
8
  'sidemenu-tab--active': active,
@@ -0,0 +1,90 @@
1
+ @import '../../../globalStyles/variables.scss';
2
+
3
+ .sidemenu-tab {
4
+ padding: 1rem 0.5rem;
5
+ color: get-color(neutral, neutral-3);
6
+ background-color: transparent;
7
+ border: none;
8
+ outline: none;
9
+ width: 100%;
10
+ position: relative;
11
+ cursor: pointer;
12
+
13
+ svg {
14
+ margin-right: 1rem;
15
+
16
+ g g {
17
+ fill: get-color(neutral, neutral-3);
18
+ }
19
+ }
20
+
21
+ &--active {
22
+ border-left: 2px solid get-color(primary, main-light-3);
23
+ color: get-color(primary, main-light-3);
24
+ background-color: get-color(primary, main-dark-1);
25
+
26
+ p {
27
+ font-weight: bold;
28
+ }
29
+
30
+ svg g g {
31
+ fill: get-color(primary, main-light-3);
32
+ }
33
+ }
34
+
35
+ &__inner {
36
+ display: flex;
37
+ flex-direction: row;
38
+ align-items: center;
39
+ }
40
+
41
+ &--mobile {
42
+ background-color: transparent;
43
+ border: none;
44
+ outline: none;
45
+ width: 100%;
46
+ padding: 0;
47
+ position: relative;
48
+
49
+ .sans-serif.--medium {
50
+ font-size: 0.75rem;
51
+ }
52
+
53
+ &:hover {
54
+ cursor: pointer;
55
+ }
56
+
57
+ &.sidemenu-tab--active {
58
+ color: get-color(primary, main-light-1);
59
+ background-color: get-color(primary, main-light-5);
60
+
61
+ .sidemenu-tab__inner {
62
+ p {
63
+ font-weight: bold;
64
+ }
65
+
66
+ svg g g {
67
+ fill: get-color(primary, main-light-1);
68
+ }
69
+
70
+ svg g g use {
71
+ fill: get-color(primary, main-light-1);
72
+ }
73
+ }
74
+ }
75
+
76
+ .sidemenu-tab__inner {
77
+ display: flex;
78
+ flex-direction: column;
79
+ align-items: center;
80
+ }
81
+
82
+ svg {
83
+ margin-right: 0;
84
+ width: 16px;
85
+ g g use {
86
+ fill: get-color(neutral, neutral-2);
87
+ }
88
+ }
89
+ }
90
+ }
@@ -0,0 +1,35 @@
1
+ import React from 'react'
2
+ import classNames from 'classnames'
3
+
4
+ import { MenuItems } from '../MenuItems'
5
+ import { type SideMenuTabProps } from './SideMenuTabProps.types'
6
+ import { Tooltip } from '../Tooltip'
7
+ // import './SidemenuTab.scss'
8
+
9
+ const SidemenuTab: React.FC<SideMenuTabProps> = ({ active, mobile, menu, text, image, onClick, children }) => {
10
+ const classes = classNames('sidemenu-tab', {
11
+ 'sidemenu-tab--active': active,
12
+ 'sidemenu-tab--mobile': mobile
13
+ })
14
+
15
+ const renderTab = (): React.ReactElement => (
16
+ <button className={classes} onClick={onClick}>
17
+ <div className='sidemenu-tab__inner'>
18
+ {image}
19
+ <p className='sans-serif --medium'>{children ?? text}</p>
20
+ </div>
21
+ </button>
22
+ )
23
+
24
+ if (menu === undefined || menu?.lenght === 0) {
25
+ return renderTab()
26
+ }
27
+
28
+ return (
29
+ <Tooltip content={<MenuItems list={menu} />} interactive trigger='click'>
30
+ {renderTab()}
31
+ </Tooltip>
32
+ )
33
+ }
34
+
35
+ export default SidemenuTab
@@ -0,0 +1,2 @@
1
+ export { default as SidemenuTab } from './SidemenuTab'
2
+ export { type SideMenuTabProps } from './SideMenuTabProps.types'
@@ -0,0 +1,32 @@
1
+ @import '../../../globalStyles/variables.scss';
2
+ @import '../../../globalStyles/mediaqueries.scss';
3
+
4
+ .e-spinner {
5
+ animation: rotate 2s linear infinite;
6
+ width: 24px;
7
+ height: 24px;
8
+
9
+ path {
10
+ fill: get-color(others, white);
11
+ stroke-linecap: round;
12
+ stroke-dasharray: 15, 150;
13
+ animation: dash 1.5s ease-in-out infinite;
14
+ }
15
+ }
16
+
17
+ .e-spinner.big {
18
+ width: 70px;
19
+ height: 70px;
20
+ }
21
+
22
+ .spinner--neutral {
23
+ path {
24
+ fill: get-color(neutral, neutral-2);
25
+ }
26
+ }
27
+
28
+ .spinner--primary {
29
+ path {
30
+ fill: get-color(primary);
31
+ }
32
+ }
@@ -0,0 +1,24 @@
1
+ import React, { type FC } from 'react'
2
+
3
+ import { type SpinnerProps } from './SpinnerProps.types'
4
+ // import './Spinner.scss'
5
+
6
+ const Spinner: FC<SpinnerProps> = ({ className = '', big = false }) => {
7
+ return !big ? (
8
+ <svg className={`e-spinner ${className}`} width='24' height='24' viewBox='0 0 24 24' fill='none'>
9
+ <path
10
+ d='M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 11.3864 2.49746 10.8889 3.11111 10.8889C3.72476 10.8889 4.22222 11.3864 4.22222 12C4.22222 16.2955 7.70445 19.7778 12 19.7778C16.2955 19.7778 19.7778 16.2955 19.7778 12C19.7778 7.70445 16.2955 4.22222 12 4.22222C11.3864 4.22222 10.8889 3.72476 10.8889 3.11111C10.8889 2.49746 11.3864 2 12 2Z'
11
+ fill='#6D7275'
12
+ />
13
+ </svg>
14
+ ) : (
15
+ <svg className={`e-spinner big ${className}`} viewBox='0 0 24 24' fill='none'>
16
+ <path
17
+ d='M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 11.3864 2.49746 10.8889 3.11111 10.8889C3.72476 10.8889 4.22222 11.3864 4.22222 12C4.22222 16.2955 7.70445 19.7778 12 19.7778C16.2955 19.7778 19.7778 16.2955 19.7778 12C19.7778 7.70445 16.2955 4.22222 12 4.22222C11.3864 4.22222 10.8889 3.72476 10.8889 3.11111C10.8889 2.49746 11.3864 2 12 2Z'
18
+ fill='#6D7275'
19
+ />
20
+ </svg>
21
+ )
22
+ }
23
+
24
+ export default Spinner
@@ -0,0 +1,4 @@
1
+ export interface SpinnerProps {
2
+ className?: string
3
+ big?: boolean
4
+ }
@@ -0,0 +1,2 @@
1
+ export { default as Spinner } from './Spinner'
2
+ export { type SpinnerProps } from './SpinnerProps.types'