@arc-ui/community-components 3.8.1 → 3.9.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 (56) hide show
  1. package/.turbo/turbo-build.log +11 -11
  2. package/CHANGELOG.md +11 -0
  3. package/lib/ArticleCarousel/ArticleCarousel.cjs +3 -2
  4. package/lib/ArticleCarousel/ArticleCarousel.mjs +3 -2
  5. package/lib/BannerWithTabs/BannerWithTabs.cjs +2 -1
  6. package/lib/BannerWithTabs/BannerWithTabs.mjs +2 -1
  7. package/lib/BusinessSegmentSwitcher/BusinessSegmentSwitcher.cjs +2 -1
  8. package/lib/BusinessSegmentSwitcher/BusinessSegmentSwitcher.mjs +2 -1
  9. package/lib/CopyLead/CopyLead.cjs +2 -2
  10. package/lib/CopyLead/CopyLead.mjs +2 -2
  11. package/lib/DownloadList/DownloadList.cjs +12 -9
  12. package/lib/DownloadList/DownloadList.mjs +12 -9
  13. package/lib/DownloadList/styles.css +1 -1
  14. package/lib/FAQs/FAQs.cjs +2 -1
  15. package/lib/FAQs/FAQs.mjs +2 -1
  16. package/lib/FeaturePost/FeaturePost.cjs +1 -1
  17. package/lib/FeaturePost/FeaturePost.mjs +1 -1
  18. package/lib/Highlights/Highlights.cjs +2 -1
  19. package/lib/Highlights/Highlights.mjs +2 -1
  20. package/lib/ProductNavigation/ProductNavigation.cjs +3 -2
  21. package/lib/ProductNavigation/ProductNavigation.mjs +3 -2
  22. package/lib/PromoListing/PromoListing.cjs +5 -4
  23. package/lib/PromoListing/PromoListing.mjs +5 -4
  24. package/lib/PromoListing/styles.css +1 -1
  25. package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.cjs +2 -1
  26. package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.mjs +2 -1
  27. package/lib/SectionHeading/SectionHeading.cjs +2 -1
  28. package/lib/SectionHeading/SectionHeading.mjs +2 -1
  29. package/lib/SectionHeading/styles.css +1 -1
  30. package/lib/Statistics/Statistics.cjs +1 -1
  31. package/lib/Statistics/Statistics.mjs +1 -1
  32. package/lib/Summary/Summary.cjs +1 -1
  33. package/lib/Summary/Summary.mjs +1 -1
  34. package/lib/_shared/cjs/SectionHeading-XCMdv8eZ.cjs +34 -0
  35. package/lib/_shared/cjs/{index.es-B6sSN_JJ.cjs → index.es-B73RVhhj.cjs} +1 -1
  36. package/lib/_shared/esm/SectionHeading-lyXLUtdr.mjs +32 -0
  37. package/lib/_shared/esm/{index.es-CYN3fovv.mjs → index.es-DNGykRl2.mjs} +1 -1
  38. package/lib/index.cjs +31 -26
  39. package/lib/index.cjs.map +1 -1
  40. package/lib/index.d.cts +13 -3
  41. package/lib/index.d.mts +13 -3
  42. package/lib/index.mjs +31 -26
  43. package/lib/index.mjs.map +1 -1
  44. package/lib/styles.css +1 -1
  45. package/package.json +15 -15
  46. package/src/components/BusinessSegmentSwitcher/BusinessSegmentSwitcher.tsx +5 -1
  47. package/src/components/BusinessSegmentSwitcher/types/types.ts +6 -3
  48. package/src/components/DownloadList/DownloadList.module.css +11 -3
  49. package/src/components/DownloadList/DownloadList.tsx +33 -17
  50. package/src/components/PromoListing/PromoListing.module.css +14 -0
  51. package/src/components/PromoListing/PromoListing.tsx +1 -1
  52. package/src/components/SectionHeading/SectionHeading.module.css +7 -26
  53. package/src/components/SectionHeading/SectionHeading.tsx +35 -33
  54. package/versions.json +1 -1
  55. package/lib/_shared/cjs/SectionHeading-DtYzFetD.cjs +0 -31
  56. package/lib/_shared/esm/SectionHeading-RLfs7ete.mjs +0 -29
@@ -1,5 +1,5 @@
1
1
 
2
- > @arc-ui/community-components@3.8.1 build /builds/enterprise/frontend/arc-community/packages/components
2
+ > @arc-ui/community-components@3.9.0 build /builds/enterprise/frontend/arc-community/packages/components
3
3
  > rimraf lib dist && rollup -c && generate-subpath-css && pnpm run build:clean
4
4
 
5
5
  Browserslist: browsers data (caniuse-lite) is 9 months old. Please run:
@@ -7,40 +7,40 @@ Browserslist: browsers data (caniuse-lite) is 9 months old. Please run:
7
7
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
8
8
  
9
9
  src/index.ts → lib/index.cjs, lib/index.mjs...
10
- created lib/index.cjs, lib/index.mjs in 5.6s
10
+ created lib/index.cjs, lib/index.mjs in 5.1s
11
11
  
12
12
  ./lib/types/index.d.ts → lib/index.d.mts, lib/index.d.cts...
13
13
  (!) Unresolved dependencies
14
14
  https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
15
+ @arc-ui/components/MediaCard (imported by "lib/types/components/ArticleCarousel/ArticleCarousel.d.ts", "lib/types/components/PromoListing/PromoListing.d.ts" and "lib/types/components/BusinessSegmentSwitcher/types/types.d.ts")
15
16
  @arc-ui/components/Heading (imported by "lib/types/components/CopyLead/CopyLead.d.ts", "lib/types/components/FeaturePost/FeaturePost.d.ts", "lib/types/components/PromoListing/PromoListing.d.ts", "lib/types/components/Summary/Summary.d.ts", "lib/types/components/BannerWithTabs/BannerWithTabs.d.ts", "lib/types/components/SectionHeading/SectionHeading.d.ts", "lib/types/components/PartnerBrandLogos/PartnerBrandLogos.d.ts", "lib/types/components/Accordion/components/AccordionHeading/AccordionHeading.d.ts", "lib/types/components/ArticleSidebar/types/text-section.d.ts", "lib/types/components/ArticleSidebar/types/link-section.d.ts", "lib/types/components/ArticleSidebar/types/topic.d.ts", "lib/types/components/ArticleSidebar/types/share.d.ts" and "lib/types/components/PartnerBrandLogos/components/PartnerLogoSubgroup/PartnerLogoSubgroup.d.ts")
