@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.js
CHANGED
|
@@ -14064,10 +14064,10 @@ function ContactCareers({
|
|
|
14064
14064
|
type: "single",
|
|
14065
14065
|
collapsible: true,
|
|
14066
14066
|
className: cn("space-y-3", accordionClassName),
|
|
14067
|
-
children: jobListings.map((job) => /* @__PURE__ */ jsxs(
|
|
14067
|
+
children: jobListings.map((job, idx) => /* @__PURE__ */ jsxs(
|
|
14068
14068
|
AccordionItem,
|
|
14069
14069
|
{
|
|
14070
|
-
value: job.id
|
|
14070
|
+
value: job.id || `faq-item-${idx}`,
|
|
14071
14071
|
className: cn(
|
|
14072
14072
|
"rounded-xl border border-border/60",
|
|
14073
14073
|
"px-5 shadow-sm transition-all hover:shadow-md",
|
|
@@ -14092,7 +14092,7 @@ function ContactCareers({
|
|
|
14092
14092
|
/* @__PURE__ */ jsx(AccordionContent, { className: cn("pb-4", accordionContentClassName), children: job.description })
|
|
14093
14093
|
]
|
|
14094
14094
|
},
|
|
14095
|
-
job.id
|
|
14095
|
+
job.id || idx
|
|
14096
14096
|
))
|
|
14097
14097
|
}
|
|
14098
14098
|
);
|
|
@@ -15430,10 +15430,10 @@ function ContactFaq({
|
|
|
15430
15430
|
const faqContent = useMemo(() => {
|
|
15431
15431
|
if (itemsSlot) return itemsSlot;
|
|
15432
15432
|
if (!items || items.length === 0) return null;
|
|
15433
|
-
return /* @__PURE__ */ jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: items.map((item) => /* @__PURE__ */ jsxs(
|
|
15433
|
+
return /* @__PURE__ */ jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: items.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
15434
15434
|
AccordionItem,
|
|
15435
15435
|
{
|
|
15436
|
-
value: item.id
|
|
15436
|
+
value: item.id || `faq-item-${idx}`,
|
|
15437
15437
|
className: accordionItemClassName,
|
|
15438
15438
|
children: [
|
|
15439
15439
|
/* @__PURE__ */ jsx(
|
|
@@ -15449,7 +15449,7 @@ function ContactFaq({
|
|
|
15449
15449
|
/* @__PURE__ */ jsx(AccordionContent, { className: cn(accordionContentClassName), children: item.answer })
|
|
15450
15450
|
]
|
|
15451
15451
|
},
|
|
15452
|
-
item.id
|
|
15452
|
+
item.id || idx
|
|
15453
15453
|
)) });
|
|
15454
15454
|
}, [
|
|
15455
15455
|
itemsSlot,
|
|
@@ -22793,6 +22793,12 @@ function FeatureIconGridBordered({
|
|
|
22793
22793
|
}
|
|
22794
22794
|
);
|
|
22795
22795
|
}
|
|
22796
|
+
function isRenderableNode(value) {
|
|
22797
|
+
return value !== null && value !== void 0 && typeof value !== "boolean" && !(typeof value === "string" && value.trim().length === 0);
|
|
22798
|
+
}
|
|
22799
|
+
function firstRenderableNode(...values) {
|
|
22800
|
+
return values.find(isRenderableNode);
|
|
22801
|
+
}
|
|
22796
22802
|
function FeatureChecklistImage({
|
|
22797
22803
|
sectionId = "feature-checklist-image",
|
|
22798
22804
|
title,
|
|
@@ -22805,9 +22811,10 @@ function FeatureChecklistImage({
|
|
|
22805
22811
|
actions,
|
|
22806
22812
|
actionsSlot,
|
|
22807
22813
|
checklistItems,
|
|
22814
|
+
benefits,
|
|
22808
22815
|
checklistSlot,
|
|
22809
22816
|
className,
|
|
22810
|
-
containerClassName = "px-6 sm:px-6 md:px-6 lg:px-8",
|
|
22817
|
+
containerClassName = "max-w-screen-2xl px-6 sm:px-6 md:px-6 lg:px-8",
|
|
22811
22818
|
contentWrapperClassName,
|
|
22812
22819
|
imageClassName,
|
|
22813
22820
|
contentClassName,
|
|
@@ -22864,33 +22871,69 @@ function FeatureChecklistImage({
|
|
|
22864
22871
|
if (imageSlot) return imageSlot;
|
|
22865
22872
|
if (!imageSrc) return null;
|
|
22866
22873
|
return /* @__PURE__ */ jsx(
|
|
22867
|
-
|
|
22874
|
+
"div",
|
|
22868
22875
|
{
|
|
22869
|
-
src: imageSrc,
|
|
22870
|
-
alt: imageAlt || "Feature illustration",
|
|
22871
22876
|
className: cn(
|
|
22872
|
-
"
|
|
22877
|
+
"relative aspect-[3/2] w-full overflow-hidden rounded-lg shadow-xl",
|
|
22873
22878
|
imageClassName
|
|
22874
22879
|
),
|
|
22875
|
-
|
|
22876
|
-
|
|
22880
|
+
children: /* @__PURE__ */ jsx(
|
|
22881
|
+
Img,
|
|
22882
|
+
{
|
|
22883
|
+
src: imageSrc,
|
|
22884
|
+
alt: imageAlt || "Feature illustration",
|
|
22885
|
+
className: cn(
|
|
22886
|
+
"block h-full w-full object-cover object-center",
|
|
22887
|
+
imageClassName
|
|
22888
|
+
),
|
|
22889
|
+
loading: "lazy",
|
|
22890
|
+
optixFlowConfig
|
|
22891
|
+
}
|
|
22892
|
+
)
|
|
22877
22893
|
}
|
|
22878
22894
|
);
|
|
22879
22895
|
}, [imageSlot, imageSrc, imageAlt, imageClassName, optixFlowConfig]);
|
|
22880
22896
|
const checklistContent = useMemo(() => {
|
|
22881
22897
|
if (checklistSlot) return checklistSlot;
|
|
22882
|
-
|
|
22883
|
-
|
|
22898
|
+
const items = checklistItems ?? benefits;
|
|
22899
|
+
if (!items || items.length === 0) return null;
|
|
22900
|
+
const renderedItems = [];
|
|
22901
|
+
items.forEach((item, index) => {
|
|
22884
22902
|
const isString = typeof item === "string";
|
|
22885
|
-
const content = isString ? item : item.content;
|
|
22886
|
-
const
|
|
22903
|
+
const content = isString ? item : firstRenderableNode(item.content, item.text, item.label);
|
|
22904
|
+
const title2 = isString ? void 0 : item.title;
|
|
22905
|
+
const description2 = isString ? void 0 : item.description;
|
|
22906
|
+
if (!isRenderableNode(content) && !isRenderableNode(title2) && !isRenderableNode(description2)) {
|
|
22907
|
+
return;
|
|
22908
|
+
}
|
|
22909
|
+
const iconElement = isString ? /* @__PURE__ */ jsx(
|
|
22910
|
+
DynamicIcon,
|
|
22911
|
+
{
|
|
22912
|
+
name: "lucide/circle-check-big",
|
|
22913
|
+
size: 20,
|
|
22914
|
+
className: "h-5 w-5"
|
|
22915
|
+
}
|
|
22916
|
+
) : item.icon ?? (item.iconName ? /* @__PURE__ */ jsx(DynamicIcon, { name: item.iconName, size: 20, className: "h-5 w-5" }) : /* @__PURE__ */ jsx(
|
|
22917
|
+
DynamicIcon,
|
|
22918
|
+
{
|
|
22919
|
+
name: "lucide/circle-check-big",
|
|
22920
|
+
size: 20,
|
|
22921
|
+
className: "h-5 w-5"
|
|
22922
|
+
}
|
|
22923
|
+
));
|
|
22887
22924
|
const itemClassName = isString ? void 0 : item.className;
|
|
22888
|
-
|
|
22889
|
-
/* @__PURE__ */
|
|
22890
|
-
|
|
22891
|
-
|
|
22925
|
+
renderedItems.push(
|
|
22926
|
+
/* @__PURE__ */ jsxs("li", { className: cn("flex items-start gap-3", itemClassName), children: [
|
|
22927
|
+
/* @__PURE__ */ jsx("div", { className: "mt-1 flex h-5 w-5 shrink-0 items-center justify-center", children: iconElement }),
|
|
22928
|
+
isRenderableNode(content) ? typeof content === "string" ? /* @__PURE__ */ jsx("span", { className: "text-base font-medium leading-relaxed md:text-lg", children: content }) : /* @__PURE__ */ jsx("div", { className: "min-w-0 text-base font-medium leading-relaxed md:text-lg", children: content }) : /* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
|
|
22929
|
+
isRenderableNode(title2) && (typeof title2 === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-base font-semibold leading-snug md:text-lg", children: title2 }) : /* @__PURE__ */ jsx("div", { className: "text-base font-semibold leading-snug md:text-lg", children: title2 })),
|
|
22930
|
+
isRenderableNode(description2) && (typeof description2 === "string" ? /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm leading-relaxed text-current/75 md:text-base", children: description2 }) : /* @__PURE__ */ jsx("div", { className: "mt-1 text-sm leading-relaxed text-current/75 md:text-base", children: description2 }))
|
|
22931
|
+
] })
|
|
22932
|
+
] }, index)
|
|
22933
|
+
);
|
|
22892
22934
|
});
|
|
22893
|
-
|
|
22935
|
+
return renderedItems.length > 0 ? renderedItems : null;
|
|
22936
|
+
}, [checklistSlot, checklistItems, benefits]);
|
|
22894
22937
|
return /* @__PURE__ */ jsx(
|
|
22895
22938
|
Section,
|
|
22896
22939
|
{
|
|
@@ -22906,7 +22949,8 @@ function FeatureChecklistImage({
|
|
|
22906
22949
|
"div",
|
|
22907
22950
|
{
|
|
22908
22951
|
className: cn(
|
|
22909
|
-
"
|
|
22952
|
+
"grid gap-8 md:gap-12 lg:items-center",
|
|
22953
|
+
imageContent ? "lg:grid-cols-2" : "lg:grid-cols-1",
|
|
22910
22954
|
contentWrapperClassName
|
|
22911
22955
|
),
|
|
22912
22956
|
children: [
|
|
@@ -22915,7 +22959,8 @@ function FeatureChecklistImage({
|
|
|
22915
22959
|
"div",
|
|
22916
22960
|
{
|
|
22917
22961
|
className: cn(
|
|
22918
|
-
"
|
|
22962
|
+
"flex min-w-0 flex-col gap-6 py-2 md:gap-8 md:py-0 lg:gap-10",
|
|
22963
|
+
imageContent && "lg:pl-8",
|
|
22919
22964
|
contentClassName
|
|
22920
22965
|
),
|
|
22921
22966
|
children: [
|
|
@@ -22923,7 +22968,7 @@ function FeatureChecklistImage({
|
|
|
22923
22968
|
"h2",
|
|
22924
22969
|
{
|
|
22925
22970
|
className: cn(
|
|
22926
|
-
"text-
|
|
22971
|
+
"text-2xl font-semibold text-balance sm:text-3xl lg:text-4xl",
|
|
22927
22972
|
titleClassName
|
|
22928
22973
|
),
|
|
22929
22974
|
children: title
|
|
@@ -22932,18 +22977,36 @@ function FeatureChecklistImage({
|
|
|
22932
22977
|
"div",
|
|
22933
22978
|
{
|
|
22934
22979
|
className: cn(
|
|
22935
|
-
"text-
|
|
22980
|
+
"text-2xl font-semibold text-balance sm:text-3xl lg:text-4xl",
|
|
22936
22981
|
titleClassName
|
|
22937
22982
|
),
|
|
22938
22983
|
children: title
|
|
22939
22984
|
}
|
|
22940
22985
|
)),
|
|
22941
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
22986
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
22987
|
+
"p",
|
|
22988
|
+
{
|
|
22989
|
+
className: cn(
|
|
22990
|
+
"relative text-base leading-relaxed md:text-lg",
|
|
22991
|
+
descriptionClassName
|
|
22992
|
+
),
|
|
22993
|
+
children: description
|
|
22994
|
+
}
|
|
22995
|
+
) : /* @__PURE__ */ jsx(
|
|
22996
|
+
"div",
|
|
22997
|
+
{
|
|
22998
|
+
className: cn(
|
|
22999
|
+
"relative text-base leading-relaxed md:text-lg",
|
|
23000
|
+
descriptionClassName
|
|
23001
|
+
),
|
|
23002
|
+
children: description
|
|
23003
|
+
}
|
|
23004
|
+
)),
|
|
22942
23005
|
actionsContent && /* @__PURE__ */ jsx(
|
|
22943
23006
|
"div",
|
|
22944
23007
|
{
|
|
22945
23008
|
className: cn(
|
|
22946
|
-
"flex flex-
|
|
23009
|
+
"flex flex-col items-start gap-4 sm:flex-row sm:flex-wrap sm:items-center",
|
|
22947
23010
|
actionsClassName
|
|
22948
23011
|
),
|
|
22949
23012
|
children: actionsContent
|
|
@@ -22953,7 +23016,7 @@ function FeatureChecklistImage({
|
|
|
22953
23016
|
"ul",
|
|
22954
23017
|
{
|
|
22955
23018
|
className: cn(
|
|
22956
|
-
"flex
|
|
23019
|
+
"flex flex-col space-y-3 md:space-y-4",
|
|
22957
23020
|
checklistClassName
|
|
22958
23021
|
),
|
|
22959
23022
|
children: checklistContent
|
|
@@ -39804,10 +39867,10 @@ function FaqCenteredAccordion({
|
|
|
39804
39867
|
type: "single",
|
|
39805
39868
|
collapsible: true,
|
|
39806
39869
|
className: cn("mx-auto w-full lg:max-w-3xl", accordionClassName),
|
|
39807
|
-
children: items.map((item) => /* @__PURE__ */ jsxs(
|
|
39870
|
+
children: items.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
39808
39871
|
AccordionItem,
|
|
39809
39872
|
{
|
|
39810
|
-
value: item.id
|
|
39873
|
+
value: item.id || `faq-item-${idx}`,
|
|
39811
39874
|
className: accordionItemClassName,
|
|
39812
39875
|
children: [
|
|
39813
39876
|
/* @__PURE__ */ jsx(
|
|
@@ -39829,7 +39892,7 @@ function FaqCenteredAccordion({
|
|
|
39829
39892
|
)
|
|
39830
39893
|
]
|
|
39831
39894
|
},
|
|
39832
|
-
item.id
|
|
39895
|
+
item.id || idx
|
|
39833
39896
|
))
|
|
39834
39897
|
}
|
|
39835
39898
|
);
|
|
@@ -39917,10 +39980,10 @@ function FaqBadgeSupport({
|
|
|
39917
39980
|
type: "single",
|
|
39918
39981
|
collapsible: true,
|
|
39919
39982
|
className: cn("mx-auto w-full lg:max-w-3xl", accordionClassName),
|
|
39920
|
-
children: items.map((item) => /* @__PURE__ */ jsxs(
|
|
39983
|
+
children: items.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
39921
39984
|
AccordionItem,
|
|
39922
39985
|
{
|
|
39923
|
-
value: item.id
|
|
39986
|
+
value: item.id || `faq-item-${idx}`,
|
|
39924
39987
|
className: accordionItemClassName,
|
|
39925
39988
|
children: [
|
|
39926
39989
|
/* @__PURE__ */ jsx(
|
|
@@ -39942,7 +40005,7 @@ function FaqBadgeSupport({
|
|
|
39942
40005
|
)
|
|
39943
40006
|
]
|
|
39944
40007
|
},
|
|
39945
|
-
item.id
|
|
40008
|
+
item.id || idx
|
|
39946
40009
|
))
|
|
39947
40010
|
}
|
|
39948
40011
|
);
|
|
@@ -40404,10 +40467,10 @@ function FaqSplitHelp({
|
|
|
40404
40467
|
type: "single",
|
|
40405
40468
|
collapsible: true,
|
|
40406
40469
|
className: cn("w-full lg:w-2/3", accordionClassName),
|
|
40407
|
-
children: items.map((item) => /* @__PURE__ */ jsxs(
|
|
40470
|
+
children: items.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
40408
40471
|
AccordionItem,
|
|
40409
40472
|
{
|
|
40410
|
-
value: item.id
|
|
40473
|
+
value: item.id || `faq-item-${idx}`,
|
|
40411
40474
|
className: accordionItemClassName,
|
|
40412
40475
|
children: [
|
|
40413
40476
|
/* @__PURE__ */ jsx(
|
|
@@ -40429,7 +40492,7 @@ function FaqSplitHelp({
|
|
|
40429
40492
|
)
|
|
40430
40493
|
]
|
|
40431
40494
|
},
|
|
40432
|
-
item.id
|
|
40495
|
+
item.id || idx
|
|
40433
40496
|
))
|
|
40434
40497
|
}
|
|
40435
40498
|
);
|
|
@@ -40590,10 +40653,10 @@ function FaqCategorizedSections({
|
|
|
40590
40653
|
children: category.title
|
|
40591
40654
|
}
|
|
40592
40655
|
) : /* @__PURE__ */ jsx("div", { className: categoryTitleClassName, children: category.title }),
|
|
40593
|
-
/* @__PURE__ */ jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: category.items.map((item) => /* @__PURE__ */ jsxs(
|
|
40656
|
+
/* @__PURE__ */ jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: category.items.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
40594
40657
|
AccordionItem,
|
|
40595
40658
|
{
|
|
40596
|
-
value: item.id
|
|
40659
|
+
value: item.id || `faq-item-${idx}`,
|
|
40597
40660
|
className: accordionItemClassName,
|
|
40598
40661
|
children: [
|
|
40599
40662
|
/* @__PURE__ */ jsx(
|
|
@@ -40615,7 +40678,7 @@ function FaqCategorizedSections({
|
|
|
40615
40678
|
)
|
|
40616
40679
|
]
|
|
40617
40680
|
},
|
|
40618
|
-
item.id
|
|
40681
|
+
item.id || idx
|
|
40619
40682
|
)) })
|
|
40620
40683
|
] }, categoryIndex))
|
|
40621
40684
|
}
|
|
@@ -40707,7 +40770,7 @@ function FaqMutedCards({
|
|
|
40707
40770
|
children: items.map((item, index) => /* @__PURE__ */ jsxs(
|
|
40708
40771
|
AccordionItem,
|
|
40709
40772
|
{
|
|
40710
|
-
value: item.id
|
|
40773
|
+
value: item.id || `faq-item-${index}`,
|
|
40711
40774
|
className: cn(
|
|
40712
40775
|
"border-border/50",
|
|
40713
40776
|
index === items.length - 1 ? "border-none" : "",
|
|
@@ -40855,10 +40918,10 @@ function FaqBorderedBadge({
|
|
|
40855
40918
|
type: "single",
|
|
40856
40919
|
collapsible: true,
|
|
40857
40920
|
className: cn("space-y-4", accordionClassName),
|
|
40858
|
-
children: items.map((item) => /* @__PURE__ */ jsxs(
|
|
40921
|
+
children: items.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
40859
40922
|
AccordionItem,
|
|
40860
40923
|
{
|
|
40861
|
-
value: item.id
|
|
40924
|
+
value: item.id || `faq-item-${idx}`,
|
|
40862
40925
|
className: cn("rounded-lg border px-4", accordionItemClassName),
|
|
40863
40926
|
children: [
|
|
40864
40927
|
/* @__PURE__ */ jsx(
|
|
@@ -40874,7 +40937,7 @@ function FaqBorderedBadge({
|
|
|
40874
40937
|
/* @__PURE__ */ jsx(AccordionContent, { className: cn(accordionContentClassName), children: item.answer })
|
|
40875
40938
|
]
|
|
40876
40939
|
},
|
|
40877
|
-
item.id
|
|
40940
|
+
item.id || idx
|
|
40878
40941
|
))
|
|
40879
40942
|
}
|
|
40880
40943
|
);
|
|
@@ -40981,10 +41044,10 @@ function FaqGradientCategories({
|
|
|
40981
41044
|
children: category.title
|
|
40982
41045
|
}
|
|
40983
41046
|
) : category.title,
|
|
40984
|
-
/* @__PURE__ */ jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: category.items.map((item) => /* @__PURE__ */ jsxs(
|
|
41047
|
+
/* @__PURE__ */ jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: category.items.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
40985
41048
|
AccordionItem,
|
|
40986
41049
|
{
|
|
40987
|
-
value: item.id
|
|
41050
|
+
value: item.id || `faq-item-${idx}`,
|
|
40988
41051
|
className: accordionItemClassName,
|
|
40989
41052
|
children: [
|
|
40990
41053
|
/* @__PURE__ */ jsx(
|
|
@@ -41008,7 +41071,7 @@ function FaqGradientCategories({
|
|
|
41008
41071
|
)
|
|
41009
41072
|
]
|
|
41010
41073
|
},
|
|
41011
|
-
item.id
|
|
41074
|
+
item.id || idx
|
|
41012
41075
|
)) })
|
|
41013
41076
|
] }, categoryIndex))
|
|
41014
41077
|
}
|
|
@@ -41157,10 +41220,10 @@ function FaqSidebarNavigation({
|
|
|
41157
41220
|
children: category.title
|
|
41158
41221
|
}
|
|
41159
41222
|
) : category.title,
|
|
41160
|
-
/* @__PURE__ */ jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: category.items.map((item) => /* @__PURE__ */ jsxs(
|
|
41223
|
+
/* @__PURE__ */ jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: category.items.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
41161
41224
|
AccordionItem,
|
|
41162
41225
|
{
|
|
41163
|
-
value: item.id
|
|
41226
|
+
value: item.id || `faq-item-${idx}`,
|
|
41164
41227
|
className: accordionItemClassName,
|
|
41165
41228
|
children: [
|
|
41166
41229
|
/* @__PURE__ */ jsx(
|
|
@@ -41182,7 +41245,7 @@ function FaqSidebarNavigation({
|
|
|
41182
41245
|
)
|
|
41183
41246
|
]
|
|
41184
41247
|
},
|
|
41185
|
-
item.id
|
|
41248
|
+
item.id || idx
|
|
41186
41249
|
)) })
|
|
41187
41250
|
]
|
|
41188
41251
|
},
|
|
@@ -41372,7 +41435,7 @@ function FaqCardCategories({
|
|
|
41372
41435
|
children: category.items?.map((item, index) => /* @__PURE__ */ jsxs(
|
|
41373
41436
|
AccordionItem,
|
|
41374
41437
|
{
|
|
41375
|
-
value: item.id
|
|
41438
|
+
value: item.id || `faq-item-${index}`,
|
|
41376
41439
|
className: cn(
|
|
41377
41440
|
categories?.length === index + 1 && "border-b-0",
|
|
41378
41441
|
accordionItemClassName
|
|
@@ -41399,7 +41462,7 @@ function FaqCardCategories({
|
|
|
41399
41462
|
)
|
|
41400
41463
|
]
|
|
41401
41464
|
},
|
|
41402
|
-
item.id
|
|
41465
|
+
item.id || index
|
|
41403
41466
|
))
|
|
41404
41467
|
}
|
|
41405
41468
|
) })
|
|
@@ -41680,10 +41743,10 @@ function FaqRoundedCards({
|
|
|
41680
41743
|
type: "single",
|
|
41681
41744
|
collapsible: true,
|
|
41682
41745
|
className: cn("space-y-4", accordionClassName),
|
|
41683
|
-
children: items.map((item) => /* @__PURE__ */ jsxs(
|
|
41746
|
+
children: items.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
41684
41747
|
AccordionItem,
|
|
41685
41748
|
{
|
|
41686
|
-
value: item.id
|
|
41749
|
+
value: item.id || `faq-item-${idx}`,
|
|
41687
41750
|
className: cn(
|
|
41688
41751
|
"border border-border/50",
|
|
41689
41752
|
"transition-all duration-500",
|
|
@@ -41720,7 +41783,7 @@ function FaqRoundedCards({
|
|
|
41720
41783
|
)
|
|
41721
41784
|
]
|
|
41722
41785
|
},
|
|
41723
|
-
item.id
|
|
41786
|
+
item.id || idx
|
|
41724
41787
|
))
|
|
41725
41788
|
}
|
|
41726
41789
|
);
|
|
@@ -41838,10 +41901,10 @@ function FaqProfileSidebar({
|
|
|
41838
41901
|
const itemsContent = useMemo(() => {
|
|
41839
41902
|
if (itemsSlot) return itemsSlot;
|
|
41840
41903
|
if (!items || items.length === 0) return null;
|
|
41841
|
-
return /* @__PURE__ */ jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: items.map((item) => /* @__PURE__ */ jsxs(
|
|
41904
|
+
return /* @__PURE__ */ jsx(Accordion, { type: "single", collapsible: true, className: accordionClassName, children: items.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
41842
41905
|
AccordionItem,
|
|
41843
41906
|
{
|
|
41844
|
-
value: item.id
|
|
41907
|
+
value: item.id || `faq-item-${idx}`,
|
|
41845
41908
|
className: accordionItemClassName,
|
|
41846
41909
|
children: [
|
|
41847
41910
|
/* @__PURE__ */ jsx(
|
|
@@ -41865,7 +41928,7 @@ function FaqProfileSidebar({
|
|
|
41865
41928
|
)
|
|
41866
41929
|
]
|
|
41867
41930
|
},
|
|
41868
|
-
item.id
|
|
41931
|
+
item.id || idx
|
|
41869
41932
|
)) });
|
|
41870
41933
|
}, [
|
|
41871
41934
|
itemsSlot,
|
|
@@ -42062,10 +42125,10 @@ function FaqSplitHero({
|
|
|
42062
42125
|
type: "single",
|
|
42063
42126
|
collapsible: true,
|
|
42064
42127
|
className: cn("w-full", accordionClassName),
|
|
42065
|
-
children: items.map((item) => /* @__PURE__ */ jsxs(
|
|
42128
|
+
children: items.map((item, idx) => /* @__PURE__ */ jsxs(
|
|
42066
42129
|
AccordionItem,
|
|
42067
42130
|
{
|
|
42068
|
-
value: item.id
|
|
42131
|
+
value: item.id || `faq-item-${idx}`,
|
|
42069
42132
|
className: cn("border-b border-current/20", accordionItemClassName),
|
|
42070
42133
|
children: [
|
|
42071
42134
|
/* @__PURE__ */ jsx(
|
|
@@ -42089,7 +42152,7 @@ function FaqSplitHero({
|
|
|
42089
42152
|
)
|
|
42090
42153
|
]
|
|
42091
42154
|
},
|
|
42092
|
-
item.id
|
|
42155
|
+
item.id || idx
|
|
42093
42156
|
))
|
|
42094
42157
|
}
|
|
42095
42158
|
);
|
|
@@ -69388,10 +69451,10 @@ var NavbarTabbedSections = ({
|
|
|
69388
69451
|
className: "border-b-0",
|
|
69389
69452
|
children: [
|
|
69390
69453
|
/* @__PURE__ */ 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 }),
|
|
69391
|
-
/* @__PURE__ */ jsx(AccordionContent, { className: "overflow-x-none pb-4", children: /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full pl-4", children: item.tabs.map((tab) => /* @__PURE__ */ jsxs(
|
|
69454
|
+
/* @__PURE__ */ jsx(AccordionContent, { className: "overflow-x-none pb-4", children: /* @__PURE__ */ jsx(Accordion, { type: "multiple", className: "w-full pl-4", children: item.tabs.map((tab, idx) => /* @__PURE__ */ jsxs(
|
|
69392
69455
|
AccordionItem,
|
|
69393
69456
|
{
|
|
69394
|
-
value: tab.id
|
|
69457
|
+
value: tab.id || `tab-${idx}`,
|
|
69395
69458
|
className: "border-b-0",
|
|
69396
69459
|
children: [
|
|
69397
69460
|
/* @__PURE__ */ 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__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
@@ -69413,7 +69476,7 @@ var NavbarTabbedSections = ({
|
|
|
69413
69476
|
)) }) })
|
|
69414
69477
|
]
|
|
69415
69478
|
},
|
|
69416
|
-
tab.id
|
|
69479
|
+
tab.id || idx
|
|
69417
69480
|
)) }) })
|
|
69418
69481
|
]
|
|
69419
69482
|
},
|
|
@@ -77,6 +77,6 @@ interface SocialLinkIconProps extends Omit<PressableProps, "children">, SocialLi
|
|
|
77
77
|
* />
|
|
78
78
|
* ```
|
|
79
79
|
*/
|
|
80
|
-
declare const SocialLinkIcon: React.ForwardRefExoticComponent<SocialLinkIconProps & React.RefAttributes<
|
|
80
|
+
declare const SocialLinkIcon: React.ForwardRefExoticComponent<SocialLinkIconProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement | HTMLSpanElement>>;
|
|
81
81
|
|
|
82
82
|
export { SocialLinkIcon, type SocialLinkIconDynamicIconProps, type SocialLinkIconProps };
|
|
@@ -77,6 +77,6 @@ interface SocialLinkIconProps extends Omit<PressableProps, "children">, SocialLi
|
|
|
77
77
|
* />
|
|
78
78
|
* ```
|
|
79
79
|
*/
|
|
80
|
-
declare const SocialLinkIcon: React.ForwardRefExoticComponent<SocialLinkIconProps & React.RefAttributes<
|
|
80
|
+
declare const SocialLinkIcon: React.ForwardRefExoticComponent<SocialLinkIconProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement | HTMLSpanElement>>;
|
|
81
81
|
|
|
82
82
|
export { SocialLinkIcon, type SocialLinkIconDynamicIconProps, type SocialLinkIconProps };
|