@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
|
@@ -2,7 +2,6 @@ import React, { FC, ReactNode } from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { BenefitProps, RatafiaSubscriptionCardProps } from './RatafiaSubscriptionCardProps.types'
|
|
4
4
|
import { Button, IconSvgURLWithThemeColor, RichTextStrapi } from '../../atoms'
|
|
5
|
-
import { RatafiaSubscriptionCardStyled } from './RatafiaSubscriptionCard.styled'
|
|
6
5
|
import { stringSlugify } from '../../../utils/stringSlugify'
|
|
7
6
|
|
|
8
7
|
const RatafiaSubscriptionCard: FC<RatafiaSubscriptionCardProps> = ({
|
|
@@ -26,7 +25,7 @@ const RatafiaSubscriptionCard: FC<RatafiaSubscriptionCardProps> = ({
|
|
|
26
25
|
))
|
|
27
26
|
|
|
28
27
|
return (
|
|
29
|
-
<
|
|
28
|
+
<div className={`ratafia-card ${cardStyle ? stringSlugify(cardStyle) : 'primary'}`}>
|
|
30
29
|
<div className='ratafia-card__header'>
|
|
31
30
|
{title && (
|
|
32
31
|
<div className='ratafia-card__title'>
|
|
@@ -52,7 +51,7 @@ const RatafiaSubscriptionCard: FC<RatafiaSubscriptionCardProps> = ({
|
|
|
52
51
|
/>
|
|
53
52
|
</div>
|
|
54
53
|
)}
|
|
55
|
-
</
|
|
54
|
+
</div>
|
|
56
55
|
)
|
|
57
56
|
}
|
|
58
57
|
|
|
@@ -6,7 +6,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
6
6
|
import { useEffect, useState } from 'react';
|
|
7
7
|
import classNames from 'classnames';
|
|
8
8
|
import { Button } from '../../atoms';
|
|
9
|
-
import
|
|
9
|
+
// import './Snackbar.scss'
|
|
10
10
|
const Snackbar = ({ type, title, text, button, dismissTimeout = 1000, autoDismissTimeout, autoDismiss, onDismiss, onAutoDismiss }) => {
|
|
11
11
|
const [snackbarOpen, changeSnackbarOpen] = useState();
|
|
12
12
|
useEffect(() => {
|
|
@@ -38,6 +38,6 @@ const Snackbar = ({ type, title, text, button, dismissTimeout = 1000, autoDismis
|
|
|
38
38
|
active: snackbarOpen,
|
|
39
39
|
hidden: !(snackbarOpen ?? false)
|
|
40
40
|
});
|
|
41
|
-
return (_jsxs(
|
|
41
|
+
return (_jsxs("div", { className: classes, "aria-hidden": 'true', children: [_jsx("span", { className: 'snackbar-close-icon', onClick: closeSnackbar, tabIndex: 0, children: "\u00D7" }), _jsxs("div", { className: 'snackbar-content', children: [_jsxs("div", { className: 'snackbar-content__text-container', children: [_jsx("p", { className: 'snackbar-title', children: title ?? '' }), _jsx("p", { className: 'snackbar-text', children: text ?? '' })] }), button?.color !== null && Boolean(button?.label) && (_jsx("div", { className: 'snackbar-content__button', children: _jsx(Button, { label: button?.label ?? '', onClick: button?.onClick, color: button?.color ?? 'primary', noLink: true, functionParameters: '', dataQa: 'back' }) }))] })] }));
|
|
42
42
|
};
|
|
43
43
|
export default Snackbar;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
@import '../../../globalStyles/functions';
|
|
2
|
+
|
|
3
|
+
.snackbar {
|
|
4
|
+
color: var(--neutral-main);
|
|
5
|
+
line-height: 1.5;
|
|
6
|
+
margin-bottom: 1em;
|
|
7
|
+
padding: 0.5em 0 0.5em 0;
|
|
8
|
+
margin-right: 2%;
|
|
9
|
+
margin-left: 2%;
|
|
10
|
+
width: 96%;
|
|
11
|
+
transition: transform 1s;
|
|
12
|
+
z-index: 10000;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
border-radius: 4px;
|
|
15
|
+
box-shadow: var(--box-shadow-container);
|
|
16
|
+
font-size: 14px;
|
|
17
|
+
|
|
18
|
+
@include portrait-tablets {
|
|
19
|
+
margin: 0;
|
|
20
|
+
width: 18rem;
|
|
21
|
+
}
|
|
22
|
+
@include landscape-tablets {
|
|
23
|
+
width: 27rem;
|
|
24
|
+
}
|
|
25
|
+
@include laptop {
|
|
26
|
+
width: 36rem;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:before {
|
|
30
|
+
content: '';
|
|
31
|
+
display: block;
|
|
32
|
+
width: 1.5rem;
|
|
33
|
+
height: 1.5rem;
|
|
34
|
+
float: left;
|
|
35
|
+
margin: space(5) space(3) 0 space(3);
|
|
36
|
+
@include portrait-tablets {
|
|
37
|
+
margin: space(3) space(3) 0 space(3);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&-close-icon {
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
float: right;
|
|
44
|
+
font-size: 1.25rem;
|
|
45
|
+
line-height: 3;
|
|
46
|
+
margin-left: 1em;
|
|
47
|
+
margin-right: 1em;
|
|
48
|
+
opacity: 0.8;
|
|
49
|
+
@include portrait-tablets {
|
|
50
|
+
line-height: 2;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&--welcome {
|
|
55
|
+
background-color: var(--neutral-main);
|
|
56
|
+
color: var(--others-white);
|
|
57
|
+
border: 1px solid var(--neutral-neutral-2);
|
|
58
|
+
|
|
59
|
+
&:before {
|
|
60
|
+
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0icHJlZml4X19hIiBkPSJNMjAgMkg0Yy0xLjEgMC0yIC45LTIgMnYxOGw0LTRoMTRjMS4xIDAgMi0uOSAyLTJWNGMwLTEuMS0uOS0yLTItMnptMCAxNEg2bC0yIDJWNGgxNnYxMnpNNyA5aDJ2Mkg3Vjl6bTQgMGgydjJoLTJWOXptNCAwaDJ2MmgtMlY5eiIvPgogICAgPC9kZWZzPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgPG1hc2sgaWQ9InByZWZpeF9fYiIgZmlsbD0iI2ZmZiI+CiAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3ByZWZpeF9fYSIvPgogICAgICAgIDwvbWFzaz4KICAgICAgICA8ZyBmaWxsPSIjNUREOEMzIiBtYXNrPSJ1cmwoI3ByZWZpeF9fYikiPgogICAgICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K)
|
|
61
|
+
no-repeat;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&--success {
|
|
66
|
+
background-color: var(--snackbar-success-bg);
|
|
67
|
+
color: var(--snackbar-success-color);
|
|
68
|
+
border: 1px solid var(--snackbar-success-border);
|
|
69
|
+
|
|
70
|
+
&:before {
|
|
71
|
+
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0icHJlZml4X19hIiBkPSJNOC44IDE1LjlMNC42IDExLjcgMy4yIDEzLjEgOC44IDE4LjcgMjAuOCA2LjcgMTkuNCA1LjN6Ii8+CiAgICA8L2RlZnM+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGQ9Ik0wIDBIMjRWMjRIMHoiLz4KICAgICAgICA8bWFzayBpZD0icHJlZml4X19iIiBmaWxsPSIjZmZmIj4KICAgICAgICAgICAgPHVzZSB4bGluazpocmVmPSIjcHJlZml4X19hIi8+CiAgICAgICAgPC9tYXNrPgogICAgICAgIDxnIGZpbGw9IiMwMjM3NEEiIG1hc2s9InVybCgjcHJlZml4X19iKSI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wIDBIMjRWMjRIMHoiLz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo=)
|
|
72
|
+
no-repeat;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&--error {
|
|
77
|
+
background-color: var(--error-main);
|
|
78
|
+
color: var(--others-white);
|
|
79
|
+
border: 1px solid get-color(error, error-2);
|
|
80
|
+
|
|
81
|
+
&:before {
|
|
82
|
+
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0icHJlZml4X19hIiBkPSJNMTIgMkM2LjQ3IDIgMiA2LjQ3IDIgMTJzNC40NyAxMCAxMCAxMCAxMC00LjQ3IDEwLTEwUzE3LjUzIDIgMTIgMnptMCAxOGMtNC40MSAwLTgtMy41OS04LThzMy41OS04IDgtOCA4IDMuNTkgOCA4LTMuNTkgOC04IDh6bS0xLTloMnY2aC0ydi02em0wLTRoMnYyaC0yVjd6IiAvPgogICAgPC9kZWZzPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6IiAvPgogICAgICAgIDxtYXNrIGlkPSJwcmVmaXhfX2IiIGZpbGw9IiNmZmYiPgogICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNwcmVmaXhfX2EiIC8+CiAgICAgICAgPC9tYXNrPgogICAgICAgIDx1c2UgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJub256ZXJvIiB4bGluazpocmVmPSIjcHJlZml4X19hIiAvPgogICAgICAgIDxnIGZpbGw9IiNGRkYiIG1hc2s9InVybCgjcHJlZml4X19iKSI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wIDBIMjRWMjRIMHoiIC8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)
|
|
83
|
+
no-repeat;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&--reminder {
|
|
88
|
+
background-color: var(--snackbar-reminder-bg);
|
|
89
|
+
color: var(--neutral-main);
|
|
90
|
+
border: 1px solid var(--snackbar-reminder-border);
|
|
91
|
+
|
|
92
|
+
&:before {
|
|
93
|
+
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0icHJlZml4X19hIiBkPSJNMjAgMkg0Yy0xLjEgMC0yIC45LTIgMnYxOGw0LTRoMTRjMS4xIDAgMi0uOSAyLTJWNGMwLTEuMS0uOS0yLTItMnptMCAxNEg2bC0yIDJWNGgxNnYxMnpNNyA5aDJ2Mkg3Vjl6bTQgMGgydjJoLTJWOXptNCAwaDJ2MmgtMlY5eiIvPgogICAgPC9kZWZzPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgPG1hc2sgaWQ9InByZWZpeF9fYiIgZmlsbD0iI2ZmZiI+CiAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3ByZWZpeF9fYSIvPgogICAgICAgIDwvbWFzaz4KICAgICAgICA8ZyBmaWxsPSIjOTM2QzJGIiBtYXNrPSJ1cmwoI3ByZWZpeF9fYikiPgogICAgICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K)
|
|
94
|
+
no-repeat;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&-content {
|
|
99
|
+
display: flex;
|
|
100
|
+
flex-direction: column;
|
|
101
|
+
|
|
102
|
+
&__text-container {
|
|
103
|
+
display: flex;
|
|
104
|
+
flex-direction: column;
|
|
105
|
+
margin-right: 1rem;
|
|
106
|
+
min-width: 1%;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&__button button {
|
|
110
|
+
margin-top: 0.5rem;
|
|
111
|
+
height: auto !important;
|
|
112
|
+
|
|
113
|
+
label {
|
|
114
|
+
white-space: nowrap;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@include landscape-tablets {
|
|
119
|
+
flex-direction: row;
|
|
120
|
+
margin-top: inherit;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&-title {
|
|
125
|
+
font-weight: bold;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.e-button.remove-yellow {
|
|
129
|
+
border-color: transparent;
|
|
130
|
+
|
|
131
|
+
&:hover {
|
|
132
|
+
background-color: var(--others-white);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
@@ -7,7 +7,7 @@ import classNames from 'classnames'
|
|
|
7
7
|
|
|
8
8
|
import { Button } from '../../atoms'
|
|
9
9
|
import { type SnackbarProps } from './SnackbarProps.types'
|
|
10
|
-
import
|
|
10
|
+
// import './Snackbar.scss'
|
|
11
11
|
|
|
12
12
|
const Snackbar: FC<SnackbarProps> = ({
|
|
13
13
|
type,
|
|
@@ -53,7 +53,7 @@ const Snackbar: FC<SnackbarProps> = ({
|
|
|
53
53
|
})
|
|
54
54
|
|
|
55
55
|
return (
|
|
56
|
-
<
|
|
56
|
+
<div className={classes} aria-hidden='true'>
|
|
57
57
|
<span className='snackbar-close-icon' onClick={closeSnackbar} tabIndex={0}>
|
|
58
58
|
×
|
|
59
59
|
</span>
|
|
@@ -75,7 +75,7 @@ const Snackbar: FC<SnackbarProps> = ({
|
|
|
75
75
|
</div>
|
|
76
76
|
)}
|
|
77
77
|
</div>
|
|
78
|
-
</
|
|
78
|
+
</div>
|
|
79
79
|
)
|
|
80
80
|
}
|
|
81
81
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
// import './StepGetForm.scss'
|
|
3
3
|
const StepGetForm = ({ description, title = '', image }) => {
|
|
4
|
-
return (_jsxs(
|
|
4
|
+
return (_jsxs("div", { className: 'homeStepsItem', children: [image != null && _jsx("div", { className: 'step__image', children: image }), _jsxs("div", { className: 'step__information', children: [_jsx("p", { className: 'step__information__title sans-serif --big', children: title }), _jsx("small", { className: 'sans-serif --small', children: description })] })] }));
|
|
5
5
|
};
|
|
6
6
|
export default StepGetForm;
|
package/dist/src/components/molecules/StepGetForm/{StepGetForm.styled.ts → StepGetForm.scss}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
.homeStepsItem {
|
|
5
5
|
border-radius: var(--global-border-radius);
|
|
6
6
|
display: flex;
|
|
7
7
|
max-width: 100%;
|
|
@@ -21,17 +21,17 @@ export const StepGetFormStyled = styled.div`
|
|
|
21
21
|
margin-right: 0;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
@
|
|
24
|
+
@include portrait-tablets {
|
|
25
25
|
padding: 1.5rem;
|
|
26
26
|
}
|
|
27
|
-
@
|
|
27
|
+
@include landscape-tablets {
|
|
28
28
|
max-width: calc(100% / 3 - 0.5rem);
|
|
29
29
|
min-width: calc(100% / 3 - 0.5rem);
|
|
30
30
|
padding: 1.5rem;
|
|
31
31
|
height: 342px;
|
|
32
32
|
flex-flow: column nowrap;
|
|
33
33
|
}
|
|
34
|
-
@
|
|
34
|
+
@include laptop {
|
|
35
35
|
margin-right: 0;
|
|
36
36
|
max-width: calc(100% / 3 - 1rem);
|
|
37
37
|
min-width: calc(100% / 3 - 1rem);
|
|
@@ -42,7 +42,7 @@ export const StepGetFormStyled = styled.div`
|
|
|
42
42
|
max-width: 50%;
|
|
43
43
|
align-self: center;
|
|
44
44
|
|
|
45
|
-
@
|
|
45
|
+
@include landscape-tablets {
|
|
46
46
|
max-width: 100%;
|
|
47
47
|
text-align: center;
|
|
48
48
|
margin-top: 0;
|
|
@@ -62,21 +62,21 @@ export const StepGetFormStyled = styled.div`
|
|
|
62
62
|
align-self: center;
|
|
63
63
|
padding-bottom: 0;
|
|
64
64
|
margin: 0 auto;
|
|
65
|
-
@
|
|
65
|
+
@include portrait-tablets {
|
|
66
66
|
padding-bottom: 2.5rem;
|
|
67
67
|
}
|
|
68
|
-
@
|
|
68
|
+
@include laptop {
|
|
69
69
|
margin-top: 2rem;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
@
|
|
72
|
+
@include landscape-tablets {
|
|
73
73
|
width: 100%;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.gatsby-image-wrapper {
|
|
78
78
|
width: 88px;
|
|
79
|
-
@
|
|
79
|
+
@include portrait-tablets {
|
|
80
80
|
height: 88px;
|
|
81
81
|
}
|
|
82
82
|
|
|
@@ -88,7 +88,7 @@ export const StepGetFormStyled = styled.div`
|
|
|
88
88
|
p {
|
|
89
89
|
margin-bottom: 0.5rem;
|
|
90
90
|
font-weight: bold;
|
|
91
|
-
@
|
|
91
|
+
@include portrait-tablets {
|
|
92
92
|
margin-bottom: 1.5rem;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
@@ -102,4 +102,4 @@ export const StepGetFormStyled = styled.div`
|
|
|
102
102
|
width: 100%;
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
|
-
|
|
105
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
|
|
3
3
|
import { type StepGetFormProps } from './StepGetFormProps.types'
|
|
4
|
-
import
|
|
4
|
+
// import './StepGetForm.scss'
|
|
5
5
|
|
|
6
6
|
const StepGetForm: React.FC<StepGetFormProps> = ({ description, title = '', image }) => {
|
|
7
7
|
return (
|
|
8
|
-
<
|
|
8
|
+
<div className='homeStepsItem'>
|
|
9
9
|
{image != null && <div className={'step__image'}>{image}</div>}
|
|
10
10
|
<div className={'step__information'}>
|
|
11
11
|
<p className={'step__information__title sans-serif --big'}>{title}</p>
|
|
12
12
|
<small className={'sans-serif --small'}>{description}</small>
|
|
13
13
|
</div>
|
|
14
|
-
</
|
|
14
|
+
</div>
|
|
15
15
|
)
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { StepRatafiaCard } from '../../atoms';
|
|
3
|
-
import { StepRatafiaCardListStyled } from './StepRatafiaCardList.styled';
|
|
4
3
|
// import './StepRatafiaCardList.scss'
|
|
5
4
|
const StepRatafiaCardList = ({ steps = [] }) => {
|
|
6
5
|
if (steps.length === 0)
|
|
7
6
|
return null;
|
|
8
|
-
return (_jsx(
|
|
7
|
+
return (_jsx("div", { className: 'step-ratafia-card-list', children: steps.map((step) => (_jsx(StepRatafiaCard, { ...step }, step.id))) }));
|
|
9
8
|
};
|
|
10
9
|
export default StepRatafiaCardList;
|
|
@@ -2,18 +2,17 @@ import React, { type FC } from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { StepRatafiaCard } from '../../atoms'
|
|
4
4
|
import { type StepRatafiaCardListProps } from './StepRatafiaCardListProps.types'
|
|
5
|
-
import { StepRatafiaCardListStyled } from './StepRatafiaCardList.styled'
|
|
6
5
|
// import './StepRatafiaCardList.scss'
|
|
7
6
|
|
|
8
7
|
const StepRatafiaCardList: FC<StepRatafiaCardListProps> = ({ steps = [] }) => {
|
|
9
8
|
if (steps.length === 0) return null
|
|
10
9
|
|
|
11
10
|
return (
|
|
12
|
-
<
|
|
11
|
+
<div className='step-ratafia-card-list'>
|
|
13
12
|
{steps.map((step) => (
|
|
14
13
|
<StepRatafiaCard key={step.id} {...step} />
|
|
15
14
|
))}
|
|
16
|
-
</
|
|
15
|
+
</div>
|
|
17
16
|
)
|
|
18
17
|
}
|
|
19
18
|
export default StepRatafiaCardList
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { TagRatafiaItem } from '../../atoms';
|
|
3
|
-
import
|
|
3
|
+
// import './TagsRatafiaList.scss'
|
|
4
4
|
const TagsRatafiaList = ({ tags = [] }) => {
|
|
5
5
|
if (tags.length === 0)
|
|
6
6
|
return null;
|
|
7
|
-
return (_jsx(
|
|
7
|
+
return (_jsx("div", { className: 'tag-ratafia-list', children: tags.map((tag) => (_jsx(TagRatafiaItem, { ...tag }, tag.id))) }));
|
|
8
8
|
};
|
|
9
9
|
export default TagsRatafiaList;
|
|
@@ -2,17 +2,17 @@ import React, { type FC } from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { TagRatafiaItem } from '../../atoms'
|
|
4
4
|
import { type TagsRatafiaListProps } from './TagsRatafiaListProps.types'
|
|
5
|
-
import
|
|
5
|
+
// import './TagsRatafiaList.scss'
|
|
6
6
|
|
|
7
7
|
const TagsRatafiaList: FC<TagsRatafiaListProps> = ({ tags = [] }) => {
|
|
8
8
|
if (tags.length === 0) return null
|
|
9
9
|
|
|
10
10
|
return (
|
|
11
|
-
<
|
|
11
|
+
<div className='tag-ratafia-list'>
|
|
12
12
|
{tags.map((tag) => (
|
|
13
13
|
<TagRatafiaItem key={tag.id} {...tag} />
|
|
14
14
|
))}
|
|
15
|
-
</
|
|
15
|
+
</div>
|
|
16
16
|
)
|
|
17
17
|
}
|
|
18
18
|
export default TagsRatafiaList
|
|
@@ -8,6 +8,7 @@ import { Input } from './Input';
|
|
|
8
8
|
import { TextInputLabel } from './TextInputLabel';
|
|
9
9
|
import { TextInputMessage } from './TextInputMessage';
|
|
10
10
|
import { TextInputTooltip } from './TextInputTooltip';
|
|
11
|
+
// import './TextInput.scss'
|
|
11
12
|
const TextInput = React.forwardRef(({ label, value, validate = true, isValidGroup = true, format = undefined, name, placeholder, onChange, onClick, onBlur, onKeyDown, onKeyUp, disabled, type = 'text', maxLength, errorMessage = '', notes, dialogMenuTip, tooltip = '', givenClass = '', children }, ref) => {
|
|
12
13
|
const classnames = classNames('e-text', {
|
|
13
14
|
[givenClass]: givenClass,
|
|
@@ -9,6 +9,7 @@ import { TextInputLabel } from './TextInputLabel'
|
|
|
9
9
|
import { TextInputMessage } from './TextInputMessage'
|
|
10
10
|
import { type TextInputProps } from './TextInputProps.types'
|
|
11
11
|
import { TextInputTooltip } from './TextInputTooltip'
|
|
12
|
+
// import './TextInput.scss'
|
|
12
13
|
|
|
13
14
|
const TextInput = React.forwardRef<HTMLInputElement, TextInputProps>(
|
|
14
15
|
(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
// import './TrustworthyWebsites.scss'
|
|
3
3
|
const TrustworthyWebsites = ({ images }) => {
|
|
4
|
-
return (_jsx(
|
|
4
|
+
return (_jsx("div", { className: 'trustworthy-websites', children: images.map((item) => (_jsx("div", { className: 'trustworthy-websites__image', children: item.src }, item.id))) }));
|
|
5
5
|
};
|
|
6
6
|
export default TrustworthyWebsites;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.trustworthy-websites {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-wrap: wrap;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
align-items: center;
|
|
9
|
+
|
|
10
|
+
&__image {
|
|
11
|
+
margin: 1.5rem;
|
|
12
|
+
max-width: 7rem;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
3
|
import { type TrustworthyWebsitesProps } from './TrustworthyWebsitesProps.types'
|
|
4
|
-
import
|
|
4
|
+
// import './TrustworthyWebsites.scss'
|
|
5
5
|
|
|
6
6
|
const TrustworthyWebsites: FC<TrustworthyWebsitesProps> = ({ images }) => {
|
|
7
7
|
return (
|
|
8
|
-
<
|
|
8
|
+
<div className='trustworthy-websites'>
|
|
9
9
|
{images.map((item) => (
|
|
10
10
|
<div className='trustworthy-websites__image' key={item.id}>
|
|
11
11
|
{item.src}
|
|
12
12
|
</div>
|
|
13
13
|
))}
|
|
14
|
-
</
|
|
14
|
+
</div>
|
|
15
15
|
)
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Button, RichTextStrapi } from '../../atoms';
|
|
3
|
-
import { TypeModulesListStyled } from './TypeModulesList.styled';
|
|
4
3
|
// import './TypeModulesList.scss'
|
|
5
4
|
const TypeModulesList = ({ typeModules }) => {
|
|
6
|
-
return (_jsx(
|
|
5
|
+
return (_jsx("div", { className: 'type-modules-list', children: typeModules.map((module) => (_jsxs("div", { className: 'module-item', children: [_jsx("div", { className: 'module-image', children: module.image }), _jsxs("div", { className: 'module-content', children: [_jsx("h2", { className: 'module-title', children: module.title }), _jsx("div", { className: 'module-description', children: _jsx(RichTextStrapi, { ...module.description }) }), _jsxs("div", { className: 'module-buttons', children: [_jsx(Button, { dataQa: '', color: 'secondary3', givenClass: 'download-icon', label: module.buttonPdfCta, link: module.buttonPdfUrl ?? undefined, isExternal: true, target: '_blank' }), _jsx(Button, { dataQa: '', color: 'secondary3', givenClass: 'download-icon', label: module.buttonWordCta, link: module.buttonWordUrl ?? undefined, isExternal: true, target: '_blank' })] })] })] }, module.id))) }));
|
|
7
6
|
};
|
|
8
7
|
export default TypeModulesList;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
.type-modules-list {
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
gap: 2rem;
|
|
8
8
|
max-width: 400px;
|
|
9
9
|
|
|
10
|
-
@
|
|
10
|
+
@include laptop {
|
|
11
11
|
max-width: none;
|
|
12
12
|
}
|
|
13
13
|
|
|
@@ -19,7 +19,7 @@ export const TypeModulesListStyled = styled.div`
|
|
|
19
19
|
padding: 24px;
|
|
20
20
|
box-shadow: 0px 2px 6px 0px #02374a3f;
|
|
21
21
|
|
|
22
|
-
@
|
|
22
|
+
@include laptop {
|
|
23
23
|
flex-direction: row;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -34,7 +34,7 @@ export const TypeModulesListStyled = styled.div`
|
|
|
34
34
|
margin-bottom: 1rem;
|
|
35
35
|
margin-top: 1rem;
|
|
36
36
|
|
|
37
|
-
@
|
|
37
|
+
@include laptop {
|
|
38
38
|
margin-top: 0;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
@@ -54,7 +54,7 @@ export const TypeModulesListStyled = styled.div`
|
|
|
54
54
|
justify-content: center;
|
|
55
55
|
width: 100%;
|
|
56
56
|
|
|
57
|
-
@
|
|
57
|
+
@include laptop {
|
|
58
58
|
justify-content: flex-start;
|
|
59
59
|
width: 25%;
|
|
60
60
|
margin-right: 20px;
|
|
@@ -66,7 +66,7 @@ export const TypeModulesListStyled = styled.div`
|
|
|
66
66
|
flex-direction: column;
|
|
67
67
|
width: 100%;
|
|
68
68
|
|
|
69
|
-
@
|
|
69
|
+
@include laptop {
|
|
70
70
|
width: 65%;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
@@ -76,7 +76,7 @@ export const TypeModulesListStyled = styled.div`
|
|
|
76
76
|
gap: 0.5rem;
|
|
77
77
|
width: 100%;
|
|
78
78
|
|
|
79
|
-
@
|
|
79
|
+
@include laptop {
|
|
80
80
|
width: max-content;
|
|
81
81
|
gap: 0;
|
|
82
82
|
}
|
|
@@ -90,7 +90,7 @@ export const TypeModulesListStyled = styled.div`
|
|
|
90
90
|
padding-bottom: 0.6rem;
|
|
91
91
|
background: var(--others-white);
|
|
92
92
|
|
|
93
|
-
@
|
|
93
|
+
@include laptop {
|
|
94
94
|
margin: 0 0.5rem;
|
|
95
95
|
}
|
|
96
96
|
|
|
@@ -105,4 +105,4 @@ export const TypeModulesListStyled = styled.div`
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
|
|
108
|
+
}
|
|
@@ -3,12 +3,11 @@ import React, { type FC } from 'react'
|
|
|
3
3
|
|
|
4
4
|
import { Button, RichTextStrapi } from '../../atoms'
|
|
5
5
|
import { type TypeModulesListProps } from './TypeModulesListProps.types'
|
|
6
|
-
import { TypeModulesListStyled } from './TypeModulesList.styled'
|
|
7
6
|
// import './TypeModulesList.scss'
|
|
8
7
|
|
|
9
8
|
const TypeModulesList: FC<TypeModulesListProps> = ({ typeModules }) => {
|
|
10
9
|
return (
|
|
11
|
-
<
|
|
10
|
+
<div className='type-modules-list'>
|
|
12
11
|
{typeModules.map((module) => (
|
|
13
12
|
<div className='module-item' key={module.id}>
|
|
14
13
|
<div className='module-image'>{module.image}</div>
|
|
@@ -40,7 +39,7 @@ const TypeModulesList: FC<TypeModulesListProps> = ({ typeModules }) => {
|
|
|
40
39
|
</div>
|
|
41
40
|
</div>
|
|
42
41
|
))}
|
|
43
|
-
</
|
|
42
|
+
</div>
|
|
44
43
|
)
|
|
45
44
|
}
|
|
46
45
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Button } from '../../atoms';
|
|
3
|
-
import
|
|
3
|
+
// import './UploadRatafiaZone.scss'
|
|
4
4
|
const UploadRatafiaZone = ({ content, handleDragOver, handleDragOut, handleDrop, documentUploadFileDialog, ctaDataQa }) => {
|
|
5
|
-
return (_jsx(
|
|
5
|
+
return (_jsx("div", { className: 'upload-ratafia-zone', onDrop: handleDrop, onDragOver: handleDragOver, onDragLeave: handleDragOut, children: _jsxs("div", { className: 'upload-ratafia-zone__content', children: [_jsx("p", { className: 'sans-serif --medium upload-ratafia-zone__content__title', children: content.title }), _jsx(Button, { givenClass: 'upload-ratafia-zone__content__cta', dataQa: ctaDataQa, noLink: true, onClick: documentUploadFileDialog, color: 'primary', label: content.ctaLabel, children: content.ctaIcon != null && (_jsx("div", { className: 'upload-ratafia-zone__content__cta__icon', children: content.ctaIcon })) }), _jsx("p", { className: 'sans-serif --extra-small upload-ratafia-zone__content__description', children: content.description }), _jsx("span", { className: 'sans-serif --extra-small upload-ratafia-zone__content__service-terms', itemProp: 'text', children: content.serviceTerms })] }) }));
|
|
6
6
|
};
|
|
7
7
|
export default UploadRatafiaZone;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.upload-ratafia-zone {
|
|
5
|
+
padding: 1rem;
|
|
6
|
+
|
|
7
|
+
border-radius: 24px;
|
|
8
|
+
background: rgba(255, 255, 255, 0.4);
|
|
9
|
+
box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
|
|
10
|
+
|
|
11
|
+
@include landscape-tablets {
|
|
12
|
+
max-width: 340px;
|
|
13
|
+
}
|
|
14
|
+
@include laptop {
|
|
15
|
+
max-width: 560px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&__content {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
text-align: center;
|
|
23
|
+
align-items: center;
|
|
24
|
+
flex: 1 0 0;
|
|
25
|
+
align-self: stretch;
|
|
26
|
+
|
|
27
|
+
padding: 3.5rem 2rem 1rem 2rem;
|
|
28
|
+
|
|
29
|
+
border-radius: 16px;
|
|
30
|
+
background: var(--neutral-neutral-6);
|
|
31
|
+
color: var(--neutral-neutral-3);
|
|
32
|
+
|
|
33
|
+
&__title {
|
|
34
|
+
margin-bottom: 2.5rem;
|
|
35
|
+
}
|
|
36
|
+
&__cta {
|
|
37
|
+
display: flex;
|
|
38
|
+
padding: 0.75rem 1rem;
|
|
39
|
+
justify-content: center;
|
|
40
|
+
align-items: center;
|
|
41
|
+
gap: 0.5rem;
|
|
42
|
+
|
|
43
|
+
&__icon {
|
|
44
|
+
width: 24px;
|
|
45
|
+
height: 24px;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
&__description {
|
|
49
|
+
margin-top: 3.5rem;
|
|
50
|
+
margin-bottom: 1rem;
|
|
51
|
+
}
|
|
52
|
+
&__service-terms {
|
|
53
|
+
a {
|
|
54
|
+
color: var(--neutral-neutral-3);
|
|
55
|
+
text-decoration: underline;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&:hover .upload-ratafia-zone__content__title {
|
|
61
|
+
color: var(--neutral-main);
|
|
62
|
+
}
|
|
63
|
+
}
|