@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
package/dist/registry.js CHANGED
@@ -20391,8 +20391,7 @@ function FeatureShowcase({
20391
20391
  onNext: () => api?.scrollNext(),
20392
20392
  canScrollPrevious,
20393
20393
  canScrollNext,
20394
- className: "absolute bottom-4 right-0 md:bottom-6",
20395
- buttonClassName: "size-12 rounded-full border border-current bg-transparent text-current shadow-sm hover:bg-current/10"
20394
+ className: "absolute bottom-4 right-0 md:bottom-6"
20396
20395
  }
20397
20396
  )
20398
20397
  ] });
@@ -20539,7 +20538,7 @@ function FeatureSplitImage({
20539
20538
  "p",
20540
20539
  {
20541
20540
  className: cn(
20542
- "mb-8 max-w-xl text-muted-foreground lg:text-lg",
20541
+ "mb-8 max-w-xl lg:text-lg",
20543
20542
  descriptionClassName
20544
20543
  ),
20545
20544
  children: description
@@ -20548,7 +20547,7 @@ function FeatureSplitImage({
20548
20547
  "div",
20549
20548
  {
20550
20549
  className: cn(
20551
- "mb-8 max-w-xl text-muted-foreground lg:text-lg",
20550
+ "mb-8 max-w-xl lg:text-lg",
20552
20551
  descriptionClassName
20553
20552
  ),
20554
20553
  children: description
@@ -20691,19 +20690,13 @@ function FeatureSplitImageReverse({
20691
20690
  description && (typeof description === "string" ? /* @__PURE__ */ jsx(
20692
20691
  "p",
20693
20692
  {
20694
- className: cn(
20695
- "mb-8 max-w-xl text-muted-foreground lg:text-lg",
20696
- descriptionClassName
20697
- ),
20693
+ className: cn("mb-8 max-w-xl lg:text-lg", descriptionClassName),
20698
20694
  children: description
20699
20695
  }
20700
20696
  ) : /* @__PURE__ */ jsx(
20701
20697
  "div",
20702
20698
  {
20703
- className: cn(
20704
- "mb-8 max-w-xl text-muted-foreground lg:text-lg",
20705
- descriptionClassName
20706
- ),
20699
+ className: cn("mb-8 max-w-xl lg:text-lg", descriptionClassName),
20707
20700
  children: description
20708
20701
  }
20709
20702
  )),
@@ -21659,17 +21652,13 @@ function FeatureThreeColumnValues({
21659
21652
  return values.map((value, index) => /* @__PURE__ */ jsxs(
21660
21653
  "div",
21661
21654
  {
21662
- className: cn(
21663
- "rounded-lg bg-accent p-5",
21664
- cardClassName,
21665
- value.className
21666
- ),
21655
+ className: cn("rounded-lg p-5", cardClassName, value.className),
21667
21656
  children: [
21668
21657
  (value.icon || value.iconName) && /* @__PURE__ */ jsx(
21669
21658
  "span",
21670
21659
  {
21671
21660
  className: cn(
21672
- "mb-8 flex size-12 items-center justify-center rounded-full bg-background",
21661
+ "mb-8 flex size-12 items-center justify-center rounded-full ",
21673
21662
  value.iconClassName
21674
21663
  ),
21675
21664
  children: renderValueIcon(value)
@@ -21688,25 +21677,7 @@ function FeatureThreeColumnValues({
21688
21677
  children: value.title
21689
21678
  }
21690
21679
  )),
21691
- value.description && (typeof value.description === "string" ? /* @__PURE__ */ jsx(
21692
- "p",
21693
- {
21694
- className: cn(
21695
- "leading-7 text-muted-foreground",
21696
- value.descriptionClassName
21697
- ),
21698
- children: value.description
21699
- }
21700
- ) : /* @__PURE__ */ jsx(
21701
- "div",
21702
- {
21703
- className: cn(
21704
- "leading-7 text-muted-foreground",
21705
- value.descriptionClassName
21706
- ),
21707
- children: value.description
21708
- }
21709
- ))
21680
+ value.description && (typeof value.description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("leading-7 ", value.descriptionClassName), children: value.description }) : /* @__PURE__ */ jsx("div", { className: cn("leading-7", value.descriptionClassName), children: value.description }))
21710
21681
  ]
21711
21682
  },
21712
21683
  index
@@ -21723,25 +21694,7 @@ function FeatureThreeColumnValues({
21723
21694
  className,
21724
21695
  containerClassName,
21725
21696
  children: [
21726
- label && (typeof label === "string" ? /* @__PURE__ */ jsx(
21727
- "p",
21728
- {
21729
- className: cn(
21730
- "mb-4 text-sm text-muted-foreground lg:text-base",
21731
- labelClassName
21732
- ),
21733
- children: label
21734
- }
21735
- ) : /* @__PURE__ */ jsx(
21736
- "div",
21737
- {
21738
- className: cn(
21739
- "mb-4 text-sm text-muted-foreground lg:text-base",
21740
- labelClassName
21741
- ),
21742
- children: label
21743
- }
21744
- )),
21697
+ label && (typeof label === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mb-4 text-sm lg:text-base", labelClassName), children: label }) : /* @__PURE__ */ jsx("div", { className: cn("mb-4 text-sm lg:text-base", labelClassName), children: label })),
21745
21698
  title && (typeof title === "string" ? /* @__PURE__ */ jsx(
21746
21699
  "h2",
21747
21700
  {
@@ -22134,10 +22087,7 @@ function FeatureTabbedContentImage({
22134
22087
  TabsTrigger,
22135
22088
  {
22136
22089
  value: slide.id.toString(),
22137
- className: cn(
22138
- "text-sm hover:bg-background md:text-base",
22139
- tabTriggerClassName
22140
- ),
22090
+ className: cn("text-sm md:text-base", tabTriggerClassName),
22141
22091
  children: slide.tabName
22142
22092
  },
22143
22093
  slide.id
@@ -22179,19 +22129,13 @@ function FeatureTabbedContentImage({
22179
22129
  slide.description && (typeof slide.description === "string" ? /* @__PURE__ */ jsx(
22180
22130
  "p",
22181
22131
  {
22182
- className: cn(
22183
- "text-muted-foreground lg:text-xl",
22184
- slide.descriptionClassName
22185
- ),
22132
+ className: cn(" lg:text-xl", slide.descriptionClassName),
22186
22133
  children: slide.description
22187
22134
  }
22188
22135
  ) : /* @__PURE__ */ jsx(
22189
22136
  "div",
22190
22137
  {
22191
- className: cn(
22192
- "text-muted-foreground lg:text-xl",
22193
- slide.descriptionClassName
22194
- ),
22138
+ className: cn("lg:text-xl", slide.descriptionClassName),
22195
22139
  children: slide.description
22196
22140
  }
22197
22141
  )),
@@ -22273,7 +22217,7 @@ function FeatureTabbedContentImage({
22273
22217
  "p",
22274
22218
  {
22275
22219
  className: cn(
22276
- "text-center text-balance text-muted-foreground lg:text-xl",
22220
+ "text-center text-balance lg:text-xl",
22277
22221
  descriptionClassName
22278
22222
  ),
22279
22223
  children: description
@@ -22282,7 +22226,7 @@ function FeatureTabbedContentImage({
22282
22226
  "div",
22283
22227
  {
22284
22228
  className: cn(
22285
- "text-center text-balance text-muted-foreground lg:text-xl",
22229
+ "text-center text-balance lg:text-xl",
22286
22230
  descriptionClassName
22287
22231
  ),
22288
22232
  children: description
@@ -22326,14 +22270,15 @@ function FeatureUtilityCardsGrid({
22326
22270
  cardClassName,
22327
22271
  optixFlowConfig,
22328
22272
  background,
22329
- spacing,
22273
+ spacing = "py-6 md:py-32",
22330
22274
  pattern,
22331
22275
  patternOpacity,
22332
22276
  patternClassName
22333
22277
  }) {
22334
22278
  const renderLabelIcon = useMemo$1(() => {
22335
22279
  if (labelIcon) return labelIcon;
22336
- if (labelIconName) return /* @__PURE__ */ jsx(DynamicIcon, { name: labelIconName, size: 20, className: "text-primary" });
22280
+ if (labelIconName)
22281
+ return /* @__PURE__ */ jsx(DynamicIcon, { name: labelIconName, size: 20, className: "text-primary" });
22337
22282
  return null;
22338
22283
  }, [labelIcon, labelIconName]);
22339
22284
  const learnMoreContent = useMemo$1(() => {
@@ -22345,7 +22290,10 @@ function FeatureUtilityCardsGrid({
22345
22290
  {
22346
22291
  href: learnMoreAction.href,
22347
22292
  onClick: learnMoreAction.onClick,
22348
- className: cn("hover:text-primary hover:underline", learnMoreAction.className),
22293
+ className: cn(
22294
+ "hover:text-primary hover:underline",
22295
+ learnMoreAction.className
22296
+ ),
22349
22297
  "aria-label": learnMoreAction["aria-label"],
22350
22298
  children: learnMoreAction.children
22351
22299
  }
@@ -22356,7 +22304,7 @@ function FeatureUtilityCardsGrid({
22356
22304
  {
22357
22305
  href: learnMoreAction.href,
22358
22306
  onClick: learnMoreAction.onClick,
22359
- className: cn("hover:text-primary hover:underline", learnMoreAction.className),
22307
+ className: cn(learnMoreAction.className),
22360
22308
  "aria-label": learnMoreAction["aria-label"],
22361
22309
  children: [
22362
22310
  learnMoreAction.icon,
@@ -22366,32 +22314,45 @@ function FeatureUtilityCardsGrid({
22366
22314
  }
22367
22315
  );
22368
22316
  }, [learnMoreSlot, learnMoreAction]);
22369
- const renderUtilityImage = React52.useCallback((utility) => {
22370
- if (utility.imageSlot) return utility.imageSlot;
22371
- if (utility.image) {
22372
- return /* @__PURE__ */ jsx(
22373
- Img,
22374
- {
22375
- src: utility.image,
22376
- alt: utility.imageAlt || (typeof utility.title === "string" ? utility.title : "Utility image"),
22377
- className: cn("aspect-video w-full object-cover", utility.imageClassName),
22378
- loading: "lazy",
22379
- optixFlowConfig
22380
- }
22381
- );
22382
- }
22383
- return null;
22384
- }, [optixFlowConfig]);
22317
+ const renderUtilityImage = React52.useCallback(
22318
+ (utility) => {
22319
+ if (utility.imageSlot) return utility.imageSlot;
22320
+ if (utility.image) {
22321
+ return /* @__PURE__ */ jsx(
22322
+ Img,
22323
+ {
22324
+ src: utility.image,
22325
+ alt: utility.imageAlt || (typeof utility.title === "string" ? utility.title : "Utility image"),
22326
+ className: cn(
22327
+ "aspect-video w-full object-cover",
22328
+ utility.imageClassName
22329
+ ),
22330
+ loading: "lazy",
22331
+ optixFlowConfig
22332
+ }
22333
+ );
22334
+ }
22335
+ return null;
22336
+ },
22337
+ [optixFlowConfig]
22338
+ );
22385
22339
  const utilitiesContent = useMemo$1(() => {
22386
22340
  if (utilitiesSlot) return utilitiesSlot;
22387
22341
  if (!utilities || utilities.length === 0) return null;
22388
- return utilities.map((utility, index) => /* @__PURE__ */ jsxs(Card, { className: cn("overflow-hidden pt-0", cardClassName, utility.className), children: [
22389
- renderUtilityImage(utility),
22390
- /* @__PURE__ */ jsxs("div", { className: "p-5", children: [
22391
- utility.title && (typeof utility.title === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mb-1 font-medium", utility.titleClassName), children: utility.title }) : /* @__PURE__ */ jsx("div", { className: cn("mb-1 font-medium", utility.titleClassName), children: utility.title })),
22392
- utility.description && (typeof utility.description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-muted-foreground", utility.descriptionClassName), children: utility.description }) : /* @__PURE__ */ jsx("div", { className: cn("text-muted-foreground", utility.descriptionClassName), children: utility.description }))
22393
- ] })
22394
- ] }, index));
22342
+ return utilities.map((utility, index) => /* @__PURE__ */ jsxs(
22343
+ Card,
22344
+ {
22345
+ className: cn("overflow-hidden pt-0", cardClassName, utility.className),
22346
+ children: [
22347
+ renderUtilityImage(utility),
22348
+ /* @__PURE__ */ jsxs("div", { className: "p-5", children: [
22349
+ utility.title && (typeof utility.title === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mb-1 font-medium", utility.titleClassName), children: utility.title }) : /* @__PURE__ */ jsx("div", { className: cn("mb-1 font-medium", utility.titleClassName), children: utility.title })),
22350
+ utility.description && (typeof utility.description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("", utility.descriptionClassName), children: utility.description }) : /* @__PURE__ */ jsx("div", { className: cn("", utility.descriptionClassName), children: utility.description }))
22351
+ ] })
22352
+ ]
22353
+ },
22354
+ index
22355
+ ));
22395
22356
  }, [utilitiesSlot, utilities, cardClassName, renderUtilityImage]);
22396
22357
  return /* @__PURE__ */ jsxs(
22397
22358
  Section,
@@ -22405,20 +22366,50 @@ function FeatureUtilityCardsGrid({
22405
22366
  containerClassName: cn("max-w-7xl", containerClassName),
22406
22367
  children: [
22407
22368
  (label || labelIcon || labelIconName || learnMoreSlot || learnMoreAction) && /* @__PURE__ */ jsxs(Fragment$1, { children: [
22408
- /* @__PURE__ */ jsxs("div", { className: cn("flex items-center justify-between text-sm", headerClassName), children: [
22409
- (label || labelIcon || labelIconName) && /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-1 text-muted-foreground", labelClassName), children: [
22410
- renderLabelIcon,
22411
- label && (typeof label === "string" ? /* @__PURE__ */ jsx("p", { children: label }) : /* @__PURE__ */ jsx("div", { children: label }))
22412
- ] }),
22413
- learnMoreContent
22414
- ] }),
22369
+ /* @__PURE__ */ jsxs(
22370
+ "div",
22371
+ {
22372
+ className: cn(
22373
+ "flex items-center justify-between text-sm",
22374
+ headerClassName
22375
+ ),
22376
+ children: [
22377
+ (label || labelIcon || labelIconName) && /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-1 ", labelClassName), children: [
22378
+ renderLabelIcon,
22379
+ label && (typeof label === "string" ? /* @__PURE__ */ jsx("p", { children: label }) : /* @__PURE__ */ jsx("div", { children: label }))
22380
+ ] }),
22381
+ learnMoreContent
22382
+ ]
22383
+ }
22384
+ ),
22415
22385
  /* @__PURE__ */ jsx(Separator, { className: "mt-3 mb-8" })
22416
22386
  ] }),
22417
22387
  (title || description) && /* @__PURE__ */ jsxs("div", { className: "flex flex-col justify-between gap-6 md:flex-row", children: [
22418
- title && (typeof title === "string" ? /* @__PURE__ */ jsx("h2", { className: cn("text-3xl font-medium md:w-1/2", titleClassName), children: title }) : /* @__PURE__ */ jsx("div", { className: cn("text-3xl font-medium md:w-1/2", titleClassName), children: title })),
22388
+ title && (typeof title === "string" ? /* @__PURE__ */ jsx(
22389
+ "h2",
22390
+ {
22391
+ className: cn("text-3xl font-medium md:w-1/2", titleClassName),
22392
+ children: title
22393
+ }
22394
+ ) : /* @__PURE__ */ jsx(
22395
+ "div",
22396
+ {
22397
+ className: cn("text-3xl font-medium md:w-1/2", titleClassName),
22398
+ children: title
22399
+ }
22400
+ )),
22419
22401
  description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("md:w-1/2", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: cn("md:w-1/2", descriptionClassName), children: description }))
22420
22402
  ] }),
22421
- (utilitiesSlot || utilities && utilities.length > 0) && /* @__PURE__ */ jsx("div", { className: cn("mt-11 grid w-full grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3", gridClassName), children: utilitiesContent })
22403
+ (utilitiesSlot || utilities && utilities.length > 0) && /* @__PURE__ */ jsx(
22404
+ "div",
22405
+ {
22406
+ className: cn(
22407
+ "mt-11 grid w-full grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",
22408
+ gridClassName
22409
+ ),
22410
+ children: utilitiesContent
22411
+ }
22412
+ )
22422
22413
  ]
22423
22414
  }
22424
22415
  );
@@ -23700,7 +23691,7 @@ function FeatureStatsHighlight({
23700
23691
  statsGridClassName,
23701
23692
  statCardClassName,
23702
23693
  background,
23703
- spacing,
23694
+ spacing = "py-6 md:py-32",
23704
23695
  pattern,
23705
23696
  patternOpacity,
23706
23697
  patternClassName
@@ -23739,10 +23730,23 @@ function FeatureStatsHighlight({
23739
23730
  return stats.map((stat, index) => /* @__PURE__ */ jsxs(
23740
23731
  "div",
23741
23732
  {
23742
- className: cn("flex flex-col gap-2 rounded-xl border bg-card p-6", statCardClassName, stat.className),
23733
+ className: cn(
23734
+ "flex flex-col gap-2 rounded-xl border bg-card p-6",
23735
+ statCardClassName,
23736
+ stat.className
23737
+ ),
23743
23738
  children: [
23744
- stat.value && /* @__PURE__ */ jsx("span", { className: cn("text-4xl font-bold lg:text-5xl", stat.valueClassName), children: stat.value }),
23745
- stat.label && /* @__PURE__ */ jsx("span", { className: cn("text-muted-foreground", stat.labelClassName), children: stat.label })
23739
+ stat.value && /* @__PURE__ */ jsx(
23740
+ "span",
23741
+ {
23742
+ className: cn(
23743
+ "text-4xl font-bold lg:text-5xl",
23744
+ stat.valueClassName
23745
+ ),
23746
+ children: stat.value
23747
+ }
23748
+ ),
23749
+ stat.label && /* @__PURE__ */ jsx("span", { className: cn("", stat.labelClassName), children: stat.label })
23746
23750
  ]
23747
23751
  },
23748
23752
  index
@@ -23758,15 +23762,39 @@ function FeatureStatsHighlight({
23758
23762
  patternClassName,
23759
23763
  className,
23760
23764
  containerClassName,
23761
- children: /* @__PURE__ */ jsxs("div", { className: cn("grid gap-10 lg:grid-cols-2 lg:gap-20", gridClassName), children: [
23762
- /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-5", contentClassName), children: [
23763
- badge && /* @__PURE__ */ jsx(Badge, { variant: "outline", className: cn("w-fit", badgeClassName), children: badge }),
23764
- title && (typeof title === "string" ? /* @__PURE__ */ jsx("h2", { className: cn("text-3xl font-semibold lg:text-5xl", titleClassName), children: title }) : /* @__PURE__ */ jsx("div", { className: cn("text-3xl font-semibold lg:text-5xl", titleClassName), children: title })),
23765
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-muted-foreground lg:text-lg", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: cn("text-muted-foreground lg:text-lg", descriptionClassName), children: description })),
23766
- (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsx("div", { className: actionsClassName, children: actionsContent })
23767
- ] }),
23768
- (statsSlot || stats && stats.length > 0) && /* @__PURE__ */ jsx("div", { className: cn("grid grid-cols-2 gap-6", statsGridClassName), children: statsContent })
23769
- ] })
23765
+ children: /* @__PURE__ */ jsxs(
23766
+ "div",
23767
+ {
23768
+ className: cn("grid gap-10 lg:grid-cols-2 lg:gap-20", gridClassName),
23769
+ children: [
23770
+ /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-5", contentClassName), children: [
23771
+ badge && /* @__PURE__ */ jsx(Badge, { variant: "outline", className: cn("w-fit", badgeClassName), children: badge }),
23772
+ title && (typeof title === "string" ? /* @__PURE__ */ jsx(
23773
+ "h2",
23774
+ {
23775
+ className: cn(
23776
+ "text-3xl font-semibold lg:text-5xl",
23777
+ titleClassName
23778
+ ),
23779
+ children: title
23780
+ }
23781
+ ) : /* @__PURE__ */ jsx(
23782
+ "div",
23783
+ {
23784
+ className: cn(
23785
+ "text-3xl font-semibold lg:text-5xl",
23786
+ titleClassName
23787
+ ),
23788
+ children: title
23789
+ }
23790
+ )),
23791
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn(" lg:text-lg", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: cn(" lg:text-lg", descriptionClassName), children: description })),
23792
+ (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsx("div", { className: actionsClassName, children: actionsContent })
23793
+ ] }),
23794
+ (statsSlot || stats && stats.length > 0) && /* @__PURE__ */ jsx("div", { className: cn("grid grid-cols-2 gap-6", statsGridClassName), children: statsContent })
23795
+ ]
23796
+ }
23797
+ )
23770
23798
  }
23771
23799
  );
23772
23800
  }
@@ -23783,7 +23811,7 @@ function AccordionItem({
23783
23811
  AccordionPrimitive.Item,
23784
23812
  {
23785
23813
  "data-slot": "accordion-item",
23786
- className: cn("border-b last:border-b-0", className),
23814
+ className: cn("border-b ", className),
23787
23815
  ...props
23788
23816
  }
23789
23817
  );
@@ -23804,7 +23832,13 @@ function AccordionTrigger({
23804
23832
  ...props,
23805
23833
  children: [
23806
23834
  children,
23807
- /* @__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" })
23835
+ /* @__PURE__ */ jsx(
23836
+ DynamicIcon,
23837
+ {
23838
+ name: "lucide/chevron-down",
23839
+ className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
23840
+ }
23841
+ )
23808
23842
  ]
23809
23843
  }
23810
23844
  ) });
@@ -37638,7 +37672,7 @@ function FaqSimpleAccordion({
37638
37672
  items,
37639
37673
  itemsSlot,
37640
37674
  background,
37641
- spacing,
37675
+ spacing = "py-6 md:py-32",
37642
37676
  pattern,
37643
37677
  patternOpacity,
37644
37678
  patternClassName,
@@ -37680,7 +37714,14 @@ function FaqSimpleAccordion({
37680
37714
  },
37681
37715
  item.id || index
37682
37716
  )) });
37683
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
37717
+ }, [
37718
+ itemsSlot,
37719
+ items,
37720
+ accordionClassName,
37721
+ accordionItemClassName,
37722
+ accordionTriggerClassName,
37723
+ accordionContentClassName
37724
+ ]);
37684
37725
  return /* @__PURE__ */ jsx(
37685
37726
  Section,
37686
37727
  {
@@ -37711,7 +37752,7 @@ function FaqStaticList({
37711
37752
  items,
37712
37753
  itemsSlot,
37713
37754
  background,
37714
- spacing,
37755
+ spacing = "py-6 md:py-32",
37715
37756
  pattern,
37716
37757
  patternOpacity,
37717
37758
  patternClassName,
@@ -37730,7 +37771,14 @@ function FaqStaticList({
37730
37771
  typeof item.question === "string" ? /* @__PURE__ */ jsx("h3", { className: cn("mb-2 font-semibold", questionClassName), children: item.question }) : /* @__PURE__ */ jsx("div", { className: questionClassName, children: item.question }),
37731
37772
  typeof item.answer === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-muted-foreground", answerClassName), children: item.answer }) : /* @__PURE__ */ jsx("div", { className: answerClassName, children: item.answer })
37732
37773
  ] }, index)) });
37733
- }, [itemsSlot, items, itemsWrapperClassName, itemClassName, questionClassName, answerClassName]);
37774
+ }, [
37775
+ itemsSlot,
37776
+ items,
37777
+ itemsWrapperClassName,
37778
+ itemClassName,
37779
+ questionClassName,
37780
+ answerClassName
37781
+ ]);
37734
37782
  return /* @__PURE__ */ jsx(
37735
37783
  Section,
37736
37784
  {
@@ -37762,7 +37810,7 @@ function FaqCenteredAccordion({
37762
37810
  items,
37763
37811
  itemsSlot,
37764
37812
  background,
37765
- spacing,
37813
+ spacing = "py-6 md:py-32",
37766
37814
  pattern,
37767
37815
  patternOpacity,
37768
37816
  patternClassName,
@@ -37814,7 +37862,14 @@ function FaqCenteredAccordion({
37814
37862
  ))
37815
37863
  }
37816
37864
  );
37817
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
37865
+ }, [
37866
+ itemsSlot,
37867
+ items,
37868
+ accordionClassName,
37869
+ accordionItemClassName,
37870
+ accordionTriggerClassName,
37871
+ accordionContentClassName
37872
+ ]);
37818
37873
  return /* @__PURE__ */ jsx(
37819
37874
  Section,
37820
37875
  {
@@ -37824,7 +37879,7 @@ function FaqCenteredAccordion({
37824
37879
  patternOpacity,
37825
37880
  patternClassName,
37826
37881
  className,
37827
- children: /* @__PURE__ */ jsxs("div", { className: cn("space-y-16", containerClassName), children: [
37882
+ children: /* @__PURE__ */ jsxs("div", { className: cn("space-y-8 md:space-y-16", containerClassName), children: [
37828
37883
  /* @__PURE__ */ jsxs(
37829
37884
  "div",
37830
37885
  {
@@ -37871,7 +37926,7 @@ function FaqBadgeSupport({
37871
37926
  supportAction,
37872
37927
  supportSlot,
37873
37928
  background,
37874
- spacing,
37929
+ spacing = "py-6 md:py-32",
37875
37930
  pattern,
37876
37931
  patternOpacity,
37877
37932
  patternClassName,
@@ -37925,7 +37980,14 @@ function FaqBadgeSupport({
37925
37980
  ))
37926
37981
  }
37927
37982
  );
37928
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
37983
+ }, [
37984
+ itemsSlot,
37985
+ items,
37986
+ accordionClassName,
37987
+ accordionItemClassName,
37988
+ accordionTriggerClassName,
37989
+ accordionContentClassName
37990
+ ]);
37929
37991
  const supportSectionContent = useMemo$1(() => {
37930
37992
  if (supportSlot) return supportSlot;
37931
37993
  return /* @__PURE__ */ jsxs(
@@ -37961,7 +38023,7 @@ function FaqBadgeSupport({
37961
38023
  patternOpacity,
37962
38024
  patternClassName,
37963
38025
  className,
37964
- children: /* @__PURE__ */ jsxs("div", { className: cn("space-y-16", containerClassName), children: [
38026
+ children: /* @__PURE__ */ jsxs("div", { className: cn("space-y-8 md:space-y-16", containerClassName), children: [
37965
38027
  /* @__PURE__ */ jsxs(
37966
38028
  "div",
37967
38029
  {
@@ -38015,7 +38077,7 @@ function FaqNumberedList({
38015
38077
  items,
38016
38078
  itemsSlot,
38017
38079
  background,
38018
- spacing,
38080
+ spacing = "py-6 md:py-32",
38019
38081
  pattern,
38020
38082
  patternOpacity,
38021
38083
  patternClassName,
@@ -38052,7 +38114,7 @@ function FaqNumberedList({
38052
38114
  "span",
38053
38115
  {
38054
38116
  className: cn(
38055
- "bg-secondary flex size-6 shrink-0 items-center justify-center rounded-sm text-xs font-medium",
38117
+ "bg-muted flex size-10 shrink-0 items-center justify-center rounded-lg text-md font-semibold",
38056
38118
  numberClassName
38057
38119
  ),
38058
38120
  children: index + 1
@@ -38077,7 +38139,15 @@ function FaqNumberedList({
38077
38139
  ))
38078
38140
  }
38079
38141
  );
38080
- }, [itemsSlot, items, itemsWrapperClassName, itemClassName, numberClassName, questionClassName, answerClassName]);
38142
+ }, [
38143
+ itemsSlot,
38144
+ items,
38145
+ itemsWrapperClassName,
38146
+ itemClassName,
38147
+ numberClassName,
38148
+ questionClassName,
38149
+ answerClassName
38150
+ ]);
38081
38151
  return /* @__PURE__ */ jsx(
38082
38152
  Section,
38083
38153
  {
@@ -38129,7 +38199,7 @@ function FaqNumberedGrid({
38129
38199
  items,
38130
38200
  itemsSlot,
38131
38201
  background,
38132
- spacing,
38202
+ spacing = "py-6 md:py-32",
38133
38203
  pattern,
38134
38204
  patternOpacity,
38135
38205
  patternClassName,
@@ -38166,7 +38236,7 @@ function FaqNumberedGrid({
38166
38236
  "span",
38167
38237
  {
38168
38238
  className: cn(
38169
- "bg-secondary flex size-6 shrink-0 items-center justify-center rounded-sm text-xs font-medium",
38239
+ "bg-muted flex size-10 shrink-0 items-center justify-center rounded-lg text-md font-semibold",
38170
38240
  numberClassName
38171
38241
  ),
38172
38242
  children: index + 1
@@ -38191,7 +38261,15 @@ function FaqNumberedGrid({
38191
38261
  ))
38192
38262
  }
38193
38263
  );
38194
- }, [itemsSlot, items, gridClassName, itemClassName, numberClassName, questionClassName, answerClassName]);
38264
+ }, [
38265
+ itemsSlot,
38266
+ items,
38267
+ gridClassName,
38268
+ itemClassName,
38269
+ numberClassName,
38270
+ questionClassName,
38271
+ answerClassName
38272
+ ]);
38195
38273
  return /* @__PURE__ */ jsx(
38196
38274
  Section,
38197
38275
  {
@@ -38248,7 +38326,7 @@ function FaqSplitHelp({
38248
38326
  helpAction,
38249
38327
  helpSlot,
38250
38328
  background,
38251
- spacing,
38329
+ spacing = "py-6 md:py-32",
38252
38330
  pattern,
38253
38331
  patternOpacity,
38254
38332
  patternClassName,
@@ -38301,14 +38379,21 @@ function FaqSplitHelp({
38301
38379
  ))
38302
38380
  }
38303
38381
  );
38304
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
38382
+ }, [
38383
+ itemsSlot,
38384
+ items,
38385
+ accordionClassName,
38386
+ accordionItemClassName,
38387
+ accordionTriggerClassName,
38388
+ accordionContentClassName
38389
+ ]);
38305
38390
  const helpSectionContent = useMemo$1(() => {
38306
38391
  if (helpSlot) return helpSlot;
38307
38392
  return /* @__PURE__ */ jsxs(
38308
38393
  "div",
38309
38394
  {
38310
38395
  className: cn(
38311
- "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",
38396
+ "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",
38312
38397
  helpSectionClassName
38313
38398
  ),
38314
38399
  children: [
@@ -38330,7 +38415,13 @@ function FaqSplitHelp({
38330
38415
  ]
38331
38416
  }
38332
38417
  );
38333
- }, [helpSlot, helpHeading, helpDescription, helpAction, helpSectionClassName]);
38418
+ }, [
38419
+ helpSlot,
38420
+ helpHeading,
38421
+ helpDescription,
38422
+ helpAction,
38423
+ helpSectionClassName
38424
+ ]);
38334
38425
  return /* @__PURE__ */ jsx(
38335
38426
  Section,
38336
38427
  {
@@ -38377,7 +38468,7 @@ function FaqCategorizedSections({
38377
38468
  categories,
38378
38469
  categoriesSlot,
38379
38470
  background,
38380
- spacing,
38471
+ spacing = "py-6 md:py-32",
38381
38472
  pattern,
38382
38473
  patternOpacity,
38383
38474
  patternClassName,
@@ -38444,7 +38535,16 @@ function FaqCategorizedSections({
38444
38535
  ] }, categoryIndex))
38445
38536
  }
38446
38537
  );
38447
- }, [categoriesSlot, categories, categoriesWrapperClassName, categoryTitleClassName, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
38538
+ }, [
38539
+ categoriesSlot,
38540
+ categories,
38541
+ categoriesWrapperClassName,
38542
+ categoryTitleClassName,
38543
+ accordionClassName,
38544
+ accordionItemClassName,
38545
+ accordionTriggerClassName,
38546
+ accordionContentClassName
38547
+ ]);
38448
38548
  return /* @__PURE__ */ jsx(
38449
38549
  Section,
38450
38550
  {
@@ -38496,7 +38596,7 @@ function FaqMutedCards({
38496
38596
  items,
38497
38597
  itemsSlot,
38498
38598
  background,
38499
- spacing,
38599
+ spacing = "py-6 md:py-32",
38500
38600
  pattern,
38501
38601
  patternOpacity,
38502
38602
  patternClassName,
@@ -38549,7 +38649,14 @@ function FaqMutedCards({
38549
38649
  ))
38550
38650
  }
38551
38651
  );
38552
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
38652
+ }, [
38653
+ itemsSlot,
38654
+ items,
38655
+ accordionClassName,
38656
+ accordionItemClassName,
38657
+ accordionTriggerClassName,
38658
+ accordionContentClassName
38659
+ ]);
38553
38660
  return /* @__PURE__ */ jsx(
38554
38661
  Section,
38555
38662
  {
@@ -38561,10 +38668,10 @@ function FaqMutedCards({
38561
38668
  className,
38562
38669
  children: /* @__PURE__ */ jsxs("div", { className: cn("container max-w-3xl", containerClassName), children: [
38563
38670
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
38564
- "h1",
38671
+ "h2",
38565
38672
  {
38566
38673
  className: cn(
38567
- "mb-4 text-3xl font-bold md:mb-11 md:text-4xl",
38674
+ "mb-4 text-3xl font-bold md:mb-11 md:text-4xl px-4",
38568
38675
  headingClassName
38569
38676
  ),
38570
38677
  children: heading
@@ -38583,7 +38690,7 @@ function FaqBorderedBadge({
38583
38690
  items,
38584
38691
  itemsSlot,
38585
38692
  background,
38586
- spacing,
38693
+ spacing = "py-6 md:py-32",
38587
38694
  pattern,
38588
38695
  patternOpacity,
38589
38696
  patternClassName,
@@ -38637,7 +38744,14 @@ function FaqBorderedBadge({
38637
38744
  ))
38638
38745
  }
38639
38746
  );
38640
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
38747
+ }, [
38748
+ itemsSlot,
38749
+ items,
38750
+ accordionClassName,
38751
+ accordionItemClassName,
38752
+ accordionTriggerClassName,
38753
+ accordionContentClassName
38754
+ ]);
38641
38755
  return /* @__PURE__ */ jsx(
38642
38756
  Section,
38643
38757
  {
@@ -38660,15 +38774,18 @@ function FaqBorderedBadge({
38660
38774
  Badge,
38661
38775
  {
38662
38776
  variant: "outline",
38663
- className: cn("flex items-center gap-2", badgeClassName),
38777
+ className: cn(
38778
+ "gap-1.5 px-2.5 py-1 text-sm font-medium",
38779
+ badgeClassName
38780
+ ),
38664
38781
  children: [
38665
- badgeIcon && /* @__PURE__ */ jsx(DynamicIcon, { name: badgeIcon, className: "size-4" }),
38782
+ badgeIcon && /* @__PURE__ */ jsx(DynamicIcon, { name: badgeIcon, size: 16, className: "shrink-0" }),
38666
38783
  badge
38667
38784
  ]
38668
38785
  }
38669
38786
  ),
38670
38787
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
38671
- "h1",
38788
+ "h2",
38672
38789
  {
38673
38790
  className: cn(
38674
38791
  "max-w-2xl text-3xl font-semibold md:text-4xl",
@@ -38707,7 +38824,7 @@ function FaqGradientCategories({
38707
38824
  categories,
38708
38825
  categoriesSlot,
38709
38826
  background,
38710
- spacing,
38827
+ spacing = "py-6 md:py-32",
38711
38828
  pattern,
38712
38829
  patternOpacity,
38713
38830
  patternClassName,
@@ -38775,7 +38892,16 @@ function FaqGradientCategories({
38775
38892
  ] }, categoryIndex))
38776
38893
  }
38777
38894
  );
38778
- }, [categoriesSlot, categories, gridClassName, categoryTitleClassName, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
38895
+ }, [
38896
+ categoriesSlot,
38897
+ categories,
38898
+ gridClassName,
38899
+ categoryTitleClassName,
38900
+ accordionClassName,
38901
+ accordionItemClassName,
38902
+ accordionTriggerClassName,
38903
+ accordionContentClassName
38904
+ ]);
38779
38905
  return /* @__PURE__ */ jsx(
38780
38906
  Section,
38781
38907
  {
@@ -38858,19 +38984,17 @@ function FaqSidebarNavigation({
38858
38984
  accordionContentClassName
38859
38985
  }) {
38860
38986
  const [activeCategory, setActiveCategory] = React52.useState(
38861
- categories?.[0]?.id || ""
38987
+ categories && categories.length > 1 ? "all" : categories?.[0]?.id || ""
38862
38988
  );
38863
- const scrollToCategory = (categoryId) => {
38864
- setActiveCategory(categoryId);
38865
- const element = document.getElementById(`faq-category-${categoryId}`);
38866
- if (element) {
38867
- element.scrollIntoView({ behavior: "smooth", block: "start" });
38868
- }
38869
- };
38989
+ const filteredCategories = useMemo$1(() => {
38990
+ if (!categories || categories.length === 0) return [];
38991
+ if (activeCategory === "all") return categories;
38992
+ return categories.filter((category) => category.id === activeCategory);
38993
+ }, [categories, activeCategory]);
38870
38994
  const categoriesContent = useMemo$1(() => {
38871
38995
  if (categoriesSlot) return categoriesSlot;
38872
- if (!categories || categories.length === 0) return null;
38873
- return /* @__PURE__ */ jsx("div", { className: cn("space-y-10 lg:w-3/4", categoriesWrapperClassName), children: categories.map((category) => /* @__PURE__ */ jsxs(
38996
+ if (filteredCategories.length === 0) return null;
38997
+ return /* @__PURE__ */ jsx("div", { className: cn("space-y-10 lg:w-3/4", categoriesWrapperClassName), children: filteredCategories.map((category) => /* @__PURE__ */ jsxs(
38874
38998
  "div",
38875
38999
  {
38876
39000
  id: `faq-category-${category.id}`,
@@ -38917,7 +39041,7 @@ function FaqSidebarNavigation({
38917
39041
  },
38918
39042
  category.id
38919
39043
  )) });
38920
- }, [categoriesSlot, categories, categoriesWrapperClassName, categoryTitleClassName, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
39044
+ }, [categoriesSlot, filteredCategories, categoriesWrapperClassName, categoryTitleClassName, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
38921
39045
  return /* @__PURE__ */ jsx(
38922
39046
  Section,
38923
39047
  {
@@ -38967,21 +39091,37 @@ function FaqSidebarNavigation({
38967
39091
  contentWrapperClassName
38968
39092
  ),
38969
39093
  children: [
38970
- /* @__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(
38971
- "button",
38972
- {
38973
- onClick: () => scrollToCategory(category.id),
38974
- className: cn(
38975
- "w-full rounded-lg px-4 py-2 text-left text-sm font-medium transition-colors",
38976
- activeCategory === category.id ? cn(
38977
- "bg-primary text-primary-foreground",
38978
- navButtonActiveClassName
38979
- ) : cn("hover:bg-muted", navButtonClassName)
38980
- ),
38981
- children: category.title
38982
- },
38983
- category.id
38984
- )) }) }),
39094
+ /* @__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: [
39095
+ categories && categories.length > 1 && /* @__PURE__ */ jsx(
39096
+ "button",
39097
+ {
39098
+ onClick: () => setActiveCategory("all"),
39099
+ className: cn(
39100
+ "shrink-0 whitespace-nowrap rounded-lg px-4 py-2 text-left text-sm font-medium transition-colors lg:w-full",
39101
+ activeCategory === "all" ? cn(
39102
+ "bg-primary text-primary-foreground",
39103
+ navButtonActiveClassName
39104
+ ) : cn("hover:bg-muted", navButtonClassName)
39105
+ ),
39106
+ children: "All"
39107
+ }
39108
+ ),
39109
+ categories?.map((category) => /* @__PURE__ */ jsx(
39110
+ "button",
39111
+ {
39112
+ onClick: () => setActiveCategory(category.id),
39113
+ className: cn(
39114
+ "shrink-0 whitespace-nowrap rounded-lg px-4 py-2 text-left text-sm font-medium transition-colors lg:w-full",
39115
+ activeCategory === category.id ? cn(
39116
+ "bg-primary text-primary-foreground",
39117
+ navButtonActiveClassName
39118
+ ) : cn("hover:bg-muted", navButtonClassName)
39119
+ ),
39120
+ children: category.title
39121
+ },
39122
+ category.id
39123
+ ))
39124
+ ] }) }),
38985
39125
  categoriesContent
38986
39126
  ]
38987
39127
  }
@@ -38996,7 +39136,7 @@ function FaqCardCategories({
38996
39136
  categories,
38997
39137
  categoriesSlot,
38998
39138
  background,
38999
- spacing,
39139
+ spacing = "py-6 md:py-32",
39000
39140
  pattern,
39001
39141
  patternOpacity,
39002
39142
  patternClassName,
@@ -39074,7 +39214,17 @@ function FaqCardCategories({
39074
39214
  ))
39075
39215
  }
39076
39216
  );
39077
- }, [categoriesSlot, categories, gridClassName, cardClassName, categoryTitleClassName, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
39217
+ }, [
39218
+ categoriesSlot,
39219
+ categories,
39220
+ gridClassName,
39221
+ cardClassName,
39222
+ categoryTitleClassName,
39223
+ accordionClassName,
39224
+ accordionItemClassName,
39225
+ accordionTriggerClassName,
39226
+ accordionContentClassName
39227
+ ]);
39078
39228
  return /* @__PURE__ */ jsx(
39079
39229
  Section,
39080
39230
  {
@@ -39139,7 +39289,7 @@ function FaqIconBenefits({
39139
39289
  benefits,
39140
39290
  benefitsSlot,
39141
39291
  background,
39142
- spacing,
39292
+ spacing = "py-6 md:py-32",
39143
39293
  pattern,
39144
39294
  patternOpacity,
39145
39295
  patternClassName,
@@ -39206,7 +39356,16 @@ function FaqIconBenefits({
39206
39356
  ))
39207
39357
  }
39208
39358
  );
39209
- }, [benefitsSlot, benefits, gridClassName, benefitCardClassName, iconWrapperClassName, iconClassName, titleClassName, benefitDescriptionClassName]);
39359
+ }, [
39360
+ benefitsSlot,
39361
+ benefits,
39362
+ gridClassName,
39363
+ benefitCardClassName,
39364
+ iconWrapperClassName,
39365
+ iconClassName,
39366
+ titleClassName,
39367
+ benefitDescriptionClassName
39368
+ ]);
39210
39369
  return /* @__PURE__ */ jsx(
39211
39370
  Section,
39212
39371
  {
@@ -39259,7 +39418,7 @@ function FaqRoundedCards({
39259
39418
  items,
39260
39419
  itemsSlot,
39261
39420
  background,
39262
- spacing,
39421
+ spacing = "py-6 md:py-32",
39263
39422
  pattern,
39264
39423
  patternOpacity,
39265
39424
  patternClassName,
@@ -39282,13 +39441,13 @@ function FaqRoundedCards({
39282
39441
  {
39283
39442
  type: "single",
39284
39443
  collapsible: true,
39285
- className: cn("space-y-4", accordionClassName),
39444
+ className: cn("space-y-3", accordionClassName),
39286
39445
  children: items.map((item) => /* @__PURE__ */ jsxs(
39287
39446
  AccordionItem,
39288
39447
  {
39289
39448
  value: item.id,
39290
39449
  className: cn(
39291
- "rounded-lg bg-background px-4 border-none",
39450
+ "rounded-xl border border-border/60 bg-card px-5 shadow-sm transition-shadow hover:shadow-md data-[state=open]:shadow-md",
39292
39451
  accordionItemClassName
39293
39452
  ),
39294
39453
  children: [
@@ -39296,7 +39455,7 @@ function FaqRoundedCards({
39296
39455
  AccordionTrigger,
39297
39456
  {
39298
39457
  className: cn(
39299
- "font-semibold hover:no-underline",
39458
+ "py-4 font-medium transition-opacity hover:no-underline hover:opacity-70 lg:text-lg [&[data-state=open]>svg]:rotate-180",
39300
39459
  accordionTriggerClassName
39301
39460
  ),
39302
39461
  children: item.question
@@ -39305,7 +39464,10 @@ function FaqRoundedCards({
39305
39464
  /* @__PURE__ */ jsx(
39306
39465
  AccordionContent,
39307
39466
  {
39308
- className: cn("text-muted-foreground", accordionContentClassName),
39467
+ className: cn(
39468
+ "pb-4 text-muted-foreground",
39469
+ accordionContentClassName
39470
+ ),
39309
39471
  children: item.answer
39310
39472
  }
39311
39473
  )
@@ -39315,7 +39477,14 @@ function FaqRoundedCards({
39315
39477
  ))
39316
39478
  }
39317
39479
  );
39318
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
39480
+ }, [
39481
+ itemsSlot,
39482
+ items,
39483
+ accordionClassName,
39484
+ accordionItemClassName,
39485
+ accordionTriggerClassName,
39486
+ accordionContentClassName
39487
+ ]);
39319
39488
  return /* @__PURE__ */ jsx(
39320
39489
  Section,
39321
39490
  {
@@ -39344,16 +39513,7 @@ function FaqRoundedCards({
39344
39513
  children: heading
39345
39514
  }
39346
39515
  ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
39347
- description && (typeof description === "string" ? /* @__PURE__ */ jsx(
39348
- "p",
39349
- {
39350
- className: cn(
39351
- "text-muted-foreground lg:text-lg",
39352
- descriptionClassName
39353
- ),
39354
- children: description
39355
- }
39356
- ) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
39516
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("lg:text-lg", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: descriptionClassName, children: description }))
39357
39517
  ]
39358
39518
  }
39359
39519
  ),
@@ -39361,7 +39521,7 @@ function FaqRoundedCards({
39361
39521
  "div",
39362
39522
  {
39363
39523
  className: cn(
39364
- "mx-auto mt-10 max-w-3xl rounded-2xl bg-muted/50 p-6 md:p-8",
39524
+ "mx-auto mt-10 max-w-3xl",
39365
39525
  cardsWrapperClassName
39366
39526
  ),
39367
39527
  children: itemsContent
@@ -39384,7 +39544,7 @@ function FaqProfileSidebar({
39384
39544
  contactText,
39385
39545
  contactAction,
39386
39546
  background,
39387
- spacing,
39547
+ spacing = "py-6 md:py-32",
39388
39548
  pattern,
39389
39549
  patternOpacity,
39390
39550
  patternClassName,
@@ -39437,7 +39597,14 @@ function FaqProfileSidebar({
39437
39597
  },
39438
39598
  item.id
39439
39599
  )) });
39440
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
39600
+ }, [
39601
+ itemsSlot,
39602
+ items,
39603
+ accordionClassName,
39604
+ accordionItemClassName,
39605
+ accordionTriggerClassName,
39606
+ accordionContentClassName
39607
+ ]);
39441
39608
  const profileSectionContent = useMemo$1(() => {
39442
39609
  if (profileSlot) return profileSlot;
39443
39610
  return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-6", profileCardClassName), children: [
@@ -39478,22 +39645,46 @@ function FaqProfileSidebar({
39478
39645
  children: profileDescription
39479
39646
  }
39480
39647
  ) : /* @__PURE__ */ jsx("div", { className: profileDescriptionClassName, children: profileDescription })),
39481
- contactAction && /* @__PURE__ */ jsxs("div", { className: cn("mt-6 border-t pt-6", contactSectionClassName), children: [
39482
- contactText && (typeof contactText === "string" ? /* @__PURE__ */ jsx("p", { className: "text-sm font-medium", children: contactText }) : contactText),
39483
- /* @__PURE__ */ jsx(
39484
- Pressable,
39485
- {
39486
- href: contactAction.href,
39487
- onClick: contactAction.onClick,
39488
- variant: contactAction.variant || "outline",
39489
- size: contactAction.size,
39490
- className: cn("mt-3 w-full", contactAction.className),
39491
- children: contactAction.children || contactAction.label
39492
- }
39493
- )
39494
- ] })
39648
+ contactAction && /* @__PURE__ */ jsxs(
39649
+ "div",
39650
+ {
39651
+ className: cn(
39652
+ "mt-6 border-t pt-6 flex flex-col space-y-4",
39653
+ contactSectionClassName
39654
+ ),
39655
+ children: [
39656
+ contactText && (typeof contactText === "string" ? /* @__PURE__ */ jsx("p", { className: "text-sm font-medium", children: contactText }) : contactText),
39657
+ /* @__PURE__ */ jsx(
39658
+ Pressable,
39659
+ {
39660
+ href: contactAction.href,
39661
+ onClick: contactAction.onClick,
39662
+ variant: contactAction.variant || "outline",
39663
+ size: contactAction.size,
39664
+ className: cn("mt-3 w-full", contactAction.className),
39665
+ children: contactAction.children || contactAction.label
39666
+ }
39667
+ )
39668
+ ]
39669
+ }
39670
+ )
39495
39671
  ] });
39496
- }, [profileSlot, profileImage, profileName, profileRole, profileDescription, contactText, contactAction, profileCardClassName, profileImageClassName, profileNameClassName, profileRoleClassName, profileDescriptionClassName, contactSectionClassName, optixFlowConfig]);
39672
+ }, [
39673
+ profileSlot,
39674
+ profileImage,
39675
+ profileName,
39676
+ profileRole,
39677
+ profileDescription,
39678
+ contactText,
39679
+ contactAction,
39680
+ profileCardClassName,
39681
+ profileImageClassName,
39682
+ profileNameClassName,
39683
+ profileRoleClassName,
39684
+ profileDescriptionClassName,
39685
+ contactSectionClassName,
39686
+ optixFlowConfig
39687
+ ]);
39497
39688
  return /* @__PURE__ */ jsx(
39498
39689
  Section,
39499
39690
  {
@@ -39507,7 +39698,7 @@ function FaqProfileSidebar({
39507
39698
  "div",
39508
39699
  {
39509
39700
  className: cn(
39510
- "flex flex-col gap-10 lg:flex-row lg:gap-16",
39701
+ "flex flex-col gap-6 lg:flex-row lg:gap-16",
39511
39702
  contentWrapperClassName
39512
39703
  ),
39513
39704
  children: [
@@ -39551,14 +39742,11 @@ function FaqSplitHero({
39551
39742
  imageSlot,
39552
39743
  imageSrc,
39553
39744
  imageAlt,
39554
- background,
39555
- spacing,
39745
+ background = "dark",
39556
39746
  pattern,
39557
39747
  patternOpacity,
39558
- patternClassName,
39559
39748
  className,
39560
- contentWrapperClassName,
39561
- leftColumnClassName,
39749
+ contentClassName,
39562
39750
  headerClassName,
39563
39751
  headingClassName,
39564
39752
  subheadingClassName,
@@ -39567,8 +39755,23 @@ function FaqSplitHero({
39567
39755
  accordionTriggerClassName,
39568
39756
  accordionContentClassName,
39569
39757
  imageClassName,
39570
- optixFlowConfig
39758
+ optixFlowConfig,
39759
+ directionConfig = { desktop: "mediaRight", mobile: "mediaTop" }
39571
39760
  }) {
39761
+ const bgColorClass = useMemo$1(() => {
39762
+ switch (background) {
39763
+ case "dark":
39764
+ return "bg-gray-900 text-white";
39765
+ case "gray":
39766
+ return "bg-gray-100 text-gray-900";
39767
+ case "white":
39768
+ return "bg-white text-gray-900";
39769
+ default:
39770
+ return "bg-background text-foreground";
39771
+ }
39772
+ }, [background]);
39773
+ const desktopOrder = directionConfig.desktop === "mediaRight" ? "lg:flex-row" : "lg:flex-row-reverse";
39774
+ const mobileOrder = directionConfig.mobile === "mediaTop" ? "flex-col" : "flex-col-reverse";
39572
39775
  const itemsContent = useMemo$1(() => {
39573
39776
  if (itemsSlot) return itemsSlot;
39574
39777
  if (!items || items.length === 0) return null;
@@ -39582,13 +39785,13 @@ function FaqSplitHero({
39582
39785
  AccordionItem,
39583
39786
  {
39584
39787
  value: item.id,
39585
- className: cn("border-b border-border/50", accordionItemClassName),
39788
+ className: cn("border-b border-current/20", accordionItemClassName),
39586
39789
  children: [
39587
39790
  /* @__PURE__ */ jsx(
39588
39791
  AccordionTrigger,
39589
39792
  {
39590
39793
  className: cn(
39591
- "py-4 text-left text-base font-medium text-foreground transition-colors hover:text-primary hover:no-underline lg:text-lg",
39794
+ "py-4 text-left text-base font-medium transition-opacity hover:opacity-70 hover:no-underline lg:text-lg",
39592
39795
  accordionTriggerClassName
39593
39796
  ),
39594
39797
  children: item.question
@@ -39597,10 +39800,7 @@ function FaqSplitHero({
39597
39800
  /* @__PURE__ */ jsx(
39598
39801
  AccordionContent,
39599
39802
  {
39600
- className: cn(
39601
- "pb-4 text-muted-foreground",
39602
- accordionContentClassName
39603
- ),
39803
+ className: cn("pb-4 opacity-80", accordionContentClassName),
39604
39804
  children: item.answer
39605
39805
  }
39606
39806
  )
@@ -39610,71 +39810,65 @@ function FaqSplitHero({
39610
39810
  ))
39611
39811
  }
39612
39812
  );
39613
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
39614
- const imageContent = useMemo$1(() => {
39615
- if (imageSlot) return imageSlot;
39616
- if (!imageSrc) return null;
39617
- return /* @__PURE__ */ jsx(
39618
- Img,
39619
- {
39620
- src: imageSrc,
39621
- alt: imageAlt || "FAQ section image",
39622
- className: cn(
39623
- "hidden h-screen w-1/2 object-cover lg:block",
39624
- imageClassName
39625
- ),
39626
- optixFlowConfig
39627
- }
39628
- );
39629
- }, [imageSlot, imageSrc, imageAlt, imageClassName, optixFlowConfig]);
39630
- return /* @__PURE__ */ jsx(
39631
- Section,
39813
+ }, [
39814
+ itemsSlot,
39815
+ items,
39816
+ accordionClassName,
39817
+ accordionItemClassName,
39818
+ accordionTriggerClassName,
39819
+ accordionContentClassName
39820
+ ]);
39821
+ const contentArea = /* @__PURE__ */ jsxs(
39822
+ "div",
39632
39823
  {
39633
- background,
39634
- spacing,
39635
- pattern,
39636
- patternOpacity,
39637
- patternClassName,
39638
- className: cn("dark flex", className),
39639
- children: /* @__PURE__ */ jsxs("div", { className: cn("flex", contentWrapperClassName), children: [
39640
- /* @__PURE__ */ jsx(
39641
- "div",
39642
- {
39643
- className: cn(
39644
- "flex w-full items-center justify-center bg-background lg:w-1/2",
39645
- leftColumnClassName
39646
- ),
39647
- children: /* @__PURE__ */ jsxs("div", { className: "container my-10 flex w-full max-w-[600px] flex-col gap-8 px-6 lg:px-10", children: [
39648
- /* @__PURE__ */ jsxs("div", { className: cn("space-y-4", headerClassName), children: [
39649
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
39650
- "h2",
39651
- {
39652
- className: cn(
39653
- "text-3xl font-bold text-foreground lg:text-4xl",
39654
- headingClassName
39655
- ),
39656
- children: heading
39657
- }
39658
- ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
39659
- subheading && (typeof subheading === "string" ? /* @__PURE__ */ jsx(
39660
- "p",
39661
- {
39662
- className: cn(
39663
- "text-lg text-muted-foreground",
39664
- subheadingClassName
39665
- ),
39666
- children: subheading
39667
- }
39668
- ) : /* @__PURE__ */ jsx("div", { className: subheadingClassName, children: subheading }))
39669
- ] }),
39670
- itemsContent
39671
- ] })
39672
- }
39673
- ),
39674
- imageContent
39675
- ] })
39824
+ className: cn(
39825
+ "relative flex w-full items-center lg:w-1/2",
39826
+ bgColorClass,
39827
+ contentClassName
39828
+ ),
39829
+ children: [
39830
+ pattern && /* @__PURE__ */ jsx("div", { className: "absolute inset-0 overflow-hidden", children: /* @__PURE__ */ jsx(PatternBackground, { pattern, opacity: patternOpacity }) }),
39831
+ /* @__PURE__ */ jsx("div", { className: "relative z-10 w-full px-8 py-16 sm:px-12 sm:py-20 lg:px-16 lg:py-24 xl:px-24", children: /* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-xl space-y-8", children: [
39832
+ /* @__PURE__ */ jsxs("div", { className: cn("space-y-4", headerClassName), children: [
39833
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
39834
+ "h2",
39835
+ {
39836
+ className: cn(
39837
+ "text-3xl font-bold leading-tight tracking-tight sm:text-4xl lg:text-5xl",
39838
+ headingClassName
39839
+ ),
39840
+ children: heading
39841
+ }
39842
+ ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
39843
+ subheading && (typeof subheading === "string" ? /* @__PURE__ */ jsx(
39844
+ "p",
39845
+ {
39846
+ className: cn(
39847
+ "text-base leading-relaxed opacity-80 sm:text-lg",
39848
+ subheadingClassName
39849
+ ),
39850
+ children: subheading
39851
+ }
39852
+ ) : /* @__PURE__ */ jsx("div", { className: subheadingClassName, children: subheading }))
39853
+ ] }),
39854
+ itemsContent
39855
+ ] }) })
39856
+ ]
39676
39857
  }
39677
39858
  );
39859
+ const imageArea = imageSlot ? /* @__PURE__ */ jsx("div", { className: "relative h-64 w-full sm:h-96 lg:h-auto lg:w-1/2", children: imageSlot }) : imageSrc ? /* @__PURE__ */ jsx("div", { className: "relative h-64 w-full sm:h-96 lg:h-auto lg:w-1/2", children: /* @__PURE__ */ jsx(
39860
+ Img,
39861
+ {
39862
+ src: imageSrc,
39863
+ alt: imageAlt || "FAQ section image",
39864
+ className: cn("h-full w-full object-cover", imageClassName),
39865
+ optixFlowConfig
39866
+ }
39867
+ ) }) : null;
39868
+ return /* @__PURE__ */ jsx("section", { className: cn("relative w-full overflow-hidden", className), children: /* @__PURE__ */ jsxs("div", { className: cn("flex min-h-screen", mobileOrder, desktopOrder), children: [
39869
+ contentArea,
39870
+ imageArea
39871
+ ] }) });
39678
39872
  }
39679
39873
  function AboutSplitHero({
39680
39874
  brandText,