@npm_leadtech/legal-lib-components 5.2.8 → 5.2.10
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 +2855 -2437
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.js +1 -2
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.scss +24 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.tsx +2 -7
- package/dist/src/components/atoms/AddButton/AddButton.js +1 -2
- package/dist/src/components/atoms/AddButton/AddButton.scss +48 -0
- package/dist/src/components/atoms/AddButton/AddButton.tsx +2 -3
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.js +2 -2
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.scss +54 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.tsx +3 -3
- package/dist/src/components/atoms/BillCard/BillCard.js +1 -2
- package/dist/src/components/atoms/BillCard/BillCard.scss +57 -0
- package/dist/src/components/atoms/BillCard/BillCard.tsx +2 -3
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.js +1 -2
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.scss +33 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.tsx +2 -2
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.js +1 -2
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.scss +21 -0
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.tsx +3 -3
- package/dist/src/components/atoms/Button/Button.scss +28 -28
- package/dist/src/components/atoms/ButtonIcon/ButtonIcon.scss +6 -6
- package/dist/src/components/atoms/CardPane/CardPane.js +2 -2
- package/dist/src/components/atoms/CardPane/CardPane.scss +116 -0
- package/dist/src/components/atoms/CardPane/CardPane.tsx +3 -3
- package/dist/src/components/atoms/Checkbox/Checkbox.js +2 -2
- package/dist/src/components/atoms/Checkbox/{Checkbox.styled.ts → Checkbox.scss} +16 -18
- package/dist/src/components/atoms/Checkbox/Checkbox.tsx +3 -3
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.js +2 -2
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.scss +116 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.tsx +3 -3
- package/dist/src/components/atoms/DatePickerCustom/index.js.map +4 -4
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.js +5 -6
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.scss +3 -3
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.tsx +16 -19
- package/dist/src/components/atoms/Disclaimer/Disclaimer.js +2 -2
- package/dist/src/components/atoms/Disclaimer/Disclaimer.scss +45 -0
- package/dist/src/components/atoms/Disclaimer/Disclaimer.tsx +3 -3
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.js +2 -2
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.scss +149 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.tsx +3 -3
- package/dist/src/components/atoms/Divider/Divider.js +2 -2
- package/dist/src/components/atoms/Divider/Divider.scss +20 -0
- package/dist/src/components/atoms/Divider/Divider.tsx +3 -3
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.js +4 -4
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.scss +91 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.tsx +7 -7
- package/dist/src/components/atoms/DocumentTag/DocumentTag.js +2 -2
- package/dist/src/components/atoms/DocumentTag/DocumentTag.scss +13 -0
- package/dist/src/components/atoms/DocumentTag/DocumentTag.tsx +2 -2
- package/dist/src/components/atoms/ExpertCard/ExpertCard.js +2 -2
- package/dist/src/components/atoms/ExpertCard/ExpertCard.scss +65 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCard.tsx +3 -3
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.js +2 -2
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.scss +79 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.tsx +3 -3
- package/dist/src/components/atoms/FormFaq/FormFaq.js +2 -2
- package/dist/src/components/atoms/FormFaq/FormFaq.scss +72 -0
- package/dist/src/components/atoms/FormFaq/FormFaq.tsx +3 -3
- package/dist/src/components/atoms/GoogleButton/GoogleButton.js +2 -2
- package/dist/src/components/atoms/GoogleButton/{GoogleButton.styled.ts → GoogleButton.scss} +5 -5
- package/dist/src/components/atoms/GoogleButton/GoogleButton.tsx +3 -3
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.js +2 -2
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.scss +6 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.tsx +3 -2
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.js +2 -2
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.scss +80 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.tsx +4 -3
- package/dist/src/components/atoms/InfoBox/InfoBox.js +2 -2
- package/dist/src/components/atoms/InfoBox/InfoBox.scss +40 -0
- package/dist/src/components/atoms/InfoBox/InfoBox.tsx +3 -3
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.js +2 -2
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.scss +8 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.tsx +3 -3
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.js +2 -2
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.scss +38 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.tsx +3 -3
- package/dist/src/components/atoms/LogoText/LogoText.js +2 -2
- package/dist/src/components/atoms/LogoText/LogoText.scss +34 -0
- package/dist/src/components/atoms/LogoText/LogoText.tsx +5 -5
- package/dist/src/components/atoms/MenuItems/MenuItems.js +1 -2
- package/dist/src/components/atoms/MenuItems/MenuItems.scss +70 -0
- package/dist/src/components/atoms/MenuItems/MenuItems.tsx +2 -3
- package/dist/src/components/atoms/Message/Message.js +2 -2
- package/dist/src/components/atoms/Message/Message.scss +31 -0
- package/dist/src/components/atoms/Message/Message.tsx +3 -3
- package/dist/src/components/atoms/MessageInformation/MessageInformation.js +2 -2
- package/dist/src/components/atoms/MessageInformation/MessageInformation.scss +51 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformation.tsx +5 -4
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.js +2 -2
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.scss +44 -0
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.tsx +3 -3
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.js +3 -3
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.scss +60 -0
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.tsx +6 -6
- package/dist/src/components/atoms/PaypalButton/PaypalButton.js +2 -2
- package/dist/src/components/atoms/PaypalButton/PaypalButton.scss +5 -0
- package/dist/src/components/atoms/PaypalButton/PaypalButton.tsx +3 -3
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.js +2 -2
- package/dist/src/components/atoms/PopularDocsItem/{PopularDocsItem.styled.ts → PopularDocsItem.scss} +24 -24
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.tsx +3 -3
- package/dist/src/components/atoms/ProgressBar/ProgressBar.js +2 -2
- package/dist/src/components/atoms/ProgressBar/ProgressBar.scss +24 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBar.tsx +3 -3
- package/dist/src/components/atoms/Radio/Radio.scss +29 -29
- package/dist/src/components/atoms/RemoveButton/RemoveButton.js +2 -2
- package/dist/src/components/atoms/RemoveButton/RemoveButton.scss +43 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButton.tsx +3 -3
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.js +2 -2
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.scss +54 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.tsx +3 -3
- package/dist/src/components/atoms/RichTextInner/RichTextInner.js +2 -2
- package/dist/src/components/atoms/RichTextInner/RichTextInner.scss +34 -0
- package/dist/src/components/atoms/RichTextInner/RichTextInner.tsx +2 -2
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.js +2 -2
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.scss +9 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.tsx +2 -7
- package/dist/src/components/atoms/SearchSelect/SearchSelect.js +3 -3
- package/dist/src/components/atoms/SearchSelect/SearchSelect.scss +222 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.tsx +3 -3
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.js +2 -2
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.scss +48 -0
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.tsx +3 -3
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.js +2 -2
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.scss +90 -0
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.tsx +3 -3
- package/dist/src/components/atoms/Spinner/Spinner.js +2 -2
- package/dist/src/components/atoms/Spinner/Spinner.scss +31 -0
- package/dist/src/components/atoms/Spinner/Spinner.tsx +5 -5
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.js +2 -2
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.scss +27 -0
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.tsx +3 -3
- package/dist/src/components/atoms/Tag/Tag.js +2 -2
- package/dist/src/components/atoms/Tag/Tag.scss +3 -3
- package/dist/src/components/atoms/Tag/Tag.tsx +5 -5
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.js +2 -2
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.scss +22 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.tsx +3 -3
- package/dist/src/components/atoms/Tagline/Tagline.js +2 -2
- package/dist/src/components/atoms/Tagline/Tagline.scss +3 -3
- package/dist/src/components/atoms/Tagline/Tagline.tsx +3 -3
- package/dist/src/components/atoms/TextArea/TextArea.js +2 -2
- package/dist/src/components/atoms/TextArea/TextArea.scss +103 -0
- package/dist/src/components/atoms/TextArea/TextArea.tsx +3 -3
- package/dist/src/components/atoms/Toggle/Toggle.js +2 -2
- package/dist/src/components/atoms/Toggle/Toggle.scss +59 -0
- package/dist/src/components/atoms/Toggle/Toggle.tsx +3 -3
- package/dist/src/components/atoms/Tooltip/Tooltip.scss +8 -8
- package/dist/src/components/atoms/TopBar/TopBar.js +2 -2
- package/dist/src/components/atoms/TopBar/TopBar.scss +54 -0
- package/dist/src/components/atoms/TopBar/TopBar.tsx +3 -3
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.js +1 -2
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.scss +48 -0
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.tsx +3 -6
- package/dist/src/components/atoms/TrustPilot/TrustPilot.js +2 -2
- package/dist/src/components/atoms/TrustPilot/TrustPilot.scss +11 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilot.tsx +3 -2
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.js +2 -2
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.scss +36 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.tsx +4 -3
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.js +1 -2
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.scss +32 -0
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.tsx +4 -3
- package/dist/src/components/molecules/AccordionItem/AccordionItem.scss +9 -9
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.scss +2 -2
- package/dist/src/components/molecules/Article/Article.scss +1 -1
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.scss +2 -2
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.scss +7 -7
- package/dist/src/components/molecules/BoxForm/BoxForm.scss +9 -9
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.scss +0 -4
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.tsx +1 -1
- package/dist/src/components/molecules/ContactBox/ContactBox.scss +5 -5
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.scss +6 -6
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.scss +4 -4
- package/dist/src/components/molecules/FaqItem/FaqItem.scss +5 -5
- package/dist/src/components/molecules/Feedback/Feedback.scss +5 -5
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.scss +3 -3
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.scss +1 -1
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.scss +3 -3
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.scss +1 -1
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.scss +2 -2
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.scss +7 -7
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.scss +2 -2
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.scss +1 -1
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.scss +3 -3
- package/dist/src/components/molecules/Pagination/Pagination.scss +7 -7
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.scss +3 -3
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.scss +1 -1
- package/dist/src/components/molecules/PopularDocs/PopularDocs.scss +2 -2
- package/dist/src/components/molecules/PricingCard/PricingCard.scss +14 -14
- package/dist/src/components/molecules/Snackbar/Snackbar.scss +9 -9
- package/dist/src/components/molecules/StepGetForm/StepGetForm.scss +5 -5
- package/dist/src/components/molecules/TextInput/TextInput.scss +20 -20
- package/dist/src/components/molecules/TooltipMenu/TooltipMenu.scss +5 -5
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.scss +4 -4
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.scss +4 -4
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.scss +3 -3
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.scss +2 -2
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.scss +11 -11
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.scss +3 -3
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.scss +2 -2
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.scss +1 -1
- package/dist/src/components/organisms/FaqGroup/FaqGroup.scss +2 -2
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.scss +2 -2
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.scss +4 -4
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.scss +3 -3
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.scss +8 -8
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.scss +1 -1
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.scss +4 -4
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.scss +2 -2
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.scss +1 -1
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.scss +4 -4
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.scss +1 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss +4 -4
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.scss +1 -1
- package/dist/src/components/pages/FaqsPage/FaqsPage.scss +8 -8
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.scss +1 -1
- package/dist/src/components/pages/LoginRatafiaPage/LoginPageRatafia.scss +2 -2
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.scss +6 -6
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +1 -2
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.scss +3 -3
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.scss +2 -2
- package/dist/src/components/sections/BlogSection/BlogSection.scss +1 -1
- package/dist/src/components/sections/ContactSection/ContactSection.scss +2 -2
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.scss +2 -2
- package/dist/src/components/sections/FaqSection/FaqSection.scss +1 -1
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.scss +2 -2
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.scss +2 -2
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.scss +7 -7
- package/dist/src/components/sections/LegalSection/LegalSection.scss +10 -10
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.scss +1 -1
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.scss +1 -1
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.scss +1 -1
- package/dist/src/components/sections/TryUsSection/TryUsSection.scss +2 -2
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.scss +3 -3
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.scss +1 -1
- package/dist/src/globalStyles/animations.scss +1 -1
- package/dist/src/globalStyles/base.scss +5 -5
- package/dist/src/globalStyles/styles.scss +53 -2
- package/dist/src/globalStyles/themes.scss +0 -26
- package/dist/src/globalStyles/typography.scss +1 -1
- package/dist/src/globalStyles/variables.scss +6 -22
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.styled.d.ts +0 -1
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.styled.js +0 -24
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.styled.ts +0 -25
- package/dist/src/components/atoms/AddButton/AddButton.styled.d.ts +0 -1
- package/dist/src/components/atoms/AddButton/AddButton.styled.js +0 -48
- package/dist/src/components/atoms/AddButton/AddButton.styled.ts +0 -49
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.d.ts +0 -1
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.js +0 -55
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.ts +0 -56
- package/dist/src/components/atoms/BillCard/BillCard.styled.d.ts +0 -1
- package/dist/src/components/atoms/BillCard/BillCard.styled.js +0 -59
- package/dist/src/components/atoms/BillCard/BillCard.styled.ts +0 -60
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.styled.d.ts +0 -1
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.styled.js +0 -34
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.styled.ts +0 -35
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.styled.d.ts +0 -1
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.styled.js +0 -22
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.styled.ts +0 -23
- package/dist/src/components/atoms/CardPane/CardPane.styled.d.ts +0 -1
- package/dist/src/components/atoms/CardPane/CardPane.styled.js +0 -109
- package/dist/src/components/atoms/CardPane/CardPane.styled.ts +0 -110
- package/dist/src/components/atoms/Checkbox/Checkbox.styled.d.ts +0 -1
- package/dist/src/components/atoms/Checkbox/Checkbox.styled.js +0 -133
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.styled.d.ts +0 -1
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.styled.js +0 -120
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.styled.ts +0 -121
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.d.ts +0 -1
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.js +0 -82
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.ts +0 -83
- package/dist/src/components/atoms/Disclaimer/Disclaimer.styled.d.ts +0 -1
- package/dist/src/components/atoms/Disclaimer/Disclaimer.styled.js +0 -45
- package/dist/src/components/atoms/Disclaimer/Disclaimer.styled.ts +0 -46
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.styled.d.ts +0 -1
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.styled.js +0 -149
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.styled.ts +0 -150
- package/dist/src/components/atoms/Divider/Divider.styled.d.ts +0 -1
- package/dist/src/components/atoms/Divider/Divider.styled.js +0 -21
- package/dist/src/components/atoms/Divider/Divider.styled.ts +0 -22
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.d.ts +0 -1
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.js +0 -65
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.ts +0 -66
- package/dist/src/components/atoms/DocumentTag/DocumentTag.styled.d.ts +0 -1
- package/dist/src/components/atoms/DocumentTag/DocumentTag.styled.js +0 -12
- package/dist/src/components/atoms/DocumentTag/DocumentTag.styled.ts +0 -13
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.d.ts +0 -1
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.js +0 -66
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.ts +0 -67
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.styled.d.ts +0 -1
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.styled.js +0 -78
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.styled.ts +0 -79
- package/dist/src/components/atoms/FormFaq/FormFaq.styled.d.ts +0 -1
- package/dist/src/components/atoms/FormFaq/FormFaq.styled.js +0 -73
- package/dist/src/components/atoms/FormFaq/FormFaq.styled.ts +0 -74
- package/dist/src/components/atoms/GoogleButton/GoogleButton.styled.d.ts +0 -1
- package/dist/src/components/atoms/GoogleButton/GoogleButton.styled.js +0 -21
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.styled.d.ts +0 -1
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.styled.js +0 -5
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.styled.ts +0 -6
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.d.ts +0 -1
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.js +0 -76
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.ts +0 -77
- package/dist/src/components/atoms/InfoBox/InfoBox.styled.d.ts +0 -1
- package/dist/src/components/atoms/InfoBox/InfoBox.styled.js +0 -41
- package/dist/src/components/atoms/InfoBox/InfoBox.styled.ts +0 -42
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.styled.d.ts +0 -1
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.styled.js +0 -7
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.styled.ts +0 -8
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.styled.d.ts +0 -1
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.styled.js +0 -39
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.styled.ts +0 -40
- package/dist/src/components/atoms/LogoText/LogoText.styled.d.ts +0 -1
- package/dist/src/components/atoms/LogoText/LogoText.styled.js +0 -36
- package/dist/src/components/atoms/LogoText/LogoText.styled.ts +0 -37
- package/dist/src/components/atoms/MenuItems/MenuItems.styled.d.ts +0 -1
- package/dist/src/components/atoms/MenuItems/MenuItems.styled.js +0 -71
- package/dist/src/components/atoms/MenuItems/MenuItems.styled.ts +0 -72
- package/dist/src/components/atoms/Message/Message.styled.d.ts +0 -1
- package/dist/src/components/atoms/Message/Message.styled.js +0 -31
- package/dist/src/components/atoms/Message/Message.styled.ts +0 -32
- package/dist/src/components/atoms/MessageInformation/MessageInformation.styled.d.ts +0 -1
- package/dist/src/components/atoms/MessageInformation/MessageInformation.styled.js +0 -53
- package/dist/src/components/atoms/MessageInformation/MessageInformation.styled.ts +0 -54
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.styled.d.ts +0 -1
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.styled.js +0 -45
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.styled.ts +0 -46
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.styled.d.ts +0 -1
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.styled.js +0 -63
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.styled.ts +0 -64
- package/dist/src/components/atoms/PaypalButton/PaypalButton.styled.d.ts +0 -1
- package/dist/src/components/atoms/PaypalButton/PaypalButton.styled.js +0 -6
- package/dist/src/components/atoms/PaypalButton/PaypalButton.styled.ts +0 -7
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.styled.d.ts +0 -1
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.styled.js +0 -58
- package/dist/src/components/atoms/ProgressBar/ProgressBar.styled.d.ts +0 -1
- package/dist/src/components/atoms/ProgressBar/ProgressBar.styled.js +0 -23
- package/dist/src/components/atoms/ProgressBar/ProgressBar.styled.ts +0 -24
- package/dist/src/components/atoms/RemoveButton/RemoveButton.styled.d.ts +0 -1
- package/dist/src/components/atoms/RemoveButton/RemoveButton.styled.js +0 -43
- package/dist/src/components/atoms/RemoveButton/RemoveButton.styled.ts +0 -44
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.styled.d.ts +0 -1
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.styled.js +0 -55
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.styled.ts +0 -56
- package/dist/src/components/atoms/RichTextInner/RichTextInner.styled.d.ts +0 -1
- package/dist/src/components/atoms/RichTextInner/RichTextInner.styled.js +0 -38
- package/dist/src/components/atoms/RichTextInner/RichTextInner.styled.ts +0 -39
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.d.ts +0 -1
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.js +0 -9
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.ts +0 -10
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.d.ts +0 -1
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.js +0 -223
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.ts +0 -224
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.styled.d.ts +0 -1
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.styled.js +0 -48
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.styled.ts +0 -49
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.styled.d.ts +0 -1
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.styled.js +0 -92
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.styled.ts +0 -93
- package/dist/src/components/atoms/Spinner/Spinner.styled.d.ts +0 -1
- package/dist/src/components/atoms/Spinner/Spinner.styled.js +0 -28
- package/dist/src/components/atoms/Spinner/Spinner.styled.ts +0 -29
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.styled.d.ts +0 -1
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.styled.js +0 -28
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.styled.ts +0 -29
- package/dist/src/components/atoms/Tag/Tag.styled.d.ts +0 -1
- package/dist/src/components/atoms/Tag/Tag.styled.js +0 -24
- package/dist/src/components/atoms/Tag/Tag.styled.ts +0 -25
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.d.ts +0 -1
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.js +0 -20
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.ts +0 -21
- package/dist/src/components/atoms/Tagline/Tagline.styled.d.ts +0 -1
- package/dist/src/components/atoms/Tagline/Tagline.styled.js +0 -17
- package/dist/src/components/atoms/Tagline/Tagline.styled.ts +0 -18
- package/dist/src/components/atoms/TextArea/TextArea.styled.d.ts +0 -1
- package/dist/src/components/atoms/TextArea/TextArea.styled.js +0 -106
- package/dist/src/components/atoms/TextArea/TextArea.styled.ts +0 -107
- package/dist/src/components/atoms/Toggle/Toggle.styled.d.ts +0 -1
- package/dist/src/components/atoms/Toggle/Toggle.styled.js +0 -59
- package/dist/src/components/atoms/Toggle/Toggle.styled.ts +0 -60
- package/dist/src/components/atoms/TopBar/TopBar.styled.d.ts +0 -1
- package/dist/src/components/atoms/TopBar/TopBar.styled.js +0 -55
- package/dist/src/components/atoms/TopBar/TopBar.styled.ts +0 -56
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.d.ts +0 -1
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.js +0 -49
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.ts +0 -50
- package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.d.ts +0 -1
- package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.js +0 -12
- package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.ts +0 -13
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.styled.d.ts +0 -1
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.styled.js +0 -37
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.styled.ts +0 -38
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.styled.d.ts +0 -1
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.styled.js +0 -33
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.styled.ts +0 -34
- package/dist/src/globalStyles/breakpoints.d.ts +0 -19
- package/dist/src/globalStyles/breakpoints.js +0 -17
- package/dist/src/globalStyles/breakpoints.ts +0 -28
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
|
|
3
|
+
.key-fact-item {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: flex-start;
|
|
8
|
+
align-self: stretch;
|
|
9
|
+
|
|
10
|
+
background: get-color(neutral, neutral-6);
|
|
11
|
+
|
|
12
|
+
&__wrapper {
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
|
|
16
|
+
margin-bottom: 1rem;
|
|
17
|
+
gap: 1rem;
|
|
18
|
+
|
|
19
|
+
&__title {
|
|
20
|
+
color: get-color(neutral, neutral-1);
|
|
21
|
+
background: get-color(neutral, neutral-6);
|
|
22
|
+
position: sticky;
|
|
23
|
+
top: 0;
|
|
24
|
+
|
|
25
|
+
margin-top: 1rem;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__content {
|
|
29
|
+
color: get-color(neutral, neutral-1);
|
|
30
|
+
overflow-y: auto;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
&__divider {
|
|
34
|
+
height: 1px;
|
|
35
|
+
align-self: stretch;
|
|
36
|
+
background: get-color(neutral, neutral-4);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
|
|
3
3
|
import { type KeyFactRatafiaCardProps } from './KeyFactRatafiaCardProps.types'
|
|
4
|
-
import
|
|
4
|
+
// import './KeyFactRatafiaCard.scss'
|
|
5
5
|
|
|
6
6
|
export const KeyFactRatafiaCard: React.FC<KeyFactRatafiaCardProps> = ({ title, content }) => {
|
|
7
7
|
return (
|
|
8
|
-
<
|
|
8
|
+
<div className='key-fact-item'>
|
|
9
9
|
<div className='key-fact-item__wrapper'>
|
|
10
10
|
<p className='sans-serif --medium --bold-weight key-fact-item__wrapper__title'>{title}</p>
|
|
11
11
|
<p className='sans-serif --medium key-fact-item__wrapper__content'>{content}</p>
|
|
12
12
|
</div>
|
|
13
13
|
<span className='key-fact-item__divider'></span>
|
|
14
|
-
</
|
|
14
|
+
</div>
|
|
15
15
|
)
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
// import './LogoText.scss'
|
|
3
3
|
const LogoText = ({ logo, children, description }) => {
|
|
4
|
-
return (_jsxs(
|
|
4
|
+
return (_jsxs("div", { "data-testid": 'logo-text', className: 'logo-text', children: [_jsx("img", { "data-testid": 'img-logo-text', alt: '', src: logo }), description !== undefined ? (_jsx("p", { children: _jsx("span", { children: description }) })) : (children)] }));
|
|
5
5
|
};
|
|
6
6
|
export default LogoText;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.logo-text {
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: flex-start;
|
|
7
|
+
|
|
8
|
+
img {
|
|
9
|
+
align-items: center;
|
|
10
|
+
margin-right: 1.5rem;
|
|
11
|
+
margin-bottom: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
p {
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
margin-bottom: 0;
|
|
19
|
+
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
|
20
|
+
width: 17rem;
|
|
21
|
+
@include mobile {
|
|
22
|
+
width: 17rem;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@include portrait-tablets {
|
|
26
|
+
width: 10rem;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@include landscape-tablets {
|
|
30
|
+
width: 17rem;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
3
|
import { type LogoTextProps } from './LogoTextProps.types'
|
|
4
|
-
import
|
|
4
|
+
// import './LogoText.scss'
|
|
5
5
|
|
|
6
6
|
const LogoText: FC<LogoTextProps> = ({ logo, children, description }) => {
|
|
7
7
|
return (
|
|
8
|
-
<
|
|
9
|
-
<img data-testid='img-logo-text' alt='' src={logo}
|
|
8
|
+
<div data-testid='logo-text' className='logo-text'>
|
|
9
|
+
<img data-testid='img-logo-text' alt='' src={logo} />
|
|
10
10
|
{description !== undefined ? (
|
|
11
|
-
<p
|
|
11
|
+
<p>
|
|
12
12
|
<span>{description}</span>
|
|
13
13
|
</p>
|
|
14
14
|
) : (
|
|
15
15
|
children
|
|
16
16
|
)}
|
|
17
|
-
</
|
|
17
|
+
</div>
|
|
18
18
|
)
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -7,7 +7,6 @@ import { jsxs as _jsxs, Fragment as _Fragment, jsx as _jsx } from "react/jsx-run
|
|
|
7
7
|
/* eslint-disable @typescript-eslint/strict-boolean-expressions */
|
|
8
8
|
import { useState } from 'react';
|
|
9
9
|
import classNames from 'classnames';
|
|
10
|
-
import { MenuItemsStyled } from './MenuItems.styled';
|
|
11
10
|
import { stringSlugify } from '../../../utils/stringSlugify';
|
|
12
11
|
// import './MenuItems.scss'
|
|
13
12
|
const MenuItems = ({ spacing, list, hasBullets = false, initialActiveContent = '', ...rest }) => {
|
|
@@ -41,6 +40,6 @@ const MenuItems = ({ spacing, list, hasBullets = false, initialActiveContent = '
|
|
|
41
40
|
initialActiveContent && handleActiveListElement(content);
|
|
42
41
|
}, ...props, children: href ? (_jsxs("a", { href: href, "data-qa": dataQA ?? slugifiedContent, children: [image, content] })) : (_jsxs(_Fragment, { children: [image, content] })) }, listKey));
|
|
43
42
|
};
|
|
44
|
-
return (_jsx(
|
|
43
|
+
return (_jsx("ul", { className: classes, ...rest, children: filteredList.map((item, index) => renderItem(item, index)) }));
|
|
45
44
|
};
|
|
46
45
|
export default MenuItems;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.menu-items {
|
|
5
|
+
&__spacing {
|
|
6
|
+
.menu-items__item:not(:last-child) {
|
|
7
|
+
margin-bottom: 0.5rem;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&__bullets {
|
|
12
|
+
list-style-position: inside;
|
|
13
|
+
list-style-type: disc;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&__item {
|
|
17
|
+
transition: background-color 0.3s ease;
|
|
18
|
+
border-radius: $global-border-radius;
|
|
19
|
+
padding: 0.25rem 0.5rem;
|
|
20
|
+
|
|
21
|
+
svg {
|
|
22
|
+
vertical-align: bottom;
|
|
23
|
+
width: 1.5rem;
|
|
24
|
+
margin-right: 0.5rem;
|
|
25
|
+
|
|
26
|
+
@include portrait-tablets {
|
|
27
|
+
width: 1rem;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
> g > g {
|
|
31
|
+
fill: get-color(neutral, neutral-1);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
#color-bin {
|
|
35
|
+
fill: get-color(neutral, neutral-1);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&.active {
|
|
40
|
+
color: get-color(primary, main-light-1);
|
|
41
|
+
font-weight: 700;
|
|
42
|
+
background-color: get-color(primary, main-light-5);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&.inactive {
|
|
46
|
+
color: get-color(neutral, neutral-2);
|
|
47
|
+
font-weight: 400;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&.disabled {
|
|
51
|
+
color: get-color(neutral, neutral-3);
|
|
52
|
+
svg > g > g {
|
|
53
|
+
fill: get-color(neutral, neutral-3);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&:not(.disabled):hover {
|
|
58
|
+
background-color: get-color(primary, main-light-5);
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
svg > g > g {
|
|
61
|
+
transition: all 0.3s ease;
|
|
62
|
+
fill: get-color(primary);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
a {
|
|
67
|
+
display: flex;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -8,7 +8,6 @@ import React, { type FC, useState } from 'react'
|
|
|
8
8
|
import classNames from 'classnames'
|
|
9
9
|
|
|
10
10
|
import { type MenuItemProps, type MenuListItem } from './MenuItemProps.types'
|
|
11
|
-
import { MenuItemsStyled } from './MenuItems.styled'
|
|
12
11
|
import { stringSlugify } from '../../../utils/stringSlugify'
|
|
13
12
|
// import './MenuItems.scss'
|
|
14
13
|
|
|
@@ -67,9 +66,9 @@ const MenuItems: FC<MenuItemProps> = ({ spacing, list, hasBullets = false, initi
|
|
|
67
66
|
}
|
|
68
67
|
|
|
69
68
|
return (
|
|
70
|
-
<
|
|
69
|
+
<ul className={classes} {...rest}>
|
|
71
70
|
{filteredList.map((item, index) => renderItem(item, index))}
|
|
72
|
-
</
|
|
71
|
+
</ul>
|
|
73
72
|
)
|
|
74
73
|
}
|
|
75
74
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
// import './Message.scss'
|
|
3
3
|
const Message = ({ message, type }) => {
|
|
4
4
|
if (message.length === 0)
|
|
5
5
|
return null;
|
|
6
|
-
return (_jsx(
|
|
6
|
+
return (_jsx("div", { "data-testid": 'message', className: type !== undefined ? `e-message-${type}` : '', children: _jsx("p", { children: message }) }));
|
|
7
7
|
};
|
|
8
8
|
export default Message;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.e-message {
|
|
5
|
+
&-error {
|
|
6
|
+
box-shadow: 0 0 0 1px #d63837;
|
|
7
|
+
background-color: #ffecee;
|
|
8
|
+
padding: 10px;
|
|
9
|
+
color: #d63837;
|
|
10
|
+
border-radius: 5px;
|
|
11
|
+
font-family: $font-sans;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&-success {
|
|
15
|
+
box-shadow: 0 0 0 1px #5aa900;
|
|
16
|
+
background-color: #e6ffe1;
|
|
17
|
+
padding: 10px;
|
|
18
|
+
color: #5aa900;
|
|
19
|
+
border-radius: 5px;
|
|
20
|
+
font-family: $font-sans;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&-neutral {
|
|
24
|
+
box-shadow: 0 0 0 1px #beebe9;
|
|
25
|
+
background-color: #e1f2fb;
|
|
26
|
+
padding: 10px;
|
|
27
|
+
color: #2a8aeb;
|
|
28
|
+
border-radius: 5px;
|
|
29
|
+
font-family: $font-sans;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
3
|
import { type MessageProps } from './MessageProps.types'
|
|
4
|
-
import
|
|
4
|
+
// import './Message.scss'
|
|
5
5
|
|
|
6
6
|
const Message: FC<MessageProps> = ({ message, type }) => {
|
|
7
7
|
if (message.length === 0) return null
|
|
8
8
|
|
|
9
9
|
return (
|
|
10
|
-
<
|
|
10
|
+
<div data-testid='message' className={type !== undefined ? `e-message-${type}` : ''}>
|
|
11
11
|
<p>{message}</p>
|
|
12
|
-
</
|
|
12
|
+
</div>
|
|
13
13
|
)
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
// import './MessageInformation.scss'
|
|
3
3
|
const MessageInformation = ({ noImg, text, time, centered }) => {
|
|
4
|
-
return (_jsxs(
|
|
4
|
+
return (_jsxs("div", { className: `message-information ${centered && 'text-center'}`, children: [_jsx("div", { className: `message-information__icon ${noImg && 'hide'}`, children: _jsx("svg", { viewBox: '0 0 24 24', xmlns: 'http://www.w3.org/2000/svg', children: _jsx("path", { d: 'M20.5601 9.21496L22.4211 11.3353C22.7523 11.7127 22.7523 12.2772 22.4211 12.6546L20.5601 14.775L20.8194 17.582C20.8656 18.0816 20.5344 18.538 20.0452 18.6491L17.2901 19.275L15.8483 21.7009C15.5918 22.1324 15.0553 22.3069 14.5941 22.1088L12.0001 20.995L9.40727 22.116C8.94569 22.3155 8.40771 22.1413 8.15079 21.709L6.71008 19.285L3.95478 18.6591C3.46563 18.548 3.13448 18.0917 3.1805 17.5922L3.44008 14.775L1.57802 12.6534C1.24723 12.2765 1.24673 11.7129 1.57685 11.3355L3.44008 9.20496L3.18095 6.40025C3.1347 5.89967 3.46726 5.44257 3.95778 5.33251L6.71008 4.71496L8.15191 2.28903C8.40835 1.85756 8.94491 1.68303 9.40611 1.88108L12.0001 2.99496L14.5941 1.88108C15.0553 1.68303 15.5918 1.85756 15.8483 2.28903L17.2901 4.71496L20.0452 5.34077C20.5344 5.4519 20.8656 5.90835 20.8194 6.40793L20.5601 9.21496ZM18.7501 16.895L18.4901 14.105L20.3401 11.995L18.4901 9.88496L18.7501 7.09496L16.0101 6.47496L14.5801 4.06496L12.0001 5.17496L9.42008 4.07496L7.99008 6.48496L5.25008 7.09496L5.51008 9.87496L3.66008 11.995L5.51008 14.095L5.25008 16.895L7.99008 17.515L9.42008 19.925L12.0001 18.815L14.5801 19.925L16.0101 17.515L18.7501 16.895ZM11.0001 15.995C11.0001 15.4427 11.4478 14.995 12.0001 14.995C12.5524 14.995 13.0001 15.4427 13.0001 15.995C13.0001 16.5472 12.5524 16.995 12.0001 16.995C11.4478 16.995 11.0001 16.5472 11.0001 15.995ZM12.0001 6.99496C11.4478 6.99496 11.0001 7.44267 11.0001 7.99496V12.995C11.0001 13.5472 11.4478 13.995 12.0001 13.995C12.5524 13.995 13.0001 13.5472 13.0001 12.995V7.99496C13.0001 7.44267 12.5524 6.99496 12.0001 6.99496Z' }) }) }), _jsxs("p", { className: `message-information__text`, children: [time != null && _jsxs("span", { className: `message-information__text__time ${noImg && 'regular'}`, children: [time, "' "] }), text] })] }));
|
|
5
5
|
};
|
|
6
6
|
export default MessageInformation;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.message-information {
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
border-radius: 4px;
|
|
8
|
+
background: get-color(secondary, main-light-4);
|
|
9
|
+
padding: 8px;
|
|
10
|
+
|
|
11
|
+
@include laptop {
|
|
12
|
+
justify-content: flex-start;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.text-center {
|
|
16
|
+
justify-content: center;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&__icon {
|
|
20
|
+
width: 24px;
|
|
21
|
+
fill: get-color(secondary, main-dark-1);
|
|
22
|
+
margin-right: 8px;
|
|
23
|
+
|
|
24
|
+
&.hide {
|
|
25
|
+
display: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
svg {
|
|
29
|
+
display: block;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__text {
|
|
34
|
+
font-size: 0.875rem;
|
|
35
|
+
letter-spacing: -0.3px;
|
|
36
|
+
padding-top: 1px;
|
|
37
|
+
text-align: left;
|
|
38
|
+
|
|
39
|
+
@include landscape-tablets {
|
|
40
|
+
text-align: center;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&__time {
|
|
44
|
+
font-weight: 600;
|
|
45
|
+
|
|
46
|
+
&.regular {
|
|
47
|
+
font-weight: 400;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
import React, { type FC } from 'react'
|
|
3
3
|
|
|
4
4
|
import { type MessageInformationProps } from './MessageInformationProps.types'
|
|
5
|
-
|
|
5
|
+
|
|
6
|
+
// import './MessageInformation.scss'
|
|
6
7
|
|
|
7
8
|
const MessageInformation: FC<MessageInformationProps> = ({ noImg, text, time, centered }) => {
|
|
8
9
|
return (
|
|
9
|
-
<
|
|
10
|
-
<div className={`message-information__icon ${noImg
|
|
10
|
+
<div className={`message-information ${centered && 'text-center'}`}>
|
|
11
|
+
<div className={`message-information__icon ${noImg && 'hide'}`}>
|
|
11
12
|
<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'>
|
|
12
13
|
<path d='M20.5601 9.21496L22.4211 11.3353C22.7523 11.7127 22.7523 12.2772 22.4211 12.6546L20.5601 14.775L20.8194 17.582C20.8656 18.0816 20.5344 18.538 20.0452 18.6491L17.2901 19.275L15.8483 21.7009C15.5918 22.1324 15.0553 22.3069 14.5941 22.1088L12.0001 20.995L9.40727 22.116C8.94569 22.3155 8.40771 22.1413 8.15079 21.709L6.71008 19.285L3.95478 18.6591C3.46563 18.548 3.13448 18.0917 3.1805 17.5922L3.44008 14.775L1.57802 12.6534C1.24723 12.2765 1.24673 11.7129 1.57685 11.3355L3.44008 9.20496L3.18095 6.40025C3.1347 5.89967 3.46726 5.44257 3.95778 5.33251L6.71008 4.71496L8.15191 2.28903C8.40835 1.85756 8.94491 1.68303 9.40611 1.88108L12.0001 2.99496L14.5941 1.88108C15.0553 1.68303 15.5918 1.85756 15.8483 2.28903L17.2901 4.71496L20.0452 5.34077C20.5344 5.4519 20.8656 5.90835 20.8194 6.40793L20.5601 9.21496ZM18.7501 16.895L18.4901 14.105L20.3401 11.995L18.4901 9.88496L18.7501 7.09496L16.0101 6.47496L14.5801 4.06496L12.0001 5.17496L9.42008 4.07496L7.99008 6.48496L5.25008 7.09496L5.51008 9.87496L3.66008 11.995L5.51008 14.095L5.25008 16.895L7.99008 17.515L9.42008 19.925L12.0001 18.815L14.5801 19.925L16.0101 17.515L18.7501 16.895ZM11.0001 15.995C11.0001 15.4427 11.4478 14.995 12.0001 14.995C12.5524 14.995 13.0001 15.4427 13.0001 15.995C13.0001 16.5472 12.5524 16.995 12.0001 16.995C11.4478 16.995 11.0001 16.5472 11.0001 15.995ZM12.0001 6.99496C11.4478 6.99496 11.0001 7.44267 11.0001 7.99496V12.995C11.0001 13.5472 11.4478 13.995 12.0001 13.995C12.5524 13.995 13.0001 13.5472 13.0001 12.995V7.99496C13.0001 7.44267 12.5524 6.99496 12.0001 6.99496Z' />
|
|
13
14
|
</svg>
|
|
@@ -16,7 +17,7 @@ const MessageInformation: FC<MessageInformationProps> = ({ noImg, text, time, ce
|
|
|
16
17
|
{time != null && <span className={`message-information__text__time ${noImg && 'regular'}`}>{time}' </span>}
|
|
17
18
|
{text}
|
|
18
19
|
</p>
|
|
19
|
-
</
|
|
20
|
+
</div>
|
|
20
21
|
)
|
|
21
22
|
}
|
|
22
23
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { MoreDocsItemStyled } from './MoreDocsItem.styled';
|
|
3
2
|
import { getCategoryIcons } from '../../../utils/getCategoryIcons';
|
|
3
|
+
// import './MoreDocsItem.scss'
|
|
4
4
|
export const MoreDocsItem = ({ title, description, slug, icon = null }) => {
|
|
5
|
-
return (_jsxs(
|
|
5
|
+
return (_jsxs("div", { className: 'more-docs-item', onClick: () => {
|
|
6
6
|
window.location.href = slug;
|
|
7
7
|
}, "data-qa": title.replace(/\s/g, '_'), role: 'button', onKeyUp: (event) => {
|
|
8
8
|
if (event.key === 'Enter' || event.key === ' ') {
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
|
|
3
|
+
.more-docs-item {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: row;
|
|
6
|
+
align-items: center;
|
|
7
|
+
padding: 8px;
|
|
8
|
+
gap: 10px;
|
|
9
|
+
border-radius: $global-border-radius;
|
|
10
|
+
text-decoration: none;
|
|
11
|
+
|
|
12
|
+
&:hover {
|
|
13
|
+
background-color: get-color(primary, main-light-5);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.category-icon {
|
|
17
|
+
margin: 0 1rem 0 1.3rem;
|
|
18
|
+
svg {
|
|
19
|
+
fill: get-color(primary, main);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.texts {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
gap: calc($global-gap / 2);
|
|
27
|
+
text-align: left;
|
|
28
|
+
padding-left: 1rem;
|
|
29
|
+
|
|
30
|
+
.title {
|
|
31
|
+
line-height: 22px;
|
|
32
|
+
letter-spacing: -0.3px;
|
|
33
|
+
color: get-color(neutral, neutral-1);
|
|
34
|
+
padding-right: 0.5rem;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.description {
|
|
38
|
+
font-size: 12px;
|
|
39
|
+
line-height: 16px;
|
|
40
|
+
letter-spacing: -0.3px;
|
|
41
|
+
color: get-color(neutral, neutral-2);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react'
|
|
2
2
|
|
|
3
3
|
import { type MoreDocsItemProps } from './MoreDocsItemProps'
|
|
4
|
-
import { MoreDocsItemStyled } from './MoreDocsItem.styled'
|
|
5
4
|
import { getCategoryIcons } from '../../../utils/getCategoryIcons'
|
|
5
|
+
// import './MoreDocsItem.scss'
|
|
6
6
|
|
|
7
7
|
export const MoreDocsItem: React.FC<MoreDocsItemProps> = ({ title, description, slug, icon = null }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
9
|
+
<div
|
|
10
10
|
className='more-docs-item'
|
|
11
11
|
onClick={() => {
|
|
12
12
|
window.location.href = slug
|
|
@@ -25,6 +25,6 @@ export const MoreDocsItem: React.FC<MoreDocsItemProps> = ({ title, description,
|
|
|
25
25
|
<div className='title'>{title}</div>
|
|
26
26
|
<p className='description'>{description}</p>
|
|
27
27
|
</div>
|
|
28
|
-
</
|
|
28
|
+
</div>
|
|
29
29
|
)
|
|
30
30
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Button } from '../Button';
|
|
3
|
-
import
|
|
3
|
+
// import './NavMenuItem.scss'
|
|
4
4
|
export const NavMenuItem = ({ mainButton, items = [] }) => {
|
|
5
|
-
return (_jsxs(
|
|
6
|
-
return (_jsx("li", { className: '
|
|
5
|
+
return (_jsxs("div", { className: 'nav-menu-item', children: [_jsx("div", { className: 'title', children: _jsx(Button, { ...mainButton, noLinkNoFunc: true, color: 'transparent' }) }), _jsx("ul", { className: 'list', children: items.map((item) => {
|
|
6
|
+
return (_jsx("li", { className: 'item-list', children: _jsx(Button, { ...item.props, color: 'transparent' }) }, item.key));
|
|
7
7
|
}) })] }));
|
|
8
8
|
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.nav-menu-item {
|
|
5
|
+
border-radius: $global-border-radius;
|
|
6
|
+
position: relative;
|
|
7
|
+
width: fit-content;
|
|
8
|
+
|
|
9
|
+
.title {
|
|
10
|
+
position: relative;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.e-button {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-flow: row nowrap;
|
|
16
|
+
gap: 0.1rem;
|
|
17
|
+
padding: 0.25rem 0.5rem;
|
|
18
|
+
border: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.list {
|
|
22
|
+
border-radius: $global-border-radius;
|
|
23
|
+
padding: 0.5rem;
|
|
24
|
+
margin-top: 0.5rem;
|
|
25
|
+
display: flex;
|
|
26
|
+
visibility: hidden;
|
|
27
|
+
opacity: 0;
|
|
28
|
+
background: get-color(others, white);
|
|
29
|
+
transition: all 0.1s ease;
|
|
30
|
+
box-shadow: $box-shadow-medium;
|
|
31
|
+
min-width: max-content;
|
|
32
|
+
flex-flow: column wrap;
|
|
33
|
+
position: absolute;
|
|
34
|
+
left: 0;
|
|
35
|
+
|
|
36
|
+
.item-list:hover {
|
|
37
|
+
background-color: get-color(primary, main-light-5);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:hover {
|
|
42
|
+
.title {
|
|
43
|
+
&:after {
|
|
44
|
+
display: block;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.list {
|
|
49
|
+
opacity: 1;
|
|
50
|
+
z-index: 11;
|
|
51
|
+
margin-top: 0.8rem;
|
|
52
|
+
visibility: visible;
|
|
53
|
+
transition: all 0.4s ease;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@include laptop {
|
|
58
|
+
display: block;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -2,23 +2,23 @@ import React from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { Button } from '../Button'
|
|
4
4
|
import { type NavMenuItemProps } from './NavMenuItemProps'
|
|
5
|
-
import
|
|
5
|
+
// import './NavMenuItem.scss'
|
|
6
6
|
|
|
7
7
|
export const NavMenuItem: React.FC<NavMenuItemProps> = ({ mainButton, items = [] }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
10
|
-
<div className={'
|
|
9
|
+
<div className={'nav-menu-item'}>
|
|
10
|
+
<div className={'title'}>
|
|
11
11
|
<Button {...mainButton} noLinkNoFunc color='transparent' />
|
|
12
12
|
</div>
|
|
13
|
-
<ul className={'
|
|
13
|
+
<ul className={'list'}>
|
|
14
14
|
{items.map((item) => {
|
|
15
15
|
return (
|
|
16
|
-
<li className='
|
|
16
|
+
<li className='item-list' key={item.key}>
|
|
17
17
|
<Button {...item.props} color='transparent' />
|
|
18
18
|
</li>
|
|
19
19
|
)
|
|
20
20
|
})}
|
|
21
21
|
</ul>
|
|
22
|
-
</
|
|
22
|
+
</div>
|
|
23
23
|
)
|
|
24
24
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { PaypalButtonStyled } from './PaypalButton.styled';
|
|
3
2
|
import paypalImg from '../../../../images/png/buy-logo-large-en.png';
|
|
3
|
+
// import './PaypalButton.scss'
|
|
4
4
|
const PaypalButton = ({ onClickButton }) => {
|
|
5
|
-
return (_jsx(
|
|
5
|
+
return (_jsx("button", { className: 'paypal-button', onClick: onClickButton, children: _jsx("img", { src: paypalImg, alt: '' }) }));
|
|
6
6
|
};
|
|
7
7
|
export default PaypalButton;
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import React, { type FC } from 'react'
|
|
3
3
|
|
|
4
4
|
import { type PaypalButtonProps } from './PaypalButtonProps.types'
|
|
5
|
-
import { PaypalButtonStyled } from './PaypalButton.styled'
|
|
6
5
|
import paypalImg from '../../../../images/png/buy-logo-large-en.png'
|
|
6
|
+
// import './PaypalButton.scss'
|
|
7
7
|
|
|
8
8
|
const PaypalButton: FC<PaypalButtonProps> = ({ onClickButton }) => {
|
|
9
9
|
return (
|
|
10
|
-
<
|
|
10
|
+
<button className='paypal-button' onClick={onClickButton}>
|
|
11
11
|
<img src={paypalImg} alt='' />
|
|
12
|
-
</
|
|
12
|
+
</button>
|
|
13
13
|
)
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { ChevronRight24px } from '../../../../images/componentsSvg/ChevronRight24px';
|
|
3
|
-
import { PopularDocsItemStyled } from './PopularDocsItem.styled';
|
|
4
3
|
import { getCategoryIcons } from '../../../utils/getCategoryIcons';
|
|
4
|
+
// import './PopularDocsItem.scss'
|
|
5
5
|
export const PopularDocsItem = ({ title, description, slug, icon = null }) => {
|
|
6
|
-
return (_jsxs(
|
|
6
|
+
return (_jsxs("a", { className: 'popular-docs-item', href: slug, "data-qa": title.replace(/\s/g, '_'), children: [_jsx("div", { className: 'category-icon', children: icon ?? getCategoryIcons(description, 35, 30) }), _jsxs("div", { className: 'texts', children: [_jsx("div", { children: _jsx("strong", { children: title }) }), _jsx("p", { className: 'description', children: description })] }), _jsx("div", { className: 'icon-left', children: _jsx(ChevronRight24px, {}) })] }));
|
|
7
7
|
};
|