@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,53 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/* eslint-disable @typescript-eslint/strict-boolean-expressions */
|
|
3
|
+
/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
|
|
4
|
+
/* eslint-disable jsx-a11y/click-events-have-key-events */
|
|
5
|
+
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
6
|
+
import classNames from 'classnames';
|
|
7
|
+
import cross from '../../../../images/svg/icon-clear-24-px.svg';
|
|
8
|
+
import shape from '../../../../images/svg/shape.svg';
|
|
9
|
+
// import './DialogMenuIcon.scss'
|
|
10
|
+
const DialogMenuIcon = ({ onClose, onOpen, content }) => {
|
|
11
|
+
const [isVisible, setIsVisible] = useState(false);
|
|
12
|
+
const [onHoverVisible, setOnHoverVisible] = useState(true);
|
|
13
|
+
const iconContainer = useRef(null);
|
|
14
|
+
const messageContainer = useRef(null);
|
|
15
|
+
const classnames = classNames('dialog-menu-icon', {
|
|
16
|
+
'dialog-menu-icon--visible': isVisible,
|
|
17
|
+
'dialog-menu-icon--hidden': !isVisible,
|
|
18
|
+
'dialog-menu-icon--visible-on-hover': onHoverVisible
|
|
19
|
+
});
|
|
20
|
+
const handleClickOutside = useCallback((event) => {
|
|
21
|
+
const clickOutOfSelect = iconContainer.current && !iconContainer.current.contains(event.target);
|
|
22
|
+
if (clickOutOfSelect && onClose != null) {
|
|
23
|
+
onClose();
|
|
24
|
+
}
|
|
25
|
+
}, [iconContainer, onClose]);
|
|
26
|
+
useEffect(() => {
|
|
27
|
+
if (iconContainer.current) {
|
|
28
|
+
iconContainer.current.addEventListener('mouseover', () => {
|
|
29
|
+
setOnHoverVisible(true);
|
|
30
|
+
});
|
|
31
|
+
document.addEventListener('mousedown', handleClickOutside);
|
|
32
|
+
}
|
|
33
|
+
return () => {
|
|
34
|
+
document.removeEventListener('mousedown', handleClickOutside);
|
|
35
|
+
};
|
|
36
|
+
}, [handleClickOutside, onClose]);
|
|
37
|
+
const onHandleChange = (visible = false, hoverVisible = false) => {
|
|
38
|
+
setIsVisible(visible);
|
|
39
|
+
setOnHoverVisible(hoverVisible);
|
|
40
|
+
if (visible && onOpen != null) {
|
|
41
|
+
onOpen();
|
|
42
|
+
}
|
|
43
|
+
else if (!visible && onClose != null) {
|
|
44
|
+
onClose();
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
return (_jsxs("div", { className: classnames, ref: iconContainer, children: [_jsx("img", { className: 'dialog-menu-icon__image', onClick: () => {
|
|
48
|
+
onHandleChange(true, false);
|
|
49
|
+
}, src: shape, alt: 'shape' }), _jsxs("div", { className: 'dialog-menu-icon__message', ref: messageContainer, children: [_jsx("p", { children: content }), _jsx("img", { onClick: () => {
|
|
50
|
+
onHandleChange();
|
|
51
|
+
}, src: cross, alt: '' })] })] }));
|
|
52
|
+
};
|
|
53
|
+
export default DialogMenuIcon;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DialogMenuIcon } from './DialogMenuIcon';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
// import './Disclaimer.scss'
|
|
4
|
+
const Disclaimer = ({ givenClass, text, disclaimerLinks = false, complexCopyRight, complexCopyRightMobile, simpleCopyRight }) => {
|
|
5
|
+
const showDisclaimerLinks = disclaimerLinks && _jsx(React.Fragment, { children: complexCopyRight });
|
|
6
|
+
const showDisclaimerLinkMobile = disclaimerLinks && (_jsx(React.Fragment, { children: _jsxs("div", { className: 'disclaimer__copy', children: [complexCopyRightMobile, _jsx("p", { children: simpleCopyRight })] }) }));
|
|
7
|
+
return (_jsx("div", { className: `disclaimer__wrapper ${givenClass}`, children: _jsxs("div", { className: 'wrapper disclaimer sans-serif --extra-small', children: [_jsx("div", { className: 'disclaimer__copy', children: text }), disclaimerLinks ? _jsx("p", { className: 'desktop_view', children: showDisclaimerLinks }) : _jsx("p", { children: simpleCopyRight }), disclaimerLinks && _jsx("div", { className: 'disclaimer__copy mobile_view', children: showDisclaimerLinkMobile })] }) }));
|
|
8
|
+
};
|
|
9
|
+
export default Disclaimer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Disclaimer } from './Disclaimer';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { Button } from '../Button';
|
|
4
|
+
import { ChevronRight } from '../../../../images/componentsSvg/ChevronRight';
|
|
5
|
+
// import './DisclaimerRatafia.scss'
|
|
6
|
+
export const DisclaimerRatafia = ({ icon, text, ctaTextShowDisclaimer, ctaTextCloseDisclaimer, legalAdviceText, copyrightText }) => {
|
|
7
|
+
const [disclaimer, toggleDisclaimer] = React.useState(false);
|
|
8
|
+
const handleShowDisclaimer = () => {
|
|
9
|
+
toggleDisclaimer(true);
|
|
10
|
+
if (ctaTextShowDisclaimer.onClick != null)
|
|
11
|
+
ctaTextShowDisclaimer.onClick();
|
|
12
|
+
};
|
|
13
|
+
const handleCloseDisclaimer = () => {
|
|
14
|
+
toggleDisclaimer(false);
|
|
15
|
+
if (ctaTextCloseDisclaimer.onClick != null)
|
|
16
|
+
ctaTextCloseDisclaimer.onClick();
|
|
17
|
+
};
|
|
18
|
+
const existLegalAdviceText = Boolean(legalAdviceText);
|
|
19
|
+
return (_jsxs("div", { className: 'disclaimer-ratafia', children: [_jsxs("div", { className: 'disclaimer-ratafia__text-desktop', children: [_jsxs("div", { className: 'disclaimer-ratafia__text', children: [_jsx("div", { className: 'disclaimer-ratafia__text__icon', children: icon }), _jsx("p", { className: 'sans-serif --small disclaimer-ratafia__text__text', children: text })] }), existLegalAdviceText && (_jsx("div", { className: 'disclaimer-ratafia__legal-advice', children: _jsx("span", { className: 'sans-serif --extra-small disclaimer-ratafia__copyright__text', children: legalAdviceText }) })), _jsx("div", { className: 'disclaimer-ratafia__copyright', children: _jsx("span", { className: 'sans-serif --extra-small disclaimer-ratafia__copyright__text', children: copyrightText }) })] }), _jsxs("div", { className: 'disclaimer-ratafia__text-mobile', children: [_jsx("div", { className: 'disclaimer-ratafia__text-mobile-text', children: _jsxs("button", { "data-qa": ctaTextShowDisclaimer.dataQa, className: 'sans-serif --small disclaimer-ratafia__text__text', onClick: handleShowDisclaimer, children: [_jsx("div", { className: 'disclaimer-ratafia__text__icon', children: icon }), ctaTextShowDisclaimer.text, _jsx("div", { className: 'disclaimer-ratafia__text__arrow', children: _jsx(ChevronRight, {}) })] }) }), disclaimer && (_jsxs(_Fragment, { children: [_jsx("div", { className: 'disclaimer-ratafia__disclaimer-background' }), _jsxs("div", { className: 'disclaimer-ratafia__disclaimer-fixed', children: [_jsx("p", { className: 'disclaimer-ratafia__disclaimer-fixed__title', children: ctaTextShowDisclaimer.text }), _jsx("p", { className: 'sans-serif --small disclaimer-ratafia__disclaimer-fixed__subTitle', children: text }), existLegalAdviceText && (_jsx("div", { className: 'sans-serif --small disclaimer-ratafia__disclaimer-fixed__text', children: legalAdviceText })), _jsx("div", { className: 'sans-serif --small disclaimer-ratafia__disclaimer-fixed__text', children: copyrightText }), _jsx(Button, { color: 'primary', label: ctaTextCloseDisclaimer.text, givenClass: 'disclaimer-ratafia__disclaimer-fixed__cta', onClick: handleCloseDisclaimer, noLink: true, dataQa: ctaTextCloseDisclaimer.dataQa })] })] }))] })] }));
|
|
20
|
+
};
|
|
21
|
+
export default DisclaimerRatafia;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DisclaimerKeyFactsResultRatafia } from './DisclaimerRatafia';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// import './Divider.scss'
|
|
3
|
+
const Divider = ({ containerClass, lineClass, text, image }) => {
|
|
4
|
+
if (text?.length === 0 || image?.length === 0)
|
|
5
|
+
return null;
|
|
6
|
+
return (_jsxs("div", { className: `divider ${containerClass ?? ''}`, children: [_jsx("div", { className: `divider__line ${lineClass ?? ''}` }), text !== undefined && _jsx("p", { className: 'divider__word', children: text }), image !== undefined && _jsx("img", { className: 'divider__image', src: image, alt: '', role: 'img' }), _jsx("div", { className: `divider__line ${lineClass ?? ''}` })] }));
|
|
7
|
+
};
|
|
8
|
+
export default Divider;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Divider } from './Divider';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Done24px } from '../../../../images/componentsSvg/Done24px';
|
|
3
|
+
import { NewRelease24p } from '../../../../images/componentsSvg/NewRelease24p';
|
|
4
|
+
import { Time24px } from '../../../../images/componentsSvg/Time24px';
|
|
5
|
+
// import './DocumentStatus.scss'
|
|
6
|
+
const DocumentStatus = ({ type, statusCompletedText, statusNewText, statusInProgressText }) => {
|
|
7
|
+
if (type === 'complete' || type === 'downloaded' || type === 'pdf_processing' || type === 'pdf_generated') {
|
|
8
|
+
return (_jsxs("div", { "data-testid": 'document-status', className: 'document-status --is-completed', children: [_jsx(Done24px, { className: 'icon' }), " ", _jsx("span", { className: 'sans-serif --small', children: statusCompletedText })] }));
|
|
9
|
+
}
|
|
10
|
+
if (type === 'new') {
|
|
11
|
+
return (_jsxs("div", { "data-testid": 'document-status', className: 'document-status --is-new', children: [_jsx(NewRelease24p, { className: 'icon' }), " ", _jsx("span", { className: 'sans-serif --small', children: statusNewText })] }));
|
|
12
|
+
}
|
|
13
|
+
return (_jsxs("div", { "data-testid": 'document-status', className: 'document-status --in-progress', children: [_jsx(Time24px, { className: 'icon' }), _jsx("span", { className: 'sans-serif --small', children: statusInProgressText })] }));
|
|
14
|
+
};
|
|
15
|
+
export default DocumentStatus;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as DocumentStatus } from './DocumentStatus';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { DocumentTag } from './DocumentTag';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// import './ExpertCard.scss'
|
|
3
|
+
const ExpertCard = ({ title, url, description, image }) => {
|
|
4
|
+
return (_jsx("div", { className: 'expert-card', children: _jsxs("div", { className: 'expert-card__box', children: [_jsx("div", { className: 'expert-card__image', children: image }), url != null && (_jsx("a", { className: 'expert-card__title', href: url, children: title })), url == null && _jsx("p", { className: 'expert-card__title', children: title }), _jsx("p", { className: 'expert-card__description', children: description })] }) }));
|
|
5
|
+
};
|
|
6
|
+
export default ExpertCard;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ExpertCard } from './ExpertCard';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// import './FeatureRatafiaCard.scss'
|
|
3
|
+
export const FeatureRatafiaCard = ({ title, icon, description, isReleased = true, notReleasedText }) => {
|
|
4
|
+
return (_jsx("div", { className: 'feature-ratafia-card', children: _jsx("div", { className: isReleased ? 'feature-ratafia-card-released' : 'feature-ratafia-card-not-released', children: _jsxs("div", { className: 'feature-ratafia-card__wrapper', children: [_jsxs("div", { className: 'feature-ratafia-card__wrapper__header', children: [_jsxs("div", { className: 'feature-ratafia-card__wrapper__header__title', children: [icon !== null && _jsx("div", { className: 'feature-ratafia-card__wrapper__header__title__icon', children: icon }), _jsx("h3", { className: 'sans-serif --big --bold-weight feature-ratafia-card__wrapper__header__title__text', children: title })] }), !isReleased && (_jsx("p", { className: 'sans-serif --small --bold-weight feature-ratafia-card__wrapper__header__not-released', children: notReleasedText }))] }), _jsx("p", { className: 'sans-serif --medium feature-ratafia-card__wrapper__description', children: description })] }) }) }));
|
|
5
|
+
};
|
|
6
|
+
export default FeatureRatafiaCard;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as FeatureRatafiaCard } from './FeatureRatafiaCard';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// import './FormFaq.scss'
|
|
3
|
+
const FormFaq = ({ title, answer }) => {
|
|
4
|
+
return (_jsx("li", { className: 'form-faq', children: _jsxs("div", { className: 'form-faq__container', children: [_jsx("p", { className: 'form-faq__title sans-serif --small', children: title }), _jsx("div", { className: 'form-faq__answer sans-serif --extra-small', children: answer })] }) }));
|
|
5
|
+
};
|
|
6
|
+
export default FormFaq;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as FormFaq } from './FormFaq';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import logoGoogle from '../../../../images/svg/logo-google.svg';
|
|
3
|
+
// import './GoogleButton.scss'
|
|
4
|
+
const GoogleButton = ({ onClick, label = 'Log In with Google' }) => {
|
|
5
|
+
return (_jsxs("button", { type: 'button', className: 'google-button', onClick: onClick, children: [_jsx("img", { className: 'google-logo', src: logoGoogle, alt: '' }), _jsx("span", { children: label })] }));
|
|
6
|
+
};
|
|
7
|
+
export default GoogleButton;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as GoogleButton } from './GoogleButton';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
const IconImage = ({ iconName, baseSrcUrl = undefined, givenClass, iconFormat = 'svg' }) => {
|
|
3
|
+
if (baseSrcUrl === undefined) {
|
|
4
|
+
baseSrcUrl = `${process.env.ASSETS_URL}/`;
|
|
5
|
+
}
|
|
6
|
+
const iconUrl = `${baseSrcUrl}${iconName}.${iconFormat}`;
|
|
7
|
+
return _jsx("img", { className: givenClass, src: iconUrl, alt: '', role: 'img' });
|
|
8
|
+
};
|
|
9
|
+
export default IconImage;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as IconImage } from './IconImage';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
// import './IconSvgURLWithThemeColor.scss'
|
|
3
|
+
export const IconSvgURLWithThemeColor = ({ color = '', url, width = '30', height = '30' }) => {
|
|
4
|
+
let backgroundColor;
|
|
5
|
+
if (color.length > 0) {
|
|
6
|
+
backgroundColor = color;
|
|
7
|
+
}
|
|
8
|
+
return (_jsx("i", { className: 'icon-svg-with-theme-color', style: {
|
|
9
|
+
width: `${width}px`,
|
|
10
|
+
height: `${height}px`,
|
|
11
|
+
mask: `url(${url}) no-repeat center / contain`,
|
|
12
|
+
WebkitMask: `url(${url}) no-repeat center / contain`,
|
|
13
|
+
backgroundColor
|
|
14
|
+
} }));
|
|
15
|
+
};
|
package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColorProps.types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { IconSvgURLWithThemeColor } from './IconSvgURLWithThemeColor';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
// import './IconTextInfoSection.scss'
|
|
4
|
+
export const IconTextInfoSection = ({ items, classnames = '' }) => {
|
|
5
|
+
return (_jsx("div", { className: `icon-text-info-section bottom-side ${classnames}`, children: items.map(({ text, src }, index) => (_jsxs(React.Fragment, { children: [_jsxs("div", { className: 'box', children: [_jsx("div", { className: 'item-image', children: _jsx("img", { className: 'image', src: src, alt: 'create' }) }), _jsx("div", { className: 'item-text', children: _jsx("p", { className: 'no-margin', children: text }) })] }), items.length - 1 !== index && _jsx("div", { className: 'icon-text-info-section__separator' })] }, `${src}-${index}`))) }));
|
|
6
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { IconTextInfoSection } from './IconTextInfoSection';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { InfoError24pxOutlined } from '../../../../images/componentsSvg/InfoError24pxOutlined';
|
|
3
|
+
// import './InfoBox.scss'
|
|
4
|
+
const InfoBox = ({ children, type, noIcon }) => {
|
|
5
|
+
return (_jsxs("div", { className: `info-box ${type}`, children: [!noIcon && (_jsx("div", { className: 'info-box__img', children: _jsx(InfoError24pxOutlined, { fill: 'blue' }) })), _jsx("div", { className: 'info-box__text-container', children: children })] }));
|
|
6
|
+
};
|
|
7
|
+
export default InfoBox;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as InfoBox } from './InfoBox';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
// import './JumbotronStatic.scss'
|
|
3
|
+
export const JumbotronStatic = ({ title }) => {
|
|
4
|
+
return (_jsx("section", { className: 'jumbotron--static', children: _jsx("h1", { className: 'serif --super-hero', children: title }) }));
|
|
5
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { JumbotronStatic } from './JumbotronStatic';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// import './KeyFactRatafiaCard.scss'
|
|
3
|
+
export const KeyFactRatafiaCard = ({ title, content }) => {
|
|
4
|
+
return (_jsxs("div", { className: 'key-fact-item', children: [_jsxs("div", { className: 'key-fact-item__wrapper', children: [_jsx("p", { className: 'sans-serif --medium --bold-weight key-fact-item__wrapper__title', children: title }), _jsx("p", { className: 'sans-serif --medium key-fact-item__wrapper__content', children: content })] }), _jsx("span", { className: 'key-fact-item__divider' })] }));
|
|
5
|
+
};
|
|
6
|
+
export default KeyFactRatafiaCard;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as KeyFactRatafiaCard } from './KeyFactRatafiaCard';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import districtlaws from './svg/districtlaws-logo.svg';
|
|
3
|
+
import districtlawsWhite from './svg/districtlaws-white-logo.svg';
|
|
4
|
+
import lawdistrict from './svg/lawdistrict-logo.svg';
|
|
5
|
+
import lawdistrictWhite from './svg/lawdistrict-white-logo.svg';
|
|
6
|
+
import lawdistrictinfo from './svg/lawdistrictinfo-logo.svg';
|
|
7
|
+
import lawdistrictinfoWhite from './svg/lawdistrictinfo-white-logo.svg';
|
|
8
|
+
import lawdistrictonline from './svg/lawdistrictonline-logo.svg';
|
|
9
|
+
import lawdistrictonlineWhite from './svg/lawdistrictonline-white-logo.svg';
|
|
10
|
+
import lawdistricts from './svg/lawdistricts-logo.svg';
|
|
11
|
+
import lawdistrictsWhite from './svg/lawdistricts-white-logo.svg';
|
|
12
|
+
import lawsdistrict from './svg/lawsdistrict-logo.svg';
|
|
13
|
+
import lawsdistrictWhite from './svg/lawsdistrict-white-logo.svg';
|
|
14
|
+
import uslawdistrict from './svg/uslawdistrict-logo.svg';
|
|
15
|
+
import uslawdistrictWhite from './svg/uslawdistrict-white-logo.svg';
|
|
16
|
+
const LOGOS = {
|
|
17
|
+
lawdistrict: {
|
|
18
|
+
default: lawdistrict,
|
|
19
|
+
white: lawdistrictWhite
|
|
20
|
+
},
|
|
21
|
+
districtlaws: {
|
|
22
|
+
default: districtlaws,
|
|
23
|
+
white: districtlawsWhite
|
|
24
|
+
},
|
|
25
|
+
lawsdistrict: {
|
|
26
|
+
default: lawsdistrict,
|
|
27
|
+
white: lawsdistrictWhite
|
|
28
|
+
},
|
|
29
|
+
lawdistricts: {
|
|
30
|
+
default: lawdistricts,
|
|
31
|
+
white: lawdistrictsWhite
|
|
32
|
+
},
|
|
33
|
+
lawdistrictinfo: {
|
|
34
|
+
default: lawdistrictinfo,
|
|
35
|
+
white: lawdistrictinfoWhite
|
|
36
|
+
},
|
|
37
|
+
uslawdistrict: {
|
|
38
|
+
default: uslawdistrict,
|
|
39
|
+
white: uslawdistrictWhite
|
|
40
|
+
},
|
|
41
|
+
lawdistrictonline: {
|
|
42
|
+
default: lawdistrictonline,
|
|
43
|
+
white: lawdistrictonlineWhite
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
export const Logo = ({ className, siteName = 'lawdistrict', type = 'default', width, height }) => {
|
|
47
|
+
return (_jsx("img", { className: className, src: LOGOS[siteName.toLowerCase()][type], alt: `${siteName} logo`, width: width, height: height }));
|
|
48
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Logo } from './Logo';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// import './LogoText.scss'
|
|
3
|
+
const LogoText = ({ logo, children, description }) => {
|
|
4
|
+
return (_jsxs("div", { "data-testid": 'logo-text', className: 'logo-text', children: [_jsx("img", { "data-testid": 'img-logo-text', alt: '', src: logo }), description !== undefined ? (_jsx("p", { children: _jsx("span", { children: description }) })) : (children)] }));
|
|
5
|
+
};
|
|
6
|
+
export default LogoText;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as LogoText } from './LogoText';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { jsxs as _jsxs, Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/* eslint-disable jsx-a11y/click-events-have-key-events */
|
|
3
|
+
/* eslint-disable @typescript-eslint/strict-boolean-expressions */
|
|
4
|
+
import { useState } from 'react';
|
|
5
|
+
import classNames from 'classnames';
|
|
6
|
+
import { stringSlugify } from '../../../utils/stringSlugify';
|
|
7
|
+
// import './MenuItems.scss'
|
|
8
|
+
const MenuItems = ({ spacing, list, hasBullets = false, initialActiveContent = '', ...rest }) => {
|
|
9
|
+
const [contentListElement, setContentListElement] = useState(initialActiveContent);
|
|
10
|
+
const filteredList = list?.filter((item) => item.content);
|
|
11
|
+
if (filteredList.length === 0 || !filteredList[0].content) {
|
|
12
|
+
return null;
|
|
13
|
+
}
|
|
14
|
+
const classes = classNames('menu-items', {
|
|
15
|
+
'menu-items__spacing': spacing,
|
|
16
|
+
'menu-items__bullets': hasBullets
|
|
17
|
+
});
|
|
18
|
+
const handleActiveListElement = (content) => {
|
|
19
|
+
setContentListElement(content);
|
|
20
|
+
};
|
|
21
|
+
const renderItem = (item, index) => {
|
|
22
|
+
const { className, onClick, image, content, href, dataQA, ...props } = item || {};
|
|
23
|
+
if (!content) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
const slugifiedContent = stringSlugify(content);
|
|
27
|
+
const listKey = `${slugifiedContent}_${index}`;
|
|
28
|
+
return (
|
|
29
|
+
// eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
|
|
30
|
+
_jsx("li", { title: content, className: `menu-items__item ${className ?? ''}
|
|
31
|
+
${!href && onClick == null ? 'disabled' : ''}
|
|
32
|
+
${contentListElement === content ? 'active' : 'inactive'}`, onClick: () => {
|
|
33
|
+
if (onClick !== undefined) {
|
|
34
|
+
onClick();
|
|
35
|
+
}
|
|
36
|
+
initialActiveContent && handleActiveListElement(content);
|
|
37
|
+
}, ...props, children: href ? (_jsxs("a", { href: href, "data-qa": dataQA ?? slugifiedContent, children: [image, content] })) : (_jsxs(_Fragment, { children: [image, content] })) }, listKey));
|
|
38
|
+
};
|
|
39
|
+
return (_jsx("ul", { className: classes, ...rest, children: filteredList.map((item, index) => renderItem(item, index)) }));
|
|
40
|
+
};
|
|
41
|
+
export default MenuItems;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MenuItems } from './MenuItems';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
// import './Message.scss'
|
|
3
|
+
const Message = ({ message, type }) => {
|
|
4
|
+
if (message.length === 0)
|
|
5
|
+
return null;
|
|
6
|
+
return (_jsx("div", { "data-testid": 'message', className: type !== undefined ? `e-message-${type}` : '', children: _jsx("p", { children: message }) }));
|
|
7
|
+
};
|
|
8
|
+
export default Message;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Message } from './Message';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// import './MessageInformation.scss'
|
|
3
|
+
const MessageInformation = ({ noImg, text, time, centered }) => {
|
|
4
|
+
return (_jsxs("div", { className: `message-information ${centered && 'text-center'}`, children: [_jsx("div", { className: `message-information__icon ${noImg && 'hide'}`, children: _jsx("svg", { viewBox: '0 0 24 24', xmlns: 'http://www.w3.org/2000/svg', children: _jsx("path", { d: 'M20.5601 9.21496L22.4211 11.3353C22.7523 11.7127 22.7523 12.2772 22.4211 12.6546L20.5601 14.775L20.8194 17.582C20.8656 18.0816 20.5344 18.538 20.0452 18.6491L17.2901 19.275L15.8483 21.7009C15.5918 22.1324 15.0553 22.3069 14.5941 22.1088L12.0001 20.995L9.40727 22.116C8.94569 22.3155 8.40771 22.1413 8.15079 21.709L6.71008 19.285L3.95478 18.6591C3.46563 18.548 3.13448 18.0917 3.1805 17.5922L3.44008 14.775L1.57802 12.6534C1.24723 12.2765 1.24673 11.7129 1.57685 11.3355L3.44008 9.20496L3.18095 6.40025C3.1347 5.89967 3.46726 5.44257 3.95778 5.33251L6.71008 4.71496L8.15191 2.28903C8.40835 1.85756 8.94491 1.68303 9.40611 1.88108L12.0001 2.99496L14.5941 1.88108C15.0553 1.68303 15.5918 1.85756 15.8483 2.28903L17.2901 4.71496L20.0452 5.34077C20.5344 5.4519 20.8656 5.90835 20.8194 6.40793L20.5601 9.21496ZM18.7501 16.895L18.4901 14.105L20.3401 11.995L18.4901 9.88496L18.7501 7.09496L16.0101 6.47496L14.5801 4.06496L12.0001 5.17496L9.42008 4.07496L7.99008 6.48496L5.25008 7.09496L5.51008 9.87496L3.66008 11.995L5.51008 14.095L5.25008 16.895L7.99008 17.515L9.42008 19.925L12.0001 18.815L14.5801 19.925L16.0101 17.515L18.7501 16.895ZM11.0001 15.995C11.0001 15.4427 11.4478 14.995 12.0001 14.995C12.5524 14.995 13.0001 15.4427 13.0001 15.995C13.0001 16.5472 12.5524 16.995 12.0001 16.995C11.4478 16.995 11.0001 16.5472 11.0001 15.995ZM12.0001 6.99496C11.4478 6.99496 11.0001 7.44267 11.0001 7.99496V12.995C11.0001 13.5472 11.4478 13.995 12.0001 13.995C12.5524 13.995 13.0001 13.5472 13.0001 12.995V7.99496C13.0001 7.44267 12.5524 6.99496 12.0001 6.99496Z' }) }) }), _jsxs("p", { className: `message-information__text`, children: [time != null && _jsxs("span", { className: `message-information__text__time ${noImg && 'regular'}`, children: [time, "' "] }), text] })] }));
|
|
5
|
+
};
|
|
6
|
+
export default MessageInformation;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as MessageInformation } from './MessageInformation';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { getCategoryIcons } from '../../../utils/getCategoryIcons';
|
|
3
|
+
// import './MoreDocsItem.scss'
|
|
4
|
+
export const MoreDocsItem = ({ title, description, slug, icon = null }) => {
|
|
5
|
+
return (_jsxs("div", { className: 'more-docs-item', onClick: () => {
|
|
6
|
+
window.location.href = slug;
|
|
7
|
+
}, "data-qa": `${title.replace(/\s/g, '_')}`, role: 'button', onKeyUp: (event) => {
|
|
8
|
+
if (event.key === 'Enter' || event.key === ' ') {
|
|
9
|
+
window.location.href = slug;
|
|
10
|
+
}
|
|
11
|
+
}, tabIndex: 0, children: [_jsx("div", { className: 'category-icon', children: icon ?? getCategoryIcons(description, 35, 30) }), _jsxs("div", { className: 'texts', children: [_jsx("div", { className: 'title', children: title }), _jsx("p", { className: 'description', children: description })] })] }));
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Button } from '../Button';
|
|
3
|
+
// import './NavMenuItem.scss'
|
|
4
|
+
export const NavMenuItem = ({ mainButton, items = [] }) => {
|
|
5
|
+
return (_jsxs("div", { className: 'nav-menu-item', children: [_jsx("div", { className: 'title', children: _jsx(Button, { ...mainButton, noLinkNoFunc: true, color: 'transparent' }) }), _jsx("ul", { className: 'list', children: items.map((item) => {
|
|
6
|
+
return (_jsx("li", { className: 'item-list', children: _jsx(Button, { ...item.props, color: 'transparent' }) }, item.key));
|
|
7
|
+
}) })] }));
|
|
8
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import paypalImg from '../../../../images/png/buy-logo-large-en.png';
|
|
3
|
+
// import './PaypalButton.scss'
|
|
4
|
+
const PaypalButton = ({ onClickButton }) => {
|
|
5
|
+
return (_jsx("button", { className: 'paypal-button', onClick: onClickButton, children: _jsx("img", { src: paypalImg, alt: '' }) }));
|
|
6
|
+
};
|
|
7
|
+
export default PaypalButton;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as PaypalButton } from './PaypalButton';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { ChevronRight24px } from '../../../../images/componentsSvg/ChevronRight24px';
|
|
3
|
+
import { getCategoryIcons } from '../../../utils/getCategoryIcons';
|
|
4
|
+
// import './PopularDocsItem.scss'
|
|
5
|
+
export const PopularDocsItem = ({ title, description, slug, icon = null }) => {
|
|
6
|
+
return (_jsxs("a", { className: 'popular-docs-item', href: slug, "data-qa": `${title.replace(/\s/g, '_')}`, children: [_jsx("div", { className: 'category-icon', children: icon ?? getCategoryIcons(description, 35, 30) }), _jsxs("div", { className: 'texts', children: [_jsx("div", { children: _jsx("strong", { children: title }) }), _jsx("p", { className: 'description', children: description })] }), _jsx("div", { className: 'icon-left', children: _jsx(ChevronRight24px, {}) })] }));
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// import './ProgressBar.scss'
|
|
3
|
+
const ProgressBar = ({ currentStep, allSteps }) => {
|
|
4
|
+
const currentProgress = (100 * currentStep) / allSteps.length;
|
|
5
|
+
return (_jsxs("section", { className: 'progress__wrapper', children: [_jsx("div", { className: 'progressbar', style: { width: `${currentProgress}%` } }), _jsx("div", { className: 'progressbar__remain' })] }));
|
|
6
|
+
};
|
|
7
|
+
export default ProgressBar;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ProgressBar } from './ProgressBar';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import IconImage from '../IconImage/IconImage';
|
|
3
|
+
// import './Radio.scss'
|
|
4
|
+
const Radio = (props) => {
|
|
5
|
+
const optionalClassNames = {
|
|
6
|
+
small: 'radio--small',
|
|
7
|
+
narrow: 'radio--narrow',
|
|
8
|
+
regularBare: 'radio--regular--bare'
|
|
9
|
+
};
|
|
10
|
+
const additionalClassNames = Object.keys(optionalClassNames)
|
|
11
|
+
.filter((attribute) => props[attribute])
|
|
12
|
+
.map((key) => optionalClassNames[key])
|
|
13
|
+
.join(' ');
|
|
14
|
+
const classNames = `e-radio ${props.class} ${!props.validate ? '--is-invalid' : ''} ${!props.isValidGroup ? '--group-invalid' : ''} ${additionalClassNames}`;
|
|
15
|
+
const TooltipObject = props.tooltip ? _jsx("p", { className: 'tooltip-form sans-serif --small', children: props.tooltip }) : '';
|
|
16
|
+
return (_jsxs("div", { className: `${classNames}`, children: [_jsx("label", { htmlFor: props.name, className: 'radio-group__label', children: props.label }), _jsx("div", { className: 'e-radio__inner', children: props.items?.map((radio) => {
|
|
17
|
+
return (_jsx("div", { className: `radio-item-container ${radio.value === props.value ? 'active' : ''}`, children: _jsxs("label", { className: 'e-radio-label', children: [radio.iconName !== undefined && radio.iconName !== '' && (_jsx(IconImage, { givenClass: 'radio-icon', iconName: radio.iconName })), _jsx("input", { type: 'radio', className: 'radio-item-input', id: `${props.name}_${radio.value}`, name: props.name, onChange: props.onChange, value: radio.value, checked: radio.value === props.value, disabled: props.disabled }), _jsx("label", { className: 'e-radio-label__label', htmlFor: `${props.name}_${radio.value}`, "data-qa": `${props.name}_${radio.value}`, children: radio.label }), _jsx("div", { children: props.help })] }, radio.value) }, radio.value));
|
|
18
|
+
}) }), TooltipObject] }));
|
|
19
|
+
};
|
|
20
|
+
export default Radio;
|