@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 +1 -1
- package/dist/{chunk-BJGPQLMW.js → chunk-72UTPXMT.js} +1 -1
- package/dist/create-animated-icon.cjs +1 -1
- package/dist/create-animated-icon.js +1 -1
- package/dist/icons/index.cjs +1 -1
- package/dist/icons/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/skills/vegastack-design-system/SKILL.md +1 -1
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-
|
|
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));
|
package/dist/icons/index.cjs
CHANGED
|
@@ -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));
|
package/dist/icons/index.js
CHANGED
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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vegastack/design",
|
|
3
|
-
"version": "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.
|
|
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-
|
|
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,
|