@opensite/ui 2.6.7 → 2.6.9

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.
@@ -476,7 +476,7 @@ function BreadcrumbList({ className, ...props }) {
476
476
  {
477
477
  "data-slot": "breadcrumb-list",
478
478
  className: cn(
479
- "text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
479
+ "flex flex-wrap items-center gap-1.5 text-sm wrap-break-word sm:gap-2.5",
480
480
  className
481
481
  ),
482
482
  ...props
@@ -503,7 +503,7 @@ function BreadcrumbLink({
503
503
  Comp,
504
504
  {
505
505
  "data-slot": "breadcrumb-link",
506
- className: cn("hover:text-foreground transition-colors", className),
506
+ className: cn("hover:underline transition-colors", className),
507
507
  ...props
508
508
  }
509
509
  );
@@ -516,7 +516,7 @@ function BreadcrumbPage({ className, ...props }) {
516
516
  role: "link",
517
517
  "aria-disabled": "true",
518
518
  "aria-current": "page",
519
- className: cn("text-foreground font-normal", className),
519
+ className: cn("font-normal", className),
520
520
  ...props
521
521
  }
522
522
  );
@@ -1035,23 +1035,6 @@ function ArticleCompactTocComponent({
1035
1035
  /* @__PURE__ */ jsxRuntime.jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsxRuntime.jsx(BreadcrumbPage, { children: currentPage }) })
1036
1036
  ] }) });
1037
1037
  }, [breadcrumbsSlot, breadcrumbs, currentPage, breadcrumbClassName]);
