@npm_leadtech/legal-lib-components 5.2.31 → 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 -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/variablesCss.scss +0 -14
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.marker {
|
|
5
|
+
display: inline-block;
|
|
6
|
+
margin-left: -10px;
|
|
7
|
+
@-moz-document url-prefix() {
|
|
8
|
+
margin-left: 0px;
|
|
9
|
+
}
|
|
10
|
+
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
|
11
|
+
margin-left: 0px;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
.position {
|
|
15
|
+
margin-left: 2px;
|
|
16
|
+
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
|
17
|
+
margin-left: 15px;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
@-moz-document url-prefix() {
|
|
21
|
+
.position {
|
|
22
|
+
margin-left: 15px;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.pane {
|
|
27
|
+
align-items: flex-start;
|
|
28
|
+
border-top: 1px solid get-color(neutral, neutral-4);
|
|
29
|
+
display: flex;
|
|
30
|
+
font-family: $font-sans;
|
|
31
|
+
padding: 1.5rem 0;
|
|
32
|
+
flex-direction: row;
|
|
33
|
+
flex-wrap: wrap;
|
|
34
|
+
&-wrapper {
|
|
35
|
+
margin-top: 1rem;
|
|
36
|
+
padding-right: 0;
|
|
37
|
+
width: 100%;
|
|
38
|
+
@include portrait-tablets {
|
|
39
|
+
margin-top: 0;
|
|
40
|
+
padding-right: 0.875rem;
|
|
41
|
+
width: 50%;
|
|
42
|
+
}
|
|
43
|
+
@include landscape-tablets {
|
|
44
|
+
padding-right: 0.55rem;
|
|
45
|
+
}
|
|
46
|
+
@include laptop {
|
|
47
|
+
padding-right: 0.875rem;
|
|
48
|
+
}
|
|
49
|
+
&:first-child {
|
|
50
|
+
margin-top: 0;
|
|
51
|
+
}
|
|
52
|
+
&:nth-child(2) {
|
|
53
|
+
text-align: right;
|
|
54
|
+
@media (min-width: #{$xxs}) and (max-width: #{$sm}) {
|
|
55
|
+
text-align: left;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
&:nth-child(3) {
|
|
59
|
+
margin-top: 30px;
|
|
60
|
+
}
|
|
61
|
+
&:last-child {
|
|
62
|
+
padding-right: 0;
|
|
63
|
+
}
|
|
64
|
+
span {
|
|
65
|
+
display: block;
|
|
66
|
+
&.marker {
|
|
67
|
+
display: inline-block;
|
|
68
|
+
text-indent: -0.625rem;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
&--title {
|
|
73
|
+
color: get-color(neutral, neutral-2);
|
|
74
|
+
font-size: 0.875rem;
|
|
75
|
+
line-height: 1.29;
|
|
76
|
+
@include portrait-tablets {
|
|
77
|
+
font-size: 0.65rem;
|
|
78
|
+
}
|
|
79
|
+
@include landscape-tablets {
|
|
80
|
+
font-size: 0.75rem;
|
|
81
|
+
}
|
|
82
|
+
@include laptop {
|
|
83
|
+
font-size: 0.875rem;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
&--description {
|
|
87
|
+
color: get-color(neutral);
|
|
88
|
+
font-size: 1rem;
|
|
89
|
+
font-weight: 700;
|
|
90
|
+
letter-spacing: -0.3px;
|
|
91
|
+
line-height: 1.38;
|
|
92
|
+
margin-top: 2px;
|
|
93
|
+
|
|
94
|
+
&--active {
|
|
95
|
+
color: get-color(primary);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&--inactive {
|
|
99
|
+
color: get-color(error);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@include portrait-tablets {
|
|
104
|
+
flex-direction: row;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -3,17 +3,17 @@ import React, { type FC } from 'react'
|
|
|
3
3
|
|
|
4
4
|
import CardPaneInfo from './CardPaneInfo'
|
|
5
5
|
import { type CardPaneProps } from './CardPaneProps.types'
|
|
6
|
-
import
|
|
6
|
+
// import './CardPane.scss'
|
|
7
7
|
|
|
8
8
|
const CardPane: FC<CardPaneProps> = ({ data }) => {
|
|
9
9
|
if (data?.length === 0) return null
|
|
10
10
|
|
|
11
11
|
return (
|
|
12
|
-
<
|
|
12
|
+
<div className='pane'>
|
|
13
13
|
{data.map((item) => (
|
|
14
14
|
<CardPaneInfo key={item.id} {...item} />
|
|
15
15
|
))}
|
|
16
|
-
</
|
|
16
|
+
</div>
|
|
17
17
|
)
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
// import './Checkbox.scss'
|
|
3
3
|
const Checkbox = ({ name, className = '', value, validate = false, tooltip = undefined, isValidGroup = false, label = '', onChange, disabled, dataQa }) => {
|
|
4
4
|
const classStyle = `${validate ? 'e-checkbox' : 'e-checkbox --is-invalid'} ${className} ${!isValidGroup ? '--group-invalid' : ''} `;
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs("div", { className: classStyle, children: [tooltip !== undefined && _jsx("p", { className: 'tooltip-form sans-serif --small', children: tooltip }), _jsx("input", { type: 'checkbox', name: name, id: name, onChange: onChange, value: value === '1' ? value : '0', checked: value === '1', disabled: disabled, "data-qa": dataQa }), _jsx("label", { htmlFor: name, "data-qa": name, children: _jsx("span", { dangerouslySetInnerHTML: { __html: label } }) })] }));
|
|
6
6
|
};
|
|
7
7
|
export default Checkbox;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
.e-checkbox {
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: column-reverse;
|
|
7
7
|
justify-content: flex-end;
|
|
@@ -9,11 +9,9 @@ export const CheckboxStyled = styled.div`
|
|
|
9
9
|
font-size: 1rem;
|
|
10
10
|
margin-bottom: 0.5rem;
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
flex-flow: row nowrap;
|
|
16
|
-
}
|
|
12
|
+
&-wrapper {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-flow: row nowrap;
|
|
17
15
|
}
|
|
18
16
|
|
|
19
17
|
input {
|
|
@@ -41,14 +39,14 @@ export const CheckboxStyled = styled.div`
|
|
|
41
39
|
|
|
42
40
|
&:before {
|
|
43
41
|
content: '';
|
|
44
|
-
background-color:
|
|
45
|
-
border: 1px solid
|
|
42
|
+
background-color: get-color(others, white);
|
|
43
|
+
border: 1px solid get-color(neutral);
|
|
46
44
|
left: 1px;
|
|
47
45
|
position: absolute;
|
|
48
46
|
top: 0;
|
|
49
47
|
height: 1.5rem;
|
|
50
48
|
width: 1.5rem;
|
|
51
|
-
border-radius:
|
|
49
|
+
border-radius: $global-border-radius;
|
|
52
50
|
}
|
|
53
51
|
|
|
54
52
|
&:after {
|
|
@@ -68,7 +66,7 @@ export const CheckboxStyled = styled.div`
|
|
|
68
66
|
height: 20px;
|
|
69
67
|
left: 0.09rem;
|
|
70
68
|
top: 2px;
|
|
71
|
-
color:
|
|
69
|
+
color: get-color(primary);
|
|
72
70
|
}
|
|
73
71
|
}
|
|
74
72
|
|
|
@@ -83,7 +81,7 @@ export const CheckboxStyled = styled.div`
|
|
|
83
81
|
|
|
84
82
|
&:hover {
|
|
85
83
|
&:before {
|
|
86
|
-
background-color:
|
|
84
|
+
background-color: get-color(primary, main-light-5);
|
|
87
85
|
}
|
|
88
86
|
}
|
|
89
87
|
}
|
|
@@ -97,9 +95,9 @@ export const CheckboxStyled = styled.div`
|
|
|
97
95
|
}
|
|
98
96
|
|
|
99
97
|
&:before {
|
|
100
|
-
background-color:
|
|
101
|
-
border: 1.5px solid
|
|
102
|
-
border-radius:
|
|
98
|
+
background-color: get-color(primary, main-light-5);
|
|
99
|
+
border: 1.5px solid get-color(primary);
|
|
100
|
+
border-radius: $global-border-radius;
|
|
103
101
|
}
|
|
104
102
|
}
|
|
105
103
|
}
|
|
@@ -122,7 +120,7 @@ export const CheckboxStyled = styled.div`
|
|
|
122
120
|
&:not(:checked) + label,
|
|
123
121
|
&:checked + label {
|
|
124
122
|
&:before {
|
|
125
|
-
border: 2px solid
|
|
123
|
+
border: 2px solid get-color(error);
|
|
126
124
|
}
|
|
127
125
|
}
|
|
128
126
|
}
|
|
@@ -131,4 +129,4 @@ export const CheckboxStyled = styled.div`
|
|
|
131
129
|
.tooltip-form {
|
|
132
130
|
margin-top: 0;
|
|
133
131
|
}
|
|
134
|
-
|
|
132
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React, { type FC } from 'react'
|
|
3
3
|
|
|
4
4
|
import { type CheckboxProps } from './CheckboxProps.types'
|
|
5
|
-
import
|
|
5
|
+
// import './Checkbox.scss'
|
|
6
6
|
|
|
7
7
|
const Checkbox: FC<CheckboxProps> = ({
|
|
8
8
|
name,
|
|
@@ -21,7 +21,7 @@ const Checkbox: FC<CheckboxProps> = ({
|
|
|
21
21
|
} `
|
|
22
22
|
|
|
23
23
|
return (
|
|
24
|
-
<
|
|
24
|
+
<div className={classStyle}>
|
|
25
25
|
{tooltip !== undefined && <p className='tooltip-form sans-serif --small'>{tooltip}</p>}
|
|
26
26
|
<input
|
|
27
27
|
type='checkbox'
|
|
@@ -36,7 +36,7 @@ const Checkbox: FC<CheckboxProps> = ({
|
|
|
36
36
|
<label htmlFor={name} data-qa={name}>
|
|
37
37
|
<span dangerouslySetInnerHTML={{ __html: label }} />
|
|
38
38
|
</label>
|
|
39
|
-
</
|
|
39
|
+
</div>
|
|
40
40
|
)
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -6,7 +6,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
6
6
|
import DatePicker, { registerLocale } from 'react-datepicker';
|
|
7
7
|
import { useState } from 'react';
|
|
8
8
|
import { de } from 'date-fns/locale';
|
|
9
|
-
import
|
|
9
|
+
// import './DatePickerCustom.scss'
|
|
10
10
|
// import './DatepickerPlugin.scss'
|
|
11
11
|
registerLocale('de', de);
|
|
12
12
|
const DatePickerCustom = ({ class: className, dateFormat = 'MM/dd/yyyy', isStartDate = false, isValidGroup = false, label, locale = 'en', name, onChange, relatedDate, tooltip, type, validate = false, value }) => {
|
|
@@ -61,7 +61,7 @@ const DatePickerCustom = ({ class: className, dateFormat = 'MM/dd/yyyy', isStart
|
|
|
61
61
|
monthName
|
|
62
62
|
};
|
|
63
63
|
});
|
|
64
|
-
return (_jsxs(
|
|
64
|
+
return (_jsxs("div", { className: classStyle, "data-qa": name, children: [TooltipObject, _jsx(DatePicker, { locale: locale, dateFormat: dateFormat, renderCustomHeader: ({ date, changeYear, changeMonth, decreaseMonth, increaseMonth, prevMonthButtonDisabled, nextMonthButtonDisabled }) => (_jsxs("div", { style: {
|
|
65
65
|
margin: 10,
|
|
66
66
|
display: 'flex',
|
|
67
67
|
justifyContent: 'center'
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.e-datepicker {
|
|
5
|
+
max-width: 55%;
|
|
6
|
+
width: 100%;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-flow: column-reverse;
|
|
9
|
+
margin-bottom: 2rem;
|
|
10
|
+
&__inner {
|
|
11
|
+
margin-bottom: 0.5rem;
|
|
12
|
+
}
|
|
13
|
+
&__label {
|
|
14
|
+
font-weight: bold;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
ul li {
|
|
18
|
+
margin: 0;
|
|
19
|
+
|
|
20
|
+
&::before {
|
|
21
|
+
background-color: transparent;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.react-datepicker {
|
|
26
|
+
border: 0.5px solid get-color(neutral, neutral-4);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.react-datepicker__input-container input {
|
|
30
|
+
color: get-color(neutral, main);
|
|
31
|
+
border-radius: 4px;
|
|
32
|
+
font-size: 1rem;
|
|
33
|
+
background-color: get-color(neutral, neutral-4);
|
|
34
|
+
height: 40px;
|
|
35
|
+
width: 100%;
|
|
36
|
+
padding: 0.75rem 0 0.75rem 0.75rem;
|
|
37
|
+
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48IS0tR2VuZXJhdG9yOiBza2V0Y2h0b29sIDYwICgxMDEwMTApIC0gaHR0cHM6Ly9za2V0Y2guY29tLS0+PHRpdGxlPjNEODAzNjU0LUI3NjEtNEZEQy05MThDLTc1QzUwMjdEODcyMDwvdGl0bGU+PGRlc2M+Q3JlYXRlZCB3aXRoIHNrZXRjaHRvb2wuPC9kZXNjPjxkZWZzPjxwYXRoIGQ9Ik0yMiwzIEwxOSwzIEwxOSwxIEwxNywxIEwxNywzIEw3LDMgTDcsMSBMNSwxIEw1LDMgTDIsMyBMMiwyMyBMMjIsMjMgTDIyLDMgWiBNMjAsMjEgTDQsMjEgTDQsOCBMMjAsOCBMMjAsMjEgWiIgaWQ9InBhdGgtMSIvPjwvZGVmcz48ZyBpZD0iQXNzZXQtQXJ0Ym9hcmQtUGFnZSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGcgaWQ9Imljb24vbmF2aWdhdGlvbi9leHBhbmRfbW9yZV8yNHB4LWljb24vYWN0aW9uL2NhbGVuZGFyX3RvZGF5XzI0cHgiPjxtYXNrIGlkPSJtYXNrLTIiIGZpbGw9IndoaXRlIj48dXNlIHhsaW5rOmhyZWY9IiNwYXRoLTEiLz48L21hc2s+PGcgaWQ9Imljb24vYWN0aW9uL2NhbGVuZGFyX3RvZGF5XzI0cHgiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxnIGlkPSLihrMtQ29sb3ItY29sb3ItLy1JY29ucy0vLUJsYWNrLS8tSW5hY3RpdmUiIG1hc2s9InVybCgjbWFzay0yKSIgZmlsbD0iIzQzNDM0MyI+PHJlY3QgaWQ9IlJlY3RhbmdsZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9nPjwvZz48L2c+PC9zdmc+);
|
|
38
|
+
background-position: 95% 50%;
|
|
39
|
+
background-repeat: no-repeat;
|
|
40
|
+
transition: box-shadow 0.3s ease;
|
|
41
|
+
box-shadow: 0 0 0 0 get-color(primary, main-light-4);
|
|
42
|
+
margin: 0.0005em;
|
|
43
|
+
border: none;
|
|
44
|
+
|
|
45
|
+
&:focus {
|
|
46
|
+
outline: none;
|
|
47
|
+
box-shadow: 0 0 0 2px get-color(primary, main-light-1);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.react-datepicker__day {
|
|
52
|
+
font-size: 14px;
|
|
53
|
+
text-align: center;
|
|
54
|
+
border: 0.5px solid get-color(neutral, neutral-4);
|
|
55
|
+
width: 39px;
|
|
56
|
+
height: 38px;
|
|
57
|
+
border-collapse: collapse;
|
|
58
|
+
vertical-align: middle;
|
|
59
|
+
display: table-cell;
|
|
60
|
+
line-height: 1.7rem;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle::after {
|
|
64
|
+
border-bottom-color: get-color(others, white);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.react-datepicker__day--selected {
|
|
68
|
+
background-color: get-color(primary, main-light-2);
|
|
69
|
+
border: 1px double get-color(primary, main-light-2);
|
|
70
|
+
|
|
71
|
+
&:hover {
|
|
72
|
+
background-color: get-color(primary, main-light-2);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.react-datepicker__day--keyboard-selected {
|
|
77
|
+
background-color: inherit;
|
|
78
|
+
color: inherit;
|
|
79
|
+
|
|
80
|
+
&:hover {
|
|
81
|
+
border-radius: 0.3rem;
|
|
82
|
+
background-color: #f0f0f0;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.react-datepicker__month-container {
|
|
87
|
+
padding: 0 15px 15px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.react-datepicker__month {
|
|
91
|
+
margin: 0;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.react-datepicker__header {
|
|
95
|
+
background-color: inherit;
|
|
96
|
+
border: none;
|
|
97
|
+
|
|
98
|
+
button {
|
|
99
|
+
border: 0.5px solid get-color(neutral, neutral-4);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
select {
|
|
103
|
+
-webkit-appearance: menulist-button;
|
|
104
|
+
background-color: get-color(others, white);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.react-datepicker__day-name {
|
|
109
|
+
width: 33px;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.react-datepicker__day--outside-month {
|
|
113
|
+
color: get-color(neutral, neutral-3);
|
|
114
|
+
pointer-events: none;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -7,7 +7,7 @@ import React, { type FC, useState } from 'react'
|
|
|
7
7
|
import { de } from 'date-fns/locale'
|
|
8
8
|
|
|
9
9
|
import { type DatePickerCustomProps } from './DatePickerCustomProps.types'
|
|
10
|
-
import
|
|
10
|
+
// import './DatePickerCustom.scss'
|
|
11
11
|
// import './DatepickerPlugin.scss'
|
|
12
12
|
|
|
13
13
|
registerLocale('de', de)
|
|
@@ -95,7 +95,7 @@ const DatePickerCustom: FC<DatePickerCustomProps> = ({
|
|
|
95
95
|
})
|
|
96
96
|
|
|
97
97
|
return (
|
|
98
|
-
<
|
|
98
|
+
<div className={classStyle} data-qa={name}>
|
|
99
99
|
{TooltipObject}
|
|
100
100
|
<DatePicker
|
|
101
101
|
locale={locale}
|
|
@@ -167,7 +167,7 @@ const DatePickerCustom: FC<DatePickerCustomProps> = ({
|
|
|
167
167
|
<div className={'e-datepicker__inner'}>
|
|
168
168
|
<label className={'e-datepicker__label'}>{label}</label>
|
|
169
169
|
</div>
|
|
170
|
-
</
|
|
170
|
+
</div>
|
|
171
171
|
)
|
|
172
172
|
}
|
|
173
173
|
|