@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
|
@@ -13,32 +13,6 @@ import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
|
13
13
|
function cn(...inputs) {
|
|
14
14
|
return twMerge(clsx(inputs));
|
|
15
15
|
}
|
|
16
|
-
function getTextColor(parentBg, variant = "default", options) {
|
|
17
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
18
|
-
if (isDark) {
|
|
19
|
-
switch (variant) {
|
|
20
|
-
case "default":
|
|
21
|
-
return "text-foreground";
|
|
22
|
-
case "muted":
|
|
23
|
-
return "text-foreground/80";
|
|
24
|
-
case "subtle":
|
|
25
|
-
return "text-foreground/60";
|
|
26
|
-
case "accent":
|
|
27
|
-
return "text-accent-foreground";
|
|
28
|
-
}
|
|
29
|
-
} else {
|
|
30
|
-
switch (variant) {
|
|
31
|
-
case "default":
|
|
32
|
-
return "text-foreground";
|
|
33
|
-
case "muted":
|
|
34
|
-
return "text-muted-foreground";
|
|
35
|
-
case "subtle":
|
|
36
|
-
return "text-muted-foreground/70";
|
|
37
|
-
case "accent":
|
|
38
|
-
return "text-primary";
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
16
|
var svgCache = /* @__PURE__ */ new Map();
|
|
43
17
|
function DynamicIcon({
|
|
44
18
|
name,
|
|
@@ -1207,20 +1181,22 @@ Section.displayName = "Section";
|
|
|
1207
1181
|
function FeatureCarouselProgress({
|
|
1208
1182
|
badge,
|
|
1209
1183
|
title,
|
|
1184
|
+
description,
|
|
1185
|
+
titleClassName,
|
|
1186
|
+
descriptionClassName,
|
|
1210
1187
|
carouselLabel,
|
|
1211
1188
|
slides,
|
|
1212
1189
|
slidesSlot,
|
|
1213
1190
|
className,
|
|
1214
|
-
containerClassName,
|
|
1191
|
+
containerClassName = "px-6 sm:px-6 md:mx-6 lg:px-8",
|
|
1215
1192
|
headerClassName,
|
|
1216
1193
|
badgeClassName,
|
|
1217
|
-
titleClassName,
|
|
1218
1194
|
carouselClassName,
|
|
1219
1195
|
controlsClassName,
|
|
1220
1196
|
progressClassName,
|
|
1221
1197
|
cardClassName,
|
|
1222
1198
|
background,
|
|
1223
|
-
spacing,
|
|
1199
|
+
spacing = "py-6 md:py-32",
|
|
1224
1200
|
pattern,
|
|
1225
1201
|
patternOpacity,
|
|
1226
1202
|
patternClassName
|
|
@@ -1250,16 +1226,70 @@ function FeatureCarouselProgress({
|
|
|
1250
1226
|
CarouselItem,
|
|
1251
1227
|
{
|
|
1252
1228
|
className: "basis-full md:basis-1/2 lg:basis-1/3",
|
|
1253
|
-
children: /* @__PURE__ */ jsx("div", { className: "p-1
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1229
|
+
children: /* @__PURE__ */ jsx("div", { className: "p-1 h-auto md:h-full", children: /* @__PURE__ */ jsx(
|
|
1230
|
+
Card,
|
|
1231
|
+
{
|
|
1232
|
+
className: cn("h-auto md:h-full", cardClassName, slide.className),
|
|
1233
|
+
children: /* @__PURE__ */ jsx(CardContent, { className: "flex flex-col justify-center p-6 h-full", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col h-full justify-between", children: [
|
|
1234
|
+
(slide.icon || slide.iconName) && /* @__PURE__ */ jsx(
|
|
1235
|
+
"span",
|
|
1236
|
+
{
|
|
1237
|
+
className: cn(
|
|
1238
|
+
"mb-5 flex size-8 items-center justify-center rounded-full bg-primary text-primary-foreground lg:size-10",
|
|
1239
|
+
slide.iconClassName
|
|
1240
|
+
),
|
|
1241
|
+
children: renderSlideIcon(slide)
|
|
1242
|
+
}
|
|
1243
|
+
),
|
|
1244
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4", children: [
|
|
1245
|
+
slide.title && (typeof slide.title === "string" ? /* @__PURE__ */ jsx(
|
|
1246
|
+
Pressable,
|
|
1247
|
+
{
|
|
1248
|
+
href: slide.href,
|
|
1249
|
+
className: cn(
|
|
1250
|
+
"text-lg font-semibold md:text-xl",
|
|
1251
|
+
slide.titleClassName
|
|
1252
|
+
),
|
|
1253
|
+
children: slide.title
|
|
1254
|
+
}
|
|
1255
|
+
) : /* @__PURE__ */ jsx(
|
|
1256
|
+
"div",
|
|
1257
|
+
{
|
|
1258
|
+
className: cn(
|
|
1259
|
+
"text-lg font-semibold md:text-xl",
|
|
1260
|
+
slide.titleClassName
|
|
1261
|
+
),
|
|
1262
|
+
children: slide.title
|
|
1263
|
+
}
|
|
1264
|
+
)),
|
|
1265
|
+
slide.description && (typeof slide.description === "string" ? /* @__PURE__ */ jsx(
|
|
1266
|
+
"p",
|
|
1267
|
+
{
|
|
1268
|
+
className: cn(
|
|
1269
|
+
"pt-2 text-card-foreground",
|
|
1270
|
+
slide.descriptionClassName
|
|
1271
|
+
),
|
|
1272
|
+
children: slide.description
|
|
1273
|
+
}
|
|
1274
|
+
) : /* @__PURE__ */ jsx(
|
|
1275
|
+
"div",
|
|
1276
|
+
{
|
|
1277
|
+
className: cn(
|
|
1278
|
+
"pt-2 text-card-foreground",
|
|
1279
|
+
slide.descriptionClassName
|
|
1280
|
+
),
|
|
1281
|
+
children: slide.description
|
|
1282
|
+
}
|
|
1283
|
+
))
|
|
1284
|
+
] })
|
|
1285
|
+
] }) })
|
|
1286
|
+
}
|
|
1287
|
+
) })
|
|
1258
1288
|
},
|
|
1259
1289
|
index
|
|
1260
1290
|
));
|
|
1261
1291
|
}, [slidesSlot, slides, cardClassName, renderSlideIcon]);
|
|
1262
|
-
return /* @__PURE__ */
|
|
1292
|
+
return /* @__PURE__ */ jsx(
|
|
1263
1293
|
Section,
|
|
1264
1294
|
{
|
|
1265
1295
|
background,
|
|
@@ -1269,30 +1299,73 @@ function FeatureCarouselProgress({
|
|
|
1269
1299
|
patternClassName,
|
|
1270
1300
|
className,
|
|
1271
1301
|
containerClassName: cn("max-w-7xl", containerClassName),
|
|
1272
|
-
children: [
|
|
1273
|
-
/* @__PURE__ */ jsxs(
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1302
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
|
|
1303
|
+
badge || title || description ? /* @__PURE__ */ jsxs(
|
|
1304
|
+
"div",
|
|
1305
|
+
{
|
|
1306
|
+
className: cn("flex flex-col items-center gap-6", headerClassName),
|
|
1307
|
+
children: [
|
|
1308
|
+
badge && /* @__PURE__ */ jsx(Badge, { className: badgeClassName, children: badge }),
|
|
1309
|
+
title && (typeof title === "string" ? /* @__PURE__ */ jsx(
|
|
1310
|
+
"h2",
|
|
1311
|
+
{
|
|
1312
|
+
className: cn(
|
|
1313
|
+
"text-xl font-semibold text-balance md:text-2xl lg:text-3xl",
|
|
1314
|
+
titleClassName
|
|
1315
|
+
),
|
|
1316
|
+
children: title
|
|
1317
|
+
}
|
|
1318
|
+
) : /* @__PURE__ */ jsx(
|
|
1319
|
+
"div",
|
|
1320
|
+
{
|
|
1321
|
+
className: cn(
|
|
1322
|
+
"text-xl font-semibold text-balance md:text-2xl lg:text-3xl",
|
|
1323
|
+
titleClassName
|
|
1324
|
+
),
|
|
1325
|
+
children: title
|
|
1326
|
+
}
|
|
1327
|
+
)),
|
|
1328
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mt-1 md:mt-6", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: cn("mt-1 md:mt-6", descriptionClassName), children: description }))
|
|
1329
|
+
]
|
|
1330
|
+
}
|
|
1331
|
+
) : null,
|
|
1277
1332
|
/* @__PURE__ */ jsxs(Carousel, { className: cn("w-full", carouselClassName), setApi, children: [
|
|
1278
|
-
/* @__PURE__ */ jsxs(
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1333
|
+
/* @__PURE__ */ jsxs(
|
|
1334
|
+
"div",
|
|
1335
|
+
{
|
|
1336
|
+
className: cn(
|
|
1337
|
+
"mb-4 flex justify-between items-center px-1 md:mb-8",
|
|
1338
|
+
controlsClassName
|
|
1339
|
+
),
|
|
1340
|
+
children: [
|
|
1341
|
+
carouselLabel && (typeof carouselLabel === "string" ? /* @__PURE__ */ jsx("p", { className: "font-medium", children: carouselLabel }) : /* @__PURE__ */ jsx("div", { className: "font-medium", children: carouselLabel })),
|
|
1342
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center space-x-2", children: [
|
|
1343
|
+
/* @__PURE__ */ jsxs(
|
|
1344
|
+
"div",
|
|
1345
|
+
{
|
|
1346
|
+
className: cn("mr-4 hidden items-center gap-3 text-xs md:flex"),
|
|
1347
|
+
children: [
|
|
1348
|
+
/* @__PURE__ */ jsx("span", { children: "1" }),
|
|
1349
|
+
/* @__PURE__ */ jsx(
|
|
1350
|
+
Progress,
|
|
1351
|
+
{
|
|
1352
|
+
value: progress,
|
|
1353
|
+
className: cn("h-0.5 w-52", progressClassName)
|
|
1354
|
+
}
|
|
1355
|
+
),
|
|
1356
|
+
/* @__PURE__ */ jsx("span", { children: slidesLength })
|
|
1357
|
+
]
|
|
1358
|
+
}
|
|
1359
|
+
),
|
|
1360
|
+
/* @__PURE__ */ jsx(CarouselPrevious, { className: "static translate-y-0" }),
|
|
1361
|
+
/* @__PURE__ */ jsx(CarouselNext, { className: "static translate-y-0" })
|
|
1287
1362
|
] })
|
|
1288
|
-
]
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
] }),
|
|
1293
|
-
/* @__PURE__ */ jsx(CarouselContent, { children: slidesContent })
|
|
1363
|
+
]
|
|
1364
|
+
}
|
|
1365
|
+
),
|
|
1366
|
+
/* @__PURE__ */ jsx(CarouselContent, { className: "md:items-stretch", children: slidesContent })
|
|
1294
1367
|
] })
|
|
1295
|
-
]
|
|
1368
|
+
] })
|
|
1296
1369
|
}
|
|
1297
1370
|
);
|
|
1298
1371
|
}
|
|
@@ -32,32 +32,6 @@ var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
|
32
32
|
function cn(...inputs) {
|
|
33
33
|
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
34
34
|
}
|
|
35
|
-
function getTextColor(parentBg, variant = "default", options) {
|
|
36
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
37
|
-
if (isDark) {
|
|
38
|
-
switch (variant) {
|
|
39
|
-
case "default":
|
|
40
|
-
return "text-foreground";
|
|
41
|
-
case "muted":
|
|
42
|
-
return "text-foreground/80";
|
|
43
|
-
case "subtle":
|
|
44
|
-
return "text-foreground/60";
|
|
45
|
-
case "accent":
|
|
46
|
-
return "text-accent-foreground";
|
|
47
|
-
}
|
|
48
|
-
} else {
|
|
49
|
-
switch (variant) {
|
|
50
|
-
case "default":
|
|
51
|
-
return "text-foreground";
|
|
52
|
-
case "muted":
|
|
53
|
-
return "text-muted-foreground";
|
|
54
|
-
case "subtle":
|
|
55
|
-
return "text-muted-foreground/70";
|
|
56
|
-
case "accent":
|
|
57
|
-
return "text-primary";
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
35
|
function normalizePhoneNumber(input) {
|
|
62
36
|
const trimmed = input.trim();
|
|
63
37
|
if (trimmed.toLowerCase().startsWith("tel:")) {
|
|
@@ -959,6 +933,8 @@ Section.displayName = "Section";
|
|
|
959
933
|
function FeatureChecklistImage({
|
|
960
934
|
title,
|
|
961
935
|
description,
|
|
936
|
+
titleClassName,
|
|
937
|
+
descriptionClassName,
|
|
962
938
|
imageSrc,
|
|
963
939
|
imageAlt,
|
|
964
940
|
imageSlot,
|
|
@@ -967,12 +943,10 @@ function FeatureChecklistImage({
|
|
|
967
943
|
checklistItems,
|
|
968
944
|
checklistSlot,
|
|
969
945
|
className,
|
|
970
|
-
containerClassName,
|
|
946
|
+
containerClassName = "px-6 sm:px-6 md:mx-6 lg:px-8",
|
|
971
947
|
contentWrapperClassName,
|
|
972
948
|
imageClassName,
|
|
973
949
|
contentClassName,
|
|
974
|
-
titleClassName,
|
|
975
|
-
descriptionClassName,
|
|
976
950
|
actionsClassName,
|
|
977
951
|
checklistClassName,
|
|
978
952
|
optixFlowConfig,
|
|
@@ -994,7 +968,7 @@ function FeatureChecklistImage({
|
|
|
994
968
|
onClick: action.onClick,
|
|
995
969
|
variant: action.variant,
|
|
996
970
|
size: action.size,
|
|
997
|
-
className: cn("
|
|
971
|
+
className: cn("", action.className),
|
|
998
972
|
"aria-label": action["aria-label"],
|
|
999
973
|
asButton: true,
|
|
1000
974
|
children: action.children
|
|
@@ -1009,7 +983,7 @@ function FeatureChecklistImage({
|
|
|
1009
983
|
onClick: action.onClick,
|
|
1010
984
|
variant: action.variant,
|
|
1011
985
|
size: action.size,
|
|
1012
|
-
className: cn("
|
|
986
|
+
className: cn("", action.className),
|
|
1013
987
|
"aria-label": action["aria-label"],
|
|
1014
988
|
asButton: true,
|
|
1015
989
|
children: [
|
|
@@ -1031,7 +1005,7 @@ function FeatureChecklistImage({
|
|
|
1031
1005
|
src: imageSrc,
|
|
1032
1006
|
alt: imageAlt || "Feature illustration",
|
|
1033
1007
|
className: cn(
|
|
1034
|
-
"max-h-96 w-full rounded-lg object-cover md:max-h-[500px] md:w-1/2",
|
|
1008
|
+
"max-h-96 w-full rounded-lg object-cover md:max-h-[500px] md:w-1/2 shadow-xl",
|
|
1035
1009
|
imageClassName
|
|
1036
1010
|
),
|
|
1037
1011
|
loading: "lazy",
|
|
@@ -1047,17 +1021,10 @@ function FeatureChecklistImage({
|
|
|
1047
1021
|
const content = isString ? item : item.content;
|
|
1048
1022
|
const iconElement = isString ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/circle-check-big", size: 16 }) : item.icon ?? (item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 16 }) : /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/circle-check-big", size: 16 }));
|
|
1049
1023
|
const itemClassName = isString ? void 0 : item.className;
|
|
1050
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1051
|
-
"
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
children: [
|
|
1055
|
-
iconElement,
|
|
1056
|
-
content
|
|
1057
|
-
]
|
|
1058
|
-
},
|
|
1059
|
-
index
|
|
1060
|
-
);
|
|
1024
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("li", { className: cn("flex items-start gap-3", itemClassName), children: [
|
|
1025
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1", children: iconElement }),
|
|
1026
|
+
content
|
|
1027
|
+
] }, index);
|
|
1061
1028
|
});
|
|
1062
1029
|
}, [checklistSlot, checklistItems]);
|
|
1063
1030
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1074,73 +1041,62 @@ function FeatureChecklistImage({
|
|
|
1074
1041
|
"div",
|
|
1075
1042
|
{
|
|
1076
1043
|
className: cn(
|
|
1077
|
-
"flex flex-col gap-12 md:flex-row",
|
|
1044
|
+
"flex flex-col gap-6 md:gap-12 md:flex-row",
|
|
1078
1045
|
contentWrapperClassName
|
|
1079
1046
|
),
|
|
1080
1047
|
children: [
|
|
1081
1048
|
imageContent,
|
|
1082
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
),
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
),
|
|
1120
|
-
children: description
|
|
1121
|
-
}
|
|
1122
|
-
)),
|
|
1123
|
-
actionsContent && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1124
|
-
"div",
|
|
1125
|
-
{
|
|
1126
|
-
className: cn(
|
|
1127
|
-
"flex flex-wrap items-center gap-2",
|
|
1128
|
-
actionsClassName
|
|
1129
|
-
),
|
|
1130
|
-
children: actionsContent
|
|
1131
|
-
}
|
|
1132
|
-
),
|
|
1133
|
-
checklistContent && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1134
|
-
"ul",
|
|
1135
|
-
{
|
|
1136
|
-
className: cn(
|
|
1137
|
-
"mt-10 flex-wrap items-center gap-6 space-y-6 md:flex md:space-y-0",
|
|
1138
|
-
checklistClassName
|
|
1049
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1050
|
+
"div",
|
|
1051
|
+
{
|
|
1052
|
+
className: cn(
|
|
1053
|
+
"px-4 md:px-6 lg:px-10 py-4 md:py-4 lg:py-0",
|
|
1054
|
+
contentClassName
|
|
1055
|
+
),
|
|
1056
|
+
children: [
|
|
1057
|
+
title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1058
|
+
"h2",
|
|
1059
|
+
{
|
|
1060
|
+
className: cn(
|
|
1061
|
+
"text-xl font-semibold text-balance md:text-2xl lg:text-3xl",
|
|
1062
|
+
titleClassName
|
|
1063
|
+
),
|
|
1064
|
+
children: title
|
|
1065
|
+
}
|
|
1066
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
1067
|
+
"div",
|
|
1068
|
+
{
|
|
1069
|
+
className: cn(
|
|
1070
|
+
"text-xl font-semibold text-balance md:text-2xl lg:text-3xl",
|
|
1071
|
+
titleClassName
|
|
1072
|
+
),
|
|
1073
|
+
children: title
|
|
1074
|
+
}
|
|
1075
|
+
)),
|
|
1076
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mt-1 md:mt-6", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mt-1 md:mt-6", descriptionClassName), children: description })),
|
|
1077
|
+
actionsContent && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1078
|
+
"div",
|
|
1079
|
+
{
|
|
1080
|
+
className: cn(
|
|
1081
|
+
"flex flex-wrap items-center gap-4 md:gap-2",
|
|
1082
|
+
actionsClassName
|
|
1083
|
+
),
|
|
1084
|
+
children: actionsContent
|
|
1085
|
+
}
|
|
1139
1086
|
),
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1087
|
+
checklistContent && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1088
|
+
"ul",
|
|
1089
|
+
{
|
|
1090
|
+
className: cn(
|
|
1091
|
+
"mt-10 flex-wrap items-center gap-6 space-y-6 md:flex md:space-y-0",
|
|
1092
|
+
checklistClassName
|
|
1093
|
+
),
|
|
1094
|
+
children: checklistContent
|
|
1095
|
+
}
|
|
1096
|
+
)
|
|
1097
|
+
]
|
|
1098
|
+
}
|
|
1099
|
+
)
|
|
1144
1100
|
]
|
|
1145
1101
|
}
|
|
1146
1102
|
)
|
|
@@ -141,6 +141,6 @@ interface FeatureChecklistImageProps {
|
|
|
141
141
|
* />
|
|
142
142
|
* ```
|
|
143
143
|
*/
|
|
144
|
-
declare function FeatureChecklistImage({ title, description, imageSrc, imageAlt, imageSlot, actions, actionsSlot, checklistItems, checklistSlot, className, containerClassName, contentWrapperClassName, imageClassName, contentClassName,
|
|
144
|
+
declare function FeatureChecklistImage({ title, description, titleClassName, descriptionClassName, imageSrc, imageAlt, imageSlot, actions, actionsSlot, checklistItems, checklistSlot, className, containerClassName, contentWrapperClassName, imageClassName, contentClassName, actionsClassName, checklistClassName, optixFlowConfig, background, spacing, pattern, patternOpacity, patternClassName, }: FeatureChecklistImageProps): React.JSX.Element;
|
|
145
145
|
|
|
146
146
|
export { FeatureChecklistImage, type FeatureChecklistImageProps };
|
|
@@ -141,6 +141,6 @@ interface FeatureChecklistImageProps {
|
|
|
141
141
|
* />
|
|
142
142
|
* ```
|
|
143
143
|
*/
|
|
144
|
-
declare function FeatureChecklistImage({ title, description, imageSrc, imageAlt, imageSlot, actions, actionsSlot, checklistItems, checklistSlot, className, containerClassName, contentWrapperClassName, imageClassName, contentClassName,
|
|
144
|
+
declare function FeatureChecklistImage({ title, description, titleClassName, descriptionClassName, imageSrc, imageAlt, imageSlot, actions, actionsSlot, checklistItems, checklistSlot, className, containerClassName, contentWrapperClassName, imageClassName, contentClassName, actionsClassName, checklistClassName, optixFlowConfig, background, spacing, pattern, patternOpacity, patternClassName, }: FeatureChecklistImageProps): React.JSX.Element;
|
|
145
145
|
|
|
146
146
|
export { FeatureChecklistImage, type FeatureChecklistImageProps };
|