@opensite/ui 1.2.9 → 1.3.0
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/carousel-scale-focus.cjs +3 -2
- package/dist/carousel-scale-focus.d.cts +5 -1
- package/dist/carousel-scale-focus.d.ts +5 -1
- package/dist/carousel-scale-focus.js +3 -2
- package/dist/feature-badge-grid-six.cjs +88 -13
- package/dist/feature-badge-grid-six.d.cts +1 -1
- package/dist/feature-badge-grid-six.d.ts +1 -1
- package/dist/feature-badge-grid-six.js +88 -13
- package/dist/feature-category-image-cards.cjs +1 -1
- package/dist/feature-category-image-cards.d.cts +1 -1
- package/dist/feature-category-image-cards.d.ts +1 -1
- package/dist/feature-category-image-cards.js +1 -1
- package/dist/feature-checklist-image.cjs +5 -5
- package/dist/feature-checklist-image.js +5 -5
- package/dist/feature-icon-grid-accent.cjs +6 -6
- package/dist/feature-icon-grid-accent.js +6 -6
- package/dist/feature-icon-grid-bordered.cjs +5 -10
- package/dist/feature-icon-grid-bordered.d.cts +1 -1
- package/dist/feature-icon-grid-bordered.d.ts +1 -1
- package/dist/feature-icon-grid-bordered.js +5 -10
- package/dist/feature-icon-grid-muted.cjs +1 -1
- package/dist/feature-icon-grid-muted.js +1 -1
- package/dist/feature-icon-tabs-content.cjs +90 -108
- package/dist/feature-icon-tabs-content.js +90 -108
- package/dist/feature-image-cards-three-column.cjs +21 -15
- package/dist/feature-image-cards-three-column.d.cts +1 -1
- package/dist/feature-image-cards-three-column.d.ts +1 -1
- package/dist/feature-image-cards-three-column.js +21 -15
- package/dist/feature-numbered-cards.cjs +1 -1
- package/dist/feature-numbered-cards.js +1 -1
- package/dist/feature-tabbed-content-image.cjs +1 -1
- package/dist/feature-tabbed-content-image.d.cts +1 -1
- package/dist/feature-tabbed-content-image.d.ts +1 -1
- package/dist/feature-tabbed-content-image.js +1 -1
- package/dist/feature-three-column-values.cjs +472 -35
- package/dist/feature-three-column-values.d.cts +4 -0
- package/dist/feature-three-column-values.d.ts +4 -0
- package/dist/feature-three-column-values.js +472 -35
- package/dist/registry.cjs +275 -194
- package/dist/registry.js +275 -194
- package/package.json +1 -1
package/dist/registry.cjs
CHANGED
|
@@ -23960,12 +23960,12 @@ function FeatureIconGridBordered({
|
|
|
23960
23960
|
features,
|
|
23961
23961
|
featuresSlot,
|
|
23962
23962
|
className,
|
|
23963
|
-
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
23964
23963
|
labelClassName,
|
|
23965
23964
|
titleClassName,
|
|
23966
23965
|
gridClassName,
|
|
23967
23966
|
cardClassName,
|
|
23968
23967
|
background,
|
|
23968
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
23969
23969
|
spacing = "py-12 md:py-32",
|
|
23970
23970
|
pattern,
|
|
23971
23971
|
patternOpacity,
|
|
@@ -23985,23 +23985,22 @@ function FeatureIconGridBordered({
|
|
|
23985
23985
|
"div",
|
|
23986
23986
|
{
|
|
23987
23987
|
className: cn(
|
|
23988
|
-
"relative flex gap-
|
|
23988
|
+
"relative flex h-full flex-col justify-between gap-6 rounded-none border-dashed px-3 md:border-l md:px-5",
|
|
23989
23989
|
cardClassName,
|
|
23990
23990
|
feature.className
|
|
23991
23991
|
),
|
|
23992
23992
|
children: [
|
|
23993
23993
|
(feature.icon || feature.iconName) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
23994
|
-
"
|
|
23994
|
+
"div",
|
|
23995
23995
|
{
|
|
23996
23996
|
className: cn(
|
|
23997
|
-
"
|
|
23998
|
-
getAccentColor(background),
|
|
23997
|
+
"flex size-10 shrink-0 items-center justify-center rounded-lg md:size-12 text-accent-foreground bg-primary shadow-xl",
|
|
23999
23998
|
feature.iconClassName
|
|
24000
23999
|
),
|
|
24001
24000
|
children: renderIcon(feature)
|
|
24002
24001
|
}
|
|
24003
24002
|
),
|
|
24004
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
24003
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 flex-col justify-end gap-2", children: [
|
|
24005
24004
|
feature.title && (typeof feature.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
24006
24005
|
Pressable,
|
|
24007
24006
|
{
|
|
@@ -24200,7 +24199,7 @@ function FeatureChecklistImage({
|
|
|
24200
24199
|
patternOpacity,
|
|
24201
24200
|
patternClassName,
|
|
24202
24201
|
className,
|
|
24203
|
-
containerClassName
|
|
24202
|
+
containerClassName,
|
|
24204
24203
|
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
24205
24204
|
"div",
|
|
24206
24205
|
{
|
|
@@ -24214,7 +24213,7 @@ function FeatureChecklistImage({
|
|
|
24214
24213
|
"div",
|
|
24215
24214
|
{
|
|
24216
24215
|
className: cn(
|
|
24217
|
-
"px-
|
|
24216
|
+
"px-0 md:px-6 lg:px-10 py-4 md:py-0 flex flex-col gap-6 md:gap-10",
|
|
24218
24217
|
contentClassName
|
|
24219
24218
|
),
|
|
24220
24219
|
children: [
|
|
@@ -24237,12 +24236,12 @@ function FeatureChecklistImage({
|
|
|
24237
24236
|
children: title
|
|
24238
24237
|
}
|
|
24239
24238
|
)),
|
|
24240
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("
|
|
24239
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("relative", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("relative", descriptionClassName), children: description })),
|
|
24241
24240
|
actionsContent && /* @__PURE__ */ jsxRuntime.jsx(
|
|
24242
24241
|
"div",
|
|
24243
24242
|
{
|
|
24244
24243
|
className: cn(
|
|
24245
|
-
"flex flex-wrap items-center gap-4
|
|
24244
|
+
"flex flex-wrap items-center gap-4",
|
|
24246
24245
|
actionsClassName
|
|
24247
24246
|
),
|
|
24248
24247
|
children: actionsContent
|
|
@@ -24252,7 +24251,7 @@ function FeatureChecklistImage({
|
|
|
24252
24251
|
"ul",
|
|
24253
24252
|
{
|
|
24254
24253
|
className: cn(
|
|
24255
|
-
"
|
|
24254
|
+
"flex-wrap items-center space-y-2 md:flex",
|
|
24256
24255
|
checklistClassName
|
|
24257
24256
|
),
|
|
24258
24257
|
children: checklistContent
|
|
@@ -24752,7 +24751,7 @@ function FeatureNumberedCards({
|
|
|
24752
24751
|
[]
|
|
24753
24752
|
);
|
|
24754
24753
|
const cardImg = React52.useCallback((feature) => {
|
|
24755
|
-
if (!feature.image
|
|
24754
|
+
if (!feature.image && !feature.imageSlot) return null;
|
|
24756
24755
|
if (feature.imageSlot) return feature.imageSlot;
|
|
24757
24756
|
const imageAlt = feature.imageAlt || (typeof feature.title === "string" ? feature.title : "Feature image");
|
|
24758
24757
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "overflow-hidden h-full w-full rounded-t-lg rounded-b-none md:rounded-t-none md:rounded-l-none md:rounded-r-lg", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -24939,7 +24938,7 @@ function FeatureIconGridAccent({
|
|
|
24939
24938
|
features,
|
|
24940
24939
|
featuresSlot,
|
|
24941
24940
|
className,
|
|
24942
|
-
containerClassName,
|
|
24941
|
+
containerClassName = "px-6 sm:px-6 md:px-6 lg:px-8",
|
|
24943
24942
|
headerClassName,
|
|
24944
24943
|
labelClassName,
|
|
24945
24944
|
titleClassName,
|
|
@@ -24947,7 +24946,7 @@ function FeatureIconGridAccent({
|
|
|
24947
24946
|
gridClassName,
|
|
24948
24947
|
cardClassName,
|
|
24949
24948
|
background,
|
|
24950
|
-
spacing,
|
|
24949
|
+
spacing = "py-6 md:py-32",
|
|
24951
24950
|
pattern,
|
|
24952
24951
|
patternOpacity,
|
|
24953
24952
|
patternClassName
|
|
@@ -24986,7 +24985,7 @@ function FeatureIconGridAccent({
|
|
|
24986
24985
|
);
|
|
24987
24986
|
});
|
|
24988
24987
|
}, [featuresSlot, features, cardClassName, background]);
|
|
24989
|
-
return /* @__PURE__ */ jsxRuntime.
|
|
24988
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
24990
24989
|
Section,
|
|
24991
24990
|
{
|
|
24992
24991
|
background,
|
|
@@ -24996,7 +24995,7 @@ function FeatureIconGridAccent({
|
|
|
24996
24995
|
patternClassName,
|
|
24997
24996
|
className,
|
|
24998
24997
|
containerClassName,
|
|
24999
|
-
children: [
|
|
24998
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
|
|
25000
24999
|
(label || title || description) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
25001
25000
|
"div",
|
|
25002
25001
|
{
|
|
@@ -25030,13 +25029,13 @@ function FeatureIconGridAccent({
|
|
|
25030
25029
|
"div",
|
|
25031
25030
|
{
|
|
25032
25031
|
className: cn(
|
|
25033
|
-
"mx-auto
|
|
25032
|
+
"mx-auto grid max-w-5xl gap-6 md:grid-cols-2",
|
|
25034
25033
|
gridClassName
|
|
25035
25034
|
),
|
|
25036
25035
|
children: featuresContent
|
|
25037
25036
|
}
|
|
25038
25037
|
)
|
|
25039
|
-
]
|
|
25038
|
+
] })
|
|
25040
25039
|
}
|
|
25041
25040
|
);
|
|
25042
25041
|
}
|
|
@@ -25072,38 +25071,48 @@ function FeatureThreeColumnValues({
|
|
|
25072
25071
|
return values.map((value, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
25073
25072
|
"div",
|
|
25074
25073
|
{
|
|
25075
|
-
className: cn(
|
|
25074
|
+
className: cn(
|
|
25075
|
+
"relative flex h-full flex-col justify-between gap-6 rounded-lg p-5 bg-card text-card-foreground shadow-lg border",
|
|
25076
|
+
cardClassName,
|
|
25077
|
+
value.className
|
|
25078
|
+
),
|
|
25076
25079
|
children: [
|
|
25077
25080
|
(value.icon || value.iconName) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
25078
|
-
"
|
|
25081
|
+
"div",
|
|
25079
25082
|
{
|
|
25080
25083
|
className: cn(
|
|
25081
|
-
"
|
|
25084
|
+
"flex size-fit p-3 items-center justify-center rounded-full border",
|
|
25082
25085
|
value.iconClassName
|
|
25083
25086
|
),
|
|
25084
25087
|
children: renderValueIcon(value)
|
|
25085
25088
|
}
|
|
25086
25089
|
),
|
|
25087
|
-
|
|
25088
|
-
"
|
|
25089
|
-
|
|
25090
|
-
|
|
25091
|
-
|
|
25092
|
-
|
|
25093
|
-
|
|
25094
|
-
|
|
25095
|
-
|
|
25096
|
-
|
|
25097
|
-
|
|
25098
|
-
|
|
25099
|
-
|
|
25100
|
-
|
|
25090
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-1 flex-col justify-end gap-2", children: [
|
|
25091
|
+
value.title && (typeof value.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
25092
|
+
Pressable,
|
|
25093
|
+
{
|
|
25094
|
+
href: value.href,
|
|
25095
|
+
className: cn(
|
|
25096
|
+
"font-medium md:mb-2 text-xl",
|
|
25097
|
+
value.titleClassName
|
|
25098
|
+
),
|
|
25099
|
+
children: value.title
|
|
25100
|
+
}
|
|
25101
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
25102
|
+
"div",
|
|
25103
|
+
{
|
|
25104
|
+
className: cn("mb-2 text-xl font-medium", value.titleClassName),
|
|
25105
|
+
children: value.title
|
|
25106
|
+
}
|
|
25107
|
+
)),
|
|
25108
|
+
value.description && (typeof value.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("leading-7 ", value.descriptionClassName), children: value.description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("leading-7", value.descriptionClassName), children: value.description }))
|
|
25109
|
+
] })
|
|
25101
25110
|
]
|
|
25102
25111
|
},
|
|
25103
25112
|
index
|
|
25104
25113
|
));
|
|
25105
25114
|
}, [valuesSlot, values, cardClassName, renderValueIcon]);
|
|
25106
|
-
return /* @__PURE__ */ jsxRuntime.
|
|
25115
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
25107
25116
|
Section,
|
|
25108
25117
|
{
|
|
25109
25118
|
background,
|
|
@@ -25113,32 +25122,40 @@ function FeatureThreeColumnValues({
|
|
|
25113
25122
|
patternClassName,
|
|
25114
25123
|
className,
|
|
25115
25124
|
containerClassName,
|
|
25116
|
-
children: [
|
|
25117
|
-
label
|
|
25118
|
-
|
|
25119
|
-
"
|
|
25120
|
-
|
|
25121
|
-
|
|
25122
|
-
|
|
25123
|
-
|
|
25124
|
-
|
|
25125
|
-
|
|
25126
|
-
|
|
25127
|
-
|
|
25128
|
-
|
|
25129
|
-
|
|
25130
|
-
|
|
25125
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
|
|
25126
|
+
label || title ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col space-y-4", children: [
|
|
25127
|
+
label && (typeof label === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-sm", labelClassName), children: label }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("text-sm", labelClassName), children: label })),
|
|
25128
|
+
title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
25129
|
+
"h2",
|
|
25130
|
+
{
|
|
25131
|
+
className: cn(
|
|
25132
|
+
"text-3xl font-medium lg:text-4xl",
|
|
25133
|
+
titleClassName
|
|
25134
|
+
),
|
|
25135
|
+
children: title
|
|
25136
|
+
}
|
|
25137
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
25138
|
+
"div",
|
|
25139
|
+
{
|
|
25140
|
+
className: cn(
|
|
25141
|
+
"text-3xl font-medium lg:text-4xl",
|
|
25142
|
+
titleClassName
|
|
25143
|
+
),
|
|
25144
|
+
children: title
|
|
25145
|
+
}
|
|
25146
|
+
))
|
|
25147
|
+
] }) : null,
|
|
25131
25148
|
(valuesSlot || values && values.length > 0) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
25132
25149
|
"div",
|
|
25133
25150
|
{
|
|
25134
25151
|
className: cn(
|
|
25135
|
-
"
|
|
25152
|
+
"grid gap-6 grid-cols-1 md:grid-cols-3",
|
|
25136
25153
|
gridClassName
|
|
25137
25154
|
),
|
|
25138
25155
|
children: valuesContent
|
|
25139
25156
|
}
|
|
25140
25157
|
)
|
|
25141
|
-
]
|
|
25158
|
+
] })
|
|
25142
25159
|
}
|
|
25143
25160
|
);
|
|
25144
25161
|
}
|
|
@@ -25151,7 +25168,8 @@ function FeatureBadgeGridSix({
|
|
|
25151
25168
|
action,
|
|
25152
25169
|
actionSlot,
|
|
25153
25170
|
className,
|
|
25154
|
-
containerClassName,
|
|
25171
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
25172
|
+
spacing = "py-12 md:py-32",
|
|
25155
25173
|
headerClassName,
|
|
25156
25174
|
badgeClassName,
|
|
25157
25175
|
titleClassName,
|
|
@@ -25159,7 +25177,6 @@ function FeatureBadgeGridSix({
|
|
|
25159
25177
|
cardClassName,
|
|
25160
25178
|
actionContainerClassName,
|
|
25161
25179
|
background,
|
|
25162
|
-
spacing,
|
|
25163
25180
|
pattern,
|
|
25164
25181
|
patternOpacity,
|
|
25165
25182
|
patternClassName
|
|
@@ -25191,12 +25208,54 @@ function FeatureBadgeGridSix({
|
|
|
25191
25208
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
25192
25209
|
"div",
|
|
25193
25210
|
{
|
|
25194
|
-
className: cn(
|
|
25211
|
+
className: cn(
|
|
25212
|
+
"flex gap-6 space-y-4 rounded-lg md:block",
|
|
25213
|
+
cardClassName,
|
|
25214
|
+
feature.className
|
|
25215
|
+
),
|
|
25195
25216
|
children: [
|
|
25196
|
-
iconContent && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex size-10 shrink-0 items-center justify-center rounded-
|
|
25217
|
+
iconContent && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex size-10 shrink-0 items-center justify-center rounded-lg bg-card text-card-foreground md:size-12 shadow-sm border", children: iconContent }),
|
|
25197
25218
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
25198
|
-
feature.heading && (typeof feature.heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
25199
|
-
|
|
25219
|
+
feature.heading && (typeof feature.heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
25220
|
+
"h3",
|
|
25221
|
+
{
|
|
25222
|
+
className: cn(
|
|
25223
|
+
"font-medium md:mb-2 md:text-xl",
|
|
25224
|
+
feature.headingClassName
|
|
25225
|
+
),
|
|
25226
|
+
children: feature.heading
|
|
25227
|
+
}
|
|
25228
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
25229
|
+
"div",
|
|
25230
|
+
{
|
|
25231
|
+
className: cn(
|
|
25232
|
+
"font-medium md:mb-2 md:text-xl",
|
|
25233
|
+
feature.headingClassName
|
|
25234
|
+
),
|
|
25235
|
+
children: feature.heading
|
|
25236
|
+
}
|
|
25237
|
+
)),
|
|
25238
|
+
feature.description && (typeof feature.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
25239
|
+
"p",
|
|
25240
|
+
{
|
|
25241
|
+
className: cn(
|
|
25242
|
+
"text-sm md:text-base",
|
|
25243
|
+
getTextColor(background, "muted"),
|
|
25244
|
+
feature.descriptionClassName
|
|
25245
|
+
),
|
|
25246
|
+
children: feature.description
|
|
25247
|
+
}
|
|
25248
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
25249
|
+
"div",
|
|
25250
|
+
{
|
|
25251
|
+
className: cn(
|
|
25252
|
+
"text-sm md:text-base",
|
|
25253
|
+
getTextColor(background, "muted"),
|
|
25254
|
+
feature.descriptionClassName
|
|
25255
|
+
),
|
|
25256
|
+
children: feature.description
|
|
25257
|
+
}
|
|
25258
|
+
))
|
|
25200
25259
|
] })
|
|
25201
25260
|
]
|
|
25202
25261
|
},
|
|
@@ -25240,7 +25299,7 @@ function FeatureBadgeGridSix({
|
|
|
25240
25299
|
}
|
|
25241
25300
|
);
|
|
25242
25301
|
}, [actionSlot, action]);
|
|
25243
|
-
return /* @__PURE__ */ jsxRuntime.
|
|
25302
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
25244
25303
|
Section,
|
|
25245
25304
|
{
|
|
25246
25305
|
background,
|
|
@@ -25250,14 +25309,47 @@ function FeatureBadgeGridSix({
|
|
|
25250
25309
|
patternClassName,
|
|
25251
25310
|
className,
|
|
25252
25311
|
containerClassName,
|
|
25253
|
-
children: [
|
|
25254
|
-
(label || badgeSlot || title) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("
|
|
25312
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
|
|
25313
|
+
(label || badgeSlot || title) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col gap-4", headerClassName), children: [
|
|
25255
25314
|
badgeContent,
|
|
25256
|
-
title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
25315
|
+
title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
25316
|
+
"h2",
|
|
25317
|
+
{
|
|
25318
|
+
className: cn(
|
|
25319
|
+
"text-2xl font-bold md:text-3xl lg:text-4xl",
|
|
25320
|
+
titleClassName
|
|
25321
|
+
),
|
|
25322
|
+
children: title
|
|
25323
|
+
}
|
|
25324
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
25325
|
+
"div",
|
|
25326
|
+
{
|
|
25327
|
+
className: cn(
|
|
25328
|
+
"text-2xl font-bold md:text-3xl lg:text-4xl",
|
|
25329
|
+
titleClassName
|
|
25330
|
+
),
|
|
25331
|
+
children: title
|
|
25332
|
+
}
|
|
25333
|
+
))
|
|
25257
25334
|
] }),
|
|
25258
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
25259
|
-
|
|
25260
|
-
|
|
25335
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
25336
|
+
"div",
|
|
25337
|
+
{
|
|
25338
|
+
className: cn(
|
|
25339
|
+
"grid gap-6 md:gap-12 grid-cols-1 md:grid-cols-2",
|
|
25340
|
+
gridClassName
|
|
25341
|
+
),
|
|
25342
|
+
children: featuresContent
|
|
25343
|
+
}
|
|
25344
|
+
),
|
|
25345
|
+
(action || actionSlot) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
25346
|
+
"div",
|
|
25347
|
+
{
|
|
25348
|
+
className: cn("mt-8 flex justify-center", actionContainerClassName),
|
|
25349
|
+
children: actionContent
|
|
25350
|
+
}
|
|
25351
|
+
)
|
|
25352
|
+
] })
|
|
25261
25353
|
}
|
|
25262
25354
|
);
|
|
25263
25355
|
}
|
|
@@ -25336,7 +25428,6 @@ function FeatureTabbedContentImage({
|
|
|
25336
25428
|
slidesSlot,
|
|
25337
25429
|
defaultTab,
|
|
25338
25430
|
className,
|
|
25339
|
-
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
25340
25431
|
headerClassName,
|
|
25341
25432
|
titleClassName,
|
|
25342
25433
|
descriptionClassName,
|
|
@@ -25348,6 +25439,7 @@ function FeatureTabbedContentImage({
|
|
|
25348
25439
|
contentGridClassName,
|
|
25349
25440
|
optixFlowConfig,
|
|
25350
25441
|
background,
|
|
25442
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
25351
25443
|
spacing = "py-6 md:py-32",
|
|
25352
25444
|
pattern,
|
|
25353
25445
|
patternOpacity,
|
|
@@ -26092,7 +26184,7 @@ function FeatureIconTabsContent({
|
|
|
26092
26184
|
tabsSlot,
|
|
26093
26185
|
defaultTab,
|
|
26094
26186
|
className,
|
|
26095
|
-
containerClassName,
|
|
26187
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
26096
26188
|
headerClassName,
|
|
26097
26189
|
badgeClassName,
|
|
26098
26190
|
headingClassName,
|
|
@@ -26183,11 +26275,11 @@ function FeatureIconTabsContent({
|
|
|
26183
26275
|
if (!tabs || tabs.length === 0) return null;
|
|
26184
26276
|
const activeDefaultTab = defaultTab || tabs[0]?.value;
|
|
26185
26277
|
return /* @__PURE__ */ jsxRuntime.jsxs(Tabs, { defaultValue: activeDefaultTab, className: "mt-8", children: [
|
|
26186
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "container overflow-x-auto px-4 pb-2 md:px-6", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
26278
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "container overflow-x-auto px-4 pb-2 md:px-6 scrollbar-thin scrollbar-track-transparent scrollbar-thumb-border/50 hover:scrollbar-thumb-border md:overflow-x-visible [&::-webkit-scrollbar]:h-1 [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-border/30", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
26187
26279
|
TabsList,
|
|
26188
26280
|
{
|
|
26189
26281
|
className: cn(
|
|
26190
|
-
"inline-flex w-auto
|
|
26282
|
+
"inline-flex w-auto items-center justify-start gap-2 bg-transparent md:w-full md:justify-center md:gap-4 h-auto! p-0!",
|
|
26191
26283
|
tabsListClassName
|
|
26192
26284
|
),
|
|
26193
26285
|
children: tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -26195,7 +26287,7 @@ function FeatureIconTabsContent({
|
|
|
26195
26287
|
{
|
|
26196
26288
|
value: tab.value,
|
|
26197
26289
|
className: cn(
|
|
26198
|
-
"flex
|
|
26290
|
+
"flex h-auto! w-auto! flex-none items-center gap-2 rounded-lg border border-border px-4 py-2.5 text-sm font-medium transition-colors hover:bg-accent hover:text-accent-foreground data-[state=active]:bg-primary data-[state=active]:text-primary-foreground",
|
|
26199
26291
|
`data-[state=active]:${getBorderColor(background, "accent")}`,
|
|
26200
26292
|
tabTriggerClassName,
|
|
26201
26293
|
tab.className
|
|
@@ -26209,99 +26301,87 @@ function FeatureIconTabsContent({
|
|
|
26209
26301
|
))
|
|
26210
26302
|
}
|
|
26211
26303
|
) }),
|
|
26212
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
26213
|
-
|
|
26214
|
-
|
|
26215
|
-
|
|
26216
|
-
|
|
26217
|
-
|
|
26218
|
-
|
|
26219
|
-
|
|
26220
|
-
|
|
26221
|
-
|
|
26222
|
-
|
|
26223
|
-
|
|
26224
|
-
|
|
26225
|
-
|
|
26226
|
-
|
|
26227
|
-
|
|
26228
|
-
|
|
26229
|
-
|
|
26230
|
-
|
|
26231
|
-
|
|
26232
|
-
|
|
26233
|
-
|
|
26234
|
-
|
|
26235
|
-
|
|
26236
|
-
|
|
26237
|
-
|
|
26238
|
-
|
|
26239
|
-
|
|
26240
|
-
|
|
26304
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("py-6 lg:py-16", contentWrapperClassName), children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", children: tabs.map((tab) => {
|
|
26305
|
+
if (tab.contentSlot) {
|
|
26306
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
26307
|
+
TabsContent,
|
|
26308
|
+
{
|
|
26309
|
+
value: tab.value,
|
|
26310
|
+
className: tabContentClassName,
|
|
26311
|
+
children: tab.contentSlot
|
|
26312
|
+
},
|
|
26313
|
+
tab.value
|
|
26314
|
+
);
|
|
26315
|
+
}
|
|
26316
|
+
const content = tab.content;
|
|
26317
|
+
if (!content) return null;
|
|
26318
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
26319
|
+
TabsContent,
|
|
26320
|
+
{
|
|
26321
|
+
value: tab.value,
|
|
26322
|
+
className: cn(
|
|
26323
|
+
"grid place-items-start gap-20 lg:grid-cols-2 lg:gap-10",
|
|
26324
|
+
tabContentClassName,
|
|
26325
|
+
content.className
|
|
26326
|
+
),
|
|
26327
|
+
children: [
|
|
26328
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-5", children: [
|
|
26329
|
+
content.badge && /* @__PURE__ */ jsxRuntime.jsx(
|
|
26330
|
+
Badge,
|
|
26331
|
+
{
|
|
26332
|
+
variant: "outline",
|
|
26333
|
+
className: cn("w-fit", content.badgeClassName),
|
|
26334
|
+
children: content.badge
|
|
26335
|
+
}
|
|
26241
26336
|
),
|
|
26242
|
-
|
|
26243
|
-
|
|
26244
|
-
|
|
26245
|
-
|
|
26246
|
-
|
|
26247
|
-
|
|
26248
|
-
className: cn(
|
|
26249
|
-
"w-fit",
|
|
26250
|
-
content.badgeClassName
|
|
26251
|
-
),
|
|
26252
|
-
children: content.badge
|
|
26253
|
-
}
|
|
26337
|
+
content.title && (typeof content.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
26338
|
+
"h3",
|
|
26339
|
+
{
|
|
26340
|
+
className: cn(
|
|
26341
|
+
"text-3xl font-semibold lg:text-5xl",
|
|
26342
|
+
content.titleClassName
|
|
26254
26343
|
),
|
|
26255
|
-
|
|
26256
|
-
|
|
26257
|
-
|
|
26258
|
-
|
|
26259
|
-
|
|
26260
|
-
|
|
26261
|
-
|
|
26262
|
-
|
|
26263
|
-
|
|
26264
|
-
|
|
26265
|
-
|
|
26266
|
-
|
|
26267
|
-
|
|
26268
|
-
|
|
26269
|
-
|
|
26270
|
-
|
|
26271
|
-
|
|
26272
|
-
|
|
26273
|
-
|
|
26274
|
-
|
|
26275
|
-
|
|
26276
|
-
|
|
26277
|
-
|
|
26278
|
-
|
|
26279
|
-
|
|
26280
|
-
|
|
26281
|
-
|
|
26282
|
-
|
|
26283
|
-
|
|
26284
|
-
)
|
|
26285
|
-
|
|
26286
|
-
|
|
26287
|
-
|
|
26288
|
-
|
|
26289
|
-
|
|
26290
|
-
|
|
26291
|
-
|
|
26292
|
-
|
|
26293
|
-
|
|
26294
|
-
|
|
26295
|
-
|
|
26296
|
-
] }),
|
|
26297
|
-
(content.imageSlot || content.imageSrc) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative h-[300px] w-full lg:h-[400px]", children: renderTabContentImage(content) })
|
|
26298
|
-
]
|
|
26299
|
-
},
|
|
26300
|
-
tab.value
|
|
26301
|
-
);
|
|
26302
|
-
}) })
|
|
26303
|
-
}
|
|
26304
|
-
)
|
|
26344
|
+
children: content.title
|
|
26345
|
+
}
|
|
26346
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
26347
|
+
"div",
|
|
26348
|
+
{
|
|
26349
|
+
className: cn(
|
|
26350
|
+
"text-3xl font-semibold lg:text-5xl",
|
|
26351
|
+
content.titleClassName
|
|
26352
|
+
),
|
|
26353
|
+
children: content.title
|
|
26354
|
+
}
|
|
26355
|
+
)),
|
|
26356
|
+
content.description && (typeof content.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
26357
|
+
"p",
|
|
26358
|
+
{
|
|
26359
|
+
className: cn(
|
|
26360
|
+
"lg:text-lg",
|
|
26361
|
+
getTextColor(background, "muted"),
|
|
26362
|
+
content.descriptionClassName
|
|
26363
|
+
),
|
|
26364
|
+
children: content.description
|
|
26365
|
+
}
|
|
26366
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
26367
|
+
"div",
|
|
26368
|
+
{
|
|
26369
|
+
className: cn(
|
|
26370
|
+
"lg:text-lg",
|
|
26371
|
+
getTextColor(background, "muted"),
|
|
26372
|
+
content.descriptionClassName
|
|
26373
|
+
),
|
|
26374
|
+
children: content.description
|
|
26375
|
+
}
|
|
26376
|
+
)),
|
|
26377
|
+
(content.actionsSlot || content.actions && content.actions.length > 0) && renderTabContentActions(content)
|
|
26378
|
+
] }),
|
|
26379
|
+
(content.imageSlot || content.imageSrc) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative h-[300px] w-full lg:h-[400px]", children: renderTabContentImage(content) })
|
|
26380
|
+
]
|
|
26381
|
+
},
|
|
26382
|
+
tab.value
|
|
26383
|
+
);
|
|
26384
|
+
}) }) })
|
|
26305
26385
|
] });
|
|
26306
26386
|
}, [
|
|
26307
26387
|
tabsSlot,
|
|
@@ -26315,7 +26395,7 @@ function FeatureIconTabsContent({
|
|
|
26315
26395
|
renderTabContentActions,
|
|
26316
26396
|
renderTabContentImage
|
|
26317
26397
|
]);
|
|
26318
|
-
return /* @__PURE__ */ jsxRuntime.
|
|
26398
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
26319
26399
|
Section,
|
|
26320
26400
|
{
|
|
26321
26401
|
background,
|
|
@@ -26324,8 +26404,8 @@ function FeatureIconTabsContent({
|
|
|
26324
26404
|
patternOpacity,
|
|
26325
26405
|
patternClassName,
|
|
26326
26406
|
className,
|
|
26327
|
-
containerClassName
|
|
26328
|
-
children: [
|
|
26407
|
+
containerClassName,
|
|
26408
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
|
|
26329
26409
|
(badge || heading || description) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
26330
26410
|
"div",
|
|
26331
26411
|
{
|
|
@@ -26339,7 +26419,7 @@ function FeatureIconTabsContent({
|
|
|
26339
26419
|
"h1",
|
|
26340
26420
|
{
|
|
26341
26421
|
className: cn(
|
|
26342
|
-
"max-w-2xl text-3xl font-semibold md:text-4xl",
|
|
26422
|
+
"max-w-2xl text-3xl font-semibold md:text-4xl text-balance",
|
|
26343
26423
|
headingClassName
|
|
26344
26424
|
),
|
|
26345
26425
|
children: heading
|
|
@@ -26348,24 +26428,18 @@ function FeatureIconTabsContent({
|
|
|
26348
26428
|
"div",
|
|
26349
26429
|
{
|
|
26350
26430
|
className: cn(
|
|
26351
|
-
"max-w-2xl text-3xl font-semibold md:text-4xl",
|
|
26431
|
+
"max-w-2xl text-3xl font-semibold md:text-4xl text-balance",
|
|
26352
26432
|
headingClassName
|
|
26353
26433
|
),
|
|
26354
26434
|
children: heading
|
|
26355
26435
|
}
|
|
26356
26436
|
)),
|
|
26357
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn(
|
|
26358
|
-
"div",
|
|
26359
|
-
{
|
|
26360
|
-
className: cn(getTextColor(background, "muted"), descriptionClassName),
|
|
26361
|
-
children: description
|
|
26362
|
-
}
|
|
26363
|
-
))
|
|
26437
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-balance", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("text-balance", descriptionClassName), children: description }))
|
|
26364
26438
|
]
|
|
26365
26439
|
}
|
|
26366
26440
|
),
|
|
26367
26441
|
tabsContent
|
|
26368
|
-
]
|
|
26442
|
+
] })
|
|
26369
26443
|
}
|
|
26370
26444
|
);
|
|
26371
26445
|
}
|
|
@@ -26633,7 +26707,6 @@ function FeatureCategoryImageCards({
|
|
|
26633
26707
|
features,
|
|
26634
26708
|
featuresSlot,
|
|
26635
26709
|
className,
|
|
26636
|
-
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
26637
26710
|
headerClassName,
|
|
26638
26711
|
badgeClassName,
|
|
26639
26712
|
titleClassName,
|
|
@@ -26642,6 +26715,7 @@ function FeatureCategoryImageCards({
|
|
|
26642
26715
|
cardClassName,
|
|
26643
26716
|
optixFlowConfig,
|
|
26644
26717
|
background,
|
|
26718
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
26645
26719
|
spacing = "py-12 md:py-32",
|
|
26646
26720
|
pattern,
|
|
26647
26721
|
patternOpacity,
|
|
@@ -26928,14 +27002,14 @@ function FeatureImageCardsThreeColumn({
|
|
|
26928
27002
|
cards,
|
|
26929
27003
|
cardsSlot,
|
|
26930
27004
|
className,
|
|
26931
|
-
containerClassName,
|
|
27005
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
27006
|
+
spacing = "py-6 md:py-32",
|
|
26932
27007
|
titleClassName,
|
|
26933
27008
|
descriptionClassName,
|
|
26934
27009
|
gridClassName,
|
|
26935
27010
|
cardClassName,
|
|
26936
27011
|
optixFlowConfig,
|
|
26937
27012
|
background,
|
|
26938
|
-
spacing,
|
|
26939
27013
|
pattern,
|
|
26940
27014
|
patternOpacity,
|
|
26941
27015
|
patternClassName
|
|
@@ -26949,7 +27023,7 @@ function FeatureImageCardsThreeColumn({
|
|
|
26949
27023
|
{
|
|
26950
27024
|
src: card.imageSrc,
|
|
26951
27025
|
alt: imageAlt,
|
|
26952
|
-
className: "h-full max-h-[450px] w-full rounded-xl object-cover object-center",
|
|
27026
|
+
className: "h-full max-h-[450px] min-h-80 w-full rounded-xl object-cover object-center",
|
|
26953
27027
|
loading: "lazy",
|
|
26954
27028
|
optixFlowConfig
|
|
26955
27029
|
}
|
|
@@ -26964,7 +27038,7 @@ function FeatureImageCardsThreeColumn({
|
|
|
26964
27038
|
}
|
|
26965
27039
|
if (card.icon) return card.icon;
|
|
26966
27040
|
if (!card.iconName) return null;
|
|
26967
|
-
return /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: card.iconName, size:
|
|
27041
|
+
return /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: card.iconName, size: 18 });
|
|
26968
27042
|
},
|
|
26969
27043
|
[]
|
|
26970
27044
|
);
|
|
@@ -26985,18 +27059,25 @@ function FeatureImageCardsThreeColumn({
|
|
|
26985
27059
|
),
|
|
26986
27060
|
children: [
|
|
26987
27061
|
renderImage(card, imageAlt),
|
|
26988
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-0 right-0 bottom-0 left-0 translate-y-20 rounded-xl bg-linear-to-t from-black to-transparent transition-transform duration-300 group-hover:translate-y-0" }),
|
|
27062
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute top-0 right-0 bottom-0 left-0 translate-y-0 md:translate-y-20 rounded-xl bg-linear-to-t from-black to-transparent transition-transform duration-300 group-hover:translate-y-0" }),
|
|
26989
27063
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "absolute top-0 flex h-full w-full flex-col justify-between p-4 md:p-6", children: [
|
|
26990
|
-
(card.badgeText || card.avatarSrc || card.icon || card.iconName) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
26991
|
-
|
|
26992
|
-
|
|
26993
|
-
|
|
26994
|
-
|
|
27064
|
+
(card.badgeText || card.avatarSrc || card.icon || card.iconName) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
27065
|
+
Badge,
|
|
27066
|
+
{
|
|
27067
|
+
variant: "default",
|
|
27068
|
+
className: cn("py-1 px-4", card.badgeClassName),
|
|
27069
|
+
children: [
|
|
27070
|
+
renderBadgeIcon(card),
|
|
27071
|
+
card.badgeText
|
|
27072
|
+
]
|
|
27073
|
+
}
|
|
27074
|
+
),
|
|
27075
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-2 md:gap-4", children: [
|
|
26995
27076
|
card.title && (typeof card.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
26996
27077
|
"h3",
|
|
26997
27078
|
{
|
|
26998
27079
|
className: cn(
|
|
26999
|
-
"text-
|
|
27080
|
+
"text-lg md:text-xl font-semibold",
|
|
27000
27081
|
card.titleClassName
|
|
27001
27082
|
),
|
|
27002
27083
|
children: card.title
|
|
@@ -27005,20 +27086,19 @@ function FeatureImageCardsThreeColumn({
|
|
|
27005
27086
|
"div",
|
|
27006
27087
|
{
|
|
27007
27088
|
className: cn(
|
|
27008
|
-
"text-
|
|
27089
|
+
"text-lg md:text-xl font-semibold",
|
|
27009
27090
|
card.titleClassName
|
|
27010
27091
|
),
|
|
27011
27092
|
children: card.title
|
|
27012
27093
|
}
|
|
27013
27094
|
)),
|
|
27014
27095
|
card.linkText && card.link && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
27015
|
-
|
|
27096
|
+
"div",
|
|
27016
27097
|
{
|
|
27017
27098
|
className: cn(
|
|
27018
|
-
"font-bold text-xs uppercase",
|
|
27099
|
+
"font-bold text-xs uppercase flex items-center gap-2",
|
|
27019
27100
|
card.linkClassName
|
|
27020
27101
|
),
|
|
27021
|
-
href: card.link,
|
|
27022
27102
|
children: [
|
|
27023
27103
|
card.linkText,
|
|
27024
27104
|
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/arrow-up-right", size: 18 })
|
|
@@ -27204,7 +27284,7 @@ function FeatureIconGridMuted({
|
|
|
27204
27284
|
"div",
|
|
27205
27285
|
{
|
|
27206
27286
|
className: cn(
|
|
27207
|
-
"mx-auto
|
|
27287
|
+
"mx-auto grid max-w-full md:max-w-7xl gap-4 md:gap-7 grid-cols-1 md:grid-cols-2 lg:grid-cols-3",
|
|
27208
27288
|
gridClassName
|
|
27209
27289
|
),
|
|
27210
27290
|
children: featuresContent
|
|
@@ -34537,7 +34617,8 @@ function CarouselScaleFocus({
|
|
|
34537
34617
|
indicatorClassName,
|
|
34538
34618
|
startIndex = 1,
|
|
34539
34619
|
background,
|
|
34540
|
-
|
|
34620
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
34621
|
+
spacing = "py-12 md:py-32",
|
|
34541
34622
|
pattern,
|
|
34542
34623
|
patternOpacity,
|
|
34543
34624
|
patternClassName,
|
|
@@ -34647,7 +34728,7 @@ function CarouselScaleFocus({
|
|
|
34647
34728
|
patternOpacity,
|
|
34648
34729
|
patternClassName,
|
|
34649
34730
|
className: cn("overflow-hidden", className),
|
|
34650
|
-
containerClassName
|
|
34731
|
+
containerClassName,
|
|
34651
34732
|
children: [
|
|
34652
34733
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "md:px-45", children: [
|
|
34653
34734
|
title || description ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 mb-6 md:mb-16 text-center", children: [
|