@opensite/ui 2.7.4 → 2.7.6
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/about-network-spotlight.cjs +1 -2
- package/dist/about-network-spotlight.js +1 -2
- package/dist/about-story-expertise.cjs +33 -43
- package/dist/about-story-expertise.js +33 -43
- package/dist/blog-tech-insights.cjs +2 -2
- package/dist/blog-tech-insights.js +2 -2
- package/dist/cta-case-study-testimonial.cjs +6 -41
- package/dist/cta-case-study-testimonial.d.cts +3 -10
- package/dist/cta-case-study-testimonial.d.ts +3 -10
- package/dist/cta-case-study-testimonial.js +6 -41
- package/dist/cta-documentation-links.cjs +6 -31
- package/dist/cta-documentation-links.d.cts +1 -1
- package/dist/cta-documentation-links.d.ts +1 -1
- package/dist/cta-documentation-links.js +6 -31
- package/dist/cta-enterprise-split.cjs +4 -3
- package/dist/cta-enterprise-split.d.cts +1 -1
- package/dist/cta-enterprise-split.d.ts +1 -1
- package/dist/cta-enterprise-split.js +4 -3
- package/dist/cta-feature-cards-grid.cjs +9 -46
- package/dist/cta-feature-cards-grid.d.cts +1 -1
- package/dist/cta-feature-cards-grid.d.ts +1 -1
- package/dist/cta-feature-cards-grid.js +9 -46
- package/dist/cta-feature-checklist.cjs +666 -687
- package/dist/cta-feature-checklist.d.cts +1 -1
- package/dist/cta-feature-checklist.d.ts +1 -1
- package/dist/cta-feature-checklist.js +665 -686
- package/dist/feature-animated-carousel.cjs +1 -1
- package/dist/feature-animated-carousel.js +1 -1
- package/dist/hero-ad-campaign-expert.cjs +54 -36
- package/dist/hero-ad-campaign-expert.js +54 -36
- package/dist/registry.cjs +176 -199
- package/dist/registry.js +176 -199
- package/dist/stats-impact-grid.cjs +48 -39
- package/dist/stats-impact-grid.js +48 -39
- package/package.json +1 -1
|
@@ -1009,8 +1009,7 @@ function AboutNetworkSpotlight({
|
|
|
1009
1009
|
optixFlowConfig
|
|
1010
1010
|
}
|
|
1011
1011
|
),
|
|
1012
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute
|
|
1013
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute bottom-2 md:bottom-6 left-2 md:left-6 right-2 md:right-6", children: spotlightCardContent })
|
|
1012
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute bottom-4 md:bottom-6 left-4 md:left-6 right-4 md:right-6", children: spotlightCardContent })
|
|
1014
1013
|
] })
|
|
1015
1014
|
}
|
|
1016
1015
|
),
|
|
@@ -988,8 +988,7 @@ function AboutNetworkSpotlight({
|
|
|
988
988
|
optixFlowConfig
|
|
989
989
|
}
|
|
990
990
|
),
|
|
991
|
-
/* @__PURE__ */ jsx("div", { className: "absolute
|
|
992
|
-
/* @__PURE__ */ jsx("div", { className: "absolute bottom-2 md:bottom-6 left-2 md:left-6 right-2 md:right-6", children: spotlightCardContent })
|
|
991
|
+
/* @__PURE__ */ jsx("div", { className: "absolute bottom-4 md:bottom-6 left-4 md:left-6 right-4 md:right-6", children: spotlightCardContent })
|
|
993
992
|
] })
|
|
994
993
|
}
|
|
995
994
|
),
|
|
@@ -938,12 +938,12 @@ function AboutStoryExpertise({
|
|
|
938
938
|
{
|
|
939
939
|
className: cn(
|
|
940
940
|
"bg-card text-card-foreground",
|
|
941
|
-
"rounded-2xl border
|
|
941
|
+
"rounded-2xl border p-5 shadow-xl",
|
|
942
942
|
highlightClassName
|
|
943
943
|
),
|
|
944
944
|
children: [
|
|
945
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex items-center gap-4", children: [
|
|
946
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex
|
|
945
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-3 flex items-center gap-3 md:gap-4", children: [
|
|
946
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex size-12 items-center justify-center rounded-full bg-primary text-primary-foreground shrink-0", children: highlight.icon }),
|
|
947
947
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
948
948
|
highlight.label && (typeof highlight.label === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
949
949
|
"p",
|
|
@@ -954,7 +954,7 @@ function AboutStoryExpertise({
|
|
|
954
954
|
children: highlight.label
|
|
955
955
|
}
|
|
956
956
|
) : highlight.label),
|
|
957
|
-
highlight.title && (typeof highlight.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-lg font-bold", children: highlight.title }) : highlight.title)
|
|
957
|
+
highlight.title && (typeof highlight.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-lg font-bold leading-tight", children: highlight.title }) : highlight.title)
|
|
958
958
|
] })
|
|
959
959
|
] }),
|
|
960
960
|
highlight.description && (typeof highlight.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-sm"), children: highlight.description }) : highlight.description)
|
|
@@ -1019,9 +1019,9 @@ function AboutStoryExpertise({
|
|
|
1019
1019
|
whileInView: { opacity: 1, x: 0 },
|
|
1020
1020
|
viewport: { once: true, margin: "-50px" },
|
|
1021
1021
|
transition: { duration: 0.5 },
|
|
1022
|
-
className: "order-2 space-y-
|
|
1022
|
+
className: "order-2 space-y-8 lg:order-1",
|
|
1023
1023
|
children: [
|
|
1024
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1024
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-6", children: [
|
|
1025
1025
|
eyebrow && (typeof eyebrow === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1026
1026
|
"p",
|
|
1027
1027
|
{
|
|
@@ -1068,7 +1068,7 @@ function AboutStoryExpertise({
|
|
|
1068
1068
|
{
|
|
1069
1069
|
className: cn(
|
|
1070
1070
|
"relative overflow-hidden rounded-3xl",
|
|
1071
|
-
"
|
|
1071
|
+
"shadow-2xl aspect-square",
|
|
1072
1072
|
imageClassName
|
|
1073
1073
|
),
|
|
1074
1074
|
children: [
|
|
@@ -1081,48 +1081,38 @@ function AboutStoryExpertise({
|
|
|
1081
1081
|
optixFlowConfig
|
|
1082
1082
|
}
|
|
1083
1083
|
),
|
|
1084
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute
|
|
1085
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute bottom-6 left-6 right-6", children: highlightContent })
|
|
1084
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute bottom-4 md:bottom-6 left-4 md:left-6 right-4 md:right-6", children: highlightContent })
|
|
1086
1085
|
]
|
|
1087
1086
|
}
|
|
1088
1087
|
)
|
|
1089
1088
|
}
|
|
1090
1089
|
)
|
|
1091
1090
|
] }),
|
|
1092
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1093
|
-
"div",
|
|
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
|
-
children: expertiseDescription
|
|
1119
|
-
}
|
|
1120
|
-
) : expertiseDescription)
|
|
1121
|
-
] }),
|
|
1122
|
-
expertiseAreasContent
|
|
1123
|
-
]
|
|
1124
|
-
}
|
|
1125
|
-
)
|
|
1091
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mt-20 rounded-3xl", expertiseSectionClassName), children: [
|
|
1092
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-center", children: [
|
|
1093
|
+
expertiseHeading && (typeof expertiseHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1094
|
+
"h3",
|
|
1095
|
+
{
|
|
1096
|
+
className: cn(
|
|
1097
|
+
"mt-2 text-2xl font-bold md:text-3xl",
|
|
1098
|
+
expertiseHeadingClassName
|
|
1099
|
+
),
|
|
1100
|
+
children: expertiseHeading
|
|
1101
|
+
}
|
|
1102
|
+
) : expertiseHeading),
|
|
1103
|
+
expertiseDescription && (typeof expertiseDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1104
|
+
"p",
|
|
1105
|
+
{
|
|
1106
|
+
className: cn(
|
|
1107
|
+
"mx-auto mt-3 max-w-2xl",
|
|
1108
|
+
expertiseDescriptionClassName
|
|
1109
|
+
),
|
|
1110
|
+
children: expertiseDescription
|
|
1111
|
+
}
|
|
1112
|
+
) : expertiseDescription)
|
|
1113
|
+
] }),
|
|
1114
|
+
expertiseAreasContent
|
|
1115
|
+
] })
|
|
1126
1116
|
]
|
|
1127
1117
|
}
|
|
1128
1118
|
);
|
|
@@ -917,12 +917,12 @@ function AboutStoryExpertise({
|
|
|
917
917
|
{
|
|
918
918
|
className: cn(
|
|
919
919
|
"bg-card text-card-foreground",
|
|
920
|
-
"rounded-2xl border
|
|
920
|
+
"rounded-2xl border p-5 shadow-xl",
|
|
921
921
|
highlightClassName
|
|
922
922
|
),
|
|
923
923
|
children: [
|
|
924
|
-
/* @__PURE__ */ jsxs("div", { className: "mb-3 flex items-center gap-4", children: [
|
|
925
|
-
/* @__PURE__ */ jsx("div", { className: "flex
|
|
924
|
+
/* @__PURE__ */ jsxs("div", { className: "mb-3 flex items-center gap-3 md:gap-4", children: [
|
|
925
|
+
/* @__PURE__ */ jsx("div", { className: "flex size-12 items-center justify-center rounded-full bg-primary text-primary-foreground shrink-0", children: highlight.icon }),
|
|
926
926
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
927
927
|
highlight.label && (typeof highlight.label === "string" ? /* @__PURE__ */ jsx(
|
|
928
928
|
"p",
|
|
@@ -933,7 +933,7 @@ function AboutStoryExpertise({
|
|
|
933
933
|
children: highlight.label
|
|
934
934
|
}
|
|
935
935
|
) : highlight.label),
|
|
936
|
-
highlight.title && (typeof highlight.title === "string" ? /* @__PURE__ */ jsx("div", { className: "text-lg font-bold", children: highlight.title }) : highlight.title)
|
|
936
|
+
highlight.title && (typeof highlight.title === "string" ? /* @__PURE__ */ jsx("div", { className: "text-lg font-bold leading-tight", children: highlight.title }) : highlight.title)
|
|
937
937
|
] })
|
|
938
938
|
] }),
|
|
939
939
|
highlight.description && (typeof highlight.description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-sm"), children: highlight.description }) : highlight.description)
|
|
@@ -998,9 +998,9 @@ function AboutStoryExpertise({
|
|
|
998
998
|
whileInView: { opacity: 1, x: 0 },
|
|
999
999
|
viewport: { once: true, margin: "-50px" },
|
|
1000
1000
|
transition: { duration: 0.5 },
|
|
1001
|
-
className: "order-2 space-y-
|
|
1001
|
+
className: "order-2 space-y-8 lg:order-1",
|
|
1002
1002
|
children: [
|
|
1003
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
1003
|
+
/* @__PURE__ */ jsxs("div", { className: "space-y-6", children: [
|
|
1004
1004
|
eyebrow && (typeof eyebrow === "string" ? /* @__PURE__ */ jsx(
|
|
1005
1005
|
"p",
|
|
1006
1006
|
{
|
|
@@ -1047,7 +1047,7 @@ function AboutStoryExpertise({
|
|
|
1047
1047
|
{
|
|
1048
1048
|
className: cn(
|
|
1049
1049
|
"relative overflow-hidden rounded-3xl",
|
|
1050
|
-
"
|
|
1050
|
+
"shadow-2xl aspect-square",
|
|
1051
1051
|
imageClassName
|
|
1052
1052
|
),
|
|
1053
1053
|
children: [
|
|
@@ -1060,48 +1060,38 @@ function AboutStoryExpertise({
|
|
|
1060
1060
|
optixFlowConfig
|
|
1061
1061
|
}
|
|
1062
1062
|
),
|
|
1063
|
-
/* @__PURE__ */ jsx("div", { className: "absolute
|
|
1064
|
-
/* @__PURE__ */ jsx("div", { className: "absolute bottom-6 left-6 right-6", children: highlightContent })
|
|
1063
|
+
/* @__PURE__ */ jsx("div", { className: "absolute bottom-4 md:bottom-6 left-4 md:left-6 right-4 md:right-6", children: highlightContent })
|
|
1065
1064
|
]
|
|
1066
1065
|
}
|
|
1067
1066
|
)
|
|
1068
1067
|
}
|
|
1069
1068
|
)
|
|
1070
1069
|
] }),
|
|
1071
|
-
/* @__PURE__ */ jsxs(
|
|
1072
|
-
"div",
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
)
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
),
|
|
1097
|
-
children: expertiseDescription
|
|
1098
|
-
}
|
|
1099
|
-
) : expertiseDescription)
|
|
1100
|
-
] }),
|
|
1101
|
-
expertiseAreasContent
|
|
1102
|
-
]
|
|
1103
|
-
}
|
|
1104
|
-
)
|
|
1070
|
+
/* @__PURE__ */ jsxs("div", { className: cn("mt-20 rounded-3xl", expertiseSectionClassName), children: [
|
|
1071
|
+
/* @__PURE__ */ jsxs("div", { className: "text-center", children: [
|
|
1072
|
+
expertiseHeading && (typeof expertiseHeading === "string" ? /* @__PURE__ */ jsx(
|
|
1073
|
+
"h3",
|
|
1074
|
+
{
|
|
1075
|
+
className: cn(
|
|
1076
|
+
"mt-2 text-2xl font-bold md:text-3xl",
|
|
1077
|
+
expertiseHeadingClassName
|
|
1078
|
+
),
|
|
1079
|
+
children: expertiseHeading
|
|
1080
|
+
}
|
|
1081
|
+
) : expertiseHeading),
|
|
1082
|
+
expertiseDescription && (typeof expertiseDescription === "string" ? /* @__PURE__ */ jsx(
|
|
1083
|
+
"p",
|
|
1084
|
+
{
|
|
1085
|
+
className: cn(
|
|
1086
|
+
"mx-auto mt-3 max-w-2xl",
|
|
1087
|
+
expertiseDescriptionClassName
|
|
1088
|
+
),
|
|
1089
|
+
children: expertiseDescription
|
|
1090
|
+
}
|
|
1091
|
+
) : expertiseDescription)
|
|
1092
|
+
] }),
|
|
1093
|
+
expertiseAreasContent
|
|
1094
|
+
] })
|
|
1105
1095
|
]
|
|
1106
1096
|
}
|
|
1107
1097
|
);
|
|
@@ -1006,7 +1006,7 @@ function BlogTechInsights({
|
|
|
1006
1006
|
{
|
|
1007
1007
|
background,
|
|
1008
1008
|
spacing,
|
|
1009
|
-
className
|
|
1009
|
+
className,
|
|
1010
1010
|
pattern,
|
|
1011
1011
|
patternOpacity,
|
|
1012
1012
|
containerClassName,
|
|
@@ -1016,7 +1016,7 @@ function BlogTechInsights({
|
|
|
1016
1016
|
"h1",
|
|
1017
1017
|
{
|
|
1018
1018
|
className: cn(
|
|
1019
|
-
"text-
|
|
1019
|
+
"text-2xl font-bold lg:text-3xl",
|
|
1020
1020
|
headingClassName
|
|
1021
1021
|
),
|
|
1022
1022
|
children: heading
|
|
@@ -984,7 +984,7 @@ function BlogTechInsights({
|
|
|
984
984
|
{
|
|
985
985
|
background,
|
|
986
986
|
spacing,
|
|
987
|
-
className
|
|
987
|
+
className,
|
|
988
988
|
pattern,
|
|
989
989
|
patternOpacity,
|
|
990
990
|
containerClassName,
|
|
@@ -994,7 +994,7 @@ function BlogTechInsights({
|
|
|
994
994
|
"h1",
|
|
995
995
|
{
|
|
996
996
|
className: cn(
|
|
997
|
-
"text-
|
|
997
|
+
"text-2xl font-bold lg:text-3xl",
|
|
998
998
|
headingClassName
|
|
999
999
|
),
|
|
1000
1000
|
children: heading
|
|
@@ -34,36 +34,6 @@ var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
|
34
34
|
function cn(...inputs) {
|
|
35
35
|
return tailwindMerge.twMerge(clsx.clsx(inputs));
|
|
36
36
|
}
|
|
37
|
-
function getNestedCardBg(parentBg, variant = "muted", options) {
|
|
38
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
39
|
-
if (isDark) {
|
|
40
|
-
switch (variant) {
|
|
41
|
-
case "muted":
|
|
42
|
-
return "bg-background";
|
|
43
|
-
case "card":
|
|
44
|
-
return "bg-card";
|
|
45
|
-
case "accent":
|
|
46
|
-
return "bg-accent";
|
|
47
|
-
case "subtle":
|
|
48
|
-
return "bg-background/50";
|
|
49
|
-
}
|
|
50
|
-
} else {
|
|
51
|
-
switch (variant) {
|
|
52
|
-
case "muted":
|
|
53
|
-
return "bg-muted";
|
|
54
|
-
case "card":
|
|
55
|
-
return "bg-card";
|
|
56
|
-
case "accent":
|
|
57
|
-
return "bg-accent";
|
|
58
|
-
case "subtle":
|
|
59
|
-
return "bg-muted/50";
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
function getNestedCardTextColor(parentBg, options) {
|
|
64
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
65
|
-
return isDark ? "text-foreground" : "";
|
|
66
|
-
}
|
|
67
37
|
function normalizePhoneNumber(input) {
|
|
68
38
|
const trimmed = input.trim();
|
|
69
39
|
if (trimmed.toLowerCase().startsWith("tel:")) {
|
|
@@ -909,7 +879,6 @@ var Section = React__namespace.default.forwardRef(
|
|
|
909
879
|
Section.displayName = "Section";
|
|
910
880
|
function CtaCaseStudyTestimonial({
|
|
911
881
|
badge,
|
|
912
|
-
badgeText,
|
|
913
882
|
heading,
|
|
914
883
|
description,
|
|
915
884
|
sections,
|
|
@@ -926,7 +895,6 @@ function CtaCaseStudyTestimonial({
|
|
|
926
895
|
industryBadge,
|
|
927
896
|
companyDetails,
|
|
928
897
|
className,
|
|
929
|
-
containerClassName,
|
|
930
898
|
gridClassName,
|
|
931
899
|
contentClassName,
|
|
932
900
|
badgeClassName,
|
|
@@ -937,7 +905,8 @@ function CtaCaseStudyTestimonial({
|
|
|
937
905
|
actionsClassName,
|
|
938
906
|
sidebarClassName,
|
|
939
907
|
background,
|
|
940
|
-
|
|
908
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
909
|
+
spacing = "py-32 md:py-32",
|
|
941
910
|
pattern,
|
|
942
911
|
patternOpacity,
|
|
943
912
|
optixFlowConfig
|
|
@@ -1027,7 +996,7 @@ function CtaCaseStudyTestimonial({
|
|
|
1027
996
|
index
|
|
1028
997
|
)) });
|
|
1029
998
|
}, [statsSlot, stats]);
|
|
1030
|
-
const badgeContent = badge
|
|
999
|
+
const badgeContent = badge;
|
|
1031
1000
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1032
1001
|
Section,
|
|
1033
1002
|
{
|
|
@@ -1064,7 +1033,7 @@ function CtaCaseStudyTestimonial({
|
|
|
1064
1033
|
"div",
|
|
1065
1034
|
{
|
|
1066
1035
|
className: cn(
|
|
1067
|
-
"relative mt-8 border-l-4 border-primary/20 pl-6 italic
|
|
1036
|
+
"relative mt-8 border-l-4 border-primary/20 pl-6 italic",
|
|
1068
1037
|
testimonialClassName
|
|
1069
1038
|
),
|
|
1070
1039
|
children: [
|
|
@@ -1073,7 +1042,7 @@ function CtaCaseStudyTestimonial({
|
|
|
1073
1042
|
{
|
|
1074
1043
|
name: "lucide/quote",
|
|
1075
1044
|
size: 24,
|
|
1076
|
-
className: "absolute -left-3 -top-2 rounded-full
|
|
1045
|
+
className: "absolute -left-3 -top-2 rounded-full"
|
|
1077
1046
|
}
|
|
1078
1047
|
),
|
|
1079
1048
|
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: "md:text-lg", children: [
|
|
@@ -1107,11 +1076,7 @@ function CtaCaseStudyTestimonial({
|
|
|
1107
1076
|
) }) })
|
|
1108
1077
|
] }),
|
|
1109
1078
|
statsContent,
|
|
1110
|
-
(companyLogo || companyName || industryBadge || companyDetails) && /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: cn(
|
|
1111
|
-
"mt-6 rounded-lg border p-4",
|
|
1112
|
-
getNestedCardBg(background),
|
|
1113
|
-
getNestedCardTextColor(background)
|
|
1114
|
-
), children: [
|
|
1079
|
+
(companyLogo || companyName || industryBadge || companyDetails) && /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: cn("mt-6 rounded-lg border p-4"), children: [
|
|
1115
1080
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
1116
1081
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
1117
1082
|
companyLogo && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-2FsyKLdT.cjs';
|
|
3
|
-
import { A as ActionConfig } from './blocks-gR13ES5A.cjs';
|
|
3
|
+
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-gR13ES5A.cjs';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'class-variance-authority';
|
|
6
6
|
import './button-variants-lRElsmTc.cjs';
|
|
@@ -171,14 +171,7 @@ interface CtaCaseStudyTestimonialProps {
|
|
|
171
171
|
/**
|
|
172
172
|
* Optional Optix Flow configuration for image optimization
|
|
173
173
|
*/
|
|
174
|
-
optixFlowConfig?:
|
|
175
|
-
apiKey: string;
|
|
176
|
-
compression?: number;
|
|
177
|
-
};
|
|
178
|
-
/**
|
|
179
|
-
* @deprecated Use badge instead
|
|
180
|
-
*/
|
|
181
|
-
badgeText?: string;
|
|
174
|
+
optixFlowConfig?: OptixFlowConfig;
|
|
182
175
|
}
|
|
183
176
|
/**
|
|
184
177
|
* CtaCaseStudyTestimonial - A comprehensive case study CTA with testimonial quote,
|
|
@@ -199,6 +192,6 @@ interface CtaCaseStudyTestimonialProps {
|
|
|
199
192
|
* />
|
|
200
193
|
* ```
|
|
201
194
|
*/
|
|
202
|
-
declare function CtaCaseStudyTestimonial({ badge,
|
|
195
|
+
declare function CtaCaseStudyTestimonial({ badge, heading, description, sections, sectionsSlot, testimonialQuote, actions, actionsSlot, featuredImage, featuredImageAlt, stats, statsSlot, companyLogo, companyName, industryBadge, companyDetails, className, gridClassName, contentClassName, badgeClassName, headingClassName, descriptionClassName, sectionsClassName, testimonialClassName, actionsClassName, sidebarClassName, background, containerClassName, spacing, pattern, patternOpacity, optixFlowConfig, }: CtaCaseStudyTestimonialProps): React.JSX.Element;
|
|
203
196
|
|
|
204
197
|
export { type CtaCaseStudySection, type CtaCaseStudyStat, CtaCaseStudyTestimonial, type CtaCaseStudyTestimonialProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { S as SectionBackground, s as SectionSpacing, t as PatternName } from './community-initiatives-CtLnPq2v.js';
|
|
3
|
-
import { A as ActionConfig } from './blocks-CsMdf2Jh.js';
|
|
3
|
+
import { A as ActionConfig, O as OptixFlowConfig } from './blocks-CsMdf2Jh.js';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import 'class-variance-authority';
|
|
6
6
|
import './button-variants-lRElsmTc.js';
|
|
@@ -171,14 +171,7 @@ interface CtaCaseStudyTestimonialProps {
|
|
|
171
171
|
/**
|
|
172
172
|
* Optional Optix Flow configuration for image optimization
|
|
173
173
|
*/
|
|
174
|
-
optixFlowConfig?:
|
|
175
|
-
apiKey: string;
|
|
176
|
-
compression?: number;
|
|
177
|
-
};
|
|
178
|
-
/**
|
|
179
|
-
* @deprecated Use badge instead
|
|
180
|
-
*/
|
|
181
|
-
badgeText?: string;
|
|
174
|
+
optixFlowConfig?: OptixFlowConfig;
|
|
182
175
|
}
|
|
183
176
|
/**
|
|
184
177
|
* CtaCaseStudyTestimonial - A comprehensive case study CTA with testimonial quote,
|
|
@@ -199,6 +192,6 @@ interface CtaCaseStudyTestimonialProps {
|
|
|
199
192
|
* />
|
|
200
193
|
* ```
|
|
201
194
|
*/
|
|
202
|
-
declare function CtaCaseStudyTestimonial({ badge,
|
|
195
|
+
declare function CtaCaseStudyTestimonial({ badge, heading, description, sections, sectionsSlot, testimonialQuote, actions, actionsSlot, featuredImage, featuredImageAlt, stats, statsSlot, companyLogo, companyName, industryBadge, companyDetails, className, gridClassName, contentClassName, badgeClassName, headingClassName, descriptionClassName, sectionsClassName, testimonialClassName, actionsClassName, sidebarClassName, background, containerClassName, spacing, pattern, patternOpacity, optixFlowConfig, }: CtaCaseStudyTestimonialProps): React.JSX.Element;
|
|
203
196
|
|
|
204
197
|
export { type CtaCaseStudySection, type CtaCaseStudyStat, CtaCaseStudyTestimonial, type CtaCaseStudyTestimonialProps };
|
|
@@ -13,36 +13,6 @@ import { Slot } from '@radix-ui/react-slot';
|
|
|
13
13
|
function cn(...inputs) {
|
|
14
14
|
return twMerge(clsx(inputs));
|
|
15
15
|
}
|
|
16
|
-
function getNestedCardBg(parentBg, variant = "muted", options) {
|
|
17
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
18
|
-
if (isDark) {
|
|
19
|
-
switch (variant) {
|
|
20
|
-
case "muted":
|
|
21
|
-
return "bg-background";
|
|
22
|
-
case "card":
|
|
23
|
-
return "bg-card";
|
|
24
|
-
case "accent":
|
|
25
|
-
return "bg-accent";
|
|
26
|
-
case "subtle":
|
|
27
|
-
return "bg-background/50";
|
|
28
|
-
}
|
|
29
|
-
} else {
|
|
30
|
-
switch (variant) {
|
|
31
|
-
case "muted":
|
|
32
|
-
return "bg-muted";
|
|
33
|
-
case "card":
|
|
34
|
-
return "bg-card";
|
|
35
|
-
case "accent":
|
|
36
|
-
return "bg-accent";
|
|
37
|
-
case "subtle":
|
|
38
|
-
return "bg-muted/50";
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
function getNestedCardTextColor(parentBg, options) {
|
|
43
|
-
const isDark = parentBg === "dark" || parentBg === "secondary" || parentBg === "primary";
|
|
44
|
-
return isDark ? "text-foreground" : "";
|
|
45
|
-
}
|
|
46
16
|
function normalizePhoneNumber(input) {
|
|
47
17
|
const trimmed = input.trim();
|
|
48
18
|
if (trimmed.toLowerCase().startsWith("tel:")) {
|
|
@@ -888,7 +858,6 @@ var Section = React__default.forwardRef(
|
|
|
888
858
|
Section.displayName = "Section";
|
|
889
859
|
function CtaCaseStudyTestimonial({
|
|
890
860
|
badge,
|
|
891
|
-
badgeText,
|
|
892
861
|
heading,
|
|
893
862
|
description,
|
|
894
863
|
sections,
|
|
@@ -905,7 +874,6 @@ function CtaCaseStudyTestimonial({
|
|
|
905
874
|
industryBadge,
|
|
906
875
|
companyDetails,
|
|
907
876
|
className,
|
|
908
|
-
containerClassName,
|
|
909
877
|
gridClassName,
|
|
910
878
|
contentClassName,
|
|
911
879
|
badgeClassName,
|
|
@@ -916,7 +884,8 @@ function CtaCaseStudyTestimonial({
|
|
|
916
884
|
actionsClassName,
|
|
917
885
|
sidebarClassName,
|
|
918
886
|
background,
|
|
919
|
-
|
|
887
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
888
|
+
spacing = "py-32 md:py-32",
|
|
920
889
|
pattern,
|
|
921
890
|
patternOpacity,
|
|
922
891
|
optixFlowConfig
|
|
@@ -1006,7 +975,7 @@ function CtaCaseStudyTestimonial({
|
|
|
1006
975
|
index
|
|
1007
976
|
)) });
|
|
1008
977
|
}, [statsSlot, stats]);
|
|
1009
|
-
const badgeContent = badge
|
|
978
|
+
const badgeContent = badge;
|
|
1010
979
|
return /* @__PURE__ */ jsx(
|
|
1011
980
|
Section,
|
|
1012
981
|
{
|
|
@@ -1043,7 +1012,7 @@ function CtaCaseStudyTestimonial({
|
|
|
1043
1012
|
"div",
|
|
1044
1013
|
{
|
|
1045
1014
|
className: cn(
|
|
1046
|
-
"relative mt-8 border-l-4 border-primary/20 pl-6 italic
|
|
1015
|
+
"relative mt-8 border-l-4 border-primary/20 pl-6 italic",
|
|
1047
1016
|
testimonialClassName
|
|
1048
1017
|
),
|
|
1049
1018
|
children: [
|
|
@@ -1052,7 +1021,7 @@ function CtaCaseStudyTestimonial({
|
|
|
1052
1021
|
{
|
|
1053
1022
|
name: "lucide/quote",
|
|
1054
1023
|
size: 24,
|
|
1055
|
-
className: "absolute -left-3 -top-2 rounded-full
|
|
1024
|
+
className: "absolute -left-3 -top-2 rounded-full"
|
|
1056
1025
|
}
|
|
1057
1026
|
),
|
|
1058
1027
|
/* @__PURE__ */ jsxs("p", { className: "md:text-lg", children: [
|
|
@@ -1086,11 +1055,7 @@ function CtaCaseStudyTestimonial({
|
|
|
1086
1055
|
) }) })
|
|
1087
1056
|
] }),
|
|
1088
1057
|
statsContent,
|
|
1089
|
-
(companyLogo || companyName || industryBadge || companyDetails) && /* @__PURE__ */ jsxs(Card, { className: cn(
|
|
1090
|
-
"mt-6 rounded-lg border p-4",
|
|
1091
|
-
getNestedCardBg(background),
|
|
1092
|
-
getNestedCardTextColor(background)
|
|
1093
|
-
), children: [
|
|
1058
|
+
(companyLogo || companyName || industryBadge || companyDetails) && /* @__PURE__ */ jsxs(Card, { className: cn("mt-6 rounded-lg border p-4"), children: [
|
|
1094
1059
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
1095
1060
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
1096
1061
|
companyLogo && /* @__PURE__ */ jsx(
|
|
@@ -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 Card({ className, ...props }) {
|
|
62
36
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
63
37
|
"div",
|
|
@@ -877,7 +851,6 @@ function CtaDocumentationLinks({
|
|
|
877
851
|
links,
|
|
878
852
|
linksSlot,
|
|
879
853
|
className,
|
|
880
|
-
containerClassName,
|
|
881
854
|
cardClassName,
|
|
882
855
|
contentClassName,
|
|
883
856
|
headingClassName,
|
|
@@ -886,7 +859,8 @@ function CtaDocumentationLinks({
|
|
|
886
859
|
linksClassName,
|
|
887
860
|
linkCardClassName,
|
|
888
861
|
background,
|
|
889
|
-
|
|
862
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
863
|
+
spacing = "py-32 md:py-32",
|
|
890
864
|
pattern,
|
|
891
865
|
patternOpacity
|
|
892
866
|
}) {
|
|
@@ -954,7 +928,7 @@ function CtaDocumentationLinks({
|
|
|
954
928
|
)),
|
|
955
929
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
956
930
|
link.title && /* @__PURE__ */ jsxRuntime.jsx("h5", { className: "mb-2 leading-4 font-medium", children: link.title }),
|
|
957
|
-
link.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-sm"
|
|
931
|
+
link.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-sm"), children: link.description })
|
|
958
932
|
] })
|
|
959
933
|
] }),
|
|
960
934
|
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/chevron-right", size: 24 })
|
|
@@ -970,7 +944,8 @@ function CtaDocumentationLinks({
|
|
|
970
944
|
className: cn(className),
|
|
971
945
|
pattern,
|
|
972
946
|
patternOpacity,
|
|
973
|
-
|
|
947
|
+
containerClassName,
|
|
948
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
974
949
|
"div",
|
|
975
950
|
{
|
|
976
951
|
className: cn(
|
|
@@ -989,7 +964,7 @@ function CtaDocumentationLinks({
|
|
|
989
964
|
children: heading
|
|
990
965
|
}
|
|
991
966
|
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mb-2", headingClassName), children: heading })),
|
|
992
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn(
|
|
967
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn(descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description })),
|
|
993
968
|
actionsContent
|
|
994
969
|
] }),
|
|
995
970
|
linksContent
|