@vegastack/design 0.7.14 → 0.7.16
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vegastack/design",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.16",
|
|
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": {
|
|
@@ -51,6 +51,11 @@ link` (upstream's set, verbatim). `destructive` is a soft tint, not a solid red
|
|
|
51
51
|
an icon in a bare `<button>` is off-system. An icon-only LINK stays an `<a>` styled with
|
|
52
52
|
`buttonVariants({ variant, size: "icon" })` — never a `Button`, which would put `role="button"`
|
|
53
53
|
on navigation. `loading` is ours: it holds the label's box and sets `aria-busy`.
|
|
54
|
+
- **Leading icons are muted and follow the row** — menus, select/combobox/command items, sidebar
|
|
55
|
+
buttons, nav links, toggles, ghost/outline buttons, breadcrumb links and item media mute a
|
|
56
|
+
leading icon and turn it full colour on hover, focus, highlight, selection, active, open and
|
|
57
|
+
pressed. Never add `text-muted-foreground` (or any colour) to those icons; only intentional
|
|
58
|
+
status colours belong there. Destructive rows keep `text-destructive`.
|
|
54
59
|
- **Control sizes are upstream's names: `default · xs · sm · lg`**, plus
|
|
55
60
|
`icon · icon-xs · icon-sm · icon-lg` where a square tier exists. The old `md` default is gone, and
|
|
56
61
|
most of the components that are ours dropped their `size` prop entirely and take their height from
|