@dcl/js-runtime 7.20.2-22231111352.commit-d2f6f0a → 7.20.2-22309446491.commit-b942bde
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/apis.d.ts +17 -0
- package/package.json +2 -2
package/apis.d.ts
CHANGED
|
@@ -1288,6 +1288,17 @@ declare module "~system/RestrictedActions" {
|
|
|
1288
1288
|
}
|
|
1289
1289
|
export interface TeleportToResponse {
|
|
1290
1290
|
}
|
|
1291
|
+
export interface SetUiFocusRequest {
|
|
1292
|
+
elementId: string;
|
|
1293
|
+
}
|
|
1294
|
+
export interface ClearUiFocusRequest {
|
|
1295
|
+
}
|
|
1296
|
+
export interface GetUiFocusRequest {
|
|
1297
|
+
}
|
|
1298
|
+
export interface UiFocusResponse {
|
|
1299
|
+
/** the element that is/was focussed */
|
|
1300
|
+
elementId?: string | undefined;
|
|
1301
|
+
}
|
|
1291
1302
|
export interface CopyToClipboardRequest {
|
|
1292
1303
|
text: string;
|
|
1293
1304
|
}
|
|
@@ -1318,6 +1329,12 @@ declare module "~system/RestrictedActions" {
|
|
|
1318
1329
|
export function setCommunicationsAdapter(body: CommsAdapterRequest): Promise<SuccessResponse>;
|
|
1319
1330
|
/** TriggerSceneEmote will trigger an scene emote file in this current user */
|
|
1320
1331
|
export function triggerSceneEmote(body: TriggerSceneEmoteRequest): Promise<SuccessResponse>;
|
|
1332
|
+
/** Sets the focus to a specific UI element */
|
|
1333
|
+
export function setUiFocus(body: SetUiFocusRequest): Promise<UiFocusResponse>;
|
|
1334
|
+
/** Clears the focus from any currently focused textentry or dropdown */
|
|
1335
|
+
export function clearUiFocus(body: SetUiFocusRequest): Promise<UiFocusResponse>;
|
|
1336
|
+
/** Returns the element_id of any currently focused textentry or dropdown */
|
|
1337
|
+
export function getUiFocus(body: GetUiFocusRequest): Promise<UiFocusResponse>;
|
|
1321
1338
|
/** CopyToClipboard copies the provided text into the clipboard */
|
|
1322
1339
|
export function copyToClipboard(body: CopyToClipboardRequest): Promise<EmptyResponse>;
|
|
1323
1340
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/js-runtime",
|
|
3
3
|
"description": "JavaScript runtime definitions for Decentraland environments",
|
|
4
|
-
"version": "7.20.2-
|
|
4
|
+
"version": "7.20.2-22309446491.commit-b942bde",
|
|
5
5
|
"author": "",
|
|
6
6
|
"files": [
|
|
7
7
|
"index.d.ts",
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
},
|
|
21
21
|
"types": "./index.d.ts",
|
|
22
22
|
"typings": "./index.d.ts",
|
|
23
|
-
"commit": "
|
|
23
|
+
"commit": "b942bde1a614af3ccadcb1809e4d96d0b90368a8"
|
|
24
24
|
}
|