@opensite/ui 0.8.4 → 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 (107) hide show
  1. package/dist/article-breadcrumb-social.cjs +57 -73
  2. package/dist/article-breadcrumb-social.d.cts +2 -24
  3. package/dist/article-breadcrumb-social.d.ts +2 -24
  4. package/dist/article-breadcrumb-social.js +57 -73
  5. package/dist/article-compact-toc.cjs +1 -1
  6. package/dist/article-compact-toc.js +1 -1
  7. package/dist/article-sidebar-sticky.cjs +73 -26
  8. package/dist/article-sidebar-sticky.js +73 -26
  9. package/dist/blog-horizontal-timeline.cjs +7 -4
  10. package/dist/blog-horizontal-timeline.js +7 -4
  11. package/dist/faq-badge-support.cjs +18 -5
  12. package/dist/faq-badge-support.js +18 -5
  13. package/dist/faq-bordered-badge.cjs +23 -7
  14. package/dist/faq-bordered-badge.js +23 -7
  15. package/dist/faq-card-categories.cjs +20 -4
  16. package/dist/faq-card-categories.js +20 -4
  17. package/dist/faq-categorized-sections.cjs +19 -4
  18. package/dist/faq-categorized-sections.js +19 -4
  19. package/dist/faq-centered-accordion.cjs +18 -5
  20. package/dist/faq-centered-accordion.js +18 -5
  21. package/dist/faq-gradient-categories.cjs +19 -4
  22. package/dist/faq-gradient-categories.js +19 -4
  23. package/dist/faq-icon-benefits.cjs +11 -2
  24. package/dist/faq-icon-benefits.js +11 -2
  25. package/dist/faq-muted-cards.cjs +19 -6
  26. package/dist/faq-muted-cards.js +19 -6
  27. package/dist/faq-numbered-grid.cjs +11 -3
  28. package/dist/faq-numbered-grid.js +11 -3
  29. package/dist/faq-numbered-list.cjs +11 -3
  30. package/dist/faq-numbered-list.js +11 -3
  31. package/dist/faq-profile-sidebar.cjs +57 -20
  32. package/dist/faq-profile-sidebar.js +57 -20
  33. package/dist/faq-rounded-cards.cjs +26 -19
  34. package/dist/faq-rounded-cards.js +26 -19
  35. package/dist/faq-sidebar-navigation.cjs +48 -28
  36. package/dist/faq-sidebar-navigation.js +48 -28
  37. package/dist/faq-simple-accordion.cjs +17 -4
  38. package/dist/faq-simple-accordion.js +17 -4
  39. package/dist/faq-split-help.cjs +25 -6
  40. package/dist/faq-split-help.js +25 -6
  41. package/dist/faq-split-hero.cjs +604 -0
  42. package/dist/faq-split-hero.d.cts +116 -0
  43. package/dist/faq-split-hero.d.ts +116 -0
  44. package/dist/faq-split-hero.js +582 -0
  45. package/dist/faq-static-list.cjs +9 -2
  46. package/dist/faq-static-list.js +9 -2
  47. package/dist/feature-accordion-image.cjs +8 -2
  48. package/dist/feature-accordion-image.js +8 -2
  49. package/dist/feature-badge-grid-six.cjs +1 -1
  50. package/dist/feature-badge-grid-six.js +1 -1
  51. package/dist/feature-card-grid-linked.cjs +92 -22
  52. package/dist/feature-card-grid-linked.js +92 -22
  53. package/dist/feature-carousel-progress.cjs +1 -1
  54. package/dist/feature-carousel-progress.js +1 -1
  55. package/dist/feature-checklist-image.cjs +88 -15
  56. package/dist/feature-checklist-image.js +88 -15
  57. package/dist/feature-checklist-three-column.cjs +1 -1
  58. package/dist/feature-checklist-three-column.js +1 -1
  59. package/dist/feature-icon-grid-accent.cjs +50 -8
  60. package/dist/feature-icon-grid-accent.js +50 -8
  61. package/dist/feature-icon-grid-bordered.cjs +84 -14
  62. package/dist/feature-icon-grid-bordered.js +84 -14
  63. package/dist/feature-icon-tabs-content.cjs +217 -84
  64. package/dist/feature-icon-tabs-content.js +217 -84
  65. package/dist/feature-image-overlay-badge.cjs +106 -33
  66. package/dist/feature-image-overlay-badge.js +106 -33
  67. package/dist/feature-numbered-cards.cjs +154 -35
  68. package/dist/feature-numbered-cards.js +154 -35
  69. package/dist/feature-showcase.cjs +66 -71
  70. package/dist/feature-showcase.d.cts +1 -5
  71. package/dist/feature-showcase.d.ts +1 -5
  72. package/dist/feature-showcase.js +67 -72
  73. package/dist/feature-split-image-reverse.cjs +84 -15
  74. package/dist/feature-split-image-reverse.js +84 -15
  75. package/dist/feature-split-image.cjs +87 -15
  76. package/dist/feature-split-image.js +87 -15
  77. package/dist/feature-stats-highlight.cjs +50 -13
  78. package/dist/feature-stats-highlight.js +50 -13
  79. package/dist/feature-tabbed-content-image.cjs +198 -72
  80. package/dist/feature-tabbed-content-image.js +198 -72
  81. package/dist/feature-three-column-values.cjs +67 -14
  82. package/dist/feature-three-column-values.js +67 -14
  83. package/dist/feature-utility-cards-grid.cjs +83 -36
  84. package/dist/feature-utility-cards-grid.js +83 -36
  85. package/dist/navbar-animated-preview.cjs +8 -2
  86. package/dist/navbar-animated-preview.js +8 -2
  87. package/dist/navbar-centered-menu.cjs +8 -2
  88. package/dist/navbar-centered-menu.js +8 -2
  89. package/dist/navbar-dark-icons.cjs +8 -2
  90. package/dist/navbar-dark-icons.js +8 -2
  91. package/dist/navbar-dropdown-menu.cjs +8 -2
  92. package/dist/navbar-dropdown-menu.js +8 -2
  93. package/dist/navbar-education-platform.cjs +8 -2
  94. package/dist/navbar-education-platform.js +8 -2
  95. package/dist/navbar-enterprise-mega.cjs +8 -2
  96. package/dist/navbar-enterprise-mega.js +8 -2
  97. package/dist/navbar-feature-grid.cjs +8 -2
  98. package/dist/navbar-feature-grid.js +8 -2
  99. package/dist/navbar-multi-column-groups.cjs +8 -2
  100. package/dist/navbar-multi-column-groups.js +8 -2
  101. package/dist/navbar-platform-resources.cjs +8 -2
  102. package/dist/navbar-platform-resources.js +8 -2
  103. package/dist/navbar-sidebar-mobile.cjs +8 -2
  104. package/dist/navbar-sidebar-mobile.js +8 -2
  105. package/dist/registry.cjs +1873 -680
  106. package/dist/registry.js +1873 -680
  107. package/package.json +1 -1
