@opensite/ui 3.5.5 → 3.5.6

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/registry.cjs CHANGED
@@ -97927,8 +97927,8 @@ function StatsGrowthTimeline({
97927
97927
  }
97928
97928
  ),
97929
97929
  milestone.title && (typeof milestone.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-2 text-xl font-bold", children: milestone.title }) : milestone.title),
97930
- milestone.description && (typeof milestone.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-4 text-muted-foreground", children: milestone.description }) : milestone.description),
97931
- milestone.metric && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-4 rounded-lg border bg-background p-4 shadow-sm", children: [
97930
+ milestone.description && (typeof milestone.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-4 opacity-70 text-balance", children: milestone.description }) : milestone.description),
97931
+ milestone.metric && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-4 rounded-lg border bg-card text-card-foreground p-4 shadow-sm", children: [
97932
97932
  renderMilestoneIcon(milestone),
97933
97933
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
97934
97934
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-2xl font-semibold", children: milestone.metric.value }),
@@ -97989,8 +97989,8 @@ function StatsGrowthTimeline({
97989
97989
  futureClassName
97990
97990
  ),
97991
97991
  children: [
97992
- 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 })),
97993
- 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),
97992
+ futureHeading && (typeof futureHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-2xl font-bold", children: futureHeading }) : futureHeading),
97993
+ futureDescription && (typeof futureDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "max-w-full md:max-w-md text-balance", children: futureDescription }) : futureDescription),
97994
97994
  /* @__PURE__ */ jsxRuntime.jsx(
97995
97995
  BlockActions,
97996
97996
  {
@@ -98035,12 +98035,12 @@ function StatsGrowthTimeline({
98035
98035
  ),
98036
98036
  children: heading
98037
98037
  }
98038
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mb-4", headingClassName), children: heading })),
98038
+ ) : heading),
98039
98039
  description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
98040
98040
  "p",
