@arc-ui/community-components 1.0.0 → 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 -125
- package/CHANGELOG.md +13 -0
- package/dist/Accordion/Accordion.cjs.js +5 -4
- package/dist/Accordion/Accordion.esm.js +3 -2
- package/dist/ArticleSidebar/ArticleSidebar.cjs.js +37 -74
- package/dist/ArticleSidebar/ArticleSidebar.esm.js +32 -69
- package/dist/Author/Author.cjs.js +3 -2
- package/dist/Author/Author.esm.js +3 -2
- package/dist/BannerWithTabs/BannerWithTabs.cjs.js +5 -4
- package/dist/BannerWithTabs/BannerWithTabs.esm.js +4 -3
- package/dist/CopyLead/CopyLead.cjs.js +16 -15
- package/dist/CopyLead/CopyLead.esm.js +4 -3
- package/dist/DownloadList/DownloadList.cjs.js +4 -3
- package/dist/DownloadList/DownloadList.esm.js +3 -2
- package/dist/FeaturePost/FeaturePost.cjs.js +12 -11
- package/dist/FeaturePost/FeaturePost.esm.js +4 -3
- package/dist/Highlights/Highlights.cjs.js +3 -2
- package/dist/Highlights/Highlights.esm.js +3 -2
- package/dist/ProductNavigation/ProductNavigation.cjs.js +15 -12
- package/dist/ProductNavigation/ProductNavigation.esm.js +8 -5
- package/dist/PromoListing/PromoListing.cjs.js +8 -7
- package/dist/PromoListing/PromoListing.esm.js +4 -3
- package/dist/Quote/Quote.cjs.js +5 -4
- package/dist/Quote/Quote.esm.js +3 -2
- package/dist/SectionHeading/SectionHeading.cjs.js +3 -2
- package/dist/SectionHeading/SectionHeading.esm.js +3 -2
- package/dist/Statistics/Statistics.cjs.js +4 -3
- package/dist/Statistics/Statistics.esm.js +3 -2
- package/dist/Summary/Summary.cjs.js +6 -5
- package/dist/Summary/Summary.esm.js +6 -5
- package/dist/Summary/styles.css +1 -1
- package/dist/_shared/cjs/{Author-BXxxwh6E.js → Author-DltMey-3.js} +5 -4
- package/dist/_shared/cjs/{SectionHeading-7IxNz67p.js → SectionHeading-gjCR1F6E.js} +5 -4
- package/dist/_shared/cjs/filter-data-attrs-ajtUvDAC.js +15 -0
- package/dist/_shared/cjs/{index.es-HAMLJhPd.js → index.es-BNY6zQSi.js} +1 -1
- package/dist/_shared/cjs/{filter-data-attrs-DlS_Fyr9.js → tslib.es6-BxB9I209.js} +0 -13
- package/dist/_shared/esm/{Author-B8tJxqB8.js → Author-son1Cgke.js} +2 -1
- package/dist/_shared/esm/{SectionHeading-Dz0GfXsP.js → SectionHeading-BwbuyrYn.js} +2 -1
- package/dist/_shared/esm/filter-data-attrs-V7cbJuwS.js +13 -0
- package/dist/_shared/esm/{index.es-BI7la-9v.js → index.es-BraCgI9m.js} +2 -2
- package/dist/_shared/esm/{filter-data-attrs-DAx-HNG5.js → tslib.es6-BVXMhEem.js} +1 -13
- package/dist/index.es.js +43 -80
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +47 -84
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/cjs/components/ArticleSidebar/types/share-button.d.ts +1 -2
- package/dist/types/cjs/components/CopyLead/types/copy-lead-list-item.d.ts +1 -2
- package/dist/types/cjs/components/Highlights/components/HighlightItem/HighlightItem.d.ts +1 -2
- package/dist/types/cjs/components/Highlights/types/highlight-list-item.d.ts +1 -2
- package/dist/types/cjs/components/Summary/Summary.d.ts +1 -0
- package/dist/types/esm/components/ArticleSidebar/types/share-button.d.ts +1 -2
- package/dist/types/esm/components/CopyLead/types/copy-lead-list-item.d.ts +1 -2
- package/dist/types/esm/components/Highlights/components/HighlightItem/HighlightItem.d.ts +1 -2
- package/dist/types/esm/components/Highlights/types/highlight-list-item.d.ts +1 -2
- package/dist/types/esm/components/Summary/Summary.d.ts +1 -0
- package/package.json +12 -12
- package/src/components/ArticleSidebar/ArticleSidebar.tsx +1 -1
- package/src/components/ArticleSidebar/types/share-button.ts +1 -3
- package/src/components/BannerWithTabs/BannerWithTabs.tsx +1 -1
- package/src/components/CopyLead/types/copy-lead-list-item.ts +1 -3
- package/src/components/Highlights/components/HighlightItem/HighlightItem.tsx +1 -3
- package/src/components/Highlights/types/highlight-list-item.ts +1 -2
- package/src/components/ProductNavigation/ProductNavigation.tsx +5 -7
- package/src/components/Summary/Summary.module.css +1 -1
- package/src/components/Summary/Summary.tsx +12 -5
- package/versions.json +1 -1
- package/dist/types/cjs/types/arc-icon.d.ts +0 -2
- package/dist/types/esm/types/arc-icon.d.ts +0 -2
- package/src/types/arc-icon.ts +0 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.js';
|
|
1
2
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
+
import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-BraCgI9m.js';
|
|
3
4
|
import { Heading } from '@arc-ui/components/Heading';
|
|
4
5
|
import { Text } from '@arc-ui/components/Text';
|
|
5
6
|
import { Box } from '@arc-ui/components/Box';
|
|
@@ -10,9 +11,9 @@ import { useMediaQuery } from '@arc-ui/components/use-media-query';
|
|
|
10
11
|
var styles = {"ruleContainer":"Summary-module_ruleContainer__ydWlG","row":"Summary-module_row__SKV--"};
|
|
11
12
|
|
|
12
13
|
var Summary = function (_a) {
|
|
13
|
-
var content = _a.content, _b = _a.headingLevel, headingLevel =
|
|
14
|
-
var
|
|
15
|
-
return (React.createElement(Box, { isBorderRadius: true, borderWidth: "thin", padding: "24" },
|
|
14
|
+
var content = _a.content, _b = _a.noBorder, noBorder = _b === void 0 ? false : _b, _c = _a.headingLevel, headingLevel = _c === void 0 ? "3" : _c;
|
|
15
|
+
var isMinWidthArcBreakpointM = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsM, ")"));
|
|
16
|
+
return (React.createElement(Box, __assign({ isBorderRadius: true }, (!noBorder ? { borderWidth: "thin" } : { elevationLevel: "1" }), { padding: "24" }),
|
|
16
17
|
React.createElement("div", { className: styles.row }, content.map(function (_a, i) {
|
|
17
18
|
var heading = _a.heading, text = _a.text;
|
|
18
19
|
return (React.createElement(React.Fragment, null,
|
|
@@ -21,7 +22,7 @@ var Summary = function (_a) {
|
|
|
21
22
|
React.createElement(VerticalSpace, { size: "8" }),
|
|
22
23
|
React.createElement(Text, { size: "s" }, text)),
|
|
23
24
|
i !== content.length - 1 && (React.createElement("div", { className: styles.ruleContainer },
|
|
24
|
-
React.createElement(Rule, { orientation:
|
|
25
|
+
React.createElement(Rule, { orientation: isMinWidthArcBreakpointM ? "vertical" : "horizontal" })))));
|
|
25
26
|
}))));
|
|
26
27
|
};
|
|
27
28
|
|
package/dist/Summary/styles.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.Summary-module_ruleContainer__ydWlG{flex:0 1 auto;padding:24px}.Summary-module_ruleContainer__ydWlG .arc-Rule{margin:0}@media (min-width:
|
|
1
|
+
.Summary-module_ruleContainer__ydWlG{flex:0 1 auto;padding:24px}.Summary-module_ruleContainer__ydWlG .arc-Rule{margin:0}@media (min-width:768px){.Summary-module_row__SKV--{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr)}}@media (min-width:1024px){.Summary-module_ruleContainer__ydWlG{padding:12px 48px}.Summary-module_row__SKV--{padding:0 24px}}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-BxB9I209.js');
|
|
4
4
|
var React = require('react');
|
|
5
|
+
var filterDataAttrs = require('./filter-data-attrs-ajtUvDAC.js');
|
|
5
6
|
var Grid = require('@arc-ui/components/Grid');
|
|
6
7
|
var Avatar = require('@arc-ui/components/Avatar');
|
|
7
8
|
var Heading = require('@arc-ui/components/Heading');
|
|
@@ -10,16 +11,16 @@ var Text = require('@arc-ui/components/Text');
|
|
|
10
11
|
var styles = {"authorContent":"Author-module_authorContent__TBY7b","largeAvatar":"Author-module_largeAvatar__Vco03"};
|
|
11
12
|
|
|
12
13
|
var Author = function (_a) {
|
|
13
|
-
var name = _a.name, title = _a.title, _b = _a.avatar, avatar = _b === void 0 ? {} : _b, props =
|
|
14
|
+
var name = _a.name, title = _a.title, _b = _a.avatar, avatar = _b === void 0 ? {} : _b, props = tslib_es6.__rest(_a, ["name", "title", "avatar"]);
|
|
14
15
|
var avatarSizes = ["s", "m", "l", "xl"];
|
|
15
16
|
avatar.size = avatarSizes.includes(avatar.size || "") ? avatar.size : "m";
|
|
16
17
|
var isLargeAvatar = avatar.size === "l" || avatar.size === "xl";
|
|
17
|
-
return (React.createElement("div",
|
|
18
|
+
return (React.createElement("div", tslib_es6.__assign({}, filterDataAttrs.filterDataAttrs(props)),
|
|
18
19
|
React.createElement(Grid.Grid, { isFluid: true, isGutterless: true },
|
|
19
20
|
React.createElement(Grid.GridRow, { align: "center" },
|
|
20
21
|
React.createElement(Grid.GridCol, { xs: isLargeAvatar ? 12 : "auto" },
|
|
21
22
|
React.createElement("div", { className: isLargeAvatar ? styles.largeAvatar : undefined },
|
|
22
|
-
React.createElement(Avatar.Avatar,
|
|
23
|
+
React.createElement(Avatar.Avatar, tslib_es6.__assign({}, avatar)))),
|
|
23
24
|
React.createElement(Grid.GridCol, null,
|
|
24
25
|
React.createElement("div", { className: "".concat(!isLargeAvatar && styles.authorContent), "data-testid": "authorContent" },
|
|
25
26
|
React.createElement(Heading.Heading, { size: "xs" }, name),
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-BxB9I209.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var index = require('./index-Bp6Dd2i1.js');
|
|
6
|
+
var filterDataAttrs = require('./filter-data-attrs-ajtUvDAC.js');
|
|
6
7
|
var Heading = require('@arc-ui/components/Heading');
|
|
7
8
|
var Text = require('@arc-ui/components/Text');
|
|
8
9
|
var VerticalSpace = require('@arc-ui/components/VerticalSpace');
|
|
@@ -12,14 +13,14 @@ var styles = {"section-header":"SectionHeading-module_section-header__iB07I","se
|
|
|
12
13
|
|
|
13
14
|
var SectionHeading = function (_a) {
|
|
14
15
|
var _b, _c;
|
|
15
|
-
var heading = _a.heading, content = _a.content, id = _a.id, _d = _a.isPadded, isPadded = _d === void 0 ? false : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e, image = _a.image, props =
|
|
16
|
-
return (React.createElement("div",
|
|
16
|
+
var heading = _a.heading, content = _a.content, id = _a.id, _d = _a.isPadded, isPadded = _d === void 0 ? false : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e, image = _a.image, props = tslib_es6.__rest(_a, ["heading", "content", "id", "isPadded", "headingLevel", "image"]);
|
|
17
|
+
return (React.createElement("div", tslib_es6.__assign({ className: index.classNames((_b = {},
|
|
17
18
|
_b[styles["section-header"]] = true,
|
|
18
19
|
_b[styles["section-header--padded"]] = isPadded,
|
|
19
20
|
_b)) }, filterDataAttrs.filterDataAttrs(props)),
|
|
20
21
|
React.createElement("div", { className: index.classNames((_c = {}, _c[styles["section-header--hasImage"]] = image, _c)) },
|
|
21
22
|
image && (React.createElement("div", null,
|
|
22
|
-
React.createElement(Image.Image,
|
|
23
|
+
React.createElement(Image.Image, tslib_es6.__assign({}, image, { width: 68, fit: "cover" })))),
|
|
23
24
|
React.createElement(Heading.Heading, { level: headingLevel, id: id, size: "xl" }, heading)),
|
|
24
25
|
content && (React.createElement(React.Fragment, null,
|
|
25
26
|
React.createElement(VerticalSpace.VerticalSpace, { size: "24" }),
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var dataAttrRe = /^(data-.*)$/;
|
|
4
|
+
var filterDataAttrs = function (props) {
|
|
5
|
+
var filteredProps = {};
|
|
6
|
+
for (var prop in props) {
|
|
7
|
+
if (Object.prototype.hasOwnProperty.call(props, prop) &&
|
|
8
|
+
dataAttrRe.test(prop)) {
|
|
9
|
+
filteredProps[prop] = props[prop];
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
return filteredProps;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
exports.filterDataAttrs = filterDataAttrs;
|
|
@@ -93,20 +93,7 @@ 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
|
-
var dataAttrRe = /^(data-.*)$/;
|
|
97
|
-
var filterDataAttrs = function (props) {
|
|
98
|
-
var filteredProps = {};
|
|
99
|
-
for (var prop in props) {
|
|
100
|
-
if (Object.prototype.hasOwnProperty.call(props, prop) &&
|
|
101
|
-
dataAttrRe.test(prop)) {
|
|
102
|
-
filteredProps[prop] = props[prop];
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
return filteredProps;
|
|
106
|
-
};
|
|
107
|
-
|
|
108
96
|
exports.__awaiter = __awaiter;
|
|
109
97
|
exports.__generator = __generator;
|
|
110
98
|
exports.__rest = __rest;
|
|
111
99
|
exports.__spreadArray = __spreadArray;
|
|
112
|
-
exports.filterDataAttrs = filterDataAttrs;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-BVXMhEem.js';
|
|
2
2
|
import React from 'react';
|
|
3
|
+
import { f as filterDataAttrs } from './filter-data-attrs-V7cbJuwS.js';
|
|
3
4
|
import { Grid, GridRow, GridCol } from '@arc-ui/components/Grid';
|
|
4
5
|
import { Avatar } from '@arc-ui/components/Avatar';
|
|
5
6
|
import { Heading } from '@arc-ui/components/Heading';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-BVXMhEem.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { c as classNames } from './index-BfTCfPZ1.js';
|
|
4
|
+
import { f as filterDataAttrs } from './filter-data-attrs-V7cbJuwS.js';
|
|
4
5
|
import { Heading } from '@arc-ui/components/Heading';
|
|
5
6
|
import { Text } from '@arc-ui/components/Text';
|
|
6
7
|
import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
var dataAttrRe = /^(data-.*)$/;
|
|
2
|
+
var filterDataAttrs = function (props) {
|
|
3
|
+
var filteredProps = {};
|
|
4
|
+
for (var prop in props) {
|
|
5
|
+
if (Object.prototype.hasOwnProperty.call(props, prop) &&
|
|
6
|
+
dataAttrRe.test(prop)) {
|
|
7
|
+
filteredProps[prop] = props[prop];
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
return filteredProps;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export { filterDataAttrs as f };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Fri, 15 Aug 2025 18:14:58 GMT
|
|
4
4
|
*/
|
|
5
5
|
var ArcSizeBreakpointsS = "636px";
|
|
6
6
|
var ArcSizeBreakpointsM = "768px";
|
|
7
7
|
var ArcSizeBreakpointsL = "1024px";
|
|
8
8
|
var ArcSizeBreakpointsXl = "1280px";
|
|
9
9
|
|
|
10
|
-
export { ArcSizeBreakpointsS as A, ArcSizeBreakpointsL as a,
|
|
10
|
+
export { ArcSizeBreakpointsS as A, ArcSizeBreakpointsL as a, ArcSizeBreakpointsM as b, ArcSizeBreakpointsXl as c };
|
|
@@ -91,16 +91,4 @@ 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
|
-
|
|
95
|
-
var filterDataAttrs = function (props) {
|
|
96
|
-
var filteredProps = {};
|
|
97
|
-
for (var prop in props) {
|
|
98
|
-
if (Object.prototype.hasOwnProperty.call(props, prop) &&
|
|
99
|
-
dataAttrRe.test(prop)) {
|
|
100
|
-
filteredProps[prop] = props[prop];
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
return filteredProps;
|
|
104
|
-
};
|
|
105
|
-
|
|
106
|
-
export { __rest as _, __assign as a, __spreadArray as b, __awaiter as c, __generator as d, filterDataAttrs as f };
|
|
94
|
+
export { __rest as _, __assign as a, __spreadArray as b, __awaiter as c, __generator as d };
|
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
|
|
282
|
+
* Generated on Fri, 15 Aug 2025 18:14:58 GMT
|
|
282
283
|
*/
|
|
283
284
|
var ArcSizeBreakpointsS = "636px";
|
|
284
285
|
var ArcSizeBreakpointsM = "768px";
|
|
@@ -2752,9 +2753,9 @@ var Quote = function (_a) {
|
|
|
2752
2753
|
var styles$4 = {"ruleContainer":"Summary-module_ruleContainer__ydWlG","row":"Summary-module_row__SKV--"};
|
|
2753
2754
|
|
|
2754
2755
|
var Summary = function (_a) {
|
|
2755
|
-
var content = _a.content, _b = _a.headingLevel, headingLevel =
|
|
2756
|
-
var
|
|
2757
|
-
return (React.createElement(Box, { isBorderRadius: true, borderWidth: "thin", padding: "24" },
|
|
2756
|
+
var content = _a.content, _b = _a.noBorder, noBorder = _b === void 0 ? false : _b, _c = _a.headingLevel, headingLevel = _c === void 0 ? "3" : _c;
|
|
2757
|
+
var isMinWidthArcBreakpointM = useMediaQuery("(min-width: ".concat(ArcSizeBreakpointsM, ")"));
|
|
2758
|
+
return (React.createElement(Box, __assign({ isBorderRadius: true }, (!noBorder ? { borderWidth: "thin" } : { elevationLevel: "1" }), { padding: "24" }),
|
|
2758
2759
|
React.createElement("div", { className: styles$4.row }, content.map(function (_a, i) {
|
|
2759
2760
|
var heading = _a.heading, text = _a.text;
|
|
2760
2761
|
return (React.createElement(React.Fragment, null,
|
|
@@ -2763,7 +2764,7 @@ var Summary = function (_a) {
|
|
|
2763
2764
|
React.createElement(VerticalSpace, { size: "8" }),
|
|
2764
2765
|
React.createElement(Text, { size: "s" }, text)),
|
|
2765
2766
|
i !== content.length - 1 && (React.createElement("div", { className: styles$4.ruleContainer },
|
|
2766
|
-
React.createElement(Rule, { orientation:
|
|
2767
|
+
React.createElement(Rule, { orientation: isMinWidthArcBreakpointM ? "vertical" : "horizontal" })))));
|
|
2767
2768
|
}))));
|
|
2768
2769
|
};
|
|
2769
2770
|
|
|
@@ -2825,75 +2826,37 @@ var BannerWithTabs = function (_a) {
|
|
|
2825
2826
|
React.createElement(TabbedBanner, { minHeight: minHeight, minHeightM: minHeightM, tabs: tabs, defaultValue: defaultValue })));
|
|
2826
2827
|
};
|
|
2827
2828
|
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
|
|
2837
|
-
|
|
2838
|
-
|
|
2839
|
-
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
const BtIconLink = (props) =>
|
|
2861
|
-
/*#__PURE__*/ React.createElement(
|
|
2862
|
-
"svg",
|
|
2863
|
-
Object.assign(
|
|
2864
|
-
{
|
|
2865
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2866
|
-
viewBox: "0 0 32 32",
|
|
2867
|
-
},
|
|
2868
|
-
props,
|
|
2869
|
-
),
|
|
2870
|
-
/*#__PURE__*/ React.createElement("defs", null),
|
|
2871
|
-
/*#__PURE__*/ React.createElement("path", {
|
|
2872
|
-
d: "M9.959,10.0127h2.417a5.99044,5.99044,0,0,1,5.22558,8.91552.5.5,0,1,0,.87207.48926A6.99034,6.99034,0,0,0,12.376,9.0127H9.959a6.98853,6.98853,0,0,0,0,13.97705h1.54a.5.5,0,1,0,0-1H9.959a5.98853,5.98853,0,0,1,0-11.977Z",
|
|
2873
|
-
fill: "currentColor",
|
|
2874
|
-
}),
|
|
2875
|
-
/*#__PURE__*/ React.createElement("path", {
|
|
2876
|
-
d: "M22.0625,9.0127h-1.54a.5.5,0,0,0,0,1h1.54a5.98853,5.98853,0,0,1,0,11.97705h-2.417a5.99145,5.99145,0,0,1-5.22656-8.915.49955.49955,0,1,0-.8711-.48926,6.99,6.99,0,0,0,6.09766,10.4043h2.417a6.98853,6.98853,0,0,0,0-13.977Z",
|
|
2877
|
-
fill: "currentColor",
|
|
2878
|
-
}),
|
|
2879
|
-
);
|
|
2880
|
-
|
|
2881
|
-
const BtIconEmailUnread = (props) =>
|
|
2882
|
-
/*#__PURE__*/ React.createElement(
|
|
2883
|
-
"svg",
|
|
2884
|
-
Object.assign(
|
|
2885
|
-
{
|
|
2886
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2887
|
-
viewBox: "0 0 32 32",
|
|
2888
|
-
},
|
|
2889
|
-
props,
|
|
2890
|
-
),
|
|
2891
|
-
/*#__PURE__*/ React.createElement("defs", null),
|
|
2892
|
-
/*#__PURE__*/ React.createElement("path", {
|
|
2893
|
-
d: "M29,6H3A1,1,0,0,0,2,7V25a1,1,0,0,0,1,1H29a1,1,0,0,0,1-1V7A1,1,0,0,0,29,6Zm0,1V8.71649L18.00049,16.33154a3.5158,3.5158,0,0,1-3.98438,0L3,8.70532V7Zm0,2.93292V22.08368l-8.77545-6.07544Zm-17.20819,6.0752L3,22.09485V9.92175ZM3,25V23.31128l9.67035-6.695.77643.53754a4.52223,4.52223,0,0,0,5.123,0l.77619-.53735L29,23.30011V25Z",
|
|
2894
|
-
fill: "currentColor",
|
|
2895
|
-
}),
|
|
2896
|
-
);
|
|
2829
|
+
/**
|
|
2830
|
+
* Do not edit directly
|
|
2831
|
+
* Generated file
|
|
2832
|
+
*/
|
|
2833
|
+
|
|
2834
|
+
const ArcIconSocialLinkedin =
|
|
2835
|
+
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M25.856 25.86H21.71v-6.496c0-1.55-.032-3.544-2.161-3.544-2.162 0-2.492 1.686-2.492 3.43v6.61H12.91V12.5h3.983v1.821h.053c.557-1.05 1.91-2.158 3.932-2.158 4.201 0 4.978 2.765 4.978 6.364v7.334zM8.226 10.673a2.406 2.406 0 0 1-2.406-2.41 2.408 2.408 0 1 1 2.407 2.41zm2.08 15.189H6.148V12.5h4.158v13.36zM27.929 2H4.066C2.924 2 2 2.903 2 4.017v23.966C2 29.098 2.924 30 4.066 30h23.86c1.14 0 2.074-.902 2.074-2.017V4.017C30 2.903 29.067 2 27.926 2z'/%3e%3c/svg%3e";
|
|
2836
|
+
|
|
2837
|
+
/**
|
|
2838
|
+
* Do not edit directly
|
|
2839
|
+
* Generated file
|
|
2840
|
+
*/
|
|
2841
|
+
|
|
2842
|
+
const ArcIconSocialX =
|
|
2843
|
+
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M24.034 3h4.278l-9.343 10.639L30 28.103h-8.64l-6.781-8.768-7.739 8.768H2.563L12.58 16.738 2 3h8.864l6.107 8.014zm-1.491 22.562h2.364L9.57 5.402H7.009z'/%3e%3c/svg%3e";
|
|
2844
|
+
|
|
2845
|
+
/**
|
|
2846
|
+
* Do not edit directly
|
|
2847
|
+
* Generated file
|
|
2848
|
+
*/
|
|
2849
|
+
|
|
2850
|
+
const BtIconLink =
|
|
2851
|
+
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath d='M9.959 10.013h2.417a5.99 5.99 0 0 1 5.226 8.915.5.5 0 1 0 .872.49 6.99 6.99 0 0 0-6.098-10.405H9.959a6.989 6.989 0 0 0 0 13.977h1.54a.5.5 0 1 0 0-1h-1.54a5.989 5.989 0 0 1 0-11.977'/%3e%3cpath d='M22.063 9.013h-1.54a.5.5 0 0 0 0 1h1.54a5.989 5.989 0 0 1 0 11.977h-2.417a5.99 5.99 0 0 1-5.227-8.915.5.5 0 1 0-.871-.49 6.99 6.99 0 0 0 6.097 10.405h2.417a6.989 6.989 0 0 0 0-13.977'/%3e%3c/svg%3e";
|
|
2852
|
+
|
|
2853
|
+
/**
|
|
2854
|
+
* Do not edit directly
|
|
2855
|
+
* Generated file
|
|
2856
|
+
*/
|
|
2857
|
+
|
|
2858
|
+
const BtIconEmailUnread =
|
|
2859
|
+
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='M29 6H3a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1m0 1v1.716l-11 7.616a3.52 3.52 0 0 1-3.984 0L3 8.705V7Zm0 2.933v12.15l-8.775-6.075Zm-17.208 6.075L3 22.095V9.922ZM3 25v-1.689l9.67-6.695.777.538a4.52 4.52 0 0 0 5.123 0l.776-.538L29 23.3V25Z'/%3e%3c/svg%3e";
|
|
2897
2860
|
|
|
2898
2861
|
var styles$1 = {"tagGroup":"ArticleSidebar-module_tagGroup__rIPQc","textContent":"ArticleSidebar-module_textContent__3nCfG","shareButtonContainer":"ArticleSidebar-module_shareButtonContainer__iAfHL","shareButton":"ArticleSidebar-module_shareButton__rb-1E"};
|
|
2899
2862
|
|
|
@@ -2986,7 +2949,7 @@ var ArticleSidebar = function (_a) {
|
|
|
2986
2949
|
React.createElement(VerticalSpace, { size: "16" }),
|
|
2987
2950
|
React.createElement("div", { className: styles$1.shareButtonContainer }, shareButtons.map(function (_a) {
|
|
2988
2951
|
var isButton = _a.isButton, label = _a.label, href = _a.href, icon = _a.icon, onClick = _a.onClick;
|
|
2989
|
-
return (React.createElement("a", { key: "".concat(id, "-").concat(label), role: isButton ? "button" : undefined, target: "_blank", rel: "noreferrer", className: styles$1.shareButton, "aria-label": label, href: href, onClick: onClick },
|
|
2952
|
+
return (React.createElement("a", { key: "".concat(id, "-").concat(label), role: isButton ? "button" : undefined, target: "_blank", rel: "noreferrer", className: styles$1.shareButton, "aria-label": label, href: href, onClick: isButton ? onClick : undefined },
|
|
2990
2953
|
React.createElement(Icon, { icon: icon, size: 24 })));
|
|
2991
2954
|
})),
|
|
2992
2955
|
React.createElement(Toast, null,
|
|
@@ -3040,19 +3003,19 @@ var ProductNavigation = function (_a) {
|
|
|
3040
3003
|
React.createElement("ul", { className: classNames(styles["product-navigation-grid"]) }, displayList === null || displayList === void 0 ? void 0 : displayList.map(function (_a, i) {
|
|
3041
3004
|
var label = _a.label, href = _a.href, heading = _a.heading, text = _a.text;
|
|
3042
3005
|
return (React.createElement("li", { key: "displayList-".concat(i), tabIndex: -1, ref: i === skipLinkCard ? cardRef : undefined, "data-cy": "list-item-".concat(i) },
|
|
3043
|
-
React.createElement(InformationCard
|
|
3006
|
+
React.createElement(InformationCard, { button: {
|
|
3044
3007
|
label: label,
|
|
3045
3008
|
href: href,
|
|
3046
3009
|
}, minHeight: minHeight, heading: heading, headingLevel: "2", text: text })));
|
|
3047
3010
|
})),
|
|
3048
|
-
React.createElement(VerticalSpace
|
|
3011
|
+
React.createElement(VerticalSpace, { size: "40" }),
|
|
3049
3012
|
React.createElement("div", { style: { display: "flex" } },
|
|
3050
|
-
!hideButton && !hideLessButton && (React.createElement(ButtonV2
|
|
3013
|
+
!hideButton && !hideLessButton && (React.createElement(ButtonV2, { label: displayList.length < productList.length
|
|
3051
3014
|
? "Show more"
|
|
3052
3015
|
: "Show less", buttonStyle: "secondary", onClick: clickController, isFullWidth: isMinWidthArcBreakpointS ? false : true, isLoading: isLoading })),
|
|
3053
3016
|
displayList.length > cardsToDisplay && (React.createElement(React.Fragment, null,
|
|
3054
3017
|
React.createElement("div", { id: "skip-link", className: classNames(styles["productNavigation-skipLink"]), tabIndex: -1 },
|
|
3055
|
-
React.createElement(ButtonV2
|
|
3018
|
+
React.createElement(ButtonV2, { label: "Move to first new card", buttonStyle: "primary", onClick: moveFocus, isFullWidth: isMinWidthArcBreakpointS ? false : true })))),
|
|
3056
3019
|
React.createElement(VisuallyHidden, null,
|
|
3057
3020
|
React.createElement("div", { "aria-live": "polite", id: "aria-live-region", "aria-atomic": true },
|
|
3058
3021
|
React.createElement("p", null,
|