@hanzo/ui 8.25.4 → 8.25.5
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 +7 -17
- package/package.json +1 -1
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.5</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 {
|
|
31
|
+
const { join } = require('node:path')
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* react-native's web spelling, and the asset registry that ships beside it.
|
|
@@ -37,24 +37,14 @@ const { dirname, join } = require('node:path')
|
|
|
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
39
|
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
* declaring the package itself would work and is the same fact written once per
|
|
45
|
-
* site.
|
|
40
|
+
* Both are module specifiers, resolved from the app. Turbopack reads an absolute
|
|
41
|
+
* path as a relative one and reports it back with a `./` in front, so the app is
|
|
42
|
+
* the one that has to see `react-native-web` — every web app on this stack
|
|
43
|
+
* declares it, the same way it declares react-dom.
|
|
46
44
|
*/
|
|
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
|
-
|
|
55
45
|
const ALIAS = {
|
|
56
|
-
'react-native': web,
|
|
57
|
-
'@react-native/assets-registry/registry':
|
|
46
|
+
'react-native': 'react-native-web',
|
|
47
|
+
'@react-native/assets-registry/registry': 'react-native-web/dist/modules/AssetRegistry',
|
|
58
48
|
}
|
|
59
49
|
|
|
60
50
|
/** `.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.5",
|
|
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": {
|