@vegastack/design 0.12.0 → 0.12.1

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.12.0",
3
+ "version": "0.12.1",
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": {
@@ -63,7 +63,10 @@ link` (upstream's set, verbatim). `destructive` is a soft tint, not a solid red
63
63
  `personInitials`, exported from `person-avatar`) on the person's stored `hue`, else muted. Pass `hue` wherever a
64
64
  person is (`RecordChip` `person`, `BoardCard` `assignee`, `InboxItem` `avatar`, `PropertyPerson`,
65
65
  `SearchableSelect` `itemToAvatar`); never hand-roll `Avatar` + initials for a person, and set a
66
- person's own photo with `AvatarPicker`.
66
+ person's own photo with `AvatarPicker`. Size it with `size` (`2xs` 16 · `xs` 20 · `sm` 24 ·
67
+ `default` 32 · `lg` 40 · `xl` 64), never a `className="size-*"`. An agent (`kind: "agent"`) is a
68
+ soft hexagon: pass its provider's logo as `mark` (`{ src, alt, fit, tile }` or a node); the
69
+ design system holds no provider names or logos.
67
70
  - **Control sizes are upstream's names: `default · xs · sm · lg`**, plus
68
71
  `icon · icon-xs · icon-sm · icon-lg` where a square tier exists. The old `md` default is gone, and
69
72
  most of the components that are ours dropped their `size` prop entirely and take their height from
@@ -118,7 +118,7 @@ starts with `icon-` is a component and never an icon.
118
118
  - **`list-toolbar`** — The one header row of every list and table: the search left, the icon tools (Filter · Sort · Layout · Display · ⋯) right; scope tabs in their own row above and the filter row under it. Measures its own width and collapses in a fixed order.
119
119
  - **`load-more`** — The shared infinite-loading tail for keyset lists — a sentinel that fetches the next cursor page as the list nears its scroll edge, skeleton rows while it loads, an error line with Try again, and an optional end caption.
120
120
  - **`media-card`** — A record as a card — an image, the title with its badge beside it, a meta line and a ⋯ menu — where the whole card is one link.
121
- - **`person-avatar`** — A person's avatar — the photo, else initials on their hue, else initials on the muted fallback — the one way every people surface draws a person.
121
+ - **`person-avatar`** — A person's avatar — the photo, else initials on their hue, else initials on the muted fallback — the one way every people surface draws a person; teams and workspaces are rounded squares, agents a soft hexagon with an optional mark.
122
122
  - **`person-hover-card`** — Stacked avatars with a hover card per person — a compact card with a 32px avatar, with the name and muted email beside it — and the rest behind "+N".
123
123
  - **`property-list`** — Record-facts rows: an icon+label column beside a value column, as an accessible definition list.
124
124
  - **`recent-strip`** — One row of the records a person opened last — compact cards in a sideways strip with edge fades and roving arrow keys, a single line of chips on a phone, collapsible, with a same-shape skeleton.