@wintermuted/ui-theme 0.21.6 → 0.21.7

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/README.md +7 -1
  2. package/package.json +16 -13
package/README.md CHANGED
@@ -209,7 +209,7 @@ These are distributable ES modules, not TSX source, with separate declaration fi
209
209
  No application compiler needs to transpile JSX inside this package. React is never bundled.
210
210
  The `typesVersions` entries support TypeScript 4.9's legacy `moduleResolution: node`;
211
211
  conditional exports support newer resolvers. CI checks packed-package React 18,
212
- TypeScript 4.9, Vite 5 and Webpack 5 consumers, plus CSS-only installation without peers.
212
+ TypeScript 7/bundler, Vite 8 and Webpack 5 consumers, plus CSS-only installation without peers.
213
213
  For CRA 5/Jest consumers, allow this ESM package through Babel's dependency transform:
214
214
 
215
215
  ```json
@@ -288,6 +288,12 @@ with System, Light and Dark options and must be inside a provider.
288
288
 
289
289
  ### Development and release
290
290
 
291
+ Development uses React/ReactDOM 19 and matching React 19 types; the optional peer ranges
292
+ and packed-consumer checks retain React 18.3 compatibility.
293
+ TypeScript 7, Vite 8, and JSDOM 31 are the development baseline. Volta pins Node 22.23.5;
294
+ JSDOM and Stylelint 18 require Node 22.22.2+, 24.15+, or 26+. Older TypeScript/Vite
295
+ versions are no longer included in the consumer checks.
296
+
291
297
  Run `npm test` for DOM behavior/package contracts and `npm run test:browser` for native
292
298
  Chromium keyboard/focus/theme checks (`npx playwright install chromium` once if needed).
293
299
  Open `/showcase/react.html` with `npm run showcase:serve` for live examples.
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "@wintermuted/ui-theme",
3
- "version": "0.21.6",
3
+ "version": "0.21.7",
4
4
  "description": "Shared Wintermuted UI theme (design tokens, base resets, and component styles) derived from the CV styling language.",
5
5
  "type": "module",
6
+ "volta": {
7
+ "node": "22.23.5"
8
+ },
6
9
  "main": "./index.js",
7
10
  "license": "MIT",
8
11
  "keywords": [
@@ -133,19 +136,19 @@
133
136
  "devDependencies": {
134
137
  "@testing-library/react": "^16.3.0",
135
138
  "@testing-library/user-event": "^14.6.1",
136
- "playwright": "^1.56.1",
137
- "@types/react": "^18.3.0",
138
- "@types/react-dom": "^18.3.0",
139
- "jsdom": "^26.1.0",
139
+ "@types/react": "^19.3.0",
140
+ "@types/react-dom": "^19.3.0",
140
141
  "css-loader": "^7.1.2",
141
- "style-loader": "^4.0.0",
142
- "react": "^18.3.1",
143
- "react-dom": "^18.3.1",
142
+ "jsdom": "^31.0.1",
143
+ "playwright": "^1.56.1",
144
+ "react": "^19.3.1",
145
+ "react-dom": "^19.3.1",
144
146
  "react-select": "^5.10.2",
145
- "typescript": "~4.9.5",
146
- "vite": "^5.4.21",
147
- "webpack": "^5.102.1",
148
- "stylelint": "^17.10.0",
149
- "stylelint-config-standard": "^40.0.0"
147
+ "style-loader": "^4.0.0",
148
+ "stylelint": "^18.0.0",
149
+ "stylelint-config-standard": "^41.0.0",
150
+ "typescript": "^7.0.2",
151
+ "vite": "^8.3.8",
152
+ "webpack": "^5.102.1"
150
153
  }
151
154
  }