@opensite/ui 3.3.0 → 3.3.2
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 +4 -7
- package/dist/article-breadcrumb-social.d.cts +2 -11
- package/dist/article-breadcrumb-social.d.ts +2 -11
- package/dist/article-breadcrumb-social.js +4 -7
- package/dist/article-chapters-author.cjs +3 -6
- package/dist/article-chapters-author.d.cts +2 -11
- package/dist/article-chapters-author.d.ts +2 -11
- package/dist/article-chapters-author.js +3 -6
- package/dist/article-compact-toc.cjs +4 -7
- package/dist/article-compact-toc.d.cts +2 -11
- package/dist/article-compact-toc.d.ts +2 -11
- package/dist/article-compact-toc.js +4 -7
- package/dist/article-hero-prose.cjs +4 -7
- package/dist/article-hero-prose.d.cts +2 -11
- package/dist/article-hero-prose.d.ts +2 -11
- package/dist/article-hero-prose.js +4 -7
- package/dist/article-sidebar-sticky.cjs +3 -6
- package/dist/article-sidebar-sticky.d.cts +2 -11
- package/dist/article-sidebar-sticky.d.ts +2 -11
- package/dist/article-sidebar-sticky.js +3 -6
- package/dist/article-toc-sidebar.cjs +3 -6
- package/dist/article-toc-sidebar.d.cts +1 -10
- package/dist/article-toc-sidebar.d.ts +1 -10
- package/dist/article-toc-sidebar.js +3 -6
- package/dist/feature-capabilities-grid.cjs +10 -43
- package/dist/feature-capabilities-grid.d.cts +0 -4
- package/dist/feature-capabilities-grid.d.ts +0 -4
- package/dist/feature-capabilities-grid.js +10 -43
- package/dist/hero-conversation-intelligence.cjs +1 -1
- package/dist/hero-conversation-intelligence.js +1 -1
- package/dist/longform-content.cjs +1 -1
- package/dist/longform-content.d.cts +1 -1
- package/dist/longform-content.d.ts +1 -1
- package/dist/longform-content.js +1 -1
- package/dist/navbar-mega-menu.cjs +14 -5
- package/dist/navbar-mega-menu.js +14 -5
- package/dist/registry.cjs +64 -117
- package/dist/registry.js +64 -117
- package/dist/stats-growth-timeline.cjs +87 -64
- package/dist/stats-growth-timeline.d.cts +5 -1
- package/dist/stats-growth-timeline.d.ts +5 -1
- package/dist/stats-growth-timeline.js +88 -65
- package/package.json +1 -1
package/dist/registry.cjs
CHANGED
|
@@ -27166,7 +27166,7 @@ function FeatureCapabilitiesGrid({
|
|
|
27166
27166
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute -left-2 -bottom-2 h-3 w-3 bg-background" }),
|
|
27167
27167
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute -right-2 -bottom-2 h-3 w-3 bg-background" })
|
|
27168
27168
|
] }),
|
|
27169
|
-
/* @__PURE__ */ jsxRuntime.jsxs(CardHeader, { className: "relative z-10 flex flex-row items-start gap-3
|
|
27169
|
+
/* @__PURE__ */ jsxRuntime.jsxs(CardHeader, { className: "relative z-10 flex flex-row items-start gap-3 pt-6 px-6 pb-0", children: [
|
|
27170
27170
|
iconContent && /* @__PURE__ */ jsxRuntime.jsx(
|
|
27171
27171
|
"div",
|
|
27172
27172
|
{
|
|
@@ -27182,31 +27182,13 @@ function FeatureCapabilitiesGrid({
|
|
|
27182
27182
|
{
|
|
27183
27183
|
href: item.href,
|
|
27184
27184
|
className: "flex-1 h-full flex items-center",
|
|
27185
|
-
children: /* @__PURE__ */ jsxRuntime.
|
|
27186
|
-
|
|
27187
|
-
|
|
27188
|
-
|
|
27189
|
-
|
|
27190
|
-
|
|
27191
|
-
|
|
27192
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
27193
|
-
"div",
|
|
27194
|
-
{
|
|
27195
|
-
className: cn("text-lg font-medium", item.titleClassName),
|
|
27196
|
-
children: item.title
|
|
27197
|
-
}
|
|
27198
|
-
)),
|
|
27199
|
-
item.badge && /* @__PURE__ */ jsxRuntime.jsx(
|
|
27200
|
-
"span",
|
|
27201
|
-
{
|
|
27202
|
-
className: cn(
|
|
27203
|
-
"rounded-full border px-2 py-0.5 text-[10px] leading-none",
|
|
27204
|
-
item.badgeClassName
|
|
27205
|
-
),
|
|
27206
|
-
children: item.badge
|
|
27207
|
-
}
|
|
27208
|
-
)
|
|
27209
|
-
] })
|
|
27185
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-2", children: item.title && (typeof item.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
27186
|
+
"h3",
|
|
27187
|
+
{
|
|
27188
|
+
className: cn("text-lg font-medium", item.titleClassName),
|
|
27189
|
+
children: item.title
|
|
27190
|
+
}
|
|
27191
|
+
) : item.title) })
|
|
27210
27192
|
}
|
|
27211
27193
|
)
|
|
27212
27194
|
] }),
|
|
@@ -27248,13 +27230,7 @@ function FeatureCapabilitiesGrid({
|
|
|
27248
27230
|
containerClassName,
|
|
27249
27231
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col space-y-6 md:space-y-16", children: [
|
|
27250
27232
|
eyebrow || heading ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col space-y-4 md:space-y-6", children: [
|
|
27251
|
-
eyebrow && (typeof eyebrow === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-sm tracking-widest", eyebrowClassName), children: eyebrow }) :
|
|
27252
|
-
"div",
|
|
27253
|
-
{
|
|
27254
|
-
className: cn("text-sm tracking-widest", eyebrowClassName),
|
|
27255
|
-
children: eyebrow
|
|
27256
|
-
}
|
|
27257
|
-
)),
|
|
27233
|
+
eyebrow && (typeof eyebrow === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn("text-sm tracking-widest", eyebrowClassName), children: eyebrow }) : eyebrow),
|
|
27258
27234
|
heading && (typeof heading === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
27259
27235
|
"h2",
|
|
27260
27236
|
{
|
|
@@ -27264,16 +27240,7 @@ function FeatureCapabilitiesGrid({
|
|
|
27264
27240
|
),
|
|
27265
27241
|
children: heading
|
|
27266
27242
|
}
|
|
27267
|
-
) :
|
|
27268
|
-
"div",
|
|
27269
|
-
{
|
|
27270
|
-
className: cn(
|
|
27271
|
-
"text-4xl font-semibold sm:text-5xl",
|
|
27272
|
-
headingClassName
|
|
27273
|
-
),
|
|
27274
|
-
children: heading
|
|
27275
|
-
}
|
|
27276
|
-
))
|
|
27243
|
+
) : heading)
|
|
27277
27244
|
] }) : null,
|
|
27278
27245
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
27279
27246
|
"div",
|
|
@@ -37980,7 +37947,7 @@ function BlogCarouselAppleComponent({
|
|
|
37980
37947
|
}
|
|
37981
37948
|
function LongformContent({
|
|
37982
37949
|
children,
|
|
37983
|
-
renderMode = "
|
|
37950
|
+
renderMode = "markdown",
|
|
37984
37951
|
markdownString,
|
|
37985
37952
|
optixFlowConfig,
|
|
37986
37953
|
markdownStyles
|
|
@@ -38019,8 +37986,6 @@ function ArticleHeroProseComponent({
|
|
|
38019
37986
|
proseClassName,
|
|
38020
37987
|
heroMediaSlot,
|
|
38021
37988
|
authorSlot,
|
|
38022
|
-
children,
|
|
38023
|
-
renderMode = "jsx",
|
|
38024
37989
|
markdownString,
|
|
38025
37990
|
markdownStyles,
|
|
38026
37991
|
dateFormat = "MMMM d, yyyy",
|
|
@@ -38134,7 +38099,7 @@ function ArticleHeroProseComponent({
|
|
|
38134
38099
|
]
|
|
38135
38100
|
}
|
|
38136
38101
|
) }),
|
|
38137
|
-
|
|
38102
|
+
markdownString && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col items-center", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
38138
38103
|
"div",
|
|
38139
38104
|
{
|
|
38140
38105
|
className: cn(
|
|
@@ -38145,11 +38110,10 @@ function ArticleHeroProseComponent({
|
|
|
38145
38110
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
38146
38111
|
LongformContent,
|
|
38147
38112
|
{
|
|
38148
|
-
renderMode,
|
|
38113
|
+
renderMode: "markdown",
|
|
38149
38114
|
markdownString,
|
|
38150
38115
|
optixFlowConfig,
|
|
38151
|
-
markdownStyles
|
|
38152
|
-
children
|
|
38116
|
+
markdownStyles
|
|
38153
38117
|
}
|
|
38154
38118
|
)
|
|
38155
38119
|
}
|
|
@@ -38190,8 +38154,6 @@ function ArticleSidebarStickyComponent({
|
|
|
38190
38154
|
heroImageSrc,
|
|
38191
38155
|
heroImageAlt,
|
|
38192
38156
|
heroMediaSlot,
|
|
38193
|
-
children,
|
|
38194
|
-
renderMode = "jsx",
|
|
38195
38157
|
markdownString,
|
|
38196
38158
|
markdownStyles,
|
|
38197
38159
|
optixFlowConfig,
|
|
@@ -38318,11 +38280,10 @@ function ArticleSidebarStickyComponent({
|
|
|
38318
38280
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38319
38281
|
LongformContent,
|
|
38320
38282
|
{
|
|
38321
|
-
renderMode,
|
|
38283
|
+
renderMode: "markdown",
|
|
38322
38284
|
markdownString,
|
|
38323
38285
|
optixFlowConfig,
|
|
38324
|
-
markdownStyles
|
|
38325
|
-
children
|
|
38286
|
+
markdownStyles
|
|
38326
38287
|
}
|
|
38327
38288
|
),
|
|
38328
38289
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -38372,8 +38333,6 @@ function ArticleTocSidebarComponent({
|
|
|
38372
38333
|
ctaDescription,
|
|
38373
38334
|
ctaActions,
|
|
38374
38335
|
ctaSlot,
|
|
38375
|
-
children,
|
|
38376
|
-
renderMode = "jsx",
|
|
38377
38336
|
markdownString,
|
|
38378
38337
|
markdownStyles,
|
|
38379
38338
|
enableTocTracking = true,
|
|
@@ -38565,11 +38524,10 @@ function ArticleTocSidebarComponent({
|
|
|
38565
38524
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38566
38525
|
LongformContent,
|
|
38567
38526
|
{
|
|
38568
|
-
renderMode,
|
|
38527
|
+
renderMode: "markdown",
|
|
38569
38528
|
markdownString,
|
|
38570
38529
|
optixFlowConfig,
|
|
38571
|
-
markdownStyles
|
|
38572
|
-
children
|
|
38530
|
+
markdownStyles
|
|
38573
38531
|
}
|
|
38574
38532
|
),
|
|
38575
38533
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -38616,8 +38574,6 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38616
38574
|
heroImageSrc,
|
|
38617
38575
|
heroImageAlt,
|
|
38618
38576
|
heroMediaSlot,
|
|
38619
|
-
children,
|
|
38620
|
-
renderMode = "jsx",
|
|
38621
38577
|
markdownString,
|
|
38622
38578
|
markdownStyles,
|
|
38623
38579
|
enableTocTracking,
|
|
@@ -38763,7 +38719,7 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38763
38719
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
38764
38720
|
breadcrumbsContent,
|
|
38765
38721
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-10 lg:grid-cols-[minmax(0,1fr)_280px]", children: [
|
|
38766
|
-
|
|
38722
|
+
markdownString && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
38767
38723
|
"article",
|
|
38768
38724
|
{
|
|
38769
38725
|
className: cn(
|
|
@@ -38786,11 +38742,10 @@ function ArticleBreadcrumbSocialComponent({
|
|
|
38786
38742
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38787
38743
|
LongformContent,
|
|
38788
38744
|
{
|
|
38789
|
-
renderMode,
|
|
38745
|
+
renderMode: "markdown",
|
|
38790
38746
|
markdownString,
|
|
38791
38747
|
optixFlowConfig,
|
|
38792
|
-
markdownStyles
|
|
38793
|
-
children
|
|
38748
|
+
markdownStyles
|
|
38794
38749
|
}
|
|
38795
38750
|
),
|
|
38796
38751
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -38845,8 +38800,6 @@ function ArticleCompactTocComponent({
|
|
|
38845
38800
|
heroImageSrc,
|
|
38846
38801
|
heroImageAlt,
|
|
38847
38802
|
heroMediaSlot,
|
|
38848
|
-
children,
|
|
38849
|
-
renderMode = "jsx",
|
|
38850
38803
|
markdownString,
|
|
38851
38804
|
markdownStyles,
|
|
38852
38805
|
enableTocTracking = true,
|
|
@@ -39023,7 +38976,7 @@ function ArticleCompactTocComponent({
|
|
|
39023
38976
|
}
|
|
39024
38977
|
),
|
|
39025
38978
|
tocContent,
|
|
39026
|
-
|
|
38979
|
+
markdownString && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
39027
38980
|
"article",
|
|
39028
38981
|
{
|
|
39029
38982
|
className: cn(
|
|
@@ -39035,11 +38988,10 @@ function ArticleCompactTocComponent({
|
|
|
39035
38988
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39036
38989
|
LongformContent,
|
|
39037
38990
|
{
|
|
39038
|
-
renderMode,
|
|
38991
|
+
renderMode: "markdown",
|
|
39039
38992
|
markdownString,
|
|
39040
38993
|
optixFlowConfig,
|
|
39041
|
-
markdownStyles
|
|
39042
|
-
children
|
|
38994
|
+
markdownStyles
|
|
39043
38995
|
}
|
|
39044
38996
|
),
|
|
39045
38997
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -39090,8 +39042,6 @@ function ArticleChaptersAuthorComponent({
|
|
|
39090
39042
|
conclusionDescription,
|
|
39091
39043
|
conclusionActions,
|
|
39092
39044
|
conclusionSlot,
|
|
39093
|
-
children,
|
|
39094
|
-
renderMode = "jsx",
|
|
39095
39045
|
markdownString,
|
|
39096
39046
|
markdownStyles,
|
|
39097
39047
|
enableChapterTracking = true,
|
|
@@ -39350,11 +39300,10 @@ function ArticleChaptersAuthorComponent({
|
|
|
39350
39300
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39351
39301
|
LongformContent,
|
|
39352
39302
|
{
|
|
39353
|
-
renderMode,
|
|
39303
|
+
renderMode: "markdown",
|
|
39354
39304
|
markdownString,
|
|
39355
39305
|
optixFlowConfig,
|
|
39356
|
-
markdownStyles
|
|
39357
|
-
children
|
|
39306
|
+
markdownStyles
|
|
39358
39307
|
}
|
|
39359
39308
|
),
|
|
39360
39309
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-12", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -59680,7 +59629,7 @@ function HeroConversationIntelligence({
|
|
|
59680
59629
|
{
|
|
59681
59630
|
actions,
|
|
59682
59631
|
actionsSlot,
|
|
59683
|
-
actionsClassName
|
|
59632
|
+
actionsClassName: cn(actionsClassName, "justify-center")
|
|
59684
59633
|
}
|
|
59685
59634
|
)
|
|
59686
59635
|
]
|
|
@@ -63634,11 +63583,20 @@ var NavbarMegaMenu = ({
|
|
|
63634
63583
|
className: actionClassName,
|
|
63635
63584
|
...pressableProps
|
|
63636
63585
|
} = action;
|
|
63637
|
-
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
63638
|
-
|
|
63639
|
-
|
|
63640
|
-
|
|
63641
|
-
|
|
63586
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
63587
|
+
pressable.Pressable,
|
|
63588
|
+
{
|
|
63589
|
+
asButton: true,
|
|
63590
|
+
className: actionClassName,
|
|
63591
|
+
...pressableProps,
|
|
63592
|
+
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
63593
|
+
icon,
|
|
63594
|
+
label,
|
|
63595
|
+
iconAfter
|
|
63596
|
+
] })
|
|
63597
|
+
},
|
|
63598
|
+
index
|
|
63599
|
+
);
|
|
63642
63600
|
});
|
|
63643
63601
|
};
|
|
63644
63602
|
const {
|
|
@@ -97413,6 +97371,7 @@ function StatsGrowthTimeline({
|
|
|
97413
97371
|
futureSlot,
|
|
97414
97372
|
actions,
|
|
97415
97373
|
actionsSlot,
|
|
97374
|
+
actionsClassName,
|
|
97416
97375
|
background,
|
|
97417
97376
|
pattern,
|
|
97418
97377
|
patternOpacity,
|
|
@@ -97459,19 +97418,18 @@ function StatsGrowthTimeline({
|
|
|
97459
97418
|
"div",
|
|
97460
97419
|
{
|
|
97461
97420
|
className: cn(
|
|
97462
|
-
"
|
|
97463
|
-
|
|
97464
|
-
getNestedCardTextColor(background)
|
|
97421
|
+
"bg-muted text-muted-foreground",
|
|
97422
|
+
"mb-4 inline-flex h-fit py-2 w-fit px-4 items-center justify-center rounded-full text-sm font-semibold"
|
|
97465
97423
|
),
|
|
97466
97424
|
children: milestone.year
|
|
97467
97425
|
}
|
|
97468
97426
|
),
|
|
97469
|
-
milestone.title && (typeof milestone.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-2 text-xl font-bold", children: milestone.title }) :
|
|
97470
|
-
milestone.description && (typeof milestone.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-4 text-muted-foreground", children: milestone.description }) :
|
|
97427
|
+
milestone.title && (typeof milestone.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-2 text-xl font-bold", children: milestone.title }) : milestone.title),
|
|
97428
|
+
milestone.description && (typeof milestone.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-4 text-muted-foreground", children: milestone.description }) : milestone.description),
|
|
97471
97429
|
milestone.metric && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-4 rounded-lg border bg-background p-4 shadow-sm", children: [
|
|
97472
97430
|
renderMilestoneIcon(milestone),
|
|
97473
97431
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
97474
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-
|
|
97432
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-2xl font-bold text-primary", children: milestone.metric.value }),
|
|
97475
97433
|
milestone.metric.label && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-sm text-muted-foreground", children: milestone.metric.label })
|
|
97476
97434
|
] })
|
|
97477
97435
|
] })
|
|
@@ -97497,16 +97455,15 @@ function StatsGrowthTimeline({
|
|
|
97497
97455
|
"div",
|
|
97498
97456
|
{
|
|
97499
97457
|
className: cn(
|
|
97500
|
-
"
|
|
97501
|
-
|
|
97502
|
-
getNestedCardTextColor(background),
|
|
97458
|
+
"p-6 md:p-12 bg-card text-card-foreground",
|
|
97459
|
+
"mt-24 rounded-lg border border-border shadow-md",
|
|
97503
97460
|
currentStatsClassName
|
|
97504
97461
|
),
|
|
97505
97462
|
children: [
|
|
97506
|
-
currentStatsHeading && (typeof currentStatsHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-
|
|
97463
|
+
currentStatsHeading && (typeof currentStatsHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-12 text-center text-4xl lg:text-5xl font-bold", children: currentStatsHeading }) : currentStatsHeading),
|
|
97507
97464
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-8 md:grid-cols-4", children: currentStats.map((stat, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("text-center", stat.className), children: [
|
|
97508
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "
|
|
97509
|
-
stat.label && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-medium text-
|
|
97465
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-2xl font-semibold text-primary md:text-3xl xl:text-4xl", children: stat.value }),
|
|
97466
|
+
stat.label && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-medium text-balance text-sm", children: stat.label })
|
|
97510
97467
|
] }, index)) })
|
|
97511
97468
|
]
|
|
97512
97469
|
}
|
|
@@ -97518,39 +97475,29 @@ function StatsGrowthTimeline({
|
|
|
97518
97475
|
currentStatsHeading,
|
|
97519
97476
|
currentStatsClassName
|
|
97520
97477
|
]);
|
|
97521
|
-
const actionsContent = React30.useMemo(() => {
|
|
97522
|
-
if (actionsSlot) return actionsSlot;
|
|
97523
|
-
if (!actions || actions.length === 0) return null;
|
|
97524
|
-
return actions.map((action, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
97525
|
-
pressable.Pressable,
|
|
97526
|
-
{
|
|
97527
|
-
href: action.href,
|
|
97528
|
-
onClick: action.onClick,
|
|
97529
|
-
variant: action.variant,
|
|
97530
|
-
className: "inline-flex items-center font-medium text-primary hover:underline",
|
|
97531
|
-
children: [
|
|
97532
|
-
action.label,
|
|
97533
|
-
/* @__PURE__ */ jsxRuntime.jsx(DynamicIcon, { name: "lucide/arrow-right", size: 16, className: "ml-2" })
|
|
97534
|
-
]
|
|
97535
|
-
},
|
|
97536
|
-
index
|
|
97537
|
-
));
|
|
97538
|
-
}, [actionsSlot, actions]);
|
|
97539
97478
|
const futureContent = React30.useMemo(() => {
|
|
97540
97479
|
if (futureSlot) return futureSlot;
|
|
97541
97480
|
if (!futureHeading && !futureDescription && (!actions || actions.length === 0))
|
|
97542
97481
|
return null;
|
|
97543
97482
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("mt-16 text-center", futureClassName), children: [
|
|
97544
97483
|
futureHeading && (typeof futureHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4 text-2xl font-bold", children: futureHeading }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-4", children: futureHeading })),
|
|
97545
|
-
futureDescription && (typeof futureDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mx-auto mb-8 max-w-
|
|
97546
|
-
|
|
97484
|
+
futureDescription && (typeof futureDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mx-auto mb-8 max-w-full md:max-w-lg text-balance", children: futureDescription }) : futureDescription),
|
|
97485
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
97486
|
+
BlockActions,
|
|
97487
|
+
{
|
|
97488
|
+
actions,
|
|
97489
|
+
actionsSlot,
|
|
97490
|
+
actionsClassName
|
|
97491
|
+
}
|
|
97492
|
+
)
|
|
97547
97493
|
] });
|
|
97548
97494
|
}, [
|
|
97549
97495
|
futureSlot,
|
|
97550
97496
|
futureHeading,
|
|
97551
97497
|
futureDescription,
|
|
97552
97498
|
futureClassName,
|
|
97553
|
-
|
|
97499
|
+
actionsSlot,
|
|
97500
|
+
actionsClassName,
|
|
97554
97501
|
actions
|
|
97555
97502
|
]);
|
|
97556
97503
|
const hasHeaderContent = !!(badge || badgeSlot || heading || description);
|
|
@@ -97587,7 +97534,7 @@ function StatsGrowthTimeline({
|
|
|
97587
97534
|
),
|
|
97588
97535
|
children: description
|
|
97589
97536
|
}
|
|
97590
|
-
) :
|
|
97537
|
+
) : description)
|
|
97591
97538
|
] }),
|
|
97592
97539
|
milestonesContent,
|
|
97593
97540
|
currentStatsContent,
|