@vegastack/design 0.36.3 → 0.38.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.36.3",
3
+ "version": "0.38.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.36.3",
73
+ "@vegastack/design-tokens": "^0.38.0",
74
74
  "clsx": "^2.1.1",
75
75
  "tailwind-merge": "^3.6.0",
76
76
  "tsconfig-paths": "^4.2.0",
@@ -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
- **238 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`) — 828 registry items in total.
6
+ **246 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 31 data libs (`agent-face-spec`, `code-highlight`, `chart-check`, `chart-spec`, `chart-tones`, `chart-format`, `chart-scene`, `chart-csv`, `analytics-range`, `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`) — 843 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
@@ -60,20 +60,27 @@ starts with `icon-` is a component and never an icon.
60
60
  ## Display
61
61
 
62
62
  - **`activity-feed`** — A record's history, Linear style: comment threads and activity events ("Priya changed status from Open to Done · 2h") in one list, with an All / Comments / Activity filter, an order toggle, one actor's runs of changes as one line (a chain of one field's values, or "made 3 changes" expanding), collapsible event groups, a New divider, a floating Jump to latest, J/K/X keyboard navigation and a skeleton.
63
+ - **`basis-badge`** — A number's basis (Measured, Estimated, Billed, Included, Unknown, "Estimated, price missing", Written by the agent) as a 20px tag-hue label with its meaning in the title; Measured shows nothing unless asked.
63
64
  - **`block-header`** — A live block's header row in a page — icon · title · controls (View ▾, Filter) · ⋯ · ↗ Open — with an empty state that hosts the source picker ("Pick a table…").
64
65
  - **`block-view`** — The frame TextEdit and MarkdownView draw a fenced block in when a blockViews entry renders its language: label, Preview / Code, split on a wide editable block, Expand with pan and pinch, and a ⋯ menu.
65
66
  - **`brand-logo`** — A provider, tool or channel's mark in a small monochrome tile (muted fill, foreground ink): a Simple Icons (CC0) path through BrandIcon's mono variant, or the brand's first letter where no CC0 mark exists; decorative beside its name or an image named by label. Server-safe.
67
+ - **`chart-card`** — The frame every chart sits in: title, (i), sub-line, basis badge and freshness (Since / As of); Ask AI and Full screen on hover or focus (in ⋯ on touch); Show as table and Download CSV; loading, empty and error states; a full-screen view with filters, the whole takeaway, the chart large and its numbers, also drawn on its own (ChartFullScreen); provenance; and the AI disclosure and source line.
68
+ - **`chart-view`** — Draws a ChartSpec payload (bar, stacked bar, line, area, donut, ranked, heatmap, stat cards, table) from chart-scene's marks with hover and tap values, a dashed comparison, legend toggles, keyboard navigation with announcements, a table view, and the summary as its description; an invalid payload shows its summary.
66
69
  - **`chip`** — The one labelled pill primitive — 10 decorative hues, two tiers, an optional selection rung, and a real 24x24 remove control. Behind Tag and FilterChip; ComboboxChip is Base UI's own chip, not this primitive.
67
70
  - **`code-block`** — A code panel with a language header and copy affordance — the shared code surface for chat transcripts, docs, and examples.
71
+ - **`cohort-grid`** — Retention by cohort as a table: one row per cohort with its size, one column per period, each cell the share still active on the sequential scale; periods not reached are empty, never 0%.
68
72
  - **`comment-margin`** — Comment cards laid beside the text they are about — level with their highlight, stacked without overlap, the active card aligned with its text — and a CommentPopover anchored to a highlight for narrow screens.
69
73
  - **`comments`** — A record's comments, Linear style: thread cards (first comment, Show N more replies, indented replies over hairlines, a flat reply row with the viewer's avatar), a bordered composer with a toolbar row and file drop, day labels, a list with a count, order toggle, Load earlier, skeleton and empty states, edit/delete/copy link/copy text, emoji reactions and an attachments slot.
74
+ - **`data-cells`** — Analytics cells for tables and lists: InlineBar (a value with a bar scaled to its column) and DeltaText (a change against the previous period, green when good, red when bad, with an arrow and words).
70
75
  - **`diff-view`** — What changed between two texts — changed lines, then the words inside them, removed struck through and added tinted — with the sanctioned diff engine in its own lazily loaded chunk; line-only above 200 KB.
71
76
  - **`entry-list`** — A short, compact list of plain entries in a sheet, dialog or popover: a line of text, its muted details and small actions at its end.
77
+ - **`funnel-chart`** — How many reach each step: one bar per step against the first, the count and the share from the step before, worked out once from whole numbers; a list that reads in full.
72
78
  - **`heatmap`** — Counts over two dimensions (weekday × hour, agent × day) as a keyboard-navigable grid of cells in five quintile steps of the single-series chart ink, with row and column headers, a tooltip per cell and an optional legend.
73
79
  - **`kpi-card`** — A dashboard KPI tile — a large Stat in Card chrome with an optional hint, delta line, sparkline and whole-tile link — plus KpiGrid, the grid of tiles sized by its container width.
74
80
  - **`member-list`** — The people in a team, a space or a share list — an add row (picker · optional role · Add) and 36px rows (avatar · name over a muted sub line · role chip menu or text · ⋯ with Remove) that scroll after eight.
75
81
  - **`mermaid-block`** — A mermaid diagram drawn in the browser with the engine loaded lazily and its configuration pinned (strict security, SVG labels, dagre), in token colours for light and dark, keeping the last diagram that worked on an error — plus renderMermaid, useMermaidSvg and the ready blockViews entry for TextEdit and MarkdownView.
76
82
  - **`meta-line`** — An icon + text meta line under a record title: wrapping facts such as type, date and time, duration and owner, in the muted ink.
83
+ - **`meter`** — An allowance or quota and how much of it is used: the amount, of the limit, a role=meter bar toned by the allowance thresholds (attention from 80%, reached at 100%), Over the limit in words, and lines under it.
77
84
  - **`qr-code`** — A QR code for a value, drawn as one crisp SVG path — dark modules on a light rounded tile in both themes, with the standard quiet zone — encoded during render (server or client) by uqr; an empty or unencodable value draws the empty tile.
78
85
  - **`reactions`** — Slack-style emoji reactions: pills with counts that toggle, a hover card naming who reacted, and an add-reaction button with quick reactions.
79
86
  - **`record-header`** — One head for every record, on its page and in a peek.
@@ -289,5 +296,6 @@ starts with `icon-` is a component and never an icon.
289
296
 
290
297
  - **`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.
291
298
  - **`destination-picker`** — Choose where something goes — spaces, their folders, recents, search, refusals with a reason.
299
+ - **`range-picker`** — The analytics range control: the presets and always Custom range (within the last 365 days), Compare to previous period, and the note that days are counted in the workspace's time zone. Its value is AnalyticsRange, the object agents' tools take.
292
300
  - **`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.
293
301
  - **`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.