@dcl/playground-assets 7.4.22-9118542123.commit-6049b3a → 7.4.22-9131010642.commit-9fa5dc0
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 +34 -7
- package/dist/beta.d.ts +34 -7
- package/dist/index.bundled.d.ts +34 -7
- package/dist/index.js +5 -4
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +34 -7
- package/etc/playground-assets.api.json +348 -42
- package/etc/playground-assets.api.md +29 -7
- package/package.json +4 -4
@@ -365,7 +365,7 @@ export const enum CameraType {
|
|
365
365
|
// 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)
|
366
366
|
//
|
367
367
|
// @public (undocumented)
|
368
|
-
export type Children =
|
368
|
+
export type Children = ReactNode;
|
369
369
|
|
370
370
|
// @public (undocumented)
|
371
371
|
export const enum ColliderLayer {
|
@@ -1012,7 +1012,7 @@ export const enum EasingFunction {
|
|
1012
1012
|
export interface EcsElements {
|
1013
1013
|
// (undocumented)
|
1014
1014
|
entity: Partial<EntityComponents> & {
|
1015
|
-
children?:
|
1015
|
+
children?: ReactNode;
|
1016
1016
|
key?: Key;
|
1017
1017
|
};
|
1018
1018
|
}
|
@@ -1458,11 +1458,16 @@ export namespace JSX {
|
|
1458
1458
|
export interface Component {
|
1459
1459
|
}
|
1460
1460
|
// (undocumented)
|
1461
|
-
export
|
1461
|
+
export interface Element extends ReactElement<any, any> {
|
1462
|
+
}
|
1462
1463
|
// (undocumented)
|
1463
|
-
export
|
1464
|
+
export interface IntrinsicElements extends EcsElements {
|
1465
|
+
}
|
1464
1466
|
}
|
1465
1467
|
|
1468
|
+
// @public (undocumented)
|
1469
|
+
export type JSXElementConstructor<P> = (props: P) => ReactElement<any, any> | null;
|
1470
|
+
|
1466
1471
|
// @public (undocumented)
|
1467
1472
|
export type JustifyType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
1468
1473
|
|
@@ -3464,8 +3469,12 @@ export namespace ReactEcs {
|
|
3464
3469
|
export interface Component {
|
3465
3470
|
}
|
3466
3471
|
// (undocumented)
|
3467
|
-
export
|
3468
|
-
|
3472
|
+
export interface Element extends ReactElement<any, any> {
|
3473
|
+
}
|
3474
|
+
export interface IntrinsicElements extends EcsElements {
|
3475
|
+
}
|
3476
|
+
// (undocumented)
|
3477
|
+
export type ReactNode = ReactElement | string | number | boolean | null | undefined;
|
3469
3478
|
}
|
3470
3479
|
const // (undocumented)
|
3471
3480
|
createElement: any;
|
@@ -3478,6 +3487,19 @@ export namespace ReactEcs {
|
|
3478
3487
|
// @public
|
3479
3488
|
export const ReactEcsRenderer: ReactBasedUiSystem;
|
3480
3489
|
|
3490
|
+
// @public (undocumented)
|
3491
|
+
export interface ReactElement<P = any, T extends string | JSXElementConstructor<any> = string | JSXElementConstructor<any>> {
|
3492
|
+
// (undocumented)
|
3493
|
+
key: Key | null;
|
3494
|
+
// (undocumented)
|
3495
|
+
props: P;
|
3496
|
+
// (undocumented)
|
3497
|
+
type: T;
|
3498
|
+
}
|
3499
|
+
|
3500
|
+
// @public (undocumented)
|
3501
|
+
export type ReactNode = ReactElement | string | number | boolean | null | undefined;
|
3502
|
+
|
3481
3503
|
// @public (undocumented)
|
3482
3504
|
export type ReadonlyComponentSchema<T extends [ComponentDefinition<unknown>, ...ComponentDefinition<unknown>[]]> = {
|
3483
3505
|
[K in keyof T]: T[K] extends ComponentDefinition<unknown> ? ReturnType<T[K]['get']> : never;
|
@@ -3976,7 +3998,7 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
3976
3998
|
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
3977
3999
|
|
3978
4000
|
// @public (undocumented)
|
3979
|
-
export type UiComponent = () => ReactEcs.JSX.
|
4001
|
+
export type UiComponent = () => ReactEcs.JSX.ReactNode;
|
3980
4002
|
|
3981
4003
|
// @public (undocumented)
|
3982
4004
|
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.4.22-
|
4
|
+
"version": "7.4.22-9131010642.commit-9fa5dc0",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
|
-
"@dcl/js-runtime": "7.4.22-
|
8
|
-
"@dcl/sdk": "7.4.22-
|
7
|
+
"@dcl/js-runtime": "7.4.22-9131010642.commit-9fa5dc0",
|
8
|
+
"@dcl/sdk": "7.4.22-9131010642.commit-9fa5dc0"
|
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": "
|
35
|
+
"commit": "9fa5dc09277c543b9c91e92d8baad31bfa4c4a13"
|
36
36
|
}
|