@npm_leadtech/legal-lib-components 5.2.7 → 5.2.9
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 +2434 -2913
- 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/molecules/index.d.ts +0 -1
- package/dist/src/components/molecules/index.js +0 -1
- package/dist/src/components/molecules/index.ts +0 -1
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.scss +3 -3
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.scss +2 -2
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.scss +11 -11
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.scss +3 -3
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.scss +2 -2
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.scss +1 -1
- package/dist/src/components/organisms/FaqGroup/FaqGroup.scss +2 -2
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.scss +2 -2
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.scss +4 -4
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.scss +3 -3
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.scss +8 -8
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.scss +1 -1
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.scss +4 -4
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.scss +2 -2
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.scss +1 -1
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.scss +4 -4
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.scss +1 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss +4 -4
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.scss +1 -1
- package/dist/src/components/pages/FaqsPage/FaqsPage.scss +8 -8
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.scss +1 -1
- package/dist/src/components/pages/LoginRatafiaPage/LoginPageRatafia.scss +2 -2
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.scss +6 -6
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +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 +2 -54
- package/dist/src/globalStyles/themes.scss +26 -0
- package/dist/src/globalStyles/typography.scss +1 -1
- package/dist/src/globalStyles/variables.scss +22 -6
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -2
- 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
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.d.ts +0 -4
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +0 -11
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +0 -93
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +0 -58
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.d.ts +0 -24
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.js +0 -1
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.ts +0 -26
- package/dist/src/components/molecules/RatafiaSubscriptionCard/index.d.ts +0 -2
- package/dist/src/components/molecules/RatafiaSubscriptionCard/index.js +0 -1
- package/dist/src/components/molecules/RatafiaSubscriptionCard/index.ts +0 -2
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
@import '../../../globalStyles/variables.scss';
|
|
2
|
-
|
|
3
|
-
.top-bar-mobile {
|
|
4
|
-
background-color: get-color(neutral, neutral-5);
|
|
5
|
-
display: flex;
|
|
6
|
-
padding: 8px 16px;
|
|
7
|
-
justify-content: space-between;
|
|
8
|
-
align-items: center;
|
|
9
|
-
border-radius: 4px;
|
|
10
|
-
box-shadow: $box-shadow-container;
|
|
11
|
-
font-size: 14px;
|
|
12
|
-
line-height: 18px;
|
|
13
|
-
letter-spacing: -0.3px;
|
|
14
|
-
position: fixed;
|
|
15
|
-
top: 8px;
|
|
16
|
-
left: 8px;
|
|
17
|
-
right: 8px;
|
|
18
|
-
|
|
19
|
-
&.fade-In {
|
|
20
|
-
visibility: visible;
|
|
21
|
-
opacity: 1;
|
|
22
|
-
transition:
|
|
23
|
-
visibility 0s linear 0s,
|
|
24
|
-
opacity 300ms;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&.fade-Out {
|
|
28
|
-
visibility: hidden;
|
|
29
|
-
opacity: 0;
|
|
30
|
-
transition:
|
|
31
|
-
visibility 0s linear 300ms,
|
|
32
|
-
opacity 300ms;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
> b {
|
|
36
|
-
display: flex;
|
|
37
|
-
justify-content: center;
|
|
38
|
-
align-items: center;
|
|
39
|
-
|
|
40
|
-
a {
|
|
41
|
-
display: contents;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
img {
|
|
45
|
-
margin-right: 8px;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
@import '../../../globalStyles/variables.scss';
|
|
2
|
-
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
-
|
|
4
|
-
.whyLawDistrictItems {
|
|
5
|
-
max-width: $md;
|
|
6
|
-
display: flex;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
margin: 0 auto;
|
|
9
|
-
flex-flow: row wrap;
|
|
10
|
-
padding: 0 0 1.5rem 0;
|
|
11
|
-
|
|
12
|
-
@include landscape-tablets {
|
|
13
|
-
justify-content: space-between;
|
|
14
|
-
padding: 0 1rem;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&__item {
|
|
18
|
-
max-width: 100%;
|
|
19
|
-
color: get-color(neutral, neutral-2);
|
|
20
|
-
margin-bottom: 1rem;
|
|
21
|
-
padding: 0 1rem;
|
|
22
|
-
|
|
23
|
-
@include landscape-tablets {
|
|
24
|
-
padding: 2rem 0;
|
|
25
|
-
max-width: calc(100% / 3 - 1.5rem);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&:first-child {
|
|
29
|
-
margin-top: 2rem;
|
|
30
|
-
|
|
31
|
-
@include landscape-tablets {
|
|
32
|
-
margin-top: 0;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
@import '../../../globalStyles/variables.scss';
|
|
2
|
-
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
-
|
|
4
|
-
.wide-info-bar {
|
|
5
|
-
background-color: get-color(neutral, neutral-6);
|
|
6
|
-
font-family: $font-sans;
|
|
7
|
-
color: get-color(neutral, neutral-1);
|
|
8
|
-
|
|
9
|
-
&.green {
|
|
10
|
-
background-color: get-color(primary, main-light-6);
|
|
11
|
-
color: get-color(primary, main-dark-1);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&__wrapper {
|
|
15
|
-
display: flex;
|
|
16
|
-
flex-flow: column nowrap;
|
|
17
|
-
justify-content: space-between;
|
|
18
|
-
max-width: 1200px;
|
|
19
|
-
margin: auto;
|
|
20
|
-
padding: 0.5rem 3.5rem 0.5rem 1.5rem;
|
|
21
|
-
|
|
22
|
-
@include landscape-tablets {
|
|
23
|
-
flex-flow: row;
|
|
24
|
-
font-size: 0.9rem;
|
|
25
|
-
padding: 1rem 1.5rem;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
@include desktop {
|
|
29
|
-
padding: 0.5rem 2rem;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Button, IconSvgURLWithThemeColor, RichTextStrapi } from '../../atoms';
|
|
3
|
-
import { stringSlugify } from '../../../utils/stringSlugify';
|
|
4
|
-
const RatafiaSubscriptionCard = ({ cardStyle, iconTitle, title, priceText, mainFeatures, AIFeatures, buttonText, linkText }) => {
|
|
5
|
-
if (!title)
|
|
6
|
-
return null;
|
|
7
|
-
const buttonStyle = cardStyle === 'Secondary' ? 'primary3' : 'primary';
|
|
8
|
-
const renderFeatures = (features, className) => features.map((feature) => (_jsxs("div", { className: `ratafia-card__feature ${className ?? ''}`, children: [feature.image?.url && _jsx(IconSvgURLWithThemeColor, { url: feature.image.url, height: '16', width: '16' }), _jsx(RichTextStrapi, { html: feature.title })] }, feature.title)));
|
|
9
|
-
return (_jsxs("div", { className: `ratafia-card ${cardStyle ? stringSlugify(cardStyle) : 'primary'}`, children: [_jsxs("div", { className: 'ratafia-card__header', children: [title && (_jsxs("div", { className: 'ratafia-card__title', children: [iconTitle?.url && _jsx(IconSvgURLWithThemeColor, { url: iconTitle.url, height: '26', width: '26' }), _jsx(RichTextStrapi, { html: title })] })), priceText && _jsx("div", { className: 'ratafia-card__price-text', children: priceText })] }), _jsx("hr", {}), _jsxs("div", { className: 'ratafia-card__body', children: [mainFeatures && renderFeatures(mainFeatures, 'main-feature'), AIFeatures && renderFeatures(AIFeatures, 'ai-feature')] }), buttonText && (_jsx("div", { className: 'ratafia-card__footer', children: _jsx(Button, { dataQa: 'ratafia-card-button', givenClass: 'ratafia-card__button', color: buttonStyle, label: buttonText, link: linkText ?? '#' }) }))] }));
|
|
10
|
-
};
|
|
11
|
-
export default RatafiaSubscriptionCard;
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
@import '../../../globalStyles/variables.scss';
|
|
2
|
-
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
-
|
|
4
|
-
.ratafia-card {
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-flow: column nowrap;
|
|
7
|
-
flex: 1;
|
|
8
|
-
gap: 0.5rem;
|
|
9
|
-
min-width: 320px;
|
|
10
|
-
padding: 1rem;
|
|
11
|
-
border-radius: $global-border-radius;
|
|
12
|
-
|
|
13
|
-
&__header {
|
|
14
|
-
display: flex;
|
|
15
|
-
flex-flow: row wrap;
|
|
16
|
-
align-items: center;
|
|
17
|
-
justify-content: space-between;
|
|
18
|
-
gap: 0.5rem 1rem;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&__title {
|
|
22
|
-
display: flex;
|
|
23
|
-
flex-flow: row nowrap;
|
|
24
|
-
align-items: center;
|
|
25
|
-
gap: 0.8rem;
|
|
26
|
-
font-weight: bold;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
hr {
|
|
30
|
-
border: none;
|
|
31
|
-
border-top: 1px solid get-color(neutral, neutral-4);
|
|
32
|
-
width: 100%;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&__body {
|
|
36
|
-
display: flex;
|
|
37
|
-
flex-flow: column;
|
|
38
|
-
flex: 1;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&__feature {
|
|
42
|
-
display: flex;
|
|
43
|
-
flex-flow: row nowrap;
|
|
44
|
-
justify-content: flex-start;
|
|
45
|
-
gap: 0.5rem;
|
|
46
|
-
color: get-color(neutral, neutral-1);
|
|
47
|
-
text-align: left;
|
|
48
|
-
padding: 0.25rem 0;
|
|
49
|
-
|
|
50
|
-
.icon-svg-with-theme-color {
|
|
51
|
-
flex-basis: 1rem;
|
|
52
|
-
margin-top: 0.2rem;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&.ratafia-card__ai-feature {
|
|
56
|
-
background-color: get-color(primary, main-light-6);
|
|
57
|
-
padding-left: 0.5rem;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&__footer {
|
|
62
|
-
display: flex;
|
|
63
|
-
margin-top: 1.5rem;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&.primary {
|
|
67
|
-
background-color: get-color(neutral, neutral-6);
|
|
68
|
-
|
|
69
|
-
.icon-svg-with-theme-color {
|
|
70
|
-
background-color: get-color(primary, main-light-1);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.ratafia-card__feature {
|
|
74
|
-
&.ratafia-card__ai-feature {
|
|
75
|
-
background-color: get-color(primary, main-light-6);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&.secondary {
|
|
81
|
-
background-color: get-color(secondary, main-light-4);
|
|
82
|
-
|
|
83
|
-
.icon-svg-with-theme-color {
|
|
84
|
-
background-color: get-color(secondary, main-dark-2);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.ratafia-card__feature {
|
|
88
|
-
&.ratafia-card__ai-feature {
|
|
89
|
-
background-color: get-color(secondary, main-light-3);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import React, { FC, ReactNode } from 'react'
|
|
2
|
-
|
|
3
|
-
import { BenefitProps, RatafiaSubscriptionCardProps } from './RatafiaSubscriptionCardProps.types'
|
|
4
|
-
import { Button, IconSvgURLWithThemeColor, RichTextStrapi } from '../../atoms'
|
|
5
|
-
import { stringSlugify } from '../../../utils/stringSlugify'
|
|
6
|
-
|
|
7
|
-
const RatafiaSubscriptionCard: FC<RatafiaSubscriptionCardProps> = ({
|
|
8
|
-
cardStyle,
|
|
9
|
-
iconTitle,
|
|
10
|
-
title,
|
|
11
|
-
priceText,
|
|
12
|
-
mainFeatures,
|
|
13
|
-
AIFeatures,
|
|
14
|
-
buttonText,
|
|
15
|
-
linkText
|
|
16
|
-
}) => {
|
|
17
|
-
if (!title) return null
|
|
18
|
-
const buttonStyle = cardStyle === 'Secondary' ? 'primary3' : 'primary'
|
|
19
|
-
const renderFeatures = (features: BenefitProps[], className?: string): ReactNode =>
|
|
20
|
-
features.map((feature) => (
|
|
21
|
-
<div key={feature.title} className={`ratafia-card__feature ${className ?? ''}`}>
|
|
22
|
-
{feature.image?.url && <IconSvgURLWithThemeColor url={feature.image.url} height='16' width='16' />}
|
|
23
|
-
<RichTextStrapi html={feature.title} />
|
|
24
|
-
</div>
|
|
25
|
-
))
|
|
26
|
-
|
|
27
|
-
return (
|
|
28
|
-
<div className={`ratafia-card ${cardStyle ? stringSlugify(cardStyle) : 'primary'}`}>
|
|
29
|
-
<div className='ratafia-card__header'>
|
|
30
|
-
{title && (
|
|
31
|
-
<div className='ratafia-card__title'>
|
|
32
|
-
{iconTitle?.url && <IconSvgURLWithThemeColor url={iconTitle.url} height='26' width='26' />}
|
|
33
|
-
<RichTextStrapi html={title} />
|
|
34
|
-
</div>
|
|
35
|
-
)}
|
|
36
|
-
{priceText && <div className='ratafia-card__price-text'>{priceText}</div>}
|
|
37
|
-
</div>
|
|
38
|
-
<hr />
|
|
39
|
-
<div className='ratafia-card__body'>
|
|
40
|
-
{mainFeatures && renderFeatures(mainFeatures as unknown as BenefitProps[], 'main-feature')}
|
|
41
|
-
{AIFeatures && renderFeatures(AIFeatures as unknown as BenefitProps[], 'ai-feature')}
|
|
42
|
-
</div>
|
|
43
|
-
{buttonText && (
|
|
44
|
-
<div className='ratafia-card__footer'>
|
|
45
|
-
<Button
|
|
46
|
-
dataQa='ratafia-card-button'
|
|
47
|
-
givenClass='ratafia-card__button'
|
|
48
|
-
color={buttonStyle}
|
|
49
|
-
label={buttonText}
|
|
50
|
-
link={linkText ?? '#'}
|
|
51
|
-
/>
|
|
52
|
-
</div>
|
|
53
|
-
)}
|
|
54
|
-
</div>
|
|
55
|
-
)
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
export default RatafiaSubscriptionCard
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export interface RatafiaSubscriptionCardProps {
|
|
2
|
-
cardStyle?: CardStyleType;
|
|
3
|
-
iconTitle?: IconTitleProps;
|
|
4
|
-
title?: string;
|
|
5
|
-
priceText?: string;
|
|
6
|
-
mainFeatures?: BenefitProps[];
|
|
7
|
-
AIFeatures?: BenefitProps[];
|
|
8
|
-
buttonText?: string;
|
|
9
|
-
linkText?: string;
|
|
10
|
-
}
|
|
11
|
-
interface IconTitleProps {
|
|
12
|
-
name?: string;
|
|
13
|
-
url: string;
|
|
14
|
-
}
|
|
15
|
-
export interface BenefitProps {
|
|
16
|
-
title?: string;
|
|
17
|
-
description: string;
|
|
18
|
-
image?: {
|
|
19
|
-
name: string;
|
|
20
|
-
url: string;
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
export type CardStyleType = 'Primary' | 'Secondary';
|
|
24
|
-
export {};
|
package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export interface RatafiaSubscriptionCardProps {
|
|
2
|
-
cardStyle?: CardStyleType
|
|
3
|
-
iconTitle?: IconTitleProps
|
|
4
|
-
title?: string
|
|
5
|
-
priceText?: string
|
|
6
|
-
mainFeatures?: BenefitProps[]
|
|
7
|
-
AIFeatures?: BenefitProps[]
|
|
8
|
-
buttonText?: string
|
|
9
|
-
linkText?: string
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
interface IconTitleProps {
|
|
13
|
-
name?: string
|
|
14
|
-
url: string
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface BenefitProps {
|
|
18
|
-
title?: string
|
|
19
|
-
description: string
|
|
20
|
-
image?: {
|
|
21
|
-
name: string
|
|
22
|
-
url: string
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export type CardStyleType = 'Primary' | 'Secondary'
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as RatafiaSubscriptionCard } from './RatafiaSubscriptionCard';
|