@opensite/ui 3.3.0 → 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 (35) hide show
  1. package/dist/article-breadcrumb-social.cjs +4 -7
  2. package/dist/article-breadcrumb-social.d.cts +2 -11
  3. package/dist/article-breadcrumb-social.d.ts +2 -11
  4. package/dist/article-breadcrumb-social.js +4 -7
  5. package/dist/article-chapters-author.cjs +3 -6
  6. package/dist/article-chapters-author.d.cts +2 -11
  7. package/dist/article-chapters-author.d.ts +2 -11
  8. package/dist/article-chapters-author.js +3 -6
  9. package/dist/article-compact-toc.cjs +4 -7
  10. package/dist/article-compact-toc.d.cts +2 -11
  11. package/dist/article-compact-toc.d.ts +2 -11
  12. package/dist/article-compact-toc.js +4 -7
  13. package/dist/article-hero-prose.cjs +4 -7
  14. package/dist/article-hero-prose.d.cts +2 -11
  15. package/dist/article-hero-prose.d.ts +2 -11
  16. package/dist/article-hero-prose.js +4 -7
  17. package/dist/article-sidebar-sticky.cjs +3 -6
  18. package/dist/article-sidebar-sticky.d.cts +2 -11
  19. package/dist/article-sidebar-sticky.d.ts +2 -11
  20. package/dist/article-sidebar-sticky.js +3 -6
  21. package/dist/article-toc-sidebar.cjs +3 -6
  22. package/dist/article-toc-sidebar.d.cts +1 -10
  23. package/dist/article-toc-sidebar.d.ts +1 -10
  24. package/dist/article-toc-sidebar.js +3 -6
  25. package/dist/badge.d.cts +1 -1
  26. package/dist/badge.d.ts +1 -1
  27. package/dist/longform-content.cjs +1 -1
  28. package/dist/longform-content.d.cts +1 -1
  29. package/dist/longform-content.d.ts +1 -1
  30. package/dist/longform-content.js +1 -1
  31. package/dist/registry.cjs +16 -34
  32. package/dist/registry.js +16 -34
  33. package/dist/social-link-icon.d.cts +1 -1
  34. package/dist/social-link-icon.d.ts +1 -1
  35. package/package.json +1 -1
