@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,2 +0,0 @@
1
- export * from './RatafiaLandingPage';
2
- export * from './RatafiaLandingPageProps.types';
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { JumbotronStatic } from '../../atoms';
3
- import { UnsubscribeSection } from '../../sections';
4
- export const UnsubscribePage = ({ jumbotron, unsubscribeSection }) => {
5
- return (_jsxs(_Fragment, { children: [_jsx(JumbotronStatic, { ...jumbotron }), _jsx(UnsubscribeSection, { ...unsubscribeSection })] }));
6
- };
@@ -1,2 +0,0 @@
1
- export * from './UnsubscribePage';
2
- export * from './UnsubscribePageProps';
@@ -1,9 +0,0 @@
1
- export * from './AboutUsPage';
2
- export * from './ContactUsPage';
3
- export * from './ErrorRatafiaPage';
4
- export * from './FaqsPage';
5
- export * from './KeyFactsResultRatafiaPage';
6
- export * from './LegalPage';
7
- export * from './RatafiaLandingPage';
8
- export * from './UnsubscribePage';
9
- export * from './LoginRatafiaPage';
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { AboutUsContent } from '../../organisms/AboutUsContent';
3
- // import './AboutUsSection.scss'
4
- const AboutUsSection = ({ title, subTitle, contentAboutUs }) => {
5
- return (_jsx("div", { className: 'about-us-section', children: _jsxs("div", { className: 'wrapper wrapper--responsive', children: [_jsx("div", { className: 'about-us-section__title', children: _jsx("span", { className: 'about-us-section__title__text', children: title }) }), Boolean(subTitle) && _jsx("h1", { className: 'about-us-section__sub-title', children: subTitle }), _jsx(AboutUsContent, { image: contentAboutUs.image, button: contentAboutUs?.button, children: contentAboutUs.children })] }) }));
6
- };
7
- export default AboutUsSection;
@@ -1 +0,0 @@
1
- export { default as AboutUsSection } from './AboutUsSection';
@@ -1,10 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { AsSeeInContent } from '../../organisms';
3
- // import './AsSeeInSection.scss'
4
- const AsSeeInSection = ({ title, contentAsSeeIn }) => {
5
- if (contentAsSeeIn.trustWorthyImages.images.length === 0) {
6
- return null;
7
- }
8
- return (_jsx("section", { className: 'as-seen-in-section-box', children: _jsxs("div", { className: 'as-seen-in-section', children: [_jsx("h2", { className: 'as-seen-in-section__title', children: title }), _jsx(AsSeeInContent, { trustWorthyImages: contentAsSeeIn.trustWorthyImages, children: contentAsSeeIn.children })] }) }));
9
- };
10
- export default AsSeeInSection;
@@ -1 +0,0 @@
1
- export { default as AsSeeInSection } from './AsSeeInSection';
@@ -1,5 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- // import './AsideMenuSection.scss'
3
- export const AsideMenuSection = ({ items, title = '', onClickHandler }) => {
4
- return (_jsxs("aside", { className: 'asideMenu', children: [title.length > 0 && _jsx("div", { className: 'title sans-serif --big', children: title }), _jsx("ul", { className: 'list', children: items.map((item, index) => (_jsx("li", { className: `navItem ${index === 0 ? 'inView' : ''}`, id: `list-item-${item.slug}`, onClick: onClickHandler, onKeyUp: () => onClickHandler, role: 'menuitem', children: onClickHandler !== undefined ? _jsx("span", { children: item.text }) : _jsx("a", { href: `#${item.slug}`, children: item.text }) }, item.id))) })] }));
5
- };
@@ -1,2 +0,0 @@
1
- export * from './AsideMenuSection';
2
- export * from './AsideMenuSectionProps';
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { BenefitRatafiaCardList } from '../../molecules';
3
- // import './BenefitsRatafiaSection.scss'
4
- const BenefitsRatafiaSection = ({ title, description, benefits }) => {
5
- return (_jsx("section", { className: 'benefit-ratafia-section', children: _jsxs("div", { className: 'benefit-ratafia-section__wrapper background-ratafia-animation', children: [_jsxs("div", { className: 'benefit-ratafia-section__wrapper__title', children: [_jsx("h2", { className: 'sans-serif --super-large --bold-weight benefit-ratafia-section__wrapper__title__text', children: title }), _jsx("p", { className: 'sans-serif --super-medium benefit-ratafia-section__wrapper__title__description', children: description })] }), _jsx(BenefitRatafiaCardList, { benefits: benefits })] }) }));
6
- };
7
- export default BenefitsRatafiaSection;
@@ -1 +0,0 @@
1
- export { default as BenefitsRatafiaSection } from './BenefitsRatafiaSection';
@@ -1,10 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { ArticlesList } from '../../organisms';
3
- import { Button } from '../../atoms';
4
- // import './BlogSection.scss'
5
- const BlogSection = ({ blogTitle, blogCta, articles }) => {
6
- if (articles.articles?.length === 0)
7
- return null;
8
- return (_jsxs("div", { className: 'blog', children: [_jsx("h2", { className: 'serif --super-large blog__title', children: blogTitle }), _jsx(ArticlesList, { articles: articles.articles }), _jsx(Button, { dataQa: '', color: 'secondary', label: blogCta, givenClass: 'cta-button', link: '/articles' })] }));
9
- };
10
- export default BlogSection;
@@ -1 +0,0 @@
1
- export { default as BlogSection } from './BlogSection';
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { BoxForm } from '../../molecules';
3
- import { ContactJumbotron } from '../../organisms';
4
- // import './ContactSection.scss'
5
- export const ContactSection = ({ contactJumbotronProps, contactForm }) => {
6
- return (_jsx("section", { className: 'contact-container', children: _jsx("div", { className: 'wrapper wrapper--responsive wrapper--contact', children: _jsxs("div", { className: 'contact__main', children: [_jsx("div", { className: 'contact-left-container', children: _jsx(ContactJumbotron, { ...contactJumbotronProps }) }), _jsx("div", { className: 'contact-right-container', children: _jsx("div", { className: 'contact__form', children: _jsx(BoxForm, { ...contactForm }) }) })] }) }) }));
7
- };
@@ -1 +0,0 @@
1
- export { ContactSection } from './ContactSection';
@@ -1,10 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { ExpertCardList } from '../../molecules';
3
- // import './ExpertsSection.scss'
4
- const ExpertsSection = ({ title, contentExpertCardList }) => {
5
- if (contentExpertCardList.contentExpertCard.length === 0) {
6
- return null;
7
- }
8
- return (_jsxs("div", { className: 'experts-section', children: [_jsx("h2", { className: 'experts-section__title', children: title }), _jsx(ExpertCardList, { contentExpertCard: contentExpertCardList.contentExpertCard })] }));
9
- };
10
- export default ExpertsSection;
@@ -1 +0,0 @@
1
- export { default as ExpertsSection } from './ExpertsSection';
@@ -1,8 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import classNames from 'classnames';
3
- import { FaqGroup } from '../../organisms';
4
- // import './FaqSection.scss'
5
- export const FaqSection = ({ groups, givenClass }) => {
6
- const classnames = classNames(`faqSection ${givenClass ?? ''}`);
7
- return (_jsx("section", { className: classnames, itemScope: true, itemType: 'https://www.schema.org/FAQPage', children: groups.map((group) => (_jsx(FaqGroup, { ...group }, group.id))) }));
8
- };
@@ -1,2 +0,0 @@
1
- export * from './FaqSection';
2
- export * from './FaqSectionProps';
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { FeaturesRatafiaContent } from '../../organisms';
3
- // import './FeaturesRatafiaSection.scss'
4
- const FeaturesRatafiaSection = ({ content, children }) => {
5
- return (_jsx("section", { className: 'features-ratafia-section', children: _jsxs("div", { className: 'features-ratafia-section__wrapper', children: [_jsx("div", { className: 'features-ratafia-section__wrapper__content', children: _jsx(FeaturesRatafiaContent, { title: content.title, description: content.description, notReleasedText: content.notReleasedText, features: content.features }) }), _jsx("span", { className: 'features-ratafia-section__wrapper__children', children: children })] }) }));
6
- };
7
- export default FeaturesRatafiaSection;
@@ -1 +0,0 @@
1
- export { default as FeaturesRatafiaSection } from './FeaturesRatafiaSection';
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { GuidelinesContent } from '../../organisms/GuidelinesContent';
3
- // import './GuidelinesSection.scss'
4
- const GuidelinesSection = ({ contentGuidelines }) => {
5
- return (_jsx("section", { className: 'guidelines-section wrapper wrapper--responsive', children: _jsx(GuidelinesContent, { title: contentGuidelines.title, image: contentGuidelines.image, children: contentGuidelines.children }) }));
6
- };
7
- export default GuidelinesSection;
@@ -1 +0,0 @@
1
- export { default as GuidelinesSection } from './GuidelinesSection';
@@ -1,10 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { ListStepsGetForm } from '../../organisms';
3
- import imageFile from '../../../../images/png/graphics-grey-02.png';
4
- // import './HowGetYourFormsSection.scss'
5
- const HowGetYourFormsSection = ({ title = '', steps = [], hasBackgroundImage = true }) => {
6
- if (steps.length === 0)
7
- return null;
8
- return (_jsxs("section", { className: 'how-it-works-wrapper', style: hasBackgroundImage ? { backgroundImage: `url(${imageFile})` } : {}, children: [_jsx("p", { className: 'works-title serif --super-large', children: title }), _jsx(ListStepsGetForm, { steps: steps })] }));
9
- };
10
- export default HowGetYourFormsSection;
@@ -1 +0,0 @@
1
- export { default as HowGetYourFormsSection } from './HowGetYourFormsSection';
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { JumbotronRatafiaContent } from '../../organisms/JumbotronRatafiaContent';
3
- // import './JumbotronRatafiaSection.scss'
4
- const JumbotronRatafiaSection = ({ content, children }) => {
5
- return (_jsx("section", { className: 'jumbotron-ratafia-section background-ratafia-animation', id: 'ratafia-jumbotron', children: _jsxs("div", { className: 'jumbotron-ratafia-section__wrapper', children: [_jsx(JumbotronRatafiaContent, { title: content.title, tags: content.tags, body: content.body }), _jsx("span", { className: 'jumbotron-ratafia-section__wrapper__children', children: children })] }) }));
6
- };
7
- export default JumbotronRatafiaSection;
@@ -1 +0,0 @@
1
- export { default as JumbotronRatafiaSection } from './JumbotronRatafiaSection';
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Tagline } from '../../atoms';
3
- // import './JumbotronSimplifiedSection.scss'
4
- export const JumbotronSimplifiedSection = ({ wrapperClassName = '', taglineProps, title, children }) => {
5
- return (_jsx("section", { className: `jumbotron--simplified ${wrapperClassName}`, children: _jsxs("div", { className: 'wrapper wrapper--responsive', children: [_jsx(Tagline, { ...taglineProps }), _jsx("h1", { className: 'serif jumbotron--simplified__title', children: title }), children] }) }));
6
- };
@@ -1 +0,0 @@
1
- export { JumbotronSimplifiedSection } from './JumbotronSimplifiedSection';
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Button } from '../../atoms';
3
- // import './LearnMoreSection.scss'
4
- const LearnMoreSection = ({ title, description, cta, faqs }) => {
5
- return (_jsx("section", { className: 'learn-more__wrapper', children: _jsxs("div", { className: 'wrapper', children: [_jsxs("div", { className: 'learn-more__info', children: [_jsx("h2", { className: 'learn-more__title serif --super-large', children: title }), _jsx("p", { className: 'learn-more__description sans-serif --regular', children: description })] }), _jsxs("div", { className: 'learn-more__faqs', children: [_jsx("ul", { children: faqs }), _jsx(Button, { dataQa: '', color: 'primary3', label: cta, link: '/faqs/' })] })] }) }));
6
- };
7
- export default LearnMoreSection;
@@ -1 +0,0 @@
1
- export { default as LearnMoreSection } from './LearnMoreSection';
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { RichTextStrapi } from '../../atoms';
3
- // import './LegalSection.scss'
4
- export const LegalSection = ({ text }) => {
5
- return (_jsx("section", { className: 'wrapper', children: _jsx("div", { className: 'legal', children: _jsx(RichTextStrapi, { ...text }) }) }));
6
- };
@@ -1,2 +0,0 @@
1
- export * from './LegalSection';
2
- export * from './LegalSectionProps';
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { MidBannerRatafiaContent, MidBannerRatafiaSample } from '../../molecules';
3
- // import './MidBannerRatafiaSection.scss'
4
- const MidBannerRatafiaSection = ({ title, paragraph, ctaLabel, ctaLink, ctaDataQa, image }) => {
5
- return (_jsx("section", { className: 'mid-banner-ratafia-section', children: _jsxs("div", { className: 'mid-banner-ratafia-section__wrapper', children: [_jsx(MidBannerRatafiaContent, { title: title, paragraph: paragraph, ctaLabel: ctaLabel, ctaLink: ctaLink, ctaDataQa: ctaDataQa }), _jsx("div", { className: 'mid-banner-ratafia-section__wrapper__sample', children: _jsx(MidBannerRatafiaSample, { image: image }) })] }) }));
6
- };
7
- export default MidBannerRatafiaSection;
@@ -1 +0,0 @@
1
- export { default as MidBannerRatafiaSection } from './MidBannerRatafiaSection';
@@ -1,12 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import React from 'react';
3
- import { MoreDocsDesktop, MoreDocsMobile } from '../../molecules';
4
- import { useIsMobileOrTable } from '../../../hooks';
5
- export const MoreDocsSection = ({ title, documents }) => {
6
- const { isGtLandscapeTablets } = useIsMobileOrTable();
7
- const [body, setBody] = React.useState(_jsx(MoreDocsDesktop, { title: title, documents: documents }));
8
- React.useEffect(() => {
9
- setBody(isGtLandscapeTablets ? (_jsx(MoreDocsDesktop, { title: title, documents: documents })) : (_jsx(MoreDocsMobile, { title: title, documents: documents })));
10
- }, [isGtLandscapeTablets, title, documents]);
11
- return _jsx("section", { className: 'more-docs-section', children: body });
12
- };
@@ -1,2 +0,0 @@
1
- export * from './MoreDocsSection';
2
- export * from './MoreDocsSectionProps';
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { TrustPilot } from '../../atoms';
3
- // import './PeopleSayAboutUsSection.scss'
4
- const PeopleSayAboutUsSection = ({ title, contentTrustPilot }) => {
5
- return (_jsxs("section", { className: 'people-say', children: [Boolean(title) && _jsx("h2", { className: 'people-say__title', children: title }), _jsx(TrustPilot, { children: contentTrustPilot.children })] }));
6
- };
7
- export default PeopleSayAboutUsSection;
@@ -1 +0,0 @@
1
- export { default as PeopleSayAboutUsSection } from './PeopleSayAboutUsSection';
@@ -1,8 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { StepsRatafiaContent } from '../../organisms';
3
- import { Video } from '../../atoms';
4
- // import './StepsRatafiaSection.scss'
5
- const StepsRatafiaSection = ({ title, steps, videoUrl }) => {
6
- return (_jsx("section", { className: 'steps-ratafia-section', children: _jsxs("div", { className: 'steps-ratafia-section__wrapper', children: [_jsx("div", { className: 'steps-ratafia-section__wrapper__video', children: _jsx(Video, { videoSrcURL: videoUrl, autoPlay: true, loop: true }) }), _jsx("div", { className: 'steps-ratafia-section__wrapper__content', children: _jsx(StepsRatafiaContent, { title: title, steps: steps }) })] }) }));
7
- };
8
- export default StepsRatafiaSection;
@@ -1 +0,0 @@
1
- export { default as StepsRatafiaSection } from './StepsRatafiaSection';
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- // import './TryItRatafiaSection.scss'
3
- const TryItRatafiaSection = ({ icon, paragraph, children }) => {
4
- return (_jsx("section", { className: 'try-it-ratafia-section', children: _jsxs("div", { className: 'try-it-ratafia-section__wrapper background-ratafia-animation', children: [_jsxs("div", { className: 'try-it-ratafia-section__wrapper__content', children: [icon !== null && _jsx("div", { className: 'try-it-ratafia-section__wrapper__content__icon', children: icon }), _jsx("h2", { className: 'sans-serif --extra-large --bold-weight try-it-ratafia-section__wrapper__content__title', children: paragraph })] }), _jsx("span", { className: 'try-it-ratafia-section__wrapper__children', children: children })] }) }));
5
- };
6
- export default TryItRatafiaSection;
@@ -1 +0,0 @@
1
- export { default as TryItRatafiaSection } from './TryItRatafiaSection';
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { TryOurFreeLegalBlogsContent } from '../../organisms/TryOurFreeLegalBlogsContent';
3
- // import './TryOurFreeLegalBlogsSection.scss'
4
- const TryOurFreeLegalBlogsSection = ({ contentTryOurFreeLegalBlogs }) => {
5
- return (_jsx("section", { className: 'try-our-free-legal-blogs-section wrapper wrapper--responsive', children: _jsx(TryOurFreeLegalBlogsContent, { title: contentTryOurFreeLegalBlogs.title, image: contentTryOurFreeLegalBlogs.image, children: contentTryOurFreeLegalBlogs.children }) }));
6
- };
7
- export default TryOurFreeLegalBlogsSection;
@@ -1 +0,0 @@
1
- export { default as TryOurFreeLegalBlogsSection } from './TryOurFreeLegalBlogsSection';
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Button } from '../../atoms';
3
- // import './TryUsSection.scss'
4
- export const TryUsSection = ({ children, hasUserToken = false, cta }) => {
5
- return (_jsxs("section", { className: 'try-us-section', children: [children, !hasUserToken && _jsx(Button, { ...cta })] }));
6
- };
@@ -1 +0,0 @@
1
- export { TryUsSection } from './TryUsSection';
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { RichTextStrapi } from '../../atoms';
3
- // import './UnsubscribeSection.scss'
4
- export const UnsubscribeSection = ({ text }) => {
5
- return (_jsx("section", { className: 'wrapper', children: _jsx("div", { className: 'unsubscribe', children: _jsx(RichTextStrapi, { ...text }) }) }));
6
- };
@@ -1 +0,0 @@
1
- export { UnsubscribeSection } from './UnsubscribeSection';
@@ -1,10 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { Button } from '../../atoms/Button';
3
- import { WhyLawDistrictItems } from '../../atoms/WhyLawDistrictItems';
4
- // import './WhyLawDistrictSection.scss'
5
- export const WhyLawDistrictSection = ({ title, items, userActive, link }) => {
6
- if (items.length === 0)
7
- return null;
8
- return (_jsxs("section", { className: 'whyLawDistrictSection', children: [_jsx("h2", { className: 'why-lawDistrict__title serif --hero', children: title }), _jsx(WhyLawDistrictItems, { items: items }), !userActive && (_jsx(Button, { givenClass: 'whyLawDistrictSection__button', label: link.cta, link: link.url, onClick: link.onClick, dataQa: link.dataQa, isExternal: true, hasNoFollow: true }))] }));
9
- };
10
- export default WhyLawDistrictSection;
@@ -1 +0,0 @@
1
- export { default as WhyLawDistrictSection } from './WhyLawDistrictSection';
@@ -1,24 +0,0 @@
1
- export * from './AboutUsSection';
2
- export * from './AsideMenuSection';
3
- export * from './AsSeeInSection';
4
- export * from './BenefitsRatafiaSection';
5
- export * from './BlogSection';
6
- export * from './ContactSection';
7
- export * from './ExpertsSection';
8
- export * from './FaqSection';
9
- export * from './FeaturesRatafiaSection';
10
- export * from './GuidelinesSection';
11
- export * from './HowGetYourFormsSection';
12
- export * from './JumbotronRatafiaSection';
13
- export * from './JumbotronSimplifiedSection';
14
- export * from './LegalSection';
15
- export * from './MidBannerRatafiaSection';
16
- export * from './MoreDocsSection';
17
- export * from './PeopleSayAboutUsSection';
18
- export * from './StepsRatafiaSection';
19
- export * from './TryItRatafiaSection';
20
- export * from './TryOurFreeLegalBlogsSection';
21
- export * from './TryUsSection';
22
- export * from './UnsubscribeSection';
23
- export * from './WhyLawDistrictSection';
24
- export * from './LearnMoreSection';
@@ -1,2 +0,0 @@
1
- export { useIntersectionObserver } from './useIntersectionObserver';
2
- export { useIsMobileOrTable } from './useIsMobileOrTable';
@@ -1,22 +0,0 @@
1
- import { useEffect, useRef, useState } from 'react';
2
- export function useIntersectionObserver({ options = {}, defaultIntersecting = false }) {
3
- const [isIntersecting, setIsIntersecting] = useState(defaultIntersecting);
4
- const elementRef = useRef(null);
5
- useEffect(() => {
6
- const currentElement = elementRef.current;
7
- const observer = new IntersectionObserver((entries) => {
8
- entries.forEach((entry) => {
9
- setIsIntersecting(entry.isIntersecting);
10
- });
11
- }, options);
12
- if (currentElement != null) {
13
- observer.observe(currentElement);
14
- }
15
- return () => {
16
- if (currentElement != null) {
17
- observer.unobserve(currentElement);
18
- }
19
- };
20
- }, [options]);
21
- return [elementRef, isIntersecting];
22
- }
@@ -1,26 +0,0 @@
1
- import { useEffect, useState } from 'react';
2
- export const useIsMobileOrTable = () => {
3
- const [isMobile, setIsMobile] = useState(typeof window !== 'undefined' ? window.innerWidth < 575 : false);
4
- const [isTablet, setIsTable] = useState(typeof window !== 'undefined' ? window.innerWidth < 960 && window.innerWidth >= 575 : false);
5
- const [load, setLoad] = useState(false);
6
- const [isGtLandscapeTablets, setIsGtLandscapeTablets] = useState(typeof window !== 'undefined' ? window.innerWidth > 720 : true);
7
- const validateWidthScreen = () => {
8
- setIsMobile(window.innerWidth < 575);
9
- setIsTable(window.innerWidth < 960 && window.innerWidth >= 575);
10
- setIsGtLandscapeTablets(window.innerWidth > 720);
11
- };
12
- useEffect(() => {
13
- validateWidthScreen();
14
- window.addEventListener('resize', validateWidthScreen);
15
- setLoad(true);
16
- return () => {
17
- document.removeEventListener('resize', validateWidthScreen);
18
- };
19
- }, []);
20
- return {
21
- isMobile,
22
- isTablet,
23
- load,
24
- isGtLandscapeTablets
25
- };
26
- };
package/dist/src/index.js DELETED
@@ -1,2 +0,0 @@
1
- import { DatePickerCustom } from './components/atoms/DatePickerCustom';
2
- export { DatePickerCustom };
@@ -1,8 +0,0 @@
1
- export var ProductCategory;
2
- (function (ProductCategory) {
3
- ProductCategory["Business"] = "Business";
4
- ProductCategory["Employment"] = "Employment";
5
- ProductCategory["RealEstate"] = "Real Estate";
6
- ProductCategory["Finance"] = "Finance";
7
- ProductCategory["PersonalFamily"] = "Personal and Family";
8
- })(ProductCategory || (ProductCategory = {}));
@@ -1,28 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { BusinessIconCategory, EmploymentIconCategory, FinanceIconCategory, PersonalFamilyIconCategory, RealEstateIconCategory } from '../../images/componentsSvg/generalCategories';
3
- import { ProductCategory } from './ProductCategory';
4
- export const getCategoryIcons = (category, width = 24, height = 24) => {
5
- const icons = new Map([
6
- [
7
- ProductCategory.Business,
8
- _jsx(BusinessIconCategory, { width: width, height: height, alt: 'business icon' }, 'business_icon')
9
- ],
10
- [
11
- ProductCategory.Employment,
12
- _jsx(EmploymentIconCategory, { width: width, height: height, alt: 'employment icon' }, 'employment_icon')
13
- ],
14
- [
15
- ProductCategory.RealEstate,
16
- _jsx(RealEstateIconCategory, { width: width, height: height, alt: 'real state icon' }, 'real_state_icon')
17
- ],
18
- [
19
- ProductCategory.Finance,
20
- _jsx(FinanceIconCategory, { width: width, height: height, alt: 'finance icon' }, 'finance_icon')
21
- ],
22
- [
23
- ProductCategory.PersonalFamily,
24
- _jsx(PersonalFamilyIconCategory, { width: width, height: height, alt: 'personal icon' }, 'personal_icon')
25
- ]
26
- ]);
27
- return (icons.get(category) ?? (_jsx(BusinessIconCategory, { width: width, height: height, alt: 'business icon' }, 'business_icon')));
28
- };
@@ -1,3 +0,0 @@
1
- export function getDateFormatMMMMYYYY(date = new Date()) {
2
- return date.toLocaleDateString('en-US', { month: 'long', year: 'numeric' });
3
- }
@@ -1,4 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- export const getGatsbyImageSkeleton = (src) => {
3
- return (_jsx("div", { "data-gatsby-image-wrapper": '', className: 'gatsby-image-wrapper gatsby-image-wrapper-constrained', children: _jsx("picture", { children: _jsx("img", { "data-gatsby-image-ssr": '', "data-main-image": '', decoding: 'async', loading: 'lazy', alt: 'Choose Your Template', src: src, style: { opacity: 1, position: 'relative' } }) }) }));
4
- };
@@ -1,4 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- export const getRichTextSkeleton = (children) => {
3
- return _jsx("div", { className: 'm-richText', children: children });
4
- };
@@ -1,7 +0,0 @@
1
- export { getCategoryIcons } from './getCategoryIcons';
2
- export { getDateFormatMMMMYYYY } from './getDateFormatMMMMYYYY';
3
- export { getGatsbyImageSkeleton } from './getGatsbyImageSkeleton';
4
- export { getRichTextSkeleton } from './getRichTextSkeleton';
5
- export { ProductCategory } from './ProductCategory';
6
- export { replaceAll } from './replaceAll';
7
- export { stringSlugify } from './stringSlugify';