@vegastack/design 0.14.1 → 0.15.2

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.14.1",
3
+ "version": "0.15.2",
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.14.0",
73
+ "@vegastack/design-tokens": "^0.15.2",
74
74
  "clsx": "^2.1.1",
75
75
  "tailwind-merge": "^3.6.0",
76
76
  "tsconfig-paths": "^4.2.0",
@@ -306,7 +306,7 @@ heading down `n` levels (capped at h6) so the outline never skips back up.
306
306
  comment, a card or a short message; `"document"` for a page; `"reading"` for long-form text an agent
307
307
  or an AI wrote, read beside the work (a chat answer, an Ask AI answer, a summary). Pass `streaming`
308
308
  while an answer arrives. A conversation is built from `message-parts`: `MessageBubble` for the
309
- person, `MessageActivity` for thinking and steps, `MessageSourceList` for cited pages, `MessageTime`,
309
+ person, `MessageActivity` for thinking and steps, `SourceList` (`source-list`) for cited pages, `MessageTime`,
310
310
  `MessageActions`; the AI disclaimer goes once under `ChatComposer` (`hint`), and notices attach to
311
311
  its top (`notice`). A `[[n]]` citation never navigates on click — its card's link does.
312
312
 
@@ -327,6 +327,11 @@ page and on the family's own `/10`-`/30` tint. Using the fill itself as text on
327
327
  `--brand` is a marker-role accent only — never a functional state colour, and never a text ink
328
328
  (`--brand-text` is the readable half).
329
329
 
330
+ **Desktop glass is for the desktop app only.** `surface-glass` (with `text-glass-ink-muted` for
331
+ secondary text) goes on a desktop floating window that sits on native OS glass; it is transparent
332
+ only when the host sets `<html data-native-glass>` and an opaque `popover` fill everywhere else. It is
333
+ never a CSS blur and never belongs in a web page: no `backdrop-blur-*` or `bg-popover/85` "glass".
334
+
330
335
  **Overriding tokens:** redefine one runtime variable in your global CSS and every component repaints
331
336
  in both themes:
332
337
 
@@ -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
- **220 components**, plus 467 animated-icon items, 19 hooks (`use-animation-replay`, `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-optimistic-action`, `use-overflow-fold`, `use-overflow`, `use-platform`, `use-record-peek-row`, `use-stick-to-bottom`, `use-tabs-swipe`, `use-view-transition`), 15 starter blocks (`app-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`, `geo-data`, `grid-clipboard`, `icon-components`, `icon-data`, `markdown-as-typed`, `media-probe`, `page-layout`, `picker-preferences`, `picker-search`, `text-anchor`, `text-anchor-doc`, `text-edit-grammar`, `text-edit-markdown`, `text-edit-schema`, `tile-overlay`, `upload-progress`) — 812 registry items in total.
6
+ **236 components**, plus 467 animated-icon items, 19 hooks (`use-animation-replay`, `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-optimistic-action`, `use-overflow-fold`, `use-overflow`, `use-platform`, `use-record-peek-row`, `use-stick-to-bottom`, `use-tabs-swipe`, `use-view-transition`), 15 starter blocks (`app-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`, `geo-data`, `grid-clipboard`, `icon-components`, `icon-data`, `markdown-as-typed`, `media-probe`, `page-layout`, `picker-preferences`, `picker-search`, `text-anchor`, `text-anchor-doc`, `text-edit-grammar`, `text-edit-markdown`, `text-edit-schema`, `tile-overlay`, `upload-progress`) — 828 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
@@ -228,21 +228,37 @@ starts with `icon-` is a component and never an icon.
228
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
229
  - **`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
230
  - **`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
- - **`approval-card`** — An agent asks its owner to approve a risky action: who asks, the action in words, the records it touches, its reason, a reassurance, the expiry, and one Approve / Decline for the whole request — then the outcome.
232
231
  - **`chat-card`** — The chat's one card surface (ChatCard), one line of work (ChatRow) and a fold of work that opens and closes smoothly (ChatGroup).
233
232
  - **`chat-chip`** — A compact pill for background work and counts on the chat card surface, with an attention tone that never fills.
