@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.js
CHANGED
|
@@ -23920,12 +23920,12 @@ function FeatureIconGridBordered({
|
|
|
23920
23920
|
features,
|
|
23921
23921
|
featuresSlot,
|
|
23922
23922
|
className,
|
|
23923
|
-
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
23924
23923
|
labelClassName,
|
|
23925
23924
|
titleClassName,
|
|
23926
23925
|
gridClassName,
|
|
23927
23926
|
cardClassName,
|
|
23928
23927
|
background,
|
|
23928
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
23929
23929
|
spacing = "py-12 md:py-32",
|
|
23930
23930
|
pattern,
|
|
23931
23931
|
patternOpacity,
|
|
@@ -23945,23 +23945,22 @@ function FeatureIconGridBordered({
|
|
|
23945
23945
|
"div",
|
|
23946
23946
|
{
|
|
23947
23947
|
className: cn(
|
|
23948
|
-
"relative flex gap-
|
|
23948
|
+
"relative flex h-full flex-col justify-between gap-6 rounded-none border-dashed px-3 md:border-l md:px-5",
|
|
23949
23949
|
cardClassName,
|
|
23950
23950
|
feature.className
|
|
23951
23951
|
),
|
|
23952
23952
|
children: [
|
|
23953
23953
|
(feature.icon || feature.iconName) && /* @__PURE__ */ jsx(
|
|
23954
|
-
"
|
|
23954
|
+
"div",
|
|
23955
23955
|
{
|
|
23956
23956
|
className: cn(
|
|
23957
|
-
"
|
|
23958
|
-
getAccentColor(background),
|
|
23957
|
+
"flex size-10 shrink-0 items-center justify-center rounded-lg md:size-12 text-accent-foreground bg-primary shadow-xl",
|
|
23959
23958
|
feature.iconClassName
|
|
23960
23959
|
),
|
|
23961
23960
|
children: renderIcon(feature)
|
|
23962
23961
|
}
|
|
23963
23962
|
),
|
|
23964
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
23963
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col justify-end gap-2", children: [
|
|
23965
23964
|
feature.title && (typeof feature.title === "string" ? /* @__PURE__ */ jsx(
|
|
23966
23965
|
Pressable,
|
|
23967
23966
|
{
|
|
@@ -24160,7 +24159,7 @@ function FeatureChecklistImage({
|
|
|
24160
24159
|
patternOpacity,
|
|
24161
24160
|
patternClassName,
|
|
24162
24161
|
className,
|
|
24163
|
-
containerClassName
|
|
24162
|
+
containerClassName,
|
|
24164
24163
|
children: /* @__PURE__ */ jsxs(
|
|
24165
24164
|
"div",
|
|
24166
24165
|
{
|
|
@@ -24174,7 +24173,7 @@ function FeatureChecklistImage({
|
|
|
24174
24173
|
"div",
|
|
24175
24174
|
{
|
|
24176
24175
|
className: cn(
|
|
24177
|
-
"px-
|
|
24176
|
+
"px-0 md:px-6 lg:px-10 py-4 md:py-0 flex flex-col gap-6 md:gap-10",
|
|
24178
24177
|
contentClassName
|
|
24179
24178
|
),
|
|
24180
24179
|
children: [
|
|
@@ -24197,12 +24196,12 @@ function FeatureChecklistImage({
|
|
|
24197
24196
|
children: title
|
|
24198
24197
|
}
|
|
24199
24198
|
)),
|
|
24200
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("
|
|
24199
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("relative", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: cn("relative", descriptionClassName), children: description })),
|
|
24201
24200
|
actionsContent && /* @__PURE__ */ jsx(
|
|
24202
24201
|
"div",
|
|
24203
24202
|
{
|
|
24204
24203
|
className: cn(
|
|
24205
|
-
"flex flex-wrap items-center gap-4
|
|
24204
|
+
"flex flex-wrap items-center gap-4",
|
|
24206
24205
|
actionsClassName
|
|
24207
24206
|
),
|
|
24208
24207
|
children: actionsContent
|
|
@@ -24212,7 +24211,7 @@ function FeatureChecklistImage({
|
|
|
24212
24211
|
"ul",
|
|
24213
24212
|
{
|
|
24214
24213
|
className: cn(
|
|
24215
|
-
"
|
|
24214
|
+
"flex-wrap items-center space-y-2 md:flex",
|
|
24216
24215
|
checklistClassName
|
|
24217
24216
|
),
|
|
24218
24217
|
children: checklistContent
|
|
@@ -24712,7 +24711,7 @@ function FeatureNumberedCards({
|
|
|
24712
24711
|
[]
|
|
24713
24712
|
);
|
|
24714
24713
|
const cardImg = useCallback((feature) => {
|
|
24715
|
-
if (!feature.image
|
|
24714
|
+
if (!feature.image && !feature.imageSlot) return null;
|
|
24716
24715
|
if (feature.imageSlot) return feature.imageSlot;
|
|
24717
24716
|
const imageAlt = feature.imageAlt || (typeof feature.title === "string" ? feature.title : "Feature image");
|
|
24718
24717
|
return /* @__PURE__ */ 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__ */ jsx(
|
|
@@ -24899,7 +24898,7 @@ function FeatureIconGridAccent({
|
|
|
24899
24898
|
features,
|
|
24900
24899
|
featuresSlot,
|
|
24901
24900
|
className,
|
|
24902
|
-
containerClassName,
|
|
24901
|
+
containerClassName = "px-6 sm:px-6 md:px-6 lg:px-8",
|
|
24903
24902
|
headerClassName,
|
|
24904
24903
|
labelClassName,
|
|
24905
24904
|
titleClassName,
|
|
@@ -24907,7 +24906,7 @@ function FeatureIconGridAccent({
|
|
|
24907
24906
|
gridClassName,
|
|
24908
24907
|
cardClassName,
|
|
24909
24908
|
background,
|
|
24910
|
-
spacing,
|
|
24909
|
+
spacing = "py-6 md:py-32",
|
|
24911
24910
|
pattern,
|
|
24912
24911
|
patternOpacity,
|
|
24913
24912
|
patternClassName
|
|
@@ -24946,7 +24945,7 @@ function FeatureIconGridAccent({
|
|
|
24946
24945
|
);
|
|
24947
24946
|
});
|
|
24948
24947
|
}, [featuresSlot, features, cardClassName, background]);
|
|
24949
|
-
return /* @__PURE__ */
|
|
24948
|
+
return /* @__PURE__ */ jsx(
|
|
24950
24949
|
Section,
|
|
24951
24950
|
{
|
|
24952
24951
|
background,
|
|
@@ -24956,7 +24955,7 @@ function FeatureIconGridAccent({
|
|
|
24956
24955
|
patternClassName,
|
|
24957
24956
|
className,
|
|
24958
24957
|
containerClassName,
|
|
24959
|
-
children: [
|
|
24958
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
|
|
24960
24959
|
(label || title || description) && /* @__PURE__ */ jsx(
|
|
24961
24960
|
"div",
|
|
24962
24961
|
{
|
|
@@ -24990,13 +24989,13 @@ function FeatureIconGridAccent({
|
|
|
24990
24989
|
"div",
|
|
24991
24990
|
{
|
|
24992
24991
|
className: cn(
|
|
24993
|
-
"mx-auto
|
|
24992
|
+
"mx-auto grid max-w-5xl gap-6 md:grid-cols-2",
|
|
24994
24993
|
gridClassName
|
|
24995
24994
|
),
|
|
24996
24995
|
children: featuresContent
|
|
24997
24996
|
}
|
|
24998
24997
|
)
|
|
24999
|
-
]
|
|
24998
|
+
] })
|
|
25000
24999
|
}
|
|
25001
25000
|
);
|
|
25002
25001
|
}
|
|
@@ -25032,38 +25031,48 @@ function FeatureThreeColumnValues({
|
|
|
25032
25031
|
return values.map((value, index) => /* @__PURE__ */ jsxs(
|
|
25033
25032
|
"div",
|
|
25034
25033
|
{
|
|
25035
|
-
className: cn(
|
|
25034
|
+
className: cn(
|
|
25035
|
+
"relative flex h-full flex-col justify-between gap-6 rounded-lg p-5 bg-card text-card-foreground shadow-lg border",
|
|
25036
|
+
cardClassName,
|
|
25037
|
+
value.className
|
|
25038
|
+
),
|
|
25036
25039
|
children: [
|
|
25037
25040
|
(value.icon || value.iconName) && /* @__PURE__ */ jsx(
|
|
25038
|
-
"
|
|
25041
|
+
"div",
|
|
25039
25042
|
{
|
|
25040
25043
|
className: cn(
|
|
25041
|
-
"
|
|
25044
|
+
"flex size-fit p-3 items-center justify-center rounded-full border",
|
|
25042
25045
|
value.iconClassName
|
|
25043
25046
|
),
|
|
25044
25047
|
children: renderValueIcon(value)
|
|
25045
25048
|
}
|
|
25046
25049
|
),
|
|
25047
|
-
|
|
25048
|
-
"
|
|
25049
|
-
|
|
25050
|
-
|
|
25051
|
-
|
|
25052
|
-
|
|
25053
|
-
|
|
25054
|
-
|
|
25055
|
-
|
|
25056
|
-
|
|
25057
|
-
|
|
25058
|
-
|
|
25059
|
-
|
|
25060
|
-
|
|
25050
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col justify-end gap-2", children: [
|
|
25051
|
+
value.title && (typeof value.title === "string" ? /* @__PURE__ */ jsx(
|
|
25052
|
+
Pressable,
|
|
25053
|
+
{
|
|
25054
|
+
href: value.href,
|
|
25055
|
+
className: cn(
|
|
25056
|
+
"font-medium md:mb-2 text-xl",
|
|
25057
|
+
value.titleClassName
|
|
25058
|
+
),
|
|
25059
|
+
children: value.title
|
|
25060
|
+
}
|
|
25061
|
+
) : /* @__PURE__ */ jsx(
|
|
25062
|
+
"div",
|
|
25063
|
+
{
|
|
25064
|
+
className: cn("mb-2 text-xl font-medium", value.titleClassName),
|
|
25065
|
+
children: value.title
|
|
25066
|
+
}
|
|
25067
|
+
)),
|
|
25068
|
+
value.description && (typeof value.description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("leading-7 ", value.descriptionClassName), children: value.description }) : /* @__PURE__ */ jsx("div", { className: cn("leading-7", value.descriptionClassName), children: value.description }))
|
|
25069
|
+
] })
|
|
25061
25070
|
]
|
|
25062
25071
|
},
|
|
25063
25072
|
index
|
|
25064
25073
|
));
|
|
25065
25074
|
}, [valuesSlot, values, cardClassName, renderValueIcon]);
|
|
25066
|
-
return /* @__PURE__ */
|
|
25075
|
+
return /* @__PURE__ */ jsx(
|
|
25067
25076
|
Section,
|
|
25068
25077
|
{
|
|
25069
25078
|
background,
|
|
@@ -25073,32 +25082,40 @@ function FeatureThreeColumnValues({
|
|
|
25073
25082
|
patternClassName,
|
|
25074
25083
|
className,
|
|
25075
25084
|
containerClassName,
|
|
25076
|
-
children: [
|
|
25077
|
-
label
|
|
25078
|
-
|
|
25079
|
-
"
|
|
25080
|
-
|
|
25081
|
-
|
|
25082
|
-
|
|
25083
|
-
|
|
25084
|
-
|
|
25085
|
-
|
|
25086
|
-
|
|
25087
|
-
|
|
25088
|
-
|
|
25089
|
-
|
|
25090
|
-
|
|
25085
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
|
|
25086
|
+
label || title ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col space-y-4", children: [
|
|
25087
|
+
label && (typeof label === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-sm", labelClassName), children: label }) : /* @__PURE__ */ jsx("div", { className: cn("text-sm", labelClassName), children: label })),
|
|
25088
|
+
title && (typeof title === "string" ? /* @__PURE__ */ jsx(
|
|
25089
|
+
"h2",
|
|
25090
|
+
{
|
|
25091
|
+
className: cn(
|
|
25092
|
+
"text-3xl font-medium lg:text-4xl",
|
|
25093
|
+
titleClassName
|
|
25094
|
+
),
|
|
25095
|
+
children: title
|
|
25096
|
+
}
|
|
25097
|
+
) : /* @__PURE__ */ jsx(
|
|
25098
|
+
"div",
|
|
25099
|
+
{
|
|
25100
|
+
className: cn(
|
|
25101
|
+
"text-3xl font-medium lg:text-4xl",
|
|
25102
|
+
titleClassName
|
|
25103
|
+
),
|
|
25104
|
+
children: title
|
|
25105
|
+
}
|
|
25106
|
+
))
|
|
25107
|
+
] }) : null,
|
|
25091
25108
|
(valuesSlot || values && values.length > 0) && /* @__PURE__ */ jsx(
|
|
25092
25109
|
"div",
|
|
25093
25110
|
{
|
|
25094
25111
|
className: cn(
|
|
25095
|
-
"
|
|
25112
|
+
"grid gap-6 grid-cols-1 md:grid-cols-3",
|
|
25096
25113
|
gridClassName
|
|
25097
25114
|
),
|
|
25098
25115
|
children: valuesContent
|
|
25099
25116
|
}
|
|
25100
25117
|
)
|
|
25101
|
-
]
|
|
25118
|
+
] })
|
|
25102
25119
|
}
|
|
25103
25120
|
);
|
|
25104
25121
|
}
|
|
@@ -25111,7 +25128,8 @@ function FeatureBadgeGridSix({
|
|
|
25111
25128
|
action,
|
|
25112
25129
|
actionSlot,
|
|
25113
25130
|
className,
|
|
25114
|
-
containerClassName,
|
|
25131
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
25132
|
+
spacing = "py-12 md:py-32",
|
|
25115
25133
|
headerClassName,
|
|
25116
25134
|
badgeClassName,
|
|
25117
25135
|
titleClassName,
|
|
@@ -25119,7 +25137,6 @@ function FeatureBadgeGridSix({
|
|
|
25119
25137
|
cardClassName,
|
|
25120
25138
|
actionContainerClassName,
|
|
25121
25139
|
background,
|
|
25122
|
-
spacing,
|
|
25123
25140
|
pattern,
|
|
25124
25141
|
patternOpacity,
|
|
25125
25142
|
patternClassName
|
|
@@ -25151,12 +25168,54 @@ function FeatureBadgeGridSix({
|
|
|
25151
25168
|
return /* @__PURE__ */ jsxs(
|
|
25152
25169
|
"div",
|
|
25153
25170
|
{
|
|
25154
|
-
className: cn(
|
|
25171
|
+
className: cn(
|
|
25172
|
+
"flex gap-6 space-y-4 rounded-lg md:block",
|
|
25173
|
+
cardClassName,
|
|
25174
|
+
feature.className
|
|
25175
|
+
),
|
|
25155
25176
|
children: [
|
|
25156
|
-
iconContent && /* @__PURE__ */ jsx("span", { className: "flex size-10 shrink-0 items-center justify-center rounded-
|
|
25177
|
+
iconContent && /* @__PURE__ */ 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 }),
|
|
25157
25178
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
25158
|
-
feature.heading && (typeof feature.heading === "string" ? /* @__PURE__ */ jsx(
|
|
25159
|
-
|
|
25179
|
+
feature.heading && (typeof feature.heading === "string" ? /* @__PURE__ */ jsx(
|
|
25180
|
+
"h3",
|
|
25181
|
+
{
|
|
25182
|
+
className: cn(
|
|
25183
|
+
"font-medium md:mb-2 md:text-xl",
|
|
25184
|
+
feature.headingClassName
|
|
25185
|
+
),
|
|
25186
|
+
children: feature.heading
|
|
25187
|
+
}
|
|
25188
|
+
) : /* @__PURE__ */ jsx(
|
|
25189
|
+
"div",
|
|
25190
|
+
{
|
|
25191
|
+
className: cn(
|
|
25192
|
+
"font-medium md:mb-2 md:text-xl",
|
|
25193
|
+
feature.headingClassName
|
|
25194
|
+
),
|
|
25195
|
+
children: feature.heading
|
|
25196
|
+
}
|
|
25197
|
+
)),
|
|
25198
|
+
feature.description && (typeof feature.description === "string" ? /* @__PURE__ */ jsx(
|
|
25199
|
+
"p",
|
|
25200
|
+
{
|
|
25201
|
+
className: cn(
|
|
25202
|
+
"text-sm md:text-base",
|
|
25203
|
+
getTextColor(background, "muted"),
|
|
25204
|
+
feature.descriptionClassName
|
|
25205
|
+
),
|
|
25206
|
+
children: feature.description
|
|
25207
|
+
}
|
|
25208
|
+
) : /* @__PURE__ */ jsx(
|
|
25209
|
+
"div",
|
|
25210
|
+
{
|
|
25211
|
+
className: cn(
|
|
25212
|
+
"text-sm md:text-base",
|
|
25213
|
+
getTextColor(background, "muted"),
|
|
25214
|
+
feature.descriptionClassName
|
|
25215
|
+
),
|
|
25216
|
+
children: feature.description
|
|
25217
|
+
}
|
|
25218
|
+
))
|
|
25160
25219
|
] })
|
|
25161
25220
|
]
|
|
25162
25221
|
},
|
|
@@ -25200,7 +25259,7 @@ function FeatureBadgeGridSix({
|
|
|
25200
25259
|
}
|
|
25201
25260
|
);
|
|
25202
25261
|
}, [actionSlot, action]);
|
|
25203
|
-
return /* @__PURE__ */
|
|
25262
|
+
return /* @__PURE__ */ jsx(
|
|
25204
25263
|
Section,
|
|
25205
25264
|
{
|
|
25206
25265
|
background,
|
|
@@ -25210,14 +25269,47 @@ function FeatureBadgeGridSix({
|
|
|
25210
25269
|
patternClassName,
|
|
25211
25270
|
className,
|
|
25212
25271
|
containerClassName,
|
|
25213
|
-
children: [
|
|
25214
|
-
(label || badgeSlot || title) && /* @__PURE__ */ jsxs("div", { className: cn("
|
|
25272
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
|
|
25273
|
+
(label || badgeSlot || title) && /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-4", headerClassName), children: [
|
|
25215
25274
|
badgeContent,
|
|
25216
|
-
title && (typeof title === "string" ? /* @__PURE__ */ jsx(
|
|
25275
|
+
title && (typeof title === "string" ? /* @__PURE__ */ jsx(
|
|
25276
|
+
"h2",
|
|
25277
|
+
{
|
|
25278
|
+
className: cn(
|
|
25279
|
+
"text-2xl font-bold md:text-3xl lg:text-4xl",
|
|
25280
|
+
titleClassName
|
|
25281
|
+
),
|
|
25282
|
+
children: title
|
|
25283
|
+
}
|
|
25284
|
+
) : /* @__PURE__ */ jsx(
|
|
25285
|
+
"div",
|
|
25286
|
+
{
|
|
25287
|
+
className: cn(
|
|
25288
|
+
"text-2xl font-bold md:text-3xl lg:text-4xl",
|
|
25289
|
+
titleClassName
|
|
25290
|
+
),
|
|
25291
|
+
children: title
|
|
25292
|
+
}
|
|
25293
|
+
))
|
|
25217
25294
|
] }),
|
|
25218
|
-
/* @__PURE__ */ jsx(
|
|
25219
|
-
|
|
25220
|
-
|
|
25295
|
+
/* @__PURE__ */ jsx(
|
|
25296
|
+
"div",
|
|
25297
|
+
{
|
|
25298
|
+
className: cn(
|
|
25299
|
+
"grid gap-6 md:gap-12 grid-cols-1 md:grid-cols-2",
|
|
25300
|
+
gridClassName
|
|
25301
|
+
),
|
|
25302
|
+
children: featuresContent
|
|
25303
|
+
}
|
|
25304
|
+
),
|
|
25305
|
+
(action || actionSlot) && /* @__PURE__ */ jsx(
|
|
25306
|
+
"div",
|
|
25307
|
+
{
|
|
25308
|
+
className: cn("mt-8 flex justify-center", actionContainerClassName),
|
|
25309
|
+
children: actionContent
|
|
25310
|
+
}
|
|
25311
|
+
)
|
|
25312
|
+
] })
|
|
25221
25313
|
}
|
|
25222
25314
|
);
|
|
25223
25315
|
}
|
|
@@ -25296,7 +25388,6 @@ function FeatureTabbedContentImage({
|
|
|
25296
25388
|
slidesSlot,
|
|
25297
25389
|
defaultTab,
|
|
25298
25390
|
className,
|
|
25299
|
-
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
25300
25391
|
headerClassName,
|
|
25301
25392
|
titleClassName,
|
|
25302
25393
|
descriptionClassName,
|
|
@@ -25308,6 +25399,7 @@ function FeatureTabbedContentImage({
|
|
|
25308
25399
|
contentGridClassName,
|
|
25309
25400
|
optixFlowConfig,
|
|
25310
25401
|
background,
|
|
25402
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
25311
25403
|
spacing = "py-6 md:py-32",
|
|
25312
25404
|
pattern,
|
|
25313
25405
|
patternOpacity,
|
|
@@ -26052,7 +26144,7 @@ function FeatureIconTabsContent({
|
|
|
26052
26144
|
tabsSlot,
|
|
26053
26145
|
defaultTab,
|
|
26054
26146
|
className,
|
|
26055
|
-
containerClassName,
|
|
26147
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
26056
26148
|
headerClassName,
|
|
26057
26149
|
badgeClassName,
|
|
26058
26150
|
headingClassName,
|
|
@@ -26143,11 +26235,11 @@ function FeatureIconTabsContent({
|
|
|
26143
26235
|
if (!tabs || tabs.length === 0) return null;
|
|
26144
26236
|
const activeDefaultTab = defaultTab || tabs[0]?.value;
|
|
26145
26237
|
return /* @__PURE__ */ jsxs(Tabs, { defaultValue: activeDefaultTab, className: "mt-8", children: [
|
|
26146
|
-
/* @__PURE__ */ jsx("div", { className: "container overflow-x-auto px-4 pb-2 md:px-6", children: /* @__PURE__ */ jsx(
|
|
26238
|
+
/* @__PURE__ */ 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__ */ jsx(
|
|
26147
26239
|
TabsList,
|
|
26148
26240
|
{
|
|
26149
26241
|
className: cn(
|
|
26150
|
-
"inline-flex w-auto
|
|
26242
|
+
"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!",
|
|
26151
26243
|
tabsListClassName
|
|
26152
26244
|
),
|
|
26153
26245
|
children: tabs.map((tab) => /* @__PURE__ */ jsxs(
|
|
@@ -26155,7 +26247,7 @@ function FeatureIconTabsContent({
|
|
|
26155
26247
|
{
|
|
26156
26248
|
value: tab.value,
|
|
26157
26249
|
className: cn(
|
|
26158
|
-
"flex
|
|
26250
|
+
"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",
|
|
26159
26251
|
`data-[state=active]:${getBorderColor(background, "accent")}`,
|
|
26160
26252
|
tabTriggerClassName,
|
|
26161
26253
|
tab.className
|
|
@@ -26169,99 +26261,87 @@ function FeatureIconTabsContent({
|
|
|
26169
26261
|
))
|
|
26170
26262
|
}
|
|
26171
26263
|
) }),
|
|
26172
|
-
/* @__PURE__ */ jsx(
|
|
26173
|
-
|
|
26174
|
-
|
|
26175
|
-
|
|
26176
|
-
|
|
26177
|
-
|
|
26178
|
-
|
|
26179
|
-
|
|
26180
|
-
|
|
26181
|
-
|
|
26182
|
-
|
|
26183
|
-
|
|
26184
|
-
|
|
26185
|
-
|
|
26186
|
-
|
|
26187
|
-
|
|
26188
|
-
|
|
26189
|
-
|
|
26190
|
-
|
|
26191
|
-
|
|
26192
|
-
|
|
26193
|
-
|
|
26194
|
-
|
|
26195
|
-
|
|
26196
|
-
|
|
26197
|
-
|
|
26198
|
-
|
|
26199
|
-
|
|
26200
|
-
|
|
26264
|
+
/* @__PURE__ */ jsx("div", { className: cn("py-6 lg:py-16", contentWrapperClassName), children: /* @__PURE__ */ jsx("div", { className: "relative", children: tabs.map((tab) => {
|
|
26265
|
+
if (tab.contentSlot) {
|
|
26266
|
+
return /* @__PURE__ */ jsx(
|
|
26267
|
+
TabsContent,
|
|
26268
|
+
{
|
|
26269
|
+
value: tab.value,
|
|
26270
|
+
className: tabContentClassName,
|
|
26271
|
+
children: tab.contentSlot
|
|
26272
|
+
},
|
|
26273
|
+
tab.value
|
|
26274
|
+
);
|
|
26275
|
+
}
|
|
26276
|
+
const content = tab.content;
|
|
26277
|
+
if (!content) return null;
|
|
26278
|
+
return /* @__PURE__ */ jsxs(
|
|
26279
|
+
TabsContent,
|
|
26280
|
+
{
|
|
26281
|
+
value: tab.value,
|
|
26282
|
+
className: cn(
|
|
26283
|
+
"grid place-items-start gap-20 lg:grid-cols-2 lg:gap-10",
|
|
26284
|
+
tabContentClassName,
|
|
26285
|
+
content.className
|
|
26286
|
+
),
|
|
26287
|
+
children: [
|
|
26288
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-5", children: [
|
|
26289
|
+
content.badge && /* @__PURE__ */ jsx(
|
|
26290
|
+
Badge,
|
|
26291
|
+
{
|
|
26292
|
+
variant: "outline",
|
|
26293
|
+
className: cn("w-fit", content.badgeClassName),
|
|
26294
|
+
children: content.badge
|
|
26295
|
+
}
|
|
26201
26296
|
),
|
|
26202
|
-
|
|
26203
|
-
|
|
26204
|
-
|
|
26205
|
-
|
|
26206
|
-
|
|
26207
|
-
|
|
26208
|
-
className: cn(
|
|
26209
|
-
"w-fit",
|
|
26210
|
-
content.badgeClassName
|
|
26211
|
-
),
|
|
26212
|
-
children: content.badge
|
|
26213
|
-
}
|
|
26297
|
+
content.title && (typeof content.title === "string" ? /* @__PURE__ */ jsx(
|
|
26298
|
+
"h3",
|
|
26299
|
+
{
|
|
26300
|
+
className: cn(
|
|
26301
|
+
"text-3xl font-semibold lg:text-5xl",
|
|
26302
|
+
content.titleClassName
|
|
26214
26303
|
),
|
|
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
|
-
|
|
26241
|
-
|
|
26242
|
-
|
|
26243
|
-
|
|
26244
|
-
)
|
|
26245
|
-
|
|
26246
|
-
|
|
26247
|
-
|
|
26248
|
-
|
|
26249
|
-
|
|
26250
|
-
|
|
26251
|
-
|
|
26252
|
-
|
|
26253
|
-
|
|
26254
|
-
|
|
26255
|
-
|
|
26256
|
-
] }),
|
|
26257
|
-
(content.imageSlot || content.imageSrc) && /* @__PURE__ */ jsx("div", { className: "relative h-[300px] w-full lg:h-[400px]", children: renderTabContentImage(content) })
|
|
26258
|
-
]
|
|
26259
|
-
},
|
|
26260
|
-
tab.value
|
|
26261
|
-
);
|
|
26262
|
-
}) })
|
|
26263
|
-
}
|
|
26264
|
-
)
|
|
26304
|
+
children: content.title
|
|
26305
|
+
}
|
|
26306
|
+
) : /* @__PURE__ */ jsx(
|
|
26307
|
+
"div",
|
|
26308
|
+
{
|
|
26309
|
+
className: cn(
|
|
26310
|
+
"text-3xl font-semibold lg:text-5xl",
|
|
26311
|
+
content.titleClassName
|
|
26312
|
+
),
|
|
26313
|
+
children: content.title
|
|
26314
|
+
}
|
|
26315
|
+
)),
|
|
26316
|
+
content.description && (typeof content.description === "string" ? /* @__PURE__ */ jsx(
|
|
26317
|
+
"p",
|
|
26318
|
+
{
|
|
26319
|
+
className: cn(
|
|
26320
|
+
"lg:text-lg",
|
|
26321
|
+
getTextColor(background, "muted"),
|
|
26322
|
+
content.descriptionClassName
|
|
26323
|
+
),
|
|
26324
|
+
children: content.description
|
|
26325
|
+
}
|
|
26326
|
+
) : /* @__PURE__ */ jsx(
|
|
26327
|
+
"div",
|
|
26328
|
+
{
|
|
26329
|
+
className: cn(
|
|
26330
|
+
"lg:text-lg",
|
|
26331
|
+
getTextColor(background, "muted"),
|
|
26332
|
+
content.descriptionClassName
|
|
26333
|
+
),
|
|
26334
|
+
children: content.description
|
|
26335
|
+
}
|
|
26336
|
+
)),
|
|
26337
|
+
(content.actionsSlot || content.actions && content.actions.length > 0) && renderTabContentActions(content)
|
|
26338
|
+
] }),
|
|
26339
|
+
(content.imageSlot || content.imageSrc) && /* @__PURE__ */ jsx("div", { className: "relative h-[300px] w-full lg:h-[400px]", children: renderTabContentImage(content) })
|
|
26340
|
+
]
|
|
26341
|
+
},
|
|
26342
|
+
tab.value
|
|
26343
|
+
);
|
|
26344
|
+
}) }) })
|
|
26265
26345
|
] });
|
|
26266
26346
|
}, [
|
|
26267
26347
|
tabsSlot,
|
|
@@ -26275,7 +26355,7 @@ function FeatureIconTabsContent({
|
|
|
26275
26355
|
renderTabContentActions,
|
|
26276
26356
|
renderTabContentImage
|
|
26277
26357
|
]);
|
|
26278
|
-
return /* @__PURE__ */
|
|
26358
|
+
return /* @__PURE__ */ jsx(
|
|
26279
26359
|
Section,
|
|
26280
26360
|
{
|
|
26281
26361
|
background,
|
|
@@ -26284,8 +26364,8 @@ function FeatureIconTabsContent({
|
|
|
26284
26364
|
patternOpacity,
|
|
26285
26365
|
patternClassName,
|
|
26286
26366
|
className,
|
|
26287
|
-
containerClassName
|
|
26288
|
-
children: [
|
|
26367
|
+
containerClassName,
|
|
26368
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
|
|
26289
26369
|
(badge || heading || description) && /* @__PURE__ */ jsxs(
|
|
26290
26370
|
"div",
|
|
26291
26371
|
{
|
|
@@ -26299,7 +26379,7 @@ function FeatureIconTabsContent({
|
|
|
26299
26379
|
"h1",
|
|
26300
26380
|
{
|
|
26301
26381
|
className: cn(
|
|
26302
|
-
"max-w-2xl text-3xl font-semibold md:text-4xl",
|
|
26382
|
+
"max-w-2xl text-3xl font-semibold md:text-4xl text-balance",
|
|
26303
26383
|
headingClassName
|
|
26304
26384
|
),
|
|
26305
26385
|
children: heading
|
|
@@ -26308,24 +26388,18 @@ function FeatureIconTabsContent({
|
|
|
26308
26388
|
"div",
|
|
26309
26389
|
{
|
|
26310
26390
|
className: cn(
|
|
26311
|
-
"max-w-2xl text-3xl font-semibold md:text-4xl",
|
|
26391
|
+
"max-w-2xl text-3xl font-semibold md:text-4xl text-balance",
|
|
26312
26392
|
headingClassName
|
|
26313
26393
|
),
|
|
26314
26394
|
children: heading
|
|
26315
26395
|
}
|
|
26316
26396
|
)),
|
|
26317
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn(
|
|
26318
|
-
"div",
|
|
26319
|
-
{
|
|
26320
|
-
className: cn(getTextColor(background, "muted"), descriptionClassName),
|
|
26321
|
-
children: description
|
|
26322
|
-
}
|
|
26323
|
-
))
|
|
26397
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-balance", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: cn("text-balance", descriptionClassName), children: description }))
|
|
26324
26398
|
]
|
|
26325
26399
|
}
|
|
26326
26400
|
),
|
|
26327
26401
|
tabsContent
|
|
26328
|
-
]
|
|
26402
|
+
] })
|
|
26329
26403
|
}
|
|
26330
26404
|
);
|
|
26331
26405
|
}
|
|
@@ -26593,7 +26667,6 @@ function FeatureCategoryImageCards({
|
|
|
26593
26667
|
features,
|
|
26594
26668
|
featuresSlot,
|
|
26595
26669
|
className,
|
|
26596
|
-
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
26597
26670
|
headerClassName,
|
|
26598
26671
|
badgeClassName,
|
|
26599
26672
|
titleClassName,
|
|
@@ -26602,6 +26675,7 @@ function FeatureCategoryImageCards({
|
|
|
26602
26675
|
cardClassName,
|
|
26603
26676
|
optixFlowConfig,
|
|
26604
26677
|
background,
|
|
26678
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
26605
26679
|
spacing = "py-12 md:py-32",
|
|
26606
26680
|
pattern,
|
|
26607
26681
|
patternOpacity,
|
|
@@ -26888,14 +26962,14 @@ function FeatureImageCardsThreeColumn({
|
|
|
26888
26962
|
cards,
|
|
26889
26963
|
cardsSlot,
|
|
26890
26964
|
className,
|
|
26891
|
-
containerClassName,
|
|
26965
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
26966
|
+
spacing = "py-6 md:py-32",
|
|
26892
26967
|
titleClassName,
|
|
26893
26968
|
descriptionClassName,
|
|
26894
26969
|
gridClassName,
|
|
26895
26970
|
cardClassName,
|
|
26896
26971
|
optixFlowConfig,
|
|
26897
26972
|
background,
|
|
26898
|
-
spacing,
|
|
26899
26973
|
pattern,
|
|
26900
26974
|
patternOpacity,
|
|
26901
26975
|
patternClassName
|
|
@@ -26909,7 +26983,7 @@ function FeatureImageCardsThreeColumn({
|
|
|
26909
26983
|
{
|
|
26910
26984
|
src: card.imageSrc,
|
|
26911
26985
|
alt: imageAlt,
|
|
26912
|
-
className: "h-full max-h-[450px] w-full rounded-xl object-cover object-center",
|
|
26986
|
+
className: "h-full max-h-[450px] min-h-80 w-full rounded-xl object-cover object-center",
|
|
26913
26987
|
loading: "lazy",
|
|
26914
26988
|
optixFlowConfig
|
|
26915
26989
|
}
|
|
@@ -26924,7 +26998,7 @@ function FeatureImageCardsThreeColumn({
|
|
|
26924
26998
|
}
|
|
26925
26999
|
if (card.icon) return card.icon;
|
|
26926
27000
|
if (!card.iconName) return null;
|
|
26927
|
-
return /* @__PURE__ */ jsx(DynamicIcon, { name: card.iconName, size:
|
|
27001
|
+
return /* @__PURE__ */ jsx(DynamicIcon, { name: card.iconName, size: 18 });
|
|
26928
27002
|
},
|
|
26929
27003
|
[]
|
|
26930
27004
|
);
|
|
@@ -26945,18 +27019,25 @@ function FeatureImageCardsThreeColumn({
|
|
|
26945
27019
|
),
|
|
26946
27020
|
children: [
|
|
26947
27021
|
renderImage(card, imageAlt),
|
|
26948
|
-
/* @__PURE__ */ 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" }),
|
|
27022
|
+
/* @__PURE__ */ 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" }),
|
|
26949
27023
|
/* @__PURE__ */ jsxs("div", { className: "absolute top-0 flex h-full w-full flex-col justify-between p-4 md:p-6", children: [
|
|
26950
|
-
(card.badgeText || card.avatarSrc || card.icon || card.iconName) && /* @__PURE__ */ jsxs(
|
|
26951
|
-
|
|
26952
|
-
|
|
26953
|
-
|
|
26954
|
-
|
|
27024
|
+
(card.badgeText || card.avatarSrc || card.icon || card.iconName) && /* @__PURE__ */ jsxs(
|
|
27025
|
+
Badge,
|
|
27026
|
+
{
|
|
27027
|
+
variant: "default",
|
|
27028
|
+
className: cn("py-1 px-4", card.badgeClassName),
|
|
27029
|
+
children: [
|
|
27030
|
+
renderBadgeIcon(card),
|
|
27031
|
+
card.badgeText
|
|
27032
|
+
]
|
|
27033
|
+
}
|
|
27034
|
+
),
|
|
27035
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 md:gap-4", children: [
|
|
26955
27036
|
card.title && (typeof card.title === "string" ? /* @__PURE__ */ jsx(
|
|
26956
27037
|
"h3",
|
|
26957
27038
|
{
|
|
26958
27039
|
className: cn(
|
|
26959
|
-
"text-
|
|
27040
|
+
"text-lg md:text-xl font-semibold",
|
|
26960
27041
|
card.titleClassName
|
|
26961
27042
|
),
|
|
26962
27043
|
children: card.title
|
|
@@ -26965,20 +27046,19 @@ function FeatureImageCardsThreeColumn({
|
|
|
26965
27046
|
"div",
|
|
26966
27047
|
{
|
|
26967
27048
|
className: cn(
|
|
26968
|
-
"text-
|
|
27049
|
+
"text-lg md:text-xl font-semibold",
|
|
26969
27050
|
card.titleClassName
|
|
26970
27051
|
),
|
|
26971
27052
|
children: card.title
|
|
26972
27053
|
}
|
|
26973
27054
|
)),
|
|
26974
27055
|
card.linkText && card.link && /* @__PURE__ */ jsxs(
|
|
26975
|
-
|
|
27056
|
+
"div",
|
|
26976
27057
|
{
|
|
26977
27058
|
className: cn(
|
|
26978
|
-
"font-bold text-xs uppercase",
|
|
27059
|
+
"font-bold text-xs uppercase flex items-center gap-2",
|
|
26979
27060
|
card.linkClassName
|
|
26980
27061
|
),
|
|
26981
|
-
href: card.link,
|
|
26982
27062
|
children: [
|
|
26983
27063
|
card.linkText,
|
|
26984
27064
|
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-up-right", size: 18 })
|
|
@@ -27164,7 +27244,7 @@ function FeatureIconGridMuted({
|
|
|
27164
27244
|
"div",
|
|
27165
27245
|
{
|
|
27166
27246
|
className: cn(
|
|
27167
|
-
"mx-auto
|
|
27247
|
+
"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",
|
|
27168
27248
|
gridClassName
|
|
27169
27249
|
),
|
|
27170
27250
|
children: featuresContent
|
|
@@ -34497,7 +34577,8 @@ function CarouselScaleFocus({
|
|
|
34497
34577
|
indicatorClassName,
|
|
34498
34578
|
startIndex = 1,
|
|
34499
34579
|
background,
|
|
34500
|
-
|
|
34580
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
34581
|
+
spacing = "py-12 md:py-32",
|
|
34501
34582
|
pattern,
|
|
34502
34583
|
patternOpacity,
|
|
34503
34584
|
patternClassName,
|
|
@@ -34607,7 +34688,7 @@ function CarouselScaleFocus({
|
|
|
34607
34688
|
patternOpacity,
|
|
34608
34689
|
patternClassName,
|
|
34609
34690
|
className: cn("overflow-hidden", className),
|
|
34610
|
-
containerClassName
|
|
34691
|
+
containerClassName,
|
|
34611
34692
|
children: [
|
|
34612
34693
|
/* @__PURE__ */ jsxs("div", { className: "md:px-45", children: [
|
|
34613
34694
|
title || description ? /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-4 mb-6 md:mb-16 text-center", children: [
|