@opensite/ui 2.6.1 → 2.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/registry.js CHANGED
@@ -21080,7 +21080,7 @@ function CarouselPortfolioHero({
21080
21080
  navigationClassName,
21081
21081
  counterClassName,
21082
21082
  optixFlowConfig,
21083
- background = "dark",
21083
+ background,
21084
21084
  spacing = "none",
21085
21085
  pattern,
21086
21086
  patternOpacity,
@@ -21114,34 +21114,6 @@ function CarouselPortfolioHero({
21114
21114
  }
21115
21115
  };
21116
21116
  }, [resetInterval]);
21117
- const renderActions = () => {
21118
- if (actionsSlot) return actionsSlot;
21119
- if (!actions || actions.length === 0) return null;
21120
- return actions.map((action, index) => {
21121
- const {
21122
- label,
21123
- icon,
21124
- iconAfter,
21125
- children,
21126
- className: actionClassName,
21127
- ...pressableProps
21128
- } = action;
21129
- return /* @__PURE__ */ jsx(
21130
- Pressable,
21131
- {
21132
- asButton: true,
21133
- className: actionClassName,
21134
- ...pressableProps,
21135
- children: children ?? /* @__PURE__ */ jsxs(Fragment$1, { children: [
21136
- icon,
21137
- label,
21138
- iconAfter
21139
- ] })
21140
- },
21141
- index
21142
- );
21143
- });
21144
- };
21145
21117
  const currentSlide = slides?.[currentIndex];