16
17
  @arc-ui/components/VideoPlayer (imported by "lib/types/components/CopyLead/CopyLead.d.ts" and "lib/types/components/FeaturePost/FeaturePost.d.ts")
17
- @arc-ui/components/MediaCard (imported by "lib/types/components/ArticleCarousel/ArticleCarousel.d.ts", "lib/types/components/PromoListing/PromoListing.d.ts" and "lib/types/components/BusinessSegmentSwitcher/types/types.d.ts")
18
+ @arc-ui/components/Download (imported by "lib/types/components/DownloadList/DownloadList.d.ts")
18
19
  @arc-ui/components/Avatar (imported by "lib/types/components/Author/Author.d.ts")
20
+ @arc-ui/components/ButtonV2 (imported by "lib/types/components/Highlights/Highlights.d.ts" and "lib/types/components/PromoListing/PromoListing.d.ts")
19
21
  @arc-ui/components/ImpactCard (imported by "lib/types/components/PromoListing/PromoListing.d.ts")
20
22
  @arc-ui/components/InformationCard (imported by "lib/types/components/PromoListing/PromoListing.d.ts", "lib/types/components/BusinessSegmentSwitcher/types/types.d.ts" and "lib/types/components/ProductNavigation/types/product-list.d.ts")
21
23
  @arc-ui/components/TypographyCard (imported by "lib/types/components/PromoListing/PromoListing.d.ts" and "lib/types/components/BusinessSegmentSwitcher/types/types.d.ts")
22
- @arc-ui/components/ButtonV2 (imported by "lib/types/components/PromoListing/PromoListing.d.ts" and "lib/types/components/Highlights/Highlights.d.ts")
23
- @arc-ui/components/Download (imported by "lib/types/components/DownloadList/DownloadList.d.ts")
24
24
  @arc-ui/components/TemplateBanner (imported by "lib/types/components/BannerWithTabs/BannerWithTabs.d.ts")
25
- @arc-ui/components/Image (imported by "lib/types/components/SectionHeading/SectionHeading.d.ts", "lib/types/components/ThumbnailSignpost/ThumbnailSignpost.d.ts", "lib/types/components/Accordion/components/AccordionHeading/AccordionHeading.d.ts", "lib/types/components/FeaturePost/types/feature-post-image.d.ts" and "lib/types/components/CopyLead/types/copy-lead-image.d.ts")
25
+ @arc-ui/components/Image (imported by "lib/types/components/SectionHeading/SectionHeading.d.ts", "lib/types/components/ThumbnailSignpost/ThumbnailSignpost.d.ts", "lib/types/components/Accordion/components/AccordionHeading/AccordionHeading.d.ts", "lib/types/components/CopyLead/types/copy-lead-image.d.ts" and "lib/types/components/FeaturePost/types/feature-post-image.d.ts")
26
26
  @arc-ui/components/VerticalSpace (imported by "lib/types/components/PartnerBrandLogos/PartnerBrandLogos.d.ts")
27
27
  @arc-ui/components/Disclosure (imported by "lib/types/components/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.d.ts")
28
28
  @arc-ui/components/Tag (imported by "lib/types/components/ArticleSidebar/types/topic.d.ts")
29
+ @arc-ui/components/Button (imported by "lib/types/components/CopyLead/types/copy-lead-button.d.ts" and "lib/types/components/FeaturePost/types/feature-post-cta-footer.d.ts")
29
30
  @arc-ui/components/AppButton (imported by "lib/types/components/FeaturePost/types/feature-post-app-button-footer.d.ts")
30
- @arc-ui/components/Button (imported by "lib/types/components/FeaturePost/types/feature-post-cta-footer.d.ts" and "lib/types/components/CopyLead/types/copy-lead-button.d.ts")
31
31
  react-player/types (imported by "lib/types/internal/VideoCardPlayer/VideoCardPlayer.d.ts" and "lib/types/internal/VideoCardPlayer/types/player-props.d.ts")
32
32
  @arc-ui/components/Visible (imported by "lib/types/internal/VideoCardPlayer/components/VideoCardThumbnail/VideoCardThumbnail.d.ts")
33
- created lib/index.d.mts, lib/index.d.cts in 167ms
33
+ created lib/index.d.mts, lib/index.d.cts in 130ms
34
34
  
35
35
  ./src/components/Accordion/index.ts, ./src/components/ActionTile/index.ts, ./src/components/ArticleCarousel/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/index.ts, ./src/components/BusinessSegmentSwitcher/index.ts, ./src/components/ContentInfoWidget/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FAQs/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/InlineLinkGroup/index.ts, ./src/components/LinkTile/index.ts, ./src/components/PartnerBrandLogos/index.ts, ./src/components/ProductNavigation/index.ts, ./src/components/PromoListing/index.ts, ./src/components/PromoListingThumbnailSignpost/index.ts, ./src/components/Quote/index.ts, ./src/components/SectionHeading/index.ts, ./src/components/Statistics/index.ts, ./src/components/Summary/index.ts, ./src/components/ThumbnailSignpost/index.ts, ./src/components/VideoHeroCard/index.ts, ./src/components/VideoPortraitCard/index.ts → lib...
36
- created lib in 7.3s
36
+ created lib in 5.9s
37
37
  
38
38
  ./src/components/Accordion/index.ts, ./src/components/ActionTile/index.ts, ./src/components/ArticleCarousel/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/index.ts, ./src/components/BusinessSegmentSwitcher/index.ts, ./src/components/ContentInfoWidget/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FAQs/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/InlineLinkGroup/index.ts, ./src/components/LinkTile/index.ts, ./src/components/PartnerBrandLogos/index.ts, ./src/components/ProductNavigation/index.ts, ./src/components/PromoListing/index.ts, ./src/components/PromoListingThumbnailSignpost/index.ts, ./src/components/Quote/index.ts, ./src/components/SectionHeading/index.ts, ./src/components/Statistics/index.ts, ./src/components/Summary/index.ts, ./src/components/ThumbnailSignpost/index.ts, ./src/components/VideoHeroCard/index.ts, ./src/components/VideoPortraitCard/index.ts → lib...
39
- created lib in 6.4s
39
+ created lib in 5.1s
40
40
  Browserslist: browsers data (caniuse-lite) is 9 months old. Please run:
