@opensite/ui 3.1.1 → 3.1.3
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/dist/cta-video-background-hero.cjs +16 -6
- package/dist/cta-video-background-hero.d.cts +12 -4
- package/dist/cta-video-background-hero.d.ts +12 -4
- package/dist/cta-video-background-hero.js +16 -6
- package/dist/hero-conversion-video-play.cjs +8 -3
- package/dist/hero-conversion-video-play.d.cts +8 -4
- package/dist/hero-conversion-video-play.d.ts +8 -4
- package/dist/hero-conversion-video-play.js +8 -3
- package/dist/hero-creative-studio-stacked.cjs +10 -4
- package/dist/hero-creative-studio-stacked.d.cts +12 -4
- package/dist/hero-creative-studio-stacked.d.ts +12 -4
- package/dist/hero-creative-studio-stacked.js +10 -4
- package/dist/hero-mentorship-video-split.cjs +13 -6
- package/dist/hero-mentorship-video-split.d.cts +12 -8
- package/dist/hero-mentorship-video-split.d.ts +12 -8
- package/dist/hero-mentorship-video-split.js +13 -6
- package/dist/hero-presentation-platform-video.cjs +8 -3
- package/dist/hero-presentation-platform-video.d.cts +11 -6
- package/dist/hero-presentation-platform-video.d.ts +11 -6
- package/dist/hero-presentation-platform-video.js +8 -3
- package/dist/hero-productivity-launcher-video.cjs +8 -3
- package/dist/hero-productivity-launcher-video.d.cts +11 -6
- package/dist/hero-productivity-launcher-video.d.ts +11 -6
- package/dist/hero-productivity-launcher-video.js +8 -3
- package/dist/hero-software-growth-video-dialog.cjs +10 -4
- package/dist/hero-software-growth-video-dialog.d.cts +14 -3
- package/dist/hero-software-growth-video-dialog.d.ts +14 -3
- package/dist/hero-software-growth-video-dialog.js +10 -4
- package/dist/hero-video-background-dark.cjs +8 -3
- package/dist/hero-video-background-dark.d.cts +9 -5
- package/dist/hero-video-background-dark.d.ts +9 -5
- package/dist/hero-video-background-dark.js +8 -3
- package/dist/{hero-video-dialog-gradient-CLamMYZP.d.ts → hero-video-dialog-gradient-DBQ2Iqe3.d.ts} +14 -3
- package/dist/{hero-video-dialog-gradient-DOlgSdif.d.cts → hero-video-dialog-gradient-z-muf_Dc.d.cts} +14 -3
- package/dist/hero-video-dialog-gradient.cjs +10 -4
- package/dist/hero-video-dialog-gradient.d.cts +1 -1
- package/dist/hero-video-dialog-gradient.d.ts +1 -1
- package/dist/hero-video-dialog-gradient.js +10 -4
- package/dist/hero-video-overlay-stars.cjs +8 -3
- package/dist/hero-video-overlay-stars.d.cts +9 -5
- package/dist/hero-video-overlay-stars.d.ts +9 -5
- package/dist/hero-video-overlay-stars.js +8 -3
- package/dist/registry.cjs +99 -39
- package/dist/registry.js +99 -39
- package/package.json +2 -2
package/dist/registry.js
CHANGED
|
@@ -12500,6 +12500,8 @@ function CtaVideoBackgroundHero({
|
|
|
12500
12500
|
description,
|
|
12501
12501
|
actions,
|
|
12502
12502
|
actionsSlot,
|
|
12503
|
+
modalVideo,
|
|
12504
|
+
backgroundVideo,
|
|
12503
12505
|
modalVideoUrl,
|
|
12504
12506
|
backgroundVideoUrl,
|
|
12505
12507
|
modalSlot,
|
|
@@ -12606,15 +12608,19 @@ function CtaVideoBackgroundHero({
|
|
|
12606
12608
|
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 20 })
|
|
12607
12609
|
}
|
|
12608
12610
|
),
|
|
12609
|
-
modalVideoUrl && /* @__PURE__ */ jsx(
|
|
12611
|
+
(modalVideo || modalVideoUrl) && /* @__PURE__ */ jsx(
|
|
12610
12612
|
Video,
|
|
12611
12613
|
{
|
|
12612
|
-
src: modalVideoUrl,
|
|
12614
|
+
src: modalVideo?.video?.src || modalVideoUrl,
|
|
12615
|
+
masterPlaylistUrl: modalVideo?.video?.masterPlaylistUrl,
|
|
12616
|
+
fallbackSrc: modalVideo?.video?.fallbackSrc,
|
|
12617
|
+
poster: modalVideo?.video?.poster || modalVideo?.image?.src,
|
|
12613
12618
|
controls: true,
|
|
12614
12619
|
autoPlay: true,
|
|
12615
12620
|
skinClasses: skinClasses || void 0,
|
|
12616
12621
|
skinStyle: skinStyle || void 0,
|
|
12617
|
-
className: "h-full w-full rounded-lg"
|
|
12622
|
+
className: "h-full w-full rounded-lg",
|
|
12623
|
+
...modalVideo?.video
|
|
12618
12624
|
}
|
|
12619
12625
|
)
|
|
12620
12626
|
]
|
|
@@ -12641,16 +12647,20 @@ function CtaVideoBackgroundHero({
|
|
|
12641
12647
|
videoWrapperClassName
|
|
12642
12648
|
),
|
|
12643
12649
|
children: [
|
|
12644
|
-
backgroundVideoUrl && /* @__PURE__ */ jsx(
|
|
12650
|
+
(backgroundVideo || backgroundVideoUrl) && /* @__PURE__ */ jsx(
|
|
12645
12651
|
Video,
|
|
12646
12652
|
{
|
|
12647
|
-
src: backgroundVideoUrl,
|
|
12653
|
+
src: backgroundVideo?.video?.src || backgroundVideoUrl,
|
|
12654
|
+
masterPlaylistUrl: backgroundVideo?.video?.masterPlaylistUrl,
|
|
12655
|
+
fallbackSrc: backgroundVideo?.video?.fallbackSrc,
|
|
12656
|
+
poster: backgroundVideo?.video?.poster || backgroundVideo?.image?.src,
|
|
12648
12657
|
autoPlay: true,
|
|
12649
12658
|
loop: true,
|
|
12650
12659
|
muted: true,
|
|
12651
12660
|
playsInline: true,
|
|
12652
12661
|
controls: false,
|
|
12653
|
-
className: "absolute inset-0 h-full w-full object-cover"
|
|
12662
|
+
className: "absolute inset-0 h-full w-full object-cover",
|
|
12663
|
+
...backgroundVideo?.video
|
|
12654
12664
|
}
|
|
12655
12665
|
),
|
|
12656
12666
|
/* @__PURE__ */ jsx(
|
|
@@ -52535,6 +52545,7 @@ function HeroVideoBackgroundDark({
|
|
|
52535
52545
|
actions,
|
|
52536
52546
|
actionsSlot,
|
|
52537
52547
|
actionsClassName,
|
|
52548
|
+
backgroundVideo,
|
|
52538
52549
|
videoSrc,
|
|
52539
52550
|
videoSlot,
|
|
52540
52551
|
background,
|
|
@@ -52555,18 +52566,22 @@ function HeroVideoBackgroundDark({
|
|
|
52555
52566
|
/* @__PURE__ */ jsx(
|
|
52556
52567
|
Video,
|
|
52557
52568
|
{
|
|
52558
|
-
src: videoSrc,
|
|
52569
|
+
src: backgroundVideo?.video?.src || videoSrc,
|
|
52570
|
+
masterPlaylistUrl: backgroundVideo?.video?.masterPlaylistUrl,
|
|
52571
|
+
fallbackSrc: backgroundVideo?.video?.fallbackSrc,
|
|
52572
|
+
poster: backgroundVideo?.video?.poster || backgroundVideo?.image?.src,
|
|
52559
52573
|
loop: true,
|
|
52560
52574
|
playsInline: true,
|
|
52561
52575
|
autoPlay: true,
|
|
52562
52576
|
muted: true,
|
|
52563
52577
|
controls: false,
|
|
52564
|
-
className: "absolute top-0 left-0 size-full object-cover"
|
|
52578
|
+
className: "absolute top-0 left-0 size-full object-cover",
|
|
52579
|
+
...backgroundVideo?.video
|
|
52565
52580
|
}
|
|
52566
52581
|
),
|
|
52567
52582
|
/* @__PURE__ */ jsx(GradientOverlay, { intensity: videoOverlayIntensity })
|
|
52568
52583
|
] });
|
|
52569
|
-
}, [videoSlot, videoSrc, videoOverlayIntensity]);
|
|
52584
|
+
}, [videoSlot, backgroundVideo, videoSrc, videoOverlayIntensity]);
|
|
52570
52585
|
return /* @__PURE__ */ jsx(
|
|
52571
52586
|
Section,
|
|
52572
52587
|
{
|
|
@@ -54358,6 +54373,7 @@ function HeroPresentationPlatformVideo({
|
|
|
54358
54373
|
actions,
|
|
54359
54374
|
actionsSlot,
|
|
54360
54375
|
actionsClassName,
|
|
54376
|
+
backgroundVideo,
|
|
54361
54377
|
videoSrc,
|
|
54362
54378
|
videoSlot,
|
|
54363
54379
|
background,
|
|
@@ -54426,7 +54442,10 @@ function HeroPresentationPlatformVideo({
|
|
|
54426
54442
|
children: /* @__PURE__ */ jsx(
|
|
54427
54443
|
Video,
|
|
54428
54444
|
{
|
|
54429
|
-
src: videoSrc,
|
|
54445
|
+
src: backgroundVideo?.video?.src || videoSrc,
|
|
54446
|
+
masterPlaylistUrl: backgroundVideo?.video?.masterPlaylistUrl,
|
|
54447
|
+
fallbackSrc: backgroundVideo?.video?.fallbackSrc,
|
|
54448
|
+
poster: backgroundVideo?.video?.poster || backgroundVideo?.image?.src,
|
|
54430
54449
|
autoPlay: true,
|
|
54431
54450
|
loop: true,
|
|
54432
54451
|
muted: true,
|
|
@@ -54434,12 +54453,13 @@ function HeroPresentationPlatformVideo({
|
|
|
54434
54453
|
controls: false,
|
|
54435
54454
|
"data-wf-ignore": "true",
|
|
54436
54455
|
"data-object-fit": "cover",
|
|
54437
|
-
className: "h-full w-full rounded-tl-xl object-cover"
|
|
54456
|
+
className: "h-full w-full rounded-tl-xl object-cover",
|
|
54457
|
+
...backgroundVideo?.video
|
|
54438
54458
|
}
|
|
54439
54459
|
)
|
|
54440
54460
|
}
|
|
54441
54461
|
);
|
|
54442
|
-
}, [videoSlot, videoSrc, videoClassName]);
|
|
54462
|
+
}, [videoSlot, backgroundVideo, videoSrc, videoClassName]);
|
|
54443
54463
|
return /* @__PURE__ */ jsx(
|
|
54444
54464
|
Section,
|
|
54445
54465
|
{
|
|
@@ -55054,6 +55074,8 @@ function HeroSoftwareGrowthVideoDialog({
|
|
|
55054
55074
|
actions,
|
|
55055
55075
|
showcaseImages,
|
|
55056
55076
|
showcaseImagesSlot,
|
|
55077
|
+
modalVideo,
|
|
55078
|
+
videoDialogTitle,
|
|
55057
55079
|
videoDialog,
|
|
55058
55080
|
onVideoClick,
|
|
55059
55081
|
background,
|
|
@@ -55171,7 +55193,7 @@ function HeroSoftwareGrowthVideoDialog({
|
|
|
55171
55193
|
}
|
|
55172
55194
|
) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
|
|
55173
55195
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col md:flex-row flex-wrap gap-4", children: [
|
|
55174
|
-
videoAction && videoDialog?.videoUrl ? /* @__PURE__ */ jsx(
|
|
55196
|
+
videoAction && (modalVideo || videoDialog?.videoUrl) ? /* @__PURE__ */ jsx(
|
|
55175
55197
|
ActionComponent,
|
|
55176
55198
|
{
|
|
55177
55199
|
action: {
|
|
@@ -55194,7 +55216,7 @@ function HeroSoftwareGrowthVideoDialog({
|
|
|
55194
55216
|
videoAspectRatio === "vertical" ? "sm:max-w-100" : "sm:max-w-200"
|
|
55195
55217
|
),
|
|
55196
55218
|
children: [
|
|
55197
|
-
/* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: videoDialog?.title }) }),
|
|
55219
|
+
/* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: videoDialogTitle || videoDialog?.title }) }),
|
|
55198
55220
|
/* @__PURE__ */ jsx(
|
|
55199
55221
|
"div",
|
|
55200
55222
|
{
|
|
@@ -55202,12 +55224,16 @@ function HeroSoftwareGrowthVideoDialog({
|
|
|
55202
55224
|
children: /* @__PURE__ */ jsx(
|
|
55203
55225
|
Video,
|
|
55204
55226
|
{
|
|
55205
|
-
src: videoDialog?.videoUrl,
|
|
55227
|
+
src: modalVideo?.video?.src || videoDialog?.videoUrl,
|
|
55228
|
+
masterPlaylistUrl: modalVideo?.video?.masterPlaylistUrl,
|
|
55229
|
+
fallbackSrc: modalVideo?.video?.fallbackSrc,
|
|
55230
|
+
poster: modalVideo?.video?.poster || modalVideo?.image?.src,
|
|
55206
55231
|
controls: true,
|
|
55207
55232
|
autoPlay: true,
|
|
55208
55233
|
skinClasses: skinClasses || void 0,
|
|
55209
55234
|
skinStyle: skinStyle || void 0,
|
|
55210
|
-
className: "h-full w-full rounded-lg"
|
|
55235
|
+
className: "h-full w-full rounded-lg",
|
|
55236
|
+
...modalVideo?.video
|
|
55211
55237
|
}
|
|
55212
55238
|
)
|
|
55213
55239
|
}
|
|
@@ -55222,6 +55248,7 @@ function HeroConversionVideoPlay({
|
|
|
55222
55248
|
description,
|
|
55223
55249
|
primaryAction,
|
|
55224
55250
|
videoButtonLabel = "Play Video",
|
|
55251
|
+
modalVideo,
|
|
55225
55252
|
videoUrl,
|
|
55226
55253
|
videoDialogTitle,
|
|
55227
55254
|
actionsSlot,
|
|
@@ -55279,7 +55306,7 @@ function HeroConversionVideoPlay({
|
|
|
55279
55306
|
}
|
|
55280
55307
|
);
|
|
55281
55308
|
})(),
|
|
55282
|
-
videoUrl && /* @__PURE__ */ jsxs(
|
|
55309
|
+
(modalVideo || videoUrl) && /* @__PURE__ */ jsxs(
|
|
55283
55310
|
Pressable,
|
|
55284
55311
|
{
|
|
55285
55312
|
onClick: () => setIsVideoOpen(true),
|
|
@@ -55392,12 +55419,16 @@ function HeroConversionVideoPlay({
|
|
|
55392
55419
|
/* @__PURE__ */ jsx("div", { className: "aspect-video", children: /* @__PURE__ */ jsx(
|
|
55393
55420
|
Video,
|
|
55394
55421
|
{
|
|
55395
|
-
src: videoUrl,
|
|
55422
|
+
src: modalVideo?.video?.src || videoUrl,
|
|
55423
|
+
masterPlaylistUrl: modalVideo?.video?.masterPlaylistUrl,
|
|
55424
|
+
fallbackSrc: modalVideo?.video?.fallbackSrc,
|
|
55425
|
+
poster: modalVideo?.video?.poster || modalVideo?.image?.src,
|
|
55396
55426
|
controls: true,
|
|
55397
55427
|
autoPlay: true,
|
|
55398
55428
|
skinClasses: skinClasses || void 0,
|
|
55399
55429
|
skinStyle: skinStyle || void 0,
|
|
55400
|
-
className: "h-full w-full rounded-lg"
|
|
55430
|
+
className: "h-full w-full rounded-lg",
|
|
55431
|
+
...modalVideo?.video
|
|
55401
55432
|
}
|
|
55402
55433
|
) })
|
|
55403
55434
|
] }) })
|
|
@@ -55561,6 +55592,7 @@ function HeroVideoOverlayStars({
|
|
|
55561
55592
|
contentClassName,
|
|
55562
55593
|
className,
|
|
55563
55594
|
headingClassName,
|
|
55595
|
+
backgroundVideo,
|
|
55564
55596
|
videoSrc,
|
|
55565
55597
|
videoSlot
|
|
55566
55598
|
}) {
|
|
@@ -55578,16 +55610,20 @@ function HeroVideoOverlayStars({
|
|
|
55578
55610
|
return /* @__PURE__ */ jsx("div", { className: "absolute inset-0 size-full before:absolute brightness-50", children: /* @__PURE__ */ jsx(
|
|
55579
55611
|
Video,
|
|
55580
55612
|
{
|
|
55581
|
-
src: videoSrc,
|
|
55613
|
+
src: backgroundVideo?.video?.src || videoSrc,
|
|
55614
|
+
masterPlaylistUrl: backgroundVideo?.video?.masterPlaylistUrl,
|
|
55615
|
+
fallbackSrc: backgroundVideo?.video?.fallbackSrc,
|
|
55616
|
+
poster: backgroundVideo?.video?.poster || backgroundVideo?.image?.src,
|
|
55582
55617
|
muted: true,
|
|
55583
55618
|
autoPlay: true,
|
|
55584
55619
|
loop: true,
|
|
55585
55620
|
playsInline: true,
|
|
55586
55621
|
controls: false,
|
|
55587
|
-
className: "size-full object-cover object-center"
|
|
55622
|
+
className: "size-full object-cover object-center",
|
|
55623
|
+
...backgroundVideo?.video
|
|
55588
55624
|
}
|
|
55589
55625
|
) });
|
|
55590
|
-
}, [videoSlot, videoSrc]);
|
|
55626
|
+
}, [videoSlot, backgroundVideo, videoSrc]);
|
|
55591
55627
|
return /* @__PURE__ */ jsxs(
|
|
55592
55628
|
Section,
|
|
55593
55629
|
{
|
|
@@ -55657,6 +55693,7 @@ function HeroProductivityLauncherVideo({
|
|
|
55657
55693
|
actionsSlot,
|
|
55658
55694
|
versionInfo,
|
|
55659
55695
|
versionInfoSlot,
|
|
55696
|
+
backgroundVideo,
|
|
55660
55697
|
videoSrc,
|
|
55661
55698
|
videoSlot,
|
|
55662
55699
|
background,
|
|
@@ -55711,16 +55748,20 @@ function HeroProductivityLauncherVideo({
|
|
|
55711
55748
|
return /* @__PURE__ */ jsx("div", { className: "absolute top-0 z-10 h-full w-full inset-0", children: /* @__PURE__ */ jsx(
|
|
55712
55749
|
Video,
|
|
55713
55750
|
{
|
|
55714
|
-
src: videoSrc,
|
|
55751
|
+
src: backgroundVideo?.video?.src || videoSrc,
|
|
55752
|
+
masterPlaylistUrl: backgroundVideo?.video?.masterPlaylistUrl,
|
|
55753
|
+
fallbackSrc: backgroundVideo?.video?.fallbackSrc,
|
|
55754
|
+
poster: backgroundVideo?.video?.poster || backgroundVideo?.image?.src,
|
|
55715
55755
|
loop: true,
|
|
55716
55756
|
muted: true,
|
|
55717
55757
|
autoPlay: true,
|
|
55718
55758
|
playsInline: true,
|
|
55719
55759
|
controls: false,
|
|
55720
|
-
className: "block size-full object-cover object-center brightness-50"
|
|
55760
|
+
className: "block size-full object-cover object-center brightness-50",
|
|
55761
|
+
...backgroundVideo?.video
|
|
55721
55762
|
}
|
|
55722
55763
|
) });
|
|
55723
|
-
}, [videoSlot, videoSrc]);
|
|
55764
|
+
}, [videoSlot, backgroundVideo, videoSrc]);
|
|
55724
55765
|
return /* @__PURE__ */ jsxs(
|
|
55725
55766
|
Section,
|
|
55726
55767
|
{
|
|
@@ -57021,6 +57062,8 @@ function HeroVideoDialogGradient({
|
|
|
57021
57062
|
videoAction,
|
|
57022
57063
|
image,
|
|
57023
57064
|
imageSlot,
|
|
57065
|
+
modalVideo,
|
|
57066
|
+
videoDialogTitle,
|
|
57024
57067
|
videoDialog,
|
|
57025
57068
|
background,
|
|
57026
57069
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
@@ -57110,7 +57153,7 @@ function HeroVideoDialogGradient({
|
|
|
57110
57153
|
actionsClassName
|
|
57111
57154
|
),
|
|
57112
57155
|
children: [
|
|
57113
|
-
videoAction && videoDialog?.videoUrl ? /* @__PURE__ */ jsx(
|
|
57156
|
+
videoAction && (modalVideo || videoDialog?.videoUrl) ? /* @__PURE__ */ jsx(
|
|
57114
57157
|
ActionComponent,
|
|
57115
57158
|
{
|
|
57116
57159
|
action: {
|
|
@@ -57135,7 +57178,7 @@ function HeroVideoDialogGradient({
|
|
|
57135
57178
|
videoAspectRatio === "vertical" ? "sm:max-w-100" : "sm:max-w-200"
|
|
57136
57179
|
),
|
|
57137
57180
|
children: [
|
|
57138
|
-
/* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: videoDialog?.title }) }),
|
|
57181
|
+
/* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: videoDialogTitle || videoDialog?.title }) }),
|
|
57139
57182
|
/* @__PURE__ */ jsx(
|
|
57140
57183
|
"div",
|
|
57141
57184
|
{
|
|
@@ -57143,12 +57186,16 @@ function HeroVideoDialogGradient({
|
|
|
57143
57186
|
children: /* @__PURE__ */ jsx(
|
|
57144
57187
|
Video,
|
|
57145
57188
|
{
|
|
57146
|
-
src: videoDialog?.videoUrl,
|
|
57189
|
+
src: modalVideo?.video?.src || videoDialog?.videoUrl,
|
|
57190
|
+
masterPlaylistUrl: modalVideo?.video?.masterPlaylistUrl,
|
|
57191
|
+
fallbackSrc: modalVideo?.video?.fallbackSrc,
|
|
57192
|
+
poster: modalVideo?.video?.poster || modalVideo?.image?.src,
|
|
57147
57193
|
controls: true,
|
|
57148
57194
|
autoPlay: true,
|
|
57149
57195
|
skinClasses: skinClasses || void 0,
|
|
57150
57196
|
skinStyle: skinStyle || void 0,
|
|
57151
|
-
className: "h-full w-full rounded-lg"
|
|
57197
|
+
className: "h-full w-full rounded-lg",
|
|
57198
|
+
...modalVideo?.video
|
|
57152
57199
|
}
|
|
57153
57200
|
)
|
|
57154
57201
|
}
|
|
@@ -58015,6 +58062,7 @@ function HeroMentorshipVideoSplit({
|
|
|
58015
58062
|
action,
|
|
58016
58063
|
actionSlot,
|
|
58017
58064
|
videoLabel,
|
|
58065
|
+
modalVideo,
|
|
58018
58066
|
videoThumbnail,
|
|
58019
58067
|
videoUrl,
|
|
58020
58068
|
videoTitle,
|
|
@@ -58061,7 +58109,8 @@ function HeroMentorshipVideoSplit({
|
|
|
58061
58109
|
}, [actionSlot, action]);
|
|
58062
58110
|
const renderVideoSection = useMemo(() => {
|
|
58063
58111
|
if (videoSlot) return videoSlot;
|
|
58064
|
-
|
|
58112
|
+
const thumbnail = modalVideo?.image || videoThumbnail;
|
|
58113
|
+
if (!thumbnail) return null;
|
|
58065
58114
|
const aspectRatio = videoAspectRatio === "vertical" ? 9 / 16 : 16 / 9;
|
|
58066
58115
|
return /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
58067
58116
|
videoLabel && (typeof videoLabel === "string" ? /* @__PURE__ */ jsx("p", { className: "text-xs font-semibold uppercase opacity-75", children: videoLabel }) : videoLabel),
|
|
@@ -58079,11 +58128,11 @@ function HeroMentorshipVideoSplit({
|
|
|
58079
58128
|
/* @__PURE__ */ jsx(
|
|
58080
58129
|
Img,
|
|
58081
58130
|
{
|
|
58082
|
-
src:
|
|
58083
|
-
alt:
|
|
58131
|
+
src: thumbnail.src,
|
|
58132
|
+
alt: thumbnail.alt,
|
|
58084
58133
|
className: cn(
|
|
58085
58134
|
"absolute inset-0 h-full w-full object-cover",
|
|
58086
|
-
|
|
58135
|
+
thumbnail.className
|
|
58087
58136
|
),
|
|
58088
58137
|
optixFlowConfig
|
|
58089
58138
|
}
|
|
@@ -58102,6 +58151,7 @@ function HeroMentorshipVideoSplit({
|
|
|
58102
58151
|
] });
|
|
58103
58152
|
}, [
|
|
58104
58153
|
videoSlot,
|
|
58154
|
+
modalVideo,
|
|
58105
58155
|
videoThumbnail,
|
|
58106
58156
|
videoLabel,
|
|
58107
58157
|
videoAspectRatio,
|
|
@@ -58199,12 +58249,16 @@ function HeroMentorshipVideoSplit({
|
|
|
58199
58249
|
children: /* @__PURE__ */ jsx(
|
|
58200
58250
|
Video,
|
|
58201
58251
|
{
|
|
58202
|
-
src: videoUrl,
|
|
58252
|
+
src: modalVideo?.video?.src || videoUrl,
|
|
58253
|
+
masterPlaylistUrl: modalVideo?.video?.masterPlaylistUrl,
|
|
58254
|
+
fallbackSrc: modalVideo?.video?.fallbackSrc,
|
|
58255
|
+
poster: modalVideo?.video?.poster || modalVideo?.image?.src,
|
|
58203
58256
|
controls: true,
|
|
58204
58257
|
autoPlay: true,
|
|
58205
58258
|
skinClasses: skinClasses || void 0,
|
|
58206
58259
|
skinStyle: skinStyle || void 0,
|
|
58207
|
-
className: "h-full w-full rounded-lg"
|
|
58260
|
+
className: "h-full w-full rounded-lg",
|
|
58261
|
+
...modalVideo?.video
|
|
58208
58262
|
}
|
|
58209
58263
|
)
|
|
58210
58264
|
}
|
|
@@ -58909,6 +58963,8 @@ function HeroCreativeStudioStacked({
|
|
|
58909
58963
|
patternClassName,
|
|
58910
58964
|
actions,
|
|
58911
58965
|
onVideoClick,
|
|
58966
|
+
modalVideo,
|
|
58967
|
+
videoDialogTitle,
|
|
58912
58968
|
videoDialog,
|
|
58913
58969
|
images,
|
|
58914
58970
|
imagesSlot,
|
|
@@ -59068,7 +59124,7 @@ function HeroCreativeStudioStacked({
|
|
|
59068
59124
|
actionsClassName
|
|
59069
59125
|
),
|
|
59070
59126
|
children: [
|
|
59071
|
-
videoAction && videoDialog?.videoUrl ? /* @__PURE__ */ jsx(
|
|
59127
|
+
videoAction && (modalVideo || videoDialog?.videoUrl) ? /* @__PURE__ */ jsx(
|
|
59072
59128
|
ActionComponent,
|
|
59073
59129
|
{
|
|
59074
59130
|
action: {
|
|
@@ -59093,7 +59149,7 @@ function HeroCreativeStudioStacked({
|
|
|
59093
59149
|
videoAspectRatio === "vertical" ? "sm:max-w-100" : "sm:max-w-200"
|
|
59094
59150
|
),
|
|
59095
59151
|
children: [
|
|
59096
|
-
/* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: videoDialog?.title }) }),
|
|
59152
|
+
/* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: videoDialogTitle || videoDialog?.title }) }),
|
|
59097
59153
|
/* @__PURE__ */ jsx(
|
|
59098
59154
|
"div",
|
|
59099
59155
|
{
|
|
@@ -59101,12 +59157,16 @@ function HeroCreativeStudioStacked({
|
|
|
59101
59157
|
children: /* @__PURE__ */ jsx(
|
|
59102
59158
|
Video,
|
|
59103
59159
|
{
|
|
59104
|
-
src: videoDialog?.videoUrl,
|
|
59160
|
+
src: modalVideo?.video?.src || videoDialog?.videoUrl,
|
|
59161
|
+
masterPlaylistUrl: modalVideo?.video?.masterPlaylistUrl,
|
|
59162
|
+
fallbackSrc: modalVideo?.video?.fallbackSrc,
|
|
59163
|
+
poster: modalVideo?.video?.poster || modalVideo?.image?.src,
|
|
59105
59164
|
controls: true,
|
|
59106
59165
|
autoPlay: true,
|
|
59107
59166
|
skinClasses: skinClasses || void 0,
|
|
59108
59167
|
skinStyle: skinStyle || void 0,
|
|
59109
|
-
className: "h-full w-full rounded-lg"
|
|
59168
|
+
className: "h-full w-full rounded-lg",
|
|
59169
|
+
...modalVideo?.video
|
|
59110
59170
|
}
|
|
59111
59171
|
)
|
|
59112
59172
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensite/ui",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.3",
|
|
4
4
|
"description": "Foundational UI component library for OpenSite Semantic Site Builder with tree-shakable exports and abstract styling",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -3430,7 +3430,7 @@
|
|
|
3430
3430
|
"@page-speed/router": "1.0.2",
|
|
3431
3431
|
"@page-speed/skins": "0.1.2",
|
|
3432
3432
|
"@page-speed/social-share": "0.1.7",
|
|
3433
|
-
"@page-speed/video": "0.0.
|
|
3433
|
+
"@page-speed/video": "0.0.5",
|
|
3434
3434
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
3435
3435
|
"@radix-ui/react-aspect-ratio": "^1.1.8",
|
|
3436
3436
|
"@radix-ui/react-avatar": "^1.1.11",
|