@arc-ui/community-components 3.8.1 → 3.10.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.
Files changed (70) hide show
  1. package/.turbo/turbo-build.log +17 -16
  2. package/CHANGELOG.md +25 -0
  3. package/generate-versions.js +48 -1
  4. package/lib/ActionTile/ActionTile.cjs +10 -9
  5. package/lib/ActionTile/ActionTile.mjs +10 -9
  6. package/lib/ActionTile/styles.css +1 -1
  7. package/lib/ArticleCarousel/ArticleCarousel.cjs +3 -2
  8. package/lib/ArticleCarousel/ArticleCarousel.mjs +3 -2
  9. package/lib/BannerWithTabs/BannerWithTabs.cjs +2 -1
  10. package/lib/BannerWithTabs/BannerWithTabs.mjs +2 -1
  11. package/lib/BusinessSegmentSwitcher/BusinessSegmentSwitcher.cjs +2 -1
  12. package/lib/BusinessSegmentSwitcher/BusinessSegmentSwitcher.mjs +2 -1
  13. package/lib/CopyLead/CopyLead.cjs +2 -2
  14. package/lib/CopyLead/CopyLead.mjs +2 -2
  15. package/lib/DownloadList/DownloadList.cjs +12 -9
  16. package/lib/DownloadList/DownloadList.mjs +12 -9
  17. package/lib/DownloadList/styles.css +1 -1
  18. package/lib/FAQs/FAQs.cjs +2 -1
  19. package/lib/FAQs/FAQs.mjs +2 -1
  20. package/lib/FeaturePost/FeaturePost.cjs +1 -1
  21. package/lib/FeaturePost/FeaturePost.mjs +1 -1
  22. package/lib/HeaderBarNotification/HeaderBarNotification.cjs +57 -0
  23. package/lib/HeaderBarNotification/HeaderBarNotification.mjs +55 -0
  24. package/lib/HeaderBarNotification/styles.css +1 -0
  25. package/lib/Highlights/Highlights.cjs +2 -1
  26. package/lib/Highlights/Highlights.mjs +2 -1
  27. package/lib/ProductNavigation/ProductNavigation.cjs +20 -19
  28. package/lib/ProductNavigation/ProductNavigation.mjs +20 -19
  29. package/lib/PromoListing/PromoListing.cjs +5 -4
  30. package/lib/PromoListing/PromoListing.mjs +5 -4
  31. package/lib/PromoListing/styles.css +1 -1
  32. package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.cjs +2 -1
  33. package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.mjs +2 -1
  34. package/lib/SectionHeading/SectionHeading.cjs +2 -1
  35. package/lib/SectionHeading/SectionHeading.mjs +2 -1
  36. package/lib/SectionHeading/styles.css +1 -1
  37. package/lib/Statistics/Statistics.cjs +1 -1
  38. package/lib/Statistics/Statistics.mjs +1 -1
  39. package/lib/Summary/Summary.cjs +1 -1
  40. package/lib/Summary/Summary.mjs +1 -1
  41. package/lib/_shared/cjs/SectionHeading-XCMdv8eZ.cjs +34 -0
  42. package/lib/_shared/cjs/{index.es-B6sSN_JJ.cjs → index.es-B73RVhhj.cjs} +1 -1
  43. package/lib/_shared/esm/SectionHeading-lyXLUtdr.mjs +32 -0
  44. package/lib/_shared/esm/{index.es-CYN3fovv.mjs → index.es-DNGykRl2.mjs} +1 -1
  45. package/lib/index.cjs +106 -54
  46. package/lib/index.cjs.map +1 -1
  47. package/lib/index.d.cts +61 -7
  48. package/lib/index.d.mts +61 -7
  49. package/lib/index.mjs +107 -56
  50. package/lib/index.mjs.map +1 -1
  51. package/lib/styles.css +1 -1
  52. package/package.json +14 -14
  53. package/src/components/ActionTile/ActionTile.module.css +20 -1
  54. package/src/components/ActionTile/ActionTile.tsx +11 -14
  55. package/src/components/BusinessSegmentSwitcher/BusinessSegmentSwitcher.tsx +5 -1
  56. package/src/components/BusinessSegmentSwitcher/types/types.ts +6 -3
  57. package/src/components/DownloadList/DownloadList.module.css +11 -3
  58. package/src/components/DownloadList/DownloadList.tsx +33 -17
  59. package/src/components/HeaderBarNotification/HeaderBarNotification.module.css +51 -0
  60. package/src/components/HeaderBarNotification/HeaderBarNotification.tsx +153 -0
  61. package/src/components/HeaderBarNotification/index.ts +4 -0
  62. package/src/components/ProductNavigation/ProductNavigation.tsx +42 -38
  63. package/src/components/PromoListing/PromoListing.module.css +14 -0
  64. package/src/components/PromoListing/PromoListing.tsx +1 -1
  65. package/src/components/SectionHeading/SectionHeading.module.css +7 -26
  66. package/src/components/SectionHeading/SectionHeading.tsx +35 -33
  67. package/src/components/index.ts +1 -0
  68. package/versions.json +1 -1
  69. package/lib/_shared/cjs/SectionHeading-DtYzFetD.cjs +0 -31
  70. package/lib/_shared/esm/SectionHeading-RLfs7ete.mjs +0 -29
package/lib/index.d.cts CHANGED
@@ -1,4 +1,5 @@
1
1
  import React$1, { ReactNode, FC } from 'react';
