@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,36 @@
|
|
|
1
|
+
import * as React from "react"
|
|
2
|
+
import { MediaCard } from "./MediaCard"
|
|
3
|
+
import { faCirclePlay } from "@fortawesome/free-solid-svg-icons"
|
|
4
|
+
import MediaCardDocumentation from "./MediaCard.docs.mdx"
|
|
5
|
+
import { BADGES } from "../../.storybook/constants"
|
|
6
|
+
|
|
7
|
+
export default {
|
|
8
|
+
title: "Blocks/Media Card 🚩",
|
|
9
|
+
id: "blocks/media-card",
|
|
10
|
+
decorators: [(storyFn: any) => <div style={{ maxWidth: "313px" }}>{storyFn()}</div>],
|
|
11
|
+
parameters: {
|
|
12
|
+
docs: {
|
|
13
|
+
page: MediaCardDocumentation,
|
|
14
|
+
},
|
|
15
|
+
badges: [BADGES.GEN2],
|
|
16
|
+
},
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const withTitleAndSubtitle = () => (
|
|
20
|
+
<MediaCard
|
|
21
|
+
title="What is Affordable Housing?"
|
|
22
|
+
subtitle="List of affordable housing opportunities, subsidized homes, and other housing resources."
|
|
23
|
+
handleClick={() => alert("Open Video")}
|
|
24
|
+
/>
|
|
25
|
+
)
|
|
26
|
+
export const withJustTitle = () => (
|
|
27
|
+
<MediaCard title="What is Affordable Housing?" handleClick={() => alert("Open Video")} />
|
|
28
|
+
)
|
|
29
|
+
export const withCustomIcon = () => (
|
|
30
|
+
<MediaCard
|
|
31
|
+
title="What is Affordable Housing?"
|
|
32
|
+
subtitle="List of affordable housing opportunities, subsidized homes, and other housing resources."
|
|
33
|
+
icon={faCirclePlay}
|
|
34
|
+
handleClick={() => alert("Open Video")}
|
|
35
|
+
/>
|
|
36
|
+
)
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import React from "react"
|
|
2
|
+
|
|
3
|
+
import { StandardCard } from "./StandardCard"
|
|
4
|
+
import { BADGES } from "../../.storybook/constants"
|
|
5
|
+
import { MinimalTable } from "../tables/MinimalTable"
|
|
6
|
+
import { mockDataWithStyling, mockHeadersWithStyling } from "../tables/MinimalTable.stories"
|
|
7
|
+
|
|
8
|
+
import { Button } from "../actions/Button"
|
|
9
|
+
import StandardCardDocumentation from "./StandardCard.docs.mdx"
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
title: "Blocks/StandardCard 🚩",
|
|
13
|
+
id: "blocks/standard-card",
|
|
14
|
+
decorators: [(storyFn: any) => <div style={{ padding: "1rem" }}>{storyFn()}</div>],
|
|
15
|
+
component: StandardCard,
|
|
16
|
+
parameters: {
|
|
17
|
+
docs: {
|
|
18
|
+
page: StandardCardDocumentation,
|
|
19
|
+
},
|
|
20
|
+
badges: [BADGES.GEN2],
|
|
21
|
+
},
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export const Blank = () => (
|
|
25
|
+
<StandardCard
|
|
26
|
+
title="Standard Card Title"
|
|
27
|
+
emptyStateMessage="Add items to edit"
|
|
28
|
+
footer={<Button>Add item</Button>}
|
|
29
|
+
/>
|
|
30
|
+
)
|
|
31
|
+
|
|
32
|
+
export const WithTable = () => (
|
|
33
|
+
<StandardCard
|
|
34
|
+
title="Standard Card Title"
|
|
35
|
+
emptyStateMessage="Add items to edit"
|
|
36
|
+
footer={<Button>Add item</Button>}
|
|
37
|
+
>
|
|
38
|
+
<div>
|
|
39
|
+
<MinimalTable headers={mockHeadersWithStyling} data={mockDataWithStyling} draggable={true} />
|
|
40
|
+
</div>
|
|
41
|
+
</StandardCard>
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
export const styleOverrides = () => {
|
|
45
|
+
const cssVarsOverride = `
|
|
46
|
+
.standard-card-overrides .standard-card {
|
|
47
|
+
--font-family: var(--bloom-font-sans);
|
|
48
|
+
--border-radius: var(--bloom-rounded-md);
|
|
49
|
+
--border-width: var(--bloom-border-4);
|
|
50
|
+
--border-color: var(--bloom-color-blue-600);
|
|
51
|
+
--title-color: var(--bloom-color-blue-600);
|
|
52
|
+
--background-color: var(--bloom-color-blue-200);
|
|
53
|
+
--blank-color: var(--bloom-color-black);
|
|
54
|
+
--blank-background: var(--bloom-color-gray-400);
|
|
55
|
+
}
|
|
56
|
+
`
|
|
57
|
+
|
|
58
|
+
return (
|
|
59
|
+
<>
|
|
60
|
+
<div className="standard-card-overrides">
|
|
61
|
+
<StandardCard
|
|
62
|
+
title="Standard Card Title"
|
|
63
|
+
emptyStateMessage="Add items to edit"
|
|
64
|
+
footer={<Button>Add item</Button>}
|
|
65
|
+
/>
|
|
66
|
+
<style>{cssVarsOverride}</style>
|
|
67
|
+
</div>
|
|
68
|
+
|
|
69
|
+
<p className="mt-12 font-semibold">Customized using the following variable overrides:</p>
|
|
70
|
+
|
|
71
|
+
<pre>{cssVarsOverride.replace(".page-header-overrides ", "")}</pre>
|
|
72
|
+
</>
|
|
73
|
+
)
|
|
74
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from "react"
|
|
2
|
+
import { Button } from "../actions/Button"
|
|
3
|
+
import { StatusBar } from "./StatusBar"
|
|
4
|
+
import { AppearanceStyleType } from "../global/AppearanceTypes"
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
title: "Blocks/Status Bar",
|
|
8
|
+
decorators: [(storyFn: any) => <div style={{ padding: "1rem" }}>{storyFn()}</div>],
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
const handleClick = (e: React.MouseEvent) => {
|
|
12
|
+
alert(`You clicked me! Event: ${e.type}`)
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const StatusBarSuccessAndBackButton = () => (
|
|
16
|
+
<StatusBar
|
|
17
|
+
backButton={
|
|
18
|
+
<Button inlineIcon="left" icon="arrowBack" onClick={handleClick}>
|
|
19
|
+
Back
|
|
20
|
+
</Button>
|
|
21
|
+
}
|
|
22
|
+
tagLabel="Submitted"
|
|
23
|
+
tagStyle={AppearanceStyleType.success}
|
|
24
|
+
/>
|
|
25
|
+
)
|
|
26
|
+
|
|
27
|
+
export const StatusBarDraft = () => (
|
|
28
|
+
<StatusBar tagLabel="Draft" tagStyle={AppearanceStyleType.primary} />
|
|
29
|
+
)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from "react"
|
|
2
|
+
import { StatusItem } from "./StatusItem"
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
title: "Blocks/Status Item",
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export const StatusItemSubmitted = () => (
|
|
9
|
+
<StatusItem
|
|
10
|
+
applicationDueDate={"March 10th, 2022"}
|
|
11
|
+
applicationURL={"application/1234abcd"}
|
|
12
|
+
applicationUpdatedAt={"March 8th, 2022"}
|
|
13
|
+
confirmationNumber={"1234abcd"}
|
|
14
|
+
listingName={"Listing Name"}
|
|
15
|
+
listingURL={"/listing/abcd1234/listing-name"}
|
|
16
|
+
/>
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
export const StatusItemNoConfirmationNumberOrDueDate = () => (
|
|
20
|
+
<StatusItem
|
|
21
|
+
applicationURL={"application/1234abcd"}
|
|
22
|
+
applicationUpdatedAt={"March 8th, 2022"}
|
|
23
|
+
listingName={"Listing Name"}
|
|
24
|
+
listingURL={"/listing/abcd1234/listing-name"}
|
|
25
|
+
/>
|
|
26
|
+
)
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react"
|
|
2
|
+
|
|
3
|
+
import { ViewItem } from "./ViewItem"
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
title: "Blocks/View Item",
|
|
7
|
+
decorators: [(storyFn: any) => <div style={{ padding: "1rem" }}>{storyFn()}</div>],
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const Default = () => <ViewItem label="Label" children="Value" helper="Helper" />
|
|
11
|
+
|
|
12
|
+
export const NoHelper = () => <ViewItem label="Address" children="1112 Springfield St." />
|
|
13
|
+
|
|
14
|
+
export const Flagged = () => (
|
|
15
|
+
<ViewItem label="Address" children="1112 Springfield St." flagged={true} />
|
|
16
|
+
)
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import * as React from "react"
|
|
2
|
+
|
|
3
|
+
import { SiteFooter } from "./SiteFooter"
|
|
4
|
+
import { FooterNav } from "../navigation/FooterNav"
|
|
5
|
+
import { LocalizedLink } from "../actions/LocalizedLink"
|
|
6
|
+
import { ExygyFooter } from "./ExygyFooter"
|
|
7
|
+
import { FooterSection } from "../sections/FooterSection"
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
title: "Footers/Site Footer",
|
|
11
|
+
parameters: {
|
|
12
|
+
componentSubtitle: "Site-wide footer, shown on every page.",
|
|
13
|
+
},
|
|
14
|
+
component: SiteFooter,
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const credits = (
|
|
18
|
+
<>
|
|
19
|
+
<p>
|
|
20
|
+
Alameda County Housing Portal is a project of the
|
|
21
|
+
<br />
|
|
22
|
+
<a href="https://www.acgov.org/cda/hcd/" target="_blank">
|
|
23
|
+
Alameda County - Housing and Community Development (HCD) Department
|
|
24
|
+
</a>
|
|
25
|
+
</p>
|
|
26
|
+
<p>
|
|
27
|
+
<img
|
|
28
|
+
className="h-16 w-16"
|
|
29
|
+
src="/images/eho-logo-white.svg"
|
|
30
|
+
alt="Equal Housing Opportunity Logo"
|
|
31
|
+
/>
|
|
32
|
+
</p>
|
|
33
|
+
</>
|
|
34
|
+
)
|
|
35
|
+
const logo = <img src="/images/alameda-logo-white.svg" alt="Alameda Logo" />
|
|
36
|
+
|
|
37
|
+
export const footer = () => (
|
|
38
|
+
<SiteFooter>
|
|
39
|
+
<FooterNav copyright="Alameda County © 2020 • All Rights Reserved">
|
|
40
|
+
<LocalizedLink href="/policy">Policy</LocalizedLink>
|
|
41
|
+
</FooterNav>
|
|
42
|
+
</SiteFooter>
|
|
43
|
+
)
|
|
44
|
+
|
|
45
|
+
export const footerManyLinks = () => (
|
|
46
|
+
<SiteFooter>
|
|
47
|
+
<FooterNav copyright="Alameda County © 2020 • All Rights Reserved">
|
|
48
|
+
<LocalizedLink href="/policy">Privacy Policy</LocalizedLink>
|
|
49
|
+
<LocalizedLink href="/policy">Get Assistance</LocalizedLink>
|
|
50
|
+
<LocalizedLink href="/policy">Give Feedback</LocalizedLink>
|
|
51
|
+
<LocalizedLink href="/policy">Contact</LocalizedLink>
|
|
52
|
+
<LocalizedLink href="/policy">About</LocalizedLink>
|
|
53
|
+
</FooterNav>
|
|
54
|
+
</SiteFooter>
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
export const overflowingLinks = () => (
|
|
58
|
+
<SiteFooter>
|
|
59
|
+
<FooterNav copyright="Alameda County © 2020 • All Rights Reserved">
|
|
60
|
+
<LocalizedLink href="/policy">Privacy Policy</LocalizedLink>
|
|
61
|
+
<LocalizedLink href="/policy">Get Assistance</LocalizedLink>
|
|
62
|
+
<LocalizedLink href="/policy">Give Feedback</LocalizedLink>
|
|
63
|
+
<LocalizedLink href="/policy">Contact</LocalizedLink>
|
|
64
|
+
<LocalizedLink href="/policy">About</LocalizedLink>
|
|
65
|
+
<LocalizedLink href="/policy">Terms and Conditions</LocalizedLink>
|
|
66
|
+
<LocalizedLink href="/policy">Careers</LocalizedLink>
|
|
67
|
+
</FooterNav>
|
|
68
|
+
</SiteFooter>
|
|
69
|
+
)
|
|
70
|
+
|
|
71
|
+
export const withLogo = () => (
|
|
72
|
+
<SiteFooter>
|
|
73
|
+
<FooterSection>{logo}</FooterSection>
|
|
74
|
+
<FooterNav copyright="Alameda County © 2020 • All Rights Reserved">
|
|
75
|
+
<LocalizedLink href="/policy">Policy</LocalizedLink>
|
|
76
|
+
</FooterNav>
|
|
77
|
+
</SiteFooter>
|
|
78
|
+
)
|
|
79
|
+
|
|
80
|
+
export const withLogoAndCredits = () => (
|
|
81
|
+
<SiteFooter>
|
|
82
|
+
<FooterSection>{logo}</FooterSection>
|
|
83
|
+
<FooterSection>{credits}</FooterSection>
|
|
84
|
+
<FooterNav copyright="Alameda County © 2020 • All Rights Reserved">
|
|
85
|
+
<LocalizedLink href="/policy">Policy</LocalizedLink>
|
|
86
|
+
</FooterNav>
|
|
87
|
+
<FooterSection className="bg-black" small>
|
|
88
|
+
<ExygyFooter />
|
|
89
|
+
</FooterSection>
|
|
90
|
+
</SiteFooter>
|
|
91
|
+
)
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react"
|
|
2
|
+
import { DOBField } from "./DOBField"
|
|
3
|
+
import { useForm } from "react-hook-form"
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
title: "Forms/Date of Birth Field",
|
|
7
|
+
decorators: [(storyFn: any) => <div style={{ padding: "1rem" }}>{storyFn()}</div>],
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const Default = () => {
|
|
11
|
+
const { register, watch, errors } = useForm({ mode: "onChange" })
|
|
12
|
+
|
|
13
|
+
return (
|
|
14
|
+
<DOBField
|
|
15
|
+
id="dateOfBirth"
|
|
16
|
+
name="dateOfBirth"
|
|
17
|
+
label="Date of Birth"
|
|
18
|
+
required={true}
|
|
19
|
+
register={register}
|
|
20
|
+
watch={watch}
|
|
21
|
+
error={errors?.dateOfBirth}
|
|
22
|
+
validateAge18={true}
|
|
23
|
+
/>
|
|
24
|
+
)
|
|
25
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from "react"
|
|
2
|
+
import { DateField } from "./DateField"
|
|
3
|
+
import { useForm } from "react-hook-form"
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
title: "Forms/Date Field",
|
|
7
|
+
decorators: [(storyFn: any) => <div style={{ padding: "1rem" }}>{storyFn()}</div>],
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const Default = () => {
|
|
11
|
+
const { register, watch, errors } = useForm({ mode: "onChange" })
|
|
12
|
+
|
|
13
|
+
return (
|
|
14
|
+
<DateField
|
|
15
|
+
id="appDueDate"
|
|
16
|
+
name="appDueDate"
|
|
17
|
+
label="Application Due Date"
|
|
18
|
+
required={true}
|
|
19
|
+
register={register}
|
|
20
|
+
watch={watch}
|
|
21
|
+
error={errors?.appDueDate}
|
|
22
|
+
/>
|
|
23
|
+
)
|
|
24
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as React from "react"
|
|
2
|
+
import { withKnobs, text } from "@storybook/addon-knobs"
|
|
3
|
+
import { CloudinaryUpload } from "./CloudinaryUpload"
|
|
4
|
+
import { Dropzone } from "./Dropzone"
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
title: "Forms/Dropzone",
|
|
8
|
+
decorators: [(storyFn: any) => <div style={{ padding: "1rem" }}>{storyFn()}</div>, withKnobs],
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export const defaultDropzone = () => {
|
|
12
|
+
const [progressValue, setProgressValue] = React.useState(0)
|
|
13
|
+
const [cloudinaryImage, setCloudinaryImage] = React.useState("")
|
|
14
|
+
const cloudName = text("Cloudinary Cloud", "")
|
|
15
|
+
const uploadPreset = text("Upload Preset", "")
|
|
16
|
+
|
|
17
|
+
const exampleUploader = (file: File) => {
|
|
18
|
+
CloudinaryUpload({
|
|
19
|
+
file: file,
|
|
20
|
+
onUploadProgress: (progress) => {
|
|
21
|
+
setProgressValue(progress)
|
|
22
|
+
},
|
|
23
|
+
cloudName,
|
|
24
|
+
uploadPreset,
|
|
25
|
+
}).then((response) => {
|
|
26
|
+
setProgressValue(100)
|
|
27
|
+
const imgUrl = `https://res.cloudinary.com/${cloudName}/image/upload/w_400,c_limit,q_65/${response.data.public_id}.jpg`
|
|
28
|
+
setCloudinaryImage(imgUrl)
|
|
29
|
+
})
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
return (
|
|
33
|
+
<>
|
|
34
|
+
<Dropzone
|
|
35
|
+
id="test-uploading"
|
|
36
|
+
label="Upload File"
|
|
37
|
+
helptext="Select JPEG or PNG files"
|
|
38
|
+
uploader={exampleUploader}
|
|
39
|
+
accept="image/*"
|
|
40
|
+
progress={progressValue}
|
|
41
|
+
/>
|
|
42
|
+
{progressValue == 0 && (
|
|
43
|
+
<p className="mt-16">(Provide Cloudinary credentials via the Knobs below.)</p>
|
|
44
|
+
)}
|
|
45
|
+
<img
|
|
46
|
+
src={cloudinaryImage}
|
|
47
|
+
style={{ width: "200px" }}
|
|
48
|
+
role={cloudinaryImage ? undefined : "none"}
|
|
49
|
+
alt={cloudinaryImage && "uploaded file"}
|
|
50
|
+
/>
|
|
51
|
+
</>
|
|
52
|
+
)
|
|
53
|
+
}
|
package/src/forms/Dropzone.tsx
CHANGED
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import React from "react"
|
|
2
|
+
import { useForm } from "react-hook-form"
|
|
3
|
+
import { Field } from "./Field"
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
title: "Forms/Field",
|
|
7
|
+
decorators: [(storyFn: any) => <div style={{ padding: "1rem" }}>{storyFn()}</div>],
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const FieldDefault = () => {
|
|
11
|
+
const { register } = useForm({ mode: "onChange" })
|
|
12
|
+
return <Field register={register} name={"Test Input"} label={"Custom label"} />
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export const TextFieldError = () => {
|
|
16
|
+
const { register } = useForm({ mode: "onChange" })
|
|
17
|
+
return (
|
|
18
|
+
<Field
|
|
19
|
+
register={register}
|
|
20
|
+
name={"Test Input"}
|
|
21
|
+
label={"Custom label"}
|
|
22
|
+
type={"text"}
|
|
23
|
+
error={true}
|
|
24
|
+
errorMessage={"Custom error message"}
|
|
25
|
+
/>
|
|
26
|
+
)
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export const CurrencyField = () => {
|
|
30
|
+
const { register, getValues, setValue } = useForm({ mode: "onChange" })
|
|
31
|
+
return (
|
|
32
|
+
<Field
|
|
33
|
+
register={register}
|
|
34
|
+
name={"Test Input"}
|
|
35
|
+
className={"custom-class"}
|
|
36
|
+
controlClassName={"custom-control-class"}
|
|
37
|
+
describedBy={"Test Input"}
|
|
38
|
+
label={"Test Input Custom"}
|
|
39
|
+
type={"currency"}
|
|
40
|
+
getValues={getValues}
|
|
41
|
+
setValue={setValue}
|
|
42
|
+
prepend={"$"}
|
|
43
|
+
/>
|
|
44
|
+
)
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export const CurrencyFieldError = () => {
|
|
48
|
+
const { register, getValues, setValue } = useForm({ mode: "onChange" })
|
|
49
|
+
return (
|
|
50
|
+
<Field
|
|
51
|
+
register={register}
|
|
52
|
+
name={"Test Input"}
|
|
53
|
+
error={true}
|
|
54
|
+
errorMessage={"Custom error message"}
|
|
55
|
+
className={"custom-class"}
|
|
56
|
+
controlClassName={"custom-control-class"}
|
|
57
|
+
describedBy={"Test Input"}
|
|
58
|
+
label={"Test Input Custom"}
|
|
59
|
+
type={"currency"}
|
|
60
|
+
getValues={getValues}
|
|
61
|
+
setValue={setValue}
|
|
62
|
+
prepend={"$"}
|
|
63
|
+
/>
|
|
64
|
+
)
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export const checkboxDefault = () => {
|
|
68
|
+
const { register, getValues, setValue } = useForm({ mode: "onChange" })
|
|
69
|
+
return (
|
|
70
|
+
<Field
|
|
71
|
+
register={register}
|
|
72
|
+
name={"Test Input"}
|
|
73
|
+
describedBy={"Test Input"}
|
|
74
|
+
label={"Test Input"}
|
|
75
|
+
type={"checkbox"}
|
|
76
|
+
/>
|
|
77
|
+
)
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export const checkboxBordered = () => {
|
|
81
|
+
const { register, getValues, setValue } = useForm({ mode: "onChange" })
|
|
82
|
+
return (
|
|
83
|
+
<Field
|
|
84
|
+
register={register}
|
|
85
|
+
name={"Test Input"}
|
|
86
|
+
describedBy={"Test Input"}
|
|
87
|
+
label={"Test Input"}
|
|
88
|
+
type={"checkbox"}
|
|
89
|
+
bordered
|
|
90
|
+
/>
|
|
91
|
+
)
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export const radioDefault = () => {
|
|
95
|
+
const { register, getValues, setValue } = useForm({ mode: "onChange" })
|
|
96
|
+
return (
|
|
97
|
+
<Field
|
|
98
|
+
register={register}
|
|
99
|
+
name={"Test Input"}
|
|
100
|
+
describedBy={"Test Input"}
|
|
101
|
+
label={"Test Input"}
|
|
102
|
+
type={"radio"}
|
|
103
|
+
/>
|
|
104
|
+
)
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export const radioBordered = () => {
|
|
108
|
+
const { register, getValues, setValue } = useForm({ mode: "onChange" })
|
|
109
|
+
return (
|
|
110
|
+
<Field
|
|
111
|
+
register={register}
|
|
112
|
+
name={"Test Input"}
|
|
113
|
+
describedBy={"Test Input"}
|
|
114
|
+
label={"Test Input"}
|
|
115
|
+
type={"radio"}
|
|
116
|
+
bordered
|
|
117
|
+
/>
|
|
118
|
+
)
|
|
119
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import React from "react"
|
|
2
|
+
import { useForm } from "react-hook-form"
|
|
3
|
+
import { FieldGroup } from "./FieldGroup"
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
title: "Forms/FieldGroup",
|
|
7
|
+
decorators: [(storyFn: any) => <div style={{ padding: "1rem" }}>{storyFn()}</div>],
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const FieldGroupDefault = () => {
|
|
11
|
+
const { register } = useForm({ mode: "onChange" })
|
|
12
|
+
return (
|
|
13
|
+
<FieldGroup
|
|
14
|
+
register={register}
|
|
15
|
+
name={"Test Input"}
|
|
16
|
+
type={"checkbox"}
|
|
17
|
+
fields={[
|
|
18
|
+
{ id: "1234", label: "Input 1" },
|
|
19
|
+
{ id: "5678", label: "Input 2" },
|
|
20
|
+
]}
|
|
21
|
+
fieldGroupClassName={"field-group-classname"}
|
|
22
|
+
fieldClassName={"field-classname"}
|
|
23
|
+
fieldLabelClassName={"text-primary"}
|
|
24
|
+
groupNote={"Group Note"}
|
|
25
|
+
groupLabel={"Group Label"}
|
|
26
|
+
/>
|
|
27
|
+
)
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export const FieldGroupDescriptions = () => {
|
|
31
|
+
const { register } = useForm({ mode: "onChange" })
|
|
32
|
+
return (
|
|
33
|
+
<FieldGroup
|
|
34
|
+
register={register}
|
|
35
|
+
name={"Test Input"}
|
|
36
|
+
type={"radio"}
|
|
37
|
+
fields={[
|
|
38
|
+
{
|
|
39
|
+
id: "1234",
|
|
40
|
+
label: "Input 1",
|
|
41
|
+
description: (
|
|
42
|
+
<span>
|
|
43
|
+
This is an <em>HTML</em> description
|
|
44
|
+
</span>
|
|
45
|
+
),
|
|
46
|
+
},
|
|
47
|
+
{ id: "5678", label: "Input 2", description: "This is a text description" },
|
|
48
|
+
{ id: "9765", label: "Input 3" },
|
|
49
|
+
{ id: "4321", label: "Input 4" },
|
|
50
|
+
]}
|
|
51
|
+
fieldGroupClassName="grid grid-cols-1"
|
|
52
|
+
fieldClassName="ml-0"
|
|
53
|
+
groupNote={"Group Note"}
|
|
54
|
+
groupLabel={"Group Label"}
|
|
55
|
+
/>
|
|
56
|
+
)
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export const FieldGroupError = () => {
|
|
60
|
+
const { register } = useForm({ mode: "onChange" })
|
|
61
|
+
return (
|
|
62
|
+
<FieldGroup
|
|
63
|
+
error={true}
|
|
64
|
+
register={register}
|
|
65
|
+
name={"testInput"}
|
|
66
|
+
type={"checkbox"}
|
|
67
|
+
fields={[
|
|
68
|
+
{ id: "1234", label: "Input 1" },
|
|
69
|
+
{ id: "5678", label: "Input 2" },
|
|
70
|
+
]}
|
|
71
|
+
fieldGroupClassName={"field-group-classname"}
|
|
72
|
+
fieldClassName={"field-classname"}
|
|
73
|
+
fieldLabelClassName={"text-primary"}
|
|
74
|
+
groupNote={"Group Note"}
|
|
75
|
+
groupLabel={"Group Label"}
|
|
76
|
+
/>
|
|
77
|
+
)
|
|
78
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import * as React from "react"
|
|
2
|
+
import HouseholdMemberForm from "./HouseholdMemberForm"
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
title: "Forms/HouseholdMemberForm",
|
|
6
|
+
decorators: [(storyFn: any) => <div style={{ padding: "1rem" }}>{storyFn()}</div>],
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const editable = () => (
|
|
10
|
+
<HouseholdMemberForm
|
|
11
|
+
memberFirstName={"Firstname"}
|
|
12
|
+
memberLastName={"Lastname"}
|
|
13
|
+
key={"FirstnameLastname"}
|
|
14
|
+
subtitle={"Household Member"}
|
|
15
|
+
editMember={() => {}}
|
|
16
|
+
/>
|
|
17
|
+
)
|
|
18
|
+
|
|
19
|
+
export const notEditable = () => (
|
|
20
|
+
<HouseholdMemberForm
|
|
21
|
+
memberFirstName={"Firstname"}
|
|
22
|
+
memberLastName={"Lastname"}
|
|
23
|
+
key={"FirstnameLastname"}
|
|
24
|
+
subtitle={"Household Member"}
|
|
25
|
+
editMode={false}
|
|
26
|
+
/>
|
|
27
|
+
)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as React from "react"
|
|
2
|
+
import { useForm } from "react-hook-form"
|
|
3
|
+
import HouseholdSizeField from "./HouseholdSizeField"
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
title: "Forms/HouseholdSizeField",
|
|
7
|
+
decorators: [(storyFn: any) => <div style={{ padding: "1rem" }}>{storyFn()}</div>],
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export const errorHouseholdSizeField = () => {
|
|
11
|
+
const { register } = useForm({ mode: "onChange" })
|
|
12
|
+
return (
|
|
13
|
+
<HouseholdSizeField
|
|
14
|
+
assistanceUrl={""}
|
|
15
|
+
clearErrors={() => {
|
|
16
|
+
alert("clearErrors called")
|
|
17
|
+
}}
|
|
18
|
+
error={{ message: "Uh oh!", type: "validate" }}
|
|
19
|
+
householdSize={1}
|
|
20
|
+
householdSizeMax={3}
|
|
21
|
+
householdSizeMin={2}
|
|
22
|
+
register={register}
|
|
23
|
+
validate={true}
|
|
24
|
+
/>
|
|
25
|
+
)
|
|
26
|
+
}
|