@dcl/playground-assets 7.5.1-9259817556.commit-b9f9e94 → 7.5.1-9349876127.commit-ca3ef96

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.
@@ -136,13 +136,6 @@ export const AvatarAttach: LastWriteWinElementSetComponentDefinition<PBAvatarAtt
136
136
  // @public (undocumented)
137
137
  export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>;
138
138
 
139
- // @public (undocumented)
140
- export const enum AvatarControlType {
141
- CCT_NONE = 0,
142
- CCT_RELATIVE = 1,
143
- CCT_TANK = 2
144
- }
145
-
146
139
  // @public (undocumented)
147
140
  export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
148
141
 
@@ -158,28 +151,6 @@ export const enum AvatarModifierType {
158
151
  AMT_HIDE_AVATARS = 0
159
152
  }
160
153
 
161
- // @public (undocumented)
162
- export interface AvatarMovementSettings {
163
- allowWeightedMovement?: boolean | undefined;
164
- // (undocumented)
165
- controlMode?: AvatarControlType | undefined;
166
- friction?: number | undefined;
167
- gravity?: number | undefined;
168
- jumpHeight?: number | undefined;
169
- maxFallSpeed?: number | undefined;
170
- runSpeed?: number | undefined;
171
- turnSpeed?: number | undefined;
172
- walkSpeed?: number | undefined;
173
- }
174
-
175
- // @public (undocumented)
176
- export namespace AvatarMovementSettings {
177
- // (undocumented)
178
- export function decode(input: _m0.Reader | Uint8Array, length?: number): AvatarMovementSettings;
179
- // (undocumented)
180
- export function encode(message: AvatarMovementSettings, writer?: _m0.Writer): _m0.Writer;
181
- }
182
-
183
154
  // @public (undocumented)
184
155
  export const AvatarShape: LastWriteWinElementSetComponentDefinition<PBAvatarShape>;
185
156
 
@@ -394,30 +365,7 @@ export const enum CameraType {
394
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)
395
366
  //
396
367
  // @public (undocumented)
397
- export type Children = unknown;
398
-
399
- // @public (undocumented)
400
- export interface CinematicSettings {
401
- // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
402
- // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
403
- // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
404
- // Warning: (tsdoc-escape-greater-than) The ">" character should be escaped using a backslash to avoid confusion with an HTML tag
405
- allowManualRotation?: boolean | undefined;
406
- cameraEntity: number;
407
- pitchRange?: number | undefined;
408
- rollRange?: number | undefined;
409
- yawRange?: number | undefined;
410
- zoomMax?: number | undefined;
411
- zoomMin?: number | undefined;
412
- }
413
-
414
- // @public (undocumented)
415
- export namespace CinematicSettings {
416
- // (undocumented)
417
- export function decode(input: _m0.Reader | Uint8Array, length?: number): CinematicSettings;
418
- // (undocumented)
419
- export function encode(message: CinematicSettings, writer?: _m0.Writer): _m0.Writer;
420
- }
368
+ export type Children = ReactNode;
421
369
 
422
370
  // @public (undocumented)
