@arc-ui/community-components 3.8.1 → 3.10.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 +17 -16
- package/CHANGELOG.md +25 -0
- package/generate-versions.js +48 -1
- package/lib/ActionTile/ActionTile.cjs +10 -9
- package/lib/ActionTile/ActionTile.mjs +10 -9
- package/lib/ActionTile/styles.css +1 -1
- 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/HeaderBarNotification/HeaderBarNotification.cjs +57 -0
- package/lib/HeaderBarNotification/HeaderBarNotification.mjs +55 -0
- package/lib/HeaderBarNotification/styles.css +1 -0
- package/lib/Highlights/Highlights.cjs +2 -1
- package/lib/Highlights/Highlights.mjs +2 -1
- package/lib/ProductNavigation/ProductNavigation.cjs +20 -19
- package/lib/ProductNavigation/ProductNavigation.mjs +20 -19
- 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 +106 -54
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +61 -7
- package/lib/index.d.mts +61 -7
- package/lib/index.mjs +107 -56
- package/lib/index.mjs.map +1 -1
- package/lib/styles.css +1 -1
- package/package.json +14 -14
- package/src/components/ActionTile/ActionTile.module.css +20 -1
- package/src/components/ActionTile/ActionTile.tsx +11 -14
- 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/HeaderBarNotification/HeaderBarNotification.module.css +51 -0
- package/src/components/HeaderBarNotification/HeaderBarNotification.tsx +153 -0
- package/src/components/HeaderBarNotification/index.ts +4 -0
- package/src/components/ProductNavigation/ProductNavigation.tsx +42 -38
- 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/index.ts +1 -0
- 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,46 +1,47 @@
|
|
|
1
1
|
|
|
2
|
-
> @arc-ui/community-components@3.
|
|
2
|
+
> @arc-ui/community-components@3.10.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 10 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 [1m8.2s[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/
|
|
16
|
-
[1m@arc-ui/components/VideoPlayer[22m (imported by "lib/types/components/CopyLead/CopyLead.d.ts" and "lib/types/components/FeaturePost/FeaturePost.d.ts")
|
|
15
|
+
[1m@arc-ui/components/NavigationHeader[22m (imported by "lib/types/components/HeaderBarNotification/HeaderBarNotification.d.ts")
|
|
17
16
|
[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")
|
|
17
|
+
[1m@arc-ui/components/Download[22m (imported by "lib/types/components/DownloadList/DownloadList.d.ts")
|
|
18
18
|
[1m@arc-ui/components/Avatar[22m (imported by "lib/types/components/Author/Author.d.ts")
|
|
19
|
+
[1m@arc-ui/components/ButtonV2[22m (imported by "lib/types/components/Highlights/Highlights.d.ts" and "lib/types/components/PromoListing/PromoListing.d.ts")
|
|
20
|
+
[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/share.d.ts", "lib/types/components/ArticleSidebar/types/link-section.d.ts", "lib/types/components/ArticleSidebar/types/topic.d.ts" and "lib/types/components/PartnerBrandLogos/components/PartnerLogoSubgroup/PartnerLogoSubgroup.d.ts")
|
|
21
|
+
[1m@arc-ui/components/VideoPlayer[22m (imported by "lib/types/components/CopyLead/CopyLead.d.ts" and "lib/types/components/FeaturePost/FeaturePost.d.ts")
|
|
19
22
|
[1m@arc-ui/components/ImpactCard[22m (imported by "lib/types/components/PromoListing/PromoListing.d.ts")
|
|
20
23
|
[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
24
|
[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
25
|
[1m@arc-ui/components/TemplateBanner[22m (imported by "lib/types/components/BannerWithTabs/BannerWithTabs.d.ts")
|
|
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/
|
|
26
|
+
[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
27
|
[1m@arc-ui/components/VerticalSpace[22m (imported by "lib/types/components/PartnerBrandLogos/PartnerBrandLogos.d.ts")
|
|
27
28
|
[1m@arc-ui/components/Disclosure[22m (imported by "lib/types/components/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.d.ts")
|
|
28
29
|
[1m@arc-ui/components/Tag[22m (imported by "lib/types/components/ArticleSidebar/types/topic.d.ts")
|
|
30
|
+
[1m@arc-ui/components/Button[22m (imported by "lib/types/components/CopyLead/types/copy-lead-button.d.ts" and "lib/types/components/FeaturePost/types/feature-post-cta-footer.d.ts")
|
|
29
31
|
[1m@arc-ui/components/AppButton[22m (imported by "lib/types/components/FeaturePost/types/feature-post-app-button-footer.d.ts")
|
|
30
|
-
[1m@arc-ui/components/Button[22m (imported by "lib/types/components/FeaturePost/types/feature-post-cta-footer.d.ts" and "lib/types/components/CopyLead/types/copy-lead-button.d.ts")
|
|
31
32
|
[1mreact-player/types[22m (imported by "lib/types/internal/VideoCardPlayer/VideoCardPlayer.d.ts" and "lib/types/internal/VideoCardPlayer/types/player-props.d.ts")
|
|
32
33
|
[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 [
|
|
34
|
+
[32mcreated [1mlib/index.d.mts, lib/index.d.cts[22m in [1m203ms[22m[39m
|
|
34
35
|
[36m
|
|
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 [1m7.
|
|
36
|
+
[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/HeaderBarNotification/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
|
|
37
|
+
[32mcreated [1mlib[22m in [1m7.4s[22m[39m
|
|
37
38
|
[36m
|
|
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 [1m6.
|
|
40
|
-
Browserslist: browsers data (caniuse-lite) is
|
|
39
|
+
[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/HeaderBarNotification/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
|
|
40
|
+
[32mcreated [1mlib[22m in [1m6.2s[22m[39m
|
|
41
|
+
Browserslist: browsers data (caniuse-lite) is 10 months old. Please run:
|
|
41
42
|
npx update-browserslist-db@latest
|
|
42
43
|
Why you should do it regularly: https://github.com/browserslist/update-db#readme
|
|
43
44
|
|
|
44
|
-
> @arc-ui/community-components@3.
|
|
45
|
+
> @arc-ui/community-components@3.10.0 build:clean /builds/enterprise/frontend/arc-community/packages/components
|
|
45
46
|
> rimraf ./lib/types ./lib/styles.js ./lib/index.js ./lib/index.js.map
|
|
46
47
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @arc-ui/community-components
|
|
2
2
|
|
|
3
|
+
## 3.10.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 7a1af63: Update storybook to show and hide icon
|
|
8
|
+
- 7d5d2ae: New abandoned cart notification
|
|
9
|
+
- 7a1af63: re add filterAttrs
|
|
10
|
+
- 7a1af63: use classNames utility to conditionally render title class
|
|
11
|
+
- 7a1af63: Updated ActionTile to behave more like a native button, with improved keyboard activation, visible focus styling, and full-width layout while preserving a 230px minimum width. The component props were tightened by removing arbitrary attribute forwarding and custom className support, and tests were added for keyboard interaction and sizing. Storybook now wraps the tile in a 230px container to reflect the intended layout.
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- b05ab9d: fix: fixed storybook version selector
|
|
16
|
+
|
|
17
|
+
## 3.9.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- 151e415: feat: added optional heading property to card4 in business segment switcher
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- 239daa1: fix: fixed promo listing overflowing in carousel mode
|
|
26
|
+
- bf9dfcb: Update arc packages to 13.10.0, Update download list to use new version, refactor SectionHeading to use Columns for isPadded logic
|
|
27
|
+
|
|
3
28
|
## 3.8.1
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
package/generate-versions.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
2
|
import fs from "node:fs";
|
|
3
|
+
import { execSync } from "node:child_process";
|
|
3
4
|
|
|
4
5
|
import semverRsort from "semver/functions/rsort.js";
|
|
5
6
|
|
|
@@ -10,10 +11,56 @@ let contents = changelog.toString().split("\n");
|
|
|
10
11
|
const regexp =
|
|
11
12
|
/^##\s(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/g;
|
|
12
13
|
|
|
14
|
+
// We extract versions from the changelog rather than relying solely on git tags
|
|
15
|
+
// because some versions don't have deployments. This keeps the data true to our changelog.
|
|
13
16
|
const versions = contents
|
|
14
17
|
.filter((line) => line && regexp.test(line))
|
|
15
18
|
.map((v) => v.replace("## ", "v"));
|
|
16
19
|
|
|
20
|
+
const sorted = semverRsort(versions);
|
|
21
|
+
|
|
22
|
+
// Build version-to-date mapping from git tags
|
|
23
|
+
const dateMap = {};
|
|
24
|
+
try {
|
|
25
|
+
const tags = execSync("git tag --sort=-creatordate", { encoding: "utf-8" })
|
|
26
|
+
.trim()
|
|
27
|
+
.split("\n")
|
|
28
|
+
.filter(Boolean);
|
|
29
|
+
|
|
30
|
+
for (const tag of tags) {
|
|
31
|
+
try {
|
|
32
|
+
// For each tag (e.g. "2026-05-22"), retrieve the CHANGELOG.md as it existed
|
|
33
|
+
// at that tag, find the first version heading (## X.Y.Z), and map that
|
|
34
|
+
// version to the tag name — giving us a version-to-release-date mapping.
|
|
35
|
+
const changelogAtTag = execSync(
|
|
36
|
+
`git show ${tag}:packages/components/CHANGELOG.md`,
|
|
37
|
+
{ encoding: "utf-8" },
|
|
38
|
+
);
|
|
39
|
+
const firstVersion = changelogAtTag
|
|
40
|
+
.split("\n")
|
|
41
|
+
.find((line) => /^## \d/.test(line));
|
|
42
|
+
if (firstVersion) {
|
|
43
|
+
const version = "v" + firstVersion.replace("## ", "");
|
|
44
|
+
dateMap[version] = tag;
|
|
45
|
+
}
|
|
46
|
+
} catch {
|
|
47
|
+
// tag may not have the file, skip
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
} catch {
|
|
51
|
+
console.warn("Warning: could not read git tags for version-date mapping");
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// Output as array of { version, date } objects
|
|
55
|
+
const versionsWithDates = sorted.map((version) => ({
|
|
56
|
+
version,
|
|
57
|
+
date: dateMap[version] || null,
|
|
58
|
+
}));
|
|
59
|
+
|
|
17
60
|
const versionsPath = path.join("./versions.json");
|
|
18
61
|
|
|
19
|
-
fs.writeFileSync(versionsPath, JSON.stringify(
|
|
62
|
+
fs.writeFileSync(versionsPath, JSON.stringify(versionsWithDates));
|
|
63
|
+
|
|
64
|
+
console.log(versionsWithDates);
|
|
65
|
+
|
|
66
|
+
console.log(`versions.json written with ${versionsWithDates.length} versions`);
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
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
|
-
var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
7
6
|
var Icon = require('@arc-ui/components/Icon');
|
|
7
|
+
var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
8
8
|
|
|
9
|
-
var styles = {"action-tile":"ActionTile-module_action-tile__JPwGb","action-tile-content":"ActionTile-module_action-tile-content__ZkgHc","action-tile-icon":"ActionTile-module_action-tile-icon__PY1EN","action-tile-heading":"ActionTile-module_action-tile-heading__Uxdu9","action-tile--active":"ActionTile-module_action-tile--active__-aWze","action-tile-tick":"ActionTile-module_action-tile-tick__vhsJE"};
|
|
9
|
+
var styles = {"action-tile":"ActionTile-module_action-tile__JPwGb","action-tile-content":"ActionTile-module_action-tile-content__ZkgHc","action-tile-content--without-icon":"ActionTile-module_action-tile-content--without-icon__7F5xj","action-tile-icon":"ActionTile-module_action-tile-icon__PY1EN","action-tile-heading":"ActionTile-module_action-tile-heading__Uxdu9","action-tile--active":"ActionTile-module_action-tile--active__-aWze","action-tile-tick":"ActionTile-module_action-tile-tick__vhsJE"};
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Do not edit directly
|
|
@@ -17,20 +17,21 @@ const BtIconTickAlt2Px =
|
|
|
17
17
|
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='m13.5 21.914-4.707-4.707a1 1 0 0 1 0-1.414 1.024 1.024 0 0 1 1.414 0l3.293 3.293 8.293-8.293a1 1 0 1 1 1.414 1.414Z'/%3e%3c/svg%3e";
|
|
18
18
|
|
|
19
19
|
var ActionTile = function (_a) {
|
|
20
|
-
var _b;
|
|
21
|
-
var icon = _a.icon, activeIcon = _a.activeIcon, heading = _a.heading,
|
|
22
|
-
var tileClasses = index.classNames(styles["action-tile"], (_b = {},
|
|
23
|
-
_b[styles["action-tile--active"]] = isActive,
|
|
24
|
-
_b), className);
|
|
20
|
+
var _b, _c;
|
|
21
|
+
var icon = _a.icon, activeIcon = _a.activeIcon, heading = _a.heading, _d = _a.isActive, isActive = _d === void 0 ? false : _d, onClick = _a.onClick, props = tslib_es6.__rest(_a, ["icon", "activeIcon", "heading", "isActive", "onClick"]);
|
|
25
22
|
var displayIcon = isActive && activeIcon ? activeIcon : icon;
|
|
26
23
|
var content = (React.createElement(React.Fragment, null,
|
|
27
|
-
React.createElement("div", { className: styles["action-tile-content"] },
|
|
24
|
+
React.createElement("div", { className: index.classNames(styles["action-tile-content"], (_b = {},
|
|
25
|
+
_b[styles["action-tile-content--without-icon"]] = !displayIcon,
|
|
26
|
+
_b)) },
|
|
28
27
|
displayIcon && (React.createElement("div", { className: styles["action-tile-icon"] },
|
|
29
28
|
React.createElement(Icon.Icon, { icon: displayIcon, size: 48 }))),
|
|
30
29
|
React.createElement("span", { className: styles["action-tile-heading"] }, heading)),
|
|
31
30
|
isActive && (React.createElement("div", { className: styles["action-tile-tick"] },
|
|
32
31
|
React.createElement(Icon.Icon, { icon: BtIconTickAlt2Px, size: 28 })))));
|
|
33
|
-
return (React.createElement("button", tslib_es6.__assign({ type: "button", className:
|
|
32
|
+
return (React.createElement("button", tslib_es6.__assign({ type: "button", className: index.classNames(styles["action-tile"], (_c = {},
|
|
33
|
+
_c[styles["action-tile--active"]] = isActive,
|
|
34
|
+
_c)), onClick: onClick, "aria-pressed": isActive }, filterAttrs.filterAttrs(props)), content));
|
|
34
35
|
};
|
|
35
36
|
|
|
36
37
|
exports.ActionTile = ActionTile;
|
|
@@ -1,10 +1,10 @@
|
|
|
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 { c as classNames } from '../_shared/esm/index-BSO2EFem.mjs';
|
|
4
|
-
import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
5
4
|
import { Icon } from '@arc-ui/components/Icon';
|
|
5
|
+
import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
6
6
|
|
|
7
|
-
var styles = {"action-tile":"ActionTile-module_action-tile__JPwGb","action-tile-content":"ActionTile-module_action-tile-content__ZkgHc","action-tile-icon":"ActionTile-module_action-tile-icon__PY1EN","action-tile-heading":"ActionTile-module_action-tile-heading__Uxdu9","action-tile--active":"ActionTile-module_action-tile--active__-aWze","action-tile-tick":"ActionTile-module_action-tile-tick__vhsJE"};
|
|
7
|
+
var styles = {"action-tile":"ActionTile-module_action-tile__JPwGb","action-tile-content":"ActionTile-module_action-tile-content__ZkgHc","action-tile-content--without-icon":"ActionTile-module_action-tile-content--without-icon__7F5xj","action-tile-icon":"ActionTile-module_action-tile-icon__PY1EN","action-tile-heading":"ActionTile-module_action-tile-heading__Uxdu9","action-tile--active":"ActionTile-module_action-tile--active__-aWze","action-tile-tick":"ActionTile-module_action-tile-tick__vhsJE"};
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Do not edit directly
|
|
@@ -15,20 +15,21 @@ const BtIconTickAlt2Px =
|
|
|
15
15
|
"data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3e%3cpath fill='currentColor' d='m13.5 21.914-4.707-4.707a1 1 0 0 1 0-1.414 1.024 1.024 0 0 1 1.414 0l3.293 3.293 8.293-8.293a1 1 0 1 1 1.414 1.414Z'/%3e%3c/svg%3e";
|
|
16
16
|
|
|
17
17
|
var ActionTile = function (_a) {
|
|
18
|
-
var _b;
|
|
19
|
-
var icon = _a.icon, activeIcon = _a.activeIcon, heading = _a.heading,
|
|
20
|
-
var tileClasses = classNames(styles["action-tile"], (_b = {},
|
|
21
|
-
_b[styles["action-tile--active"]] = isActive,
|
|
22
|
-
_b), className);
|
|
18
|
+
var _b, _c;
|
|
19
|
+
var icon = _a.icon, activeIcon = _a.activeIcon, heading = _a.heading, _d = _a.isActive, isActive = _d === void 0 ? false : _d, onClick = _a.onClick, props = __rest(_a, ["icon", "activeIcon", "heading", "isActive", "onClick"]);
|
|
23
20
|
var displayIcon = isActive && activeIcon ? activeIcon : icon;
|
|
24
21
|
var content = (React__default.createElement(React__default.Fragment, null,
|
|
25
|
-
React__default.createElement("div", { className: styles["action-tile-content"] },
|
|
22
|
+
React__default.createElement("div", { className: classNames(styles["action-tile-content"], (_b = {},
|
|
23
|
+
_b[styles["action-tile-content--without-icon"]] = !displayIcon,
|
|
24
|
+
_b)) },
|
|
26
25
|
displayIcon && (React__default.createElement("div", { className: styles["action-tile-icon"] },
|
|
27
26
|
React__default.createElement(Icon, { icon: displayIcon, size: 48 }))),
|
|
28
27
|
React__default.createElement("span", { className: styles["action-tile-heading"] }, heading)),
|
|
29
28
|
isActive && (React__default.createElement("div", { className: styles["action-tile-tick"] },
|
|
30
29
|
React__default.createElement(Icon, { icon: BtIconTickAlt2Px, size: 28 })))));
|
|
31
|
-
return (React__default.createElement("button", __assign({ type: "button", className:
|
|
30
|
+
return (React__default.createElement("button", __assign({ type: "button", className: classNames(styles["action-tile"], (_c = {},
|
|
31
|
+
_c[styles["action-tile--active"]] = isActive,
|
|
32
|
+
_c)), onClick: onClick, "aria-pressed": isActive }, filterAttrs(props)), content));
|
|
32
33
|
};
|
|
33
34
|
|
|
34
35
|
export { ActionTile };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ActionTile-module_action-tile__JPwGb{box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;width:230px;height:164px;min-height:132px;padding:var(--sem-space-padding-110);gap:var(--sem-space-padding-70);border-radius:var(--sem-border-radius-xl);border:var(--sem-border-width-xxs) solid var(--sem-color-border-secondary-light-minimal);background:var(--sem-color-bg-secondary-light-default);text-decoration:none;cursor:pointer;transition:border-color 0.2s ease,box-shadow 0.2s ease;position:relative;isolation:isolate;overflow:visible}.ActionTile-module_action-tile-content__ZkgHc{display:flex;flex-direction:column;gap:var(--sem-space-padding-60);flex:1;align-items:flex-start;align-self:stretch}.ActionTile-module_action-tile-icon__PY1EN{display:flex;align-items:center;justify-content:flex-start;width:48px;height:48px;color:var(--sem-color-fg-secondary-light-default);transition:color 0.2s ease}.ActionTile-module_action-tile-heading__Uxdu9{font-family:var(--sem-font-family-heading);font-size:var(--sem-font-size-125);font-weight:var(--sem-font-weight-semi);line-height:var(--sem-line-height-base-scale-m);letter-spacing:0;color:var(--sem-color-fg-secondary-light-default);margin:0;transition:color 0.2s ease;width:100%;word-wrap:break-word;word-wrap:break-word;align-self:stretch;flex-grow:1}.ActionTile-module_action-tile--active__-aWze{background:var(--sem-color-bg-primary-light-subtle-alt);border-color:var(--sem-color-fg-primary-light-minimal);box-shadow:none}.ActionTile-module_action-tile--active__-aWze .ActionTile-module_action-tile-heading__Uxdu9,.ActionTile-module_action-tile--active__-aWze .ActionTile-module_action-tile-icon__PY1EN{color:var(--sem-color-fg-primary-light-minimal)}.ActionTile-module_action-tile-tick__vhsJE{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:var(--sem-border-radius-l);background:var(--sem-color-fg-primary-light-minimal);color:var(--sem-color-fg-secondary-light-alt);flex-shrink:0;position:absolute;top:-4px;right:-4px;z-index:1}.ActionTile-module_action-tile__JPwGb:hover{border-color:var(--button-v2-colors-light-text-hover);box-shadow:0 0 0 1px var(--button-v2-colors-light-text-hover)}.ActionTile-module_action-tile__JPwGb:hover .ActionTile-module_action-tile-heading__Uxdu9,.ActionTile-module_action-tile__JPwGb:hover .ActionTile-module_action-tile-icon__PY1EN{color:var(--button-v2-colors-light-text-hover)}.ActionTile-module_action-tile--active__-aWze:hover{background:var(--sem-color-bg-primary-light-subtle-alt);border-color:var(--sem-color-fg-primary-light-minimal);box-shadow:0 0 0 1px var(--sem-color-fg-primary-light-minimal)}.ActionTile-module_action-tile--active__-aWze:hover .ActionTile-module_action-tile-heading__Uxdu9,.ActionTile-module_action-tile--active__-aWze:hover .ActionTile-module_action-tile-icon__PY1EN{color:var(--sem-color-fg-primary-light-minimal)}
|
|
1
|
+
.ActionTile-module_action-tile__JPwGb{-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%;min-width:230px;height:164px;min-height:132px;padding:var(--sem-space-padding-110);gap:var(--sem-space-padding-70);border-radius:var(--sem-border-radius-xl);border:var(--sem-border-width-xxs) solid var(--sem-color-border-secondary-light-minimal);background:var(--sem-color-bg-secondary-light-default);text-decoration:none;cursor:pointer;font:inherit;outline:var(--focus-border-weight-s) solid transparent;outline-offset:2px;transition:border-color 0.2s ease,box-shadow 0.2s ease;position:relative;isolation:isolate;overflow:visible}.ActionTile-module_action-tile-content__ZkgHc{display:flex;flex-direction:column;gap:var(--sem-space-padding-60);flex:1;align-items:flex-start;align-self:stretch}.ActionTile-module_action-tile-content--without-icon__7F5xj{justify-content:center}.ActionTile-module_action-tile-icon__PY1EN{display:flex;align-items:center;justify-content:flex-start;width:48px;height:48px;color:var(--sem-color-fg-secondary-light-default);transition:color 0.2s ease}.ActionTile-module_action-tile-heading__Uxdu9{font-family:var(--sem-font-family-heading);font-size:var(--sem-font-size-125);font-weight:var(--sem-font-weight-semi);line-height:var(--sem-line-height-base-scale-m);letter-spacing:0;color:var(--sem-color-fg-secondary-light-default);margin:0;transition:color 0.2s ease;width:100%;word-wrap:break-word;word-wrap:break-word;align-self:stretch;flex-grow:1;text-align:left}.ActionTile-module_action-tile-content--without-icon__7F5xj .ActionTile-module_action-tile-heading__Uxdu9{flex-grow:0}.ActionTile-module_action-tile--active__-aWze{background:var(--sem-color-bg-primary-light-subtle-alt);border-color:var(--sem-color-fg-primary-light-minimal);box-shadow:none}.ActionTile-module_action-tile--active__-aWze .ActionTile-module_action-tile-heading__Uxdu9,.ActionTile-module_action-tile--active__-aWze .ActionTile-module_action-tile-icon__PY1EN{color:var(--sem-color-fg-primary-light-minimal)}.ActionTile-module_action-tile-tick__vhsJE{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:var(--sem-border-radius-l);background:var(--sem-color-fg-primary-light-minimal);color:var(--sem-color-fg-secondary-light-alt);flex-shrink:0;position:absolute;top:-4px;right:-4px;z-index:1}.ActionTile-module_action-tile__JPwGb:hover{border-color:var(--button-v2-colors-light-text-hover);box-shadow:0 0 0 1px var(--button-v2-colors-light-text-hover)}.ActionTile-module_action-tile__JPwGb:hover .ActionTile-module_action-tile-heading__Uxdu9,.ActionTile-module_action-tile__JPwGb:hover .ActionTile-module_action-tile-icon__PY1EN{color:var(--button-v2-colors-light-text-hover)}.ActionTile-module_action-tile--active__-aWze:hover{background:var(--sem-color-bg-primary-light-subtle-alt);border-color:var(--sem-color-fg-primary-light-minimal);box-shadow:0 0 0 1px var(--sem-color-fg-primary-light-minimal)}.ActionTile-module_action-tile--active__-aWze:hover .ActionTile-module_action-tile-heading__Uxdu9,.ActionTile-module_action-tile--active__-aWze:hover .ActionTile-module_action-tile-icon__PY1EN{color:var(--sem-color-fg-primary-light-minimal)}.ActionTile-module_action-tile__JPwGb:focus-visible{box-shadow:0 0 0 1px var(--card-colors-light-fg-hover);outline-color:var(--focus-colors-light-border-subtle)}
|
|
@@ -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';
|