@dcl/playground-assets 7.0.6-3803395793.commit-999a6b9 → 7.0.6-3808564125.commit-7a2650b

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.
@@ -78,6 +78,15 @@ export const AvatarTexture: {
78
78
  decode(input: _m0.Reader | Uint8Array, length?: number): AvatarTexture;
79
79
  };
80
80
 
81
+ // Warning: (ae-missing-release-tag) "BackgroundTextureMode" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
82
+ //
83
+ // @public (undocumented)
84
+ export const enum BackgroundTextureMode {
85
+ CENTER = 1,
86
+ NINE_SLICES = 0,
87
+ STRETCH = 2
88
+ }
89
+
81
90
  // @public (undocumented)
82
91
  export const Billboard: ComponentDefinition<PBBillboard>;
83
92
 
@@ -91,6 +100,30 @@ export const enum BillboardMode {
91
100
  BM_Y_AXE = 1
92
101
  }
93
102
 
103
+ // Warning: (ae-missing-release-tag) "BorderRect" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
104
+ // Warning: (ae-missing-release-tag) "BorderRect" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
105
+ //
106
+ // @public
107
+ export interface BorderRect {
108
+ // (undocumented)
109
+ bottom: number;
110
+ // (undocumented)
111
+ left: number;
112
+ // (undocumented)
113
+ right: number;
114
+ // (undocumented)
115
+ top: number;
116
+ }
117
+
118
+ // @public
119
+ export const BorderRect: {
120
+ encode(message: BorderRect, writer?: _m0.Writer): _m0.Writer;
121
+ decode(input: _m0.Reader | Uint8Array, length?: number): BorderRect;
122
+ };
123
+
124
+ // @public (undocumented)
125
+ export function Button(props: EntityPropTypes & UiButtonProps): ReactEcs.JSX.Element;
126
+
94
127
  // @public (undocumented)
