@vegastack/design 0.28.2 → 0.28.4
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.28.
|
|
3
|
+
"version": "0.28.4",
|
|
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": {
|
|
@@ -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, 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`) — 824 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
|
|
@@ -16,7 +16,6 @@ starts with `icon-` is a component and never an icon.
|
|
|
16
16
|
- **`copy-button`** — Copy a value to the clipboard with transient check feedback — a ghost icon button that swaps Copy → Check and fires onCopied.
|
|
17
17
|
- **`toggle`** — A two-state button that can be pressed on or off, with a loading state (API-5).
|
|
18
18
|
- **`toggle-group`** — Toggle buttons sharing one selection — single or multiple, horizontal or vertical.
|
|
19
|
-
- **`tool-group`** — A run of icon tools — 28px ghost icon buttons two pixels apart, each named by its tooltip, with ⋯ as the one More.
|
|
20
19
|
|
|
21
20
|
## Form
|
|
22
21
|
|
|
@@ -99,6 +98,7 @@ starts with `icon-` is a component and never an icon.
|
|
|
99
98
|
- **`item`** — A composable row for list and feed content — media, title, description, actions — with a highlighted flash for a just-changed row.
|
|
100
99
|
- **`kbd`** — A keyboard-key chip, and a group that lays several of them out inline.
|
|
101
100
|
- **`markdown-view`** — Render a markdown string to safe, token-styled HTML — headings (with optional ids and copy links), lists, code, blockquotes, links, GFM tables that fade at a scrolling edge, mention and file chips, callouts and toggles — XSS-safe; at the document type scale, a page's read view with comment highlights, an outline, per-reader toggles and find.
|
|
101
|
+
- **`meeting-icon`** — A meeting's icon by its speakers — one person, a group — or the loading spinner while it records or is processed; plus the recording controls' words and glyphs.
|
|
102
102
|
- **`milestone-list`** — The ordered milestones of a piece of work: state diamond, name, weight chip when not 1, tasks done, a warning and the date; editors reorder by drag, long-press and keyboard, toggle done, open a row menu and add.
|
|
103
103
|
- **`priority-icon`** — A flag marking priority — urgent, high, medium, low, none — each in a semantic color with filled, outline or dashed fill.
|
|
104
104
|
- **`relative-time`** — One Intl-based dates & times module — formatRelative, formatDuration, formatDate, formatDateTime, formatDateRange, formatTimeOfDay, formatDueLabel, groupByDay, time-zone cookie + provider — and the RelativeTime, DateTime, Duration and DueLabel components with absolute-time tooltips.
|
|
@@ -116,7 +116,6 @@ starts with `icon-` is a component and never an icon.
|
|
|
116
116
|
- **`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.
|
|
117
117
|
- **`data-list`** — A generic, typed data table — configurable columns, row selection, sortable columns (indicator, custom compare and first direction, client or manual), a standard rowActions ⋯ column always last, untinted-link rows (no underline), loading, and Empty-based emptyState and noResults states.
|
|
118
118
|
- **`data-list-pager`** — A controlled paging footer for DataList — a tabular-numeral range summary, a rows-per-page Select, and a windowed Pagination that hides on a single page.
|
|
119
|
-
- **`data-list-skeleton`** — A DataList and its ListToolbar while they load, in the list's own geometry, without loading the list.
|
|
120
119
|
- **`data-table-parts`** — The chrome DataList and DataGrid share — sort header, selection cells, skeleton rows, the empty row, column class rules, and the selection/sort/controlled-state hooks.
|
|
121
120
|
- **`display-menu`** — The toolbar's Display tool: Layout and Sort once folded in, row height, group by, a Columns drill-in, the Show switches (archived, closed, subtasks) and Reset — one surface, no fills.
|
|
122
121
|
- **`filter-bar-managed`** — The controlled nested and/or filter builder — host-injected field grammar (vocabulary + per-type value editors), depth and condition caps, focus-managed removal, and a removable FilterChip summary.
|
|
@@ -232,7 +231,6 @@ starts with `icon-` is a component and never an icon.
|
|
|
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
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.
|
|
235
|
-
- **`chat-details`** — The chat details panel: sections of outputs, Subagents, context and connectors.
|
|
236
234
|
- **`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
235
|
- **`chat-message-parts`** — One agent turn from its AI SDK parts: live line or summary, work log, Subagents, answer, cards.
|
|
238
236
|
- **`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).
|
|
@@ -255,19 +253,16 @@ starts with `icon-` is a component and never an icon.
|
|
|
255
253
|
- **`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.
|
|
256
254
|
- **`for-you-card`** — One thing waiting on a person in For you: the verb, who asks, the deciding facts, what happens if nobody answers, the source's body and options (the preferred one secondary, never filled), its outcome once settled.
|
|
257
255
|
- **`memory-group`** — What an agent remembered in one turn, as one quiet fold — Remembered 3 things · Personal memory — with Undo and Edit per note.
|
|
258
|
-
- **`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.
|
|
259
256
|
- **`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.
|
|
260
257
|
- **`model-effort-menu`** — A chat's model and effort as quiet text opening one compact menu: models with numbers, an Effort submenu, More models.
|
|
261
258
|
- **`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.
|
|
262
|
-
- **`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.
|
|
263
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.
|
|
264
260
|
- **`routine-row`** — One routine in a list: name and schedule, the next runs, owner and destination, the last run, Run now and a ⋯ with Skip next and Pause or Resume.
|
|
265
261
|
- **`run-timeline`** — An agent run's steps in the chat work log's anatomy: per-step cost, the permission decision with Why?, Undo, delivery unknown, nested subagent steps, one live bolt for the run and folding of long tool runs.
|
|
266
262
|
- **`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.
|
|
267
|
-
- **`shell-assistant`** — The
|
|
263
|
+
- **`shell-assistant`** — The assistant's chat docked beside the page as a second card (the split view), opened from the global bar's Ask or ⌘J.
|
|
268
264
|
- **`source-list`** — The web pages an answer cites: a quiet Sources fold of one-line numbered rows, the citation card and the MarkdownView wiring.
|
|
269
265
|
- **`status-glyph`** — One glyph per state in agent UI: ✓ done in the blue accent, ◌ not started, ◐ running (still), ⊘ skipped, ✗ failed, ⚠ needs you.
|
|
270
|
-
- **`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.
|
|
271
266
|
- **`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.
|
|
272
267
|
- **`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.
|
|
273
268
|
- **`tool-call-chip`** — An agent-activity chip — tool action label + muted result meta, optionally rendered as a button.
|
|
@@ -291,6 +286,5 @@ starts with `icon-` is a component and never an icon.
|
|
|
291
286
|
|
|
292
287
|
- **`avatar-picker`** — A person's avatar that opens a dialog to upload, change or remove their photo — the file is staged in a 128px drop circle and saved only on Update.
|
|
293
288
|
- **`destination-picker`** — Choose where something goes — spaces, their folders, recents, search, refusals with a reason.
|
|
294
|
-
- **`field-type-picker`** — A searchable, grouped list of field types with icons, and an optional second step.
|
|
295
289
|
- **`record-picker`** — Pick records of the kinds the app passes in — search, kind filter, recents, folder browsing, refused rows — in a popover or a dialog.
|
|
296
290
|
- **`upload-panel`** — The uploads card pinned bottom-end: a header naming the batch with time left, file and folder rows with progress rings, failures with Retry, interrupted rows with Choose file and destination links, a done card that dismisses itself, a confirm before cancelling, and a bottom sheet on phones. Controlled; the host engine uploads.
|