98041
98041
  {
98042
98042
  className: cn(
98043
- "mx-auto max-w-3xl text-lg text-muted-foreground",
98043
+ "max-w-full md:max-w-md text-base md:text-lg text-balance",
98044
98044
  descriptionClassName
98045
98045
  ),
98046
98046
  children: description
package/dist/registry.js CHANGED
@@ -97887,8 +97887,8 @@ function StatsGrowthTimeline({
97887
97887
  }
97888
97888
  ),
97889
97889
  milestone.title && (typeof milestone.title === "string" ? /* @__PURE__ */ jsx("h3", { className: "mb-2 text-xl font-bold", children: milestone.title }) : milestone.title),
97890
- milestone.description && (typeof milestone.description === "string" ? /* @__PURE__ */ jsx("p", { className: "mb-4 text-muted-foreground", children: milestone.description }) : milestone.description),
97891
- milestone.metric && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4 rounded-lg border bg-background p-4 shadow-sm", children: [
97890
+ milestone.description && (typeof milestone.description === "string" ? /* @__PURE__ */ jsx("p", { className: "mb-4 opacity-70 text-balance", children: milestone.description }) : milestone.description),
97891
+ milestone.metric && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4 rounded-lg border bg-card text-card-foreground p-4 shadow-sm", children: [
97892
97892
  renderMilestoneIcon(milestone),
97893
97893
  /* @__PURE__ */ jsxs("div", { children: [
97894
97894
  /* @__PURE__ */ jsx("div", { className: "text-2xl font-semibold", children: milestone.metric.value }),
@@ -97949,8 +97949,8 @@ function StatsGrowthTimeline({
97949
97949
  futureClassName
97950
97950
  ),
97951
97951
  children: [
97952
- futureHeading && (typeof futureHeading === "string" ? /* @__PURE__ */ jsx("h3", { className: "mb-4 text-2xl font-bold", children: futureHeading }) : /* @__PURE__ */ jsx("div", { className: "mb-4", children: futureHeading })),
97953
- futureDescription && (typeof futureDescription === "string" ? /* @__PURE__ */ jsx("p", { className: "mx-auto mb-8 max-w-full md:max-w-lg text-balance", children: futureDescription }) : futureDescription),
97952
+ futureHeading && (typeof futureHeading === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-2xl font-bold", children: futureHeading }) : futureHeading),
97953
+ futureDescription && (typeof futureDescription === "string" ? /* @__PURE__ */ jsx("p", { className: "max-w-full md:max-w-md text-balance", children: futureDescription }) : futureDescription),
97954
97954
  /* @__PURE__ */ jsx(
97955
97955
  BlockActions,
97956
97956
  {
@@ -97995,12 +97995,12 @@ function StatsGrowthTimeline({
97995
97995
  ),
97996
97996
  children: heading
97997
97997
  }
97998
- ) : /* @__PURE__ */ jsx("div", { className: cn("mb-4", headingClassName), children: heading })),
97998
+ ) : heading),
97999
97999
  description && (typeof description === "string" ? /* @__PURE__ */ jsx(
98000
98000
  "p",
98001
98001
  {
98002
98002
  className: cn(
98003
- "mx-auto max-w-3xl text-lg text-muted-foreground",
98003
+ "max-w-full md:max-w-md text-base md:text-lg text-balance",
98004
98004
  descriptionClassName
98005
98005
  ),
98006
98006
  children: description
@@ -603,8 +603,8 @@ function StatsGrowthTimeline({
603
603
  }
604
604
  ),
605
605
  milestone.title && (typeof milestone.title === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-2 text-xl font-bold", children: milestone.title }) : milestone.title),
606
- milestone.description && (typeof milestone.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-4 text-muted-foreground", children: milestone.description }) : milestone.description),
607
- milestone.metric && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-4 rounded-lg border bg-background p-4 shadow-sm", children: [
606
+ milestone.description && (typeof milestone.description === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mb-4 opacity-70 text-balance", children: milestone.description }) : milestone.description),
607
+ milestone.metric && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-4 rounded-lg border bg-card text-card-foreground p-4 shadow-sm", children: [
608
608
  renderMilestoneIcon(milestone),
609
609
  /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
610
610
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-2xl font-semibold", children: milestone.metric.value }),
@@ -665,8 +665,8 @@ function StatsGrowthTimeline({
665
665
  futureClassName
666
666
  ),
667
667
  children: [
668
- 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 })),
669
- 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),
668
+ futureHeading && (typeof futureHeading === "string" ? /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-2xl font-bold", children: futureHeading }) : futureHeading),
669
+ futureDescription && (typeof futureDescription === "string" ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "max-w-full md:max-w-md text-balance", children: futureDescription }) : futureDescription),
670
670
  /* @__PURE__ */ jsxRuntime.jsx(
671
671
  BlockActions,
672
672
  {
@@ -711,12 +711,12 @@ function StatsGrowthTimeline({
711
711
  ),
712
712
  children: heading
713
713
  }
714
- ) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn("mb-4", headingClassName), children: heading })),
714
+ ) : heading),
715
715
  description && (typeof description === "string" ? /* @__PURE__ */ jsxRuntime.jsx(
716
716
  "p",
717
717
  {
718
718
  className: cn(
719
- "mx-auto max-w-3xl text-lg text-muted-foreground",
719
+ "max-w-full md:max-w-md text-base md:text-lg text-balance",
720
720
  descriptionClassName
721
721
  ),
722
722
  children: description
@@ -582,8 +582,8 @@ function StatsGrowthTimeline({
582
582
  }
583
583
  ),
584
584
  milestone.title && (typeof milestone.title === "string" ? /* @__PURE__ */ jsx("h3", { className: "mb-2 text-xl font-bold", children: milestone.title }) : milestone.title),
585
- milestone.description && (typeof milestone.description === "string" ? /* @__PURE__ */ jsx("p", { className: "mb-4 text-muted-foreground", children: milestone.description }) : milestone.description),
586
- milestone.metric && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4 rounded-lg border bg-background p-4 shadow-sm", children: [
585
+ milestone.description && (typeof milestone.description === "string" ? /* @__PURE__ */ jsx("p", { className: "mb-4 opacity-70 text-balance", children: milestone.description }) : milestone.description),
586
+ milestone.metric && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-4 rounded-lg border bg-card text-card-foreground p-4 shadow-sm", children: [
587
587
  renderMilestoneIcon(milestone),
588
588
  /* @__PURE__ */ jsxs("div", { children: [
589
589
  /* @__PURE__ */ jsx("div", { className: "text-2xl font-semibold", children: milestone.metric.value }),
@@ -644,8 +644,8 @@ function StatsGrowthTimeline({
644
644
  futureClassName
645
645
  ),
646
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),
647
+ futureHeading && (typeof futureHeading === "string" ? /* @__PURE__ */ jsx("h3", { className: "text-2xl font-bold", children: futureHeading }) : futureHeading),
648
+ futureDescription && (typeof futureDescription === "string" ? /* @__PURE__ */ jsx("p", { className: "max-w-full md:max-w-md text-balance", children: futureDescription }) : futureDescription),
649
649
  /* @__PURE__ */ jsx(
650
650
  BlockActions,
651
651
  {
@@ -690,12 +690,12 @@ function StatsGrowthTimeline({
690
690
  ),
691
691
  children: heading
692
692
  }
693
- ) : /* @__PURE__ */ jsx("div", { className: cn("mb-4", headingClassName), children: heading })),
693
+ ) : heading),
694
694
  description && (typeof description === "string" ? /* @__PURE__ */ jsx(
695
695
  "p",
696
696
  {
697
697
  className: cn(
698
- "mx-auto max-w-3xl text-lg text-muted-foreground",
698
+ "max-w-full md:max-w-md text-base md:text-lg text-balance",
699
699
  descriptionClassName
700
700
  ),
701
701
  children: description
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensite/ui",
3
- "version": "3.5.5",
3
+ "version": "3.5.6",
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",