@arc-ui/community-components 3.1.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 (111) hide show
  1. package/.turbo/turbo-build.log +14 -14
  2. package/CHANGELOG.md +31 -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 +15 -16
  17. package/lib/CopyLead/CopyLead.mjs +3 -4
  18. package/lib/DownloadList/DownloadList.cjs +6 -8
  19. package/lib/DownloadList/DownloadList.mjs +6 -8
  20. package/lib/FAQs/FAQs.cjs +15 -12
  21. package/lib/FAQs/FAQs.mjs +13 -10
  22. package/lib/FeaturePost/FeaturePost.cjs +23 -17
  23. package/lib/FeaturePost/FeaturePost.mjs +18 -12
  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 +6 -7
  33. package/lib/ProductNavigation/ProductNavigation.mjs +3 -4
  34. package/lib/PromoListing/PromoListing.cjs +7 -8
  35. package/lib/PromoListing/PromoListing.mjs +5 -6
  36. package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.cjs +27 -0
  37. package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.mjs +25 -0
  38. package/lib/PromoListingThumbnailSignpost/styles.css +1 -0
  39. package/lib/Quote/Quote.cjs +5 -6
  40. package/lib/Quote/Quote.mjs +3 -4
  41. package/lib/SectionHeading/SectionHeading.cjs +2 -3
  42. package/lib/SectionHeading/SectionHeading.mjs +2 -3
  43. package/lib/Statistics/Statistics.cjs +21 -19
  44. package/lib/Statistics/Statistics.mjs +21 -19
  45. package/lib/Statistics/styles.css +1 -1
  46. package/lib/Summary/Summary.cjs +4 -4
  47. package/lib/Summary/Summary.mjs +4 -4
  48. package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +14 -0
  49. package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +8 -0
  50. package/lib/ThumbnailSignpost/styles.css +1 -0
  51. package/lib/_shared/cjs/{Accordion-BCJIm1Gq.cjs → Accordion-QqDoB3pY.cjs} +9 -10
  52. package/lib/_shared/cjs/{Author-D4dKNQem.cjs → Author-aL8YXi7C.cjs} +4 -5
  53. package/lib/_shared/cjs/{SectionHeading-DeSFM0HV.cjs → SectionHeading-Dj-dJfv3.cjs} +4 -5
  54. package/lib/_shared/cjs/ThumbnailSignpost-SBnrGooA.cjs +38 -0
  55. package/lib/_shared/cjs/{tslib.es6-BxB9I209.cjs → filter-attrs-C26zOt4_.cjs} +25 -0
  56. package/lib/_shared/cjs/{index.es-DzI6hGjj.cjs → index.es-Dq8bYrbW.cjs} +1 -1
  57. package/lib/_shared/esm/{Accordion-BN_lZk6L.mjs → Accordion-DrOTh90S.mjs} +2 -3
  58. package/lib/_shared/esm/{Author-HnYsFTPT.mjs → Author-BVCRPgkl.mjs} +1 -2
  59. package/lib/_shared/esm/{SectionHeading-CpDLCndw.mjs → SectionHeading-DZOg_gYi.mjs} +1 -2
  60. package/lib/_shared/esm/ThumbnailSignpost-DaZByYIH.mjs +36 -0
  61. package/lib/_shared/esm/{tslib.es6-D6Wu-xwB.mjs → filter-attrs-D-1kWaCP.mjs} +25 -1
  62. package/lib/_shared/esm/{index.es-B6Bolkcx.mjs → index.es-Bfdys5__.mjs} +1 -1
  63. package/lib/index.cjs +218 -173
  64. package/lib/index.cjs.map +1 -1
  65. package/lib/index.d.cts +60 -64
  66. package/lib/index.d.mts +60 -64
  67. package/lib/index.mjs +216 -173
  68. package/lib/index.mjs.map +1 -1
  69. package/lib/styles.css +1 -1
  70. package/package.json +13 -13
  71. package/src/components/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.tsx +1 -1
  72. package/src/components/ActionTile/ActionTile.module.css +56 -37
  73. package/src/components/ActionTile/ActionTile.tsx +1 -1
  74. package/src/components/ArticleSidebar/ArticleSidebar.tsx +4 -6
  75. package/src/components/Author/Author.tsx +0 -3
  76. package/src/components/BannerWithTabs/BannerWithTabs.tsx +4 -6
  77. package/src/components/ContentInfoWidget/ContentInfoWidget.tsx +3 -4
  78. package/src/components/DownloadList/DownloadList.tsx +8 -8
  79. package/src/components/FAQs/FAQs.tsx +13 -6
  80. package/src/components/FeaturePost/FeaturePost.tsx +9 -9
  81. package/src/components/FeaturePost/components/Image/Image.tsx +31 -7
  82. package/src/components/FeaturePost/types/feature-post-image.ts +2 -0
  83. package/src/components/Highlights/Highlights.tsx +3 -2
  84. package/src/components/Highlights/components/HighlightItem/HighlightItem.tsx +3 -2
  85. package/src/components/Highlights/components/HighlightList/HighlightList.tsx +5 -2
  86. package/src/components/InlineLinkGroup/InlineLinkGroup.module.css +81 -0
  87. package/src/components/InlineLinkGroup/InlineLinkGroup.tsx +67 -0
  88. package/src/components/InlineLinkGroup/index.ts +5 -0
  89. package/src/components/LinkTile/LinkTile.module.css +62 -26
  90. package/src/components/LinkTile/LinkTile.tsx +8 -1
  91. package/src/components/PromoListing/PromoListing.tsx +3 -11
  92. package/src/components/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.module.css +54 -0
  93. package/src/components/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.tsx +53 -0
  94. package/src/components/PromoListingThumbnailSignpost/index.ts +4 -0
  95. package/src/components/Quote/Quote.tsx +1 -7
  96. package/src/components/Statistics/Statistics.module.css +0 -10
  97. package/src/components/Statistics/Statistics.tsx +35 -32
  98. package/src/components/Summary/Summary.tsx +3 -1
  99. package/src/components/ThumbnailSignpost/ThumbnailSignpost.module.css +112 -0
  100. package/src/components/ThumbnailSignpost/ThumbnailSignpost.tsx +100 -0
  101. package/src/components/ThumbnailSignpost/index.ts +4 -0
  102. package/src/components/index.ts +3 -1
  103. package/versions.json +1 -1
  104. package/lib/HeroLink/HeroLink.cjs +0 -35
  105. package/lib/HeroLink/HeroLink.mjs +0 -33
  106. package/lib/HeroLink/styles.css +0 -1
  107. package/lib/_shared/cjs/filter-attrs-BizjMsy0.cjs +0 -27
  108. package/lib/_shared/esm/filter-attrs-DZ7RCEZm.mjs +0 -25
  109. package/src/components/HeroLink/HeroLink.module.css +0 -44
  110. package/src/components/HeroLink/HeroLink.tsx +0 -136
  111. package/src/components/HeroLink/index.ts +0 -2
