@npm_leadtech/legal-lib-components 5.7.5 → 5.7.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/styles.css +184 -2175
- package/dist/src/components/molecules/AccordionItem/AccordionItem.js +2 -2
- package/dist/src/components/molecules/AccordionItem/AccordionItem.styled.d.ts +1 -0
- package/dist/src/components/molecules/AccordionItem/AccordionItem.styled.js +69 -0
- package/dist/src/components/molecules/AccordionItem/{AccordionItem.scss → AccordionItem.styled.ts} +3 -3
- package/dist/src/components/molecules/AccordionItem/AccordionItem.tsx +3 -4
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.js +2 -2
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.d.ts +1 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.js +7 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.ts +8 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.tsx +3 -3
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.js +2 -2
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.styled.d.ts +1 -0
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.styled.js +28 -0
- package/dist/src/components/molecules/AlsoKnownAs/{AlsoKnownAs.scss → AlsoKnownAs.styled.ts} +4 -4
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.tsx +3 -3
- package/dist/src/components/molecules/Article/Article.js +3 -4
- package/dist/src/components/molecules/Article/Article.styled.d.ts +1 -0
- package/dist/src/components/molecules/Article/Article.styled.js +65 -0
- package/dist/src/components/molecules/Article/{Article.scss → Article.styled.ts} +10 -27
- package/dist/src/components/molecules/Article/Article.tsx +5 -20
- package/dist/src/components/molecules/Article/ArticleProps.types.d.ts +0 -1
- package/dist/src/components/molecules/Article/ArticleProps.types.ts +0 -1
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.js +2 -2
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.styled.d.ts +1 -0
- package/dist/src/components/molecules/BaseBoxList/{BaseBoxList.scss → BaseBoxList.styled.js} +5 -6
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.styled.ts +26 -0
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.tsx +6 -2
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.js +2 -2
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.d.ts +1 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.js +15 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.ts +16 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.tsx +3 -3
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.js +2 -2
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.d.ts +1 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.js +50 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.ts +51 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.tsx +3 -3
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.js +2 -2
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.d.ts +1 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.js +94 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.ts +95 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.tsx +3 -3
- package/dist/src/components/molecules/BoxForm/BoxForm.js +2 -2
- package/dist/src/components/molecules/BoxForm/BoxForm.styled.d.ts +1 -0
- package/dist/src/components/molecules/BoxForm/BoxForm.styled.js +127 -0
- package/dist/src/components/molecules/BoxForm/BoxForm.styled.ts +128 -0
- package/dist/src/components/molecules/BoxForm/BoxForm.tsx +3 -3
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.js +2 -2
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.d.ts +1 -0
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.js +10 -0
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.ts +11 -0
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.tsx +3 -3
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.js +2 -1
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.d.ts +1 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.js +45 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.ts +46 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.tsx +3 -2
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.js +2 -1
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.d.ts +1 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.js +38 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.ts +39 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.tsx +4 -3
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.js +2 -2
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.styled.d.ts +1 -0
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.styled.js +34 -0
- package/dist/src/components/molecules/EmailContactBox/{EmailContactBox.scss → EmailContactBox.styled.ts} +3 -3
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.tsx +3 -3
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.js +2 -1
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.d.ts +1 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.js +13 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.ts +14 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.tsx +2 -1
- package/dist/src/components/molecules/FaqItem/FaqItem.js +3 -3
- package/dist/src/components/molecules/FaqItem/FaqItem.styled.d.ts +1 -0
- package/dist/src/components/molecules/FaqItem/FaqItem.styled.js +61 -0
- package/dist/src/components/molecules/FaqItem/{FaqItem.scss → FaqItem.styled.ts} +4 -5
- package/dist/src/components/molecules/FaqItem/FaqItem.tsx +5 -5
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.js +2 -2
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.styled.d.ts +1 -0
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.styled.js +9 -0
- package/dist/src/components/molecules/FeatureRatafiaCardList/{FeatureRatafiaCardList.scss → FeatureRatafiaCardList.styled.ts} +4 -2
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.tsx +3 -3
- package/dist/src/components/molecules/Feedback/Feedback.js +2 -2
- package/dist/src/components/molecules/Feedback/Feedback.styled.d.ts +1 -0
- package/dist/src/components/molecules/Feedback/Feedback.styled.js +114 -0
- package/dist/src/components/molecules/Feedback/Feedback.styled.ts +115 -0
- package/dist/src/components/molecules/Feedback/Feedback.tsx +3 -3
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.js +2 -2
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.styled.d.ts +1 -0
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.styled.js +109 -0
- package/dist/src/components/molecules/FreeDocModalContent/{FreeDocModalContent.scss → FreeDocModalContent.styled.ts} +10 -10
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.tsx +3 -3
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.js +2 -2
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.d.ts +1 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.js +32 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.ts +33 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.tsx +3 -3
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.js +2 -2
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.d.ts +1 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.js +20 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/{KeyFactCardListRatafia.scss → KeyFactCardListRatafia.styled.ts} +3 -3
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.tsx +3 -3
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.js +2 -2
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.d.ts +1 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.js +33 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.ts +34 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +3 -3
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.js +2 -2
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.d.ts +1 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.js +30 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.ts +31 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.tsx +3 -3
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.js +2 -2
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.d.ts +1 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.js +69 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.ts +70 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.tsx +3 -3
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.js +2 -2
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.d.ts +1 -0
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.js +74 -0
- package/dist/src/components/molecules/MoreDocsDesktop/{MoreDocsDesktop.scss → MoreDocsDesktop.styled.ts} +9 -8
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.tsx +3 -3
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.js +3 -3
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.d.ts +1 -0
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.js +72 -0
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.ts +73 -0
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.tsx +3 -3
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.js +2 -2
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.d.ts +1 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.js +35 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.ts +36 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +3 -3
- package/dist/src/components/molecules/Pagination/Pagination.js +2 -2
- package/dist/src/components/molecules/Pagination/Pagination.styled.d.ts +1 -0
- package/dist/src/components/molecules/Pagination/Pagination.styled.js +63 -0
- package/dist/src/components/molecules/Pagination/Pagination.styled.ts +64 -0
- package/dist/src/components/molecules/Pagination/Pagination.tsx +3 -3
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.js +2 -1
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.d.ts +1 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.js +59 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.ts +60 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.tsx +3 -2
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.js +2 -2
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.d.ts +1 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.js +32 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.ts +33 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.tsx +3 -3
- package/dist/src/components/molecules/PopularDocs/PopularDocs.js +2 -2
- package/dist/src/components/molecules/PopularDocs/PopularDocs.styled.d.ts +1 -0
- package/dist/src/components/molecules/PopularDocs/PopularDocs.styled.js +34 -0
- package/dist/src/components/molecules/PopularDocs/{PopularDocs.scss → PopularDocs.styled.ts} +7 -6
- package/dist/src/components/molecules/PopularDocs/PopularDocs.tsx +3 -3
- package/dist/src/components/molecules/PricingCard/PricingCard.js +2 -2
- package/dist/src/components/molecules/PricingCard/PricingCard.styled.d.ts +1 -0
- package/dist/src/components/molecules/PricingCard/PricingCard.styled.js +189 -0
- package/dist/src/components/molecules/PricingCard/PricingCard.styled.ts +190 -0
- package/dist/src/components/molecules/PricingCard/PricingCard.tsx +6 -3
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +2 -1
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.d.ts +1 -0
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js +93 -0
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts +94 -0
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +3 -2
- package/dist/src/components/molecules/Snackbar/Snackbar.js +2 -2
- package/dist/src/components/molecules/Snackbar/Snackbar.styled.d.ts +1 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.styled.js +139 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.styled.ts +140 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.tsx +3 -3
- package/dist/src/components/molecules/StepGetForm/StepGetForm.js +2 -2
- package/dist/src/components/molecules/StepGetForm/StepGetForm.styled.d.ts +1 -0
- package/dist/src/components/molecules/StepGetForm/StepGetForm.styled.js +104 -0
- package/dist/src/components/molecules/StepGetForm/{StepGetForm.scss → StepGetForm.styled.ts} +13 -13
- package/dist/src/components/molecules/StepGetForm/StepGetForm.tsx +3 -3
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.js +2 -1
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.d.ts +1 -0
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.js +19 -0
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.ts +20 -0
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.tsx +3 -2
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.js +2 -2
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.d.ts +1 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.js +6 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.ts +7 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.tsx +3 -3
- package/dist/src/components/molecules/TextInput/TextInput.js +0 -1
- package/dist/src/components/molecules/TextInput/TextInput.tsx +0 -1
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.js +2 -2
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.d.ts +1 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.js +14 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.ts +15 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.tsx +3 -3
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.js +2 -1
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.styled.d.ts +1 -0
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.styled.js +107 -0
- package/dist/src/components/molecules/TypeModulesList/{TypeModulesList.scss → TypeModulesList.styled.ts} +11 -11
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.tsx +3 -2
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.js +2 -2
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.d.ts +1 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.js +64 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.ts +65 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.tsx +8 -3
- package/dist/src/components/organisms/ArticlesList/ArticlesList.js +2 -2
- package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +2 -2
- package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.d.ts +0 -1
- package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.ts +0 -1
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.scss +1 -1
- package/dist/src/components/sections/BlogSection/BlogSection.js +4 -5
- package/dist/src/components/sections/BlogSection/BlogSection.styled.js +0 -21
- package/dist/src/components/sections/BlogSection/BlogSection.styled.ts +0 -21
- package/dist/src/components/sections/BlogSection/BlogSection.tsx +6 -10
- package/dist/src/components/sections/BlogSection/BlogSectionProps.types.d.ts +1 -2
- package/dist/src/components/sections/BlogSection/BlogSectionProps.types.ts +1 -2
- package/dist/src/custom.d.ts +1 -1
- package/dist/src/globalStyles/styles.scss +3 -43
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/images/svg/arrow-right-24px-outlined.svg +0 -3
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.scss +0 -7
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.scss +0 -16
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.scss +0 -49
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.scss +0 -93
- package/dist/src/components/molecules/BoxForm/BoxForm.scss +0 -129
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.scss +0 -7
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.scss +0 -42
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.scss +0 -37
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.scss +0 -14
- package/dist/src/components/molecules/Feedback/Feedback.scss +0 -109
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.scss +0 -31
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.scss +0 -32
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.scss +0 -69
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.scss +0 -71
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.scss +0 -33
- package/dist/src/components/molecules/Pagination/Pagination.scss +0 -62
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.scss +0 -60
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.scss +0 -33
- package/dist/src/components/molecules/PricingCard/PricingCard.scss +0 -186
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +0 -93
- package/dist/src/components/molecules/Snackbar/Snackbar.scss +0 -135
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.scss +0 -5
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.scss +0 -14
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.scss +0 -63
- package/dist/src/components/sections/BlogSection/BlogSection.scss +0 -54
package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const RatafiaSubscriptionCardStyled = styled.div `
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-flow: column nowrap;
|
|
5
|
+
flex: 1;
|
|
6
|
+
gap: 0.5rem;
|
|
7
|
+
min-width: 320px;
|
|
8
|
+
padding: 1rem;
|
|
9
|
+
border-radius: var(--global-border-radius);
|
|
10
|
+
|
|
11
|
+
&.primary {
|
|
12
|
+
background-color: var(--neutral-neutral-6);
|
|
13
|
+
|
|
14
|
+
.icon-svg-with-theme-color {
|
|
15
|
+
background-color: var(--primary-main-light-1);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.ratafia-card__feature {
|
|
19
|
+
&.ratafia-card__ai-feature {
|
|
20
|
+
background-color: var(--primary-main-light-6);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&.secondary {
|
|
26
|
+
background-color: var(--primary-main-light-4);
|
|
27
|
+
|
|
28
|
+
.icon-svg-with-theme-color {
|
|
29
|
+
background-color: var(--primary-main-dark-2);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.ratafia-card__feature {
|
|
33
|
+
&.ratafia-card__ai-feature {
|
|
34
|
+
background-color: var(--secondary-main-light-3);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.ratafia-card {
|
|
40
|
+
&__header {
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-flow: row wrap;
|
|
43
|
+
align-items: center;
|
|
44
|
+
justify-content: space-between;
|
|
45
|
+
gap: 0.5rem 1rem;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&__title {
|
|
49
|
+
display: flex;
|
|
50
|
+
flex-flow: row nowrap;
|
|
51
|
+
align-items: center;
|
|
52
|
+
gap: 0.8rem;
|
|
53
|
+
font-weight: bold;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
hr {
|
|
57
|
+
border: none;
|
|
58
|
+
border-top: 1px solid var(--neutral-neutral-4);
|
|
59
|
+
width: 100%;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&__body {
|
|
63
|
+
display: flex;
|
|
64
|
+
flex-flow: column;
|
|
65
|
+
flex: 1;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&__feature {
|
|
69
|
+
display: flex;
|
|
70
|
+
flex-flow: row nowrap;
|
|
71
|
+
justify-content: flex-start;
|
|
72
|
+
gap: 0.5rem;
|
|
73
|
+
color: var(--neutral-neutral-1);
|
|
74
|
+
text-align: left;
|
|
75
|
+
padding: 0.25rem 0;
|
|
76
|
+
|
|
77
|
+
.icon-svg-with-theme-color {
|
|
78
|
+
flex-basis: 1rem;
|
|
79
|
+
margin-top: 0.2rem;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&.ratafia-card__ai-feature {
|
|
83
|
+
background-color: var(--primary-main-light-6);
|
|
84
|
+
padding-left: 0.5rem;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&__footer {
|
|
89
|
+
display: flex;
|
|
90
|
+
margin-top: 1.5rem;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
`;
|
package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const RatafiaSubscriptionCardStyled = styled.div`
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-flow: column nowrap;
|
|
6
|
+
flex: 1;
|
|
7
|
+
gap: 0.5rem;
|
|
8
|
+
min-width: 320px;
|
|
9
|
+
padding: 1rem;
|
|
10
|
+
border-radius: var(--global-border-radius);
|
|
11
|
+
|
|
12
|
+
&.primary {
|
|
13
|
+
background-color: var(--neutral-neutral-6);
|
|
14
|
+
|
|
15
|
+
.icon-svg-with-theme-color {
|
|
16
|
+
background-color: var(--primary-main-light-1);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.ratafia-card__feature {
|
|
20
|
+
&.ratafia-card__ai-feature {
|
|
21
|
+
background-color: var(--primary-main-light-6);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&.secondary {
|
|
27
|
+
background-color: var(--primary-main-light-4);
|
|
28
|
+
|
|
29
|
+
.icon-svg-with-theme-color {
|
|
30
|
+
background-color: var(--primary-main-dark-2);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.ratafia-card__feature {
|
|
34
|
+
&.ratafia-card__ai-feature {
|
|
35
|
+
background-color: var(--secondary-main-light-3);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.ratafia-card {
|
|
41
|
+
&__header {
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-flow: row wrap;
|
|
44
|
+
align-items: center;
|
|
45
|
+
justify-content: space-between;
|
|
46
|
+
gap: 0.5rem 1rem;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&__title {
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-flow: row nowrap;
|
|
52
|
+
align-items: center;
|
|
53
|
+
gap: 0.8rem;
|
|
54
|
+
font-weight: bold;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
hr {
|
|
58
|
+
border: none;
|
|
59
|
+
border-top: 1px solid var(--neutral-neutral-4);
|
|
60
|
+
width: 100%;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&__body {
|
|
64
|
+
display: flex;
|
|
65
|
+
flex-flow: column;
|
|
66
|
+
flex: 1;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&__feature {
|
|
70
|
+
display: flex;
|
|
71
|
+
flex-flow: row nowrap;
|
|
72
|
+
justify-content: flex-start;
|
|
73
|
+
gap: 0.5rem;
|
|
74
|
+
color: var(--neutral-neutral-1);
|
|
75
|
+
text-align: left;
|
|
76
|
+
padding: 0.25rem 0;
|
|
77
|
+
|
|
78
|
+
.icon-svg-with-theme-color {
|
|
79
|
+
flex-basis: 1rem;
|
|
80
|
+
margin-top: 0.2rem;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&.ratafia-card__ai-feature {
|
|
84
|
+
background-color: var(--primary-main-light-6);
|
|
85
|
+
padding-left: 0.5rem;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&__footer {
|
|
90
|
+
display: flex;
|
|
91
|
+
margin-top: 1.5rem;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
`
|
|
@@ -2,6 +2,7 @@ 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'
|
|
5
6
|
import { stringSlugify } from '../../../utils/stringSlugify'
|
|
6
7
|
|
|
7
8
|
const RatafiaSubscriptionCard: FC<RatafiaSubscriptionCardProps> = ({
|
|
@@ -25,7 +26,7 @@ const RatafiaSubscriptionCard: FC<RatafiaSubscriptionCardProps> = ({
|
|
|
25
26
|
))
|
|
26
27
|
|
|
27
28
|
return (
|
|
28
|
-
<
|
|
29
|
+
<RatafiaSubscriptionCardStyled className={`ratafia-card ${cardStyle ? stringSlugify(cardStyle) : 'primary'}`}>
|
|
29
30
|
<div className='ratafia-card__header'>
|
|
30
31
|
{title && (
|
|
31
32
|
<div className='ratafia-card__title'>
|
|
@@ -51,7 +52,7 @@ const RatafiaSubscriptionCard: FC<RatafiaSubscriptionCardProps> = ({
|
|
|
51
52
|
/>
|
|
52
53
|
</div>
|
|
53
54
|
)}
|
|
54
|
-
</
|
|
55
|
+
</RatafiaSubscriptionCardStyled>
|
|
55
56
|
)
|
|
56
57
|
}
|
|
57
58
|
|
|
@@ -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
|
-
|
|
9
|
+
import { SnackbarStyled } from './Snackbar.styled';
|
|
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(SnackbarStyled, { 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 @@
|
|
|
1
|
+
export declare const SnackbarStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const SnackbarStyled = styled.div `
|
|
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
|
+
@media ${device['portrait-tablets']} {
|
|
19
|
+
margin: 0;
|
|
20
|
+
width: 18rem;
|
|
21
|
+
}
|
|
22
|
+
@media ${device['landscape-tablets']} {
|
|
23
|
+
width: 27rem;
|
|
24
|
+
}
|
|
25
|
+
@media ${device.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: 1.25rem 0.75rem 0 0.75rem;
|
|
36
|
+
@media ${device['portrait-tablets']} {
|
|
37
|
+
margin: space(3) space(3) 0 space(3);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&.snackbar {
|
|
42
|
+
&--welcome {
|
|
43
|
+
background-color: var(--neutral-main);
|
|
44
|
+
color: var(--others-white);
|
|
45
|
+
border: 1px solid var(--neutral-neutral-2);
|
|
46
|
+
|
|
47
|
+
&:before {
|
|
48
|
+
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0icHJlZml4X19hIiBkPSJNMjAgMkg0Yy0xLjEgMC0yIC45LTIgMnYxOGw0LTRoMTRjMS4xIDAgMi0uOSAyLTJWNGMwLTEuMS0uOS0yLTItMnptMCAxNEg2bC0yIDJWNGgxNnYxMnpNNyA5aDJ2Mkg3Vjl6bTQgMGgydjJoLTJWOXptNCAwaDJ2MmgtMlY5eiIvPgogICAgPC9kZWZzPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgPG1hc2sgaWQ9InByZWZpeF9fYiIgZmlsbD0iI2ZmZiI+CiAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3ByZWZpeF9fYSIvPgogICAgICAgIDwvbWFzaz4KICAgICAgICA8ZyBmaWxsPSIjNUREOEMzIiBtYXNrPSJ1cmwoI3ByZWZpeF9fYikiPgogICAgICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K)
|
|
49
|
+
no-repeat;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&--success {
|
|
54
|
+
background-color: var(--snackbar-success-bg);
|
|
55
|
+
color: var(--snackbar-success-color);
|
|
56
|
+
border: 1px solid var(--snackbar-success-border);
|
|
57
|
+
|
|
58
|
+
&:before {
|
|
59
|
+
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0icHJlZml4X19hIiBkPSJNOC44IDE1LjlMNC42IDExLjcgMy4yIDEzLjEgOC44IDE4LjcgMjAuOCA2LjcgMTkuNCA1LjN6Ii8+CiAgICA8L2RlZnM+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGQ9Ik0wIDBIMjRWMjRIMHoiLz4KICAgICAgICA8bWFzayBpZD0icHJlZml4X19iIiBmaWxsPSIjZmZmIj4KICAgICAgICAgICAgPHVzZSB4bGluazpocmVmPSIjcHJlZml4X19hIi8+CiAgICAgICAgPC9tYXNrPgogICAgICAgIDxnIGZpbGw9IiMwMjM3NEEiIG1hc2s9InVybCgjcHJlZml4X19iKSI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wIDBIMjRWMjRIMHoiLz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo=)
|
|
60
|
+
no-repeat;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&--error {
|
|
65
|
+
background-color: var(--error-main);
|
|
66
|
+
color: var(--others-white);
|
|
67
|
+
border: 1px solid get-color(error, error-2);
|
|
68
|
+
|
|
69
|
+
&:before {
|
|
70
|
+
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0icHJlZml4X19hIiBkPSJNMTIgMkM2LjQ3IDIgMiA2LjQ3IDIgMTJzNC40NyAxMCAxMCAxMCAxMC00LjQ3IDEwLTEwUzE3LjUzIDIgMTIgMnptMCAxOGMtNC40MSAwLTgtMy41OS04LThzMy41OS04IDgtOCA4IDMuNTkgOCA4LTMuNTkgOC04IDh6bS0xLTloMnY2aC0ydi02em0wLTRoMnYyaC0yVjd6IiAvPgogICAgPC9kZWZzPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6IiAvPgogICAgICAgIDxtYXNrIGlkPSJwcmVmaXhfX2IiIGZpbGw9IiNmZmYiPgogICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNwcmVmaXhfX2EiIC8+CiAgICAgICAgPC9tYXNrPgogICAgICAgIDx1c2UgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJub256ZXJvIiB4bGluazpocmVmPSIjcHJlZml4X19hIiAvPgogICAgICAgIDxnIGZpbGw9IiNGRkYiIG1hc2s9InVybCgjcHJlZml4X19iKSI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wIDBIMjRWMjRIMHoiIC8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)
|
|
71
|
+
no-repeat;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&--reminder {
|
|
76
|
+
background-color: var(--snackbar-reminder-bg);
|
|
77
|
+
color: var(--neutral-main);
|
|
78
|
+
border: 1px solid var(--snackbar-reminder-border);
|
|
79
|
+
|
|
80
|
+
&:before {
|
|
81
|
+
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0icHJlZml4X19hIiBkPSJNMjAgMkg0Yy0xLjEgMC0yIC45LTIgMnYxOGw0LTRoMTRjMS4xIDAgMi0uOSAyLTJWNGMwLTEuMS0uOS0yLTItMnptMCAxNEg2bC0yIDJWNGgxNnYxMnpNNyA5aDJ2Mkg3Vjl6bTQgMGgydjJoLTJWOXptNCAwaDJ2MmgtMlY5eiIvPgogICAgPC9kZWZzPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgPG1hc2sgaWQ9InByZWZpeF9fYiIgZmlsbD0iI2ZmZiI+CiAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3ByZWZpeF9fYSIvPgogICAgICAgIDwvbWFzaz4KICAgICAgICA8ZyBmaWxsPSIjOTM2QzJGIiBtYXNrPSJ1cmwoI3ByZWZpeF9fYikiPgogICAgICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K)
|
|
82
|
+
no-repeat;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.snackbar {
|
|
88
|
+
&-close-icon {
|
|
89
|
+
cursor: pointer;
|
|
90
|
+
float: right;
|
|
91
|
+
font-size: 1.25rem;
|
|
92
|
+
line-height: 3;
|
|
93
|
+
margin-left: 1em;
|
|
94
|
+
margin-right: 1em;
|
|
95
|
+
opacity: 0.8;
|
|
96
|
+
@media ${device['portrait-tablets']} {
|
|
97
|
+
line-height: 2;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&-content {
|
|
102
|
+
display: flex;
|
|
103
|
+
flex-direction: column;
|
|
104
|
+
|
|
105
|
+
&__text-container {
|
|
106
|
+
display: flex;
|
|
107
|
+
flex-direction: column;
|
|
108
|
+
margin-right: 1rem;
|
|
109
|
+
min-width: 1%;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&__button button {
|
|
113
|
+
margin-top: 0.5rem;
|
|
114
|
+
height: auto !important;
|
|
115
|
+
|
|
116
|
+
label {
|
|
117
|
+
white-space: nowrap;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
@media ${device['landscape-tablets']} {
|
|
122
|
+
flex-direction: row;
|
|
123
|
+
margin-top: inherit;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&-title {
|
|
128
|
+
font-weight: bold;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.e-button.remove-yellow {
|
|
132
|
+
border-color: transparent;
|
|
133
|
+
|
|
134
|
+
&:hover {
|
|
135
|
+
background-color: var(--others-white);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
`;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const SnackbarStyled = styled.div`
|
|
5
|
+
color: var(--neutral-main);
|
|
6
|
+
line-height: 1.5;
|
|
7
|
+
margin-bottom: 1em;
|
|
8
|
+
padding: 0.5em 0 0.5em 0;
|
|
9
|
+
margin-right: 2%;
|
|
10
|
+
margin-left: 2%;
|
|
11
|
+
width: 96%;
|
|
12
|
+
transition: transform 1s;
|
|
13
|
+
z-index: 10000;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
border-radius: 4px;
|
|
16
|
+
box-shadow: var(--box-shadow-container);
|
|
17
|
+
font-size: 14px;
|
|
18
|
+
|
|
19
|
+
@media ${device['portrait-tablets']} {
|
|
20
|
+
margin: 0;
|
|
21
|
+
width: 18rem;
|
|
22
|
+
}
|
|
23
|
+
@media ${device['landscape-tablets']} {
|
|
24
|
+
width: 27rem;
|
|
25
|
+
}
|
|
26
|
+
@media ${device.laptop} {
|
|
27
|
+
width: 36rem;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&:before {
|
|
31
|
+
content: '';
|
|
32
|
+
display: block;
|
|
33
|
+
width: 1.5rem;
|
|
34
|
+
height: 1.5rem;
|
|
35
|
+
float: left;
|
|
36
|
+
margin: 1.25rem 0.75rem 0 0.75rem;
|
|
37
|
+
@media ${device['portrait-tablets']} {
|
|
38
|
+
margin: space(3) space(3) 0 space(3);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&.snackbar {
|
|
43
|
+
&--welcome {
|
|
44
|
+
background-color: var(--neutral-main);
|
|
45
|
+
color: var(--others-white);
|
|
46
|
+
border: 1px solid var(--neutral-neutral-2);
|
|
47
|
+
|
|
48
|
+
&:before {
|
|
49
|
+
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0icHJlZml4X19hIiBkPSJNMjAgMkg0Yy0xLjEgMC0yIC45LTIgMnYxOGw0LTRoMTRjMS4xIDAgMi0uOSAyLTJWNGMwLTEuMS0uOS0yLTItMnptMCAxNEg2bC0yIDJWNGgxNnYxMnpNNyA5aDJ2Mkg3Vjl6bTQgMGgydjJoLTJWOXptNCAwaDJ2MmgtMlY5eiIvPgogICAgPC9kZWZzPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgPG1hc2sgaWQ9InByZWZpeF9fYiIgZmlsbD0iI2ZmZiI+CiAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3ByZWZpeF9fYSIvPgogICAgICAgIDwvbWFzaz4KICAgICAgICA8ZyBmaWxsPSIjNUREOEMzIiBtYXNrPSJ1cmwoI3ByZWZpeF9fYikiPgogICAgICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K)
|
|
50
|
+
no-repeat;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&--success {
|
|
55
|
+
background-color: var(--snackbar-success-bg);
|
|
56
|
+
color: var(--snackbar-success-color);
|
|
57
|
+
border: 1px solid var(--snackbar-success-border);
|
|
58
|
+
|
|
59
|
+
&:before {
|
|
60
|
+
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0icHJlZml4X19hIiBkPSJNOC44IDE1LjlMNC42IDExLjcgMy4yIDEzLjEgOC44IDE4LjcgMjAuOCA2LjcgMTkuNCA1LjN6Ii8+CiAgICA8L2RlZnM+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGQ9Ik0wIDBIMjRWMjRIMHoiLz4KICAgICAgICA8bWFzayBpZD0icHJlZml4X19iIiBmaWxsPSIjZmZmIj4KICAgICAgICAgICAgPHVzZSB4bGluazpocmVmPSIjcHJlZml4X19hIi8+CiAgICAgICAgPC9tYXNrPgogICAgICAgIDxnIGZpbGw9IiMwMjM3NEEiIG1hc2s9InVybCgjcHJlZml4X19iKSI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wIDBIMjRWMjRIMHoiLz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo=)
|
|
61
|
+
no-repeat;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&--error {
|
|
66
|
+
background-color: var(--error-main);
|
|
67
|
+
color: var(--others-white);
|
|
68
|
+
border: 1px solid get-color(error, error-2);
|
|
69
|
+
|
|
70
|
+
&:before {
|
|
71
|
+
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0icHJlZml4X19hIiBkPSJNMTIgMkM2LjQ3IDIgMiA2LjQ3IDIgMTJzNC40NyAxMCAxMCAxMCAxMC00LjQ3IDEwLTEwUzE3LjUzIDIgMTIgMnptMCAxOGMtNC40MSAwLTgtMy41OS04LThzMy41OS04IDgtOCA4IDMuNTkgOCA4LTMuNTkgOC04IDh6bS0xLTloMnY2aC0ydi02em0wLTRoMnYyaC0yVjd6IiAvPgogICAgPC9kZWZzPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6IiAvPgogICAgICAgIDxtYXNrIGlkPSJwcmVmaXhfX2IiIGZpbGw9IiNmZmYiPgogICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNwcmVmaXhfX2EiIC8+CiAgICAgICAgPC9tYXNrPgogICAgICAgIDx1c2UgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJub256ZXJvIiB4bGluazpocmVmPSIjcHJlZml4X19hIiAvPgogICAgICAgIDxnIGZpbGw9IiNGRkYiIG1hc2s9InVybCgjcHJlZml4X19iKSI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wIDBIMjRWMjRIMHoiIC8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)
|
|
72
|
+
no-repeat;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&--reminder {
|
|
77
|
+
background-color: var(--snackbar-reminder-bg);
|
|
78
|
+
color: var(--neutral-main);
|
|
79
|
+
border: 1px solid var(--snackbar-reminder-border);
|
|
80
|
+
|
|
81
|
+
&:before {
|
|
82
|
+
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0icHJlZml4X19hIiBkPSJNMjAgMkg0Yy0xLjEgMC0yIC45LTIgMnYxOGw0LTRoMTRjMS4xIDAgMi0uOSAyLTJWNGMwLTEuMS0uOS0yLTItMnptMCAxNEg2bC0yIDJWNGgxNnYxMnpNNyA5aDJ2Mkg3Vjl6bTQgMGgydjJoLTJWOXptNCAwaDJ2MmgtMlY5eiIvPgogICAgPC9kZWZzPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgPG1hc2sgaWQ9InByZWZpeF9fYiIgZmlsbD0iI2ZmZiI+CiAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3ByZWZpeF9fYSIvPgogICAgICAgIDwvbWFzaz4KICAgICAgICA8ZyBmaWxsPSIjOTM2QzJGIiBtYXNrPSJ1cmwoI3ByZWZpeF9fYikiPgogICAgICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K)
|
|
83
|
+
no-repeat;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.snackbar {
|
|
89
|
+
&-close-icon {
|
|
90
|
+
cursor: pointer;
|
|
91
|
+
float: right;
|
|
92
|
+
font-size: 1.25rem;
|
|
93
|
+
line-height: 3;
|
|
94
|
+
margin-left: 1em;
|
|
95
|
+
margin-right: 1em;
|
|
96
|
+
opacity: 0.8;
|
|
97
|
+
@media ${device['portrait-tablets']} {
|
|
98
|
+
line-height: 2;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&-content {
|
|
103
|
+
display: flex;
|
|
104
|
+
flex-direction: column;
|
|
105
|
+
|
|
106
|
+
&__text-container {
|
|
107
|
+
display: flex;
|
|
108
|
+
flex-direction: column;
|
|
109
|
+
margin-right: 1rem;
|
|
110
|
+
min-width: 1%;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
&__button button {
|
|
114
|
+
margin-top: 0.5rem;
|
|
115
|
+
height: auto !important;
|
|
116
|
+
|
|
117
|
+
label {
|
|
118
|
+
white-space: nowrap;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@media ${device['landscape-tablets']} {
|
|
123
|
+
flex-direction: row;
|
|
124
|
+
margin-top: inherit;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&-title {
|
|
129
|
+
font-weight: bold;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.e-button.remove-yellow {
|
|
133
|
+
border-color: transparent;
|
|
134
|
+
|
|
135
|
+
&:hover {
|
|
136
|
+
background-color: var(--others-white);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
`
|
|
@@ -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
|
-
|
|
10
|
+
import { SnackbarStyled } from './Snackbar.styled'
|
|
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
|
+
<SnackbarStyled 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
|
+
</SnackbarStyled>
|
|
79
79
|
)
|
|
80
80
|
}
|
|
81
81
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
|
|
2
|
+
import { StepGetFormStyled } from './StepGetForm.styled';
|
|
3
3
|
const StepGetForm = ({ description, title = '', image }) => {
|
|
4
|
-
return (_jsxs(
|
|
4
|
+
return (_jsxs(StepGetFormStyled, { 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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StepGetFormStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const StepGetFormStyled = styled.div `
|
|
4
|
+
border-radius: var(--global-border-radius);
|
|
5
|
+
display: flex;
|
|
6
|
+
max-width: 100%;
|
|
7
|
+
padding: 2rem;
|
|
8
|
+
flex-flow: row nowrap;
|
|
9
|
+
min-width: 100%;
|
|
10
|
+
width: 100%;
|
|
11
|
+
align-items: flex-start;
|
|
12
|
+
text-align: center;
|
|
13
|
+
background: var(--others-white);
|
|
14
|
+
box-shadow: var(--box-shadow-medium);
|
|
15
|
+
border: var(--global-border-radius);
|
|
16
|
+
margin-right: 0.5rem;
|
|
17
|
+
margin-bottom: 1rem;
|
|
18
|
+
|
|
19
|
+
&:last-child {
|
|
20
|
+
margin-right: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@media ${device['portrait-tablets']} {
|
|
24
|
+
padding: 1.5rem;
|
|
25
|
+
}
|
|
26
|
+
@media ${device['landscape-tablets']} {
|
|
27
|
+
max-width: calc(100% / 3 - 0.5rem);
|
|
28
|
+
min-width: calc(100% / 3 - 0.5rem);
|
|
29
|
+
padding: 1.5rem;
|
|
30
|
+
height: 342px;
|
|
31
|
+
flex-flow: column nowrap;
|
|
32
|
+
}
|
|
33
|
+
@media ${device.laptop} {
|
|
34
|
+
margin-right: 0;
|
|
35
|
+
max-width: calc(100% / 3 - 1rem);
|
|
36
|
+
min-width: calc(100% / 3 - 1rem);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.step__information {
|
|
40
|
+
text-align: left;
|
|
41
|
+
max-width: 50%;
|
|
42
|
+
align-self: center;
|
|
43
|
+
|
|
44
|
+
@media ${device['landscape-tablets']} {
|
|
45
|
+
max-width: 100%;
|
|
46
|
+
text-align: center;
|
|
47
|
+
margin-top: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&_title {
|
|
51
|
+
font-weight: bold;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.step__image {
|
|
56
|
+
display: flex;
|
|
57
|
+
justify-content: center;
|
|
58
|
+
max-width: 7.5rem;
|
|
59
|
+
text-align: center;
|
|
60
|
+
width: 50%;
|
|
61
|
+
align-self: center;
|
|
62
|
+
padding-bottom: 0;
|
|
63
|
+
margin: 0 auto;
|
|
64
|
+
@media ${device['portrait-tablets']} {
|
|
65
|
+
padding-bottom: 2.5rem;
|
|
66
|
+
}
|
|
67
|
+
@media ${device.laptop} {
|
|
68
|
+
margin-top: 2rem;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@media ${device['landscape-tablets']} {
|
|
72
|
+
width: 100%;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.gatsby-image-wrapper {
|
|
77
|
+
width: 88px;
|
|
78
|
+
@media ${device['portrait-tablets']} {
|
|
79
|
+
height: 88px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
img {
|
|
83
|
+
height: 100%;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
p {
|
|
88
|
+
margin-bottom: 0.5rem;
|
|
89
|
+
font-weight: bold;
|
|
90
|
+
@media ${device['portrait-tablets']} {
|
|
91
|
+
margin-bottom: 1.5rem;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
small {
|
|
96
|
+
color: var(--neutral-neutral-2);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&:not(:first-child) {
|
|
100
|
+
.gatsby-image-wrapper {
|
|
101
|
+
width: 100%;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
`;
|