@arc-ui/community-components 3.2.0 → 3.3.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 (97) hide show
  1. package/.turbo/turbo-build.log +10 -10
  2. package/CHANGELOG.md +19 -0
  3. package/lib/Accordion/Accordion.cjs +2 -3
  4. package/lib/Accordion/Accordion.mjs +2 -3
  5. package/lib/ActionTile/ActionTile.cjs +4 -5
  6. package/lib/ActionTile/ActionTile.mjs +2 -3
  7. package/lib/ActionTile/styles.css +1 -1
  8. package/lib/ArticleSidebar/ArticleSidebar.cjs +9 -10
  9. package/lib/ArticleSidebar/ArticleSidebar.mjs +4 -5
  10. package/lib/Author/Author.cjs +2 -3
  11. package/lib/Author/Author.mjs +2 -3
  12. package/lib/BannerWithTabs/BannerWithTabs.cjs +4 -5
  13. package/lib/BannerWithTabs/BannerWithTabs.mjs +4 -5
  14. package/lib/ContentInfoWidget/ContentInfoWidget.cjs +3 -2
  15. package/lib/ContentInfoWidget/ContentInfoWidget.mjs +3 -2
  16. package/lib/CopyLead/CopyLead.cjs +14 -15
  17. package/lib/CopyLead/CopyLead.mjs +2 -3
  18. package/lib/DownloadList/DownloadList.cjs +6 -8
  19. package/lib/DownloadList/DownloadList.mjs +6 -8
  20. package/lib/FAQs/FAQs.cjs +5 -6
  21. package/lib/FAQs/FAQs.mjs +3 -4
  22. package/lib/FeaturePost/FeaturePost.cjs +13 -14
  23. package/lib/FeaturePost/FeaturePost.mjs +5 -6
  24. package/lib/Highlights/Highlights.cjs +11 -12
  25. package/lib/Highlights/Highlights.mjs +11 -12
  26. package/lib/InlineLinkGroup/InlineLinkGroup.cjs +25 -0
  27. package/lib/InlineLinkGroup/InlineLinkGroup.mjs +23 -0
  28. package/lib/InlineLinkGroup/styles.css +1 -0
  29. package/lib/LinkTile/LinkTile.cjs +6 -6
  30. package/lib/LinkTile/LinkTile.mjs +4 -4
  31. package/lib/LinkTile/styles.css +1 -1
  32. package/lib/ProductNavigation/ProductNavigation.cjs +5 -6
  33. package/lib/ProductNavigation/ProductNavigation.mjs +2 -3
  34. package/lib/PromoListing/PromoListing.cjs +6 -7
  35. package/lib/PromoListing/PromoListing.mjs +4 -5
  36. package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.cjs +6 -7
  37. package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.mjs +3 -4
  38. package/lib/Quote/Quote.cjs +5 -6
  39. package/lib/Quote/Quote.mjs +3 -4
  40. package/lib/SectionHeading/SectionHeading.cjs +2 -3
  41. package/lib/SectionHeading/SectionHeading.mjs +2 -3
  42. package/lib/Statistics/Statistics.cjs +21 -19
  43. package/lib/Statistics/Statistics.mjs +21 -19
  44. package/lib/Statistics/styles.css +1 -1
  45. package/lib/Summary/Summary.cjs +3 -3
  46. package/lib/Summary/Summary.mjs +3 -3
  47. package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +2 -3
  48. package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +2 -3
  49. package/lib/_shared/cjs/{Accordion-DfNGOjTm.cjs → Accordion-QqDoB3pY.cjs} +8 -9
  50. package/lib/_shared/cjs/{Author-D4dKNQem.cjs → Author-aL8YXi7C.cjs} +4 -5
  51. package/lib/_shared/cjs/{SectionHeading-DeSFM0HV.cjs → SectionHeading-Dj-dJfv3.cjs} +4 -5
  52. package/lib/_shared/cjs/{ThumbnailSignpost-GkOiwt-Z.cjs → ThumbnailSignpost-SBnrGooA.cjs} +4 -5
  53. package/lib/_shared/cjs/{tslib.es6-BxB9I209.cjs → filter-attrs-C26zOt4_.cjs} +25 -0
  54. package/lib/_shared/esm/{Accordion-cd1oYvBv.mjs → Accordion-DrOTh90S.mjs} +1 -2
  55. package/lib/_shared/esm/{Author-HnYsFTPT.mjs → Author-BVCRPgkl.mjs} +1 -2
  56. package/lib/_shared/esm/{SectionHeading-CpDLCndw.mjs → SectionHeading-DZOg_gYi.mjs} +1 -2
  57. package/lib/_shared/esm/{ThumbnailSignpost-BeRiXbUp.mjs → ThumbnailSignpost-DaZByYIH.mjs} +1 -2
  58. package/lib/_shared/esm/{tslib.es6-D6Wu-xwB.mjs → filter-attrs-D-1kWaCP.mjs} +25 -1
  59. package/lib/index.cjs +75 -83
  60. package/lib/index.cjs.map +1 -1
  61. package/lib/index.d.cts +24 -63
  62. package/lib/index.d.mts +24 -63
  63. package/lib/index.mjs +75 -83
  64. package/lib/index.mjs.map +1 -1
  65. package/lib/styles.css +1 -1
  66. package/package.json +4 -4
  67. package/src/components/ActionTile/ActionTile.module.css +56 -37
  68. package/src/components/ActionTile/ActionTile.tsx +1 -1
  69. package/src/components/ArticleSidebar/ArticleSidebar.tsx +4 -6
  70. package/src/components/Author/Author.tsx +0 -3
  71. package/src/components/BannerWithTabs/BannerWithTabs.tsx +4 -6
  72. package/src/components/ContentInfoWidget/ContentInfoWidget.tsx +3 -4
  73. package/src/components/DownloadList/DownloadList.tsx +8 -8
  74. package/src/components/FeaturePost/FeaturePost.tsx +3 -7
  75. package/src/components/Highlights/Highlights.tsx +3 -2
  76. package/src/components/Highlights/components/HighlightItem/HighlightItem.tsx +3 -2
  77. package/src/components/Highlights/components/HighlightList/HighlightList.tsx +5 -2
  78. package/src/components/InlineLinkGroup/InlineLinkGroup.module.css +81 -0
  79. package/src/components/InlineLinkGroup/InlineLinkGroup.tsx +67 -0
  80. package/src/components/InlineLinkGroup/index.ts +5 -0
  81. package/src/components/LinkTile/LinkTile.module.css +62 -26
  82. package/src/components/LinkTile/LinkTile.tsx +8 -1
  83. package/src/components/PromoListing/PromoListing.tsx +3 -11
  84. package/src/components/Quote/Quote.tsx +1 -7
  85. package/src/components/Statistics/Statistics.module.css +0 -10
  86. package/src/components/Statistics/Statistics.tsx +35 -32
  87. package/src/components/Summary/Summary.tsx +3 -1
  88. package/src/components/index.ts +1 -1
  89. package/versions.json +1 -1
  90. package/lib/HeroLink/HeroLink.cjs +0 -35
  91. package/lib/HeroLink/HeroLink.mjs +0 -33
  92. package/lib/HeroLink/styles.css +0 -1
  93. package/lib/_shared/cjs/filter-attrs-BizjMsy0.cjs +0 -27
  94. package/lib/_shared/esm/filter-attrs-DZ7RCEZm.mjs +0 -25
  95. package/src/components/HeroLink/HeroLink.module.css +0 -44
  96. package/src/components/HeroLink/HeroLink.tsx +0 -136
  97. package/src/components/HeroLink/index.ts +0 -2
package/lib/FAQs/FAQs.mjs CHANGED
@@ -1,9 +1,8 @@
1
- import { a as __rest, _ as __assign } from '../_shared/esm/tslib.es6-D6Wu-xwB.mjs';
1
+ import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
2
2
  import React from 'react';
3
3
  import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.mjs';
