@dcl/react-ecs 7.0.6-3874914632.commit-eb56237 → 7.0.6-3942933325.commit-70f967f
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/reconciler/index.js +7 -7
- package/package.json +2 -2
package/dist/reconciler/index.js
CHANGED
|
@@ -18,11 +18,11 @@ export function createReconciler(engine, pointerEvents) {
|
|
|
18
18
|
const UiDropdownResult = components.UiDropdownResult(engine);
|
|
19
19
|
// Component ID Helper
|
|
20
20
|
const getComponentId = {
|
|
21
|
-
uiTransform: UiTransform.
|
|
22
|
-
uiText: UiText.
|
|
23
|
-
uiBackground: UiBackground.
|
|
24
|
-
uiInput: UiInput.
|
|
25
|
-
uiDropdown: UiDropdown.
|
|
21
|
+
uiTransform: UiTransform.componentId,
|
|
22
|
+
uiText: UiText.componentId,
|
|
23
|
+
uiBackground: UiBackground.componentId,
|
|
24
|
+
uiInput: UiInput.componentId,
|
|
25
|
+
uiDropdown: UiDropdown.componentId
|
|
26
26
|
};
|
|
27
27
|
function updateTree(instance, props) {
|
|
28
28
|
upsertComponent(instance, props, 'uiTransform');
|
|
@@ -217,8 +217,8 @@ export function createReconciler(engine, pointerEvents) {
|
|
|
217
217
|
return {
|
|
218
218
|
update: function (component) {
|
|
219
219
|
if (changeEvents.size) {
|
|
220
|
-
handleOnChange(UiInput.
|
|
221
|
-
handleOnChange(UiDropdown.
|
|
220
|
+
handleOnChange(UiInput.componentId, UiInputResult);
|
|
221
|
+
handleOnChange(UiDropdown.componentId, UiDropdownResult);
|
|
222
222
|
}
|
|
223
223
|
return reconciler.updateContainer(component, root, null);
|
|
224
224
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/react-ecs",
|
|
3
|
-
"version": "7.0.6-
|
|
3
|
+
"version": "7.0.6-3942933325.commit-70f967f",
|
|
4
4
|
"description": "Decentraland ECS",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"displayName": "React ECS",
|
|
43
43
|
"tsconfig": "./tsconfig.json"
|
|
44
44
|
},
|
|
45
|
-
"commit": "
|
|
45
|
+
"commit": "70f967f506b6e27be0877901c693a1d5089b1bf4"
|
|
46
46
|
}
|