@opensite/ui 0.8.5 → 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/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 +85 -185
- package/dist/faq-split-hero.d.cts +16 -18
- package/dist/faq-split-hero.d.ts +16 -18
- package/dist/faq-split-hero.js +86 -186
- 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-showcase.cjs +1 -2
- package/dist/feature-showcase.js +1 -2
- package/dist/feature-split-image-reverse.cjs +2 -8
- package/dist/feature-split-image-reverse.js +2 -8
- package/dist/feature-split-image.cjs +2 -2
- package/dist/feature-split-image.js +2 -2
- package/dist/feature-stats-highlight.cjs +50 -13
- package/dist/feature-stats-highlight.js +50 -13
- package/dist/feature-tabbed-content-image.cjs +5 -14
- package/dist/feature-tabbed-content-image.js +5 -14
- package/dist/feature-three-column-values.cjs +4 -44
- package/dist/feature-three-column-values.js +4 -44
- 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 +487 -293
- package/dist/registry.js +487 -293
- package/package.json +1 -1
|
@@ -516,7 +516,7 @@ function FaqIconBenefits({
|
|
|
516
516
|
benefits,
|
|
517
517
|
benefitsSlot,
|
|
518
518
|
background,
|
|
519
|
-
spacing,
|
|
519
|
+
spacing = "py-6 md:py-32",
|
|
520
520
|
pattern,
|
|
521
521
|
patternOpacity,
|
|
522
522
|
patternClassName,
|
|
@@ -583,7 +583,16 @@ function FaqIconBenefits({
|
|
|
583
583
|
))
|
|
584
584
|
}
|
|
585
585
|
);
|
|
586
|
-
}, [
|
|
586
|
+
}, [
|
|
587
|
+
benefitsSlot,
|
|
588
|
+
benefits,
|
|
589
|
+
gridClassName,
|
|
590
|
+
benefitCardClassName,
|
|
591
|
+
iconWrapperClassName,
|
|
592
|
+
iconClassName,
|
|
593
|
+
titleClassName,
|
|
594
|
+
benefitDescriptionClassName
|
|
595
|
+
]);
|
|
587
596
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
588
597
|
Section,
|
|
589
598
|
{
|
|
@@ -495,7 +495,7 @@ function FaqIconBenefits({
|
|
|
495
495
|
benefits,
|
|
496
496
|
benefitsSlot,
|
|
497
497
|
background,
|
|
498
|
-
spacing,
|
|
498
|
+
spacing = "py-6 md:py-32",
|
|
499
499
|
pattern,
|
|
500
500
|
patternOpacity,
|
|
501
501
|
patternClassName,
|
|
@@ -562,7 +562,16 @@ function FaqIconBenefits({
|
|
|
562
562
|
))
|
|
563
563
|
}
|
|
564
564
|
);
|
|
565
|
-
}, [
|
|
565
|
+
}, [
|
|
566
|
+
benefitsSlot,
|
|
567
|
+
benefits,
|
|
568
|
+
gridClassName,
|
|
569
|
+
benefitCardClassName,
|
|
570
|
+
iconWrapperClassName,
|
|
571
|
+
iconClassName,
|
|
572
|
+
titleClassName,
|
|
573
|
+
benefitDescriptionClassName
|
|
574
|
+
]);
|
|
566
575
|
return /* @__PURE__ */ jsx(
|
|
567
576
|
Section,
|
|
568
577
|
{
|
package/dist/faq-muted-cards.cjs
CHANGED
|
@@ -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
|
) });
|
|
@@ -571,7 +577,7 @@ function FaqMutedCards({
|
|
|
571
577
|
items,
|
|
572
578
|
itemsSlot,
|
|
573
579
|
background,
|
|
574
|
-
spacing,
|
|
580
|
+
spacing = "py-6 md:py-32",
|
|
575
581
|
pattern,
|
|
576
582
|
patternOpacity,
|
|
577
583
|
patternClassName,
|
|
@@ -624,7 +630,14 @@ function FaqMutedCards({
|
|
|
624
630
|
))
|
|
625
631
|
}
|
|
626
632
|
);
|
|
627
|
-
}, [
|
|
633
|
+
}, [
|
|
634
|
+
itemsSlot,
|
|
635
|
+
items,
|
|
636
|
+
accordionClassName,
|
|
637
|
+
accordionItemClassName,
|
|
638
|
+
accordionTriggerClassName,
|
|
639
|
+
accordionContentClassName
|
|
640
|
+
]);
|
|
628
641
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
629
642
|
Section,
|
|
630
643
|
{
|
|
@@ -636,10 +649,10 @@ function FaqMutedCards({
|
|
|
636
649
|
className,
|
|
637
650
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("container max-w-3xl", containerClassName), children: [
|
|
638
651
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
639
|
-
"
|
|
652
|
+
"h2",
|
|
640
653
|
{
|
|
641
654
|
className: cn(
|
|
642
|
-
"mb-4 text-3xl font-bold md:mb-11 md:text-4xl",
|
|
655
|
+
"mb-4 text-3xl font-bold md:mb-11 md:text-4xl px-4",
|
|
643
656
|
headingClassName
|
|
644
657
|
),
|
|
645
658
|
children: heading
|
package/dist/faq-muted-cards.js
CHANGED
|
@@ -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
|
) });
|
|
@@ -549,7 +555,7 @@ function FaqMutedCards({
|
|
|
549
555
|
items,
|
|
550
556
|
itemsSlot,
|
|
551
557
|
background,
|
|
552
|
-
spacing,
|
|
558
|
+
spacing = "py-6 md:py-32",
|
|
553
559
|
pattern,
|
|
554
560
|
patternOpacity,
|
|
555
561
|
patternClassName,
|
|
@@ -602,7 +608,14 @@ function FaqMutedCards({
|
|
|
602
608
|
))
|
|
603
609
|
}
|
|
604
610
|
);
|
|
605
|
-
}, [
|
|
611
|
+
}, [
|
|
612
|
+
itemsSlot,
|
|
613
|
+
items,
|
|
614
|
+
accordionClassName,
|
|
615
|
+
accordionItemClassName,
|
|
616
|
+
accordionTriggerClassName,
|
|
617
|
+
accordionContentClassName
|
|
618
|
+
]);
|
|
606
619
|
return /* @__PURE__ */ jsx(
|
|
607
620
|
Section,
|
|
608
621
|
{
|
|
@@ -614,10 +627,10 @@ function FaqMutedCards({
|
|
|
614
627
|
className,
|
|
615
628
|
children: /* @__PURE__ */ jsxs("div", { className: cn("container max-w-3xl", containerClassName), children: [
|
|
616
629
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
|
|
617
|
-
"
|
|
630
|
+
"h2",
|
|
618
631
|
{
|
|
619
632
|
className: cn(
|
|
620
|
-
"mb-4 text-3xl font-bold md:mb-11 md:text-4xl",
|
|
633
|
+
"mb-4 text-3xl font-bold md:mb-11 md:text-4xl px-4",
|
|
621
634
|
headingClassName
|
|
622
635
|
),
|
|
623
636
|
children: heading
|
|
@@ -395,7 +395,7 @@ function FaqNumberedGrid({
|
|
|
395
395
|
items,
|
|
396
396
|
itemsSlot,
|
|
397
397
|
background,
|
|
398
|
-
spacing,
|
|
398
|
+
spacing = "py-6 md:py-32",
|
|
399
399
|
pattern,
|
|
400
400
|
patternOpacity,
|
|
401
401
|
patternClassName,
|
|
@@ -432,7 +432,7 @@ function FaqNumberedGrid({
|
|
|
432
432
|
"span",
|
|
433
433
|
{
|
|
434
434
|
className: cn(
|
|
435
|
-
"bg-
|
|
435
|
+
"bg-muted flex size-10 shrink-0 items-center justify-center rounded-lg text-md font-semibold",
|
|
436
436
|
numberClassName
|
|
437
437
|
),
|
|
438
438
|
children: index + 1
|
|
@@ -457,7 +457,15 @@ function FaqNumberedGrid({
|
|
|
457
457
|
))
|
|
458
458
|
}
|
|
459
459
|
);
|
|
460
|
-
}, [
|
|
460
|
+
}, [
|
|
461
|
+
itemsSlot,
|
|
462
|
+
items,
|
|
463
|
+
gridClassName,
|
|
464
|
+
itemClassName,
|
|
465
|
+
numberClassName,
|
|
466
|
+
questionClassName,
|
|
467
|
+
answerClassName
|
|
468
|
+
]);
|
|
461
469
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
462
470
|
Section,
|
|
463
471
|
{
|
|
@@ -389,7 +389,7 @@ function FaqNumberedGrid({
|
|
|
389
389
|
items,
|
|
390
390
|
itemsSlot,
|
|
391
391
|
background,
|
|
392
|
-
spacing,
|
|
392
|
+
spacing = "py-6 md:py-32",
|
|
393
393
|
pattern,
|
|
394
394
|
patternOpacity,
|
|
395
395
|
patternClassName,
|
|
@@ -426,7 +426,7 @@ function FaqNumberedGrid({
|
|
|
426
426
|
"span",
|
|
427
427
|
{
|
|
428
428
|
className: cn(
|
|
429
|
-
"bg-
|
|
429
|
+
"bg-muted flex size-10 shrink-0 items-center justify-center rounded-lg text-md font-semibold",
|
|
430
430
|
numberClassName
|
|
431
431
|
),
|
|
432
432
|
children: index + 1
|
|
@@ -451,7 +451,15 @@ function FaqNumberedGrid({
|
|
|
451
451
|
))
|
|
452
452
|
}
|
|
453
453
|
);
|
|
454
|
-
}, [
|
|
454
|
+
}, [
|
|
455
|
+
itemsSlot,
|
|
456
|
+
items,
|
|
457
|
+
gridClassName,
|
|
458
|
+
itemClassName,
|
|
459
|
+
numberClassName,
|
|
460
|
+
questionClassName,
|
|
461
|
+
answerClassName
|
|
462
|
+
]);
|
|
455
463
|
return /* @__PURE__ */ jsx(
|
|
456
464
|
Section,
|
|
457
465
|
{
|
|
@@ -430,7 +430,7 @@ function FaqNumberedList({
|
|
|
430
430
|
items,
|
|
431
431
|
itemsSlot,
|
|
432
432
|
background,
|
|
433
|
-
spacing,
|
|
433
|
+
spacing = "py-6 md:py-32",
|
|
434
434
|
pattern,
|
|
435
435
|
patternOpacity,
|
|
436
436
|
patternClassName,
|
|
@@ -467,7 +467,7 @@ function FaqNumberedList({
|
|
|
467
467
|
"span",
|
|
468
468
|
{
|
|
469
469
|
className: cn(
|
|
470
|
-
"bg-
|
|
470
|
+
"bg-muted flex size-10 shrink-0 items-center justify-center rounded-lg text-md font-semibold",
|
|
471
471
|
numberClassName
|
|
472
472
|
),
|
|
473
473
|
children: index + 1
|
|
@@ -492,7 +492,15 @@ function FaqNumberedList({
|
|
|
492
492
|
))
|
|
493
493
|
}
|
|
494
494
|
);
|
|
495
|
-
}, [
|
|
495
|
+
}, [
|
|
496
|
+
itemsSlot,
|
|
497
|
+
items,
|
|
498
|
+
itemsWrapperClassName,
|
|
499
|
+
itemClassName,
|
|
500
|
+
numberClassName,
|
|
501
|
+
questionClassName,
|
|
502
|
+
answerClassName
|
|
503
|
+
]);
|
|
496
504
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
497
505
|
Section,
|
|
498
506
|
{
|
|
@@ -424,7 +424,7 @@ function FaqNumberedList({
|
|
|
424
424
|
items,
|
|
425
425
|
itemsSlot,
|
|
426
426
|
background,
|
|
427
|
-
spacing,
|
|
427
|
+
spacing = "py-6 md:py-32",
|
|
428
428
|
pattern,
|
|
429
429
|
patternOpacity,
|
|
430
430
|
patternClassName,
|
|
@@ -461,7 +461,7 @@ function FaqNumberedList({
|
|
|
461
461
|
"span",
|
|
462
462
|
{
|
|
463
463
|
className: cn(
|
|
464
|
-
"bg-
|
|
464
|
+
"bg-muted flex size-10 shrink-0 items-center justify-center rounded-lg text-md font-semibold",
|
|
465
465
|
numberClassName
|
|
466
466
|
),
|
|
467
467
|
children: index + 1
|
|
@@ -486,7 +486,15 @@ function FaqNumberedList({
|
|
|
486
486
|
))
|
|
487
487
|
}
|
|
488
488
|
);
|
|
489
|
-
}, [
|
|
489
|
+
}, [
|
|
490
|
+
itemsSlot,
|
|
491
|
+
items,
|
|
492
|
+
itemsWrapperClassName,
|
|
493
|
+
itemClassName,
|
|
494
|
+
numberClassName,
|
|
495
|
+
questionClassName,
|
|
496
|
+
answerClassName
|
|
497
|
+
]);
|
|
490
498
|
return /* @__PURE__ */ jsx(
|
|
491
499
|
Section,
|
|
492
500
|
{
|
|
@@ -152,7 +152,7 @@ function AccordionItem({
|
|
|
152
152
|
AccordionPrimitive__namespace.Item,
|
|
153
153
|
{
|
|
154
154
|
"data-slot": "accordion-item",
|
|
155
|
-
className: cn("border-b
|
|
155
|
+
className: cn("border-b ", className),
|
|
156
156
|
...props
|
|
157
157
|
}
|
|
158
158
|
);
|
|
@@ -173,7 +173,13 @@ function AccordionTrigger({
|
|
|
173
173
|
...props,
|
|
174
174
|
children: [
|
|
175
175
|
children,
|
|
176
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
176
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
177
|
+
DynamicIcon,
|
|
178
|
+
{
|
|
179
|
+
name: "lucide/chevron-down",
|
|
180
|
+
className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
|
|
181
|
+
}
|
|
182
|
+
)
|
|
177
183
|
]
|
|
178
184
|
}
|
|
179
185
|
) });
|
|
@@ -999,7 +1005,7 @@ function FaqProfileSidebar({
|
|
|
999
1005
|
contactText,
|
|
1000
1006
|
contactAction,
|
|
1001
1007
|
background,
|
|
1002
|
-
spacing,
|
|
1008
|
+
spacing = "py-6 md:py-32",
|
|
1003
1009
|
pattern,
|
|
1004
1010
|
patternOpacity,
|
|
1005
1011
|
patternClassName,
|
|
@@ -1052,7 +1058,14 @@ function FaqProfileSidebar({
|
|
|
1052
1058
|
},
|
|
1053
1059
|
item.id
|
|
1054
1060
|
)) });
|
|
1055
|
-
}, [
|
|
1061
|
+
}, [
|
|
1062
|
+
itemsSlot,
|
|
1063
|
+
items,
|
|
1064
|
+
accordionClassName,
|
|
1065
|
+
accordionItemClassName,
|
|
1066
|
+
accordionTriggerClassName,
|
|
1067
|
+
accordionContentClassName
|
|
1068
|
+
]);
|
|
1056
1069
|
const profileSectionContent = React.useMemo(() => {
|
|
1057
1070
|
if (profileSlot) return profileSlot;
|
|
1058
1071
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("rounded-lg border p-6", profileCardClassName), children: [
|
|
@@ -1093,22 +1106,46 @@ function FaqProfileSidebar({
|
|
|
1093
1106
|
children: profileDescription
|
|
1094
1107
|
}
|
|
1095
1108
|
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: profileDescriptionClassName, children: profileDescription })),
|
|
1096
|
-
contactAction && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1109
|
+
contactAction && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1110
|
+
"div",
|
|
1111
|
+
{
|
|
1112
|
+
className: cn(
|
|
1113
|
+
"mt-6 border-t pt-6 flex flex-col space-y-4",
|
|
1114
|
+
contactSectionClassName
|
|
1115
|
+
),
|
|
1116
|
+
children: [
|
|
1117
|
+
contactText && (typeof contactText === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-medium", children: contactText }) : contactText),
|
|
1118
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1119
|
+
Pressable,
|
|
1120
|
+
{
|
|
1121
|
+
href: contactAction.href,
|
|
1122
|
+
onClick: contactAction.onClick,
|
|
1123
|
+
variant: contactAction.variant || "outline",
|
|
1124
|
+
size: contactAction.size,
|
|
1125
|
+
className: cn("mt-3 w-full", contactAction.className),
|
|
1126
|
+
children: contactAction.children || contactAction.label
|
|
1127
|
+
}
|
|
1128
|
+
)
|
|
1129
|
+
]
|
|
1130
|
+
}
|
|
1131
|
+
)
|
|
1110
1132
|
] });
|
|
1111
|
-
}, [
|
|
1133
|
+
}, [
|
|
1134
|
+
profileSlot,
|
|
1135
|
+
profileImage,
|
|
1136
|
+
profileName,
|
|
1137
|
+
profileRole,
|
|
1138
|
+
profileDescription,
|
|
1139
|
+
contactText,
|
|
1140
|
+
contactAction,
|
|
1141
|
+
profileCardClassName,
|
|
1142
|
+
profileImageClassName,
|
|
1143
|
+
profileNameClassName,
|
|
1144
|
+
profileRoleClassName,
|
|
1145
|
+
profileDescriptionClassName,
|
|
1146
|
+
contactSectionClassName,
|
|
1147
|
+
optixFlowConfig
|
|
1148
|
+
]);
|
|
1112
1149
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1113
1150
|
Section,
|
|
1114
1151
|
{
|
|
@@ -1122,7 +1159,7 @@ function FaqProfileSidebar({
|
|
|
1122
1159
|
"div",
|
|
1123
1160
|
{
|
|
1124
1161
|
className: cn(
|
|
1125
|
-
"flex flex-col gap-
|
|
1162
|
+
"flex flex-col gap-6 lg:flex-row lg:gap-16",
|
|
1126
1163
|
contentWrapperClassName
|
|
1127
1164
|
),
|
|
1128
1165
|
children: [
|
|
@@ -130,7 +130,7 @@ function AccordionItem({
|
|
|
130
130
|
AccordionPrimitive.Item,
|
|
131
131
|
{
|
|
132
132
|
"data-slot": "accordion-item",
|
|
133
|
-
className: cn("border-b
|
|
133
|
+
className: cn("border-b ", className),
|
|
134
134
|
...props
|
|
135
135
|
}
|
|
136
136
|
);
|
|
@@ -151,7 +151,13 @@ function AccordionTrigger({
|
|
|
151
151
|
...props,
|
|
152
152
|
children: [
|
|
153
153
|
children,
|
|
154
|
-
/* @__PURE__ */ jsx(
|
|
154
|
+
/* @__PURE__ */ jsx(
|
|
155
|
+
DynamicIcon,
|
|
156
|
+
{
|
|
157
|
+
name: "lucide/chevron-down",
|
|
158
|
+
className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
|
|
159
|
+
}
|
|
160
|
+
)
|
|
155
161
|
]
|
|
156
162
|
}
|
|
157
163
|
) });
|
|
@@ -977,7 +983,7 @@ function FaqProfileSidebar({
|
|
|
977
983
|
contactText,
|
|
978
984
|
contactAction,
|
|
979
985
|
background,
|
|
980
|
-
spacing,
|
|
986
|
+
spacing = "py-6 md:py-32",
|
|
981
987
|
pattern,
|
|
982
988
|
patternOpacity,
|
|
983
989
|
patternClassName,
|
|
@@ -1030,7 +1036,14 @@ function FaqProfileSidebar({
|
|
|
1030
1036
|
},
|
|
1031
1037
|
item.id
|
|
1032
1038
|
)) });
|
|
1033
|
-
}, [
|
|
1039
|
+
}, [
|
|
1040
|
+
itemsSlot,
|
|
1041
|
+
items,
|
|
1042
|
+
accordionClassName,
|
|
1043
|
+
accordionItemClassName,
|
|
1044
|
+
accordionTriggerClassName,
|
|
1045
|
+
accordionContentClassName
|
|
1046
|
+
]);
|
|
1034
1047
|
const profileSectionContent = useMemo(() => {
|
|
1035
1048
|
if (profileSlot) return profileSlot;
|
|
1036
1049
|
return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-6", profileCardClassName), children: [
|
|
@@ -1071,22 +1084,46 @@ function FaqProfileSidebar({
|
|
|
1071
1084
|
children: profileDescription
|
|
1072
1085
|
}
|
|
1073
1086
|
) : /* @__PURE__ */ jsx("div", { className: profileDescriptionClassName, children: profileDescription })),
|
|
1074
|
-
contactAction && /* @__PURE__ */ jsxs(
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1087
|
+
contactAction && /* @__PURE__ */ jsxs(
|
|
1088
|
+
"div",
|
|
1089
|
+
{
|
|
1090
|
+
className: cn(
|
|
1091
|
+
"mt-6 border-t pt-6 flex flex-col space-y-4",
|
|
1092
|
+
contactSectionClassName
|
|
1093
|
+
),
|
|
1094
|
+
children: [
|
|
1095
|
+
contactText && (typeof contactText === "string" ? /* @__PURE__ */ jsx("p", { className: "text-sm font-medium", children: contactText }) : contactText),
|
|
1096
|
+
/* @__PURE__ */ jsx(
|
|
1097
|
+
Pressable,
|
|
1098
|
+
{
|
|
1099
|
+
href: contactAction.href,
|
|
1100
|
+
onClick: contactAction.onClick,
|
|
1101
|
+
variant: contactAction.variant || "outline",
|
|
1102
|
+
size: contactAction.size,
|
|
1103
|
+
className: cn("mt-3 w-full", contactAction.className),
|
|
1104
|
+
children: contactAction.children || contactAction.label
|
|
1105
|
+
}
|
|
1106
|
+
)
|
|
1107
|
+
]
|
|
1108
|
+
}
|
|
1109
|
+
)
|
|
1088
1110
|
] });
|
|
1089
|
-
}, [
|
|
1111
|
+
}, [
|
|
1112
|
+
profileSlot,
|
|
1113
|
+
profileImage,
|
|
1114
|
+
profileName,
|
|
1115
|
+
profileRole,
|
|
1116
|
+
profileDescription,
|
|
1117
|
+
contactText,
|
|
1118
|
+
contactAction,
|
|
1119
|
+
profileCardClassName,
|
|
1120
|
+
profileImageClassName,
|
|
1121
|
+
profileNameClassName,
|
|
1122
|
+
profileRoleClassName,
|
|
1123
|
+
profileDescriptionClassName,
|
|
1124
|
+
contactSectionClassName,
|
|
1125
|
+
optixFlowConfig
|
|
1126
|
+
]);
|
|
1090
1127
|
return /* @__PURE__ */ jsx(
|
|
1091
1128
|
Section,
|
|
1092
1129
|
{
|
|
@@ -1100,7 +1137,7 @@ function FaqProfileSidebar({
|
|
|
1100
1137
|
"div",
|
|
1101
1138
|
{
|
|
1102
1139
|
className: cn(
|
|
1103
|
-
"flex flex-col gap-
|
|
1140
|
+
"flex flex-col gap-6 lg:flex-row lg:gap-16",
|
|
1104
1141
|
contentWrapperClassName
|
|
1105
1142
|
),
|
|
1106
1143
|
children: [
|
|
@@ -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 FaqRoundedCards({
|
|
|
572
578
|
items,
|
|
573
579
|
itemsSlot,
|
|
574
580
|
background,
|
|
575
|
-
spacing,
|
|
581
|
+
spacing = "py-6 md:py-32",
|
|
576
582
|
pattern,
|
|
577
583
|
patternOpacity,
|
|
578
584
|
patternClassName,
|
|
@@ -595,13 +601,13 @@ function FaqRoundedCards({
|
|
|
595
601
|
{
|
|
596
602
|
type: "single",
|
|
597
603
|
collapsible: true,
|
|
598
|
-
className: cn("space-y-
|
|
604
|
+
className: cn("space-y-3", accordionClassName),
|
|
599
605
|
children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
600
606
|
AccordionItem,
|
|
601
607
|
{
|
|
602
608
|
value: item.id,
|
|
603
609
|
className: cn(
|
|
604
|
-
"rounded-
|
|
610
|
+
"rounded-xl border border-border/60 bg-card px-5 shadow-sm transition-shadow hover:shadow-md data-[state=open]:shadow-md",
|
|
605
611
|
accordionItemClassName
|
|
606
612
|
),
|
|
607
613
|
children: [
|
|
@@ -609,7 +615,7 @@ function FaqRoundedCards({
|
|
|
609
615
|
AccordionTrigger,
|
|
610
616
|
{
|
|
611
617
|
className: cn(
|
|
612
|
-
"font-
|
|
618
|
+
"py-4 font-medium transition-opacity hover:no-underline hover:opacity-70 lg:text-lg [&[data-state=open]>svg]:rotate-180",
|
|
613
619
|
accordionTriggerClassName
|
|
614
620
|
),
|
|
615
621
|
children: item.question
|
|
@@ -618,7 +624,10 @@ function FaqRoundedCards({
|
|
|
618
624
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
619
625
|
AccordionContent,
|
|
620
626
|
{
|
|
621
|
-
className: cn(
|
|
627
|
+
className: cn(
|
|
628
|
+
"pb-4 text-muted-foreground",
|
|
629
|
+
accordionContentClassName
|
|
630
|
+
),
|
|
622
631
|
children: item.answer
|
|
623
632
|
}
|
|
624
633
|
)
|
|
@@ -628,7 +637,14 @@ function FaqRoundedCards({
|
|
|
628
637
|
))
|
|
629
638
|
}
|
|
630
639
|
);
|
|
631
|
-
}, [
|
|
640
|
+
}, [
|
|
641
|
+
itemsSlot,
|
|
642
|
+
items,
|
|
643
|
+
accordionClassName,
|
|
644
|
+
accordionItemClassName,
|
|
645
|
+
accordionTriggerClassName,
|
|
646
|
+
accordionContentClassName
|
|
647
|
+
]);
|
|
632
648
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
633
649
|
Section,
|
|
634
650
|
{
|
|
@@ -657,16 +673,7 @@ function FaqRoundedCards({
|
|
|
657
673
|
children: heading
|
|
658
674
|
}
|
|
659
675
|
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
|
|
660
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
661
|
-
"p",
|
|
662
|
-
{
|
|
663
|
-
className: cn(
|
|
664
|
-
"text-muted-foreground lg:text-lg",
|
|
665
|
-
descriptionClassName
|
|
666
|
-
),
|
|
667
|
-
children: description
|
|
668
|
-
}
|
|
669
|
-
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
|
|
676
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("lg:text-lg", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
|
|
670
677
|
]
|
|
671
678
|
}
|
|
672
679
|
),
|
|
@@ -674,7 +681,7 @@ function FaqRoundedCards({
|
|
|
674
681
|
"div",
|
|
675
682
|
{
|
|
676
683
|
className: cn(
|
|
677
|
-
"mx-auto mt-10 max-w-3xl
|
|
684
|
+
"mx-auto mt-10 max-w-3xl",
|
|
678
685
|
cardsWrapperClassName
|
|
679
686
|
),
|
|
680
687
|
children: itemsContent
|