@npm_leadtech/legal-lib-components 5.2.6 → 5.2.8
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 +2434 -2913
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.js +2 -1
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.styled.d.ts +1 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.styled.js +24 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.styled.ts +25 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.tsx +7 -2
- package/dist/src/components/atoms/AddButton/AddButton.js +2 -1
- package/dist/src/components/atoms/AddButton/AddButton.styled.d.ts +1 -0
- package/dist/src/components/atoms/AddButton/AddButton.styled.js +48 -0
- package/dist/src/components/atoms/AddButton/AddButton.styled.ts +49 -0
- package/dist/src/components/atoms/AddButton/AddButton.tsx +3 -2
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.js +2 -2
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.d.ts +1 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.js +55 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.ts +56 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.tsx +3 -3
- package/dist/src/components/atoms/BillCard/BillCard.js +2 -1
- package/dist/src/components/atoms/BillCard/BillCard.styled.d.ts +1 -0
- package/dist/src/components/atoms/BillCard/BillCard.styled.js +59 -0
- package/dist/src/components/atoms/BillCard/BillCard.styled.ts +60 -0
- package/dist/src/components/atoms/BillCard/BillCard.tsx +3 -2
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.js +2 -1
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.styled.d.ts +1 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.styled.js +34 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.styled.ts +35 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.tsx +2 -2
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.js +2 -1
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.styled.d.ts +1 -0
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.styled.js +22 -0
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.styled.ts +23 -0
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.tsx +3 -3
- package/dist/src/components/atoms/Button/Button.scss +28 -28
- package/dist/src/components/atoms/ButtonIcon/ButtonIcon.scss +6 -6
- package/dist/src/components/atoms/CardPane/CardPane.js +2 -2
- package/dist/src/components/atoms/CardPane/CardPane.styled.d.ts +1 -0
- package/dist/src/components/atoms/CardPane/CardPane.styled.js +109 -0
- package/dist/src/components/atoms/CardPane/CardPane.styled.ts +110 -0
- package/dist/src/components/atoms/CardPane/CardPane.tsx +3 -3
- package/dist/src/components/atoms/Checkbox/Checkbox.js +2 -2
- package/dist/src/components/atoms/Checkbox/Checkbox.styled.d.ts +1 -0
- package/dist/src/components/atoms/Checkbox/Checkbox.styled.js +133 -0
- package/dist/src/components/atoms/Checkbox/{Checkbox.scss → Checkbox.styled.ts} +18 -16
- package/dist/src/components/atoms/Checkbox/Checkbox.tsx +3 -3
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.js +2 -2
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.styled.d.ts +1 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.styled.js +120 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.styled.ts +121 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.tsx +3 -3
- package/dist/src/components/atoms/DatePickerCustom/index.js.map +4 -4
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.js +6 -5
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.scss +3 -3
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.d.ts +1 -0
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.js +82 -0
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.ts +83 -0
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.tsx +19 -16
- package/dist/src/components/atoms/Disclaimer/Disclaimer.js +2 -2
- package/dist/src/components/atoms/Disclaimer/Disclaimer.styled.d.ts +1 -0
- package/dist/src/components/atoms/Disclaimer/Disclaimer.styled.js +45 -0
- package/dist/src/components/atoms/Disclaimer/Disclaimer.styled.ts +46 -0
- package/dist/src/components/atoms/Disclaimer/Disclaimer.tsx +3 -3
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.js +2 -2
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.styled.d.ts +1 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.styled.js +149 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.styled.ts +150 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.tsx +3 -3
- package/dist/src/components/atoms/Divider/Divider.js +2 -2
- package/dist/src/components/atoms/Divider/Divider.styled.d.ts +1 -0
- package/dist/src/components/atoms/Divider/Divider.styled.js +21 -0
- package/dist/src/components/atoms/Divider/Divider.styled.ts +22 -0
- package/dist/src/components/atoms/Divider/Divider.tsx +3 -3
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.js +4 -4
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.d.ts +1 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.js +65 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.ts +66 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.tsx +7 -7
- package/dist/src/components/atoms/DocumentTag/DocumentTag.js +2 -2
- package/dist/src/components/atoms/DocumentTag/DocumentTag.styled.d.ts +1 -0
- package/dist/src/components/atoms/DocumentTag/DocumentTag.styled.js +12 -0
- package/dist/src/components/atoms/DocumentTag/DocumentTag.styled.ts +13 -0
- package/dist/src/components/atoms/DocumentTag/DocumentTag.tsx +2 -2
- package/dist/src/components/atoms/ExpertCard/ExpertCard.js +2 -2
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.d.ts +1 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.js +66 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.ts +67 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCard.tsx +3 -3
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.js +2 -2
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.styled.d.ts +1 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.styled.js +78 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.styled.ts +79 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.tsx +3 -3
- package/dist/src/components/atoms/FormFaq/FormFaq.js +2 -2
- package/dist/src/components/atoms/FormFaq/FormFaq.styled.d.ts +1 -0
- package/dist/src/components/atoms/FormFaq/FormFaq.styled.js +73 -0
- package/dist/src/components/atoms/FormFaq/FormFaq.styled.ts +74 -0
- package/dist/src/components/atoms/FormFaq/FormFaq.tsx +3 -3
- package/dist/src/components/atoms/GoogleButton/GoogleButton.js +2 -2
- package/dist/src/components/atoms/GoogleButton/GoogleButton.styled.d.ts +1 -0
- package/dist/src/components/atoms/GoogleButton/GoogleButton.styled.js +21 -0
- package/dist/src/components/atoms/GoogleButton/{GoogleButton.scss → GoogleButton.styled.ts} +5 -5
- package/dist/src/components/atoms/GoogleButton/GoogleButton.tsx +3 -3
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.js +2 -2
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.styled.d.ts +1 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.styled.js +5 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.styled.ts +6 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.tsx +2 -3
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.js +2 -2
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.d.ts +1 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.js +76 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.ts +77 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.tsx +3 -4
- package/dist/src/components/atoms/InfoBox/InfoBox.js +2 -2
- package/dist/src/components/atoms/InfoBox/InfoBox.styled.d.ts +1 -0
- package/dist/src/components/atoms/InfoBox/InfoBox.styled.js +41 -0
- package/dist/src/components/atoms/InfoBox/InfoBox.styled.ts +42 -0
- package/dist/src/components/atoms/InfoBox/InfoBox.tsx +3 -3
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.js +2 -2
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.styled.d.ts +1 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.styled.js +7 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.styled.ts +8 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.tsx +3 -3
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.js +2 -2
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.styled.d.ts +1 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.styled.js +39 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.styled.ts +40 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.tsx +3 -3
- package/dist/src/components/atoms/LogoText/LogoText.js +2 -2
- package/dist/src/components/atoms/LogoText/LogoText.styled.d.ts +1 -0
- package/dist/src/components/atoms/LogoText/LogoText.styled.js +36 -0
- package/dist/src/components/atoms/LogoText/LogoText.styled.ts +37 -0
- package/dist/src/components/atoms/LogoText/LogoText.tsx +5 -5
- package/dist/src/components/atoms/MenuItems/MenuItems.js +2 -1
- package/dist/src/components/atoms/MenuItems/MenuItems.styled.d.ts +1 -0
- package/dist/src/components/atoms/MenuItems/MenuItems.styled.js +71 -0
- package/dist/src/components/atoms/MenuItems/MenuItems.styled.ts +72 -0
- package/dist/src/components/atoms/MenuItems/MenuItems.tsx +3 -2
- package/dist/src/components/atoms/Message/Message.js +2 -2
- package/dist/src/components/atoms/Message/Message.styled.d.ts +1 -0
- package/dist/src/components/atoms/Message/Message.styled.js +31 -0
- package/dist/src/components/atoms/Message/Message.styled.ts +32 -0
- package/dist/src/components/atoms/Message/Message.tsx +3 -3
- package/dist/src/components/atoms/MessageInformation/MessageInformation.js +2 -2
- package/dist/src/components/atoms/MessageInformation/MessageInformation.styled.d.ts +1 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformation.styled.js +53 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformation.styled.ts +54 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformation.tsx +4 -5
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.js +2 -2
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.styled.d.ts +1 -0
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.styled.js +45 -0
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.styled.ts +46 -0
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.tsx +3 -3
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.js +3 -3
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.styled.d.ts +1 -0
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.styled.js +63 -0
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.styled.ts +64 -0
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.tsx +6 -6
- package/dist/src/components/atoms/PaypalButton/PaypalButton.js +2 -2
- package/dist/src/components/atoms/PaypalButton/PaypalButton.styled.d.ts +1 -0
- package/dist/src/components/atoms/PaypalButton/PaypalButton.styled.js +6 -0
- package/dist/src/components/atoms/PaypalButton/PaypalButton.styled.ts +7 -0
- package/dist/src/components/atoms/PaypalButton/PaypalButton.tsx +3 -3
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.js +2 -2
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.styled.d.ts +1 -0
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.styled.js +58 -0
- package/dist/src/components/atoms/PopularDocsItem/{PopularDocsItem.scss → PopularDocsItem.styled.ts} +24 -24
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.tsx +3 -3
- package/dist/src/components/atoms/ProgressBar/ProgressBar.js +2 -2
- package/dist/src/components/atoms/ProgressBar/ProgressBar.styled.d.ts +1 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBar.styled.js +23 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBar.styled.ts +24 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBar.tsx +3 -3
- package/dist/src/components/atoms/Radio/Radio.scss +29 -29
- package/dist/src/components/atoms/RemoveButton/RemoveButton.js +2 -2
- package/dist/src/components/atoms/RemoveButton/RemoveButton.styled.d.ts +1 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButton.styled.js +43 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButton.styled.ts +44 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButton.tsx +3 -3
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.js +2 -2
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.styled.d.ts +1 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.styled.js +55 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.styled.ts +56 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.tsx +3 -3
- package/dist/src/components/atoms/RichTextInner/RichTextInner.js +2 -2
- package/dist/src/components/atoms/RichTextInner/RichTextInner.styled.d.ts +1 -0
- package/dist/src/components/atoms/RichTextInner/RichTextInner.styled.js +38 -0
- package/dist/src/components/atoms/RichTextInner/RichTextInner.styled.ts +39 -0
- package/dist/src/components/atoms/RichTextInner/RichTextInner.tsx +2 -2
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.js +2 -2
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.d.ts +1 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.js +9 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.ts +10 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.tsx +7 -2
- package/dist/src/components/atoms/SearchSelect/SearchSelect.js +3 -3
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.d.ts +1 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.js +223 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.ts +224 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.tsx +3 -3
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.js +2 -2
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.styled.d.ts +1 -0
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.styled.js +48 -0
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.styled.ts +49 -0
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.tsx +3 -3
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.js +2 -2
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.styled.d.ts +1 -0
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.styled.js +92 -0
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.styled.ts +93 -0
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.tsx +3 -3
- package/dist/src/components/atoms/Spinner/Spinner.js +2 -2
- package/dist/src/components/atoms/Spinner/Spinner.styled.d.ts +1 -0
- package/dist/src/components/atoms/Spinner/Spinner.styled.js +28 -0
- package/dist/src/components/atoms/Spinner/Spinner.styled.ts +29 -0
- package/dist/src/components/atoms/Spinner/Spinner.tsx +5 -5
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.js +2 -2
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.styled.d.ts +1 -0
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.styled.js +28 -0
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.styled.ts +29 -0
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.tsx +3 -3
- package/dist/src/components/atoms/Tag/Tag.js +2 -2
- package/dist/src/components/atoms/Tag/Tag.scss +3 -3
- package/dist/src/components/atoms/Tag/Tag.styled.d.ts +1 -0
- package/dist/src/components/atoms/Tag/Tag.styled.js +24 -0
- package/dist/src/components/atoms/Tag/Tag.styled.ts +25 -0
- package/dist/src/components/atoms/Tag/Tag.tsx +5 -5
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.js +2 -2
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.d.ts +1 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.js +20 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.ts +21 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.tsx +3 -3
- package/dist/src/components/atoms/Tagline/Tagline.js +2 -2
- package/dist/src/components/atoms/Tagline/Tagline.scss +3 -3
- package/dist/src/components/atoms/Tagline/Tagline.styled.d.ts +1 -0
- package/dist/src/components/atoms/Tagline/Tagline.styled.js +17 -0
- package/dist/src/components/atoms/Tagline/Tagline.styled.ts +18 -0
- package/dist/src/components/atoms/Tagline/Tagline.tsx +3 -3
- package/dist/src/components/atoms/TextArea/TextArea.js +2 -2
- package/dist/src/components/atoms/TextArea/TextArea.styled.d.ts +1 -0
- package/dist/src/components/atoms/TextArea/TextArea.styled.js +106 -0
- package/dist/src/components/atoms/TextArea/TextArea.styled.ts +107 -0
- package/dist/src/components/atoms/TextArea/TextArea.tsx +3 -3
- package/dist/src/components/atoms/Toggle/Toggle.js +2 -2
- package/dist/src/components/atoms/Toggle/Toggle.styled.d.ts +1 -0
- package/dist/src/components/atoms/Toggle/Toggle.styled.js +59 -0
- package/dist/src/components/atoms/Toggle/Toggle.styled.ts +60 -0
- package/dist/src/components/atoms/Toggle/Toggle.tsx +3 -3
- package/dist/src/components/atoms/Tooltip/Tooltip.scss +8 -8
- package/dist/src/components/atoms/TopBar/TopBar.js +2 -2
- package/dist/src/components/atoms/TopBar/TopBar.styled.d.ts +1 -0
- package/dist/src/components/atoms/TopBar/TopBar.styled.js +55 -0
- package/dist/src/components/atoms/TopBar/TopBar.styled.ts +56 -0
- package/dist/src/components/atoms/TopBar/TopBar.tsx +3 -3
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.js +2 -1
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.d.ts +1 -0
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.js +49 -0
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.ts +50 -0
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.tsx +6 -3
- package/dist/src/components/atoms/TrustPilot/TrustPilot.js +2 -2
- package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.d.ts +1 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.js +12 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.ts +13 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilot.tsx +2 -3
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.js +2 -2
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.styled.d.ts +1 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.styled.js +37 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.styled.ts +38 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.tsx +3 -4
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.js +2 -1
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.styled.d.ts +1 -0
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.styled.js +33 -0
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.styled.ts +34 -0
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.tsx +3 -4
- package/dist/src/components/molecules/AccordionItem/AccordionItem.scss +9 -9
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.scss +2 -2
- package/dist/src/components/molecules/Article/Article.scss +1 -1
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.scss +2 -2
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.scss +7 -7
- package/dist/src/components/molecules/BoxForm/BoxForm.scss +9 -9
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.scss +4 -0
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.tsx +1 -1
- package/dist/src/components/molecules/ContactBox/ContactBox.scss +5 -5
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.scss +6 -6
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.scss +4 -4
- package/dist/src/components/molecules/FaqItem/FaqItem.scss +5 -5
- package/dist/src/components/molecules/Feedback/Feedback.scss +5 -5
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.scss +3 -3
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.scss +1 -1
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.scss +3 -3
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.scss +1 -1
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.scss +2 -2
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.scss +7 -7
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.scss +2 -2
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.scss +1 -1
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.scss +3 -3
- package/dist/src/components/molecules/Pagination/Pagination.scss +7 -7
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.scss +3 -3
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.scss +1 -1
- package/dist/src/components/molecules/PopularDocs/PopularDocs.scss +2 -2
- package/dist/src/components/molecules/PricingCard/PricingCard.scss +14 -14
- package/dist/src/components/molecules/Snackbar/Snackbar.scss +9 -9
- package/dist/src/components/molecules/StepGetForm/StepGetForm.scss +5 -5
- package/dist/src/components/molecules/TextInput/TextInput.scss +20 -20
- package/dist/src/components/molecules/TooltipMenu/TooltipMenu.scss +5 -5
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.scss +4 -4
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.scss +4 -4
- package/dist/src/components/molecules/index.d.ts +0 -1
- package/dist/src/components/molecules/index.js +0 -1
- package/dist/src/components/molecules/index.ts +0 -1
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.scss +3 -3
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.scss +2 -2
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.scss +11 -11
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.scss +3 -3
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.scss +2 -2
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.scss +1 -1
- package/dist/src/components/organisms/FaqGroup/FaqGroup.scss +2 -2
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.scss +2 -2
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.scss +4 -4
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.scss +3 -3
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.scss +8 -8
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.scss +1 -1
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.scss +4 -4
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.scss +2 -2
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.scss +1 -1
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.scss +4 -4
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.scss +1 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss +4 -4
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.scss +1 -1
- package/dist/src/components/pages/FaqsPage/FaqsPage.scss +8 -8
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.scss +1 -1
- package/dist/src/components/pages/LoginRatafiaPage/LoginPageRatafia.scss +2 -2
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.scss +6 -6
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +2 -1
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.scss +3 -3
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.scss +2 -2
- package/dist/src/components/sections/BlogSection/BlogSection.scss +1 -1
- package/dist/src/components/sections/ContactSection/ContactSection.scss +2 -2
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.scss +2 -2
- package/dist/src/components/sections/FaqSection/FaqSection.scss +1 -1
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.scss +2 -2
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.scss +2 -2
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.scss +7 -7
- package/dist/src/components/sections/LegalSection/LegalSection.scss +10 -10
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.scss +1 -1
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.scss +1 -1
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.scss +1 -1
- package/dist/src/components/sections/TryUsSection/TryUsSection.scss +2 -2
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.scss +3 -3
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.scss +1 -1
- package/dist/src/globalStyles/animations.scss +1 -1
- package/dist/src/globalStyles/base.scss +5 -5
- package/dist/src/globalStyles/breakpoints.d.ts +19 -0
- package/dist/src/globalStyles/breakpoints.js +17 -0
- package/dist/src/globalStyles/breakpoints.ts +28 -0
- package/dist/src/globalStyles/styles.scss +2 -54
- package/dist/src/globalStyles/themes.scss +26 -0
- package/dist/src/globalStyles/typography.scss +1 -1
- package/dist/src/globalStyles/variables.scss +22 -6
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -2
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.scss +0 -24
- package/dist/src/components/atoms/AddButton/AddButton.scss +0 -48
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.scss +0 -54
- package/dist/src/components/atoms/BillCard/BillCard.scss +0 -57
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.scss +0 -33
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.scss +0 -21
- package/dist/src/components/atoms/CardPane/CardPane.scss +0 -106
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.scss +0 -116
- package/dist/src/components/atoms/Disclaimer/Disclaimer.scss +0 -45
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.scss +0 -149
- package/dist/src/components/atoms/Divider/Divider.scss +0 -20
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.scss +0 -91
- package/dist/src/components/atoms/DocumentTag/DocumentTag.scss +0 -13
- package/dist/src/components/atoms/ExpertCard/ExpertCard.scss +0 -65
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.scss +0 -79
- package/dist/src/components/atoms/FormFaq/FormFaq.scss +0 -72
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.scss +0 -6
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.scss +0 -80
- package/dist/src/components/atoms/InfoBox/InfoBox.scss +0 -40
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.scss +0 -8
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.scss +0 -38
- package/dist/src/components/atoms/LogoText/LogoText.scss +0 -34
- package/dist/src/components/atoms/MenuItems/MenuItems.scss +0 -70
- package/dist/src/components/atoms/Message/Message.scss +0 -31
- package/dist/src/components/atoms/MessageInformation/MessageInformation.scss +0 -51
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.scss +0 -44
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.scss +0 -60
- package/dist/src/components/atoms/PaypalButton/PaypalButton.scss +0 -5
- package/dist/src/components/atoms/ProgressBar/ProgressBar.scss +0 -24
- package/dist/src/components/atoms/RemoveButton/RemoveButton.scss +0 -43
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.scss +0 -54
- package/dist/src/components/atoms/RichTextInner/RichTextInner.scss +0 -34
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.scss +0 -9
- package/dist/src/components/atoms/SearchSelect/SearchSelect.scss +0 -222
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.scss +0 -48
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.scss +0 -90
- package/dist/src/components/atoms/Spinner/Spinner.scss +0 -31
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.scss +0 -27
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.scss +0 -22
- package/dist/src/components/atoms/TextArea/TextArea.scss +0 -103
- package/dist/src/components/atoms/Toggle/Toggle.scss +0 -59
- package/dist/src/components/atoms/TopBar/TopBar.scss +0 -54
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.scss +0 -48
- package/dist/src/components/atoms/TrustPilot/TrustPilot.scss +0 -11
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.scss +0 -36
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.scss +0 -32
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.d.ts +0 -4
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +0 -12
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +0 -93
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +0 -60
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.d.ts +0 -24
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.js +0 -1
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.ts +0 -26
- package/dist/src/components/molecules/RatafiaSubscriptionCard/index.d.ts +0 -2
- package/dist/src/components/molecules/RatafiaSubscriptionCard/index.js +0 -1
- package/dist/src/components/molecules/RatafiaSubscriptionCard/index.ts +0 -2
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import React, { type FC } from 'react'
|
|
3
3
|
|
|
4
4
|
import { type TextAreaProps } from './TextAreaProps.types'
|
|
5
|
+
import { TextAreaStyled } from './TextArea.styled'
|
|
5
6
|
import error from '../../../../images/svg/info-error_24px_outlined.svg'
|
|
6
|
-
// import './TextArea.scss'
|
|
7
7
|
|
|
8
8
|
const TextArea: FC<TextAreaProps> = ({
|
|
9
9
|
customClass = '',
|
|
@@ -22,7 +22,7 @@ const TextArea: FC<TextAreaProps> = ({
|
|
|
22
22
|
${customClass}`
|
|
23
23
|
|
|
24
24
|
return (
|
|
25
|
-
<
|
|
25
|
+
<TextAreaStyled className={classNames}>
|
|
26
26
|
{tooltip !== undefined && <p className='tooltip-form sans-serif --small'>{tooltip}</p>}
|
|
27
27
|
{errorMessage !== undefined && !validate && (
|
|
28
28
|
<span className='e-text--error sans-serif --small'>
|
|
@@ -44,7 +44,7 @@ const TextArea: FC<TextAreaProps> = ({
|
|
|
44
44
|
<div className='inputLabel'>{label}</div>
|
|
45
45
|
</div>
|
|
46
46
|
)}
|
|
47
|
-
</
|
|
47
|
+
</TextAreaStyled>
|
|
48
48
|
)
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
|
|
2
|
+
import { ToggleStyled } from './Toggle.styled';
|
|
3
3
|
const Toggle = ({ toggleAction, toggleCheck, label }) => {
|
|
4
|
-
return (_jsxs(
|
|
4
|
+
return (_jsxs(ToggleStyled, { className: 'e-toggle', children: [_jsxs("label", { className: 'switch', children: [_jsx("input", { type: 'checkbox', className: `toggle-checkbox ${toggleCheck ? 'isOn' : ''}`, checked: toggleCheck, onChange: toggleAction }), _jsx("div", { className: 'slider' })] }), _jsx("span", { children: label })] }));
|
|
5
5
|
};
|
|
6
6
|
export default Toggle;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ToggleStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const ToggleStyled = styled.div `
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
color: get-color(others, black);
|
|
6
|
+
|
|
7
|
+
&.e-toggle {
|
|
8
|
+
.switch {
|
|
9
|
+
position: relative;
|
|
10
|
+
display: inline-block;
|
|
11
|
+
width: 60px;
|
|
12
|
+
height: 34px;
|
|
13
|
+
outline: none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.switch input {
|
|
17
|
+
position: absolute;
|
|
18
|
+
top: -99999px;
|
|
19
|
+
left: -99999px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.slider {
|
|
23
|
+
position: absolute;
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
top: 0;
|
|
26
|
+
left: 0;
|
|
27
|
+
right: 0;
|
|
28
|
+
bottom: 0;
|
|
29
|
+
background-color: #ccc;
|
|
30
|
+
-webkit-transition: 0.4s;
|
|
31
|
+
transition: 0.4s;
|
|
32
|
+
border-radius: 34px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.slider:before {
|
|
36
|
+
position: absolute;
|
|
37
|
+
content: '';
|
|
38
|
+
height: 26px;
|
|
39
|
+
width: 26px;
|
|
40
|
+
left: 4px;
|
|
41
|
+
bottom: 4px;
|
|
42
|
+
background-color: var(--others-white);
|
|
43
|
+
transition: 0.4s;
|
|
44
|
+
border-radius: 50%;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
input:checked + .slider {
|
|
48
|
+
background-color: green;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
input:focus + .slider {
|
|
52
|
+
box-shadow: 0 0 1px green;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
input:checked + .slider:before {
|
|
56
|
+
transform: translateX(26px);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
`;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const ToggleStyled = styled.div`
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
color: get-color(others, black);
|
|
7
|
+
|
|
8
|
+
&.e-toggle {
|
|
9
|
+
.switch {
|
|
10
|
+
position: relative;
|
|
11
|
+
display: inline-block;
|
|
12
|
+
width: 60px;
|
|
13
|
+
height: 34px;
|
|
14
|
+
outline: none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.switch input {
|
|
18
|
+
position: absolute;
|
|
19
|
+
top: -99999px;
|
|
20
|
+
left: -99999px;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.slider {
|
|
24
|
+
position: absolute;
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
top: 0;
|
|
27
|
+
left: 0;
|
|
28
|
+
right: 0;
|
|
29
|
+
bottom: 0;
|
|
30
|
+
background-color: #ccc;
|
|
31
|
+
-webkit-transition: 0.4s;
|
|
32
|
+
transition: 0.4s;
|
|
33
|
+
border-radius: 34px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.slider:before {
|
|
37
|
+
position: absolute;
|
|
38
|
+
content: '';
|
|
39
|
+
height: 26px;
|
|
40
|
+
width: 26px;
|
|
41
|
+
left: 4px;
|
|
42
|
+
bottom: 4px;
|
|
43
|
+
background-color: var(--others-white);
|
|
44
|
+
transition: 0.4s;
|
|
45
|
+
border-radius: 50%;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
input:checked + .slider {
|
|
49
|
+
background-color: green;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
input:focus + .slider {
|
|
53
|
+
box-shadow: 0 0 1px green;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
input:checked + .slider:before {
|
|
57
|
+
transform: translateX(26px);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
`
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import React, { type FC } from 'react'
|
|
3
3
|
|
|
4
4
|
import { type ToggleProps } from './ToggleProps.types'
|
|
5
|
-
|
|
5
|
+
import { ToggleStyled } from './Toggle.styled'
|
|
6
6
|
|
|
7
7
|
const Toggle: FC<ToggleProps> = ({ toggleAction, toggleCheck, label }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<ToggleStyled className={'e-toggle'}>
|
|
10
10
|
<label className='switch'>
|
|
11
11
|
<input
|
|
12
12
|
type='checkbox'
|
|
@@ -17,7 +17,7 @@ const Toggle: FC<ToggleProps> = ({ toggleAction, toggleCheck, label }) => {
|
|
|
17
17
|
<div className='slider' />
|
|
18
18
|
</label>
|
|
19
19
|
<span>{label}</span>
|
|
20
|
-
</
|
|
20
|
+
</ToggleStyled>
|
|
21
21
|
)
|
|
22
22
|
}
|
|
23
23
|
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
3
|
|
|
4
4
|
.tippy-box {
|
|
5
|
-
background-color:
|
|
6
|
-
border-radius:
|
|
5
|
+
background-color: var(--others-white);
|
|
6
|
+
border-radius: var(--global-border-radius);
|
|
7
7
|
font-size: 16px;
|
|
8
8
|
line-height: 1.4;
|
|
9
9
|
white-space: normal;
|
|
10
10
|
outline: 0;
|
|
11
11
|
transition: all 0.3s ease;
|
|
12
|
-
box-shadow:
|
|
12
|
+
box-shadow: var(--box-shadow-tippy-box);
|
|
13
13
|
z-index: 1000;
|
|
14
14
|
color: inherit;
|
|
15
15
|
cursor: pointer;
|
|
16
16
|
|
|
17
17
|
&--inverted {
|
|
18
|
-
background-color:
|
|
19
|
-
color:
|
|
18
|
+
background-color: var(--neutral-neutral-1);
|
|
19
|
+
color: var(--others-white);
|
|
20
20
|
border-radius: 0.3rem;
|
|
21
21
|
font-size: 12px;
|
|
22
22
|
box-shadow: none;
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.tippy-arrow {
|
|
30
|
-
color:
|
|
30
|
+
color: var(--neutral-neutral-1);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
& > svg g g {
|
|
51
|
-
fill:
|
|
51
|
+
fill: var(--neutral-neutral-1);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
.tippy-arrow {
|
|
61
|
-
color:
|
|
61
|
+
color: var(--others-white);
|
|
62
62
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import classNames from 'classnames';
|
|
3
|
-
|
|
3
|
+
import { TopBarStyled } from './TopBar.styled';
|
|
4
4
|
const TopBar = ({ hide, children }) => {
|
|
5
5
|
if (children === undefined)
|
|
6
6
|
return null;
|
|
7
7
|
const classnames = classNames({
|
|
8
8
|
'--is-hidden': hide
|
|
9
9
|
});
|
|
10
|
-
return (_jsx(
|
|
10
|
+
return (_jsx(TopBarStyled, { className: `top-bar-wrapper ${classnames}`, children: _jsx("div", { className: 'top-bar', children: _jsx("div", { className: 'top-bar-content', children: children }) }) }));
|
|
11
11
|
};
|
|
12
12
|
export default TopBar;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TopBarStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const TopBarStyled = styled.div `
|
|
4
|
+
display: none;
|
|
5
|
+
height: 35px;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
transition: all 0.6s ease;
|
|
8
|
+
|
|
9
|
+
&.top-bar-wrapper {
|
|
10
|
+
&.--is-hidden {
|
|
11
|
+
height: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@media ${device['landscape-tablets']} {
|
|
15
|
+
display: block;
|
|
16
|
+
}
|
|
17
|
+
@media ${device.mobile} {
|
|
18
|
+
display: block;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.top-bar {
|
|
22
|
+
display: flex;
|
|
23
|
+
background-color: var(--neutral-neutral-6);
|
|
24
|
+
font-size: 0.9rem;
|
|
25
|
+
letter-spacing: -0.3px;
|
|
26
|
+
width: 100%;
|
|
27
|
+
height: 100%;
|
|
28
|
+
justify-content: center;
|
|
29
|
+
align-items: flex-end;
|
|
30
|
+
border: 1px solid var(--neutral-neutral-4);
|
|
31
|
+
|
|
32
|
+
@media ${device.mobile} {
|
|
33
|
+
align-items: center;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&-content {
|
|
37
|
+
margin: 0 1rem 5px;
|
|
38
|
+
|
|
39
|
+
@media ${device.mobile} {
|
|
40
|
+
margin: 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
svg,
|
|
44
|
+
img {
|
|
45
|
+
vertical-align: middle;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
img {
|
|
49
|
+
margin-right: 8px;
|
|
50
|
+
display: inherit;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
`;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const TopBarStyled = styled.div`
|
|
5
|
+
display: none;
|
|
6
|
+
height: 35px;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
transition: all 0.6s ease;
|
|
9
|
+
|
|
10
|
+
&.top-bar-wrapper {
|
|
11
|
+
&.--is-hidden {
|
|
12
|
+
height: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@media ${device['landscape-tablets']} {
|
|
16
|
+
display: block;
|
|
17
|
+
}
|
|
18
|
+
@media ${device.mobile} {
|
|
19
|
+
display: block;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.top-bar {
|
|
23
|
+
display: flex;
|
|
24
|
+
background-color: var(--neutral-neutral-6);
|
|
25
|
+
font-size: 0.9rem;
|
|
26
|
+
letter-spacing: -0.3px;
|
|
27
|
+
width: 100%;
|
|
28
|
+
height: 100%;
|
|
29
|
+
justify-content: center;
|
|
30
|
+
align-items: flex-end;
|
|
31
|
+
border: 1px solid var(--neutral-neutral-4);
|
|
32
|
+
|
|
33
|
+
@media ${device.mobile} {
|
|
34
|
+
align-items: center;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&-content {
|
|
38
|
+
margin: 0 1rem 5px;
|
|
39
|
+
|
|
40
|
+
@media ${device.mobile} {
|
|
41
|
+
margin: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
svg,
|
|
45
|
+
img {
|
|
46
|
+
vertical-align: middle;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
img {
|
|
50
|
+
margin-right: 8px;
|
|
51
|
+
display: inherit;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
`
|
|
@@ -2,7 +2,7 @@ import React, { type FC } from 'react'
|
|
|
2
2
|
import classNames from 'classnames'
|
|
3
3
|
|
|
4
4
|
import { type TopBarProps } from './TopBarProps.types'
|
|
5
|
-
|
|
5
|
+
import { TopBarStyled } from './TopBar.styled'
|
|
6
6
|
|
|
7
7
|
const TopBar: FC<TopBarProps> = ({ hide, children }) => {
|
|
8
8
|
if (children === undefined) return null
|
|
@@ -12,11 +12,11 @@ const TopBar: FC<TopBarProps> = ({ hide, children }) => {
|
|
|
12
12
|
})
|
|
13
13
|
|
|
14
14
|
return (
|
|
15
|
-
<
|
|
15
|
+
<TopBarStyled className={`top-bar-wrapper ${classnames}`}>
|
|
16
16
|
<div className={'top-bar'}>
|
|
17
17
|
<div className={'top-bar-content'}>{children}</div>
|
|
18
18
|
</div>
|
|
19
|
-
</
|
|
19
|
+
</TopBarStyled>
|
|
20
20
|
)
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect, useState } from 'react';
|
|
3
|
+
import { TopBarMobileStyled } from './TopBarMobile.styled';
|
|
3
4
|
export const TopBarMobile = ({ children, isVisible = false }) => {
|
|
4
5
|
const [isSSR, setIsSSR] = useState(false);
|
|
5
6
|
useEffect(() => {
|
|
6
7
|
setIsSSR(true);
|
|
7
8
|
}, []);
|
|
8
|
-
return isSSR ? _jsx(
|
|
9
|
+
return isSSR ? (_jsx(TopBarMobileStyled, { className: `top-bar-mobile ${isVisible ? 'fade-In' : 'fade-Out'}`, children: children })) : null;
|
|
9
10
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TopBarMobileStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const TopBarMobileStyled = styled.div `
|
|
3
|
+
background-color: var(--neutral-neutral-5);
|
|
4
|
+
display: flex;
|
|
5
|
+
padding: 8px 16px;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
align-items: center;
|
|
8
|
+
border-radius: 4px;
|
|
9
|
+
box-shadow: var(--box-shadow-container);
|
|
10
|
+
font-size: 14px;
|
|
11
|
+
line-height: 18px;
|
|
12
|
+
letter-spacing: -0.3px;
|
|
13
|
+
position: fixed;
|
|
14
|
+
top: 8px;
|
|
15
|
+
left: 8px;
|
|
16
|
+
right: 8px;
|
|
17
|
+
|
|
18
|
+
&.top-bar-mobile {
|
|
19
|
+
&.fade-In {
|
|
20
|
+
visibility: visible;
|
|
21
|
+
opacity: 1;
|
|
22
|
+
transition:
|
|
23
|
+
visibility 0s linear 0s,
|
|
24
|
+
opacity 300ms;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.fade-Out {
|
|
28
|
+
visibility: hidden;
|
|
29
|
+
opacity: 0;
|
|
30
|
+
transition:
|
|
31
|
+
visibility 0s linear 300ms,
|
|
32
|
+
opacity 300ms;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
> b {
|
|
36
|
+
display: flex;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
align-items: center;
|
|
39
|
+
|
|
40
|
+
a {
|
|
41
|
+
display: contents;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
img {
|
|
45
|
+
margin-right: 8px;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
`;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const TopBarMobileStyled = styled.div`
|
|
4
|
+
background-color: var(--neutral-neutral-5);
|
|
5
|
+
display: flex;
|
|
6
|
+
padding: 8px 16px;
|
|
7
|
+
justify-content: space-between;
|
|
8
|
+
align-items: center;
|
|
9
|
+
border-radius: 4px;
|
|
10
|
+
box-shadow: var(--box-shadow-container);
|
|
11
|
+
font-size: 14px;
|
|
12
|
+
line-height: 18px;
|
|
13
|
+
letter-spacing: -0.3px;
|
|
14
|
+
position: fixed;
|
|
15
|
+
top: 8px;
|
|
16
|
+
left: 8px;
|
|
17
|
+
right: 8px;
|
|
18
|
+
|
|
19
|
+
&.top-bar-mobile {
|
|
20
|
+
&.fade-In {
|
|
21
|
+
visibility: visible;
|
|
22
|
+
opacity: 1;
|
|
23
|
+
transition:
|
|
24
|
+
visibility 0s linear 0s,
|
|
25
|
+
opacity 300ms;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.fade-Out {
|
|
29
|
+
visibility: hidden;
|
|
30
|
+
opacity: 0;
|
|
31
|
+
transition:
|
|
32
|
+
visibility 0s linear 300ms,
|
|
33
|
+
opacity 300ms;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
> b {
|
|
37
|
+
display: flex;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
align-items: center;
|
|
40
|
+
|
|
41
|
+
a {
|
|
42
|
+
display: contents;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
img {
|
|
46
|
+
margin-right: 8px;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
`
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React, { useEffect, useState } from 'react'
|
|
2
|
-
|
|
3
|
-
// import './TopBarMobile.scss'
|
|
2
|
+
import { TopBarMobileStyled } from './TopBarMobile.styled'
|
|
4
3
|
|
|
5
4
|
interface TopBarMobileProps {
|
|
6
5
|
children: React.ReactNode
|
|
@@ -15,5 +14,9 @@ export const TopBarMobile: React.FC<TopBarMobileProps> = ({
|
|
|
15
14
|
useEffect(() => {
|
|
16
15
|
setIsSSR(true)
|
|
17
16
|
}, [])
|
|
18
|
-
return isSSR ?
|
|
17
|
+
return isSSR ? (
|
|
18
|
+
<TopBarMobileStyled className={`top-bar-mobile ${isVisible ? 'fade-In' : 'fade-Out'}`}>
|
|
19
|
+
{children}
|
|
20
|
+
</TopBarMobileStyled>
|
|
21
|
+
) : null
|
|
19
22
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
|
|
2
|
+
import { TrustPilotStyled } from './TrustPilot.styled';
|
|
3
3
|
const Trustpilot = ({ children }) => {
|
|
4
|
-
return _jsx(
|
|
4
|
+
return _jsx(TrustPilotStyled, { className: 'trustpilot', children: children });
|
|
5
5
|
};
|
|
6
6
|
export default Trustpilot;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TrustPilotStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const TrustPilotStyled = styled.div `
|
|
4
|
+
margin: auto;
|
|
5
|
+
padding: 0 1rem;
|
|
6
|
+
|
|
7
|
+
&.trustpilot {
|
|
8
|
+
@media ${device['landscape-tablets']} {
|
|
9
|
+
margin: 3rem auto;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
`;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const TrustPilotStyled = styled.div`
|
|
5
|
+
margin: auto;
|
|
6
|
+
padding: 0 1rem;
|
|
7
|
+
|
|
8
|
+
&.trustpilot {
|
|
9
|
+
@media ${device['landscape-tablets']} {
|
|
10
|
+
margin: 3rem auto;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
`
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
import { type TrustPilotProps } from './TrustPilotProps.types'
|
|
3
|
-
|
|
4
|
-
// import './TrustPilot.scss'
|
|
3
|
+
import { TrustPilotStyled } from './TrustPilot.styled'
|
|
5
4
|
|
|
6
5
|
const Trustpilot: FC<TrustPilotProps> = ({ children }) => {
|
|
7
|
-
return <
|
|
6
|
+
return <TrustPilotStyled className='trustpilot'>{children}</TrustPilotStyled>
|
|
8
7
|
}
|
|
9
8
|
|
|
10
9
|
export default Trustpilot
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
|
|
2
|
+
import { WhyLawDistrictItemsStyled } from './WhyLawDistrictItems.styled';
|
|
3
3
|
export const WhyLawDistrictItems = ({ items }) => {
|
|
4
4
|
if (items.length === 0)
|
|
5
5
|
return null;
|
|
6
|
-
return (_jsx(
|
|
6
|
+
return (_jsx(WhyLawDistrictItemsStyled, { className: 'whyLawDistrictItems', children: items.map((item) => (_jsx("li", { className: 'whyLawDistrictItems__item', children: item.reasons }, item.id))) }));
|
|
7
7
|
};
|
|
8
8
|
export default WhyLawDistrictItems;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const WhyLawDistrictItemsStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { device, size } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const WhyLawDistrictItemsStyled = styled.ul `
|
|
4
|
+
max-width: ${size.md};
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
margin: 0 auto;
|
|
8
|
+
flex-flow: row wrap;
|
|
9
|
+
padding: 0 0 1.5rem 0;
|
|
10
|
+
|
|
11
|
+
@media ${device['landscape-tablets']} {
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
padding: 0 1rem;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.whyLawDistrictItems {
|
|
17
|
+
&__item {
|
|
18
|
+
max-width: 100%;
|
|
19
|
+
color: var(--neutral-neutral-2);
|
|
20
|
+
margin-bottom: 1rem;
|
|
21
|
+
padding: 0 1rem;
|
|
22
|
+
|
|
23
|
+
@media ${device['landscape-tablets']} {
|
|
24
|
+
padding: 2rem 0;
|
|
25
|
+
max-width: calc(100% / 3 - 1.5rem);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&:first-child {
|
|
29
|
+
margin-top: 2rem;
|
|
30
|
+
|
|
31
|
+
@media ${device['landscape-tablets']} {
|
|
32
|
+
margin-top: 0;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
`;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { device, size } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const WhyLawDistrictItemsStyled = styled.ul`
|
|
5
|
+
max-width: ${size.md};
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
margin: 0 auto;
|
|
9
|
+
flex-flow: row wrap;
|
|
10
|
+
padding: 0 0 1.5rem 0;
|
|
11
|
+
|
|
12
|
+
@media ${device['landscape-tablets']} {
|
|
13
|
+
justify-content: space-between;
|
|
14
|
+
padding: 0 1rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.whyLawDistrictItems {
|
|
18
|
+
&__item {
|
|
19
|
+
max-width: 100%;
|
|
20
|
+
color: var(--neutral-neutral-2);
|
|
21
|
+
margin-bottom: 1rem;
|
|
22
|
+
padding: 0 1rem;
|
|
23
|
+
|
|
24
|
+
@media ${device['landscape-tablets']} {
|
|
25
|
+
padding: 2rem 0;
|
|
26
|
+
max-width: calc(100% / 3 - 1.5rem);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:first-child {
|
|
30
|
+
margin-top: 2rem;
|
|
31
|
+
|
|
32
|
+
@media ${device['landscape-tablets']} {
|
|
33
|
+
margin-top: 0;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
`
|