@npm_leadtech/legal-lib-components 4.1.14 → 4.1.16

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 (524) hide show
  1. package/dist/src/components/atoms/DatePickerCustom/index.js +14680 -1
  2. package/dist/{DatePickerCustom → src/components/atoms/DatePickerCustom}/index.js.map +1 -1
  3. package/package.json +1 -1
  4. package/dist/DatePickerCustom/index.js +0 -14680
  5. package/dist/images/componentsSvg/ArrowRight.js +0 -2
  6. package/dist/images/componentsSvg/ChevronExpandLess.js +0 -2
  7. package/dist/images/componentsSvg/ChevronExpandMore.js +0 -2
  8. package/dist/images/componentsSvg/ChevronRight.js +0 -2
  9. package/dist/images/componentsSvg/ChevronRight24px.js +0 -2
  10. package/dist/images/componentsSvg/Done24px.js +0 -2
  11. package/dist/images/componentsSvg/Done24pxoutlined.js +0 -4
  12. package/dist/images/componentsSvg/InfoError24pxOutlined.js +0 -2
  13. package/dist/images/componentsSvg/MailSvg.js +0 -4
  14. package/dist/images/componentsSvg/MenuCollapse24p.js +0 -2
  15. package/dist/images/componentsSvg/NewRelease24p.js +0 -2
  16. package/dist/images/componentsSvg/SvgProps.js +0 -1
  17. package/dist/images/componentsSvg/SymbolDoc.js +0 -4
  18. package/dist/images/componentsSvg/Time24px.js +0 -2
  19. package/dist/images/componentsSvg/flags/GBFlag.js +0 -4
  20. package/dist/images/componentsSvg/flags/USFlag.js +0 -4
  21. package/dist/images/componentsSvg/generalCategories/BusinessIconCategory.js +0 -4
  22. package/dist/images/componentsSvg/generalCategories/EmploymentIconCategory.js +0 -4
  23. package/dist/images/componentsSvg/generalCategories/FinanceIconCategory.js +0 -4
  24. package/dist/images/componentsSvg/generalCategories/PersonalFamilyIconCategory.js +0 -4
  25. package/dist/images/componentsSvg/generalCategories/RealEstateIconCategory.js +0 -4
  26. package/dist/images/componentsSvg/generalCategories/index.js +0 -5
  27. package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.js +0 -6
  28. package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCardProps.types.js +0 -1
  29. package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/index.js +0 -1
  30. package/dist/src/components/atoms/AddButton/AddButton.js +0 -6
  31. package/dist/src/components/atoms/AddButton/AddButtonProps.types.js +0 -1
  32. package/dist/src/components/atoms/AddButton/index.js +0 -1
  33. package/dist/src/components/atoms/BaseBox/BaseBox.js +0 -15
  34. package/dist/src/components/atoms/BaseBox/BaseBox.styled.js +0 -24
  35. package/dist/src/components/atoms/BaseBox/BaseBoxProps.types.js +0 -1
  36. package/dist/src/components/atoms/BaseBox/index.js +0 -1
  37. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.js +0 -6
  38. package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCardProps.types.js +0 -1
  39. package/dist/src/components/atoms/BenefitRatafiaCard/index.js +0 -1
  40. package/dist/src/components/atoms/BillCard/BillCard.js +0 -6
  41. package/dist/src/components/atoms/BillCard/BillCardProps.types.js +0 -1
  42. package/dist/src/components/atoms/BillCard/index.js +0 -1
  43. package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.js +0 -7
  44. package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenuProps.types.js +0 -1
  45. package/dist/src/components/atoms/BottomOverlayMenu/index.js +0 -1
  46. package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.js +0 -7
  47. package/dist/src/components/atoms/BreadcrumItem/BreadcrumItemProps.types.js +0 -1
  48. package/dist/src/components/atoms/BreadcrumItem/index.js +0 -1
  49. package/dist/src/components/atoms/Button/Button.js +0 -54
  50. package/dist/src/components/atoms/Button/ButtonProps.types.js +0 -1
  51. package/dist/src/components/atoms/Button/index.js +0 -1
  52. package/dist/src/components/atoms/ButtonIcon/ButtonIcon.js +0 -26
  53. package/dist/src/components/atoms/ButtonIcon/ButtonIconProps.types.js +0 -1
  54. package/dist/src/components/atoms/ButtonIcon/index.js +0 -1
  55. package/dist/src/components/atoms/CardPane/CardPane.js +0 -9
  56. package/dist/src/components/atoms/CardPane/CardPaneInfo.js +0 -15
  57. package/dist/src/components/atoms/CardPane/CardPaneProps.types.js +0 -1
  58. package/dist/src/components/atoms/CardPane/index.js +0 -1
  59. package/dist/src/components/atoms/Checkbox/Checkbox.js +0 -7
  60. package/dist/src/components/atoms/Checkbox/CheckboxProps.types.js +0 -1
  61. package/dist/src/components/atoms/Checkbox/index.js +0 -1
  62. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.js +0 -79
  63. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustomProps.types.js +0 -1
  64. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.js +0 -53
  65. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIconProps.types.js +0 -1
  66. package/dist/src/components/atoms/DialogMenuIcon/index.js +0 -1
  67. package/dist/src/components/atoms/Disclaimer/Disclaimer.js +0 -9
  68. package/dist/src/components/atoms/Disclaimer/DisclaimerProps.types.js +0 -1
  69. package/dist/src/components/atoms/Disclaimer/index.js +0 -1
  70. package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.js +0 -21
  71. package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafiaProps.js +0 -1
  72. package/dist/src/components/atoms/DisclaimerRatafia/index.js +0 -1
  73. package/dist/src/components/atoms/Divider/Divider.js +0 -8
  74. package/dist/src/components/atoms/Divider/DividerProps.types.js +0 -1
  75. package/dist/src/components/atoms/Divider/index.js +0 -1
  76. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.js +0 -15
  77. package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.js +0 -1
  78. package/dist/src/components/atoms/DocumentStatus/index.js +0 -1
  79. package/dist/src/components/atoms/DocumentTag/DocumentTag.js +0 -7
  80. package/dist/src/components/atoms/DocumentTag/DocumentTagProps.js +0 -1
  81. package/dist/src/components/atoms/DocumentTag/index.js +0 -1
  82. package/dist/src/components/atoms/ExpertCard/ExpertCard.js +0 -6
  83. package/dist/src/components/atoms/ExpertCard/ExpertCardProps.types.js +0 -1
  84. package/dist/src/components/atoms/ExpertCard/index.js +0 -1
  85. package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.js +0 -6
  86. package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCardProps.types.js +0 -1
  87. package/dist/src/components/atoms/FeatureRatafiaCard/index.js +0 -1
  88. package/dist/src/components/atoms/FormFaq/FormFaq.js +0 -6
  89. package/dist/src/components/atoms/FormFaq/FormFaqProps.types.js +0 -1
  90. package/dist/src/components/atoms/FormFaq/index.js +0 -1
  91. package/dist/src/components/atoms/GoogleButton/GoogleButton.js +0 -7
  92. package/dist/src/components/atoms/GoogleButton/GoogleButtonProps.types.js +0 -1
  93. package/dist/src/components/atoms/GoogleButton/index.js +0 -1
  94. package/dist/src/components/atoms/IconImage/IconImage.js +0 -9
  95. package/dist/src/components/atoms/IconImage/IconImageProps.types.js +0 -1
  96. package/dist/src/components/atoms/IconImage/index.js +0 -1
  97. package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.js +0 -15
  98. package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColorProps.types.js +0 -1
  99. package/dist/src/components/atoms/IconSvgURLWithThemeColor/index.js +0 -1
  100. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.js +0 -6
  101. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.types.js +0 -1
  102. package/dist/src/components/atoms/IconTextInfoSection/index.js +0 -1
  103. package/dist/src/components/atoms/InfoBox/InfoBox.js +0 -7
  104. package/dist/src/components/atoms/InfoBox/InfoBoxProps.types.js +0 -1
  105. package/dist/src/components/atoms/InfoBox/index.js +0 -1
  106. package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.js +0 -5
  107. package/dist/src/components/atoms/JumbotronStatic/JumbotronStaticProps.types.js +0 -1
  108. package/dist/src/components/atoms/JumbotronStatic/index.js +0 -1
  109. package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.js +0 -6
  110. package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCardProps.types.js +0 -1
  111. package/dist/src/components/atoms/KeyFactRatafiaCard/index.js +0 -1
  112. package/dist/src/components/atoms/Logo/Logo.js +0 -48
  113. package/dist/src/components/atoms/Logo/LogoProps.types.js +0 -1
  114. package/dist/src/components/atoms/Logo/index.js +0 -1
  115. package/dist/src/components/atoms/LogoText/LogoText.js +0 -6
  116. package/dist/src/components/atoms/LogoText/LogoTextProps.types.js +0 -1
  117. package/dist/src/components/atoms/LogoText/index.js +0 -1
  118. package/dist/src/components/atoms/MenuItems/MenuItemProps.types.js +0 -1
  119. package/dist/src/components/atoms/MenuItems/MenuItems.js +0 -41
  120. package/dist/src/components/atoms/MenuItems/index.js +0 -1
  121. package/dist/src/components/atoms/Message/Message.js +0 -8
  122. package/dist/src/components/atoms/Message/MessageProps.types.js +0 -1
  123. package/dist/src/components/atoms/Message/index.js +0 -1
  124. package/dist/src/components/atoms/MessageInformation/MessageInformation.js +0 -6
  125. package/dist/src/components/atoms/MessageInformation/MessageInformationProps.types.js +0 -1
  126. package/dist/src/components/atoms/MessageInformation/index.js +0 -1
  127. package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.js +0 -12
  128. package/dist/src/components/atoms/MoreDocsItem/MoreDocsItemProps.js +0 -1
  129. package/dist/src/components/atoms/MoreDocsItem/index.js +0 -2
  130. package/dist/src/components/atoms/NavMenuItem/NavMenuItem.js +0 -8
  131. package/dist/src/components/atoms/NavMenuItem/NavMenuItemProps.js +0 -1
  132. package/dist/src/components/atoms/NavMenuItem/index.js +0 -2
  133. package/dist/src/components/atoms/PaypalButton/PaypalButton.js +0 -7
  134. package/dist/src/components/atoms/PaypalButton/PaypalButtonProps.types.js +0 -1
  135. package/dist/src/components/atoms/PaypalButton/index.js +0 -1
  136. package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.js +0 -7
  137. package/dist/src/components/atoms/PopularDocsItem/PopularDocsItemProps.js +0 -1
  138. package/dist/src/components/atoms/PopularDocsItem/index.js +0 -2
  139. package/dist/src/components/atoms/ProgressBar/ProgressBar.js +0 -7
  140. package/dist/src/components/atoms/ProgressBar/ProgressBarProps.types.js +0 -1
  141. package/dist/src/components/atoms/ProgressBar/index.js +0 -1
  142. package/dist/src/components/atoms/Radio/Radio.js +0 -20
  143. package/dist/src/components/atoms/Radio/RadioProps.types.js +0 -1
  144. package/dist/src/components/atoms/Radio/index.js +0 -1
  145. package/dist/src/components/atoms/RemoveButton/RemoveButton.js +0 -7
  146. package/dist/src/components/atoms/RemoveButton/RemoveButtonProps.types.js +0 -1
  147. package/dist/src/components/atoms/RemoveButton/index.js +0 -1
  148. package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.js +0 -6
  149. package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafiaProps.types.js +0 -1
  150. package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/index.js +0 -1
  151. package/dist/src/components/atoms/RichTextInner/RichTextInner.js +0 -4
  152. package/dist/src/components/atoms/RichTextInner/RichTextInnerProps.types.js +0 -1
  153. package/dist/src/components/atoms/RichTextInner/index.js +0 -1
  154. package/dist/src/components/atoms/RichTextStrapi/RichTextMedia.js +0 -1
  155. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.js +0 -9
  156. package/dist/src/components/atoms/RichTextStrapi/RichTextStrapiProps.js +0 -1
  157. package/dist/src/components/atoms/RichTextStrapi/index.js +0 -1
  158. package/dist/src/components/atoms/RichTextStrapi/useFormattedText.js +0 -24
  159. package/dist/src/components/atoms/SearchSelect/SearchSelect.js +0 -55
  160. package/dist/src/components/atoms/SearchSelect/SearchSelectProps.types.js +0 -1
  161. package/dist/src/components/atoms/SearchSelect/index.js +0 -1
  162. package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.js +0 -13
  163. package/dist/src/components/atoms/ShowMoreBox/ShowMoreBoxProps.js +0 -1
  164. package/dist/src/components/atoms/ShowMoreBox/index.js +0 -1
  165. package/dist/src/components/atoms/SidemenuTab/SideMenuTabProps.types.js +0 -1
  166. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.js +0 -17
  167. package/dist/src/components/atoms/SidemenuTab/index.js +0 -1
  168. package/dist/src/components/atoms/Spinner/Spinner.js +0 -6
  169. package/dist/src/components/atoms/Spinner/SpinnerProps.types.js +0 -1
  170. package/dist/src/components/atoms/Spinner/index.js +0 -1
  171. package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.js +0 -6
  172. package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCardProps.types.js +0 -1
  173. package/dist/src/components/atoms/StepRatafiaCard/index.js +0 -1
  174. package/dist/src/components/atoms/Tag/Tag.js +0 -5
  175. package/dist/src/components/atoms/Tag/TagProps.js +0 -1
  176. package/dist/src/components/atoms/Tag/index.js +0 -2
  177. package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.js +0 -6
  178. package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItemProps.types.js +0 -1
  179. package/dist/src/components/atoms/TagRatafiaItem/index.js +0 -1
  180. package/dist/src/components/atoms/Tagline/Tagline.js +0 -5
  181. package/dist/src/components/atoms/Tagline/TaglineProps.types.js +0 -1
  182. package/dist/src/components/atoms/Tagline/index.js +0 -1
  183. package/dist/src/components/atoms/TestAB/TestAB.js +0 -23
  184. package/dist/src/components/atoms/TextArea/TextArea.js +0 -9
  185. package/dist/src/components/atoms/TextArea/TextAreaProps.types.js +0 -1
  186. package/dist/src/components/atoms/TextArea/index.js +0 -1
  187. package/dist/src/components/atoms/Toggle/Toggle.js +0 -6
  188. package/dist/src/components/atoms/Toggle/ToggleProps.types.js +0 -1
  189. package/dist/src/components/atoms/Toggle/index.js +0 -1
  190. package/dist/src/components/atoms/Tooltip/Tooltip.js +0 -14
  191. package/dist/src/components/atoms/Tooltip/TooltipProps.types.js +0 -1
  192. package/dist/src/components/atoms/Tooltip/index.js +0 -1
  193. package/dist/src/components/atoms/TopBar/TopBar.js +0 -12
  194. package/dist/src/components/atoms/TopBar/TopBarProps.types.js +0 -1
  195. package/dist/src/components/atoms/TopBar/index.js +0 -1
  196. package/dist/src/components/atoms/TopBarMobile/TopBarMobile.js +0 -9
  197. package/dist/src/components/atoms/TopBarMobile/index.js +0 -1
  198. package/dist/src/components/atoms/TrustPilot/TrustPilot.js +0 -6
  199. package/dist/src/components/atoms/TrustPilot/TrustPilotProps.types.js +0 -1
  200. package/dist/src/components/atoms/TrustPilot/index.js +0 -1
  201. package/dist/src/components/atoms/Video/Video.js +0 -9
  202. package/dist/src/components/atoms/Video/VideoProps.types.js +0 -1
  203. package/dist/src/components/atoms/Video/index.js +0 -1
  204. package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.js +0 -8
  205. package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItemsProps.types.js +0 -1
  206. package/dist/src/components/atoms/WhyLawDistrictItems/index.js +0 -1
  207. package/dist/src/components/atoms/WideInfoBar/WideInfoBar.js +0 -7
  208. package/dist/src/components/atoms/WideInfoBar/index.js +0 -1
  209. package/dist/src/components/atoms/index.js +0 -60
  210. package/dist/src/components/molecules/AccordionItem/AccordionItem.js +0 -23
  211. package/dist/src/components/molecules/AccordionItem/AccordionItemProps.types.js +0 -1
  212. package/dist/src/components/molecules/AccordionItem/index.js +0 -1
  213. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.js +0 -9
  214. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardListProps.types.js +0 -1
  215. package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/index.js +0 -1
  216. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.js +0 -10
  217. package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAsProps.types.js +0 -1
  218. package/dist/src/components/molecules/AlsoKnownAs/index.js +0 -1
  219. package/dist/src/components/molecules/Article/Article.js +0 -7
  220. package/dist/src/components/molecules/Article/ArticleProps.types.js +0 -1
  221. package/dist/src/components/molecules/Article/index.js +0 -1
  222. package/dist/src/components/molecules/BaseBoxList/BaseBoxList.js +0 -13
  223. package/dist/src/components/molecules/BaseBoxList/BaseBoxListProps.types.js +0 -1
  224. package/dist/src/components/molecules/BaseBoxList/index.js +0 -1
  225. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.js +0 -9
  226. package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.js +0 -1
  227. package/dist/src/components/molecules/BenefitRatafiaCardList/index.js +0 -1
  228. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.js +0 -9
  229. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBarProps.types.js +0 -1
  230. package/dist/src/components/molecules/BottomFixedBar/index.js +0 -1
  231. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.js +0 -49
  232. package/dist/src/components/molecules/BottomOverlay/BottomOverlayProps.types.js +0 -1
  233. package/dist/src/components/molecules/BottomOverlay/index.js +0 -1
  234. package/dist/src/components/molecules/BoxForm/BoxForm.js +0 -21
  235. package/dist/src/components/molecules/BoxForm/BoxFormProps.types.js +0 -1
  236. package/dist/src/components/molecules/BoxForm/index.js +0 -1
  237. package/dist/src/components/molecules/Breadcrumb/Breadcrumb.js +0 -7
  238. package/dist/src/components/molecules/Breadcrumb/BreadcrumbProps.types.js +0 -1
  239. package/dist/src/components/molecules/Breadcrumb/index.js +0 -1
  240. package/dist/src/components/molecules/ContactBox/ContactBox.js +0 -14
  241. package/dist/src/components/molecules/ContactBox/ContactBoxProps.types.js +0 -1
  242. package/dist/src/components/molecules/ContactBox/index.js +0 -1
  243. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.js +0 -13
  244. package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBannerProps.types.js +0 -1
  245. package/dist/src/components/molecules/ContinueEditingBanner/index.js +0 -1
  246. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.js +0 -34
  247. package/dist/src/components/molecules/CountDownMessage/CountDownMessageProps.types.js +0 -1
  248. package/dist/src/components/molecules/CountDownMessage/index.js +0 -1
  249. package/dist/src/components/molecules/EmailContactBox/EmailContactBox.js +0 -6
  250. package/dist/src/components/molecules/EmailContactBox/EmailContactBoxProps.js +0 -1
  251. package/dist/src/components/molecules/EmailContactBox/index.js +0 -2
  252. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.js +0 -10
  253. package/dist/src/components/molecules/ExpertCardList/ExpertCardListProps.types.js +0 -1
  254. package/dist/src/components/molecules/ExpertCardList/index.js +0 -1
  255. package/dist/src/components/molecules/FaqItem/FaqItem.js +0 -12
  256. package/dist/src/components/molecules/FaqItem/FaqItemProps.js +0 -1
  257. package/dist/src/components/molecules/FaqItem/index.js +0 -2
  258. package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.js +0 -9
  259. package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardListProps.types.js +0 -1
  260. package/dist/src/components/molecules/FeatureRatafiaCardList/index.js +0 -1
  261. package/dist/src/components/molecules/Feedback/Feedback.js +0 -42
  262. package/dist/src/components/molecules/Feedback/FeedbackProps.types.js +0 -1
  263. package/dist/src/components/molecules/Feedback/index.js +0 -1
  264. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.js +0 -22
  265. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.types.js +0 -1
  266. package/dist/src/components/molecules/FreeDocModalContent/index.js +0 -1
  267. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.js +0 -7
  268. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafiaProps.types.js +0 -1
  269. package/dist/src/components/molecules/HeaderRatafia/index.js +0 -1
  270. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.js +0 -9
  271. package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafiaProps.types.js +0 -1
  272. package/dist/src/components/molecules/KeyFactCardListRatafia/index.js +0 -1
  273. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.js +0 -10
  274. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSectionProps.types.js +0 -1
  275. package/dist/src/components/molecules/MenuItemsSection/index.js +0 -1
  276. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.js +0 -7
  277. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContentProps.types.js +0 -1
  278. package/dist/src/components/molecules/MidBannerRatafiaContent/index.js +0 -1
  279. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.js +0 -6
  280. package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSampleProps.types.js +0 -1
  281. package/dist/src/components/molecules/MidBannerRatafiaSample/index.js +0 -1
  282. package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.js +0 -6
  283. package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktopProps.js +0 -1
  284. package/dist/src/components/molecules/MoreDocsDesktop/index.js +0 -2
  285. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.js +0 -17
  286. package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobileProps.js +0 -1
  287. package/dist/src/components/molecules/MoreDocsMobile/index.js +0 -2
  288. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.js +0 -67
  289. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDownProps.types.js +0 -1
  290. package/dist/src/components/molecules/NavBarDropDown/index.js +0 -1
  291. package/dist/src/components/molecules/Pagination/PageStepControl.js +0 -21
  292. package/dist/src/components/molecules/Pagination/PageStepControlProps.types.js +0 -1
  293. package/dist/src/components/molecules/Pagination/PageSteps.js +0 -47
  294. package/dist/src/components/molecules/Pagination/Pagination.js +0 -24
  295. package/dist/src/components/molecules/Pagination/PaginationProps.types.js +0 -1
  296. package/dist/src/components/molecules/Pagination/index.js +0 -1
  297. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.js +0 -7
  298. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktopProps.types.js +0 -1
  299. package/dist/src/components/molecules/PhoneContactBoxDesktop/index.js +0 -1
  300. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.js +0 -6
  301. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobileProps.types.js +0 -1
  302. package/dist/src/components/molecules/PhoneContactBoxMobile/index.js +0 -1
  303. package/dist/src/components/molecules/PopularDocs/PopularDocs.js +0 -6
  304. package/dist/src/components/molecules/PopularDocs/PopularDocsProps.js +0 -1
  305. package/dist/src/components/molecules/PopularDocs/index.js +0 -2
  306. package/dist/src/components/molecules/PricingCard/PricingCard.js +0 -30
  307. package/dist/src/components/molecules/PricingCard/PricingCardProps.types.js +0 -1
  308. package/dist/src/components/molecules/PricingCard/index.js +0 -1
  309. package/dist/src/components/molecules/Snackbar/Snackbar.js +0 -42
  310. package/dist/src/components/molecules/Snackbar/SnackbarProps.types.js +0 -1
  311. package/dist/src/components/molecules/Snackbar/index.js +0 -1
  312. package/dist/src/components/molecules/StepGetForm/StepGetForm.js +0 -6
  313. package/dist/src/components/molecules/StepGetForm/StepGetFormProps.types.js +0 -1
  314. package/dist/src/components/molecules/StepGetForm/index.js +0 -1
  315. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.js +0 -9
  316. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardListProps.types.js +0 -1
  317. package/dist/src/components/molecules/StepRatafiaCardList/index.js +0 -1
  318. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.js +0 -9
  319. package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaListProps.types.js +0 -1
  320. package/dist/src/components/molecules/TagsRatafiaList/index.js +0 -1
  321. package/dist/src/components/molecules/TextInput/Input.js +0 -15
  322. package/dist/src/components/molecules/TextInput/TextInput.js +0 -39
  323. package/dist/src/components/molecules/TextInput/TextInputLabel.js +0 -7
  324. package/dist/src/components/molecules/TextInput/TextInputMessage.js +0 -8
  325. package/dist/src/components/molecules/TextInput/TextInputProps.types.js +0 -1
  326. package/dist/src/components/molecules/TextInput/TextInputTooltip.js +0 -6
  327. package/dist/src/components/molecules/TextInput/index.js +0 -1
  328. package/dist/src/components/molecules/TooltipMenu/TooltipMenu.js +0 -9
  329. package/dist/src/components/molecules/TooltipMenu/TooltipMenuProps.types.js +0 -1
  330. package/dist/src/components/molecules/TooltipMenu/index.js +0 -1
  331. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.js +0 -6
  332. package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsitesProps.types.js +0 -1
  333. package/dist/src/components/molecules/TrustworthyWebsites/index.js +0 -1
  334. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.js +0 -7
  335. package/dist/src/components/molecules/TypeModulesList/TypeModulesListProps.types.js +0 -1
  336. package/dist/src/components/molecules/TypeModulesList/index.js +0 -1
  337. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.js +0 -7
  338. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZoneProps.types.js +0 -1
  339. package/dist/src/components/molecules/UploadRatafiaZone/index.js +0 -1
  340. package/dist/src/components/molecules/index.js +0 -41
  341. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.js +0 -7
  342. package/dist/src/components/organisms/AboutUsContent/AboutUsContentProps.types.js +0 -1
  343. package/dist/src/components/organisms/AboutUsContent/index.js +0 -1
  344. package/dist/src/components/organisms/Accordion/Accordion.context.js +0 -80
  345. package/dist/src/components/organisms/Accordion/Accordion.js +0 -14
  346. package/dist/src/components/organisms/Accordion/AccordionProps.types.js +0 -1
  347. package/dist/src/components/organisms/Accordion/index.js +0 -2
  348. package/dist/src/components/organisms/ArticlesList/ArticlesList.js +0 -9
  349. package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.js +0 -1
  350. package/dist/src/components/organisms/ArticlesList/index.js +0 -1
  351. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.js +0 -11
  352. package/dist/src/components/organisms/AsSeeInContent/AsSeeInContentProps.types.js +0 -1
  353. package/dist/src/components/organisms/AsSeeInContent/index.js +0 -1
  354. package/dist/src/components/organisms/CardFuncionality/CardFuncionality.js +0 -6
  355. package/dist/src/components/organisms/CardFuncionality/CardFuncionalityProps.js +0 -1
  356. package/dist/src/components/organisms/CardFuncionality/index.js +0 -2
  357. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.js +0 -7
  358. package/dist/src/components/organisms/ContactJumbotron/ContactJumbotronProps.types.js +0 -1
  359. package/dist/src/components/organisms/ContactJumbotron/index.js +0 -1
  360. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.js +0 -6
  361. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBarProps.js +0 -1
  362. package/dist/src/components/organisms/CookiePolicyBar/index.js +0 -2
  363. package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.js +0 -5
  364. package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafiaProps.types.js +0 -1
  365. package/dist/src/components/organisms/ErrorContentRatafia/index.js +0 -1
  366. package/dist/src/components/organisms/FaqGroup/FaqGroup.js +0 -6
  367. package/dist/src/components/organisms/FaqGroup/FaqGroupProps.js +0 -1
  368. package/dist/src/components/organisms/FaqGroup/index.js +0 -2
  369. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.js +0 -7
  370. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContentProps.types.js +0 -1
  371. package/dist/src/components/organisms/FeaturesRatafiaContent/index.js +0 -1
  372. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.js +0 -7
  373. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContentProps.types.js +0 -1
  374. package/dist/src/components/organisms/GuidelinesContent/index.js +0 -1
  375. package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.js +0 -7
  376. package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContentProps.types.js +0 -1
  377. package/dist/src/components/organisms/JumbotronRatafiaContent/index.js +0 -1
  378. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.js +0 -6
  379. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafiaProps.types.js +0 -1
  380. package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/index.js +0 -1
  381. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.js +0 -8
  382. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafiaProps.types.js +0 -1
  383. package/dist/src/components/organisms/KeyFactsResultContentRatafia/index.js +0 -1
  384. package/dist/src/components/organisms/LanguageSelector/LanguageSelector.js +0 -33
  385. package/dist/src/components/organisms/LanguageSelector/LanguageSelectorProps.js +0 -1
  386. package/dist/src/components/organisms/LanguageSelector/LenguageSelectorItem.js +0 -1
  387. package/dist/src/components/organisms/LanguageSelector/index.js +0 -6
  388. package/dist/src/components/organisms/LanguageSelector/useLanguageOptions.js +0 -8
  389. package/dist/src/components/organisms/LanguageSelector/useLanguageSelected.js +0 -8
  390. package/dist/src/components/organisms/LanguageSelector/useLanguagesSelector.js +0 -24
  391. package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.js +0 -22
  392. package/dist/src/components/organisms/LanguageSelectorMobile/index.js +0 -1
  393. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.js +0 -7
  394. package/dist/src/components/organisms/LayoutRatafia/LayoutRatafiaProps.types.js +0 -1
  395. package/dist/src/components/organisms/LayoutRatafia/index.js +0 -1
  396. package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.js +0 -9
  397. package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetFormProps.types.js +0 -1
  398. package/dist/src/components/organisms/ListStepsGetForm/index.js +0 -1
  399. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.js +0 -7
  400. package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContentProps.types.js +0 -1
  401. package/dist/src/components/organisms/LoginRatafiaContent/index.js +0 -1
  402. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.js +0 -22
  403. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.js +0 -1
  404. package/dist/src/components/organisms/MobileBottomBar/index.js +0 -1
  405. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.js +0 -7
  406. package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContentProps.types.js +0 -1
  407. package/dist/src/components/organisms/StepsRatafiaContent/index.js +0 -1
  408. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +0 -7
  409. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +0 -1
  410. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.js +0 -1
  411. package/dist/src/components/organisms/index.js +0 -22
  412. package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +0 -5
  413. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.js +0 -1
  414. package/dist/src/components/pages/AboutUsPage/index.js +0 -2
  415. package/dist/src/components/pages/ContactUsPage/ContactUsPage.js +0 -6
  416. package/dist/src/components/pages/ContactUsPage/ContactUsPageProps.js +0 -1
  417. package/dist/src/components/pages/ContactUsPage/index.js +0 -2
  418. package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.js +0 -13
  419. package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPageProps.types.js +0 -1
  420. package/dist/src/components/pages/ErrorRatafiaPage/index.js +0 -1
  421. package/dist/src/components/pages/FaqsPage/FaqsPage.js +0 -6
  422. package/dist/src/components/pages/FaqsPage/FaqsPageProps.js +0 -1
  423. package/dist/src/components/pages/FaqsPage/index.js +0 -2
  424. package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.js +0 -15
  425. package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPageProps.types.js +0 -1
  426. package/dist/src/components/pages/KeyFactsResultRatafiaPage/index.js +0 -1
  427. package/dist/src/components/pages/LegalPage/LegalPage.js +0 -6
  428. package/dist/src/components/pages/LegalPage/LegalPageProps.js +0 -1
  429. package/dist/src/components/pages/LegalPage/index.js +0 -2
  430. package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.js +0 -12
  431. package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPageProps.js +0 -1
  432. package/dist/src/components/pages/LoginRatafiaPage/index.js +0 -2
  433. package/dist/src/components/pages/RatafiaLandingPage/RatafiaLandingPage.js +0 -5
  434. package/dist/src/components/pages/RatafiaLandingPage/RatafiaLandingPageProps.types.js +0 -1
  435. package/dist/src/components/pages/RatafiaLandingPage/index.js +0 -2
  436. package/dist/src/components/pages/UnsubscribePage/UnsubscribePage.js +0 -6
  437. package/dist/src/components/pages/UnsubscribePage/UnsubscribePageProps.js +0 -1
  438. package/dist/src/components/pages/UnsubscribePage/index.js +0 -2
  439. package/dist/src/components/pages/index.js +0 -9
  440. package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +0 -7
  441. package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.js +0 -1
  442. package/dist/src/components/sections/AboutUsSection/index.js +0 -1
  443. package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.js +0 -10
  444. package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.js +0 -1
  445. package/dist/src/components/sections/AsSeeInSection/index.js +0 -1
  446. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.js +0 -5
  447. package/dist/src/components/sections/AsideMenuSection/AsideMenuSectionProps.js +0 -1
  448. package/dist/src/components/sections/AsideMenuSection/index.js +0 -2
  449. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.js +0 -7
  450. package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.js +0 -1
  451. package/dist/src/components/sections/BenefitsRatafiaSection/index.js +0 -1
  452. package/dist/src/components/sections/BlogSection/BlogSection.js +0 -10
  453. package/dist/src/components/sections/BlogSection/BlogSectionProps.types.js +0 -1
  454. package/dist/src/components/sections/BlogSection/index.js +0 -1
  455. package/dist/src/components/sections/ContactSection/ContactSection.js +0 -7
  456. package/dist/src/components/sections/ContactSection/ContactSectionProps.js +0 -1
  457. package/dist/src/components/sections/ContactSection/index.js +0 -1
  458. package/dist/src/components/sections/ExpertsSection/ExpertsSection.js +0 -10
  459. package/dist/src/components/sections/ExpertsSection/ExpertsSectionProps.types.js +0 -1
  460. package/dist/src/components/sections/ExpertsSection/index.js +0 -1
  461. package/dist/src/components/sections/FaqSection/FaqSection.js +0 -8
  462. package/dist/src/components/sections/FaqSection/FaqSectionProps.js +0 -1
  463. package/dist/src/components/sections/FaqSection/index.js +0 -2
  464. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.js +0 -7
  465. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSectionProps.types.js +0 -1
  466. package/dist/src/components/sections/FeaturesRatafiaSection/index.js +0 -1
  467. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.js +0 -7
  468. package/dist/src/components/sections/GuidelinesSection/GuidelinesSectionProps.types.js +0 -1
  469. package/dist/src/components/sections/GuidelinesSection/index.js +0 -1
  470. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.js +0 -10
  471. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSectionProps.types.js +0 -1
  472. package/dist/src/components/sections/HowGetYourFormsSection/index.js +0 -1
  473. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.js +0 -7
  474. package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSectionProps.types.js +0 -1
  475. package/dist/src/components/sections/JumbotronRatafiaSection/index.js +0 -1
  476. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.js +0 -6
  477. package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSectionProps.types.js +0 -1
  478. package/dist/src/components/sections/JumbotronSimplifiedSection/index.js +0 -1
  479. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.js +0 -7
  480. package/dist/src/components/sections/LearnMoreSection/LearnMoreSectionProps.types.js +0 -1
  481. package/dist/src/components/sections/LearnMoreSection/index.js +0 -1
  482. package/dist/src/components/sections/LegalSection/LegalSection.js +0 -6
  483. package/dist/src/components/sections/LegalSection/LegalSectionProps.js +0 -1
  484. package/dist/src/components/sections/LegalSection/index.js +0 -2
  485. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.js +0 -7
  486. package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSectionProps.types.js +0 -1
  487. package/dist/src/components/sections/MidBannerRatafiaSection/index.js +0 -1
  488. package/dist/src/components/sections/MoreDocsSection/MoreDocsSection.js +0 -12
  489. package/dist/src/components/sections/MoreDocsSection/MoreDocsSectionProps.js +0 -1
  490. package/dist/src/components/sections/MoreDocsSection/index.js +0 -2
  491. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.js +0 -7
  492. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSectionProps.types.js +0 -1
  493. package/dist/src/components/sections/PeopleSayAboutUsSection/index.js +0 -1
  494. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.js +0 -8
  495. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSectionProps.types.js +0 -1
  496. package/dist/src/components/sections/StepsRatafiaSection/index.js +0 -1
  497. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.js +0 -6
  498. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSectionProps.types.js +0 -1
  499. package/dist/src/components/sections/TryItRatafiaSection/index.js +0 -1
  500. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +0 -7
  501. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSectionProps.types.js +0 -1
  502. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/index.js +0 -1
  503. package/dist/src/components/sections/TryUsSection/TryUsSection.js +0 -6
  504. package/dist/src/components/sections/TryUsSection/TryUsSectionProps.js +0 -1
  505. package/dist/src/components/sections/TryUsSection/index.js +0 -1
  506. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.js +0 -6
  507. package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSectionProps.js +0 -1
  508. package/dist/src/components/sections/UnsubscribeSection/index.js +0 -1
  509. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.js +0 -10
  510. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSectionProps.types.js +0 -1
  511. package/dist/src/components/sections/WhyLawDistrictSection/index.js +0 -1
  512. package/dist/src/components/sections/index.js +0 -24
  513. package/dist/src/hooks/index.js +0 -2
  514. package/dist/src/hooks/useIntersectionObserver.js +0 -22
  515. package/dist/src/hooks/useIsMobileOrTable.js +0 -26
  516. package/dist/src/index.js +0 -2
  517. package/dist/src/utils/ProductCategory.js +0 -8
  518. package/dist/src/utils/getCategoryIcons.js +0 -28
  519. package/dist/src/utils/getDateFormatMMMMYYYY.js +0 -3
  520. package/dist/src/utils/getGatsbyImageSkeleton.js +0 -4
  521. package/dist/src/utils/getRichTextSkeleton.js +0 -4
  522. package/dist/src/utils/index.js +0 -7
  523. package/dist/src/utils/replaceAll.js +0 -6
  524. package/dist/src/utils/stringSlugify.js +0 -3
