@hanzo/gui 7.3.0 → 8.0.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.
- package/.turbo/turbo-build.log +4 -0
- package/dist/cjs/createGui.cjs +6 -6
- package/dist/cjs/createGui.native.js +6 -6
- package/dist/cjs/createGui.native.js.map +1 -1
- package/dist/esm/createGui.mjs +6 -6
- package/dist/esm/createGui.mjs.map +1 -1
- package/dist/esm/createGui.native.js +6 -6
- package/dist/esm/createGui.native.js.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +1 -0
- package/dist/esm/index.mjs.map +1 -1
- package/dist/esm/index.native.js +1 -0
- package/dist/esm/index.native.js.map +1 -1
- package/dist/jsx/createGui.mjs +6 -6
- package/dist/jsx/createGui.mjs.map +1 -1
- package/dist/jsx/createGui.native.js +6 -6
- package/dist/jsx/createGui.native.js.map +1 -1
- package/dist/jsx/index.js +1 -0
- package/dist/jsx/index.js.map +1 -1
- package/dist/jsx/index.mjs +1 -0
- package/dist/jsx/index.mjs.map +1 -1
- package/dist/native.cjs +1891 -924
- package/dist/test.cjs +2058 -1090
- package/hanzogui.config.ts +4 -0
- package/linear-gradient/index.cjs +2 -0
- package/linear-gradient/index.d.ts +1 -0
- package/linear-gradient/index.js +2 -0
- package/linear-gradient/index.native.cjs +2 -0
- package/linear-gradient/index.native.js +2 -0
- package/native/index.cjs +2 -0
- package/native/index.js +2 -0
- package/native-test/index.cjs +2 -0
- package/native-test/index.js +2 -0
- package/native-test/index.native.cjs +2 -0
- package/native-test/index.native.js +2 -0
- package/native-test.d.ts +1 -0
- package/native.d.ts +1 -0
- package/package.json +84 -86
- package/react-native-web/index.cjs +2 -0
- package/react-native-web/index.js +2 -0
- package/react-native-web/index.native.cjs +2 -0
- package/react-native-web/index.native.js +2 -0
- package/src/createGui.ts +7 -7
- package/tsconfig.json +171 -0
- package/types/createGui.d.ts +1 -1
- package/types/views/EnsureFlexed.d.ts +1 -1
- package/types/views/EnsureFlexed.d.ts.map +1 -1
- package/types/views/Fieldset.d.ts +1 -1
- package/types/views/GuiProvider.d.ts +1 -1
- package/types/views/GuiProvider.d.ts.map +1 -1
- package/types/views/Text.d.ts +1 -1
- package/types/views/VisuallyHidden.d.ts +1 -1
- package/web/index.cjs +2 -0
- package/web/index.js +2 -0
- package/web/index.native.cjs +2 -0
- package/web/index.native.js +2 -0
- package/LICENSE +0 -42
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../src/linear-gradient'
|
package/native/index.cjs
ADDED
package/native/index.js
ADDED
package/native-test.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types'
|
package/native.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types'
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/gui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.0",
|
|
4
4
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
5
5
|
"description": "Style and UI for React (web and native) meet an optimizing compiler",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "https://github.com/hanzoai/gui.git",
|
|
8
|
+
"url": "git+https://github.com/hanzoai/gui.git",
|
|
9
9
|
"directory": "pkgs/ui/hanzogui"
|
|
10
10
|
},
|
|
11
11
|
"source": "src/index.ts",
|
|
12
12
|
"type": "module",
|
|
13
13
|
"sideEffects": [
|
|
14
|
-
"setup
|
|
14
|
+
"setup.*"
|
|
15
15
|
],
|
|
16
16
|
"main": "dist/cjs",
|
|
17
17
|
"module": "dist/esm",
|
|
@@ -27,6 +27,15 @@
|
|
|
27
27
|
"require": "./dist/cjs/index.cjs",
|
|
28
28
|
"default": "./dist/esm/index.mjs"
|
|
29
29
|
},
|
|
30
|
+
"./react-native-web": {
|
|
31
|
+
"types": "./types/index.d.ts",
|
|
32
|
+
"react-native": "./dist/esm/react-native-web.native.js",
|
|
33
|
+
"browser": "./dist/esm/react-native-web.mjs",
|
|
34
|
+
"module": "./dist/esm/react-native-web.mjs",
|
|
35
|
+
"import": "./dist/esm/react-native-web.mjs",
|
|
36
|
+
"require": "./dist/cjs/react-native-web.cjs",
|
|
37
|
+
"default": "./dist/esm/react-native-web.mjs"
|
|
38
|
+
},
|
|
30
39
|
"./web": {
|
|
31
40
|
"types": "./types/index.d.ts",
|
|
32
41
|
"react-native": "./dist/esm/index.native.js",
|
|
@@ -44,6 +53,7 @@
|
|
|
44
53
|
},
|
|
45
54
|
"./native-test": {
|
|
46
55
|
"types": "./types/index.d.ts",
|
|
56
|
+
"react-native": "./dist/test.native.js",
|
|
47
57
|
"require": "./dist/test.cjs",
|
|
48
58
|
"default": "./dist/test.cjs"
|
|
49
59
|
},
|
|
@@ -58,103 +68,91 @@
|
|
|
58
68
|
}
|
|
59
69
|
},
|
|
60
70
|
"scripts": {
|
|
61
|
-
"build": "
|
|
71
|
+
"build": "hanzogui-build",
|
|
62
72
|
"afterBuild": "node bundle-native.mjs",
|
|
63
|
-
"watch": "
|
|
64
|
-
"clean": "
|
|
65
|
-
"clean:build": "
|
|
73
|
+
"watch": "hanzogui-build --watch",
|
|
74
|
+
"clean": "hanzogui-build clean",
|
|
75
|
+
"clean:build": "hanzogui-build clean:build",
|
|
66
76
|
"check": "bun run check-circular-deps",
|
|
67
77
|
"check-circular-deps": "npx madge --circular ./src/index.ts"
|
|
68
78
|
},
|
|
69
79
|
"dependencies": {
|
|
70
|
-
"@hanzogui/accordion": "
|
|
71
|
-
"@hanzogui/adapt": "
|
|
72
|
-
"@hanzogui/alert-dialog": "
|
|
73
|
-
"@hanzogui/animate": "
|
|
74
|
-
"@hanzogui/animate-presence": "
|
|
75
|
-
"@hanzogui/avatar": "
|
|
76
|
-
"@hanzogui/button": "
|
|
77
|
-
"@hanzogui/card": "
|
|
78
|
-
"@hanzogui/checkbox": "
|
|
79
|
-
"@hanzogui/collapsible": "
|
|
80
|
-
"@hanzogui/compose-refs": "
|
|
81
|
-
"@hanzogui/constants": "
|
|
82
|
-
"@hanzogui/context-menu": "
|
|
83
|
-
"@hanzogui/core": "
|
|
84
|
-
"@hanzogui/create-context": "
|
|
85
|
-
"@hanzogui/create-menu": "
|
|
86
|
-
"@hanzogui/dialog": "
|
|
87
|
-
"@hanzogui/element": "
|
|
88
|
-
"@hanzogui/elements": "
|
|
89
|
-
"@hanzogui/fake-react-native": "
|
|
90
|
-
"@hanzogui/focusable": "
|
|
91
|
-
"@hanzogui/form": "
|
|
92
|
-
"@hanzogui/get-button-sized": "
|
|
93
|
-
"@hanzogui/get-font-sized": "
|
|
94
|
-
"@hanzogui/get-token": "
|
|
95
|
-
"@hanzogui/group": "
|
|
96
|
-
"@hanzogui/component-helpers": "
|
|
97
|
-
"@hanzogui/image": "
|
|
98
|
-
"@hanzogui/input": "
|
|
99
|
-
"@hanzogui/label": "
|
|
100
|
-
"@hanzogui/linear-gradient": "
|
|
101
|
-
"@hanzogui/list-item": "
|
|
102
|
-
"@hanzogui/menu": "
|
|
103
|
-
"@hanzogui/polyfill-dev": "
|
|
104
|
-
"@hanzogui/popover": "
|
|
105
|
-
"@hanzogui/popper": "
|
|
106
|
-
"@hanzogui/portal": "
|
|
107
|
-
"@hanzogui/progress": "
|
|
108
|
-
"@hanzogui/radio-group": "
|
|
109
|
-
"@hanzogui/react-native-media-driver": "
|
|
110
|
-
"@hanzogui/scroll-view": "
|
|
111
|
-
"@hanzogui/select": "
|
|
112
|
-
"@hanzogui/separator": "
|
|
113
|
-
"@hanzogui/shapes": "
|
|
114
|
-
"@hanzogui/sheet": "
|
|
115
|
-
"@hanzogui/slider": "
|
|
116
|
-
"@hanzogui/spacer": "
|
|
117
|
-
"@hanzogui/spinner": "
|
|
118
|
-
"@hanzogui/stacks": "
|
|
119
|
-
"@hanzogui/switch": "
|
|
120
|
-
"@hanzogui/tabs": "
|
|
121
|
-
"@hanzogui/text": "
|
|
122
|
-
"@hanzogui/theme": "
|
|
123
|
-
"@hanzogui/toast": "
|
|
124
|
-
"@hanzogui/toggle-group": "
|
|
125
|
-
"@hanzogui/tooltip": "
|
|
126
|
-
"@hanzogui/use-controllable-state": "
|
|
127
|
-
"@hanzogui/use-debounce": "
|
|
128
|
-
"@hanzogui/use-force-update": "
|
|
129
|
-
"@hanzogui/use-window-dimensions": "
|
|
130
|
-
"@hanzogui/visually-hidden": "
|
|
131
|
-
"@hanzogui/font-size": "
|
|
132
|
-
"@hanzogui/z-index-stack": "
|
|
80
|
+
"@hanzogui/accordion": "8.0.0",
|
|
81
|
+
"@hanzogui/adapt": "8.0.0",
|
|
82
|
+
"@hanzogui/alert-dialog": "8.0.0",
|
|
83
|
+
"@hanzogui/animate": "8.0.0",
|
|
84
|
+
"@hanzogui/animate-presence": "8.0.0",
|
|
85
|
+
"@hanzogui/avatar": "8.0.0",
|
|
86
|
+
"@hanzogui/button": "8.0.0",
|
|
87
|
+
"@hanzogui/card": "8.0.0",
|
|
88
|
+
"@hanzogui/checkbox": "8.0.0",
|
|
89
|
+
"@hanzogui/collapsible": "8.0.0",
|
|
90
|
+
"@hanzogui/compose-refs": "8.0.0",
|
|
91
|
+
"@hanzogui/constants": "8.0.0",
|
|
92
|
+
"@hanzogui/context-menu": "8.0.0",
|
|
93
|
+
"@hanzogui/core": "8.0.0",
|
|
94
|
+
"@hanzogui/create-context": "8.0.0",
|
|
95
|
+
"@hanzogui/create-menu": "8.0.0",
|
|
96
|
+
"@hanzogui/dialog": "8.0.0",
|
|
97
|
+
"@hanzogui/element": "8.0.0",
|
|
98
|
+
"@hanzogui/elements": "8.0.0",
|
|
99
|
+
"@hanzogui/fake-react-native": "8.0.0",
|
|
100
|
+
"@hanzogui/focusable": "8.0.0",
|
|
101
|
+
"@hanzogui/form": "8.0.0",
|
|
102
|
+
"@hanzogui/get-button-sized": "8.0.0",
|
|
103
|
+
"@hanzogui/get-font-sized": "8.0.0",
|
|
104
|
+
"@hanzogui/get-token": "8.0.0",
|
|
105
|
+
"@hanzogui/group": "8.0.0",
|
|
106
|
+
"@hanzogui/component-helpers": "8.0.0",
|
|
107
|
+
"@hanzogui/image": "8.0.0",
|
|
108
|
+
"@hanzogui/input": "8.0.0",
|
|
109
|
+
"@hanzogui/label": "8.0.0",
|
|
110
|
+
"@hanzogui/linear-gradient": "8.0.0",
|
|
111
|
+
"@hanzogui/list-item": "8.0.0",
|
|
112
|
+
"@hanzogui/menu": "8.0.0",
|
|
113
|
+
"@hanzogui/polyfill-dev": "8.0.0",
|
|
114
|
+
"@hanzogui/popover": "8.0.0",
|
|
115
|
+
"@hanzogui/popper": "8.0.0",
|
|
116
|
+
"@hanzogui/portal": "8.0.0",
|
|
117
|
+
"@hanzogui/progress": "8.0.0",
|
|
118
|
+
"@hanzogui/radio-group": "8.0.0",
|
|
119
|
+
"@hanzogui/react-native-media-driver": "8.0.0",
|
|
120
|
+
"@hanzogui/scroll-view": "8.0.0",
|
|
121
|
+
"@hanzogui/select": "8.0.0",
|
|
122
|
+
"@hanzogui/separator": "8.0.0",
|
|
123
|
+
"@hanzogui/shapes": "8.0.0",
|
|
124
|
+
"@hanzogui/sheet": "8.0.0",
|
|
125
|
+
"@hanzogui/slider": "8.0.0",
|
|
126
|
+
"@hanzogui/spacer": "8.0.0",
|
|
127
|
+
"@hanzogui/spinner": "8.0.0",
|
|
128
|
+
"@hanzogui/stacks": "8.0.0",
|
|
129
|
+
"@hanzogui/switch": "8.0.0",
|
|
130
|
+
"@hanzogui/tabs": "8.0.0",
|
|
131
|
+
"@hanzogui/text": "8.0.0",
|
|
132
|
+
"@hanzogui/theme": "8.0.0",
|
|
133
|
+
"@hanzogui/toast": "8.0.0",
|
|
134
|
+
"@hanzogui/toggle-group": "8.0.0",
|
|
135
|
+
"@hanzogui/tooltip": "8.0.0",
|
|
136
|
+
"@hanzogui/use-controllable-state": "8.0.0",
|
|
137
|
+
"@hanzogui/use-debounce": "8.0.0",
|
|
138
|
+
"@hanzogui/use-force-update": "8.0.0",
|
|
139
|
+
"@hanzogui/use-window-dimensions": "8.0.0",
|
|
140
|
+
"@hanzogui/visually-hidden": "8.0.0",
|
|
141
|
+
"@hanzogui/font-size": "8.0.0",
|
|
142
|
+
"@hanzogui/z-index-stack": "8.0.0"
|
|
133
143
|
},
|
|
134
144
|
"devDependencies": {
|
|
135
|
-
"@hanzogui/build": "
|
|
145
|
+
"@hanzogui/build": "8.0.0",
|
|
136
146
|
"react": ">=19",
|
|
137
147
|
"react-native": "0.83.2",
|
|
138
148
|
"react-native-web": "^0.21.0"
|
|
139
149
|
},
|
|
140
150
|
"peerDependencies": {
|
|
141
|
-
"react": ">=19"
|
|
142
|
-
"react-native": "*"
|
|
151
|
+
"react": ">=19"
|
|
143
152
|
},
|
|
144
153
|
"alsoPublishAs_disabled": [
|
|
145
154
|
"@hanzogui/ui"
|
|
146
155
|
],
|
|
147
156
|
"module:jsx": "dist/jsx",
|
|
148
|
-
"removeSideEffects": true
|
|
149
|
-
|
|
150
|
-
"dist",
|
|
151
|
-
"src",
|
|
152
|
-
"types",
|
|
153
|
-
"*.cjs",
|
|
154
|
-
"*.mjs",
|
|
155
|
-
"*.css",
|
|
156
|
-
"README.md"
|
|
157
|
-
],
|
|
158
|
-
"license": "BSD-3-Clause",
|
|
159
|
-
"author": "Hanzo AI <dev@hanzo.ai>"
|
|
160
|
-
}
|
|
157
|
+
"removeSideEffects": true
|
|
158
|
+
}
|
package/src/createGui.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createGui as createGuiCore } from '@hanzogui/core'
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
|
-
* Adds some helpful validation at dev time only for `
|
|
4
|
+
* Adds some helpful validation at dev time only for `hanzogui` specifically
|
|
5
5
|
**/
|
|
6
6
|
|
|
7
7
|
export const createGui: typeof createGuiCore =
|
|
@@ -14,15 +14,15 @@ export const createGui: typeof createGuiCore =
|
|
|
14
14
|
return expectedKeys.every((k) => typeof obj[k] !== 'undefined')
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
const
|
|
17
|
+
const hanzoguiConfig = createGuiCore(conf)
|
|
18
18
|
|
|
19
19
|
// size and space should be fully defined
|
|
20
20
|
for (const name of ['size', 'space'] as const) {
|
|
21
|
-
const tokenSet =
|
|
21
|
+
const tokenSet = hanzoguiConfig.tokensParsed[name]
|
|
22
22
|
if (!tokenSet) {
|
|
23
23
|
throw new Error(
|
|
24
24
|
`Expected tokens for "${name}" in ${Object.keys(
|
|
25
|
-
|
|
25
|
+
hanzoguiConfig.tokensParsed
|
|
26
26
|
).join(', ')}`
|
|
27
27
|
)
|
|
28
28
|
}
|
|
@@ -51,9 +51,9 @@ size: {
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
// others must define subset of size tokens
|
|
54
|
-
const expected = Object.keys(
|
|
54
|
+
const expected = Object.keys(hanzoguiConfig.tokensParsed.size)
|
|
55
55
|
for (const name of ['radius', 'zIndex'] as const) {
|
|
56
|
-
const tokenSet =
|
|
56
|
+
const tokenSet = hanzoguiConfig.tokensParsed[name]
|
|
57
57
|
const received = Object.keys(tokenSet)
|
|
58
58
|
const hasSomeOverlap = received.some((rk) => expected.includes(rk))
|
|
59
59
|
if (!hasSomeOverlap) {
|
|
@@ -68,5 +68,5 @@ Expected a subset of: ${expected.join(', ')}
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
return
|
|
71
|
+
return hanzoguiConfig
|
|
72
72
|
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../tsconfig.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"composite": true
|
|
5
|
+
},
|
|
6
|
+
"exclude": [
|
|
7
|
+
"hanzogui.config.ts",
|
|
8
|
+
"test",
|
|
9
|
+
"dist",
|
|
10
|
+
"types",
|
|
11
|
+
"./linear-gradient",
|
|
12
|
+
"./native.d.ts",
|
|
13
|
+
"./native-test.d.ts",
|
|
14
|
+
"**/__tests__"
|
|
15
|
+
],
|
|
16
|
+
"references": [
|
|
17
|
+
{
|
|
18
|
+
"path": "../../core/compose-refs"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"path": "../../core/constants"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "../../core/core"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "../../core/create-context"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../core/font-size"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../core/get-button-sized"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../core/get-font-sized"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../core/get-token"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "../../core/component-helpers"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "../../core/react-native-media-driver"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "../../core/theme"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"path": "../../core/use-controllable-state"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"path": "../../core/use-debounce"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"path": "../../core/use-force-update"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"path": "../../core/use-window-dimensions"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"path": "../../element"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"path": "../accordion"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"path": "../adapt"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"path": "../alert-dialog"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"path": "../animate-presence"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"path": "../avatar"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"path": "../button"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"path": "../card"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"path": "../checkbox"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"path": "../dialog"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"path": "../elements"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"path": "../focusable"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"path": "../form"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"path": "../group"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"path": "../image"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"path": "../label"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"path": "../linear-gradient"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"path": "../list-item"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"path": "../popover"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"path": "../popper"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"path": "../portal"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"path": "../progress"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"path": "../radio-group"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"path": "../scroll-view"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"path": "../select"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"path": "../separator"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"path": "../shapes"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"path": "../sheet"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"path": "../slider"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"path": "../stacks"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"path": "../switch"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"path": "../tabs"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"path": "../text"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"path": "../toggle-group"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"path": "../tooltip"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"path": "../visually-hidden"
|
|
169
|
+
}
|
|
170
|
+
]
|
|
171
|
+
}
|
package/types/createGui.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createGui as createGuiCore } from '@hanzogui/core';
|
|
2
2
|
/**
|
|
3
|
-
* Adds some helpful validation at dev time only for `
|
|
3
|
+
* Adds some helpful validation at dev time only for `hanzogui` specifically
|
|
4
4
|
**/
|
|
5
5
|
export declare const createGui: typeof createGuiCore;
|
|
6
6
|
//# sourceMappingURL=createGui.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const EnsureFlexed: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").GuiTextElement, import("@hanzogui/core").
|
|
1
|
+
export declare const EnsureFlexed: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").GuiTextElement, import("@hanzogui/core").RNGuiTextNonStyleProps, import("@hanzogui/core").TextStylePropsBase, {}, import("@hanzogui/core").StaticConfigPublic>;
|
|
2
2
|
//# sourceMappingURL=EnsureFlexed.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnsureFlexed.d.ts","sourceRoot":"","sources":["../../src/views/EnsureFlexed.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"EnsureFlexed.d.ts","sourceRoot":"","sources":["../../src/views/EnsureFlexed.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,mQAQvB,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GetProps } from '@hanzogui/core';
|
|
2
|
-
export declare const Fieldset: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").GuiElement, import("@hanzogui/core").
|
|
2
|
+
export declare const Fieldset: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
3
3
|
elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
|
|
4
4
|
fullscreen?: boolean | undefined;
|
|
5
5
|
horizontal?: boolean | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { GuiProviderProps } from '@hanzogui/core';
|
|
2
|
-
export declare const GuiProvider: ({ children, ...props }: GuiProviderProps) => import("react").JSX.Element;
|
|
2
|
+
export declare const GuiProvider: ({ children, ...props }: GuiProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=GuiProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GuiProvider.d.ts","sourceRoot":"","sources":["../../src/views/GuiProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAKtD,eAAO,MAAM,WAAW,GAAI,wBAAwB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"GuiProvider.d.ts","sourceRoot":"","sources":["../../src/views/GuiProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAKtD,eAAO,MAAM,WAAW,GAAI,wBAAwB,gBAAgB,4CAQnE,CAAA"}
|
package/types/views/Text.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const Text: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").GuiTextElement, import("@hanzogui/core").
|
|
1
|
+
export declare const Text: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").GuiTextElement, import("@hanzogui/core").RNGuiTextNonStyleProps, import("@hanzogui/core").TextStylePropsBase, {
|
|
2
2
|
unstyled?: boolean | undefined;
|
|
3
3
|
}, import("@hanzogui/core").StaticConfigPublic>;
|
|
4
4
|
//# sourceMappingURL=Text.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const VisuallyHidden: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").GuiElement, import("@hanzogui/core").
|
|
1
|
+
export declare const VisuallyHidden: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").GuiElement, import("@hanzogui/core").RNGuiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
|
|
2
2
|
visible?: boolean | undefined;
|
|
3
3
|
preserveDimensions?: boolean | undefined;
|
|
4
4
|
}, import("@hanzogui/core").StaticConfigPublic>;
|
package/web/index.cjs
ADDED
package/web/index.js
ADDED
package/LICENSE
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
BSD 3-Clause License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026-present, Hanzo AI, Inc.
|
|
4
|
-
|
|
5
|
-
Portions of this software are derived from upstream code originally licensed under
|
|
6
|
-
the MIT License, with the following copyright notices retained per its terms:
|
|
7
|
-
|
|
8
|
-
Copyright (c) 2020 Nate Wienert
|
|
9
|
-
Copyright (c) 2015-present, Nicolas Gallagher.
|
|
10
|
-
Copyright (c) 2015-present, Facebook, Inc.
|
|
11
|
-
Copyright (c) 2021 Radix
|
|
12
|
-
Copyright (c) 2017 Carmelo Pullara
|
|
13
|
-
Copyright (c) 2018 Framer B.V.
|
|
14
|
-
Copyright (c) 2022 WorkOS
|
|
15
|
-
|
|
16
|
-
All rights reserved.
|
|
17
|
-
|
|
18
|
-
Redistribution and use in source and binary forms, with or without
|
|
19
|
-
modification, are permitted provided that the following conditions are met:
|
|
20
|
-
|
|
21
|
-
1. Redistributions of source code must retain the above copyright notice, this
|
|
22
|
-
list of conditions and the following disclaimer.
|
|
23
|
-
|
|
24
|
-
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
25
|
-
this list of conditions and the following disclaimer in the documentation
|
|
26
|
-
and/or other materials provided with the distribution.
|
|
27
|
-
|
|
28
|
-
3. Neither the name of the copyright holder nor the names of its contributors
|
|
29
|
-
may be used to endorse or promote products derived from this software
|
|
30
|
-
without specific prior written permission.
|
|
31
|
-
|
|
32
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
33
|
-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
34
|
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
35
|
-
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
36
|
-
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
37
|
-
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
38
|
-
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
39
|
-
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
40
|
-
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
41
|
-
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
42
|
-
POSSIBILITY OF SUCH DAMAGE.
|