@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/.turbo/turbo-build.log
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
> @arc-ui/community-components@1.0.
|
|
2
|
+
> @arc-ui/community-components@1.0.2 build /builds/enterprise/frontend/arc-community/packages/components
|
|
3
3
|
> rimraf dist && rollup -c && generate-subpath-css
|
|
4
4
|
|
|
5
5
|
[36m
|
|
6
6
|
[1msrc/index.ts[22m → [1mdist[22m...[39m
|
|
7
|
-
[32mcreated [1mdist[22m in [
|
|
7
|
+
[32mcreated [1mdist[22m in [1m5.8s[22m[39m
|
|
8
8
|
[36m
|
|
9
9
|
[1msrc/index.ts[22m → [1mdist/index.es.js[22m...[39m
|
|
10
|
-
[32mcreated [1mdist/index.es.js[22m in [
|
|
10
|
+
[32mcreated [1mdist/index.es.js[22m in [1m3.9s[22m[39m
|
|
11
11
|
[36m
|
|
12
12
|
[1m./src/components/Accordion/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/ProductNavigation/index.ts, ./src/components/PromoListing/index.ts, ./src/components/Quote/index.ts, ./src/components/SectionHeading/index.ts, ./src/components/Statistics/index.ts, ./src/components/Summary/index.ts[22m → [1mdist[22m...[39m
|
|
13
|
-
[32mcreated [1mdist[22m in [1m3.
|
|
13
|
+
[32mcreated [1mdist[22m in [1m3.5s[22m[39m
|
|
14
14
|
[36m
|
|
15
15
|
[1m./src/components/Accordion/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/ProductNavigation/index.ts, ./src/components/PromoListing/index.ts, ./src/components/Quote/index.ts, ./src/components/SectionHeading/index.ts, ./src/components/Statistics/index.ts, ./src/components/Summary/index.ts[22m → [1mdist[22m...[39m
|
|
16
|
-
[32mcreated [1mdist[22m in [1m3.
|
|
16
|
+
[32mcreated [1mdist[22m in [1m3.5s[22m[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var index = require('../_shared/cjs/index-Bp6Dd2i1.js');
|
|
5
5
|
var SectionHeading = require('../_shared/cjs/SectionHeading-gjCR1F6E.js');
|
|
6
|
-
var
|
|
6
|
+
var TabbedBanner = require('@arc-ui/components/TabbedBanner');
|
|
7
7
|
require('../_shared/cjs/tslib.es6-BxB9I209.js');
|
|
8
8
|
require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
|
|
9
9
|
require('@arc-ui/components/Heading');
|
|
@@ -21,7 +21,7 @@ var BannerWithTabs = function (_a) {
|
|
|
21
21
|
_b[styles.bannerWithTabsHeadingCentered] = alignTypography === "center",
|
|
22
22
|
_b)), style: { color: isInverted ? "white" : "black" } },
|
|
23
23
|
React.createElement(SectionHeading.SectionHeading, { heading: heading, content: content, isPadded: alignTypography === "left" ? true : false })),
|
|
24
|
-
React.createElement(
|
|
24
|
+
React.createElement(TabbedBanner.TabbedBanner, { minHeight: minHeight, minHeightM: minHeightM, tabs: tabs, defaultValue: defaultValue })));
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
exports.BannerWithTabs = BannerWithTabs;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.js';
|
|
3
3
|
import { S as SectionHeading } from '../_shared/esm/SectionHeading-BwbuyrYn.js';
|
|
4
|
-
import { TabbedBanner } from '@arc-ui/components';
|
|
4
|
+
import { TabbedBanner } from '@arc-ui/components/TabbedBanner';
|
|
5
5
|
import '../_shared/esm/tslib.es6-BVXMhEem.js';
|
|
6
6
|
import '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
|
|
7
7
|
import '@arc-ui/components/Heading';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
|
|
6
|
-
var index_es = require('../_shared/cjs/index.es-
|
|
6
|
+
var index_es = require('../_shared/cjs/index.es-BNY6zQSi.js');
|
|
7
7
|
var Columns = require('@arc-ui/components/Columns');
|
|
8
8
|
var useMediaQuery = require('@arc-ui/components/use-media-query');
|
|
9
9
|
var Heading = require('@arc-ui/components/Heading');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.js';
|
|
2
2
|
import React, { useState, useEffect, Suspense } from 'react';
|
|
3
3
|
import { f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
|
|
4
|
-
import { a as ArcSizeBreakpointsL, c as ArcSizeBreakpointsXl, b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-
|
|
4
|
+
import { a as ArcSizeBreakpointsL, c as ArcSizeBreakpointsXl, b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-BraCgI9m.js';
|
|
5
5
|
import { Columns, ColumnsCol } from '@arc-ui/components/Columns';
|
|
6
6
|
import { useMediaQuery } from '@arc-ui/components/use-media-query';
|
|
7
7
|
import { Heading } from '@arc-ui/components/Heading';
|
|
@@ -4,7 +4,7 @@ var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var index = require('../_shared/cjs/index-Bp6Dd2i1.js');
|
|
6
6
|
var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
|
|
7
|
-
var index_es = require('../_shared/cjs/index.es-
|
|
7
|
+
var index_es = require('../_shared/cjs/index.es-BNY6zQSi.js');
|
|
8
8
|
var AppButton = require('@arc-ui/components/AppButton');
|
|
9
9
|
var Grid = require('@arc-ui/components/Grid');
|
|
10
10
|
var ButtonV2 = require('@arc-ui/components/ButtonV2');
|
|
@@ -2,7 +2,7 @@ import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.js
|
|
|
2
2
|
import React, { useState, useEffect, Suspense } from 'react';
|
|
3
3
|
import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.js';
|
|
4
4
|
import { f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
|
|
5
|
-
import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-
|
|
5
|
+
import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-BraCgI9m.js';
|
|
6
6
|
import { AppButton } from '@arc-ui/components/AppButton';
|
|
7
7
|
import { Grid, GridRow, GridCol } from '@arc-ui/components/Grid';
|
|
8
8
|
import { ButtonV2 } from '@arc-ui/components/ButtonV2';
|
|
@@ -5,12 +5,14 @@ var React = require('react');
|
|
|
5
5
|
var index = require('../_shared/cjs/index-Bp6Dd2i1.js');
|
|
6
6
|
var filterDataAttrs = require('../_shared/cjs/filter-data-attrs-ajtUvDAC.js');
|
|
7
7
|
var useMediaQuery = require('@arc-ui/components/use-media-query');
|
|
8
|
-
var index_es = require('../_shared/cjs/index.es-
|
|
8
|
+
var index_es = require('../_shared/cjs/index.es-BNY6zQSi.js');
|
|
9
9
|
var SectionHeading = require('../_shared/cjs/SectionHeading-gjCR1F6E.js');
|
|
10
|
-
var
|
|
10
|
+
var ButtonV2 = require('@arc-ui/components/ButtonV2');
|
|
11
|
+
var InformationCard = require('@arc-ui/components/InformationCard');
|
|
12
|
+
var VerticalSpace = require('@arc-ui/components/VerticalSpace');
|
|
13
|
+
var VisuallyHidden = require('@arc-ui/components/VisuallyHidden');
|
|
11
14
|
require('@arc-ui/components/Heading');
|
|
12
15
|
require('@arc-ui/components/Text');
|
|
13
|
-
require('@arc-ui/components/VerticalSpace');
|
|
14
16
|
require('@arc-ui/components/Image');
|
|
15
17
|
|
|
16
18
|
var styles = {"product-navigation-grid":"ProductNavigation-module_product-navigation-grid__RzFq8","productNavigation-skipLink":"ProductNavigation-module_productNavigation-skipLink__fy8ZJ"};
|
|
@@ -60,20 +62,20 @@ var ProductNavigation = function (_a) {
|
|
|
60
62
|
React.createElement("ul", { className: index.classNames(styles["product-navigation-grid"]) }, displayList === null || displayList === void 0 ? void 0 : displayList.map(function (_a, i) {
|
|
61
63
|
var label = _a.label, href = _a.href, heading = _a.heading, text = _a.text;
|
|
62
64
|
return (React.createElement("li", { key: "displayList-".concat(i), tabIndex: -1, ref: i === skipLinkCard ? cardRef : undefined, "data-cy": "list-item-".concat(i) },
|
|
63
|
-
React.createElement(
|
|
65
|
+
React.createElement(InformationCard.InformationCard, { button: {
|
|
64
66
|
label: label,
|
|
65
67
|
href: href,
|
|
66
68
|
}, minHeight: minHeight, heading: heading, headingLevel: "2", text: text })));
|
|
67
69
|
})),
|
|
68
|
-
React.createElement(
|
|
70
|
+
React.createElement(VerticalSpace.VerticalSpace, { size: "40" }),
|
|
69
71
|
React.createElement("div", { style: { display: "flex" } },
|
|
70
|
-
!hideButton && !hideLessButton && (React.createElement(
|
|
72
|
+
!hideButton && !hideLessButton && (React.createElement(ButtonV2.ButtonV2, { label: displayList.length < productList.length
|
|
71
73
|
? "Show more"
|
|
72
74
|
: "Show less", buttonStyle: "secondary", onClick: clickController, isFullWidth: isMinWidthArcBreakpointS ? false : true, isLoading: isLoading })),
|
|
73
75
|
displayList.length > cardsToDisplay && (React.createElement(React.Fragment, null,
|
|
74
76
|
React.createElement("div", { id: "skip-link", className: index.classNames(styles["productNavigation-skipLink"]), tabIndex: -1 },
|
|
75
|
-
React.createElement(
|
|
76
|
-
React.createElement(
|
|
77
|
+
React.createElement(ButtonV2.ButtonV2, { label: "Move to first new card", buttonStyle: "primary", onClick: moveFocus, isFullWidth: isMinWidthArcBreakpointS ? false : true })))),
|
|
78
|
+
React.createElement(VisuallyHidden.VisuallyHidden, null,
|
|
77
79
|
React.createElement("div", { "aria-live": "polite", id: "aria-live-region", "aria-atomic": true },
|
|
78
80
|
React.createElement("p", null,
|
|
79
81
|
"Total products listed ",
|
|
@@ -3,12 +3,14 @@ import React, { useState, useRef, useEffect } from 'react';
|
|
|
3
3
|
import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.js';
|
|
4
4
|
import { f as filterDataAttrs } from '../_shared/esm/filter-data-attrs-V7cbJuwS.js';
|
|
5
5
|
import { useMediaQuery } from '@arc-ui/components/use-media-query';
|
|
6
|
-
import { A as ArcSizeBreakpointsS } from '../_shared/esm/index.es-
|
|
6
|
+
import { A as ArcSizeBreakpointsS } from '../_shared/esm/index.es-BraCgI9m.js';
|
|
7
7
|
import { S as SectionHeading } from '../_shared/esm/SectionHeading-BwbuyrYn.js';
|
|
8
|
-
import {
|
|
8
|
+
import { ButtonV2 } from '@arc-ui/components/ButtonV2';
|
|
9
|
+
import { InformationCard } from '@arc-ui/components/InformationCard';
|
|
10
|
+
import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
|
|
11
|
+
import { VisuallyHidden } from '@arc-ui/components/VisuallyHidden';
|
|
9
12
|
import '@arc-ui/components/Heading';
|
|
10
13
|
import '@arc-ui/components/Text';
|
|
11
|
-
import '@arc-ui/components/VerticalSpace';
|
|
12
14
|
import '@arc-ui/components/Image';
|
|
13
15
|
|
|
14
16
|
var styles = {"product-navigation-grid":"ProductNavigation-module_product-navigation-grid__RzFq8","productNavigation-skipLink":"ProductNavigation-module_productNavigation-skipLink__fy8ZJ"};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var index = require('../_shared/cjs/index-Bp6Dd2i1.js');
|
|
6
|
-
var index_es = require('../_shared/cjs/index.es-
|
|
6
|
+
var index_es = require('../_shared/cjs/index.es-BNY6zQSi.js');
|
|
7
7
|
var Carousel = require('@arc-ui/components/Carousel');
|
|
8
8
|
var useMediaQuery = require('@arc-ui/components/use-media-query');
|
|
9
9
|
var SectionHeading = require('../_shared/cjs/SectionHeading-gjCR1F6E.js');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.js';
|
|
2
2
|
import React, { useId } from 'react';
|
|
3
3
|
import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.js';
|
|
4
|
-
import { a as ArcSizeBreakpointsL } from '../_shared/esm/index.es-
|
|
4
|
+
import { a as ArcSizeBreakpointsL } from '../_shared/esm/index.es-BraCgI9m.js';
|
|
5
5
|
import { Carousel } from '@arc-ui/components/Carousel';
|
|
6
6
|
import { useMediaQuery } from '@arc-ui/components/use-media-query';
|
|
7
7
|
import { S as SectionHeading } from '../_shared/esm/SectionHeading-BwbuyrYn.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var index_es = require('../_shared/cjs/index.es-
|
|
5
|
+
var index_es = require('../_shared/cjs/index.es-BNY6zQSi.js');
|
|
6
6
|
var Heading = require('@arc-ui/components/Heading');
|
|
7
7
|
var Text = require('@arc-ui/components/Text');
|
|
8
8
|
var Box = require('@arc-ui/components/Box');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.js';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-
|
|
3
|
+
import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-BraCgI9m.js';
|
|
4
4
|
import { Heading } from '@arc-ui/components/Heading';
|
|
5
5
|
import { Text } from '@arc-ui/components/Text';
|
|
6
6
|
import { Box } from '@arc-ui/components/Box';
|
package/dist/index.es.js
CHANGED
|
@@ -21,9 +21,10 @@ import { TypographyCard } from '@arc-ui/components/TypographyCard';
|
|
|
21
21
|
import { Box } from '@arc-ui/components/Box';
|
|
22
22
|
import { Rule } from '@arc-ui/components/Rule';
|
|
23
23
|
import { Align } from '@arc-ui/components/Align';
|
|
24
|
-
import { TabbedBanner
|
|
24
|
+
import { TabbedBanner } from '@arc-ui/components/TabbedBanner';
|
|
25
25
|
import { Tag } from '@arc-ui/components/Tag';
|
|
26
26
|
import { Toast, ToastNotification } from '@arc-ui/components/Toast';
|
|
27
|
+
import { VisuallyHidden } from '@arc-ui/components/VisuallyHidden';
|
|
27
28
|
|
|
28
29
|
/******************************************************************************
|
|
29
30
|
Copyright (c) Microsoft Corporation.
|
|
@@ -278,7 +279,7 @@ var Author = function (_a) {
|
|
|
278
279
|
|
|
279
280
|
/**
|
|
280
281
|
* Do not edit directly
|
|
281
|
-
* Generated on Fri,
|
|
282
|
+
* Generated on Fri, 15 Aug 2025 18:14:58 GMT
|
|
282
283
|
*/
|
|
283
284
|
var ArcSizeBreakpointsS = "636px";
|
|
284
285
|
var ArcSizeBreakpointsM = "768px";
|
|
@@ -3002,19 +3003,19 @@ var ProductNavigation = function (_a) {
|
|
|
3002
3003
|
React.createElement("ul", { className: classNames(styles["product-navigation-grid"]) }, displayList === null || displayList === void 0 ? void 0 : displayList.map(function (_a, i) {
|
|
3003
3004
|
var label = _a.label, href = _a.href, heading = _a.heading, text = _a.text;
|
|
3004
3005
|
return (React.createElement("li", { key: "displayList-".concat(i), tabIndex: -1, ref: i === skipLinkCard ? cardRef : undefined, "data-cy": "list-item-".concat(i) },
|
|
3005
|
-
React.createElement(InformationCard
|
|
3006
|
+
React.createElement(InformationCard, { button: {
|
|
3006
3007
|
label: label,
|
|
3007
3008
|
href: href,
|
|
3008
3009
|
}, minHeight: minHeight, heading: heading, headingLevel: "2", text: text })));
|
|
3009
3010
|
})),
|
|
3010
|
-
React.createElement(VerticalSpace
|
|
3011
|
+
React.createElement(VerticalSpace, { size: "40" }),
|
|
3011
3012
|
React.createElement("div", { style: { display: "flex" } },
|
|
3012
|
-
!hideButton && !hideLessButton && (React.createElement(ButtonV2
|
|
3013
|
+
!hideButton && !hideLessButton && (React.createElement(ButtonV2, { label: displayList.length < productList.length
|
|
3013
3014
|
? "Show more"
|
|
3014
3015
|
: "Show less", buttonStyle: "secondary", onClick: clickController, isFullWidth: isMinWidthArcBreakpointS ? false : true, isLoading: isLoading })),
|
|
3015
3016
|
displayList.length > cardsToDisplay && (React.createElement(React.Fragment, null,
|
|
3016
3017
|
React.createElement("div", { id: "skip-link", className: classNames(styles["productNavigation-skipLink"]), tabIndex: -1 },
|
|
3017
|
-
React.createElement(ButtonV2
|
|
3018
|
+
React.createElement(ButtonV2, { label: "Move to first new card", buttonStyle: "primary", onClick: moveFocus, isFullWidth: isMinWidthArcBreakpointS ? false : true })))),
|
|
3018
3019
|
React.createElement(VisuallyHidden, null,
|
|
3019
3020
|
React.createElement("div", { "aria-live": "polite", id: "aria-live-region", "aria-atomic": true },
|
|
3020
3021
|
React.createElement("p", null,
|