@vegastack/design 0.14.1 → 0.15.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.
|
|
3
|
+
"version": "0.15.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.15.0",
|
|
74
74
|
"clsx": "^2.1.1",
|
|
75
75
|
"tailwind-merge": "^3.6.0",
|
|
76
76
|
"tsconfig-paths": "^4.2.0",
|
|
@@ -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
|
-
**
|
|
6
|
+
**234 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`) — 826 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
|
|
@@ -231,15 +231,29 @@ starts with `icon-` is a component and never an icon.
|
|
|
231
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
232
|
- **`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
233
|
- **`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:
|
|
234
|
+
- **`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.
|
|
235
|
+
- **`chat-details`** — The chat details panel: sections of outputs, Subagents, context and connectors.
|
|
235
236
|
- **`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 →.
|
|
237
|
+
- **`chat-message-parts`** — One agent turn from its AI SDK parts: live line or summary, work log, Subagents, answer, cards.
|
|
238
|
+
- **`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).
|
|
239
|
+
- **`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).
|
|
240
|
+
- **`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.
|
|
241
|
+
- **`chat-skeleton`** — A loading chat thread in its own shapes, and the round button back to the latest message.
|
|
242
|
+
- **`chat-subagents`** — A turn's Subagents as one block of rows that open beside the chat; BackgroundWork.
|
|
243
|
+
- **`chat-task-list`** — An agent's task list as the turn's progress, with reasons inside skipped rows.
|
|
244
|
+
- **`chat-user-bubble`** — The person's chat message: Markdown, images, a long message fading into Show more.
|
|
245
|
+
- **`chat-work-log`** — A turn's work as sentences: LiveLine, WorkSummary, WorkLog, ErrorRow, StuckRow.
|
|
236
246
|
- **`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
247
|
- **`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
|
-
- **`
|
|
248
|
+
- **`composer-meta`** — The quiet line under a chat's composer: a privacy note, then Plan, the model and effort, and the memory ring.
|
|
249
|
+
- **`context-panel`** — What fills a chat's working memory, adding up to its window: share, a segmented bar, a legend, free, Summarize now.
|
|
250
|
+
- **`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
251
|
- **`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
252
|
- **`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.
|
|
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.
|
|
245
259
|
- **`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.
|