4
- import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
5
- import { A as Accordion } from '../_shared/esm/Accordion-cd1oYvBv.mjs';
6
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-CpDLCndw.mjs';
4
+ import { A as Accordion } from '../_shared/esm/Accordion-DrOTh90S.mjs';
5
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-DZOg_gYi.mjs';
7
6
  import { Link } from '@arc-ui/components/Link';
8
7
  import { Heading } from '@arc-ui/components/Heading';
9
8
  import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
@@ -1,9 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
3
+ var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
4
4
  var React = require('react');
5
5
  var index = require('../_shared/cjs/index-Bp6Dd2i1.cjs');
6
- var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
7
6
  var index_es = require('../_shared/cjs/index.es-Dq8bYrbW.cjs');
8
7
  var AppButton = require('@arc-ui/components/AppButton');
9
8
  var Grid = require('@arc-ui/components/Grid');
@@ -12,7 +11,7 @@ var Heading = require('@arc-ui/components/Heading');
12
11
  var Text = require('@arc-ui/components/Text');
13
12
  var VerticalSpace = require('@arc-ui/components/VerticalSpace');
14
13
  var useMediaQuery = require('@arc-ui/components/use-media-query');
15
- var Author = require('../_shared/cjs/Author-D4dKNQem.cjs');
14
+ var Author = require('../_shared/cjs/Author-aL8YXi7C.cjs');
16
15
  var Image$1 = require('@arc-ui/components/Image');
17
16
  require('@arc-ui/components/Avatar');
18
17
 
@@ -2204,11 +2203,11 @@ function cleanEscapedString(input) {
2204
2203
  var styles = {"labelDate":"FeaturePost-module_labelDate__NXOgY","googlePlayButtonWrapper":"FeaturePost-module_googlePlayButtonWrapper__GI-ag","imgWrapper":"FeaturePost-module_imgWrapper__r6omd","featurePost":"FeaturePost-module_featurePost__9jY21","featurePostReversed":"FeaturePost-module_featurePostReversed__WQRXm","contentContainer":"FeaturePost-module_contentContainer__kdus7","col":"FeaturePost-module_col__eW8gY"};
2205
2204
 
2206
2205
  var Image = function (_a) {
2207
- var sources = _a.sources, title = _a.title, description = _a.description, props = tslib_es6.__rest(_a, ["sources", "title", "description"]);
2206
+ var sources = _a.sources, title = _a.title, description = _a.description, props = filterAttrs.__rest(_a, ["sources", "title", "description"]);
2208
2207
  return (React.createElement(React.Fragment, null,
2209
2208
  React.createElement("div", { className: styles.imgWrapper },
2210
- React.createElement(Image$1.Image, tslib_es6.__assign({ fadeOnLoad: true }, props), sources &&
2211
- sources.map(function (source) { return React.createElement("source", tslib_es6.__assign({ key: source.srcSet }, source)); }))),
2209
+ React.createElement(Image$1.Image, filterAttrs.__assign({ fadeOnLoad: true }, props), sources &&
2210
+ sources.map(function (source) { return React.createElement("source", filterAttrs.__assign({ key: source.srcSet }, source)); }))),
2212
2211
  title && (React.createElement(React.Fragment, null,
2213
2212
  React.createElement(VerticalSpace.VerticalSpace, { size: "24" }),
2214
2213
  React.createElement(Heading.Heading, { level: "3", size: "s" }, title),
@@ -2232,9 +2231,9 @@ var MediaContent = function (_a) {
2232
2231
  setIsClient(true);
2233
2232
  }, []);
2234
2233
  return (React.createElement(React.Fragment, null,
2235
- image && !video && React.createElement(Image, tslib_es6.__assign({}, image)),
2234
+ image && !video && React.createElement(Image, filterAttrs.__assign({}, image)),
2236
2235
  video && isClient && (React.createElement(React.Suspense, { fallback: null },
2237
- React.createElement(VideoPlayer, tslib_es6.__assign({}, video))))));
2236
+ React.createElement(VideoPlayer, filterAttrs.__assign({}, video))))));
2238
2237
  };
2239
2238
 
2240
2239
  /**
@@ -2242,9 +2241,9 @@ var MediaContent = function (_a) {
2242
2241
  * */
