@npm_leadtech/legal-lib-components 4.1.6 → 4.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/styles.css +0 -1
- package/dist/images/componentsSvg/ArrowRight.tsx +47 -0
- package/dist/images/componentsSvg/ChevronExpandLess.tsx +10 -0
- package/dist/images/componentsSvg/ChevronExpandMore.tsx +17 -0
- package/dist/images/componentsSvg/ChevronRight.tsx +9 -0
- package/dist/images/componentsSvg/ChevronRight24px.tsx +18 -0
- package/dist/images/componentsSvg/Delete24p.tsx +33 -0
- package/dist/images/componentsSvg/Done24px.tsx +13 -0
- package/dist/images/componentsSvg/Done24pxoutlined.tsx +25 -0
- package/dist/images/componentsSvg/Edit24p.tsx +33 -0
- package/dist/images/componentsSvg/EditText24px.tsx +33 -0
- package/dist/images/componentsSvg/EmploymentIcon.tsx +21 -0
- package/dist/images/componentsSvg/Eye24pxOptimized.tsx +33 -0
- package/dist/images/componentsSvg/IconDuplicate24px.tsx +29 -0
- package/dist/images/componentsSvg/InfoError24pxOutlined.tsx +31 -0
- package/dist/images/componentsSvg/LogoutSvg.tsx +27 -0
- package/dist/images/componentsSvg/MailSvg.tsx +24 -0
- package/dist/images/componentsSvg/MenuCollapse24p.tsx +43 -0
- package/dist/images/componentsSvg/NewDocumentSvg.tsx +28 -0
- package/dist/images/componentsSvg/NewRelease24p.tsx +26 -0
- package/dist/images/componentsSvg/PhoneIcon24px.tsx +47 -0
- package/dist/images/componentsSvg/SvgProps.ts +5 -0
- package/dist/images/componentsSvg/SymbolDoc.tsx +14 -0
- package/dist/images/componentsSvg/Time24px.tsx +33 -0
- package/dist/images/componentsSvg/flags/GBFlag.tsx +46 -0
- package/dist/images/componentsSvg/flags/USFlag.tsx +129 -0
- package/dist/images/componentsSvg/generalCategories/BusinessIconCategory.tsx +19 -0
- package/dist/images/componentsSvg/generalCategories/EmploymentIconCategory.tsx +19 -0
- package/dist/images/componentsSvg/generalCategories/FinanceIconCategory.tsx +19 -0
- package/dist/images/componentsSvg/generalCategories/PersonalFamilyIconCategory.tsx +19 -0
- package/dist/images/componentsSvg/generalCategories/RealEstateIconCategory.tsx +17 -0
- package/dist/images/componentsSvg/generalCategories/index.ts +5 -0
- package/dist/images/jpg/Img-documents.jpg +0 -0
- package/dist/images/png/AboutUs.png +0 -0
- package/dist/images/png/Img-documents.png +0 -0
- package/dist/images/png/buy-logo-large-en.png +0 -0
- package/dist/images/png/content-img-desktophd.png +0 -0
- package/dist/images/png/content-img-tablet.png +0 -0
- package/dist/images/png/customer-support.png +0 -0
- package/dist/images/png/editing@2x.png +0 -0
- package/dist/images/png/expertOne.png +0 -0
- package/dist/images/png/expertTwo.png +0 -0
- package/dist/images/png/graphics-grey-02.png +0 -0
- package/dist/images/png/graphics.png +0 -0
- package/dist/images/png/icon-cloud@2x.png +0 -0
- package/dist/images/png/img-modal-template-mobile.png +0 -0
- package/dist/images/png/img-modal-template.png +0 -0
- package/dist/images/png/ld-illust-empty-state-dash.png +0 -0
- package/dist/images/png/satisfaction@2x.png +0 -0
- package/dist/images/svg/aarp.svg +9 -0
- package/dist/images/svg/chevron-right-24-px.svg +14 -0
- package/dist/images/svg/communication-24px-2.svg +14 -0
- package/dist/images/svg/communication-24px.svg +14 -0
- package/dist/images/svg/debt.svg +9 -0
- package/dist/images/svg/done-24px.svg +14 -0
- package/dist/images/svg/done_24px_outlined.svg +20 -0
- package/dist/images/svg/download_24px.svg +3 -0
- package/dist/images/svg/expand_dropdown_24px.svg +23 -0
- package/dist/images/svg/expand_less_24px.svg +3 -0
- package/dist/images/svg/expand_more_24px.svg +3 -0
- package/dist/images/svg/eye-24-px.svg +20 -0
- package/dist/images/svg/eye-close.svg +24 -0
- package/dist/images/svg/icon-24-px-security.svg +15 -0
- package/dist/images/svg/icon-clear-24-px.svg +14 -0
- package/dist/images/svg/icon-info-24px.svg +21 -0
- package/dist/images/svg/icon-web-24px.svg +22 -0
- package/dist/images/svg/info-24px.svg +15 -0
- package/dist/images/svg/info-error_24px_outlined.svg +15 -0
- package/dist/images/svg/logo-google.svg +19 -0
- package/dist/images/svg/modal-free-doc.svg +50 -0
- package/dist/images/svg/preview-doc.svg +20 -0
- package/dist/images/svg/rentcafe.svg +9 -0
- package/dist/images/svg/shape.svg +3 -0
- package/dist/images/svg/techradar.svg +9 -0
- package/dist/images/svg/thenevvschool.svg +9 -0
- package/dist/images/webp/customer-support.webp +0 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.scss +24 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCard.tsx +20 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/ActionButtonHeaderRatafiaCardProps.types.ts +9 -0
- package/dist/src/components/atoms/ActionButtonHeaderRatafiaCard/index.ts +2 -0
- package/dist/src/components/atoms/AddButton/AddButton.scss +48 -0
- package/dist/src/components/atoms/AddButton/AddButton.tsx +38 -0
- package/dist/src/components/atoms/AddButton/AddButtonProps.types.ts +15 -0
- package/dist/src/components/atoms/AddButton/index.ts +2 -0
- package/dist/src/components/atoms/BaseBox/BaseBox.styled.ts +25 -0
- package/dist/src/components/atoms/BaseBox/BaseBox.tsx +19 -0
- package/dist/src/components/atoms/BaseBox/BaseBoxProps.types.ts +7 -0
- package/dist/src/components/atoms/BaseBox/index.ts +2 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.scss +54 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.tsx +18 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCardProps.types.ts +6 -0
- package/dist/src/components/atoms/BenefitRatafiaCard/index.ts +2 -0
- package/dist/src/components/atoms/BillCard/BillCard.scss +57 -0
- package/dist/src/components/atoms/BillCard/BillCard.tsx +24 -0
- package/dist/src/components/atoms/BillCard/BillCardProps.types.ts +5 -0
- package/dist/src/components/atoms/BillCard/index.ts +2 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.scss +33 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenu.tsx +11 -0
- package/dist/src/components/atoms/BottomOverlayMenu/BottomOverlayMenuProps.types.ts +3 -0
- package/dist/src/components/atoms/BottomOverlayMenu/index.ts +2 -0
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.scss +21 -0
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItem.tsx +18 -0
- package/dist/src/components/atoms/BreadcrumItem/BreadcrumItemProps.types.ts +5 -0
- package/dist/src/components/atoms/BreadcrumItem/index.ts +2 -0
- package/dist/src/components/atoms/Button/Button.scss +286 -0
- package/dist/src/components/atoms/Button/Button.tsx +123 -0
- package/dist/src/components/atoms/Button/ButtonProps.types.ts +37 -0
- package/dist/src/components/atoms/Button/index.ts +2 -0
- package/dist/src/components/atoms/ButtonIcon/ButtonIcon.scss +42 -0
- package/dist/src/components/atoms/ButtonIcon/ButtonIcon.tsx +59 -0
- package/dist/src/components/atoms/ButtonIcon/ButtonIconProps.types.ts +12 -0
- package/dist/src/components/atoms/ButtonIcon/index.ts +2 -0
- package/dist/src/components/atoms/CardPane/CardPane.scss +106 -0
- package/dist/src/components/atoms/CardPane/CardPane.tsx +19 -0
- package/dist/src/components/atoms/CardPane/CardPaneInfo.tsx +36 -0
- package/dist/src/components/atoms/CardPane/CardPaneProps.types.ts +10 -0
- package/dist/src/components/atoms/CardPane/index.ts +2 -0
- package/dist/src/components/atoms/Checkbox/Checkbox.d.ts +0 -1
- package/dist/src/components/atoms/Checkbox/Checkbox.js +1 -1
- package/dist/src/components/atoms/Checkbox/Checkbox.scss +132 -0
- package/dist/src/components/atoms/Checkbox/Checkbox.tsx +43 -0
- package/dist/src/components/atoms/Checkbox/CheckboxProps.types.ts +13 -0
- package/dist/src/components/atoms/Checkbox/index.ts +2 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.scss +116 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.tsx +178 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustomProps.types.ts +17 -0
- package/dist/src/components/atoms/DatePickerCustom/DatepickerPlugin.scss +842 -0
- package/dist/src/components/atoms/DatePickerCustom/index.ts +2 -0
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.scss +84 -0
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.tsx +80 -0
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIconProps.types.ts +6 -0
- package/dist/src/components/atoms/DialogMenuIcon/index.ts +2 -0
- package/dist/src/components/atoms/Disclaimer/Disclaimer.scss +45 -0
- package/dist/src/components/atoms/Disclaimer/Disclaimer.tsx +36 -0
- package/dist/src/components/atoms/Disclaimer/DisclaimerProps.types.ts +10 -0
- package/dist/src/components/atoms/Disclaimer/index.ts +2 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.scss +149 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.tsx +88 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafiaProps.ts +17 -0
- package/dist/src/components/atoms/DisclaimerRatafia/index.ts +2 -0
- package/dist/src/components/atoms/Divider/Divider.scss +20 -0
- package/dist/src/components/atoms/Divider/Divider.tsx +19 -0
- package/dist/src/components/atoms/Divider/DividerProps.types.ts +6 -0
- package/dist/src/components/atoms/Divider/index.ts +2 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.scss +91 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatus.tsx +37 -0
- package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.ts +6 -0
- package/dist/src/components/atoms/DocumentStatus/index.ts +2 -0
- package/dist/src/components/atoms/DocumentTag/DocumentTag.d.ts +0 -1
- package/dist/src/components/atoms/DocumentTag/DocumentTag.js +1 -1
- package/dist/src/components/atoms/DocumentTag/DocumentTag.scss +13 -0
- package/dist/src/components/atoms/DocumentTag/DocumentTag.tsx +9 -0
- package/dist/src/components/atoms/DocumentTag/DocumentTagProps.ts +3 -0
- package/dist/src/components/atoms/DocumentTag/index.ts +2 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCard.scss +61 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCard.tsx +24 -0
- package/dist/src/components/atoms/ExpertCard/ExpertCardProps.types.ts +6 -0
- package/dist/src/components/atoms/ExpertCard/index.ts +2 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.scss +79 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCard.tsx +37 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/FeatureRatafiaCardProps.types.ts +8 -0
- package/dist/src/components/atoms/FeatureRatafiaCard/index.ts +2 -0
- package/dist/src/components/atoms/FormFaq/FormFaq.scss +72 -0
- package/dist/src/components/atoms/FormFaq/FormFaq.tsx +17 -0
- package/dist/src/components/atoms/FormFaq/FormFaqProps.types.ts +4 -0
- package/dist/src/components/atoms/FormFaq/index.ts +2 -0
- package/dist/src/components/atoms/GoogleButton/GoogleButton.scss +22 -0
- package/dist/src/components/atoms/GoogleButton/GoogleButton.tsx +16 -0
- package/dist/src/components/atoms/GoogleButton/GoogleButtonProps.types.ts +4 -0
- package/dist/src/components/atoms/GoogleButton/index.ts +2 -0
- package/dist/src/components/atoms/IconImage/IconImage.tsx +14 -0
- package/dist/src/components/atoms/IconImage/IconImageProps.types.ts +6 -0
- package/dist/src/components/atoms/IconImage/index.ts +2 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.scss +6 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.tsx +29 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColorProps.types.ts +6 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/index.ts +2 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.scss +80 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.tsx +25 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.types.ts +9 -0
- package/dist/src/components/atoms/IconTextInfoSection/index.ts +1 -0
- package/dist/src/components/atoms/InfoBox/InfoBox.scss +40 -0
- package/dist/src/components/atoms/InfoBox/InfoBox.tsx +21 -0
- package/dist/src/components/atoms/InfoBox/InfoBoxProps.types.ts +5 -0
- package/dist/src/components/atoms/InfoBox/index.ts +2 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.scss +8 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.tsx +12 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStaticProps.types.ts +3 -0
- package/dist/src/components/atoms/JumbotronStatic/index.ts +2 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.scss +38 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCard.tsx +18 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/KeyFactRatafiaCardProps.types.ts +5 -0
- package/dist/src/components/atoms/KeyFactRatafiaCard/index.ts +2 -0
- package/dist/src/components/atoms/Logo/Logo.tsx +67 -0
- package/dist/src/components/atoms/Logo/LogoProps.types.ts +7 -0
- package/dist/src/components/atoms/Logo/index.ts +2 -0
- package/dist/src/components/atoms/Logo/svg/districtlaws-logo.svg +19 -0
- package/dist/src/components/atoms/Logo/svg/districtlaws-white-logo.svg +19 -0
- package/dist/src/components/atoms/Logo/svg/lawdistrict-logo.svg +12 -0
- package/dist/src/components/atoms/Logo/svg/lawdistrict-white-logo.svg +12 -0
- package/dist/src/components/atoms/Logo/svg/lawdistrictinfo-logo.svg +24 -0
- package/dist/src/components/atoms/Logo/svg/lawdistrictinfo-white-logo.svg +24 -0
- package/dist/src/components/atoms/Logo/svg/lawdistrictonline-logo.svg +26 -0
- package/dist/src/components/atoms/Logo/svg/lawdistrictonline-white-logo.svg +26 -0
- package/dist/src/components/atoms/Logo/svg/lawdistricts-logo.svg +4 -0
- package/dist/src/components/atoms/Logo/svg/lawdistricts-white-logo.svg +4 -0
- package/dist/src/components/atoms/Logo/svg/lawsdistrict-logo.svg +23 -0
- package/dist/src/components/atoms/Logo/svg/lawsdistrict-white-logo.svg +23 -0
- package/dist/src/components/atoms/Logo/svg/uslawdistrict-logo.svg +18 -0
- package/dist/src/components/atoms/Logo/svg/uslawdistrict-white-logo.svg +22 -0
- package/dist/src/components/atoms/LogoText/LogoText.scss +34 -0
- package/dist/src/components/atoms/LogoText/LogoText.tsx +21 -0
- package/dist/src/components/atoms/LogoText/LogoTextProps.types.ts +5 -0
- package/dist/src/components/atoms/LogoText/index.ts +2 -0
- package/dist/src/components/atoms/MenuItems/MenuItemProps.types.ts +15 -0
- package/dist/src/components/atoms/MenuItems/MenuItems.scss +70 -0
- package/dist/src/components/atoms/MenuItems/MenuItems.tsx +71 -0
- package/dist/src/components/atoms/MenuItems/index.ts +2 -0
- package/dist/src/components/atoms/Message/Message.scss +31 -0
- package/dist/src/components/atoms/Message/Message.tsx +16 -0
- package/dist/src/components/atoms/Message/MessageProps.types.ts +4 -0
- package/dist/src/components/atoms/Message/index.ts +2 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformation.scss +51 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformation.tsx +23 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformationProps.types.ts +6 -0
- package/dist/src/components/atoms/MessageInformation/index.ts +2 -0
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.d.ts +0 -1
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.js +1 -1
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.scss +44 -0
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItem.tsx +30 -0
- package/dist/src/components/atoms/MoreDocsItem/MoreDocsItemProps.ts +9 -0
- package/dist/src/components/atoms/MoreDocsItem/index.ts +2 -0
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.scss +60 -0
- package/dist/src/components/atoms/NavMenuItem/NavMenuItem.tsx +24 -0
- package/dist/src/components/atoms/NavMenuItem/NavMenuItemProps.ts +9 -0
- package/dist/src/components/atoms/NavMenuItem/index.ts +2 -0
- package/dist/src/components/atoms/PaypalButton/PaypalButton.scss +5 -0
- package/dist/src/components/atoms/PaypalButton/PaypalButton.tsx +15 -0
- package/dist/src/components/atoms/PaypalButton/PaypalButtonProps.types.ts +3 -0
- package/dist/src/components/atoms/PaypalButton/index.ts +2 -0
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.scss +59 -0
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.tsx +23 -0
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItemProps.ts +9 -0
- package/dist/src/components/atoms/PopularDocsItem/index.ts +2 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBar.d.ts +0 -1
- package/dist/src/components/atoms/ProgressBar/ProgressBar.js +1 -1
- package/dist/src/components/atoms/ProgressBar/ProgressBar.scss +24 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBar.tsx +17 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBarProps.types.ts +4 -0
- package/dist/src/components/atoms/ProgressBar/index.ts +2 -0
- package/dist/src/components/atoms/Radio/Radio.scss +341 -0
- package/dist/src/components/atoms/Radio/Radio.tsx +66 -0
- package/dist/src/components/atoms/Radio/RadioProps.types.ts +14 -0
- package/dist/src/components/atoms/Radio/index.ts +2 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButton.scss +43 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButton.tsx +40 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButtonProps.types.ts +16 -0
- package/dist/src/components/atoms/RemoveButton/index.ts +2 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.d.ts +0 -1
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.js +1 -1
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.scss +54 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafia.tsx +56 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/ReviewKeyFactsResultRatafiaProps.types.ts +15 -0
- package/dist/src/components/atoms/ReviewKeyFactsResultRatafia/index.ts +2 -0
- package/dist/src/components/atoms/RichTextInner/RichTextInner.scss +34 -0
- package/dist/src/components/atoms/RichTextInner/RichTextInner.tsx +10 -0
- package/dist/src/components/atoms/RichTextInner/RichTextInnerProps.types.ts +6 -0
- package/dist/src/components/atoms/RichTextInner/index.ts +2 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextMedia.ts +12 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.scss +9 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapi.tsx +14 -0
- package/dist/src/components/atoms/RichTextStrapi/RichTextStrapiProps.ts +9 -0
- package/dist/src/components/atoms/RichTextStrapi/index.ts +3 -0
- package/dist/src/components/atoms/RichTextStrapi/useFormattedText.tsx +31 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.d.ts +0 -1
- package/dist/src/components/atoms/SearchSelect/SearchSelect.js +1 -1
- package/dist/src/components/atoms/SearchSelect/SearchSelect.scss +222 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.tsx +100 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelectProps.types.ts +28 -0
- package/dist/src/components/atoms/SearchSelect/index.ts +2 -0
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.scss +48 -0
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBox.tsx +34 -0
- package/dist/src/components/atoms/ShowMoreBox/ShowMoreBoxProps.ts +5 -0
- package/dist/src/components/atoms/ShowMoreBox/index.ts +2 -0
- package/dist/src/components/atoms/SidemenuTab/SideMenuTabProps.types.ts +11 -0
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.d.ts +0 -1
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.js +1 -1
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.scss +90 -0
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.tsx +35 -0
- package/dist/src/components/atoms/SidemenuTab/index.ts +2 -0
- package/dist/src/components/atoms/Spinner/Spinner.scss +32 -0
- package/dist/src/components/atoms/Spinner/Spinner.tsx +24 -0
- package/dist/src/components/atoms/Spinner/SpinnerProps.types.ts +4 -0
- package/dist/src/components/atoms/Spinner/index.ts +2 -0
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.scss +27 -0
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCard.tsx +18 -0
- package/dist/src/components/atoms/StepRatafiaCard/StepRatafiaCardProps.types.ts +6 -0
- package/dist/src/components/atoms/StepRatafiaCard/index.ts +2 -0
- package/dist/src/components/atoms/Tag/Tag.scss +23 -0
- package/dist/src/components/atoms/Tag/Tag.tsx +13 -0
- package/dist/src/components/atoms/Tag/TagProps.ts +5 -0
- package/dist/src/components/atoms/Tag/index.ts +2 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.scss +22 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItem.tsx +17 -0
- package/dist/src/components/atoms/TagRatafiaItem/TagRatafiaItemProps.types.ts +5 -0
- package/dist/src/components/atoms/TagRatafiaItem/index.ts +2 -0
- package/dist/src/components/atoms/Tagline/Tagline.scss +16 -0
- package/dist/src/components/atoms/Tagline/Tagline.tsx +12 -0
- package/dist/src/components/atoms/Tagline/TaglineProps.types.ts +3 -0
- package/dist/src/components/atoms/Tagline/index.ts +2 -0
- package/dist/src/components/atoms/TestAB/TestAB.tsx +29 -0
- package/dist/src/components/atoms/TextArea/TextArea.scss +103 -0
- package/dist/src/components/atoms/TextArea/TextArea.tsx +50 -0
- package/dist/src/components/atoms/TextArea/TextAreaProps.types.ts +13 -0
- package/dist/src/components/atoms/TextArea/index.ts +2 -0
- package/dist/src/components/atoms/Toggle/Toggle.scss +59 -0
- package/dist/src/components/atoms/Toggle/Toggle.tsx +24 -0
- package/dist/src/components/atoms/Toggle/ToggleProps.types.ts +5 -0
- package/dist/src/components/atoms/Toggle/index.ts +2 -0
- package/dist/src/components/atoms/Tooltip/Tooltip.scss +62 -0
- package/dist/src/components/atoms/Tooltip/Tooltip.tsx +23 -0
- package/dist/src/components/atoms/Tooltip/TooltipProps.types.ts +30 -0
- package/dist/src/components/atoms/Tooltip/index.ts +2 -0
- package/dist/src/components/atoms/TopBar/TopBar.scss +54 -0
- package/dist/src/components/atoms/TopBar/TopBar.tsx +23 -0
- package/dist/src/components/atoms/TopBar/TopBarProps.types.ts +4 -0
- package/dist/src/components/atoms/TopBar/index.ts +2 -0
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.scss +48 -0
- package/dist/src/components/atoms/TopBarMobile/TopBarMobile.tsx +19 -0
- package/dist/src/components/atoms/TopBarMobile/index.ts +1 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilot.scss +11 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilot.tsx +10 -0
- package/dist/src/components/atoms/TrustPilot/TrustPilotProps.types.ts +3 -0
- package/dist/src/components/atoms/TrustPilot/index.ts +2 -0
- package/dist/src/components/atoms/Video/Video.tsx +26 -0
- package/dist/src/components/atoms/Video/VideoProps.types.ts +17 -0
- package/dist/src/components/atoms/Video/index.ts +2 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.scss +36 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.tsx +21 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItemsProps.types.ts +8 -0
- package/dist/src/components/atoms/WhyLawDistrictItems/index.ts +3 -0
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.scss +32 -0
- package/dist/src/components/atoms/WideInfoBar/WideInfoBar.tsx +19 -0
- package/dist/src/components/atoms/WideInfoBar/index.ts +1 -0
- package/dist/src/components/atoms/index.ts +60 -0
- package/dist/src/components/molecules/AccordionItem/AccordionItem.scss +70 -0
- package/dist/src/components/molecules/AccordionItem/AccordionItem.tsx +54 -0
- package/dist/src/components/molecules/AccordionItem/AccordionItemProps.types.ts +9 -0
- package/dist/src/components/molecules/AccordionItem/index.ts +1 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.scss +7 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardList.tsx +18 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/ActionButtonHeaderRatafiaCardListProps.types.ts +5 -0
- package/dist/src/components/molecules/ActionButtonHeaderRatafiaCardList/index.ts +2 -0
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.scss +29 -0
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAs.tsx +24 -0
- package/dist/src/components/molecules/AlsoKnownAs/AlsoKnownAsProps.types.ts +4 -0
- package/dist/src/components/molecules/AlsoKnownAs/index.ts +2 -0
- package/dist/src/components/molecules/Article/Article.scss +66 -0
- package/dist/src/components/molecules/Article/Article.tsx +22 -0
- package/dist/src/components/molecules/Article/ArticleProps.types.ts +7 -0
- package/dist/src/components/molecules/Article/index.ts +2 -0
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.scss +26 -0
- package/dist/src/components/molecules/BaseBoxList/BaseBoxList.tsx +18 -0
- package/dist/src/components/molecules/BaseBoxList/BaseBoxListProps.types.ts +6 -0
- package/dist/src/components/molecules/BaseBoxList/index.ts +2 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.scss +16 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.tsx +18 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.ts +5 -0
- package/dist/src/components/molecules/BenefitRatafiaCardList/index.ts +2 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.scss +49 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.tsx +20 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBarProps.types.ts +6 -0
- package/dist/src/components/molecules/BottomFixedBar/index.ts +2 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.d.ts +0 -1
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.js +1 -1
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.scss +93 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.tsx +73 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlayProps.types.ts +8 -0
- package/dist/src/components/molecules/BottomOverlay/index.ts +2 -0
- package/dist/src/components/molecules/BoxForm/BoxForm.scss +129 -0
- package/dist/src/components/molecules/BoxForm/BoxForm.tsx +57 -0
- package/dist/src/components/molecules/BoxForm/BoxFormProps.types.ts +13 -0
- package/dist/src/components/molecules/BoxForm/index.ts +2 -0
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.scss +3 -0
- package/dist/src/components/molecules/Breadcrumb/Breadcrumb.tsx +19 -0
- package/dist/src/components/molecules/Breadcrumb/BreadcrumbProps.types.ts +3 -0
- package/dist/src/components/molecules/Breadcrumb/index.ts +2 -0
- package/dist/src/components/molecules/ContactBox/ContactBox.scss +57 -0
- package/dist/src/components/molecules/ContactBox/ContactBox.tsx +35 -0
- package/dist/src/components/molecules/ContactBox/ContactBoxProps.types.ts +9 -0
- package/dist/src/components/molecules/ContactBox/index.ts +2 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.scss +42 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBanner.tsx +36 -0
- package/dist/src/components/molecules/ContinueEditingBanner/ContinueEditingBannerProps.types.ts +21 -0
- package/dist/src/components/molecules/ContinueEditingBanner/index.ts +2 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.scss +37 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.tsx +53 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessageProps.types.ts +6 -0
- package/dist/src/components/molecules/CountDownMessage/index.ts +2 -0
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.scss +35 -0
- package/dist/src/components/molecules/EmailContactBox/EmailContactBox.tsx +21 -0
- package/dist/src/components/molecules/EmailContactBox/EmailContactBoxProps.ts +4 -0
- package/dist/src/components/molecules/EmailContactBox/index.ts +2 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.scss +13 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardList.tsx +23 -0
- package/dist/src/components/molecules/ExpertCardList/ExpertCardListProps.types.ts +5 -0
- package/dist/src/components/molecules/ExpertCardList/index.ts +2 -0
- package/dist/src/components/molecules/FaqItem/FaqItem.scss +58 -0
- package/dist/src/components/molecules/FaqItem/FaqItem.tsx +42 -0
- package/dist/src/components/molecules/FaqItem/FaqItemProps.ts +9 -0
- package/dist/src/components/molecules/FaqItem/index.ts +2 -0
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.scss +8 -0
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardList.tsx +18 -0
- package/dist/src/components/molecules/FeatureRatafiaCardList/FeatureRatafiaCardListProps.types.ts +6 -0
- package/dist/src/components/molecules/FeatureRatafiaCardList/index.ts +2 -0
- package/dist/src/components/molecules/Feedback/Feedback.scss +109 -0
- package/dist/src/components/molecules/Feedback/Feedback.tsx +94 -0
- package/dist/src/components/molecules/Feedback/FeedbackProps.types.ts +16 -0
- package/dist/src/components/molecules/Feedback/index.ts +2 -0
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.scss +110 -0
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.tsx +54 -0
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.types.ts +7 -0
- package/dist/src/components/molecules/FreeDocModalContent/index.ts +2 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.scss +31 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.tsx +26 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafiaProps.types.ts +8 -0
- package/dist/src/components/molecules/HeaderRatafia/index.ts +2 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.scss +21 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafia.tsx +21 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/KeyFactCardListRatafiaProps.types.ts +5 -0
- package/dist/src/components/molecules/KeyFactCardListRatafia/index.ts +2 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.scss +32 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +22 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSectionProps.types.ts +7 -0
- package/dist/src/components/molecules/MenuItemsSection/index.ts +2 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.scss +29 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.tsx +31 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContentProps.types.ts +7 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/index.ts +2 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.scss +69 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSample.tsx +41 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/MidBannerRatafiaSampleProps.types.ts +3 -0
- package/dist/src/components/molecules/MidBannerRatafiaSample/index.ts +2 -0
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.scss +74 -0
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktop.tsx +34 -0
- package/dist/src/components/molecules/MoreDocsDesktop/MoreDocsDesktopProps.ts +6 -0
- package/dist/src/components/molecules/MoreDocsDesktop/index.ts +2 -0
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.d.ts +0 -1
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.js +1 -1
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.scss +71 -0
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobile.tsx +47 -0
- package/dist/src/components/molecules/MoreDocsMobile/MoreDocsMobileProps.ts +6 -0
- package/dist/src/components/molecules/MoreDocsMobile/index.ts +2 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.scss +33 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +96 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDownProps.types.ts +13 -0
- package/dist/src/components/molecules/NavBarDropDown/index.ts +2 -0
- package/dist/src/components/molecules/Pagination/PageStepControl.tsx +38 -0
- package/dist/src/components/molecules/Pagination/PageStepControlProps.types.ts +8 -0
- package/dist/src/components/molecules/Pagination/PageSteps.tsx +80 -0
- package/dist/src/components/molecules/Pagination/Pagination.scss +62 -0
- package/dist/src/components/molecules/Pagination/Pagination.tsx +42 -0
- package/dist/src/components/molecules/Pagination/PaginationProps.types.ts +7 -0
- package/dist/src/components/molecules/Pagination/index.ts +2 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.scss +60 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.tsx +23 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktopProps.types.ts +4 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/index.ts +2 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.scss +33 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.tsx +25 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobileProps.types.ts +4 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/index.ts +2 -0
- package/dist/src/components/molecules/PopularDocs/PopularDocs.scss +34 -0
- package/dist/src/components/molecules/PopularDocs/PopularDocs.tsx +18 -0
- package/dist/src/components/molecules/PopularDocs/PopularDocsProps.ts +6 -0
- package/dist/src/components/molecules/PopularDocs/index.ts +2 -0
- package/dist/src/components/molecules/PricingCard/PricingCard.scss +186 -0
- package/dist/src/components/molecules/PricingCard/PricingCard.tsx +126 -0
- package/dist/src/components/molecules/PricingCard/PricingCardProps.types.ts +17 -0
- package/dist/src/components/molecules/PricingCard/index.ts +2 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.scss +135 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.tsx +81 -0
- package/dist/src/components/molecules/Snackbar/SnackbarProps.types.ts +15 -0
- package/dist/src/components/molecules/Snackbar/index.ts +2 -0
- package/dist/src/components/molecules/StepGetForm/StepGetForm.scss +105 -0
- package/dist/src/components/molecules/StepGetForm/StepGetForm.tsx +18 -0
- package/dist/src/components/molecules/StepGetForm/StepGetFormProps.types.ts +6 -0
- package/dist/src/components/molecules/StepGetForm/index.ts +2 -0
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.scss +18 -0
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.tsx +18 -0
- package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardListProps.types.ts +5 -0
- package/dist/src/components/molecules/StepRatafiaCardList/index.ts +2 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.scss +5 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaList.tsx +18 -0
- package/dist/src/components/molecules/TagsRatafiaList/TagsRatafiaListProps.types.ts +5 -0
- package/dist/src/components/molecules/TagsRatafiaList/index.ts +2 -0
- package/dist/src/components/molecules/TextInput/Input.tsx +74 -0
- package/dist/src/components/molecules/TextInput/TextInput.scss +176 -0
- package/dist/src/components/molecules/TextInput/TextInput.tsx +114 -0
- package/dist/src/components/molecules/TextInput/TextInputLabel.d.ts +0 -1
- package/dist/src/components/molecules/TextInput/TextInputLabel.js +0 -1
- package/dist/src/components/molecules/TextInput/TextInputLabel.tsx +26 -0
- package/dist/src/components/molecules/TextInput/TextInputMessage.tsx +22 -0
- package/dist/src/components/molecules/TextInput/TextInputProps.types.ts +24 -0
- package/dist/src/components/molecules/TextInput/TextInputTooltip.tsx +11 -0
- package/dist/src/components/molecules/TextInput/index.ts +2 -0
- package/dist/src/components/molecules/TextInput/stories/TextInput.stories.tsx +125 -0
- package/dist/src/components/molecules/TextInput/tests/Input.test.tsx +45 -0
- package/dist/src/components/molecules/TextInput/tests/TextInput.test.tsx +68 -0
- package/dist/src/components/molecules/TextInput/tests/TextInputLabel.test.tsx +41 -0
- package/dist/src/components/molecules/TextInput/tests/TextInputMessage.test.tsx +27 -0
- package/dist/src/components/molecules/TextInput/tests/TextInputTooltip.test.tsx +22 -0
- package/dist/src/components/molecules/TooltipMenu/TooltipMenu.scss +40 -0
- package/dist/src/components/molecules/TooltipMenu/TooltipMenu.tsx +23 -0
- package/dist/src/components/molecules/TooltipMenu/TooltipMenuProps.types.ts +9 -0
- package/dist/src/components/molecules/TooltipMenu/index.ts +2 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.scss +12 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsites.tsx +18 -0
- package/dist/src/components/molecules/TrustworthyWebsites/TrustworthyWebsitesProps.types.ts +8 -0
- package/dist/src/components/molecules/TrustworthyWebsites/index.ts +2 -0
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.scss +108 -0
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.tsx +45 -0
- package/dist/src/components/molecules/TypeModulesList/TypeModulesListProps.types.ts +16 -0
- package/dist/src/components/molecules/TypeModulesList/index.ts +2 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.scss +63 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.tsx +40 -0
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZoneProps.types.ts +19 -0
- package/dist/src/components/molecules/UploadRatafiaZone/index.ts +2 -0
- package/dist/src/components/molecules/index.ts +41 -0
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.scss +58 -0
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.tsx +23 -0
- package/dist/src/components/organisms/AboutUsContent/AboutUsContentProps.types.ts +7 -0
- package/dist/src/components/organisms/AboutUsContent/index.ts +2 -0
- package/dist/src/components/organisms/Accordion/Accordion.context.tsx +124 -0
- package/dist/src/components/organisms/Accordion/Accordion.scss +4 -0
- package/dist/src/components/organisms/Accordion/Accordion.tsx +36 -0
- package/dist/src/components/organisms/Accordion/AccordionProps.types.ts +12 -0
- package/dist/src/components/organisms/Accordion/index.ts +2 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesList.scss +12 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +19 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesListProps.types.ts +5 -0
- package/dist/src/components/organisms/ArticlesList/index.ts +2 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.scss +22 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContent.tsx +21 -0
- package/dist/src/components/organisms/AsSeeInContent/AsSeeInContentProps.types.ts +6 -0
- package/dist/src/components/organisms/AsSeeInContent/index.ts +2 -0
- package/dist/src/components/organisms/CardFuncionality/CardFuncionality.scss +60 -0
- package/dist/src/components/organisms/CardFuncionality/CardFuncionality.tsx +29 -0
- package/dist/src/components/organisms/CardFuncionality/CardFuncionalityProps.ts +9 -0
- package/dist/src/components/organisms/CardFuncionality/index.ts +2 -0
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.scss +45 -0
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotron.tsx +32 -0
- package/dist/src/components/organisms/ContactJumbotron/ContactJumbotronProps.types.ts +11 -0
- package/dist/src/components/organisms/ContactJumbotron/index.ts +2 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.scss +54 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.tsx +23 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBarProps.ts +4 -0
- package/dist/src/components/organisms/CookiePolicyBar/index.ts +2 -0
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.scss +18 -0
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafia.tsx +13 -0
- package/dist/src/components/organisms/ErrorContentRatafia/ErrorContentRatafiaProps.types.ts +4 -0
- package/dist/src/components/organisms/ErrorContentRatafia/index.ts +2 -0
- package/dist/src/components/organisms/FaqGroup/FaqGroup.scss +22 -0
- package/dist/src/components/organisms/FaqGroup/FaqGroup.tsx +21 -0
- package/dist/src/components/organisms/FaqGroup/FaqGroupProps.ts +10 -0
- package/dist/src/components/organisms/FaqGroup/index.ts +2 -0
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.scss +28 -0
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.tsx +30 -0
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContentProps.types.ts +8 -0
- package/dist/src/components/organisms/FeaturesRatafiaContent/index.ts +2 -0
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.scss +70 -0
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +20 -0
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContentProps.types.ts +5 -0
- package/dist/src/components/organisms/GuidelinesContent/index.ts +2 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.scss +28 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContent.tsx +19 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/JumbotronRatafiaContentProps.types.ts +7 -0
- package/dist/src/components/organisms/JumbotronRatafiaContent/index.ts +2 -0
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.scss +146 -0
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafia.tsx +46 -0
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/KeyFactsLoadingContentRatafiaProps.types.ts +5 -0
- package/dist/src/components/organisms/KeyFactsLoadingContentRatafia/index.ts +2 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.scss +23 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.tsx +20 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafiaProps.types.ts +11 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/index.ts +3 -0
- package/dist/src/components/organisms/LanguageSelector/LanguageSelector.tsx +53 -0
- package/dist/src/components/organisms/LanguageSelector/LanguageSelectorProps.ts +6 -0
- package/dist/src/components/organisms/LanguageSelector/LenguageSelectorItem.ts +6 -0
- package/dist/src/components/organisms/LanguageSelector/index.ts +6 -0
- package/dist/src/components/organisms/LanguageSelector/useLanguageOptions.tsx +18 -0
- package/dist/src/components/organisms/LanguageSelector/useLanguageSelected.tsx +18 -0
- package/dist/src/components/organisms/LanguageSelector/useLanguagesSelector.tsx +31 -0
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.scss +65 -0
- package/dist/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.tsx +67 -0
- package/dist/src/components/organisms/LanguageSelectorMobile/index.ts +1 -0
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.scss +93 -0
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafia.tsx +25 -0
- package/dist/src/components/organisms/LayoutRatafia/LayoutRatafiaProps.types.ts +9 -0
- package/dist/src/components/organisms/LayoutRatafia/index.ts +2 -0
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.d.ts +0 -1
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.js +1 -1
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.scss +35 -0
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetForm.tsx +23 -0
- package/dist/src/components/organisms/ListStepsGetForm/ListStepsGetFormProps.types.ts +5 -0
- package/dist/src/components/organisms/ListStepsGetForm/index.ts +2 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.d.ts +0 -1
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.js +1 -1
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.scss +16 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContent.tsx +18 -0
- package/dist/src/components/organisms/LoginRatafiaContent/LoginRatafiaContentProps.types.ts +8 -0
- package/dist/src/components/organisms/LoginRatafiaContent/index.ts +2 -0
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.d.ts +0 -1
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.js +1 -1
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.scss +46 -0
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.tsx +34 -0
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBarProps.types.ts +5 -0
- package/dist/src/components/organisms/MobileBottomBar/index.ts +2 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.d.ts +0 -1
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.js +1 -1
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.scss +12 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContent.tsx +16 -0
- package/dist/src/components/organisms/StepsRatafiaContent/StepsRatafiaContentProps.types.ts +6 -0
- package/dist/src/components/organisms/StepsRatafiaContent/index.ts +2 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.d.ts +0 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +1 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss +49 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +19 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +5 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.ts +2 -0
- package/dist/src/components/organisms/index.ts +22 -0
- package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +43 -0
- package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +20 -0
- package/dist/src/components/pages/AboutUsPage/index.ts +2 -0
- package/dist/src/components/pages/ContactUsPage/ContactUsPage.tsx +20 -0
- package/dist/src/components/pages/ContactUsPage/ContactUsPageProps.ts +9 -0
- package/dist/src/components/pages/ContactUsPage/index.ts +2 -0
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.scss +32 -0
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPage.tsx +68 -0
- package/dist/src/components/pages/ErrorRatafiaPage/ErrorRatafiaPageProps.types.ts +18 -0
- package/dist/src/components/pages/ErrorRatafiaPage/index.ts +2 -0
- package/dist/src/components/pages/FaqsPage/FaqsPage.d.ts +0 -1
- package/dist/src/components/pages/FaqsPage/FaqsPage.js +1 -1
- package/dist/src/components/pages/FaqsPage/FaqsPage.scss +61 -0
- package/dist/src/components/pages/FaqsPage/FaqsPage.tsx +20 -0
- package/dist/src/components/pages/FaqsPage/FaqsPageProps.ts +8 -0
- package/dist/src/components/pages/FaqsPage/index.ts +2 -0
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.scss +23 -0
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPage.tsx +74 -0
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/KeyFactsResultRatafiaPageProps.types.ts +20 -0
- package/dist/src/components/pages/KeyFactsResultRatafiaPage/index.ts +2 -0
- package/dist/src/components/pages/LegalPage/LegalPage.tsx +14 -0
- package/dist/src/components/pages/LegalPage/LegalPageProps.ts +7 -0
- package/dist/src/components/pages/LegalPage/index.ts +2 -0
- package/dist/src/components/pages/LoginRatafiaPage/LoginPageRatafia.scss +23 -0
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPage.tsx +73 -0
- package/dist/src/components/pages/LoginRatafiaPage/LoginRatafiaPageProps.ts +23 -0
- package/dist/src/components/pages/LoginRatafiaPage/index.ts +2 -0
- package/dist/src/components/pages/RatafiaLandingPage/RatafiaLandingPage.tsx +42 -0
- package/dist/src/components/pages/RatafiaLandingPage/RatafiaLandingPageProps.types.ts +20 -0
- package/dist/src/components/pages/RatafiaLandingPage/index.ts +2 -0
- package/dist/src/components/pages/UnsubscribePage/UnsubscribePage.tsx +14 -0
- package/dist/src/components/pages/UnsubscribePage/UnsubscribePageProps.ts +7 -0
- package/dist/src/components/pages/UnsubscribePage/index.ts +2 -0
- package/dist/src/components/pages/index.ts +9 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.scss +52 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +24 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.ts +7 -0
- package/dist/src/components/sections/AboutUsSection/index.ts +2 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.scss +33 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSection.tsx +22 -0
- package/dist/src/components/sections/AsSeeInSection/AsSeeInSectionProps.types.ts +6 -0
- package/dist/src/components/sections/AsSeeInSection/index.ts +2 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.scss +50 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.tsx +26 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSectionProps.ts +9 -0
- package/dist/src/components/sections/AsideMenuSection/index.ts +2 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.scss +57 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSection.tsx +25 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.ts +7 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/index.ts +2 -0
- package/dist/src/components/sections/BlogSection/BlogSection.scss +33 -0
- package/dist/src/components/sections/BlogSection/BlogSection.tsx +20 -0
- package/dist/src/components/sections/BlogSection/BlogSectionProps.types.ts +7 -0
- package/dist/src/components/sections/BlogSection/index.ts +2 -0
- package/dist/src/components/sections/ContactSection/ContactSection.scss +90 -0
- package/dist/src/components/sections/ContactSection/ContactSection.tsx +25 -0
- package/dist/src/components/sections/ContactSection/ContactSectionProps.ts +7 -0
- package/dist/src/components/sections/ContactSection/index.ts +2 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.scss +26 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSection.tsx +20 -0
- package/dist/src/components/sections/ExpertsSection/ExpertsSectionProps.types.ts +6 -0
- package/dist/src/components/sections/ExpertsSection/index.ts +2 -0
- package/dist/src/components/sections/FaqSection/FaqSection.scss +31 -0
- package/dist/src/components/sections/FaqSection/FaqSection.tsx +18 -0
- package/dist/src/components/sections/FaqSection/FaqSectionProps.ts +6 -0
- package/dist/src/components/sections/FaqSection/index.ts +2 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.scss +57 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.tsx +25 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSectionProps.types.ts +6 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/index.ts +2 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.scss +11 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.tsx +17 -0
- package/dist/src/components/sections/GuidelinesSection/GuidelinesSectionProps.types.ts +5 -0
- package/dist/src/components/sections/GuidelinesSection/index.ts +2 -0
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.scss +26 -0
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +25 -0
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSectionProps.types.ts +7 -0
- package/dist/src/components/sections/HowGetYourFormsSection/index.ts +2 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.scss +41 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSection.tsx +18 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/JumbotronRatafiaSectionProps.types.ts +6 -0
- package/dist/src/components/sections/JumbotronRatafiaSection/index.ts +2 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.scss +41 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.tsx +22 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSectionProps.types.ts +10 -0
- package/dist/src/components/sections/JumbotronSimplifiedSection/index.ts +2 -0
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.scss +107 -0
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.tsx +24 -0
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSectionProps.types.ts +6 -0
- package/dist/src/components/sections/LearnMoreSection/index.ts +2 -0
- package/dist/src/components/sections/LegalSection/LegalSection.scss +120 -0
- package/dist/src/components/sections/LegalSection/LegalSection.tsx +15 -0
- package/dist/src/components/sections/LegalSection/LegalSectionProps.ts +5 -0
- package/dist/src/components/sections/LegalSection/index.ts +2 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.scss +47 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSection.tsx +33 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/MidBannerRatafiaSectionProps.types.ts +8 -0
- package/dist/src/components/sections/MidBannerRatafiaSection/index.ts +2 -0
- package/dist/src/components/sections/MoreDocsSection/MoreDocsSection.tsx +24 -0
- package/dist/src/components/sections/MoreDocsSection/MoreDocsSectionProps.ts +6 -0
- package/dist/src/components/sections/MoreDocsSection/index.ts +2 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.scss +17 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.tsx +16 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSectionProps.types.ts +6 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/index.ts +2 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.scss +53 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.tsx +24 -0
- package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSectionProps.types.ts +7 -0
- package/dist/src/components/sections/StepsRatafiaSection/index.ts +2 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.scss +69 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.tsx +22 -0
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSectionProps.types.ts +5 -0
- package/dist/src/components/sections/TryItRatafiaSection/index.ts +2 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.scss +11 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +17 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSectionProps.types.ts +5 -0
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/index.ts +2 -0
- package/dist/src/components/sections/TryUsSection/TryUsSection.scss +24 -0
- package/dist/src/components/sections/TryUsSection/TryUsSection.tsx +14 -0
- package/dist/src/components/sections/TryUsSection/TryUsSectionProps.ts +8 -0
- package/dist/src/components/sections/TryUsSection/index.ts +2 -0
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.scss +62 -0
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSection.tsx +15 -0
- package/dist/src/components/sections/UnsubscribeSection/UnsubscribeSectionProps.ts +5 -0
- package/dist/src/components/sections/UnsubscribeSection/index.ts +2 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.scss +36 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.tsx +32 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSectionProps.types.ts +13 -0
- package/dist/src/components/sections/WhyLawDistrictSection/index.ts +2 -0
- package/dist/src/components/sections/index.ts +24 -0
- package/dist/src/custom.d.ts +13 -0
- package/dist/src/globalStyles/animations.scss +75 -0
- package/dist/src/globalStyles/base.scss +74 -0
- package/dist/src/globalStyles/functions.scss +23 -0
- package/dist/src/globalStyles/layout.scss +77 -0
- package/dist/src/globalStyles/mediaqueries.scss +43 -0
- package/dist/src/globalStyles/reset.scss +68 -0
- package/dist/src/globalStyles/styles.scss +161 -0
- package/dist/src/globalStyles/themes.scss +271 -0
- package/dist/src/globalStyles/typography.scss +108 -0
- package/dist/src/globalStyles/variables.scss +84 -0
- package/dist/src/hooks/index.ts +2 -0
- package/dist/src/hooks/useIntersectionObserver.tsx +31 -0
- package/dist/src/hooks/useIsMobileOrTable.tsx +41 -0
- package/dist/src/index.ts +3 -0
- package/dist/src/styles/stories.scss +67 -0
- package/dist/src/utils/ProductCategory.ts +7 -0
- package/dist/src/utils/getCategoryIcons.tsx +41 -0
- package/dist/src/utils/getDateFormatMMMMYYYY.ts +3 -0
- package/dist/src/utils/getGatsbyImageSkeleton.tsx +19 -0
- package/dist/src/utils/getRichTextSkeleton.tsx +5 -0
- package/dist/src/utils/index.d.ts +7 -0
- package/dist/src/utils/index.js +7 -0
- package/dist/src/utils/index.ts +7 -0
- package/dist/src/utils/replaceAll.ts +7 -0
- package/dist/src/utils/stringSlugify.ts +3 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +7 -3
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.article {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-flow: row wrap;
|
|
7
|
+
flex: 1 1 0;
|
|
8
|
+
border-radius: $global-border-radius;
|
|
9
|
+
box-shadow: $box-shadow-small;
|
|
10
|
+
max-width: $md;
|
|
11
|
+
margin: 1rem 0;
|
|
12
|
+
|
|
13
|
+
@include laptop {
|
|
14
|
+
margin: 0 0.5rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.image {
|
|
18
|
+
object-fit: cover;
|
|
19
|
+
object-position: 25%;
|
|
20
|
+
height: 13em;
|
|
21
|
+
width: 100%;
|
|
22
|
+
|
|
23
|
+
@include landscape-tablets {
|
|
24
|
+
width: 35%;
|
|
25
|
+
height: auto;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.information {
|
|
30
|
+
width: 100%;
|
|
31
|
+
padding: 1rem 1.5rem 0;
|
|
32
|
+
text-align: left;
|
|
33
|
+
max-width: 100%;
|
|
34
|
+
|
|
35
|
+
@include landscape-tablets {
|
|
36
|
+
width: 65%;
|
|
37
|
+
height: 100%;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.title {
|
|
41
|
+
font-weight: bold;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.summary {
|
|
45
|
+
color: #6d7275;
|
|
46
|
+
margin: 0.5rem 0;
|
|
47
|
+
display: -webkit-box;
|
|
48
|
+
-webkit-line-clamp: 5;
|
|
49
|
+
-webkit-box-orient: vertical;
|
|
50
|
+
overflow: hidden;
|
|
51
|
+
text-overflow: ellipsis;
|
|
52
|
+
|
|
53
|
+
@include landscape-tablets {
|
|
54
|
+
margin: 0;
|
|
55
|
+
padding: 0.5rem 0;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.e-button {
|
|
60
|
+
margin: 2.5rem 0 1rem -1rem;
|
|
61
|
+
@include laptop {
|
|
62
|
+
margin-top: 0;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { type FC } from 'react'
|
|
2
|
+
|
|
3
|
+
import { type ArticleProps } from './ArticleProps.types'
|
|
4
|
+
import { Button } from '../../atoms'
|
|
5
|
+
// import './Article.scss'
|
|
6
|
+
|
|
7
|
+
const Article: FC<ArticleProps> = ({ imageUrl, title, articleUrl, summary }) => {
|
|
8
|
+
return (
|
|
9
|
+
<div className='article'>
|
|
10
|
+
<img src={imageUrl} className='image' loading='lazy' alt={title} />
|
|
11
|
+
<div className='information'>
|
|
12
|
+
<a href={articleUrl} target='_blank' rel='noreferrer'>
|
|
13
|
+
<p className='title sans-serif --big'>{title} </p>
|
|
14
|
+
</a>
|
|
15
|
+
<div className='summary'>{summary}</div>
|
|
16
|
+
<Button color='tertiary' label={'Read more'} dataQa='article-read-more' link={articleUrl} isExternal />
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
)
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export default Article
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.base-box-group {
|
|
5
|
+
display: block;
|
|
6
|
+
.base-box {
|
|
7
|
+
&:first-child:not(:last-child) {
|
|
8
|
+
border-radius: 4px 4px 0 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
&:not(:last-child):not(:first-child) {
|
|
12
|
+
border-top: none;
|
|
13
|
+
border-radius: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&:last-child:not(:first-child) {
|
|
17
|
+
border-top: none;
|
|
18
|
+
border-radius: 0 0 4px 4px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
&--padded {
|
|
22
|
+
.base-box {
|
|
23
|
+
padding: 2rem;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { type FC } from 'react'
|
|
2
|
+
import classNames from 'classnames'
|
|
3
|
+
|
|
4
|
+
import { BaseBox } from '../../atoms'
|
|
5
|
+
import { type BaseBoxListProps } from './BaseBoxListProps.types'
|
|
6
|
+
// import './BaseBoxList.scss'
|
|
7
|
+
|
|
8
|
+
const BaseBoxList: FC<BaseBoxListProps> = ({ list, padded, children, givenClass = '' }) => {
|
|
9
|
+
if (children === undefined && list?.length === 0) return null
|
|
10
|
+
|
|
11
|
+
const classes = classNames(`base-box-group ${givenClass}`, {
|
|
12
|
+
'base-box-group--padded': padded
|
|
13
|
+
})
|
|
14
|
+
|
|
15
|
+
return <div className={classes}>{children ?? list?.map((box, index) => <BaseBox key={index} {...box} />)}</div>
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export default BaseBoxList
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
2
|
+
|
|
3
|
+
.benefit-ratafia-card-list {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: center;
|
|
8
|
+
align-self: stretch;
|
|
9
|
+
|
|
10
|
+
gap: 1rem;
|
|
11
|
+
|
|
12
|
+
@include laptop {
|
|
13
|
+
flex-direction: row;
|
|
14
|
+
gap: 2rem;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { type FC } from 'react'
|
|
2
|
+
|
|
3
|
+
import { BenefitRatafiaCard } from '../../atoms'
|
|
4
|
+
import { type BenefitRatafiaCardListProps } from './BenefitRatafiaCardListProps.types'
|
|
5
|
+
// import './BenefitRatafiaCardList.scss'
|
|
6
|
+
|
|
7
|
+
const BenefitRatafiaCardList: FC<BenefitRatafiaCardListProps> = ({ benefits = [] }) => {
|
|
8
|
+
if (benefits.length === 0) return null
|
|
9
|
+
|
|
10
|
+
return (
|
|
11
|
+
<div className='benefit-ratafia-card-list'>
|
|
12
|
+
{benefits.map((benefit) => (
|
|
13
|
+
<BenefitRatafiaCard key={benefit.id} {...benefit} />
|
|
14
|
+
))}
|
|
15
|
+
</div>
|
|
16
|
+
)
|
|
17
|
+
}
|
|
18
|
+
export default BenefitRatafiaCardList
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.bottom-fixed-bar {
|
|
5
|
+
padding: 0 1.5rem 1rem;
|
|
6
|
+
display: flex;
|
|
7
|
+
z-index: 3;
|
|
8
|
+
bottom: 0;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
align-items: center;
|
|
11
|
+
justify-content: center;
|
|
12
|
+
width: 100%;
|
|
13
|
+
background-color: black;
|
|
14
|
+
color: get-color(others, white);
|
|
15
|
+
|
|
16
|
+
@include portrait-tablets {
|
|
17
|
+
flex-direction: row;
|
|
18
|
+
align-items: center;
|
|
19
|
+
padding-bottom: 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__text {
|
|
23
|
+
margin-top: 1rem;
|
|
24
|
+
margin-bottom: 0.5rem;
|
|
25
|
+
max-width: 48rem;
|
|
26
|
+
|
|
27
|
+
@include portrait-tablets {
|
|
28
|
+
margin-bottom: 1rem;
|
|
29
|
+
margin-right: 1.5rem;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@include laptop {
|
|
33
|
+
margin-right: 2.5rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
a {
|
|
37
|
+
text-decoration: underline;
|
|
38
|
+
color: get-color(others, white);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
p {
|
|
42
|
+
margin-bottom: 0;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&__button-container > .e-button {
|
|
47
|
+
white-space: nowrap;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { type FC } from 'react'
|
|
2
|
+
|
|
3
|
+
import { Button, RichTextInner } from '../../atoms'
|
|
4
|
+
import { type BottomFixedBarProps } from './BottomFixedBarProps.types'
|
|
5
|
+
// import './BottomFixedBar.scss'
|
|
6
|
+
|
|
7
|
+
const BottomFixedBar: FC<BottomFixedBarProps> = ({ text, button }) => {
|
|
8
|
+
if (text === undefined || button === undefined) return null
|
|
9
|
+
|
|
10
|
+
return (
|
|
11
|
+
<div className='bottom-fixed-bar'>
|
|
12
|
+
<RichTextInner customClass='bottom-fixed-bar__text sans-serif --extra-small'>{text}</RichTextInner>
|
|
13
|
+
<div className='bottom-fixed-bar__button-container'>
|
|
14
|
+
<Button noLink color='primary3' {...button} />
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
)
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export default BottomFixedBar
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect, useRef, useState } from 'react';
|
|
3
3
|
import { useSwipeable } from 'react-swipeable';
|
|
4
|
-
import './BottomOverlay.scss'
|
|
4
|
+
// import './BottomOverlay.scss'
|
|
5
5
|
const BottomOverlay = ({ givenClass, header, body, open = false, onClose, footer }) => {
|
|
6
6
|
const [scrollingDown, setScrollingDown] = useState(false);
|
|
7
7
|
const scrollingShadow = scrollingDown ? 'overlay__delimiter__scrolling' : '';
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.bottom-overlay {
|
|
5
|
+
position: fixed;
|
|
6
|
+
top: 0;
|
|
7
|
+
left: 0;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
z-index: 1001;
|
|
11
|
+
visibility: hidden;
|
|
12
|
+
|
|
13
|
+
&.show {
|
|
14
|
+
visibility: visible;
|
|
15
|
+
|
|
16
|
+
.bottom-overlay__background {
|
|
17
|
+
opacity: 0.8;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.bottom-overlay__nav {
|
|
21
|
+
transform: translateY(0);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&__background {
|
|
26
|
+
background-color: get-color(primary, main-dark-2);
|
|
27
|
+
position: absolute;
|
|
28
|
+
width: 100%;
|
|
29
|
+
height: 100%;
|
|
30
|
+
top: 0;
|
|
31
|
+
left: 0;
|
|
32
|
+
z-index: 1;
|
|
33
|
+
opacity: 0;
|
|
34
|
+
transition: opacity ease-out 0.3s;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&__nav {
|
|
38
|
+
background: get-color(others, white);
|
|
39
|
+
border-top-left-radius: $global-border-radius;
|
|
40
|
+
border-top-right-radius: $global-border-radius;
|
|
41
|
+
bottom: 0;
|
|
42
|
+
position: absolute;
|
|
43
|
+
transform: translateY(100%);
|
|
44
|
+
transition: transform 0.5s ease-in-out;
|
|
45
|
+
width: 100%;
|
|
46
|
+
z-index: 2;
|
|
47
|
+
|
|
48
|
+
@include landscape-tablets {
|
|
49
|
+
display: block;
|
|
50
|
+
transform: translateY(0);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.overlay__delimiter {
|
|
54
|
+
padding: 0.5rem 0 1.5rem;
|
|
55
|
+
|
|
56
|
+
&:after {
|
|
57
|
+
content: '';
|
|
58
|
+
background: get-color(neutral, neutral-3);
|
|
59
|
+
border-radius: $global-border-radius;
|
|
60
|
+
display: block;
|
|
61
|
+
height: 0.25rem;
|
|
62
|
+
margin: 0 auto;
|
|
63
|
+
width: 7.5rem;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&.overlay__delimiter__scrolling {
|
|
67
|
+
box-shadow: $box-shadow-small;
|
|
68
|
+
position: relative;
|
|
69
|
+
z-index: 1;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@include landscape-tablets {
|
|
73
|
+
display: none;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.overlay__scrollable-section {
|
|
78
|
+
position: sticky;
|
|
79
|
+
max-height: 21rem;
|
|
80
|
+
min-height: 8.5rem;
|
|
81
|
+
display: flex;
|
|
82
|
+
overflow-y: scroll;
|
|
83
|
+
padding-left: 1.5rem;
|
|
84
|
+
padding-right: 1.5rem;
|
|
85
|
+
width: 100%;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.overlay__footer {
|
|
89
|
+
border-top: solid 1px get-color(neutral, neutral-4);
|
|
90
|
+
padding: 1.5rem 1.5rem 2rem;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import React, { type FC, useEffect, useRef, useState } from 'react'
|
|
2
|
+
import { useSwipeable } from 'react-swipeable'
|
|
3
|
+
|
|
4
|
+
import { type BottomOverlayProps } from './BottomOverlayProps.types'
|
|
5
|
+
// import './BottomOverlay.scss'
|
|
6
|
+
|
|
7
|
+
const BottomOverlay: FC<BottomOverlayProps> = ({ givenClass, header, body, open = false, onClose, footer }) => {
|
|
8
|
+
const [scrollingDown, setScrollingDown] = useState<boolean>(false)
|
|
9
|
+
const scrollingShadow = scrollingDown ? 'overlay__delimiter__scrolling' : ''
|
|
10
|
+
const overlayBackground = useRef<HTMLDivElement | null>(null)
|
|
11
|
+
const overlayMessage = useRef<HTMLDivElement | null>(null)
|
|
12
|
+
|
|
13
|
+
useEffect(() => {
|
|
14
|
+
if (open) {
|
|
15
|
+
const backgroundElement = overlayBackground.current as HTMLElement
|
|
16
|
+
backgroundElement.addEventListener('mousedown', handleCloseModal)
|
|
17
|
+
return () => {
|
|
18
|
+
backgroundElement.removeEventListener('mousedown', handleCloseModal)
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}, [open])
|
|
22
|
+
|
|
23
|
+
const handleCloseModal = (event: MouseEvent): void => {
|
|
24
|
+
if (onClose != null) onClose()
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const handleScroll: React.UIEventHandler<HTMLDivElement> = (event) => {
|
|
28
|
+
setScrollingDown(true)
|
|
29
|
+
|
|
30
|
+
const targetElement = event.target as HTMLElement
|
|
31
|
+
if (targetElement?.scrollTop === 0) {
|
|
32
|
+
setScrollingDown(false)
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
const swipeableConfig = {
|
|
37
|
+
trackMouse: true
|
|
38
|
+
}
|
|
39
|
+
const handlers = useSwipeable({
|
|
40
|
+
onSwipedDown: (eventData) => {
|
|
41
|
+
swipeEventHandler(eventData)
|
|
42
|
+
},
|
|
43
|
+
...swipeableConfig
|
|
44
|
+
})
|
|
45
|
+
|
|
46
|
+
interface SwipeData {
|
|
47
|
+
initial: number[]
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
const swipeEventHandler = (data: SwipeData): void => {
|
|
51
|
+
const messageElement = overlayMessage.current as HTMLElement
|
|
52
|
+
const mouseYPosition = data.initial
|
|
53
|
+
if (mouseYPosition[1] < messageElement.offsetTop) {
|
|
54
|
+
if (onClose != null) onClose()
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
return (
|
|
59
|
+
<div className={`bottom-overlay ${givenClass ?? ''} ${open ? 'show' : ''}`} {...handlers}>
|
|
60
|
+
<div ref={overlayBackground} className='bottom-overlay__background'></div>
|
|
61
|
+
<nav ref={overlayMessage} className='bottom-overlay__nav'>
|
|
62
|
+
<div className={`overlay__delimiter ${scrollingShadow}`} />
|
|
63
|
+
{header}
|
|
64
|
+
<div className='overlay__scrollable-section' onScroll={handleScroll}>
|
|
65
|
+
{body}
|
|
66
|
+
</div>
|
|
67
|
+
{footer !== undefined && <div className='overlay__footer'>{footer}</div>}
|
|
68
|
+
</nav>
|
|
69
|
+
</div>
|
|
70
|
+
)
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export default BottomOverlay
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.box--form {
|
|
5
|
+
background: get-color(others, white);
|
|
6
|
+
border-radius: $global-border-radius;
|
|
7
|
+
box-shadow: $box-shadow-container;
|
|
8
|
+
padding-left: 1.5rem;
|
|
9
|
+
padding-right: 1.5rem;
|
|
10
|
+
|
|
11
|
+
@include desktop {
|
|
12
|
+
padding-left: 2rem;
|
|
13
|
+
padding-right: 2rem;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.box--form__title {
|
|
17
|
+
color: get-color(neutral, neutral-1);
|
|
18
|
+
font-family: $font-sans;
|
|
19
|
+
font-weight: bold;
|
|
20
|
+
width: 95%;
|
|
21
|
+
|
|
22
|
+
@media (max-width: 369px) {
|
|
23
|
+
font-size: 1rem;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.box--form__close {
|
|
28
|
+
display: flex;
|
|
29
|
+
line-height: 1rem;
|
|
30
|
+
color: get-color(neutral, neutral-1);
|
|
31
|
+
font-size: 35px;
|
|
32
|
+
font-weight: lighter;
|
|
33
|
+
justify-content: flex-end;
|
|
34
|
+
|
|
35
|
+
&:hover,
|
|
36
|
+
&:focus {
|
|
37
|
+
color: #000;
|
|
38
|
+
text-decoration: none;
|
|
39
|
+
cursor: pointer;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.box--form__header {
|
|
45
|
+
display: flex;
|
|
46
|
+
border-bottom: solid 1px get-color(neutral, neutral-4);
|
|
47
|
+
padding: 1.5rem 0 1rem;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.box--form__main {
|
|
51
|
+
padding: 2rem 0;
|
|
52
|
+
|
|
53
|
+
@media (max-width: 369px) {
|
|
54
|
+
padding: 0.5rem 0;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.box--form__body:not(:last-child) {
|
|
59
|
+
padding-bottom: 1.5rem;
|
|
60
|
+
|
|
61
|
+
@media (max-width: 369px) {
|
|
62
|
+
padding-bottom: 0.5rem;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.box--form__body__footer {
|
|
67
|
+
text-align: center;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.box--form__button--main {
|
|
71
|
+
margin-bottom: 1rem;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.box--form__button-annotation {
|
|
75
|
+
color: get-color(neutral, neutral-1);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.box--form__footer {
|
|
79
|
+
align-items: center;
|
|
80
|
+
border-top: solid 1px get-color(neutral, neutral-4);
|
|
81
|
+
display: flex;
|
|
82
|
+
justify-content: space-between;
|
|
83
|
+
padding: 1.5rem 0 1rem 0;
|
|
84
|
+
|
|
85
|
+
@include portrait-tablets {
|
|
86
|
+
.e-button {
|
|
87
|
+
white-space: nowrap;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@media (max-width: 369px) {
|
|
92
|
+
padding: 0.5rem 0 1rem 0;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.box--form__footer__text {
|
|
97
|
+
margin-right: 5px;
|
|
98
|
+
width: 60%;
|
|
99
|
+
|
|
100
|
+
@include portrait-tablets {
|
|
101
|
+
white-space: nowrap;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.box--form__link {
|
|
106
|
+
color: var(--primary-main);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.body-container {
|
|
110
|
+
display: flex;
|
|
111
|
+
flex-direction: column;
|
|
112
|
+
|
|
113
|
+
.label {
|
|
114
|
+
font-weight: 900;
|
|
115
|
+
margin-top: 10px;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.input {
|
|
119
|
+
margin-top: 10px;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.input.password {
|
|
123
|
+
margin-bottom: 15px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.body-button {
|
|
127
|
+
margin-top: 90px;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
|
2
|
+
/* eslint-disable jsx-a11y/click-events-have-key-events */
|
|
3
|
+
import React, { type FC } from 'react'
|
|
4
|
+
|
|
5
|
+
import { Button, type ButtonProps } from '../../atoms'
|
|
6
|
+
import { type BoxFormProps } from './BoxFormProps.types'
|
|
7
|
+
// import './BoxForm.scss'
|
|
8
|
+
|
|
9
|
+
const BoxForm: FC<BoxFormProps> = ({
|
|
10
|
+
title,
|
|
11
|
+
body,
|
|
12
|
+
footer,
|
|
13
|
+
closeInsideModal,
|
|
14
|
+
closeModalAndReloadPage,
|
|
15
|
+
hideHeader = false
|
|
16
|
+
}) => {
|
|
17
|
+
const [buttonProps] = React.useState<ButtonProps | undefined>(() => {
|
|
18
|
+
if (footer == null) return undefined
|
|
19
|
+
const { onClick, link } = footer.button
|
|
20
|
+
return {
|
|
21
|
+
...footer.button,
|
|
22
|
+
color: 'secondary',
|
|
23
|
+
size: 'S',
|
|
24
|
+
...(onClick != null ? { onClick, noLink: true } : { link })
|
|
25
|
+
}
|
|
26
|
+
})
|
|
27
|
+
|
|
28
|
+
return (
|
|
29
|
+
<div className='box--form'>
|
|
30
|
+
{!hideHeader && (
|
|
31
|
+
<div className='box--form__header'>
|
|
32
|
+
{closeInsideModal === true ? (
|
|
33
|
+
<>
|
|
34
|
+
<h3 className='box--form__title sans-serif --big'>{title}</h3>
|
|
35
|
+
<div className='box--form__close' onClick={closeModalAndReloadPage}>
|
|
36
|
+
×
|
|
37
|
+
</div>
|
|
38
|
+
</>
|
|
39
|
+
) : (
|
|
40
|
+
<h3 className='box--form__title sans-serif --big'>{title}</h3>
|
|
41
|
+
)}
|
|
42
|
+
</div>
|
|
43
|
+
)}
|
|
44
|
+
<div className='box--form__main'>
|
|
45
|
+
<div className='box--form__body'>{body}</div>
|
|
46
|
+
{footer !== undefined && (
|
|
47
|
+
<div className='box--form__footer'>
|
|
48
|
+
<span className='box--form__footer__text'>{footer.text}</span>
|
|
49
|
+
{buttonProps !== undefined && <Button {...buttonProps} />}
|
|
50
|
+
</div>
|
|
51
|
+
)}
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
)
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export default BoxForm
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type ButtonProps } from '../../atoms'
|
|
2
|
+
|
|
3
|
+
export interface BoxFormProps {
|
|
4
|
+
title: string
|
|
5
|
+
body: any
|
|
6
|
+
footer?: {
|
|
7
|
+
text: string
|
|
8
|
+
button: ButtonProps
|
|
9
|
+
}
|
|
10
|
+
closeInsideModal?: boolean
|
|
11
|
+
closeModalAndReloadPage?: () => void
|
|
12
|
+
hideHeader?: boolean
|
|
13
|
+
}
|