@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.
Files changed (75) hide show
  1. package/dist/faq-badge-support.cjs +18 -5
  2. package/dist/faq-badge-support.js +18 -5
  3. package/dist/faq-bordered-badge.cjs +23 -7
  4. package/dist/faq-bordered-badge.js +23 -7
  5. package/dist/faq-card-categories.cjs +20 -4
  6. package/dist/faq-card-categories.js +20 -4
  7. package/dist/faq-categorized-sections.cjs +19 -4
  8. package/dist/faq-categorized-sections.js +19 -4
  9. package/dist/faq-centered-accordion.cjs +18 -5
  10. package/dist/faq-centered-accordion.js +18 -5
  11. package/dist/faq-gradient-categories.cjs +19 -4
  12. package/dist/faq-gradient-categories.js +19 -4
  13. package/dist/faq-icon-benefits.cjs +11 -2
  14. package/dist/faq-icon-benefits.js +11 -2
  15. package/dist/faq-muted-cards.cjs +19 -6
  16. package/dist/faq-muted-cards.js +19 -6
  17. package/dist/faq-numbered-grid.cjs +11 -3
  18. package/dist/faq-numbered-grid.js +11 -3
  19. package/dist/faq-numbered-list.cjs +11 -3
  20. package/dist/faq-numbered-list.js +11 -3
  21. package/dist/faq-profile-sidebar.cjs +57 -20
  22. package/dist/faq-profile-sidebar.js +57 -20
  23. package/dist/faq-rounded-cards.cjs +26 -19
  24. package/dist/faq-rounded-cards.js +26 -19
  25. package/dist/faq-sidebar-navigation.cjs +48 -28
  26. package/dist/faq-sidebar-navigation.js +48 -28
  27. package/dist/faq-simple-accordion.cjs +17 -4
  28. package/dist/faq-simple-accordion.js +17 -4
  29. package/dist/faq-split-help.cjs +25 -6
  30. package/dist/faq-split-help.js +25 -6
  31. package/dist/faq-split-hero.cjs +85 -185
  32. package/dist/faq-split-hero.d.cts +16 -18
  33. package/dist/faq-split-hero.d.ts +16 -18
  34. package/dist/faq-split-hero.js +86 -186
  35. package/dist/faq-static-list.cjs +9 -2
  36. package/dist/faq-static-list.js +9 -2
  37. package/dist/feature-accordion-image.cjs +8 -2
  38. package/dist/feature-accordion-image.js +8 -2
  39. package/dist/feature-showcase.cjs +1 -2
  40. package/dist/feature-showcase.js +1 -2
  41. package/dist/feature-split-image-reverse.cjs +2 -8
  42. package/dist/feature-split-image-reverse.js +2 -8
  43. package/dist/feature-split-image.cjs +2 -2
  44. package/dist/feature-split-image.js +2 -2
  45. package/dist/feature-stats-highlight.cjs +50 -13
  46. package/dist/feature-stats-highlight.js +50 -13
  47. package/dist/feature-tabbed-content-image.cjs +5 -14
  48. package/dist/feature-tabbed-content-image.js +5 -14
  49. package/dist/feature-three-column-values.cjs +4 -44
  50. package/dist/feature-three-column-values.js +4 -44
  51. package/dist/feature-utility-cards-grid.cjs +83 -36
  52. package/dist/feature-utility-cards-grid.js +83 -36
  53. package/dist/navbar-animated-preview.cjs +8 -2
  54. package/dist/navbar-animated-preview.js +8 -2
  55. package/dist/navbar-centered-menu.cjs +8 -2
  56. package/dist/navbar-centered-menu.js +8 -2
  57. package/dist/navbar-dark-icons.cjs +8 -2
  58. package/dist/navbar-dark-icons.js +8 -2
  59. package/dist/navbar-dropdown-menu.cjs +8 -2
  60. package/dist/navbar-dropdown-menu.js +8 -2
  61. package/dist/navbar-education-platform.cjs +8 -2
  62. package/dist/navbar-education-platform.js +8 -2
  63. package/dist/navbar-enterprise-mega.cjs +8 -2
  64. package/dist/navbar-enterprise-mega.js +8 -2
  65. package/dist/navbar-feature-grid.cjs +8 -2
  66. package/dist/navbar-feature-grid.js +8 -2
  67. package/dist/navbar-multi-column-groups.cjs +8 -2
  68. package/dist/navbar-multi-column-groups.js +8 -2
  69. package/dist/navbar-platform-resources.cjs +8 -2
  70. package/dist/navbar-platform-resources.js +8 -2
  71. package/dist/navbar-sidebar-mobile.cjs +8 -2
  72. package/dist/navbar-sidebar-mobile.js +8 -2
  73. package/dist/registry.cjs +487 -293
  74. package/dist/registry.js +487 -293
  75. package/package.json +1 -1
