@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
- /** The muted track the chips sit in — the ladder's well rung. */
116
- track: "bg-surface-1",
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.
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  cn
4
- } from "./chunk-LRQSVCP6.js";
4
+ } from "./chunk-DS7SBEDS.js";
5
5
 
6
6
  // src/icons/create-animated-icon.tsx
7
7
  import * as React from "react";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  cn
3
- } from "../chunk-LRQSVCP6.js";
3
+ } from "../chunk-DS7SBEDS.js";
4
4
 
5
5
  // src/icons/icon.tsx
6
6
  import "react";
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
- /** The muted track the chips sit in — the ladder's well rung. */
151
- track: "bg-surface-1",
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`); the chip is the ladder's alpha form of the
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
- /** The muted track the chips sit in — the ladder's well rung. */
236
- readonly track: "bg-surface-1";
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`); the chip is the ladder's alpha form of the
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
- /** The muted track the chips sit in — the ladder's well rung. */
236
- readonly track: "bg-surface-1";
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
@@ -11,7 +11,7 @@ import {
11
11
  selectedChipVariants,
12
12
  surfaceInteractive,
13
13
  surfaceInteractiveGroup
14
- } from "./chunk-LRQSVCP6.js";
14
+ } from "./chunk-DS7SBEDS.js";
15
15
  export {
16
16
  FLOATING,
17
17
  TIMINGS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vegastack/design",
3
- "version": "0.4.0",
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": {