@npm_leadtech/legal-lib-components 5.2.22 → 5.2.31
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 +541 -2829
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.js +2 -1
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.styled.d.ts +1 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.styled.js +24 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.styled.ts +25 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.tsx +7 -2
- package/dist/src/components/atoms/AddButton/AddButton.js +2 -1
- package/dist/src/components/atoms/AddButton/AddButton.styled.d.ts +1 -0
- package/dist/src/components/atoms/AddButton/AddButton.styled.js +48 -0
- package/dist/src/components/atoms/AddButton/AddButton.styled.ts +49 -0
- package/dist/src/components/atoms/AddButton/AddButton.tsx +3 -2
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.js +2 -2
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.d.ts +1 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.js +55 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.ts +56 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.tsx +3 -3
- package/dist/src/components/atoms/BillCard/BillCard.js +2 -1
- package/dist/src/components/atoms/BillCard/BillCard.styled.d.ts +1 -0
- package/dist/src/components/atoms/BillCard/BillCard.styled.js +59 -0
- package/dist/src/components/atoms/BillCard/BillCard.styled.ts +60 -0
- package/dist/src/components/atoms/BillCard/BillCard.tsx +3 -2
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.js +2 -1
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.styled.d.ts +1 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.styled.js +34 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.styled.ts +35 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.tsx +2 -2
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.js +2 -1
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.styled.d.ts +1 -0
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.styled.js +22 -0
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.styled.ts +23 -0
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.tsx +3 -3
- package/dist/src/components/atoms/Button/Button.scss +28 -28
- package/dist/src/components/atoms/ButtonIcon/ButtonIcon.scss +6 -6
- package/dist/src/components/atoms/CardPane/CardPane.js +2 -2
- package/dist/src/components/atoms/CardPane/CardPane.styled.d.ts +1 -0
- package/dist/src/components/atoms/CardPane/CardPane.styled.js +109 -0
- package/dist/src/components/atoms/CardPane/CardPane.styled.ts +110 -0
- package/dist/src/components/atoms/CardPane/CardPane.tsx +3 -3
- package/dist/src/components/atoms/Checkbox/Checkbox.js +2 -2
- package/dist/src/components/atoms/Checkbox/Checkbox.styled.d.ts +1 -0
- package/dist/src/components/atoms/Checkbox/Checkbox.styled.js +133 -0
- package/dist/src/components/atoms/Checkbox/{Checkbox.scss → Checkbox.styled.ts} +18 -16
- package/dist/src/components/atoms/Checkbox/Checkbox.tsx +3 -3
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.js +2 -2
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.styled.d.ts +1 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.styled.js +120 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.styled.ts +121 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.tsx +3 -3
- package/dist/src/components/atoms/DatePickerCustom/index.js.map +4 -4
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.js +6 -5
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.scss +3 -3
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.d.ts +1 -0
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.js +82 -0
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.ts +83 -0
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.tsx +19 -16
- package/dist/src/components/atoms/Disclaimer/Disclaimer.js +2 -2
- package/dist/src/components/atoms/Disclaimer/Disclaimer.styled.d.ts +1 -0
- package/dist/src/components/atoms/Disclaimer/Disclaimer.styled.js +45 -0
- package/dist/src/components/atoms/Disclaimer/Disclaimer.styled.ts +46 -0
- package/dist/src/components/atoms/Disclaimer/Disclaimer.tsx +3 -3
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.js +2 -2
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.styled.d.ts +1 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.styled.js +149 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.styled.ts +150 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.tsx +3 -3
- package/dist/src/components/atoms/Divider/Divider.js +2 -2
- package/dist/src/components/atoms/Divider/Divider.styled.d.ts +1 -0
- package/dist/src/components/atoms/Divider/Divider.styled.js +21 -0
- package/dist/src/components/atoms/Divider/Divider.styled.ts +22 -0
- package/dist/src/components/atoms/Divider/Divider.tsx +3 -3
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.js +4 -4
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.d.ts +1 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.js +65 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.ts +66 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.tsx +7 -7
- package/dist/src/components/atoms/DocumentTag/DocumentTag.js +2 -2
- package/dist/src/components/atoms/DocumentTag/DocumentTag.styled.d.ts +1 -0
- package/dist/src/components/atoms/DocumentTag/DocumentTag.styled.js +12 -0
- package/dist/src/components/atoms/DocumentTag/DocumentTag.styled.ts +13 -0
- package/dist/src/components/atoms/DocumentTag/DocumentTag.tsx +2 -2
- package/dist/src/components/atoms/ExpertCard/ExpertCard.js +2 -2
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.d.ts +1 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.js +66 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.ts +67 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCard.tsx +3 -3
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.js +2 -2
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.styled.d.ts +1 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.styled.js +78 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.styled.ts +79 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.tsx +3 -3
- package/dist/src/components/atoms/FormFaq/FormFaq.js +2 -2
- package/dist/src/components/atoms/FormFaq/FormFaq.styled.d.ts +1 -0
- package/dist/src/components/atoms/FormFaq/FormFaq.styled.js +73 -0
- package/dist/src/components/atoms/FormFaq/FormFaq.styled.ts +74 -0
- package/dist/src/components/atoms/FormFaq/FormFaq.tsx +3 -3
- package/dist/src/components/atoms/GoogleButton/GoogleButton.js +2 -2
- package/dist/src/components/atoms/GoogleButton/GoogleButton.styled.d.ts +1 -0
- package/dist/src/components/atoms/GoogleButton/GoogleButton.styled.js +21 -0
- package/dist/src/components/atoms/GoogleButton/{GoogleButton.scss → GoogleButton.styled.ts} +5 -5
- package/dist/src/components/atoms/GoogleButton/GoogleButton.tsx +3 -3
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.js +2 -2
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.styled.d.ts +1 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.styled.js +5 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.styled.ts +6 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.tsx +2 -3
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.js +2 -2
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.d.ts +1 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.js +76 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.ts +77 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.tsx +3 -4
- package/dist/src/components/atoms/InfoBox/InfoBox.js +2 -2
- package/dist/src/components/atoms/InfoBox/InfoBox.styled.d.ts +1 -0
- package/dist/src/components/atoms/InfoBox/InfoBox.styled.js +41 -0
- package/dist/src/components/atoms/InfoBox/InfoBox.styled.ts +42 -0
- package/dist/src/components/atoms/InfoBox/InfoBox.tsx +3 -3
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.js +2 -2
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.styled.d.ts +1 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.styled.js +7 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.styled.ts +8 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.tsx +3 -3
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.js +2 -2
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.styled.d.ts +1 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.styled.js +39 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.styled.ts +40 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.tsx +3 -3
- package/dist/src/components/atoms/LogoText/LogoText.js +2 -2
- package/dist/src/components/atoms/LogoText/LogoText.styled.d.ts +1 -0
- package/dist/src/components/atoms/LogoText/LogoText.styled.js +36 -0
- package/dist/src/components/atoms/LogoText/LogoText.styled.ts +37 -0
- package/dist/src/components/atoms/LogoText/LogoText.tsx +5 -5
- package/dist/src/components/atoms/MenuItems/MenuItems.js +2 -1
- package/dist/src/components/atoms/MenuItems/MenuItems.styled.d.ts +1 -0
- package/dist/src/components/atoms/MenuItems/MenuItems.styled.js +71 -0
- package/dist/src/components/atoms/MenuItems/MenuItems.styled.ts +72 -0
- package/dist/src/components/atoms/MenuItems/MenuItems.tsx +3 -2
- package/dist/src/components/atoms/Message/Message.js +2 -2
- package/dist/src/components/atoms/Message/Message.styled.d.ts +1 -0
- package/dist/src/components/atoms/Message/Message.styled.js +31 -0
- package/dist/src/components/atoms/Message/Message.styled.ts +32 -0
- package/dist/src/components/atoms/Message/Message.tsx +3 -3
- package/dist/src/components/atoms/MessageInformation/MessageInformation.js +2 -2
- package/dist/src/components/atoms/MessageInformation/MessageInformation.styled.d.ts +1 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformation.styled.js +53 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformation.styled.ts +54 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformation.tsx +4 -5
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.js +2 -2
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.styled.d.ts +1 -0
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.styled.js +45 -0
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.styled.ts +46 -0
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.tsx +3 -3
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.js +3 -3
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.styled.d.ts +1 -0
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.styled.js +63 -0
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.styled.ts +64 -0
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.tsx +6 -6
- package/dist/src/components/atoms/PaypalButton/PaypalButton.js +2 -2
- package/dist/src/components/atoms/PaypalButton/PaypalButton.styled.d.ts +1 -0
- package/dist/src/components/atoms/PaypalButton/PaypalButton.styled.js +6 -0
- package/dist/src/components/atoms/PaypalButton/PaypalButton.styled.ts +7 -0
- package/dist/src/components/atoms/PaypalButton/PaypalButton.tsx +3 -3
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.js +2 -2
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.styled.d.ts +1 -0
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.styled.js +58 -0
- package/dist/src/components/atoms/PopularDocsItem/{PopularDocsItem.scss → PopularDocsItem.styled.ts} +24 -24
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.tsx +3 -3
- package/dist/src/components/atoms/ProgressBar/ProgressBar.js +2 -2
- package/dist/src/components/atoms/ProgressBar/ProgressBar.styled.d.ts +1 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBar.styled.js +23 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBar.styled.ts +24 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBar.tsx +3 -3
- package/dist/src/components/atoms/Radio/Radio.scss +29 -29
- package/dist/src/components/atoms/RemoveButton/RemoveButton.js +2 -2
- package/dist/src/components/atoms/RemoveButton/RemoveButton.styled.d.ts +1 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButton.styled.js +43 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButton.styled.ts +44 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButton.tsx +3 -3
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.js +2 -2
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.styled.d.ts +1 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.styled.js +55 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.styled.ts +56 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.tsx +3 -3
- package/dist/src/components/atoms/RichTextInner/RichTextInner.js +2 -2
- package/dist/src/components/atoms/RichTextInner/RichTextInner.styled.d.ts +1 -0
- package/dist/src/components/atoms/RichTextInner/RichTextInner.styled.js +38 -0
- package/dist/src/components/atoms/RichTextInner/RichTextInner.styled.ts +39 -0
- package/dist/src/components/atoms/RichTextInner/RichTextInner.tsx +2 -2
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.js +2 -2
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.d.ts +1 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.js +9 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.ts +10 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.tsx +7 -2
- package/dist/src/components/atoms/SearchSelect/SearchSelect.js +3 -3
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.d.ts +1 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.js +223 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.ts +224 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.tsx +3 -3
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.js +2 -2
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.styled.d.ts +1 -0
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.styled.js +48 -0
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.styled.ts +49 -0
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.tsx +3 -3
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.js +2 -2
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.styled.d.ts +1 -0
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.styled.js +92 -0
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.styled.ts +93 -0
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.tsx +3 -3
- package/dist/src/components/atoms/Spinner/Spinner.js +2 -2
- package/dist/src/components/atoms/Spinner/Spinner.styled.d.ts +1 -0
- package/dist/src/components/atoms/Spinner/Spinner.styled.js +28 -0
- package/dist/src/components/atoms/Spinner/Spinner.styled.ts +29 -0
- package/dist/src/components/atoms/Spinner/Spinner.tsx +5 -5
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.js +2 -2
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.styled.d.ts +1 -0
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.styled.js +28 -0
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.styled.ts +29 -0
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.tsx +3 -3
- package/dist/src/components/atoms/Tag/Tag.js +2 -2
- package/dist/src/components/atoms/Tag/Tag.scss +3 -3
- package/dist/src/components/atoms/Tag/Tag.styled.d.ts +1 -0
- package/dist/src/components/atoms/Tag/Tag.styled.js +24 -0
- package/dist/src/components/atoms/Tag/Tag.styled.ts +25 -0
- package/dist/src/components/atoms/Tag/Tag.tsx +5 -5
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.js +2 -2
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.d.ts +1 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.js +20 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.ts +21 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.tsx +3 -3
- package/dist/src/components/atoms/Tagline/Tagline.js +2 -2
- package/dist/src/components/atoms/Tagline/Tagline.scss +3 -3
- package/dist/src/components/atoms/Tagline/Tagline.styled.d.ts +1 -0
- package/dist/src/components/atoms/Tagline/Tagline.styled.js +17 -0
- package/dist/src/components/atoms/Tagline/Tagline.styled.ts +18 -0
- package/dist/src/components/atoms/Tagline/Tagline.tsx +3 -3
- package/dist/src/components/atoms/TextArea/TextArea.js +2 -2
- package/dist/src/components/atoms/TextArea/TextArea.styled.d.ts +1 -0
- package/dist/src/components/atoms/TextArea/TextArea.styled.js +106 -0
- package/dist/src/components/atoms/TextArea/TextArea.styled.ts +107 -0
- package/dist/src/components/atoms/TextArea/TextArea.tsx +3 -3
- package/dist/src/components/atoms/Toggle/Toggle.js +2 -2
- package/dist/src/components/atoms/Toggle/Toggle.styled.d.ts +1 -0
- package/dist/src/components/atoms/Toggle/Toggle.styled.js +59 -0
- package/dist/src/components/atoms/Toggle/Toggle.styled.ts +60 -0
- package/dist/src/components/atoms/Toggle/Toggle.tsx +3 -3
- package/dist/src/components/atoms/Tooltip/Tooltip.scss +8 -8
- package/dist/src/components/atoms/TopBar/TopBar.js +2 -2
- package/dist/src/components/atoms/TopBar/TopBar.styled.d.ts +1 -0
- package/dist/src/components/atoms/TopBar/TopBar.styled.js +55 -0
- package/dist/src/components/atoms/TopBar/TopBar.styled.ts +56 -0
- package/dist/src/components/atoms/TopBar/TopBar.tsx +3 -3
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.js +2 -1
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.d.ts +1 -0
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.js +49 -0
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.ts +50 -0
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.tsx +6 -3
- package/dist/src/components/atoms/TrustPilot/TrustPilot.js +2 -2
- package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.d.ts +1 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.js +12 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.ts +13 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilot.tsx +2 -3
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.js +2 -2
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.styled.d.ts +1 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.styled.js +37 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.styled.ts +38 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.tsx +3 -4
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.js +2 -1
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.styled.d.ts +1 -0
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.styled.js +33 -0
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.styled.ts +34 -0
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.tsx +3 -4
- package/dist/src/components/molecules/AccordionItem/AccordionItem.scss +9 -9
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.scss +2 -2
- package/dist/src/components/molecules/Article/Article.scss +1 -1
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.scss +2 -2
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.scss +7 -7
- package/dist/src/components/molecules/BoxForm/BoxForm.scss +9 -9
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.scss +4 -0
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.tsx +1 -1
- package/dist/src/components/molecules/ContactBox/ContactBox.scss +5 -5
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.scss +6 -6
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.scss +4 -4
- package/dist/src/components/molecules/FaqItem/FaqItem.scss +5 -5
- package/dist/src/components/molecules/Feedback/Feedback.scss +5 -5
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.scss +3 -3
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.scss +1 -1
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.scss +3 -3
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.scss +1 -1
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.scss +2 -2
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.scss +7 -7
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.scss +2 -2
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.scss +1 -1
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.scss +3 -3
- package/dist/src/components/molecules/Pagination/Pagination.scss +7 -7
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.scss +3 -3
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.scss +1 -1
- package/dist/src/components/molecules/PopularDocs/PopularDocs.scss +2 -2
- package/dist/src/components/molecules/PricingCard/PricingCard.scss +14 -14
- package/dist/src/components/molecules/Snackbar/Snackbar.scss +9 -9
- package/dist/src/components/molecules/StepGetForm/StepGetForm.scss +5 -5
- package/dist/src/components/molecules/TextInput/TextInput.scss +20 -20
- package/dist/src/components/molecules/TooltipMenu/TooltipMenu.scss +5 -5
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.scss +4 -4
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.scss +4 -4
- package/dist/src/components/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 +2 -1
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.scss +3 -3
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.scss +2 -2
- package/dist/src/components/sections/BlogSection/BlogSection.scss +1 -1
- package/dist/src/components/sections/ContactSection/ContactSection.scss +2 -2
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.scss +2 -2
- package/dist/src/components/sections/FaqSection/FaqSection.scss +1 -1
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.scss +2 -2
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.scss +2 -2
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.scss +7 -7
- package/dist/src/components/sections/LegalSection/LegalSection.scss +10 -10
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.scss +1 -1
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.scss +1 -1
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.scss +1 -1
- package/dist/src/components/sections/TryUsSection/TryUsSection.scss +2 -2
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.scss +3 -3
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.scss +1 -1
- package/dist/src/globalStyles/animations.scss +1 -1
- package/dist/src/globalStyles/base.scss +5 -5
- package/dist/src/globalStyles/breakpoints.d.ts +19 -0
- package/dist/src/globalStyles/breakpoints.js +17 -0
- package/dist/src/globalStyles/breakpoints.ts +28 -0
- package/dist/src/globalStyles/styles.scss +4 -53
- package/dist/src/globalStyles/themes.scss +26 -0
- package/dist/src/globalStyles/typography.scss +1 -1
- package/dist/src/globalStyles/variables.scss +7 -6
- package/dist/src/globalStyles/variablesCss.scss +14 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.scss +0 -24
- package/dist/src/components/atoms/AddButton/AddButton.scss +0 -48
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.scss +0 -54
- package/dist/src/components/atoms/BillCard/BillCard.scss +0 -57
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.scss +0 -33
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.scss +0 -21
- package/dist/src/components/atoms/CardPane/CardPane.scss +0 -106
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.scss +0 -116
- package/dist/src/components/atoms/Disclaimer/Disclaimer.scss +0 -45
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.scss +0 -149
- package/dist/src/components/atoms/Divider/Divider.scss +0 -20
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.scss +0 -91
- package/dist/src/components/atoms/DocumentTag/DocumentTag.scss +0 -13
- package/dist/src/components/atoms/ExpertCard/ExpertCard.scss +0 -65
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.scss +0 -79
- package/dist/src/components/atoms/FormFaq/FormFaq.scss +0 -72
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.scss +0 -6
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.scss +0 -80
- package/dist/src/components/atoms/InfoBox/InfoBox.scss +0 -40
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.scss +0 -8
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.scss +0 -38
- package/dist/src/components/atoms/LogoText/LogoText.scss +0 -34
- package/dist/src/components/atoms/MenuItems/MenuItems.scss +0 -70
- package/dist/src/components/atoms/Message/Message.scss +0 -31
- package/dist/src/components/atoms/MessageInformation/MessageInformation.scss +0 -51
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.scss +0 -44
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.scss +0 -60
- package/dist/src/components/atoms/PaypalButton/PaypalButton.scss +0 -5
- package/dist/src/components/atoms/ProgressBar/ProgressBar.scss +0 -24
- package/dist/src/components/atoms/RemoveButton/RemoveButton.scss +0 -43
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.scss +0 -54
- package/dist/src/components/atoms/RichTextInner/RichTextInner.scss +0 -34
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.scss +0 -9
- package/dist/src/components/atoms/SearchSelect/SearchSelect.scss +0 -222
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.scss +0 -48
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.scss +0 -90
- package/dist/src/components/atoms/Spinner/Spinner.scss +0 -31
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.scss +0 -27
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.scss +0 -22
- package/dist/src/components/atoms/TextArea/TextArea.scss +0 -103
- package/dist/src/components/atoms/Toggle/Toggle.scss +0 -59
- package/dist/src/components/atoms/TopBar/TopBar.scss +0 -54
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.scss +0 -48
- package/dist/src/components/atoms/TrustPilot/TrustPilot.scss +0 -11
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.scss +0 -36
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.scss +0 -32
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
// import { device, size } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
3
|
|
|
4
|
-
.
|
|
4
|
+
export const CheckboxStyled = styled.div`
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: column-reverse;
|
|
7
7
|
justify-content: flex-end;
|
|
@@ -9,9 +9,11 @@
|
|
|
9
9
|
font-size: 1rem;
|
|
10
10
|
margin-bottom: 0.5rem;
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
.e-checkbox {
|
|
13
|
+
&-wrapper {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-flow: row nowrap;
|
|
16
|
+
}
|
|
15
17
|
}
|
|
16
18
|
|
|
17
19
|
input {
|
|
@@ -39,14 +41,14 @@
|
|
|
39
41
|
|
|
40
42
|
&:before {
|
|
41
43
|
content: '';
|
|
42
|
-
background-color:
|
|
43
|
-
border: 1px solid
|
|
44
|
+
background-color: var(--others-white);
|
|
45
|
+
border: 1px solid var(--neutral-main);
|
|
44
46
|
left: 1px;
|
|
45
47
|
position: absolute;
|
|
46
48
|
top: 0;
|
|
47
49
|
height: 1.5rem;
|
|
48
50
|
width: 1.5rem;
|
|
49
|
-
border-radius:
|
|
51
|
+
border-radius: var(--global-border-radius);
|
|
50
52
|
}
|
|
51
53
|
|
|
52
54
|
&:after {
|
|
@@ -66,7 +68,7 @@
|
|
|
66
68
|
height: 20px;
|
|
67
69
|
left: 0.09rem;
|
|
68
70
|
top: 2px;
|
|
69
|
-
color:
|
|
71
|
+
color: var(--primary-main);
|
|
70
72
|
}
|
|
71
73
|
}
|
|
72
74
|
|
|
@@ -81,7 +83,7 @@
|
|
|
81
83
|
|
|
82
84
|
&:hover {
|
|
83
85
|
&:before {
|
|
84
|
-
background-color:
|
|
86
|
+
background-color: var(--primary-main-light-5);
|
|
85
87
|
}
|
|
86
88
|
}
|
|
87
89
|
}
|
|
@@ -95,9 +97,9 @@
|
|
|
95
97
|
}
|
|
96
98
|
|
|
97
99
|
&:before {
|
|
98
|
-
background-color:
|
|
99
|
-
border: 1.5px solid
|
|
100
|
-
border-radius:
|
|
100
|
+
background-color: var(--primary-main-light-5);
|
|
101
|
+
border: 1.5px solid var(--primary-main);
|
|
102
|
+
border-radius: var(--global-border-radius);
|
|
101
103
|
}
|
|
102
104
|
}
|
|
103
105
|
}
|
|
@@ -120,7 +122,7 @@
|
|
|
120
122
|
&:not(:checked) + label,
|
|
121
123
|
&:checked + label {
|
|
122
124
|
&:before {
|
|
123
|
-
border: 2px solid
|
|
125
|
+
border: 2px solid var(--error-main);
|
|
124
126
|
}
|
|
125
127
|
}
|
|
126
128
|
}
|
|
@@ -129,4 +131,4 @@
|
|
|
129
131
|
.tooltip-form {
|
|
130
132
|
margin-top: 0;
|
|
131
133
|
}
|
|
132
|
-
|
|
134
|
+
`
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React, { type FC } from 'react'
|
|
3
3
|
|
|
4
4
|
import { type CheckboxProps } from './CheckboxProps.types'
|
|
5
|
-
|
|
5
|
+
import { CheckboxStyled } from './Checkbox.styled'
|
|
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
|
+
<CheckboxStyled 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
|
+
</CheckboxStyled>
|
|
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
|
-
|
|
9
|
+
import { DatePickerCustomStyled } from './DatePickerCustom.styled';
|
|
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(DatePickerCustomStyled, { 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 @@
|
|
|
1
|
+
export declare const DatePickerCustomStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
// import { device, size } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const DatePickerCustomStyled = styled.div `
|
|
4
|
+
max-width: 55%;
|
|
5
|
+
width: 100%;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-flow: column-reverse;
|
|
8
|
+
margin-bottom: 2rem;
|
|
9
|
+
|
|
10
|
+
.e-datepicker {
|
|
11
|
+
&__inner {
|
|
12
|
+
margin-bottom: 0.5rem;
|
|
13
|
+
}
|
|
14
|
+
&__label {
|
|
15
|
+
font-weight: bold;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
ul li {
|
|
19
|
+
margin: 0;
|
|
20
|
+
|
|
21
|
+
&::before {
|
|
22
|
+
background-color: transparent;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.e-datepicker {
|
|
28
|
+
.react-datepicker {
|
|
29
|
+
border: 0.5px solid var(--neutral-neutral-4);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.react-datepicker__input-container input {
|
|
33
|
+
color: var(--neutral-main);
|
|
34
|
+
border-radius: 4px;
|
|
35
|
+
font-size: 1rem;
|
|
36
|
+
background-color: var(--neutral-neutral-4);
|
|
37
|
+
height: 40px;
|
|
38
|
+
width: 100%;
|
|
39
|
+
padding: 0.75rem 0 0.75rem 0.75rem;
|
|
40
|
+
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48IS0tR2VuZXJhdG9yOiBza2V0Y2h0b29sIDYwICgxMDEwMTApIC0gaHR0cHM6Ly9za2V0Y2guY29tLS0+PHRpdGxlPjNEODAzNjU0LUI3NjEtNEZEQy05MThDLTc1QzUwMjdEODcyMDwvdGl0bGU+PGRlc2M+Q3JlYXRlZCB3aXRoIHNrZXRjaHRvb2wuPC9kZXNjPjxkZWZzPjxwYXRoIGQ9Ik0yMiwzIEwxOSwzIEwxOSwxIEwxNywxIEwxNywzIEw3LDMgTDcsMSBMNSwxIEw1LDMgTDIsMyBMMiwyMyBMMjIsMjMgTDIyLDMgWiBNMjAsMjEgTDQsMjEgTDQsOCBMMjAsOCBMMjAsMjEgWiIgaWQ9InBhdGgtMSIvPjwvZGVmcz48ZyBpZD0iQXNzZXQtQXJ0Ym9hcmQtUGFnZSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGcgaWQ9Imljb24vbmF2aWdhdGlvbi9leHBhbmRfbW9yZV8yNHB4LWljb24vYWN0aW9uL2NhbGVuZGFyX3RvZGF5XzI0cHgiPjxtYXNrIGlkPSJtYXNrLTIiIGZpbGw9IndoaXRlIj48dXNlIHhsaW5rOmhyZWY9IiNwYXRoLTEiLz48L21hc2s+PGcgaWQ9Imljb24vYWN0aW9uL2NhbGVuZGFyX3RvZGF5XzI0cHgiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxnIGlkPSLihrMtQ29sb3ItY29sb3ItLy1JY29ucy0vLUJsYWNrLS8tSW5hY3RpdmUiIG1hc2s9InVybCgjbWFzay0yKSIgZmlsbD0iIzQzNDM0MyI+PHJlY3QgaWQ9IlJlY3RhbmdsZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9nPjwvZz48L2c+PC9zdmc+);
|
|
41
|
+
background-position: 95% 50%;
|
|
42
|
+
background-repeat: no-repeat;
|
|
43
|
+
transition: box-shadow 0.3s ease;
|
|
44
|
+
box-shadow: 0 0 0 0 var(--primary-main-light-4);
|
|
45
|
+
margin: 0.0005em;
|
|
46
|
+
border: none;
|
|
47
|
+
|
|
48
|
+
&:focus {
|
|
49
|
+
outline: none;
|
|
50
|
+
box-shadow: 0 0 0 2px var(--primary-main-light-1);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.react-datepicker__day {
|
|
55
|
+
font-size: 14px;
|
|
56
|
+
text-align: center;
|
|
57
|
+
border: 0.5px solid var(--neutral-neutral-4);
|
|
58
|
+
width: 39px;
|
|
59
|
+
height: 38px;
|
|
60
|
+
border-collapse: collapse;
|
|
61
|
+
vertical-align: middle;
|
|
62
|
+
display: table-cell;
|
|
63
|
+
line-height: 1.7rem;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle::after {
|
|
67
|
+
border-bottom-color: var(--others-white);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.react-datepicker__day--selected {
|
|
71
|
+
background-color: var(--primary-main-light-2);
|
|
72
|
+
border: 1px double var(--primary-main-light-2);
|
|
73
|
+
|
|
74
|
+
&:hover {
|
|
75
|
+
background-color: var(--primary-main-light-2);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.react-datepicker__day--keyboard-selected {
|
|
80
|
+
background-color: inherit;
|
|
81
|
+
color: inherit;
|
|
82
|
+
|
|
83
|
+
&:hover {
|
|
84
|
+
border-radius: 0.3rem;
|
|
85
|
+
background-color: #f0f0f0;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.react-datepicker__month-container {
|
|
90
|
+
padding: 0 15px 15px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.react-datepicker__month {
|
|
94
|
+
margin: 0;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.react-datepicker__header {
|
|
98
|
+
background-color: inherit;
|
|
99
|
+
border: none;
|
|
100
|
+
|
|
101
|
+
button {
|
|
102
|
+
border: 0.5px solid var(--neutral-neutral-4);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
select {
|
|
106
|
+
-webkit-appearance: menulist-button;
|
|
107
|
+
background-color: var(--others-white);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.react-datepicker__day-name {
|
|
112
|
+
width: 33px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.react-datepicker__day--outside-month {
|
|
116
|
+
color: var(--neutral-neutral-3);
|
|
117
|
+
pointer-events: none;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
`;
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
// import { device, size } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const DatePickerCustomStyled = styled.div`
|
|
5
|
+
max-width: 55%;
|
|
6
|
+
width: 100%;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-flow: column-reverse;
|
|
9
|
+
margin-bottom: 2rem;
|
|
10
|
+
|
|
11
|
+
.e-datepicker {
|
|
12
|
+
&__inner {
|
|
13
|
+
margin-bottom: 0.5rem;
|
|
14
|
+
}
|
|
15
|
+
&__label {
|
|
16
|
+
font-weight: bold;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
ul li {
|
|
20
|
+
margin: 0;
|
|
21
|
+
|
|
22
|
+
&::before {
|
|
23
|
+
background-color: transparent;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.e-datepicker {
|
|
29
|
+
.react-datepicker {
|
|
30
|
+
border: 0.5px solid var(--neutral-neutral-4);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.react-datepicker__input-container input {
|
|
34
|
+
color: var(--neutral-main);
|
|
35
|
+
border-radius: 4px;
|
|
36
|
+
font-size: 1rem;
|
|
37
|
+
background-color: var(--neutral-neutral-4);
|
|
38
|
+
height: 40px;
|
|
39
|
+
width: 100%;
|
|
40
|
+
padding: 0.75rem 0 0.75rem 0.75rem;
|
|
41
|
+
background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj48IS0tR2VuZXJhdG9yOiBza2V0Y2h0b29sIDYwICgxMDEwMTApIC0gaHR0cHM6Ly9za2V0Y2guY29tLS0+PHRpdGxlPjNEODAzNjU0LUI3NjEtNEZEQy05MThDLTc1QzUwMjdEODcyMDwvdGl0bGU+PGRlc2M+Q3JlYXRlZCB3aXRoIHNrZXRjaHRvb2wuPC9kZXNjPjxkZWZzPjxwYXRoIGQ9Ik0yMiwzIEwxOSwzIEwxOSwxIEwxNywxIEwxNywzIEw3LDMgTDcsMSBMNSwxIEw1LDMgTDIsMyBMMiwyMyBMMjIsMjMgTDIyLDMgWiBNMjAsMjEgTDQsMjEgTDQsOCBMMjAsOCBMMjAsMjEgWiIgaWQ9InBhdGgtMSIvPjwvZGVmcz48ZyBpZD0iQXNzZXQtQXJ0Ym9hcmQtUGFnZSIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PGcgaWQ9Imljb24vbmF2aWdhdGlvbi9leHBhbmRfbW9yZV8yNHB4LWljb24vYWN0aW9uL2NhbGVuZGFyX3RvZGF5XzI0cHgiPjxtYXNrIGlkPSJtYXNrLTIiIGZpbGw9IndoaXRlIj48dXNlIHhsaW5rOmhyZWY9IiNwYXRoLTEiLz48L21hc2s+PGcgaWQ9Imljb24vYWN0aW9uL2NhbGVuZGFyX3RvZGF5XzI0cHgiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxnIGlkPSLihrMtQ29sb3ItY29sb3ItLy1JY29ucy0vLUJsYWNrLS8tSW5hY3RpdmUiIG1hc2s9InVybCgjbWFzay0yKSIgZmlsbD0iIzQzNDM0MyI+PHJlY3QgaWQ9IlJlY3RhbmdsZSIgeD0iMCIgeT0iMCIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0Ii8+PC9nPjwvZz48L2c+PC9zdmc+);
|
|
42
|
+
background-position: 95% 50%;
|
|
43
|
+
background-repeat: no-repeat;
|
|
44
|
+
transition: box-shadow 0.3s ease;
|
|
45
|
+
box-shadow: 0 0 0 0 var(--primary-main-light-4);
|
|
46
|
+
margin: 0.0005em;
|
|
47
|
+
border: none;
|
|
48
|
+
|
|
49
|
+
&:focus {
|
|
50
|
+
outline: none;
|
|
51
|
+
box-shadow: 0 0 0 2px var(--primary-main-light-1);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.react-datepicker__day {
|
|
56
|
+
font-size: 14px;
|
|
57
|
+
text-align: center;
|
|
58
|
+
border: 0.5px solid var(--neutral-neutral-4);
|
|
59
|
+
width: 39px;
|
|
60
|
+
height: 38px;
|
|
61
|
+
border-collapse: collapse;
|
|
62
|
+
vertical-align: middle;
|
|
63
|
+
display: table-cell;
|
|
64
|
+
line-height: 1.7rem;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.react-datepicker-popper[data-placement^='bottom'] .react-datepicker__triangle::after {
|
|
68
|
+
border-bottom-color: var(--others-white);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.react-datepicker__day--selected {
|
|
72
|
+
background-color: var(--primary-main-light-2);
|
|
73
|
+
border: 1px double var(--primary-main-light-2);
|
|
74
|
+
|
|
75
|
+
&:hover {
|
|
76
|
+
background-color: var(--primary-main-light-2);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.react-datepicker__day--keyboard-selected {
|
|
81
|
+
background-color: inherit;
|
|
82
|
+
color: inherit;
|
|
83
|
+
|
|
84
|
+
&:hover {
|
|
85
|
+
border-radius: 0.3rem;
|
|
86
|
+
background-color: #f0f0f0;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.react-datepicker__month-container {
|
|
91
|
+
padding: 0 15px 15px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.react-datepicker__month {
|
|
95
|
+
margin: 0;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.react-datepicker__header {
|
|
99
|
+
background-color: inherit;
|
|
100
|
+
border: none;
|
|
101
|
+
|
|
102
|
+
button {
|
|
103
|
+
border: 0.5px solid var(--neutral-neutral-4);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
select {
|
|
107
|
+
-webkit-appearance: menulist-button;
|
|
108
|
+
background-color: var(--others-white);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.react-datepicker__day-name {
|
|
113
|
+
width: 33px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.react-datepicker__day--outside-month {
|
|
117
|
+
color: var(--neutral-neutral-3);
|
|
118
|
+
pointer-events: none;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
`
|
|
@@ -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
|
-
|
|
10
|
+
import { DatePickerCustomStyled } from './DatePickerCustom.styled'
|
|
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
|
+
<DatePickerCustomStyled 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
|
+
</DatePickerCustomStyled>
|
|
171
171
|
)
|
|
172
172
|
}
|
|
173
173
|
|