@opensite/ui 3.4.2 → 3.4.4
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/components.cjs +47 -49
- package/dist/components.js +47 -49
- package/dist/hero-image-slider.cjs +47 -49
- package/dist/hero-image-slider.js +47 -49
- package/dist/hero-overlay-cta-grid.cjs +23 -24
- package/dist/hero-overlay-cta-grid.js +23 -24
- package/dist/image-slider.cjs +47 -49
- package/dist/image-slider.js +47 -49
- package/dist/index.cjs +47 -49
- package/dist/index.js +47 -49
- package/dist/registry.cjs +97 -91
- package/dist/registry.js +97 -91
- package/dist/social-link-icon.d.cts +1 -1
- package/dist/social-link-icon.d.ts +1 -1
- package/dist/stats-growth-timeline.cjs +25 -16
- package/dist/stats-growth-timeline.js +25 -16
- package/package.json +3 -3
|
@@ -586,8 +586,8 @@ function StatsGrowthTimeline({
|
|
|
586
586
|
milestone.metric && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4 rounded-lg border bg-background p-4 shadow-sm", children: [
|
|
587
587
|
renderMilestoneIcon(milestone),
|
|
588
588
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
589
|
-
/* @__PURE__ */ jsx("div", { className: "text-2xl font-
|
|
590
|
-
milestone.metric.label && /* @__PURE__ */ jsx("div", { className: "text-sm
|
|
589
|
+
/* @__PURE__ */ jsx("div", { className: "text-2xl font-semibold", children: milestone.metric.value }),
|
|
590
|
+
milestone.metric.label && /* @__PURE__ */ jsx("div", { className: "text-sm opacity-70", children: milestone.metric.label })
|
|
591
591
|
] })
|
|
592
592
|
] })
|
|
593
593
|
] }),
|
|
@@ -619,8 +619,8 @@ function StatsGrowthTimeline({
|
|
|
619
619
|
children: [
|
|
620
620
|
currentStatsHeading && (typeof currentStatsHeading === "string" ? /* @__PURE__ */ jsx("h3", { className: "mb-12 text-center text-4xl lg:text-5xl font-bold", children: currentStatsHeading }) : currentStatsHeading),
|
|
621
621
|
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-8 md:grid-cols-4", children: currentStats.map((stat, index) => /* @__PURE__ */ jsxs("div", { className: cn("text-center", stat.className), children: [
|
|
622
|
-
/* @__PURE__ */ jsx("div", { className: "text-2xl font-semibold
|
|
623
|
-
stat.label && /* @__PURE__ */ jsx("p", { className: "font-medium text-balance text-sm", children: stat.label })
|
|
622
|
+
/* @__PURE__ */ jsx("div", { className: "text-2xl font-semibold md:text-3xl xl:text-4xl", children: stat.value }),
|
|
623
|
+
stat.label && /* @__PURE__ */ jsx("p", { className: "font-medium text-balance text-sm opacity-70", children: stat.label })
|
|
624
624
|
] }, index)) })
|
|
625
625
|
]
|
|
626
626
|
}
|
|
@@ -636,18 +636,27 @@ function StatsGrowthTimeline({
|
|
|
636
636
|
if (futureSlot) return futureSlot;
|
|
637
637
|
if (!futureHeading && !futureDescription && (!actions || actions.length === 0))
|
|
638
638
|
return null;
|
|
639
|
-
return /* @__PURE__ */ jsxs(
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
639
|
+
return /* @__PURE__ */ jsxs(
|
|
640
|
+
"div",
|
|
641
|
+
{
|
|
642
|
+
className: cn(
|
|
643
|
+
"mt-16 text-center flex flex-col items-center justify-center",
|
|
644
|
+
futureClassName
|
|
645
|
+
),
|
|
646
|
+
children: [
|
|
647
|
+
futureHeading && (typeof futureHeading === "string" ? /* @__PURE__ */ jsx("h3", { className: "mb-4 text-2xl font-bold", children: futureHeading }) : /* @__PURE__ */ jsx("div", { className: "mb-4", children: futureHeading })),
|
|
648
|
+
futureDescription && (typeof futureDescription === "string" ? /* @__PURE__ */ jsx("p", { className: "mx-auto mb-8 max-w-full md:max-w-lg text-balance", children: futureDescription }) : futureDescription),
|
|
649
|
+
/* @__PURE__ */ jsx(
|
|
650
|
+
BlockActions,
|
|
651
|
+
{
|
|
652
|
+
actions,
|
|
653
|
+
actionsSlot,
|
|
654
|
+
actionsClassName
|
|
655
|
+
}
|
|
656
|
+
)
|
|
657
|
+
]
|
|
658
|
+
}
|
|
659
|
+
);
|
|
651
660
|
}, [
|
|
652
661
|
futureSlot,
|
|
653
662
|
futureHeading,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensite/ui",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.4",
|
|
4
4
|
"description": "Foundational UI component library for OpenSite Semantic Site Builder with tree-shakable exports and abstract styling",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -3386,9 +3386,9 @@
|
|
|
3386
3386
|
"prepublishOnly": "pnpm run build && pnpm run test:ci"
|
|
3387
3387
|
},
|
|
3388
3388
|
"peerDependencies": {
|
|
3389
|
-
"@tailwindcss/typography": ">=0.5.0",
|
|
3390
3389
|
"@page-speed/pressable": ">=0.0.9",
|
|
3391
3390
|
"@page-speed/router": ">=1.0.0",
|
|
3391
|
+
"@tailwindcss/typography": ">=0.5.0",
|
|
3392
3392
|
"react": ">=16.8.0",
|
|
3393
3393
|
"react-dom": ">=16.8.0"
|
|
3394
3394
|
},
|
|
@@ -3461,7 +3461,7 @@
|
|
|
3461
3461
|
"optionalDependencies": {
|
|
3462
3462
|
"valibot": "^1.2.0"
|
|
3463
3463
|
},
|
|
3464
|
-
"packageManager": "pnpm@10.
|
|
3464
|
+
"packageManager": "pnpm@10.33.3",
|
|
3465
3465
|
"engines": {
|
|
3466
3466
|
"node": ">=18.0.0",
|
|
3467
3467
|
"pnpm": ">=9.0.0"
|