@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
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const MoreDocsMobileStyled = styled.div `
|
|
3
|
+
.more-docs-mobile {
|
|
4
|
+
margin: 0px 24px 40px 24px;
|
|
5
|
+
padding: 5px 0;
|
|
6
|
+
border-radius: 4px;
|
|
7
|
+
border: solid 2px #dfe5e8;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
align-items: center;
|
|
11
|
+
justify-content: space-between;
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
|
|
14
|
+
.box-closed {
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: row;
|
|
17
|
+
align-items: center;
|
|
18
|
+
|
|
19
|
+
.icon-see-more {
|
|
20
|
+
transform: rotate(-90deg);
|
|
21
|
+
|
|
22
|
+
&:before,
|
|
23
|
+
&:after {
|
|
24
|
+
background-color: get-color(others, black);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.open {
|
|
28
|
+
transform: rotate(90deg);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
svg {
|
|
32
|
+
width: 40px;
|
|
33
|
+
height: 40px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.box-title {
|
|
38
|
+
align-self: center;
|
|
39
|
+
margin-right: 4rem;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.more-docs-list {
|
|
45
|
+
margin: -40px 24px 40px 24px;
|
|
46
|
+
padding: 16px 8px 16px 8px;
|
|
47
|
+
border-radius: 4px;
|
|
48
|
+
border: solid 2px #dfe5e8;
|
|
49
|
+
display: flex;
|
|
50
|
+
flex-direction: column;
|
|
51
|
+
|
|
52
|
+
.docs-list {
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
width: 100%;
|
|
56
|
+
|
|
57
|
+
.separation-line {
|
|
58
|
+
width: calc(100% - 20px);
|
|
59
|
+
height: 1px;
|
|
60
|
+
margin: 16px 10px;
|
|
61
|
+
background-color: var(--neutral-neutral-3);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
&:last-child {
|
|
65
|
+
margin-bottom: 1rem;
|
|
66
|
+
.separation-line {
|
|
67
|
+
display: none;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
`;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const MoreDocsMobileStyled = styled.div`
|
|
4
|
+
.more-docs-mobile {
|
|
5
|
+
margin: 0px 24px 40px 24px;
|
|
6
|
+
padding: 5px 0;
|
|
7
|
+
border-radius: 4px;
|
|
8
|
+
border: solid 2px #dfe5e8;
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
align-items: center;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
|
|
15
|
+
.box-closed {
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: row;
|
|
18
|
+
align-items: center;
|
|
19
|
+
|
|
20
|
+
.icon-see-more {
|
|
21
|
+
transform: rotate(-90deg);
|
|
22
|
+
|
|
23
|
+
&:before,
|
|
24
|
+
&:after {
|
|
25
|
+
background-color: get-color(others, black);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.open {
|
|
29
|
+
transform: rotate(90deg);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
svg {
|
|
33
|
+
width: 40px;
|
|
34
|
+
height: 40px;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.box-title {
|
|
39
|
+
align-self: center;
|
|
40
|
+
margin-right: 4rem;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.more-docs-list {
|
|
46
|
+
margin: -40px 24px 40px 24px;
|
|
47
|
+
padding: 16px 8px 16px 8px;
|
|
48
|
+
border-radius: 4px;
|
|
49
|
+
border: solid 2px #dfe5e8;
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-direction: column;
|
|
52
|
+
|
|
53
|
+
.docs-list {
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-direction: column;
|
|
56
|
+
width: 100%;
|
|
57
|
+
|
|
58
|
+
.separation-line {
|
|
59
|
+
width: calc(100% - 20px);
|
|
60
|
+
height: 1px;
|
|
61
|
+
margin: 16px 10px;
|
|
62
|
+
background-color: var(--neutral-neutral-3);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&:last-child {
|
|
66
|
+
margin-bottom: 1rem;
|
|
67
|
+
.separation-line {
|
|
68
|
+
display: none;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
`
|
|
@@ -3,13 +3,13 @@ import React from 'react'
|
|
|
3
3
|
import { ChevronRight24px } from '../../../../images/componentsSvg/ChevronRight24px'
|
|
4
4
|
import { MoreDocsItem } from '../../atoms'
|
|
5
5
|
import { type MoreDocsMobileProps } from './MoreDocsMobileProps'
|
|
6
|
-
|
|
6
|
+
import { MoreDocsMobileStyled } from './MoreDocsMobile.styled'
|
|
7
7
|
|
|
8
8
|
export const MoreDocsMobile: React.FC<MoreDocsMobileProps> = ({ title, documents }) => {
|
|
9
9
|
const [isOpen, setIsOpen] = React.useState(false)
|
|
10
10
|
|
|
11
11
|
return (
|
|
12
|
-
|
|
12
|
+
<MoreDocsMobileStyled>
|
|
13
13
|
<div
|
|
14
14
|
className='more-docs-mobile'
|
|
15
15
|
onClick={() => {
|
|
@@ -42,6 +42,6 @@ export const MoreDocsMobile: React.FC<MoreDocsMobileProps> = ({ title, documents
|
|
|
42
42
|
})}
|
|
43
43
|
</div>
|
|
44
44
|
)}
|
|
45
|
-
|
|
45
|
+
</MoreDocsMobileStyled>
|
|
46
46
|
)
|
|
47
47
|
}
|
|
@@ -4,8 +4,8 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
4
4
|
/* eslint-disable jsx-a11y/click-events-have-key-events */
|
|
5
5
|
import { useEffect } from 'react';
|
|
6
6
|
import { MenuItems } from '../../atoms';
|
|
7
|
+
import { NavBarDropDownStyled } from './NavBarDropDown.styled';
|
|
7
8
|
import { useIntersectionObserver } from '../../../hooks';
|
|
8
|
-
// import './NavBarDropDown.scss'
|
|
9
9
|
let scrollPosition = 0;
|
|
10
10
|
let touchStartPosY;
|
|
11
11
|
let isDisabledScroll = false;
|
|
@@ -65,5 +65,5 @@ export const NavBarDropDown = ({ isOpen, list, hasBullets = true, initialActiveC
|
|
|
65
65
|
useEffect(() => {
|
|
66
66
|
setEnableScrollbarOnClose(() => enableScrollbarOnClose);
|
|
67
67
|
}, []);
|
|
68
|
-
return (_jsx(_Fragment, { children: isOpen ? (_jsxs(
|
|
68
|
+
return (_jsx(_Fragment, { children: isOpen ? (_jsxs(NavBarDropDownStyled, { className: 'navbar-drop-down__container', children: [_jsx("div", { className: 'navbar-drop-down__container__menu_items', children: _jsx(MenuItems, { list: list, hasBullets: hasBullets, initialActiveContent: initialActiveContent }) }), _jsx("div", { ref: ref, className: 'navbar-drop-down__container__shadow', onClick: closeMenu })] })) : null }));
|
|
69
69
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const NavBarDropDownStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const NavBarDropDownStyled = styled.div `
|
|
3
|
+
position: absolute;
|
|
4
|
+
width: 100%;
|
|
5
|
+
height: 100vh;
|
|
6
|
+
left: 0;
|
|
7
|
+
right: 0;
|
|
8
|
+
z-index: 4;
|
|
9
|
+
|
|
10
|
+
.navbar-drop-down__container {
|
|
11
|
+
&__menu_items {
|
|
12
|
+
background: var(--others-white);
|
|
13
|
+
padding: 1.5rem;
|
|
14
|
+
box-shadow: var(--box-shadow-container);
|
|
15
|
+
ul {
|
|
16
|
+
li {
|
|
17
|
+
margin-bottom: 1rem;
|
|
18
|
+
padding: 0.5rem 1rem;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
li:last-child {
|
|
22
|
+
margin-bottom: 0;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__shadow {
|
|
28
|
+
position: absolute;
|
|
29
|
+
background: var(--neutral-neutral-3);
|
|
30
|
+
opacity: 0.4;
|
|
31
|
+
width: 100%;
|
|
32
|
+
height: 100vh;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
`;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const NavBarDropDownStyled = styled.div`
|
|
4
|
+
position: absolute;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100vh;
|
|
7
|
+
left: 0;
|
|
8
|
+
right: 0;
|
|
9
|
+
z-index: 4;
|
|
10
|
+
|
|
11
|
+
.navbar-drop-down__container {
|
|
12
|
+
&__menu_items {
|
|
13
|
+
background: var(--others-white);
|
|
14
|
+
padding: 1.5rem;
|
|
15
|
+
box-shadow: var(--box-shadow-container);
|
|
16
|
+
ul {
|
|
17
|
+
li {
|
|
18
|
+
margin-bottom: 1rem;
|
|
19
|
+
padding: 0.5rem 1rem;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
li:last-child {
|
|
23
|
+
margin-bottom: 0;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__shadow {
|
|
29
|
+
position: absolute;
|
|
30
|
+
background: var(--neutral-neutral-3);
|
|
31
|
+
opacity: 0.4;
|
|
32
|
+
width: 100%;
|
|
33
|
+
height: 100vh;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
`
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
import React, { type FC, useEffect } from 'react'
|
|
5
5
|
import { MenuItems } from '../../atoms'
|
|
6
6
|
import { type NavBarDropDownProps } from './NavBarDropDownProps.types'
|
|
7
|
+
import { NavBarDropDownStyled } from './NavBarDropDown.styled'
|
|
7
8
|
import { useIntersectionObserver } from '../../../hooks'
|
|
8
|
-
// import './NavBarDropDown.scss'
|
|
9
9
|
|
|
10
10
|
let scrollPosition = 0
|
|
11
11
|
let touchStartPosY: Touch
|
|
@@ -86,12 +86,12 @@ export const NavBarDropDown: FC<NavBarDropDownProps> = ({
|
|
|
86
86
|
return (
|
|
87
87
|
<>
|
|
88
88
|
{isOpen ? (
|
|
89
|
-
<
|
|
89
|
+
<NavBarDropDownStyled className='navbar-drop-down__container'>
|
|
90
90
|
<div className='navbar-drop-down__container__menu_items'>
|
|
91
91
|
<MenuItems list={list} hasBullets={hasBullets} initialActiveContent={initialActiveContent} />
|
|
92
92
|
</div>
|
|
93
93
|
<div ref={ref} className='navbar-drop-down__container__shadow' onClick={closeMenu}></div>
|
|
94
|
-
</
|
|
94
|
+
</NavBarDropDownStyled>
|
|
95
95
|
) : null}
|
|
96
96
|
</>
|
|
97
97
|
)
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { useCallback, useState } from 'react';
|
|
4
4
|
import PageStepControl from './PageStepControl';
|
|
5
5
|
import PageSteps from './PageSteps';
|
|
6
|
-
|
|
6
|
+
import { PaginationStyled } from './Pagination.styled';
|
|
7
7
|
const Pagination = ({ activePage, totalPages, onChange, nextControl = 'next', prevControl = 'prev' }) => {
|
|
8
8
|
const [active, setActive] = useState(activePage);
|
|
9
9
|
const handleControl = useCallback((direction) => {
|
|
@@ -20,6 +20,6 @@ const Pagination = ({ activePage, totalPages, onChange, nextControl = 'next', pr
|
|
|
20
20
|
}, []);
|
|
21
21
|
if (totalPages === undefined)
|
|
22
22
|
return null;
|
|
23
|
-
return (_jsxs(
|
|
23
|
+
return (_jsxs(PaginationStyled, { className: 'pagination', children: [_jsx(PageStepControl, { activePage: active, totalPages: totalPages, onClick: handleControl, direction: prevControl }), _jsx(PageSteps, { activePage: active, onClick: handleCurrentPage, totalPages: totalPages }), _jsx(PageStepControl, { activePage: active, totalPages: totalPages, onClick: handleControl, direction: nextControl })] }));
|
|
24
24
|
};
|
|
25
25
|
export default Pagination;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PaginationStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const PaginationStyled = styled.div `
|
|
3
|
+
align-items: center;
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
user-select: none;
|
|
8
|
+
-moz-user-select: none;
|
|
9
|
+
-webkit-user-select: none;
|
|
10
|
+
|
|
11
|
+
.pagination {
|
|
12
|
+
&__control {
|
|
13
|
+
display: flex;
|
|
14
|
+
svg {
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
fill: var(--neutral-neutral-2);
|
|
17
|
+
width: 1rem;
|
|
18
|
+
path {
|
|
19
|
+
pointer-events: none;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
&--prev svg {
|
|
23
|
+
transform: rotate(180deg);
|
|
24
|
+
}
|
|
25
|
+
&--hidden {
|
|
26
|
+
cursor: default;
|
|
27
|
+
pointer-events: none;
|
|
28
|
+
visibility: hidden;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&__page-wrapper {
|
|
33
|
+
display: flex;
|
|
34
|
+
margin: 0 1rem;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&__page {
|
|
38
|
+
align-items: center;
|
|
39
|
+
background: var(--neutral-neutral-6);
|
|
40
|
+
border: 2px solid var(--neutral-neutral-3);
|
|
41
|
+
border-radius: 4px;
|
|
42
|
+
box-sizing: border-box;
|
|
43
|
+
color: var(--neutral-neutral-2);
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
display: flex;
|
|
46
|
+
justify-content: center;
|
|
47
|
+
height: 2.125rem;
|
|
48
|
+
margin: 0 0.25rem;
|
|
49
|
+
min-width: 2.125rem;
|
|
50
|
+
padding: 0.3rem;
|
|
51
|
+
|
|
52
|
+
&--active {
|
|
53
|
+
background: var(--neutral-neutral-4);
|
|
54
|
+
border: 2px solid var(--neutral-neutral-2);
|
|
55
|
+
color: var(--neutral-neutral-1);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&--ellipsis {
|
|
59
|
+
cursor: default;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
`;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const PaginationStyled = styled.div`
|
|
4
|
+
align-items: center;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
user-select: none;
|
|
9
|
+
-moz-user-select: none;
|
|
10
|
+
-webkit-user-select: none;
|
|
11
|
+
|
|
12
|
+
.pagination {
|
|
13
|
+
&__control {
|
|
14
|
+
display: flex;
|
|
15
|
+
svg {
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
fill: var(--neutral-neutral-2);
|
|
18
|
+
width: 1rem;
|
|
19
|
+
path {
|
|
20
|
+
pointer-events: none;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
&--prev svg {
|
|
24
|
+
transform: rotate(180deg);
|
|
25
|
+
}
|
|
26
|
+
&--hidden {
|
|
27
|
+
cursor: default;
|
|
28
|
+
pointer-events: none;
|
|
29
|
+
visibility: hidden;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__page-wrapper {
|
|
34
|
+
display: flex;
|
|
35
|
+
margin: 0 1rem;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__page {
|
|
39
|
+
align-items: center;
|
|
40
|
+
background: var(--neutral-neutral-6);
|
|
41
|
+
border: 2px solid var(--neutral-neutral-3);
|
|
42
|
+
border-radius: 4px;
|
|
43
|
+
box-sizing: border-box;
|
|
44
|
+
color: var(--neutral-neutral-2);
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
display: flex;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
height: 2.125rem;
|
|
49
|
+
margin: 0 0.25rem;
|
|
50
|
+
min-width: 2.125rem;
|
|
51
|
+
padding: 0.3rem;
|
|
52
|
+
|
|
53
|
+
&--active {
|
|
54
|
+
background: var(--neutral-neutral-4);
|
|
55
|
+
border: 2px solid var(--neutral-neutral-2);
|
|
56
|
+
color: var(--neutral-neutral-1);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&--ellipsis {
|
|
60
|
+
cursor: default;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
`
|
|
@@ -4,7 +4,7 @@ import React, { type FC, type SyntheticEvent, useCallback, useState } from 'reac
|
|
|
4
4
|
import PageStepControl from './PageStepControl'
|
|
5
5
|
import PageSteps from './PageSteps'
|
|
6
6
|
import { type PaginationProps } from './PaginationProps.types'
|
|
7
|
-
|
|
7
|
+
import { PaginationStyled } from './Pagination.styled'
|
|
8
8
|
|
|
9
9
|
const Pagination: FC<PaginationProps> = ({
|
|
10
10
|
activePage,
|
|
@@ -32,11 +32,11 @@ const Pagination: FC<PaginationProps> = ({
|
|
|
32
32
|
if (totalPages === undefined) return null
|
|
33
33
|
|
|
34
34
|
return (
|
|
35
|
-
<
|
|
35
|
+
<PaginationStyled className='pagination'>
|
|
36
36
|
<PageStepControl activePage={active} totalPages={totalPages} onClick={handleControl} direction={prevControl} />
|
|
37
37
|
<PageSteps activePage={active} onClick={handleCurrentPage} totalPages={totalPages} />
|
|
38
38
|
<PageStepControl activePage={active} totalPages={totalPages} onClick={handleControl} direction={nextControl} />
|
|
39
|
-
</
|
|
39
|
+
</PaginationStyled>
|
|
40
40
|
)
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import ContactPhoneIcon from '../../../../images/webp/customer-support.webp';
|
|
3
3
|
import ContactPhoneIconIE from '../../../../images/png/customer-support.png';
|
|
4
|
+
import { PhoneContactBoxDesktopStyled } from './PhoneContactBoxDesktop.styled';
|
|
4
5
|
// import './PhoneContactBoxDesktop.scss'
|
|
5
6
|
export const PhoneContactBoxDesktop = ({ phones, schedule }) => {
|
|
6
|
-
return (_jsxs(
|
|
7
|
+
return (_jsxs(PhoneContactBoxDesktopStyled, { className: 'phone-contact-box-container', children: [_jsx("img", { src: ContactPhoneIcon, alt: 'Contact phone icon', width: '40', height: '40' }), _jsx("img", { src: ContactPhoneIconIE, className: 'onlyIE', alt: 'Contact phone icon', width: '40', height: '40' }), _jsxs("div", { className: 'phone-contact-info', children: [phones.map((phone, index) => (_jsx("p", { className: 'phone-contact-phone', children: phone }, `${phone}-${index}`))), _jsx("p", { className: 'email-contact-text', children: schedule })] })] }));
|
|
7
8
|
};
|
package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PhoneContactBoxDesktopStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const PhoneContactBoxDesktopStyled = styled.div `
|
|
4
|
+
background-color: var(--others-white);
|
|
5
|
+
width: 100%;
|
|
6
|
+
border-radius: 4px;
|
|
7
|
+
margin-bottom: 2rem;
|
|
8
|
+
display: none;
|
|
9
|
+
padding: 2rem 1.5rem;
|
|
10
|
+
text-decoration: none;
|
|
11
|
+
box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
|
|
12
|
+
|
|
13
|
+
@media not all and (min-resolution: 0.001dpcm) {
|
|
14
|
+
@supports (-webkit-appearance: none) {
|
|
15
|
+
letter-spacing: -1px;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@media ${device['landscape-tablets']} {
|
|
20
|
+
display: flex;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
img {
|
|
24
|
+
align-self: center;
|
|
25
|
+
&:not(.onlyIE) {
|
|
26
|
+
display: block;
|
|
27
|
+
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
28
|
+
display: none;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
&.onlyIE {
|
|
32
|
+
display: none;
|
|
33
|
+
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
34
|
+
display: block;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.phone-contact {
|
|
40
|
+
&-info {
|
|
41
|
+
margin-left: 1.5rem;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&-phone {
|
|
45
|
+
font-size: 1.5rem;
|
|
46
|
+
color: var(--primary-main-dark-1);
|
|
47
|
+
font-weight: bold;
|
|
48
|
+
text-decoration: none;
|
|
49
|
+
|
|
50
|
+
@media ${device.laptop} {
|
|
51
|
+
font-size: 1.7rem;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&-text {
|
|
56
|
+
color: var(--neutral-neutral-2);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
`;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const PhoneContactBoxDesktopStyled = styled.div`
|
|
5
|
+
background-color: var(--others-white);
|
|
6
|
+
width: 100%;
|
|
7
|
+
border-radius: 4px;
|
|
8
|
+
margin-bottom: 2rem;
|
|
9
|
+
display: none;
|
|
10
|
+
padding: 2rem 1.5rem;
|
|
11
|
+
text-decoration: none;
|
|
12
|
+
box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
|
|
13
|
+
|
|
14
|
+
@media not all and (min-resolution: 0.001dpcm) {
|
|
15
|
+
@supports (-webkit-appearance: none) {
|
|
16
|
+
letter-spacing: -1px;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@media ${device['landscape-tablets']} {
|
|
21
|
+
display: flex;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
img {
|
|
25
|
+
align-self: center;
|
|
26
|
+
&:not(.onlyIE) {
|
|
27
|
+
display: block;
|
|
28
|
+
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
29
|
+
display: none;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
&.onlyIE {
|
|
33
|
+
display: none;
|
|
34
|
+
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
35
|
+
display: block;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.phone-contact {
|
|
41
|
+
&-info {
|
|
42
|
+
margin-left: 1.5rem;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&-phone {
|
|
46
|
+
font-size: 1.5rem;
|
|
47
|
+
color: var(--primary-main-dark-1);
|
|
48
|
+
font-weight: bold;
|
|
49
|
+
text-decoration: none;
|
|
50
|
+
|
|
51
|
+
@media ${device.laptop} {
|
|
52
|
+
font-size: 1.7rem;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&-text {
|
|
57
|
+
color: var(--neutral-neutral-2);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
`
|
|
@@ -5,11 +5,12 @@ import React from 'react'
|
|
|
5
5
|
import ContactPhoneIcon from '../../../../images/webp/customer-support.webp'
|
|
6
6
|
import ContactPhoneIconIE from '../../../../images/png/customer-support.png'
|
|
7
7
|
import { type PhoneContactBoxDesktopProps } from './PhoneContactBoxDesktopProps.types'
|
|
8
|
+
import { PhoneContactBoxDesktopStyled } from './PhoneContactBoxDesktop.styled'
|
|
8
9
|
// import './PhoneContactBoxDesktop.scss'
|
|
9
10
|
|
|
10
11
|
export const PhoneContactBoxDesktop: React.FC<PhoneContactBoxDesktopProps> = ({ phones, schedule }) => {
|
|
11
12
|
return (
|
|
12
|
-
<
|
|
13
|
+
<PhoneContactBoxDesktopStyled className='phone-contact-box-container'>
|
|
13
14
|
<img src={ContactPhoneIcon} alt='Contact phone icon' width='40' height='40'></img>
|
|
14
15
|
<img src={ContactPhoneIconIE} className='onlyIE' alt='Contact phone icon' width='40' height='40'></img>
|
|
15
16
|
<div className='phone-contact-info'>
|
|
@@ -20,6 +21,6 @@ export const PhoneContactBoxDesktop: React.FC<PhoneContactBoxDesktopProps> = ({
|
|
|
20
21
|
))}
|
|
21
22
|
<p className='email-contact-text'>{schedule}</p>
|
|
22
23
|
</div>
|
|
23
|
-
</
|
|
24
|
+
</PhoneContactBoxDesktopStyled>
|
|
24
25
|
)
|
|
25
26
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Button } from '../../atoms';
|
|
3
|
-
|
|
3
|
+
import { PhoneContactBoxMobileStyled } from './PhoneContactBoxMobile.styled';
|
|
4
4
|
export const PhoneContactBoxMobile = ({ phones, schedule }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs(PhoneContactBoxMobileStyled, { className: 'phone-mobile-contact-box-container wrapper wrapper--responsive', children: [phones.map((phone, index) => (_jsx(Button, { centered: true, isExternal: true, link: `tel:${phone}`, gtmTag: 'clicked_phone_contactus', givenClass: 'phone-mobile-contact-button e-button e-button--link e-button--primary-1 e-button--center', label: phone, dataQa: 'phone_contact_box' }, `${phone}-${index}`))), _jsx("p", { className: 'phone-mobile-contact-text', children: schedule })] }));
|
|
6
6
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PhoneContactBoxMobileStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const PhoneContactBoxMobileStyled = styled.div `
|
|
4
|
+
display: block;
|
|
5
|
+
padding-top: 1rem;
|
|
6
|
+
|
|
7
|
+
@media ${device['landscape-tablets']} {
|
|
8
|
+
display: none;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.phone-mobile-contact {
|
|
12
|
+
&-button {
|
|
13
|
+
display: flex;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
margin-bottom: 1rem;
|
|
16
|
+
|
|
17
|
+
&:before {
|
|
18
|
+
content: '';
|
|
19
|
+
width: 20px;
|
|
20
|
+
height: 20px;
|
|
21
|
+
background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0iZXA3dHIycDdyYSIgZD0iTTIwLjAxIDE1LjM4Yy0xLjIzIDAtMi40Mi0uMi0zLjUzLS41Ni0uMzUtLjEyLS43NC0uMDMtMS4wMS4yNGwtMS41NyAxLjk3Yy0yLjgzLTEuMzUtNS40OC0zLjktNi44OS02LjgzbDEuOTUtMS42NmMuMjctLjI4LjM1LS42Ny4yNC0xLjAyLS4zNy0xLjExLS41Ni0yLjMtLjU2LTMuNTMgMC0uNTQtLjQ1LS45OS0uOTktLjk5SDQuMTlDMy42NSAzIDMgMy4yNCAzIDMuOTkgMyAxMy4yOCAxMC43MyAyMSAyMC4wMSAyMWMuNzEgMCAuOTktLjYzLjk5LTEuMTh2LTMuNDVjMC0uNTQtLjQ1LS45OS0uOTktLjk5eiIvPgogICAgPC9kZWZzPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8Zz4KICAgICAgICAgICAgPGc+CiAgICAgICAgICAgICAgICA8Zz4KICAgICAgICAgICAgICAgICAgICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMzc2LjAwMDAwMCwgLTMxNC4wMDAwMDApIHRyYW5zbGF0ZSgzMjguMDAwMDAwLCAyMDUuMDAwMDAwKSB0cmFuc2xhdGUoMzIuMDAwMDAwLCA5MC4wMDAwMDApIHRyYW5zbGF0ZSgxNi4wMDAwMDAsIDE5LjAwMDAwMCkiPgogICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgICAgICAgICAgICAgICAgIDxtYXNrIGlkPSI3dHZidm9pbXpiIiBmaWxsPSIjZmZmIj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI2VwN3RyMnA3cmEiLz4KICAgICAgICAgICAgICAgICAgICAgICAgPC9tYXNrPgogICAgICAgICAgICAgICAgICAgICAgICA8ZyBjbGFzcz0iaWNvbi13ZWItMjQtcCIgZmlsbD0iI2ZmZiIgbWFzaz0idXJsKCM3dHZidm9pbXpiKSI+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo=');
|
|
22
|
+
margin-right: 0.5rem;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&-text {
|
|
27
|
+
color: var(--neutral-neutral-2);
|
|
28
|
+
text-align: center;
|
|
29
|
+
margin: 0rem 0 2rem;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
`;
|