@dcl/playground-assets 7.5.1-9259591758.commit-96b8158 → 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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
3
  "description": "",
4
- "version": "7.5.1-9259591758.commit-96b8158",
4
+ "version": "7.5.1-9259817556.commit-b9f9e94",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
7
  "@dcl/ecs": "file:../ecs",
@@ -35,5 +35,5 @@
35
35
  },
36
36
  "types": "./index.d.ts",
37
37
  "typings": "./index.d.ts",
38
- "commit": "96b815841e90d2b5815133c2d1c0c3095a612b30"
38
+ "commit": "b9f9e94659a7474d2c57118e23efb58a77c1b556"
39
39
  }
@@ -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>;
@@ -3913,7 +3913,7 @@
3913
3913
  {
3914
3914
  "kind": "Reference",
3915
3915
  "text": "ReactEcs.JSX.Element",
3916
- "canonicalReference": "@dcl/playground-assets!ReactEcs.JSX.Element:interface"
3916
+ "canonicalReference": "@dcl/playground-assets!ReactEcs.JSX.Element:type"
3917
3917
  },
3918
3918
  {
3919
3919
  "kind": "Content",
@@ -6434,9 +6434,8 @@
6434
6434
  "text": "export type Children = "
6435
6435
  },
6436
6436
  {
6437
- "kind": "Reference",
6438
- "text": "ReactNode",
6439
- "canonicalReference": "@dcl/playground-assets!ReactNode:type"
6437
+ "kind": "Content",
6438
+ "text": "unknown"
6440
6439
  },
