@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
|
@@ -424,6 +424,8 @@ function CtaVideoBackgroundHero({
|
|
|
424
424
|
description,
|
|
425
425
|
actions,
|
|
426
426
|
actionsSlot,
|
|
427
|
+
modalVideo,
|
|
428
|
+
backgroundVideo,
|
|
427
429
|
modalVideoUrl,
|
|
428
430
|
backgroundVideoUrl,
|
|
429
431
|
modalSlot,
|
|
@@ -530,15 +532,19 @@ function CtaVideoBackgroundHero({
|
|
|
530
532
|
children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/x", size: 20 })
|
|
531
533
|
}
|
|
532
534
|
),
|
|
533
|
-
modalVideoUrl && /* @__PURE__ */ jsxRuntime.jsx(
|
|
535
|
+
(modalVideo || modalVideoUrl) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
534
536
|
video.Video,
|
|
535
537
|
{
|
|
536
|
-
src: modalVideoUrl,
|
|
538
|
+
src: modalVideo?.video?.src || modalVideoUrl,
|
|
539
|
+
masterPlaylistUrl: modalVideo?.video?.masterPlaylistUrl,
|
|
540
|
+
fallbackSrc: modalVideo?.video?.fallbackSrc,
|
|
541
|
+
poster: modalVideo?.video?.poster || modalVideo?.image?.src,
|
|
537
542
|
controls: true,
|
|
538
543
|
autoPlay: true,
|
|
539
544
|
skinClasses: skinClasses || void 0,
|
|
540
545
|
skinStyle: skinStyle || void 0,
|
|
541
|
-
className: "h-full w-full rounded-lg"
|
|
546
|
+
className: "h-full w-full rounded-lg",
|
|
547
|
+
...modalVideo?.video
|
|
542
548
|
}
|
|
543
549
|
)
|
|
544
550
|
]
|
|
@@ -565,16 +571,20 @@ function CtaVideoBackgroundHero({
|
|
|
565
571
|
videoWrapperClassName
|
|
566
572
|
),
|
|
567
573
|
children: [
|
|
568
|
-
backgroundVideoUrl && /* @__PURE__ */ jsxRuntime.jsx(
|
|
574
|
+
(backgroundVideo || backgroundVideoUrl) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
569
575
|
video.Video,
|
|
570
576
|
{
|
|
571
|
-
src: backgroundVideoUrl,
|
|
577
|
+
src: backgroundVideo?.video?.src || backgroundVideoUrl,
|
|
578
|
+
masterPlaylistUrl: backgroundVideo?.video?.masterPlaylistUrl,
|
|
579
|
+
fallbackSrc: backgroundVideo?.video?.fallbackSrc,
|
|
580
|
+
poster: backgroundVideo?.video?.poster || backgroundVideo?.image?.src,
|
|
572
581
|
autoPlay: true,
|
|
573
582
|
loop: true,
|
|
574
583
|
muted: true,
|
|
575
584
|
playsInline: true,
|
|
576
585
|
controls: false,
|
|
577
|
-
className: "absolute inset-0 h-full w-full object-cover"
|
|
586
|
+
className: "absolute inset-0 h-full w-full object-cover",
|
|
587
|
+
...backgroundVideo?.video
|
|
578
588
|
}
|
|
579
589
|
),
|
|
580
590
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-B4p2JldF.cjs';
|
|
3
|
-
import { A as ActionConfig } from './blocks-DCvdF54D.cjs';
|
|
3
|
+
import { A as ActionConfig, M as MediaItem } from './blocks-DCvdF54D.cjs';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'class-variance-authority';
|
|
6
6
|
import '@page-speed/pressable';
|
|
@@ -24,11 +24,19 @@ interface CtaVideoBackgroundHeroProps {
|
|
|
24
24
|
*/
|
|
25
25
|
actionsSlot?: React.ReactNode;
|
|
26
26
|
/**
|
|
27
|
-
* Video
|
|
27
|
+
* Video configuration for modal/dialog
|
|
28
|
+
*/
|
|
29
|
+
modalVideo?: MediaItem;
|
|
30
|
+
/**
|
|
31
|
+
* Background video configuration
|
|
32
|
+
*/
|
|
33
|
+
backgroundVideo?: MediaItem;
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated Use modalVideo instead
|
|
28
36
|
*/
|
|
29
37
|
modalVideoUrl?: string;
|
|
30
38
|
/**
|
|
31
|
-
*
|
|
39
|
+
* @deprecated Use backgroundVideo instead
|
|
32
40
|
*/
|
|
33
41
|
backgroundVideoUrl?: string;
|
|
34
42
|
/**
|
|
@@ -112,6 +120,6 @@ interface CtaVideoBackgroundHeroProps {
|
|
|
112
120
|
* />
|
|
113
121
|
* ```
|
|
114
122
|
*/
|
|
115
|
-
declare function CtaVideoBackgroundHero({ sectionId, heading, description, actions, actionsSlot, modalVideoUrl, backgroundVideoUrl, modalSlot, onModalOpen, onModalClose, className, containerClassName, videoWrapperClassName, overlayClassName, contentClassName, headingClassName, descriptionClassName, actionsClassName, background, spacing, pattern, patternOpacity, }: CtaVideoBackgroundHeroProps): React.JSX.Element;
|
|
123
|
+
declare function CtaVideoBackgroundHero({ sectionId, heading, description, actions, actionsSlot, modalVideo, backgroundVideo, modalVideoUrl, backgroundVideoUrl, modalSlot, onModalOpen, onModalClose, className, containerClassName, videoWrapperClassName, overlayClassName, contentClassName, headingClassName, descriptionClassName, actionsClassName, background, spacing, pattern, patternOpacity, }: CtaVideoBackgroundHeroProps): React.JSX.Element;
|
|
116
124
|
|
|
117
125
|
export { CtaVideoBackgroundHero, type CtaVideoBackgroundHeroProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives--8cXayNa.js';
|
|
3
|
-
import { A as ActionConfig } from './blocks-DCvdF54D.js';
|
|
3
|
+
import { A as ActionConfig, M as MediaItem } from './blocks-DCvdF54D.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'class-variance-authority';
|
|
6
6
|
import '@page-speed/pressable';
|
|
@@ -24,11 +24,19 @@ interface CtaVideoBackgroundHeroProps {
|
|
|
24
24
|
*/
|
|
25
25
|
actionsSlot?: React.ReactNode;
|
|
26
26
|
/**
|
|
27
|
-
* Video
|
|
27
|
+
* Video configuration for modal/dialog
|
|
28
|
+
*/
|
|
29
|
+
modalVideo?: MediaItem;
|
|
30
|
+
/**
|
|
31
|
+
* Background video configuration
|
|
32
|
+
*/
|
|
33
|
+
backgroundVideo?: MediaItem;
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated Use modalVideo instead
|
|
28
36
|
*/
|
|
29
37
|
modalVideoUrl?: string;
|
|
30
38
|
/**
|
|
31
|
-
*
|
|
39
|
+
* @deprecated Use backgroundVideo instead
|
|
32
40
|
*/
|
|
33
41
|
backgroundVideoUrl?: string;
|
|
34
42
|
/**
|
|
@@ -112,6 +120,6 @@ interface CtaVideoBackgroundHeroProps {
|
|
|
112
120
|
* />
|
|
113
121
|
* ```
|
|
114
122
|
*/
|
|
115
|
-
declare function CtaVideoBackgroundHero({ sectionId, heading, description, actions, actionsSlot, modalVideoUrl, backgroundVideoUrl, modalSlot, onModalOpen, onModalClose, className, containerClassName, videoWrapperClassName, overlayClassName, contentClassName, headingClassName, descriptionClassName, actionsClassName, background, spacing, pattern, patternOpacity, }: CtaVideoBackgroundHeroProps): React.JSX.Element;
|
|
123
|
+
declare function CtaVideoBackgroundHero({ sectionId, heading, description, actions, actionsSlot, modalVideo, backgroundVideo, modalVideoUrl, backgroundVideoUrl, modalSlot, onModalOpen, onModalClose, className, containerClassName, videoWrapperClassName, overlayClassName, contentClassName, headingClassName, descriptionClassName, actionsClassName, background, spacing, pattern, patternOpacity, }: CtaVideoBackgroundHeroProps): React.JSX.Element;
|
|
116
124
|
|
|
117
125
|
export { CtaVideoBackgroundHero, type CtaVideoBackgroundHeroProps };
|
|
@@ -403,6 +403,8 @@ function CtaVideoBackgroundHero({
|
|
|
403
403
|
description,
|
|
404
404
|
actions,
|
|
405
405
|
actionsSlot,
|
|
406
|
+
modalVideo,
|
|
407
|
+
backgroundVideo,
|
|
406
408
|
modalVideoUrl,
|
|
407
409
|
backgroundVideoUrl,
|
|
408
410
|
modalSlot,
|
|
@@ -509,15 +511,19 @@ function CtaVideoBackgroundHero({
|
|
|
509
511
|
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 20 })
|
|
510
512
|
}
|
|
511
513
|
),
|
|
512
|
-
modalVideoUrl && /* @__PURE__ */ jsx(
|
|
514
|
+
(modalVideo || modalVideoUrl) && /* @__PURE__ */ jsx(
|
|
513
515
|
Video,
|
|
514
516
|
{
|
|
515
|
-
src: modalVideoUrl,
|
|
517
|
+
src: modalVideo?.video?.src || modalVideoUrl,
|
|
518
|
+
masterPlaylistUrl: modalVideo?.video?.masterPlaylistUrl,
|
|
519
|
+
fallbackSrc: modalVideo?.video?.fallbackSrc,
|
|
520
|
+
poster: modalVideo?.video?.poster || modalVideo?.image?.src,
|
|
516
521
|
controls: true,
|
|
517
522
|
autoPlay: true,
|
|
518
523
|
skinClasses: skinClasses || void 0,
|
|
519
524
|
skinStyle: skinStyle || void 0,
|
|
520
|
-
className: "h-full w-full rounded-lg"
|
|
525
|
+
className: "h-full w-full rounded-lg",
|
|
526
|
+
...modalVideo?.video
|
|
521
527
|
}
|
|
522
528
|
)
|
|
523
529
|
]
|
|
@@ -544,16 +550,20 @@ function CtaVideoBackgroundHero({
|
|
|
544
550
|
videoWrapperClassName
|
|
545
551
|
),
|
|
546
552
|
children: [
|
|
547
|
-
backgroundVideoUrl && /* @__PURE__ */ jsx(
|
|
553
|
+
(backgroundVideo || backgroundVideoUrl) && /* @__PURE__ */ jsx(
|
|
548
554
|
Video,
|
|
549
555
|
{
|
|
550
|
-
src: backgroundVideoUrl,
|
|
556
|
+
src: backgroundVideo?.video?.src || backgroundVideoUrl,
|
|
557
|
+
masterPlaylistUrl: backgroundVideo?.video?.masterPlaylistUrl,
|
|
558
|
+
fallbackSrc: backgroundVideo?.video?.fallbackSrc,
|
|
559
|
+
poster: backgroundVideo?.video?.poster || backgroundVideo?.image?.src,
|
|
551
560
|
autoPlay: true,
|
|
552
561
|
loop: true,
|
|
553
562
|
muted: true,
|
|
554
563
|
playsInline: true,
|
|
555
564
|
controls: false,
|
|
556
|
-
className: "absolute inset-0 h-full w-full object-cover"
|
|
565
|
+
className: "absolute inset-0 h-full w-full object-cover",
|
|
566
|
+
...backgroundVideo?.video
|
|
557
567
|
}
|
|
558
568
|
),
|
|
559
569
|
/* @__PURE__ */ jsx(
|
|
@@ -652,6 +652,7 @@ function HeroConversionVideoPlay({
|
|
|
652
652
|
description,
|
|
653
653
|
primaryAction,
|
|
654
654
|
videoButtonLabel = "Play Video",
|
|
655
|
+
modalVideo,
|
|
655
656
|
videoUrl,
|
|
656
657
|
videoDialogTitle,
|
|
657
658
|
actionsSlot,
|
|
@@ -709,7 +710,7 @@ function HeroConversionVideoPlay({
|
|
|
709
710
|
}
|
|
710
711
|
);
|
|
711
712
|
})(),
|
|
712
|
-
videoUrl && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
713
|
+
(modalVideo || videoUrl) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
713
714
|
pressable.Pressable,
|
|
714
715
|
{
|
|
715
716
|
onClick: () => setIsVideoOpen(true),
|
|
@@ -822,12 +823,16 @@ function HeroConversionVideoPlay({
|
|
|
822
823
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "aspect-video", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
823
824
|
video.Video,
|
|
824
825
|
{
|
|
825
|
-
src: videoUrl,
|
|
826
|
+
src: modalVideo?.video?.src || videoUrl,
|
|
827
|
+
masterPlaylistUrl: modalVideo?.video?.masterPlaylistUrl,
|
|
828
|
+
fallbackSrc: modalVideo?.video?.fallbackSrc,
|
|
829
|
+
poster: modalVideo?.video?.poster || modalVideo?.image?.src,
|
|
826
830
|
controls: true,
|
|
827
831
|
autoPlay: true,
|
|
828
832
|
skinClasses: skinClasses || void 0,
|
|
829
833
|
skinStyle: skinStyle || void 0,
|
|
830
|
-
className: "h-full w-full rounded-lg"
|
|
834
|
+
className: "h-full w-full rounded-lg",
|
|
835
|
+
...modalVideo?.video
|
|
831
836
|
}
|
|
832
837
|
) })
|
|
833
838
|
] }) })
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-B4p2JldF.cjs';
|
|
3
|
-
import { A as ActionConfig, I as ImageItem, L as LogoItem, O as OptixFlowConfig } from './blocks-DCvdF54D.cjs';
|
|
3
|
+
import { A as ActionConfig, M as MediaItem, I as ImageItem, L as LogoItem, O as OptixFlowConfig } from './blocks-DCvdF54D.cjs';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'class-variance-authority';
|
|
6
6
|
import '@page-speed/pressable';
|
|
@@ -24,13 +24,17 @@ interface HeroConversionVideoPlayProps {
|
|
|
24
24
|
*/
|
|
25
25
|
videoButtonLabel?: React.ReactNode;
|
|
26
26
|
/**
|
|
27
|
-
* Video
|
|
27
|
+
* Video configuration for modal/dialog
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
modalVideo?: MediaItem;
|
|
30
30
|
/**
|
|
31
31
|
* Video dialog title
|
|
32
32
|
*/
|
|
33
33
|
videoDialogTitle?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated Use modalVideo instead
|
|
36
|
+
*/
|
|
37
|
+
videoUrl?: string;
|
|
34
38
|
/**
|
|
35
39
|
* Custom slot for actions (overrides primaryAction and video button)
|
|
36
40
|
*/
|
|
@@ -108,6 +112,6 @@ interface HeroConversionVideoPlayProps {
|
|
|
108
112
|
*/
|
|
109
113
|
optixFlowConfig?: OptixFlowConfig;
|
|
110
114
|
}
|
|
111
|
-
declare function HeroConversionVideoPlay({ heading, description, primaryAction, videoButtonLabel, videoUrl, videoDialogTitle, actionsSlot, image, imageSlot, logosTagline, logos, logosSlot, background, spacing, pattern, patternOpacity, className, containerClassName, contentClassName, headingClassName, descriptionClassName, actionsClassName, imageClassName, logosClassName, optixFlowConfig, }: HeroConversionVideoPlayProps): React.JSX.Element;
|
|
115
|
+
declare function HeroConversionVideoPlay({ heading, description, primaryAction, videoButtonLabel, modalVideo, videoUrl, videoDialogTitle, actionsSlot, image, imageSlot, logosTagline, logos, logosSlot, background, spacing, pattern, patternOpacity, className, containerClassName, contentClassName, headingClassName, descriptionClassName, actionsClassName, imageClassName, logosClassName, optixFlowConfig, }: HeroConversionVideoPlayProps): React.JSX.Element;
|
|
112
116
|
|
|
113
117
|
export { HeroConversionVideoPlay, type HeroConversionVideoPlayProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives--8cXayNa.js';
|
|
3
|
-
import { A as ActionConfig, I as ImageItem, L as LogoItem, O as OptixFlowConfig } from './blocks-DCvdF54D.js';
|
|
3
|
+
import { A as ActionConfig, M as MediaItem, I as ImageItem, L as LogoItem, O as OptixFlowConfig } from './blocks-DCvdF54D.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'class-variance-authority';
|
|
6
6
|
import '@page-speed/pressable';
|
|
@@ -24,13 +24,17 @@ interface HeroConversionVideoPlayProps {
|
|
|
24
24
|
*/
|
|
25
25
|
videoButtonLabel?: React.ReactNode;
|
|
26
26
|
/**
|
|
27
|
-
* Video
|
|
27
|
+
* Video configuration for modal/dialog
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
modalVideo?: MediaItem;
|
|
30
30
|
/**
|
|
31
31
|
* Video dialog title
|
|
32
32
|
*/
|
|
33
33
|
videoDialogTitle?: string;
|
|
34
|
+
/**
|
|
35
|
+
* @deprecated Use modalVideo instead
|
|
36
|
+
*/
|
|
37
|
+
videoUrl?: string;
|
|
34
38
|
/**
|
|
35
39
|
* Custom slot for actions (overrides primaryAction and video button)
|
|
36
40
|
*/
|
|
@@ -108,6 +112,6 @@ interface HeroConversionVideoPlayProps {
|
|
|
108
112
|
*/
|
|
109
113
|
optixFlowConfig?: OptixFlowConfig;
|
|
110
114
|
}
|
|
111
|
-
declare function HeroConversionVideoPlay({ heading, description, primaryAction, videoButtonLabel, videoUrl, videoDialogTitle, actionsSlot, image, imageSlot, logosTagline, logos, logosSlot, background, spacing, pattern, patternOpacity, className, containerClassName, contentClassName, headingClassName, descriptionClassName, actionsClassName, imageClassName, logosClassName, optixFlowConfig, }: HeroConversionVideoPlayProps): React.JSX.Element;
|
|
115
|
+
declare function HeroConversionVideoPlay({ heading, description, primaryAction, videoButtonLabel, modalVideo, videoUrl, videoDialogTitle, actionsSlot, image, imageSlot, logosTagline, logos, logosSlot, background, spacing, pattern, patternOpacity, className, containerClassName, contentClassName, headingClassName, descriptionClassName, actionsClassName, imageClassName, logosClassName, optixFlowConfig, }: HeroConversionVideoPlayProps): React.JSX.Element;
|
|
112
116
|
|
|
113
117
|
export { HeroConversionVideoPlay, type HeroConversionVideoPlayProps };
|
|
@@ -625,6 +625,7 @@ function HeroConversionVideoPlay({
|
|
|
625
625
|
description,
|
|
626
626
|
primaryAction,
|
|
627
627
|
videoButtonLabel = "Play Video",
|
|
628
|
+
modalVideo,
|
|
628
629
|
videoUrl,
|
|
629
630
|
videoDialogTitle,
|
|
630
631
|
actionsSlot,
|
|
@@ -682,7 +683,7 @@ function HeroConversionVideoPlay({
|
|
|
682
683
|
}
|
|
683
684
|
);
|
|
684
685
|
})(),
|
|
685
|
-
videoUrl && /* @__PURE__ */ jsxs(
|
|
686
|
+
(modalVideo || videoUrl) && /* @__PURE__ */ jsxs(
|
|
686
687
|
Pressable,
|
|
687
688
|
{
|
|
688
689
|
onClick: () => setIsVideoOpen(true),
|
|
@@ -795,12 +796,16 @@ function HeroConversionVideoPlay({
|
|
|
795
796
|
/* @__PURE__ */ jsx("div", { className: "aspect-video", children: /* @__PURE__ */ jsx(
|
|
796
797
|
Video,
|
|
797
798
|
{
|
|
798
|
-
src: videoUrl,
|
|
799
|
+
src: modalVideo?.video?.src || videoUrl,
|
|
800
|
+
masterPlaylistUrl: modalVideo?.video?.masterPlaylistUrl,
|
|
801
|
+
fallbackSrc: modalVideo?.video?.fallbackSrc,
|
|
802
|
+
poster: modalVideo?.video?.poster || modalVideo?.image?.src,
|
|
799
803
|
controls: true,
|
|
800
804
|
autoPlay: true,
|
|
801
805
|
skinClasses: skinClasses || void 0,
|
|
802
806
|
skinStyle: skinStyle || void 0,
|
|
803
|
-
className: "h-full w-full rounded-lg"
|
|
807
|
+
className: "h-full w-full rounded-lg",
|
|
808
|
+
...modalVideo?.video
|
|
804
809
|
}
|
|
805
810
|
) })
|
|
806
811
|
] }) })
|
|
@@ -548,6 +548,8 @@ function HeroCreativeStudioStacked({
|
|
|
548
548
|
patternClassName,
|
|
549
549
|
actions,
|
|
550
550
|
onVideoClick,
|
|
551
|
+
modalVideo,
|
|
552
|
+
videoDialogTitle,
|
|
551
553
|
videoDialog,
|
|
552
554
|
images,
|
|
553
555
|
imagesSlot,
|
|
@@ -707,7 +709,7 @@ function HeroCreativeStudioStacked({
|
|
|
707
709
|
actionsClassName
|
|
708
710
|
),
|
|
709
711
|
children: [
|
|
710
|
-
videoAction && videoDialog?.videoUrl ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
712
|
+
videoAction && (modalVideo || videoDialog?.videoUrl) ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
711
713
|
ActionComponent,
|
|
712
714
|
{
|
|
713
715
|
action: {
|
|
@@ -732,7 +734,7 @@ function HeroCreativeStudioStacked({
|
|
|
732
734
|
videoAspectRatio === "vertical" ? "sm:max-w-100" : "sm:max-w-200"
|
|
733
735
|
),
|
|
734
736
|
children: [
|
|
735
|
-
/* @__PURE__ */ jsxRuntime.jsx(DialogHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(DialogTitle, { children: videoDialog?.title }) }),
|
|
737
|
+
/* @__PURE__ */ jsxRuntime.jsx(DialogHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(DialogTitle, { children: videoDialogTitle || videoDialog?.title }) }),
|
|
736
738
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
737
739
|
"div",
|
|
738
740
|
{
|
|
@@ -740,12 +742,16 @@ function HeroCreativeStudioStacked({
|
|
|
740
742
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
741
743
|
video.Video,
|
|
742
744
|
{
|
|
743
|
-
src: videoDialog?.videoUrl,
|
|
745
|
+
src: modalVideo?.video?.src || videoDialog?.videoUrl,
|
|
746
|
+
masterPlaylistUrl: modalVideo?.video?.masterPlaylistUrl,
|
|
747
|
+
fallbackSrc: modalVideo?.video?.fallbackSrc,
|
|
748
|
+
poster: modalVideo?.video?.poster || modalVideo?.image?.src,
|
|
744
749
|
controls: true,
|
|
745
750
|
autoPlay: true,
|
|
746
751
|
skinClasses: skinClasses || void 0,
|
|
747
752
|
skinStyle: skinStyle || void 0,
|
|
748
|
-
className: "h-full w-full rounded-lg"
|
|
753
|
+
className: "h-full w-full rounded-lg",
|
|
754
|
+
...modalVideo?.video
|
|
749
755
|
}
|
|
750
756
|
)
|
|
751
757
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-B4p2JldF.cjs';
|
|
3
|
-
import { V as VideoDialogConfig } from './hero-video-dialog-gradient-
|
|
4
|
-
import { A as ActionConfig, I as ImageItem, O as OptixFlowConfig } from './blocks-DCvdF54D.cjs';
|
|
3
|
+
import { V as VideoDialogConfig } from './hero-video-dialog-gradient-z-muf_Dc.cjs';
|
|
4
|
+
import { A as ActionConfig, M as MediaItem, I as ImageItem, O as OptixFlowConfig } from './blocks-DCvdF54D.cjs';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'class-variance-authority';
|
|
7
7
|
import '@page-speed/pressable';
|
|
@@ -29,7 +29,15 @@ interface HeroCreativeStudioStackedProps {
|
|
|
29
29
|
*/
|
|
30
30
|
videoAction?: ActionConfig;
|
|
31
31
|
/**
|
|
32
|
-
* Video dialog
|
|
32
|
+
* Video configuration for modal/dialog
|
|
33
|
+
*/
|
|
34
|
+
modalVideo?: MediaItem;
|
|
35
|
+
/**
|
|
36
|
+
* Video dialog title
|
|
37
|
+
*/
|
|
38
|
+
videoDialogTitle?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated Use modalVideo instead
|
|
33
41
|
*/
|
|
34
42
|
videoDialog?: VideoDialogConfig;
|
|
35
43
|
/**
|
|
@@ -105,6 +113,6 @@ interface HeroCreativeStudioStackedProps {
|
|
|
105
113
|
*/
|
|
106
114
|
patternClassName?: string;
|
|
107
115
|
}
|
|
108
|
-
declare function HeroCreativeStudioStacked({ videoAspectRatio, tagline, heading, description, videoAction, patternClassName, actions, onVideoClick, videoDialog, images, imagesSlot, background, containerClassName, spacing, pattern, patternOpacity, className, contentClassName, taglineClassName, headingClassName, descriptionClassName, actionsClassName, imagesClassName, optixFlowConfig, }: HeroCreativeStudioStackedProps): React.JSX.Element;
|
|
116
|
+
declare function HeroCreativeStudioStacked({ videoAspectRatio, tagline, heading, description, videoAction, patternClassName, actions, onVideoClick, modalVideo, videoDialogTitle, videoDialog, images, imagesSlot, background, containerClassName, spacing, pattern, patternOpacity, className, contentClassName, taglineClassName, headingClassName, descriptionClassName, actionsClassName, imagesClassName, optixFlowConfig, }: HeroCreativeStudioStackedProps): React.JSX.Element;
|
|
109
117
|
|
|
110
118
|
export { HeroCreativeStudioStacked, type HeroCreativeStudioStackedProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives--8cXayNa.js';
|
|
3
|
-
import { V as VideoDialogConfig } from './hero-video-dialog-gradient-
|
|
4
|
-
import { A as ActionConfig, I as ImageItem, O as OptixFlowConfig } from './blocks-DCvdF54D.js';
|
|
3
|
+
import { V as VideoDialogConfig } from './hero-video-dialog-gradient-DBQ2Iqe3.js';
|
|
4
|
+
import { A as ActionConfig, M as MediaItem, I as ImageItem, O as OptixFlowConfig } from './blocks-DCvdF54D.js';
|
|
5
5
|
import 'react/jsx-runtime';
|
|
6
6
|
import 'class-variance-authority';
|
|
7
7
|
import '@page-speed/pressable';
|
|
@@ -29,7 +29,15 @@ interface HeroCreativeStudioStackedProps {
|
|
|
29
29
|
*/
|
|
30
30
|
videoAction?: ActionConfig;
|
|
31
31
|
/**
|
|
32
|
-
* Video dialog
|
|
32
|
+
* Video configuration for modal/dialog
|
|
33
|
+
*/
|
|
34
|
+
modalVideo?: MediaItem;
|
|
35
|
+
/**
|
|
36
|
+
* Video dialog title
|
|
37
|
+
*/
|
|
38
|
+
videoDialogTitle?: string;
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated Use modalVideo instead
|
|
33
41
|
*/
|
|
34
42
|
videoDialog?: VideoDialogConfig;
|
|
35
43
|
/**
|
|
@@ -105,6 +113,6 @@ interface HeroCreativeStudioStackedProps {
|
|
|
105
113
|
*/
|
|
106
114
|
patternClassName?: string;
|
|
107
115
|
}
|
|
108
|
-
declare function HeroCreativeStudioStacked({ videoAspectRatio, tagline, heading, description, videoAction, patternClassName, actions, onVideoClick, videoDialog, images, imagesSlot, background, containerClassName, spacing, pattern, patternOpacity, className, contentClassName, taglineClassName, headingClassName, descriptionClassName, actionsClassName, imagesClassName, optixFlowConfig, }: HeroCreativeStudioStackedProps): React.JSX.Element;
|
|
116
|
+
declare function HeroCreativeStudioStacked({ videoAspectRatio, tagline, heading, description, videoAction, patternClassName, actions, onVideoClick, modalVideo, videoDialogTitle, videoDialog, images, imagesSlot, background, containerClassName, spacing, pattern, patternOpacity, className, contentClassName, taglineClassName, headingClassName, descriptionClassName, actionsClassName, imagesClassName, optixFlowConfig, }: HeroCreativeStudioStackedProps): React.JSX.Element;
|
|
109
117
|
|
|
110
118
|
export { HeroCreativeStudioStacked, type HeroCreativeStudioStackedProps };
|
|
@@ -525,6 +525,8 @@ function HeroCreativeStudioStacked({
|
|
|
525
525
|
patternClassName,
|
|
526
526
|
actions,
|
|
527
527
|
onVideoClick,
|
|
528
|
+
modalVideo,
|
|
529
|
+
videoDialogTitle,
|
|
528
530
|
videoDialog,
|
|
529
531
|
images,
|
|
530
532
|
imagesSlot,
|
|
@@ -684,7 +686,7 @@ function HeroCreativeStudioStacked({
|
|
|
684
686
|
actionsClassName
|
|
685
687
|
),
|
|
686
688
|
children: [
|
|
687
|
-
videoAction && videoDialog?.videoUrl ? /* @__PURE__ */ jsx(
|
|
689
|
+
videoAction && (modalVideo || videoDialog?.videoUrl) ? /* @__PURE__ */ jsx(
|
|
688
690
|
ActionComponent,
|
|
689
691
|
{
|
|
690
692
|
action: {
|
|
@@ -709,7 +711,7 @@ function HeroCreativeStudioStacked({
|
|
|
709
711
|
videoAspectRatio === "vertical" ? "sm:max-w-100" : "sm:max-w-200"
|
|
710
712
|
),
|
|
711
713
|
children: [
|
|
712
|
-
/* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: videoDialog?.title }) }),
|
|
714
|
+
/* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: videoDialogTitle || videoDialog?.title }) }),
|
|
713
715
|
/* @__PURE__ */ jsx(
|
|
714
716
|
"div",
|
|
715
717
|
{
|
|
@@ -717,12 +719,16 @@ function HeroCreativeStudioStacked({
|
|
|
717
719
|
children: /* @__PURE__ */ jsx(
|
|
718
720
|
Video,
|
|
719
721
|
{
|
|
720
|
-
src: videoDialog?.videoUrl,
|
|
722
|
+
src: modalVideo?.video?.src || videoDialog?.videoUrl,
|
|
723
|
+
masterPlaylistUrl: modalVideo?.video?.masterPlaylistUrl,
|
|
724
|
+
fallbackSrc: modalVideo?.video?.fallbackSrc,
|
|
725
|
+
poster: modalVideo?.video?.poster || modalVideo?.image?.src,
|
|
721
726
|
controls: true,
|
|
722
727
|
autoPlay: true,
|
|
723
728
|
skinClasses: skinClasses || void 0,
|
|
724
729
|
skinStyle: skinStyle || void 0,
|
|
725
|
-
className: "h-full w-full rounded-lg"
|
|
730
|
+
className: "h-full w-full rounded-lg",
|
|
731
|
+
...modalVideo?.video
|
|
726
732
|
}
|
|
727
733
|
)
|
|
728
734
|
}
|
|
@@ -519,6 +519,7 @@ function HeroMentorshipVideoSplit({
|
|
|
519
519
|
action,
|
|
520
520
|
actionSlot,
|
|
521
521
|
videoLabel,
|
|
522
|
+
modalVideo,
|
|
522
523
|
videoThumbnail,
|
|
523
524
|
videoUrl,
|
|
524
525
|
videoTitle,
|
|
@@ -565,7 +566,8 @@ function HeroMentorshipVideoSplit({
|
|
|
565
566
|
}, [actionSlot, action]);
|
|
566
567
|
const renderVideoSection = React.useMemo(() => {
|
|
567
568
|
if (videoSlot) return videoSlot;
|
|
568
|
-
|
|
569
|
+
const thumbnail = modalVideo?.image || videoThumbnail;
|
|
570
|
+
if (!thumbnail) return null;
|
|
569
571
|
const aspectRatio = videoAspectRatio === "vertical" ? 9 / 16 : 16 / 9;
|
|
570
572
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
571
573
|
videoLabel && (typeof videoLabel === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-semibold uppercase opacity-75", children: videoLabel }) : videoLabel),
|
|
@@ -583,11 +585,11 @@ function HeroMentorshipVideoSplit({
|
|
|
583
585
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
584
586
|
img.Img,
|
|
585
587
|
{
|
|
586
|
-
src:
|
|
587
|
-
alt:
|
|
588
|
+
src: thumbnail.src,
|
|
589
|
+
alt: thumbnail.alt,
|
|
588
590
|
className: cn(
|
|
589
591
|
"absolute inset-0 h-full w-full object-cover",
|
|
590
|
-
|
|
592
|
+
thumbnail.className
|
|
591
593
|
),
|
|
592
594
|
optixFlowConfig
|
|
593
595
|
}
|
|
@@ -606,6 +608,7 @@ function HeroMentorshipVideoSplit({
|
|
|
606
608
|
] });
|
|
607
609
|
}, [
|
|
608
610
|
videoSlot,
|
|
611
|
+
modalVideo,
|
|
609
612
|
videoThumbnail,
|
|
610
613
|
videoLabel,
|
|
611
614
|
videoAspectRatio,
|
|
@@ -703,12 +706,16 @@ function HeroMentorshipVideoSplit({
|
|
|
703
706
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
704
707
|
video.Video,
|
|
705
708
|
{
|
|
706
|
-
src: videoUrl,
|
|
709
|
+
src: modalVideo?.video?.src || videoUrl,
|
|
710
|
+
masterPlaylistUrl: modalVideo?.video?.masterPlaylistUrl,
|
|
711
|
+
fallbackSrc: modalVideo?.video?.fallbackSrc,
|
|
712
|
+
poster: modalVideo?.video?.poster || modalVideo?.image?.src,
|
|
707
713
|
controls: true,
|
|
708
714
|
autoPlay: true,
|
|
709
715
|
skinClasses: skinClasses || void 0,
|
|
710
716
|
skinStyle: skinStyle || void 0,
|
|
711
|
-
className: "h-full w-full rounded-lg"
|
|
717
|
+
className: "h-full w-full rounded-lg",
|
|
718
|
+
...modalVideo?.video
|
|
712
719
|
}
|
|
713
720
|
)
|
|
714
721
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-B4p2JldF.cjs';
|
|
3
|
-
import { A as ActionConfig, I as ImageItem, O as OptixFlowConfig } from './blocks-DCvdF54D.cjs';
|
|
3
|
+
import { A as ActionConfig, M as MediaItem, I as ImageItem, O as OptixFlowConfig } from './blocks-DCvdF54D.cjs';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'class-variance-authority';
|
|
6
6
|
import '@page-speed/pressable';
|
|
@@ -28,17 +28,21 @@ interface HeroMentorshipVideoSplitProps {
|
|
|
28
28
|
*/
|
|
29
29
|
videoLabel?: React.ReactNode;
|
|
30
30
|
/**
|
|
31
|
-
* Video
|
|
31
|
+
* Video configuration for modal/dialog
|
|
32
32
|
*/
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Video embed URL
|
|
36
|
-
*/
|
|
37
|
-
videoUrl?: string;
|
|
33
|
+
modalVideo?: MediaItem;
|
|
38
34
|
/**
|
|
39
35
|
* Video dialog title
|
|
40
36
|
*/
|
|
41
37
|
videoTitle?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated Use modalVideo instead
|
|
40
|
+
*/
|
|
41
|
+
videoThumbnail?: ImageItem;
|
|
42
|
+
/**
|
|
43
|
+
* @deprecated Use modalVideo instead
|
|
44
|
+
*/
|
|
45
|
+
videoUrl?: string;
|
|
42
46
|
/**
|
|
43
47
|
* Custom slot for video section (overrides video props)
|
|
44
48
|
*/
|
|
@@ -99,6 +103,6 @@ interface HeroMentorshipVideoSplitProps {
|
|
|
99
103
|
*/
|
|
100
104
|
videoAspectRatio?: "horizontal" | "vertical";
|
|
101
105
|
}
|
|
102
|
-
declare function HeroMentorshipVideoSplit({ videoAspectRatio, heading, description, action, actionSlot, videoLabel, videoThumbnail, videoUrl, videoTitle, videoSlot, image, imageSlot, background, spacing, pattern, patternOpacity, className, containerClassName, contentClassName, headingClassName, descriptionClassName, imageClassName, optixFlowConfig, }: HeroMentorshipVideoSplitProps): React.JSX.Element;
|
|
106
|
+
declare function HeroMentorshipVideoSplit({ videoAspectRatio, heading, description, action, actionSlot, videoLabel, modalVideo, videoThumbnail, videoUrl, videoTitle, videoSlot, image, imageSlot, background, spacing, pattern, patternOpacity, className, containerClassName, contentClassName, headingClassName, descriptionClassName, imageClassName, optixFlowConfig, }: HeroMentorshipVideoSplitProps): React.JSX.Element;
|
|
103
107
|
|
|
104
108
|
export { HeroMentorshipVideoSplit, type HeroMentorshipVideoSplitProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives--8cXayNa.js';
|
|
3
|
-
import { A as ActionConfig, I as ImageItem, O as OptixFlowConfig } from './blocks-DCvdF54D.js';
|
|
3
|
+
import { A as ActionConfig, M as MediaItem, I as ImageItem, O as OptixFlowConfig } from './blocks-DCvdF54D.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'class-variance-authority';
|
|
6
6
|
import '@page-speed/pressable';
|
|
@@ -28,17 +28,21 @@ interface HeroMentorshipVideoSplitProps {
|
|
|
28
28
|
*/
|
|
29
29
|
videoLabel?: React.ReactNode;
|
|
30
30
|
/**
|
|
31
|
-
* Video
|
|
31
|
+
* Video configuration for modal/dialog
|
|
32
32
|
*/
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Video embed URL
|
|
36
|
-
*/
|
|
37
|
-
videoUrl?: string;
|
|
33
|
+
modalVideo?: MediaItem;
|
|
38
34
|
/**
|
|
39
35
|
* Video dialog title
|
|
40
36
|
*/
|
|
41
37
|
videoTitle?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @deprecated Use modalVideo instead
|
|
40
|
+
*/
|
|
41
|
+
videoThumbnail?: ImageItem;
|
|
42
|
+
/**
|
|
43
|
+
* @deprecated Use modalVideo instead
|
|
44
|
+
*/
|
|
45
|
+
videoUrl?: string;
|
|
42
46
|
/**
|
|
43
47
|
* Custom slot for video section (overrides video props)
|
|
44
48
|
*/
|
|
@@ -99,6 +103,6 @@ interface HeroMentorshipVideoSplitProps {
|
|
|
99
103
|
*/
|
|
100
104
|
videoAspectRatio?: "horizontal" | "vertical";
|
|
101
105
|
}
|
|
102
|
-
declare function HeroMentorshipVideoSplit({ videoAspectRatio, heading, description, action, actionSlot, videoLabel, videoThumbnail, videoUrl, videoTitle, videoSlot, image, imageSlot, background, spacing, pattern, patternOpacity, className, containerClassName, contentClassName, headingClassName, descriptionClassName, imageClassName, optixFlowConfig, }: HeroMentorshipVideoSplitProps): React.JSX.Element;
|
|
106
|
+
declare function HeroMentorshipVideoSplit({ videoAspectRatio, heading, description, action, actionSlot, videoLabel, modalVideo, videoThumbnail, videoUrl, videoTitle, videoSlot, image, imageSlot, background, spacing, pattern, patternOpacity, className, containerClassName, contentClassName, headingClassName, descriptionClassName, imageClassName, optixFlowConfig, }: HeroMentorshipVideoSplitProps): React.JSX.Element;
|
|
103
107
|
|
|
104
108
|
export { HeroMentorshipVideoSplit, type HeroMentorshipVideoSplitProps };
|