@motion-proto/live-tokens 0.91.0 → 0.91.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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.91.1 — Sketch mode respects bare images
4
+
5
+ ### Fixed
6
+
7
+ - **Sketch mode leaves a bare Image unframed.** The layer drew every `.image`
8
+ from the default frame tokens, so `variant="bare"` lost its effect once a
9
+ sketchstyle was on and cut-out art picked up a hand-drawn border and rounded
10
+ clip. A bare image now draws from `--image-bare-border`,
11
+ `--image-bare-radius` and `--image-bare-shadow`.
12
+
3
13
  ## 0.91.0 — Overlay for ImageLightbox
4
14
 
5
15
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@motion-proto/live-tokens",
3
- "version": "0.91.0",
3
+ "version": "0.91.1",
4
4
  "type": "module",
5
5
  "description": "Design token editor with live CSS variable editing. Svelte 5 + Vite 8.",
6
6
  "keywords": [
@@ -254,6 +254,11 @@ const PART_SPECS: readonly PartSpec[] = [
254
254
  // Holds the picture inside the frame; without it a zoom spills out square.
255
255
  clips: true,
256
256
  },
257
+ {
258
+ sel: '.image.bare', fill: 'transparent', stroke: 'var(--image-bare-border)',
259
+ radius: 'var(--image-bare-radius, 0px)', shadow: 'var(--image-bare-shadow, none)',
260
+ clips: true,
261
+ },
257
262
  ...['single', 'range'].map((v) => ({
258
263
  sel: `.slider.${v} .slider-track`,
259
264
  fill: `var(--slider-${v}-track-surface)`,