6441
6440
  {
6442
6441
  "kind": "Content",
@@ -17953,7 +17952,7 @@
17953
17952
  {
17954
17953
  "kind": "Reference",
17955
17954
  "text": "ReactEcs.JSX.Element",
17956
- "canonicalReference": "@dcl/playground-assets!ReactEcs.JSX.Element:interface"
17955
+ "canonicalReference": "@dcl/playground-assets!ReactEcs.JSX.Element:type"
17957
17956
  },
17958
17957
  {
17959
17958
  "kind": "Content",
@@ -18691,8 +18690,8 @@
18691
18690
  },
18692
18691
  {
18693
18692
  "kind": "Reference",
18694
- "text": "ReactNode",
18695
- "canonicalReference": "@dcl/playground-assets!ReactNode:type"
18693
+ "text": "Children",
18694
+ "canonicalReference": "@dcl/playground-assets!Children:type"
18696
18695
  },
18697
18696
  {
18698
18697
  "kind": "Content",
@@ -22656,7 +22655,7 @@
22656
22655
  {
22657
22656
  "kind": "Reference",
22658
22657
  "text": "ReactEcs.JSX.Element",
22659
- "canonicalReference": "@dcl/playground-assets!ReactEcs.JSX.Element:interface"
22658
+ "canonicalReference": "@dcl/playground-assets!ReactEcs.JSX.Element:type"
22660
22659
  },
22661
22660
  {
22662
22661
  "kind": "Content",
@@ -23707,47 +23706,38 @@
23707
23706
  "extendsTokenRanges": []
23708
23707
  },
23709
23708
  {
23710
- "kind": "Interface",
23711
- "canonicalReference": "@dcl/playground-assets!JSX.Element:interface",
23709
+ "kind": "TypeAlias",
23710
+ "canonicalReference": "@dcl/playground-assets!JSX.Element:type",
23712
23711
  "docComment": "",
23713
23712
  "excerptTokens": [
23714
23713
  {
23715
23714
  "kind": "Content",
23716
- "text": "interface Element extends "
23717
- },
23718
- {
23719
- "kind": "Reference",
23720
- "text": "ReactElement",
23721
- "canonicalReference": "@dcl/playground-assets!ReactElement:interface"
23715
+ "text": "type Element = "
23722
23716
  },
23723
23717
  {
23724
23718
  "kind": "Content",
23725
- "text": "<any, any>"
23719
+ "text": "{} | null"
23726
23720
  },
23727
23721
  {
23728
23722
  "kind": "Content",
23729
- "text": " "
23723
+ "text": ";"
23730
23724
  }
23731
23725
  ],
23732
23726
  "releaseTag": "Public",
23733
23727
  "name": "Element",
23734
- "preserveMemberOrder": false,
23735
- "members": [],
23736
- "extendsTokenRanges": [
23737
- {
23738
- "startIndex": 1,
23739
- "endIndex": 3
23740
- }
23741
- ]
23728
+ "typeTokenRange": {
23729
+ "startIndex": 1,
23730
+ "endIndex": 2
23731
+ }
23742
23732
  },
23743
23733
  {
23744
- "kind": "Interface",
23745
- "canonicalReference": "@dcl/playground-assets!JSX.IntrinsicElements:interface",
23734
+ "kind": "TypeAlias",
23735
+ "canonicalReference": "@dcl/playground-assets!JSX.IntrinsicElements:type",
23746
23736
  "docComment": "",
23747
23737
  "excerptTokens": [
23748
23738
  {
23749
23739
  "kind": "Content",
23750
- "text": "interface IntrinsicElements extends "
23740
+ "text": "type IntrinsicElements = "
23751
23741
  },
23752
23742
  {
23753
23743
  "kind": "Reference",
@@ -23756,69 +23746,17 @@
23756
23746
  },
23757
23747
  {
23758
23748
  "kind": "Content",
23759
- "text": " "
23749
+ "text": ";"
23760
23750
  }
23761
23751
  ],
23762
23752
  "releaseTag": "Public",
23763
23753
  "name": "IntrinsicElements",
23764
- "preserveMemberOrder": false,
23765
- "members": [],
23766
- "extendsTokenRanges": [
23767
- {
23768
- "startIndex": 1,
23769
- "endIndex": 2
23770
- }
23771
- ]
23772
- }
23773
- ]
23774
- },
23775
- {
23776
- "kind": "TypeAlias",
23777
- "canonicalReference": "@dcl/playground-assets!JSXElementConstructor:type",
23778
- "docComment": "/**\n * @public\n */\n",
23779
- "excerptTokens": [
23780
- {
23781
- "kind": "Content",
23782
- "text": "export type JSXElementConstructor<P> = "
23783
- },
23784
- {
23785
- "kind": "Content",
23786
- "text": "(props: P) => "
23787
- },
23788
- {
23789
- "kind": "Reference",
23790
- "text": "ReactElement",
23791
- "canonicalReference": "@dcl/playground-assets!ReactElement:interface"
23792
- },
23793
- {
23794
- "kind": "Content",
23795
- "text": "<any, any> | null"
23796
- },
23797
- {
23798
- "kind": "Content",
23799
- "text": ";"
23800
- }
23801
- ],
23802
- "fileUrlPath": "../react-ecs/dist/react-ecs.d.ts",
23803
- "releaseTag": "Public",
23804
- "name": "JSXElementConstructor",
23805
- "typeParameters": [
23806
- {
23807
- "typeParameterName": "P",
23808
- "constraintTokenRange": {
23809
- "startIndex": 0,
23810
- "endIndex": 0
23811
- },
23812
- "defaultTypeTokenRange": {
23813
- "startIndex": 0,
23814
- "endIndex": 0
23754
+ "typeTokenRange": {
23755
+ "startIndex": 1,
23756
+ "endIndex": 2
23815
23757
  }
23816
23758
  }
23817
- ],
23818
- "typeTokenRange": {
23819
- "startIndex": 1,
23820
- "endIndex": 4
23821
- }
23759
+ ]
23822
23760
  },
