@bloom-housing/ui-components 7.1.0 → 7.2.0
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/.storybook/constants.d.ts +3 -0
- package/dist/.storybook/constants.js +8 -0
- package/dist/.storybook/constants.js.map +1 -0
- package/dist/__tests__/actions/Button.test.d.ts +1 -0
- package/dist/__tests__/actions/Button.test.js +57 -0
- package/dist/__tests__/actions/Button.test.js.map +1 -0
- package/dist/__tests__/actions/ButtonGroup.test.d.ts +1 -0
- package/dist/__tests__/actions/ButtonGroup.test.js +23 -0
- package/dist/__tests__/actions/ButtonGroup.test.js.map +1 -0
- package/dist/__tests__/actions/ExpandableContent.test.d.ts +1 -0
- package/dist/__tests__/actions/ExpandableContent.test.js +36 -0
- package/dist/__tests__/actions/ExpandableContent.test.js.map +1 -0
- package/dist/__tests__/actions/ExpandableText.test.d.ts +1 -0
- package/dist/__tests__/actions/ExpandableText.test.js +56 -0
- package/dist/__tests__/actions/ExpandableText.test.js.map +1 -0
- package/dist/__tests__/actions/LinkButton.test.d.ts +1 -0
- package/dist/__tests__/actions/LinkButton.test.js +27 -0
- package/dist/__tests__/actions/LinkButton.test.js.map +1 -0
- package/dist/__tests__/blocks/ActionBlock.test.d.ts +1 -0
- package/dist/__tests__/blocks/ActionBlock.test.js +30 -0
- package/dist/__tests__/blocks/ActionBlock.test.js.map +1 -0
- package/dist/__tests__/blocks/Card.test.d.ts +1 -0
- package/dist/__tests__/blocks/Card.test.js +47 -0
- package/dist/__tests__/blocks/Card.test.js.map +1 -0
- package/dist/__tests__/blocks/DashBlock.test.d.ts +1 -0
- package/dist/__tests__/blocks/DashBlock.test.js +22 -0
- package/dist/__tests__/blocks/DashBlock.test.js.map +1 -0
- package/dist/__tests__/blocks/DashBlocks.test.d.ts +1 -0
- package/dist/__tests__/blocks/DashBlocks.test.js +16 -0
- package/dist/__tests__/blocks/DashBlocks.test.js.map +1 -0
- package/dist/__tests__/blocks/FormCard.test.d.ts +1 -0
- package/dist/__tests__/blocks/FormCard.test.js +23 -0
- package/dist/__tests__/blocks/FormCard.test.js.map +1 -0
- package/dist/__tests__/blocks/HousingCounselor.test.d.ts +1 -0
- package/dist/__tests__/blocks/HousingCounselor.test.js +29 -0
- package/dist/__tests__/blocks/HousingCounselor.test.js.map +1 -0
- package/dist/__tests__/blocks/ImageCard.test.d.ts +1 -0
- package/dist/__tests__/blocks/ImageCard.test.js +65 -0
- package/dist/__tests__/blocks/ImageCard.test.js.map +1 -0
- package/dist/__tests__/blocks/InfoCard.test.d.ts +1 -0
- package/dist/__tests__/blocks/InfoCard.test.js +30 -0
- package/dist/__tests__/blocks/InfoCard.test.js.map +1 -0
- package/dist/__tests__/blocks/StandardCard.test.d.ts +1 -0
- package/dist/__tests__/blocks/StandardCard.test.js +23 -0
- package/dist/__tests__/blocks/StandardCard.test.js.map +1 -0
- package/dist/__tests__/blocks/StatusBar.test.d.ts +1 -0
- package/dist/__tests__/blocks/StatusBar.test.js +27 -0
- package/dist/__tests__/blocks/StatusBar.test.js.map +1 -0
- package/dist/__tests__/blocks/StatusItem.test.d.ts +1 -0
- package/dist/__tests__/blocks/StatusItem.test.js +25 -0
- package/dist/__tests__/blocks/StatusItem.test.js.map +1 -0
- package/dist/__tests__/blocks/ViewItem.test.d.ts +1 -0
- package/dist/__tests__/blocks/ViewItem.test.js +18 -0
- package/dist/__tests__/blocks/ViewItem.test.js.map +1 -0
- package/dist/__tests__/fixtures/archer.json +1142 -0
- package/dist/__tests__/footers/ExygyFooter.test.d.ts +1 -0
- package/dist/__tests__/footers/ExygyFooter.test.js +16 -0
- package/dist/__tests__/footers/ExygyFooter.test.js.map +1 -0
- package/dist/__tests__/footers/SiteFooter.test.d.ts +1 -0
- package/dist/__tests__/footers/SiteFooter.test.js +16 -0
- package/dist/__tests__/footers/SiteFooter.test.js.map +1 -0
- package/dist/__tests__/forms/DOBField.test.d.ts +1 -0
- package/dist/__tests__/forms/DOBField.test.js +30 -0
- package/dist/__tests__/forms/DOBField.test.js.map +1 -0
- package/dist/__tests__/forms/DateField.test.d.ts +1 -0
- package/dist/__tests__/forms/DateField.test.js +29 -0
- package/dist/__tests__/forms/DateField.test.js.map +1 -0
- package/dist/__tests__/forms/Field.test.d.ts +1 -0
- package/dist/__tests__/forms/Field.test.js +52 -0
- package/dist/__tests__/forms/Field.test.js.map +1 -0
- package/dist/__tests__/forms/FieldGroup.test.d.ts +1 -0
- package/dist/__tests__/forms/FieldGroup.test.js +141 -0
- package/dist/__tests__/forms/FieldGroup.test.js.map +1 -0
- package/dist/__tests__/forms/Form.test.d.ts +1 -0
- package/dist/__tests__/forms/Form.test.js +16 -0
- package/dist/__tests__/forms/Form.test.js.map +1 -0
- package/dist/__tests__/forms/HouseholdMemberForm.test.d.ts +1 -0
- package/dist/__tests__/forms/HouseholdMemberForm.test.js +31 -0
- package/dist/__tests__/forms/HouseholdMemberForm.test.js.map +1 -0
- package/dist/__tests__/forms/HouseholdSizeField.test.d.ts +1 -0
- package/dist/__tests__/forms/HouseholdSizeField.test.js +39 -0
- package/dist/__tests__/forms/HouseholdSizeField.test.js.map +1 -0
- package/dist/__tests__/forms/MultiSelectField.test.d.ts +1 -0
- package/dist/__tests__/forms/MultiSelectField.test.js +91 -0
- package/dist/__tests__/forms/MultiSelectField.test.js.map +1 -0
- package/dist/__tests__/forms/PhoneField.test.d.ts +1 -0
- package/dist/__tests__/forms/PhoneField.test.js +32 -0
- package/dist/__tests__/forms/PhoneField.test.js.map +1 -0
- package/dist/__tests__/forms/Select.test.d.ts +1 -0
- package/dist/__tests__/forms/Select.test.js +39 -0
- package/dist/__tests__/forms/Select.test.js.map +1 -0
- package/dist/__tests__/forms/Textarea.test.d.ts +1 -0
- package/dist/__tests__/forms/Textarea.test.js +33 -0
- package/dist/__tests__/forms/Textarea.test.js.map +1 -0
- package/dist/__tests__/forms/TimeField.test.d.ts +1 -0
- package/dist/__tests__/forms/TimeField.test.js +25 -0
- package/dist/__tests__/forms/TimeField.test.js.map +1 -0
- package/dist/__tests__/headers/Hero.test.d.ts +1 -0
- package/dist/__tests__/headers/Hero.test.js +35 -0
- package/dist/__tests__/headers/Hero.test.js.map +1 -0
- package/dist/__tests__/headers/PageHeader.test.d.ts +1 -0
- package/dist/__tests__/headers/PageHeader.test.js +23 -0
- package/dist/__tests__/headers/PageHeader.test.js.map +1 -0
- package/dist/__tests__/headers/SiteHeader.test.d.ts +1 -0
- package/dist/__tests__/headers/SiteHeader.test.js +62 -0
- package/dist/__tests__/headers/SiteHeader.test.js.map +1 -0
- package/dist/__tests__/helpers/capitalize.test.d.ts +1 -0
- package/dist/__tests__/helpers/capitalize.test.js +17 -0
- package/dist/__tests__/helpers/capitalize.test.js.map +1 -0
- package/dist/__tests__/helpers/formatYesNoLabel.test.d.ts +1 -0
- package/dist/__tests__/helpers/formatYesNoLabel.test.js +14 -0
- package/dist/__tests__/helpers/formatYesNoLabel.test.js.map +1 -0
- package/dist/__tests__/helpers/getTranslationWithArguments.test.d.ts +1 -0
- package/dist/__tests__/helpers/getTranslationWithArguments.test.js +17 -0
- package/dist/__tests__/helpers/getTranslationWithArguments.test.js.map +1 -0
- package/dist/__tests__/helpers/links.test.d.ts +1 -0
- package/dist/__tests__/helpers/links.test.js +30 -0
- package/dist/__tests__/helpers/links.test.js.map +1 -0
- package/dist/__tests__/helpers/mergeDeep.test.d.ts +1 -0
- package/dist/__tests__/helpers/mergeDeep.test.js +20 -0
- package/dist/__tests__/helpers/mergeDeep.test.js.map +1 -0
- package/dist/__tests__/helpers/numberOrdinal.test.d.ts +1 -0
- package/dist/__tests__/helpers/numberOrdinal.test.js +20 -0
- package/dist/__tests__/helpers/numberOrdinal.test.js.map +1 -0
- package/dist/__tests__/icons/HeaderBadge.test.d.ts +1 -0
- package/dist/__tests__/icons/HeaderBadge.test.js +15 -0
- package/dist/__tests__/icons/HeaderBadge.test.js.map +1 -0
- package/dist/__tests__/icons/Icon.test.d.ts +1 -0
- package/dist/__tests__/icons/Icon.test.js +23 -0
- package/dist/__tests__/icons/Icon.test.js.map +1 -0
- package/dist/__tests__/lists/PreferencesList.test.d.ts +1 -0
- package/dist/__tests__/lists/PreferencesList.test.js +53 -0
- package/dist/__tests__/lists/PreferencesList.test.js.map +1 -0
- package/dist/__tests__/navigation/Breadcrumbs.test.d.ts +1 -0
- package/dist/__tests__/navigation/Breadcrumbs.test.js +25 -0
- package/dist/__tests__/navigation/Breadcrumbs.test.js.map +1 -0
- package/dist/__tests__/navigation/FooterNav.test.d.ts +1 -0
- package/dist/__tests__/navigation/FooterNav.test.js +16 -0
- package/dist/__tests__/navigation/FooterNav.test.js.map +1 -0
- package/dist/__tests__/navigation/LanguageNav.test.d.ts +1 -0
- package/dist/__tests__/navigation/LanguageNav.test.js +29 -0
- package/dist/__tests__/navigation/LanguageNav.test.js.map +1 -0
- package/dist/__tests__/navigation/ProgressNav.test.d.ts +1 -0
- package/dist/__tests__/navigation/ProgressNav.test.js +20 -0
- package/dist/__tests__/navigation/ProgressNav.test.js.map +1 -0
- package/dist/__tests__/navigation/SideNav.test.d.ts +1 -0
- package/dist/__tests__/navigation/SideNav.test.js +46 -0
- package/dist/__tests__/navigation/SideNav.test.js.map +1 -0
- package/dist/__tests__/navigation/TabNav.test.d.ts +1 -0
- package/dist/__tests__/navigation/TabNav.test.js +29 -0
- package/dist/__tests__/navigation/TabNav.test.js.map +1 -0
- package/dist/__tests__/navigation/Tabs.test.d.ts +1 -0
- package/dist/__tests__/navigation/Tabs.test.js +28 -0
- package/dist/__tests__/navigation/Tabs.test.js.map +1 -0
- package/dist/__tests__/notifications/AlertBox.test.d.ts +1 -0
- package/dist/__tests__/notifications/AlertBox.test.js +69 -0
- package/dist/__tests__/notifications/AlertBox.test.js.map +1 -0
- package/dist/__tests__/notifications/AlertNotice.test.d.ts +1 -0
- package/dist/__tests__/notifications/AlertNotice.test.js +54 -0
- package/dist/__tests__/notifications/AlertNotice.test.js.map +1 -0
- package/dist/__tests__/notifications/ApplicationStatus.test.d.ts +1 -0
- package/dist/__tests__/notifications/ApplicationStatus.test.js +40 -0
- package/dist/__tests__/notifications/ApplicationStatus.test.js.map +1 -0
- package/dist/__tests__/notifications/ErrorMessage.test.d.ts +1 -0
- package/dist/__tests__/notifications/ErrorMessage.test.js +16 -0
- package/dist/__tests__/notifications/ErrorMessage.test.js.map +1 -0
- package/dist/__tests__/notifications/SiteAlert.test.d.ts +1 -0
- package/dist/__tests__/notifications/SiteAlert.test.js +48 -0
- package/dist/__tests__/notifications/SiteAlert.test.js.map +1 -0
- package/dist/__tests__/notifications/StatusAside.test.d.ts +1 -0
- package/dist/__tests__/notifications/StatusAside.test.js +23 -0
- package/dist/__tests__/notifications/StatusAside.test.js.map +1 -0
- package/dist/__tests__/notifications/StatusMessage.test.d.ts +1 -0
- package/dist/__tests__/notifications/StatusMessage.test.js +28 -0
- package/dist/__tests__/notifications/StatusMessage.test.js.map +1 -0
- package/dist/__tests__/overlays/Drawer.test.d.ts +1 -0
- package/dist/__tests__/overlays/Drawer.test.js +29 -0
- package/dist/__tests__/overlays/Drawer.test.js.map +1 -0
- package/dist/__tests__/overlays/LoadingOverlay.test.d.ts +1 -0
- package/dist/__tests__/overlays/LoadingOverlay.test.js +23 -0
- package/dist/__tests__/overlays/LoadingOverlay.test.js.map +1 -0
- package/dist/__tests__/overlays/Modal.test.d.ts +1 -0
- package/dist/__tests__/overlays/Modal.test.js +43 -0
- package/dist/__tests__/overlays/Modal.test.js.map +1 -0
- package/dist/__tests__/page_components/AdditionalFees.test.d.ts +1 -0
- package/dist/__tests__/page_components/AdditionalFees.test.js +37 -0
- package/dist/__tests__/page_components/AdditionalFees.test.js.map +1 -0
- package/dist/__tests__/page_components/Contact.test.d.ts +1 -0
- package/dist/__tests__/page_components/Contact.test.js +41 -0
- package/dist/__tests__/page_components/Contact.test.js.map +1 -0
- package/dist/__tests__/page_components/ContactAddress.test.d.ts +1 -0
- package/dist/__tests__/page_components/ContactAddress.test.js +20 -0
- package/dist/__tests__/page_components/ContactAddress.test.js.map +1 -0
- package/dist/__tests__/page_components/ContentAccordion.test.d.ts +1 -0
- package/dist/__tests__/page_components/ContentAccordion.test.js +26 -0
- package/dist/__tests__/page_components/ContentAccordion.test.js.map +1 -0
- package/dist/__tests__/page_components/DownloadLotteryResults.test.d.ts +1 -0
- package/dist/__tests__/page_components/DownloadLotteryResults.test.js +18 -0
- package/dist/__tests__/page_components/DownloadLotteryResults.test.js.map +1 -0
- package/dist/__tests__/page_components/EventSection.test.d.ts +1 -0
- package/dist/__tests__/page_components/EventSection.test.js +28 -0
- package/dist/__tests__/page_components/EventSection.test.js.map +1 -0
- package/dist/__tests__/page_components/ExpandableSection.test.d.ts +1 -0
- package/dist/__tests__/page_components/ExpandableSection.test.js +23 -0
- package/dist/__tests__/page_components/ExpandableSection.test.js.map +1 -0
- package/dist/__tests__/page_components/GetApplication.test.d.ts +1 -0
- package/dist/__tests__/page_components/GetApplication.test.js +41 -0
- package/dist/__tests__/page_components/GetApplication.test.js.map +1 -0
- package/dist/__tests__/page_components/ListingCard.test.d.ts +1 -0
- package/dist/__tests__/page_components/ListingCard.test.js +66 -0
- package/dist/__tests__/page_components/ListingCard.test.js.map +1 -0
- package/dist/__tests__/page_components/ListingDetailHeader.test.d.ts +1 -0
- package/dist/__tests__/page_components/ListingDetailHeader.test.js +17 -0
- package/dist/__tests__/page_components/ListingDetailHeader.test.js.map +1 -0
- package/dist/__tests__/page_components/ListingMap.test.d.ts +1 -0
- package/dist/__tests__/page_components/ListingMap.test.js +19 -0
- package/dist/__tests__/page_components/ListingMap.test.js.map +1 -0
- package/dist/__tests__/page_components/ListingsGroup.test.d.ts +1 -0
- package/dist/__tests__/page_components/ListingsGroup.test.js +28 -0
- package/dist/__tests__/page_components/ListingsGroup.test.js.map +1 -0
- package/dist/__tests__/page_components/QuantityRowSection.test.d.ts +1 -0
- package/dist/__tests__/page_components/QuantityRowSection.test.js +50 -0
- package/dist/__tests__/page_components/QuantityRowSection.test.js.map +1 -0
- package/dist/__tests__/page_components/ReferralApplication.test.d.ts +1 -0
- package/dist/__tests__/page_components/ReferralApplication.test.js +20 -0
- package/dist/__tests__/page_components/ReferralApplication.test.js.map +1 -0
- package/dist/__tests__/page_components/SubmitApplication.test.d.ts +1 -0
- package/dist/__tests__/page_components/SubmitApplication.test.js +23 -0
- package/dist/__tests__/page_components/SubmitApplication.test.js.map +1 -0
- package/dist/__tests__/prototypes/FieldSection.test.d.ts +1 -0
- package/dist/__tests__/prototypes/FieldSection.test.js +24 -0
- package/dist/__tests__/prototypes/FieldSection.test.js.map +1 -0
- package/dist/__tests__/prototypes/GridItem.test.d.ts +1 -0
- package/dist/__tests__/prototypes/GridItem.test.js +23 -0
- package/dist/__tests__/prototypes/GridItem.test.js.map +1 -0
- package/dist/__tests__/prototypes/Message.test.d.ts +1 -0
- package/dist/__tests__/prototypes/Message.test.js +23 -0
- package/dist/__tests__/prototypes/Message.test.js.map +1 -0
- package/dist/__tests__/sections/ContentSection.test.d.ts +1 -0
- package/dist/__tests__/sections/ContentSection.test.js +22 -0
- package/dist/__tests__/sections/ContentSection.test.js.map +1 -0
- package/dist/__tests__/sections/FooterSection.test.d.ts +1 -0
- package/dist/__tests__/sections/FooterSection.test.js +21 -0
- package/dist/__tests__/sections/FooterSection.test.js.map +1 -0
- package/dist/__tests__/sections/GridSection.test.d.ts +1 -0
- package/dist/__tests__/sections/GridSection.test.js +29 -0
- package/dist/__tests__/sections/GridSection.test.js.map +1 -0
- package/dist/__tests__/sections/InfoCardGrid.test.d.ts +1 -0
- package/dist/__tests__/sections/InfoCardGrid.test.js +23 -0
- package/dist/__tests__/sections/InfoCardGrid.test.js.map +1 -0
- package/dist/__tests__/sections/ListSection.test.d.ts +1 -0
- package/dist/__tests__/sections/ListSection.test.js +18 -0
- package/dist/__tests__/sections/ListSection.test.js.map +1 -0
- package/dist/__tests__/sections/MarkdownSection.test.d.ts +1 -0
- package/dist/__tests__/sections/MarkdownSection.test.js +20 -0
- package/dist/__tests__/sections/MarkdownSection.test.js.map +1 -0
- package/dist/__tests__/storyshots.spec.d.ts +1 -0
- package/dist/__tests__/storyshots.spec.js +39 -0
- package/dist/__tests__/storyshots.spec.js.map +1 -0
- package/dist/__tests__/tables/AgTable.test.d.ts +1 -0
- package/dist/__tests__/tables/AgTable.test.js +197 -0
- package/dist/__tests__/tables/AgTable.test.js.map +1 -0
- package/dist/__tests__/tables/CategoryTable.test.d.ts +1 -0
- package/dist/__tests__/tables/CategoryTable.test.js +55 -0
- package/dist/__tests__/tables/CategoryTable.test.js.map +1 -0
- package/dist/__tests__/tables/GroupedTable.test.d.ts +5 -0
- package/dist/__tests__/tables/GroupedTable.test.js +69 -0
- package/dist/__tests__/tables/GroupedTable.test.js.map +1 -0
- package/dist/__tests__/tables/MinimalTable.test.d.ts +1 -0
- package/dist/__tests__/tables/MinimalTable.test.js +43 -0
- package/dist/__tests__/tables/MinimalTable.test.js.map +1 -0
- package/dist/__tests__/tables/StackedTable.test.d.ts +1 -0
- package/dist/__tests__/tables/StackedTable.test.js +47 -0
- package/dist/__tests__/tables/StackedTable.test.js.map +1 -0
- package/dist/__tests__/tables/StandardTable.test.d.ts +1 -0
- package/dist/__tests__/tables/StandardTable.test.js +83 -0
- package/dist/__tests__/tables/StandardTable.test.js.map +1 -0
- package/dist/__tests__/text/Description.test.d.ts +1 -0
- package/dist/__tests__/text/Description.test.js +29 -0
- package/dist/__tests__/text/Description.test.js.map +1 -0
- package/dist/__tests__/text/Tag.test.d.ts +1 -0
- package/dist/__tests__/text/Tag.test.js +22 -0
- package/dist/__tests__/text/Tag.test.js.map +1 -0
- package/dist/index.d.ts +133 -0
- package/dist/index.js +168 -0
- package/dist/index.js.map +1 -0
- package/dist/src/actions/Button.d.ts +29 -0
- package/dist/src/actions/Button.js +78 -0
- package/dist/src/actions/Button.js.map +1 -0
- package/dist/src/actions/Button.stories.d.ts +41 -0
- package/dist/src/actions/Button.stories.js +148 -0
- package/dist/src/actions/Button.stories.js.map +1 -0
- package/dist/src/actions/ButtonGroup.d.ts +18 -0
- package/dist/src/actions/ButtonGroup.js +26 -0
- package/dist/src/actions/ButtonGroup.js.map +1 -0
- package/dist/src/actions/ButtonGroup.stories.d.ts +20 -0
- package/dist/src/actions/ButtonGroup.stories.js +86 -0
- package/dist/src/actions/ButtonGroup.stories.js.map +1 -0
- package/dist/src/actions/ExpandableContent.d.ts +11 -0
- package/dist/src/actions/ExpandableContent.js +40 -0
- package/dist/src/actions/ExpandableContent.js.map +1 -0
- package/dist/src/actions/ExpandableContent.stories.d.ts +5 -0
- package/dist/src/actions/ExpandableContent.stories.js +35 -0
- package/dist/src/actions/ExpandableContent.stories.js.map +1 -0
- package/dist/src/actions/ExpandableText.d.ts +16 -0
- package/dist/src/actions/ExpandableText.js +66 -0
- package/dist/src/actions/ExpandableText.js.map +1 -0
- package/dist/src/actions/ExpandableText.stories.d.ts +10 -0
- package/dist/src/actions/ExpandableText.stories.js +57 -0
- package/dist/src/actions/ExpandableText.stories.js.map +1 -0
- package/dist/src/actions/LinkButton.d.ts +10 -0
- package/dist/src/actions/LinkButton.js +50 -0
- package/dist/src/actions/LinkButton.js.map +1 -0
- package/dist/src/actions/LinkButton.stories.d.ts +12 -0
- package/dist/src/actions/LinkButton.stories.js +49 -0
- package/dist/src/actions/LinkButton.stories.js.map +1 -0
- package/dist/src/actions/LocalizedLink.d.ts +4 -0
- package/dist/src/actions/LocalizedLink.js +47 -0
- package/dist/src/actions/LocalizedLink.js.map +1 -0
- package/dist/src/actions/Video.d.ts +13 -0
- package/dist/src/actions/Video.js +23 -0
- package/dist/src/actions/Video.js.map +1 -0
- package/dist/src/blocks/ActionBlock.d.ts +22 -0
- package/dist/src/blocks/ActionBlock.js +40 -0
- package/dist/src/blocks/ActionBlock.js.map +1 -0
- package/dist/src/blocks/ActionBlock.stories.d.ts +11 -0
- package/dist/src/blocks/ActionBlock.stories.js +67 -0
- package/dist/src/blocks/ActionBlock.stories.js.map +1 -0
- package/dist/src/blocks/Card.d.ts +39 -0
- package/dist/src/blocks/Card.js +47 -0
- package/dist/src/blocks/Card.js.map +1 -0
- package/dist/src/blocks/Card.stories.d.ts +18 -0
- package/dist/src/blocks/Card.stories.js +88 -0
- package/dist/src/blocks/Card.stories.js.map +1 -0
- package/dist/src/blocks/DashBlock.d.ts +12 -0
- package/dist/src/blocks/DashBlock.js +54 -0
- package/dist/src/blocks/DashBlock.js.map +1 -0
- package/dist/src/blocks/DashBlocks.d.ts +6 -0
- package/dist/src/blocks/DashBlocks.js +12 -0
- package/dist/src/blocks/DashBlocks.js.map +1 -0
- package/dist/src/blocks/DashBlocks.stories.d.ts +5 -0
- package/dist/src/blocks/DashBlocks.stories.js +22 -0
- package/dist/src/blocks/DashBlocks.stories.js.map +1 -0
- package/dist/src/blocks/FormCard.d.ts +13 -0
- package/dist/src/blocks/FormCard.js +42 -0
- package/dist/src/blocks/FormCard.js.map +1 -0
- package/dist/src/blocks/HousingCounselor.d.ts +15 -0
- package/dist/src/blocks/HousingCounselor.js +52 -0
- package/dist/src/blocks/HousingCounselor.js.map +1 -0
- package/dist/src/blocks/HousingCounselor.stories.d.ts +7 -0
- package/dist/src/blocks/HousingCounselor.stories.js +38 -0
- package/dist/src/blocks/HousingCounselor.stories.js.map +1 -0
- package/dist/src/blocks/ImageCard.d.ts +55 -0
- package/dist/src/blocks/ImageCard.js +108 -0
- package/dist/src/blocks/ImageCard.js.map +1 -0
- package/dist/src/blocks/ImageCard.stories.d.ts +29 -0
- package/dist/src/blocks/ImageCard.stories.js +136 -0
- package/dist/src/blocks/ImageCard.stories.js.map +1 -0
- package/dist/src/blocks/InfoCard.d.ts +11 -0
- package/dist/src/blocks/InfoCard.js +48 -0
- package/dist/src/blocks/InfoCard.js.map +1 -0
- package/dist/src/blocks/InfoCard.stories.d.ts +18 -0
- package/dist/src/blocks/InfoCard.stories.js +31 -0
- package/dist/src/blocks/InfoCard.stories.js.map +1 -0
- package/dist/src/blocks/MediaCard.d.ts +11 -0
- package/dist/src/blocks/MediaCard.js +47 -0
- package/dist/src/blocks/MediaCard.js.map +1 -0
- package/dist/src/blocks/MediaCard.stories.d.ts +18 -0
- package/dist/src/blocks/MediaCard.stories.js +52 -0
- package/dist/src/blocks/MediaCard.stories.js.map +1 -0
- package/dist/src/blocks/StandardCard.d.ts +11 -0
- package/dist/src/blocks/StandardCard.js +20 -0
- package/dist/src/blocks/StandardCard.js.map +1 -0
- package/dist/src/blocks/StandardCard.stories.d.ts +19 -0
- package/dist/src/blocks/StandardCard.stories.js +42 -0
- package/dist/src/blocks/StandardCard.stories.js.map +1 -0
- package/dist/src/blocks/StatusBar.d.ts +10 -0
- package/dist/src/blocks/StatusBar.js +42 -0
- package/dist/src/blocks/StatusBar.js.map +1 -0
- package/dist/src/blocks/StatusBar.stories.d.ts +7 -0
- package/dist/src/blocks/StatusBar.stories.js +22 -0
- package/dist/src/blocks/StatusBar.stories.js.map +1 -0
- package/dist/src/blocks/StatusItem.d.ts +20 -0
- package/dist/src/blocks/StatusItem.js +64 -0
- package/dist/src/blocks/StatusItem.js.map +1 -0
- package/dist/src/blocks/StatusItem.stories.d.ts +6 -0
- package/dist/src/blocks/StatusItem.stories.js +16 -0
- package/dist/src/blocks/StatusItem.stories.js.map +1 -0
- package/dist/src/blocks/ViewItem.d.ts +15 -0
- package/dist/src/blocks/ViewItem.js +47 -0
- package/dist/src/blocks/ViewItem.js.map +1 -0
- package/dist/src/blocks/ViewItem.stories.d.ts +8 -0
- package/dist/src/blocks/ViewItem.stories.js +19 -0
- package/dist/src/blocks/ViewItem.stories.js.map +1 -0
- package/dist/src/config/NavigationContext.d.ts +24 -0
- package/dist/src/config/NavigationContext.js +53 -0
- package/dist/src/config/NavigationContext.js.map +1 -0
- package/dist/src/config/index.d.ts +1 -0
- package/dist/src/config/index.js +18 -0
- package/dist/src/config/index.js.map +1 -0
- package/dist/src/documentation/Utilities.d.ts +2 -0
- package/dist/src/documentation/Utilities.js +71 -0
- package/dist/src/documentation/Utilities.js.map +1 -0
- package/dist/src/footers/ExygyFooter.d.ts +2 -0
- package/dist/src/footers/ExygyFooter.js +34 -0
- package/dist/src/footers/ExygyFooter.js.map +1 -0
- package/dist/src/footers/SiteFooter.d.ts +7 -0
- package/dist/src/footers/SiteFooter.js +32 -0
- package/dist/src/footers/SiteFooter.js.map +1 -0
- package/dist/src/footers/SiteFooter.stories.d.ts +13 -0
- package/dist/src/footers/SiteFooter.stories.js +83 -0
- package/dist/src/footers/SiteFooter.stories.js.map +1 -0
- package/dist/src/forms/CloudinaryUpload.d.ts +12 -0
- package/dist/src/forms/CloudinaryUpload.js +82 -0
- package/dist/src/forms/CloudinaryUpload.js.map +1 -0
- package/dist/src/forms/DOBField.d.ts +32 -0
- package/dist/src/forms/DOBField.js +76 -0
- package/dist/src/forms/DOBField.js.map +1 -0
- package/dist/src/forms/DOBField.stories.d.ts +6 -0
- package/dist/src/forms/DOBField.stories.js +19 -0
- package/dist/src/forms/DOBField.stories.js.map +1 -0
- package/dist/src/forms/DateField.d.ts +34 -0
- package/dist/src/forms/DateField.js +64 -0
- package/dist/src/forms/DateField.js.map +1 -0
- package/dist/src/forms/DateField.stories.d.ts +6 -0
- package/dist/src/forms/DateField.stories.js +19 -0
- package/dist/src/forms/DateField.stories.js.map +1 -0
- package/dist/src/forms/Dropzone.d.ts +19 -0
- package/dist/src/forms/Dropzone.js +77 -0
- package/dist/src/forms/Dropzone.js.map +1 -0
- package/dist/src/forms/Dropzone.stories.d.ts +6 -0
- package/dist/src/forms/Dropzone.stories.js +60 -0
- package/dist/src/forms/Dropzone.stories.js.map +1 -0
- package/dist/src/forms/Field.d.ts +35 -0
- package/dist/src/forms/Field.js +116 -0
- package/dist/src/forms/Field.js.map +1 -0
- package/dist/src/forms/Field.stories.d.ts +13 -0
- package/dist/src/forms/Field.stories.js +54 -0
- package/dist/src/forms/Field.stories.js.map +1 -0
- package/dist/src/forms/FieldGroup.d.ts +41 -0
- package/dist/src/forms/FieldGroup.js +121 -0
- package/dist/src/forms/FieldGroup.js.map +1 -0
- package/dist/src/forms/FieldGroup.stories.d.ts +8 -0
- package/dist/src/forms/FieldGroup.stories.js +47 -0
- package/dist/src/forms/FieldGroup.stories.js.map +1 -0
- package/dist/src/forms/Form.d.ts +9 -0
- package/dist/src/forms/Form.js +19 -0
- package/dist/src/forms/Form.js.map +1 -0
- package/dist/src/forms/HouseholdMemberForm.d.ts +13 -0
- package/dist/src/forms/HouseholdMemberForm.js +22 -0
- package/dist/src/forms/HouseholdMemberForm.js.map +1 -0
- package/dist/src/forms/HouseholdMemberForm.stories.d.ts +7 -0
- package/dist/src/forms/HouseholdMemberForm.stories.js +40 -0
- package/dist/src/forms/HouseholdMemberForm.stories.js.map +1 -0
- package/dist/src/forms/HouseholdSizeField.d.ts +20 -0
- package/dist/src/forms/HouseholdSizeField.js +41 -0
- package/dist/src/forms/HouseholdSizeField.js.map +1 -0
- package/dist/src/forms/HouseholdSizeField.stories.d.ts +6 -0
- package/dist/src/forms/HouseholdSizeField.stories.js +44 -0
- package/dist/src/forms/HouseholdSizeField.stories.js.map +1 -0
- package/dist/src/forms/MultiSelectField.d.ts +21 -0
- package/dist/src/forms/MultiSelectField.js +117 -0
- package/dist/src/forms/MultiSelectField.js.map +1 -0
- package/dist/src/forms/MultiSelectField.stories.d.ts +18 -0
- package/dist/src/forms/MultiSelectField.stories.js +170 -0
- package/dist/src/forms/MultiSelectField.stories.js.map +1 -0
- package/dist/src/forms/PhoneField.d.ts +18 -0
- package/dist/src/forms/PhoneField.js +63 -0
- package/dist/src/forms/PhoneField.js.map +1 -0
- package/dist/src/forms/PhoneMask.d.ts +2 -0
- package/dist/src/forms/PhoneMask.js +16 -0
- package/dist/src/forms/PhoneMask.js.map +1 -0
- package/dist/src/forms/Select.d.ts +28 -0
- package/dist/src/forms/Select.js +33 -0
- package/dist/src/forms/Select.js.map +1 -0
- package/dist/src/forms/Textarea.d.ts +25 -0
- package/dist/src/forms/Textarea.js +65 -0
- package/dist/src/forms/Textarea.js.map +1 -0
- package/dist/src/forms/Textarea.stories.d.ts +12 -0
- package/dist/src/forms/Textarea.stories.js +47 -0
- package/dist/src/forms/Textarea.stories.js.map +1 -0
- package/dist/src/forms/TimeField.d.ts +39 -0
- package/dist/src/forms/TimeField.js +103 -0
- package/dist/src/forms/TimeField.js.map +1 -0
- package/dist/src/forms/TimeField.stories.d.ts +6 -0
- package/dist/src/forms/TimeField.stories.js +19 -0
- package/dist/src/forms/TimeField.stories.js.map +1 -0
- package/dist/src/forms/checkbox.stories.d.ts +6 -0
- package/dist/src/forms/checkbox.stories.js +36 -0
- package/dist/src/forms/checkbox.stories.js.map +1 -0
- package/dist/src/forms/radio.stories.d.ts +6 -0
- package/dist/src/forms/radio.stories.js +40 -0
- package/dist/src/forms/radio.stories.js.map +1 -0
- package/dist/src/global/AppearanceTypes.d.ts +33 -0
- package/dist/src/global/AppearanceTypes.js +48 -0
- package/dist/src/global/AppearanceTypes.js.map +1 -0
- package/dist/src/global/ApplicationStatusType.d.ts +7 -0
- package/dist/src/global/ApplicationStatusType.js +12 -0
- package/dist/src/global/ApplicationStatusType.js.map +1 -0
- package/dist/src/headers/HeadingGroup.d.ts +17 -0
- package/dist/src/headers/HeadingGroup.js +21 -0
- package/dist/src/headers/HeadingGroup.js.map +1 -0
- package/dist/src/headers/HeadingGroup.stories.d.ts +16 -0
- package/dist/src/headers/HeadingGroup.stories.js +33 -0
- package/dist/src/headers/HeadingGroup.stories.js.map +1 -0
- package/dist/src/headers/Hero.d.ts +19 -0
- package/dist/src/headers/Hero.js +58 -0
- package/dist/src/headers/Hero.js.map +1 -0
- package/dist/src/headers/Hero.stories.d.ts +9 -0
- package/dist/src/headers/Hero.stories.js +42 -0
- package/dist/src/headers/Hero.stories.js.map +1 -0
- package/dist/src/headers/PageHeader.d.ts +13 -0
- package/dist/src/headers/PageHeader.js +47 -0
- package/dist/src/headers/PageHeader.js.map +1 -0
- package/dist/src/headers/PageHeader.stories.d.ts +19 -0
- package/dist/src/headers/PageHeader.stories.js +62 -0
- package/dist/src/headers/PageHeader.stories.js.map +1 -0
- package/dist/src/headers/SiteHeader.d.ts +39 -0
- package/dist/src/headers/SiteHeader.js +258 -0
- package/dist/src/headers/SiteHeader.js.map +1 -0
- package/dist/src/headers/SiteHeader.stories.d.ts +19 -0
- package/dist/src/headers/SiteHeader.stories.js +273 -0
- package/dist/src/headers/SiteHeader.stories.js.map +1 -0
- package/dist/src/headers/StepHeader.d.ts +10 -0
- package/dist/src/headers/StepHeader.js +38 -0
- package/dist/src/headers/StepHeader.js.map +1 -0
- package/dist/src/headers/StepHeader.stories.d.ts +18 -0
- package/dist/src/headers/StepHeader.stories.js +63 -0
- package/dist/src/headers/StepHeader.stories.js.map +1 -0
- package/dist/src/helpers/DateFormat.d.ts +2 -0
- package/dist/src/helpers/DateFormat.js +15 -0
- package/dist/src/helpers/DateFormat.js.map +1 -0
- package/dist/src/helpers/MultiLineAddress.d.ts +15 -0
- package/dist/src/helpers/MultiLineAddress.js +53 -0
- package/dist/src/helpers/MultiLineAddress.js.map +1 -0
- package/dist/src/helpers/MultiLineAddress.stories.d.ts +9 -0
- package/dist/src/helpers/MultiLineAddress.stories.js +72 -0
- package/dist/src/helpers/MultiLineAddress.stories.js.map +1 -0
- package/dist/src/helpers/OneLineAddress.d.ts +6 -0
- package/dist/src/helpers/OneLineAddress.js +46 -0
- package/dist/src/helpers/OneLineAddress.js.map +1 -0
- package/dist/src/helpers/OneLineAddress.stories.d.ts +9 -0
- package/dist/src/helpers/OneLineAddress.stories.js +72 -0
- package/dist/src/helpers/OneLineAddress.stories.js.map +1 -0
- package/dist/src/helpers/capitalize.d.ts +1 -0
- package/dist/src/helpers/capitalize.js +13 -0
- package/dist/src/helpers/capitalize.js.map +1 -0
- package/dist/src/helpers/dateToString.d.ts +1 -0
- package/dist/src/helpers/dateToString.js +20 -0
- package/dist/src/helpers/dateToString.js.map +1 -0
- package/dist/src/helpers/debounce.d.ts +1 -0
- package/dist/src/helpers/debounce.js +21 -0
- package/dist/src/helpers/debounce.js.map +1 -0
- package/dist/src/helpers/formOptions.d.ts +10 -0
- package/dist/src/helpers/formOptions.js +51 -0
- package/dist/src/helpers/formOptions.js.map +1 -0
- package/dist/src/helpers/formatYesNoLabel.d.ts +5 -0
- package/dist/src/helpers/formatYesNoLabel.js +14 -0
- package/dist/src/helpers/formatYesNoLabel.js.map +1 -0
- package/dist/src/helpers/getTranslationWithArguments.d.ts +1 -0
- package/dist/src/helpers/getTranslationWithArguments.js +32 -0
- package/dist/src/helpers/getTranslationWithArguments.js.map +1 -0
- package/dist/src/helpers/links.d.ts +2 -0
- package/dist/src/helpers/links.js +12 -0
- package/dist/src/helpers/links.js.map +1 -0
- package/dist/src/helpers/mergeDeep.d.ts +1 -0
- package/dist/src/helpers/mergeDeep.js +17 -0
- package/dist/src/helpers/mergeDeep.js.map +1 -0
- package/dist/src/helpers/numberOrdinal.d.ts +1 -0
- package/dist/src/helpers/numberOrdinal.js +20 -0
- package/dist/src/helpers/numberOrdinal.js.map +1 -0
- package/dist/src/helpers/preferences.d.ts +12 -0
- package/dist/src/helpers/preferences.js +31 -0
- package/dist/src/helpers/preferences.js.map +1 -0
- package/dist/src/helpers/resolveObject.d.ts +1 -0
- package/dist/src/helpers/resolveObject.js +11 -0
- package/dist/src/helpers/resolveObject.js.map +1 -0
- package/dist/src/helpers/translator.d.ts +4 -0
- package/dist/src/helpers/translator.js +41 -0
- package/dist/src/helpers/translator.js.map +1 -0
- package/dist/src/helpers/useIntersect.d.ts +15 -0
- package/dist/src/helpers/useIntersect.js +37 -0
- package/dist/src/helpers/useIntersect.js.map +1 -0
- package/dist/src/helpers/useKeyPress.d.ts +2 -0
- package/dist/src/helpers/useKeyPress.js +17 -0
- package/dist/src/helpers/useKeyPress.js.map +1 -0
- package/dist/src/helpers/useMutate.d.ts +13 -0
- package/dist/src/helpers/useMutate.js +93 -0
- package/dist/src/helpers/useMutate.js.map +1 -0
- package/dist/src/helpers/useOutsideClick.d.ts +7 -0
- package/dist/src/helpers/useOutsideClick.js +20 -0
- package/dist/src/helpers/useOutsideClick.js.map +1 -0
- package/dist/src/helpers/validators.d.ts +3 -0
- package/dist/src/helpers/validators.js +7 -0
- package/dist/src/helpers/validators.js.map +1 -0
- package/dist/src/icons/FontAwesome.stories.d.ts +8 -0
- package/dist/src/icons/FontAwesome.stories.js +20 -0
- package/dist/src/icons/FontAwesome.stories.js.map +1 -0
- package/dist/src/icons/HeaderBadge.d.ts +3 -0
- package/dist/src/icons/HeaderBadge.js +42 -0
- package/dist/src/icons/HeaderBadge.js.map +1 -0
- package/dist/src/icons/HeaderBadge.stories.d.ts +5 -0
- package/dist/src/icons/HeaderBadge.stories.js +14 -0
- package/dist/src/icons/HeaderBadge.stories.js.map +1 -0
- package/dist/src/icons/Icon.d.ts +85 -0
- package/dist/src/icons/Icon.js +114 -0
- package/dist/src/icons/Icon.js.map +1 -0
- package/dist/src/icons/Icon.stories.d.ts +64 -0
- package/dist/src/icons/Icon.stories.js +132 -0
- package/dist/src/icons/Icon.stories.js.map +1 -0
- package/dist/src/icons/Icons.d.ts +64 -0
- package/dist/src/icons/Icons.js +457 -0
- package/dist/src/icons/Icons.js.map +1 -0
- package/dist/src/lists/NumberedList.stories.d.ts +5 -0
- package/dist/src/lists/NumberedList.stories.js +38 -0
- package/dist/src/lists/NumberedList.stories.js.map +1 -0
- package/dist/src/lists/PreferencesList.d.ts +17 -0
- package/dist/src/lists/PreferencesList.js +61 -0
- package/dist/src/lists/PreferencesList.js.map +1 -0
- package/dist/src/lists/PreferencesList.stories.d.ts +16 -0
- package/dist/src/lists/PreferencesList.stories.js +76 -0
- package/dist/src/lists/PreferencesList.stories.js.map +1 -0
- package/dist/src/navigation/Breadcrumbs.d.ts +12 -0
- package/dist/src/navigation/Breadcrumbs.js +17 -0
- package/dist/src/navigation/Breadcrumbs.js.map +1 -0
- package/dist/src/navigation/Breadcrumbs.stories.d.ts +6 -0
- package/dist/src/navigation/Breadcrumbs.stories.js +18 -0
- package/dist/src/navigation/Breadcrumbs.stories.js.map +1 -0
- package/dist/src/navigation/FooterNav.d.ts +8 -0
- package/dist/src/navigation/FooterNav.js +35 -0
- package/dist/src/navigation/FooterNav.js.map +1 -0
- package/dist/src/navigation/LanguageNav.d.ts +12 -0
- package/dist/src/navigation/LanguageNav.js +34 -0
- package/dist/src/navigation/LanguageNav.js.map +1 -0
- package/dist/src/navigation/LanguageNav.stories.d.ts +6 -0
- package/dist/src/navigation/LanguageNav.stories.js +27 -0
- package/dist/src/navigation/LanguageNav.stories.js.map +1 -0
- package/dist/src/navigation/ProgressNav.d.ts +13 -0
- package/dist/src/navigation/ProgressNav.js +52 -0
- package/dist/src/navigation/ProgressNav.js.map +1 -0
- package/dist/src/navigation/ProgressNav.stories.d.ts +16 -0
- package/dist/src/navigation/ProgressNav.stories.js +25 -0
- package/dist/src/navigation/ProgressNav.stories.js.map +1 -0
- package/dist/src/navigation/SideNav.d.ts +14 -0
- package/dist/src/navigation/SideNav.js +63 -0
- package/dist/src/navigation/SideNav.js.map +1 -0
- package/dist/src/navigation/SideNav.stories.d.ts +19 -0
- package/dist/src/navigation/SideNav.stories.js +60 -0
- package/dist/src/navigation/SideNav.stories.js.map +1 -0
- package/dist/src/navigation/TabNav.d.ts +16 -0
- package/dist/src/navigation/TabNav.js +41 -0
- package/dist/src/navigation/TabNav.js.map +1 -0
- package/dist/src/navigation/TabNav.stories.d.ts +36 -0
- package/dist/src/navigation/TabNav.stories.js +60 -0
- package/dist/src/navigation/TabNav.stories.js.map +1 -0
- package/dist/src/navigation/Tabs.d.ts +39 -0
- package/dist/src/navigation/Tabs.js +70 -0
- package/dist/src/navigation/Tabs.js.map +1 -0
- package/dist/src/navigation/Tabs.stories.d.ts +6 -0
- package/dist/src/navigation/Tabs.stories.js +42 -0
- package/dist/src/navigation/Tabs.stories.js.map +1 -0
- package/dist/src/notifications/AlertBox.d.ts +18 -0
- package/dist/src/notifications/AlertBox.js +76 -0
- package/dist/src/notifications/AlertBox.js.map +1 -0
- package/dist/src/notifications/AlertBox.stories.d.ts +28 -0
- package/dist/src/notifications/AlertBox.stories.js +61 -0
- package/dist/src/notifications/AlertBox.stories.js.map +1 -0
- package/dist/src/notifications/AlertNotice.d.ts +12 -0
- package/dist/src/notifications/AlertNotice.js +32 -0
- package/dist/src/notifications/AlertNotice.js.map +1 -0
- package/dist/src/notifications/AlertNotice.stories.d.ts +11 -0
- package/dist/src/notifications/AlertNotice.stories.js +37 -0
- package/dist/src/notifications/AlertNotice.stories.js.map +1 -0
- package/dist/src/notifications/ApplicationStatus.d.ts +15 -0
- package/dist/src/notifications/ApplicationStatus.js +70 -0
- package/dist/src/notifications/ApplicationStatus.js.map +1 -0
- package/dist/src/notifications/ApplicationStatus.stories.d.ts +20 -0
- package/dist/src/notifications/ApplicationStatus.stories.js +103 -0
- package/dist/src/notifications/ApplicationStatus.stories.js.map +1 -0
- package/dist/src/notifications/ErrorMessage.d.ts +8 -0
- package/dist/src/notifications/ErrorMessage.js +22 -0
- package/dist/src/notifications/ErrorMessage.js.map +1 -0
- package/dist/src/notifications/SiteAlert.d.ts +19 -0
- package/dist/src/notifications/SiteAlert.js +80 -0
- package/dist/src/notifications/SiteAlert.js.map +1 -0
- package/dist/src/notifications/StatusAside.d.ts +8 -0
- package/dist/src/notifications/StatusAside.js +15 -0
- package/dist/src/notifications/StatusAside.js.map +1 -0
- package/dist/src/notifications/StatusAside.stories.d.ts +7 -0
- package/dist/src/notifications/StatusAside.stories.js +37 -0
- package/dist/src/notifications/StatusAside.stories.js.map +1 -0
- package/dist/src/notifications/StatusMessage.d.ts +20 -0
- package/dist/src/notifications/StatusMessage.js +36 -0
- package/dist/src/notifications/StatusMessage.js.map +1 -0
- package/dist/src/notifications/StatusMessage.stories.d.ts +7 -0
- package/dist/src/notifications/StatusMessage.stories.js +20 -0
- package/dist/src/notifications/StatusMessage.stories.js.map +1 -0
- package/dist/src/notifications/alertTypes.d.ts +7 -0
- package/dist/src/notifications/alertTypes.js +10 -0
- package/dist/src/notifications/alertTypes.js.map +1 -0
- package/dist/src/overlays/Drawer.d.ts +21 -0
- package/dist/src/overlays/Drawer.js +59 -0
- package/dist/src/overlays/Drawer.js.map +1 -0
- package/dist/src/overlays/Drawer.stories.d.ts +9 -0
- package/dist/src/overlays/Drawer.stories.js +97 -0
- package/dist/src/overlays/Drawer.stories.js.map +1 -0
- package/dist/src/overlays/LoadingOverlay.d.ts +8 -0
- package/dist/src/overlays/LoadingOverlay.js +43 -0
- package/dist/src/overlays/LoadingOverlay.js.map +1 -0
- package/dist/src/overlays/LoadingOverlay.stories.d.ts +6 -0
- package/dist/src/overlays/LoadingOverlay.stories.js +21 -0
- package/dist/src/overlays/LoadingOverlay.stories.js.map +1 -0
- package/dist/src/overlays/Modal.d.ts +18 -0
- package/dist/src/overlays/Modal.js +64 -0
- package/dist/src/overlays/Modal.js.map +1 -0
- package/dist/src/overlays/Modal.stories.d.ts +24 -0
- package/dist/src/overlays/Modal.stories.js +141 -0
- package/dist/src/overlays/Modal.stories.js.map +1 -0
- package/dist/src/overlays/Overlay.d.ts +16 -0
- package/dist/src/overlays/Overlay.js +89 -0
- package/dist/src/overlays/Overlay.js.map +1 -0
- package/dist/src/page_components/ApplicationTimeline.d.ts +10 -0
- package/dist/src/page_components/ApplicationTimeline.js +25 -0
- package/dist/src/page_components/ApplicationTimeline.js.map +1 -0
- package/dist/src/page_components/NavigationHeader.d.ts +18 -0
- package/dist/src/page_components/NavigationHeader.js +65 -0
- package/dist/src/page_components/NavigationHeader.js.map +1 -0
- package/dist/src/page_components/forgot-password/FormForgotPassword.d.ts +21 -0
- package/dist/src/page_components/forgot-password/FormForgotPassword.js +59 -0
- package/dist/src/page_components/forgot-password/FormForgotPassword.js.map +1 -0
- package/dist/src/page_components/listing/AdditionalFees.d.ts +18 -0
- package/dist/src/page_components/listing/AdditionalFees.js +48 -0
- package/dist/src/page_components/listing/AdditionalFees.js.map +1 -0
- package/dist/src/page_components/listing/AdditionalFees.stories.d.ts +12 -0
- package/dist/src/page_components/listing/AdditionalFees.stories.js +100 -0
- package/dist/src/page_components/listing/AdditionalFees.stories.js.map +1 -0
- package/dist/src/page_components/listing/ContentAccordion.d.ts +16 -0
- package/dist/src/page_components/listing/ContentAccordion.js +53 -0
- package/dist/src/page_components/listing/ContentAccordion.js.map +1 -0
- package/dist/src/page_components/listing/ContentAccordion.stories.d.ts +9 -0
- package/dist/src/page_components/listing/ContentAccordion.stories.js +86 -0
- package/dist/src/page_components/listing/ContentAccordion.stories.js.map +1 -0
- package/dist/src/page_components/listing/ListingCard.d.ts +54 -0
- package/dist/src/page_components/listing/ListingCard.js +106 -0
- package/dist/src/page_components/listing/ListingCard.js.map +1 -0
- package/dist/src/page_components/listing/ListingCard.stories.d.ts +28 -0
- package/dist/src/page_components/listing/ListingCard.stories.js +286 -0
- package/dist/src/page_components/listing/ListingCard.stories.js.map +1 -0
- package/dist/src/page_components/listing/ListingDetailHeader.d.ts +12 -0
- package/dist/src/page_components/listing/ListingDetailHeader.js +37 -0
- package/dist/src/page_components/listing/ListingDetailHeader.js.map +1 -0
- package/dist/src/page_components/listing/ListingDetails.d.ts +3 -0
- package/dist/src/page_components/listing/ListingDetails.js +38 -0
- package/dist/src/page_components/listing/ListingDetails.js.map +1 -0
- package/dist/src/page_components/listing/ListingMap.d.ts +23 -0
- package/dist/src/page_components/listing/ListingMap.js +123 -0
- package/dist/src/page_components/listing/ListingMap.js.map +1 -0
- package/dist/src/page_components/listing/ListingMap.stories.d.ts +5 -0
- package/dist/src/page_components/listing/ListingMap.stories.js +41 -0
- package/dist/src/page_components/listing/ListingMap.stories.js.map +1 -0
- package/dist/src/page_components/listing/ListingsGroup.d.ts +14 -0
- package/dist/src/page_components/listing/ListingsGroup.js +52 -0
- package/dist/src/page_components/listing/ListingsGroup.js.map +1 -0
- package/dist/src/page_components/listing/ListingsGroup.stories.d.ts +8 -0
- package/dist/src/page_components/listing/ListingsGroup.stories.js +48 -0
- package/dist/src/page_components/listing/ListingsGroup.stories.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/Contact.d.ts +36 -0
- package/dist/src/page_components/listing/listing_sidebar/Contact.js +68 -0
- package/dist/src/page_components/listing/listing_sidebar/Contact.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/Contact.stories.d.ts +9 -0
- package/dist/src/page_components/listing/listing_sidebar/Contact.stories.js +74 -0
- package/dist/src/page_components/listing/listing_sidebar/Contact.stories.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/ContactAddress.d.ts +10 -0
- package/dist/src/page_components/listing/listing_sidebar/ContactAddress.js +52 -0
- package/dist/src/page_components/listing/listing_sidebar/ContactAddress.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/ContactAddress.stories.d.ts +6 -0
- package/dist/src/page_components/listing/listing_sidebar/ContactAddress.stories.js +46 -0
- package/dist/src/page_components/listing/listing_sidebar/ContactAddress.stories.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/ExpandableSection.d.ts +12 -0
- package/dist/src/page_components/listing/listing_sidebar/ExpandableSection.js +50 -0
- package/dist/src/page_components/listing/listing_sidebar/ExpandableSection.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/ExpandableSection.stories.d.ts +7 -0
- package/dist/src/page_components/listing/listing_sidebar/ExpandableSection.stories.js +49 -0
- package/dist/src/page_components/listing/listing_sidebar/ExpandableSection.stories.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/GetApplication.d.ts +38 -0
- package/dist/src/page_components/listing/listing_sidebar/GetApplication.js +75 -0
- package/dist/src/page_components/listing/listing_sidebar/GetApplication.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/GetApplication.stories.d.ts +13 -0
- package/dist/src/page_components/listing/listing_sidebar/GetApplication.stories.js +116 -0
- package/dist/src/page_components/listing/listing_sidebar/GetApplication.stories.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/ListingUpdated.d.ts +8 -0
- package/dist/src/page_components/listing/listing_sidebar/ListingUpdated.js +41 -0
- package/dist/src/page_components/listing/listing_sidebar/ListingUpdated.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/NumberedHeader.d.ts +5 -0
- package/dist/src/page_components/listing/listing_sidebar/NumberedHeader.js +33 -0
- package/dist/src/page_components/listing/listing_sidebar/NumberedHeader.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/OrDivider.d.ts +7 -0
- package/dist/src/page_components/listing/listing_sidebar/OrDivider.js +36 -0
- package/dist/src/page_components/listing/listing_sidebar/OrDivider.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/QuantityRowSection.d.ts +16 -0
- package/dist/src/page_components/listing/listing_sidebar/QuantityRowSection.js +46 -0
- package/dist/src/page_components/listing/listing_sidebar/QuantityRowSection.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/QuantityRowSection.stories.d.ts +11 -0
- package/dist/src/page_components/listing/listing_sidebar/QuantityRowSection.stories.js +96 -0
- package/dist/src/page_components/listing/listing_sidebar/QuantityRowSection.stories.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/ReferralApplication.d.ts +10 -0
- package/dist/src/page_components/listing/listing_sidebar/ReferralApplication.js +46 -0
- package/dist/src/page_components/listing/listing_sidebar/ReferralApplication.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/ReferralApplication.stories.d.ts +5 -0
- package/dist/src/page_components/listing/listing_sidebar/ReferralApplication.stories.js +41 -0
- package/dist/src/page_components/listing/listing_sidebar/ReferralApplication.stories.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/SidebarBlock.d.ts +9 -0
- package/dist/src/page_components/listing/listing_sidebar/SidebarBlock.js +37 -0
- package/dist/src/page_components/listing/listing_sidebar/SidebarBlock.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/SidebarBlock.stories.d.ts +7 -0
- package/dist/src/page_components/listing/listing_sidebar/SidebarBlock.stories.js +47 -0
- package/dist/src/page_components/listing/listing_sidebar/SidebarBlock.stories.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/SubmitApplication.d.ts +22 -0
- package/dist/src/page_components/listing/listing_sidebar/SubmitApplication.js +58 -0
- package/dist/src/page_components/listing/listing_sidebar/SubmitApplication.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/SubmitApplication.stories.d.ts +9 -0
- package/dist/src/page_components/listing/listing_sidebar/SubmitApplication.stories.js +107 -0
- package/dist/src/page_components/listing/listing_sidebar/SubmitApplication.stories.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/events/DownloadLotteryResults.d.ts +10 -0
- package/dist/src/page_components/listing/listing_sidebar/events/DownloadLotteryResults.js +40 -0
- package/dist/src/page_components/listing/listing_sidebar/events/DownloadLotteryResults.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/events/DownloadLotteryResults.stories.d.ts +6 -0
- package/dist/src/page_components/listing/listing_sidebar/events/DownloadLotteryResults.stories.js +43 -0
- package/dist/src/page_components/listing/listing_sidebar/events/DownloadLotteryResults.stories.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/events/EventSection.d.ts +16 -0
- package/dist/src/page_components/listing/listing_sidebar/events/EventSection.js +48 -0
- package/dist/src/page_components/listing/listing_sidebar/events/EventSection.js.map +1 -0
- package/dist/src/page_components/listing/listing_sidebar/events/EventSection.stories.d.ts +16 -0
- package/dist/src/page_components/listing/listing_sidebar/events/EventSection.stories.js +160 -0
- package/dist/src/page_components/listing/listing_sidebar/events/EventSection.stories.js.map +1 -0
- package/dist/src/page_components/sign-in/FormSignIn.d.ts +33 -0
- package/dist/src/page_components/sign-in/FormSignIn.js +55 -0
- package/dist/src/page_components/sign-in/FormSignIn.js.map +1 -0
- package/dist/src/page_components/sign-in/FormSignInAddPhone.d.ts +18 -0
- package/dist/src/page_components/sign-in/FormSignInAddPhone.js +30 -0
- package/dist/src/page_components/sign-in/FormSignInAddPhone.js.map +1 -0
- package/dist/src/page_components/sign-in/FormSignInErrorBox.d.ts +13 -0
- package/dist/src/page_components/sign-in/FormSignInErrorBox.js +26 -0
- package/dist/src/page_components/sign-in/FormSignInErrorBox.js.map +1 -0
- package/dist/src/page_components/sign-in/FormSignInMFACode.d.ts +19 -0
- package/dist/src/page_components/sign-in/FormSignInMFACode.js +46 -0
- package/dist/src/page_components/sign-in/FormSignInMFACode.js.map +1 -0
- package/dist/src/page_components/sign-in/FormSignInMFAType.d.ts +17 -0
- package/dist/src/page_components/sign-in/FormSignInMFAType.js +31 -0
- package/dist/src/page_components/sign-in/FormSignInMFAType.js.map +1 -0
- package/dist/src/page_components/sign-in/FormTerms.d.ts +6 -0
- package/dist/src/page_components/sign-in/FormTerms.js +31 -0
- package/dist/src/page_components/sign-in/FormTerms.js.map +1 -0
- package/dist/src/page_components/sign-in/ResendConfirmationModal.d.ts +12 -0
- package/dist/src/page_components/sign-in/ResendConfirmationModal.js +113 -0
- package/dist/src/page_components/sign-in/ResendConfirmationModal.js.map +1 -0
- package/dist/src/prototypes/AppCard.stories.d.ts +8 -0
- package/dist/src/prototypes/AppCard.stories.js +48 -0
- package/dist/src/prototypes/AppCard.stories.js.map +1 -0
- package/dist/src/prototypes/Back.stories.d.ts +7 -0
- package/dist/src/prototypes/Back.stories.js +16 -0
- package/dist/src/prototypes/Back.stories.js.map +1 -0
- package/dist/src/prototypes/ButtonGroup.stories.d.ts +8 -0
- package/dist/src/prototypes/ButtonGroup.stories.js +32 -0
- package/dist/src/prototypes/ButtonGroup.stories.js.map +1 -0
- package/dist/src/prototypes/ButtonPager.stories.d.ts +7 -0
- package/dist/src/prototypes/ButtonPager.stories.js +19 -0
- package/dist/src/prototypes/ButtonPager.stories.js.map +1 -0
- package/dist/src/prototypes/FieldSection.d.ts +11 -0
- package/dist/src/prototypes/FieldSection.js +44 -0
- package/dist/src/prototypes/FieldSection.js.map +1 -0
- package/dist/src/prototypes/FieldSection.stories.d.ts +8 -0
- package/dist/src/prototypes/FieldSection.stories.js +48 -0
- package/dist/src/prototypes/FieldSection.stories.js.map +1 -0
- package/dist/src/prototypes/GridItem.d.ts +7 -0
- package/dist/src/prototypes/GridItem.js +36 -0
- package/dist/src/prototypes/GridItem.js.map +1 -0
- package/dist/src/prototypes/GridItem.stories.d.ts +7 -0
- package/dist/src/prototypes/GridItem.stories.js +27 -0
- package/dist/src/prototypes/GridItem.stories.js.map +1 -0
- package/dist/src/prototypes/SummaryCard.stories.d.ts +8 -0
- package/dist/src/prototypes/SummaryCard.stories.js +30 -0
- package/dist/src/prototypes/SummaryCard.stories.js.map +1 -0
- package/dist/src/prototypes/Swatch.d.ts +3 -0
- package/dist/src/prototypes/Swatch.js +30 -0
- package/dist/src/prototypes/Swatch.js.map +1 -0
- package/dist/src/sections/ContentSection.d.ts +9 -0
- package/dist/src/sections/ContentSection.js +37 -0
- package/dist/src/sections/ContentSection.js.map +1 -0
- package/dist/src/sections/FooterSection.d.ts +9 -0
- package/dist/src/sections/FooterSection.js +33 -0
- package/dist/src/sections/FooterSection.js.map +1 -0
- package/dist/src/sections/GridSection.d.ts +25 -0
- package/dist/src/sections/GridSection.js +78 -0
- package/dist/src/sections/GridSection.js.map +1 -0
- package/dist/src/sections/GridSection.stories.d.ts +15 -0
- package/dist/src/sections/GridSection.stories.js +177 -0
- package/dist/src/sections/GridSection.stories.js.map +1 -0
- package/dist/src/sections/InfoCardGrid.d.ts +9 -0
- package/dist/src/sections/InfoCardGrid.js +37 -0
- package/dist/src/sections/InfoCardGrid.js.map +1 -0
- package/dist/src/sections/InfoCardGrid.stories.d.ts +6 -0
- package/dist/src/sections/InfoCardGrid.stories.js +21 -0
- package/dist/src/sections/InfoCardGrid.stories.js.map +1 -0
- package/dist/src/sections/ListSection.d.ts +9 -0
- package/dist/src/sections/ListSection.js +37 -0
- package/dist/src/sections/ListSection.js.map +1 -0
- package/dist/src/sections/MarkdownSection.d.ts +9 -0
- package/dist/src/sections/MarkdownSection.js +41 -0
- package/dist/src/sections/MarkdownSection.js.map +1 -0
- package/dist/src/sections/ResponsiveContentList.d.ts +10 -0
- package/dist/src/sections/ResponsiveContentList.js +53 -0
- package/dist/src/sections/ResponsiveContentList.js.map +1 -0
- package/dist/src/sections/ResponsiveContentList.stories.d.ts +5 -0
- package/dist/src/sections/ResponsiveContentList.stories.js +44 -0
- package/dist/src/sections/ResponsiveContentList.stories.js.map +1 -0
- package/dist/src/sections/ResponsiveWrappers.d.ts +7 -0
- package/dist/src/sections/ResponsiveWrappers.js +38 -0
- package/dist/src/sections/ResponsiveWrappers.js.map +1 -0
- package/dist/src/tables/AgPagination.d.ts +15 -0
- package/dist/src/tables/AgPagination.js +56 -0
- package/dist/src/tables/AgPagination.js.map +1 -0
- package/dist/src/tables/AgTable.d.ts +70 -0
- package/dist/src/tables/AgTable.js +156 -0
- package/dist/src/tables/AgTable.js.map +1 -0
- package/dist/src/tables/AgTable.stories.d.ts +7 -0
- package/dist/src/tables/AgTable.stories.js +62 -0
- package/dist/src/tables/AgTable.stories.js.map +1 -0
- package/dist/src/tables/CategoryTable.d.ts +13 -0
- package/dist/src/tables/CategoryTable.js +52 -0
- package/dist/src/tables/CategoryTable.js.map +1 -0
- package/dist/src/tables/CategoryTable.stories.d.ts +8 -0
- package/dist/src/tables/CategoryTable.stories.js +70 -0
- package/dist/src/tables/CategoryTable.stories.js.map +1 -0
- package/dist/src/tables/GroupedTable.d.ts +11 -0
- package/dist/src/tables/GroupedTable.js +73 -0
- package/dist/src/tables/GroupedTable.js.map +1 -0
- package/dist/src/tables/GroupedTable.stories.d.ts +6 -0
- package/dist/src/tables/GroupedTable.stories.js +32 -0
- package/dist/src/tables/GroupedTable.stories.js.map +1 -0
- package/dist/src/tables/MinimalTable.d.ts +25 -0
- package/dist/src/tables/MinimalTable.js +39 -0
- package/dist/src/tables/MinimalTable.js.map +1 -0
- package/dist/src/tables/MinimalTable.stories.d.ts +29 -0
- package/dist/src/tables/MinimalTable.stories.js +136 -0
- package/dist/src/tables/MinimalTable.stories.js.map +1 -0
- package/dist/src/tables/StackedTable.d.ts +23 -0
- package/dist/src/tables/StackedTable.js +71 -0
- package/dist/src/tables/StackedTable.js.map +1 -0
- package/dist/src/tables/StackedTable.stories.d.ts +10 -0
- package/dist/src/tables/StackedTable.stories.js +128 -0
- package/dist/src/tables/StackedTable.stories.js.map +1 -0
- package/dist/src/tables/StandardTable.d.ts +62 -0
- package/dist/src/tables/StandardTable.js +158 -0
- package/dist/src/tables/StandardTable.js.map +1 -0
- package/dist/src/tables/StandardTable.stories.d.ts +38 -0
- package/dist/src/tables/StandardTable.stories.js +111 -0
- package/dist/src/tables/StandardTable.stories.js.map +1 -0
- package/dist/src/text/Description.d.ts +10 -0
- package/dist/src/text/Description.js +54 -0
- package/dist/src/text/Description.js.map +1 -0
- package/dist/src/text/Heading.d.ts +19 -0
- package/dist/src/text/Heading.js +49 -0
- package/dist/src/text/Heading.js.map +1 -0
- package/dist/src/text/Heading.stories.d.ts +28 -0
- package/dist/src/text/Heading.stories.js +71 -0
- package/dist/src/text/Heading.stories.js.map +1 -0
- package/dist/src/text/Message.d.ts +8 -0
- package/dist/src/text/Message.js +37 -0
- package/dist/src/text/Message.js.map +1 -0
- package/dist/src/text/Message.stories.d.ts +7 -0
- package/dist/src/text/Message.stories.js +37 -0
- package/dist/src/text/Message.stories.js.map +1 -0
- package/dist/src/text/Tag.d.ts +11 -0
- package/dist/src/text/Tag.js +43 -0
- package/dist/src/text/Tag.js.map +1 -0
- package/dist/src/text/Tag.stories.d.ts +24 -0
- package/dist/src/text/Tag.stories.js +92 -0
- package/dist/src/text/Tag.stories.js.map +1 -0
- package/dist/tailwind.config.d.ts +122 -0
- package/dist/tailwind.config.js +124 -0
- package/dist/tailwind.config.js.map +1 -0
- package/package.json +35 -12
- package/src/actions/Button.stories.tsx +234 -0
- package/src/actions/ButtonGroup.stories.tsx +85 -0
- package/src/actions/ExpandableContent.stories.tsx +15 -0
- package/src/actions/ExpandableText.stories.tsx +71 -0
- package/src/actions/LinkButton.stories.tsx +54 -0
- package/src/blocks/ActionBlock.stories.tsx +121 -0
- package/src/blocks/Card.docs.mdx +3 -3
- package/src/blocks/Card.stories.tsx +182 -0
- package/src/blocks/DashBlocks.stories.tsx +39 -0
- package/src/blocks/HousingCounselor.stories.tsx +26 -0
- package/src/blocks/ImageCard.stories.tsx +179 -0
- package/src/blocks/InfoCard.stories.tsx +56 -0
- package/src/blocks/MediaCard.stories.tsx +36 -0
- package/src/blocks/StandardCard.stories.tsx +74 -0
- package/src/blocks/StatusBar.stories.tsx +29 -0
- package/src/blocks/StatusItem.stories.tsx +26 -0
- package/src/blocks/ViewItem.stories.tsx +16 -0
- package/src/footers/SiteFooter.stories.tsx +91 -0
- package/src/forms/DOBField.stories.tsx +25 -0
- package/src/forms/DateField.stories.tsx +24 -0
- package/src/forms/Dropzone.stories.tsx +53 -0
- package/src/forms/Dropzone.tsx +1 -1
- package/src/forms/Field.stories.tsx +119 -0
- package/src/forms/FieldGroup.stories.tsx +78 -0
- package/src/forms/HouseholdMemberForm.stories.tsx +27 -0
- package/src/forms/HouseholdSizeField.stories.tsx +26 -0
- package/src/forms/MultiSelectField.stories.tsx +150 -0
- package/src/forms/Textarea.stories.tsx +29 -0
- package/src/forms/TimeField.stories.tsx +24 -0
- package/src/forms/checkbox.stories.tsx +13 -0
- package/src/forms/radio.stories.tsx +19 -0
- package/src/headers/HeadingGroup.stories.tsx +49 -0
- package/src/headers/Hero.stories.tsx +52 -0
- package/src/headers/PageHeader.stories.tsx +55 -0
- package/src/headers/SiteHeader.stories.tsx +394 -0
- package/src/headers/StepHeader.stories.tsx +54 -0
- package/src/helpers/DateFormat.ts +11 -0
- package/src/helpers/MultiLineAddress.stories.tsx +59 -0
- package/src/helpers/OneLineAddress.stories.tsx +59 -0
- package/src/helpers/preferences.tsx +13 -13
- package/src/helpers/useOutsideClick.ts +1 -1
- package/src/icons/FontAwesome.stories.tsx +12 -0
- package/src/icons/HeaderBadge.stories.tsx +8 -0
- package/src/icons/Icon.stories.tsx +67 -0
- package/src/lists/NumberedList.stories.tsx +15 -0
- package/src/lists/PreferencesList.stories.tsx +48 -0
- package/src/locales/es.json +2 -4
- package/src/locales/general.json +1 -3
- package/src/locales/tl.json +1 -3
- package/src/locales/vi.json +2 -4
- package/src/locales/zh.json +3 -5
- package/src/navigation/Breadcrumbs.stories.tsx +18 -0
- package/src/navigation/LanguageNav.stories.tsx +27 -0
- package/src/navigation/ProgressNav.stories.tsx +34 -0
- package/src/navigation/ProgressNav.tsx +1 -1
- package/src/navigation/SideNav.stories.tsx +77 -0
- package/src/navigation/TabNav.stories.tsx +68 -0
- package/src/navigation/Tabs.stories.tsx +60 -0
- package/src/notifications/AlertBox.stories.tsx +112 -0
- package/src/notifications/AlertNotice.stories.tsx +86 -0
- package/src/notifications/ApplicationStatus.stories.tsx +176 -0
- package/src/notifications/StatusAside.stories.tsx +75 -0
- package/src/notifications/StatusMessage.stories.tsx +22 -0
- package/src/overlays/Drawer.stories.tsx +154 -0
- package/src/overlays/LoadingOverlay.stories.tsx +22 -0
- package/src/overlays/Modal.stories.tsx +339 -0
- package/src/overlays/Overlay.tsx +1 -1
- package/src/page_components/NavigationHeader.tsx +31 -31
- package/src/page_components/forgot-password/FormForgotPassword.tsx +42 -29
- package/src/page_components/listing/AdditionalFees.stories.tsx +113 -0
- package/src/page_components/listing/ContentAccordion.stories.tsx +102 -0
- package/src/page_components/listing/ListingCard.stories.tsx +410 -0
- package/src/page_components/listing/ListingMap.stories.tsx +14 -0
- package/src/page_components/listing/ListingMap.tsx +1 -1
- package/src/page_components/listing/ListingsGroup.stories.tsx +62 -0
- package/src/page_components/listing/listing_sidebar/Contact.stories.tsx +91 -0
- package/src/page_components/listing/listing_sidebar/ContactAddress.stories.tsx +22 -0
- package/src/page_components/listing/listing_sidebar/ExpandableSection.stories.tsx +36 -0
- package/src/page_components/listing/listing_sidebar/GetApplication.stories.tsx +178 -0
- package/src/page_components/listing/listing_sidebar/QuantityRowSection.stories.tsx +91 -0
- package/src/page_components/listing/listing_sidebar/ReferralApplication.stories.tsx +21 -0
- package/src/page_components/listing/listing_sidebar/SidebarBlock.stories.tsx +29 -0
- package/src/page_components/listing/listing_sidebar/SubmitApplication.stories.tsx +105 -0
- package/src/page_components/listing/listing_sidebar/events/DownloadLotteryResults.stories.tsx +22 -0
- package/src/page_components/listing/listing_sidebar/events/EventSection.stories.tsx +139 -0
- package/src/page_components/sign-in/FormSignIn.tsx +50 -39
- package/src/page_components/sign-in/FormSignInAddPhone.tsx +32 -24
- package/src/page_components/sign-in/FormSignInErrorBox.tsx +32 -18
- package/src/page_components/sign-in/FormSignInMFACode.tsx +32 -23
- package/src/page_components/sign-in/FormSignInMFAType.tsx +25 -21
- package/src/page_components/sign-in/FormTerms.tsx +23 -16
- package/src/page_components/sign-in/ResendConfirmationModal.tsx +30 -28
- package/src/prototypes/AppCard.stories.tsx +81 -0
- package/src/prototypes/Back.stories.tsx +14 -0
- package/src/prototypes/ButtonGroup.stories.tsx +53 -0
- package/src/prototypes/ButtonPager.stories.tsx +19 -0
- package/src/prototypes/FieldSection.stories.tsx +73 -0
- package/src/prototypes/GridItem.stories.tsx +27 -0
- package/src/prototypes/SummaryCard.stories.tsx +36 -0
- package/src/sections/GridSection.stories.tsx +337 -0
- package/src/sections/InfoCardGrid.stories.tsx +55 -0
- package/src/sections/ResponsiveContentList.stories.tsx +38 -0
- package/src/tables/AgPagination.tsx +30 -28
- package/src/tables/AgTable.stories.tsx +75 -0
- package/src/tables/CategoryTable.stories.tsx +78 -0
- package/src/tables/GroupedTable.stories.tsx +29 -0
- package/src/tables/GroupedTable.tsx +1 -1
- package/src/tables/MinimalTable.stories.tsx +122 -0
- package/src/tables/StackedTable.stories.tsx +142 -0
- package/src/tables/StandardTable.stories.tsx +109 -0
- package/src/text/Heading.stories.tsx +31 -0
- package/src/text/Message.stories.tsx +11 -0
- package/src/text/Tag.stories.tsx +146 -0
- package/.jest/setup-tests.js +0 -31
- package/CHANGELOG.md +0 -6242
- package/LICENSE.txt +0 -201
- package/index.ts +0 -168
- package/jest.config.js +0 -40
- package/netlify.toml +0 -4
- package/public/images/alameda-logo-white.svg +0 -1
- package/public/images/arrow-down.png +0 -0
- package/public/images/arrow-down.svg +0 -1
- package/public/images/check.png +0 -0
- package/public/images/check.svg +0 -11
- package/public/images/eho-logo-white.svg +0 -1
- package/public/images/eho-logo.svg +0 -1
- package/public/images/logo_glyph.svg +0 -11
- package/scripts/duplicate-translations.ts +0 -50
- package/scripts/generate-translations.ts +0 -60
- package/scripts/missing-translations.ts +0 -52
- package/scripts/reformat-strings.ts +0 -68
- package/scripts/unused-foreign-keys.ts +0 -50
- package/tailwind.config.js +0 -124
- package/tailwind.tosass.js +0 -30
- package/tsconfig.json +0 -30
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import * as React from "react"
|
|
2
|
+
import EventSection, { EventType } from "./EventSection"
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
title: "Listing Sidebar/Events/Event Section",
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export const NoFields = () => {
|
|
9
|
+
const events: EventType[] = []
|
|
10
|
+
return <EventSection events={events} headerText={"Open Houses"} />
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const TimeRange = () => {
|
|
14
|
+
const events: EventType[] = [{ dateString: "July 22, 2022", timeString: "3:00pm - 10:00pm" }]
|
|
15
|
+
return <EventSection events={events} headerText={"Open Houses"} />
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export const SingleTime = () => {
|
|
19
|
+
const events: EventType[] = [{ dateString: "December 30, 2022", timeString: "10:00am" }]
|
|
20
|
+
return <EventSection events={events} headerText={"Open Houses"} />
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export const NoTime = () => {
|
|
24
|
+
const events: EventType[] = [{ dateString: "July 22, 2022" }]
|
|
25
|
+
return <EventSection events={events} headerText={"Lottery Results"} />
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export const URL = () => {
|
|
29
|
+
const events: EventType[] = [
|
|
30
|
+
{
|
|
31
|
+
dateString: "November 22, 2022",
|
|
32
|
+
timeString: "10:00am - 11:00am",
|
|
33
|
+
linkURL: "https://www.exygy.com",
|
|
34
|
+
linkText: "See Video",
|
|
35
|
+
},
|
|
36
|
+
]
|
|
37
|
+
return <EventSection events={events} headerText={"Open Houses"} />
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export const Note = () => {
|
|
41
|
+
const events: EventType[] = [
|
|
42
|
+
{
|
|
43
|
+
dateString: "November 22, 2022",
|
|
44
|
+
timeString: "10:00am - 11:00am",
|
|
45
|
+
note:
|
|
46
|
+
"Virtual lottery (not in person). We will post a link to the virtual lottery on February 23rd. Check back then.",
|
|
47
|
+
},
|
|
48
|
+
]
|
|
49
|
+
return <EventSection events={events} headerText={"Lottery"} sectionHeader={true} />
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export const LongStrings = () => {
|
|
53
|
+
const events: EventType[] = [
|
|
54
|
+
{
|
|
55
|
+
dateString: "This is a long date string",
|
|
56
|
+
timeString: "This is a long time string",
|
|
57
|
+
},
|
|
58
|
+
]
|
|
59
|
+
return <EventSection events={events} headerText={"Open Houses"} />
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export const MultipleEvents = () => {
|
|
63
|
+
const events: EventType[] = [
|
|
64
|
+
{
|
|
65
|
+
dateString: "November 22, 2022",
|
|
66
|
+
timeString: "10:00am - 11:00am",
|
|
67
|
+
linkURL: "https://www.exygy.com",
|
|
68
|
+
linkText: "See Video",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
dateString: "November 25, 2022",
|
|
72
|
+
timeString: "5:00pm",
|
|
73
|
+
linkURL: "https://www.exygy.com",
|
|
74
|
+
linkText: "Agenda",
|
|
75
|
+
},
|
|
76
|
+
]
|
|
77
|
+
return <EventSection events={events} headerText={"Open Houses"} />
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export const PageSectionHeader = () => {
|
|
81
|
+
const events: EventType[] = [
|
|
82
|
+
{
|
|
83
|
+
dateString: "November 22, 2022",
|
|
84
|
+
timeString: "10:00am - 11:00am",
|
|
85
|
+
linkURL: "https://www.exygy.com",
|
|
86
|
+
linkText: "See Video",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
dateString: "November 25, 2022",
|
|
90
|
+
timeString: "5:00pm",
|
|
91
|
+
linkURL: "https://www.exygy.com",
|
|
92
|
+
linkText: "Agenda",
|
|
93
|
+
},
|
|
94
|
+
]
|
|
95
|
+
return <EventSection events={events} headerText={"Open Houses"} sectionHeader={true} />
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export const MultipleSections = () => {
|
|
99
|
+
const events: EventType[] = [
|
|
100
|
+
{
|
|
101
|
+
dateString: "November 22, 2022",
|
|
102
|
+
timeString: "10:00am - 11:00am",
|
|
103
|
+
note: "Event note",
|
|
104
|
+
},
|
|
105
|
+
]
|
|
106
|
+
return (
|
|
107
|
+
<>
|
|
108
|
+
<EventSection events={events} headerText={"Open Houses"} />
|
|
109
|
+
<EventSection events={events} headerText={"Informational Sessions"} />
|
|
110
|
+
</>
|
|
111
|
+
)
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export const FragmentNote = () => {
|
|
115
|
+
const note = () => {
|
|
116
|
+
return (
|
|
117
|
+
<p>
|
|
118
|
+
I'm a <a href={"https://www.exygy.com"}>fragment note</a>.
|
|
119
|
+
</p>
|
|
120
|
+
)
|
|
121
|
+
}
|
|
122
|
+
const events: EventType[] = [
|
|
123
|
+
{
|
|
124
|
+
dateString: "November 22, 2022",
|
|
125
|
+
timeString: "10:00am - 11:00am",
|
|
126
|
+
note: note(),
|
|
127
|
+
},
|
|
128
|
+
]
|
|
129
|
+
return (
|
|
130
|
+
<>
|
|
131
|
+
<EventSection events={events} headerText={"Open Houses"} />
|
|
132
|
+
</>
|
|
133
|
+
)
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export const TitleCapitalizedDate = () => {
|
|
137
|
+
const events: EventType[] = [{ dateString: "July 22, 2022" }]
|
|
138
|
+
return <EventSection events={events} headerText={"Lottery Results"} dateClassName="normal-case" />
|
|
139
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { useContext } from "react"
|
|
1
|
+
import React, { useContext } from "react";
|
|
2
2
|
import {
|
|
3
3
|
AppearanceStyleType,
|
|
4
4
|
Button,
|
|
@@ -9,47 +9,47 @@ import {
|
|
|
9
9
|
LinkButton,
|
|
10
10
|
t,
|
|
11
11
|
FormSignInErrorBox,
|
|
12
|
-
} from "
|
|
13
|
-
import type { UseFormMethods } from "react-hook-form"
|
|
14
|
-
import { NavigationContext } from "../../config/NavigationContext"
|
|
15
|
-
import { AlertTypes } from "../../notifications/alertTypes"
|
|
12
|
+
} from "../../..";
|
|
13
|
+
import type { UseFormMethods } from "react-hook-form";
|
|
14
|
+
import { NavigationContext } from "../../config/NavigationContext";
|
|
15
|
+
import { AlertTypes } from "../../notifications/alertTypes";
|
|
16
16
|
|
|
17
|
-
export type NetworkErrorDetermineError = (status: number, error: Error) => void
|
|
17
|
+
export type NetworkErrorDetermineError = (status: number, error: Error) => void;
|
|
18
18
|
|
|
19
|
-
export type NetworkStatusType = AlertTypes
|
|
19
|
+
export type NetworkStatusType = AlertTypes;
|
|
20
20
|
|
|
21
|
-
export type NetworkErrorReset = () => void
|
|
21
|
+
export type NetworkErrorReset = () => void;
|
|
22
22
|
|
|
23
23
|
export type NetworkStatusContent = {
|
|
24
|
-
title: string
|
|
25
|
-
description: string
|
|
26
|
-
error?: boolean
|
|
27
|
-
} | null
|
|
24
|
+
title: string;
|
|
25
|
+
description: string;
|
|
26
|
+
error?: boolean;
|
|
27
|
+
} | null;
|
|
28
28
|
|
|
29
29
|
export type NetworkStatus = {
|
|
30
|
-
content: NetworkStatusContent
|
|
31
|
-
type?: NetworkStatusType
|
|
32
|
-
reset: NetworkErrorReset
|
|
33
|
-
}
|
|
30
|
+
content: NetworkStatusContent;
|
|
31
|
+
type?: NetworkStatusType;
|
|
32
|
+
reset: NetworkErrorReset;
|
|
33
|
+
};
|
|
34
34
|
|
|
35
35
|
export type FormSignInProps = {
|
|
36
|
-
control: FormSignInControl
|
|
37
|
-
onSubmit: (data: FormSignInValues) => void
|
|
38
|
-
networkStatus: NetworkStatus
|
|
39
|
-
showRegisterBtn?: boolean
|
|
40
|
-
}
|
|
36
|
+
control: FormSignInControl;
|
|
37
|
+
onSubmit: (data: FormSignInValues) => void;
|
|
38
|
+
networkStatus: NetworkStatus;
|
|
39
|
+
showRegisterBtn?: boolean;
|
|
40
|
+
};
|
|
41
41
|
|
|
42
42
|
export type FormSignInControl = {
|
|
43
|
-
errors: UseFormMethods["errors"]
|
|
44
|
-
handleSubmit: UseFormMethods["handleSubmit"]
|
|
45
|
-
register: UseFormMethods["register"]
|
|
46
|
-
watch: UseFormMethods["watch"]
|
|
47
|
-
}
|
|
43
|
+
errors: UseFormMethods["errors"];
|
|
44
|
+
handleSubmit: UseFormMethods["handleSubmit"];
|
|
45
|
+
register: UseFormMethods["register"];
|
|
46
|
+
watch: UseFormMethods["watch"];
|
|
47
|
+
};
|
|
48
48
|
|
|
49
49
|
export type FormSignInValues = {
|
|
50
|
-
email: string
|
|
51
|
-
password: string
|
|
52
|
-
}
|
|
50
|
+
email: string;
|
|
51
|
+
password: string;
|
|
52
|
+
};
|
|
53
53
|
|
|
54
54
|
const FormSignIn = ({
|
|
55
55
|
onSubmit,
|
|
@@ -58,9 +58,9 @@ const FormSignIn = ({
|
|
|
58
58
|
control: { errors, register, handleSubmit },
|
|
59
59
|
}: FormSignInProps) => {
|
|
60
60
|
const onError = () => {
|
|
61
|
-
window.scrollTo(0, 0)
|
|
62
|
-
}
|
|
63
|
-
const { LinkComponent } = useContext(NavigationContext)
|
|
61
|
+
window.scrollTo(0, 0);
|
|
62
|
+
};
|
|
63
|
+
const { LinkComponent } = useContext(NavigationContext);
|
|
64
64
|
|
|
65
65
|
return (
|
|
66
66
|
<FormCard>
|
|
@@ -74,7 +74,11 @@ const FormSignIn = ({
|
|
|
74
74
|
errorMessageId={"main-sign-in"}
|
|
75
75
|
/>
|
|
76
76
|
<div className="form-card__group pt-0">
|
|
77
|
-
<Form
|
|
77
|
+
<Form
|
|
78
|
+
id="sign-in"
|
|
79
|
+
className="mt-10"
|
|
80
|
+
onSubmit={handleSubmit(onSubmit, onError)}
|
|
81
|
+
>
|
|
78
82
|
<Field
|
|
79
83
|
caps={true}
|
|
80
84
|
name="email"
|
|
@@ -105,7 +109,10 @@ const FormSignIn = ({
|
|
|
105
109
|
/>
|
|
106
110
|
|
|
107
111
|
<div className="text-center mt-6">
|
|
108
|
-
<Button
|
|
112
|
+
<Button
|
|
113
|
+
styleType={AppearanceStyleType.primary}
|
|
114
|
+
data-test-id="sign-in-button"
|
|
115
|
+
>
|
|
109
116
|
{t("nav.signIn")}
|
|
110
117
|
</Button>
|
|
111
118
|
</div>
|
|
@@ -113,13 +120,17 @@ const FormSignIn = ({
|
|
|
113
120
|
</div>
|
|
114
121
|
{showRegisterBtn && (
|
|
115
122
|
<div className="form-card__group text-center border-t">
|
|
116
|
-
<h2 className="mb-6">
|
|
123
|
+
<h2 className="mb-6">
|
|
124
|
+
{t("authentication.createAccount.noAccount")}
|
|
125
|
+
</h2>
|
|
117
126
|
|
|
118
|
-
<LinkButton href="/create-account">
|
|
127
|
+
<LinkButton href="/create-account">
|
|
128
|
+
{t("account.createAccount")}
|
|
129
|
+
</LinkButton>
|
|
119
130
|
</div>
|
|
120
131
|
)}
|
|
121
132
|
</FormCard>
|
|
122
|
-
)
|
|
123
|
-
}
|
|
133
|
+
);
|
|
134
|
+
};
|
|
124
135
|
|
|
125
|
-
export { FormSignIn as default, FormSignIn }
|
|
136
|
+
export { FormSignIn as default, FormSignIn };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from "react"
|
|
1
|
+
import React from "react";
|
|
2
2
|
import {
|
|
3
3
|
AppearanceStyleType,
|
|
4
4
|
Button,
|
|
@@ -9,26 +9,26 @@ import {
|
|
|
9
9
|
SiteAlert,
|
|
10
10
|
PhoneField,
|
|
11
11
|
FormSignInErrorBox,
|
|
12
|
-
} from "
|
|
13
|
-
import type { UseFormMethods } from "react-hook-form"
|
|
14
|
-
import { NetworkStatus } from "./FormSignIn"
|
|
12
|
+
} from "../../..";
|
|
13
|
+
import type { UseFormMethods } from "react-hook-form";
|
|
14
|
+
import { NetworkStatus } from "./FormSignIn";
|
|
15
15
|
|
|
16
16
|
export type FormSignInAddPhoneProps = {
|
|
17
|
-
control: FormSignInAddPhoneControl
|
|
18
|
-
onSubmit: (data: FormSignInAddPhoneValues) => void
|
|
19
|
-
networkError: NetworkStatus
|
|
20
|
-
phoneNumber: string
|
|
21
|
-
}
|
|
17
|
+
control: FormSignInAddPhoneControl;
|
|
18
|
+
onSubmit: (data: FormSignInAddPhoneValues) => void;
|
|
19
|
+
networkError: NetworkStatus;
|
|
20
|
+
phoneNumber: string;
|
|
21
|
+
};
|
|
22
22
|
|
|
23
23
|
export type FormSignInAddPhoneControl = {
|
|
24
|
-
errors: UseFormMethods["errors"]
|
|
25
|
-
handleSubmit: UseFormMethods["handleSubmit"]
|
|
26
|
-
control: UseFormMethods["control"]
|
|
27
|
-
}
|
|
24
|
+
errors: UseFormMethods["errors"];
|
|
25
|
+
handleSubmit: UseFormMethods["handleSubmit"];
|
|
26
|
+
control: UseFormMethods["control"];
|
|
27
|
+
};
|
|
28
28
|
|
|
29
29
|
export type FormSignInAddPhoneValues = {
|
|
30
|
-
phoneNumber: string
|
|
31
|
-
}
|
|
30
|
+
phoneNumber: string;
|
|
31
|
+
};
|
|
32
32
|
|
|
33
33
|
const FormSignInAddPhone = ({
|
|
34
34
|
onSubmit,
|
|
@@ -37,15 +37,19 @@ const FormSignInAddPhone = ({
|
|
|
37
37
|
phoneNumber,
|
|
38
38
|
}: FormSignInAddPhoneProps) => {
|
|
39
39
|
const onError = () => {
|
|
40
|
-
window.scrollTo(0, 0)
|
|
41
|
-
}
|
|
42
|
-
const { errors, handleSubmit } = control
|
|
40
|
+
window.scrollTo(0, 0);
|
|
41
|
+
};
|
|
42
|
+
const { errors, handleSubmit } = control;
|
|
43
43
|
return (
|
|
44
44
|
<FormCard>
|
|
45
45
|
<div className="form-card__lead text-center">
|
|
46
46
|
<Icon size="2xl" symbol="profile" className="form-card__header-icon" />
|
|
47
|
-
<h2 className="form-card__title is-borderless">
|
|
48
|
-
|
|
47
|
+
<h2 className="form-card__title is-borderless">
|
|
48
|
+
{t("nav.signInMFA.addNumber")}
|
|
49
|
+
</h2>
|
|
50
|
+
<p className="form-card__sub-title">
|
|
51
|
+
{t("nav.signInMFA.addNumberSecondaryTitle")}
|
|
52
|
+
</p>
|
|
49
53
|
</div>
|
|
50
54
|
<FormSignInErrorBox
|
|
51
55
|
errors={errors}
|
|
@@ -55,7 +59,11 @@ const FormSignInAddPhone = ({
|
|
|
55
59
|
|
|
56
60
|
<SiteAlert type="notice" dismissable />
|
|
57
61
|
<div className="form-card__group pt-0">
|
|
58
|
-
<Form
|
|
62
|
+
<Form
|
|
63
|
+
id="sign-in-mfa"
|
|
64
|
+
className="mt-10"
|
|
65
|
+
onSubmit={handleSubmit(onSubmit, onError)}
|
|
66
|
+
>
|
|
59
67
|
<PhoneField
|
|
60
68
|
label={t("nav.signInMFA.phoneNumber")}
|
|
61
69
|
caps={true}
|
|
@@ -81,7 +89,7 @@ const FormSignInAddPhone = ({
|
|
|
81
89
|
</Form>
|
|
82
90
|
</div>
|
|
83
91
|
</FormCard>
|
|
84
|
-
)
|
|
85
|
-
}
|
|
92
|
+
);
|
|
93
|
+
};
|
|
86
94
|
|
|
87
|
-
export { FormSignInAddPhone as default, FormSignInAddPhone }
|
|
95
|
+
export { FormSignInAddPhone as default, FormSignInAddPhone };
|
|
@@ -1,25 +1,31 @@
|
|
|
1
|
-
import React from "react"
|
|
2
|
-
import { t, AlertBox, SiteAlert, AlertNotice, ErrorMessage } from "
|
|
3
|
-
import type { UseFormMethods } from "react-hook-form"
|
|
4
|
-
import { NetworkStatus } from "./FormSignIn"
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { t, AlertBox, SiteAlert, AlertNotice, ErrorMessage } from "../../..";
|
|
3
|
+
import type { UseFormMethods } from "react-hook-form";
|
|
4
|
+
import { NetworkStatus } from "./FormSignIn";
|
|
5
5
|
|
|
6
6
|
export type FormSignInErrorBoxProps = {
|
|
7
|
-
errors: FormSignInErrorBoxControl["errors"]
|
|
8
|
-
networkStatus: NetworkStatus
|
|
9
|
-
errorMessageId: string
|
|
10
|
-
}
|
|
7
|
+
errors: FormSignInErrorBoxControl["errors"];
|
|
8
|
+
networkStatus: NetworkStatus;
|
|
9
|
+
errorMessageId: string;
|
|
10
|
+
};
|
|
11
11
|
|
|
12
12
|
export type FormSignInErrorBoxControl = {
|
|
13
|
-
errors: UseFormMethods["errors"]
|
|
14
|
-
control: UseFormMethods["control"]
|
|
15
|
-
}
|
|
13
|
+
errors: UseFormMethods["errors"];
|
|
14
|
+
control: UseFormMethods["control"];
|
|
15
|
+
};
|
|
16
16
|
|
|
17
|
-
const FormSignInErrorBox = ({
|
|
17
|
+
const FormSignInErrorBox = ({
|
|
18
|
+
networkStatus,
|
|
19
|
+
errors,
|
|
20
|
+
errorMessageId,
|
|
21
|
+
}: FormSignInErrorBoxProps) => {
|
|
18
22
|
return (
|
|
19
23
|
<div className="border-b">
|
|
20
24
|
{Object.entries(errors).length > 0 && !networkStatus.content && (
|
|
21
25
|
<AlertBox type="alert" inverted closeable>
|
|
22
|
-
{errors.authentication
|
|
26
|
+
{errors.authentication
|
|
27
|
+
? errors.authentication.message
|
|
28
|
+
: t("errors.errorsToResolve")}
|
|
23
29
|
</AlertBox>
|
|
24
30
|
)}
|
|
25
31
|
|
|
@@ -29,7 +35,11 @@ const FormSignInErrorBox = ({ networkStatus, errors, errorMessageId }: FormSignI
|
|
|
29
35
|
error={!!networkStatus.content}
|
|
30
36
|
className="block mt-0 leading-normal text-alert"
|
|
31
37
|
>
|
|
32
|
-
<AlertBox
|
|
38
|
+
<AlertBox
|
|
39
|
+
type={"alert"}
|
|
40
|
+
inverted
|
|
41
|
+
onClose={() => networkStatus.reset()}
|
|
42
|
+
>
|
|
33
43
|
{networkStatus.content.title}
|
|
34
44
|
</AlertBox>
|
|
35
45
|
|
|
@@ -41,7 +51,11 @@ const FormSignInErrorBox = ({ networkStatus, errors, errorMessageId }: FormSignI
|
|
|
41
51
|
|
|
42
52
|
{networkStatus.type === "success" && (
|
|
43
53
|
<>
|
|
44
|
-
<AlertBox
|
|
54
|
+
<AlertBox
|
|
55
|
+
type="success"
|
|
56
|
+
inverted
|
|
57
|
+
onClose={() => networkStatus.reset()}
|
|
58
|
+
>
|
|
45
59
|
{networkStatus.content?.title}
|
|
46
60
|
</AlertBox>
|
|
47
61
|
|
|
@@ -53,7 +67,7 @@ const FormSignInErrorBox = ({ networkStatus, errors, errorMessageId }: FormSignI
|
|
|
53
67
|
|
|
54
68
|
<SiteAlert type="notice" dismissable />
|
|
55
69
|
</div>
|
|
56
|
-
)
|
|
57
|
-
}
|
|
70
|
+
);
|
|
71
|
+
};
|
|
58
72
|
|
|
59
|
-
export { FormSignInErrorBox as default, FormSignInErrorBox }
|
|
73
|
+
export { FormSignInErrorBox as default, FormSignInErrorBox };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from "react"
|
|
1
|
+
import React from "react";
|
|
2
2
|
import {
|
|
3
3
|
AppearanceStyleType,
|
|
4
4
|
Button,
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
t,
|
|
10
10
|
SiteAlert,
|
|
11
11
|
FormSignInErrorBox,
|
|
12
|
-
} from "
|
|
13
|
-
import { NetworkStatus, FormSignInControl } from "./FormSignIn"
|
|
12
|
+
} from "../../..";
|
|
13
|
+
import { NetworkStatus, FormSignInControl } from "./FormSignIn";
|
|
14
14
|
|
|
15
15
|
export enum RequestType {
|
|
16
16
|
email = "email",
|
|
@@ -18,18 +18,18 @@ export enum RequestType {
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
export type FormSignInMFACodeProps = {
|
|
21
|
-
control: FormSignInControl
|
|
22
|
-
onSubmit: (data: FormSignInMFACodeValues) => void
|
|
23
|
-
networkError: NetworkStatus
|
|
24
|
-
mfaType: RequestType
|
|
25
|
-
allowPhoneNumberEdit: boolean
|
|
26
|
-
phoneNumber: string
|
|
27
|
-
goBackToPhone: () => void
|
|
28
|
-
}
|
|
21
|
+
control: FormSignInControl;
|
|
22
|
+
onSubmit: (data: FormSignInMFACodeValues) => void;
|
|
23
|
+
networkError: NetworkStatus;
|
|
24
|
+
mfaType: RequestType;
|
|
25
|
+
allowPhoneNumberEdit: boolean;
|
|
26
|
+
phoneNumber: string;
|
|
27
|
+
goBackToPhone: () => void;
|
|
28
|
+
};
|
|
29
29
|
|
|
30
30
|
export type FormSignInMFACodeValues = {
|
|
31
|
-
mfaCode: string
|
|
32
|
-
}
|
|
31
|
+
mfaCode: string;
|
|
32
|
+
};
|
|
33
33
|
|
|
34
34
|
const FormSignInMFACode = ({
|
|
35
35
|
onSubmit,
|
|
@@ -41,10 +41,10 @@ const FormSignInMFACode = ({
|
|
|
41
41
|
goBackToPhone,
|
|
42
42
|
}: FormSignInMFACodeProps) => {
|
|
43
43
|
const onError = () => {
|
|
44
|
-
window.scrollTo(0, 0)
|
|
45
|
-
}
|
|
44
|
+
window.scrollTo(0, 0);
|
|
45
|
+
};
|
|
46
46
|
|
|
47
|
-
let note
|
|
47
|
+
let note;
|
|
48
48
|
if (allowPhoneNumberEdit) {
|
|
49
49
|
note = (
|
|
50
50
|
<>
|
|
@@ -58,14 +58,16 @@ const FormSignInMFACode = ({
|
|
|
58
58
|
{t("nav.signInMFA.editPhoneNumber")}{" "}
|
|
59
59
|
</Button>
|
|
60
60
|
</>
|
|
61
|
-
)
|
|
61
|
+
);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
return (
|
|
65
65
|
<FormCard>
|
|
66
66
|
<div className="form-card__lead text-center">
|
|
67
67
|
<Icon size="2xl" symbol="profile" className="form-card__header-icon" />
|
|
68
|
-
<h2 className="form-card__title is-borderless">
|
|
68
|
+
<h2 className="form-card__title is-borderless">
|
|
69
|
+
{t("nav.signInMFA.verifyTitle")}
|
|
70
|
+
</h2>
|
|
69
71
|
<p className="form-card__sub-title">
|
|
70
72
|
{mfaType === RequestType.sms
|
|
71
73
|
? t("nav.signInMFA.haveSentCodeToPhone")
|
|
@@ -80,7 +82,11 @@ const FormSignInMFACode = ({
|
|
|
80
82
|
|
|
81
83
|
<SiteAlert type="notice" dismissable />
|
|
82
84
|
<div className="form-card__group pt-0">
|
|
83
|
-
<Form
|
|
85
|
+
<Form
|
|
86
|
+
id="sign-in-mfa"
|
|
87
|
+
className="mt-10"
|
|
88
|
+
onSubmit={handleSubmit(onSubmit, onError)}
|
|
89
|
+
>
|
|
84
90
|
<Field
|
|
85
91
|
caps={true}
|
|
86
92
|
name="mfaCode"
|
|
@@ -93,14 +99,17 @@ const FormSignInMFACode = ({
|
|
|
93
99
|
note={note}
|
|
94
100
|
/>
|
|
95
101
|
<div className="text-center mt-10">
|
|
96
|
-
<Button
|
|
102
|
+
<Button
|
|
103
|
+
styleType={AppearanceStyleType.primary}
|
|
104
|
+
data-test-id="verify-and-sign-in"
|
|
105
|
+
>
|
|
97
106
|
{t("nav.signInMFA.signIn")}
|
|
98
107
|
</Button>
|
|
99
108
|
</div>
|
|
100
109
|
</Form>
|
|
101
110
|
</div>
|
|
102
111
|
</FormCard>
|
|
103
|
-
)
|
|
104
|
-
}
|
|
112
|
+
);
|
|
113
|
+
};
|
|
105
114
|
|
|
106
|
-
export { FormSignInMFACode as default, FormSignInMFACode }
|
|
115
|
+
export { FormSignInMFACode as default, FormSignInMFACode };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React from "react"
|
|
1
|
+
import React from "react";
|
|
2
2
|
import {
|
|
3
3
|
AppearanceStyleType,
|
|
4
4
|
Button,
|
|
@@ -9,24 +9,24 @@ import {
|
|
|
9
9
|
t,
|
|
10
10
|
SiteAlert,
|
|
11
11
|
FormSignInErrorBox,
|
|
12
|
-
} from "
|
|
13
|
-
import type { UseFormMethods } from "react-hook-form"
|
|
14
|
-
import { NetworkStatus } from "./FormSignIn"
|
|
12
|
+
} from "../../..";
|
|
13
|
+
import type { UseFormMethods } from "react-hook-form";
|
|
14
|
+
import { NetworkStatus } from "./FormSignIn";
|
|
15
15
|
|
|
16
16
|
export type FormSignInMFAProps = {
|
|
17
|
-
control: FormSignInMFAControl
|
|
18
|
-
onSubmit: (data: unknown) => void
|
|
19
|
-
networkError: NetworkStatus
|
|
20
|
-
emailOnClick: () => void
|
|
21
|
-
smsOnClick: () => void
|
|
22
|
-
}
|
|
17
|
+
control: FormSignInMFAControl;
|
|
18
|
+
onSubmit: (data: unknown) => void;
|
|
19
|
+
networkError: NetworkStatus;
|
|
20
|
+
emailOnClick: () => void;
|
|
21
|
+
smsOnClick: () => void;
|
|
22
|
+
};
|
|
23
23
|
|
|
24
24
|
export type FormSignInMFAControl = {
|
|
25
|
-
errors: UseFormMethods["errors"]
|
|
26
|
-
handleSubmit: UseFormMethods["handleSubmit"]
|
|
27
|
-
register: UseFormMethods["register"]
|
|
28
|
-
setValue: UseFormMethods["setValue"]
|
|
29
|
-
}
|
|
25
|
+
errors: UseFormMethods["errors"];
|
|
26
|
+
handleSubmit: UseFormMethods["handleSubmit"];
|
|
27
|
+
register: UseFormMethods["register"];
|
|
28
|
+
setValue: UseFormMethods["setValue"];
|
|
29
|
+
};
|
|
30
30
|
|
|
31
31
|
const FormSignInMFAType = ({
|
|
32
32
|
onSubmit,
|
|
@@ -36,8 +36,8 @@ const FormSignInMFAType = ({
|
|
|
36
36
|
smsOnClick,
|
|
37
37
|
}: FormSignInMFAProps) => {
|
|
38
38
|
const onError = () => {
|
|
39
|
-
window.scrollTo(0, 0)
|
|
40
|
-
}
|
|
39
|
+
window.scrollTo(0, 0);
|
|
40
|
+
};
|
|
41
41
|
|
|
42
42
|
return (
|
|
43
43
|
<FormCard>
|
|
@@ -58,7 +58,11 @@ const FormSignInMFAType = ({
|
|
|
58
58
|
|
|
59
59
|
<SiteAlert type="notice" dismissable />
|
|
60
60
|
<div className="form-card__group pt-0">
|
|
61
|
-
<Form
|
|
61
|
+
<Form
|
|
62
|
+
id="sign-in-mfa"
|
|
63
|
+
className="mt-10"
|
|
64
|
+
onSubmit={handleSubmit(onSubmit, onError)}
|
|
65
|
+
>
|
|
62
66
|
<Field
|
|
63
67
|
caps={true}
|
|
64
68
|
name="mfaType"
|
|
@@ -92,7 +96,7 @@ const FormSignInMFAType = ({
|
|
|
92
96
|
</Form>
|
|
93
97
|
</div>
|
|
94
98
|
</FormCard>
|
|
95
|
-
)
|
|
96
|
-
}
|
|
99
|
+
);
|
|
100
|
+
};
|
|
97
101
|
|
|
98
|
-
export { FormSignInMFAType as default, FormSignInMFAType }
|
|
102
|
+
export { FormSignInMFAType as default, FormSignInMFAType };
|