95
128
  export type ByteBuffer = {
96
129
  buffer(): Uint8Array;
@@ -111,10 +144,12 @@ export type ByteBuffer = {
111
144
  readUint32(): number;
112
145
  readUint64(): bigint;
113
146
  readBuffer(): Uint8Array;
147
+ readUtf8String(): string;
114
148
  incrementWriteOffset(amount: number): number;
115
149
  size(): number;
116
150
  toBinary(): Uint8Array;
117
151
  toCopiedBinary(): Uint8Array;
152
+ writeUtf8String(value: string, writeLength?: boolean): void;
118
153
  writeBuffer(value: Uint8Array, writeLength?: boolean): void;
119
154
  writeFloat32(value: number): void;
120
155
  writeFloat64(value: number): void;
@@ -148,6 +183,11 @@ export type ByteBuffer = {
148
183
  setUint64(offset: number, value: bigint): void;
149
184
  };
150
185
 
186
+ // Warning: (ae-missing-release-tag) "Callback" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
187
+ //
188
+ // @public (undocumented)
189
+ export type Callback = () => void;
190
+
151
191
  // @public (undocumented)
152
192
  export const CameraMode: ComponentDefinition<PBCameraMode>;
153
193
 
@@ -172,7 +212,7 @@ export const CANVAS_ROOT_ENTITY = 0;
172
212
  // 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)
173
213
  //
174
214
  // @public (undocumented)
175
- export type Children = any;
215
+ export type Children = unknown;
176
216
 
177
217
  // Warning: (ae-missing-release-tag) "ColliderLayer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
178
218
  //
@@ -368,16 +408,6 @@ export type ComponentSchema<T extends [ComponentDefinition<any>, ...ComponentDef
368
408
  [K in keyof T]: T[K] extends ComponentDefinition<any> ? ReturnType<T[K]['getMutable']> : never;
369
409
  };
370
410
 
371
- // Warning: (ae-missing-release-tag) "Container" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
372
- //
373
- // @public (undocumented)
374
- export function Container({ width, height, children }: ContainerPropTypes): ReactEcs.JSX.Element;
375
-
376
- // Warning: (ae-missing-release-tag) "ContainerPropTypes" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
377
- //
378
- // @public (undocumented)
379
- export type ContainerPropTypes = Partial<CommonProps> & EntityPropTypes['uiTransform'];
380
-
381
411
  // Warning: (ae-missing-release-tag) "createEthereumProvider" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
382
412
  //
383
413
  // @public (undocumented)
@@ -398,9 +428,9 @@ export function createPointerEventSystem(engine: IEngine, inputSystem: IInputSys
398
428
  removeOnClick(entity: Entity): void;
399
429
  removeOnPointerDown(entity: Entity): void;
400
430
  removeOnPointerUp(entity: Entity): void;
401
- onClick(entity: Entity, cb: EventSystemCallback, opts?: EventSystemOptions): void;
402
- onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: EventSystemOptions): void;
403
- onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: EventSystemOptions): void;
431
+ onClick(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
432
+ onPointerDown(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
433
+ onPointerUp(entity: Entity, cb: EventSystemCallback, opts?: Partial<EventSystemOptions>): void;
404
434
  };
405
435
 
406
436
  // Warning: (ae-missing-release-tag) "createReactBasedUiSystem" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
@@ -444,11 +474,14 @@ export function defineComponent<T>(componentId: number, spec: ISchema<T>): Compo
444
474
  // @public
445
475
  export const DEG2RAD: number;
446
476
 
477
+ // @public (undocumented)
478
+ export function Dropdown(props: EntityPropTypes & UiDropdownProps): ReactEcs.JSX.Element;
479
+
447
480
  // Warning: (ae-missing-release-tag) "EcsElements" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
448
481
  //
449
482
  // @public (undocumented)
450
483
  export type EcsElements = {
451
- entity: Partial<Omit<EntityComponents, 'onClick'> & CommonProps>;
484
+ entity: Partial<EntityComponents & CommonProps>;
452
485
  };
453
486
 
454
487
  // @public (undocumented)
@@ -477,7 +510,10 @@ export type EntityComponents = {
477
510
  uiTransform: PBUiTransform;
478
511
  uiText: PBUiText;
479
512
  uiBackground: PBUiBackground;
480
- onClick: EventSystemCallback;
513
+ uiInput: PBUiInput;
514
+ uiDropdown: PBUiDropdown;
515
+ onMouseDown: Callback;
516
+ onMouseUp: Callback;
481
517
  };
482
518
 
483
519
  // Warning: (ae-missing-release-tag) "EntityContainer" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
@@ -493,9 +529,8 @@ export function EntityContainer(): {
493
529
  // @public (undocumented)
494
530
  export type EntityPropTypes = {
495
531
  uiTransform?: UiTransformProps;
496
- uiText?: PBUiText;
497
- uiBackground?: PBUiBackground;
498
- };
532
+ uiBackground?: UiBackgroundProps;
533
+ } & Listeners;
499
534
 
500
535
  // @public
501
536
  export const Epsilon = 0.000001;
@@ -509,9 +544,10 @@ export type EventSystemCallback = (event: PBPointerEventsResult_PointerCommand)
509
544
  //
510
545
  // @public (undocumented)
511
546
  export type EventSystemOptions = {
512
- button?: InputAction;
547
+ button: InputAction;
513
548
  hoverText?: string;
514
549
  maxDistance?: number;
550
+ showFeedback?: boolean;
515
551
  };
516
552
 
517
553
  // Warning: (ae-missing-release-tag) "ExcludeUndefined" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
@@ -798,6 +834,9 @@ export type IncludeUndefined<T> = {
798
834
  [P in keyof T]: undefined extends T[P] ? P : never;
799
835
  }[keyof T];
800
836
 
837
+ // @public (undocumented)
838
+ export function Input(props: EntityPropTypes & Partial<UiInputProps>): ReactEcs.JSX.Element;
839
+
801
840
  // Warning: (ae-missing-release-tag) "InputAction" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
802
841
  //
803
842
  // @public (undocumented)
@@ -868,7 +907,7 @@ export type ISchema<T = any> = {
868
907
  // Warning: (ae-missing-release-tag) "isListener" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
869
908
  //
870
909
  // @public (undocumented)
871
- export const isListener: (key: string) => key is "onClick";
910
+ export const isListener: (key: string) => key is keyof Listeners;
872
911
 
873
912
  // Warning: (ae-missing-release-tag) "JSX" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
874
913
  //
@@ -878,8 +917,7 @@ export namespace JSX {
878
917
  export interface Component {
879
918
  }
880
919
  // (undocumented)
881
- export interface Element {
882
- }
920
+ export type Element = {} | null;
883
921
  // (undocumented)
884
922
  export type IntrinsicElements = EcsElements;
885
923
  }
@@ -889,11 +927,15 @@ export namespace JSX {
889
927
  // @public (undocumented)
890
928
  export type Key = number | string;
891
929
 
930
+ // @public (undocumented)
931
+ export function Label(props: EntityPropTypes & UiTextProps): ReactEcs.JSX.Element;
932
+
892
933
  // Warning: (ae-missing-release-tag) "Listeners" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
893
934
  //
894
935
  // @public (undocumented)
895
936
  export type Listeners = {
896
- onClick?: EventSystemCallback;
937
+ onMouseDown?: Callback;
938
+ onMouseUp?: Callback;
897
939
  };
898
940
 
899
941
  // Warning: (ae-missing-release-tag) "MapComponentDefinition" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
@@ -1854,6 +1896,55 @@ export const PBNftShape: {
1854
1896
  decode(input: _m0.Reader | Uint8Array, length?: number): PBNftShape;
1855
1897
  };
1856
1898
 
1899
+ // Warning: (ae-missing-release-tag) "PBPointerEvents" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1900
+ // Warning: (ae-missing-release-tag) "PBPointerEvents" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1901
+ //
1902
+ // @public (undocumented)
1903
+ export interface PBPointerEvents {
1904
+ // (undocumented)
1905
+ pointerEvents: PBPointerEvents_Entry[];
1906
+ }
1907
+
1908
+ // @public
1909
+ export const PBPointerEvents: {
1910
+ encode(message: PBPointerEvents, writer?: _m0.Writer): _m0.Writer;
1911
+ decode(input: _m0.Reader | Uint8Array, length?: number): PBPointerEvents;
1912
+ };
1913
+
1914
+ // Warning: (ae-missing-release-tag) "PBPointerEvents_Entry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1915
+ // Warning: (ae-missing-release-tag) "PBPointerEvents_Entry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1916
+ //
1917
+ // @public (undocumented)
1918
+ export interface PBPointerEvents_Entry {
1919
+ // (undocumented)
1920
+ eventInfo: PBPointerEvents_Info | undefined;
1921
+ // (undocumented)
1922
+ eventType: PointerEventType;
1923
+ }
1924
+
1925
+ // @public
1926
+ export const PBPointerEvents_Entry: {
1927
+ encode(message: PBPointerEvents_Entry, writer?: _m0.Writer): _m0.Writer;
1928
+ decode(input: _m0.Reader | Uint8Array, length?: number): PBPointerEvents_Entry;
1929
+ };
1930
+
1931
+ // Warning: (ae-missing-release-tag) "PBPointerEvents_Info" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1932
+ // Warning: (ae-missing-release-tag) "PBPointerEvents_Info" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1933
+ //
1934
+ // @public (undocumented)
1935
+ export interface PBPointerEvents_Info {
1936
+ button?: InputAction | undefined;
1937
+ hoverText?: string | undefined;
1938
+ maxDistance?: number | undefined;
1939
+ showFeedback?: boolean | undefined;
1940
+ }
1941
+
1942
+ // @public
1943
+ export const PBPointerEvents_Info: {
1944
+ encode(message: PBPointerEvents_Info, writer?: _m0.Writer): _m0.Writer;
1945
+ decode(input: _m0.Reader | Uint8Array, length?: number): PBPointerEvents_Info;
1946
+ };
1947
+
1857
1948
  // Warning: (ae-missing-release-tag) "PBPointerEventsResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1858
1949
  // Warning: (ae-missing-release-tag) "PBPointerEventsResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1859
1950
  //
@@ -1888,55 +1979,6 @@ export const PBPointerEventsResult_PointerCommand: {
1888
1979
  decode(input: _m0.Reader | Uint8Array, length?: number): PBPointerEventsResult_PointerCommand;
1889
1980
  };
1890
1981
 
1891
- // Warning: (ae-missing-release-tag) "PBPointerHoverFeedback" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1892
- // Warning: (ae-missing-release-tag) "PBPointerHoverFeedback" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1893
- //
1894
- // @public (undocumented)
1895
- export interface PBPointerHoverFeedback {
1896
- // (undocumented)
1897
- pointerEvents: PBPointerHoverFeedback_Entry[];
1898
- }
1899
-
1900
- // @public
1901
- export const PBPointerHoverFeedback: {
1902
- encode(message: PBPointerHoverFeedback, writer?: _m0.Writer): _m0.Writer;
1903
- decode(input: _m0.Reader | Uint8Array, length?: number): PBPointerHoverFeedback;
1904
- };
1905
-
1906
- // Warning: (ae-missing-release-tag) "PBPointerHoverFeedback_Entry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1907
- // Warning: (ae-missing-release-tag) "PBPointerHoverFeedback_Entry" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1908
- //
1909
- // @public (undocumented)
1910
- export interface PBPointerHoverFeedback_Entry {
1911
- // (undocumented)
1912
- eventInfo: PBPointerHoverFeedback_Info | undefined;
1913
- // (undocumented)
1914
- eventType: PointerEventType;
1915
- }
1916
-
1917
- // @public
1918
- export const PBPointerHoverFeedback_Entry: {
1919
- encode(message: PBPointerHoverFeedback_Entry, writer?: _m0.Writer): _m0.Writer;
1920
- decode(input: _m0.Reader | Uint8Array, length?: number): PBPointerHoverFeedback_Entry;
1921
- };
1922
-
1923
- // Warning: (ae-missing-release-tag) "PBPointerHoverFeedback_Info" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1924
- // Warning: (ae-missing-release-tag) "PBPointerHoverFeedback_Info" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1925
- //
1926
- // @public (undocumented)
1927
- export interface PBPointerHoverFeedback_Info {
1928
- button?: InputAction | undefined;
1929
- hoverText?: string | undefined;
1930
- maxDistance?: number | undefined;
1931
- showFeedback?: boolean | undefined;
1932
- }
1933
-
1934
- // @public
1935
- export const PBPointerHoverFeedback_Info: {
1936
- encode(message: PBPointerHoverFeedback_Info, writer?: _m0.Writer): _m0.Writer;
1937
- decode(input: _m0.Reader | Uint8Array, length?: number): PBPointerHoverFeedback_Info;
1938
- };
1939
-
1940
1982
  // Warning: (ae-missing-release-tag) "PBPointerLock" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1941
1983
  // Warning: (ae-missing-release-tag) "PBPointerLock" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1942
1984
  //
@@ -2062,7 +2104,13 @@ export const PBTextShape: {
2062
2104
  //
2063
2105
  // @public (undocumented)
2064
2106
  export interface PBUiBackground {
2065
- backgroundColor?: PBColor4 | undefined;
2107
+ color?: PBColor4 | undefined;
2108
+ // (undocumented)
2109
+ texture?: TextureUnion | undefined;
2110
+ // (undocumented)
2111
+ textureMode: BackgroundTextureMode;
2112
+ textureSlices?: BorderRect | undefined;
2113
+ uvs: number[];
2066
2114
  }
2067
2115
 
2068
2116
  // @public
@@ -2071,6 +2119,84 @@ export const PBUiBackground: {
2071
2119
  decode(input: _m0.Reader | Uint8Array, length?: number): PBUiBackground;
2072
2120
  };
2073
2121
 
2122
+ // Warning: (ae-missing-release-tag) "PBUiDropdown" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2123
+ // Warning: (ae-missing-release-tag) "PBUiDropdown" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2124
+ //
2125
+ // @public (undocumented)
2126
+ export interface PBUiDropdown {
2127
+ // (undocumented)
2128
+ acceptEmpty: boolean;
2129
+ color?: PBColor4 | undefined;
2130
+ // (undocumented)
2131
+ disabled: boolean;
2132
+ // (undocumented)
2133
+ emptyLabel?: string | undefined;
2134
+ font?: Font | undefined;
2135
+ fontSize?: number | undefined;
2136
+ // (undocumented)
2137
+ options: string[];
2138
+ selectedIndex?: number | undefined;
2139
+ textAlign?: TextAlignMode | undefined;
2140
+ }
2141
+
2142
+ // @public
2143
+ export const PBUiDropdown: {
2144
+ encode(message: PBUiDropdown, writer?: _m0.Writer): _m0.Writer;
2145
+ decode(input: _m0.Reader | Uint8Array, length?: number): PBUiDropdown;
2146
+ };
2147
+
2148
+ // Warning: (ae-missing-release-tag) "PBUiDropdownResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2149
+ // Warning: (ae-missing-release-tag) "PBUiDropdownResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2150
+ //
2151
+ // @public (undocumented)
2152
+ export interface PBUiDropdownResult {
2153
+ // (undocumented)
2154
+ value: number;
2155
+ }
2156
+
2157
+ // @public
2158
+ export const PBUiDropdownResult: {
2159
+ encode(message: PBUiDropdownResult, writer?: _m0.Writer): _m0.Writer;
2160
+ decode(input: _m0.Reader | Uint8Array, length?: number): PBUiDropdownResult;
2161
+ };
2162
+
2163
+ // Warning: (ae-missing-release-tag) "PBUiInput" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2164
+ // Warning: (ae-missing-release-tag) "PBUiInput" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2165
+ //
2166
+ // @public (undocumented)
2167
+ export interface PBUiInput {
2168
+ color?: PBColor4 | undefined;
2169
+ // (undocumented)
2170
+ disabled: boolean;
2171
+ font?: Font | undefined;
2172
+ fontSize?: number | undefined;
2173
+ // (undocumented)
2174
+ placeholder: string;
2175
+ placeholderColor?: PBColor4 | undefined;
2176
+ textAlign?: TextAlignMode | undefined;
2177
+ }
2178
+
2179
+ // @public
2180
+ export const PBUiInput: {
2181
+ encode(message: PBUiInput, writer?: _m0.Writer): _m0.Writer;
2182
+ decode(input: _m0.Reader | Uint8Array, length?: number): PBUiInput;
2183
+ };
2184
+
2185
+ // Warning: (ae-missing-release-tag) "PBUiInputResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2186
+ // Warning: (ae-missing-release-tag) "PBUiInputResult" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2187
+ //
2188
+ // @public (undocumented)
2189
+ export interface PBUiInputResult {
2190
+ // (undocumented)
2191
+ value: string;
2192
+ }
2193
+
2194
+ // @public
2195
+ export const PBUiInputResult: {
2196
+ encode(message: PBUiInputResult, writer?: _m0.Writer): _m0.Writer;
2197
+ decode(input: _m0.Reader | Uint8Array, length?: number): PBUiInputResult;
2198
+ };
2199
+
2074
2200
  // Warning: (ae-missing-release-tag) "PBUiText" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2075
2201
  // Warning: (ae-missing-release-tag) "PBUiText" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2076
2202
  //
@@ -2260,6 +2386,9 @@ export namespace Plane {
2260
2386
  export function transform(plane: ReadonlyPlane, transformation: Matrix.ReadonlyMatrix): MutablePlane;
2261
2387
  }
2262
2388
 
2389
+ // @public (undocumented)
2390
+ export const PointerEvents: ComponentDefinition<PBPointerEvents>;
2391
+
2263
2392
  // @public (undocumented)
2264
2393
  export const PointerEventsResult: ComponentDefinition<PBPointerEventsResult>;
2265
2394
 
@@ -2275,9 +2404,9 @@ export const pointerEventsSystem: {
2275
2404
  removeOnClick(entity: unknown): void;
2276
2405
  removeOnPointerDown(entity: unknown): void;
2277
2406
  removeOnPointerUp(entity: unknown): void;
2278
- onClick(entity: unknown, cb: EventSystemCallback, opts?: EventSystemOptions | undefined): void;
2279
- onPointerDown(entity: unknown, cb: EventSystemCallback, opts?: EventSystemOptions | undefined): void;
2280
- onPointerUp(entity: unknown, cb: EventSystemCallback, opts?: EventSystemOptions | undefined): void;
2407
+ onClick(entity: unknown, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
2408
+ onPointerDown(entity: unknown, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
2409
+ onPointerUp(entity: unknown, cb: EventSystemCallback, opts?: Partial<EventSystemOptions> | undefined): void;
2281
2410
  };
2282
2411
 
2283
2412
  // Warning: (ae-missing-release-tag) "PointerEventType" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
@@ -2294,9 +2423,6 @@ export const enum PointerEventType {
2294
2423
  PET_UP = 0
2295
2424
  }
2296
2425
 
2297
- // @public (undocumented)
2298
- export const PointerHoverFeedback: ComponentDefinition<PBPointerHoverFeedback>;
2299
-
2300
2426
  // @public (undocumented)
2301
2427
  export const PointerLock: ComponentDefinition<PBPointerLock>;
2302
2428
 
@@ -2445,8 +2571,7 @@ export namespace ReactEcs {
2445
2571
  export interface Component {
2446
2572
  }
2447
2573
  // (undocumented)
2448
- export interface Element {
2449
- }
2574
+ export type Element = {} | null;
2450
2575
  // (undocumented)
2451
2576
  export type IntrinsicElements = EcsElements;
2452
2577
  }
@@ -2743,20 +2868,66 @@ export type Transport = {
2743
2868
  // @public (undocumented)
2744
2869
  export type TransportMessage = Omit<ReceiveMessage, 'data'>;
2745
2870
 
2871
+ // @public (undocumented)
2872
+ export type UiAvatarTexture = {
2873
+ avatarTexture?: AvatarTexture;
2874
+ };
2875
+
2746
2876
  // @public (undocumented)
2747
2877
  export const UiBackground: ComponentDefinition<PBUiBackground>;
2748
2878
 
2879
+ // @public (undocumented)
2880
+ export type UiBackgroundProps = Partial<Omit<PBUiBackground, 'texture'>> & UiTextureUnion;
2881
+
2882
+ // @public (undocumented)
2883
+ export type UiButtonProps = PBUiText & {
2884
+ type?: 'primary' | 'secondary';
2885
+ };
2886
+
2749
2887
  // Warning: (ae-missing-release-tag) "UiComponent" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
2750
2888
  //
2751
2889
  // @public (undocumented)
2752
2890
  export type UiComponent = () => JSX.Element;
2753
2891
 
2892
+ // @public (undocumented)
2893
+ export const UiDropdown: ComponentDefinition<PBUiDropdown>;
2894
+
2895
+ // @public (undocumented)
2896
+ export type UiDropdownProps = Partial<PBUiDropdown> & {
2897
+ onChange?(value: number): void;
2898
+ };
2899
+
2900
+ // @public (undocumented)
2901
+ export const UiDropdownResult: ComponentDefinition<PBUiDropdownResult>;
2902
+
2754
2903
  // @public (undocumented)
2755
2904
  export function UiEntity(props: EntityPropTypes & Partial<CommonProps>): ReactEcs.JSX.Element;
2756
2905
 
2906
+ // @public (undocumented)
2907
+ export const UiInput: ComponentDefinition<PBUiInput>;
2908
+
2909
+ // @public (undocumented)
2910
+ export type UiInputProps = PBUiInput & {
2911
+ onChange?(value: string): void;
2912
+ };
2913
+
2914
+ // @public (undocumented)
2915
+ export const UiInputResult: ComponentDefinition<PBUiInputResult>;
2916
+
2757
2917
  // @public (undocumented)
2758
2918
  export const UiText: ComponentDefinition<PBUiText>;
2759
2919
 
2920
+ // @public (undocumented)
2921
+ export type UiTextProps = PBUiText;
2922
+
2923
+ // @public (undocumented)
2924
+ export type UiTexture = {
2925
+ texture?: Texture;
2926
+ };
2927
+
2928
+ // @public (undocumented)
2929
+ export type UiTextureUnion = UiAvatarTexture | UiTexture;
2930
+
2760
2931
  // @public (undocumented)
2761
2932
  export const UiTransform: ComponentDefinition<PBUiTransform>;
2762
2933
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
- "version": "7.0.6-3803395793.commit-999a6b9",
3
+ "version": "7.0.6-3808564125.commit-7a2650b",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "typings": "./dist/index.d.ts",
@@ -17,12 +17,12 @@
17
17
  "author": "Decentraland",
18
18
  "license": "Apache-2.0",
19
19
  "dependencies": {
20
- "@dcl/sdk": "7.0.6-3803395793.commit-999a6b9"
20
+ "@dcl/sdk": "7.0.6-3808564125.commit-7a2650b"
21
21
  },
22
22
  "minCliVersion": "3.12.3",
23
23
  "files": [
24
24
  "dist",
25
25
  "etc"
26
26
  ],
27
- "commit": "999a6b968b90045203c1d22ea5f7776af8f068f5"
27
+ "commit": "7a2650b741ac5f5a5d3f00ac1c955e5f773d679a"
28
28
  }