@opensite/ui 3.4.4 → 3.4.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/contact-careers.cjs +3 -3
- package/dist/contact-careers.js +3 -3
- package/dist/contact-faq.cjs +3 -3
- package/dist/contact-faq.js +3 -3
- package/dist/faq-badge-support.cjs +3 -3
- package/dist/faq-badge-support.js +3 -3
- package/dist/faq-bordered-badge.cjs +3 -3
- package/dist/faq-bordered-badge.js +3 -3
- package/dist/faq-card-categories.cjs +2 -2
- package/dist/faq-card-categories.js +2 -2
- package/dist/faq-categorized-sections.cjs +3 -3
- package/dist/faq-categorized-sections.js +3 -3
- package/dist/faq-centered-accordion.cjs +3 -3
- package/dist/faq-centered-accordion.js +3 -3
- package/dist/faq-gradient-categories.cjs +3 -3
- package/dist/faq-gradient-categories.js +3 -3
- package/dist/faq-muted-cards.cjs +1 -1
- package/dist/faq-muted-cards.js +1 -1
- package/dist/faq-profile-sidebar.cjs +3 -3
- package/dist/faq-profile-sidebar.js +3 -3
- package/dist/faq-rounded-cards.cjs +3 -3
- package/dist/faq-rounded-cards.js +3 -3
- package/dist/faq-sidebar-navigation.cjs +3 -3
- package/dist/faq-sidebar-navigation.js +3 -3
- package/dist/faq-split-help.cjs +3 -3
- package/dist/faq-split-help.js +3 -3
- package/dist/faq-split-hero.cjs +3 -3
- package/dist/faq-split-hero.js +3 -3
- package/dist/feature-checklist-image.cjs +86 -23
- package/dist/feature-checklist-image.d.cts +21 -1
- package/dist/feature-checklist-image.d.ts +21 -1
- package/dist/feature-checklist-image.js +86 -23
- package/dist/navbar-tabbed-sections.cjs +3 -3
- package/dist/navbar-tabbed-sections.js +3 -3
- package/dist/registry.cjs +128 -65
- package/dist/registry.js +128 -65
- package/dist/social-link-icon.d.cts +1 -1
- package/dist/social-link-icon.d.ts +1 -1
- package/package.json +1 -1
package/dist/registry.cjs
CHANGED
|
@@ -14104,10 +14104,10 @@ function ContactCareers({
|
|
|
14104
14104
|
type: "single",
|
|
14105
14105
|
collapsible: true,
|
|
14106
14106
|
className: cn("space-y-3", accordionClassName),
|
|
14107
|
-
children: jobListings.map((job) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
14107
|
+
children: jobListings.map((job, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
14108
14108
|
AccordionItem,
|
|
14109
14109
|
{
|
|
14110
|
-
value: job.id
|
|
14110
|
+
value: job.id || `faq-item-${idx}`,
|
|
14111
14111
|
className: cn(
|
|
14112
14112
|
"rounded-xl border border-border/60",
|
|
14113
14113
|
"px-5 shadow-sm transition-all hover:shadow-md",
|
|
@@ -14132,7 +14132,7 @@ function ContactCareers({
|
|
|
14132
14132
|
/* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: cn("pb-4", accordionContentClassName), children: job.description })
|
|
14133
14133
|
]
|
|
14134
14134
|
},
|
|
14135
|
-
job.id
|
|
14135
|
+
job.id || idx
|
|
14136
14136
|
))
|
|
14137
14137
|
}
|
|
14138
14138
|
);
|
|
@@ -15470,10 +15470,10 @@ function ContactFaq({
|
|
|
15470
15470
|
const faqContent = React30.useMemo(() => {
|
|
15471
15471
|
if (itemsSlot) return itemsSlot;
|
|
15472
15472
|
if (!items || items.length === 0) return null;
|
|
15473
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
15473
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: items.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
15474
15474
|
AccordionItem,
|
|
15475
15475
|
{
|
|
15476
|
-
value: item.id
|
|
15476
|
+
value: item.id || `faq-item-${idx}`,
|
|
15477
15477
|
className: accordionItemClassName,
|
|
15478
15478
|
children: [
|
|
15479
15479
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -15489,7 +15489,7 @@ function ContactFaq({
|
|
|
15489
15489
|
/* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: cn(accordionContentClassName), children: item.answer })
|
|
15490
15490
|
]
|
|
15491
15491
|
},
|
|
15492
|
-
item.id
|
|
15492
|
+
item.id || idx
|
|
15493
15493
|
)) });
|
|
15494
15494
|
}, [
|
|
15495
15495
|
itemsSlot,
|
|
@@ -22833,6 +22833,12 @@ function FeatureIconGridBordered({
|
|
|
22833
22833
|
}
|
|
22834
22834
|
);
|
|
22835
22835
|
}
|
|
22836
|
+
function isRenderableNode(value) {
|
|
22837
|
+
return value !== null && value !== void 0 && typeof value !== "boolean" && !(typeof value === "string" && value.trim().length === 0);
|
|
22838
|
+
}
|
|
22839
|
+
function firstRenderableNode(...values) {
|
|
22840
|
+
return values.find(isRenderableNode);
|
|
22841
|
+
}
|
|
22836
22842
|
function FeatureChecklistImage({
|
|
22837
22843
|
sectionId = "feature-checklist-image",
|
|
22838
22844
|
title,
|
|
@@ -22845,9 +22851,10 @@ function FeatureChecklistImage({
|
|
|
22845
22851
|
actions,
|
|
22846
22852
|
actionsSlot,
|
|
22847
22853
|
checklistItems,
|
|
22854
|
+
benefits,
|
|
22848
22855
|
checklistSlot,
|
|
22849
22856
|
className,
|
|
22850
|
-
containerClassName = "px-6 sm:px-6 md:px-6 lg:px-8",
|
|
22857
|
+
containerClassName = "max-w-screen-2xl px-6 sm:px-6 md:px-6 lg:px-8",
|
|
22851
22858
|
contentWrapperClassName,
|
|
22852
22859
|
imageClassName,
|
|
22853
22860
|
contentClassName,
|
|
@@ -22904,33 +22911,69 @@ function FeatureChecklistImage({
|
|
|
22904
22911
|
if (imageSlot) return imageSlot;
|
|
22905
22912
|
if (!imageSrc) return null;
|
|
22906
22913
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22907
|
-
|
|
22914
|
+
"div",
|
|
22908
22915
|
{
|
|
22909
|
-
src: imageSrc,
|
|
22910
|
-
alt: imageAlt || "Feature illustration",
|
|
22911
22916
|
className: cn(
|
|
22912
|
-
"
|
|
22917
|
+
"relative aspect-[3/2] w-full overflow-hidden rounded-lg shadow-xl",
|
|
22913
22918
|
imageClassName
|
|
22914
22919
|
),
|
|
22915
|
-
|
|
22916
|
-
|
|
22920
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
22921
|
+
img.Img,
|
|
22922
|
+
{
|
|
22923
|
+
src: imageSrc,
|
|
22924
|
+
alt: imageAlt || "Feature illustration",
|
|
22925
|
+
className: cn(
|
|
22926
|
+
"block h-full w-full object-cover object-center",
|
|
22927
|
+
imageClassName
|
|
22928
|
+
),
|
|
22929
|
+
loading: "lazy",
|
|
22930
|
+
optixFlowConfig
|
|
22931
|
+
}
|
|
22932
|
+
)
|
|
22917
22933
|
}
|
|
22918
22934
|
);
|
|
22919
22935
|
}, [imageSlot, imageSrc, imageAlt, imageClassName, optixFlowConfig]);
|
|
22920
22936
|
const checklistContent = React30.useMemo(() => {
|
|
22921
22937
|
if (checklistSlot) return checklistSlot;
|
|
22922
|
-
|
|
22923
|
-
|
|
22938
|
+
const items = checklistItems ?? benefits;
|
|
22939
|
+
if (!items || items.length === 0) return null;
|
|
22940
|
+
const renderedItems = [];
|
|
22941
|
+
items.forEach((item, index) => {
|
|
22924
22942
|
const isString = typeof item === "string";
|
|
22925
|
-
const content = isString ? item : item.content;
|
|
22926
|
-
const
|
|
22943
|
+
const content = isString ? item : firstRenderableNode(item.content, item.text, item.label);
|
|
22944
|
+
const title2 = isString ? void 0 : item.title;
|
|
22945
|
+
const description2 = isString ? void 0 : item.description;
|
|
22946
|
+
if (!isRenderableNode(content) && !isRenderableNode(title2) && !isRenderableNode(description2)) {
|
|
22947
|
+
return;
|
|
22948
|
+
}
|
|
22949
|
+
const iconElement = isString ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
22950
|
+
DynamicIcon,
|
|
22951
|
+
{
|
|
22952
|
+
name: "lucide/circle-check-big",
|
|
22953
|
+
size: 20,
|
|
22954
|
+
className: "h-5 w-5"
|
|
22955
|
+
}
|
|
22956
|
+
) : item.icon ?? (item.iconName ? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: item.iconName, size: 20, className: "h-5 w-5" }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
22957
|
+
DynamicIcon,
|
|
22958
|
+
{
|
|
22959
|
+
name: "lucide/circle-check-big",
|
|
22960
|
+
size: 20,
|
|
22961
|
+
className: "h-5 w-5"
|
|
22962
|
+
}
|
|
22963
|
+
));
|
|
22927
22964
|
const itemClassName = isString ? void 0 : item.className;
|
|
22928
|
-
|
|
22929
|
-
/* @__PURE__ */ jsxRuntime.
|
|
22930
|
-
|
|
22931
|
-
|
|
22965
|
+
renderedItems.push(
|
|
22966
|
+
/* @__PURE__ */ jsxRuntime.jsxs("li", { className: cn("flex items-start gap-3", itemClassName), children: [
|
|
22967
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1 flex h-5 w-5 shrink-0 items-center justify-center", children: iconElement }),
|
|
22968
|
+
isRenderableNode(content) ? typeof content === "string" ? /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-base font-medium leading-relaxed md:text-lg", children: content }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 text-base font-medium leading-relaxed md:text-lg", children: content }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
|
|
22969
|
+
isRenderableNode(title2) && (typeof title2 === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-base font-semibold leading-snug md:text-lg", children: title2 }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-base font-semibold leading-snug md:text-lg", children: title2 })),
|
|
22970
|
+
isRenderableNode(description2) && (typeof description2 === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-sm leading-relaxed text-current/75 md:text-base", children: description2 }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-1 text-sm leading-relaxed text-current/75 md:text-base", children: description2 }))
|
|
22971
|
+
] })
|
|
22972
|
+
] }, index)
|
|
22973
|
+
);
|
|
22932
22974
|
});
|
|
22933
|
-
|
|
22975
|
+
return renderedItems.length > 0 ? renderedItems : null;
|
|
22976
|
+
}, [checklistSlot, checklistItems, benefits]);
|
|
22934
22977
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22935
22978
|
Section,
|
|
22936
22979
|
{
|
|
@@ -22946,7 +22989,8 @@ function FeatureChecklistImage({
|
|
|
22946
22989
|
"div",
|
|
22947
22990
|
{
|
|
22948
22991
|
className: cn(
|
|
22949
|
-
"
|
|
22992
|
+
"grid gap-8 md:gap-12 lg:items-center",
|
|
22993
|
+
imageContent ? "lg:grid-cols-2" : "lg:grid-cols-1",
|
|
22950
22994
|
contentWrapperClassName
|
|
22951
22995
|
),
|
|
22952
22996
|
children: [
|
|
@@ -22955,7 +22999,8 @@ function FeatureChecklistImage({
|
|
|
22955
22999
|
"div",
|
|
22956
23000
|
{
|
|
22957
23001
|
className: cn(
|
|
22958
|
-
"
|
|
23002
|
+
"flex min-w-0 flex-col gap-6 py-2 md:gap-8 md:py-0 lg:gap-10",
|
|
23003
|
+
imageContent && "lg:pl-8",
|
|
22959
23004
|
contentClassName
|
|
22960
23005
|
),
|
|
22961
23006
|
children: [
|
|
@@ -22963,7 +23008,7 @@ function FeatureChecklistImage({
|
|
|
22963
23008
|
"h2",
|
|
22964
23009
|
{
|
|
22965
23010
|
className: cn(
|
|
22966
|
-
"text-
|
|
23011
|
+
"text-2xl font-semibold text-balance sm:text-3xl lg:text-4xl",
|
|
22967
23012
|
titleClassName
|
|
22968
23013
|
),
|
|
22969
23014
|
children: title
|
|
@@ -22972,18 +23017,36 @@ function FeatureChecklistImage({
|
|
|
22972
23017
|
"div",
|
|
22973
23018
|
{
|
|
22974
23019
|
className: cn(
|
|
22975
|
-
"text-
|
|
23020
|
+
"text-2xl font-semibold text-balance sm:text-3xl lg:text-4xl",
|
|
22976
23021
|
titleClassName
|
|
22977
23022
|
),
|
|
22978
23023
|
children: title
|
|
22979
23024
|
}
|
|
22980
23025
|
)),
|
|
22981
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
23026
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
23027
|
+
"p",
|
|
23028
|
+
{
|
|
23029
|
+
className: cn(
|
|
23030
|
+
"relative text-base leading-relaxed md:text-lg",
|
|
23031
|
+
descriptionClassName
|
|
23032
|
+
),
|
|
23033
|
+
children: description
|
|
23034
|
+
}
|
|
23035
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
23036
|
+
"div",
|
|
23037
|
+
{
|
|
23038
|
+
className: cn(
|
|
23039
|
+
"relative text-base leading-relaxed md:text-lg",
|
|
23040
|
+
descriptionClassName
|
|
23041
|
+
),
|
|
23042
|
+
children: description
|
|
23043
|
+
}
|
|
23044
|
+
)),
|
|
22982
23045
|
actionsContent && /* @__PURE__ */ jsxRuntime.jsx(
|
|
22983
23046
|
"div",
|
|
22984
23047
|
{
|
|
22985
23048
|
className: cn(
|
|
22986
|
-
"flex flex-
|
|
23049
|
+
"flex flex-col items-start gap-4 sm:flex-row sm:flex-wrap sm:items-center",
|
|
22987
23050
|
actionsClassName
|
|
22988
23051
|
),
|
|
22989
23052
|
children: actionsContent
|
|
@@ -22993,7 +23056,7 @@ function FeatureChecklistImage({
|
|
|
22993
23056
|
"ul",
|
|
22994
23057
|
{
|
|
22995
23058
|
className: cn(
|
|
22996
|
-
"flex
|
|
23059
|
+
"flex flex-col space-y-3 md:space-y-4",
|
|
22997
23060
|
checklistClassName
|
|
22998
23061
|
),
|
|
22999
23062
|
children: checklistContent
|
|
@@ -39844,10 +39907,10 @@ function FaqCenteredAccordion({
|
|
|
39844
39907
|
type: "single",
|
|
39845
39908
|
collapsible: true,
|
|
39846
39909
|
className: cn("mx-auto w-full lg:max-w-3xl", accordionClassName),
|
|
39847
|
-
children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
39910
|
+
children: items.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
39848
39911
|
AccordionItem,
|
|
39849
39912
|
{
|
|
39850
|
-
value: item.id
|
|
39913
|
+
value: item.id || `faq-item-${idx}`,
|
|
39851
39914
|
className: accordionItemClassName,
|
|
39852
39915
|
children: [
|
|
39853
39916
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -39869,7 +39932,7 @@ function FaqCenteredAccordion({
|
|
|
39869
39932
|
)
|
|
39870
39933
|
]
|
|
39871
39934
|
},
|
|
39872
|
-
item.id
|
|
39935
|
+
item.id || idx
|
|
39873
39936
|
))
|
|
39874
39937
|
}
|
|
39875
39938
|
);
|
|
@@ -39957,10 +40020,10 @@ function FaqBadgeSupport({
|
|
|
39957
40020
|
type: "single",
|
|
39958
40021
|
collapsible: true,
|
|
39959
40022
|
className: cn("mx-auto w-full lg:max-w-3xl", accordionClassName),
|
|
39960
|
-
children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
40023
|
+
children: items.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
39961
40024
|
AccordionItem,
|
|
39962
40025
|
{
|
|
39963
|
-
value: item.id
|
|
40026
|
+
value: item.id || `faq-item-${idx}`,
|
|
39964
40027
|
className: accordionItemClassName,
|
|
39965
40028
|
children: [
|
|
39966
40029
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -39982,7 +40045,7 @@ function FaqBadgeSupport({
|
|
|
39982
40045
|
)
|
|
39983
40046
|
]
|
|
39984
40047
|
},
|
|
39985
|
-
item.id
|
|
40048
|
+
item.id || idx
|
|
39986
40049
|
))
|
|
39987
40050
|
}
|
|
39988
40051
|
);
|
|
@@ -40444,10 +40507,10 @@ function FaqSplitHelp({
|
|
|
40444
40507
|
type: "single",
|
|
40445
40508
|
collapsible: true,
|
|
40446
40509
|
className: cn("w-full lg:w-2/3", accordionClassName),
|
|
40447
|
-
children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
40510
|
+
children: items.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
40448
40511
|
AccordionItem,
|
|
40449
40512
|
{
|
|
40450
|
-
value: item.id
|
|
40513
|
+
value: item.id || `faq-item-${idx}`,
|
|
40451
40514
|
className: accordionItemClassName,
|
|
40452
40515
|
children: [
|
|
40453
40516
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -40469,7 +40532,7 @@ function FaqSplitHelp({
|
|
|
40469
40532
|
)
|
|
40470
40533
|
]
|
|
40471
40534
|
},
|
|
40472
|
-
item.id
|
|
40535
|
+
item.id || idx
|
|
40473
40536
|
))
|
|
40474
40537
|
}
|
|
40475
40538
|
);
|
|
@@ -40630,10 +40693,10 @@ function FaqCategorizedSections({
|
|
|
40630
40693
|
children: category.title
|
|
40631
40694
|
}
|
|
40632
40695
|
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: categoryTitleClassName, children: category.title }),
|
|
40633
|
-
/* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: category.items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
40696
|
+
/* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: category.items.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
40634
40697
|
AccordionItem,
|
|
40635
40698
|
{
|
|
40636
|
-
value: item.id
|
|
40699
|
+
value: item.id || `faq-item-${idx}`,
|
|
40637
40700
|
className: accordionItemClassName,
|
|
40638
40701
|
children: [
|
|
40639
40702
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -40655,7 +40718,7 @@ function FaqCategorizedSections({
|
|
|
40655
40718
|
)
|
|
40656
40719
|
]
|
|
40657
40720
|
},
|
|
40658
|
-
item.id
|
|
40721
|
+
item.id || idx
|
|
40659
40722
|
)) })
|
|
40660
40723
|
] }, categoryIndex))
|
|
40661
40724
|
}
|
|
@@ -40747,7 +40810,7 @@ function FaqMutedCards({
|
|
|
40747
40810
|
children: items.map((item, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
40748
40811
|
AccordionItem,
|
|
40749
40812
|
{
|
|
40750
|
-
value: item.id
|
|
40813
|
+
value: item.id || `faq-item-${index}`,
|
|
40751
40814
|
className: cn(
|
|
40752
40815
|
"border-border/50",
|
|
40753
40816
|
index === items.length - 1 ? "border-none" : "",
|
|
@@ -40895,10 +40958,10 @@ function FaqBorderedBadge({
|
|
|
40895
40958
|
type: "single",
|
|
40896
40959
|
collapsible: true,
|
|
40897
40960
|
className: cn("space-y-4", accordionClassName),
|
|
40898
|
-
children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
40961
|
+
children: items.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
40899
40962
|
AccordionItem,
|
|
40900
40963
|
{
|
|
40901
|
-
value: item.id
|
|
40964
|
+
value: item.id || `faq-item-${idx}`,
|
|
40902
40965
|
className: cn("rounded-lg border px-4", accordionItemClassName),
|
|
40903
40966
|
children: [
|
|
40904
40967
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -40914,7 +40977,7 @@ function FaqBorderedBadge({
|
|
|
40914
40977
|
/* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: cn(accordionContentClassName), children: item.answer })
|
|
40915
40978
|
]
|
|
40916
40979
|
},
|
|
40917
|
-
item.id
|
|
40980
|
+
item.id || idx
|
|
40918
40981
|
))
|
|
40919
40982
|
}
|
|
40920
40983
|
);
|
|
@@ -41021,10 +41084,10 @@ function FaqGradientCategories({
|
|
|
41021
41084
|
children: category.title
|
|
41022
41085
|
}
|
|
41023
41086
|
) : category.title,
|
|
41024
|
-
/* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: category.items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
41087
|
+
/* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: category.items.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
41025
41088
|
AccordionItem,
|
|
41026
41089
|
{
|
|
41027
|
-
value: item.id
|
|
41090
|
+
value: item.id || `faq-item-${idx}`,
|
|
41028
41091
|
className: accordionItemClassName,
|
|
41029
41092
|
children: [
|
|
41030
41093
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -41048,7 +41111,7 @@ function FaqGradientCategories({
|
|
|
41048
41111
|
)
|
|
41049
41112
|
]
|
|
41050
41113
|
},
|
|
41051
|
-
item.id
|
|
41114
|
+
item.id || idx
|
|
41052
41115
|
)) })
|
|
41053
41116
|
] }, categoryIndex))
|
|
41054
41117
|
}
|
|
@@ -41197,10 +41260,10 @@ function FaqSidebarNavigation({
|
|
|
41197
41260
|
children: category.title
|
|
41198
41261
|
}
|
|
41199
41262
|
) : category.title,
|
|
41200
|
-
/* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: category.items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
41263
|
+
/* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: category.items.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
41201
41264
|
AccordionItem,
|
|
41202
41265
|
{
|
|
41203
|
-
value: item.id
|
|
41266
|
+
value: item.id || `faq-item-${idx}`,
|
|
41204
41267
|
className: accordionItemClassName,
|
|
41205
41268
|
children: [
|
|
41206
41269
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -41222,7 +41285,7 @@ function FaqSidebarNavigation({
|
|
|
41222
41285
|
)
|
|
41223
41286
|
]
|
|
41224
41287
|
},
|
|
41225
|
-
item.id
|
|
41288
|
+
item.id || idx
|
|
41226
41289
|
)) })
|
|
41227
41290
|
]
|
|
41228
41291
|
},
|
|
@@ -41412,7 +41475,7 @@ function FaqCardCategories({
|
|
|
41412
41475
|
children: category.items?.map((item, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
41413
41476
|
AccordionItem,
|
|
41414
41477
|
{
|
|
41415
|
-
value: item.id
|
|
41478
|
+
value: item.id || `faq-item-${index}`,
|
|
41416
41479
|
className: cn(
|
|
41417
41480
|
categories?.length === index + 1 && "border-b-0",
|
|
41418
41481
|
accordionItemClassName
|
|
@@ -41439,7 +41502,7 @@ function FaqCardCategories({
|
|
|
41439
41502
|
)
|
|
41440
41503
|
]
|
|
41441
41504
|
},
|
|
41442
|
-
item.id
|
|
41505
|
+
item.id || index
|
|
41443
41506
|
))
|
|
41444
41507
|
}
|
|
41445
41508
|
) })
|
|
@@ -41720,10 +41783,10 @@ function FaqRoundedCards({
|
|
|
41720
41783
|
type: "single",
|
|
41721
41784
|
collapsible: true,
|
|
41722
41785
|
className: cn("space-y-4", accordionClassName),
|
|
41723
|
-
children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
41786
|
+
children: items.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
41724
41787
|
AccordionItem,
|
|
41725
41788
|
{
|
|
41726
|
-
value: item.id
|
|
41789
|
+
value: item.id || `faq-item-${idx}`,
|
|
41727
41790
|
className: cn(
|
|
41728
41791
|
"border border-border/50",
|
|
41729
41792
|
"transition-all duration-500",
|
|
@@ -41760,7 +41823,7 @@ function FaqRoundedCards({
|
|
|
41760
41823
|
)
|
|
41761
41824
|
]
|
|
41762
41825
|
},
|
|
41763
|
-
item.id
|
|
41826
|
+
item.id || idx
|
|
41764
41827
|
))
|
|
41765
41828
|
}
|
|
41766
41829
|
);
|
|
@@ -41878,10 +41941,10 @@ function FaqProfileSidebar({
|
|
|
41878
41941
|
const itemsContent = React30.useMemo(() => {
|
|
41879
41942
|
if (itemsSlot) return itemsSlot;
|
|
41880
41943
|
if (!items || items.length === 0) return null;
|
|
41881
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
41944
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: items.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
41882
41945
|
AccordionItem,
|
|
41883
41946
|
{
|
|
41884
|
-
value: item.id
|
|
41947
|
+
value: item.id || `faq-item-${idx}`,
|
|
41885
41948
|
className: accordionItemClassName,
|
|
41886
41949
|
children: [
|
|
41887
41950
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -41905,7 +41968,7 @@ function FaqProfileSidebar({
|
|
|
41905
41968
|
)
|
|
41906
41969
|
]
|
|
41907
41970
|
},
|
|
41908
|
-
item.id
|
|
41971
|
+
item.id || idx
|
|
41909
41972
|
)) });
|
|
41910
41973
|
}, [
|
|
41911
41974
|
itemsSlot,
|
|
@@ -42102,10 +42165,10 @@ function FaqSplitHero({
|
|
|
42102
42165
|
type: "single",
|
|
42103
42166
|
collapsible: true,
|
|
42104
42167
|
className: cn("w-full", accordionClassName),
|
|
42105
|
-
children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
42168
|
+
children: items.map((item, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
42106
42169
|
AccordionItem,
|
|
42107
42170
|
{
|
|
42108
|
-
value: item.id
|
|
42171
|
+
value: item.id || `faq-item-${idx}`,
|
|
42109
42172
|
className: cn("border-b border-current/20", accordionItemClassName),
|
|
42110
42173
|
children: [
|
|
42111
42174
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -42129,7 +42192,7 @@ function FaqSplitHero({
|
|
|
42129
42192
|
)
|
|
42130
42193
|
]
|
|
42131
42194
|
},
|
|
42132
|
-
item.id
|
|
42195
|
+
item.id || idx
|
|
42133
42196
|
))
|
|
42134
42197
|
}
|
|
42135
42198
|
);
|
|
@@ -69428,10 +69491,10 @@ var NavbarTabbedSections = ({
|
|
|
69428
69491
|
className: "border-b-0",
|
|
69429
69492
|
children: [
|
|
69430
69493
|
/* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-15 items-center p-0 px-4! text-base leading-[3.75] font-normal text-muted-foreground hover:bg-muted hover:no-underline", children: item.title }),
|
|
69431
|
-
/* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none pb-4", children: /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full pl-4", children: item.tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
69494
|
+
/* @__PURE__ */ jsxRuntime.jsx(AccordionContent, { className: "overflow-x-none pb-4", children: /* @__PURE__ */ jsxRuntime.jsx(Accordion, { type: "multiple", className: "w-full pl-4", children: item.tabs.map((tab, idx) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
69432
69495
|
AccordionItem,
|
|
69433
69496
|
{
|
|
69434
|
-
value: tab.id
|
|
69497
|
+
value: tab.id || `tab-${idx}`,
|
|
69435
69498
|
className: "border-b-0",
|
|
69436
69499
|
children: [
|
|
69437
69500
|
/* @__PURE__ */ jsxRuntime.jsx(AccordionTrigger, { className: "h-12 items-center p-0 px-4! text-sm leading-[3] font-medium text-muted-foreground hover:bg-muted hover:no-underline", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
@@ -69453,7 +69516,7 @@ var NavbarTabbedSections = ({
|
|
|
69453
69516
|
)) }) })
|
|
69454
69517
|
]
|
|
69455
69518
|
},
|
|
69456
|
-
tab.id
|
|
69519
|
+
tab.id || idx
|
|
69457
69520
|
)) }) })
|
|
69458
69521
|
]
|
|
69459
69522
|
},
|