@@ -0,0 +1,38 @@
1
+ 'use strict';
2
+
3
+ var filterAttrs = require('./filter-attrs-C26zOt4_.cjs');
4
+ var React = require('react');
5
+ var index = require('./index-Bp6Dd2i1.cjs');
6
+ var BtIconArrowRightFill = require('./BtIconArrowRightFill-BVCZv7Lm.cjs');
7
+ var Image = require('@arc-ui/components/Image');
8
+ var VerticalSpace = require('@arc-ui/components/VerticalSpace');
9
+ var Heading = require('@arc-ui/components/Heading');
10
+
11
+ var styles = {"thumbnailSignpost":"ThumbnailSignpost-module_thumbnailSignpost__Yf26b","isLink":"ThumbnailSignpost-module_isLink__FucdG","content":"ThumbnailSignpost-module_content__XG9oj","heading":"ThumbnailSignpost-module_heading__mTrpJ","image":"ThumbnailSignpost-module_image__syGZj","thumbnailButton":"ThumbnailSignpost-module_thumbnailButton__Nn-NR","buttonIcon":"ThumbnailSignpost-module_buttonIcon__ydmza"};
12
+
13
+ /** Use `ThumbnailSignpost` to highlight key information or navigation points with an accompanying thumbnail image or icon. */
14
+ var ThumbnailSignpost = function (_a) {
15
+ var _b;
16
+ var text = _a.text, title = _a.title, img = _a.img, onClick = _a.onClick, buttonLabel = _a.buttonLabel, props = filterAttrs.__rest(_a, ["text", "title", "img", "onClick", "buttonLabel"]);
17
+ return (React.createElement("div", filterAttrs.__assign({ className: index.classNames(styles.thumbnailSignpost, (_b = {},
18
+ _b[styles.isLink] = onClick,
19
+ _b)), onClick: onClick, "aria-label": title, tabIndex: onClick ? 0 : -1 }, (onClick && { role: "button" }), filterAttrs.filterAttrs(props)),
20
+ img && (React.createElement("div", { className: styles.image },
21
+ React.createElement(Image.Image, filterAttrs.__assign({}, img)))),
22
+ React.createElement("div", { className: styles.content },
23
+ React.createElement("span", { className: styles.heading }, title),
24
+ React.createElement(VerticalSpace.VerticalSpace, { size: "8" }),
25
+ text,
26
+ buttonLabel && onClick && (React.createElement(React.Fragment, null,
27
+ React.createElement(VerticalSpace.VerticalSpace, { size: "8" }),
28
+ React.createElement("div", { className: styles.thumbnailButton },
29
+ React.createElement("span", { className: styles.buttonIcon, role: "img", style: {
30
+ height: 24,
31
+ width: 24,
32
+ maskImage: "url(\"".concat(BtIconArrowRightFill.BtIconArrowRightFill, "\")"),
33
+ WebkitMaskImage: "url(\"".concat(BtIconArrowRightFill.BtIconArrowRightFill, "\")"),
34
+ } }),
35
+ React.createElement(Heading.Heading, { size: "xxs" }, buttonLabel)))))));
36
+ };
37
+
38
+ exports.ThumbnailSignpost = ThumbnailSignpost;
@@ -93,7 +93,32 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
93
93
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
94
94
  };
