@dcl/playground-assets 7.23.4-26110424113.commit-4b40cec → 7.23.4-26770223094.commit-52b9415
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 +51 -18
- package/dist/beta.d.ts +51 -18
- package/dist/index.bundled.d.ts +51 -18
- package/dist/index.js +5 -5
- package/dist/playground/sdk/apis.d.ts +0 -6
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +51 -18
- package/etc/playground-assets.api.json +146 -167
- package/etc/playground-assets.api.md +11 -12
- package/package.json +4 -4
|
@@ -1293,7 +1293,6 @@ declare module "~system/RestrictedActions" {
|
|
|
1293
1293
|
}
|
|
1294
1294
|
export interface TriggerEmoteRequest {
|
|
1295
1295
|
predefinedEmote: string;
|
|
1296
|
-
mask?: number | undefined;
|
|
1297
1296
|
}
|
|
1298
1297
|
export interface ChangeRealmRequest {
|
|
1299
1298
|
realm: string;
|
|
@@ -1313,7 +1312,6 @@ declare module "~system/RestrictedActions" {
|
|
|
1313
1312
|
export interface TriggerSceneEmoteRequest {
|
|
1314
1313
|
src: string;
|
|
1315
1314
|
loop?: boolean | undefined;
|
|
1316
|
-
mask?: number | undefined;
|
|
1317
1315
|
}
|
|
1318
1316
|
export interface SuccessResponse {
|
|
1319
1317
|
success: boolean;
|
|
@@ -1329,8 +1327,6 @@ declare module "~system/RestrictedActions" {
|
|
|
1329
1327
|
text: string;
|
|
1330
1328
|
}
|
|
1331
1329
|
export interface EmptyResponse {
|
|
1332
|
-
}
|
|
1333
|
-
export interface StopEmoteRequest {
|
|
1334
1330
|
}
|
|
1335
1331
|
|
|
1336
1332
|
// Function declaration section
|
|
@@ -1359,8 +1355,6 @@ declare module "~system/RestrictedActions" {
|
|
|
1359
1355
|
export function triggerSceneEmote(body: TriggerSceneEmoteRequest): Promise<SuccessResponse>;
|
|
1360
1356
|
/** CopyToClipboard copies the provided text into the clipboard */
|
|
1361
1357
|
export function copyToClipboard(body: CopyToClipboardRequest): Promise<EmptyResponse>;
|
|
1362
|
-
/** StopEmote will stop the current emote */
|
|
1363
|
-
export function stopEmote(body: StopEmoteRequest): Promise<SuccessResponse>;
|
|
1364
1358
|
|
|
1365
1359
|
}
|
|
1366
1360
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/sdk",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.23.4-
|
|
4
|
+
"version": "7.23.4-26770223094.commit-52b9415",
|
|
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": "
|
|
38
|
+
"commit": "52b9415ebab8c77313e9fbc0725fd2e5f916d3c3"
|
|
39
39
|
}
|
|
@@ -261,15 +261,6 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
|
|
|
261
261
|
/** @public */
|
|
262
262
|
export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
263
263
|
|
|
264
|
-
/** Mask for which bones an animation applies to. */
|
|
265
|
-
/**
|
|
266
|
-
* @public
|
|
267
|
-
*/
|
|
268
|
-
export declare const enum AvatarEmoteMask {
|
|
269
|
-
AEM_FULL_BODY = 0,
|
|
270
|
-
AEM_UPPER_BODY = 1
|
|
271
|
-
}
|
|
272
|
-
|
|
273
264
|
/** @public */
|
|
274
265
|
export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
275
266
|
|
|
@@ -4843,12 +4834,6 @@ export declare interface PBAvatarLocomotionSettings {
|
|
|
4843
4834
|
runJumpHeight?: number | undefined;
|
|
4844
4835
|
/** Cooldown time after a hard landing before the avatar can move again (in seconds) */
|
|
4845
4836
|
hardLandingCooldown?: number | undefined;
|
|
4846
|
-
/** Height of the double jump (in meters) */
|
|
4847
|
-
doubleJumpHeight?: number | undefined;
|
|
4848
|
-
/** Maximum speed when gliding (in meters per second) */
|
|
4849
|
-
glidingSpeed?: number | undefined;
|
|
4850
|
-
/** Maximum falling speed when gliding (in meters per second) */
|
|
4851
|
-
glidingFallingSpeed?: number | undefined;
|
|
4852
4837
|
}
|
|
4853
4838
|
|
|
4854
4839
|
/**
|
|
@@ -6585,6 +6570,14 @@ export declare interface PBUiCanvasInformation {
|
|
|
6585
6570
|
* on the contrary, if the chat UI is shown, the rect would be smaller.
|
|
6586
6571
|
*/
|
|
6587
6572
|
interactableArea: BorderRect | undefined;
|
|
6573
|
+
/**
|
|
6574
|
+
* informs the sdk about the screen inset area (safe margins). these are the
|
|
6575
|
+
* insets from each edge of the screen that are reserved by the device or
|
|
6576
|
+
* platform UI (for example: the notch, status bar, home indicator, or rounded
|
|
6577
|
+
* corners on mobile). scenes should avoid placing critical UI within these
|
|
6578
|
+
* insets to ensure it is not occluded. on desktop this is typically (0, 0, 0, 0).
|
|
6579
|
+
*/
|
|
6580
|
+
screenInsetArea?: BorderRect | undefined;
|
|
6588
6581
|
}
|
|
6589
6582
|
|
|
6590
6583
|
/**
|
|
@@ -6933,7 +6926,6 @@ export declare namespace PBVideoPlayer {
|
|
|
6933
6926
|
* an 'instant' transition (like using speed/time = 0)
|
|
6934
6927
|
* * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
|
|
6935
6928
|
* the holding entity transform).
|
|
6936
|
-
* * The fov defines the Field of View of the virtual camera
|
|
6937
6929
|
*/
|
|
6938
6930
|
/**
|
|
6939
6931
|
* @public
|
|
@@ -6941,8 +6933,6 @@ export declare namespace PBVideoPlayer {
|
|
|
6941
6933
|
export declare interface PBVirtualCamera {
|
|
6942
6934
|
defaultTransition?: CameraTransition | undefined;
|
|
6943
6935
|
lookAtEntity?: number | undefined;
|
|
6944
|
-
/** default: 60 */
|
|
6945
|
-
fov?: number | undefined;
|
|
6946
6936
|
}
|
|
6947
6937
|
|
|
6948
6938
|
/**
|
|
@@ -8578,6 +8568,27 @@ export declare namespace Schemas {
|
|
|
8578
8568
|
}) => void;
|
|
8579
8569
|
}
|
|
8580
8570
|
|
|
8571
|
+
/**
|
|
8572
|
+
*
|
|
8573
|
+
* @public
|
|
8574
|
+
* ScreenInsetArea component
|
|
8575
|
+
*
|
|
8576
|
+
* Constrains its children to the area inside the renderer-reported screen
|
|
8577
|
+
* inset (safe margins). On mobile this is the area excluding the notch,
|
|
8578
|
+
* status bar, home indicator and rounded corners. On desktop the insets are
|
|
8579
|
+
* typically zero, so the container fills the canvas.
|
|
8580
|
+
*
|
|
8581
|
+
* The container is absolutely positioned with top/left/right/bottom matching
|
|
8582
|
+
* the current `UiCanvasInformation.screenInsetArea`, so a child sized
|
|
8583
|
+
* 100%x100% fills the safe area exactly.
|
|
8584
|
+
*
|
|
8585
|
+
* @example
|
|
8586
|
+
* <ScreenInsetArea><MyHud /></ScreenInsetArea>
|
|
8587
|
+
*
|
|
8588
|
+
* @category Component
|
|
8589
|
+
*/
|
|
8590
|
+
export declare function ScreenInsetArea(props: UiScreenInsetAreaProps): ReactEcs.JSX.Element;
|
|
8591
|
+
|
|
8581
8592
|
/**
|
|
8582
8593
|
* Sets a globalThis property as a polyfill (only if undefined/null).
|
|
8583
8594
|
* @public
|
|
@@ -9433,6 +9444,28 @@ export declare type UiRendererOptions = {
|
|
|
9433
9444
|
virtualHeight: number;
|
|
9434
9445
|
};
|
|
9435
9446
|
|
|
9447
|
+
/**
|
|
9448
|
+
* ScreenInsetArea component props
|
|
9449
|
+
*
|
|
9450
|
+
* The container reads the current `screenInsetArea` reported by the renderer
|
|
9451
|
+
* via `UiCanvasInformation` (the device safe margins — notch, status bar,
|
|
9452
|
+
* home indicator, rounded corners) and constrains its children to the area
|
|
9453
|
+
* inside those insets using absolute positioning. Layout props that control
|
|
9454
|
+
* the container's own position (`positionType`, `position`) are owned by the
|
|
9455
|
+
* component and are not configurable from props — every other layout,
|
|
9456
|
+
* background and event prop is forwarded as usual.
|
|
9457
|
+
*
|
|
9458
|
+
* @public
|
|
9459
|
+
*/
|
|
9460
|
+
export declare type UiScreenInsetAreaProps = Omit<EntityPropTypes, 'uiTransform'> & {
|
|
9461
|
+
/**
|
|
9462
|
+
* Layout overrides forwarded to the underlying entity. The
|
|
9463
|
+
* `positionType` and `position` fields are reserved by the container and
|
|
9464
|
+
* any value provided here is ignored.
|
|
9465
|
+
*/
|
|
9466
|
+
uiTransform?: Omit<NonNullable<EntityPropTypes['uiTransform']>, 'positionType' | 'position'>;
|
|
9467
|
+
};
|
|
9468
|
+
|
|
9436
9469
|
/** @public */
|
|
9437
9470
|
export declare const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
9438
9471
|
|
|
@@ -2616,65 +2616,6 @@
|
|
|
2616
2616
|
"endIndex": 5
|
|
2617
2617
|
}
|
|
2618
2618
|
},
|
|
2619
|
-
{
|
|
2620
|
-
"kind": "Enum",
|
|
2621
|
-
"canonicalReference": "@dcl/playground-assets!AvatarEmoteMask:enum",
|
|
2622
|
-
"docComment": "/**\n * @public\n */\n",
|
|
2623
|
-
"excerptTokens": [
|
|
2624
|
-
{
|
|
2625
|
-
"kind": "Content",
|
|
2626
|
-
"text": "export declare const enum AvatarEmoteMask "
|
|
2627
|
-
}
|
|
2628
|
-
],
|
|
2629
|
-
"fileUrlPath": "../ecs/dist/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.d.ts",
|
|
2630
|
-
"releaseTag": "Public",
|
|
2631
|
-
"name": "AvatarEmoteMask",
|
|
2632
|
-
"preserveMemberOrder": false,
|
|
2633
|
-
"members": [
|
|
2634
|
-
{
|
|
2635
|
-
"kind": "EnumMember",
|
|
2636
|
-
"canonicalReference": "@dcl/playground-assets!AvatarEmoteMask.AEM_FULL_BODY:member",
|
|
2637
|
-
"docComment": "",
|
|
2638
|
-
"excerptTokens": [
|
|
2639
|
-
{
|
|
2640
|
-
"kind": "Content",
|
|
2641
|
-
"text": "AEM_FULL_BODY = "
|
|
2642
|
-
},
|
|
2643
|
-
{
|
|
2644
|
-
"kind": "Content",
|
|
2645
|
-
"text": "0"
|
|
2646
|
-
}
|
|
2647
|
-
],
|
|
2648
|
-
"initializerTokenRange": {
|
|
2649
|
-
"startIndex": 1,
|
|
2650
|
-
"endIndex": 2
|
|
2651
|
-
},
|
|
2652
|
-
"releaseTag": "Public",
|
|
2653
|
-
"name": "AEM_FULL_BODY"
|
|
2654
|
-
},
|
|
2655
|
-
{
|
|
2656
|
-
"kind": "EnumMember",
|
|
2657
|
-
"canonicalReference": "@dcl/playground-assets!AvatarEmoteMask.AEM_UPPER_BODY:member",
|
|
2658
|
-
"docComment": "",
|
|
2659
|
-
"excerptTokens": [
|
|
2660
|
-
{
|
|
2661
|
-
"kind": "Content",
|
|
2662
|
-
"text": "AEM_UPPER_BODY = "
|
|
2663
|
-
},
|
|
2664
|
-
{
|
|
2665
|
-
"kind": "Content",
|
|
2666
|
-
"text": "1"
|
|
2667
|
-
}
|
|
2668
|
-
],
|
|
2669
|
-
"initializerTokenRange": {
|
|
2670
|
-
"startIndex": 1,
|
|
2671
|
-
"endIndex": 2
|
|
2672
|
-
},
|
|
2673
|
-
"releaseTag": "Public",
|
|
2674
|
-
"name": "AEM_UPPER_BODY"
|
|
2675
|
-
}
|
|
2676
|
-
]
|
|
2677
|
-
},
|
|
2678
2619
|
{
|
|
2679
2620
|
"kind": "Variable",
|
|
2680
2621
|
"canonicalReference": "@dcl/playground-assets!AvatarEquippedData:var",
|
|
@@ -44079,87 +44020,6 @@
|
|
|
44079
44020
|
"name": "PBAvatarLocomotionSettings",
|
|
44080
44021
|
"preserveMemberOrder": false,
|
|
44081
44022
|
"members": [
|
|
44082
|
-
{
|
|
44083
|
-
"kind": "PropertySignature",
|
|
44084
|
-
"canonicalReference": "@dcl/playground-assets!PBAvatarLocomotionSettings#doubleJumpHeight:member",
|
|
44085
|
-
"docComment": "/**\n * Height of the double jump (in meters)\n */\n",
|
|
44086
|
-
"excerptTokens": [
|
|
44087
|
-
{
|
|
44088
|
-
"kind": "Content",
|
|
44089
|
-
"text": "doubleJumpHeight?: "
|
|
44090
|
-
},
|
|
44091
|
-
{
|
|
44092
|
-
"kind": "Content",
|
|
44093
|
-
"text": "number | undefined"
|
|
44094
|
-
},
|
|
44095
|
-
{
|
|
44096
|
-
"kind": "Content",
|
|
44097
|
-
"text": ";"
|
|
44098
|
-
}
|
|
44099
|
-
],
|
|
44100
|
-
"isReadonly": false,
|
|
44101
|
-
"isOptional": true,
|
|
44102
|
-
"releaseTag": "Public",
|
|
44103
|
-
"name": "doubleJumpHeight",
|
|
44104
|
-
"propertyTypeTokenRange": {
|
|
44105
|
-
"startIndex": 1,
|
|
44106
|
-
"endIndex": 2
|
|
44107
|
-
}
|
|
44108
|
-
},
|
|
44109
|
-
{
|
|
44110
|
-
"kind": "PropertySignature",
|
|
44111
|
-
"canonicalReference": "@dcl/playground-assets!PBAvatarLocomotionSettings#glidingFallingSpeed:member",
|
|
44112
|
-
"docComment": "/**\n * Maximum falling speed when gliding (in meters per second)\n */\n",
|
|
44113
|
-
"excerptTokens": [
|
|
44114
|
-
{
|
|
44115
|
-
"kind": "Content",
|
|
44116
|
-
"text": "glidingFallingSpeed?: "
|
|
44117
|
-
},
|
|
44118
|
-
{
|
|
44119
|
-
"kind": "Content",
|
|
44120
|
-
"text": "number | undefined"
|
|
44121
|
-
},
|
|
44122
|
-
{
|
|
44123
|
-
"kind": "Content",
|
|
44124
|
-
"text": ";"
|
|
44125
|
-
}
|
|
44126
|
-
],
|
|
44127
|
-
"isReadonly": false,
|
|
44128
|
-
"isOptional": true,
|
|
44129
|
-
"releaseTag": "Public",
|
|
44130
|
-
"name": "glidingFallingSpeed",
|
|
44131
|
-
"propertyTypeTokenRange": {
|
|
44132
|
-
"startIndex": 1,
|
|
44133
|
-
"endIndex": 2
|
|
44134
|
-
}
|
|
44135
|
-
},
|
|
44136
|
-
{
|
|
44137
|
-
"kind": "PropertySignature",
|
|
44138
|
-
"canonicalReference": "@dcl/playground-assets!PBAvatarLocomotionSettings#glidingSpeed:member",
|
|
44139
|
-
"docComment": "/**\n * Maximum speed when gliding (in meters per second)\n */\n",
|
|
44140
|
-
"excerptTokens": [
|
|
44141
|
-
{
|
|
44142
|
-
"kind": "Content",
|
|
44143
|
-
"text": "glidingSpeed?: "
|
|
44144
|
-
},
|
|
44145
|
-
{
|
|
44146
|
-
"kind": "Content",
|
|
44147
|
-
"text": "number | undefined"
|
|
44148
|
-
},
|
|
44149
|
-
{
|
|
44150
|
-
"kind": "Content",
|
|
44151
|
-
"text": ";"
|
|
44152
|
-
}
|
|
44153
|
-
],
|
|
44154
|
-
"isReadonly": false,
|
|
44155
|
-
"isOptional": true,
|
|
44156
|
-
"releaseTag": "Public",
|
|
44157
|
-
"name": "glidingSpeed",
|
|
44158
|
-
"propertyTypeTokenRange": {
|
|
44159
|
-
"startIndex": 1,
|
|
44160
|
-
"endIndex": 2
|
|
44161
|
-
}
|
|
44162
|
-
},
|
|
44163
44023
|
{
|
|
44164
44024
|
"kind": "PropertySignature",
|
|
44165
44025
|
"canonicalReference": "@dcl/playground-assets!PBAvatarLocomotionSettings#hardLandingCooldown:member",
|
|
@@ -62503,6 +62363,38 @@
|
|
|
62503
62363
|
"endIndex": 3
|
|
62504
62364
|
}
|
|
62505
62365
|
},
|
|
62366
|
+
{
|
|
62367
|
+
"kind": "PropertySignature",
|
|
62368
|
+
"canonicalReference": "@dcl/playground-assets!PBUiCanvasInformation#screenInsetArea:member",
|
|
62369
|
+
"docComment": "/**\n * informs the sdk about the screen inset area (safe margins). these are the insets from each edge of the screen that are reserved by the device or platform UI (for example: the notch, status bar, home indicator, or rounded corners on mobile). scenes should avoid placing critical UI within these insets to ensure it is not occluded. on desktop this is typically (0, 0, 0, 0).\n */\n",
|
|
62370
|
+
"excerptTokens": [
|
|
62371
|
+
{
|
|
62372
|
+
"kind": "Content",
|
|
62373
|
+
"text": "screenInsetArea?: "
|
|
62374
|
+
},
|
|
62375
|
+
{
|
|
62376
|
+
"kind": "Reference",
|
|
62377
|
+
"text": "BorderRect",
|
|
62378
|
+
"canonicalReference": "@dcl/playground-assets!BorderRect"
|
|
62379
|
+
},
|
|
62380
|
+
{
|
|
62381
|
+
"kind": "Content",
|
|
62382
|
+
"text": " | undefined"
|
|
62383
|
+
},
|
|
62384
|
+
{
|
|
62385
|
+
"kind": "Content",
|
|
62386
|
+
"text": ";"
|
|
62387
|
+
}
|
|
62388
|
+
],
|
|
62389
|
+
"isReadonly": false,
|
|
62390
|
+
"isOptional": true,
|
|
62391
|
+
"releaseTag": "Public",
|
|
62392
|
+
"name": "screenInsetArea",
|
|
62393
|
+
"propertyTypeTokenRange": {
|
|
62394
|
+
"startIndex": 1,
|
|
62395
|
+
"endIndex": 3
|
|
62396
|
+
}
|
|
62397
|
+
},
|
|
62506
62398
|
{
|
|
62507
62399
|
"kind": "PropertySignature",
|
|
62508
62400
|
"canonicalReference": "@dcl/playground-assets!PBUiCanvasInformation#width:member",
|
|
@@ -67795,33 +67687,6 @@
|
|
|
67795
67687
|
"endIndex": 3
|
|
67796
67688
|
}
|
|
67797
67689
|
},
|
|
67798
|
-
{
|
|
67799
|
-
"kind": "PropertySignature",
|
|
67800
|
-
"canonicalReference": "@dcl/playground-assets!PBVirtualCamera#fov:member",
|
|
67801
|
-
"docComment": "/**\n * default: 60\n */\n",
|
|
67802
|
-
"excerptTokens": [
|
|
67803
|
-
{
|
|
67804
|
-
"kind": "Content",
|
|
67805
|
-
"text": "fov?: "
|
|
67806
|
-
},
|
|
67807
|
-
{
|
|
67808
|
-
"kind": "Content",
|
|
67809
|
-
"text": "number | undefined"
|
|
67810
|
-
},
|
|
67811
|
-
{
|
|
67812
|
-
"kind": "Content",
|
|
67813
|
-
"text": ";"
|
|
67814
|
-
}
|
|
67815
|
-
],
|
|
67816
|
-
"isReadonly": false,
|
|
67817
|
-
"isOptional": true,
|
|
67818
|
-
"releaseTag": "Public",
|
|
67819
|
-
"name": "fov",
|
|
67820
|
-
"propertyTypeTokenRange": {
|
|
67821
|
-
"startIndex": 1,
|
|
67822
|
-
"endIndex": 2
|
|
67823
|
-
}
|
|
67824
|
-
},
|
|
67825
67690
|
{
|
|
67826
67691
|
"kind": "PropertySignature",
|
|
67827
67692
|
"canonicalReference": "@dcl/playground-assets!PBVirtualCamera#lookAtEntity:member",
|
|
@@ -82185,6 +82050,53 @@
|
|
|
82185
82050
|
}
|
|
82186
82051
|
]
|
|
82187
82052
|
},
|
|
82053
|
+
{
|
|
82054
|
+
"kind": "Function",
|
|
82055
|
+
"canonicalReference": "@dcl/playground-assets!ScreenInsetArea:function(1)",
|
|
82056
|
+
"docComment": "/**\n * ScreenInsetArea component\n *\n * Constrains its children to the area inside the renderer-reported screen inset (safe margins). On mobile this is the area excluding the notch, status bar, home indicator and rounded corners. On desktop the insets are typically zero, so the container fills the canvas.\n *\n * The container is absolutely positioned with top/left/right/bottom matching the current `UiCanvasInformation.screenInsetArea`, so a child sized 100%x100% fills the safe area exactly.\n *\n * @example\n *\n * <ScreenInsetArea><MyHud /></ScreenInsetArea>\n *\n * @category Component\n *\n * @public\n */\n",
|
|
82057
|
+
"excerptTokens": [
|
|
82058
|
+
{
|
|
82059
|
+
"kind": "Content",
|
|
82060
|
+
"text": "export declare function ScreenInsetArea(props: "
|
|
82061
|
+
},
|
|
82062
|
+
{
|
|
82063
|
+
"kind": "Reference",
|
|
82064
|
+
"text": "UiScreenInsetAreaProps",
|
|
82065
|
+
"canonicalReference": "@dcl/playground-assets!UiScreenInsetAreaProps:type"
|
|
82066
|
+
},
|
|
82067
|
+
{
|
|
82068
|
+
"kind": "Content",
|
|
82069
|
+
"text": "): "
|
|
82070
|
+
},
|
|
82071
|
+
{
|
|
82072
|
+
"kind": "Reference",
|
|
82073
|
+
"text": "ReactEcs.JSX.Element",
|
|
82074
|
+
"canonicalReference": "@dcl/playground-assets!ReactEcs.JSX.Element:interface"
|
|
82075
|
+
},
|
|
82076
|
+
{
|
|
82077
|
+
"kind": "Content",
|
|
82078
|
+
"text": ";"
|
|
82079
|
+
}
|
|
82080
|
+
],
|
|
82081
|
+
"fileUrlPath": "../react-ecs/dist/components/ScreenInsetArea/index.d.ts",
|
|
82082
|
+
"returnTypeTokenRange": {
|
|
82083
|
+
"startIndex": 3,
|
|
82084
|
+
"endIndex": 4
|
|
82085
|
+
},
|
|
82086
|
+
"releaseTag": "Public",
|
|
82087
|
+
"overloadIndex": 1,
|
|
82088
|
+
"parameters": [
|
|
82089
|
+
{
|
|
82090
|
+
"parameterName": "props",
|
|
82091
|
+
"parameterTypeTokenRange": {
|
|
82092
|
+
"startIndex": 1,
|
|
82093
|
+
"endIndex": 2
|
|
82094
|
+
},
|
|
82095
|
+
"isOptional": false
|
|
82096
|
+
}
|
|
82097
|
+
],
|
|
82098
|
+
"name": "ScreenInsetArea"
|
|
82099
|
+
},
|
|
82188
82100
|
{
|
|
82189
82101
|
"kind": "Function",
|
|
82190
82102
|
"canonicalReference": "@dcl/playground-assets!setGlobalPolyfill:function(1)",
|
|
@@ -89348,6 +89260,73 @@
|
|
|
89348
89260
|
"endIndex": 2
|
|
89349
89261
|
}
|
|
89350
89262
|
},
|
|
89263
|
+
{
|
|
89264
|
+
"kind": "TypeAlias",
|
|
89265
|
+
"canonicalReference": "@dcl/playground-assets!UiScreenInsetAreaProps:type",
|
|
89266
|
+
"docComment": "/**\n * ScreenInsetArea component props\n *\n * The container reads the current `screenInsetArea` reported by the renderer via `UiCanvasInformation` (the device safe margins — notch, status bar, home indicator, rounded corners) and constrains its children to the area inside those insets using absolute positioning. Layout props that control the container's own position (`positionType`, `position`) are owned by the component and are not configurable from props — every other layout, background and event prop is forwarded as usual.\n *\n * @public\n */\n",
|
|
89267
|
+
"excerptTokens": [
|
|
89268
|
+
{
|
|
89269
|
+
"kind": "Content",
|
|
89270
|
+
"text": "export type UiScreenInsetAreaProps = "
|
|
89271
|
+
},
|
|
89272
|
+
{
|
|
89273
|
+
"kind": "Reference",
|
|
89274
|
+
"text": "Omit",
|
|
89275
|
+
"canonicalReference": "!Omit:type"
|
|
89276
|
+
},
|
|
89277
|
+
{
|
|
89278
|
+
"kind": "Content",
|
|
89279
|
+
"text": "<"
|
|
89280
|
+
},
|
|
89281
|
+
{
|
|
89282
|
+
"kind": "Reference",
|
|
89283
|
+
"text": "EntityPropTypes",
|
|
89284
|
+
"canonicalReference": "@dcl/playground-assets!EntityPropTypes:interface"
|
|
89285
|
+
},
|
|
89286
|
+
{
|
|
89287
|
+
"kind": "Content",
|
|
89288
|
+
"text": ", 'uiTransform'> & {\n uiTransform?: "
|
|
89289
|
+
},
|
|
89290
|
+
{
|
|
89291
|
+
"kind": "Reference",
|
|
89292
|
+
"text": "Omit",
|
|
89293
|
+
"canonicalReference": "!Omit:type"
|
|
89294
|
+
},
|
|
89295
|
+
{
|
|
89296
|
+
"kind": "Content",
|
|
89297
|
+
"text": "<"
|
|
89298
|
+
},
|
|
89299
|
+
{
|
|
89300
|
+
"kind": "Reference",
|
|
89301
|
+
"text": "NonNullable",
|
|
89302
|
+
"canonicalReference": "!NonNullable:type"
|
|
89303
|
+
},
|
|
89304
|
+
{
|
|
89305
|
+
"kind": "Content",
|
|
89306
|
+
"text": "<"
|
|
89307
|
+
},
|
|
89308
|
+
{
|
|
89309
|
+
"kind": "Reference",
|
|
89310
|
+
"text": "EntityPropTypes",
|
|
89311
|
+
"canonicalReference": "@dcl/playground-assets!EntityPropTypes:interface"
|
|
89312
|
+
},
|
|
89313
|
+
{
|
|
89314
|
+
"kind": "Content",
|
|
89315
|
+
"text": "['uiTransform']>, 'positionType' | 'position'>;\n}"
|
|
89316
|
+
},
|
|
89317
|
+
{
|
|
89318
|
+
"kind": "Content",
|
|
89319
|
+
"text": ";"
|
|
89320
|
+
}
|
|
89321
|
+
],
|
|
89322
|
+
"fileUrlPath": "../react-ecs/dist/components/ScreenInsetArea/types.d.ts",
|
|
89323
|
+
"releaseTag": "Public",
|
|
89324
|
+
"name": "UiScreenInsetAreaProps",
|
|
89325
|
+
"typeTokenRange": {
|
|
89326
|
+
"startIndex": 1,
|
|
89327
|
+
"endIndex": 11
|
|
89328
|
+
}
|
|
89329
|
+
},
|
|
89351
89330
|
{
|
|
89352
89331
|
"kind": "Variable",
|
|
89353
89332
|
"canonicalReference": "@dcl/playground-assets!UiText:var",
|
|
@@ -184,14 +184,6 @@ export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>
|
|
|
184
184
|
// @public (undocumented)
|
|
185
185
|
export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
|
|
186
186
|
|
|
187
|
-
// @public (undocumented)
|
|
188
|
-
export const enum AvatarEmoteMask {
|
|
189
|
-
// (undocumented)
|
|
190
|
-
AEM_FULL_BODY = 0,
|
|
191
|
-
// (undocumented)
|
|
192
|
-
AEM_UPPER_BODY = 1
|
|
193
|
-
}
|
|
194
|
-
|
|
195
187
|
// @public (undocumented)
|
|
196
188
|
export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
|
|
197
189
|
|
|
@@ -2553,9 +2545,6 @@ export namespace PBAvatarEquippedData {
|
|
|
2553
2545
|
|
|
2554
2546
|
// @public (undocumented)
|
|
2555
2547
|
export interface PBAvatarLocomotionSettings {
|
|
2556
|
-
doubleJumpHeight?: number | undefined;
|
|
2557
|
-
glidingFallingSpeed?: number | undefined;
|
|
2558
|
-
glidingSpeed?: number | undefined;
|
|
2559
2548
|
hardLandingCooldown?: number | undefined;
|
|
2560
2549
|
jogSpeed?: number | undefined;
|
|
2561
2550
|
jumpHeight?: number | undefined;
|
|
@@ -3738,6 +3727,7 @@ export interface PBUiCanvasInformation {
|
|
|
3738
3727
|
devicePixelRatio: number;
|
|
3739
3728
|
height: number;
|
|
3740
3729
|
interactableArea: BorderRect | undefined;
|
|
3730
|
+
screenInsetArea?: BorderRect | undefined;
|
|
3741
3731
|
width: number;
|
|
3742
3732
|
}
|
|
3743
3733
|
|
|
@@ -4042,7 +4032,6 @@ export namespace PBVideoPlayer {
|
|
|
4042
4032
|
export interface PBVirtualCamera {
|
|
4043
4033
|
// (undocumented)
|
|
4044
4034
|
defaultTransition?: CameraTransition | undefined;
|
|
4045
|
-
fov?: number | undefined;
|
|
4046
4035
|
// (undocumented)
|
|
4047
4036
|
lookAtEntity?: number | undefined;
|
|
4048
4037
|
}
|
|
@@ -4768,6 +4757,11 @@ export namespace Schemas {
|
|
|
4768
4757
|
}) => void;
|
|
4769
4758
|
}
|
|
4770
4759
|
|
|
4760
|
+
// Warning: (tsdoc-undefined-tag) The TSDoc tag "@category" is not defined in this configuration
|
|
4761
|
+
//
|
|
4762
|
+
// @public
|
|
4763
|
+
export function ScreenInsetArea(props: UiScreenInsetAreaProps): ReactEcs.JSX.Element;
|
|
4764
|
+
|
|
4771
4765
|
// @public
|
|
4772
4766
|
export function setGlobalPolyfill<T>(key: string, value: T): void;
|
|
4773
4767
|
|
|
@@ -5312,6 +5306,11 @@ export type UiRendererOptions = {
|
|
|
5312
5306
|
virtualHeight: number;
|
|
5313
5307
|
};
|
|
5314
5308
|
|
|
5309
|
+
// @public
|
|
5310
|
+
export type UiScreenInsetAreaProps = Omit<EntityPropTypes, 'uiTransform'> & {
|
|
5311
|
+
uiTransform?: Omit<NonNullable<EntityPropTypes['uiTransform']>, 'positionType' | 'position'>;
|
|
5312
|
+
};
|
|
5313
|
+
|
|
5315
5314
|
// @public (undocumented)
|
|
5316
5315
|
export const UiText: LastWriteWinElementSetComponentDefinition<PBUiText>;
|
|
5317
5316
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.23.4-
|
|
4
|
+
"version": "7.23.4-26770223094.commit-52b9415",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.23.4-
|
|
8
|
-
"@dcl/sdk": "7.23.4-
|
|
7
|
+
"@dcl/js-runtime": "7.23.4-26770223094.commit-52b9415",
|
|
8
|
+
"@dcl/sdk": "7.23.4-26770223094.commit-52b9415"
|
|
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": "52b9415ebab8c77313e9fbc0725fd2e5f916d3c3"
|
|
36
36
|
}
|