@arc-ui/community-components 1.0.1 → 1.0.2
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 +5 -5
- package/CHANGELOG.md +7 -0
- package/dist/BannerWithTabs/BannerWithTabs.cjs.js +2 -2
- package/dist/BannerWithTabs/BannerWithTabs.esm.js +1 -1
- package/dist/CopyLead/CopyLead.cjs.js +1 -1
- package/dist/CopyLead/CopyLead.esm.js +1 -1
- package/dist/FeaturePost/FeaturePost.cjs.js +1 -1
- package/dist/FeaturePost/FeaturePost.esm.js +1 -1
- package/dist/ProductNavigation/ProductNavigation.cjs.js +10 -8
- package/dist/ProductNavigation/ProductNavigation.esm.js +5 -3
- package/dist/PromoListing/PromoListing.cjs.js +1 -1
- package/dist/PromoListing/PromoListing.esm.js +1 -1
- package/dist/Summary/Summary.cjs.js +1 -1
- package/dist/Summary/Summary.esm.js +1 -1
- package/dist/_shared/cjs/{index.es-b6s9A4Ft.js → index.es-BNY6zQSi.js} +1 -1
- package/dist/_shared/esm/{index.es-B89aR7nq.js → index.es-BraCgI9m.js} +1 -1
- package/dist/index.es.js +7 -6
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +9 -8
- package/dist/index.js.map +1 -1
- package/package.json +12 -12
- package/src/components/BannerWithTabs/BannerWithTabs.tsx +1 -1
- package/src/components/ProductNavigation/ProductNavigation.tsx +4 -6
- package/versions.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23,9 +23,10 @@ var TypographyCard = require('@arc-ui/components/TypographyCard');
|
|
|
23
23
|
var Box = require('@arc-ui/components/Box');
|
|
24
24
|
var Rule = require('@arc-ui/components/Rule');
|
|
25
25
|
var Align = require('@arc-ui/components/Align');
|
|
26
|
-
var
|
|
26
|
+
var TabbedBanner = require('@arc-ui/components/TabbedBanner');
|
|
27
27
|
var Tag = require('@arc-ui/components/Tag');
|
|
28
28
|
var Toast = require('@arc-ui/components/Toast');
|
|
29
|
+
var VisuallyHidden = require('@arc-ui/components/VisuallyHidden');
|
|
29
30
|
|
|
30
31
|
/******************************************************************************
|
|
31
32
|
Copyright (c) Microsoft Corporation.
|
|
@@ -280,7 +281,7 @@ var Author = function (_a) {
|
|
|
280
281
|
|
|
281
282
|
/**
|
|
282
283
|
* Do not edit directly
|
|
283
|
-
* Generated on Fri,
|
|
284
|
+
* Generated on Fri, 15 Aug 2025 18:14:58 GMT
|
|
284
285
|
*/
|
|
285
286
|
var ArcSizeBreakpointsS = "636px";
|
|
286
287
|
var ArcSizeBreakpointsM = "768px";
|
|
@@ -2824,7 +2825,7 @@ var BannerWithTabs = function (_a) {
|
|
|
2824
2825
|
_b[styles$2.bannerWithTabsHeadingCentered] = alignTypography === "center",
|
|
2825
2826
|
_b)), style: { color: isInverted ? "white" : "black" } },
|
|
2826
2827
|
React.createElement(SectionHeading, { heading: heading, content: content, isPadded: alignTypography === "left" ? true : false })),
|
|
2827
|
-
React.createElement(
|
|
2828
|
+
React.createElement(TabbedBanner.TabbedBanner, { minHeight: minHeight, minHeightM: minHeightM, tabs: tabs, defaultValue: defaultValue })));
|
|
2828
2829
|
};
|
|
2829
2830
|
|
|
2830
2831
|
/**
|
|
@@ -3004,20 +3005,20 @@ var ProductNavigation = function (_a) {
|
|
|
3004
3005
|
React.createElement("ul", { className: classNames(styles["product-navigation-grid"]) }, displayList === null || displayList === void 0 ? void 0 : displayList.map(function (_a, i) {
|
|
3005
3006
|
var label = _a.label, href = _a.href, heading = _a.heading, text = _a.text;
|
|
3006
3007
|
return (React.createElement("li", { key: "displayList-".concat(i), tabIndex: -1, ref: i === skipLinkCard ? cardRef : undefined, "data-cy": "list-item-".concat(i) },
|
|
3007
|
-
React.createElement(
|
|
3008
|
+
React.createElement(InformationCard.InformationCard, { button: {
|
|
3008
3009
|
label: label,
|
|
3009
3010
|
href: href,
|
|
3010
3011
|
}, minHeight: minHeight, heading: heading, headingLevel: "2", text: text })));
|
|
3011
3012
|
})),
|
|
3012
|
-
React.createElement(
|
|
3013
|
+
React.createElement(VerticalSpace.VerticalSpace, { size: "40" }),
|
|
3013
3014
|
React.createElement("div", { style: { display: "flex" } },
|
|
3014
|
-
!hideButton && !hideLessButton && (React.createElement(
|
|
3015
|
+
!hideButton && !hideLessButton && (React.createElement(ButtonV2.ButtonV2, { label: displayList.length < productList.length
|
|
3015
3016
|
? "Show more"
|
|
3016
3017
|
: "Show less", buttonStyle: "secondary", onClick: clickController, isFullWidth: isMinWidthArcBreakpointS ? false : true, isLoading: isLoading })),
|
|
3017
3018
|
displayList.length > cardsToDisplay && (React.createElement(React.Fragment, null,
|
|
3018
3019
|
React.createElement("div", { id: "skip-link", className: classNames(styles["productNavigation-skipLink"]), tabIndex: -1 },
|
|
3019
|
-
React.createElement(
|
|
3020
|
-
React.createElement(
|
|
3020
|
+
React.createElement(ButtonV2.ButtonV2, { label: "Move to first new card", buttonStyle: "primary", onClick: moveFocus, isFullWidth: isMinWidthArcBreakpointS ? false : true })))),
|
|
3021
|
+
React.createElement(VisuallyHidden.VisuallyHidden, null,
|
|
3021
3022
|
React.createElement("div", { "aria-live": "polite", id: "aria-live-region", "aria-atomic": true },
|
|
3022
3023
|
React.createElement("p", null,
|
|
3023
3024
|
"Total products listed ",
|