@hanzo/gui 7.0.0 → 7.3.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.
Files changed (177) hide show
  1. package/LICENSE +40 -19
  2. package/dist/cjs/createGui.cjs +80 -0
  3. package/dist/cjs/createGui.native.js +89 -0
  4. package/dist/cjs/createGui.native.js.map +1 -0
  5. package/dist/cjs/index.cjs +148 -0
  6. package/dist/cjs/index.native.js +151 -0
  7. package/dist/cjs/index.native.js.map +1 -0
  8. package/dist/cjs/linear-gradient.cjs +28 -0
  9. package/dist/cjs/linear-gradient.native.js +31 -0
  10. package/dist/cjs/linear-gradient.native.js.map +1 -0
  11. package/dist/cjs/setup.cjs +30 -0
  12. package/dist/cjs/setup.native.js +35 -0
  13. package/dist/cjs/setup.native.js.map +1 -0
  14. package/dist/cjs/viewTypes.cjs +18 -0
  15. package/dist/cjs/viewTypes.native.js +21 -0
  16. package/dist/cjs/viewTypes.native.js.map +1 -0
  17. package/dist/cjs/views/Anchor.cjs +60 -0
  18. package/dist/cjs/views/Anchor.native.js +65 -0
  19. package/dist/cjs/views/Anchor.native.js.map +1 -0
  20. package/dist/cjs/views/EnsureFlexed.cjs +38 -0
  21. package/dist/cjs/views/EnsureFlexed.native.js +41 -0
  22. package/dist/cjs/views/EnsureFlexed.native.js.map +1 -0
  23. package/dist/cjs/views/Fieldset.cjs +43 -0
  24. package/dist/cjs/views/Fieldset.native.js +46 -0
  25. package/dist/cjs/views/Fieldset.native.js.map +1 -0
  26. package/dist/cjs/views/GuiProvider.cjs +46 -0
  27. package/dist/cjs/views/GuiProvider.native.js +50 -0
  28. package/dist/cjs/views/GuiProvider.native.js.map +1 -0
  29. package/dist/cjs/views/Text.cjs +40 -0
  30. package/dist/cjs/views/Text.native.js +43 -0
  31. package/dist/cjs/views/Text.native.js.map +1 -0
  32. package/dist/cjs/views/VisuallyHidden.cjs +60 -0
  33. package/dist/cjs/views/VisuallyHidden.native.js +63 -0
  34. package/dist/cjs/views/VisuallyHidden.native.js.map +1 -0
  35. package/dist/esm/createGui.mjs +55 -0
  36. package/dist/esm/createGui.mjs.map +1 -0
  37. package/dist/esm/createGui.native.js +61 -0
  38. package/dist/esm/createGui.native.js.map +1 -0
  39. package/dist/esm/index.js +63 -0
  40. package/dist/esm/index.js.map +1 -0
  41. package/dist/esm/index.mjs +63 -0
  42. package/dist/esm/index.mjs.map +1 -0
  43. package/dist/esm/index.native.js +63 -0
  44. package/dist/esm/index.native.js.map +1 -0
  45. package/dist/esm/linear-gradient.mjs +3 -0
  46. package/dist/esm/linear-gradient.mjs.map +1 -0
  47. package/dist/esm/linear-gradient.native.js +3 -0
  48. package/dist/esm/linear-gradient.native.js.map +1 -0
  49. package/dist/esm/setup.mjs +6 -0
  50. package/dist/esm/setup.mjs.map +1 -0
  51. package/dist/esm/setup.native.js +8 -0
  52. package/dist/esm/setup.native.js.map +1 -0
  53. package/dist/esm/viewTypes.mjs +2 -0
  54. package/dist/esm/viewTypes.mjs.map +1 -0
  55. package/dist/esm/viewTypes.native.js +2 -0
  56. package/dist/esm/viewTypes.native.js.map +1 -0
  57. package/dist/esm/views/Anchor.mjs +35 -0
  58. package/dist/esm/views/Anchor.mjs.map +1 -0
  59. package/dist/esm/views/Anchor.native.js +37 -0
  60. package/dist/esm/views/Anchor.native.js.map +1 -0
  61. package/dist/esm/views/EnsureFlexed.mjs +13 -0
  62. package/dist/esm/views/EnsureFlexed.mjs.map +1 -0
  63. package/dist/esm/views/EnsureFlexed.native.js +13 -0
  64. package/dist/esm/views/EnsureFlexed.native.js.map +1 -0
  65. package/dist/esm/views/Fieldset.mjs +18 -0
  66. package/dist/esm/views/Fieldset.mjs.map +1 -0
  67. package/dist/esm/views/Fieldset.native.js +18 -0
  68. package/dist/esm/views/Fieldset.native.js.map +1 -0
  69. package/dist/esm/views/GuiProvider.mjs +21 -0
  70. package/dist/esm/views/GuiProvider.mjs.map +1 -0
  71. package/dist/esm/views/GuiProvider.native.js +22 -0
  72. package/dist/esm/views/GuiProvider.native.js.map +1 -0
  73. package/dist/esm/views/Text.mjs +15 -0
  74. package/dist/esm/views/Text.mjs.map +1 -0
  75. package/dist/esm/views/Text.native.js +15 -0
  76. package/dist/esm/views/Text.native.js.map +1 -0
  77. package/dist/esm/views/VisuallyHidden.mjs +35 -0
  78. package/dist/esm/views/VisuallyHidden.mjs.map +1 -0
  79. package/dist/esm/views/VisuallyHidden.native.js +35 -0
  80. package/dist/esm/views/VisuallyHidden.native.js.map +1 -0
  81. package/dist/jsx/createGui.mjs +55 -0
  82. package/dist/jsx/createGui.mjs.map +1 -0
  83. package/dist/jsx/createGui.native.js +89 -0
  84. package/dist/jsx/createGui.native.js.map +1 -0
  85. package/dist/jsx/index.js +63 -0
  86. package/dist/jsx/index.js.map +1 -0
  87. package/dist/jsx/index.mjs +63 -0
  88. package/dist/jsx/index.mjs.map +1 -0
  89. package/dist/jsx/index.native.js +151 -0
  90. package/dist/jsx/index.native.js.map +1 -0
  91. package/dist/jsx/linear-gradient.mjs +3 -0
  92. package/dist/jsx/linear-gradient.mjs.map +1 -0
  93. package/dist/jsx/linear-gradient.native.js +31 -0
  94. package/dist/jsx/linear-gradient.native.js.map +1 -0
  95. package/dist/jsx/setup.mjs +6 -0
  96. package/dist/jsx/setup.mjs.map +1 -0
  97. package/dist/jsx/setup.native.js +35 -0
  98. package/dist/jsx/setup.native.js.map +1 -0
  99. package/dist/jsx/viewTypes.mjs +2 -0
  100. package/dist/jsx/viewTypes.mjs.map +1 -0
  101. package/dist/jsx/viewTypes.native.js +21 -0
  102. package/dist/jsx/viewTypes.native.js.map +1 -0
  103. package/dist/jsx/views/Anchor.mjs +35 -0
  104. package/dist/jsx/views/Anchor.mjs.map +1 -0
  105. package/dist/jsx/views/Anchor.native.js +65 -0
  106. package/dist/jsx/views/Anchor.native.js.map +1 -0
  107. package/dist/jsx/views/EnsureFlexed.mjs +13 -0
  108. package/dist/jsx/views/EnsureFlexed.mjs.map +1 -0
  109. package/dist/jsx/views/EnsureFlexed.native.js +41 -0
  110. package/dist/jsx/views/EnsureFlexed.native.js.map +1 -0
  111. package/dist/jsx/views/Fieldset.mjs +18 -0
  112. package/dist/jsx/views/Fieldset.mjs.map +1 -0
  113. package/dist/jsx/views/Fieldset.native.js +46 -0
  114. package/dist/jsx/views/Fieldset.native.js.map +1 -0
  115. package/dist/jsx/views/GuiProvider.mjs +21 -0
  116. package/dist/jsx/views/GuiProvider.mjs.map +1 -0
  117. package/dist/jsx/views/GuiProvider.native.js +50 -0
  118. package/dist/jsx/views/GuiProvider.native.js.map +1 -0
  119. package/dist/jsx/views/Text.mjs +15 -0
  120. package/dist/jsx/views/Text.mjs.map +1 -0
  121. package/dist/jsx/views/Text.native.js +43 -0
  122. package/dist/jsx/views/Text.native.js.map +1 -0
  123. package/dist/jsx/views/VisuallyHidden.mjs +35 -0
  124. package/dist/jsx/views/VisuallyHidden.mjs.map +1 -0
  125. package/dist/jsx/views/VisuallyHidden.native.js +63 -0
  126. package/dist/jsx/views/VisuallyHidden.native.js.map +1 -0
  127. package/dist/native.cjs +32528 -0
  128. package/dist/test.cjs +32594 -0
  129. package/package.json +82 -84
  130. package/src/{createHanzogui.ts → createGui.ts} +13 -13
  131. package/src/index.ts +17 -17
  132. package/src/views/{HanzoguiProvider.tsx → GuiProvider.tsx} +3 -3
  133. package/src/views/Text.tsx +3 -3
  134. package/types/createGui.d.ts +6 -0
  135. package/types/createGui.d.ts.map +1 -0
  136. package/types/index.d.ts +4 -4
  137. package/types/index.d.ts.map +1 -0
  138. package/types/linear-gradient.d.ts.map +1 -0
  139. package/types/setup.d.ts.map +1 -0
  140. package/types/viewTypes.d.ts.map +1 -0
  141. package/types/views/Anchor.d.ts +2 -2
  142. package/types/views/Anchor.d.ts.map +1 -0
  143. package/types/views/EnsureFlexed.d.ts +1 -1
  144. package/types/views/EnsureFlexed.d.ts.map +1 -0
  145. package/types/views/Fieldset.d.ts +1 -1
  146. package/types/views/Fieldset.d.ts.map +1 -0
  147. package/types/views/GuiProvider.d.ts +3 -0
  148. package/types/views/GuiProvider.d.ts.map +1 -0
  149. package/types/views/Text.d.ts +1 -1
  150. package/types/views/Text.d.ts.map +1 -0
  151. package/types/views/VisuallyHidden.d.ts +1 -1
  152. package/types/views/VisuallyHidden.d.ts.map +1 -0
  153. package/hanzogui.config.ts +0 -4
  154. package/linear-gradient/index.cjs +0 -2
  155. package/linear-gradient/index.d.ts +0 -1
  156. package/linear-gradient/index.js +0 -2
  157. package/linear-gradient/index.native.cjs +0 -2
  158. package/linear-gradient/index.native.js +0 -2
  159. package/native/index.cjs +0 -2
  160. package/native/index.js +0 -2
  161. package/native-test/index.cjs +0 -2
  162. package/native-test/index.js +0 -2
  163. package/native-test/index.native.cjs +0 -2
  164. package/native-test/index.native.js +0 -2
  165. package/native-test.d.ts +0 -1
  166. package/native.d.ts +0 -1
  167. package/react-native-web/index.cjs +0 -2
  168. package/react-native-web/index.js +0 -2
  169. package/react-native-web/index.native.cjs +0 -2
  170. package/react-native-web/index.native.js +0 -2
  171. package/tsconfig.json +0 -171
  172. package/types/createHanzogui.d.ts +0 -6
  173. package/types/views/HanzoguiProvider.d.ts +0 -3
  174. package/web/index.cjs +0 -2
  175. package/web/index.js +0 -2
  176. package/web/index.native.cjs +0 -2
  177. package/web/index.native.js +0 -2
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@hanzo/gui",
3
- "version": "7.0.0",
3
+ "version": "7.3.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
8
  "url": "https://github.com/hanzoai/gui.git",