1038
- const shareContent = React5__namespace.useMemo(() => {
1039
- if (shareSlot) return shareSlot;
1040
- if (!socialLinks || socialLinks.length === 0) return null;
1041
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mt-6 flex items-center gap-2", shareClassName), children: [
1042
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm", children: "Share:" }),
1043
- socialLinks.map((link, index) => /* @__PURE__ */ jsxRuntime.jsx(
1044
- Pressable,
1045
- {
1046
- href: link.href,
1047
- className: "flex h-8 w-8 items-center justify-center rounded-md hover:bg-muted",
1048
- "aria-label": link["aria-label"] || `Share on ${link.platform}`,
1049
- children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: `lucide/${link.platform}`, size: 16 })
1050
- },
1051
- index
1052
- ))
1053
- ] });
1054
- }, [shareSlot, socialLinks, shareClassName]);
1055
1038
  const renderTocLinks = React5__namespace.useCallback(
1056
1039
  (onLinkClick) => {
1057
1040
  if (!sections) return null;
@@ -1158,7 +1141,7 @@ function ArticleCompactTocComponent({
1158
1141
  "h1",
1159
1142
  {
1160
1143
  className: cn(
1161
- "text-3xl font-bold tracking-tight md:text-4xl lg:text-5xl",
1144
+ "text-3xl font-bold tracking-tight md:text-4xl lg:text-5xl mb-6",
1162
1145
  titleClassName
1163
1146
  ),
1164
1147
  children: title
@@ -1168,7 +1151,7 @@ function ArticleCompactTocComponent({
1168
1151
  "div",
1169
1152
  {
1170
1153
  className: cn(
1171
- "mt-4 flex flex-wrap items-center gap-4 text-sm",
1154
+ "mt-4 flex flex-wrap items-center gap-2 md:gap-4 text-sm mb-6 md:mb-12",
1172
1155
  metaClassName
1173
1156
  ),
1174
1157
  children: [
@@ -1180,7 +1163,6 @@ function ArticleCompactTocComponent({
1180
1163
  ]
1181
1164
  }
1182
1165
  ),
1183
- shareContent,
1184
1166
  tocContent,
1185
1167
  children && /* @__PURE__ */ jsxRuntime.jsxs(
1186
1168
  "article",
@@ -453,7 +453,7 @@ function BreadcrumbList({ className, ...props }) {
453
453
  {
454
454
  "data-slot": "breadcrumb-list",
455
455
  className: cn(
456
- "text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
456
+ "flex flex-wrap items-center gap-1.5 text-sm wrap-break-word sm:gap-2.5",
457
457
  className
458
458
  ),
459
459
  ...props
@@ -480,7 +480,7 @@ function BreadcrumbLink({
480
480
  Comp,
481
481
  {
482
482
  "data-slot": "breadcrumb-link",
483
- className: cn("hover:text-foreground transition-colors", className),
483
+ className: cn("hover:underline transition-colors", className),
484
484
  ...props
485
485
  }
486
486
  );
@@ -493,7 +493,7 @@ function BreadcrumbPage({ className, ...props }) {
493
493
  role: "link",
494
494
  "aria-disabled": "true",
495
495
  "aria-current": "page",
496
- className: cn("text-foreground font-normal", className),
496
+ className: cn("font-normal", className),
497
497
  ...props
498
498
  }
499
499
  );
@@ -1012,23 +1012,6 @@ function ArticleCompactTocComponent({
1012
1012
  /* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbPage, { children: currentPage }) })
1013
1013
  ] }) });
1014
1014
  }, [breadcrumbsSlot, breadcrumbs, currentPage, breadcrumbClassName]);
1015
- const shareContent = React5.useMemo(() => {
1016
- if (shareSlot) return shareSlot;
1017
- if (!socialLinks || socialLinks.length === 0) return null;
1018
- return /* @__PURE__ */ jsxs("div", { className: cn("mt-6 flex items-center gap-2", shareClassName), children: [
1019
- /* @__PURE__ */ jsx("span", { className: "text-sm", children: "Share:" }),
1020
- socialLinks.map((link, index) => /* @__PURE__ */ jsx(
1021
- Pressable,
1022
- {
1023
- href: link.href,
1024
- className: "flex h-8 w-8 items-center justify-center rounded-md hover:bg-muted",
1025
- "aria-label": link["aria-label"] || `Share on ${link.platform}`,
1026
- children: /* @__PURE__ */ jsx(DynamicIcon, { name: `lucide/${link.platform}`, size: 16 })
1027
- },
1028
- index
1029
- ))
1030
- ] });
1031
- }, [shareSlot, socialLinks, shareClassName]);
1032
1015
  const renderTocLinks = React5.useCallback(
1033
1016
  (onLinkClick) => {
1034
1017
  if (!sections) return null;
@@ -1135,7 +1118,7 @@ function ArticleCompactTocComponent({
1135
1118
  "h1",
1136
1119
  {
1137
1120
  className: cn(
1138
- "text-3xl font-bold tracking-tight md:text-4xl lg:text-5xl",
1121
+ "text-3xl font-bold tracking-tight md:text-4xl lg:text-5xl mb-6",
1139
1122
  titleClassName
1140
1123
  ),
1141
1124
  children: title
@@ -1145,7 +1128,7 @@ function ArticleCompactTocComponent({
1145
1128
  "div",
1146
1129
  {
1147
1130
  className: cn(
1148
- "mt-4 flex flex-wrap items-center gap-4 text-sm",
1131
+ "mt-4 flex flex-wrap items-center gap-2 md:gap-4 text-sm mb-6 md:mb-12",
1149
1132
  metaClassName
1150
1133
  ),
1151
1134
  children: [
@@ -1157,7 +1140,6 @@ function ArticleCompactTocComponent({
1157
1140
  ]
1158
1141
  }
1159
1142
  ),
1160
- shareContent,
1161
1143
  tocContent,
1162
1144
  children && /* @__PURE__ */ jsxs(
1163
1145
  "article",
@@ -896,7 +896,7 @@ function ArticleHeroProseComponent({
896
896
  dateFormat = "MMMM d, yyyy",
897
897
  optixFlowConfig,
898
898
  background,
899
- containerClassName,
899
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
900
900
  spacing = "hero",
901
901
  pattern,
902
902
  patternOpacity
@@ -1003,7 +1003,7 @@ function ArticleHeroProseComponent({
1003
1003
  ]
1004
1004
  }
1005
1005
  ) }),
1006
- children && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col items-center", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsx(
1006
+ children && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col items-center", children: /* @__PURE__ */ jsxRuntime.jsx(
1007
1007
  "div",
1008
1008
  {
1009
1009
  className: cn(
@@ -874,7 +874,7 @@ function ArticleHeroProseComponent({
874
874
  dateFormat = "MMMM d, yyyy",
875
875
  optixFlowConfig,
876
876
  background,
877
- containerClassName,
877
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
878
878
  spacing = "hero",
879
879
  pattern,
880
880
  patternOpacity
@@ -981,7 +981,7 @@ function ArticleHeroProseComponent({
981
981
  ]
982
982
  }
983
983
  ) }),
984
- children && /* @__PURE__ */ jsx("div", { className: cn("flex flex-col items-center", containerClassName), children: /* @__PURE__ */ jsx(
984
+ children && /* @__PURE__ */ jsx("div", { className: "flex flex-col items-center", children: /* @__PURE__ */ jsx(
985
985
  "div",
986
986
  {
987
987
  className: cn(
@@ -1048,7 +1048,7 @@ function ArticleSplitAnimatedComponent({
1048
1048
  children: [
1049
1049
  heroMediaContent,
1050
1050
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 bg-linear-to-t from-black/60 via-transparent to-transparent" }),
1051
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute bottom-0 left-0 p-6", children: categoryContent })
1051
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute bottom-0 left-0 p-4 md:p-6", children: categoryContent })
1052
1052
  ]
1053
1053
  }
1054
1054
  ),
@@ -1025,7 +1025,7 @@ function ArticleSplitAnimatedComponent({
1025
1025
  children: [
1026
1026
  heroMediaContent,
1027
1027
  /* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-linear-to-t from-black/60 via-transparent to-transparent" }),
1028
- /* @__PURE__ */ jsx("div", { className: "absolute bottom-0 left-0 p-6", children: categoryContent })
1028
+ /* @__PURE__ */ jsx("div", { className: "absolute bottom-0 left-0 p-4 md:p-6", children: categoryContent })
1029
1029
  ]
1030
1030
  }
1031
1031
  ),
@@ -506,7 +506,7 @@ function BreadcrumbList({ className, ...props }) {
506
506
  {
507
507
  "data-slot": "breadcrumb-list",
508
508
  className: cn(
509
- "text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
509
+ "flex flex-wrap items-center gap-1.5 text-sm wrap-break-word sm:gap-2.5",
510
510
  className
511
511
  ),
512
512
  ...props
@@ -533,7 +533,7 @@ function BreadcrumbLink({
533
533
  Comp,
534
534
  {
535
535
  "data-slot": "breadcrumb-link",
536
- className: cn("hover:text-foreground transition-colors", className),
536
+ className: cn("hover:underline transition-colors", className),
537
537
  ...props
538
538
  }
539
539
  );
@@ -482,7 +482,7 @@ function BreadcrumbList({ className, ...props }) {
482
482
  {
483
483
  "data-slot": "breadcrumb-list",
484
484
  className: cn(
485
- "text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
485
+ "flex flex-wrap items-center gap-1.5 text-sm wrap-break-word sm:gap-2.5",
486
486
  className
487
487
  ),
488
488
  ...props
@@ -509,7 +509,7 @@ function BreadcrumbLink({
509
509
  Comp,
510
510
  {
511
511
  "data-slot": "breadcrumb-link",
512
- className: cn("hover:text-foreground transition-colors", className),
512
+ className: cn("hover:underline transition-colors", className),
513
513
  ...props
514
514
  }
515
515
  );
@@ -474,7 +474,7 @@ function BreadcrumbList({ className, ...props }) {
474
474
  {
475
475
  "data-slot": "breadcrumb-list",
476
476
  className: cn(
477
- "text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
477
+ "flex flex-wrap items-center gap-1.5 text-sm wrap-break-word sm:gap-2.5",
478
478
  className
479
479
  ),
480
480
  ...props
@@ -501,7 +501,7 @@ function BreadcrumbLink({
501
501
  Comp,
502
502
  {
503
503
  "data-slot": "breadcrumb-link",
504
- className: cn("hover:text-foreground transition-colors", className),
504
+ className: cn("hover:underline transition-colors", className),
505
505
  ...props
506
506
  }
507
507
  );
@@ -514,7 +514,7 @@ function BreadcrumbPage({ className, ...props }) {
514
514
  role: "link",
515
515
  "aria-disabled": "true",
516
516
  "aria-current": "page",
517
- className: cn("text-foreground font-normal", className),
517
+ className: cn("font-normal", className),
518
518
  ...props
519
519
  }
520
520
  );
@@ -452,7 +452,7 @@ function BreadcrumbList({ className, ...props }) {
452
452
  {
453
453
  "data-slot": "breadcrumb-list",
454
454
  className: cn(
455
- "text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
455
+ "flex flex-wrap items-center gap-1.5 text-sm wrap-break-word sm:gap-2.5",
456
456
  className
457
457
  ),
458
458
  ...props
@@ -479,7 +479,7 @@ function BreadcrumbLink({
479
479
  Comp,
480
480
  {
481
481
  "data-slot": "breadcrumb-link",
482
- className: cn("hover:text-foreground transition-colors", className),
482
+ className: cn("hover:underline transition-colors", className),
483
483
  ...props
484
484
  }
485
485
  );
@@ -492,7 +492,7 @@ function BreadcrumbPage({ className, ...props }) {
492
492
  role: "link",
493
493
  "aria-disabled": "true",
494
494
  "aria-current": "page",
495
- className: cn("text-foreground font-normal", className),
495
+ className: cn("font-normal", className),
496
496
  ...props
497
497
  }
498
498
  );
@@ -505,7 +505,7 @@ function BreadcrumbList({ className, ...props }) {
505
505
  {
506
506
  "data-slot": "breadcrumb-list",
507
507
  className: cn(
508
- "text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
508
+ "flex flex-wrap items-center gap-1.5 text-sm wrap-break-word sm:gap-2.5",
509
509
  className
510
510
  ),
511
511
  ...props
@@ -532,7 +532,7 @@ function BreadcrumbLink({
532
532
  Comp,
533
533
  {
534
534
  "data-slot": "breadcrumb-link",
535
- className: cn("hover:text-foreground transition-colors", className),
535
+ className: cn("hover:underline transition-colors", className),
536
536
  ...props
537
537
  }
538
538
  );
@@ -545,7 +545,7 @@ function BreadcrumbPage({ className, ...props }) {
545
545
  role: "link",
546
546
  "aria-disabled": "true",
547
547
  "aria-current": "page",
548
- className: cn("text-foreground font-normal", className),
548
+ className: cn("font-normal", className),
549
549
  ...props
550
550
  }
551
551
  );
@@ -482,7 +482,7 @@ function BreadcrumbList({ className, ...props }) {
482
482
  {
483
483
  "data-slot": "breadcrumb-list",
484
484
  className: cn(
485
- "text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
485
+ "flex flex-wrap items-center gap-1.5 text-sm wrap-break-word sm:gap-2.5",
486
486
  className
487
487
  ),
488
488
  ...props
@@ -509,7 +509,7 @@ function BreadcrumbLink({
509
509
  Comp,
510
510
  {
511
511
  "data-slot": "breadcrumb-link",
512
- className: cn("hover:text-foreground transition-colors", className),
512
+ className: cn("hover:underline transition-colors", className),
513
513
  ...props
514
514
  }
515
515
  );
@@ -522,7 +522,7 @@ function BreadcrumbPage({ className, ...props }) {
522
522
  role: "link",
523
523
  "aria-disabled": "true",
524
524
  "aria-current": "page",
525
- className: cn("text-foreground font-normal", className),
525
+ className: cn("font-normal", className),
526
526
  ...props
527
527
  }
528
528
  );
@@ -944,7 +944,7 @@ function HeroEventRegistration({
944
944
  locationSublabel,
945
945
  locationSlot,
946
946
  background,
947
- containerClassName = "mx-auto w-full max-w-full md:max-w-7xl relative z-10 px-6 sm:px-8 md:px-12 lg:px-18",
947
+ containerClassName = "mx-auto w-full max-w-full md:max-w-7xl relative z-10 px-6",
948
948
  spacing = "py-16 md:py-40",
949
949
  pattern,
950
950
  patternOpacity,
@@ -923,7 +923,7 @@ function HeroEventRegistration({
923
923
  locationSublabel,
924
924
  locationSlot,
925
925
  background,
926
- containerClassName = "mx-auto w-full max-w-full md:max-w-7xl relative z-10 px-6 sm:px-8 md:px-12 lg:px-18",
926
+ containerClassName = "mx-auto w-full max-w-full md:max-w-7xl relative z-10 px-6",
927
927
  spacing = "py-16 md:py-40",
928
928
  pattern,
929
929
  patternOpacity,
package/dist/registry.cjs CHANGED
@@ -36468,7 +36468,7 @@ function BreadcrumbList({ className, ...props }) {
36468
36468
  {
36469
36469
  "data-slot": "breadcrumb-list",
36470
36470
  className: cn(
36471
- "text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
36471
+ "flex flex-wrap items-center gap-1.5 text-sm wrap-break-word sm:gap-2.5",
36472
36472
  className
36473
36473
  ),
36474
36474
  ...props
@@ -36495,7 +36495,7 @@ function BreadcrumbLink({
36495
36495
  Comp,
36496
36496
  {
36497
36497
  "data-slot": "breadcrumb-link",
36498
- className: cn("hover:text-foreground transition-colors", className),
36498
+ className: cn("hover:underline transition-colors", className),
36499
36499
  ...props
36500
36500
  }
36501
36501
  );
@@ -36508,7 +36508,7 @@ function BreadcrumbPage({ className, ...props }) {
36508
36508
  role: "link",
36509
36509
  "aria-disabled": "true",
36510
36510
  "aria-current": "page",
36511
- className: cn("text-foreground font-normal", className),
36511
+ className: cn("font-normal", className),
36512
36512
  ...props
36513
36513
  }
36514
36514
  );
@@ -37620,7 +37620,7 @@ function ArticleHeroProseComponent({
37620
37620
  dateFormat = "MMMM d, yyyy",
37621
37621
  optixFlowConfig,
37622
37622
  background,
37623
- containerClassName,
37623
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
37624
37624
  spacing = "hero",
37625
37625
  pattern,
37626
37626
  patternOpacity
@@ -37727,7 +37727,7 @@ function ArticleHeroProseComponent({
37727
37727
  ]
37728
37728
  }
37729
37729
  ) }),
37730
- children && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("flex flex-col items-center", containerClassName), children: /* @__PURE__ */ jsxRuntime.jsx(
37730
+ children && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col items-center", children: /* @__PURE__ */ jsxRuntime.jsx(
37731
37731
  "div",
37732
37732
  {
37733
37733
  className: cn(
@@ -38400,23 +38400,6 @@ function ArticleCompactTocComponent({
38400
38400
  /* @__PURE__ */ jsxRuntime.jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsxRuntime.jsx(BreadcrumbPage, { children: currentPage }) })
38401
38401
  ] }) });
38402
38402
  }, [breadcrumbsSlot, breadcrumbs, currentPage, breadcrumbClassName]);
38403
- const shareContent = React30__namespace.useMemo(() => {
38404
- if (shareSlot) return shareSlot;
38405
- if (!socialLinks || socialLinks.length === 0) return null;
38406
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mt-6 flex items-center gap-2", shareClassName), children: [
38407
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm", children: "Share:" }),
38408
- socialLinks.map((link, index) => /* @__PURE__ */ jsxRuntime.jsx(
38409
- Pressable,
38410
- {
38411
- href: link.href,
38412
- className: "flex h-8 w-8 items-center justify-center rounded-md hover:bg-muted",
38413
- "aria-label": link["aria-label"] || `Share on ${link.platform}`,
38414
- children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: `lucide/${link.platform}`, size: 16 })
38415
- },
38416
- index
38417
- ))
38418
- ] });
38419
- }, [shareSlot, socialLinks, shareClassName]);
38420
38403
  const renderTocLinks = React30__namespace.useCallback(
38421
38404
  (onLinkClick) => {
38422
38405
  if (!sections) return null;
@@ -38523,7 +38506,7 @@ function ArticleCompactTocComponent({
38523
38506
  "h1",
38524
38507
  {
38525
38508
  className: cn(
38526
- "text-3xl font-bold tracking-tight md:text-4xl lg:text-5xl",
38509
+ "text-3xl font-bold tracking-tight md:text-4xl lg:text-5xl mb-6",
38527
38510
  titleClassName
38528
38511
  ),
38529
38512
  children: title
@@ -38533,7 +38516,7 @@ function ArticleCompactTocComponent({
38533
38516
  "div",
38534
38517
  {
38535
38518
  className: cn(
38536
- "mt-4 flex flex-wrap items-center gap-4 text-sm",
38519
+ "mt-4 flex flex-wrap items-center gap-2 md:gap-4 text-sm mb-6 md:mb-12",
38537
38520
  metaClassName
38538
38521
  ),
38539
38522
  children: [
@@ -38545,7 +38528,6 @@ function ArticleCompactTocComponent({
38545
38528
  ]
38546
38529
  }
38547
38530
  ),
38548
- shareContent,
38549
38531
  tocContent,
38550
38532
  children && /* @__PURE__ */ jsxRuntime.jsxs(
38551
38533
  "article",
@@ -38689,19 +38671,7 @@ function ArticleChaptersAuthorComponent({
38689
38671
  if (author.socialLinks) {
38690
38672
  if (Array.isArray(author.socialLinks)) {
38691
38673
  if (author.socialLinks.length > 0) {
38692
- socialLinksContent = /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-4 flex gap-2", children: author.socialLinks.map((link, index) => /* @__PURE__ */ jsxRuntime.jsx(
38693
- Pressable,
38694
- {
38695
- href: link.href,
38696
- className: cn(
38697
- "flex h-8 w-8 items-center justify-center rounded-md border",
38698
- link.className
38699
- ),
38700
- "aria-label": link["aria-label"],
38701
- children: link.icon ?? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: `lucide/${link.platform}`, size: 14 })
38702
- },
38703
- index
38704
- )) });
38674
+ socialLinksContent = /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-4 flex gap-2", children: author.socialLinks.map((link, index) => /* @__PURE__ */ jsxRuntime.jsx(SocialLinkIcon, { href: link.href }, index)) });
38705
38675
  }
38706
38676
  } else {
38707
38677
  const links = author.socialLinks;
@@ -39023,7 +38993,7 @@ function ArticleSplitAnimatedComponent({
39023
38993
  children: [
39024
38994
  heroMediaContent,
39025
38995
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 bg-linear-to-t from-black/60 via-transparent to-transparent" }),
39026
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute bottom-0 left-0 p-6", children: categoryContent })
38996
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute bottom-0 left-0 p-4 md:p-6", children: categoryContent })
39027
38997
  ]
39028
38998
  }
39029
38999
  ),
@@ -58638,7 +58608,7 @@ function HeroEventRegistration({
58638
58608
  locationSublabel,
58639
58609
  locationSlot,
58640
58610
  background,
58641
- containerClassName = "mx-auto w-full max-w-full md:max-w-7xl relative z-10 px-6 sm:px-8 md:px-12 lg:px-18",
58611
+ containerClassName = "mx-auto w-full max-w-full md:max-w-7xl relative z-10 px-6",
58642
58612
  spacing = "py-16 md:py-40",
58643
58613
  pattern,
58644
58614
  patternOpacity,
package/dist/registry.js CHANGED
@@ -36428,7 +36428,7 @@ function BreadcrumbList({ className, ...props }) {
36428
36428
  {
36429
36429
  "data-slot": "breadcrumb-list",
36430
36430
  className: cn(
36431
- "text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
36431
+ "flex flex-wrap items-center gap-1.5 text-sm wrap-break-word sm:gap-2.5",
36432
36432
  className
36433
36433
  ),
36434
36434
  ...props
@@ -36455,7 +36455,7 @@ function BreadcrumbLink({
36455
36455
  Comp,
36456
36456
  {
36457
36457
  "data-slot": "breadcrumb-link",
36458
- className: cn("hover:text-foreground transition-colors", className),
36458
+ className: cn("hover:underline transition-colors", className),
36459
36459
  ...props
36460
36460
  }
36461
36461
  );
@@ -36468,7 +36468,7 @@ function BreadcrumbPage({ className, ...props }) {
36468
36468
  role: "link",
36469
36469
  "aria-disabled": "true",
36470
36470
  "aria-current": "page",
36471
- className: cn("text-foreground font-normal", className),
36471
+ className: cn("font-normal", className),
36472
36472
  ...props
36473
36473
  }
36474
36474
  );
@@ -37580,7 +37580,7 @@ function ArticleHeroProseComponent({
37580
37580
  dateFormat = "MMMM d, yyyy",
37581
37581
  optixFlowConfig,
37582
37582
  background,
37583
- containerClassName,
37583
+ containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
37584
37584
  spacing = "hero",
37585
37585
  pattern,
37586
37586
  patternOpacity
@@ -37687,7 +37687,7 @@ function ArticleHeroProseComponent({
37687
37687
  ]
37688
37688
  }
37689
37689
  ) }),
37690
- children && /* @__PURE__ */ jsx("div", { className: cn("flex flex-col items-center", containerClassName), children: /* @__PURE__ */ jsx(
37690
+ children && /* @__PURE__ */ jsx("div", { className: "flex flex-col items-center", children: /* @__PURE__ */ jsx(
37691
37691
  "div",
37692
37692
  {
37693
37693
  className: cn(
@@ -38360,23 +38360,6 @@ function ArticleCompactTocComponent({
38360
38360
  /* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbPage, { children: currentPage }) })
38361
38361
  ] }) });
38362
38362
  }, [breadcrumbsSlot, breadcrumbs, currentPage, breadcrumbClassName]);
38363
- const shareContent = React30.useMemo(() => {
38364
- if (shareSlot) return shareSlot;
38365
- if (!socialLinks || socialLinks.length === 0) return null;
38366
- return /* @__PURE__ */ jsxs("div", { className: cn("mt-6 flex items-center gap-2", shareClassName), children: [
38367
- /* @__PURE__ */ jsx("span", { className: "text-sm", children: "Share:" }),
38368
- socialLinks.map((link, index) => /* @__PURE__ */ jsx(
38369
- Pressable,
38370
- {
38371
- href: link.href,
38372
- className: "flex h-8 w-8 items-center justify-center rounded-md hover:bg-muted",
38373
- "aria-label": link["aria-label"] || `Share on ${link.platform}`,
38374
- children: /* @__PURE__ */ jsx(DynamicIcon, { name: `lucide/${link.platform}`, size: 16 })
38375
- },
38376
- index
38377
- ))
38378
- ] });
38379
- }, [shareSlot, socialLinks, shareClassName]);
38380
38363
  const renderTocLinks = React30.useCallback(
38381
38364
  (onLinkClick) => {
38382
38365
  if (!sections) return null;
@@ -38483,7 +38466,7 @@ function ArticleCompactTocComponent({
38483
38466
  "h1",
38484
38467
  {
38485
38468
  className: cn(
38486
- "text-3xl font-bold tracking-tight md:text-4xl lg:text-5xl",
38469
+ "text-3xl font-bold tracking-tight md:text-4xl lg:text-5xl mb-6",
38487
38470
  titleClassName
38488
38471
  ),
38489
38472
  children: title
@@ -38493,7 +38476,7 @@ function ArticleCompactTocComponent({
38493
38476
  "div",
38494
38477
  {
38495
38478
  className: cn(
38496
- "mt-4 flex flex-wrap items-center gap-4 text-sm",
38479
+ "mt-4 flex flex-wrap items-center gap-2 md:gap-4 text-sm mb-6 md:mb-12",
38497
38480
  metaClassName
38498
38481
  ),
38499
38482
  children: [
@@ -38505,7 +38488,6 @@ function ArticleCompactTocComponent({
38505
38488
  ]
38506
38489
  }
38507
38490
  ),
38508
- shareContent,
38509
38491
  tocContent,
38510
38492
  children && /* @__PURE__ */ jsxs(
38511
38493
  "article",
@@ -38649,19 +38631,7 @@ function ArticleChaptersAuthorComponent({
38649
38631
  if (author.socialLinks) {
38650
38632
  if (Array.isArray(author.socialLinks)) {
38651
38633
  if (author.socialLinks.length > 0) {
38652
- socialLinksContent = /* @__PURE__ */ jsx("div", { className: "mt-4 flex gap-2", children: author.socialLinks.map((link, index) => /* @__PURE__ */ jsx(
38653
- Pressable,
38654
- {
38655
- href: link.href,
38656
- className: cn(
38657
- "flex h-8 w-8 items-center justify-center rounded-md border",
38658
- link.className
38659
- ),
38660
- "aria-label": link["aria-label"],
38661
- children: link.icon ?? /* @__PURE__ */ jsx(DynamicIcon, { name: `lucide/${link.platform}`, size: 14 })
38662
- },
38663
- index
38664
- )) });
38634
+ socialLinksContent = /* @__PURE__ */ jsx("div", { className: "mt-4 flex gap-2", children: author.socialLinks.map((link, index) => /* @__PURE__ */ jsx(SocialLinkIcon, { href: link.href }, index)) });
38665
38635
  }
38666
38636
  } else {
38667
38637
  const links = author.socialLinks;
@@ -38983,7 +38953,7 @@ function ArticleSplitAnimatedComponent({
38983
38953
  children: [
38984
38954
  heroMediaContent,
38985
38955
  /* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-linear-to-t from-black/60 via-transparent to-transparent" }),
38986
- /* @__PURE__ */ jsx("div", { className: "absolute bottom-0 left-0 p-6", children: categoryContent })
38956
+ /* @__PURE__ */ jsx("div", { className: "absolute bottom-0 left-0 p-4 md:p-6", children: categoryContent })
38987
38957
  ]
38988
38958
  }
38989
38959
  ),
@@ -58598,7 +58568,7 @@ function HeroEventRegistration({
58598
58568
  locationSublabel,
58599
58569
  locationSlot,
58600
58570
  background,
58601
- containerClassName = "mx-auto w-full max-w-full md:max-w-7xl relative z-10 px-6 sm:px-8 md:px-12 lg:px-18",
58571
+ containerClassName = "mx-auto w-full max-w-full md:max-w-7xl relative z-10 px-6",
58602
58572
  spacing = "py-16 md:py-40",
58603
58573
  pattern,
58604
58574
  patternOpacity,
@@ -505,7 +505,7 @@ function BreadcrumbList({ className, ...props }) {
505
505
  {
506
506
  "data-slot": "breadcrumb-list",
507
507
  className: cn(
508
- "text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
508
+ "flex flex-wrap items-center gap-1.5 text-sm wrap-break-word sm:gap-2.5",
509
509
  className
510
510
  ),
511
511
  ...props
@@ -532,7 +532,7 @@ function BreadcrumbLink({
532
532
  Comp,
533
533
  {
534
534
  "data-slot": "breadcrumb-link",
535
- className: cn("hover:text-foreground transition-colors", className),
535
+ className: cn("hover:underline transition-colors", className),
536
536
  ...props
537
537
  }
538
538
  );
@@ -545,7 +545,7 @@ function BreadcrumbPage({ className, ...props }) {
545
545
  role: "link",
546
546
  "aria-disabled": "true",
547
547
  "aria-current": "page",
548
- className: cn("text-foreground font-normal", className),
548
+ className: cn("font-normal", className),
549
549
  ...props
550
550
  }
551
551
  );