@opensite/ui 0.8.4 → 0.8.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/article-breadcrumb-social.cjs +57 -73
- package/dist/article-breadcrumb-social.d.cts +2 -24
- package/dist/article-breadcrumb-social.d.ts +2 -24
- package/dist/article-breadcrumb-social.js +57 -73
- package/dist/article-compact-toc.cjs +1 -1
- package/dist/article-compact-toc.js +1 -1
- package/dist/article-sidebar-sticky.cjs +73 -26
- package/dist/article-sidebar-sticky.js +73 -26
- package/dist/blog-horizontal-timeline.cjs +7 -4
- package/dist/blog-horizontal-timeline.js +7 -4
- package/dist/faq-badge-support.cjs +18 -5
- package/dist/faq-badge-support.js +18 -5
- package/dist/faq-bordered-badge.cjs +23 -7
- package/dist/faq-bordered-badge.js +23 -7
- package/dist/faq-card-categories.cjs +20 -4
- package/dist/faq-card-categories.js +20 -4
- package/dist/faq-categorized-sections.cjs +19 -4
- package/dist/faq-categorized-sections.js +19 -4
- package/dist/faq-centered-accordion.cjs +18 -5
- package/dist/faq-centered-accordion.js +18 -5
- package/dist/faq-gradient-categories.cjs +19 -4
- package/dist/faq-gradient-categories.js +19 -4
- package/dist/faq-icon-benefits.cjs +11 -2
- package/dist/faq-icon-benefits.js +11 -2
- package/dist/faq-muted-cards.cjs +19 -6
- package/dist/faq-muted-cards.js +19 -6
- package/dist/faq-numbered-grid.cjs +11 -3
- package/dist/faq-numbered-grid.js +11 -3
- package/dist/faq-numbered-list.cjs +11 -3
- package/dist/faq-numbered-list.js +11 -3
- package/dist/faq-profile-sidebar.cjs +57 -20
- package/dist/faq-profile-sidebar.js +57 -20
- package/dist/faq-rounded-cards.cjs +26 -19
- package/dist/faq-rounded-cards.js +26 -19
- package/dist/faq-sidebar-navigation.cjs +48 -28
- package/dist/faq-sidebar-navigation.js +48 -28
- package/dist/faq-simple-accordion.cjs +17 -4
- package/dist/faq-simple-accordion.js +17 -4
- package/dist/faq-split-help.cjs +25 -6
- package/dist/faq-split-help.js +25 -6
- package/dist/faq-split-hero.cjs +604 -0
- package/dist/faq-split-hero.d.cts +116 -0
- package/dist/faq-split-hero.d.ts +116 -0
- package/dist/faq-split-hero.js +582 -0
- package/dist/faq-static-list.cjs +9 -2
- package/dist/faq-static-list.js +9 -2
- package/dist/feature-accordion-image.cjs +8 -2
- package/dist/feature-accordion-image.js +8 -2
- package/dist/feature-badge-grid-six.cjs +1 -1
- package/dist/feature-badge-grid-six.js +1 -1
- package/dist/feature-card-grid-linked.cjs +92 -22
- package/dist/feature-card-grid-linked.js +92 -22
- package/dist/feature-carousel-progress.cjs +1 -1
- package/dist/feature-carousel-progress.js +1 -1
- package/dist/feature-checklist-image.cjs +88 -15
- package/dist/feature-checklist-image.js +88 -15
- package/dist/feature-checklist-three-column.cjs +1 -1
- package/dist/feature-checklist-three-column.js +1 -1
- package/dist/feature-icon-grid-accent.cjs +50 -8
- package/dist/feature-icon-grid-accent.js +50 -8
- package/dist/feature-icon-grid-bordered.cjs +84 -14
- package/dist/feature-icon-grid-bordered.js +84 -14
- package/dist/feature-icon-tabs-content.cjs +217 -84
- package/dist/feature-icon-tabs-content.js +217 -84
- package/dist/feature-image-overlay-badge.cjs +106 -33
- package/dist/feature-image-overlay-badge.js +106 -33
- package/dist/feature-numbered-cards.cjs +154 -35
- package/dist/feature-numbered-cards.js +154 -35
- package/dist/feature-showcase.cjs +66 -71
- package/dist/feature-showcase.d.cts +1 -5
- package/dist/feature-showcase.d.ts +1 -5
- package/dist/feature-showcase.js +67 -72
- package/dist/feature-split-image-reverse.cjs +84 -15
- package/dist/feature-split-image-reverse.js +84 -15
- package/dist/feature-split-image.cjs +87 -15
- package/dist/feature-split-image.js +87 -15
- package/dist/feature-stats-highlight.cjs +50 -13
- package/dist/feature-stats-highlight.js +50 -13
- package/dist/feature-tabbed-content-image.cjs +198 -72
- package/dist/feature-tabbed-content-image.js +198 -72
- package/dist/feature-three-column-values.cjs +67 -14
- package/dist/feature-three-column-values.js +67 -14
- package/dist/feature-utility-cards-grid.cjs +83 -36
- package/dist/feature-utility-cards-grid.js +83 -36
- package/dist/navbar-animated-preview.cjs +8 -2
- package/dist/navbar-animated-preview.js +8 -2
- package/dist/navbar-centered-menu.cjs +8 -2
- package/dist/navbar-centered-menu.js +8 -2
- package/dist/navbar-dark-icons.cjs +8 -2
- package/dist/navbar-dark-icons.js +8 -2
- package/dist/navbar-dropdown-menu.cjs +8 -2
- package/dist/navbar-dropdown-menu.js +8 -2
- package/dist/navbar-education-platform.cjs +8 -2
- package/dist/navbar-education-platform.js +8 -2
- package/dist/navbar-enterprise-mega.cjs +8 -2
- package/dist/navbar-enterprise-mega.js +8 -2
- package/dist/navbar-feature-grid.cjs +8 -2
- package/dist/navbar-feature-grid.js +8 -2
- package/dist/navbar-multi-column-groups.cjs +8 -2
- package/dist/navbar-multi-column-groups.js +8 -2
- package/dist/navbar-platform-resources.cjs +8 -2
- package/dist/navbar-platform-resources.js +8 -2
- package/dist/navbar-sidebar-mobile.cjs +8 -2
- package/dist/navbar-sidebar-mobile.js +8 -2
- package/dist/registry.cjs +1873 -680
- package/dist/registry.js +1873 -680
- package/package.json +1 -1
|
@@ -980,7 +980,7 @@ function ArticleSidebarStickyComponent({
|
|
|
980
980
|
children,
|
|
981
981
|
optixFlowConfig,
|
|
982
982
|
background,
|
|
983
|
-
spacing,
|
|
983
|
+
spacing = "py-6 md:py-32",
|
|
984
984
|
pattern,
|
|
985
985
|
patternOpacity
|
|
986
986
|
}) {
|
|
@@ -991,7 +991,10 @@ function ArticleSidebarStickyComponent({
|
|
|
991
991
|
Pressable,
|
|
992
992
|
{
|
|
993
993
|
href: backHref,
|
|
994
|
-
className: cn(
|
|
994
|
+
className: cn(
|
|
995
|
+
"inline-flex items-center gap-2 text-sm text-muted-foreground hover:text-foreground",
|
|
996
|
+
backLinkClassName
|
|
997
|
+
),
|
|
995
998
|
children: [
|
|
996
999
|
backIcon ?? /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/chevron-left", size: 16 }),
|
|
997
1000
|
backText
|
|
@@ -999,21 +1002,38 @@ function ArticleSidebarStickyComponent({
|
|
|
999
1002
|
}
|
|
1000
1003
|
);
|
|
1001
1004
|
}, [backLinkSlot, backHref, backText, backIcon, backLinkClassName]);
|
|
1002
|
-
const renderAuthor = React.useCallback(
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
/* @__PURE__ */ jsxs(
|
|
1008
|
-
/* @__PURE__ */
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1005
|
+
const renderAuthor = React.useCallback(
|
|
1006
|
+
(isMobile = false) => {
|
|
1007
|
+
if (authorSlot) return authorSlot;
|
|
1008
|
+
if (!authorName) return null;
|
|
1009
|
+
const avatarSize = isMobile ? "h-8 w-8" : "h-10 w-10";
|
|
1010
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-3", authorClassName), children: [
|
|
1011
|
+
/* @__PURE__ */ jsxs(Avatar, { className: avatarSize, children: [
|
|
1012
|
+
/* @__PURE__ */ jsx(AvatarImage, { src: authorImage }),
|
|
1013
|
+
/* @__PURE__ */ jsx(AvatarFallback, { children: authorName.charAt(0) })
|
|
1014
|
+
] }),
|
|
1015
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
1016
|
+
authorHref ? /* @__PURE__ */ jsx(
|
|
1017
|
+
Pressable,
|
|
1018
|
+
{
|
|
1019
|
+
href: authorHref,
|
|
1020
|
+
className: "text-sm font-medium hover:underline",
|
|
1021
|
+
children: authorName
|
|
1022
|
+
}
|
|
1023
|
+
) : /* @__PURE__ */ jsx("p", { className: "text-sm font-medium", children: authorName }),
|
|
1024
|
+
publishDate && /* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground", children: publishDate })
|
|
1025
|
+
] })
|
|
1026
|
+
] });
|
|
1027
|
+
},
|
|
1028
|
+
[
|
|
1029
|
+
authorSlot,
|
|
1030
|
+
authorName,
|
|
1031
|
+
authorImage,
|
|
1032
|
+
authorHref,
|
|
1033
|
+
publishDate,
|
|
1034
|
+
authorClassName
|
|
1035
|
+
]
|
|
1036
|
+
);
|
|
1017
1037
|
const heroMediaContent = React.useMemo(() => {
|
|
1018
1038
|
if (heroMediaSlot) return heroMediaSlot;
|
|
1019
1039
|
if (!heroImageSrc) return null;
|
|
@@ -1022,11 +1042,20 @@ function ArticleSidebarStickyComponent({
|
|
|
1022
1042
|
{
|
|
1023
1043
|
src: heroImageSrc,
|
|
1024
1044
|
alt: heroImageAlt,
|
|
1025
|
-
className: cn(
|
|
1045
|
+
className: cn(
|
|
1046
|
+
"my-8 aspect-video w-full rounded-lg object-cover",
|
|
1047
|
+
heroImageClassName
|
|
1048
|
+
),
|
|
1026
1049
|
optixFlowConfig
|
|
1027
1050
|
}
|
|
1028
1051
|
);
|
|
1029
|
-
}, [
|
|
1052
|
+
}, [
|
|
1053
|
+
heroMediaSlot,
|
|
1054
|
+
heroImageSrc,
|
|
1055
|
+
heroImageAlt,
|
|
1056
|
+
heroImageClassName,
|
|
1057
|
+
optixFlowConfig
|
|
1058
|
+
]);
|
|
1030
1059
|
return /* @__PURE__ */ jsx(
|
|
1031
1060
|
Section,
|
|
1032
1061
|
{
|
|
@@ -1040,13 +1069,31 @@ function ArticleSidebarStickyComponent({
|
|
|
1040
1069
|
backLinkContent,
|
|
1041
1070
|
/* @__PURE__ */ jsx("div", { className: "space-y-4", children: renderAuthor(false) })
|
|
1042
1071
|
] }) }),
|
|
1043
|
-
/* @__PURE__ */ jsxs(
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1072
|
+
/* @__PURE__ */ jsxs(
|
|
1073
|
+
"article",
|
|
1074
|
+
{
|
|
1075
|
+
className: cn(
|
|
1076
|
+
"prose max-w-none dark:prose-invert",
|
|
1077
|
+
articleClassName
|
|
1078
|
+
),
|
|
1079
|
+
children: [
|
|
1080
|
+
/* @__PURE__ */ jsx("div", { className: "mb-8 lg:hidden", children: backLinkContent }),
|
|
1081
|
+
title && (typeof title === "string" ? /* @__PURE__ */ jsx(
|
|
1082
|
+
"h1",
|
|
1083
|
+
{
|
|
1084
|
+
className: cn(
|
|
1085
|
+
"text-4xl font-bold tracking-tight md:text-5xl",
|
|
1086
|
+
titleClassName
|
|
1087
|
+
),
|
|
1088
|
+
children: title
|
|
1089
|
+
}
|
|
1090
|
+
) : /* @__PURE__ */ jsx("div", { className: titleClassName, children: title })),
|
|
1091
|
+
/* @__PURE__ */ jsx("div", { className: "not-prose mt-4 lg:hidden", children: renderAuthor(true) }),
|
|
1092
|
+
heroMediaContent,
|
|
1093
|
+
children
|
|
1094
|
+
]
|
|
1095
|
+
}
|
|
1096
|
+
)
|
|
1050
1097
|
] }) })
|
|
1051
1098
|
}
|
|
1052
1099
|
);
|
|
@@ -1009,7 +1009,10 @@ function BlogHorizontalTimelineComponent({
|
|
|
1009
1009
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1010
1010
|
Card,
|
|
1011
1011
|
{
|
|
1012
|
-
className: cn(
|
|
1012
|
+
className: cn(
|
|
1013
|
+
"w-full border-none shadow-none pt-0 pb-6 md:pt-6 md:pb-6",
|
|
1014
|
+
postCardClassName
|
|
1015
|
+
),
|
|
1013
1016
|
children: /* @__PURE__ */ jsxRuntime.jsx(CardContent, { className: "p-0", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1014
1017
|
"div",
|
|
1015
1018
|
{
|
|
@@ -1024,9 +1027,9 @@ function BlogHorizontalTimelineComponent({
|
|
|
1024
1027
|
] }),
|
|
1025
1028
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full flex-col items-start gap-4 md:h-full md:justify-between md:gap-6", children: [
|
|
1026
1029
|
postDescription && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-base leading-relaxed font-normal tracking-tight text-muted-foreground md:text-xl line-clamp-3", children: postDescription }),
|
|
1027
|
-
readText && /* @__PURE__ */ jsxRuntime.jsxs(Pressable, { href: postHref, asButton: true, variant: "
|
|
1030
|
+
readText && /* @__PURE__ */ jsxRuntime.jsxs(Pressable, { href: postHref, asButton: true, variant: "ghost", children: [
|
|
1028
1031
|
readText,
|
|
1029
|
-
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/arrow-right", size: 20 })
|
|
1032
|
+
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/arrow-up-right", size: 20 })
|
|
1030
1033
|
] })
|
|
1031
1034
|
] })
|
|
1032
1035
|
]
|
|
@@ -1067,7 +1070,7 @@ function BlogHorizontalTimelineComponent({
|
|
|
1067
1070
|
children: heading
|
|
1068
1071
|
}
|
|
1069
1072
|
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mb-12", headingClassName), children: heading })),
|
|
1070
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col", postsClassName), children: renderPosts })
|
|
1073
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col gap-0 md:gap-20", postsClassName), children: renderPosts })
|
|
1071
1074
|
] })
|
|
1072
1075
|
}
|
|
1073
1076
|
);
|
|
@@ -988,7 +988,10 @@ function BlogHorizontalTimelineComponent({
|
|
|
988
988
|
/* @__PURE__ */ jsx(
|
|
989
989
|
Card,
|
|
990
990
|
{
|
|
991
|
-
className: cn(
|
|
991
|
+
className: cn(
|
|
992
|
+
"w-full border-none shadow-none pt-0 pb-6 md:pt-6 md:pb-6",
|
|
993
|
+
postCardClassName
|
|
994
|
+
),
|
|
992
995
|
children: /* @__PURE__ */ jsx(CardContent, { className: "p-0", children: /* @__PURE__ */ jsxs(
|
|
993
996
|
"div",
|
|
994
997
|
{
|
|
@@ -1003,9 +1006,9 @@ function BlogHorizontalTimelineComponent({
|
|
|
1003
1006
|
] }),
|
|
1004
1007
|
/* @__PURE__ */ jsxs("div", { className: "flex w-full flex-col items-start gap-4 md:h-full md:justify-between md:gap-6", children: [
|
|
1005
1008
|
postDescription && /* @__PURE__ */ jsx("p", { className: "text-base leading-relaxed font-normal tracking-tight text-muted-foreground md:text-xl line-clamp-3", children: postDescription }),
|
|
1006
|
-
readText && /* @__PURE__ */ jsxs(Pressable, { href: postHref, asButton: true, variant: "
|
|
1009
|
+
readText && /* @__PURE__ */ jsxs(Pressable, { href: postHref, asButton: true, variant: "ghost", children: [
|
|
1007
1010
|
readText,
|
|
1008
|
-
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-right", size: 20 })
|
|
1011
|
+
/* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-up-right", size: 20 })
|
|
1009
1012
|
] })
|
|
1010
1013
|
] })
|
|
1011
1014
|
]
|
|
@@ -1046,7 +1049,7 @@ function BlogHorizontalTimelineComponent({
|
|
|
1046
1049
|
children: heading
|
|
1047
1050
|
}
|
|
1048
1051
|
) : /* @__PURE__ */ jsx("div", { className: cn("mb-12", headingClassName), children: heading })),
|
|
1049
|
-
/* @__PURE__ */ jsx("div", { className: cn("flex flex-col", postsClassName), children: renderPosts })
|
|
1052
|
+
/* @__PURE__ */ jsx("div", { className: cn("flex flex-col gap-0 md:gap-20", postsClassName), children: renderPosts })
|
|
1050
1053
|
] })
|
|
1051
1054
|
}
|
|
1052
1055
|
);
|
|
@@ -206,7 +206,7 @@ function AccordionItem({
|
|
|
206
206
|
AccordionPrimitive__namespace.Item,
|
|
207
207
|
{
|
|
208
208
|
"data-slot": "accordion-item",
|
|
209
|
-
className: cn("border-b
|
|
209
|
+
className: cn("border-b ", className),
|
|
210
210
|
...props
|
|
211
211
|
}
|
|
212
212
|
);
|
|
@@ -227,7 +227,13 @@ function AccordionTrigger({
|
|
|
227
227
|
...props,
|
|
228
228
|
children: [
|
|
229
229
|
children,
|
|
230
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
230
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
231
|
+
DynamicIcon,
|
|
232
|
+
{
|
|
233
|
+
name: "lucide/chevron-down",
|
|
234
|
+
className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
|
|
235
|
+
}
|
|
236
|
+
)
|
|
231
237
|
]
|
|
232
238
|
}
|
|
233
239
|
) });
|
|
@@ -1050,7 +1056,7 @@ function FaqBadgeSupport({
|
|
|
1050
1056
|
supportAction,
|
|
1051
1057
|
supportSlot,
|
|
1052
1058
|
background,
|
|
1053
|
-
spacing,
|
|
1059
|
+
spacing = "py-6 md:py-32",
|
|
1054
1060
|
pattern,
|
|
1055
1061
|
patternOpacity,
|
|
1056
1062
|
patternClassName,
|
|
@@ -1104,7 +1110,14 @@ function FaqBadgeSupport({
|
|
|
1104
1110
|
))
|
|
1105
1111
|
}
|
|
1106
1112
|
);
|
|
1107
|
-
}, [
|
|
1113
|
+
}, [
|
|
1114
|
+
itemsSlot,
|
|
1115
|
+
items,
|
|
1116
|
+
accordionClassName,
|
|
1117
|
+
accordionItemClassName,
|
|
1118
|
+
accordionTriggerClassName,
|
|
1119
|
+
accordionContentClassName
|
|
1120
|
+
]);
|
|
1108
1121
|
const supportSectionContent = React.useMemo(() => {
|
|
1109
1122
|
if (supportSlot) return supportSlot;
|
|
1110
1123
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -1140,7 +1153,7 @@ function FaqBadgeSupport({
|
|
|
1140
1153
|
patternOpacity,
|
|
1141
1154
|
patternClassName,
|
|
1142
1155
|
className,
|
|
1143
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("space-y-16", containerClassName), children: [
|
|
1156
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("space-y-8 md:space-y-16", containerClassName), children: [
|
|
1144
1157
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1145
1158
|
"div",
|
|
1146
1159
|
{
|
|
@@ -183,7 +183,7 @@ function AccordionItem({
|
|
|
183
183
|
AccordionPrimitive.Item,
|
|
184
184
|
{
|
|
185
185
|
"data-slot": "accordion-item",
|
|
186
|
-
className: cn("border-b
|
|
186
|
+
className: cn("border-b ", className),
|
|
187
187
|
...props
|
|
188
188
|
}
|
|
189
189
|
);
|
|
@@ -204,7 +204,13 @@ function AccordionTrigger({
|
|
|
204
204
|
...props,
|
|
205
205
|
children: [
|
|
206
206
|
children,
|
|
207
|
-
/* @__PURE__ */ jsx(
|
|
207
|
+
/* @__PURE__ */ jsx(
|
|
208
|
+
DynamicIcon,
|
|
209
|
+
{
|
|
210
|
+
name: "lucide/chevron-down",
|
|
211
|
+
className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
|
|
212
|
+
}
|
|
213
|
+
)
|
|
208
214
|
]
|
|
209
215
|
}
|
|
210
216
|
) });
|
|
@@ -1027,7 +1033,7 @@ function FaqBadgeSupport({
|
|
|
1027
1033
|
supportAction,
|
|
1028
1034
|
supportSlot,
|
|
1029
1035
|
background,
|
|
1030
|
-
spacing,
|
|
1036
|
+
spacing = "py-6 md:py-32",
|
|
1031
1037
|
pattern,
|
|
1032
1038
|
patternOpacity,
|
|
1033
1039
|
patternClassName,
|
|
@@ -1081,7 +1087,14 @@ function FaqBadgeSupport({
|
|
|
1081
1087
|
))
|
|
1082
1088
|
}
|
|
1083
1089
|
);
|
|
1084
|
-
}, [
|
|
1090
|
+
}, [
|
|
1091
|
+
itemsSlot,
|
|
1092
|
+
items,
|
|
1093
|
+
accordionClassName,
|
|
1094
|
+
accordionItemClassName,
|
|
1095
|
+
accordionTriggerClassName,
|
|
1096
|
+
accordionContentClassName
|
|
1097
|
+
]);
|
|
1085
1098
|
const supportSectionContent = useMemo(() => {
|
|
1086
1099
|
if (supportSlot) return supportSlot;
|
|
1087
1100
|
return /* @__PURE__ */ jsxs(
|
|
@@ -1117,7 +1130,7 @@ function FaqBadgeSupport({
|
|
|
1117
1130
|
patternOpacity,
|
|
1118
1131
|
patternClassName,
|
|
1119
1132
|
className,
|
|
1120
|
-
children: /* @__PURE__ */ jsxs("div", { className: cn("space-y-16", containerClassName), children: [
|
|
1133
|
+
children: /* @__PURE__ */ jsxs("div", { className: cn("space-y-8 md:space-y-16", containerClassName), children: [
|
|
1121
1134
|
/* @__PURE__ */ jsxs(
|
|
1122
1135
|
"div",
|
|
1123
1136
|
{
|
|
@@ -184,7 +184,7 @@ function AccordionItem({
|
|
|
184
184
|
AccordionPrimitive__namespace.Item,
|
|
185
185
|
{
|
|
186
186
|
"data-slot": "accordion-item",
|
|
187
|
-
className: cn("border-b
|
|
187
|
+
className: cn("border-b ", className),
|
|
188
188
|
...props
|
|
189
189
|
}
|
|
190
190
|
);
|
|
@@ -205,7 +205,13 @@ function AccordionTrigger({
|
|
|
205
205
|
...props,
|
|
206
206
|
children: [
|
|
207
207
|
children,
|
|
208
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
208
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
209
|
+
DynamicIcon,
|
|
210
|
+
{
|
|
211
|
+
name: "lucide/chevron-down",
|
|
212
|
+
className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
|
|
213
|
+
}
|
|
214
|
+
)
|
|
209
215
|
]
|
|
210
216
|
}
|
|
211
217
|
) });
|
|
@@ -608,7 +614,7 @@ function FaqBorderedBadge({
|
|
|
608
614
|
items,
|
|
609
615
|
itemsSlot,
|
|
610
616
|
background,
|
|
611
|
-
spacing,
|
|
617
|
+
spacing = "py-6 md:py-32",
|
|
612
618
|
pattern,
|
|
613
619
|
patternOpacity,
|
|
614
620
|
patternClassName,
|
|
@@ -662,7 +668,14 @@ function FaqBorderedBadge({
|
|
|
662
668
|
))
|
|
663
669
|
}
|
|
664
670
|
);
|
|
665
|
-
}, [
|
|
671
|
+
}, [
|
|
672
|
+
itemsSlot,
|
|
673
|
+
items,
|
|
674
|
+
accordionClassName,
|
|
675
|
+
accordionItemClassName,
|
|
676
|
+
accordionTriggerClassName,
|
|
677
|
+
accordionContentClassName
|
|
678
|
+
]);
|
|
666
679
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
667
680
|
Section,
|
|
668
681
|
{
|
|
@@ -685,15 +698,18 @@ function FaqBorderedBadge({
|
|
|
685
698
|
Badge,
|
|
686
699
|
{
|
|
687
700
|
variant: "outline",
|
|
688
|
-
className: cn(
|
|
701
|
+
className: cn(
|
|
702
|
+
"gap-1.5 px-2.5 py-1 text-sm font-medium",
|
|
703
|
+
badgeClassName
|
|
704
|
+
),
|
|
689
705
|
children: [
|
|
690
|
-
badgeIcon && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: badgeIcon, className: "
|
|
706
|
+
badgeIcon && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: badgeIcon, size: 16, className: "shrink-0" }),
|
|
691
707
|
badge
|
|
692
708
|
]
|
|
693
709
|
}
|
|
694
710
|
),
|
|
695
711
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
696
|
-
"
|
|
712
|
+
"h2",
|
|
697
713
|
{
|
|
698
714
|
className: cn(
|
|
699
715
|
"max-w-2xl text-3xl font-semibold md:text-4xl",
|
|
@@ -162,7 +162,7 @@ function AccordionItem({
|
|
|
162
162
|
AccordionPrimitive.Item,
|
|
163
163
|
{
|
|
164
164
|
"data-slot": "accordion-item",
|
|
165
|
-
className: cn("border-b
|
|
165
|
+
className: cn("border-b ", className),
|
|
166
166
|
...props
|
|
167
167
|
}
|
|
168
168
|
);
|
|
@@ -183,7 +183,13 @@ function AccordionTrigger({
|
|
|
183
183
|
...props,
|
|
184
184
|
children: [
|
|
185
185
|
children,
|
|
186
|
-
/* @__PURE__ */ jsx(
|
|
186
|
+
/* @__PURE__ */ jsx(
|
|
187
|
+
DynamicIcon,
|
|
188
|
+
{
|
|
189
|
+
name: "lucide/chevron-down",
|
|
190
|
+
className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
|
|
191
|
+
}
|
|
192
|
+
)
|
|
187
193
|
]
|
|
188
194
|
}
|
|
189
195
|
) });
|
|
@@ -586,7 +592,7 @@ function FaqBorderedBadge({
|
|
|
586
592
|
items,
|
|
587
593
|
itemsSlot,
|
|
588
594
|
background,
|
|
589
|
-
spacing,
|
|
595
|
+
spacing = "py-6 md:py-32",
|
|
590
596
|
pattern,
|
|
591
597
|
patternOpacity,
|
|
592
598
|
patternClassName,
|
|
@@ -640,7 +646,14 @@ function FaqBorderedBadge({
|
|
|
640
646
|
))
|
|
641
647
|
}
|
|
642
648
|
);
|
|
643
|
-
}, [
|
|
649
|
+
}, [
|
|
650
|
+
itemsSlot,
|
|
651
|
+
items,
|
|
652
|
+
accordionClassName,
|
|
653
|
+
accordionItemClassName,
|
|
654
|
+
accordionTriggerClassName,
|
|
655
|
+
accordionContentClassName
|
|
656
|
+
]);
|
|
644
657
|
return /* @__PURE__ */ jsx(
|
|
645
658
|
Section,
|
|
646
659
|
{
|
|
@@ -663,15 +676,18 @@ function FaqBorderedBadge({
|
|
|
663
676
|
Badge,
|
|
664
677
|
{
|
|
665
678
|
variant: "outline",
|
|
666
|
-
className: cn(
|
|
679
|
+
className: cn(
|
|
680
|
+
"gap-1.5 px-2.5 py-1 text-sm font-medium",
|
|
681
|
+
badgeClassName
|
|
682
|
+
),
|
|
667
683
|
children: [
|
|
668
|
-
badgeIcon && /* @__PURE__ */ jsx(DynamicIcon, { name: badgeIcon, className: "
|
|
684
|
+
badgeIcon && /* @__PURE__ */ jsx(DynamicIcon, { name: badgeIcon, size: 16, className: "shrink-0" }),
|
|
669
685
|
badge
|
|
670
686
|
]
|
|
671
687
|
}
|
|
672
688
|
),
|
|
673
689
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
674
|
-
"
|
|
690
|
+
"h2",
|
|
675
691
|
{
|
|
676
692
|
className: cn(
|
|
677
693
|
"max-w-2xl text-3xl font-semibold md:text-4xl",
|
|
@@ -196,7 +196,7 @@ function AccordionItem({
|
|
|
196
196
|
AccordionPrimitive__namespace.Item,
|
|
197
197
|
{
|
|
198
198
|
"data-slot": "accordion-item",
|
|
199
|
-
className: cn("border-b
|
|
199
|
+
className: cn("border-b ", className),
|
|
200
200
|
...props
|
|
201
201
|
}
|
|
202
202
|
);
|
|
@@ -217,7 +217,13 @@ function AccordionTrigger({
|
|
|
217
217
|
...props,
|
|
218
218
|
children: [
|
|
219
219
|
children,
|
|
220
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
220
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
221
|
+
DynamicIcon,
|
|
222
|
+
{
|
|
223
|
+
name: "lucide/chevron-down",
|
|
224
|
+
className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
|
|
225
|
+
}
|
|
226
|
+
)
|
|
221
227
|
]
|
|
222
228
|
}
|
|
223
229
|
) });
|
|
@@ -618,7 +624,7 @@ function FaqCardCategories({
|
|
|
618
624
|
categories,
|
|
619
625
|
categoriesSlot,
|
|
620
626
|
background,
|
|
621
|
-
spacing,
|
|
627
|
+
spacing = "py-6 md:py-32",
|
|
622
628
|
pattern,
|
|
623
629
|
patternOpacity,
|
|
624
630
|
patternClassName,
|
|
@@ -696,7 +702,17 @@ function FaqCardCategories({
|
|
|
696
702
|
))
|
|
697
703
|
}
|
|
698
704
|
);
|
|
699
|
-
}, [
|
|
705
|
+
}, [
|
|
706
|
+
categoriesSlot,
|
|
707
|
+
categories,
|
|
708
|
+
gridClassName,
|
|
709
|
+
cardClassName,
|
|
710
|
+
categoryTitleClassName,
|
|
711
|
+
accordionClassName,
|
|
712
|
+
accordionItemClassName,
|
|
713
|
+
accordionTriggerClassName,
|
|
714
|
+
accordionContentClassName
|
|
715
|
+
]);
|
|
700
716
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
701
717
|
Section,
|
|
702
718
|
{
|
|
@@ -174,7 +174,7 @@ function AccordionItem({
|
|
|
174
174
|
AccordionPrimitive.Item,
|
|
175
175
|
{
|
|
176
176
|
"data-slot": "accordion-item",
|
|
177
|
-
className: cn("border-b
|
|
177
|
+
className: cn("border-b ", className),
|
|
178
178
|
...props
|
|
179
179
|
}
|
|
180
180
|
);
|
|
@@ -195,7 +195,13 @@ function AccordionTrigger({
|
|
|
195
195
|
...props,
|
|
196
196
|
children: [
|
|
197
197
|
children,
|
|
198
|
-
/* @__PURE__ */ jsx(
|
|
198
|
+
/* @__PURE__ */ jsx(
|
|
199
|
+
DynamicIcon,
|
|
200
|
+
{
|
|
201
|
+
name: "lucide/chevron-down",
|
|
202
|
+
className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
|
|
203
|
+
}
|
|
204
|
+
)
|
|
199
205
|
]
|
|
200
206
|
}
|
|
201
207
|
) });
|
|
@@ -596,7 +602,7 @@ function FaqCardCategories({
|
|
|
596
602
|
categories,
|
|
597
603
|
categoriesSlot,
|
|
598
604
|
background,
|
|
599
|
-
spacing,
|
|
605
|
+
spacing = "py-6 md:py-32",
|
|
600
606
|
pattern,
|
|
601
607
|
patternOpacity,
|
|
602
608
|
patternClassName,
|
|
@@ -674,7 +680,17 @@ function FaqCardCategories({
|
|
|
674
680
|
))
|
|
675
681
|
}
|
|
676
682
|
);
|
|
677
|
-
}, [
|
|
683
|
+
}, [
|
|
684
|
+
categoriesSlot,
|
|
685
|
+
categories,
|
|
686
|
+
gridClassName,
|
|
687
|
+
cardClassName,
|
|
688
|
+
categoryTitleClassName,
|
|
689
|
+
accordionClassName,
|
|
690
|
+
accordionItemClassName,
|
|
691
|
+
accordionTriggerClassName,
|
|
692
|
+
accordionContentClassName
|
|
693
|
+
]);
|
|
678
694
|
return /* @__PURE__ */ jsx(
|
|
679
695
|
Section,
|
|
680
696
|
{
|
|
@@ -150,7 +150,7 @@ function AccordionItem({
|
|
|
150
150
|
AccordionPrimitive__namespace.Item,
|
|
151
151
|
{
|
|
152
152
|
"data-slot": "accordion-item",
|
|
153
|
-
className: cn("border-b
|
|
153
|
+
className: cn("border-b ", className),
|
|
154
154
|
...props
|
|
155
155
|
}
|
|
156
156
|
);
|
|
@@ -171,7 +171,13 @@ function AccordionTrigger({
|
|
|
171
171
|
...props,
|
|
172
172
|
children: [
|
|
173
173
|
children,
|
|
174
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
174
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
175
|
+
DynamicIcon,
|
|
176
|
+
{
|
|
177
|
+
name: "lucide/chevron-down",
|
|
178
|
+
className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
|
|
179
|
+
}
|
|
180
|
+
)
|
|
175
181
|
]
|
|
176
182
|
}
|
|
177
183
|
) });
|
|
@@ -572,7 +578,7 @@ function FaqCategorizedSections({
|
|
|
572
578
|
categories,
|
|
573
579
|
categoriesSlot,
|
|
574
580
|
background,
|
|
575
|
-
spacing,
|
|
581
|
+
spacing = "py-6 md:py-32",
|
|
576
582
|
pattern,
|
|
577
583
|
patternOpacity,
|
|
578
584
|
patternClassName,
|
|
@@ -639,7 +645,16 @@ function FaqCategorizedSections({
|
|
|
639
645
|
] }, categoryIndex))
|
|
640
646
|
}
|
|
641
647
|
);
|
|
642
|
-
}, [
|
|
648
|
+
}, [
|
|
649
|
+
categoriesSlot,
|
|
650
|
+
categories,
|
|
651
|
+
categoriesWrapperClassName,
|
|
652
|
+
categoryTitleClassName,
|
|
653
|
+
accordionClassName,
|
|
654
|
+
accordionItemClassName,
|
|
655
|
+
accordionTriggerClassName,
|
|
656
|
+
accordionContentClassName
|
|
657
|
+
]);
|
|
643
658
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
644
659
|
Section,
|
|
645
660
|
{
|
|
@@ -128,7 +128,7 @@ function AccordionItem({
|
|
|
128
128
|
AccordionPrimitive.Item,
|
|
129
129
|
{
|
|
130
130
|
"data-slot": "accordion-item",
|
|
131
|
-
className: cn("border-b
|
|
131
|
+
className: cn("border-b ", className),
|
|
132
132
|
...props
|
|
133
133
|
}
|
|
134
134
|
);
|
|
@@ -149,7 +149,13 @@ function AccordionTrigger({
|
|
|
149
149
|
...props,
|
|
150
150
|
children: [
|
|
151
151
|
children,
|
|
152
|
-
/* @__PURE__ */ jsx(
|
|
152
|
+
/* @__PURE__ */ jsx(
|
|
153
|
+
DynamicIcon,
|
|
154
|
+
{
|
|
155
|
+
name: "lucide/chevron-down",
|
|
156
|
+
className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
|
|
157
|
+
}
|
|
158
|
+
)
|
|
153
159
|
]
|
|
154
160
|
}
|
|
155
161
|
) });
|
|
@@ -550,7 +556,7 @@ function FaqCategorizedSections({
|
|
|
550
556
|
categories,
|
|
551
557
|
categoriesSlot,
|
|
552
558
|
background,
|
|
553
|
-
spacing,
|
|
559
|
+
spacing = "py-6 md:py-32",
|
|
554
560
|
pattern,
|
|
555
561
|
patternOpacity,
|
|
556
562
|
patternClassName,
|
|
@@ -617,7 +623,16 @@ function FaqCategorizedSections({
|
|
|
617
623
|
] }, categoryIndex))
|
|
618
624
|
}
|
|
619
625
|
);
|
|
620
|
-
}, [
|
|
626
|
+
}, [
|
|
627
|
+
categoriesSlot,
|
|
628
|
+
categories,
|
|
629
|
+
categoriesWrapperClassName,
|
|
630
|
+
categoryTitleClassName,
|
|
631
|
+
accordionClassName,
|
|
632
|
+
accordionItemClassName,
|
|
633
|
+
accordionTriggerClassName,
|
|
634
|
+
accordionContentClassName
|
|
635
|
+
]);
|
|
621
636
|
return /* @__PURE__ */ jsx(
|
|
622
637
|
Section,
|
|
623
638
|
{
|