9
- "directory": "code/ui/hanzogui"
9
+ "directory": "pkgs/ui/hanzogui"
10
10
  },
11
11
  "source": "src/index.ts",
12
12
  "type": "module",
@@ -27,15 +27,6 @@
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
- },
39
30
  "./web": {
40
31
  "types": "./types/index.d.ts",
41
32
  "react-native": "./dist/esm/index.native.js",
@@ -53,7 +44,6 @@
53
44
  },
54
45
  "./native-test": {
55
46
  "types": "./types/index.d.ts",
56
- "react-native": "./dist/test.native.js",
57
47
  "require": "./dist/test.cjs",
58
48
  "default": "./dist/test.cjs"
59
49
  },
@@ -68,81 +58,81 @@
68
58
  }
69
59
  },
70
60
  "scripts": {
71
- "build": "hanzogui-build",
61
+ "build": "gui-build",
72
62
  "afterBuild": "node bundle-native.mjs",
73
- "watch": "hanzogui-build --watch",
74
- "clean": "hanzogui-build clean",
75
- "clean:build": "hanzogui-build clean:build",
63
+ "watch": "gui-build --watch",
64
+ "clean": "gui-build clean",
65
+ "clean:build": "gui-build clean:build",
76
66
  "check": "bun run check-circular-deps",
77
67
  "check-circular-deps": "npx madge --circular ./src/index.ts"
78
68
  },