2
+ import { NavigationHeaderActionProps } from '@arc-ui/components/NavigationHeader';
2
3
  import { HeadingLevel, HeadingProps } from '@arc-ui/components/Heading';
3
4
  import { ImageProps, ImageSourceProps } from '@arc-ui/components/Image';
4
5
  import { DisclosureProps } from '@arc-ui/components/Disclosure';
@@ -17,6 +18,49 @@ import { TagProps } from '@arc-ui/components/Tag';
17
18
  import { ReactPlayerProps } from 'react-player/types';
18
19
  import { VerticalSpaceProps } from '@arc-ui/components/VerticalSpace';
19
20
 
21
+ declare const HeaderBarNotification: React$1.FC<HeaderBarNotificationProps>;
22
+ interface HeaderBarNotificationProps {
23
+ /**
24
+ * Header Element to attach the notifcation too.
25
+ */
26
+ headerActionProps: NavigationHeaderActionProps;
27
+ /**
28
+ * Nofication ID used to store dismissal in users session
29
+ */
30
+ notificationId: string;
31
+ /**
32
+ * Always show on every reload, ignore saving dismissal to users session
33
+ */
34
+ isPersistant?: boolean;
35
+ /**
36
+ * Notification Icon
37
+ */
38
+ icon?: string;
39
+ /**
40
+ * Notification Image
41
+ */
42
+ image?: string;
43
+ /**
44
+ * Notification Heading
45
+ */
46
+ heading: string;
47
+ /**
48
+ * Notification tagline
49
+ */
50
+ tagline?: string;
51
+ /**
52
+ * Notification content
53
+ */
54
+ children?: React$1.ReactNode;
55
+ /**
56
+ * Data for the button, click events and text
57
+ */
58
+ button?: {
59
+ handleClick: () => void;
60
+ text: string;
61
+ };
62
+ }
63
+
20
64
  interface AccordionHeadingProps {
21
65
  /**
22
66
  * heading for `AccordionHeading`.
@@ -203,7 +247,14 @@ interface CopyLeadProps {
203
247
 
204
248
  declare const DownloadList: React$1.FC<DownloadListProps>;
205
249
  interface DownloadListProps extends Omit<SectionHeadingProps, "isPadded"> {
250
+ /**
251
+ * Set the list of `Download` components.
252
+ */
206
253
  downloads: DownloadProps[];
254
+ /**
255
+ * Align the `Download` list below or to the right of the `SectionHeading`.
256
+ */
257
+ alignment?: "below" | "right";
207
258
  }
208
259
 
209
260
  declare const FAQs: React$1.FC<FAQsProps>;
@@ -605,7 +656,7 @@ interface ContentInfoWidgetProps {
605
656
  }
606
657
 
607
658
  declare const ActionTile: React$1.FC<ActionTileProps>;
