@npm_leadtech/legal-lib-components 5.2.24 → 5.2.32
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 +542 -2834
- 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 +224 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.ts +225 -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 -10
- 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
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const IconTextInfoSectionStyled = styled.div`
|
|
5
|
+
.icon-text-info-section {
|
|
6
|
+
&__separator {
|
|
7
|
+
background-color: var(--neutral-neutral-3);
|
|
8
|
+
border-bottom: 1px get-color(neutral, neutral-3) solid;
|
|
9
|
+
display: none;
|
|
10
|
+
height: 70px;
|
|
11
|
+
padding-bottom: 40px;
|
|
12
|
+
width: 1px;
|
|
13
|
+
|
|
14
|
+
@media ${device.laptop} {
|
|
15
|
+
margin: 0 32px;
|
|
16
|
+
}
|
|
17
|
+
@media ${device['portrait-tablets']} {
|
|
18
|
+
display: flex;
|
|
19
|
+
}
|
|
20
|
+
@media ${device.mobile} {
|
|
21
|
+
margin: 19.2px 32px;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.icon-text-info-section.bottom-side {
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
background-color: var(--neutral-neutral-4);
|
|
30
|
+
justify-content: center;
|
|
31
|
+
padding: 1rem 3rem;
|
|
32
|
+
|
|
33
|
+
@media ${device['portrait-tablets']} {
|
|
34
|
+
padding: 0;
|
|
35
|
+
flex-direction: row;
|
|
36
|
+
padding: 1rem 1rem;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.box {
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-direction: row;
|
|
42
|
+
align-items: center;
|
|
43
|
+
margin: 0;
|
|
44
|
+
|
|
45
|
+
@media ${device.mobile} {
|
|
46
|
+
margin: 0.4rem;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@media ${device['portrait-tablets']} {
|
|
50
|
+
margin: 0 1rem;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.item-image {
|
|
55
|
+
width: 2.5rem;
|
|
56
|
+
margin-right: 1rem;
|
|
57
|
+
|
|
58
|
+
@media ${device.mobile} {
|
|
59
|
+
width: 1.5rem;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.image {
|
|
63
|
+
width: 40px;
|
|
64
|
+
height: 40px;
|
|
65
|
+
|
|
66
|
+
@media ${device.mobile} {
|
|
67
|
+
width: 24px;
|
|
68
|
+
height: 24px;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.item-text {
|
|
74
|
+
font-size: 16px;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
`
|
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
import React from 'react'
|
|
3
3
|
|
|
4
4
|
import { type IconTextInfoSectionProps } from './IconTextInfoSection.types'
|
|
5
|
-
|
|
6
|
-
// import './IconTextInfoSection.scss'
|
|
5
|
+
import { IconTextInfoSectionStyled } from './IconTextInfoSection.styled'
|
|
7
6
|
|
|
8
7
|
export const IconTextInfoSection: React.FC<IconTextInfoSectionProps> = ({ items, classnames = '' }) => {
|
|
9
8
|
return (
|
|
10
|
-
<
|
|
9
|
+
<IconTextInfoSectionStyled className={`icon-text-info-section bottom-side ${classnames}`}>
|
|
11
10
|
{items.map(({ text, src }, index) => (
|
|
12
11
|
<React.Fragment key={`${src}-${index}`}>
|
|
13
12
|
<div className='box'>
|
|
@@ -21,6 +20,6 @@ export const IconTextInfoSection: React.FC<IconTextInfoSectionProps> = ({ items,
|
|
|
21
20
|
{items.length - 1 !== index && <div className='icon-text-info-section__separator'></div>}
|
|
22
21
|
</React.Fragment>
|
|
23
22
|
))}
|
|
24
|
-
</
|
|
23
|
+
</IconTextInfoSectionStyled>
|
|
25
24
|
)
|
|
26
25
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { InfoBoxStyled } from './InfoBox.styled';
|
|
2
3
|
import { InfoError24pxOutlined } from '../../../../images/componentsSvg/InfoError24pxOutlined';
|
|
3
|
-
// import './InfoBox.scss'
|
|
4
4
|
const InfoBox = ({ children, type, noIcon }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs(InfoBoxStyled, { className: `info-box ${type}`, children: [!noIcon && (_jsx("div", { className: 'info-box__img', children: _jsx(InfoError24pxOutlined, { fill: 'blue' }) })), _jsx("div", { className: 'info-box__text-container', children: children })] }));
|
|
6
6
|
};
|
|
7
7
|
export default InfoBox;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const InfoBoxStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const InfoBoxStyled = styled.div `
|
|
3
|
+
border-radius: var(--global-border-radius);
|
|
4
|
+
border: 1px solid;
|
|
5
|
+
padding: 1rem;
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: row;
|
|
8
|
+
|
|
9
|
+
&.error {
|
|
10
|
+
border-color: var(--error-main);
|
|
11
|
+
color: var(--error-main);
|
|
12
|
+
background-color: var(--error-error-3);
|
|
13
|
+
use {
|
|
14
|
+
fill: var(--error-main);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&.warning {
|
|
19
|
+
border-color: var(--secondary-main-dark-1);
|
|
20
|
+
color: var(--secondary-main-dark-2);
|
|
21
|
+
background-color: var(--secondary-main-light-4);
|
|
22
|
+
use {
|
|
23
|
+
fill: var(--secondary-main-dark-1);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.info-box {
|
|
28
|
+
&__img {
|
|
29
|
+
width: 1.5rem;
|
|
30
|
+
height: 1.5rem;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__text-container {
|
|
34
|
+
margin-left: 0.5rem;
|
|
35
|
+
|
|
36
|
+
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
|
37
|
+
margin-left: 1.5rem;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
`;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const InfoBoxStyled = styled.div`
|
|
4
|
+
border-radius: var(--global-border-radius);
|
|
5
|
+
border: 1px solid;
|
|
6
|
+
padding: 1rem;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: row;
|
|
9
|
+
|
|
10
|
+
&.error {
|
|
11
|
+
border-color: var(--error-main);
|
|
12
|
+
color: var(--error-main);
|
|
13
|
+
background-color: var(--error-error-3);
|
|
14
|
+
use {
|
|
15
|
+
fill: var(--error-main);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&.warning {
|
|
20
|
+
border-color: var(--secondary-main-dark-1);
|
|
21
|
+
color: var(--secondary-main-dark-2);
|
|
22
|
+
background-color: var(--secondary-main-light-4);
|
|
23
|
+
use {
|
|
24
|
+
fill: var(--secondary-main-dark-1);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.info-box {
|
|
29
|
+
&__img {
|
|
30
|
+
width: 1.5rem;
|
|
31
|
+
height: 1.5rem;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__text-container {
|
|
35
|
+
margin-left: 0.5rem;
|
|
36
|
+
|
|
37
|
+
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
|
38
|
+
margin-left: 1.5rem;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
`
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
import React, { type FC } from 'react'
|
|
4
4
|
|
|
5
5
|
import { type InfoBoxProps } from './InfoBoxProps.types'
|
|
6
|
+
import { InfoBoxStyled } from './InfoBox.styled'
|
|
6
7
|
import { InfoError24pxOutlined } from '../../../../images/componentsSvg/InfoError24pxOutlined'
|
|
7
|
-
// import './InfoBox.scss'
|
|
8
8
|
|
|
9
9
|
const InfoBox: FC<InfoBoxProps> = ({ children, type, noIcon }) => {
|
|
10
10
|
return (
|
|
11
|
-
<
|
|
11
|
+
<InfoBoxStyled className={`info-box ${type}`}>
|
|
12
12
|
{!noIcon && (
|
|
13
13
|
<div className='info-box__img'>
|
|
14
14
|
<InfoError24pxOutlined fill='blue' />
|
|
15
15
|
</div>
|
|
16
16
|
)}
|
|
17
17
|
<div className='info-box__text-container'>{children}</div>
|
|
18
|
-
</
|
|
18
|
+
</InfoBoxStyled>
|
|
19
19
|
)
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
|
|
2
|
+
import { JumbotronStaticStyled } from './JumbotronStatic.styled';
|
|
3
3
|
export const JumbotronStatic = ({ title }) => {
|
|
4
|
-
return (_jsx(
|
|
4
|
+
return (_jsx(JumbotronStaticStyled, { className: 'jumbotron--static', children: _jsx("h1", { className: 'serif --super-hero', children: title }) }));
|
|
5
5
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const JumbotronStaticStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
3
|
import { type JumbotronStaticProps } from './JumbotronStaticProps.types'
|
|
4
|
-
|
|
4
|
+
import { JumbotronStaticStyled } from './JumbotronStatic.styled'
|
|
5
5
|
|
|
6
6
|
export const JumbotronStatic: FC<JumbotronStaticProps> = ({ title }) => {
|
|
7
7
|
return (
|
|
8
|
-
<
|
|
8
|
+
<JumbotronStaticStyled className={'jumbotron--static'}>
|
|
9
9
|
<h1 className='serif --super-hero'>{title}</h1>
|
|
10
|
-
</
|
|
10
|
+
</JumbotronStaticStyled>
|
|
11
11
|
)
|
|
12
12
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
|
|
2
|
+
import { KeyFactRatafiaCardStyled } from './KeyFactRatafiaCard.styled';
|
|
3
3
|
export const KeyFactRatafiaCard = ({ title, content }) => {
|
|
4
|
-
return (_jsxs(
|
|
4
|
+
return (_jsxs(KeyFactRatafiaCardStyled, { className: 'key-fact-item', children: [_jsxs("div", { className: 'key-fact-item__wrapper', children: [_jsx("p", { className: 'sans-serif --medium --bold-weight key-fact-item__wrapper__title', children: title }), _jsx("p", { className: 'sans-serif --medium key-fact-item__wrapper__content', children: content })] }), _jsx("span", { className: 'key-fact-item__divider' })] }));
|
|
5
5
|
};
|
|
6
6
|
export default KeyFactRatafiaCard;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const KeyFactRatafiaCardStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const KeyFactRatafiaCardStyled = styled.div `
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
align-items: flex-start;
|
|
7
|
+
align-self: stretch;
|
|
8
|
+
|
|
9
|
+
background: var(--neutral-neutral-6);
|
|
10
|
+
|
|
11
|
+
.key-fact-item {
|
|
12
|
+
&__wrapper {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
|
|
16
|
+
margin-bottom: 1rem;
|
|
17
|
+
gap: 1rem;
|
|
18
|
+
|
|
19
|
+
&__title {
|
|
20
|
+
color: var(--neutral-neutral-1);
|
|
21
|
+
background: var(--neutral-neutral-6);
|
|
22
|
+
position: sticky;
|
|
23
|
+
top: 0;
|
|
24
|
+
|
|
25
|
+
margin-top: 1rem;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__content {
|
|
29
|
+
color: var(--neutral-neutral-1);
|
|
30
|
+
overflow-y: auto;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
&__divider {
|
|
34
|
+
height: 1px;
|
|
35
|
+
align-self: stretch;
|
|
36
|
+
background: var(--neutral-neutral-4);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
`;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const KeyFactRatafiaCardStyled = styled.div`
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: flex-start;
|
|
8
|
+
align-self: stretch;
|
|
9
|
+
|
|
10
|
+
background: var(--neutral-neutral-6);
|
|
11
|
+
|
|
12
|
+
.key-fact-item {
|
|
13
|
+
&__wrapper {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
|
|
17
|
+
margin-bottom: 1rem;
|
|
18
|
+
gap: 1rem;
|
|
19
|
+
|
|
20
|
+
&__title {
|
|
21
|
+
color: var(--neutral-neutral-1);
|
|
22
|
+
background: var(--neutral-neutral-6);
|
|
23
|
+
position: sticky;
|
|
24
|
+
top: 0;
|
|
25
|
+
|
|
26
|
+
margin-top: 1rem;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&__content {
|
|
30
|
+
color: var(--neutral-neutral-1);
|
|
31
|
+
overflow-y: auto;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
&__divider {
|
|
35
|
+
height: 1px;
|
|
36
|
+
align-self: stretch;
|
|
37
|
+
background: var(--neutral-neutral-4);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
`
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
|
|
3
3
|
import { type KeyFactRatafiaCardProps } from './KeyFactRatafiaCardProps.types'
|
|
4
|
-
|
|
4
|
+
import { KeyFactRatafiaCardStyled } from './KeyFactRatafiaCard.styled'
|
|
5
5
|
|
|
6
6
|
export const KeyFactRatafiaCard: React.FC<KeyFactRatafiaCardProps> = ({ title, content }) => {
|
|
7
7
|
return (
|
|
8
|
-
<
|
|
8
|
+
<KeyFactRatafiaCardStyled className='key-fact-item'>
|
|
9
9
|
<div className='key-fact-item__wrapper'>
|
|
10
10
|
<p className='sans-serif --medium --bold-weight key-fact-item__wrapper__title'>{title}</p>
|
|
11
11
|
<p className='sans-serif --medium key-fact-item__wrapper__content'>{content}</p>
|
|
12
12
|
</div>
|
|
13
13
|
<span className='key-fact-item__divider'></span>
|
|
14
|
-
</
|
|
14
|
+
</KeyFactRatafiaCardStyled>
|
|
15
15
|
)
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
|
|
2
|
+
import { LogoTextStyled } from './LogoText.styled';
|
|
3
3
|
const LogoText = ({ logo, children, description }) => {
|
|
4
|
-
return (_jsxs(
|
|
4
|
+
return (_jsxs(LogoTextStyled, { "data-testid": 'logo-text', className: 'logo-text', children: [_jsx("img", { "data-testid": 'img-logo-text', alt: '', src: logo, className: 'logo-text__img' }), description !== undefined ? (_jsx("p", { className: 'logo-text__text', children: _jsx("span", { children: description }) })) : (children)] }));
|
|
5
5
|
};
|
|
6
6
|
export default LogoText;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LogoTextStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const LogoTextStyled = styled.div `
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: flex-start;
|
|
6
|
+
|
|
7
|
+
.logo-text {
|
|
8
|
+
&__img {
|
|
9
|
+
align-items: center;
|
|
10
|
+
margin-right: 1.5rem;
|
|
11
|
+
margin-bottom: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&__text {
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
margin-bottom: 0;
|
|
19
|
+
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
|
20
|
+
width: 17rem;
|
|
21
|
+
|
|
22
|
+
@media ${device.mobile} {
|
|
23
|
+
width: 17rem;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@media ${device['portrait-tablets']} {
|
|
27
|
+
width: 10rem;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@media ${device['landscape-tablets']} {
|
|
31
|
+
width: 17rem;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
`;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const LogoTextStyled = styled.div`
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: flex-start;
|
|
7
|
+
|
|
8
|
+
.logo-text {
|
|
9
|
+
&__img {
|
|
10
|
+
align-items: center;
|
|
11
|
+
margin-right: 1.5rem;
|
|
12
|
+
margin-bottom: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&__text {
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
margin-bottom: 0;
|
|
20
|
+
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
|
21
|
+
width: 17rem;
|
|
22
|
+
|
|
23
|
+
@media ${device.mobile} {
|
|
24
|
+
width: 17rem;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@media ${device['portrait-tablets']} {
|
|
28
|
+
width: 10rem;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@media ${device['landscape-tablets']} {
|
|
32
|
+
width: 17rem;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
`
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
3
|
import { type LogoTextProps } from './LogoTextProps.types'
|
|
4
|
-
|
|
4
|
+
import { LogoTextStyled } from './LogoText.styled'
|
|
5
5
|
|
|
6
6
|
const LogoText: FC<LogoTextProps> = ({ logo, children, description }) => {
|
|
7
7
|
return (
|
|
8
|
-
<
|
|
9
|
-
<img data-testid='img-logo-text' alt='' src={logo} />
|
|
8
|
+
<LogoTextStyled data-testid='logo-text' className='logo-text'>
|
|
9
|
+
<img data-testid='img-logo-text' alt='' src={logo} className='logo-text__img' />
|
|
10
10
|
{description !== undefined ? (
|
|
11
|
-
<p>
|
|
11
|
+
<p className='logo-text__text'>
|
|
12
12
|
<span>{description}</span>
|
|
13
13
|
</p>
|
|
14
14
|
) : (
|
|
15
15
|
children
|
|
16
16
|
)}
|
|
17
|
-
</
|
|
17
|
+
</LogoTextStyled>
|
|
18
18
|
)
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -7,6 +7,7 @@ import { jsxs as _jsxs, Fragment as _Fragment, jsx as _jsx } from "react/jsx-run
|
|
|
7
7
|
/* eslint-disable @typescript-eslint/strict-boolean-expressions */
|
|
8
8
|
import { useState } from 'react';
|
|
9
9
|
import classNames from 'classnames';
|
|
10
|
+
import { MenuItemsStyled } from './MenuItems.styled';
|
|
10
11
|
import { stringSlugify } from '../../../utils/stringSlugify';
|
|
11
12
|
// import './MenuItems.scss'
|
|
12
13
|
const MenuItems = ({ spacing, list, hasBullets = false, initialActiveContent = '', ...rest }) => {
|
|
@@ -40,6 +41,6 @@ const MenuItems = ({ spacing, list, hasBullets = false, initialActiveContent = '
|
|
|
40
41
|
initialActiveContent && handleActiveListElement(content);
|
|
41
42
|
}, ...props, children: href ? (_jsxs("a", { href: href, "data-qa": dataQA ?? slugifiedContent, children: [image, content] })) : (_jsxs(_Fragment, { children: [image, content] })) }, listKey));
|
|
42
43
|
};
|
|
43
|
-
return (_jsx(
|
|
44
|
+
return (_jsx(MenuItemsStyled, { className: classes, ...rest, children: filteredList.map((item, index) => renderItem(item, index)) }));
|
|
44
45
|
};
|
|
45
46
|
export default MenuItems;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MenuItemsStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const MenuItemsStyled = styled.ul `
|
|
4
|
+
.menu-items {
|
|
5
|
+
&__spacing {
|
|
6
|
+
.menu-items__item:not(:last-child) {
|
|
7
|
+
margin-bottom: 0.5rem;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&__bullets {
|
|
12
|
+
list-style-position: inside;
|
|
13
|
+
list-style-type: disc;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&__item {
|
|
17
|
+
transition: background-color 0.3s ease;
|
|
18
|
+
border-radius: var(--global-border-radius);
|
|
19
|
+
padding: 0.25rem 0.5rem;
|
|
20
|
+
|
|
21
|
+
svg {
|
|
22
|
+
vertical-align: bottom;
|
|
23
|
+
width: 1.5rem;
|
|
24
|
+
margin-right: 0.5rem;
|
|
25
|
+
|
|
26
|
+
@media ${device['portrait-tablets']} {
|
|
27
|
+
width: 1rem;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
> g > g {
|
|
31
|
+
fill: var(--neutral-neutral-1);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
#color-bin {
|
|
35
|
+
fill: var(--neutral-neutral-1);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&.active {
|
|
40
|
+
color: var(--primary-main-light-1);
|
|
41
|
+
font-weight: 700;
|
|
42
|
+
background-color: var(--primary-main-light-5);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.inactive {
|
|
46
|
+
color: var(--neutral-neutral-2);
|
|
47
|
+
font-weight: 400;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.disabled {
|
|
51
|
+
color: var(--neutral-neutral-3);
|
|
52
|
+
svg > g > g {
|
|
53
|
+
fill: var(--neutral-neutral-3);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&:not(.disabled):hover {
|
|
58
|
+
background-color: var(--primary-main-light-5);
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
svg > g > g {
|
|
61
|
+
transition: all 0.3s ease;
|
|
62
|
+
fill: var(--primary-main);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
a {
|
|
67
|
+
display: flex;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
`;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const MenuItemsStyled = styled.ul`
|
|
5
|
+
.menu-items {
|
|
6
|
+
&__spacing {
|
|
7
|
+
.menu-items__item:not(:last-child) {
|
|
8
|
+
margin-bottom: 0.5rem;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&__bullets {
|
|
13
|
+
list-style-position: inside;
|
|
14
|
+
list-style-type: disc;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&__item {
|
|
18
|
+
transition: background-color 0.3s ease;
|
|
19
|
+
border-radius: var(--global-border-radius);
|
|
20
|
+
padding: 0.25rem 0.5rem;
|
|
21
|
+
|
|
22
|
+
svg {
|
|
23
|
+
vertical-align: bottom;
|
|
24
|
+
width: 1.5rem;
|
|
25
|
+
margin-right: 0.5rem;
|
|
26
|
+
|
|
27
|
+
@media ${device['portrait-tablets']} {
|
|
28
|
+
width: 1rem;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
> g > g {
|
|
32
|
+
fill: var(--neutral-neutral-1);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
#color-bin {
|
|
36
|
+
fill: var(--neutral-neutral-1);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.active {
|
|
41
|
+
color: var(--primary-main-light-1);
|
|
42
|
+
font-weight: 700;
|
|
43
|
+
background-color: var(--primary-main-light-5);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&.inactive {
|
|
47
|
+
color: var(--neutral-neutral-2);
|
|
48
|
+
font-weight: 400;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.disabled {
|
|
52
|
+
color: var(--neutral-neutral-3);
|
|
53
|
+
svg > g > g {
|
|
54
|
+
fill: var(--neutral-neutral-3);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&:not(.disabled):hover {
|
|
59
|
+
background-color: var(--primary-main-light-5);
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
svg > g > g {
|
|
62
|
+
transition: all 0.3s ease;
|
|
63
|
+
fill: var(--primary-main);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
a {
|
|
68
|
+
display: flex;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
`
|