@bloom-housing/ui-components 12.7.7 → 13.0.1
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/__tests__/storyshots.spec.d.ts +0 -1
- package/dist/__tests__/storyshots.spec.js +9 -9
- package/dist/__tests__/storyshots.spec.js.map +1 -1
- package/dist/src/actions/Button.d.ts +2 -2
- package/dist/src/actions/Button.stories.d.ts +71 -21
- package/dist/src/actions/Button.stories.js +54 -38
- package/dist/src/actions/Button.stories.js.map +1 -1
- package/dist/src/actions/ButtonGroup.d.ts +2 -2
- package/dist/src/actions/ButtonGroup.stories.d.ts +7 -11
- package/dist/src/actions/ButtonGroup.stories.js +0 -4
- package/dist/src/actions/ButtonGroup.stories.js.map +1 -1
- package/dist/src/actions/ExpandableContent.d.ts +1 -1
- package/dist/src/actions/ExpandableContent.stories.d.ts +3 -2
- package/dist/src/actions/ExpandableText.d.ts +2 -1
- package/dist/src/actions/ExpandableText.stories.d.ts +7 -6
- package/dist/src/actions/LinkButton.d.ts +2 -1
- package/dist/src/actions/LinkButton.stories.d.ts +9 -8
- package/dist/src/actions/LocalizedLink.d.ts +2 -2
- package/dist/src/actions/Video.d.ts +2 -1
- package/dist/src/blocks/ActionBlock.d.ts +1 -1
- package/dist/src/blocks/ActionBlock.stories.d.ts +8 -7
- package/dist/src/blocks/Card.d.ts +7 -7
- package/dist/src/blocks/Card.stories.d.ts +5 -9
- package/dist/src/blocks/Card.stories.js +0 -4
- package/dist/src/blocks/Card.stories.js.map +1 -1
- package/dist/src/blocks/DashBlock.d.ts +1 -1
- package/dist/src/blocks/DashBlocks.d.ts +1 -1
- package/dist/src/blocks/DashBlocks.stories.d.ts +2 -1
- package/dist/src/blocks/FormCard.d.ts +1 -1
- package/dist/src/blocks/FormCard.stories.d.ts +3 -2
- package/dist/src/blocks/HousingCounselor.d.ts +2 -1
- package/dist/src/blocks/HousingCounselor.stories.d.ts +4 -3
- package/dist/src/blocks/ImageCard.d.ts +2 -1
- package/dist/src/blocks/ImageCard.js +5 -1
- package/dist/src/blocks/ImageCard.js.map +1 -1
- package/dist/src/blocks/ImageCard.stories.d.ts +18 -22
- package/dist/src/blocks/ImageCard.stories.js +0 -4
- package/dist/src/blocks/ImageCard.stories.js.map +1 -1
- package/dist/src/blocks/InfoCard.d.ts +1 -1
- package/dist/src/blocks/InfoCard.stories.d.ts +6 -10
- package/dist/src/blocks/InfoCard.stories.js +0 -4
- package/dist/src/blocks/InfoCard.stories.js.map +1 -1
- package/dist/src/blocks/MediaCard.d.ts +2 -1
- package/dist/src/blocks/MediaCard.stories.d.ts +5 -9
- package/dist/src/blocks/MediaCard.stories.js +0 -4
- package/dist/src/blocks/MediaCard.stories.js.map +1 -1
- package/dist/src/blocks/StandardCard.d.ts +1 -1
- package/dist/src/blocks/StandardCard.stories.d.ts +6 -10
- package/dist/src/blocks/StandardCard.stories.js +0 -4
- package/dist/src/blocks/StandardCard.stories.js.map +1 -1
- package/dist/src/blocks/StatusBar.d.ts +1 -1
- package/dist/src/blocks/StatusBar.stories.d.ts +4 -3
- package/dist/src/blocks/StatusItem.d.ts +2 -1
- package/dist/src/blocks/StatusItem.stories.d.ts +3 -2
- package/dist/src/blocks/Tooltip.d.ts +1 -1
- package/dist/src/blocks/ViewItem.d.ts +1 -1
- package/dist/src/blocks/ViewItem.stories.d.ts +5 -4
- package/dist/src/documentation/Utilities.d.ts +2 -1
- package/dist/src/footers/ExygyFooter.d.ts +2 -1
- package/dist/src/footers/SiteFooter.d.ts +1 -1
- package/dist/src/footers/SiteFooter.stories.d.ts +7 -6
- package/dist/src/forms/DOBField.d.ts +1 -1
- package/dist/src/forms/DOBField.stories.d.ts +3 -2
- package/dist/src/forms/DateField.d.ts +1 -1
- package/dist/src/forms/DateField.stories.d.ts +3 -2
- package/dist/src/forms/Dropzone.d.ts +1 -1
- package/dist/src/forms/Dropzone.stories.d.ts +4 -3
- package/dist/src/forms/Dropzone.stories.js +1 -2
- package/dist/src/forms/Dropzone.stories.js.map +1 -1
- package/dist/src/forms/Field.d.ts +4 -4
- package/dist/src/forms/Field.stories.d.ts +12 -11
- package/dist/src/forms/FieldGroup.d.ts +1 -1
- package/dist/src/forms/FieldGroup.stories.d.ts +6 -5
- package/dist/src/forms/Form.d.ts +1 -1
- package/dist/src/forms/HouseholdMemberForm.d.ts +2 -1
- package/dist/src/forms/HouseholdMemberForm.stories.d.ts +4 -3
- package/dist/src/forms/HouseholdSizeField.d.ts +2 -1
- package/dist/src/forms/HouseholdSizeField.stories.d.ts +3 -2
- package/dist/src/forms/MultiSelectField.d.ts +1 -1
- package/dist/src/forms/MultiSelectField.stories.d.ts +5 -9
- package/dist/src/forms/MultiSelectField.stories.js +0 -4
- package/dist/src/forms/MultiSelectField.stories.js.map +1 -1
- package/dist/src/forms/PhoneField.d.ts +2 -2
- package/dist/src/forms/Select.d.ts +1 -1
- package/dist/src/forms/Textarea.d.ts +1 -1
- package/dist/src/forms/Textarea.stories.d.ts +9 -8
- package/dist/src/forms/TimeField.d.ts +1 -1
- package/dist/src/forms/TimeField.stories.d.ts +4 -3
- package/dist/src/forms/checkbox.stories.d.ts +3 -2
- package/dist/src/forms/checkbox.stories.js.map +1 -1
- package/dist/src/forms/radio.stories.d.ts +3 -2
- package/dist/src/forms/radio.stories.js.map +1 -1
- package/dist/src/headers/HeadingGroup.d.ts +1 -1
- package/dist/src/headers/HeadingGroup.stories.d.ts +3 -7
- package/dist/src/headers/HeadingGroup.stories.js +0 -4
- package/dist/src/headers/HeadingGroup.stories.js.map +1 -1
- package/dist/src/headers/Hero.d.ts +1 -1
- package/dist/src/headers/Hero.stories.d.ts +7 -6
- package/dist/src/headers/PageHeader.d.ts +1 -1
- package/dist/src/headers/PageHeader.stories.d.ts +7 -11
- package/dist/src/headers/PageHeader.stories.js +0 -4
- package/dist/src/headers/PageHeader.stories.js.map +1 -1
- package/dist/src/headers/SiteHeader.d.ts +1 -1
- package/dist/src/headers/SiteHeader.js.map +1 -1
- package/dist/src/headers/SiteHeader.stories.d.ts +20 -19
- package/dist/src/headers/StepHeader.d.ts +2 -1
- package/dist/src/headers/StepHeader.js.map +1 -1
- package/dist/src/headers/StepHeader.stories.d.ts +5 -4
- package/dist/src/headers/StepHeader.stories.js +1 -2
- package/dist/src/headers/StepHeader.stories.js.map +1 -1
- package/dist/src/helpers/MultiLineAddress.d.ts +2 -1
- package/dist/src/helpers/MultiLineAddress.stories.d.ts +6 -5
- package/dist/src/helpers/OneLineAddress.d.ts +2 -1
- package/dist/src/helpers/OneLineAddress.stories.d.ts +6 -5
- package/dist/src/helpers/formOptions.d.ts +2 -1
- package/dist/src/helpers/preferences.d.ts +2 -1
- package/dist/src/helpers/useFallbackImage.d.ts +2 -2
- package/dist/src/icons/FontAwesome.stories.d.ts +5 -4
- package/dist/src/icons/HeaderBadge.d.ts +2 -1
- package/dist/src/icons/HeaderBadge.stories.d.ts +2 -1
- package/dist/src/icons/Icon.d.ts +63 -62
- package/dist/src/icons/Icon.stories.d.ts +61 -60
- package/dist/src/icons/Icons.d.ts +62 -61
- package/dist/src/lists/NumberedList.stories.d.ts +2 -1
- package/dist/src/lists/PreferencesList.d.ts +2 -1
- package/dist/src/lists/PreferencesList.stories.d.ts +3 -2
- package/dist/src/navigation/Breadcrumbs.d.ts +2 -2
- package/dist/src/navigation/Breadcrumbs.stories.d.ts +3 -2
- package/dist/src/navigation/FooterNav.d.ts +1 -1
- package/dist/src/navigation/LanguageNav.d.ts +2 -1
- package/dist/src/navigation/LanguageNav.stories.d.ts +3 -2
- package/dist/src/navigation/LanguageNav.stories.js +2 -3
- package/dist/src/navigation/LanguageNav.stories.js.map +1 -1
- package/dist/src/navigation/ProgressNav.d.ts +2 -1
- package/dist/src/navigation/ProgressNav.stories.d.ts +4 -8
- package/dist/src/navigation/ProgressNav.stories.js +0 -4
- package/dist/src/navigation/ProgressNav.stories.js.map +1 -1
- package/dist/src/navigation/SideNav.d.ts +2 -1
- package/dist/src/navigation/SideNav.stories.d.ts +6 -10
- package/dist/src/navigation/SideNav.stories.js +0 -4
- package/dist/src/navigation/SideNav.stories.js.map +1 -1
- package/dist/src/navigation/TabNav.d.ts +2 -2
- package/dist/src/navigation/TabNav.stories.d.ts +4 -3
- package/dist/src/navigation/Tabs.stories.d.ts +3 -2
- package/dist/src/notifications/AlertBox.d.ts +2 -1
- package/dist/src/notifications/AlertBox.stories.d.ts +15 -19
- package/dist/src/notifications/AlertBox.stories.js +0 -4
- package/dist/src/notifications/AlertBox.stories.js.map +1 -1
- package/dist/src/notifications/AlertNotice.d.ts +2 -1
- package/dist/src/notifications/AlertNotice.stories.d.ts +8 -7
- package/dist/src/notifications/ApplicationStatus.d.ts +2 -1
- package/dist/src/notifications/ApplicationStatus.stories.d.ts +17 -16
- package/dist/src/notifications/ApplicationStatus.stories.js +3 -4
- package/dist/src/notifications/ApplicationStatus.stories.js.map +1 -1
- package/dist/src/notifications/ErrorMessage.d.ts +1 -1
- package/dist/src/notifications/SiteAlert.d.ts +2 -1
- package/dist/src/notifications/StatusAside.d.ts +1 -1
- package/dist/src/notifications/StatusAside.stories.d.ts +4 -3
- package/dist/src/notifications/StatusMessage.d.ts +2 -2
- package/dist/src/notifications/StatusMessage.stories.d.ts +4 -3
- package/dist/src/overlays/Drawer.d.ts +1 -1
- package/dist/src/overlays/Drawer.stories.d.ts +6 -5
- package/dist/src/overlays/LoadingOverlay.d.ts +1 -1
- package/dist/src/overlays/LoadingOverlay.stories.d.ts +3 -2
- package/dist/src/overlays/Modal.d.ts +1 -1
- package/dist/src/overlays/Modal.stories.d.ts +102 -13
- package/dist/src/overlays/Modal.stories.js +119 -76
- package/dist/src/overlays/Modal.stories.js.map +1 -1
- package/dist/src/overlays/Overlay.d.ts +1 -0
- package/dist/src/overlays/Overlay.js +5 -4
- package/dist/src/overlays/Overlay.js.map +1 -1
- package/dist/src/page_components/ApplicationTimeline.d.ts +2 -1
- package/dist/src/page_components/NavigationHeader.d.ts +1 -1
- package/dist/src/page_components/forgot-password/FormForgotPassword.d.ts +2 -1
- package/dist/src/page_components/listing/AdditionalFees.d.ts +1 -1
- package/dist/src/page_components/listing/AdditionalFees.stories.d.ts +10 -9
- package/dist/src/page_components/listing/ContentAccordion.d.ts +1 -1
- package/dist/src/page_components/listing/ContentAccordion.stories.d.ts +7 -6
- package/dist/src/page_components/listing/ListingCard.d.ts +1 -1
- package/dist/src/page_components/listing/ListingCard.stories.d.ts +16 -15
- package/dist/src/page_components/listing/ListingDetailHeader.d.ts +1 -1
- package/dist/src/page_components/listing/ListingDetailHeader.stories.d.ts +2 -1
- package/dist/src/page_components/listing/ListingDetails.d.ts +3 -2
- package/dist/src/page_components/listing/ListingMap.d.ts +2 -1
- package/dist/src/page_components/listing/ListingMap.stories.d.ts +2 -1
- package/dist/src/page_components/listing/ListingsGroup.d.ts +1 -1
- package/dist/src/page_components/listing/ListingsGroup.stories.d.ts +5 -4
- package/dist/src/page_components/listing/listing_sidebar/Contact.d.ts +1 -1
- package/dist/src/page_components/listing/listing_sidebar/Contact.stories.d.ts +6 -5
- package/dist/src/page_components/listing/listing_sidebar/ContactAddress.d.ts +2 -1
- package/dist/src/page_components/listing/listing_sidebar/ContactAddress.stories.d.ts +3 -2
- package/dist/src/page_components/listing/listing_sidebar/ExpandableSection.d.ts +1 -1
- package/dist/src/page_components/listing/listing_sidebar/ExpandableSection.stories.d.ts +4 -3
- package/dist/src/page_components/listing/listing_sidebar/GetApplication.d.ts +2 -1
- package/dist/src/page_components/listing/listing_sidebar/GetApplication.stories.d.ts +10 -9
- package/dist/src/page_components/listing/listing_sidebar/ListingUpdated.d.ts +2 -1
- package/dist/src/page_components/listing/listing_sidebar/NumberedHeader.d.ts +2 -1
- package/dist/src/page_components/listing/listing_sidebar/OrDivider.d.ts +2 -1
- package/dist/src/page_components/listing/listing_sidebar/QuantityRowSection.d.ts +1 -1
- package/dist/src/page_components/listing/listing_sidebar/QuantityRowSection.stories.d.ts +9 -8
- package/dist/src/page_components/listing/listing_sidebar/ReferralApplication.d.ts +2 -1
- package/dist/src/page_components/listing/listing_sidebar/ReferralApplication.stories.d.ts +2 -1
- package/dist/src/page_components/listing/listing_sidebar/SidebarBlock.d.ts +1 -1
- package/dist/src/page_components/listing/listing_sidebar/SidebarBlock.stories.d.ts +4 -3
- package/dist/src/page_components/listing/listing_sidebar/SubmitApplication.d.ts +2 -1
- package/dist/src/page_components/listing/listing_sidebar/SubmitApplication.stories.d.ts +6 -5
- package/dist/src/page_components/listing/listing_sidebar/events/DownloadLotteryResults.d.ts +2 -1
- package/dist/src/page_components/listing/listing_sidebar/events/DownloadLotteryResults.stories.d.ts +3 -2
- package/dist/src/page_components/listing/listing_sidebar/events/EventSection.d.ts +1 -1
- package/dist/src/page_components/listing/listing_sidebar/events/EventSection.stories.d.ts +13 -12
- package/dist/src/page_components/sign-in/FormSignIn.d.ts +2 -1
- package/dist/src/page_components/sign-in/FormSignInAddPhone.d.ts +2 -1
- package/dist/src/page_components/sign-in/FormSignInErrorBox.d.ts +2 -1
- package/dist/src/page_components/sign-in/FormSignInMFACode.d.ts +2 -1
- package/dist/src/page_components/sign-in/FormSignInMFAType.d.ts +2 -1
- package/dist/src/page_components/sign-in/FormTerms.d.ts +2 -1
- package/dist/src/page_components/sign-in/ResendConfirmationModal.d.ts +2 -1
- package/dist/src/prototypes/AppCard.stories.d.ts +4 -3
- package/dist/src/prototypes/Back.stories.d.ts +3 -2
- package/dist/src/prototypes/ButtonGroup.stories.d.ts +4 -3
- package/dist/src/prototypes/ButtonPager.stories.d.ts +3 -2
- package/dist/src/prototypes/FieldSection.d.ts +1 -1
- package/dist/src/prototypes/FieldSection.stories.d.ts +5 -4
- package/dist/src/prototypes/GridItem.d.ts +1 -1
- package/dist/src/prototypes/GridItem.stories.d.ts +4 -3
- package/dist/src/prototypes/SummaryCard.stories.d.ts +4 -3
- package/dist/src/prototypes/Swatch.d.ts +2 -1
- package/dist/src/sections/ContentSection.d.ts +1 -1
- package/dist/src/sections/FooterSection.d.ts +1 -1
- package/dist/src/sections/GridSection.d.ts +2 -2
- package/dist/src/sections/GridSection.stories.d.ts +12 -11
- package/dist/src/sections/InfoCardGrid.d.ts +1 -1
- package/dist/src/sections/InfoCardGrid.stories.d.ts +4 -3
- package/dist/src/sections/ListSection.d.ts +1 -1
- package/dist/src/sections/MarkdownSection.d.ts +1 -1
- package/dist/src/sections/ResponsiveContentList.d.ts +4 -4
- package/dist/src/sections/ResponsiveContentList.stories.d.ts +2 -1
- package/dist/src/sections/ResponsiveWrappers.d.ts +2 -2
- package/dist/src/tables/AgPagination.d.ts +1 -1
- package/dist/src/tables/AgTable.d.ts +1 -1
- package/dist/src/tables/AgTable.stories.d.ts +4 -3
- package/dist/src/tables/CategoryTable.d.ts +2 -1
- package/dist/src/tables/CategoryTable.stories.d.ts +5 -4
- package/dist/src/tables/GroupedTable.d.ts +1 -1
- package/dist/src/tables/GroupedTable.stories.d.ts +3 -2
- package/dist/src/tables/MinimalTable.d.ts +2 -1
- package/dist/src/tables/MinimalTable.stories.d.ts +10 -9
- package/dist/src/tables/StackedTable.d.ts +2 -1
- package/dist/src/tables/StackedTable.stories.d.ts +8 -7
- package/dist/src/tables/StandardTable.d.ts +5 -5
- package/dist/src/tables/StandardTable.stories.d.ts +7 -6
- package/dist/src/text/Description.d.ts +1 -1
- package/dist/src/text/Description.stories.d.ts +4 -3
- package/dist/src/text/Heading.d.ts +1 -1
- package/dist/src/text/Heading.js.map +1 -1
- package/dist/src/text/Heading.stories.d.ts +15 -14
- package/dist/src/text/Message.d.ts +1 -1
- package/dist/src/text/Message.stories.d.ts +4 -3
- package/dist/src/text/Tag.d.ts +1 -1
- package/dist/src/text/Tag.stories.d.ts +11 -10
- package/package.json +33 -33
- package/src/actions/Button.docs.mdx +6 -5
- package/src/actions/Button.stories.tsx +73 -62
- package/src/actions/ButtonGroup.docs.mdx +7 -5
- package/src/actions/ButtonGroup.stories.tsx +0 -4
- package/src/actions/ButtonGroup.tsx +1 -1
- package/src/blocks/Card.docs.mdx +10 -11
- package/src/blocks/Card.stories.tsx +0 -4
- package/src/blocks/ImageCard.docs.mdx +8 -6
- package/src/blocks/ImageCard.stories.tsx +0 -4
- package/src/blocks/ImageCard.tsx +6 -2
- package/src/blocks/InfoCard.docs.mdx +8 -6
- package/src/blocks/InfoCard.stories.tsx +0 -4
- package/src/blocks/MediaCard.docs.mdx +10 -11
- package/src/blocks/MediaCard.stories.tsx +0 -4
- package/src/blocks/StandardCard.docs.mdx +7 -8
- package/src/blocks/StandardCard.stories.tsx +0 -4
- package/src/documentation/{Utilities.stories.mdx → Utilities.docs.mdx} +4 -2
- package/src/forms/Dropzone.stories.tsx +1 -2
- package/src/forms/Field.tsx +3 -3
- package/src/forms/MultiSelectField.docs.mdx +6 -5
- package/src/forms/MultiSelectField.stories.tsx +1 -5
- package/src/forms/PhoneField.tsx +1 -1
- package/src/forms/checkbox.stories.tsx +1 -1
- package/src/forms/radio.stories.tsx +1 -1
- package/src/headers/HeadingGroup.docs.mdx +6 -5
- package/src/headers/HeadingGroup.stories.tsx +0 -4
- package/src/headers/PageHeader.docs.mdx +10 -12
- package/src/headers/PageHeader.stories.tsx +0 -4
- package/src/headers/SiteHeader.tsx +1 -1
- package/src/headers/StepHeader.docs.mdx +14 -13
- package/src/headers/StepHeader.stories.tsx +1 -2
- package/src/headers/StepHeader.tsx +1 -1
- package/src/lists/PreferencesList.docs.mdx +8 -6
- package/src/navigation/LanguageNav.stories.tsx +1 -3
- package/src/navigation/ProgressNav.docs.mdx +13 -8
- package/src/navigation/ProgressNav.stories.tsx +0 -4
- package/src/navigation/SideNav.docs.mdx +7 -5
- package/src/navigation/SideNav.stories.tsx +0 -4
- package/src/notifications/AlertBox.docs.mdx +7 -8
- package/src/notifications/AlertBox.stories.tsx +0 -4
- package/src/notifications/ApplicationStatus.stories.tsx +3 -4
- package/src/overlays/Modal.docs.mdx +7 -5
- package/src/overlays/Modal.stories.tsx +273 -232
- package/src/overlays/Overlay.tsx +8 -2
- package/src/page_components/listing/ListingCard.docs.mdx +9 -9
- package/src/text/Heading.docs.mdx +7 -5
- package/src/text/Heading.tsx +1 -1
- package/src/text/Tag.docs.mdx +10 -14
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// From https://www.npmjs.com/package/@storybook/addon-storyshots-puppeteer
|
|
2
|
-
import initStoryshots from "@storybook/addon-storyshots"
|
|
3
|
-
import { axeTest } from "@storybook/addon-storyshots-puppeteer"
|
|
4
|
-
import * as path from "path"
|
|
5
|
-
initStoryshots({
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
})
|
|
2
|
+
//import initStoryshots from "@storybook/addon-storyshots"
|
|
3
|
+
//import { axeTest } from "@storybook/addon-storyshots-puppeteer"
|
|
4
|
+
//import * as path from "path"
|
|
5
|
+
// initStoryshots({
|
|
6
|
+
// suite: "a11y checks",
|
|
7
|
+
// test: axeTest({
|
|
8
|
+
// storybookUrl: `file://${path.resolve(__dirname, "../storybook-static")}`,
|
|
9
|
+
// }),
|
|
10
|
+
// })
|
|
11
11
|
//# sourceMappingURL=storyshots.spec.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storyshots.spec.js","sourceRoot":"","sources":["../../__tests__/storyshots.spec.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAE3E,
|
|
1
|
+
{"version":3,"file":"storyshots.spec.js","sourceRoot":"","sources":["../../__tests__/storyshots.spec.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAE3E,0DAA0D;AAC1D,iEAAiE;AACjE,8BAA8B;AAE9B,mBAAmB;AACnB,0BAA0B;AAC1B,oBAAoB;AACpB,gFAAgF;AAChF,QAAQ;AACR,KAAK"}
|
|
@@ -28,6 +28,6 @@ export interface ButtonProps extends AppearanceProps {
|
|
|
28
28
|
unstyled?: boolean;
|
|
29
29
|
}
|
|
30
30
|
export declare const buttonClassesForProps: (props: Omit<ButtonProps, "onClick">) => string[];
|
|
31
|
-
export declare const buttonInner: (props: Omit<ButtonProps, "onClick">) => JSX.Element;
|
|
32
|
-
declare const Button: (props: ButtonProps) => JSX.Element;
|
|
31
|
+
export declare const buttonInner: (props: Omit<ButtonProps, "onClick">) => React.JSX.Element;
|
|
32
|
+
declare const Button: (props: ButtonProps) => React.JSX.Element;
|
|
33
33
|
export { Button as default, Button };
|
|
@@ -1,33 +1,83 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import { BADGES } from "../../.storybook/constants";
|
|
3
|
-
import
|
|
3
|
+
import { AppearanceBorderType, AppearanceStyleType } from "../global/AppearanceTypes";
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
|
-
|
|
7
|
-
decorators: ((...args: any) => any)[];
|
|
6
|
+
decorators: ((storyFn: any) => React.JSX.Element)[];
|
|
8
7
|
parameters: {
|
|
9
|
-
docs: {
|
|
10
|
-
page: typeof ButtonDocumentation;
|
|
11
|
-
};
|
|
12
8
|
badges: BADGES[];
|
|
9
|
+
controls: {
|
|
10
|
+
disable: boolean;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
argTypes: {
|
|
14
|
+
label: {
|
|
15
|
+
control: string;
|
|
16
|
+
};
|
|
17
|
+
styleType: {
|
|
18
|
+
options: typeof AppearanceStyleType;
|
|
19
|
+
control: string;
|
|
20
|
+
};
|
|
21
|
+
border: {
|
|
22
|
+
options: typeof AppearanceBorderType;
|
|
23
|
+
control: string;
|
|
24
|
+
};
|
|
25
|
+
icon: {
|
|
26
|
+
options: {
|
|
27
|
+
arrowBack: string;
|
|
28
|
+
arrowForward: string;
|
|
29
|
+
coffee: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
30
|
+
rotate: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
31
|
+
table: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
32
|
+
};
|
|
33
|
+
control: string;
|
|
34
|
+
};
|
|
35
|
+
iconPlacement: {
|
|
36
|
+
options: {
|
|
37
|
+
left: string;
|
|
38
|
+
right: string;
|
|
39
|
+
};
|
|
40
|
+
control: string;
|
|
41
|
+
};
|
|
13
42
|
};
|
|
14
43
|
};
|
|
15
44
|
export default _default;
|
|
16
|
-
export declare const standard:
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export declare const
|
|
28
|
-
|
|
45
|
+
export declare const standard: {
|
|
46
|
+
parameters: {
|
|
47
|
+
controls: {
|
|
48
|
+
disable: boolean;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
args: {
|
|
52
|
+
label: string;
|
|
53
|
+
};
|
|
54
|
+
render: (args: Record<string, any>) => React.JSX.Element;
|
|
55
|
+
};
|
|
56
|
+
export declare const withFontAwesomeIcon: {
|
|
57
|
+
parameters: {
|
|
58
|
+
controls: {
|
|
59
|
+
disable: boolean;
|
|
60
|
+
include: string[];
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
args: {
|
|
64
|
+
icon: import("@fortawesome/fontawesome-common-types").IconDefinition;
|
|
65
|
+
};
|
|
66
|
+
render: (args: Record<string, any>) => React.JSX.Element;
|
|
67
|
+
};
|
|
68
|
+
export declare const small: () => React.JSX.Element;
|
|
69
|
+
export declare const big: () => React.JSX.Element;
|
|
70
|
+
export declare const SmallAndPrimary: () => React.JSX.Element;
|
|
71
|
+
export declare const NormalCase: () => React.JSX.Element;
|
|
72
|
+
export declare const NormalCaseAndSuccess: () => React.JSX.Element;
|
|
73
|
+
export declare const borderless: () => React.JSX.Element;
|
|
74
|
+
export declare const unstyled: () => React.JSX.Element;
|
|
75
|
+
export declare const inlineIcon: () => React.JSX.Element;
|
|
76
|
+
export declare const detroitStyle: () => React.JSX.Element;
|
|
77
|
+
export declare const loading: () => React.JSX.Element;
|
|
78
|
+
export declare const transitions: () => React.JSX.Element;
|
|
29
79
|
export declare const inaccessible: {
|
|
30
|
-
(): JSX.Element;
|
|
80
|
+
(): React.JSX.Element;
|
|
31
81
|
parameters: {
|
|
32
82
|
a11y: {
|
|
33
83
|
config: {
|
|
@@ -1,56 +1,72 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
1
|
import * as React from "react";
|
|
13
|
-
import { withKnobs, text, select } from "@storybook/addon-knobs";
|
|
14
2
|
import { BADGES } from "../../.storybook/constants";
|
|
15
3
|
import { Button } from "../actions/Button";
|
|
16
4
|
import { AppearanceBorderType, AppearanceSizeType, AppearanceStyleType, } from "../global/AppearanceTypes";
|
|
17
|
-
import ButtonDocumentation from "./Button.docs.mdx";
|
|
18
5
|
import { faArrowsRotate, faCoffee, faTable } from "@fortawesome/free-solid-svg-icons";
|
|
19
6
|
export default {
|
|
20
7
|
title: "Actions/Button 🚩",
|
|
21
|
-
|
|
22
|
-
decorators: [function (storyFn) { return React.createElement("div", null, storyFn()); }, withKnobs],
|
|
8
|
+
decorators: [function (storyFn) { return React.createElement("div", null, storyFn()); }],
|
|
23
9
|
parameters: {
|
|
24
|
-
docs: {
|
|
25
|
-
page: ButtonDocumentation,
|
|
26
|
-
},
|
|
27
10
|
badges: [BADGES.GEN2],
|
|
11
|
+
controls: {
|
|
12
|
+
disable: true,
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
argTypes: {
|
|
16
|
+
label: {
|
|
17
|
+
control: "text",
|
|
18
|
+
},
|
|
19
|
+
styleType: {
|
|
20
|
+
options: AppearanceStyleType,
|
|
21
|
+
control: "select",
|
|
22
|
+
},
|
|
23
|
+
border: {
|
|
24
|
+
options: AppearanceBorderType,
|
|
25
|
+
control: "select",
|
|
26
|
+
},
|
|
27
|
+
icon: {
|
|
28
|
+
options: { arrowBack: "arrowBack", arrowForward: "arrowForward", coffee: faCoffee, rotate: faArrowsRotate, table: faTable },
|
|
29
|
+
control: "select",
|
|
30
|
+
},
|
|
31
|
+
iconPlacement: {
|
|
32
|
+
options: { left: "left", right: "right" },
|
|
33
|
+
control: "select",
|
|
34
|
+
},
|
|
28
35
|
},
|
|
29
36
|
};
|
|
30
37
|
var handleClick = function (e) {
|
|
31
38
|
alert("You clicked me! Event: ".concat(e.type));
|
|
32
39
|
};
|
|
33
|
-
var
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
export var standard = {
|
|
41
|
+
parameters: {
|
|
42
|
+
controls: {
|
|
43
|
+
disable: false,
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
args: {
|
|
47
|
+
label: "Hello Storybook",
|
|
48
|
+
},
|
|
49
|
+
render: function (args) {
|
|
50
|
+
return (React.createElement(React.Fragment, null,
|
|
51
|
+
React.createElement(Button, { styleType: args.styleType, border: args.border, icon: args.icon, iconPlacement: args.iconPlacement, onClick: handleClick }, args.label),
|
|
52
|
+
React.createElement("p", { className: "mt-10" }, "Try out different styles with the controls below.")));
|
|
53
|
+
},
|
|
43
54
|
};
|
|
44
|
-
export var withFontAwesomeIcon =
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
55
|
+
export var withFontAwesomeIcon = {
|
|
56
|
+
parameters: {
|
|
57
|
+
controls: {
|
|
58
|
+
disable: false,
|
|
59
|
+
include: ["icon"]
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
args: {
|
|
63
|
+
icon: faArrowsRotate,
|
|
64
|
+
},
|
|
65
|
+
render: function (args) {
|
|
66
|
+
return (React.createElement(React.Fragment, null,
|
|
67
|
+
React.createElement(Button, { icon: args.icon, iconSize: "medium", iconPlacement: "left", onClick: handleClick }, "FontAwesome is awesome"),
|
|
68
|
+
React.createElement("p", { className: "mt-10" }, "Try out different icons with the controls below.")));
|
|
69
|
+
},
|
|
54
70
|
};
|
|
55
71
|
export var small = function () { return (React.createElement(Button, { size: AppearanceSizeType.small, onClick: handleClick }, "Small Button")); };
|
|
56
72
|
export var big = function () { return (React.createElement(Button, { size: AppearanceSizeType.big, onClick: handleClick }, "Big Button")); };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.stories.js","sourceRoot":"","sources":["../../../src/actions/Button.stories.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.stories.js","sourceRoot":"","sources":["../../../src/actions/Button.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EACL,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAA;AAErF,eAAe;IACb,KAAK,EAAE,mBAAmB;IAC1B,UAAU,EAAE,CAAC,UAAC,OAAY,IAAK,OAAA,iCAAM,OAAO,EAAE,CAAO,EAAtB,CAAsB,CAAC;IACtD,UAAU,EAAE;QACV,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC;QACrB,QAAQ,EAAE;YACR,OAAO,EAAE,IAAI;SACd;KACF;IACD,QAAQ,EAAE;QACR,KAAK,EAAE;YACL,OAAO,EAAE,MAAM;S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AAC,GAAG;YACb,oBAAC,MAAM,IAAC,OAAO,EAAE,WAAW,kCAAoC;YAChE,mCAAQ,eAAe,CAAS,CAC5B;QAEN,2BAAG,SAAS,EAAC,qBAAqB,yDAAuD;QAEzF,iCACG,eAAe,CAAC,OAAO,CAAC,oBAAoB,EAAE,QAAQ,CAAC,CAAC,OAAO,CAAC,oBAAoB,EAAE,EAAE,CAAC,CACtF,CACL,CACJ,CAAA;AACH,CAAC,CAAA;AAED,MAAM,CAAC,IAAM,OAAO,GAAG,cAAM,OAAA,CAC3B,oBAAC,MAAM,IAAC,SAAS,EAAE,mBAAmB,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,qBAE1E,CACV,EAJ4B,CAI5B,CAAA;AAED,MAAM,CAAC,IAAM,WAAW,GAAG,cAAM,OAAA,CAC/B,oBAAC,MAAM,IAAC,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,IAAI,uBAErC,CACV,EAJgC,CAIhC,CAAA;AAED,oDAAoD;AACpD,MAAM,CAAC,IAAM,YAAY,GAAG,cAAM,OAAA,CAChC,gCAAQ,KAAK,EAAE,EAAE,eAAe,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,0BAA8B,CAC1F,EAFiC,CAEjC,CAAA;AAED,kDAAkD;AAClD,YAAY,CAAC,UAAU,GAAG;IACxB,IAAI,EAAE;QACJ,MAAM,EAAE;YACN,KAAK,EAAE;gBACL;oBACE,EAAE,EAAE,gBAAgB;oBACpB,OAAO,EAAE,KAAK;iBACf;aACF;SACF;KACF;CACF,CAAA"}
|
|
@@ -6,7 +6,7 @@ export declare enum ButtonGroupSpacing {
|
|
|
6
6
|
}
|
|
7
7
|
export interface ButtonGroupProps {
|
|
8
8
|
/** Pass either Button components in, or fragments which can contain one or more buttons */
|
|
9
|
-
columns: React.
|
|
9
|
+
columns: React.ReactNode[];
|
|
10
10
|
/** Between spacing pushes the columns far apart, even spacing keeps them closer together */
|
|
11
11
|
spacing?: ButtonGroupSpacing;
|
|
12
12
|
/** When true, buttons will collapse to a single column on small screens and go full-width */
|
|
@@ -14,5 +14,5 @@ export interface ButtonGroupProps {
|
|
|
14
14
|
/** When true, the flex ordering of columns will reverse (aka RTL) */
|
|
15
15
|
reversed?: boolean;
|
|
16
16
|
}
|
|
17
|
-
declare const ButtonGroup: ({ spacing, columns, fullwidthMobile, reversed, }: ButtonGroupProps) => JSX.Element;
|
|
17
|
+
declare const ButtonGroup: ({ spacing, columns, fullwidthMobile, reversed, }: ButtonGroupProps) => React.JSX.Element;
|
|
18
18
|
export { ButtonGroup as default, ButtonGroup };
|
|
@@ -1,20 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
import { BADGES } from "../../.storybook/constants";
|
|
3
|
-
import ButtonGroupDocumentation from "./ButtonGroup.docs.mdx";
|
|
4
3
|
declare const _default: {
|
|
5
4
|
title: string;
|
|
6
5
|
id: string;
|
|
7
6
|
parameters: {
|
|
8
|
-
docs: {
|
|
9
|
-
page: typeof ButtonGroupDocumentation;
|
|
10
|
-
};
|
|
11
7
|
badges: BADGES[];
|
|
12
8
|
};
|
|
13
9
|
};
|
|
14
10
|
export default _default;
|
|
15
|
-
export declare const twoColumns: () => JSX.Element;
|
|
16
|
-
export declare const oneColumnLeft: () => JSX.Element;
|
|
17
|
-
export declare const oneColumnRight: () => JSX.Element;
|
|
18
|
-
export declare const oneColumnReversed: () => JSX.Element;
|
|
19
|
-
export declare const oneColumnCenter: () => JSX.Element;
|
|
20
|
-
export declare const twoColumnsFullwidthMobile: () => JSX.Element;
|
|
11
|
+
export declare const twoColumns: () => React.JSX.Element;
|
|
12
|
+
export declare const oneColumnLeft: () => React.JSX.Element;
|
|
13
|
+
export declare const oneColumnRight: () => React.JSX.Element;
|
|
14
|
+
export declare const oneColumnReversed: () => React.JSX.Element;
|
|
15
|
+
export declare const oneColumnCenter: () => React.JSX.Element;
|
|
16
|
+
export declare const twoColumnsFullwidthMobile: () => React.JSX.Element;
|
|
@@ -2,15 +2,11 @@ import * as React from "react";
|
|
|
2
2
|
import { BADGES } from "../../.storybook/constants";
|
|
3
3
|
import { AppearanceStyleType } from "../..";
|
|
4
4
|
import Button from "./Button";
|
|
5
|
-
import ButtonGroupDocumentation from "./ButtonGroup.docs.mdx";
|
|
6
5
|
import { ButtonGroup, ButtonGroupSpacing } from "./ButtonGroup";
|
|
7
6
|
export default {
|
|
8
7
|
title: "Actions/Button Group 🚩",
|
|
9
8
|
id: "actions-button-group",
|
|
10
9
|
parameters: {
|
|
11
|
-
docs: {
|
|
12
|
-
page: ButtonGroupDocumentation,
|
|
13
|
-
},
|
|
14
10
|
badges: [BADGES.GEN2],
|
|
15
11
|
},
|
|
16
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonGroup.stories.js","sourceRoot":"","sources":["../../../src/actions/ButtonGroup.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,MAAM,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"ButtonGroup.stories.js","sourceRoot":"","sources":["../../../src/actions/ButtonGroup.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,MAAM,MAAM,UAAU,CAAA;AAE7B,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAE/D,eAAe;IACb,KAAK,EAAE,yBAAyB;IAChC,EAAE,EAAE,sBAAsB;IAC1B,UAAU,EAAE;QACV,MAAM,EAAE,CAAC,MAAM,CAAC,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;AAED,MAAM,CAAC,IAAM,yBAAyB,GAAG,cAAM,OAAA,CAC7C,oBAAC,WAAW,IACV,OAAO,EAAE;QACP;YACE,oBAAC,MAAM,mBAAkB;YACzB,oBAAC,MAAM,IAAC,SAAS,EAAE,mBAAmB,CAAC,OAAO,qBAAyB,CACtE;QACH,oBAAC,MAAM,IAAC,SAAS,EAAE,mBAAmB,CAAC,OAAO,WAAe;KAC9D,EACD,eAAe,EAAE,IAAI,GACrB,CACH,EAX8C,CAW9C,CAAA"}
|
|
@@ -13,5 +13,5 @@ type ExpandableContentProps = {
|
|
|
13
13
|
className?: string;
|
|
14
14
|
order?: Order;
|
|
15
15
|
};
|
|
16
|
-
declare const ExpandableContent: ({ children, strings, className, order, }: ExpandableContentProps) => JSX.Element;
|
|
16
|
+
declare const ExpandableContent: ({ children, strings, className, order, }: ExpandableContentProps) => React.JSX.Element;
|
|
17
17
|
export { ExpandableContent as default, ExpandableContent };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
declare const _default: {
|
|
2
3
|
title: string;
|
|
3
4
|
};
|
|
4
5
|
export default _default;
|
|
5
|
-
export declare const standard: () => JSX.Element;
|
|
6
|
-
export declare const below: () => JSX.Element;
|
|
6
|
+
export declare const standard: () => React.JSX.Element;
|
|
7
|
+
export declare const below: () => React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import { MarkdownToJSX } from "markdown-to-jsx";
|
|
2
3
|
import "./ExpandableText.scss";
|
|
3
4
|
export interface ExpandableTextProps {
|
|
@@ -13,5 +14,5 @@ export interface ExpandableTextProps {
|
|
|
13
14
|
markdownProps?: MarkdownToJSX.Options;
|
|
14
15
|
buttonClassName?: string;
|
|
15
16
|
}
|
|
16
|
-
declare const ExpandableText: (props: ExpandableTextProps) => JSX.Element | null;
|
|
17
|
+
declare const ExpandableText: (props: ExpandableTextProps) => React.JSX.Element | null;
|
|
17
18
|
export { ExpandableText as default, ExpandableText };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
declare const _default: {
|
|
2
3
|
title: string;
|
|
3
4
|
};
|
|
4
5
|
export default _default;
|
|
5
|
-
export declare const standard: () => JSX.Element;
|
|
6
|
-
export declare const expanded: () => JSX.Element;
|
|
7
|
-
export declare const noExpansion: () => JSX.Element;
|
|
8
|
-
export declare const html: () => JSX.Element;
|
|
9
|
-
export declare const disableRawHtml: () => JSX.Element;
|
|
10
|
-
export declare const buttonClassName: () => JSX.Element;
|
|
6
|
+
export declare const standard: () => React.JSX.Element;
|
|
7
|
+
export declare const expanded: () => React.JSX.Element;
|
|
8
|
+
export declare const noExpansion: () => React.JSX.Element;
|
|
9
|
+
export declare const html: () => React.JSX.Element;
|
|
10
|
+
export declare const disableRawHtml: () => React.JSX.Element;
|
|
11
|
+
export declare const buttonClassName: () => React.JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import "./Button.scss";
|
|
2
3
|
import { ButtonProps } from "./Button";
|
|
3
4
|
export interface LinkButtonProps extends Omit<ButtonProps, "onClick"> {
|
|
@@ -6,5 +7,5 @@ export interface LinkButtonProps extends Omit<ButtonProps, "onClick"> {
|
|
|
6
7
|
newTab?: boolean;
|
|
7
8
|
newTabIcon?: boolean;
|
|
8
9
|
}
|
|
9
|
-
declare const LinkButton: (props: LinkButtonProps) => JSX.Element;
|
|
10
|
+
declare const LinkButton: (props: LinkButtonProps) => React.JSX.Element;
|
|
10
11
|
export { LinkButton as default, LinkButton };
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
+
import * as React from "react";
|
|
1
2
|
declare const _default: {
|
|
2
3
|
title: string;
|
|
3
4
|
};
|
|
4
5
|
export default _default;
|
|
5
|
-
export declare const standard: () => JSX.Element;
|
|
6
|
-
export declare const small: () => JSX.Element;
|
|
7
|
-
export declare const filled: () => JSX.Element;
|
|
8
|
-
export declare const SmallAndFilled: () => JSX.Element;
|
|
9
|
-
export declare const RegularCase: () => JSX.Element;
|
|
10
|
-
export declare const ExternalSameTab: () => JSX.Element;
|
|
11
|
-
export declare const ExternalNewTabIcon: () => JSX.Element;
|
|
12
|
-
export declare const UnstyledExternalNewTabIcon: () => JSX.Element;
|
|
6
|
+
export declare const standard: () => React.JSX.Element;
|
|
7
|
+
export declare const small: () => React.JSX.Element;
|
|
8
|
+
export declare const filled: () => React.JSX.Element;
|
|
9
|
+
export declare const SmallAndFilled: () => React.JSX.Element;
|
|
10
|
+
export declare const RegularCase: () => React.JSX.Element;
|
|
11
|
+
export declare const ExternalSameTab: () => React.JSX.Element;
|
|
12
|
+
export declare const ExternalNewTabIcon: () => React.JSX.Element;
|
|
13
|
+
export declare const UnstyledExternalNewTabIcon: () => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PropsWithChildren } from "react";
|
|
1
|
+
import React, { PropsWithChildren } from "react";
|
|
2
2
|
import { LinkProps } from "../config/NavigationContext";
|
|
3
|
-
declare const LocalizedLink: (props: PropsWithChildren<LinkProps>) => JSX.Element;
|
|
3
|
+
declare const LocalizedLink: (props: PropsWithChildren<LinkProps>) => React.JSX.Element;
|
|
4
4
|
export { LocalizedLink as default, LocalizedLink };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
import "./Video.scss";
|
|
2
3
|
declare enum VideoSource {
|
|
3
4
|
youtube = "youtube"
|
|
@@ -9,5 +10,5 @@ export interface VideoProps {
|
|
|
9
10
|
videoSource?: VideoSource;
|
|
10
11
|
ccLang?: string;
|
|
11
12
|
}
|
|
12
|
-
declare const Video: ({ videoId, videoSource, label, ccLang }: VideoProps) => JSX.Element;
|
|
13
|
+
declare const Video: ({ videoId, videoSource, label, ccLang }: VideoProps) => React.JSX.Element;
|
|
13
14
|
export { Video as default, Video };
|
|
@@ -18,5 +18,5 @@ interface ActionBlockProps {
|
|
|
18
18
|
layout?: ActionBlockLayout;
|
|
19
19
|
subheader?: string;
|
|
20
20
|
}
|
|
21
|
-
declare const ActionBlock: ({ actions, background, className, header, icon, layout, subheader, }: ActionBlockProps) => JSX.Element;
|
|
21
|
+
declare const ActionBlock: ({ actions, background, className, header, icon, layout, subheader, }: ActionBlockProps) => React.JSX.Element;
|
|
22
22
|
export { ActionBlock as default, ActionBlock };
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
1
2
|
declare const _default: {
|
|
2
3
|
title: string;
|
|
3
4
|
};
|
|
4
5
|
export default _default;
|
|
5
|
-
export declare const blockWithIcon: () => JSX.Element;
|
|
6
|
-
export declare const blockNoIconNoBackground: () => JSX.Element;
|
|
7
|
-
export declare const blockWithDarkerBg: () => JSX.Element;
|
|
8
|
-
export declare const blockWithSubheader: () => JSX.Element;
|
|
9
|
-
export declare const inlineBlock: () => JSX.Element;
|
|
10
|
-
export declare const inlineBlockWith2actions: () => JSX.Element;
|
|
11
|
-
export declare const inlineBlockWith2actionsAsLinks: () => JSX.Element;
|
|
6
|
+
export declare const blockWithIcon: () => React.JSX.Element;
|
|
7
|
+
export declare const blockNoIconNoBackground: () => React.JSX.Element;
|
|
8
|
+
export declare const blockWithDarkerBg: () => React.JSX.Element;
|
|
9
|
+
export declare const blockWithSubheader: () => React.JSX.Element;
|
|
10
|
+
export declare const inlineBlock: () => React.JSX.Element;
|
|
11
|
+
export declare const inlineBlockWith2actions: () => React.JSX.Element;
|
|
12
|
+
export declare const inlineBlockWith2actionsAsLinks: () => React.JSX.Element;
|
|
@@ -7,7 +7,7 @@ export interface CardHeaderProps {
|
|
|
7
7
|
className?: string;
|
|
8
8
|
children: React.ReactNode;
|
|
9
9
|
}
|
|
10
|
-
declare const CardHeader: (props: CardHeaderProps) => JSX.Element;
|
|
10
|
+
declare const CardHeader: (props: CardHeaderProps) => React.JSX.Element;
|
|
11
11
|
export interface CardSectionProps {
|
|
12
12
|
/**
|
|
13
13
|
* Whether to center the text within the section
|
|
@@ -18,22 +18,22 @@ export interface CardSectionProps {
|
|
|
18
18
|
className?: string;
|
|
19
19
|
children: React.ReactNode;
|
|
20
20
|
}
|
|
21
|
-
declare const CardSection: (props: CardSectionProps) => JSX.Element;
|
|
21
|
+
declare const CardSection: (props: CardSectionProps) => React.JSX.Element;
|
|
22
22
|
export interface CardFooterProps {
|
|
23
23
|
/** Additional class name */
|
|
24
24
|
className?: string;
|
|
25
25
|
children: React.ReactNode;
|
|
26
26
|
}
|
|
27
|
-
declare const CardFooter: (props: CardFooterProps) => JSX.Element;
|
|
27
|
+
declare const CardFooter: (props: CardFooterProps) => React.JSX.Element;
|
|
28
28
|
export interface CardProps {
|
|
29
29
|
/** Additional class name */
|
|
30
30
|
className?: string;
|
|
31
31
|
children: React.ReactNode;
|
|
32
32
|
}
|
|
33
33
|
declare const Card: {
|
|
34
|
-
(props: CardProps): JSX.Element;
|
|
35
|
-
Header: (props: CardHeaderProps) => JSX.Element;
|
|
36
|
-
Section: (props: CardSectionProps) => JSX.Element;
|
|
37
|
-
Footer: (props: CardFooterProps) => JSX.Element;
|
|
34
|
+
(props: CardProps): React.JSX.Element;
|
|
35
|
+
Header: (props: CardHeaderProps) => React.JSX.Element;
|
|
36
|
+
Section: (props: CardSectionProps) => React.JSX.Element;
|
|
37
|
+
Footer: (props: CardFooterProps) => React.JSX.Element;
|
|
38
38
|
};
|
|
39
39
|
export { Card as default, Card, CardHeader, CardSection, CardFooter };
|
|
@@ -1,18 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { BADGES } from "../../.storybook/constants";
|
|
3
|
-
import CardDocumentation from "./Card.docs.mdx";
|
|
4
3
|
declare const _default: {
|
|
5
4
|
title: string;
|
|
6
5
|
id: string;
|
|
7
6
|
parameters: {
|
|
8
|
-
docs: {
|
|
9
|
-
page: typeof CardDocumentation;
|
|
10
|
-
};
|
|
11
7
|
badges: BADGES[];
|
|
12
8
|
};
|
|
13
9
|
};
|
|
14
10
|
export default _default;
|
|
15
|
-
export declare const TextContent: () => JSX.Element;
|
|
16
|
-
export declare const MixedContent: () => JSX.Element;
|
|
17
|
-
export declare const HeaderFooterOnly: () => JSX.Element;
|
|
18
|
-
export declare const DetroitStyle: () => JSX.Element;
|
|
11
|
+
export declare const TextContent: () => React.JSX.Element;
|
|
12
|
+
export declare const MixedContent: () => React.JSX.Element;
|
|
13
|
+
export declare const HeaderFooterOnly: () => React.JSX.Element;
|
|
14
|
+
export declare const DetroitStyle: () => React.JSX.Element;
|
|
@@ -3,14 +3,10 @@ import { BADGES } from "../../.storybook/constants";
|
|
|
3
3
|
import { AppearanceStyleType, Button, ButtonGroup, ButtonGroupSpacing, LinkButton } from "../..";
|
|
4
4
|
import { HeadingGroup } from "../headers/HeadingGroup";
|
|
5
5
|
import Card from "./Card";
|
|
6
|
-
import CardDocumentation from "./Card.docs.mdx";
|
|
7
6
|
export default {
|
|
8
7
|
title: "Blocks/Card 🚩",
|
|
9
8
|
id: "blocks/card",
|
|
10
9
|
parameters: {
|
|
11
|
-
docs: {
|
|
12
|
-
page: CardDocumentation,
|
|
13
|
-
},
|
|
14
10
|
badges: [BADGES.GEN2],
|
|
15
11
|
},
|
|
16
12
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.stories.js","sourceRoot":"","sources":["../../../src/blocks/Card.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,EAAE,WAAW,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAChG,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AACtD,OAAO,IAAI,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"Card.stories.js","sourceRoot":"","sources":["../../../src/blocks/Card.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KA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AC,MAAM;oBACV,oBAAC,YAAY,IACX,eAAe,EAAE,CAAC,EAClB,OAAO,EAAC,0BAA0B,EAClC,UAAU,EAAC,qHAAqH,GAChI,CACU;gBAEd,oBAAC,IAAI,CAAC,OAAO,IAAC,SAAS,EAAC,UAAU;oBAChC,6BAAK,SAAS,EAAC,OAAO;wBACpB,+BAAO,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,gBAAgB,EAAC,EAAE,EAAC,SAAS,GAAG;wBACzD,+BAAO,OAAO,EAAC,SAAS,iBAAmB,CACvC;oBACN,6BAAK,SAAS,EAAC,OAAO;wBACpB,+BAAO,IAAI,EAAC,OAAO,EAAC,IAAI,EAAC,gBAAgB,EAAC,EAAE,EAAC,WAAW,GAAG;wBAC3D,+BAAO,OAAO,EAAC,WAAW,iBAAmB,CACzC,CACO;gBAEf,oBAAC,IAAI,CAAC,MAAM;oBACV,oBAAC,WAAW,IACV,OAAO,EAAE;4BACP,oBAAC,MAAM,mBAAkB;4BACzB,oBAAC,MAAM,IAAC,SAAS,EAAE,mBAAmB,CAAC,OAAO,WAAe;yBAC9D,GACD;oBACF,oBAAC,IAAI,CAAC,OAAO,IAAC,QAAQ,EAAE,IAAI;wBAC1B,oBAAC,UAAU,IAAC,IAAI,EAAC,GAAG,EAAC,QAAQ,QAAC,SAAS,EAAC,KAAK,qCAEhC,CACA,CACH,CACT;YACP,mCAAQ,eAAe,CAAS,CAC5B,CACL,CACJ,CAAA;AACH,CAAC,CAAA"}
|
|
@@ -8,5 +8,5 @@ interface DashBlockProps {
|
|
|
8
8
|
children?: React.ReactNode;
|
|
9
9
|
dataTestId?: string;
|
|
10
10
|
}
|
|
11
|
-
declare const DashBlock: (props: DashBlockProps) => JSX.Element;
|
|
11
|
+
declare const DashBlock: (props: DashBlockProps) => React.JSX.Element;
|
|
12
12
|
export { DashBlock as default, DashBlock };
|