@wintermuted/ui-theme 0.21.5 → 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.
- package/README.md +21 -1
- package/package.json +16 -13
package/README.md
CHANGED
|
@@ -82,6 +82,20 @@ npm run showcase:serve
|
|
|
82
82
|
|
|
83
83
|
Then open `http://localhost:4174/showcase/`.
|
|
84
84
|
|
|
85
|
+
### GitHub Copilot app
|
|
86
|
+
|
|
87
|
+
Review and accept `.github/github-app.yml` when prompted by the app. Node.js 22
|
|
88
|
+
and npm must be available locally.
|
|
89
|
+
|
|
90
|
+
The **Install dependencies** script runs `npm ci --no-audit --no-fund` when a
|
|
91
|
+
session is created and can also be rerun manually. **Run showcase** starts the
|
|
92
|
+
existing Vite development server on port 4174.
|
|
93
|
+
|
|
94
|
+
Open `http://127.0.0.1:4174/showcase/` to view the documentation and React examples.
|
|
95
|
+
Automatic browser opening is disabled because Vite reports the repository root
|
|
96
|
+
URL, while the showcase lives under `/showcase/`. Stop the run script before
|
|
97
|
+
starting the showcase in another session, since the server requires port 4174.
|
|
98
|
+
|
|
85
99
|
Helpful local viewing scripts:
|
|
86
100
|
|
|
87
101
|
```bash
|
|
@@ -195,7 +209,7 @@ These are distributable ES modules, not TSX source, with separate declaration fi
|
|
|
195
209
|
No application compiler needs to transpile JSX inside this package. React is never bundled.
|
|
196
210
|
The `typesVersions` entries support TypeScript 4.9's legacy `moduleResolution: node`;
|
|
197
211
|
conditional exports support newer resolvers. CI checks packed-package React 18,
|
|
198
|
-
TypeScript
|
|
212
|
+
TypeScript 7/bundler, Vite 8 and Webpack 5 consumers, plus CSS-only installation without peers.
|
|
199
213
|
For CRA 5/Jest consumers, allow this ESM package through Babel's dependency transform:
|
|
200
214
|
|
|
201
215
|
```json
|
|
@@ -274,6 +288,12 @@ with System, Light and Dark options and must be inside a provider.
|
|
|
274
288
|
|
|
275
289
|
### Development and release
|
|
276
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
|
+
|
|
277
297
|
Run `npm test` for DOM behavior/package contracts and `npm run test:browser` for native
|
|
278
298
|
Chromium keyboard/focus/theme checks (`npx playwright install chromium` once if needed).
|
|
279
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.
|
|
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
|
-
"
|
|
137
|
-
"@types/react": "^
|
|
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
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"react
|
|
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
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"
|
|
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
|
}
|