@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.cjs
CHANGED
|
@@ -21241,7 +21241,7 @@ function CarouselPortfolioHero({
|
|
|
21241
21241
|
"div",
|
|
21242
21242
|
{
|
|
21243
21243
|
className: cn(
|
|
21244
|
-
"ml-auto flex items-center gap-2",
|
|
21244
|
+
"ml-auto flex items-center gap-2 mt-4 md:mt-8",
|
|
21245
21245
|
navigationClassName
|
|
21246
21246
|
),
|
|
21247
21247
|
children: [
|
|
@@ -36468,7 +36468,7 @@ function BreadcrumbList({ className, ...props }) {
|
|
|
36468
36468
|
{
|
|
36469
36469
|
"data-slot": "breadcrumb-list",
|
|
36470
36470
|
className: cn(
|
|
36471
|
-
"
|
|
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:
|
|
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("
|
|
36511
|
+
className: cn("font-normal", className),
|
|
36512
36512
|
...props
|
|
36513
36513
|
}
|
|
36514
36514
|
);
|
|
@@ -37782,7 +37782,7 @@ function ArticleSidebarStickyComponent({
|
|
|
37782
37782
|
{
|
|
37783
37783
|
href: backHref,
|
|
37784
37784
|
className: cn(
|
|
37785
|
-
"inline-flex items-center gap-2 text-sm
|
|
37785
|
+
"inline-flex items-center gap-2 text-sm",
|
|
37786
37786
|
backLinkClassName
|
|
37787
37787
|
),
|
|
37788
37788
|
children: [
|
|
@@ -37811,7 +37811,7 @@ function ArticleSidebarStickyComponent({
|
|
|
37811
37811
|
children: authorName
|
|
37812
37812
|
}
|
|
37813
37813
|
) : /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-medium", children: authorName }),
|
|
37814
|
-
publishDate && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs
|
|
37814
|
+
publishDate && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs", children: publishDate })
|
|
37815
37815
|
] })
|
|
37816
37816
|
] });
|
|
37817
37817
|
},
|
|
@@ -38154,7 +38154,8 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38154
38154
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
38155
38155
|
spacing = "hero",
|
|
38156
38156
|
pattern,
|
|
38157
|
-
patternOpacity
|
|
38157
|
+
patternOpacity,
|
|
38158
|
+
patternClassName
|
|
38158
38159
|
}) {
|
|
38159
38160
|
const [activeSection, setActiveSection] = React30__namespace.useState(
|
|
38160
38161
|
sections?.[0]?.id || ""
|
|
@@ -38221,7 +38222,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38221
38222
|
] }),
|
|
38222
38223
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
38223
38224
|
author.name && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-medium", children: author.name }),
|
|
38224
|
-
(author.role || publishDate || readTime) && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm
|
|
38225
|
+
(author.role || publishDate || readTime) && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm", children: [author.role, publishDate, readTime].filter(Boolean).join(" \xB7 ") })
|
|
38225
38226
|
] })
|
|
38226
38227
|
]
|
|
38227
38228
|
}
|
|
@@ -38265,7 +38266,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38265
38266
|
href: `#${section.id}`,
|
|
38266
38267
|
className: cn(
|
|
38267
38268
|
"block text-sm transition-colors",
|
|
38268
|
-
isActive ? "
|
|
38269
|
+
isActive ? "underline" : ""
|
|
38269
38270
|
),
|
|
38270
38271
|
children: section.title
|
|
38271
38272
|
},
|
|
@@ -38281,7 +38282,8 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38281
38282
|
spacing,
|
|
38282
38283
|
pattern,
|
|
38283
38284
|
patternOpacity,
|
|
38284
|
-
|
|
38285
|
+
patternClassName,
|
|
38286
|
+
className: cn(pattern && "overflow-visible", className),
|
|
38285
38287
|
containerClassName,
|
|
38286
38288
|
children: [
|
|
38287
38289
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
@@ -38306,7 +38308,6 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38306
38308
|
}
|
|
38307
38309
|
) : title),
|
|
38308
38310
|
authorContent,
|
|
38309
|
-
/* @__PURE__ */ jsxRuntime.jsx(Separator, { className: "my-8" }),
|
|
38310
38311
|
heroMediaContent,
|
|
38311
38312
|
children
|
|
38312
38313
|
]
|
|
@@ -38319,7 +38320,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38319
38320
|
"button",
|
|
38320
38321
|
{
|
|
38321
38322
|
onClick: scrollToTop,
|
|
38322
|
-
className: "fixed bottom-8 right-8 flex h-10 w-10 items-center justify-center rounded-full
|
|
38323
|
+
className: "fixed bottom-8 right-8 flex h-10 w-10 items-center justify-center rounded-full shadow-lg transition-opacity hover:opacity-90",
|
|
38323
38324
|
"aria-label": "Back to top",
|
|
38324
38325
|
children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/arrow-up", size: 20 })
|
|
38325
38326
|
}
|
|
@@ -38361,7 +38362,8 @@ function ArticleCompactTocComponent({
|
|
|
38361
38362
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
38362
38363
|
spacing = "hero",
|
|
38363
38364
|
pattern,
|
|
38364
|
-
patternOpacity
|
|
38365
|
+
patternOpacity,
|
|
38366
|
+
patternClassName
|
|
38365
38367
|
}) {
|
|
38366
38368
|
const [activeSection, setActiveSection] = React30__namespace.useState(
|
|
38367
38369
|
sections?.[0]?.id || ""
|
|
@@ -38398,23 +38400,6 @@ function ArticleCompactTocComponent({
|
|
|
38398
38400
|
/* @__PURE__ */ jsxRuntime.jsx(BreadcrumbItem, { children: /* @__PURE__ */ jsxRuntime.jsx(BreadcrumbPage, { children: currentPage }) })
|
|
38399
38401
|
] }) });
|
|
38400
38402
|
}, [breadcrumbsSlot, breadcrumbs, currentPage, breadcrumbClassName]);
|
|
38401
|
-
const shareContent = React30__namespace.useMemo(() => {
|
|
38402
|
-
if (shareSlot) return shareSlot;
|
|
38403
|
-
if (!socialLinks || socialLinks.length === 0) return null;
|
|
38404
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mt-6 flex items-center gap-2", shareClassName), children: [
|
|
38405
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-muted-foreground", children: "Share:" }),
|
|
38406
|
-
socialLinks.map((link, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
38407
|
-
Pressable,
|
|
38408
|
-
{
|
|
38409
|
-
href: link.href,
|
|
38410
|
-
className: "flex h-8 w-8 items-center justify-center rounded-md hover:bg-muted",
|
|
38411
|
-
"aria-label": link["aria-label"] || `Share on ${link.platform}`,
|
|
38412
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: `lucide/${link.platform}`, size: 16 })
|
|
38413
|
-
},
|
|
38414
|
-
index
|
|
38415
|
-
))
|
|
38416
|
-
] });
|
|
38417
|
-
}, [shareSlot, socialLinks, shareClassName]);
|
|
38418
38403
|
const renderTocLinks = React30__namespace.useCallback(
|
|
38419
38404
|
(onLinkClick) => {
|
|
38420
38405
|
if (!sections) return null;
|
|
@@ -38429,7 +38414,7 @@ function ArticleCompactTocComponent({
|
|
|
38429
38414
|
href: `#${section.id}`,
|
|
38430
38415
|
className: cn(
|
|
38431
38416
|
"block text-sm transition-colors",
|
|
38432
|
-
isActive ? "
|
|
38417
|
+
isActive ? "underline" : ""
|
|
38433
38418
|
),
|
|
38434
38419
|
onClick: onLinkClick,
|
|
38435
38420
|
children: section.title
|
|
@@ -38473,23 +38458,14 @@ function ArticleCompactTocComponent({
|
|
|
38473
38458
|
)
|
|
38474
38459
|
] }) });
|
|
38475
38460
|
}, [tocSlot, sections, isTocOpen, tocClassName, renderTocLinks]);
|
|
38461
|
+
const hasDesktopToc = !tocSlot && sections && sections.length > 0;
|
|
38476
38462
|
const desktopTocContent = React30__namespace.useMemo(() => {
|
|
38477
|
-
if (
|
|
38478
|
-
|
|
38479
|
-
|
|
38480
|
-
|
|
38481
|
-
|
|
38482
|
-
|
|
38483
|
-
"hidden lg:block fixed top-24 right-8 w-64 max-h-[calc(100vh-8rem)] overflow-y-auto",
|
|
38484
|
-
tocClassName
|
|
38485
|
-
),
|
|
38486
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("nav", { className: "space-y-2 rounded-lg border bg-background p-4", children: [
|
|
38487
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-3 block text-sm font-semibold", children: "Table of Contents" }),
|
|
38488
|
-
renderTocLinks()
|
|
38489
|
-
] })
|
|
38490
|
-
}
|
|
38491
|
-
);
|
|
38492
|
-
}, [tocSlot, sections, tocClassName, renderTocLinks]);
|
|
38463
|
+
if (!hasDesktopToc) return null;
|
|
38464
|
+
return /* @__PURE__ */ jsxRuntime.jsx("aside", { className: cn("hidden lg:block w-64 shrink-0", tocClassName), children: /* @__PURE__ */ jsxRuntime.jsxs("nav", { className: "sticky top-24 max-h-[calc(100vh-8rem)] overflow-y-auto space-y-2 rounded-lg border p-4", children: [
|
|
38465
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "mb-3 block text-sm font-semibold", children: "Table of Contents" }),
|
|
38466
|
+
renderTocLinks()
|
|
38467
|
+
] }) });
|
|
38468
|
+
}, [hasDesktopToc, tocClassName, renderTocLinks]);
|
|
38493
38469
|
const heroMediaContent = React30__namespace.useMemo(() => {
|
|
38494
38470
|
if (heroMediaSlot) return heroMediaSlot;
|
|
38495
38471
|
if (!heroImageSrc) return null;
|
|
@@ -38512,20 +38488,20 @@ function ArticleCompactTocComponent({
|
|
|
38512
38488
|
heroImageClassName,
|
|
38513
38489
|
optixFlowConfig
|
|
38514
38490
|
]);
|
|
38515
|
-
return /* @__PURE__ */ jsxRuntime.
|
|
38491
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
38516
38492
|
Section,
|
|
38517
38493
|
{
|
|
38518
38494
|
background,
|
|
38519
38495
|
spacing,
|
|
38520
38496
|
pattern,
|
|
38521
38497
|
patternOpacity,
|
|
38522
|
-
|
|
38498
|
+
patternClassName,
|
|
38499
|
+
className: cn(pattern && "overflow-visible", className),
|
|
38523
38500
|
containerClassName,
|
|
38524
|
-
children: [
|
|
38525
|
-
|
|
38526
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("
|
|
38527
|
-
|
|
38528
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
38501
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
38502
|
+
breadcrumbsContent,
|
|
38503
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("relative", hasDesktopToc && "lg:flex lg:gap-8"), children: [
|
|
38504
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn(hasDesktopToc && "min-w-0 lg:flex-1"), children: [
|
|
38529
38505
|
title && (typeof title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
38530
38506
|
"h1",
|
|
38531
38507
|
{
|
|
@@ -38540,11 +38516,11 @@ function ArticleCompactTocComponent({
|
|
|
38540
38516
|
"div",
|
|
38541
38517
|
{
|
|
38542
38518
|
className: cn(
|
|
38543
|
-
"mt-4 flex flex-wrap items-center gap-4 text-sm
|
|
38519
|
+
"mt-4 flex flex-wrap items-center gap-4 text-sm",
|
|
38544
38520
|
metaClassName
|
|
38545
38521
|
),
|
|
38546
38522
|
children: [
|
|
38547
|
-
authorName &&
|
|
38523
|
+
authorName && /* @__PURE__ */ jsxRuntime.jsx(Pressable, { href: authorHref, children: authorName }),
|
|
38548
38524
|
authorName && publishDate && /* @__PURE__ */ jsxRuntime.jsx(Separator, { orientation: "vertical", className: "h-4" }),
|
|
38549
38525
|
publishDate && /* @__PURE__ */ jsxRuntime.jsx("span", { children: publishDate }),
|
|
38550
38526
|
publishDate && readTime && /* @__PURE__ */ jsxRuntime.jsx(Separator, { orientation: "vertical", className: "h-4" }),
|
|
@@ -38552,8 +38528,6 @@ function ArticleCompactTocComponent({
|
|
|
38552
38528
|
]
|
|
38553
38529
|
}
|
|
38554
38530
|
),
|
|
38555
|
-
shareContent,
|
|
38556
|
-
/* @__PURE__ */ jsxRuntime.jsx(Separator, { className: "my-8" }),
|
|
38557
38531
|
tocContent,
|
|
38558
38532
|
children && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
38559
38533
|
"article",
|
|
@@ -38568,9 +38542,10 @@ function ArticleCompactTocComponent({
|
|
|
38568
38542
|
]
|
|
38569
38543
|
}
|
|
38570
38544
|
)
|
|
38571
|
-
] })
|
|
38545
|
+
] }),
|
|
38546
|
+
desktopTocContent
|
|
38572
38547
|
] })
|
|
38573
|
-
]
|
|
38548
|
+
] })
|
|
38574
38549
|
}
|
|
38575
38550
|
);
|
|
38576
38551
|
}
|
|
@@ -38609,6 +38584,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
38609
38584
|
background,
|
|
38610
38585
|
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
38611
38586
|
spacing = "hero",
|
|
38587
|
+
patternClassName,
|
|
38612
38588
|
pattern,
|
|
38613
38589
|
patternOpacity
|
|
38614
38590
|
}) {
|
|
@@ -38662,16 +38638,14 @@ function ArticleChaptersAuthorComponent({
|
|
|
38662
38638
|
href: `#${chapter.id}`,
|
|
38663
38639
|
className: cn(
|
|
38664
38640
|
"flex items-center gap-3 text-sm transition-colors",
|
|
38665
|
-
isActive ? "
|
|
38641
|
+
isActive ? "underline" : ""
|
|
38666
38642
|
),
|
|
38667
38643
|
children: [
|
|
38668
38644
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38669
38645
|
"span",
|
|
38670
38646
|
{
|
|
38671
38647
|
className: cn(
|
|
38672
|
-
"flex h-6 w-6 items-center justify-center rounded-full text-xs"
|
|
38673
|
-
getNestedCardBg(background),
|
|
38674
|
-
getNestedCardTextColor(background)
|
|
38648
|
+
"flex h-6 w-6 items-center justify-center rounded-full text-xs"
|
|
38675
38649
|
),
|
|
38676
38650
|
children: chapter.number
|
|
38677
38651
|
}
|
|
@@ -38697,19 +38671,7 @@ function ArticleChaptersAuthorComponent({
|
|
|
38697
38671
|
if (author.socialLinks) {
|
|
38698
38672
|
if (Array.isArray(author.socialLinks)) {
|
|
38699
38673
|
if (author.socialLinks.length > 0) {
|
|
38700
|
-
socialLinksContent = /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-4 flex gap-2", children: author.socialLinks.map((link, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
38701
|
-
Pressable,
|
|
38702
|
-
{
|
|
38703
|
-
href: link.href,
|
|
38704
|
-
className: cn(
|
|
38705
|
-
"flex h-8 w-8 items-center justify-center rounded-md border",
|
|
38706
|
-
link.className
|
|
38707
|
-
),
|
|
38708
|
-
"aria-label": link["aria-label"],
|
|
38709
|
-
children: link.icon ?? /* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: `lucide/${link.platform}`, size: 14 })
|
|
38710
|
-
},
|
|
38711
|
-
index
|
|
38712
|
-
)) });
|
|
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)) });
|
|
38713
38675
|
}
|
|
38714
38676
|
} else {
|
|
38715
38677
|
const links = author.socialLinks;
|
|
@@ -38744,10 +38706,10 @@ function ArticleChaptersAuthorComponent({
|
|
|
38744
38706
|
] }),
|
|
38745
38707
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
38746
38708
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-medium", children: author.name }),
|
|
38747
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs
|
|
38709
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs", children: author.role })
|
|
38748
38710
|
] })
|
|
38749
38711
|
] }),
|
|
38750
|
-
author.bio && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-3 text-sm
|
|
38712
|
+
author.bio && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-3 text-sm", children: author.bio }),
|
|
38751
38713
|
socialLinksContent
|
|
38752
38714
|
] });
|
|
38753
38715
|
}, [authorSlot, author, authorClassName]);
|
|
@@ -38782,8 +38744,6 @@ function ArticleChaptersAuthorComponent({
|
|
|
38782
38744
|
{
|
|
38783
38745
|
className: cn(
|
|
38784
38746
|
"mt-12 rounded-lg border p-6 not-prose",
|
|
38785
|
-
getNestedCardBg(background, "subtle"),
|
|
38786
|
-
getNestedCardTextColor(background),
|
|
38787
38747
|
conclusionClassName
|
|
38788
38748
|
),
|
|
38789
38749
|
children: [
|
|
@@ -38830,7 +38790,8 @@ function ArticleChaptersAuthorComponent({
|
|
|
38830
38790
|
spacing,
|
|
38831
38791
|
pattern,
|
|
38832
38792
|
patternOpacity,
|
|
38833
|
-
|
|
38793
|
+
patternClassName,
|
|
38794
|
+
className: cn(pattern && "overflow-visible", className),
|
|
38834
38795
|
containerClassName,
|
|
38835
38796
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
38836
38797
|
breadcrumbsContent,
|
|
@@ -38882,7 +38843,6 @@ function ArticleChaptersAuthorComponent({
|
|
|
38882
38843
|
}
|
|
38883
38844
|
function ArticleSplitAnimatedComponent({
|
|
38884
38845
|
className,
|
|
38885
|
-
containerClassName,
|
|
38886
38846
|
imageContainerClassName,
|
|
38887
38847
|
contentClassName,
|
|
38888
38848
|
titleClassName,
|
|
@@ -38906,25 +38866,16 @@ function ArticleSplitAnimatedComponent({
|
|
|
38906
38866
|
category,
|
|
38907
38867
|
categoryHref,
|
|
38908
38868
|
categorySlot,
|
|
38909
|
-
ctaActions
|
|
38910
|
-
ctaText,
|
|
38911
|
-
ctaHref,
|
|
38869
|
+
ctaActions,
|
|
38912
38870
|
ctaSlot,
|
|
38913
38871
|
enableAnimations = true,
|
|
38914
38872
|
optixFlowConfig,
|
|
38915
38873
|
background,
|
|
38916
|
-
spacing,
|
|
38917
38874
|
pattern,
|
|
38918
|
-
patternOpacity
|
|
38875
|
+
patternOpacity,
|
|
38876
|
+
containerClassName = "px-6 sm:px-6 md:px-8 lg:px-8",
|
|
38877
|
+
spacing = "lg"
|
|
38919
38878
|
}) {
|
|
38920
|
-
const ctaActions = ctaActionsProp ?? (ctaText ? [
|
|
38921
|
-
{
|
|
38922
|
-
label: ctaText,
|
|
38923
|
-
href: ctaHref || "#",
|
|
38924
|
-
variant: "default",
|
|
38925
|
-
size: "lg"
|
|
38926
|
-
}
|
|
38927
|
-
] : []);
|
|
38928
38879
|
const MotionWrapper = enableAnimations ? framerMotion.motion.div : "div";
|
|
38929
38880
|
const categoryContent = React30__namespace.useMemo(() => {
|
|
38930
38881
|
if (categorySlot) return categorySlot;
|
|
@@ -38934,7 +38885,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
38934
38885
|
{
|
|
38935
38886
|
href: categoryHref,
|
|
38936
38887
|
className: cn(
|
|
38937
|
-
"inline-block rounded-full bg-primary
|
|
38888
|
+
"inline-block rounded-full bg-primary px-3 py-1 text-sm font-medium text-primary-foreground backdrop-blur-sm transition-colors",
|
|
38938
38889
|
categoryClassName
|
|
38939
38890
|
),
|
|
38940
38891
|
children: category
|
|
@@ -38971,7 +38922,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
38971
38922
|
children: authorName
|
|
38972
38923
|
}
|
|
38973
38924
|
) : /* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-medium", children: authorName }),
|
|
38974
|
-
authorRole && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm
|
|
38925
|
+
authorRole && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm ", children: authorRole })
|
|
38975
38926
|
] })
|
|
38976
38927
|
] });
|
|
38977
38928
|
}, [
|
|
@@ -39042,7 +38993,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
39042
38993
|
children: [
|
|
39043
38994
|
heroMediaContent,
|
|
39044
38995
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute inset-0 bg-linear-to-t from-black/60 via-transparent to-transparent" }),
|
|
39045
|
-
/* @__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 })
|
|
39046
38997
|
]
|
|
39047
38998
|
}
|
|
39048
38999
|
),
|
|
@@ -39056,7 +39007,7 @@ function ArticleSplitAnimatedComponent({
|
|
|
39056
39007
|
"div",
|
|
39057
39008
|
{
|
|
39058
39009
|
className: cn(
|
|
39059
|
-
"flex items-center gap-4 text-sm
|
|
39010
|
+
"flex items-center gap-4 text-sm ",
|
|
39060
39011
|
metaClassName
|
|
39061
39012
|
),
|
|
39062
39013
|
children: [
|
|
@@ -39075,17 +39026,8 @@ function ArticleSplitAnimatedComponent({
|
|
|
39075
39026
|
),
|
|
39076
39027
|
children: title
|
|
39077
39028
|
}
|
|
39078
|
-
) :
|
|
39079
|
-
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
39080
|
-
"p",
|
|
39081
|
-
{
|
|
39082
|
-
className: cn(
|
|
39083
|
-
"mt-4 text-lg text-muted-foreground",
|
|
39084
|
-
descriptionClassName
|
|
39085
|
-
),
|
|
39086
|
-
children: description
|
|
39087
|
-
}
|
|
39088
|
-
) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mt-4", descriptionClassName), children: description })),
|
|
39029
|
+
) : title),
|
|
39030
|
+
description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("mt-4 text-lg", descriptionClassName), children: description }) : description),
|
|
39089
39031
|
authorContent,
|
|
39090
39032
|
ctaContent
|
|
39091
39033
|
]
|
|
@@ -58666,7 +58608,7 @@ function HeroEventRegistration({
|
|
|
58666
58608
|
locationSublabel,
|
|
58667
58609
|
locationSlot,
|
|
58668
58610
|
background,
|
|
58669
|
-
containerClassName = "mx-auto w-full max-w-full md:max-w-7xl relative z-10 px-6
|
|
58611
|
+
containerClassName = "mx-auto w-full max-w-full md:max-w-7xl relative z-10 px-6",
|
|
58670
58612
|
spacing = "py-16 md:py-40",
|
|
58671
58613
|
pattern,
|
|
58672
58614
|
patternOpacity,
|