95
95
 
96
+ /**
97
+ * Filters out attributes from the given props object based on a pattern.
98
+ *
99
+ * This function extracts all properties that match either the `data-*` or `aria-*` attribute patterns
100
+ * and returns a new object containing only those properties.
101
+ *
102
+ * @param props - The object containing properties to filter.
103
+ * @returns A new object containing only the matched attributes (`data-*` and `aria-*`) from the input props.
104
+ */
105
+ var attributePrefixes = ["data-", "aria-"];
106
+ var filterAttrs = function (props) {
107
+ var filteredProps = {};
108
+ var _loop_1 = function (prop) {
109
+ if (Object.prototype.hasOwnProperty.call(props, prop) &&
110
+ attributePrefixes.some(function (prefix) { return prop.startsWith(prefix); })) {
111
+ filteredProps[prop] = props[prop];
112
+ }
113
+ };
114
+ for (var prop in props) {
115
+ _loop_1(prop);
116
+ }
117
+ return filteredProps;
118
+ };
119
+
96
120
  exports.__awaiter = __awaiter;
97
121
  exports.__generator = __generator;
98
122
  exports.__rest = __rest;
99
123
  exports.__spreadArray = __spreadArray;
124
+ exports.filterAttrs = filterAttrs;
@@ -2,7 +2,7 @@
2
2
 