608
- interface ActionTileProps extends React$1.HTMLAttributes<HTMLDivElement> {
659
+ interface ActionTileProps {
609
660
  /**
610
661
  * Icon to display in default state
611
662
  */
@@ -625,7 +676,7 @@ interface ActionTileProps extends React$1.HTMLAttributes<HTMLDivElement> {
625
676
  /**
626
677
  * Click handler
627
678
  */
628
- onClick?: () => void;
679
+ onClick?: React$1.MouseEventHandler<HTMLButtonElement>;
629
680
  }
630
681
 
631
682
  declare const LinkTile: React$1.FC<LinkTileProps>;
@@ -764,16 +815,19 @@ interface BentoMediaCard extends Omit<MediaCardProps, "isContained" | "buttonIco
764
815
  * Content structure for the bento grid layout within each tab.
765
816
  * - card1 & card2: Can be either information or media cards
766
817
  * - card3: Optional information card
767
- * - card4: Typography card with label and url
818
+ * - card4: Typography card with label, heading and url
768
819
  */
769
820
  type BentoGridContent = {
770
821
  card1: BentoInformationCard | BentoMediaCard;
771
822
  card2: BentoInformationCard | BentoMediaCard;
772
823
  card3?: BentoInformationCard;
773
824
  card4: {
774
- url: string;
775
- label?: string;
825
+ url: TypographyCardProps["url"];
826
+ label?: TypographyCardProps["label"];
827
+ /** Overrides the default heading if provided and is not falsey. */
828
+ heading?: string;
776
829
  text?: TypographyCardProps["text"];
830
+ onClick?: TypographyCardProps["onClick"];
777
831
  };
778
832
  };
779
833
 
@@ -865,5 +919,5 @@ interface PartnerBrandLogosProps {
865
919
  subgroups: PartnerLogosSubgroup[];
866
920
  }
867
921
 
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 };
922
+ export { Accordion, ActionTile, ArticleCarousel, ArticleSidebar, Author, BannerWithTabs, BusinessSegmentSwitcher, ContentInfoWidget, CopyLead, DownloadList, FAQs, FeaturePost, HeaderBarNotification, Highlights, InlineLinkGroup, LinkTile, PartnerBrandLogos, ProductNavigation, PromoListing, PromoListingThumbnailSignpost, Quote, SectionHeading, Statistics, Summary, ThumbnailSignpost, VideoHeroCard, VideoPortraitCard };
923
+ export type { AccordionProps, ActionTileProps, ArticleCarouselProps, ArticleSidebarProps, AuthorProps, BannerWithTabsProps, BentoGridContent, BentoInformationCard, BentoMediaCard, BusinessSegmentSwitcherProps, ContentInfoWidgetProps, CopyLeadProps, DownloadListProps, FAQsProps, FeaturePostProps, HeaderBarNotificationProps, 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,4 +1,5 @@
1
1
  import React$1, { ReactNode, FC } from 'react';
2
+ import { NavigationHeaderActionProps } from '@arc-ui/components/NavigationHeader';
2
3
  import { HeadingLevel, HeadingProps } from '@arc-ui/components/Heading';
3
4
  import { ImageProps, ImageSourceProps } from '@arc-ui/components/Image';
4
5
  import { DisclosureProps } from '@arc-ui/components/Disclosure';
@@ -17,6 +18,49 @@ import { TagProps } from '@arc-ui/components/Tag';
17
18
  import { ReactPlayerProps } from 'react-player/types';
18
19
  import { VerticalSpaceProps } from '@arc-ui/components/VerticalSpace';
19
20
 
21
+ declare const HeaderBarNotification: React$1.FC<HeaderBarNotificationProps>;
22
+ interface HeaderBarNotificationProps {
23
+ /**
24
+ * Header Element to attach the notifcation too.
25
+ */
26
+ headerActionProps: NavigationHeaderActionProps;
27
+ /**
28
+ * Nofication ID used to store dismissal in users session
29
+ */
30
+ notificationId: string;
31
+ /**
32
+ * Always show on every reload, ignore saving dismissal to users session
33
+ */
34
+ isPersistant?: boolean;
35
+ /**
36
+ * Notification Icon
37
+ */
38
+ icon?: string;
39
+ /**
40
+ * Notification Image
41
+ */
42
+ image?: string;
43
+ /**
44
+ * Notification Heading
45
+ */
46
+ heading: string;
47
+ /**
48
+ * Notification tagline
49
+ */
50
+ tagline?: string;
51
+ /**
52
+ * Notification content
53
+ */
54
+ children?: React$1.ReactNode;
55
+ /**
56
+ * Data for the button, click events and text
57
+ */
58
+ button?: {
59
+ handleClick: () => void;
60
+ text: string;
61
+ };
62
+ }
63
+
20
64
  interface AccordionHeadingProps {
21
65
  /**
22
66
  * heading for `AccordionHeading`.
@@ -203,7 +247,14 @@ interface CopyLeadProps {
203
247
 
204
248
  declare const DownloadList: React$1.FC<DownloadListProps>;
205
249
  interface DownloadListProps extends Omit<SectionHeadingProps, "isPadded"> {
250
+ /**
251
+ * Set the list of `Download` components.
252
+ */
206
253
  downloads: DownloadProps[];
254
+ /**
255
+ * Align the `Download` list below or to the right of the `SectionHeading`.
256
+ */
257
+ alignment?: "below" | "right";
207
258
  }
208
259
 
209
260
  declare const FAQs: React$1.FC<FAQsProps>;
@@ -605,7 +656,7 @@ interface ContentInfoWidgetProps {
605
656
  }
606
657
 
607
658
  declare const ActionTile: React$1.FC<ActionTileProps>;
608
- interface ActionTileProps extends React$1.HTMLAttributes<HTMLDivElement> {
659
+ interface ActionTileProps {
609
660
  /**
610
661
  * Icon to display in default state
611
662
  */
@@ -625,7 +676,7 @@ interface ActionTileProps extends React$1.HTMLAttributes<HTMLDivElement> {
625
676
  /**
626
677
  * Click handler
627
678
  */
628
- onClick?: () => void;
679
+ onClick?: React$1.MouseEventHandler<HTMLButtonElement>;
629
680
  }
630
681
 
631
682
  declare const LinkTile: React$1.FC<LinkTileProps>;
@@ -764,16 +815,19 @@ interface BentoMediaCard extends Omit<MediaCardProps, "isContained" | "buttonIco
764
815
  * Content structure for the bento grid layout within each tab.
765
816
  * - card1 & card2: Can be either information or media cards
766
817
  * - card3: Optional information card
767
- * - card4: Typography card with label and url
818
+ * - card4: Typography card with label, heading and url
768
819
  */
769
820
  type BentoGridContent = {
770
821
  card1: BentoInformationCard | BentoMediaCard;
771
822
  card2: BentoInformationCard | BentoMediaCard;
772
823
  card3?: BentoInformationCard;
773
824
  card4: {
774
- url: string;
775
- label?: string;
825
+ url: TypographyCardProps["url"];
826
+ label?: TypographyCardProps["label"];
827
+ /** Overrides the default heading if provided and is not falsey. */
828
+ heading?: string;
776
829
  text?: TypographyCardProps["text"];
830
+ onClick?: TypographyCardProps["onClick"];
777
831
  };
778
832
  };
779
833
 
@@ -865,5 +919,5 @@ interface PartnerBrandLogosProps {
865
919
  subgroups: PartnerLogosSubgroup[];
866
920
  }
867
921
 
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 };
922
+ export { Accordion, ActionTile, ArticleCarousel, ArticleSidebar, Author, BannerWithTabs, BusinessSegmentSwitcher, ContentInfoWidget, CopyLead, DownloadList, FAQs, FeaturePost, HeaderBarNotification, Highlights, InlineLinkGroup, LinkTile, PartnerBrandLogos, ProductNavigation, PromoListing, PromoListingThumbnailSignpost, Quote, SectionHeading, Statistics, Summary, ThumbnailSignpost, VideoHeroCard, VideoPortraitCard };
923
+ export type { AccordionProps, ActionTileProps, ArticleCarouselProps, ArticleSidebarProps, AuthorProps, BannerWithTabsProps, BentoGridContent, BentoInformationCard, BentoMediaCard, BusinessSegmentSwitcherProps, ContentInfoWidgetProps, CopyLeadProps, DownloadListProps, FAQsProps, FeaturePostProps, HeaderBarNotificationProps, HighlightsProps, InlineLinkGroupItem, InlineLinkGroupProps, LinkTileProps, ListProps, LogoTileItem, PartnerBrandLogosProps, PartnerLogosSubgroup, ProductNavigationProps, PromoListingProps, PromoListingThumbnailSignpostProps, QuoteProps, SectionHeadingProps, StatisticsProps, SummaryProps, ThumbnailSignpostProps, VideoHeroCardProps, VideoPortraitCardProps };
package/lib/index.mjs CHANGED
@@ -1,17 +1,20 @@
1
- import React, { useId, useState, useEffect, Suspense, useRef, useContext } from 'react';
1
+ import React, { useState, useEffect, useId, Suspense, useRef, useContext } from 'react';
2
+ import { NavigationHeaderAction } from '@arc-ui/components/NavigationHeader';
3
+ import { Popover } from '@arc-ui/components/Popover';
4
+ import { Icon } from '@arc-ui/components/Icon';
5
+ import { Image as Image$2 } from '@arc-ui/components/Image';
2
6
  import { Heading } from '@arc-ui/components/Heading';
3
7
  import { Text } from '@arc-ui/components/Text';
8
+ import { Tooltip } from '@arc-ui/components/Tooltip';
9
+ import { ButtonV2 } from '@arc-ui/components/ButtonV2';
4
10
  import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
5
- import { Image as Image$2 } from '@arc-ui/components/Image';
6
11
  import { Disclosure } from '@arc-ui/components/Disclosure';
7
12
  import { Carousel } from '@arc-ui/components/Carousel';
13
+ import { Columns, ColumnsCol } from '@arc-ui/components/Columns';
8
14
  import { MediaCard } from '@arc-ui/components/MediaCard';
9
15
  import { useMediaQuery } from '@arc-ui/components/use-media-query';
10
16
  import { Grid, GridRow, GridCol } from '@arc-ui/components/Grid';
11
17
  import { Avatar } from '@arc-ui/components/Avatar';
12
- import { Columns, ColumnsCol } from '@arc-ui/components/Columns';
13
- import { Icon } from '@arc-ui/components/Icon';
14
- import { ButtonV2 } from '@arc-ui/components/ButtonV2';
15
18
  import { Download } from '@arc-ui/components/Download';
16
19
  import { Link } from '@arc-ui/components/Link';
17
20
  import { Tabs, TabsList, TabsItem, TabsContent } from '@arc-ui/components/Tabs';
@@ -151,6 +154,48 @@ var filterAttrs = function (props) {
151
154
  return filteredProps;
152
155
  };
153
156
 
157
+ /**
158
+ * Do not edit directly
159
+ * Generated file
160
+ */
161
+
162
+ const BtIconCrossAlt =
163
+ "data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='m16.707 16.02 4.482-4.494a.5.5 0 1 0-.707-.706l-4.48 4.493-4.482-4.493a.5.5 0 1 0-.707.706l4.483 4.494-4.483 4.494a.5.5 0 1 0 .707.706l4.481-4.493 4.481 4.493a.5.5 0 1 0 .707-.706Z'/%3e%3c/svg%3e";
164
+
165
+ var styles$v = {"container":"HeaderBarNotification-module_container__18nau","content":"HeaderBarNotification-module_content__SUo-l","image":"HeaderBarNotification-module_image__uV-nD","details":"HeaderBarNotification-module_details__S5Rrx","closeButtonContainer":"HeaderBarNotification-module_closeButtonContainer__b1UDI"};
166
+
167
+ var HeaderBarNotification = function (_a) {
168
+ var headerActionProps = _a.headerActionProps, notificationId = _a.notificationId, _b = _a.isPersistant, isPersistant = _b === void 0 ? false : _b, icon = _a.icon, image = _a.image, heading = _a.heading, tagline = _a.tagline, children = _a.children, button = _a.button, props = __rest(_a, ["headerActionProps", "notificationId", "isPersistant", "icon", "image", "heading", "tagline", "children", "button"]);
169
+ var _c = useState(isPersistant), showNotification = _c[0], setShowNotification = _c[1];
170
+ var localStorageId = "hide".concat(notificationId.replace(/[^a-zA-Z0-9\-_]/g, ""));
171
+ // Check to see if the notication has been hidden or not and show it if so
172
+ useEffect(function () {
173
+ if (typeof window !== "undefined" && !isPersistant) {
174
+ setShowNotification(!localStorage.getItem(localStorageId));
175
+ }
176
+ }, []);
177
+ // Handle the closure of the notification, store it in the session so we don't keep showing it.
178
+ var handleClosePopup = function () {
179
+ if (!isPersistant)
180
+ localStorage.setItem(localStorageId, "true");
181
+ setShowNotification(false);
182
+ };
183
+ return (React.createElement(Popover, __assign({ open: showNotification, side: "bottom", sideOffset: 12, maxWidth: 900, arrow: true, content: React.createElement("div", { className: styles$v.container },
184
+ React.createElement("div", { className: styles$v.content },
185
+ (image || icon) && (React.createElement("div", { className: styles$v.image },
186
+ image && (React.createElement(Image$2, { src: image, alt: heading, fit: "cover", width: 55 })),
187
+ icon && React.createElement(Icon, { icon: icon, size: 35 }))),
188
+ React.createElement("div", { className: styles$v.details },
189
+ tagline && (React.createElement(Text, { size: "m", tone: "muted" }, tagline)),
190
+ React.createElement(Heading, { size: "s", level: "3" }, heading),
191
+ children)),
192
+ button && (React.createElement(ButtonV2, { onClick: button.handleClick, label: button.text, buttonStyle: "secondary", isFullWidth: true })),
193
+ React.createElement("div", { className: styles$v.closeButtonContainer },
194
+ React.createElement(Tooltip, { side: "bottom", title: "Dismiss Notification", asChild: true },
195
+ React.createElement(ButtonV2, { "data-testid": localStorageId, buttonStyle: "tertiary", "aria-label": "Close ".concat(notificationId, " popup"), onClick: handleClosePopup, icon: BtIconCrossAlt })))) }, filterAttrs(props)),
196
+ React.createElement(NavigationHeaderAction, __assign({ isAttention: true }, headerActionProps))));
197
+ };
198
+
154
199
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
155
200
 
156
201
  function getDefaultExportFromCjs (x) {
@@ -940,28 +985,30 @@ function requireDebounce () {
940
985
  var debounceExports = requireDebounce();
941
986
  var debounce = /*@__PURE__*/getDefaultExportFromCjs(debounceExports);
942
987
 
943
- var styles$r = {"section-header":"SectionHeading-module_section-header__iB07I","section-header--hasImage":"SectionHeading-module_section-header--hasImage__Ka3T7","section-header--isCentered":"SectionHeading-module_section-header--isCentered__pz0V9","section-header--padded":"SectionHeading-module_section-header--padded__0FXP2"};
988
+ var styles$r = {"sectionHeading--hasImage":"SectionHeading-module_sectionHeading--hasImage__qaz6n","sectionHeading--isCentered":"SectionHeading-module_sectionHeading--isCentered__i0fR8","sectionHeading-content":"SectionHeading-module_sectionHeading-content__ufB6w"};
944
989
 
945
990
  var SectionHeading = function (_a) {
946
991
  var _b, _c;
947
992
  var heading = _a.heading, content = _a.content, id = _a.id, image = _a.image, isHeadingWordWrap = _a.isHeadingWordWrap, _d = _a.isPadded, isPadded = _d === void 0 ? false : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e, _f = _a.isCentered, isCentered = _f === void 0 ? false : _f, props = __rest(_a, ["heading", "content", "id", "image", "isHeadingWordWrap", "isPadded", "headingLevel", "isCentered"]);
948
- return (React.createElement("div", __assign({ className: classNames((_b = {},
949
- _b[styles$r["section-header"]] = true,
950
- _b[styles$r["section-header--padded"]] = isPadded,
951
- _b[styles$r["section-header--isCentered"]] = isCentered,
952
- _b)) }, filterAttrs(props)),
953
- React.createElement("div", { className: classNames((_c = {}, _c[styles$r["section-header--hasImage"]] = image, _c)) },
954
- image && (React.createElement("div", null,
955
- React.createElement(Image$2, __assign({}, image, { width: 68, fit: "cover" })))),
956
- React.createElement(Heading, { level: headingLevel, id: id, size: "xl", isWordWrap: isHeadingWordWrap }, heading)),
957
- content && (React.createElement(React.Fragment, null,
958
- React.createElement(VerticalSpace, { size: "24" }),
959
- React.createElement(Text, { size: "l", elementType: "p" }, content)))));
993
+ return (React.createElement(Columns, null,
994
+ React.createElement(ColumnsCol, { spanM: isPadded ? 9 : 12 },
995
+ React.createElement("div", __assign({ className: classNames((_b = {},
996
+ _b[styles$r["sectionHeading--isCentered"]] = isCentered,
997
+ _b)) }, filterAttrs(props)),
998
+ React.createElement("div", { className: classNames((_c = {},
999
+ _c[styles$r["sectionHeading--hasImage"]] = image,
1000
+ _c)) },
1001
+ image && React.createElement(Image$2, __assign({}, image, { width: 68, fit: "cover" })),
1002
+ React.createElement(Heading, { level: headingLevel, id: id, size: "xl", isWordWrap: isHeadingWordWrap }, heading)),
1003
+ content && (React.createElement("div", { className: styles$r["sectionHeading-content"] },
1004
+ React.createElement(VerticalSpace, { size: "24" }),
1005
+ React.createElement(Text, { size: "l", elementType: "p" }, content))),
1006
+ React.createElement(VerticalSpace, { size: "40" })))));
960
1007
  };
961
1008
 
962
1009
  /**
963
1010
  * Do not edit directly
964
- * Generated on Wed, 13 May 2026 07:47:26 GMT
1011
+ * Generated on Thu, 21 May 2026 15:46:02 GMT
965
1012
  */
966
1013
  var ArcSizeBreakpointsXs = "320px";
967
1014
  var ArcSizeBreakpointsS = "636px";
@@ -1174,17 +1221,19 @@ var CopyLead = function (_a) {
1174
1221
  return null;
1175
1222
  };
1176
1223
 
1177
- var styles$n = {"headingContainer":"DownloadList-module_headingContainer__PNio8"};
1224
+ var styles$n = {"downloadList-below":"DownloadList-module_downloadList-below__21q6i","downloadList-right":"DownloadList-module_downloadList-right__mHYHL"};
1178
1225
 
1179
1226
  var DownloadList = function (_a) {
1180
- var heading = _a.heading, id = _a.id, _b = _a.headingLevel, headingLevel = _b === void 0 ? "2" : _b, isHeadingWordWrap = _a.isHeadingWordWrap, content = _a.content, downloads = _a.downloads, props = __rest(_a, ["heading", "id", "headingLevel", "isHeadingWordWrap", "content", "downloads"]);
1227
+ var heading = _a.heading, id = _a.id, _b = _a.headingLevel, headingLevel = _b === void 0 ? "2" : _b, isHeadingWordWrap = _a.isHeadingWordWrap, content = _a.content, downloads = _a.downloads, _c = _a.alignment, alignment = _c === void 0 ? "below" : _c, props = __rest(_a, ["heading", "id", "headingLevel", "isHeadingWordWrap", "content", "downloads", "alignment"]);
1181
1228
  return (React.createElement("div", __assign({}, filterAttrs(props)),
1182
- React.createElement("div", { className: styles$n.headingContainer },
1183
- React.createElement(SectionHeading, { id: id, heading: heading, isHeadingWordWrap: isHeadingWordWrap, headingLevel: headingLevel, content: content })),
1184
- React.createElement(VerticalSpace, { size: "40" }),
1185
- downloads.map(function (downloadProps, i) { return (React.createElement(React.Fragment, { key: "download-".concat(i) },
1186
- React.createElement(Download, __assign({}, downloadProps)),
1187
- i !== downloads.length - 1 && React.createElement(VerticalSpace, { size: "16" }))); })));
1229
+ React.createElement(Columns, null,
1230
+ React.createElement(ColumnsCol, { spanL: alignment === "right" ? 6 : 9, spanM: 9, span: 12 },
1231
+ " ",
1232
+ React.createElement(SectionHeading, { id: id, heading: heading, isHeadingWordWrap: isHeadingWordWrap, headingLevel: headingLevel, content: content })),
1233
+ React.createElement(ColumnsCol, { spanL: alignment === "right" ? 6 : 8, spanM: 9, spanS: 12 },
1234
+ React.createElement("div", { className: styles$n["downloadList-".concat(alignment)] }, downloads.map(function (downloadProps, i) { return (React.createElement(React.Fragment, { key: "download-".concat(i, "-").concat(downloadProps.name) },
1235
+ React.createElement(Download, __assign({}, downloadProps)),
1236
+ i !== downloads.length - 1 && React.createElement(VerticalSpace, { size: "16" }))); }))))));
1188
1237
  };
1189
1238
 
1190
1239
  var styles$m = {"FAQs":"FAQs-module_FAQs__FtQr4","linkListSection":"FAQs-module_linkListSection__RdQkU","linkListTitle":"FAQs-module_linkListTitle__RVni3","linkList":"FAQs-module_linkList__dPyXj","linkListItem":"FAQs-module_linkListItem__S83CL","linkList--padded":"FAQs-module_linkList--padded__8Paxc"};
@@ -3555,7 +3604,7 @@ var Highlights = function (_a) {
3555
3604
  : undefined, iconPosition: (_d = cta.iconPosition) !== null && _d !== void 0 ? _d : "beforeText" })))));
