@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.cjs CHANGED
@@ -20431,8 +20431,7 @@ function FeatureShowcase({
20431
20431
  onNext: () => api?.scrollNext(),
20432
20432
  canScrollPrevious,
20433
20433
  canScrollNext,
20434
- className: "absolute bottom-4 right-0 md:bottom-6",
20435
- buttonClassName: "size-12 rounded-full border border-current bg-transparent text-current shadow-sm hover:bg-current/10"
20434
+ className: "absolute bottom-4 right-0 md:bottom-6"
20436
20435
  }
20437
20436
  )
20438
20437
  ] });
@@ -20579,7 +20578,7 @@ function FeatureSplitImage({
20579
20578
  "p",
20580
20579
  {
20581
20580
  className: cn(
20582
- "mb-8 max-w-xl text-muted-foreground lg:text-lg",
20581
+ "mb-8 max-w-xl lg:text-lg",
20583
20582
  descriptionClassName
20584
20583
  ),
20585
20584
  children: description
@@ -20588,7 +20587,7 @@ function FeatureSplitImage({
20588
20587
  "div",
20589
20588
  {
20590
20589
  className: cn(
20591
- "mb-8 max-w-xl text-muted-foreground lg:text-lg",
20590
+ "mb-8 max-w-xl lg:text-lg",
20592
20591
  descriptionClassName
20593
20592
  ),
20594
20593
  children: description
@@ -20731,19 +20730,13 @@ function FeatureSplitImageReverse({
20731
20730
  description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
20732
20731
  "p",
20733
20732
  {
20734
- className: cn(
20735
- "mb-8 max-w-xl text-muted-foreground lg:text-lg",
20736
- descriptionClassName
20737
- ),
20733
+ className: cn("mb-8 max-w-xl lg:text-lg", descriptionClassName),
20738
20734
  children: description
20739
20735
  }
20740
20736
  ) : /* @__PURE__ */ jsxRuntime.jsx(
20741
20737
  "div",
20742
20738
  {
20743
- className: cn(
20744
- "mb-8 max-w-xl text-muted-foreground lg:text-lg",
20745
- descriptionClassName
20746
- ),
20739
+ className: cn("mb-8 max-w-xl lg:text-lg", descriptionClassName),
20747
20740
  children: description
20748
20741
  }
20749
20742
  )),
@@ -21699,17 +21692,13 @@ function FeatureThreeColumnValues({
21699
21692
  return values.map((value, index) => /* @__PURE__ */ jsxRuntime.jsxs(
21700
21693
  "div",
21701
21694
  {
21702
- className: cn(
21703
- "rounded-lg bg-accent p-5",
21704
- cardClassName,
21705
- value.className
21706
- ),
21695
+ className: cn("rounded-lg p-5", cardClassName, value.className),
21707
21696
  children: [
21708
21697
  (value.icon || value.iconName) && /* @__PURE__ */ jsxRuntime.jsx(
21709
21698
  "span",
21710
21699
  {
21711
21700
  className: cn(
21712
- "mb-8 flex size-12 items-center justify-center rounded-full bg-background",
21701
+ "mb-8 flex size-12 items-center justify-center rounded-full ",
21713
21702
  value.iconClassName
21714
21703
  ),
21715
21704
  children: renderValueIcon(value)
@@ -21728,25 +21717,7 @@ function FeatureThreeColumnValues({
21728
21717
  children: value.title
21729
21718
  }
21730
21719
  )),
21731
- value.description && (typeof value.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
21732
- "p",
21733
- {
21734
- className: cn(
21735
- "leading-7 text-muted-foreground",
21736
- value.descriptionClassName
21737
- ),
21738
- children: value.description
21739
- }
21740
- ) : /* @__PURE__ */ jsxRuntime.jsx(
21741
- "div",
21742
- {
21743
- className: cn(
21744
- "leading-7 text-muted-foreground",
21745
- value.descriptionClassName
21746
- ),
21747
- children: value.description
21748
- }
21749
- ))
21720
+ value.description && (typeof value.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("leading-7 ", value.descriptionClassName), children: value.description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("leading-7", value.descriptionClassName), children: value.description }))
21750
21721
  ]
21751
21722
  },
21752
21723
  index
@@ -21763,25 +21734,7 @@ function FeatureThreeColumnValues({
21763
21734
  className,
21764
21735
  containerClassName,
21765
21736
  children: [
21766
- label && (typeof label === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
21767
- "p",
21768
- {
21769
- className: cn(
21770
- "mb-4 text-sm text-muted-foreground lg:text-base",
21771
- labelClassName
21772
- ),
21773
- children: label
21774
- }
21775
- ) : /* @__PURE__ */ jsxRuntime.jsx(
21776
- "div",
21777
- {
21778
- className: cn(
21779
- "mb-4 text-sm text-muted-foreground lg:text-base",
21780
- labelClassName
21781
- ),
21782
- children: label
21783
- }
21784
- )),
21737
+ label && (typeof label === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mb-4 text-sm lg:text-base", labelClassName), children: label }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mb-4 text-sm lg:text-base", labelClassName), children: label })),
21785
21738
  title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
21786
21739
  "h2",
21787
21740
  {
@@ -22174,10 +22127,7 @@ function FeatureTabbedContentImage({
22174
22127
  TabsTrigger,
22175
22128
  {
22176
22129
  value: slide.id.toString(),
22177
- className: cn(
22178
- "text-sm hover:bg-background md:text-base",
22179
- tabTriggerClassName
22180
- ),
22130
+ className: cn("text-sm md:text-base", tabTriggerClassName),
22181
22131
  children: slide.tabName
22182
22132
  },
22183
22133
  slide.id
@@ -22219,19 +22169,13 @@ function FeatureTabbedContentImage({
22219
22169
  slide.description && (typeof slide.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
22220
22170
  "p",
22221
22171
  {
22222
- className: cn(
22223
- "text-muted-foreground lg:text-xl",
22224
- slide.descriptionClassName
22225
- ),
22172
+ className: cn(" lg:text-xl", slide.descriptionClassName),
22226
22173
  children: slide.description
22227
22174
  }
22228
22175
  ) : /* @__PURE__ */ jsxRuntime.jsx(
22229
22176
  "div",
22230
22177
  {
22231
- className: cn(
22232
- "text-muted-foreground lg:text-xl",
22233
- slide.descriptionClassName
22234
- ),
22178
+ className: cn("lg:text-xl", slide.descriptionClassName),
22235
22179
  children: slide.description
22236
22180
  }
22237
22181
  )),
@@ -22313,7 +22257,7 @@ function FeatureTabbedContentImage({
22313
22257
  "p",
22314
22258
  {
22315
22259
  className: cn(
22316
- "text-center text-balance text-muted-foreground lg:text-xl",
22260
+ "text-center text-balance lg:text-xl",
22317
22261
  descriptionClassName
22318
22262
  ),
22319
22263
  children: description
@@ -22322,7 +22266,7 @@ function FeatureTabbedContentImage({
22322
22266
  "div",
22323
22267
  {
22324
22268
  className: cn(
22325
- "text-center text-balance text-muted-foreground lg:text-xl",
22269
+ "text-center text-balance lg:text-xl",
22326
22270
  descriptionClassName
22327
22271
  ),
22328
22272
  children: description
@@ -22366,14 +22310,15 @@ function FeatureUtilityCardsGrid({
22366
22310
  cardClassName,
22367
22311
  optixFlowConfig,
22368
22312
  background,
22369
- spacing,
22313
+ spacing = "py-6 md:py-32",
22370
22314
  pattern,
22371
22315
  patternOpacity,
22372
22316
  patternClassName
22373
22317
  }) {
22374
22318
  const renderLabelIcon = React52.useMemo(() => {
22375
22319
  if (labelIcon) return labelIcon;
22376
- if (labelIconName) return /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: labelIconName, size: 20, className: "text-primary" });
22320
+ if (labelIconName)
22321
+ return /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: labelIconName, size: 20, className: "text-primary" });
22377
22322
  return null;
22378
22323
  }, [labelIcon, labelIconName]);
22379
22324
  const learnMoreContent = React52.useMemo(() => {
@@ -22385,7 +22330,10 @@ function FeatureUtilityCardsGrid({
22385
22330
  {
22386
22331
  href: learnMoreAction.href,
22387
22332
  onClick: learnMoreAction.onClick,
22388
- className: cn("hover:text-primary hover:underline", learnMoreAction.className),
22333
+ className: cn(
22334
+ "hover:text-primary hover:underline",
22335
+ learnMoreAction.className
22336
+ ),
22389
22337
  "aria-label": learnMoreAction["aria-label"],
22390
22338
  children: learnMoreAction.children
22391
22339
  }
@@ -22396,7 +22344,7 @@ function FeatureUtilityCardsGrid({
22396
22344
  {
22397
22345
  href: learnMoreAction.href,
22398
22346
  onClick: learnMoreAction.onClick,
22399
- className: cn("hover:text-primary hover:underline", learnMoreAction.className),
22347
+ className: cn(learnMoreAction.className),
22400
22348
  "aria-label": learnMoreAction["aria-label"],
22401
22349
  children: [
22402
22350
  learnMoreAction.icon,
@@ -22406,32 +22354,45 @@ function FeatureUtilityCardsGrid({
22406
22354
  }
22407
22355
  );
22408
22356
  }, [learnMoreSlot, learnMoreAction]);
22409
- const renderUtilityImage = React52__namespace.useCallback((utility) => {
22410
- if (utility.imageSlot) return utility.imageSlot;
22411
- if (utility.image) {
22412
- return /* @__PURE__ */ jsxRuntime.jsx(
22413
- img.Img,
22414
- {
22415
- src: utility.image,
22416
- alt: utility.imageAlt || (typeof utility.title === "string" ? utility.title : "Utility image"),
22417
- className: cn("aspect-video w-full object-cover", utility.imageClassName),
22418
- loading: "lazy",
22419
- optixFlowConfig
22420
- }
22421
- );
22422
- }
22423
- return null;
22424
- }, [optixFlowConfig]);
22357
+ const renderUtilityImage = React52__namespace.useCallback(
22358
+ (utility) => {
22359
+ if (utility.imageSlot) return utility.imageSlot;
22360
+ if (utility.image) {
22361
+ return /* @__PURE__ */ jsxRuntime.jsx(
22362
+ img.Img,
22363
+ {
22364
+ src: utility.image,
22365
+ alt: utility.imageAlt || (typeof utility.title === "string" ? utility.title : "Utility image"),
22366
+ className: cn(
22367
+ "aspect-video w-full object-cover",
22368
+ utility.imageClassName
22369
+ ),
22370
+ loading: "lazy",
22371
+ optixFlowConfig
22372
+ }
22373
+ );
22374
+ }
22375
+ return null;
22376
+ },
22377
+ [optixFlowConfig]
22378
+ );
22425
22379
  const utilitiesContent = React52.useMemo(() => {
22426
22380
  if (utilitiesSlot) return utilitiesSlot;
22427
22381
  if (!utilities || utilities.length === 0) return null;
22428
- return utilities.map((utility, index) => /* @__PURE__ */ jsxRuntime.jsxs(Card, { className: cn("overflow-hidden pt-0", cardClassName, utility.className), children: [
22429
- renderUtilityImage(utility),
22430
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-5", children: [
22431
- utility.title && (typeof utility.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mb-1 font-medium", utility.titleClassName), children: utility.title }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mb-1 font-medium", utility.titleClassName), children: utility.title })),
22432
- utility.description && (typeof utility.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-muted-foreground", utility.descriptionClassName), children: utility.description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("text-muted-foreground", utility.descriptionClassName), children: utility.description }))
22433
- ] })
22434
- ] }, index));
22382
+ return utilities.map((utility, index) => /* @__PURE__ */ jsxRuntime.jsxs(
22383
+ Card,
22384
+ {
22385
+ className: cn("overflow-hidden pt-0", cardClassName, utility.className),
22386
+ children: [
22387
+ renderUtilityImage(utility),
22388
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-5", children: [
22389
+ utility.title && (typeof utility.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mb-1 font-medium", utility.titleClassName), children: utility.title }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mb-1 font-medium", utility.titleClassName), children: utility.title })),
22390
+ utility.description && (typeof utility.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("", utility.descriptionClassName), children: utility.description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("", utility.descriptionClassName), children: utility.description }))
22391
+ ] })
22392
+ ]
22393
+ },
22394
+ index
22395
+ ));
22435
22396
  }, [utilitiesSlot, utilities, cardClassName, renderUtilityImage]);
22436
22397
  return /* @__PURE__ */ jsxRuntime.jsxs(
22437
22398
  Section,
@@ -22445,20 +22406,50 @@ function FeatureUtilityCardsGrid({
22445
22406
  containerClassName: cn("max-w-7xl", containerClassName),
22446
22407
  children: [
22447
22408
  (label || labelIcon || labelIconName || learnMoreSlot || learnMoreAction) && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
22448
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex items-center justify-between text-sm", headerClassName), children: [
22449
- (label || labelIcon || labelIconName) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex items-center gap-1 text-muted-foreground", labelClassName), children: [
22450
- renderLabelIcon,
22451
- label && (typeof label === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { children: label }) : /* @__PURE__ */ jsxRuntime.jsx("div", { children: label }))
22452
- ] }),
22453
- learnMoreContent
22454
- ] }),
22409
+ /* @__PURE__ */ jsxRuntime.jsxs(
22410
+ "div",
22411
+ {
22412
+ className: cn(
22413
+ "flex items-center justify-between text-sm",
22414
+ headerClassName
22415
+ ),
22416
+ children: [
22417
+ (label || labelIcon || labelIconName) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex items-center gap-1 ", labelClassName), children: [
22418
+ renderLabelIcon,
22419
+ label && (typeof label === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { children: label }) : /* @__PURE__ */ jsxRuntime.jsx("div", { children: label }))
22420
+ ] }),
22421
+ learnMoreContent
22422
+ ]
22423
+ }
22424
+ ),
22455
22425
  /* @__PURE__ */ jsxRuntime.jsx(Separator, { className: "mt-3 mb-8" })