@@ -843,7 +843,7 @@ function FeatureSplitImage({
843
843
  imageClassName,
844
844
  optixFlowConfig,
845
845
  background,
846
- spacing,
846
+ spacing = "py-6 md:py-32",
847
847
  pattern,
848
848
  patternOpacity,
849
849
  patternClassName
@@ -860,11 +860,20 @@ function FeatureSplitImage({
860
860
  className: actionClassName,
861
861
  ...pressableProps
862
862
  } = action;
863
- return /* @__PURE__ */ jsxRuntime.jsx(Pressable, { className: actionClassName, asButton: true, ...pressableProps, children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
864
- icon,
865
- label,
866
- iconAfter
867
- ] }) }, index);
863
+ return /* @__PURE__ */ jsxRuntime.jsx(
864
+ Pressable,
865
+ {
866
+ className: actionClassName,
867
+ asButton: true,
868
+ ...pressableProps,
869
+ children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
870
+ icon,
871
+ label,
872
+ iconAfter
873
+ ] })
874
+ },
875
+ index
876
+ );
868
877
  });
869
878
  }, [actionsSlot, actions]);
870
879
  const imageContent = React.useMemo(() => {
@@ -875,7 +884,10 @@ function FeatureSplitImage({
875
884
  {
876
885
  src: imageSrc,
877
886
  alt: imageAlt || "",
878
- className: cn("max-h-96 w-full rounded-md object-cover", imageClassName),
887
+ className: cn(
888
+ "max-h-96 w-full rounded-md object-cover",
889
+ imageClassName
890
+ ),
879
891
  loading: "lazy",
880
892
  optixFlowConfig
881
893
  }
@@ -891,14 +903,74 @@ function FeatureSplitImage({
891
903
  patternClassName,
892
904
  className,
893
905
  containerClassName,
894
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("grid items-center gap-8 lg:grid-cols-2", gridClassName), children: [
895
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col items-center text-center lg:items-start lg:text-left", contentClassName), children: [
896
- title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h2", { className: cn("my-6 mt-0 text-4xl font-semibold text-balance lg:text-5xl", titleClassName), children: title }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("my-6 mt-0 text-4xl font-semibold text-balance lg:text-5xl", titleClassName), children: title })),
897
- description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mb-8 max-w-xl text-muted-foreground lg:text-lg", descriptionClassName), children: description }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mb-8 max-w-xl text-muted-foreground lg:text-lg", descriptionClassName), children: description })),
898
- (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex w-full flex-col justify-center gap-2 sm:flex-row lg:justify-start", actionsClassName), children: actionsContent })
899
- ] }),
900
- imageContent
901
- ] })
906
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
907
+ "div",
908
+ {
909
+ className: cn("grid items-center gap-8 lg:grid-cols-2", gridClassName),
910
+ children: [
911
+ /* @__PURE__ */ jsxRuntime.jsxs(
912
+ "div",
913
+ {
914
+ className: cn(
915
+ "flex flex-col items-center text-center lg:items-start lg:text-left",
916
+ contentClassName
917
+ ),
918
+ children: [
919
+ title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
920
+ "h2",
921
+ {
922
+ className: cn(
923
+ "my-6 mt-0 text-4xl font-semibold text-balance lg:text-5xl",
924
+ titleClassName
925
+ ),
926
+ children: title
927
+ }
928
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
929
+ "div",
930
+ {
931
+ className: cn(
932
+ "my-6 mt-0 text-4xl font-semibold text-balance lg:text-5xl",
933
+ titleClassName
934
+ ),
935
+ children: title
936
+ }
937
+ )),
938
+ description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
939
+ "p",
940
+ {
941
+ className: cn(
942
+ "mb-8 max-w-xl lg:text-lg",
943
+ descriptionClassName
944
+ ),
945
+ children: description
946
+ }
947
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
948
+ "div",
949
+ {
950
+ className: cn(
951
+ "mb-8 max-w-xl lg:text-lg",
952
+ descriptionClassName
953
+ ),
954
+ children: description
955
+ }
956
+ )),
957
+ (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsxRuntime.jsx(
958
+ "div",
959
+ {
960
+ className: cn(
961
+ "flex w-full flex-col justify-center gap-2 sm:flex-row lg:justify-start",
962
+ actionsClassName
963
+ ),
964
+ children: actionsContent
965
+ }
966
+ )
967
+ ]
968
+ }
969
+ ),
970
+ imageContent
971
+ ]
972
+ }
973
+ )
902
974
  }
