@npm_leadtech/legal-lib-components 4.1.6 → 4.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/styles.css +0 -1
- package/dist/images/componentsSvg/ArrowRight.tsx +47 -0
- package/dist/images/componentsSvg/ChevronExpandLess.tsx +10 -0
- package/dist/images/componentsSvg/ChevronExpandMore.tsx +17 -0
- package/dist/images/componentsSvg/ChevronRight.tsx +9 -0
- package/dist/images/componentsSvg/ChevronRight24px.tsx +18 -0
- package/dist/images/componentsSvg/Delete24p.tsx +33 -0
- package/dist/images/componentsSvg/Done24px.tsx +13 -0
- package/dist/images/componentsSvg/Done24pxoutlined.tsx +25 -0
- package/dist/images/componentsSvg/Edit24p.tsx +33 -0
- package/dist/images/componentsSvg/EditText24px.tsx +33 -0
- package/dist/images/componentsSvg/EmploymentIcon.tsx +21 -0
- package/dist/images/componentsSvg/Eye24pxOptimized.tsx +33 -0
- package/dist/images/componentsSvg/IconDuplicate24px.tsx +29 -0
- package/dist/images/componentsSvg/InfoError24pxOutlined.tsx +31 -0
- package/dist/images/componentsSvg/LogoutSvg.tsx +27 -0
- package/dist/images/componentsSvg/MailSvg.tsx +24 -0
- package/dist/images/componentsSvg/MenuCollapse24p.tsx +43 -0
- package/dist/images/componentsSvg/NewDocumentSvg.tsx +28 -0
- package/dist/images/componentsSvg/NewRelease24p.tsx +26 -0
- package/dist/images/componentsSvg/PhoneIcon24px.tsx +47 -0
- package/dist/images/componentsSvg/SvgProps.ts +5 -0
- package/dist/images/componentsSvg/SymbolDoc.tsx +14 -0
- package/dist/images/componentsSvg/Time24px.tsx +33 -0
- package/dist/images/componentsSvg/flags/GBFlag.tsx +46 -0
- package/dist/images/componentsSvg/flags/USFlag.tsx +129 -0
- package/dist/images/componentsSvg/generalCategories/BusinessIconCategory.tsx +19 -0
- package/dist/images/componentsSvg/generalCategories/EmploymentIconCategory.tsx +19 -0
- package/dist/images/componentsSvg/generalCategories/FinanceIconCategory.tsx +19 -0
- package/dist/images/componentsSvg/generalCategories/PersonalFamilyIconCategory.tsx +19 -0
- package/dist/images/componentsSvg/generalCategories/RealEstateIconCategory.tsx +17 -0
- package/dist/images/componentsSvg/generalCategories/index.ts +5 -0
- package/dist/images/jpg/Img-documents.jpg +0 -0
- package/dist/images/png/AboutUs.png +0 -0
- package/dist/images/png/Img-documents.png +0 -0
- package/dist/images/png/buy-logo-large-en.png +0 -0
- package/dist/images/png/content-img-desktophd.png +0 -0
- package/dist/images/png/content-img-tablet.png +0 -0
- package/dist/images/png/customer-support.png +0 -0
- package/dist/images/png/editing@2x.png +0 -0
- package/dist/images/png/expertOne.png +0 -0
- package/dist/images/png/expertTwo.png +0 -0
- package/dist/images/png/graphics-grey-02.png +0 -0
- package/dist/images/png/graphics.png +0 -0
- package/dist/images/png/icon-cloud@2x.png +0 -0
- package/dist/images/png/img-modal-template-mobile.png +0 -0
- package/dist/images/png/img-modal-template.png +0 -0
- package/dist/images/png/ld-illust-empty-state-dash.png +0 -0
- package/dist/images/png/satisfaction@2x.png +0 -0
- package/dist/images/svg/aarp.svg +9 -0
- package/dist/images/svg/chevron-right-24-px.svg +14 -0
- package/dist/images/svg/communication-24px-2.svg +14 -0
- package/dist/images/svg/communication-24px.svg +14 -0
- package/dist/images/svg/debt.svg +9 -0
- package/dist/images/svg/done-24px.svg +14 -0
- package/dist/images/svg/done_24px_outlined.svg +20 -0
- package/dist/images/svg/download_24px.svg +3 -0
- package/dist/images/svg/expand_dropdown_24px.svg +23 -0
- package/dist/images/svg/expand_less_24px.svg +3 -0
- package/dist/images/svg/expand_more_24px.svg +3 -0
- package/dist/images/svg/eye-24-px.svg +20 -0
- package/dist/images/svg/eye-close.svg +24 -0
- package/dist/images/svg/icon-24-px-security.svg +15 -0
- package/dist/images/svg/icon-clear-24-px.svg +14 -0
- package/dist/images/svg/icon-info-24px.svg +21 -0
- package/dist/images/svg/icon-web-24px.svg +22 -0
- package/dist/images/svg/info-24px.svg +15 -0
- package/dist/images/svg/info-error_24px_outlined.svg +15 -0
- package/dist/images/svg/logo-google.svg +19 -0
- package/dist/images/svg/modal-free-doc.svg +50 -0
- package/dist/images/svg/preview-doc.svg +20 -0
- package/dist/images/svg/rentcafe.svg +9 -0
- package/dist/images/svg/shape.svg +3 -0
- package/dist/images/svg/techradar.svg +9 -0
- package/dist/images/svg/thenevvschool.svg +9 -0
- package/dist/images/webp/customer-support.webp +0 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.scss +24 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.tsx +20 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCardProps.types.ts +9 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/index.ts +2 -0
- package/dist/src/components/atoms/AddButton/AddButton.scss +48 -0
- package/dist/src/components/atoms/AddButton/AddButton.tsx +38 -0
- package/dist/src/components/atoms/AddButton/AddButtonProps.types.ts +15 -0
- package/dist/src/components/atoms/AddButton/index.ts +2 -0
- package/dist/src/components/atoms/BaseBox/BaseBox.styled.ts +25 -0
- package/dist/src/components/atoms/BaseBox/BaseBox.tsx +19 -0
- package/dist/src/components/atoms/BaseBox/BaseBoxProps.types.ts +7 -0
- package/dist/src/components/atoms/BaseBox/index.ts +2 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.scss +54 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.tsx +18 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCardProps.types.ts +6 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/index.ts +2 -0
- package/dist/src/components/atoms/BillCard/BillCard.scss +57 -0
- package/dist/src/components/atoms/BillCard/BillCard.tsx +24 -0
- package/dist/src/components/atoms/BillCard/BillCardProps.types.ts +5 -0
- package/dist/src/components/atoms/BillCard/index.ts +2 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.scss +33 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.tsx +11 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenuProps.types.ts +3 -0
- package/dist/src/components/atoms/BottomOverlayMenu/index.ts +2 -0
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.scss +21 -0
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.tsx +18 -0
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItemProps.types.ts +5 -0
- package/dist/src/components/atoms/BreadcrumItem/index.ts +2 -0
- package/dist/src/components/atoms/Button/Button.scss +286 -0
- package/dist/src/components/atoms/Button/Button.tsx +123 -0
- package/dist/src/components/atoms/Button/ButtonProps.types.ts +37 -0
- package/dist/src/components/atoms/Button/index.ts +2 -0
- package/dist/src/components/atoms/ButtonIcon/ButtonIcon.scss +42 -0
- package/dist/src/components/atoms/ButtonIcon/ButtonIcon.tsx +59 -0
- package/dist/src/components/atoms/ButtonIcon/ButtonIconProps.types.ts +12 -0
- package/dist/src/components/atoms/ButtonIcon/index.ts +2 -0
- package/dist/src/components/atoms/CardPane/CardPane.scss +106 -0
- package/dist/src/components/atoms/CardPane/CardPane.tsx +19 -0
- package/dist/src/components/atoms/CardPane/CardPaneInfo.tsx +36 -0
- package/dist/src/components/atoms/CardPane/CardPaneProps.types.ts +10 -0
- package/dist/src/components/atoms/CardPane/index.ts +2 -0
- package/dist/src/components/atoms/Checkbox/Checkbox.d.ts +0 -1
- package/dist/src/components/atoms/Checkbox/Checkbox.js +1 -1
- package/dist/src/components/atoms/Checkbox/Checkbox.scss +132 -0
- package/dist/src/components/atoms/Checkbox/Checkbox.tsx +43 -0
- package/dist/src/components/atoms/Checkbox/CheckboxProps.types.ts +13 -0
- package/dist/src/components/atoms/Checkbox/index.ts +2 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.scss +116 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.tsx +178 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustomProps.types.ts +17 -0
- package/dist/src/components/atoms/DatePickerCustom/DatepickerPlugin.scss +842 -0
- package/dist/src/components/atoms/DatePickerCustom/index.ts +2 -0
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.scss +84 -0
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.tsx +80 -0
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIconProps.types.ts +6 -0
- package/dist/src/components/atoms/DialogMenuIcon/index.ts +2 -0
- package/dist/src/components/atoms/Disclaimer/Disclaimer.scss +45 -0
- package/dist/src/components/atoms/Disclaimer/Disclaimer.tsx +36 -0
- package/dist/src/components/atoms/Disclaimer/DisclaimerProps.types.ts +10 -0
- package/dist/src/components/atoms/Disclaimer/index.ts +2 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.scss +149 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.tsx +88 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafiaProps.ts +17 -0
- package/dist/src/components/atoms/DisclaimerRatafia/index.ts +2 -0
- package/dist/src/components/atoms/Divider/Divider.scss +20 -0
- package/dist/src/components/atoms/Divider/Divider.tsx +19 -0
- package/dist/src/components/atoms/Divider/DividerProps.types.ts +6 -0
- package/dist/src/components/atoms/Divider/index.ts +2 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.scss +91 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.tsx +37 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.ts +6 -0
- package/dist/src/components/atoms/DocumentStatus/index.ts +2 -0
- package/dist/src/components/atoms/DocumentTag/DocumentTag.d.ts +0 -1
- package/dist/src/components/atoms/DocumentTag/DocumentTag.js +1 -1
- package/dist/src/components/atoms/DocumentTag/DocumentTag.scss +13 -0
- package/dist/src/components/atoms/DocumentTag/DocumentTag.tsx +9 -0
- package/dist/src/components/atoms/DocumentTag/DocumentTagProps.ts +3 -0
- package/dist/src/components/atoms/DocumentTag/index.ts +2 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCard.scss +61 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCard.tsx +24 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCardProps.types.ts +6 -0
- package/dist/src/components/atoms/ExpertCard/index.ts +2 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.scss +79 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.tsx +37 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCardProps.types.ts +8 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/index.ts +2 -0
- package/dist/src/components/atoms/FormFaq/FormFaq.scss +72 -0
- package/dist/src/components/atoms/FormFaq/FormFaq.tsx +17 -0
- package/dist/src/components/atoms/FormFaq/FormFaqProps.types.ts +4 -0
- package/dist/src/components/atoms/FormFaq/index.ts +2 -0
- package/dist/src/components/atoms/GoogleButton/GoogleButton.scss +22 -0
- package/dist/src/components/atoms/GoogleButton/GoogleButton.tsx +16 -0
- package/dist/src/components/atoms/GoogleButton/GoogleButtonProps.types.ts +4 -0
- package/dist/src/components/atoms/GoogleButton/index.ts +2 -0
- package/dist/src/components/atoms/IconImage/IconImage.tsx +14 -0
- package/dist/src/components/atoms/IconImage/IconImageProps.types.ts +6 -0
- package/dist/src/components/atoms/IconImage/index.ts +2 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.scss +6 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.tsx +29 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColorProps.types.ts +6 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/index.ts +2 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.scss +80 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.tsx +25 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.types.ts +9 -0
- package/dist/src/components/atoms/IconTextInfoSection/index.ts +1 -0
- package/dist/src/components/atoms/InfoBox/InfoBox.scss +40 -0
- package/dist/src/components/atoms/InfoBox/InfoBox.tsx +21 -0
- package/dist/src/components/atoms/InfoBox/InfoBoxProps.types.ts +5 -0
- package/dist/src/components/atoms/InfoBox/index.ts +2 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.scss +8 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.tsx +12 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStaticProps.types.ts +3 -0
- package/dist/src/components/atoms/JumbotronStatic/index.ts +2 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.scss +38 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.tsx +18 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCardProps.types.ts +5 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/index.ts +2 -0
- package/dist/src/components/atoms/Logo/Logo.tsx +67 -0
- package/dist/src/components/atoms/Logo/LogoProps.types.ts +7 -0
- package/dist/src/components/atoms/Logo/index.ts +2 -0
- package/dist/src/components/atoms/Logo/svg/districtlaws-logo.svg +19 -0
- package/dist/src/components/atoms/Logo/svg/districtlaws-white-logo.svg +19 -0
- package/dist/src/components/atoms/Logo/svg/lawdistrict-logo.svg +12 -0
- package/dist/src/components/atoms/Logo/svg/lawdistrict-white-logo.svg +12 -0
- package/dist/src/components/atoms/Logo/svg/lawdistrictinfo-logo.svg +24 -0
- package/dist/src/components/atoms/Logo/svg/lawdistrictinfo-white-logo.svg +24 -0
- package/dist/src/components/atoms/Logo/svg/lawdistrictonline-logo.svg +26 -0
- package/dist/src/components/atoms/Logo/svg/lawdistrictonline-white-logo.svg +26 -0
- package/dist/src/components/atoms/Logo/svg/lawdistricts-logo.svg +4 -0
- package/dist/src/components/atoms/Logo/svg/lawdistricts-white-logo.svg +4 -0
- package/dist/src/components/atoms/Logo/svg/lawsdistrict-logo.svg +23 -0
- package/dist/src/components/atoms/Logo/svg/lawsdistrict-white-logo.svg +23 -0
- package/dist/src/components/atoms/Logo/svg/uslawdistrict-logo.svg +18 -0
- package/dist/src/components/atoms/Logo/svg/uslawdistrict-white-logo.svg +22 -0
- package/dist/src/components/atoms/LogoText/LogoText.scss +34 -0
- package/dist/src/components/atoms/LogoText/LogoText.tsx +21 -0
- package/dist/src/components/atoms/LogoText/LogoTextProps.types.ts +5 -0
- package/dist/src/components/atoms/LogoText/index.ts +2 -0
- package/dist/src/components/atoms/MenuItems/MenuItemProps.types.ts +15 -0
- package/dist/src/components/atoms/MenuItems/MenuItems.scss +70 -0
- package/dist/src/components/atoms/MenuItems/MenuItems.tsx +71 -0
- package/dist/src/components/atoms/MenuItems/index.ts +2 -0
- package/dist/src/components/atoms/Message/Message.scss +31 -0
- package/dist/src/components/atoms/Message/Message.tsx +16 -0
- package/dist/src/components/atoms/Message/MessageProps.types.ts +4 -0
- package/dist/src/components/atoms/Message/index.ts +2 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformation.scss +51 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformation.tsx +23 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformationProps.types.ts +6 -0
- package/dist/src/components/atoms/MessageInformation/index.ts +2 -0
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.d.ts +0 -1
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.js +1 -1
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.scss +44 -0
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.tsx +30 -0
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItemProps.ts +9 -0
- package/dist/src/components/atoms/MoreDocsItem/index.ts +2 -0
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.scss +60 -0
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.tsx +24 -0
- package/dist/src/components/atoms/NavMenuItem/NavMenuItemProps.ts +9 -0
- package/dist/src/components/atoms/NavMenuItem/index.ts +2 -0
- package/dist/src/components/atoms/PaypalButton/PaypalButton.scss +5 -0
- package/dist/src/components/atoms/PaypalButton/PaypalButton.tsx +15 -0
- package/dist/src/components/atoms/PaypalButton/PaypalButtonProps.types.ts +3 -0
- package/dist/src/components/atoms/PaypalButton/index.ts +2 -0
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.scss +59 -0
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.tsx +23 -0
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItemProps.ts +9 -0
- package/dist/src/components/atoms/PopularDocsItem/index.ts +2 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBar.d.ts +0 -1
- package/dist/src/components/atoms/ProgressBar/ProgressBar.js +1 -1
- package/dist/src/components/atoms/ProgressBar/ProgressBar.scss +24 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBar.tsx +17 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBarProps.types.ts +4 -0
- package/dist/src/components/atoms/ProgressBar/index.ts +2 -0
- package/dist/src/components/atoms/Radio/Radio.scss +341 -0
- package/dist/src/components/atoms/Radio/Radio.tsx +66 -0
- package/dist/src/components/atoms/Radio/RadioProps.types.ts +14 -0
- package/dist/src/components/atoms/Radio/index.ts +2 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButton.scss +43 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButton.tsx +40 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButtonProps.types.ts +16 -0
- package/dist/src/components/atoms/RemoveButton/index.ts +2 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.d.ts +0 -1
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.js +1 -1
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.scss +54 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.tsx +56 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafiaProps.types.ts +15 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/index.ts +2 -0
- package/dist/src/components/atoms/RichTextInner/RichTextInner.scss +34 -0
- package/dist/src/components/atoms/RichTextInner/RichTextInner.tsx +10 -0
- package/dist/src/components/atoms/RichTextInner/RichTextInnerProps.types.ts +6 -0
- package/dist/src/components/atoms/RichTextInner/index.ts +2 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextMedia.ts +12 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.scss +9 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.tsx +14 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapiProps.ts +9 -0
- package/dist/src/components/atoms/RichTextStrapi/index.ts +3 -0
- package/dist/src/components/atoms/RichTextStrapi/useFormattedText.tsx +31 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.d.ts +0 -1
- package/dist/src/components/atoms/SearchSelect/SearchSelect.js +1 -1
- package/dist/src/components/atoms/SearchSelect/SearchSelect.scss +222 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.tsx +100 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelectProps.types.ts +28 -0
- package/dist/src/components/atoms/SearchSelect/index.ts +2 -0
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.scss +48 -0
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.tsx +34 -0
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBoxProps.ts +5 -0
- package/dist/src/components/atoms/ShowMoreBox/index.ts +2 -0
- package/dist/src/components/atoms/SidemenuTab/SideMenuTabProps.types.ts +11 -0
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.d.ts +0 -1
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.js +1 -1
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.scss +90 -0
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.tsx +35 -0
- package/dist/src/components/atoms/SidemenuTab/index.ts +2 -0
- package/dist/src/components/atoms/Spinner/Spinner.scss +32 -0
- package/dist/src/components/atoms/Spinner/Spinner.tsx +24 -0
- package/dist/src/components/atoms/Spinner/SpinnerProps.types.ts +4 -0
- package/dist/src/components/atoms/Spinner/index.ts +2 -0
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.scss +27 -0
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.tsx +18 -0
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCardProps.types.ts +6 -0
- package/dist/src/components/atoms/StepRatafiaCard/index.ts +2 -0
- package/dist/src/components/atoms/Tag/Tag.scss +23 -0
- package/dist/src/components/atoms/Tag/Tag.tsx +13 -0
- package/dist/src/components/atoms/Tag/TagProps.ts +5 -0
- package/dist/src/components/atoms/Tag/index.ts +2 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.scss +22 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.tsx +17 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItemProps.types.ts +5 -0
- package/dist/src/components/atoms/TagRatafiaItem/index.ts +2 -0
- package/dist/src/components/atoms/Tagline/Tagline.scss +16 -0
- package/dist/src/components/atoms/Tagline/Tagline.tsx +12 -0
- package/dist/src/components/atoms/Tagline/TaglineProps.types.ts +3 -0
- package/dist/src/components/atoms/Tagline/index.ts +2 -0
- package/dist/src/components/atoms/TestAB/TestAB.tsx +29 -0
- package/dist/src/components/atoms/TextArea/TextArea.scss +103 -0
- package/dist/src/components/atoms/TextArea/TextArea.tsx +50 -0
- package/dist/src/components/atoms/TextArea/TextAreaProps.types.ts +13 -0
- package/dist/src/components/atoms/TextArea/index.ts +2 -0
- package/dist/src/components/atoms/Toggle/Toggle.scss +59 -0
- package/dist/src/components/atoms/Toggle/Toggle.tsx +24 -0
- package/dist/src/components/atoms/Toggle/ToggleProps.types.ts +5 -0
- package/dist/src/components/atoms/Toggle/index.ts +2 -0
- package/dist/src/components/atoms/Tooltip/Tooltip.scss +62 -0
- package/dist/src/components/atoms/Tooltip/Tooltip.tsx +23 -0
- package/dist/src/components/atoms/Tooltip/TooltipProps.types.ts +30 -0
- package/dist/src/components/atoms/Tooltip/index.ts +2 -0
- package/dist/src/components/atoms/TopBar/TopBar.scss +54 -0
- package/dist/src/components/atoms/TopBar/TopBar.tsx +23 -0
- package/dist/src/components/atoms/TopBar/TopBarProps.types.ts +4 -0
- package/dist/src/components/atoms/TopBar/index.ts +2 -0
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.scss +48 -0
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.tsx +19 -0
- package/dist/src/components/atoms/TopBarMobile/index.ts +1 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilot.scss +11 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilot.tsx +10 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilotProps.types.ts +3 -0
- package/dist/src/components/atoms/TrustPilot/index.ts +2 -0
- package/dist/src/components/atoms/Video/Video.tsx +26 -0
- package/dist/src/components/atoms/Video/VideoProps.types.ts +17 -0
- package/dist/src/components/atoms/Video/index.ts +2 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.scss +36 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.tsx +21 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItemsProps.types.ts +8 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/index.ts +3 -0
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.scss +32 -0
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.tsx +19 -0
- package/dist/src/components/atoms/WideInfoBar/index.ts +1 -0
- package/dist/src/components/atoms/index.ts +60 -0
- package/dist/src/components/molecules/AccordionItem/AccordionItem.scss +70 -0
- package/dist/src/components/molecules/AccordionItem/AccordionItem.tsx +54 -0
- package/dist/src/components/molecules/AccordionItem/AccordionItemProps.types.ts +9 -0
- package/dist/src/components/molecules/AccordionItem/index.ts +1 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.scss +7 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.tsx +18 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardListProps.types.ts +5 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/index.ts +2 -0
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.scss +29 -0
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.tsx +24 -0
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAsProps.types.ts +4 -0
- package/dist/src/components/molecules/AlsoKnownAs/index.ts +2 -0
- package/dist/src/components/molecules/Article/Article.scss +66 -0
- package/dist/src/components/molecules/Article/Article.tsx +22 -0
- package/dist/src/components/molecules/Article/ArticleProps.types.ts +7 -0
- package/dist/src/components/molecules/Article/index.ts +2 -0
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.scss +26 -0
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.tsx +18 -0
- package/dist/src/components/molecules/BaseBoxList/BaseBoxListProps.types.ts +6 -0
- package/dist/src/components/molecules/BaseBoxList/index.ts +2 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.scss +16 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.tsx +18 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.ts +5 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/index.ts +2 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.scss +49 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.tsx +20 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBarProps.types.ts +6 -0
- package/dist/src/components/molecules/BottomFixedBar/index.ts +2 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.d.ts +0 -1
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.js +1 -1
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.scss +93 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.tsx +73 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlayProps.types.ts +8 -0
- package/dist/src/components/molecules/BottomOverlay/index.ts +2 -0
- package/dist/src/components/molecules/BoxForm/BoxForm.scss +129 -0
- package/dist/src/components/molecules/BoxForm/BoxForm.tsx +57 -0
- package/dist/src/components/molecules/BoxForm/BoxFormProps.types.ts +13 -0
- package/dist/src/components/molecules/BoxForm/index.ts +2 -0
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.scss +3 -0
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.tsx +19 -0
- package/dist/src/components/molecules/Breadcrumb/BreadcrumbProps.types.ts +3 -0
- package/dist/src/components/molecules/Breadcrumb/index.ts +2 -0
- package/dist/src/components/molecules/ContactBox/ContactBox.scss +57 -0
- package/dist/src/components/molecules/ContactBox/ContactBox.tsx +35 -0
- package/dist/src/components/molecules/ContactBox/ContactBoxProps.types.ts +9 -0
- package/dist/src/components/molecules/ContactBox/index.ts +2 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.scss +42 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.tsx +36 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBannerProps.types.ts +21 -0
- package/dist/src/components/molecules/ContinueEditingBanner/index.ts +2 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.scss +37 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.tsx +53 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessageProps.types.ts +6 -0
- package/dist/src/components/molecules/CountDownMessage/index.ts +2 -0
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.scss +35 -0
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.tsx +21 -0
- package/dist/src/components/molecules/EmailContactBox/EmailContactBoxProps.ts +4 -0
- package/dist/src/components/molecules/EmailContactBox/index.ts +2 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.scss +13 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.tsx +23 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardListProps.types.ts +5 -0
- package/dist/src/components/molecules/ExpertCardList/index.ts +2 -0
- package/dist/src/components/molecules/FaqItem/FaqItem.scss +58 -0
- package/dist/src/components/molecules/FaqItem/FaqItem.tsx +42 -0
- package/dist/src/components/molecules/FaqItem/FaqItemProps.ts +9 -0
- package/dist/src/components/molecules/FaqItem/index.ts +2 -0
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.scss +8 -0
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.tsx +18 -0
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardListProps.types.ts +6 -0
- package/dist/src/components/molecules/FeatureRatafiaCardList/index.ts +2 -0
- package/dist/src/components/molecules/Feedback/Feedback.scss +109 -0
- package/dist/src/components/molecules/Feedback/Feedback.tsx +94 -0
- package/dist/src/components/molecules/Feedback/FeedbackProps.types.ts +16 -0
- package/dist/src/components/molecules/Feedback/index.ts +2 -0
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.scss +110 -0
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.tsx +54 -0
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.types.ts +7 -0
- package/dist/src/components/molecules/FreeDocModalContent/index.ts +2 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.scss +31 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.tsx +26 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafiaProps.types.ts +8 -0
- package/dist/src/components/molecules/HeaderRatafia/index.ts +2 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.scss +21 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.tsx +21 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafiaProps.types.ts +5 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/index.ts +2 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.scss +32 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +22 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSectionProps.types.ts +7 -0
- package/dist/src/components/molecules/MenuItemsSection/index.ts +2 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.scss +29 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.tsx +31 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContentProps.types.ts +7 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/index.ts +2 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.scss +69 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.tsx +41 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSampleProps.types.ts +3 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/index.ts +2 -0
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.scss +74 -0
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.tsx +34 -0
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktopProps.ts +6 -0
- package/dist/src/components/molecules/MoreDocsDesktop/index.ts +2 -0
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.d.ts +0 -1
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.js +1 -1
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.scss +71 -0
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.tsx +47 -0
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobileProps.ts +6 -0
- package/dist/src/components/molecules/MoreDocsMobile/index.ts +2 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.scss +33 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +96 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDownProps.types.ts +13 -0
- package/dist/src/components/molecules/NavBarDropDown/index.ts +2 -0
- package/dist/src/components/molecules/Pagination/PageStepControl.tsx +38 -0
- package/dist/src/components/molecules/Pagination/PageStepControlProps.types.ts +8 -0
- package/dist/src/components/molecules/Pagination/PageSteps.tsx +80 -0
- package/dist/src/components/molecules/Pagination/Pagination.scss +62 -0
- package/dist/src/components/molecules/Pagination/Pagination.tsx +42 -0
- package/dist/src/components/molecules/Pagination/PaginationProps.types.ts +7 -0
- package/dist/src/components/molecules/Pagination/index.ts +2 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.scss +60 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.tsx +23 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktopProps.types.ts +4 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/index.ts +2 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.scss +33 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.tsx +25 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobileProps.types.ts +4 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/index.ts +2 -0
- package/dist/src/components/molecules/PopularDocs/PopularDocs.scss +34 -0
- package/dist/src/components/molecules/PopularDocs/PopularDocs.tsx +18 -0
- package/dist/src/components/molecules/PopularDocs/PopularDocsProps.ts +6 -0
- package/dist/src/components/molecules/PopularDocs/index.ts +2 -0
- package/dist/src/components/molecules/PricingCard/PricingCard.scss +186 -0
- package/dist/src/components/molecules/PricingCard/PricingCard.tsx +126 -0
- package/dist/src/components/molecules/PricingCard/PricingCardProps.types.ts +17 -0
- package/dist/src/components/molecules/PricingCard/index.ts +2 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.scss +135 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.tsx +81 -0
- package/dist/src/components/molecules/Snackbar/SnackbarProps.types.ts +15 -0
- package/dist/src/components/molecules/Snackbar/index.ts +2 -0
- package/dist/src/components/molecules/StepGetForm/StepGetForm.scss +105 -0
- package/dist/src/components/molecules/StepGetForm/StepGetForm.tsx +18 -0
- package/dist/src/components/molecules/StepGetForm/StepGetFormProps.types.ts +6 -0
- package/dist/src/components/molecules/StepGetForm/index.ts +2 -0
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.scss +18 -0
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.tsx +18 -0
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardListProps.types.ts +5 -0
- package/dist/src/components/molecules/StepRatafiaCardList/index.ts +2 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.scss +5 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.tsx +18 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaListProps.types.ts +5 -0
- package/dist/src/components/molecules/TagsRatafiaList/index.ts +2 -0
- package/dist/src/components/molecules/TextInput/Input.tsx +74 -0
- package/dist/src/components/molecules/TextInput/TextInput.scss +176 -0
- package/dist/src/components/molecules/TextInput/TextInput.tsx +114 -0
- package/dist/src/components/molecules/TextInput/TextInputLabel.d.ts +0 -1
- package/dist/src/components/molecules/TextInput/TextInputLabel.js +0 -1
- package/dist/src/components/molecules/TextInput/TextInputLabel.tsx +26 -0
- package/dist/src/components/molecules/TextInput/TextInputMessage.tsx +22 -0
- package/dist/src/components/molecules/TextInput/TextInputProps.types.ts +24 -0
- package/dist/src/components/molecules/TextInput/TextInputTooltip.tsx +11 -0
- package/dist/src/components/molecules/TextInput/index.ts +2 -0
- package/dist/src/components/molecules/TextInput/stories/TextInput.stories.tsx +125 -0
- package/dist/src/components/molecules/TextInput/tests/Input.test.tsx +45 -0
- package/dist/src/components/molecules/TextInput/tests/TextInput.test.tsx +68 -0
- package/dist/src/components/molecules/TextInput/tests/TextInputLabel.test.tsx +41 -0
- package/dist/src/components/molecules/TextInput/tests/TextInputMessage.test.tsx +27 -0
- package/dist/src/components/molecules/TextInput/tests/TextInputTooltip.test.tsx +22 -0
- package/dist/src/components/molecules/TooltipMenu/TooltipMenu.scss +40 -0
- package/dist/src/components/molecules/TooltipMenu/TooltipMenu.tsx +23 -0
- package/dist/src/components/molecules/TooltipMenu/TooltipMenuProps.types.ts +9 -0
- package/dist/src/components/molecules/TooltipMenu/index.ts +2 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.scss +12 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.tsx +18 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsitesProps.types.ts +8 -0
- package/dist/src/components/molecules/TrustworthyWebsites/index.ts +2 -0
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.scss +108 -0
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.tsx +45 -0
- package/dist/src/components/molecules/TypeModulesList/TypeModulesListProps.types.ts +16 -0
- package/dist/src/components/molecules/TypeModulesList/index.ts +2 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.scss +63 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.tsx +40 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZoneProps.types.ts +19 -0
- package/dist/src/components/molecules/UploadRatafiaZone/index.ts +2 -0
- package/dist/src/components/molecules/index.ts +41 -0
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.scss +58 -0
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.tsx +23 -0
- package/dist/src/components/organisms/AboutUsContent/AboutUsContentProps.types.ts +7 -0
- package/dist/src/components/organisms/AboutUsContent/index.ts +2 -0
- package/dist/src/components/organisms/Accordion/Accordion.context.tsx +124 -0
- package/dist/src/components/organisms/Accordion/Accordion.scss +4 -0
- package/dist/src/components/organisms/Accordion/Accordion.tsx +36 -0
- package/dist/src/components/organisms/Accordion/AccordionProps.types.ts +12 -0
- package/dist/src/components/organisms/Accordion/index.ts +2 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesList.scss +12 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +19 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.ts +5 -0
- package/dist/src/components/organisms/ArticlesList/index.ts +2 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.scss +22 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.tsx +21 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContentProps.types.ts +6 -0
- package/dist/src/components/organisms/AsSeeInContent/index.ts +2 -0
- package/dist/src/components/organisms/CardFuncionality/CardFuncionality.scss +60 -0
- package/dist/src/components/organisms/CardFuncionality/CardFuncionality.tsx +29 -0
- package/dist/src/components/organisms/CardFuncionality/CardFuncionalityProps.ts +9 -0
- package/dist/src/components/organisms/CardFuncionality/index.ts +2 -0
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.scss +45 -0
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.tsx +32 -0
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotronProps.types.ts +11 -0
- package/dist/src/components/organisms/ContactJumbotron/index.ts +2 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.scss +54 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.tsx +23 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBarProps.ts +4 -0
- package/dist/src/components/organisms/CookiePolicyBar/index.ts +2 -0
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.scss +18 -0
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.tsx +13 -0
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafiaProps.types.ts +4 -0
- package/dist/src/components/organisms/ErrorContentRatafia/index.ts +2 -0
- package/dist/src/components/organisms/FaqGroup/FaqGroup.scss +22 -0
- package/dist/src/components/organisms/FaqGroup/FaqGroup.tsx +21 -0
- package/dist/src/components/organisms/FaqGroup/FaqGroupProps.ts +10 -0
- package/dist/src/components/organisms/FaqGroup/index.ts +2 -0
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.scss +28 -0
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.tsx +30 -0
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContentProps.types.ts +8 -0
- package/dist/src/components/organisms/FeaturesRatafiaContent/index.ts +2 -0
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.scss +70 -0
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +20 -0
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContentProps.types.ts +5 -0
- package/dist/src/components/organisms/GuidelinesContent/index.ts +2 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.scss +28 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.tsx +19 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContentProps.types.ts +7 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/index.ts +2 -0
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.scss +146 -0
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.tsx +46 -0
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafiaProps.types.ts +5 -0
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/index.ts +2 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.scss +23 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.tsx +20 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafiaProps.types.ts +11 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/index.ts +3 -0
- package/dist/src/components/organisms/LanguageSelector/LanguageSelector.tsx +53 -0
- package/dist/src/components/organisms/LanguageSelector/LanguageSelectorProps.ts +6 -0
- package/dist/src/components/organisms/LanguageSelector/LenguageSelectorItem.ts +6 -0
- package/dist/src/components/organisms/LanguageSelector/index.ts +6 -0
- package/dist/src/components/organisms/LanguageSelector/useLanguageOptions.tsx +18 -0
- package/dist/src/components/organisms/LanguageSelector/useLanguageSelected.tsx +18 -0
- package/dist/src/components/organisms/LanguageSelector/useLanguagesSelector.tsx +31 -0
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.scss +65 -0
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.tsx +67 -0
- package/dist/src/components/organisms/LanguageSelectorMobile/index.ts +1 -0
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.scss +93 -0
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.tsx +25 -0
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafiaProps.types.ts +9 -0
- package/dist/src/components/organisms/LayoutRatafia/index.ts +2 -0
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.d.ts +0 -1
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.js +1 -1
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.scss +35 -0
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.tsx +23 -0
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetFormProps.types.ts +5 -0
- package/dist/src/components/organisms/ListStepsGetForm/index.ts +2 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.d.ts +0 -1
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.js +1 -1
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.scss +16 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.tsx +18 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContentProps.types.ts +8 -0
- package/dist/src/components/organisms/LoginRatafiaContent/index.ts +2 -0
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.d.ts +0 -1
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.js +1 -1
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.scss +46 -0
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.tsx +34 -0
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.ts +5 -0
- package/dist/src/components/organisms/MobileBottomBar/index.ts +2 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.d.ts +0 -1
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.js +1 -1
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.scss +12 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.tsx +16 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContentProps.types.ts +6 -0
- package/dist/src/components/organisms/StepsRatafiaContent/index.ts +2 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.d.ts +0 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +1 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss +49 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +19 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +5 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.ts +2 -0
- package/dist/src/components/organisms/index.ts +22 -0
- package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +43 -0
- package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +20 -0
- package/dist/src/components/pages/AboutUsPage/index.ts +2 -0
- package/dist/src/components/pages/ContactUsPage/ContactUsPage.tsx +20 -0
- package/dist/src/components/pages/ContactUsPage/ContactUsPageProps.ts +9 -0
- package/dist/src/components/pages/ContactUsPage/index.ts +2 -0
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.scss +32 -0
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.tsx +68 -0
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPageProps.types.ts +18 -0
- package/dist/src/components/pages/ErrorRatafiaPage/index.ts +2 -0
- package/dist/src/components/pages/FaqsPage/FaqsPage.d.ts +0 -1
- package/dist/src/components/pages/FaqsPage/FaqsPage.js +1 -1
- package/dist/src/components/pages/FaqsPage/FaqsPage.scss +61 -0
- package/dist/src/components/pages/FaqsPage/FaqsPage.tsx +20 -0
- package/dist/src/components/pages/FaqsPage/FaqsPageProps.ts +8 -0
- package/dist/src/components/pages/FaqsPage/index.ts +2 -0
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.scss +23 -0
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.tsx +74 -0
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPageProps.types.ts +20 -0
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/index.ts +2 -0
- package/dist/src/components/pages/LegalPage/LegalPage.tsx +14 -0
- package/dist/src/components/pages/LegalPage/LegalPageProps.ts +7 -0
- package/dist/src/components/pages/LegalPage/index.ts +2 -0
- package/dist/src/components/pages/LoginRatafiaPage/LoginPageRatafia.scss +23 -0
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.tsx +73 -0
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPageProps.ts +23 -0
- package/dist/src/components/pages/LoginRatafiaPage/index.ts +2 -0
- package/dist/src/components/pages/RatafiaLandingPage/RatafiaLandingPage.tsx +42 -0
- package/dist/src/components/pages/RatafiaLandingPage/RatafiaLandingPageProps.types.ts +20 -0
- package/dist/src/components/pages/RatafiaLandingPage/index.ts +2 -0
- package/dist/src/components/pages/UnsubscribePage/UnsubscribePage.tsx +14 -0
- package/dist/src/components/pages/UnsubscribePage/UnsubscribePageProps.ts +7 -0
- package/dist/src/components/pages/UnsubscribePage/index.ts +2 -0
- package/dist/src/components/pages/index.ts +9 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.scss +52 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +24 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.ts +7 -0
- package/dist/src/components/sections/AboutUsSection/index.ts +2 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +33 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.tsx +22 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.ts +6 -0
- package/dist/src/components/sections/AsSeeInSection/index.ts +2 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.scss +50 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.tsx +26 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSectionProps.ts +9 -0
- package/dist/src/components/sections/AsideMenuSection/index.ts +2 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.scss +57 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.tsx +25 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.ts +7 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/index.ts +2 -0
- package/dist/src/components/sections/BlogSection/BlogSection.scss +33 -0
- package/dist/src/components/sections/BlogSection/BlogSection.tsx +20 -0
- package/dist/src/components/sections/BlogSection/BlogSectionProps.types.ts +7 -0
- package/dist/src/components/sections/BlogSection/index.ts +2 -0
- package/dist/src/components/sections/ContactSection/ContactSection.scss +90 -0
- package/dist/src/components/sections/ContactSection/ContactSection.tsx +25 -0
- package/dist/src/components/sections/ContactSection/ContactSectionProps.ts +7 -0
- package/dist/src/components/sections/ContactSection/index.ts +2 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.scss +26 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.tsx +20 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSectionProps.types.ts +6 -0
- package/dist/src/components/sections/ExpertsSection/index.ts +2 -0
- package/dist/src/components/sections/FaqSection/FaqSection.scss +31 -0
- package/dist/src/components/sections/FaqSection/FaqSection.tsx +18 -0
- package/dist/src/components/sections/FaqSection/FaqSectionProps.ts +6 -0
- package/dist/src/components/sections/FaqSection/index.ts +2 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.scss +57 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.tsx +25 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSectionProps.types.ts +6 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/index.ts +2 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.scss +11 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.tsx +17 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSectionProps.types.ts +5 -0
- package/dist/src/components/sections/GuidelinesSection/index.ts +2 -0
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.scss +26 -0
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +25 -0
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSectionProps.types.ts +7 -0
- package/dist/src/components/sections/HowGetYourFormsSection/index.ts +2 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.scss +41 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.tsx +18 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSectionProps.types.ts +6 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/index.ts +2 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.scss +41 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.tsx +22 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSectionProps.types.ts +10 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/index.ts +2 -0
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.scss +107 -0
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.tsx +24 -0
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSectionProps.types.ts +6 -0
- package/dist/src/components/sections/LearnMoreSection/index.ts +2 -0
- package/dist/src/components/sections/LegalSection/LegalSection.scss +120 -0
- package/dist/src/components/sections/LegalSection/LegalSection.tsx +15 -0
- package/dist/src/components/sections/LegalSection/LegalSectionProps.ts +5 -0
- package/dist/src/components/sections/LegalSection/index.ts +2 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.scss +47 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.tsx +33 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSectionProps.types.ts +8 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/index.ts +2 -0
- package/dist/src/components/sections/MoreDocsSection/MoreDocsSection.tsx +24 -0
- package/dist/src/components/sections/MoreDocsSection/MoreDocsSectionProps.ts +6 -0
- package/dist/src/components/sections/MoreDocsSection/index.ts +2 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.scss +17 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.tsx +16 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSectionProps.types.ts +6 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/index.ts +2 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.scss +53 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.tsx +24 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSectionProps.types.ts +7 -0
- package/dist/src/components/sections/StepsRatafiaSection/index.ts +2 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.scss +69 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.tsx +22 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSectionProps.types.ts +5 -0
- package/dist/src/components/sections/TryItRatafiaSection/index.ts +2 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.scss +11 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +17 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSectionProps.types.ts +5 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/index.ts +2 -0
- package/dist/src/components/sections/TryUsSection/TryUsSection.scss +24 -0
- package/dist/src/components/sections/TryUsSection/TryUsSection.tsx +14 -0
- package/dist/src/components/sections/TryUsSection/TryUsSectionProps.ts +8 -0
- package/dist/src/components/sections/TryUsSection/index.ts +2 -0
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.scss +62 -0
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.tsx +15 -0
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSectionProps.ts +5 -0
- package/dist/src/components/sections/UnsubscribeSection/index.ts +2 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.scss +36 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.tsx +32 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSectionProps.types.ts +13 -0
- package/dist/src/components/sections/WhyLawDistrictSection/index.ts +2 -0
- package/dist/src/components/sections/index.ts +24 -0
- package/dist/src/custom.d.ts +13 -0
- package/dist/src/globalStyles/animations.scss +75 -0
- package/dist/src/globalStyles/base.scss +74 -0
- package/dist/src/globalStyles/functions.scss +23 -0
- package/dist/src/globalStyles/layout.scss +77 -0
- package/dist/src/globalStyles/mediaqueries.scss +43 -0
- package/dist/src/globalStyles/reset.scss +68 -0
- package/dist/src/globalStyles/styles.scss +161 -0
- package/dist/src/globalStyles/themes.scss +271 -0
- package/dist/src/globalStyles/typography.scss +108 -0
- package/dist/src/globalStyles/variables.scss +84 -0
- package/dist/src/hooks/index.ts +2 -0
- package/dist/src/hooks/useIntersectionObserver.tsx +31 -0
- package/dist/src/hooks/useIsMobileOrTable.tsx +41 -0
- package/dist/src/index.ts +3 -0
- package/dist/src/styles/stories.scss +67 -0
- package/dist/src/utils/ProductCategory.ts +7 -0
- package/dist/src/utils/getCategoryIcons.tsx +41 -0
- package/dist/src/utils/getDateFormatMMMMYYYY.ts +3 -0
- package/dist/src/utils/getGatsbyImageSkeleton.tsx +19 -0
- package/dist/src/utils/getRichTextSkeleton.tsx +5 -0
- package/dist/src/utils/index.d.ts +7 -0
- package/dist/src/utils/index.js +7 -0
- package/dist/src/utils/index.ts +7 -0
- package/dist/src/utils/replaceAll.ts +7 -0
- package/dist/src/utils/stringSlugify.ts +3 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +7 -3
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
html {
|
|
2
|
+
--primary-main-light-6: #eff7f5;
|
|
3
|
+
--primary-main-light-5: #e4f8f3;
|
|
4
|
+
--primary-main-light-4: #c0f7e8;
|
|
5
|
+
--primary-main-light-3: #5dd8c3;
|
|
6
|
+
--primary-main-light-2: #34b2a7;
|
|
7
|
+
--primary-main-light-1: #05646e;
|
|
8
|
+
--primary-main: #078080;
|
|
9
|
+
--primary-main-dark-1: #02374a;
|
|
10
|
+
--primary-main-dark-1-rgb: 2, 55, 74;
|
|
11
|
+
--primary-main-dark-2: #032a38;
|
|
12
|
+
--secondary-main-light-5: #fcf9f5;
|
|
13
|
+
--secondary-main-light-4: #fcf4e5;
|
|
14
|
+
--secondary-main-light-3: #f7e8cf;
|
|
15
|
+
--secondary-main-light-2: #f5dab0;
|
|
16
|
+
--secondary-main-light-1: #f4cc8c;
|
|
17
|
+
--secondary-main: #f2bd6a;
|
|
18
|
+
--secondary-main-dark-1: #cd9a4c;
|
|
19
|
+
--secondary-main-dark-2: #936c2f;
|
|
20
|
+
--neutral-main: #1e2021;
|
|
21
|
+
--neutral-neutral-1: #3d4042;
|
|
22
|
+
--neutral-neutral-2: #6d7275;
|
|
23
|
+
--neutral-neutral-3: #b5babd;
|
|
24
|
+
--neutral-neutral-4: #dbe1e5;
|
|
25
|
+
--neutral-neutral-5: #f3f7fa;
|
|
26
|
+
--neutral-neutral-6: #f8f9fa;
|
|
27
|
+
--error-main: #d63737;
|
|
28
|
+
--error-error-2: #f09d9e;
|
|
29
|
+
--error-error-3: #ffecef;
|
|
30
|
+
--others-white: #fff;
|
|
31
|
+
--others-disabled: #6b7280;
|
|
32
|
+
--others-black: #000;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
html[data-theme='districtlaws'] {
|
|
36
|
+
--primary-main-light-6: #fff5ee;
|
|
37
|
+
--primary-main-light-5: #ffe1cc;
|
|
38
|
+
--primary-main-light-4: #ffc59b;
|
|
39
|
+
--primary-main-light-3: #ffa05c;
|
|
40
|
+
--primary-main-light-2: #ff862e;
|
|
41
|
+
--primary-main-light-1: #c95500;
|
|
42
|
+
--primary-main: #f26600;
|
|
43
|
+
--primary-main-dark-1: #4f2100;
|
|
44
|
+
--primary-main-dark-1-rgb: 79, 33, 0;
|
|
45
|
+
--primary-main-dark-2: #220f00;
|
|
46
|
+
--secondary-main-light-5: #eff7f5;
|
|
47
|
+
--secondary-main-light-4: #e4f8f3;
|
|
48
|
+
--secondary-main-light-3: #c0f7e8;
|
|
49
|
+
--secondary-main-light-2: #5dd8c3;
|
|
50
|
+
--secondary-main-light-1: #34b2a7;
|
|
51
|
+
--secondary-main: #078080;
|
|
52
|
+
--secondary-main-dark-1: #05646e;
|
|
53
|
+
--secondary-main-dark-2: #02374a;
|
|
54
|
+
--neutral-main: #1e2021;
|
|
55
|
+
--neutral-neutral-1: #3d4042;
|
|
56
|
+
--neutral-neutral-2: #6b6e6f;
|
|
57
|
+
--neutral-neutral-3: #cacaca;
|
|
58
|
+
--neutral-neutral-4: #e1e1e1;
|
|
59
|
+
--neutral-neutral-5: #f4f4f4;
|
|
60
|
+
--neutral-neutral-6: #f8f9fa;
|
|
61
|
+
--error-main: #d63737;
|
|
62
|
+
--error-error-2: #f09d9e;
|
|
63
|
+
--error-error-3: #ffecef;
|
|
64
|
+
--others-white: #fff;
|
|
65
|
+
--others-disabled: #6b7280;
|
|
66
|
+
--others-black: #000;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
html[data-theme='lawdistricts'] {
|
|
70
|
+
--primary-main-light-6: #f9f9ff;
|
|
71
|
+
--primary-main-light-5: #eceeff;
|
|
72
|
+
--primary-main-light-4: #c3c9ff;
|
|
73
|
+
--primary-main-light-3: #9aa4ff;
|
|
74
|
+
--primary-main-light-2: #717fff;
|
|
75
|
+
--primary-main-light-1: #1725a6;
|
|
76
|
+
--primary-main: #485aff;
|
|
77
|
+
--primary-main-dark-1: #050e5a;
|
|
78
|
+
--primary-main-dark-1-rgb: 5, 14, 90;
|
|
79
|
+
--primary-main-dark-2: #000533;
|
|
80
|
+
--secondary-main-light-5: #eff7f5;
|
|
81
|
+
--secondary-main-light-4: #e4f8f3;
|
|
82
|
+
--secondary-main-light-3: #c0f7e8;
|
|
83
|
+
--secondary-main-light-2: #5dd8c3;
|
|
84
|
+
--secondary-main-light-1: #34b2a7;
|
|
85
|
+
--secondary-main: #078080;
|
|
86
|
+
--secondary-main-dark-1: #05646e;
|
|
87
|
+
--secondary-main-dark-2: #02374a;
|
|
88
|
+
--neutral-main: #1e2021;
|
|
89
|
+
--neutral-neutral-1: #3d4042;
|
|
90
|
+
--neutral-neutral-2: #6b6e6f;
|
|
91
|
+
--neutral-neutral-3: #cacaca;
|
|
92
|
+
--neutral-neutral-4: #e1e1e1;
|
|
93
|
+
--neutral-neutral-5: #f4f4f4;
|
|
94
|
+
--neutral-neutral-6: #f8f9fa;
|
|
95
|
+
--error-main: #d63737;
|
|
96
|
+
--error-error-2: #f09d9e;
|
|
97
|
+
--error-error-3: #ffecef;
|
|
98
|
+
--others-white: #fff;
|
|
99
|
+
--others-disabled: #6b7280;
|
|
100
|
+
--others-black: #000;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
html[data-theme='lawdistrict'] {
|
|
104
|
+
--primary-main-light-6: #eff7f5;
|
|
105
|
+
--primary-main-light-5: #e4f8f3;
|
|
106
|
+
--primary-main-light-4: #c0f7e8;
|
|
107
|
+
--primary-main-light-3: #5dd8c3;
|
|
108
|
+
--primary-main-light-2: #34b2a7;
|
|
109
|
+
--primary-main-light-1: #05646e;
|
|
110
|
+
--primary-main: #078080;
|
|
111
|
+
--primary-main-dark-1: #02374a;
|
|
112
|
+
--primary-main-dark-1-rgb: 2, 55, 74;
|
|
113
|
+
--primary-main-dark-2: #032a38;
|
|
114
|
+
--secondary-main-light-5: #fcf9f5;
|
|
115
|
+
--secondary-main-light-4: #fcf4e5;
|
|
116
|
+
--secondary-main-light-3: #f7e8cf;
|
|
117
|
+
--secondary-main-light-2: #f5dab0;
|
|
118
|
+
--secondary-main-light-1: #f4cc8c;
|
|
119
|
+
--secondary-main: #f2bd6a;
|
|
120
|
+
--secondary-main-dark-1: #cd9a4c;
|
|
121
|
+
--secondary-main-dark-2: #936c2f;
|
|
122
|
+
--neutral-main: #1e2021;
|
|
123
|
+
--neutral-neutral-1: #3d4042;
|
|
124
|
+
--neutral-neutral-2: #6d7275;
|
|
125
|
+
--neutral-neutral-3: #b5babd;
|
|
126
|
+
--neutral-neutral-4: #dbe1e5;
|
|
127
|
+
--neutral-neutral-5: #f3f7fa;
|
|
128
|
+
--neutral-neutral-6: #f8f9fa;
|
|
129
|
+
--error-main: #d63737;
|
|
130
|
+
--error-error-2: #f09d9e;
|
|
131
|
+
--error-error-3: #ffecef;
|
|
132
|
+
--others-white: #fff;
|
|
133
|
+
--others-disabled: #6b7280;
|
|
134
|
+
--others-black: #000;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
html[data-theme='lawsdistrict'] {
|
|
138
|
+
--primary-main-light-6: #f9f5ff;
|
|
139
|
+
--primary-main-light-5: #e3d1ff;
|
|
140
|
+
--primary-main-light-4: #b68aff;
|
|
141
|
+
--primary-main-light-3: #a56dff;
|
|
142
|
+
--primary-main-light-2: #9e63ff;
|
|
143
|
+
--primary-main-light-1: #320085;
|
|
144
|
+
--primary-main: #7d2eff;
|
|
145
|
+
--primary-main-dark-1: #23005c;
|
|
146
|
+
--primary-main-dark-1-rgb: 35, 0, 92;
|
|
147
|
+
--primary-main-dark-2: #11002d;
|
|
148
|
+
--secondary-main-light-5: #eff7f5;
|
|
149
|
+
--secondary-main-light-4: #e4f8f3;
|
|
150
|
+
--secondary-main-light-3: #c0f7e8;
|
|
151
|
+
--secondary-main-light-2: #5dd8c3;
|
|
152
|
+
--secondary-main-light-1: #34b2a7;
|
|
153
|
+
--secondary-main: #078080;
|
|
154
|
+
--secondary-main-dark-1: #05646e;
|
|
155
|
+
--secondary-main-dark-2: #02374a;
|
|
156
|
+
--neutral-main: #1e2021;
|
|
157
|
+
--neutral-neutral-1: #3d4042;
|
|
158
|
+
--neutral-neutral-2: #6b6e6f;
|
|
159
|
+
--neutral-neutral-3: #cacaca;
|
|
160
|
+
--neutral-neutral-4: #e1e1e1;
|
|
161
|
+
--neutral-neutral-5: #f4f4f4;
|
|
162
|
+
--neutral-neutral-6: #f8f9fa;
|
|
163
|
+
--error-main: #d63737;
|
|
164
|
+
--error-error-2: #f09d9e;
|
|
165
|
+
--error-error-3: #ffecef;
|
|
166
|
+
--others-white: #fff;
|
|
167
|
+
--others-disabled: #6b7280;
|
|
168
|
+
--others-black: #000;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
html[data-theme='lawdistrictinfo'] {
|
|
172
|
+
--primary-main-light-6: #f1fff7;
|
|
173
|
+
--primary-main-light-5: #d5ffe6;
|
|
174
|
+
--primary-main-light-4: #6affa5;
|
|
175
|
+
--primary-main-light-3: #16ff73;
|
|
176
|
+
--primary-main-light-2: #00df59;
|
|
177
|
+
--primary-main-light-1: #008e39;
|
|
178
|
+
--primary-main: #00b649;
|
|
179
|
+
--primary-main-dark-1: #003c18;
|
|
180
|
+
--primary-main-dark-1-rgb: 0, 60, 24;
|
|
181
|
+
--primary-main-dark-2: #001709;
|
|
182
|
+
--secondary-main-light-5: #eff7f5;
|
|
183
|
+
--secondary-main-light-4: #e4f8f3;
|
|
184
|
+
--secondary-main-light-3: #c0f7e8;
|
|
185
|
+
--secondary-main-light-2: #5dd8c3;
|
|
186
|
+
--secondary-main-light-1: #34b2a7;
|
|
187
|
+
--secondary-main: #078080;
|
|
188
|
+
--secondary-main-dark-1: #05646e;
|
|
189
|
+
--secondary-main-dark-2: #02374a;
|
|
190
|
+
--neutral-main: #1e2021;
|
|
191
|
+
--neutral-neutral-1: #3d4042;
|
|
192
|
+
--neutral-neutral-2: #6b6e6f;
|
|
193
|
+
--neutral-neutral-3: #cacaca;
|
|
194
|
+
--neutral-neutral-4: #e1e1e1;
|
|
195
|
+
--neutral-neutral-5: #f4f4f4;
|
|
196
|
+
--neutral-neutral-6: #f8f9fa;
|
|
197
|
+
--error-main: #d63737;
|
|
198
|
+
--error-error-2: #f09d9e;
|
|
199
|
+
--error-error-3: #ffecef;
|
|
200
|
+
--others-white: #fff;
|
|
201
|
+
--others-disabled: #6b7280;
|
|
202
|
+
--others-black: #000;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
html[data-theme='uslawdistrict'] {
|
|
206
|
+
--primary-main-light-6: #fffbf2;
|
|
207
|
+
--primary-main-light-5: #fff6e5;
|
|
208
|
+
--primary-main-light-4: #ffe6b7;
|
|
209
|
+
--primary-main-light-3: #ffc75c;
|
|
210
|
+
--primary-main-light-2: #ffa800;
|
|
211
|
+
--primary-main-light-1: #855800;
|
|
212
|
+
--primary-main: #d68d00;
|
|
213
|
+
--primary-main-dark-1: #3d2800;
|
|
214
|
+
--primary-main-dark-1-rgb: 61, 40, 0;
|
|
215
|
+
--primary-main-dark-2: #231700;
|
|
216
|
+
--secondary-main-light-5: #eff7f5;
|
|
217
|
+
--secondary-main-light-4: #e4f8f3;
|
|
218
|
+
--secondary-main-light-3: #c0f7e8;
|
|
219
|
+
--secondary-main-light-2: #5dd8c3;
|
|
220
|
+
--secondary-main-light-1: #34b2a7;
|
|
221
|
+
--secondary-main: #078080;
|
|
222
|
+
--secondary-main-dark-1: #05646e;
|
|
223
|
+
--secondary-main-dark-2: #02374a;
|
|
224
|
+
--neutral-main: #1e2021;
|
|
225
|
+
--neutral-neutral-1: #3d4042;
|
|
226
|
+
--neutral-neutral-2: #6b6e6f;
|
|
227
|
+
--neutral-neutral-3: #cacaca;
|
|
228
|
+
--neutral-neutral-4: #e1e1e1;
|
|
229
|
+
--neutral-neutral-5: #f4f4f4;
|
|
230
|
+
--neutral-neutral-6: #f8f9fa;
|
|
231
|
+
--error-main: #d63737;
|
|
232
|
+
--error-error-2: #f09d9e;
|
|
233
|
+
--error-error-3: #ffecef;
|
|
234
|
+
--others-white: #fff;
|
|
235
|
+
--others-disabled: #6b7280;
|
|
236
|
+
--others-black: #000;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
html[data-theme='lawdistrictonline'] {
|
|
240
|
+
--primary-main-light-6: #f9ffea;
|
|
241
|
+
--primary-main-light-5: #f0ffc4;
|
|
242
|
+
--primary-main-light-4: #e6ff9f;
|
|
243
|
+
--primary-main-light-3: #c9ff2f;
|
|
244
|
+
--primary-main-light-2: #b1e815;
|
|
245
|
+
--primary-main-light-1: #6f9600;
|
|
246
|
+
--primary-main: #8ebf00;
|
|
247
|
+
--primary-main-dark-1: #384c00;
|
|
248
|
+
--primary-main-dark-1-rgb: 56, 76, 0;
|
|
249
|
+
--primary-main-dark-2: #192101;
|
|
250
|
+
--secondary-main-light-5: #eff7f5;
|
|
251
|
+
--secondary-main-light-4: #e4f8f3;
|
|
252
|
+
--secondary-main-light-3: #c0f7e8;
|
|
253
|
+
--secondary-main-light-2: #5dd8c3;
|
|
254
|
+
--secondary-main-light-1: #34b2a7;
|
|
255
|
+
--secondary-main: #078080;
|
|
256
|
+
--secondary-main-dark-1: #05646e;
|
|
257
|
+
--secondary-main-dark-2: #02374a;
|
|
258
|
+
--neutral-main: #1e2021;
|
|
259
|
+
--neutral-neutral-1: #3d4042;
|
|
260
|
+
--neutral-neutral-2: #6b6e6f;
|
|
261
|
+
--neutral-neutral-3: #cacaca;
|
|
262
|
+
--neutral-neutral-4: #e1e1e1;
|
|
263
|
+
--neutral-neutral-5: #f4f4f4;
|
|
264
|
+
--neutral-neutral-6: #f8f9fa;
|
|
265
|
+
--error-main: #d63737;
|
|
266
|
+
--error-error-2: #f09d9e;
|
|
267
|
+
--error-error-3: #ffecef;
|
|
268
|
+
--others-white: #fff;
|
|
269
|
+
--others-disabled: #6b7280;
|
|
270
|
+
--others-black: #000;
|
|
271
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
@import 'variables';
|
|
2
|
+
@import 'mediaqueries';
|
|
3
|
+
|
|
4
|
+
.sans-serif {
|
|
5
|
+
letter-spacing: -0.3px;
|
|
6
|
+
font-weight: normal;
|
|
7
|
+
|
|
8
|
+
&.--super-hero {
|
|
9
|
+
font-size: 3rem;
|
|
10
|
+
line-height: 3.375rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&.--hero {
|
|
14
|
+
font-size: 2.25rem;
|
|
15
|
+
line-height: 2.5rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.--extra-large {
|
|
19
|
+
font-size: 2rem;
|
|
20
|
+
line-height: 2.25rem;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.--super-large {
|
|
24
|
+
font-size: 1.75rem;
|
|
25
|
+
line-height: 2rem;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.--large {
|
|
29
|
+
font-size: 1.5rem;
|
|
30
|
+
line-height: 1.875rem;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.--big {
|
|
34
|
+
font-size: 1.125rem;
|
|
35
|
+
line-height: 1.5rem;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.--medium {
|
|
39
|
+
font-size: 1rem;
|
|
40
|
+
line-height: 1.375rem;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&.--small {
|
|
44
|
+
font-size: 0.875rem;
|
|
45
|
+
line-height: 1.125rem;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&.--extra-small {
|
|
49
|
+
font-size: 0.75rem;
|
|
50
|
+
line-height: 1rem;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.--bold-weight {
|
|
54
|
+
font-weight: bold;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&.--normal-weight {
|
|
58
|
+
font-weight: normal;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.serif {
|
|
63
|
+
letter-spacing: -0.3px;
|
|
64
|
+
font-weight: normal;
|
|
65
|
+
font-family: $font-serif;
|
|
66
|
+
|
|
67
|
+
&.--super-hero {
|
|
68
|
+
font-size: 2.25rem;
|
|
69
|
+
line-height: 3rem;
|
|
70
|
+
@include landscape-tablets {
|
|
71
|
+
font-size: 3rem;
|
|
72
|
+
line-height: 3.625rem;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&.--hero {
|
|
77
|
+
font-size: 2.25rem;
|
|
78
|
+
line-height: 3rem;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&.--extra-large {
|
|
82
|
+
font-size: 1.75rem;
|
|
83
|
+
line-height: 2.25rem;
|
|
84
|
+
|
|
85
|
+
@include landscape-tablets {
|
|
86
|
+
font-size: 2rem;
|
|
87
|
+
line-height: 2.625rem;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&.--super-large {
|
|
92
|
+
font-size: 1.75rem;
|
|
93
|
+
line-height: 2.25rem;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&.--large {
|
|
97
|
+
font-size: 1.5rem;
|
|
98
|
+
line-height: 1.875rem;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&.--bold-weight {
|
|
102
|
+
font-weight: bold;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&.--normal-weight {
|
|
106
|
+
font-weight: normal;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
@use 'sass:math';
|
|
2
|
+
|
|
3
|
+
// Breakpoints
|
|
4
|
+
$xl: 1600px;
|
|
5
|
+
$lg: 1200px;
|
|
6
|
+
$md: 960px;
|
|
7
|
+
$sm: 720px;
|
|
8
|
+
$xs: 575px;
|
|
9
|
+
$xxs: 328px;
|
|
10
|
+
|
|
11
|
+
// Colors
|
|
12
|
+
$colors: (
|
|
13
|
+
primary: (
|
|
14
|
+
main-light-6: var(--primary-main-light-6),
|
|
15
|
+
main-light-5: var(--primary-main-light-5),
|
|
16
|
+
main-light-4: var(--primary-main-light-4),
|
|
17
|
+
main-light-3: var(--primary-main-light-3),
|
|
18
|
+
main-light-2: var(--primary-main-light-2),
|
|
19
|
+
main-light-1: var(--primary-main-light-1),
|
|
20
|
+
main: var(--primary-main),
|
|
21
|
+
main-dark-1: var(--primary-main-dark-1),
|
|
22
|
+
main-dark-1-rgb: var(--primary-main-dark-1-rgb),
|
|
23
|
+
main-dark-2: var(--primary-main-dark-2)
|
|
24
|
+
),
|
|
25
|
+
secondary: (
|
|
26
|
+
main-light-5: var(--secondary-main-light-5),
|
|
27
|
+
main-light-4: var(--secondary-main-light-4),
|
|
28
|
+
main-light-3: var(--secondary-main-light-3),
|
|
29
|
+
main-light-2: var(--secondary-main-light-2),
|
|
30
|
+
main-light-1: var(--secondary-main-light-1),
|
|
31
|
+
main: var(--secondary-main),
|
|
32
|
+
main-dark-1: var(--secondary-main-dark-1),
|
|
33
|
+
main-dark-2: var(--secondary-main-dark-2)
|
|
34
|
+
),
|
|
35
|
+
neutral: (
|
|
36
|
+
main: var(--neutral-main),
|
|
37
|
+
neutral-1: var(--neutral-neutral-1),
|
|
38
|
+
neutral-2: var(--neutral-neutral-2),
|
|
39
|
+
neutral-3: var(--neutral-neutral-3),
|
|
40
|
+
neutral-4: var(--neutral-neutral-4),
|
|
41
|
+
neutral-5: var(--neutral-neutral-5),
|
|
42
|
+
neutral-6: var(--neutral-neutral-6)
|
|
43
|
+
),
|
|
44
|
+
error: (
|
|
45
|
+
main: var(--error-main),
|
|
46
|
+
error-2: var(--error-error-2),
|
|
47
|
+
error-3: var(--error-error-3)
|
|
48
|
+
),
|
|
49
|
+
others: (
|
|
50
|
+
white: var(--others-white),
|
|
51
|
+
disabled: var(--others-disabled),
|
|
52
|
+
black: var(--others-black)
|
|
53
|
+
)
|
|
54
|
+
);
|
|
55
|
+
|
|
56
|
+
@function get-color($base, $shade: main) {
|
|
57
|
+
$color: map-get(map-get($colors, $base), $shade);
|
|
58
|
+
@return $color;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// Box shadow
|
|
62
|
+
$box-shadow-small: 0 0.125rem 0.375rem 0 rgba(get-color(primary, main-dark-1-rgb), 0.25);
|
|
63
|
+
$box-shadow-medium: 0 0.25rem 0.5rem 0 rgba(get-color(primary, main-dark-1-rgb), 0.2);
|
|
64
|
+
$box-shadow-menu: 0 0.25rem 0.5rem -0.5rem rgba(get-color(primary, main-dark-1-rgb), 0.2);
|
|
65
|
+
$box-shadow-tippy-box: 0 0.25rem 0.5rem 0.25rem rgba(get-color(primary, main-dark-1-rgb), 0.2);
|
|
66
|
+
$box-shadow-container: 0px 2px 6px 0px rgba(get-color(primary, main-dark-1-rgb), 0.25);
|
|
67
|
+
// Fonts
|
|
68
|
+
$font-sans: 'Inter', sans-serif;
|
|
69
|
+
$font-serif: 'Lora', serif;
|
|
70
|
+
|
|
71
|
+
// Special
|
|
72
|
+
$global-border-radius: 4px;
|
|
73
|
+
|
|
74
|
+
// Layout
|
|
75
|
+
$max-width: $lg;
|
|
76
|
+
$global-gap: 1rem;
|
|
77
|
+
$vertical-rhythm: math.div(1rem, 4);
|
|
78
|
+
$lateral-spacing: 1.5rem;
|
|
79
|
+
|
|
80
|
+
// header
|
|
81
|
+
$private-area-header-height: 3.25rem;
|
|
82
|
+
|
|
83
|
+
//menu
|
|
84
|
+
$menu-height-mobile: 3.25rem;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { type LegacyRef, useEffect, useRef, useState } from 'react'
|
|
2
|
+
|
|
3
|
+
export function useIntersectionObserver({
|
|
4
|
+
options = {},
|
|
5
|
+
defaultIntersecting = false
|
|
6
|
+
}): [LegacyRef<HTMLDivElement> | undefined, boolean] {
|
|
7
|
+
const [isIntersecting, setIsIntersecting] = useState(defaultIntersecting)
|
|
8
|
+
const elementRef = useRef<HTMLDivElement>(null)
|
|
9
|
+
|
|
10
|
+
useEffect(() => {
|
|
11
|
+
const currentElement = elementRef.current
|
|
12
|
+
|
|
13
|
+
const observer = new IntersectionObserver((entries) => {
|
|
14
|
+
entries.forEach((entry) => {
|
|
15
|
+
setIsIntersecting(entry.isIntersecting)
|
|
16
|
+
})
|
|
17
|
+
}, options)
|
|
18
|
+
|
|
19
|
+
if (currentElement != null) {
|
|
20
|
+
observer.observe(currentElement)
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
return () => {
|
|
24
|
+
if (currentElement != null) {
|
|
25
|
+
observer.unobserve(currentElement)
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}, [options])
|
|
29
|
+
|
|
30
|
+
return [elementRef, isIntersecting]
|
|
31
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { useEffect, useState } from 'react'
|
|
2
|
+
|
|
3
|
+
interface UseIsMobileOrTablePropsReturn {
|
|
4
|
+
isMobile: boolean
|
|
5
|
+
isTablet: boolean
|
|
6
|
+
load: boolean
|
|
7
|
+
isGtLandscapeTablets: boolean
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const useIsMobileOrTable = (): UseIsMobileOrTablePropsReturn => {
|
|
11
|
+
const [isMobile, setIsMobile] = useState(typeof window !== 'undefined' ? window.innerWidth < 575 : false)
|
|
12
|
+
const [isTablet, setIsTable] = useState(
|
|
13
|
+
typeof window !== 'undefined' ? window.innerWidth < 960 && window.innerWidth >= 575 : false
|
|
14
|
+
)
|
|
15
|
+
const [load, setLoad] = useState(false)
|
|
16
|
+
const [isGtLandscapeTablets, setIsGtLandscapeTablets] = useState(
|
|
17
|
+
typeof window !== 'undefined' ? window.innerWidth > 720 : true
|
|
18
|
+
)
|
|
19
|
+
|
|
20
|
+
const validateWidthScreen = (): void => {
|
|
21
|
+
setIsMobile(window.innerWidth < 575)
|
|
22
|
+
setIsTable(window.innerWidth < 960 && window.innerWidth >= 575)
|
|
23
|
+
setIsGtLandscapeTablets(window.innerWidth > 720)
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
validateWidthScreen()
|
|
28
|
+
window.addEventListener('resize', validateWidthScreen)
|
|
29
|
+
setLoad(true)
|
|
30
|
+
return () => {
|
|
31
|
+
document.removeEventListener('resize', validateWidthScreen)
|
|
32
|
+
}
|
|
33
|
+
}, [])
|
|
34
|
+
|
|
35
|
+
return {
|
|
36
|
+
isMobile,
|
|
37
|
+
isTablet,
|
|
38
|
+
load,
|
|
39
|
+
isGtLandscapeTablets
|
|
40
|
+
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
.standard-container {
|
|
2
|
+
width: 300px;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.maxi-container {
|
|
6
|
+
width: 500px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.position-relative {
|
|
10
|
+
position: relative;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.display-flex {
|
|
14
|
+
display: flex;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.m-richText {
|
|
18
|
+
span {
|
|
19
|
+
position: relative;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
& p {
|
|
23
|
+
margin-bottom: 1rem;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
a,
|
|
27
|
+
a:not([class]) {
|
|
28
|
+
font-weight: bold;
|
|
29
|
+
text-decoration: underline;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
p + h1,
|
|
33
|
+
p + h2,
|
|
34
|
+
p + h3,
|
|
35
|
+
p + h4,
|
|
36
|
+
p + h5,
|
|
37
|
+
p + h6 {
|
|
38
|
+
margin-top: 2.5rem;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
ul + p,
|
|
42
|
+
ol + p,
|
|
43
|
+
ul + h1,
|
|
44
|
+
ul + h2,
|
|
45
|
+
ul + h3,
|
|
46
|
+
ul + h4,
|
|
47
|
+
ul + h5,
|
|
48
|
+
ul + h6 {
|
|
49
|
+
margin-top: 2rem;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.scroll-top-anchor {
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.usury-laws-by-state {
|
|
57
|
+
table {
|
|
58
|
+
text-align: left;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.employment-contract-pros-and-cons {
|
|
63
|
+
tbody {
|
|
64
|
+
text-align: left;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
BusinessIconCategory,
|
|
5
|
+
EmploymentIconCategory,
|
|
6
|
+
FinanceIconCategory,
|
|
7
|
+
PersonalFamilyIconCategory,
|
|
8
|
+
RealEstateIconCategory
|
|
9
|
+
} from '../../images/componentsSvg/generalCategories'
|
|
10
|
+
import { ProductCategory } from './ProductCategory'
|
|
11
|
+
|
|
12
|
+
export const getCategoryIcons = (category: ProductCategory, width = 24, height = 24): React.JSX.Element => {
|
|
13
|
+
const icons = new Map([
|
|
14
|
+
[
|
|
15
|
+
ProductCategory.Business,
|
|
16
|
+
<BusinessIconCategory key={'business_icon'} width={width} height={height} alt='business icon' />
|
|
17
|
+
],
|
|
18
|
+
[
|
|
19
|
+
ProductCategory.Employment,
|
|
20
|
+
<EmploymentIconCategory key={'employment_icon'} width={width} height={height} alt='employment icon' />
|
|
21
|
+
],
|
|
22
|
+
[
|
|
23
|
+
ProductCategory.RealEstate,
|
|
24
|
+
<RealEstateIconCategory key={'real_state_icon'} width={width} height={height} alt='real state icon' />
|
|
25
|
+
],
|
|
26
|
+
[
|
|
27
|
+
ProductCategory.Finance,
|
|
28
|
+
<FinanceIconCategory key={'finance_icon'} width={width} height={height} alt='finance icon' />
|
|
29
|
+
],
|
|
30
|
+
[
|
|
31
|
+
ProductCategory.PersonalFamily,
|
|
32
|
+
<PersonalFamilyIconCategory key={'personal_icon'} width={width} height={height} alt='personal icon' />
|
|
33
|
+
]
|
|
34
|
+
])
|
|
35
|
+
|
|
36
|
+
return (
|
|
37
|
+
icons.get(category) ?? (
|
|
38
|
+
<BusinessIconCategory key={'business_icon'} width={width} height={height} alt='business icon' />
|
|
39
|
+
)
|
|
40
|
+
)
|
|
41
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
export const getGatsbyImageSkeleton = (src: string): React.ReactNode => {
|
|
4
|
+
return (
|
|
5
|
+
<div data-gatsby-image-wrapper='' className='gatsby-image-wrapper gatsby-image-wrapper-constrained'>
|
|
6
|
+
<picture>
|
|
7
|
+
<img
|
|
8
|
+
data-gatsby-image-ssr=''
|
|
9
|
+
data-main-image=''
|
|
10
|
+
decoding='async'
|
|
11
|
+
loading='lazy'
|
|
12
|
+
alt='Choose Your Template'
|
|
13
|
+
src={src}
|
|
14
|
+
style={{ opacity: 1, position: 'relative' }}
|
|
15
|
+
/>
|
|
16
|
+
</picture>
|
|
17
|
+
</div>
|
|
18
|
+
)
|
|
19
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
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';
|