@dcl/playground-assets 7.12.2 → 7.12.3-19242573384.commit-09d14b4

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.
@@ -1285,6 +1285,17 @@ declare module "~system/RestrictedActions" {
1285
1285
  }
1286
1286
  export interface TeleportToResponse {
1287
1287
  }
1288
+ export interface SetUiFocusRequest {
1289
+ elementId: string;
1290
+ }
1291
+ export interface ClearUiFocusRequest {
1292
+ }
1293
+ export interface GetUiFocusRequest {
1294
+ }
1295
+ export interface UiFocusResponse {
1296
+ /** the element that is/was focussed */
1297
+ elementId?: string | undefined;
1298
+ }
1288
1299
  export interface CopyToClipboardRequest {
1289
1300
  text: string;
1290
1301
  }
@@ -1311,6 +1322,12 @@ declare module "~system/RestrictedActions" {
1311
1322
  export function setCommunicationsAdapter(body: CommsAdapterRequest): Promise<SuccessResponse>;
1312
1323
  /** TriggerSceneEmote will trigger an scene emote file in this current user */
1313
1324
  export function triggerSceneEmote(body: TriggerSceneEmoteRequest): Promise<SuccessResponse>;
1325
+ /** Sets the focus to a specific UI element */
1326
+ export function setUiFocus(body: SetUiFocusRequest): Promise<UiFocusResponse>;
1327
+ /** Clears the focus from any currently focused textentry or dropdown */
1328
+ export function clearUiFocus(body: SetUiFocusRequest): Promise<UiFocusResponse>;
1329
+ /** Returns the element_id of any currently focused textentry or dropdown */
1330
+ export function getUiFocus(body: GetUiFocusRequest): Promise<UiFocusResponse>;
1314
1331
  /** CopyToClipboard copies the provided text into the clipboard */
1315
1332
  export function copyToClipboard(body: CopyToClipboardRequest): Promise<EmptyResponse>;
1316
1333
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
3
  "description": "",
4
- "version": "7.12.2",
4
+ "version": "7.12.3-19242573384.commit-09d14b4",
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": "9706d6723ac98778df3cbdf9f8d54911cb1a3112"
38
+ "commit": "09d14b48d73584d3cdb89a3bb997b8a6e4f1342e"
39
39
  }