21146
21118
  return /* @__PURE__ */ jsxs(
21147
21119
  Section,
@@ -21183,7 +21155,7 @@ function CarouselPortfolioHero({
21183
21155
  className: cn(
21184
21156
  "relative z-10 flex h-full w-full flex-col justify-end px-6 pb-16 md:px-8 lg:px-12"
21185
21157
  ),
21186
- children: /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs("div", { className: cn("max-w-4xl", contentClassName), children: [
21158
+ children: /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs("div", { className: cn("w-full", contentClassName), children: [
21187
21159
  currentSlide?.tag && /* @__PURE__ */ jsx("div", { className: "mb-4", children: typeof currentSlide.tag === "string" ? /* @__PURE__ */ jsx(
21188
21160
  "span",
21189
21161
  {
@@ -21219,7 +21191,14 @@ function CarouselPortfolioHero({
21219
21191
  {
21220
21192
  className: cn("mt-8 flex items-center gap-4", actionsClassName),
21221
21193
  children: [
21222
- renderActions(),
21194
+ /* @__PURE__ */ jsx(
21195
+ BlockActions,
21196
+ {
21197
+ actions,
21198
+ actionsSlot,
21199
+ actionsClassName
21200
+ }
21201
+ ),
21223
21202
  /* @__PURE__ */ jsxs(
21224
21203
  "div",
21225
21204
  {
@@ -21233,7 +21212,11 @@ function CarouselPortfolioHero({
21233
21212
  {
21234
21213
  variant: "outline",
21235
21214
  size: "icon",
21236
- className: cn("rounded-full border-foreground/40", getNestedCardBg(background), getNestedCardTextColor(background)),
21215
+ className: cn(
21216
+ "rounded-full border-foreground/40",
21217
+ getNestedCardBg(background),
21218
+ getNestedCardTextColor(background)
21219
+ ),
21237
21220
  onClick: goToPrev,
21238
21221
  asButton: true,
21239
21222
  children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/chevron-left", size: 20 })
@@ -23849,7 +23832,6 @@ function FeatureBadgeGridSix({
23849
23832
  {
23850
23833
  className: cn(
23851
23834
  "text-sm md:text-base",
23852
- getTextColor(background, "muted"),
23853
23835
  feature.descriptionClassName
23854
23836
  ),
23855
23837
  children: feature.description
@@ -23859,7 +23841,6 @@ function FeatureBadgeGridSix({
23859
23841
  {
23860
23842
  className: cn(
23861
23843
  "text-sm md:text-base",
23862
- getTextColor(background, "muted"),
23863
23844
  feature.descriptionClassName
23864
23845
  ),
23865
23846
  children: feature.description
@@ -23930,16 +23911,7 @@ function FeatureBadgeGridSix({
23930
23911
  ),
23931
23912
  children: title
23932
23913
  }
23933
- ) : /* @__PURE__ */ jsx(
23934
- "div",
23935
- {
23936
- className: cn(
23937
- "text-2xl font-bold md:text-3xl lg:text-4xl",
23938
- titleClassName
23939
- ),
23940
- children: title
23941
- }
23942
- ))
23914
+ ) : title)
23943
23915
  ] }),
23944
23916
  /* @__PURE__ */ jsx(
23945
23917
  "div",
@@ -24699,7 +24671,7 @@ function FeatureBentoUtilities({
24699
24671
  }
24700
24672
  return /* @__PURE__ */ jsxs(Card, { className: cardClasses, children: [
24701
24673
  renderTitle(),
24702
- card.description && /* @__PURE__ */ jsx("p", { className: getTextColor(background, "muted"), children: card.description })
24674
+ card.description && /* @__PURE__ */ jsx("p", { className: "relative", children: card.description })
24703
24675
  ] }, index);
24704
24676
  },
24705
24677
  [optixFlowConfig]
@@ -24728,20 +24700,10 @@ function FeatureBentoUtilities({
24728
24700
  className,
24729
24701
  containerClassName: cn("max-w-7xl", containerClassName),
24730
24702
  children: [
24731
- (labelIconElement || label) && /* @__PURE__ */ jsxs(
24732
- "div",
24733
- {
24734
- className: cn(
24735
- "flex items-center gap-2",
24736
- getTextColor(background, "muted"),
24737
- labelClassName
24738
- ),
24739
- children: [
24740
- labelIconElement,
24741
- label && (typeof label === "string" ? /* @__PURE__ */ jsx("p", { className: "text-sm", children: label }) : /* @__PURE__ */ jsx("div", { className: "text-sm", children: label }))
24742
- ]
24743
- }
24744
- ),
24703
+ (labelIconElement || label) && /* @__PURE__ */ jsxs("div", { className: cn("flex items-center gap-2", labelClassName), children: [
24704
+ labelIconElement,
24705
+ label && (typeof label === "string" ? /* @__PURE__ */ jsx("p", { className: "text-sm", children: label }) : /* @__PURE__ */ jsx("div", { className: "text-sm", children: label }))
24706
+ ] }),
24745
24707
  /* @__PURE__ */ jsx(Separator, { className: "mt-3 mb-8" }),
24746
24708
  /* @__PURE__ */ jsxs(
24747
24709
  "div",
@@ -25937,7 +25899,6 @@ function FeatureBentoImageGrid({
25937
25899
  items,
25938
25900
  itemsSlot,
25939
25901
  className,
25940
- containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
25941
25902
  titleClassName,
25942
25903
  descriptionClassName,
25943
25904
  gridClassName,
@@ -25945,6 +25906,7 @@ function FeatureBentoImageGrid({
25945
25906
  smallCardClassName,
25946
25907
  optixFlowConfig,
25947
25908
  background,
25909
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
25948
25910
  spacing = "py-12 md:py-32",
25949
25911
  pattern,
25950
25912
  patternOpacity,
@@ -26190,17 +26152,8 @@ function FeatureBentoImageGrid({
26190
26152
  ),
26191
26153
  children: title
26192
26154
  }
26193
- ) : /* @__PURE__ */ jsx(
26194
- "div",
26195
- {
26196
- className: cn(
26197
- "mb-4 text-center text-4xl font-semibold text-balance",
26198
- titleClassName
26199
- ),
26200
- children: title
26201
- }
26202
- )),
26203
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-center text-balance", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: cn("text-center text-balance", descriptionClassName), children: description })),
26155
+ ) : title),
26156
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("text-center text-balance", descriptionClassName), children: description }) : description),
26204
26157
  /* @__PURE__ */ jsx(
26205
26158
  "div",
26206
26159
  {
@@ -36923,11 +36876,11 @@ function BlogFilteredResultsComponent({
36923
36876
  }
36924
36877
  function BlogMasonryFeaturedComponent({
36925
36878
  heading,
36879
+ description,
36926
36880
  posts,
36927
36881
  featuredSlot,
36928
36882
  postsSlot,
36929
36883
  className,
36930
- containerClassName,
36931
36884
  headingClassName,
36932
36885
  postsClassName,
36933
36886
  featuredClassName,
@@ -36935,7 +36888,8 @@ function BlogMasonryFeaturedComponent({
36935
36888
  postCardClassName,
36936
36889
  optixFlowConfig,
36937
36890
  background,
36938
- spacing,
36891
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
36892
+ spacing = "py-12 md:py-32",
36939
36893
  pattern,
36940
36894
  patternOpacity
36941
36895
  }) {
@@ -36944,7 +36898,7 @@ function BlogMasonryFeaturedComponent({
36944
36898
  const featuredPostContent = React30.useMemo(() => {
36945
36899
  if (featuredSlot) return featuredSlot;
36946
36900
  if (!featuredPost) return null;
36947
- const postHref = featuredPost.href || featuredPost.url || featuredPost.link || "#";
36901
+ const postHref = featuredPost.href || featuredPost.url || featuredPost.link;
36948
36902
  return /* @__PURE__ */ jsx(
36949
36903
  "div",
36950
36904
  {
@@ -36971,13 +36925,13 @@ function BlogMasonryFeaturedComponent({
36971
36925
  }
36972
36926
  ),
36973
36927
  /* @__PURE__ */ jsxs("div", { className: "mt-5", children: [
36974
- /* @__PURE__ */ jsxs("div", { className: "mb-2.5 flex items-center gap-1 text-sm text-muted-foreground", children: [
36928
+ /* @__PURE__ */ jsxs("div", { className: "mb-2.5 flex items-center gap-1 text-sm", children: [
36975
36929
  (featuredPost.date || featuredPost.published) && /* @__PURE__ */ jsx("time", { children: featuredPost.date || featuredPost.published }),
36976
36930
  (featuredPost.date || featuredPost.published) && featuredPost.author && "\xB7",
36977
36931
  featuredPost.author && /* @__PURE__ */ jsx("span", { children: featuredPost.author })
36978
36932
  ] }),
36979
- featuredPost.title && (typeof featuredPost.title === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-lg md:text-3xl lg:text-4xl", children: featuredPost.title }) : /* @__PURE__ */ jsx("div", { className: "text-lg md:text-3xl lg:text-4xl", children: featuredPost.title })),
36980
- (featuredPost.description || featuredPost.summary) && /* @__PURE__ */ jsx("p", { className: "mt-4 text-muted-foreground", children: featuredPost.description || featuredPost.summary })
36933
+ featuredPost.title && (typeof featuredPost.title === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-lg", children: featuredPost.title }) : /* @__PURE__ */ jsx("div", { className: "text-lg", children: featuredPost.title })),
36934
+ (featuredPost.description || featuredPost.summary) && /* @__PURE__ */ jsx("p", { className: "mt-4", children: featuredPost.description || featuredPost.summary })
36981
36935
  ] })
36982
36936
  ]
36983
36937
  }
@@ -37034,22 +36988,24 @@ function BlogMasonryFeaturedComponent({
37034
36988
  className: cn(className),
37035
36989
  pattern,
37036
36990
  patternOpacity,
37037
- children: /* @__PURE__ */ jsxs("div", { className: cn("container", containerClassName), children: [
36991
+ containerClassName,
36992
+ children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
37038
36993
  heading && (typeof heading === "string" ? /* @__PURE__ */ jsx(
37039
36994
  "h1",
37040
36995
  {
37041
36996
  className: cn(
37042
- "mb-6 md:mb-12 text-center text-4xl font-medium md:text-6xl text-balance",
36997
+ "mb-6 md:mb-12 text-center text-2xl font-medium md:text-4xl text-balance",
37043
36998
  headingClassName
37044
36999
  ),
37045
37000
  children: heading
37046
37001
  }
37047
- ) : /* @__PURE__ */ jsx("div", { className: headingClassName, children: heading })),
37002
+ ) : heading),
37003
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: "text-balance", children: description }) : description),
37048
37004
  /* @__PURE__ */ jsxs(
37049
37005
  "div",
37050
37006
  {
37051
37007
  className: cn(
37052
- "xs:grid-cols-1 mt-6 md:mt-16 grid gap-4 sm:grid-cols-2 lg:grid-cols-4",
37008
+ "grid-cols-1 mt-6 md:mt-16 grid gap-4 sm:grid-cols-2 lg:grid-cols-4",
37053
37009
  postsClassName
37054
37010
  ),
37055
37011
  children: [
@@ -37638,7 +37594,6 @@ function BlogCarouselAppleComponent({
37638
37594
  function ArticleHeroProseComponent({
37639
37595
  post,
37640
37596
  className,
37641
- containerClassName,
37642
37597
  headerClassName,
37643
37598
  titleClassName,
37644
37599
  descriptionClassName,
@@ -37651,7 +37606,8 @@ function ArticleHeroProseComponent({
37651
37606
  dateFormat = "MMMM d, yyyy",
37652
37607
  optixFlowConfig,
37653
37608
  background,
37654
- spacing,
37609
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
37610
+ spacing = "hero",
37655
37611
  pattern,
37656
37612
  patternOpacity
37657
37613
  }) {
@@ -37722,8 +37678,9 @@ function ArticleHeroProseComponent({
37722
37678
  pattern,
37723
37679
  patternOpacity,
37724
37680
  className,
37681
+ containerClassName,
37725
37682
  children: [
37726
- /* @__PURE__ */ jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxs(
37683
+ /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs(
37727
37684
  "div",
37728
37685
  {
37729
37686
  className: cn(
@@ -37735,7 +37692,7 @@ function ArticleHeroProseComponent({
37735
37692
  "h1",
37736
37693
  {
37737
37694
  className: cn(
37738
- "max-w-3xl text-5xl font-semibold text-pretty md:text-6xl",
37695
+ "max-w-full md:max-w-3xl text-2xl font-semibold text-pretty md:text-5xl",
37739
37696
  titleClassName
37740
37697
  ),
37741
37698
  children: title
@@ -37745,7 +37702,7 @@ function ArticleHeroProseComponent({
37745
37702
  "h3",
37746
37703
  {
37747
37704
  className: cn(
37748
- "max-w-3xl text-lg text-muted-foreground md:text-xl text-balance",
37705
+ "max-w-full md:max-w-3xl text-lg text-muted-foreground md:text-xl text-balance",
37749
37706
  descriptionClassName
37750
37707
  ),
37751
37708
  children: description
@@ -37756,7 +37713,7 @@ function ArticleHeroProseComponent({
37756
37713
  ]
37757
37714
  }
37758
37715
  ) }),
37759
- children && /* @__PURE__ */ jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsx(
37716
+ children && /* @__PURE__ */ jsx("div", { className: cn("relative", containerClassName), children: /* @__PURE__ */ jsx(
37760
37717
  "div",
37761
37718
  {
37762
37719
  className: cn(
@@ -37924,7 +37881,6 @@ function ArticleSidebarStickyComponent({
37924
37881
  }
37925
37882
  function ArticleTocSidebarComponent({
37926
37883
  className,
37927
- containerClassName,
37928
37884
  articleClassName,
37929
37885
  sidebarClassName,
37930
37886
  headerClassName,
@@ -37952,19 +37908,18 @@ function ArticleTocSidebarComponent({
37952
37908
  heroMediaSlot,
37953
37909
  ctaTitle,
37954
37910
  ctaDescription,
37955
- ctaActions: ctaActionsProp,
37956
- ctaButtonText,
37957
- ctaButtonHref,
37911
+ ctaActions,
37958
37912
  ctaSlot,
37959
37913
  children,
37960
37914
  enableTocTracking = true,
37961
37915
  optixFlowConfig,
37962
37916
  background,
37963
- spacing,
37917
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
37918
+ spacing = "hero",
37964
37919
  pattern,
37965
- patternOpacity
37920
+ patternOpacity,
37921
+ patternClassName
37966
37922
  }) {
37967
- const ctaActions = ctaActionsProp ?? (ctaButtonText ? [{ label: ctaButtonText, href: ctaButtonHref || "#", variant: "default", className: "w-full" }] : []);
37968
37923
  const [activeSection, setActiveSection] = React30.useState(
37969
37924
  sections?.[0]?.id || ""
37970
37925
  );
@@ -38000,7 +37955,14 @@ function ArticleTocSidebarComponent({
38000
37955
  /* @__PURE__ */ jsx(AvatarFallback, { children: authorName.charAt(0) })
38001
37956
  ] }),
38002
37957
  /* @__PURE__ */ jsxs("div", { children: [
38003
- authorHref ? /* @__PURE__ */ jsx(Pressable, { href: authorHref, className: "text-sm font-medium hover:underline", children: authorName }) : /* @__PURE__ */ jsx("p", { className: "text-sm font-medium", children: authorName }),
37958
+ authorHref ? /* @__PURE__ */ jsx(
37959
+ Pressable,
37960
+ {
37961
+ href: authorHref,
37962
+ className: "text-sm font-medium hover:underline",
37963
+ children: authorName
37964
+ }
37965
+ ) : /* @__PURE__ */ jsx("p", { className: "text-sm font-medium", children: authorName }),
38004
37966
  /* @__PURE__ */ jsxs("p", { className: "text-xs text-muted-foreground", children: [
38005
37967
  publishDate,
38006
37968
  readTime && /* @__PURE__ */ jsxs(Fragment$1, { children: [
@@ -38010,7 +37972,15 @@ function ArticleTocSidebarComponent({
38010
37972
  ] })
38011
37973
  ] })
38012
37974
  ] });
38013
- }, [authorSlot, authorName, authorImage, authorHref, publishDate, readTime, authorClassName]);
37975
+ }, [
37976
+ authorSlot,
37977
+ authorName,
37978
+ authorImage,
37979
+ authorHref,
37980
+ publishDate,
37981
+ readTime,
37982
+ authorClassName
37983
+ ]);
38014
37984
  const heroMediaContent = React30.useMemo(() => {
38015
37985
  if (heroMediaSlot) return heroMediaSlot;
38016
37986
  if (!heroImageSrc) return null;
@@ -38019,11 +37989,20 @@ function ArticleTocSidebarComponent({
38019
37989
  {
38020
37990
  src: heroImageSrc,
38021
37991
  alt: heroImageAlt,
38022
- className: cn("my-8 aspect-video w-full rounded-lg object-cover", heroImageClassName),
37992
+ className: cn(
37993
+ "my-8 aspect-video w-full rounded-lg object-cover",
37994
+ heroImageClassName
37995
+ ),
38023
37996
  optixFlowConfig
38024
37997
  }
38025
37998
  );
38026
- }, [heroMediaSlot, heroImageSrc, heroImageAlt, heroImageClassName, optixFlowConfig]);
37999
+ }, [
38000
+ heroMediaSlot,
38001
+ heroImageSrc,
38002
+ heroImageAlt,
38003
+ heroImageClassName,
38004
+ optixFlowConfig
38005
+ ]);
38027
38006
  const tocContent = React30.useMemo(() => {
38028
38007
  if (tocSlot) return tocSlot;
38029
38008
  if (!sections || sections.length === 0) return null;
@@ -38051,12 +38030,20 @@ function ArticleTocSidebarComponent({
38051
38030
  }, [tocSlot, sections, activeSection, renderSectionLink, tocClassName]);
38052
38031
  const ctaContent = React30.useMemo(() => {
38053
38032
  if (ctaSlot) return ctaSlot;
38054
- if (!ctaTitle && !ctaDescription && (!ctaActions || ctaActions.length === 0)) return null;
38055
- return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-4", getNestedCardBg(background, "subtle"), getNestedCardTextColor(background), ctaClassName), children: [
38033
+ if (!ctaTitle && !ctaDescription && (!ctaActions || ctaActions.length === 0))
38034
+ return null;
38035
+ return /* @__PURE__ */ jsxs("div", { className: cn("rounded-lg border p-4", ctaClassName), children: [
38056
38036
  ctaTitle && (typeof ctaTitle === "string" ? /* @__PURE__ */ jsx("h3", { className: "mb-2 text-sm font-semibold", children: ctaTitle }) : ctaTitle),
38057
- ctaDescription && (typeof ctaDescription === "string" ? /* @__PURE__ */ jsx("p", { className: "mb-4 text-sm text-muted-foreground", children: ctaDescription }) : /* @__PURE__ */ jsx("div", { className: "mb-4", children: ctaDescription })),
38037
+ ctaDescription && (typeof ctaDescription === "string" ? /* @__PURE__ */ jsx("p", { className: "mb-4 text-sm", children: ctaDescription }) : /* @__PURE__ */ jsx("div", { className: "mb-4", children: ctaDescription })),
38058
38038
  ctaActions && ctaActions.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-2", children: ctaActions.map((action, index) => {
38059
- const { label, icon, iconAfter, children: actionChildren, className: actionClassName, ...pressableProps } = action;
38039
+ const {
38040
+ label,
38041
+ icon,
38042
+ iconAfter,
38043
+ children: actionChildren,
38044
+ className: actionClassName,
38045
+ ...pressableProps
38046
+ } = action;
38060
38047
  return /* @__PURE__ */ jsx(
38061
38048
  Pressable,
38062
38049
  {
@@ -38081,18 +38068,38 @@ function ArticleTocSidebarComponent({
38081
38068
  spacing,
38082
38069
  pattern,
38083
38070
  patternOpacity,
38084
- className,
38085
- children: /* @__PURE__ */ jsx("div", { className: cn("container", containerClassName), children: /* @__PURE__ */ jsxs("div", { className: "grid gap-10 lg:grid-cols-[minmax(0,1fr)_300px]", children: [
38086
- /* @__PURE__ */ jsxs("article", { className: cn("prose max-w-none dark:prose-invert", articleClassName), children: [
38087
- /* @__PURE__ */ jsxs("div", { className: cn("mb-8 not-prose", headerClassName), children: [
38088
- categoryContent,
38089
- title && (typeof title === "string" ? /* @__PURE__ */ jsx("h1", { className: cn("mt-4 text-4xl font-bold tracking-tight md:text-5xl", titleClassName), children: title }) : /* @__PURE__ */ jsx("div", { className: cn("mt-4", titleClassName), children: title })),
38090
- description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mt-4 text-lg text-muted-foreground", descriptionClassName), children: description }) : /* @__PURE__ */ jsx("div", { className: cn("mt-4", descriptionClassName), children: description })),
38091
- authorContent
38092
- ] }),
38093
- heroMediaContent,
38094
- children
38095
- ] }),
38071
+ patternClassName,
38072
+ className: cn(pattern && "overflow-visible", className),
38073
+ containerClassName,
38074
+ children: /* @__PURE__ */ jsx("div", { className: "relative", children: /* @__PURE__ */ jsxs("div", { className: "grid gap-10 lg:grid-cols-[minmax(0,1fr)_300px]", children: [
38075
+ /* @__PURE__ */ jsxs(
38076
+ "article",
38077
+ {
38078
+ className: cn(
38079
+ "prose max-w-none dark:prose-invert",
38080
+ articleClassName
38081
+ ),
38082
+ children: [
38083
+ /* @__PURE__ */ jsxs("div", { className: cn("mb-8 not-prose", headerClassName), children: [
38084
+ categoryContent,
38085
+ title && (typeof title === "string" ? /* @__PURE__ */ jsx(
38086
+ "h1",
38087
+ {
38088
+ className: cn(
38089
+ "mt-4 text-2xl font-bold tracking-tight md:text-4xl",
38090
+ titleClassName
38091
+ ),
38092
+ children: title
38093
+ }
38094
+ ) : title),
38095
+ description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mt-4 text-lg", descriptionClassName), children: description }) : description),
38096
+ authorContent
38097
+ ] }),
38098
+ heroMediaContent,
38099
+ children
38100
+ ]
38101
+ }
38102
+ ),
38096
38103
  /* @__PURE__ */ jsx("aside", { className: cn("hidden lg:block", sidebarClassName), children: /* @__PURE__ */ jsxs("div", { className: "sticky top-8 space-y-6", children: [
38097
38104
  tocContent,
38098
38105
  ctaContent
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensite/ui",
3
- "version": "2.6.1",
3
+ "version": "2.6.3",
4
4
  "description": "Foundational UI component library for OpenSite Semantic Site Builder with tree-shakable exports and abstract styling",
5
5
  "keywords": [
6
6
  "react",
@@ -3399,7 +3399,7 @@
3399
3399
  },
3400
3400
  "dependencies": {
3401
3401
  "@opensite/hooks": "2.1.0",
3402
- "@page-speed/forms": "0.7.8",
3402
+ "@page-speed/forms": "0.7.9",
3403
3403
  "@page-speed/icon": "0.1.1",
3404
3404
  "@page-speed/img": "0.4.6",
3405
3405
  "@page-speed/lightbox": "0.2.1",