@npm_leadtech/legal-lib-components 5.2.32 → 5.2.40
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 +2842 -564
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.js +1 -2
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.scss +24 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.tsx +2 -7
- package/dist/src/components/atoms/AddButton/AddButton.js +1 -2
- package/dist/src/components/atoms/AddButton/AddButton.scss +48 -0
- package/dist/src/components/atoms/AddButton/AddButton.tsx +2 -3
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.js +2 -2
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.scss +54 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.tsx +3 -3
- package/dist/src/components/atoms/BillCard/BillCard.js +1 -2
- package/dist/src/components/atoms/BillCard/BillCard.scss +57 -0
- package/dist/src/components/atoms/BillCard/BillCard.tsx +2 -3
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.js +1 -2
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.scss +33 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.tsx +2 -2
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.js +1 -2
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.scss +21 -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.scss +106 -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.ts → Checkbox.scss} +16 -18
- 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.scss +116 -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 +5 -6
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.scss +3 -3
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.tsx +16 -19
- package/dist/src/components/atoms/Disclaimer/Disclaimer.js +2 -2
- package/dist/src/components/atoms/Disclaimer/Disclaimer.scss +45 -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.scss +149 -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.scss +20 -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.scss +91 -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.scss +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.scss +52 -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.scss +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.scss +72 -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.ts → GoogleButton.scss} +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.scss +6 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.tsx +3 -2
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.js +2 -2
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.scss +80 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.tsx +4 -3
- package/dist/src/components/atoms/InfoBox/InfoBox.js +2 -2
- package/dist/src/components/atoms/InfoBox/InfoBox.scss +40 -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.scss +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.scss +38 -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.scss +34 -0
- package/dist/src/components/atoms/LogoText/LogoText.tsx +5 -5
- package/dist/src/components/atoms/MenuItems/MenuItems.js +1 -2
- package/dist/src/components/atoms/MenuItems/MenuItems.scss +70 -0
- package/dist/src/components/atoms/MenuItems/MenuItems.tsx +2 -3
- package/dist/src/components/atoms/Message/Message.js +2 -2
- package/dist/src/components/atoms/Message/Message.scss +31 -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.scss +51 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformation.tsx +5 -4
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.js +2 -2
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.scss +44 -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.scss +60 -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.scss +5 -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.ts → PopularDocsItem.scss} +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.scss +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.scss +43 -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.scss +54 -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.scss +34 -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.scss +9 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.tsx +2 -7
- package/dist/src/components/atoms/SearchSelect/SearchSelect.js +3 -3
- package/dist/src/components/atoms/SearchSelect/SearchSelect.scss +222 -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.scss +48 -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.scss +90 -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.scss +31 -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.scss +27 -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.tsx +5 -5
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.js +2 -2
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.scss +22 -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.tsx +3 -3
- package/dist/src/components/atoms/TextArea/TextArea.js +2 -2
- package/dist/src/components/atoms/TextArea/TextArea.scss +103 -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.scss +59 -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.scss +54 -0
- package/dist/src/components/atoms/TopBar/TopBar.tsx +3 -3
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.js +1 -2
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.scss +48 -0
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.tsx +3 -6
- package/dist/src/components/atoms/TrustPilot/TrustPilot.js +2 -2
- package/dist/src/components/atoms/TrustPilot/TrustPilot.scss +11 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilot.tsx +3 -2
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.js +2 -2
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.scss +36 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.tsx +4 -3
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.js +1 -2
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.scss +32 -0
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.tsx +4 -3
- 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 +0 -4
- 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/ExpertCardList/ExpertCardList.scss +3 -2
- package/dist/src/components/molecules/FaqItem/FaqItem.scss +10 -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/organisms/AboutUsContent/AboutUsContent.scss +3 -3
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.scss +2 -2
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.scss +10 -10
- 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 +1 -2
- 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 -3
- 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/styles.scss +53 -4
- package/dist/src/globalStyles/themes.scss +0 -26
- package/dist/src/globalStyles/typography.scss +1 -1
- package/dist/src/globalStyles/variables.scss +6 -7
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.styled.d.ts +0 -1
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.styled.js +0 -24
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.styled.ts +0 -25
- package/dist/src/components/atoms/AddButton/AddButton.styled.d.ts +0 -1
- package/dist/src/components/atoms/AddButton/AddButton.styled.js +0 -48
- package/dist/src/components/atoms/AddButton/AddButton.styled.ts +0 -49
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.d.ts +0 -1
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.js +0 -55
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.ts +0 -56
- package/dist/src/components/atoms/BillCard/BillCard.styled.d.ts +0 -1
- package/dist/src/components/atoms/BillCard/BillCard.styled.js +0 -59
- package/dist/src/components/atoms/BillCard/BillCard.styled.ts +0 -60
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.styled.d.ts +0 -1
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.styled.js +0 -34
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.styled.ts +0 -35
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.styled.d.ts +0 -1
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.styled.js +0 -22
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.styled.ts +0 -23
- package/dist/src/components/atoms/CardPane/CardPane.styled.d.ts +0 -1
- package/dist/src/components/atoms/CardPane/CardPane.styled.js +0 -109
- package/dist/src/components/atoms/CardPane/CardPane.styled.ts +0 -110
- package/dist/src/components/atoms/Checkbox/Checkbox.styled.d.ts +0 -1
- package/dist/src/components/atoms/Checkbox/Checkbox.styled.js +0 -133
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.styled.d.ts +0 -1
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.styled.js +0 -120
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.styled.ts +0 -121
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.d.ts +0 -1
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.js +0 -82
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.ts +0 -83
- package/dist/src/components/atoms/Disclaimer/Disclaimer.styled.d.ts +0 -1
- package/dist/src/components/atoms/Disclaimer/Disclaimer.styled.js +0 -45
- package/dist/src/components/atoms/Disclaimer/Disclaimer.styled.ts +0 -46
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.styled.d.ts +0 -1
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.styled.js +0 -149
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.styled.ts +0 -150
- package/dist/src/components/atoms/Divider/Divider.styled.d.ts +0 -1
- package/dist/src/components/atoms/Divider/Divider.styled.js +0 -21
- package/dist/src/components/atoms/Divider/Divider.styled.ts +0 -22
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.d.ts +0 -1
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.js +0 -65
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.ts +0 -66
- package/dist/src/components/atoms/DocumentTag/DocumentTag.styled.d.ts +0 -1
- package/dist/src/components/atoms/DocumentTag/DocumentTag.styled.js +0 -12
- package/dist/src/components/atoms/DocumentTag/DocumentTag.styled.ts +0 -13
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.d.ts +0 -1
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.js +0 -66
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.ts +0 -67
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.styled.d.ts +0 -1
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.styled.js +0 -78
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.styled.ts +0 -79
- package/dist/src/components/atoms/FormFaq/FormFaq.styled.d.ts +0 -1
- package/dist/src/components/atoms/FormFaq/FormFaq.styled.js +0 -73
- package/dist/src/components/atoms/FormFaq/FormFaq.styled.ts +0 -74
- package/dist/src/components/atoms/GoogleButton/GoogleButton.styled.d.ts +0 -1
- package/dist/src/components/atoms/GoogleButton/GoogleButton.styled.js +0 -21
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.styled.d.ts +0 -1
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.styled.js +0 -5
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.styled.ts +0 -6
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.d.ts +0 -1
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.js +0 -76
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.ts +0 -77
- package/dist/src/components/atoms/InfoBox/InfoBox.styled.d.ts +0 -1
- package/dist/src/components/atoms/InfoBox/InfoBox.styled.js +0 -41
- package/dist/src/components/atoms/InfoBox/InfoBox.styled.ts +0 -42
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.styled.d.ts +0 -1
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.styled.js +0 -7
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.styled.ts +0 -8
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.styled.d.ts +0 -1
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.styled.js +0 -39
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.styled.ts +0 -40
- package/dist/src/components/atoms/LogoText/LogoText.styled.d.ts +0 -1
- package/dist/src/components/atoms/LogoText/LogoText.styled.js +0 -36
- package/dist/src/components/atoms/LogoText/LogoText.styled.ts +0 -37
- package/dist/src/components/atoms/MenuItems/MenuItems.styled.d.ts +0 -1
- package/dist/src/components/atoms/MenuItems/MenuItems.styled.js +0 -71
- package/dist/src/components/atoms/MenuItems/MenuItems.styled.ts +0 -72
- package/dist/src/components/atoms/Message/Message.styled.d.ts +0 -1
- package/dist/src/components/atoms/Message/Message.styled.js +0 -31
- package/dist/src/components/atoms/Message/Message.styled.ts +0 -32
- package/dist/src/components/atoms/MessageInformation/MessageInformation.styled.d.ts +0 -1
- package/dist/src/components/atoms/MessageInformation/MessageInformation.styled.js +0 -53
- package/dist/src/components/atoms/MessageInformation/MessageInformation.styled.ts +0 -54
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.styled.d.ts +0 -1
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.styled.js +0 -45
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.styled.ts +0 -46
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.styled.d.ts +0 -1
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.styled.js +0 -63
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.styled.ts +0 -64
- package/dist/src/components/atoms/PaypalButton/PaypalButton.styled.d.ts +0 -1
- package/dist/src/components/atoms/PaypalButton/PaypalButton.styled.js +0 -6
- package/dist/src/components/atoms/PaypalButton/PaypalButton.styled.ts +0 -7
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.styled.d.ts +0 -1
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.styled.js +0 -58
- package/dist/src/components/atoms/ProgressBar/ProgressBar.styled.d.ts +0 -1
- package/dist/src/components/atoms/ProgressBar/ProgressBar.styled.js +0 -23
- package/dist/src/components/atoms/ProgressBar/ProgressBar.styled.ts +0 -24
- package/dist/src/components/atoms/RemoveButton/RemoveButton.styled.d.ts +0 -1
- package/dist/src/components/atoms/RemoveButton/RemoveButton.styled.js +0 -43
- package/dist/src/components/atoms/RemoveButton/RemoveButton.styled.ts +0 -44
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.styled.d.ts +0 -1
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.styled.js +0 -55
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.styled.ts +0 -56
- package/dist/src/components/atoms/RichTextInner/RichTextInner.styled.d.ts +0 -1
- package/dist/src/components/atoms/RichTextInner/RichTextInner.styled.js +0 -38
- package/dist/src/components/atoms/RichTextInner/RichTextInner.styled.ts +0 -39
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.d.ts +0 -1
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.js +0 -9
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.ts +0 -10
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.d.ts +0 -1
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.js +0 -224
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.ts +0 -225
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.styled.d.ts +0 -1
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.styled.js +0 -48
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.styled.ts +0 -49
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.styled.d.ts +0 -1
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.styled.js +0 -92
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.styled.ts +0 -93
- package/dist/src/components/atoms/Spinner/Spinner.styled.d.ts +0 -1
- package/dist/src/components/atoms/Spinner/Spinner.styled.js +0 -28
- package/dist/src/components/atoms/Spinner/Spinner.styled.ts +0 -29
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.styled.d.ts +0 -1
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.styled.js +0 -28
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.styled.ts +0 -29
- package/dist/src/components/atoms/Tag/Tag.styled.d.ts +0 -1
- package/dist/src/components/atoms/Tag/Tag.styled.js +0 -24
- package/dist/src/components/atoms/Tag/Tag.styled.ts +0 -25
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.d.ts +0 -1
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.js +0 -20
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.ts +0 -21
- package/dist/src/components/atoms/Tagline/Tagline.styled.d.ts +0 -1
- package/dist/src/components/atoms/Tagline/Tagline.styled.js +0 -17
- package/dist/src/components/atoms/Tagline/Tagline.styled.ts +0 -18
- package/dist/src/components/atoms/TextArea/TextArea.styled.d.ts +0 -1
- package/dist/src/components/atoms/TextArea/TextArea.styled.js +0 -106
- package/dist/src/components/atoms/TextArea/TextArea.styled.ts +0 -107
- package/dist/src/components/atoms/Toggle/Toggle.styled.d.ts +0 -1
- package/dist/src/components/atoms/Toggle/Toggle.styled.js +0 -59
- package/dist/src/components/atoms/Toggle/Toggle.styled.ts +0 -60
- package/dist/src/components/atoms/TopBar/TopBar.styled.d.ts +0 -1
- package/dist/src/components/atoms/TopBar/TopBar.styled.js +0 -55
- package/dist/src/components/atoms/TopBar/TopBar.styled.ts +0 -56
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.d.ts +0 -1
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.js +0 -49
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.ts +0 -50
- package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.d.ts +0 -1
- package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.js +0 -12
- package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.ts +0 -13
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.styled.d.ts +0 -1
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.styled.js +0 -37
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.styled.ts +0 -38
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.styled.d.ts +0 -1
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.styled.js +0 -33
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.styled.ts +0 -34
- package/dist/src/globalStyles/variablesCss.scss +0 -14
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.tag-ratafia-item {
|
|
5
|
+
background: get-color(primary, main-light-6);
|
|
6
|
+
border-radius: 4px;
|
|
7
|
+
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
align-items: center;
|
|
11
|
+
gap: 0.25rem;
|
|
12
|
+
|
|
13
|
+
padding: 0.25rem 0.5rem;
|
|
14
|
+
|
|
15
|
+
&__icon {
|
|
16
|
+
height: 16px;
|
|
17
|
+
width: 16px;
|
|
18
|
+
}
|
|
19
|
+
&__description {
|
|
20
|
+
color: get-color(primary, main-dark-2);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
|
|
3
3
|
import { type TagRatafiaItemProps } from './TagRatafiaItemProps.types'
|
|
4
|
-
import
|
|
4
|
+
// import './TagRatafiaItem.scss'
|
|
5
5
|
|
|
6
6
|
export const TagRatafiaItem: React.FC<TagRatafiaItemProps> = ({ icon, description }) => {
|
|
7
7
|
return (
|
|
8
|
-
<
|
|
8
|
+
<div className={'tag-ratafia-item'}>
|
|
9
9
|
{icon !== null && <div className={'tag-ratafia-item__icon'}>{icon}</div>}
|
|
10
10
|
<span className='sans-serif --small tag-ratafia-item__description' itemProp='text'>
|
|
11
11
|
{description}
|
|
12
12
|
</span>
|
|
13
|
-
</
|
|
13
|
+
</div>
|
|
14
14
|
)
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
// import './Tagline.scss'
|
|
3
3
|
export const Tagline = ({ text }) => {
|
|
4
|
-
return (_jsx(
|
|
4
|
+
return (_jsx("div", { className: 'tagline', children: _jsx("span", { className: 'sans-serif --small tagline__text', children: text }) }));
|
|
5
5
|
};
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.tagline__text {
|
|
8
|
-
border-bottom: solid 1px
|
|
9
|
-
color:
|
|
8
|
+
border-bottom: solid 1px get-color(neutral, neutral-3);
|
|
9
|
+
color: get-color(neutral, neutral-2);
|
|
10
10
|
display: inline-block;
|
|
11
|
-
font-family:
|
|
11
|
+
font-family: $font-sans;
|
|
12
12
|
font-weight: bold;
|
|
13
13
|
letter-spacing: 0;
|
|
14
14
|
padding-bottom: 0.5rem;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
3
|
import { type TaglineProps } from './TaglineProps.types'
|
|
4
|
-
import
|
|
4
|
+
// import './Tagline.scss'
|
|
5
5
|
|
|
6
6
|
export const Tagline: FC<TaglineProps> = ({ text }) => {
|
|
7
7
|
return (
|
|
8
|
-
<
|
|
8
|
+
<div className='tagline'>
|
|
9
9
|
<span className='sans-serif --small tagline__text'>{text}</span>
|
|
10
|
-
</
|
|
10
|
+
</div>
|
|
11
11
|
)
|
|
12
12
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { TextAreaStyled } from './TextArea.styled';
|
|
3
2
|
import error from '../../../../images/svg/info-error_24px_outlined.svg';
|
|
3
|
+
// import './TextArea.scss'
|
|
4
4
|
const TextArea = ({ customClass = '', disabled, errorMessage, label, name, onChange, placeholder, tooltip, validate = false, value, dataQa }) => {
|
|
5
5
|
const classNames = `${validate ? 'e-textarea' : 'e-textarea --is-invalid'}
|
|
6
6
|
${customClass}`;
|
|
7
|
-
return (_jsxs(
|
|
7
|
+
return (_jsxs("div", { className: classNames, children: [tooltip !== undefined && _jsx("p", { className: 'tooltip-form sans-serif --small', children: tooltip }), errorMessage !== undefined && !validate && (_jsxs("span", { className: 'e-text--error sans-serif --small', children: [_jsx("img", { src: error, alt: errorMessage }), errorMessage] })), _jsx("textarea", { id: name, name: name, placeholder: placeholder, onChange: onChange, value: value, disabled: disabled, "data-qa": dataQa }), label !== undefined && (_jsx("div", { className: 'e-textarea__inner', children: _jsx("div", { className: 'inputLabel', children: label }) }))] }));
|
|
8
8
|
};
|
|
9
9
|
export default TextArea;
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables';
|
|
2
|
+
|
|
3
|
+
.e-textarea {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column-reverse;
|
|
6
|
+
|
|
7
|
+
textarea {
|
|
8
|
+
color: get-color(neutral, neutral-2);
|
|
9
|
+
background-color: get-color(neutral, neutral-6);
|
|
10
|
+
border-radius: 4px;
|
|
11
|
+
padding: 0.75rem 0 0.75rem 0.75rem;
|
|
12
|
+
font-size: 0.875rem;
|
|
13
|
+
height: 10rem;
|
|
14
|
+
border: none;
|
|
15
|
+
text-overflow: ellipsis;
|
|
16
|
+
transition: box-shadow 0.3s ease;
|
|
17
|
+
box-shadow: 0 0 0 1px get-color(neutral, neutral-3);
|
|
18
|
+
margin: 0.0005em;
|
|
19
|
+
outline: none;
|
|
20
|
+
resize: vertical;
|
|
21
|
+
|
|
22
|
+
&::placeholder {
|
|
23
|
+
color: get-color(neutral, neutral-2);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&:-ms-input-placeholder {
|
|
27
|
+
color: get-color(neutral, neutral-2);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&::-ms-input-placeholder {
|
|
31
|
+
color: get-color(neutral, neutral-2);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&:hover {
|
|
35
|
+
box-shadow: 0 0 0 1px get-color(neutral, neutral-2);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&:active,
|
|
39
|
+
&:focus {
|
|
40
|
+
box-shadow: 0 0 0 2px get-color(primary);
|
|
41
|
+
outline: none;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.--group-invalid {
|
|
46
|
+
input {
|
|
47
|
+
box-shadow: 0 0 0 2px get-color(error);
|
|
48
|
+
background-color: get-color(error, error-3);
|
|
49
|
+
|
|
50
|
+
&:active,
|
|
51
|
+
&:focus {
|
|
52
|
+
box-shadow: 0 0 0 2px get-color(primary);
|
|
53
|
+
outline: none;
|
|
54
|
+
background-color: get-color(neutral, neutral-6);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&.--is-invalid {
|
|
60
|
+
.e-text--error {
|
|
61
|
+
display: flex;
|
|
62
|
+
align-content: center;
|
|
63
|
+
bottom: -1.5rem;
|
|
64
|
+
margin-top: 0.5rem;
|
|
65
|
+
color: get-color(error);
|
|
66
|
+
|
|
67
|
+
img {
|
|
68
|
+
max-width: 20px;
|
|
69
|
+
margin-right: 0.25rem;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
textarea {
|
|
74
|
+
box-shadow: 0 0 0 2px get-color(error);
|
|
75
|
+
background-color: get-color(error, error-3);
|
|
76
|
+
|
|
77
|
+
&:active,
|
|
78
|
+
&:focus {
|
|
79
|
+
box-shadow: 0 0 0 2px get-color(primary);
|
|
80
|
+
outline: none;
|
|
81
|
+
background-color: get-color(neutral, neutral-6);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.input-icon {
|
|
87
|
+
position: absolute;
|
|
88
|
+
transform: translate(-15%, -65%);
|
|
89
|
+
right: 0;
|
|
90
|
+
bottom: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&__inner {
|
|
94
|
+
margin-bottom: 0;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.inputLabel {
|
|
98
|
+
font-weight: bold;
|
|
99
|
+
}
|
|
100
|
+
.tooltip-form {
|
|
101
|
+
margin-top: 0;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -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'
|
|
6
5
|
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
|
+
<div 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
|
+
</div>
|
|
48
48
|
)
|
|
49
49
|
}
|
|
50
50
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
// import './Toggle.scss'
|
|
3
3
|
const Toggle = ({ toggleAction, toggleCheck, label }) => {
|
|
4
|
-
return (_jsxs(
|
|
4
|
+
return (_jsxs("div", { 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,59 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.e-toggle {
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
color: get-color(others, black);
|
|
8
|
+
|
|
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: get-color(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
|
+
}
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import React, { type FC } from 'react'
|
|
3
3
|
|
|
4
4
|
import { type ToggleProps } from './ToggleProps.types'
|
|
5
|
-
import
|
|
5
|
+
// import './Toggle.scss'
|
|
6
6
|
|
|
7
7
|
const Toggle: FC<ToggleProps> = ({ toggleAction, toggleCheck, label }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<div 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
|
+
</div>
|
|
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: get-color(others, white);
|
|
6
|
+
border-radius: $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: $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: get-color(neutral, neutral-1);
|
|
19
|
+
color: get-color(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: get-color(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: get-color(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: get-color(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
|
-
import
|
|
3
|
+
// import './TopBar.scss'
|
|
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("div", { 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,54 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.top-bar-wrapper {
|
|
5
|
+
display: none;
|
|
6
|
+
height: 35px;
|
|
7
|
+
overflow: hidden;
|
|
8
|
+
transition: all 0.6s ease;
|
|
9
|
+
|
|
10
|
+
&.--is-hidden {
|
|
11
|
+
height: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@include landscape-tablets {
|
|
15
|
+
display: block;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@include mobile {
|
|
19
|
+
display: block;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.top-bar {
|
|
23
|
+
display: flex;
|
|
24
|
+
background-color: get-color(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 get-color(neutral, neutral-4);
|
|
32
|
+
|
|
33
|
+
@include mobile {
|
|
34
|
+
align-items: center;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&-content {
|
|
38
|
+
margin: 0 1rem 5px;
|
|
39
|
+
@include 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
|
+
}
|
|
@@ -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
|
-
import
|
|
5
|
+
// import './TopBar.scss'
|
|
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
|
+
<div 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
|
+
</div>
|
|
20
20
|
)
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect, useState } from 'react';
|
|
3
|
-
import { TopBarMobileStyled } from './TopBarMobile.styled';
|
|
4
3
|
export const TopBarMobile = ({ children, isVisible = false }) => {
|
|
5
4
|
const [isSSR, setIsSSR] = useState(false);
|
|
6
5
|
useEffect(() => {
|
|
7
6
|
setIsSSR(true);
|
|
8
7
|
}, []);
|
|
9
|
-
return isSSR ?
|
|
8
|
+
return isSSR ? _jsx("div", { className: `top-bar-mobile ${isVisible ? 'fade-In' : 'fade-Out'}`, children: children }) : null;
|
|
10
9
|
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
|
|
3
|
+
.top-bar-mobile {
|
|
4
|
+
background-color: get-color(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: $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
|
+
&.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
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { useEffect, useState } from 'react'
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
// import './TopBarMobile.scss'
|
|
3
4
|
|
|
4
5
|
interface TopBarMobileProps {
|
|
5
6
|
children: React.ReactNode
|
|
@@ -14,9 +15,5 @@ export const TopBarMobile: React.FC<TopBarMobileProps> = ({
|
|
|
14
15
|
useEffect(() => {
|
|
15
16
|
setIsSSR(true)
|
|
16
17
|
}, [])
|
|
17
|
-
return isSSR ?
|
|
18
|
-
<TopBarMobileStyled className={`top-bar-mobile ${isVisible ? 'fade-In' : 'fade-Out'}`}>
|
|
19
|
-
{children}
|
|
20
|
-
</TopBarMobileStyled>
|
|
21
|
-
) : null
|
|
18
|
+
return isSSR ? <div className={`top-bar-mobile ${isVisible ? 'fade-In' : 'fade-Out'}`}>{children}</div> : null
|
|
22
19
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
// import './TrustPilot.scss'
|
|
3
3
|
const Trustpilot = ({ children }) => {
|
|
4
|
-
return _jsx(
|
|
4
|
+
return _jsx("div", { className: 'trustpilot', children: children });
|
|
5
5
|
};
|
|
6
6
|
export default Trustpilot;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
import { type TrustPilotProps } from './TrustPilotProps.types'
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
// import './TrustPilot.scss'
|
|
4
5
|
|
|
5
6
|
const Trustpilot: FC<TrustPilotProps> = ({ children }) => {
|
|
6
|
-
return <
|
|
7
|
+
return <div className='trustpilot'>{children}</div>
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
export default Trustpilot
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
// import './WhyLawDistrictItems.scss'
|
|
3
3
|
export const WhyLawDistrictItems = ({ items }) => {
|
|
4
4
|
if (items.length === 0)
|
|
5
5
|
return null;
|
|
6
|
-
return (_jsx(
|
|
6
|
+
return (_jsx("ul", { 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,36 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.whyLawDistrictItems {
|
|
5
|
+
max-width: $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
|
+
@include landscape-tablets {
|
|
13
|
+
justify-content: space-between;
|
|
14
|
+
padding: 0 1rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&__item {
|
|
18
|
+
max-width: 100%;
|
|
19
|
+
color: get-color(neutral, neutral-2);
|
|
20
|
+
margin-bottom: 1rem;
|
|
21
|
+
padding: 0 1rem;
|
|
22
|
+
|
|
23
|
+
@include 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
|
+
@include landscape-tablets {
|
|
32
|
+
margin-top: 0;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
|
|
3
3
|
import { type WhyLawDistrictItemsProps } from './WhyLawDistrictItemsProps.types'
|
|
4
|
-
|
|
4
|
+
|
|
5
|
+
// import './WhyLawDistrictItems.scss'
|
|
5
6
|
|
|
6
7
|
export const WhyLawDistrictItems: React.FC<WhyLawDistrictItemsProps> = ({ items }) => {
|
|
7
8
|
if (items.length === 0) return null
|
|
8
9
|
|
|
9
10
|
return (
|
|
10
|
-
<
|
|
11
|
+
<ul className={'whyLawDistrictItems'}>
|
|
11
12
|
{items.map((item) => (
|
|
12
13
|
<li className={'whyLawDistrictItems__item'} key={item.id}>
|
|
13
14
|
{item.reasons}
|
|
14
15
|
</li>
|
|
15
16
|
))}
|
|
16
|
-
</
|
|
17
|
+
</ul>
|
|
17
18
|
)
|
|
18
19
|
}
|
|
19
20
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { WideInfoBarStyled } from './WideInfoBar.styled';
|
|
3
2
|
const WideInfoBar = ({ children, color }) => {
|
|
4
3
|
if (children === undefined)
|
|
5
4
|
return null;
|
|
6
|
-
return (_jsx(
|
|
5
|
+
return (_jsx("div", { className: `wide-info-bar ${color ?? ''}`, children: _jsx("div", { className: 'wide-info-bar__wrapper', children: children }) }));
|
|
7
6
|
};
|
|
8
7
|
export default WideInfoBar;
|