79
69
  "dependencies": {
80
- "@hanzogui/accordion": "^7.0.0",
81
- "@hanzogui/adapt": "^7.0.0",
82
- "@hanzogui/alert-dialog": "^7.0.0",
83
- "@hanzogui/animate": "^7.0.0",
84
- "@hanzogui/animate-presence": "^7.0.0",
85
- "@hanzogui/avatar": "^7.0.0",
86
- "@hanzogui/button": "^7.0.0",
87
- "@hanzogui/card": "^7.0.0",
88
- "@hanzogui/checkbox": "^7.0.0",
89
- "@hanzogui/collapsible": "^7.0.0",
90
- "@hanzogui/compose-refs": "^7.0.0",
91
- "@hanzogui/constants": "^7.0.0",
92
- "@hanzogui/context-menu": "^7.0.0",
93
- "@hanzogui/core": "^7.0.0",
94
- "@hanzogui/create-context": "^7.0.0",
95
- "@hanzogui/create-menu": "^7.0.0",
96
- "@hanzogui/dialog": "^7.0.0",
97
- "@hanzogui/element": "^7.0.0",
98
- "@hanzogui/elements": "^7.0.0",
99
- "@hanzogui/fake-react-native": "^7.0.0",
100
- "@hanzogui/focusable": "^7.0.0",
101
- "@hanzogui/form": "^7.0.0",
102
- "@hanzogui/get-button-sized": "^7.0.0",
103
- "@hanzogui/get-font-sized": "^7.0.0",
104
- "@hanzogui/get-token": "^7.0.0",
105
- "@hanzogui/group": "^7.0.0",
106
- "@hanzogui/component-helpers": "^7.0.0",
107
- "@hanzogui/image": "^7.0.0",
108
- "@hanzogui/input": "^7.0.0",
109
- "@hanzogui/label": "^7.0.0",
110
- "@hanzogui/linear-gradient": "^7.0.0",
111
- "@hanzogui/list-item": "^7.0.0",
112
- "@hanzogui/menu": "^7.0.0",
113
- "@hanzogui/polyfill-dev": "^7.0.0",
114
- "@hanzogui/popover": "^7.0.0",
115
- "@hanzogui/popper": "^7.0.0",
116
- "@hanzogui/portal": "^7.0.0",
117
- "@hanzogui/progress": "^7.0.0",
118
- "@hanzogui/radio-group": "^7.0.0",
119
- "@hanzogui/react-native-media-driver": "^7.0.0",
120
- "@hanzogui/scroll-view": "^7.0.0",
121
- "@hanzogui/select": "^7.0.0",
122
- "@hanzogui/separator": "^7.0.0",
123
- "@hanzogui/shapes": "^7.0.0",
124
- "@hanzogui/sheet": "^7.0.0",
125
- "@hanzogui/slider": "^7.0.0",
126
- "@hanzogui/spacer": "^7.0.0",
127
- "@hanzogui/spinner": "^7.0.0",
128
- "@hanzogui/stacks": "^7.0.0",
129
- "@hanzogui/switch": "^7.0.0",
130
- "@hanzogui/tabs": "^7.0.0",
131
- "@hanzogui/text": "^7.0.0",
132
- "@hanzogui/theme": "^7.0.0",
133
- "@hanzogui/toast": "^7.0.0",
134
- "@hanzogui/toggle-group": "^7.0.0",
135
- "@hanzogui/tooltip": "^7.0.0",
136
- "@hanzogui/use-controllable-state": "^7.0.0",
137
- "@hanzogui/use-debounce": "^7.0.0",
138
- "@hanzogui/use-force-update": "^7.0.0",
139
- "@hanzogui/use-window-dimensions": "^7.0.0",
140
- "@hanzogui/visually-hidden": "^7.0.0",
141
- "@hanzogui/font-size": "^7.0.0",
142
- "@hanzogui/z-index-stack": "^7.0.0"
70
+ "@hanzogui/accordion": "7.3.0",
71
+ "@hanzogui/adapt": "7.3.0",
72
+ "@hanzogui/alert-dialog": "7.3.0",
73
+ "@hanzogui/animate": "7.3.0",
74
+ "@hanzogui/animate-presence": "7.3.0",
75
+ "@hanzogui/avatar": "7.3.0",
76
+ "@hanzogui/button": "7.3.0",
77
+ "@hanzogui/card": "7.3.0",
78
+ "@hanzogui/checkbox": "7.3.0",
79
+ "@hanzogui/collapsible": "7.3.0",
80
+ "@hanzogui/compose-refs": "7.3.0",
81
+ "@hanzogui/constants": "7.3.0",
82
+ "@hanzogui/context-menu": "7.3.0",
83
+ "@hanzogui/core": "7.3.0",
84
+ "@hanzogui/create-context": "7.3.0",
85
+ "@hanzogui/create-menu": "7.3.0",
86
+ "@hanzogui/dialog": "7.3.0",
87
+ "@hanzogui/element": "7.3.0",
88
+ "@hanzogui/elements": "7.3.0",
89
+ "@hanzogui/fake-react-native": "7.3.0",
90
+ "@hanzogui/focusable": "7.3.0",
91
+ "@hanzogui/form": "7.3.0",
92
+ "@hanzogui/get-button-sized": "7.3.0",
93
+ "@hanzogui/get-font-sized": "7.3.0",
94
+ "@hanzogui/get-token": "7.3.0",
95
+ "@hanzogui/group": "7.3.0",
96
+ "@hanzogui/component-helpers": "7.3.0",
97
+ "@hanzogui/image": "7.3.0",
98
+ "@hanzogui/input": "7.3.0",
99
+ "@hanzogui/label": "7.3.0",
100
+ "@hanzogui/linear-gradient": "7.3.0",
101
+ "@hanzogui/list-item": "7.3.0",
102
+ "@hanzogui/menu": "7.3.0",
103
+ "@hanzogui/polyfill-dev": "7.3.0",
104
+ "@hanzogui/popover": "7.3.0",
105
+ "@hanzogui/popper": "7.3.0",
106
+ "@hanzogui/portal": "7.3.0",
107
+ "@hanzogui/progress": "7.3.0",
108
+ "@hanzogui/radio-group": "7.3.0",
109
+ "@hanzogui/react-native-media-driver": "7.3.0",
110
+ "@hanzogui/scroll-view": "7.3.0",
111
+ "@hanzogui/select": "7.3.0",
112
+ "@hanzogui/separator": "7.3.0",
113
+ "@hanzogui/shapes": "7.3.0",
114
+ "@hanzogui/sheet": "7.3.0",
115
+ "@hanzogui/slider": "7.3.0",
116
+ "@hanzogui/spacer": "7.3.0",
117
+ "@hanzogui/spinner": "7.3.0",
118
+ "@hanzogui/stacks": "7.3.0",
119
+ "@hanzogui/switch": "7.3.0",
120
+ "@hanzogui/tabs": "7.3.0",
121
+ "@hanzogui/text": "7.3.0",
122
+ "@hanzogui/theme": "7.3.0",
123
+ "@hanzogui/toast": "7.3.0",
124
+ "@hanzogui/toggle-group": "7.3.0",
125
+ "@hanzogui/tooltip": "7.3.0",
126
+ "@hanzogui/use-controllable-state": "7.3.0",
127
+ "@hanzogui/use-debounce": "7.3.0",
128
+ "@hanzogui/use-force-update": "7.3.0",
129
+ "@hanzogui/use-window-dimensions": "7.3.0",
130
+ "@hanzogui/visually-hidden": "7.3.0",
131
+ "@hanzogui/font-size": "7.3.0",
132
+ "@hanzogui/z-index-stack": "7.3.0"
143
133
  },
