@arc-ui/community-components 3.2.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 +133 -13
- package/CHANGELOG.md +31 -0
- package/lib/Accordion/Accordion.cjs +2 -3
- package/lib/Accordion/Accordion.mjs +2 -3
- package/lib/ActionTile/ActionTile.cjs +4 -5
- package/lib/ActionTile/ActionTile.mjs +10 -11
- package/lib/ActionTile/styles.css +1 -1
- package/lib/ArticleSidebar/ArticleSidebar.cjs +9 -10
- package/lib/ArticleSidebar/ArticleSidebar.mjs +46 -47
- package/lib/Author/Author.cjs +2 -3
- package/lib/Author/Author.mjs +2 -3
- package/lib/BannerWithTabs/BannerWithTabs.cjs +4 -5
- package/lib/BannerWithTabs/BannerWithTabs.mjs +8 -9
- package/lib/ContentInfoWidget/ContentInfoWidget.cjs +3 -2
- package/lib/ContentInfoWidget/ContentInfoWidget.mjs +8 -7
- package/lib/CopyLead/CopyLead.cjs +32 -23
- package/lib/CopyLead/CopyLead.mjs +60 -51
- package/lib/DownloadList/DownloadList.cjs +6 -8
- package/lib/DownloadList/DownloadList.mjs +11 -13
- package/lib/FAQs/FAQs.cjs +5 -6
- package/lib/FAQs/FAQs.mjs +22 -23
- package/lib/FeaturePost/FeaturePost.cjs +14 -15
- package/lib/FeaturePost/FeaturePost.mjs +54 -55
- package/lib/Highlights/Highlights.cjs +11 -12
- package/lib/Highlights/Highlights.mjs +24 -25
- package/lib/InlineLinkGroup/InlineLinkGroup.cjs +25 -0
- package/lib/InlineLinkGroup/InlineLinkGroup.mjs +23 -0
- package/lib/InlineLinkGroup/styles.css +1 -0
- package/lib/LinkTile/LinkTile.cjs +6 -6
- package/lib/LinkTile/LinkTile.mjs +7 -7
- package/lib/LinkTile/styles.css +1 -1
- package/lib/ProductNavigation/ProductNavigation.cjs +6 -7
- package/lib/ProductNavigation/ProductNavigation.mjs +18 -19
- package/lib/PromoListing/PromoListing.cjs +7 -8
- package/lib/PromoListing/PromoListing.mjs +17 -18
- package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.cjs +7 -8
- package/lib/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.mjs +9 -10
- package/lib/Quote/Quote.cjs +5 -6
- package/lib/Quote/Quote.mjs +9 -10
- package/lib/SectionHeading/SectionHeading.cjs +2 -3
- package/lib/SectionHeading/SectionHeading.mjs +2 -3
- package/lib/Statistics/Statistics.cjs +21 -19
- package/lib/Statistics/Statistics.mjs +35 -33
- package/lib/Statistics/styles.css +1 -1
- package/lib/Summary/Summary.cjs +4 -4
- package/lib/Summary/Summary.mjs +13 -13
- package/lib/ThumbnailSignpost/ThumbnailSignpost.cjs +2 -3
- package/lib/ThumbnailSignpost/ThumbnailSignpost.mjs +2 -3
- 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/{Accordion-DfNGOjTm.cjs → Accordion-QqDoB3pY.cjs} +8 -9
- package/lib/_shared/cjs/{Author-D4dKNQem.cjs → Author-aL8YXi7C.cjs} +4 -5
- package/lib/_shared/cjs/Preview-Dx1kCzJ1.cjs +102 -0
- package/lib/_shared/cjs/{SectionHeading-DeSFM0HV.cjs → SectionHeading-Dj-dJfv3.cjs} +4 -5
- package/lib/_shared/cjs/{ThumbnailSignpost-GkOiwt-Z.cjs → ThumbnailSignpost-SBnrGooA.cjs} +4 -5
- package/lib/_shared/cjs/VideoCardThumbnail-BqYgpk0u.cjs +440 -0
- package/lib/_shared/cjs/dash.all.min-BPXzla24.cjs +6 -0
- package/lib/_shared/cjs/{tslib.es6-BxB9I209.cjs → filter-attrs-C26zOt4_.cjs} +25 -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-cd1oYvBv.mjs → Accordion-DtU7jbCv.mjs} +16 -17
- package/lib/_shared/esm/Author-CJQFrQM9.mjs +27 -0
- package/lib/_shared/esm/Preview-CmbKOgEO.mjs +100 -0
- package/lib/_shared/esm/{SectionHeading-CpDLCndw.mjs → SectionHeading-BskdQ2Tt.mjs} +10 -11
- package/lib/_shared/esm/{ThumbnailSignpost-BeRiXbUp.mjs → ThumbnailSignpost-CBSdQiHw.mjs} +13 -14
- 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/{tslib.es6-D6Wu-xwB.mjs → filter-attrs-D-1kWaCP.mjs} +25 -1
- 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 +299 -181
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +77 -63
- package/lib/index.d.mts +77 -63
- package/lib/index.mjs +297 -181
- package/lib/index.mjs.map +1 -1
- package/lib/styles.css +1 -1
- package/package.json +15 -12
- package/rollup.config.js +1 -1
- package/src/components/ActionTile/ActionTile.module.css +56 -37
- package/src/components/ActionTile/ActionTile.tsx +1 -1
- package/src/components/ArticleSidebar/ArticleSidebar.tsx +4 -6
- package/src/components/Author/Author.tsx +0 -3
- package/src/components/BannerWithTabs/BannerWithTabs.tsx +4 -6
- package/src/components/ContentInfoWidget/ContentInfoWidget.tsx +3 -4
- 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/DownloadList/DownloadList.tsx +8 -8
- package/src/components/FeaturePost/FeaturePost.tsx +3 -7
- package/src/components/Highlights/Highlights.tsx +3 -2
- package/src/components/Highlights/components/HighlightItem/HighlightItem.tsx +3 -2
- package/src/components/Highlights/components/HighlightList/HighlightList.tsx +5 -2
- package/src/components/InlineLinkGroup/InlineLinkGroup.module.css +81 -0
- package/src/components/InlineLinkGroup/InlineLinkGroup.tsx +67 -0
- package/src/components/InlineLinkGroup/index.ts +5 -0
- package/src/components/LinkTile/LinkTile.module.css +62 -26
- package/src/components/LinkTile/LinkTile.tsx +8 -1
- package/src/components/PromoListing/PromoListing.tsx +3 -11
- package/src/components/PromoListingThumbnailSignpost/PromoListingThumbnailSignpost.tsx +2 -0
- package/src/components/Quote/Quote.tsx +1 -7
- package/src/components/Statistics/Statistics.module.css +0 -10
- package/src/components/Statistics/Statistics.tsx +35 -32
- package/src/components/Summary/Summary.tsx +3 -1
- 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 +3 -1
- 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/HeroLink/HeroLink.cjs +0 -35
- package/lib/HeroLink/HeroLink.mjs +0 -33
- package/lib/HeroLink/styles.css +0 -1
- package/lib/_shared/cjs/filter-attrs-BizjMsy0.cjs +0 -27
- package/lib/_shared/esm/Author-HnYsFTPT.mjs +0 -28
- package/lib/_shared/esm/filter-attrs-DZ7RCEZm.mjs +0 -25
- package/src/components/HeroLink/HeroLink.module.css +0 -44
- package/src/components/HeroLink/HeroLink.tsx +0 -136
- package/src/components/HeroLink/index.ts +0 -2
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/
|
|
17
|
-
[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/link-section.d.ts", "lib/types/components/ArticleSidebar/types/topic.d.ts" and "lib/types/components/ArticleSidebar/types/share.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/topic.d.ts", "lib/types/components/ArticleSidebar/types/link-section.d.ts" and "lib/types/components/ArticleSidebar/types/share.d.ts")
|
|
18
17
|
[1m@arc-ui/components/VideoPlayer[22m (imported by "lib/types/components/CopyLead/CopyLead.d.ts" and "lib/types/components/FeaturePost/FeaturePost.d.ts")
|
|
19
|
-
[1m@arc-ui/components/
|
|
18
|
+
[1m@arc-ui/components/Download[22m (imported by "lib/types/components/DownloadList/DownloadList.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/
|
|
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/
|
|
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,36 @@
|
|
|
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
|
+
|
|
15
|
+
## 3.3.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- eb463d2: Statictics storybook updated and minor styling fix
|
|
20
|
+
- e4e244d: feature post heading and description padding margin fix
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- 268ee7f: updated actionTile stories and fixed css, interface decription added
|
|
25
|
+
- 1a0c61a: remove index signatures and subcomponent filterAttrs"
|
|
26
|
+
- 268ee7f: add JSDoc descriptions, remove className prop from InlineLinkGroup and update tokens in CSS
|
|
27
|
+
- 268ee7f: updated css for actionTile,linkTile and added QuickLink component and removed heroLink
|
|
28
|
+
- 1a0c61a: fix: remove index signatures from component interfaces
|
|
29
|
+
- 268ee7f: rename Quickhelp to InlineLinkGroup and add ActionTile toggle in stories
|
|
30
|
+
- 1a0c61a: fix: enable data-_ and aria-_ attributes passthrough for Author, Quote, FeaturePost, and HeroLink components to support analytics and accessibility tracking
|
|
31
|
+
- 268ee7f: Added ActionTile, LinkTile, and HeroLink components for Help & Support page (ARC-1490)
|
|
32
|
+
- 268ee7f: quicklik renamed to quickhelp, updated css and stories
|
|
33
|
+
|
|
3
34
|
## 3.2.0
|
|
4
35
|
|
|
5
36
|
### Minor Changes
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Accordion = require('../_shared/cjs/Accordion-
|
|
4
|
-
require('../_shared/cjs/
|
|
3
|
+
var Accordion = require('../_shared/cjs/Accordion-QqDoB3pY.cjs');
|
|
4
|
+
require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
|
|
5
5
|
require('react');
|
|
6
|
-
require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
7
6
|
require('../_shared/cjs/index-Bp6Dd2i1.cjs');
|
|
8
7
|
require('@arc-ui/components/Heading');
|
|
9
8
|
require('@arc-ui/components/Text');
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export { A as Accordion } from '../_shared/esm/Accordion-
|
|
2
|
-
import '../_shared/esm/
|
|
1
|
+
export { A as Accordion } from '../_shared/esm/Accordion-DtU7jbCv.mjs';
|
|
2
|
+
import '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
5
4
|
import '../_shared/esm/index-BfTCfPZ1.mjs';
|
|
6
5
|
import '@arc-ui/components/Heading';
|
|
7
6
|
import '@arc-ui/components/Text';
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var index = require('../_shared/cjs/index-Bp6Dd2i1.cjs');
|
|
6
|
-
var filterAttrs = require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
7
6
|
var Icon = require('@arc-ui/components/Icon');
|
|
8
7
|
|
|
9
8
|
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"};
|
|
@@ -18,7 +17,7 @@ const BtIconTickAlt2Px =
|
|
|
18
17
|
|
|
19
18
|
var ActionTile = function (_a) {
|
|
20
19
|
var _b;
|
|
21
|
-
var icon = _a.icon, heading = _a.heading, _c = _a.isActive, isActive = _c === void 0 ? false : _c, onClick = _a.onClick, className = _a.className, props =
|
|
20
|
+
var icon = _a.icon, heading = _a.heading, _c = _a.isActive, isActive = _c === void 0 ? false : _c, onClick = _a.onClick, className = _a.className, props = filterAttrs.__rest(_a, ["icon", "heading", "isActive", "onClick", "className"]);
|
|
22
21
|
var tileClasses = index.classNames(styles["action-tile"], (_b = {},
|
|
23
22
|
_b[styles["action-tile--active"]] = isActive,
|
|
24
23
|
_b), className);
|
|
@@ -28,8 +27,8 @@ var ActionTile = function (_a) {
|
|
|
28
27
|
React.createElement(Icon.Icon, { icon: icon, size: 48 }))),
|
|
29
28
|
React.createElement("h3", { className: styles["action-tile-heading"] }, heading)),
|
|
30
29
|
isActive && (React.createElement("div", { className: styles["action-tile-tick"] },
|
|
31
|
-
React.createElement(Icon.Icon, { icon: BtIconTickAlt2Px, size:
|
|
32
|
-
return (React.createElement("div",
|
|
30
|
+
React.createElement(Icon.Icon, { icon: BtIconTickAlt2Px, size: 28 })))));
|
|
31
|
+
return (React.createElement("div", filterAttrs.__assign({ className: tileClasses, onClick: onClick }, filterAttrs.filterAttrs(props)), content));
|
|
33
32
|
};
|
|
34
33
|
|
|
35
34
|
exports.ActionTile = ActionTile;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
1
|
+
import { _ as __rest, a as __assign, f as filterAttrs } from '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
|
|
2
|
+
import React__default from 'react';
|
|
3
3
|
import { c as classNames } from '../_shared/esm/index-BfTCfPZ1.mjs';
|
|
4
|
-
import { f as filterAttrs } from '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
5
4
|
import { Icon } from '@arc-ui/components/Icon';
|
|
6
5
|
|
|
7
6
|
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"};
|
|
@@ -20,14 +19,14 @@ var ActionTile = function (_a) {
|
|
|
20
19
|
var tileClasses = classNames(styles["action-tile"], (_b = {},
|
|
21
20
|
_b[styles["action-tile--active"]] = isActive,
|
|
22
21
|
_b), className);
|
|
23
|
-
var content = (
|
|
24
|
-
|
|
25
|
-
icon && (
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
isActive && (
|
|
29
|
-
|
|
30
|
-
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));
|
|
31
30
|
};
|
|
32
31
|
|
|
33
32
|
export { ActionTile };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ActionTile-module_action-tile__JPwGb{display:flex;flex-direction:
|
|
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;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,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var index = require('../_shared/cjs/index-Bp6Dd2i1.cjs');
|
|
6
6
|
var Heading = require('@arc-ui/components/Heading');
|
|
@@ -11,8 +11,7 @@ var Link = require('@arc-ui/components/Link');
|
|
|
11
11
|
var Tag = require('@arc-ui/components/Tag');
|
|
12
12
|
var Toast = require('@arc-ui/components/Toast');
|
|
13
13
|
var VerticalSpace = require('@arc-ui/components/VerticalSpace');
|
|
14
|
-
var Author = require('../_shared/cjs/Author-
|
|
15
|
-
require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
14
|
+
var Author = require('../_shared/cjs/Author-aL8YXi7C.cjs');
|
|
16
15
|
require('@arc-ui/components/Grid');
|
|
17
16
|
require('@arc-ui/components/Avatar');
|
|
18
17
|
|
|
@@ -55,12 +54,12 @@ var styles = {"tagGroup":"ArticleSidebar-module_tagGroup__rIPQc","textContent":"
|
|
|
55
54
|
*/
|
|
56
55
|
var ArticleSidebar = function (_a) {
|
|
57
56
|
var _b;
|
|
58
|
-
var author = _a.author, aboutSection = _a.aboutSection, topics = _a.topics, share = _a.share, additionalContent = _a.additionalContent, linkSection = _a.linkSection;
|
|
57
|
+
var author = _a.author, aboutSection = _a.aboutSection, topics = _a.topics, share = _a.share, additionalContent = _a.additionalContent, linkSection = _a.linkSection, props = filterAttrs.__rest(_a, ["author", "aboutSection", "topics", "share", "additionalContent", "linkSection"]);
|
|
59
58
|
var id = React.useId();
|
|
60
59
|
var _c = React.useState(false), showToast = _c[0], setShowToast = _c[1];
|
|
61
60
|
var url = location.href;
|
|
62
|
-
var copyTextToClipBoard = function () { return
|
|
63
|
-
return
|
|
61
|
+
var copyTextToClipBoard = function () { return filterAttrs.__awaiter(void 0, void 0, void 0, function () {
|
|
62
|
+
return filterAttrs.__generator(this, function (_a) {
|
|
64
63
|
switch (_a.label) {
|
|
65
64
|
case 0: return [4 /*yield*/, navigator.clipboard.writeText(url)];
|
|
66
65
|
case 1:
|
|
@@ -71,7 +70,7 @@ var ArticleSidebar = function (_a) {
|
|
|
71
70
|
});
|
|
72
71
|
}); };
|
|
73
72
|
var shareButtons = share
|
|
74
|
-
?
|
|
73
|
+
? filterAttrs.__spreadArray(filterAttrs.__spreadArray([
|
|
75
74
|
{
|
|
76
75
|
isButton: true,
|
|
77
76
|
onClick: copyTextToClipBoard,
|
|
@@ -102,12 +101,12 @@ var ArticleSidebar = function (_a) {
|
|
|
102
101
|
: []), true) : [];
|
|
103
102
|
var hasTopContent = Boolean(author || aboutSection || additionalContent);
|
|
104
103
|
var hasBottomContent = Boolean(linkSection || topics || share);
|
|
105
|
-
return (React.createElement(
|
|
104
|
+
return (React.createElement("div", filterAttrs.__assign({}, filterAttrs.filterAttrs(props)),
|
|
106
105
|
React.createElement("div", { className: index.classNames((_b = {},
|
|
107
106
|
_b[styles.textContent] = hasTopContent,
|
|
108
107
|
_b)) },
|
|
109
108
|
author && (React.createElement(React.Fragment, null,
|
|
110
|
-
React.createElement(Author.Author,
|
|
109
|
+
React.createElement(Author.Author, filterAttrs.__assign({}, author, { avatar: filterAttrs.__assign(filterAttrs.__assign({}, author.avatar), { size: "xl" }) })))),
|
|
111
110
|
aboutSection && (React.createElement(React.Fragment, null,
|
|
112
111
|
author && React.createElement(VerticalSpace.VerticalSpace, { size: "32" }),
|
|
113
112
|
React.createElement(Heading.Heading, { level: aboutSection.headingLevel }, aboutSection.heading),
|
|
@@ -138,7 +137,7 @@ var ArticleSidebar = function (_a) {
|
|
|
138
137
|
linkSection && React.createElement(VerticalSpace.VerticalSpace, { size: "32" }),
|
|
139
138
|
React.createElement(Heading.Heading, { level: topics.headingLevel }, topics.heading),
|
|
140
139
|
React.createElement(VerticalSpace.VerticalSpace, { size: "16" }),
|
|
141
|
-
React.createElement("div", { className: styles.tagGroup }, topics.tags.map(function (tag) { return (React.createElement(Tag.Tag,
|
|
140
|
+
React.createElement("div", { className: styles.tagGroup }, topics.tags.map(function (tag) { return (React.createElement(Tag.Tag, filterAttrs.__assign({ key: "".concat(id, "-").concat(tag.title) }, tag))); })))),
|
|
142
141
|
share && (React.createElement(React.Fragment, null,
|
|
143
142
|
(linkSection || topics) && (React.createElement("div", { "data-testid": "links-topics-content-rule" },
|
|
144
143
|
React.createElement(VerticalSpace.VerticalSpace, { size: "32" }),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as __spreadArray,
|
|
2
|
-
import
|
|
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 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,8 +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-
|
|
13
|
-
import '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
12
|
+
import { A as Author } from '../_shared/esm/Author-CJQFrQM9.mjs';
|
|
14
13
|
import '@arc-ui/components/Grid';
|
|
15
14
|
import '@arc-ui/components/Avatar';
|
|
16
15
|
|
|
@@ -53,7 +52,7 @@ var styles = {"tagGroup":"ArticleSidebar-module_tagGroup__rIPQc","textContent":"
|
|
|
53
52
|
*/
|
|
54
53
|
var ArticleSidebar = function (_a) {
|
|
55
54
|
var _b;
|
|
56
|
-
var author = _a.author, aboutSection = _a.aboutSection, topics = _a.topics, share = _a.share, additionalContent = _a.additionalContent, linkSection = _a.linkSection;
|
|
55
|
+
var author = _a.author, aboutSection = _a.aboutSection, topics = _a.topics, share = _a.share, additionalContent = _a.additionalContent, linkSection = _a.linkSection, props = __rest(_a, ["author", "aboutSection", "topics", "share", "additionalContent", "linkSection"]);
|
|
57
56
|
var id = useId();
|
|
58
57
|
var _c = useState(false), showToast = _c[0], setShowToast = _c[1];
|
|
59
58
|
var url = location.href;
|
|
@@ -100,57 +99,57 @@ var ArticleSidebar = function (_a) {
|
|
|
100
99
|
: []), true) : [];
|
|
101
100
|
var hasTopContent = Boolean(author || aboutSection || additionalContent);
|
|
102
101
|
var hasBottomContent = Boolean(linkSection || topics || share);
|
|
103
|
-
return (
|
|
104
|
-
|
|
102
|
+
return (React__default.createElement("div", __assign({}, filterAttrs(props)),
|
|
103
|
+
React__default.createElement("div", { className: classNames((_b = {},
|
|
105
104
|
_b[styles.textContent] = hasTopContent,
|
|
106
105
|
_b)) },
|
|
107
|
-
author && (
|
|
108
|
-
|
|
109
|
-
aboutSection && (
|
|
110
|
-
author &&
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
additionalContent && (
|
|
115
|
-
(author || aboutSection) &&
|
|
116
|
-
|
|
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) {
|
|
117
116
|
var heading = _a.heading, headingLevel = _a.headingLevel, content = _a.content;
|
|
118
|
-
return (
|
|
119
|
-
|
|
120
|
-
|
|
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)));
|
|
121
120
|
}))))),
|
|
122
|
-
hasTopContent && hasBottomContent && (
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
linkSection && (
|
|
127
|
-
|
|
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),
|
|
128
127
|
linkSection.links.map(function (_a) {
|
|
129
128
|
var text = _a.text, url = _a.url, ariaLabel = _a.ariaLabel;
|
|
130
|
-
return (
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
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))));
|
|
134
133
|
}))),
|
|
135
|
-
topics && (
|
|
136
|
-
linkSection &&
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
share && (
|
|
141
|
-
(linkSection || topics) && (
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
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) {
|
|
148
147
|
var isButton = _a.isButton, ariaLabel = _a.ariaLabel, href = _a.href, icon = _a.icon, onClick = _a.onClick;
|
|
149
|
-
return (
|
|
150
|
-
|
|
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 })));
|
|
151
150
|
})))),
|
|
152
|
-
|
|
153
|
-
|
|
151
|
+
React__default.createElement(Toast, null,
|
|
152
|
+
React__default.createElement(ToastNotification, { status: "success", title: "Copied to clipboard", isOpen: showToast, onOpenChange: function () { return setShowToast(false); } }))));
|
|
154
153
|
};
|
|
155
154
|
|
|
156
155
|
export { ArticleSidebar };
|
package/lib/Author/Author.cjs
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Author = require('../_shared/cjs/Author-
|
|
4
|
-
require('../_shared/cjs/
|
|
3
|
+
var Author = require('../_shared/cjs/Author-aL8YXi7C.cjs');
|
|
4
|
+
require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
|
|
5
5
|
require('react');
|
|
6
|
-
require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
7
6
|
require('@arc-ui/components/Grid');
|
|
8
7
|
require('@arc-ui/components/Avatar');
|
|
9
8
|
require('@arc-ui/components/Heading');
|
package/lib/Author/Author.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export { A as Author } from '../_shared/esm/Author-
|
|
2
|
-
import '../_shared/esm/
|
|
1
|
+
export { A as Author } from '../_shared/esm/Author-CJQFrQM9.mjs';
|
|
2
|
+
import '../_shared/esm/filter-attrs-D-1kWaCP.mjs';
|
|
3
3
|
import 'react';
|
|
4
|
-
import '../_shared/esm/filter-attrs-DZ7RCEZm.mjs';
|
|
5
4
|
import '@arc-ui/components/Grid';
|
|
6
5
|
import '@arc-ui/components/Avatar';
|
|
7
6
|
import '@arc-ui/components/Heading';
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var filterAttrs = require('../_shared/cjs/filter-attrs-C26zOt4_.cjs');
|
|
3
4
|
var React = require('react');
|
|
4
5
|
var index = require('../_shared/cjs/index-Bp6Dd2i1.cjs');
|
|
5
6
|
var TabbedBanner = require('@arc-ui/components/TabbedBanner');
|
|
6
|
-
var SectionHeading = require('../_shared/cjs/SectionHeading-
|
|
7
|
-
require('../_shared/cjs/tslib.es6-BxB9I209.cjs');
|
|
8
|
-
require('../_shared/cjs/filter-attrs-BizjMsy0.cjs');
|
|
7
|
+
var SectionHeading = require('../_shared/cjs/SectionHeading-Dj-dJfv3.cjs');
|
|
9
8
|
require('@arc-ui/components/Text');
|
|
10
9
|
require('@arc-ui/components/VerticalSpace');
|
|
11
10
|
require('@arc-ui/components/Image');
|
|
@@ -15,8 +14,8 @@ var styles = {"bannerWithTabsHeadingCentered":"BannerWithTabs-module_bannerWithT
|
|
|
15
14
|
|
|
16
15
|
var BannerWithTabs = function (_a) {
|
|
17
16
|
var _b;
|
|
18
|
-
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;
|
|
19
|
-
return (React.createElement(
|
|
17
|
+
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 = filterAttrs.__rest(_a, ["tabs", "defaultValue", "heading", "content", "id", "isHeadingWordWrap", "alignTypography", "minHeight", "minHeightM"]);
|
|
18
|
+
return (React.createElement("div", filterAttrs.__assign({}, filterAttrs.filterAttrs(props)),
|
|
20
19
|
React.createElement("div", { className: index.classNames((_b = {},
|
|
21
20
|
_b[styles.bannerWithTabsHeadingCentered] = alignTypography === "center",
|
|
22
21
|
_b)) },
|