23823
23761
  {
23824
23762
  "kind": "TypeAlias",
@@ -23902,7 +23840,7 @@
23902
23840
  {
23903
23841
  "kind": "Reference",
23904
23842
  "text": "ReactEcs.JSX.Element",
23905
- "canonicalReference": "@dcl/playground-assets!ReactEcs.JSX.Element:interface"
23843
+ "canonicalReference": "@dcl/playground-assets!ReactEcs.JSX.Element:type"
23906
23844
  },
23907
23845
  {
23908
23846
  "kind": "Content",
@@ -61321,97 +61259,54 @@
61321
61259
  "extendsTokenRanges": []
61322
61260
  },
61323
61261
  {
61324
- "kind": "Interface",
61325
- "canonicalReference": "@dcl/playground-assets!ReactEcs.JSX.Element:interface",
61262
+ "kind": "TypeAlias",
61263
+ "canonicalReference": "@dcl/playground-assets!ReactEcs.JSX.Element:type",
61326
61264
  "docComment": "/**\n * @public\n */\n",
61327
61265
  "excerptTokens": [
61328
61266
  {
61329
61267
  "kind": "Content",
61330
- "text": "interface Element extends "
61331
- },
61332
- {
61333
- "kind": "Reference",
61334
- "text": "ReactElement",
61335
- "canonicalReference": "@dcl/playground-assets!ReactElement:interface"
61268
+ "text": "type Element = "
61336
61269
  },
61337
61270
  {
61338
61271
  "kind": "Content",
61339
- "text": "<any, any>"
61272
+ "text": "{} | null"
61340
61273
  },
61341
61274
  {
61342
61275
  "kind": "Content",
61343
- "text": " "
61276
+ "text": ";"
61344
61277
  }
61345
61278
  ],
61346
61279
  "releaseTag": "Public",
61347
61280
  "name": "Element",
61348
- "preserveMemberOrder": false,
61349
- "members": [],
61350
- "extendsTokenRanges": [
61351
- {
61352
- "startIndex": 1,
61353
- "endIndex": 3
61354
- }
61355
- ]
61281
+ "typeTokenRange": {
61282
+ "startIndex": 1,
61283
+ "endIndex": 2
61284
+ }
61356
61285
  },
61357
61286
  {
61358
- "kind": "Interface",
61359
- "canonicalReference": "@dcl/playground-assets!ReactEcs.JSX.IntrinsicElements:interface",
61287
+ "kind": "TypeAlias",
61288
+ "canonicalReference": "@dcl/playground-assets!ReactEcs.JSX.IntrinsicElements:type",
61360
61289
  "docComment": "/**\n * HTML tag elements\n *\n * @public\n */\n",
61361
61290
  "excerptTokens": [
61362
61291
  {
61363
61292
  "kind": "Content",
61364
- "text": "interface IntrinsicElements extends "
61293
+ "text": "type IntrinsicElements = "
61365
61294
  },
61366
61295
  {
61367
61296
  "kind": "Reference",
61368
61297
  "text": "EcsElements",
61369
61298
  "canonicalReference": "@dcl/playground-assets!EcsElements:interface"
61370
61299
  },
61371
- {
61372
- "kind": "Content",
61373
- "text": " "
61374
- }
61375
- ],
61376
- "releaseTag": "Public",
61377
- "name": "IntrinsicElements",
61378
- "preserveMemberOrder": false,
61379
- "members": [],
61380
- "extendsTokenRanges": [
61381
- {
61382
- "startIndex": 1,
61383
- "endIndex": 2
61384
- }
61385
- ]
61386
- },
61387
- {
61388
- "kind": "TypeAlias",
61389
- "canonicalReference": "@dcl/playground-assets!ReactEcs.JSX.ReactNode:type",
61390
- "docComment": "/**\n * @public\n */\n",
61391
- "excerptTokens": [
61392
- {
61393
- "kind": "Content",
61394
- "text": "type ReactNode = "
61395
- },
61396
- {
61397
- "kind": "Reference",
61398
- "text": "ReactElement",
61399
- "canonicalReference": "@dcl/playground-assets!ReactElement:interface"
61400
- },
61401
- {
61402
- "kind": "Content",
61403
- "text": " | string | number | boolean | null | undefined"
61404
- },
61405
61300
  {
61406
61301
  "kind": "Content",
61407
61302
  "text": ";"
61408
61303
  }
61409
61304
  ],
61410
61305
  "releaseTag": "Public",
61411
- "name": "ReactNode",
61306
+ "name": "IntrinsicElements",
61412
61307
  "typeTokenRange": {
61413
61308
  "startIndex": 1,
61414
- "endIndex": 3
61309
+ "endIndex": 2
61415
61310
  }
61416
61311
  }
61417
61312
  ]
