@arc-ui/community-components 3.5.0 → 3.7.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 +12 -130
- package/CHANGELOG.md +21 -0
- package/lib/Accordion/Accordion.cjs +2 -2
- package/lib/Accordion/Accordion.mjs +2 -2
- package/lib/ActionTile/ActionTile.cjs +1 -1
- package/lib/ActionTile/ActionTile.mjs +1 -1
- package/lib/ArticleCarousel/ArticleCarousel.cjs +729 -0
- package/lib/ArticleCarousel/ArticleCarousel.mjs +727 -0
- package/lib/ArticleCarousel/styles.css +1 -0
- package/lib/ArticleSidebar/ArticleSidebar.cjs +1 -1
- package/lib/ArticleSidebar/ArticleSidebar.mjs +1 -1
- package/lib/BannerWithTabs/BannerWithTabs.cjs +4 -4
- package/lib/BannerWithTabs/BannerWithTabs.mjs +4 -4
- package/lib/CopyLead/CopyLead.cjs +4 -4
- package/lib/CopyLead/CopyLead.mjs +4 -4
- package/lib/DownloadList/DownloadList.cjs +2 -2
- package/lib/DownloadList/DownloadList.mjs +2 -2
- package/lib/FAQs/FAQs.cjs +3 -3
- package/lib/FAQs/FAQs.mjs +3 -3
- package/lib/FeaturePost/FeaturePost.cjs +2 -2
- package/lib/FeaturePost/FeaturePost.mjs +2 -2
- package/lib/Highlights/Highlights.cjs +3 -3
- package/lib/Highlights/Highlights.mjs +3 -3
- package/lib/LinkTile/LinkTile.cjs +1 -1
- package/lib/LinkTile/LinkTile.mjs +1 -1
- package/lib/ProductNavigation/ProductNavigation.cjs +3 -3
- package/lib/ProductNavigation/ProductNavigation.mjs +3 -3
- package/lib/PromoListing/PromoListing.cjs +3 -3
- package/lib/PromoListing/PromoListing.mjs +3 -3
- package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.cjs +3 -3
- package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.mjs +3 -3
- package/lib/Quote/Quote.cjs +1 -1
- package/lib/Quote/Quote.mjs +1 -1
- package/lib/SectionHeading/SectionHeading.cjs +2 -2
- package/lib/SectionHeading/SectionHeading.mjs +2 -2
- package/lib/SectionHeading/styles.css +1 -1
- package/lib/Statistics/Statistics.cjs +2 -2
- package/lib/Statistics/Statistics.mjs +2 -2
- package/lib/Summary/Summary.cjs +1 -1
- package/lib/Summary/Summary.mjs +1 -1
- package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +2 -2
- package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +2 -2
- package/lib/VideoHeroCard/VideoHeroCard.cjs +2 -2
- package/lib/VideoHeroCard/VideoHeroCard.mjs +2 -2
- package/lib/VideoPortraitCard/VideoPortraitCard.cjs +2 -2
- package/lib/VideoPortraitCard/VideoPortraitCard.mjs +2 -2
- package/lib/_shared/cjs/{Accordion-DfNGOjTm.cjs → Accordion-B-BRosyE.cjs} +1 -1
- package/lib/_shared/cjs/{SectionHeading-DeSFM0HV.cjs → SectionHeading-DtYzFetD.cjs} +4 -3
- package/lib/_shared/cjs/{ThumbnailSignpost-GkOiwt-Z.cjs → ThumbnailSignpost-ja1yxriK.cjs} +1 -1
- package/lib/_shared/cjs/{VideoCardThumbnail-N5iC-cAU.cjs → VideoCardThumbnail-BM3GwyWR.cjs} +11 -10
- package/lib/_shared/{esm/index-BfTCfPZ1.mjs → cjs/index-B7Z7sgRq.cjs} +7 -1
- package/lib/_shared/cjs/{index-oGP6D6gL.cjs → index-BGNF6yCj.cjs} +1 -0
- package/lib/_shared/cjs/{index.es-B0J3cvrY.cjs → index.es-wrFG9PCg.cjs} +5 -1
- package/lib/_shared/cjs/{react-caXJFZ8W.cjs → react-8_kK_34Q.cjs} +1 -0
- package/lib/_shared/cjs/{react-DxToimBj.cjs → react-BVW2E3Ju.cjs} +1 -0
- package/lib/_shared/cjs/{react-CEvhi3LL.cjs → react-C95IDXkb.cjs} +1 -0
- package/lib/_shared/cjs/{react-fep2ei7j.cjs → react-DEb3W7_U.cjs} +1 -0
- package/lib/_shared/cjs/{react-JTfV8OSA.cjs → react-DRXlSgKY.cjs} +1 -0
- package/lib/_shared/cjs/{react-Dri2yjKm.cjs → react-Dd-Q2uS-.cjs} +1 -0
- package/lib/_shared/cjs/{react-CqsEClV0.cjs → react-ECcHB5Kq.cjs} +1 -0
- package/lib/_shared/cjs/{react-DE6M3seI.cjs → react-vuFaIB1V.cjs} +1 -0
- package/lib/_shared/esm/{Accordion-DSRlkcXi.mjs → Accordion-CKN8n0ky.mjs} +1 -1
- package/lib/_shared/esm/{SectionHeading-DSwsdNSp.mjs → SectionHeading-RLfs7ete.mjs} +4 -3
- package/lib/_shared/esm/{ThumbnailSignpost-BtaHAB0h.mjs → ThumbnailSignpost-Cc21FjUJ.mjs} +1 -1
- package/lib/_shared/esm/{VideoCardThumbnail-Tbh7Xi-X.mjs → VideoCardThumbnail-K6eHIeAM.mjs} +11 -10
- package/lib/_shared/esm/{index-CrcIrdjn.mjs → index-B2vIgafu.mjs} +1 -0
- package/lib/_shared/{cjs/index-Bp6Dd2i1.cjs → esm/index-BSO2EFem.mjs} +2 -2
- package/lib/_shared/esm/{index.es-DraZ-qKh.mjs → index.es-B3fdEoEm.mjs} +4 -2
- package/lib/_shared/esm/{react-BHT4t_eQ.mjs → react-BO_cEkGE.mjs} +1 -0
- package/lib/_shared/esm/{react-WW_9iHcl.mjs → react-BTJe4u4H.mjs} +1 -0
- package/lib/_shared/esm/{react-CSr43fZV.mjs → react-BwRGWqib.mjs} +1 -0
- package/lib/_shared/esm/{react-DZyqy7W7.mjs → react-CTKNh9bz.mjs} +1 -0
- package/lib/_shared/esm/{react-DG070IvZ.mjs → react-CscJmqQg.mjs} +1 -0
- package/lib/_shared/esm/{react-BGimq-TB.mjs → react-DHSUdG2R.mjs} +1 -0
- package/lib/_shared/esm/{react-BSd0sGcO.mjs → react-XaxcR2wG.mjs} +1 -0
- package/lib/_shared/esm/{react-Ca6E7Fr-.mjs → react-eIcgqtF9.mjs} +1 -0
- package/lib/index.cjs +777 -59
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +70 -36
- package/lib/index.d.mts +70 -36
- package/lib/index.mjs +778 -61
- package/lib/index.mjs.map +1 -1
- package/lib/styles.css +1 -1
- package/package.json +17 -14
- package/rollup.config.js +13 -0
- package/src/components/ArticleCarousel/ArticleCarousel.module.css +65 -0
- package/src/components/ArticleCarousel/ArticleCarousel.tsx +134 -0
- package/src/components/ArticleCarousel/index.ts +1 -0
- package/src/components/BannerWithTabs/BannerWithTabs.tsx +7 -0
- package/src/components/CopyLead/templates/Media/Media.tsx +7 -1
- package/src/components/Highlights/Highlights.tsx +2 -1
- package/src/components/SectionHeading/SectionHeading.module.css +4 -0
- package/src/components/SectionHeading/SectionHeading.tsx +6 -0
- package/src/components/index.ts +1 -0
- package/src/helpers/arc-breakpoints.ts +37 -0
- package/versions.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -2,13 +2,13 @@ import React$1, { ReactNode, FC } from 'react';
|
|
|
2
2
|
import { HeadingLevel } from '@arc-ui/components/Heading';
|
|
3
3
|
import { ImageProps, ImageSourceProps } from '@arc-ui/components/Image';
|
|
4
4
|
import { DisclosureProps } from '@arc-ui/components/Disclosure';
|
|
5
|
+
import { MediaCardProps } from '@arc-ui/components/MediaCard';
|
|
5
6
|
import { AvatarProps } from '@arc-ui/components/Avatar';
|
|
6
7
|
import { VideoPlayerProps } from '@arc-ui/components/VideoPlayer';
|
|
7
8
|
import { ButtonProps } from '@arc-ui/components/Button';
|
|
8
9
|
import { DownloadProps } from '@arc-ui/components/Download';
|
|
9
10
|
import { AppButtonProps } from '@arc-ui/components/AppButton';
|
|
10
11
|
import { ButtonV2Props } from '@arc-ui/components/ButtonV2';
|
|
11
|
-
import { MediaCardProps } from '@arc-ui/components/MediaCard';
|
|
12
12
|
import { ImpactCardProps } from '@arc-ui/components/ImpactCard';
|
|
13
13
|
import { InformationCardProps } from '@arc-ui/components/InformationCard';
|
|
14
14
|
import { TypographyCardProps } from '@arc-ui/components/TypographyCard';
|
|
@@ -63,6 +63,68 @@ declare const Accordion: React$1.FC<AccordionProps>;
|
|
|
63
63
|
interface AccordionProps extends Omit<AccordionHeadingProps, "isPadded">, AccordionDisclosureListProps {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
+
declare const SectionHeading: React$1.FC<SectionHeadingProps>;
|
|
67
|
+
interface SectionHeadingProps {
|
|
68
|
+
/**
|
|
69
|
+
* heading for `SectionHeading`.
|
|
70
|
+
*/
|
|
71
|
+
heading: string;
|
|
72
|
+
/**
|
|
73
|
+
* Adds padding to `SectionHeading`.
|
|
74
|
+
*/
|
|
75
|
+
isPadded?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Determine a heading level for `SectionHeading`.
|
|
78
|
+
*/
|
|
79
|
+
headingLevel?: HeadingLevel;
|
|
80
|
+
/**
|
|
81
|
+
* Word wrap behavior for the heading
|
|
82
|
+
*/
|
|
83
|
+
isHeadingWordWrap?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Text content for `SectionHeading`.
|
|
86
|
+
*/
|
|
87
|
+
content?: string | ReactNode;
|
|
88
|
+
/**
|
|
89
|
+
* Id content for `SectionHeading`.
|
|
90
|
+
*/
|
|
91
|
+
id?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Header image for the `SectionHeading`.
|
|
94
|
+
*/
|
|
95
|
+
image?: ImageProps;
|
|
96
|
+
/**
|
|
97
|
+
* Is Heading centered. Only intended to be used when no content is provided and the heading is alone.
|
|
98
|
+
*/
|
|
99
|
+
isCentered?: boolean;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Use `ArticleCarousel` to give supporting information about a page or proposition in the form of the `Carousel` containing only `MediaCard` components.
|
|
104
|
+
*/
|
|
105
|
+
declare const ArticleCarousel: React$1.FC<ArticleCarouselProps>;
|
|
106
|
+
interface ArticleCarouselProps extends SectionHeadingProps {
|
|
107
|
+
/**
|
|
108
|
+
* Cards object of MediaCards for Carousel to display.
|
|
109
|
+
*/
|
|
110
|
+
cards: MediaCardProps[];
|
|
111
|
+
/**
|
|
112
|
+
* Determine if MediaCards are displayed in their contained or uncontained styles.
|
|
113
|
+
*/
|
|
114
|
+
cardsContained?: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* Determine minimum height of cards per breakpoint.
|
|
117
|
+
*/
|
|
118
|
+
minHeights?: {
|
|
119
|
+
xxl?: number;
|
|
120
|
+
xl?: number;
|
|
121
|
+
l?: number;
|
|
122
|
+
m?: number;
|
|
123
|
+
s?: number;
|
|
124
|
+
xs?: number;
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
|
|
66
128
|
declare const Author: React$1.FC<AuthorProps>;
|
|
67
129
|
interface AuthorProps {
|
|
68
130
|
/**
|
|
@@ -138,38 +200,6 @@ interface CopyLeadProps {
|
|
|
138
200
|
listItems: CopyLeadListItem[];
|
|
139
201
|
}
|
|
140
202
|
|
|
141
|
-
declare const SectionHeading: React$1.FC<SectionHeadingProps>;
|
|
142
|
-
interface SectionHeadingProps {
|
|
143
|
-
/**
|
|
144
|
-
* heading for `SectionHeading`.
|
|
145
|
-
*/
|
|
146
|
-
heading: string;
|
|
147
|
-
/**
|
|
148
|
-
* Adds padding to `SectionHeading`.
|
|
149
|
-
*/
|
|
150
|
-
isPadded?: boolean;
|
|
151
|
-
/**
|
|
152
|
-
* Determine a heading level for `SectionHeading`.
|
|
153
|
-
*/
|
|
154
|
-
headingLevel?: HeadingLevel;
|
|
155
|
-
/**
|
|
156
|
-
* Word wrap behavior for the heading
|
|
157
|
-
*/
|
|
158
|
-
isHeadingWordWrap?: boolean;
|
|
159
|
-
/**
|
|
160
|
-
* Text content for `SectionHeading`.
|
|
161
|
-
*/
|
|
162
|
-
content?: string | ReactNode;
|
|
163
|
-
/**
|
|
164
|
-
* Id content for `SectionHeading`.
|
|
165
|
-
*/
|
|
166
|
-
id?: string;
|
|
167
|
-
/**
|
|
168
|
-
* Header image for the `SectionHeading`.
|
|
169
|
-
*/
|
|
170
|
-
image?: ImageProps;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
203
|
declare const DownloadList: React$1.FC<DownloadListProps>;
|
|
174
204
|
interface DownloadListProps extends Omit<SectionHeadingProps, "isPadded"> {
|
|
175
205
|
downloads: DownloadProps[];
|
|
@@ -292,7 +322,7 @@ interface HighlightsProps extends Omit<SectionHeadingProps, "isPadded"> {
|
|
|
292
322
|
/**
|
|
293
323
|
* CTA configuration for Highlights
|
|
294
324
|
*/
|
|
295
|
-
type HighlightsCTAProps = Pick<ButtonV2Props, "label" | "href" | "onClick" | "iconPosition" | "ariaLabel"> & {
|
|
325
|
+
type HighlightsCTAProps = Pick<ButtonV2Props, "label" | "href" | "onClick" | "iconPosition" | "ariaLabel" | "target"> & {
|
|
296
326
|
/**
|
|
297
327
|
* Allowed button styles only.
|
|
298
328
|
* Primary is intentionally NOT supported.
|
|
@@ -438,6 +468,10 @@ interface BannerWithTabsProps extends Omit<SectionHeadingProps, "image" | "isPad
|
|
|
438
468
|
* heading for `SectionHeading`.
|
|
439
469
|
*/
|
|
440
470
|
heading: string;
|
|
471
|
+
/**
|
|
472
|
+
* Heading level for `SectionHeading`.
|
|
473
|
+
*/
|
|
474
|
+
headingLevel?: HeadingLevel;
|
|
441
475
|
/**
|
|
442
476
|
* Text content for `SectionHeading`.
|
|
443
477
|
*/
|
|
@@ -760,5 +794,5 @@ interface BusinessSegmentSwitcherProps {
|
|
|
760
794
|
}[];
|
|
761
795
|
}
|
|
762
796
|
|
|
763
|
-
export { Accordion, ActionTile, ArticleSidebar, Author, BannerWithTabs, BusinessSegmentSwitcher, ContentInfoWidget, CopyLead, DownloadList, FAQs, FeaturePost, Highlights, InlineLinkGroup, LinkTile, ProductNavigation, PromoListing, PromoListingThumbnailSignpost, Quote, SectionHeading, Statistics, Summary, ThumbnailSignpost, VideoHeroCard, VideoPortraitCard };
|
|
764
|
-
export type { AccordionProps, ActionTileProps, ArticleSidebarProps, AuthorProps, BannerWithTabsProps, BentoGridContent, BentoInformationCard, BentoMediaCard, BusinessSegmentSwitcherProps, ContentInfoWidgetProps, CopyLeadProps, DownloadListProps, FAQsProps, FeaturePostProps, HighlightsProps, InlineLinkGroupItem, InlineLinkGroupProps, LinkTileProps, ListProps, ProductNavigationProps, PromoListingProps, PromoListingThumbnailSignpostProps, QuoteProps, SectionHeadingProps, StatisticsProps, SummaryProps, ThumbnailSignpostProps, VideoHeroCardProps, VideoPortraitCardProps };
|
|
797
|
+
export { Accordion, ActionTile, ArticleCarousel, ArticleSidebar, Author, BannerWithTabs, BusinessSegmentSwitcher, ContentInfoWidget, CopyLead, DownloadList, FAQs, FeaturePost, Highlights, InlineLinkGroup, LinkTile, ProductNavigation, PromoListing, PromoListingThumbnailSignpost, Quote, SectionHeading, Statistics, Summary, ThumbnailSignpost, VideoHeroCard, VideoPortraitCard };
|
|
798
|
+
export type { AccordionProps, ActionTileProps, ArticleCarouselProps, ArticleSidebarProps, AuthorProps, BannerWithTabsProps, BentoGridContent, BentoInformationCard, BentoMediaCard, BusinessSegmentSwitcherProps, ContentInfoWidgetProps, CopyLeadProps, DownloadListProps, FAQsProps, FeaturePostProps, HighlightsProps, InlineLinkGroupItem, InlineLinkGroupProps, LinkTileProps, ListProps, ProductNavigationProps, PromoListingProps, PromoListingThumbnailSignpostProps, QuoteProps, SectionHeadingProps, StatisticsProps, SummaryProps, ThumbnailSignpostProps, VideoHeroCardProps, VideoPortraitCardProps };
|
package/lib/index.d.mts
CHANGED
|
@@ -2,13 +2,13 @@ import React$1, { ReactNode, FC } from 'react';
|
|
|
2
2
|
import { HeadingLevel } from '@arc-ui/components/Heading';
|
|
3
3
|
import { ImageProps, ImageSourceProps } from '@arc-ui/components/Image';
|
|
4
4
|
import { DisclosureProps } from '@arc-ui/components/Disclosure';
|
|
5
|
+
import { MediaCardProps } from '@arc-ui/components/MediaCard';
|
|
5
6
|
import { AvatarProps } from '@arc-ui/components/Avatar';
|
|
6
7
|
import { VideoPlayerProps } from '@arc-ui/components/VideoPlayer';
|
|
7
8
|
import { ButtonProps } from '@arc-ui/components/Button';
|
|
8
9
|
import { DownloadProps } from '@arc-ui/components/Download';
|
|
9
10
|
import { AppButtonProps } from '@arc-ui/components/AppButton';
|
|
10
11
|
import { ButtonV2Props } from '@arc-ui/components/ButtonV2';
|
|
11
|
-
import { MediaCardProps } from '@arc-ui/components/MediaCard';
|
|
12
12
|
import { ImpactCardProps } from '@arc-ui/components/ImpactCard';
|
|
13
13
|
import { InformationCardProps } from '@arc-ui/components/InformationCard';
|
|
14
14
|
import { TypographyCardProps } from '@arc-ui/components/TypographyCard';
|
|
@@ -63,6 +63,68 @@ declare const Accordion: React$1.FC<AccordionProps>;
|
|
|
63
63
|
interface AccordionProps extends Omit<AccordionHeadingProps, "isPadded">, AccordionDisclosureListProps {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
+
declare const SectionHeading: React$1.FC<SectionHeadingProps>;
|
|
67
|
+
interface SectionHeadingProps {
|
|
68
|
+
/**
|
|
69
|
+
* heading for `SectionHeading`.
|
|
70
|
+
*/
|
|
71
|
+
heading: string;
|
|
72
|
+
/**
|
|
73
|
+
* Adds padding to `SectionHeading`.
|
|
74
|
+
*/
|
|
75
|
+
isPadded?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Determine a heading level for `SectionHeading`.
|
|
78
|
+
*/
|
|
79
|
+
headingLevel?: HeadingLevel;
|
|
80
|
+
/**
|
|
81
|
+
* Word wrap behavior for the heading
|
|
82
|
+
*/
|
|
83
|
+
isHeadingWordWrap?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Text content for `SectionHeading`.
|
|
86
|
+
*/
|
|
87
|
+
content?: string | ReactNode;
|
|
88
|
+
/**
|
|
89
|
+
* Id content for `SectionHeading`.
|
|
90
|
+
*/
|
|
91
|
+
id?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Header image for the `SectionHeading`.
|
|
94
|
+
*/
|
|
95
|
+
image?: ImageProps;
|
|
96
|
+
/**
|
|
97
|
+
* Is Heading centered. Only intended to be used when no content is provided and the heading is alone.
|
|
98
|
+
*/
|
|
99
|
+
isCentered?: boolean;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Use `ArticleCarousel` to give supporting information about a page or proposition in the form of the `Carousel` containing only `MediaCard` components.
|
|
104
|
+
*/
|
|
105
|
+
declare const ArticleCarousel: React$1.FC<ArticleCarouselProps>;
|
|
106
|
+
interface ArticleCarouselProps extends SectionHeadingProps {
|
|
107
|
+
/**
|
|
108
|
+
* Cards object of MediaCards for Carousel to display.
|
|
109
|
+
*/
|
|
110
|
+
cards: MediaCardProps[];
|
|
111
|
+
/**
|
|
112
|
+
* Determine if MediaCards are displayed in their contained or uncontained styles.
|
|
113
|
+
*/
|
|
114
|
+
cardsContained?: boolean;
|
|
115
|
+
/**
|
|
116
|
+
* Determine minimum height of cards per breakpoint.
|
|
117
|
+
*/
|
|
118
|
+
minHeights?: {
|
|
119
|
+
xxl?: number;
|
|
120
|
+
xl?: number;
|
|
121
|
+
l?: number;
|
|
122
|
+
m?: number;
|
|
123
|
+
s?: number;
|
|
124
|
+
xs?: number;
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
|
|
66
128
|
declare const Author: React$1.FC<AuthorProps>;
|
|
67
129
|
interface AuthorProps {
|
|
68
130
|
/**
|
|
@@ -138,38 +200,6 @@ interface CopyLeadProps {
|
|
|
138
200
|
listItems: CopyLeadListItem[];
|
|
139
201
|
}
|
|
140
202
|
|
|
141
|
-
declare const SectionHeading: React$1.FC<SectionHeadingProps>;
|
|
142
|
-
interface SectionHeadingProps {
|
|
143
|
-
/**
|
|
144
|
-
* heading for `SectionHeading`.
|
|
145
|
-
*/
|
|
146
|
-
heading: string;
|
|
147
|
-
/**
|
|
148
|
-
* Adds padding to `SectionHeading`.
|
|
149
|
-
*/
|
|
150
|
-
isPadded?: boolean;
|
|
151
|
-
/**
|
|
152
|
-
* Determine a heading level for `SectionHeading`.
|
|
153
|
-
*/
|
|
154
|
-
headingLevel?: HeadingLevel;
|
|
155
|
-
/**
|
|
156
|
-
* Word wrap behavior for the heading
|
|
157
|
-
*/
|
|
158
|
-
isHeadingWordWrap?: boolean;
|
|
159
|
-
/**
|
|
160
|
-
* Text content for `SectionHeading`.
|
|
161
|
-
*/
|
|
162
|
-
content?: string | ReactNode;
|
|
163
|
-
/**
|
|
164
|
-
* Id content for `SectionHeading`.
|
|
165
|
-
*/
|
|
166
|
-
id?: string;
|
|
167
|
-
/**
|
|
168
|
-
* Header image for the `SectionHeading`.
|
|
169
|
-
*/
|
|
170
|
-
image?: ImageProps;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
203
|
declare const DownloadList: React$1.FC<DownloadListProps>;
|
|
174
204
|
interface DownloadListProps extends Omit<SectionHeadingProps, "isPadded"> {
|
|
175
205
|
downloads: DownloadProps[];
|
|
@@ -292,7 +322,7 @@ interface HighlightsProps extends Omit<SectionHeadingProps, "isPadded"> {
|
|
|
292
322
|
/**
|
|
293
323
|
* CTA configuration for Highlights
|
|
294
324
|
*/
|
|
295
|
-
type HighlightsCTAProps = Pick<ButtonV2Props, "label" | "href" | "onClick" | "iconPosition" | "ariaLabel"> & {
|
|
325
|
+
type HighlightsCTAProps = Pick<ButtonV2Props, "label" | "href" | "onClick" | "iconPosition" | "ariaLabel" | "target"> & {
|
|
296
326
|
/**
|
|
297
327
|
* Allowed button styles only.
|
|
298
328
|
* Primary is intentionally NOT supported.
|
|
@@ -438,6 +468,10 @@ interface BannerWithTabsProps extends Omit<SectionHeadingProps, "image" | "isPad
|
|
|
438
468
|
* heading for `SectionHeading`.
|
|
439
469
|
*/
|
|
440
470
|
heading: string;
|
|
471
|
+
/**
|
|
472
|
+
* Heading level for `SectionHeading`.
|
|
473
|
+
*/
|
|
474
|
+
headingLevel?: HeadingLevel;
|
|
441
475
|
/**
|
|
442
476
|
* Text content for `SectionHeading`.
|
|
443
477
|
*/
|
|
@@ -760,5 +794,5 @@ interface BusinessSegmentSwitcherProps {
|
|
|
760
794
|
}[];
|
|
761
795
|
}
|
|
762
796
|
|
|
763
|
-
export { Accordion, ActionTile, ArticleSidebar, Author, BannerWithTabs, BusinessSegmentSwitcher, ContentInfoWidget, CopyLead, DownloadList, FAQs, FeaturePost, Highlights, InlineLinkGroup, LinkTile, ProductNavigation, PromoListing, PromoListingThumbnailSignpost, Quote, SectionHeading, Statistics, Summary, ThumbnailSignpost, VideoHeroCard, VideoPortraitCard };
|
|
764
|
-
export type { AccordionProps, ActionTileProps, ArticleSidebarProps, AuthorProps, BannerWithTabsProps, BentoGridContent, BentoInformationCard, BentoMediaCard, BusinessSegmentSwitcherProps, ContentInfoWidgetProps, CopyLeadProps, DownloadListProps, FAQsProps, FeaturePostProps, HighlightsProps, InlineLinkGroupItem, InlineLinkGroupProps, LinkTileProps, ListProps, ProductNavigationProps, PromoListingProps, PromoListingThumbnailSignpostProps, QuoteProps, SectionHeadingProps, StatisticsProps, SummaryProps, ThumbnailSignpostProps, VideoHeroCardProps, VideoPortraitCardProps };
|
|
797
|
+
export { Accordion, ActionTile, ArticleCarousel, ArticleSidebar, Author, BannerWithTabs, BusinessSegmentSwitcher, ContentInfoWidget, CopyLead, DownloadList, FAQs, FeaturePost, Highlights, InlineLinkGroup, LinkTile, ProductNavigation, PromoListing, PromoListingThumbnailSignpost, Quote, SectionHeading, Statistics, Summary, ThumbnailSignpost, VideoHeroCard, VideoPortraitCard };
|
|
798
|
+
export type { AccordionProps, ActionTileProps, ArticleCarouselProps, ArticleSidebarProps, AuthorProps, BannerWithTabsProps, BentoGridContent, BentoInformationCard, BentoMediaCard, BusinessSegmentSwitcherProps, ContentInfoWidgetProps, CopyLeadProps, DownloadListProps, FAQsProps, FeaturePostProps, HighlightsProps, InlineLinkGroupItem, InlineLinkGroupProps, LinkTileProps, ListProps, ProductNavigationProps, PromoListingProps, PromoListingThumbnailSignpostProps, QuoteProps, SectionHeadingProps, StatisticsProps, SummaryProps, ThumbnailSignpostProps, VideoHeroCardProps, VideoPortraitCardProps };
|