kaze-design-system 0.2.5 → 0.2.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/components.css CHANGED
@@ -1446,6 +1446,11 @@
1446
1446
  color: var(--color-fg-secondary);
1447
1447
  }
1448
1448
 
1449
+ .stat__description {
1450
+ font-size: var(--font-size-xs);
1451
+ color: var(--color-fg-muted);
1452
+ }
1453
+
1449
1454
  /* ── Pricing ─────────────────────────────────────────────── */
1450
1455
  .pricing-grid {
1451
1456
  display: grid;
@@ -8,10 +8,11 @@ const Stats = forwardRef(
8
8
  );
9
9
  Stats.displayName = "Stats";
10
10
  const StatItem = forwardRef(
11
- ({ value, label, className, ...rest }, ref) => {
11
+ ({ value, label, description, className, ...rest }, ref) => {
12
12
  return /* @__PURE__ */ jsxs("div", { ref, className: cn("stat", className), ...rest, children: [
13
13
  /* @__PURE__ */ jsx("span", { className: "stat__value", children: value }),
14
- /* @__PURE__ */ jsx("span", { className: "stat__label", children: label })
14
+ /* @__PURE__ */ jsx("span", { className: "stat__label", children: label }),
15
+ description && /* @__PURE__ */ jsx("span", { className: "stat__description", children: description })
15
16
  ] });
16
17
  }
17
18
  );
@@ -5,5 +5,7 @@ export declare const Stats: import("react").ForwardRefExoticComponent<StatsProps
5
5
  export interface StatItemProps extends HTMLAttributes<HTMLDivElement> {
6
6
  value: string;
7
7
  label: string;
8
+ /** Optional description / sub-text below the label */
9
+ description?: string;
8
10
  }
9
11
  export declare const StatItem: import("react").ForwardRefExoticComponent<StatItemProps & import("react").RefAttributes<HTMLDivElement>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kaze-design-system",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "license": "MIT",