@opensite/ui 1.2.9 → 1.3.1
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-capabilities-grid.cjs +5 -6
- package/dist/feature-capabilities-grid.js +5 -6
- 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 +91 -109
- package/dist/feature-icon-tabs-content.js +91 -109
- package/dist/feature-image-cards-three-column.cjs +23 -17
- 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 +23 -17
- package/dist/feature-numbered-cards.cjs +2 -2
- package/dist/feature-numbered-cards.js +2 -2
- package/dist/feature-pattern-grid-links.cjs +142 -29
- package/dist/feature-pattern-grid-links.d.cts +21 -1
- package/dist/feature-pattern-grid-links.d.ts +21 -1
- package/dist/feature-pattern-grid-links.js +142 -29
- 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 +474 -37
- 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 +474 -37
- package/dist/feature-utility-cards-grid.cjs +21 -5
- package/dist/feature-utility-cards-grid.js +21 -5
- package/dist/registry.cjs +449 -240
- package/dist/registry.js +449 -240
- package/package.json +1 -1
|
@@ -956,59 +956,124 @@ var Section = React__namespace.default.forwardRef(
|
|
|
956
956
|
);
|
|
957
957
|
Section.displayName = "Section";
|
|
958
958
|
function FeaturePatternGridLinks({
|
|
959
|
+
title,
|
|
960
|
+
description,
|
|
961
|
+
titleClassName,
|
|
962
|
+
descriptionClassName,
|
|
963
|
+
headerClassName,
|
|
959
964
|
features,
|
|
960
965
|
featuresSlot,
|
|
961
966
|
className,
|
|
962
|
-
|
|
967
|
+
spacing = "py-12 md:py-32",
|
|
968
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
963
969
|
gridClassName,
|
|
964
970
|
cardClassName,
|
|
965
971
|
background,
|
|
966
|
-
spacing,
|
|
967
972
|
pattern,
|
|
968
973
|
patternOpacity,
|
|
969
974
|
patternClassName
|
|
970
975
|
}) {
|
|
971
|
-
const renderFeatureIcon = React.useCallback(
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
976
|
+
const renderFeatureIcon = React.useCallback(
|
|
977
|
+
(feature) => {
|
|
978
|
+
if (feature.icon) return feature.icon;
|
|
979
|
+
if (feature.iconName)
|
|
980
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
981
|
+
DynamicIcon,
|
|
982
|
+
{
|
|
983
|
+
name: feature.iconName,
|
|
984
|
+
size: 24,
|
|
985
|
+
className: feature.iconClassName
|
|
986
|
+
}
|
|
987
|
+
);
|
|
988
|
+
return null;
|
|
989
|
+
},
|
|
990
|
+
[]
|
|
991
|
+
);
|
|
992
|
+
const renderFeatureLink = React.useCallback(
|
|
993
|
+
(feature) => {
|
|
994
|
+
if (feature.linkSlot) return feature.linkSlot;
|
|
995
|
+
if (!feature.link && !feature.linkLabel) return null;
|
|
996
|
+
const label = feature.linkLabel || (feature.link ? "Learn more" : null);
|
|
997
|
+
if (!label) return null;
|
|
998
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
999
|
+
Pressable,
|
|
1000
|
+
{
|
|
1001
|
+
href: feature.link,
|
|
1002
|
+
className: cn(
|
|
1003
|
+
"flex items-center gap-2 text-sm font-medium",
|
|
1004
|
+
feature.linkClassName
|
|
1005
|
+
),
|
|
1006
|
+
children: [
|
|
1007
|
+
label,
|
|
1008
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/chevron-right", size: 16 })
|
|
1009
|
+
]
|
|
1010
|
+
}
|
|
1011
|
+
);
|
|
1012
|
+
},
|
|
1013
|
+
[]
|
|
1014
|
+
);
|
|
993
1015
|
const featuresContent = React.useMemo(() => {
|
|
994
1016
|
if (featuresSlot) return featuresSlot;
|
|
995
1017
|
if (!features || features.length === 0) return null;
|
|
996
1018
|
return features.map((feature, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
997
1019
|
"div",
|
|
998
1020
|
{
|
|
999
|
-
className: cn(
|
|
1021
|
+
className: cn(
|
|
1022
|
+
"flex flex-col gap-10 rounded-lg border p-8",
|
|
1023
|
+
cardClassName,
|
|
1024
|
+
feature.className
|
|
1025
|
+
),
|
|
1000
1026
|
children: [
|
|
1001
1027
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1002
1028
|
renderFeatureIcon(feature),
|
|
1003
|
-
feature.title && (typeof feature.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1004
|
-
|
|
1029
|
+
feature.title && (typeof feature.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1030
|
+
"h3",
|
|
1031
|
+
{
|
|
1032
|
+
className: cn("mt-6 mb-2 font-medium", feature.titleClassName),
|
|
1033
|
+
children: feature.title
|
|
1034
|
+
}
|
|
1035
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
1036
|
+
"div",
|
|
1037
|
+
{
|
|
1038
|
+
className: cn("mt-6 mb-2 font-medium", feature.titleClassName),
|
|
1039
|
+
children: feature.title
|
|
1040
|
+
}
|
|
1041
|
+
)),
|
|
1042
|
+
feature.description && (typeof feature.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1043
|
+
"p",
|
|
1044
|
+
{
|
|
1045
|
+
className: cn(
|
|
1046
|
+
"text-sm",
|
|
1047
|
+
getTextColor(background, "muted"),
|
|
1048
|
+
feature.descriptionClassName
|
|
1049
|
+
),
|
|
1050
|
+
children: feature.description
|
|
1051
|
+
}
|
|
1052
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
1053
|
+
"div",
|
|
1054
|
+
{
|
|
1055
|
+
className: cn(
|
|
1056
|
+
"text-sm",
|
|
1057
|
+
getTextColor(background, "muted"),
|
|
1058
|
+
feature.descriptionClassName
|
|
1059
|
+
),
|
|
1060
|
+
children: feature.description
|
|
1061
|
+
}
|
|
1062
|
+
))
|
|
1005
1063
|
] }),
|
|
1006
1064
|
renderFeatureLink(feature)
|
|
1007
1065
|
]
|
|
1008
1066
|
},
|
|
1009
1067
|
index
|
|
1010
1068
|
));
|
|
1011
|
-
}, [
|
|
1069
|
+
}, [
|
|
1070
|
+
featuresSlot,
|
|
1071
|
+
features,
|
|
1072
|
+
cardClassName,
|
|
1073
|
+
renderFeatureIcon,
|
|
1074
|
+
renderFeatureLink,
|
|
1075
|
+
background
|
|
1076
|
+
]);
|
|
1012
1077
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1013
1078
|
Section,
|
|
1014
1079
|
{
|
|
@@ -1019,7 +1084,55 @@ function FeaturePatternGridLinks({
|
|
|
1019
1084
|
patternClassName,
|
|
1020
1085
|
className,
|
|
1021
1086
|
containerClassName,
|
|
1022
|
-
children: /* @__PURE__ */ jsxRuntime.
|
|
1087
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
|
|
1088
|
+
title || description ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1089
|
+
"div",
|
|
1090
|
+
{
|
|
1091
|
+
className: cn(
|
|
1092
|
+
"flex flex-col gap-4 md:gap-6 text-left",
|
|
1093
|
+
headerClassName
|
|
1094
|
+
),
|
|
1095
|
+
children: [
|
|
1096
|
+
title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1097
|
+
"h2",
|
|
1098
|
+
{
|
|
1099
|
+
className: cn(
|
|
1100
|
+
"text-xl font-semibold text-balance md:text-2xl lg:text-3xl max-w-lg md:max-w-md",
|
|
1101
|
+
titleClassName
|
|
1102
|
+
),
|
|
1103
|
+
children: title
|
|
1104
|
+
}
|
|
1105
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
1106
|
+
"div",
|
|
1107
|
+
{
|
|
1108
|
+
className: cn(
|
|
1109
|
+
"text-xl font-semibold text-balance md:text-2xl lg:text-3xl max-w-lg md:max-w-md",
|
|
1110
|
+
titleClassName
|
|
1111
|
+
),
|
|
1112
|
+
children: title
|
|
1113
|
+
}
|
|
1114
|
+
)),
|
|
1115
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("max-w-lg md:max-w-md", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
1116
|
+
"div",
|
|
1117
|
+
{
|
|
1118
|
+
className: cn("max-w-lg md:max-w-md", descriptionClassName),
|
|
1119
|
+
children: description
|
|
1120
|
+
}
|
|
1121
|
+
))
|
|
1122
|
+
]
|
|
1123
|
+
}
|
|
1124
|
+
) : null,
|
|
1125
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1126
|
+
"div",
|
|
1127
|
+
{
|
|
1128
|
+
className: cn(
|
|
1129
|
+
"grid gap-6 md:grid-cols-2 lg:grid-cols-3",
|
|
1130
|
+
gridClassName
|
|
1131
|
+
),
|
|
1132
|
+
children: featuresContent
|
|
1133
|
+
}
|
|
1134
|
+
)
|
|
1135
|
+
] })
|
|
1023
1136
|
}
|
|
1024
1137
|
);
|
|
1025
1138
|
}
|
|
@@ -57,6 +57,26 @@ interface FeaturePatternGridLinksItem {
|
|
|
57
57
|
linkClassName?: string;
|
|
58
58
|
}
|
|
59
59
|
interface FeaturePatternGridLinksProps {
|
|
60
|
+
/**
|
|
61
|
+
* Main heading content
|
|
62
|
+
*/
|
|
63
|
+
title?: React.ReactNode;
|
|
64
|
+
/**
|
|
65
|
+
* Supporting description content
|
|
66
|
+
*/
|
|
67
|
+
description?: React.ReactNode;
|
|
68
|
+
/**
|
|
69
|
+
* Additional CSS classes for the title
|
|
70
|
+
*/
|
|
71
|
+
titleClassName?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Additional CSS classes for the description
|
|
74
|
+
*/
|
|
75
|
+
descriptionClassName?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Additional CSS classes for the header
|
|
78
|
+
*/
|
|
79
|
+
headerClassName?: string;
|
|
60
80
|
/**
|
|
61
81
|
* Array of feature items
|
|
62
82
|
*/
|
|
@@ -119,6 +139,6 @@ interface FeaturePatternGridLinksProps {
|
|
|
119
139
|
* />
|
|
120
140
|
* ```
|
|
121
141
|
*/
|
|
122
|
-
declare function FeaturePatternGridLinks({ features, featuresSlot, className, containerClassName, gridClassName, cardClassName, background,
|
|
142
|
+
declare function FeaturePatternGridLinks({ title, description, titleClassName, descriptionClassName, headerClassName, features, featuresSlot, className, spacing, containerClassName, gridClassName, cardClassName, background, pattern, patternOpacity, patternClassName, }: FeaturePatternGridLinksProps): React.JSX.Element;
|
|
123
143
|
|
|
124
144
|
export { FeaturePatternGridLinks, type FeaturePatternGridLinksProps };
|
|
@@ -57,6 +57,26 @@ interface FeaturePatternGridLinksItem {
|
|
|
57
57
|
linkClassName?: string;
|
|
58
58
|
}
|
|
59
59
|
interface FeaturePatternGridLinksProps {
|
|
60
|
+
/**
|
|
61
|
+
* Main heading content
|
|
62
|
+
*/
|
|
63
|
+
title?: React.ReactNode;
|
|
64
|
+
/**
|
|
65
|
+
* Supporting description content
|
|
66
|
+
*/
|
|
67
|
+
description?: React.ReactNode;
|
|
68
|
+
/**
|
|
69
|
+
* Additional CSS classes for the title
|
|
70
|
+
*/
|
|
71
|
+
titleClassName?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Additional CSS classes for the description
|
|
74
|
+
*/
|
|
75
|
+
descriptionClassName?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Additional CSS classes for the header
|
|
78
|
+
*/
|
|
79
|
+
headerClassName?: string;
|
|
60
80
|
/**
|
|
61
81
|
* Array of feature items
|
|
62
82
|
*/
|
|
@@ -119,6 +139,6 @@ interface FeaturePatternGridLinksProps {
|
|
|
119
139
|
* />
|
|
120
140
|
* ```
|
|
121
141
|
*/
|
|
122
|
-
declare function FeaturePatternGridLinks({ features, featuresSlot, className, containerClassName, gridClassName, cardClassName, background,
|
|
142
|
+
declare function FeaturePatternGridLinks({ title, description, titleClassName, descriptionClassName, headerClassName, features, featuresSlot, className, spacing, containerClassName, gridClassName, cardClassName, background, pattern, patternOpacity, patternClassName, }: FeaturePatternGridLinksProps): React.JSX.Element;
|
|
123
143
|
|
|
124
144
|
export { FeaturePatternGridLinks, type FeaturePatternGridLinksProps };
|
|
@@ -935,59 +935,124 @@ var Section = React__default.forwardRef(
|
|
|
935
935
|
);
|
|
936
936
|
Section.displayName = "Section";
|
|
937
937
|
function FeaturePatternGridLinks({
|
|
938
|
+
title,
|
|
939
|
+
description,
|
|
940
|
+
titleClassName,
|
|
941
|
+
descriptionClassName,
|
|
942
|
+
headerClassName,
|
|
938
943
|
features,
|
|
939
944
|
featuresSlot,
|
|
940
945
|
className,
|
|
941
|
-
|
|
946
|
+
spacing = "py-12 md:py-32",
|
|
947
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
942
948
|
gridClassName,
|
|
943
949
|
cardClassName,
|
|
944
950
|
background,
|
|
945
|
-
spacing,
|
|
946
951
|
pattern,
|
|
947
952
|
patternOpacity,
|
|
948
953
|
patternClassName
|
|
949
954
|
}) {
|
|
950
|
-
const renderFeatureIcon = useCallback(
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
955
|
+
const renderFeatureIcon = useCallback(
|
|
956
|
+
(feature) => {
|
|
957
|
+
if (feature.icon) return feature.icon;
|
|
958
|
+
if (feature.iconName)
|
|
959
|
+
return /* @__PURE__ */ jsx(
|
|
960
|
+
DynamicIcon,
|
|
961
|
+
{
|
|
962
|
+
name: feature.iconName,
|
|
963
|
+
size: 24,
|
|
964
|
+
className: feature.iconClassName
|
|
965
|
+
}
|
|
966
|
+
);
|
|
967
|
+
return null;
|
|
968
|
+
},
|
|
969
|
+
[]
|
|
970
|
+
);
|
|
971
|
+
const renderFeatureLink = useCallback(
|
|
972
|
+
(feature) => {
|
|
973
|
+
if (feature.linkSlot) return feature.linkSlot;
|
|
974
|
+
if (!feature.link && !feature.linkLabel) return null;
|
|
975
|
+
const label = feature.linkLabel || (feature.link ? "Learn more" : null);
|
|
976
|
+
if (!label) return null;
|
|
977
|
+
return /* @__PURE__ */ jsxs(
|
|
978
|
+
Pressable,
|
|
979
|
+
{
|
|
980
|
+
href: feature.link,
|
|
981
|
+
className: cn(
|
|
982
|
+
"flex items-center gap-2 text-sm font-medium",
|
|
983
|
+
feature.linkClassName
|
|
984
|
+
),
|
|
985
|
+
children: [
|
|
986
|
+
label,
|
|
987
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/chevron-right", size: 16 })
|
|
988
|
+
]
|
|
989
|
+
}
|
|
990
|
+
);
|
|
991
|
+
},
|
|
992
|
+
[]
|
|
993
|
+
);
|
|
972
994
|
const featuresContent = useMemo(() => {
|
|
973
995
|
if (featuresSlot) return featuresSlot;
|
|
974
996
|
if (!features || features.length === 0) return null;
|
|
975
997
|
return features.map((feature, index) => /* @__PURE__ */ jsxs(
|
|
976
998
|
"div",
|
|
977
999
|
{
|
|
978
|
-
className: cn(
|
|
1000
|
+
className: cn(
|
|
1001
|
+
"flex flex-col gap-10 rounded-lg border p-8",
|
|
1002
|
+
cardClassName,
|
|
1003
|
+
feature.className
|
|
1004
|
+
),
|
|
979
1005
|
children: [
|
|
980
1006
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
981
1007
|
renderFeatureIcon(feature),
|
|
982
|
-
feature.title && (typeof feature.title === "string" ? /* @__PURE__ */ jsx(
|
|
983
|
-
|
|
1008
|
+
feature.title && (typeof feature.title === "string" ? /* @__PURE__ */ jsx(
|
|
1009
|
+
"h3",
|
|
1010
|
+
{
|
|
1011
|
+
className: cn("mt-6 mb-2 font-medium", feature.titleClassName),
|
|
1012
|
+
children: feature.title
|
|
1013
|
+
}
|
|
1014
|
+
) : /* @__PURE__ */ jsx(
|
|
1015
|
+
"div",
|
|
1016
|
+
{
|
|
1017
|
+
className: cn("mt-6 mb-2 font-medium", feature.titleClassName),
|
|
1018
|
+
children: feature.title
|
|
1019
|
+
}
|
|
1020
|
+
)),
|
|
1021
|
+
feature.description && (typeof feature.description === "string" ? /* @__PURE__ */ jsx(
|
|
1022
|
+
"p",
|
|
1023
|
+
{
|
|
1024
|
+
className: cn(
|
|
1025
|
+
"text-sm",
|
|
1026
|
+
getTextColor(background, "muted"),
|
|
1027
|
+
feature.descriptionClassName
|
|
1028
|
+
),
|
|
1029
|
+
children: feature.description
|
|
1030
|
+
}
|
|
1031
|
+
) : /* @__PURE__ */ jsx(
|
|
1032
|
+
"div",
|
|
1033
|
+
{
|
|
1034
|
+
className: cn(
|
|
1035
|
+
"text-sm",
|
|
1036
|
+
getTextColor(background, "muted"),
|
|
1037
|
+
feature.descriptionClassName
|
|
1038
|
+
),
|
|
1039
|
+
children: feature.description
|
|
1040
|
+
}
|
|
1041
|
+
))
|
|
984
1042
|
] }),
|
|
985
1043
|
renderFeatureLink(feature)
|
|
986
1044
|
]
|
|
987
1045
|
},
|
|
988
1046
|
index
|
|
989
1047
|
));
|
|
990
|
-
}, [
|
|
1048
|
+
}, [
|
|
1049
|
+
featuresSlot,
|
|
1050
|
+
features,
|
|
1051
|
+
cardClassName,
|
|
1052
|
+
renderFeatureIcon,
|
|
1053
|
+
renderFeatureLink,
|
|
1054
|
+
background
|
|
1055
|
+
]);
|
|
991
1056
|
return /* @__PURE__ */ jsx(
|
|
992
1057
|
Section,
|
|
993
1058
|
{
|
|
@@ -998,7 +1063,55 @@ function FeaturePatternGridLinks({
|
|
|
998
1063
|
patternClassName,
|
|
999
1064
|
className,
|
|
1000
1065
|
containerClassName,
|
|
1001
|
-
children: /* @__PURE__ */
|
|
1066
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
|
|
1067
|
+
title || description ? /* @__PURE__ */ jsxs(
|
|
1068
|
+
"div",
|
|
1069
|
+
{
|
|
1070
|
+
className: cn(
|
|
1071
|
+
"flex flex-col gap-4 md:gap-6 text-left",
|
|
1072
|
+
headerClassName
|
|
1073
|
+
),
|
|
1074
|
+
children: [
|
|
1075
|
+
title && (typeof title === "string" ? /* @__PURE__ */ jsx(
|
|
1076
|
+
"h2",
|
|
1077
|
+
{
|
|
1078
|
+
className: cn(
|
|
1079
|
+
"text-xl font-semibold text-balance md:text-2xl lg:text-3xl max-w-lg md:max-w-md",
|
|
1080
|
+
titleClassName
|
|
1081
|
+
),
|
|
1082
|
+
children: title
|
|
1083
|
+
}
|
|
1084
|
+
) : /* @__PURE__ */ jsx(
|
|
1085
|
+
"div",
|
|
1086
|
+
{
|
|
1087
|
+
className: cn(
|
|
1088
|
+
"text-xl font-semibold text-balance md:text-2xl lg:text-3xl max-w-lg md:max-w-md",
|
|
1089
|
+
titleClassName
|
|
1090
|
+
),
|
|
1091
|
+
children: title
|
|
1092
|
+
}
|
|
1093
|
+
)),
|
|
1094
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("max-w-lg md:max-w-md", descriptionClassName), children: description }) : /* @__PURE__ */ jsx(
|
|
1095
|
+
"div",
|
|
1096
|
+
{
|
|
1097
|
+
className: cn("max-w-lg md:max-w-md", descriptionClassName),
|
|
1098
|
+
children: description
|
|
1099
|
+
}
|
|
1100
|
+
))
|
|
1101
|
+
]
|
|
1102
|
+
}
|
|
1103
|
+
) : null,
|
|
1104
|
+
/* @__PURE__ */ jsx(
|
|
1105
|
+
"div",
|
|
1106
|
+
{
|
|
1107
|
+
className: cn(
|
|
1108
|
+
"grid gap-6 md:grid-cols-2 lg:grid-cols-3",
|
|
1109
|
+
gridClassName
|
|
1110
|
+
),
|
|
1111
|
+
children: featuresContent
|
|
1112
|
+
}
|
|
1113
|
+
)
|
|
1114
|
+
] })
|
|
1002
1115
|
}
|
|
1003
1116
|
);
|
|
1004
1117
|
}
|
|
@@ -997,7 +997,6 @@ function FeatureTabbedContentImage({
|
|
|
997
997
|
slidesSlot,
|
|
998
998
|
defaultTab,
|
|
999
999
|
className,
|
|
1000
|
-
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
1001
1000
|
headerClassName,
|
|
1002
1001
|
titleClassName,
|
|
1003
1002
|
descriptionClassName,
|
|
@@ -1009,6 +1008,7 @@ function FeatureTabbedContentImage({
|
|
|
1009
1008
|
contentGridClassName,
|
|
1010
1009
|
optixFlowConfig,
|
|
1011
1010
|
background,
|
|
1011
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
1012
1012
|
spacing = "py-6 md:py-32",
|
|
1013
1013
|
pattern,
|
|
1014
1014
|
patternOpacity,
|
|
@@ -206,6 +206,6 @@ interface FeatureTabbedContentImageProps {
|
|
|
206
206
|
* />
|
|
207
207
|
* ```
|
|
208
208
|
*/
|
|
209
|
-
declare function FeatureTabbedContentImage({ title, description, slides, slidesSlot, defaultTab, className,
|
|
209
|
+
declare function FeatureTabbedContentImage({ title, description, slides, slidesSlot, defaultTab, className, headerClassName, titleClassName, descriptionClassName, tabsWrapperClassName, tabsClassName, tabsListClassName, tabTriggerClassName, tabContentClassName, contentGridClassName, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, patternClassName, }: FeatureTabbedContentImageProps): React.JSX.Element;
|
|
210
210
|
|
|
211
211
|
export { FeatureTabbedContentImage, type FeatureTabbedContentImageProps };
|
|
@@ -206,6 +206,6 @@ interface FeatureTabbedContentImageProps {
|
|
|
206
206
|
* />
|
|
207
207
|
* ```
|
|
208
208
|
*/
|
|
209
|
-
declare function FeatureTabbedContentImage({ title, description, slides, slidesSlot, defaultTab, className,
|
|
209
|
+
declare function FeatureTabbedContentImage({ title, description, slides, slidesSlot, defaultTab, className, headerClassName, titleClassName, descriptionClassName, tabsWrapperClassName, tabsClassName, tabsListClassName, tabTriggerClassName, tabContentClassName, contentGridClassName, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, patternClassName, }: FeatureTabbedContentImageProps): React.JSX.Element;
|
|
210
210
|
|
|
211
211
|
export { FeatureTabbedContentImage, type FeatureTabbedContentImageProps };
|
|
@@ -975,7 +975,6 @@ function FeatureTabbedContentImage({
|
|
|
975
975
|
slidesSlot,
|
|
976
976
|
defaultTab,
|
|
977
977
|
className,
|
|
978
|
-
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
979
978
|
headerClassName,
|
|
980
979
|
titleClassName,
|
|
981
980
|
descriptionClassName,
|
|
@@ -987,6 +986,7 @@ function FeatureTabbedContentImage({
|
|
|
987
986
|
contentGridClassName,
|
|
988
987
|
optixFlowConfig,
|
|
989
988
|
background,
|
|
989
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
990
990
|
spacing = "py-6 md:py-32",
|
|
991
991
|
pattern,
|
|
992
992
|
patternOpacity,
|