423
371
  export const enum ColliderLayer {
@@ -1064,7 +1012,7 @@ export const enum EasingFunction {
1064
1012
  export interface EcsElements {
1065
1013
  // (undocumented)
1066
1014
  entity: Partial<EntityComponents> & {
1067
- children?: Children;
1015
+ children?: ReactNode;
1068
1016
  key?: Key;
1069
1017
  };
1070
1018
  }
@@ -1510,11 +1458,16 @@ export namespace JSX {
1510
1458
  export interface Component {
1511
1459
  }
1512
1460
  // (undocumented)
1513
- export type Element = {} | null;
1461
+ export interface Element extends ReactElement<any, any> {
1462
+ }
1514
1463
  // (undocumented)
1515
- export type IntrinsicElements = EcsElements;
1464
+ export interface IntrinsicElements extends EcsElements {
1465
+ }
1516
1466
  }
1517
1467
 
1468
+ // @public (undocumented)
1469
+ export type JSXElementConstructor<P> = (props: P) => ReactElement<any, any> | null;
1470
+
1518
1471
  // @public (undocumented)
1519
1472
  export type JustifyType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
1520
1473
 
@@ -2195,9 +2148,6 @@ export interface PBAvatarModifierArea {
2195
2148
  area: PBVector3 | undefined;
2196
2149
  excludeIds: string[];
2197
2150
  modifiers: AvatarModifierType[];
2198
- // (undocumented)
2199
- movementSettings?: AvatarMovementSettings | undefined;
2200
- useColliderRange?: boolean | undefined;
2201
2151
  }
2202
2152
 
2203
2153
  // @public (undocumented)
@@ -2260,10 +2210,7 @@ export namespace PBCameraMode {
2260
2210
  // @public (undocumented)
2261
2211
  export interface PBCameraModeArea {
2262
2212
  area: PBVector3 | undefined;
2263
- // (undocumented)
2264
- cinematicSettings?: CinematicSettings | undefined;
2265
2213
  mode: CameraType;
2266
- useColliderRange?: boolean | undefined;
2267
2214
  }
2268
2215
 
2269
2216
  // @public (undocumented)
@@ -3000,10 +2947,7 @@ export interface PBUiText {
3000
2947
  color?: PBColor4 | undefined;
3001
2948
  font?: Font | undefined;
3002
2949
  fontSize?: number | undefined;
3003
- outlineColor?: PBColor4 | undefined;
3004
- outlineWidth?: number | undefined;
3005
2950
  textAlign?: TextAlignMode | undefined;
3006
- textWrapping?: boolean | undefined;
3007
2951
  value: string;
3008
2952
  }
3009
2953
 
@@ -3057,7 +3001,6 @@ export interface PBUiTransform {
3057
3001
  // (undocumented)
3058
3002
  minWidth: number;
3059
3003
  minWidthUnit: YGUnit;
3060
- opacity?: number | undefined;
3061
3004
  overflow: YGOverflow;
3062
3005
  // (undocumented)
3063
3006
  paddingBottom: number;
@@ -3526,8 +3469,12 @@ export namespace ReactEcs {
3526
3469
  export interface Component {
3527
3470
  }
3528
3471
  // (undocumented)
3529
- export type Element = {} | null;
3530
- export type IntrinsicElements = EcsElements;
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 | ReactElement[];
3531
3478
  }
3532
3479
  const // (undocumented)
3533
3480
  createElement: any;
@@ -3540,6 +3487,19 @@ export namespace ReactEcs {
3540
3487
  // @public
3541
3488
  export const ReactEcsRenderer: ReactBasedUiSystem;
3542
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
+
3543
3503
  // @public (undocumented)
3544
3504
  export type ReadonlyComponentSchema<T extends [ComponentDefinition<unknown>, ...ComponentDefinition<unknown>[]]> = {
3545
3505
  [K in keyof T]: T[K] extends ComponentDefinition<unknown> ? ReturnType<T[K]['get']> : never;
@@ -4038,7 +3998,7 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
4038
3998
  export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
4039
3999
 
4040
4000
  // @public (undocumented)
4041
- export type UiComponent = () => ReactEcs.JSX.Element;
4001
+ export type UiComponent = () => ReactEcs.JSX.ReactNode;
4042
4002
 
4043
4003
  // @public (undocumented)
4044
4004
  export const UiDropdown: LastWriteWinElementSetComponentDefinition<PBUiDropdown>;
@@ -4091,10 +4051,7 @@ export interface UiLabelProps {
4091
4051
  color?: PBColor4 | undefined;
4092
4052
  font?: UiFontType | undefined;
4093
4053
  fontSize?: ScaleUnit | undefined;
4094
- outlineColor?: PBColor4 | undefined;
4095
- outlineWidth?: number | undefined;
4096
4054
  textAlign?: TextAlignType | undefined;
4097
- textWrapping?: boolean | undefined;
4098
4055
  value: string;
4099
4056
  }
4100
4057
 
@@ -4133,7 +4090,6 @@ export interface UiTransformProps {
4133
4090
  maxWidth?: PositionUnit;
4134
4091
  minHeight?: PositionUnit;
4135
4092
  minWidth?: PositionUnit;
4136
- opacity?: number;
4137
4093
  overflow?: OverflowType;
4138
4094
  padding?: Partial<Position> | PositionShorthand;
4139
4095
  pointerFilter?: PointerFilterType;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.5.1-9259817556.commit-b9f9e94",
4
+ "version": "7.5.1-9349876127.commit-ca3ef96",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.5.1-9259817556.commit-b9f9e94",
8
- "@dcl/sdk": "7.5.1-9259817556.commit-b9f9e94"
7
+ "@dcl/js-runtime": "7.5.1-9349876127.commit-ca3ef96",
8
+ "@dcl/sdk": "7.5.1-9349876127.commit-ca3ef96"
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": "b9f9e94659a7474d2c57118e23efb58a77c1b556"
35
+ "commit": "ca3ef964cedc719294f9794e0a8584c3d1e132ca"
36
36
  }