@npm_leadtech/legal-lib-components 4.1.6 → 4.1.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 +0 -1
- package/dist/images/componentsSvg/ArrowRight.tsx +47 -0
- package/dist/images/componentsSvg/ChevronExpandLess.tsx +10 -0
- package/dist/images/componentsSvg/ChevronExpandMore.tsx +17 -0
- package/dist/images/componentsSvg/ChevronRight.tsx +9 -0
- package/dist/images/componentsSvg/ChevronRight24px.tsx +18 -0
- package/dist/images/componentsSvg/Delete24p.tsx +33 -0
- package/dist/images/componentsSvg/Done24px.tsx +13 -0
- package/dist/images/componentsSvg/Done24pxoutlined.tsx +25 -0
- package/dist/images/componentsSvg/Edit24p.tsx +33 -0
- package/dist/images/componentsSvg/EditText24px.tsx +33 -0
- package/dist/images/componentsSvg/EmploymentIcon.tsx +21 -0
- package/dist/images/componentsSvg/Eye24pxOptimized.tsx +33 -0
- package/dist/images/componentsSvg/IconDuplicate24px.tsx +29 -0
- package/dist/images/componentsSvg/InfoError24pxOutlined.tsx +31 -0
- package/dist/images/componentsSvg/LogoutSvg.tsx +27 -0
- package/dist/images/componentsSvg/MailSvg.tsx +24 -0
- package/dist/images/componentsSvg/MenuCollapse24p.tsx +43 -0
- package/dist/images/componentsSvg/NewDocumentSvg.tsx +28 -0
- package/dist/images/componentsSvg/NewRelease24p.tsx +26 -0
- package/dist/images/componentsSvg/PhoneIcon24px.tsx +47 -0
- package/dist/images/componentsSvg/SvgProps.ts +5 -0
- package/dist/images/componentsSvg/SymbolDoc.tsx +14 -0
- package/dist/images/componentsSvg/Time24px.tsx +33 -0
- package/dist/images/componentsSvg/flags/GBFlag.tsx +46 -0
- package/dist/images/componentsSvg/flags/USFlag.tsx +129 -0
- package/dist/images/componentsSvg/generalCategories/BusinessIconCategory.tsx +19 -0
- package/dist/images/componentsSvg/generalCategories/EmploymentIconCategory.tsx +19 -0
- package/dist/images/componentsSvg/generalCategories/FinanceIconCategory.tsx +19 -0
- package/dist/images/componentsSvg/generalCategories/PersonalFamilyIconCategory.tsx +19 -0
- package/dist/images/componentsSvg/generalCategories/RealEstateIconCategory.tsx +17 -0
- package/dist/images/componentsSvg/generalCategories/index.ts +5 -0
- package/dist/images/jpg/Img-documents.jpg +0 -0
- package/dist/images/png/AboutUs.png +0 -0
- package/dist/images/png/Img-documents.png +0 -0
- package/dist/images/png/buy-logo-large-en.png +0 -0
- package/dist/images/png/content-img-desktophd.png +0 -0
- package/dist/images/png/content-img-tablet.png +0 -0
- package/dist/images/png/customer-support.png +0 -0
- package/dist/images/png/editing@2x.png +0 -0
- package/dist/images/png/expertOne.png +0 -0
- package/dist/images/png/expertTwo.png +0 -0
- package/dist/images/png/graphics-grey-02.png +0 -0
- package/dist/images/png/graphics.png +0 -0
- package/dist/images/png/icon-cloud@2x.png +0 -0
- package/dist/images/png/img-modal-template-mobile.png +0 -0
- package/dist/images/png/img-modal-template.png +0 -0
- package/dist/images/png/ld-illust-empty-state-dash.png +0 -0
- package/dist/images/png/satisfaction@2x.png +0 -0
- package/dist/images/svg/aarp.svg +9 -0
- package/dist/images/svg/chevron-right-24-px.svg +14 -0
- package/dist/images/svg/communication-24px-2.svg +14 -0
- package/dist/images/svg/communication-24px.svg +14 -0
- package/dist/images/svg/debt.svg +9 -0
- package/dist/images/svg/done-24px.svg +14 -0
- package/dist/images/svg/done_24px_outlined.svg +20 -0
- package/dist/images/svg/download_24px.svg +3 -0
- package/dist/images/svg/expand_dropdown_24px.svg +23 -0
- package/dist/images/svg/expand_less_24px.svg +3 -0
- package/dist/images/svg/expand_more_24px.svg +3 -0
- package/dist/images/svg/eye-24-px.svg +20 -0
- package/dist/images/svg/eye-close.svg +24 -0
- package/dist/images/svg/icon-24-px-security.svg +15 -0
- package/dist/images/svg/icon-clear-24-px.svg +14 -0
- package/dist/images/svg/icon-info-24px.svg +21 -0
- package/dist/images/svg/icon-web-24px.svg +22 -0
- package/dist/images/svg/info-24px.svg +15 -0
- package/dist/images/svg/info-error_24px_outlined.svg +15 -0
- package/dist/images/svg/logo-google.svg +19 -0
- package/dist/images/svg/modal-free-doc.svg +50 -0
- package/dist/images/svg/preview-doc.svg +20 -0
- package/dist/images/svg/rentcafe.svg +9 -0
- package/dist/images/svg/shape.svg +3 -0
- package/dist/images/svg/techradar.svg +9 -0
- package/dist/images/svg/thenevvschool.svg +9 -0
- package/dist/images/webp/customer-support.webp +0 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.scss +24 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.tsx +20 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCardProps.types.ts +9 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/index.ts +2 -0
- package/dist/src/components/atoms/AddButton/AddButton.scss +48 -0
- package/dist/src/components/atoms/AddButton/AddButton.tsx +38 -0
- package/dist/src/components/atoms/AddButton/AddButtonProps.types.ts +15 -0
- package/dist/src/components/atoms/AddButton/index.ts +2 -0
- package/dist/src/components/atoms/BaseBox/BaseBox.styled.ts +25 -0
- package/dist/src/components/atoms/BaseBox/BaseBox.tsx +19 -0
- package/dist/src/components/atoms/BaseBox/BaseBoxProps.types.ts +7 -0
- package/dist/src/components/atoms/BaseBox/index.ts +2 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.scss +54 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.tsx +18 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCardProps.types.ts +6 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/index.ts +2 -0
- package/dist/src/components/atoms/BillCard/BillCard.scss +57 -0
- package/dist/src/components/atoms/BillCard/BillCard.tsx +24 -0
- package/dist/src/components/atoms/BillCard/BillCardProps.types.ts +5 -0
- package/dist/src/components/atoms/BillCard/index.ts +2 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.scss +33 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.tsx +11 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenuProps.types.ts +3 -0
- package/dist/src/components/atoms/BottomOverlayMenu/index.ts +2 -0
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.scss +21 -0
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.tsx +18 -0
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItemProps.types.ts +5 -0
- package/dist/src/components/atoms/BreadcrumItem/index.ts +2 -0
- package/dist/src/components/atoms/Button/Button.scss +286 -0
- package/dist/src/components/atoms/Button/Button.tsx +123 -0
- package/dist/src/components/atoms/Button/ButtonProps.types.ts +37 -0
- package/dist/src/components/atoms/Button/index.ts +2 -0
- package/dist/src/components/atoms/ButtonIcon/ButtonIcon.scss +42 -0
- package/dist/src/components/atoms/ButtonIcon/ButtonIcon.tsx +59 -0
- package/dist/src/components/atoms/ButtonIcon/ButtonIconProps.types.ts +12 -0
- package/dist/src/components/atoms/ButtonIcon/index.ts +2 -0
- package/dist/src/components/atoms/CardPane/CardPane.scss +106 -0
- package/dist/src/components/atoms/CardPane/CardPane.tsx +19 -0
- package/dist/src/components/atoms/CardPane/CardPaneInfo.tsx +36 -0
- package/dist/src/components/atoms/CardPane/CardPaneProps.types.ts +10 -0
- package/dist/src/components/atoms/CardPane/index.ts +2 -0
- package/dist/src/components/atoms/Checkbox/Checkbox.d.ts +0 -1
- package/dist/src/components/atoms/Checkbox/Checkbox.js +1 -1
- package/dist/src/components/atoms/Checkbox/Checkbox.scss +132 -0
- package/dist/src/components/atoms/Checkbox/Checkbox.tsx +43 -0
- package/dist/src/components/atoms/Checkbox/CheckboxProps.types.ts +13 -0
- package/dist/src/components/atoms/Checkbox/index.ts +2 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.scss +116 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.tsx +178 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustomProps.types.ts +17 -0
- package/dist/src/components/atoms/DatePickerCustom/DatepickerPlugin.scss +842 -0
- package/dist/src/components/atoms/DatePickerCustom/index.ts +2 -0
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.scss +84 -0
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.tsx +80 -0
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIconProps.types.ts +6 -0
- package/dist/src/components/atoms/DialogMenuIcon/index.ts +2 -0
- package/dist/src/components/atoms/Disclaimer/Disclaimer.scss +45 -0
- package/dist/src/components/atoms/Disclaimer/Disclaimer.tsx +36 -0
- package/dist/src/components/atoms/Disclaimer/DisclaimerProps.types.ts +10 -0
- package/dist/src/components/atoms/Disclaimer/index.ts +2 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.scss +149 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.tsx +88 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafiaProps.ts +17 -0
- package/dist/src/components/atoms/DisclaimerRatafia/index.ts +2 -0
- package/dist/src/components/atoms/Divider/Divider.scss +20 -0
- package/dist/src/components/atoms/Divider/Divider.tsx +19 -0
- package/dist/src/components/atoms/Divider/DividerProps.types.ts +6 -0
- package/dist/src/components/atoms/Divider/index.ts +2 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.scss +91 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.tsx +37 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.ts +6 -0
- package/dist/src/components/atoms/DocumentStatus/index.ts +2 -0
- package/dist/src/components/atoms/DocumentTag/DocumentTag.d.ts +0 -1
- package/dist/src/components/atoms/DocumentTag/DocumentTag.js +1 -1
- package/dist/src/components/atoms/DocumentTag/DocumentTag.scss +13 -0
- package/dist/src/components/atoms/DocumentTag/DocumentTag.tsx +9 -0
- package/dist/src/components/atoms/DocumentTag/DocumentTagProps.ts +3 -0
- package/dist/src/components/atoms/DocumentTag/index.ts +2 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCard.scss +61 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCard.tsx +24 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCardProps.types.ts +6 -0
- package/dist/src/components/atoms/ExpertCard/index.ts +2 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.scss +79 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.tsx +37 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCardProps.types.ts +8 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/index.ts +2 -0
- package/dist/src/components/atoms/FormFaq/FormFaq.scss +72 -0
- package/dist/src/components/atoms/FormFaq/FormFaq.tsx +17 -0
- package/dist/src/components/atoms/FormFaq/FormFaqProps.types.ts +4 -0
- package/dist/src/components/atoms/FormFaq/index.ts +2 -0
- package/dist/src/components/atoms/GoogleButton/GoogleButton.scss +22 -0
- package/dist/src/components/atoms/GoogleButton/GoogleButton.tsx +16 -0
- package/dist/src/components/atoms/GoogleButton/GoogleButtonProps.types.ts +4 -0
- package/dist/src/components/atoms/GoogleButton/index.ts +2 -0
- package/dist/src/components/atoms/IconImage/IconImage.tsx +14 -0
- package/dist/src/components/atoms/IconImage/IconImageProps.types.ts +6 -0
- package/dist/src/components/atoms/IconImage/index.ts +2 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.scss +6 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.tsx +29 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColorProps.types.ts +6 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/index.ts +2 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.scss +80 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.tsx +25 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.types.ts +9 -0
- package/dist/src/components/atoms/IconTextInfoSection/index.ts +1 -0
- package/dist/src/components/atoms/InfoBox/InfoBox.scss +40 -0
- package/dist/src/components/atoms/InfoBox/InfoBox.tsx +21 -0
- package/dist/src/components/atoms/InfoBox/InfoBoxProps.types.ts +5 -0
- package/dist/src/components/atoms/InfoBox/index.ts +2 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.scss +8 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.tsx +12 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStaticProps.types.ts +3 -0
- package/dist/src/components/atoms/JumbotronStatic/index.ts +2 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.scss +38 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.tsx +18 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCardProps.types.ts +5 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/index.ts +2 -0
- package/dist/src/components/atoms/Logo/Logo.tsx +67 -0
- package/dist/src/components/atoms/Logo/LogoProps.types.ts +7 -0
- package/dist/src/components/atoms/Logo/index.ts +2 -0
- package/dist/src/components/atoms/Logo/svg/districtlaws-logo.svg +19 -0
- package/dist/src/components/atoms/Logo/svg/districtlaws-white-logo.svg +19 -0
- package/dist/src/components/atoms/Logo/svg/lawdistrict-logo.svg +12 -0
- package/dist/src/components/atoms/Logo/svg/lawdistrict-white-logo.svg +12 -0
- package/dist/src/components/atoms/Logo/svg/lawdistrictinfo-logo.svg +24 -0
- package/dist/src/components/atoms/Logo/svg/lawdistrictinfo-white-logo.svg +24 -0
- package/dist/src/components/atoms/Logo/svg/lawdistrictonline-logo.svg +26 -0
- package/dist/src/components/atoms/Logo/svg/lawdistrictonline-white-logo.svg +26 -0
- package/dist/src/components/atoms/Logo/svg/lawdistricts-logo.svg +4 -0
- package/dist/src/components/atoms/Logo/svg/lawdistricts-white-logo.svg +4 -0
- package/dist/src/components/atoms/Logo/svg/lawsdistrict-logo.svg +23 -0
- package/dist/src/components/atoms/Logo/svg/lawsdistrict-white-logo.svg +23 -0
- package/dist/src/components/atoms/Logo/svg/uslawdistrict-logo.svg +18 -0
- package/dist/src/components/atoms/Logo/svg/uslawdistrict-white-logo.svg +22 -0
- package/dist/src/components/atoms/LogoText/LogoText.scss +34 -0
- package/dist/src/components/atoms/LogoText/LogoText.tsx +21 -0
- package/dist/src/components/atoms/LogoText/LogoTextProps.types.ts +5 -0
- package/dist/src/components/atoms/LogoText/index.ts +2 -0
- package/dist/src/components/atoms/MenuItems/MenuItemProps.types.ts +15 -0
- package/dist/src/components/atoms/MenuItems/MenuItems.scss +70 -0
- package/dist/src/components/atoms/MenuItems/MenuItems.tsx +71 -0
- package/dist/src/components/atoms/MenuItems/index.ts +2 -0
- package/dist/src/components/atoms/Message/Message.scss +31 -0
- package/dist/src/components/atoms/Message/Message.tsx +16 -0
- package/dist/src/components/atoms/Message/MessageProps.types.ts +4 -0
- package/dist/src/components/atoms/Message/index.ts +2 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformation.scss +51 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformation.tsx +23 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformationProps.types.ts +6 -0
- package/dist/src/components/atoms/MessageInformation/index.ts +2 -0
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.d.ts +0 -1
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.js +1 -1
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.scss +44 -0
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.tsx +30 -0
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItemProps.ts +9 -0
- package/dist/src/components/atoms/MoreDocsItem/index.ts +2 -0
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.scss +60 -0
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.tsx +24 -0
- package/dist/src/components/atoms/NavMenuItem/NavMenuItemProps.ts +9 -0
- package/dist/src/components/atoms/NavMenuItem/index.ts +2 -0
- package/dist/src/components/atoms/PaypalButton/PaypalButton.scss +5 -0
- package/dist/src/components/atoms/PaypalButton/PaypalButton.tsx +15 -0
- package/dist/src/components/atoms/PaypalButton/PaypalButtonProps.types.ts +3 -0
- package/dist/src/components/atoms/PaypalButton/index.ts +2 -0
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.scss +59 -0
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.tsx +23 -0
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItemProps.ts +9 -0
- package/dist/src/components/atoms/PopularDocsItem/index.ts +2 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBar.d.ts +0 -1
- package/dist/src/components/atoms/ProgressBar/ProgressBar.js +1 -1
- package/dist/src/components/atoms/ProgressBar/ProgressBar.scss +24 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBar.tsx +17 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBarProps.types.ts +4 -0
- package/dist/src/components/atoms/ProgressBar/index.ts +2 -0
- package/dist/src/components/atoms/Radio/Radio.scss +341 -0
- package/dist/src/components/atoms/Radio/Radio.tsx +66 -0
- package/dist/src/components/atoms/Radio/RadioProps.types.ts +14 -0
- package/dist/src/components/atoms/Radio/index.ts +2 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButton.scss +43 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButton.tsx +40 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButtonProps.types.ts +16 -0
- package/dist/src/components/atoms/RemoveButton/index.ts +2 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.d.ts +0 -1
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.js +1 -1
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.scss +54 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.tsx +56 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafiaProps.types.ts +15 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/index.ts +2 -0
- package/dist/src/components/atoms/RichTextInner/RichTextInner.scss +34 -0
- package/dist/src/components/atoms/RichTextInner/RichTextInner.tsx +10 -0
- package/dist/src/components/atoms/RichTextInner/RichTextInnerProps.types.ts +6 -0
- package/dist/src/components/atoms/RichTextInner/index.ts +2 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextMedia.ts +12 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.scss +9 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.tsx +14 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapiProps.ts +9 -0
- package/dist/src/components/atoms/RichTextStrapi/index.ts +3 -0
- package/dist/src/components/atoms/RichTextStrapi/useFormattedText.tsx +31 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.d.ts +0 -1
- package/dist/src/components/atoms/SearchSelect/SearchSelect.js +1 -1
- package/dist/src/components/atoms/SearchSelect/SearchSelect.scss +222 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.tsx +100 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelectProps.types.ts +28 -0
- package/dist/src/components/atoms/SearchSelect/index.ts +2 -0
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.scss +48 -0
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.tsx +34 -0
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBoxProps.ts +5 -0
- package/dist/src/components/atoms/ShowMoreBox/index.ts +2 -0
- package/dist/src/components/atoms/SidemenuTab/SideMenuTabProps.types.ts +11 -0
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.d.ts +0 -1
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.js +1 -1
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.scss +90 -0
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.tsx +35 -0
- package/dist/src/components/atoms/SidemenuTab/index.ts +2 -0
- package/dist/src/components/atoms/Spinner/Spinner.scss +32 -0
- package/dist/src/components/atoms/Spinner/Spinner.tsx +24 -0
- package/dist/src/components/atoms/Spinner/SpinnerProps.types.ts +4 -0
- package/dist/src/components/atoms/Spinner/index.ts +2 -0
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.scss +27 -0
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.tsx +18 -0
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCardProps.types.ts +6 -0
- package/dist/src/components/atoms/StepRatafiaCard/index.ts +2 -0
- package/dist/src/components/atoms/Tag/Tag.scss +23 -0
- package/dist/src/components/atoms/Tag/Tag.tsx +13 -0
- package/dist/src/components/atoms/Tag/TagProps.ts +5 -0
- package/dist/src/components/atoms/Tag/index.ts +2 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.scss +22 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.tsx +17 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItemProps.types.ts +5 -0
- package/dist/src/components/atoms/TagRatafiaItem/index.ts +2 -0
- package/dist/src/components/atoms/Tagline/Tagline.scss +16 -0
- package/dist/src/components/atoms/Tagline/Tagline.tsx +12 -0
- package/dist/src/components/atoms/Tagline/TaglineProps.types.ts +3 -0
- package/dist/src/components/atoms/Tagline/index.ts +2 -0
- package/dist/src/components/atoms/TestAB/TestAB.tsx +29 -0
- package/dist/src/components/atoms/TextArea/TextArea.scss +103 -0
- package/dist/src/components/atoms/TextArea/TextArea.tsx +50 -0
- package/dist/src/components/atoms/TextArea/TextAreaProps.types.ts +13 -0
- package/dist/src/components/atoms/TextArea/index.ts +2 -0
- package/dist/src/components/atoms/Toggle/Toggle.scss +59 -0
- package/dist/src/components/atoms/Toggle/Toggle.tsx +24 -0
- package/dist/src/components/atoms/Toggle/ToggleProps.types.ts +5 -0
- package/dist/src/components/atoms/Toggle/index.ts +2 -0
- package/dist/src/components/atoms/Tooltip/Tooltip.scss +62 -0
- package/dist/src/components/atoms/Tooltip/Tooltip.tsx +23 -0
- package/dist/src/components/atoms/Tooltip/TooltipProps.types.ts +30 -0
- package/dist/src/components/atoms/Tooltip/index.ts +2 -0
- package/dist/src/components/atoms/TopBar/TopBar.scss +54 -0
- package/dist/src/components/atoms/TopBar/TopBar.tsx +23 -0
- package/dist/src/components/atoms/TopBar/TopBarProps.types.ts +4 -0
- package/dist/src/components/atoms/TopBar/index.ts +2 -0
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.scss +48 -0
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.tsx +19 -0
- package/dist/src/components/atoms/TopBarMobile/index.ts +1 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilot.scss +11 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilot.tsx +10 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilotProps.types.ts +3 -0
- package/dist/src/components/atoms/TrustPilot/index.ts +2 -0
- package/dist/src/components/atoms/Video/Video.tsx +26 -0
- package/dist/src/components/atoms/Video/VideoProps.types.ts +17 -0
- package/dist/src/components/atoms/Video/index.ts +2 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.scss +36 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.tsx +21 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItemsProps.types.ts +8 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/index.ts +3 -0
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.scss +32 -0
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.tsx +19 -0
- package/dist/src/components/atoms/WideInfoBar/index.ts +1 -0
- package/dist/src/components/atoms/index.ts +60 -0
- package/dist/src/components/molecules/AccordionItem/AccordionItem.scss +70 -0
- package/dist/src/components/molecules/AccordionItem/AccordionItem.tsx +54 -0
- package/dist/src/components/molecules/AccordionItem/AccordionItemProps.types.ts +9 -0
- package/dist/src/components/molecules/AccordionItem/index.ts +1 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.scss +7 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.tsx +18 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardListProps.types.ts +5 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/index.ts +2 -0
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.scss +29 -0
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.tsx +24 -0
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAsProps.types.ts +4 -0
- package/dist/src/components/molecules/AlsoKnownAs/index.ts +2 -0
- package/dist/src/components/molecules/Article/Article.scss +66 -0
- package/dist/src/components/molecules/Article/Article.tsx +22 -0
- package/dist/src/components/molecules/Article/ArticleProps.types.ts +7 -0
- package/dist/src/components/molecules/Article/index.ts +2 -0
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.scss +26 -0
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.tsx +18 -0
- package/dist/src/components/molecules/BaseBoxList/BaseBoxListProps.types.ts +6 -0
- package/dist/src/components/molecules/BaseBoxList/index.ts +2 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.scss +16 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.tsx +18 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.ts +5 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/index.ts +2 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.scss +49 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.tsx +20 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBarProps.types.ts +6 -0
- package/dist/src/components/molecules/BottomFixedBar/index.ts +2 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.d.ts +0 -1
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.js +1 -1
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.scss +93 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.tsx +73 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlayProps.types.ts +8 -0
- package/dist/src/components/molecules/BottomOverlay/index.ts +2 -0
- package/dist/src/components/molecules/BoxForm/BoxForm.scss +129 -0
- package/dist/src/components/molecules/BoxForm/BoxForm.tsx +57 -0
- package/dist/src/components/molecules/BoxForm/BoxFormProps.types.ts +13 -0
- package/dist/src/components/molecules/BoxForm/index.ts +2 -0
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.scss +3 -0
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.tsx +19 -0
- package/dist/src/components/molecules/Breadcrumb/BreadcrumbProps.types.ts +3 -0
- package/dist/src/components/molecules/Breadcrumb/index.ts +2 -0
- package/dist/src/components/molecules/ContactBox/ContactBox.scss +57 -0
- package/dist/src/components/molecules/ContactBox/ContactBox.tsx +35 -0
- package/dist/src/components/molecules/ContactBox/ContactBoxProps.types.ts +9 -0
- package/dist/src/components/molecules/ContactBox/index.ts +2 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.scss +42 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.tsx +36 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBannerProps.types.ts +21 -0
- package/dist/src/components/molecules/ContinueEditingBanner/index.ts +2 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.scss +37 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.tsx +53 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessageProps.types.ts +6 -0
- package/dist/src/components/molecules/CountDownMessage/index.ts +2 -0
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.scss +35 -0
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.tsx +21 -0
- package/dist/src/components/molecules/EmailContactBox/EmailContactBoxProps.ts +4 -0
- package/dist/src/components/molecules/EmailContactBox/index.ts +2 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.scss +13 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.tsx +23 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardListProps.types.ts +5 -0
- package/dist/src/components/molecules/ExpertCardList/index.ts +2 -0
- package/dist/src/components/molecules/FaqItem/FaqItem.scss +58 -0
- package/dist/src/components/molecules/FaqItem/FaqItem.tsx +42 -0
- package/dist/src/components/molecules/FaqItem/FaqItemProps.ts +9 -0
- package/dist/src/components/molecules/FaqItem/index.ts +2 -0
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.scss +8 -0
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.tsx +18 -0
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardListProps.types.ts +6 -0
- package/dist/src/components/molecules/FeatureRatafiaCardList/index.ts +2 -0
- package/dist/src/components/molecules/Feedback/Feedback.scss +109 -0
- package/dist/src/components/molecules/Feedback/Feedback.tsx +94 -0
- package/dist/src/components/molecules/Feedback/FeedbackProps.types.ts +16 -0
- package/dist/src/components/molecules/Feedback/index.ts +2 -0
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.scss +110 -0
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.tsx +54 -0
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.types.ts +7 -0
- package/dist/src/components/molecules/FreeDocModalContent/index.ts +2 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.scss +31 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.tsx +26 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafiaProps.types.ts +8 -0
- package/dist/src/components/molecules/HeaderRatafia/index.ts +2 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.scss +21 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.tsx +21 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafiaProps.types.ts +5 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/index.ts +2 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.scss +32 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +22 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSectionProps.types.ts +7 -0
- package/dist/src/components/molecules/MenuItemsSection/index.ts +2 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.scss +29 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.tsx +31 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContentProps.types.ts +7 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/index.ts +2 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.scss +69 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.tsx +41 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSampleProps.types.ts +3 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/index.ts +2 -0
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.scss +74 -0
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.tsx +34 -0
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktopProps.ts +6 -0
- package/dist/src/components/molecules/MoreDocsDesktop/index.ts +2 -0
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.d.ts +0 -1
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.js +1 -1
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.scss +71 -0
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.tsx +47 -0
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobileProps.ts +6 -0
- package/dist/src/components/molecules/MoreDocsMobile/index.ts +2 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.scss +33 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +96 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDownProps.types.ts +13 -0
- package/dist/src/components/molecules/NavBarDropDown/index.ts +2 -0
- package/dist/src/components/molecules/Pagination/PageStepControl.tsx +38 -0
- package/dist/src/components/molecules/Pagination/PageStepControlProps.types.ts +8 -0
- package/dist/src/components/molecules/Pagination/PageSteps.tsx +80 -0
- package/dist/src/components/molecules/Pagination/Pagination.scss +62 -0
- package/dist/src/components/molecules/Pagination/Pagination.tsx +42 -0
- package/dist/src/components/molecules/Pagination/PaginationProps.types.ts +7 -0
- package/dist/src/components/molecules/Pagination/index.ts +2 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.scss +60 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.tsx +23 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktopProps.types.ts +4 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/index.ts +2 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.scss +33 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.tsx +25 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobileProps.types.ts +4 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/index.ts +2 -0
- package/dist/src/components/molecules/PopularDocs/PopularDocs.scss +34 -0
- package/dist/src/components/molecules/PopularDocs/PopularDocs.tsx +18 -0
- package/dist/src/components/molecules/PopularDocs/PopularDocsProps.ts +6 -0
- package/dist/src/components/molecules/PopularDocs/index.ts +2 -0
- package/dist/src/components/molecules/PricingCard/PricingCard.scss +186 -0
- package/dist/src/components/molecules/PricingCard/PricingCard.tsx +126 -0
- package/dist/src/components/molecules/PricingCard/PricingCardProps.types.ts +17 -0
- package/dist/src/components/molecules/PricingCard/index.ts +2 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.scss +135 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.tsx +81 -0
- package/dist/src/components/molecules/Snackbar/SnackbarProps.types.ts +15 -0
- package/dist/src/components/molecules/Snackbar/index.ts +2 -0
- package/dist/src/components/molecules/StepGetForm/StepGetForm.scss +105 -0
- package/dist/src/components/molecules/StepGetForm/StepGetForm.tsx +18 -0
- package/dist/src/components/molecules/StepGetForm/StepGetFormProps.types.ts +6 -0
- package/dist/src/components/molecules/StepGetForm/index.ts +2 -0
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.scss +18 -0
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.tsx +18 -0
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardListProps.types.ts +5 -0
- package/dist/src/components/molecules/StepRatafiaCardList/index.ts +2 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.scss +5 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.tsx +18 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaListProps.types.ts +5 -0
- package/dist/src/components/molecules/TagsRatafiaList/index.ts +2 -0
- package/dist/src/components/molecules/TextInput/Input.tsx +74 -0
- package/dist/src/components/molecules/TextInput/TextInput.scss +176 -0
- package/dist/src/components/molecules/TextInput/TextInput.tsx +114 -0
- package/dist/src/components/molecules/TextInput/TextInputLabel.d.ts +0 -1
- package/dist/src/components/molecules/TextInput/TextInputLabel.js +0 -1
- package/dist/src/components/molecules/TextInput/TextInputLabel.tsx +26 -0
- package/dist/src/components/molecules/TextInput/TextInputMessage.tsx +22 -0
- package/dist/src/components/molecules/TextInput/TextInputProps.types.ts +24 -0
- package/dist/src/components/molecules/TextInput/TextInputTooltip.tsx +11 -0
- package/dist/src/components/molecules/TextInput/index.ts +2 -0
- package/dist/src/components/molecules/TextInput/stories/TextInput.stories.tsx +125 -0
- package/dist/src/components/molecules/TextInput/tests/Input.test.tsx +45 -0
- package/dist/src/components/molecules/TextInput/tests/TextInput.test.tsx +68 -0
- package/dist/src/components/molecules/TextInput/tests/TextInputLabel.test.tsx +41 -0
- package/dist/src/components/molecules/TextInput/tests/TextInputMessage.test.tsx +27 -0
- package/dist/src/components/molecules/TextInput/tests/TextInputTooltip.test.tsx +22 -0
- package/dist/src/components/molecules/TooltipMenu/TooltipMenu.scss +40 -0
- package/dist/src/components/molecules/TooltipMenu/TooltipMenu.tsx +23 -0
- package/dist/src/components/molecules/TooltipMenu/TooltipMenuProps.types.ts +9 -0
- package/dist/src/components/molecules/TooltipMenu/index.ts +2 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.scss +12 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.tsx +18 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsitesProps.types.ts +8 -0
- package/dist/src/components/molecules/TrustworthyWebsites/index.ts +2 -0
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.scss +108 -0
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.tsx +45 -0
- package/dist/src/components/molecules/TypeModulesList/TypeModulesListProps.types.ts +16 -0
- package/dist/src/components/molecules/TypeModulesList/index.ts +2 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.scss +63 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.tsx +40 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZoneProps.types.ts +19 -0
- package/dist/src/components/molecules/UploadRatafiaZone/index.ts +2 -0
- package/dist/src/components/molecules/index.ts +41 -0
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.scss +58 -0
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.tsx +23 -0
- package/dist/src/components/organisms/AboutUsContent/AboutUsContentProps.types.ts +7 -0
- package/dist/src/components/organisms/AboutUsContent/index.ts +2 -0
- package/dist/src/components/organisms/Accordion/Accordion.context.tsx +124 -0
- package/dist/src/components/organisms/Accordion/Accordion.scss +4 -0
- package/dist/src/components/organisms/Accordion/Accordion.tsx +36 -0
- package/dist/src/components/organisms/Accordion/AccordionProps.types.ts +12 -0
- package/dist/src/components/organisms/Accordion/index.ts +2 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesList.scss +12 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +19 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.ts +5 -0
- package/dist/src/components/organisms/ArticlesList/index.ts +2 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.scss +22 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.tsx +21 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContentProps.types.ts +6 -0
- package/dist/src/components/organisms/AsSeeInContent/index.ts +2 -0
- package/dist/src/components/organisms/CardFuncionality/CardFuncionality.scss +60 -0
- package/dist/src/components/organisms/CardFuncionality/CardFuncionality.tsx +29 -0
- package/dist/src/components/organisms/CardFuncionality/CardFuncionalityProps.ts +9 -0
- package/dist/src/components/organisms/CardFuncionality/index.ts +2 -0
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.scss +45 -0
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.tsx +32 -0
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotronProps.types.ts +11 -0
- package/dist/src/components/organisms/ContactJumbotron/index.ts +2 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.scss +54 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.tsx +23 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBarProps.ts +4 -0
- package/dist/src/components/organisms/CookiePolicyBar/index.ts +2 -0
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.scss +18 -0
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.tsx +13 -0
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafiaProps.types.ts +4 -0
- package/dist/src/components/organisms/ErrorContentRatafia/index.ts +2 -0
- package/dist/src/components/organisms/FaqGroup/FaqGroup.scss +22 -0
- package/dist/src/components/organisms/FaqGroup/FaqGroup.tsx +21 -0
- package/dist/src/components/organisms/FaqGroup/FaqGroupProps.ts +10 -0
- package/dist/src/components/organisms/FaqGroup/index.ts +2 -0
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.scss +28 -0
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.tsx +30 -0
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContentProps.types.ts +8 -0
- package/dist/src/components/organisms/FeaturesRatafiaContent/index.ts +2 -0
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.scss +70 -0
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +20 -0
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContentProps.types.ts +5 -0
- package/dist/src/components/organisms/GuidelinesContent/index.ts +2 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.scss +28 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.tsx +19 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContentProps.types.ts +7 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/index.ts +2 -0
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.scss +146 -0
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.tsx +46 -0
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafiaProps.types.ts +5 -0
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/index.ts +2 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.scss +23 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.tsx +20 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafiaProps.types.ts +11 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/index.ts +3 -0
- package/dist/src/components/organisms/LanguageSelector/LanguageSelector.tsx +53 -0
- package/dist/src/components/organisms/LanguageSelector/LanguageSelectorProps.ts +6 -0
- package/dist/src/components/organisms/LanguageSelector/LenguageSelectorItem.ts +6 -0
- package/dist/src/components/organisms/LanguageSelector/index.ts +6 -0
- package/dist/src/components/organisms/LanguageSelector/useLanguageOptions.tsx +18 -0
- package/dist/src/components/organisms/LanguageSelector/useLanguageSelected.tsx +18 -0
- package/dist/src/components/organisms/LanguageSelector/useLanguagesSelector.tsx +31 -0
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.scss +65 -0
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.tsx +67 -0
- package/dist/src/components/organisms/LanguageSelectorMobile/index.ts +1 -0
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.scss +93 -0
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.tsx +25 -0
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafiaProps.types.ts +9 -0
- package/dist/src/components/organisms/LayoutRatafia/index.ts +2 -0
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.d.ts +0 -1
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.js +1 -1
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.scss +35 -0
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.tsx +23 -0
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetFormProps.types.ts +5 -0
- package/dist/src/components/organisms/ListStepsGetForm/index.ts +2 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.d.ts +0 -1
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.js +1 -1
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.scss +16 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.tsx +18 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContentProps.types.ts +8 -0
- package/dist/src/components/organisms/LoginRatafiaContent/index.ts +2 -0
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.d.ts +0 -1
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.js +1 -1
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.scss +46 -0
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.tsx +34 -0
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.ts +5 -0
- package/dist/src/components/organisms/MobileBottomBar/index.ts +2 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.d.ts +0 -1
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.js +1 -1
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.scss +12 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.tsx +16 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContentProps.types.ts +6 -0
- package/dist/src/components/organisms/StepsRatafiaContent/index.ts +2 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.d.ts +0 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +1 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss +49 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +19 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +5 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.ts +2 -0
- package/dist/src/components/organisms/index.ts +22 -0
- package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +43 -0
- package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +20 -0
- package/dist/src/components/pages/AboutUsPage/index.ts +2 -0
- package/dist/src/components/pages/ContactUsPage/ContactUsPage.tsx +20 -0
- package/dist/src/components/pages/ContactUsPage/ContactUsPageProps.ts +9 -0
- package/dist/src/components/pages/ContactUsPage/index.ts +2 -0
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.scss +32 -0
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.tsx +68 -0
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPageProps.types.ts +18 -0
- package/dist/src/components/pages/ErrorRatafiaPage/index.ts +2 -0
- package/dist/src/components/pages/FaqsPage/FaqsPage.d.ts +0 -1
- package/dist/src/components/pages/FaqsPage/FaqsPage.js +1 -1
- package/dist/src/components/pages/FaqsPage/FaqsPage.scss +61 -0
- package/dist/src/components/pages/FaqsPage/FaqsPage.tsx +20 -0
- package/dist/src/components/pages/FaqsPage/FaqsPageProps.ts +8 -0
- package/dist/src/components/pages/FaqsPage/index.ts +2 -0
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.scss +23 -0
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.tsx +74 -0
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPageProps.types.ts +20 -0
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/index.ts +2 -0
- package/dist/src/components/pages/LegalPage/LegalPage.tsx +14 -0
- package/dist/src/components/pages/LegalPage/LegalPageProps.ts +7 -0
- package/dist/src/components/pages/LegalPage/index.ts +2 -0
- package/dist/src/components/pages/LoginRatafiaPage/LoginPageRatafia.scss +23 -0
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.tsx +73 -0
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPageProps.ts +23 -0
- package/dist/src/components/pages/LoginRatafiaPage/index.ts +2 -0
- package/dist/src/components/pages/RatafiaLandingPage/RatafiaLandingPage.tsx +42 -0
- package/dist/src/components/pages/RatafiaLandingPage/RatafiaLandingPageProps.types.ts +20 -0
- package/dist/src/components/pages/RatafiaLandingPage/index.ts +2 -0
- package/dist/src/components/pages/UnsubscribePage/UnsubscribePage.tsx +14 -0
- package/dist/src/components/pages/UnsubscribePage/UnsubscribePageProps.ts +7 -0
- package/dist/src/components/pages/UnsubscribePage/index.ts +2 -0
- package/dist/src/components/pages/index.ts +9 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.scss +52 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +24 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.ts +7 -0
- package/dist/src/components/sections/AboutUsSection/index.ts +2 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +33 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.tsx +22 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.ts +6 -0
- package/dist/src/components/sections/AsSeeInSection/index.ts +2 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.scss +50 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.tsx +26 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSectionProps.ts +9 -0
- package/dist/src/components/sections/AsideMenuSection/index.ts +2 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.scss +57 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.tsx +25 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.ts +7 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/index.ts +2 -0
- package/dist/src/components/sections/BlogSection/BlogSection.scss +33 -0
- package/dist/src/components/sections/BlogSection/BlogSection.tsx +20 -0
- package/dist/src/components/sections/BlogSection/BlogSectionProps.types.ts +7 -0
- package/dist/src/components/sections/BlogSection/index.ts +2 -0
- package/dist/src/components/sections/ContactSection/ContactSection.scss +90 -0
- package/dist/src/components/sections/ContactSection/ContactSection.tsx +25 -0
- package/dist/src/components/sections/ContactSection/ContactSectionProps.ts +7 -0
- package/dist/src/components/sections/ContactSection/index.ts +2 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.scss +26 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.tsx +20 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSectionProps.types.ts +6 -0
- package/dist/src/components/sections/ExpertsSection/index.ts +2 -0
- package/dist/src/components/sections/FaqSection/FaqSection.scss +31 -0
- package/dist/src/components/sections/FaqSection/FaqSection.tsx +18 -0
- package/dist/src/components/sections/FaqSection/FaqSectionProps.ts +6 -0
- package/dist/src/components/sections/FaqSection/index.ts +2 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.scss +57 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.tsx +25 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSectionProps.types.ts +6 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/index.ts +2 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.scss +11 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.tsx +17 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSectionProps.types.ts +5 -0
- package/dist/src/components/sections/GuidelinesSection/index.ts +2 -0
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.scss +26 -0
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +25 -0
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSectionProps.types.ts +7 -0
- package/dist/src/components/sections/HowGetYourFormsSection/index.ts +2 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.scss +41 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.tsx +18 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSectionProps.types.ts +6 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/index.ts +2 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.scss +41 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.tsx +22 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSectionProps.types.ts +10 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/index.ts +2 -0
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.scss +107 -0
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.tsx +24 -0
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSectionProps.types.ts +6 -0
- package/dist/src/components/sections/LearnMoreSection/index.ts +2 -0
- package/dist/src/components/sections/LegalSection/LegalSection.scss +120 -0
- package/dist/src/components/sections/LegalSection/LegalSection.tsx +15 -0
- package/dist/src/components/sections/LegalSection/LegalSectionProps.ts +5 -0
- package/dist/src/components/sections/LegalSection/index.ts +2 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.scss +47 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.tsx +33 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSectionProps.types.ts +8 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/index.ts +2 -0
- package/dist/src/components/sections/MoreDocsSection/MoreDocsSection.tsx +24 -0
- package/dist/src/components/sections/MoreDocsSection/MoreDocsSectionProps.ts +6 -0
- package/dist/src/components/sections/MoreDocsSection/index.ts +2 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.scss +17 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.tsx +16 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSectionProps.types.ts +6 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/index.ts +2 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.scss +53 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.tsx +24 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSectionProps.types.ts +7 -0
- package/dist/src/components/sections/StepsRatafiaSection/index.ts +2 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.scss +69 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.tsx +22 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSectionProps.types.ts +5 -0
- package/dist/src/components/sections/TryItRatafiaSection/index.ts +2 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.scss +11 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +17 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSectionProps.types.ts +5 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/index.ts +2 -0
- package/dist/src/components/sections/TryUsSection/TryUsSection.scss +24 -0
- package/dist/src/components/sections/TryUsSection/TryUsSection.tsx +14 -0
- package/dist/src/components/sections/TryUsSection/TryUsSectionProps.ts +8 -0
- package/dist/src/components/sections/TryUsSection/index.ts +2 -0
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.scss +62 -0
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.tsx +15 -0
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSectionProps.ts +5 -0
- package/dist/src/components/sections/UnsubscribeSection/index.ts +2 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.scss +36 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.tsx +32 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSectionProps.types.ts +13 -0
- package/dist/src/components/sections/WhyLawDistrictSection/index.ts +2 -0
- package/dist/src/components/sections/index.ts +24 -0
- package/dist/src/custom.d.ts +13 -0
- package/dist/src/globalStyles/animations.scss +75 -0
- package/dist/src/globalStyles/base.scss +74 -0
- package/dist/src/globalStyles/functions.scss +23 -0
- package/dist/src/globalStyles/layout.scss +77 -0
- package/dist/src/globalStyles/mediaqueries.scss +43 -0
- package/dist/src/globalStyles/reset.scss +68 -0
- package/dist/src/globalStyles/styles.scss +161 -0
- package/dist/src/globalStyles/themes.scss +271 -0
- package/dist/src/globalStyles/typography.scss +108 -0
- package/dist/src/globalStyles/variables.scss +84 -0
- package/dist/src/hooks/index.ts +2 -0
- package/dist/src/hooks/useIntersectionObserver.tsx +31 -0
- package/dist/src/hooks/useIsMobileOrTable.tsx +41 -0
- package/dist/src/index.ts +3 -0
- package/dist/src/styles/stories.scss +67 -0
- package/dist/src/utils/ProductCategory.ts +7 -0
- package/dist/src/utils/getCategoryIcons.tsx +41 -0
- package/dist/src/utils/getDateFormatMMMMYYYY.ts +3 -0
- package/dist/src/utils/getGatsbyImageSkeleton.tsx +19 -0
- package/dist/src/utils/getRichTextSkeleton.tsx +5 -0
- package/dist/src/utils/index.d.ts +7 -0
- package/dist/src/utils/index.js +7 -0
- package/dist/src/utils/index.ts +7 -0
- package/dist/src/utils/replaceAll.ts +7 -0
- package/dist/src/utils/stringSlugify.ts +3 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +7 -3
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.pricing-card {
|
|
5
|
+
position: relative;
|
|
6
|
+
max-width: 400px;
|
|
7
|
+
border: solid 1px transparent;
|
|
8
|
+
list-style: none;
|
|
9
|
+
|
|
10
|
+
&.--selectable {
|
|
11
|
+
.pricing-card__radio-label {
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&:not(.--selected):hover {
|
|
16
|
+
.pricing-card__wrapper {
|
|
17
|
+
border-color: get-color(neutral, neutral-3);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&.--selected {
|
|
23
|
+
.pricing-card__wrapper {
|
|
24
|
+
border-color: get-color(primary, main-light-3);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__radio-label {
|
|
29
|
+
.radio-input {
|
|
30
|
+
display: none;
|
|
31
|
+
|
|
32
|
+
& + .radio-checkbox {
|
|
33
|
+
background-color: get-color(others, white);
|
|
34
|
+
position: absolute;
|
|
35
|
+
top: 1rem;
|
|
36
|
+
left: 1rem;
|
|
37
|
+
width: 20px;
|
|
38
|
+
height: 20px;
|
|
39
|
+
border-radius: 50%;
|
|
40
|
+
border: 1px solid;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:checked {
|
|
44
|
+
& + .radio-checkbox {
|
|
45
|
+
border: 5px solid get-color(primary, main-light-1);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&__wrapper {
|
|
52
|
+
background-color: get-color(others, white);
|
|
53
|
+
box-shadow: $box-shadow-container;
|
|
54
|
+
border-radius: $global-border-radius;
|
|
55
|
+
border: solid 1px transparent;
|
|
56
|
+
|
|
57
|
+
ul {
|
|
58
|
+
display: flex;
|
|
59
|
+
flex-direction: column;
|
|
60
|
+
margin-top: 0.5rem;
|
|
61
|
+
|
|
62
|
+
li {
|
|
63
|
+
text-align: left;
|
|
64
|
+
display: flex;
|
|
65
|
+
flex-direction: row;
|
|
66
|
+
margin-bottom: 2rem;
|
|
67
|
+
|
|
68
|
+
p {
|
|
69
|
+
text-align: left;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
img {
|
|
73
|
+
width: 2.2rem;
|
|
74
|
+
height: 2.2rem;
|
|
75
|
+
margin-right: 1rem;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&__header {
|
|
82
|
+
padding: 1rem;
|
|
83
|
+
text-align: center;
|
|
84
|
+
background: get-color(neutral, neutral-6);
|
|
85
|
+
|
|
86
|
+
&__text {
|
|
87
|
+
color: get-color(neutral, neutral-2);
|
|
88
|
+
margin: 0 1rem;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&__body {
|
|
93
|
+
color: get-color(neutral, neutral-1);
|
|
94
|
+
display: flex;
|
|
95
|
+
flex-flow: column nowrap;
|
|
96
|
+
padding: 1.5rem 1rem;
|
|
97
|
+
text-align: center;
|
|
98
|
+
|
|
99
|
+
&__price {
|
|
100
|
+
font-size: 2.25rem;
|
|
101
|
+
line-height: 2rem;
|
|
102
|
+
margin-top: 0;
|
|
103
|
+
margin-bottom: 1.5rem;
|
|
104
|
+
order: 2;
|
|
105
|
+
|
|
106
|
+
@include desktop {
|
|
107
|
+
font-size: 2.25rem;
|
|
108
|
+
line-height: 2.5rem;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
span {
|
|
112
|
+
font-size: 1rem;
|
|
113
|
+
display: inline;
|
|
114
|
+
margin-left: 0.2rem;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&__text {
|
|
119
|
+
font-size: 0.85rem;
|
|
120
|
+
color: get-color(neutral, neutral-2);
|
|
121
|
+
order: 4;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&__features-list {
|
|
125
|
+
display: none;
|
|
126
|
+
order: 6;
|
|
127
|
+
|
|
128
|
+
@include landscape-tablets {
|
|
129
|
+
display: block;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&.--expanded {
|
|
133
|
+
display: block;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
hr {
|
|
137
|
+
width: 100%;
|
|
138
|
+
border-top: 1px solid get-color(neutral, neutral-4);
|
|
139
|
+
margin-bottom: 1.5rem;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&__item {
|
|
143
|
+
&::before {
|
|
144
|
+
content: '\2022';
|
|
145
|
+
color: get-color(primary);
|
|
146
|
+
font-weight: bold;
|
|
147
|
+
display: inline-block;
|
|
148
|
+
margin-right: 1rem;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&:not(:last-child) {
|
|
152
|
+
margin-bottom: 1rem;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.e-button.see-more-button {
|
|
158
|
+
display: block;
|
|
159
|
+
margin: auto;
|
|
160
|
+
order: 8;
|
|
161
|
+
|
|
162
|
+
@include landscape-tablets {
|
|
163
|
+
display: none;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
&__disclaimer {
|
|
169
|
+
color: get-color(neutral, neutral-2);
|
|
170
|
+
font-size: 0.75rem;
|
|
171
|
+
text-align: center;
|
|
172
|
+
width: 100%;
|
|
173
|
+
display: flex;
|
|
174
|
+
justify-content: center;
|
|
175
|
+
padding: 0.8rem 0 0.4rem;
|
|
176
|
+
max-width: 20rem;
|
|
177
|
+
|
|
178
|
+
@include landscape-tablets {
|
|
179
|
+
max-width: unset;
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&__button {
|
|
184
|
+
width: 100%;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import React, { type FC, useState } from 'react'
|
|
2
|
+
|
|
3
|
+
import { Button, Message } from '../../atoms'
|
|
4
|
+
import { type PricingCardProps } from './PricingCardProps.types'
|
|
5
|
+
// import './PricingCard.scss'
|
|
6
|
+
|
|
7
|
+
const PricingCard: FC<PricingCardProps> = ({
|
|
8
|
+
order,
|
|
9
|
+
subscriptionId,
|
|
10
|
+
onChangeRadio,
|
|
11
|
+
isChecked = false,
|
|
12
|
+
planName,
|
|
13
|
+
price,
|
|
14
|
+
currency,
|
|
15
|
+
underPricingText,
|
|
16
|
+
featuresList = [],
|
|
17
|
+
children,
|
|
18
|
+
disclaimer,
|
|
19
|
+
message,
|
|
20
|
+
cardButton
|
|
21
|
+
}) => {
|
|
22
|
+
const [cardState, setCardState] = useState({ expanded: false })
|
|
23
|
+
if (
|
|
24
|
+
planName === undefined ||
|
|
25
|
+
(onChangeRadio != null && subscriptionId === undefined) ||
|
|
26
|
+
(featuresList?.length === 0 && children === undefined)
|
|
27
|
+
) {
|
|
28
|
+
return null
|
|
29
|
+
}
|
|
30
|
+
const isSelectableCard = onChangeRadio != null
|
|
31
|
+
const selectableCardClass = isSelectableCard ? '--selectable' : ''
|
|
32
|
+
const selectedCardClass = isSelectableCard && isChecked ? '--selected' : ''
|
|
33
|
+
const expandedContentClass = cardState.expanded ? '--expanded' : ''
|
|
34
|
+
|
|
35
|
+
const style = {
|
|
36
|
+
order: order ?? 0
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
const toggleCardContent = (): void => {
|
|
40
|
+
setCardState((prevState) => {
|
|
41
|
+
prevState = { expanded: !prevState.expanded }
|
|
42
|
+
return { ...prevState }
|
|
43
|
+
})
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
const renderMoreMobileButton = (
|
|
47
|
+
<Button
|
|
48
|
+
dataQa=''
|
|
49
|
+
givenClass='see-more-button'
|
|
50
|
+
color='tertiary'
|
|
51
|
+
label={cardState.expanded ? 'See less' : 'See more'}
|
|
52
|
+
noLink
|
|
53
|
+
onClick={toggleCardContent}
|
|
54
|
+
/>
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
const renderHeaderContent = (
|
|
58
|
+
<div className='pricing-card__header'>
|
|
59
|
+
<h5 className={'sans-serif --big pricing-card__header__text'}>
|
|
60
|
+
<strong>{planName}</strong>
|
|
61
|
+
</h5>
|
|
62
|
+
</div>
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
const renderBodyContent = (
|
|
66
|
+
<div className='pricing-card__body'>
|
|
67
|
+
{Boolean(price) && (
|
|
68
|
+
<div className={'sans-serif pricing-card__body__price'}>
|
|
69
|
+
<strong>{price}</strong>
|
|
70
|
+
<span>{currency}</span>
|
|
71
|
+
{Boolean(underPricingText) && <div className={'pricing-card__body__text'}>{underPricingText}</div>}
|
|
72
|
+
</div>
|
|
73
|
+
)}
|
|
74
|
+
{Boolean(featuresList?.length) && (
|
|
75
|
+
<div className={`pricing-card__body__features-list ${expandedContentClass}`}>
|
|
76
|
+
<hr />
|
|
77
|
+
<ul>
|
|
78
|
+
{featuresList?.map((feature) => (
|
|
79
|
+
<li key={'feature-item-' + feature} className='pricing-card__body__features-list__item'>
|
|
80
|
+
{feature}
|
|
81
|
+
</li>
|
|
82
|
+
))}
|
|
83
|
+
</ul>
|
|
84
|
+
</div>
|
|
85
|
+
)}
|
|
86
|
+
{children}
|
|
87
|
+
{featuresList != null && renderMoreMobileButton}
|
|
88
|
+
{cardButton}
|
|
89
|
+
{message != null && <Message {...message} />}
|
|
90
|
+
</div>
|
|
91
|
+
)
|
|
92
|
+
|
|
93
|
+
return (
|
|
94
|
+
<li style={style} className={`pricing-card grid__column ${selectableCardClass} ${selectedCardClass}`}>
|
|
95
|
+
<div className={'pricing-card__wrapper'}>
|
|
96
|
+
{isSelectableCard ? (
|
|
97
|
+
<label className='pricing-card__radio-label' data-qa={planName}>
|
|
98
|
+
<input
|
|
99
|
+
className='radio-input'
|
|
100
|
+
type='radio'
|
|
101
|
+
value={subscriptionId}
|
|
102
|
+
onChange={onChangeRadio}
|
|
103
|
+
name='pricing'
|
|
104
|
+
checked={isChecked}
|
|
105
|
+
/>
|
|
106
|
+
<span className='radio-checkbox'></span>
|
|
107
|
+
{renderHeaderContent}
|
|
108
|
+
{renderBodyContent}
|
|
109
|
+
</label>
|
|
110
|
+
) : (
|
|
111
|
+
<>
|
|
112
|
+
{renderHeaderContent}
|
|
113
|
+
{renderBodyContent}
|
|
114
|
+
</>
|
|
115
|
+
)}
|
|
116
|
+
</div>
|
|
117
|
+
{Boolean(disclaimer) && (
|
|
118
|
+
<div className='pricing-card__disclaimer'>
|
|
119
|
+
<small>{disclaimer}</small>
|
|
120
|
+
</div>
|
|
121
|
+
)}
|
|
122
|
+
</li>
|
|
123
|
+
)
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export default PricingCard
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type MessageProps } from '../../atoms'
|
|
2
|
+
|
|
3
|
+
export interface PricingCardProps {
|
|
4
|
+
order?: number
|
|
5
|
+
subscriptionId?: string
|
|
6
|
+
onChangeRadio?: (event: React.ChangeEvent<HTMLInputElement>) => void
|
|
7
|
+
isChecked?: boolean
|
|
8
|
+
planName?: string
|
|
9
|
+
price?: string
|
|
10
|
+
currency?: string
|
|
11
|
+
underPricingText?: string
|
|
12
|
+
featuresList?: string[]
|
|
13
|
+
children?: React.ReactNode
|
|
14
|
+
disclaimer?: string
|
|
15
|
+
message?: MessageProps
|
|
16
|
+
cardButton?: any
|
|
17
|
+
}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
@import '../../../globalStyles/functions';
|
|
2
|
+
|
|
3
|
+
.snackbar {
|
|
4
|
+
color: get-color(neutral, main);
|
|
5
|
+
line-height: 1.5;
|
|
6
|
+
margin-bottom: 1em;
|
|
7
|
+
padding: 0.5em 0 0.5em 0;
|
|
8
|
+
margin-right: 2%;
|
|
9
|
+
margin-left: 2%;
|
|
10
|
+
width: 96%;
|
|
11
|
+
transition: transform 1s;
|
|
12
|
+
z-index: 10000;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
border-radius: 4px;
|
|
15
|
+
box-shadow: $box-shadow-container;
|
|
16
|
+
font-size: 14px;
|
|
17
|
+
|
|
18
|
+
@include portrait-tablets {
|
|
19
|
+
margin: 0;
|
|
20
|
+
width: 18rem;
|
|
21
|
+
}
|
|
22
|
+
@include landscape-tablets {
|
|
23
|
+
width: 27rem;
|
|
24
|
+
}
|
|
25
|
+
@include laptop {
|
|
26
|
+
width: 36rem;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&:before {
|
|
30
|
+
content: '';
|
|
31
|
+
display: block;
|
|
32
|
+
width: 1.5rem;
|
|
33
|
+
height: 1.5rem;
|
|
34
|
+
float: left;
|
|
35
|
+
margin: space(5) space(3) 0 space(3);
|
|
36
|
+
@include portrait-tablets {
|
|
37
|
+
margin: space(3) space(3) 0 space(3);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&-close-icon {
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
float: right;
|
|
44
|
+
font-size: 1.25rem;
|
|
45
|
+
line-height: 3;
|
|
46
|
+
margin-left: 1em;
|
|
47
|
+
margin-right: 1em;
|
|
48
|
+
opacity: 0.8;
|
|
49
|
+
@include portrait-tablets {
|
|
50
|
+
line-height: 2;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&--welcome {
|
|
55
|
+
background-color: get-color(neutral, main);
|
|
56
|
+
color: get-color(others, white);
|
|
57
|
+
border: 1px solid get-color(neutral, neutral-2);
|
|
58
|
+
|
|
59
|
+
&:before {
|
|
60
|
+
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0icHJlZml4X19hIiBkPSJNMjAgMkg0Yy0xLjEgMC0yIC45LTIgMnYxOGw0LTRoMTRjMS4xIDAgMi0uOSAyLTJWNGMwLTEuMS0uOS0yLTItMnptMCAxNEg2bC0yIDJWNGgxNnYxMnpNNyA5aDJ2Mkg3Vjl6bTQgMGgydjJoLTJWOXptNCAwaDJ2MmgtMlY5eiIvPgogICAgPC9kZWZzPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgPG1hc2sgaWQ9InByZWZpeF9fYiIgZmlsbD0iI2ZmZiI+CiAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3ByZWZpeF9fYSIvPgogICAgICAgIDwvbWFzaz4KICAgICAgICA8ZyBmaWxsPSIjNUREOEMzIiBtYXNrPSJ1cmwoI3ByZWZpeF9fYikiPgogICAgICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K)
|
|
61
|
+
no-repeat;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&--success {
|
|
66
|
+
background-color: var(--primary-main-light-3);
|
|
67
|
+
color: var(--primary-main-dark-1);
|
|
68
|
+
border: 1px solid var(--primary-main-light-2);
|
|
69
|
+
|
|
70
|
+
&:before {
|
|
71
|
+
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0icHJlZml4X19hIiBkPSJNOC44IDE1LjlMNC42IDExLjcgMy4yIDEzLjEgOC44IDE4LjcgMjAuOCA2LjcgMTkuNCA1LjN6Ii8+CiAgICA8L2RlZnM+CiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGQ9Ik0wIDBIMjRWMjRIMHoiLz4KICAgICAgICA8bWFzayBpZD0icHJlZml4X19iIiBmaWxsPSIjZmZmIj4KICAgICAgICAgICAgPHVzZSB4bGluazpocmVmPSIjcHJlZml4X19hIi8+CiAgICAgICAgPC9tYXNrPgogICAgICAgIDxnIGZpbGw9IiMwMjM3NEEiIG1hc2s9InVybCgjcHJlZml4X19iKSI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wIDBIMjRWMjRIMHoiLz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPgo=)
|
|
72
|
+
no-repeat;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&--error {
|
|
77
|
+
background-color: get-color(error, main);
|
|
78
|
+
color: get-color(others, white);
|
|
79
|
+
border: 1px solid get-color(error, error-2);
|
|
80
|
+
|
|
81
|
+
&:before {
|
|
82
|
+
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0icHJlZml4X19hIiBkPSJNMTIgMkM2LjQ3IDIgMiA2LjQ3IDIgMTJzNC40NyAxMCAxMCAxMCAxMC00LjQ3IDEwLTEwUzE3LjUzIDIgMTIgMnptMCAxOGMtNC40MSAwLTgtMy41OS04LThzMy41OS04IDgtOCA4IDMuNTkgOCA4LTMuNTkgOC04IDh6bS0xLTloMnY2aC0ydi02em0wLTRoMnYyaC0yVjd6IiAvPgogICAgPC9kZWZzPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6IiAvPgogICAgICAgIDxtYXNrIGlkPSJwcmVmaXhfX2IiIGZpbGw9IiNmZmYiPgogICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNwcmVmaXhfX2EiIC8+CiAgICAgICAgPC9tYXNrPgogICAgICAgIDx1c2UgZmlsbD0iIzAwMCIgZmlsbC1ydWxlPSJub256ZXJvIiB4bGluazpocmVmPSIjcHJlZml4X19hIiAvPgogICAgICAgIDxnIGZpbGw9IiNGRkYiIG1hc2s9InVybCgjcHJlZml4X19iKSI+CiAgICAgICAgICAgIDxwYXRoIGQ9Ik0wIDBIMjRWMjRIMHoiIC8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4=)
|
|
83
|
+
no-repeat;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&--reminder {
|
|
88
|
+
background-color: var(--secondary-main);
|
|
89
|
+
color: get-color(neutral, main);
|
|
90
|
+
border: 1px solid var(--secondary-main-dark-1);
|
|
91
|
+
|
|
92
|
+
&:before {
|
|
93
|
+
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0icHJlZml4X19hIiBkPSJNMjAgMkg0Yy0xLjEgMC0yIC45LTIgMnYxOGw0LTRoMTRjMS4xIDAgMi0uOSAyLTJWNGMwLTEuMS0uOS0yLTItMnptMCAxNEg2bC0yIDJWNGgxNnYxMnpNNyA5aDJ2Mkg3Vjl6bTQgMGgydjJoLTJWOXptNCAwaDJ2MmgtMlY5eiIvPgogICAgPC9kZWZzPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgPG1hc2sgaWQ9InByZWZpeF9fYiIgZmlsbD0iI2ZmZiI+CiAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3ByZWZpeF9fYSIvPgogICAgICAgIDwvbWFzaz4KICAgICAgICA8ZyBmaWxsPSIjOTM2QzJGIiBtYXNrPSJ1cmwoI3ByZWZpeF9fYikiPgogICAgICAgICAgICA8cGF0aCBkPSJNMCAwSDI0VjI0SDB6Ii8+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4K)
|
|
94
|
+
no-repeat;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&-content {
|
|
99
|
+
display: flex;
|
|
100
|
+
flex-direction: column;
|
|
101
|
+
|
|
102
|
+
&__text-container {
|
|
103
|
+
display: flex;
|
|
104
|
+
flex-direction: column;
|
|
105
|
+
margin-right: 1rem;
|
|
106
|
+
min-width: 1%;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&__button button {
|
|
110
|
+
margin-top: 0.5rem;
|
|
111
|
+
height: auto !important;
|
|
112
|
+
|
|
113
|
+
label {
|
|
114
|
+
white-space: nowrap;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@include landscape-tablets {
|
|
119
|
+
flex-direction: row;
|
|
120
|
+
margin-top: inherit;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&-title {
|
|
125
|
+
font-weight: bold;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.e-button.remove-yellow {
|
|
129
|
+
border-color: transparent;
|
|
130
|
+
|
|
131
|
+
&:hover {
|
|
132
|
+
background-color: get-color(others, white);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* eslint-disable jsx-a11y/no-noninteractive-tabindex */
|
|
2
|
+
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
|
3
|
+
/* eslint-disable jsx-a11y/click-events-have-key-events */
|
|
4
|
+
import React, { type FC, useEffect, useState } from 'react'
|
|
5
|
+
import classNames from 'classnames'
|
|
6
|
+
|
|
7
|
+
import { Button } from '../../atoms'
|
|
8
|
+
import { type SnackbarProps } from './SnackbarProps.types'
|
|
9
|
+
// import './Snackbar.scss'
|
|
10
|
+
|
|
11
|
+
const Snackbar: FC<SnackbarProps> = ({
|
|
12
|
+
type,
|
|
13
|
+
title,
|
|
14
|
+
text,
|
|
15
|
+
button,
|
|
16
|
+
dismissTimeout = 1000,
|
|
17
|
+
autoDismissTimeout,
|
|
18
|
+
autoDismiss,
|
|
19
|
+
onDismiss,
|
|
20
|
+
onAutoDismiss
|
|
21
|
+
}: SnackbarProps) => {
|
|
22
|
+
const [snackbarOpen, changeSnackbarOpen] = useState<boolean>()
|
|
23
|
+
|
|
24
|
+
useEffect(() => {
|
|
25
|
+
setTimeout(() => {
|
|
26
|
+
changeSnackbarOpen(true)
|
|
27
|
+
})
|
|
28
|
+
if (autoDismiss ?? false) {
|
|
29
|
+
setTimeout(() => {
|
|
30
|
+
if (onAutoDismiss != null) onAutoDismiss()
|
|
31
|
+
closeSnackbar()
|
|
32
|
+
}, autoDismissTimeout)
|
|
33
|
+
}
|
|
34
|
+
}, [])
|
|
35
|
+
|
|
36
|
+
if (title === null && text === null) return null
|
|
37
|
+
|
|
38
|
+
const closeSnackbar = (): void => {
|
|
39
|
+
changeSnackbarOpen(false)
|
|
40
|
+
setTimeout(() => {
|
|
41
|
+
if (onDismiss != null) onDismiss()
|
|
42
|
+
}, dismissTimeout)
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
const classes = classNames('snackbar', {
|
|
46
|
+
'snackbar--welcome': type === undefined || type === 'welcome',
|
|
47
|
+
'snackbar--success': type === 'success',
|
|
48
|
+
'snackbar--error': type === 'error',
|
|
49
|
+
'snackbar--reminder': type === 'reminder',
|
|
50
|
+
active: snackbarOpen,
|
|
51
|
+
hidden: !(snackbarOpen ?? false)
|
|
52
|
+
})
|
|
53
|
+
|
|
54
|
+
return (
|
|
55
|
+
<div className={classes} aria-hidden='true'>
|
|
56
|
+
<span className='snackbar-close-icon' onClick={closeSnackbar} tabIndex={0}>
|
|
57
|
+
×
|
|
58
|
+
</span>
|
|
59
|
+
<div className='snackbar-content'>
|
|
60
|
+
<div className='snackbar-content__text-container'>
|
|
61
|
+
<p className='snackbar-title'>{title ?? ''}</p>
|
|
62
|
+
<p className='snackbar-text'>{text ?? ''}</p>
|
|
63
|
+
</div>
|
|
64
|
+
{button?.color !== null && Boolean(button?.label) && (
|
|
65
|
+
<div className='snackbar-content__button'>
|
|
66
|
+
<Button
|
|
67
|
+
label={button?.label ?? ''}
|
|
68
|
+
onClick={button?.onClick}
|
|
69
|
+
color={button?.color ?? 'primary'}
|
|
70
|
+
noLink
|
|
71
|
+
functionParameters=''
|
|
72
|
+
dataQa='back'
|
|
73
|
+
/>
|
|
74
|
+
</div>
|
|
75
|
+
)}
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
)
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export default Snackbar
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface SnackbarProps {
|
|
2
|
+
type?: 'welcome' | 'success' | 'error' | 'reminder'
|
|
3
|
+
title?: string
|
|
4
|
+
text?: string
|
|
5
|
+
button?: {
|
|
6
|
+
label: string
|
|
7
|
+
onClick: (functionParameters?: any) => void
|
|
8
|
+
color: 'primary' | 'primary2' | 'primary3'
|
|
9
|
+
}
|
|
10
|
+
dismissTimeout?: number
|
|
11
|
+
autoDismissTimeout?: number
|
|
12
|
+
autoDismiss?: boolean
|
|
13
|
+
onDismiss?: () => void
|
|
14
|
+
onAutoDismiss?: () => void
|
|
15
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.homeStepsItem {
|
|
5
|
+
border-radius: $global-border-radius;
|
|
6
|
+
display: flex;
|
|
7
|
+
max-width: 100%;
|
|
8
|
+
padding: 2rem;
|
|
9
|
+
flex-flow: row nowrap;
|
|
10
|
+
min-width: 100%;
|
|
11
|
+
width: 100%;
|
|
12
|
+
align-items: flex-start;
|
|
13
|
+
text-align: center;
|
|
14
|
+
background: get-color(others, white);
|
|
15
|
+
box-shadow: $box-shadow-medium;
|
|
16
|
+
border: $global-border-radius;
|
|
17
|
+
margin-right: 0.5rem;
|
|
18
|
+
margin-bottom: 1rem;
|
|
19
|
+
|
|
20
|
+
&:last-child {
|
|
21
|
+
margin-right: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@include portrait-tablets {
|
|
25
|
+
padding: 1.5rem;
|
|
26
|
+
}
|
|
27
|
+
@include landscape-tablets {
|
|
28
|
+
max-width: calc(100% / 3 - 0.5rem);
|
|
29
|
+
min-width: calc(100% / 3 - 0.5rem);
|
|
30
|
+
padding: 1.5rem;
|
|
31
|
+
height: 342px;
|
|
32
|
+
flex-flow: column nowrap;
|
|
33
|
+
}
|
|
34
|
+
@include laptop {
|
|
35
|
+
margin-right: 0;
|
|
36
|
+
max-width: calc(100% / 3 - 1rem);
|
|
37
|
+
min-width: calc(100% / 3 - 1rem);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.step__information {
|
|
41
|
+
text-align: left;
|
|
42
|
+
max-width: 50%;
|
|
43
|
+
align-self: center;
|
|
44
|
+
|
|
45
|
+
@include landscape-tablets {
|
|
46
|
+
max-width: 100%;
|
|
47
|
+
text-align: center;
|
|
48
|
+
margin-top: 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&_title {
|
|
52
|
+
font-weight: bold;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.step__image {
|
|
57
|
+
display: flex;
|
|
58
|
+
justify-content: center;
|
|
59
|
+
max-width: 7.5rem;
|
|
60
|
+
text-align: center;
|
|
61
|
+
width: 50%;
|
|
62
|
+
align-self: center;
|
|
63
|
+
padding-bottom: 0;
|
|
64
|
+
margin: 0 auto;
|
|
65
|
+
@include portrait-tablets {
|
|
66
|
+
padding-bottom: 2.5rem;
|
|
67
|
+
}
|
|
68
|
+
@include laptop {
|
|
69
|
+
margin-top: 2rem;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@include landscape-tablets {
|
|
73
|
+
width: 100%;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.gatsby-image-wrapper {
|
|
78
|
+
width: 88px;
|
|
79
|
+
@include portrait-tablets {
|
|
80
|
+
height: 88px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
img {
|
|
84
|
+
height: 100%;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
p {
|
|
89
|
+
margin-bottom: 0.5rem;
|
|
90
|
+
font-weight: bold;
|
|
91
|
+
@include portrait-tablets {
|
|
92
|
+
margin-bottom: 1.5rem;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
small {
|
|
97
|
+
color: get-color(neutral, neutral-2);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&:not(:first-child) {
|
|
101
|
+
.gatsby-image-wrapper {
|
|
102
|
+
width: 100%;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
import { type StepGetFormProps } from './StepGetFormProps.types'
|
|
4
|
+
// import './StepGetForm.scss'
|
|
5
|
+
|
|
6
|
+
const StepGetForm: React.FC<StepGetFormProps> = ({ description, title = '', image }) => {
|
|
7
|
+
return (
|
|
8
|
+
<div className='homeStepsItem'>
|
|
9
|
+
{image != null && <div className={'step__image'}>{image}</div>}
|
|
10
|
+
<div className={'step__information'}>
|
|
11
|
+
<p className={'step__information__title sans-serif --big'}>{title}</p>
|
|
12
|
+
<small className={'sans-serif --small'}>{description}</small>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
)
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export default StepGetForm
|