@opensite/ui 1.2.5 → 1.2.6
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/feature-accordion-image.cjs +4 -4
- package/dist/feature-accordion-image.js +4 -4
- package/dist/feature-animated-carousel.cjs +53 -73
- package/dist/feature-animated-carousel.d.cts +5 -1
- package/dist/feature-animated-carousel.d.ts +5 -1
- package/dist/feature-animated-carousel.js +53 -73
- package/dist/feature-carousel-progress.cjs +14 -2
- package/dist/feature-carousel-progress.js +14 -2
- package/dist/registry.cjs +71 -49
- package/dist/registry.js +71 -49
- package/package.json +1 -1
|
@@ -637,7 +637,7 @@ function FeatureAccordionImage({
|
|
|
637
637
|
AccordionTrigger,
|
|
638
638
|
{
|
|
639
639
|
className: cn(
|
|
640
|
-
"text-left text-lg font-medium",
|
|
640
|
+
"text-left text-md md:text-lg font-medium",
|
|
641
641
|
item.triggerClassName
|
|
642
642
|
),
|
|
643
643
|
children: item.title
|
|
@@ -685,12 +685,12 @@ function FeatureAccordionImage({
|
|
|
685
685
|
patternClassName,
|
|
686
686
|
className,
|
|
687
687
|
containerClassName,
|
|
688
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
|
|
688
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center space-y-6 md:space-y-16", children: [
|
|
689
689
|
(title || description) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
690
690
|
"div",
|
|
691
691
|
{
|
|
692
692
|
className: cn(
|
|
693
|
-
"text-center max-w-full md:max-w-md text-balance",
|
|
693
|
+
"text-left md:text-center max-w-full md:max-w-md text-balance",
|
|
694
694
|
headerClassName
|
|
695
695
|
),
|
|
696
696
|
children: [
|
|
@@ -698,7 +698,7 @@ function FeatureAccordionImage({
|
|
|
698
698
|
"h2",
|
|
699
699
|
{
|
|
700
700
|
className: cn(
|
|
701
|
-
"text-
|
|
701
|
+
"text-2xl font-semibold md:text-3xl lg:text-4xl",
|
|
702
702
|
titleClassName
|
|
703
703
|
),
|
|
704
704
|
children: title
|
|
@@ -615,7 +615,7 @@ function FeatureAccordionImage({
|
|
|
615
615
|
AccordionTrigger,
|
|
616
616
|
{
|
|
617
617
|
className: cn(
|
|
618
|
-
"text-left text-lg font-medium",
|
|
618
|
+
"text-left text-md md:text-lg font-medium",
|
|
619
619
|
item.triggerClassName
|
|
620
620
|
),
|
|
621
621
|
children: item.title
|
|
@@ -663,12 +663,12 @@ function FeatureAccordionImage({
|
|
|
663
663
|
patternClassName,
|
|
664
664
|
className,
|
|
665
665
|
containerClassName,
|
|
666
|
-
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
|
|
666
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center space-y-6 md:space-y-16", children: [
|
|
667
667
|
(title || description) && /* @__PURE__ */ jsxs(
|
|
668
668
|
"div",
|
|
669
669
|
{
|
|
670
670
|
className: cn(
|
|
671
|
-
"text-center max-w-full md:max-w-md text-balance",
|
|
671
|
+
"text-left md:text-center max-w-full md:max-w-md text-balance",
|
|
672
672
|
headerClassName
|
|
673
673
|
),
|
|
674
674
|
children: [
|
|
@@ -676,7 +676,7 @@ function FeatureAccordionImage({
|
|
|
676
676
|
"h2",
|
|
677
677
|
{
|
|
678
678
|
className: cn(
|
|
679
|
-
"text-
|
|
679
|
+
"text-2xl font-semibold md:text-3xl lg:text-4xl",
|
|
680
680
|
titleClassName
|
|
681
681
|
),
|
|
682
682
|
children: title
|
|
@@ -33,36 +33,6 @@ var React6__namespace = /*#__PURE__*/_interopNamespace(React6);
|
|
|
33
33
|
function cn(...inputs) {
|
|
34
34
|
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
35
35
|
}
|
|
36
|
-
function getNestedCardBg(parentBg, variant = "muted", options) {
|
|
37
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
38
|
-
if (isDark) {
|
|
39
|
-
switch (variant) {
|
|
40
|
-
case "muted":
|
|
41
|
-
return "bg-background";
|
|
42
|
-
case "card":
|
|
43
|
-
return "bg-card";
|
|
44
|
-
case "accent":
|
|
45
|
-
return "bg-accent";
|
|
46
|
-
case "subtle":
|
|
47
|
-
return "bg-background/50";
|
|
48
|
-
}
|
|
49
|
-
} else {
|
|
50
|
-
switch (variant) {
|
|
51
|
-
case "muted":
|
|
52
|
-
return "bg-muted";
|
|
53
|
-
case "card":
|
|
54
|
-
return "bg-card";
|
|
55
|
-
case "accent":
|
|
56
|
-
return "bg-accent";
|
|
57
|
-
case "subtle":
|
|
58
|
-
return "bg-muted/50";
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
function getNestedCardTextColor(parentBg, options) {
|
|
63
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
64
|
-
return isDark ? "text-foreground" : "";
|
|
65
|
-
}
|
|
66
36
|
var svgCache = /* @__PURE__ */ new Map();
|
|
67
37
|
function DynamicIcon({
|
|
68
38
|
name,
|
|
@@ -1022,17 +992,17 @@ var FeatureCard = React6__namespace.memo(
|
|
|
1022
992
|
borderRadius: "24px"
|
|
1023
993
|
},
|
|
1024
994
|
className: cn(
|
|
1025
|
-
"relative flex items-start gap-4
|
|
1026
|
-
isActive ? "shadow-xl" : "cursor-pointer shadow-none"
|
|
995
|
+
"relative flex items-start gap-4 bg-background text-foreground md:w-fit md:max-w-sm",
|
|
996
|
+
isActive ? "shadow-xl overflow-visible" : "cursor-pointer shadow-none hover:shadow-xl transition-shadow duration-500 overflow-hidden"
|
|
1027
997
|
),
|
|
1028
998
|
onClick,
|
|
1029
999
|
children: [
|
|
1030
|
-
isActive && feature.href && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute
|
|
1000
|
+
isActive && feature.href && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute right-0 top-1/2 -translate-y-1/2 translate-x-1/2 bg-background rounded-full h-fit w-fit p-2 flex items-center justify-center z-10", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1031
1001
|
Pressable,
|
|
1032
1002
|
{
|
|
1033
1003
|
href: feature.href,
|
|
1034
1004
|
size: "icon-lg",
|
|
1035
|
-
className: "text-foreground",
|
|
1005
|
+
className: "bg-primary text-primary-foreground",
|
|
1036
1006
|
children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/arrow-up-right" })
|
|
1037
1007
|
}
|
|
1038
1008
|
) }),
|
|
@@ -1187,7 +1157,7 @@ var FeaturesMobile = React6__namespace.memo(
|
|
|
1187
1157
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1188
1158
|
"button",
|
|
1189
1159
|
{
|
|
1190
|
-
className: "rounded-full border
|
|
1160
|
+
className: "rounded-full border p-2 flex items-center justify-center disabled:opacity-50 h-fit w-fit bg-card text-card-foreground",
|
|
1191
1161
|
onClick: handlePrevious,
|
|
1192
1162
|
disabled: isPreviousDisabled,
|
|
1193
1163
|
type: "button",
|
|
@@ -1197,7 +1167,7 @@ var FeaturesMobile = React6__namespace.memo(
|
|
|
1197
1167
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1198
1168
|
"button",
|
|
1199
1169
|
{
|
|
1200
|
-
className: "rounded-full border
|
|
1170
|
+
className: "rounded-full border p-2 flex items-center justify-center disabled:opacity-50 h-fit w-fit bg-card text-card-foreground",
|
|
1201
1171
|
onClick: handleNext,
|
|
1202
1172
|
disabled: isNextDisabled,
|
|
1203
1173
|
type: "button",
|
|
@@ -1221,6 +1191,7 @@ function FeatureAnimatedCarousel({
|
|
|
1221
1191
|
patternOpacity,
|
|
1222
1192
|
patternClassName,
|
|
1223
1193
|
headerClassName,
|
|
1194
|
+
blockCardClassName,
|
|
1224
1195
|
spacing = "py-12 md:py-32",
|
|
1225
1196
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8"
|
|
1226
1197
|
}) {
|
|
@@ -1279,9 +1250,7 @@ function FeatureAnimatedCarousel({
|
|
|
1279
1250
|
"div",
|
|
1280
1251
|
{
|
|
1281
1252
|
className: cn(
|
|
1282
|
-
"relative flex min-h-[500px] flex-col-reverse gap-8 overflow-hidden rounded-3xl p-6 md:flex-row md:items-center md:p-12 lg:min-h-[600px]"
|
|
1283
|
-
getNestedCardBg(background),
|
|
1284
|
-
getNestedCardTextColor(background)
|
|
1253
|
+
"relative flex min-h-[500px] flex-col-reverse gap-8 overflow-hidden rounded-3xl bg-muted p-6 md:flex-row md:items-center md:p-12 lg:min-h-[600px]"
|
|
1285
1254
|
)
|
|
1286
1255
|
}
|
|
1287
1256
|
)
|
|
@@ -1298,40 +1267,51 @@ function FeatureAnimatedCarousel({
|
|
|
1298
1267
|
patternOpacity,
|
|
1299
1268
|
patternClassName,
|
|
1300
1269
|
className,
|
|
1270
|
+
containerClassName,
|
|
1301
1271
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
|
|
1302
|
-
title || description ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1272
|
+
title || description ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1273
|
+
"div",
|
|
1274
|
+
{
|
|
1275
|
+
className: cn(
|
|
1276
|
+
"flex flex-col gap-4 md:gap-6 text-left",
|
|
1277
|
+
headerClassName
|
|
1278
|
+
),
|
|
1279
|
+
children: [
|
|
1280
|
+
title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1281
|
+
"h2",
|
|
1282
|
+
{
|
|
1283
|
+
className: cn(
|
|
1284
|
+
"text-xl font-semibold text-balance md:text-2xl lg:text-3xl max-w-lg md:max-w-md",
|
|
1285
|
+
titleClassName
|
|
1286
|
+
),
|
|
1287
|
+
children: title
|
|
1288
|
+
}
|
|
1289
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
1290
|
+
"div",
|
|
1291
|
+
{
|
|
1292
|
+
className: cn(
|
|
1293
|
+
"text-xl font-semibold text-balance md:text-2xl lg:text-3xl max-w-lg md:max-w-md",
|
|
1294
|
+
titleClassName
|
|
1295
|
+
),
|
|
1296
|
+
children: title
|
|
1297
|
+
}
|
|
1298
|
+
)),
|
|
1299
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("max-w-lg md:max-w-md", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
1300
|
+
"div",
|
|
1301
|
+
{
|
|
1302
|
+
className: cn("max-w-lg md:max-w-md", descriptionClassName),
|
|
1303
|
+
children: description
|
|
1304
|
+
}
|
|
1305
|
+
))
|
|
1306
|
+
]
|
|
1307
|
+
}
|
|
1308
|
+
) : null,
|
|
1330
1309
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1331
1310
|
"div",
|
|
1332
1311
|
{
|
|
1333
1312
|
className: cn(
|
|
1334
|
-
"relative flex min-h-[500px] flex-col-reverse gap-8 overflow-hidden rounded-3xl p-6 md:flex-row md:items-center
|
|
1313
|
+
"relative flex min-h-full md:min-h-[500px] flex-col-reverse gap-5 md:gap-8 bg-muted overflow-hidden rounded-3xl p-4 md:p-6 md:flex-row md:items-center lg:p-12 lg:min-h-[600px]",
|
|
1314
|
+
blockCardClassName
|
|
1335
1315
|
),
|
|
1336
1316
|
children: [
|
|
1337
1317
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1358,13 +1338,13 @@ function FeatureAnimatedCarousel({
|
|
|
1358
1338
|
isNextDisabled
|
|
1359
1339
|
}
|
|
1360
1340
|
),
|
|
1361
|
-
currentFeature?.image && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative w-full h-[250px] md:h-auto
|
|
1362
|
-
currentFeature.href && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-4 right-4 z-10
|
|
1341
|
+
currentFeature?.image && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative w-full h-[250px] md:h-auto md:absolute md:right-8 md:top-8 md:bottom-8 md:w-1/2", children: [
|
|
1342
|
+
currentFeature.href && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-4 right-4 z-10 rounded-full h-fit w-fit shadow-md hover:shadow-2xl flex items-center justify-center md:hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1363
1343
|
Pressable,
|
|
1364
1344
|
{
|
|
1365
1345
|
href: currentFeature.href,
|
|
1366
1346
|
size: "icon-lg",
|
|
1367
|
-
className: "text-foreground",
|
|
1347
|
+
className: "bg-primary text-primary-foreground",
|
|
1368
1348
|
children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/arrow-up-right" })
|
|
1369
1349
|
}
|
|
1370
1350
|
) }),
|
|
@@ -1378,9 +1358,9 @@ function FeatureAnimatedCarousel({
|
|
|
1378
1358
|
exit: "exit",
|
|
1379
1359
|
transition: {
|
|
1380
1360
|
x: { type: "spring", stiffness: 300, damping: 30 },
|
|
1381
|
-
opacity: { duration: 0.
|
|
1361
|
+
opacity: { duration: 0.3 }
|
|
1382
1362
|
},
|
|
1383
|
-
className: "h-full w-full",
|
|
1363
|
+
className: "h-full w-full shadow-xl overflow-hidden rounded-2xl",
|
|
1384
1364
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1385
1365
|
img.Img,
|
|
1386
1366
|
{
|
|
@@ -77,6 +77,10 @@ interface FeatureAnimatedCarouselProps {
|
|
|
77
77
|
* Additional CSS classes for the content wrapper
|
|
78
78
|
*/
|
|
79
79
|
contentClassName?: string;
|
|
80
|
+
/**
|
|
81
|
+
* CSS classes for the block's card container
|
|
82
|
+
*/
|
|
83
|
+
blockCardClassName?: string;
|
|
80
84
|
/**
|
|
81
85
|
* OptixFlow image optimization configuration
|
|
82
86
|
*/
|
|
@@ -123,6 +127,6 @@ interface FeatureAnimatedCarouselProps {
|
|
|
123
127
|
* />
|
|
124
128
|
* ```
|
|
125
129
|
*/
|
|
126
|
-
declare function FeatureAnimatedCarousel({ title, description, titleClassName, descriptionClassName, features, className, optixFlowConfig, background, pattern, patternOpacity, patternClassName, headerClassName, spacing, containerClassName, }: FeatureAnimatedCarouselProps): react_jsx_runtime.JSX.Element;
|
|
130
|
+
declare function FeatureAnimatedCarousel({ title, description, titleClassName, descriptionClassName, features, className, optixFlowConfig, background, pattern, patternOpacity, patternClassName, headerClassName, blockCardClassName, spacing, containerClassName, }: FeatureAnimatedCarouselProps): react_jsx_runtime.JSX.Element;
|
|
127
131
|
|
|
128
132
|
export { FeatureAnimatedCarousel, type FeatureAnimatedCarouselItem, type FeatureAnimatedCarouselProps };
|
|
@@ -77,6 +77,10 @@ interface FeatureAnimatedCarouselProps {
|
|
|
77
77
|
* Additional CSS classes for the content wrapper
|
|
78
78
|
*/
|
|
79
79
|
contentClassName?: string;
|
|
80
|
+
/**
|
|
81
|
+
* CSS classes for the block's card container
|
|
82
|
+
*/
|
|
83
|
+
blockCardClassName?: string;
|
|
80
84
|
/**
|
|
81
85
|
* OptixFlow image optimization configuration
|
|
82
86
|
*/
|
|
@@ -123,6 +127,6 @@ interface FeatureAnimatedCarouselProps {
|
|
|
123
127
|
* />
|
|
124
128
|
* ```
|
|
125
129
|
*/
|
|
126
|
-
declare function FeatureAnimatedCarousel({ title, description, titleClassName, descriptionClassName, features, className, optixFlowConfig, background, pattern, patternOpacity, patternClassName, headerClassName, spacing, containerClassName, }: FeatureAnimatedCarouselProps): react_jsx_runtime.JSX.Element;
|
|
130
|
+
declare function FeatureAnimatedCarousel({ title, description, titleClassName, descriptionClassName, features, className, optixFlowConfig, background, pattern, patternOpacity, patternClassName, headerClassName, blockCardClassName, spacing, containerClassName, }: FeatureAnimatedCarouselProps): react_jsx_runtime.JSX.Element;
|
|
127
131
|
|
|
128
132
|
export { FeatureAnimatedCarousel, type FeatureAnimatedCarouselItem, type FeatureAnimatedCarouselProps };
|
|
@@ -12,36 +12,6 @@ import { cva } from 'class-variance-authority';
|
|
|
12
12
|
function cn(...inputs) {
|
|
13
13
|
return twMerge(clsx(inputs));
|
|
14
14
|
}
|
|
15
|
-
function getNestedCardBg(parentBg, variant = "muted", options) {
|
|
16
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
17
|
-
if (isDark) {
|
|
18
|
-
switch (variant) {
|
|
19
|
-
case "muted":
|
|
20
|
-
return "bg-background";
|
|
21
|
-
case "card":
|
|
22
|
-
return "bg-card";
|
|
23
|
-
case "accent":
|
|
24
|
-
return "bg-accent";
|
|
25
|
-
case "subtle":
|
|
26
|
-
return "bg-background/50";
|
|
27
|
-
}
|
|
28
|
-
} else {
|
|
29
|
-
switch (variant) {
|
|
30
|
-
case "muted":
|
|
31
|
-
return "bg-muted";
|
|
32
|
-
case "card":
|
|
33
|
-
return "bg-card";
|
|
34
|
-
case "accent":
|
|
35
|
-
return "bg-accent";
|
|
36
|
-
case "subtle":
|
|
37
|
-
return "bg-muted/50";
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
function getNestedCardTextColor(parentBg, options) {
|
|
42
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
43
|
-
return isDark ? "text-foreground" : "";
|
|
44
|
-
}
|
|
45
15
|
var svgCache = /* @__PURE__ */ new Map();
|
|
46
16
|
function DynamicIcon({
|
|
47
17
|
name,
|
|
@@ -1001,17 +971,17 @@ var FeatureCard = React6.memo(
|
|
|
1001
971
|
borderRadius: "24px"
|
|
1002
972
|
},
|
|
1003
973
|
className: cn(
|
|
1004
|
-
"relative flex items-start gap-4
|
|
1005
|
-
isActive ? "shadow-xl" : "cursor-pointer shadow-none"
|
|
974
|
+
"relative flex items-start gap-4 bg-background text-foreground md:w-fit md:max-w-sm",
|
|
975
|
+
isActive ? "shadow-xl overflow-visible" : "cursor-pointer shadow-none hover:shadow-xl transition-shadow duration-500 overflow-hidden"
|
|
1006
976
|
),
|
|
1007
977
|
onClick,
|
|
1008
978
|
children: [
|
|
1009
|
-
isActive && feature.href && /* @__PURE__ */ jsx("div", { className: "absolute
|
|
979
|
+
isActive && feature.href && /* @__PURE__ */ jsx("div", { className: "absolute right-0 top-1/2 -translate-y-1/2 translate-x-1/2 bg-background rounded-full h-fit w-fit p-2 flex items-center justify-center z-10", children: /* @__PURE__ */ jsx(
|
|
1010
980
|
Pressable,
|
|
1011
981
|
{
|
|
1012
982
|
href: feature.href,
|
|
1013
983
|
size: "icon-lg",
|
|
1014
|
-
className: "text-foreground",
|
|
984
|
+
className: "bg-primary text-primary-foreground",
|
|
1015
985
|
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-up-right" })
|
|
1016
986
|
}
|
|
1017
987
|
) }),
|
|
@@ -1166,7 +1136,7 @@ var FeaturesMobile = React6.memo(
|
|
|
1166
1136
|
/* @__PURE__ */ jsx(
|
|
1167
1137
|
"button",
|
|
1168
1138
|
{
|
|
1169
|
-
className: "rounded-full border
|
|
1139
|
+
className: "rounded-full border p-2 flex items-center justify-center disabled:opacity-50 h-fit w-fit bg-card text-card-foreground",
|
|
1170
1140
|
onClick: handlePrevious,
|
|
1171
1141
|
disabled: isPreviousDisabled,
|
|
1172
1142
|
type: "button",
|
|
@@ -1176,7 +1146,7 @@ var FeaturesMobile = React6.memo(
|
|
|
1176
1146
|
/* @__PURE__ */ jsx(
|
|
1177
1147
|
"button",
|
|
1178
1148
|
{
|
|
1179
|
-
className: "rounded-full border
|
|
1149
|
+
className: "rounded-full border p-2 flex items-center justify-center disabled:opacity-50 h-fit w-fit bg-card text-card-foreground",
|
|
1180
1150
|
onClick: handleNext,
|
|
1181
1151
|
disabled: isNextDisabled,
|
|
1182
1152
|
type: "button",
|
|
@@ -1200,6 +1170,7 @@ function FeatureAnimatedCarousel({
|
|
|
1200
1170
|
patternOpacity,
|
|
1201
1171
|
patternClassName,
|
|
1202
1172
|
headerClassName,
|
|
1173
|
+
blockCardClassName,
|
|
1203
1174
|
spacing = "py-12 md:py-32",
|
|
1204
1175
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8"
|
|
1205
1176
|
}) {
|
|
@@ -1258,9 +1229,7 @@ function FeatureAnimatedCarousel({
|
|
|
1258
1229
|
"div",
|
|
1259
1230
|
{
|
|
1260
1231
|
className: cn(
|
|
1261
|
-
"relative flex min-h-[500px] flex-col-reverse gap-8 overflow-hidden rounded-3xl p-6 md:flex-row md:items-center md:p-12 lg:min-h-[600px]"
|
|
1262
|
-
getNestedCardBg(background),
|
|
1263
|
-
getNestedCardTextColor(background)
|
|
1232
|
+
"relative flex min-h-[500px] flex-col-reverse gap-8 overflow-hidden rounded-3xl bg-muted p-6 md:flex-row md:items-center md:p-12 lg:min-h-[600px]"
|
|
1264
1233
|
)
|
|
1265
1234
|
}
|
|
1266
1235
|
)
|
|
@@ -1277,40 +1246,51 @@ function FeatureAnimatedCarousel({
|
|
|
1277
1246
|
patternOpacity,
|
|
1278
1247
|
patternClassName,
|
|
1279
1248
|
className,
|
|
1249
|
+
containerClassName,
|
|
1280
1250
|
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
|
|
1281
|
-
title || description ? /* @__PURE__ */ jsxs(
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1251
|
+
title || description ? /* @__PURE__ */ jsxs(
|
|
1252
|
+
"div",
|
|
1253
|
+
{
|
|
1254
|
+
className: cn(
|
|
1255
|
+
"flex flex-col gap-4 md:gap-6 text-left",
|
|
1256
|
+
headerClassName
|
|
1257
|
+
),
|
|
1258
|
+
children: [
|
|
1259
|
+
title && (typeof title === "string" ? /* @__PURE__ */ jsx(
|
|
1260
|
+
"h2",
|
|
1261
|
+
{
|
|
1262
|
+
className: cn(
|
|
1263
|
+
"text-xl font-semibold text-balance md:text-2xl lg:text-3xl max-w-lg md:max-w-md",
|
|
1264
|
+
titleClassName
|
|
1265
|
+
),
|
|
1266
|
+
children: title
|
|
1267
|
+
}
|
|
1268
|
+
) : /* @__PURE__ */ jsx(
|
|
1269
|
+
"div",
|
|
1270
|
+
{
|
|
1271
|
+
className: cn(
|
|
1272
|
+
"text-xl font-semibold text-balance md:text-2xl lg:text-3xl max-w-lg md:max-w-md",
|
|
1273
|
+
titleClassName
|
|
1274
|
+
),
|
|
1275
|
+
children: title
|
|
1276
|
+
}
|
|
1277
|
+
)),
|
|
1278
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("max-w-lg md:max-w-md", descriptionClassName), children: description }) : /* @__PURE__ */ jsx(
|
|
1279
|
+
"div",
|
|
1280
|
+
{
|
|
1281
|
+
className: cn("max-w-lg md:max-w-md", descriptionClassName),
|
|
1282
|
+
children: description
|
|
1283
|
+
}
|
|
1284
|
+
))
|
|
1285
|
+
]
|
|
1286
|
+
}
|
|
1287
|
+
) : null,
|
|
1309
1288
|
/* @__PURE__ */ jsxs(
|
|
1310
1289
|
"div",
|
|
1311
1290
|
{
|
|
1312
1291
|
className: cn(
|
|
1313
|
-
"relative flex min-h-[500px] flex-col-reverse gap-8 overflow-hidden rounded-3xl p-6 md:flex-row md:items-center
|
|
1292
|
+
"relative flex min-h-full md:min-h-[500px] flex-col-reverse gap-5 md:gap-8 bg-muted overflow-hidden rounded-3xl p-4 md:p-6 md:flex-row md:items-center lg:p-12 lg:min-h-[600px]",
|
|
1293
|
+
blockCardClassName
|
|
1314
1294
|
),
|
|
1315
1295
|
children: [
|
|
1316
1296
|
/* @__PURE__ */ jsx(
|
|
@@ -1337,13 +1317,13 @@ function FeatureAnimatedCarousel({
|
|
|
1337
1317
|
isNextDisabled
|
|
1338
1318
|
}
|
|
1339
1319
|
),
|
|
1340
|
-
currentFeature?.image && /* @__PURE__ */ jsxs("div", { className: "relative w-full h-[250px] md:h-auto
|
|
1341
|
-
currentFeature.href && /* @__PURE__ */ jsx("div", { className: "absolute top-4 right-4 z-10
|
|
1320
|
+
currentFeature?.image && /* @__PURE__ */ jsxs("div", { className: "relative w-full h-[250px] md:h-auto md:absolute md:right-8 md:top-8 md:bottom-8 md:w-1/2", children: [
|
|
1321
|
+
currentFeature.href && /* @__PURE__ */ jsx("div", { className: "absolute top-4 right-4 z-10 rounded-full h-fit w-fit shadow-md hover:shadow-2xl flex items-center justify-center md:hidden", children: /* @__PURE__ */ jsx(
|
|
1342
1322
|
Pressable,
|
|
1343
1323
|
{
|
|
1344
1324
|
href: currentFeature.href,
|
|
1345
1325
|
size: "icon-lg",
|
|
1346
|
-
className: "text-foreground",
|
|
1326
|
+
className: "bg-primary text-primary-foreground",
|
|
1347
1327
|
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-up-right" })
|
|
1348
1328
|
}
|
|
1349
1329
|
) }),
|
|
@@ -1357,9 +1337,9 @@ function FeatureAnimatedCarousel({
|
|
|
1357
1337
|
exit: "exit",
|
|
1358
1338
|
transition: {
|
|
1359
1339
|
x: { type: "spring", stiffness: 300, damping: 30 },
|
|
1360
|
-
opacity: { duration: 0.
|
|
1340
|
+
opacity: { duration: 0.3 }
|
|
1361
1341
|
},
|
|
1362
|
-
className: "h-full w-full",
|
|
1342
|
+
className: "h-full w-full shadow-xl overflow-hidden rounded-2xl",
|
|
1363
1343
|
children: /* @__PURE__ */ jsx(
|
|
1364
1344
|
Img,
|
|
1365
1345
|
{
|
|
@@ -1357,10 +1357,22 @@ function FeatureCarouselProgress({
|
|
|
1357
1357
|
children: title
|
|
1358
1358
|
}
|
|
1359
1359
|
)),
|
|
1360
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1360
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1361
|
+
"p",
|
|
1362
|
+
{
|
|
1363
|
+
className: cn(
|
|
1364
|
+
"max-w-lg md:max-w-md text-balance",
|
|
1365
|
+
descriptionClassName
|
|
1366
|
+
),
|
|
1367
|
+
children: description
|
|
1368
|
+
}
|
|
1369
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
1361
1370
|
"div",
|
|
1362
1371
|
{
|
|
1363
|
-
className: cn(
|
|
1372
|
+
className: cn(
|
|
1373
|
+
"max-w-lg md:max-w-md text-balance",
|
|
1374
|
+
descriptionClassName
|
|
1375
|
+
),
|
|
1364
1376
|
children: description
|
|
1365
1377
|
}
|
|
1366
1378
|
))
|
|
@@ -1332,10 +1332,22 @@ function FeatureCarouselProgress({
|
|
|
1332
1332
|
children: title
|
|
1333
1333
|
}
|
|
1334
1334
|
)),
|
|
1335
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
1335
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
1336
|
+
"p",
|
|
1337
|
+
{
|
|
1338
|
+
className: cn(
|
|
1339
|
+
"max-w-lg md:max-w-md text-balance",
|
|
1340
|
+
descriptionClassName
|
|
1341
|
+
),
|
|
1342
|
+
children: description
|
|
1343
|
+
}
|
|
1344
|
+
) : /* @__PURE__ */ jsx(
|
|
1336
1345
|
"div",
|
|
1337
1346
|
{
|
|
1338
|
-
className: cn(
|
|
1347
|
+
className: cn(
|
|
1348
|
+
"max-w-lg md:max-w-md text-balance",
|
|
1349
|
+
descriptionClassName
|
|
1350
|
+
),
|
|
1339
1351
|
children: description
|
|
1340
1352
|
}
|
|
1341
1353
|
))
|
package/dist/registry.cjs
CHANGED
|
@@ -24432,10 +24432,22 @@ function FeatureCarouselProgress({
|
|
|
24432
24432
|
children: title
|
|
24433
24433
|
}
|
|
24434
24434
|
)),
|
|
24435
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
24435
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
24436
|
+
"p",
|
|
24437
|
+
{
|
|
24438
|
+
className: cn(
|
|
24439
|
+
"max-w-lg md:max-w-md text-balance",
|
|
24440
|
+
descriptionClassName
|
|
24441
|
+
),
|
|
24442
|
+
children: description
|
|
24443
|
+
}
|
|
24444
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
24436
24445
|
"div",
|
|
24437
24446
|
{
|
|
24438
|
-
className: cn(
|
|
24447
|
+
className: cn(
|
|
24448
|
+
"max-w-lg md:max-w-md text-balance",
|
|
24449
|
+
descriptionClassName
|
|
24450
|
+
),
|
|
24439
24451
|
children: description
|
|
24440
24452
|
}
|
|
24441
24453
|
))
|
|
@@ -27411,7 +27423,7 @@ function FeatureAccordionImage({
|
|
|
27411
27423
|
AccordionTrigger,
|
|
27412
27424
|
{
|
|
27413
27425
|
className: cn(
|
|
27414
|
-
"text-left text-lg font-medium",
|
|
27426
|
+
"text-left text-md md:text-lg font-medium",
|
|
27415
27427
|
item.triggerClassName
|
|
27416
27428
|
),
|
|
27417
27429
|
children: item.title
|
|
@@ -27459,12 +27471,12 @@ function FeatureAccordionImage({
|
|
|
27459
27471
|
patternClassName,
|
|
27460
27472
|
className,
|
|
27461
27473
|
containerClassName,
|
|
27462
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
|
|
27474
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center space-y-6 md:space-y-16", children: [
|
|
27463
27475
|
(title || description) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
27464
27476
|
"div",
|
|
27465
27477
|
{
|
|
27466
27478
|
className: cn(
|
|
27467
|
-
"text-center max-w-full md:max-w-md text-balance",
|
|
27479
|
+
"text-left md:text-center max-w-full md:max-w-md text-balance",
|
|
27468
27480
|
headerClassName
|
|
27469
27481
|
),
|
|
27470
27482
|
children: [
|
|
@@ -27472,7 +27484,7 @@ function FeatureAccordionImage({
|
|
|
27472
27484
|
"h2",
|
|
27473
27485
|
{
|
|
27474
27486
|
className: cn(
|
|
27475
|
-
"text-
|
|
27487
|
+
"text-2xl font-semibold md:text-3xl lg:text-4xl",
|
|
27476
27488
|
titleClassName
|
|
27477
27489
|
),
|
|
27478
27490
|
children: title
|
|
@@ -41856,17 +41868,17 @@ var FeatureCard = React52__namespace.memo(
|
|
|
41856
41868
|
borderRadius: "24px"
|
|
41857
41869
|
},
|
|
41858
41870
|
className: cn(
|
|
41859
|
-
"relative flex items-start gap-4
|
|
41860
|
-
isActive ? "shadow-xl" : "cursor-pointer shadow-none"
|
|
41871
|
+
"relative flex items-start gap-4 bg-background text-foreground md:w-fit md:max-w-sm",
|
|
41872
|
+
isActive ? "shadow-xl overflow-visible" : "cursor-pointer shadow-none hover:shadow-xl transition-shadow duration-500 overflow-hidden"
|
|
41861
41873
|
),
|
|
41862
41874
|
onClick,
|
|
41863
41875
|
children: [
|
|
41864
|
-
isActive && feature.href && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute
|
|
41876
|
+
isActive && feature.href && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute right-0 top-1/2 -translate-y-1/2 translate-x-1/2 bg-background rounded-full h-fit w-fit p-2 flex items-center justify-center z-10", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
41865
41877
|
Pressable,
|
|
41866
41878
|
{
|
|
41867
41879
|
href: feature.href,
|
|
41868
41880
|
size: "icon-lg",
|
|
41869
|
-
className: "text-foreground",
|
|
41881
|
+
className: "bg-primary text-primary-foreground",
|
|
41870
41882
|
children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/arrow-up-right" })
|
|
41871
41883
|
}
|
|
41872
41884
|
) }),
|
|
@@ -42021,7 +42033,7 @@ var FeaturesMobile = React52__namespace.memo(
|
|
|
42021
42033
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42022
42034
|
"button",
|
|
42023
42035
|
{
|
|
42024
|
-
className: "rounded-full border
|
|
42036
|
+
className: "rounded-full border p-2 flex items-center justify-center disabled:opacity-50 h-fit w-fit bg-card text-card-foreground",
|
|
42025
42037
|
onClick: handlePrevious,
|
|
42026
42038
|
disabled: isPreviousDisabled,
|
|
42027
42039
|
type: "button",
|
|
@@ -42031,7 +42043,7 @@ var FeaturesMobile = React52__namespace.memo(
|
|
|
42031
42043
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
42032
42044
|
"button",
|
|
42033
42045
|
{
|
|
42034
|
-
className: "rounded-full border
|
|
42046
|
+
className: "rounded-full border p-2 flex items-center justify-center disabled:opacity-50 h-fit w-fit bg-card text-card-foreground",
|
|
42035
42047
|
onClick: handleNext,
|
|
42036
42048
|
disabled: isNextDisabled,
|
|
42037
42049
|
type: "button",
|
|
@@ -42055,6 +42067,7 @@ function FeatureAnimatedCarousel({
|
|
|
42055
42067
|
patternOpacity,
|
|
42056
42068
|
patternClassName,
|
|
42057
42069
|
headerClassName,
|
|
42070
|
+
blockCardClassName,
|
|
42058
42071
|
spacing = "py-12 md:py-32",
|
|
42059
42072
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8"
|
|
42060
42073
|
}) {
|
|
@@ -42113,9 +42126,7 @@ function FeatureAnimatedCarousel({
|
|
|
42113
42126
|
"div",
|
|
42114
42127
|
{
|
|
42115
42128
|
className: cn(
|
|
42116
|
-
"relative flex min-h-[500px] flex-col-reverse gap-8 overflow-hidden rounded-3xl p-6 md:flex-row md:items-center md:p-12 lg:min-h-[600px]"
|
|
42117
|
-
getNestedCardBg(background),
|
|
42118
|
-
getNestedCardTextColor(background)
|
|
42129
|
+
"relative flex min-h-[500px] flex-col-reverse gap-8 overflow-hidden rounded-3xl bg-muted p-6 md:flex-row md:items-center md:p-12 lg:min-h-[600px]"
|
|
42119
42130
|
)
|
|
42120
42131
|
}
|
|
42121
42132
|
)
|
|
@@ -42132,40 +42143,51 @@ function FeatureAnimatedCarousel({
|
|
|
42132
42143
|
patternOpacity,
|
|
42133
42144
|
patternClassName,
|
|
42134
42145
|
className,
|
|
42146
|
+
containerClassName,
|
|
42135
42147
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
|
|
42136
|
-
title || description ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
42137
|
-
|
|
42138
|
-
|
|
42139
|
-
|
|
42140
|
-
|
|
42141
|
-
|
|
42142
|
-
|
|
42143
|
-
|
|
42144
|
-
|
|
42145
|
-
|
|
42146
|
-
|
|
42147
|
-
|
|
42148
|
-
|
|
42149
|
-
|
|
42150
|
-
|
|
42151
|
-
|
|
42152
|
-
|
|
42153
|
-
|
|
42154
|
-
|
|
42155
|
-
|
|
42156
|
-
|
|
42157
|
-
|
|
42158
|
-
|
|
42159
|
-
|
|
42160
|
-
|
|
42161
|
-
|
|
42162
|
-
|
|
42163
|
-
|
|
42148
|
+
title || description ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
42149
|
+
"div",
|
|
42150
|
+
{
|
|
42151
|
+
className: cn(
|
|
42152
|
+
"flex flex-col gap-4 md:gap-6 text-left",
|
|
42153
|
+
headerClassName
|
|
42154
|
+
),
|
|
42155
|
+
children: [
|
|
42156
|
+
title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
42157
|
+
"h2",
|
|
42158
|
+
{
|
|
42159
|
+
className: cn(
|
|
42160
|
+
"text-xl font-semibold text-balance md:text-2xl lg:text-3xl max-w-lg md:max-w-md",
|
|
42161
|
+
titleClassName
|
|
42162
|
+
),
|
|
42163
|
+
children: title
|
|
42164
|
+
}
|
|
42165
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
42166
|
+
"div",
|
|
42167
|
+
{
|
|
42168
|
+
className: cn(
|
|
42169
|
+
"text-xl font-semibold text-balance md:text-2xl lg:text-3xl max-w-lg md:max-w-md",
|
|
42170
|
+
titleClassName
|
|
42171
|
+
),
|
|
42172
|
+
children: title
|
|
42173
|
+
}
|
|
42174
|
+
)),
|
|
42175
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("max-w-lg md:max-w-md", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
42176
|
+
"div",
|
|
42177
|
+
{
|
|
42178
|
+
className: cn("max-w-lg md:max-w-md", descriptionClassName),
|
|
42179
|
+
children: description
|
|
42180
|
+
}
|
|
42181
|
+
))
|
|
42182
|
+
]
|
|
42183
|
+
}
|
|
42184
|
+
) : null,
|
|
42164
42185
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
42165
42186
|
"div",
|
|
42166
42187
|
{
|
|
42167
42188
|
className: cn(
|
|
42168
|
-
"relative flex min-h-[500px] flex-col-reverse gap-8 overflow-hidden rounded-3xl p-6 md:flex-row md:items-center
|
|
42189
|
+
"relative flex min-h-full md:min-h-[500px] flex-col-reverse gap-5 md:gap-8 bg-muted overflow-hidden rounded-3xl p-4 md:p-6 md:flex-row md:items-center lg:p-12 lg:min-h-[600px]",
|
|
42190
|
+
blockCardClassName
|
|
42169
42191
|
),
|
|
42170
42192
|
children: [
|
|
42171
42193
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -42192,13 +42214,13 @@ function FeatureAnimatedCarousel({
|
|
|
42192
42214
|
isNextDisabled
|
|
42193
42215
|
}
|
|
42194
42216
|
),
|
|
42195
|
-
currentFeature?.image && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative w-full h-[250px] md:h-auto
|
|
42196
|
-
currentFeature.href && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-4 right-4 z-10
|
|
42217
|
+
currentFeature?.image && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative w-full h-[250px] md:h-auto md:absolute md:right-8 md:top-8 md:bottom-8 md:w-1/2", children: [
|
|
42218
|
+
currentFeature.href && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-4 right-4 z-10 rounded-full h-fit w-fit shadow-md hover:shadow-2xl flex items-center justify-center md:hidden", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
42197
42219
|
Pressable,
|
|
42198
42220
|
{
|
|
42199
42221
|
href: currentFeature.href,
|
|
42200
42222
|
size: "icon-lg",
|
|
42201
|
-
className: "text-foreground",
|
|
42223
|
+
className: "bg-primary text-primary-foreground",
|
|
42202
42224
|
children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/arrow-up-right" })
|
|
42203
42225
|
}
|
|
42204
42226
|
) }),
|
|
@@ -42212,9 +42234,9 @@ function FeatureAnimatedCarousel({
|
|
|
42212
42234
|
exit: "exit",
|
|
42213
42235
|
transition: {
|
|
42214
42236
|
x: { type: "spring", stiffness: 300, damping: 30 },
|
|
42215
|
-
opacity: { duration: 0.
|
|
42237
|
+
opacity: { duration: 0.3 }
|
|
42216
42238
|
},
|
|
42217
|
-
className: "h-full w-full",
|
|
42239
|
+
className: "h-full w-full shadow-xl overflow-hidden rounded-2xl",
|
|
42218
42240
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
42219
42241
|
img.Img,
|
|
42220
42242
|
{
|
package/dist/registry.js
CHANGED
|
@@ -24392,10 +24392,22 @@ function FeatureCarouselProgress({
|
|
|
24392
24392
|
children: title
|
|
24393
24393
|
}
|
|
24394
24394
|
)),
|
|
24395
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
24395
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
24396
|
+
"p",
|
|
24397
|
+
{
|
|
24398
|
+
className: cn(
|
|
24399
|
+
"max-w-lg md:max-w-md text-balance",
|
|
24400
|
+
descriptionClassName
|
|
24401
|
+
),
|
|
24402
|
+
children: description
|
|
24403
|
+
}
|
|
24404
|
+
) : /* @__PURE__ */ jsx(
|
|
24396
24405
|
"div",
|
|
24397
24406
|
{
|
|
24398
|
-
className: cn(
|
|
24407
|
+
className: cn(
|
|
24408
|
+
"max-w-lg md:max-w-md text-balance",
|
|
24409
|
+
descriptionClassName
|
|
24410
|
+
),
|
|
24399
24411
|
children: description
|
|
24400
24412
|
}
|
|
24401
24413
|
))
|
|
@@ -27371,7 +27383,7 @@ function FeatureAccordionImage({
|
|
|
27371
27383
|
AccordionTrigger,
|
|
27372
27384
|
{
|
|
27373
27385
|
className: cn(
|
|
27374
|
-
"text-left text-lg font-medium",
|
|
27386
|
+
"text-left text-md md:text-lg font-medium",
|
|
27375
27387
|
item.triggerClassName
|
|
27376
27388
|
),
|
|
27377
27389
|
children: item.title
|
|
@@ -27419,12 +27431,12 @@ function FeatureAccordionImage({
|
|
|
27419
27431
|
patternClassName,
|
|
27420
27432
|
className,
|
|
27421
27433
|
containerClassName,
|
|
27422
|
-
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
|
|
27434
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center space-y-6 md:space-y-16", children: [
|
|
27423
27435
|
(title || description) && /* @__PURE__ */ jsxs(
|
|
27424
27436
|
"div",
|
|
27425
27437
|
{
|
|
27426
27438
|
className: cn(
|
|
27427
|
-
"text-center max-w-full md:max-w-md text-balance",
|
|
27439
|
+
"text-left md:text-center max-w-full md:max-w-md text-balance",
|
|
27428
27440
|
headerClassName
|
|
27429
27441
|
),
|
|
27430
27442
|
children: [
|
|
@@ -27432,7 +27444,7 @@ function FeatureAccordionImage({
|
|
|
27432
27444
|
"h2",
|
|
27433
27445
|
{
|
|
27434
27446
|
className: cn(
|
|
27435
|
-
"text-
|
|
27447
|
+
"text-2xl font-semibold md:text-3xl lg:text-4xl",
|
|
27436
27448
|
titleClassName
|
|
27437
27449
|
),
|
|
27438
27450
|
children: title
|
|
@@ -41816,17 +41828,17 @@ var FeatureCard = React52.memo(
|
|
|
41816
41828
|
borderRadius: "24px"
|
|
41817
41829
|
},
|
|
41818
41830
|
className: cn(
|
|
41819
|
-
"relative flex items-start gap-4
|
|
41820
|
-
isActive ? "shadow-xl" : "cursor-pointer shadow-none"
|
|
41831
|
+
"relative flex items-start gap-4 bg-background text-foreground md:w-fit md:max-w-sm",
|
|
41832
|
+
isActive ? "shadow-xl overflow-visible" : "cursor-pointer shadow-none hover:shadow-xl transition-shadow duration-500 overflow-hidden"
|
|
41821
41833
|
),
|
|
41822
41834
|
onClick,
|
|
41823
41835
|
children: [
|
|
41824
|
-
isActive && feature.href && /* @__PURE__ */ jsx("div", { className: "absolute
|
|
41836
|
+
isActive && feature.href && /* @__PURE__ */ jsx("div", { className: "absolute right-0 top-1/2 -translate-y-1/2 translate-x-1/2 bg-background rounded-full h-fit w-fit p-2 flex items-center justify-center z-10", children: /* @__PURE__ */ jsx(
|
|
41825
41837
|
Pressable,
|
|
41826
41838
|
{
|
|
41827
41839
|
href: feature.href,
|
|
41828
41840
|
size: "icon-lg",
|
|
41829
|
-
className: "text-foreground",
|
|
41841
|
+
className: "bg-primary text-primary-foreground",
|
|
41830
41842
|
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-up-right" })
|
|
41831
41843
|
}
|
|
41832
41844
|
) }),
|
|
@@ -41981,7 +41993,7 @@ var FeaturesMobile = React52.memo(
|
|
|
41981
41993
|
/* @__PURE__ */ jsx(
|
|
41982
41994
|
"button",
|
|
41983
41995
|
{
|
|
41984
|
-
className: "rounded-full border
|
|
41996
|
+
className: "rounded-full border p-2 flex items-center justify-center disabled:opacity-50 h-fit w-fit bg-card text-card-foreground",
|
|
41985
41997
|
onClick: handlePrevious,
|
|
41986
41998
|
disabled: isPreviousDisabled,
|
|
41987
41999
|
type: "button",
|
|
@@ -41991,7 +42003,7 @@ var FeaturesMobile = React52.memo(
|
|
|
41991
42003
|
/* @__PURE__ */ jsx(
|
|
41992
42004
|
"button",
|
|
41993
42005
|
{
|
|
41994
|
-
className: "rounded-full border
|
|
42006
|
+
className: "rounded-full border p-2 flex items-center justify-center disabled:opacity-50 h-fit w-fit bg-card text-card-foreground",
|
|
41995
42007
|
onClick: handleNext,
|
|
41996
42008
|
disabled: isNextDisabled,
|
|
41997
42009
|
type: "button",
|
|
@@ -42015,6 +42027,7 @@ function FeatureAnimatedCarousel({
|
|
|
42015
42027
|
patternOpacity,
|
|
42016
42028
|
patternClassName,
|
|
42017
42029
|
headerClassName,
|
|
42030
|
+
blockCardClassName,
|
|
42018
42031
|
spacing = "py-12 md:py-32",
|
|
42019
42032
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8"
|
|
42020
42033
|
}) {
|
|
@@ -42073,9 +42086,7 @@ function FeatureAnimatedCarousel({
|
|
|
42073
42086
|
"div",
|
|
42074
42087
|
{
|
|
42075
42088
|
className: cn(
|
|
42076
|
-
"relative flex min-h-[500px] flex-col-reverse gap-8 overflow-hidden rounded-3xl p-6 md:flex-row md:items-center md:p-12 lg:min-h-[600px]"
|
|
42077
|
-
getNestedCardBg(background),
|
|
42078
|
-
getNestedCardTextColor(background)
|
|
42089
|
+
"relative flex min-h-[500px] flex-col-reverse gap-8 overflow-hidden rounded-3xl bg-muted p-6 md:flex-row md:items-center md:p-12 lg:min-h-[600px]"
|
|
42079
42090
|
)
|
|
42080
42091
|
}
|
|
42081
42092
|
)
|
|
@@ -42092,40 +42103,51 @@ function FeatureAnimatedCarousel({
|
|
|
42092
42103
|
patternOpacity,
|
|
42093
42104
|
patternClassName,
|
|
42094
42105
|
className,
|
|
42106
|
+
containerClassName,
|
|
42095
42107
|
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
|
|
42096
|
-
title || description ? /* @__PURE__ */ jsxs(
|
|
42097
|
-
|
|
42098
|
-
|
|
42099
|
-
|
|
42100
|
-
|
|
42101
|
-
|
|
42102
|
-
|
|
42103
|
-
|
|
42104
|
-
|
|
42105
|
-
|
|
42106
|
-
|
|
42107
|
-
|
|
42108
|
-
|
|
42109
|
-
|
|
42110
|
-
|
|
42111
|
-
|
|
42112
|
-
|
|
42113
|
-
|
|
42114
|
-
|
|
42115
|
-
|
|
42116
|
-
|
|
42117
|
-
|
|
42118
|
-
|
|
42119
|
-
|
|
42120
|
-
|
|
42121
|
-
|
|
42122
|
-
|
|
42123
|
-
|
|
42108
|
+
title || description ? /* @__PURE__ */ jsxs(
|
|
42109
|
+
"div",
|
|
42110
|
+
{
|
|
42111
|
+
className: cn(
|
|
42112
|
+
"flex flex-col gap-4 md:gap-6 text-left",
|
|
42113
|
+
headerClassName
|
|
42114
|
+
),
|
|
42115
|
+
children: [
|
|
42116
|
+
title && (typeof title === "string" ? /* @__PURE__ */ jsx(
|
|
42117
|
+
"h2",
|
|
42118
|
+
{
|
|
42119
|
+
className: cn(
|
|
42120
|
+
"text-xl font-semibold text-balance md:text-2xl lg:text-3xl max-w-lg md:max-w-md",
|
|
42121
|
+
titleClassName
|
|
42122
|
+
),
|
|
42123
|
+
children: title
|
|
42124
|
+
}
|
|
42125
|
+
) : /* @__PURE__ */ jsx(
|
|
42126
|
+
"div",
|
|
42127
|
+
{
|
|
42128
|
+
className: cn(
|
|
42129
|
+
"text-xl font-semibold text-balance md:text-2xl lg:text-3xl max-w-lg md:max-w-md",
|
|
42130
|
+
titleClassName
|
|
42131
|
+
),
|
|
42132
|
+
children: title
|
|
42133
|
+
}
|
|
42134
|
+
)),
|
|
42135
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("max-w-lg md:max-w-md", descriptionClassName), children: description }) : /* @__PURE__ */ jsx(
|
|
42136
|
+
"div",
|
|
42137
|
+
{
|
|
42138
|
+
className: cn("max-w-lg md:max-w-md", descriptionClassName),
|
|
42139
|
+
children: description
|
|
42140
|
+
}
|
|
42141
|
+
))
|
|
42142
|
+
]
|
|
42143
|
+
}
|
|
42144
|
+
) : null,
|
|
42124
42145
|
/* @__PURE__ */ jsxs(
|
|
42125
42146
|
"div",
|
|
42126
42147
|
{
|
|
42127
42148
|
className: cn(
|
|
42128
|
-
"relative flex min-h-[500px] flex-col-reverse gap-8 overflow-hidden rounded-3xl p-6 md:flex-row md:items-center
|
|
42149
|
+
"relative flex min-h-full md:min-h-[500px] flex-col-reverse gap-5 md:gap-8 bg-muted overflow-hidden rounded-3xl p-4 md:p-6 md:flex-row md:items-center lg:p-12 lg:min-h-[600px]",
|
|
42150
|
+
blockCardClassName
|
|
42129
42151
|
),
|
|
42130
42152
|
children: [
|
|
42131
42153
|
/* @__PURE__ */ jsx(
|
|
@@ -42152,13 +42174,13 @@ function FeatureAnimatedCarousel({
|
|
|
42152
42174
|
isNextDisabled
|
|
42153
42175
|
}
|
|
42154
42176
|
),
|
|
42155
|
-
currentFeature?.image && /* @__PURE__ */ jsxs("div", { className: "relative w-full h-[250px] md:h-auto
|
|
42156
|
-
currentFeature.href && /* @__PURE__ */ jsx("div", { className: "absolute top-4 right-4 z-10
|
|
42177
|
+
currentFeature?.image && /* @__PURE__ */ jsxs("div", { className: "relative w-full h-[250px] md:h-auto md:absolute md:right-8 md:top-8 md:bottom-8 md:w-1/2", children: [
|
|
42178
|
+
currentFeature.href && /* @__PURE__ */ jsx("div", { className: "absolute top-4 right-4 z-10 rounded-full h-fit w-fit shadow-md hover:shadow-2xl flex items-center justify-center md:hidden", children: /* @__PURE__ */ jsx(
|
|
42157
42179
|
Pressable,
|
|
42158
42180
|
{
|
|
42159
42181
|
href: currentFeature.href,
|
|
42160
42182
|
size: "icon-lg",
|
|
42161
|
-
className: "text-foreground",
|
|
42183
|
+
className: "bg-primary text-primary-foreground",
|
|
42162
42184
|
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-up-right" })
|
|
42163
42185
|
}
|
|
42164
42186
|
) }),
|
|
@@ -42172,9 +42194,9 @@ function FeatureAnimatedCarousel({
|
|
|
42172
42194
|
exit: "exit",
|
|
42173
42195
|
transition: {
|
|
42174
42196
|
x: { type: "spring", stiffness: 300, damping: 30 },
|
|
42175
|
-
opacity: { duration: 0.
|
|
42197
|
+
opacity: { duration: 0.3 }
|
|
42176
42198
|
},
|
|
42177
|
-
className: "h-full w-full",
|
|
42199
|
+
className: "h-full w-full shadow-xl overflow-hidden rounded-2xl",
|
|
42178
42200
|
children: /* @__PURE__ */ jsx(
|
|
42179
42201
|
Img,
|
|
42180
42202
|
{
|