22456
22426
  ] }),
22457
22427
  (title || description) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col justify-between gap-6 md:flex-row", children: [
22458
- title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h2", { className: cn("text-3xl font-medium md:w-1/2", titleClassName), children: title }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("text-3xl font-medium md:w-1/2", titleClassName), children: title })),
22428
+ title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
22429
+ "h2",
22430
+ {
22431
+ className: cn("text-3xl font-medium md:w-1/2", titleClassName),
22432
+ children: title
22433
+ }
22434
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
22435
+ "div",
22436
+ {
22437
+ className: cn("text-3xl font-medium md:w-1/2", titleClassName),
22438
+ children: title
22439
+ }
22440
+ )),
22459
22441
  description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("md:w-1/2", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("md:w-1/2", descriptionClassName), children: description }))
22460
22442
  ] }),
22461
- (utilitiesSlot || utilities && utilities.length > 0) && /* @__PURE__ */ jsxRuntime.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 })
22443
+ (utilitiesSlot || utilities && utilities.length > 0) && /* @__PURE__ */ jsxRuntime.jsx(
22444
+ "div",
22445
+ {
22446
+ className: cn(
22447
+ "mt-11 grid w-full grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3",
22448
+ gridClassName
22449
+ ),
22450
+ children: utilitiesContent
22451
+ }
22452
+ )
22462
22453
  ]
