@npm_leadtech/legal-lib-components 5.2.7 → 5.2.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 +2434 -2913
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.js +2 -1
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.styled.d.ts +1 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.styled.js +24 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.styled.ts +25 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.tsx +7 -2
- package/dist/src/components/atoms/AddButton/AddButton.js +2 -1
- package/dist/src/components/atoms/AddButton/AddButton.styled.d.ts +1 -0
- package/dist/src/components/atoms/AddButton/AddButton.styled.js +48 -0
- package/dist/src/components/atoms/AddButton/AddButton.styled.ts +49 -0
- package/dist/src/components/atoms/AddButton/AddButton.tsx +3 -2
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.js +2 -2
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.d.ts +1 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.js +55 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.ts +56 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.tsx +3 -3
- package/dist/src/components/atoms/BillCard/BillCard.js +2 -1
- package/dist/src/components/atoms/BillCard/BillCard.styled.d.ts +1 -0
- package/dist/src/components/atoms/BillCard/BillCard.styled.js +59 -0
- package/dist/src/components/atoms/BillCard/BillCard.styled.ts +60 -0
- package/dist/src/components/atoms/BillCard/BillCard.tsx +3 -2
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.js +2 -1
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.styled.d.ts +1 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.styled.js +34 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.styled.ts +35 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.tsx +2 -2
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.js +2 -1
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.styled.d.ts +1 -0
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.styled.js +22 -0
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.styled.ts +23 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/CardPane/CardPane.styled.js +109 -0
- package/dist/src/components/atoms/CardPane/CardPane.styled.ts +110 -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.d.ts +1 -0
- package/dist/src/components/atoms/Checkbox/Checkbox.styled.js +133 -0
- package/dist/src/components/atoms/Checkbox/{Checkbox.scss → Checkbox.styled.ts} +18 -16
- 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.styled.d.ts +1 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.styled.js +120 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.styled.ts +121 -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 +6 -5
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.scss +3 -3
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.d.ts +1 -0
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.js +82 -0
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.ts +83 -0
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.tsx +19 -16
- package/dist/src/components/atoms/Disclaimer/Disclaimer.js +2 -2
- package/dist/src/components/atoms/Disclaimer/Disclaimer.styled.d.ts +1 -0
- package/dist/src/components/atoms/Disclaimer/Disclaimer.styled.js +45 -0
- package/dist/src/components/atoms/Disclaimer/Disclaimer.styled.ts +46 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.styled.js +149 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.styled.ts +150 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/Divider/Divider.styled.js +21 -0
- package/dist/src/components/atoms/Divider/Divider.styled.ts +22 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.js +65 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.ts +66 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/DocumentTag/DocumentTag.styled.js +12 -0
- package/dist/src/components/atoms/DocumentTag/DocumentTag.styled.ts +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.styled.d.ts +1 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.js +66 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.ts +67 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.styled.js +78 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.styled.ts +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.styled.d.ts +1 -0
- package/dist/src/components/atoms/FormFaq/FormFaq.styled.js +73 -0
- package/dist/src/components/atoms/FormFaq/FormFaq.styled.ts +74 -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.d.ts +1 -0
- package/dist/src/components/atoms/GoogleButton/GoogleButton.styled.js +21 -0
- package/dist/src/components/atoms/GoogleButton/{GoogleButton.scss → GoogleButton.styled.ts} +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.styled.d.ts +1 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.styled.js +5 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.styled.ts +6 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.tsx +2 -3
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.js +2 -2
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.d.ts +1 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.js +76 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.ts +77 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.tsx +3 -4
- package/dist/src/components/atoms/InfoBox/InfoBox.js +2 -2
- package/dist/src/components/atoms/InfoBox/InfoBox.styled.d.ts +1 -0
- package/dist/src/components/atoms/InfoBox/InfoBox.styled.js +41 -0
- package/dist/src/components/atoms/InfoBox/InfoBox.styled.ts +42 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.styled.js +7 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.styled.ts +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.styled.d.ts +1 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.styled.js +39 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.styled.ts +40 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/LogoText/LogoText.styled.js +36 -0
- package/dist/src/components/atoms/LogoText/LogoText.styled.ts +37 -0
- package/dist/src/components/atoms/LogoText/LogoText.tsx +5 -5
- package/dist/src/components/atoms/MenuItems/MenuItems.js +2 -1
- package/dist/src/components/atoms/MenuItems/MenuItems.styled.d.ts +1 -0
- package/dist/src/components/atoms/MenuItems/MenuItems.styled.js +71 -0
- package/dist/src/components/atoms/MenuItems/MenuItems.styled.ts +72 -0
- package/dist/src/components/atoms/MenuItems/MenuItems.tsx +3 -2
- package/dist/src/components/atoms/Message/Message.js +2 -2
- package/dist/src/components/atoms/Message/Message.styled.d.ts +1 -0
- package/dist/src/components/atoms/Message/Message.styled.js +31 -0
- package/dist/src/components/atoms/Message/Message.styled.ts +32 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformation.styled.js +53 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformation.styled.ts +54 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformation.tsx +4 -5
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.js +2 -2
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.styled.d.ts +1 -0
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.styled.js +45 -0
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.styled.ts +46 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.styled.js +63 -0
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.styled.ts +64 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/PaypalButton/PaypalButton.styled.js +6 -0
- package/dist/src/components/atoms/PaypalButton/PaypalButton.styled.ts +7 -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.d.ts +1 -0
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.styled.js +58 -0
- package/dist/src/components/atoms/PopularDocsItem/{PopularDocsItem.scss → PopularDocsItem.styled.ts} +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.styled.d.ts +1 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBar.styled.js +23 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBar.styled.ts +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.styled.d.ts +1 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButton.styled.js +43 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButton.styled.ts +44 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.styled.js +55 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.styled.ts +56 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/RichTextInner/RichTextInner.styled.js +38 -0
- package/dist/src/components/atoms/RichTextInner/RichTextInner.styled.ts +39 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.js +9 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.styled.ts +10 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.tsx +7 -2
- package/dist/src/components/atoms/SearchSelect/SearchSelect.js +3 -3
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.d.ts +1 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.js +223 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.ts +224 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.styled.js +48 -0
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.styled.ts +49 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.styled.js +92 -0
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.styled.ts +93 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/Spinner/Spinner.styled.js +28 -0
- package/dist/src/components/atoms/Spinner/Spinner.styled.ts +29 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.styled.js +28 -0
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.styled.ts +29 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/Tag/Tag.styled.js +24 -0
- package/dist/src/components/atoms/Tag/Tag.styled.ts +25 -0
- 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.styled.d.ts +1 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.js +20 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.styled.ts +21 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/Tagline/Tagline.styled.js +17 -0
- package/dist/src/components/atoms/Tagline/Tagline.styled.ts +18 -0
- 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.styled.d.ts +1 -0
- package/dist/src/components/atoms/TextArea/TextArea.styled.js +106 -0
- package/dist/src/components/atoms/TextArea/TextArea.styled.ts +107 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/Toggle/Toggle.styled.js +59 -0
- package/dist/src/components/atoms/Toggle/Toggle.styled.ts +60 -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.styled.d.ts +1 -0
- package/dist/src/components/atoms/TopBar/TopBar.styled.js +55 -0
- package/dist/src/components/atoms/TopBar/TopBar.styled.ts +56 -0
- package/dist/src/components/atoms/TopBar/TopBar.tsx +3 -3
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.js +2 -1
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.d.ts +1 -0
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.js +49 -0
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.styled.ts +50 -0
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.tsx +6 -3
- package/dist/src/components/atoms/TrustPilot/TrustPilot.js +2 -2
- package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.d.ts +1 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.js +12 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilot.styled.ts +13 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilot.tsx +2 -3
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.js +2 -2
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.styled.d.ts +1 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.styled.js +37 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.styled.ts +38 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.tsx +3 -4
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.js +2 -1
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.styled.d.ts +1 -0
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.styled.js +33 -0
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.styled.ts +34 -0
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.tsx +3 -4
- 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 +4 -0
- 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/molecules/index.d.ts +0 -1
- package/dist/src/components/molecules/index.js +0 -1
- package/dist/src/components/molecules/index.ts +0 -1
- 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 +2 -1
- 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/breakpoints.d.ts +19 -0
- package/dist/src/globalStyles/breakpoints.js +17 -0
- package/dist/src/globalStyles/breakpoints.ts +28 -0
- package/dist/src/globalStyles/styles.scss +2 -54
- package/dist/src/globalStyles/themes.scss +26 -0
- package/dist/src/globalStyles/typography.scss +1 -1
- package/dist/src/globalStyles/variables.scss +22 -6
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -2
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.scss +0 -24
- package/dist/src/components/atoms/AddButton/AddButton.scss +0 -48
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.scss +0 -54
- package/dist/src/components/atoms/BillCard/BillCard.scss +0 -57
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.scss +0 -33
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.scss +0 -21
- package/dist/src/components/atoms/CardPane/CardPane.scss +0 -106
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.scss +0 -116
- package/dist/src/components/atoms/Disclaimer/Disclaimer.scss +0 -45
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.scss +0 -149
- package/dist/src/components/atoms/Divider/Divider.scss +0 -20
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.scss +0 -91
- package/dist/src/components/atoms/DocumentTag/DocumentTag.scss +0 -13
- package/dist/src/components/atoms/ExpertCard/ExpertCard.scss +0 -65
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.scss +0 -79
- package/dist/src/components/atoms/FormFaq/FormFaq.scss +0 -72
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.scss +0 -6
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.scss +0 -80
- package/dist/src/components/atoms/InfoBox/InfoBox.scss +0 -40
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.scss +0 -8
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.scss +0 -38
- package/dist/src/components/atoms/LogoText/LogoText.scss +0 -34
- package/dist/src/components/atoms/MenuItems/MenuItems.scss +0 -70
- package/dist/src/components/atoms/Message/Message.scss +0 -31
- package/dist/src/components/atoms/MessageInformation/MessageInformation.scss +0 -51
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.scss +0 -44
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.scss +0 -60
- package/dist/src/components/atoms/PaypalButton/PaypalButton.scss +0 -5
- package/dist/src/components/atoms/ProgressBar/ProgressBar.scss +0 -24
- package/dist/src/components/atoms/RemoveButton/RemoveButton.scss +0 -43
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.scss +0 -54
- package/dist/src/components/atoms/RichTextInner/RichTextInner.scss +0 -34
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.scss +0 -9
- package/dist/src/components/atoms/SearchSelect/SearchSelect.scss +0 -222
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.scss +0 -48
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.scss +0 -90
- package/dist/src/components/atoms/Spinner/Spinner.scss +0 -31
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.scss +0 -27
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.scss +0 -22
- package/dist/src/components/atoms/TextArea/TextArea.scss +0 -103
- package/dist/src/components/atoms/Toggle/Toggle.scss +0 -59
- package/dist/src/components/atoms/TopBar/TopBar.scss +0 -54
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.scss +0 -48
- package/dist/src/components/atoms/TrustPilot/TrustPilot.scss +0 -11
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.scss +0 -36
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.scss +0 -32
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.d.ts +0 -4
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +0 -11
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.scss +0 -93
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +0 -58
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.d.ts +0 -24
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.js +0 -1
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.ts +0 -26
- package/dist/src/components/molecules/RatafiaSubscriptionCard/index.d.ts +0 -2
- package/dist/src/components/molecules/RatafiaSubscriptionCard/index.js +0 -1
- package/dist/src/components/molecules/RatafiaSubscriptionCard/index.ts +0 -2
|
@@ -8,6 +8,7 @@ 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'
|
|
11
12
|
import { stringSlugify } from '../../../utils/stringSlugify'
|
|
12
13
|
// import './MenuItems.scss'
|
|
13
14
|
|
|
@@ -66,9 +67,9 @@ const MenuItems: FC<MenuItemProps> = ({ spacing, list, hasBullets = false, initi
|
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
return (
|
|
69
|
-
<
|
|
70
|
+
<MenuItemsStyled className={classes} {...rest}>
|
|
70
71
|
{filteredList.map((item, index) => renderItem(item, index))}
|
|
71
|
-
</
|
|
72
|
+
</MenuItemsStyled>
|
|
72
73
|
)
|
|
73
74
|
}
|
|
74
75
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
|
|
2
|
+
import { MessageStyled } from './Message.styled';
|
|
3
3
|
const Message = ({ message, type }) => {
|
|
4
4
|
if (message.length === 0)
|
|
5
5
|
return null;
|
|
6
|
-
return (_jsx(
|
|
6
|
+
return (_jsx(MessageStyled, { "data-testid": 'message', className: type !== undefined ? `e-message-${type}` : '', children: _jsx("p", { children: message }) }));
|
|
7
7
|
};
|
|
8
8
|
export default Message;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const MessageStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const MessageStyled = styled.div `
|
|
3
|
+
&.e-message {
|
|
4
|
+
&-error {
|
|
5
|
+
box-shadow: 0 0 0 1px #d63837;
|
|
6
|
+
background-color: #ffecee;
|
|
7
|
+
padding: 10px;
|
|
8
|
+
color: #d63837;
|
|
9
|
+
border-radius: 5px;
|
|
10
|
+
font-family: var(--font-sans);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&-success {
|
|
14
|
+
box-shadow: 0 0 0 1px #5aa900;
|
|
15
|
+
background-color: #e6ffe1;
|
|
16
|
+
padding: 10px;
|
|
17
|
+
color: #5aa900;
|
|
18
|
+
border-radius: 5px;
|
|
19
|
+
font-family: var(--font-sans);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&-neutral {
|
|
23
|
+
box-shadow: 0 0 0 1px #beebe9;
|
|
24
|
+
background-color: #e1f2fb;
|
|
25
|
+
padding: 10px;
|
|
26
|
+
color: #2a8aeb;
|
|
27
|
+
border-radius: 5px;
|
|
28
|
+
font-family: var(--font-sans);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
`;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const MessageStyled = styled.div`
|
|
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: var(--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: var(--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: var(--font-sans);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
`
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
3
|
import { type MessageProps } from './MessageProps.types'
|
|
4
|
-
|
|
4
|
+
import { MessageStyled } from './Message.styled'
|
|
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
|
+
<MessageStyled data-testid='message' className={type !== undefined ? `e-message-${type}` : ''}>
|
|
11
11
|
<p>{message}</p>
|
|
12
|
-
</
|
|
12
|
+
</MessageStyled>
|
|
13
13
|
)
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
|
|
2
|
+
import { MessageInformationStyled } from './MessageInformation.styled';
|
|
3
3
|
const MessageInformation = ({ noImg, text, time, centered }) => {
|
|
4
|
-
return (_jsxs(
|
|
4
|
+
return (_jsxs(MessageInformationStyled, { 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 @@
|
|
|
1
|
+
export declare const MessageInformationStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const MessageInformationStyled = styled.div `
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
border-radius: 4px;
|
|
7
|
+
background: var(--secondary-main-light-4);
|
|
8
|
+
padding: 8px;
|
|
9
|
+
|
|
10
|
+
&.message-information {
|
|
11
|
+
@media ${device.laptop} {
|
|
12
|
+
justify-content: flex-start;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.text-center {
|
|
16
|
+
justify-content: center;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
.message-information {
|
|
20
|
+
&__icon {
|
|
21
|
+
width: 24px;
|
|
22
|
+
fill: var(--secondary-main-dark-1);
|
|
23
|
+
margin-right: 8px;
|
|
24
|
+
|
|
25
|
+
&.hide {
|
|
26
|
+
display: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
svg {
|
|
30
|
+
display: block;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__text {
|
|
35
|
+
font-size: 0.875rem;
|
|
36
|
+
letter-spacing: -0.3px;
|
|
37
|
+
padding-top: 1px;
|
|
38
|
+
text-align: left;
|
|
39
|
+
|
|
40
|
+
@media ${device['landscape-tablets']} {
|
|
41
|
+
text-align: center;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&__time {
|
|
45
|
+
font-weight: 600;
|
|
46
|
+
|
|
47
|
+
&.regular {
|
|
48
|
+
font-weight: 400;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
`;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const MessageInformationStyled = styled.div`
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
border-radius: 4px;
|
|
8
|
+
background: var(--secondary-main-light-4);
|
|
9
|
+
padding: 8px;
|
|
10
|
+
|
|
11
|
+
&.message-information {
|
|
12
|
+
@media ${device.laptop} {
|
|
13
|
+
justify-content: flex-start;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&.text-center {
|
|
17
|
+
justify-content: center;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
.message-information {
|
|
21
|
+
&__icon {
|
|
22
|
+
width: 24px;
|
|
23
|
+
fill: var(--secondary-main-dark-1);
|
|
24
|
+
margin-right: 8px;
|
|
25
|
+
|
|
26
|
+
&.hide {
|
|
27
|
+
display: none;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
svg {
|
|
31
|
+
display: block;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&__text {
|
|
36
|
+
font-size: 0.875rem;
|
|
37
|
+
letter-spacing: -0.3px;
|
|
38
|
+
padding-top: 1px;
|
|
39
|
+
text-align: left;
|
|
40
|
+
|
|
41
|
+
@media ${device['landscape-tablets']} {
|
|
42
|
+
text-align: center;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&__time {
|
|
46
|
+
font-weight: 600;
|
|
47
|
+
|
|
48
|
+
&.regular {
|
|
49
|
+
font-weight: 400;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
`
|
|
@@ -2,13 +2,12 @@
|
|
|
2
2
|
import React, { type FC } from 'react'
|
|
3
3
|
|
|
4
4
|
import { type MessageInformationProps } from './MessageInformationProps.types'
|
|
5
|
-
|
|
6
|
-
// import './MessageInformation.scss'
|
|
5
|
+
import { MessageInformationStyled } from './MessageInformation.styled'
|
|
7
6
|
|
|
8
7
|
const MessageInformation: FC<MessageInformationProps> = ({ noImg, text, time, centered }) => {
|
|
9
8
|
return (
|
|
10
|
-
<
|
|
11
|
-
<div className={`message-information__icon ${noImg
|
|
9
|
+
<MessageInformationStyled className={`message-information ${centered && 'text-center'}`}>
|
|
10
|
+
<div className={`message-information__icon ${noImg ? 'hide' : ''}`}>
|
|
12
11
|
<svg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'>
|
|
13
12
|
<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' />
|
|
14
13
|
</svg>
|
|
@@ -17,7 +16,7 @@ const MessageInformation: FC<MessageInformationProps> = ({ noImg, text, time, ce
|
|
|
17
16
|
{time != null && <span className={`message-information__text__time ${noImg && 'regular'}`}>{time}' </span>}
|
|
18
17
|
{text}
|
|
19
18
|
</p>
|
|
20
|
-
</
|
|
19
|
+
</MessageInformationStyled>
|
|
21
20
|
)
|
|
22
21
|
}
|
|
23
22
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { MoreDocsItemStyled } from './MoreDocsItem.styled';
|
|
2
3
|
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(MoreDocsItemStyled, { 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 @@
|
|
|
1
|
+
export declare const MoreDocsItemStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
export const MoreDocsItemStyled = styled.a `
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: row;
|
|
5
|
+
align-items: center;
|
|
6
|
+
padding: 8px;
|
|
7
|
+
gap: 10px;
|
|
8
|
+
border-radius: var(--global-border-radius);
|
|
9
|
+
text-decoration: none;
|
|
10
|
+
|
|
11
|
+
&:hover {
|
|
12
|
+
background-color: var(--primary-main-light-5);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&.more-docs-item {
|
|
16
|
+
.category-icon {
|
|
17
|
+
margin: 0 1rem 0 1.3rem;
|
|
18
|
+
svg {
|
|
19
|
+
fill: var(--primary-main);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.texts {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
gap: calc(1rem / 2);
|
|
27
|
+
text-align: left;
|
|
28
|
+
padding-left: 1rem;
|
|
29
|
+
|
|
30
|
+
.title {
|
|
31
|
+
line-height: 22px;
|
|
32
|
+
letter-spacing: -0.3px;
|
|
33
|
+
color: var(--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: var(--neutral-neutral-2);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
`;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import styled from 'styled-components'
|
|
2
|
+
|
|
3
|
+
export const MoreDocsItemStyled = styled.a`
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: row;
|
|
6
|
+
align-items: center;
|
|
7
|
+
padding: 8px;
|
|
8
|
+
gap: 10px;
|
|
9
|
+
border-radius: var(--global-border-radius);
|
|
10
|
+
text-decoration: none;
|
|
11
|
+
|
|
12
|
+
&:hover {
|
|
13
|
+
background-color: var(--primary-main-light-5);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&.more-docs-item {
|
|
17
|
+
.category-icon {
|
|
18
|
+
margin: 0 1rem 0 1.3rem;
|
|
19
|
+
svg {
|
|
20
|
+
fill: var(--primary-main);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.texts {
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
gap: calc(1rem / 2);
|
|
28
|
+
text-align: left;
|
|
29
|
+
padding-left: 1rem;
|
|
30
|
+
|
|
31
|
+
.title {
|
|
32
|
+
line-height: 22px;
|
|
33
|
+
letter-spacing: -0.3px;
|
|
34
|
+
color: var(--neutral-neutral-1);
|
|
35
|
+
padding-right: 0.5rem;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.description {
|
|
39
|
+
font-size: 12px;
|
|
40
|
+
line-height: 16px;
|
|
41
|
+
letter-spacing: -0.3px;
|
|
42
|
+
color: var(--neutral-neutral-2);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
`
|
|
@@ -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'
|
|
4
5
|
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
|
+
<MoreDocsItemStyled
|
|
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
|
+
</MoreDocsItemStyled>
|
|
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
|
-
|
|
3
|
+
import { NavMenuItemStyled } from './NavMenuItem.styled';
|
|
4
4
|
export const NavMenuItem = ({ mainButton, items = [] }) => {
|
|
5
|
-
return (_jsxs(
|
|
6
|
-
return (_jsx("li", { className: '
|
|
5
|
+
return (_jsxs(NavMenuItemStyled, { className: 'nav-menu-item', children: [_jsx("div", { className: 'nav-menu-item__title', children: _jsx(Button, { ...mainButton, noLinkNoFunc: true, color: 'transparent' }) }), _jsx("ul", { className: 'nav-menu-item__list', children: items.map((item) => {
|
|
6
|
+
return (_jsx("li", { className: 'nav-menu-item__list__item', children: _jsx(Button, { ...item.props, color: 'transparent' }) }, item.key));
|
|
7
7
|
}) })] }));
|
|
8
8
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const NavMenuItemStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
export const NavMenuItemStyled = styled.div `
|
|
4
|
+
border-radius: var(--global-border-radius);
|
|
5
|
+
position: relative;
|
|
6
|
+
width: fit-content;
|
|
7
|
+
|
|
8
|
+
&.nav-menu-item:hover {
|
|
9
|
+
.nav-menu-item {
|
|
10
|
+
&__title {
|
|
11
|
+
&:after {
|
|
12
|
+
display: block;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&__list {
|
|
17
|
+
opacity: 1;
|
|
18
|
+
z-index: 11;
|
|
19
|
+
margin-top: 0.8rem;
|
|
20
|
+
visibility: visible;
|
|
21
|
+
transition: all 0.4s ease;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@media ${device.laptop} {
|
|
27
|
+
display: block;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.e-button {
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-flow: row nowrap;
|
|
33
|
+
gap: 0.1rem;
|
|
34
|
+
padding: 0.25rem 0.5rem;
|
|
35
|
+
border: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.nav-menu-item {
|
|
39
|
+
&__title {
|
|
40
|
+
position: relative;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&__list {
|
|
44
|
+
border-radius: var(--global-border-radius);
|
|
45
|
+
padding: 0.5rem;
|
|
46
|
+
margin-top: 0.5rem;
|
|
47
|
+
display: flex;
|
|
48
|
+
visibility: hidden;
|
|
49
|
+
opacity: 0;
|
|
50
|
+
background: var(--others-white);
|
|
51
|
+
transition: all 0.1s ease;
|
|
52
|
+
box-shadow: var(--box-shadow-medium);
|
|
53
|
+
min-width: max-content;
|
|
54
|
+
flex-flow: column wrap;
|
|
55
|
+
position: absolute;
|
|
56
|
+
left: 0;
|
|
57
|
+
|
|
58
|
+
&__item:hover {
|
|
59
|
+
background-color: var(--primary-main-light-5);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
`;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { device } from '../../../globalStyles/breakpoints'
|
|
2
|
+
import styled from 'styled-components'
|
|
3
|
+
|
|
4
|
+
export const NavMenuItemStyled = styled.div`
|
|
5
|
+
border-radius: var(--global-border-radius);
|
|
6
|
+
position: relative;
|
|
7
|
+
width: fit-content;
|
|
8
|
+
|
|
9
|
+
&.nav-menu-item:hover {
|
|
10
|
+
.nav-menu-item {
|
|
11
|
+
&__title {
|
|
12
|
+
&:after {
|
|
13
|
+
display: block;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&__list {
|
|
18
|
+
opacity: 1;
|
|
19
|
+
z-index: 11;
|
|
20
|
+
margin-top: 0.8rem;
|
|
21
|
+
visibility: visible;
|
|
22
|
+
transition: all 0.4s ease;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@media ${device.laptop} {
|
|
28
|
+
display: block;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.e-button {
|
|
32
|
+
display: flex;
|
|
33
|
+
flex-flow: row nowrap;
|
|
34
|
+
gap: 0.1rem;
|
|
35
|
+
padding: 0.25rem 0.5rem;
|
|
36
|
+
border: 0;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.nav-menu-item {
|
|
40
|
+
&__title {
|
|
41
|
+
position: relative;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&__list {
|
|
45
|
+
border-radius: var(--global-border-radius);
|
|
46
|
+
padding: 0.5rem;
|
|
47
|
+
margin-top: 0.5rem;
|
|
48
|
+
display: flex;
|
|
49
|
+
visibility: hidden;
|
|
50
|
+
opacity: 0;
|
|
51
|
+
background: var(--others-white);
|
|
52
|
+
transition: all 0.1s ease;
|
|
53
|
+
box-shadow: var(--box-shadow-medium);
|
|
54
|
+
min-width: max-content;
|
|
55
|
+
flex-flow: column wrap;
|
|
56
|
+
position: absolute;
|
|
57
|
+
left: 0;
|
|
58
|
+
|
|
59
|
+
&__item:hover {
|
|
60
|
+
background-color: var(--primary-main-light-5);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
`
|
|
@@ -2,23 +2,23 @@ import React from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { Button } from '../Button'
|
|
4
4
|
import { type NavMenuItemProps } from './NavMenuItemProps'
|
|
5
|
-
|
|
5
|
+
import { NavMenuItemStyled } from './NavMenuItem.styled'
|
|
6
6
|
|
|
7
7
|
export const NavMenuItem: React.FC<NavMenuItemProps> = ({ mainButton, items = [] }) => {
|
|
8
8
|
return (
|
|
9
|
-
<
|
|
10
|
-
<div className={'
|
|
9
|
+
<NavMenuItemStyled className={'nav-menu-item'}>
|
|
10
|
+
<div className={'nav-menu-item__title'}>
|
|
11
11
|
<Button {...mainButton} noLinkNoFunc color='transparent' />
|
|
12
12
|
</div>
|
|
13
|
-
<ul className={'
|
|
13
|
+
<ul className={'nav-menu-item__list'}>
|
|
14
14
|
{items.map((item) => {
|
|
15
15
|
return (
|
|
16
|
-
<li className='
|
|
16
|
+
<li className='nav-menu-item__list__item' key={item.key}>
|
|
17
17
|
<Button {...item.props} color='transparent' />
|
|
18
18
|
</li>
|
|
19
19
|
)
|
|
20
20
|
})}
|
|
21
21
|
</ul>
|
|
22
|
-
</
|
|
22
|
+
</NavMenuItemStyled>
|
|
23
23
|
)
|
|
24
24
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { PaypalButtonStyled } from './PaypalButton.styled';
|
|
2
3
|
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(PaypalButtonStyled, { className: 'paypal-button', onClick: onClickButton, children: _jsx("img", { src: paypalImg, alt: '' }) }));
|
|
6
6
|
};
|
|
7
7
|
export default PaypalButton;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PaypalButtonStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
@@ -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'
|
|
5
6
|
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
|
+
<PaypalButtonStyled className='paypal-button' onClick={onClickButton}>
|
|
11
11
|
<img src={paypalImg} alt='' />
|
|
12
|
-
</
|
|
12
|
+
</PaypalButtonStyled>
|
|
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';
|
|
3
4
|
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(PopularDocsItemStyled, { 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
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PopularDocsItemStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
|