@opensite/ui 2.0.2 → 2.0.4
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-ai-powered-carousel.cjs +152 -77
- package/dist/hero-ai-powered-carousel.d.cts +5 -13
- package/dist/hero-ai-powered-carousel.d.ts +5 -13
- package/dist/hero-ai-powered-carousel.js +152 -77
- package/dist/hero-announcement-badge.cjs +679 -665
- package/dist/hero-announcement-badge.d.cts +1 -1
- package/dist/hero-announcement-badge.d.ts +1 -1
- package/dist/hero-announcement-badge.js +689 -675
- package/dist/hero-badge-shadow-overlay.cjs +79 -32
- package/dist/hero-badge-shadow-overlay.js +80 -33
- package/dist/hero-centered-image-grid.cjs +106 -95
- package/dist/hero-centered-image-grid.d.cts +2 -14
- package/dist/hero-centered-image-grid.d.ts +2 -14
- package/dist/hero-centered-image-grid.js +106 -95
- package/dist/hero-community-survey-cta.cjs +149 -58
- package/dist/hero-community-survey-cta.d.cts +1 -1
- package/dist/hero-community-survey-cta.d.ts +1 -1
- package/dist/hero-community-survey-cta.js +149 -58
- package/dist/hero-design-carousel-portfolio.cjs +158 -66
- package/dist/hero-design-carousel-portfolio.d.cts +7 -11
- package/dist/hero-design-carousel-portfolio.d.ts +7 -11
- package/dist/hero-design-carousel-portfolio.js +158 -66
- package/dist/hero-event-registration.cjs +765 -718
- package/dist/hero-event-registration.js +761 -714
- package/dist/hero-fullscreen-background-image.cjs +746 -649
- package/dist/hero-fullscreen-background-image.d.cts +12 -4
- package/dist/hero-fullscreen-background-image.d.ts +12 -4
- package/dist/hero-fullscreen-background-image.js +746 -649
- package/dist/hero-fullscreen-logo-cta.cjs +89 -31
- package/dist/hero-fullscreen-logo-cta.js +89 -31
- package/dist/hero-gradient-avatars-rating.cjs +847 -816
- package/dist/hero-gradient-avatars-rating.d.cts +1 -13
- package/dist/hero-gradient-avatars-rating.d.ts +1 -13
- package/dist/hero-gradient-avatars-rating.js +844 -813
- package/dist/hero-gradient-client-focused.cjs +690 -629
- package/dist/hero-gradient-client-focused.d.cts +1 -1
- package/dist/hero-gradient-client-focused.d.ts +1 -1
- package/dist/hero-gradient-client-focused.js +689 -628
- package/dist/hero-grid-pattern-efficiency.cjs +59 -47
- package/dist/hero-grid-pattern-efficiency.d.cts +1 -8
- package/dist/hero-grid-pattern-efficiency.d.ts +1 -8
- package/dist/hero-grid-pattern-efficiency.js +59 -47
- package/dist/hero-logo-centered-screenshot.cjs +1 -1
- package/dist/hero-logo-centered-screenshot.js +1 -1
- package/dist/hero-marketplace-scattered-images.cjs +2 -6
- package/dist/hero-marketplace-scattered-images.d.cts +1 -4
- package/dist/hero-marketplace-scattered-images.d.ts +1 -4
- package/dist/hero-marketplace-scattered-images.js +2 -6
- package/dist/hero-pattern-logo-tech-stack.cjs +1 -1
- package/dist/hero-pattern-logo-tech-stack.js +1 -1
- package/dist/hero-platform-features-grid.cjs +5 -5
- package/dist/hero-platform-features-grid.js +5 -5
- package/dist/hero-simple-centered-image.cjs +140 -44
- package/dist/hero-simple-centered-image.d.cts +1 -1
- package/dist/hero-simple-centered-image.d.ts +1 -1
- package/dist/hero-simple-centered-image.js +140 -44
- package/dist/hero-spiral-pattern-cards.cjs +857 -809
- package/dist/hero-spiral-pattern-cards.d.cts +5 -1
- package/dist/hero-spiral-pattern-cards.d.ts +5 -1
- package/dist/hero-spiral-pattern-cards.js +856 -808
- package/dist/hero-split-geometric-shapes.cjs +754 -723
- package/dist/hero-split-geometric-shapes.d.cts +5 -1
- package/dist/hero-split-geometric-shapes.d.ts +5 -1
- package/dist/hero-split-geometric-shapes.js +748 -717
- package/dist/hero-task-timer-animated.cjs +698 -650
- package/dist/hero-task-timer-animated.d.cts +5 -1
- package/dist/hero-task-timer-animated.d.ts +5 -1
- package/dist/hero-task-timer-animated.js +697 -649
- package/dist/hero-ui-library-showcase.cjs +734 -719
- package/dist/hero-ui-library-showcase.d.cts +5 -1
- package/dist/hero-ui-library-showcase.d.ts +5 -1
- package/dist/hero-ui-library-showcase.js +732 -717
- package/dist/registry.cjs +1035 -788
- package/dist/registry.js +1035 -788
- package/package.json +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var React3 = require('react');
|
|
5
4
|
var AutoScroll = require('embla-carousel-auto-scroll');
|
|
6
5
|
var clsx = require('clsx');
|
|
7
6
|
var tailwindMerge = require('tailwind-merge');
|
|
@@ -9,6 +8,7 @@ var reactSlot = require('@radix-ui/react-slot');
|
|
|
9
8
|
var classVarianceAuthority = require('class-variance-authority');
|
|
10
9
|
var jsxRuntime = require('react/jsx-runtime');
|
|
11
10
|
var img = require('@page-speed/img');
|
|
11
|
+
var React3 = require('react');
|
|
12
12
|
var useEmblaCarousel = require('embla-carousel-react');
|
|
13
13
|
|
|
14
14
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -31,40 +31,14 @@ function _interopNamespace(e) {
|
|
|
31
31
|
return Object.freeze(n);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
var React3__namespace = /*#__PURE__*/_interopNamespace(React3);
|
|
35
34
|
var AutoScroll__default = /*#__PURE__*/_interopDefault(AutoScroll);
|
|
35
|
+
var React3__namespace = /*#__PURE__*/_interopNamespace(React3);
|
|
36
36
|
var useEmblaCarousel__default = /*#__PURE__*/_interopDefault(useEmblaCarousel);
|
|
37
37
|
|
|
38
38
|
// components/blocks/hero/hero-ai-powered-carousel.tsx
|
|
39
39
|
function cn(...inputs) {
|
|
40
40
|
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
41
41
|
}
|
|
42
|
-
function getTextColor(parentBg, variant = "default", options) {
|
|
43
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
44
|
-
if (isDark) {
|
|
45
|
-
switch (variant) {
|
|
46
|
-
case "default":
|
|
47
|
-
return "text-foreground";
|
|
48
|
-
case "muted":
|
|
49
|
-
return "text-foreground/80";
|
|
50
|
-
case "subtle":
|
|
51
|
-
return "text-foreground/60";
|
|
52
|
-
case "accent":
|
|
53
|
-
return "text-accent-foreground";
|
|
54
|
-
}
|
|
55
|
-
} else {
|
|
56
|
-
switch (variant) {
|
|
57
|
-
case "default":
|
|
58
|
-
return "text-foreground";
|
|
59
|
-
case "muted":
|
|
60
|
-
return "text-muted-foreground";
|
|
61
|
-
case "subtle":
|
|
62
|
-
return "text-muted-foreground/70";
|
|
63
|
-
case "accent":
|
|
64
|
-
return "text-primary";
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
42
|
var badgeVariants = classVarianceAuthority.cva(
|
|
69
43
|
"inline-flex items-center justify-center rounded-full border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
|
|
70
44
|
{
|
|
@@ -1019,6 +993,74 @@ var Section = React3__namespace.default.forwardRef(
|
|
|
1019
993
|
}
|
|
1020
994
|
);
|
|
1021
995
|
Section.displayName = "Section";
|
|
996
|
+
var MOBILE_CLASSES = {
|
|
997
|
+
"fit-left": "items-start md:items-center",
|
|
998
|
+
"fit-center": "items-center",
|
|
999
|
+
"fit-right": "items-end md:items-center",
|
|
1000
|
+
"full-left": "items-stretch md:items-center",
|
|
1001
|
+
"full-center": "items-stretch md:items-center",
|
|
1002
|
+
"full-right": "items-stretch md:items-center"
|
|
1003
|
+
};
|
|
1004
|
+
function BlockActions({
|
|
1005
|
+
mobileConfig,
|
|
1006
|
+
actionsClassName,
|
|
1007
|
+
verticalSpacing = "mt-4 md:mt-8",
|
|
1008
|
+
actions,
|
|
1009
|
+
actionsSlot
|
|
1010
|
+
}) {
|
|
1011
|
+
const renderAction = React3__namespace.useCallback(
|
|
1012
|
+
(action, idx) => {
|
|
1013
|
+
const {
|
|
1014
|
+
label,
|
|
1015
|
+
icon,
|
|
1016
|
+
iconAfter,
|
|
1017
|
+
children,
|
|
1018
|
+
href,
|
|
1019
|
+
onClick,
|
|
1020
|
+
className: actionClassName,
|
|
1021
|
+
...pressableProps
|
|
1022
|
+
} = action;
|
|
1023
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1024
|
+
Pressable,
|
|
1025
|
+
{
|
|
1026
|
+
href,
|
|
1027
|
+
onClick,
|
|
1028
|
+
asButton: action.asButton || true,
|
|
1029
|
+
className: actionClassName,
|
|
1030
|
+
...pressableProps,
|
|
1031
|
+
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1032
|
+
icon,
|
|
1033
|
+
label,
|
|
1034
|
+
iconAfter
|
|
1035
|
+
] })
|
|
1036
|
+
},
|
|
1037
|
+
idx
|
|
1038
|
+
);
|
|
1039
|
+
},
|
|
1040
|
+
[]
|
|
1041
|
+
);
|
|
1042
|
+
const width = mobileConfig?.width ?? "full";
|
|
1043
|
+
const position = mobileConfig?.position ?? "center";
|
|
1044
|
+
const mobileLayoutClass = MOBILE_CLASSES[`${width}-${position}`];
|
|
1045
|
+
if (actionsSlot) {
|
|
1046
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { children: actionsSlot });
|
|
1047
|
+
} else if (actions && actions?.length > 0) {
|
|
1048
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1049
|
+
"div",
|
|
1050
|
+
{
|
|
1051
|
+
className: cn(
|
|
1052
|
+
"flex flex-col md:flex-row flex-wrap gap-4",
|
|
1053
|
+
mobileLayoutClass,
|
|
1054
|
+
actionsClassName,
|
|
1055
|
+
verticalSpacing
|
|
1056
|
+
),
|
|
1057
|
+
children: actions.map((action, index) => renderAction(action, index))
|
|
1058
|
+
}
|
|
1059
|
+
);
|
|
1060
|
+
} else {
|
|
1061
|
+
return null;
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1022
1064
|
function HeroAiPoweredCarousel({
|
|
1023
1065
|
badge,
|
|
1024
1066
|
badgeTagline,
|
|
@@ -1026,17 +1068,15 @@ function HeroAiPoweredCarousel({
|
|
|
1026
1068
|
description,
|
|
1027
1069
|
actions,
|
|
1028
1070
|
actionsSlot,
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
desktopCarouselImages1,
|
|
1032
|
-
desktopCarouselImages2,
|
|
1071
|
+
carouselImages1,
|
|
1072
|
+
carouselImages2,
|
|
1033
1073
|
carouselSlot,
|
|
1034
1074
|
background,
|
|
1035
|
-
spacing,
|
|
1075
|
+
spacing = "xl",
|
|
1076
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
1036
1077
|
pattern,
|
|
1037
1078
|
patternOpacity,
|
|
1038
1079
|
className,
|
|
1039
|
-
containerClassName,
|
|
1040
1080
|
contentClassName,
|
|
1041
1081
|
badgeClassName,
|
|
1042
1082
|
headingClassName,
|
|
@@ -1044,27 +1084,6 @@ function HeroAiPoweredCarousel({
|
|
|
1044
1084
|
actionsClassName,
|
|
1045
1085
|
optixFlowConfig
|
|
1046
1086
|
}) {
|
|
1047
|
-
const renderActions = React3.useMemo(() => {
|
|
1048
|
-
if (actionsSlot) return actionsSlot;
|
|
1049
|
-
if (!actions || actions.length === 0) return null;
|
|
1050
|
-
return actions.map((action, index) => {
|
|
1051
|
-
const { label, icon, iconAfter, children, className: actionClassName, ...pressableProps } = action;
|
|
1052
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1053
|
-
Pressable,
|
|
1054
|
-
{
|
|
1055
|
-
asButton: true,
|
|
1056
|
-
className: actionClassName,
|
|
1057
|
-
...pressableProps,
|
|
1058
|
-
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1059
|
-
icon,
|
|
1060
|
-
label,
|
|
1061
|
-
iconAfter
|
|
1062
|
-
] })
|
|
1063
|
-
},
|
|
1064
|
-
index
|
|
1065
|
-
);
|
|
1066
|
-
});
|
|
1067
|
-
}, [actionsSlot, actions]);
|
|
1068
1087
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1069
1088
|
Section,
|
|
1070
1089
|
{
|
|
@@ -1073,19 +1092,63 @@ function HeroAiPoweredCarousel({
|
|
|
1073
1092
|
pattern,
|
|
1074
1093
|
patternOpacity,
|
|
1075
1094
|
className,
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1095
|
+
containerClassName,
|
|
1096
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid items-center gap-16 lg:grid-cols-2", children: [
|
|
1097
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1098
|
+
"div",
|
|
1099
|
+
{
|
|
1100
|
+
className: cn(
|
|
1101
|
+
"mx-auto flex flex-col gap-4 md:gap-8",
|
|
1102
|
+
contentClassName
|
|
1103
|
+
),
|
|
1104
|
+
children: [
|
|
1105
|
+
(badge || badgeTagline) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1106
|
+
"div",
|
|
1107
|
+
{
|
|
1108
|
+
className: cn(
|
|
1109
|
+
"flex w-fit items-center gap-2 rounded-full border pl-2.5 pr-4 py-1.5 text-xs font-medium",
|
|
1110
|
+
badgeClassName
|
|
1111
|
+
),
|
|
1112
|
+
children: [
|
|
1113
|
+
badge && /* @__PURE__ */ jsxRuntime.jsx(Badge, { children: badge }),
|
|
1114
|
+
badgeTagline
|
|
1115
|
+
]
|
|
1116
|
+
}
|
|
1117
|
+
),
|
|
1118
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1119
|
+
"h1",
|
|
1120
|
+
{
|
|
1121
|
+
className: cn(
|
|
1122
|
+
"mt-10 mb-4 text-3xl font-semibold lg:text-5xl text-balance",
|
|
1123
|
+
headingClassName
|
|
1124
|
+
),
|
|
1125
|
+
children: heading
|
|
1126
|
+
}
|
|
1127
|
+
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
|
|
1128
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1129
|
+
"p",
|
|
1130
|
+
{
|
|
1131
|
+
className: cn(
|
|
1132
|
+
"mx-auto lg:text-lg text-balance",
|
|
1133
|
+
descriptionClassName
|
|
1134
|
+
),
|
|
1135
|
+
children: description
|
|
1136
|
+
}
|
|
1137
|
+
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description })),
|
|
1138
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1139
|
+
BlockActions,
|
|
1140
|
+
{
|
|
1141
|
+
actions,
|
|
1142
|
+
actionsSlot,
|
|
1143
|
+
actionsClassName
|
|
1144
|
+
}
|
|
1145
|
+
)
|
|
1146
|
+
]
|
|
1147
|
+
}
|
|
1148
|
+
),
|
|
1086
1149
|
carouselSlot ? carouselSlot : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1087
1150
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-8 lg:hidden", children: [
|
|
1088
|
-
|
|
1151
|
+
carouselImages1 && carouselImages1.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1089
1152
|
Carousel,
|
|
1090
1153
|
{
|
|
1091
1154
|
opts: {
|
|
@@ -1097,18 +1160,21 @@ function HeroAiPoweredCarousel({
|
|
|
1097
1160
|
})
|
|
1098
1161
|
],
|
|
1099
1162
|
className: "-mx-7",
|
|
1100
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(CarouselContent, { className: "max-h-[350px]", children:
|
|
1163
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(CarouselContent, { className: "max-h-[350px]", children: carouselImages1.map((image, index) => /* @__PURE__ */ jsxRuntime.jsx(CarouselItem, { className: "max-w-96", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1101
1164
|
img.Img,
|
|
1102
1165
|
{
|
|
1103
1166
|
src: image.src,
|
|
1104
1167
|
alt: image.alt,
|
|
1105
|
-
className:
|
|
1168
|
+
className: cn(
|
|
1169
|
+
"rounded-lg shadow-lg",
|
|
1170
|
+
image.className
|
|
1171
|
+
),
|
|
1106
1172
|
optixFlowConfig
|
|
1107
1173
|
}
|
|
1108
1174
|
) }, index)) })
|
|
1109
1175
|
}
|
|
1110
1176
|
),
|
|
1111
|
-
|
|
1177
|
+
carouselImages2 && carouselImages2.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1112
1178
|
Carousel,
|
|
1113
1179
|
{
|
|
1114
1180
|
opts: {
|
|
@@ -1121,12 +1187,15 @@ function HeroAiPoweredCarousel({
|
|
|
1121
1187
|
})
|
|
1122
1188
|
],
|
|
1123
1189
|
className: "-mx-7",
|
|
1124
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(CarouselContent, { className: "max-h-[350px]", children:
|
|
1190
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(CarouselContent, { className: "max-h-[350px]", children: carouselImages2.map((image, index) => /* @__PURE__ */ jsxRuntime.jsx(CarouselItem, { className: "max-w-96", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1125
1191
|
img.Img,
|
|
1126
1192
|
{
|
|
1127
1193
|
src: image.src,
|
|
1128
1194
|
alt: image.alt,
|
|
1129
|
-
className:
|
|
1195
|
+
className: cn(
|
|
1196
|
+
"rounded-lg shadow-lg",
|
|
1197
|
+
image.className
|
|
1198
|
+
),
|
|
1130
1199
|
optixFlowConfig
|
|
1131
1200
|
}
|
|
1132
1201
|
) }, index)) })
|
|
@@ -1134,7 +1203,7 @@ function HeroAiPoweredCarousel({
|
|
|
1134
1203
|
)
|
|
1135
1204
|
] }),
|
|
1136
1205
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "hidden grid-cols-2 gap-8 lg:grid", children: [
|
|
1137
|
-
|
|
1206
|
+
carouselImages1 && carouselImages1.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1138
1207
|
Carousel,
|
|
1139
1208
|
{
|
|
1140
1209
|
opts: {
|
|
@@ -1146,18 +1215,21 @@ function HeroAiPoweredCarousel({
|
|
|
1146
1215
|
})
|
|
1147
1216
|
],
|
|
1148
1217
|
orientation: "vertical",
|
|
1149
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(CarouselContent, { className: "max-h-[600px]", children:
|
|
1218
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(CarouselContent, { className: "max-h-[600px]", children: carouselImages1.map((image, index) => /* @__PURE__ */ jsxRuntime.jsx(CarouselItem, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1150
1219
|
img.Img,
|
|
1151
1220
|
{
|
|
1152
1221
|
src: image.src,
|
|
1153
1222
|
alt: image.alt,
|
|
1154
|
-
className:
|
|
1223
|
+
className: cn(
|
|
1224
|
+
"rounded-lg shadow-lg",
|
|
1225
|
+
image.className
|
|
1226
|
+
),
|
|
1155
1227
|
optixFlowConfig
|
|
1156
1228
|
}
|
|
1157
1229
|
) }, index)) })
|
|
1158
1230
|
}
|
|
1159
1231
|
),
|
|
1160
|
-
|
|
1232
|
+
carouselImages2 && carouselImages2.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1161
1233
|
Carousel,
|
|
1162
1234
|
{
|
|
1163
1235
|
opts: {
|
|
@@ -1170,12 +1242,15 @@ function HeroAiPoweredCarousel({
|
|
|
1170
1242
|
})
|
|
1171
1243
|
],
|
|
1172
1244
|
orientation: "vertical",
|
|
1173
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(CarouselContent, { className: "max-h-[600px]", children:
|
|
1245
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(CarouselContent, { className: "max-h-[600px]", children: carouselImages2.map((image, index) => /* @__PURE__ */ jsxRuntime.jsx(CarouselItem, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1174
1246
|
img.Img,
|
|
1175
1247
|
{
|
|
1176
1248
|
src: image.src,
|
|
1177
1249
|
alt: image.alt,
|
|
1178
|
-
className:
|
|
1250
|
+
className: cn(
|
|
1251
|
+
"rounded-lg shadow-lg",
|
|
1252
|
+
image.className
|
|
1253
|
+
),
|
|
1179
1254
|
optixFlowConfig
|
|
1180
1255
|
}
|
|
1181
1256
|
) }, index)) })
|
|
@@ -32,21 +32,13 @@ interface HeroAiPoweredCarouselProps {
|
|
|
32
32
|
*/
|
|
33
33
|
actionsSlot?: React.ReactNode;
|
|
34
34
|
/**
|
|
35
|
-
* Images for
|
|
35
|
+
* Images for carousel 1
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
carouselImages1?: ImageItem[];
|
|
38
38
|
/**
|
|
39
|
-
* Images for
|
|
39
|
+
* Images for carousel 2
|
|
40
40
|
*/
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Images for desktop carousel (first column)
|
|
44
|
-
*/
|
|
45
|
-
desktopCarouselImages1?: ImageItem[];
|
|
46
|
-
/**
|
|
47
|
-
* Images for desktop carousel (second column)
|
|
48
|
-
*/
|
|
49
|
-
desktopCarouselImages2?: ImageItem[];
|
|
41
|
+
carouselImages2?: ImageItem[];
|
|
50
42
|
/**
|
|
51
43
|
* Custom slot for carousel content (overrides all carousel images)
|
|
52
44
|
*/
|
|
@@ -100,6 +92,6 @@ interface HeroAiPoweredCarouselProps {
|
|
|
100
92
|
*/
|
|
101
93
|
optixFlowConfig?: OptixFlowConfig;
|
|
102
94
|
}
|
|
103
|
-
declare function HeroAiPoweredCarousel({ badge, badgeTagline, heading, description, actions, actionsSlot,
|
|
95
|
+
declare function HeroAiPoweredCarousel({ badge, badgeTagline, heading, description, actions, actionsSlot, carouselImages1, carouselImages2, carouselSlot, background, spacing, containerClassName, pattern, patternOpacity, className, contentClassName, badgeClassName, headingClassName, descriptionClassName, actionsClassName, optixFlowConfig, }: HeroAiPoweredCarouselProps): React.JSX.Element;
|
|
104
96
|
|
|
105
97
|
export { HeroAiPoweredCarousel, type HeroAiPoweredCarouselProps };
|
|
@@ -32,21 +32,13 @@ interface HeroAiPoweredCarouselProps {
|
|
|
32
32
|
*/
|
|
33
33
|
actionsSlot?: React.ReactNode;
|
|
34
34
|
/**
|
|
35
|
-
* Images for
|
|
35
|
+
* Images for carousel 1
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
carouselImages1?: ImageItem[];
|
|
38
38
|
/**
|
|
39
|
-
* Images for
|
|
39
|
+
* Images for carousel 2
|
|
40
40
|
*/
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Images for desktop carousel (first column)
|
|
44
|
-
*/
|
|
45
|
-
desktopCarouselImages1?: ImageItem[];
|
|
46
|
-
/**
|
|
47
|
-
* Images for desktop carousel (second column)
|
|
48
|
-
*/
|
|
49
|
-
desktopCarouselImages2?: ImageItem[];
|
|
41
|
+
carouselImages2?: ImageItem[];
|
|
50
42
|
/**
|
|
51
43
|
* Custom slot for carousel content (overrides all carousel images)
|
|
52
44
|
*/
|
|
@@ -100,6 +92,6 @@ interface HeroAiPoweredCarouselProps {
|
|
|
100
92
|
*/
|
|
101
93
|
optixFlowConfig?: OptixFlowConfig;
|
|
102
94
|
}
|
|
103
|
-
declare function HeroAiPoweredCarousel({ badge, badgeTagline, heading, description, actions, actionsSlot,
|
|
95
|
+
declare function HeroAiPoweredCarousel({ badge, badgeTagline, heading, description, actions, actionsSlot, carouselImages1, carouselImages2, carouselSlot, background, spacing, containerClassName, pattern, patternOpacity, className, contentClassName, badgeClassName, headingClassName, descriptionClassName, actionsClassName, optixFlowConfig, }: HeroAiPoweredCarouselProps): React.JSX.Element;
|
|
104
96
|
|
|
105
97
|
export { HeroAiPoweredCarousel, type HeroAiPoweredCarouselProps };
|