@arc-ui/community-components 3.7.1 → 3.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +18 -17
- package/CHANGELOG.md +17 -0
- package/lib/ActionTile/ActionTile.cjs +2 -2
- package/lib/ActionTile/ActionTile.mjs +2 -2
- package/lib/ArticleCarousel/ArticleCarousel.cjs +1 -1
- package/lib/ArticleCarousel/ArticleCarousel.mjs +1 -1
- package/lib/CopyLead/CopyLead.cjs +1 -1
- package/lib/CopyLead/CopyLead.mjs +1 -1
- package/lib/FeaturePost/FeaturePost.cjs +1 -1
- package/lib/FeaturePost/FeaturePost.mjs +1 -1
- package/lib/InlineLinkGroup/InlineLinkGroup.cjs +2 -2
- package/lib/InlineLinkGroup/InlineLinkGroup.mjs +2 -2
- package/lib/PartnerBrandLogos/PartnerBrandLogos.cjs +57 -0
- package/lib/PartnerBrandLogos/PartnerBrandLogos.mjs +55 -0
- package/lib/PartnerBrandLogos/styles.css +1 -0
- package/lib/ProductNavigation/ProductNavigation.cjs +5 -3
- package/lib/ProductNavigation/ProductNavigation.mjs +5 -3
- package/lib/PromoListing/PromoListing.cjs +1 -1
- package/lib/PromoListing/PromoListing.mjs +1 -1
- package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.cjs +2 -1
- package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.mjs +2 -1
- package/lib/Summary/Summary.cjs +1 -1
- package/lib/Summary/Summary.mjs +1 -1
- package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +2 -1
- package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +2 -1
- package/lib/ThumbnailSignpost/styles.css +1 -1
- package/lib/_shared/cjs/{ThumbnailSignpost-ja1yxriK.cjs → ThumbnailSignpost-DymZmLlB.cjs} +6 -2
- package/lib/_shared/cjs/{index.es-Dg_lyAyh.cjs → index.es-B6sSN_JJ.cjs} +1 -1
- package/lib/_shared/esm/{ThumbnailSignpost-Cc21FjUJ.mjs → ThumbnailSignpost-D6uye3mm.mjs} +7 -3
- package/lib/_shared/esm/{index.es-DtCgfyRV.mjs → index.es-CYN3fovv.mjs} +1 -1
- package/lib/index.cjs +205 -154
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +75 -4
- package/lib/index.d.mts +75 -4
- package/lib/index.mjs +206 -156
- package/lib/index.mjs.map +1 -1
- package/lib/styles.css +1 -1
- package/package.json +14 -14
- package/src/components/ActionTile/ActionTile.tsx +9 -3
- package/src/components/InlineLinkGroup/InlineLinkGroup.tsx +4 -1
- package/src/components/PartnerBrandLogos/PartnerBrandLogos.module.css +8 -0
- package/src/components/PartnerBrandLogos/PartnerBrandLogos.tsx +141 -0
- package/src/components/PartnerBrandLogos/components/PartnerLogoSubgroup/PartnerLogoSubgroup.module.css +45 -0
- package/src/components/PartnerBrandLogos/components/PartnerLogoSubgroup/PartnerLogoSubgroup.tsx +96 -0
- package/src/components/PartnerBrandLogos/components/PartnerLogoSubgroup/index.ts +6 -0
- package/src/components/PartnerBrandLogos/index.ts +9 -0
- package/src/components/ProductNavigation/ProductNavigation.tsx +6 -5
- package/src/components/ThumbnailSignpost/ThumbnailSignpost.module.css +31 -1
- package/src/components/ThumbnailSignpost/ThumbnailSignpost.tsx +7 -2
- package/src/components/index.ts +1 -0
- package/versions.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React$1, { ReactNode, FC } from 'react';
|
|
2
|
-
import { HeadingLevel } from '@arc-ui/components/Heading';
|
|
2
|
+
import { HeadingLevel, HeadingProps } 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
5
|
import { MediaCardProps } from '@arc-ui/components/MediaCard';
|
|
@@ -15,6 +15,7 @@ import { TypographyCardProps } from '@arc-ui/components/TypographyCard';
|
|
|
15
15
|
import { TemplateBannerProps } from '@arc-ui/components/TemplateBanner';
|
|
16
16
|
import { TagProps } from '@arc-ui/components/Tag';
|
|
17
17
|
import { ReactPlayerProps } from 'react-player/types';
|
|
18
|
+
import { VerticalSpaceProps } from '@arc-ui/components/VerticalSpace';
|
|
18
19
|
|
|
19
20
|
interface AccordionHeadingProps {
|
|
20
21
|
/**
|
|
@@ -560,7 +561,7 @@ interface ProductNavigationProps extends Omit<SectionHeadingProps, "isPadded"> {
|
|
|
560
561
|
*/
|
|
561
562
|
productList: ListProps[];
|
|
562
563
|
/**
|
|
563
|
-
*
|
|
564
|
+
* Hide "show more" or "show less" button controls.
|
|
564
565
|
*/
|
|
565
566
|
hideButton?: boolean;
|
|
566
567
|
/**
|
|
@@ -641,6 +642,8 @@ declare const InlineLinkGroup: React$1.FC<InlineLinkGroupProps>;
|
|
|
641
642
|
interface InlineLinkGroupProps {
|
|
642
643
|
/** Optional overline label displayed above the link group */
|
|
643
644
|
label?: string;
|
|
645
|
+
/** Heading level for the label, defaults to "2" for proper heading hierarchy */
|
|
646
|
+
headingLevel?: "1" | "2" | "3" | "4" | "5" | "6";
|
|
644
647
|
/** Array of link items to display */
|
|
645
648
|
links: InlineLinkGroupItem[];
|
|
646
649
|
}
|
|
@@ -794,5 +797,73 @@ interface BusinessSegmentSwitcherProps {
|
|
|
794
797
|
}[];
|
|
795
798
|
}
|
|
796
799
|
|
|
797
|
-
|
|
798
|
-
|
|
800
|
+
/**
|
|
801
|
+
* Logo image source and alt text for screen reader accessibility.
|
|
802
|
+
*/
|
|
803
|
+
interface LogoTileItem {
|
|
804
|
+
/** Image source URL for the logo (e.g. an SVG or PNG path). */
|
|
805
|
+
src: string;
|
|
806
|
+
/** Alt text label to announce the logo to screen reader users. */
|
|
807
|
+
alt: string;
|
|
808
|
+
}
|
|
809
|
+
/**
|
|
810
|
+
* Subgroup data passed via the parent `subgroups` array.
|
|
811
|
+
*/
|
|
812
|
+
interface PartnerLogosSubgroup {
|
|
813
|
+
/** Optional subheading displayed above the logo grid. Fixed Size S Heading. */
|
|
814
|
+
subheading?: string;
|
|
815
|
+
/**
|
|
816
|
+
* Semantic heading level for the subheading. If omitted, it is automatically
|
|
817
|
+
* derived as one level below the parent headingLevel.
|
|
818
|
+
*/
|
|
819
|
+
subheadingLevel?: HeadingLevel;
|
|
820
|
+
/** Optional supporting description text. Size M, tone "supporting". */
|
|
821
|
+
text?: string;
|
|
822
|
+
/** Array of logo images to display in the grid. */
|
|
823
|
+
logos: LogoTileItem[];
|
|
824
|
+
/**
|
|
825
|
+
* Height of each logo tile in pixels.
|
|
826
|
+
* @default 72
|
|
827
|
+
*/
|
|
828
|
+
tileHeight?: number;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
declare const PartnerBrandLogos: React$1.FC<PartnerBrandLogosProps>;
|
|
832
|
+
/**
|
|
833
|
+
* Props for the `PartnerBrandLogos` page section component. Renders a heading,
|
|
834
|
+
* optional content, a padded ruler, and a list of partner logo subgroups.
|
|
835
|
+
*/
|
|
836
|
+
interface PartnerBrandLogosProps {
|
|
837
|
+
/** Main section heading text. */
|
|
838
|
+
heading: string;
|
|
839
|
+
/**
|
|
840
|
+
* Additional Arc Heading properties (e.g. `size`, `fontStyle`, `color`,
|
|
841
|
+
* `isWordWrap`, `casing`, `isResponsive`). Defaults to size "l", responsive.
|
|
842
|
+
*/
|
|
843
|
+
headingProps?: Omit<HeadingProps, "children" | "level">;
|
|
844
|
+
/**
|
|
845
|
+
* Semantic heading level for the main heading. Subgroup headings are
|
|
846
|
+
* automatically derived relative to this value.
|
|
847
|
+
* @default "2"
|
|
848
|
+
*/
|
|
849
|
+
headingLevel?: HeadingLevel;
|
|
850
|
+
/** Supporting content text below the heading. Supports paragraph breaks via `\n`. */
|
|
851
|
+
content?: string;
|
|
852
|
+
/** HTML `id` attribute applied to the main heading element. */
|
|
853
|
+
id?: string;
|
|
854
|
+
/**
|
|
855
|
+
* Vertical padding above the ruler. Accepts all VerticalSpace props.
|
|
856
|
+
* @default { size: "32" }
|
|
857
|
+
*/
|
|
858
|
+
rulerTopPadding?: VerticalSpaceProps;
|
|
859
|
+
/**
|
|
860
|
+
* Vertical padding below the ruler. Accepts all VerticalSpace props.
|
|
861
|
+
* @default { size: "32" }
|
|
862
|
+
*/
|
|
863
|
+
rulerBottomPadding?: VerticalSpaceProps;
|
|
864
|
+
/** Array of partner logo subgroups. */
|
|
865
|
+
subgroups: PartnerLogosSubgroup[];
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
export { Accordion, ActionTile, ArticleCarousel, ArticleSidebar, Author, BannerWithTabs, BusinessSegmentSwitcher, ContentInfoWidget, CopyLead, DownloadList, FAQs, FeaturePost, Highlights, InlineLinkGroup, LinkTile, PartnerBrandLogos, ProductNavigation, PromoListing, PromoListingThumbnailSignpost, Quote, SectionHeading, Statistics, Summary, ThumbnailSignpost, VideoHeroCard, VideoPortraitCard };
|
|
869
|
+
export type { AccordionProps, ActionTileProps, ArticleCarouselProps, ArticleSidebarProps, AuthorProps, BannerWithTabsProps, BentoGridContent, BentoInformationCard, BentoMediaCard, BusinessSegmentSwitcherProps, ContentInfoWidgetProps, CopyLeadProps, DownloadListProps, FAQsProps, FeaturePostProps, HighlightsProps, InlineLinkGroupItem, InlineLinkGroupProps, LinkTileProps, ListProps, LogoTileItem, PartnerBrandLogosProps, PartnerLogosSubgroup, ProductNavigationProps, PromoListingProps, PromoListingThumbnailSignpostProps, QuoteProps, SectionHeadingProps, StatisticsProps, SummaryProps, ThumbnailSignpostProps, VideoHeroCardProps, VideoPortraitCardProps };
|
package/lib/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React$1, { ReactNode, FC } from 'react';
|
|
2
|
-
import { HeadingLevel } from '@arc-ui/components/Heading';
|
|
2
|
+
import { HeadingLevel, HeadingProps } 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
5
|
import { MediaCardProps } from '@arc-ui/components/MediaCard';
|
|
@@ -15,6 +15,7 @@ import { TypographyCardProps } from '@arc-ui/components/TypographyCard';
|
|
|
15
15
|
import { TemplateBannerProps } from '@arc-ui/components/TemplateBanner';
|
|
16
16
|
import { TagProps } from '@arc-ui/components/Tag';
|
|
17
17
|
import { ReactPlayerProps } from 'react-player/types';
|
|
18
|
+
import { VerticalSpaceProps } from '@arc-ui/components/VerticalSpace';
|
|
18
19
|
|
|
19
20
|
interface AccordionHeadingProps {
|
|
20
21
|
/**
|
|
@@ -560,7 +561,7 @@ interface ProductNavigationProps extends Omit<SectionHeadingProps, "isPadded"> {
|
|
|
560
561
|
*/
|
|
561
562
|
productList: ListProps[];
|
|
562
563
|
/**
|
|
563
|
-
*
|
|
564
|
+
* Hide "show more" or "show less" button controls.
|
|
564
565
|
*/
|
|
565
566
|
hideButton?: boolean;
|
|
566
567
|
/**
|
|
@@ -641,6 +642,8 @@ declare const InlineLinkGroup: React$1.FC<InlineLinkGroupProps>;
|
|
|
641
642
|
interface InlineLinkGroupProps {
|
|
642
643
|
/** Optional overline label displayed above the link group */
|
|
643
644
|
label?: string;
|
|
645
|
+
/** Heading level for the label, defaults to "2" for proper heading hierarchy */
|
|
646
|
+
headingLevel?: "1" | "2" | "3" | "4" | "5" | "6";
|
|
644
647
|
/** Array of link items to display */
|
|
645
648
|
links: InlineLinkGroupItem[];
|
|
646
649
|
}
|
|
@@ -794,5 +797,73 @@ interface BusinessSegmentSwitcherProps {
|
|
|
794
797
|
}[];
|
|
795
798
|
}
|
|
796
799
|
|
|
797
|
-
|
|
798
|
-
|
|
800
|
+
/**
|
|
801
|
+
* Logo image source and alt text for screen reader accessibility.
|
|
802
|
+
*/
|
|
803
|
+
interface LogoTileItem {
|
|
804
|
+
/** Image source URL for the logo (e.g. an SVG or PNG path). */
|
|
805
|
+
src: string;
|
|
806
|
+
/** Alt text label to announce the logo to screen reader users. */
|
|
807
|
+
alt: string;
|
|
808
|
+
}
|
|
809
|
+
/**
|
|
810
|
+
* Subgroup data passed via the parent `subgroups` array.
|
|
811
|
+
*/
|
|
812
|
+
interface PartnerLogosSubgroup {
|
|
813
|
+
/** Optional subheading displayed above the logo grid. Fixed Size S Heading. */
|
|
814
|
+
subheading?: string;
|
|
815
|
+
/**
|
|
816
|
+
* Semantic heading level for the subheading. If omitted, it is automatically
|
|
817
|
+
* derived as one level below the parent headingLevel.
|
|
818
|
+
*/
|
|
819
|
+
subheadingLevel?: HeadingLevel;
|
|
820
|
+
/** Optional supporting description text. Size M, tone "supporting". */
|
|
821
|
+
text?: string;
|
|
822
|
+
/** Array of logo images to display in the grid. */
|
|
823
|
+
logos: LogoTileItem[];
|
|
824
|
+
/**
|
|
825
|
+
* Height of each logo tile in pixels.
|
|
826
|
+
* @default 72
|
|
827
|
+
*/
|
|
828
|
+
tileHeight?: number;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
declare const PartnerBrandLogos: React$1.FC<PartnerBrandLogosProps>;
|
|
832
|
+
/**
|
|
833
|
+
* Props for the `PartnerBrandLogos` page section component. Renders a heading,
|
|
834
|
+
* optional content, a padded ruler, and a list of partner logo subgroups.
|
|
835
|
+
*/
|
|
836
|
+
interface PartnerBrandLogosProps {
|
|
837
|
+
/** Main section heading text. */
|
|
838
|
+
heading: string;
|
|
839
|
+
/**
|
|
840
|
+
* Additional Arc Heading properties (e.g. `size`, `fontStyle`, `color`,
|
|
841
|
+
* `isWordWrap`, `casing`, `isResponsive`). Defaults to size "l", responsive.
|
|
842
|
+
*/
|
|
843
|
+
headingProps?: Omit<HeadingProps, "children" | "level">;
|
|
844
|
+
/**
|
|
845
|
+
* Semantic heading level for the main heading. Subgroup headings are
|
|
846
|
+
* automatically derived relative to this value.
|
|
847
|
+
* @default "2"
|
|
848
|
+
*/
|
|
849
|
+
headingLevel?: HeadingLevel;
|
|
850
|
+
/** Supporting content text below the heading. Supports paragraph breaks via `\n`. */
|
|
851
|
+
content?: string;
|
|
852
|
+
/** HTML `id` attribute applied to the main heading element. */
|
|
853
|
+
id?: string;
|
|
854
|
+
/**
|
|
855
|
+
* Vertical padding above the ruler. Accepts all VerticalSpace props.
|
|
856
|
+
* @default { size: "32" }
|
|
857
|
+
*/
|
|
858
|
+
rulerTopPadding?: VerticalSpaceProps;
|
|
859
|
+
/**
|
|
860
|
+
* Vertical padding below the ruler. Accepts all VerticalSpace props.
|
|
861
|
+
* @default { size: "32" }
|
|
862
|
+
*/
|
|
863
|
+
rulerBottomPadding?: VerticalSpaceProps;
|
|
864
|
+
/** Array of partner logo subgroups. */
|
|
865
|
+
subgroups: PartnerLogosSubgroup[];
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
export { Accordion, ActionTile, ArticleCarousel, ArticleSidebar, Author, BannerWithTabs, BusinessSegmentSwitcher, ContentInfoWidget, CopyLead, DownloadList, FAQs, FeaturePost, Highlights, InlineLinkGroup, LinkTile, PartnerBrandLogos, ProductNavigation, PromoListing, PromoListingThumbnailSignpost, Quote, SectionHeading, Statistics, Summary, ThumbnailSignpost, VideoHeroCard, VideoPortraitCard };
|
|
869
|
+
export type { AccordionProps, ActionTileProps, ArticleCarouselProps, ArticleSidebarProps, AuthorProps, BannerWithTabsProps, BentoGridContent, BentoInformationCard, BentoMediaCard, BusinessSegmentSwitcherProps, ContentInfoWidgetProps, CopyLeadProps, DownloadListProps, FAQsProps, FeaturePostProps, HighlightsProps, InlineLinkGroupItem, InlineLinkGroupProps, LinkTileProps, ListProps, LogoTileItem, PartnerBrandLogosProps, PartnerLogosSubgroup, ProductNavigationProps, PromoListingProps, PromoListingThumbnailSignpostProps, QuoteProps, SectionHeadingProps, StatisticsProps, SummaryProps, ThumbnailSignpostProps, VideoHeroCardProps, VideoPortraitCardProps };
|