3
3
  /**
4
4
  * Do not edit directly
5
- * Generated on Wed, 25 Feb 2026 15:47:05 GMT
5
+ * Generated on Fri, 06 Mar 2026 15:05:14 GMT
6
6
  */
7
7
  var ArcSizeBreakpointsS = "636px";
8
8
  var ArcSizeBreakpointsM = "768px";
@@ -1,6 +1,5 @@
1
- import { a as __rest, _ as __assign } from './tslib.es6-D6Wu-xwB.mjs';
1
+ import { _ as __rest, a as __assign, f as filterAttrs } from './filter-attrs-D-1kWaCP.mjs';
2
2
  import React from 'react';
3
- import { f as filterAttrs } from './filter-attrs-DZ7RCEZm.mjs';
4
3
  import { c as classNames } from './index-BfTCfPZ1.mjs';
5
4
  import { Heading } from '@arc-ui/components/Heading';
6
5
  import { Text } from '@arc-ui/components/Text';
@@ -33,7 +32,7 @@ var AccordionDisclosureList = function (_a) {
33
32
  var disclosureList = _a.disclosureList;
34
33
  return (React.createElement("ul", null, disclosureList.map(function (_a) {
35
34
  var children = _a.children, summary = _a.summary, _b = _a.isOpen, isOpen = _b === void 0 ? false : _b, _c = _a.indentDetails, indentDetails = _c === void 0 ? false : _c, headingLevel = _a.headingLevel, id = _a.id, props = __rest(_a, ["children", "summary", "isOpen", "indentDetails", "headingLevel", "id"]);
36
- return (React.createElement("li", { key: id, className: styles$1.AccordionDisclosureListItem },
35
+ return (React.createElement("li", { key: id, className: styles$1.AccordionDisclosureListItem, id: id },
37
36
  React.createElement(Disclosure, __assign({ summary: summary, isOpen: isOpen, indentDetails: indentDetails, headingLevel: headingLevel }, filterAttrs(props)), children)));
38
37
  })));
39
38
  };
@@ -1,6 +1,5 @@
1
- import { a as __rest, _ as __assign } from './tslib.es6-D6Wu-xwB.mjs';
1
+ import { _ as __rest, a as __assign, f as filterAttrs } from './filter-attrs-D-1kWaCP.mjs';
2
2
  import React from 'react';
3
- import { f as filterAttrs } from './filter-attrs-DZ7RCEZm.mjs';
4
3
  import { Grid, GridRow, GridCol } from '@arc-ui/components/Grid';
5
4
  import { Avatar } from '@arc-ui/components/Avatar';
6
5
  import { Heading } from '@arc-ui/components/Heading';
@@ -1,7 +1,6 @@
1
- import { a as __rest, _ as __assign } from './tslib.es6-D6Wu-xwB.mjs';
1
+ import { _ as __rest, a as __assign, f as filterAttrs } from './filter-attrs-D-1kWaCP.mjs';
2
2
  import React from 'react';
3
3
  import { c as classNames } from './index-BfTCfPZ1.mjs';
4
- import { f as filterAttrs } from './filter-attrs-DZ7RCEZm.mjs';
5
4
  import { Text } from '@arc-ui/components/Text';
6
5
  import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
7
6
  import { Image } from '@arc-ui/components/Image';
@@ -0,0 +1,36 @@
1
+ import { _ as __rest, a as __assign, f as filterAttrs } from './filter-attrs-D-1kWaCP.mjs';
2
+ import React from 'react';
3
+ import { c as classNames } from './index-BfTCfPZ1.mjs';
4
+ import { B as BtIconArrowRightFill } from './BtIconArrowRightFill-D0zKgk3B.mjs';
5
+ import { Image } from '@arc-ui/components/Image';
6
+ import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
7
+ import { Heading } from '@arc-ui/components/Heading';
8
+
9
+ var styles = {"thumbnailSignpost":"ThumbnailSignpost-module_thumbnailSignpost__Yf26b","isLink":"ThumbnailSignpost-module_isLink__FucdG","content":"ThumbnailSignpost-module_content__XG9oj","heading":"ThumbnailSignpost-module_heading__mTrpJ","image":"ThumbnailSignpost-module_image__syGZj","thumbnailButton":"ThumbnailSignpost-module_thumbnailButton__Nn-NR","buttonIcon":"ThumbnailSignpost-module_buttonIcon__ydmza"};
10
+
11
+ /** Use `ThumbnailSignpost` to highlight key information or navigation points with an accompanying thumbnail image or icon. */
12
+ var ThumbnailSignpost = function (_a) {
13
+ var _b;
14
+ var text = _a.text, title = _a.title, img = _a.img, onClick = _a.onClick, buttonLabel = _a.buttonLabel, props = __rest(_a, ["text", "title", "img", "onClick", "buttonLabel"]);
15
+ return (React.createElement("div", __assign({ className: classNames(styles.thumbnailSignpost, (_b = {},
16
+ _b[styles.isLink] = onClick,
17
+ _b)), onClick: onClick, "aria-label": title, tabIndex: onClick ? 0 : -1 }, (onClick && { role: "button" }), filterAttrs(props)),
18
+ img && (React.createElement("div", { className: styles.image },
19
+ React.createElement(Image, __assign({}, img)))),
20
+ React.createElement("div", { className: styles.content },
21
+ React.createElement("span", { className: styles.heading }, title),
22
+ React.createElement(VerticalSpace, { size: "8" }),
23
+ text,
24
+ buttonLabel && onClick && (React.createElement(React.Fragment, null,
25
+ React.createElement(VerticalSpace, { size: "8" }),
26
+ React.createElement("div", { className: styles.thumbnailButton },
27
+ React.createElement("span", { className: styles.buttonIcon, role: "img", style: {
28
+ height: 24,
29
+ width: 24,
30
+ maskImage: "url(\"".concat(BtIconArrowRightFill, "\")"),
31
+ WebkitMaskImage: "url(\"".concat(BtIconArrowRightFill, "\")"),
32
+ } }),
33
+ React.createElement(Heading, { size: "xxs" }, buttonLabel)))))));
34
+ };
35
+
36
+ export { ThumbnailSignpost as T };
@@ -91,4 +91,28 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
91
91
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
92
92
  };
93
93
 
94
- export { __assign as _, __rest as a, __spreadArray as b, __awaiter as c, __generator as d };
94
+ /**
95
+ * Filters out attributes from the given props object based on a pattern.
96
+ *
97
+ * This function extracts all properties that match either the `data-*` or `aria-*` attribute patterns
98
+ * and returns a new object containing only those properties.
99
+ *
100
+ * @param props - The object containing properties to filter.
101
+ * @returns A new object containing only the matched attributes (`data-*` and `aria-*`) from the input props.
102
+ */
103
+ var attributePrefixes = ["data-", "aria-"];
104
+ var filterAttrs = function (props) {
105
+ var filteredProps = {};
106
+ var _loop_1 = function (prop) {
107
+ if (Object.prototype.hasOwnProperty.call(props, prop) &&
108
+ attributePrefixes.some(function (prefix) { return prop.startsWith(prefix); })) {
109
+ filteredProps[prop] = props[prop];
110
+ }
111
+ };
112
+ for (var prop in props) {
113
+ _loop_1(prop);
114
+ }
115
+ return filteredProps;
116
+ };
117
+
118
+ export { __rest as _, __assign as a, __spreadArray as b, __awaiter as c, __generator as d, filterAttrs as f };
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 25 Feb 2026 15:47:05 GMT
3
+ * Generated on Fri, 06 Mar 2026 15:05:14 GMT
4
4
  */
5
5
  var ArcSizeBreakpointsS = "636px";
6
6
  var ArcSizeBreakpointsM = "768px";