@dcl/playground-assets 7.5.1-9257780246.commit-0bf8464 → 7.5.1-9259817556.commit-b9f9e94

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.
@@ -394,7 +394,7 @@ export const enum CameraType {
394
394
  // Warning: (ae-missing-release-tag) "Children" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
395
395
  //
396
396
  // @public (undocumented)
397
- export type Children = ReactNode;
397
+ export type Children = unknown;
398
398
 
399
399
  // @public (undocumented)
400
400
  export interface CinematicSettings {
@@ -1064,7 +1064,7 @@ export const enum EasingFunction {
1064
1064
  export interface EcsElements {
1065
1065
  // (undocumented)
1066
1066
  entity: Partial<EntityComponents> & {
1067
- children?: ReactNode;
1067
+ children?: Children;
1068
1068
  key?: Key;
1069
1069
  };
1070
1070
  }
@@ -1510,16 +1510,11 @@ export namespace JSX {
1510
1510
  export interface Component {
1511
1511
  }
1512
1512
  // (undocumented)
1513
- export interface Element extends ReactElement<any, any> {
1514
- }
1513
+ export type Element = {} | null;
1515
1514
  // (undocumented)
1516
- export interface IntrinsicElements extends EcsElements {
1517
- }
1515
+ export type IntrinsicElements = EcsElements;
1518
1516
  }
1519
1517
 
1520
- // @public (undocumented)
1521
- export type JSXElementConstructor<P> = (props: P) => ReactElement<any, any> | null;
1522
-
1523
1518
  // @public (undocumented)
1524
1519
  export type JustifyType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
1525
1520
 
@@ -3531,12 +3526,8 @@ export namespace ReactEcs {
3531
3526
  export interface Component {
3532
3527
  }
3533
3528
  // (undocumented)
3534
- export interface Element extends ReactElement<any, any> {
3535
- }
3536
- export interface IntrinsicElements extends EcsElements {
3537
- }
3538
- // (undocumented)
3539
- export type ReactNode = ReactElement | string | number | boolean | null | undefined;
3529
+ export type Element = {} | null;
3530
+ export type IntrinsicElements = EcsElements;
3540
3531
  }
3541
3532
  const // (undocumented)
3542
3533
  createElement: any;
@@ -3549,19 +3540,6 @@ export namespace ReactEcs {
3549
3540
  // @public
3550
3541
  export const ReactEcsRenderer: ReactBasedUiSystem;
3551
3542
 
3552
- // @public (undocumented)
3553
- export interface ReactElement<P = any, T extends string | JSXElementConstructor<any> = string | JSXElementConstructor<any>> {
3554
- // (undocumented)
3555
- key: Key | null;
3556
- // (undocumented)
3557
- props: P;
3558
- // (undocumented)
3559
- type: T;
3560
- }
3561
-
3562
- // @public (undocumented)
3563
- export type ReactNode = ReactElement | string | number | boolean | null | undefined;
3564
-
3565
3543
  // @public (undocumented)
3566
3544
  export type ReadonlyComponentSchema<T extends [ComponentDefinition<unknown>, ...ComponentDefinition<unknown>[]]> = {
3567
3545
  [K in keyof T]: T[K] extends ComponentDefinition<unknown> ? ReturnType<T[K]['get']> : never;
@@ -4060,7 +4038,7 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
4060
4038
  export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
4061
4039
 
4062
4040
  // @public (undocumented)
4063
- export type UiComponent = () => ReactEcs.JSX.ReactNode;
4041
+ export type UiComponent = () => ReactEcs.JSX.Element;
4064
4042
 
4065
4043
  // @public (undocumented)
4066
4044
  export const UiDropdown: LastWriteWinElementSetComponentDefinition<PBUiDropdown>;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.5.1-9257780246.commit-0bf8464",
4
+ "version": "7.5.1-9259817556.commit-b9f9e94",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.5.1-9257780246.commit-0bf8464",
8
- "@dcl/sdk": "7.5.1-9257780246.commit-0bf8464"
7
+ "@dcl/js-runtime": "7.5.1-9259817556.commit-b9f9e94",
8
+ "@dcl/sdk": "7.5.1-9259817556.commit-b9f9e94"
9
9
  },
10
10
  "devDependencies": {
11
11
  "@microsoft/api-extractor": "^7.33.8"
@@ -32,5 +32,5 @@
32
32
  },
33
33
  "types": "./dist/index.d.ts",
34
34
  "typings": "./dist/index.d.ts",
35
- "commit": "0bf8464664bfd9efe67095afcba8617a3db2d21b"
35
+ "commit": "b9f9e94659a7474d2c57118e23efb58a77c1b556"
36
36
  }