@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.
@@ -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-bold text-primary", children: milestone.metric.value }),
590
- milestone.metric.label && /* @__PURE__ */ jsx("div", { className: "text-sm text-muted-foreground", children: milestone.metric.label })
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 text-primary md:text-3xl xl:text-4xl", children: stat.value }),
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("div", { className: cn("mt-16 text-center", futureClassName), children: [
640
- futureHeading && (typeof futureHeading === "string" ? /* @__PURE__ */ jsx("h3", { className: "mb-4 text-2xl font-bold", children: futureHeading }) : /* @__PURE__ */ jsx("div", { className: "mb-4", children: futureHeading })),
641
- futureDescription && (typeof futureDescription === "string" ? /* @__PURE__ */ jsx("p", { className: "mx-auto mb-8 max-w-full md:max-w-lg text-balance", children: futureDescription }) : futureDescription),
642
- /* @__PURE__ */ jsx(
643
- BlockActions,
644
- {
645
- actions,
646
- actionsSlot,
647
- actionsClassName
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.2",
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.28.2",
3464
+ "packageManager": "pnpm@10.33.3",
3465
3465
  "engines": {
3466
3466
  "node": ">=18.0.0",
3467
3467
  "pnpm": ">=9.0.0"