2243
2242
  var FeaturePost = function (_a) {
2244
2243
  var _b;
2245
- var heading = _a.heading, id = _a.id, _c = _a.headingLevel, headingLevel = _c === void 0 ? "2" : _c, label = _a.label, image = _a.image, content = _a.content, footer = _a.footer, video = _a.video, isHeadingWordWrap = _a.isHeadingWordWrap, _d = _a.isReverseOrder, isReverseOrder = _d === void 0 ? false : _d, props = tslib_es6.__rest(_a, ["heading", "id", "headingLevel", "label", "image", "content", "footer", "video", "isHeadingWordWrap", "isReverseOrder"]);
2244
+ var heading = _a.heading, id = _a.id, _c = _a.headingLevel, headingLevel = _c === void 0 ? "2" : _c, label = _a.label, image = _a.image, content = _a.content, footer = _a.footer, video = _a.video, isHeadingWordWrap = _a.isHeadingWordWrap, _d = _a.isReverseOrder, isReverseOrder = _d === void 0 ? false : _d, props = filterAttrs.__rest(_a, ["heading", "id", "headingLevel", "label", "image", "content", "footer", "video", "isHeadingWordWrap", "isReverseOrder"]);
2246
2245
  var isMinWidthArcBreakpointM = useMediaQuery.useMediaQuery("(min-width: ".concat(index_es.ArcSizeBreakpointsM, ")"));
2247
- return (React.createElement("div", tslib_es6.__assign({ "data-testid": "feature-post", className: index.classNames(styles.featurePost, (_b = {},
2246
+ return (React.createElement("div", filterAttrs.__assign({ "data-testid": "feature-post", className: index.classNames(styles.featurePost, (_b = {},
2248
2247
  _b[styles.featurePostReversed] = isReverseOrder,
2249
2248
  _b)) }, filterAttrs.filterAttrs(props)),
2250
2249
  React.createElement("div", { className: styles.col },
@@ -2261,14 +2260,14 @@ var FeaturePost = function (_a) {
2261
2260
  !isMinWidthArcBreakpointM && (React.createElement("div", { "data-testid": "mobile-img" },
2262
2261
  React.createElement(VerticalSpace.VerticalSpace, { size: "40" }),
2263
2262
  React.createElement(MediaContent, { image: image, video: video }))),
2264
- React.createElement(VerticalSpace.VerticalSpace, { size: "40" }),
2263
+ React.createElement(VerticalSpace.VerticalSpace, { size: "24" }),
2265
2264
  typeof content === "string" ? (React.createElement(Text.Text, { size: "l" }, content)) : (content),
2266
2265
  (footer === null || footer === void 0 ? void 0 : footer.type) === "cta" && (React.createElement(React.Fragment, null,
2267
2266
  footer.author && (React.createElement(React.Fragment, null,
2268
- React.createElement(VerticalSpace.VerticalSpace, { size: "24" }),
2269
- React.createElement(Author.Author, { name: footer.author.name, title: footer.author.title, avatar: footer.author.avatar }))),
2267
+ React.createElement(VerticalSpace.VerticalSpace, { size: "40" }),
2268
+ React.createElement(Author.Author, filterAttrs.__assign({}, footer.author)))),
2270
2269
  React.createElement(VerticalSpace.VerticalSpace, { size: "40" }),
2271
- React.createElement(ButtonV2.ButtonV2, tslib_es6.__assign({ buttonStyle: "secondary" }, footer.button)))),
2270
+ React.createElement(ButtonV2.ButtonV2, filterAttrs.__assign({ buttonStyle: "secondary" }, footer.button)))),
2272
2271
  (footer === null || footer === void 0 ? void 0 : footer.type) === "appButton" && (React.createElement(React.Fragment, null,
2273
2272
  React.createElement(VerticalSpace.VerticalSpace, { size: "40" }),
2274
2273
  React.createElement(Grid.Grid, { isGutterless: true, isFluid: true },
@@ -1,7 +1,6 @@
1
- import { a as __rest, _ as __assign } from '../_shared/esm/tslib.es6-D6Wu-xwB.mjs';
1
+ import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
2
2
  import React, { useState, useEffect, Suspense } from 'react';
3
3
  import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.mjs';
4
- import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
5
4
  import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-Bfdys5__.mjs';
6
5
  import { AppButton } from '@arc-ui/components/AppButton';
7
6
  import { Grid, GridRow, GridCol } from '@arc-ui/components/Grid';
@@ -10,7 +9,7 @@ import { Heading } from '@arc-ui/components/Heading';
10
9
  import { Text } from '@arc-ui/components/Text';
11
10
  import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
12
11
  import { useMediaQuery } from '@arc-ui/components/use-media-query';
13
- import { A as Author } from '../_shared/esm/Author-HnYsFTPT.mjs';
12
+ import { A as Author } from '../_shared/esm/Author-BVCRPgkl.mjs';
14
13
  import { Image as Image$1 } from '@arc-ui/components/Image';
15
14
  import '@arc-ui/components/Avatar';
16
15
 
@@ -2259,12 +2258,12 @@ var FeaturePost = function (_a) {
2259
2258
  !isMinWidthArcBreakpointM && (React.createElement("div", { "data-testid": "mobile-img" },
2260
2259
  React.createElement(VerticalSpace, { size: "40" }),
2261
2260
  React.createElement(MediaContent, { image: image, video: video }))),
2262
- React.createElement(VerticalSpace, { size: "40" }),
2261
+ React.createElement(VerticalSpace, { size: "24" }),
2263
2262
  typeof content === "string" ? (React.createElement(Text, { size: "l" }, content)) : (content),
2264
2263
  (footer === null || footer === void 0 ? void 0 : footer.type) === "cta" && (React.createElement(React.Fragment, null,
2265
2264
  footer.author && (React.createElement(React.Fragment, null,
2266
- React.createElement(VerticalSpace, { size: "24" }),
2267
- React.createElement(Author, { name: footer.author.name, title: footer.author.title, avatar: footer.author.avatar }))),
2265
+ React.createElement(VerticalSpace, { size: "40" }),
2266
+ React.createElement(Author, __assign({}, footer.author)))),
2268
2267
  React.createElement(VerticalSpace, { size: "40" }),
2269
2268
  React.createElement(ButtonV2, __assign({ buttonStyle: "secondary" }, footer.button)))),
2270
2269
  (footer === null || footer === void 0 ? void 0 : footer.type) === "appButton" && (React.createElement(React.Fragment, null,
@@ -1,18 +1,17 @@
1
1
  'use strict';
2
2
 
3
+ var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
3
4
  var React = require('react');
4
5
  var useMediaQuery = require('@arc-ui/components/use-media-query');
5
6
  var ButtonV2 = require('@arc-ui/components/ButtonV2');
6
7
  var VerticalSpace = require('@arc-ui/components/VerticalSpace');
7
8
  var BtIconArrowRightFill = require('../_shared/cjs/BtIconArrowRightFill-BVCZv7Lm.cjs');
8
- var SectionHeading = require('../_shared/cjs/SectionHeading-DeSFM0HV.cjs');
9
+ var SectionHeading = require('../_shared/cjs/SectionHeading-Dj-dJfv3.cjs');
9
10
  var index = require('../_shared/cjs/index-Bp6Dd2i1.cjs');
10
11
  var Heading = require('@arc-ui/components/Heading');
11
12
  var Icon = require('@arc-ui/components/Icon');
12
13
  var Text = require('@arc-ui/components/Text');
13
14
  var Link = require('@arc-ui/components/Link');
14
- require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
15
- require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
16
15
  require('@arc-ui/components/Image');
17
16
 
18
17
  var styles = {"highlights":"Highlights-module_highlights__Hf7Zq","highlightItem":"Highlights-module_highlightItem__-N6le","highlights2Column":"Highlights-module_highlights2Column__6qIuI","highlights3Column":"Highlights-module_highlights3Column__qsCMP"};
@@ -23,9 +22,9 @@ var getListHeadingLevel = function (level) {
23
22
  };
24
23
 
25
24
  var HighlightItem = function (_a) {
26
- var icon = _a.icon, heading = _a.heading, text = _a.text, link = _a.link, isSmallIcon = _a.isSmallIcon, headingLevel = _a.headingLevel;
25
+ var icon = _a.icon, heading = _a.heading, text = _a.text, link = _a.link, isSmallIcon = _a.isSmallIcon, headingLevel = _a.headingLevel, props = filterAttrs.__rest(_a, ["icon", "heading", "text", "link", "isSmallIcon", "headingLevel"]);
27
26
  var listHeadingLevel = getListHeadingLevel(headingLevel || "2");
28
- return (React.createElement("div", { "data-testid": "highlight-item-container", className: styles.highlightItem },
27
+ return (React.createElement("div", filterAttrs.__assign({ "data-testid": "highlight-item-container", className: styles.highlightItem }, filterAttrs.filterAttrs(props)),
29
28
  icon && (React.createElement("div", { className: styles.Icon },
30
29
  React.createElement(Icon.Icon, { "data-testid": "highlight-icon", color: "brand", icon: icon, size: isSmallIcon ? 64 : 76 }))),
31
30
  React.createElement(VerticalSpace.VerticalSpace, { size: "16" }),
@@ -37,11 +36,11 @@ var HighlightItem = function (_a) {
37
36
  };
38
37
 
39
38
  var HighlightList = function (_a) {
40
- var listItems = _a.listItems, columns = _a.columns, isSmallIcon = _a.isSmallIcon, headingLevel = _a.headingLevel;
39
+ var listItems = _a.listItems, columns = _a.columns, isSmallIcon = _a.isSmallIcon, headingLevel = _a.headingLevel, props = filterAttrs.__rest(_a, ["listItems", "columns", "isSmallIcon", "headingLevel"]);
41
40
  var id = React.useId();
42
- return (React.createElement("div", { "data-testid": "highlights-list", className: index.classNames(styles.highlights, styles["highlights".concat(columns, "Column")]) }, listItems.map(function (_a, i) {
43
- var icon = _a.icon, heading = _a.heading, text = _a.text, link = _a.link;
44
- return (React.createElement(HighlightItem, { key: "highlight-".concat(id, "-").concat(i), icon: icon, heading: heading, text: text, link: link, isSmallIcon: isSmallIcon, headingLevel: headingLevel }));
41
+ return (React.createElement("div", filterAttrs.__assign({ "data-testid": "highlights-list", className: index.classNames(styles.highlights, styles["highlights".concat(columns, "Column")]) }, filterAttrs.filterAttrs(props)), listItems.map(function (_a, i) {
42
+ var icon = _a.icon, heading = _a.heading, text = _a.text, link = _a.link, itemProps = filterAttrs.__rest(_a, ["icon", "heading", "text", "link"]);
43
+ return (React.createElement(HighlightItem, filterAttrs.__assign({ key: "highlight-".concat(id, "-").concat(i), icon: icon, heading: heading, text: text, link: link, isSmallIcon: isSmallIcon, headingLevel: headingLevel }, itemProps)));
45
44
  })));
46
45
  };
47
46
 
@@ -52,11 +51,11 @@ var HighlightList = function (_a) {
52
51
  */
53
52
  var Highlights = function (_a) {
54
53
  var _b, _c, _d;
55
- var heading = _a.heading, headingLevel = _a.headingLevel, id = _a.id, isHeadingWordWrap = _a.isHeadingWordWrap, content = _a.content, listItems = _a.listItems, _e = _a.columns, columns = _e === void 0 ? "2" : _e, cta = _a.cta;
54
+ var heading = _a.heading, headingLevel = _a.headingLevel, id = _a.id, isHeadingWordWrap = _a.isHeadingWordWrap, content = _a.content, listItems = _a.listItems, _e = _a.columns, columns = _e === void 0 ? "2" : _e, cta = _a.cta, props = filterAttrs.__rest(_a, ["heading", "headingLevel", "id", "isHeadingWordWrap", "content", "listItems", "columns", "cta"]);
56
55
  var isMaxWidthArcBreakpointXs = useMediaQuery.useMediaQuery("(max-width: 767px)");
57
- return (React.createElement("div", null,
56
+ return (React.createElement("div", filterAttrs.__assign({}, filterAttrs.filterAttrs(props)),
58
57
  React.createElement(SectionHeading.SectionHeading, { isPadded: true, id: id, "data-testid": "highlights-header", heading: heading, headingLevel: headingLevel, isHeadingWordWrap: isHeadingWordWrap, content: content }),
59
- React.createElement(HighlightList, { "data-testid": "highlights-list-container", listItems: listItems, columns: columns, isSmallIcon: isMaxWidthArcBreakpointXs, headingLevel: headingLevel }),
58
+ React.createElement(HighlightList, { listItems: listItems, columns: columns, isSmallIcon: isMaxWidthArcBreakpointXs, headingLevel: headingLevel }),
60
59
  cta && (React.createElement(React.Fragment, null,
61
60
  React.createElement(VerticalSpace.VerticalSpace, { size: "24" }),
62
61
  React.createElement(ButtonV2.ButtonV2, { label: cta.label, href: cta.href, onClick: cta.onClick, size: "m", ariaLabel: cta.ariaLabel, buttonStyle: cta.buttonStyle, icon: cta.buttonStyle === "compact"
@@ -1,16 +1,15 @@
1
+ import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
1
2
  import React, { useId } from 'react';
2
3
  import { useMediaQuery } from '@arc-ui/components/use-media-query';
3
4
  import { ButtonV2 } from '@arc-ui/components/ButtonV2';
4
5
  import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
5
6
  import { B as BtIconArrowRightFill } from '../_shared/esm/BtIconArrowRightFill-D0zKgk3B.mjs';
6
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-CpDLCndw.mjs';
7
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-DZOg_gYi.mjs';
7
8
  import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.mjs';
8
9
  import { Heading } from '@arc-ui/components/Heading';
9
10
  import { Icon } from '@arc-ui/components/Icon';
10
11
  import { Text } from '@arc-ui/components/Text';
11
12
  import { Link } from '@arc-ui/components/Link';
12
- import '../_shared/esm/tslib.es6-D6Wu-xwB.mjs';
13
- import '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
14
13
  import '@arc-ui/components/Image';
15
14
 
16
15
  var styles = {"highlights":"Highlights-module_highlights__Hf7Zq","highlightItem":"Highlights-module_highlightItem__-N6le","highlights2Column":"Highlights-module_highlights2Column__6qIuI","highlights3Column":"Highlights-module_highlights3Column__qsCMP"};
@@ -21,9 +20,9 @@ var getListHeadingLevel = function (level) {
21
20
  };
22
21
 
23
22
  var HighlightItem = function (_a) {
24
- var icon = _a.icon, heading = _a.heading, text = _a.text, link = _a.link, isSmallIcon = _a.isSmallIcon, headingLevel = _a.headingLevel;
23
+ var icon = _a.icon, heading = _a.heading, text = _a.text, link = _a.link, isSmallIcon = _a.isSmallIcon, headingLevel = _a.headingLevel, props = __rest(_a, ["icon", "heading", "text", "link", "isSmallIcon", "headingLevel"]);
25
24
  var listHeadingLevel = getListHeadingLevel(headingLevel || "2");
26
- return (React.createElement("div", { "data-testid": "highlight-item-container", className: styles.highlightItem },
25
+ return (React.createElement("div", __assign({ "data-testid": "highlight-item-container", className: styles.highlightItem }, filterAttrs(props)),
27
26
  icon && (React.createElement("div", { className: styles.Icon },
28
27
  React.createElement(Icon, { "data-testid": "highlight-icon", color: "brand", icon: icon, size: isSmallIcon ? 64 : 76 }))),
29
28
  React.createElement(VerticalSpace, { size: "16" }),
@@ -35,11 +34,11 @@ var HighlightItem = function (_a) {
35
34
  };
36
35
 
37
36
  var HighlightList = function (_a) {
38
- var listItems = _a.listItems, columns = _a.columns, isSmallIcon = _a.isSmallIcon, headingLevel = _a.headingLevel;
37
+ var listItems = _a.listItems, columns = _a.columns, isSmallIcon = _a.isSmallIcon, headingLevel = _a.headingLevel, props = __rest(_a, ["listItems", "columns", "isSmallIcon", "headingLevel"]);
39
38
  var id = useId();
40
- return (React.createElement("div", { "data-testid": "highlights-list", className: classNames(styles.highlights, styles["highlights".concat(columns, "Column")]) }, listItems.map(function (_a, i) {
41
- var icon = _a.icon, heading = _a.heading, text = _a.text, link = _a.link;
42
- return (React.createElement(HighlightItem, { key: "highlight-".concat(id, "-").concat(i), icon: icon, heading: heading, text: text, link: link, isSmallIcon: isSmallIcon, headingLevel: headingLevel }));
39
+ return (React.createElement("div", __assign({ "data-testid": "highlights-list", className: classNames(styles.highlights, styles["highlights".concat(columns, "Column")]) }, filterAttrs(props)), listItems.map(function (_a, i) {
40
+ var icon = _a.icon, heading = _a.heading, text = _a.text, link = _a.link, itemProps = __rest(_a, ["icon", "heading", "text", "link"]);
41
+ return (React.createElement(HighlightItem, __assign({ key: "highlight-".concat(id, "-").concat(i), icon: icon, heading: heading, text: text, link: link, isSmallIcon: isSmallIcon, headingLevel: headingLevel }, itemProps)));
43
42
  })));
44
43
  };
45
44
 
@@ -50,11 +49,11 @@ var HighlightList = function (_a) {
50
49
  */
51
50
  var Highlights = function (_a) {
52
51
  var _b, _c, _d;
53
- var heading = _a.heading, headingLevel = _a.headingLevel, id = _a.id, isHeadingWordWrap = _a.isHeadingWordWrap, content = _a.content, listItems = _a.listItems, _e = _a.columns, columns = _e === void 0 ? "2" : _e, cta = _a.cta;
52
+ var heading = _a.heading, headingLevel = _a.headingLevel, id = _a.id, isHeadingWordWrap = _a.isHeadingWordWrap, content = _a.content, listItems = _a.listItems, _e = _a.columns, columns = _e === void 0 ? "2" : _e, cta = _a.cta, props = __rest(_a, ["heading", "headingLevel", "id", "isHeadingWordWrap", "content", "listItems", "columns", "cta"]);
54
53
  var isMaxWidthArcBreakpointXs = useMediaQuery("(max-width: 767px)");
55
- return (React.createElement("div", null,
54
+ return (React.createElement("div", __assign({}, filterAttrs(props)),
56
55
  React.createElement(SectionHeading, { isPadded: true, id: id, "data-testid": "highlights-header", heading: heading, headingLevel: headingLevel, isHeadingWordWrap: isHeadingWordWrap, content: content }),
57
- React.createElement(HighlightList, { "data-testid": "highlights-list-container", listItems: listItems, columns: columns, isSmallIcon: isMaxWidthArcBreakpointXs, headingLevel: headingLevel }),
56
+ React.createElement(HighlightList, { listItems: listItems, columns: columns, isSmallIcon: isMaxWidthArcBreakpointXs, headingLevel: headingLevel }),
58
57
  cta && (React.createElement(React.Fragment, null,
59
58
  React.createElement(VerticalSpace, { size: "24" }),
60
59
  React.createElement(ButtonV2, { label: cta.label, href: cta.href, onClick: cta.onClick, size: "m", ariaLabel: cta.ariaLabel, buttonStyle: cta.buttonStyle, icon: cta.buttonStyle === "compact"
@@ -0,0 +1,25 @@
1
+ 'use strict';
2
+
3
+ var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
4
+ var React = require('react');
5
+ var Link = require('@arc-ui/components/Link');
6
+ var Icon = require('@arc-ui/components/Icon');
7
+ var Heading = require('@arc-ui/components/Heading');
8
+ var BtIconArrowAltRight = require('../_shared/cjs/BtIconArrowAltRight-CLQdP61r.cjs');
9
+
10
+ var styles = {"quick-help":"InlineLinkGroup-module_quick-help__cMTpB","quick-help-label":"InlineLinkGroup-module_quick-help-label__VLKen","quick-help-container":"InlineLinkGroup-module_quick-help-container__IStTk","quick-help-item":"InlineLinkGroup-module_quick-help-item__QTIMl","quick-help-separator":"InlineLinkGroup-module_quick-help-separator__qJE0q","quick-help-separator-line":"InlineLinkGroup-module_quick-help-separator-line__VbCVI"};
11
+
12
+ var InlineLinkGroup = function (_a) {
13
+ var label = _a.label, links = _a.links, props = filterAttrs.__rest(_a, ["label", "links"]);
14
+ return (React.createElement("div", filterAttrs.__assign({ className: styles["quick-help"] }, filterAttrs.filterAttrs(props)),
15
+ label && (React.createElement("div", { className: styles["quick-help-label"] },
16
+ React.createElement(Heading.Heading, { size: "xxs", fontStyle: "overline" }, label))),
17
+ React.createElement("ul", { className: styles["quick-help-container"] }, links.map(function (link, index) { return (React.createElement(React.Fragment, { key: index },
18
+ React.createElement("li", { className: styles["quick-help-item"] },
19
+ React.createElement(Link.Link, { href: link.href, onClick: link.onClick, "aria-label": link.ariaLabel }, link.label),
20
+ React.createElement(Icon.Icon, { icon: BtIconArrowAltRight.BtIconArrowAltRight, size: 24, color: "brand" })),
21
+ index < links.length - 1 && (React.createElement("li", { className: styles["quick-help-separator"], "aria-hidden": "true" },
22
+ React.createElement("div", { className: styles["quick-help-separator-line"] }))))); }))));
23
+ };
24
+
25
+ exports.InlineLinkGroup = InlineLinkGroup;
@@ -0,0 +1,23 @@
1
+ import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
2
+ import React from 'react';
3
+ import { Link } from '@arc-ui/components/Link';
4
+ import { Icon } from '@arc-ui/components/Icon';
5
+ import { Heading } from '@arc-ui/components/Heading';
6
+ import { B as BtIconArrowAltRight } from '../_shared/esm/BtIconArrowAltRight-VH6RTTnL.mjs';
7
+
8
+ var styles = {"quick-help":"InlineLinkGroup-module_quick-help__cMTpB","quick-help-label":"InlineLinkGroup-module_quick-help-label__VLKen","quick-help-container":"InlineLinkGroup-module_quick-help-container__IStTk","quick-help-item":"InlineLinkGroup-module_quick-help-item__QTIMl","quick-help-separator":"InlineLinkGroup-module_quick-help-separator__qJE0q","quick-help-separator-line":"InlineLinkGroup-module_quick-help-separator-line__VbCVI"};
9
+
10
+ var InlineLinkGroup = function (_a) {
11
+ var label = _a.label, links = _a.links, props = __rest(_a, ["label", "links"]);
12
+ return (React.createElement("div", __assign({ className: styles["quick-help"] }, filterAttrs(props)),
13
+ label && (React.createElement("div", { className: styles["quick-help-label"] },
14
+ React.createElement(Heading, { size: "xxs", fontStyle: "overline" }, label))),
15
+ React.createElement("ul", { className: styles["quick-help-container"] }, links.map(function (link, index) { return (React.createElement(React.Fragment, { key: index },
16
+ React.createElement("li", { className: styles["quick-help-item"] },
17
+ React.createElement(Link, { href: link.href, onClick: link.onClick, "aria-label": link.ariaLabel }, link.label),
18
+ React.createElement(Icon, { icon: BtIconArrowAltRight, size: 24, color: "brand" })),
19
+ index < links.length - 1 && (React.createElement("li", { className: styles["quick-help-separator"], "aria-hidden": "true" },
20
+ React.createElement("div", { className: styles["quick-help-separator-line"] }))))); }))));
21
+ };
22
+
23
+ export { InlineLinkGroup };
@@ -0,0 +1 @@
1
+ .InlineLinkGroup-module_quick-help__cMTpB{display:flex;flex-direction:column;align-items:center;width:100%}.InlineLinkGroup-module_quick-help__cMTpB ul,.InlineLinkGroup-module_quick-help__cMTpB li{list-style:none;margin:0;padding:0}.InlineLinkGroup-module_quick-help-label__VLKen{display:flex;flex-direction:row;align-items:center;padding-bottom:var(--sem-space-padding-110);width:100%}.InlineLinkGroup-module_quick-help-container__IStTk{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:var(--sem-space-padding-70);width:100%}.InlineLinkGroup-module_quick-help-item__QTIMl{display:flex;align-items:center;gap:var(--arc-spacing-4);width:auto;flex:0 0 auto}.InlineLinkGroup-module_quick-help-item__QTIMl svg{display:none;width:24px;height:24px}.InlineLinkGroup-module_quick-help-separator__qJE0q{display:flex;align-items:center}.InlineLinkGroup-module_quick-help-separator-line__VbCVI{width:1px;height:14px;background:var(--sem-color-border-secondary-light-minimal)}@media not (min-width:636px){.InlineLinkGroup-module_quick-help-container__IStTk{flex-direction:column;align-items:flex-start;gap:var(--sem-space-padding-70)}.InlineLinkGroup-module_quick-help-item__QTIMl svg{display:block}.InlineLinkGroup-module_quick-help-separator__qJE0q{display:none}}
@@ -1,21 +1,21 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
3
+ var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
4
4
  var React = require('react');
5
5
  var index = require('../_shared/cjs/index-Bp6Dd2i1.cjs');
6
- var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
7
6
  var Icon = require('@arc-ui/components/Icon');
8
7
  var BtIconArrowAltRight = require('../_shared/cjs/BtIconArrowAltRight-CLQdP61r.cjs');
9
8
 
10
- var styles = {"link-tile":"LinkTile-module_link-tile__xVUP3","link-tile-content":"LinkTile-module_link-tile-content__H-QN8","link-tile-text":"LinkTile-module_link-tile-text__0K6zf"};
9
+ var styles = {"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"};
11
10
 
12
11
  var LinkTile = function (_a) {
13
- var text = _a.text, href = _a.href, _b = _a.showIcon, showIcon = _b === void 0 ? true : _b, className = _a.className, props = tslib_es6.__rest(_a, ["text", "href", "showIcon", "className"]);
12
+ var text = _a.text, href = _a.href, _b = _a.showIcon, showIcon = _b === void 0 ? true : _b, className = _a.className, props = filterAttrs.__rest(_a, ["text", "href", "showIcon", "className"]);
14
13
  var Component = href ? "a" : "div";
15
14
  var linkProps = href ? { href: href } : {};
16
- return (React.createElement(Component, tslib_es6.__assign({ className: index.classNames(styles["link-tile"], className) }, linkProps, filterAttrs.filterAttrs(props)), text && (React.createElement("div", { className: styles["link-tile-content"] },
15
+ return (React.createElement(Component, filterAttrs.__assign({ className: index.classNames(styles["link-tile"], className) }, linkProps, filterAttrs.filterAttrs(props)), text && (React.createElement("div", { className: styles["link-tile-content"] },
17
16
  React.createElement("span", { className: styles["link-tile-text"] }, text),
18
- showIcon && React.createElement(Icon.Icon, { icon: BtIconArrowAltRight.BtIconArrowAltRight, size: 32 })))));
17
+ showIcon && (React.createElement("span", { className: styles["link-tile-icon"] },
18
+ React.createElement(Icon.Icon, { icon: BtIconArrowAltRight.BtIconArrowAltRight, size: 32 })))))));
19
19
  };
20
20
 
21
21
  exports.LinkTile = LinkTile;
@@ -1,11 +1,10 @@
1
- import { a as __rest, _ as __assign } from '../_shared/esm/tslib.es6-D6Wu-xwB.mjs';
1
+ import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
2
2
  import React from 'react';
3
3
  import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.mjs';
4
- import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
5
4
  import { Icon } from '@arc-ui/components/Icon';
6
5
  import { B as BtIconArrowAltRight } from '../_shared/esm/BtIconArrowAltRight-VH6RTTnL.mjs';
7
6
 
8
- var styles = {"link-tile":"LinkTile-module_link-tile__xVUP3","link-tile-content":"LinkTile-module_link-tile-content__H-QN8","link-tile-text":"LinkTile-module_link-tile-text__0K6zf"};
7
+ var styles = {"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"};
9
8
 
10
9
  var LinkTile = function (_a) {
11
10
  var text = _a.text, href = _a.href, _b = _a.showIcon, showIcon = _b === void 0 ? true : _b, className = _a.className, props = __rest(_a, ["text", "href", "showIcon", "className"]);
@@ -13,7 +12,8 @@ var LinkTile = function (_a) {
13
12
  var linkProps = href ? { href: href } : {};
14
13
  return (React.createElement(Component, __assign({ className: classNames(styles["link-tile"], className) }, linkProps, filterAttrs(props)), text && (React.createElement("div", { className: styles["link-tile-content"] },
15
14
  React.createElement("span", { className: styles["link-tile-text"] }, text),
16
- showIcon && React.createElement(Icon, { icon: BtIconArrowAltRight, size: 32 })))));
15
+ showIcon && (React.createElement("span", { className: styles["link-tile-icon"] },
16
+ React.createElement(Icon, { icon: BtIconArrowAltRight, size: 32 })))))));
17
17
  };
18
18
 
19
19
  export { LinkTile };
@@ -1 +1 @@
1
- .LinkTile-module_link-tile__xVUP3{display:flex;flex-direction:column;width:306px;border:1px solid #c8c8c8;border-radius:32px;padding:24px;background:#ffffff;text-decoration:none;cursor:pointer;transition:border-color 0.2s ease,border-radius 0.2s ease}.LinkTile-module_link-tile-content__H-QN8{display:flex;align-items:center;justify-content:space-between;gap:8px}.LinkTile-module_link-tile-text__0K6zf{font-family:"BT Curve",sans-serif;font-size:16px;font-weight:500;line-height:24px;letter-spacing:0;color:#5514b4;transition:color 0.2s ease;flex:1}.LinkTile-module_link-tile__xVUP3 .LinkTile-module_link-tile-content__H-QN8 svg{color:#5514b4;flex-shrink:0;transition:color 0.2s ease}.LinkTile-module_link-tile__xVUP3:hover{border-color:#5514b4}.LinkTile-module_link-tile__xVUP3:active{border-radius:32px}.LinkTile-module_link-tile__xVUP3:hover .LinkTile-module_link-tile-text__0K6zf,.LinkTile-module_link-tile__xVUP3:hover .LinkTile-module_link-tile-content__H-QN8 svg{color:#3f187f}@media (max-width: 1023px){.LinkTile-module_link-tile__xVUP3{padding:24px 16px 24px 24px}}
1
+ .LinkTile-module_link-tile__xVUP3{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:center;width:306px;height:96px;border:var(--sem-border-width-xxs) solid var(--sem-color-border-secondary-light-minimal);border-radius:var(--sem-border-radius-xl);padding:var(--sem-space-padding-110) var(--sem-space-padding-70) var(--sem-space-padding-110) var(--sem-space-padding-110);background:var(--sem-color-bg-secondary-light-default);text-decoration:none;cursor:pointer;transition:border-color 0.2s ease;flex:none;align-self:stretch;position:relative;overflow:visible}.LinkTile-module_link-tile-content__H-QN8{display:flex;flex-direction:row;justify-content:center;align-items:center;gap:var(--sem-space-padding-40);width:100%;height:48px;flex:none;align-self:stretch}.LinkTile-module_link-tile-icon__kTMfH{display:flex;width:32px;height:32px;color:var(--sem-color-fg-primary-light-default);transition:color 0.2s ease;flex:none;flex-shrink:0;order:1}.LinkTile-module_link-tile-text__0K6zf{font-family:var(--sem-font-family-heading);font-size:var(--sem-font-size-100);font-weight:var(--sem-font-weight-semi);line-height:var(--sem-line-height-base-scale-xs);letter-spacing:0;color:var(--sem-color-fg-primary-light-default);transition:color 0.2s ease;flex:1;order:0}.LinkTile-module_link-tile-icon__kTMfH svg,.LinkTile-module_link-tile__xVUP3 .LinkTile-module_link-tile-content__H-QN8 svg{color:inherit;transition:color 0.2s ease}.LinkTile-module_link-tile__xVUP3[\:not-has\(svg\)]{padding:var(--sem-space-padding-110)}.LinkTile-module_link-tile__xVUP3:not(:has(svg)){padding:var(--sem-space-padding-110)}.LinkTile-module_link-tile__xVUP3:active{border-radius:var(--sem-border-radius-xl)}@media (min-width:1024px){.LinkTile-module_link-tile__xVUP3{padding:var(--sem-space-padding-110) var(--sem-space-padding-70) var(--sem-space-padding-110) var(--sem-space-padding-110)}}.LinkTile-module_link-tile__xVUP3:hover{border-color:transparent;box-shadow:inset 0 0 0 2px var(--button-v2-colors-light-text-hover)}.LinkTile-module_link-tile__xVUP3:hover .LinkTile-module_link-tile-text__0K6zf{color:var(--button-v2-colors-light-text-hover)}.LinkTile-module_link-tile__xVUP3:hover .LinkTile-module_link-tile-icon__kTMfH{color:var(--button-v2-colors-light-text-hover)}
@@ -1,12 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
3
+ var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
4
4
  var React = require('react');
5
5
  var index = require('../_shared/cjs/index-Bp6Dd2i1.cjs');
6
- var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
7
6
  var useMediaQuery = require('@arc-ui/components/use-media-query');
8
7
  var index_es = require('../_shared/cjs/index.es-Dq8bYrbW.cjs');
9
- var SectionHeading = require('../_shared/cjs/SectionHeading-DeSFM0HV.cjs');
8
+ var SectionHeading = require('../_shared/cjs/SectionHeading-Dj-dJfv3.cjs');
10
9
  var ButtonV2 = require('@arc-ui/components/ButtonV2');
11
10
  var InformationCard = require('@arc-ui/components/InformationCard');
12
11
  var VerticalSpace = require('@arc-ui/components/VerticalSpace');
@@ -21,7 +20,7 @@ var styles = {"product-navigation-grid":"ProductNavigation-module_product-naviga
21
20
  * Use `ProductNavigation` to give a collection of product information cards collected within a grid that has optional show/hide capability
22
21
  */
23
22
  var ProductNavigation = function (_a) {
24
- var heading = _a.heading, id = _a.id, headingLevel = _a.headingLevel, isHeadingWordWrap = _a.isHeadingWordWrap, content = _a.content, _b = _a.hideButton, hideButton = _b === void 0 ? false : _b, productList = _a.productList, _c = _a.defaultExpanded, defaultExpanded = _c === void 0 ? false : _c, minHeight = _a.minHeight, _d = _a.cardsToDisplay, cardsToDisplay = _d === void 0 ? 3 : _d, _e = _a.listIncrement, listIncrement = _e === void 0 ? 6 : _e, onClickMore = _a.onClickMore, onClickLess = _a.onClickLess, _f = _a.hideShowLess, hideShowLess = _f === void 0 ? false : _f, isLoading = _a.isLoading, image = _a.image, props = tslib_es6.__rest(_a, ["heading", "id", "headingLevel", "isHeadingWordWrap", "content", "hideButton", "productList", "defaultExpanded", "minHeight", "cardsToDisplay", "listIncrement", "onClickMore", "onClickLess", "hideShowLess", "isLoading", "image"]);
23
+ var heading = _a.heading, id = _a.id, headingLevel = _a.headingLevel, isHeadingWordWrap = _a.isHeadingWordWrap, content = _a.content, _b = _a.hideButton, hideButton = _b === void 0 ? false : _b, productList = _a.productList, _c = _a.defaultExpanded, defaultExpanded = _c === void 0 ? false : _c, minHeight = _a.minHeight, _d = _a.cardsToDisplay, cardsToDisplay = _d === void 0 ? 3 : _d, _e = _a.listIncrement, listIncrement = _e === void 0 ? 6 : _e, onClickMore = _a.onClickMore, onClickLess = _a.onClickLess, _f = _a.hideShowLess, hideShowLess = _f === void 0 ? false : _f, isLoading = _a.isLoading, image = _a.image, props = filterAttrs.__rest(_a, ["heading", "id", "headingLevel", "isHeadingWordWrap", "content", "hideButton", "productList", "defaultExpanded", "minHeight", "cardsToDisplay", "listIncrement", "onClickMore", "onClickLess", "hideShowLess", "isLoading", "image"]);
25
24
  var _g = React.useState(false), hideLessButton = _g[0], setHideLessButton = _g[1];
26
25
  var _h = React.useState(cardsToDisplay), skipLinkCard = _h[0], setSkipLinkCard = _h[1];
27
26
  var _j = React.useState(productList.slice(0, cardsToDisplay)), displayList = _j[0], setDisplayList = _j[1];
@@ -57,12 +56,12 @@ var ProductNavigation = function (_a) {
57
56
  }
58
57
  };
59
58
  var isMinWidthArcBreakpointS = useMediaQuery.useMediaQuery("(min-width: ".concat(index_es.ArcSizeBreakpointsS, ")"));
60
- return (React.createElement("div", tslib_es6.__assign({}, filterAttrs.filterAttrs(props)),
59
+ return (React.createElement("div", filterAttrs.__assign({}, filterAttrs.filterAttrs(props)),
61
60
  React.createElement(SectionHeading.SectionHeading, { isPadded: true, id: id, "data-testid": "ProductNavigation-header", heading: heading, headingLevel: headingLevel, isHeadingWordWrap: isHeadingWordWrap, content: content, image: image }),
62
61
  React.createElement("ul", { className: index.classNames(styles["product-navigation-grid"]) }, displayList === null || displayList === void 0 ? void 0 : displayList.map(function (cardProps, i) {
63
62
  var _a;
64
63
  return (React.createElement("li", { key: "displayList-".concat(i), tabIndex: -1, ref: i === skipLinkCard ? cardRef : undefined, "data-cy": "list-item-".concat(i) },
65
- React.createElement(InformationCard.InformationCard, tslib_es6.__assign({}, cardProps, { minHeight: minHeight !== null && minHeight !== void 0 ? minHeight : cardProps.minHeight, headingLevel: (_a = cardProps.headingLevel) !== null && _a !== void 0 ? _a : "2" }))));
64
+ React.createElement(InformationCard.InformationCard, filterAttrs.__assign({}, cardProps, { minHeight: minHeight !== null && minHeight !== void 0 ? minHeight : cardProps.minHeight, headingLevel: (_a = cardProps.headingLevel) !== null && _a !== void 0 ? _a : "2" }))));
66
65
  })),
67
66
  React.createElement(VerticalSpace.VerticalSpace, { size: "40" }),
68
67
  React.createElement("div", { style: { display: "flex" } },
@@ -1,10 +1,9 @@
1
- import { a as __rest, _ as __assign } from '../_shared/esm/tslib.es6-D6Wu-xwB.mjs';
1
+ import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
2
2
  import React, { useState, useRef, useEffect } from 'react';
3
3
  import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.mjs';
4
- import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
5
4
  import { useMediaQuery } from '@arc-ui/components/use-media-query';
6
5
  import { A as ArcSizeBreakpointsS } from '../_shared/esm/index.es-Bfdys5__.mjs';
7
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-CpDLCndw.mjs';
6
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-DZOg_gYi.mjs';
8
7
  import { ButtonV2 } from '@arc-ui/components/ButtonV2';
9
8
  import { InformationCard } from '@arc-ui/components/InformationCard';
10
9
  import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
3
+ var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
4
4
  var React = require('react');
5
5
  var index = require('../_shared/cjs/index-Bp6Dd2i1.cjs');
6
6
  var index_es = require('../_shared/cjs/index.es-Dq8bYrbW.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-DeSFM0HV.cjs');
10
+ var SectionHeading = require('../_shared/cjs/SectionHeading-Dj-dJfv3.cjs');
11
11
  var MediaCard = require('@arc-ui/components/MediaCard');
12
12
  var ImpactCard = require('@arc-ui/components/ImpactCard');
13
13
  var InformationCard = require('@arc-ui/components/InformationCard');
@@ -15,7 +15,6 @@ var TypographyCard = require('@arc-ui/components/TypographyCard');
15
15
  var ButtonV2 = require('@arc-ui/components/ButtonV2');
16
16
  var VerticalSpace = require('@arc-ui/components/VerticalSpace');
17
17
  var BtIconArrowRightFill = require('../_shared/cjs/BtIconArrowRightFill-BVCZv7Lm.cjs');
18
- require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
19
18
  require('@arc-ui/components/Text');
20
19
  require('@arc-ui/components/Image');
21
20
 
@@ -25,7 +24,7 @@ var styles = {"PromoListing":"PromoListing-module_PromoListing__6ensv","carousel
25
24
  * Use `PromoListing` to give supporting information about a page or proposition in the form of the card components (`ImpactCard`, `InformationCard`, `MediaCard` and `TypographyCard`).
26
25
  */
27
26
  var PromoListing = function (_a) {
28
- var heading = _a.heading, content = _a.content, id = _a.id, _b = _a.isCarousel, isCarousel = _b === void 0 ? false : _b, cards = _a.cards, headingLevel = _a.headingLevel, isHeadingWordWrap = _a.isHeadingWordWrap, _c = _a.columns, columns = _c === void 0 ? "2" : _c, _d = _a.button, button = _d === void 0 ? { buttonStyle: "secondary" } : _d, overlineHeadingLevel = _a.overlineHeadingLevel, overlineLabel = _a.overlineLabel;
27
+ var heading = _a.heading, content = _a.content, id = _a.id, _b = _a.isCarousel, isCarousel = _b === void 0 ? false : _b, cards = _a.cards, headingLevel = _a.headingLevel, isHeadingWordWrap = _a.isHeadingWordWrap, _c = _a.columns, columns = _c === void 0 ? "2" : _c, _d = _a.button, button = _d === void 0 ? { buttonStyle: "secondary" } : _d, overlineHeadingLevel = _a.overlineHeadingLevel, overlineLabel = _a.overlineLabel, props = filterAttrs.__rest(_a, ["heading", "content", "id", "isCarousel", "cards", "headingLevel", "isHeadingWordWrap", "columns", "button", "overlineHeadingLevel", "overlineLabel"]);
29
28
  var componentId = React.useId();
30
29
  var isMinWidthArcBreakpointL = useMediaQuery.useMediaQuery("(min-width: ".concat(index_es.ArcSizeBreakpointsL, ")"));
31
30
  var isMinWidthArcBreakpointM = useMediaQuery.useMediaQuery("(min-width: ".concat(index_es.ArcSizeBreakpointsM, ")"));
@@ -55,15 +54,15 @@ var PromoListing = function (_a) {
55
54
  };
56
55
  var getCard = function (card) {
57
56
  var CardComponent = CARD_COMPONENTS[card.type];
58
- return React.createElement(CardComponent, tslib_es6.__assign({}, card, commonProps));
57
+ return React.createElement(CardComponent, filterAttrs.__assign({}, card, commonProps));
59
58
  };
60
- return (React.createElement("div", { className: styles.PromoListing },
59
+ return (React.createElement("div", filterAttrs.__assign({ className: styles.PromoListing }, filterAttrs.filterAttrs(props)),
61
60
  overlineLabel && (React.createElement(React.Fragment, null,
62
61
  React.createElement(Heading.Heading, { level: overlineHeadingLevel, fontStyle: "overline" }, overlineLabel),
63
62
  React.createElement(VerticalSpace.VerticalSpace, { size: "12" }))),
64
63
  React.createElement(SectionHeading.SectionHeading, { isPadded: true, id: id, "data-testid": "PromoListing-header", heading: heading, isHeadingWordWrap: isHeadingWordWrap, headingLevel: headingLevel, content: content }),
65
64
  button.label && (React.createElement(React.Fragment, null,
66
- React.createElement(ButtonV2.ButtonV2, tslib_es6.__assign({}, button, { icon: button.buttonStyle == "compact" ? BtIconArrowRightFill.BtIconArrowRightFill : undefined, size: "m" })),
65
+ React.createElement(ButtonV2.ButtonV2, filterAttrs.__assign({}, button, { icon: button.buttonStyle == "compact" ? BtIconArrowRightFill.BtIconArrowRightFill : undefined, size: "m" })),
67
66
  React.createElement(VerticalSpace.VerticalSpace, { size: "40" }))),
68
67
  isCarousel && !isMinWidthArcBreakpointL ? (React.createElement("div", { className: styles.promolistingCarouselWrapper },
69
68
  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) },
@@ -1,11 +1,11 @@
1
- import { _ as __assign } from '../_shared/esm/tslib.es6-D6Wu-xwB.mjs';
1
+ import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
2
2
  import React, { useId } from 'react';
3
3
  import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.mjs';
4
4
  import { a as ArcSizeBreakpointsL, b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-Bfdys5__.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-CpDLCndw.mjs';
8
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-DZOg_gYi.mjs';
9
9
  import { MediaCard } from '@arc-ui/components/MediaCard';
10
10
  import { ImpactCard } from '@arc-ui/components/ImpactCard';
11
11
  import { InformationCard } from '@arc-ui/components/InformationCard';
@@ -13,7 +13,6 @@ import { TypographyCard } from '@arc-ui/components/TypographyCard';
13
13
  import { ButtonV2 } from '@arc-ui/components/ButtonV2';
14
14
  import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
15
15
  import { B as BtIconArrowRightFill } from '../_shared/esm/BtIconArrowRightFill-D0zKgk3B.mjs';
16
- import '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
17
16
  import '@arc-ui/components/Text';
18
17
  import '@arc-ui/components/Image';
19
18
 
@@ -23,7 +22,7 @@ var styles = {"PromoListing":"PromoListing-module_PromoListing__6ensv","carousel
23
22
  * Use `PromoListing` to give supporting information about a page or proposition in the form of the card components (`ImpactCard`, `InformationCard`, `MediaCard` and `TypographyCard`).
24
23
  */
25
24
  var PromoListing = function (_a) {
26
- var heading = _a.heading, content = _a.content, id = _a.id, _b = _a.isCarousel, isCarousel = _b === void 0 ? false : _b, cards = _a.cards, headingLevel = _a.headingLevel, isHeadingWordWrap = _a.isHeadingWordWrap, _c = _a.columns, columns = _c === void 0 ? "2" : _c, _d = _a.button, button = _d === void 0 ? { buttonStyle: "secondary" } : _d, overlineHeadingLevel = _a.overlineHeadingLevel, overlineLabel = _a.overlineLabel;
25
+ var heading = _a.heading, content = _a.content, id = _a.id, _b = _a.isCarousel, isCarousel = _b === void 0 ? false : _b, cards = _a.cards, headingLevel = _a.headingLevel, isHeadingWordWrap = _a.isHeadingWordWrap, _c = _a.columns, columns = _c === void 0 ? "2" : _c, _d = _a.button, button = _d === void 0 ? { buttonStyle: "secondary" } : _d, overlineHeadingLevel = _a.overlineHeadingLevel, overlineLabel = _a.overlineLabel, props = __rest(_a, ["heading", "content", "id", "isCarousel", "cards", "headingLevel", "isHeadingWordWrap", "columns", "button", "overlineHeadingLevel", "overlineLabel"]);
27
26
  var componentId = useId();
28
27
  var isMinWidthArcBreakpointL = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsL, ")"));
29
28
  var isMinWidthArcBreakpointM = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsM, ")"));
@@ -55,7 +54,7 @@ var PromoListing = function (_a) {
55
54
  var CardComponent = CARD_COMPONENTS[card.type];
56
55
  return React.createElement(CardComponent, __assign({}, card, commonProps));
57
56
  };
58
- return (React.createElement("div", { className: styles.PromoListing },
57
+ return (React.createElement("div", __assign({ className: styles.PromoListing }, filterAttrs(props)),
59
58
  overlineLabel && (React.createElement(React.Fragment, null,
60
59
  React.createElement(Heading, { level: overlineHeadingLevel, fontStyle: "overline" }, overlineLabel),
61
60
  React.createElement(VerticalSpace, { size: "12" }))),
@@ -1,10 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
3
+ var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
4
4
  var React = require('react');
5
- var SectionHeading = require('../_shared/cjs/SectionHeading-DeSFM0HV.cjs');
6
- var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
7
- var ThumbnailSignpost = require('../_shared/cjs/ThumbnailSignpost-GkOiwt-Z.cjs');
5
+ var SectionHeading = require('../_shared/cjs/SectionHeading-Dj-dJfv3.cjs');
6
+ var ThumbnailSignpost = require('../_shared/cjs/ThumbnailSignpost-SBnrGooA.cjs');
8
7
  require('../_shared/cjs/index-Bp6Dd2i1.cjs');
9
8
  require('@arc-ui/components/Text');
10
9
  require('@arc-ui/components/VerticalSpace');
@@ -18,11 +17,11 @@ var styles = {"PromoListingThumbnailSignpost":"PromoListingThumbnailSignpost-mod
18
17
  * Use `PromoListingThumbnailSignpost` to give supporting information about a page or proposition in the form of the ThumbnailSignposts components.
19
18
  */
20
19
  var PromoListingThumbnailSignpost = function (_a) {
21
- var _b = _a.isPadded, isPadded = _b === void 0 ? true : _b, heading = _a.heading, content = _a.content, headingLevel = _a.headingLevel, thumbnailList = _a.thumbnailList, props = tslib_es6.__rest(_a, ["isPadded", "heading", "content", "headingLevel", "thumbnailList"]);
22
- return (React.createElement("div", tslib_es6.__assign({ className: styles.PromoListingThumbnailSignpost }, filterAttrs.filterAttrs(props)),
20
+ var _b = _a.isPadded, isPadded = _b === void 0 ? true : _b, heading = _a.heading, content = _a.content, headingLevel = _a.headingLevel, thumbnailList = _a.thumbnailList, props = filterAttrs.__rest(_a, ["isPadded", "heading", "content", "headingLevel", "thumbnailList"]);
21
+ return (React.createElement("div", filterAttrs.__assign({ className: styles.PromoListingThumbnailSignpost }, filterAttrs.filterAttrs(props)),
23
22
  React.createElement(SectionHeading.SectionHeading, { isPadded: isPadded, "data-testid": "PromoListingThumbnailSignpost-header", heading: heading, headingLevel: headingLevel, content: content }),
24
23
  React.createElement("ul", { className: styles.list }, thumbnailList.map(function (thumbnail, index) { return (React.createElement("li", { key: index },
25
- React.createElement(ThumbnailSignpost.ThumbnailSignpost, tslib_es6.__assign({}, thumbnail)))); }))));
24
+ React.createElement(ThumbnailSignpost.ThumbnailSignpost, filterAttrs.__assign({}, thumbnail)))); }))));
26
25
  };
27
26
 
28
27
  exports.PromoListingThumbnailSignpost = PromoListingThumbnailSignpost;
@@ -1,8 +1,7 @@
1
- import { a as __rest, _ as __assign } from '../_shared/esm/tslib.es6-D6Wu-xwB.mjs';
1
+ import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
2
2
  import React from 'react';
3
- import { S as SectionHeading } from '../_shared/esm/SectionHeading-CpDLCndw.mjs';
4
- import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
5
- import { T as ThumbnailSignpost } from '../_shared/esm/ThumbnailSignpost-BeRiXbUp.mjs';
3
+ import { S as SectionHeading } from '../_shared/esm/SectionHeading-DZOg_gYi.mjs';
4
+ import { T as ThumbnailSignpost } from '../_shared/esm/ThumbnailSignpost-DaZByYIH.mjs';
6
5
  import '../_shared/esm/index-BfTCfPZ1.mjs';
7
6
  import '@arc-ui/components/Text';
8
7
  import '@arc-ui/components/VerticalSpace';