3556
3605
  };
3557
3606
 
3558
- var styles$j = {"PromoListing":"PromoListing-module_PromoListing__6ensv","carouselSlide":"PromoListing-module_carouselSlide__AMTPF","cardGrid":"PromoListing-module_cardGrid__llf73","cardWrapper":"PromoListing-module_cardWrapper__I4iwh","cardWrapperCarousel":"PromoListing-module_cardWrapperCarousel__t-2qM","columns-3":"PromoListing-module_columns-3__y6jWS","columns-2":"PromoListing-module_columns-2__GRFxb"};
3607
+ var styles$j = {"PromoListing":"PromoListing-module_PromoListing__6ensv","CarouselWrapper":"PromoListing-module_CarouselWrapper__iYwWp","carouselSlide":"PromoListing-module_carouselSlide__AMTPF","cardGrid":"PromoListing-module_cardGrid__llf73","cardWrapper":"PromoListing-module_cardWrapper__I4iwh","cardWrapperCarousel":"PromoListing-module_cardWrapperCarousel__t-2qM","columns-3":"PromoListing-module_columns-3__y6jWS","columns-2":"PromoListing-module_columns-2__GRFxb"};
3559
3608
 
3560
3609
  /**
3561
3610
  * Do not edit directly
@@ -3681,7 +3730,7 @@ var PromoListing = function (_a) {
3681
3730
  button.label && (React.createElement(React.Fragment, null,
3682
3731
  React.createElement(ButtonV2, __assign({}, button, { icon: button.buttonStyle == "compact" ? BtIconArrowRightFill : undefined, size: "m" })),
3683
3732
  React.createElement(VerticalSpace, { size: "40" }))),
3684
- isCarousel && !isMinWidthArcBreakpointL ? (React.createElement("div", { className: styles$j.promolistingCarouselWrapper },
3733
+ isCarousel && !isMinWidthArcBreakpointL ? (React.createElement("div", { className: styles$j.CarouselWrapper },
3685
3734
  React.createElement(Carousel, { overflow: "visible", itemsPerSlide: 1, behavior: "adaptive", withGutter: false }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, i) { return (React.createElement("div", { key: "promolist-carousel-card-".concat(componentId, "-").concat(i), className: (styles$j.cardWrapperCarousel) }, getCard(card))); })))) : (React.createElement("ul", { className: classNames(styles$j.cardGrid, styles$j["columns-".concat(columns)]) }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, index) { return (React.createElement("li", { key: "promolist-card--".concat(componentId, "-").concat(index) },
3686
3735
  React.createElement("div", { "data-testid": "promoList-card".concat(index), className: styles$j.cardWrapper }, getCard(card)))); })))));
3687
3736
  };
@@ -3936,23 +3985,23 @@ var ProductNavigation = function (_a) {
3936
3985
  return (React.createElement("li", { key: "displayList-".concat(i), tabIndex: -1, ref: i === skipLinkCard ? cardRef : undefined, "data-cy": "list-item-".concat(i) },
3937
3986
  React.createElement(InformationCard, __assign({}, cardProps, { minHeight: minHeight !== null && minHeight !== void 0 ? minHeight : cardProps.minHeight, headingLevel: (_a = cardProps.headingLevel) !== null && _a !== void 0 ? _a : "2" }))));
3938
3987
  })),
3939
- React.createElement(VerticalSpace, { size: "40" }),
3940
- React.createElement("div", { style: { display: "flex" } },
3941
- !hideButton && !hideLessButton && (React.createElement(ButtonV2, { label: displayList.length < productList.length
3942
- ? "Show more"
3943
- : "Show less", buttonStyle: "secondary", onClick: clickController, isFullWidth: isMinWidthArcBreakpointS ? false : true, isLoading: isLoading })),
3944
- hideButton ||
3945
- (displaySkipButton && displayList.length > cardsToDisplay && (React.createElement("div", { id: "skip-link", className: classNames(styles$d["productNavigation-skipLink"]), tabIndex: -1 },
3946
- React.createElement(ButtonV2, { label: "Move to first new card", buttonStyle: "primary", onClick: moveFocus, isFullWidth: isMinWidthArcBreakpointS ? false : true })))),
3947
- React.createElement(VisuallyHidden, null,
3948
- React.createElement("div", { "aria-live": "polite", id: "aria-live-region", "aria-atomic": true },
3949
- React.createElement("p", null,
3950
- "Total products listed ",
3951
- displayList.length,
3952
- ". Total products hidden",
3953
- " ",
3954
- productList.length - displayList.length,
3955
- "."))))));
3988
+ !hideButton &&
3989
+ !(defaultExpanded && displayList.length === productList.length) && (React.createElement(React.Fragment, null,
3990
+ React.createElement(VerticalSpace, { size: "40" }),
3991
+ React.createElement("div", { style: { display: "flex" } },
3992
+ !hideLessButton && (React.createElement(ButtonV2, { label: displayList.length < productList.length
3993
+ ? "Show more"
3994
+ : "Show less", buttonStyle: "secondary", onClick: clickController, isFullWidth: isMinWidthArcBreakpointS ? false : true, isLoading: isLoading })),
3995
+ displaySkipButton && displayList.length > cardsToDisplay && (React.createElement("div", { id: "skip-link", className: classNames(styles$d["productNavigation-skipLink"]), tabIndex: -1 },
3996
+ React.createElement(ButtonV2, { label: "Move to first new card", buttonStyle: "primary", onClick: moveFocus, isFullWidth: isMinWidthArcBreakpointS ? false : true }))),
3997
+ React.createElement(VisuallyHidden, null,
3998
+ React.createElement("div", { "aria-live": "polite", id: "aria-live-region", "aria-atomic": true },
3999
+ React.createElement("p", null,
4000
+ "Total products listed ",
4001
+ displayList.length,
4002
+ ". Total products hidden ",
4003
+ productList.length - displayList.length,
4004
+ "."))))))));
3956
4005
  };
3957
4006
 
3958
4007
  var styles$c = {"container":"ContentInfoWidget-module_container__yaS-8","text":"ContentInfoWidget-module_text__O1BdZ","icon":"ContentInfoWidget-module_icon__LEww1"};
@@ -3966,23 +4015,24 @@ var ContentInfoWidget = function (_a) {
3966
4015
  React.createElement(Text, { size: "xs", tone: "muted" }, text))));
3967
4016
  };
3968
4017
 
3969
- var styles$b = {"action-tile":"ActionTile-module_action-tile__JPwGb","action-tile-content":"ActionTile-module_action-tile-content__ZkgHc","action-tile-icon":"ActionTile-module_action-tile-icon__PY1EN","action-tile-heading":"ActionTile-module_action-tile-heading__Uxdu9","action-tile--active":"ActionTile-module_action-tile--active__-aWze","action-tile-tick":"ActionTile-module_action-tile-tick__vhsJE"};
4018
+ var styles$b = {"action-tile":"ActionTile-module_action-tile__JPwGb","action-tile-content":"ActionTile-module_action-tile-content__ZkgHc","action-tile-content--without-icon":"ActionTile-module_action-tile-content--without-icon__7F5xj","action-tile-icon":"ActionTile-module_action-tile-icon__PY1EN","action-tile-heading":"ActionTile-module_action-tile-heading__Uxdu9","action-tile--active":"ActionTile-module_action-tile--active__-aWze","action-tile-tick":"ActionTile-module_action-tile-tick__vhsJE"};
3970
4019
 
3971
4020
  var ActionTile = function (_a) {
3972
- var _b;
3973
- var icon = _a.icon, activeIcon = _a.activeIcon, heading = _a.heading, _c = _a.isActive, isActive = _c === void 0 ? false : _c, onClick = _a.onClick, className = _a.className, props = __rest(_a, ["icon", "activeIcon", "heading", "isActive", "onClick", "className"]);
3974
- var tileClasses = classNames(styles$b["action-tile"], (_b = {},
3975
- _b[styles$b["action-tile--active"]] = isActive,
3976
- _b), className);
4021
+ var _b, _c;
4022
+ var icon = _a.icon, activeIcon = _a.activeIcon, heading = _a.heading, _d = _a.isActive, isActive = _d === void 0 ? false : _d, onClick = _a.onClick, props = __rest(_a, ["icon", "activeIcon", "heading", "isActive", "onClick"]);
3977
4023
  var displayIcon = isActive && activeIcon ? activeIcon : icon;
3978
4024
  var content = (React.createElement(React.Fragment, null,
3979
- React.createElement("div", { className: styles$b["action-tile-content"] },
4025
+ React.createElement("div", { className: classNames(styles$b["action-tile-content"], (_b = {},
4026
+ _b[styles$b["action-tile-content--without-icon"]] = !displayIcon,
4027
+ _b)) },
3980
4028
  displayIcon && (React.createElement("div", { className: styles$b["action-tile-icon"] },
3981
4029
  React.createElement(Icon, { icon: displayIcon, size: 48 }))),
3982
4030
  React.createElement("span", { className: styles$b["action-tile-heading"] }, heading)),
3983
4031
  isActive && (React.createElement("div", { className: styles$b["action-tile-tick"] },
3984
4032
  React.createElement(Icon, { icon: BtIconTickAlt2Px, size: 28 })))));
3985
- return (React.createElement("button", __assign({ type: "button", className: tileClasses, onClick: onClick, "aria-pressed": isActive }, filterAttrs(props)), content));
4033
+ return (React.createElement("button", __assign({ type: "button", className: classNames(styles$b["action-tile"], (_c = {},
4034
+ _c[styles$b["action-tile--active"]] = isActive,
4035
+ _c)), onClick: onClick, "aria-pressed": isActive }, filterAttrs(props)), content));
3986
4036
  };
3987
4037
 
3988
4038
  var styles$a = {"link-tile":"LinkTile-module_link-tile__xVUP3","link-tile-content":"LinkTile-module_link-tile-content__H-QN8","link-tile-icon":"LinkTile-module_link-tile-icon__kTMfH","link-tile-text":"LinkTile-module_link-tile-text__0K6zf"};
@@ -4191,7 +4241,8 @@ var BusinessSegmentSwitcher = function (_a) {
4191
4241
  React.createElement("div", { className: styles$2.cardCol },
4192
4242
  content.card3 && React.createElement(InformationCard, __assign({}, content.card3)),
4193
4243
  React.createElement("div", null,
4194
- React.createElement(TypographyCard, { heading: "All ".concat(label.toLowerCase(), " solutions"), text: content.card4.text, label: content.card4.label, url: content.card4.url }))))));
4244
+ React.createElement(TypographyCard, { heading: content.card4.heading ||
4245
+ "All ".concat(label.toLowerCase(), " solutions"), text: content.card4.text, label: content.card4.label, url: content.card4.url, onClick: content.card4.onClick }))))));
4195
4246
  }))),
4196
4247
  React.createElement("div", { className: styles$2.businessSegmentSwitcherMobile },
4197
4248
  React.createElement(ContentSwitcherDropdown, { isInset: true, value: selectedTab, tabs: tabs, isFluid: true, onValueChange: function (value) { return setSelectedTab(value); } }, tabs.map(function (_a, index) {
@@ -4246,5 +4297,5 @@ var PartnerBrandLogos = function (_a) {
4246
4297
  React.createElement(PartnerLogoSubgroup, { subheading: subgroup.subheading, text: subgroup.text, headingLevel: getSubheadingLevel(headingLevel, subgroup.subheadingLevel), logos: subgroup.logos, tileHeight: subgroup.tileHeight }))); }))));
4247
4298
  };
4248
4299
 
4249
- 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 };
4300
+ export { Accordion, ActionTile, ArticleCarousel, ArticleSidebar, Author, BannerWithTabs, BusinessSegmentSwitcher, ContentInfoWidget, CopyLead, DownloadList, FAQs, FeaturePost, HeaderBarNotification, Highlights, InlineLinkGroup, LinkTile, PartnerBrandLogos, ProductNavigation, PromoListing, PromoListingThumbnailSignpost, Quote, SectionHeading, Statistics, Summary, ThumbnailSignpost, VideoHeroCard, VideoPortraitCard };
4250
4301
  //# sourceMappingURL=index.mjs.map