@arc-ui/community-components 3.8.0 → 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 +12 -12
- package/CHANGELOG.md +22 -0
- package/lib/ActionTile/ActionTile.cjs +2 -2
- package/lib/ActionTile/ActionTile.mjs +2 -2
- 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/InlineLinkGroup/InlineLinkGroup.cjs +2 -2
- package/lib/InlineLinkGroup/InlineLinkGroup.mjs +2 -2
- package/lib/ProductNavigation/ProductNavigation.cjs +7 -4
- package/lib/ProductNavigation/ProductNavigation.mjs +7 -4
- 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 +4 -2
- package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.mjs +4 -2
- 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/ThumbnailSignpost/ThumbnailSignpost.cjs +2 -1
- package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +2 -1
- package/lib/ThumbnailSignpost/styles.css +1 -1
- package/lib/_shared/cjs/SectionHeading-XCMdv8eZ.cjs +34 -0
- package/lib/_shared/cjs/{ThumbnailSignpost-ja1yxriK.cjs → ThumbnailSignpost-DymZmLlB.cjs} +6 -2
- package/lib/_shared/cjs/{index.es-Dg_lyAyh.cjs → index.es-B73RVhhj.cjs} +1 -1
- package/lib/_shared/esm/SectionHeading-lyXLUtdr.mjs +32 -0
- package/lib/_shared/esm/{ThumbnailSignpost-Cc21FjUJ.mjs → ThumbnailSignpost-D6uye3mm.mjs} +7 -3
- package/lib/_shared/esm/{index.es-DtCgfyRV.mjs → index.es-DNGykRl2.mjs} +1 -1
- package/lib/index.cjs +45 -35
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +16 -4
- package/lib/index.d.mts +16 -4
- package/lib/index.mjs +46 -36
- package/lib/index.mjs.map +1 -1
- package/lib/styles.css +1 -1
- package/package.json +15 -15
- package/src/components/ActionTile/ActionTile.tsx +9 -3
- 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/InlineLinkGroup/InlineLinkGroup.tsx +4 -1
- package/src/components/PartnerBrandLogos/components/PartnerLogoSubgroup/PartnerLogoSubgroup.tsx +2 -4
- package/src/components/ProductNavigation/ProductNavigation.tsx +6 -5
- 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/src/components/ThumbnailSignpost/ThumbnailSignpost.module.css +31 -1
- package/src/components/ThumbnailSignpost/ThumbnailSignpost.tsx +7 -2
- package/versions.json +1 -1
- package/lib/_shared/cjs/SectionHeading-DtYzFetD.cjs +0 -31
- package/lib/_shared/esm/SectionHeading-RLfs7ete.mjs +0 -29
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
|
|
2
|
-
> @arc-ui/community-components@3.
|
|
2
|
+
> @arc-ui/community-components@3.9.0 build /builds/enterprise/frontend/arc-community/packages/components
|
|
3
3
|
> rimraf lib dist && rollup -c && generate-subpath-css && pnpm run build:clean
|
|
4
4
|
|
|
5
|
-
Browserslist: browsers data (caniuse-lite) is
|
|
5
|
+
Browserslist: browsers data (caniuse-lite) is 9 months old. Please run:
|
|
6
6
|
npx update-browserslist-db@latest
|
|
7
7
|
Why you should do it regularly: https://github.com/browserslist/update-db#readme
|
|
8
8
|
[36m
|
|
9
9
|
[1msrc/index.ts[22m → [1mlib/index.cjs, lib/index.mjs[22m...[39m
|
|
10
|
-
[32mcreated [1mlib/index.cjs, lib/index.mjs[22m in [
|
|
10
|
+
[32mcreated [1mlib/index.cjs, lib/index.mjs[22m in [1m5.1s[22m[39m
|
|
11
11
|
[36m
|
|
12
12
|
[1m./lib/types/index.d.ts[22m → [1mlib/index.d.mts, lib/index.d.cts[22m...[39m
|
|
13
13
|
[1m[33m(!) Unresolved dependencies[39m[22m
|
|
14
14
|
[90mhttps://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency[39m
|
|
15
|
-
[1m@arc-ui/components/Heading[22m (imported by "lib/types/components/CopyLead/CopyLead.d.ts", "lib/types/components/FeaturePost/FeaturePost.d.ts", "lib/types/components/PromoListing/PromoListing.d.ts", "lib/types/components/Summary/Summary.d.ts", "lib/types/components/BannerWithTabs/BannerWithTabs.d.ts", "lib/types/components/SectionHeading/SectionHeading.d.ts", "lib/types/components/PartnerBrandLogos/PartnerBrandLogos.d.ts", "lib/types/components/Accordion/components/AccordionHeading/AccordionHeading.d.ts", "lib/types/components/ArticleSidebar/types/link-section.d.ts", "lib/types/components/ArticleSidebar/types/share.d.ts", "lib/types/components/ArticleSidebar/types/text-section.d.ts", "lib/types/components/ArticleSidebar/types/topic.d.ts" and "lib/types/components/PartnerBrandLogos/components/PartnerLogoSubgroup/PartnerLogoSubgroup.d.ts")
|
|
16
|
-
[1m@arc-ui/components/VideoPlayer[22m (imported by "lib/types/components/CopyLead/CopyLead.d.ts" and "lib/types/components/FeaturePost/FeaturePost.d.ts")
|
|
17
15
|
[1m@arc-ui/components/MediaCard[22m (imported by "lib/types/components/ArticleCarousel/ArticleCarousel.d.ts", "lib/types/components/PromoListing/PromoListing.d.ts" and "lib/types/components/BusinessSegmentSwitcher/types/types.d.ts")
|
|
16
|
+
[1m@arc-ui/components/Heading[22m (imported by "lib/types/components/CopyLead/CopyLead.d.ts", "lib/types/components/FeaturePost/FeaturePost.d.ts", "lib/types/components/PromoListing/PromoListing.d.ts", "lib/types/components/Summary/Summary.d.ts", "lib/types/components/BannerWithTabs/BannerWithTabs.d.ts", "lib/types/components/SectionHeading/SectionHeading.d.ts", "lib/types/components/PartnerBrandLogos/PartnerBrandLogos.d.ts", "lib/types/components/Accordion/components/AccordionHeading/AccordionHeading.d.ts", "lib/types/components/ArticleSidebar/types/text-section.d.ts", "lib/types/components/ArticleSidebar/types/link-section.d.ts", "lib/types/components/ArticleSidebar/types/topic.d.ts", "lib/types/components/ArticleSidebar/types/share.d.ts" and "lib/types/components/PartnerBrandLogos/components/PartnerLogoSubgroup/PartnerLogoSubgroup.d.ts")
|
|
17
|
+
[1m@arc-ui/components/VideoPlayer[22m (imported by "lib/types/components/CopyLead/CopyLead.d.ts" and "lib/types/components/FeaturePost/FeaturePost.d.ts")
|
|
18
|
+
[1m@arc-ui/components/Download[22m (imported by "lib/types/components/DownloadList/DownloadList.d.ts")
|
|
18
19
|
[1m@arc-ui/components/Avatar[22m (imported by "lib/types/components/Author/Author.d.ts")
|
|
20
|
+
[1m@arc-ui/components/ButtonV2[22m (imported by "lib/types/components/Highlights/Highlights.d.ts" and "lib/types/components/PromoListing/PromoListing.d.ts")
|
|
19
21
|
[1m@arc-ui/components/ImpactCard[22m (imported by "lib/types/components/PromoListing/PromoListing.d.ts")
|
|
20
22
|
[1m@arc-ui/components/InformationCard[22m (imported by "lib/types/components/PromoListing/PromoListing.d.ts", "lib/types/components/BusinessSegmentSwitcher/types/types.d.ts" and "lib/types/components/ProductNavigation/types/product-list.d.ts")
|
|
21
23
|
[1m@arc-ui/components/TypographyCard[22m (imported by "lib/types/components/PromoListing/PromoListing.d.ts" and "lib/types/components/BusinessSegmentSwitcher/types/types.d.ts")
|
|
22
|
-
[1m@arc-ui/components/ButtonV2[22m (imported by "lib/types/components/PromoListing/PromoListing.d.ts" and "lib/types/components/Highlights/Highlights.d.ts")
|
|
23
|
-
[1m@arc-ui/components/Download[22m (imported by "lib/types/components/DownloadList/DownloadList.d.ts")
|
|
24
24
|
[1m@arc-ui/components/TemplateBanner[22m (imported by "lib/types/components/BannerWithTabs/BannerWithTabs.d.ts")
|
|
25
25
|
[1m@arc-ui/components/Image[22m (imported by "lib/types/components/SectionHeading/SectionHeading.d.ts", "lib/types/components/ThumbnailSignpost/ThumbnailSignpost.d.ts", "lib/types/components/Accordion/components/AccordionHeading/AccordionHeading.d.ts", "lib/types/components/CopyLead/types/copy-lead-image.d.ts" and "lib/types/components/FeaturePost/types/feature-post-image.d.ts")
|
|
26
26
|
[1m@arc-ui/components/VerticalSpace[22m (imported by "lib/types/components/PartnerBrandLogos/PartnerBrandLogos.d.ts")
|
|
@@ -30,17 +30,17 @@ Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
|
|
|
30
30
|
[1m@arc-ui/components/AppButton[22m (imported by "lib/types/components/FeaturePost/types/feature-post-app-button-footer.d.ts")
|
|
31
31
|
[1mreact-player/types[22m (imported by "lib/types/internal/VideoCardPlayer/VideoCardPlayer.d.ts" and "lib/types/internal/VideoCardPlayer/types/player-props.d.ts")
|
|
32
32
|
[1m@arc-ui/components/Visible[22m (imported by "lib/types/internal/VideoCardPlayer/components/VideoCardThumbnail/VideoCardThumbnail.d.ts")
|
|
33
|
-
[32mcreated [1mlib/index.d.mts, lib/index.d.cts[22m in [
|
|
33
|
+
[32mcreated [1mlib/index.d.mts, lib/index.d.cts[22m in [1m130ms[22m[39m
|
|
34
34
|
[36m
|
|
35
35
|
[1m./src/components/Accordion/index.ts, ./src/components/ActionTile/index.ts, ./src/components/ArticleCarousel/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/index.ts, ./src/components/BusinessSegmentSwitcher/index.ts, ./src/components/ContentInfoWidget/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FAQs/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/InlineLinkGroup/index.ts, ./src/components/LinkTile/index.ts, ./src/components/PartnerBrandLogos/index.ts, ./src/components/ProductNavigation/index.ts, ./src/components/PromoListing/index.ts, ./src/components/PromoListingThumbnailSignpost/index.ts, ./src/components/Quote/index.ts, ./src/components/SectionHeading/index.ts, ./src/components/Statistics/index.ts, ./src/components/Summary/index.ts, ./src/components/ThumbnailSignpost/index.ts, ./src/components/VideoHeroCard/index.ts, ./src/components/VideoPortraitCard/index.ts[22m → [1mlib[22m...[39m
|
|
36
|
-
[32mcreated [1mlib[22m in [
|
|
36
|
+
[32mcreated [1mlib[22m in [1m5.9s[22m[39m
|
|
37
37
|
[36m
|
|
38
38
|
[1m./src/components/Accordion/index.ts, ./src/components/ActionTile/index.ts, ./src/components/ArticleCarousel/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/index.ts, ./src/components/BusinessSegmentSwitcher/index.ts, ./src/components/ContentInfoWidget/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FAQs/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/InlineLinkGroup/index.ts, ./src/components/LinkTile/index.ts, ./src/components/PartnerBrandLogos/index.ts, ./src/components/ProductNavigation/index.ts, ./src/components/PromoListing/index.ts, ./src/components/PromoListingThumbnailSignpost/index.ts, ./src/components/Quote/index.ts, ./src/components/SectionHeading/index.ts, ./src/components/Statistics/index.ts, ./src/components/Summary/index.ts, ./src/components/ThumbnailSignpost/index.ts, ./src/components/VideoHeroCard/index.ts, ./src/components/VideoPortraitCard/index.ts[22m → [1mlib[22m...[39m
|
|
39
|
-
[32mcreated [1mlib[22m in [
|
|
40
|
-
Browserslist: browsers data (caniuse-lite) is
|
|
39
|
+
[32mcreated [1mlib[22m in [1m5.1s[22m[39m
|
|
40
|
+
Browserslist: browsers data (caniuse-lite) is 9 months old. Please run:
|
|
41
41
|
npx update-browserslist-db@latest
|
|
42
42
|
Why you should do it regularly: https://github.com/browserslist/update-db#readme
|
|
43
43
|
|
|
44
|
-
> @arc-ui/community-components@3.
|
|
44
|
+
> @arc-ui/community-components@3.9.0 build:clean /builds/enterprise/frontend/arc-community/packages/components
|
|
45
45
|
> rimraf ./lib/types ./lib/styles.js ./lib/index.js ./lib/index.js.map
|
|
46
46
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @arc-ui/community-components
|
|
2
2
|
|
|
3
|
+
## 3.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 151e415: feat: added optional heading property to card4 in business segment switcher
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 239daa1: fix: fixed promo listing overflowing in carousel mode
|
|
12
|
+
- bf9dfcb: Update arc packages to 13.10.0, Update download list to use new version, refactor SectionHeading to use Columns for isPadded logic
|
|
13
|
+
|
|
14
|
+
## 3.8.1
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- b85f7b6: Hide a11y "move to first new button" button when hideButton is true also hide before first "show more" click
|
|
19
|
+
- e1f83bf: added outline color in darkpathway
|
|
20
|
+
- 55b4c25: fixed accessibility issue
|
|
21
|
+
- 9e5d967: Fix spacing in ThumbnailSignpost
|
|
22
|
+
- e1f83bf: fix: improve ThumbnailSignpost button visibility on dark surfaces
|
|
23
|
+
- a583147: chore: updated arc version
|
|
24
|
+
|
|
3
25
|
## 3.8.0
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
|
@@ -27,10 +27,10 @@ var ActionTile = function (_a) {
|
|
|
27
27
|
React.createElement("div", { className: styles["action-tile-content"] },
|
|
28
28
|
displayIcon && (React.createElement("div", { className: styles["action-tile-icon"] },
|
|
29
29
|
React.createElement(Icon.Icon, { icon: displayIcon, size: 48 }))),
|
|
30
|
-
React.createElement("
|
|
30
|
+
React.createElement("span", { className: styles["action-tile-heading"] }, heading)),
|
|
31
31
|
isActive && (React.createElement("div", { className: styles["action-tile-tick"] },
|
|
32
32
|
React.createElement(Icon.Icon, { icon: BtIconTickAlt2Px, size: 28 })))));
|
|
33
|
-
return (React.createElement("
|
|
33
|
+
return (React.createElement("button", tslib_es6.__assign({ type: "button", className: tileClasses, onClick: onClick, "aria-pressed": isActive }, filterAttrs.filterAttrs(props)), content));
|
|
34
34
|
};
|
|
35
35
|
|
|
36
36
|
exports.ActionTile = ActionTile;
|
|
@@ -25,10 +25,10 @@ var ActionTile = function (_a) {
|
|
|
25
25
|
React__default.createElement("div", { className: styles["action-tile-content"] },
|
|
26
26
|
displayIcon && (React__default.createElement("div", { className: styles["action-tile-icon"] },
|
|
27
27
|
React__default.createElement(Icon, { icon: displayIcon, size: 48 }))),
|
|
28
|
-
React__default.createElement("
|
|
28
|
+
React__default.createElement("span", { className: styles["action-tile-heading"] }, heading)),
|
|
29
29
|
isActive && (React__default.createElement("div", { className: styles["action-tile-tick"] },
|
|
30
30
|
React__default.createElement(Icon, { icon: BtIconTickAlt2Px, size: 28 })))));
|
|
31
|
-
return (React__default.createElement("
|
|
31
|
+
return (React__default.createElement("button", __assign({ type: "button", className: tileClasses, onClick: onClick, "aria-pressed": isActive }, filterAttrs(props)), content));
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
export { ActionTile };
|
|
@@ -4,15 +4,16 @@ var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var index = require('../_shared/cjs/index-B7Z7sgRq.cjs');
|
|
6
6
|
var Carousel = require('@arc-ui/components/Carousel');
|
|
7
|
-
var SectionHeading = require('../_shared/cjs/SectionHeading-
|
|
7
|
+
var SectionHeading = require('../_shared/cjs/SectionHeading-XCMdv8eZ.cjs');
|
|
8
8
|
var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
9
|
-
var index_es = require('../_shared/cjs/index.es-
|
|
9
|
+
var index_es = require('../_shared/cjs/index.es-B73RVhhj.cjs');
|
|
10
10
|
var MediaCard = require('@arc-ui/components/MediaCard');
|
|
11
11
|
var useMediaQuery = require('@arc-ui/components/use-media-query');
|
|
12
12
|
require('@arc-ui/components/Text');
|
|
13
13
|
require('@arc-ui/components/VerticalSpace');
|
|
14
14
|
require('@arc-ui/components/Image');
|
|
15
15
|
require('@arc-ui/components/Heading');
|
|
16
|
+
require('@arc-ui/components/Columns');
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
* Checks if `value` is the
|
|
@@ -2,15 +2,16 @@ import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.mj
|
|
|
2
2
|
import React__default, { useId, useState, useEffect } from 'react';
|
|
3
3
|
import { a as commonjsGlobal, g as getDefaultExportFromCjs, c as classNames } from '../_shared/esm/index-BSO2EFem.mjs';
|
|
4
4
|
import { Carousel } from '@arc-ui/components/Carousel';
|
|
5
|
-
import { S as SectionHeading } from '../_shared/esm/SectionHeading-
|
|
5
|
+
import { S as SectionHeading } from '../_shared/esm/SectionHeading-lyXLUtdr.mjs';
|
|
6
6
|
import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
7
|
-
import { d as ArcSizeBreakpointsXs, A as ArcSizeBreakpointsS, b as ArcSizeBreakpointsM, a as ArcSizeBreakpointsL, c as ArcSizeBreakpointsXl, e as ArcSizeBreakpointsXxl } from '../_shared/esm/index.es-
|
|
7
|
+
import { d as ArcSizeBreakpointsXs, A as ArcSizeBreakpointsS, b as ArcSizeBreakpointsM, a as ArcSizeBreakpointsL, c as ArcSizeBreakpointsXl, e as ArcSizeBreakpointsXxl } from '../_shared/esm/index.es-DNGykRl2.mjs';
|
|
8
8
|
import { MediaCard } from '@arc-ui/components/MediaCard';
|
|
9
9
|
import { useMediaQuery } from '@arc-ui/components/use-media-query';
|
|
10
10
|
import '@arc-ui/components/Text';
|
|
11
11
|
import '@arc-ui/components/VerticalSpace';
|
|
12
12
|
import '@arc-ui/components/Image';
|
|
13
13
|
import '@arc-ui/components/Heading';
|
|
14
|
+
import '@arc-ui/components/Columns';
|
|
14
15
|
|
|
15
16
|
/**
|
|
16
17
|
* Checks if `value` is the
|
|
@@ -4,12 +4,13 @@ var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var index = require('../_shared/cjs/index-B7Z7sgRq.cjs');
|
|
6
6
|
var TabbedBanner = require('@arc-ui/components/TabbedBanner');
|
|
7
|
-
var SectionHeading = require('../_shared/cjs/SectionHeading-
|
|
7
|
+
var SectionHeading = require('../_shared/cjs/SectionHeading-XCMdv8eZ.cjs');
|
|
8
8
|
var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
9
9
|
require('@arc-ui/components/Text');
|
|
10
10
|
require('@arc-ui/components/VerticalSpace');
|
|
11
11
|
require('@arc-ui/components/Image');
|
|
12
12
|
require('@arc-ui/components/Heading');
|
|
13
|
+
require('@arc-ui/components/Columns');
|
|
13
14
|
|
|
14
15
|
var styles = {"bannerWithTabsHeadingCentered":"BannerWithTabs-module_bannerWithTabsHeadingCentered__upqEO"};
|
|
15
16
|
|
|
@@ -2,12 +2,13 @@ import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.mj
|
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { c as classNames } from '../_shared/esm/index-BSO2EFem.mjs';
|
|
4
4
|
import { TabbedBanner } from '@arc-ui/components/TabbedBanner';
|
|
5
|
-
import { S as SectionHeading } from '../_shared/esm/SectionHeading-
|
|
5
|
+
import { S as SectionHeading } from '../_shared/esm/SectionHeading-lyXLUtdr.mjs';
|
|
6
6
|
import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
7
7
|
import '@arc-ui/components/Text';
|
|
8
8
|
import '@arc-ui/components/VerticalSpace';
|
|
9
9
|
import '@arc-ui/components/Image';
|
|
10
10
|
import '@arc-ui/components/Heading';
|
|
11
|
+
import '@arc-ui/components/Columns';
|
|
11
12
|
|
|
12
13
|
var styles = {"bannerWithTabsHeadingCentered":"BannerWithTabs-module_bannerWithTabsHeadingCentered__upqEO"};
|
|
13
14
|
|
|
@@ -68,7 +68,8 @@ var BusinessSegmentSwitcher = function (_a) {
|
|
|
68
68
|
React.createElement("div", { className: styles.cardCol },
|
|
69
69
|
content.card3 && React.createElement(InformationCard.InformationCard, tslib_es6.__assign({}, content.card3)),
|
|
70
70
|
React.createElement("div", null,
|
|
71
|
-
React.createElement(TypographyCard.TypographyCard, { heading:
|
|
71
|
+
React.createElement(TypographyCard.TypographyCard, { heading: content.card4.heading ||
|
|
72
|
+
"All ".concat(label.toLowerCase(), " solutions"), text: content.card4.text, label: content.card4.label, url: content.card4.url, onClick: content.card4.onClick }))))));
|
|
72
73
|
}))),
|
|
73
74
|
React.createElement("div", { className: styles.businessSegmentSwitcherMobile },
|
|
74
75
|
React.createElement(ContentSwitcherDropdown.ContentSwitcherDropdown, { isInset: true, value: selectedTab, tabs: tabs, isFluid: true, onValueChange: function (value) { return setSelectedTab(value); } }, tabs.map(function (_a, index) {
|
|
@@ -66,7 +66,8 @@ var BusinessSegmentSwitcher = function (_a) {
|
|
|
66
66
|
React__default.createElement("div", { className: styles.cardCol },
|
|
67
67
|
content.card3 && React__default.createElement(InformationCard, __assign({}, content.card3)),
|
|
68
68
|
React__default.createElement("div", null,
|
|
69
|
-
React__default.createElement(TypographyCard, { heading:
|
|
69
|
+
React__default.createElement(TypographyCard, { heading: content.card4.heading ||
|
|
70
|
+
"All ".concat(label.toLowerCase(), " solutions"), text: content.card4.text, label: content.card4.label, url: content.card4.url, onClick: content.card4.onClick }))))));
|
|
70
71
|
}))),
|
|
71
72
|
React__default.createElement("div", { className: styles.businessSegmentSwitcherMobile },
|
|
72
73
|
React__default.createElement(ContentSwitcherDropdown, { isInset: true, value: selectedTab, tabs: tabs, isFluid: true, onValueChange: function (value) { return setSelectedTab(value); } }, tabs.map(function (_a, index) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
6
|
-
var index_es = require('../_shared/cjs/index.es-
|
|
6
|
+
var index_es = require('../_shared/cjs/index.es-B73RVhhj.cjs');
|
|
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');
|
|
@@ -13,7 +13,7 @@ var Image$1 = require('@arc-ui/components/Image');
|
|
|
13
13
|
var Icon = require('@arc-ui/components/Icon');
|
|
14
14
|
var index = require('../_shared/cjs/index-B7Z7sgRq.cjs');
|
|
15
15
|
var ButtonV2 = require('@arc-ui/components/ButtonV2');
|
|
16
|
-
var SectionHeading = require('../_shared/cjs/SectionHeading-
|
|
16
|
+
var SectionHeading = require('../_shared/cjs/SectionHeading-XCMdv8eZ.cjs');
|
|
17
17
|
|
|
18
18
|
var MultiLineText = function (_a) {
|
|
19
19
|
var text = _a.text, textProps = tslib_es6.__rest(_a, ["text"]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.mjs';
|
|
2
2
|
import React__default, { useState, useEffect, Suspense } from 'react';
|
|
3
3
|
import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
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-DNGykRl2.mjs';
|
|
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';
|
|
@@ -11,7 +11,7 @@ import { Image as Image$1 } from '@arc-ui/components/Image';
|
|
|
11
11
|
import { Icon } from '@arc-ui/components/Icon';
|
|
12
12
|
import { c as classNames } from '../_shared/esm/index-BSO2EFem.mjs';
|
|
13
13
|
import { ButtonV2 } from '@arc-ui/components/ButtonV2';
|
|
14
|
-
import { S as SectionHeading } from '../_shared/esm/SectionHeading-
|
|
14
|
+
import { S as SectionHeading } from '../_shared/esm/SectionHeading-lyXLUtdr.mjs';
|
|
15
15
|
|
|
16
16
|
var MultiLineText = function (_a) {
|
|
17
17
|
var text = _a.text, textProps = __rest(_a, ["text"]);
|
|
@@ -3,25 +3,28 @@
|
|
|
3
3
|
var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var VerticalSpace = require('@arc-ui/components/VerticalSpace');
|
|
6
|
-
var SectionHeading = require('../_shared/cjs/SectionHeading-
|
|
6
|
+
var SectionHeading = require('../_shared/cjs/SectionHeading-XCMdv8eZ.cjs');
|
|
7
7
|
var Download = require('@arc-ui/components/Download');
|
|
8
|
+
var Columns = require('@arc-ui/components/Columns');
|
|
8
9
|
var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
9
10
|
require('../_shared/cjs/index-B7Z7sgRq.cjs');
|
|
10
11
|
require('@arc-ui/components/Text');
|
|
11
12
|
require('@arc-ui/components/Image');
|
|
12
13
|
require('@arc-ui/components/Heading');
|
|
13
14
|
|
|
14
|
-
var styles = {"
|
|
15
|
+
var styles = {"downloadList-below":"DownloadList-module_downloadList-below__21q6i","downloadList-right":"DownloadList-module_downloadList-right__mHYHL"};
|
|
15
16
|
|
|
16
17
|
var DownloadList = function (_a) {
|
|
17
|
-
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 = tslib_es6.__rest(_a, ["heading", "id", "headingLevel", "isHeadingWordWrap", "content", "downloads"]);
|
|
18
|
+
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 = tslib_es6.__rest(_a, ["heading", "id", "headingLevel", "isHeadingWordWrap", "content", "downloads", "alignment"]);
|
|
18
19
|
return (React.createElement("div", tslib_es6.__assign({}, filterAttrs.filterAttrs(props)),
|
|
19
|
-
React.createElement(
|
|
20
|
-
React.createElement(
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
React.createElement(
|
|
24
|
-
|
|
20
|
+
React.createElement(Columns.Columns, null,
|
|
21
|
+
React.createElement(Columns.ColumnsCol, { spanL: alignment === "right" ? 6 : 9, spanM: 9, span: 12 },
|
|
22
|
+
" ",
|
|
23
|
+
React.createElement(SectionHeading.SectionHeading, { id: id, heading: heading, isHeadingWordWrap: isHeadingWordWrap, headingLevel: headingLevel, content: content })),
|
|
24
|
+
React.createElement(Columns.ColumnsCol, { spanL: alignment === "right" ? 6 : 8, spanM: 9, spanS: 12 },
|
|
25
|
+
React.createElement("div", { className: styles["downloadList-".concat(alignment)] }, downloads.map(function (downloadProps, i) { return (React.createElement(React.Fragment, { key: "download-".concat(i, "-").concat(downloadProps.name) },
|
|
26
|
+
React.createElement(Download.Download, tslib_es6.__assign({}, downloadProps)),
|
|
27
|
+
i !== downloads.length - 1 && React.createElement(VerticalSpace.VerticalSpace, { size: "16" }))); }))))));
|
|
25
28
|
};
|
|
26
29
|
|
|
27
30
|
exports.DownloadList = DownloadList;
|
|
@@ -1,25 +1,28 @@
|
|
|
1
1
|
import { _ as __rest, a as __assign } from '../_shared/esm/tslib.es6-BVXMhEem.mjs';
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
|
|
4
|
-
import { S as SectionHeading } from '../_shared/esm/SectionHeading-
|
|
4
|
+
import { S as SectionHeading } from '../_shared/esm/SectionHeading-lyXLUtdr.mjs';
|
|
5
5
|
import { Download } from '@arc-ui/components/Download';
|
|
6
|
+
import { Columns, ColumnsCol } from '@arc-ui/components/Columns';
|
|
6
7
|
import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
7
8
|
import '../_shared/esm/index-BSO2EFem.mjs';
|
|
8
9
|
import '@arc-ui/components/Text';
|
|
9
10
|
import '@arc-ui/components/Image';
|
|
10
11
|
import '@arc-ui/components/Heading';
|
|
11
12
|
|
|
12
|
-
var styles = {"
|
|
13
|
+
var styles = {"downloadList-below":"DownloadList-module_downloadList-below__21q6i","downloadList-right":"DownloadList-module_downloadList-right__mHYHL"};
|
|
13
14
|
|
|
14
15
|
var DownloadList = function (_a) {
|
|
15
|
-
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"]);
|
|
16
|
+
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"]);
|
|
16
17
|
return (React__default.createElement("div", __assign({}, filterAttrs(props)),
|
|
17
|
-
React__default.createElement(
|
|
18
|
-
React__default.createElement(
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
React__default.createElement(
|
|
22
|
-
|
|
18
|
+
React__default.createElement(Columns, null,
|
|
19
|
+
React__default.createElement(ColumnsCol, { spanL: alignment === "right" ? 6 : 9, spanM: 9, span: 12 },
|
|
20
|
+
" ",
|
|
21
|
+
React__default.createElement(SectionHeading, { id: id, heading: heading, isHeadingWordWrap: isHeadingWordWrap, headingLevel: headingLevel, content: content })),
|
|
22
|
+
React__default.createElement(ColumnsCol, { spanL: alignment === "right" ? 6 : 8, spanM: 9, spanS: 12 },
|
|
23
|
+
React__default.createElement("div", { className: styles["downloadList-".concat(alignment)] }, downloads.map(function (downloadProps, i) { return (React__default.createElement(React__default.Fragment, { key: "download-".concat(i, "-").concat(downloadProps.name) },
|
|
24
|
+
React__default.createElement(Download, __assign({}, downloadProps)),
|
|
25
|
+
i !== downloads.length - 1 && React__default.createElement(VerticalSpace, { size: "16" }))); }))))));
|
|
23
26
|
};
|
|
24
27
|
|
|
25
28
|
export { DownloadList };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@media (min-width:
|
|
1
|
+
.DownloadList-module_downloadList-below__21q6i{margin-top:calc(-1 * var(--arc-columns-gap))}.DownloadList-module_downloadList-right__mHYHL{margin-top:calc(-1 * var(--arc-columns-gap))}@media (min-width:1024px){.DownloadList-module_downloadList-right__mHYHL{margin-top:0;margin-top:initial}}
|
package/lib/FAQs/FAQs.cjs
CHANGED
|
@@ -5,7 +5,7 @@ var React = require('react');
|
|
|
5
5
|
var index = require('../_shared/cjs/index-B7Z7sgRq.cjs');
|
|
6
6
|
var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
7
7
|
var Accordion = require('../_shared/cjs/Accordion-B-BRosyE.cjs');
|
|
8
|
-
var SectionHeading = require('../_shared/cjs/SectionHeading-
|
|
8
|
+
var SectionHeading = require('../_shared/cjs/SectionHeading-XCMdv8eZ.cjs');
|
|
9
9
|
var Link = require('@arc-ui/components/Link');
|
|
10
10
|
var Heading = require('@arc-ui/components/Heading');
|
|
11
11
|
var VerticalSpace = require('@arc-ui/components/VerticalSpace');
|
|
@@ -13,6 +13,7 @@ var Tabs = require('@arc-ui/components/Tabs');
|
|
|
13
13
|
require('@arc-ui/components/Text');
|
|
14
14
|
require('@arc-ui/components/Image');
|
|
15
15
|
require('@arc-ui/components/Disclosure');
|
|
16
|
+
require('@arc-ui/components/Columns');
|
|
16
17
|
|
|
17
18
|
var styles = {"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"};
|
|
18
19
|
|
package/lib/FAQs/FAQs.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import React__default from 'react';
|
|
|
3
3
|
import { c as classNames } from '../_shared/esm/index-BSO2EFem.mjs';
|
|
4
4
|
import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
5
5
|
import { A as Accordion } from '../_shared/esm/Accordion-CKN8n0ky.mjs';
|
|
6
|
-
import { S as SectionHeading } from '../_shared/esm/SectionHeading-
|
|
6
|
+
import { S as SectionHeading } from '../_shared/esm/SectionHeading-lyXLUtdr.mjs';
|
|
7
7
|
import { Link } from '@arc-ui/components/Link';
|
|
8
8
|
import { Heading } from '@arc-ui/components/Heading';
|
|
9
9
|
import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
|
|
@@ -11,6 +11,7 @@ import { Tabs, TabsList, TabsItem, TabsContent } from '@arc-ui/components/Tabs';
|
|
|
11
11
|
import '@arc-ui/components/Text';
|
|
12
12
|
import '@arc-ui/components/Image';
|
|
13
13
|
import '@arc-ui/components/Disclosure';
|
|
14
|
+
import '@arc-ui/components/Columns';
|
|
14
15
|
|
|
15
16
|
var styles = {"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"};
|
|
16
17
|
|
|
@@ -4,7 +4,7 @@ var tslib_es6 = require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
|
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var index = require('../_shared/cjs/index-B7Z7sgRq.cjs');
|
|
6
6
|
var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
7
|
-
var index_es = require('../_shared/cjs/index.es-
|
|
7
|
+
var index_es = require('../_shared/cjs/index.es-B73RVhhj.cjs');
|
|
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.mj
|
|
|
2
2
|
import React__default, { useState, useEffect, Suspense } from 'react';
|
|
3
3
|
import { c as classNames } from '../_shared/esm/index-BSO2EFem.mjs';
|
|
4
4
|
import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
5
|
-
import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-
|
|
5
|
+
import { b as ArcSizeBreakpointsM } from '../_shared/esm/index.es-DNGykRl2.mjs';
|
|
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';
|
|
@@ -6,7 +6,7 @@ var useMediaQuery = require('@arc-ui/components/use-media-query');
|
|
|
6
6
|
var ButtonV2 = require('@arc-ui/components/ButtonV2');
|
|
7
7
|
var VerticalSpace = require('@arc-ui/components/VerticalSpace');
|
|
8
8
|
var BtIconArrowRightFill = require('../_shared/cjs/BtIconArrowRightFill-BVCZv7Lm.cjs');
|
|
9
|
-
var SectionHeading = require('../_shared/cjs/SectionHeading-
|
|
9
|
+
var SectionHeading = require('../_shared/cjs/SectionHeading-XCMdv8eZ.cjs');
|
|
10
10
|
var index = require('../_shared/cjs/index-B7Z7sgRq.cjs');
|
|
11
11
|
var Heading = require('@arc-ui/components/Heading');
|
|
12
12
|
var Icon = require('@arc-ui/components/Icon');
|
|
@@ -14,6 +14,7 @@ var Text = require('@arc-ui/components/Text');
|
|
|
14
14
|
var Link = require('@arc-ui/components/Link');
|
|
15
15
|
var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
16
16
|
require('@arc-ui/components/Image');
|
|
17
|
+
require('@arc-ui/components/Columns');
|
|
17
18
|
|
|
18
19
|
var styles = {"highlights":"Highlights-module_highlights__Hf7Zq","highlightItem":"Highlights-module_highlightItem__-N6le","highlights2Column":"Highlights-module_highlights2Column__6qIuI","highlights3Column":"Highlights-module_highlights3Column__qsCMP"};
|
|
19
20
|
|
|
@@ -4,7 +4,7 @@ import { useMediaQuery } from '@arc-ui/components/use-media-query';
|
|
|
4
4
|
import { ButtonV2 } from '@arc-ui/components/ButtonV2';
|
|
5
5
|
import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
|
|
6
6
|
import { B as BtIconArrowRightFill } from '../_shared/esm/BtIconArrowRightFill-D0zKgk3B.mjs';
|
|
7
|
-
import { S as SectionHeading } from '../_shared/esm/SectionHeading-
|
|
7
|
+
import { S as SectionHeading } from '../_shared/esm/SectionHeading-lyXLUtdr.mjs';
|
|
8
8
|
import { c as classNames } from '../_shared/esm/index-BSO2EFem.mjs';
|
|
9
9
|
import { Heading } from '@arc-ui/components/Heading';
|
|
10
10
|
import { Icon } from '@arc-ui/components/Icon';
|
|
@@ -12,6 +12,7 @@ import { Text } from '@arc-ui/components/Text';
|
|
|
12
12
|
import { Link } from '@arc-ui/components/Link';
|
|
13
13
|
import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
14
14
|
import '@arc-ui/components/Image';
|
|
15
|
+
import '@arc-ui/components/Columns';
|
|
15
16
|
|
|
16
17
|
var styles = {"highlights":"Highlights-module_highlights__Hf7Zq","highlightItem":"Highlights-module_highlightItem__-N6le","highlights2Column":"Highlights-module_highlights2Column__6qIuI","highlights3Column":"Highlights-module_highlights3Column__qsCMP"};
|
|
17
18
|
|
|
@@ -11,10 +11,10 @@ var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
|
11
11
|
var styles = {"quick-help":"InlineLinkGroup-module_quick-help__cMTpB","quick-help-label":"InlineLinkGroup-module_quick-help-label__VLKen","quick-help-container":"InlineLinkGroup-module_quick-help-container__IStTk","quick-help-item":"InlineLinkGroup-module_quick-help-item__QTIMl","quick-help-separator":"InlineLinkGroup-module_quick-help-separator__qJE0q","quick-help-separator-line":"InlineLinkGroup-module_quick-help-separator-line__VbCVI"};
|
|
12
12
|
|
|
13
13
|
var InlineLinkGroup = function (_a) {
|
|
14
|
-
var label = _a.label, links = _a.links, props = tslib_es6.__rest(_a, ["label", "links"]);
|
|
14
|
+
var label = _a.label, _b = _a.headingLevel, headingLevel = _b === void 0 ? "2" : _b, links = _a.links, props = tslib_es6.__rest(_a, ["label", "headingLevel", "links"]);
|
|
15
15
|
return (React.createElement("div", tslib_es6.__assign({ className: styles["quick-help"] }, filterAttrs.filterAttrs(props)),
|
|
16
16
|
label && (React.createElement("div", { className: styles["quick-help-label"] },
|
|
17
|
-
React.createElement(Heading.Heading, { size: "xxs", fontStyle: "overline" }, label))),
|
|
17
|
+
React.createElement(Heading.Heading, { level: headingLevel, size: "xxs", fontStyle: "overline" }, label))),
|
|
18
18
|
React.createElement("ul", { className: styles["quick-help-container"] }, links.map(function (link, index) { return (React.createElement(React.Fragment, { key: index },
|
|
19
19
|
React.createElement("li", { className: styles["quick-help-item"] },
|
|
20
20
|
React.createElement(Link.Link, { href: link.href, onClick: link.onClick, "aria-label": link.ariaLabel }, link.label),
|
|
@@ -9,10 +9,10 @@ import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
|
9
9
|
var styles = {"quick-help":"InlineLinkGroup-module_quick-help__cMTpB","quick-help-label":"InlineLinkGroup-module_quick-help-label__VLKen","quick-help-container":"InlineLinkGroup-module_quick-help-container__IStTk","quick-help-item":"InlineLinkGroup-module_quick-help-item__QTIMl","quick-help-separator":"InlineLinkGroup-module_quick-help-separator__qJE0q","quick-help-separator-line":"InlineLinkGroup-module_quick-help-separator-line__VbCVI"};
|
|
10
10
|
|
|
11
11
|
var InlineLinkGroup = function (_a) {
|
|
12
|
-
var label = _a.label, links = _a.links, props = __rest(_a, ["label", "links"]);
|
|
12
|
+
var label = _a.label, _b = _a.headingLevel, headingLevel = _b === void 0 ? "2" : _b, links = _a.links, props = __rest(_a, ["label", "headingLevel", "links"]);
|
|
13
13
|
return (React__default.createElement("div", __assign({ className: styles["quick-help"] }, filterAttrs(props)),
|
|
14
14
|
label && (React__default.createElement("div", { className: styles["quick-help-label"] },
|
|
15
|
-
React__default.createElement(Heading, { size: "xxs", fontStyle: "overline" }, label))),
|
|
15
|
+
React__default.createElement(Heading, { level: headingLevel, size: "xxs", fontStyle: "overline" }, label))),
|
|
16
16
|
React__default.createElement("ul", { className: styles["quick-help-container"] }, links.map(function (link, index) { return (React__default.createElement(React__default.Fragment, { key: index },
|
|
17
17
|
React__default.createElement("li", { className: styles["quick-help-item"] },
|
|
18
18
|
React__default.createElement(Link, { href: link.href, onClick: link.onClick, "aria-label": link.ariaLabel }, link.label),
|
|
@@ -5,8 +5,8 @@ var React = require('react');
|
|
|
5
5
|
var index = require('../_shared/cjs/index-B7Z7sgRq.cjs');
|
|
6
6
|
var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
7
7
|
var useMediaQuery = require('@arc-ui/components/use-media-query');
|
|
8
|
-
var index_es = require('../_shared/cjs/index.es-
|
|
9
|
-
var SectionHeading = require('../_shared/cjs/SectionHeading-
|
|
8
|
+
var index_es = require('../_shared/cjs/index.es-B73RVhhj.cjs');
|
|
9
|
+
var SectionHeading = require('../_shared/cjs/SectionHeading-XCMdv8eZ.cjs');
|
|
10
10
|
var ButtonV2 = require('@arc-ui/components/ButtonV2');
|
|
11
11
|
var InformationCard = require('@arc-ui/components/InformationCard');
|
|
12
12
|
var VerticalSpace = require('@arc-ui/components/VerticalSpace');
|
|
@@ -14,6 +14,7 @@ var VisuallyHidden = require('@arc-ui/components/VisuallyHidden');
|
|
|
14
14
|
require('@arc-ui/components/Text');
|
|
15
15
|
require('@arc-ui/components/Image');
|
|
16
16
|
require('@arc-ui/components/Heading');
|
|
17
|
+
require('@arc-ui/components/Columns');
|
|
17
18
|
|
|
18
19
|
var styles = {"product-navigation-grid":"ProductNavigation-module_product-navigation-grid__RzFq8","productNavigation-skipLink":"ProductNavigation-module_productNavigation-skipLink__fy8ZJ"};
|
|
19
20
|
|
|
@@ -25,6 +26,7 @@ var ProductNavigation = function (_a) {
|
|
|
25
26
|
var _g = React.useState(false), hideLessButton = _g[0], setHideLessButton = _g[1];
|
|
26
27
|
var _h = React.useState(cardsToDisplay), skipLinkCard = _h[0], setSkipLinkCard = _h[1];
|
|
27
28
|
var _j = React.useState(productList.slice(0, cardsToDisplay)), displayList = _j[0], setDisplayList = _j[1];
|
|
29
|
+
var _k = React.useState(false), displaySkipButton = _k[0], setDisplaySkipButton = _k[1];
|
|
28
30
|
var cardRef = React.useRef(null);
|
|
29
31
|
React.useEffect(function () {
|
|
30
32
|
if (defaultExpanded) {
|
|
@@ -36,6 +38,7 @@ var ProductNavigation = function (_a) {
|
|
|
36
38
|
(_a = cardRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
37
39
|
};
|
|
38
40
|
var clickController = function () {
|
|
41
|
+
setDisplaySkipButton(true);
|
|
39
42
|
// show more / current list length + increment
|
|
40
43
|
if (displayList.length < productList.length) {
|
|
41
44
|
if (onClickMore)
|
|
@@ -69,8 +72,8 @@ var ProductNavigation = function (_a) {
|
|
|
69
72
|
!hideButton && !hideLessButton && (React.createElement(ButtonV2.ButtonV2, { label: displayList.length < productList.length
|
|
70
73
|
? "Show more"
|
|
71
74
|
: "Show less", buttonStyle: "secondary", onClick: clickController, isFullWidth: isMinWidthArcBreakpointS ? false : true, isLoading: isLoading })),
|
|
72
|
-
|
|
73
|
-
React.createElement("div", { id: "skip-link", className: index.classNames(styles["productNavigation-skipLink"]), tabIndex: -1 },
|
|
75
|
+
hideButton ||
|
|
76
|
+
(displaySkipButton && displayList.length > cardsToDisplay && (React.createElement("div", { id: "skip-link", className: index.classNames(styles["productNavigation-skipLink"]), tabIndex: -1 },
|
|
74
77
|
React.createElement(ButtonV2.ButtonV2, { label: "Move to first new card", buttonStyle: "primary", onClick: moveFocus, isFullWidth: isMinWidthArcBreakpointS ? false : true })))),
|
|
75
78
|
React.createElement(VisuallyHidden.VisuallyHidden, null,
|
|
76
79
|
React.createElement("div", { "aria-live": "polite", id: "aria-live-region", "aria-atomic": true },
|
|
@@ -3,8 +3,8 @@ import React__default, { useState, useRef, useEffect } from 'react';
|
|
|
3
3
|
import { c as classNames } from '../_shared/esm/index-BSO2EFem.mjs';
|
|
4
4
|
import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
5
5
|
import { useMediaQuery } from '@arc-ui/components/use-media-query';
|
|
6
|
-
import { A as ArcSizeBreakpointsS } from '../_shared/esm/index.es-
|
|
7
|
-
import { S as SectionHeading } from '../_shared/esm/SectionHeading-
|
|
6
|
+
import { A as ArcSizeBreakpointsS } from '../_shared/esm/index.es-DNGykRl2.mjs';
|
|
7
|
+
import { S as SectionHeading } from '../_shared/esm/SectionHeading-lyXLUtdr.mjs';
|
|
8
8
|
import { ButtonV2 } from '@arc-ui/components/ButtonV2';
|
|
9
9
|
import { InformationCard } from '@arc-ui/components/InformationCard';
|
|
10
10
|
import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
|
|
@@ -12,6 +12,7 @@ import { VisuallyHidden } from '@arc-ui/components/VisuallyHidden';
|
|
|
12
12
|
import '@arc-ui/components/Text';
|
|
13
13
|
import '@arc-ui/components/Image';
|
|
14
14
|
import '@arc-ui/components/Heading';
|
|
15
|
+
import '@arc-ui/components/Columns';
|
|
15
16
|
|
|
16
17
|
var styles = {"product-navigation-grid":"ProductNavigation-module_product-navigation-grid__RzFq8","productNavigation-skipLink":"ProductNavigation-module_productNavigation-skipLink__fy8ZJ"};
|
|
17
18
|
|
|
@@ -23,6 +24,7 @@ var ProductNavigation = function (_a) {
|
|
|
23
24
|
var _g = useState(false), hideLessButton = _g[0], setHideLessButton = _g[1];
|
|
24
25
|
var _h = useState(cardsToDisplay), skipLinkCard = _h[0], setSkipLinkCard = _h[1];
|
|
25
26
|
var _j = useState(productList.slice(0, cardsToDisplay)), displayList = _j[0], setDisplayList = _j[1];
|
|
27
|
+
var _k = useState(false), displaySkipButton = _k[0], setDisplaySkipButton = _k[1];
|
|
26
28
|
var cardRef = useRef(null);
|
|
27
29
|
useEffect(function () {
|
|
28
30
|
if (defaultExpanded) {
|
|
@@ -34,6 +36,7 @@ var ProductNavigation = function (_a) {
|
|
|
34
36
|
(_a = cardRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
35
37
|
};
|
|
36
38
|
var clickController = function () {
|
|
39
|
+
setDisplaySkipButton(true);
|
|
37
40
|
// show more / current list length + increment
|
|
38
41
|
if (displayList.length < productList.length) {
|
|
39
42
|
if (onClickMore)
|
|
@@ -67,8 +70,8 @@ var ProductNavigation = function (_a) {
|
|
|
67
70
|
!hideButton && !hideLessButton && (React__default.createElement(ButtonV2, { label: displayList.length < productList.length
|
|
68
71
|
? "Show more"
|
|
69
72
|
: "Show less", buttonStyle: "secondary", onClick: clickController, isFullWidth: isMinWidthArcBreakpointS ? false : true, isLoading: isLoading })),
|
|
70
|
-
|
|
71
|
-
React__default.createElement("div", { id: "skip-link", className: classNames(styles["productNavigation-skipLink"]), tabIndex: -1 },
|
|
73
|
+
hideButton ||
|
|
74
|
+
(displaySkipButton && displayList.length > cardsToDisplay && (React__default.createElement("div", { id: "skip-link", className: classNames(styles["productNavigation-skipLink"]), tabIndex: -1 },
|
|
72
75
|
React__default.createElement(ButtonV2, { label: "Move to first new card", buttonStyle: "primary", onClick: moveFocus, isFullWidth: isMinWidthArcBreakpointS ? false : true })))),
|
|
73
76
|
React__default.createElement(VisuallyHidden, null,
|
|
74
77
|
React__default.createElement("div", { "aria-live": "polite", id: "aria-live-region", "aria-atomic": true },
|