22463
22454
  }
22464
22455
  );
@@ -23740,7 +23731,7 @@ function FeatureStatsHighlight({
23740
23731
  statsGridClassName,
23741
23732
  statCardClassName,
23742
23733
  background,
23743
- spacing,
23734
+ spacing = "py-6 md:py-32",
23744
23735
  pattern,
23745
23736
  patternOpacity,
23746
23737
  patternClassName
@@ -23779,10 +23770,23 @@ function FeatureStatsHighlight({
23779
23770
  return stats.map((stat, index) => /* @__PURE__ */ jsxRuntime.jsxs(
23780
23771
  "div",
23781
23772
  {
23782
- className: cn("flex flex-col gap-2 rounded-xl border bg-card p-6", statCardClassName, stat.className),
23773
+ className: cn(
23774
+ "flex flex-col gap-2 rounded-xl border bg-card p-6",
23775
+ statCardClassName,
23776
+ stat.className
23777
+ ),
23783
23778
  children: [
23784
- stat.value && /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn("text-4xl font-bold lg:text-5xl", stat.valueClassName), children: stat.value }),
23785
- stat.label && /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn("text-muted-foreground", stat.labelClassName), children: stat.label })
23779
+ stat.value && /* @__PURE__ */ jsxRuntime.jsx(
23780
+ "span",
23781
+ {
23782
+ className: cn(
23783
+ "text-4xl font-bold lg:text-5xl",
23784
+ stat.valueClassName
23785
+ ),
23786
+ children: stat.value
23787
+ }
23788
+ ),
23789
+ stat.label && /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn("", stat.labelClassName), children: stat.label })
23786
23790
  ]
23787
23791
  },
23788
23792
  index
@@ -23798,15 +23802,39 @@ function FeatureStatsHighlight({
23798
23802
  patternClassName,
23799
23803
  className,
23800
23804
  containerClassName,
23801
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("grid gap-10 lg:grid-cols-2 lg:gap-20", gridClassName), children: [
23802
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col gap-5", contentClassName), children: [
23803
- badge && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: "outline", className: cn("w-fit", badgeClassName), children: badge }),
23804
- title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h2", { className: cn("text-3xl font-semibold lg:text-5xl", titleClassName), children: title }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("text-3xl font-semibold lg:text-5xl", titleClassName), children: title })),
23805
- description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-muted-foreground lg:text-lg", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("text-muted-foreground lg:text-lg", descriptionClassName), children: description })),
23806
- (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: actionsClassName, children: actionsContent })
23807
- ] }),
23808
- (statsSlot || stats && stats.length > 0) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("grid grid-cols-2 gap-6", statsGridClassName), children: statsContent })
23809
- ] })
23805
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
23806
+ "div",
23807
+ {
23808
+ className: cn("grid gap-10 lg:grid-cols-2 lg:gap-20", gridClassName),
23809
+ children: [
23810
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col gap-5", contentClassName), children: [
23811
+ badge && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: "outline", className: cn("w-fit", badgeClassName), children: badge }),
23812
+ title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
23813
+ "h2",
23814
+ {
23815
+ className: cn(
23816
+ "text-3xl font-semibold lg:text-5xl",
23817
+ titleClassName
23818
+ ),
23819
+ children: title
23820
+ }
23821
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
23822
+ "div",
23823
+ {
23824
+ className: cn(
23825
+ "text-3xl font-semibold lg:text-5xl",
23826
+ titleClassName
23827
+ ),
23828
+ children: title
23829
+ }
23830
+ )),
23831
+ description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn(" lg:text-lg", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn(" lg:text-lg", descriptionClassName), children: description })),
23832
+ (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: actionsClassName, children: actionsContent })
23833
+ ] }),
23834
+ (statsSlot || stats && stats.length > 0) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("grid grid-cols-2 gap-6", statsGridClassName), children: statsContent })
23835
+ ]
23836
+ }
23837
+ )
23810
23838
  }
23811
23839
  );
23812
23840
  }
@@ -23823,7 +23851,7 @@ function AccordionItem({
23823
23851
  AccordionPrimitive__namespace.Item,
23824
23852
  {
23825
23853
  "data-slot": "accordion-item",
23826
- className: cn("border-b last:border-b-0", className),
23854
+ className: cn("border-b ", className),
23827
23855
  ...props
23828
23856
  }
23829
23857
  );
@@ -23844,7 +23872,13 @@ function AccordionTrigger({
23844
23872
  ...props,
23845
23873
  children: [
23846
23874
  children,
23847
- /* @__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" })
23875
+ /* @__PURE__ */ jsxRuntime.jsx(
23876
+ DynamicIcon,
23877
+ {
23878
+ name: "lucide/chevron-down",
23879
+ className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
23880
+ }
23881
+ )
23848
23882
  ]
23849
23883
  }
23850
23884
  ) });
@@ -37678,7 +37712,7 @@ function FaqSimpleAccordion({
37678
37712
  items,
37679
37713
  itemsSlot,
37680
37714
  background,
37681
- spacing,
37715
+ spacing = "py-6 md:py-32",
37682
37716
  pattern,
37683
37717
  patternOpacity,
37684
37718
  patternClassName,
@@ -37720,7 +37754,14 @@ function FaqSimpleAccordion({
37720
37754
  },
37721
37755
  item.id || index
37722
37756
  )) });
37723
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
37757
+ }, [
37758
+ itemsSlot,
37759
+ items,
37760
+ accordionClassName,
37761
+ accordionItemClassName,
37762
+ accordionTriggerClassName,
37763
+ accordionContentClassName
37764
+ ]);
37724
37765
  return /* @__PURE__ */ jsxRuntime.jsx(
37725
37766
  Section,
37726
37767
  {
@@ -37751,7 +37792,7 @@ function FaqStaticList({
37751
37792
  items,
37752
37793
  itemsSlot,
37753
37794
  background,
37754
- spacing,
37795
+ spacing = "py-6 md:py-32",
37755
37796
  pattern,
37756
37797
  patternOpacity,
37757
37798
  patternClassName,
@@ -37770,7 +37811,14 @@ function FaqStaticList({
37770
37811
  typeof item.question === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: cn("mb-2 font-semibold", questionClassName), children: item.question }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: questionClassName, children: item.question }),
37771
37812
  typeof item.answer === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-muted-foreground", answerClassName), children: item.answer }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: answerClassName, children: item.answer })
37772
37813
  ] }, index)) });
