@vegastack/design 0.7.40 → 0.7.42
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/dist/{chunk-MSLEIFNS.js → chunk-ZSXJC3TJ.js} +5 -2
- package/dist/create-animated-icon.js +1 -1
- package/dist/icons/index.js +1 -1
- package/dist/index.cjs +5 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/skills/vegastack-design-system/references/components.md +3 -3
|
@@ -40,13 +40,16 @@ var prose = {
|
|
|
40
40
|
em: "[&_em]:italic",
|
|
41
41
|
del: "[&_del]:line-through [&_s]:line-through",
|
|
42
42
|
// Lists. Items and markers are body text: family, size and ink inherit (a `::marker` takes the
|
|
43
|
-
// item's font), so `1.` and `•` never read as a second typeface or a second colour.
|
|
43
|
+
// item's font), so `1.` and `•` never read as a second typeface or a second colour. One thing
|
|
44
|
+
// does NOT inherit: the user-agent stylesheet gives `::marker` `font-variant-numeric:
|
|
45
|
+
// tabular-nums`, and Geist's tabular figures are fixed-width — that is what made ordered-list
|
|
46
|
+
// numbers look monospaced. `marker:normal-nums` restores the body's proportional figures. A GFM task
|
|
44
47
|
// list carries `contains-task-list` and its checkbox IS the marker, so the disc goes — expressed
|
|
45
48
|
// as a second, more specific descendant rule rather than a class on the element, which would
|
|
46
49
|
// lose the cascade (see the header).
|
|
47
50
|
ul: "[&_ul]:my-2 [&_ul]:ms-5 [&_ul]:list-disc [&_ul.contains-task-list]:list-none",
|
|
48
51
|
ol: "[&_ol]:my-2 [&_ol]:ms-5 [&_ol]:list-decimal",
|
|
49
|
-
li: "[&_li]:mt-1 [&_li]:marker:
|
|
52
|
+
li: "[&_li]:mt-1 [&_li]:marker:normal-nums [&_li]:marker:text-inherit [&_li_p]:my-0",
|
|
50
53
|
// Task lists, one shape for both producers: `MarkdownView` tags the GFM list
|
|
51
54
|
// `data-type="taskList"` and each item `data-type="taskItem"` with its body in a
|
|
52
55
|
// `data-slot="task-item-content"` box, which is exactly the DOM Tiptap's `TaskItem` node view
|
package/dist/icons/index.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -69,13 +69,16 @@ var prose = {
|
|
|
69
69
|
em: "[&_em]:italic",
|
|
70
70
|
del: "[&_del]:line-through [&_s]:line-through",
|
|
71
71
|
// Lists. Items and markers are body text: family, size and ink inherit (a `::marker` takes the
|
|
72
|
-
// item's font), so `1.` and `•` never read as a second typeface or a second colour.
|
|
72
|
+
// item's font), so `1.` and `•` never read as a second typeface or a second colour. One thing
|
|
73
|
+
// does NOT inherit: the user-agent stylesheet gives `::marker` `font-variant-numeric:
|
|
74
|
+
// tabular-nums`, and Geist's tabular figures are fixed-width — that is what made ordered-list
|
|
75
|
+
// numbers look monospaced. `marker:normal-nums` restores the body's proportional figures. A GFM task
|
|
73
76
|
// list carries `contains-task-list` and its checkbox IS the marker, so the disc goes — expressed
|
|
74
77
|
// as a second, more specific descendant rule rather than a class on the element, which would
|
|
75
78
|
// lose the cascade (see the header).
|
|
76
79
|
ul: "[&_ul]:my-2 [&_ul]:ms-5 [&_ul]:list-disc [&_ul.contains-task-list]:list-none",
|
|
77
80
|
ol: "[&_ol]:my-2 [&_ol]:ms-5 [&_ol]:list-decimal",
|
|
78
|
-
li: "[&_li]:mt-1 [&_li]:marker:
|
|
81
|
+
li: "[&_li]:mt-1 [&_li]:marker:normal-nums [&_li]:marker:text-inherit [&_li_p]:my-0",
|
|
79
82
|
// Task lists, one shape for both producers: `MarkdownView` tags the GFM list
|
|
80
83
|
// `data-type="taskList"` and each item `data-type="taskItem"` with its body in a
|
|
81
84
|
// `data-slot="task-item-content"` box, which is exactly the DOM Tiptap's `TaskItem` node view
|
package/dist/index.d.cts
CHANGED
|
@@ -69,7 +69,7 @@ declare const prose: {
|
|
|
69
69
|
readonly del: "[&_del]:line-through [&_s]:line-through";
|
|
70
70
|
readonly ul: "[&_ul]:my-2 [&_ul]:ms-5 [&_ul]:list-disc [&_ul.contains-task-list]:list-none";
|
|
71
71
|
readonly ol: "[&_ol]:my-2 [&_ol]:ms-5 [&_ol]:list-decimal";
|
|
72
|
-
readonly li: "[&_li]:mt-1 [&_li]:marker:
|
|
72
|
+
readonly li: "[&_li]:mt-1 [&_li]:marker:normal-nums [&_li]:marker:text-inherit [&_li_p]:my-0";
|
|
73
73
|
readonly taskList: "[&_ul[data-type=taskList]]:ms-0 [&_ul[data-type=taskList]]:list-none [&_li[data-type=taskItem]]:flex [&_li[data-type=taskItem]]:items-start [&_li[data-type=taskItem]]:gap-2 [&_li[data-type=taskItem]_[data-slot=checkbox]]:mt-0.5 [&_li[data-type=taskItem]_[data-slot=checkbox]]:me-0 [&_[data-slot=task-item-content]]:min-w-0 [&_[data-slot=task-item-content]]:flex-1";
|
|
74
74
|
readonly blockquote: "[&_blockquote]:my-2 [&_blockquote]:border-s-2 [&_blockquote]:border-border [&_blockquote]:ps-3";
|
|
75
75
|
readonly code: "[&_code]:rounded-sm [&_code]:bg-muted [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:font-mono [&_code]:text-sm [&_code]:text-foreground";
|
package/dist/index.d.ts
CHANGED
|
@@ -69,7 +69,7 @@ declare const prose: {
|
|
|
69
69
|
readonly del: "[&_del]:line-through [&_s]:line-through";
|
|
70
70
|
readonly ul: "[&_ul]:my-2 [&_ul]:ms-5 [&_ul]:list-disc [&_ul.contains-task-list]:list-none";
|
|
71
71
|
readonly ol: "[&_ol]:my-2 [&_ol]:ms-5 [&_ol]:list-decimal";
|
|
72
|
-
readonly li: "[&_li]:mt-1 [&_li]:marker:
|
|
72
|
+
readonly li: "[&_li]:mt-1 [&_li]:marker:normal-nums [&_li]:marker:text-inherit [&_li_p]:my-0";
|
|
73
73
|
readonly taskList: "[&_ul[data-type=taskList]]:ms-0 [&_ul[data-type=taskList]]:list-none [&_li[data-type=taskItem]]:flex [&_li[data-type=taskItem]]:items-start [&_li[data-type=taskItem]]:gap-2 [&_li[data-type=taskItem]_[data-slot=checkbox]]:mt-0.5 [&_li[data-type=taskItem]_[data-slot=checkbox]]:me-0 [&_[data-slot=task-item-content]]:min-w-0 [&_[data-slot=task-item-content]]:flex-1";
|
|
74
74
|
readonly blockquote: "[&_blockquote]:my-2 [&_blockquote]:border-s-2 [&_blockquote]:border-border [&_blockquote]:ps-3";
|
|
75
75
|
readonly code: "[&_code]:rounded-sm [&_code]:bg-muted [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:font-mono [&_code]:text-sm [&_code]:text-foreground";
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vegastack/design",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.42",
|
|
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
|
-
**127 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`),
|
|
6
|
+
**127 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 3 data libs (`date-time`, `geo-data`, `drag-item`) — 689 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
|
|
@@ -31,7 +31,7 @@ starts with `icon-` is a component and never an icon.
|
|
|
31
31
|
- **`editable-cell`** — Inline-editable value whose edit mode looks like view — same box, inherited type, no border — with optimistic saves, a delayed spinner, rollback plus a Retry toast on failure, required, multiline, table-cell and heading variants, and a typed text/select/custom editor registry.
|
|
32
32
|
- **`emoji-picker`** — A popover with a searchable, category-grouped grid of emoji that returns the selected character via onValueChange (curated set, not full Unicode).
|
|
33
33
|
- **`field`** — The form-field scaffold — label, description, error, legend, separator and choice-card layouts.
|
|
34
|
-
- **`input`** — A styled Base UI input for every text-entry type
|
|
34
|
+
- **`input`** — A styled Base UI input for every text-entry type: a bordered default with the focus border tint (FOC-3), or a borderless ghost title field tinted on hover and focus; sm, default and lg sizes.
|
|
35
35
|
- **`input-group`** — An input or textarea with addons — icons, text, buttons, kbd hints and spinners on one surface.
|
|
36
36
|
- **`input-otp`** — A one-time-password field with per-character slots, driven by one hidden input.
|
|
37
37
|
- **`label`** — A styled native label for form controls.
|
|
@@ -157,7 +157,7 @@ starts with `icon-` is a component and never an icon.
|
|
|
157
157
|
|
|
158
158
|
## Rich text
|
|
159
159
|
|
|
160
|
-
- **`text-edit`** — A Tiptap-based rich-text editor with a
|
|
160
|
+
- **`text-edit`** — A Tiptap-based, markdown-first rich-text editor with no toolbar: a slash menu for blocks and a bubble menu for inline marks, a hover/focus tint, and one onCommit path.
|
|
161
161
|
|
|
162
162
|
## Chat
|
|
163
163
|
|