@npm_leadtech/legal-lib-components 4.1.16 → 4.1.18
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/images/componentsSvg/ArrowRight.js +2 -0
- package/dist/images/componentsSvg/ChevronExpandLess.js +2 -0
- package/dist/images/componentsSvg/ChevronExpandMore.js +2 -0
- package/dist/images/componentsSvg/ChevronRight.js +2 -0
- package/dist/images/componentsSvg/ChevronRight24px.js +2 -0
- package/dist/images/componentsSvg/Done24px.js +2 -0
- package/dist/images/componentsSvg/Done24pxoutlined.js +4 -0
- package/dist/images/componentsSvg/InfoError24pxOutlined.js +2 -0
- package/dist/images/componentsSvg/MailSvg.js +4 -0
- package/dist/images/componentsSvg/MenuCollapse24p.js +2 -0
- package/dist/images/componentsSvg/NewRelease24p.js +2 -0
- package/dist/images/componentsSvg/SvgProps.js +1 -0
- package/dist/images/componentsSvg/SymbolDoc.js +4 -0
- package/dist/images/componentsSvg/Time24px.js +2 -0
- package/dist/images/componentsSvg/flags/GBFlag.js +4 -0
- package/dist/images/componentsSvg/flags/USFlag.js +4 -0
- package/dist/images/componentsSvg/generalCategories/BusinessIconCategory.js +4 -0
- package/dist/images/componentsSvg/generalCategories/EmploymentIconCategory.js +4 -0
- package/dist/images/componentsSvg/generalCategories/FinanceIconCategory.js +4 -0
- package/dist/images/componentsSvg/generalCategories/PersonalFamilyIconCategory.js +4 -0
- package/dist/images/componentsSvg/generalCategories/RealEstateIconCategory.js +4 -0
- package/dist/images/componentsSvg/generalCategories/index.js +5 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.js +6 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCardProps.types.js +1 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/index.js +1 -0
- package/dist/src/components/atoms/AddButton/AddButton.js +6 -0
- package/dist/src/components/atoms/AddButton/AddButtonProps.types.js +1 -0
- package/dist/src/components/atoms/AddButton/index.js +1 -0
- package/dist/src/components/atoms/BaseBox/BaseBox.js +15 -0
- package/dist/src/components/atoms/BaseBox/BaseBox.styled.js +24 -0
- package/dist/src/components/atoms/BaseBox/BaseBoxProps.types.js +1 -0
- package/dist/src/components/atoms/BaseBox/index.js +1 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.js +6 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCardProps.types.js +1 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/index.js +1 -0
- package/dist/src/components/atoms/BillCard/BillCard.js +6 -0
- package/dist/src/components/atoms/BillCard/BillCardProps.types.js +1 -0
- package/dist/src/components/atoms/BillCard/index.js +1 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.js +7 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenuProps.types.js +1 -0
- package/dist/src/components/atoms/BottomOverlayMenu/index.js +1 -0
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.js +7 -0
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItemProps.types.js +1 -0
- package/dist/src/components/atoms/BreadcrumItem/index.js +1 -0
- package/dist/src/components/atoms/Button/Button.js +54 -0
- package/dist/src/components/atoms/Button/ButtonProps.types.js +1 -0
- package/dist/src/components/atoms/Button/index.js +1 -0
- package/dist/src/components/atoms/ButtonIcon/ButtonIcon.js +26 -0
- package/dist/src/components/atoms/ButtonIcon/ButtonIconProps.types.js +1 -0
- package/dist/src/components/atoms/ButtonIcon/index.js +1 -0
- package/dist/src/components/atoms/CardPane/CardPane.js +9 -0
- package/dist/src/components/atoms/CardPane/CardPaneInfo.js +15 -0
- package/dist/src/components/atoms/CardPane/CardPaneProps.types.js +1 -0
- package/dist/src/components/atoms/CardPane/index.js +1 -0
- package/dist/src/components/atoms/Checkbox/Checkbox.js +7 -0
- package/dist/src/components/atoms/Checkbox/CheckboxProps.types.js +1 -0
- package/dist/src/components/atoms/Checkbox/index.js +1 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.js +79 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustomProps.types.js +1 -0
- package/dist/src/components/atoms/DatePickerCustom/index.js +1 -14680
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.js +53 -0
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIconProps.types.js +1 -0
- package/dist/src/components/atoms/DialogMenuIcon/index.js +1 -0
- package/dist/src/components/atoms/Disclaimer/Disclaimer.js +9 -0
- package/dist/src/components/atoms/Disclaimer/DisclaimerProps.types.js +1 -0
- package/dist/src/components/atoms/Disclaimer/index.js +1 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.js +21 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafiaProps.js +1 -0
- package/dist/src/components/atoms/DisclaimerRatafia/index.js +1 -0
- package/dist/src/components/atoms/Divider/Divider.js +8 -0
- package/dist/src/components/atoms/Divider/DividerProps.types.js +1 -0
- package/dist/src/components/atoms/Divider/index.js +1 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.js +15 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.js +1 -0
- package/dist/src/components/atoms/DocumentStatus/index.js +1 -0
- package/dist/src/components/atoms/DocumentTag/DocumentTag.js +7 -0
- package/dist/src/components/atoms/DocumentTag/DocumentTagProps.js +1 -0
- package/dist/src/components/atoms/DocumentTag/index.js +1 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCard.js +6 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCardProps.types.js +1 -0
- package/dist/src/components/atoms/ExpertCard/index.js +1 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.js +6 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCardProps.types.js +1 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/index.js +1 -0
- package/dist/src/components/atoms/FormFaq/FormFaq.js +6 -0
- package/dist/src/components/atoms/FormFaq/FormFaqProps.types.js +1 -0
- package/dist/src/components/atoms/FormFaq/index.js +1 -0
- package/dist/src/components/atoms/GoogleButton/GoogleButton.js +7 -0
- package/dist/src/components/atoms/GoogleButton/GoogleButtonProps.types.js +1 -0
- package/dist/src/components/atoms/GoogleButton/index.js +1 -0
- package/dist/src/components/atoms/IconImage/IconImage.js +9 -0
- package/dist/src/components/atoms/IconImage/IconImageProps.types.js +1 -0
- package/dist/src/components/atoms/IconImage/index.js +1 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.js +15 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColorProps.types.js +1 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/index.js +1 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.js +6 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.types.js +1 -0
- package/dist/src/components/atoms/IconTextInfoSection/index.js +1 -0
- package/dist/src/components/atoms/InfoBox/InfoBox.js +7 -0
- package/dist/src/components/atoms/InfoBox/InfoBoxProps.types.js +1 -0
- package/dist/src/components/atoms/InfoBox/index.js +1 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.js +5 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStaticProps.types.js +1 -0
- package/dist/src/components/atoms/JumbotronStatic/index.js +1 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.js +6 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCardProps.types.js +1 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/index.js +1 -0
- package/dist/src/components/atoms/Logo/Logo.js +48 -0
- package/dist/src/components/atoms/Logo/LogoProps.types.js +1 -0
- package/dist/src/components/atoms/Logo/index.js +1 -0
- package/dist/src/components/atoms/LogoText/LogoText.js +6 -0
- package/dist/src/components/atoms/LogoText/LogoTextProps.types.js +1 -0
- package/dist/src/components/atoms/LogoText/index.js +1 -0
- package/dist/src/components/atoms/MenuItems/MenuItemProps.types.js +1 -0
- package/dist/src/components/atoms/MenuItems/MenuItems.js +41 -0
- package/dist/src/components/atoms/MenuItems/index.js +1 -0
- package/dist/src/components/atoms/Message/Message.js +8 -0
- package/dist/src/components/atoms/Message/MessageProps.types.js +1 -0
- package/dist/src/components/atoms/Message/index.js +1 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformation.js +6 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformationProps.types.js +1 -0
- package/dist/src/components/atoms/MessageInformation/index.js +1 -0
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.js +12 -0
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItemProps.js +1 -0
- package/dist/src/components/atoms/MoreDocsItem/index.js +2 -0
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.js +8 -0
- package/dist/src/components/atoms/NavMenuItem/NavMenuItemProps.js +1 -0
- package/dist/src/components/atoms/NavMenuItem/index.js +2 -0
- package/dist/src/components/atoms/PaypalButton/PaypalButton.js +7 -0
- package/dist/src/components/atoms/PaypalButton/PaypalButtonProps.types.js +1 -0
- package/dist/src/components/atoms/PaypalButton/index.js +1 -0
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.js +7 -0
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItemProps.js +1 -0
- package/dist/src/components/atoms/PopularDocsItem/index.js +2 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBar.js +7 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBarProps.types.js +1 -0
- package/dist/src/components/atoms/ProgressBar/index.js +1 -0
- package/dist/src/components/atoms/Radio/Radio.js +20 -0
- package/dist/src/components/atoms/Radio/RadioProps.types.js +1 -0
- package/dist/src/components/atoms/Radio/index.js +1 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButton.js +7 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButtonProps.types.js +1 -0
- package/dist/src/components/atoms/RemoveButton/index.js +1 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.js +6 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafiaProps.types.js +1 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/index.js +1 -0
- package/dist/src/components/atoms/RichTextInner/RichTextInner.js +4 -0
- package/dist/src/components/atoms/RichTextInner/RichTextInnerProps.types.js +1 -0
- package/dist/src/components/atoms/RichTextInner/index.js +1 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextMedia.js +1 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.js +9 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapiProps.js +1 -0
- package/dist/src/components/atoms/RichTextStrapi/index.js +1 -0
- package/dist/src/components/atoms/RichTextStrapi/useFormattedText.js +24 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.js +55 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelectProps.types.js +1 -0
- package/dist/src/components/atoms/SearchSelect/index.js +1 -0
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.js +13 -0
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBoxProps.js +1 -0
- package/dist/src/components/atoms/ShowMoreBox/index.js +1 -0
- package/dist/src/components/atoms/SidemenuTab/SideMenuTabProps.types.js +1 -0
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.js +17 -0
- package/dist/src/components/atoms/SidemenuTab/index.js +1 -0
- package/dist/src/components/atoms/Spinner/Spinner.js +6 -0
- package/dist/src/components/atoms/Spinner/SpinnerProps.types.js +1 -0
- package/dist/src/components/atoms/Spinner/index.js +1 -0
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.js +6 -0
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCardProps.types.js +1 -0
- package/dist/src/components/atoms/StepRatafiaCard/index.js +1 -0
- package/dist/src/components/atoms/Tag/Tag.js +5 -0
- package/dist/src/components/atoms/Tag/TagProps.js +1 -0
- package/dist/src/components/atoms/Tag/index.js +2 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.js +6 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItemProps.types.js +1 -0
- package/dist/src/components/atoms/TagRatafiaItem/index.js +1 -0
- package/dist/src/components/atoms/Tagline/Tagline.js +5 -0
- package/dist/src/components/atoms/Tagline/TaglineProps.types.js +1 -0
- package/dist/src/components/atoms/Tagline/index.js +1 -0
- package/dist/src/components/atoms/TestAB/TestAB.js +23 -0
- package/dist/src/components/atoms/TextArea/TextArea.js +9 -0
- package/dist/src/components/atoms/TextArea/TextAreaProps.types.js +1 -0
- package/dist/src/components/atoms/TextArea/index.js +1 -0
- package/dist/src/components/atoms/Toggle/Toggle.js +6 -0
- package/dist/src/components/atoms/Toggle/ToggleProps.types.js +1 -0
- package/dist/src/components/atoms/Toggle/index.js +1 -0
- package/dist/src/components/atoms/Tooltip/Tooltip.js +14 -0
- package/dist/src/components/atoms/Tooltip/TooltipProps.types.js +1 -0
- package/dist/src/components/atoms/Tooltip/index.js +1 -0
- package/dist/src/components/atoms/TopBar/TopBar.js +12 -0
- package/dist/src/components/atoms/TopBar/TopBarProps.types.js +1 -0
- package/dist/src/components/atoms/TopBar/index.js +1 -0
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.js +9 -0
- package/dist/src/components/atoms/TopBarMobile/index.js +1 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilot.js +6 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilotProps.types.js +1 -0
- package/dist/src/components/atoms/TrustPilot/index.js +1 -0
- package/dist/src/components/atoms/Video/Video.js +9 -0
- package/dist/src/components/atoms/Video/VideoProps.types.js +1 -0
- package/dist/src/components/atoms/Video/index.js +1 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.js +8 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItemsProps.types.js +1 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/index.js +1 -0
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.js +7 -0
- package/dist/src/components/atoms/WideInfoBar/index.js +1 -0
- package/dist/src/components/atoms/index.js +60 -0
- package/dist/src/components/molecules/AccordionItem/AccordionItem.js +23 -0
- package/dist/src/components/molecules/AccordionItem/AccordionItemProps.types.js +1 -0
- package/dist/src/components/molecules/AccordionItem/index.js +1 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.js +9 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardListProps.types.js +1 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/index.js +1 -0
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.js +10 -0
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAsProps.types.js +1 -0
- package/dist/src/components/molecules/AlsoKnownAs/index.js +1 -0
- package/dist/src/components/molecules/Article/Article.js +7 -0
- package/dist/src/components/molecules/Article/ArticleProps.types.js +1 -0
- package/dist/src/components/molecules/Article/index.js +1 -0
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.js +13 -0
- package/dist/src/components/molecules/BaseBoxList/BaseBoxListProps.types.js +1 -0
- package/dist/src/components/molecules/BaseBoxList/index.js +1 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.js +9 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.js +1 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/index.js +1 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.js +9 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBarProps.types.js +1 -0
- package/dist/src/components/molecules/BottomFixedBar/index.js +1 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.js +49 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlayProps.types.js +1 -0
- package/dist/src/components/molecules/BottomOverlay/index.js +1 -0
- package/dist/src/components/molecules/BoxForm/BoxForm.js +21 -0
- package/dist/src/components/molecules/BoxForm/BoxFormProps.types.js +1 -0
- package/dist/src/components/molecules/BoxForm/index.js +1 -0
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.js +7 -0
- package/dist/src/components/molecules/Breadcrumb/BreadcrumbProps.types.js +1 -0
- package/dist/src/components/molecules/Breadcrumb/index.js +1 -0
- package/dist/src/components/molecules/ContactBox/ContactBox.js +14 -0
- package/dist/src/components/molecules/ContactBox/ContactBoxProps.types.js +1 -0
- package/dist/src/components/molecules/ContactBox/index.js +1 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.js +13 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBannerProps.types.js +1 -0
- package/dist/src/components/molecules/ContinueEditingBanner/index.js +1 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.js +34 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessageProps.types.js +1 -0
- package/dist/src/components/molecules/CountDownMessage/index.js +1 -0
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.js +6 -0
- package/dist/src/components/molecules/EmailContactBox/EmailContactBoxProps.js +1 -0
- package/dist/src/components/molecules/EmailContactBox/index.js +2 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.js +10 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardListProps.types.js +1 -0
- package/dist/src/components/molecules/ExpertCardList/index.js +1 -0
- package/dist/src/components/molecules/FaqItem/FaqItem.js +12 -0
- package/dist/src/components/molecules/FaqItem/FaqItemProps.js +1 -0
- package/dist/src/components/molecules/FaqItem/index.js +2 -0
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.js +9 -0
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardListProps.types.js +1 -0
- package/dist/src/components/molecules/FeatureRatafiaCardList/index.js +1 -0
- package/dist/src/components/molecules/Feedback/Feedback.js +42 -0
- package/dist/src/components/molecules/Feedback/FeedbackProps.types.js +1 -0
- package/dist/src/components/molecules/Feedback/index.js +1 -0
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.js +22 -0
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.types.js +1 -0
- package/dist/src/components/molecules/FreeDocModalContent/index.js +1 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.js +7 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafiaProps.types.js +1 -0
- package/dist/src/components/molecules/HeaderRatafia/index.js +1 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.js +9 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafiaProps.types.js +1 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/index.js +1 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.js +10 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSectionProps.types.js +1 -0
- package/dist/src/components/molecules/MenuItemsSection/index.js +1 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.js +7 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContentProps.types.js +1 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/index.js +1 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.js +6 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSampleProps.types.js +1 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/index.js +1 -0
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.js +6 -0
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktopProps.js +1 -0
- package/dist/src/components/molecules/MoreDocsDesktop/index.js +2 -0
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.js +17 -0
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobileProps.js +1 -0
- package/dist/src/components/molecules/MoreDocsMobile/index.js +2 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.js +67 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDownProps.types.js +1 -0
- package/dist/src/components/molecules/NavBarDropDown/index.js +1 -0
- package/dist/src/components/molecules/Pagination/PageStepControl.js +21 -0
- package/dist/src/components/molecules/Pagination/PageStepControlProps.types.js +1 -0
- package/dist/src/components/molecules/Pagination/PageSteps.js +47 -0
- package/dist/src/components/molecules/Pagination/Pagination.js +24 -0
- package/dist/src/components/molecules/Pagination/PaginationProps.types.js +1 -0
- package/dist/src/components/molecules/Pagination/index.js +1 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.js +7 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktopProps.types.js +1 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/index.js +1 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.js +6 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobileProps.types.js +1 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/index.js +1 -0
- package/dist/src/components/molecules/PopularDocs/PopularDocs.js +6 -0
- package/dist/src/components/molecules/PopularDocs/PopularDocsProps.js +1 -0
- package/dist/src/components/molecules/PopularDocs/index.js +2 -0
- package/dist/src/components/molecules/PricingCard/PricingCard.js +30 -0
- package/dist/src/components/molecules/PricingCard/PricingCardProps.types.js +1 -0
- package/dist/src/components/molecules/PricingCard/index.js +1 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.js +42 -0
- package/dist/src/components/molecules/Snackbar/SnackbarProps.types.js +1 -0
- package/dist/src/components/molecules/Snackbar/index.js +1 -0
- package/dist/src/components/molecules/StepGetForm/StepGetForm.js +6 -0
- package/dist/src/components/molecules/StepGetForm/StepGetFormProps.types.js +1 -0
- package/dist/src/components/molecules/StepGetForm/index.js +1 -0
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.js +9 -0
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardListProps.types.js +1 -0
- package/dist/src/components/molecules/StepRatafiaCardList/index.js +1 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.js +9 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaListProps.types.js +1 -0
- package/dist/src/components/molecules/TagsRatafiaList/index.js +1 -0
- package/dist/src/components/molecules/TextInput/Input.js +15 -0
- package/dist/src/components/molecules/TextInput/TextInput.js +39 -0
- package/dist/src/components/molecules/TextInput/TextInputLabel.js +7 -0
- package/dist/src/components/molecules/TextInput/TextInputMessage.js +8 -0
- package/dist/src/components/molecules/TextInput/TextInputProps.types.js +1 -0
- package/dist/src/components/molecules/TextInput/TextInputTooltip.js +6 -0
- package/dist/src/components/molecules/TextInput/index.js +1 -0
- package/dist/src/components/molecules/TooltipMenu/TooltipMenu.js +9 -0
- package/dist/src/components/molecules/TooltipMenu/TooltipMenuProps.types.js +1 -0
- package/dist/src/components/molecules/TooltipMenu/index.js +1 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.js +6 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsitesProps.types.js +1 -0
- package/dist/src/components/molecules/TrustworthyWebsites/index.js +1 -0
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.js +7 -0
- package/dist/src/components/molecules/TypeModulesList/TypeModulesListProps.types.js +1 -0
- package/dist/src/components/molecules/TypeModulesList/index.js +1 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.js +7 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZoneProps.types.js +1 -0
- package/dist/src/components/molecules/UploadRatafiaZone/index.js +1 -0
- package/dist/src/components/molecules/index.js +41 -0
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.js +7 -0
- package/dist/src/components/organisms/AboutUsContent/AboutUsContentProps.types.js +1 -0
- package/dist/src/components/organisms/AboutUsContent/index.js +1 -0
- package/dist/src/components/organisms/Accordion/Accordion.context.js +80 -0
- package/dist/src/components/organisms/Accordion/Accordion.js +14 -0
- package/dist/src/components/organisms/Accordion/AccordionProps.types.js +1 -0
- package/dist/src/components/organisms/Accordion/index.js +2 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesList.js +9 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.js +1 -0
- package/dist/src/components/organisms/ArticlesList/index.js +1 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.js +11 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContentProps.types.js +1 -0
- package/dist/src/components/organisms/AsSeeInContent/index.js +1 -0
- package/dist/src/components/organisms/CardFuncionality/CardFuncionality.js +6 -0
- package/dist/src/components/organisms/CardFuncionality/CardFuncionalityProps.js +1 -0
- package/dist/src/components/organisms/CardFuncionality/index.js +2 -0
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.js +7 -0
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotronProps.types.js +1 -0
- package/dist/src/components/organisms/ContactJumbotron/index.js +1 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.js +6 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBarProps.js +1 -0
- package/dist/src/components/organisms/CookiePolicyBar/index.js +2 -0
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.js +5 -0
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafiaProps.types.js +1 -0
- package/dist/src/components/organisms/ErrorContentRatafia/index.js +1 -0
- package/dist/src/components/organisms/FaqGroup/FaqGroup.js +6 -0
- package/dist/src/components/organisms/FaqGroup/FaqGroupProps.js +1 -0
- package/dist/src/components/organisms/FaqGroup/index.js +2 -0
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.js +7 -0
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContentProps.types.js +1 -0
- package/dist/src/components/organisms/FeaturesRatafiaContent/index.js +1 -0
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.js +7 -0
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContentProps.types.js +1 -0
- package/dist/src/components/organisms/GuidelinesContent/index.js +1 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.js +7 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContentProps.types.js +1 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/index.js +1 -0
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.js +6 -0
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafiaProps.types.js +1 -0
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/index.js +1 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.js +8 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafiaProps.types.js +1 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/index.js +1 -0
- package/dist/src/components/organisms/LanguageSelector/LanguageSelector.js +33 -0
- package/dist/src/components/organisms/LanguageSelector/LanguageSelectorProps.js +1 -0
- package/dist/src/components/organisms/LanguageSelector/LenguageSelectorItem.js +1 -0
- package/dist/src/components/organisms/LanguageSelector/index.js +6 -0
- package/dist/src/components/organisms/LanguageSelector/useLanguageOptions.js +8 -0
- package/dist/src/components/organisms/LanguageSelector/useLanguageSelected.js +8 -0
- package/dist/src/components/organisms/LanguageSelector/useLanguagesSelector.js +24 -0
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.js +22 -0
- package/dist/src/components/organisms/LanguageSelectorMobile/index.js +1 -0
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.js +7 -0
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafiaProps.types.js +1 -0
- package/dist/src/components/organisms/LayoutRatafia/index.js +1 -0
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.js +9 -0
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetFormProps.types.js +1 -0
- package/dist/src/components/organisms/ListStepsGetForm/index.js +1 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.js +7 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContentProps.types.js +1 -0
- package/dist/src/components/organisms/LoginRatafiaContent/index.js +1 -0
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.js +22 -0
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.js +1 -0
- package/dist/src/components/organisms/MobileBottomBar/index.js +1 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.js +7 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContentProps.types.js +1 -0
- package/dist/src/components/organisms/StepsRatafiaContent/index.js +1 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +7 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +1 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.js +1 -0
- package/dist/src/components/organisms/index.js +22 -0
- package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +5 -0
- package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.js +1 -0
- package/dist/src/components/pages/AboutUsPage/index.js +2 -0
- package/dist/src/components/pages/ContactUsPage/ContactUsPage.js +6 -0
- package/dist/src/components/pages/ContactUsPage/ContactUsPageProps.js +1 -0
- package/dist/src/components/pages/ContactUsPage/index.js +2 -0
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.js +13 -0
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPageProps.types.js +1 -0
- package/dist/src/components/pages/ErrorRatafiaPage/index.js +1 -0
- package/dist/src/components/pages/FaqsPage/FaqsPage.js +6 -0
- package/dist/src/components/pages/FaqsPage/FaqsPageProps.js +1 -0
- package/dist/src/components/pages/FaqsPage/index.js +2 -0
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.js +15 -0
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPageProps.types.js +1 -0
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/index.js +1 -0
- package/dist/src/components/pages/LegalPage/LegalPage.js +6 -0
- package/dist/src/components/pages/LegalPage/LegalPageProps.js +1 -0
- package/dist/src/components/pages/LegalPage/index.js +2 -0
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.js +12 -0
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPageProps.js +1 -0
- package/dist/src/components/pages/LoginRatafiaPage/index.js +2 -0
- package/dist/src/components/pages/RatafiaLandingPage/RatafiaLandingPage.js +5 -0
- package/dist/src/components/pages/RatafiaLandingPage/RatafiaLandingPageProps.types.js +1 -0
- package/dist/src/components/pages/RatafiaLandingPage/index.js +2 -0
- package/dist/src/components/pages/UnsubscribePage/UnsubscribePage.js +6 -0
- package/dist/src/components/pages/UnsubscribePage/UnsubscribePageProps.js +1 -0
- package/dist/src/components/pages/UnsubscribePage/index.js +2 -0
- package/dist/src/components/pages/index.js +9 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +7 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.js +1 -0
- package/dist/src/components/sections/AboutUsSection/index.js +1 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.js +10 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.js +1 -0
- package/dist/src/components/sections/AsSeeInSection/index.js +1 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.js +5 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSectionProps.js +1 -0
- package/dist/src/components/sections/AsideMenuSection/index.js +2 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.js +7 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.js +1 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/index.js +1 -0
- package/dist/src/components/sections/BlogSection/BlogSection.js +10 -0
- package/dist/src/components/sections/BlogSection/BlogSectionProps.types.js +1 -0
- package/dist/src/components/sections/BlogSection/index.js +1 -0
- package/dist/src/components/sections/ContactSection/ContactSection.js +7 -0
- package/dist/src/components/sections/ContactSection/ContactSectionProps.js +1 -0
- package/dist/src/components/sections/ContactSection/index.js +1 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.js +10 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSectionProps.types.js +1 -0
- package/dist/src/components/sections/ExpertsSection/index.js +1 -0
- package/dist/src/components/sections/FaqSection/FaqSection.js +8 -0
- package/dist/src/components/sections/FaqSection/FaqSectionProps.js +1 -0
- package/dist/src/components/sections/FaqSection/index.js +2 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.js +7 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSectionProps.types.js +1 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/index.js +1 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.js +7 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSectionProps.types.js +1 -0
- package/dist/src/components/sections/GuidelinesSection/index.js +1 -0
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.js +10 -0
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSectionProps.types.js +1 -0
- package/dist/src/components/sections/HowGetYourFormsSection/index.js +1 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.js +7 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSectionProps.types.js +1 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/index.js +1 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.js +6 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSectionProps.types.js +1 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/index.js +1 -0
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.js +7 -0
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSectionProps.types.js +1 -0
- package/dist/src/components/sections/LearnMoreSection/index.js +1 -0
- package/dist/src/components/sections/LegalSection/LegalSection.js +6 -0
- package/dist/src/components/sections/LegalSection/LegalSectionProps.js +1 -0
- package/dist/src/components/sections/LegalSection/index.js +2 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.js +7 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSectionProps.types.js +1 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/index.js +1 -0
- package/dist/src/components/sections/MoreDocsSection/MoreDocsSection.js +12 -0
- package/dist/src/components/sections/MoreDocsSection/MoreDocsSectionProps.js +1 -0
- package/dist/src/components/sections/MoreDocsSection/index.js +2 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.js +7 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSectionProps.types.js +1 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/index.js +1 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.js +8 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSectionProps.types.js +1 -0
- package/dist/src/components/sections/StepsRatafiaSection/index.js +1 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.js +6 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSectionProps.types.js +1 -0
- package/dist/src/components/sections/TryItRatafiaSection/index.js +1 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +7 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSectionProps.types.js +1 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/index.js +1 -0
- package/dist/src/components/sections/TryUsSection/TryUsSection.js +6 -0
- package/dist/src/components/sections/TryUsSection/TryUsSectionProps.js +1 -0
- package/dist/src/components/sections/TryUsSection/index.js +1 -0
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.js +6 -0
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSectionProps.js +1 -0
- package/dist/src/components/sections/UnsubscribeSection/index.js +1 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.js +10 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSectionProps.types.js +1 -0
- package/dist/src/components/sections/WhyLawDistrictSection/index.js +1 -0
- package/dist/src/components/sections/index.js +24 -0
- package/dist/src/hooks/index.js +2 -0
- package/dist/src/hooks/useIntersectionObserver.js +22 -0
- package/dist/src/hooks/useIsMobileOrTable.js +26 -0
- package/dist/src/index.js +2 -0
- package/dist/src/utils/ProductCategory.js +8 -0
- package/dist/src/utils/getCategoryIcons.js +28 -0
- package/dist/src/utils/getDateFormatMMMMYYYY.js +3 -0
- package/dist/src/utils/getGatsbyImageSkeleton.js +4 -0
- package/dist/src/utils/getRichTextSkeleton.js +4 -0
- package/dist/src/utils/index.js +7 -0
- package/dist/src/utils/replaceAll.js +6 -0
- package/dist/src/utils/stringSlugify.js +3 -0
- package/package.json +1 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Article } from './Article';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import classNames from 'classnames';
|
|
3
|
+
import { BaseBox } from '../../atoms';
|
|
4
|
+
// import './BaseBoxList.scss'
|
|
5
|
+
const BaseBoxList = ({ list, padded, children, givenClass = '' }) => {
|
|
6
|
+
if (children === undefined && list?.length === 0)
|
|
7
|
+
return null;
|
|
8
|
+
const classes = classNames(`base-box-group ${givenClass}`, {
|
|
9
|
+
'base-box-group--padded': padded
|
|
10
|
+
});
|
|
11
|
+
return _jsx("div", { className: classes, children: children ?? list?.map((box, index) => _jsx(BaseBox, { ...box }, index)) });
|
|
12
|
+
};
|
|
13
|
+
export default BaseBoxList;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BaseBoxList } from './BaseBoxList';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { BenefitRatafiaCard } from '../../atoms';
|
|
3
|
+
// import './BenefitRatafiaCardList.scss'
|
|
4
|
+
const BenefitRatafiaCardList = ({ benefits = [] }) => {
|
|
5
|
+
if (benefits.length === 0)
|
|
6
|
+
return null;
|
|
7
|
+
return (_jsx("div", { className: 'benefit-ratafia-card-list', children: benefits.map((benefit) => (_jsx(BenefitRatafiaCard, { ...benefit }, benefit.id))) }));
|
|
8
|
+
};
|
|
9
|
+
export default BenefitRatafiaCardList;
|
package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BenefitRatafiaCardList } from './BenefitRatafiaCardList';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Button, RichTextInner } from '../../atoms';
|
|
3
|
+
// import './BottomFixedBar.scss'
|
|
4
|
+
const BottomFixedBar = ({ text, button }) => {
|
|
5
|
+
if (text === undefined || button === undefined)
|
|
6
|
+
return null;
|
|
7
|
+
return (_jsxs("div", { className: 'bottom-fixed-bar', children: [_jsx(RichTextInner, { customClass: 'bottom-fixed-bar__text sans-serif --extra-small', children: text }), _jsx("div", { className: 'bottom-fixed-bar__button-container', children: _jsx(Button, { noLink: true, color: 'primary3', ...button }) })] }));
|
|
8
|
+
};
|
|
9
|
+
export default BottomFixedBar;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BottomFixedBar } from './BottomFixedBar';
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, useRef, useState } from 'react';
|
|
3
|
+
import { useSwipeable } from 'react-swipeable';
|
|
4
|
+
// import './BottomOverlay.scss'
|
|
5
|
+
const BottomOverlay = ({ givenClass, header, body, open = false, onClose, footer }) => {
|
|
6
|
+
const [scrollingDown, setScrollingDown] = useState(false);
|
|
7
|
+
const scrollingShadow = scrollingDown ? 'overlay__delimiter__scrolling' : '';
|
|
8
|
+
const overlayBackground = useRef(null);
|
|
9
|
+
const overlayMessage = useRef(null);
|
|
10
|
+
useEffect(() => {
|
|
11
|
+
if (open) {
|
|
12
|
+
const backgroundElement = overlayBackground.current;
|
|
13
|
+
backgroundElement.addEventListener('mousedown', handleCloseModal);
|
|
14
|
+
return () => {
|
|
15
|
+
backgroundElement.removeEventListener('mousedown', handleCloseModal);
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
}, [open]);
|
|
19
|
+
const handleCloseModal = (event) => {
|
|
20
|
+
if (onClose != null)
|
|
21
|
+
onClose();
|
|
22
|
+
};
|
|
23
|
+
const handleScroll = (event) => {
|
|
24
|
+
setScrollingDown(true);
|
|
25
|
+
const targetElement = event.target;
|
|
26
|
+
if (targetElement?.scrollTop === 0) {
|
|
27
|
+
setScrollingDown(false);
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
const swipeableConfig = {
|
|
31
|
+
trackMouse: true
|
|
32
|
+
};
|
|
33
|
+
const handlers = useSwipeable({
|
|
34
|
+
onSwipedDown: (eventData) => {
|
|
35
|
+
swipeEventHandler(eventData);
|
|
36
|
+
},
|
|
37
|
+
...swipeableConfig
|
|
38
|
+
});
|
|
39
|
+
const swipeEventHandler = (data) => {
|
|
40
|
+
const messageElement = overlayMessage.current;
|
|
41
|
+
const mouseYPosition = data.initial;
|
|
42
|
+
if (mouseYPosition[1] < messageElement.offsetTop) {
|
|
43
|
+
if (onClose != null)
|
|
44
|
+
onClose();
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
return (_jsxs("div", { className: `bottom-overlay ${givenClass ?? ''} ${open ? 'show' : ''}`, ...handlers, children: [_jsx("div", { ref: overlayBackground, className: 'bottom-overlay__background' }), _jsxs("nav", { ref: overlayMessage, className: 'bottom-overlay__nav', children: [_jsx("div", { className: `overlay__delimiter ${scrollingShadow}` }), header, _jsx("div", { className: 'overlay__scrollable-section', onScroll: handleScroll, children: body }), footer !== undefined && _jsx("div", { className: 'overlay__footer', children: footer })] })] }));
|
|
48
|
+
};
|
|
49
|
+
export default BottomOverlay;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BottomOverlay } from './BottomOverlay';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
|
3
|
+
/* eslint-disable jsx-a11y/click-events-have-key-events */
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import { Button } from '../../atoms';
|
|
6
|
+
// import './BoxForm.scss'
|
|
7
|
+
const BoxForm = ({ title, body, footer, closeInsideModal, closeModalAndReloadPage, hideHeader = false }) => {
|
|
8
|
+
const [buttonProps] = React.useState(() => {
|
|
9
|
+
if (footer == null)
|
|
10
|
+
return undefined;
|
|
11
|
+
const { onClick, link } = footer.button;
|
|
12
|
+
return {
|
|
13
|
+
...footer.button,
|
|
14
|
+
color: 'secondary',
|
|
15
|
+
size: 'S',
|
|
16
|
+
...(onClick != null ? { onClick, noLink: true } : { link })
|
|
17
|
+
};
|
|
18
|
+
});
|
|
19
|
+
return (_jsxs("div", { className: 'box--form', children: [!hideHeader && (_jsx("div", { className: 'box--form__header', children: closeInsideModal === true ? (_jsxs(_Fragment, { children: [_jsx("h3", { className: 'box--form__title sans-serif --big', children: title }), _jsx("div", { className: 'box--form__close', onClick: closeModalAndReloadPage, children: "\u00D7" })] })) : (_jsx("h3", { className: 'box--form__title sans-serif --big', children: title })) })), _jsxs("div", { className: 'box--form__main', children: [_jsx("div", { className: 'box--form__body', children: body }), footer !== undefined && (_jsxs("div", { className: 'box--form__footer', children: [_jsx("span", { className: 'box--form__footer__text', children: footer.text }), buttonProps !== undefined && _jsx(Button, { ...buttonProps })] }))] })] }));
|
|
20
|
+
};
|
|
21
|
+
export default BoxForm;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BoxForm } from './BoxForm';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { BreadcrumItem } from '../../atoms';
|
|
3
|
+
// import './Breadcrumb.scss'
|
|
4
|
+
const Breadcrumb = ({ crumbs }) => {
|
|
5
|
+
return (_jsx("div", { className: 'breadcrumb-container', children: _jsx("ul", { className: 'inline-list sans-serif', children: crumbs.map((crumb, index) => (_jsx(BreadcrumItem, { text: crumb.text, position: index, url: crumb.url }, `crumb-${crumb.text}`))) }) }));
|
|
6
|
+
};
|
|
7
|
+
export default Breadcrumb;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Breadcrumb } from './Breadcrumb';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import classNames from 'classnames';
|
|
3
|
+
import { Button } from '../../atoms';
|
|
4
|
+
// import './ContactBox.scss'
|
|
5
|
+
const ContactBox = ({ phone, schedule, mobile = false, mobileGtmTag, dataQa, darkMode, givenClass = '' }) => {
|
|
6
|
+
if (phone.length === 0 || schedule.length === 0)
|
|
7
|
+
return null;
|
|
8
|
+
const classnames = classNames(`contact-box ${givenClass}`, {
|
|
9
|
+
'contact-box--mobile': mobile,
|
|
10
|
+
'contact-box--dark-mode': darkMode
|
|
11
|
+
});
|
|
12
|
+
return (_jsxs("div", { className: classnames, children: [!mobile && _jsx("span", { className: 'contact-box__phone', children: phone }), mobile && (_jsx(Button, { centered: true, fluid: true, isExternal: true, label: phone, link: `tel:${phone}`, gtmTag: mobileGtmTag, dataQa: dataQa })), _jsx("p", { className: 'contact-box__schedule', children: schedule })] }));
|
|
13
|
+
};
|
|
14
|
+
export default ContactBox;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ContactBox } from './ContactBox';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Button } from '../../atoms/Button';
|
|
3
|
+
// import './ContinueEditingBanner.scss'
|
|
4
|
+
export const ContinueEditingBanner = ({ latestApplicationInProgress, editFormClicked, tagLine, title, token }) => {
|
|
5
|
+
if (latestApplicationInProgress == null || token.length === 0) {
|
|
6
|
+
return null;
|
|
7
|
+
}
|
|
8
|
+
return (_jsx("div", { className: 'continue-banner', children: _jsxs("div", { className: 'continue-banner__wrapper wrapper', children: [_jsx("span", { className: 'continue-banner__title', children: title }), _jsx("span", { className: 'continue-banner__tagline', children: tagLine }), _jsx(Button, { label: 'Complete It Today', dataQa: 'continue-editing-banner-button', noLink: true, onClick: () => {
|
|
9
|
+
if (editFormClicked != null) {
|
|
10
|
+
editFormClicked(latestApplicationInProgress);
|
|
11
|
+
}
|
|
12
|
+
} })] }) }));
|
|
13
|
+
};
|
package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBannerProps.types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ContinueEditingBanner } from './ContinueEditingBanner';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, useRef, useState } from 'react';
|
|
3
|
+
import { MessageInformation } from '../../atoms';
|
|
4
|
+
import classNames from 'classnames';
|
|
5
|
+
import { useIsMobileOrTable } from '../../../hooks';
|
|
6
|
+
// import './CountDownMessage.scss'
|
|
7
|
+
const CountDownMessage = ({ noImg = false, text, time, centered = false }) => {
|
|
8
|
+
const [scrollSuperateCountDown, setScrollSuperateCountDown] = useState(false);
|
|
9
|
+
const { isMobile, isTablet } = useIsMobileOrTable();
|
|
10
|
+
const countDownRef = useRef(null);
|
|
11
|
+
const handleScroll = () => {
|
|
12
|
+
const countDownComponent = countDownRef.current?.getBoundingClientRect();
|
|
13
|
+
if (countDownComponent != null) {
|
|
14
|
+
const enableFixed = countDownComponent.bottom < 0;
|
|
15
|
+
setScrollSuperateCountDown(enableFixed);
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
useEffect(() => {
|
|
19
|
+
window.removeEventListener('scroll', handleScroll);
|
|
20
|
+
if (isMobile || isTablet) {
|
|
21
|
+
window.addEventListener('scroll', handleScroll);
|
|
22
|
+
}
|
|
23
|
+
return () => {
|
|
24
|
+
window.removeEventListener('scroll', handleScroll);
|
|
25
|
+
};
|
|
26
|
+
}, [isMobile, isTablet]);
|
|
27
|
+
const messageInformationHtml = _jsx(MessageInformation, { noImg: noImg, text: text, time: time, centered: centered });
|
|
28
|
+
const classCountDownMessageFixed = classNames({
|
|
29
|
+
'count-down-message-fixed': true,
|
|
30
|
+
'count-down-message-fixed--show': scrollSuperateCountDown
|
|
31
|
+
});
|
|
32
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { className: `count-down-message ${noImg && 'extra-margin'}`, ref: countDownRef, children: messageInformationHtml }), _jsx("div", { className: classCountDownMessageFixed, children: messageInformationHtml })] }));
|
|
33
|
+
};
|
|
34
|
+
export default CountDownMessage;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CountDownMessage } from './CountDownMessage';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { MailSvg } from '../../../../images/componentsSvg/MailSvg';
|
|
3
|
+
// import './EmailContactBox.scss'
|
|
4
|
+
export const EmailContactBox = ({ mail, text }) => {
|
|
5
|
+
return (_jsxs("div", { className: 'email-contact-box-container', children: [_jsx(MailSvg, {}), _jsxs("div", { children: [_jsx("p", { children: _jsx("a", { className: 'email-contact-mail', href: `mailto:${mail}`, children: mail }) }), _jsx("p", { className: 'email-contact-text', children: text })] })] }));
|
|
6
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { ExpertCard } from '../../atoms/ExpertCard';
|
|
3
|
+
// import './ExpertCardList.scss'
|
|
4
|
+
const ExpertCardList = ({ contentExpertCard }) => {
|
|
5
|
+
const expertCards = contentExpertCard.map((expertCard) => {
|
|
6
|
+
return (_jsx(ExpertCard, { title: expertCard.title, url: expertCard.url, description: expertCard.description, image: expertCard.image }, expertCard.title));
|
|
7
|
+
});
|
|
8
|
+
return _jsx("div", { className: 'expert-card-list', children: expertCards });
|
|
9
|
+
};
|
|
10
|
+
export default ExpertCardList;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ExpertCardList } from './ExpertCardList';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ChevronRight24px } from '../../../../images/componentsSvg/ChevronRight24px';
|
|
4
|
+
// import './FaqItem.scss'
|
|
5
|
+
export const FaqItem = ({ slug, title, children, index }) => {
|
|
6
|
+
const [isOpen, setIsOpen] = React.useState(index === 0);
|
|
7
|
+
return (_jsxs("article", { className: `faqItem ${isOpen ? 'open' : ''}`, children: [_jsx("div", { id: slug, className: 'fakeAnchor' }), _jsxs("details", { itemProp: 'mainEntity', itemScope: true, itemType: 'https://www.schema.org/Question', className: 'content', open: index === 0, children: [_jsxs("summary", { role: 'button', tabIndex: index === 0 ? 0 : -1, onClick: () => {
|
|
8
|
+
setIsOpen(!isOpen);
|
|
9
|
+
}, onKeyUp: () => {
|
|
10
|
+
setIsOpen(!isOpen);
|
|
11
|
+
}, className: 'question', children: [_jsx("h3", { tabIndex: index === 0 ? 0 : -1, itemProp: 'name', className: 'title', children: title }), _jsx(ChevronRight24px, {})] }), _jsx("div", { itemScope: true, itemProp: 'acceptedAnswer', itemType: 'https://www.schema.org/Answer', className: 'answer', children: _jsx("span", { itemProp: 'text', children: children }) })] })] }));
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { FeatureRatafiaCard } from '../../atoms';
|
|
3
|
+
// import './FeatureRatafiaCardList.scss'
|
|
4
|
+
const FeatureRatafiaCardList = ({ features = [] }) => {
|
|
5
|
+
if (features.length === 0)
|
|
6
|
+
return null;
|
|
7
|
+
return (_jsx("div", { className: 'feature-ratafia-card-list', children: features.map((feature) => (_jsx(FeatureRatafiaCard, { ...feature }, feature.id))) }));
|
|
8
|
+
};
|
|
9
|
+
export default FeatureRatafiaCardList;
|
package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardListProps.types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as FeatureRatafiaCardList } from './FeatureRatafiaCardList';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import classNames from 'classnames';
|
|
3
|
+
import Button from '../../atoms/Button/Button';
|
|
4
|
+
import { Done24pxOutline } from '../../../../images/componentsSvg/Done24pxoutlined';
|
|
5
|
+
import { InfoError24pxOutlined } from '../../../../images/componentsSvg/InfoError24pxOutlined';
|
|
6
|
+
// import './Feedback.scss'
|
|
7
|
+
const themes = {
|
|
8
|
+
error: {
|
|
9
|
+
className: 'feedback--error',
|
|
10
|
+
icon: _jsx(InfoError24pxOutlined, {})
|
|
11
|
+
},
|
|
12
|
+
success: {
|
|
13
|
+
className: 'feedback--success',
|
|
14
|
+
icon: _jsx(Done24pxOutline, {})
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
const Feedback = ({ theme = 'success', title, text, button, cancel, large, fluid, imgSrc = '', dataQa = '' }) => {
|
|
18
|
+
const currentTheme = themes[theme] ?? {};
|
|
19
|
+
if (Object.keys(currentTheme).length === 0 && imgSrc.length === 0) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
const renderButtons = () => {
|
|
23
|
+
const buttons = [];
|
|
24
|
+
if (button?.onClick != null) {
|
|
25
|
+
buttons.push(_jsx(Button, { ...button }, 'feedback-accept-button'));
|
|
26
|
+
}
|
|
27
|
+
if (cancel?.onClick != null) {
|
|
28
|
+
buttons.push(_jsx("a", { className: 'feedback__cancel__a', onClick: cancel.onClick, children: cancel?.label ?? 'Cancel' }, 'feedback-cancel-button'));
|
|
29
|
+
}
|
|
30
|
+
if (buttons.length === 0) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return _jsx("div", { className: 'feedback__buttons', children: buttons });
|
|
34
|
+
};
|
|
35
|
+
const classes = classNames('feedback', {
|
|
36
|
+
'feedback--large': large,
|
|
37
|
+
'feedback--fluid': fluid,
|
|
38
|
+
[currentTheme.className]: imgSrc.length === 0
|
|
39
|
+
});
|
|
40
|
+
return (_jsxs("div", { className: classes, children: [_jsxs("div", { className: 'feedback__main', children: [_jsx("div", { id: imgSrc.length > 0 ? 'feedback__image' : 'feedback__icon', className: imgSrc.length > 0 ? 'feedback__image' : 'feedback__icon', children: imgSrc.length > 0 ? (_jsx("img", { className: 'feedback__image_img', src: imgSrc, alt: '' })) : (_jsx("div", { className: 'feedback__icon__img', children: currentTheme.icon })) }), title !== undefined && _jsx("p", { className: 'feedback__title sans-serif --big', children: title }), text !== undefined && (_jsx("p", { className: `feedback__text ${imgSrc.length === 0 ? 'feedback__text--grey' : ''}`, "data-qa": `${dataQa}-text`, children: text }))] }), renderButtons()] }));
|
|
41
|
+
};
|
|
42
|
+
export default Feedback;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Feedback } from './Feedback';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Button } from '../../atoms';
|
|
3
|
+
// import './FreeDocModalContent.scss'
|
|
4
|
+
const FreeDocModalContent = ({ bodyTitle, bodyText, closeModal, clickGoToFormInApp, isActiveDocument }) => {
|
|
5
|
+
const onGoToApp = () => {
|
|
6
|
+
if (clickGoToFormInApp !== undefined)
|
|
7
|
+
clickGoToFormInApp(null, '', true);
|
|
8
|
+
};
|
|
9
|
+
const onNavigateToTop = () => {
|
|
10
|
+
closeModal();
|
|
11
|
+
};
|
|
12
|
+
const buttonProps = {
|
|
13
|
+
color: 'primary',
|
|
14
|
+
size: 'S',
|
|
15
|
+
label: 'Make Document',
|
|
16
|
+
dataQa: 'free-modal-doc-button',
|
|
17
|
+
...(isActiveDocument ? { noLink: true } : { link: '#' }),
|
|
18
|
+
onClick: isActiveDocument ? onGoToApp : onNavigateToTop
|
|
19
|
+
};
|
|
20
|
+
return (_jsxs("div", { className: 'free-doc-modal-content', children: [_jsx("div", { className: 'close-mobile', onClick: closeModal, children: "\u00D7" }), _jsx("div", { className: 'left-container' }), _jsx("div", { className: 'right-container', children: _jsxs("div", { className: 'info-box', children: [_jsx("h1", { className: 'info-box__title', children: bodyTitle }), _jsx("div", { className: 'info-box__text', children: bodyText }), _jsx("div", { className: 'info-box__button-box', children: _jsx("div", { className: 'button', children: _jsx(Button, { ...buttonProps }) }) })] }) })] }));
|
|
21
|
+
};
|
|
22
|
+
export default FreeDocModalContent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as FreeDocModalContent } from './FreeDocModalContent';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { ActionButtonHeaderRatafiaCardList } from '../ActionButtonHeaderRatafiaCardList';
|
|
3
|
+
// import './HeaderRatafia.scss'
|
|
4
|
+
export const HeaderRatafia = ({ icon, title, actionButtons, isHiddenActionButtons = false }) => {
|
|
5
|
+
return (_jsxs("div", { className: 'header-ratafia', children: [_jsxs("div", { className: 'header-ratafia__title', children: [_jsx("div", { className: 'header-ratafia__title__icon', children: icon }), _jsx("h1", { className: 'sans-serif --bold-weight header-ratafia__title__text', children: title })] }), actionButtons !== undefined && !isHiddenActionButtons && (_jsx(ActionButtonHeaderRatafiaCardList, { actionButtons: actionButtons }))] }));
|
|
6
|
+
};
|
|
7
|
+
export default HeaderRatafia;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as HeaderRatafia } from './HeaderRatafia';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { KeyFactRatafiaCard } from '../../atoms';
|
|
3
|
+
// import './KeyFactCardListRatafia.scss'
|
|
4
|
+
export const KeyFactCardListRatafia = ({ keyFacts }) => {
|
|
5
|
+
if (keyFacts.length === 0)
|
|
6
|
+
return null;
|
|
7
|
+
return (_jsx("div", { className: 'key-fact-card-list', children: keyFacts.map((keyFact) => (_jsx(_Fragment, { children: _jsx(KeyFactRatafiaCard, { ...keyFact }, keyFact.id) }))) }));
|
|
8
|
+
};
|
|
9
|
+
export default KeyFactCardListRatafia;
|
package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafiaProps.types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as KeyFactCardListRatafia } from './KeyFactCardListRatafia';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { MenuItems } from '../../atoms';
|
|
3
|
+
// import './MenuItemsSection.scss'
|
|
4
|
+
const MenuItemsSection = ({ icon, title, list }) => {
|
|
5
|
+
const filteredList = title !== undefined && list !== undefined ? list.filter((item) => item.content) : null;
|
|
6
|
+
if (filteredList === null || filteredList?.length === 0 || filteredList[0].content === undefined)
|
|
7
|
+
return null;
|
|
8
|
+
return (_jsxs("div", { className: 'menu-items-section', children: [_jsxs("div", { className: 'menu-items-section__title-wrapper', children: [icon ?? null, _jsx("div", { className: 'menu-items-section__title-wrapper__title', children: title })] }), list && _jsx(MenuItems, { list: list, spacing: true })] }));
|
|
9
|
+
};
|
|
10
|
+
export default MenuItemsSection;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MenuItemsSection } from './MenuItemsSection';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Button } from '../../atoms';
|
|
3
|
+
// import './MidBannerRatafiaContent.scss'
|
|
4
|
+
const MidBannerRatafiaContent = ({ title, paragraph, ctaLabel, ctaLink, ctaDataQa }) => {
|
|
5
|
+
return (_jsxs("div", { className: 'mid-banner-ratafia-content', children: [_jsxs("div", { className: 'mid-banner-ratafia-content__header', children: [_jsx("h2", { className: 'sans-serif --super-large --bold-weight mid-banner-ratafia-content__header__title', children: title }), _jsx("div", { className: 'sans-serif --super-medium mid-banner-ratafia-content__header__description', children: paragraph })] }), _jsx(Button, { givenClass: 'mid-banner-ratafia-content__cta', dataQa: ctaDataQa, link: ctaLink, color: 'primary', label: ctaLabel })] }));
|
|
6
|
+
};
|
|
7
|
+
export default MidBannerRatafiaContent;
|
package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContentProps.types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MidBannerRatafiaContent } from './MidBannerRatafiaContent';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// import './MidBannerRatafiaSample.scss'
|
|
3
|
+
const MidBannerRatafiaSample = ({ image }) => {
|
|
4
|
+
return (_jsxs("div", { className: 'mid-banner-ratafia-sample', children: [_jsx("div", { className: 'mid-banner-ratafia-sample__image', children: image }), _jsxs("div", { className: 'mid-banner-ratafia-sample__sumarized-tag', children: [_jsx("img", { className: 'mid-banner-ratafia-sample__sumarized-tag__icon', src: 'https://cdn.stage.strapi.lawdistrict.com/mid-banner-1.svg', alt: '', role: 'img' }), _jsx("p", { className: 'sans-serif --small --bold-weight mid-banner-ratafia-sample__sumarized-tag__text', children: "Summarized" })] }), _jsxs("div", { className: 'mid-banner-ratafia-sample__feature-tag mid-banner-ratafia-sample__feature-tag__key-facts', children: [_jsx("img", { className: 'mid-banner-ratafia-sample__feature-tag__icon', src: 'https://cdn.stage.strapi.lawdistrict.com/mid-banner-2.svg', alt: '', role: 'img' }), _jsx("p", { className: 'sans-serif --small mid-banner-ratafia-sample__feature-tag__text', children: "Key facts" })] }), _jsxs("div", { className: 'mid-banner-ratafia-sample__feature-tag mid-banner-ratafia-sample__feature-tag__clauses', children: [_jsx("img", { className: 'mid-banner-ratafia-sample__feature-tag__icon', src: 'https://cdn.stage.strapi.lawdistrict.com/mid-banner-3.svg', alt: '', role: 'img' }), _jsx("p", { className: 'sans-serif --small mid-banner-ratafia-sample__feature-tag__text', children: "Clauses" })] })] }));
|
|
5
|
+
};
|
|
6
|
+
export default MidBannerRatafiaSample;
|
package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSampleProps.types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MidBannerRatafiaSample } from './MidBannerRatafiaSample';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { MoreDocsItem } from '../../atoms';
|
|
3
|
+
// import './MoreDocsDesktop.scss'
|
|
4
|
+
export const MoreDocsDesktop = ({ title, documents }) => {
|
|
5
|
+
return (_jsx("div", { className: 'more-docs-desktop', children: _jsxs("div", { className: 'container', children: [_jsx("h2", { className: 'section-title', children: title }), _jsxs("div", { className: 'docs-container', children: [_jsx("div", { className: 'docs-column', children: documents.slice(0, 3).map((document) => (_jsx(MoreDocsItem, { ...document }, document.id))) }), _jsx("div", { className: 'separation-line' }), _jsx("div", { className: 'docs-column', children: documents.slice(3, 6).map((document) => (_jsx(MoreDocsItem, { ...document }, document.id))) }), _jsx("div", { className: 'separation-line last-line' }), _jsx("div", { className: 'docs-column', children: documents.slice(6, 9).map((document) => (_jsx(MoreDocsItem, { ...document }, document.id))) })] })] }) }));
|
|
6
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { ChevronRight24px } from '../../../../images/componentsSvg/ChevronRight24px';
|
|
4
|
+
import { MoreDocsItem } from '../../atoms';
|
|
5
|
+
// import './MoreDocsMobile.scss'
|
|
6
|
+
export const MoreDocsMobile = ({ title, documents }) => {
|
|
7
|
+
const [isOpen, setIsOpen] = React.useState(false);
|
|
8
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { className: 'more-docs-mobile', onClick: () => {
|
|
9
|
+
setIsOpen(!isOpen);
|
|
10
|
+
}, tabIndex: 0, role: 'button', onKeyUp: (event) => {
|
|
11
|
+
if (event.key === 'Enter' || event.key === ' ') {
|
|
12
|
+
setIsOpen(!isOpen);
|
|
13
|
+
}
|
|
14
|
+
}, children: _jsxs("div", { className: 'box-closed', children: [_jsx("p", { className: 'box-title', children: title }), _jsx("div", { className: `icon-see-more ${!isOpen ? 'open' : ''}`, children: _jsx(ChevronRight24px, {}) })] }) }), isOpen && (_jsx("div", { className: 'more-docs-list', children: documents.map((document) => {
|
|
15
|
+
return (_jsxs("div", { className: 'docs-list', children: [_jsx(MoreDocsItem, { ...document }), _jsx("div", { className: 'separation-line' })] }, document.id));
|
|
16
|
+
}) }))] }));
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
|
3
|
+
/* eslint-disable jsx-a11y/click-events-have-key-events */
|
|
4
|
+
import { useEffect } from 'react';
|
|
5
|
+
import { MenuItems } from '../../atoms';
|
|
6
|
+
import { useIntersectionObserver } from '../../../hooks';
|
|
7
|
+
// import './NavBarDropDown.scss'
|
|
8
|
+
let scrollPosition = 0;
|
|
9
|
+
let touchStartPosY;
|
|
10
|
+
let isDisabledScroll = false;
|
|
11
|
+
export const NavBarDropDown = ({ isOpen, list, hasBullets = true, initialActiveContent, setEnableScrollbarOnClose, setIsOpen }) => {
|
|
12
|
+
const [ref, isIntersectingWithElement] = useIntersectionObserver({
|
|
13
|
+
options: { threshold: 0.15 }
|
|
14
|
+
});
|
|
15
|
+
const onTouchStart = (event) => {
|
|
16
|
+
touchStartPosY = event.changedTouches[0];
|
|
17
|
+
};
|
|
18
|
+
const onTouchMove = (event) => {
|
|
19
|
+
const touchEndPosY = event.changedTouches[0];
|
|
20
|
+
if (isDisabledScroll && touchEndPosY?.screenY - touchStartPosY?.screenY > 0) {
|
|
21
|
+
enableScrollbarOnClose(true);
|
|
22
|
+
isDisabledScroll = false;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
const disableScrollbarOnOpen = () => {
|
|
26
|
+
if (isOpen && typeof window !== 'undefined') {
|
|
27
|
+
const body = document.querySelector('body');
|
|
28
|
+
scrollPosition = window.scrollY;
|
|
29
|
+
if (body != null) {
|
|
30
|
+
body.style.overflow = 'hidden';
|
|
31
|
+
body.style.position = 'fixed';
|
|
32
|
+
body.style.top = `-${scrollPosition}px`;
|
|
33
|
+
body.style.width = '100%';
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
const enableScrollbarOnClose = (onTouch = false) => {
|
|
38
|
+
const body = document.querySelector('body');
|
|
39
|
+
body?.style.removeProperty('overflow');
|
|
40
|
+
body?.style.removeProperty('position');
|
|
41
|
+
body?.style.removeProperty('top');
|
|
42
|
+
body?.style.removeProperty('width');
|
|
43
|
+
window.scrollTo(0, onTouch ? scrollPosition : window.scrollY);
|
|
44
|
+
};
|
|
45
|
+
const closeMenu = () => {
|
|
46
|
+
enableScrollbarOnClose();
|
|
47
|
+
setIsOpen(false);
|
|
48
|
+
};
|
|
49
|
+
useEffect(() => {
|
|
50
|
+
document.addEventListener('touchmove', onTouchMove);
|
|
51
|
+
document.addEventListener('touchstart', onTouchStart);
|
|
52
|
+
return () => {
|
|
53
|
+
document.removeEventListener('touchmove', onTouchMove);
|
|
54
|
+
document.removeEventListener('touchstart', onTouchStart);
|
|
55
|
+
};
|
|
56
|
+
}, []);
|
|
57
|
+
useEffect(() => {
|
|
58
|
+
if (isIntersectingWithElement) {
|
|
59
|
+
disableScrollbarOnOpen();
|
|
60
|
+
isDisabledScroll = true;
|
|
61
|
+
}
|
|
62
|
+
}, [isOpen, isIntersectingWithElement]);
|
|
63
|
+
useEffect(() => {
|
|
64
|
+
setEnableScrollbarOnClose(() => enableScrollbarOnClose);
|
|
65
|
+
}, []);
|
|
66
|
+
return (_jsx(_Fragment, { children: isOpen ? (_jsxs("div", { className: 'navbar-drop-down__container', children: [_jsx("div", { className: 'navbar-drop-down__container__menu_items', children: _jsx(MenuItems, { list: list, hasBullets: hasBullets, initialActiveContent: initialActiveContent }) }), _jsx("div", { ref: ref, className: 'navbar-drop-down__container__shadow', onClick: closeMenu })] })) : null }));
|
|
67
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|