@arc-ui/community-components 3.3.0 → 3.4.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 +132 -12
- package/CHANGELOG.md +12 -0
- package/lib/Accordion/Accordion.mjs +1 -1
- package/lib/ActionTile/ActionTile.mjs +9 -9
- package/lib/ArticleSidebar/ArticleSidebar.mjs +44 -44
- package/lib/Author/Author.mjs +1 -1
- package/lib/BannerWithTabs/BannerWithTabs.mjs +6 -6
- package/lib/ContentInfoWidget/ContentInfoWidget.mjs +6 -6
- package/lib/CopyLead/CopyLead.cjs +18 -8
- package/lib/CopyLead/CopyLead.mjs +59 -49
- package/lib/DownloadList/DownloadList.mjs +9 -9
- package/lib/FAQs/FAQs.mjs +21 -21
- package/lib/FeaturePost/FeaturePost.cjs +1 -1
- package/lib/FeaturePost/FeaturePost.mjs +53 -53
- package/lib/Highlights/Highlights.mjs +19 -19
- package/lib/InlineLinkGroup/InlineLinkGroup.mjs +10 -10
- package/lib/LinkTile/LinkTile.mjs +5 -5
- package/lib/ProductNavigation/ProductNavigation.cjs +1 -1
- package/lib/ProductNavigation/ProductNavigation.mjs +17 -17
- package/lib/PromoListing/PromoListing.cjs +1 -1
- package/lib/PromoListing/PromoListing.mjs +15 -15
- package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.cjs +2 -2
- package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.mjs +8 -8
- package/lib/Quote/Quote.mjs +8 -8
- package/lib/SectionHeading/SectionHeading.mjs +1 -1
- package/lib/Statistics/Statistics.mjs +31 -31
- package/lib/Summary/Summary.cjs +1 -1
- package/lib/Summary/Summary.mjs +11 -11
- package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +1 -1
- package/lib/VideoHeroCard/VideoHeroCard.cjs +76 -0
- package/lib/VideoHeroCard/VideoHeroCard.mjs +74 -0
- package/lib/VideoPortraitCard/VideoPortraitCard.cjs +22 -0
- package/lib/VideoPortraitCard/VideoPortraitCard.mjs +20 -0
- package/lib/_shared/cjs/Preview-Dx1kCzJ1.cjs +102 -0
- package/lib/_shared/cjs/VideoCardThumbnail-BqYgpk0u.cjs +440 -0
- package/lib/_shared/cjs/dash.all.min-BPXzla24.cjs +6 -0
- package/lib/_shared/cjs/hls-Ckhp5fVA.cjs +36628 -0
- package/lib/_shared/cjs/index-DjiIVIaV.cjs +96 -0
- package/lib/_shared/cjs/index-oGP6D6gL.cjs +14826 -0
- package/lib/_shared/cjs/{index.es-Dq8bYrbW.cjs → index.es-B0J3cvrY.cjs} +1 -1
- package/lib/_shared/cjs/mixin-BFwaXKGB.cjs +1027 -0
- package/lib/_shared/cjs/react-CEvhi3LL.cjs +737 -0
- package/lib/_shared/cjs/react-CqsEClV0.cjs +466 -0
- package/lib/_shared/cjs/react-DE6M3seI.cjs +496 -0
- package/lib/_shared/cjs/react-Dri2yjKm.cjs +554 -0
- package/lib/_shared/cjs/react-DxToimBj.cjs +4239 -0
- package/lib/_shared/cjs/react-JTfV8OSA.cjs +325 -0
- package/lib/_shared/cjs/react-caXJFZ8W.cjs +400 -0
- package/lib/_shared/cjs/react-fep2ei7j.cjs +727 -0
- package/lib/_shared/esm/{Accordion-DrOTh90S.mjs → Accordion-DtU7jbCv.mjs} +15 -15
- package/lib/_shared/esm/Author-CJQFrQM9.mjs +27 -0
- package/lib/_shared/esm/Preview-CmbKOgEO.mjs +100 -0
- package/lib/_shared/esm/{SectionHeading-DZOg_gYi.mjs → SectionHeading-BskdQ2Tt.mjs} +9 -9
- package/lib/_shared/esm/{ThumbnailSignpost-DaZByYIH.mjs → ThumbnailSignpost-CBSdQiHw.mjs} +12 -12
- package/lib/_shared/esm/VideoCardThumbnail-VfOKmPCv.mjs +437 -0
- package/lib/_shared/esm/dash.all.min-CbWI_8dN.mjs +4 -0
- package/lib/_shared/esm/hls-AFbJDS9D.mjs +36625 -0
- package/lib/_shared/esm/index-CrcIrdjn.mjs +14799 -0
- package/lib/_shared/esm/index-DYnuIO1L.mjs +94 -0
- package/lib/_shared/esm/{index.es-Bfdys5__.mjs → index.es-DraZ-qKh.mjs} +1 -1
- package/lib/_shared/esm/mixin-BGGG8VrM.mjs +1024 -0
- package/lib/_shared/esm/react-BGimq-TB.mjs +4237 -0
- package/lib/_shared/esm/react-BHT4t_eQ.mjs +494 -0
- package/lib/_shared/esm/react-BSd0sGcO.mjs +464 -0
- package/lib/_shared/esm/react-CSr43fZV.mjs +552 -0
- package/lib/_shared/esm/react-Ca6E7Fr-.mjs +398 -0
- package/lib/_shared/esm/react-DG070IvZ.mjs +725 -0
- package/lib/_shared/esm/react-DZyqy7W7.mjs +735 -0
- package/lib/_shared/esm/react-WW_9iHcl.mjs +323 -0
- package/lib/index.cjs +249 -123
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +55 -2
- package/lib/index.d.mts +55 -2
- package/lib/index.mjs +248 -124
- package/lib/index.mjs.map +1 -1
- package/lib/styles.css +1 -1
- package/package.json +17 -14
- package/rollup.config.js +1 -1
- package/src/components/CopyLead/components/MediaContent/MediaContent.tsx +7 -6
- package/src/components/CopyLead/templates/Content/Content.tsx +5 -3
- package/src/components/CopyLead/templates/Media/Media.tsx +5 -6
- package/src/components/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.tsx +2 -0
- package/src/components/VideoHeroCard/VideoHeroCard.tsx +63 -0
- package/src/components/VideoHeroCard/components/VideoHeroCardContent/VideoHeroCardContent.module.css +32 -0
- package/src/components/VideoHeroCard/components/VideoHeroCardContent/VideoHeroCardContent.tsx +97 -0
- package/src/components/VideoHeroCard/components/VideoHeroCardContent/index.ts +4 -0
- package/src/components/VideoHeroCard/index.ts +1 -0
- package/src/components/VideoPortraitCard/VideoPortraitCard.tsx +54 -0
- package/src/components/VideoPortraitCard/index.ts +4 -0
- package/src/components/index.ts +2 -0
- package/src/internal/MultiLineText/MultiLineText.tsx +25 -0
- package/src/internal/MultiLineText/index.ts +1 -0
- package/src/internal/VideoCardPlayer/VideoCardPlayer.module.css +54 -0
- package/src/internal/VideoCardPlayer/VideoCardPlayer.tsx +62 -0
- package/src/internal/VideoCardPlayer/components/VideoCardPlayIcon/VideoCardPlayIcon.module.css +41 -0
- package/src/internal/VideoCardPlayer/components/VideoCardPlayIcon/VideoCardPlayIcon.tsx +28 -0
- package/src/internal/VideoCardPlayer/components/VideoCardPlayIcon/index.ts +1 -0
- package/src/internal/VideoCardPlayer/components/VideoCardThumbnail/VideoCardThumbnail.module.css +58 -0
- package/src/internal/VideoCardPlayer/components/VideoCardThumbnail/VideoCardThumbnail.tsx +38 -0
- package/src/internal/VideoCardPlayer/components/VideoCardThumbnail/index.ts +1 -0
- package/src/internal/VideoCardPlayer/index.ts +2 -0
- package/src/internal/VideoCardPlayer/types/player-props.ts +6 -0
- package/versions.json +1 -1
- package/lib/_shared/esm/Author-BVCRPgkl.mjs +0 -27
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @arc-ui/community-components@3.
|
|
2
|
+
> @arc-ui/community-components@3.4.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
5
|
Browserslist: browsers data (caniuse-lite) is 7 months old. Please run:
|
|
@@ -7,37 +7,157 @@ Browserslist: browsers data (caniuse-lite) is 7 months old. Please run:
|
|
|
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 [1m8s[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
15
|
[1m@arc-ui/components/Avatar[22m (imported by "lib/types/components/Author/Author.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/SectionHeading/SectionHeading.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/
|
|
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/SectionHeading/SectionHeading.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/topic.d.ts", "lib/types/components/ArticleSidebar/types/link-section.d.ts" and "lib/types/components/ArticleSidebar/types/share.d.ts")
|
|
17
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
18
|
[1m@arc-ui/components/Download[22m (imported by "lib/types/components/DownloadList/DownloadList.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
19
|
[1m@arc-ui/components/MediaCard[22m (imported by "lib/types/components/PromoListing/PromoListing.d.ts")
|
|
21
20
|
[1m@arc-ui/components/ImpactCard[22m (imported by "lib/types/components/PromoListing/PromoListing.d.ts")
|
|
22
21
|
[1m@arc-ui/components/InformationCard[22m (imported by "lib/types/components/PromoListing/PromoListing.d.ts" and "lib/types/components/ProductNavigation/types/product-list.d.ts")
|
|
23
22
|
[1m@arc-ui/components/TypographyCard[22m (imported by "lib/types/components/PromoListing/PromoListing.d.ts")
|
|
23
|
+
[1m@arc-ui/components/ButtonV2[22m (imported by "lib/types/components/PromoListing/PromoListing.d.ts" and "lib/types/components/Highlights/Highlights.d.ts")
|
|
24
24
|
[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/
|
|
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/FeaturePost/types/feature-post-image.d.ts" and "lib/types/components/CopyLead/types/copy-lead-image.d.ts")
|
|
26
26
|
[1m@arc-ui/components/Disclosure[22m (imported by "lib/types/components/Accordion/components/AccordionDisclosureList/AccordionDisclosureList.d.ts")
|
|
27
27
|
[1m@arc-ui/components/Tag[22m (imported by "lib/types/components/ArticleSidebar/types/topic.d.ts")
|
|
28
|
-
[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
28
|
[1m@arc-ui/components/AppButton[22m (imported by "lib/types/components/FeaturePost/types/feature-post-app-button-footer.d.ts")
|
|
30
|
-
[
|
|
29
|
+
[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")
|
|
30
|
+
[1mreact-player/types[22m (imported by "lib/types/internal/VideoCardPlayer/VideoCardPlayer.d.ts" and "lib/types/internal/VideoCardPlayer/types/player-props.d.ts")
|
|
31
|
+
[1m@arc-ui/components/Visible[22m (imported by "lib/types/internal/VideoCardPlayer/components/VideoCardThumbnail/VideoCardThumbnail.d.ts")
|
|
32
|
+
[32mcreated [1mlib/index.d.mts, lib/index.d.cts[22m in [1m182ms[22m[39m
|
|
31
33
|
[36m
|
|
32
|
-
[1m./src/components/Accordion/index.ts, ./src/components/ActionTile/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/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/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[22m → [1mlib[22m...[39m
|
|
33
|
-
[
|
|
34
|
+
[1m./src/components/Accordion/index.ts, ./src/components/ActionTile/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/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/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
|
|
35
|
+
[1m[33m(!) ../../node_modules/.pnpm/react-player@3.4.0_@svta+cml-cta@1.0.1_@svta+cml-structured-field-values@1.0.1_@svta+cml-util_ujikj3aqrwufkk63gma7dosk7u/node_modules/react-player/dist/index.js (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/react-player@3.4.0_@svta+cml-cta@1.0.1_@svta+cml-structured-field-values@1.0.1_@svta+cml-util_ujikj3aqrwufkk63gma7dosk7u/node_modules/react-player/dist/index.js" was ignored.[39m[22m
|
|
36
|
+
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/react-player@3.4.0_@svta+cml-cta@1.0.1_@svta+cml-structured-field-values@1.0.1_@svta+cml-util_ujikj3aqrwufkk63gma7dosk7u/node_modules/react-player/dist/index.js:1:0[22m
|
|
37
|
+
[90m1: "use client";
|
|
38
|
+
^
|
|
39
|
+
2: import players from "./players.js";
|
|
40
|
+
3: import { createReactPlayer } from "./ReactPlayer.js";[39m
|
|
41
|
+
[1m[33m(!) ../../node_modules/.pnpm/dash-video-element@0.3.1_@svta+cml-cta@1.0.1_@svta+cml-structured-field-values@1.0.1_@svta+cm_wdp7ojayoebclcyse67qoschgq/node_modules/dash-video-element/dist/react.js (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/dash-video-element@0.3.1_@svta+cml-cta@1.0.1_@svta+cml-structured-field-values@1.0.1_@svta+cm_wdp7ojayoebclcyse67qoschgq/node_modules/dash-video-element/dist/react.js" was ignored.[39m[22m
|
|
42
|
+
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/dash-video-element@0.3.1_@svta+cml-cta@1.0.1_@svta+cml-structured-field-values@1.0.1_@svta+cm_wdp7ojayoebclcyse67qoschgq/node_modules/dash-video-element/dist/react.js:1:0[22m
|
|
43
|
+
[90m1: "use client";
|
|
44
|
+
^
|
|
45
|
+
2:
|
|
46
|
+
3: // dist/react.ts[39m
|
|
47
|
+
[1m[33m(!) ../../node_modules/.pnpm/vimeo-video-element@1.7.0/node_modules/vimeo-video-element/dist/react.js (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/vimeo-video-element@1.7.0/node_modules/vimeo-video-element/dist/react.js" was ignored.[39m[22m
|
|
48
|
+
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/vimeo-video-element@1.7.0/node_modules/vimeo-video-element/dist/react.js:1:0[22m
|
|
49
|
+
[90m1: "use client";
|
|
50
|
+
^
|
|
51
|
+
2:
|
|
52
|
+
3: // dist/react.ts[39m
|
|
53
|
+
[1m[33m(!) ../../node_modules/.pnpm/youtube-video-element@1.9.0/node_modules/youtube-video-element/dist/react.js (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/youtube-video-element@1.9.0/node_modules/youtube-video-element/dist/react.js" was ignored.[39m[22m
|
|
54
|
+
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/youtube-video-element@1.9.0/node_modules/youtube-video-element/dist/react.js:1:0[22m
|
|
55
|
+
[90m1: "use client";
|
|
56
|
+
^
|
|
57
|
+
2:
|
|
58
|
+
3: // dist/react.ts[39m
|
|
59
|
+
[1m[33m(!) ../../node_modules/.pnpm/hls-video-element@1.5.10/node_modules/hls-video-element/dist/react.js (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/hls-video-element@1.5.10/node_modules/hls-video-element/dist/react.js" was ignored.[39m[22m
|
|
60
|
+
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/hls-video-element@1.5.10/node_modules/hls-video-element/dist/react.js:1:0[22m
|
|
61
|
+
[90m1: "use client";
|
|
62
|
+
^
|
|
63
|
+
2:
|
|
64
|
+
3: // dist/react.ts[39m
|
|
65
|
+
[1m[33m(!) ../../node_modules/.pnpm/twitch-video-element@0.1.6/node_modules/twitch-video-element/dist/react.js (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/twitch-video-element@0.1.6/node_modules/twitch-video-element/dist/react.js" was ignored.[39m[22m
|
|
66
|
+
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/twitch-video-element@0.1.6/node_modules/twitch-video-element/dist/react.js:1:0[22m
|
|
67
|
+
[90m1: "use client";
|
|
68
|
+
^
|
|
69
|
+
2:
|
|
70
|
+
3: // dist/react.ts[39m
|
|
71
|
+
[1m[33m(!) ../../node_modules/.pnpm/wistia-video-element@1.3.6/node_modules/wistia-video-element/dist/react.js (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/wistia-video-element@1.3.6/node_modules/wistia-video-element/dist/react.js" was ignored.[39m[22m
|
|
72
|
+
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/wistia-video-element@1.3.6/node_modules/wistia-video-element/dist/react.js:1:0[22m
|
|
73
|
+
[90m1: "use client";
|
|
74
|
+
^
|
|
75
|
+
2:
|
|
76
|
+
3: // dist/react.ts[39m
|
|
77
|
+
[1m[33m(!) ../../node_modules/.pnpm/tiktok-video-element@0.1.2/node_modules/tiktok-video-element/dist/react.js (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/tiktok-video-element@0.1.2/node_modules/tiktok-video-element/dist/react.js" was ignored.[39m[22m
|
|
78
|
+
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/tiktok-video-element@0.1.2/node_modules/tiktok-video-element/dist/react.js:1:0[22m
|
|
79
|
+
[90m1: "use client";
|
|
80
|
+
^
|
|
81
|
+
2:
|
|
82
|
+
3: // dist/react.ts[39m
|
|
83
|
+
[1m[33m(!) ../../node_modules/.pnpm/spotify-audio-element@1.0.4/node_modules/spotify-audio-element/dist/react.js (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/spotify-audio-element@1.0.4/node_modules/spotify-audio-element/dist/react.js" was ignored.[39m[22m
|
|
84
|
+
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/spotify-audio-element@1.0.4/node_modules/spotify-audio-element/dist/react.js:1:0[22m
|
|
85
|
+
[90m1: "use client";
|
|
86
|
+
^
|
|
87
|
+
2:
|
|
88
|
+
3: // dist/react.ts[39m
|
|
89
|
+
[1m[33m(!) ../../node_modules/.pnpm/@mux+mux-player-react@3.11.5_@types+react-dom@18.2.7_@types+react@18.2.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@mux/mux-player-react/dist/index.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/@mux+mux-player-react@3.11.5_@types+react-dom@18.2.7_@types+react@18.2.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@mux/mux-player-react/dist/index.mjs" was ignored.[39m[22m
|
|
90
|
+
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/@mux+mux-player-react@3.11.5_@types+react-dom@18.2.7_@types+react@18.2.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@mux/mux-player-react/dist/index.mjs:1:0[22m
|
|
91
|
+
[90m1: "use client";import m,{useState as pe,useRef as Ee}from"react";import{MaxResolution as Le,MinResolution as Ae,Renditi...
|
|
92
|
+
^
|
|
93
|
+
2: //# sourceMappingURL=index.mjs.map[39m
|
|
94
|
+
[32mcreated [1mlib[22m in [1m9.2s[22m[39m
|
|
34
95
|
[36m
|
|
35
|
-
[1m./src/components/Accordion/index.ts, ./src/components/ActionTile/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/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/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[22m → [1mlib[22m...[39m
|
|
36
|
-
[
|
|
96
|
+
[1m./src/components/Accordion/index.ts, ./src/components/ActionTile/index.ts, ./src/components/ArticleSidebar/index.ts, ./src/components/Author/index.ts, ./src/components/BannerWithTabs/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/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
|
|
97
|
+
[1m[33m(!) ../../node_modules/.pnpm/react-player@3.4.0_@svta+cml-cta@1.0.1_@svta+cml-structured-field-values@1.0.1_@svta+cml-util_ujikj3aqrwufkk63gma7dosk7u/node_modules/react-player/dist/index.js (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/react-player@3.4.0_@svta+cml-cta@1.0.1_@svta+cml-structured-field-values@1.0.1_@svta+cml-util_ujikj3aqrwufkk63gma7dosk7u/node_modules/react-player/dist/index.js" was ignored.[39m[22m
|
|
98
|
+
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/react-player@3.4.0_@svta+cml-cta@1.0.1_@svta+cml-structured-field-values@1.0.1_@svta+cml-util_ujikj3aqrwufkk63gma7dosk7u/node_modules/react-player/dist/index.js:1:0[22m
|
|
99
|
+
[90m1: "use client";
|
|
100
|
+
^
|
|
101
|
+
2: import players from "./players.js";
|
|
102
|
+
3: import { createReactPlayer } from "./ReactPlayer.js";[39m
|
|
103
|
+
[1m[33m(!) ../../node_modules/.pnpm/wistia-video-element@1.3.6/node_modules/wistia-video-element/dist/react.js (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/wistia-video-element@1.3.6/node_modules/wistia-video-element/dist/react.js" was ignored.[39m[22m
|
|
104
|
+
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/wistia-video-element@1.3.6/node_modules/wistia-video-element/dist/react.js:1:0[22m
|
|
105
|
+
[90m1: "use client";
|
|
106
|
+
^
|
|
107
|
+
2:
|
|
108
|
+
3: // dist/react.ts[39m
|
|
109
|
+
[1m[33m(!) ../../node_modules/.pnpm/hls-video-element@1.5.10/node_modules/hls-video-element/dist/react.js (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/hls-video-element@1.5.10/node_modules/hls-video-element/dist/react.js" was ignored.[39m[22m
|
|
110
|
+
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/hls-video-element@1.5.10/node_modules/hls-video-element/dist/react.js:1:0[22m
|
|
111
|
+
[90m1: "use client";
|
|
112
|
+
^
|
|
113
|
+
2:
|
|
114
|
+
3: // dist/react.ts[39m
|
|
115
|
+
[1m[33m(!) ../../node_modules/.pnpm/dash-video-element@0.3.1_@svta+cml-cta@1.0.1_@svta+cml-structured-field-values@1.0.1_@svta+cm_wdp7ojayoebclcyse67qoschgq/node_modules/dash-video-element/dist/react.js (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/dash-video-element@0.3.1_@svta+cml-cta@1.0.1_@svta+cml-structured-field-values@1.0.1_@svta+cm_wdp7ojayoebclcyse67qoschgq/node_modules/dash-video-element/dist/react.js" was ignored.[39m[22m
|
|
116
|
+
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/dash-video-element@0.3.1_@svta+cml-cta@1.0.1_@svta+cml-structured-field-values@1.0.1_@svta+cm_wdp7ojayoebclcyse67qoschgq/node_modules/dash-video-element/dist/react.js:1:0[22m
|
|
117
|
+
[90m1: "use client";
|
|
118
|
+
^
|
|
119
|
+
2:
|
|
120
|
+
3: // dist/react.ts[39m
|
|
121
|
+
[1m[33m(!) ../../node_modules/.pnpm/vimeo-video-element@1.7.0/node_modules/vimeo-video-element/dist/react.js (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/vimeo-video-element@1.7.0/node_modules/vimeo-video-element/dist/react.js" was ignored.[39m[22m
|
|
122
|
+
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/vimeo-video-element@1.7.0/node_modules/vimeo-video-element/dist/react.js:1:0[22m
|
|
123
|
+
[90m1: "use client";
|
|
124
|
+
^
|
|
125
|
+
2:
|
|
126
|
+
3: // dist/react.ts[39m
|
|
127
|
+
[1m[33m(!) ../../node_modules/.pnpm/spotify-audio-element@1.0.4/node_modules/spotify-audio-element/dist/react.js (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/spotify-audio-element@1.0.4/node_modules/spotify-audio-element/dist/react.js" was ignored.[39m[22m
|
|
128
|
+
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/spotify-audio-element@1.0.4/node_modules/spotify-audio-element/dist/react.js:1:0[22m
|
|
129
|
+
[90m1: "use client";
|
|
130
|
+
^
|
|
131
|
+
2:
|
|
132
|
+
3: // dist/react.ts[39m
|
|
133
|
+
[1m[33m(!) ../../node_modules/.pnpm/youtube-video-element@1.9.0/node_modules/youtube-video-element/dist/react.js (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/youtube-video-element@1.9.0/node_modules/youtube-video-element/dist/react.js" was ignored.[39m[22m
|
|
134
|
+
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/youtube-video-element@1.9.0/node_modules/youtube-video-element/dist/react.js:1:0[22m
|
|
135
|
+
[90m1: "use client";
|
|
136
|
+
^
|
|
137
|
+
2:
|
|
138
|
+
3: // dist/react.ts[39m
|
|
139
|
+
[1m[33m(!) ../../node_modules/.pnpm/twitch-video-element@0.1.6/node_modules/twitch-video-element/dist/react.js (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/twitch-video-element@0.1.6/node_modules/twitch-video-element/dist/react.js" was ignored.[39m[22m
|
|
140
|
+
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/twitch-video-element@0.1.6/node_modules/twitch-video-element/dist/react.js:1:0[22m
|
|
141
|
+
[90m1: "use client";
|
|
142
|
+
^
|
|
143
|
+
2:
|
|
144
|
+
3: // dist/react.ts[39m
|
|
145
|
+
[1m[33m(!) ../../node_modules/.pnpm/tiktok-video-element@0.1.2/node_modules/tiktok-video-element/dist/react.js (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/tiktok-video-element@0.1.2/node_modules/tiktok-video-element/dist/react.js" was ignored.[39m[22m
|
|
146
|
+
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/tiktok-video-element@0.1.2/node_modules/tiktok-video-element/dist/react.js:1:0[22m
|
|
147
|
+
[90m1: "use client";
|
|
148
|
+
^
|
|
149
|
+
2:
|
|
150
|
+
3: // dist/react.ts[39m
|
|
151
|
+
[1m[33m(!) ../../node_modules/.pnpm/@mux+mux-player-react@3.11.5_@types+react-dom@18.2.7_@types+react@18.2.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@mux/mux-player-react/dist/index.mjs (1:0): Module level directives cause errors when bundled, "use client" in "../../node_modules/.pnpm/@mux+mux-player-react@3.11.5_@types+react-dom@18.2.7_@types+react@18.2.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@mux/mux-player-react/dist/index.mjs" was ignored.[39m[22m
|
|
152
|
+
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/@mux+mux-player-react@3.11.5_@types+react-dom@18.2.7_@types+react@18.2.0_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/@mux/mux-player-react/dist/index.mjs:1:0[22m
|
|
153
|
+
[90m1: "use client";import m,{useState as pe,useRef as Ee}from"react";import{MaxResolution as Le,MinResolution as Ae,Renditi...
|
|
154
|
+
^
|
|
155
|
+
2: //# sourceMappingURL=index.mjs.map[39m
|
|
156
|
+
[32mcreated [1mlib[22m in [1m8.8s[22m[39m
|
|
37
157
|
Browserslist: browsers data (caniuse-lite) is 7 months old. Please run:
|
|
38
158
|
npx update-browserslist-db@latest
|
|
39
159
|
Why you should do it regularly: https://github.com/browserslist/update-db#readme
|
|
40
160
|
|
|
41
|
-
> @arc-ui/community-components@3.
|
|
161
|
+
> @arc-ui/community-components@3.4.0 build:clean /builds/enterprise/frontend/arc-community/packages/components
|
|
42
162
|
> rimraf ./lib/types ./lib/styles.js ./lib/index.js ./lib/index.js.map
|
|
43
163
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @arc-ui/community-components
|
|
2
2
|
|
|
3
|
+
## 3.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 41f01c2: Enabled multiline text for copy lead component
|
|
8
|
+
- 41f01c2: Added hero and portrait video card components
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- f624882: updated to arc version 13.7.0
|
|
13
|
+
- 61680a0: Added isHeadingWordWrap control to all relevant stories
|
|
14
|
+
|
|
3
15
|
## 3.3.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
|
|
2
|
-
import
|
|
2
|
+
import React__default from 'react';
|
|
3
3
|
import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.mjs';
|
|
4
4
|
import { Icon } from '@arc-ui/components/Icon';
|
|
5
5
|
|
|
@@ -19,14 +19,14 @@ var ActionTile = function (_a) {
|
|
|
19
19
|
var tileClasses = classNames(styles["action-tile"], (_b = {},
|
|
20
20
|
_b[styles["action-tile--active"]] = isActive,
|
|
21
21
|
_b), className);
|
|
22
|
-
var content = (
|
|
23
|
-
|
|
24
|
-
icon && (
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
isActive && (
|
|
28
|
-
|
|
29
|
-
return (
|
|
22
|
+
var content = (React__default.createElement(React__default.Fragment, null,
|
|
23
|
+
React__default.createElement("div", { className: styles["action-tile-content"] },
|
|
24
|
+
icon && (React__default.createElement("div", { className: styles["action-tile-icon"] },
|
|
25
|
+
React__default.createElement(Icon, { icon: icon, size: 48 }))),
|
|
26
|
+
React__default.createElement("h3", { className: styles["action-tile-heading"] }, heading)),
|
|
27
|
+
isActive && (React__default.createElement("div", { className: styles["action-tile-tick"] },
|
|
28
|
+
React__default.createElement(Icon, { icon: BtIconTickAlt2Px, size: 28 })))));
|
|
29
|
+
return (React__default.createElement("div", __assign({ className: tileClasses, onClick: onClick }, filterAttrs(props)), content));
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
export { ActionTile };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as __rest, b as __spreadArray, a as __assign, f as filterAttrs, c as __awaiter, d as __generator } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
|
|
2
|
-
import
|
|
2
|
+
import React__default, { useId, useState } from 'react';
|
|
3
3
|
import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.mjs';
|
|
4
4
|
import { Heading } from '@arc-ui/components/Heading';
|
|
5
5
|
import { Icon } from '@arc-ui/components/Icon';
|
|
@@ -9,7 +9,7 @@ import { Link } from '@arc-ui/components/Link';
|
|
|
9
9
|
import { Tag } from '@arc-ui/components/Tag';
|
|
10
10
|
import { Toast, ToastNotification } from '@arc-ui/components/Toast';
|
|
11
11
|
import { VerticalSpace } from '@arc-ui/components/VerticalSpace';
|
|
12
|
-
import { A as Author } from '../_shared/esm/Author-
|
|
12
|
+
import { A as Author } from '../_shared/esm/Author-CJQFrQM9.mjs';
|
|
13
13
|
import '@arc-ui/components/Grid';
|
|
14
14
|
import '@arc-ui/components/Avatar';
|
|
15
15
|
|
|
@@ -99,57 +99,57 @@ var ArticleSidebar = function (_a) {
|
|
|
99
99
|
: []), true) : [];
|
|
100
100
|
var hasTopContent = Boolean(author || aboutSection || additionalContent);
|
|
101
101
|
var hasBottomContent = Boolean(linkSection || topics || share);
|
|
102
|
-
return (
|
|
103
|
-
|
|
102
|
+
return (React__default.createElement("div", __assign({}, filterAttrs(props)),
|
|
103
|
+
React__default.createElement("div", { className: classNames((_b = {},
|
|
104
104
|
_b[styles.textContent] = hasTopContent,
|
|
105
105
|
_b)) },
|
|
106
|
-
author && (
|
|
107
|
-
|
|
108
|
-
aboutSection && (
|
|
109
|
-
author &&
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
additionalContent && (
|
|
114
|
-
(author || aboutSection) &&
|
|
115
|
-
|
|
106
|
+
author && (React__default.createElement(React__default.Fragment, null,
|
|
107
|
+
React__default.createElement(Author, __assign({}, author, { avatar: __assign(__assign({}, author.avatar), { size: "xl" }) })))),
|
|
108
|
+
aboutSection && (React__default.createElement(React__default.Fragment, null,
|
|
109
|
+
author && React__default.createElement(VerticalSpace, { size: "32" }),
|
|
110
|
+
React__default.createElement(Heading, { level: aboutSection.headingLevel }, aboutSection.heading),
|
|
111
|
+
React__default.createElement(VerticalSpace, { size: "16" }),
|
|
112
|
+
React__default.createElement(Text, { size: "s" }, aboutSection.content))),
|
|
113
|
+
additionalContent && (React__default.createElement(React__default.Fragment, null,
|
|
114
|
+
(author || aboutSection) && React__default.createElement(VerticalSpace, { size: "16" }),
|
|
115
|
+
React__default.createElement("div", { className: styles.additionalContentContainer }, additionalContent.map(function (_a) {
|
|
116
116
|
var heading = _a.heading, headingLevel = _a.headingLevel, content = _a.content;
|
|
117
|
-
return (
|
|
118
|
-
|
|
119
|
-
|
|
117
|
+
return (React__default.createElement("div", { key: "".concat(id, "-").concat(heading) },
|
|
118
|
+
React__default.createElement(Heading, { level: headingLevel, size: "xxs" }, heading),
|
|
119
|
+
React__default.createElement(Text, { size: "s" }, content)));
|
|
120
120
|
}))))),
|
|
121
|
-
hasTopContent && hasBottomContent && (
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
linkSection && (
|
|
126
|
-
|
|
121
|
+
hasTopContent && hasBottomContent && (React__default.createElement("div", { "data-testid": "text-content-rule" },
|
|
122
|
+
React__default.createElement(VerticalSpace, { size: "32" }),
|
|
123
|
+
React__default.createElement(Rule, null),
|
|
124
|
+
React__default.createElement(VerticalSpace, { size: "32" }))),
|
|
125
|
+
linkSection && (React__default.createElement(React__default.Fragment, null,
|
|
126
|
+
React__default.createElement(Heading, { level: linkSection.headingLevel }, linkSection.heading),
|
|
127
127
|
linkSection.links.map(function (_a) {
|
|
128
128
|
var text = _a.text, url = _a.url, ariaLabel = _a.ariaLabel;
|
|
129
|
-
return (
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
129
|
+
return (React__default.createElement(React__default.Fragment, null,
|
|
130
|
+
React__default.createElement(VerticalSpace, { size: "8" }),
|
|
131
|
+
React__default.createElement("div", { key: "".concat(id, "-").concat(url) },
|
|
132
|
+
React__default.createElement(Link, { "aria-label": ariaLabel, size: "s", href: url }, text))));
|
|
133
133
|
}))),
|
|
134
|
-
topics && (
|
|
135
|
-
linkSection &&
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
share && (
|
|
140
|
-
(linkSection || topics) && (
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
134
|
+
topics && (React__default.createElement(React__default.Fragment, null,
|
|
135
|
+
linkSection && React__default.createElement(VerticalSpace, { size: "32" }),
|
|
136
|
+
React__default.createElement(Heading, { level: topics.headingLevel }, topics.heading),
|
|
137
|
+
React__default.createElement(VerticalSpace, { size: "16" }),
|
|
138
|
+
React__default.createElement("div", { className: styles.tagGroup }, topics.tags.map(function (tag) { return (React__default.createElement(Tag, __assign({ key: "".concat(id, "-").concat(tag.title) }, tag))); })))),
|
|
139
|
+
share && (React__default.createElement(React__default.Fragment, null,
|
|
140
|
+
(linkSection || topics) && (React__default.createElement("div", { "data-testid": "links-topics-content-rule" },
|
|
141
|
+
React__default.createElement(VerticalSpace, { size: "32" }),
|
|
142
|
+
React__default.createElement(Rule, null),
|
|
143
|
+
React__default.createElement(VerticalSpace, { size: "32" }))),
|
|
144
|
+
React__default.createElement(Heading, { level: share.headingLevel }, share.heading),
|
|
145
|
+
React__default.createElement(VerticalSpace, { size: "16" }),
|
|
146
|
+
React__default.createElement("div", { className: styles.shareButtonContainer }, shareButtons.map(function (_a) {
|
|
147
147
|
var isButton = _a.isButton, ariaLabel = _a.ariaLabel, href = _a.href, icon = _a.icon, onClick = _a.onClick;
|
|
148
|
-
return (
|
|
149
|
-
|
|
148
|
+
return (React__default.createElement("a", { key: "".concat(id, "-").concat(ariaLabel), role: isButton ? "button" : undefined, target: "_blank", rel: "noreferrer", className: styles.shareButton, "aria-label": ariaLabel, href: href, onClick: isButton ? onClick : undefined },
|
|
149
|
+
React__default.createElement(Icon, { icon: icon, size: 24 })));
|
|
150
150
|
})))),
|
|
151
|
-
|
|
152
|
-
|
|
151
|
+
React__default.createElement(Toast, null,
|
|
152
|
+
React__default.createElement(ToastNotification, { status: "success", title: "Copied to clipboard", isOpen: showToast, onOpenChange: function () { return setShowToast(false); } }))));
|
|
153
153
|
};
|
|
154
154
|
|
|
155
155
|
export { ArticleSidebar };
|
package/lib/Author/Author.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
|
|
2
|
-
import
|
|
2
|
+
import React__default from 'react';
|
|
3
3
|
import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.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-BskdQ2Tt.mjs';
|
|
6
6
|
import '@arc-ui/components/Text';
|
|
7
7
|
import '@arc-ui/components/VerticalSpace';
|
|
8
8
|
import '@arc-ui/components/Image';
|
|
@@ -13,12 +13,12 @@ var styles = {"bannerWithTabsHeadingCentered":"BannerWithTabs-module_bannerWithT
|
|
|
13
13
|
var BannerWithTabs = function (_a) {
|
|
14
14
|
var _b;
|
|
15
15
|
var tabs = _a.tabs, defaultValue = _a.defaultValue, heading = _a.heading, content = _a.content, id = _a.id, isHeadingWordWrap = _a.isHeadingWordWrap, _c = _a.alignTypography, alignTypography = _c === void 0 ? "left" : _c, minHeight = _a.minHeight, minHeightM = _a.minHeightM, props = __rest(_a, ["tabs", "defaultValue", "heading", "content", "id", "isHeadingWordWrap", "alignTypography", "minHeight", "minHeightM"]);
|
|
16
|
-
return (
|
|
17
|
-
|
|
16
|
+
return (React__default.createElement("div", __assign({}, filterAttrs(props)),
|
|
17
|
+
React__default.createElement("div", { className: classNames((_b = {},
|
|
18
18
|
_b[styles.bannerWithTabsHeadingCentered] = alignTypography === "center",
|
|
19
19
|
_b)) },
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
React__default.createElement(SectionHeading, { id: id, isHeadingWordWrap: isHeadingWordWrap, heading: heading, content: content, isPadded: alignTypography === "left" ? true : false })),
|
|
21
|
+
React__default.createElement(TabbedBanner, { minHeight: minHeight, minHeightM: minHeightM, tabs: tabs, defaultValue: defaultValue })));
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
export { BannerWithTabs };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
|
|
2
|
-
import
|
|
2
|
+
import React__default from 'react';
|
|
3
3
|
import { Text } from '@arc-ui/components/Text';
|
|
4
4
|
import { Icon } from '@arc-ui/components/Icon';
|
|
5
5
|
|
|
@@ -7,11 +7,11 @@ var styles = {"container":"ContentInfoWidget-module_container__yaS-8","text":"Co
|
|
|
7
7
|
|
|
8
8
|
var ContentInfoWidget = function (_a) {
|
|
9
9
|
var text = _a.text, icon = _a.icon, props = __rest(_a, ["text", "icon"]);
|
|
10
|
-
return (
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
return (React__default.createElement("div", __assign({ className: styles.container }, filterAttrs(props)),
|
|
11
|
+
React__default.createElement("div", { className: styles.icon },
|
|
12
|
+
React__default.createElement(Icon, { size: 20, icon: icon })),
|
|
13
|
+
React__default.createElement("div", { className: styles.text },
|
|
14
|
+
React__default.createElement(Text, { size: "xs", tone: "muted" }, text))));
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
export { ContentInfoWidget };
|
|
@@ -2,27 +2,37 @@
|
|
|
2
2
|
|
|
3
3
|
var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
|
|
4
4
|
var React = require('react');
|
|
5
|
-
var index_es = require('../_shared/cjs/index.es-
|
|
5
|
+
var index_es = require('../_shared/cjs/index.es-B0J3cvrY.cjs');
|
|
6
6
|
var Columns = require('@arc-ui/components/Columns');
|
|
7
7
|
var useMediaQuery = require('@arc-ui/components/use-media-query');
|
|
8
8
|
var Heading = require('@arc-ui/components/Heading');
|
|
9
|
-
var Text = require('@arc-ui/components/Text');
|
|
10
9
|
var VerticalSpace = require('@arc-ui/components/VerticalSpace');
|
|
10
|
+
var Text = require('@arc-ui/components/Text');
|
|
11
11
|
var Image$1 = require('@arc-ui/components/Image');
|
|
12
12
|
var Icon = require('@arc-ui/components/Icon');
|
|
13
13
|
var index = require('../_shared/cjs/index-Bp6Dd2i1.cjs');
|
|
14
14
|
var ButtonV2 = require('@arc-ui/components/ButtonV2');
|
|
15
15
|
var SectionHeading = require('../_shared/cjs/SectionHeading-Dj-dJfv3.cjs');
|
|
16
16
|
|
|
17
|
+
var MultiLineText = function (_a) {
|
|
18
|
+
var text = _a.text, textProps = filterAttrs.__rest(_a, ["text"]);
|
|
19
|
+
if (!text)
|
|
20
|
+
return null;
|
|
21
|
+
var paragraphs = text.split(/\\n|\n/).filter(function (p) { return p.trim(); });
|
|
22
|
+
return (React.createElement(React.Fragment, null, paragraphs.map(function (paragraph, index) { return (React.createElement("span", { key: "informationcard-text-".concat(index) },
|
|
23
|
+
index > 0 && React.createElement(VerticalSpace.VerticalSpace, { size: "8" }),
|
|
24
|
+
React.createElement(Text.Text, filterAttrs.__assign({}, textProps), paragraph))); })));
|
|
25
|
+
};
|
|
26
|
+
|
|
17
27
|
var styles = {"buttonContainer":"CopyLead-module_buttonContainer__3OaRG","col":"CopyLead-module_col__0Da5H","container":"CopyLead-module_container__I91ym","container--content":"CopyLead-module_container--content__e8LxG","container--media":"CopyLead-module_container--media__QcMWi","container--align-center":"CopyLead-module_container--align-center__Fh1Sd","container--align-top":"CopyLead-module_container--align-top__UIXOZ","list":"CopyLead-module_list__arnJd","listItem":"CopyLead-module_listItem__NscHE","listItemCentered":"CopyLead-module_listItemCentered__Kwdab","listItemIconContainer":"CopyLead-module_listItemIconContainer__dgnhJ","listItemTextContainer":"CopyLead-module_listItemTextContainer__Dl9lw","imgWrapper":"CopyLead-module_imgWrapper__HYP3w","mediaContainer":"CopyLead-module_mediaContainer__PxTnm","content":"CopyLead-module_content__Bja1D","container--reverse":"CopyLead-module_container--reverse__Gq9u8"};
|
|
18
28
|
|
|
19
29
|
var MediaContent = function (_a) {
|
|
20
|
-
var heading = _a.heading, id = _a.id, headingLevel = _a.headingLevel, isHeadingWordWrap = _a.isHeadingWordWrap,
|
|
30
|
+
var heading = _a.heading, id = _a.id, headingLevel = _a.headingLevel, isHeadingWordWrap = _a.isHeadingWordWrap, content = _a.content;
|
|
21
31
|
return (React.createElement("div", { className: styles.mediaContainer },
|
|
22
32
|
React.createElement(Heading.Heading, { id: id, level: headingLevel, isWordWrap: isHeadingWordWrap, size: "xl" }, heading),
|
|
23
|
-
|
|
33
|
+
content && (React.createElement("div", { className: styles.content },
|
|
24
34
|
React.createElement(VerticalSpace.VerticalSpace, { size: "24" }),
|
|
25
|
-
React.createElement(
|
|
35
|
+
React.createElement(MultiLineText, { text: content, size: "l" })))));
|
|
26
36
|
};
|
|
27
37
|
|
|
28
38
|
var Image = function (_a) {
|
|
@@ -91,10 +101,10 @@ var MediaTemplate = function (_a) {
|
|
|
91
101
|
return (React.createElement("div", null,
|
|
92
102
|
!isMinWidthArcBreakpointXl && (React.createElement(Columns.Columns, null,
|
|
93
103
|
React.createElement(Columns.ColumnsCol, { span: 12, spanM: 9 },
|
|
94
|
-
React.createElement(MediaContent, { heading: heading, headingLevel: headingLevel, id: id, isHeadingWordWrap: isHeadingWordWrap
|
|
104
|
+
React.createElement(MediaContent, { heading: heading, headingLevel: headingLevel, id: id, isHeadingWordWrap: isHeadingWordWrap, content: content })))),
|
|
95
105
|
React.createElement(Container, { type: "media", isReverseOrder: isReverseOrder, alignment: !isMinWidthArcBreakpointXl ? "top" : "center" },
|
|
96
106
|
React.createElement(Column, null,
|
|
97
|
-
isMinWidthArcBreakpointXl && (React.createElement(MediaContent, { heading: heading
|
|
107
|
+
isMinWidthArcBreakpointXl && (React.createElement(MediaContent, { heading: heading, content: content })),
|
|
98
108
|
React.createElement(IconList, { listItems: listItems, isLgScreen: isMinWidthArcBreakpointL, headingLevel: listHeadingLevel }),
|
|
99
109
|
button && React.createElement(Button, filterAttrs.__assign({}, button))),
|
|
100
110
|
React.createElement(Column, null,
|
|
@@ -110,7 +120,7 @@ var ContentTemplate = function (_a) {
|
|
|
110
120
|
var listHeadingLevel = getListHeadingLevel(headingLevel);
|
|
111
121
|
return (React.createElement(Container, { type: "content", alignment: "top" },
|
|
112
122
|
React.createElement(Column, null,
|
|
113
|
-
React.createElement(SectionHeading.SectionHeading, { id: id, heading: heading, headingLevel: headingLevel, isHeadingWordWrap: isHeadingWordWrap, content: content }),
|
|
123
|
+
React.createElement(SectionHeading.SectionHeading, { id: id, heading: heading, headingLevel: headingLevel, isHeadingWordWrap: isHeadingWordWrap, content: React.createElement(MultiLineText, { size: "l", text: content }) }),
|
|
114
124
|
button && isMinWidthArcBreakpointM && React.createElement(Button, filterAttrs.__assign({}, button))),
|
|
115
125
|
React.createElement(Column, null,
|
|
116
126
|
React.createElement(IconList, { listItems: listItems, isLgScreen: isMinWidthArcBreakpointL, headingLevel: listHeadingLevel }),
|