@@ -1 +0,0 @@
1
- export { default as BottomFixedBar } from './BottomFixedBar';
@@ -1,49 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useEffect, useRef, useState } from 'react';
3
- import { useSwipeable } from 'react-swipeable';
4
- // import './BottomOverlay.scss'
5
- const BottomOverlay = ({ givenClass, header, body, open = false, onClose, footer }) => {
6
- const [scrollingDown, setScrollingDown] = useState(false);
7
- const scrollingShadow = scrollingDown ? 'overlay__delimiter__scrolling' : '';
8
- const overlayBackground = useRef(null);
9
- const overlayMessage = useRef(null);
10
- useEffect(() => {
11
- if (open) {
12
- const backgroundElement = overlayBackground.current;
13
- backgroundElement.addEventListener('mousedown', handleCloseModal);
14
- return () => {
15
- backgroundElement.removeEventListener('mousedown', handleCloseModal);
16
- };
17
- }
18
- }, [open]);
19
- const handleCloseModal = (event) => {
20
- if (onClose != null)
21
- onClose();
22
- };
23
- const handleScroll = (event) => {
24
- setScrollingDown(true);
25
- const targetElement = event.target;
26
- if (targetElement?.scrollTop === 0) {
27
- setScrollingDown(false);
28
- }
29
- };
30
- const swipeableConfig = {
31
- trackMouse: true
32
- };
33
- const handlers = useSwipeable({
34
- onSwipedDown: (eventData) => {
35
- swipeEventHandler(eventData);
36
- },
37
- ...swipeableConfig
38
- });
39
- const swipeEventHandler = (data) => {
40
- const messageElement = overlayMessage.current;
41
- const mouseYPosition = data.initial;
42
- if (mouseYPosition[1] < messageElement.offsetTop) {
43
- if (onClose != null)
44
- onClose();
45
- }
46
- };
47
- return (_jsxs("div", { className: `bottom-overlay ${givenClass ?? ''} ${open ? 'show' : ''}`, ...handlers, children: [_jsx("div", { ref: overlayBackground, className: 'bottom-overlay__background' }), _jsxs("nav", { ref: overlayMessage, className: 'bottom-overlay__nav', children: [_jsx("div", { className: `overlay__delimiter ${scrollingShadow}` }), header, _jsx("div", { className: 'overlay__scrollable-section', onScroll: handleScroll, children: body }), footer !== undefined && _jsx("div", { className: 'overlay__footer', children: footer })] })] }));
48
- };
49
- export default BottomOverlay;
@@ -1 +0,0 @@
1
- export { default as BottomOverlay } from './BottomOverlay';
@@ -1,21 +0,0 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- /* eslint-disable jsx-a11y/no-static-element-interactions */
3
- /* eslint-disable jsx-a11y/click-events-have-key-events */
4
- import React from 'react';
5
- import { Button } from '../../atoms';
6
- // import './BoxForm.scss'
7
- const BoxForm = ({ title, body, footer, closeInsideModal, closeModalAndReloadPage, hideHeader = false }) => {
8
- const [buttonProps] = React.useState(() => {
9
- if (footer == null)
10
- return undefined;
11
- const { onClick, link } = footer.button;
12
- return {
13
- ...footer.button,
14
- color: 'secondary',
15
- size: 'S',
16
- ...(onClick != null ? { onClick, noLink: true } : { link })
17
- };
18
- });
19
- return (_jsxs("div", { className: 'box--form', children: [!hideHeader && (_jsx("div", { className: 'box--form__header', children: closeInsideModal === true ? (_jsxs(_Fragment, { children: [_jsx("h3", { className: 'box--form__title sans-serif --big', children: title }), _jsx("div", { className: 'box--form__close', onClick: closeModalAndReloadPage, children: "\u00D7" })] })) : (_jsx("h3", { className: 'box--form__title sans-serif --big', children: title })) })), _jsxs("div", { className: 'box--form__main', children: [_jsx("div", { className: 'box--form__body', children: body }), footer !== undefined && (_jsxs("div", { className: 'box--form__footer', children: [_jsx("span", { className: 'box--form__footer__text', children: footer.text }), buttonProps !== undefined && _jsx(Button, { ...buttonProps })] }))] })] }));
20
- };
21
- export default BoxForm;
@@ -1 +0,0 @@
1
- export { default as BoxForm } from './BoxForm';
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { BreadcrumItem } from '../../atoms';
3
- // import './Breadcrumb.scss'
4
- const Breadcrumb = ({ crumbs }) => {
5
- return (_jsx("div", { className: 'breadcrumb-container', children: _jsx("ul", { className: 'inline-list sans-serif', children: crumbs.map((crumb, index) => (_jsx(BreadcrumItem, { text: crumb.text, position: index, url: crumb.url }, `crumb-${crumb.text}`))) }) }));
6
- };
7
- export default Breadcrumb;
@@ -1 +0,0 @@
1
- export { default as Breadcrumb } from './Breadcrumb';
@@ -1,14 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import classNames from 'classnames';
3
- import { Button } from '../../atoms';
4
- // import './ContactBox.scss'
5
- const ContactBox = ({ phone, schedule, mobile = false, mobileGtmTag, dataQa, darkMode, givenClass = '' }) => {
6
- if (phone.length === 0 || schedule.length === 0)
7
- return null;
8
- const classnames = classNames(`contact-box ${givenClass}`, {
9
- 'contact-box--mobile': mobile,
10
- 'contact-box--dark-mode': darkMode
11
- });
12
- return (_jsxs("div", { className: classnames, children: [!mobile && _jsx("span", { className: 'contact-box__phone', children: phone }), mobile && (_jsx(Button, { centered: true, fluid: true, isExternal: true, label: phone, link: `tel:${phone}`, gtmTag: mobileGtmTag, dataQa: dataQa })), _jsx("p", { className: 'contact-box__schedule', children: schedule })] }));
13
- };
14
- export default ContactBox;
@@ -1 +0,0 @@
1
- export { default as ContactBox } from './ContactBox';
@@ -1,13 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Button } from '../../atoms/Button';
3
- // import './ContinueEditingBanner.scss'
4
- export const ContinueEditingBanner = ({ latestApplicationInProgress, editFormClicked, tagLine, title, token }) => {
5
- if (latestApplicationInProgress == null || token.length === 0) {
6
- return null;
7
- }
8
- return (_jsx("div", { className: 'continue-banner', children: _jsxs("div", { className: 'continue-banner__wrapper wrapper', children: [_jsx("span", { className: 'continue-banner__title', children: title }), _jsx("span", { className: 'continue-banner__tagline', children: tagLine }), _jsx(Button, { label: 'Complete It Today', dataQa: 'continue-editing-banner-button', noLink: true, onClick: () => {
9
- if (editFormClicked != null) {
10
- editFormClicked(latestApplicationInProgress);
11
- }
12
- } })] }) }));
13
- };
@@ -1 +0,0 @@
1
- export { ContinueEditingBanner } from './ContinueEditingBanner';
@@ -1,34 +0,0 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { useEffect, useRef, useState } from 'react';
3
- import { MessageInformation } from '../../atoms';
4
- import classNames from 'classnames';
5
- import { useIsMobileOrTable } from '../../../hooks';
6
- // import './CountDownMessage.scss'
7
- const CountDownMessage = ({ noImg = false, text, time, centered = false }) => {
8
- const [scrollSuperateCountDown, setScrollSuperateCountDown] = useState(false);
9
- const { isMobile, isTablet } = useIsMobileOrTable();
10
- const countDownRef = useRef(null);
11
- const handleScroll = () => {
12
- const countDownComponent = countDownRef.current?.getBoundingClientRect();
13
- if (countDownComponent != null) {
14
- const enableFixed = countDownComponent.bottom < 0;
15
- setScrollSuperateCountDown(enableFixed);
16
- }
17
- };
18
- useEffect(() => {
19
- window.removeEventListener('scroll', handleScroll);
20
- if (isMobile || isTablet) {
21
- window.addEventListener('scroll', handleScroll);
22
- }
23
- return () => {
24
- window.removeEventListener('scroll', handleScroll);
25
- };
26
- }, [isMobile, isTablet]);
27
- const messageInformationHtml = _jsx(MessageInformation, { noImg: noImg, text: text, time: time, centered: centered });
28
- const classCountDownMessageFixed = classNames({
29
- 'count-down-message-fixed': true,
30
- 'count-down-message-fixed--show': scrollSuperateCountDown
31
- });
32
- return (_jsxs(_Fragment, { children: [_jsx("div", { className: `count-down-message ${noImg && 'extra-margin'}`, ref: countDownRef, children: messageInformationHtml }), _jsx("div", { className: classCountDownMessageFixed, children: messageInformationHtml })] }));
33
- };
34
- export default CountDownMessage;
@@ -1 +0,0 @@
1
- export { default as CountDownMessage } from './CountDownMessage';
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { MailSvg } from '../../../../images/componentsSvg/MailSvg';
3
- // import './EmailContactBox.scss'
4
- export const EmailContactBox = ({ mail, text }) => {
5
- return (_jsxs("div", { className: 'email-contact-box-container', children: [_jsx(MailSvg, {}), _jsxs("div", { children: [_jsx("p", { children: _jsx("a", { className: 'email-contact-mail', href: `mailto:${mail}`, children: mail }) }), _jsx("p", { className: 'email-contact-text', children: text })] })] }));
6
- };
@@ -1,2 +0,0 @@
1
- export * from './EmailContactBox';
2
- export * from './EmailContactBoxProps';
@@ -1,10 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { ExpertCard } from '../../atoms/ExpertCard';
3
- // import './ExpertCardList.scss'
4
- const ExpertCardList = ({ contentExpertCard }) => {
5
- const expertCards = contentExpertCard.map((expertCard) => {
6
- return (_jsx(ExpertCard, { title: expertCard.title, url: expertCard.url, description: expertCard.description, image: expertCard.image }, expertCard.title));
7
- });
8
- return _jsx("div", { className: 'expert-card-list', children: expertCards });
9
- };
10
- export default ExpertCardList;
@@ -1 +0,0 @@
1
- export { default as ExpertCardList } from './ExpertCardList';
@@ -1,12 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import React from 'react';
3
- import { ChevronRight24px } from '../../../../images/componentsSvg/ChevronRight24px';
4
- // import './FaqItem.scss'
5
- export const FaqItem = ({ slug, title, children, index }) => {
6
- const [isOpen, setIsOpen] = React.useState(index === 0);
7
- return (_jsxs("article", { className: `faqItem ${isOpen ? 'open' : ''}`, children: [_jsx("div", { id: slug, className: 'fakeAnchor' }), _jsxs("details", { itemProp: 'mainEntity', itemScope: true, itemType: 'https://www.schema.org/Question', className: 'content', open: index === 0, children: [_jsxs("summary", { role: 'button', tabIndex: index === 0 ? 0 : -1, onClick: () => {
8
- setIsOpen(!isOpen);
9
- }, onKeyUp: () => {
10
- setIsOpen(!isOpen);
11
- }, className: 'question', children: [_jsx("h3", { tabIndex: index === 0 ? 0 : -1, itemProp: 'name', className: 'title', children: title }), _jsx(ChevronRight24px, {})] }), _jsx("div", { itemScope: true, itemProp: 'acceptedAnswer', itemType: 'https://www.schema.org/Answer', className: 'answer', children: _jsx("span", { itemProp: 'text', children: children }) })] })] }));
12
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- export * from './FaqItem';
2
- export * from './FaqItemProps';
@@ -1,9 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { FeatureRatafiaCard } from '../../atoms';
3
- // import './FeatureRatafiaCardList.scss'
4
- const FeatureRatafiaCardList = ({ features = [] }) => {
5
- if (features.length === 0)
6
- return null;
7
- return (_jsx("div", { className: 'feature-ratafia-card-list', children: features.map((feature) => (_jsx(FeatureRatafiaCard, { ...feature }, feature.id))) }));
8
- };
9
- export default FeatureRatafiaCardList;
@@ -1 +0,0 @@
1
- export { default as FeatureRatafiaCardList } from './FeatureRatafiaCardList';
@@ -1,42 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import classNames from 'classnames';
3
- import Button from '../../atoms/Button/Button';
4
- import { Done24pxOutline } from '../../../../images/componentsSvg/Done24pxoutlined';
5
- import { InfoError24pxOutlined } from '../../../../images/componentsSvg/InfoError24pxOutlined';
6
- // import './Feedback.scss'
7
- const themes = {
8
- error: {
9
- className: 'feedback--error',
10
- icon: _jsx(InfoError24pxOutlined, {})
11
- },
12
- success: {
13
- className: 'feedback--success',
14
- icon: _jsx(Done24pxOutline, {})
15
- }
16
- };
17
- const Feedback = ({ theme = 'success', title, text, button, cancel, large, fluid, imgSrc = '', dataQa = '' }) => {
18
- const currentTheme = themes[theme] ?? {};
19
- if (Object.keys(currentTheme).length === 0 && imgSrc.length === 0) {
20
- return null;
21
- }
22
- const renderButtons = () => {
23
- const buttons = [];
24
- if (button?.onClick != null) {
25
- buttons.push(_jsx(Button, { ...button }, 'feedback-accept-button'));
26
- }
27
- if (cancel?.onClick != null) {
28
- buttons.push(_jsx("a", { className: 'feedback__cancel__a', onClick: cancel.onClick, children: cancel?.label ?? 'Cancel' }, 'feedback-cancel-button'));
29
- }
30
- if (buttons.length === 0) {
31
- return null;
32
- }
33
- return _jsx("div", { className: 'feedback__buttons', children: buttons });
34
- };
35
- const classes = classNames('feedback', {
36
- 'feedback--large': large,
37
- 'feedback--fluid': fluid,
38
- [currentTheme.className]: imgSrc.length === 0
39
- });
40
- return (_jsxs("div", { className: classes, children: [_jsxs("div", { className: 'feedback__main', children: [_jsx("div", { id: imgSrc.length > 0 ? 'feedback__image' : 'feedback__icon', className: imgSrc.length > 0 ? 'feedback__image' : 'feedback__icon', children: imgSrc.length > 0 ? (_jsx("img", { className: 'feedback__image_img', src: imgSrc, alt: '' })) : (_jsx("div", { className: 'feedback__icon__img', children: currentTheme.icon })) }), title !== undefined && _jsx("p", { className: 'feedback__title sans-serif --big', children: title }), text !== undefined && (_jsx("p", { className: `feedback__text ${imgSrc.length === 0 ? 'feedback__text--grey' : ''}`, "data-qa": `${dataQa}-text`, children: text }))] }), renderButtons()] }));
41
- };
42
- export default Feedback;
@@ -1 +0,0 @@
1
- export { default as Feedback } from './Feedback';
@@ -1,22 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Button } from '../../atoms';
3
- // import './FreeDocModalContent.scss'
4
- const FreeDocModalContent = ({ bodyTitle, bodyText, closeModal, clickGoToFormInApp, isActiveDocument }) => {
5
- const onGoToApp = () => {
6
- if (clickGoToFormInApp !== undefined)
7
- clickGoToFormInApp(null, '', true);
8
- };
9
- const onNavigateToTop = () => {
10
- closeModal();
11
- };
12
- const buttonProps = {
13
- color: 'primary',
14
- size: 'S',
15
- label: 'Make Document',
16
- dataQa: 'free-modal-doc-button',
17
- ...(isActiveDocument ? { noLink: true } : { link: '#' }),
18
- onClick: isActiveDocument ? onGoToApp : onNavigateToTop
19
- };
20
- return (_jsxs("div", { className: 'free-doc-modal-content', children: [_jsx("div", { className: 'close-mobile', onClick: closeModal, children: "\u00D7" }), _jsx("div", { className: 'left-container' }), _jsx("div", { className: 'right-container', children: _jsxs("div", { className: 'info-box', children: [_jsx("h1", { className: 'info-box__title', children: bodyTitle }), _jsx("div", { className: 'info-box__text', children: bodyText }), _jsx("div", { className: 'info-box__button-box', children: _jsx("div", { className: 'button', children: _jsx(Button, { ...buttonProps }) }) })] }) })] }));
21
- };
22
- export default FreeDocModalContent;
@@ -1 +0,0 @@
1
- export { default as FreeDocModalContent } from './FreeDocModalContent';
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { ActionButtonHeaderRatafiaCardList } from '../ActionButtonHeaderRatafiaCardList';
3
- // import './HeaderRatafia.scss'
4
- export const HeaderRatafia = ({ icon, title, actionButtons, isHiddenActionButtons = false }) => {
5
- return (_jsxs("div", { className: 'header-ratafia', children: [_jsxs("div", { className: 'header-ratafia__title', children: [_jsx("div", { className: 'header-ratafia__title__icon', children: icon }), _jsx("h1", { className: 'sans-serif --bold-weight header-ratafia__title__text', children: title })] }), actionButtons !== undefined && !isHiddenActionButtons && (_jsx(ActionButtonHeaderRatafiaCardList, { actionButtons: actionButtons }))] }));
6
- };
7
- export default HeaderRatafia;
@@ -1 +0,0 @@
1
- export { default as HeaderRatafia } from './HeaderRatafia';
@@ -1,9 +0,0 @@
1
- import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { KeyFactRatafiaCard } from '../../atoms';
3
- // import './KeyFactCardListRatafia.scss'
4
- export const KeyFactCardListRatafia = ({ keyFacts }) => {
5
- if (keyFacts.length === 0)
6
- return null;
7
- return (_jsx("div", { className: 'key-fact-card-list', children: keyFacts.map((keyFact) => (_jsx(_Fragment, { children: _jsx(KeyFactRatafiaCard, { ...keyFact }, keyFact.id) }))) }));
8
- };
9
- export default KeyFactCardListRatafia;
@@ -1 +0,0 @@
1
- export { default as KeyFactCardListRatafia } from './KeyFactCardListRatafia';
@@ -1,10 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { MenuItems } from '../../atoms';
3
- // import './MenuItemsSection.scss'
4
- const MenuItemsSection = ({ icon, title, list }) => {
5
- const filteredList = title !== undefined && list !== undefined ? list.filter((item) => item.content) : null;
6
- if (filteredList === null || filteredList?.length === 0 || filteredList[0].content === undefined)
7
- return null;
8
- return (_jsxs("div", { className: 'menu-items-section', children: [_jsxs("div", { className: 'menu-items-section__title-wrapper', children: [icon ?? null, _jsx("div", { className: 'menu-items-section__title-wrapper__title', children: title })] }), list && _jsx(MenuItems, { list: list, spacing: true })] }));
9
- };
10
- export default MenuItemsSection;
@@ -1 +0,0 @@
1
- export { default as MenuItemsSection } from './MenuItemsSection';
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Button } from '../../atoms';
3
- // import './MidBannerRatafiaContent.scss'
4
- const MidBannerRatafiaContent = ({ title, paragraph, ctaLabel, ctaLink, ctaDataQa }) => {
5
- return (_jsxs("div", { className: 'mid-banner-ratafia-content', children: [_jsxs("div", { className: 'mid-banner-ratafia-content__header', children: [_jsx("h2", { className: 'sans-serif --super-large --bold-weight mid-banner-ratafia-content__header__title', children: title }), _jsx("div", { className: 'sans-serif --super-medium mid-banner-ratafia-content__header__description', children: paragraph })] }), _jsx(Button, { givenClass: 'mid-banner-ratafia-content__cta', dataQa: ctaDataQa, link: ctaLink, color: 'primary', label: ctaLabel })] }));
6
- };
7
- export default MidBannerRatafiaContent;
@@ -1 +0,0 @@
1
- export { default as MidBannerRatafiaContent } from './MidBannerRatafiaContent';
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- // import './MidBannerRatafiaSample.scss'
3
- const MidBannerRatafiaSample = ({ image }) => {
4
- return (_jsxs("div", { className: 'mid-banner-ratafia-sample', children: [_jsx("div", { className: 'mid-banner-ratafia-sample__image', children: image }), _jsxs("div", { className: 'mid-banner-ratafia-sample__sumarized-tag', children: [_jsx("img", { className: 'mid-banner-ratafia-sample__sumarized-tag__icon', src: 'https://cdn.stage.strapi.lawdistrict.com/mid-banner-1.svg', alt: '', role: 'img' }), _jsx("p", { className: 'sans-serif --small --bold-weight mid-banner-ratafia-sample__sumarized-tag__text', children: "Summarized" })] }), _jsxs("div", { className: 'mid-banner-ratafia-sample__feature-tag mid-banner-ratafia-sample__feature-tag__key-facts', children: [_jsx("img", { className: 'mid-banner-ratafia-sample__feature-tag__icon', src: 'https://cdn.stage.strapi.lawdistrict.com/mid-banner-2.svg', alt: '', role: 'img' }), _jsx("p", { className: 'sans-serif --small mid-banner-ratafia-sample__feature-tag__text', children: "Key facts" })] }), _jsxs("div", { className: 'mid-banner-ratafia-sample__feature-tag mid-banner-ratafia-sample__feature-tag__clauses', children: [_jsx("img", { className: 'mid-banner-ratafia-sample__feature-tag__icon', src: 'https://cdn.stage.strapi.lawdistrict.com/mid-banner-3.svg', alt: '', role: 'img' }), _jsx("p", { className: 'sans-serif --small mid-banner-ratafia-sample__feature-tag__text', children: "Clauses" })] })] }));
5
- };
6
- export default MidBannerRatafiaSample;
@@ -1 +0,0 @@
1
- export { default as MidBannerRatafiaSample } from './MidBannerRatafiaSample';
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { MoreDocsItem } from '../../atoms';
3
- // import './MoreDocsDesktop.scss'
4
- export const MoreDocsDesktop = ({ title, documents }) => {
5
- return (_jsx("div", { className: 'more-docs-desktop', children: _jsxs("div", { className: 'container', children: [_jsx("h2", { className: 'section-title', children: title }), _jsxs("div", { className: 'docs-container', children: [_jsx("div", { className: 'docs-column', children: documents.slice(0, 3).map((document) => (_jsx(MoreDocsItem, { ...document }, document.id))) }), _jsx("div", { className: 'separation-line' }), _jsx("div", { className: 'docs-column', children: documents.slice(3, 6).map((document) => (_jsx(MoreDocsItem, { ...document }, document.id))) }), _jsx("div", { className: 'separation-line last-line' }), _jsx("div", { className: 'docs-column', children: documents.slice(6, 9).map((document) => (_jsx(MoreDocsItem, { ...document }, document.id))) })] })] }) }));
6
- };
@@ -1,2 +0,0 @@
1
- export * from './MoreDocsDesktop';
2
- export * from './MoreDocsDesktopProps';
@@ -1,17 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import React from 'react';
3
- import { ChevronRight24px } from '../../../../images/componentsSvg/ChevronRight24px';
4
- import { MoreDocsItem } from '../../atoms';
5
- // import './MoreDocsMobile.scss'
6
- export const MoreDocsMobile = ({ title, documents }) => {
7
- const [isOpen, setIsOpen] = React.useState(false);
8
- return (_jsxs(_Fragment, { children: [_jsx("div", { className: 'more-docs-mobile', onClick: () => {
9
- setIsOpen(!isOpen);
10
- }, tabIndex: 0, role: 'button', onKeyUp: (event) => {
11
- if (event.key === 'Enter' || event.key === ' ') {
12
- setIsOpen(!isOpen);
13
- }
14
- }, children: _jsxs("div", { className: 'box-closed', children: [_jsx("p", { className: 'box-title', children: title }), _jsx("div", { className: `icon-see-more ${!isOpen ? 'open' : ''}`, children: _jsx(ChevronRight24px, {}) })] }) }), isOpen && (_jsx("div", { className: 'more-docs-list', children: documents.map((document) => {
15
- return (_jsxs("div", { className: 'docs-list', children: [_jsx(MoreDocsItem, { ...document }), _jsx("div", { className: 'separation-line' })] }, document.id));
16
- }) }))] }));
17
- };
@@ -1,2 +0,0 @@
1
- export * from './MoreDocsMobile';
2
- export * from './MoreDocsMobileProps';
@@ -1,67 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- /* eslint-disable jsx-a11y/no-static-element-interactions */
3
- /* eslint-disable jsx-a11y/click-events-have-key-events */
4
- import { useEffect } from 'react';
5
- import { MenuItems } from '../../atoms';
6
- import { useIntersectionObserver } from '../../../hooks';
7
- // import './NavBarDropDown.scss'
8
- let scrollPosition = 0;
9
- let touchStartPosY;
10
- let isDisabledScroll = false;
11
- export const NavBarDropDown = ({ isOpen, list, hasBullets = true, initialActiveContent, setEnableScrollbarOnClose, setIsOpen }) => {
12
- const [ref, isIntersectingWithElement] = useIntersectionObserver({
13
- options: { threshold: 0.15 }
14
- });
15
- const onTouchStart = (event) => {
16
- touchStartPosY = event.changedTouches[0];
17
- };
18
- const onTouchMove = (event) => {
19
- const touchEndPosY = event.changedTouches[0];
20
- if (isDisabledScroll && touchEndPosY?.screenY - touchStartPosY?.screenY > 0) {
21
- enableScrollbarOnClose(true);
22
- isDisabledScroll = false;
23
- }
24
- };
25
- const disableScrollbarOnOpen = () => {
26
- if (isOpen && typeof window !== 'undefined') {
27
- const body = document.querySelector('body');
28
- scrollPosition = window.scrollY;
29
- if (body != null) {
30
- body.style.overflow = 'hidden';
31
- body.style.position = 'fixed';
32
- body.style.top = `-${scrollPosition}px`;
33
- body.style.width = '100%';
34
- }
35
- }
36
- };
37
- const enableScrollbarOnClose = (onTouch = false) => {
38
- const body = document.querySelector('body');
39
- body?.style.removeProperty('overflow');
40
- body?.style.removeProperty('position');
41
- body?.style.removeProperty('top');
42
- body?.style.removeProperty('width');
43
- window.scrollTo(0, onTouch ? scrollPosition : window.scrollY);
44
- };
45
- const closeMenu = () => {
46
- enableScrollbarOnClose();
47
- setIsOpen(false);
48
- };
49
- useEffect(() => {
50
- document.addEventListener('touchmove', onTouchMove);
51
- document.addEventListener('touchstart', onTouchStart);
52
- return () => {
53
- document.removeEventListener('touchmove', onTouchMove);
54
- document.removeEventListener('touchstart', onTouchStart);
55
- };
56
- }, []);
57
- useEffect(() => {
58
- if (isIntersectingWithElement) {
59
- disableScrollbarOnOpen();
60
- isDisabledScroll = true;
61
- }
62
- }, [isOpen, isIntersectingWithElement]);
63
- useEffect(() => {
64
- setEnableScrollbarOnClose(() => enableScrollbarOnClose);
65
- }, []);
66
- return (_jsx(_Fragment, { children: isOpen ? (_jsxs("div", { className: 'navbar-drop-down__container', children: [_jsx("div", { className: 'navbar-drop-down__container__menu_items', children: _jsx(MenuItems, { list: list, hasBullets: hasBullets, initialActiveContent: initialActiveContent }) }), _jsx("div", { ref: ref, className: 'navbar-drop-down__container__shadow', onClick: closeMenu })] })) : null }));
67
- };
@@ -1 +0,0 @@
1
- export { NavBarDropDown } from './NavBarDropDown';
@@ -1,21 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- /* eslint-disable jsx-a11y/no-static-element-interactions */
3
- /* eslint-disable jsx-a11y/click-events-have-key-events */
4
- import { useCallback } from 'react';
5
- import classNames from 'classnames';
6
- import { ArrowRight } from '../../../../images/componentsSvg/ArrowRight';
7
- const PageStepControl = ({ activePage, direction, onClick, totalPages, nextControl = 'next', prevControl = 'prev' }) => {
8
- const hideStepControl = (direction === prevControl && activePage <= 1) || (direction === nextControl && activePage >= totalPages);
9
- const handleClick = useCallback(() => {
10
- if (!hideStepControl)
11
- onClick(direction);
12
- }, [hideStepControl, onClick]);
13
- if (totalPages === undefined)
14
- return null;
15
- const classes = classNames('pagination__control', {
16
- [`pagination__control--${direction}`]: direction,
17
- 'pagination__control--hidden': hideStepControl
18
- });
19
- return (_jsx("span", { className: classes, onClick: handleClick, children: _jsx(ArrowRight, {}) }));
20
- };
21
- export default PageStepControl;