41
41
  npx update-browserslist-db@latest
42
42
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
43
43
 
44
- > @arc-ui/community-components@3.8.1 build:clean /builds/enterprise/frontend/arc-community/packages/components
44
+ > @arc-ui/community-components@3.9.0 build:clean /builds/enterprise/frontend/arc-community/packages/components
45
45
  > rimraf ./lib/types ./lib/styles.js ./lib/index.js ./lib/index.js.map
46
46
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @arc-ui/community-components
2
2
 
3
+ ## 3.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 151e415: feat: added optional heading property to card4 in business segment switcher
8
+
9
+ ### Patch Changes
10
+
11
+ - 239daa1: fix: fixed promo listing overflowing in carousel mode
12
+ - bf9dfcb: Update arc packages to 13.10.0, Update download list to use new version, refactor SectionHeading to use Columns for isPadded logic
13
+
3
14
  ## 3.8.1
4
15
 
5
16
  ### Patch Changes
@@ -4,15 +4,16 @@ var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
4
4
  var React = require('react');
5
5
  var index = require('../_shared/cjs/index-B7Z7sgRq.cjs');
6
6
  var Carousel = require('@arc-ui/components/Carousel');
7
- var SectionHeading = require('../_shared/cjs/SectionHeading-DtYzFetD.cjs');
7
+ var SectionHeading = require('../_shared/cjs/SectionHeading-XCMdv8eZ.cjs');
8
8
  var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
9
- var index_es = require('../_shared/cjs/index.es-B6sSN_JJ.cjs');
9
+ var index_es = require('../_shared/cjs/index.es-B73RVhhj.cjs');
10
10
  var MediaCard = require('@arc-ui/components/MediaCard');
11
11
  var useMediaQuery = require('@arc-ui/components/use-media-query');
12
12
  require('@arc-ui/components/Text');
13
13
  require('@arc-ui/components/VerticalSpace');
14
14
  require('@arc-ui/components/Image');
15
15
  require('@arc-ui/components/Heading');
16
+ require('@arc-ui/components/Columns');
16
17
 
