@opensite/ui 3.2.9 → 3.3.1

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 (45) hide show
  1. package/dist/about-expandable-values.cjs +2 -18
  2. package/dist/about-expandable-values.js +2 -18
  3. package/dist/about-minimal-story.cjs +1 -9
  4. package/dist/about-minimal-story.js +1 -9
  5. package/dist/about-startup-team.cjs +3 -3
  6. package/dist/about-startup-team.js +3 -3
  7. package/dist/about-story-hero.cjs +1 -1
  8. package/dist/about-story-hero.js +1 -1
  9. package/dist/article-breadcrumb-social.cjs +4 -7
  10. package/dist/article-breadcrumb-social.d.cts +2 -11
  11. package/dist/article-breadcrumb-social.d.ts +2 -11
  12. package/dist/article-breadcrumb-social.js +4 -7
  13. package/dist/article-chapters-author.cjs +3 -6
  14. package/dist/article-chapters-author.d.cts +2 -11
  15. package/dist/article-chapters-author.d.ts +2 -11
  16. package/dist/article-chapters-author.js +3 -6
  17. package/dist/article-compact-toc.cjs +4 -7
  18. package/dist/article-compact-toc.d.cts +2 -11
  19. package/dist/article-compact-toc.d.ts +2 -11
  20. package/dist/article-compact-toc.js +4 -7
  21. package/dist/article-hero-prose.cjs +4 -7
  22. package/dist/article-hero-prose.d.cts +2 -11
  23. package/dist/article-hero-prose.d.ts +2 -11
  24. package/dist/article-hero-prose.js +4 -7
  25. package/dist/article-sidebar-sticky.cjs +3 -6
  26. package/dist/article-sidebar-sticky.d.cts +2 -11
  27. package/dist/article-sidebar-sticky.d.ts +2 -11
  28. package/dist/article-sidebar-sticky.js +3 -6
  29. package/dist/article-toc-sidebar.cjs +3 -6
  30. package/dist/article-toc-sidebar.d.cts +1 -10
  31. package/dist/article-toc-sidebar.d.ts +1 -10
  32. package/dist/article-toc-sidebar.js +3 -6
  33. package/dist/badge.d.cts +1 -1
  34. package/dist/badge.d.ts +1 -1
  35. package/dist/components.cjs +1 -17
  36. package/dist/components.js +1 -17
  37. package/dist/index.cjs +1 -17
  38. package/dist/index.js +1 -17
  39. package/dist/longform-content.cjs +1 -1
  40. package/dist/longform-content.d.cts +1 -1
  41. package/dist/longform-content.d.ts +1 -1
  42. package/dist/longform-content.js +1 -1
  43. package/dist/registry.cjs +22 -64
  44. package/dist/registry.js +22 -64
  45. package/package.json +1 -1
package/dist/registry.cjs CHANGED
@@ -1803,22 +1803,6 @@ function AboutExpandableValues({
1803
1803
  const toggleExpand = React30.useCallback((id) => {
1804
1804
  setExpandedValue((prev) => prev === id ? null : id);
1805
1805
  }, []);
1806
- React30.useMemo(() => {
1807
- if (actionsSlot) return actionsSlot;
1808
- if (!actions || actions.length === 0) return null;
1809
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: actionsClassName, children: actions.map((action, idx) => /* @__PURE__ */ jsxRuntime.jsx(
1810
- pressable.Pressable,
1811
- {
1812
- href: action.href,
1813
- onClick: action.onClick,
1814
- variant: action.variant || "default",
1815
- size: action.size,
1816
- asButton: true,
1817
- children: action.label
1818
- },
1819
- idx
1820
- )) });
1821
- }, [actionsSlot, actions, actionsClassName]);
1822
1806
  const valuesContent = React30.useMemo(() => {
1823
1807
  if (valuesSlot) return valuesSlot;
1824
1808
  if (!values || values.length === 0) return null;
@@ -1932,7 +1916,7 @@ function AboutExpandableValues({
1932
1916
  "relative mt-8 rounded-lg p-8 bg-muted text-muted-foreground",
1933
1917
  ctaClassName
1934
1918
  ),
1935
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mx-auto max-w-3xl space-y-6 text-center flex flex-col items-center gap-6", children: [
1919
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mx-auto max-w-3xl text-center flex flex-col items-center gap-4", children: [
1936
1920
  ctaHeading && (typeof ctaHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: cn("text-2xl font-bold", ctaHeadingClassName), children: ctaHeading }) : ctaHeading),
1937
1921
  ctaDescription && (typeof ctaDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn(ctaDescriptionClassName), children: ctaDescription }) : ctaDescription),
