@opensite/ui 1.2.2 → 1.2.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/auto-scroll-carousel.cjs +2 -2
- package/dist/auto-scroll-carousel.js +2 -2
- package/dist/blur-vignette-grid.cjs +13 -17
- package/dist/blur-vignette-grid.d.cts +2 -2
- package/dist/blur-vignette-grid.d.ts +2 -2
- package/dist/blur-vignette-grid.js +13 -17
- package/dist/carousel-gradient-text.cjs +8 -10
- package/dist/carousel-gradient-text.js +8 -10
- package/dist/carousel-icon-sidebar.cjs +48 -29
- package/dist/carousel-icon-sidebar.js +48 -29
- package/dist/carousel-scale-focus.cjs +27 -1
- package/dist/carousel-scale-focus.js +27 -1
- package/dist/carousel-tabs-content.cjs +46 -36
- package/dist/carousel-tabs-content.js +46 -36
- package/dist/expandable-case-study-cards.cjs +1 -0
- package/dist/expandable-case-study-cards.js +1 -0
- package/dist/feature-capabilities-grid.cjs +525 -54
- package/dist/feature-capabilities-grid.d.cts +4 -0
- package/dist/feature-capabilities-grid.d.ts +4 -0
- package/dist/feature-capabilities-grid.js +525 -54
- package/dist/feature-card-grid-linked.cjs +40 -35
- package/dist/feature-card-grid-linked.d.cts +9 -1
- package/dist/feature-card-grid-linked.d.ts +9 -1
- package/dist/feature-card-grid-linked.js +40 -35
- package/dist/feature-carousel-progress.cjs +129 -56
- package/dist/feature-carousel-progress.d.cts +13 -1
- package/dist/feature-carousel-progress.d.ts +13 -1
- package/dist/feature-carousel-progress.js +129 -56
- package/dist/feature-checklist-image.cjs +61 -105
- package/dist/feature-checklist-image.d.cts +1 -1
- package/dist/feature-checklist-image.d.ts +1 -1
- package/dist/feature-checklist-image.js +61 -105
- package/dist/feature-icon-grid-bordered.cjs +457 -35
- package/dist/feature-icon-grid-bordered.d.cts +4 -0
- package/dist/feature-icon-grid-bordered.d.ts +4 -0
- package/dist/feature-icon-grid-bordered.js +457 -35
- package/dist/feature-numbered-cards.cjs +519 -35
- package/dist/feature-numbered-cards.d.cts +18 -2
- package/dist/feature-numbered-cards.d.ts +18 -2
- package/dist/feature-numbered-cards.js +520 -36
- package/dist/feature-split-image.cjs +1 -1
- package/dist/feature-split-image.js +1 -1
- package/dist/masonry-motion-grid.cjs +2 -2
- package/dist/masonry-motion-grid.js +2 -2
- package/dist/registry.cjs +10264 -9952
- package/dist/registry.js +10262 -9950
- package/dist/testimonial-carousel-cards.cjs +28 -8
- package/dist/testimonial-carousel-cards.d.cts +8 -0
- package/dist/testimonial-carousel-cards.d.ts +8 -0
- package/dist/testimonial-carousel-cards.js +28 -8
- package/package.json +1 -1
|
@@ -1104,7 +1104,7 @@ function AutoScrollCarousel({
|
|
|
1104
1104
|
Pressable,
|
|
1105
1105
|
{
|
|
1106
1106
|
className: cn(
|
|
1107
|
-
"font-medium flex items-center text-lg px-0",
|
|
1107
|
+
"font-medium flex items-center text-lg px-0 text-primary",
|
|
1108
1108
|
actionClass,
|
|
1109
1109
|
actionClassName
|
|
1110
1110
|
),
|
|
@@ -1115,7 +1115,7 @@ function AutoScrollCarousel({
|
|
|
1115
1115
|
iconAfter ?? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1116
1116
|
DynamicIcon,
|
|
1117
1117
|
{
|
|
1118
|
-
name: "lucide/
|
|
1118
|
+
name: "lucide/arrow-up-right",
|
|
1119
1119
|
size: 24,
|
|
1120
1120
|
className: "ml-2 inline"
|
|
1121
1121
|
}
|
|
@@ -1079,7 +1079,7 @@ function AutoScrollCarousel({
|
|
|
1079
1079
|
Pressable,
|
|
1080
1080
|
{
|
|
1081
1081
|
className: cn(
|
|
1082
|
-
"font-medium flex items-center text-lg px-0",
|
|
1082
|
+
"font-medium flex items-center text-lg px-0 text-primary",
|
|
1083
1083
|
actionClass,
|
|
1084
1084
|
actionClassName
|
|
1085
1085
|
),
|
|
@@ -1090,7 +1090,7 @@ function AutoScrollCarousel({
|
|
|
1090
1090
|
iconAfter ?? /* @__PURE__ */ jsx(
|
|
1091
1091
|
DynamicIcon,
|
|
1092
1092
|
{
|
|
1093
|
-
name: "lucide/
|
|
1093
|
+
name: "lucide/arrow-up-right",
|
|
1094
1094
|
size: 24,
|
|
1095
1095
|
className: "ml-2 inline"
|
|
1096
1096
|
}
|
|
@@ -397,7 +397,7 @@ function BlurVignette({
|
|
|
397
397
|
radius = "24px",
|
|
398
398
|
inset = "16px",
|
|
399
399
|
transitionLength = "32px",
|
|
400
|
-
blur = "
|
|
400
|
+
blur = "3px"
|
|
401
401
|
}) {
|
|
402
402
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
403
403
|
framerMotion.motion.div,
|
|
@@ -413,7 +413,7 @@ function BlurVignette({
|
|
|
413
413
|
y: 0
|
|
414
414
|
},
|
|
415
415
|
viewport: { once: true, amount: 0.2 },
|
|
416
|
-
className: `group relative cursor-pointer overflow-hidden rounded-
|
|
416
|
+
className: `group relative cursor-pointer overflow-hidden rounded-2xl shadow-xl ${className}`,
|
|
417
417
|
children: [
|
|
418
418
|
/* @__PURE__ */ jsxRuntime.jsx("style", { children: `
|
|
419
419
|
.blur-vignette {
|
|
@@ -458,17 +458,18 @@ function BlurVignette({
|
|
|
458
458
|
-webkit-mask-repeat: no-repeat;
|
|
459
459
|
opacity: 0;
|
|
460
460
|
transition: opacity 0.3s ease;
|
|
461
|
-
|
|
461
|
+
filter: brightness(0.5);
|
|
462
|
+
}
|
|
462
463
|
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
464
|
+
.blur-vignette.active {
|
|
465
|
+
opacity: 1;
|
|
466
|
+
}
|
|
466
467
|
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
468
|
+
.group:hover .blur-vignette {
|
|
469
|
+
opacity: 0;
|
|
470
|
+
}
|
|
470
471
|
` }),
|
|
471
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "blur-vignette active" }),
|
|
472
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "blur-vignette active rounded-2xl" }),
|
|
472
473
|
children
|
|
473
474
|
]
|
|
474
475
|
}
|
|
@@ -499,7 +500,7 @@ function BlurVignetteGrid({
|
|
|
499
500
|
radius = "24px",
|
|
500
501
|
inset = "10px",
|
|
501
502
|
transitionLength = "100px",
|
|
502
|
-
blur = "
|
|
503
|
+
blur = "3px"
|
|
503
504
|
} = vignetteConfig || {};
|
|
504
505
|
const imagesContent = React.useMemo(() => {
|
|
505
506
|
if (imagesSlot) return imagesSlot;
|
|
@@ -520,12 +521,7 @@ function BlurVignetteGrid({
|
|
|
520
521
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
521
522
|
img.Img,
|
|
522
523
|
{
|
|
523
|
-
|
|
524
|
-
height: 200,
|
|
525
|
-
className: cn(
|
|
526
|
-
"size-full rounded-[2.5rem] object-cover",
|
|
527
|
-
imageClassName
|
|
528
|
-
),
|
|
524
|
+
className: cn("size-full object-cover", imageClassName),
|
|
529
525
|
src: image.src,
|
|
530
526
|
alt: image.alt,
|
|
531
527
|
loading: "lazy",
|
|
@@ -52,7 +52,7 @@ interface BlurVignetteConfig {
|
|
|
52
52
|
transitionLength?: string;
|
|
53
53
|
/**
|
|
54
54
|
* Blur intensity
|
|
55
|
-
* @default "
|
|
55
|
+
* @default "3px"
|
|
56
56
|
*/
|
|
57
57
|
blur?: string;
|
|
58
58
|
}
|
|
@@ -153,7 +153,7 @@ interface BlurVignetteGridProps {
|
|
|
153
153
|
* { src: "/images/photo-1.jpg", alt: "Photo 1", colSpan: 2, height: "h-82" },
|
|
154
154
|
* { src: "/images/photo-2.jpg", alt: "Photo 2", colSpan: 3, height: "h-82" }
|
|
155
155
|
* ]}
|
|
156
|
-
* vignetteConfig={{ radius: "24px", blur: "
|
|
156
|
+
* vignetteConfig={{ radius: "24px", blur: "3px" }}
|
|
157
157
|
* />
|
|
158
158
|
* ```
|
|
159
159
|
*/
|
|
@@ -52,7 +52,7 @@ interface BlurVignetteConfig {
|
|
|
52
52
|
transitionLength?: string;
|
|
53
53
|
/**
|
|
54
54
|
* Blur intensity
|
|
55
|
-
* @default "
|
|
55
|
+
* @default "3px"
|
|
56
56
|
*/
|
|
57
57
|
blur?: string;
|
|
58
58
|
}
|
|
@@ -153,7 +153,7 @@ interface BlurVignetteGridProps {
|
|
|
153
153
|
* { src: "/images/photo-1.jpg", alt: "Photo 1", colSpan: 2, height: "h-82" },
|
|
154
154
|
* { src: "/images/photo-2.jpg", alt: "Photo 2", colSpan: 3, height: "h-82" }
|
|
155
155
|
* ]}
|
|
156
|
-
* vignetteConfig={{ radius: "24px", blur: "
|
|
156
|
+
* vignetteConfig={{ radius: "24px", blur: "3px" }}
|
|
157
157
|
* />
|
|
158
158
|
* ```
|
|
159
159
|
*/
|
|
@@ -391,7 +391,7 @@ function BlurVignette({
|
|
|
391
391
|
radius = "24px",
|
|
392
392
|
inset = "16px",
|
|
393
393
|
transitionLength = "32px",
|
|
394
|
-
blur = "
|
|
394
|
+
blur = "3px"
|
|
395
395
|
}) {
|
|
396
396
|
return /* @__PURE__ */ jsxs(
|
|
397
397
|
motion.div,
|
|
@@ -407,7 +407,7 @@ function BlurVignette({
|
|
|
407
407
|
y: 0
|
|
408
408
|
},
|
|
409
409
|
viewport: { once: true, amount: 0.2 },
|
|
410
|
-
className: `group relative cursor-pointer overflow-hidden rounded-
|
|
410
|
+
className: `group relative cursor-pointer overflow-hidden rounded-2xl shadow-xl ${className}`,
|
|
411
411
|
children: [
|
|
412
412
|
/* @__PURE__ */ jsx("style", { children: `
|
|
413
413
|
.blur-vignette {
|
|
@@ -452,17 +452,18 @@ function BlurVignette({
|
|
|
452
452
|
-webkit-mask-repeat: no-repeat;
|
|
453
453
|
opacity: 0;
|
|
454
454
|
transition: opacity 0.3s ease;
|
|
455
|
-
|
|
455
|
+
filter: brightness(0.5);
|
|
456
|
+
}
|
|
456
457
|
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
458
|
+
.blur-vignette.active {
|
|
459
|
+
opacity: 1;
|
|
460
|
+
}
|
|
460
461
|
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
462
|
+
.group:hover .blur-vignette {
|
|
463
|
+
opacity: 0;
|
|
464
|
+
}
|
|
464
465
|
` }),
|
|
465
|
-
/* @__PURE__ */ jsx("div", { className: "blur-vignette active" }),
|
|
466
|
+
/* @__PURE__ */ jsx("div", { className: "blur-vignette active rounded-2xl" }),
|
|
466
467
|
children
|
|
467
468
|
]
|
|
468
469
|
}
|
|
@@ -493,7 +494,7 @@ function BlurVignetteGrid({
|
|
|
493
494
|
radius = "24px",
|
|
494
495
|
inset = "10px",
|
|
495
496
|
transitionLength = "100px",
|
|
496
|
-
blur = "
|
|
497
|
+
blur = "3px"
|
|
497
498
|
} = vignetteConfig || {};
|
|
498
499
|
const imagesContent = useMemo(() => {
|
|
499
500
|
if (imagesSlot) return imagesSlot;
|
|
@@ -514,12 +515,7 @@ function BlurVignetteGrid({
|
|
|
514
515
|
children: /* @__PURE__ */ jsx(
|
|
515
516
|
Img,
|
|
516
517
|
{
|
|
517
|
-
|
|
518
|
-
height: 200,
|
|
519
|
-
className: cn(
|
|
520
|
-
"size-full rounded-[2.5rem] object-cover",
|
|
521
|
-
imageClassName
|
|
522
|
-
),
|
|
518
|
+
className: cn("size-full object-cover", imageClassName),
|
|
523
519
|
src: image.src,
|
|
524
520
|
alt: image.alt,
|
|
525
521
|
loading: "lazy",
|
|
@@ -1170,7 +1170,7 @@ function CarouselGradientText({
|
|
|
1170
1170
|
{
|
|
1171
1171
|
href: item.href,
|
|
1172
1172
|
className: cn(
|
|
1173
|
-
"relative aspect-4/5 max-h-[500px] rounded-2xl",
|
|
1173
|
+
"relative flex aspect-4/5 max-h-[500px] rounded-2xl",
|
|
1174
1174
|
item.className,
|
|
1175
1175
|
cardClassName
|
|
1176
1176
|
),
|
|
@@ -1179,7 +1179,7 @@ function CarouselGradientText({
|
|
|
1179
1179
|
"div",
|
|
1180
1180
|
{
|
|
1181
1181
|
className: cn(
|
|
1182
|
-
"absolute inset-0 rounded-2xl bg-linear-to-b from-black to-transparent to-
|
|
1182
|
+
"absolute inset-0 rounded-2xl bg-linear-to-b from-black to-transparent to-50% dark:from-background",
|
|
1183
1183
|
gradientClassName
|
|
1184
1184
|
)
|
|
1185
1185
|
}
|
|
@@ -1225,12 +1225,13 @@ function CarouselGradientText({
|
|
|
1225
1225
|
patternOpacity,
|
|
1226
1226
|
patternClassName,
|
|
1227
1227
|
className: cn("overflow-hidden", className),
|
|
1228
|
+
containerClassName: "px-4",
|
|
1228
1229
|
children: [
|
|
1229
1230
|
/* @__PURE__ */ jsxRuntime.jsx(Carousel, { setApi, className: carouselClassName, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1230
1231
|
"div",
|
|
1231
1232
|
{
|
|
1232
1233
|
className: cn(
|
|
1233
|
-
"grid gap-
|
|
1234
|
+
"grid gap-4 lg:grid-cols-2 [&>div[data-slot=carousel-content]]:overflow-visible [&>div[data-slot=carousel-content]]:[clip-path:inset(-100vw_-100vw_-100vw_0)]",
|
|
1234
1235
|
headerClassName
|
|
1235
1236
|
),
|
|
1236
1237
|
children: [
|
|
@@ -1255,10 +1256,7 @@ function CarouselGradientText({
|
|
|
1255
1256
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1256
1257
|
"div",
|
|
1257
1258
|
{
|
|
1258
|
-
className: cn(
|
|
1259
|
-
"mt-8 hidden items-center gap-4 md:flex",
|
|
1260
|
-
controlsClassName
|
|
1261
|
-
),
|
|
1259
|
+
className: cn("mt-8 items-center gap-2 flex", controlsClassName),
|
|
1262
1260
|
children: [
|
|
1263
1261
|
/* @__PURE__ */ jsxRuntime.jsx(CarouselPrevious, { className: "static size-12 translate-x-0 translate-y-0" }),
|
|
1264
1262
|
/* @__PURE__ */ jsxRuntime.jsx(CarouselNext, { className: "static size-12 translate-x-0 translate-y-0" })
|
|
@@ -1283,15 +1281,15 @@ function CarouselGradientText({
|
|
|
1283
1281
|
"div",
|
|
1284
1282
|
{
|
|
1285
1283
|
className: cn(
|
|
1286
|
-
"mt-8 flex items-center lg:ml-[50%]",
|
|
1284
|
+
"mt-4 md:mt-8 flex items-center lg:ml-[50%] max-w-full overflow-x-auto scrollbar-hide",
|
|
1287
1285
|
indicatorsClassName
|
|
1288
1286
|
),
|
|
1289
1287
|
children: Array.from({ length: items?.length ?? 0 }).map((_, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1290
1288
|
"span",
|
|
1291
1289
|
{
|
|
1292
1290
|
className: cn(
|
|
1293
|
-
"flex h-8 cursor-pointer items-center justify-center overflow-hidden rounded-full bg-muted-foreground/15 text-xs font-semibold whitespace-nowrap transition-all duration-300",
|
|
1294
|
-
index + 1 === current ? "w-fit px-4" : "
|
|
1291
|
+
"flex h-8 shrink-0 cursor-pointer items-center justify-center overflow-hidden rounded-full bg-muted-foreground/15 text-xs font-semibold whitespace-nowrap transition-all duration-300",
|
|
1292
|
+
index + 1 === current ? "w-fit px-4" : "my-4 mx-2 md:mx-4 size-4"
|
|
1295
1293
|
),
|
|
1296
1294
|
onClick: () => api && api.scrollTo(index),
|
|
1297
1295
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1146,7 +1146,7 @@ function CarouselGradientText({
|
|
|
1146
1146
|
{
|
|
1147
1147
|
href: item.href,
|
|
1148
1148
|
className: cn(
|
|
1149
|
-
"relative aspect-4/5 max-h-[500px] rounded-2xl",
|
|
1149
|
+
"relative flex aspect-4/5 max-h-[500px] rounded-2xl",
|
|
1150
1150
|
item.className,
|
|
1151
1151
|
cardClassName
|
|
1152
1152
|
),
|
|
@@ -1155,7 +1155,7 @@ function CarouselGradientText({
|
|
|
1155
1155
|
"div",
|
|
1156
1156
|
{
|
|
1157
1157
|
className: cn(
|
|
1158
|
-
"absolute inset-0 rounded-2xl bg-linear-to-b from-black to-transparent to-
|
|
1158
|
+
"absolute inset-0 rounded-2xl bg-linear-to-b from-black to-transparent to-50% dark:from-background",
|
|
1159
1159
|
gradientClassName
|
|
1160
1160
|
)
|
|
1161
1161
|
}
|
|
@@ -1201,12 +1201,13 @@ function CarouselGradientText({
|
|
|
1201
1201
|
patternOpacity,
|
|
1202
1202
|
patternClassName,
|
|
1203
1203
|
className: cn("overflow-hidden", className),
|
|
1204
|
+
containerClassName: "px-4",
|
|
1204
1205
|
children: [
|
|
1205
1206
|
/* @__PURE__ */ jsx(Carousel, { setApi, className: carouselClassName, children: /* @__PURE__ */ jsxs(
|
|
1206
1207
|
"div",
|
|
1207
1208
|
{
|
|
1208
1209
|
className: cn(
|
|
1209
|
-
"grid gap-
|
|
1210
|
+
"grid gap-4 lg:grid-cols-2 [&>div[data-slot=carousel-content]]:overflow-visible [&>div[data-slot=carousel-content]]:[clip-path:inset(-100vw_-100vw_-100vw_0)]",
|
|
1210
1211
|
headerClassName
|
|
1211
1212
|
),
|
|
1212
1213
|
children: [
|
|
@@ -1231,10 +1232,7 @@ function CarouselGradientText({
|
|
|
1231
1232
|
/* @__PURE__ */ jsxs(
|
|
1232
1233
|
"div",
|
|
1233
1234
|
{
|
|
1234
|
-
className: cn(
|
|
1235
|
-
"mt-8 hidden items-center gap-4 md:flex",
|
|
1236
|
-
controlsClassName
|
|
1237
|
-
),
|
|
1235
|
+
className: cn("mt-8 items-center gap-2 flex", controlsClassName),
|
|
1238
1236
|
children: [
|
|
1239
1237
|
/* @__PURE__ */ jsx(CarouselPrevious, { className: "static size-12 translate-x-0 translate-y-0" }),
|
|
1240
1238
|
/* @__PURE__ */ jsx(CarouselNext, { className: "static size-12 translate-x-0 translate-y-0" })
|
|
@@ -1259,15 +1257,15 @@ function CarouselGradientText({
|
|
|
1259
1257
|
"div",
|
|
1260
1258
|
{
|
|
1261
1259
|
className: cn(
|
|
1262
|
-
"mt-8 flex items-center lg:ml-[50%]",
|
|
1260
|
+
"mt-4 md:mt-8 flex items-center lg:ml-[50%] max-w-full overflow-x-auto scrollbar-hide",
|
|
1263
1261
|
indicatorsClassName
|
|
1264
1262
|
),
|
|
1265
1263
|
children: Array.from({ length: items?.length ?? 0 }).map((_, index) => /* @__PURE__ */ jsx(
|
|
1266
1264
|
"span",
|
|
1267
1265
|
{
|
|
1268
1266
|
className: cn(
|
|
1269
|
-
"flex h-8 cursor-pointer items-center justify-center overflow-hidden rounded-full bg-muted-foreground/15 text-xs font-semibold whitespace-nowrap transition-all duration-300",
|
|
1270
|
-
index + 1 === current ? "w-fit px-4" : "
|
|
1267
|
+
"flex h-8 shrink-0 cursor-pointer items-center justify-center overflow-hidden rounded-full bg-muted-foreground/15 text-xs font-semibold whitespace-nowrap transition-all duration-300",
|
|
1268
|
+
index + 1 === current ? "w-fit px-4" : "my-4 mx-2 md:mx-4 size-4"
|
|
1271
1269
|
),
|
|
1272
1270
|
onClick: () => api && api.scrollTo(index),
|
|
1273
1271
|
children: /* @__PURE__ */ jsx(
|
|
@@ -1220,7 +1220,7 @@ function CarouselIconSidebar({
|
|
|
1220
1220
|
"div",
|
|
1221
1221
|
{
|
|
1222
1222
|
className: cn(
|
|
1223
|
-
"flex h-full flex-col gap-8 rounded-lg p-8",
|
|
1223
|
+
"flex h-full flex-row md:flex-col gap-4 md:gap-8 rounded-lg p-4 md:p-8",
|
|
1224
1224
|
getNestedCardBg(background),
|
|
1225
1225
|
getNestedCardTextColor(background),
|
|
1226
1226
|
sidebarClassName
|
|
@@ -1230,35 +1230,55 @@ function CarouselIconSidebar({
|
|
|
1230
1230
|
"div",
|
|
1231
1231
|
{
|
|
1232
1232
|
className: cn(
|
|
1233
|
-
"flex h-
|
|
1233
|
+
"flex h-fit w-fit p-3 items-center justify-center rounded-lg shadow-lg ring-1 ring-border bg-card",
|
|
1234
1234
|
getNestedCardBg(background, "card"),
|
|
1235
1235
|
iconClassName
|
|
1236
1236
|
),
|
|
1237
1237
|
children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: activeItem.icon, size: 24 })
|
|
1238
1238
|
}
|
|
1239
1239
|
),
|
|
1240
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1240
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col justify-between h-full gap-4", children: [
|
|
1241
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2 md:gap-4", children: [
|
|
1242
|
+
typeof activeItem.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1243
|
+
"h3",
|
|
1244
|
+
{
|
|
1245
|
+
className: cn(
|
|
1246
|
+
"text-xl md:text-2xl font-medium",
|
|
1247
|
+
titleClassName
|
|
1248
|
+
),
|
|
1249
|
+
children: activeItem.title
|
|
1250
|
+
}
|
|
1251
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
1252
|
+
"div",
|
|
1253
|
+
{
|
|
1254
|
+
className: cn(
|
|
1255
|
+
"text-xl md:text-2xl font-medium",
|
|
1256
|
+
titleClassName
|
|
1257
|
+
),
|
|
1258
|
+
children: activeItem.title
|
|
1259
|
+
}
|
|
1260
|
+
),
|
|
1261
|
+
typeof activeItem.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1262
|
+
"p",
|
|
1263
|
+
{
|
|
1264
|
+
className: cn(
|
|
1265
|
+
"mb-4 text-base text-muted-foreground",
|
|
1266
|
+
descriptionClassName
|
|
1267
|
+
),
|
|
1268
|
+
children: activeItem.description
|
|
1269
|
+
}
|
|
1270
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
1271
|
+
"div",
|
|
1272
|
+
{
|
|
1273
|
+
className: cn(
|
|
1274
|
+
"mb-4 text-base text-muted-foreground",
|
|
1275
|
+
descriptionClassName
|
|
1276
|
+
),
|
|
1277
|
+
children: activeItem.description
|
|
1278
|
+
}
|
|
1279
|
+
)
|
|
1280
|
+
] }),
|
|
1281
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex items-center gap-2", controlsClassName), children: [
|
|
1262
1282
|
/* @__PURE__ */ jsxRuntime.jsx(CarouselPrevious, { className: "relative top-0 right-0 left-0 translate-x-0 translate-y-0 p-5 transition-all duration-200 hover:bg-foreground hover:text-background" }),
|
|
1263
1283
|
/* @__PURE__ */ jsxRuntime.jsx(CarouselNext, { className: "relative top-0 right-0 left-0 translate-x-0 translate-y-0 p-5 transition-all duration-200 hover:bg-foreground hover:text-background" })
|
|
1264
1284
|
] })
|
|
@@ -1318,7 +1338,7 @@ function CarouselIconSidebar({
|
|
|
1318
1338
|
patternClassName,
|
|
1319
1339
|
className,
|
|
1320
1340
|
children: [
|
|
1321
|
-
title || description ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 mb-6 md:mb-16", children: [
|
|
1341
|
+
title || description ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 mb-6 md:mb-16 px-4 md:px-0", children: [
|
|
1322
1342
|
title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1323
1343
|
"h2",
|
|
1324
1344
|
{
|
|
@@ -1349,10 +1369,9 @@ function CarouselIconSidebar({
|
|
|
1349
1369
|
}
|
|
1350
1370
|
))
|
|
1351
1371
|
] }) : null,
|
|
1352
|
-
/* @__PURE__ */ jsxRuntime.jsx(Carousel, { setApi, className: cn("w-full", carouselClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-6 md:grid-cols-5", children: [
|
|
1353
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "
|
|
1354
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full md:col-span-3", children: /* @__PURE__ */ jsxRuntime.jsx(CarouselContent, { className: carouselContentClassName, children: itemsContent }) })
|
|
1355
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "visible md:hidden md:col-span-2", children: sidebarContent })
|
|
1372
|
+
/* @__PURE__ */ jsxRuntime.jsx(Carousel, { setApi, className: cn("w-full", carouselClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-4 md:gap-6 md:grid-cols-5", children: [
|
|
1373
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "md:col-span-2", children: sidebarContent }),
|
|
1374
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-full md:col-span-3", children: /* @__PURE__ */ jsxRuntime.jsx(CarouselContent, { className: cn("h-full", carouselContentClassName), children: itemsContent }) })
|
|
1356
1375
|
] }) }),
|
|
1357
1376
|
lightboxOpen && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1358
1377
|
lightbox.Lightbox,
|
|
@@ -1196,7 +1196,7 @@ function CarouselIconSidebar({
|
|
|
1196
1196
|
"div",
|
|
1197
1197
|
{
|
|
1198
1198
|
className: cn(
|
|
1199
|
-
"flex h-full flex-col gap-8 rounded-lg p-8",
|
|
1199
|
+
"flex h-full flex-row md:flex-col gap-4 md:gap-8 rounded-lg p-4 md:p-8",
|
|
1200
1200
|
getNestedCardBg(background),
|
|
1201
1201
|
getNestedCardTextColor(background),
|
|
1202
1202
|
sidebarClassName
|
|
@@ -1206,35 +1206,55 @@ function CarouselIconSidebar({
|
|
|
1206
1206
|
"div",
|
|
1207
1207
|
{
|
|
1208
1208
|
className: cn(
|
|
1209
|
-
"flex h-
|
|
1209
|
+
"flex h-fit w-fit p-3 items-center justify-center rounded-lg shadow-lg ring-1 ring-border bg-card",
|
|
1210
1210
|
getNestedCardBg(background, "card"),
|
|
1211
1211
|
iconClassName
|
|
1212
1212
|
),
|
|
1213
1213
|
children: /* @__PURE__ */ jsx(DynamicIcon, { name: activeItem.icon, size: 24 })
|
|
1214
1214
|
}
|
|
1215
1215
|
),
|
|
1216
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1216
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col justify-between h-full gap-4", children: [
|
|
1217
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 md:gap-4", children: [
|
|
1218
|
+
typeof activeItem.title === "string" ? /* @__PURE__ */ jsx(
|
|
1219
|
+
"h3",
|
|
1220
|
+
{
|
|
1221
|
+
className: cn(
|
|
1222
|
+
"text-xl md:text-2xl font-medium",
|
|
1223
|
+
titleClassName
|
|
1224
|
+
),
|
|
1225
|
+
children: activeItem.title
|
|
1226
|
+
}
|
|
1227
|
+
) : /* @__PURE__ */ jsx(
|
|
1228
|
+
"div",
|
|
1229
|
+
{
|
|
1230
|
+
className: cn(
|
|
1231
|
+
"text-xl md:text-2xl font-medium",
|
|
1232
|
+
titleClassName
|
|
1233
|
+
),
|
|
1234
|
+
children: activeItem.title
|
|
1235
|
+
}
|
|
1236
|
+
),
|
|
1237
|
+
typeof activeItem.description === "string" ? /* @__PURE__ */ jsx(
|
|
1238
|
+
"p",
|
|
1239
|
+
{
|
|
1240
|
+
className: cn(
|
|
1241
|
+
"mb-4 text-base text-muted-foreground",
|
|
1242
|
+
descriptionClassName
|
|
1243
|
+
),
|
|
1244
|
+
children: activeItem.description
|
|
1245
|
+
}
|
|
1246
|
+
) : /* @__PURE__ */ jsx(
|
|
1247
|
+
"div",
|
|
1248
|
+
{
|
|
1249
|
+
className: cn(
|
|
1250
|
+
"mb-4 text-base text-muted-foreground",
|
|
1251
|
+
descriptionClassName
|
|
1252
|
+
),
|
|
1253
|
+
children: activeItem.description
|
|
1254
|
+
}
|
|
1255
|
+
)
|
|
1256
|
+
] }),
|
|
1257
|
+
/* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-2", controlsClassName), children: [
|
|
1238
1258
|
/* @__PURE__ */ jsx(CarouselPrevious, { className: "relative top-0 right-0 left-0 translate-x-0 translate-y-0 p-5 transition-all duration-200 hover:bg-foreground hover:text-background" }),
|
|
1239
1259
|
/* @__PURE__ */ jsx(CarouselNext, { className: "relative top-0 right-0 left-0 translate-x-0 translate-y-0 p-5 transition-all duration-200 hover:bg-foreground hover:text-background" })
|
|
1240
1260
|
] })
|
|
@@ -1294,7 +1314,7 @@ function CarouselIconSidebar({
|
|
|
1294
1314
|
patternClassName,
|
|
1295
1315
|
className,
|
|
1296
1316
|
children: [
|
|
1297
|
-
title || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 mb-6 md:mb-16", children: [
|
|
1317
|
+
title || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 mb-6 md:mb-16 px-4 md:px-0", children: [
|
|
1298
1318
|
title && (typeof title === "string" ? /* @__PURE__ */ jsx(
|
|
1299
1319
|
"h2",
|
|
1300
1320
|
{
|
|
@@ -1325,10 +1345,9 @@ function CarouselIconSidebar({
|
|
|
1325
1345
|
}
|
|
1326
1346
|
))
|
|
1327
1347
|
] }) : null,
|
|
1328
|
-
/* @__PURE__ */ jsx(Carousel, { setApi, className: cn("w-full", carouselClassName), children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-6 md:grid-cols-5", children: [
|
|
1329
|
-
/* @__PURE__ */ jsx("div", { className: "
|
|
1330
|
-
/* @__PURE__ */ jsx("div", { className: "h-full md:col-span-3", children: /* @__PURE__ */ jsx(CarouselContent, { className: carouselContentClassName, children: itemsContent }) })
|
|
1331
|
-
/* @__PURE__ */ jsx("div", { className: "visible md:hidden md:col-span-2", children: sidebarContent })
|
|
1348
|
+
/* @__PURE__ */ jsx(Carousel, { setApi, className: cn("w-full", carouselClassName), children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-4 md:gap-6 md:grid-cols-5", children: [
|
|
1349
|
+
/* @__PURE__ */ jsx("div", { className: "md:col-span-2", children: sidebarContent }),
|
|
1350
|
+
/* @__PURE__ */ jsx("div", { className: "h-full md:col-span-3", children: /* @__PURE__ */ jsx(CarouselContent, { className: cn("h-full", carouselContentClassName), children: itemsContent }) })
|
|
1332
1351
|
] }) }),
|
|
1333
1352
|
lightboxOpen && /* @__PURE__ */ jsx(
|
|
1334
1353
|
Lightbox,
|
|
@@ -1235,6 +1235,7 @@ function CarouselScaleFocus({
|
|
|
1235
1235
|
patternOpacity,
|
|
1236
1236
|
patternClassName,
|
|
1237
1237
|
className: cn("overflow-hidden", className),
|
|
1238
|
+
containerClassName: "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
1238
1239
|
children: [
|
|
1239
1240
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "md:px-45", children: [
|
|
1240
1241
|
title || description ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 mb-6 md:mb-16 text-center", children: [
|
|
@@ -1294,11 +1295,36 @@ function CarouselScaleFocus({
|
|
|
1294
1295
|
]
|
|
1295
1296
|
}
|
|
1296
1297
|
),
|
|
1298
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1299
|
+
"div",
|
|
1300
|
+
{
|
|
1301
|
+
className: cn(
|
|
1302
|
+
"mt-10 flex items-center justify-center gap-4 md:hidden",
|
|
1303
|
+
controlsClassName
|
|
1304
|
+
),
|
|
1305
|
+
children: [
|
|
1306
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1307
|
+
CarouselPrevious,
|
|
1308
|
+
{
|
|
1309
|
+
className: "static translate-x-0 translate-y-0 size-10",
|
|
1310
|
+
variant: "default"
|
|
1311
|
+
}
|
|
1312
|
+
),
|
|
1313
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1314
|
+
CarouselNext,
|
|
1315
|
+
{
|
|
1316
|
+
className: "static translate-x-0 translate-y-0 size-10",
|
|
1317
|
+
variant: "default"
|
|
1318
|
+
}
|
|
1319
|
+
)
|
|
1320
|
+
]
|
|
1321
|
+
}
|
|
1322
|
+
),
|
|
1297
1323
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1298
1324
|
"div",
|
|
1299
1325
|
{
|
|
1300
1326
|
className: cn(
|
|
1301
|
-
"mx-auto mt-10
|
|
1327
|
+
"mx-auto mt-10 hidden w-full max-w-135.75 items-center justify-center md:flex",
|
|
1302
1328
|
indicatorsClassName
|
|
1303
1329
|
),
|
|
1304
1330
|
children: Array.from({ length: count }).map((_, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1211,6 +1211,7 @@ function CarouselScaleFocus({
|
|
|
1211
1211
|
patternOpacity,
|
|
1212
1212
|
patternClassName,
|
|
1213
1213
|
className: cn("overflow-hidden", className),
|
|
1214
|
+
containerClassName: "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
1214
1215
|
children: [
|
|
1215
1216
|
/* @__PURE__ */ jsxs("div", { className: "md:px-45", children: [
|
|
1216
1217
|
title || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 mb-6 md:mb-16 text-center", children: [
|
|
@@ -1270,11 +1271,36 @@ function CarouselScaleFocus({
|
|
|
1270
1271
|
]
|
|
1271
1272
|
}
|
|
1272
1273
|
),
|
|
1274
|
+
/* @__PURE__ */ jsxs(
|
|
1275
|
+
"div",
|
|
1276
|
+
{
|
|
1277
|
+
className: cn(
|
|
1278
|
+
"mt-10 flex items-center justify-center gap-4 md:hidden",
|
|
1279
|
+
controlsClassName
|
|
1280
|
+
),
|
|
1281
|
+
children: [
|
|
1282
|
+
/* @__PURE__ */ jsx(
|
|
1283
|
+
CarouselPrevious,
|
|
1284
|
+
{
|
|
1285
|
+
className: "static translate-x-0 translate-y-0 size-10",
|
|
1286
|
+
variant: "default"
|
|
1287
|
+
}
|
|
1288
|
+
),
|
|
1289
|
+
/* @__PURE__ */ jsx(
|
|
1290
|
+
CarouselNext,
|
|
1291
|
+
{
|
|
1292
|
+
className: "static translate-x-0 translate-y-0 size-10",
|
|
1293
|
+
variant: "default"
|
|
1294
|
+
}
|
|
1295
|
+
)
|
|
1296
|
+
]
|
|
1297
|
+
}
|
|
1298
|
+
),
|
|
1273
1299
|
/* @__PURE__ */ jsx(
|
|
1274
1300
|
"div",
|
|
1275
1301
|
{
|
|
1276
1302
|
className: cn(
|
|
1277
|
-
"mx-auto mt-10
|
|
1303
|
+
"mx-auto mt-10 hidden w-full max-w-135.75 items-center justify-center md:flex",
|
|
1278
1304
|
indicatorsClassName
|
|
1279
1305
|
),
|
|
1280
1306
|
children: Array.from({ length: count }).map((_, index) => /* @__PURE__ */ jsx(
|