@opensite/ui 2.6.6 → 2.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/article-breadcrumb-social.cjs +10 -31
- package/dist/article-breadcrumb-social.d.cts +5 -1
- package/dist/article-breadcrumb-social.d.ts +5 -1
- package/dist/article-breadcrumb-social.js +10 -30
- package/dist/article-chapters-author.cjs +112 -74
- package/dist/article-chapters-author.d.cts +5 -1
- package/dist/article-chapters-author.d.ts +5 -1
- package/dist/article-chapters-author.js +112 -74
- package/dist/article-compact-toc.cjs +25 -51
- package/dist/article-compact-toc.d.cts +5 -1
- package/dist/article-compact-toc.d.ts +5 -1
- package/dist/article-compact-toc.js +25 -51
- package/dist/article-sidebar-sticky.cjs +2 -2
- package/dist/article-sidebar-sticky.js +2 -2
- package/dist/article-split-animated.cjs +10 -29
- package/dist/article-split-animated.d.cts +1 -11
- package/dist/article-split-animated.d.ts +1 -11
- package/dist/article-split-animated.js +10 -29
- package/dist/blog-filtered-results.cjs +2 -2
- package/dist/blog-filtered-results.js +2 -2
- package/dist/carousel-portfolio-hero.cjs +1 -1
- package/dist/carousel-portfolio-hero.js +1 -1
- package/dist/case-study-stats-metrics.cjs +3 -3
- package/dist/case-study-stats-metrics.js +3 -3
- package/dist/case-study-toc-social-sidebar.cjs +3 -3
- package/dist/case-study-toc-social-sidebar.js +3 -3
- package/dist/hero-event-registration.cjs +1 -1
- package/dist/hero-event-registration.js +1 -1
- package/dist/registry.cjs +54 -112
- package/dist/registry.js +54 -112
- package/dist/resource-detail-document-sidebar.cjs +3 -3
- package/dist/resource-detail-document-sidebar.js +3 -3
- package/dist/resource-list-hero-filter.cjs +2 -2
- package/dist/resource-list-hero-filter.js +2 -2
- package/package.json +1 -1
package/dist/registry.js
CHANGED
|
@@ -21201,7 +21201,7 @@ function CarouselPortfolioHero({
|
|
|
21201
21201
|
"div",
|
|
21202
21202
|
{
|
|
21203
21203
|
className: cn(
|
|
21204
|
-
"ml-auto flex items-center gap-2",
|
|
21204
|
+
"ml-auto flex items-center gap-2 mt-4 md:mt-8",
|
|
21205
21205
|
navigationClassName
|
|
21206
21206
|
),
|
|
21207
21207
|
children: [
|
|
@@ -36428,7 +36428,7 @@ function BreadcrumbList({ className, ...props }) {
|
|
|
36428
36428
|
{
|
|
36429
36429
|
"data-slot": "breadcrumb-list",
|
|
36430
36430
|
className: cn(
|
|
36431
|
-
"
|
|
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:
|
|
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("
|
|
36471
|
+
className: cn("font-normal", className),
|
|
36472
36472
|
...props
|
|
36473
36473
|
}
|
|
36474
36474
|
);
|
|
@@ -37742,7 +37742,7 @@ function ArticleSidebarStickyComponent({
|
|
|
37742
37742
|
{
|
|
37743
37743
|
href: backHref,
|
|
37744
37744
|
className: cn(
|
|
37745
|
-
"inline-flex items-center gap-2 text-sm
|
|
37745
|
+
"inline-flex items-center gap-2 text-sm",
|
|
37746
37746
|
backLinkClassName
|
|
37747
37747
|
),
|
|
37748
37748
|
children: [
|
|
@@ -37771,7 +37771,7 @@ function ArticleSidebarStickyComponent({
|
|
|
37771
37771
|
children: authorName
|
|
37772
37772
|
}
|
|
37773
37773
|
) : /* @__PURE__ */ jsx("p", { className: "text-sm font-medium", children: authorName }),
|
|
37774
|
-
publishDate && /* @__PURE__ */ jsx("p", { className: "text-xs
|
|
37774
|
+
publishDate && /* @__PURE__ */ jsx("p", { className: "text-xs", children: publishDate })
|
|
37775
37775
|
] })
|
|
37776
37776
|
] });
|
|
37777
37777
|
},
|
|
@@ -38114,7 +38114,8 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38114
38114
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
38115
38115
|
spacing = "hero",
|
|
38116
38116
|
pattern,
|
|
38117
|
-
patternOpacity
|
|
38117
|
+
patternOpacity,
|
|
38118
|
+
patternClassName
|
|
38118
38119
|
}) {
|
|
38119
38120
|
const [activeSection, setActiveSection] = React30.useState(
|
|
38120
38121
|
sections?.[0]?.id || ""
|
|
@@ -38181,7 +38182,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38181
38182
|
] }),
|
|
38182
38183
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
38183
38184
|
author.name && /* @__PURE__ */ jsx("p", { className: "font-medium", children: author.name }),
|
|
38184
|
-
(author.role || publishDate || readTime) && /* @__PURE__ */ jsx("p", { className: "text-sm
|
|
38185
|
+
(author.role || publishDate || readTime) && /* @__PURE__ */ jsx("p", { className: "text-sm", children: [author.role, publishDate, readTime].filter(Boolean).join(" \xB7 ") })
|
|
38185
38186
|
] })
|
|
38186
38187
|
]
|
|
38187
38188
|
}
|
|
@@ -38225,7 +38226,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38225
38226
|
href: `#${section.id}`,
|
|
38226
38227
|
className: cn(
|
|
38227
38228
|
"block text-sm transition-colors",
|
|
38228
|
-
isActive ? "
|
|
38229
|
+
isActive ? "underline" : ""
|
|
38229
38230
|
),
|
|
38230
38231
|
children: section.title
|
|
38231
38232
|
},
|
|
@@ -38241,7 +38242,8 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38241
38242
|
spacing,
|
|
38242
38243
|
pattern,
|
|
38243
38244
|
patternOpacity,
|
|
38244
|
-
|
|
38245
|
+
patternClassName,
|
|
38246
|
+
className: cn(pattern && "overflow-visible", className),
|
|
38245
38247
|
containerClassName,
|
|
38246
38248
|
children: [
|
|
38247
38249
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
@@ -38266,7 +38268,6 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38266
38268
|
}
|
|
38267
38269
|
) : title),
|
|
38268
38270
|
authorContent,
|
|
38269
|
-
/* @__PURE__ */ jsx(Separator, { className: "my-8" }),
|
|
38270
38271
|
heroMediaContent,
|
|
38271
38272
|
children
|
|
38272
38273
|
]
|
|
@@ -38279,7 +38280,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38279
38280
|
"button",
|
|
38280
38281
|
{
|
|
38281
38282
|
onClick: scrollToTop,
|
|
38282
|
-
className: "fixed bottom-8 right-8 flex h-10 w-10 items-center justify-center rounded-full
|
|
38283
|
+
className: "fixed bottom-8 right-8 flex h-10 w-10 items-center justify-center rounded-full shadow-lg transition-opacity hover:opacity-90",
|
|
38283
38284
|
"aria-label": "Back to top",
|
|
38284
38285
|
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-up", size: 20 })
|
|
38285
38286
|
}
|
|
@@ -38321,7 +38322,8 @@ function ArticleCompactTocComponent({
|
|
|
38321
38322
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
38322
38323
|
spacing = "hero",
|
|
38323
38324
|
pattern,
|
|
38324
|
-
patternOpacity
|
|
38325
|
+
patternOpacity,
|
|
38326
|
+
patternClassName
|
|
38325
38327
|
}) {
|
|
38326
38328
|
const [activeSection, setActiveSection] = React30.useState(
|
|
38327
38329
|
sections?.[0]?.id || ""
|
|
@@ -38358,23 +38360,6 @@ function ArticleCompactTocComponent({
|
|
|
38358
38360
|
/* @__PURE__ */ jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsx(BreadcrumbPage, { children: currentPage }) })
|
|
38359
38361
|
] }) });
|
|
38360
38362
|
}, [breadcrumbsSlot, breadcrumbs, currentPage, breadcrumbClassName]);
|
|
38361
|
-
const shareContent = React30.useMemo(() => {
|
|
38362
|
-
if (shareSlot) return shareSlot;
|
|
38363
|
-
if (!socialLinks || socialLinks.length === 0) return null;
|
|
38364
|
-
return /* @__PURE__ */ jsxs("div", { className: cn("mt-6 flex items-center gap-2", shareClassName), children: [
|
|
38365
|
-
/* @__PURE__ */ jsx("span", { className: "text-sm text-muted-foreground", children: "Share:" }),
|
|
38366
|
-
socialLinks.map((link, index) => /* @__PURE__ */ jsx(
|
|
38367
|
-
Pressable,
|
|
38368
|
-
{
|
|
38369
|
-
href: link.href,
|
|
38370
|
-
className: "flex h-8 w-8 items-center justify-center rounded-md hover:bg-muted",
|
|
38371
|
-
"aria-label": link["aria-label"] || `Share on ${link.platform}`,
|
|
38372
|
-
children: /* @__PURE__ */ jsx(DynamicIcon, { name: `lucide/${link.platform}`, size: 16 })
|
|
38373
|
-
},
|
|
38374
|
-
index
|
|
38375
|
-
))
|
|
38376
|
-
] });
|
|
38377
|
-
}, [shareSlot, socialLinks, shareClassName]);
|
|
38378
38363
|
const renderTocLinks = React30.useCallback(
|
|
38379
38364
|
(onLinkClick) => {
|
|
38380
38365
|
if (!sections) return null;
|
|
@@ -38389,7 +38374,7 @@ function ArticleCompactTocComponent({
|
|
|
38389
38374
|
href: `#${section.id}`,
|
|
38390
38375
|
className: cn(
|
|
38391
38376
|
"block text-sm transition-colors",
|
|
38392
|
-
isActive ? "
|
|
38377
|
+
isActive ? "underline" : ""
|
|
38393
38378
|
),
|
|
38394
38379
|
onClick: onLinkClick,
|
|
38395
38380
|
children: section.title
|
|
@@ -38433,23 +38418,14 @@ function ArticleCompactTocComponent({
|
|
|
38433
38418
|
)
|
|
38434
38419
|
] }) });
|
|
38435
38420
|
}, [tocSlot, sections, isTocOpen, tocClassName, renderTocLinks]);
|
|
38421
|
+
const hasDesktopToc = !tocSlot && sections && sections.length > 0;
|
|
38436
38422
|
const desktopTocContent = React30.useMemo(() => {
|
|
38437
|
-
if (
|
|
38438
|
-
|
|
38439
|
-
|
|
38440
|
-
|
|
38441
|
-
|
|
38442
|
-
|
|
38443
|
-
"hidden lg:block fixed top-24 right-8 w-64 max-h-[calc(100vh-8rem)] overflow-y-auto",
|
|
38444
|
-
tocClassName
|
|
38445
|
-
),
|
|
38446
|
-
children: /* @__PURE__ */ jsxs("nav", { className: "space-y-2 rounded-lg border bg-background p-4", children: [
|
|
38447
|
-
/* @__PURE__ */ jsx("span", { className: "mb-3 block text-sm font-semibold", children: "Table of Contents" }),
|
|
38448
|
-
renderTocLinks()
|
|
38449
|
-
] })
|
|
38450
|
-
}
|
|
38451
|
-
);
|
|
38452
|
-
}, [tocSlot, sections, tocClassName, renderTocLinks]);
|
|
38423
|
+
if (!hasDesktopToc) return null;
|
|
38424
|
+
return /* @__PURE__ */ jsx("aside", { className: cn("hidden lg:block w-64 shrink-0", tocClassName), children: /* @__PURE__ */ jsxs("nav", { className: "sticky top-24 max-h-[calc(100vh-8rem)] overflow-y-auto space-y-2 rounded-lg border p-4", children: [
|
|
38425
|
+
/* @__PURE__ */ jsx("span", { className: "mb-3 block text-sm font-semibold", children: "Table of Contents" }),
|
|
38426
|
+
renderTocLinks()
|
|
38427
|
+
] }) });
|
|
38428
|
+
}, [hasDesktopToc, tocClassName, renderTocLinks]);
|
|
38453
38429
|
const heroMediaContent = React30.useMemo(() => {
|
|
38454
38430
|
if (heroMediaSlot) return heroMediaSlot;
|
|
38455
38431
|
if (!heroImageSrc) return null;
|
|
@@ -38472,20 +38448,20 @@ function ArticleCompactTocComponent({
|
|
|
38472
38448
|
heroImageClassName,
|
|
38473
38449
|
optixFlowConfig
|
|
38474
38450
|
]);
|
|
38475
|
-
return /* @__PURE__ */
|
|
38451
|
+
return /* @__PURE__ */ jsx(
|
|
38476
38452
|
Section,
|
|
38477
38453
|
{
|
|
38478
38454
|
background,
|
|
38479
38455
|
spacing,
|
|
38480
38456
|
pattern,
|
|
38481
38457
|
patternOpacity,
|
|
38482
|
-
|
|
38458
|
+
patternClassName,
|
|
38459
|
+
className: cn(pattern && "overflow-visible", className),
|
|
38483
38460
|
containerClassName,
|
|
38484
|
-
children: [
|
|
38485
|
-
|
|
38486
|
-
/* @__PURE__ */ jsxs("div", { className: cn("
|
|
38487
|
-
|
|
38488
|
-
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
38461
|
+
children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
38462
|
+
breadcrumbsContent,
|
|
38463
|
+
/* @__PURE__ */ jsxs("div", { className: cn("relative", hasDesktopToc && "lg:flex lg:gap-8"), children: [
|
|
38464
|
+
/* @__PURE__ */ jsxs("div", { className: cn(hasDesktopToc && "min-w-0 lg:flex-1"), children: [
|
|
38489
38465
|
title && (typeof title === "string" ? /* @__PURE__ */ jsx(
|
|
38490
38466
|
"h1",
|
|
38491
38467
|
{
|
|
@@ -38500,11 +38476,11 @@ function ArticleCompactTocComponent({
|
|
|
38500
38476
|
"div",
|
|
38501
38477
|
{
|
|
38502
38478
|
className: cn(
|
|
38503
|
-
"mt-4 flex flex-wrap items-center gap-4 text-sm
|
|
38479
|
+
"mt-4 flex flex-wrap items-center gap-4 text-sm",
|
|
38504
38480
|
metaClassName
|
|
38505
38481
|
),
|
|
38506
38482
|
children: [
|
|
38507
|
-
authorName &&
|
|
38483
|
+
authorName && /* @__PURE__ */ jsx(Pressable, { href: authorHref, children: authorName }),
|
|
38508
38484
|
authorName && publishDate && /* @__PURE__ */ jsx(Separator, { orientation: "vertical", className: "h-4" }),
|
|
38509
38485
|
publishDate && /* @__PURE__ */ jsx("span", { children: publishDate }),
|
|
38510
38486
|
publishDate && readTime && /* @__PURE__ */ jsx(Separator, { orientation: "vertical", className: "h-4" }),
|
|
@@ -38512,8 +38488,6 @@ function ArticleCompactTocComponent({
|
|
|
38512
38488
|
]
|
|
38513
38489
|
}
|
|
38514
38490
|
),
|
|
38515
|
-
shareContent,
|
|
38516
|
-
/* @__PURE__ */ jsx(Separator, { className: "my-8" }),
|
|
38517
38491
|
tocContent,
|
|
38518
38492
|
children && /* @__PURE__ */ jsxs(
|
|
38519
38493
|
"article",
|
|
@@ -38528,9 +38502,10 @@ function ArticleCompactTocComponent({
|
|
|
38528
38502
|
]
|
|
38529
38503
|
}
|
|
38530
38504
|
)
|
|
38531
|
-
] })
|
|
38505
|
+
] }),
|
|
38506
|
+
desktopTocContent
|
|
38532
38507
|
] })
|
|
38533
|
-
]
|
|
38508
|
+
] })
|
|
38534
38509
|
}
|
|
38535
38510
|
);
|
|
38536
38511
|
}
|
|
@@ -38569,6 +38544,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
38569
38544
|
background,
|
|
38570
38545
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
38571
38546
|
spacing = "hero",
|
|
38547
|
+
patternClassName,
|
|
38572
38548
|
pattern,
|
|
38573
38549
|
patternOpacity
|
|
38574
38550
|
}) {
|
|
@@ -38622,16 +38598,14 @@ function ArticleChaptersAuthorComponent({
|
|
|
38622
38598
|
href: `#${chapter.id}`,
|
|
38623
38599
|
className: cn(
|
|
38624
38600
|
"flex items-center gap-3 text-sm transition-colors",
|
|
38625
|
-
isActive ? "
|
|
38601
|
+
isActive ? "underline" : ""
|
|
38626
38602
|
),
|
|
38627
38603
|
children: [
|
|
38628
38604
|
/* @__PURE__ */ jsx(
|
|
38629
38605
|
"span",
|
|
38630
38606
|
{
|
|
38631
38607
|
className: cn(
|
|
38632
|
-
"flex h-6 w-6 items-center justify-center rounded-full text-xs"
|
|
38633
|
-
getNestedCardBg(background),
|
|
38634
|
-
getNestedCardTextColor(background)
|
|
38608
|
+
"flex h-6 w-6 items-center justify-center rounded-full text-xs"
|
|
38635
38609
|
),
|
|
38636
38610
|
children: chapter.number
|
|
38637
38611
|
}
|
|
@@ -38657,19 +38631,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
38657
38631
|
if (author.socialLinks) {
|
|
38658
38632
|
if (Array.isArray(author.socialLinks)) {
|
|
38659
38633
|
if (author.socialLinks.length > 0) {
|
|
38660
|
-
socialLinksContent = /* @__PURE__ */ jsx("div", { className: "mt-4 flex gap-2", children: author.socialLinks.map((link, index) => /* @__PURE__ */ jsx(
|
|
38661
|
-
Pressable,
|
|
38662
|
-
{
|
|
38663
|
-
href: link.href,
|
|
38664
|
-
className: cn(
|
|
38665
|
-
"flex h-8 w-8 items-center justify-center rounded-md border",
|
|
38666
|
-
link.className
|
|
38667
|
-
),
|
|
38668
|
-
"aria-label": link["aria-label"],
|
|
38669
|
-
children: link.icon ?? /* @__PURE__ */ jsx(DynamicIcon, { name: `lucide/${link.platform}`, size: 14 })
|
|
38670
|
-
},
|
|
38671
|
-
index
|
|
38672
|
-
)) });
|
|
38634
|
+
socialLinksContent = /* @__PURE__ */ jsx("div", { className: "mt-4 flex gap-2", children: author.socialLinks.map((link, index) => /* @__PURE__ */ jsx(SocialLinkIcon, { href: link.href }, index)) });
|
|
38673
38635
|
}
|
|
38674
38636
|
} else {
|
|
38675
38637
|
const links = author.socialLinks;
|
|
@@ -38704,10 +38666,10 @@ function ArticleChaptersAuthorComponent({
|
|
|
38704
38666
|
] }),
|
|
38705
38667
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
38706
38668
|
/* @__PURE__ */ jsx("p", { className: "font-medium", children: author.name }),
|
|
38707
|
-
/* @__PURE__ */ jsx("p", { className: "text-xs
|
|
38669
|
+
/* @__PURE__ */ jsx("p", { className: "text-xs", children: author.role })
|
|
38708
38670
|
] })
|
|
38709
38671
|
] }),
|
|
38710
|
-
author.bio && /* @__PURE__ */ jsx("p", { className: "mt-3 text-sm
|
|
38672
|
+
author.bio && /* @__PURE__ */ jsx("p", { className: "mt-3 text-sm", children: author.bio }),
|
|
38711
38673
|
socialLinksContent
|
|
38712
38674
|
] });
|
|
38713
38675
|
}, [authorSlot, author, authorClassName]);
|
|
@@ -38742,8 +38704,6 @@ function ArticleChaptersAuthorComponent({
|
|
|
38742
38704
|
{
|
|
38743
38705
|
className: cn(
|
|
38744
38706
|
"mt-12 rounded-lg border p-6 not-prose",
|
|
38745
|
-
getNestedCardBg(background, "subtle"),
|
|
38746
|
-
getNestedCardTextColor(background),
|
|
38747
38707
|
conclusionClassName
|
|
38748
38708
|
),
|
|
38749
38709
|
children: [
|
|
@@ -38790,7 +38750,8 @@ function ArticleChaptersAuthorComponent({
|
|
|
38790
38750
|
spacing,
|
|
38791
38751
|
pattern,
|
|
38792
38752
|
patternOpacity,
|
|
38793
|
-
|
|
38753
|
+
patternClassName,
|
|
38754
|
+
className: cn(pattern && "overflow-visible", className),
|
|
38794
38755
|
containerClassName,
|
|
38795
38756
|
children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
38796
38757
|
breadcrumbsContent,
|
|
@@ -38842,7 +38803,6 @@ function ArticleChaptersAuthorComponent({
|
|
|
38842
38803
|
}
|
|
38843
38804
|
function ArticleSplitAnimatedComponent({
|
|
38844
38805
|
className,
|
|
38845
|
-
containerClassName,
|
|
38846
38806
|
imageContainerClassName,
|
|
38847
38807
|
contentClassName,
|
|
38848
38808
|
titleClassName,
|
|
@@ -38866,25 +38826,16 @@ function ArticleSplitAnimatedComponent({
|
|
|
38866
38826
|
category,
|
|
38867
38827
|
categoryHref,
|
|
38868
38828
|
categorySlot,
|
|
38869
|
-
ctaActions
|
|
38870
|
-
ctaText,
|
|
38871
|
-
ctaHref,
|
|
38829
|
+
ctaActions,
|
|
38872
38830
|
ctaSlot,
|
|
38873
38831
|
enableAnimations = true,
|
|
38874
38832
|
optixFlowConfig,
|
|
38875
38833
|
background,
|
|
38876
|
-
spacing,
|
|
38877
38834
|
pattern,
|
|
38878
|
-
patternOpacity
|
|
38835
|
+
patternOpacity,
|
|
38836
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
38837
|
+
spacing = "lg"
|
|
38879
38838
|
}) {
|
|
38880
|
-
const ctaActions = ctaActionsProp ?? (ctaText ? [
|
|
38881
|
-
{
|
|
38882
|
-
label: ctaText,
|
|
38883
|
-
href: ctaHref || "#",
|
|
38884
|
-
variant: "default",
|
|
38885
|
-
size: "lg"
|
|
38886
|
-
}
|
|
38887
|
-
] : []);
|
|
38888
38839
|
const MotionWrapper = enableAnimations ? motion.div : "div";
|
|
38889
38840
|
const categoryContent = React30.useMemo(() => {
|
|
38890
38841
|
if (categorySlot) return categorySlot;
|
|
@@ -38894,7 +38845,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
38894
38845
|
{
|
|
38895
38846
|
href: categoryHref,
|
|
38896
38847
|
className: cn(
|
|
38897
|
-
"inline-block rounded-full bg-primary
|
|
38848
|
+
"inline-block rounded-full bg-primary px-3 py-1 text-sm font-medium text-primary-foreground backdrop-blur-sm transition-colors",
|
|
38898
38849
|
categoryClassName
|
|
38899
38850
|
),
|
|
38900
38851
|
children: category
|
|
@@ -38931,7 +38882,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
38931
38882
|
children: authorName
|
|
38932
38883
|
}
|
|
38933
38884
|
) : /* @__PURE__ */ jsx("p", { className: "font-medium", children: authorName }),
|
|
38934
|
-
authorRole && /* @__PURE__ */ jsx("p", { className: "text-sm
|
|
38885
|
+
authorRole && /* @__PURE__ */ jsx("p", { className: "text-sm ", children: authorRole })
|
|
38935
38886
|
] })
|
|
38936
38887
|
] });
|
|
38937
38888
|
}, [
|
|
@@ -39002,7 +38953,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
39002
38953
|
children: [
|
|
39003
38954
|
heroMediaContent,
|
|
39004
38955
|
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-linear-to-t from-black/60 via-transparent to-transparent" }),
|
|
39005
|
-
/* @__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 })
|
|
39006
38957
|
]
|
|
39007
38958
|
}
|
|
39008
38959
|
),
|
|
@@ -39016,7 +38967,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
39016
38967
|
"div",
|
|
39017
38968
|
{
|
|
39018
38969
|
className: cn(
|
|
39019
|
-
"flex items-center gap-4 text-sm
|
|
38970
|
+
"flex items-center gap-4 text-sm ",
|
|
39020
38971
|
metaClassName
|
|
39021
38972
|
),
|
|
39022
38973
|
children: [
|
|
@@ -39035,17 +38986,8 @@ function ArticleSplitAnimatedComponent({
|
|
|
39035
38986
|
),
|
|
39036
38987
|
children: title
|
|
39037
38988
|
}
|
|
39038
|
-
) :
|
|
39039
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsx(
|
|
39040
|
-
"p",
|
|
39041
|
-
{
|
|
39042
|
-
className: cn(
|
|
39043
|
-
"mt-4 text-lg text-muted-foreground",
|
|
39044
|
-
descriptionClassName
|
|
39045
|
-
),
|
|
39046
|
-
children: description
|
|
39047
|
-
}
|
|
39048
|
-
) : /* @__PURE__ */ jsx("div", { className: cn("mt-4", descriptionClassName), children: description })),
|
|
38989
|
+
) : title),
|
|
38990
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsx("p", { className: cn("mt-4 text-lg", descriptionClassName), children: description }) : description),
|
|
39049
38991
|
authorContent,
|
|
39050
38992
|
ctaContent
|
|
39051
38993
|
]
|
|
@@ -58626,7 +58568,7 @@ function HeroEventRegistration({
|
|
|
58626
58568
|
locationSublabel,
|
|
58627
58569
|
locationSlot,
|
|
58628
58570
|
background,
|
|
58629
|
-
containerClassName = "mx-auto w-full max-w-full md:max-w-7xl relative z-10 px-6
|
|
58571
|
+
containerClassName = "mx-auto w-full max-w-full md:max-w-7xl relative z-10 px-6",
|
|
58630
58572
|
spacing = "py-16 md:py-40",
|
|
58631
58573
|
pattern,
|
|
58632
58574
|
patternOpacity,
|
|
@@ -505,7 +505,7 @@ function BreadcrumbList({ className, ...props }) {
|
|
|
505
505
|
{
|
|
506
506
|
"data-slot": "breadcrumb-list",
|
|
507
507
|
className: cn(
|
|
508
|
-
"
|
|
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:
|
|
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("
|
|
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
|
-
"
|
|
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:
|
|
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("
|
|
525
|
+
className: cn("font-normal", className),
|
|
526
526
|
...props
|
|
527
527
|
}
|
|
528
528
|
);
|
|
@@ -593,7 +593,7 @@ function BreadcrumbList({ className, ...props }) {
|
|
|
593
593
|
{
|
|
594
594
|
"data-slot": "breadcrumb-list",
|
|
595
595
|
className: cn(
|
|
596
|
-
"
|
|
596
|
+
"flex flex-wrap items-center gap-1.5 text-sm wrap-break-word sm:gap-2.5",
|
|
597
597
|
className
|
|
598
598
|
),
|
|
599
599
|
...props
|
|
@@ -620,7 +620,7 @@ function BreadcrumbLink({
|
|
|
620
620
|
Comp,
|
|
621
621
|
{
|
|
622
622
|
"data-slot": "breadcrumb-link",
|
|
623
|
-
className: cn("hover:
|
|
623
|
+
className: cn("hover:underline transition-colors", className),
|
|
624
624
|
...props
|
|
625
625
|
}
|
|
626
626
|
);
|
|
@@ -569,7 +569,7 @@ function BreadcrumbList({ className, ...props }) {
|
|
|
569
569
|
{
|
|
570
570
|
"data-slot": "breadcrumb-list",
|
|
571
571
|
className: cn(
|
|
572
|
-
"
|
|
572
|
+
"flex flex-wrap items-center gap-1.5 text-sm wrap-break-word sm:gap-2.5",
|
|
573
573
|
className
|
|
574
574
|
),
|
|
575
575
|
...props
|
|
@@ -596,7 +596,7 @@ function BreadcrumbLink({
|
|
|
596
596
|
Comp,
|
|
597
597
|
{
|
|
598
598
|
"data-slot": "breadcrumb-link",
|
|
599
|
-
className: cn("hover:
|
|
599
|
+
className: cn("hover:underline transition-colors", className),
|
|
600
600
|
...props
|
|
601
601
|
}
|
|
602
602
|
);
|