@npm_leadtech/legal-lib-components 5.7.5 → 5.7.7
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 +184 -2175
- package/dist/src/components/molecules/AccordionItem/AccordionItem.js +2 -2
- package/dist/src/components/molecules/AccordionItem/AccordionItem.styled.d.ts +1 -0
- package/dist/src/components/molecules/AccordionItem/AccordionItem.styled.js +69 -0
- package/dist/src/components/molecules/AccordionItem/{AccordionItem.scss → AccordionItem.styled.ts} +3 -3
- package/dist/src/components/molecules/AccordionItem/AccordionItem.tsx +3 -4
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.js +2 -2
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.d.ts +1 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.js +7 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.ts +8 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.tsx +3 -3
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.js +2 -2
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.styled.d.ts +1 -0
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.styled.js +28 -0
- package/dist/src/components/molecules/AlsoKnownAs/{AlsoKnownAs.scss → AlsoKnownAs.styled.ts} +4 -4
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.tsx +3 -3
- package/dist/src/components/molecules/Article/Article.js +3 -4
- package/dist/src/components/molecules/Article/Article.styled.d.ts +1 -0
- package/dist/src/components/molecules/Article/Article.styled.js +65 -0
- package/dist/src/components/molecules/Article/{Article.scss → Article.styled.ts} +10 -27
- package/dist/src/components/molecules/Article/Article.tsx +5 -20
- package/dist/src/components/molecules/Article/ArticleProps.types.d.ts +0 -1
- package/dist/src/components/molecules/Article/ArticleProps.types.ts +0 -1
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.js +2 -2
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.styled.d.ts +1 -0
- package/dist/src/components/molecules/BaseBoxList/{BaseBoxList.scss → BaseBoxList.styled.js} +5 -6
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.styled.ts +26 -0
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.tsx +6 -2
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.js +2 -2
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.d.ts +1 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.js +15 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.ts +16 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.tsx +3 -3
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.js +2 -2
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.d.ts +1 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.js +50 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.ts +51 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.tsx +3 -3
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.js +2 -2
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.d.ts +1 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.js +94 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.ts +95 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.tsx +3 -3
- package/dist/src/components/molecules/BoxForm/BoxForm.js +2 -2
- package/dist/src/components/molecules/BoxForm/BoxForm.styled.d.ts +1 -0
- package/dist/src/components/molecules/BoxForm/BoxForm.styled.js +127 -0
- package/dist/src/components/molecules/BoxForm/BoxForm.styled.ts +128 -0
- package/dist/src/components/molecules/BoxForm/BoxForm.tsx +3 -3
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.js +2 -2
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.d.ts +1 -0
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.js +10 -0
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.ts +11 -0
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.tsx +3 -3
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.js +2 -1
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.d.ts +1 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.js +45 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.ts +46 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.tsx +3 -2
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.js +2 -1
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.d.ts +1 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.js +38 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.ts +39 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.tsx +4 -3
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.js +2 -2
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.styled.d.ts +1 -0
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.styled.js +34 -0
- package/dist/src/components/molecules/EmailContactBox/{EmailContactBox.scss → EmailContactBox.styled.ts} +3 -3
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.tsx +3 -3
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.js +2 -1
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.d.ts +1 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.js +13 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.ts +14 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.tsx +2 -1
- package/dist/src/components/molecules/FaqItem/FaqItem.js +3 -3
- package/dist/src/components/molecules/FaqItem/FaqItem.styled.d.ts +1 -0
- package/dist/src/components/molecules/FaqItem/FaqItem.styled.js +61 -0
- package/dist/src/components/molecules/FaqItem/{FaqItem.scss → FaqItem.styled.ts} +4 -5
- package/dist/src/components/molecules/FaqItem/FaqItem.tsx +5 -5
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.js +2 -2
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.styled.d.ts +1 -0
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.styled.js +9 -0
- package/dist/src/components/molecules/FeatureRatafiaCardList/{FeatureRatafiaCardList.scss → FeatureRatafiaCardList.styled.ts} +4 -2
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.tsx +3 -3
- package/dist/src/components/molecules/Feedback/Feedback.js +2 -2
- package/dist/src/components/molecules/Feedback/Feedback.styled.d.ts +1 -0
- package/dist/src/components/molecules/Feedback/Feedback.styled.js +114 -0
- package/dist/src/components/molecules/Feedback/Feedback.styled.ts +115 -0
- package/dist/src/components/molecules/Feedback/Feedback.tsx +3 -3
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.js +2 -2
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.styled.d.ts +1 -0
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.styled.js +109 -0
- package/dist/src/components/molecules/FreeDocModalContent/{FreeDocModalContent.scss → FreeDocModalContent.styled.ts} +10 -10
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.tsx +3 -3
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.js +2 -2
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.d.ts +1 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.js +32 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.ts +33 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.tsx +3 -3
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.js +2 -2
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.d.ts +1 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.js +20 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/{KeyFactCardListRatafia.scss → KeyFactCardListRatafia.styled.ts} +3 -3
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.tsx +3 -3
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.js +2 -2
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.d.ts +1 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.js +33 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.ts +34 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +3 -3
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.js +2 -2
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.d.ts +1 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.js +30 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.ts +31 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.tsx +3 -3
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.js +2 -2
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.d.ts +1 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.js +69 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.ts +70 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.tsx +3 -3
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.js +2 -2
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.d.ts +1 -0
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.js +74 -0
- package/dist/src/components/molecules/MoreDocsDesktop/{MoreDocsDesktop.scss → MoreDocsDesktop.styled.ts} +9 -8
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.tsx +3 -3
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.js +3 -3
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.d.ts +1 -0
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.js +72 -0
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.ts +73 -0
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.tsx +3 -3
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.js +2 -2
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.d.ts +1 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.js +35 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.ts +36 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +3 -3
- package/dist/src/components/molecules/Pagination/Pagination.js +2 -2
- package/dist/src/components/molecules/Pagination/Pagination.styled.d.ts +1 -0
- package/dist/src/components/molecules/Pagination/Pagination.styled.js +63 -0
- package/dist/src/components/molecules/Pagination/Pagination.styled.ts +64 -0
- package/dist/src/components/molecules/Pagination/Pagination.tsx +3 -3
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.js +2 -1
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.d.ts +1 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.js +59 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.ts +60 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.tsx +3 -2
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.js +2 -2
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.d.ts +1 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.js +32 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.ts +33 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.tsx +3 -3
- package/dist/src/components/molecules/PopularDocs/PopularDocs.js +2 -2
- package/dist/src/components/molecules/PopularDocs/PopularDocs.styled.d.ts +1 -0
- package/dist/src/components/molecules/PopularDocs/PopularDocs.styled.js +34 -0
- package/dist/src/components/molecules/PopularDocs/{PopularDocs.scss → PopularDocs.styled.ts} +7 -6
- package/dist/src/components/molecules/PopularDocs/PopularDocs.tsx +3 -3
- package/dist/src/components/molecules/PricingCard/PricingCard.js +2 -2
- package/dist/src/components/molecules/PricingCard/PricingCard.styled.d.ts +1 -0
- package/dist/src/components/molecules/PricingCard/PricingCard.styled.js +189 -0
- package/dist/src/components/molecules/PricingCard/PricingCard.styled.ts +190 -0
- package/dist/src/components/molecules/PricingCard/PricingCard.tsx +6 -3
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +2 -1
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.d.ts +1 -0
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js +93 -0
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts +94 -0
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +3 -2
- package/dist/src/components/molecules/Snackbar/Snackbar.js +2 -2
- package/dist/src/components/molecules/Snackbar/Snackbar.styled.d.ts +1 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.styled.js +139 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.styled.ts +140 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.tsx +3 -3
- package/dist/src/components/molecules/StepGetForm/StepGetForm.js +2 -2
- package/dist/src/components/molecules/StepGetForm/StepGetForm.styled.d.ts +1 -0
- package/dist/src/components/molecules/StepGetForm/StepGetForm.styled.js +104 -0
- package/dist/src/components/molecules/StepGetForm/{StepGetForm.scss → StepGetForm.styled.ts} +13 -13
- package/dist/src/components/molecules/StepGetForm/StepGetForm.tsx +3 -3
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.js +2 -1
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.d.ts +1 -0
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.js +19 -0
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.ts +20 -0
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.tsx +3 -2
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.js +2 -2
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.d.ts +1 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.js +6 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.ts +7 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.tsx +3 -3
- package/dist/src/components/molecules/TextInput/TextInput.js +0 -1
- package/dist/src/components/molecules/TextInput/TextInput.tsx +0 -1
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.js +2 -2
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.d.ts +1 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.js +14 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.ts +15 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.tsx +3 -3
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.js +2 -1
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.styled.d.ts +1 -0
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.styled.js +107 -0
- package/dist/src/components/molecules/TypeModulesList/{TypeModulesList.scss → TypeModulesList.styled.ts} +11 -11
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.tsx +3 -2
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.js +2 -2
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.d.ts +1 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.js +64 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.ts +65 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.tsx +8 -3
- package/dist/src/components/organisms/ArticlesList/ArticlesList.js +2 -2
- package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +2 -2
- package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.d.ts +0 -1
- package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.ts +0 -1
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.scss +1 -1
- package/dist/src/components/sections/BlogSection/BlogSection.js +4 -5
- package/dist/src/components/sections/BlogSection/BlogSection.styled.js +0 -21
- package/dist/src/components/sections/BlogSection/BlogSection.styled.ts +0 -21
- package/dist/src/components/sections/BlogSection/BlogSection.tsx +6 -10
- package/dist/src/components/sections/BlogSection/BlogSectionProps.types.d.ts +1 -2
- package/dist/src/components/sections/BlogSection/BlogSectionProps.types.ts +1 -2
- package/dist/src/custom.d.ts +1 -1
- package/dist/src/globalStyles/styles.scss +3 -43
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/images/svg/arrow-right-24px-outlined.svg +0 -3
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.scss +0 -7
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.scss +0 -16
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.scss +0 -49
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.scss +0 -93
- package/dist/src/components/molecules/BoxForm/BoxForm.scss +0 -129
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.scss +0 -7
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.scss +0 -42
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.scss +0 -37
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.scss +0 -14
- package/dist/src/components/molecules/Feedback/Feedback.scss +0 -109
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.scss +0 -31
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.scss +0 -32
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.scss +0 -69
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.scss +0 -71
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.scss +0 -33
- package/dist/src/components/molecules/Pagination/Pagination.scss +0 -62
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.scss +0 -60
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.scss +0 -33
- package/dist/src/components/molecules/PricingCard/PricingCard.scss +0 -186
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +0 -93
- package/dist/src/components/molecules/Snackbar/Snackbar.scss +0 -135
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.scss +0 -5
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.scss +0 -14
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.scss +0 -63
- package/dist/src/components/sections/BlogSection/BlogSection.scss +0 -54
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PhoneContactBoxMobileStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const PhoneContactBoxMobileStyled = styled.div `
|
|
4
|
+
display: block;
|
|
5
|
+
padding-top: 1rem;
|
|
6
|
+
|
|
7
|
+
@media ${device['landscape-tablets']} {
|
|
8
|
+
display: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.phone-mobile-contact {
|
|
12
|
+
&-button {
|
|
13
|
+
display: flex;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
margin-bottom: 1rem;
|
|
16
|
+
|
|
17
|
+
&:before {
|
|
18
|
+
content: '';
|
|
19
|
+
width: 20px;
|
|
20
|
+
height: 20px;
|
|
21
|
+
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0iZXA3dHIycDdyYSIgZD0iTTIwLjAxIDE1LjM4Yy0xLjIzIDAtMi40Mi0uMi0zLjUzLS41Ni0uMzUtLjEyLS43NC0uMDMtMS4wMS4yNGwtMS41NyAxLjk3Yy0yLjgzLTEuMzUtNS40OC0zLjktNi44OS02LjgzbDEuOTUtMS42NmMuMjctLjI4LjM1LS42Ny4yNC0xLjAyLS4zNy0xLjExLS41Ni0yLjMtLjU2LTMuNTMgMC0uNTQtLjQ1LS45OS0uOTktLjk5SDQuMTlDMy42NSAzIDMgMy4yNCAzIDMuOTkgMyAxMy4yOCAxMC43MyAyMSAyMC4wMSAyMWMuNzEgMCAuOTktLjYzLjk5LTEuMTh2LTMuNDVjMC0uNTQtLjQ1LS45OS0uOTktLjk5eiIvPgogICAgPC9kZWZzPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8Zz4KICAgICAgICAgICAgPGc+CiAgICAgICAgICAgICAgICA8Zz4KICAgICAgICAgICAgICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzc2LjAwMDAwMCwgLTMxNC4wMDAwMDApIHRyYW5zbGF0ZSgzMjguMDAwMDAwLCAyMDUuMDAwMDAwKSB0cmFuc2xhdGUoMzIuMDAwMDAwLCA5MC4wMDAwMDApIHRyYW5zbGF0ZSgxNi4wMDAwMDAsIDE5LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgICAgICAgICAgICAgICAgIDxtYXNrIGlkPSI3dHZidm9pbXpiIiBmaWxsPSIjZmZmIj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI2VwN3RyMnA3cmEiLz4KICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXNrPgogICAgICAgICAgICAgICAgICAgICAgICA8ZyBjbGFzcz0iaWNvbi13ZWItMjQtcCIgZmlsbD0iI2ZmZiIgbWFzaz0idXJsKCM3dHZidm9pbXpiKSI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo=');
|
|
22
|
+
margin-right: 0.5rem;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&-text {
|
|
27
|
+
color: var(--neutral-neutral-2);
|
|
28
|
+
text-align: center;
|
|
29
|
+
margin: 0rem 0 2rem;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
`;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const PhoneContactBoxMobileStyled = styled.div`
|
|
5
|
+
display: block;
|
|
6
|
+
padding-top: 1rem;
|
|
7
|
+
|
|
8
|
+
@media ${device['landscape-tablets']} {
|
|
9
|
+
display: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.phone-mobile-contact {
|
|
13
|
+
&-button {
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
margin-bottom: 1rem;
|
|
17
|
+
|
|
18
|
+
&:before {
|
|
19
|
+
content: '';
|
|
20
|
+
width: 20px;
|
|
21
|
+
height: 20px;
|
|
22
|
+
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0iZXA3dHIycDdyYSIgZD0iTTIwLjAxIDE1LjM4Yy0xLjIzIDAtMi40Mi0uMi0zLjUzLS41Ni0uMzUtLjEyLS43NC0uMDMtMS4wMS4yNGwtMS41NyAxLjk3Yy0yLjgzLTEuMzUtNS40OC0zLjktNi44OS02LjgzbDEuOTUtMS42NmMuMjctLjI4LjM1LS42Ny4yNC0xLjAyLS4zNy0xLjExLS41Ni0yLjMtLjU2LTMuNTMgMC0uNTQtLjQ1LS45OS0uOTktLjk5SDQuMTlDMy42NSAzIDMgMy4yNCAzIDMuOTkgMyAxMy4yOCAxMC43MyAyMSAyMC4wMSAyMWMuNzEgMCAuOTktLjYzLjk5LTEuMTh2LTMuNDVjMC0uNTQtLjQ1LS45OS0uOTktLjk5eiIvPgogICAgPC9kZWZzPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8Zz4KICAgICAgICAgICAgPGc+CiAgICAgICAgICAgICAgICA8Zz4KICAgICAgICAgICAgICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzc2LjAwMDAwMCwgLTMxNC4wMDAwMDApIHRyYW5zbGF0ZSgzMjguMDAwMDAwLCAyMDUuMDAwMDAwKSB0cmFuc2xhdGUoMzIuMDAwMDAwLCA5MC4wMDAwMDApIHRyYW5zbGF0ZSgxNi4wMDAwMDAsIDE5LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgICAgICAgICAgICAgICAgIDxtYXNrIGlkPSI3dHZidm9pbXpiIiBmaWxsPSIjZmZmIj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI2VwN3RyMnA3cmEiLz4KICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXNrPgogICAgICAgICAgICAgICAgICAgICAgICA8ZyBjbGFzcz0iaWNvbi13ZWItMjQtcCIgZmlsbD0iI2ZmZiIgbWFzaz0idXJsKCM3dHZidm9pbXpiKSI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo=');
|
|
23
|
+
margin-right: 0.5rem;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&-text {
|
|
28
|
+
color: var(--neutral-neutral-2);
|
|
29
|
+
text-align: center;
|
|
30
|
+
margin: 0rem 0 2rem;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
`
|
|
@@ -3,11 +3,11 @@ import React from 'react'
|
|
|
3
3
|
|
|
4
4
|
import { Button } from '../../atoms'
|
|
5
5
|
import { type PhoneContactBoxMobileProps } from './PhoneContactBoxMobileProps.types'
|
|
6
|
-
|
|
6
|
+
import { PhoneContactBoxMobileStyled } from './PhoneContactBoxMobile.styled'
|
|
7
7
|
|
|
8
8
|
export const PhoneContactBoxMobile: React.FC<PhoneContactBoxMobileProps> = ({ phones, schedule }) => {
|
|
9
9
|
return (
|
|
10
|
-
<
|
|
10
|
+
<PhoneContactBoxMobileStyled className='phone-mobile-contact-box-container wrapper wrapper--responsive'>
|
|
11
11
|
{phones.map((phone, index) => (
|
|
12
12
|
<Button
|
|
13
13
|
key={`${phone}-${index}`}
|
|
@@ -21,6 +21,6 @@ export const PhoneContactBoxMobile: React.FC<PhoneContactBoxMobileProps> = ({ ph
|
|
|
21
21
|
/>
|
|
22
22
|
))}
|
|
23
23
|
<p className='phone-mobile-contact-text'>{schedule}</p>
|
|
24
|
-
</
|
|
24
|
+
</PhoneContactBoxMobileStyled>
|
|
25
25
|
)
|
|
26
26
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { PopularDocsItem } from '../../atoms';
|
|
3
|
-
|
|
3
|
+
import { PopularDocsStyled } from './PopularDocs.styled';
|
|
4
4
|
export const PopularDocs = ({ title, documents }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs(PopularDocsStyled, { className: 'popular-docs', children: [_jsx("h2", { className: 'title', children: title }), _jsx("div", { className: 'documents', children: documents.map((document) => (_jsx(PopularDocsItem, { ...document }, document.id))) })] }));
|
|
6
6
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PopularDocsStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { size } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const PopularDocsStyled = styled.div `
|
|
4
|
+
width: 80%;
|
|
5
|
+
margin-left: 3rem;
|
|
6
|
+
|
|
7
|
+
@media only screen and (max-width: ${size.md}) {
|
|
8
|
+
margin-left: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@media only screen and (max-width: ${size.xs}) {
|
|
12
|
+
width: 95%;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.title {
|
|
16
|
+
text-align: left;
|
|
17
|
+
padding-left: 0.5rem;
|
|
18
|
+
font-size: 18px;
|
|
19
|
+
line-height: 1.33;
|
|
20
|
+
letter-spacing: -0.3px;
|
|
21
|
+
color: var(--primary-main-dark-1);
|
|
22
|
+
margin-bottom: 16px;
|
|
23
|
+
|
|
24
|
+
@media only screen and (max-width: ${size.md}) {
|
|
25
|
+
text-align: center;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.documents {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
gap: var(--global-gap);
|
|
33
|
+
}
|
|
34
|
+
`;
|
package/dist/src/components/molecules/PopularDocs/{PopularDocs.scss → PopularDocs.styled.ts}
RENAMED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import { size } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
2
3
|
|
|
3
|
-
.
|
|
4
|
+
export const PopularDocsStyled = styled.div`
|
|
4
5
|
width: 80%;
|
|
5
6
|
margin-left: 3rem;
|
|
6
7
|
|
|
7
|
-
@media only screen and (max-width:
|
|
8
|
+
@media only screen and (max-width: ${size.md}) {
|
|
8
9
|
margin-left: 0;
|
|
9
10
|
}
|
|
10
11
|
|
|
11
|
-
@media only screen and (max-width:
|
|
12
|
+
@media only screen and (max-width: ${size.xs}) {
|
|
12
13
|
width: 95%;
|
|
13
14
|
}
|
|
14
15
|
|
|
@@ -21,7 +22,7 @@
|
|
|
21
22
|
color: var(--primary-main-dark-1);
|
|
22
23
|
margin-bottom: 16px;
|
|
23
24
|
|
|
24
|
-
@media only screen and (max-width:
|
|
25
|
+
@media only screen and (max-width: ${size.md}) {
|
|
25
26
|
text-align: center;
|
|
26
27
|
}
|
|
27
28
|
}
|
|
@@ -31,4 +32,4 @@
|
|
|
31
32
|
flex-direction: column;
|
|
32
33
|
gap: var(--global-gap);
|
|
33
34
|
}
|
|
34
|
-
|
|
35
|
+
`
|
|
@@ -2,17 +2,17 @@ import React from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { PopularDocsItem } from '../../atoms'
|
|
4
4
|
import { type PopularDocsProps } from './PopularDocsProps'
|
|
5
|
-
|
|
5
|
+
import { PopularDocsStyled } from './PopularDocs.styled'
|
|
6
6
|
|
|
7
7
|
export const PopularDocs: React.FC<PopularDocsProps> = ({ title, documents }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<PopularDocsStyled className='popular-docs'>
|
|
10
10
|
<h2 className='title'>{title}</h2>
|
|
11
11
|
<div className='documents'>
|
|
12
12
|
{documents.map((document) => (
|
|
13
13
|
<PopularDocsItem key={document.id} {...document} />
|
|
14
14
|
))}
|
|
15
15
|
</div>
|
|
16
|
-
</
|
|
16
|
+
</PopularDocsStyled>
|
|
17
17
|
)
|
|
18
18
|
}
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
2
2
|
/* eslint-disable @typescript-eslint/no-unnecessary-condition */
|
|
3
3
|
import { useState } from 'react';
|
|
4
4
|
import { Button, Message } from '../../atoms';
|
|
5
|
-
|
|
5
|
+
import { PricingCardStyled } from './PricingCard.styled';
|
|
6
6
|
const PricingCard = ({ order, subscriptionId, onChangeRadio, isChecked = false, planName, price, currency, underPricingText, featuresList = [], children, disclaimer, message, cardButton }) => {
|
|
7
7
|
const [cardState, setCardState] = useState({ expanded: false });
|
|
8
8
|
if (planName === undefined ||
|
|
@@ -26,6 +26,6 @@ const PricingCard = ({ order, subscriptionId, onChangeRadio, isChecked = false,
|
|
|
26
26
|
const renderMoreMobileButton = (_jsx(Button, { dataQa: '', givenClass: 'see-more-button', color: 'tertiary', label: cardState.expanded ? 'See less' : 'See more', noLink: true, onClick: toggleCardContent }));
|
|
27
27
|
const renderHeaderContent = (_jsx("div", { className: 'pricing-card__header', children: _jsx("h5", { className: 'sans-serif --big pricing-card__header__text', children: _jsx("strong", { children: planName }) }) }));
|
|
28
28
|
const renderBodyContent = (_jsxs("div", { className: 'pricing-card__body', children: [Boolean(price) && (_jsxs("div", { className: 'sans-serif pricing-card__body__price', children: [_jsx("strong", { children: price }), _jsx("span", { children: currency }), Boolean(underPricingText) && _jsx("div", { className: 'pricing-card__body__text', children: underPricingText })] })), Boolean(featuresList.length) && (_jsxs("div", { className: `pricing-card__body__features-list ${expandedContentClass}`, children: [_jsx("hr", {}), _jsx("ul", { children: featuresList.map((feature) => (_jsx("li", { className: 'pricing-card__body__features-list__item', children: feature }, 'feature-item-' + feature))) })] })), children, featuresList != null && renderMoreMobileButton, cardButton, message != null && _jsx(Message, { ...message })] }));
|
|
29
|
-
return (_jsxs(
|
|
29
|
+
return (_jsxs(PricingCardStyled, { style: style, className: `pricing-card grid__column ${selectableCardClass} ${selectedCardClass}`, children: [_jsx("div", { className: 'pricing-card__wrapper', children: isSelectableCard ? (_jsxs("label", { className: 'pricing-card__radio-label', "data-qa": planName, children: [_jsx("input", { className: 'radio-input', type: 'radio', value: subscriptionId, onChange: onChangeRadio, name: 'pricing', checked: isChecked }), _jsx("span", { className: 'radio-checkbox' }), renderHeaderContent, renderBodyContent] })) : (_jsxs(_Fragment, { children: [renderHeaderContent, renderBodyContent] })) }), Boolean(disclaimer) && (_jsx("div", { className: 'pricing-card__disclaimer', children: _jsx("small", { children: disclaimer }) }))] }));
|
|
30
30
|
};
|
|
31
31
|
export default PricingCard;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PricingCardStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>> & string;
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const PricingCardStyled = styled.li `
|
|
4
|
+
position: relative;
|
|
5
|
+
max-width: 400px;
|
|
6
|
+
border: solid 1px transparent;
|
|
7
|
+
list-style: none;
|
|
8
|
+
|
|
9
|
+
&.pricing-card {
|
|
10
|
+
&.--selectable {
|
|
11
|
+
.pricing-card__radio-label {
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&:not(.--selected):hover {
|
|
16
|
+
.pricing-card__wrapper {
|
|
17
|
+
border-color: var(--neutral-neutral-3);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.--selected {
|
|
23
|
+
.pricing-card__wrapper {
|
|
24
|
+
border-color: var(--primary-main-light-3);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.pricing-card {
|
|
30
|
+
&__radio-label {
|
|
31
|
+
.radio-input {
|
|
32
|
+
display: none;
|
|
33
|
+
|
|
34
|
+
& + .radio-checkbox {
|
|
35
|
+
background-color: var(--others-white);
|
|
36
|
+
position: absolute;
|
|
37
|
+
top: 1rem;
|
|
38
|
+
left: 1rem;
|
|
39
|
+
width: 20px;
|
|
40
|
+
height: 20px;
|
|
41
|
+
border-radius: 50%;
|
|
42
|
+
border: 1px solid;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&:checked {
|
|
46
|
+
& + .radio-checkbox {
|
|
47
|
+
border: 5px solid var(--primary-main-light-1);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&__wrapper {
|
|
54
|
+
background-color: var(--others-white);
|
|
55
|
+
box-shadow: var(--box-shadow-container);
|
|
56
|
+
border-radius: var(--global-border-radius);
|
|
57
|
+
border: solid 1px transparent;
|
|
58
|
+
|
|
59
|
+
ul {
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
margin-top: 0.5rem;
|
|
63
|
+
|
|
64
|
+
li {
|
|
65
|
+
text-align: left;
|
|
66
|
+
display: flex;
|
|
67
|
+
flex-direction: row;
|
|
68
|
+
margin-bottom: 2rem;
|
|
69
|
+
|
|
70
|
+
p {
|
|
71
|
+
text-align: left;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
img {
|
|
75
|
+
width: 2.2rem;
|
|
76
|
+
height: 2.2rem;
|
|
77
|
+
margin-right: 1rem;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&__header {
|
|
84
|
+
padding: 1rem;
|
|
85
|
+
text-align: center;
|
|
86
|
+
background: var(--neutral-neutral-6);
|
|
87
|
+
|
|
88
|
+
&__text {
|
|
89
|
+
color: var(--neutral-neutral-2);
|
|
90
|
+
margin: 0 1rem;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&__body {
|
|
95
|
+
color: var(--neutral-neutral-1);
|
|
96
|
+
display: flex;
|
|
97
|
+
flex-flow: column nowrap;
|
|
98
|
+
padding: 1.5rem 1rem;
|
|
99
|
+
text-align: center;
|
|
100
|
+
|
|
101
|
+
&__price {
|
|
102
|
+
font-size: 2.25rem;
|
|
103
|
+
line-height: 2rem;
|
|
104
|
+
margin-top: 0;
|
|
105
|
+
margin-bottom: 1.5rem;
|
|
106
|
+
order: 2;
|
|
107
|
+
|
|
108
|
+
@media ${device.desktop} {
|
|
109
|
+
font-size: 2.25rem;
|
|
110
|
+
line-height: 2.5rem;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
span {
|
|
114
|
+
font-size: 1rem;
|
|
115
|
+
display: inline;
|
|
116
|
+
margin-left: 0.2rem;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&__text {
|
|
121
|
+
font-size: 0.85rem;
|
|
122
|
+
color: var(--neutral-neutral-2);
|
|
123
|
+
order: 4;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&__features-list {
|
|
127
|
+
display: none;
|
|
128
|
+
order: 6;
|
|
129
|
+
|
|
130
|
+
@media ${device['landscape-tablets']} {
|
|
131
|
+
display: block;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
&.--expanded {
|
|
135
|
+
display: block;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
hr {
|
|
139
|
+
width: 100%;
|
|
140
|
+
border-top: 1px solid var(--neutral-neutral-4);
|
|
141
|
+
margin-bottom: 1.5rem;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&__item {
|
|
145
|
+
&::before {
|
|
146
|
+
content: '•';
|
|
147
|
+
color: var(--primary-main);
|
|
148
|
+
font-weight: bold;
|
|
149
|
+
display: inline-block;
|
|
150
|
+
margin-right: 1rem;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
&:not(:last-child) {
|
|
154
|
+
margin-bottom: 1rem;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.e-button.see-more-button {
|
|
160
|
+
display: block;
|
|
161
|
+
margin: auto;
|
|
162
|
+
order: 8;
|
|
163
|
+
|
|
164
|
+
@media ${device['landscape-tablets']} {
|
|
165
|
+
display: none;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
&__disclaimer {
|
|
171
|
+
color: var(--neutral-neutral-2);
|
|
172
|
+
font-size: 0.75rem;
|
|
173
|
+
text-align: center;
|
|
174
|
+
width: 100%;
|
|
175
|
+
display: flex;
|
|
176
|
+
justify-content: center;
|
|
177
|
+
padding: 0.8rem 0 0.4rem;
|
|
178
|
+
max-width: 20rem;
|
|
179
|
+
|
|
180
|
+
@media ${device['landscape-tablets']} {
|
|
181
|
+
max-width: unset;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
&__button {
|
|
186
|
+
width: 100%;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
`;
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const PricingCardStyled = styled.li`
|
|
5
|
+
position: relative;
|
|
6
|
+
max-width: 400px;
|
|
7
|
+
border: solid 1px transparent;
|
|
8
|
+
list-style: none;
|
|
9
|
+
|
|
10
|
+
&.pricing-card {
|
|
11
|
+
&.--selectable {
|
|
12
|
+
.pricing-card__radio-label {
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&:not(.--selected):hover {
|
|
17
|
+
.pricing-card__wrapper {
|
|
18
|
+
border-color: var(--neutral-neutral-3);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.--selected {
|
|
24
|
+
.pricing-card__wrapper {
|
|
25
|
+
border-color: var(--primary-main-light-3);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.pricing-card {
|
|
31
|
+
&__radio-label {
|
|
32
|
+
.radio-input {
|
|
33
|
+
display: none;
|
|
34
|
+
|
|
35
|
+
& + .radio-checkbox {
|
|
36
|
+
background-color: var(--others-white);
|
|
37
|
+
position: absolute;
|
|
38
|
+
top: 1rem;
|
|
39
|
+
left: 1rem;
|
|
40
|
+
width: 20px;
|
|
41
|
+
height: 20px;
|
|
42
|
+
border-radius: 50%;
|
|
43
|
+
border: 1px solid;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:checked {
|
|
47
|
+
& + .radio-checkbox {
|
|
48
|
+
border: 5px solid var(--primary-main-light-1);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&__wrapper {
|
|
55
|
+
background-color: var(--others-white);
|
|
56
|
+
box-shadow: var(--box-shadow-container);
|
|
57
|
+
border-radius: var(--global-border-radius);
|
|
58
|
+
border: solid 1px transparent;
|
|
59
|
+
|
|
60
|
+
ul {
|
|
61
|
+
display: flex;
|
|
62
|
+
flex-direction: column;
|
|
63
|
+
margin-top: 0.5rem;
|
|
64
|
+
|
|
65
|
+
li {
|
|
66
|
+
text-align: left;
|
|
67
|
+
display: flex;
|
|
68
|
+
flex-direction: row;
|
|
69
|
+
margin-bottom: 2rem;
|
|
70
|
+
|
|
71
|
+
p {
|
|
72
|
+
text-align: left;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
img {
|
|
76
|
+
width: 2.2rem;
|
|
77
|
+
height: 2.2rem;
|
|
78
|
+
margin-right: 1rem;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&__header {
|
|
85
|
+
padding: 1rem;
|
|
86
|
+
text-align: center;
|
|
87
|
+
background: var(--neutral-neutral-6);
|
|
88
|
+
|
|
89
|
+
&__text {
|
|
90
|
+
color: var(--neutral-neutral-2);
|
|
91
|
+
margin: 0 1rem;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&__body {
|
|
96
|
+
color: var(--neutral-neutral-1);
|
|
97
|
+
display: flex;
|
|
98
|
+
flex-flow: column nowrap;
|
|
99
|
+
padding: 1.5rem 1rem;
|
|
100
|
+
text-align: center;
|
|
101
|
+
|
|
102
|
+
&__price {
|
|
103
|
+
font-size: 2.25rem;
|
|
104
|
+
line-height: 2rem;
|
|
105
|
+
margin-top: 0;
|
|
106
|
+
margin-bottom: 1.5rem;
|
|
107
|
+
order: 2;
|
|
108
|
+
|
|
109
|
+
@media ${device.desktop} {
|
|
110
|
+
font-size: 2.25rem;
|
|
111
|
+
line-height: 2.5rem;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
span {
|
|
115
|
+
font-size: 1rem;
|
|
116
|
+
display: inline;
|
|
117
|
+
margin-left: 0.2rem;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&__text {
|
|
122
|
+
font-size: 0.85rem;
|
|
123
|
+
color: var(--neutral-neutral-2);
|
|
124
|
+
order: 4;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&__features-list {
|
|
128
|
+
display: none;
|
|
129
|
+
order: 6;
|
|
130
|
+
|
|
131
|
+
@media ${device['landscape-tablets']} {
|
|
132
|
+
display: block;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&.--expanded {
|
|
136
|
+
display: block;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
hr {
|
|
140
|
+
width: 100%;
|
|
141
|
+
border-top: 1px solid var(--neutral-neutral-4);
|
|
142
|
+
margin-bottom: 1.5rem;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&__item {
|
|
146
|
+
&::before {
|
|
147
|
+
content: '•';
|
|
148
|
+
color: var(--primary-main);
|
|
149
|
+
font-weight: bold;
|
|
150
|
+
display: inline-block;
|
|
151
|
+
margin-right: 1rem;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
&:not(:last-child) {
|
|
155
|
+
margin-bottom: 1rem;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.e-button.see-more-button {
|
|
161
|
+
display: block;
|
|
162
|
+
margin: auto;
|
|
163
|
+
order: 8;
|
|
164
|
+
|
|
165
|
+
@media ${device['landscape-tablets']} {
|
|
166
|
+
display: none;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
&__disclaimer {
|
|
172
|
+
color: var(--neutral-neutral-2);
|
|
173
|
+
font-size: 0.75rem;
|
|
174
|
+
text-align: center;
|
|
175
|
+
width: 100%;
|
|
176
|
+
display: flex;
|
|
177
|
+
justify-content: center;
|
|
178
|
+
padding: 0.8rem 0 0.4rem;
|
|
179
|
+
max-width: 20rem;
|
|
180
|
+
|
|
181
|
+
@media ${device['landscape-tablets']} {
|
|
182
|
+
max-width: unset;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
&__button {
|
|
187
|
+
width: 100%;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
`
|
|
@@ -3,7 +3,7 @@ import React, { type FC, useState } from 'react'
|
|
|
3
3
|
|
|
4
4
|
import { Button, Message } from '../../atoms'
|
|
5
5
|
import { type PricingCardProps } from './PricingCardProps.types'
|
|
6
|
-
|
|
6
|
+
import { PricingCardStyled } from './PricingCard.styled'
|
|
7
7
|
|
|
8
8
|
const PricingCard: FC<PricingCardProps> = ({
|
|
9
9
|
order,
|
|
@@ -92,7 +92,10 @@ const PricingCard: FC<PricingCardProps> = ({
|
|
|
92
92
|
)
|
|
93
93
|
|
|
94
94
|
return (
|
|
95
|
-
<
|
|
95
|
+
<PricingCardStyled
|
|
96
|
+
style={style}
|
|
97
|
+
className={`pricing-card grid__column ${selectableCardClass} ${selectedCardClass}`}
|
|
98
|
+
>
|
|
96
99
|
<div className={'pricing-card__wrapper'}>
|
|
97
100
|
{isSelectableCard ? (
|
|
98
101
|
<label className='pricing-card__radio-label' data-qa={planName}>
|
|
@@ -120,7 +123,7 @@ const PricingCard: FC<PricingCardProps> = ({
|
|
|
120
123
|
<small>{disclaimer}</small>
|
|
121
124
|
</div>
|
|
122
125
|
)}
|
|
123
|
-
</
|
|
126
|
+
</PricingCardStyled>
|
|
124
127
|
)
|
|
125
128
|
}
|
|
126
129
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Button, IconSvgURLWithThemeColor, RichTextStrapi } from '../../atoms';
|
|
3
|
+
import { RatafiaSubscriptionCardStyled } from './RatafiaSubscriptionCard.styled';
|
|
3
4
|
import { stringSlugify } from '../../../utils/stringSlugify';
|
|
4
5
|
const RatafiaSubscriptionCard = ({ cardStyle, iconTitle, title, priceText, mainFeatures, AIFeatures, buttonText, linkText }) => {
|
|
5
6
|
if (!title)
|
|
6
7
|
return null;
|
|
7
8
|
const buttonStyle = cardStyle === 'Secondary' ? 'primary3' : 'primary';
|
|
8
9
|
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(
|
|
10
|
+
return (_jsxs(RatafiaSubscriptionCardStyled, { 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
|
};
|
|
11
12
|
export default RatafiaSubscriptionCard;
|
package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const RatafiaSubscriptionCardStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|