@dcl/react-ecs 7.5.2-9387170225.commit-0e1c091 → 7.5.2

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.
@@ -1,4 +1,4 @@
1
- import { ReactNode } from '../react-ecs';
1
+ import { ReactEcs } from '../react-ecs';
2
2
  import { Listeners } from './listeners/types';
3
3
  import { UiBackgroundProps } from './uiBackground/types';
4
4
  import { UiTransformProps } from './uiTransform/types';
@@ -20,7 +20,7 @@ export interface EntityPropTypes extends Listeners {
20
20
  * @public
21
21
  */
22
22
  export type Key = number | string;
23
- export type Children = ReactNode;
23
+ export type Children = ReactEcs.JSX.ReactNode;
24
24
  /**
25
25
  * unit value type. i.e. 'vw' || 'vh'
26
26
  * @public
@@ -5,7 +5,7 @@ import { Callback, Key } from './components';
5
5
  */
6
6
  export interface EcsElements {
7
7
  entity: Partial<EntityComponents> & {
8
- children?: ReactNode;
8
+ children?: ReactEcs.JSX.ReactNode;
9
9
  key?: Key;
10
10
  };
11
11
  }
@@ -44,10 +44,6 @@ export interface ReactElement<P = any, T extends string | JSXElementConstructor<
44
44
  props: P;
45
45
  key: Key | null;
46
46
  }
47
- /**
48
- * @public
49
- */
50
- export type ReactNode = ReactElement | string | number | boolean | null | undefined;
51
47
  /**
52
48
  * @public
53
49
  */
@@ -56,7 +52,7 @@ export declare namespace ReactEcs {
56
52
  /**
57
53
  * @public
58
54
  */
59
- type ReactNode = ReactElement | string | number | boolean | null | undefined | ReactElement[];
55
+ type ReactNode = Element | ReactElement | string | number | boolean | null | undefined | ReactNode[];
60
56
  /**
61
57
  * @public
62
58
  */
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/react-ecs",
3
3
  "description": "Decentraland ECS",
4
- "version": "7.5.2-9387170225.commit-0e1c091",
4
+ "version": "7.5.2",
5
5
  "author": "DCL",
6
6
  "bugs": "https://github.com/decentraland/js-sdk-toolchain/issues",
7
7
  "dependencies": {
8
- "@dcl/ecs": "7.5.2-9387170225.commit-0e1c091",
8
+ "@dcl/ecs": "7.5.2",
9
9
  "react": "^18.2.0",
10
10
  "react-reconciler": "^0.29.0"
11
11
  },
@@ -40,5 +40,5 @@
40
40
  "tsconfig": "./tsconfig.json"
41
41
  },
42
42
  "types": "./dist/index.d.ts",
43
- "commit": "0e1c0915c8104a776e7a9b01331a75d149330e3a"
43
+ "commit": "daaaecfc0671e945b0fb29e17644c339a2a480ac"
44
44
  }