@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.
package/dist/alpha.d.ts CHANGED
@@ -520,7 +520,7 @@ export declare const enum CameraType {
520
520
  CT_CINEMATIC = 2
521
521
  }
522
522
 
523
- export declare type Children = ReactNode;
523
+ export declare type Children = unknown;
524
524
 
525
525
  /**
526
526
  * @public
@@ -1860,7 +1860,7 @@ export declare const enum EasingFunction {
1860
1860
  */
1861
1861
  export declare interface EcsElements {
1862
1862
  entity: Partial<EntityComponents> & {
1863
- children?: ReactNode;
1863
+ children?: Children;
1864
1864
  key?: Key;
1865
1865
  };
1866
1866
  }
@@ -2559,19 +2559,12 @@ export declare type JsonSchemaExtended = {
2559
2559
  * @hidden
2560
2560
  */
2561
2561
  export declare namespace JSX {
2562
- export interface Element extends ReactElement<any, any> {
2563
- }
2564
- export interface IntrinsicElements extends EcsElements {
2565
- }
2562
+ export type Element = {} | null;
2563
+ export type IntrinsicElements = EcsElements;
2566
2564
  export interface Component {
2567
2565
  }
2568
2566
  }
2569
2567
 
2570
- /**
2571
- * @public
2572
- */
2573
- export declare type JSXElementConstructor<P> = (props: P) => ReactElement<any, any> | null;
2574
-
2575
2568
  /**
2576
2569
  * @public
2577
2570
  */
@@ -6397,18 +6390,12 @@ export declare namespace ReactEcs {
6397
6390
  /**
6398
6391
  * @public
6399
6392
  */
6400
- export type ReactNode = ReactElement | string | number | boolean | null | undefined;
6401
- /**
6402
- * @public
6403
- */
6404
- export interface Element extends ReactElement<any, any> {
6405
- }
6393
+ export type Element = {} | null;
6406
6394
  /**
6407
6395
  * @public
6408
6396
  * HTML tag elements
6409
6397
  */
6410
- export interface IntrinsicElements extends EcsElements {
6411
- }
6398
+ export type IntrinsicElements = EcsElements;
6412
6399
  /**
6413
6400
  * @public
6414
6401
  * Component empty interface
@@ -6428,20 +6415,6 @@ export declare namespace ReactEcs {
6428
6415
  */
6429
6416
  export declare const ReactEcsRenderer: ReactBasedUiSystem;
6430
6417
 
6431
- /**
6432
- * @public
6433
- */
6434
- export declare interface ReactElement<P = any, T extends string | JSXElementConstructor<any> = string | JSXElementConstructor<any>> {
6435
- type: T;
6436
- props: P;
6437
- key: Key | null;
6438
- }
6439
-
6440
- /**
6441
- * @public
6442
- */
6443
- export declare type ReactNode = ReactElement | string | number | boolean | null | undefined;
6444
-
6445
6418
  /**
6446
6419
  * @public
6447
6420
  */
@@ -7199,7 +7172,7 @@ export declare const UiCanvasInformation: LastWriteWinElementSetComponentDefinit
7199
7172
  /**
7200
7173
  * @public
7201
7174
  */
7202
- export declare type UiComponent = () => ReactEcs.JSX.ReactNode;
7175
+ export declare type UiComponent = () => ReactEcs.JSX.Element;
7203
7176
 
7204
7177
  /** @public */
7205
7178
  export declare const UiDropdown: LastWriteWinElementSetComponentDefinition<PBUiDropdown>;
package/dist/beta.d.ts CHANGED
@@ -520,7 +520,7 @@ export declare const enum CameraType {
520
520
  CT_CINEMATIC = 2
521
521
  }
522
522
 
523
- export declare type Children = ReactNode;
523
+ export declare type Children = unknown;
524
524
 
525
525
  /**
526
526
  * @public
@@ -1860,7 +1860,7 @@ export declare const enum EasingFunction {
1860
1860
  */
1861
1861
  export declare interface EcsElements {
1862
1862
  entity: Partial<EntityComponents> & {
1863
- children?: ReactNode;
1863
+ children?: Children;
1864
1864
  key?: Key;
1865
1865
  };
1866
1866
  }
@@ -2550,19 +2550,12 @@ export declare type JsonSchemaExtended = {
2550
2550
  * @hidden
2551
2551
  */
2552
2552
  export declare namespace JSX {
2553
- export interface Element extends ReactElement<any, any> {
2554
- }
2555
- export interface IntrinsicElements extends EcsElements {
2556
- }
2553
+ export type Element = {} | null;
2554
+ export type IntrinsicElements = EcsElements;
2557
2555
  export interface Component {
2558
2556
  }
2559
2557
  }
2560
2558
 
2561
- /**
2562
- * @public
2563
- */
2564
- export declare type JSXElementConstructor<P> = (props: P) => ReactElement<any, any> | null;
2565
-
2566
2559
  /**
2567
2560
  * @public
2568
2561
  */
@@ -6369,18 +6362,12 @@ export declare namespace ReactEcs {
6369
6362
  /**
6370
6363
  * @public
6371
6364
  */
6372
- export type ReactNode = ReactElement | string | number | boolean | null | undefined;
6373
- /**
6374
- * @public
6375
- */
6376
- export interface Element extends ReactElement<any, any> {
6377
- }
6365
+ export type Element = {} | null;
6378
6366
  /**
6379
6367
  * @public
6380
6368
  * HTML tag elements
6381
6369
  */
6382
- export interface IntrinsicElements extends EcsElements {
6383
- }
6370
+ export type IntrinsicElements = EcsElements;
6384
6371
  /**
6385
6372
  * @public
6386
6373
  * Component empty interface
@@ -6400,20 +6387,6 @@ export declare namespace ReactEcs {
6400
6387
  */
6401
6388
  export declare const ReactEcsRenderer: ReactBasedUiSystem;
6402
6389
 
6403
- /**
6404
- * @public
6405
- */
6406
- export declare interface ReactElement<P = any, T extends string | JSXElementConstructor<any> = string | JSXElementConstructor<any>> {
6407
- type: T;
6408
- props: P;
6409
- key: Key | null;
6410
- }
6411
-
6412
- /**
6413
- * @public
6414
- */
6415
- export declare type ReactNode = ReactElement | string | number | boolean | null | undefined;
6416
-
6417
6390
  /**
6418
6391
  * @public
6419
6392
  */
@@ -7166,7 +7139,7 @@ export declare const UiCanvasInformation: LastWriteWinElementSetComponentDefinit
7166
7139
  /**
7167
7140
  * @public
7168
7141
  */
7169
- export declare type UiComponent = () => ReactEcs.JSX.ReactNode;
7142
+ export declare type UiComponent = () => ReactEcs.JSX.Element;
7170
7143
 
7171
7144
  /** @public */
7172
7145
  export declare const UiDropdown: LastWriteWinElementSetComponentDefinition<PBUiDropdown>;
@@ -520,7 +520,7 @@ export declare const enum CameraType {
520
520
  CT_CINEMATIC = 2
521
521
  }
522
522
 
523
- export declare type Children = ReactNode;
523
+ export declare type Children = unknown;
524
524
 
525
525
  /**
526
526
  * @public
@@ -1860,7 +1860,7 @@ export declare const enum EasingFunction {
1860
1860
  */
1861
1861
  export declare interface EcsElements {
1862
1862
  entity: Partial<EntityComponents> & {
1863
- children?: ReactNode;
1863
+ children?: Children;
1864
1864
  key?: Key;
1865
1865
  };
1866
1866
  }
@@ -2550,19 +2550,12 @@ export declare type JsonSchemaExtended = {
2550
2550
  * @hidden
2551
2551
  */
2552
2552
  export declare namespace JSX {
2553
- export interface Element extends ReactElement<any, any> {
2554
- }
2555
- export interface IntrinsicElements extends EcsElements {
2556
- }
2553
+ export type Element = {} | null;
2554
+ export type IntrinsicElements = EcsElements;
2557
2555
  export interface Component {
2558
2556
  }
2559
2557
  }
2560
2558
 
2561
- /**
2562
- * @public
2563
- */
2564
- export declare type JSXElementConstructor<P> = (props: P) => ReactElement<any, any> | null;
2565
-
2566
2559
  /**
2567
2560
  * @public
2568
2561
  */
@@ -6369,18 +6362,12 @@ export declare namespace ReactEcs {
6369
6362
  /**
6370
6363
  * @public
6371
6364
  */
6372
- export type ReactNode = ReactElement | string | number | boolean | null | undefined;
6373
- /**
6374
- * @public
6375
- */
6376
- export interface Element extends ReactElement<any, any> {
6377
- }
6365
+ export type Element = {} | null;
6378
6366
  /**
6379
6367
  * @public
6380
6368
  * HTML tag elements
6381
6369
  */
6382
- export interface IntrinsicElements extends EcsElements {
6383
- }
6370
+ export type IntrinsicElements = EcsElements;
6384
6371
  /**
6385
6372
  * @public
6386
6373
  * Component empty interface
@@ -6400,20 +6387,6 @@ export declare namespace ReactEcs {
6400
6387
  */
6401
6388
  export declare const ReactEcsRenderer: ReactBasedUiSystem;
6402
6389
 
6403
- /**
6404
- * @public
6405
- */
6406
- export declare interface ReactElement<P = any, T extends string | JSXElementConstructor<any> = string | JSXElementConstructor<any>> {
6407
- type: T;
6408
- props: P;
6409
- key: Key | null;
6410
- }
6411
-
6412
- /**
6413
- * @public
6414
- */
6415
- export declare type ReactNode = ReactElement | string | number | boolean | null | undefined;
6416
-
6417
6390
  /**
6418
6391
  * @public
6419
6392
  */
@@ -7166,7 +7139,7 @@ export declare const UiCanvasInformation: LastWriteWinElementSetComponentDefinit
7166
7139
  /**
7167
7140
  * @public
7168
7141
  */
7169
- export declare type UiComponent = () => ReactEcs.JSX.ReactNode;
7142
+ export declare type UiComponent = () => ReactEcs.JSX.Element;
7170
7143
 
7171
7144
  /** @public */
7172
7145
  export declare const UiDropdown: LastWriteWinElementSetComponentDefinition<PBUiDropdown>;