@arc-ui/community-components 3.5.0 → 3.6.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 +30 -30
- package/CHANGELOG.md +10 -0
- package/lib/BannerWithTabs/BannerWithTabs.cjs +2 -2
- package/lib/BannerWithTabs/BannerWithTabs.mjs +2 -2
- package/lib/Highlights/Highlights.cjs +1 -1
- package/lib/Highlights/Highlights.mjs +1 -1
- package/lib/index.cjs +3 -3
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +5 -1
- package/lib/index.d.mts +5 -1
- package/lib/index.mjs +3 -3
- package/lib/index.mjs.map +1 -1
- package/package.json +4 -4
- package/src/components/BannerWithTabs/BannerWithTabs.tsx +7 -0
- package/src/components/Highlights/Highlights.tsx +2 -1
- package/versions.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @arc-ui/community-components@3.
|
|
2
|
+
> @arc-ui/community-components@3.6.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 8 months old. Please run:
|
|
@@ -7,14 +7,14 @@ Browserslist: browsers data (caniuse-lite) is 8 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 [1m8.1s[22m[39m
|
|
11
11
|
[36m
|
|
12
12
|
[1m./lib/types/index.d.ts[22m → [1mlib/index.d.mts, lib/index.d.cts[22m...[39m
|
|
13
13
|
[1m[33m(!) Unresolved dependencies[39m[22m
|
|
14
14
|
[90mhttps://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency[39m
|
|
15
|
-
[1m@arc-ui/components/Heading[22m (imported by "lib/types/components/CopyLead/CopyLead.d.ts", "lib/types/components/FeaturePost/FeaturePost.d.ts", "lib/types/components/PromoListing/PromoListing.d.ts", "lib/types/components/Summary/Summary.d.ts", "lib/types/components/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/share.d.ts", "lib/types/components/ArticleSidebar/types/topic.d.ts" and "lib/types/components/ArticleSidebar/types/link-section.d.ts")
|
|
16
|
-
[1m@arc-ui/components/VideoPlayer[22m (imported by "lib/types/components/CopyLead/CopyLead.d.ts" and "lib/types/components/FeaturePost/FeaturePost.d.ts")
|
|
17
15
|
[1m@arc-ui/components/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/BannerWithTabs/BannerWithTabs.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/share.d.ts", "lib/types/components/ArticleSidebar/types/link-section.d.ts" and "lib/types/components/ArticleSidebar/types/topic.d.ts")
|
|
17
|
+
[1m@arc-ui/components/VideoPlayer[22m (imported by "lib/types/components/CopyLead/CopyLead.d.ts" and "lib/types/components/FeaturePost/FeaturePost.d.ts")
|
|
18
18
|
[1m@arc-ui/components/Download[22m (imported by "lib/types/components/DownloadList/DownloadList.d.ts")
|
|
19
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
20
|
[1m@arc-ui/components/MediaCard[22m (imported by "lib/types/components/PromoListing/PromoListing.d.ts" and "lib/types/components/BusinessSegmentSwitcher/types/types.d.ts")
|
|
@@ -29,7 +29,7 @@ Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
|
|
|
29
29
|
[1m@arc-ui/components/AppButton[22m (imported by "lib/types/components/FeaturePost/types/feature-post-app-button-footer.d.ts")
|
|
30
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
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 [
|
|
32
|
+
[32mcreated [1mlib/index.d.mts, lib/index.d.cts[22m in [1m199ms[22m[39m
|
|
33
33
|
[36m
|
|
34
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/BusinessSegmentSwitcher/index.ts, ./src/components/ContentInfoWidget/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FAQs/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/InlineLinkGroup/index.ts, ./src/components/LinkTile/index.ts, ./src/components/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
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
|
|
@@ -38,20 +38,14 @@ Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
|
|
|
38
38
|
^
|
|
39
39
|
2: import players from "./players.js";
|
|
40
40
|
3: import { createReactPlayer } from "./ReactPlayer.js";[39m
|
|
41
|
-
[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
|
|
42
|
-
[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
|
|
43
|
-
[90m1: "use client";
|
|
44
|
-
^
|
|
45
|
-
2:
|
|
46
|
-
3: // dist/react.ts[39m
|
|
47
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
|
|
48
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
|
|
49
43
|
[90m1: "use client";
|
|
50
44
|
^
|
|
51
45
|
2:
|
|
52
46
|
3: // dist/react.ts[39m
|
|
53
|
-
[1m[33m(!) ../../node_modules/.pnpm/
|
|
54
|
-
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/
|
|
47
|
+
[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
|
|
48
|
+
[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
|
|
55
49
|
[90m1: "use client";
|
|
56
50
|
^
|
|
57
51
|
2:
|
|
@@ -62,14 +56,14 @@ Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
|
|
|
62
56
|
^
|
|
63
57
|
2:
|
|
64
58
|
3: // dist/react.ts[39m
|
|
65
|
-
[1m[33m(!) ../../node_modules/.pnpm/
|
|
66
|
-
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/
|
|
59
|
+
[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
|
|
60
|
+
[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
|
|
67
61
|
[90m1: "use client";
|
|
68
62
|
^
|
|
69
63
|
2:
|
|
70
64
|
3: // dist/react.ts[39m
|
|
71
|
-
[1m[33m(!) ../../node_modules/.pnpm/
|
|
72
|
-
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/
|
|
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
|
|
73
67
|
[90m1: "use client";
|
|
74
68
|
^
|
|
75
69
|
2:
|
|
@@ -80,8 +74,14 @@ Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
|
|
|
80
74
|
^
|
|
81
75
|
2:
|
|
82
76
|
3: // dist/react.ts[39m
|
|
83
|
-
[1m[33m(!) ../../node_modules/.pnpm/
|
|
84
|
-
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/
|
|
77
|
+
[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
|
|
78
|
+
[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
|
|
79
|
+
[90m1: "use client";
|
|
80
|
+
^
|
|
81
|
+
2:
|
|
82
|
+
3: // dist/react.ts[39m
|
|
83
|
+
[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
|
|
84
|
+
[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
|
|
85
85
|
[90m1: "use client";
|
|
86
86
|
^
|
|
87
87
|
2:
|
|
@@ -91,7 +91,7 @@ Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
|
|
|
91
91
|
[90m1: "use client";import m,{useState as pe,useRef as Ee}from"react";import{MaxResolution as Le,MinResolution as Ae,Renditi...
|
|
92
92
|
^
|
|
93
93
|
2: //# sourceMappingURL=index.mjs.map[39m
|
|
94
|
-
[32mcreated [1mlib[22m in [
|
|
94
|
+
[32mcreated [1mlib[22m in [1m10.1s[22m[39m
|
|
95
95
|
[36m
|
|
96
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/BusinessSegmentSwitcher/index.ts, ./src/components/ContentInfoWidget/index.ts, ./src/components/CopyLead/index.ts, ./src/components/DownloadList/index.ts, ./src/components/FAQs/index.ts, ./src/components/FeaturePost/index.ts, ./src/components/Highlights/index.ts, ./src/components/InlineLinkGroup/index.ts, ./src/components/LinkTile/index.ts, ./src/components/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
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
|
|
@@ -100,14 +100,14 @@ Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
|
|
|
100
100
|
^
|
|
101
101
|
2: import players from "./players.js";
|
|
102
102
|
3: import { createReactPlayer } from "./ReactPlayer.js";[39m
|
|
103
|
-
[1m[33m(!) ../../node_modules/.pnpm/
|
|
104
|
-
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/
|
|
103
|
+
[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
|
|
104
|
+
[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
|
|
105
105
|
[90m1: "use client";
|
|
106
106
|
^
|
|
107
107
|
2:
|
|
108
108
|
3: // dist/react.ts[39m
|
|
109
|
-
[1m[33m(!) ../../node_modules/.pnpm/
|
|
110
|
-
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/
|
|
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
111
|
[90m1: "use client";
|
|
112
112
|
^
|
|
113
113
|
2:
|
|
@@ -118,8 +118,8 @@ Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
|
|
|
118
118
|
^
|
|
119
119
|
2:
|
|
120
120
|
3: // dist/react.ts[39m
|
|
121
|
-
[1m[33m(!) ../../node_modules/.pnpm/
|
|
122
|
-
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/
|
|
121
|
+
[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
|
|
122
|
+
[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
|
|
123
123
|
[90m1: "use client";
|
|
124
124
|
^
|
|
125
125
|
2:
|
|
@@ -130,8 +130,8 @@ Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
|
|
|
130
130
|
^
|
|
131
131
|
2:
|
|
132
132
|
3: // dist/react.ts[39m
|
|
133
|
-
[1m[33m(!) ../../node_modules/.pnpm/
|
|
134
|
-
[1m/builds/enterprise/frontend/arc-community/node_modules/.pnpm/
|
|
133
|
+
[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
|
|
134
|
+
[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
|
|
135
135
|
[90m1: "use client";
|
|
136
136
|
^
|
|
137
137
|
2:
|
|
@@ -153,11 +153,11 @@ Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
|
|
|
153
153
|
[90m1: "use client";import m,{useState as pe,useRef as Ee}from"react";import{MaxResolution as Le,MinResolution as Ae,Renditi...
|
|
154
154
|
^
|
|
155
155
|
2: //# sourceMappingURL=index.mjs.map[39m
|
|
156
|
-
[32mcreated [1mlib[22m in [
|
|
156
|
+
[32mcreated [1mlib[22m in [1m9.3s[22m[39m
|
|
157
157
|
Browserslist: browsers data (caniuse-lite) is 8 months old. Please run:
|
|
158
158
|
npx update-browserslist-db@latest
|
|
159
159
|
Why you should do it regularly: https://github.com/browserslist/update-db#readme
|
|
160
160
|
|
|
161
|
-
> @arc-ui/community-components@3.
|
|
161
|
+
> @arc-ui/community-components@3.6.0 build:clean /builds/enterprise/frontend/arc-community/packages/components
|
|
162
162
|
> rimraf ./lib/types ./lib/styles.js ./lib/index.js ./lib/index.js.map
|
|
163
163
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @arc-ui/community-components
|
|
2
2
|
|
|
3
|
+
## 3.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- c61d7d8: Added headingLevel to BannerWithTabs
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- c61d7d8: Add `target` to `HighlightsCTAProps` from `ButtonV2Props`, allowing the CTA button to open links in a new tab.
|
|
12
|
+
|
|
3
13
|
## 3.5.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
|
@@ -15,12 +15,12 @@ var styles = {"bannerWithTabsHeadingCentered":"BannerWithTabs-module_bannerWithT
|
|
|
15
15
|
|
|
16
16
|
var BannerWithTabs = function (_a) {
|
|
17
17
|
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, props = tslib_es6.__rest(_a, ["tabs", "defaultValue", "heading", "content", "id", "isHeadingWordWrap", "alignTypography", "minHeight", "minHeightM"]);
|
|
18
|
+
var tabs = _a.tabs, defaultValue = _a.defaultValue, heading = _a.heading, headingLevel = _a.headingLevel, 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 = tslib_es6.__rest(_a, ["tabs", "defaultValue", "heading", "headingLevel", "content", "id", "isHeadingWordWrap", "alignTypography", "minHeight", "minHeightM"]);
|
|
19
19
|
return (React.createElement("div", tslib_es6.__assign({}, filterAttrs.filterAttrs(props)),
|
|
20
20
|
React.createElement("div", { className: index.classNames((_b = {},
|
|
21
21
|
_b[styles.bannerWithTabsHeadingCentered] = alignTypography === "center",
|
|
22
22
|
_b)) },
|
|
23
|
-
React.createElement(SectionHeading.SectionHeading, { id: id, isHeadingWordWrap: isHeadingWordWrap, heading: heading, content: content, isPadded: alignTypography === "left" ? true : false })),
|
|
23
|
+
React.createElement(SectionHeading.SectionHeading, { id: id, isHeadingWordWrap: isHeadingWordWrap, heading: heading, headingLevel: headingLevel, content: content, isPadded: alignTypography === "left" ? true : false })),
|
|
24
24
|
React.createElement(TabbedBanner.TabbedBanner, { minHeight: minHeight, minHeightM: minHeightM, tabs: tabs, defaultValue: defaultValue })));
|
|
25
25
|
};
|
|
26
26
|
|
|
@@ -13,12 +13,12 @@ var styles = {"bannerWithTabsHeadingCentered":"BannerWithTabs-module_bannerWithT
|
|
|
13
13
|
|
|
14
14
|
var BannerWithTabs = function (_a) {
|
|
15
15
|
var _b;
|
|
16
|
-
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
|
+
var tabs = _a.tabs, defaultValue = _a.defaultValue, heading = _a.heading, headingLevel = _a.headingLevel, 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", "headingLevel", "content", "id", "isHeadingWordWrap", "alignTypography", "minHeight", "minHeightM"]);
|
|
17
17
|
return (React__default.createElement("div", __assign({}, filterAttrs(props)),
|
|
18
18
|
React__default.createElement("div", { className: classNames((_b = {},
|
|
19
19
|
_b[styles.bannerWithTabsHeadingCentered] = alignTypography === "center",
|
|
20
20
|
_b)) },
|
|
21
|
-
React__default.createElement(SectionHeading, { id: id, isHeadingWordWrap: isHeadingWordWrap, heading: heading, content: content, isPadded: alignTypography === "left" ? true : false })),
|
|
21
|
+
React__default.createElement(SectionHeading, { id: id, isHeadingWordWrap: isHeadingWordWrap, heading: heading, headingLevel: headingLevel, content: content, isPadded: alignTypography === "left" ? true : false })),
|
|
22
22
|
React__default.createElement(TabbedBanner, { minHeight: minHeight, minHeightM: minHeightM, tabs: tabs, defaultValue: defaultValue })));
|
|
23
23
|
};
|
|
24
24
|
|
|
@@ -59,7 +59,7 @@ var Highlights = function (_a) {
|
|
|
59
59
|
React.createElement(HighlightList, { listItems: listItems, columns: columns, isSmallIcon: isMaxWidthArcBreakpointXs, headingLevel: headingLevel }),
|
|
60
60
|
cta && (React.createElement(React.Fragment, null,
|
|
61
61
|
React.createElement(VerticalSpace.VerticalSpace, { size: "24" }),
|
|
62
|
-
React.createElement(ButtonV2.ButtonV2, { label: cta.label, href: cta.href, onClick: cta.onClick, size: "m", ariaLabel: cta.ariaLabel, buttonStyle: cta.buttonStyle, icon: cta.buttonStyle === "compact"
|
|
62
|
+
React.createElement(ButtonV2.ButtonV2, { label: cta.label, href: cta.href, onClick: cta.onClick, target: cta.target, size: "m", ariaLabel: cta.ariaLabel, buttonStyle: cta.buttonStyle, icon: cta.buttonStyle === "compact"
|
|
63
63
|
? ((_b = cta.icon) !== null && _b !== void 0 ? _b : BtIconArrowRightFill.BtIconArrowRightFill)
|
|
64
64
|
: undefined, iconActive: cta.buttonStyle === "compact"
|
|
65
65
|
? ((_c = cta.iconActive) !== null && _c !== void 0 ? _c : BtIconArrowRightFill.BtIconArrowRightFill)
|
|
@@ -57,7 +57,7 @@ var Highlights = function (_a) {
|
|
|
57
57
|
React__default.createElement(HighlightList, { listItems: listItems, columns: columns, isSmallIcon: isMaxWidthArcBreakpointXs, headingLevel: headingLevel }),
|
|
58
58
|
cta && (React__default.createElement(React__default.Fragment, null,
|
|
59
59
|
React__default.createElement(VerticalSpace, { size: "24" }),
|
|
60
|
-
React__default.createElement(ButtonV2, { label: cta.label, href: cta.href, onClick: cta.onClick, size: "m", ariaLabel: cta.ariaLabel, buttonStyle: cta.buttonStyle, icon: cta.buttonStyle === "compact"
|
|
60
|
+
React__default.createElement(ButtonV2, { label: cta.label, href: cta.href, onClick: cta.onClick, target: cta.target, size: "m", ariaLabel: cta.ariaLabel, buttonStyle: cta.buttonStyle, icon: cta.buttonStyle === "compact"
|
|
61
61
|
? ((_b = cta.icon) !== null && _b !== void 0 ? _b : BtIconArrowRightFill)
|
|
62
62
|
: undefined, iconActive: cta.buttonStyle === "compact"
|
|
63
63
|
? ((_c = cta.iconActive) !== null && _c !== void 0 ? _c : BtIconArrowRightFill)
|
package/lib/index.cjs
CHANGED
|
@@ -2833,7 +2833,7 @@ var Highlights = function (_a) {
|
|
|
2833
2833
|
React.createElement(HighlightList, { listItems: listItems, columns: columns, isSmallIcon: isMaxWidthArcBreakpointXs, headingLevel: headingLevel }),
|
|
2834
2834
|
cta && (React.createElement(React.Fragment, null,
|
|
2835
2835
|
React.createElement(VerticalSpace.VerticalSpace, { size: "24" }),
|
|
2836
|
-
React.createElement(ButtonV2.ButtonV2, { label: cta.label, href: cta.href, onClick: cta.onClick, size: "m", ariaLabel: cta.ariaLabel, buttonStyle: cta.buttonStyle, icon: cta.buttonStyle === "compact"
|
|
2836
|
+
React.createElement(ButtonV2.ButtonV2, { label: cta.label, href: cta.href, onClick: cta.onClick, target: cta.target, size: "m", ariaLabel: cta.ariaLabel, buttonStyle: cta.buttonStyle, icon: cta.buttonStyle === "compact"
|
|
2837
2837
|
? ((_b = cta.icon) !== null && _b !== void 0 ? _b : BtIconArrowRightFill)
|
|
2838
2838
|
: undefined, iconActive: cta.buttonStyle === "compact"
|
|
2839
2839
|
? ((_c = cta.iconActive) !== null && _c !== void 0 ? _c : BtIconArrowRightFill)
|
|
@@ -3054,12 +3054,12 @@ var styles$d = {"bannerWithTabsHeadingCentered":"BannerWithTabs-module_bannerWit
|
|
|
3054
3054
|
|
|
3055
3055
|
var BannerWithTabs = function (_a) {
|
|
3056
3056
|
var _b;
|
|
3057
|
-
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"]);
|
|
3057
|
+
var tabs = _a.tabs, defaultValue = _a.defaultValue, heading = _a.heading, headingLevel = _a.headingLevel, 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", "headingLevel", "content", "id", "isHeadingWordWrap", "alignTypography", "minHeight", "minHeightM"]);
|
|
3058
3058
|
return (React.createElement("div", __assign({}, filterAttrs(props)),
|
|
3059
3059
|
React.createElement("div", { className: classNames((_b = {},
|
|
3060
3060
|
_b[styles$d.bannerWithTabsHeadingCentered] = alignTypography === "center",
|
|
3061
3061
|
_b)) },
|
|
3062
|
-
React.createElement(SectionHeading, { id: id, isHeadingWordWrap: isHeadingWordWrap, heading: heading, content: content, isPadded: alignTypography === "left" ? true : false })),
|
|
3062
|
+
React.createElement(SectionHeading, { id: id, isHeadingWordWrap: isHeadingWordWrap, heading: heading, headingLevel: headingLevel, content: content, isPadded: alignTypography === "left" ? true : false })),
|
|
3063
3063
|
React.createElement(TabbedBanner.TabbedBanner, { minHeight: minHeight, minHeightM: minHeightM, tabs: tabs, defaultValue: defaultValue })));
|
|
3064
3064
|
};
|
|
3065
3065
|
|