@dcl/playground-assets 7.1.8-4747179772.commit-377c8b9 → 7.1.8-4756315995.commit-6d7fbd0
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 +41 -2
- package/dist/beta.d.ts +41 -2
- package/dist/index.bundled.d.ts +41 -2
- package/dist/index.js +4 -4
- package/dist/index.js.map +4 -4
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +41 -2
- package/etc/playground-assets.api.json +323 -2
- package/etc/playground-assets.api.md +24 -0
- package/package.json +4 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/sdk",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.1.8-
|
|
4
|
+
"version": "7.1.8-4756315995.commit-6d7fbd0",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@dcl/ecs": "file:../ecs",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
},
|
|
31
31
|
"types": "./index.d.ts",
|
|
32
32
|
"typings": "./index.d.ts",
|
|
33
|
-
"commit": "
|
|
33
|
+
"commit": "6d7fbd0161e9d081ffb08992f9b6695f5ee026ab"
|
|
34
34
|
}
|
|
@@ -207,7 +207,10 @@ export declare interface BaseComponent<T> {
|
|
|
207
207
|
/** @public */
|
|
208
208
|
export declare const Billboard: LastWriteWinElementSetComponentDefinition<PBBillboard>;
|
|
209
209
|
|
|
210
|
-
/**
|
|
210
|
+
/**
|
|
211
|
+
* BillboardMode indicates one or more axis for automatic rotation, in OR-able bit flag form.
|
|
212
|
+
* Only the values below and the (BM_X | BM_Y) combination are valid.
|
|
213
|
+
*/
|
|
211
214
|
/**
|
|
212
215
|
* @public
|
|
213
216
|
*/
|
|
@@ -1147,6 +1150,7 @@ export declare const componentDefinitionByName: {
|
|
|
1147
1150
|
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
|
1148
1151
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
1149
1152
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
|
1153
|
+
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
|
1150
1154
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
|
1151
1155
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
|
1152
1156
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
|
@@ -3912,7 +3916,7 @@ export declare interface PBRaycast {
|
|
|
3912
3916
|
* otherwise it will be performed only once, defaults to false
|
|
3913
3917
|
*/
|
|
3914
3918
|
continuous?: boolean | undefined;
|
|
3915
|
-
/** Collision mask, by default
|
|
3919
|
+
/** Collision mask, by default CL_POINTER | CL_PHYSICS */
|
|
3916
3920
|
collisionMask?: number | undefined;
|
|
3917
3921
|
}
|
|
3918
3922
|
|
|
@@ -4007,6 +4011,27 @@ export declare interface PBUiBackground {
|
|
|
4007
4011
|
uvs: number[];
|
|
4008
4012
|
}
|
|
4009
4013
|
|
|
4014
|
+
/** This component is created by the renderer and used by the scenes to know the resolution of the UI canvas */
|
|
4015
|
+
/**
|
|
4016
|
+
* @public
|
|
4017
|
+
*/
|
|
4018
|
+
export declare interface PBUiCanvasInformation {
|
|
4019
|
+
/** informs the scene about the resolution used for the UI rendering */
|
|
4020
|
+
devicePixelRatio: number;
|
|
4021
|
+
/** informs about the width of the canvas, in virtual pixels. this value does not change when the pixel ratio changes. */
|
|
4022
|
+
width: number;
|
|
4023
|
+
/** informs about the height of the canvas, in virtual pixels. this value does not change when the pixel ratio changes. */
|
|
4024
|
+
height: number;
|
|
4025
|
+
/**
|
|
4026
|
+
* informs the sdk about the interactable area. some implementations may change
|
|
4027
|
+
* this area depending on the HUD that is being shown. this value may change at
|
|
4028
|
+
* any time by the Renderer to create reactive UIs. as an example, an explorer with the
|
|
4029
|
+
* chat UI hidden and with no minimap could have a rect that covers the whole screen.
|
|
4030
|
+
* on the contrary, if the chat UI is shown, the rect would be smaller.
|
|
4031
|
+
*/
|
|
4032
|
+
interactableArea: BorderRect | undefined;
|
|
4033
|
+
}
|
|
4034
|
+
|
|
4010
4035
|
/**
|
|
4011
4036
|
* @public
|
|
4012
4037
|
*/
|
|
@@ -4870,6 +4895,17 @@ export declare type ReceiveMessage = CrdtMessageBody & {
|
|
|
4870
4895
|
messageBuffer: Uint8Array;
|
|
4871
4896
|
};
|
|
4872
4897
|
|
|
4898
|
+
/** Defines a rect with x, y, width and height */
|
|
4899
|
+
/**
|
|
4900
|
+
* @public
|
|
4901
|
+
*/
|
|
4902
|
+
export declare interface Rect {
|
|
4903
|
+
x: number;
|
|
4904
|
+
y: number;
|
|
4905
|
+
width: number;
|
|
4906
|
+
height: number;
|
|
4907
|
+
}
|
|
4908
|
+
|
|
4873
4909
|
export declare type RPCSendableMessage = {
|
|
4874
4910
|
jsonrpc: '2.0';
|
|
4875
4911
|
id: number;
|
|
@@ -5397,6 +5433,9 @@ export declare interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
5397
5433
|
disabled?: boolean;
|
|
5398
5434
|
}
|
|
5399
5435
|
|
|
5436
|
+
/** @public */
|
|
5437
|
+
export declare const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
|
5438
|
+
|
|
5400
5439
|
/**
|
|
5401
5440
|
* @public
|
|
5402
5441
|
*/
|
|
@@ -10890,6 +10890,33 @@
|
|
|
10890
10890
|
"text": "PBUiBackground",
|
|
10891
10891
|
"canonicalReference": "@dcl/playground-assets!PBUiBackground:interface"
|
|
10892
10892
|
},
|
|
10893
|
+
{
|
|
10894
|
+
"kind": "Content",
|
|
10895
|
+
"text": ">>;\n \"core::UiCanvasInformation\": "
|
|
10896
|
+
},
|
|
10897
|
+
{
|
|
10898
|
+
"kind": "Reference",
|
|
10899
|
+
"text": "LwwComponentGetter",
|
|
10900
|
+
"canonicalReference": "@dcl/playground-assets!LwwComponentGetter:type"
|
|
10901
|
+
},
|
|
10902
|
+
{
|
|
10903
|
+
"kind": "Content",
|
|
10904
|
+
"text": "<"
|
|
10905
|
+
},
|
|
10906
|
+
{
|
|
10907
|
+
"kind": "Reference",
|
|
10908
|
+
"text": "LastWriteWinElementSetComponentDefinition",
|
|
10909
|
+
"canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
|
|
10910
|
+
},
|
|
10911
|
+
{
|
|
10912
|
+
"kind": "Content",
|
|
10913
|
+
"text": "<"
|
|
10914
|
+
},
|
|
10915
|
+
{
|
|
10916
|
+
"kind": "Reference",
|
|
10917
|
+
"text": "PBUiCanvasInformation",
|
|
10918
|
+
"canonicalReference": "@dcl/playground-assets!PBUiCanvasInformation:interface"
|
|
10919
|
+
},
|
|
10893
10920
|
{
|
|
10894
10921
|
"kind": "Content",
|
|
10895
10922
|
"text": ">>;\n \"core::UiDropdown\": "
|
|
@@ -11117,7 +11144,7 @@
|
|
|
11117
11144
|
"name": "componentDefinitionByName",
|
|
11118
11145
|
"variableTypeTokenRange": {
|
|
11119
11146
|
"startIndex": 1,
|
|
11120
|
-
"endIndex":
|
|
11147
|
+
"endIndex": 182
|
|
11121
11148
|
}
|
|
11122
11149
|
},
|
|
11123
11150
|
{
|
|
@@ -34076,7 +34103,7 @@
|
|
|
34076
34103
|
{
|
|
34077
34104
|
"kind": "PropertySignature",
|
|
34078
34105
|
"canonicalReference": "@dcl/playground-assets!PBRaycast#collisionMask:member",
|
|
34079
|
-
"docComment": "/**\n * Collision mask, by default
|
|
34106
|
+
"docComment": "/**\n * Collision mask, by default CL_POINTER | CL_PHYSICS\n */\n",
|
|
34080
34107
|
"excerptTokens": [
|
|
34081
34108
|
{
|
|
34082
34109
|
"kind": "Content",
|
|
@@ -35218,6 +35245,137 @@
|
|
|
35218
35245
|
],
|
|
35219
35246
|
"extendsTokenRanges": []
|
|
35220
35247
|
},
|
|
35248
|
+
{
|
|
35249
|
+
"kind": "Interface",
|
|
35250
|
+
"canonicalReference": "@dcl/playground-assets!PBUiCanvasInformation:interface",
|
|
35251
|
+
"docComment": "/**\n * @public\n */\n",
|
|
35252
|
+
"excerptTokens": [
|
|
35253
|
+
{
|
|
35254
|
+
"kind": "Content",
|
|
35255
|
+
"text": "export interface PBUiCanvasInformation "
|
|
35256
|
+
}
|
|
35257
|
+
],
|
|
35258
|
+
"fileUrlPath": "../ecs/dist/components/generated/pb/decentraland/sdk/components/ui_canvas_information.gen.d.ts",
|
|
35259
|
+
"releaseTag": "Public",
|
|
35260
|
+
"name": "PBUiCanvasInformation",
|
|
35261
|
+
"preserveMemberOrder": false,
|
|
35262
|
+
"members": [
|
|
35263
|
+
{
|
|
35264
|
+
"kind": "PropertySignature",
|
|
35265
|
+
"canonicalReference": "@dcl/playground-assets!PBUiCanvasInformation#devicePixelRatio:member",
|
|
35266
|
+
"docComment": "/**\n * informs the scene about the resolution used for the UI rendering\n */\n",
|
|
35267
|
+
"excerptTokens": [
|
|
35268
|
+
{
|
|
35269
|
+
"kind": "Content",
|
|
35270
|
+
"text": "devicePixelRatio: "
|
|
35271
|
+
},
|
|
35272
|
+
{
|
|
35273
|
+
"kind": "Content",
|
|
35274
|
+
"text": "number"
|
|
35275
|
+
},
|
|
35276
|
+
{
|
|
35277
|
+
"kind": "Content",
|
|
35278
|
+
"text": ";"
|
|
35279
|
+
}
|
|
35280
|
+
],
|
|
35281
|
+
"isReadonly": false,
|
|
35282
|
+
"isOptional": false,
|
|
35283
|
+
"releaseTag": "Public",
|
|
35284
|
+
"name": "devicePixelRatio",
|
|
35285
|
+
"propertyTypeTokenRange": {
|
|
35286
|
+
"startIndex": 1,
|
|
35287
|
+
"endIndex": 2
|
|
35288
|
+
}
|
|
35289
|
+
},
|
|
35290
|
+
{
|
|
35291
|
+
"kind": "PropertySignature",
|
|
35292
|
+
"canonicalReference": "@dcl/playground-assets!PBUiCanvasInformation#height:member",
|
|
35293
|
+
"docComment": "/**\n * informs about the height of the canvas, in virtual pixels. this value does not change when the pixel ratio changes.\n */\n",
|
|
35294
|
+
"excerptTokens": [
|
|
35295
|
+
{
|
|
35296
|
+
"kind": "Content",
|
|
35297
|
+
"text": "height: "
|
|
35298
|
+
},
|
|
35299
|
+
{
|
|
35300
|
+
"kind": "Content",
|
|
35301
|
+
"text": "number"
|
|
35302
|
+
},
|
|
35303
|
+
{
|
|
35304
|
+
"kind": "Content",
|
|
35305
|
+
"text": ";"
|
|
35306
|
+
}
|
|
35307
|
+
],
|
|
35308
|
+
"isReadonly": false,
|
|
35309
|
+
"isOptional": false,
|
|
35310
|
+
"releaseTag": "Public",
|
|
35311
|
+
"name": "height",
|
|
35312
|
+
"propertyTypeTokenRange": {
|
|
35313
|
+
"startIndex": 1,
|
|
35314
|
+
"endIndex": 2
|
|
35315
|
+
}
|
|
35316
|
+
},
|
|
35317
|
+
{
|
|
35318
|
+
"kind": "PropertySignature",
|
|
35319
|
+
"canonicalReference": "@dcl/playground-assets!PBUiCanvasInformation#interactableArea:member",
|
|
35320
|
+
"docComment": "/**\n * informs the sdk about the interactable area. some implementations may change this area depending on the HUD that is being shown. this value may change at any time by the Renderer to create reactive UIs. as an example, an explorer with the chat UI hidden and with no minimap could have a rect that covers the whole screen. on the contrary, if the chat UI is shown, the rect would be smaller.\n */\n",
|
|
35321
|
+
"excerptTokens": [
|
|
35322
|
+
{
|
|
35323
|
+
"kind": "Content",
|
|
35324
|
+
"text": "interactableArea: "
|
|
35325
|
+
},
|
|
35326
|
+
{
|
|
35327
|
+
"kind": "Reference",
|
|
35328
|
+
"text": "BorderRect",
|
|
35329
|
+
"canonicalReference": "@dcl/playground-assets!BorderRect:interface"
|
|
35330
|
+
},
|
|
35331
|
+
{
|
|
35332
|
+
"kind": "Content",
|
|
35333
|
+
"text": " | undefined"
|
|
35334
|
+
},
|
|
35335
|
+
{
|
|
35336
|
+
"kind": "Content",
|
|
35337
|
+
"text": ";"
|
|
35338
|
+
}
|
|
35339
|
+
],
|
|
35340
|
+
"isReadonly": false,
|
|
35341
|
+
"isOptional": false,
|
|
35342
|
+
"releaseTag": "Public",
|
|
35343
|
+
"name": "interactableArea",
|
|
35344
|
+
"propertyTypeTokenRange": {
|
|
35345
|
+
"startIndex": 1,
|
|
35346
|
+
"endIndex": 3
|
|
35347
|
+
}
|
|
35348
|
+
},
|
|
35349
|
+
{
|
|
35350
|
+
"kind": "PropertySignature",
|
|
35351
|
+
"canonicalReference": "@dcl/playground-assets!PBUiCanvasInformation#width:member",
|
|
35352
|
+
"docComment": "/**\n * informs about the width of the canvas, in virtual pixels. this value does not change when the pixel ratio changes.\n */\n",
|
|
35353
|
+
"excerptTokens": [
|
|
35354
|
+
{
|
|
35355
|
+
"kind": "Content",
|
|
35356
|
+
"text": "width: "
|
|
35357
|
+
},
|
|
35358
|
+
{
|
|
35359
|
+
"kind": "Content",
|
|
35360
|
+
"text": "number"
|
|
35361
|
+
},
|
|
35362
|
+
{
|
|
35363
|
+
"kind": "Content",
|
|
35364
|
+
"text": ";"
|
|
35365
|
+
}
|
|
35366
|
+
],
|
|
35367
|
+
"isReadonly": false,
|
|
35368
|
+
"isOptional": false,
|
|
35369
|
+
"releaseTag": "Public",
|
|
35370
|
+
"name": "width",
|
|
35371
|
+
"propertyTypeTokenRange": {
|
|
35372
|
+
"startIndex": 1,
|
|
35373
|
+
"endIndex": 2
|
|
35374
|
+
}
|
|
35375
|
+
}
|
|
35376
|
+
],
|
|
35377
|
+
"extendsTokenRanges": []
|
|
35378
|
+
},
|
|
35221
35379
|
{
|
|
35222
35380
|
"kind": "Interface",
|
|
35223
35381
|
"canonicalReference": "@dcl/playground-assets!PBUiDropdown:interface",
|
|
@@ -42859,6 +43017,132 @@
|
|
|
42859
43017
|
"endIndex": 5
|
|
42860
43018
|
}
|
|
42861
43019
|
},
|
|
43020
|
+
{
|
|
43021
|
+
"kind": "Interface",
|
|
43022
|
+
"canonicalReference": "@dcl/playground-assets!Rect:interface",
|
|
43023
|
+
"docComment": "/**\n * @public\n */\n",
|
|
43024
|
+
"excerptTokens": [
|
|
43025
|
+
{
|
|
43026
|
+
"kind": "Content",
|
|
43027
|
+
"text": "export interface Rect "
|
|
43028
|
+
}
|
|
43029
|
+
],
|
|
43030
|
+
"fileUrlPath": "../ecs/dist/components/generated/pb/decentraland/common/border_rect.gen.d.ts",
|
|
43031
|
+
"releaseTag": "Public",
|
|
43032
|
+
"name": "Rect",
|
|
43033
|
+
"preserveMemberOrder": false,
|
|
43034
|
+
"members": [
|
|
43035
|
+
{
|
|
43036
|
+
"kind": "PropertySignature",
|
|
43037
|
+
"canonicalReference": "@dcl/playground-assets!Rect#height:member",
|
|
43038
|
+
"docComment": "",
|
|
43039
|
+
"excerptTokens": [
|
|
43040
|
+
{
|
|
43041
|
+
"kind": "Content",
|
|
43042
|
+
"text": "height: "
|
|
43043
|
+
},
|
|
43044
|
+
{
|
|
43045
|
+
"kind": "Content",
|
|
43046
|
+
"text": "number"
|
|
43047
|
+
},
|
|
43048
|
+
{
|
|
43049
|
+
"kind": "Content",
|
|
43050
|
+
"text": ";"
|
|
43051
|
+
}
|
|
43052
|
+
],
|
|
43053
|
+
"isReadonly": false,
|
|
43054
|
+
"isOptional": false,
|
|
43055
|
+
"releaseTag": "Public",
|
|
43056
|
+
"name": "height",
|
|
43057
|
+
"propertyTypeTokenRange": {
|
|
43058
|
+
"startIndex": 1,
|
|
43059
|
+
"endIndex": 2
|
|
43060
|
+
}
|
|
43061
|
+
},
|
|
43062
|
+
{
|
|
43063
|
+
"kind": "PropertySignature",
|
|
43064
|
+
"canonicalReference": "@dcl/playground-assets!Rect#width:member",
|
|
43065
|
+
"docComment": "",
|
|
43066
|
+
"excerptTokens": [
|
|
43067
|
+
{
|
|
43068
|
+
"kind": "Content",
|
|
43069
|
+
"text": "width: "
|
|
43070
|
+
},
|
|
43071
|
+
{
|
|
43072
|
+
"kind": "Content",
|
|
43073
|
+
"text": "number"
|
|
43074
|
+
},
|
|
43075
|
+
{
|
|
43076
|
+
"kind": "Content",
|
|
43077
|
+
"text": ";"
|
|
43078
|
+
}
|
|
43079
|
+
],
|
|
43080
|
+
"isReadonly": false,
|
|
43081
|
+
"isOptional": false,
|
|
43082
|
+
"releaseTag": "Public",
|
|
43083
|
+
"name": "width",
|
|
43084
|
+
"propertyTypeTokenRange": {
|
|
43085
|
+
"startIndex": 1,
|
|
43086
|
+
"endIndex": 2
|
|
43087
|
+
}
|
|
43088
|
+
},
|
|
43089
|
+
{
|
|
43090
|
+
"kind": "PropertySignature",
|
|
43091
|
+
"canonicalReference": "@dcl/playground-assets!Rect#x:member",
|
|
43092
|
+
"docComment": "",
|
|
43093
|
+
"excerptTokens": [
|
|
43094
|
+
{
|
|
43095
|
+
"kind": "Content",
|
|
43096
|
+
"text": "x: "
|
|
43097
|
+
},
|
|
43098
|
+
{
|
|
43099
|
+
"kind": "Content",
|
|
43100
|
+
"text": "number"
|
|
43101
|
+
},
|
|
43102
|
+
{
|
|
43103
|
+
"kind": "Content",
|
|
43104
|
+
"text": ";"
|
|
43105
|
+
}
|
|
43106
|
+
],
|
|
43107
|
+
"isReadonly": false,
|
|
43108
|
+
"isOptional": false,
|
|
43109
|
+
"releaseTag": "Public",
|
|
43110
|
+
"name": "x",
|
|
43111
|
+
"propertyTypeTokenRange": {
|
|
43112
|
+
"startIndex": 1,
|
|
43113
|
+
"endIndex": 2
|
|
43114
|
+
}
|
|
43115
|
+
},
|
|
43116
|
+
{
|
|
43117
|
+
"kind": "PropertySignature",
|
|
43118
|
+
"canonicalReference": "@dcl/playground-assets!Rect#y:member",
|
|
43119
|
+
"docComment": "",
|
|
43120
|
+
"excerptTokens": [
|
|
43121
|
+
{
|
|
43122
|
+
"kind": "Content",
|
|
43123
|
+
"text": "y: "
|
|
43124
|
+
},
|
|
43125
|
+
{
|
|
43126
|
+
"kind": "Content",
|
|
43127
|
+
"text": "number"
|
|
43128
|
+
},
|
|
43129
|
+
{
|
|
43130
|
+
"kind": "Content",
|
|
43131
|
+
"text": ";"
|
|
43132
|
+
}
|
|
43133
|
+
],
|
|
43134
|
+
"isReadonly": false,
|
|
43135
|
+
"isOptional": false,
|
|
43136
|
+
"releaseTag": "Public",
|
|
43137
|
+
"name": "y",
|
|
43138
|
+
"propertyTypeTokenRange": {
|
|
43139
|
+
"startIndex": 1,
|
|
43140
|
+
"endIndex": 2
|
|
43141
|
+
}
|
|
43142
|
+
}
|
|
43143
|
+
],
|
|
43144
|
+
"extendsTokenRanges": []
|
|
43145
|
+
},
|
|
42862
43146
|
{
|
|
42863
43147
|
"kind": "TypeAlias",
|
|
42864
43148
|
"canonicalReference": "@dcl/playground-assets!RPCSendableMessage:type",
|
|
@@ -47155,6 +47439,43 @@
|
|
|
47155
47439
|
}
|
|
47156
47440
|
]
|
|
47157
47441
|
},
|
|
47442
|
+
{
|
|
47443
|
+
"kind": "Variable",
|
|
47444
|
+
"canonicalReference": "@dcl/playground-assets!UiCanvasInformation:var",
|
|
47445
|
+
"docComment": "/**\n * @public\n */\n",
|
|
47446
|
+
"excerptTokens": [
|
|
47447
|
+
{
|
|
47448
|
+
"kind": "Content",
|
|
47449
|
+
"text": "UiCanvasInformation: "
|
|
47450
|
+
},
|
|
47451
|
+
{
|
|
47452
|
+
"kind": "Reference",
|
|
47453
|
+
"text": "LastWriteWinElementSetComponentDefinition",
|
|
47454
|
+
"canonicalReference": "@dcl/playground-assets!LastWriteWinElementSetComponentDefinition:interface"
|
|
47455
|
+
},
|
|
47456
|
+
{
|
|
47457
|
+
"kind": "Content",
|
|
47458
|
+
"text": "<"
|
|
47459
|
+
},
|
|
47460
|
+
{
|
|
47461
|
+
"kind": "Reference",
|
|
47462
|
+
"text": "PBUiCanvasInformation",
|
|
47463
|
+
"canonicalReference": "@dcl/playground-assets!PBUiCanvasInformation:interface"
|
|
47464
|
+
},
|
|
47465
|
+
{
|
|
47466
|
+
"kind": "Content",
|
|
47467
|
+
"text": ">"
|
|
47468
|
+
}
|
|
47469
|
+
],
|
|
47470
|
+
"fileUrlPath": "../ecs/dist/components/generated/global.gen.d.ts",
|
|
47471
|
+
"isReadonly": true,
|
|
47472
|
+
"releaseTag": "Public",
|
|
47473
|
+
"name": "UiCanvasInformation",
|
|
47474
|
+
"variableTypeTokenRange": {
|
|
47475
|
+
"startIndex": 1,
|
|
47476
|
+
"endIndex": 5
|
|
47477
|
+
}
|
|
47478
|
+
},
|
|
47158
47479
|
{
|
|
47159
47480
|
"kind": "TypeAlias",
|
|
47160
47481
|
"canonicalReference": "@dcl/playground-assets!UiComponent:type",
|
|
@@ -496,6 +496,7 @@ export const componentDefinitionByName: {
|
|
|
496
496
|
"core::RaycastResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBRaycastResult>>;
|
|
497
497
|
"core::TextShape": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBTextShape>>;
|
|
498
498
|
"core::UiBackground": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiBackground>>;
|
|
499
|
+
"core::UiCanvasInformation": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>>;
|
|
499
500
|
"core::UiDropdown": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdown>>;
|
|
500
501
|
"core::UiDropdownResult": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiDropdownResult>>;
|
|
501
502
|
"core::UiInput": LwwComponentGetter<LastWriteWinElementSetComponentDefinition<PBUiInput>>;
|
|
@@ -2090,6 +2091,14 @@ export interface PBUiBackground {
|
|
|
2090
2091
|
uvs: number[];
|
|
2091
2092
|
}
|
|
2092
2093
|
|
|
2094
|
+
// @public (undocumented)
|
|
2095
|
+
export interface PBUiCanvasInformation {
|
|
2096
|
+
devicePixelRatio: number;
|
|
2097
|
+
height: number;
|
|
2098
|
+
interactableArea: BorderRect | undefined;
|
|
2099
|
+
width: number;
|
|
2100
|
+
}
|
|
2101
|
+
|
|
2093
2102
|
// @public (undocumented)
|
|
2094
2103
|
export interface PBUiDropdown {
|
|
2095
2104
|
// (undocumented)
|
|
@@ -2528,6 +2537,18 @@ export type ReceiveMessage = CrdtMessageBody & {
|
|
|
2528
2537
|
messageBuffer: Uint8Array;
|
|
2529
2538
|
};
|
|
2530
2539
|
|
|
2540
|
+
// @public (undocumented)
|
|
2541
|
+
export interface Rect {
|
|
2542
|
+
// (undocumented)
|
|
2543
|
+
height: number;
|
|
2544
|
+
// (undocumented)
|
|
2545
|
+
width: number;
|
|
2546
|
+
// (undocumented)
|
|
2547
|
+
x: number;
|
|
2548
|
+
// (undocumented)
|
|
2549
|
+
y: number;
|
|
2550
|
+
}
|
|
2551
|
+
|
|
2531
2552
|
// Warning: (ae-missing-release-tag) "RPCSendableMessage" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
|
|
2532
2553
|
//
|
|
2533
2554
|
// @public (undocumented)
|
|
@@ -2823,6 +2844,9 @@ export interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
2823
2844
|
variant?: 'primary' | 'secondary';
|
|
2824
2845
|
}
|
|
2825
2846
|
|
|
2847
|
+
// @public (undocumented)
|
|
2848
|
+
export const UiCanvasInformation: LastWriteWinElementSetComponentDefinition<PBUiCanvasInformation>;
|
|
2849
|
+
|
|
2826
2850
|
// @public (undocumented)
|
|
2827
2851
|
export type UiComponent = () => ReactEcs.JSX.Element;
|
|
2828
2852
|
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.1.8-
|
|
4
|
+
"version": "7.1.8-4756315995.commit-6d7fbd0",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.1.8-
|
|
8
|
-
"@dcl/sdk": "7.1.8-
|
|
7
|
+
"@dcl/js-runtime": "7.1.8-4756315995.commit-6d7fbd0",
|
|
8
|
+
"@dcl/sdk": "7.1.8-4756315995.commit-6d7fbd0"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@microsoft/api-extractor": "^7.33.8"
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
},
|
|
29
29
|
"types": "./dist/index.d.ts",
|
|
30
30
|
"typings": "./dist/index.d.ts",
|
|
31
|
-
"commit": "
|
|
31
|
+
"commit": "6d7fbd0161e9d081ffb08992f9b6695f5ee026ab"
|
|
32
32
|
}
|