@reactunity/renderer 0.14.5 → 0.15.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/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/src/helpers/dictionary-watcher.d.ts +1 -1
- package/dist/src/helpers/hooks/{use-watchable.d.ts → use-reactive-value.d.ts} +1 -1
- package/dist/src/helpers/hooks/{use-watchable.js → use-reactive-value.js} +8 -8
- package/dist/src/models/editor/jsx.d.ts +17 -14
- package/dist/src/models/environment/dom/global.d.ts +2 -0
- package/dist/src/models/environment/index.d.ts +2 -1
- package/dist/src/models/environment/index.js +1 -0
- package/dist/src/models/environment/interop.d.ts +3 -0
- package/dist/src/models/environment/jsx.d.ts +45 -0
- package/dist/src/models/environment/jsx.js +1 -0
- package/dist/src/models/generated/editor.js +1 -1
- package/dist/src/models/generated/react.d.ts +603 -354
- package/dist/src/models/generated/react.js +1 -1
- package/dist/src/models/generated/system.js +1 -1
- package/dist/src/models/generated/tests.js +1 -1
- package/dist/src/models/generated/unity.js +1 -1
- package/dist/src/models/generated/yoga.js +1 -1
- package/dist/src/models/properties/common.d.ts +2 -0
- package/dist/src/models/properties/common.js +1 -0
- package/dist/src/models/properties/index.d.ts +1 -0
- package/dist/src/models/properties/index.js +1 -0
- package/dist/src/models/properties/styles-enums.d.ts +0 -1
- package/dist/src/models/properties/styles.d.ts +2 -1
- package/dist/src/models/ugui/components.d.ts +3 -1
- package/dist/src/models/ugui/jsx.d.ts +18 -15
- package/dist/src/models/uitoolkit/components.d.ts +4 -1
- package/dist/src/models/uitoolkit/jsx.d.ts +17 -14
- package/dist/src/renderer/renderer.d.ts +4 -0
- package/dist/src/renderer/renderer.js +76 -69
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.js +1 -1
- package/dist/src/views/default-view.d.ts +1 -1
- package/dist/src/views/error-boundary.js +1 -1
- package/dist/src/webgl-compat/error-messages.d.ts +9 -0
- package/dist/src/webgl-compat/error-messages.js +10 -0
- package/dist/src/webgl-compat/index.d.ts +13 -0
- package/dist/src/webgl-compat/index.js +8 -0
- package/dist/src/webgl-compat/use-event-system.d.ts +8 -0
- package/dist/src/webgl-compat/use-event-system.js +64 -0
- package/dist/src/webgl-compat/use-unity-context.d.ts +4 -0
- package/dist/src/webgl-compat/use-unity-context.js +74 -0
- package/dist/webgl-compat.d.ts +1 -0
- package/dist/webgl-compat.js +1 -0
- package/package.json +8 -3
- package/webgl-compat.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reactunity/renderer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"description": "React renderer for Unity3D",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"./editor": "./dist/editor.js",
|
|
12
12
|
"./test": "./dist/test.js",
|
|
13
13
|
"./ugui": "./dist/ugui.js",
|
|
14
|
-
"./uitoolkit": "./dist/uitoolkit.js"
|
|
14
|
+
"./uitoolkit": "./dist/uitoolkit.js",
|
|
15
|
+
"./webgl-compat": "./dist/webgl-compat.js"
|
|
15
16
|
},
|
|
16
17
|
"typesVersions": {
|
|
17
18
|
"*": {
|
|
@@ -26,6 +27,9 @@
|
|
|
26
27
|
],
|
|
27
28
|
"uitoolkit": [
|
|
28
29
|
"./dist/uitoolkit.d.ts"
|
|
30
|
+
],
|
|
31
|
+
"webgl-compat": [
|
|
32
|
+
"./dist/webgl-compat.d.ts"
|
|
29
33
|
]
|
|
30
34
|
}
|
|
31
35
|
},
|
|
@@ -61,8 +65,9 @@
|
|
|
61
65
|
"react": "^18.0.0"
|
|
62
66
|
},
|
|
63
67
|
"devDependencies": {
|
|
64
|
-
"@reactunity/scripts": "^0.
|
|
68
|
+
"@reactunity/scripts": "^0.15.0",
|
|
65
69
|
"@types/react-reconciler": "^0.28.2",
|
|
70
|
+
"react-unity-webgl": "^9.4.0",
|
|
66
71
|
"rimraf": "^4.1.2",
|
|
67
72
|
"typescript": "^4.9.5"
|
|
68
73
|
}
|
package/webgl-compat.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src/webgl-compat';
|