144
134
  "devDependencies": {
145
- "@hanzogui/build": "^7.0.0",
135
+ "@hanzogui/build": "7.3.0",
146
136
  "react": ">=19",
147
137
  "react-native": "0.83.2",
148
138
  "react-native-web": "^0.21.0"
@@ -156,7 +146,15 @@
156
146
  ],
157
147
  "module:jsx": "dist/jsx",
158
148
  "removeSideEffects": true,
159
- "publishConfig": {
160
- "access": "public"
161
- }
162
- }
149
+ "files": [
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
+ }
@@ -1,12 +1,12 @@
1
- import { createHanzogui as createHanzoguiCore } from '@hanzogui/core'
1
+ import { createGui as createGuiCore } from '@hanzogui/core'
2
2
 
3
3
  /**
4
- * Adds some helpful validation at dev time only for `hanzogui` specifically
4
+ * Adds some helpful validation at dev time only for `gui` specifically
5
5
  **/
6
6
 
7
- export const createHanzogui: typeof createHanzoguiCore =
7
+ export const createGui: typeof createGuiCore =
8
8
  process.env.NODE_ENV !== 'development'
9
- ? createHanzoguiCore
9
+ ? createGuiCore
10
10
  : (conf) => {
11
11
  const sizeTokenKeys = ['$true']
12
12
 
@@ -14,27 +14,27 @@ export const createHanzogui: typeof createHanzoguiCore =
14
14
  return expectedKeys.every((k) => typeof obj[k] !== 'undefined')
15
15
  }
