@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,18 @@
|
|
|
1
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
2
|
+
|
|
3
|
+
.step-ratafia-card-list {
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
align-items: center;
|
|
7
|
+
align-self: stretch;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
gap: 1.5rem;
|
|
10
|
+
|
|
11
|
+
@include desktop {
|
|
12
|
+
flex-direction: row;
|
|
13
|
+
}
|
|
14
|
+
@include desktop-xl {
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
gap: 1rem;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { type FC } from 'react'
|
|
2
|
+
|
|
3
|
+
import { StepRatafiaCard } from '../../atoms'
|
|
4
|
+
import { type StepRatafiaCardListProps } from './StepRatafiaCardListProps.types'
|
|
5
|
+
// import './StepRatafiaCardList.scss'
|
|
6
|
+
|
|
7
|
+
const StepRatafiaCardList: FC<StepRatafiaCardListProps> = ({ steps = [] }) => {
|
|
8
|
+
if (steps.length === 0) return null
|
|
9
|
+
|
|
10
|
+
return (
|
|
11
|
+
<div className='step-ratafia-card-list'>
|
|
12
|
+
{steps.map((step) => (
|
|
13
|
+
<StepRatafiaCard key={step.id} {...step} />
|
|
14
|
+
))}
|
|
15
|
+
</div>
|
|
16
|
+
)
|
|
17
|
+
}
|
|
18
|
+
export default StepRatafiaCardList
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { type FC } from 'react'
|
|
2
|
+
|
|
3
|
+
import { TagRatafiaItem } from '../../atoms'
|
|
4
|
+
import { type TagsRatafiaListProps } from './TagsRatafiaListProps.types'
|
|
5
|
+
// import './TagsRatafiaList.scss'
|
|
6
|
+
|
|
7
|
+
const TagsRatafiaList: FC<TagsRatafiaListProps> = ({ tags = [] }) => {
|
|
8
|
+
if (tags.length === 0) return null
|
|
9
|
+
|
|
10
|
+
return (
|
|
11
|
+
<div className='tag-ratafia-list'>
|
|
12
|
+
{tags.map((tag) => (
|
|
13
|
+
<TagRatafiaItem key={tag.id} {...tag} />
|
|
14
|
+
))}
|
|
15
|
+
</div>
|
|
16
|
+
)
|
|
17
|
+
}
|
|
18
|
+
export default TagsRatafiaList
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
|
|
2
|
+
/* eslint-disable jsx-a11y/click-events-have-key-events */
|
|
3
|
+
import React, { useState } from 'react'
|
|
4
|
+
|
|
5
|
+
import eyeCloseIcon from '../../../../images/svg/eye-close.svg'
|
|
6
|
+
import eyeIcon from '../../../../images/svg/eye-24-px.svg'
|
|
7
|
+
|
|
8
|
+
interface InputProps {
|
|
9
|
+
name: string
|
|
10
|
+
placeholder: string
|
|
11
|
+
maxLength: number
|
|
12
|
+
value: any
|
|
13
|
+
type: 'password' | 'text' | 'number' | 'tel'
|
|
14
|
+
disabled: boolean
|
|
15
|
+
className: string
|
|
16
|
+
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void
|
|
17
|
+
onClick: (e: React.MouseEvent<HTMLInputElement>) => void
|
|
18
|
+
onBlur: (e: React.FocusEvent<HTMLInputElement>) => void
|
|
19
|
+
onKeyDown: (e: React.KeyboardEvent<HTMLInputElement>) => void
|
|
20
|
+
onKeyUp: (e: React.KeyboardEvent<HTMLInputElement>) => void
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export const Input = React.forwardRef<HTMLInputElement, InputProps>(
|
|
24
|
+
(
|
|
25
|
+
{
|
|
26
|
+
value,
|
|
27
|
+
name,
|
|
28
|
+
placeholder,
|
|
29
|
+
className,
|
|
30
|
+
onChange,
|
|
31
|
+
onClick,
|
|
32
|
+
onBlur,
|
|
33
|
+
onKeyDown,
|
|
34
|
+
onKeyUp,
|
|
35
|
+
disabled,
|
|
36
|
+
type = 'text',
|
|
37
|
+
maxLength
|
|
38
|
+
}: InputProps,
|
|
39
|
+
ref
|
|
40
|
+
) => {
|
|
41
|
+
const [hidden, setHidden] = useState(true)
|
|
42
|
+
|
|
43
|
+
const showPassword = (): any => {
|
|
44
|
+
if (value !== null) setHidden(!hidden)
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
return (
|
|
48
|
+
<>
|
|
49
|
+
<input
|
|
50
|
+
type={!hidden && type === 'password' ? 'text' : type}
|
|
51
|
+
name={name}
|
|
52
|
+
id={name}
|
|
53
|
+
className={className}
|
|
54
|
+
maxLength={maxLength}
|
|
55
|
+
placeholder={placeholder}
|
|
56
|
+
onChange={onChange}
|
|
57
|
+
onClick={onClick}
|
|
58
|
+
onKeyDown={onKeyDown}
|
|
59
|
+
onKeyUp={onKeyUp}
|
|
60
|
+
onBlur={onBlur}
|
|
61
|
+
value={value}
|
|
62
|
+
data-qa={name}
|
|
63
|
+
disabled={disabled}
|
|
64
|
+
ref={ref}
|
|
65
|
+
/>
|
|
66
|
+
{type === 'password' && (
|
|
67
|
+
<img className='input-icon-password' src={hidden ? eyeIcon : eyeCloseIcon} onClick={showPassword} alt='' />
|
|
68
|
+
)}
|
|
69
|
+
</>
|
|
70
|
+
)
|
|
71
|
+
}
|
|
72
|
+
)
|
|
73
|
+
|
|
74
|
+
Input.displayName = 'Input'
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
@import '../../../globalStyles/variables.scss';
|
|
2
|
+
@import '../../../globalStyles/mediaqueries.scss';
|
|
3
|
+
|
|
4
|
+
.tooltip-form {
|
|
5
|
+
margin-top: 0.5rem;
|
|
6
|
+
}
|
|
7
|
+
.e-text {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column-reverse;
|
|
10
|
+
margin-bottom: 2rem;
|
|
11
|
+
position: relative;
|
|
12
|
+
|
|
13
|
+
input {
|
|
14
|
+
-webkit-appearance: none;
|
|
15
|
+
-moz-appearance: none;
|
|
16
|
+
appearance: none;
|
|
17
|
+
color: get-color(neutral, neutral-1);
|
|
18
|
+
background-color: get-color(neutral, neutral-6);
|
|
19
|
+
border-radius: $global-border-radius;
|
|
20
|
+
padding: 0.75rem 0 0.75rem 0.75rem;
|
|
21
|
+
font-size: 0.875rem;
|
|
22
|
+
height: 40px;
|
|
23
|
+
border: none;
|
|
24
|
+
text-overflow: ellipsis;
|
|
25
|
+
transition: box-shadow 0.3s ease;
|
|
26
|
+
box-shadow: 0 0 0 1px get-color(neutral, neutral-3);
|
|
27
|
+
margin: 0.0005em;
|
|
28
|
+
outline: none;
|
|
29
|
+
|
|
30
|
+
&::placeholder {
|
|
31
|
+
color: get-color(neutral, neutral-2);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&:-ms-input-placeholder {
|
|
35
|
+
color: get-color(neutral, neutral-2);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&::-ms-input-placeholder {
|
|
39
|
+
color: get-color(neutral, neutral-2);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&:hover {
|
|
43
|
+
box-shadow: 0 0 0 1px get-color(neutral, neutral-2);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:active,
|
|
47
|
+
&:focus {
|
|
48
|
+
box-shadow: 0 0 0 2px get-color(primary);
|
|
49
|
+
outline: none;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.form-group__label {
|
|
54
|
+
color: get-color(neutral, neutral-1);
|
|
55
|
+
font-weight: bold;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.form-group__label-icon {
|
|
59
|
+
color: get-color(neutral, neutral-1);
|
|
60
|
+
font-weight: bold;
|
|
61
|
+
display: flex;
|
|
62
|
+
align-items: center;
|
|
63
|
+
|
|
64
|
+
img {
|
|
65
|
+
margin-left: 0.4rem;
|
|
66
|
+
align-self: flex-start;
|
|
67
|
+
|
|
68
|
+
@include laptop {
|
|
69
|
+
align-self: center;
|
|
70
|
+
margin-top: 0;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&__error {
|
|
76
|
+
display: none;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&__inner {
|
|
80
|
+
margin-bottom: 0.6rem;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&__children {
|
|
84
|
+
margin-top: 0.5rem;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&--group-invalid {
|
|
88
|
+
input {
|
|
89
|
+
box-shadow: 0 0 0 2px get-color(error);
|
|
90
|
+
background-color: get-color(error, error-3);
|
|
91
|
+
|
|
92
|
+
&:active,
|
|
93
|
+
&:focus {
|
|
94
|
+
box-shadow: 0 0 0 2px get-color(primary);
|
|
95
|
+
outline: none;
|
|
96
|
+
background-color: get-color(neutral, neutral-6);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&--is-invalid {
|
|
102
|
+
margin-bottom: 4rem;
|
|
103
|
+
.e-text__error {
|
|
104
|
+
display: flex;
|
|
105
|
+
align-content: center;
|
|
106
|
+
bottom: -5.5rem;
|
|
107
|
+
margin-top: 0.5rem;
|
|
108
|
+
color: get-color(error);
|
|
109
|
+
|
|
110
|
+
&-icon {
|
|
111
|
+
display: flex;
|
|
112
|
+
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
113
|
+
width: 5%;
|
|
114
|
+
justify-content: center;
|
|
115
|
+
align-items: center;
|
|
116
|
+
margin-right: 10px;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&-label {
|
|
121
|
+
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
122
|
+
width: 95%;
|
|
123
|
+
display: flex;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
img {
|
|
128
|
+
max-width: 20px;
|
|
129
|
+
margin-right: 0.25rem;
|
|
130
|
+
width: 16px;
|
|
131
|
+
|
|
132
|
+
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
133
|
+
height: 20px;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
input {
|
|
139
|
+
box-shadow: 0 0 0 2px get-color(error);
|
|
140
|
+
background-color: get-color(error, error-3);
|
|
141
|
+
|
|
142
|
+
&:active,
|
|
143
|
+
&:focus {
|
|
144
|
+
box-shadow: 0 0 0 2px get-color(primary);
|
|
145
|
+
outline: none;
|
|
146
|
+
background-color: get-color(neutral, neutral-6);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.input-icon {
|
|
152
|
+
position: absolute;
|
|
153
|
+
transform: translate(-15%, -65%);
|
|
154
|
+
right: 0;
|
|
155
|
+
bottom: 0;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.input-icon-password {
|
|
159
|
+
cursor: pointer;
|
|
160
|
+
position: absolute;
|
|
161
|
+
transform: translate(-40%, -65%);
|
|
162
|
+
right: 0;
|
|
163
|
+
bottom: 0;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.formgroup--input__button {
|
|
167
|
+
align-self: flex-start;
|
|
168
|
+
font-size: 0.75rem;
|
|
169
|
+
padding: 0.25rem 0;
|
|
170
|
+
|
|
171
|
+
&:hover {
|
|
172
|
+
background-color: transparent;
|
|
173
|
+
text-decoration: underline;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { NumericFormat } from 'react-number-format'
|
|
2
|
+
import React from 'react'
|
|
3
|
+
import classNames from 'classnames'
|
|
4
|
+
|
|
5
|
+
import { Input } from './Input'
|
|
6
|
+
import { TextInputLabel } from './TextInputLabel'
|
|
7
|
+
import { TextInputMessage } from './TextInputMessage'
|
|
8
|
+
import { type TextInputProps } from './TextInputProps.types'
|
|
9
|
+
import { TextInputTooltip } from './TextInputTooltip'
|
|
10
|
+
// import './TextInput.scss'
|
|
11
|
+
|
|
12
|
+
const TextInput = React.forwardRef<HTMLInputElement, TextInputProps>(
|
|
13
|
+
(
|
|
14
|
+
{
|
|
15
|
+
label,
|
|
16
|
+
value,
|
|
17
|
+
validate = true,
|
|
18
|
+
isValidGroup = true,
|
|
19
|
+
mask = ' ',
|
|
20
|
+
format = undefined,
|
|
21
|
+
name,
|
|
22
|
+
placeholder,
|
|
23
|
+
onChange,
|
|
24
|
+
onClick,
|
|
25
|
+
onBlur,
|
|
26
|
+
onKeyDown,
|
|
27
|
+
onKeyUp,
|
|
28
|
+
disabled,
|
|
29
|
+
type = 'text',
|
|
30
|
+
maxLength,
|
|
31
|
+
errorMessage = '',
|
|
32
|
+
notes,
|
|
33
|
+
dialogMenuTip,
|
|
34
|
+
tooltip = '',
|
|
35
|
+
givenClass = '',
|
|
36
|
+
children
|
|
37
|
+
}: TextInputProps,
|
|
38
|
+
ref
|
|
39
|
+
) => {
|
|
40
|
+
const classnames = classNames('e-text', {
|
|
41
|
+
[givenClass]: givenClass,
|
|
42
|
+
'e-text--is-invalid': !validate,
|
|
43
|
+
'e-text--group-invalid': !isValidGroup
|
|
44
|
+
})
|
|
45
|
+
|
|
46
|
+
const handleChange = (event: React.ChangeEvent<HTMLInputElement>): void => {
|
|
47
|
+
onChange?.(event)
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
const handleKeyDown = (event: React.KeyboardEvent<HTMLInputElement>): void => {
|
|
51
|
+
onKeyDown?.(event)
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
const handleKeyUp = (event: React.KeyboardEvent<HTMLInputElement>): void => {
|
|
55
|
+
onKeyUp?.(event)
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
const renderInput = (): React.JSX.Element => {
|
|
59
|
+
if (Boolean(format) && type !== 'number' && type !== 'tel') {
|
|
60
|
+
return (
|
|
61
|
+
<NumericFormat
|
|
62
|
+
name={name}
|
|
63
|
+
id={name}
|
|
64
|
+
placeholder={placeholder}
|
|
65
|
+
className='e-text-input'
|
|
66
|
+
// mask={mask}
|
|
67
|
+
// format={format}
|
|
68
|
+
onChange={onChange}
|
|
69
|
+
onClick={onClick}
|
|
70
|
+
// maskchar={null}
|
|
71
|
+
value={value}
|
|
72
|
+
data-qa={name}
|
|
73
|
+
disabled={disabled}
|
|
74
|
+
maxLength={maxLength}
|
|
75
|
+
onBlur={onBlur}
|
|
76
|
+
/>
|
|
77
|
+
)
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
return (
|
|
81
|
+
<Input
|
|
82
|
+
name={name ?? ''}
|
|
83
|
+
type={type}
|
|
84
|
+
placeholder={placeholder ?? ''}
|
|
85
|
+
className='e-text-input'
|
|
86
|
+
onChange={handleChange}
|
|
87
|
+
onClick={onClick ?? (() => {})}
|
|
88
|
+
value={value}
|
|
89
|
+
data-qa={name}
|
|
90
|
+
disabled={disabled ?? false}
|
|
91
|
+
maxLength={maxLength}
|
|
92
|
+
onBlur={onBlur ?? (() => {})}
|
|
93
|
+
ref={ref}
|
|
94
|
+
onKeyDown={handleKeyDown}
|
|
95
|
+
onKeyUp={handleKeyUp}
|
|
96
|
+
/>
|
|
97
|
+
)
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
return (
|
|
101
|
+
<div className={classnames}>
|
|
102
|
+
{children !== null && <div className='e-text__children'>{children}</div>}
|
|
103
|
+
<TextInputTooltip tooltip={tooltip} />
|
|
104
|
+
<TextInputMessage errorMessage={errorMessage} validate={validate} />
|
|
105
|
+
{renderInput()}
|
|
106
|
+
<TextInputLabel label={label} htmlFor={name} notes={notes} dialogMenuTip={dialogMenuTip} />
|
|
107
|
+
</div>
|
|
108
|
+
)
|
|
109
|
+
}
|
|
110
|
+
)
|
|
111
|
+
|
|
112
|
+
export default TextInput
|
|
113
|
+
|
|
114
|
+
TextInput.displayName = 'TextInput'
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { DialogMenuIcon } from '../../atoms';
|
|
3
|
-
import './TextInput.scss';
|
|
4
3
|
export const TextInputLabel = ({ label, htmlFor, notes, dialogMenuTip = '' }) => {
|
|
5
4
|
if (label === undefined && notes === undefined)
|
|
6
5
|
return null;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React, { type FC } from 'react'
|
|
2
|
+
|
|
3
|
+
import { DialogMenuIcon } from '../../atoms'
|
|
4
|
+
|
|
5
|
+
// import './TextInput.scss'
|
|
6
|
+
|
|
7
|
+
interface TextInputLabelProps {
|
|
8
|
+
label?: string
|
|
9
|
+
htmlFor?: string
|
|
10
|
+
notes?: string
|
|
11
|
+
dialogMenuTip?: string
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const TextInputLabel: FC<TextInputLabelProps> = ({ label, htmlFor, notes, dialogMenuTip = '' }) => {
|
|
15
|
+
if (label === undefined && notes === undefined) return null
|
|
16
|
+
|
|
17
|
+
return (
|
|
18
|
+
<div className='e-text__inner'>
|
|
19
|
+
<label htmlFor={htmlFor} className={dialogMenuTip.length > 0 ? 'form-group__label-icon' : 'form-group__label'}>
|
|
20
|
+
{label}
|
|
21
|
+
{dialogMenuTip.length > 0 ? <DialogMenuIcon content={dialogMenuTip} /> : null}
|
|
22
|
+
</label>
|
|
23
|
+
{<p className='e-text__inner__notes'>{notes}</p>}
|
|
24
|
+
</div>
|
|
25
|
+
)
|
|
26
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { type FC } from 'react'
|
|
2
|
+
|
|
3
|
+
import error from '../../../../images/svg/info-error_24px_outlined.svg'
|
|
4
|
+
|
|
5
|
+
interface TextInputMessageProps {
|
|
6
|
+
errorMessage: string
|
|
7
|
+
validate: boolean
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const TextInputMessage: FC<TextInputMessageProps> = ({ validate, errorMessage }: TextInputMessageProps) => {
|
|
11
|
+
if (errorMessage.length === 0 || (errorMessage !== '' && validate)) {
|
|
12
|
+
return null
|
|
13
|
+
}
|
|
14
|
+
return (
|
|
15
|
+
<div className='e-text__error sans-serif --small'>
|
|
16
|
+
<div className='e-text__error-icon'>
|
|
17
|
+
<img src={error} alt={errorMessage} />
|
|
18
|
+
</div>
|
|
19
|
+
<div className='e-text__error-label'>{errorMessage}</div>
|
|
20
|
+
</div>
|
|
21
|
+
)
|
|
22
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface TextInputProps {
|
|
2
|
+
label?: string
|
|
3
|
+
name?: string
|
|
4
|
+
placeholder?: string
|
|
5
|
+
errorMessage?: string
|
|
6
|
+
givenClass?: string
|
|
7
|
+
tooltip?: string
|
|
8
|
+
dialogMenuTip?: string
|
|
9
|
+
mask?: string
|
|
10
|
+
format?: string
|
|
11
|
+
notes?: string
|
|
12
|
+
maxLength?: any
|
|
13
|
+
value?: any
|
|
14
|
+
type?: 'password' | 'text' | 'number' | 'tel'
|
|
15
|
+
validate?: boolean
|
|
16
|
+
isValidGroup?: boolean
|
|
17
|
+
disabled?: boolean
|
|
18
|
+
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void
|
|
19
|
+
onClick?: (e: React.MouseEvent<HTMLInputElement>) => void
|
|
20
|
+
onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void
|
|
21
|
+
onKeyDown?: (e: React.KeyboardEvent<HTMLInputElement>) => void
|
|
22
|
+
onKeyUp?: (e: React.KeyboardEvent<HTMLInputElement>) => void
|
|
23
|
+
children?: React.ReactNode
|
|
24
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React, { type FC } from 'react'
|
|
2
|
+
|
|
3
|
+
interface TextInputTooltipProps {
|
|
4
|
+
tooltip: string
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export const TextInputTooltip: FC<TextInputTooltipProps> = ({ tooltip }: TextInputTooltipProps) => {
|
|
8
|
+
if (tooltip?.length === 0) return null
|
|
9
|
+
|
|
10
|
+
return <p className='tooltip-form sans-serif --small'>{tooltip}</p>
|
|
11
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { type Meta, type StoryObj } from '@storybook/react'
|
|
2
|
+
import React, { useRef } from 'react'
|
|
3
|
+
|
|
4
|
+
import TextInput from '../TextInput'
|
|
5
|
+
|
|
6
|
+
const meta: Meta<typeof TextInput> = {
|
|
7
|
+
component: TextInput,
|
|
8
|
+
title: 'Molecules/TextInput',
|
|
9
|
+
render: ({ ...args }) => {
|
|
10
|
+
const ref = useRef(null)
|
|
11
|
+
return <TextInput {...args} ref={ref} />
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export default meta
|
|
16
|
+
|
|
17
|
+
type Story = StoryObj<typeof TextInput>
|
|
18
|
+
|
|
19
|
+
export const Default: Story = {
|
|
20
|
+
args: {
|
|
21
|
+
value: '',
|
|
22
|
+
name: 'new_password',
|
|
23
|
+
placeholder: 'Minimum 8 characters',
|
|
24
|
+
label: 'New password',
|
|
25
|
+
type: 'text'
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export const Password: Story = {
|
|
30
|
+
args: {
|
|
31
|
+
name: 'password',
|
|
32
|
+
label: 'Title before the text input:',
|
|
33
|
+
value: '1234567890',
|
|
34
|
+
type: 'password'
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export const WithError: Story = {
|
|
39
|
+
args: {
|
|
40
|
+
name: 'error',
|
|
41
|
+
label: 'Title before the text input:',
|
|
42
|
+
errorMessage: 'Something went wrong',
|
|
43
|
+
validate: false
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export const WithLabel: Story = {
|
|
48
|
+
args: {
|
|
49
|
+
name: 'withlabel',
|
|
50
|
+
label: 'Title before the text input:'
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export const WithTooltip: Story = {
|
|
55
|
+
args: {
|
|
56
|
+
name: 'withtooltip',
|
|
57
|
+
tooltip: 'Here comes a tooltip'
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export const WithDialogMenu: Story = {
|
|
62
|
+
args: {
|
|
63
|
+
name: 'withdialogmenu',
|
|
64
|
+
label: 'Title before the text input:',
|
|
65
|
+
dialogMenuTip: 'Your reference number can be found in the subject line of the confirmation email.'
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export const WithNotes: Story = {
|
|
70
|
+
args: {
|
|
71
|
+
name: 'withnotes',
|
|
72
|
+
label: 'Title before the text input:',
|
|
73
|
+
notes: 'Here comes a note'
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export const WithChildren: Story = {
|
|
78
|
+
args: {
|
|
79
|
+
name: 'withchildren',
|
|
80
|
+
children: <span>test children</span>
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export const WithLabelAndChildren: Story = {
|
|
85
|
+
args: {
|
|
86
|
+
name: 'withlabelandchildren',
|
|
87
|
+
label: 'Title before the text input:',
|
|
88
|
+
children: <span>test children</span>
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export const WithTooltipAndChildren: Story = {
|
|
93
|
+
args: {
|
|
94
|
+
name: 'withtooltipandchildren',
|
|
95
|
+
tooltip: 'Here comes a tooltip',
|
|
96
|
+
children: <span>test children</span>
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export const WithDialogMenuAndChildren: Story = {
|
|
101
|
+
args: {
|
|
102
|
+
name: 'withdialogmenuandchildren',
|
|
103
|
+
label: 'Title before the text input:',
|
|
104
|
+
dialogMenuTip: 'Your reference number can be found in the subject line of the confirmation email.',
|
|
105
|
+
children: <span>test children</span>
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export const WithNotesAndChildren: Story = {
|
|
110
|
+
args: {
|
|
111
|
+
name: 'withnotesandchildren',
|
|
112
|
+
label: 'Title before the text input:',
|
|
113
|
+
notes: 'Here comes a note',
|
|
114
|
+
children: <span>test children</span>
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export const MaskInput: Story = {
|
|
119
|
+
args: {
|
|
120
|
+
name: 'cardnumber',
|
|
121
|
+
label: 'Card Number',
|
|
122
|
+
format: '#### #### #### ####',
|
|
123
|
+
placeholder: 'eg. 2111 1111 1111 1111'
|
|
124
|
+
}
|
|
125
|
+
}
|