@vegastack/design 0.15.3 → 0.16.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.16.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.16.0",
|
|
74
74
|
"clsx": "^2.1.1",
|
|
75
75
|
"tailwind-merge": "^3.6.0",
|
|
76
76
|
"tsconfig-paths": "^4.2.0",
|
|
@@ -307,8 +307,11 @@ comment, a card or a short message; `"document"` for a page; `"reading"` for lon
|
|
|
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
309
|
person, `MessageActivity` for thinking and steps, `SourceList` (`source-list`) for cited pages, `MessageTime`,
|
|
310
|
-
`MessageActions
|
|
311
|
-
|
|
310
|
+
`MessageActions`. The box is `ChatComposer`, a compound: a `ChatComposerNotice` on its top edge, an
|
|
311
|
+
optional context strip (`ChatComposerHeader` + `ChatComposerHeaderTrigger`, Plan as a `ComposerChip` at
|
|
312
|
+
its end), `ChatComposerAttachments`, `ChatComposerInput`, then `ChatComposerActions` (+ and @ at the
|
|
313
|
+
start; the model, the ring and `ChatComposerSubmit` at the end). Nothing goes under the card but a
|
|
314
|
+
failed send. A `[[n]]` citation never navigates on click — its card's link does.
|
|
312
315
|
|
|
313
316
|
**Markdown is read with `MarkdownView` and edited with `TextEdit format="markdown"`** — never a
|
|
314
317
|
textarea, a local prose class, or a hand-rolled editor. For in-place editing, swap the view for
|
|
@@ -404,7 +407,7 @@ contract.
|
|
|
404
407
|
never a fill, and a card is `ChatCard` only for something to act on or open (COL-25). The
|
|
405
408
|
doctor fails on a green check.
|
|
406
409
|
- In a chat, move on the chat motion set (`duration-quick|state|layout`, `ease-enter|exit`) and show
|
|
407
|
-
one loader per turn, the
|
|
410
|
+
one loader per turn, the bolt `TextSpinner` (Strike working, Pulse waiting); a running row is a still ◐ (MOT-14).
|
|
408
411
|
- Put `truncate` on an inner span, with `min-w-0` on the flex container.
|
|
409
412
|
- Let the parent decide a form control's width — every control is `w-full`.
|
|
410
413
|
- Give a row's, card's or inline block's actions `secondary` (the main one) and `outline` (the
|
|
@@ -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
|
+
**235 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`) — 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
|
|
@@ -230,7 +230,7 @@ starts with `icon-` is a component and never an icon.
|
|
|
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
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).
|
|
232
232
|
- **`chat-chip`** — A compact pill for background work and counts on the chat card surface, with an attention tone that never fills.
|
|
233
|
-
- **`chat-composer`** — The box a person talks to an agent in:
|
|
233
|
+
- **`chat-composer`** — The box a person talks to an agent in, as a compound: an optional context strip, files above an auto-growing text, and an actions row with round + and @, the model, and a round Send that morphs into Stop.
|
|
234
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
236
|
- **`chat-message-parts`** — One agent turn from its AI SDK parts: live line or summary, work log, Subagents, answer, cards.
|
|
@@ -244,7 +244,6 @@ starts with `icon-` is a component and never an icon.
|
|
|
244
244
|
- **`chat-work-log`** — A turn's work as sentences: LiveLine, WorkSummary, WorkLog, ErrorRow, StuckRow.
|
|
245
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.
|
|
246
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.
|
|
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
247
|
- **`context-panel`** — What fills a chat's working memory, adding up to its window: share, a segmented bar, a legend, free, Summarize now.
|
|
249
248
|
- **`context-ring`** — How full a chat's memory is: a still 10px ring and its share, opening its ContextPanel on hover, focus or click.
|
|
250
249
|
- **`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.
|
|
@@ -262,7 +261,7 @@ starts with `icon-` is a component and never an icon.
|
|
|
262
261
|
- **`status-glyph`** — One glyph per state in agent UI: ✓ done in the blue accent, ◌ not started, ◐ running (still), ⊘ skipped, ✗ failed, ⚠ needs you.
|
|
263
262
|
- **`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.
|
|
264
263
|
- **`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.
|
|
265
|
-
- **`text-spinner`** — The one inline text loader: a
|
|
264
|
+
- **`text-spinner`** — The one inline text loader: a dot-matrix bolt as tall as capital letters, Strike while working and Pulse while waiting, CSS only, a still bolt under reduced motion.
|
|
266
265
|
- **`tool-call-chip`** — An agent-activity chip — tool action label + muted result meta, optionally rendered as a button.
|
|
267
266
|
|
|
268
267
|
## Communication
|