37773
- }, [itemsSlot, items, itemsWrapperClassName, itemClassName, questionClassName, answerClassName]);
37814
+ }, [
37815
+ itemsSlot,
37816
+ items,
37817
+ itemsWrapperClassName,
37818
+ itemClassName,
37819
+ questionClassName,
37820
+ answerClassName
37821
+ ]);
37774
37822
  return /* @__PURE__ */ jsxRuntime.jsx(
37775
37823
  Section,
37776
37824
  {
@@ -37802,7 +37850,7 @@ function FaqCenteredAccordion({
37802
37850
  items,
37803
37851
  itemsSlot,
37804
37852
  background,
37805
- spacing,
37853
+ spacing = "py-6 md:py-32",
37806
37854
  pattern,
37807
37855
  patternOpacity,
37808
37856
  patternClassName,
@@ -37854,7 +37902,14 @@ function FaqCenteredAccordion({
37854
37902
  ))
37855
37903
  }
37856
37904
  );
37857
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
37905
+ }, [
37906
+ itemsSlot,
37907
+ items,
37908
+ accordionClassName,
37909
+ accordionItemClassName,
37910
+ accordionTriggerClassName,
37911
+ accordionContentClassName
37912
+ ]);
37858
37913
  return /* @__PURE__ */ jsxRuntime.jsx(
37859
37914
  Section,
37860
37915
  {
@@ -37864,7 +37919,7 @@ function FaqCenteredAccordion({
37864
37919
  patternOpacity,
37865
37920
  patternClassName,
37866
37921
  className,
37867
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("space-y-16", containerClassName), children: [
37922
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("space-y-8 md:space-y-16", containerClassName), children: [
37868
37923
  /* @__PURE__ */ jsxRuntime.jsxs(
37869
37924
  "div",
37870
37925
  {
@@ -37911,7 +37966,7 @@ function FaqBadgeSupport({
37911
37966
  supportAction,
37912
37967
  supportSlot,
37913
37968
  background,
37914
- spacing,
37969
+ spacing = "py-6 md:py-32",
37915
37970
  pattern,
37916
37971
  patternOpacity,
37917
37972
  patternClassName,
@@ -37965,7 +38020,14 @@ function FaqBadgeSupport({
37965
38020
  ))
37966
38021
  }
37967
38022
  );
37968
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
38023
+ }, [
38024
+ itemsSlot,
38025
+ items,
38026
+ accordionClassName,
38027
+ accordionItemClassName,
38028
+ accordionTriggerClassName,
38029
+ accordionContentClassName
38030
+ ]);
37969
38031
  const supportSectionContent = React52.useMemo(() => {
37970
38032
  if (supportSlot) return supportSlot;
37971
38033
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -38001,7 +38063,7 @@ function FaqBadgeSupport({
38001
38063
  patternOpacity,
38002
38064
  patternClassName,
38003
38065
  className,
38004
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("space-y-16", containerClassName), children: [
38066
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("space-y-8 md:space-y-16", containerClassName), children: [
38005
38067
  /* @__PURE__ */ jsxRuntime.jsxs(
38006
38068
  "div",
38007
38069
  {
@@ -38055,7 +38117,7 @@ function FaqNumberedList({
38055
38117
  items,
38056
38118
  itemsSlot,
38057
38119
  background,
38058
- spacing,
38120
+ spacing = "py-6 md:py-32",
38059
38121
  pattern,
38060
38122
  patternOpacity,
38061
38123
  patternClassName,
@@ -38092,7 +38154,7 @@ function FaqNumberedList({
38092
38154
  "span",
38093
38155
  {
38094
38156
  className: cn(
38095
- "bg-secondary flex size-6 shrink-0 items-center justify-center rounded-sm text-xs font-medium",
38157
+ "bg-muted flex size-10 shrink-0 items-center justify-center rounded-lg text-md font-semibold",
38096
38158
  numberClassName
38097
38159
  ),
38098
38160
  children: index + 1
@@ -38117,7 +38179,15 @@ function FaqNumberedList({
38117
38179
  ))
38118
38180
  }
38119
38181
  );
38120
- }, [itemsSlot, items, itemsWrapperClassName, itemClassName, numberClassName, questionClassName, answerClassName]);
38182
+ }, [
38183
+ itemsSlot,
38184
+ items,
38185
+ itemsWrapperClassName,
38186
+ itemClassName,
38187
+ numberClassName,
38188
+ questionClassName,
38189
+ answerClassName
38190
+ ]);
38121
38191
  return /* @__PURE__ */ jsxRuntime.jsx(
38122
38192
  Section,
38123
38193
  {
@@ -38169,7 +38239,7 @@ function FaqNumberedGrid({
38169
38239
  items,
38170
38240
  itemsSlot,
38171
38241
  background,
38172
- spacing,
38242
+ spacing = "py-6 md:py-32",
38173
38243
  pattern,
38174
38244
  patternOpacity,
38175
38245
  patternClassName,
@@ -38206,7 +38276,7 @@ function FaqNumberedGrid({
38206
38276
  "span",
38207
38277
  {
38208
38278
  className: cn(
38209
- "bg-secondary flex size-6 shrink-0 items-center justify-center rounded-sm text-xs font-medium",
38279
+ "bg-muted flex size-10 shrink-0 items-center justify-center rounded-lg text-md font-semibold",
38210
38280
  numberClassName
38211
38281
  ),
38212
38282
  children: index + 1
@@ -38231,7 +38301,15 @@ function FaqNumberedGrid({
38231
38301
  ))
38232
38302
  }
38233
38303
  );
38234
- }, [itemsSlot, items, gridClassName, itemClassName, numberClassName, questionClassName, answerClassName]);
38304
+ }, [
38305
+ itemsSlot,
38306
+ items,
38307
+ gridClassName,
38308
+ itemClassName,
38309
+ numberClassName,
38310
+ questionClassName,
38311
+ answerClassName
38312
+ ]);
38235
38313
  return /* @__PURE__ */ jsxRuntime.jsx(
38236
38314
  Section,
38237
38315
  {
@@ -38288,7 +38366,7 @@ function FaqSplitHelp({
38288
38366
  helpAction,
38289
38367
  helpSlot,
38290
38368
  background,
38291
- spacing,
38369
+ spacing = "py-6 md:py-32",
38292
38370
  pattern,
38293
38371
  patternOpacity,
38294
38372
  patternClassName,
@@ -38341,14 +38419,21 @@ function FaqSplitHelp({
38341
38419
  ))
38342
38420
  }
38343
38421
  );
38344
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
38422
+ }, [
38423
+ itemsSlot,
38424
+ items,
38425
+ accordionClassName,
38426
+ accordionItemClassName,
38427
+ accordionTriggerClassName,
38428
+ accordionContentClassName
38429
+ ]);
38345
38430
  const helpSectionContent = React52.useMemo(() => {
38346
38431
  if (helpSlot) return helpSlot;
38347
38432
  return /* @__PURE__ */ jsxRuntime.jsxs(
38348
38433
  "div",
38349
38434
  {
38350
38435
  className: cn(
38351
- "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",
38436
+ "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",
38352
38437
  helpSectionClassName
38353
38438
  ),
38354
38439
  children: [
@@ -38370,7 +38455,13 @@ function FaqSplitHelp({
38370
38455
  ]
38371
38456
  }
38372
38457
  );
38373
- }, [helpSlot, helpHeading, helpDescription, helpAction, helpSectionClassName]);
38458
+ }, [
38459
+ helpSlot,
38460
+ helpHeading,
38461
+ helpDescription,
38462
+ helpAction,
38463
+ helpSectionClassName
38464
+ ]);
38374
38465
  return /* @__PURE__ */ jsxRuntime.jsx(
38375
38466
  Section,
38376
38467
  {
@@ -38417,7 +38508,7 @@ function FaqCategorizedSections({
38417
38508
  categories,
38418
38509
  categoriesSlot,
38419
38510
  background,
38420
- spacing,
38511
+ spacing = "py-6 md:py-32",
38421
38512
  pattern,
38422
38513
  patternOpacity,
38423
38514
  patternClassName,
@@ -38484,7 +38575,16 @@ function FaqCategorizedSections({
38484
38575
  ] }, categoryIndex))
38485
38576
  }
38486
38577
  );
38487
- }, [categoriesSlot, categories, categoriesWrapperClassName, categoryTitleClassName, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
38578
+ }, [
38579
+ categoriesSlot,
38580
+ categories,
38581
+ categoriesWrapperClassName,
38582
+ categoryTitleClassName,
38583
+ accordionClassName,
38584
+ accordionItemClassName,
38585
+ accordionTriggerClassName,
38586
+ accordionContentClassName
38587
+ ]);
38488
38588
  return /* @__PURE__ */ jsxRuntime.jsx(
38489
38589
  Section,
38490
38590
  {
@@ -38536,7 +38636,7 @@ function FaqMutedCards({
38536
38636
  items,
38537
38637
  itemsSlot,
38538
38638
  background,
38539
- spacing,
38639
+ spacing = "py-6 md:py-32",
38540
38640
  pattern,
38541
38641
  patternOpacity,
38542
38642
  patternClassName,
@@ -38589,7 +38689,14 @@ function FaqMutedCards({
38589
38689
  ))
38590
38690
  }
38591
38691
  );
38592
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
38692
+ }, [
38693
+ itemsSlot,
38694
+ items,
38695
+ accordionClassName,
38696
+ accordionItemClassName,
38697
+ accordionTriggerClassName,
38698
+ accordionContentClassName
38699
+ ]);
38593
38700
  return /* @__PURE__ */ jsxRuntime.jsx(
38594
38701
  Section,
38595
38702
  {
@@ -38601,10 +38708,10 @@ function FaqMutedCards({
38601
38708
  className,
38602
38709
  children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("container max-w-3xl", containerClassName), children: [
38603
38710
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
38604
- "h1",
38711
+ "h2",
38605
38712
  {
38606
38713
  className: cn(
38607
- "mb-4 text-3xl font-bold md:mb-11 md:text-4xl",
38714
+ "mb-4 text-3xl font-bold md:mb-11 md:text-4xl px-4",
38608
38715
  headingClassName
38609
38716
  ),
38610
38717
  children: heading
@@ -38623,7 +38730,7 @@ function FaqBorderedBadge({
38623
38730
  items,
38624
38731
  itemsSlot,
38625
38732
  background,
38626
- spacing,
38733
+ spacing = "py-6 md:py-32",
38627
38734
  pattern,
38628
38735
  patternOpacity,
38629
38736
  patternClassName,
@@ -38677,7 +38784,14 @@ function FaqBorderedBadge({
38677
38784
  ))
38678
38785
  }
38679
38786
  );
38680
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
38787
+ }, [
38788
+ itemsSlot,
38789
+ items,
38790
+ accordionClassName,
38791
+ accordionItemClassName,
38792
+ accordionTriggerClassName,
38793
+ accordionContentClassName
38794
+ ]);
38681
38795
  return /* @__PURE__ */ jsxRuntime.jsx(
38682
38796
  Section,
38683
38797
  {
@@ -38700,15 +38814,18 @@ function FaqBorderedBadge({
38700
38814
  Badge,
38701
38815
  {
38702
38816
  variant: "outline",
38703
- className: cn("flex items-center gap-2", badgeClassName),
38817
+ className: cn(
38818
+ "gap-1.5 px-2.5 py-1 text-sm font-medium",
38819
+ badgeClassName
38820
+ ),
38704
38821
  children: [
38705
- badgeIcon && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: badgeIcon, className: "size-4" }),
38822
+ badgeIcon && /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: badgeIcon, size: 16, className: "shrink-0" }),
38706
38823
  badge
38707
38824
  ]
38708
38825
  }
38709
38826
  ),
38710
38827
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
38711
- "h1",
38828
+ "h2",
38712
38829
  {
38713
38830
  className: cn(
38714
38831
  "max-w-2xl text-3xl font-semibold md:text-4xl",
@@ -38747,7 +38864,7 @@ function FaqGradientCategories({
38747
38864
  categories,
38748
38865
  categoriesSlot,
38749
38866
  background,
38750
- spacing,
38867
+ spacing = "py-6 md:py-32",
38751
38868
  pattern,
38752
38869
  patternOpacity,
38753
38870
  patternClassName,
@@ -38815,7 +38932,16 @@ function FaqGradientCategories({
38815
38932
  ] }, categoryIndex))
38816
38933
  }
38817
38934
  );
38818
- }, [categoriesSlot, categories, gridClassName, categoryTitleClassName, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
38935
+ }, [
38936
+ categoriesSlot,
38937
+ categories,
38938
+ gridClassName,
38939
+ categoryTitleClassName,
38940
+ accordionClassName,
38941
+ accordionItemClassName,
38942
+ accordionTriggerClassName,
38943
+ accordionContentClassName
38944
+ ]);
38819
38945
  return /* @__PURE__ */ jsxRuntime.jsx(
38820
38946
  Section,
38821
38947
  {
@@ -38898,19 +39024,17 @@ function FaqSidebarNavigation({
38898
39024
  accordionContentClassName
38899
39025
  }) {
38900
39026
  const [activeCategory, setActiveCategory] = React52__namespace.useState(
38901
- categories?.[0]?.id || ""
39027
+ categories && categories.length > 1 ? "all" : categories?.[0]?.id || ""
38902
39028
  );
38903
- const scrollToCategory = (categoryId) => {
38904
- setActiveCategory(categoryId);
38905
- const element = document.getElementById(`faq-category-${categoryId}`);
38906
- if (element) {
38907
- element.scrollIntoView({ behavior: "smooth", block: "start" });
38908
- }
38909
- };
39029
+ const filteredCategories = React52.useMemo(() => {
39030
+ if (!categories || categories.length === 0) return [];
39031
+ if (activeCategory === "all") return categories;
39032
+ return categories.filter((category) => category.id === activeCategory);
39033
+ }, [categories, activeCategory]);
38910
39034
  const categoriesContent = React52.useMemo(() => {
38911
39035
  if (categoriesSlot) return categoriesSlot;
38912
- if (!categories || categories.length === 0) return null;
38913
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("space-y-10 lg:w-3/4", categoriesWrapperClassName), children: categories.map((category) => /* @__PURE__ */ jsxRuntime.jsxs(
39036
+ if (filteredCategories.length === 0) return null;
39037
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("space-y-10 lg:w-3/4", categoriesWrapperClassName), children: filteredCategories.map((category) => /* @__PURE__ */ jsxRuntime.jsxs(
38914
39038
  "div",
38915
39039
  {
38916
39040
  id: `faq-category-${category.id}`,
@@ -38957,7 +39081,7 @@ function FaqSidebarNavigation({
38957
39081
  },
38958
39082
  category.id
38959
39083
  )) });
38960
- }, [categoriesSlot, categories, categoriesWrapperClassName, categoryTitleClassName, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
39084
+ }, [categoriesSlot, filteredCategories, categoriesWrapperClassName, categoryTitleClassName, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
38961
39085
  return /* @__PURE__ */ jsxRuntime.jsx(
38962
39086
  Section,
38963
39087
  {
@@ -39007,21 +39131,37 @@ function FaqSidebarNavigation({
39007
39131
  contentWrapperClassName
39008
39132
  ),
39009
39133
  children: [
39010
- /* @__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(
39011
- "button",
39012
- {
39013
- onClick: () => scrollToCategory(category.id),
39014
- className: cn(
39015
- "w-full rounded-lg px-4 py-2 text-left text-sm font-medium transition-colors",
39016
- activeCategory === category.id ? cn(
39017
- "bg-primary text-primary-foreground",
39018
- navButtonActiveClassName
39019
- ) : cn("hover:bg-muted", navButtonClassName)
39020
- ),
39021
- children: category.title
39022
- },
39023
- category.id
39024
- )) }) }),
39134
+ /* @__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: [
39135
+ categories && categories.length > 1 && /* @__PURE__ */ jsxRuntime.jsx(
39136
+ "button",
39137
+ {
39138
+ onClick: () => setActiveCategory("all"),
39139
+ className: cn(
39140
+ "shrink-0 whitespace-nowrap rounded-lg px-4 py-2 text-left text-sm font-medium transition-colors lg:w-full",
39141
+ activeCategory === "all" ? cn(
39142
+ "bg-primary text-primary-foreground",
39143
+ navButtonActiveClassName
39144
+ ) : cn("hover:bg-muted", navButtonClassName)
39145
+ ),
39146
+ children: "All"
39147
+ }
39148
+ ),
39149
+ categories?.map((category) => /* @__PURE__ */ jsxRuntime.jsx(
39150
+ "button",
39151
+ {
39152
+ onClick: () => setActiveCategory(category.id),
39153
+ className: cn(
39154
+ "shrink-0 whitespace-nowrap rounded-lg px-4 py-2 text-left text-sm font-medium transition-colors lg:w-full",
39155
+ activeCategory === category.id ? cn(
39156
+ "bg-primary text-primary-foreground",
39157
+ navButtonActiveClassName
39158
+ ) : cn("hover:bg-muted", navButtonClassName)
39159
+ ),
39160
+ children: category.title
39161
+ },
39162
+ category.id
39163
+ ))
39164
+ ] }) }),
39025
39165
  categoriesContent
39026
39166
  ]
39027
39167
  }
@@ -39036,7 +39176,7 @@ function FaqCardCategories({
39036
39176
  categories,
39037
39177
  categoriesSlot,
39038
39178
  background,
39039
- spacing,
39179
+ spacing = "py-6 md:py-32",
39040
39180
  pattern,
39041
39181
  patternOpacity,
39042
39182
  patternClassName,
@@ -39114,7 +39254,17 @@ function FaqCardCategories({
39114
39254
  ))
39115
39255
  }
39116
39256
  );
39117
- }, [categoriesSlot, categories, gridClassName, cardClassName, categoryTitleClassName, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
39257
+ }, [
39258
+ categoriesSlot,
39259
+ categories,
39260
+ gridClassName,
39261
+ cardClassName,
39262
+ categoryTitleClassName,
39263
+ accordionClassName,
39264
+ accordionItemClassName,
39265
+ accordionTriggerClassName,
39266
+ accordionContentClassName
39267
+ ]);
39118
39268
  return /* @__PURE__ */ jsxRuntime.jsx(
39119
39269
  Section,
39120
39270
  {
@@ -39179,7 +39329,7 @@ function FaqIconBenefits({
39179
39329
  benefits,
39180
39330
  benefitsSlot,
39181
39331
  background,
39182
- spacing,
39332
+ spacing = "py-6 md:py-32",
39183
39333
  pattern,
39184
39334
  patternOpacity,
39185
39335
  patternClassName,
@@ -39246,7 +39396,16 @@ function FaqIconBenefits({
39246
39396
  ))
39247
39397
  }
39248
39398
  );
39249
- }, [benefitsSlot, benefits, gridClassName, benefitCardClassName, iconWrapperClassName, iconClassName, titleClassName, benefitDescriptionClassName]);
39399
+ }, [
39400
+ benefitsSlot,
39401
+ benefits,
39402
+ gridClassName,
39403
+ benefitCardClassName,
39404
+ iconWrapperClassName,
39405
+ iconClassName,
39406
+ titleClassName,
39407
+ benefitDescriptionClassName
39408
+ ]);
39250
39409
  return /* @__PURE__ */ jsxRuntime.jsx(
39251
39410
  Section,
39252
39411
  {
@@ -39299,7 +39458,7 @@ function FaqRoundedCards({
39299
39458
  items,
39300
39459
  itemsSlot,
39301
39460
  background,
39302
- spacing,
39461
+ spacing = "py-6 md:py-32",
39303
39462
  pattern,
39304
39463
  patternOpacity,
39305
39464
  patternClassName,
@@ -39322,13 +39481,13 @@ function FaqRoundedCards({
39322
39481
  {
39323
39482
  type: "single",
39324
39483
  collapsible: true,
39325
- className: cn("space-y-4", accordionClassName),
39484
+ className: cn("space-y-3", accordionClassName),
39326
39485
  children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(
39327
39486
  AccordionItem,
39328
39487
  {
39329
39488
  value: item.id,
39330
39489
  className: cn(
39331
- "rounded-lg bg-background px-4 border-none",
39490
+ "rounded-xl border border-border/60 bg-card px-5 shadow-sm transition-shadow hover:shadow-md data-[state=open]:shadow-md",
39332
39491
  accordionItemClassName
39333
39492
  ),
39334
39493
  children: [
@@ -39336,7 +39495,7 @@ function FaqRoundedCards({
39336
39495
  AccordionTrigger,
39337
39496
  {
39338
39497
  className: cn(
39339
- "font-semibold hover:no-underline",
39498
+ "py-4 font-medium transition-opacity hover:no-underline hover:opacity-70 lg:text-lg [&[data-state=open]>svg]:rotate-180",
39340
39499
  accordionTriggerClassName
39341
39500
  ),
39342
39501
  children: item.question
@@ -39345,7 +39504,10 @@ function FaqRoundedCards({
39345
39504
  /* @__PURE__ */ jsxRuntime.jsx(
39346
39505
  AccordionContent,
39347
39506
  {
39348
- className: cn("text-muted-foreground", accordionContentClassName),
39507
+ className: cn(
39508
+ "pb-4 text-muted-foreground",
39509
+ accordionContentClassName
39510
+ ),
39349
39511
  children: item.answer
39350
39512
  }
39351
39513
  )
@@ -39355,7 +39517,14 @@ function FaqRoundedCards({
39355
39517
  ))
39356
39518
  }
39357
39519
  );
39358
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
39520
+ }, [
39521
+ itemsSlot,
39522
+ items,
39523
+ accordionClassName,
39524
+ accordionItemClassName,
39525
+ accordionTriggerClassName,
39526
+ accordionContentClassName
39527
+ ]);
39359
39528
  return /* @__PURE__ */ jsxRuntime.jsx(
39360
39529
  Section,
39361
39530
  {
@@ -39384,16 +39553,7 @@ function FaqRoundedCards({
39384
39553
  children: heading
39385
39554
  }
39386
39555
  ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
39387
- description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
39388
- "p",
39389
- {
39390
- className: cn(
39391
- "text-muted-foreground lg:text-lg",
39392
- descriptionClassName
39393
- ),
39394
- children: description
39395
- }
39396
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
39556
+ description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("lg:text-lg", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: descriptionClassName, children: description }))
39397
39557
  ]
39398
39558
  }
39399
39559
  ),
@@ -39401,7 +39561,7 @@ function FaqRoundedCards({
39401
39561
  "div",
39402
39562
  {
39403
39563
  className: cn(
39404
- "mx-auto mt-10 max-w-3xl rounded-2xl bg-muted/50 p-6 md:p-8",
39564
+ "mx-auto mt-10 max-w-3xl",
39405
39565
  cardsWrapperClassName
39406
39566
  ),
39407
39567
  children: itemsContent
@@ -39424,7 +39584,7 @@ function FaqProfileSidebar({
39424
39584
  contactText,
39425
39585
  contactAction,
39426
39586
  background,
39427
- spacing,
39587
+ spacing = "py-6 md:py-32",
39428
39588
  pattern,
39429
39589
  patternOpacity,
39430
39590
  patternClassName,
@@ -39477,7 +39637,14 @@ function FaqProfileSidebar({
39477
39637
  },
39478
39638
  item.id
39479
39639
  )) });
39480
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
39640
+ }, [
39641
+ itemsSlot,
39642
+ items,
39643
+ accordionClassName,
39644
+ accordionItemClassName,
39645
+ accordionTriggerClassName,
39646
+ accordionContentClassName
39647
+ ]);
39481
39648
  const profileSectionContent = React52.useMemo(() => {
39482
39649
  if (profileSlot) return profileSlot;
39483
39650
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("rounded-lg border p-6", profileCardClassName), children: [
@@ -39518,22 +39685,46 @@ function FaqProfileSidebar({
39518
39685
  children: profileDescription
39519
39686
  }
39520
39687
  ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: profileDescriptionClassName, children: profileDescription })),
39521
- contactAction && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mt-6 border-t pt-6", contactSectionClassName), children: [
39522
- contactText && (typeof contactText === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-medium", children: contactText }) : contactText),
39523
- /* @__PURE__ */ jsxRuntime.jsx(
39524
- Pressable,
39525
- {
39526
- href: contactAction.href,
39527
- onClick: contactAction.onClick,
39528
- variant: contactAction.variant || "outline",
39529
- size: contactAction.size,
39530
- className: cn("mt-3 w-full", contactAction.className),
39531
- children: contactAction.children || contactAction.label
39532
- }
39533
- )
39534
- ] })
39688
+ contactAction && /* @__PURE__ */ jsxRuntime.jsxs(
39689
+ "div",
39690
+ {
39691
+ className: cn(
39692
+ "mt-6 border-t pt-6 flex flex-col space-y-4",
39693
+ contactSectionClassName
39694
+ ),
39695
+ children: [
39696
+ contactText && (typeof contactText === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-medium", children: contactText }) : contactText),
39697
+ /* @__PURE__ */ jsxRuntime.jsx(
39698
+ Pressable,
39699
+ {
39700
+ href: contactAction.href,
39701
+ onClick: contactAction.onClick,
39702
+ variant: contactAction.variant || "outline",
39703
+ size: contactAction.size,
39704
+ className: cn("mt-3 w-full", contactAction.className),
39705
+ children: contactAction.children || contactAction.label
39706
+ }
39707
+ )
39708
+ ]
39709
+ }
39710
+ )
39535
39711
  ] });
39536
- }, [profileSlot, profileImage, profileName, profileRole, profileDescription, contactText, contactAction, profileCardClassName, profileImageClassName, profileNameClassName, profileRoleClassName, profileDescriptionClassName, contactSectionClassName, optixFlowConfig]);
39712
+ }, [
39713
+ profileSlot,
39714
+ profileImage,
39715
+ profileName,
39716
+ profileRole,
39717
+ profileDescription,
39718
+ contactText,
39719
+ contactAction,
39720
+ profileCardClassName,
39721
+ profileImageClassName,
39722
+ profileNameClassName,
39723
+ profileRoleClassName,
39724
+ profileDescriptionClassName,
39725
+ contactSectionClassName,
39726
+ optixFlowConfig
39727
+ ]);
39537
39728
  return /* @__PURE__ */ jsxRuntime.jsx(
39538
39729
  Section,
39539
39730
  {
@@ -39547,7 +39738,7 @@ function FaqProfileSidebar({
39547
39738
  "div",
39548
39739
  {
39549
39740
  className: cn(
39550
- "flex flex-col gap-10 lg:flex-row lg:gap-16",
39741
+ "flex flex-col gap-6 lg:flex-row lg:gap-16",
39551
39742
  contentWrapperClassName
39552
39743
  ),
39553
39744
  children: [
@@ -39591,14 +39782,11 @@ function FaqSplitHero({
39591
39782
  imageSlot,
39592
39783
  imageSrc,
39593
39784
  imageAlt,
39594
- background,
39595
- spacing,
39785
+ background = "dark",
39596
39786
  pattern,
39597
39787
  patternOpacity,
39598
- patternClassName,
39599
39788
  className,
39600
- contentWrapperClassName,
39601
- leftColumnClassName,
39789
+ contentClassName,
39602
39790
  headerClassName,
39603
39791
  headingClassName,
39604
39792
  subheadingClassName,
@@ -39607,8 +39795,23 @@ function FaqSplitHero({
39607
39795
  accordionTriggerClassName,
39608
39796
  accordionContentClassName,
39609
39797
  imageClassName,
39610
- optixFlowConfig
39798
+ optixFlowConfig,
39799
+ directionConfig = { desktop: "mediaRight", mobile: "mediaTop" }
39611
39800
  }) {
39801
+ const bgColorClass = React52.useMemo(() => {
39802
+ switch (background) {
39803
+ case "dark":
39804
+ return "bg-gray-900 text-white";
39805
+ case "gray":
39806
+ return "bg-gray-100 text-gray-900";
39807
+ case "white":
39808
+ return "bg-white text-gray-900";
39809
+ default:
39810
+ return "bg-background text-foreground";
39811
+ }
39812
+ }, [background]);
39813
+ const desktopOrder = directionConfig.desktop === "mediaRight" ? "lg:flex-row" : "lg:flex-row-reverse";
39814
+ const mobileOrder = directionConfig.mobile === "mediaTop" ? "flex-col" : "flex-col-reverse";
39612
39815
  const itemsContent = React52.useMemo(() => {
39613
39816
  if (itemsSlot) return itemsSlot;
39614
39817
  if (!items || items.length === 0) return null;
@@ -39622,13 +39825,13 @@ function FaqSplitHero({
39622
39825
  AccordionItem,
39623
39826
  {
39624
39827
  value: item.id,
39625
- className: cn("border-b border-border/50", accordionItemClassName),
39828
+ className: cn("border-b border-current/20", accordionItemClassName),
39626
39829
  children: [
39627
39830
  /* @__PURE__ */ jsxRuntime.jsx(
39628
39831
  AccordionTrigger,
39629
39832
  {
39630
39833
  className: cn(
39631
- "py-4 text-left text-base font-medium text-foreground transition-colors hover:text-primary hover:no-underline lg:text-lg",
39834
+ "py-4 text-left text-base font-medium transition-opacity hover:opacity-70 hover:no-underline lg:text-lg",
39632
39835
  accordionTriggerClassName
39633
39836
  ),
39634
39837
  children: item.question
@@ -39637,10 +39840,7 @@ function FaqSplitHero({
39637
39840
  /* @__PURE__ */ jsxRuntime.jsx(
39638
39841
  AccordionContent,
39639
39842
  {
39640
- className: cn(
39641
- "pb-4 text-muted-foreground",
39642
- accordionContentClassName
39643
- ),
39843
+ className: cn("pb-4 opacity-80", accordionContentClassName),
39644
39844
  children: item.answer
39645
39845
  }
39646
39846
  )
@@ -39650,71 +39850,65 @@ function FaqSplitHero({
39650
39850
  ))
39651
39851
  }
39652
39852
  );
39653
- }, [itemsSlot, items, accordionClassName, accordionItemClassName, accordionTriggerClassName, accordionContentClassName]);
39654
- const imageContent = React52.useMemo(() => {
39655
- if (imageSlot) return imageSlot;
39656
- if (!imageSrc) return null;
39657
- return /* @__PURE__ */ jsxRuntime.jsx(
39658
- img.Img,
39659
- {
39660
- src: imageSrc,
39661
- alt: imageAlt || "FAQ section image",
39662
- className: cn(
39663
- "hidden h-screen w-1/2 object-cover lg:block",
39664
- imageClassName
39665
- ),
39666
- optixFlowConfig
39667
- }
39668
- );
39669
- }, [imageSlot, imageSrc, imageAlt, imageClassName, optixFlowConfig]);
39670
- return /* @__PURE__ */ jsxRuntime.jsx(
39671
- Section,
39853
+ }, [
39854
+ itemsSlot,
39855
+ items,
39856
+ accordionClassName,
39857
+ accordionItemClassName,
39858
+ accordionTriggerClassName,
39859
+ accordionContentClassName
39860
+ ]);
39861
+ const contentArea = /* @__PURE__ */ jsxRuntime.jsxs(
39862
+ "div",
39672
39863
  {
39673
- background,
39674
- spacing,
39675
- pattern,
39676
- patternOpacity,
39677
- patternClassName,
39678
- className: cn("dark flex", className),
39679
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex", contentWrapperClassName), children: [
39680
- /* @__PURE__ */ jsxRuntime.jsx(
39681
- "div",
39682
- {
39683
- className: cn(
39684
- "flex w-full items-center justify-center bg-background lg:w-1/2",
39685
- leftColumnClassName
39686
- ),
39687
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "container my-10 flex w-full max-w-[600px] flex-col gap-8 px-6 lg:px-10", children: [
39688
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("space-y-4", headerClassName), children: [
39689
- heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
39690
- "h2",
39691
- {
39692
- className: cn(
39693
- "text-3xl font-bold text-foreground lg:text-4xl",
39694
- headingClassName
39695
- ),
39696
- children: heading
39697
- }
39698
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
39699
- subheading && (typeof subheading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
39700
- "p",
39701
- {
39702
- className: cn(
39703
- "text-lg text-muted-foreground",
39704
- subheadingClassName
39705
- ),
39706
- children: subheading
39707
- }
39708
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: subheadingClassName, children: subheading }))
39709
- ] }),
39710
- itemsContent
39711
- ] })
39712
- }
39713
- ),
39714
- imageContent
39715
- ] })
39864
+ className: cn(
39865
+ "relative flex w-full items-center lg:w-1/2",
39866
+ bgColorClass,
39867
+ contentClassName
39868
+ ),
39869
+ children: [
39870
+ pattern && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 overflow-hidden", children: /* @__PURE__ */ jsxRuntime.jsx(PatternBackground, { pattern, opacity: patternOpacity }) }),
39871
+ /* @__PURE__ */ jsxRuntime.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__ */ jsxRuntime.jsxs("div", { className: "mx-auto max-w-xl space-y-8", children: [
39872
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("space-y-4", headerClassName), children: [
39873
+ heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
39874
+ "h2",
39875
+ {
39876
+ className: cn(
39877
+ "text-3xl font-bold leading-tight tracking-tight sm:text-4xl lg:text-5xl",
39878
+ headingClassName
39879
+ ),
39880
+ children: heading
39881
+ }
39882
+ ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: headingClassName, children: heading })),
39883
+ subheading && (typeof subheading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
39884
+ "p",
39885
+ {
39886
+ className: cn(
39887
+ "text-base leading-relaxed opacity-80 sm:text-lg",
39888
+ subheadingClassName
39889
+ ),
39890
+ children: subheading
39891
+ }
39892
+ ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: subheadingClassName, children: subheading }))
39893
+ ] }),
39894
+ itemsContent
39895
+ ] }) })
39896
+ ]
39716
39897
  }
39717
39898
  );
39899
+ const imageArea = imageSlot ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative h-64 w-full sm:h-96 lg:h-auto lg:w-1/2", children: imageSlot }) : imageSrc ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative h-64 w-full sm:h-96 lg:h-auto lg:w-1/2", children: /* @__PURE__ */ jsxRuntime.jsx(
39900
+ img.Img,
39901
+ {
39902
+ src: imageSrc,
39903
+ alt: imageAlt || "FAQ section image",
39904
+ className: cn("h-full w-full object-cover", imageClassName),
39905
+ optixFlowConfig
39906
+ }
39907
+ ) }) : null;
39908
+ return /* @__PURE__ */ jsxRuntime.jsx("section", { className: cn("relative w-full overflow-hidden", className), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex min-h-screen", mobileOrder, desktopOrder), children: [
39909
+ contentArea,
39910
+ imageArea
39911
+ ] }) });
39718
39912
  }
39719
39913
  function AboutSplitHero({
39720
39914
  brandText,