903
975
  );
904
976
  }
@@ -822,7 +822,7 @@ function FeatureSplitImage({
822
822
  imageClassName,
823
823
  optixFlowConfig,
824
824
  background,
825
- spacing,
825
+ spacing = "py-6 md:py-32",
826
826
  pattern,
827
827
  patternOpacity,
828
828
  patternClassName
@@ -839,11 +839,20 @@ function FeatureSplitImage({
839
839
  className: actionClassName,
840
840
  ...pressableProps
841
841
  } = action;
842
- return /* @__PURE__ */ jsx(Pressable, { className: actionClassName, asButton: true, ...pressableProps, children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
843
- icon,
844
- label,
845
- iconAfter
846
- ] }) }, index);
842
+ return /* @__PURE__ */ jsx(
843
+ Pressable,
844
+ {
845
+ className: actionClassName,
846
+ asButton: true,
847
+ ...pressableProps,
848
+ children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
849
+ icon,
850
+ label,
851
+ iconAfter
852
+ ] })
853
+ },
854
+ index
855
+ );
847
856
  });
848
857
  }, [actionsSlot, actions]);
849
858
  const imageContent = useMemo(() => {
@@ -854,7 +863,10 @@ function FeatureSplitImage({
854
863
  {
855
864
  src: imageSrc,
856
865
  alt: imageAlt || "",
857
- className: cn("max-h-96 w-full rounded-md object-cover", imageClassName),
866
+ className: cn(
867
+ "max-h-96 w-full rounded-md object-cover",
868
+ imageClassName
869
+ ),
858
870
  loading: "lazy",
859
871
  optixFlowConfig
860
872
  }
@@ -870,14 +882,74 @@ function FeatureSplitImage({
870
882
  patternClassName,
871
883
  className,
872
884
  containerClassName,
873
- children: /* @__PURE__ */ jsxs("div", { className: cn("grid items-center gap-8 lg:grid-cols-2", gridClassName), children: [
874
- /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col items-center text-center lg:items-start lg:text-left", contentClassName), children: [
875
- title && (typeof title === "string" ? /* @__PURE__ */ jsx("h2", { className: cn("my-6 mt-0 text-4xl font-semibold text-balance lg:text-5xl", titleClassName), children: title }) : /* @__PURE__ */ jsx("div", { className: cn("my-6 mt-0 text-4xl font-semibold text-balance lg:text-5xl", titleClassName), children: title })),
876
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mb-8 max-w-xl text-muted-foreground lg:text-lg", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: cn("mb-8 max-w-xl text-muted-foreground lg:text-lg", descriptionClassName), children: description })),
877
- (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsx("div", { className: cn("flex w-full flex-col justify-center gap-2 sm:flex-row lg:justify-start", actionsClassName), children: actionsContent })
878
- ] }),
879
- imageContent
880
- ] })
885
+ children: /* @__PURE__ */ jsxs(
886
+ "div",
887
+ {
888
+ className: cn("grid items-center gap-8 lg:grid-cols-2", gridClassName),
889
+ children: [
890
+ /* @__PURE__ */ jsxs(
891
+ "div",
892
+ {
893
+ className: cn(
894
+ "flex flex-col items-center text-center lg:items-start lg:text-left",
895
+ contentClassName
896
+ ),
897
+ children: [
898
+ title && (typeof title === "string" ? /* @__PURE__ */ jsx(
899
+ "h2",
900
+ {
901
+ className: cn(
902
+ "my-6 mt-0 text-4xl font-semibold text-balance lg:text-5xl",
903
+ titleClassName
904
+ ),
905
+ children: title
906
+ }
907
+ ) : /* @__PURE__ */ jsx(
908
+ "div",
909
+ {
910
+ className: cn(
911
+ "my-6 mt-0 text-4xl font-semibold text-balance lg:text-5xl",
912
+ titleClassName
913
+ ),
914
+ children: title
915
+ }
916
+ )),
917
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx(
918
+ "p",
919
+ {
920
+ className: cn(
921
+ "mb-8 max-w-xl lg:text-lg",
922
+ descriptionClassName
923
+ ),
924
+ children: description
925
+ }
926
+ ) : /* @__PURE__ */ jsx(
927
+ "div",
928
+ {
929
+ className: cn(
930
+ "mb-8 max-w-xl lg:text-lg",
931
+ descriptionClassName
932
+ ),
933
+ children: description
934
+ }
935
+ )),
936
+ (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsx(
937
+ "div",
938
+ {
939
+ className: cn(
940
+ "flex w-full flex-col justify-center gap-2 sm:flex-row lg:justify-start",
941
+ actionsClassName
942
+ ),
943
+ children: actionsContent
944
+ }
945
+ )
946
+ ]
947
+ }
948
+ ),
949
+ imageContent
950
+ ]
951
+ }
952
+ )
881
953
  }
882
954
  );
883
955
  }
@@ -876,7 +876,7 @@ function FeatureStatsHighlight({
876
876
  statsGridClassName,
877
877
  statCardClassName,
878
878
  background,
879
- spacing,
879
+ spacing = "py-6 md:py-32",
880
880
  pattern,
881
881
  patternOpacity,
882
882
  patternClassName
@@ -915,10 +915,23 @@ function FeatureStatsHighlight({
915
915
  return stats.map((stat, index) => /* @__PURE__ */ jsxRuntime.jsxs(
916
916
  "div",
917
917
  {
918
- className: cn("flex flex-col gap-2 rounded-xl border bg-muted/30 p-6", statCardClassName, stat.className),
918
+ className: cn(
919
+ "flex flex-col gap-2 rounded-xl border bg-card p-6",
920
+ statCardClassName,
921
+ stat.className
922
+ ),
919
923
  children: [
920
- stat.value && /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn("text-4xl font-bold text-primary lg:text-5xl", stat.valueClassName), children: stat.value }),
921
- stat.label && /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn("text-muted-foreground", stat.labelClassName), children: stat.label })
924
+ stat.value && /* @__PURE__ */ jsxRuntime.jsx(
925
+ "span",
926
+ {
927
+ className: cn(
928
+ "text-4xl font-bold lg:text-5xl",
929
+ stat.valueClassName
930
+ ),
931
+ children: stat.value
932
+ }
933
+ ),
934
+ stat.label && /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn("", stat.labelClassName), children: stat.label })
922
935
  ]
923
936
  },
924
937
  index
@@ -934,15 +947,39 @@ function FeatureStatsHighlight({
934
947
  patternClassName,
935
948
  className,
936
949
  containerClassName,
937
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("grid gap-10 lg:grid-cols-2 lg:gap-20", gridClassName), children: [
938
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col gap-5", contentClassName), children: [
939
- badge && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: "outline", className: cn("w-fit", badgeClassName), children: badge }),
940
- 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 })),
941
- 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 })),
942
- (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: actionsClassName, children: actionsContent })
943
- ] }),
944
- (statsSlot || stats && stats.length > 0) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("grid grid-cols-2 gap-6", statsGridClassName), children: statsContent })
945
- ] })
950
+ children: /* @__PURE__ */ jsxRuntime.jsxs(
951
+ "div",
952
+ {
953
+ className: cn("grid gap-10 lg:grid-cols-2 lg:gap-20", gridClassName),
954
+ children: [
955
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex flex-col gap-5", contentClassName), children: [
956
+ badge && /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant: "outline", className: cn("w-fit", badgeClassName), children: badge }),
957
+ title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
958
+ "h2",
959
+ {
960
+ className: cn(
961
+ "text-3xl font-semibold lg:text-5xl",
962
+ titleClassName
963
+ ),
964
+ children: title
965
+ }
966
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
967
+ "div",
968
+ {
969
+ className: cn(
970
+ "text-3xl font-semibold lg:text-5xl",
971
+ titleClassName
972
+ ),
973
+ children: title
974
+ }
975
+ )),
976
+ 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 })),
977
+ (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: actionsClassName, children: actionsContent })
978
+ ] }),
979
+ (statsSlot || stats && stats.length > 0) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("grid grid-cols-2 gap-6", statsGridClassName), children: statsContent })
980
+ ]
981
+ }
982
+ )
946
983
  }
