@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 +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";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type AccordionHeadingProps } from "./components/AccordionHeading/AccordionHeading";
|
|
3
|
-
import { AccordionDisclosureListProps } from "./components/AccordionDisclosureList/AccordionDisclosureList";
|
|
4
|
-
/**
|
|
5
|
-
* Use the `Accordion` component to package together a title, content and a number of disclosure components into one section (maximum 10).
|
|
6
|
-
*/
|
|
7
|
-
export declare const Accordion: React.FC<AccordionProps>;
|
|
8
|
-
export interface AccordionProps extends Omit<AccordionHeadingProps, "isPadded">, AccordionDisclosureListProps {
|
|
9
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type DisclosureProps } from "@arc-ui/components/Disclosure";
|
|
3
|
-
export declare const AccordionDisclosureList: React.FC<AccordionDisclosureListProps>;
|
|
4
|
-
export interface AccordionDisclosureListProps {
|
|
5
|
-
/**
|
|
6
|
-
* Array of `Disclosure` components. Maximum 10 in one `Accordion`.
|
|
7
|
-
*/
|
|
8
|
-
disclosureList: (DisclosureProps & {
|
|
9
|
-
id: string;
|
|
10
|
-
})[];
|
|
11
|
-
}
|
package/dist/types/esm/components/Accordion/components/AccordionHeading/AccordionHeading.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import React 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 AccordionHeading: React.FC<AccordionHeadingProps>;
|
|
5
|
-
export interface AccordionHeadingProps {
|
|
6
|
-
/**
|
|
7
|
-
* heading for `AccordionHeading`.
|
|
8
|
-
*/
|
|
9
|
-
heading: string;
|
|
10
|
-
/**
|
|
11
|
-
* Adds padding to `AccordionHeading`.
|
|
12
|
-
*/
|
|
13
|
-
isPadded?: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* Determine a heading level for `AccordionHeading`.
|
|
16
|
-
*/
|
|
17
|
-
headingLevel?: HeadingLevel;
|
|
18
|
-
/**
|
|
19
|
-
* Text content for `AccordionHeading`.
|
|
20
|
-
*/
|
|
21
|
-
content?: string;
|
|
22
|
-
/**
|
|
23
|
-
* Id content for `AccordionHeading`.
|
|
24
|
-
*/
|
|
25
|
-
id?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Header image for the `AccordionHeading`.
|
|
28
|
-
*/
|
|
29
|
-
image?: ImageProps;
|
|
30
|
-
/**
|
|
31
|
-
* Header size for the `AccordionHeading`.
|
|
32
|
-
*/
|
|
33
|
-
headingSize?: "xl" | "m";
|
|
34
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { AccordionHeading, type AccordionHeadingProps, } from "./AccordionHeading";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Accordion, type AccordionProps } from "./Accordion";
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type TextSection } from "./types/text-section";
|
|
3
|
-
import { type LinkSection } from "./types/link-section";
|
|
4
|
-
import { type Topic } from "./types/topic";
|
|
5
|
-
import { type Share } from "./types/share";
|
|
6
|
-
import { type SidebarAuthor } from "./types/sidebar-author";
|
|
7
|
-
/**
|
|
8
|
-
* Use `ArticleSidebar` to provide additional information about the article.
|
|
9
|
-
*/
|
|
10
|
-
export declare const ArticleSidebar: React.FC<ArticleSidebarProps>;
|
|
11
|
-
export interface ArticleSidebarProps {
|
|
12
|
-
/**
|
|
13
|
-
* Props for Author component.
|
|
14
|
-
*/
|
|
15
|
-
author?: SidebarAuthor;
|
|
16
|
-
/**
|
|
17
|
-
* Content for the about section.
|
|
18
|
-
*/
|
|
19
|
-
aboutSection?: TextSection;
|
|
20
|
-
/**
|
|
21
|
-
* Array of headings and text for additional text sections.
|
|
22
|
-
*/
|
|
23
|
-
additionalContent?: TextSection[];
|
|
24
|
-
/**
|
|
25
|
-
* Links that are relevant to the article.
|
|
26
|
-
*/
|
|
27
|
-
linkSection: LinkSection;
|
|
28
|
-
/**
|
|
29
|
-
* Topics rendered as tags that are relevant to the article.
|
|
30
|
-
*/
|
|
31
|
-
topics?: Topic;
|
|
32
|
-
/**
|
|
33
|
-
* Sharing options for the article.
|
|
34
|
-
*/
|
|
35
|
-
share: Share;
|
|
36
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ArticleSidebar, type ArticleSidebarProps } from "./ArticleSidebar";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type AvatarProps } from "@arc-ui/components/Avatar";
|
|
3
|
-
export declare const Author: React.FC<AuthorProps>;
|
|
4
|
-
export interface AuthorProps {
|
|
5
|
-
/**
|
|
6
|
-
* Name of the Author.
|
|
7
|
-
*/
|
|
8
|
-
name: string;
|
|
9
|
-
/**
|
|
10
|
-
* Job title of the Author.
|
|
11
|
-
*/
|
|
12
|
-
title: string;
|
|
13
|
-
/**
|
|
14
|
-
* Optional Avatar for the Author.
|
|
15
|
-
*/
|
|
16
|
-
avatar?: AvatarProps;
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Author, type AuthorProps } from "./Author";
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
import { SectionHeadingProps } from "../SectionHeading";
|
|
3
|
-
import { TemplateBannerProps } from "@arc-ui/components/dist/types/components/TemplateBanner/TemplateBanner";
|
|
4
|
-
export declare const BannerWithTabs: FC<BannerWithTabsProps>;
|
|
5
|
-
export interface BannerWithTabsProps extends Omit<SectionHeadingProps, "image" | "isPadded"> {
|
|
6
|
-
/**
|
|
7
|
-
* Align `SectionHeading` component.
|
|
8
|
-
*/
|
|
9
|
-
alignTypography?: "left" | "center";
|
|
10
|
-
/**
|
|
11
|
-
* Default to an inital value of a tab. If this is left blank it will default to first tab.
|
|
12
|
-
*/
|
|
13
|
-
defaultValue?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Determine what tabs to render. They need both a `value` and `label` prop
|
|
16
|
-
*/
|
|
17
|
-
tabs: {
|
|
18
|
-
value: string;
|
|
19
|
-
label: string;
|
|
20
|
-
content: TemplateBannerProps;
|
|
21
|
-
}[];
|
|
22
|
-
/**
|
|
23
|
-
* Set the minimum height of the all banners M and above.
|
|
24
|
-
*/
|
|
25
|
-
minHeight?: number;
|
|
26
|
-
/**
|
|
27
|
-
* Set the minimum height all of the banner for the M breakpoint. This will be active when the TabbedBanner switches to the mobile layout at the medium breakpoint.
|
|
28
|
-
*/
|
|
29
|
-
minHeightM?: number;
|
|
30
|
-
/**
|
|
31
|
-
* heading for `SectionHeading`.
|
|
32
|
-
*/
|
|
33
|
-
heading: string;
|
|
34
|
-
/**
|
|
35
|
-
* Text content for `SectionHeading`.
|
|
36
|
-
*/
|
|
37
|
-
content?: string;
|
|
38
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { BannerWithTabs, type BannerWithTabsProps } from "./BannerWithTabs";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ContentInfoWidget, type ContentInfoWidgetProps, } from "./ContentInfoWidget";
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { type HeadingLevel } from "@arc-ui/components/dist/Heading";
|
|
3
|
-
import { type VideoPlayerProps } from "@arc-ui/components/dist/VideoPlayer";
|
|
4
|
-
import { type CopyLeadButton, type CopyLeadImage, type CopyLeadListItem } from "./types";
|
|
5
|
-
/**
|
|
6
|
-
* Use `CopyLead` to give supporting information about a page or proposition. It can be used to call out key benefits in bullet points, or link to a supporting explanatory video. An optional CTA can be used to link to further information or trigger a sales or enquiry journey.
|
|
7
|
-
*/
|
|
8
|
-
export declare const CopyLead: React.FC<CopyLeadProps>;
|
|
9
|
-
export interface CopyLeadProps {
|
|
10
|
-
/**
|
|
11
|
-
* heading for `CopyLead`.
|
|
12
|
-
*/
|
|
13
|
-
heading: string;
|
|
14
|
-
/**
|
|
15
|
-
* Determine a heading level for `<MediaTemplate />` and `<ContentTemplate />`
|
|
16
|
-
*/
|
|
17
|
-
headingLevel?: HeadingLevel;
|
|
18
|
-
/**
|
|
19
|
-
* 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.
|
|
20
|
-
*/
|
|
21
|
-
isReverseOrder?: boolean;
|
|
22
|
-
/**
|
|
23
|
-
* Text content for `CopyLead`.
|
|
24
|
-
*/
|
|
25
|
-
content?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Button for `CopyLead`.
|
|
28
|
-
*/
|
|
29
|
-
button?: CopyLeadButton;
|
|
30
|
-
/**
|
|
31
|
-
* Image for `CopyLead`.
|
|
32
|
-
*/
|
|
33
|
-
image?: CopyLeadImage;
|
|
34
|
-
/**
|
|
35
|
-
* Video embed. Supported platforms are YouTube and Vimeo.
|
|
36
|
-
*/
|
|
37
|
-
video?: VideoPlayerProps;
|
|
38
|
-
/**
|
|
39
|
-
* List items for `CopyLead`
|
|
40
|
-
*/
|
|
41
|
-
listItems: CopyLeadListItem[];
|
|
42
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Button } from "./Button";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Column } from "./Column";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Container } from "./Container";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { IconList } from "./IconList";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Image } from "./Image";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { type HeadingLevel } from "@arc-ui/components/Heading";
|
|
3
|
-
export declare const MediaContent: React.FC<MediaContentProps>;
|
|
4
|
-
interface MediaContentProps {
|
|
5
|
-
heading: string;
|
|
6
|
-
headingLevel?: HeadingLevel;
|
|
7
|
-
children?: string | ReactNode;
|
|
8
|
-
}
|
|
9
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { MediaContent } from "./MediaContent";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { CopyLead, type CopyLeadProps } from "./CopyLead";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { type SectionHeadingProps } from "../../../../components/SectionHeading";
|
|
3
|
-
import { type CopyLeadButton, type CopyLeadListItem } from "../../types";
|
|
4
|
-
export declare const ContentTemplate: React.FC<ContentTemplateProps>;
|
|
5
|
-
interface ContentTemplateProps extends SectionHeadingProps {
|
|
6
|
-
content: string | ReactNode;
|
|
7
|
-
listItems: CopyLeadListItem[];
|
|
8
|
-
button?: CopyLeadButton;
|
|
9
|
-
}
|
|
10
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ContentTemplate } from "./Content";
|