@hanzo/ui 8.25.2 → 8.25.4
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/dist/gallery.html +1 -1
- package/dist/next.cjs +18 -3
- package/package.json +5 -8
package/dist/gallery.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html lang="en" class="t_dark"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>@hanzo/ui 8.25.
|
|
1
|
+
<!doctype html><html lang="en" class="t_dark"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>@hanzo/ui 8.25.4</title><style>/* @hanzo/ui — generated by scripts/gen-css.mjs. Do not edit. */
|
|
2
2
|
:root { --hanzo-ui-styles: 1; }
|
|
3
3
|
/* Hanzo Design System — the entry point. Import THIS one file.
|
|
4
4
|
*
|
package/dist/next.cjs
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
// plain object, so it does not force `next` into anyone's type graph.
|
|
29
29
|
|
|
30
30
|
const { readdirSync } = require('node:fs')
|
|
31
|
-
const { join } = require('node:path')
|
|
31
|
+
const { dirname, join } = require('node:path')
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* react-native's web spelling, and the asset registry that ships beside it.
|
|
@@ -36,10 +36,25 @@ const { join } = require('node:path')
|
|
|
36
36
|
* The registry is named separately because it is the one module react-native-web
|
|
37
37
|
* does not answer to under the same path — an `Image` reaches for
|
|
38
38
|
* `@react-native/assets-registry/registry` and finds nothing.
|
|
39
|
+
*
|
|
40
|
+
* Resolved to a real directory rather than left as a name. A bundler resolves an
|
|
41
|
+
* alias TARGET from the app, and react-native-web arrives as this package's
|
|
42
|
+
* dependency, which a strict store does not hoist — so the name resolved here,
|
|
43
|
+
* where this file lives, and nowhere in the app that asked for it. Every site
|
|
44
|
+
* declaring the package itself would work and is the same fact written once per
|
|
45
|
+
* site.
|
|
39
46
|
*/
|
|
47
|
+
const web = (() => {
|
|
48
|
+
try {
|
|
49
|
+
return dirname(require.resolve('react-native-web/package.json'))
|
|
50
|
+
} catch {
|
|
51
|
+
return 'react-native-web'
|
|
52
|
+
}
|
|
53
|
+
})()
|
|
54
|
+
|
|
40
55
|
const ALIAS = {
|
|
41
|
-
'react-native':
|
|
42
|
-
'@react-native/assets-registry/registry': '
|
|
56
|
+
'react-native': web,
|
|
57
|
+
'@react-native/assets-registry/registry': join(web, 'dist/modules/AssetRegistry'),
|
|
43
58
|
}
|
|
44
59
|
|
|
45
60
|
/** `.web.tsx` before `.tsx`. See (1) above. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/ui",
|
|
3
|
-
"version": "8.25.
|
|
3
|
+
"version": "8.25.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Hanzo UI — the one canonical Hanzo component library, on @hanzo/gui + @hanzo/design. ONE substrate: every component renders through @hanzo/gui primitives, so the same import works on web, native (expo) and desktop (Tauri). Self-contained (theme.css), presentational, host-agnostic, clean-room.",
|
|
6
6
|
"exports": {
|
|
@@ -238,7 +238,8 @@
|
|
|
238
238
|
"@hanzo/font": "1.9.2",
|
|
239
239
|
"@hanzo/logo": "1.0.26",
|
|
240
240
|
"@hanzo/products": "0.2.6",
|
|
241
|
-
"react-native-svg": "npm:react-native-svg-web@^1.0.9"
|
|
241
|
+
"react-native-svg": "npm:react-native-svg-web@^1.0.9",
|
|
242
|
+
"react-native-web": "^0.21"
|
|
242
243
|
},
|
|
243
244
|
"peerDependencies": {
|
|
244
245
|
"@hanzo/canvas": ">=0.2.3",
|
|
@@ -257,8 +258,7 @@
|
|
|
257
258
|
"next-themes": ">=0.2.1",
|
|
258
259
|
"react": ">=19.2.8",
|
|
259
260
|
"react-dom": ">=19.2.8",
|
|
260
|
-
"react-hook-form": ">=7"
|
|
261
|
-
"react-native-web": ">=0.21"
|
|
261
|
+
"react-hook-form": ">=7"
|
|
262
262
|
},
|
|
263
263
|
"peerDependenciesMeta": {
|
|
264
264
|
"@hanzo/canvas": {
|
|
@@ -282,9 +282,6 @@
|
|
|
282
282
|
"next-themes": {
|
|
283
283
|
"optional": true
|
|
284
284
|
},
|
|
285
|
-
"react-native-web": {
|
|
286
|
-
"optional": true
|
|
287
|
-
},
|
|
288
285
|
"react-hook-form": {
|
|
289
286
|
"optional": true
|
|
290
287
|
}
|
|
@@ -293,7 +290,7 @@
|
|
|
293
290
|
"@hanzo/cd": "0.1.2",
|
|
294
291
|
"@hanzo/dashboard": "0.2.0",
|
|
295
292
|
"@hanzo/data": "1.2.4",
|
|
296
|
-
"@hanzo/gui": "8.
|
|
293
|
+
"@hanzo/gui": "8.3.0",
|
|
297
294
|
"@hanzo/usage": "0.1.7",
|
|
298
295
|
"@hanzogui/animations-css": "8.2.1",
|
|
299
296
|
"@hanzogui/config": "8.2.1",
|