@opensite/ui 2.0.6 → 2.0.8
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/hero-adaptable-product-grid.cjs +1 -1
- package/dist/hero-adaptable-product-grid.js +1 -1
- package/dist/hero-agency-animated-images.cjs +795 -631
- package/dist/hero-agency-animated-images.d.cts +13 -9
- package/dist/hero-agency-animated-images.d.ts +13 -9
- package/dist/hero-agency-animated-images.js +794 -630
- package/dist/hero-business-carousel-dots.cjs +822 -911
- package/dist/hero-business-carousel-dots.d.cts +5 -1
- package/dist/hero-business-carousel-dots.d.ts +5 -1
- package/dist/hero-business-carousel-dots.js +824 -910
- package/dist/hero-coming-soon-countdown.cjs +267 -110
- package/dist/hero-coming-soon-countdown.d.cts +8 -11
- package/dist/hero-coming-soon-countdown.d.ts +8 -11
- package/dist/hero-coming-soon-countdown.js +268 -111
- package/dist/hero-conversation-intelligence.cjs +673 -639
- package/dist/hero-conversation-intelligence.js +663 -629
- package/dist/hero-creative-studio-stacked.cjs +899 -861
- package/dist/hero-creative-studio-stacked.d.cts +16 -15
- package/dist/hero-creative-studio-stacked.d.ts +16 -15
- package/dist/hero-creative-studio-stacked.js +897 -859
- package/dist/hero-customer-support-layered.cjs +89 -76
- package/dist/hero-customer-support-layered.js +89 -76
- package/dist/hero-developer-tools-code.cjs +721 -669
- package/dist/hero-developer-tools-code.d.cts +5 -1
- package/dist/hero-developer-tools-code.d.ts +5 -1
- package/dist/hero-developer-tools-code.js +719 -667
- package/dist/hero-digital-agency-fullscreen.cjs +722 -680
- package/dist/hero-digital-agency-fullscreen.d.cts +4 -20
- package/dist/hero-digital-agency-fullscreen.d.ts +4 -20
- package/dist/hero-digital-agency-fullscreen.js +722 -680
- package/dist/hero-ecommerce-product-showcase.cjs +892 -846
- package/dist/hero-ecommerce-product-showcase.js +889 -843
- package/dist/hero-enterprise-security.cjs +168 -132
- package/dist/hero-enterprise-security.d.cts +12 -19
- package/dist/hero-enterprise-security.d.ts +12 -19
- package/dist/hero-enterprise-security.js +168 -132
- package/dist/hero-event-registration.cjs +39 -39
- package/dist/hero-event-registration.js +39 -39
- package/dist/hero-fullscreen-background-image.cjs +3 -2
- package/dist/hero-fullscreen-background-image.js +3 -2
- package/dist/hero-fullscreen-logo-cta.cjs +4 -2
- package/dist/hero-fullscreen-logo-cta.js +4 -2
- package/dist/hero-innovation-image-grid.cjs +2 -2
- package/dist/hero-innovation-image-grid.js +2 -2
- package/dist/hero-mental-health-team.cjs +17 -17
- package/dist/hero-mental-health-team.d.cts +5 -5
- package/dist/hero-mental-health-team.d.ts +5 -5
- package/dist/hero-mental-health-team.js +17 -17
- package/dist/hero-mobile-app-download.cjs +2 -2
- package/dist/hero-mobile-app-download.js +2 -2
- package/dist/hero-newsletter-minimal.cjs +97 -57
- package/dist/hero-newsletter-minimal.d.cts +5 -1
- package/dist/hero-newsletter-minimal.d.ts +5 -1
- package/dist/hero-newsletter-minimal.js +97 -57
- package/dist/hero-shared-inbox-layered.cjs +522 -42
- package/dist/hero-shared-inbox-layered.d.cts +20 -4
- package/dist/hero-shared-inbox-layered.d.ts +20 -4
- package/dist/hero-shared-inbox-layered.js +505 -40
- package/dist/hero-startup-launch-cta.cjs +859 -816
- package/dist/hero-startup-launch-cta.d.cts +3 -2
- package/dist/hero-startup-launch-cta.d.ts +3 -2
- package/dist/hero-startup-launch-cta.js +858 -815
- package/dist/hero-therapy-testimonial-grid.cjs +1 -1
- package/dist/hero-therapy-testimonial-grid.js +1 -1
- package/dist/hero-video-dialog-gradient-BnCFFec0.d.ts +99 -0
- package/dist/hero-video-dialog-gradient-Dapebkzu.d.cts +99 -0
- package/dist/hero-video-dialog-gradient.cjs +24 -23
- package/dist/hero-video-dialog-gradient.d.cts +4 -94
- package/dist/hero-video-dialog-gradient.d.ts +4 -94
- package/dist/hero-video-dialog-gradient.js +24 -23
- package/dist/hero-welcome-asymmetric-images.cjs +652 -617
- package/dist/hero-welcome-asymmetric-images.d.cts +5 -1
- package/dist/hero-welcome-asymmetric-images.d.ts +5 -1
- package/dist/hero-welcome-asymmetric-images.js +651 -616
- package/dist/registry.cjs +1111 -848
- package/dist/registry.js +1111 -848
- package/package.json +1 -1
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { f as SectionBackground, g as SectionSpacing, t as PatternName } from './community-initiatives-Bi_ClKrO.js';
|
|
3
|
+
import { A as ActionConfig, I as ImageItem, O as OptixFlowConfig } from './blocks-k17uluAz.js';
|
|
4
|
+
|
|
5
|
+
interface VideoDialogConfig {
|
|
6
|
+
/**
|
|
7
|
+
* Dialog title
|
|
8
|
+
*/
|
|
9
|
+
title?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Video embed URL
|
|
12
|
+
*/
|
|
13
|
+
videoUrl?: string;
|
|
14
|
+
}
|
|
15
|
+
interface HeroVideoDialogGradientProps {
|
|
16
|
+
/**
|
|
17
|
+
* Main heading content
|
|
18
|
+
*/
|
|
19
|
+
heading?: React.ReactNode;
|
|
20
|
+
/**
|
|
21
|
+
* Description text below heading
|
|
22
|
+
*/
|
|
23
|
+
description?: React.ReactNode;
|
|
24
|
+
/**
|
|
25
|
+
* Array of action configurations for CTA buttons
|
|
26
|
+
*/
|
|
27
|
+
actions?: ActionConfig[];
|
|
28
|
+
/**
|
|
29
|
+
* Video action object
|
|
30
|
+
*/
|
|
31
|
+
videoAction?: ActionConfig;
|
|
32
|
+
/**
|
|
33
|
+
* Showcase image configuration
|
|
34
|
+
*/
|
|
35
|
+
image?: ImageItem;
|
|
36
|
+
/**
|
|
37
|
+
* Custom slot for image (overrides image prop)
|
|
38
|
+
*/
|
|
39
|
+
imageSlot?: React.ReactNode;
|
|
40
|
+
/**
|
|
41
|
+
* Video dialog configuration
|
|
42
|
+
*/
|
|
43
|
+
videoDialog?: VideoDialogConfig;
|
|
44
|
+
/**
|
|
45
|
+
* Background style for the section
|
|
46
|
+
*/
|
|
47
|
+
background?: SectionBackground;
|
|
48
|
+
/**
|
|
49
|
+
* Vertical spacing for the section
|
|
50
|
+
*/
|
|
51
|
+
spacing?: SectionSpacing;
|
|
52
|
+
/**
|
|
53
|
+
* Optional background pattern name
|
|
54
|
+
*/
|
|
55
|
+
pattern?: PatternName | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Pattern overlay opacity (0-1)
|
|
58
|
+
*/
|
|
59
|
+
patternOpacity?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Additional CSS classes for the section
|
|
62
|
+
*/
|
|
63
|
+
className?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Additional CSS classes for the container
|
|
66
|
+
*/
|
|
67
|
+
containerClassName?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Additional CSS classes for the heading
|
|
70
|
+
*/
|
|
71
|
+
headingClassName?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Additional CSS classes for the description
|
|
74
|
+
*/
|
|
75
|
+
descriptionClassName?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Additional CSS classes for the image
|
|
78
|
+
*/
|
|
79
|
+
imageClassName?: string;
|
|
80
|
+
/**
|
|
81
|
+
* OptixFlow image optimization configuration
|
|
82
|
+
*/
|
|
83
|
+
optixFlowConfig?: OptixFlowConfig;
|
|
84
|
+
/**
|
|
85
|
+
* Video aspect ratio
|
|
86
|
+
*/
|
|
87
|
+
videoAspectRatio?: "horizontal" | "vertical";
|
|
88
|
+
/**
|
|
89
|
+
* Callback when video button is clicked
|
|
90
|
+
*/
|
|
91
|
+
onVideoClick?: () => void;
|
|
92
|
+
/**
|
|
93
|
+
* Additional CSS classes for the actions container
|
|
94
|
+
*/
|
|
95
|
+
actionsClassName?: string;
|
|
96
|
+
}
|
|
97
|
+
declare function HeroVideoDialogGradient({ videoAspectRatio, heading, description, actions, videoAction, image, imageSlot, videoDialog, background, containerClassName, spacing, pattern, onVideoClick, patternOpacity, actionsClassName, className, headingClassName, descriptionClassName, imageClassName, optixFlowConfig, }: HeroVideoDialogGradientProps): React.JSX.Element;
|
|
98
|
+
|
|
99
|
+
export { HeroVideoDialogGradient as H, type VideoDialogConfig as V, type HeroVideoDialogGradientProps as a };
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { f as SectionBackground, g as SectionSpacing, t as PatternName } from './community-initiatives-Bz_A5vLU.cjs';
|
|
3
|
+
import { A as ActionConfig, I as ImageItem, O as OptixFlowConfig } from './blocks-Cohq4eio.cjs';
|
|
4
|
+
|
|
5
|
+
interface VideoDialogConfig {
|
|
6
|
+
/**
|
|
7
|
+
* Dialog title
|
|
8
|
+
*/
|
|
9
|
+
title?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Video embed URL
|
|
12
|
+
*/
|
|
13
|
+
videoUrl?: string;
|
|
14
|
+
}
|
|
15
|
+
interface HeroVideoDialogGradientProps {
|
|
16
|
+
/**
|
|
17
|
+
* Main heading content
|
|
18
|
+
*/
|
|
19
|
+
heading?: React.ReactNode;
|
|
20
|
+
/**
|
|
21
|
+
* Description text below heading
|
|
22
|
+
*/
|
|
23
|
+
description?: React.ReactNode;
|
|
24
|
+
/**
|
|
25
|
+
* Array of action configurations for CTA buttons
|
|
26
|
+
*/
|
|
27
|
+
actions?: ActionConfig[];
|
|
28
|
+
/**
|
|
29
|
+
* Video action object
|
|
30
|
+
*/
|
|
31
|
+
videoAction?: ActionConfig;
|
|
32
|
+
/**
|
|
33
|
+
* Showcase image configuration
|
|
34
|
+
*/
|
|
35
|
+
image?: ImageItem;
|
|
36
|
+
/**
|
|
37
|
+
* Custom slot for image (overrides image prop)
|
|
38
|
+
*/
|
|
39
|
+
imageSlot?: React.ReactNode;
|
|
40
|
+
/**
|
|
41
|
+
* Video dialog configuration
|
|
42
|
+
*/
|
|
43
|
+
videoDialog?: VideoDialogConfig;
|
|
44
|
+
/**
|
|
45
|
+
* Background style for the section
|
|
46
|
+
*/
|
|
47
|
+
background?: SectionBackground;
|
|
48
|
+
/**
|
|
49
|
+
* Vertical spacing for the section
|
|
50
|
+
*/
|
|
51
|
+
spacing?: SectionSpacing;
|
|
52
|
+
/**
|
|
53
|
+
* Optional background pattern name
|
|
54
|
+
*/
|
|
55
|
+
pattern?: PatternName | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Pattern overlay opacity (0-1)
|
|
58
|
+
*/
|
|
59
|
+
patternOpacity?: number;
|
|
60
|
+
/**
|
|
61
|
+
* Additional CSS classes for the section
|
|
62
|
+
*/
|
|
63
|
+
className?: string;
|
|
64
|
+
/**
|
|
65
|
+
* Additional CSS classes for the container
|
|
66
|
+
*/
|
|
67
|
+
containerClassName?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Additional CSS classes for the heading
|
|
70
|
+
*/
|
|
71
|
+
headingClassName?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Additional CSS classes for the description
|
|
74
|
+
*/
|
|
75
|
+
descriptionClassName?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Additional CSS classes for the image
|
|
78
|
+
*/
|
|
79
|
+
imageClassName?: string;
|
|
80
|
+
/**
|
|
81
|
+
* OptixFlow image optimization configuration
|
|
82
|
+
*/
|
|
83
|
+
optixFlowConfig?: OptixFlowConfig;
|
|
84
|
+
/**
|
|
85
|
+
* Video aspect ratio
|
|
86
|
+
*/
|
|
87
|
+
videoAspectRatio?: "horizontal" | "vertical";
|
|
88
|
+
/**
|
|
89
|
+
* Callback when video button is clicked
|
|
90
|
+
*/
|
|
91
|
+
onVideoClick?: () => void;
|
|
92
|
+
/**
|
|
93
|
+
* Additional CSS classes for the actions container
|
|
94
|
+
*/
|
|
95
|
+
actionsClassName?: string;
|
|
96
|
+
}
|
|
97
|
+
declare function HeroVideoDialogGradient({ videoAspectRatio, heading, description, actions, videoAction, image, imageSlot, videoDialog, background, containerClassName, spacing, pattern, onVideoClick, patternOpacity, actionsClassName, className, headingClassName, descriptionClassName, imageClassName, optixFlowConfig, }: HeroVideoDialogGradientProps): React.JSX.Element;
|
|
98
|
+
|
|
99
|
+
export { HeroVideoDialogGradient as H, type VideoDialogConfig as V, type HeroVideoDialogGradientProps as a };
|
|
@@ -965,6 +965,7 @@ function HeroVideoDialogGradient({
|
|
|
965
965
|
pattern,
|
|
966
966
|
onVideoClick,
|
|
967
967
|
patternOpacity,
|
|
968
|
+
actionsClassName,
|
|
968
969
|
className,
|
|
969
970
|
headingClassName,
|
|
970
971
|
descriptionClassName,
|
|
@@ -1018,16 +1019,7 @@ function HeroVideoDialogGradient({
|
|
|
1018
1019
|
),
|
|
1019
1020
|
children: heading
|
|
1020
1021
|
}
|
|
1021
|
-
) :
|
|
1022
|
-
"h1",
|
|
1023
|
-
{
|
|
1024
|
-
className: cn(
|
|
1025
|
-
"max-w-[920px] text-center text-4xl leading-tight font-semibold md:text-6xl lg:text-7xl text-balance",
|
|
1026
|
-
headingClassName
|
|
1027
|
-
),
|
|
1028
|
-
children: heading
|
|
1029
|
-
}
|
|
1030
|
-
)),
|
|
1022
|
+
) : heading),
|
|
1031
1023
|
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1032
1024
|
"p",
|
|
1033
1025
|
{
|
|
@@ -1037,20 +1029,29 @@ function HeroVideoDialogGradient({
|
|
|
1037
1029
|
),
|
|
1038
1030
|
children: description
|
|
1039
1031
|
}
|
|
1040
|
-
) :
|
|
1032
|
+
) : description)
|
|
1041
1033
|
] }),
|
|
1042
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1034
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1035
|
+
"div",
|
|
1036
|
+
{
|
|
1037
|
+
className: cn(
|
|
1038
|
+
"flex flex-col md:flex-row flex-wrap gap-4",
|
|
1039
|
+
actionsClassName
|
|
1040
|
+
),
|
|
1041
|
+
children: [
|
|
1042
|
+
videoAction && videoDialog?.videoUrl ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1043
|
+
ActionComponent,
|
|
1044
|
+
{
|
|
1045
|
+
action: {
|
|
1046
|
+
...videoAction,
|
|
1047
|
+
onClick: handleVideoClick
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
) : null,
|
|
1051
|
+
actions?.map((action, index) => /* @__PURE__ */ jsxRuntime.jsx(ActionComponent, { action }, index))
|
|
1052
|
+
]
|
|
1053
|
+
}
|
|
1054
|
+
)
|
|
1054
1055
|
] }),
|
|
1055
1056
|
renderImage
|
|
1056
1057
|
] })
|
|
@@ -1,98 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
export { H as HeroVideoDialogGradient, a as HeroVideoDialogGradientProps } from './hero-video-dialog-gradient-Dapebkzu.cjs';
|
|
2
|
+
import 'react';
|
|
3
|
+
import './community-initiatives-Bz_A5vLU.cjs';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
|
+
import './blocks-Cohq4eio.cjs';
|
|
5
6
|
import 'class-variance-authority';
|
|
6
7
|
import './button-variants-lRElsmTc.cjs';
|
|
7
8
|
import 'class-variance-authority/types';
|
|
8
|
-
|
|
9
|
-
interface VideoDialogConfig {
|
|
10
|
-
/**
|
|
11
|
-
* Dialog title
|
|
12
|
-
*/
|
|
13
|
-
title?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Video embed URL
|
|
16
|
-
*/
|
|
17
|
-
videoUrl?: string;
|
|
18
|
-
}
|
|
19
|
-
interface HeroVideoDialogGradientProps {
|
|
20
|
-
/**
|
|
21
|
-
* Main heading content
|
|
22
|
-
*/
|
|
23
|
-
heading?: React.ReactNode;
|
|
24
|
-
/**
|
|
25
|
-
* Description text below heading
|
|
26
|
-
*/
|
|
27
|
-
description?: React.ReactNode;
|
|
28
|
-
/**
|
|
29
|
-
* Array of action configurations for CTA buttons
|
|
30
|
-
*/
|
|
31
|
-
actions?: ActionConfig[];
|
|
32
|
-
/**
|
|
33
|
-
* Video action object
|
|
34
|
-
*/
|
|
35
|
-
videoAction?: ActionConfig;
|
|
36
|
-
/**
|
|
37
|
-
* Showcase image configuration
|
|
38
|
-
*/
|
|
39
|
-
image?: ImageItem;
|
|
40
|
-
/**
|
|
41
|
-
* Custom slot for image (overrides image prop)
|
|
42
|
-
*/
|
|
43
|
-
imageSlot?: React.ReactNode;
|
|
44
|
-
/**
|
|
45
|
-
* Video dialog configuration
|
|
46
|
-
*/
|
|
47
|
-
videoDialog?: VideoDialogConfig; /**
|
|
48
|
-
* Background style for the section
|
|
49
|
-
*/
|
|
50
|
-
background?: SectionBackground;
|
|
51
|
-
/**
|
|
52
|
-
* Vertical spacing for the section
|
|
53
|
-
*/
|
|
54
|
-
spacing?: SectionSpacing;
|
|
55
|
-
/**
|
|
56
|
-
* Optional background pattern name
|
|
57
|
-
*/
|
|
58
|
-
pattern?: PatternName | undefined;
|
|
59
|
-
/**
|
|
60
|
-
* Pattern overlay opacity (0-1)
|
|
61
|
-
*/
|
|
62
|
-
patternOpacity?: number;
|
|
63
|
-
/**
|
|
64
|
-
* Additional CSS classes for the section
|
|
65
|
-
*/
|
|
66
|
-
className?: string;
|
|
67
|
-
/**
|
|
68
|
-
* Additional CSS classes for the container
|
|
69
|
-
*/
|
|
70
|
-
containerClassName?: string;
|
|
71
|
-
/**
|
|
72
|
-
* Additional CSS classes for the heading
|
|
73
|
-
*/
|
|
74
|
-
headingClassName?: string;
|
|
75
|
-
/**
|
|
76
|
-
* Additional CSS classes for the description
|
|
77
|
-
*/
|
|
78
|
-
descriptionClassName?: string;
|
|
79
|
-
/**
|
|
80
|
-
* Additional CSS classes for the image
|
|
81
|
-
*/
|
|
82
|
-
imageClassName?: string;
|
|
83
|
-
/**
|
|
84
|
-
* OptixFlow image optimization configuration
|
|
85
|
-
*/
|
|
86
|
-
optixFlowConfig?: OptixFlowConfig;
|
|
87
|
-
/**
|
|
88
|
-
* Video aspect ratio
|
|
89
|
-
*/
|
|
90
|
-
videoAspectRatio?: "horizontal" | "vertical";
|
|
91
|
-
/**
|
|
92
|
-
* Callback when video button is clicked
|
|
93
|
-
*/
|
|
94
|
-
onVideoClick?: () => void;
|
|
95
|
-
}
|
|
96
|
-
declare function HeroVideoDialogGradient({ videoAspectRatio, heading, description, actions, videoAction, image, imageSlot, videoDialog, background, containerClassName, spacing, pattern, onVideoClick, patternOpacity, className, headingClassName, descriptionClassName, imageClassName, optixFlowConfig, }: HeroVideoDialogGradientProps): React.JSX.Element;
|
|
97
|
-
|
|
98
|
-
export { HeroVideoDialogGradient, type HeroVideoDialogGradientProps };
|
|
@@ -1,98 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
import
|
|
1
|
+
export { H as HeroVideoDialogGradient, a as HeroVideoDialogGradientProps } from './hero-video-dialog-gradient-BnCFFec0.js';
|
|
2
|
+
import 'react';
|
|
3
|
+
import './community-initiatives-Bi_ClKrO.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
|
+
import './blocks-k17uluAz.js';
|
|
5
6
|
import 'class-variance-authority';
|
|
6
7
|
import './button-variants-lRElsmTc.js';
|
|
7
8
|
import 'class-variance-authority/types';
|
|
8
|
-
|
|
9
|
-
interface VideoDialogConfig {
|
|
10
|
-
/**
|
|
11
|
-
* Dialog title
|
|
12
|
-
*/
|
|
13
|
-
title?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Video embed URL
|
|
16
|
-
*/
|
|
17
|
-
videoUrl?: string;
|
|
18
|
-
}
|
|
19
|
-
interface HeroVideoDialogGradientProps {
|
|
20
|
-
/**
|
|
21
|
-
* Main heading content
|
|
22
|
-
*/
|
|
23
|
-
heading?: React.ReactNode;
|
|
24
|
-
/**
|
|
25
|
-
* Description text below heading
|
|
26
|
-
*/
|
|
27
|
-
description?: React.ReactNode;
|
|
28
|
-
/**
|
|
29
|
-
* Array of action configurations for CTA buttons
|
|
30
|
-
*/
|
|
31
|
-
actions?: ActionConfig[];
|
|
32
|
-
/**
|
|
33
|
-
* Video action object
|
|
34
|
-
*/
|
|
35
|
-
videoAction?: ActionConfig;
|
|
36
|
-
/**
|
|
37
|
-
* Showcase image configuration
|
|
38
|
-
*/
|
|
39
|
-
image?: ImageItem;
|
|
40
|
-
/**
|
|
41
|
-
* Custom slot for image (overrides image prop)
|
|
42
|
-
*/
|
|
43
|
-
imageSlot?: React.ReactNode;
|
|
44
|
-
/**
|
|
45
|
-
* Video dialog configuration
|
|
46
|
-
*/
|
|
47
|
-
videoDialog?: VideoDialogConfig; /**
|
|
48
|
-
* Background style for the section
|
|
49
|
-
*/
|
|
50
|
-
background?: SectionBackground;
|
|
51
|
-
/**
|
|
52
|
-
* Vertical spacing for the section
|
|
53
|
-
*/
|
|
54
|
-
spacing?: SectionSpacing;
|
|
55
|
-
/**
|
|
56
|
-
* Optional background pattern name
|
|
57
|
-
*/
|
|
58
|
-
pattern?: PatternName | undefined;
|
|
59
|
-
/**
|
|
60
|
-
* Pattern overlay opacity (0-1)
|
|
61
|
-
*/
|
|
62
|
-
patternOpacity?: number;
|
|
63
|
-
/**
|
|
64
|
-
* Additional CSS classes for the section
|
|
65
|
-
*/
|
|
66
|
-
className?: string;
|
|
67
|
-
/**
|
|
68
|
-
* Additional CSS classes for the container
|
|
69
|
-
*/
|
|
70
|
-
containerClassName?: string;
|
|
71
|
-
/**
|
|
72
|
-
* Additional CSS classes for the heading
|
|
73
|
-
*/
|
|
74
|
-
headingClassName?: string;
|
|
75
|
-
/**
|
|
76
|
-
* Additional CSS classes for the description
|
|
77
|
-
*/
|
|
78
|
-
descriptionClassName?: string;
|
|
79
|
-
/**
|
|
80
|
-
* Additional CSS classes for the image
|
|
81
|
-
*/
|
|
82
|
-
imageClassName?: string;
|
|
83
|
-
/**
|
|
84
|
-
* OptixFlow image optimization configuration
|
|
85
|
-
*/
|
|
86
|
-
optixFlowConfig?: OptixFlowConfig;
|
|
87
|
-
/**
|
|
88
|
-
* Video aspect ratio
|
|
89
|
-
*/
|
|
90
|
-
videoAspectRatio?: "horizontal" | "vertical";
|
|
91
|
-
/**
|
|
92
|
-
* Callback when video button is clicked
|
|
93
|
-
*/
|
|
94
|
-
onVideoClick?: () => void;
|
|
95
|
-
}
|
|
96
|
-
declare function HeroVideoDialogGradient({ videoAspectRatio, heading, description, actions, videoAction, image, imageSlot, videoDialog, background, containerClassName, spacing, pattern, onVideoClick, patternOpacity, className, headingClassName, descriptionClassName, imageClassName, optixFlowConfig, }: HeroVideoDialogGradientProps): React.JSX.Element;
|
|
97
|
-
|
|
98
|
-
export { HeroVideoDialogGradient, type HeroVideoDialogGradientProps };
|
|
@@ -942,6 +942,7 @@ function HeroVideoDialogGradient({
|
|
|
942
942
|
pattern,
|
|
943
943
|
onVideoClick,
|
|
944
944
|
patternOpacity,
|
|
945
|
+
actionsClassName,
|
|
945
946
|
className,
|
|
946
947
|
headingClassName,
|
|
947
948
|
descriptionClassName,
|
|
@@ -995,16 +996,7 @@ function HeroVideoDialogGradient({
|
|
|
995
996
|
),
|
|
996
997
|
children: heading
|
|
997
998
|
}
|
|
998
|
-
) :
|
|
999
|
-
"h1",
|
|
1000
|
-
{
|
|
1001
|
-
className: cn(
|
|
1002
|
-
"max-w-[920px] text-center text-4xl leading-tight font-semibold md:text-6xl lg:text-7xl text-balance",
|
|
1003
|
-
headingClassName
|
|
1004
|
-
),
|
|
1005
|
-
children: heading
|
|
1006
|
-
}
|
|
1007
|
-
)),
|
|
999
|
+
) : heading),
|
|
1008
1000
|
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
1009
1001
|
"p",
|
|
1010
1002
|
{
|
|
@@ -1014,20 +1006,29 @@ function HeroVideoDialogGradient({
|
|
|
1014
1006
|
),
|
|
1015
1007
|
children: description
|
|
1016
1008
|
}
|
|
1017
|
-
) :
|
|
1009
|
+
) : description)
|
|
1018
1010
|
] }),
|
|
1019
|
-
/* @__PURE__ */ jsxs(
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1011
|
+
/* @__PURE__ */ jsxs(
|
|
1012
|
+
"div",
|
|
1013
|
+
{
|
|
1014
|
+
className: cn(
|
|
1015
|
+
"flex flex-col md:flex-row flex-wrap gap-4",
|
|
1016
|
+
actionsClassName
|
|
1017
|
+
),
|
|
1018
|
+
children: [
|
|
1019
|
+
videoAction && videoDialog?.videoUrl ? /* @__PURE__ */ jsx(
|
|
1020
|
+
ActionComponent,
|
|
1021
|
+
{
|
|
1022
|
+
action: {
|
|
1023
|
+
...videoAction,
|
|
1024
|
+
onClick: handleVideoClick
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
) : null,
|
|
1028
|
+
actions?.map((action, index) => /* @__PURE__ */ jsx(ActionComponent, { action }, index))
|
|
1029
|
+
]
|
|
1030
|
+
}
|
|
1031
|
+
)
|
|
1031
1032
|
] }),
|
|
1032
1033
|
renderImage
|
|
1033
1034
|
] })
|