@vegastack/design 0.24.0 → 0.25.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/dist/{chunk-72UTPXMT.js → chunk-VS2NIUXF.js} +2 -0
- package/dist/create-animated-icon.cjs +2 -0
- package/dist/create-animated-icon.js +1 -1
- package/dist/icons/index.cjs +2 -0
- package/dist/icons/index.js +1 -1
- package/dist/index.cjs +2 -0
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/skills/vegastack-design-audit/SKILL.md +3 -1
- package/skills/vegastack-design-system/SKILL.md +5 -3
- package/skills/vegastack-design-system/references/components.md +2 -2
package/dist/icons/index.cjs
CHANGED
package/dist/icons/index.js
CHANGED
package/dist/index.cjs
CHANGED
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.25.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.25.0",
|
|
74
74
|
"clsx": "^2.1.1",
|
|
75
75
|
"tailwind-merge": "^3.6.0",
|
|
76
76
|
"tsconfig-paths": "^4.2.0",
|
|
@@ -66,7 +66,9 @@ rg -n 'style=\{\{' --glob '!components/ui/**'
|
|
|
66
66
|
expresses is not a finding; upstream writes several itself. **warning**
|
|
67
67
|
- **off-role corner** — a corner that is not a role (BRD-12): `rounded-sm|md|lg|xl|2xl|3xl|4xl`,
|
|
68
68
|
bare `rounded`, `rounded-[…]`, `rounded-(--…)` or the retired `rounded-chat-card`. Name the role
|
|
69
|
-
the element plays: `rounded-control` (
|
|
69
|
+
the element plays: `rounded-control` (in-page control, 8px), `-icon` (icon-only button, 8px
|
|
70
|
+
square), `-segment` (control inside a control), `-capsule` (floating bar or media control, and its
|
|
71
|
+
buttons), `-chip`,
|
|
70
72
|
`-inline` (token in text), `-mark`, `-item` (row with a fill, tooltip), `-block`, `-card`,
|
|
71
73
|
`-bubble`, `-overlay`, `-tile` (square media); `row-fill` on a table row. A square hover fill on
|
|
72
74
|
an inset row is the same finding. **error**
|
|
@@ -249,7 +249,7 @@ on shadcn's `neutral` base. Always use the utility, never a raw value.
|
|
|
249
249
|
| Text | `text-foreground` · `text-muted-foreground` · `text-{primary,secondary,accent,card,popover}-foreground` |
|
|
250
250
|
| Status | `bg-{destructive,success,warning,info}` · `-foreground` (ink ON the fill) · `-text` (ink on the page or on the family's own tint) |
|
|
251
251
|
| Border | `border-border` · `border-input` — there are no rings; focus is a global background tint (Tabs included) |
|
|
252
|
-
| Radius | a role, never a size: `rounded-{control,icon,chip,inline,mark,item,block,card,bubble,overlay,tile}` · `row-fill`
|
|
252
|
+
| Radius | a role, never a size: `rounded-{control,segment,icon,capsule,chip,inline,mark,item,block,card,bubble,overlay,tile}` · `row-fill` (BRD-12) |
|
|
253
253
|
| Type | Tailwind's own `text-{xs…7xl}`. `text-sm` is 14px, `text-base` is 16px. Line-height and letter-spacing above `text-base` come from the theme — never write `tracking-*`, an arbitrary `text-[13px]`, or `uppercase` |
|
|
254
254
|
| Font | `font-sans` `font-mono` `font-serif` `font-heading` |
|
|
255
255
|
| Motion | `duration-{fast,base,slow}` · `ease-{standard,emphasized,exit,spring}` — or Tailwind's own steps |
|
|
@@ -415,8 +415,10 @@ contract.
|
|
|
415
415
|
right-align a numeric column. `font-mono` is for code and identifiers (`SYS-1042`) only.
|
|
416
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
|
-
- Give every corner its ROLE, never a size (BRD-12): `rounded-control` for
|
|
419
|
-
`rounded-
|
|
418
|
+
- Give every corner its ROLE, never a size (BRD-12): `rounded-control` (8px rectangle) for an in-page
|
|
419
|
+
control, `rounded-segment` for a control nested in a control (tab triggers, buttons inside a field),
|
|
420
|
+
`rounded-icon` for an icon-only button, `rounded-capsule` only for what floats or stands alone (floating
|
|
421
|
+
bars, hover toolbars, controls over media, and the buttons inside them), `rounded-chip`, `rounded-inline` for a token inside text,
|
|
420
422
|
`rounded-mark`, `rounded-item` for a row with a fill or a tooltip, `rounded-block`,
|
|
421
423
|
`rounded-card`, `rounded-bubble`, `rounded-overlay`, `rounded-tile` for square media; `row-fill`
|
|
422
424
|
on a table row. Never `rounded-sm|md|lg|xl…`, bare `rounded` or `rounded-[…]`.
|
|
@@ -172,7 +172,7 @@ starts with `icon-` is a component and never an icon.
|
|
|
172
172
|
- **`page-header`** — The standardized header at the top of a page — back button, breadcrumb trail, title, description, actions and secondary menu — plus SectionHeading for in-page section titles (sm and md sizes, a muted eyebrow variant, trailing actions).
|
|
173
173
|
- **`pagination`** — Page navigation — previous/next, numbered page links, an ellipsis for long ranges, and the active page.
|
|
174
174
|
- **`rail`** — The module rail down the app's start edge: about seven modules, each an icon over a short label with a compact count badge or a dot, and a bottom group.
|
|
175
|
-
- **`route-tabs`** — Tabs whose panels are pages — a named nav of links drawn as the
|
|
175
|
+
- **`route-tabs`** — Tabs whose panels are pages — a named nav of links drawn as the segmented tabs, one URL per tab, with counts, an optimistic current tab while the next page loads, a panel that dims meanwhile, and a sideways-scrolling strip that keeps the current tab in view.
|
|
176
176
|
- **`stepper`** — A bounded linear process as an ordered list — seven step states on a numbered rail that fills in behind you, aria-current=step, orientation chosen from the step count, and a compact summary below a container width.
|
|
177
177
|
- **`table-of-contents`** — The “On this page” outline of a long document — links to its headings with the one the reader has reached marked by a scroll spy; an always-labelled list, a rail of ticks that opens on hover or focus, or a left Sheet from a trigger on narrow screens. Exports useActiveHeading for custom outlines.
|
|
178
178
|
- **`tabs`** — Layered content sections — default (segmented) or line variants, compact size, optional leading icons and counts, horizontal or vertical, full keyboard navigation. Toolbar switches use default Tabs for scope (My tasks | Team tasks); a list's List/Board/Grid switch is ListToolbar's Layout tool. The one component that keeps a focus ring.
|
|
@@ -230,7 +230,7 @@ starts with `icon-` is a component and never an icon.
|
|
|
230
230
|
- **`chat-menu`** — A menu with the chat's density: tight rows, a blue ✓ and a number shortcut in one right slot, submenus that open on hover or →.
|
|
231
231
|
- **`chat-message-parts`** — One agent turn from its AI SDK parts: live line or summary, work log, Subagents, answer, cards.
|
|
232
232
|
- **`chat-plan-card`** — A plan an agent wants approved, as a document inside the turn — steps, Will change, Won't, Needs your OK and what changed since the last version (ChatPlanCard) — and the line it settles into (PlanLine).
|
|
233
|
-
- **`chat-question-card`** — The agent's questions drawn whole — a pager, a close, the question as the title, full-width options with muted descriptions and no radios, Other, and a Next → / Submit
|
|
233
|
+
- **`chat-question-card`** — The agent's questions drawn whole — a pager, a close, the question as the title, full-width options with muted descriptions and no radios, Other, and a Next → / Submit button — with number keys (QuestionCard), and the line it settles into (QuestionLine).
|
|
234
234
|
- **`chat-request-card`** — An agent asking a person's OK, drawn from the server's stored offer: ChatRequestCard (Allow once, Always allow ▾ with its scopes, Decline with a note), RequestBundleCard for several asks at once, and RequestLine for a settled ask.
|
|
235
235
|
- **`chat-skeleton`** — A loading chat thread in its own shapes, and the round button back to the latest message.
|
|
236
236
|
- **`chat-subagents`** — A turn's Subagents as one block of rows that open beside the chat; BackgroundWork.
|