@vegastack/design 0.22.0 → 0.24.0

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/bin/doctor.mjs CHANGED
@@ -149,7 +149,7 @@ function readJson(path) {
149
149
  const GUIDE = "https://design.vegastack.com/docs/guides/migrating-shadcn-reset";
150
150
  const HEADING_HINT = {
151
151
  "text-h1":
152
- "PageHeader (font-heading text-2xl font-semibold, the page heading)",
152
+ "PageHeader (font-heading text-page-title font-semibold, the page heading)",
153
153
  "text-h2": "font-heading text-base font-medium (section heading)",
154
154
  "text-h3": "text-lg font-semibold",
155
155
  "text-h4": "text-base font-medium (card / dialog title)",
@@ -165,7 +165,7 @@ var CORNER_ROLES = [
165
165
  "tile"
166
166
  ];
167
167
  var twMerge = extendTailwindMerge({
168
- extend: { theme: { radius: [...CORNER_ROLES] } }
168
+ extend: { theme: { radius: [...CORNER_ROLES], text: ["page-title"] } }
169
169
  });
170
170
  function cn(...inputs) {
171
171
  return twMerge(clsx(inputs));
@@ -205,7 +205,7 @@ var CORNER_ROLES = [
205
205
  "tile"
206
206
  ];
207
207
  var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
208
- extend: { theme: { radius: [...CORNER_ROLES] } }
208
+ extend: { theme: { radius: [...CORNER_ROLES], text: ["page-title"] } }
209
209
  });
210
210
  function cn(...inputs) {
211
211
  return twMerge((0, import_clsx.clsx)(inputs));
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  cn
4
- } from "./chunk-BJGPQLMW.js";
4
+ } from "./chunk-72UTPXMT.js";
5
5
 
6
6
  // src/icons/create-animated-icon.tsx
7
7
  import * as React from "react";
@@ -219,7 +219,7 @@ var CORNER_ROLES = [
219
219
  "tile"
220
220
  ];
221
221
  var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
222
- extend: { theme: { radius: [...CORNER_ROLES] } }
222
+ extend: { theme: { radius: [...CORNER_ROLES], text: ["page-title"] } }
223
223
  });
224
224
  function cn(...inputs) {
225
225
  return twMerge((0, import_clsx.clsx)(inputs));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  cn
3
- } from "../chunk-BJGPQLMW.js";
3
+ } from "../chunk-72UTPXMT.js";
4
4
 
5
5
  // src/icons/icon.tsx
6
6
  import "react";
package/dist/index.cjs CHANGED
@@ -198,7 +198,7 @@ var CORNER_ROLES = [
198
198
  "tile"
199
199
  ];
200
200
  var twMerge = (0, import_tailwind_merge.extendTailwindMerge)({
201
- extend: { theme: { radius: [...CORNER_ROLES] } }
201
+ extend: { theme: { radius: [...CORNER_ROLES], text: ["page-title"] } }
202
202
  });
203
203
  function cn(...inputs) {
204
204
  return twMerge((0, import_clsx.clsx)(inputs));
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  proseDocumentClassName,
10
10
  proseReading,
11
11
  proseReadingClassName
12
- } from "./chunk-BJGPQLMW.js";
12
+ } from "./chunk-72UTPXMT.js";
13
13
  export {
14
14
  FLOATING,
15
15
  TIMINGS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vegastack/design",
3
- "version": "0.22.0",
3
+ "version": "0.24.0",
4
4
  "description": "VegaStack design system — cn utility, icon runtime, Tailwind v4 preset, and the vegastack-design CLI (tokens ship separately as @vegastack/design-tokens)",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -70,7 +70,7 @@
70
70
  "test": "node test/compare.test.mjs && node test/check-updates.test.mjs && node test/skills-install.test.mjs && node test/doctor.test.mjs && node --test test/merge-refs.test.mjs test/registry-credentials.test.mjs test/registry-fetch.test.mjs"
71
71
  },
72
72
  "dependencies": {
73
- "@vegastack/design-tokens": "^0.22.0",
73
+ "@vegastack/design-tokens": "^0.24.0",
74
74
  "clsx": "^2.1.1",
75
75
  "tailwind-merge": "^3.6.0",
76
76
  "tsconfig-paths": "^4.2.0",
@@ -413,7 +413,7 @@ contract.
413
413
  rest); the filled primary `Button` is only the page's top-bar action and a dialog's confirm.
414
414
  - Set numbers — counts, dates, amounts, quantities — in the regular font with `tabular-nums`, and
415
415
  right-align a numeric column. `font-mono` is for code and identifiers (`SYS-1042`) only.
416
- - Title a page with `PageHeader` (`font-heading text-2xl font-semibold`); a section heading is
416
+ - Title a page with `PageHeader` (`font-heading text-page-title font-semibold`, 26/600); a section heading is
417
417
  `font-heading text-base font-medium`, a group label `text-xs font-medium text-muted-foreground`.
418
418
  - Give every corner its ROLE, never a size (BRD-12): `rounded-control` for a single-line control,
419
419
  `rounded-icon` for an icon-only button, `rounded-chip`, `rounded-inline` for a token inside text,