@npm_leadtech/legal-lib-components 5.7.7 → 5.7.8
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 +2175 -184
- package/dist/images/svg/arrow-right-24px-outlined.svg +3 -0
- package/dist/src/components/molecules/AccordionItem/AccordionItem.js +2 -2
- package/dist/src/components/molecules/AccordionItem/{AccordionItem.styled.ts → AccordionItem.scss} +3 -3
- package/dist/src/components/molecules/AccordionItem/AccordionItem.tsx +4 -3
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.js +2 -2
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.scss +7 -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.ts → AlsoKnownAs.scss} +4 -4
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.tsx +3 -3
- package/dist/src/components/molecules/Article/Article.js +4 -3
- package/dist/src/components/molecules/Article/{Article.styled.ts → Article.scss} +27 -10
- package/dist/src/components/molecules/Article/Article.tsx +20 -5
- package/dist/src/components/molecules/Article/ArticleProps.types.d.ts +1 -0
- package/dist/src/components/molecules/Article/ArticleProps.types.ts +1 -0
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.js +2 -2
- package/dist/src/components/molecules/BaseBoxList/{BaseBoxList.styled.ts → BaseBoxList.scss} +5 -5
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.tsx +2 -6
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.js +2 -2
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.scss +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.scss +49 -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.scss +93 -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.scss +129 -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.scss +7 -0
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.tsx +3 -3
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.js +1 -2
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.scss +42 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.tsx +2 -3
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.js +1 -2
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.scss +37 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.tsx +3 -4
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.js +2 -2
- package/dist/src/components/molecules/EmailContactBox/{EmailContactBox.styled.ts → EmailContactBox.scss} +3 -3
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.tsx +3 -3
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.js +1 -2
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.scss +14 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.tsx +1 -2
- package/dist/src/components/molecules/FaqItem/FaqItem.js +6 -5
- package/dist/src/components/molecules/FaqItem/{FaqItem.styled.ts → FaqItem.scss} +5 -4
- package/dist/src/components/molecules/FaqItem/FaqItem.tsx +10 -9
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.js +2 -2
- package/dist/src/components/molecules/FeatureRatafiaCardList/{FeatureRatafiaCardList.styled.ts → FeatureRatafiaCardList.scss} +2 -4
- 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.scss +109 -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.ts → FreeDocModalContent.scss} +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.scss +31 -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.ts → KeyFactCardListRatafia.scss} +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.scss +32 -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.tsx +3 -3
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.js +2 -2
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.scss +69 -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.ts → MoreDocsDesktop.scss} +8 -9
- 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.scss +71 -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.scss +33 -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.scss +62 -0
- package/dist/src/components/molecules/Pagination/Pagination.tsx +3 -3
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.js +1 -2
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.scss +60 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.tsx +2 -3
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.js +2 -2
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.scss +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.ts → PopularDocs.scss} +6 -7
- 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.scss +186 -0
- package/dist/src/components/molecules/PricingCard/PricingCard.tsx +3 -6
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +1 -2
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +93 -0
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +2 -3
- package/dist/src/components/molecules/Snackbar/Snackbar.js +2 -2
- package/dist/src/components/molecules/Snackbar/Snackbar.scss +135 -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.ts → StepGetForm.scss} +13 -13
- package/dist/src/components/molecules/StepGetForm/StepGetForm.tsx +3 -3
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.js +1 -2
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.tsx +2 -3
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.js +2 -2
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.scss +5 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.tsx +3 -3
- package/dist/src/components/molecules/TextInput/TextInput.js +1 -0
- package/dist/src/components/molecules/TextInput/TextInput.tsx +1 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.js +2 -2
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.scss +14 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.tsx +3 -3
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.js +1 -2
- package/dist/src/components/molecules/TypeModulesList/{TypeModulesList.styled.ts → TypeModulesList.scss} +11 -11
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.tsx +2 -3
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.js +2 -2
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.scss +63 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.tsx +3 -8
- 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 +1 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.ts +1 -0
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.scss +1 -1
- package/dist/src/components/sections/BlogSection/BlogSection.js +5 -4
- package/dist/src/components/sections/BlogSection/BlogSection.scss +54 -0
- package/dist/src/components/sections/BlogSection/BlogSection.styled.js +21 -0
- package/dist/src/components/sections/BlogSection/BlogSection.styled.ts +21 -0
- package/dist/src/components/sections/BlogSection/BlogSection.tsx +10 -6
- package/dist/src/components/sections/BlogSection/BlogSectionProps.types.d.ts +2 -1
- package/dist/src/components/sections/BlogSection/BlogSectionProps.types.ts +2 -1
- package/dist/src/custom.d.ts +1 -1
- package/dist/src/globalStyles/styles.scss +43 -3
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/components/molecules/AccordionItem/AccordionItem.styled.d.ts +0 -1
- package/dist/src/components/molecules/AccordionItem/AccordionItem.styled.js +0 -69
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.d.ts +0 -1
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.js +0 -7
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.ts +0 -8
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.styled.d.ts +0 -1
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.styled.js +0 -28
- package/dist/src/components/molecules/Article/Article.styled.d.ts +0 -1
- package/dist/src/components/molecules/Article/Article.styled.js +0 -65
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.styled.d.ts +0 -1
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.styled.js +0 -25
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.d.ts +0 -1
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.js +0 -15
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.ts +0 -16
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.d.ts +0 -1
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.js +0 -50
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.ts +0 -51
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.d.ts +0 -1
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.js +0 -94
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.ts +0 -95
- package/dist/src/components/molecules/BoxForm/BoxForm.styled.d.ts +0 -1
- package/dist/src/components/molecules/BoxForm/BoxForm.styled.js +0 -127
- package/dist/src/components/molecules/BoxForm/BoxForm.styled.ts +0 -128
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.d.ts +0 -1
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.js +0 -10
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.ts +0 -11
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.d.ts +0 -1
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.js +0 -45
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.ts +0 -46
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.d.ts +0 -1
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.js +0 -38
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.ts +0 -39
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.styled.d.ts +0 -1
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.styled.js +0 -34
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.d.ts +0 -1
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.js +0 -13
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.ts +0 -14
- package/dist/src/components/molecules/FaqItem/FaqItem.styled.d.ts +0 -1
- package/dist/src/components/molecules/FaqItem/FaqItem.styled.js +0 -61
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.styled.d.ts +0 -1
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.styled.js +0 -9
- package/dist/src/components/molecules/Feedback/Feedback.styled.d.ts +0 -1
- package/dist/src/components/molecules/Feedback/Feedback.styled.js +0 -114
- package/dist/src/components/molecules/Feedback/Feedback.styled.ts +0 -115
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.styled.d.ts +0 -1
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.styled.js +0 -109
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.d.ts +0 -1
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.js +0 -32
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.ts +0 -33
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.d.ts +0 -1
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.js +0 -20
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.d.ts +0 -1
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.js +0 -33
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.ts +0 -34
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.d.ts +0 -1
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.js +0 -30
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.ts +0 -31
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.d.ts +0 -1
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.js +0 -69
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.ts +0 -70
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.d.ts +0 -1
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.js +0 -74
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.d.ts +0 -1
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.js +0 -72
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.ts +0 -73
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.d.ts +0 -1
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.js +0 -35
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.ts +0 -36
- package/dist/src/components/molecules/Pagination/Pagination.styled.d.ts +0 -1
- package/dist/src/components/molecules/Pagination/Pagination.styled.js +0 -63
- package/dist/src/components/molecules/Pagination/Pagination.styled.ts +0 -64
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.d.ts +0 -1
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.js +0 -59
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.ts +0 -60
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.d.ts +0 -1
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.js +0 -32
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.ts +0 -33
- package/dist/src/components/molecules/PopularDocs/PopularDocs.styled.d.ts +0 -1
- package/dist/src/components/molecules/PopularDocs/PopularDocs.styled.js +0 -34
- package/dist/src/components/molecules/PricingCard/PricingCard.styled.d.ts +0 -1
- package/dist/src/components/molecules/PricingCard/PricingCard.styled.js +0 -189
- package/dist/src/components/molecules/PricingCard/PricingCard.styled.ts +0 -190
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.d.ts +0 -1
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js +0 -93
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts +0 -94
- package/dist/src/components/molecules/Snackbar/Snackbar.styled.d.ts +0 -1
- package/dist/src/components/molecules/Snackbar/Snackbar.styled.js +0 -139
- package/dist/src/components/molecules/Snackbar/Snackbar.styled.ts +0 -140
- package/dist/src/components/molecules/StepGetForm/StepGetForm.styled.d.ts +0 -1
- package/dist/src/components/molecules/StepGetForm/StepGetForm.styled.js +0 -104
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.d.ts +0 -1
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.js +0 -19
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.ts +0 -20
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.d.ts +0 -1
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.js +0 -6
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.ts +0 -7
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.d.ts +0 -1
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.js +0 -14
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.ts +0 -15
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.styled.d.ts +0 -1
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.styled.js +0 -107
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.d.ts +0 -1
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.js +0 -64
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.ts +0 -65
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
|
|
3
|
+
.pagination {
|
|
4
|
+
align-items: center;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
user-select: none;
|
|
9
|
+
-moz-user-select: none;
|
|
10
|
+
-webkit-user-select: none;
|
|
11
|
+
|
|
12
|
+
&__control {
|
|
13
|
+
display: flex;
|
|
14
|
+
svg {
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
fill: var(--neutral-neutral-2);
|
|
17
|
+
width: 1rem;
|
|
18
|
+
path {
|
|
19
|
+
pointer-events: none;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
&--prev svg {
|
|
23
|
+
transform: rotate(180deg);
|
|
24
|
+
}
|
|
25
|
+
&--hidden {
|
|
26
|
+
cursor: default;
|
|
27
|
+
pointer-events: none;
|
|
28
|
+
visibility: hidden;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&__page-wrapper {
|
|
33
|
+
display: flex;
|
|
34
|
+
margin: 0 1rem;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&__page {
|
|
38
|
+
align-items: center;
|
|
39
|
+
background: var(--neutral-neutral-6);
|
|
40
|
+
border: 2px solid var(--neutral-neutral-3);
|
|
41
|
+
border-radius: 4px;
|
|
42
|
+
box-sizing: border-box;
|
|
43
|
+
color: var(--neutral-neutral-2);
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
display: flex;
|
|
46
|
+
justify-content: center;
|
|
47
|
+
height: 2.125rem;
|
|
48
|
+
margin: 0 0.25rem;
|
|
49
|
+
min-width: 2.125rem;
|
|
50
|
+
padding: 0.3rem;
|
|
51
|
+
|
|
52
|
+
&--active {
|
|
53
|
+
background: var(--neutral-neutral-4);
|
|
54
|
+
border: 2px solid var(--neutral-neutral-2);
|
|
55
|
+
color: var(--neutral-neutral-1);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&--ellipsis {
|
|
59
|
+
cursor: default;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -4,7 +4,7 @@ import React, { type FC, type SyntheticEvent, useCallback, useState } from 'reac
|
|
|
4
4
|
import PageStepControl from './PageStepControl'
|
|
5
5
|
import PageSteps from './PageSteps'
|
|
6
6
|
import { type PaginationProps } from './PaginationProps.types'
|
|
7
|
-
import
|
|
7
|
+
// import './Pagination.scss'
|
|
8
8
|
|
|
9
9
|
const Pagination: FC<PaginationProps> = ({
|
|
10
10
|
activePage,
|
|
@@ -32,11 +32,11 @@ const Pagination: FC<PaginationProps> = ({
|
|
|
32
32
|
if (totalPages === undefined) return null
|
|
33
33
|
|
|
34
34
|
return (
|
|
35
|
-
<
|
|
35
|
+
<div className='pagination'>
|
|
36
36
|
<PageStepControl activePage={active} totalPages={totalPages} onClick={handleControl} direction={prevControl} />
|
|
37
37
|
<PageSteps activePage={active} onClick={handleCurrentPage} totalPages={totalPages} />
|
|
38
38
|
<PageStepControl activePage={active} totalPages={totalPages} onClick={handleControl} direction={nextControl} />
|
|
39
|
-
</
|
|
39
|
+
</div>
|
|
40
40
|
)
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import ContactPhoneIcon from '../../../../images/webp/customer-support.webp';
|
|
3
3
|
import ContactPhoneIconIE from '../../../../images/png/customer-support.png';
|
|
4
|
-
import { PhoneContactBoxDesktopStyled } from './PhoneContactBoxDesktop.styled';
|
|
5
4
|
// import './PhoneContactBoxDesktop.scss'
|
|
6
5
|
export const PhoneContactBoxDesktop = ({ phones, schedule }) => {
|
|
7
|
-
return (_jsxs(
|
|
6
|
+
return (_jsxs("div", { className: 'phone-contact-box-container', children: [_jsx("img", { src: ContactPhoneIcon, alt: 'Contact phone icon', width: '40', height: '40' }), _jsx("img", { src: ContactPhoneIconIE, className: 'onlyIE', alt: 'Contact phone icon', width: '40', height: '40' }), _jsxs("div", { className: 'phone-contact-info', children: [phones.map((phone, index) => (_jsx("p", { className: 'phone-contact-phone', children: phone }, `${phone}-${index}`))), _jsx("p", { className: 'email-contact-text', children: schedule })] })] }));
|
|
8
7
|
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.phone-contact {
|
|
5
|
+
&-box-container {
|
|
6
|
+
background-color: var(--others-white);
|
|
7
|
+
width: 100%;
|
|
8
|
+
border-radius: 4px;
|
|
9
|
+
margin-bottom: 2rem;
|
|
10
|
+
display: none;
|
|
11
|
+
padding: 2rem 1.5rem;
|
|
12
|
+
text-decoration: none;
|
|
13
|
+
box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
|
|
14
|
+
|
|
15
|
+
@media not all and (min-resolution: 0.001dpcm) {
|
|
16
|
+
@supports (-webkit-appearance: none) {
|
|
17
|
+
letter-spacing: -1px;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@include landscape-tablets {
|
|
22
|
+
display: flex;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
img {
|
|
26
|
+
align-self: center;
|
|
27
|
+
&:not(.onlyIE) {
|
|
28
|
+
display: block;
|
|
29
|
+
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
30
|
+
display: none;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
&.onlyIE {
|
|
34
|
+
display: none;
|
|
35
|
+
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
36
|
+
display: block;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&-info {
|
|
43
|
+
margin-left: 1.5rem;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&-phone {
|
|
47
|
+
font-size: 1.5rem;
|
|
48
|
+
color: var(--primary-main-dark-1);
|
|
49
|
+
font-weight: bold;
|
|
50
|
+
text-decoration: none;
|
|
51
|
+
|
|
52
|
+
@include laptop {
|
|
53
|
+
font-size: 1.7rem;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&-text {
|
|
58
|
+
color: var(--neutral-neutral-2);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -5,12 +5,11 @@ import React from 'react'
|
|
|
5
5
|
import ContactPhoneIcon from '../../../../images/webp/customer-support.webp'
|
|
6
6
|
import ContactPhoneIconIE from '../../../../images/png/customer-support.png'
|
|
7
7
|
import { type PhoneContactBoxDesktopProps } from './PhoneContactBoxDesktopProps.types'
|
|
8
|
-
import { PhoneContactBoxDesktopStyled } from './PhoneContactBoxDesktop.styled'
|
|
9
8
|
// import './PhoneContactBoxDesktop.scss'
|
|
10
9
|
|
|
11
10
|
export const PhoneContactBoxDesktop: React.FC<PhoneContactBoxDesktopProps> = ({ phones, schedule }) => {
|
|
12
11
|
return (
|
|
13
|
-
<
|
|
12
|
+
<div className='phone-contact-box-container'>
|
|
14
13
|
<img src={ContactPhoneIcon} alt='Contact phone icon' width='40' height='40'></img>
|
|
15
14
|
<img src={ContactPhoneIconIE} className='onlyIE' alt='Contact phone icon' width='40' height='40'></img>
|
|
16
15
|
<div className='phone-contact-info'>
|
|
@@ -21,6 +20,6 @@ export const PhoneContactBoxDesktop: React.FC<PhoneContactBoxDesktopProps> = ({
|
|
|
21
20
|
))}
|
|
22
21
|
<p className='email-contact-text'>{schedule}</p>
|
|
23
22
|
</div>
|
|
24
|
-
</
|
|
23
|
+
</div>
|
|
25
24
|
)
|
|
26
25
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Button } from '../../atoms';
|
|
3
|
-
import
|
|
3
|
+
// import './PhoneContactBoxMobile.scss'
|
|
4
4
|
export const PhoneContactBoxMobile = ({ phones, schedule }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs("div", { className: 'phone-mobile-contact-box-container wrapper wrapper--responsive', children: [phones.map((phone, index) => (_jsx(Button, { centered: true, isExternal: true, link: `tel:${phone}`, gtmTag: 'clicked_phone_contactus', givenClass: 'phone-mobile-contact-button e-button e-button--link e-button--primary-1 e-button--center', label: phone, dataQa: 'phone_contact_box' }, `${phone}-${index}`))), _jsx("p", { className: 'phone-mobile-contact-text', children: schedule })] }));
|
|
6
6
|
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.phone-mobile-contact {
|
|
5
|
+
&-box-container {
|
|
6
|
+
display: block;
|
|
7
|
+
padding-top: 1rem;
|
|
8
|
+
|
|
9
|
+
@include landscape-tablets {
|
|
10
|
+
display: none;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&-button {
|
|
15
|
+
display: flex;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
margin-bottom: 1rem;
|
|
18
|
+
|
|
19
|
+
&:before {
|
|
20
|
+
content: '';
|
|
21
|
+
width: 20px;
|
|
22
|
+
height: 20px;
|
|
23
|
+
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0iZXA3dHIycDdyYSIgZD0iTTIwLjAxIDE1LjM4Yy0xLjIzIDAtMi40Mi0uMi0zLjUzLS41Ni0uMzUtLjEyLS43NC0uMDMtMS4wMS4yNGwtMS41NyAxLjk3Yy0yLjgzLTEuMzUtNS40OC0zLjktNi44OS02LjgzbDEuOTUtMS42NmMuMjctLjI4LjM1LS42Ny4yNC0xLjAyLS4zNy0xLjExLS41Ni0yLjMtLjU2LTMuNTMgMC0uNTQtLjQ1LS45OS0uOTktLjk5SDQuMTlDMy42NSAzIDMgMy4yNCAzIDMuOTkgMyAxMy4yOCAxMC43MyAyMSAyMC4wMSAyMWMuNzEgMCAuOTktLjYzLjk5LTEuMTh2LTMuNDVjMC0uNTQtLjQ1LS45OS0uOTktLjk5eiIvPgogICAgPC9kZWZzPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8Zz4KICAgICAgICAgICAgPGc+CiAgICAgICAgICAgICAgICA8Zz4KICAgICAgICAgICAgICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzc2LjAwMDAwMCwgLTMxNC4wMDAwMDApIHRyYW5zbGF0ZSgzMjguMDAwMDAwLCAyMDUuMDAwMDAwKSB0cmFuc2xhdGUoMzIuMDAwMDAwLCA5MC4wMDAwMDApIHRyYW5zbGF0ZSgxNi4wMDAwMDAsIDE5LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgICAgICAgICAgICAgICAgIDxtYXNrIGlkPSI3dHZidm9pbXpiIiBmaWxsPSIjZmZmIj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI2VwN3RyMnA3cmEiLz4KICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXNrPgogICAgICAgICAgICAgICAgICAgICAgICA8ZyBjbGFzcz0iaWNvbi13ZWItMjQtcCIgZmlsbD0iI2ZmZiIgbWFzaz0idXJsKCM3dHZidm9pbXpiKSI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo=');
|
|
24
|
+
margin-right: 0.5rem;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&-text {
|
|
29
|
+
color: var(--neutral-neutral-2);
|
|
30
|
+
text-align: center;
|
|
31
|
+
margin: 0rem 0 2rem;
|
|
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
|
-
import
|
|
6
|
+
// import './PhoneContactBoxMobile.scss'
|
|
7
7
|
|
|
8
8
|
export const PhoneContactBoxMobile: React.FC<PhoneContactBoxMobileProps> = ({ phones, schedule }) => {
|
|
9
9
|
return (
|
|
10
|
-
<
|
|
10
|
+
<div 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
|
+
</div>
|
|
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
|
-
import
|
|
3
|
+
// import './PopularDocs.scss'
|
|
4
4
|
export const PopularDocs = ({ title, documents }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs("div", { 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
|
};
|
package/dist/src/components/molecules/PopularDocs/{PopularDocs.styled.ts → PopularDocs.scss}
RENAMED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import styled from 'styled-components'
|
|
1
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
.popular-docs {
|
|
5
4
|
width: 80%;
|
|
6
5
|
margin-left: 3rem;
|
|
7
6
|
|
|
8
|
-
@media only screen and (max-width: $
|
|
7
|
+
@media only screen and (max-width: #{$md}) {
|
|
9
8
|
margin-left: 0;
|
|
10
9
|
}
|
|
11
10
|
|
|
12
|
-
@media only screen and (max-width: $
|
|
11
|
+
@media only screen and (max-width: #{$xs}) {
|
|
13
12
|
width: 95%;
|
|
14
13
|
}
|
|
15
14
|
|
|
@@ -22,7 +21,7 @@ export const PopularDocsStyled = styled.div`
|
|
|
22
21
|
color: var(--primary-main-dark-1);
|
|
23
22
|
margin-bottom: 16px;
|
|
24
23
|
|
|
25
|
-
@media only screen and (max-width: $
|
|
24
|
+
@media only screen and (max-width: #{$md}) {
|
|
26
25
|
text-align: center;
|
|
27
26
|
}
|
|
28
27
|
}
|
|
@@ -32,4 +31,4 @@ export const PopularDocsStyled = styled.div`
|
|
|
32
31
|
flex-direction: column;
|
|
33
32
|
gap: var(--global-gap);
|
|
34
33
|
}
|
|
35
|
-
|
|
34
|
+
}
|
|
@@ -2,17 +2,17 @@ import React from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { PopularDocsItem } from '../../atoms'
|
|
4
4
|
import { type PopularDocsProps } from './PopularDocsProps'
|
|
5
|
-
import
|
|
5
|
+
// import './PopularDocs.scss'
|
|
6
6
|
|
|
7
7
|
export const PopularDocs: React.FC<PopularDocsProps> = ({ title, documents }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<div 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
|
+
</div>
|
|
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
|
-
import
|
|
5
|
+
// import './PricingCard.scss'
|
|
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("li", { 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,186 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.pricing-card {
|
|
5
|
+
position: relative;
|
|
6
|
+
max-width: 400px;
|
|
7
|
+
border: solid 1px transparent;
|
|
8
|
+
list-style: none;
|
|
9
|
+
|
|
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
|
+
&__radio-label {
|
|
29
|
+
.radio-input {
|
|
30
|
+
display: none;
|
|
31
|
+
|
|
32
|
+
& + .radio-checkbox {
|
|
33
|
+
background-color: var(--others-white);
|
|
34
|
+
position: absolute;
|
|
35
|
+
top: 1rem;
|
|
36
|
+
left: 1rem;
|
|
37
|
+
width: 20px;
|
|
38
|
+
height: 20px;
|
|
39
|
+
border-radius: 50%;
|
|
40
|
+
border: 1px solid;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:checked {
|
|
44
|
+
& + .radio-checkbox {
|
|
45
|
+
border: 5px solid var(--primary-main-light-1);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&__wrapper {
|
|
52
|
+
background-color: var(--others-white);
|
|
53
|
+
box-shadow: var(--box-shadow-container);
|
|
54
|
+
border-radius: var(--global-border-radius);
|
|
55
|
+
border: solid 1px transparent;
|
|
56
|
+
|
|
57
|
+
ul {
|
|
58
|
+
display: flex;
|
|
59
|
+
flex-direction: column;
|
|
60
|
+
margin-top: 0.5rem;
|
|
61
|
+
|
|
62
|
+
li {
|
|
63
|
+
text-align: left;
|
|
64
|
+
display: flex;
|
|
65
|
+
flex-direction: row;
|
|
66
|
+
margin-bottom: 2rem;
|
|
67
|
+
|
|
68
|
+
p {
|
|
69
|
+
text-align: left;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
img {
|
|
73
|
+
width: 2.2rem;
|
|
74
|
+
height: 2.2rem;
|
|
75
|
+
margin-right: 1rem;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&__header {
|
|
82
|
+
padding: 1rem;
|
|
83
|
+
text-align: center;
|
|
84
|
+
background: var(--neutral-neutral-6);
|
|
85
|
+
|
|
86
|
+
&__text {
|
|
87
|
+
color: var(--neutral-neutral-2);
|
|
88
|
+
margin: 0 1rem;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&__body {
|
|
93
|
+
color: var(--neutral-neutral-1);
|
|
94
|
+
display: flex;
|
|
95
|
+
flex-flow: column nowrap;
|
|
96
|
+
padding: 1.5rem 1rem;
|
|
97
|
+
text-align: center;
|
|
98
|
+
|
|
99
|
+
&__price {
|
|
100
|
+
font-size: 2.25rem;
|
|
101
|
+
line-height: 2rem;
|
|
102
|
+
margin-top: 0;
|
|
103
|
+
margin-bottom: 1.5rem;
|
|
104
|
+
order: 2;
|
|
105
|
+
|
|
106
|
+
@include desktop {
|
|
107
|
+
font-size: 2.25rem;
|
|
108
|
+
line-height: 2.5rem;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
span {
|
|
112
|
+
font-size: 1rem;
|
|
113
|
+
display: inline;
|
|
114
|
+
margin-left: 0.2rem;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&__text {
|
|
119
|
+
font-size: 0.85rem;
|
|
120
|
+
color: var(--neutral-neutral-2);
|
|
121
|
+
order: 4;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&__features-list {
|
|
125
|
+
display: none;
|
|
126
|
+
order: 6;
|
|
127
|
+
|
|
128
|
+
@include landscape-tablets {
|
|
129
|
+
display: block;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&.--expanded {
|
|
133
|
+
display: block;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
hr {
|
|
137
|
+
width: 100%;
|
|
138
|
+
border-top: 1px solid var(--neutral-neutral-4);
|
|
139
|
+
margin-bottom: 1.5rem;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&__item {
|
|
143
|
+
&::before {
|
|
144
|
+
content: '\2022';
|
|
145
|
+
color: var(--primary-main);
|
|
146
|
+
font-weight: bold;
|
|
147
|
+
display: inline-block;
|
|
148
|
+
margin-right: 1rem;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&:not(:last-child) {
|
|
152
|
+
margin-bottom: 1rem;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.e-button.see-more-button {
|
|
158
|
+
display: block;
|
|
159
|
+
margin: auto;
|
|
160
|
+
order: 8;
|
|
161
|
+
|
|
162
|
+
@include landscape-tablets {
|
|
163
|
+
display: none;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
&__disclaimer {
|
|
169
|
+
color: var(--neutral-neutral-2);
|
|
170
|
+
font-size: 0.75rem;
|
|
171
|
+
text-align: center;
|
|
172
|
+
width: 100%;
|
|
173
|
+
display: flex;
|
|
174
|
+
justify-content: center;
|
|
175
|
+
padding: 0.8rem 0 0.4rem;
|
|
176
|
+
max-width: 20rem;
|
|
177
|
+
|
|
178
|
+
@include landscape-tablets {
|
|
179
|
+
max-width: unset;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&__button {
|
|
184
|
+
width: 100%;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
@@ -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
|
-
import
|
|
6
|
+
// import './PricingCard.scss'
|
|
7
7
|
|
|
8
8
|
const PricingCard: FC<PricingCardProps> = ({
|
|
9
9
|
order,
|
|
@@ -92,10 +92,7 @@ const PricingCard: FC<PricingCardProps> = ({
|
|
|
92
92
|
)
|
|
93
93
|
|
|
94
94
|
return (
|
|
95
|
-
<
|
|
96
|
-
style={style}
|
|
97
|
-
className={`pricing-card grid__column ${selectableCardClass} ${selectedCardClass}`}
|
|
98
|
-
>
|
|
95
|
+
<li style={style} className={`pricing-card grid__column ${selectableCardClass} ${selectedCardClass}`}>
|
|
99
96
|
<div className={'pricing-card__wrapper'}>
|
|
100
97
|
{isSelectableCard ? (
|
|
101
98
|
<label className='pricing-card__radio-label' data-qa={planName}>
|
|
@@ -123,7 +120,7 @@ const PricingCard: FC<PricingCardProps> = ({
|
|
|
123
120
|
<small>{disclaimer}</small>
|
|
124
121
|
</div>
|
|
125
122
|
)}
|
|
126
|
-
</
|
|
123
|
+
</li>
|
|
127
124
|
)
|
|
128
125
|
}
|
|
129
126
|
|
|
@@ -1,12 +1,11 @@
|
|
|
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';
|
|
4
3
|
import { stringSlugify } from '../../../utils/stringSlugify';
|
|
5
4
|
const RatafiaSubscriptionCard = ({ cardStyle, iconTitle, title, priceText, mainFeatures, AIFeatures, buttonText, linkText }) => {
|
|
6
5
|
if (!title)
|
|
7
6
|
return null;
|
|
8
7
|
const buttonStyle = cardStyle === 'Secondary' ? 'primary3' : 'primary';
|
|
9
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)));
|
|
10
|
-
return (_jsxs(
|
|
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 ?? '#' }) }))] }));
|
|
11
10
|
};
|
|
12
11
|
export default RatafiaSubscriptionCard;
|
|
@@ -0,0 +1,93 @@
|
|
|
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: var(--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
|
+
}
|