@vegastack/design 0.29.5 → 0.30.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vegastack/design",
3
- "version": "0.29.5",
3
+ "version": "0.30.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.29.0",
73
+ "@vegastack/design-tokens": "^0.30.0",
74
74
  "clsx": "^2.1.1",
75
75
  "tailwind-merge": "^3.6.0",
76
76
  "tsconfig-paths": "^4.2.0",
@@ -64,9 +64,10 @@ link` (upstream's set, verbatim). `destructive` is a soft tint, not a solid red
64
64
  person is (`RecordChip` `person`, `BoardCard` `assignee`, `InboxItem` `avatar`, `PropertyPerson`,
65
65
  `SearchableSelect` `itemToAvatar`); never hand-roll `Avatar` + initials for a person, and set a
66
66
  person's own photo with `AvatarPicker`. Size it with `size` (`2xs` 16 · `xs` 20 · `sm` 24 ·
67
- `default` 32 · `lg` 40 · `xl` 64), never a `className="size-*"`. An agent (`kind: "agent"`) is a
68
- soft hexagon: pass its provider's logo as `mark` (`{ src, alt, fit, tile }` or a node); the
69
- design system holds no provider names or logos.
67
+ `default` 32 · `lg` 40 · `xl` 64), never a `className="size-*"`. An agent (`kind: "agent"`) is
68
+ its face: pass `person.face` (`{ v: 1, preset, palette }`, an `AgentFace` preset and palette) and
69
+ `faceState`; `motion` only where the person is looking at that agent. A vendor's logo goes in
70
+ the hover card's footer, never on the face.
70
71
  - **Control sizes are upstream's names: `default · xs · sm · lg`**, plus
71
72
  `icon · icon-xs · icon-sm · icon-lg` where a square tier exists. The old `md` default is gone, and
72
73
  most of the components that are ours dropped their `size` prop entirely and take their height from
@@ -3,7 +3,7 @@
3
3
  <!-- GENERATED — do not hand-edit. Regenerated from the design system's component contract,
4
4
  which is the authority for membership and counts. -->
5
5
 
6
- **236 components**, plus 467 animated-icon items, 16 hooks (`use-announcer`, `use-async-search`, `use-drag-reorder`, `use-file-drop`, `use-grid-selection`, `use-inline-edit`, `use-list-nav`, `use-media-query`, `use-mobile`, `use-modal-inert`, `use-overflow-fold`, `use-overflow`, `use-platform`, `use-stick-to-bottom`, `use-tabs-swipe`, `use-view-transition`), 15 starter blocks (`shell-01`, `board-01`, `issue-detail-01`, `page-editor-01`, `command-search-01`, `list-page-01`, `library-01`, `login-01`, `notifications-01`, `review-split-01`, `settings-01`, `settings-02`, `status-pages-01`, `email-kit`, `share-01`), 68 chart blocks across 7 families, and 23 data libs (`code-highlight`, `date-time`, `disclosure-trigger`, `drag-item`, `embed-providers`, `emoji-data`, `file-kind`, `grid-clipboard`, `icon-components`, `icon-data`, `markdown-as-typed`, `media-probe`, `page-layout`, `shell-layout`, `picker-preferences`, `picker-search`, `text-anchor`, `text-anchor-doc`, `text-edit-grammar`, `text-edit-markdown`, `text-edit-schema`, `tile-overlay`, `upload-progress`) — 825 registry items in total.
6
+ **237 components**, plus 467 animated-icon items, 16 hooks (`use-announcer`, `use-async-search`, `use-drag-reorder`, `use-file-drop`, `use-grid-selection`, `use-inline-edit`, `use-list-nav`, `use-media-query`, `use-mobile`, `use-modal-inert`, `use-overflow-fold`, `use-overflow`, `use-platform`, `use-stick-to-bottom`, `use-tabs-swipe`, `use-view-transition`), 15 starter blocks (`shell-01`, `board-01`, `issue-detail-01`, `page-editor-01`, `command-search-01`, `list-page-01`, `library-01`, `login-01`, `notifications-01`, `review-split-01`, `settings-01`, `settings-02`, `status-pages-01`, `email-kit`, `share-01`), 68 chart blocks across 7 families, and 24 data libs (`agent-face-spec`, `code-highlight`, `date-time`, `disclosure-trigger`, `drag-item`, `embed-providers`, `emoji-data`, `file-kind`, `grid-clipboard`, `icon-components`, `icon-data`, `markdown-as-typed`, `media-probe`, `page-layout`, `picker-preferences`, `picker-search`, `shell-layout`, `text-anchor`, `text-anchor-doc`, `text-edit-grammar`, `text-edit-markdown`, `text-edit-schema`, `tile-overlay`, `upload-progress`) — 827 registry items in total.
7
7
 
8
8
  Install any of them with `shadcn add @vegastack/<name>`. Animated icons install as
9
9
  `@vegastack/icon-<name>`; the bare name is reserved for components, so a component whose name
@@ -112,6 +112,7 @@ starts with `icon-` is a component and never an icon.
112
112
  ## Data
113
113
 
114
114
  - **`add-filter-menu`** — + Filter: one input (“Filter by…”) that narrows the field list and, when the page passes an AI filter and the text reads as a phrase, offers “Filter with AI” first; fields drill into their value pickers in the same popover.
115
+ - **`agent-face`** — An agent's face: one of 18 preset characters in one of 9 palettes, the Pebble from 40px and the Dot below, showing nine states with CSS-only motion and a still pose under reduced motion.
115
116
  - **`board-card`** — A work item as a board card — a round completion tick, a two-line title, a muted context line, and a bottom row with the due chip (destructive when overdue, warning when due today), the priority chip, a source icon and the assignee's avatar.
116
117
  - **`cursor-pager`** — Previous and Next for keyset (cursor) paging — a range label and two buttons, with no page numbers and no total.
117
118
  - **`data-grid`** — The full-parity grid — client or host-sorted multi-key sort, frozen, resizable and windowed columns, header reorder, client or host grouping flattened into the row virtualiser, a summary row, cursor paging, and an APG grid keyboard layer with inline cell editing.
@@ -126,7 +127,7 @@ starts with `icon-` is a component and never an icon.
126
127
  - **`load-more`** — The shared infinite-loading tail for keyset lists — a sentinel that fetches the next cursor page as the list nears its scroll edge, skeleton rows while it loads, an error line with Try again, and an optional end caption.
127
128
  - **`media-card`** — A record as a card — an image, the title with its badge beside it, a meta line and a ⋯ menu — where the whole card is one link.
128
129
  - **`members-stack`** — Who has access, drawn one way everywhere: 24px faces overlapped 6px, at most three and a "+N" pill of the same height, active people first; only you, everyone in a space and a team as their own forms; names on hover and one members popover. A compact viewers variant (22px faces, a hue ring for who is here, grouped Viewing now / Viewed popover).
129
- - **`person-avatar`** — A person's avatar — the photo, else initials on their hue, else initials on the muted fallback — the one way every people surface draws a person; teams and workspaces are rounded squares, agents a soft hexagon with an optional mark.
130
+ - **`person-avatar`** — A person's avatar — the photo, else initials on their hue, else initials on the muted fallback — the one way every people surface draws a person; teams and workspaces are rounded squares, agents their faces (AgentFace).
130
131
  - **`person-hover-card`** — A person behind an avatar or a name: hover, focus or tap opens a compact card with a 32px avatar, the name and a muted email.
131
132
  - **`property-list`** — Record-facts rows: an icon+label column beside a value column, as an accessible definition list.
132
133
  - **`recent-strip`** — One row of the records a person opened last — compact cards in a sideways strip with edge fades and roving arrow keys, a single line of chips on a phone, collapsible, with a same-shape skeleton.
@@ -225,7 +226,7 @@ starts with `icon-` is a component and never an icon.
225
226
  ## Chat
226
227
 
227
228
  - **`agent-directory-card`** — One agent in the directory: its name the card's one link, status and verified mark, where it lives, its job, example asks, apps, maintainers and Chat; a grid card or a list row.
228
- - **`agent-edit-banner`** — The strip under a document's header after an agent changed it: the agent's hexagon, "Edited by Claude for Manoj · 3 changes · 2m ago", View changes, Approve, Undo and a dismiss — with the approving, undoing, refused, created and read-only states and the other agents behind +N.
229
+ - **`agent-edit-banner`** — The strip under a document's header after an agent changed it: the agent's face, "Edited by Claude for Manoj · 3 changes · 2m ago", View changes, Approve, Undo and a dismiss — with the approving, undoing, refused, created and read-only states and the other agents behind +N.
229
230
  - **`agent-panel`** — An agent on a record: identity, acting for, state with its actions, instructions, latest, reply and runs with Undo; plus slot, chip, badge, ring and hover card.
230
231
  - **`agent-question-form`** — An agent asks one to five questions at once: options with their descriptions in view, the first recommended unless turned off, own words and a note per question, previews, steps and a review; and the read-only answers.
231
232
  - **`ask-card`** — The one card an agent uses to ask a person's OK: the server's choices in its order (never a filled primary), the preview of what it would send first, bundles answered item by item, and one muted line once settled.