@opensite/ui 3.7.8 → 3.8.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/blog-cards-tagline-cta.cjs +52 -59
- package/dist/blog-cards-tagline-cta.d.cts +1 -1
- package/dist/blog-cards-tagline-cta.d.ts +1 -1
- package/dist/blog-cards-tagline-cta.js +52 -59
- package/dist/blog-horizontal-cards.cjs +44 -29
- package/dist/blog-horizontal-cards.js +44 -29
- package/dist/contact-demo.cjs +1 -1
- package/dist/contact-demo.js +1 -1
- package/dist/registry.cjs +103 -98
- package/dist/registry.js +103 -98
- package/dist/stats-bar-comparison.cjs +6 -39
- package/dist/stats-bar-comparison.js +6 -39
- package/package.json +1 -1
package/dist/registry.cjs
CHANGED
|
@@ -15069,7 +15069,7 @@ function ContactDemo({
|
|
|
15069
15069
|
as: "h2",
|
|
15070
15070
|
text: heading,
|
|
15071
15071
|
className: cn(
|
|
15072
|
-
"
|
|
15072
|
+
"justify-start text-left text-5xl font-bold text-pretty md:justify-center md:text-center lg:text-6xl xl:text-7xl",
|
|
15073
15073
|
headingClassName
|
|
15074
15074
|
),
|
|
15075
15075
|
animateBy: "words",
|
|
@@ -35827,7 +35827,6 @@ function BlogCardsTaglineCta({
|
|
|
35827
35827
|
postsSlot,
|
|
35828
35828
|
readMoreText,
|
|
35829
35829
|
className,
|
|
35830
|
-
containerClassName,
|
|
35831
35830
|
headerClassName,
|
|
35832
35831
|
badgeClassName,
|
|
35833
35832
|
headingClassName,
|
|
@@ -35837,7 +35836,8 @@ function BlogCardsTaglineCta({
|
|
|
35837
35836
|
postCardClassName,
|
|
35838
35837
|
optixFlowConfig,
|
|
35839
35838
|
background,
|
|
35840
|
-
|
|
35839
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
35840
|
+
spacing = "lg",
|
|
35841
35841
|
pattern,
|
|
35842
35842
|
patternOpacity
|
|
35843
35843
|
}) {
|
|
@@ -35881,7 +35881,7 @@ function BlogCardsTaglineCta({
|
|
|
35881
35881
|
Card,
|
|
35882
35882
|
{
|
|
35883
35883
|
className: cn(
|
|
35884
|
-
"grid grid-rows-[auto_auto_1fr_auto] overflow-hidden pt-0",
|
|
35884
|
+
"grid grid-rows-[auto_auto_1fr_auto] gap-4 overflow-hidden pt-0",
|
|
35885
35885
|
postCardClassName
|
|
35886
35886
|
),
|
|
35887
35887
|
children: [
|
|
@@ -35896,13 +35896,14 @@ function BlogCardsTaglineCta({
|
|
|
35896
35896
|
src: post.image,
|
|
35897
35897
|
alt: postTitle,
|
|
35898
35898
|
className: "h-full w-full object-cover object-center",
|
|
35899
|
-
optixFlowConfig
|
|
35899
|
+
optixFlowConfig,
|
|
35900
|
+
loading: "eager"
|
|
35900
35901
|
}
|
|
35901
35902
|
)
|
|
35902
35903
|
}
|
|
35903
35904
|
) }),
|
|
35904
|
-
/* @__PURE__ */ jsxRuntime.jsx(CardHeader, { children: post.title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-semibold hover:underline md:text-xl", children: /* @__PURE__ */ jsxRuntime.jsx(pressable.Pressable, { href: postHref, children: post.title }) }) }),
|
|
35905
|
-
/* @__PURE__ */ jsxRuntime.jsx(CardContent, { children: postSummary && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "
|
|
35905
|
+
/* @__PURE__ */ jsxRuntime.jsx(CardHeader, { className: post.image ? "pt-0" : "pt-6", children: post.title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-semibold hover:underline md:text-xl", children: /* @__PURE__ */ jsxRuntime.jsx(pressable.Pressable, { href: postHref, children: post.title }) }) }),
|
|
35906
|
+
/* @__PURE__ */ jsxRuntime.jsx(CardContent, { children: postSummary && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "opacity-70 line-clamp-4", children: postSummary }) }),
|
|
35906
35907
|
/* @__PURE__ */ jsxRuntime.jsx(CardFooter, { children: readMoreText && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
35907
35908
|
pressable.Pressable,
|
|
35908
35909
|
{
|
|
@@ -35936,60 +35937,52 @@ function BlogCardsTaglineCta({
|
|
|
35936
35937
|
className: cn(className),
|
|
35937
35938
|
pattern,
|
|
35938
35939
|
patternOpacity,
|
|
35939
|
-
|
|
35940
|
-
|
|
35941
|
-
|
|
35942
|
-
|
|
35943
|
-
|
|
35944
|
-
|
|
35945
|
-
|
|
35946
|
-
|
|
35947
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
35948
|
-
"div",
|
|
35949
|
-
{
|
|
35950
|
-
className: cn(
|
|
35951
|
-
"text-center flex flex-col items-center px-4 md:px-0",
|
|
35952
|
-
headerClassName
|
|
35953
|
-
),
|
|
35954
|
-
children: [
|
|
35955
|
-
badge && (typeof badge === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: "secondary", className: cn("mb-6", badgeClassName), children: badge }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mb-6", badgeClassName), children: badge })),
|
|
35956
|
-
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
35957
|
-
"h2",
|
|
35958
|
-
{
|
|
35959
|
-
className: cn(
|
|
35960
|
-
"mb-3 text-3xl font-semibold text-pretty md:mb-4 md:text-4xl lg:mb-6 lg:max-w-3xl lg:text-5xl",
|
|
35961
|
-
headingClassName
|
|
35962
|
-
),
|
|
35963
|
-
children: heading
|
|
35964
|
-
}
|
|
35965
|
-
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
|
|
35966
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
35967
|
-
"p",
|
|
35968
|
-
{
|
|
35969
|
-
className: cn(
|
|
35970
|
-
"mb-8 text-muted-foreground md:text-base lg:max-w-2xl lg:text-lg text-balance",
|
|
35971
|
-
descriptionClassName
|
|
35972
|
-
),
|
|
35973
|
-
children: description
|
|
35974
|
-
}
|
|
35975
|
-
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description })),
|
|
35976
|
-
ctaActionContent
|
|
35977
|
-
]
|
|
35978
|
-
}
|
|
35940
|
+
containerClassName,
|
|
35941
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mx-auto flex flex-col items-center gap-16 lg:px-16", children: [
|
|
35942
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
35943
|
+
"div",
|
|
35944
|
+
{
|
|
35945
|
+
className: cn(
|
|
35946
|
+
"text-center flex flex-col items-center px-4 md:px-0",
|
|
35947
|
+
headerClassName
|
|
35979
35948
|
),
|
|
35980
|
-
|
|
35981
|
-
"
|
|
35982
|
-
|
|
35983
|
-
|
|
35984
|
-
|
|
35985
|
-
|
|
35986
|
-
|
|
35987
|
-
|
|
35988
|
-
|
|
35989
|
-
|
|
35990
|
-
|
|
35991
|
-
|
|
35992
|
-
|
|
35949
|
+
children: [
|
|
35950
|
+
badge && (typeof badge === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: cn("mb-6", badgeClassName), children: badge }) : badge),
|
|
35951
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
35952
|
+
"h2",
|
|
35953
|
+
{
|
|
35954
|
+
className: cn(
|
|
35955
|
+
"mb-3 text-3xl font-semibold text-pretty md:mb-4 md:text-4xl lg:mb-6 lg:max-w-3xl lg:text-5xl",
|
|
35956
|
+
headingClassName
|
|
35957
|
+
),
|
|
35958
|
+
children: heading
|
|
35959
|
+
}
|
|
35960
|
+
) : heading),
|
|
35961
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
35962
|
+
"p",
|
|
35963
|
+
{
|
|
35964
|
+
className: cn(
|
|
35965
|
+
"mb-8 md:text-base max-w-full md:max-w-md lg:text-lg text-balance",
|
|
35966
|
+
descriptionClassName
|
|
35967
|
+
),
|
|
35968
|
+
children: description
|
|
35969
|
+
}
|
|
35970
|
+
) : description),
|
|
35971
|
+
ctaActionContent
|
|
35972
|
+
]
|
|
35973
|
+
}
|
|
35974
|
+
),
|
|
35975
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
35976
|
+
"div",
|
|
35977
|
+
{
|
|
35978
|
+
className: cn(
|
|
35979
|
+
"grid gap-6 md:grid-cols-2 lg:grid-cols-3 lg:gap-8",
|
|
35980
|
+
postsClassName
|
|
35981
|
+
),
|
|
35982
|
+
children: postsContent
|
|
35983
|
+
}
|
|
35984
|
+
)
|
|
35985
|
+
] })
|
|
35993
35986
|
}
|
|
35994
35987
|
);
|
|
35995
35988
|
}
|
|
@@ -36910,11 +36903,11 @@ function BlogHorizontalCards({
|
|
|
36910
36903
|
)
|
|
36911
36904
|
}
|
|
36912
36905
|
) }),
|
|
36913
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 space-y-
|
|
36914
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-4 text-sm
|
|
36906
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 space-y-4", children: [
|
|
36907
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-start items-center gap-3 md:gap-4 text-sm flex-wrap", children: [
|
|
36915
36908
|
postLabel && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: "secondary", children: postLabel }),
|
|
36916
|
-
post.author && /* @__PURE__ */ jsxRuntime.jsx("span", { children: post.author }),
|
|
36917
|
-
postDate && /* @__PURE__ */ jsxRuntime.jsx("span", { children: postDate })
|
|
36909
|
+
post.author && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-semibold", children: post.author }),
|
|
36910
|
+
postDate && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "opacity-70", children: postDate })
|
|
36918
36911
|
] }),
|
|
36919
36912
|
post.title && /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-xl leading-tight font-bold lg:text-2xl", children: /* @__PURE__ */ jsxRuntime.jsx(pressable.Pressable, { href: postHref, className: "hover:underline", children: post.title }) }),
|
|
36920
36913
|
postSummary && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-base opacity-70 line-clamp-3", children: postSummary }),
|
|
@@ -36946,31 +36939,46 @@ function BlogHorizontalCards({
|
|
|
36946
36939
|
pattern,
|
|
36947
36940
|
patternOpacity,
|
|
36948
36941
|
containerClassName,
|
|
36949
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center", children: [
|
|
36950
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
36951
|
-
|
|
36952
|
-
|
|
36953
|
-
"
|
|
36954
|
-
|
|
36955
|
-
className: cn(
|
|
36956
|
-
|
|
36957
|
-
|
|
36958
|
-
|
|
36959
|
-
|
|
36960
|
-
|
|
36961
|
-
|
|
36962
|
-
|
|
36963
|
-
|
|
36964
|
-
|
|
36965
|
-
|
|
36966
|
-
|
|
36967
|
-
|
|
36968
|
-
|
|
36969
|
-
|
|
36970
|
-
|
|
36971
|
-
|
|
36972
|
-
|
|
36973
|
-
|
|
36942
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center gap-6 md:gap-12", children: [
|
|
36943
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
36944
|
+
"div",
|
|
36945
|
+
{
|
|
36946
|
+
className: cn("max-w-full md:max-w-3xl text-left", headerClassName),
|
|
36947
|
+
children: [
|
|
36948
|
+
badge && (typeof badge === "string" ? /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: cn("mb-6", badgeClassName), children: badge }) : badge),
|
|
36949
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
36950
|
+
"h2",
|
|
36951
|
+
{
|
|
36952
|
+
className: cn(
|
|
36953
|
+
"mb-3 text-3xl font-semibold text-pretty md:mb-4 md:text-5xl lg:mb-6",
|
|
36954
|
+
headingClassName
|
|
36955
|
+
),
|
|
36956
|
+
children: heading
|
|
36957
|
+
}
|
|
36958
|
+
) : heading),
|
|
36959
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
36960
|
+
"p",
|
|
36961
|
+
{
|
|
36962
|
+
className: cn(
|
|
36963
|
+
"mb-12 opacity-70 md:text-base lg:text-lg text-balance",
|
|
36964
|
+
descriptionClassName
|
|
36965
|
+
),
|
|
36966
|
+
children: description
|
|
36967
|
+
}
|
|
36968
|
+
) : description)
|
|
36969
|
+
]
|
|
36970
|
+
}
|
|
36971
|
+
),
|
|
36972
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36973
|
+
"div",
|
|
36974
|
+
{
|
|
36975
|
+
className: cn(
|
|
36976
|
+
"max-w-full md:max-w-3xl space-y-16 md:space-y-24",
|
|
36977
|
+
postsClassName
|
|
36978
|
+
),
|
|
36979
|
+
children: postsContent
|
|
36980
|
+
}
|
|
36981
|
+
),
|
|
36974
36982
|
(ctaSlot || ctaAction) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mt-16 text-center", ctaClassName), children: ctaContent })
|
|
36975
36983
|
] })
|
|
36976
36984
|
}
|
|
@@ -99686,7 +99694,7 @@ function StatsBarComparison({
|
|
|
99686
99694
|
const badgeContent = React30.useMemo(() => {
|
|
99687
99695
|
if (badgeSlot) return badgeSlot;
|
|
99688
99696
|
if (!badge) return null;
|
|
99689
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Badge, {
|
|
99697
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Badge, { className: cn("mb-4", badgeClassName), children: badge });
|
|
99690
99698
|
}, [badgeSlot, badge, badgeClassName]);
|
|
99691
99699
|
const comparisonsContent = React30.useMemo(() => {
|
|
99692
99700
|
if (comparisonsSlot) return comparisonsSlot;
|
|
@@ -99695,9 +99703,7 @@ function StatsBarComparison({
|
|
|
99695
99703
|
"div",
|
|
99696
99704
|
{
|
|
99697
99705
|
className: cn(
|
|
99698
|
-
"rounded-xl border p-6",
|
|
99699
|
-
getNestedCardBg(background, "card"),
|
|
99700
|
-
getNestedCardTextColor(background),
|
|
99706
|
+
"rounded-xl border p-6 bg-card text-card-foreground",
|
|
99701
99707
|
group.className,
|
|
99702
99708
|
groupCardClassName
|
|
99703
99709
|
),
|
|
@@ -99708,7 +99714,7 @@ function StatsBarComparison({
|
|
|
99708
99714
|
className: cn("mb-6 text-lg font-semibold", groupTitleClassName),
|
|
99709
99715
|
children: group.title
|
|
99710
99716
|
}
|
|
99711
|
-
) :
|
|
99717
|
+
) : group.title),
|
|
99712
99718
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-4", children: group.bars.map((bar, barIndex) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: bar.className, children: [
|
|
99713
99719
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between", children: [
|
|
99714
99720
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: cn("text-sm font-medium", barLabelClassName), children: bar.label }),
|
|
@@ -99719,7 +99725,6 @@ function StatsBarComparison({
|
|
|
99719
99725
|
{
|
|
99720
99726
|
className: cn(
|
|
99721
99727
|
"h-3 w-full overflow-hidden rounded-full",
|
|
99722
|
-
getNestedCardBg(background, "muted"),
|
|
99723
99728
|
barTrackClassName
|
|
99724
99729
|
),
|
|
99725
99730
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -99777,17 +99782,17 @@ function StatsBarComparison({
|
|
|
99777
99782
|
),
|
|
99778
99783
|
children: heading
|
|
99779
99784
|
}
|
|
99780
|
-
) :
|
|
99785
|
+
) : heading),
|
|
99781
99786
|
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
99782
99787
|
"p",
|
|
99783
99788
|
{
|
|
99784
99789
|
className: cn(
|
|
99785
|
-
"mx-auto max-w-
|
|
99790
|
+
"mx-auto max-w-full md:max-w-md text-balance opacity-70",
|
|
99786
99791
|
descriptionClassName
|
|
99787
99792
|
),
|
|
99788
99793
|
children: description
|
|
99789
99794
|
}
|
|
99790
|
-
) :
|
|
99795
|
+
) : description)
|
|
99791
99796
|
] }),
|
|
99792
99797
|
(comparisonsSlot || comparisons && comparisons.length > 0) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("space-y-10", comparisonsClassName), children: comparisonsContent })
|
|
99793
99798
|
] })
|
package/dist/registry.js
CHANGED
|
@@ -15029,7 +15029,7 @@ function ContactDemo({
|
|
|
15029
15029
|
as: "h2",
|
|
15030
15030
|
text: heading,
|
|
15031
15031
|
className: cn(
|
|
15032
|
-
"
|
|
15032
|
+
"justify-start text-left text-5xl font-bold text-pretty md:justify-center md:text-center lg:text-6xl xl:text-7xl",
|
|
15033
15033
|
headingClassName
|
|
15034
15034
|
),
|
|
15035
15035
|
animateBy: "words",
|
|
@@ -35787,7 +35787,6 @@ function BlogCardsTaglineCta({
|
|
|
35787
35787
|
postsSlot,
|
|
35788
35788
|
readMoreText,
|
|
35789
35789
|
className,
|
|
35790
|
-
containerClassName,
|
|
35791
35790
|
headerClassName,
|
|
35792
35791
|
badgeClassName,
|
|
35793
35792
|
headingClassName,
|
|
@@ -35797,7 +35796,8 @@ function BlogCardsTaglineCta({
|
|
|
35797
35796
|
postCardClassName,
|
|
35798
35797
|
optixFlowConfig,
|
|
35799
35798
|
background,
|
|
35800
|
-
|
|
35799
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
35800
|
+
spacing = "lg",
|
|
35801
35801
|
pattern,
|
|
35802
35802
|
patternOpacity
|
|
35803
35803
|
}) {
|
|
@@ -35841,7 +35841,7 @@ function BlogCardsTaglineCta({
|
|
|
35841
35841
|
Card,
|
|
35842
35842
|
{
|
|
35843
35843
|
className: cn(
|
|
35844
|
-
"grid grid-rows-[auto_auto_1fr_auto] overflow-hidden pt-0",
|
|
35844
|
+
"grid grid-rows-[auto_auto_1fr_auto] gap-4 overflow-hidden pt-0",
|
|
35845
35845
|
postCardClassName
|
|
35846
35846
|
),
|
|
35847
35847
|
children: [
|
|
@@ -35856,13 +35856,14 @@ function BlogCardsTaglineCta({
|
|
|
35856
35856
|
src: post.image,
|
|
35857
35857
|
alt: postTitle,
|
|
35858
35858
|
className: "h-full w-full object-cover object-center",
|
|
35859
|
-
optixFlowConfig
|
|
35859
|
+
optixFlowConfig,
|
|
35860
|
+
loading: "eager"
|
|
35860
35861
|
}
|
|
35861
35862
|
)
|
|
35862
35863
|
}
|
|
35863
35864
|
) }),
|
|
35864
|
-
/* @__PURE__ */ jsx(CardHeader, { children: post.title && /* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold hover:underline md:text-xl", children: /* @__PURE__ */ jsx(Pressable, { href: postHref, children: post.title }) }) }),
|
|
35865
|
-
/* @__PURE__ */ jsx(CardContent, { children: postSummary && /* @__PURE__ */ jsx("p", { className: "
|
|
35865
|
+
/* @__PURE__ */ jsx(CardHeader, { className: post.image ? "pt-0" : "pt-6", children: post.title && /* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold hover:underline md:text-xl", children: /* @__PURE__ */ jsx(Pressable, { href: postHref, children: post.title }) }) }),
|
|
35866
|
+
/* @__PURE__ */ jsx(CardContent, { children: postSummary && /* @__PURE__ */ jsx("p", { className: "opacity-70 line-clamp-4", children: postSummary }) }),
|
|
35866
35867
|
/* @__PURE__ */ jsx(CardFooter, { children: readMoreText && /* @__PURE__ */ jsxs(
|
|
35867
35868
|
Pressable,
|
|
35868
35869
|
{
|
|
@@ -35896,60 +35897,52 @@ function BlogCardsTaglineCta({
|
|
|
35896
35897
|
className: cn(className),
|
|
35897
35898
|
pattern,
|
|
35898
35899
|
patternOpacity,
|
|
35899
|
-
|
|
35900
|
-
|
|
35901
|
-
|
|
35902
|
-
|
|
35903
|
-
|
|
35904
|
-
|
|
35905
|
-
|
|
35906
|
-
|
|
35907
|
-
/* @__PURE__ */ jsxs(
|
|
35908
|
-
"div",
|
|
35909
|
-
{
|
|
35910
|
-
className: cn(
|
|
35911
|
-
"text-center flex flex-col items-center px-4 md:px-0",
|
|
35912
|
-
headerClassName
|
|
35913
|
-
),
|
|
35914
|
-
children: [
|
|
35915
|
-
badge && (typeof badge === "string" ? /* @__PURE__ */ jsx(Badge, { variant: "secondary", className: cn("mb-6", badgeClassName), children: badge }) : /* @__PURE__ */ jsx("div", { className: cn("mb-6", badgeClassName), children: badge })),
|
|
35916
|
-
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
35917
|
-
"h2",
|
|
35918
|
-
{
|
|
35919
|
-
className: cn(
|
|
35920
|
-
"mb-3 text-3xl font-semibold text-pretty md:mb-4 md:text-4xl lg:mb-6 lg:max-w-3xl lg:text-5xl",
|
|
35921
|
-
headingClassName
|
|
35922
|
-
),
|
|
35923
|
-
children: heading
|
|
35924
|
-
}
|
|
35925
|
-
) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
|
|
35926
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
35927
|
-
"p",
|
|
35928
|
-
{
|
|
35929
|
-
className: cn(
|
|
35930
|
-
"mb-8 text-muted-foreground md:text-base lg:max-w-2xl lg:text-lg text-balance",
|
|
35931
|
-
descriptionClassName
|
|
35932
|
-
),
|
|
35933
|
-
children: description
|
|
35934
|
-
}
|
|
35935
|
-
) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description })),
|
|
35936
|
-
ctaActionContent
|
|
35937
|
-
]
|
|
35938
|
-
}
|
|
35900
|
+
containerClassName,
|
|
35901
|
+
children: /* @__PURE__ */ jsxs("div", { className: "mx-auto flex flex-col items-center gap-16 lg:px-16", children: [
|
|
35902
|
+
/* @__PURE__ */ jsxs(
|
|
35903
|
+
"div",
|
|
35904
|
+
{
|
|
35905
|
+
className: cn(
|
|
35906
|
+
"text-center flex flex-col items-center px-4 md:px-0",
|
|
35907
|
+
headerClassName
|
|
35939
35908
|
),
|
|
35940
|
-
|
|
35941
|
-
"
|
|
35942
|
-
|
|
35943
|
-
|
|
35944
|
-
|
|
35945
|
-
|
|
35946
|
-
|
|
35947
|
-
|
|
35948
|
-
|
|
35949
|
-
|
|
35950
|
-
|
|
35951
|
-
|
|
35952
|
-
|
|
35909
|
+
children: [
|
|
35910
|
+
badge && (typeof badge === "string" ? /* @__PURE__ */ jsx(Badge, { className: cn("mb-6", badgeClassName), children: badge }) : badge),
|
|
35911
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
35912
|
+
"h2",
|
|
35913
|
+
{
|
|
35914
|
+
className: cn(
|
|
35915
|
+
"mb-3 text-3xl font-semibold text-pretty md:mb-4 md:text-4xl lg:mb-6 lg:max-w-3xl lg:text-5xl",
|
|
35916
|
+
headingClassName
|
|
35917
|
+
),
|
|
35918
|
+
children: heading
|
|
35919
|
+
}
|
|
35920
|
+
) : heading),
|
|
35921
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
35922
|
+
"p",
|
|
35923
|
+
{
|
|
35924
|
+
className: cn(
|
|
35925
|
+
"mb-8 md:text-base max-w-full md:max-w-md lg:text-lg text-balance",
|
|
35926
|
+
descriptionClassName
|
|
35927
|
+
),
|
|
35928
|
+
children: description
|
|
35929
|
+
}
|
|
35930
|
+
) : description),
|
|
35931
|
+
ctaActionContent
|
|
35932
|
+
]
|
|
35933
|
+
}
|
|
35934
|
+
),
|
|
35935
|
+
/* @__PURE__ */ jsx(
|
|
35936
|
+
"div",
|
|
35937
|
+
{
|
|
35938
|
+
className: cn(
|
|
35939
|
+
"grid gap-6 md:grid-cols-2 lg:grid-cols-3 lg:gap-8",
|
|
35940
|
+
postsClassName
|
|
35941
|
+
),
|
|
35942
|
+
children: postsContent
|
|
35943
|
+
}
|
|
35944
|
+
)
|
|
35945
|
+
] })
|
|
35953
35946
|
}
|
|
35954
35947
|
);
|
|
35955
35948
|
}
|
|
@@ -36870,11 +36863,11 @@ function BlogHorizontalCards({
|
|
|
36870
36863
|
)
|
|
36871
36864
|
}
|
|
36872
36865
|
) }),
|
|
36873
|
-
/* @__PURE__ */ jsxs("div", { className: "flex-1 space-y-
|
|
36874
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4 text-sm
|
|
36866
|
+
/* @__PURE__ */ jsxs("div", { className: "flex-1 space-y-4", children: [
|
|
36867
|
+
/* @__PURE__ */ jsxs("div", { className: "flex justify-start items-center gap-3 md:gap-4 text-sm flex-wrap", children: [
|
|
36875
36868
|
postLabel && /* @__PURE__ */ jsx(Badge, { variant: "secondary", children: postLabel }),
|
|
36876
|
-
post.author && /* @__PURE__ */ jsx("span", { children: post.author }),
|
|
36877
|
-
postDate && /* @__PURE__ */ jsx("span", { children: postDate })
|
|
36869
|
+
post.author && /* @__PURE__ */ jsx("span", { className: "font-semibold", children: post.author }),
|
|
36870
|
+
postDate && /* @__PURE__ */ jsx("span", { className: "opacity-70", children: postDate })
|
|
36878
36871
|
] }),
|
|
36879
36872
|
post.title && /* @__PURE__ */ jsx("h3", { className: "text-xl leading-tight font-bold lg:text-2xl", children: /* @__PURE__ */ jsx(Pressable, { href: postHref, className: "hover:underline", children: post.title }) }),
|
|
36880
36873
|
postSummary && /* @__PURE__ */ jsx("p", { className: "text-base opacity-70 line-clamp-3", children: postSummary }),
|
|
@@ -36906,31 +36899,46 @@ function BlogHorizontalCards({
|
|
|
36906
36899
|
pattern,
|
|
36907
36900
|
patternOpacity,
|
|
36908
36901
|
containerClassName,
|
|
36909
|
-
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center", children: [
|
|
36910
|
-
/* @__PURE__ */ jsxs(
|
|
36911
|
-
|
|
36912
|
-
|
|
36913
|
-
"
|
|
36914
|
-
|
|
36915
|
-
className: cn(
|
|
36916
|
-
|
|
36917
|
-
|
|
36918
|
-
|
|
36919
|
-
|
|
36920
|
-
|
|
36921
|
-
|
|
36922
|
-
|
|
36923
|
-
|
|
36924
|
-
|
|
36925
|
-
|
|
36926
|
-
|
|
36927
|
-
|
|
36928
|
-
|
|
36929
|
-
|
|
36930
|
-
|
|
36931
|
-
|
|
36932
|
-
|
|
36933
|
-
|
|
36902
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-6 md:gap-12", children: [
|
|
36903
|
+
/* @__PURE__ */ jsxs(
|
|
36904
|
+
"div",
|
|
36905
|
+
{
|
|
36906
|
+
className: cn("max-w-full md:max-w-3xl text-left", headerClassName),
|
|
36907
|
+
children: [
|
|
36908
|
+
badge && (typeof badge === "string" ? /* @__PURE__ */ jsx(Badge, { className: cn("mb-6", badgeClassName), children: badge }) : badge),
|
|
36909
|
+
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
36910
|
+
"h2",
|
|
36911
|
+
{
|
|
36912
|
+
className: cn(
|
|
36913
|
+
"mb-3 text-3xl font-semibold text-pretty md:mb-4 md:text-5xl lg:mb-6",
|
|
36914
|
+
headingClassName
|
|
36915
|
+
),
|
|
36916
|
+
children: heading
|
|
36917
|
+
}
|
|
36918
|
+
) : heading),
|
|
36919
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
36920
|
+
"p",
|
|
36921
|
+
{
|
|
36922
|
+
className: cn(
|
|
36923
|
+
"mb-12 opacity-70 md:text-base lg:text-lg text-balance",
|
|
36924
|
+
descriptionClassName
|
|
36925
|
+
),
|
|
36926
|
+
children: description
|
|
36927
|
+
}
|
|
36928
|
+
) : description)
|
|
36929
|
+
]
|
|
36930
|
+
}
|
|
36931
|
+
),
|
|
36932
|
+
/* @__PURE__ */ jsx(
|
|
36933
|
+
"div",
|
|
36934
|
+
{
|
|
36935
|
+
className: cn(
|
|
36936
|
+
"max-w-full md:max-w-3xl space-y-16 md:space-y-24",
|
|
36937
|
+
postsClassName
|
|
36938
|
+
),
|
|
36939
|
+
children: postsContent
|
|
36940
|
+
}
|
|
36941
|
+
),
|
|
36934
36942
|
(ctaSlot || ctaAction) && /* @__PURE__ */ jsx("div", { className: cn("mt-16 text-center", ctaClassName), children: ctaContent })
|
|
36935
36943
|
] })
|
|
36936
36944
|
}
|
|
@@ -99646,7 +99654,7 @@ function StatsBarComparison({
|
|
|
99646
99654
|
const badgeContent = useMemo(() => {
|
|
99647
99655
|
if (badgeSlot) return badgeSlot;
|
|
99648
99656
|
if (!badge) return null;
|
|
99649
|
-
return /* @__PURE__ */ jsx(Badge, {
|
|
99657
|
+
return /* @__PURE__ */ jsx(Badge, { className: cn("mb-4", badgeClassName), children: badge });
|
|
99650
99658
|
}, [badgeSlot, badge, badgeClassName]);
|
|
99651
99659
|
const comparisonsContent = useMemo(() => {
|
|
99652
99660
|
if (comparisonsSlot) return comparisonsSlot;
|
|
@@ -99655,9 +99663,7 @@ function StatsBarComparison({
|
|
|
99655
99663
|
"div",
|
|
99656
99664
|
{
|
|
99657
99665
|
className: cn(
|
|
99658
|
-
"rounded-xl border p-6",
|
|
99659
|
-
getNestedCardBg(background, "card"),
|
|
99660
|
-
getNestedCardTextColor(background),
|
|
99666
|
+
"rounded-xl border p-6 bg-card text-card-foreground",
|
|
99661
99667
|
group.className,
|
|
99662
99668
|
groupCardClassName
|
|
99663
99669
|
),
|
|
@@ -99668,7 +99674,7 @@ function StatsBarComparison({
|
|
|
99668
99674
|
className: cn("mb-6 text-lg font-semibold", groupTitleClassName),
|
|
99669
99675
|
children: group.title
|
|
99670
99676
|
}
|
|
99671
|
-
) :
|
|
99677
|
+
) : group.title),
|
|
99672
99678
|
/* @__PURE__ */ jsx("div", { className: "space-y-4", children: group.bars.map((bar, barIndex) => /* @__PURE__ */ jsxs("div", { className: bar.className, children: [
|
|
99673
99679
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between", children: [
|
|
99674
99680
|
/* @__PURE__ */ jsx("span", { className: cn("text-sm font-medium", barLabelClassName), children: bar.label }),
|
|
@@ -99679,7 +99685,6 @@ function StatsBarComparison({
|
|
|
99679
99685
|
{
|
|
99680
99686
|
className: cn(
|
|
99681
99687
|
"h-3 w-full overflow-hidden rounded-full",
|
|
99682
|
-
getNestedCardBg(background, "muted"),
|
|
99683
99688
|
barTrackClassName
|
|
99684
99689
|
),
|
|
99685
99690
|
children: /* @__PURE__ */ jsx(
|
|
@@ -99737,17 +99742,17 @@ function StatsBarComparison({
|
|
|
99737
99742
|
),
|
|
99738
99743
|
children: heading
|
|
99739
99744
|
}
|
|
99740
|
-
) :
|
|
99745
|
+
) : heading),
|
|
99741
99746
|
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
99742
99747
|
"p",
|
|
99743
99748
|
{
|
|
99744
99749
|
className: cn(
|
|
99745
|
-
"mx-auto max-w-
|
|
99750
|
+
"mx-auto max-w-full md:max-w-md text-balance opacity-70",
|
|
99746
99751
|
descriptionClassName
|
|
99747
99752
|
),
|
|
99748
99753
|
children: description
|
|
99749
99754
|
}
|
|
99750
|
-
) :
|
|
99755
|
+
) : description)
|
|
99751
99756
|
] }),
|
|
99752
99757
|
(comparisonsSlot || comparisons && comparisons.length > 0) && /* @__PURE__ */ jsx("div", { className: cn("space-y-10", comparisonsClassName), children: comparisonsContent })
|
|
99753
99758
|
] })
|