17
18
  /**
18
19
  * Checks if `value` is the
@@ -2,15 +2,16 @@ import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.mj
2
2
  import React__default, { useId, useState, useEffect } from 'react';
3
3
  import { a as commonjsGlobal, g as getDefaultExportFromCjs, c as classNames } from '../_shared/esm/index-BSO2EFem.mjs';
4
4
  import { Carousel } from '@arc-ui/components/Carousel';
5
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-RLfs7ete.mjs';
5
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-lyXLUtdr.mjs';
6
6
  import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
7
- import { d as ArcSizeBreakpointsXs, A as ArcSizeBreakpointsS, b as ArcSizeBreakpointsM, a as ArcSizeBreakpointsL, c as ArcSizeBreakpointsXl, e as ArcSizeBreakpointsXxl } from '../_shared/esm/index.es-CYN3fovv.mjs';
7
+ import { d as ArcSizeBreakpointsXs, A as ArcSizeBreakpointsS, b as ArcSizeBreakpointsM, a as ArcSizeBreakpointsL, c as ArcSizeBreakpointsXl, e as ArcSizeBreakpointsXxl } from '../_shared/esm/index.es-DNGykRl2.mjs';
8
8
  import { MediaCard } from '@arc-ui/components/MediaCard';
9
9
  import { useMediaQuery } from '@arc-ui/components/use-media-query';
10
10
  import '@arc-ui/components/Text';
11
11
  import '@arc-ui/components/VerticalSpace';
12
12
  import '@arc-ui/components/Image';
13
13
  import '@arc-ui/components/Heading';
14
+ import '@arc-ui/components/Columns';
14
15
 
15
16
  /**
16
17
  * Checks if `value` is the
@@ -4,12 +4,13 @@ var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
4
4
  var React = require('react');
5
5
  var index = require('../_shared/cjs/index-B7Z7sgRq.cjs');
6
6
  var TabbedBanner = require('@arc-ui/components/TabbedBanner');
7
- var SectionHeading = require('../_shared/cjs/SectionHeading-DtYzFetD.cjs');
7
+ var SectionHeading = require('../_shared/cjs/SectionHeading-XCMdv8eZ.cjs');
8
8
  var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
9
9
  require('@arc-ui/components/Text');
10
10
  require('@arc-ui/components/VerticalSpace');
11
11
  require('@arc-ui/components/Image');
12
12
  require('@arc-ui/components/Heading');
13
+ require('@arc-ui/components/Columns');
13
14
 
14
15
  var styles = {"bannerWithTabsHeadingCentered":"BannerWithTabs-module_bannerWithTabsHeadingCentered__upqEO"};
15
16
 
@@ -2,12 +2,13 @@ import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.mj
2
2
  import React__default from 'react';
3
3
  import { c as classNames } from '../_shared/esm/index-BSO2EFem.mjs';
4
4
  import { TabbedBanner } from '@arc-ui/components/TabbedBanner';
5
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-RLfs7ete.mjs';
5
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-lyXLUtdr.mjs';
6
6
  import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
7
7
  import '@arc-ui/components/Text';
8
8
  import '@arc-ui/components/VerticalSpace';
9
9
  import '@arc-ui/components/Image';
10
10
  import '@arc-ui/components/Heading';
11
+ import '@arc-ui/components/Columns';
11
12
 
12
13
  var styles = {"bannerWithTabsHeadingCentered":"BannerWithTabs-module_bannerWithTabsHeadingCentered__upqEO"};
13
14
 
@@ -68,7 +68,8 @@ var BusinessSegmentSwitcher = function (_a) {
68
68
  React.createElement("div", { className: styles.cardCol },
69
69
  content.card3 && React.createElement(InformationCard.InformationCard, tslib_es6.__assign({}, content.card3)),
70
70
  React.createElement("div", null,
71
- React.createElement(TypographyCard.TypographyCard, { heading: "All ".concat(label.toLowerCase(), " solutions"), text: content.card4.text, label: content.card4.label, url: content.card4.url }))))));
71
+ React.createElement(TypographyCard.TypographyCard, { heading: content.card4.heading ||
72
+ "All ".concat(label.toLowerCase(), " solutions"), text: content.card4.text, label: content.card4.label, url: content.card4.url, onClick: content.card4.onClick }))))));
72
73
  }))),
73
74
  React.createElement("div", { className: styles.businessSegmentSwitcherMobile },
74
75
  React.createElement(ContentSwitcherDropdown.ContentSwitcherDropdown, { isInset: true, value: selectedTab, tabs: tabs, isFluid: true, onValueChange: function (value) { return setSelectedTab(value); } }, tabs.map(function (_a, index) {
@@ -66,7 +66,8 @@ var BusinessSegmentSwitcher = function (_a) {
66
66
  React__default.createElement("div", { className: styles.cardCol },
67
67
  content.card3 && React__default.createElement(InformationCard, __assign({}, content.card3)),
68
68
  React__default.createElement("div", null,
69
- React__default.createElement(TypographyCard, { heading: "All ".concat(label.toLowerCase(), " solutions"), text: content.card4.text, label: content.card4.label, url: content.card4.url }))))));
69
+ React__default.createElement(TypographyCard, { heading: content.card4.heading ||
70
+ "All ".concat(label.toLowerCase(), " solutions"), text: content.card4.text, label: content.card4.label, url: content.card4.url, onClick: content.card4.onClick }))))));
70
71
  }))),
71
72
  React__default.createElement("div", { className: styles.businessSegmentSwitcherMobile },
72
73
  React__default.createElement(ContentSwitcherDropdown, { isInset: true, value: selectedTab, tabs: tabs, isFluid: true, onValueChange: function (value) { return setSelectedTab(value); } }, tabs.map(function (_a, index) {
@@ -3,7 +3,7 @@
3
3
  var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
4
4
  var React = require('react');
5
5
  var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
6
- var index_es = require('../_shared/cjs/index.es-B6sSN_JJ.cjs');
6
+ var index_es = require('../_shared/cjs/index.es-B73RVhhj.cjs');
7
7
  var Columns = require('@arc-ui/components/Columns');
8
8
  var useMediaQuery = require('@arc-ui/components/use-media-query');
9
9
  var Heading = require('@arc-ui/components/Heading');
@@ -13,7 +13,7 @@ var Image$1 = require('@arc-ui/components/Image');
13
13
  var Icon = require('@arc-ui/components/Icon');
14
14
  var index = require('../_shared/cjs/index-B7Z7sgRq.cjs');
15
15
  var ButtonV2 = require('@arc-ui/components/ButtonV2');
16
- var SectionHeading = require('../_shared/cjs/SectionHeading-DtYzFetD.cjs');
16
+ var SectionHeading = require('../_shared/cjs/SectionHeading-XCMdv8eZ.cjs');
17
17
 
18
18
  var MultiLineText = function (_a) {
19
19
  var text = _a.text, textProps = tslib_es6.__rest(_a, ["text"]);
@@ -1,7 +1,7 @@
1
1
  import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.mjs';
2
2
  import React__default, { useState, useEffect, Suspense } from 'react';
3
3
  import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
4
- import { a as ArcSizeBreakpointsL, c as ArcSizeBreakpointsXl, b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-CYN3fovv.mjs';
4
+ import { a as ArcSizeBreakpointsL, c as ArcSizeBreakpointsXl, b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-DNGykRl2.mjs';
5
5
  import { Columns, ColumnsCol } from '@arc-ui/components/Columns';
6
6
  import { useMediaQuery } from '@arc-ui/components/use-media-query';
7
7
  import { Heading } from '@arc-ui/components/Heading';
@@ -11,7 +11,7 @@ import { Image as Image$1 } from '@arc-ui/components/Image';
11
11
  import { Icon } from '@arc-ui/components/Icon';
12
12
  import { c as classNames } from '../_shared/esm/index-BSO2EFem.mjs';
13
13
  import { ButtonV2 } from '@arc-ui/components/ButtonV2';
14
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-RLfs7ete.mjs';
14
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-lyXLUtdr.mjs';
15
15
 
16
16
  var MultiLineText = function (_a) {
17
17
  var text = _a.text, textProps = __rest(_a, ["text"]);
@@ -3,25 +3,28 @@
3
3
  var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
4
4
  var React = require('react');
5
5
  var VerticalSpace = require('@arc-ui/components/VerticalSpace');
6
- var SectionHeading = require('../_shared/cjs/SectionHeading-DtYzFetD.cjs');
6
+ var SectionHeading = require('../_shared/cjs/SectionHeading-XCMdv8eZ.cjs');
7
7
  var Download = require('@arc-ui/components/Download');
8
+ var Columns = require('@arc-ui/components/Columns');
8
9
  var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
9
10
  require('../_shared/cjs/index-B7Z7sgRq.cjs');
10
11
  require('@arc-ui/components/Text');
11
12
  require('@arc-ui/components/Image');
12
13
  require('@arc-ui/components/Heading');
13
14
 
14
- var styles = {"headingContainer":"DownloadList-module_headingContainer__PNio8"};
15
+ var styles = {"downloadList-below":"DownloadList-module_downloadList-below__21q6i","downloadList-right":"DownloadList-module_downloadList-right__mHYHL"};
15
16
 
16
17
  var DownloadList = function (_a) {
17
- 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 = tslib_es6.__rest(_a, ["heading", "id", "headingLevel", "isHeadingWordWrap", "content", "downloads"]);
18
+ 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 = tslib_es6.__rest(_a, ["heading", "id", "headingLevel", "isHeadingWordWrap", "content", "downloads", "alignment"]);
18
19
  return (React.createElement("div", tslib_es6.__assign({}, filterAttrs.filterAttrs(props)),
19
- React.createElement("div", { className: styles.headingContainer },
20
- React.createElement(SectionHeading.SectionHeading, { id: id, heading: heading, isHeadingWordWrap: isHeadingWordWrap, headingLevel: headingLevel, content: content })),
21
- React.createElement(VerticalSpace.VerticalSpace, { size: "40" }),
22
- downloads.map(function (downloadProps, i) { return (React.createElement(React.Fragment, { key: "download-".concat(i) },
23
- React.createElement(Download.Download, tslib_es6.__assign({}, downloadProps)),
24
- i !== downloads.length - 1 && React.createElement(VerticalSpace.VerticalSpace, { size: "16" }))); })));
20
+ React.createElement(Columns.Columns, null,
21
+ React.createElement(Columns.ColumnsCol, { spanL: alignment === "right" ? 6 : 9, spanM: 9, span: 12 },
22
+ " ",
23
+ React.createElement(SectionHeading.SectionHeading, { id: id, heading: heading, isHeadingWordWrap: isHeadingWordWrap, headingLevel: headingLevel, content: content })),
24
+ React.createElement(Columns.ColumnsCol, { spanL: alignment === "right" ? 6 : 8, spanM: 9, spanS: 12 },
25
+ React.createElement("div", { className: styles["downloadList-".concat(alignment)] }, downloads.map(function (downloadProps, i) { return (React.createElement(React.Fragment, { key: "download-".concat(i, "-").concat(downloadProps.name) },
26
+ React.createElement(Download.Download, tslib_es6.__assign({}, downloadProps)),
27
+ i !== downloads.length - 1 && React.createElement(VerticalSpace.VerticalSpace, { size: "16" }))); }))))));
25
28
  };
26
29
 
27
30
  exports.DownloadList = DownloadList;
@@ -1,25 +1,28 @@
1
1
  import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.mjs';
2
2
  import React__default from 'react';
3
3
  import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
4
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-RLfs7ete.mjs';
4
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-lyXLUtdr.mjs';
5
5
  import { Download } from '@arc-ui/components/Download';
6
+ import { Columns, ColumnsCol } from '@arc-ui/components/Columns';
6
7
  import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
7
8
  import '../_shared/esm/index-BSO2EFem.mjs';
8
9
  import '@arc-ui/components/Text';
9
10
  import '@arc-ui/components/Image';
10
11
  import '@arc-ui/components/Heading';
11
12
 
12
- var styles = {"headingContainer":"DownloadList-module_headingContainer__PNio8"};
13
+ var styles = {"downloadList-below":"DownloadList-module_downloadList-below__21q6i","downloadList-right":"DownloadList-module_downloadList-right__mHYHL"};
13
14
 
14
15
  var DownloadList = function (_a) {
15
- 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"]);
16
+ 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"]);
16
17
  return (React__default.createElement("div", __assign({}, filterAttrs(props)),
17
- React__default.createElement("div", { className: styles.headingContainer },
18
- React__default.createElement(SectionHeading, { id: id, heading: heading, isHeadingWordWrap: isHeadingWordWrap, headingLevel: headingLevel, content: content })),
19
- React__default.createElement(VerticalSpace, { size: "40" }),
20
- downloads.map(function (downloadProps, i) { return (React__default.createElement(React__default.Fragment, { key: "download-".concat(i) },
21
- React__default.createElement(Download, __assign({}, downloadProps)),
22
- i !== downloads.length - 1 && React__default.createElement(VerticalSpace, { size: "16" }))); })));
18
+ React__default.createElement(Columns, null,
19
+ React__default.createElement(ColumnsCol, { spanL: alignment === "right" ? 6 : 9, spanM: 9, span: 12 },
20
+ " ",
21
+ React__default.createElement(SectionHeading, { id: id, heading: heading, isHeadingWordWrap: isHeadingWordWrap, headingLevel: headingLevel, content: content })),
22
+ React__default.createElement(ColumnsCol, { spanL: alignment === "right" ? 6 : 8, spanM: 9, spanS: 12 },
23
+ React__default.createElement("div", { className: styles["downloadList-".concat(alignment)] }, downloads.map(function (downloadProps, i) { return (React__default.createElement(React__default.Fragment, { key: "download-".concat(i, "-").concat(downloadProps.name) },
24
+ React__default.createElement(Download, __assign({}, downloadProps)),
25
+ i !== downloads.length - 1 && React__default.createElement(VerticalSpace, { size: "16" }))); }))))));
23
26
  };
24
27
 
25
28
  export { DownloadList };
@@ -1 +1 @@
1
- @media (min-width:768px){.DownloadList-module_headingContainer__PNio8{max-width:75%}}
1
+ .DownloadList-module_downloadList-below__21q6i{margin-top:calc(-1 * var(--arc-columns-gap))}.DownloadList-module_downloadList-right__mHYHL{margin-top:calc(-1 * var(--arc-columns-gap))}@media (min-width:1024px){.DownloadList-module_downloadList-right__mHYHL{margin-top:0;margin-top:initial}}
package/lib/FAQs/FAQs.cjs CHANGED
@@ -5,7 +5,7 @@ var React = require('react');
5
5
  var index = require('../_shared/cjs/index-B7Z7sgRq.cjs');
6
6
  var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
7
7
  var Accordion = require('../_shared/cjs/Accordion-B-BRosyE.cjs');
8
- var SectionHeading = require('../_shared/cjs/SectionHeading-DtYzFetD.cjs');
8
+ var SectionHeading = require('../_shared/cjs/SectionHeading-XCMdv8eZ.cjs');
9
9
  var Link = require('@arc-ui/components/Link');
10
10
  var Heading = require('@arc-ui/components/Heading');
11
11
  var VerticalSpace = require('@arc-ui/components/VerticalSpace');
@@ -13,6 +13,7 @@ var Tabs = require('@arc-ui/components/Tabs');
13
13
  require('@arc-ui/components/Text');
14
14
  require('@arc-ui/components/Image');
15
15
  require('@arc-ui/components/Disclosure');
16
+ require('@arc-ui/components/Columns');
16
17
 
17
18
  var styles = {"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"};
18
19
 
package/lib/FAQs/FAQs.mjs CHANGED
@@ -3,7 +3,7 @@ import React__default from 'react';
3
3
  import { c as classNames } from '../_shared/esm/index-BSO2EFem.mjs';
4
4
  import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
5
5
  import { A as Accordion } from '../_shared/esm/Accordion-CKN8n0ky.mjs';
6
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-RLfs7ete.mjs';
6
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-lyXLUtdr.mjs';
7
7
  import { Link } from '@arc-ui/components/Link';
8
8
  import { Heading } from '@arc-ui/components/Heading';
9
9
  import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
@@ -11,6 +11,7 @@ import { Tabs, TabsList, TabsItem, TabsContent } from '@arc-ui/components/Tabs';
11
11
  import '@arc-ui/components/Text';
12
12
  import '@arc-ui/components/Image';
13
13
  import '@arc-ui/components/Disclosure';
14
+ import '@arc-ui/components/Columns';
14
15
 
15
16
  var styles = {"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"};
16
17
 
@@ -4,7 +4,7 @@ var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
4
4
  var React = require('react');
5
5
  var index = require('../_shared/cjs/index-B7Z7sgRq.cjs');
6
6
  var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
7
- var index_es = require('../_shared/cjs/index.es-B6sSN_JJ.cjs');
7
+ var index_es = require('../_shared/cjs/index.es-B73RVhhj.cjs');
8
8
  var AppButton = require('@arc-ui/components/AppButton');
9
9
  var Grid = require('@arc-ui/components/Grid');
10
10
  var ButtonV2 = require('@arc-ui/components/ButtonV2');
@@ -2,7 +2,7 @@ import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.mj
2
2
  import React__default, { useState, useEffect, Suspense } from 'react';
3
3
  import { c as classNames } from '../_shared/esm/index-BSO2EFem.mjs';
4
4
  import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
5
- import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-CYN3fovv.mjs';
5
+ import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-DNGykRl2.mjs';
6
6
  import { AppButton } from '@arc-ui/components/AppButton';
7
7
  import { Grid, GridRow, GridCol } from '@arc-ui/components/Grid';
8
8
  import { ButtonV2 } from '@arc-ui/components/ButtonV2';
@@ -6,7 +6,7 @@ var useMediaQuery = require('@arc-ui/components/use-media-query');
6
6
  var ButtonV2 = require('@arc-ui/components/ButtonV2');
7
7
  var VerticalSpace = require('@arc-ui/components/VerticalSpace');
8
8
  var BtIconArrowRightFill = require('../_shared/cjs/BtIconArrowRightFill-BVCZv7Lm.cjs');
9
- var SectionHeading = require('../_shared/cjs/SectionHeading-DtYzFetD.cjs');
9
+ var SectionHeading = require('../_shared/cjs/SectionHeading-XCMdv8eZ.cjs');
10
10
  var index = require('../_shared/cjs/index-B7Z7sgRq.cjs');
11
11
  var Heading = require('@arc-ui/components/Heading');
12
12
  var Icon = require('@arc-ui/components/Icon');
@@ -14,6 +14,7 @@ var Text = require('@arc-ui/components/Text');
14
14
  var Link = require('@arc-ui/components/Link');
15
15
  var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
16
16
  require('@arc-ui/components/Image');
17
+ require('@arc-ui/components/Columns');
17
18
 
18
19
  var styles = {"highlights":"Highlights-module_highlights__Hf7Zq","highlightItem":"Highlights-module_highlightItem__-N6le","highlights2Column":"Highlights-module_highlights2Column__6qIuI","highlights3Column":"Highlights-module_highlights3Column__qsCMP"};
19
20
 
@@ -4,7 +4,7 @@ import { useMediaQuery } from '@arc-ui/components/use-media-query';
4
4
  import { ButtonV2 } from '@arc-ui/components/ButtonV2';
5
5
  import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
6
6
  import { B as BtIconArrowRightFill } from '../_shared/esm/BtIconArrowRightFill-D0zKgk3B.mjs';
7
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-RLfs7ete.mjs';
7
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-lyXLUtdr.mjs';
8
8
  import { c as classNames } from '../_shared/esm/index-BSO2EFem.mjs';
9
9
  import { Heading } from '@arc-ui/components/Heading';
10
10
  import { Icon } from '@arc-ui/components/Icon';
@@ -12,6 +12,7 @@ import { Text } from '@arc-ui/components/Text';
12
12
  import { Link } from '@arc-ui/components/Link';
13
13
  import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
14
14
  import '@arc-ui/components/Image';
15
+ import '@arc-ui/components/Columns';
15
16
 
16
17
  var styles = {"highlights":"Highlights-module_highlights__Hf7Zq","highlightItem":"Highlights-module_highlightItem__-N6le","highlights2Column":"Highlights-module_highlights2Column__6qIuI","highlights3Column":"Highlights-module_highlights3Column__qsCMP"};
17
18
 
@@ -5,8 +5,8 @@ var React = require('react');
5
5
  var index = require('../_shared/cjs/index-B7Z7sgRq.cjs');
6
6
  var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
7
7
  var useMediaQuery = require('@arc-ui/components/use-media-query');
8
- var index_es = require('../_shared/cjs/index.es-B6sSN_JJ.cjs');
9
- var SectionHeading = require('../_shared/cjs/SectionHeading-DtYzFetD.cjs');
8
+ var index_es = require('../_shared/cjs/index.es-B73RVhhj.cjs');
9
+ var SectionHeading = require('../_shared/cjs/SectionHeading-XCMdv8eZ.cjs');
10
10
  var ButtonV2 = require('@arc-ui/components/ButtonV2');
11
11
  var InformationCard = require('@arc-ui/components/InformationCard');
12
12
  var VerticalSpace = require('@arc-ui/components/VerticalSpace');
@@ -14,6 +14,7 @@ var VisuallyHidden = require('@arc-ui/components/VisuallyHidden');
14
14
  require('@arc-ui/components/Text');
15
15
  require('@arc-ui/components/Image');
16
16
  require('@arc-ui/components/Heading');
17
+ require('@arc-ui/components/Columns');
17
18
 
18
19
  var styles = {"product-navigation-grid":"ProductNavigation-module_product-navigation-grid__RzFq8","productNavigation-skipLink":"ProductNavigation-module_productNavigation-skipLink__fy8ZJ"};
19
20
 
@@ -3,8 +3,8 @@ import React__default, { useState, useRef, useEffect } from 'react';
3
3
  import { c as classNames } from '../_shared/esm/index-BSO2EFem.mjs';
4
4
  import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
5
5
  import { useMediaQuery } from '@arc-ui/components/use-media-query';
6
- import { A as ArcSizeBreakpointsS } from '../_shared/esm/index.es-CYN3fovv.mjs';
7
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-RLfs7ete.mjs';
6
+ import { A as ArcSizeBreakpointsS } from '../_shared/esm/index.es-DNGykRl2.mjs';
7
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-lyXLUtdr.mjs';
8
8
  import { ButtonV2 } from '@arc-ui/components/ButtonV2';
9
9
  import { InformationCard } from '@arc-ui/components/InformationCard';
10
10
  import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
@@ -12,6 +12,7 @@ import { VisuallyHidden } from '@arc-ui/components/VisuallyHidden';
12
12
  import '@arc-ui/components/Text';
13
13
  import '@arc-ui/components/Image';
14
14
  import '@arc-ui/components/Heading';
15
+ import '@arc-ui/components/Columns';
15
16
 
16
17
  var styles = {"product-navigation-grid":"ProductNavigation-module_product-navigation-grid__RzFq8","productNavigation-skipLink":"ProductNavigation-module_productNavigation-skipLink__fy8ZJ"};
17
18
 
@@ -3,11 +3,11 @@
3
3
  var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
4
4
  var React = require('react');
5
5
  var index = require('../_shared/cjs/index-B7Z7sgRq.cjs');
6
- var index_es = require('../_shared/cjs/index.es-B6sSN_JJ.cjs');
6
+ var index_es = require('../_shared/cjs/index.es-B73RVhhj.cjs');
7
7
  var Carousel = require('@arc-ui/components/Carousel');
8
8
  var Heading = require('@arc-ui/components/Heading');
9
9
  var useMediaQuery = require('@arc-ui/components/use-media-query');
10
- var SectionHeading = require('../_shared/cjs/SectionHeading-DtYzFetD.cjs');
10
+ var SectionHeading = require('../_shared/cjs/SectionHeading-XCMdv8eZ.cjs');
11
11
  var MediaCard = require('@arc-ui/components/MediaCard');
12
12
  var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
13
13
  var ImpactCard = require('@arc-ui/components/ImpactCard');
@@ -18,8 +18,9 @@ var VerticalSpace = require('@arc-ui/components/VerticalSpace');
18
18
  var BtIconArrowRightFill = require('../_shared/cjs/BtIconArrowRightFill-BVCZv7Lm.cjs');
19
19
  require('@arc-ui/components/Text');
20
20
  require('@arc-ui/components/Image');
21
+ require('@arc-ui/components/Columns');
21
22
 
22
- var styles = {"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"};
23
+ var styles = {"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"};
23
24
 
24
25
  /**
25
26
  * Use `PromoListing` to give supporting information about a page or proposition in the form of the card components (`ImpactCard`, `InformationCard`, `MediaCard` and `TypographyCard`).
@@ -65,7 +66,7 @@ var PromoListing = function (_a) {
65
66
  button.label && (React.createElement(React.Fragment, null,
66
67
  React.createElement(ButtonV2.ButtonV2, tslib_es6.__assign({}, button, { icon: button.buttonStyle == "compact" ? BtIconArrowRightFill.BtIconArrowRightFill : undefined, size: "m" })),
67
68
  React.createElement(VerticalSpace.VerticalSpace, { size: "40" }))),
68
- isCarousel && !isMinWidthArcBreakpointL ? (React.createElement("div", { className: styles.promolistingCarouselWrapper },
69
+ isCarousel && !isMinWidthArcBreakpointL ? (React.createElement("div", { className: styles.CarouselWrapper },
69
70
  React.createElement(Carousel.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.cardWrapperCarousel) }, getCard(card))); })))) : (React.createElement("ul", { className: index.classNames(styles.cardGrid, styles["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) },
70
71
  React.createElement("div", { "data-testid": "promoList-card".concat(index), className: styles.cardWrapper }, getCard(card)))); })))));
71
72
  };
@@ -1,11 +1,11 @@
1
1
  import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.mjs';
2
2
  import React__default, { useId } from 'react';
3
3
  import { c as classNames } from '../_shared/esm/index-BSO2EFem.mjs';
4
- import { a as ArcSizeBreakpointsL, b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-CYN3fovv.mjs';
4
+ import { a as ArcSizeBreakpointsL, b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-DNGykRl2.mjs';
5
5
  import { Carousel } from '@arc-ui/components/Carousel';
6
6
  import { Heading } from '@arc-ui/components/Heading';
7
7
  import { useMediaQuery } from '@arc-ui/components/use-media-query';
8
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-RLfs7ete.mjs';
8
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-lyXLUtdr.mjs';
9
9
  import { MediaCard } from '@arc-ui/components/MediaCard';
10
10
  import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
11
11
  import { ImpactCard } from '@arc-ui/components/ImpactCard';
@@ -16,8 +16,9 @@ import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
16
16
  import { B as BtIconArrowRightFill } from '../_shared/esm/BtIconArrowRightFill-D0zKgk3B.mjs';
17
17
  import '@arc-ui/components/Text';
18
18
  import '@arc-ui/components/Image';
19
+ import '@arc-ui/components/Columns';
19
20
 
20
- var styles = {"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"};
21
+ var styles = {"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"};
21
22
 
22
23
  /**
23
24
  * Use `PromoListing` to give supporting information about a page or proposition in the form of the card components (`ImpactCard`, `InformationCard`, `MediaCard` and `TypographyCard`).
@@ -63,7 +64,7 @@ var PromoListing = function (_a) {
63
64
  button.label && (React__default.createElement(React__default.Fragment, null,
64
65
  React__default.createElement(ButtonV2, __assign({}, button, { icon: button.buttonStyle == "compact" ? BtIconArrowRightFill : undefined, size: "m" })),
65
66
  React__default.createElement(VerticalSpace, { size: "40" }))),
66
- isCarousel && !isMinWidthArcBreakpointL ? (React__default.createElement("div", { className: styles.promolistingCarouselWrapper },
67
+ isCarousel && !isMinWidthArcBreakpointL ? (React__default.createElement("div", { className: styles.CarouselWrapper },
67
68
  React__default.createElement(Carousel, { overflow: "visible", itemsPerSlide: 1, behavior: "adaptive", withGutter: false }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, i) { return (React__default.createElement("div", { key: "promolist-carousel-card-".concat(componentId, "-").concat(i), className: (styles.cardWrapperCarousel) }, getCard(card))); })))) : (React__default.createElement("ul", { className: classNames(styles.cardGrid, styles["columns-".concat(columns)]) }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, index) { return (React__default.createElement("li", { key: "promolist-card--".concat(componentId, "-").concat(index) },
68
69
  React__default.createElement("div", { "data-testid": "promoList-card".concat(index), className: styles.cardWrapper }, getCard(card)))); })))));
69
70
  };
@@ -1 +1 @@
1
- .PromoListing-module_PromoListing__6ensv{max-width:1280px}.PromoListing-module_carouselSlide__AMTPF{height:100%;padding:6px}.PromoListing-module_cardGrid__llf73{display:grid;grid-template-columns:repeat(1,1fr);grid-auto-rows:1fr;grid-gap:16px;gap:16px;list-style:none;margin:0;padding:0}.PromoListing-module_cardWrapper__I4iwh{height:100%}.PromoListing-module_cardWrapper__I4iwh>*{height:100%}.PromoListing-module_cardWrapperCarousel__t-2qM{width:288px;height:100%;margin-right:16px}.PromoListing-module_cardWrapperCarousel__t-2qM>*{height:100%}@media (min-width:636px){.PromoListing-module_cardWrapperCarousel__t-2qM{margin-right:24px}.PromoListing-module_cardGrid__llf73{gap:24px}.PromoListing-module_cardGrid__llf73.PromoListing-module_columns-3__y6jWS{grid-template-columns:repeat(2,1fr)}.PromoListing-module_cardGrid__llf73.PromoListing-module_columns-2__GRFxb{grid-template-columns:repeat(2,1fr)}}@media (min-width:768px){.PromoListing-module_cardWrapperCarousel__t-2qM{width:348px}}@media (min-width:1024px){.PromoListing-module_cardGrid__llf73.PromoListing-module_columns-3__y6jWS{grid-template-columns:repeat(3,1fr)}.PromoListing-module_cardGrid__llf73.PromoListing-module_columns-2__GRFxb{grid-template-columns:repeat(2,1fr)}}@media (min-width:1280px){.PromoListing-module_cardGrid__llf73{gap:32px}}
1
+ .PromoListing-module_PromoListing__6ensv{max-width:1280px}.PromoListing-module_CarouselWrapper__iYwWp{overflow:hidden;margin:0 calc(-1 * var(--arc-size-section-margin-16));padding:6px var(--arc-size-section-margin-16)}@media (min-width:636px){.PromoListing-module_CarouselWrapper__iYwWp{margin:0 calc(-1 * var(--arc-size-section-margin-24));padding:6px var(--arc-size-section-margin-24)}}.PromoListing-module_carouselSlide__AMTPF{height:100%;padding:6px}.PromoListing-module_cardGrid__llf73{display:grid;grid-template-columns:repeat(1,1fr);grid-auto-rows:1fr;grid-gap:16px;gap:16px;list-style:none;margin:0;padding:0}.PromoListing-module_cardWrapper__I4iwh{height:100%}.PromoListing-module_cardWrapper__I4iwh>*{height:100%}.PromoListing-module_cardWrapperCarousel__t-2qM{width:288px;height:100%;margin-right:16px}.PromoListing-module_cardWrapperCarousel__t-2qM>*{height:100%}@media (min-width:636px){.PromoListing-module_cardWrapperCarousel__t-2qM{margin-right:24px}.PromoListing-module_cardGrid__llf73{gap:24px}.PromoListing-module_cardGrid__llf73.PromoListing-module_columns-3__y6jWS{grid-template-columns:repeat(2,1fr)}.PromoListing-module_cardGrid__llf73.PromoListing-module_columns-2__GRFxb{grid-template-columns:repeat(2,1fr)}}@media (min-width:768px){.PromoListing-module_cardWrapperCarousel__t-2qM{width:348px}}@media (min-width:1024px){.PromoListing-module_cardGrid__llf73.PromoListing-module_columns-3__y6jWS{grid-template-columns:repeat(3,1fr)}.PromoListing-module_cardGrid__llf73.PromoListing-module_columns-2__GRFxb{grid-template-columns:repeat(2,1fr)}}@media (min-width:1280px){.PromoListing-module_cardGrid__llf73{gap:32px}}
@@ -2,7 +2,7 @@
2
2
 
3
3
  var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
4
4
  var React = require('react');
5
- var SectionHeading = require('../_shared/cjs/SectionHeading-DtYzFetD.cjs');
5
+ var SectionHeading = require('../_shared/cjs/SectionHeading-XCMdv8eZ.cjs');
6
6
  var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
7
7
  var ThumbnailSignpost = require('../_shared/cjs/ThumbnailSignpost-DymZmLlB.cjs');
8
8
  require('../_shared/cjs/index-B7Z7sgRq.cjs');
@@ -10,6 +10,7 @@ require('@arc-ui/components/Text');
10
10
  require('@arc-ui/components/VerticalSpace');
11
11
  require('@arc-ui/components/Image');
12
12
  require('@arc-ui/components/Heading');
13
+ require('@arc-ui/components/Columns');
13
14
  require('../_shared/cjs/BtIconArrowRightFill-BVCZv7Lm.cjs');
14
15
  require('@arc-ui/components/Surface');
15
16
 
@@ -1,6 +1,6 @@
1
1
  import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.mjs';
2
2
  import React__default from 'react';
3
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-RLfs7ete.mjs';
3
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-lyXLUtdr.mjs';
4
4
  import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
5
5
  import { T as ThumbnailSignpost } from '../_shared/esm/ThumbnailSignpost-D6uye3mm.mjs';
6
6
  import '../_shared/esm/index-BSO2EFem.mjs';
@@ -8,6 +8,7 @@ import '@arc-ui/components/Text';
8
8
  import '@arc-ui/components/VerticalSpace';
9
9
  import '@arc-ui/components/Image';
10
10
  import '@arc-ui/components/Heading';
11
+ import '@arc-ui/components/Columns';
11
12
  import '../_shared/esm/BtIconArrowRightFill-D0zKgk3B.mjs';
12
13
  import '@arc-ui/components/Surface';
13
14
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var SectionHeading = require('../_shared/cjs/SectionHeading-DtYzFetD.cjs');
3
+ var SectionHeading = require('../_shared/cjs/SectionHeading-XCMdv8eZ.cjs');
4
4
  require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
5
5
  require('react');
6
6
  require('../_shared/cjs/index-B7Z7sgRq.cjs');
@@ -9,6 +9,7 @@ require('@arc-ui/components/Text');
9
9
  require('@arc-ui/components/VerticalSpace');
10
10
  require('@arc-ui/components/Image');
11
11
  require('@arc-ui/components/Heading');
12
+ require('@arc-ui/components/Columns');
12
13
 
13
14
 
14
15
 
@@ -1,4 +1,4 @@
1
- export { S as SectionHeading } from '../_shared/esm/SectionHeading-RLfs7ete.mjs';
1
+ export { S as SectionHeading } from '../_shared/esm/SectionHeading-lyXLUtdr.mjs';
2
2
  import '../_shared/esm/tslib.es6-BVXMhEem.mjs';
3
3
  import 'react';
4
4
  import '../_shared/esm/index-BSO2EFem.mjs';
@@ -7,3 +7,4 @@ import '@arc-ui/components/Text';
7
7
  import '@arc-ui/components/VerticalSpace';
8
8
  import '@arc-ui/components/Image';
9
9
  import '@arc-ui/components/Heading';
10
+ import '@arc-ui/components/Columns';