@vegastack/design 0.7.46 → 0.7.47

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.7.46",
3
+ "version": "0.7.47",
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": {
@@ -59,6 +59,11 @@ link` (upstream's set, verbatim). `destructive` is a soft tint, not a solid red
59
59
  - **People icons are the round lucide set** — `UserRound`, `UsersRound`, `CircleUserRound` (and
60
60
  their `-Plus`/`-Check` kin), never the square-shouldered `User`, `Users` or `CircleUser`, so a
61
61
  person reads the same as an `Avatar` everywhere.
62
+ - **A person is always `PersonAvatar`** (from `person-avatar`) — the photo, else initials (one rule,
63
+ `personInitials`, exported from `person-avatar`) on the person's stored `hue`, else muted. Pass `hue` wherever a
64
+ person is (`RecordChip` `person`, `BoardCard` `assignee`, `InboxItem` `avatar`, `PropertyPerson`,
65
+ `SearchableSelect` `itemToAvatar`); never hand-roll `Avatar` + initials for a person, and set a
66
+ person's own photo with `AvatarPicker`.
62
67
  - **Control sizes are upstream's names: `default · xs · sm · lg`**, plus
63
68
  `icon · icon-xs · icon-sm · icon-lg` where a square tier exists. The old `md` default is gone, and
64
69
  most of the components that are ours dropped their `size` prop entirely and take their height from
@@ -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
- **128 components**, plus 467 animated-icon items, 13 hooks (`use-animation-replay`, `use-announcer`, `use-async-search`, `use-drag-reorder`, `use-file-drop`, `use-inline-edit`, `use-list-nav`, `use-media-query`, `use-mobile`, `use-modal-inert`, `use-overflow`, `use-platform`, `use-tabs-swipe`), 11 starter blocks (`app-shell-01`, `board-01`, `issue-detail-01`, `command-search-01`, `list-page-01`, `login-01`, `notifications-01`, `review-split-01`, `settings-01`, `settings-02`, `status-pages-01`), 68 chart blocks across 7 families, and 4 data libs (`date-time`, `geo-data`, `emoji-data`, `drag-item`) — 691 registry items in total.
6
+ **130 components**, plus 467 animated-icon items, 13 hooks (`use-animation-replay`, `use-announcer`, `use-async-search`, `use-drag-reorder`, `use-file-drop`, `use-inline-edit`, `use-list-nav`, `use-media-query`, `use-mobile`, `use-modal-inert`, `use-overflow`, `use-platform`, `use-tabs-swipe`), 11 starter blocks (`app-shell-01`, `board-01`, `issue-detail-01`, `command-search-01`, `list-page-01`, `login-01`, `notifications-01`, `review-split-01`, `settings-01`, `settings-02`, `status-pages-01`), 68 chart blocks across 7 families, and 4 data libs (`date-time`, `geo-data`, `emoji-data`, `drag-item`) — 693 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
@@ -90,6 +90,7 @@ starts with `icon-` is a component and never an icon.
90
90
  - **`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.
91
91
  - **`load-more`** — The shared Load more footer for keyset lists — an outline button that keeps its width while loading, an error line with Try again, and an optional end caption.
92
92
  - **`media-card`** — A record as a card — an image, the title, a meta line, a badge and a ⋯ menu — where the whole card is one link.
93
+ - **`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.
93
94
  - **`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".
94
95
  - **`property-list`** — Record-facts rows: an icon+label column beside a value column, as an accessible definition list.
95
96
  - **`record-aside`** — The cards of a record page's right rail — titled sections of inline properties, people, linked records and full-width action rows.
@@ -178,3 +179,7 @@ starts with `icon-` is a component and never an icon.
178
179
 
179
180
  - **`announcement-banner`** — A dismissible one-line announcement — the full-width inverse page-top band (in-content notices use Alert variant=strip).
180
181
  - **`terminal`** — A dark mono command block with a phosphor prompt glyph and a composed copy button.
182
+
183
+ ## forms
184
+
185
+ - **`avatar-picker`** — Upload, change or remove a person's photo — a large PersonAvatar with a busy spinner, Upload/Change photo through the file picker, Remove, and a line for a refused file.