@vegastack/design 0.4.0 → 0.4.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.
|
@@ -112,8 +112,12 @@ var fieldControlGroup = [
|
|
|
112
112
|
"data-disabled:cursor-not-allowed data-disabled:bg-surface-1 data-disabled:opacity-(--opacity-dim)"
|
|
113
113
|
].join(" ");
|
|
114
114
|
var selectedChipVariants = {
|
|
115
|
-
/**
|
|
116
|
-
|
|
115
|
+
/**
|
|
116
|
+
* The muted track the chips sit in — the ladder's well rung with a drawn inset boundary. The
|
|
117
|
+
* pseudo-element keeps the 28 / 32px track boxes unchanged; a real root border would add 2px and
|
|
118
|
+
* silently break the shared control scale.
|
|
119
|
+
*/
|
|
120
|
+
track: "relative bg-surface-1 after:pointer-events-none after:absolute after:inset-0 after:rounded-[inherit] after:border after:border-border after:content-['']",
|
|
117
121
|
/**
|
|
118
122
|
* Chrome shared by every chip: a transparent hairline reserved at rest (so selecting adds no
|
|
119
123
|
* layout shift) and the muted→ink text step.
|
package/dist/icons/index.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -147,8 +147,12 @@ var fieldControlGroup = [
|
|
|
147
147
|
"data-disabled:cursor-not-allowed data-disabled:bg-surface-1 data-disabled:opacity-(--opacity-dim)"
|
|
148
148
|
].join(" ");
|
|
149
149
|
var selectedChipVariants = {
|
|
150
|
-
/**
|
|
151
|
-
|
|
150
|
+
/**
|
|
151
|
+
* The muted track the chips sit in — the ladder's well rung with a drawn inset boundary. The
|
|
152
|
+
* pseudo-element keeps the 28 / 32px track boxes unchanged; a real root border would add 2px and
|
|
153
|
+
* silently break the shared control scale.
|
|
154
|
+
*/
|
|
155
|
+
track: "relative bg-surface-1 after:pointer-events-none after:absolute after:inset-0 after:rounded-[inherit] after:border after:border-border after:content-['']",
|
|
152
156
|
/**
|
|
153
157
|
* Chrome shared by every chip: a transparent hairline reserved at rest (so selecting adds no
|
|
154
158
|
* layout shift) and the muted→ink text step.
|
package/dist/index.d.cts
CHANGED
|
@@ -208,7 +208,8 @@ declare const fieldControlGroup: string;
|
|
|
208
208
|
* existed the four wrote four different selected looks (`bg-background`, `bg-secondary` + hairline,
|
|
209
209
|
* `bg-foreground/10`); audit 2026-09-07 B6-02.
|
|
210
210
|
*
|
|
211
|
-
* The track is the ladder's well rung (`surface-1`)
|
|
211
|
+
* The track is the ladder's well rung (`surface-1`) with one inset semantic boundary; the chip is
|
|
212
|
+
* the ladder's alpha form of the
|
|
212
213
|
* pressed/selected step (§Surfaces) — `bg-foreground/(--alpha-ink-tint)`, which doctrine reaches
|
|
213
214
|
* for exactly here ("a chip on a well"). Over the `surface-1` track it composites to L 0.899 light
|
|
214
215
|
* / 0.318 dark, which is Δ0.023 / Δ0.028 PAST `surface-3` — a full extra rung, since the ladder's
|
|
@@ -232,8 +233,12 @@ declare const fieldControlGroup: string;
|
|
|
232
233
|
* </div>
|
|
233
234
|
*/
|
|
234
235
|
declare const selectedChipVariants: {
|
|
235
|
-
/**
|
|
236
|
-
|
|
236
|
+
/**
|
|
237
|
+
* The muted track the chips sit in — the ladder's well rung with a drawn inset boundary. The
|
|
238
|
+
* pseudo-element keeps the 28 / 32px track boxes unchanged; a real root border would add 2px and
|
|
239
|
+
* silently break the shared control scale.
|
|
240
|
+
*/
|
|
241
|
+
readonly track: "relative bg-surface-1 after:pointer-events-none after:absolute after:inset-0 after:rounded-[inherit] after:border after:border-border after:content-['']";
|
|
237
242
|
/**
|
|
238
243
|
* Chrome shared by every chip: a transparent hairline reserved at rest (so selecting adds no
|
|
239
244
|
* layout shift) and the muted→ink text step.
|
package/dist/index.d.ts
CHANGED
|
@@ -208,7 +208,8 @@ declare const fieldControlGroup: string;
|
|
|
208
208
|
* existed the four wrote four different selected looks (`bg-background`, `bg-secondary` + hairline,
|
|
209
209
|
* `bg-foreground/10`); audit 2026-09-07 B6-02.
|
|
210
210
|
*
|
|
211
|
-
* The track is the ladder's well rung (`surface-1`)
|
|
211
|
+
* The track is the ladder's well rung (`surface-1`) with one inset semantic boundary; the chip is
|
|
212
|
+
* the ladder's alpha form of the
|
|
212
213
|
* pressed/selected step (§Surfaces) — `bg-foreground/(--alpha-ink-tint)`, which doctrine reaches
|
|
213
214
|
* for exactly here ("a chip on a well"). Over the `surface-1` track it composites to L 0.899 light
|
|
214
215
|
* / 0.318 dark, which is Δ0.023 / Δ0.028 PAST `surface-3` — a full extra rung, since the ladder's
|
|
@@ -232,8 +233,12 @@ declare const fieldControlGroup: string;
|
|
|
232
233
|
* </div>
|
|
233
234
|
*/
|
|
234
235
|
declare const selectedChipVariants: {
|
|
235
|
-
/**
|
|
236
|
-
|
|
236
|
+
/**
|
|
237
|
+
* The muted track the chips sit in — the ladder's well rung with a drawn inset boundary. The
|
|
238
|
+
* pseudo-element keeps the 28 / 32px track boxes unchanged; a real root border would add 2px and
|
|
239
|
+
* silently break the shared control scale.
|
|
240
|
+
*/
|
|
241
|
+
readonly track: "relative bg-surface-1 after:pointer-events-none after:absolute after:inset-0 after:rounded-[inherit] after:border after:border-border after:content-['']";
|
|
237
242
|
/**
|
|
238
243
|
* Chrome shared by every chip: a transparent hairline reserved at rest (so selecting adds no
|
|
239
244
|
* layout shift) and the muted→ink text step.
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vegastack/design",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.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": {
|