947
984
  );
948
985
  }
@@ -855,7 +855,7 @@ function FeatureStatsHighlight({
855
855
  statsGridClassName,
856
856
  statCardClassName,
857
857
  background,
858
- spacing,
858
+ spacing = "py-6 md:py-32",
859
859
  pattern,
860
860
  patternOpacity,
861
861
  patternClassName
@@ -894,10 +894,23 @@ function FeatureStatsHighlight({
894
894
  return stats.map((stat, index) => /* @__PURE__ */ jsxs(
895
895
  "div",
896
896
  {
897
- className: cn("flex flex-col gap-2 rounded-xl border bg-muted/30 p-6", statCardClassName, stat.className),
897
+ className: cn(
898
+ "flex flex-col gap-2 rounded-xl border bg-card p-6",
899
+ statCardClassName,
900
+ stat.className
901
+ ),
898
902
  children: [
899
- stat.value && /* @__PURE__ */ jsx("span", { className: cn("text-4xl font-bold text-primary lg:text-5xl", stat.valueClassName), children: stat.value }),
900
- stat.label && /* @__PURE__ */ jsx("span", { className: cn("text-muted-foreground", stat.labelClassName), children: stat.label })
903
+ stat.value && /* @__PURE__ */ jsx(
904
+ "span",
905
+ {
906
+ className: cn(
907
+ "text-4xl font-bold lg:text-5xl",
908
+ stat.valueClassName
909
+ ),
910
+ children: stat.value
911
+ }
912
+ ),
913
+ stat.label && /* @__PURE__ */ jsx("span", { className: cn("", stat.labelClassName), children: stat.label })
901
914
  ]
902
915
  },
903
916
  index
@@ -913,15 +926,39 @@ function FeatureStatsHighlight({
913
926
  patternClassName,
914
927
  className,
915
928
  containerClassName,
916
- children: /* @__PURE__ */ jsxs("div", { className: cn("grid gap-10 lg:grid-cols-2 lg:gap-20", gridClassName), children: [
917
- /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-5", contentClassName), children: [
918
- badge && /* @__PURE__ */ jsx(Badge, { variant: "outline", className: cn("w-fit", badgeClassName), children: badge }),
919
- 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 })),
920
- 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 })),
921
- (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsx("div", { className: actionsClassName, children: actionsContent })
922
- ] }),
923
- (statsSlot || stats && stats.length > 0) && /* @__PURE__ */ jsx("div", { className: cn("grid grid-cols-2 gap-6", statsGridClassName), children: statsContent })
924
- ] })
929
+ children: /* @__PURE__ */ jsxs(
930
+ "div",
931
+ {
932
+ className: cn("grid gap-10 lg:grid-cols-2 lg:gap-20", gridClassName),
933
+ children: [
934
+ /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-5", contentClassName), children: [
935
+ badge && /* @__PURE__ */ jsx(Badge, { variant: "outline", className: cn("w-fit", badgeClassName), children: badge }),
936
+ title && (typeof title === "string" ? /* @__PURE__ */ jsx(
937
+ "h2",
938
+ {
939
+ className: cn(
940
+ "text-3xl font-semibold lg:text-5xl",
941
+ titleClassName
942
+ ),
943
+ children: title
944
+ }
945
+ ) : /* @__PURE__ */ jsx(
946
+ "div",
947
+ {
948
+ className: cn(
949
+ "text-3xl font-semibold lg:text-5xl",
950
+ titleClassName
951
+ ),
952
+ children: title
953
+ }
954
+ )),
955
+ 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 })),
956
+ (actionsSlot || actions && actions.length > 0) && /* @__PURE__ */ jsx("div", { className: actionsClassName, children: actionsContent })
957
+ ] }),
958
+ (statsSlot || stats && stats.length > 0) && /* @__PURE__ */ jsx("div", { className: cn("grid grid-cols-2 gap-6", statsGridClassName), children: statsContent })
959
+ ]
960
+ }
961
+ )
925
962
  }
926
963
  );
927
964
  }