@takazudo/zdtp 0.2.0-next.2 → 0.2.0

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.0
4
+
5
+ First clean stable release on the `latest` dist-tag, promoting the
6
+ `0.2.0-next.1` / `0.2.0-next.2` prerelease line. A tagless
7
+ `pnpm add @takazudo/zdtp` now resolves this build.
8
+
9
+ ### Breaking Changes
10
+
11
+ - **Removed the `min` and `max` properties from `TokenDef` and `TierValueKind` (`'length'` | `'number'` variants).** Numeric token rows are now plain unconstrained number inputs — the `<input type="range">` slider and the mid-keystroke / on-blur clamp logic (and the `aria-invalid` out-of-range styling) are gone; values commit as typed. Real-world use proved sliders too restrictive for a developer tool. **Migration**: remove every `min: ...` and `max: ...` field from your token manifests. The internal color-picker `SliderConfig.min` / `.max` (OKLCH/HSL axis bounds) is unrelated and unchanged. (a9b768e, [#325](https://github.com/Takazudo/zudo-design-token-panel/issues/325), [#328](https://github.com/Takazudo/zudo-design-token-panel/pull/328))
12
+
13
+ ### Features
14
+
15
+ - **Token-name tooltip parity across all tabs (Size / Font / Spacing / Easing / GenericTab).** A new shared `TokenLabel` component renders the same `.tokenpanel-tooltip` primitive at every token-name display site (previously only the Color tab had the rich tooltip; others fell back to the native `title` attribute). `TooltipProvider` was lifted from `color-tab.tsx` to `panel.tsx` so all tabs share a single provider. (559c59f, 426e9c6, 84f5981, [#330](https://github.com/Takazudo/zudo-design-token-panel/issues/330), [#337](https://github.com/Takazudo/zudo-design-token-panel/pull/337))
16
+
17
+ ### Other Changes
18
+
19
+ - Strip `min` / `max` from 35+ test fixture files and rewrite the [#313](https://github.com/Takazudo/zudo-design-token-panel/pull/313) clamp-regression tests to assert the new free-input contract. (b8ef56e, 9798e07)
20
+ - Drop slider-describing prose and min/max examples from `README.md`, `PORTABLE-CONTRACT.md`, and the doc-site reference pages (`token-manifest.mdx`, `architecture.mdx`, `configure-panel.mdx`). (e210a2d, 9262585)
21
+ - Resolve all `pnpm audit` advisories (1 critical, 3 high, 7 moderate, 1 low) in dev/doc-only tooling — none ship in the published package. (f3574e0)
22
+
3
23
  ## 0.2.0-next.2
4
24
 
5
25
  ### Features
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takazudo/zdtp",
3
- "version": "0.2.0-next.2",
3
+ "version": "0.2.0",
4
4
  "description": "Dynamic design-token tweak panel — host-config-driven, framework-agnostic Preact UI.",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -84,13 +84,13 @@
84
84
  "@playwright/test": "^1.60.0",
85
85
  "@types/culori": "^4.0.1",
86
86
  "@types/node": "^22.0.0",
87
- "@vitest/browser-playwright": "4.1.5",
87
+ "@vitest/browser-playwright": "4.1.8",
88
88
  "jsdom": "^25.0.0",
89
89
  "playwright": "^1.60.0",
90
90
  "preact": "^10.29.1",
91
91
  "typescript": "^5.6.0",
92
- "vite": "^7.3.2",
93
- "vitest": "^4.1.4"
92
+ "vite": "^7.3.5",
93
+ "vitest": "^4.1.8"
94
94
  },
95
95
  "scripts": {
96
96
  "build": "vite build && tsc -p tsconfig.build.json && node scripts/copy-astro-assets.mjs && chmod +x dist/bin/server.js",