16
16
 
17
- const hanzoguiConfig = createHanzoguiCore(conf)
17
+ const guiConfig = 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 = hanzoguiConfig.tokensParsed[name]
21
+ const tokenSet = guiConfig.tokensParsed[name]
22
22
  if (!tokenSet) {
23
23
  throw new Error(
24
24
  `Expected tokens for "${name}" in ${Object.keys(
25
- hanzoguiConfig.tokensParsed
25
+ guiConfig.tokensParsed
26
26
  ).join(', ')}`
27
27
  )
28
28
  }
29
29
  if (!hasKeys(sizeTokenKeys, tokenSet)) {
30
30
  throw new Error(`
31
- createHanzogui() missing expected tokens.${name}:
31
+ createGui() missing expected tokens.${name}:
32
32
 
33
33
  Received: ${Object.keys(tokenSet).join(', ')}
34
34
 
35
35
  Expected: ${sizeTokenKeys.join(', ')}
36
36
 
37
- Hanzogui expects a "true" key that is the same value as your default size. This is so
37
+ Gui expects a "true" key that is the same value as your default size. This is so
38
38
  it can size things up or down from the defaults without assuming which keys you use.
39
39
 
40
40
  Please define a "true" or "$true" key on your size and space tokens like so (example):
@@ -51,14 +51,14 @@ size: {
51
51
  }
52
52
 
53
53
  // others must define subset of size tokens
54
- const expected = Object.keys(hanzoguiConfig.tokensParsed.size)
54
+ const expected = Object.keys(guiConfig.tokensParsed.size)
55
55
  for (const name of ['radius', 'zIndex'] as const) {
56
- const tokenSet = hanzoguiConfig.tokensParsed[name]
56
+ const tokenSet = guiConfig.tokensParsed[name]
57
57
  const received = Object.keys(tokenSet)
58
58
  const hasSomeOverlap = received.some((rk) => expected.includes(rk))
59
59
  if (!hasSomeOverlap) {
60
60
  throw new Error(`
61
- createHanzogui() invalid tokens.${name}:
61
+ createGui() invalid tokens.${name}:
62
62
 
63
63
  Received: ${received.join(', ')}
64
64
 
@@ -68,5 +68,5 @@ Expected a subset of: ${expected.join(', ')}
68
68
  }
69
69
  }
70
70
 
71
- return hanzoguiConfig
71
+ return guiConfig
72
72
  }
package/src/index.ts CHANGED
@@ -52,10 +52,10 @@ export * from '@hanzogui/element'
52
52
  export * from '@hanzogui/use-window-dimensions'
53
53
  export * from '@hanzogui/visually-hidden'
54
54
 
55
- export * from './createHanzogui'
55
+ export * from './createGui'
56
56
 
57
57
  export * from './viewTypes'
58
- export * from './views/HanzoguiProvider'
58
+ export * from './views/GuiProvider'
59
59
 
60
60
  export * from './views/Anchor'
61
61
  export * from './views/EnsureFlexed'