234
- - **`chat-composer`** — The box a person talks to an agent in: chips for what travels with the message, the text with mentions, and Send, which turns into Stop while the agent answers.
233
+ - **`chat-composer`** — The box a person talks to an agent in: + and Send inside, files above the text, steers above the box, Send that morphs into Stop.
234
+ - **`chat-details`** — The chat details panel: sections of outputs, Subagents, context and connectors.
235
235
  - **`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 →.
236
+ - **`chat-message-parts`** — One agent turn from its AI SDK parts: live line or summary, work log, Subagents, answer, cards.
237
+ - **`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).
238
+ - **`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 pill — with number keys (QuestionCard), and the line it settles into (QuestionLine).
239
+ - **`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.
240
+ - **`chat-skeleton`** — A loading chat thread in its own shapes, and the round button back to the latest message.
241
+ - **`chat-subagents`** — A turn's Subagents as one block of rows that open beside the chat; BackgroundWork.
242
+ - **`chat-task-list`** — An agent's task list as the turn's progress, with reasons inside skipped rows.
243
+ - **`chat-user-bubble`** — The person's chat message: Markdown, images, a long message fading into Show more.
244
+ - **`chat-work-log`** — A turn's work as sentences: LiveLine, WorkSummary, WorkLog, ErrorRow, StuckRow.
236
245
  - **`cited-list`** — An answer as numbered points, each a sentence followed by its sources as small muted chips — links by default, or any element through render.
237
246
  - **`composer-chip`** — A round toolbar chip for the chat composer: a toggle (Plan), a menu trigger with a chevron (the model), or read-only words, with an optional tooltip.
238
- - **`context-ring`** — How full a chat's working memory is: a ring for the composer's toolbar in three tones (blue under 75%, amber from 75%, red from 90%) and an empty outline, with a breakdown and Summarize now.
247
+ - **`composer-meta`** — The quiet line under a chat's composer: a privacy note, then Plan, the model and effort, and the memory ring.
248
+ - **`context-panel`** — What fills a chat's working memory, adding up to its window: share, a segmented bar, a legend, free, Summarize now.
249
+ - **`context-ring`** — How full a chat's memory is: a still 10px ring and its share, opening its ContextPanel on hover, focus or click.
239
250
  - **`delegate-popover`** — Delegate a record or rows to an agent: search agents (disabled with a reason), instructions, When finished, Connect an agent; bulk, empty and loading states.
240
251
  - **`effect-pill`** — A small pill naming one plan step's effect (read, draft, change, send, remove, spend) with an icon, hued by reach; icon-only for narrow columns.
252
+ - **`file-preview`** — A file in a chat answer previewed on the chat card — Markdown formatted, a CSV's first rows, a PDF's first page, an image — with Download, Open and a reasoned error with Retry.
253
+ - **`memory-group`** — What an agent remembered in one turn, as one quiet fold — Remembered 3 things · Personal memory — with Undo and Edit per note.
241
254
  - **`memory-note`** — One quiet row under a chat message saying what an agent remembered, updated, suggested or forgot in a memory notebook, with Undo, Edit, Why? and a filled Keep for suggestions, and its settled outcomes.
242
255
  - **`message-parts`** — What an agent's answer is made of beyond its text: steps, a plan checklist, status and notice lines, changes with Undo, a hand-off divider, sources, the disclaimer, actions, a version switch and a fold.
256
+ - **`model-effort-menu`** — A chat's model and effort as quiet text opening one compact menu: models with numbers, an Effort submenu, More models.
243
257
  - **`plan-card`** — An agent's plan put to the person: goal, steps with effect pills and touches, assumptions, won't do, will ask, risk, a version diff, per-step comments, four answers and settled lines.
244
258
  - **`request-card`** — One card for every question an agent asks before it acts — Allow once · Always allow (one step wider from its menu) · Decline (with a note, or Never allow this) — its settled line in the same words on every channel, and What I've allowed with uses and Revoke.
259
+ - **`resource-pill`** — The person's own thing in an answer — its type icon and real title as an inline chip — never a numbered source.
245
260
  - **`run-usage`** — What one agent run used: a chip under the answer (steps, context, cache, optional money), a panel by model with cache per step and Subagents, and a table with one row per model call.
261
+ - **`source-list`** — The web pages an answer cites: a quiet Sources fold of one-line numbered rows, the citation card and the MarkdownView wiring.
246
262
  - **`status-glyph`** — One glyph per state in agent UI: ✓ done in the blue accent, ◌ not started, ◐ running (still), ⊘ skipped, ✗ failed, ⚠ needs you.
247
263
  - **`suggestion-card`** — An agent offers one person a next step, in a card only they see: items with optional ticks, the host's own buttons, a menu, a footnote, its outcomes and a compact row.
248
264
  - **`task-list`** — An agent's live checklist for a longer job: the live item on top, the next two, finished items folded into a count and the rest into +N more, a waiting badge, Subagent progress, and a sticky progress bar.