@arc-ui/community-components 3.11.0 → 3.13.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.
- package/.turbo/turbo-build.log +12 -12
- package/CHANGELOG.md +18 -0
- package/lib/ActionTile/ActionTile.cjs +5 -3
- package/lib/ActionTile/ActionTile.mjs +5 -3
- package/lib/ActionTile/styles.css +1 -1
- package/lib/ArticleCarousel/ArticleCarousel.cjs +1 -1
- package/lib/ArticleCarousel/ArticleCarousel.mjs +1 -1
- package/lib/CopyLead/CopyLead.cjs +1 -1
- package/lib/CopyLead/CopyLead.mjs +1 -1
- package/lib/FeaturePost/FeaturePost.cjs +1 -1
- package/lib/FeaturePost/FeaturePost.mjs +1 -1
- package/lib/HeaderBarNotification/HeaderBarNotification.cjs +1 -1
- package/lib/HeaderBarNotification/HeaderBarNotification.mjs +1 -1
- package/lib/LinkTile/LinkTile.cjs +6 -3
- package/lib/LinkTile/LinkTile.mjs +6 -3
- package/lib/LinkTile/styles.css +1 -1
- package/lib/ProductNavigation/ProductNavigation.cjs +1 -1
- package/lib/ProductNavigation/ProductNavigation.mjs +1 -1
- package/lib/PromoListing/PromoListing.cjs +1 -1
- package/lib/PromoListing/PromoListing.mjs +1 -1
- package/lib/Summary/Summary.cjs +1 -1
- package/lib/Summary/Summary.mjs +1 -1
- package/lib/_shared/cjs/{index.es-B73RVhhj.cjs → index.es-DcJ01c8P.cjs} +1 -1
- package/lib/_shared/esm/{index.es-DNGykRl2.mjs → index.es-C76rXaZz.mjs} +1 -1
- package/lib/index.cjs +13 -8
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +6 -0
- package/lib/index.d.mts +6 -0
- package/lib/index.mjs +13 -8
- package/lib/index.mjs.map +1 -1
- package/lib/styles.css +1 -1
- package/package.json +12 -12
- package/src/components/ActionTile/ActionTile.module.css +10 -0
- package/src/components/ActionTile/ActionTile.tsx +9 -1
- package/src/components/HeaderBarNotification/HeaderBarNotification.module.css +1 -1
- package/src/components/HeaderBarNotification/HeaderBarNotification.tsx +1 -0
- package/src/components/LinkTile/LinkTile.module.css +5 -0
- package/src/components/LinkTile/LinkTile.tsx +10 -1
- package/versions.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -673,6 +673,10 @@ interface ActionTileProps {
|
|
|
673
673
|
* Heading text (required)
|
|
674
674
|
*/
|
|
675
675
|
heading: string;
|
|
676
|
+
/**
|
|
677
|
+
* Whether to use the compact tile variant
|
|
678
|
+
*/
|
|
679
|
+
isCompact?: boolean;
|
|
676
680
|
/**
|
|
677
681
|
* Whether the tile is in active/selected state
|
|
678
682
|
*/
|
|
@@ -691,6 +695,8 @@ interface LinkTileProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
691
695
|
href?: string;
|
|
692
696
|
/** Whether to show the arrow icon. Defaults to true */
|
|
693
697
|
showIcon?: boolean;
|
|
698
|
+
/** Visual tone variant. Defaults to brand */
|
|
699
|
+
tone?: "brand" | "neutral";
|
|
694
700
|
}
|
|
695
701
|
|
|
696
702
|
declare const InlineLinkGroup: React$1.FC<InlineLinkGroupProps>;
|
package/lib/index.d.mts
CHANGED
|
@@ -673,6 +673,10 @@ interface ActionTileProps {
|
|
|
673
673
|
* Heading text (required)
|
|
674
674
|
*/
|
|
675
675
|
heading: string;
|
|
676
|
+
/**
|
|
677
|
+
* Whether to use the compact tile variant
|
|
678
|
+
*/
|
|
679
|
+
isCompact?: boolean;
|
|
676
680
|
/**
|
|
677
681
|
* Whether the tile is in active/selected state
|
|
678
682
|
*/
|
|
@@ -691,6 +695,8 @@ interface LinkTileProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
691
695
|
href?: string;
|
|
692
696
|
/** Whether to show the arrow icon. Defaults to true */
|
|
693
697
|
showIcon?: boolean;
|
|
698
|
+
/** Visual tone variant. Defaults to brand */
|
|
699
|
+
tone?: "brand" | "neutral";
|
|
694
700
|
}
|
|
695
701
|
|
|
696
702
|
declare const InlineLinkGroup: React$1.FC<InlineLinkGroupProps>;
|
package/lib/index.mjs
CHANGED
|
@@ -274,7 +274,7 @@ var HeaderBarNotification = function (_a) {
|
|
|
274
274
|
localStorage.setItem(localStorageId, "true");
|
|
275
275
|
setShowNotification(false);
|
|
276
276
|
};
|
|
277
|
-
return (React.createElement(Popover, __assign({ open: showNotification, side: "bottom", sideOffset: 12, maxWidth: 900, arrow: true, asChild: true, className: classNames(styles$v.popupNotification, (_b = {}, _b[styles$v.hiddenByDefault] = showAtSize, _b), showAtSize === null || showAtSize === void 0 ? void 0 : showAtSize.map(function (s) { return styles$v[s]; })), content: React.createElement("div", { className: styles$v.container },
|
|
277
|
+
return (React.createElement(Popover, __assign({ open: showNotification, side: "bottom", sideOffset: 12, maxWidth: 900, arrow: true, asChild: true, onOpenAutoFocus: function (e) { return e.preventDefault(); }, className: classNames(styles$v.popupNotification, (_b = {}, _b[styles$v.hiddenByDefault] = showAtSize, _b), showAtSize === null || showAtSize === void 0 ? void 0 : showAtSize.map(function (s) { return styles$v[s]; })), content: React.createElement("div", { className: styles$v.container },
|
|
278
278
|
React.createElement("div", { className: styles$v.content },
|
|
279
279
|
(image || icon) && (React.createElement("div", { className: styles$v.image },
|
|
280
280
|
image && (React.createElement(Image$2, { src: image, alt: heading, fit: "cover", width: 55 })),
|
|
@@ -1009,7 +1009,7 @@ var SectionHeading = function (_a) {
|
|
|
1009
1009
|
|
|
1010
1010
|
/**
|
|
1011
1011
|
* Do not edit directly
|
|
1012
|
-
* Generated on Thu,
|
|
1012
|
+
* Generated on Thu, 23 Jul 2026 08:25:27 GMT
|
|
1013
1013
|
*/
|
|
1014
1014
|
var ArcSizeBreakpointsXs = "320px";
|
|
1015
1015
|
var ArcSizeBreakpointsS = "636px";
|
|
@@ -4016,33 +4016,38 @@ var ContentInfoWidget = function (_a) {
|
|
|
4016
4016
|
React.createElement(Text, { size: "xs", tone: "muted" }, text))));
|
|
4017
4017
|
};
|
|
4018
4018
|
|
|
4019
|
-
var styles$b = {"action-tile":"ActionTile-module_action-tile__JPwGb","action-tile-content":"ActionTile-module_action-tile-content__ZkgHc","action-tile-content--without-icon":"ActionTile-module_action-tile-content--without-icon__7F5xj","action-tile-icon":"ActionTile-module_action-tile-icon__PY1EN","action-tile-heading":"ActionTile-module_action-tile-heading__Uxdu9","action-tile--active":"ActionTile-module_action-tile--active__-aWze","action-tile-tick":"ActionTile-module_action-tile-tick__vhsJE"};
|
|
4019
|
+
var styles$b = {"action-tile":"ActionTile-module_action-tile__JPwGb","action-tile-content":"ActionTile-module_action-tile-content__ZkgHc","action-tile-content--without-icon":"ActionTile-module_action-tile-content--without-icon__7F5xj","action-tile-icon":"ActionTile-module_action-tile-icon__PY1EN","action-tile-heading":"ActionTile-module_action-tile-heading__Uxdu9","action-tile--compact":"ActionTile-module_action-tile--compact__wq5Aa","action-tile--active":"ActionTile-module_action-tile--active__-aWze","action-tile-tick":"ActionTile-module_action-tile-tick__vhsJE"};
|
|
4020
4020
|
|
|
4021
4021
|
var ActionTile = function (_a) {
|
|
4022
4022
|
var _b, _c;
|
|
4023
|
-
var icon = _a.icon, activeIcon = _a.activeIcon, heading = _a.heading, _d = _a.
|
|
4023
|
+
var icon = _a.icon, activeIcon = _a.activeIcon, heading = _a.heading, _d = _a.isCompact, isCompact = _d === void 0 ? false : _d, _e = _a.isActive, isActive = _e === void 0 ? false : _e, onClick = _a.onClick, props = __rest(_a, ["icon", "activeIcon", "heading", "isCompact", "isActive", "onClick"]);
|
|
4024
4024
|
var displayIcon = isActive && activeIcon ? activeIcon : icon;
|
|
4025
|
+
var iconSize = isCompact ? 40 : 48;
|
|
4025
4026
|
var content = (React.createElement(React.Fragment, null,
|
|
4026
4027
|
React.createElement("div", { className: classNames(styles$b["action-tile-content"], (_b = {},
|
|
4027
4028
|
_b[styles$b["action-tile-content--without-icon"]] = !displayIcon,
|
|
4028
4029
|
_b)) },
|
|
4029
4030
|
displayIcon && (React.createElement("div", { className: styles$b["action-tile-icon"] },
|
|
4030
|
-
React.createElement(Icon, { icon: displayIcon, size:
|
|
4031
|
+
React.createElement(Icon, { icon: displayIcon, size: iconSize }))),
|
|
4031
4032
|
React.createElement("span", { className: styles$b["action-tile-heading"] }, heading)),
|
|
4032
4033
|
isActive && (React.createElement("div", { className: styles$b["action-tile-tick"] },
|
|
4033
4034
|
React.createElement(Icon, { icon: BtIconTickAlt2Px, size: 28 })))));
|
|
4034
4035
|
return (React.createElement("button", __assign({ type: "button", className: classNames(styles$b["action-tile"], (_c = {},
|
|
4035
4036
|
_c[styles$b["action-tile--active"]] = isActive,
|
|
4037
|
+
_c[styles$b["action-tile--compact"]] = isCompact,
|
|
4036
4038
|
_c)), onClick: onClick, "aria-pressed": isActive }, filterAttrs(props)), content));
|
|
4037
4039
|
};
|
|
4038
4040
|
|
|
4039
|
-
var styles$a = {"link-tile":"LinkTile-module_link-tile__xVUP3","link-tile-content":"LinkTile-module_link-tile-content__H-QN8","link-tile-icon":"LinkTile-module_link-tile-icon__kTMfH","link-tile-text":"LinkTile-module_link-tile-text__0K6zf"};
|
|
4041
|
+
var styles$a = {"link-tile":"LinkTile-module_link-tile__xVUP3","link-tile-content":"LinkTile-module_link-tile-content__H-QN8","link-tile-icon":"LinkTile-module_link-tile-icon__kTMfH","link-tile-text":"LinkTile-module_link-tile-text__0K6zf","link-tile--neutral":"LinkTile-module_link-tile--neutral__T2z5x"};
|
|
4040
4042
|
|
|
4041
4043
|
var LinkTile = function (_a) {
|
|
4042
|
-
var
|
|
4044
|
+
var _b;
|
|
4045
|
+
var text = _a.text, href = _a.href, _c = _a.showIcon, showIcon = _c === void 0 ? true : _c, _d = _a.tone, tone = _d === void 0 ? "brand" : _d, className = _a.className, props = __rest(_a, ["text", "href", "showIcon", "tone", "className"]);
|
|
4043
4046
|
var Component = href ? "a" : "div";
|
|
4044
4047
|
var linkProps = href ? { href: href } : {};
|
|
4045
|
-
return (React.createElement(Component, __assign({ className: classNames(styles$a["link-tile"],
|
|
4048
|
+
return (React.createElement(Component, __assign({ className: classNames(styles$a["link-tile"], (_b = {},
|
|
4049
|
+
_b[styles$a["link-tile--neutral"]] = tone === "neutral",
|
|
4050
|
+
_b), className) }, linkProps, props), text && (React.createElement("div", { className: styles$a["link-tile-content"] },
|
|
4046
4051
|
React.createElement("span", { className: styles$a["link-tile-text"] }, text),
|
|
4047
4052
|
showIcon && (React.createElement("span", { className: styles$a["link-tile-icon"] },
|
|
4048
4053
|
React.createElement(Icon, { icon: BtIconArrowAltRight, size: 32 })))))));
|