@arc-ui/community-components 3.8.1 → 3.9.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 +11 -11
- package/CHANGELOG.md +11 -0
- package/lib/ArticleCarousel/ArticleCarousel.cjs +3 -2
- package/lib/ArticleCarousel/ArticleCarousel.mjs +3 -2
- package/lib/BannerWithTabs/BannerWithTabs.cjs +2 -1
- package/lib/BannerWithTabs/BannerWithTabs.mjs +2 -1
- package/lib/BusinessSegmentSwitcher/BusinessSegmentSwitcher.cjs +2 -1
- package/lib/BusinessSegmentSwitcher/BusinessSegmentSwitcher.mjs +2 -1
- package/lib/CopyLead/CopyLead.cjs +2 -2
- package/lib/CopyLead/CopyLead.mjs +2 -2
- package/lib/DownloadList/DownloadList.cjs +12 -9
- package/lib/DownloadList/DownloadList.mjs +12 -9
- package/lib/DownloadList/styles.css +1 -1
- package/lib/FAQs/FAQs.cjs +2 -1
- package/lib/FAQs/FAQs.mjs +2 -1
- package/lib/FeaturePost/FeaturePost.cjs +1 -1
- package/lib/FeaturePost/FeaturePost.mjs +1 -1
- package/lib/Highlights/Highlights.cjs +2 -1
- package/lib/Highlights/Highlights.mjs +2 -1
- package/lib/ProductNavigation/ProductNavigation.cjs +3 -2
- package/lib/ProductNavigation/ProductNavigation.mjs +3 -2
- package/lib/PromoListing/PromoListing.cjs +5 -4
- package/lib/PromoListing/PromoListing.mjs +5 -4
- package/lib/PromoListing/styles.css +1 -1
- package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.cjs +2 -1
- package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.mjs +2 -1
- package/lib/SectionHeading/SectionHeading.cjs +2 -1
- package/lib/SectionHeading/SectionHeading.mjs +2 -1
- package/lib/SectionHeading/styles.css +1 -1
- package/lib/Statistics/Statistics.cjs +1 -1
- package/lib/Statistics/Statistics.mjs +1 -1
- package/lib/Summary/Summary.cjs +1 -1
- package/lib/Summary/Summary.mjs +1 -1
- package/lib/_shared/cjs/SectionHeading-XCMdv8eZ.cjs +34 -0
- package/lib/_shared/cjs/{index.es-B6sSN_JJ.cjs → index.es-B73RVhhj.cjs} +1 -1
- package/lib/_shared/esm/SectionHeading-lyXLUtdr.mjs +32 -0
- package/lib/_shared/esm/{index.es-CYN3fovv.mjs → index.es-DNGykRl2.mjs} +1 -1
- package/lib/index.cjs +31 -26
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +13 -3
- package/lib/index.d.mts +13 -3
- package/lib/index.mjs +31 -26
- package/lib/index.mjs.map +1 -1
- package/lib/styles.css +1 -1
- package/package.json +15 -15
- package/src/components/BusinessSegmentSwitcher/BusinessSegmentSwitcher.tsx +5 -1
- package/src/components/BusinessSegmentSwitcher/types/types.ts +6 -3
- package/src/components/DownloadList/DownloadList.module.css +11 -3
- package/src/components/DownloadList/DownloadList.tsx +33 -17
- package/src/components/PromoListing/PromoListing.module.css +14 -0
- package/src/components/PromoListing/PromoListing.tsx +1 -1
- package/src/components/SectionHeading/SectionHeading.module.css +7 -26
- package/src/components/SectionHeading/SectionHeading.tsx +35 -33
- package/versions.json +1 -1
- package/lib/_shared/cjs/SectionHeading-DtYzFetD.cjs +0 -31
- package/lib/_shared/esm/SectionHeading-RLfs7ete.mjs +0 -29
|
@@ -1 +1 @@
|
|
|
1
|
-
.SectionHeading-
|
|
1
|
+
.SectionHeading-module_sectionHeading--hasImage__qaz6n{display:flex;flex-direction:column;gap:16px}.SectionHeading-module_sectionHeading--isCentered__i0fR8{text-align:center}@media (min-width:636px){.SectionHeading-module_sectionHeading--hasImage__qaz6n{align-items:center;flex-direction:row;gap:32px}}@media (min-width:768px){.SectionHeading-module_sectionHeading-content__ufB6w{padding-right:10px}}@media (min-width:1280px){.SectionHeading-module_sectionHeading-content__ufB6w{padding-right:0;padding-right:initial}}
|
|
@@ -10,7 +10,7 @@ var Align = require('@arc-ui/components/Align');
|
|
|
10
10
|
var Heading = require('@arc-ui/components/Heading');
|
|
11
11
|
var VerticalSpace = require('@arc-ui/components/VerticalSpace');
|
|
12
12
|
var Hidden = require('@arc-ui/components/Hidden');
|
|
13
|
-
var SectionHeading = require('../_shared/cjs/SectionHeading-
|
|
13
|
+
var SectionHeading = require('../_shared/cjs/SectionHeading-XCMdv8eZ.cjs');
|
|
14
14
|
require('../_shared/cjs/index-B7Z7sgRq.cjs');
|
|
15
15
|
require('@arc-ui/components/Image');
|
|
16
16
|
|
|
@@ -8,7 +8,7 @@ import { Align } from '@arc-ui/components/Align';
|
|
|
8
8
|
import { Heading } from '@arc-ui/components/Heading';
|
|
9
9
|
import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
|
|
10
10
|
import { Hidden } from '@arc-ui/components/Hidden';
|
|
11
|
-
import { S as SectionHeading } from '../_shared/esm/SectionHeading-
|
|
11
|
+
import { S as SectionHeading } from '../_shared/esm/SectionHeading-lyXLUtdr.mjs';
|
|
12
12
|
import '../_shared/esm/index-BSO2EFem.mjs';
|
|
13
13
|
import '@arc-ui/components/Image';
|
|
14
14
|
|
package/lib/Summary/Summary.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var index_es = require('../_shared/cjs/index.es-
|
|
5
|
+
var index_es = require('../_shared/cjs/index.es-B73RVhhj.cjs');
|
|
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');
|
package/lib/Summary/Summary.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.mjs';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-
|
|
3
|
+
import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-DNGykRl2.mjs';
|
|
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';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var tslib_es6 = require('./tslib.es6-BxB9I209.cjs');
|
|
4
|
+
var React = require('react');
|
|
5
|
+
var index = require('./index-B7Z7sgRq.cjs');
|
|
6
|
+
var filterAttrs = require('./filter-attrs-BizjMsy0.cjs');
|
|
7
|
+
var Text = require('@arc-ui/components/Text');
|
|
8
|
+
var VerticalSpace = require('@arc-ui/components/VerticalSpace');
|
|
9
|
+
var Image = require('@arc-ui/components/Image');
|
|
10
|
+
var Heading = require('@arc-ui/components/Heading');
|
|
11
|
+
var Columns = require('@arc-ui/components/Columns');
|
|
12
|
+
|
|
13
|
+
var styles = {"sectionHeading--hasImage":"SectionHeading-module_sectionHeading--hasImage__qaz6n","sectionHeading--isCentered":"SectionHeading-module_sectionHeading--isCentered__i0fR8","sectionHeading-content":"SectionHeading-module_sectionHeading-content__ufB6w"};
|
|
14
|
+
|
|
15
|
+
var SectionHeading = function (_a) {
|
|
16
|
+
var _b, _c;
|
|
17
|
+
var heading = _a.heading, content = _a.content, id = _a.id, image = _a.image, isHeadingWordWrap = _a.isHeadingWordWrap, _d = _a.isPadded, isPadded = _d === void 0 ? false : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e, _f = _a.isCentered, isCentered = _f === void 0 ? false : _f, props = tslib_es6.__rest(_a, ["heading", "content", "id", "image", "isHeadingWordWrap", "isPadded", "headingLevel", "isCentered"]);
|
|
18
|
+
return (React.createElement(Columns.Columns, null,
|
|
19
|
+
React.createElement(Columns.ColumnsCol, { spanM: isPadded ? 9 : 12 },
|
|
20
|
+
React.createElement("div", tslib_es6.__assign({ className: index.classNames((_b = {},
|
|
21
|
+
_b[styles["sectionHeading--isCentered"]] = isCentered,
|
|
22
|
+
_b)) }, filterAttrs.filterAttrs(props)),
|
|
23
|
+
React.createElement("div", { className: index.classNames((_c = {},
|
|
24
|
+
_c[styles["sectionHeading--hasImage"]] = image,
|
|
25
|
+
_c)) },
|
|
26
|
+
image && React.createElement(Image.Image, tslib_es6.__assign({}, image, { width: 68, fit: "cover" })),
|
|
27
|
+
React.createElement(Heading.Heading, { level: headingLevel, id: id, size: "xl", isWordWrap: isHeadingWordWrap }, heading)),
|
|
28
|
+
content && (React.createElement("div", { className: styles["sectionHeading-content"] },
|
|
29
|
+
React.createElement(VerticalSpace.VerticalSpace, { size: "24" }),
|
|
30
|
+
React.createElement(Text.Text, { size: "l", elementType: "p" }, content))),
|
|
31
|
+
React.createElement(VerticalSpace.VerticalSpace, { size: "40" })))));
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
exports.SectionHeading = SectionHeading;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { _ as __rest, a as __assign } from './tslib.es6-BVXMhEem.mjs';
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { c as classNames } from './index-BSO2EFem.mjs';
|
|
4
|
+
import { f as filterAttrs } from './filter-attrs-DZ7RCEZm.mjs';
|
|
5
|
+
import { Text } from '@arc-ui/components/Text';
|
|
6
|
+
import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
|
|
7
|
+
import { Image } from '@arc-ui/components/Image';
|
|
8
|
+
import { Heading } from '@arc-ui/components/Heading';
|
|
9
|
+
import { Columns, ColumnsCol } from '@arc-ui/components/Columns';
|
|
10
|
+
|
|
11
|
+
var styles = {"sectionHeading--hasImage":"SectionHeading-module_sectionHeading--hasImage__qaz6n","sectionHeading--isCentered":"SectionHeading-module_sectionHeading--isCentered__i0fR8","sectionHeading-content":"SectionHeading-module_sectionHeading-content__ufB6w"};
|
|
12
|
+
|
|
13
|
+
var SectionHeading = function (_a) {
|
|
14
|
+
var _b, _c;
|
|
15
|
+
var heading = _a.heading, content = _a.content, id = _a.id, image = _a.image, isHeadingWordWrap = _a.isHeadingWordWrap, _d = _a.isPadded, isPadded = _d === void 0 ? false : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e, _f = _a.isCentered, isCentered = _f === void 0 ? false : _f, props = __rest(_a, ["heading", "content", "id", "image", "isHeadingWordWrap", "isPadded", "headingLevel", "isCentered"]);
|
|
16
|
+
return (React__default.createElement(Columns, null,
|
|
17
|
+
React__default.createElement(ColumnsCol, { spanM: isPadded ? 9 : 12 },
|
|
18
|
+
React__default.createElement("div", __assign({ className: classNames((_b = {},
|
|
19
|
+
_b[styles["sectionHeading--isCentered"]] = isCentered,
|
|
20
|
+
_b)) }, filterAttrs(props)),
|
|
21
|
+
React__default.createElement("div", { className: classNames((_c = {},
|
|
22
|
+
_c[styles["sectionHeading--hasImage"]] = image,
|
|
23
|
+
_c)) },
|
|
24
|
+
image && React__default.createElement(Image, __assign({}, image, { width: 68, fit: "cover" })),
|
|
25
|
+
React__default.createElement(Heading, { level: headingLevel, id: id, size: "xl", isWordWrap: isHeadingWordWrap }, heading)),
|
|
26
|
+
content && (React__default.createElement("div", { className: styles["sectionHeading-content"] },
|
|
27
|
+
React__default.createElement(VerticalSpace, { size: "24" }),
|
|
28
|
+
React__default.createElement(Text, { size: "l", elementType: "p" }, content))),
|
|
29
|
+
React__default.createElement(VerticalSpace, { size: "40" })))));
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export { SectionHeading as S };
|
package/lib/index.cjs
CHANGED
|
@@ -7,11 +7,11 @@ var VerticalSpace = require('@arc-ui/components/VerticalSpace');
|
|
|
7
7
|
var Image$2 = require('@arc-ui/components/Image');
|
|
8
8
|
var Disclosure = require('@arc-ui/components/Disclosure');
|
|
9
9
|
var Carousel = require('@arc-ui/components/Carousel');
|
|
10
|
+
var Columns = require('@arc-ui/components/Columns');
|
|
10
11
|
var MediaCard = require('@arc-ui/components/MediaCard');
|
|
11
12
|
var useMediaQuery = require('@arc-ui/components/use-media-query');
|
|
12
13
|
var Grid = require('@arc-ui/components/Grid');
|
|
13
14
|
var Avatar = require('@arc-ui/components/Avatar');
|
|
14
|
-
var Columns = require('@arc-ui/components/Columns');
|
|
15
15
|
var Icon = require('@arc-ui/components/Icon');
|
|
16
16
|
var ButtonV2 = require('@arc-ui/components/ButtonV2');
|
|
17
17
|
var Download = require('@arc-ui/components/Download');
|
|
@@ -942,28 +942,30 @@ function requireDebounce () {
|
|
|
942
942
|
var debounceExports = requireDebounce();
|
|
943
943
|
var debounce = /*@__PURE__*/getDefaultExportFromCjs(debounceExports);
|
|
944
944
|
|
|
945
|
-
var styles$r = {"
|
|
945
|
+
var styles$r = {"sectionHeading--hasImage":"SectionHeading-module_sectionHeading--hasImage__qaz6n","sectionHeading--isCentered":"SectionHeading-module_sectionHeading--isCentered__i0fR8","sectionHeading-content":"SectionHeading-module_sectionHeading-content__ufB6w"};
|
|
946
946
|
|
|
947
947
|
var SectionHeading = function (_a) {
|
|
948
948
|
var _b, _c;
|
|
949
949
|
var heading = _a.heading, content = _a.content, id = _a.id, image = _a.image, isHeadingWordWrap = _a.isHeadingWordWrap, _d = _a.isPadded, isPadded = _d === void 0 ? false : _d, _e = _a.headingLevel, headingLevel = _e === void 0 ? "2" : _e, _f = _a.isCentered, isCentered = _f === void 0 ? false : _f, props = __rest(_a, ["heading", "content", "id", "image", "isHeadingWordWrap", "isPadded", "headingLevel", "isCentered"]);
|
|
950
|
-
return (React.createElement(
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
950
|
+
return (React.createElement(Columns.Columns, null,
|
|
951
|
+
React.createElement(Columns.ColumnsCol, { spanM: isPadded ? 9 : 12 },
|
|
952
|
+
React.createElement("div", __assign({ className: classNames((_b = {},
|
|
953
|
+
_b[styles$r["sectionHeading--isCentered"]] = isCentered,
|
|
954
|
+
_b)) }, filterAttrs(props)),
|
|
955
|
+
React.createElement("div", { className: classNames((_c = {},
|
|
956
|
+
_c[styles$r["sectionHeading--hasImage"]] = image,
|
|
957
|
+
_c)) },
|
|
958
|
+
image && React.createElement(Image$2.Image, __assign({}, image, { width: 68, fit: "cover" })),
|
|
959
|
+
React.createElement(Heading.Heading, { level: headingLevel, id: id, size: "xl", isWordWrap: isHeadingWordWrap }, heading)),
|
|
960
|
+
content && (React.createElement("div", { className: styles$r["sectionHeading-content"] },
|
|
961
|
+
React.createElement(VerticalSpace.VerticalSpace, { size: "24" }),
|
|
962
|
+
React.createElement(Text.Text, { size: "l", elementType: "p" }, content))),
|
|
963
|
+
React.createElement(VerticalSpace.VerticalSpace, { size: "40" })))));
|
|
962
964
|
};
|
|
963
965
|
|
|
964
966
|
/**
|
|
965
967
|
* Do not edit directly
|
|
966
|
-
* Generated on
|
|
968
|
+
* Generated on Thu, 21 May 2026 15:46:02 GMT
|
|
967
969
|
*/
|
|
968
970
|
var ArcSizeBreakpointsXs = "320px";
|
|
969
971
|
var ArcSizeBreakpointsS = "636px";
|
|
@@ -1176,17 +1178,19 @@ var CopyLead = function (_a) {
|
|
|
1176
1178
|
return null;
|
|
1177
1179
|
};
|
|
1178
1180
|
|
|
1179
|
-
var styles$n = {"
|
|
1181
|
+
var styles$n = {"downloadList-below":"DownloadList-module_downloadList-below__21q6i","downloadList-right":"DownloadList-module_downloadList-right__mHYHL"};
|
|
1180
1182
|
|
|
1181
1183
|
var DownloadList = function (_a) {
|
|
1182
|
-
var heading = _a.heading, id = _a.id, _b = _a.headingLevel, headingLevel = _b === void 0 ? "2" : _b, isHeadingWordWrap = _a.isHeadingWordWrap, content = _a.content, downloads = _a.downloads, props = __rest(_a, ["heading", "id", "headingLevel", "isHeadingWordWrap", "content", "downloads"]);
|
|
1184
|
+
var heading = _a.heading, id = _a.id, _b = _a.headingLevel, headingLevel = _b === void 0 ? "2" : _b, isHeadingWordWrap = _a.isHeadingWordWrap, content = _a.content, downloads = _a.downloads, _c = _a.alignment, alignment = _c === void 0 ? "below" : _c, props = __rest(_a, ["heading", "id", "headingLevel", "isHeadingWordWrap", "content", "downloads", "alignment"]);
|
|
1183
1185
|
return (React.createElement("div", __assign({}, filterAttrs(props)),
|
|
1184
|
-
React.createElement(
|
|
1185
|
-
React.createElement(
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
React.createElement(
|
|
1189
|
-
|
|
1186
|
+
React.createElement(Columns.Columns, null,
|
|
1187
|
+
React.createElement(Columns.ColumnsCol, { spanL: alignment === "right" ? 6 : 9, spanM: 9, span: 12 },
|
|
1188
|
+
" ",
|
|
1189
|
+
React.createElement(SectionHeading, { id: id, heading: heading, isHeadingWordWrap: isHeadingWordWrap, headingLevel: headingLevel, content: content })),
|
|
1190
|
+
React.createElement(Columns.ColumnsCol, { spanL: alignment === "right" ? 6 : 8, spanM: 9, spanS: 12 },
|
|
1191
|
+
React.createElement("div", { className: styles$n["downloadList-".concat(alignment)] }, downloads.map(function (downloadProps, i) { return (React.createElement(React.Fragment, { key: "download-".concat(i, "-").concat(downloadProps.name) },
|
|
1192
|
+
React.createElement(Download.Download, __assign({}, downloadProps)),
|
|
1193
|
+
i !== downloads.length - 1 && React.createElement(VerticalSpace.VerticalSpace, { size: "16" }))); }))))));
|
|
1190
1194
|
};
|
|
1191
1195
|
|
|
1192
1196
|
var styles$m = {"FAQs":"FAQs-module_FAQs__FtQr4","linkListSection":"FAQs-module_linkListSection__RdQkU","linkListTitle":"FAQs-module_linkListTitle__RVni3","linkList":"FAQs-module_linkList__dPyXj","linkListItem":"FAQs-module_linkListItem__S83CL","linkList--padded":"FAQs-module_linkList--padded__8Paxc"};
|
|
@@ -3557,7 +3561,7 @@ var Highlights = function (_a) {
|
|
|
3557
3561
|
: undefined, iconPosition: (_d = cta.iconPosition) !== null && _d !== void 0 ? _d : "beforeText" })))));
|
|
3558
3562
|
};
|
|
3559
3563
|
|
|
3560
|
-
var styles$j = {"PromoListing":"PromoListing-module_PromoListing__6ensv","carouselSlide":"PromoListing-module_carouselSlide__AMTPF","cardGrid":"PromoListing-module_cardGrid__llf73","cardWrapper":"PromoListing-module_cardWrapper__I4iwh","cardWrapperCarousel":"PromoListing-module_cardWrapperCarousel__t-2qM","columns-3":"PromoListing-module_columns-3__y6jWS","columns-2":"PromoListing-module_columns-2__GRFxb"};
|
|
3564
|
+
var styles$j = {"PromoListing":"PromoListing-module_PromoListing__6ensv","CarouselWrapper":"PromoListing-module_CarouselWrapper__iYwWp","carouselSlide":"PromoListing-module_carouselSlide__AMTPF","cardGrid":"PromoListing-module_cardGrid__llf73","cardWrapper":"PromoListing-module_cardWrapper__I4iwh","cardWrapperCarousel":"PromoListing-module_cardWrapperCarousel__t-2qM","columns-3":"PromoListing-module_columns-3__y6jWS","columns-2":"PromoListing-module_columns-2__GRFxb"};
|
|
3561
3565
|
|
|
3562
3566
|
/**
|
|
3563
3567
|
* Do not edit directly
|
|
@@ -3683,7 +3687,7 @@ var PromoListing = function (_a) {
|
|
|
3683
3687
|
button.label && (React.createElement(React.Fragment, null,
|
|
3684
3688
|
React.createElement(ButtonV2.ButtonV2, __assign({}, button, { icon: button.buttonStyle == "compact" ? BtIconArrowRightFill : undefined, size: "m" })),
|
|
3685
3689
|
React.createElement(VerticalSpace.VerticalSpace, { size: "40" }))),
|
|
3686
|
-
isCarousel && !isMinWidthArcBreakpointL ? (React.createElement("div", { className: styles$j.
|
|
3690
|
+
isCarousel && !isMinWidthArcBreakpointL ? (React.createElement("div", { className: styles$j.CarouselWrapper },
|
|
3687
3691
|
React.createElement(Carousel.Carousel, { overflow: "visible", itemsPerSlide: 1, behavior: "adaptive", withGutter: false }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, i) { return (React.createElement("div", { key: "promolist-carousel-card-".concat(componentId, "-").concat(i), className: (styles$j.cardWrapperCarousel) }, getCard(card))); })))) : (React.createElement("ul", { className: classNames(styles$j.cardGrid, styles$j["columns-".concat(columns)]) }, cards === null || cards === void 0 ? void 0 : cards.map(function (card, index) { return (React.createElement("li", { key: "promolist-card--".concat(componentId, "-").concat(index) },
|
|
3688
3692
|
React.createElement("div", { "data-testid": "promoList-card".concat(index), className: styles$j.cardWrapper }, getCard(card)))); })))));
|
|
3689
3693
|
};
|
|
@@ -4193,7 +4197,8 @@ var BusinessSegmentSwitcher = function (_a) {
|
|
|
4193
4197
|
React.createElement("div", { className: styles$2.cardCol },
|
|
4194
4198
|
content.card3 && React.createElement(InformationCard.InformationCard, __assign({}, content.card3)),
|
|
4195
4199
|
React.createElement("div", null,
|
|
4196
|
-
React.createElement(TypographyCard.TypographyCard, { heading:
|
|
4200
|
+
React.createElement(TypographyCard.TypographyCard, { heading: content.card4.heading ||
|
|
4201
|
+
"All ".concat(label.toLowerCase(), " solutions"), text: content.card4.text, label: content.card4.label, url: content.card4.url, onClick: content.card4.onClick }))))));
|
|
4197
4202
|
}))),
|
|
4198
4203
|
React.createElement("div", { className: styles$2.businessSegmentSwitcherMobile },
|
|
4199
4204
|
React.createElement(ContentSwitcherDropdown.ContentSwitcherDropdown, { isInset: true, value: selectedTab, tabs: tabs, isFluid: true, onValueChange: function (value) { return setSelectedTab(value); } }, tabs.map(function (_a, index) {
|