@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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { StepRatafiaCardList } from '../../molecules';
|
|
3
|
-
import './StepsRatafiaContent.scss'
|
|
3
|
+
// import './StepsRatafiaContent.scss'
|
|
4
4
|
const StepsRatafiaContent = ({ title, steps }) => {
|
|
5
5
|
return (_jsxs("div", { className: 'steps-ratafia-content', children: [_jsx("h2", { className: 'sans-serif --super-large --bold-weight steps-ratafia-content__title', children: title }), _jsx(StepRatafiaCardList, { steps: steps })] }));
|
|
6
6
|
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React, { type FC } from 'react'
|
|
2
|
+
|
|
3
|
+
import { StepRatafiaCardList } from '../../molecules'
|
|
4
|
+
import { type StepsRatafiaContentProps } from './StepsRatafiaContentProps.types'
|
|
5
|
+
// import './StepsRatafiaContent.scss'
|
|
6
|
+
|
|
7
|
+
const StepsRatafiaContent: FC<StepsRatafiaContentProps> = ({ title, steps }) => {
|
|
8
|
+
return (
|
|
9
|
+
<div className='steps-ratafia-content'>
|
|
10
|
+
<h2 className='sans-serif --super-large --bold-weight steps-ratafia-content__title'>{title}</h2>
|
|
11
|
+
<StepRatafiaCardList steps={steps} />
|
|
12
|
+
</div>
|
|
13
|
+
)
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export default StepsRatafiaContent
|
package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type FC } from 'react';
|
|
2
2
|
import { type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types';
|
|
3
|
-
import './TryOurFreeLegalBlogsContent.scss';
|
|
4
3
|
declare const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps>;
|
|
5
4
|
export default TryOurFreeLegalBlogsContent;
|
package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { RichTextInner } from '../../atoms';
|
|
3
|
-
import './TryOurFreeLegalBlogsContent.scss'
|
|
3
|
+
// import './TryOurFreeLegalBlogsContent.scss'
|
|
4
4
|
const TryOurFreeLegalBlogsContent = ({ title, image, children }) => {
|
|
5
5
|
return (_jsxs(_Fragment, { children: [_jsxs("div", { className: 'try-our-free-legal-blogs-section__texts', children: [_jsx("h2", { className: 'try-our-free-legal-blogs-section__texts__title', children: title }), _jsx(RichTextInner, { customClass: 'try-our-free-legal-blogs-section__texts__body', children: children })] }), _jsx("div", { className: 'try-our-free-legal-blogs-section__image', children: image })] }));
|
|
6
6
|
};
|
package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.try-our-free-legal-blogs-section {
|
|
5
|
+
&__texts {
|
|
6
|
+
flex-basis: 50%;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
margin-bottom: 1rem;
|
|
11
|
+
margin-right: 0;
|
|
12
|
+
color: get-color(neutral, neutral-1);
|
|
13
|
+
font-style: normal;
|
|
14
|
+
font-weight: 400;
|
|
15
|
+
letter-spacing: -0.3px;
|
|
16
|
+
|
|
17
|
+
@include landscape-tablets {
|
|
18
|
+
margin-right: 3rem;
|
|
19
|
+
margin-bottom: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__title {
|
|
23
|
+
font-family: $font-serif;
|
|
24
|
+
font-size: 28px;
|
|
25
|
+
line-height: 42px;
|
|
26
|
+
margin-bottom: 2rem;
|
|
27
|
+
text-align: center;
|
|
28
|
+
|
|
29
|
+
@include landscape-tablets {
|
|
30
|
+
text-align: left;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__body {
|
|
35
|
+
font-family: $font-sans;
|
|
36
|
+
font-size: 16px;
|
|
37
|
+
line-height: 22px;
|
|
38
|
+
|
|
39
|
+
a {
|
|
40
|
+
color: get-color(primary, main-light-1);
|
|
41
|
+
font-weight: 400 !important;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&__image {
|
|
47
|
+
flex-basis: 50%;
|
|
48
|
+
}
|
|
49
|
+
}
|
package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { type FC } from 'react'
|
|
2
|
+
|
|
3
|
+
import { RichTextInner } from '../../atoms'
|
|
4
|
+
import { type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types'
|
|
5
|
+
// import './TryOurFreeLegalBlogsContent.scss'
|
|
6
|
+
|
|
7
|
+
const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps> = ({ title, image, children }) => {
|
|
8
|
+
return (
|
|
9
|
+
<>
|
|
10
|
+
<div className='try-our-free-legal-blogs-section__texts'>
|
|
11
|
+
<h2 className='try-our-free-legal-blogs-section__texts__title'>{title}</h2>
|
|
12
|
+
<RichTextInner customClass='try-our-free-legal-blogs-section__texts__body'>{children}</RichTextInner>
|
|
13
|
+
</div>
|
|
14
|
+
<div className='try-our-free-legal-blogs-section__image'>{image}</div>
|
|
15
|
+
</>
|
|
16
|
+
)
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export default TryOurFreeLegalBlogsContent
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export * from './AboutUsContent'
|
|
2
|
+
export * from './Accordion'
|
|
3
|
+
export * from './ArticlesList'
|
|
4
|
+
export * from './AsSeeInContent'
|
|
5
|
+
export * from './CardFuncionality'
|
|
6
|
+
export * from './ContactJumbotron'
|
|
7
|
+
export * from './CookiePolicyBar'
|
|
8
|
+
export * from './ErrorContentRatafia'
|
|
9
|
+
export * from './FaqGroup'
|
|
10
|
+
export * from './FeaturesRatafiaContent'
|
|
11
|
+
export * from './GuidelinesContent'
|
|
12
|
+
export * from './JumbotronRatafiaContent'
|
|
13
|
+
export * from './KeyFactsLoadingContentRatafia'
|
|
14
|
+
export * from './KeyFactsResultContentRatafia'
|
|
15
|
+
export * from './LanguageSelector'
|
|
16
|
+
export * from './LanguageSelectorMobile'
|
|
17
|
+
export * from './LayoutRatafia'
|
|
18
|
+
export * from './ListStepsGetForm'
|
|
19
|
+
export * from './LoginRatafiaContent'
|
|
20
|
+
export * from './MobileBottomBar'
|
|
21
|
+
export * from './StepsRatafiaContent'
|
|
22
|
+
export * from './TryOurFreeLegalBlogsContent'
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
AboutUsSection,
|
|
5
|
+
AsSeeInSection,
|
|
6
|
+
ExpertsSection,
|
|
7
|
+
GuidelinesSection,
|
|
8
|
+
PeopleSayAboutUsSection,
|
|
9
|
+
TryOurFreeLegalBlogsSection,
|
|
10
|
+
TryUsSection
|
|
11
|
+
} from '../../sections'
|
|
12
|
+
import { type AboutUsPageProps } from './AboutUsPageProps'
|
|
13
|
+
|
|
14
|
+
export const AboutUsPage: React.FC<AboutUsPageProps> = ({
|
|
15
|
+
aboutUsSectionProps,
|
|
16
|
+
tryOurFreeLegalBlogsSectionProps,
|
|
17
|
+
peopleSayAboutUsSectionProps,
|
|
18
|
+
guidelinesSectionProps,
|
|
19
|
+
tryUsSectionProps,
|
|
20
|
+
expertsSectionProps,
|
|
21
|
+
asSeeInSectionProps,
|
|
22
|
+
isJonSnow = false
|
|
23
|
+
}) => {
|
|
24
|
+
return (
|
|
25
|
+
<>
|
|
26
|
+
{aboutUsSectionProps != null && <AboutUsSection {...aboutUsSectionProps} />}
|
|
27
|
+
{tryOurFreeLegalBlogsSectionProps != null && (
|
|
28
|
+
<TryOurFreeLegalBlogsSection {...tryOurFreeLegalBlogsSectionProps} />
|
|
29
|
+
)}
|
|
30
|
+
{!isJonSnow && peopleSayAboutUsSectionProps != null && (
|
|
31
|
+
<PeopleSayAboutUsSection {...peopleSayAboutUsSectionProps} />
|
|
32
|
+
)}
|
|
33
|
+
{guidelinesSectionProps != null && (
|
|
34
|
+
<GuidelinesSection {...guidelinesSectionProps}>
|
|
35
|
+
{guidelinesSectionProps.contentGuidelines?.children}
|
|
36
|
+
</GuidelinesSection>
|
|
37
|
+
)}
|
|
38
|
+
{tryUsSectionProps != null && <TryUsSection {...tryUsSectionProps}>{tryUsSectionProps.children}</TryUsSection>}
|
|
39
|
+
{expertsSectionProps != null && <ExpertsSection {...expertsSectionProps} />}
|
|
40
|
+
{!isJonSnow && asSeeInSectionProps != null && <AsSeeInSection {...asSeeInSectionProps} />}
|
|
41
|
+
</>
|
|
42
|
+
)
|
|
43
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type {
|
|
2
|
+
AboutUsSectionProps,
|
|
3
|
+
AsSeeInSectionProps,
|
|
4
|
+
ExpertsSectionProps,
|
|
5
|
+
GuidelinesSectionProps,
|
|
6
|
+
PeopleSayAboutUsSectionProps,
|
|
7
|
+
TryOurFreeLegalBlogsSectionProps,
|
|
8
|
+
TryUsSectionProps
|
|
9
|
+
} from '../../sections'
|
|
10
|
+
|
|
11
|
+
export interface AboutUsPageProps {
|
|
12
|
+
aboutUsSectionProps?: AboutUsSectionProps
|
|
13
|
+
tryOurFreeLegalBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
|
|
14
|
+
peopleSayAboutUsSectionProps?: PeopleSayAboutUsSectionProps
|
|
15
|
+
guidelinesSectionProps?: GuidelinesSectionProps
|
|
16
|
+
tryUsSectionProps?: TryUsSectionProps
|
|
17
|
+
expertsSectionProps?: ExpertsSectionProps
|
|
18
|
+
asSeeInSectionProps?: AsSeeInSectionProps
|
|
19
|
+
isJonSnow?: boolean
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
import { ContactSection, JumbotronSimplifiedSection } from '../../sections'
|
|
4
|
+
import { type ContactUsPageProps } from './ContactUsPageProps'
|
|
5
|
+
import { PhoneContactBoxMobile } from '../../molecules'
|
|
6
|
+
|
|
7
|
+
export const ContactUsPage: React.FC<ContactUsPageProps> = ({
|
|
8
|
+
jumbotronSimplifiedSectionProps,
|
|
9
|
+
phoneContactBox,
|
|
10
|
+
contactProps,
|
|
11
|
+
isJonSnow = false
|
|
12
|
+
}) => {
|
|
13
|
+
return (
|
|
14
|
+
<>
|
|
15
|
+
<JumbotronSimplifiedSection {...jumbotronSimplifiedSectionProps} />
|
|
16
|
+
{!isJonSnow && <PhoneContactBoxMobile {...phoneContactBox} />}
|
|
17
|
+
<ContactSection {...contactProps} />
|
|
18
|
+
</>
|
|
19
|
+
)
|
|
20
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type ContactSectionProps, type JumbotronSimplifiedSectionProps } from '../../sections'
|
|
2
|
+
import { type PhoneContactBoxMobileProps } from '../../molecules'
|
|
3
|
+
|
|
4
|
+
export interface ContactUsPageProps {
|
|
5
|
+
jumbotronSimplifiedSectionProps: JumbotronSimplifiedSectionProps
|
|
6
|
+
phoneContactBox: PhoneContactBoxMobileProps
|
|
7
|
+
contactProps: ContactSectionProps
|
|
8
|
+
isJonSnow?: boolean
|
|
9
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.error-ratafia-page {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
align-items: flex-start;
|
|
8
|
+
flex: 1 0 0;
|
|
9
|
+
align-self: stretch;
|
|
10
|
+
gap: 1.5rem;
|
|
11
|
+
background-color: get-color(neutral, neutral-6);
|
|
12
|
+
|
|
13
|
+
&__ctas {
|
|
14
|
+
text-align: center;
|
|
15
|
+
&__button {
|
|
16
|
+
display: block;
|
|
17
|
+
width: 100%;
|
|
18
|
+
&:first-child {
|
|
19
|
+
margin-bottom: 1rem;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
@include portrait-tablets {
|
|
23
|
+
display: inline-grid;
|
|
24
|
+
width: inherit;
|
|
25
|
+
|
|
26
|
+
&:first-child {
|
|
27
|
+
margin-right: 1rem;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
import { Button } from '../../atoms'
|
|
4
|
+
import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia'
|
|
5
|
+
import { ErrorContentRatafia } from '../../organisms'
|
|
6
|
+
import { type ErrorRatafiaPageProps } from './ErrorRatafiaPageProps.types'
|
|
7
|
+
import { LayoutRatafia } from '../../organisms/LayoutRatafia'
|
|
8
|
+
// import './ErrorRatafiaPage.scss'
|
|
9
|
+
|
|
10
|
+
export const ErrorRatafiaPage: React.FC<ErrorRatafiaPageProps> = ({
|
|
11
|
+
header,
|
|
12
|
+
errorContent,
|
|
13
|
+
disclaimer,
|
|
14
|
+
goToDashboardCta,
|
|
15
|
+
tryAgainCta
|
|
16
|
+
}) => {
|
|
17
|
+
const ctas = (
|
|
18
|
+
<div className='error-ratafia-page__ctas'>
|
|
19
|
+
<Button
|
|
20
|
+
givenClass='error-ratafia-page__ctas__button'
|
|
21
|
+
dataQa={tryAgainCta.dataQa}
|
|
22
|
+
color='primary'
|
|
23
|
+
label={tryAgainCta.label}
|
|
24
|
+
onClick={tryAgainCta.handleOnClick}
|
|
25
|
+
link={tryAgainCta.link}
|
|
26
|
+
/>
|
|
27
|
+
<Button
|
|
28
|
+
givenClass='error-ratafia-page__ctas__button'
|
|
29
|
+
dataQa={goToDashboardCta.dataQa}
|
|
30
|
+
color='secondary'
|
|
31
|
+
label={goToDashboardCta.label}
|
|
32
|
+
onClick={goToDashboardCta.handleOnClick}
|
|
33
|
+
link={goToDashboardCta.link}
|
|
34
|
+
/>
|
|
35
|
+
</div>
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
const content = <ErrorContentRatafia title={errorContent.title} errorMessage={errorContent.errorMessage} />
|
|
39
|
+
|
|
40
|
+
const footerDesktop = (
|
|
41
|
+
<DisclaimerRatafia
|
|
42
|
+
icon={disclaimer.icon}
|
|
43
|
+
text={disclaimer.text}
|
|
44
|
+
copyrightText={disclaimer.copyrightText}
|
|
45
|
+
ctaTextShowDisclaimer={disclaimer.ctaTextShowDisclaimer}
|
|
46
|
+
ctaTextCloseDisclaimer={disclaimer.ctaTextCloseDisclaimer}
|
|
47
|
+
/>
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
const footerMobile = (
|
|
51
|
+
<>
|
|
52
|
+
{footerDesktop}
|
|
53
|
+
{ctas}
|
|
54
|
+
</>
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
return (
|
|
58
|
+
<div className='error-ratafia-page'>
|
|
59
|
+
<LayoutRatafia
|
|
60
|
+
header={header}
|
|
61
|
+
content={content}
|
|
62
|
+
cta={ctas}
|
|
63
|
+
footerDesktop={footerDesktop}
|
|
64
|
+
footerMobile={footerMobile}
|
|
65
|
+
/>
|
|
66
|
+
</div>
|
|
67
|
+
)
|
|
68
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { DisclaimerRatafiaProps } from '../../atoms'
|
|
2
|
+
import { type ErrorContentRatafiaProps } from '../../organisms'
|
|
3
|
+
import { type HeaderRatafiaProps } from '../../molecules'
|
|
4
|
+
|
|
5
|
+
export interface ErrorRatafiaPageProps {
|
|
6
|
+
header: HeaderRatafiaProps
|
|
7
|
+
errorContent: ErrorContentRatafiaProps
|
|
8
|
+
disclaimer: DisclaimerRatafiaProps
|
|
9
|
+
tryAgainCta: cta
|
|
10
|
+
goToDashboardCta: cta
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
interface cta {
|
|
14
|
+
label: string
|
|
15
|
+
link?: string
|
|
16
|
+
handleOnClick?: (functionParameters?: any) => () => void
|
|
17
|
+
dataQa: string
|
|
18
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { AsideMenuSection, FaqSection } from '../../sections';
|
|
3
|
-
import './FaqsPage.scss'
|
|
3
|
+
// import './FaqsPage.scss'
|
|
4
4
|
export const FaqsPage = ({ title, subtitle, asideMenuSectionProps, faqSectionProps }) => {
|
|
5
5
|
return (_jsxs("div", { className: 'faq-page', children: [_jsxs("div", { className: 'titles', children: [_jsx("h1", { className: 'title', children: title }), _jsx("h2", { className: 'subtitle', children: subtitle })] }), _jsxs("div", { className: 'main-content', children: [_jsx(AsideMenuSection, { ...asideMenuSectionProps }), _jsx(FaqSection, { ...faqSectionProps })] })] }));
|
|
6
6
|
};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.faq-page {
|
|
5
|
+
.titles {
|
|
6
|
+
display: flex;
|
|
7
|
+
padding: 40px 24px;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
align-items: center;
|
|
10
|
+
gap: 8px;
|
|
11
|
+
background: get-color(primary, main-light-6);
|
|
12
|
+
|
|
13
|
+
@include landscape-tablets {
|
|
14
|
+
padding: 40px 32px 80px 32px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.title {
|
|
18
|
+
color: get-color(neutral, neutral-2);
|
|
19
|
+
font-family: $font-sans;
|
|
20
|
+
font-size: 14px;
|
|
21
|
+
line-height: 18px;
|
|
22
|
+
letter-spacing: -0.3px;
|
|
23
|
+
border-bottom: get-color(neutral, neutral-2) 1px solid;
|
|
24
|
+
padding-bottom: 8px;
|
|
25
|
+
margin-bottom: 8px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.subtitle {
|
|
29
|
+
color: get-color(neutral, main);
|
|
30
|
+
font-family: $font-serif;
|
|
31
|
+
font-size: 36px;
|
|
32
|
+
line-height: 48px;
|
|
33
|
+
font-weight: 400;
|
|
34
|
+
letter-spacing: -0.3px;
|
|
35
|
+
|
|
36
|
+
@include landscape-tablets {
|
|
37
|
+
font-size: 48px;
|
|
38
|
+
line-height: 58px;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.main-content {
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-direction: row;
|
|
46
|
+
padding: 32px 24px;
|
|
47
|
+
gap: $global-gap;
|
|
48
|
+
background: get-color(primary, main-light-6);
|
|
49
|
+
justify-content: center;
|
|
50
|
+
|
|
51
|
+
@include mobile {
|
|
52
|
+
flex-direction: column;
|
|
53
|
+
gap: $global-gap * 3;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@include landscape-tablets {
|
|
57
|
+
padding: 32px;
|
|
58
|
+
gap: 106px;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
import { AsideMenuSection, FaqSection } from '../../sections'
|
|
4
|
+
import { type FaqsPageProps } from './FaqsPageProps'
|
|
5
|
+
// import './FaqsPage.scss'
|
|
6
|
+
|
|
7
|
+
export const FaqsPage: React.FC<FaqsPageProps> = ({ title, subtitle, asideMenuSectionProps, faqSectionProps }) => {
|
|
8
|
+
return (
|
|
9
|
+
<div className='faq-page'>
|
|
10
|
+
<div className='titles'>
|
|
11
|
+
<h1 className='title'>{title}</h1>
|
|
12
|
+
<h2 className='subtitle'>{subtitle}</h2>
|
|
13
|
+
</div>
|
|
14
|
+
<div className='main-content'>
|
|
15
|
+
<AsideMenuSection {...asideMenuSectionProps} />
|
|
16
|
+
<FaqSection {...faqSectionProps} />
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
)
|
|
20
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.key-facts-result-page {
|
|
5
|
+
background-color: get-color(neutral, neutral-6);
|
|
6
|
+
&__content {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
align-items: flex-start;
|
|
10
|
+
flex: 1 0 0;
|
|
11
|
+
align-self: stretch;
|
|
12
|
+
gap: 1.5rem;
|
|
13
|
+
|
|
14
|
+
&__cta {
|
|
15
|
+
align-self: start;
|
|
16
|
+
display: block;
|
|
17
|
+
width: 100%;
|
|
18
|
+
@include portrait-tablets {
|
|
19
|
+
display: inline-block;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
import { KeyFactsLoadingContentRatafia, KeyFactsResultContentRatafia } from '../../organisms'
|
|
4
|
+
import { Button } from '../../atoms'
|
|
5
|
+
import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia'
|
|
6
|
+
import { type KeyFactsResultRatafiaPageProps } from './KeyFactsResultRatafiaPageProps.types'
|
|
7
|
+
import { LayoutRatafia } from '../../organisms/LayoutRatafia'
|
|
8
|
+
// import './KeyFactsResultRatafiaPage.scss'
|
|
9
|
+
|
|
10
|
+
export const KeyFactsResultRatafiaPage: React.FC<KeyFactsResultRatafiaPageProps> = ({
|
|
11
|
+
header,
|
|
12
|
+
resultContent,
|
|
13
|
+
reviewContent,
|
|
14
|
+
disclaimer,
|
|
15
|
+
cta,
|
|
16
|
+
loadingIcon,
|
|
17
|
+
loadingText,
|
|
18
|
+
isLoading
|
|
19
|
+
}) => {
|
|
20
|
+
const loadingContent = (
|
|
21
|
+
<div className='key-facts-result-page__content'>
|
|
22
|
+
<KeyFactsLoadingContentRatafia documentName={resultContent.documentName} icon={loadingIcon} text={loadingText} />
|
|
23
|
+
</div>
|
|
24
|
+
)
|
|
25
|
+
const loadedContent = (
|
|
26
|
+
<div className='key-facts-result-page__content'>
|
|
27
|
+
<KeyFactsResultContentRatafia result={resultContent} review={reviewContent} />
|
|
28
|
+
</div>
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
const ctaButton = isLoading ? null : (
|
|
32
|
+
<Button
|
|
33
|
+
givenClass='key-facts-result-page__content__cta'
|
|
34
|
+
dataQa={cta.dataQa}
|
|
35
|
+
color='primary'
|
|
36
|
+
label={cta.label}
|
|
37
|
+
onClick={cta.handleOnClick}
|
|
38
|
+
noLink
|
|
39
|
+
/>
|
|
40
|
+
)
|
|
41
|
+
|
|
42
|
+
const footerDesktop = (
|
|
43
|
+
<div className='key-facts-result-page__footer-desktop'>
|
|
44
|
+
<DisclaimerRatafia
|
|
45
|
+
icon={disclaimer.icon}
|
|
46
|
+
text={disclaimer.text}
|
|
47
|
+
copyrightText={disclaimer.copyrightText}
|
|
48
|
+
ctaTextShowDisclaimer={disclaimer.ctaTextShowDisclaimer}
|
|
49
|
+
ctaTextCloseDisclaimer={disclaimer.ctaTextCloseDisclaimer}
|
|
50
|
+
/>
|
|
51
|
+
</div>
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
const footerMobile = (
|
|
55
|
+
<>
|
|
56
|
+
{footerDesktop}
|
|
57
|
+
{ctaButton}
|
|
58
|
+
</>
|
|
59
|
+
)
|
|
60
|
+
|
|
61
|
+
return (
|
|
62
|
+
<div className='key-facts-result-page'>
|
|
63
|
+
<LayoutRatafia
|
|
64
|
+
header={header}
|
|
65
|
+
content={isLoading ? loadingContent : loadedContent}
|
|
66
|
+
cta={ctaButton}
|
|
67
|
+
footerDesktop={footerDesktop}
|
|
68
|
+
footerMobile={footerMobile}
|
|
69
|
+
/>
|
|
70
|
+
</div>
|
|
71
|
+
)
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export default KeyFactsResultRatafiaPage
|
package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPageProps.types.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { DisclaimerRatafiaProps, ReviewKeyFactsResultRatafiaProps } from '../../atoms'
|
|
2
|
+
import { type HeaderRatafiaProps } from '../../molecules'
|
|
3
|
+
import { type KeyFactsResultProps } from '../../organisms'
|
|
4
|
+
|
|
5
|
+
export interface KeyFactsResultRatafiaPageProps {
|
|
6
|
+
header: HeaderRatafiaProps
|
|
7
|
+
resultContent: KeyFactsResultProps
|
|
8
|
+
reviewContent: ReviewKeyFactsResultRatafiaProps
|
|
9
|
+
disclaimer: DisclaimerRatafiaProps
|
|
10
|
+
cta: KeyFactsResultCta
|
|
11
|
+
loadingIcon?: React.ReactNode
|
|
12
|
+
loadingText?: React.ReactNode
|
|
13
|
+
isLoading: boolean
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
interface KeyFactsResultCta {
|
|
17
|
+
label: string
|
|
18
|
+
handleOnClick?: (functionParameters?: any) => () => void
|
|
19
|
+
dataQa: string
|
|
20
|
+
}
|