@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
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import styled from 'styled-components'
|
|
2
2
|
|
|
3
|
-
.
|
|
3
|
+
export const KeyFactCardListRatafiaStyled = styled.div`
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
align-items: flex-start;
|
|
@@ -18,4 +18,4 @@
|
|
|
18
18
|
|
|
19
19
|
height: 490px;
|
|
20
20
|
overflow-y: auto;
|
|
21
|
-
|
|
21
|
+
`
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
|
|
3
3
|
import { type KeyFactCardListRatafiaProps } from './KeyFactCardListRatafiaProps.types'
|
|
4
|
+
import { KeyFactCardListRatafiaStyled } from './KeyFactCardListRatafia.styled'
|
|
4
5
|
import { KeyFactRatafiaCard } from '../../atoms'
|
|
5
|
-
// import './KeyFactCardListRatafia.scss'
|
|
6
6
|
|
|
7
7
|
export const KeyFactCardListRatafia: React.FC<KeyFactCardListRatafiaProps> = ({ keyFacts }) => {
|
|
8
8
|
if (keyFacts.length === 0) return null
|
|
9
9
|
|
|
10
10
|
return (
|
|
11
|
-
<
|
|
11
|
+
<KeyFactCardListRatafiaStyled className='key-fact-card-list'>
|
|
12
12
|
{keyFacts.map((keyFact) => (
|
|
13
13
|
<>
|
|
14
14
|
<KeyFactRatafiaCard key={keyFact.id} {...keyFact} />
|
|
15
15
|
</>
|
|
16
16
|
))}
|
|
17
|
-
</
|
|
17
|
+
</KeyFactCardListRatafiaStyled>
|
|
18
18
|
)
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { MenuItems } from '../../atoms';
|
|
3
|
-
|
|
3
|
+
import { MenuItemsSectionStyled } from './MenuItemsSection.styled';
|
|
4
4
|
const MenuItemsSection = ({ icon, title, list }) => {
|
|
5
5
|
const filteredList = title !== undefined && list !== undefined ? list.filter((item) => item.content) : null;
|
|
6
6
|
if (filteredList === null || filteredList?.length === 0 || filteredList[0].content === undefined)
|
|
7
7
|
return null;
|
|
8
|
-
return (_jsxs(
|
|
8
|
+
return (_jsxs(MenuItemsSectionStyled, { className: 'menu-items-section', children: [_jsxs("div", { className: 'menu-items-section__title-wrapper', children: [icon ?? null, _jsx("div", { className: 'menu-items-section__title-wrapper__title', children: title })] }), list && _jsx(MenuItems, { list: list, spacing: true })] }));
|
|
9
9
|
};
|
|
10
10
|
export default MenuItemsSection;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MenuItemsSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const MenuItemsSectionStyled = styled.div `
|
|
4
|
+
.menu-items-section {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-flow: column nowrap;
|
|
7
|
+
|
|
8
|
+
@media ${device['portrait-tablets']} {
|
|
9
|
+
max-width: 250px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&__title-wrapper {
|
|
13
|
+
background-color: var(--neutral-neutral-5);
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: row;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
padding: 0.5rem;
|
|
18
|
+
margin-bottom: 0.5rem;
|
|
19
|
+
|
|
20
|
+
@media ${device['portrait-tablets']} {
|
|
21
|
+
justify-content: left;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
svg {
|
|
25
|
+
margin-right: 0.5rem;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__title {
|
|
29
|
+
font-weight: bold;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
`;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const MenuItemsSectionStyled = styled.div`
|
|
5
|
+
.menu-items-section {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-flow: column nowrap;
|
|
8
|
+
|
|
9
|
+
@media ${device['portrait-tablets']} {
|
|
10
|
+
max-width: 250px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&__title-wrapper {
|
|
14
|
+
background-color: var(--neutral-neutral-5);
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: row;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
padding: 0.5rem;
|
|
19
|
+
margin-bottom: 0.5rem;
|
|
20
|
+
|
|
21
|
+
@media ${device['portrait-tablets']} {
|
|
22
|
+
justify-content: left;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
svg {
|
|
26
|
+
margin-right: 0.5rem;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&__title {
|
|
30
|
+
font-weight: bold;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
`
|
|
@@ -3,20 +3,20 @@ import React, { type FC } from 'react'
|
|
|
3
3
|
|
|
4
4
|
import { MenuItems } from '../../atoms'
|
|
5
5
|
import { type MenuItemsSectionProps } from './MenuItemsSectionProps.types'
|
|
6
|
-
|
|
6
|
+
import { MenuItemsSectionStyled } from './MenuItemsSection.styled'
|
|
7
7
|
|
|
8
8
|
const MenuItemsSection: FC<MenuItemsSectionProps> = ({ icon, title, list }) => {
|
|
9
9
|
const filteredList = title !== undefined && list !== undefined ? list.filter((item) => item.content) : null
|
|
10
10
|
if (filteredList === null || filteredList?.length === 0 || filteredList[0].content === undefined) return null
|
|
11
11
|
|
|
12
12
|
return (
|
|
13
|
-
<
|
|
13
|
+
<MenuItemsSectionStyled className='menu-items-section'>
|
|
14
14
|
<div className='menu-items-section__title-wrapper'>
|
|
15
15
|
{icon ?? null}
|
|
16
16
|
<div className='menu-items-section__title-wrapper__title'>{title}</div>
|
|
17
17
|
</div>
|
|
18
18
|
{list && <MenuItems list={list} spacing />}
|
|
19
|
-
</
|
|
19
|
+
</MenuItemsSectionStyled>
|
|
20
20
|
)
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -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 { MidBannerRatafiaContentStyled } from './MidBannerRatafiaContent.styled';
|
|
4
4
|
const MidBannerRatafiaContent = ({ title, paragraph, ctaLabel, ctaLink, ctaDataQa }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs(MidBannerRatafiaContentStyled, { className: 'mid-banner-ratafia-content', children: [_jsxs("div", { className: 'mid-banner-ratafia-content__header', children: [_jsx("h2", { className: 'sans-serif --super-large --bold-weight mid-banner-ratafia-content__header__title', children: title }), _jsx("div", { className: 'sans-serif --super-medium mid-banner-ratafia-content__header__description', children: paragraph })] }), _jsx(Button, { givenClass: 'mid-banner-ratafia-content__cta', dataQa: ctaDataQa, link: ctaLink, color: 'primary', label: ctaLabel })] }));
|
|
6
6
|
};
|
|
7
7
|
export default MidBannerRatafiaContent;
|
package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MidBannerRatafiaContentStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const MidBannerRatafiaContentStyled = styled.div `
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
gap: 2rem;
|
|
6
|
+
|
|
7
|
+
.mid-banner-ratafia-content {
|
|
8
|
+
&__header {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
align-items: flex-start;
|
|
13
|
+
align-self: stretch;
|
|
14
|
+
gap: 1rem;
|
|
15
|
+
|
|
16
|
+
&__title {
|
|
17
|
+
align-self: stretch;
|
|
18
|
+
color: var(--primary-main-dark-2);
|
|
19
|
+
}
|
|
20
|
+
&__description {
|
|
21
|
+
align-self: stretch;
|
|
22
|
+
color: var(--neutral-neutral-1);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
&__cta {
|
|
26
|
+
align-self: start;
|
|
27
|
+
padding: 0.6875rem 1rem;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
`;
|
package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const MidBannerRatafiaContentStyled = styled.div`
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: 2rem;
|
|
7
|
+
|
|
8
|
+
.mid-banner-ratafia-content {
|
|
9
|
+
&__header {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
justify-content: center;
|
|
13
|
+
align-items: flex-start;
|
|
14
|
+
align-self: stretch;
|
|
15
|
+
gap: 1rem;
|
|
16
|
+
|
|
17
|
+
&__title {
|
|
18
|
+
align-self: stretch;
|
|
19
|
+
color: var(--primary-main-dark-2);
|
|
20
|
+
}
|
|
21
|
+
&__description {
|
|
22
|
+
align-self: stretch;
|
|
23
|
+
color: var(--neutral-neutral-1);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
&__cta {
|
|
27
|
+
align-self: start;
|
|
28
|
+
padding: 0.6875rem 1rem;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
`
|
|
@@ -2,7 +2,7 @@ import React, { type FC } from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { Button } from '../../atoms'
|
|
4
4
|
import { type MidBannerRatafiaContentProps } from './MidBannerRatafiaContentProps.types'
|
|
5
|
-
|
|
5
|
+
import { MidBannerRatafiaContentStyled } from './MidBannerRatafiaContent.styled'
|
|
6
6
|
|
|
7
7
|
const MidBannerRatafiaContent: FC<MidBannerRatafiaContentProps> = ({
|
|
8
8
|
title,
|
|
@@ -12,7 +12,7 @@ const MidBannerRatafiaContent: FC<MidBannerRatafiaContentProps> = ({
|
|
|
12
12
|
ctaDataQa
|
|
13
13
|
}) => {
|
|
14
14
|
return (
|
|
15
|
-
<
|
|
15
|
+
<MidBannerRatafiaContentStyled className='mid-banner-ratafia-content'>
|
|
16
16
|
<div className='mid-banner-ratafia-content__header'>
|
|
17
17
|
<h2 className='sans-serif --super-large --bold-weight mid-banner-ratafia-content__header__title'>{title}</h2>
|
|
18
18
|
<div className='sans-serif --super-medium mid-banner-ratafia-content__header__description'>{paragraph}</div>
|
|
@@ -24,7 +24,7 @@ const MidBannerRatafiaContent: FC<MidBannerRatafiaContentProps> = ({
|
|
|
24
24
|
color='primary'
|
|
25
25
|
label={ctaLabel}
|
|
26
26
|
/>
|
|
27
|
-
</
|
|
27
|
+
</MidBannerRatafiaContentStyled>
|
|
28
28
|
)
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
|
|
2
|
+
import { MidBannerRatafiaSampleStyled } from './MidBannerRatafiaSample.styled';
|
|
3
3
|
const MidBannerRatafiaSample = ({ image }) => {
|
|
4
|
-
return (_jsxs(
|
|
4
|
+
return (_jsxs(MidBannerRatafiaSampleStyled, { className: 'mid-banner-ratafia-sample', children: [_jsx("div", { className: 'mid-banner-ratafia-sample__image', children: image }), _jsxs("div", { className: 'mid-banner-ratafia-sample__sumarized-tag', children: [_jsx("img", { className: 'mid-banner-ratafia-sample__sumarized-tag__icon', src: 'https://cdn.stage.strapi.lawdistrict.com/mid-banner-1.svg', alt: '', role: 'img' }), _jsx("p", { className: 'sans-serif --small --bold-weight mid-banner-ratafia-sample__sumarized-tag__text', children: "Summarized" })] }), _jsxs("div", { className: 'mid-banner-ratafia-sample__feature-tag mid-banner-ratafia-sample__feature-tag__key-facts', children: [_jsx("img", { className: 'mid-banner-ratafia-sample__feature-tag__icon', src: 'https://cdn.stage.strapi.lawdistrict.com/mid-banner-2.svg', alt: '', role: 'img' }), _jsx("p", { className: 'sans-serif --small mid-banner-ratafia-sample__feature-tag__text', children: "Key facts" })] }), _jsxs("div", { className: 'mid-banner-ratafia-sample__feature-tag mid-banner-ratafia-sample__feature-tag__clauses', children: [_jsx("img", { className: 'mid-banner-ratafia-sample__feature-tag__icon', src: 'https://cdn.stage.strapi.lawdistrict.com/mid-banner-3.svg', alt: '', role: 'img' }), _jsx("p", { className: 'sans-serif --small mid-banner-ratafia-sample__feature-tag__text', children: "Clauses" })] })] }));
|
|
5
5
|
};
|
|
6
6
|
export default MidBannerRatafiaSample;
|
package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MidBannerRatafiaSampleStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const MidBannerRatafiaSampleStyled = styled.div `
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: flex-start;
|
|
5
|
+
position: relative;
|
|
6
|
+
|
|
7
|
+
.mid-banner-ratafia-sample {
|
|
8
|
+
&__image {
|
|
9
|
+
img {
|
|
10
|
+
border-radius: 8px 8px 0 0;
|
|
11
|
+
box-shadow: var(--box-shadow-small);
|
|
12
|
+
width: 727px;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
&__sumarized-tag {
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
align-items: center;
|
|
19
|
+
padding: 0.25rem;
|
|
20
|
+
gap: 0.25rem;
|
|
21
|
+
|
|
22
|
+
position: absolute;
|
|
23
|
+
left: 85px;
|
|
24
|
+
top: -13px;
|
|
25
|
+
|
|
26
|
+
background: var(--primary-main-light-5);
|
|
27
|
+
border-radius: var(--global-border-radius);
|
|
28
|
+
border: 1px solid var(--primary-main-light-3);
|
|
29
|
+
box-shadow: var(--box-shadow-small);
|
|
30
|
+
|
|
31
|
+
&__icon {
|
|
32
|
+
width: 16px;
|
|
33
|
+
height: 16px;
|
|
34
|
+
}
|
|
35
|
+
&__text {
|
|
36
|
+
color: var(--primary-main);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
&__feature-tag {
|
|
40
|
+
display: flex;
|
|
41
|
+
justify-content: center;
|
|
42
|
+
align-items: center;
|
|
43
|
+
padding: 0.5rem;
|
|
44
|
+
gap: 0.25rem;
|
|
45
|
+
|
|
46
|
+
background: var(--neutral-neutral-6);
|
|
47
|
+
border-radius: var(--global-border-radius);
|
|
48
|
+
box-shadow: var(--box-shadow-small);
|
|
49
|
+
|
|
50
|
+
&__icon {
|
|
51
|
+
width: 20px;
|
|
52
|
+
height: 20px;
|
|
53
|
+
}
|
|
54
|
+
&__text {
|
|
55
|
+
color: var(--neutral-neutral-2);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
&__feature-tag__key-facts {
|
|
59
|
+
position: absolute;
|
|
60
|
+
left: -16px;
|
|
61
|
+
bottom: 143px;
|
|
62
|
+
}
|
|
63
|
+
&__feature-tag__clauses {
|
|
64
|
+
position: absolute;
|
|
65
|
+
right: -16px;
|
|
66
|
+
top: 75px;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
`;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const MidBannerRatafiaSampleStyled = styled.div`
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: flex-start;
|
|
6
|
+
position: relative;
|
|
7
|
+
|
|
8
|
+
.mid-banner-ratafia-sample {
|
|
9
|
+
&__image {
|
|
10
|
+
img {
|
|
11
|
+
border-radius: 8px 8px 0 0;
|
|
12
|
+
box-shadow: var(--box-shadow-small);
|
|
13
|
+
width: 727px;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
&__sumarized-tag {
|
|
17
|
+
display: flex;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
align-items: center;
|
|
20
|
+
padding: 0.25rem;
|
|
21
|
+
gap: 0.25rem;
|
|
22
|
+
|
|
23
|
+
position: absolute;
|
|
24
|
+
left: 85px;
|
|
25
|
+
top: -13px;
|
|
26
|
+
|
|
27
|
+
background: var(--primary-main-light-5);
|
|
28
|
+
border-radius: var(--global-border-radius);
|
|
29
|
+
border: 1px solid var(--primary-main-light-3);
|
|
30
|
+
box-shadow: var(--box-shadow-small);
|
|
31
|
+
|
|
32
|
+
&__icon {
|
|
33
|
+
width: 16px;
|
|
34
|
+
height: 16px;
|
|
35
|
+
}
|
|
36
|
+
&__text {
|
|
37
|
+
color: var(--primary-main);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
&__feature-tag {
|
|
41
|
+
display: flex;
|
|
42
|
+
justify-content: center;
|
|
43
|
+
align-items: center;
|
|
44
|
+
padding: 0.5rem;
|
|
45
|
+
gap: 0.25rem;
|
|
46
|
+
|
|
47
|
+
background: var(--neutral-neutral-6);
|
|
48
|
+
border-radius: var(--global-border-radius);
|
|
49
|
+
box-shadow: var(--box-shadow-small);
|
|
50
|
+
|
|
51
|
+
&__icon {
|
|
52
|
+
width: 20px;
|
|
53
|
+
height: 20px;
|
|
54
|
+
}
|
|
55
|
+
&__text {
|
|
56
|
+
color: var(--neutral-neutral-2);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
&__feature-tag__key-facts {
|
|
60
|
+
position: absolute;
|
|
61
|
+
left: -16px;
|
|
62
|
+
bottom: 143px;
|
|
63
|
+
}
|
|
64
|
+
&__feature-tag__clauses {
|
|
65
|
+
position: absolute;
|
|
66
|
+
right: -16px;
|
|
67
|
+
top: 75px;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
`
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
3
|
import { type MidBannerRatafiaSampleProps } from './MidBannerRatafiaSampleProps.types'
|
|
4
|
-
|
|
4
|
+
import { MidBannerRatafiaSampleStyled } from './MidBannerRatafiaSample.styled'
|
|
5
5
|
|
|
6
6
|
const MidBannerRatafiaSample: FC<MidBannerRatafiaSampleProps> = ({ image }) => {
|
|
7
7
|
return (
|
|
8
|
-
<
|
|
8
|
+
<MidBannerRatafiaSampleStyled className='mid-banner-ratafia-sample'>
|
|
9
9
|
<div className='mid-banner-ratafia-sample__image'>{image}</div>
|
|
10
10
|
<div className='mid-banner-ratafia-sample__sumarized-tag'>
|
|
11
11
|
<img
|
|
@@ -34,7 +34,7 @@ const MidBannerRatafiaSample: FC<MidBannerRatafiaSampleProps> = ({ image }) => {
|
|
|
34
34
|
/>
|
|
35
35
|
<p className='sans-serif --small mid-banner-ratafia-sample__feature-tag__text'>Clauses</p>
|
|
36
36
|
</div>
|
|
37
|
-
</
|
|
37
|
+
</MidBannerRatafiaSampleStyled>
|
|
38
38
|
)
|
|
39
39
|
}
|
|
40
40
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { MoreDocsDesktopStyled } from './MoreDocsDesktop.styled';
|
|
2
3
|
import { MoreDocsItem } from '../../atoms';
|
|
3
|
-
// import './MoreDocsDesktop.scss'
|
|
4
4
|
export const MoreDocsDesktop = ({ title, documents }) => {
|
|
5
|
-
return (_jsx(
|
|
5
|
+
return (_jsx(MoreDocsDesktopStyled, { className: 'more-docs-desktop', children: _jsxs("div", { className: 'container', children: [_jsx("h2", { className: 'section-title', children: title }), _jsxs("div", { className: 'docs-container', children: [_jsx("div", { className: 'docs-column', children: documents.slice(0, 3).map((document) => (_jsx(MoreDocsItem, { ...document }, document.id))) }), _jsx("div", { className: 'separation-line' }), _jsx("div", { className: 'docs-column', children: documents.slice(3, 6).map((document) => (_jsx(MoreDocsItem, { ...document }, document.id))) }), _jsx("div", { className: 'separation-line last-line' }), _jsx("div", { className: 'docs-column', children: documents.slice(6, 9).map((document) => (_jsx(MoreDocsItem, { ...document }, document.id))) })] })] }) }));
|
|
6
6
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MoreDocsDesktopStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { device, size } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const MoreDocsDesktopStyled = styled.div `
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-flow: row nowrap;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
|
|
8
|
+
.container {
|
|
9
|
+
padding: 1rem;
|
|
10
|
+
text-align: center;
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
min-height: 20rem;
|
|
14
|
+
align-items: center;
|
|
15
|
+
|
|
16
|
+
@media ${device['landscape-tablets']} {
|
|
17
|
+
padding: 1rem 1rem 2rem 2rem;
|
|
18
|
+
}
|
|
19
|
+
@media ${device.desktop} {
|
|
20
|
+
padding: 1rem 6rem 2rem 6rem;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.section-title {
|
|
24
|
+
text-align: left;
|
|
25
|
+
font-family: var(--font-serif);
|
|
26
|
+
font-size: 32px;
|
|
27
|
+
font-weight: normal;
|
|
28
|
+
line-height: 1.31;
|
|
29
|
+
letter-spacing: -0.3px;
|
|
30
|
+
padding: 0 0 1.5rem 0;
|
|
31
|
+
width: 100%;
|
|
32
|
+
|
|
33
|
+
@media only screen and (max-width: ${size.md}) {
|
|
34
|
+
display: flex;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.docs-container {
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-direction: row;
|
|
42
|
+
|
|
43
|
+
.docs-column {
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
min-width: 17rem;
|
|
47
|
+
margin: 0 2rem 0 1rem;
|
|
48
|
+
cursor: pointer;
|
|
49
|
+
|
|
50
|
+
&:first-child {
|
|
51
|
+
margin-left: 0;
|
|
52
|
+
}
|
|
53
|
+
&:last-child {
|
|
54
|
+
margin-right: 0;
|
|
55
|
+
@media only screen and (max-width: ${size.md}) {
|
|
56
|
+
display: none;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.separation-line {
|
|
62
|
+
width: 1px;
|
|
63
|
+
height: 196px;
|
|
64
|
+
background-color: var(--primary-main-dark-1);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.last-line {
|
|
68
|
+
@media only screen and (max-width: ${size.md}) {
|
|
69
|
+
display: none;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
`;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import { device, size } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
2
3
|
|
|
3
|
-
.
|
|
4
|
+
export const MoreDocsDesktopStyled = styled.div`
|
|
4
5
|
display: flex;
|
|
5
6
|
flex-flow: row nowrap;
|
|
6
7
|
justify-content: center;
|
|
@@ -13,10 +14,10 @@
|
|
|
13
14
|
min-height: 20rem;
|
|
14
15
|
align-items: center;
|
|
15
16
|
|
|
16
|
-
@
|
|
17
|
+
@media ${device['landscape-tablets']} {
|
|
17
18
|
padding: 1rem 1rem 2rem 2rem;
|
|
18
19
|
}
|
|
19
|
-
@
|
|
20
|
+
@media ${device.desktop} {
|
|
20
21
|
padding: 1rem 6rem 2rem 6rem;
|
|
21
22
|
}
|
|
22
23
|
|
|
@@ -30,7 +31,7 @@
|
|
|
30
31
|
padding: 0 0 1.5rem 0;
|
|
31
32
|
width: 100%;
|
|
32
33
|
|
|
33
|
-
@media only screen and (max-width:
|
|
34
|
+
@media only screen and (max-width: ${size.md}) {
|
|
34
35
|
display: flex;
|
|
35
36
|
justify-content: center;
|
|
36
37
|
}
|
|
@@ -52,7 +53,7 @@
|
|
|
52
53
|
}
|
|
53
54
|
&:last-child {
|
|
54
55
|
margin-right: 0;
|
|
55
|
-
@media only screen and (max-width:
|
|
56
|
+
@media only screen and (max-width: ${size.md}) {
|
|
56
57
|
display: none;
|
|
57
58
|
}
|
|
58
59
|
}
|
|
@@ -65,10 +66,10 @@
|
|
|
65
66
|
}
|
|
66
67
|
|
|
67
68
|
.last-line {
|
|
68
|
-
@media only screen and (max-width:
|
|
69
|
+
@media only screen and (max-width: ${size.md}) {
|
|
69
70
|
display: none;
|
|
70
71
|
}
|
|
71
72
|
}
|
|
72
73
|
}
|
|
73
74
|
}
|
|
74
|
-
|
|
75
|
+
`
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
|
|
3
3
|
import { type MoreDocsDesktopProps } from './MoreDocsDesktopProps'
|
|
4
|
+
import { MoreDocsDesktopStyled } from './MoreDocsDesktop.styled'
|
|
4
5
|
import { MoreDocsItem } from '../../atoms'
|
|
5
|
-
// import './MoreDocsDesktop.scss'
|
|
6
6
|
|
|
7
7
|
export const MoreDocsDesktop: React.FC<MoreDocsDesktopProps> = ({ title, documents }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<MoreDocsDesktopStyled className={'more-docs-desktop'}>
|
|
10
10
|
<div className='container'>
|
|
11
11
|
<h2 className='section-title'>{title}</h2>
|
|
12
12
|
<div className='docs-container'>
|
|
@@ -29,6 +29,6 @@ export const MoreDocsDesktop: React.FC<MoreDocsDesktopProps> = ({ title, documen
|
|
|
29
29
|
</div>
|
|
30
30
|
</div>
|
|
31
31
|
</div>
|
|
32
|
-
</
|
|
32
|
+
</MoreDocsDesktopStyled>
|
|
33
33
|
)
|
|
34
34
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ChevronRight24px } from '../../../../images/componentsSvg/ChevronRight24px';
|
|
4
4
|
import { MoreDocsItem } from '../../atoms';
|
|
5
|
-
|
|
5
|
+
import { MoreDocsMobileStyled } from './MoreDocsMobile.styled';
|
|
6
6
|
export const MoreDocsMobile = ({ title, documents }) => {
|
|
7
7
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
8
|
-
return (_jsxs(
|
|
8
|
+
return (_jsxs(MoreDocsMobileStyled, { children: [_jsx("div", { className: 'more-docs-mobile', onClick: () => {
|
|
9
9
|
setIsOpen(!isOpen);
|
|
10
10
|
}, tabIndex: 0, role: 'button', onKeyUp: (event) => {
|
|
11
11
|
if (event.key === 'Enter' || event.key === ' ') {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MoreDocsMobileStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|