@npm_leadtech/legal-lib-components 5.7.7 → 5.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/styles.css +2175 -184
- package/dist/images/svg/arrow-right-24px-outlined.svg +3 -0
- package/dist/src/components/molecules/AccordionItem/AccordionItem.js +2 -2
- package/dist/src/components/molecules/AccordionItem/{AccordionItem.styled.ts → AccordionItem.scss} +3 -3
- package/dist/src/components/molecules/AccordionItem/AccordionItem.tsx +4 -3
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.js +2 -2
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.scss +7 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.tsx +3 -3
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.js +2 -2
- package/dist/src/components/molecules/AlsoKnownAs/{AlsoKnownAs.styled.ts → AlsoKnownAs.scss} +4 -4
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.tsx +3 -3
- package/dist/src/components/molecules/Article/Article.js +4 -3
- package/dist/src/components/molecules/Article/{Article.styled.ts → Article.scss} +27 -10
- package/dist/src/components/molecules/Article/Article.tsx +20 -5
- package/dist/src/components/molecules/Article/ArticleProps.types.d.ts +1 -0
- package/dist/src/components/molecules/Article/ArticleProps.types.ts +1 -0
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.js +2 -2
- package/dist/src/components/molecules/BaseBoxList/{BaseBoxList.styled.ts → BaseBoxList.scss} +5 -5
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.tsx +2 -6
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.js +2 -2
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.scss +16 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.tsx +3 -3
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.js +2 -2
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.scss +49 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.tsx +3 -3
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.js +2 -2
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.scss +93 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.tsx +3 -3
- package/dist/src/components/molecules/BoxForm/BoxForm.js +2 -2
- package/dist/src/components/molecules/BoxForm/BoxForm.scss +129 -0
- package/dist/src/components/molecules/BoxForm/BoxForm.tsx +3 -3
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.js +2 -2
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.scss +7 -0
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.tsx +3 -3
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.js +1 -2
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.scss +42 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.tsx +2 -3
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.js +1 -2
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.scss +37 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.tsx +3 -4
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.js +2 -2
- package/dist/src/components/molecules/EmailContactBox/{EmailContactBox.styled.ts → EmailContactBox.scss} +3 -3
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.tsx +3 -3
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.js +1 -2
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.scss +14 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.tsx +1 -2
- package/dist/src/components/molecules/FaqItem/FaqItem.js +6 -5
- package/dist/src/components/molecules/FaqItem/{FaqItem.styled.ts → FaqItem.scss} +5 -4
- package/dist/src/components/molecules/FaqItem/FaqItem.tsx +10 -9
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.js +2 -2
- package/dist/src/components/molecules/FeatureRatafiaCardList/{FeatureRatafiaCardList.styled.ts → FeatureRatafiaCardList.scss} +2 -4
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.tsx +3 -3
- package/dist/src/components/molecules/Feedback/Feedback.js +2 -2
- package/dist/src/components/molecules/Feedback/Feedback.scss +109 -0
- package/dist/src/components/molecules/Feedback/Feedback.tsx +3 -3
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.js +2 -2
- package/dist/src/components/molecules/FreeDocModalContent/{FreeDocModalContent.styled.ts → FreeDocModalContent.scss} +10 -10
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.tsx +3 -3
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.js +2 -2
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.scss +31 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.tsx +3 -3
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.js +2 -2
- package/dist/src/components/molecules/KeyFactCardListRatafia/{KeyFactCardListRatafia.styled.ts → KeyFactCardListRatafia.scss} +3 -3
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.tsx +3 -3
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.js +2 -2
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.scss +32 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +3 -3
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.js +2 -2
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.tsx +3 -3
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.js +2 -2
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.scss +69 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.tsx +3 -3
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.js +2 -2
- package/dist/src/components/molecules/MoreDocsDesktop/{MoreDocsDesktop.styled.ts → MoreDocsDesktop.scss} +8 -9
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.tsx +3 -3
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.js +3 -3
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.scss +71 -0
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.tsx +3 -3
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.js +2 -2
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.scss +33 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +3 -3
- package/dist/src/components/molecules/Pagination/Pagination.js +2 -2
- package/dist/src/components/molecules/Pagination/Pagination.scss +62 -0
- package/dist/src/components/molecules/Pagination/Pagination.tsx +3 -3
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.js +1 -2
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.scss +60 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.tsx +2 -3
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.js +2 -2
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.scss +33 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.tsx +3 -3
- package/dist/src/components/molecules/PopularDocs/PopularDocs.js +2 -2
- package/dist/src/components/molecules/PopularDocs/{PopularDocs.styled.ts → PopularDocs.scss} +6 -7
- package/dist/src/components/molecules/PopularDocs/PopularDocs.tsx +3 -3
- package/dist/src/components/molecules/PricingCard/PricingCard.js +2 -2
- package/dist/src/components/molecules/PricingCard/PricingCard.scss +186 -0
- package/dist/src/components/molecules/PricingCard/PricingCard.tsx +3 -6
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +1 -2
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +93 -0
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +2 -3
- package/dist/src/components/molecules/Snackbar/Snackbar.js +2 -2
- package/dist/src/components/molecules/Snackbar/Snackbar.scss +135 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.tsx +3 -3
- package/dist/src/components/molecules/StepGetForm/StepGetForm.js +2 -2
- package/dist/src/components/molecules/StepGetForm/{StepGetForm.styled.ts → StepGetForm.scss} +13 -13
- package/dist/src/components/molecules/StepGetForm/StepGetForm.tsx +3 -3
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.js +1 -2
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.tsx +2 -3
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.js +2 -2
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.scss +5 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.tsx +3 -3
- package/dist/src/components/molecules/TextInput/TextInput.js +1 -0
- package/dist/src/components/molecules/TextInput/TextInput.tsx +1 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.js +2 -2
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.scss +14 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.tsx +3 -3
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.js +1 -2
- package/dist/src/components/molecules/TypeModulesList/{TypeModulesList.styled.ts → TypeModulesList.scss} +11 -11
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.tsx +2 -3
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.js +2 -2
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.scss +63 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.tsx +3 -8
- package/dist/src/components/organisms/ArticlesList/ArticlesList.js +2 -2
- package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +2 -2
- package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.d.ts +1 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.ts +1 -0
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.scss +1 -1
- package/dist/src/components/sections/BlogSection/BlogSection.js +5 -4
- package/dist/src/components/sections/BlogSection/BlogSection.scss +54 -0
- package/dist/src/components/sections/BlogSection/BlogSection.styled.js +21 -0
- package/dist/src/components/sections/BlogSection/BlogSection.styled.ts +21 -0
- package/dist/src/components/sections/BlogSection/BlogSection.tsx +10 -6
- package/dist/src/components/sections/BlogSection/BlogSectionProps.types.d.ts +2 -1
- package/dist/src/components/sections/BlogSection/BlogSectionProps.types.ts +2 -1
- package/dist/src/custom.d.ts +1 -1
- package/dist/src/globalStyles/styles.scss +43 -3
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/components/molecules/AccordionItem/AccordionItem.styled.d.ts +0 -1
- package/dist/src/components/molecules/AccordionItem/AccordionItem.styled.js +0 -69
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.d.ts +0 -1
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.js +0 -7
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.styled.ts +0 -8
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.styled.d.ts +0 -1
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.styled.js +0 -28
- package/dist/src/components/molecules/Article/Article.styled.d.ts +0 -1
- package/dist/src/components/molecules/Article/Article.styled.js +0 -65
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.styled.d.ts +0 -1
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.styled.js +0 -25
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.d.ts +0 -1
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.js +0 -15
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.styled.ts +0 -16
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.d.ts +0 -1
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.js +0 -50
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.styled.ts +0 -51
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.d.ts +0 -1
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.js +0 -94
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.styled.ts +0 -95
- package/dist/src/components/molecules/BoxForm/BoxForm.styled.d.ts +0 -1
- package/dist/src/components/molecules/BoxForm/BoxForm.styled.js +0 -127
- package/dist/src/components/molecules/BoxForm/BoxForm.styled.ts +0 -128
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.d.ts +0 -1
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.js +0 -10
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.styled.ts +0 -11
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.d.ts +0 -1
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.js +0 -45
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.styled.ts +0 -46
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.d.ts +0 -1
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.js +0 -38
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.styled.ts +0 -39
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.styled.d.ts +0 -1
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.styled.js +0 -34
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.d.ts +0 -1
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.js +0 -13
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.ts +0 -14
- package/dist/src/components/molecules/FaqItem/FaqItem.styled.d.ts +0 -1
- package/dist/src/components/molecules/FaqItem/FaqItem.styled.js +0 -61
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.styled.d.ts +0 -1
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.styled.js +0 -9
- package/dist/src/components/molecules/Feedback/Feedback.styled.d.ts +0 -1
- package/dist/src/components/molecules/Feedback/Feedback.styled.js +0 -114
- package/dist/src/components/molecules/Feedback/Feedback.styled.ts +0 -115
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.styled.d.ts +0 -1
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.styled.js +0 -109
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.d.ts +0 -1
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.js +0 -32
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.styled.ts +0 -33
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.d.ts +0 -1
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.styled.js +0 -20
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.d.ts +0 -1
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.js +0 -33
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.styled.ts +0 -34
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.d.ts +0 -1
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.js +0 -30
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.styled.ts +0 -31
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.d.ts +0 -1
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.js +0 -69
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.styled.ts +0 -70
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.d.ts +0 -1
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.styled.js +0 -74
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.d.ts +0 -1
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.js +0 -72
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.styled.ts +0 -73
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.d.ts +0 -1
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.js +0 -35
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.styled.ts +0 -36
- package/dist/src/components/molecules/Pagination/Pagination.styled.d.ts +0 -1
- package/dist/src/components/molecules/Pagination/Pagination.styled.js +0 -63
- package/dist/src/components/molecules/Pagination/Pagination.styled.ts +0 -64
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.d.ts +0 -1
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.js +0 -59
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.styled.ts +0 -60
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.d.ts +0 -1
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.js +0 -32
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.styled.ts +0 -33
- package/dist/src/components/molecules/PopularDocs/PopularDocs.styled.d.ts +0 -1
- package/dist/src/components/molecules/PopularDocs/PopularDocs.styled.js +0 -34
- package/dist/src/components/molecules/PricingCard/PricingCard.styled.d.ts +0 -1
- package/dist/src/components/molecules/PricingCard/PricingCard.styled.js +0 -189
- package/dist/src/components/molecules/PricingCard/PricingCard.styled.ts +0 -190
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.d.ts +0 -1
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js +0 -93
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts +0 -94
- package/dist/src/components/molecules/Snackbar/Snackbar.styled.d.ts +0 -1
- package/dist/src/components/molecules/Snackbar/Snackbar.styled.js +0 -139
- package/dist/src/components/molecules/Snackbar/Snackbar.styled.ts +0 -140
- package/dist/src/components/molecules/StepGetForm/StepGetForm.styled.d.ts +0 -1
- package/dist/src/components/molecules/StepGetForm/StepGetForm.styled.js +0 -104
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.d.ts +0 -1
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.js +0 -19
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.ts +0 -20
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.d.ts +0 -1
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.js +0 -6
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.styled.ts +0 -7
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.d.ts +0 -1
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.js +0 -14
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.styled.ts +0 -15
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.styled.d.ts +0 -1
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.styled.js +0 -107
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.d.ts +0 -1
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.js +0 -64
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.ts +0 -65
|
@@ -2,7 +2,7 @@ import React from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { ActionButtonHeaderRatafiaCardList } from '../ActionButtonHeaderRatafiaCardList'
|
|
4
4
|
import { type HeaderRatafiaProps } from './HeaderRatafiaProps.types'
|
|
5
|
-
import
|
|
5
|
+
// import './HeaderRatafia.scss'
|
|
6
6
|
|
|
7
7
|
export const HeaderRatafia: React.FC<HeaderRatafiaProps> = ({
|
|
8
8
|
icon,
|
|
@@ -11,7 +11,7 @@ export const HeaderRatafia: React.FC<HeaderRatafiaProps> = ({
|
|
|
11
11
|
isHiddenActionButtons = false
|
|
12
12
|
}) => {
|
|
13
13
|
return (
|
|
14
|
-
<
|
|
14
|
+
<div className='header-ratafia'>
|
|
15
15
|
<div className='header-ratafia__title'>
|
|
16
16
|
<div className='header-ratafia__title__icon'>{icon}</div>
|
|
17
17
|
<h1 className='sans-serif --bold-weight header-ratafia__title__text'>{title}</h1>
|
|
@@ -19,7 +19,7 @@ export const HeaderRatafia: React.FC<HeaderRatafiaProps> = ({
|
|
|
19
19
|
{actionButtons !== undefined && !isHiddenActionButtons && (
|
|
20
20
|
<ActionButtonHeaderRatafiaCardList actionButtons={actionButtons} />
|
|
21
21
|
)}
|
|
22
|
-
</
|
|
22
|
+
</div>
|
|
23
23
|
)
|
|
24
24
|
}
|
|
25
25
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { KeyFactCardListRatafiaStyled } from './KeyFactCardListRatafia.styled';
|
|
3
2
|
import { KeyFactRatafiaCard } from '../../atoms';
|
|
3
|
+
// import './KeyFactCardListRatafia.scss'
|
|
4
4
|
export const KeyFactCardListRatafia = ({ keyFacts }) => {
|
|
5
5
|
if (keyFacts.length === 0)
|
|
6
6
|
return null;
|
|
7
|
-
return (_jsx(
|
|
7
|
+
return (_jsx("div", { className: 'key-fact-card-list', children: keyFacts.map((keyFact) => (_jsx(_Fragment, { children: _jsx(KeyFactRatafiaCard, { ...keyFact }, keyFact.id) }))) }));
|
|
8
8
|
};
|
|
9
9
|
export default KeyFactCardListRatafia;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
.key-fact-card-list {
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
6
|
align-items: flex-start;
|
|
@@ -18,4 +18,4 @@ export const KeyFactCardListRatafiaStyled = styled.div`
|
|
|
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'
|
|
5
4
|
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
|
+
<div 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
|
+
</div>
|
|
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
|
-
import
|
|
3
|
+
// import './MenuItemsSection.scss'
|
|
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("div", { 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,32 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.menu-items-section {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-flow: column nowrap;
|
|
7
|
+
|
|
8
|
+
@include 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
|
+
@include 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
|
+
}
|
|
@@ -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
|
-
import
|
|
6
|
+
// import './MenuItemsSection.scss'
|
|
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
|
+
<div 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
|
+
</div>
|
|
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
|
-
import
|
|
3
|
+
// import './MidBannerRatafiaContent.scss'
|
|
4
4
|
const MidBannerRatafiaContent = ({ title, paragraph, ctaLabel, ctaLink, ctaDataQa }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs("div", { 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;
|
|
@@ -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
|
-
import
|
|
5
|
+
// import './MidBannerRatafiaContent.scss'
|
|
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
|
+
<div 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
|
+
</div>
|
|
28
28
|
)
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
// import './MidBannerRatafiaSample.scss'
|
|
3
3
|
const MidBannerRatafiaSample = ({ image }) => {
|
|
4
|
-
return (_jsxs(
|
|
4
|
+
return (_jsxs("div", { 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;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.mid-banner-ratafia-sample {
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: flex-start;
|
|
7
|
+
position: relative;
|
|
8
|
+
|
|
9
|
+
&__image {
|
|
10
|
+
img {
|
|
11
|
+
border-radius: 8px 8px 0 0;
|
|
12
|
+
box-shadow: $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: $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: $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
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
3
|
import { type MidBannerRatafiaSampleProps } from './MidBannerRatafiaSampleProps.types'
|
|
4
|
-
import
|
|
4
|
+
// import './MidBannerRatafiaSample.scss'
|
|
5
5
|
|
|
6
6
|
const MidBannerRatafiaSample: FC<MidBannerRatafiaSampleProps> = ({ image }) => {
|
|
7
7
|
return (
|
|
8
|
-
<
|
|
8
|
+
<div 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
|
+
</div>
|
|
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';
|
|
3
2
|
import { MoreDocsItem } from '../../atoms';
|
|
3
|
+
// import './MoreDocsDesktop.scss'
|
|
4
4
|
export const MoreDocsDesktop = ({ title, documents }) => {
|
|
5
|
-
return (_jsx(
|
|
5
|
+
return (_jsx("div", { 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
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import styled from 'styled-components'
|
|
1
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
.more-docs-desktop {
|
|
5
4
|
display: flex;
|
|
6
5
|
flex-flow: row nowrap;
|
|
7
6
|
justify-content: center;
|
|
@@ -14,10 +13,10 @@ export const MoreDocsDesktopStyled = styled.div`
|
|
|
14
13
|
min-height: 20rem;
|
|
15
14
|
align-items: center;
|
|
16
15
|
|
|
17
|
-
@
|
|
16
|
+
@include landscape-tablets {
|
|
18
17
|
padding: 1rem 1rem 2rem 2rem;
|
|
19
18
|
}
|
|
20
|
-
@
|
|
19
|
+
@include desktop {
|
|
21
20
|
padding: 1rem 6rem 2rem 6rem;
|
|
22
21
|
}
|
|
23
22
|
|
|
@@ -31,7 +30,7 @@ export const MoreDocsDesktopStyled = styled.div`
|
|
|
31
30
|
padding: 0 0 1.5rem 0;
|
|
32
31
|
width: 100%;
|
|
33
32
|
|
|
34
|
-
@media only screen and (max-width: $
|
|
33
|
+
@media only screen and (max-width: #{$md}) {
|
|
35
34
|
display: flex;
|
|
36
35
|
justify-content: center;
|
|
37
36
|
}
|
|
@@ -53,7 +52,7 @@ export const MoreDocsDesktopStyled = styled.div`
|
|
|
53
52
|
}
|
|
54
53
|
&:last-child {
|
|
55
54
|
margin-right: 0;
|
|
56
|
-
@media only screen and (max-width: $
|
|
55
|
+
@media only screen and (max-width: #{$md}) {
|
|
57
56
|
display: none;
|
|
58
57
|
}
|
|
59
58
|
}
|
|
@@ -66,10 +65,10 @@ export const MoreDocsDesktopStyled = styled.div`
|
|
|
66
65
|
}
|
|
67
66
|
|
|
68
67
|
.last-line {
|
|
69
|
-
@media only screen and (max-width: $
|
|
68
|
+
@media only screen and (max-width: #{$md}) {
|
|
70
69
|
display: none;
|
|
71
70
|
}
|
|
72
71
|
}
|
|
73
72
|
}
|
|
74
73
|
}
|
|
75
|
-
|
|
74
|
+
}
|
|
@@ -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'
|
|
5
4
|
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
|
+
<div 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
|
+
</div>
|
|
33
33
|
)
|
|
34
34
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } 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
|
-
import
|
|
5
|
+
// import './MoreDocsMobile.scss'
|
|
6
6
|
export const MoreDocsMobile = ({ title, documents }) => {
|
|
7
7
|
const [isOpen, setIsOpen] = React.useState(false);
|
|
8
|
-
return (_jsxs(
|
|
8
|
+
return (_jsxs(_Fragment, { 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,71 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
|
|
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
|
+
}
|
|
@@ -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
|
-
import
|
|
6
|
+
// import './MoreDocsMobile.scss'
|
|
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
|
+
<>
|
|
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
|
+
</>
|
|
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';
|
|
8
7
|
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("div", { 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,33 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
|
|
3
|
+
.navbar-drop-down__container {
|
|
4
|
+
position: absolute;
|
|
5
|
+
width: 100%;
|
|
6
|
+
height: 100vh;
|
|
7
|
+
left: 0;
|
|
8
|
+
right: 0;
|
|
9
|
+
z-index: 4;
|
|
10
|
+
&__menu_items {
|
|
11
|
+
background: var(--others-white);
|
|
12
|
+
padding: 1.5rem;
|
|
13
|
+
box-shadow: var(--box-shadow-container);
|
|
14
|
+
ul {
|
|
15
|
+
li {
|
|
16
|
+
margin-bottom: 1rem;
|
|
17
|
+
padding: 0.5rem 1rem;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
li:last-child {
|
|
21
|
+
margin-bottom: 0;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&__shadow {
|
|
27
|
+
position: absolute;
|
|
28
|
+
background: var(--neutral-neutral-3);
|
|
29
|
+
opacity: 0.4;
|
|
30
|
+
width: 100%;
|
|
31
|
+
height: 100vh;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -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'
|
|
8
7
|
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
|
+
<div 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
|
+
</div>
|
|
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
|
-
import
|
|
6
|
+
// import './Pagination.scss'
|
|
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("div", { 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;
|