@@ -128,7 +128,7 @@ function AccordionItem({
128
128
  AccordionPrimitive.Item,
129
129
  {
130
130
  "data-slot": "accordion-item",
131
- className: cn("border-b last:border-b-0", className),
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(DynamicIcon, { name: "lucide/chevron-down", className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
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 FaqRoundedCards({
550
556
  items,
551
557
  itemsSlot,
552
558
  background,
553
- spacing,
559
+ spacing = "py-6 md:py-32",
554
560
  pattern,
555
561
  patternOpacity,
556
562
  patternClassName,
@@ -573,13 +579,13 @@ function FaqRoundedCards({
573
579
  {
574
580
  type: "single",
575
581
  collapsible: true,
576
- className: cn("space-y-4", accordionClassName),
582
+ className: cn("space-y-3", accordionClassName),
577
583
  children: items.map((item) => /* @__PURE__ */ jsxs(
578
584
  AccordionItem,
579
585
  {
580
586
  value: item.id,
581
587
  className: cn(
582
- "rounded-lg bg-background px-4 border-none",
588
+ "rounded-xl border border-border/60 bg-card px-5 shadow-sm transition-shadow hover:shadow-md data-[state=open]:shadow-md",
583
589
  accordionItemClassName
584
590
  ),
585
591
  children: [
@@ -587,7 +593,7 @@ function FaqRoundedCards({
587
593
  AccordionTrigger,
588
594
  {
589
595
  className: cn(
590
- "font-semibold hover:no-underline",
596
+ "py-4 font-medium transition-opacity hover:no-underline hover:opacity-70 lg:text-lg [&[data-state=open]>svg]:rotate-180",
591
597
  accordionTriggerClassName
592
598
  ),
593
599
  children: item.question
@@ -596,7 +602,10 @@ function FaqRoundedCards({
596
602
  /* @__PURE__ */ jsx(
597
603
  AccordionContent,
598
604
  {
599
- className: cn("text-muted-foreground", accordionContentClassName),
605
+ className: cn(
606
+ "pb-4 text-muted-foreground",
607
+ accordionContentClassName
608
+ ),
600
609
  children: item.answer
601
610
  }
602
611
  )
@@ -606,7 +615,14 @@ function FaqRoundedCards({
606
615
  ))
607
616
  }
608
617
  );
609
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
618
+ }, [
619
+ itemsSlot,
620
+ items,
621
+ accordionClassName,
622
+ accordionItemClassName,
623
+ accordionTriggerClassName,
624
+ accordionContentClassName
625
+ ]);
610
626
  return /* @__PURE__ */ jsx(
611
627
  Section,
612
628
  {
@@ -635,16 +651,7 @@ function FaqRoundedCards({
635
651
  children: heading
636
652
  }
637
653
  ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
638
- description && (typeof description === "string" ? /* @__PURE__ */ jsx(
639
- "p",
640
- {
641
- className: cn(
642
- "text-muted-foreground lg:text-lg",
643
- descriptionClassName
644
- ),
645
- children: description
646
- }
647
- ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
654
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("lg:text-lg", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
648
655
  ]
649
656
  }
650
657
  ),
@@ -652,7 +659,7 @@ function FaqRoundedCards({
652
659
  "div",
653
660
  {
654
661
  className: cn(
655
- "mx-auto mt-10 max-w-3xl rounded-2xl bg-muted/50 p-6 md:p-8",
662
+ "mx-auto mt-10 max-w-3xl",
656
663
  cardsWrapperClassName
657
664
  ),
658
665
  children: itemsContent
@@ -150,7 +150,7 @@ function AccordionItem({
150
150
  AccordionPrimitive__namespace.Item,
151
151
  {
152
152
  "data-slot": "accordion-item",
153
- className: cn("border-b last:border-b-0", className),
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(DynamicIcon, { name: "lucide/chevron-down", className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
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
  ) });
@@ -593,19 +599,17 @@ function FaqSidebarNavigation({
593
599
  accordionContentClassName
594
600
  }) {
595
601
  const [activeCategory, setActiveCategory] = React__namespace.useState(
596
- categories?.[0]?.id || ""
602
+ categories && categories.length > 1 ? "all" : categories?.[0]?.id || ""
597
603
  );
598
- const scrollToCategory = (categoryId) => {
599
- setActiveCategory(categoryId);
600
- const element = document.getElementById(`faq-category-${categoryId}`);
601
- if (element) {
602
- element.scrollIntoView({ behavior: "smooth", block: "start" });
603
- }
604
- };
604
+ const filteredCategories = React.useMemo(() => {
605
+ if (!categories || categories.length === 0) return [];
606
+ if (activeCategory === "all") return categories;
607
+ return categories.filter((category) => category.id === activeCategory);
608
+ }, [categories, activeCategory]);
605
609
  const categoriesContent = React.useMemo(() => {
606
610
  if (categoriesSlot) return categoriesSlot;
607
- if (!categories || categories.length === 0) return null;
608
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("space-y-10 lg:w-3/4", categoriesWrapperClassName), children: categories.map((category) => /* @__PURE__ */ jsxRuntime.jsxs(
611
+ if (filteredCategories.length === 0) return null;
612
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("space-y-10 lg:w-3/4", categoriesWrapperClassName), children: filteredCategories.map((category) => /* @__PURE__ */ jsxRuntime.jsxs(
609
613
  "div",
610
614
  {
611
615
  id: `faq-category-${category.id}`,
@@ -652,7 +656,7 @@ function FaqSidebarNavigation({
652
656
  },
653
657
  category.id
654
658
  )) });
655
- }, [categoriesSlot, categories, categoriesWrapperClassName, categoryTitleClassName, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
659
+ }, [categoriesSlot, filteredCategories, categoriesWrapperClassName, categoryTitleClassName, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
656
660
  return /* @__PURE__ */ jsxRuntime.jsx(
657
661
  Section,
658
662
  {
@@ -702,21 +706,37 @@ function FaqSidebarNavigation({
702
706
  contentWrapperClassName
703
707
  ),
704
708
  children: [
705
- /* @__PURE__ */ jsxRuntime.jsx("nav", { className: cn("lg:w-1/4", navClassName), children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sticky top-24 space-y-2", children: categories?.map((category) => /* @__PURE__ */ jsxRuntime.jsx(
706
- "button",
707
- {
708
- onClick: () => scrollToCategory(category.id),
709
- className: cn(
710
- "w-full rounded-lg px-4 py-2 text-left text-sm font-medium transition-colors",
711
- activeCategory === category.id ? cn(
712
- "bg-primary text-primary-foreground",
713
- navButtonActiveClassName
714
- ) : cn("hover:bg-muted", navButtonClassName)
715
- ),
716
- children: category.title
717
- },
718
- category.id
719
- )) }) }),
709
+ /* @__PURE__ */ jsxRuntime.jsx("nav", { className: cn("lg:w-1/4", navClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sticky top-24 flex gap-2 overflow-x-auto pb-2 lg:flex-col lg:gap-2 lg:overflow-visible lg:pb-0", children: [
710
+ categories && categories.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
711
+ "button",
712
+ {
713
+ onClick: () => setActiveCategory("all"),
714
+ className: cn(
715
+ "shrink-0 whitespace-nowrap rounded-lg px-4 py-2 text-left text-sm font-medium transition-colors lg:w-full",
716
+ activeCategory === "all" ? cn(
717
+ "bg-primary text-primary-foreground",
718
+ navButtonActiveClassName
719
+ ) : cn("hover:bg-muted", navButtonClassName)
720
+ ),
721
+ children: "All"
722
+ }
723
+ ),
724
+ categories?.map((category) => /* @__PURE__ */ jsxRuntime.jsx(
725
+ "button",
726
+ {
727
+ onClick: () => setActiveCategory(category.id),
728
+ className: cn(
729
+ "shrink-0 whitespace-nowrap rounded-lg px-4 py-2 text-left text-sm font-medium transition-colors lg:w-full",
730
+ activeCategory === category.id ? cn(
731
+ "bg-primary text-primary-foreground",
732
+ navButtonActiveClassName
733
+ ) : cn("hover:bg-muted", navButtonClassName)
734
+ ),
735
+ children: category.title
736
+ },
737
+ category.id
738
+ ))
739
+ ] }) }),
720
740
  categoriesContent
721
741
  ]
722
742
  }
@@ -128,7 +128,7 @@ function AccordionItem({
128
128
  AccordionPrimitive.Item,
129
129
  {
130
130
  "data-slot": "accordion-item",
131
- className: cn("border-b last:border-b-0", className),
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(DynamicIcon, { name: "lucide/chevron-down", className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
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
  ) });
@@ -571,19 +577,17 @@ function FaqSidebarNavigation({
571
577
  accordionContentClassName
572
578
  }) {
573
579
  const [activeCategory, setActiveCategory] = React.useState(
574
- categories?.[0]?.id || ""
580
+ categories && categories.length > 1 ? "all" : categories?.[0]?.id || ""
575
581
  );
576
- const scrollToCategory = (categoryId) => {
577
- setActiveCategory(categoryId);
578
- const element = document.getElementById(`faq-category-${categoryId}`);
579
- if (element) {
580
- element.scrollIntoView({ behavior: "smooth", block: "start" });
581
- }
582
- };
582
+ const filteredCategories = useMemo(() => {
583
+ if (!categories || categories.length === 0) return [];
584
+ if (activeCategory === "all") return categories;
585
+ return categories.filter((category) => category.id === activeCategory);
586
+ }, [categories, activeCategory]);
583
587
  const categoriesContent = useMemo(() => {
584
588
  if (categoriesSlot) return categoriesSlot;
585
- if (!categories || categories.length === 0) return null;
586
- return /* @__PURE__ */ jsx("div", { className: cn("space-y-10 lg:w-3/4", categoriesWrapperClassName), children: categories.map((category) => /* @__PURE__ */ jsxs(
589
+ if (filteredCategories.length === 0) return null;
590
+ return /* @__PURE__ */ jsx("div", { className: cn("space-y-10 lg:w-3/4", categoriesWrapperClassName), children: filteredCategories.map((category) => /* @__PURE__ */ jsxs(
587
591
  "div",
588
592
  {
589
593
  id: `faq-category-${category.id}`,
@@ -630,7 +634,7 @@ function FaqSidebarNavigation({
630
634
  },
631
635
  category.id
632
636
  )) });
633
- }, [categoriesSlot, categories, categoriesWrapperClassName, categoryTitleClassName, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
637
+ }, [categoriesSlot, filteredCategories, categoriesWrapperClassName, categoryTitleClassName, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
634
638
  return /* @__PURE__ */ jsx(
635
639
  Section,
636
640
  {
@@ -680,21 +684,37 @@ function FaqSidebarNavigation({
680
684
  contentWrapperClassName
681
685
  ),
682
686
  children: [
683
- /* @__PURE__ */ jsx("nav", { className: cn("lg:w-1/4", navClassName), children: /* @__PURE__ */ jsx("div", { className: "sticky top-24 space-y-2", children: categories?.map((category) => /* @__PURE__ */ jsx(
684
- "button",
685
- {
686
- onClick: () => scrollToCategory(category.id),
687
- className: cn(
688
- "w-full rounded-lg px-4 py-2 text-left text-sm font-medium transition-colors",
689
- activeCategory === category.id ? cn(
690
- "bg-primary text-primary-foreground",
691
- navButtonActiveClassName
692
- ) : cn("hover:bg-muted", navButtonClassName)
693
- ),
694
- children: category.title
695
- },
696
- category.id
697
- )) }) }),
687
+ /* @__PURE__ */ jsx("nav", { className: cn("lg:w-1/4", navClassName), children: /* @__PURE__ */ jsxs("div", { className: "sticky top-24 flex gap-2 overflow-x-auto pb-2 lg:flex-col lg:gap-2 lg:overflow-visible lg:pb-0", children: [
688
+ categories && categories.length > 1 && /* @__PURE__ */ jsx(
689
+ "button",
690
+ {
691
+ onClick: () => setActiveCategory("all"),
692
+ className: cn(
693
+ "shrink-0 whitespace-nowrap rounded-lg px-4 py-2 text-left text-sm font-medium transition-colors lg:w-full",
694
+ activeCategory === "all" ? cn(
695
+ "bg-primary text-primary-foreground",
696
+ navButtonActiveClassName
697
+ ) : cn("hover:bg-muted", navButtonClassName)
698
+ ),
699
+ children: "All"
700
+ }
701
+ ),
702
+ categories?.map((category) => /* @__PURE__ */ jsx(
703
+ "button",
704
+ {
705
+ onClick: () => setActiveCategory(category.id),
706
+ className: cn(
707
+ "shrink-0 whitespace-nowrap rounded-lg px-4 py-2 text-left text-sm font-medium transition-colors lg:w-full",
708
+ activeCategory === category.id ? cn(
709
+ "bg-primary text-primary-foreground",
710
+ navButtonActiveClassName
711
+ ) : cn("hover:bg-muted", navButtonClassName)
712
+ ),
713
+ children: category.title
714
+ },
715
+ category.id
716
+ ))
717
+ ] }) }),
698
718
  categoriesContent
699
719
  ]
700
720
  }
@@ -150,7 +150,7 @@ function AccordionItem({
150
150
  AccordionPrimitive__namespace.Item,
151
151
  {
152
152
  "data-slot": "accordion-item",
153
- className: cn("border-b last:border-b-0", className),
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(DynamicIcon, { name: "lucide/chevron-down", className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
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 FaqSimpleAccordion({
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,
@@ -613,7 +619,14 @@ function FaqSimpleAccordion({
613
619
  },
614
620
  item.id || index
615
621
  )) });
616
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
622
+ }, [
623
+ itemsSlot,
624
+ items,
625
+ accordionClassName,
626
+ accordionItemClassName,
627
+ accordionTriggerClassName,
628
+ accordionContentClassName
629
+ ]);
617
630
  return /* @__PURE__ */ jsxRuntime.jsx(
618
631
  Section,
619
632
  {
@@ -128,7 +128,7 @@ function AccordionItem({
128
128
  AccordionPrimitive.Item,
129
129
  {
130
130
  "data-slot": "accordion-item",
131
- className: cn("border-b last:border-b-0", className),
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(DynamicIcon, { name: "lucide/chevron-down", className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
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 FaqSimpleAccordion({
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,
@@ -591,7 +597,14 @@ function FaqSimpleAccordion({
591
597
  },
592
598
  item.id || index
593
599
  )) });
594
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
600
+ }, [
601
+ itemsSlot,
602
+ items,
603
+ accordionClassName,
604
+ accordionItemClassName,
605
+ accordionTriggerClassName,
606
+ accordionContentClassName
607
+ ]);
595
608
  return /* @__PURE__ */ jsx(
596
609
  Section,
597
610
  {
@@ -151,7 +151,7 @@ function AccordionItem({
151
151
  AccordionPrimitive__namespace.Item,
152
152
  {
153
153
  "data-slot": "accordion-item",
154
- className: cn("border-b last:border-b-0", className),
154
+ className: cn("border-b ", className),
155
155
  ...props
156
156
  }
157
157
  );
@@ -172,7 +172,13 @@ function AccordionTrigger({
172
172
  ...props,
173
173
  children: [
174
174
  children,
175
- /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/chevron-down", className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
175
+ /* @__PURE__ */ jsxRuntime.jsx(
176
+ DynamicIcon,
177
+ {
178
+ name: "lucide/chevron-down",
179
+ className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
180
+ }
181
+ )
176
182
  ]
177
183
  }
178
184
  ) });
@@ -995,7 +1001,7 @@ function FaqSplitHelp({
995
1001
  helpAction,
996
1002
  helpSlot,
997
1003
  background,
998
- spacing,
1004
+ spacing = "py-6 md:py-32",
999
1005
  pattern,
1000
1006
  patternOpacity,
1001
1007
  patternClassName,
@@ -1048,14 +1054,21 @@ function FaqSplitHelp({
1048
1054
  ))
1049
1055
  }
1050
1056
  );
1051
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
1057
+ }, [
1058
+ itemsSlot,
1059
+ items,
1060
+ accordionClassName,
1061
+ accordionItemClassName,
1062
+ accordionTriggerClassName,
1063
+ accordionContentClassName
1064
+ ]);
1052
1065
  const helpSectionContent = React.useMemo(() => {
1053
1066
  if (helpSlot) return helpSlot;
1054
1067
  return /* @__PURE__ */ jsxRuntime.jsxs(
1055
1068
  "div",
1056
1069
  {
1057
1070
  className: cn(
1058
- "mt-16 flex flex-col items-center gap-4 rounded-lg bg-accent p-6 text-center md:flex-row md:justify-between md:text-left lg:p-8",
1071
+ "mt-8 md:mt-16 flex flex-col items-center gap-4 rounded-lg bg-muted p-6 text-center md:flex-row md:justify-between md:text-left lg:p-8",
1059
1072
  helpSectionClassName
1060
1073
  ),
1061
1074
  children: [
@@ -1077,7 +1090,13 @@ function FaqSplitHelp({
1077
1090
  ]
1078
1091
  }
1079
1092
  );
1080
- }, [helpSlot, helpHeading, helpDescription, helpAction, helpSectionClassName]);
1093
+ }, [
1094
+ helpSlot,
1095
+ helpHeading,
1096
+ helpDescription,
1097
+ helpAction,
1098
+ helpSectionClassName
1099
+ ]);
1081
1100
  return /* @__PURE__ */ jsxRuntime.jsx(
1082
1101
  Section,
1083
1102
  {
@@ -129,7 +129,7 @@ function AccordionItem({
129
129
  AccordionPrimitive.Item,
130
130
  {
131
131
  "data-slot": "accordion-item",
132
- className: cn("border-b last:border-b-0", className),
132
+ className: cn("border-b ", className),
133
133
  ...props
134
134
  }
135
135
  );
@@ -150,7 +150,13 @@ function AccordionTrigger({
150
150
  ...props,
151
151
  children: [
152
152
  children,
153
- /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/chevron-down", className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
153
+ /* @__PURE__ */ jsx(
154
+ DynamicIcon,
155
+ {
156
+ name: "lucide/chevron-down",
157
+ className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
158
+ }
159
+ )
154
160
  ]
155
161
  }
156
162
  ) });
@@ -973,7 +979,7 @@ function FaqSplitHelp({
973
979
  helpAction,
974
980
  helpSlot,
975
981
  background,
976
- spacing,
982
+ spacing = "py-6 md:py-32",
977
983
  pattern,
978
984
  patternOpacity,
979
985
  patternClassName,
@@ -1026,14 +1032,21 @@ function FaqSplitHelp({
1026
1032
  ))
1027
1033
  }
1028
1034
  );
1029
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
1035
+ }, [
1036
+ itemsSlot,
1037
+ items,
1038
+ accordionClassName,
1039
+ accordionItemClassName,
1040
+ accordionTriggerClassName,
1041
+ accordionContentClassName
1042
+ ]);
1030
1043
  const helpSectionContent = useMemo(() => {
1031
1044
  if (helpSlot) return helpSlot;
1032
1045
  return /* @__PURE__ */ jsxs(
1033
1046
  "div",
1034
1047
  {
1035
1048
  className: cn(
1036
- "mt-16 flex flex-col items-center gap-4 rounded-lg bg-accent p-6 text-center md:flex-row md:justify-between md:text-left lg:p-8",
1049
+ "mt-8 md:mt-16 flex flex-col items-center gap-4 rounded-lg bg-muted p-6 text-center md:flex-row md:justify-between md:text-left lg:p-8",
1037
1050
  helpSectionClassName
1038
1051
  ),
1039
1052
  children: [
@@ -1055,7 +1068,13 @@ function FaqSplitHelp({
1055
1068
  ]
1056
1069
  }
1057
1070
  );
1058
- }, [helpSlot, helpHeading, helpDescription, helpAction, helpSectionClassName]);
1071
+ }, [
1072
+ helpSlot,
1073
+ helpHeading,
1074
+ helpDescription,
1075
+ helpAction,
1076
+ helpSectionClassName
1077
+ ]);
1059
1078
  return /* @__PURE__ */ jsx(
1060
1079
  Section,
1061
1080
  {