1938
1922
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -8199,13 +8183,13 @@ function AboutStartupTeam({
8199
8183
  if (sidebarSlot) return null;
8200
8184
  if (!effectiveTabs || effectiveTabs.length === 0) return null;
8201
8185
  if (!teamMembers || teamMembers.length === 0) return null;
8202
- return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full min-w-0 max-w-[calc(100vw-1rem)] overflow-hidden sm:max-w-[calc(100vw-2rem)] lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsx("nav", { className: "-mx-2 flex gap-2 overflow-x-auto px-2 pb-2", children: effectiveTabs.map((link, idx) => /* @__PURE__ */ jsxRuntime.jsx(
8186
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-full min-w-0 max-w-full overflow-hidden lg:hidden", children: /* @__PURE__ */ jsxRuntime.jsx("nav", { className: "flex w-full min-w-0 gap-2 overflow-x-auto pb-2", children: effectiveTabs.map((link, idx) => /* @__PURE__ */ jsxRuntime.jsx(
8203
8187
  pressable.Pressable,
8204
8188
  {
8205
8189
  componentType: "button",
8206
8190
  onClick: () => handleTabChange(link.value),
8207
8191
  className: cn(
8208
- "shrink-0 rounded-lg px-4 py-2 text-sm font-medium transition-colors",
8192
+ "shrink-0 whitespace-nowrap rounded-lg px-4 py-2 text-sm font-medium transition-colors",
8209
8193
  activeTab === link.value ? "bg-primary text-primary-foreground" : "bg-card text-card-foreground hover:bg-primary hover:text-primary-foreground"
8210
8194
  ),
8211
8195
  children: link.label
@@ -8234,7 +8218,7 @@ function AboutStartupTeam({
8234
8218
  children: renderTabsNav
8235
8219
  }
8236
8220
  ),
8237
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "lg:col-span-3", children: [
8221
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 lg:col-span-3", children: [
8238
8222
  title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
8239
8223
  "h1",
8240
8224
  {
@@ -8316,15 +8300,7 @@ function AboutMinimalStory({
8316
8300
  className: "h-16 w-16 rounded-full object-cover",
8317
8301
  optixFlowConfig
8318
8302
  }
8319
- ) : /* @__PURE__ */ jsxRuntime.jsx(
8320
- "div",
8321
- {
8322
- className: cn(
8323
- "flex h-16 w-16 items-center justify-center rounded-full text-2xl font-bold"
8324
- ),
8325
- children: author.name.charAt(0)
8326
- }
8327
- ),
8303
+ ) : null,
8328
8304
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
8329
8305
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-semibold", children: author.name }),
8330
8306
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm", children: author.role })
@@ -8410,7 +8386,7 @@ function AboutStoryHero({
8410
8386
  {
8411
8387
  className: cn(
8412
8388
  "rounded-2xl bg-muted text-muted-foreground",
8413
- "flex flex-col items-start gap-2",
8389
+ "flex flex-col items-start gap-2 p-6",
8414
8390
  teamInfoClassName
8415
8391
  ),
8416
8392
  children: [
@@ -38004,7 +37980,7 @@ function BlogCarouselAppleComponent({
38004
37980
  }
38005
37981
  function LongformContent({
38006
37982
  children,
38007
- renderMode = "jsx",
37983
+ renderMode = "markdown",
38008
37984
  markdownString,
38009
37985
  optixFlowConfig,
38010
37986
  markdownStyles
@@ -38043,8 +38019,6 @@ function ArticleHeroProseComponent({
38043
38019
  proseClassName,
38044
38020
  heroMediaSlot,
38045
38021
  authorSlot,
38046
- children,
38047
- renderMode = "jsx",
38048
38022
  markdownString,
38049
38023
  markdownStyles,
38050
38024
  dateFormat = "MMMM d, yyyy",
@@ -38158,7 +38132,7 @@ function ArticleHeroProseComponent({
38158
38132
  ]
38159
38133
  }
38160
38134
  ) }),
38161
- (children || renderMode === "markdown" && markdownString) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col items-center", children: /* @__PURE__ */ jsxRuntime.jsx(
38135
+ markdownString && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col items-center", children: /* @__PURE__ */ jsxRuntime.jsx(
38162
38136
  "div",
38163
38137
  {
38164
38138
  className: cn(
@@ -38169,11 +38143,10 @@ function ArticleHeroProseComponent({
38169
38143
  children: /* @__PURE__ */ jsxRuntime.jsx(
38170
38144
  LongformContent,
38171
38145
  {
38172
- renderMode,
38146
+ renderMode: "markdown",
38173
38147
  markdownString,
38174
38148
  optixFlowConfig,
38175
- markdownStyles,
38176
- children
38149
+ markdownStyles
38177
38150
  }
38178
38151
  )
38179
38152
  }
@@ -38214,8 +38187,6 @@ function ArticleSidebarStickyComponent({
38214
38187
  heroImageSrc,
38215
38188
  heroImageAlt,
38216
38189
  heroMediaSlot,
38217
- children,
38218
- renderMode = "jsx",
38219
38190
  markdownString,
38220
38191
  markdownStyles,
38221
38192
  optixFlowConfig,
@@ -38342,11 +38313,10 @@ function ArticleSidebarStickyComponent({
38342
38313
  /* @__PURE__ */ jsxRuntime.jsx(
38343
38314
  LongformContent,
38344
38315
  {
38345
- renderMode,
38316
+ renderMode: "markdown",
38346
38317
  markdownString,
38347
38318
  optixFlowConfig,
38348
- markdownStyles,
38349
- children
38319
+ markdownStyles
38350
38320
  }
38351
38321
  ),
38352
38322
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -38396,8 +38366,6 @@ function ArticleTocSidebarComponent({
38396
38366
  ctaDescription,
38397
38367
  ctaActions,
38398
38368
  ctaSlot,
38399
- children,
38400
- renderMode = "jsx",
38401
38369
  markdownString,
38402
38370
  markdownStyles,
38403
38371
  enableTocTracking = true,
@@ -38589,11 +38557,10 @@ function ArticleTocSidebarComponent({
38589
38557
  /* @__PURE__ */ jsxRuntime.jsx(
38590
38558
  LongformContent,
38591
38559
  {
38592
- renderMode,
38560
+ renderMode: "markdown",
38593
38561
  markdownString,
38594
38562
  optixFlowConfig,
38595
- markdownStyles,
38596
- children
38563
+ markdownStyles
38597
38564
  }
38598
38565
  ),
38599
38566
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -38640,8 +38607,6 @@ function ArticleBreadcrumbSocialComponent({
38640
38607
  heroImageSrc,
38641
38608
  heroImageAlt,
38642
38609
  heroMediaSlot,
38643
- children,
38644
- renderMode = "jsx",
38645
38610
  markdownString,
38646
38611
  markdownStyles,
38647
38612
  enableTocTracking,
@@ -38787,7 +38752,7 @@ function ArticleBreadcrumbSocialComponent({
38787
38752
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
38788
38753
  breadcrumbsContent,
38789
38754
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-10 lg:grid-cols-[minmax(0,1fr)_280px]", children: [
38790
- (children || renderMode === "markdown" && markdownString) && /* @__PURE__ */ jsxRuntime.jsxs(
38755
+ markdownString && /* @__PURE__ */ jsxRuntime.jsxs(
38791
38756
  "article",
38792
38757
  {
38793
38758
  className: cn(
@@ -38810,11 +38775,10 @@ function ArticleBreadcrumbSocialComponent({
38810
38775
  /* @__PURE__ */ jsxRuntime.jsx(
38811
38776
  LongformContent,
38812
38777
  {
38813
- renderMode,
38778
+ renderMode: "markdown",
38814
38779
  markdownString,
38815
38780
  optixFlowConfig,
38816
- markdownStyles,
38817
- children
38781
+ markdownStyles
38818
38782
  }
38819
38783
  ),
38820
38784
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -38869,8 +38833,6 @@ function ArticleCompactTocComponent({
38869
38833
  heroImageSrc,
38870
38834
  heroImageAlt,
38871
38835
  heroMediaSlot,
38872
- children,
38873
- renderMode = "jsx",
38874
38836
  markdownString,
38875
38837
  markdownStyles,
38876
38838
  enableTocTracking = true,
@@ -39047,7 +39009,7 @@ function ArticleCompactTocComponent({
39047
39009
  }
39048
39010
  ),
39049
39011
  tocContent,
39050
- (children || renderMode === "markdown" && markdownString) && /* @__PURE__ */ jsxRuntime.jsxs(
39012
+ markdownString && /* @__PURE__ */ jsxRuntime.jsxs(
39051
39013
  "article",
39052
39014
  {
39053
39015
  className: cn(
@@ -39059,11 +39021,10 @@ function ArticleCompactTocComponent({
39059
39021
  /* @__PURE__ */ jsxRuntime.jsx(
39060
39022
  LongformContent,
39061
39023
  {
39062
- renderMode,
39024
+ renderMode: "markdown",
39063
39025
  markdownString,
39064
39026
  optixFlowConfig,
39065
- markdownStyles,
39066
- children
39027
+ markdownStyles
39067
39028
  }
39068
39029
  ),
39069
39030
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -39114,8 +39075,6 @@ function ArticleChaptersAuthorComponent({
39114
39075
  conclusionDescription,
39115
39076
  conclusionActions,
39116
39077
  conclusionSlot,
39117
- children,
39118
- renderMode = "jsx",
39119
39078
  markdownString,
39120
39079
  markdownStyles,
39121
39080
  enableChapterTracking = true,
@@ -39374,11 +39333,10 @@ function ArticleChaptersAuthorComponent({
39374
39333
  /* @__PURE__ */ jsxRuntime.jsx(
39375
39334
  LongformContent,
39376
39335
  {
39377
- renderMode,
39336
+ renderMode: "markdown",
39378
39337
  markdownString,
39379
39338
  optixFlowConfig,
39380
- markdownStyles,
39381
- children
39339
+ markdownStyles
39382
39340
  }
39383
39341
  ),
39384
39342
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(
package/dist/registry.js CHANGED
@@ -1763,22 +1763,6 @@ function AboutExpandableValues({
1763
1763
  const toggleExpand = useCallback((id) => {
1764
1764
  setExpandedValue((prev) => prev === id ? null : id);
1765
1765
  }, []);
1766
- useMemo(() => {
1767
- if (actionsSlot) return actionsSlot;
1768
- if (!actions || actions.length === 0) return null;
1769
- return /* @__PURE__ */ jsx("div", { className: actionsClassName, children: actions.map((action, idx) => /* @__PURE__ */ jsx(
1770
- Pressable,
1771
- {
1772
- href: action.href,
1773
- onClick: action.onClick,
1774
- variant: action.variant || "default",
1775
- size: action.size,
1776
- asButton: true,
1777
- children: action.label
1778
- },
1779
- idx
1780
- )) });
1781
- }, [actionsSlot, actions, actionsClassName]);
1782
1766
  const valuesContent = useMemo(() => {
1783
1767
  if (valuesSlot) return valuesSlot;
1784
1768
  if (!values || values.length === 0) return null;
@@ -1892,7 +1876,7 @@ function AboutExpandableValues({
1892
1876
  "relative mt-8 rounded-lg p-8 bg-muted text-muted-foreground",
1893
1877
  ctaClassName
1894
1878
  ),
1895
- children: /* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-3xl space-y-6 text-center flex flex-col items-center gap-6", children: [
1879
+ children: /* @__PURE__ */ jsxs("div", { className: "mx-auto max-w-3xl text-center flex flex-col items-center gap-4", children: [
1896
1880
  ctaHeading && (typeof ctaHeading === "string" ? /* @__PURE__ */ jsx("h3", { className: cn("text-2xl font-bold", ctaHeadingClassName), children: ctaHeading }) : ctaHeading),
1897
1881
  ctaDescription && (typeof ctaDescription === "string" ? /* @__PURE__ */ jsx("p", { className: cn(ctaDescriptionClassName), children: ctaDescription }) : ctaDescription),
1898
1882
  /* @__PURE__ */ jsx(
@@ -8159,13 +8143,13 @@ function AboutStartupTeam({
8159
8143
  if (sidebarSlot) return null;
8160
8144
  if (!effectiveTabs || effectiveTabs.length === 0) return null;
8161
8145
  if (!teamMembers || teamMembers.length === 0) return null;
8162
- return /* @__PURE__ */ jsx("div", { className: "w-full min-w-0 max-w-[calc(100vw-1rem)] overflow-hidden sm:max-w-[calc(100vw-2rem)] lg:hidden", children: /* @__PURE__ */ jsx("nav", { className: "-mx-2 flex gap-2 overflow-x-auto px-2 pb-2", children: effectiveTabs.map((link, idx) => /* @__PURE__ */ jsx(
8146
+ return /* @__PURE__ */ jsx("div", { className: "w-full min-w-0 max-w-full overflow-hidden lg:hidden", children: /* @__PURE__ */ jsx("nav", { className: "flex w-full min-w-0 gap-2 overflow-x-auto pb-2", children: effectiveTabs.map((link, idx) => /* @__PURE__ */ jsx(
8163
8147
  Pressable,
8164
8148
  {
8165
8149
  componentType: "button",
8166
8150
  onClick: () => handleTabChange(link.value),
8167
8151
  className: cn(
8168
- "shrink-0 rounded-lg px-4 py-2 text-sm font-medium transition-colors",
8152
+ "shrink-0 whitespace-nowrap rounded-lg px-4 py-2 text-sm font-medium transition-colors",
8169
8153
  activeTab === link.value ? "bg-primary text-primary-foreground" : "bg-card text-card-foreground hover:bg-primary hover:text-primary-foreground"
8170
8154
  ),
8171
8155
  children: link.label
@@ -8194,7 +8178,7 @@ function AboutStartupTeam({
8194
8178
  children: renderTabsNav
8195
8179
  }
8196
8180
  ),
8197
- /* @__PURE__ */ jsxs("div", { className: "lg:col-span-3", children: [
8181
+ /* @__PURE__ */ jsxs("div", { className: "min-w-0 lg:col-span-3", children: [
8198
8182
  title && (typeof title === "string" ? /* @__PURE__ */ jsx(
8199
8183
  "h1",
8200
8184
  {
@@ -8276,15 +8260,7 @@ function AboutMinimalStory({
8276
8260
  className: "h-16 w-16 rounded-full object-cover",
8277
8261
  optixFlowConfig
8278
8262
  }
8279
- ) : /* @__PURE__ */ jsx(
8280
- "div",
8281
- {
8282
- className: cn(
8283
- "flex h-16 w-16 items-center justify-center rounded-full text-2xl font-bold"
8284
- ),
8285
- children: author.name.charAt(0)
8286
- }
8287
- ),
8263
+ ) : null,
8288
8264
  /* @__PURE__ */ jsxs("div", { children: [
8289
8265
  /* @__PURE__ */ jsx("p", { className: "font-semibold", children: author.name }),
8290
8266
  /* @__PURE__ */ jsx("p", { className: "text-sm", children: author.role })
@@ -8370,7 +8346,7 @@ function AboutStoryHero({
8370
8346
  {
8371
8347
  className: cn(
8372
8348
  "rounded-2xl bg-muted text-muted-foreground",
8373
- "flex flex-col items-start gap-2",
8349
+ "flex flex-col items-start gap-2 p-6",
8374
8350
  teamInfoClassName
8375
8351
  ),
8376
8352
  children: [
@@ -37964,7 +37940,7 @@ function BlogCarouselAppleComponent({
37964
37940
  }
37965
37941
  function LongformContent({
37966
37942
  children,
37967
- renderMode = "jsx",
37943
+ renderMode = "markdown",
37968
37944
  markdownString,
37969
37945
  optixFlowConfig,
37970
37946
  markdownStyles
@@ -38003,8 +37979,6 @@ function ArticleHeroProseComponent({
38003
37979
  proseClassName,
38004
37980
  heroMediaSlot,
38005
37981
  authorSlot,
38006
- children,
38007
- renderMode = "jsx",
38008
37982
  markdownString,
38009
37983
  markdownStyles,
38010
37984
  dateFormat = "MMMM d, yyyy",
@@ -38118,7 +38092,7 @@ function ArticleHeroProseComponent({
38118
38092
  ]
38119
38093
  }
38120
38094
  ) }),
38121
- (children || renderMode === "markdown" && markdownString) && /* @__PURE__ */ jsx("div", { className: "flex flex-col items-center", children: /* @__PURE__ */ jsx(
38095
+ markdownString && /* @__PURE__ */ jsx("div", { className: "flex flex-col items-center", children: /* @__PURE__ */ jsx(
38122
38096
  "div",
38123
38097
  {
38124
38098
  className: cn(
@@ -38129,11 +38103,10 @@ function ArticleHeroProseComponent({
38129
38103
  children: /* @__PURE__ */ jsx(
38130
38104
  LongformContent,
38131
38105
  {
38132
- renderMode,
38106
+ renderMode: "markdown",
38133
38107
  markdownString,
38134
38108
  optixFlowConfig,
38135
- markdownStyles,
38136
- children
38109
+ markdownStyles
38137
38110
  }
38138
38111
  )
38139
38112
  }
@@ -38174,8 +38147,6 @@ function ArticleSidebarStickyComponent({
38174
38147
  heroImageSrc,
38175
38148
  heroImageAlt,
38176
38149
  heroMediaSlot,
38177
- children,
38178
- renderMode = "jsx",
38179
38150
  markdownString,
38180
38151
  markdownStyles,
38181
38152
  optixFlowConfig,
@@ -38302,11 +38273,10 @@ function ArticleSidebarStickyComponent({
38302
38273
  /* @__PURE__ */ jsx(
38303
38274
  LongformContent,
38304
38275
  {
38305
- renderMode,
38276
+ renderMode: "markdown",
38306
38277
  markdownString,
38307
38278
  optixFlowConfig,
38308
- markdownStyles,
38309
- children
38279
+ markdownStyles
38310
38280
  }
38311
38281
  ),
38312
38282
  /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsx(
@@ -38356,8 +38326,6 @@ function ArticleTocSidebarComponent({
38356
38326
  ctaDescription,
38357
38327
  ctaActions,
38358
38328
  ctaSlot,
38359
- children,
38360
- renderMode = "jsx",
38361
38329
  markdownString,
38362
38330
  markdownStyles,
38363
38331
  enableTocTracking = true,
@@ -38549,11 +38517,10 @@ function ArticleTocSidebarComponent({
38549
38517
  /* @__PURE__ */ jsx(
38550
38518
  LongformContent,
38551
38519
  {
38552
- renderMode,
38520
+ renderMode: "markdown",
38553
38521
  markdownString,
38554
38522
  optixFlowConfig,
38555
- markdownStyles,
38556
- children
38523
+ markdownStyles
38557
38524
  }
38558
38525
  ),
38559
38526
  /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsx(
@@ -38600,8 +38567,6 @@ function ArticleBreadcrumbSocialComponent({
38600
38567
  heroImageSrc,
38601
38568
  heroImageAlt,
38602
38569
  heroMediaSlot,
38603
- children,
38604
- renderMode = "jsx",
38605
38570
  markdownString,
38606
38571
  markdownStyles,
38607
38572
  enableTocTracking,
@@ -38747,7 +38712,7 @@ function ArticleBreadcrumbSocialComponent({
38747
38712
  /* @__PURE__ */ jsxs("div", { className: "relative", children: [
38748
38713
  breadcrumbsContent,
38749
38714
  /* @__PURE__ */ jsxs("div", { className: "grid gap-10 lg:grid-cols-[minmax(0,1fr)_280px]", children: [
38750
- (children || renderMode === "markdown" && markdownString) && /* @__PURE__ */ jsxs(
38715
+ markdownString && /* @__PURE__ */ jsxs(
38751
38716
  "article",
38752
38717
  {
38753
38718
  className: cn(
@@ -38770,11 +38735,10 @@ function ArticleBreadcrumbSocialComponent({
38770
38735
  /* @__PURE__ */ jsx(
38771
38736
  LongformContent,
38772
38737
  {
38773
- renderMode,
38738
+ renderMode: "markdown",
38774
38739
  markdownString,
38775
38740
  optixFlowConfig,
38776
- markdownStyles,
38777
- children
38741
+ markdownStyles
38778
38742
  }
38779
38743
  ),
38780
38744
  /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsx(
@@ -38829,8 +38793,6 @@ function ArticleCompactTocComponent({
38829
38793
  heroImageSrc,
38830
38794
  heroImageAlt,
38831
38795
  heroMediaSlot,
38832
- children,
38833
- renderMode = "jsx",
38834
38796
  markdownString,
38835
38797
  markdownStyles,
38836
38798
  enableTocTracking = true,
@@ -39007,7 +38969,7 @@ function ArticleCompactTocComponent({
39007
38969
  }
39008
38970
  ),
39009
38971
  tocContent,
39010
- (children || renderMode === "markdown" && markdownString) && /* @__PURE__ */ jsxs(
38972
+ markdownString && /* @__PURE__ */ jsxs(
39011
38973
  "article",
39012
38974
  {
39013
38975
  className: cn(
@@ -39019,11 +38981,10 @@ function ArticleCompactTocComponent({
39019
38981
  /* @__PURE__ */ jsx(
39020
38982
  LongformContent,
39021
38983
  {
39022
- renderMode,
38984
+ renderMode: "markdown",
39023
38985
  markdownString,
39024
38986
  optixFlowConfig,
39025
- markdownStyles,
39026
- children
38987
+ markdownStyles
39027
38988
  }
39028
38989
  ),
39029
38990
  /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsx(
@@ -39074,8 +39035,6 @@ function ArticleChaptersAuthorComponent({
39074
39035
  conclusionDescription,
39075
39036
  conclusionActions,
39076
39037
  conclusionSlot,
39077
- children,
39078
- renderMode = "jsx",
39079
39038
  markdownString,
39080
39039
  markdownStyles,
39081
39040
  enableChapterTracking = true,
@@ -39334,11 +39293,10 @@ function ArticleChaptersAuthorComponent({
39334
39293
  /* @__PURE__ */ jsx(
39335
39294
  LongformContent,
39336
39295
  {
39337
- renderMode,
39296
+ renderMode: "markdown",
39338
39297
  markdownString,
39339
39298
  optixFlowConfig,
39340
- markdownStyles,
39341
- children
39299
+ markdownStyles
39342
39300
  }
39343
39301
  ),
39344
39302
  /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsx(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensite/ui",
3
- "version": "3.2.9",
3
+ "version": "3.3.1",
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",