@npm_leadtech/legal-lib-components 5.2.8 → 5.2.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/styles.css +2855 -2437
- 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 +116 -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 +65 -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/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/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 +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 -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/styles.scss +53 -2
- package/dist/src/globalStyles/themes.scss +0 -26
- package/dist/src/globalStyles/typography.scss +1 -1
- package/dist/src/globalStyles/variables.scss +6 -22
- 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 -223
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.ts +0 -224
- 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/breakpoints.d.ts +0 -19
- package/dist/src/globalStyles/breakpoints.js +0 -17
- package/dist/src/globalStyles/breakpoints.ts +0 -28
package/dist/src/components/atoms/PopularDocsItem/{PopularDocsItem.styled.ts → PopularDocsItem.scss}
RENAMED
|
@@ -1,33 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
.popular-docs-item {
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: row;
|
|
7
7
|
align-items: center;
|
|
8
8
|
padding: 24px 16px 24px 24px;
|
|
9
|
-
gap:
|
|
9
|
+
gap: $global-gap * 2;
|
|
10
10
|
height: 6rem;
|
|
11
|
-
background:
|
|
12
|
-
box-shadow:
|
|
13
|
-
border-radius:
|
|
11
|
+
background: get-color(others, white);
|
|
12
|
+
box-shadow: $box-shadow-container;
|
|
13
|
+
border-radius: $global-border-radius;
|
|
14
14
|
text-decoration: none;
|
|
15
15
|
|
|
16
|
-
&:hover {
|
|
17
|
-
background-color: var(--neutral-neutral-5);
|
|
18
|
-
cursor: pointer;
|
|
19
|
-
|
|
20
|
-
.icon-left svg .main-fill {
|
|
21
|
-
fill: var(--primary-main);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@media ${device['landscape-tablets']} {
|
|
26
|
-
margin-left: 0.5rem;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
16
|
.category-icon svg {
|
|
30
|
-
fill:
|
|
17
|
+
fill: get-color(primary, main-dark-1);
|
|
31
18
|
}
|
|
32
19
|
|
|
33
20
|
.category-icon i {
|
|
@@ -41,7 +28,7 @@ export const PopularDocsItemStyled = styled.a`
|
|
|
41
28
|
width: 100%;
|
|
42
29
|
|
|
43
30
|
.description {
|
|
44
|
-
color:
|
|
31
|
+
color: get-color(neutral, neutral-2);
|
|
45
32
|
font-size: 12px;
|
|
46
33
|
line-height: 1.33;
|
|
47
34
|
margin-top: 0.3rem;
|
|
@@ -53,7 +40,20 @@ export const PopularDocsItemStyled = styled.a`
|
|
|
53
40
|
height: 40px;
|
|
54
41
|
|
|
55
42
|
.main-fill {
|
|
56
|
-
fill:
|
|
43
|
+
fill: get-color(neutral, neutral-4);
|
|
57
44
|
}
|
|
58
45
|
}
|
|
59
|
-
|
|
46
|
+
|
|
47
|
+
&:hover {
|
|
48
|
+
background-color: get-color(neutral, neutral-5);
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
|
|
51
|
+
.icon-left svg .main-fill {
|
|
52
|
+
fill: get-color(primary, main);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@include landscape-tablets {
|
|
57
|
+
margin-left: 0.5rem;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -2,12 +2,12 @@ import React from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { ChevronRight24px } from '../../../../images/componentsSvg/ChevronRight24px'
|
|
4
4
|
import { type PopularDocsItemProps } from './PopularDocsItemProps'
|
|
5
|
-
import { PopularDocsItemStyled } from './PopularDocsItem.styled'
|
|
6
5
|
import { getCategoryIcons } from '../../../utils/getCategoryIcons'
|
|
6
|
+
// import './PopularDocsItem.scss'
|
|
7
7
|
|
|
8
8
|
export const PopularDocsItem: React.FC<PopularDocsItemProps> = ({ title, description, slug, icon = null }) => {
|
|
9
9
|
return (
|
|
10
|
-
<
|
|
10
|
+
<a className='popular-docs-item' href={slug} data-qa={title.replace(/\s/g, '_')}>
|
|
11
11
|
<div className='category-icon'>{icon ?? getCategoryIcons(description, 35, 30)}</div>
|
|
12
12
|
<div className='texts'>
|
|
13
13
|
<div>
|
|
@@ -18,6 +18,6 @@ export const PopularDocsItem: React.FC<PopularDocsItemProps> = ({ title, descrip
|
|
|
18
18
|
<div className='icon-left'>
|
|
19
19
|
<ChevronRight24px />
|
|
20
20
|
</div>
|
|
21
|
-
</
|
|
21
|
+
</a>
|
|
22
22
|
)
|
|
23
23
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
// import './ProgressBar.scss'
|
|
3
3
|
const ProgressBar = ({ currentStep, allSteps }) => {
|
|
4
4
|
const currentProgress = (100 * currentStep) / allSteps.length;
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs("section", { className: 'progress__wrapper', children: [_jsx("div", { className: 'progressbar', style: { width: `${currentProgress}%` } }), _jsx("div", { className: 'progressbar__remain' })] }));
|
|
6
6
|
};
|
|
7
7
|
export default ProgressBar;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
|
|
3
|
+
.progress__wrapper {
|
|
4
|
+
position: absolute;
|
|
5
|
+
width: 100%;
|
|
6
|
+
top: 5.25rem;
|
|
7
|
+
left: 0;
|
|
8
|
+
height: 0.25rem;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.progressbar {
|
|
12
|
+
height: 100%;
|
|
13
|
+
background: get-color(primary);
|
|
14
|
+
transition: width 0.3s ease;
|
|
15
|
+
will-change: width;
|
|
16
|
+
}
|
|
17
|
+
.progressbar__remain {
|
|
18
|
+
position: absolute;
|
|
19
|
+
width: 100%;
|
|
20
|
+
height: 100%;
|
|
21
|
+
background: get-color(primary, main-light-5);
|
|
22
|
+
z-index: -1;
|
|
23
|
+
transform: translateY(-100%);
|
|
24
|
+
}
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import React, { type FC } from 'react'
|
|
3
3
|
|
|
4
4
|
import { type ProgressBarProps } from './ProgressBarProps.types'
|
|
5
|
-
import
|
|
5
|
+
// import './ProgressBar.scss'
|
|
6
6
|
|
|
7
7
|
const ProgressBar: FC<ProgressBarProps> = ({ currentStep, allSteps }) => {
|
|
8
8
|
const currentProgress = (100 * currentStep) / allSteps.length
|
|
9
9
|
|
|
10
10
|
return (
|
|
11
|
-
<
|
|
11
|
+
<section className={'progress__wrapper'}>
|
|
12
12
|
<div className={'progressbar'} style={{ width: `${currentProgress}%` }} />
|
|
13
13
|
<div className={'progressbar__remain'} />
|
|
14
|
-
</
|
|
14
|
+
</section>
|
|
15
15
|
)
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
flex-basis: 100%;
|
|
16
16
|
display: flex;
|
|
17
17
|
align-items: center;
|
|
18
|
-
color:
|
|
18
|
+
color: get-color(neutral);
|
|
19
19
|
font-size: 16px;
|
|
20
20
|
position: relative;
|
|
21
21
|
cursor: pointer;
|
|
@@ -29,21 +29,21 @@
|
|
|
29
29
|
|
|
30
30
|
&:not(:checked):hover + label {
|
|
31
31
|
&:before {
|
|
32
|
-
background-color:
|
|
32
|
+
background-color: get-color(primary, main-light-5);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
&:checked:hover + label {
|
|
37
37
|
&:before {
|
|
38
|
-
background-color:
|
|
38
|
+
background-color: get-color(primary);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
&:checked + label {
|
|
43
|
-
color:
|
|
43
|
+
color: get-color(primary);
|
|
44
44
|
text-shadow:
|
|
45
45
|
-0.02ex 0 get-color(primary),
|
|
46
|
-
0.02ex 0
|
|
46
|
+
0.02ex 0 get-color(primary);
|
|
47
47
|
|
|
48
48
|
&:before {
|
|
49
49
|
content: '';
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
left: -23px;
|
|
53
53
|
height: 1.25rem;
|
|
54
54
|
width: 1.25rem;
|
|
55
|
-
background-color:
|
|
56
|
-
border: 1px solid
|
|
55
|
+
background-color: get-color(primary);
|
|
56
|
+
border: 1px solid get-color(primary);
|
|
57
57
|
border-radius: 50%;
|
|
58
58
|
box-sizing: border-box;
|
|
59
59
|
}
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
width: 1.25rem;
|
|
89
89
|
border-radius: 50%;
|
|
90
90
|
background-color: transparent;
|
|
91
|
-
border: 1px solid
|
|
91
|
+
border: 1px solid get-color(neutral);
|
|
92
92
|
box-sizing: border-box;
|
|
93
93
|
}
|
|
94
94
|
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
width: 0.5rem;
|
|
102
102
|
opacity: 0;
|
|
103
103
|
transform: scale(0);
|
|
104
|
-
color:
|
|
104
|
+
color: get-color(others, white);
|
|
105
105
|
transition: all 0.1s;
|
|
106
106
|
content: '';
|
|
107
107
|
bottom: 0.5rem;
|
|
@@ -118,17 +118,17 @@
|
|
|
118
118
|
margin-bottom: 2rem;
|
|
119
119
|
width: 10rem;
|
|
120
120
|
margin-top: 1rem;
|
|
121
|
-
border: 1px solid
|
|
122
|
-
background:
|
|
123
|
-
border-radius:
|
|
121
|
+
border: 1px solid get-color(neutral, neutral-3);
|
|
122
|
+
background: get-color(neutral, neutral-6);
|
|
123
|
+
border-radius: $global-border-radius;
|
|
124
124
|
transition: all 0.3s ease;
|
|
125
125
|
|
|
126
126
|
.e-radio-label {
|
|
127
127
|
width: 100%;
|
|
128
128
|
display: flex;
|
|
129
|
-
border-right: 1px solid
|
|
130
|
-
border-top-left-radius:
|
|
131
|
-
border-bottom-left-radius:
|
|
129
|
+
border-right: 1px solid get-color(neutral, neutral-3);
|
|
130
|
+
border-top-left-radius: $global-border-radius;
|
|
131
|
+
border-bottom-left-radius: $global-border-radius;
|
|
132
132
|
|
|
133
133
|
&:last-child {
|
|
134
134
|
border-right: none;
|
|
@@ -146,29 +146,29 @@
|
|
|
146
146
|
transition: all 0.3s ease;
|
|
147
147
|
|
|
148
148
|
&:hover {
|
|
149
|
-
background:
|
|
149
|
+
background: get-color(neutral, neutral-4);
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
&:checked + label {
|
|
154
154
|
font-weight: bold;
|
|
155
|
-
color:
|
|
155
|
+
color: get-color(others, white);
|
|
156
156
|
width: 100%;
|
|
157
157
|
cursor: pointer;
|
|
158
158
|
transition: all 0.3s ease;
|
|
159
|
-
background-color:
|
|
159
|
+
background-color: get-color(primary);
|
|
160
160
|
text-align: center;
|
|
161
161
|
padding: 10px;
|
|
162
162
|
|
|
163
163
|
&:hover {
|
|
164
|
-
background-color:
|
|
164
|
+
background-color: get-color(primary);
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
&:not(:checked) + label {
|
|
169
169
|
text-align: center;
|
|
170
170
|
width: 100%;
|
|
171
|
-
color:
|
|
171
|
+
color: get-color(neutral, neutral-1);
|
|
172
172
|
font-weight: bold;
|
|
173
173
|
padding: 10px;
|
|
174
174
|
}
|
|
@@ -197,8 +197,8 @@
|
|
|
197
197
|
min-width: 80px;
|
|
198
198
|
min-height: 3.5rem;
|
|
199
199
|
margin-bottom: 0.5rem;
|
|
200
|
-
border-radius:
|
|
201
|
-
border-color:
|
|
200
|
+
border-radius: $global-border-radius;
|
|
201
|
+
border-color: get-color(neutral, neutral-4);
|
|
202
202
|
cursor: pointer;
|
|
203
203
|
}
|
|
204
204
|
|
|
@@ -212,12 +212,12 @@
|
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
.radio-item-container.active {
|
|
215
|
-
border: 2px solid
|
|
216
|
-
background-color:
|
|
215
|
+
border: 2px solid get-color(primary, main-dark-1);
|
|
216
|
+
background-color: get-color(neutral, neutral-5);
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
.radio-item-container:hover {
|
|
220
|
-
background-color:
|
|
220
|
+
background-color: get-color(neutral, neutral-5);
|
|
221
221
|
font-weight: bold;
|
|
222
222
|
}
|
|
223
223
|
|
|
@@ -276,7 +276,7 @@
|
|
|
276
276
|
input {
|
|
277
277
|
& + label {
|
|
278
278
|
&:before {
|
|
279
|
-
border-color:
|
|
279
|
+
border-color: get-color(error);
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
}
|
|
@@ -285,11 +285,11 @@
|
|
|
285
285
|
&.--tabs,
|
|
286
286
|
&.--group-invalid {
|
|
287
287
|
.e-radio__inner {
|
|
288
|
-
border: 1px solid
|
|
288
|
+
border: 1px solid get-color(error);
|
|
289
289
|
|
|
290
290
|
label {
|
|
291
291
|
label {
|
|
292
|
-
border-right: 1px solid
|
|
292
|
+
border-right: 1px solid get-color(error);
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
&:last-child {
|
|
@@ -304,7 +304,7 @@
|
|
|
304
304
|
}
|
|
305
305
|
|
|
306
306
|
.radio-group__label {
|
|
307
|
-
color:
|
|
307
|
+
color: get-color(neutral, neutral-1);
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
.e-radio.radio--small.--tabs {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
// import './RemoveButton.scss'
|
|
3
3
|
const RemoveButton = ({ label = '', className = '', items, name = '', onChange = () => { }, value, disabled = false, tooltip = undefined }) => {
|
|
4
4
|
const fieldLabel = label;
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs("div", { className: `e-removeButton ${className}`, children: [items.removeButton.value !== '' && (_jsxs("div", { className: 'e-removeButton__inner', children: [_jsx("input", { type: 'radio', id: `${name}_${items.removeButton.value}`, name: name, onChange: onChange, value: items.removeButton.value, checked: items.removeButton.value === value, disabled: disabled, "data-qa": `${name}_${items.removeButton.value}` }), _jsx("label", { htmlFor: `${name}_${items.removeButton.value}`, children: fieldLabel })] })), tooltip !== undefined && _jsx("p", { className: 'tooltip sans-serif --extra-small', children: tooltip })] }));
|
|
6
6
|
};
|
|
7
7
|
export default RemoveButton;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.e-removeButton {
|
|
5
|
+
display: inline-block;
|
|
6
|
+
|
|
7
|
+
&__inner {
|
|
8
|
+
display: inline-block;
|
|
9
|
+
margin-top: 1rem;
|
|
10
|
+
color: get-color(error);
|
|
11
|
+
|
|
12
|
+
border-radius: $global-border-radius;
|
|
13
|
+
transition: all 0.3s ease;
|
|
14
|
+
|
|
15
|
+
label {
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-basis: 100%;
|
|
18
|
+
align-items: center;
|
|
19
|
+
position: relative;
|
|
20
|
+
border: 1px solid get-color(error);
|
|
21
|
+
border-radius: 4px;
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
padding: 0.75rem 1rem;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&:hover {
|
|
27
|
+
background-color: get-color(error, error-3);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
input {
|
|
32
|
+
position: absolute;
|
|
33
|
+
left: -9999px;
|
|
34
|
+
|
|
35
|
+
&:checked + label {
|
|
36
|
+
border-radius: $global-border-radius;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
& + label {
|
|
40
|
+
font-weight: bold;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React, { type FC } from 'react'
|
|
3
3
|
|
|
4
4
|
import { type RemoveButtonProps } from './RemoveButtonProps.types'
|
|
5
|
-
import
|
|
5
|
+
// import './RemoveButton.scss'
|
|
6
6
|
|
|
7
7
|
const RemoveButton: FC<RemoveButtonProps> = ({
|
|
8
8
|
label = '',
|
|
@@ -17,7 +17,7 @@ const RemoveButton: FC<RemoveButtonProps> = ({
|
|
|
17
17
|
const fieldLabel = label
|
|
18
18
|
|
|
19
19
|
return (
|
|
20
|
-
<
|
|
20
|
+
<div className={`e-removeButton ${className}`}>
|
|
21
21
|
{items.removeButton.value !== '' && (
|
|
22
22
|
<div className={'e-removeButton__inner'}>
|
|
23
23
|
<input
|
|
@@ -34,7 +34,7 @@ const RemoveButton: FC<RemoveButtonProps> = ({
|
|
|
34
34
|
</div>
|
|
35
35
|
)}
|
|
36
36
|
{tooltip !== undefined && <p className={'tooltip sans-serif --extra-small'}>{tooltip}</p>}
|
|
37
|
-
</
|
|
37
|
+
</div>
|
|
38
38
|
)
|
|
39
39
|
}
|
|
40
40
|
|
package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
// import './ReviewKeyFactsResultRatafia.scss'
|
|
3
3
|
export const ReviewKeyFactsResultRatafia = ({ reviewQuestion, reviewPositiveIcon, reviewPositiveText, handleOnClickReviewPositive, reviewPositiveDataQa = true, reviewNegativeIcon, reviewNegativeText, handleOnClickReviewNegative, reviewNegativeDataQa, reviewFeedbackText, review }) => {
|
|
4
|
-
return (_jsx(
|
|
4
|
+
return (_jsx("div", { className: 'review-key-facts-result', children: review === null ? (_jsxs("div", { className: 'review-key-facts-result__review', children: [_jsx("p", { className: 'sans-serif review-key-facts-result__review__question', children: reviewQuestion }), _jsxs("div", { className: 'review-key-facts-result__review__buttons', children: [_jsxs("button", { className: 'review-key-facts-result__review__buttons__item', onClick: handleOnClickReviewPositive, "data-qa": reviewPositiveDataQa, children: [_jsx("div", { className: 'review-key-facts-result__review__buttons__item__icon', children: reviewPositiveIcon }), _jsx("p", { className: 'sans-serif --small review-key-facts-result__review__buttons__item__text positive', children: reviewPositiveText })] }), _jsxs("button", { className: 'review-key-facts-result__review__buttons__item', onClick: handleOnClickReviewNegative, "data-qa": reviewNegativeDataQa, children: [_jsx("div", { className: 'review-key-facts-result__review__buttons__item__icon', children: reviewNegativeIcon }), _jsx("p", { className: 'sans-serif --small review-key-facts-result__review__buttons__item__text negative', children: reviewNegativeText })] })] })] })) : (_jsx("div", { className: 'review-key-facts-result__review', children: _jsx("p", { className: 'sans-serif --small review-key-facts-result__review__question', children: reviewFeedbackText }) })) }));
|
|
5
5
|
};
|
|
6
6
|
export default ReviewKeyFactsResultRatafia;
|
package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.scss
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.review-key-facts-result {
|
|
5
|
+
&__review {
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: start;
|
|
8
|
+
align-items: center;
|
|
9
|
+
gap: 1rem;
|
|
10
|
+
|
|
11
|
+
border-radius: 4px;
|
|
12
|
+
background: get-color(others, white);
|
|
13
|
+
|
|
14
|
+
&__question {
|
|
15
|
+
color: get-color(neutral, neutral-1);
|
|
16
|
+
font-size: 0.75rem;
|
|
17
|
+
@include portrait-tablets {
|
|
18
|
+
font-size: 0.875rem;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__buttons {
|
|
23
|
+
display: flex;
|
|
24
|
+
justify-content: center;
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: 0.5rem;
|
|
27
|
+
|
|
28
|
+
&__item {
|
|
29
|
+
display: flex;
|
|
30
|
+
padding: 0.25rem 0.5rem;
|
|
31
|
+
justify-content: center;
|
|
32
|
+
align-items: center;
|
|
33
|
+
gap: 0.25rem;
|
|
34
|
+
flex: 1 0 0;
|
|
35
|
+
|
|
36
|
+
border: none;
|
|
37
|
+
border-radius: 4px;
|
|
38
|
+
background: get-color(neutral, neutral-6);
|
|
39
|
+
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
|
|
42
|
+
&__icon {
|
|
43
|
+
width: 14px;
|
|
44
|
+
}
|
|
45
|
+
.positive {
|
|
46
|
+
color: get-color(primary, main);
|
|
47
|
+
}
|
|
48
|
+
.negative {
|
|
49
|
+
color: get-color(error, main);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
|
|
3
3
|
import { type ReviewKeyFactsResultRatafiaProps } from './ReviewKeyFactsResultRatafiaProps.types'
|
|
4
|
-
import
|
|
4
|
+
// import './ReviewKeyFactsResultRatafia.scss'
|
|
5
5
|
|
|
6
6
|
export const ReviewKeyFactsResultRatafia: React.FC<ReviewKeyFactsResultRatafiaProps> = ({
|
|
7
7
|
reviewQuestion,
|
|
@@ -17,7 +17,7 @@ export const ReviewKeyFactsResultRatafia: React.FC<ReviewKeyFactsResultRatafiaPr
|
|
|
17
17
|
review
|
|
18
18
|
}) => {
|
|
19
19
|
return (
|
|
20
|
-
<
|
|
20
|
+
<div className='review-key-facts-result'>
|
|
21
21
|
{review === null ? (
|
|
22
22
|
<div className='review-key-facts-result__review'>
|
|
23
23
|
<p className='sans-serif review-key-facts-result__review__question'>{reviewQuestion}</p>
|
|
@@ -49,7 +49,7 @@ export const ReviewKeyFactsResultRatafia: React.FC<ReviewKeyFactsResultRatafiaPr
|
|
|
49
49
|
<p className='sans-serif --small review-key-facts-result__review__question'>{reviewFeedbackText}</p>
|
|
50
50
|
</div>
|
|
51
51
|
)}
|
|
52
|
-
</
|
|
52
|
+
</div>
|
|
53
53
|
)
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
const RichTextInner = ({ children, customClass = '' }) => (_jsx(
|
|
2
|
+
// import './RichTextInner.scss'
|
|
3
|
+
const RichTextInner = ({ children, customClass = '' }) => (_jsx("div", { className: `rich-text ${customClass}`, children: children }));
|
|
4
4
|
export default RichTextInner;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
.rich-text {
|
|
2
|
+
& > p {
|
|
3
|
+
margin-bottom: 1rem;
|
|
4
|
+
}
|
|
5
|
+
& p {
|
|
6
|
+
& > a {
|
|
7
|
+
text-decoration: underline;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
p + h1,
|
|
12
|
+
p + h2,
|
|
13
|
+
p + h3,
|
|
14
|
+
p + h4,
|
|
15
|
+
p + h5,
|
|
16
|
+
p + h6 {
|
|
17
|
+
margin-top: 2.5rem;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
ul + p,
|
|
21
|
+
ol + p,
|
|
22
|
+
ul + h1,
|
|
23
|
+
ul + h2,
|
|
24
|
+
ul + h3,
|
|
25
|
+
ul + h4,
|
|
26
|
+
ul + h5,
|
|
27
|
+
ul + h6 {
|
|
28
|
+
margin-top: 2rem;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.scroll-top-anchor {
|
|
32
|
+
cursor: pointer;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
3
|
import { type RichTextInnerProps } from './RichTextInnerProps.types'
|
|
4
|
-
import
|
|
4
|
+
// import './RichTextInner.scss'
|
|
5
5
|
|
|
6
6
|
const RichTextInner: FC<RichTextInnerProps> = ({ children, customClass = '' }) => (
|
|
7
|
-
<
|
|
7
|
+
<div className={`rich-text ${customClass}`}>{children}</div>
|
|
8
8
|
)
|
|
9
9
|
|
|
10
10
|
export default RichTextInner
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { RichTextStrapiStyled } from './RichTextStrapi.styled';
|
|
3
2
|
import { useFormattedText } from './useFormattedText';
|
|
3
|
+
// import './RichTextStrapi.scss'
|
|
4
4
|
export const RichTextStrapi = ({ html = '', className = '', medias = [] }) => {
|
|
5
5
|
const { text } = useFormattedText(html, medias);
|
|
6
6
|
if (html.length === 0)
|
|
7
7
|
return null;
|
|
8
|
-
return
|
|
8
|
+
return _jsx("div", { className: `richt-text-strapi m-richText ${className}`, dangerouslySetInnerHTML: { __html: text } });
|
|
9
9
|
};
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
3
|
import { type RichTextStrapiProps } from './RichTextStrapiProps'
|
|
4
|
-
import { RichTextStrapiStyled } from './RichTextStrapi.styled'
|
|
5
4
|
import { useFormattedText } from './useFormattedText'
|
|
5
|
+
// import './RichTextStrapi.scss'
|
|
6
6
|
|
|
7
7
|
export const RichTextStrapi: FC<RichTextStrapiProps> = ({ html = '', className = '', medias = [] }) => {
|
|
8
8
|
const { text } = useFormattedText(html, medias)
|
|
9
9
|
if (html.length === 0) return null
|
|
10
10
|
|
|
11
|
-
return
|
|
12
|
-
<RichTextStrapiStyled
|
|
13
|
-
className={`richt-text-strapi m-richText ${className}`}
|
|
14
|
-
dangerouslySetInnerHTML={{ __html: text }}
|
|
15
|
-
></RichTextStrapiStyled>
|
|
16
|
-
)
|
|
11
|
+
return <div className={`richt-text-strapi m-richText ${className}`} dangerouslySetInnerHTML={{ __html: text }}></div>
|
|
17
12
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import Select from 'react-select';
|
|
3
|
-
import { SearchSelectStyled } from './SearchSelect.styled';
|
|
4
3
|
import classNames from 'classnames';
|
|
5
4
|
import error from '../../../../images/svg/info-error_24px_outlined.svg';
|
|
5
|
+
// import './SearchSelect.scss'
|
|
6
6
|
export var MenuPlacement;
|
|
7
7
|
(function (MenuPlacement) {
|
|
8
8
|
MenuPlacement["top"] = "top";
|
|
@@ -41,7 +41,7 @@ const SearchSelect = (props) => {
|
|
|
41
41
|
props.onChange(selectObject);
|
|
42
42
|
};
|
|
43
43
|
const TooltipObject = props.tooltip && typeof props.tooltip === 'string' ? (_jsx("p", { className: 'tooltip-form sans-serif --small', children: props.tooltip })) : ('');
|
|
44
|
-
return (_jsxs(
|
|
44
|
+
return (_jsxs(_Fragment, { children: [props.label && (_jsx("div", { className: 'e-searchselect__inner', children: _jsx("label", { className: 'searchselect__label', children: props.label }) })), _jsxs("div", { className: `${classnames} ${props.width ? 'width' : ''}`, "data-qa": props.dataQA ?? props.name, children: [TooltipObject, _jsxs("span", { className: 'e-searchselect--error sans-serif --small', children: [_jsx("img", { src: error, alt: props.errorMessage, width: '24', height: '24' }), props.errorMessage] }), _jsx(Select, { styles: {
|
|
45
45
|
control: (baseStyles, state) => {
|
|
46
46
|
return {
|
|
47
47
|
...baseStyles,
|