@@ -61442,207 +61337,6 @@
61442
61337
  "endIndex": 2
61443
61338
  }
61444
61339
  },
61445
- {
61446
- "kind": "Interface",
61447
- "canonicalReference": "@dcl/playground-assets!ReactElement:interface",
61448
- "docComment": "/**\n * @public\n */\n",
61449
- "excerptTokens": [
61450
- {
61451
- "kind": "Content",
61452
- "text": "export interface ReactElement<P = "
61453
- },
61454
- {
61455
- "kind": "Content",
61456
- "text": "any"
61457
- },
61458
- {
61459
- "kind": "Content",
61460
- "text": ", T extends "
61461
- },
61462
- {
61463
- "kind": "Content",
61464
- "text": "string | "
61465
- },
61466
- {
61467
- "kind": "Reference",
61468
- "text": "JSXElementConstructor",
61469
- "canonicalReference": "@dcl/playground-assets!JSXElementConstructor:type"
61470
- },
61471
- {
61472
- "kind": "Content",
61473
- "text": "<any>"
61474
- },
61475
- {
61476
- "kind": "Content",
61477
- "text": " = "
61478
- },
61479
- {
61480
- "kind": "Content",
61481
- "text": "string | "
61482
- },
61483
- {
61484
- "kind": "Reference",
61485
- "text": "JSXElementConstructor",
61486
- "canonicalReference": "@dcl/playground-assets!JSXElementConstructor:type"
61487
- },
61488
- {
61489
- "kind": "Content",
61490
- "text": "<any>"
61491
- },
61492
- {
61493
- "kind": "Content",
61494
- "text": "> "
61495
- }
61496
- ],
61497
- "fileUrlPath": "../react-ecs/dist/react-ecs.d.ts",
61498
- "releaseTag": "Public",
61499
- "typeParameters": [
61500
- {
61501
- "typeParameterName": "P",
61502
- "constraintTokenRange": {
61503
- "startIndex": 0,
61504
- "endIndex": 0
61505
- },
61506
- "defaultTypeTokenRange": {
61507
- "startIndex": 1,
61508
- "endIndex": 2
61509
- }
61510
- },
61511
- {
61512
- "typeParameterName": "T",
61513
- "constraintTokenRange": {
61514
- "startIndex": 3,
61515
- "endIndex": 6
61516
- },
61517
- "defaultTypeTokenRange": {
61518
- "startIndex": 7,
61519
- "endIndex": 10
61520
- }
61521
- }
61522
- ],
61523
- "name": "ReactElement",
61524
- "preserveMemberOrder": false,
61525
- "members": [
61526
- {
61527
- "kind": "PropertySignature",
61528
- "canonicalReference": "@dcl/playground-assets!ReactElement#key:member",
61529
- "docComment": "",
61530
- "excerptTokens": [
61531
- {
61532
- "kind": "Content",
61533
- "text": "key: "
61534
- },
61535
- {
61536
- "kind": "Reference",
61537
- "text": "Key",
61538
- "canonicalReference": "@dcl/playground-assets!Key:type"
61539
- },
61540
- {
61541
- "kind": "Content",
61542
- "text": " | null"
61543
- },
61544
- {
61545
- "kind": "Content",
61546
- "text": ";"
61547
- }
61548
- ],
61549
- "isReadonly": false,
61550
- "isOptional": false,
61551
- "releaseTag": "Public",
61552
- "name": "key",
61553
- "propertyTypeTokenRange": {
61554
- "startIndex": 1,
61555
- "endIndex": 3
61556
- }
61557
- },
61558
- {
61559
- "kind": "PropertySignature",
61560
- "canonicalReference": "@dcl/playground-assets!ReactElement#props:member",
61561
- "docComment": "",
61562
- "excerptTokens": [
61563
- {
61564
- "kind": "Content",
61565
- "text": "props: "
61566
- },
61567
- {
61568
- "kind": "Content",
61569
- "text": "P"
61570
- },
61571
- {
61572
- "kind": "Content",
61573
- "text": ";"
61574
- }
61575
- ],
61576
- "isReadonly": false,
61577
- "isOptional": false,
61578
- "releaseTag": "Public",
61579
- "name": "props",
61580
- "propertyTypeTokenRange": {
61581
- "startIndex": 1,
61582
- "endIndex": 2
61583
- }
61584
- },
61585
- {
61586
- "kind": "PropertySignature",
61587
- "canonicalReference": "@dcl/playground-assets!ReactElement#type:member",
61588
- "docComment": "",
61589
- "excerptTokens": [
61590
- {
61591
- "kind": "Content",
61592
- "text": "type: "
61593
- },
61594
- {
61595
- "kind": "Content",
61596
- "text": "T"
61597
- },
61598
- {
61599
- "kind": "Content",
61600
- "text": ";"
61601
- }
61602
- ],
61603
- "isReadonly": false,
61604
- "isOptional": false,
61605
- "releaseTag": "Public",
61606
- "name": "type",
61607
- "propertyTypeTokenRange": {
61608
- "startIndex": 1,
61609
- "endIndex": 2
61610
- }
61611
- }
61612
- ],
61613
- "extendsTokenRanges": []
61614
- },
61615
- {
61616
- "kind": "TypeAlias",
61617
- "canonicalReference": "@dcl/playground-assets!ReactNode:type",
61618
- "docComment": "/**\n * @public\n */\n",
61619
- "excerptTokens": [
61620
- {
61621
- "kind": "Content",
61622
- "text": "export type ReactNode = "
61623
- },
61624
- {
61625
- "kind": "Reference",
61626
- "text": "ReactElement",
61627
- "canonicalReference": "@dcl/playground-assets!ReactElement:interface"
61628
- },
61629
- {
61630
- "kind": "Content",
61631
- "text": " | string | number | boolean | null | undefined"
61632
- },
61633
- {
61634
- "kind": "Content",
61635
- "text": ";"
61636
- }
61637
- ],
61638
- "fileUrlPath": "../react-ecs/dist/react-ecs.d.ts",
61639
- "releaseTag": "Public",
61640
- "name": "ReactNode",
61641
- "typeTokenRange": {
61642
- "startIndex": 1,
61643
- "endIndex": 3
61644
- }
61645
- },
61646
61340
  {
61647
61341
  "kind": "TypeAlias",
61648
61342
  "canonicalReference": "@dcl/playground-assets!ReadonlyComponentSchema:type",
@@ -68461,8 +68155,8 @@
68461
68155
  },
68462
68156
  {
68463
68157
  "kind": "Reference",
68464
- "text": "ReactEcs.JSX.ReactNode",
68465
- "canonicalReference": "@dcl/playground-assets!ReactEcs.JSX.ReactNode:type"
68158
+ "text": "ReactEcs.JSX.Element",
68159
+ "canonicalReference": "@dcl/playground-assets!ReactEcs.JSX.Element:type"
68466
68160
  },
68467
68161
  {
68468
68162
  "kind": "Content",
@@ -68781,7 +68475,7 @@
68781
68475
  {
68782
68476
  "kind": "Reference",
68783
68477
  "text": "ReactEcs.JSX.Element",
68784
- "canonicalReference": "@dcl/playground-assets!ReactEcs.JSX.Element:interface"
68478
+ "canonicalReference": "@dcl/playground-assets!ReactEcs.JSX.Element:type"
68785
68479
  },
68786
68480
  {
68787
68481
  "kind": "Content",