@@ -547,7 +547,7 @@ var Section = React5__namespace.default.forwardRef(
547
547
  Section.displayName = "Section";
548
548
  function LongformContent({
549
549
  children,
550
- renderMode = "jsx",
550
+ renderMode = "markdown",
551
551
  markdownString,
552
552
  optixFlowConfig,
553
553
  markdownStyles
@@ -599,8 +599,6 @@ function ArticleBreadcrumbSocialComponent({
599
599
  heroImageSrc,
600
600
  heroImageAlt,
601
601
  heroMediaSlot,
602
- children,
603
- renderMode = "jsx",
604
602
  markdownString,
605
603
  markdownStyles,
606
604
  enableTocTracking,
@@ -746,7 +744,7 @@ function ArticleBreadcrumbSocialComponent({
746
744
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
747
745
  breadcrumbsContent,
748
746
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-10 lg:grid-cols-[minmax(0,1fr)_280px]", children: [
749
- (children || renderMode === "markdown" && markdownString) && /* @__PURE__ */ jsxRuntime.jsxs(
747
+ markdownString && /* @__PURE__ */ jsxRuntime.jsxs(
750
748
  "article",
751
749
  {
752
750
  className: cn(
@@ -769,11 +767,10 @@ function ArticleBreadcrumbSocialComponent({
769
767
  /* @__PURE__ */ jsxRuntime.jsx(
770
768
  LongformContent,
771
769
  {
772
- renderMode,
770
+ renderMode: "markdown",
773
771
  markdownString,
774
772
  optixFlowConfig,
775
- markdownStyles,
776
- children
773
+ markdownStyles
777
774
  }
778
775
  ),
779
776
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -118,16 +118,7 @@ interface ArticleBreadcrumbSocialProps {
118
118
  */
119
119
  heroMediaSlot?: React.ReactNode;
120
120
  /**
121
- * Article body content (replaces hardcoded prose)
122
- */
123
- children?: React.ReactNode;
124
- /**
125
- * Render mode for content
126
- * @default "jsx"
127
- */
128
- renderMode?: "jsx" | "markdown";
129
- /**
130
- * Markdown string to render (when renderMode is "markdown")
121
+ * Markdown string to render
131
122
  */
132
123
  markdownString?: string;
133
124
  /**
@@ -170,6 +161,6 @@ interface ArticleBreadcrumbSocialProps {
170
161
  /** Optional Section ID */
171
162
  sectionId?: string;
172
163
  }
173
- declare function ArticleBreadcrumbSocialComponent({ sectionId, className, breadcrumbClassName, articleClassName, sidebarClassName, titleClassName, authorClassName, heroImageClassName, tocClassName, breadcrumbs, breadcrumbsSlot, currentPage, title, description, author, authorSlot, publishDate, readTime, sections, tocSlot, renderSectionLink, heroImageSrc, heroImageAlt, heroMediaSlot, children, renderMode, markdownString, markdownStyles, enableTocTracking, enableBackToTop, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, patternClassName, }: ArticleBreadcrumbSocialProps): react_jsx_runtime.JSX.Element;
164
+ declare function ArticleBreadcrumbSocialComponent({ sectionId, className, breadcrumbClassName, articleClassName, sidebarClassName, titleClassName, authorClassName, heroImageClassName, tocClassName, breadcrumbs, breadcrumbsSlot, currentPage, title, description, author, authorSlot, publishDate, readTime, sections, tocSlot, renderSectionLink, heroImageSrc, heroImageAlt, heroMediaSlot, markdownString, markdownStyles, enableTocTracking, enableBackToTop, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, patternClassName, }: ArticleBreadcrumbSocialProps): react_jsx_runtime.JSX.Element;
174
165
 
175
166
  export { type ArticleBreadcrumbSection, ArticleBreadcrumbSocialComponent as ArticleBreadcrumbSocial, type ArticleBreadcrumbSocialProps };
@@ -118,16 +118,7 @@ interface ArticleBreadcrumbSocialProps {
118
118
  */
119
119
  heroMediaSlot?: React.ReactNode;
120
120
  /**
121
- * Article body content (replaces hardcoded prose)
122
- */
123
- children?: React.ReactNode;
124
- /**
125
- * Render mode for content
126
- * @default "jsx"
127
- */
128
- renderMode?: "jsx" | "markdown";
129
- /**
130
- * Markdown string to render (when renderMode is "markdown")
121
+ * Markdown string to render
131
122
  */
132
123
  markdownString?: string;
133
124
  /**
@@ -170,6 +161,6 @@ interface ArticleBreadcrumbSocialProps {
170
161
  /** Optional Section ID */
171
162
  sectionId?: string;
172
163
  }
173
- declare function ArticleBreadcrumbSocialComponent({ sectionId, className, breadcrumbClassName, articleClassName, sidebarClassName, titleClassName, authorClassName, heroImageClassName, tocClassName, breadcrumbs, breadcrumbsSlot, currentPage, title, description, author, authorSlot, publishDate, readTime, sections, tocSlot, renderSectionLink, heroImageSrc, heroImageAlt, heroMediaSlot, children, renderMode, markdownString, markdownStyles, enableTocTracking, enableBackToTop, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, patternClassName, }: ArticleBreadcrumbSocialProps): react_jsx_runtime.JSX.Element;
164
+ declare function ArticleBreadcrumbSocialComponent({ sectionId, className, breadcrumbClassName, articleClassName, sidebarClassName, titleClassName, authorClassName, heroImageClassName, tocClassName, breadcrumbs, breadcrumbsSlot, currentPage, title, description, author, authorSlot, publishDate, readTime, sections, tocSlot, renderSectionLink, heroImageSrc, heroImageAlt, heroMediaSlot, markdownString, markdownStyles, enableTocTracking, enableBackToTop, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, patternClassName, }: ArticleBreadcrumbSocialProps): react_jsx_runtime.JSX.Element;
174
165
 
175
166
  export { type ArticleBreadcrumbSection, ArticleBreadcrumbSocialComponent as ArticleBreadcrumbSocial, type ArticleBreadcrumbSocialProps };
@@ -525,7 +525,7 @@ var Section = React5__default.forwardRef(
525
525
  Section.displayName = "Section";
526
526
  function LongformContent({
527
527
  children,
528
- renderMode = "jsx",
528
+ renderMode = "markdown",
529
529
  markdownString,
530
530
  optixFlowConfig,
531
531
  markdownStyles
@@ -577,8 +577,6 @@ function ArticleBreadcrumbSocialComponent({
577
577
  heroImageSrc,
578
578
  heroImageAlt,
579
579
  heroMediaSlot,
580
- children,
581
- renderMode = "jsx",
582
580
  markdownString,
583
581
  markdownStyles,
584
582
  enableTocTracking,
@@ -724,7 +722,7 @@ function ArticleBreadcrumbSocialComponent({
724
722
  /* @__PURE__ */ jsxs("div", { className: "relative", children: [
725
723
  breadcrumbsContent,
726
724
  /* @__PURE__ */ jsxs("div", { className: "grid gap-10 lg:grid-cols-[minmax(0,1fr)_280px]", children: [
727
- (children || renderMode === "markdown" && markdownString) && /* @__PURE__ */ jsxs(
725
+ markdownString && /* @__PURE__ */ jsxs(
728
726
  "article",
729
727
  {
730
728
  className: cn(
@@ -747,11 +745,10 @@ function ArticleBreadcrumbSocialComponent({
747
745
  /* @__PURE__ */ jsx(
748
746
  LongformContent,
749
747
  {
750
- renderMode,
748
+ renderMode: "markdown",
751
749
  markdownString,
752
750
  optixFlowConfig,
753
- markdownStyles,
754
- children
751
+ markdownStyles
755
752
  }
756
753
  ),
757
754
  /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsx(
@@ -636,7 +636,7 @@ var SocialLinkIcon = React6__namespace.forwardRef(
636
636
  SocialLinkIcon.displayName = "SocialLinkIcon";
637
637
  function LongformContent({
638
638
  children,
639
- renderMode = "jsx",
639
+ renderMode = "markdown",
640
640
  markdownString,
641
641
  optixFlowConfig,
642
642
  markdownStyles
@@ -693,8 +693,6 @@ function ArticleChaptersAuthorComponent({
693
693
  conclusionDescription,
694
694
  conclusionActions,
695
695
  conclusionSlot,
696
- children,
697
- renderMode = "jsx",
698
696
  markdownString,
699
697
  markdownStyles,
700
698
  enableChapterTracking = true,
@@ -953,11 +951,10 @@ function ArticleChaptersAuthorComponent({
953
951
  /* @__PURE__ */ jsxRuntime.jsx(
954
952
  LongformContent,
955
953
  {
956
- renderMode,
954
+ renderMode: "markdown",
957
955
  markdownString,
958
956
  optixFlowConfig,
959
- markdownStyles,
960
- children
957
+ markdownStyles
961
958
  }
962
959
  ),
963
960
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -146,16 +146,7 @@ interface ArticleChaptersAuthorProps {
146
146
  */
147
147
  conclusionSlot?: React.ReactNode;
148
148
  /**
149
- * Article body content (replaces hardcoded prose)
150
- */
151
- children?: React.ReactNode;
152
- /**
153
- * Render mode for content
154
- * @default "jsx"
155
- */
156
- renderMode?: "jsx" | "markdown";
157
- /**
158
- * Markdown string to render (when renderMode is "markdown")
149
+ * Markdown string to render
159
150
  */
160
151
  markdownString?: string;
161
152
  /**
@@ -195,6 +186,6 @@ interface ArticleChaptersAuthorProps {
195
186
  /** Optional Section ID */
196
187
  sectionId?: string;
197
188
  }
198
- declare function ArticleChaptersAuthorComponent({ sectionId, className, breadcrumbClassName, headerClassName, titleClassName, subtitleClassName, sidebarClassName, articleClassName, chaptersClassName, authorClassName, conclusionClassName, heroImageClassName, breadcrumbs, breadcrumbsSlot, currentPage, title, subtitle, chapters, chaptersSlot, renderChapterLink, author, authorSlot, heroImageSrc, heroImageAlt, heroMediaSlot, conclusionTitle, conclusionDescription, conclusionActions, conclusionSlot, children, renderMode, markdownString, markdownStyles, enableChapterTracking, optixFlowConfig, background, containerClassName, spacing, patternClassName, pattern, patternOpacity, }: ArticleChaptersAuthorProps): react_jsx_runtime.JSX.Element;
189
+ declare function ArticleChaptersAuthorComponent({ sectionId, className, breadcrumbClassName, headerClassName, titleClassName, subtitleClassName, sidebarClassName, articleClassName, chaptersClassName, authorClassName, conclusionClassName, heroImageClassName, breadcrumbs, breadcrumbsSlot, currentPage, title, subtitle, chapters, chaptersSlot, renderChapterLink, author, authorSlot, heroImageSrc, heroImageAlt, heroMediaSlot, conclusionTitle, conclusionDescription, conclusionActions, conclusionSlot, markdownString, markdownStyles, enableChapterTracking, optixFlowConfig, background, containerClassName, spacing, patternClassName, pattern, patternOpacity, }: ArticleChaptersAuthorProps): react_jsx_runtime.JSX.Element;
199
190
 
200
191
  export { type ArticleAuthor, type ArticleChapter, ArticleChaptersAuthorComponent as ArticleChaptersAuthor, type ArticleChaptersAuthorProps };
@@ -146,16 +146,7 @@ interface ArticleChaptersAuthorProps {
146
146
  */
147
147
  conclusionSlot?: React.ReactNode;
148
148
  /**
149
- * Article body content (replaces hardcoded prose)
150
- */
151
- children?: React.ReactNode;
152
- /**
153
- * Render mode for content
154
- * @default "jsx"
155
- */
156
- renderMode?: "jsx" | "markdown";
157
- /**
158
- * Markdown string to render (when renderMode is "markdown")
149
+ * Markdown string to render
159
150
  */
160
151
  markdownString?: string;
161
152
  /**
@@ -195,6 +186,6 @@ interface ArticleChaptersAuthorProps {
195
186
  /** Optional Section ID */
196
187
  sectionId?: string;
197
188
  }
198
- declare function ArticleChaptersAuthorComponent({ sectionId, className, breadcrumbClassName, headerClassName, titleClassName, subtitleClassName, sidebarClassName, articleClassName, chaptersClassName, authorClassName, conclusionClassName, heroImageClassName, breadcrumbs, breadcrumbsSlot, currentPage, title, subtitle, chapters, chaptersSlot, renderChapterLink, author, authorSlot, heroImageSrc, heroImageAlt, heroMediaSlot, conclusionTitle, conclusionDescription, conclusionActions, conclusionSlot, children, renderMode, markdownString, markdownStyles, enableChapterTracking, optixFlowConfig, background, containerClassName, spacing, patternClassName, pattern, patternOpacity, }: ArticleChaptersAuthorProps): react_jsx_runtime.JSX.Element;
189
+ declare function ArticleChaptersAuthorComponent({ sectionId, className, breadcrumbClassName, headerClassName, titleClassName, subtitleClassName, sidebarClassName, articleClassName, chaptersClassName, authorClassName, conclusionClassName, heroImageClassName, breadcrumbs, breadcrumbsSlot, currentPage, title, subtitle, chapters, chaptersSlot, renderChapterLink, author, authorSlot, heroImageSrc, heroImageAlt, heroMediaSlot, conclusionTitle, conclusionDescription, conclusionActions, conclusionSlot, markdownString, markdownStyles, enableChapterTracking, optixFlowConfig, background, containerClassName, spacing, patternClassName, pattern, patternOpacity, }: ArticleChaptersAuthorProps): react_jsx_runtime.JSX.Element;
199
190
 
200
191
  export { type ArticleAuthor, type ArticleChapter, ArticleChaptersAuthorComponent as ArticleChaptersAuthor, type ArticleChaptersAuthorProps };
@@ -614,7 +614,7 @@ var SocialLinkIcon = React6.forwardRef(
614
614
  SocialLinkIcon.displayName = "SocialLinkIcon";
615
615
  function LongformContent({
616
616
  children,
617
- renderMode = "jsx",
617
+ renderMode = "markdown",
618
618
  markdownString,
619
619
  optixFlowConfig,
620
620
  markdownStyles
@@ -671,8 +671,6 @@ function ArticleChaptersAuthorComponent({
671
671
  conclusionDescription,
672
672
  conclusionActions,
673
673
  conclusionSlot,
674
- children,
675
- renderMode = "jsx",
676
674
  markdownString,
677
675
  markdownStyles,
678
676
  enableChapterTracking = true,
@@ -931,11 +929,10 @@ function ArticleChaptersAuthorComponent({
931
929
  /* @__PURE__ */ jsx(
932
930
  LongformContent,
933
931
  {
934
- renderMode,
932
+ renderMode: "markdown",
935
933
  markdownString,
936
934
  optixFlowConfig,
937
- markdownStyles,
938
- children
935
+ markdownStyles
939
936
  }
940
937
  ),
941
938
  /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsx(
@@ -554,7 +554,7 @@ function PopoverContent({
554
554
  }
555
555
  function LongformContent({
556
556
  children,
557
- renderMode = "jsx",
557
+ renderMode = "markdown",
558
558
  markdownString,
559
559
  optixFlowConfig,
560
560
  markdownStyles
@@ -606,8 +606,6 @@ function ArticleCompactTocComponent({
606
606
  heroImageSrc,
607
607
  heroImageAlt,
608
608
  heroMediaSlot,
609
- children,
610
- renderMode = "jsx",
611
609
  markdownString,
612
610
  markdownStyles,
613
611
  enableTocTracking = true,
@@ -784,7 +782,7 @@ function ArticleCompactTocComponent({
784
782
  }
785
783
  ),
786
784
  tocContent,
787
- (children || renderMode === "markdown" && markdownString) && /* @__PURE__ */ jsxRuntime.jsxs(
785
+ markdownString && /* @__PURE__ */ jsxRuntime.jsxs(
788
786
  "article",
789
787
  {
790
788
  className: cn(
@@ -796,11 +794,10 @@ function ArticleCompactTocComponent({
796
794
  /* @__PURE__ */ jsxRuntime.jsx(
797
795
  LongformContent,
798
796
  {
799
- renderMode,
797
+ renderMode: "markdown",
800
798
  markdownString,
801
799
  optixFlowConfig,
802
- markdownStyles,
803
- children
800
+ markdownStyles
804
801
  }
805
802
  ),
806
803
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -113,16 +113,7 @@ interface ArticleCompactTocProps {
113
113
  */
114
114
  heroMediaSlot?: React.ReactNode;
115
115
  /**
116
- * Article body content (replaces hardcoded prose)
117
- */
118
- children?: React.ReactNode;
119
- /**
120
- * Render mode for content
121
- * @default "jsx"
122
- */
123
- renderMode?: "jsx" | "markdown";
124
- /**
125
- * Markdown string to render (when renderMode is "markdown")
116
+ * Markdown string to render
126
117
  */
127
118
  markdownString?: string;
128
119
  /**
@@ -162,6 +153,6 @@ interface ArticleCompactTocProps {
162
153
  /** Optional Section ID */
163
154
  sectionId?: string;
164
155
  }
165
- declare function ArticleCompactTocComponent({ sectionId, className, breadcrumbClassName, contentClassName, titleClassName, metaClassName, tocClassName, articleClassName, heroImageClassName, breadcrumbs, breadcrumbsSlot, currentPage, title, authorName, authorHref, publishDate, readTime, sections, tocSlot, renderSectionLink, description, heroImageSrc, heroImageAlt, heroMediaSlot, children, renderMode, markdownString, markdownStyles, enableTocTracking, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, patternClassName, }: ArticleCompactTocProps): react_jsx_runtime.JSX.Element;
156
+ declare function ArticleCompactTocComponent({ sectionId, className, breadcrumbClassName, contentClassName, titleClassName, metaClassName, tocClassName, articleClassName, heroImageClassName, breadcrumbs, breadcrumbsSlot, currentPage, title, authorName, authorHref, publishDate, readTime, sections, tocSlot, renderSectionLink, description, heroImageSrc, heroImageAlt, heroMediaSlot, markdownString, markdownStyles, enableTocTracking, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, patternClassName, }: ArticleCompactTocProps): react_jsx_runtime.JSX.Element;
166
157
 
167
158
  export { ArticleCompactTocComponent as ArticleCompactToc, type ArticleCompactTocProps, type ArticleCompactTocSection };
@@ -113,16 +113,7 @@ interface ArticleCompactTocProps {
113
113
  */
114
114
  heroMediaSlot?: React.ReactNode;
115
115
  /**
116
- * Article body content (replaces hardcoded prose)
117
- */
118
- children?: React.ReactNode;
119
- /**
120
- * Render mode for content
121
- * @default "jsx"
122
- */
123
- renderMode?: "jsx" | "markdown";
124
- /**
125
- * Markdown string to render (when renderMode is "markdown")
116
+ * Markdown string to render
126
117
  */
127
118
  markdownString?: string;
128
119
  /**
@@ -162,6 +153,6 @@ interface ArticleCompactTocProps {
162
153
  /** Optional Section ID */
163
154
  sectionId?: string;
164
155
  }
165
- declare function ArticleCompactTocComponent({ sectionId, className, breadcrumbClassName, contentClassName, titleClassName, metaClassName, tocClassName, articleClassName, heroImageClassName, breadcrumbs, breadcrumbsSlot, currentPage, title, authorName, authorHref, publishDate, readTime, sections, tocSlot, renderSectionLink, description, heroImageSrc, heroImageAlt, heroMediaSlot, children, renderMode, markdownString, markdownStyles, enableTocTracking, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, patternClassName, }: ArticleCompactTocProps): react_jsx_runtime.JSX.Element;
156
+ declare function ArticleCompactTocComponent({ sectionId, className, breadcrumbClassName, contentClassName, titleClassName, metaClassName, tocClassName, articleClassName, heroImageClassName, breadcrumbs, breadcrumbsSlot, currentPage, title, authorName, authorHref, publishDate, readTime, sections, tocSlot, renderSectionLink, description, heroImageSrc, heroImageAlt, heroMediaSlot, markdownString, markdownStyles, enableTocTracking, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, patternClassName, }: ArticleCompactTocProps): react_jsx_runtime.JSX.Element;
166
157
 
167
158
  export { ArticleCompactTocComponent as ArticleCompactToc, type ArticleCompactTocProps, type ArticleCompactTocSection };
@@ -531,7 +531,7 @@ function PopoverContent({
531
531
  }
532
532
  function LongformContent({
533
533
  children,
534
- renderMode = "jsx",
534
+ renderMode = "markdown",
535
535
  markdownString,
536
536
  optixFlowConfig,
537
537
  markdownStyles
@@ -583,8 +583,6 @@ function ArticleCompactTocComponent({
583
583
  heroImageSrc,
584
584
  heroImageAlt,
585
585
  heroMediaSlot,
586
- children,
587
- renderMode = "jsx",
588
586
  markdownString,
589
587
  markdownStyles,
590
588
  enableTocTracking = true,
@@ -761,7 +759,7 @@ function ArticleCompactTocComponent({
761
759
  }
762
760
  ),
763
761
  tocContent,
764
- (children || renderMode === "markdown" && markdownString) && /* @__PURE__ */ jsxs(
762
+ markdownString && /* @__PURE__ */ jsxs(
765
763
  "article",
766
764
  {
767
765
  className: cn(
@@ -773,11 +771,10 @@ function ArticleCompactTocComponent({
773
771
  /* @__PURE__ */ jsx(
774
772
  LongformContent,
775
773
  {
776
- renderMode,
774
+ renderMode: "markdown",
777
775
  markdownString,
778
776
  optixFlowConfig,
779
- markdownStyles,
780
- children
777
+ markdownStyles
781
778
  }
782
779
  ),
783
780
  /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsx(
@@ -467,7 +467,7 @@ var Section = React4__namespace.default.forwardRef(
467
467
  Section.displayName = "Section";
468
468
  function LongformContent({
469
469
  children,
470
- renderMode = "jsx",
470
+ renderMode = "markdown",
471
471
  markdownString,
472
472
  optixFlowConfig,
473
473
  markdownStyles
@@ -506,8 +506,6 @@ function ArticleHeroProseComponent({
506
506
  proseClassName,
507
507
  heroMediaSlot,
508
508
  authorSlot,
509
- children,
510
- renderMode = "jsx",
511
509
  markdownString,
512
510
  markdownStyles,
513
511
  dateFormat = "MMMM d, yyyy",
@@ -621,7 +619,7 @@ function ArticleHeroProseComponent({
621
619
  ]
622
620
  }
623
621
  ) }),
624
- (children || renderMode === "markdown" && markdownString) && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col items-center", children: /* @__PURE__ */ jsxRuntime.jsx(
622
+ markdownString && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col items-center", children: /* @__PURE__ */ jsxRuntime.jsx(
625
623
  "div",
626
624
  {
627
625
  className: cn(
@@ -632,11 +630,10 @@ function ArticleHeroProseComponent({
632
630
  children: /* @__PURE__ */ jsxRuntime.jsx(
633
631
  LongformContent,
634
632
  {
635
- renderMode,
633
+ renderMode: "markdown",
636
634
  markdownString,
637
635
  optixFlowConfig,
638
- markdownStyles,
639
- children
636
+ markdownStyles
640
637
  }
641
638
  )
642
639
  }
@@ -62,16 +62,7 @@ interface ArticleHeroProseProps {
62
62
  */
63
63
  authorSlot?: React.ReactNode;
64
64
  /**
65
- * Main body content
66
- */
67
- children?: React.ReactNode;
68
- /**
69
- * Render mode for content
70
- * @default "jsx"
71
- */
72
- renderMode?: "jsx" | "markdown";
73
- /**
74
- * Markdown string to render (when renderMode is "markdown")
65
+ * Markdown string to render
75
66
  */
76
67
  markdownString?: string;
77
68
  /**
@@ -107,6 +98,6 @@ interface ArticleHeroProseProps {
107
98
  /** Optional Section ID */
108
99
  sectionId?: string;
109
100
  }
110
- declare function ArticleHeroProseComponent({ sectionId, post, className, headerClassName, titleClassName, descriptionClassName, authorClassName, heroImageClassName, proseClassName, heroMediaSlot, authorSlot, children, renderMode, markdownString, markdownStyles, dateFormat, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, }: ArticleHeroProseProps): react_jsx_runtime.JSX.Element;
101
+ declare function ArticleHeroProseComponent({ sectionId, post, className, headerClassName, titleClassName, descriptionClassName, authorClassName, heroImageClassName, proseClassName, heroMediaSlot, authorSlot, markdownString, markdownStyles, dateFormat, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, }: ArticleHeroProseProps): react_jsx_runtime.JSX.Element;
111
102
 
112
103
  export { ArticleHeroProseComponent as ArticleHeroProse, type ArticleHeroProsePost, type ArticleHeroProseProps };
@@ -62,16 +62,7 @@ interface ArticleHeroProseProps {
62
62
  */
63
63
  authorSlot?: React.ReactNode;
64
64
  /**
65
- * Main body content
66
- */
67
- children?: React.ReactNode;
68
- /**
69
- * Render mode for content
70
- * @default "jsx"
71
- */
72
- renderMode?: "jsx" | "markdown";
73
- /**
74
- * Markdown string to render (when renderMode is "markdown")
65
+ * Markdown string to render
75
66
  */
76
67
  markdownString?: string;
77
68
  /**
@@ -107,6 +98,6 @@ interface ArticleHeroProseProps {
107
98
  /** Optional Section ID */
108
99
  sectionId?: string;
109
100
  }
110
- declare function ArticleHeroProseComponent({ sectionId, post, className, headerClassName, titleClassName, descriptionClassName, authorClassName, heroImageClassName, proseClassName, heroMediaSlot, authorSlot, children, renderMode, markdownString, markdownStyles, dateFormat, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, }: ArticleHeroProseProps): react_jsx_runtime.JSX.Element;
101
+ declare function ArticleHeroProseComponent({ sectionId, post, className, headerClassName, titleClassName, descriptionClassName, authorClassName, heroImageClassName, proseClassName, heroMediaSlot, authorSlot, markdownString, markdownStyles, dateFormat, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, }: ArticleHeroProseProps): react_jsx_runtime.JSX.Element;
111
102
 
112
103
  export { ArticleHeroProseComponent as ArticleHeroProse, type ArticleHeroProsePost, type ArticleHeroProseProps };
@@ -445,7 +445,7 @@ var Section = React4__default.forwardRef(
445
445
  Section.displayName = "Section";
446
446
  function LongformContent({
447
447
  children,
448
- renderMode = "jsx",
448
+ renderMode = "markdown",
449
449
  markdownString,
450
450
  optixFlowConfig,
451
451
  markdownStyles
@@ -484,8 +484,6 @@ function ArticleHeroProseComponent({
484
484
  proseClassName,
485
485
  heroMediaSlot,
486
486
  authorSlot,
487
- children,
488
- renderMode = "jsx",
489
487
  markdownString,
490
488
  markdownStyles,
491
489
  dateFormat = "MMMM d, yyyy",
@@ -599,7 +597,7 @@ function ArticleHeroProseComponent({
599
597
  ]
600
598
  }
601
599
  ) }),
602
- (children || renderMode === "markdown" && markdownString) && /* @__PURE__ */ jsx("div", { className: "flex flex-col items-center", children: /* @__PURE__ */ jsx(
600
+ markdownString && /* @__PURE__ */ jsx("div", { className: "flex flex-col items-center", children: /* @__PURE__ */ jsx(
603
601
  "div",
604
602
  {
605
603
  className: cn(
@@ -610,11 +608,10 @@ function ArticleHeroProseComponent({
610
608
  children: /* @__PURE__ */ jsx(
611
609
  LongformContent,
612
610
  {
613
- renderMode,
611
+ renderMode: "markdown",
614
612
  markdownString,
615
613
  optixFlowConfig,
616
- markdownStyles,
617
- children
614
+ markdownStyles
618
615
  }
619
616
  )
620
617
  }
@@ -475,7 +475,7 @@ var Section = React5__namespace.default.forwardRef(
475
475
  Section.displayName = "Section";
476
476
  function LongformContent({
477
477
  children,
478
- renderMode = "jsx",
478
+ renderMode = "markdown",
479
479
  markdownString,
480
480
  optixFlowConfig,
481
481
  markdownStyles
@@ -526,8 +526,6 @@ function ArticleSidebarStickyComponent({
526
526
  heroImageSrc,
527
527
  heroImageAlt,
528
528
  heroMediaSlot,
529
- children,
530
- renderMode = "jsx",
531
529
  markdownString,
532
530
  markdownStyles,
533
531
  optixFlowConfig,
@@ -654,11 +652,10 @@ function ArticleSidebarStickyComponent({
654
652
  /* @__PURE__ */ jsxRuntime.jsx(
655
653
  LongformContent,
656
654
  {
657
- renderMode,
655
+ renderMode: "markdown",
658
656
  markdownString,
659
657
  optixFlowConfig,
660
- markdownStyles,
661
- children
658
+ markdownStyles
662
659
  }
663
660
  ),
664
661
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -101,16 +101,7 @@ interface ArticleSidebarStickyProps {
101
101
  */
102
102
  heroMediaSlot?: React.ReactNode;
103
103
  /**
104
- * Article body content (replaces hardcoded prose)
105
- */
106
- children?: React.ReactNode;
107
- /**
108
- * Render mode for content
109
- * @default "jsx"
110
- */
111
- renderMode?: "jsx" | "markdown";
112
- /**
113
- * Markdown string to render (when renderMode is "markdown")
104
+ * Markdown string to render
114
105
  */
115
106
  markdownString?: string;
116
107
  /**
@@ -145,6 +136,6 @@ interface ArticleSidebarStickyProps {
145
136
  /** Optional Section ID */
146
137
  sectionId?: string;
147
138
  }
148
- declare function ArticleSidebarStickyComponent({ sectionId, className, sidebarClassName, articleClassName, titleClassName, authorClassName, heroImageClassName, backLinkClassName, backHref, backText, backIcon, backLinkSlot, title, summary, summaryClassName, authorName, authorImage, authorHref, publishDate, authorSlot, heroImageSrc, heroImageAlt, heroMediaSlot, children, renderMode, markdownString, markdownStyles, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, sidebarContent, }: ArticleSidebarStickyProps): react_jsx_runtime.JSX.Element;
139
+ declare function ArticleSidebarStickyComponent({ sectionId, className, sidebarClassName, articleClassName, titleClassName, authorClassName, heroImageClassName, backLinkClassName, backHref, backText, backIcon, backLinkSlot, title, summary, summaryClassName, authorName, authorImage, authorHref, publishDate, authorSlot, heroImageSrc, heroImageAlt, heroMediaSlot, markdownString, markdownStyles, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, sidebarContent, }: ArticleSidebarStickyProps): react_jsx_runtime.JSX.Element;
149
140
 
150
141
  export { ArticleSidebarStickyComponent as ArticleSidebarSticky, type ArticleSidebarStickyProps };
@@ -101,16 +101,7 @@ interface ArticleSidebarStickyProps {
101
101
  */
102
102
  heroMediaSlot?: React.ReactNode;
103
103
  /**
104
- * Article body content (replaces hardcoded prose)
105
- */
106
- children?: React.ReactNode;
107
- /**
108
- * Render mode for content
109
- * @default "jsx"
110
- */
111
- renderMode?: "jsx" | "markdown";
112
- /**
113
- * Markdown string to render (when renderMode is "markdown")
104
+ * Markdown string to render
114
105
  */
115
106
  markdownString?: string;
116
107
  /**
@@ -145,6 +136,6 @@ interface ArticleSidebarStickyProps {
145
136
  /** Optional Section ID */
146
137
  sectionId?: string;
147
138
  }
148
- declare function ArticleSidebarStickyComponent({ sectionId, className, sidebarClassName, articleClassName, titleClassName, authorClassName, heroImageClassName, backLinkClassName, backHref, backText, backIcon, backLinkSlot, title, summary, summaryClassName, authorName, authorImage, authorHref, publishDate, authorSlot, heroImageSrc, heroImageAlt, heroMediaSlot, children, renderMode, markdownString, markdownStyles, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, sidebarContent, }: ArticleSidebarStickyProps): react_jsx_runtime.JSX.Element;
139
+ declare function ArticleSidebarStickyComponent({ sectionId, className, sidebarClassName, articleClassName, titleClassName, authorClassName, heroImageClassName, backLinkClassName, backHref, backText, backIcon, backLinkSlot, title, summary, summaryClassName, authorName, authorImage, authorHref, publishDate, authorSlot, heroImageSrc, heroImageAlt, heroMediaSlot, markdownString, markdownStyles, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, sidebarContent, }: ArticleSidebarStickyProps): react_jsx_runtime.JSX.Element;
149
140
 
150
141
  export { ArticleSidebarStickyComponent as ArticleSidebarSticky, type ArticleSidebarStickyProps };
@@ -453,7 +453,7 @@ var Section = React5__default.forwardRef(
453
453
  Section.displayName = "Section";
454
454
  function LongformContent({
455
455
  children,
456
- renderMode = "jsx",
456
+ renderMode = "markdown",
457
457
  markdownString,
458
458
  optixFlowConfig,
459
459
  markdownStyles
@@ -504,8 +504,6 @@ function ArticleSidebarStickyComponent({
504
504
  heroImageSrc,
505
505
  heroImageAlt,
506
506
  heroMediaSlot,
507
- children,
508
- renderMode = "jsx",
509
507
  markdownString,
510
508
  markdownStyles,
511
509
  optixFlowConfig,
@@ -632,11 +630,10 @@ function ArticleSidebarStickyComponent({
632
630
  /* @__PURE__ */ jsx(
633
631
  LongformContent,
634
632
  {
635
- renderMode,
633
+ renderMode: "markdown",
636
634
  markdownString,
637
635
  optixFlowConfig,
638
- markdownStyles,
639
- children
636
+ markdownStyles
640
637
  }
641
638
  ),
642
639
  /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsx(
@@ -500,7 +500,7 @@ var Section = React4__namespace.default.forwardRef(
500
500
  Section.displayName = "Section";
501
501
  function LongformContent({
502
502
  children,
503
- renderMode = "jsx",
503
+ renderMode = "markdown",
504
504
  markdownString,
505
505
  optixFlowConfig,
506
506
  markdownStyles
@@ -559,8 +559,6 @@ function ArticleTocSidebarComponent({
559
559
  ctaDescription,
560
560
  ctaActions,
561
561
  ctaSlot,
562
- children,
563
- renderMode = "jsx",
564
562
  markdownString,
565
563
  markdownStyles,
566
564
  enableTocTracking = true,
@@ -752,11 +750,10 @@ function ArticleTocSidebarComponent({
752
750
  /* @__PURE__ */ jsxRuntime.jsx(
753
751
  LongformContent,
754
752
  {
755
- renderMode,
753
+ renderMode: "markdown",
756
754
  markdownString,
757
755
  optixFlowConfig,
758
- markdownStyles,
759
- children
756
+ markdownStyles
760
757
  }
761
758
  ),
762
759
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -136,15 +136,6 @@ interface ArticleTocSidebarProps {
136
136
  * Custom slot for CTA section (overrides CTA props)
137
137
  */
138
138
  ctaSlot?: React.ReactNode;
139
- /**
140
- * Article body content (replaces hardcoded prose)
141
- */
142
- children?: React.ReactNode;
143
- /**
144
- * Render mode for content
145
- * @default "jsx"
146
- */
147
- renderMode?: "jsx" | "markdown";
148
139
  /**
149
140
  * Markdown string to render (when renderMode is "markdown")
150
141
  */
@@ -186,6 +177,6 @@ interface ArticleTocSidebarProps {
186
177
  /** Optional Section ID */
187
178
  sectionId?: string;
188
179
  }
189
- declare function ArticleTocSidebarComponent({ sectionId, className, articleClassName, sidebarClassName, headerClassName, titleClassName, descriptionClassName, authorClassName, tocClassName, ctaClassName, heroImageClassName, title, description, authorName, authorImage, authorHref, publishDate, readTime, authorSlot, category, categorySlot, sections, tocSlot, renderSectionLink, heroImageSrc, heroImageAlt, heroMediaSlot, ctaTitle, ctaDescription, ctaActions, ctaSlot, children, renderMode, markdownString, markdownStyles, enableTocTracking, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, patternClassName, }: ArticleTocSidebarProps): react_jsx_runtime.JSX.Element;
180
+ declare function ArticleTocSidebarComponent({ sectionId, className, articleClassName, sidebarClassName, headerClassName, titleClassName, descriptionClassName, authorClassName, tocClassName, ctaClassName, heroImageClassName, title, description, authorName, authorImage, authorHref, publishDate, readTime, authorSlot, category, categorySlot, sections, tocSlot, renderSectionLink, heroImageSrc, heroImageAlt, heroMediaSlot, ctaTitle, ctaDescription, ctaActions, ctaSlot, markdownString, markdownStyles, enableTocTracking, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, patternClassName, }: ArticleTocSidebarProps): react_jsx_runtime.JSX.Element;
190
181
 
191
182
  export { type ArticleTocSection, ArticleTocSidebarComponent as ArticleTocSidebar, type ArticleTocSidebarProps };
@@ -136,15 +136,6 @@ interface ArticleTocSidebarProps {
136
136
  * Custom slot for CTA section (overrides CTA props)
137
137
  */
138
138
  ctaSlot?: React.ReactNode;
139
- /**
140
- * Article body content (replaces hardcoded prose)
141
- */
142
- children?: React.ReactNode;
143
- /**
144
- * Render mode for content
145
- * @default "jsx"
146
- */
147
- renderMode?: "jsx" | "markdown";
148
139
  /**
149
140
  * Markdown string to render (when renderMode is "markdown")
150
141
  */
@@ -186,6 +177,6 @@ interface ArticleTocSidebarProps {
186
177
  /** Optional Section ID */
187
178
  sectionId?: string;
188
179
  }
189
- declare function ArticleTocSidebarComponent({ sectionId, className, articleClassName, sidebarClassName, headerClassName, titleClassName, descriptionClassName, authorClassName, tocClassName, ctaClassName, heroImageClassName, title, description, authorName, authorImage, authorHref, publishDate, readTime, authorSlot, category, categorySlot, sections, tocSlot, renderSectionLink, heroImageSrc, heroImageAlt, heroMediaSlot, ctaTitle, ctaDescription, ctaActions, ctaSlot, children, renderMode, markdownString, markdownStyles, enableTocTracking, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, patternClassName, }: ArticleTocSidebarProps): react_jsx_runtime.JSX.Element;
180
+ declare function ArticleTocSidebarComponent({ sectionId, className, articleClassName, sidebarClassName, headerClassName, titleClassName, descriptionClassName, authorClassName, tocClassName, ctaClassName, heroImageClassName, title, description, authorName, authorImage, authorHref, publishDate, readTime, authorSlot, category, categorySlot, sections, tocSlot, renderSectionLink, heroImageSrc, heroImageAlt, heroMediaSlot, ctaTitle, ctaDescription, ctaActions, ctaSlot, markdownString, markdownStyles, enableTocTracking, optixFlowConfig, background, containerClassName, spacing, pattern, patternOpacity, patternClassName, }: ArticleTocSidebarProps): react_jsx_runtime.JSX.Element;
190
181
 
191
182
  export { type ArticleTocSection, ArticleTocSidebarComponent as ArticleTocSidebar, type ArticleTocSidebarProps };
@@ -478,7 +478,7 @@ var Section = React4__default.forwardRef(
478
478
  Section.displayName = "Section";
479
479
  function LongformContent({
480
480
  children,
481
- renderMode = "jsx",
481
+ renderMode = "markdown",
482
482
  markdownString,
483
483
  optixFlowConfig,
484
484
  markdownStyles
@@ -537,8 +537,6 @@ function ArticleTocSidebarComponent({
537
537
  ctaDescription,
538
538
  ctaActions,
539
539
  ctaSlot,
540
- children,
541
- renderMode = "jsx",
542
540
  markdownString,
543
541
  markdownStyles,
544
542
  enableTocTracking = true,
@@ -730,11 +728,10 @@ function ArticleTocSidebarComponent({
730
728
  /* @__PURE__ */ jsx(
731
729
  LongformContent,
732
730
  {
733
- renderMode,
731
+ renderMode: "markdown",
734
732
  markdownString,
735
733
  optixFlowConfig,
736
- markdownStyles,
737
- children
734
+ markdownStyles
738
735
  }
739
736
  ),
740
737
  /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsx(
package/dist/badge.d.cts CHANGED
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const badgeVariants: (props?: ({
7
- variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
7
+ variant?: "outline" | "default" | "secondary" | "destructive" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
10
10
  asChild?: boolean;
package/dist/badge.d.ts CHANGED
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const badgeVariants: (props?: ({
7
- variant?: "default" | "secondary" | "destructive" | "outline" | null | undefined;
7
+ variant?: "outline" | "default" | "secondary" | "destructive" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
10
10
  asChild?: boolean;
@@ -30,7 +30,7 @@ var React__namespace = /*#__PURE__*/_interopNamespace(React);
30
30
  // components/ui/longform-content.tsx
31
31
  function LongformContent({
32
32
  children,
33
- renderMode = "jsx",
33
+ renderMode = "markdown",
34
34
  markdownString,
35
35
  optixFlowConfig,
36
36
  markdownStyles
@@ -21,7 +21,7 @@ interface LongformContentProps {
21
21
  * Controls the rendering strategy for article content.
22
22
  * - "jsx": Renders the `children` prop as-is
23
23
  * - "markdown": Parses and renders the `markdownString` prop
24
- * @default "jsx"
24
+ * @default "markdown"
25
25
  */
26
26
  renderMode?: "jsx" | "markdown";
27
27
  /**
@@ -21,7 +21,7 @@ interface LongformContentProps {
21
21
  * Controls the rendering strategy for article content.
22
22
  * - "jsx": Renders the `children` prop as-is
23
23
  * - "markdown": Parses and renders the `markdownString` prop
24
- * @default "jsx"
24
+ * @default "markdown"
25
25
  */
26
26
  renderMode?: "jsx" | "markdown";
27
27
  /**
@@ -8,7 +8,7 @@ import { jsx, Fragment } from 'react/jsx-runtime';
8
8
  // components/ui/longform-content.tsx
9
9
  function LongformContent({
10
10
  children,
11
- renderMode = "jsx",
11
+ renderMode = "markdown",
12
12
  markdownString,
13
13
  optixFlowConfig,
14
14
  markdownStyles
package/dist/registry.cjs CHANGED
@@ -37980,7 +37980,7 @@ function BlogCarouselAppleComponent({
37980
37980
  }
37981
37981
  function LongformContent({
37982
37982
  children,
37983
- renderMode = "jsx",
37983
+ renderMode = "markdown",
37984
37984
  markdownString,
37985
37985
  optixFlowConfig,
37986
37986
  markdownStyles
@@ -38019,8 +38019,6 @@ function ArticleHeroProseComponent({
38019
38019
  proseClassName,
38020
38020
  heroMediaSlot,
38021
38021
  authorSlot,
38022
- children,
38023
- renderMode = "jsx",
38024
38022
  markdownString,
38025
38023
  markdownStyles,
38026
38024
  dateFormat = "MMMM d, yyyy",
@@ -38134,7 +38132,7 @@ function ArticleHeroProseComponent({
38134
38132
  ]
38135
38133
  }
38136
38134
  ) }),
38137
- (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(
38138
38136
  "div",
38139
38137
  {
38140
38138
  className: cn(
@@ -38145,11 +38143,10 @@ function ArticleHeroProseComponent({
38145
38143
  children: /* @__PURE__ */ jsxRuntime.jsx(
38146
38144
  LongformContent,
38147
38145
  {
38148
- renderMode,
38146
+ renderMode: "markdown",
38149
38147
  markdownString,
38150
38148
  optixFlowConfig,
38151
- markdownStyles,
38152
- children
38149
+ markdownStyles
38153
38150
  }
38154
38151
  )
38155
38152
  }
@@ -38190,8 +38187,6 @@ function ArticleSidebarStickyComponent({
38190
38187
  heroImageSrc,
38191
38188
  heroImageAlt,
38192
38189
  heroMediaSlot,
38193
- children,
38194
- renderMode = "jsx",
38195
38190
  markdownString,
38196
38191
  markdownStyles,
38197
38192
  optixFlowConfig,
@@ -38318,11 +38313,10 @@ function ArticleSidebarStickyComponent({
38318
38313
  /* @__PURE__ */ jsxRuntime.jsx(
38319
38314
  LongformContent,
38320
38315
  {
38321
- renderMode,
38316
+ renderMode: "markdown",
38322
38317
  markdownString,
38323
38318
  optixFlowConfig,
38324
- markdownStyles,
38325
- children
38319
+ markdownStyles
38326
38320
  }
38327
38321
  ),
38328
38322
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -38372,8 +38366,6 @@ function ArticleTocSidebarComponent({
38372
38366
  ctaDescription,
38373
38367
  ctaActions,
38374
38368
  ctaSlot,
38375
- children,
38376
- renderMode = "jsx",
38377
38369
  markdownString,
38378
38370
  markdownStyles,
38379
38371
  enableTocTracking = true,
@@ -38565,11 +38557,10 @@ function ArticleTocSidebarComponent({
38565
38557
  /* @__PURE__ */ jsxRuntime.jsx(
38566
38558
  LongformContent,
38567
38559
  {
38568
- renderMode,
38560
+ renderMode: "markdown",
38569
38561
  markdownString,
38570
38562
  optixFlowConfig,
38571
- markdownStyles,
38572
- children
38563
+ markdownStyles
38573
38564
  }
38574
38565
  ),
38575
38566
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -38616,8 +38607,6 @@ function ArticleBreadcrumbSocialComponent({
38616
38607
  heroImageSrc,
38617
38608
  heroImageAlt,
38618
38609
  heroMediaSlot,
38619
- children,
38620
- renderMode = "jsx",
38621
38610
  markdownString,
38622
38611
  markdownStyles,
38623
38612
  enableTocTracking,
@@ -38763,7 +38752,7 @@ function ArticleBreadcrumbSocialComponent({
38763
38752
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
38764
38753
  breadcrumbsContent,
38765
38754
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-10 lg:grid-cols-[minmax(0,1fr)_280px]", children: [
38766
- (children || renderMode === "markdown" && markdownString) && /* @__PURE__ */ jsxRuntime.jsxs(
38755
+ markdownString && /* @__PURE__ */ jsxRuntime.jsxs(
38767
38756
  "article",
38768
38757
  {
38769
38758
  className: cn(
@@ -38786,11 +38775,10 @@ function ArticleBreadcrumbSocialComponent({
38786
38775
  /* @__PURE__ */ jsxRuntime.jsx(
38787
38776
  LongformContent,
38788
38777
  {
38789
- renderMode,
38778
+ renderMode: "markdown",
38790
38779
  markdownString,
38791
38780
  optixFlowConfig,
38792
- markdownStyles,
38793
- children
38781
+ markdownStyles
38794
38782
  }
38795
38783
  ),
38796
38784
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -38845,8 +38833,6 @@ function ArticleCompactTocComponent({
38845
38833
  heroImageSrc,
38846
38834
  heroImageAlt,
38847
38835
  heroMediaSlot,
38848
- children,
38849
- renderMode = "jsx",
38850
38836
  markdownString,
38851
38837
  markdownStyles,
38852
38838
  enableTocTracking = true,
@@ -39023,7 +39009,7 @@ function ArticleCompactTocComponent({
39023
39009
  }
39024
39010
  ),
39025
39011
  tocContent,
39026
- (children || renderMode === "markdown" && markdownString) && /* @__PURE__ */ jsxRuntime.jsxs(
39012
+ markdownString && /* @__PURE__ */ jsxRuntime.jsxs(
39027
39013
  "article",
39028
39014
  {
39029
39015
  className: cn(
@@ -39035,11 +39021,10 @@ function ArticleCompactTocComponent({
39035
39021
  /* @__PURE__ */ jsxRuntime.jsx(
39036
39022
  LongformContent,
39037
39023
  {
39038
- renderMode,
39024
+ renderMode: "markdown",
39039
39025
  markdownString,
39040
39026
  optixFlowConfig,
39041
- markdownStyles,
39042
- children
39027
+ markdownStyles
39043
39028
  }
39044
39029
  ),
39045
39030
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(
@@ -39090,8 +39075,6 @@ function ArticleChaptersAuthorComponent({
39090
39075
  conclusionDescription,
39091
39076
  conclusionActions,
39092
39077
  conclusionSlot,
39093
- children,
39094
- renderMode = "jsx",
39095
39078
  markdownString,
39096
39079
  markdownStyles,
39097
39080
  enableChapterTracking = true,
@@ -39350,11 +39333,10 @@ function ArticleChaptersAuthorComponent({
39350
39333
  /* @__PURE__ */ jsxRuntime.jsx(
39351
39334
  LongformContent,
39352
39335
  {
39353
- renderMode,
39336
+ renderMode: "markdown",
39354
39337
  markdownString,
39355
39338
  optixFlowConfig,
39356
- markdownStyles,
39357
- children
39339
+ markdownStyles
39358
39340
  }
39359
39341
  ),
39360
39342
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(
package/dist/registry.js CHANGED
@@ -37940,7 +37940,7 @@ function BlogCarouselAppleComponent({
37940
37940
  }
37941
37941
  function LongformContent({
37942
37942
  children,
37943
- renderMode = "jsx",
37943
+ renderMode = "markdown",
37944
37944
  markdownString,
37945
37945
  optixFlowConfig,
37946
37946
  markdownStyles
@@ -37979,8 +37979,6 @@ function ArticleHeroProseComponent({
37979
37979
  proseClassName,
37980
37980
  heroMediaSlot,
37981
37981
  authorSlot,
37982
- children,
37983
- renderMode = "jsx",
37984
37982
  markdownString,
37985
37983
  markdownStyles,
37986
37984
  dateFormat = "MMMM d, yyyy",
@@ -38094,7 +38092,7 @@ function ArticleHeroProseComponent({
38094
38092
  ]
38095
38093
  }
38096
38094
  ) }),
38097
- (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(
38098
38096
  "div",
38099
38097
  {
38100
38098
  className: cn(
@@ -38105,11 +38103,10 @@ function ArticleHeroProseComponent({
38105
38103
  children: /* @__PURE__ */ jsx(
38106
38104
  LongformContent,
38107
38105
  {
38108
- renderMode,
38106
+ renderMode: "markdown",
38109
38107
  markdownString,
38110
38108
  optixFlowConfig,
38111
- markdownStyles,
38112
- children
38109
+ markdownStyles
38113
38110
  }
38114
38111
  )
38115
38112
  }
@@ -38150,8 +38147,6 @@ function ArticleSidebarStickyComponent({
38150
38147
  heroImageSrc,
38151
38148
  heroImageAlt,
38152
38149
  heroMediaSlot,
38153
- children,
38154
- renderMode = "jsx",
38155
38150
  markdownString,
38156
38151
  markdownStyles,
38157
38152
  optixFlowConfig,
@@ -38278,11 +38273,10 @@ function ArticleSidebarStickyComponent({
38278
38273
  /* @__PURE__ */ jsx(
38279
38274
  LongformContent,
38280
38275
  {
38281
- renderMode,
38276
+ renderMode: "markdown",
38282
38277
  markdownString,
38283
38278
  optixFlowConfig,
38284
- markdownStyles,
38285
- children
38279
+ markdownStyles
38286
38280
  }
38287
38281
  ),
38288
38282
  /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsx(
@@ -38332,8 +38326,6 @@ function ArticleTocSidebarComponent({
38332
38326
  ctaDescription,
38333
38327
  ctaActions,
38334
38328
  ctaSlot,
38335
- children,
38336
- renderMode = "jsx",
38337
38329
  markdownString,
38338
38330
  markdownStyles,
38339
38331
  enableTocTracking = true,
@@ -38525,11 +38517,10 @@ function ArticleTocSidebarComponent({
38525
38517
  /* @__PURE__ */ jsx(
38526
38518
  LongformContent,
38527
38519
  {
38528
- renderMode,
38520
+ renderMode: "markdown",
38529
38521
  markdownString,
38530
38522
  optixFlowConfig,
38531
- markdownStyles,
38532
- children
38523
+ markdownStyles
38533
38524
  }
38534
38525
  ),
38535
38526
  /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsx(
@@ -38576,8 +38567,6 @@ function ArticleBreadcrumbSocialComponent({
38576
38567
  heroImageSrc,
38577
38568
  heroImageAlt,
38578
38569
  heroMediaSlot,
38579
- children,
38580
- renderMode = "jsx",
38581
38570
  markdownString,
38582
38571
  markdownStyles,
38583
38572
  enableTocTracking,
@@ -38723,7 +38712,7 @@ function ArticleBreadcrumbSocialComponent({
38723
38712
  /* @__PURE__ */ jsxs("div", { className: "relative", children: [
38724
38713
  breadcrumbsContent,
38725
38714
  /* @__PURE__ */ jsxs("div", { className: "grid gap-10 lg:grid-cols-[minmax(0,1fr)_280px]", children: [
38726
- (children || renderMode === "markdown" && markdownString) && /* @__PURE__ */ jsxs(
38715
+ markdownString && /* @__PURE__ */ jsxs(
38727
38716
  "article",
38728
38717
  {
38729
38718
  className: cn(
@@ -38746,11 +38735,10 @@ function ArticleBreadcrumbSocialComponent({
38746
38735
  /* @__PURE__ */ jsx(
38747
38736
  LongformContent,
38748
38737
  {
38749
- renderMode,
38738
+ renderMode: "markdown",
38750
38739
  markdownString,
38751
38740
  optixFlowConfig,
38752
- markdownStyles,
38753
- children
38741
+ markdownStyles
38754
38742
  }
38755
38743
  ),
38756
38744
  /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsx(
@@ -38805,8 +38793,6 @@ function ArticleCompactTocComponent({
38805
38793
  heroImageSrc,
38806
38794
  heroImageAlt,
38807
38795
  heroMediaSlot,
38808
- children,
38809
- renderMode = "jsx",
38810
38796
  markdownString,
38811
38797
  markdownStyles,
38812
38798
  enableTocTracking = true,
@@ -38983,7 +38969,7 @@ function ArticleCompactTocComponent({
38983
38969
  }
38984
38970
  ),
38985
38971
  tocContent,
38986
- (children || renderMode === "markdown" && markdownString) && /* @__PURE__ */ jsxs(
38972
+ markdownString && /* @__PURE__ */ jsxs(
38987
38973
  "article",
38988
38974
  {
38989
38975
  className: cn(
@@ -38995,11 +38981,10 @@ function ArticleCompactTocComponent({
38995
38981
  /* @__PURE__ */ jsx(
38996
38982
  LongformContent,
38997
38983
  {
38998
- renderMode,
38984
+ renderMode: "markdown",
38999
38985
  markdownString,
39000
38986
  optixFlowConfig,
39001
- markdownStyles,
39002
- children
38987
+ markdownStyles
39003
38988
  }
39004
38989
  ),
39005
38990
  /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsx(
@@ -39050,8 +39035,6 @@ function ArticleChaptersAuthorComponent({
39050
39035
  conclusionDescription,
39051
39036
  conclusionActions,
39052
39037
  conclusionSlot,
39053
- children,
39054
- renderMode = "jsx",
39055
39038
  markdownString,
39056
39039
  markdownStyles,
39057
39040
  enableChapterTracking = true,
@@ -39310,11 +39293,10 @@ function ArticleChaptersAuthorComponent({
39310
39293
  /* @__PURE__ */ jsx(
39311
39294
  LongformContent,
39312
39295
  {
39313
- renderMode,
39296
+ renderMode: "markdown",
39314
39297
  markdownString,
39315
39298
  optixFlowConfig,
39316
- markdownStyles,
39317
- children
39299
+ markdownStyles
39318
39300
  }
39319
39301
  ),
39320
39302
  /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsx(
@@ -77,6 +77,6 @@ interface SocialLinkIconProps extends Omit<PressableProps, "children">, SocialLi
77
77
  * />
78
78
  * ```
79
79
  */
80
- declare const SocialLinkIcon: React.ForwardRefExoticComponent<SocialLinkIconProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement | HTMLSpanElement>>;
80
+ declare const SocialLinkIcon: React.ForwardRefExoticComponent<SocialLinkIconProps & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement | HTMLSpanElement>>;
81
81
 
82
82
  export { SocialLinkIcon, type SocialLinkIconDynamicIconProps, type SocialLinkIconProps };
@@ -77,6 +77,6 @@ interface SocialLinkIconProps extends Omit<PressableProps, "children">, SocialLi
77
77
  * />
78
78
  * ```
79
79
  */
80
- declare const SocialLinkIcon: React.ForwardRefExoticComponent<SocialLinkIconProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement | HTMLSpanElement>>;
80
+ declare const SocialLinkIcon: React.ForwardRefExoticComponent<SocialLinkIconProps & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement | HTMLSpanElement>>;
81
81
 
82
82
  export { SocialLinkIcon, type SocialLinkIconDynamicIconProps, type SocialLinkIconProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensite/ui",
3
- "version": "3.3.0",
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",