@npm_leadtech/legal-lib-components 5.7.8 → 5.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/styles.css +184 -2175
- package/dist/images/componentsSvg/RatafiaIcon24px.d.ts +6 -0
- package/dist/images/componentsSvg/RatafiaIcon24px.js +2 -0
- package/dist/images/componentsSvg/RatafiaIcon24px.tsx +18 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.js +5 -1
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.js +14 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.ts +14 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.tsx +10 -1
- package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.d.ts +1 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.ts +1 -0
- package/dist/src/components/molecules/AccordionItem/AccordionItem.js +2 -2
- package/dist/src/components/molecules/AccordionItem/AccordionItem.styled.d.ts +1 -0
- package/dist/src/components/molecules/AccordionItem/AccordionItem.styled.js +69 -0
- package/dist/src/components/molecules/AccordionItem/{AccordionItem.scss → AccordionItem.styled.ts} +3 -3
- package/dist/src/components/molecules/AccordionItem/AccordionItem.tsx +3 -4
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.js +2 -2
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.d.ts +1 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.js +7 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.ts +8 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.tsx +3 -3
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.js +2 -2
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.styled.d.ts +1 -0
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.styled.js +28 -0
- package/dist/src/components/molecules/AlsoKnownAs/{AlsoKnownAs.scss → AlsoKnownAs.styled.ts} +4 -4
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.tsx +3 -3
- package/dist/src/components/molecules/Article/Article.js +3 -4
- package/dist/src/components/molecules/Article/Article.styled.d.ts +1 -0
- package/dist/src/components/molecules/Article/Article.styled.js +65 -0
- package/dist/src/components/molecules/Article/{Article.scss → Article.styled.ts} +10 -27
- package/dist/src/components/molecules/Article/Article.tsx +5 -20
- package/dist/src/components/molecules/Article/ArticleProps.types.d.ts +0 -1
- package/dist/src/components/molecules/Article/ArticleProps.types.ts +0 -1
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.js +2 -2
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.styled.d.ts +1 -0
- package/dist/src/components/molecules/BaseBoxList/{BaseBoxList.scss → BaseBoxList.styled.js} +5 -6
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.styled.ts +26 -0
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.tsx +6 -2
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.js +2 -2
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.d.ts +1 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.js +15 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.ts +16 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.tsx +3 -3
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.js +2 -2
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.d.ts +1 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.js +50 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.ts +51 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.tsx +3 -3
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.js +2 -2
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.d.ts +1 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.js +94 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.ts +95 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.tsx +3 -3
- package/dist/src/components/molecules/BoxForm/BoxForm.js +2 -2
- package/dist/src/components/molecules/BoxForm/BoxForm.styled.d.ts +1 -0
- package/dist/src/components/molecules/BoxForm/BoxForm.styled.js +127 -0
- package/dist/src/components/molecules/BoxForm/BoxForm.styled.ts +128 -0
- package/dist/src/components/molecules/BoxForm/BoxForm.tsx +3 -3
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.js +2 -2
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.d.ts +1 -0
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.js +10 -0
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.ts +11 -0
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.tsx +3 -3
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.js +2 -1
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.d.ts +1 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.js +45 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.ts +46 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.tsx +3 -2
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.js +2 -1
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.d.ts +1 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.js +38 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.ts +39 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.tsx +4 -3
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.js +2 -2
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.styled.d.ts +1 -0
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.styled.js +34 -0
- package/dist/src/components/molecules/EmailContactBox/{EmailContactBox.scss → EmailContactBox.styled.ts} +3 -3
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.tsx +3 -3
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.js +2 -1
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.d.ts +1 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.js +13 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.ts +14 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.tsx +2 -1
- package/dist/src/components/molecules/FaqItem/FaqItem.js +5 -6
- package/dist/src/components/molecules/FaqItem/FaqItem.styled.d.ts +1 -0
- package/dist/src/components/molecules/FaqItem/FaqItem.styled.js +61 -0
- package/dist/src/components/molecules/FaqItem/{FaqItem.scss → FaqItem.styled.ts} +4 -5
- package/dist/src/components/molecules/FaqItem/FaqItem.tsx +9 -10
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.js +2 -2
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.styled.d.ts +1 -0
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.styled.js +9 -0
- package/dist/src/components/molecules/FeatureRatafiaCardList/{FeatureRatafiaCardList.scss → FeatureRatafiaCardList.styled.ts} +4 -2
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.tsx +3 -3
- package/dist/src/components/molecules/Feedback/Feedback.js +2 -2
- package/dist/src/components/molecules/Feedback/Feedback.styled.d.ts +1 -0
- package/dist/src/components/molecules/Feedback/Feedback.styled.js +114 -0
- package/dist/src/components/molecules/Feedback/Feedback.styled.ts +115 -0
- package/dist/src/components/molecules/Feedback/Feedback.tsx +3 -3
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.js +2 -2
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.styled.d.ts +1 -0
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.styled.js +109 -0
- package/dist/src/components/molecules/FreeDocModalContent/{FreeDocModalContent.scss → FreeDocModalContent.styled.ts} +10 -10
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.tsx +3 -3
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.js +2 -2
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.d.ts +1 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.js +32 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.ts +33 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.tsx +3 -3
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.js +2 -2
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.d.ts +1 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.js +20 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/{KeyFactCardListRatafia.scss → KeyFactCardListRatafia.styled.ts} +3 -3
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.tsx +3 -3
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.js +2 -2
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.d.ts +1 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.js +33 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.ts +34 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +3 -3
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.js +2 -2
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.d.ts +1 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.js +30 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.ts +31 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.tsx +3 -3
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.js +2 -2
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.d.ts +1 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.js +69 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.ts +70 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.tsx +3 -3
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.js +2 -2
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.d.ts +1 -0
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.js +74 -0
- package/dist/src/components/molecules/MoreDocsDesktop/{MoreDocsDesktop.scss → MoreDocsDesktop.styled.ts} +9 -8
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.tsx +3 -3
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.js +3 -3
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.d.ts +1 -0
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.js +72 -0
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.ts +73 -0
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.tsx +3 -3
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.js +2 -2
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.d.ts +1 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.js +35 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.ts +36 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +3 -3
- package/dist/src/components/molecules/Pagination/Pagination.js +2 -2
- package/dist/src/components/molecules/Pagination/Pagination.styled.d.ts +1 -0
- package/dist/src/components/molecules/Pagination/Pagination.styled.js +63 -0
- package/dist/src/components/molecules/Pagination/Pagination.styled.ts +64 -0
- package/dist/src/components/molecules/Pagination/Pagination.tsx +3 -3
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.js +2 -1
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.d.ts +1 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.js +59 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.ts +60 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.tsx +3 -2
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.js +2 -2
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.d.ts +1 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.js +32 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.ts +33 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.tsx +3 -3
- package/dist/src/components/molecules/PopularDocs/PopularDocs.js +2 -2
- package/dist/src/components/molecules/PopularDocs/PopularDocs.styled.d.ts +1 -0
- package/dist/src/components/molecules/PopularDocs/PopularDocs.styled.js +34 -0
- package/dist/src/components/molecules/PopularDocs/{PopularDocs.scss → PopularDocs.styled.ts} +7 -6
- package/dist/src/components/molecules/PopularDocs/PopularDocs.tsx +3 -3
- package/dist/src/components/molecules/PricingCard/PricingCard.js +2 -2
- package/dist/src/components/molecules/PricingCard/PricingCard.styled.d.ts +1 -0
- package/dist/src/components/molecules/PricingCard/PricingCard.styled.js +189 -0
- package/dist/src/components/molecules/PricingCard/PricingCard.styled.ts +190 -0
- package/dist/src/components/molecules/PricingCard/PricingCard.tsx +6 -3
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +2 -1
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.d.ts +1 -0
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js +93 -0
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts +94 -0
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +3 -2
- package/dist/src/components/molecules/Snackbar/Snackbar.js +2 -2
- package/dist/src/components/molecules/Snackbar/Snackbar.styled.d.ts +1 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.styled.js +139 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.styled.ts +140 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.tsx +3 -3
- package/dist/src/components/molecules/StepGetForm/StepGetForm.js +2 -2
- package/dist/src/components/molecules/StepGetForm/StepGetForm.styled.d.ts +1 -0
- package/dist/src/components/molecules/StepGetForm/StepGetForm.styled.js +104 -0
- package/dist/src/components/molecules/StepGetForm/{StepGetForm.scss → StepGetForm.styled.ts} +13 -13
- package/dist/src/components/molecules/StepGetForm/StepGetForm.tsx +3 -3
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.js +2 -1
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.d.ts +1 -0
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.js +19 -0
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.ts +20 -0
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.tsx +3 -2
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.js +2 -2
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.d.ts +1 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.js +6 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.ts +7 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.tsx +3 -3
- package/dist/src/components/molecules/TextInput/TextInput.js +0 -1
- package/dist/src/components/molecules/TextInput/TextInput.tsx +0 -1
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.js +2 -2
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.d.ts +1 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.js +14 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.ts +15 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.tsx +3 -3
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.js +2 -1
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.styled.d.ts +1 -0
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.styled.js +107 -0
- package/dist/src/components/molecules/TypeModulesList/{TypeModulesList.scss → TypeModulesList.styled.ts} +11 -11
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.tsx +3 -2
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.js +2 -2
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.d.ts +1 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.js +64 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.ts +65 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.tsx +8 -3
- package/dist/src/components/organisms/ArticlesList/ArticlesList.js +2 -2
- package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +2 -2
- package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.d.ts +0 -1
- package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.ts +0 -1
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.scss +1 -1
- package/dist/src/components/sections/BlogSection/BlogSection.js +4 -5
- package/dist/src/components/sections/BlogSection/BlogSection.styled.js +0 -21
- package/dist/src/components/sections/BlogSection/BlogSection.styled.ts +0 -21
- package/dist/src/components/sections/BlogSection/BlogSection.tsx +6 -10
- package/dist/src/components/sections/BlogSection/BlogSectionProps.types.d.ts +1 -2
- package/dist/src/components/sections/BlogSection/BlogSectionProps.types.ts +1 -2
- package/dist/src/custom.d.ts +1 -1
- package/dist/src/globalStyles/styles.scss +3 -43
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/images/svg/arrow-right-24px-outlined.svg +0 -3
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.scss +0 -7
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.scss +0 -16
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.scss +0 -49
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.scss +0 -93
- package/dist/src/components/molecules/BoxForm/BoxForm.scss +0 -129
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.scss +0 -7
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.scss +0 -42
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.scss +0 -37
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.scss +0 -14
- package/dist/src/components/molecules/Feedback/Feedback.scss +0 -109
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.scss +0 -31
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.scss +0 -32
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.scss +0 -69
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.scss +0 -71
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.scss +0 -33
- package/dist/src/components/molecules/Pagination/Pagination.scss +0 -62
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.scss +0 -60
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.scss +0 -33
- package/dist/src/components/molecules/PricingCard/PricingCard.scss +0 -186
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +0 -93
- package/dist/src/components/molecules/Snackbar/Snackbar.scss +0 -135
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.scss +0 -5
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.scss +0 -14
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.scss +0 -63
- package/dist/src/components/sections/BlogSection/BlogSection.scss +0 -54
package/dist/src/components/molecules/StepGetForm/{StepGetForm.scss → StepGetForm.styled.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
3
|
|
|
4
|
-
.
|
|
4
|
+
export const StepGetFormStyled = styled.div`
|
|
5
5
|
border-radius: var(--global-border-radius);
|
|
6
6
|
display: flex;
|
|
7
7
|
max-width: 100%;
|
|
@@ -21,17 +21,17 @@
|
|
|
21
21
|
margin-right: 0;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
@
|
|
24
|
+
@media ${device['portrait-tablets']} {
|
|
25
25
|
padding: 1.5rem;
|
|
26
26
|
}
|
|
27
|
-
@
|
|
27
|
+
@media ${device['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
|
+
@media ${device.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 @@
|
|
|
42
42
|
max-width: 50%;
|
|
43
43
|
align-self: center;
|
|
44
44
|
|
|
45
|
-
@
|
|
45
|
+
@media ${device['landscape-tablets']} {
|
|
46
46
|
max-width: 100%;
|
|
47
47
|
text-align: center;
|
|
48
48
|
margin-top: 0;
|
|
@@ -62,21 +62,21 @@
|
|
|
62
62
|
align-self: center;
|
|
63
63
|
padding-bottom: 0;
|
|
64
64
|
margin: 0 auto;
|
|
65
|
-
@
|
|
65
|
+
@media ${device['portrait-tablets']} {
|
|
66
66
|
padding-bottom: 2.5rem;
|
|
67
67
|
}
|
|
68
|
-
@
|
|
68
|
+
@media ${device.laptop} {
|
|
69
69
|
margin-top: 2rem;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
@
|
|
72
|
+
@media ${device['landscape-tablets']} {
|
|
73
73
|
width: 100%;
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
.gatsby-image-wrapper {
|
|
78
78
|
width: 88px;
|
|
79
|
-
@
|
|
79
|
+
@media ${device['portrait-tablets']} {
|
|
80
80
|
height: 88px;
|
|
81
81
|
}
|
|
82
82
|
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
p {
|
|
89
89
|
margin-bottom: 0.5rem;
|
|
90
90
|
font-weight: bold;
|
|
91
|
-
@
|
|
91
|
+
@media ${device['portrait-tablets']} {
|
|
92
92
|
margin-bottom: 1.5rem;
|
|
93
93
|
}
|
|
94
94
|
}
|
|
@@ -102,4 +102,4 @@
|
|
|
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
|
-
|
|
4
|
+
import { StepGetFormStyled } from './StepGetForm.styled'
|
|
5
5
|
|
|
6
6
|
const StepGetForm: React.FC<StepGetFormProps> = ({ description, title = '', image }) => {
|
|
7
7
|
return (
|
|
8
|
-
<
|
|
8
|
+
<StepGetFormStyled 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
|
+
</StepGetFormStyled>
|
|
15
15
|
)
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { StepRatafiaCard } from '../../atoms';
|
|
3
|
+
import { StepRatafiaCardListStyled } from './StepRatafiaCardList.styled';
|
|
3
4
|
// import './StepRatafiaCardList.scss'
|
|
4
5
|
const StepRatafiaCardList = ({ steps = [] }) => {
|
|
5
6
|
if (steps.length === 0)
|
|
6
7
|
return null;
|
|
7
|
-
return (_jsx(
|
|
8
|
+
return (_jsx(StepRatafiaCardListStyled, { className: 'step-ratafia-card-list', children: steps.map((step) => (_jsx(StepRatafiaCard, { ...step }, step.id))) }));
|
|
8
9
|
};
|
|
9
10
|
export default StepRatafiaCardList;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StepRatafiaCardListStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const StepRatafiaCardListStyled = styled.div `
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
align-items: center;
|
|
7
|
+
align-self: stretch;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
gap: 1.5rem;
|
|
10
|
+
|
|
11
|
+
@media ${device.desktop} {
|
|
12
|
+
flex-direction: row;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@media ${device['desktop-xl']} {
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
gap: 1rem;
|
|
18
|
+
}
|
|
19
|
+
`;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const StepRatafiaCardListStyled = styled.div`
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: center;
|
|
8
|
+
align-self: stretch;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
gap: 1.5rem;
|
|
11
|
+
|
|
12
|
+
@media ${device.desktop} {
|
|
13
|
+
flex-direction: row;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@media ${device['desktop-xl']} {
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
gap: 1rem;
|
|
19
|
+
}
|
|
20
|
+
`
|
|
@@ -2,17 +2,18 @@ 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'
|
|
5
6
|
// import './StepRatafiaCardList.scss'
|
|
6
7
|
|
|
7
8
|
const StepRatafiaCardList: FC<StepRatafiaCardListProps> = ({ steps = [] }) => {
|
|
8
9
|
if (steps.length === 0) return null
|
|
9
10
|
|
|
10
11
|
return (
|
|
11
|
-
<
|
|
12
|
+
<StepRatafiaCardListStyled className='step-ratafia-card-list'>
|
|
12
13
|
{steps.map((step) => (
|
|
13
14
|
<StepRatafiaCard key={step.id} {...step} />
|
|
14
15
|
))}
|
|
15
|
-
</
|
|
16
|
+
</StepRatafiaCardListStyled>
|
|
16
17
|
)
|
|
17
18
|
}
|
|
18
19
|
export default StepRatafiaCardList
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { TagRatafiaItem } from '../../atoms';
|
|
3
|
-
|
|
3
|
+
import { TagsRatafiaListStyled } from './TagsRatafiaList.styled';
|
|
4
4
|
const TagsRatafiaList = ({ tags = [] }) => {
|
|
5
5
|
if (tags.length === 0)
|
|
6
6
|
return null;
|
|
7
|
-
return (_jsx(
|
|
7
|
+
return (_jsx(TagsRatafiaListStyled, { className: 'tag-ratafia-list', children: tags.map((tag) => (_jsx(TagRatafiaItem, { ...tag }, tag.id))) }));
|
|
8
8
|
};
|
|
9
9
|
export default TagsRatafiaList;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TagsRatafiaListStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -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
|
-
|
|
5
|
+
import { TagsRatafiaListStyled } from './TagsRatafiaList.styled'
|
|
6
6
|
|
|
7
7
|
const TagsRatafiaList: FC<TagsRatafiaListProps> = ({ tags = [] }) => {
|
|
8
8
|
if (tags.length === 0) return null
|
|
9
9
|
|
|
10
10
|
return (
|
|
11
|
-
<
|
|
11
|
+
<TagsRatafiaListStyled className='tag-ratafia-list'>
|
|
12
12
|
{tags.map((tag) => (
|
|
13
13
|
<TagRatafiaItem key={tag.id} {...tag} />
|
|
14
14
|
))}
|
|
15
|
-
</
|
|
15
|
+
</TagsRatafiaListStyled>
|
|
16
16
|
)
|
|
17
17
|
}
|
|
18
18
|
export default TagsRatafiaList
|
|
@@ -8,7 +8,6 @@ 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'
|
|
12
11
|
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) => {
|
|
13
12
|
const classnames = classNames('e-text', {
|
|
14
13
|
[givenClass]: givenClass,
|
|
@@ -9,7 +9,6 @@ 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'
|
|
13
12
|
|
|
14
13
|
const TextInput = React.forwardRef<HTMLInputElement, TextInputProps>(
|
|
15
14
|
(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
|
|
2
|
+
import { TrustworthyWebsitesStyled } from './TrustworthyWebsites.styled';
|
|
3
3
|
const TrustworthyWebsites = ({ images }) => {
|
|
4
|
-
return (_jsx(
|
|
4
|
+
return (_jsx(TrustworthyWebsitesStyled, { 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 @@
|
|
|
1
|
+
export declare const TrustworthyWebsitesStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const TrustworthyWebsitesStyled = styled.div `
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-wrap: wrap;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
align-items: center;
|
|
7
|
+
|
|
8
|
+
.trustworthy-websites {
|
|
9
|
+
&__image {
|
|
10
|
+
margin: 1.5rem;
|
|
11
|
+
max-width: 7rem;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
`;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const TrustworthyWebsitesStyled = styled.div`
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-wrap: wrap;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: center;
|
|
8
|
+
|
|
9
|
+
.trustworthy-websites {
|
|
10
|
+
&__image {
|
|
11
|
+
margin: 1.5rem;
|
|
12
|
+
max-width: 7rem;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
`
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
3
|
import { type TrustworthyWebsitesProps } from './TrustworthyWebsitesProps.types'
|
|
4
|
-
|
|
4
|
+
import { TrustworthyWebsitesStyled } from './TrustworthyWebsites.styled'
|
|
5
5
|
|
|
6
6
|
const TrustworthyWebsites: FC<TrustworthyWebsitesProps> = ({ images }) => {
|
|
7
7
|
return (
|
|
8
|
-
<
|
|
8
|
+
<TrustworthyWebsitesStyled 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
|
+
</TrustworthyWebsitesStyled>
|
|
15
15
|
)
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -1,7 +1,8 @@
|
|
|
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';
|
|
3
4
|
// import './TypeModulesList.scss'
|
|
4
5
|
const TypeModulesList = ({ typeModules }) => {
|
|
5
|
-
return (_jsx(
|
|
6
|
+
return (_jsx(TypeModulesListStyled, { 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))) }));
|
|
6
7
|
};
|
|
7
8
|
export default TypeModulesList;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TypeModulesListStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const TypeModulesListStyled = styled.div `
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: 2rem;
|
|
7
|
+
max-width: 400px;
|
|
8
|
+
|
|
9
|
+
@media ${device.laptop} {
|
|
10
|
+
max-width: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.module-item {
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
background-color: var(--neutral-neutral-6);
|
|
18
|
+
padding: 24px;
|
|
19
|
+
box-shadow: 0px 2px 6px 0px #02374a3f;
|
|
20
|
+
|
|
21
|
+
@media ${device.laptop} {
|
|
22
|
+
flex-direction: row;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.module-title {
|
|
27
|
+
font-family: var(--font-sans);
|
|
28
|
+
font-size: 18px;
|
|
29
|
+
font-weight: 700;
|
|
30
|
+
line-height: 24px;
|
|
31
|
+
letter-spacing: -0.3px;
|
|
32
|
+
text-align: left;
|
|
33
|
+
margin-bottom: 1rem;
|
|
34
|
+
margin-top: 1rem;
|
|
35
|
+
|
|
36
|
+
@media ${device.laptop} {
|
|
37
|
+
margin-top: 0;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.module-description {
|
|
42
|
+
font-family: var(--font-sans);
|
|
43
|
+
font-size: 16px;
|
|
44
|
+
font-weight: 400;
|
|
45
|
+
line-height: 22px;
|
|
46
|
+
letter-spacing: -0.3px;
|
|
47
|
+
text-align: left;
|
|
48
|
+
margin-bottom: 1rem;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.module-image {
|
|
52
|
+
display: flex;
|
|
53
|
+
justify-content: center;
|
|
54
|
+
width: 100%;
|
|
55
|
+
|
|
56
|
+
@media ${device.laptop} {
|
|
57
|
+
justify-content: flex-start;
|
|
58
|
+
width: 25%;
|
|
59
|
+
margin-right: 20px;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.module-content {
|
|
64
|
+
display: flex;
|
|
65
|
+
flex-direction: column;
|
|
66
|
+
width: 100%;
|
|
67
|
+
|
|
68
|
+
@media ${device.laptop} {
|
|
69
|
+
width: 65%;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.module-buttons {
|
|
74
|
+
display: flex;
|
|
75
|
+
gap: 0.5rem;
|
|
76
|
+
width: 100%;
|
|
77
|
+
|
|
78
|
+
@media ${device.laptop} {
|
|
79
|
+
width: max-content;
|
|
80
|
+
gap: 0;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.e-button {
|
|
84
|
+
display: flex;
|
|
85
|
+
justify-content: center;
|
|
86
|
+
width: 100%;
|
|
87
|
+
margin-top: 0;
|
|
88
|
+
padding-top: 0.6rem;
|
|
89
|
+
padding-bottom: 0.6rem;
|
|
90
|
+
background: var(--others-white);
|
|
91
|
+
|
|
92
|
+
@media ${device.laptop} {
|
|
93
|
+
margin: 0 0.5rem;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&.download-icon {
|
|
97
|
+
&::before {
|
|
98
|
+
content: '';
|
|
99
|
+
width: 1rem;
|
|
100
|
+
height: 1rem;
|
|
101
|
+
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEyLjg2MjUgOC40NzA1NEMxMy4xMjIyIDguMjEwODUgMTMuMTIyMiA3Ljc4OTggMTIuODYyNSA3LjUzMDEyQzEyLjYwMjkgNy4yNzA1OSAxMi4xODIyIDcuMjcwNCAxMS45MjI1IDcuNTI5NjlMOC42NjYwMiAxMC43ODAzVjMuMzMzNjZDOC42NjYwMiAyLjk2NTQ3IDguMzY3NTQgMi42NjY5OSA3Ljk5OTM1IDIuNjY2OTlDNy42MzExNiAyLjY2Njk5IDcuMzMyNjggMi45NjU0NyA3LjMzMjY4IDMuMzMzNjZWMTAuNzgwM0w0LjA4NTggNy41Mjc2M0MzLjgyNDU3IDcuMjY1OTMgMy40MDA2IDcuMjY1NzQgMy4xMzkxNCA3LjUyNzJDMi44Nzc4NCA3Ljc4ODUgMi44Nzc4NCA4LjIxMjE1IDMuMTM5MTQgOC40NzM0NUw3LjI5MjI0IDEyLjYyNjZDNy42ODI3NyAxMy4wMTcxIDguMzE1OTMgMTMuMDE3MSA4LjcwNjQ2IDEyLjYyNjZMMTIuODYyNSA4LjQ3MDU0WiIgZmlsbD0iIzNENDA0MiIvPgo8L3N2Zz4K);
|
|
102
|
+
margin-right: 0.5rem;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
`;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
3
|
|
|
4
|
-
.
|
|
4
|
+
export const TypeModulesListStyled = styled.div`
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
gap: 2rem;
|
|
8
8
|
max-width: 400px;
|
|
9
9
|
|
|
10
|
-
@
|
|
10
|
+
@media ${device.laptop} {
|
|
11
11
|
max-width: none;
|
|
12
12
|
}
|
|
13
13
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
padding: 24px;
|
|
20
20
|
box-shadow: 0px 2px 6px 0px #02374a3f;
|
|
21
21
|
|
|
22
|
-
@
|
|
22
|
+
@media ${device.laptop} {
|
|
23
23
|
flex-direction: row;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
margin-bottom: 1rem;
|
|
35
35
|
margin-top: 1rem;
|
|
36
36
|
|
|
37
|
-
@
|
|
37
|
+
@media ${device.laptop} {
|
|
38
38
|
margin-top: 0;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
justify-content: center;
|
|
55
55
|
width: 100%;
|
|
56
56
|
|
|
57
|
-
@
|
|
57
|
+
@media ${device.laptop} {
|
|
58
58
|
justify-content: flex-start;
|
|
59
59
|
width: 25%;
|
|
60
60
|
margin-right: 20px;
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
flex-direction: column;
|
|
67
67
|
width: 100%;
|
|
68
68
|
|
|
69
|
-
@
|
|
69
|
+
@media ${device.laptop} {
|
|
70
70
|
width: 65%;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
gap: 0.5rem;
|
|
77
77
|
width: 100%;
|
|
78
78
|
|
|
79
|
-
@
|
|
79
|
+
@media ${device.laptop} {
|
|
80
80
|
width: max-content;
|
|
81
81
|
gap: 0;
|
|
82
82
|
}
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
padding-bottom: 0.6rem;
|
|
91
91
|
background: var(--others-white);
|
|
92
92
|
|
|
93
|
-
@
|
|
93
|
+
@media ${device.laptop} {
|
|
94
94
|
margin: 0 0.5rem;
|
|
95
95
|
}
|
|
96
96
|
|
|
@@ -105,4 +105,4 @@
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
|
-
|
|
108
|
+
`
|
|
@@ -3,11 +3,12 @@ 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'
|
|
6
7
|
// import './TypeModulesList.scss'
|
|
7
8
|
|
|
8
9
|
const TypeModulesList: FC<TypeModulesListProps> = ({ typeModules }) => {
|
|
9
10
|
return (
|
|
10
|
-
<
|
|
11
|
+
<TypeModulesListStyled className='type-modules-list'>
|
|
11
12
|
{typeModules.map((module) => (
|
|
12
13
|
<div className='module-item' key={module.id}>
|
|
13
14
|
<div className='module-image'>{module.image}</div>
|
|
@@ -39,7 +40,7 @@ const TypeModulesList: FC<TypeModulesListProps> = ({ typeModules }) => {
|
|
|
39
40
|
</div>
|
|
40
41
|
</div>
|
|
41
42
|
))}
|
|
42
|
-
</
|
|
43
|
+
</TypeModulesListStyled>
|
|
43
44
|
)
|
|
44
45
|
}
|
|
45
46
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Button } from '../../atoms';
|
|
3
|
-
|
|
3
|
+
import { UploadRatafiaZoneStyled } from './UploadRatafiaZone.styled';
|
|
4
4
|
const UploadRatafiaZone = ({ content, handleDragOver, handleDragOut, handleDrop, documentUploadFileDialog, ctaDataQa }) => {
|
|
5
|
-
return (_jsx(
|
|
5
|
+
return (_jsx(UploadRatafiaZoneStyled, { 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 @@
|
|
|
1
|
+
export declare const UploadRatafiaZoneStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const UploadRatafiaZoneStyled = styled.div `
|
|
4
|
+
padding: 1rem;
|
|
5
|
+
|
|
6
|
+
border-radius: 24px;
|
|
7
|
+
background: rgba(255, 255, 255, 0.4);
|
|
8
|
+
box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
|
|
9
|
+
|
|
10
|
+
@media ${device['landscape-tablets']} {
|
|
11
|
+
max-width: 340px;
|
|
12
|
+
}
|
|
13
|
+
@media ${device.laptop} {
|
|
14
|
+
max-width: 560px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&:hover .upload-ratafia-zone__content__title {
|
|
18
|
+
color: var(--neutral-main);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.upload-ratafia-zone {
|
|
22
|
+
&__content {
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
text-align: center;
|
|
27
|
+
align-items: center;
|
|
28
|
+
flex: 1 0 0;
|
|
29
|
+
align-self: stretch;
|
|
30
|
+
|
|
31
|
+
padding: 3.5rem 2rem 1rem 2rem;
|
|
32
|
+
|
|
33
|
+
border-radius: 16px;
|
|
34
|
+
background: var(--neutral-neutral-6);
|
|
35
|
+
color: var(--neutral-neutral-3);
|
|
36
|
+
|
|
37
|
+
&__title {
|
|
38
|
+
margin-bottom: 2.5rem;
|
|
39
|
+
}
|
|
40
|
+
&__cta {
|
|
41
|
+
display: flex;
|
|
42
|
+
padding: 0.75rem 1rem;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
align-items: center;
|
|
45
|
+
gap: 0.5rem;
|
|
46
|
+
|
|
47
|
+
&__icon {
|
|
48
|
+
width: 24px;
|
|
49
|
+
height: 24px;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
&__description {
|
|
53
|
+
margin-top: 3.5rem;
|
|
54
|
+
margin-bottom: 1rem;
|
|
55
|
+
}
|
|
56
|
+
&__service-terms {
|
|
57
|
+
a {
|
|
58
|
+
color: var(--neutral-neutral-3);
|
|
59
|
+
text-decoration: underline;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
`;
|