@arc-ui/community-components 2.0.0 → 3.0.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/.turbo/turbo-build.log +40 -10
- package/CHANGELOG.md +19 -0
- package/{dist/Accordion/Accordion.cjs.js → lib/Accordion/Accordion.cjs} +4 -4
- package/lib/Accordion/Accordion.mjs +10 -0
- package/{dist/ArticleSidebar/ArticleSidebar.cjs.js → lib/ArticleSidebar/ArticleSidebar.cjs} +3 -3
- package/{dist/ArticleSidebar/ArticleSidebar.esm.js → lib/ArticleSidebar/ArticleSidebar.mjs} +3 -3
- package/{dist/Author/Author.cjs.js → lib/Author/Author.cjs} +3 -3
- package/lib/Author/Author.mjs +8 -0
- package/{dist/BannerWithTabs/BannerWithTabs.cjs.js → lib/BannerWithTabs/BannerWithTabs.cjs} +4 -4
- package/{dist/BannerWithTabs/BannerWithTabs.esm.js → lib/BannerWithTabs/BannerWithTabs.mjs} +4 -4
- package/{dist/CopyLead/CopyLead.cjs.js → lib/CopyLead/CopyLead.cjs} +16 -9
- package/{dist/CopyLead/CopyLead.esm.js → lib/CopyLead/CopyLead.mjs} +16 -9
- package/{dist/DownloadList/DownloadList.cjs.js → lib/DownloadList/DownloadList.cjs} +4 -4
- package/{dist/DownloadList/DownloadList.esm.js → lib/DownloadList/DownloadList.mjs} +4 -4
- package/{dist/FAQs/FAQs.cjs.js → lib/FAQs/FAQs.cjs} +17 -12
- package/{dist/FAQs/FAQs.esm.js → lib/FAQs/FAQs.mjs} +17 -12
- package/lib/FAQs/styles.css +1 -0
- package/{dist/FeaturePost/FeaturePost.cjs.js → lib/FeaturePost/FeaturePost.cjs} +5 -5
- package/{dist/FeaturePost/FeaturePost.esm.js → lib/FeaturePost/FeaturePost.mjs} +5 -5
- package/{dist/Highlights/Highlights.cjs.js → lib/Highlights/Highlights.cjs} +37 -12
- package/{dist/Highlights/Highlights.esm.js → lib/Highlights/Highlights.mjs} +37 -12
- package/{dist/ProductNavigation/ProductNavigation.cjs.js → lib/ProductNavigation/ProductNavigation.cjs} +5 -5
- package/{dist/ProductNavigation/ProductNavigation.esm.js → lib/ProductNavigation/ProductNavigation.mjs} +5 -5
- package/lib/PromoListing/PromoListing.cjs +65 -0
- package/lib/PromoListing/PromoListing.mjs +63 -0
- package/lib/PromoListing/styles.css +1 -0
- package/{dist/Quote/Quote.cjs.js → lib/Quote/Quote.cjs} +4 -4
- package/{dist/Quote/Quote.esm.js → lib/Quote/Quote.mjs} +4 -4
- package/{dist/SectionHeading/SectionHeading.cjs.js → lib/SectionHeading/SectionHeading.cjs} +4 -4
- package/{dist/SectionHeading/SectionHeading.esm.js → lib/SectionHeading/SectionHeading.mjs} +4 -4
- package/{dist/Statistics/Statistics.cjs.js → lib/Statistics/Statistics.cjs} +4 -4
- package/{dist/Statistics/Statistics.esm.js → lib/Statistics/Statistics.mjs} +4 -4
- package/{dist/Summary/Summary.cjs.js → lib/Summary/Summary.cjs} +2 -2
- package/{dist/Summary/Summary.esm.js → lib/Summary/Summary.mjs} +2 -2
- package/{dist/_shared/cjs/Accordion-Bme0aSPi.js → lib/_shared/cjs/Accordion-C4XdbGCu.cjs} +5 -5
- package/{dist/_shared/cjs/Author-DltMey-3.js → lib/_shared/cjs/Author-X47pv31V.cjs} +2 -2
- package/{dist/_shared/cjs/SectionHeading-gjCR1F6E.js → lib/_shared/cjs/SectionHeading-DepTV4JA.cjs} +3 -3
- package/{dist/_shared/cjs/index.es-BVxxpECB.js → lib/_shared/cjs/index.es-D11PdokQ.cjs} +1 -1
- package/{dist/_shared/esm/Accordion-Brmx6oxT.js → lib/_shared/esm/Accordion-Ct7RuUbx.mjs} +5 -5
- package/{dist/_shared/esm/Author-DpT2Pcq_.js → lib/_shared/esm/Author-CydDYCma.mjs} +2 -2
- package/{dist/_shared/esm/SectionHeading-DVLKN_jI.js → lib/_shared/esm/SectionHeading-BayinGP_.mjs} +3 -3
- package/{dist/_shared/esm/index.es-CbCdNYwG.js → lib/_shared/esm/index.es-C4PyYMjI.mjs} +1 -1
- package/{dist/index.js → lib/index.cjs} +92 -42
- package/lib/index.cjs.map +1 -0
- package/lib/index.d.cts +528 -0
- package/lib/index.d.mts +528 -0
- package/{dist/index.es.js → lib/index.mjs} +92 -42
- package/lib/index.mjs.map +1 -0
- package/lib/styles.css +1 -0
- package/package.json +28 -28
- package/rollup.config.js +34 -50
- package/src/components/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.tsx +4 -0
- package/src/components/CopyLead/components/IconList/IconList.tsx +4 -2
- package/src/components/CopyLead/templates/Content/Content.tsx +13 -2
- package/src/components/CopyLead/templates/Media/Media.tsx +5 -1
- package/src/components/CopyLead/utils/getListHeadingLevel.ts +6 -0
- package/src/components/FAQs/FAQs.module.css +4 -4
- package/src/components/FAQs/FAQs.tsx +12 -6
- package/src/components/Highlights/Highlights.tsx +65 -7
- package/src/components/Highlights/components/HighlightItem/HighlightItem.tsx +7 -2
- package/src/components/Highlights/components/HighlightList/HighlightList.tsx +4 -0
- package/src/components/Highlights/utils/getListHeadingLevel.ts +6 -0
- package/src/components/PromoListing/PromoListing.module.css +36 -55
- package/src/components/PromoListing/PromoListing.tsx +72 -50
- package/versions.json +1 -1
- package/dist/Accordion/Accordion.esm.js +0 -10
- package/dist/Author/Author.esm.js +0 -8
- package/dist/FAQs/styles.css +0 -1
- package/dist/PromoListing/PromoListing.cjs.js +0 -51
- package/dist/PromoListing/PromoListing.esm.js +0 -49
- package/dist/PromoListing/styles.css +0 -1
- package/dist/index.es.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/styles.css +0 -1
- package/dist/types/cjs/components/Accordion/Accordion.d.ts +0 -9
- package/dist/types/cjs/components/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.d.ts +0 -11
- package/dist/types/cjs/components/Accordion/components/AccordionHeading/AccordionHeading.d.ts +0 -34
- package/dist/types/cjs/components/Accordion/components/AccordionHeading/index.d.ts +0 -1
- package/dist/types/cjs/components/Accordion/index.d.ts +0 -1
- package/dist/types/cjs/components/ArticleSidebar/ArticleSidebar.d.ts +0 -36
- package/dist/types/cjs/components/ArticleSidebar/index.d.ts +0 -1
- package/dist/types/cjs/components/ArticleSidebar/types/link-section.d.ts +0 -11
- package/dist/types/cjs/components/ArticleSidebar/types/share-button.d.ts +0 -7
- package/dist/types/cjs/components/ArticleSidebar/types/share.d.ts +0 -8
- package/dist/types/cjs/components/ArticleSidebar/types/sidebar-author.d.ts +0 -4
- package/dist/types/cjs/components/ArticleSidebar/types/text-section.d.ts +0 -6
- package/dist/types/cjs/components/ArticleSidebar/types/topic.d.ts +0 -7
- package/dist/types/cjs/components/Author/Author.d.ts +0 -17
- package/dist/types/cjs/components/Author/index.d.ts +0 -1
- package/dist/types/cjs/components/BannerWithTabs/BannerWithTabs.d.ts +0 -38
- package/dist/types/cjs/components/BannerWithTabs/index.d.ts +0 -1
- package/dist/types/cjs/components/ContentInfoWidget/ContentInfoWidget.d.ts +0 -6
- package/dist/types/cjs/components/ContentInfoWidget/index.d.ts +0 -1
- package/dist/types/cjs/components/CopyLead/CopyLead.d.ts +0 -42
- package/dist/types/cjs/components/CopyLead/components/Button/Button.d.ts +0 -3
- package/dist/types/cjs/components/CopyLead/components/Button/index.d.ts +0 -1
- package/dist/types/cjs/components/CopyLead/components/Column/Column.d.ts +0 -6
- package/dist/types/cjs/components/CopyLead/components/Column/index.d.ts +0 -1
- package/dist/types/cjs/components/CopyLead/components/Container/Container.d.ts +0 -9
- package/dist/types/cjs/components/CopyLead/components/Container/index.d.ts +0 -1
- package/dist/types/cjs/components/CopyLead/components/IconList/IconList.d.ts +0 -8
- package/dist/types/cjs/components/CopyLead/components/IconList/index.d.ts +0 -1
- package/dist/types/cjs/components/CopyLead/components/Image/Image.d.ts +0 -3
- package/dist/types/cjs/components/CopyLead/components/Image/index.d.ts +0 -1
- package/dist/types/cjs/components/CopyLead/components/MediaContent/MediaContent.d.ts +0 -9
- package/dist/types/cjs/components/CopyLead/components/MediaContent/index.d.ts +0 -1
- package/dist/types/cjs/components/CopyLead/index.d.ts +0 -1
- package/dist/types/cjs/components/CopyLead/templates/Content/Content.d.ts +0 -10
- package/dist/types/cjs/components/CopyLead/templates/Content/index.d.ts +0 -1
- package/dist/types/cjs/components/CopyLead/templates/Media/Media.d.ts +0 -16
- package/dist/types/cjs/components/CopyLead/templates/Media/index.d.ts +0 -1
- package/dist/types/cjs/components/CopyLead/types/copy-lead-button.d.ts +0 -2
- package/dist/types/cjs/components/CopyLead/types/copy-lead-image.d.ts +0 -4
- package/dist/types/cjs/components/CopyLead/types/copy-lead-list-item.d.ts +0 -5
- package/dist/types/cjs/components/CopyLead/types/copy-lead-transcript-link.d.ts +0 -6
- package/dist/types/cjs/components/CopyLead/types/index.d.ts +0 -4
- package/dist/types/cjs/components/DownloadList/DownloadList.d.ts +0 -7
- package/dist/types/cjs/components/DownloadList/index.d.ts +0 -1
- package/dist/types/cjs/components/FAQs/FAQs.d.ts +0 -13
- package/dist/types/cjs/components/FAQs/index.d.ts +0 -1
- package/dist/types/cjs/components/FeaturePost/FeaturePost.d.ts +0 -45
- package/dist/types/cjs/components/FeaturePost/components/Image/Image.d.ts +0 -3
- package/dist/types/cjs/components/FeaturePost/components/Image/index.d.ts +0 -1
- package/dist/types/cjs/components/FeaturePost/components/MediaContent/MediaContent.d.ts +0 -15
- package/dist/types/cjs/components/FeaturePost/index.d.ts +0 -1
- package/dist/types/cjs/components/FeaturePost/types/feature-post-app-button-footer.d.ts +0 -6
- package/dist/types/cjs/components/FeaturePost/types/feature-post-cta-footer.d.ts +0 -7
- package/dist/types/cjs/components/FeaturePost/types/feature-post-image.d.ts +0 -4
- package/dist/types/cjs/components/FeaturePost/types/index.d.ts +0 -3
- package/dist/types/cjs/components/Highlights/Highlights.d.ts +0 -17
- package/dist/types/cjs/components/Highlights/components/HighlightItem/HighlightItem.d.ts +0 -11
- package/dist/types/cjs/components/Highlights/components/HighlightList/HighlightList.d.ts +0 -9
- package/dist/types/cjs/components/Highlights/index.d.ts +0 -1
- package/dist/types/cjs/components/Highlights/types/highlight-link.d.ts +0 -5
- package/dist/types/cjs/components/Highlights/types/highlight-list-item.d.ts +0 -7
- package/dist/types/cjs/components/Highlights/types/index.d.ts +0 -2
- package/dist/types/cjs/components/ProductNavigation/ProductNavigation.d.ts +0 -49
- package/dist/types/cjs/components/ProductNavigation/index.d.ts +0 -2
- package/dist/types/cjs/components/ProductNavigation/types/index.d.ts +0 -1
- package/dist/types/cjs/components/ProductNavigation/types/product-list.d.ts +0 -6
- package/dist/types/cjs/components/PromoListing/PromoListing.d.ts +0 -38
- package/dist/types/cjs/components/PromoListing/index.d.ts +0 -1
- package/dist/types/cjs/components/Quote/Quote.d.ts +0 -11
- package/dist/types/cjs/components/Quote/index.d.ts +0 -1
- package/dist/types/cjs/components/SectionHeading/SectionHeading.d.ts +0 -30
- package/dist/types/cjs/components/SectionHeading/index.d.ts +0 -1
- package/dist/types/cjs/components/Statistics/Statistics.d.ts +0 -7
- package/dist/types/cjs/components/Statistics/helpers/get-link-props.d.ts +0 -2
- package/dist/types/cjs/components/Statistics/index.d.ts +0 -1
- package/dist/types/cjs/components/Statistics/types/statistic-link.d.ts +0 -6
- package/dist/types/cjs/components/Statistics/types/statistic.d.ts +0 -8
- package/dist/types/cjs/components/Summary/Summary.d.ts +0 -19
- package/dist/types/cjs/components/Summary/index.d.ts +0 -1
- package/dist/types/cjs/components/index.d.ts +0 -16
- package/dist/types/cjs/index.d.ts +0 -1
- package/dist/types/esm/components/Accordion/Accordion.d.ts +0 -9
- package/dist/types/esm/components/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.d.ts +0 -11
- package/dist/types/esm/components/Accordion/components/AccordionHeading/AccordionHeading.d.ts +0 -34
- package/dist/types/esm/components/Accordion/components/AccordionHeading/index.d.ts +0 -1
- package/dist/types/esm/components/Accordion/index.d.ts +0 -1
- package/dist/types/esm/components/ArticleSidebar/ArticleSidebar.d.ts +0 -36
- package/dist/types/esm/components/ArticleSidebar/index.d.ts +0 -1
- package/dist/types/esm/components/ArticleSidebar/types/link-section.d.ts +0 -11
- package/dist/types/esm/components/ArticleSidebar/types/share-button.d.ts +0 -7
- package/dist/types/esm/components/ArticleSidebar/types/share.d.ts +0 -8
- package/dist/types/esm/components/ArticleSidebar/types/sidebar-author.d.ts +0 -4
- package/dist/types/esm/components/ArticleSidebar/types/text-section.d.ts +0 -6
- package/dist/types/esm/components/ArticleSidebar/types/topic.d.ts +0 -7
- package/dist/types/esm/components/Author/Author.d.ts +0 -17
- package/dist/types/esm/components/Author/index.d.ts +0 -1
- package/dist/types/esm/components/BannerWithTabs/BannerWithTabs.d.ts +0 -38
- package/dist/types/esm/components/BannerWithTabs/index.d.ts +0 -1
- package/dist/types/esm/components/ContentInfoWidget/ContentInfoWidget.d.ts +0 -6
- package/dist/types/esm/components/ContentInfoWidget/index.d.ts +0 -1
- package/dist/types/esm/components/CopyLead/CopyLead.d.ts +0 -42
- package/dist/types/esm/components/CopyLead/components/Button/Button.d.ts +0 -3
- package/dist/types/esm/components/CopyLead/components/Button/index.d.ts +0 -1
- package/dist/types/esm/components/CopyLead/components/Column/Column.d.ts +0 -6
- package/dist/types/esm/components/CopyLead/components/Column/index.d.ts +0 -1
- package/dist/types/esm/components/CopyLead/components/Container/Container.d.ts +0 -9
- package/dist/types/esm/components/CopyLead/components/Container/index.d.ts +0 -1
- package/dist/types/esm/components/CopyLead/components/IconList/IconList.d.ts +0 -8
- package/dist/types/esm/components/CopyLead/components/IconList/index.d.ts +0 -1
- package/dist/types/esm/components/CopyLead/components/Image/Image.d.ts +0 -3
- package/dist/types/esm/components/CopyLead/components/Image/index.d.ts +0 -1
- package/dist/types/esm/components/CopyLead/components/MediaContent/MediaContent.d.ts +0 -9
- package/dist/types/esm/components/CopyLead/components/MediaContent/index.d.ts +0 -1
- package/dist/types/esm/components/CopyLead/index.d.ts +0 -1
- package/dist/types/esm/components/CopyLead/templates/Content/Content.d.ts +0 -10
- package/dist/types/esm/components/CopyLead/templates/Content/index.d.ts +0 -1
- package/dist/types/esm/components/CopyLead/templates/Media/Media.d.ts +0 -16
- package/dist/types/esm/components/CopyLead/templates/Media/index.d.ts +0 -1
- package/dist/types/esm/components/CopyLead/types/copy-lead-button.d.ts +0 -2
- package/dist/types/esm/components/CopyLead/types/copy-lead-image.d.ts +0 -4
- package/dist/types/esm/components/CopyLead/types/copy-lead-list-item.d.ts +0 -5
- package/dist/types/esm/components/CopyLead/types/copy-lead-transcript-link.d.ts +0 -6
- package/dist/types/esm/components/CopyLead/types/index.d.ts +0 -4
- package/dist/types/esm/components/DownloadList/DownloadList.d.ts +0 -7
- package/dist/types/esm/components/DownloadList/index.d.ts +0 -1
- package/dist/types/esm/components/FAQs/FAQs.d.ts +0 -13
- package/dist/types/esm/components/FAQs/index.d.ts +0 -1
- package/dist/types/esm/components/FeaturePost/FeaturePost.d.ts +0 -45
- package/dist/types/esm/components/FeaturePost/components/Image/Image.d.ts +0 -3
- package/dist/types/esm/components/FeaturePost/components/Image/index.d.ts +0 -1
- package/dist/types/esm/components/FeaturePost/components/MediaContent/MediaContent.d.ts +0 -15
- package/dist/types/esm/components/FeaturePost/index.d.ts +0 -1
- package/dist/types/esm/components/FeaturePost/types/feature-post-app-button-footer.d.ts +0 -6
- package/dist/types/esm/components/FeaturePost/types/feature-post-cta-footer.d.ts +0 -7
- package/dist/types/esm/components/FeaturePost/types/feature-post-image.d.ts +0 -4
- package/dist/types/esm/components/FeaturePost/types/index.d.ts +0 -3
- package/dist/types/esm/components/Highlights/Highlights.d.ts +0 -17
- package/dist/types/esm/components/Highlights/components/HighlightItem/HighlightItem.d.ts +0 -11
- package/dist/types/esm/components/Highlights/components/HighlightList/HighlightList.d.ts +0 -9
- package/dist/types/esm/components/Highlights/index.d.ts +0 -1
- package/dist/types/esm/components/Highlights/types/highlight-link.d.ts +0 -5
- package/dist/types/esm/components/Highlights/types/highlight-list-item.d.ts +0 -7
- package/dist/types/esm/components/Highlights/types/index.d.ts +0 -2
- package/dist/types/esm/components/ProductNavigation/ProductNavigation.d.ts +0 -49
- package/dist/types/esm/components/ProductNavigation/index.d.ts +0 -2
- package/dist/types/esm/components/ProductNavigation/types/index.d.ts +0 -1
- package/dist/types/esm/components/ProductNavigation/types/product-list.d.ts +0 -6
- package/dist/types/esm/components/PromoListing/PromoListing.d.ts +0 -38
- package/dist/types/esm/components/PromoListing/index.d.ts +0 -1
- package/dist/types/esm/components/Quote/Quote.d.ts +0 -11
- package/dist/types/esm/components/Quote/index.d.ts +0 -1
- package/dist/types/esm/components/SectionHeading/SectionHeading.d.ts +0 -30
- package/dist/types/esm/components/SectionHeading/index.d.ts +0 -1
- package/dist/types/esm/components/Statistics/Statistics.d.ts +0 -7
- package/dist/types/esm/components/Statistics/helpers/get-link-props.d.ts +0 -2
- package/dist/types/esm/components/Statistics/index.d.ts +0 -1
- package/dist/types/esm/components/Statistics/types/statistic-link.d.ts +0 -6
- package/dist/types/esm/components/Statistics/types/statistic.d.ts +0 -8
- package/dist/types/esm/components/Summary/Summary.d.ts +0 -19
- package/dist/types/esm/components/Summary/index.d.ts +0 -1
- package/dist/types/esm/components/index.d.ts +0 -16
- package/dist/types/esm/index.d.ts +0 -1
- /package/{dist → lib}/ArticleSidebar/styles.css +0 -0
- /package/{dist → lib}/Author/styles.css +0 -0
- /package/{dist → lib}/BannerWithTabs/styles.css +0 -0
- /package/{dist/ContentInfoWidget/ContentInfoWidget.cjs.js → lib/ContentInfoWidget/ContentInfoWidget.cjs} +0 -0
- /package/{dist/ContentInfoWidget/ContentInfoWidget.esm.js → lib/ContentInfoWidget/ContentInfoWidget.mjs} +0 -0
- /package/{dist → lib}/ContentInfoWidget/styles.css +0 -0
- /package/{dist → lib}/CopyLead/styles.css +0 -0
- /package/{dist → lib}/DownloadList/styles.css +0 -0
- /package/{dist → lib}/FeaturePost/styles.css +0 -0
- /package/{dist → lib}/Highlights/styles.css +0 -0
- /package/{dist → lib}/ProductNavigation/styles.css +0 -0
- /package/{dist → lib}/Quote/styles.css +0 -0
- /package/{dist → lib}/SectionHeading/styles.css +0 -0
- /package/{dist → lib}/Statistics/styles.css +0 -0
- /package/{dist → lib}/Summary/styles.css +0 -0
- /package/{dist/_shared/cjs/filter-data-attrs-ajtUvDAC.js → lib/_shared/cjs/filter-data-attrs-ajtUvDAC.cjs} +0 -0
- /package/{dist/_shared/cjs/index-Bp6Dd2i1.js → lib/_shared/cjs/index-Bp6Dd2i1.cjs} +0 -0
- /package/{dist/_shared/cjs/tslib.es6-BxB9I209.js → lib/_shared/cjs/tslib.es6-BxB9I209.cjs} +0 -0
- /package/{dist/_shared/esm/filter-data-attrs-V7cbJuwS.js → lib/_shared/esm/filter-data-attrs-V7cbJuwS.mjs} +0 -0
- /package/{dist/_shared/esm/index-BfTCfPZ1.js → lib/_shared/esm/index-BfTCfPZ1.mjs} +0 -0
- /package/{dist/_shared/esm/tslib.es6-D6Wu-xwB.js → lib/_shared/esm/tslib.es6-D6Wu-xwB.mjs} +0 -0
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { type HeadingLevel } from "@arc-ui/components/Heading";
|
|
3
|
-
import { type VideoPlayerProps } from "@arc-ui/components/VideoPlayer";
|
|
4
|
-
import { type CopyLeadButton, type CopyLeadImage, type CopyLeadListItem } from "../../types";
|
|
5
|
-
export declare const MediaTemplate: React.FC<MediaTemplateProps>;
|
|
6
|
-
interface MediaTemplateProps {
|
|
7
|
-
heading: string;
|
|
8
|
-
headingLevel?: HeadingLevel;
|
|
9
|
-
listItems: CopyLeadListItem[];
|
|
10
|
-
content?: string | ReactNode;
|
|
11
|
-
isReverseOrder?: boolean;
|
|
12
|
-
button?: CopyLeadButton;
|
|
13
|
-
image?: CopyLeadImage;
|
|
14
|
-
video?: VideoPlayerProps;
|
|
15
|
-
}
|
|
16
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { MediaTemplate } from "./Media";
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { type ImageSourceProps, type ImageProps as ArcImageProps } from "@arc-ui/components/dist/types/components/Image/Image";
|
|
2
|
-
export interface CopyLeadImage extends Pick<ArcImageProps, "src" | "alt" | "loading" | "sizes" | "srcSet" | "width" | "height" | "fadeOnLoad"> {
|
|
3
|
-
sources?: Pick<ImageSourceProps, "media" | "sizes" | "srcSet">[];
|
|
4
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type SectionHeadingProps } from "../SectionHeading";
|
|
3
|
-
import { type DownloadProps } from "@arc-ui/components/Download";
|
|
4
|
-
export declare const DownloadList: React.FC<DownloadListProps>;
|
|
5
|
-
export interface DownloadListProps extends Omit<SectionHeadingProps, "isPadded"> {
|
|
6
|
-
downloads: DownloadProps[];
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { DownloadList, type DownloadListProps } from "./DownloadList";
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type AccordionProps } from "../Accordion";
|
|
3
|
-
import { type SectionHeadingProps } from "../SectionHeading";
|
|
4
|
-
export declare const FAQs: React.FC<FAQsProps>;
|
|
5
|
-
interface ExtendedAccordionProps extends AccordionProps {
|
|
6
|
-
altLinkTitle?: string;
|
|
7
|
-
}
|
|
8
|
-
export interface FAQsProps extends SectionHeadingProps {
|
|
9
|
-
type: "list" | "listWithLinks" | "tabs";
|
|
10
|
-
linkListHeading?: string;
|
|
11
|
-
accordionData: ExtendedAccordionProps[];
|
|
12
|
-
}
|
|
13
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { FAQs, type FAQsProps } from "./FAQs";
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type HeadingLevel } from "@arc-ui/components/Heading";
|
|
3
|
-
import { type VideoPlayerProps } from "@arc-ui/components/VideoPlayer";
|
|
4
|
-
import { type FeaturePostAppButtonFooter, type FeaturePostCtaFooter, type FeaturePostImage } from "./types";
|
|
5
|
-
/**
|
|
6
|
-
* Use `FeaturePost` to direct traffic towards an article, case study, or product information page, or to a 3rd part App Store provider. Where the component links to an article page, the author attribution can be given here. The `FeaturePost` must be supported by an image, and in future, the component will support embedded video as well.
|
|
7
|
-
* */
|
|
8
|
-
export declare const FeaturePost: React.FC<FeaturePostProps>;
|
|
9
|
-
export interface FeaturePostProps {
|
|
10
|
-
/**
|
|
11
|
-
* heading for `FeaturePost`.
|
|
12
|
-
*/
|
|
13
|
-
heading: string;
|
|
14
|
-
/**
|
|
15
|
-
* Determine a heading level for `<FeaturePost />`
|
|
16
|
-
*/
|
|
17
|
-
headingLevel?: HeadingLevel;
|
|
18
|
-
/**
|
|
19
|
-
* Text content for `FeaturePost`.
|
|
20
|
-
*/
|
|
21
|
-
content: string;
|
|
22
|
-
/**
|
|
23
|
-
* Reverse the columns so the image / video appears on the left. Doesn't affect mobile layouts, and is only applied if there is a video or an image.
|
|
24
|
-
*/
|
|
25
|
-
isReverseOrder?: boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Image for `FeaturePost`.
|
|
28
|
-
*/
|
|
29
|
-
image?: FeaturePostImage;
|
|
30
|
-
/**
|
|
31
|
-
* Footer for `FeaturePost`. Types included are `cta` or `appButton`.
|
|
32
|
-
*/
|
|
33
|
-
footer?: FeaturePostCtaFooter | FeaturePostAppButtonFooter;
|
|
34
|
-
/**
|
|
35
|
-
* Label for `FeaturePost`.
|
|
36
|
-
*/
|
|
37
|
-
label?: {
|
|
38
|
-
text: string;
|
|
39
|
-
date: string | Date;
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* Video embed. Supported platforms are YouTube and Vimeo.
|
|
43
|
-
*/
|
|
44
|
-
video?: VideoPlayerProps;
|
|
45
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Image } from "./Image";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type VideoPlayerProps } from "@arc-ui/components/VideoPlayer";
|
|
3
|
-
import { type FeaturePostImage } from "../../types";
|
|
4
|
-
export declare const MediaContent: React.FC<MediaContentProps>;
|
|
5
|
-
interface MediaContentProps {
|
|
6
|
-
/**
|
|
7
|
-
* Image for `FeaturePost`.
|
|
8
|
-
*/
|
|
9
|
-
image?: FeaturePostImage;
|
|
10
|
-
/**
|
|
11
|
-
* Video embed. Supported platforms are YouTube and Vimeo.
|
|
12
|
-
*/
|
|
13
|
-
video?: VideoPlayerProps;
|
|
14
|
-
}
|
|
15
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { FeaturePost, type FeaturePostProps } from "./FeaturePost";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { type ButtonProps } from "@arc-ui/components/dist/types/components/Button/Button";
|
|
2
|
-
import { type AuthorProps } from "../../Author/Author";
|
|
3
|
-
export interface FeaturePostCtaFooter {
|
|
4
|
-
type: "cta";
|
|
5
|
-
button: Pick<ButtonProps, "label" | "onClick" | "href" | "target" | "ariaLabel">;
|
|
6
|
-
author?: AuthorProps;
|
|
7
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { type ImageSourceProps, type ImageProps as ArcImageProps } from "@arc-ui/components/dist/types/components/Image/Image";
|
|
2
|
-
export interface FeaturePostImage extends Pick<ArcImageProps, "src" | "alt" | "loading" | "sizes" | "srcSet" | "width" | "height" | "fadeOnLoad"> {
|
|
3
|
-
sources?: Pick<ImageSourceProps, "media" | "sizes" | "srcSet">[];
|
|
4
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type SectionHeadingProps } from "../SectionHeading";
|
|
3
|
-
import { type HighlightListItem } from "./types";
|
|
4
|
-
/**
|
|
5
|
-
* Use `Highlights` to give supporting information about a page or proposition. It can be used to call out key benefits in bullet points, or link. Both two and three column options are available.
|
|
6
|
-
*/
|
|
7
|
-
export declare const Highlights: React.FC<HighlightsProps>;
|
|
8
|
-
export interface HighlightsProps extends Omit<SectionHeadingProps, "isPadded"> {
|
|
9
|
-
/**
|
|
10
|
-
* List items for `Highlights`. List length should be a minimum of 2 and a maximum of 6.
|
|
11
|
-
*/
|
|
12
|
-
listItems: HighlightListItem[];
|
|
13
|
-
/**
|
|
14
|
-
* Number of columns for option desktop and tablet breakpoints only.
|
|
15
|
-
*/
|
|
16
|
-
columns?: "2" | "3";
|
|
17
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { type HighlightLink } from "../../types";
|
|
3
|
-
export declare const HighlightItem: React.FC<HighlightItemProps>;
|
|
4
|
-
interface HighlightItemProps {
|
|
5
|
-
icon?: string;
|
|
6
|
-
heading: string;
|
|
7
|
-
text?: string | ReactNode;
|
|
8
|
-
link?: HighlightLink;
|
|
9
|
-
isSmallIcon: boolean;
|
|
10
|
-
}
|
|
11
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type HighlightListItem } from "../../types/highlight-list-item";
|
|
3
|
-
export declare const HighlightList: React.FC<HighlightListProps>;
|
|
4
|
-
interface HighlightListProps {
|
|
5
|
-
listItems: HighlightListItem[];
|
|
6
|
-
columns: "2" | "3";
|
|
7
|
-
isSmallIcon: boolean;
|
|
8
|
-
}
|
|
9
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Highlights, type HighlightsProps } from "./Highlights";
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type SectionHeadingProps } from "../SectionHeading";
|
|
3
|
-
import { type ListProps } from "./types";
|
|
4
|
-
/**
|
|
5
|
-
* Use `ProductNavigation` to give a collection of product information cards collected within a grid that has optional show/hide capability
|
|
6
|
-
*/
|
|
7
|
-
export declare const ProductNavigation: React.FC<ProductNavigationProps>;
|
|
8
|
-
export interface ProductNavigationProps extends Omit<SectionHeadingProps, "isPadded"> {
|
|
9
|
-
/**
|
|
10
|
-
* List items for `ProductNavigation`.
|
|
11
|
-
*/
|
|
12
|
-
productList: ListProps[];
|
|
13
|
-
/**
|
|
14
|
-
* Include "show more" or "show less" buttons.
|
|
15
|
-
*/
|
|
16
|
-
hideButton?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Prevent "show less" button from appearing after full productList is displayed.
|
|
19
|
-
*/
|
|
20
|
-
hideShowLess?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Set default expand or collapse view of product on page load.
|
|
23
|
-
*/
|
|
24
|
-
defaultExpanded?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Set number of products to hide or show.
|
|
27
|
-
*/
|
|
28
|
-
listIncrement?: number;
|
|
29
|
-
/**
|
|
30
|
-
* Set number of products to show by default.
|
|
31
|
-
*/
|
|
32
|
-
cardsToDisplay?: number;
|
|
33
|
-
/**
|
|
34
|
-
* Custom onClick handler called everytime "show more" is pressed
|
|
35
|
-
*/
|
|
36
|
-
onClickMore?: () => void;
|
|
37
|
-
/**
|
|
38
|
-
* Custom onClick handler called everytime "show less" is pressed
|
|
39
|
-
*/
|
|
40
|
-
onClickLess?: () => void;
|
|
41
|
-
/**
|
|
42
|
-
* Set a loading state for the "show more" and "show less" buttons
|
|
43
|
-
*/
|
|
44
|
-
isLoading?: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Set minHeight for all products.
|
|
47
|
-
*/
|
|
48
|
-
minHeight?: number;
|
|
49
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { type ListProps } from "./product-list";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { InformationCardProps } from "@arc-ui/components/InformationCard";
|
|
2
|
-
import { ButtonV2Props } from "@arc-ui/components/types/components/ButtonV2/ButtonV2";
|
|
3
|
-
type ListInformationCardButtonProps = Pick<ButtonV2Props, "label" | "onClick" | "href">;
|
|
4
|
-
type ListInformationCardProps = Pick<InformationCardProps, "heading" | "text">;
|
|
5
|
-
export type ListProps = ListInformationCardButtonProps & ListInformationCardProps;
|
|
6
|
-
export {};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type SectionHeadingProps } from "../SectionHeading";
|
|
3
|
-
import { type MediaCardProps } from "@arc-ui/components/MediaCard";
|
|
4
|
-
import { type ImpactCardProps } from "@arc-ui/components/ImpactCard";
|
|
5
|
-
import { type InformationCardProps } from "@arc-ui/components/InformationCard";
|
|
6
|
-
import { type TypographyCardProps } from "@arc-ui/components/TypographyCard";
|
|
7
|
-
/**
|
|
8
|
-
* Use `PromoListing` to give supporting information about a page or proposition in the form of the card components (`ImpactCard`, `InformationCard`, `MediaCard` and `TypographyCard`).
|
|
9
|
-
*/
|
|
10
|
-
export declare const PromoListing: React.FC<PromoListingProps>;
|
|
11
|
-
interface PromoListMediaCard extends MediaCardProps {
|
|
12
|
-
type: "media-card";
|
|
13
|
-
}
|
|
14
|
-
interface PromoListImpactCard extends ImpactCardProps {
|
|
15
|
-
type: "impact-card";
|
|
16
|
-
}
|
|
17
|
-
interface PromoListInformationCard extends InformationCardProps {
|
|
18
|
-
type: "information-card";
|
|
19
|
-
}
|
|
20
|
-
interface PromoListTypographyCard extends TypographyCardProps {
|
|
21
|
-
type: "typography-card";
|
|
22
|
-
}
|
|
23
|
-
type PromoListCard = PromoListMediaCard | PromoListInformationCard | PromoListTypographyCard | PromoListImpactCard;
|
|
24
|
-
export interface PromoListingProps extends Omit<SectionHeadingProps, "isPadded"> {
|
|
25
|
-
/**
|
|
26
|
-
* Cards for the PromoListing.
|
|
27
|
-
*/
|
|
28
|
-
cards: PromoListCard[];
|
|
29
|
-
/**
|
|
30
|
-
* Shows cards in a carousel on devices below 1024px if true.
|
|
31
|
-
*/
|
|
32
|
-
isCarousel?: true;
|
|
33
|
-
/**
|
|
34
|
-
* Number of columns for desktop breakpoints. "2" and "3" column options available.
|
|
35
|
-
*/
|
|
36
|
-
columns?: "2" | "3";
|
|
37
|
-
}
|
|
38
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { PromoListing, type PromoListingProps } from "./PromoListing";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { AuthorProps } from "../Author/Author";
|
|
3
|
-
/**
|
|
4
|
-
* Use `Quote` where a quote or testimonial from an existing customer or stakeholder would help build trust and credibility with potential new customers. It's commonly used on product pages where customers would learn about a product or service that we offer.*/
|
|
5
|
-
export declare const Quote: React.FC<QuoteProps>;
|
|
6
|
-
export interface QuoteProps {
|
|
7
|
-
styling?: "Default" | "Secondary";
|
|
8
|
-
content: string;
|
|
9
|
-
author?: AuthorProps;
|
|
10
|
-
citeUrl?: string;
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Quote, type QuoteProps } from "./Quote";
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { type HeadingLevel } from "@arc-ui/components/Heading";
|
|
3
|
-
import { type ImageProps } from "@arc-ui/components/dist/types/components/Image/Image";
|
|
4
|
-
export declare const SectionHeading: React.FC<SectionHeadingProps>;
|
|
5
|
-
export interface SectionHeadingProps {
|
|
6
|
-
/**
|
|
7
|
-
* heading for `SectionHeading`.
|
|
8
|
-
*/
|
|
9
|
-
heading: string;
|
|
10
|
-
/**
|
|
11
|
-
* Adds padding to `SectionHeading`.
|
|
12
|
-
*/
|
|
13
|
-
isPadded?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Determine a heading level for `SectionHeading`.
|
|
16
|
-
*/
|
|
17
|
-
headingLevel?: HeadingLevel;
|
|
18
|
-
/**
|
|
19
|
-
* Text content for `SectionHeading`.
|
|
20
|
-
*/
|
|
21
|
-
content?: string | ReactNode;
|
|
22
|
-
/**
|
|
23
|
-
* Id content for `SectionHeading`.
|
|
24
|
-
*/
|
|
25
|
-
id?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Header image for the `SectionHeading`.
|
|
28
|
-
*/
|
|
29
|
-
image?: ImageProps;
|
|
30
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SectionHeading, type SectionHeadingProps } from "./SectionHeading";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type SectionHeadingProps } from "../SectionHeading";
|
|
3
|
-
import { type Statistic } from "./types/statistic";
|
|
4
|
-
export declare const Statistics: React.FC<StatisticsProps>;
|
|
5
|
-
export interface StatisticsProps extends Omit<SectionHeadingProps, "isPadded"> {
|
|
6
|
-
statistics: Statistic[];
|
|
7
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Statistics, type StatisticsProps } from "./Statistics";
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type HeadingLevel } from "@arc-ui/components/Heading";
|
|
3
|
-
export declare const Summary: React.FC<SummaryProps>;
|
|
4
|
-
interface SummaryContent {
|
|
5
|
-
heading: string;
|
|
6
|
-
text: string;
|
|
7
|
-
}
|
|
8
|
-
export interface SummaryProps {
|
|
9
|
-
/**
|
|
10
|
-
* Content for <Summary />
|
|
11
|
-
*/
|
|
12
|
-
content: [SummaryContent, SummaryContent, SummaryContent];
|
|
13
|
-
/**
|
|
14
|
-
* Determine a heading level for each column.
|
|
15
|
-
*/
|
|
16
|
-
headingLevel?: HeadingLevel;
|
|
17
|
-
noBorder?: boolean;
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Summary, type SummaryProps } from "./Summary";
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export * from "./Accordion";
|
|
2
|
-
export * from "./Author";
|
|
3
|
-
export * from "./CopyLead";
|
|
4
|
-
export * from "./DownloadList";
|
|
5
|
-
export * from "./FAQs";
|
|
6
|
-
export * from "./FeaturePost";
|
|
7
|
-
export * from "./Highlights";
|
|
8
|
-
export * from "./PromoListing";
|
|
9
|
-
export * from "./Quote";
|
|
10
|
-
export * from "./Summary";
|
|
11
|
-
export * from "./Statistics";
|
|
12
|
-
export * from "./BannerWithTabs";
|
|
13
|
-
export * from "./ArticleSidebar";
|
|
14
|
-
export * from "./ProductNavigation";
|
|
15
|
-
export * from "./SectionHeading";
|
|
16
|
-
export * from "./ContentInfoWidget";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./components";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|