@npm_leadtech/legal-lib-components 4.1.14 → 4.1.16
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/src/components/atoms/DatePickerCustom/index.js +14680 -1
- package/dist/{DatePickerCustom → src/components/atoms/DatePickerCustom}/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/DatePickerCustom/index.js +0 -14680
- package/dist/images/componentsSvg/ArrowRight.js +0 -2
- package/dist/images/componentsSvg/ChevronExpandLess.js +0 -2
- package/dist/images/componentsSvg/ChevronExpandMore.js +0 -2
- package/dist/images/componentsSvg/ChevronRight.js +0 -2
- package/dist/images/componentsSvg/ChevronRight24px.js +0 -2
- package/dist/images/componentsSvg/Done24px.js +0 -2
- package/dist/images/componentsSvg/Done24pxoutlined.js +0 -4
- package/dist/images/componentsSvg/InfoError24pxOutlined.js +0 -2
- package/dist/images/componentsSvg/MailSvg.js +0 -4
- package/dist/images/componentsSvg/MenuCollapse24p.js +0 -2
- package/dist/images/componentsSvg/NewRelease24p.js +0 -2
- package/dist/images/componentsSvg/SvgProps.js +0 -1
- package/dist/images/componentsSvg/SymbolDoc.js +0 -4
- package/dist/images/componentsSvg/Time24px.js +0 -2
- package/dist/images/componentsSvg/flags/GBFlag.js +0 -4
- package/dist/images/componentsSvg/flags/USFlag.js +0 -4
- package/dist/images/componentsSvg/generalCategories/BusinessIconCategory.js +0 -4
- package/dist/images/componentsSvg/generalCategories/EmploymentIconCategory.js +0 -4
- package/dist/images/componentsSvg/generalCategories/FinanceIconCategory.js +0 -4
- package/dist/images/componentsSvg/generalCategories/PersonalFamilyIconCategory.js +0 -4
- package/dist/images/componentsSvg/generalCategories/RealEstateIconCategory.js +0 -4
- package/dist/images/componentsSvg/generalCategories/index.js +0 -5
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.js +0 -6
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCardProps.types.js +0 -1
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/index.js +0 -1
- package/dist/src/components/atoms/AddButton/AddButton.js +0 -6
- package/dist/src/components/atoms/AddButton/AddButtonProps.types.js +0 -1
- package/dist/src/components/atoms/AddButton/index.js +0 -1
- package/dist/src/components/atoms/BaseBox/BaseBox.js +0 -15
- package/dist/src/components/atoms/BaseBox/BaseBox.styled.js +0 -24
- package/dist/src/components/atoms/BaseBox/BaseBoxProps.types.js +0 -1
- package/dist/src/components/atoms/BaseBox/index.js +0 -1
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.js +0 -6
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCardProps.types.js +0 -1
- package/dist/src/components/atoms/BenefitRatafiaCard/index.js +0 -1
- package/dist/src/components/atoms/BillCard/BillCard.js +0 -6
- package/dist/src/components/atoms/BillCard/BillCardProps.types.js +0 -1
- package/dist/src/components/atoms/BillCard/index.js +0 -1
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.js +0 -7
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenuProps.types.js +0 -1
- package/dist/src/components/atoms/BottomOverlayMenu/index.js +0 -1
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.js +0 -7
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItemProps.types.js +0 -1
- package/dist/src/components/atoms/BreadcrumItem/index.js +0 -1
- package/dist/src/components/atoms/Button/Button.js +0 -54
- package/dist/src/components/atoms/Button/ButtonProps.types.js +0 -1
- package/dist/src/components/atoms/Button/index.js +0 -1
- package/dist/src/components/atoms/ButtonIcon/ButtonIcon.js +0 -26
- package/dist/src/components/atoms/ButtonIcon/ButtonIconProps.types.js +0 -1
- package/dist/src/components/atoms/ButtonIcon/index.js +0 -1
- package/dist/src/components/atoms/CardPane/CardPane.js +0 -9
- package/dist/src/components/atoms/CardPane/CardPaneInfo.js +0 -15
- package/dist/src/components/atoms/CardPane/CardPaneProps.types.js +0 -1
- package/dist/src/components/atoms/CardPane/index.js +0 -1
- package/dist/src/components/atoms/Checkbox/Checkbox.js +0 -7
- package/dist/src/components/atoms/Checkbox/CheckboxProps.types.js +0 -1
- package/dist/src/components/atoms/Checkbox/index.js +0 -1
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.js +0 -79
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustomProps.types.js +0 -1
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.js +0 -53
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIconProps.types.js +0 -1
- package/dist/src/components/atoms/DialogMenuIcon/index.js +0 -1
- package/dist/src/components/atoms/Disclaimer/Disclaimer.js +0 -9
- package/dist/src/components/atoms/Disclaimer/DisclaimerProps.types.js +0 -1
- package/dist/src/components/atoms/Disclaimer/index.js +0 -1
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.js +0 -21
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafiaProps.js +0 -1
- package/dist/src/components/atoms/DisclaimerRatafia/index.js +0 -1
- package/dist/src/components/atoms/Divider/Divider.js +0 -8
- package/dist/src/components/atoms/Divider/DividerProps.types.js +0 -1
- package/dist/src/components/atoms/Divider/index.js +0 -1
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.js +0 -15
- package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.js +0 -1
- package/dist/src/components/atoms/DocumentStatus/index.js +0 -1
- package/dist/src/components/atoms/DocumentTag/DocumentTag.js +0 -7
- package/dist/src/components/atoms/DocumentTag/DocumentTagProps.js +0 -1
- package/dist/src/components/atoms/DocumentTag/index.js +0 -1
- package/dist/src/components/atoms/ExpertCard/ExpertCard.js +0 -6
- package/dist/src/components/atoms/ExpertCard/ExpertCardProps.types.js +0 -1
- package/dist/src/components/atoms/ExpertCard/index.js +0 -1
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.js +0 -6
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCardProps.types.js +0 -1
- package/dist/src/components/atoms/FeatureRatafiaCard/index.js +0 -1
- package/dist/src/components/atoms/FormFaq/FormFaq.js +0 -6
- package/dist/src/components/atoms/FormFaq/FormFaqProps.types.js +0 -1
- package/dist/src/components/atoms/FormFaq/index.js +0 -1
- package/dist/src/components/atoms/GoogleButton/GoogleButton.js +0 -7
- package/dist/src/components/atoms/GoogleButton/GoogleButtonProps.types.js +0 -1
- package/dist/src/components/atoms/GoogleButton/index.js +0 -1
- package/dist/src/components/atoms/IconImage/IconImage.js +0 -9
- package/dist/src/components/atoms/IconImage/IconImageProps.types.js +0 -1
- package/dist/src/components/atoms/IconImage/index.js +0 -1
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.js +0 -15
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColorProps.types.js +0 -1
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/index.js +0 -1
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.js +0 -6
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.types.js +0 -1
- package/dist/src/components/atoms/IconTextInfoSection/index.js +0 -1
- package/dist/src/components/atoms/InfoBox/InfoBox.js +0 -7
- package/dist/src/components/atoms/InfoBox/InfoBoxProps.types.js +0 -1
- package/dist/src/components/atoms/InfoBox/index.js +0 -1
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.js +0 -5
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStaticProps.types.js +0 -1
- package/dist/src/components/atoms/JumbotronStatic/index.js +0 -1
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.js +0 -6
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCardProps.types.js +0 -1
- package/dist/src/components/atoms/KeyFactRatafiaCard/index.js +0 -1
- package/dist/src/components/atoms/Logo/Logo.js +0 -48
- package/dist/src/components/atoms/Logo/LogoProps.types.js +0 -1
- package/dist/src/components/atoms/Logo/index.js +0 -1
- package/dist/src/components/atoms/LogoText/LogoText.js +0 -6
- package/dist/src/components/atoms/LogoText/LogoTextProps.types.js +0 -1
- package/dist/src/components/atoms/LogoText/index.js +0 -1
- package/dist/src/components/atoms/MenuItems/MenuItemProps.types.js +0 -1
- package/dist/src/components/atoms/MenuItems/MenuItems.js +0 -41
- package/dist/src/components/atoms/MenuItems/index.js +0 -1
- package/dist/src/components/atoms/Message/Message.js +0 -8
- package/dist/src/components/atoms/Message/MessageProps.types.js +0 -1
- package/dist/src/components/atoms/Message/index.js +0 -1
- package/dist/src/components/atoms/MessageInformation/MessageInformation.js +0 -6
- package/dist/src/components/atoms/MessageInformation/MessageInformationProps.types.js +0 -1
- package/dist/src/components/atoms/MessageInformation/index.js +0 -1
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.js +0 -12
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItemProps.js +0 -1
- package/dist/src/components/atoms/MoreDocsItem/index.js +0 -2
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.js +0 -8
- package/dist/src/components/atoms/NavMenuItem/NavMenuItemProps.js +0 -1
- package/dist/src/components/atoms/NavMenuItem/index.js +0 -2
- package/dist/src/components/atoms/PaypalButton/PaypalButton.js +0 -7
- package/dist/src/components/atoms/PaypalButton/PaypalButtonProps.types.js +0 -1
- package/dist/src/components/atoms/PaypalButton/index.js +0 -1
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.js +0 -7
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItemProps.js +0 -1
- package/dist/src/components/atoms/PopularDocsItem/index.js +0 -2
- package/dist/src/components/atoms/ProgressBar/ProgressBar.js +0 -7
- package/dist/src/components/atoms/ProgressBar/ProgressBarProps.types.js +0 -1
- package/dist/src/components/atoms/ProgressBar/index.js +0 -1
- package/dist/src/components/atoms/Radio/Radio.js +0 -20
- package/dist/src/components/atoms/Radio/RadioProps.types.js +0 -1
- package/dist/src/components/atoms/Radio/index.js +0 -1
- package/dist/src/components/atoms/RemoveButton/RemoveButton.js +0 -7
- package/dist/src/components/atoms/RemoveButton/RemoveButtonProps.types.js +0 -1
- package/dist/src/components/atoms/RemoveButton/index.js +0 -1
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.js +0 -6
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafiaProps.types.js +0 -1
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/index.js +0 -1
- package/dist/src/components/atoms/RichTextInner/RichTextInner.js +0 -4
- package/dist/src/components/atoms/RichTextInner/RichTextInnerProps.types.js +0 -1
- package/dist/src/components/atoms/RichTextInner/index.js +0 -1
- package/dist/src/components/atoms/RichTextStrapi/RichTextMedia.js +0 -1
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.js +0 -9
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapiProps.js +0 -1
- package/dist/src/components/atoms/RichTextStrapi/index.js +0 -1
- package/dist/src/components/atoms/RichTextStrapi/useFormattedText.js +0 -24
- package/dist/src/components/atoms/SearchSelect/SearchSelect.js +0 -55
- package/dist/src/components/atoms/SearchSelect/SearchSelectProps.types.js +0 -1
- package/dist/src/components/atoms/SearchSelect/index.js +0 -1
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.js +0 -13
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBoxProps.js +0 -1
- package/dist/src/components/atoms/ShowMoreBox/index.js +0 -1
- package/dist/src/components/atoms/SidemenuTab/SideMenuTabProps.types.js +0 -1
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.js +0 -17
- package/dist/src/components/atoms/SidemenuTab/index.js +0 -1
- package/dist/src/components/atoms/Spinner/Spinner.js +0 -6
- package/dist/src/components/atoms/Spinner/SpinnerProps.types.js +0 -1
- package/dist/src/components/atoms/Spinner/index.js +0 -1
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.js +0 -6
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCardProps.types.js +0 -1
- package/dist/src/components/atoms/StepRatafiaCard/index.js +0 -1
- package/dist/src/components/atoms/Tag/Tag.js +0 -5
- package/dist/src/components/atoms/Tag/TagProps.js +0 -1
- package/dist/src/components/atoms/Tag/index.js +0 -2
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.js +0 -6
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItemProps.types.js +0 -1
- package/dist/src/components/atoms/TagRatafiaItem/index.js +0 -1
- package/dist/src/components/atoms/Tagline/Tagline.js +0 -5
- package/dist/src/components/atoms/Tagline/TaglineProps.types.js +0 -1
- package/dist/src/components/atoms/Tagline/index.js +0 -1
- package/dist/src/components/atoms/TestAB/TestAB.js +0 -23
- package/dist/src/components/atoms/TextArea/TextArea.js +0 -9
- package/dist/src/components/atoms/TextArea/TextAreaProps.types.js +0 -1
- package/dist/src/components/atoms/TextArea/index.js +0 -1
- package/dist/src/components/atoms/Toggle/Toggle.js +0 -6
- package/dist/src/components/atoms/Toggle/ToggleProps.types.js +0 -1
- package/dist/src/components/atoms/Toggle/index.js +0 -1
- package/dist/src/components/atoms/Tooltip/Tooltip.js +0 -14
- package/dist/src/components/atoms/Tooltip/TooltipProps.types.js +0 -1
- package/dist/src/components/atoms/Tooltip/index.js +0 -1
- package/dist/src/components/atoms/TopBar/TopBar.js +0 -12
- package/dist/src/components/atoms/TopBar/TopBarProps.types.js +0 -1
- package/dist/src/components/atoms/TopBar/index.js +0 -1
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.js +0 -9
- package/dist/src/components/atoms/TopBarMobile/index.js +0 -1
- package/dist/src/components/atoms/TrustPilot/TrustPilot.js +0 -6
- package/dist/src/components/atoms/TrustPilot/TrustPilotProps.types.js +0 -1
- package/dist/src/components/atoms/TrustPilot/index.js +0 -1
- package/dist/src/components/atoms/Video/Video.js +0 -9
- package/dist/src/components/atoms/Video/VideoProps.types.js +0 -1
- package/dist/src/components/atoms/Video/index.js +0 -1
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.js +0 -8
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItemsProps.types.js +0 -1
- package/dist/src/components/atoms/WhyLawDistrictItems/index.js +0 -1
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.js +0 -7
- package/dist/src/components/atoms/WideInfoBar/index.js +0 -1
- package/dist/src/components/atoms/index.js +0 -60
- package/dist/src/components/molecules/AccordionItem/AccordionItem.js +0 -23
- package/dist/src/components/molecules/AccordionItem/AccordionItemProps.types.js +0 -1
- package/dist/src/components/molecules/AccordionItem/index.js +0 -1
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.js +0 -9
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardListProps.types.js +0 -1
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/index.js +0 -1
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.js +0 -10
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAsProps.types.js +0 -1
- package/dist/src/components/molecules/AlsoKnownAs/index.js +0 -1
- package/dist/src/components/molecules/Article/Article.js +0 -7
- package/dist/src/components/molecules/Article/ArticleProps.types.js +0 -1
- package/dist/src/components/molecules/Article/index.js +0 -1
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.js +0 -13
- package/dist/src/components/molecules/BaseBoxList/BaseBoxListProps.types.js +0 -1
- package/dist/src/components/molecules/BaseBoxList/index.js +0 -1
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.js +0 -9
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.js +0 -1
- package/dist/src/components/molecules/BenefitRatafiaCardList/index.js +0 -1
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.js +0 -9
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBarProps.types.js +0 -1
- package/dist/src/components/molecules/BottomFixedBar/index.js +0 -1
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.js +0 -49
- package/dist/src/components/molecules/BottomOverlay/BottomOverlayProps.types.js +0 -1
- package/dist/src/components/molecules/BottomOverlay/index.js +0 -1
- package/dist/src/components/molecules/BoxForm/BoxForm.js +0 -21
- package/dist/src/components/molecules/BoxForm/BoxFormProps.types.js +0 -1
- package/dist/src/components/molecules/BoxForm/index.js +0 -1
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.js +0 -7
- package/dist/src/components/molecules/Breadcrumb/BreadcrumbProps.types.js +0 -1
- package/dist/src/components/molecules/Breadcrumb/index.js +0 -1
- package/dist/src/components/molecules/ContactBox/ContactBox.js +0 -14
- package/dist/src/components/molecules/ContactBox/ContactBoxProps.types.js +0 -1
- package/dist/src/components/molecules/ContactBox/index.js +0 -1
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.js +0 -13
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBannerProps.types.js +0 -1
- package/dist/src/components/molecules/ContinueEditingBanner/index.js +0 -1
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.js +0 -34
- package/dist/src/components/molecules/CountDownMessage/CountDownMessageProps.types.js +0 -1
- package/dist/src/components/molecules/CountDownMessage/index.js +0 -1
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.js +0 -6
- package/dist/src/components/molecules/EmailContactBox/EmailContactBoxProps.js +0 -1
- package/dist/src/components/molecules/EmailContactBox/index.js +0 -2
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.js +0 -10
- package/dist/src/components/molecules/ExpertCardList/ExpertCardListProps.types.js +0 -1
- package/dist/src/components/molecules/ExpertCardList/index.js +0 -1
- package/dist/src/components/molecules/FaqItem/FaqItem.js +0 -12
- package/dist/src/components/molecules/FaqItem/FaqItemProps.js +0 -1
- package/dist/src/components/molecules/FaqItem/index.js +0 -2
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.js +0 -9
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardListProps.types.js +0 -1
- package/dist/src/components/molecules/FeatureRatafiaCardList/index.js +0 -1
- package/dist/src/components/molecules/Feedback/Feedback.js +0 -42
- package/dist/src/components/molecules/Feedback/FeedbackProps.types.js +0 -1
- package/dist/src/components/molecules/Feedback/index.js +0 -1
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.js +0 -22
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.types.js +0 -1
- package/dist/src/components/molecules/FreeDocModalContent/index.js +0 -1
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.js +0 -7
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafiaProps.types.js +0 -1
- package/dist/src/components/molecules/HeaderRatafia/index.js +0 -1
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.js +0 -9
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafiaProps.types.js +0 -1
- package/dist/src/components/molecules/KeyFactCardListRatafia/index.js +0 -1
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.js +0 -10
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSectionProps.types.js +0 -1
- package/dist/src/components/molecules/MenuItemsSection/index.js +0 -1
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.js +0 -7
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContentProps.types.js +0 -1
- package/dist/src/components/molecules/MidBannerRatafiaContent/index.js +0 -1
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.js +0 -6
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSampleProps.types.js +0 -1
- package/dist/src/components/molecules/MidBannerRatafiaSample/index.js +0 -1
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.js +0 -6
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktopProps.js +0 -1
- package/dist/src/components/molecules/MoreDocsDesktop/index.js +0 -2
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.js +0 -17
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobileProps.js +0 -1
- package/dist/src/components/molecules/MoreDocsMobile/index.js +0 -2
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.js +0 -67
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDownProps.types.js +0 -1
- package/dist/src/components/molecules/NavBarDropDown/index.js +0 -1
- package/dist/src/components/molecules/Pagination/PageStepControl.js +0 -21
- package/dist/src/components/molecules/Pagination/PageStepControlProps.types.js +0 -1
- package/dist/src/components/molecules/Pagination/PageSteps.js +0 -47
- package/dist/src/components/molecules/Pagination/Pagination.js +0 -24
- package/dist/src/components/molecules/Pagination/PaginationProps.types.js +0 -1
- package/dist/src/components/molecules/Pagination/index.js +0 -1
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.js +0 -7
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktopProps.types.js +0 -1
- package/dist/src/components/molecules/PhoneContactBoxDesktop/index.js +0 -1
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.js +0 -6
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobileProps.types.js +0 -1
- package/dist/src/components/molecules/PhoneContactBoxMobile/index.js +0 -1
- package/dist/src/components/molecules/PopularDocs/PopularDocs.js +0 -6
- package/dist/src/components/molecules/PopularDocs/PopularDocsProps.js +0 -1
- package/dist/src/components/molecules/PopularDocs/index.js +0 -2
- package/dist/src/components/molecules/PricingCard/PricingCard.js +0 -30
- package/dist/src/components/molecules/PricingCard/PricingCardProps.types.js +0 -1
- package/dist/src/components/molecules/PricingCard/index.js +0 -1
- package/dist/src/components/molecules/Snackbar/Snackbar.js +0 -42
- package/dist/src/components/molecules/Snackbar/SnackbarProps.types.js +0 -1
- package/dist/src/components/molecules/Snackbar/index.js +0 -1
- package/dist/src/components/molecules/StepGetForm/StepGetForm.js +0 -6
- package/dist/src/components/molecules/StepGetForm/StepGetFormProps.types.js +0 -1
- package/dist/src/components/molecules/StepGetForm/index.js +0 -1
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.js +0 -9
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardListProps.types.js +0 -1
- package/dist/src/components/molecules/StepRatafiaCardList/index.js +0 -1
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.js +0 -9
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaListProps.types.js +0 -1
- package/dist/src/components/molecules/TagsRatafiaList/index.js +0 -1
- package/dist/src/components/molecules/TextInput/Input.js +0 -15
- package/dist/src/components/molecules/TextInput/TextInput.js +0 -39
- package/dist/src/components/molecules/TextInput/TextInputLabel.js +0 -7
- package/dist/src/components/molecules/TextInput/TextInputMessage.js +0 -8
- package/dist/src/components/molecules/TextInput/TextInputProps.types.js +0 -1
- package/dist/src/components/molecules/TextInput/TextInputTooltip.js +0 -6
- package/dist/src/components/molecules/TextInput/index.js +0 -1
- package/dist/src/components/molecules/TooltipMenu/TooltipMenu.js +0 -9
- package/dist/src/components/molecules/TooltipMenu/TooltipMenuProps.types.js +0 -1
- package/dist/src/components/molecules/TooltipMenu/index.js +0 -1
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.js +0 -6
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsitesProps.types.js +0 -1
- package/dist/src/components/molecules/TrustworthyWebsites/index.js +0 -1
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.js +0 -7
- package/dist/src/components/molecules/TypeModulesList/TypeModulesListProps.types.js +0 -1
- package/dist/src/components/molecules/TypeModulesList/index.js +0 -1
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.js +0 -7
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZoneProps.types.js +0 -1
- package/dist/src/components/molecules/UploadRatafiaZone/index.js +0 -1
- package/dist/src/components/molecules/index.js +0 -41
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.js +0 -7
- package/dist/src/components/organisms/AboutUsContent/AboutUsContentProps.types.js +0 -1
- package/dist/src/components/organisms/AboutUsContent/index.js +0 -1
- package/dist/src/components/organisms/Accordion/Accordion.context.js +0 -80
- package/dist/src/components/organisms/Accordion/Accordion.js +0 -14
- package/dist/src/components/organisms/Accordion/AccordionProps.types.js +0 -1
- package/dist/src/components/organisms/Accordion/index.js +0 -2
- package/dist/src/components/organisms/ArticlesList/ArticlesList.js +0 -9
- package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.js +0 -1
- package/dist/src/components/organisms/ArticlesList/index.js +0 -1
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.js +0 -11
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContentProps.types.js +0 -1
- package/dist/src/components/organisms/AsSeeInContent/index.js +0 -1
- package/dist/src/components/organisms/CardFuncionality/CardFuncionality.js +0 -6
- package/dist/src/components/organisms/CardFuncionality/CardFuncionalityProps.js +0 -1
- package/dist/src/components/organisms/CardFuncionality/index.js +0 -2
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.js +0 -7
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotronProps.types.js +0 -1
- package/dist/src/components/organisms/ContactJumbotron/index.js +0 -1
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.js +0 -6
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBarProps.js +0 -1
- package/dist/src/components/organisms/CookiePolicyBar/index.js +0 -2
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.js +0 -5
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafiaProps.types.js +0 -1
- package/dist/src/components/organisms/ErrorContentRatafia/index.js +0 -1
- package/dist/src/components/organisms/FaqGroup/FaqGroup.js +0 -6
- package/dist/src/components/organisms/FaqGroup/FaqGroupProps.js +0 -1
- package/dist/src/components/organisms/FaqGroup/index.js +0 -2
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.js +0 -7
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContentProps.types.js +0 -1
- package/dist/src/components/organisms/FeaturesRatafiaContent/index.js +0 -1
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.js +0 -7
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContentProps.types.js +0 -1
- package/dist/src/components/organisms/GuidelinesContent/index.js +0 -1
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.js +0 -7
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContentProps.types.js +0 -1
- package/dist/src/components/organisms/JumbotronRatafiaContent/index.js +0 -1
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.js +0 -6
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafiaProps.types.js +0 -1
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/index.js +0 -1
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.js +0 -8
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafiaProps.types.js +0 -1
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/index.js +0 -1
- package/dist/src/components/organisms/LanguageSelector/LanguageSelector.js +0 -33
- package/dist/src/components/organisms/LanguageSelector/LanguageSelectorProps.js +0 -1
- package/dist/src/components/organisms/LanguageSelector/LenguageSelectorItem.js +0 -1
- package/dist/src/components/organisms/LanguageSelector/index.js +0 -6
- package/dist/src/components/organisms/LanguageSelector/useLanguageOptions.js +0 -8
- package/dist/src/components/organisms/LanguageSelector/useLanguageSelected.js +0 -8
- package/dist/src/components/organisms/LanguageSelector/useLanguagesSelector.js +0 -24
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.js +0 -22
- package/dist/src/components/organisms/LanguageSelectorMobile/index.js +0 -1
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.js +0 -7
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafiaProps.types.js +0 -1
- package/dist/src/components/organisms/LayoutRatafia/index.js +0 -1
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.js +0 -9
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetFormProps.types.js +0 -1
- package/dist/src/components/organisms/ListStepsGetForm/index.js +0 -1
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.js +0 -7
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContentProps.types.js +0 -1
- package/dist/src/components/organisms/LoginRatafiaContent/index.js +0 -1
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.js +0 -22
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.js +0 -1
- package/dist/src/components/organisms/MobileBottomBar/index.js +0 -1
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.js +0 -7
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContentProps.types.js +0 -1
- package/dist/src/components/organisms/StepsRatafiaContent/index.js +0 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +0 -7
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +0 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.js +0 -1
- package/dist/src/components/organisms/index.js +0 -22
- package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +0 -5
- package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.js +0 -1
- package/dist/src/components/pages/AboutUsPage/index.js +0 -2
- package/dist/src/components/pages/ContactUsPage/ContactUsPage.js +0 -6
- package/dist/src/components/pages/ContactUsPage/ContactUsPageProps.js +0 -1
- package/dist/src/components/pages/ContactUsPage/index.js +0 -2
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.js +0 -13
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPageProps.types.js +0 -1
- package/dist/src/components/pages/ErrorRatafiaPage/index.js +0 -1
- package/dist/src/components/pages/FaqsPage/FaqsPage.js +0 -6
- package/dist/src/components/pages/FaqsPage/FaqsPageProps.js +0 -1
- package/dist/src/components/pages/FaqsPage/index.js +0 -2
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.js +0 -15
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPageProps.types.js +0 -1
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/index.js +0 -1
- package/dist/src/components/pages/LegalPage/LegalPage.js +0 -6
- package/dist/src/components/pages/LegalPage/LegalPageProps.js +0 -1
- package/dist/src/components/pages/LegalPage/index.js +0 -2
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.js +0 -12
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPageProps.js +0 -1
- package/dist/src/components/pages/LoginRatafiaPage/index.js +0 -2
- package/dist/src/components/pages/RatafiaLandingPage/RatafiaLandingPage.js +0 -5
- package/dist/src/components/pages/RatafiaLandingPage/RatafiaLandingPageProps.types.js +0 -1
- package/dist/src/components/pages/RatafiaLandingPage/index.js +0 -2
- package/dist/src/components/pages/UnsubscribePage/UnsubscribePage.js +0 -6
- package/dist/src/components/pages/UnsubscribePage/UnsubscribePageProps.js +0 -1
- package/dist/src/components/pages/UnsubscribePage/index.js +0 -2
- package/dist/src/components/pages/index.js +0 -9
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +0 -7
- package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.js +0 -1
- package/dist/src/components/sections/AboutUsSection/index.js +0 -1
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.js +0 -10
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.js +0 -1
- package/dist/src/components/sections/AsSeeInSection/index.js +0 -1
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.js +0 -5
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSectionProps.js +0 -1
- package/dist/src/components/sections/AsideMenuSection/index.js +0 -2
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.js +0 -7
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.js +0 -1
- package/dist/src/components/sections/BenefitsRatafiaSection/index.js +0 -1
- package/dist/src/components/sections/BlogSection/BlogSection.js +0 -10
- package/dist/src/components/sections/BlogSection/BlogSectionProps.types.js +0 -1
- package/dist/src/components/sections/BlogSection/index.js +0 -1
- package/dist/src/components/sections/ContactSection/ContactSection.js +0 -7
- package/dist/src/components/sections/ContactSection/ContactSectionProps.js +0 -1
- package/dist/src/components/sections/ContactSection/index.js +0 -1
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.js +0 -10
- package/dist/src/components/sections/ExpertsSection/ExpertsSectionProps.types.js +0 -1
- package/dist/src/components/sections/ExpertsSection/index.js +0 -1
- package/dist/src/components/sections/FaqSection/FaqSection.js +0 -8
- package/dist/src/components/sections/FaqSection/FaqSectionProps.js +0 -1
- package/dist/src/components/sections/FaqSection/index.js +0 -2
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.js +0 -7
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSectionProps.types.js +0 -1
- package/dist/src/components/sections/FeaturesRatafiaSection/index.js +0 -1
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.js +0 -7
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSectionProps.types.js +0 -1
- package/dist/src/components/sections/GuidelinesSection/index.js +0 -1
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.js +0 -10
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSectionProps.types.js +0 -1
- package/dist/src/components/sections/HowGetYourFormsSection/index.js +0 -1
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.js +0 -7
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSectionProps.types.js +0 -1
- package/dist/src/components/sections/JumbotronRatafiaSection/index.js +0 -1
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.js +0 -6
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSectionProps.types.js +0 -1
- package/dist/src/components/sections/JumbotronSimplifiedSection/index.js +0 -1
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.js +0 -7
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSectionProps.types.js +0 -1
- package/dist/src/components/sections/LearnMoreSection/index.js +0 -1
- package/dist/src/components/sections/LegalSection/LegalSection.js +0 -6
- package/dist/src/components/sections/LegalSection/LegalSectionProps.js +0 -1
- package/dist/src/components/sections/LegalSection/index.js +0 -2
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.js +0 -7
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSectionProps.types.js +0 -1
- package/dist/src/components/sections/MidBannerRatafiaSection/index.js +0 -1
- package/dist/src/components/sections/MoreDocsSection/MoreDocsSection.js +0 -12
- package/dist/src/components/sections/MoreDocsSection/MoreDocsSectionProps.js +0 -1
- package/dist/src/components/sections/MoreDocsSection/index.js +0 -2
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.js +0 -7
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSectionProps.types.js +0 -1
- package/dist/src/components/sections/PeopleSayAboutUsSection/index.js +0 -1
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.js +0 -8
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSectionProps.types.js +0 -1
- package/dist/src/components/sections/StepsRatafiaSection/index.js +0 -1
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.js +0 -6
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSectionProps.types.js +0 -1
- package/dist/src/components/sections/TryItRatafiaSection/index.js +0 -1
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +0 -7
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSectionProps.types.js +0 -1
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/index.js +0 -1
- package/dist/src/components/sections/TryUsSection/TryUsSection.js +0 -6
- package/dist/src/components/sections/TryUsSection/TryUsSectionProps.js +0 -1
- package/dist/src/components/sections/TryUsSection/index.js +0 -1
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.js +0 -6
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSectionProps.js +0 -1
- package/dist/src/components/sections/UnsubscribeSection/index.js +0 -1
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.js +0 -10
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSectionProps.types.js +0 -1
- package/dist/src/components/sections/WhyLawDistrictSection/index.js +0 -1
- package/dist/src/components/sections/index.js +0 -24
- package/dist/src/hooks/index.js +0 -2
- package/dist/src/hooks/useIntersectionObserver.js +0 -22
- package/dist/src/hooks/useIsMobileOrTable.js +0 -26
- package/dist/src/index.js +0 -2
- package/dist/src/utils/ProductCategory.js +0 -8
- package/dist/src/utils/getCategoryIcons.js +0 -28
- package/dist/src/utils/getDateFormatMMMMYYYY.js +0 -3
- package/dist/src/utils/getGatsbyImageSkeleton.js +0 -4
- package/dist/src/utils/getRichTextSkeleton.js +0 -4
- package/dist/src/utils/index.js +0 -7
- package/dist/src/utils/replaceAll.js +0 -6
- package/dist/src/utils/stringSlugify.js +0 -3
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as RichTextInner } from './RichTextInner';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useFormattedText } from './useFormattedText';
|
|
3
|
-
// import './RichTextStrapi.scss'
|
|
4
|
-
export const RichTextStrapi = ({ html = '', className = '', medias = [] }) => {
|
|
5
|
-
const { text } = useFormattedText(html, medias);
|
|
6
|
-
if (html.length === 0)
|
|
7
|
-
return null;
|
|
8
|
-
return _jsx("div", { className: `richt-text-strapi m-richText ${className}`, dangerouslySetInnerHTML: { __html: text } });
|
|
9
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { RichTextStrapi } from './RichTextStrapi';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { getDateFormatMMMMYYYY } from '../../../utils/getDateFormatMMMMYYYY';
|
|
3
|
-
import { replaceAll } from '../../../utils/replaceAll';
|
|
4
|
-
const formatTable = (text) => {
|
|
5
|
-
let tableTextFormated = replaceAll(text, '<table>', '<div class="table-wrapper"><table>');
|
|
6
|
-
tableTextFormated = replaceAll(tableTextFormated, '</table>', '</table></div>');
|
|
7
|
-
return tableTextFormated;
|
|
8
|
-
};
|
|
9
|
-
export const useFormattedText = (html, medias = []) => {
|
|
10
|
-
const initText = () => {
|
|
11
|
-
let text = html ?? '';
|
|
12
|
-
medias.forEach((media) => {
|
|
13
|
-
if ((media?.localFile?.publicURL ?? '').length === 0 || (media?.src ?? '').length === 0)
|
|
14
|
-
return;
|
|
15
|
-
text = text.replace(media.src, media.localFile.publicURL);
|
|
16
|
-
});
|
|
17
|
-
text = replaceAll(text, '<img ', '<img loading="lazy" ');
|
|
18
|
-
text = text.replace('{{monthYear}}', getDateFormatMMMMYYYY());
|
|
19
|
-
text = formatTable(text);
|
|
20
|
-
return text;
|
|
21
|
-
};
|
|
22
|
-
const [text] = React.useState(initText());
|
|
23
|
-
return { text };
|
|
24
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import Select from 'react-select';
|
|
3
|
-
import classNames from 'classnames';
|
|
4
|
-
import error from '../../../../images/svg/info-error_24px_outlined.svg';
|
|
5
|
-
// import './SearchSelect.scss'
|
|
6
|
-
export var MenuPlacement;
|
|
7
|
-
(function (MenuPlacement) {
|
|
8
|
-
MenuPlacement["top"] = "top";
|
|
9
|
-
MenuPlacement["bottom"] = "bottom";
|
|
10
|
-
MenuPlacement["auto"] = "auto";
|
|
11
|
-
})(MenuPlacement || (MenuPlacement = {}));
|
|
12
|
-
const getSortedItems = (items, isSortAlphabetically = false) => {
|
|
13
|
-
if (isSortAlphabetically) {
|
|
14
|
-
return items.sort((item1, item2) => {
|
|
15
|
-
const textItem1 = item1.label.toUpperCase();
|
|
16
|
-
const textItem2 = item2.label.toUpperCase();
|
|
17
|
-
if (textItem1 < textItem2)
|
|
18
|
-
return -1;
|
|
19
|
-
return textItem1 > textItem2 ? 1 : 0;
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
return items;
|
|
23
|
-
};
|
|
24
|
-
const SearchSelect = (props) => {
|
|
25
|
-
const { customClass = '', menuPlacement = MenuPlacement.bottom } = props;
|
|
26
|
-
const sortedItems = getSortedItems(props.items, props.isSortAlphabetically);
|
|
27
|
-
const defaultValue = props.defaultValue;
|
|
28
|
-
const classnames = classNames({
|
|
29
|
-
'e-searchselect': true,
|
|
30
|
-
'--is-invalid': !props.validate,
|
|
31
|
-
[`${customClass}`]: props.customClass,
|
|
32
|
-
'--group-invalid': !props.isValidGroup
|
|
33
|
-
});
|
|
34
|
-
const handleChange = (selectedOption) => {
|
|
35
|
-
const selectObject = {
|
|
36
|
-
target: {
|
|
37
|
-
name: props.name,
|
|
38
|
-
value: selectedOption
|
|
39
|
-
}
|
|
40
|
-
};
|
|
41
|
-
props.onChange(selectObject);
|
|
42
|
-
};
|
|
43
|
-
const TooltipObject = props.tooltip && typeof props.tooltip === 'string' ? (_jsx("p", { className: 'tooltip-form sans-serif --small', children: props.tooltip })) : ('');
|
|
44
|
-
return (_jsxs(_Fragment, { children: [props.label && (_jsx("div", { className: 'e-searchselect__inner', children: _jsx("label", { className: 'searchselect__label', children: props.label }) })), _jsxs("div", { className: `${classnames} ${props.width ? 'width' : ''}`, "data-qa": `${props.dataQA ?? props.name}`, children: [TooltipObject, _jsxs("span", { className: 'e-searchselect--error sans-serif --small', children: [_jsx("img", { src: error, alt: props.errorMessage, width: '24', height: '24' }), props.errorMessage] }), _jsx(Select, { styles: {
|
|
45
|
-
control: (baseStyles, state) => {
|
|
46
|
-
return {
|
|
47
|
-
...baseStyles,
|
|
48
|
-
borderColor: state.isFocused ? 'var(--primary-main) !important' : '',
|
|
49
|
-
boxShadow: state.isFocused ? '0 0 0 1px var(--primary-main) !important' : '',
|
|
50
|
-
borderStyle: state.isFocused ? 'solid' : 'initial'
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
}, id: props.name, name: props.name, className: 'legal-selector', defaultValue: defaultValue, onChange: handleChange, isDisabled: props.disabled, isSearchable: props.isSearchable !== false, options: sortedItems, escapeClearsValue: true, isClearable: true, placeholder: props.placeholder, defaultMenuIsOpen: props.defaultMenuIsOpen, menuPlacement: menuPlacement })] })] }));
|
|
54
|
-
};
|
|
55
|
-
export default SearchSelect;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as SearchSelect, MenuPlacement } from './SearchSelect';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { ChevronExpandLess } from '../../../../images/componentsSvg/ChevronExpandLess';
|
|
4
|
-
import { ChevronExpandMore } from '../../../../images/componentsSvg/ChevronExpandMore';
|
|
5
|
-
// import './ShowMoreBox.scss'
|
|
6
|
-
export const ShowMoreBox = ({ children, collapsedButtonText = 'Show More', expandedButtonText = 'Show Less' }) => {
|
|
7
|
-
const [isExpanded, setIsExpanded] = React.useState(false);
|
|
8
|
-
return (_jsxs("div", { className: 'show-more-box', children: [_jsx("div", { className: `content ${isExpanded ? '' : 'truncate'}`, children: children }), _jsxs("div", { className: 'button', children: [_jsx("div", { role: 'button', tabIndex: 0, onClick: () => {
|
|
9
|
-
setIsExpanded(!isExpanded);
|
|
10
|
-
}, onKeyDown: () => {
|
|
11
|
-
setIsExpanded(!isExpanded);
|
|
12
|
-
}, children: isExpanded ? expandedButtonText : collapsedButtonText }), isExpanded ? _jsx(ChevronExpandLess, {}) : _jsx(ChevronExpandMore, {})] })] }));
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ShowMoreBox } from './ShowMoreBox';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import classNames from 'classnames';
|
|
3
|
-
import { MenuItems } from '../MenuItems';
|
|
4
|
-
import { Tooltip } from '../Tooltip';
|
|
5
|
-
// import './SidemenuTab.scss'
|
|
6
|
-
const SidemenuTab = ({ active, mobile, menu, text, image, onClick, children }) => {
|
|
7
|
-
const classes = classNames('sidemenu-tab', {
|
|
8
|
-
'sidemenu-tab--active': active,
|
|
9
|
-
'sidemenu-tab--mobile': mobile
|
|
10
|
-
});
|
|
11
|
-
const renderTab = () => (_jsx("button", { className: classes, onClick: onClick, children: _jsxs("div", { className: 'sidemenu-tab__inner', children: [image, _jsx("p", { className: 'sans-serif --medium', children: children ?? text })] }) }));
|
|
12
|
-
if (menu === undefined || menu?.lenght === 0) {
|
|
13
|
-
return renderTab();
|
|
14
|
-
}
|
|
15
|
-
return (_jsx(Tooltip, { content: _jsx(MenuItems, { list: menu }), interactive: true, trigger: 'click', children: renderTab() }));
|
|
16
|
-
};
|
|
17
|
-
export default SidemenuTab;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as SidemenuTab } from './SidemenuTab';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
// import './Spinner.scss'
|
|
3
|
-
const Spinner = ({ className = '', big = false }) => {
|
|
4
|
-
return !big ? (_jsx("svg", { className: `e-spinner ${className}`, width: '24', height: '24', viewBox: '0 0 24 24', fill: 'none', children: _jsx("path", { d: 'M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 11.3864 2.49746 10.8889 3.11111 10.8889C3.72476 10.8889 4.22222 11.3864 4.22222 12C4.22222 16.2955 7.70445 19.7778 12 19.7778C16.2955 19.7778 19.7778 16.2955 19.7778 12C19.7778 7.70445 16.2955 4.22222 12 4.22222C11.3864 4.22222 10.8889 3.72476 10.8889 3.11111C10.8889 2.49746 11.3864 2 12 2Z', fill: '#6D7275' }) })) : (_jsx("svg", { className: `e-spinner big ${className}`, viewBox: '0 0 24 24', fill: 'none', children: _jsx("path", { d: 'M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 11.3864 2.49746 10.8889 3.11111 10.8889C3.72476 10.8889 4.22222 11.3864 4.22222 12C4.22222 16.2955 7.70445 19.7778 12 19.7778C16.2955 19.7778 19.7778 16.2955 19.7778 12C19.7778 7.70445 16.2955 4.22222 12 4.22222C11.3864 4.22222 10.8889 3.72476 10.8889 3.11111C10.8889 2.49746 11.3864 2 12 2Z', fill: '#6D7275' }) }));
|
|
5
|
-
};
|
|
6
|
-
export default Spinner;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Spinner } from './Spinner';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
// import './StepRatafiaCard.scss'
|
|
3
|
-
export const StepRatafiaCard = ({ title, icon, description }) => {
|
|
4
|
-
return (_jsxs("div", { className: 'step-ratafia-card', children: [_jsxs("div", { className: 'step-ratafia-card__title', children: [icon !== null && _jsx("div", { className: 'step-ratafia-card__title__icon', children: icon }), _jsx("h3", { className: 'sans-serif --medium --bold-weight step-ratafia-card__title__text', children: title })] }), _jsx("p", { className: 'sans-serif --small step-ratafia-card__description', children: description })] }));
|
|
5
|
-
};
|
|
6
|
-
export default StepRatafiaCard;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as StepRatafiaCard } from './StepRatafiaCard';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
// import './Tag.scss'
|
|
3
|
-
export const Tag = ({ text, icon }) => {
|
|
4
|
-
return (_jsxs("div", { className: 'tag', children: [_jsx("div", { className: 'icon', children: icon }), _jsx("div", { className: 'text', children: text })] }));
|
|
5
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
// import './TagRatafiaItem.scss'
|
|
3
|
-
export const TagRatafiaItem = ({ icon, description }) => {
|
|
4
|
-
return (_jsxs("div", { className: 'tag-ratafia-item', children: [icon !== null && _jsx("div", { className: 'tag-ratafia-item__icon', children: icon }), _jsx("span", { className: 'sans-serif --small tag-ratafia-item__description', itemProp: 'text', children: description })] }));
|
|
5
|
-
};
|
|
6
|
-
export default TagRatafiaItem;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as TagRatafiaItem } from './TagRatafiaItem';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Tagline } from './Tagline';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/strict-boolean-expressions */
|
|
2
|
-
import PropTypes from 'prop-types';
|
|
3
|
-
/**
|
|
4
|
-
* @param {string} props.id, jira task number
|
|
5
|
-
* @param {function} props.getVariant, function to obtain the url
|
|
6
|
-
* @param {object || array} props.children, each div info inside the testAB
|
|
7
|
-
* @param {string} props.defaultValue, default value received, only needed if we have more than 2 options
|
|
8
|
-
*/
|
|
9
|
-
export const TestAB = ({ id, getVariant, children, defaultValue }) => {
|
|
10
|
-
const value = getVariant(id) || defaultValue;
|
|
11
|
-
let variant = value !== 'true' ? null : children;
|
|
12
|
-
if (children.length > 1) {
|
|
13
|
-
variant = children.filter((child) => {
|
|
14
|
-
return child.props['data-variable'] === value;
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
return variant;
|
|
18
|
-
};
|
|
19
|
-
TestAB.propTypes = {
|
|
20
|
-
id: PropTypes.string,
|
|
21
|
-
getVariant: PropTypes.func,
|
|
22
|
-
defaultValue: PropTypes.string
|
|
23
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import error from '../../../../images/svg/info-error_24px_outlined.svg';
|
|
3
|
-
// import './TextArea.scss'
|
|
4
|
-
const TextArea = ({ customClass = '', disabled, errorMessage, label, name, onChange, placeholder, tooltip, validate = false, value, dataQa }) => {
|
|
5
|
-
const classNames = `${validate ? 'e-textarea' : 'e-textarea --is-invalid'}
|
|
6
|
-
${customClass}`;
|
|
7
|
-
return (_jsxs("div", { className: classNames, children: [tooltip !== undefined && _jsx("p", { className: 'tooltip-form sans-serif --small', children: tooltip }), errorMessage !== undefined && !validate && (_jsxs("span", { className: 'e-text--error sans-serif --small', children: [_jsx("img", { src: error, alt: errorMessage }), errorMessage] })), _jsx("textarea", { id: name, name: name, placeholder: placeholder, onChange: onChange, value: value, disabled: disabled, "data-qa": dataQa }), label !== undefined && (_jsx("div", { className: 'e-textarea__inner', children: _jsx("div", { className: 'inputLabel', children: label }) }))] }));
|
|
8
|
-
};
|
|
9
|
-
export default TextArea;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as TextArea } from './TextArea';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
// import './Toggle.scss'
|
|
3
|
-
const Toggle = ({ toggleAction, toggleCheck, label }) => {
|
|
4
|
-
return (_jsxs("div", { className: 'e-toggle', children: [_jsxs("label", { className: 'switch', children: [_jsx("input", { type: 'checkbox', className: `toggle-checkbox ${toggleCheck ? 'isOn' : ''}`, checked: toggleCheck, onChange: toggleAction }), _jsx("div", { className: 'slider' })] }), _jsx("span", { children: label })] }));
|
|
5
|
-
};
|
|
6
|
-
export default Toggle;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Toggle } from './Toggle';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import Tippy from '@tippyjs/react';
|
|
3
|
-
import classNames from 'classnames';
|
|
4
|
-
// import 'tippy.js/dist/tippy.css'
|
|
5
|
-
// import './Tooltip.scss'
|
|
6
|
-
const Tooltip = ({ children, position = 'top', inverted, trigger = 'hover', ...rest }) => {
|
|
7
|
-
if (children === undefined)
|
|
8
|
-
return null;
|
|
9
|
-
const classnames = classNames('', {
|
|
10
|
-
'tippy-box--inverted': inverted
|
|
11
|
-
});
|
|
12
|
-
return (_jsx(Tippy, { className: classnames, placement: position, trigger: trigger, ...rest, children: children }));
|
|
13
|
-
};
|
|
14
|
-
export default Tooltip;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Tooltip } from './Tooltip';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import classNames from 'classnames';
|
|
3
|
-
// import './TopBar.scss'
|
|
4
|
-
const TopBar = ({ hide, children }) => {
|
|
5
|
-
if (children === undefined)
|
|
6
|
-
return null;
|
|
7
|
-
const classnames = classNames({
|
|
8
|
-
'--is-hidden': hide
|
|
9
|
-
});
|
|
10
|
-
return (_jsx("div", { className: `top-bar-wrapper ${classnames}`, children: _jsx("div", { className: 'top-bar', children: _jsx("div", { className: 'top-bar-content', children: children }) }) }));
|
|
11
|
-
};
|
|
12
|
-
export default TopBar;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as TopBar } from './TopBar';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useEffect, useState } from 'react';
|
|
3
|
-
export const TopBarMobile = ({ children, isVisible = false }) => {
|
|
4
|
-
const [isSSR, setIsSSR] = useState(false);
|
|
5
|
-
useEffect(() => {
|
|
6
|
-
setIsSSR(true);
|
|
7
|
-
}, []);
|
|
8
|
-
return isSSR ? _jsx("div", { className: `top-bar-mobile ${isVisible ? 'fade-In' : 'fade-Out'}`, children: children }) : null;
|
|
9
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { TopBarMobile } from './TopBarMobile';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as TrustPilot } from './TrustPilot';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
const Video = ({ videoSrcURL, videoMimeType = 'video/webm', title = '', controls = true, autoPlay = false, loop = false, muted = false, track }) => {
|
|
3
|
-
if (!videoSrcURL)
|
|
4
|
-
return null;
|
|
5
|
-
return (
|
|
6
|
-
// eslint-disable-next-line jsx-a11y/media-has-caption
|
|
7
|
-
_jsxs("video", { "data-testid": 'video', title: title, controls: controls, autoPlay: autoPlay, loop: loop, muted: muted, children: [_jsx("source", { src: videoSrcURL, type: videoMimeType }), track && _jsx("track", { src: track.src, kind: track.kind, srcLang: track.srclang, label: track.label }), "Your browser does not support the video tag."] }));
|
|
8
|
-
};
|
|
9
|
-
export default Video;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Video } from './Video';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
// import './WhyLawDistrictItems.scss'
|
|
3
|
-
export const WhyLawDistrictItems = ({ items }) => {
|
|
4
|
-
if (items.length === 0)
|
|
5
|
-
return null;
|
|
6
|
-
return (_jsx("ul", { className: 'whyLawDistrictItems', children: items.map((item) => (_jsx("li", { className: 'whyLawDistrictItems__item', children: item.reasons }, item.id))) }));
|
|
7
|
-
};
|
|
8
|
-
export default WhyLawDistrictItems;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as WhyLawDistrictItems } from './WhyLawDistrictItems';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
const WideInfoBar = ({ children, color }) => {
|
|
3
|
-
if (children === undefined)
|
|
4
|
-
return null;
|
|
5
|
-
return (_jsx("div", { className: `wide-info-bar ${color ?? ''}`, children: _jsx("div", { className: 'wide-info-bar__wrapper', children: children }) }));
|
|
6
|
-
};
|
|
7
|
-
export default WideInfoBar;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as WideInfoBar } from './WideInfoBar';
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
export * from './ActionButtonHeaderRatafiaCard';
|
|
2
|
-
export * from './AddButton';
|
|
3
|
-
export * from './BaseBox';
|
|
4
|
-
export * from './BenefitRatafiaCard';
|
|
5
|
-
export * from './BillCard';
|
|
6
|
-
export * from './BottomOverlayMenu';
|
|
7
|
-
export * from './BreadcrumItem';
|
|
8
|
-
export * from './Button';
|
|
9
|
-
export * from './ButtonIcon';
|
|
10
|
-
export * from './CardPane';
|
|
11
|
-
export * from './Checkbox';
|
|
12
|
-
export * from './DatePickerCustom';
|
|
13
|
-
export * from './DialogMenuIcon';
|
|
14
|
-
export * from './Disclaimer';
|
|
15
|
-
export * from './DisclaimerRatafia';
|
|
16
|
-
export * from './Divider';
|
|
17
|
-
export * from './DocumentStatus';
|
|
18
|
-
export * from './DocumentTag';
|
|
19
|
-
export * from './ExpertCard';
|
|
20
|
-
export * from './FeatureRatafiaCard';
|
|
21
|
-
export * from './FormFaq';
|
|
22
|
-
export * from './GoogleButton';
|
|
23
|
-
export * from './IconImage';
|
|
24
|
-
export * from './IconSvgURLWithThemeColor';
|
|
25
|
-
export * from './IconTextInfoSection';
|
|
26
|
-
export * from './InfoBox';
|
|
27
|
-
export * from './JumbotronStatic';
|
|
28
|
-
export * from './KeyFactRatafiaCard';
|
|
29
|
-
export * from './Logo';
|
|
30
|
-
export * from './LogoText';
|
|
31
|
-
export * from './MenuItems';
|
|
32
|
-
export * from './Message';
|
|
33
|
-
export * from './MessageInformation';
|
|
34
|
-
export * from './MoreDocsItem';
|
|
35
|
-
export * from './NavMenuItem';
|
|
36
|
-
export * from './PaypalButton';
|
|
37
|
-
export * from './PopularDocsItem';
|
|
38
|
-
export * from './ProgressBar';
|
|
39
|
-
export * from './Radio';
|
|
40
|
-
export * from './RemoveButton';
|
|
41
|
-
export * from './ReviewKeyFactsResultRatafia';
|
|
42
|
-
export * from './RichTextInner';
|
|
43
|
-
export * from './RichTextStrapi';
|
|
44
|
-
export * from './SearchSelect';
|
|
45
|
-
export * from './ShowMoreBox';
|
|
46
|
-
export * from './SidemenuTab';
|
|
47
|
-
export * from './Spinner';
|
|
48
|
-
export * from './StepRatafiaCard';
|
|
49
|
-
export * from './Tag';
|
|
50
|
-
export * from './Tagline';
|
|
51
|
-
export * from './TagRatafiaItem';
|
|
52
|
-
export * from './TextArea';
|
|
53
|
-
export * from './Toggle';
|
|
54
|
-
export * from './Tooltip';
|
|
55
|
-
export * from './TopBar';
|
|
56
|
-
export * from './TopBarMobile';
|
|
57
|
-
export * from './TrustPilot';
|
|
58
|
-
export * from './Video';
|
|
59
|
-
export * from './WhyLawDistrictItems';
|
|
60
|
-
export * from './WideInfoBar';
|
|
@@ -1,23 +0,0 @@
|
|
|
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 { useEffect, useRef } from 'react';
|
|
6
|
-
import { useDispatchDataAccordionItem, useStateDataAccordionItem } from '../../organisms/Accordion/Accordion.context';
|
|
7
|
-
// import './AccordionItem.scss'
|
|
8
|
-
export const AccordionItem = ({ accordionRightContent, children, defaultHeightItem = 416, index, isOpen, onClick, title }) => {
|
|
9
|
-
const contenReftHeight = useRef(null);
|
|
10
|
-
const { state } = useStateDataAccordionItem(index);
|
|
11
|
-
const { dispatch } = useDispatchDataAccordionItem();
|
|
12
|
-
useEffect(() => {
|
|
13
|
-
if (state.locked.actionType === 'unlocked') {
|
|
14
|
-
onClick();
|
|
15
|
-
dispatch({ type: 'unlocked', accordionItem: index, resetAction: 'default' });
|
|
16
|
-
}
|
|
17
|
-
}, [state.locked.actionType]);
|
|
18
|
-
return (_jsxs("div", { className: 'accordion__container', children: [_jsxs("button", { className: `accordion__button
|
|
19
|
-
${state.handler === 'success' ? '--success' : ''}
|
|
20
|
-
${state.locked.isLocked ? '--locked' : ''}`, onClick: () => {
|
|
21
|
-
!state.locked.isLocked && onClick();
|
|
22
|
-
}, children: [_jsx("p", { className: `accordion__title ${state.locked.isLocked ? '--locked' : ''}`, children: title }), accordionRightContent] }), _jsx("div", { ref: contenReftHeight, className: `accordion__content ${!isOpen ? '--closed' : ''}`, style: isOpen ? { height: contenReftHeight?.current?.scrollHeight ?? defaultHeightItem } : { height: '0px' }, children: children })] }));
|
|
23
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AccordionItem } from './AccordionItem';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { ActionButtonHeaderRatafiaCard } from '../../atoms';
|
|
3
|
-
// import './ActionButtonHeaderRatafiaCardList.scss'
|
|
4
|
-
const ActionButtonHeaderRatafiaCardList = ({ actionButtons }) => {
|
|
5
|
-
if (actionButtons.length === 0)
|
|
6
|
-
return null;
|
|
7
|
-
return (_jsx("div", { className: 'action-button-header-ratafia-card-list', children: actionButtons.map((actionButton) => (_jsx(ActionButtonHeaderRatafiaCard, { ...actionButton }, actionButton.id))) }));
|
|
8
|
-
};
|
|
9
|
-
export default ActionButtonHeaderRatafiaCardList;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ActionButtonHeaderRatafiaCardList } from './ActionButtonHeaderRatafiaCardList';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { DocumentTag } from '../../atoms';
|
|
3
|
-
import { SymbolDoc } from '../../../../images/componentsSvg/SymbolDoc';
|
|
4
|
-
// import './AlsoKnownAs.scss'
|
|
5
|
-
const AlsoKnownAs = ({ title = '', documents = [] }) => {
|
|
6
|
-
if (documents?.length === 0)
|
|
7
|
-
return null;
|
|
8
|
-
return (_jsxs("div", { className: 'also-known-as', children: [_jsxs("p", { className: 'title', children: [_jsx(SymbolDoc, {}), _jsx("span", { className: 'text', children: title })] }), documents.map((item) => (_jsx(DocumentTag, { text: item }, item)))] }));
|
|
9
|
-
};
|
|
10
|
-
export default AlsoKnownAs;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as AlsoKnownAs } from './AlsoKnownAs';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Button } from '../../atoms';
|
|
3
|
-
// import './Article.scss'
|
|
4
|
-
const Article = ({ imageUrl, title, articleUrl, summary }) => {
|
|
5
|
-
return (_jsxs("div", { className: 'article', children: [_jsx("img", { src: imageUrl, className: 'image', loading: 'lazy', alt: title }), _jsxs("div", { className: 'information', children: [_jsx("a", { href: articleUrl, target: '_blank', rel: 'noreferrer', children: _jsxs("p", { className: 'title sans-serif --big', children: [title, " "] }) }), _jsx("div", { className: 'summary', children: summary }), _jsx(Button, { color: 'tertiary', label: 'Read more', dataQa: 'article-read-more', link: articleUrl, isExternal: true })] })] }));
|
|
6
|
-
};
|
|
7
|
-
export default Article;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as Article } from './Article';
|
|
@@ -1,13 +0,0 @@
|
|
|
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;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as BaseBoxList } from './BaseBoxList';
|
|
@@ -1,9 +0,0 @@
|
|
|
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
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as BenefitRatafiaCardList } from './BenefitRatafiaCardList';
|
|
@@ -1,9 +0,0 @@
|
|
|
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;
|