@@ -70,8 +70,8 @@ export type {
70
70
  TransitionKeys,
71
71
  TransitionProp,
72
72
  ColorTokens,
73
- CreateHanzoguiConfig,
74
- CreateHanzoguiProps,
73
+ CreateGuiConfig,
74
+ CreateGuiProps,
75
75
  FontColorTokens,
76
76
  FontLanguages,
77
77
  FontLetterSpacingTokens,
@@ -84,7 +84,7 @@ export type {
84
84
  FontWeightTokens,
85
85
  GenericFont,
86
86
  GenericStackVariants,
87
- GenericHanzoguiConfig,
87
+ GenericGuiConfig,
88
88
  GenericTextVariants,
89
89
  GetAnimationKeys,
90
90
  GetProps,
@@ -105,16 +105,16 @@ export type {
105
105
  ViewProps,
106
106
  StaticConfig,
107
107
  Styleable,
108
- HanzoguiBaseTheme,
109
- HanzoguiBuildOptions,
110
- HanzoguiComponent,
111
- HanzoguiConfig,
112
- HanzoguiCustomConfig,
113
- HanzoguiElement,
114
- HanzoguiInternalConfig,
115
- HanzoguiProviderProps,
116
- HanzoguiSettings,
117
- HanzoguiTextElement,
108
+ GuiBaseTheme,
109
+ GuiBuildOptions,
110
+ GuiComponent,
111
+ GuiConfig,
112
+ GuiCustomConfig,
113
+ GuiElement,
114
+ GuiInternalConfig,
115
+ GuiProviderProps,
116
+ GuiSettings,
117
+ GuiTextElement,
118
118
  TextNonStyleProps,
119
119
  TextProps,
120
120
  ThemeKeys,
@@ -169,8 +169,8 @@ export {
169
169
  isChrome,
170
170
  isClient,
171
171
  isServer,
172
- isHanzoguiComponent,
173
- isHanzoguiElement,
172
+ isGuiComponent,
173
+ isGuiElement,
174
174
  isTouchable,
175
175
  isVariable,
176
176
  isWeb,
@@ -1,9 +1,9 @@
1
- import type { HanzoguiProviderProps } from '@hanzogui/core'
2
- import { HanzoguiProvider as OGProvider } from '@hanzogui/core'
1
+ import type { GuiProviderProps } from '@hanzogui/core'
2
+ import { GuiProvider as OGProvider } from '@hanzogui/core'
3
3
  import { PortalProvider } from '@hanzogui/portal'
4
4
  import { ZIndexStackContext } from '@hanzogui/z-index-stack'
5
5
 
6
- export const HanzoguiProvider = ({ children, ...props }: HanzoguiProviderProps) => {
6
+ export const GuiProvider = ({ children, ...props }: GuiProviderProps) => {
7
7
  return (
8
8
  <OGProvider {...props}>
9
9
  <ZIndexStackContext.Provider value={1}>
@@ -1,6 +1,6 @@
1
- import { Text as HanzoguiText, styled } from '@hanzogui/core'
1
+ import { Text as GuiText, styled } from '@hanzogui/core'
2
2
 
3
- export const Text = styled(HanzoguiText, {
3
+ export const Text = styled(GuiText, {
4
4
  variants: {
5
5
  unstyled: {
6
6
  false: {
@@ -10,6 +10,6 @@ export const Text = styled(HanzoguiText, {
10
10
  } as const,
11
11
 
12
12
  defaultVariants: {
13
- unstyled: process.env.HANZOGUI_HEADLESS === '1',
13
+ unstyled: process.env.GUI_HEADLESS === '1',
14
14
  },
15
15
  })
@@ -0,0 +1,6 @@
1
+ import { createGui as createGuiCore } from '@hanzogui/core';
2
+ /**
3
+ * Adds some helpful validation at dev time only for `gui` specifically
4
+ **/
5
+ export declare const createGui: typeof createGuiCore;
6
+ //# sourceMappingURL=createGui.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createGui.d.ts","sourceRoot":"","sources":["../src/createGui.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAE3D;;IAEI;AAEJ,eAAO,MAAM,SAAS,EAAE,OAAO,aAiExB,CAAA"}
package/types/index.d.ts CHANGED
@@ -50,15 +50,15 @@ export * from '@hanzogui/use-force-update';
50
50
  export * from '@hanzogui/element';
51
51
  export * from '@hanzogui/use-window-dimensions';
52
52
  export * from '@hanzogui/visually-hidden';
53
- export * from './createHanzogui';
53
+ export * from './createGui';
54
54
  export * from './viewTypes';
55
- export * from './views/HanzoguiProvider';
55
+ export * from './views/GuiProvider';
56
56
  export * from './views/Anchor';
57
57
  export * from './views/EnsureFlexed';
58
58
  export * from './views/Fieldset';
59
59
  export * from '@hanzogui/input';
60
60
  export * from '@hanzogui/spinner';
61
61
  export * from './views/Text';
62
- export type { TransitionKeys, TransitionProp, ColorTokens, CreateHanzoguiConfig, CreateHanzoguiProps, FontColorTokens, FontLanguages, FontLetterSpacingTokens, FontLineHeightTokens, FontFamilyTokens, FontSizeTokens, FontStyleTokens, FontTokens, FontTransformTokens, FontWeightTokens, GenericFont, GenericStackVariants, GenericHanzoguiConfig, GenericTextVariants, GetAnimationKeys, GetProps, GetRef, GetThemeValueForKey, GroupNames, Longhands, Media, MediaPropKeys, MediaQueries, MediaQueryState, RadiusTokens, Shorthands, SizeTokens, SpaceTokens, SpecificTokens, StackNonStyleProps, ViewProps, StaticConfig, Styleable, HanzoguiBaseTheme, HanzoguiBuildOptions, HanzoguiComponent, HanzoguiConfig, HanzoguiCustomConfig, HanzoguiElement, HanzoguiInternalConfig, HanzoguiProviderProps, HanzoguiSettings, HanzoguiTextElement, TextNonStyleProps, TextProps, ThemeKeys, ThemeName, ThemeParsed, ThemeProps, Themes, ThemeTokens, ThemeValueFallback, Token, Tokens, TypeOverride, Variable, VariantSpreadExtras, VariantSpreadFunction, ZIndexTokens, ViewStyle, TextStyle, } from '@hanzogui/core';
63
- export { ClientOnly, Configuration, ComponentContext, GroupContext, FontLanguage, Theme, View, createComponent, createFont, createShorthands, createStyledContext, createTokens, createVariable, getConfig, getMedia, getCSSStylesAtomic, getThemes, getToken, getTokenValue, getTokens, getVariable, getVariableName, getVariableValue, insertFont, setConfig, setupDev, _withStableStyle, isBrowser, isChrome, isClient, isServer, isHanzoguiComponent, isHanzoguiElement, isTouchable, isVariable, isWeb, isWebTouchable, matchMedia, mediaObjectToString, mediaQueryConfig, mediaState, setOnLayoutStrategy, styled, themeable, useClientValue, useDidFinishSSR, useEvent, useGet, useIsTouchDevice, useIsomorphicLayoutEffect, useMedia, useProps, usePropsAndStyle, useStyle, useConfiguration, useTheme, useThemeName, variableToString, withStaticProperties, } from '@hanzogui/core';
62
+ export type { TransitionKeys, TransitionProp, ColorTokens, CreateGuiConfig, CreateGuiProps, FontColorTokens, FontLanguages, FontLetterSpacingTokens, FontLineHeightTokens, FontFamilyTokens, FontSizeTokens, FontStyleTokens, FontTokens, FontTransformTokens, FontWeightTokens, GenericFont, GenericStackVariants, GenericGuiConfig, GenericTextVariants, GetAnimationKeys, GetProps, GetRef, GetThemeValueForKey, GroupNames, Longhands, Media, MediaPropKeys, MediaQueries, MediaQueryState, RadiusTokens, Shorthands, SizeTokens, SpaceTokens, SpecificTokens, StackNonStyleProps, ViewProps, StaticConfig, Styleable, GuiBaseTheme, GuiBuildOptions, GuiComponent, GuiConfig, GuiCustomConfig, GuiElement, GuiInternalConfig, GuiProviderProps, GuiSettings, GuiTextElement, TextNonStyleProps, TextProps, ThemeKeys, ThemeName, ThemeParsed, ThemeProps, Themes, ThemeTokens, ThemeValueFallback, Token, Tokens, TypeOverride, Variable, VariantSpreadExtras, VariantSpreadFunction, ZIndexTokens, ViewStyle, TextStyle, } from '@hanzogui/core';
63
+ export { ClientOnly, Configuration, ComponentContext, GroupContext, FontLanguage, Theme, View, createComponent, createFont, createShorthands, createStyledContext, createTokens, createVariable, getConfig, getMedia, getCSSStylesAtomic, getThemes, getToken, getTokenValue, getTokens, getVariable, getVariableName, getVariableValue, insertFont, setConfig, setupDev, _withStableStyle, isBrowser, isChrome, isClient, isServer, isGuiComponent, isGuiElement, isTouchable, isVariable, isWeb, isWebTouchable, matchMedia, mediaObjectToString, mediaQueryConfig, mediaState, setOnLayoutStrategy, styled, themeable, useClientValue, useDidFinishSSR, useEvent, useGet, useIsTouchDevice, useIsomorphicLayoutEffect, useMedia, useProps, usePropsAndStyle, useStyle, useConfiguration, useTheme, useThemeName, variableToString, withStaticProperties, } from '@hanzogui/core';
64
64
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,CAAA;AAEhB,cAAc,kBAAkB,CAAA;AAChC,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,0BAA0B,CAAA;AACxC,cAAc,kBAAkB,CAAA;AAChC,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,qCAAqC,CAAA;AACnD,cAAc,oBAAoB,CAAA;AAClC,cAAc,6BAA6B,CAAA;AAC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,EACR,MAAM,EACN,gBAAgB,EAChB,yBAAyB,EACzB,QAAQ,EACR,QAAQ,EACR,gBAAgB,EAChB,QAAQ,EACR,gBAAgB,EAChB,QAAQ,EACR,YAAY,EACZ,gBAAgB,EAChB,oBAAoB,GACrB,MAAM,gBAAgB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linear-gradient.d.ts","sourceRoot":"","sources":["../src/linear-gradient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,2BAA2B,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../src/setup.ts"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"viewTypes.d.ts","sourceRoot":"","sources":["../src/viewTypes.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAExD,MAAM,MAAM,uBAAuB,GAAG;IACpC,CAAC,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAA;IACtB,CAAC,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAA;IAEvB,CAAC,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;IACxB,EAAE,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC,CAAA;IAC5B,EAAE,CAAC,EAAE,SAAS,CAAC,eAAe,CAAC,CAAA;IAC/B,EAAE,CAAC,EAAE,SAAS,CAAC,aAAa,CAAC,CAAA;IAC7B,EAAE,CAAC,EAAE,SAAS,CAAC,cAAc,CAAC,CAAA;IAC9B,EAAE,CAAC,EAAE,SAAS,CAAC,mBAAmB,CAAC,CAAA;IACnC,EAAE,CAAC,EAAE,SAAS,CAAC,iBAAiB,CAAC,CAAA;IACjC,CAAC,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAA;IACvB,EAAE,CAAC,E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AAE,UAAU,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,CAAA;IAC9C,EAAE,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,uBAAuB,GAAG,uBAAuB,GAAG;IAC9D,EAAE,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAA;IAC3B,EAAE,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAA;IAC1B,EAAE,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC,CAAA;CAC7B,CAAA"}
@@ -5,10 +5,10 @@ export interface AnchorExtraProps {
5
5
  rel?: string;
6
6
  }
7
7
  export type AnchorProps = SizableTextProps & AnchorExtraProps;
8
- export declare const Anchor: import("@hanzogui/core").HanzoguiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").TextNonStyleProps, import("@hanzogui/core").TextStylePropsBase, {
8
+ export declare const Anchor: import("@hanzogui/core").GuiComponent<Omit<import("@hanzogui/core").GetFinalProps<import("@hanzogui/core").TextNonStyleProps, import("@hanzogui/core").TextStylePropsBase, {
9
9
  unstyled?: boolean | undefined;
10
10
  size?: import("@hanzogui/core").FontSizeTokens | undefined;
11
- }>, keyof AnchorExtraProps> & AnchorExtraProps, import("@hanzogui/core").HanzoguiTextElement, import("@hanzogui/core").TextNonStyleProps & AnchorExtraProps, import("@hanzogui/core").TextStylePropsBase, {
11
+ }>, keyof AnchorExtraProps> & AnchorExtraProps, import("@hanzogui/core").GuiTextElement, import("@hanzogui/core").TextNonStyleProps & AnchorExtraProps, import("@hanzogui/core").TextStylePropsBase, {
12
12
  unstyled?: boolean | undefined;
13
13
  size?: import("@hanzogui/core").FontSizeTokens | undefined;
14
14
  }, import("@hanzogui/core").StaticConfigPublic>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Anchor.d.ts","sourceRoot":"","sources":["../../src/views/Anchor.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAItD,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,GAAG,CAAC,EAAE,MAAM,CAAA;CACb;AAED,MAAM,MAAM,WAAW,GAAG,gBAAgB,GAAG,gBAAgB,CAAA;AAQ7D,eAAO,MAAM,MAAM;;;;;;+CAuBlB,CAAA"}
@@ -1,2 +1,2 @@
1
- export declare const EnsureFlexed: import("@hanzogui/core").HanzoguiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").HanzoguiTextElement, import("@hanzogui/core").RNHanzoguiTextNonStyleProps, import("@hanzogui/core").TextStylePropsBase, {}, import("@hanzogui/core").StaticConfigPublic>;
1
+ export declare const EnsureFlexed: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").GuiTextElement, import("@hanzogui/core").RNTextNonStyleProps, import("@hanzogui/core").TextStylePropsBase, {}, import("@hanzogui/core").StaticConfigPublic>;
2
2
  //# sourceMappingURL=EnsureFlexed.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnsureFlexed.d.ts","sourceRoot":"","sources":["../../src/views/EnsureFlexed.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,gQAQvB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import type { GetProps } from '@hanzogui/core';
2
- export declare const Fieldset: import("@hanzogui/core").HanzoguiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
2
+ export declare const Fieldset: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").GuiElement, import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
3
3
  elevation?: number | import("@hanzogui/core").SizeTokens | undefined;
4
4
  fullscreen?: boolean | undefined;
5
5
  horizontal?: boolean | undefined;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Fieldset.d.ts","sourceRoot":"","sources":["../../src/views/Fieldset.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAI9C,eAAO,MAAM,QAAQ;;;;+CAenB,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { GuiProviderProps } from '@hanzogui/core';
2
+ export declare const GuiProvider: ({ children, ...props }: GuiProviderProps) => import("react").JSX.Element;
3
+ //# sourceMappingURL=GuiProvider.d.ts.map
@@ -0,0 +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,gCAQnE,CAAA"}
@@ -1,4 +1,4 @@
1
- export declare const Text: import("@hanzogui/core").HanzoguiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").HanzoguiTextElement, import("@hanzogui/core").RNHanzoguiTextNonStyleProps, import("@hanzogui/core").TextStylePropsBase, {
1
+ export declare const Text: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").GuiTextElement, import("@hanzogui/core").RNTextNonStyleProps, import("@hanzogui/core").TextStylePropsBase, {
2
2
  unstyled?: boolean | undefined;
3
3
  }, import("@hanzogui/core").StaticConfigPublic>;
4
4
  //# sourceMappingURL=Text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../src/views/Text.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;+CAYf,CAAA"}
@@ -1,4 +1,4 @@
1
- export declare const VisuallyHidden: import("@hanzogui/core").HanzoguiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").HanzoguiElement, import("@hanzogui/core").RNHanzoguiViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
1
+ export declare const VisuallyHidden: import("@hanzogui/core").GuiComponent<import("@hanzogui/core").TamaDefer, import("@hanzogui/core").GuiElement, import("@hanzogui/core").RNViewNonStyleProps, import("@hanzogui/core").StackStyleBase, {
2
2
  visible?: boolean | undefined;
3
3
  preserveDimensions?: boolean | undefined;
4
4
  }, import("@hanzogui/core").StaticConfigPublic>;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VisuallyHidden.d.ts","sourceRoot":"","sources":["../../src/views/VisuallyHidden.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc;;;+CAgCzB,CAAA"}
@@ -1,4 +0,0 @@
1
- import { defaultConfig } from '@hanzogui/config/v4'
2
- import { createHanzogui } from '@hanzogui/core'
3
-
4
- export default createHanzogui(defaultConfig)
@@ -1,2 +0,0 @@
1
- // compat with hanzogui static compiler
2
- Object.assign(module.exports, require('../dist/cjs/linear-gradient.cjs'))
@@ -1 +0,0 @@
1
- export * from '../src/linear-gradient'
@@ -1,2 +0,0 @@
1
- // compat with metro without package exports
2
- Object.assign(module.exports, require('../dist/cjs/linear-gradient.cjs'))
@@ -1,2 +0,0 @@
1
- // compat with hanzogui static compiler
2
- Object.assign(module.exports, require('../dist/cjs/linear-gradient.native.js'))
@@ -1,2 +0,0 @@
1
- // compat with metro without package exports
2
- Object.assign(module.exports, require('../dist/cjs/linear-gradient.native.js'))
package/native/index.cjs DELETED
@@ -1,2 +0,0 @@
1
- // compat with hanzogui static compiler
2
- Object.assign(module.exports, require('../dist/native.cjs'))
package/native/index.js DELETED
@@ -1,2 +0,0 @@
1
- // compat with metro without package exports
2
- Object.assign(module.exports, require('../dist/native.cjs'))
@@ -1,2 +0,0 @@
1
- // compat with hanzogui static compiler
2
- Object.assign(module.exports, require('../dist/test.cjs'))
@@ -1,2 +0,0 @@
1
- // compat with metro without package exports
2
- Object.assign(module.exports, require('../dist/test.cjs'))
@@ -1,2 +0,0 @@
1
- // compat with hanzogui static compiler
2
- Object.assign(module.exports, require('../dist/test.cjs'))
@@ -1,2 +0,0 @@
1
- // compat with metro without package exports
2
- Object.assign(module.exports, require('../dist/test.cjs'))
package/native-test.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './types'
package/native.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './types'
@@ -1,2 +0,0 @@
1
- // compat with hanzogui static compiler
2
- Object.assign(module.exports, require('../dist/cjs/react-native-web.cjs'))
@@ -1,2 +0,0 @@
1
- // compat with metro without package exports
2
- Object.assign(module.exports, require('../dist/cjs/react-native-web.cjs'))
@@ -1,2 +0,0 @@
1
- // compat with hanzogui static compiler
2
- Object.assign(module.exports, require('../dist/cjs/react-native-web.cjs'))
@@ -1,2 +0,0 @@
1
- // compat with metro without package exports
2
- Object.assign(module.exports, require('../dist/cjs/react-native-web.cjs'))