@dcl/playground-assets 7.5.1-9235895775.commit-075ab65 → 7.5.1-9257780246.commit-0bf8464
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 +10 -0
- package/dist/beta.d.ts +10 -0
- package/dist/index.bundled.d.ts +10 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +2 -2
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +10 -0
- package/etc/playground-assets.api.json +140 -0
- package/etc/playground-assets.api.md +5 -0
- package/package.json +4 -4
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/sdk",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.5.1-
|
4
|
+
"version": "7.5.1-9257780246.commit-0bf8464",
|
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": "0bf8464664bfd9efe67095afcba8617a3db2d21b"
|
39
39
|
}
|
@@ -5377,6 +5377,8 @@ export declare interface PBUiText {
|
|
5377
5377
|
outlineWidth?: number | undefined;
|
5378
5378
|
/** RGBA color of the outline (default: opaque black) */
|
5379
5379
|
outlineColor?: PBColor4 | undefined;
|
5380
|
+
/** wrap text when the border is reached (default false) */
|
5381
|
+
textWrapping?: boolean | undefined;
|
5380
5382
|
}
|
5381
5383
|
|
5382
5384
|
/**
|
@@ -7263,6 +7265,12 @@ export declare interface UiLabelProps {
|
|
7263
7265
|
textAlign?: TextAlignType | undefined;
|
7264
7266
|
/** Label font type. @defaultValue 'sans-serif' */
|
7265
7267
|
font?: UiFontType | undefined;
|
7268
|
+
/** Outline width of the text. @defaultValue 0 */
|
7269
|
+
outlineWidth?: number | undefined;
|
7270
|
+
/** Outline color of the text. @defaultValue `{ r: 0, g: 0, b: 0, a: 1 }` */
|
7271
|
+
outlineColor?: PBColor4 | undefined;
|
7272
|
+
/** Text wrapping. @defaultValue false */
|
7273
|
+
textWrapping?: boolean | undefined;
|
7266
7274
|
}
|
7267
7275
|
|
7268
7276
|
/**
|
@@ -7337,6 +7345,8 @@ export declare interface UiTransformProps {
|
|
7337
7345
|
overflow?: OverflowType;
|
7338
7346
|
/** The pointer filter property determines if the ui element blocks the pointer or not (elements with pointer events always block the pointer regardless of this property) **/
|
7339
7347
|
pointerFilter?: PointerFilterType;
|
7348
|
+
/** The opacity property sets the opacity level for an element, it's accumulated across children @defaultValue 1 */
|
7349
|
+
opacity?: number;
|
7340
7350
|
}
|
7341
7351
|
|
7342
7352
|
/**
|
@@ -51425,6 +51425,33 @@
|
|
51425
51425
|
"endIndex": 3
|
51426
51426
|
}
|
51427
51427
|
},
|
51428
|
+
{
|
51429
|
+
"kind": "PropertySignature",
|
51430
|
+
"canonicalReference": "@dcl/playground-assets!PBUiText#textWrapping:member",
|
51431
|
+
"docComment": "/**\n * wrap text when the border is reached (default false)\n */\n",
|
51432
|
+
"excerptTokens": [
|
51433
|
+
{
|
51434
|
+
"kind": "Content",
|
51435
|
+
"text": "textWrapping?: "
|
51436
|
+
},
|
51437
|
+
{
|
51438
|
+
"kind": "Content",
|
51439
|
+
"text": "boolean | undefined"
|
51440
|
+
},
|
51441
|
+
{
|
51442
|
+
"kind": "Content",
|
51443
|
+
"text": ";"
|
51444
|
+
}
|
51445
|
+
],
|
51446
|
+
"isReadonly": false,
|
51447
|
+
"isOptional": true,
|
51448
|
+
"releaseTag": "Public",
|
51449
|
+
"name": "textWrapping",
|
51450
|
+
"propertyTypeTokenRange": {
|
51451
|
+
"startIndex": 1,
|
51452
|
+
"endIndex": 2
|
51453
|
+
}
|
51454
|
+
},
|
51428
51455
|
{
|
51429
51456
|
"kind": "PropertySignature",
|
51430
51457
|
"canonicalReference": "@dcl/playground-assets!PBUiText#value:member",
|
@@ -69210,6 +69237,65 @@
|
|
69210
69237
|
"endIndex": 3
|
69211
69238
|
}
|
69212
69239
|
},
|
69240
|
+
{
|
69241
|
+
"kind": "PropertySignature",
|
69242
|
+
"canonicalReference": "@dcl/playground-assets!UiLabelProps#outlineColor:member",
|
69243
|
+
"docComment": "/**\n * Outline color of the text.\n *\n * @defaultValue\n *\n * `{ r: 0, g: 0, b: 0, a: 1 }`\n */\n",
|
69244
|
+
"excerptTokens": [
|
69245
|
+
{
|
69246
|
+
"kind": "Content",
|
69247
|
+
"text": "outlineColor?: "
|
69248
|
+
},
|
69249
|
+
{
|
69250
|
+
"kind": "Reference",
|
69251
|
+
"text": "Color4",
|
69252
|
+
"canonicalReference": "@dcl/playground-assets!Color4"
|
69253
|
+
},
|
69254
|
+
{
|
69255
|
+
"kind": "Content",
|
69256
|
+
"text": " | undefined"
|
69257
|
+
},
|
69258
|
+
{
|
69259
|
+
"kind": "Content",
|
69260
|
+
"text": ";"
|
69261
|
+
}
|
69262
|
+
],
|
69263
|
+
"isReadonly": false,
|
69264
|
+
"isOptional": true,
|
69265
|
+
"releaseTag": "Public",
|
69266
|
+
"name": "outlineColor",
|
69267
|
+
"propertyTypeTokenRange": {
|
69268
|
+
"startIndex": 1,
|
69269
|
+
"endIndex": 3
|
69270
|
+
}
|
69271
|
+
},
|
69272
|
+
{
|
69273
|
+
"kind": "PropertySignature",
|
69274
|
+
"canonicalReference": "@dcl/playground-assets!UiLabelProps#outlineWidth:member",
|
69275
|
+
"docComment": "/**\n * Outline width of the text.\n *\n * @defaultValue\n *\n * 0\n */\n",
|
69276
|
+
"excerptTokens": [
|
69277
|
+
{
|
69278
|
+
"kind": "Content",
|
69279
|
+
"text": "outlineWidth?: "
|
69280
|
+
},
|
69281
|
+
{
|
69282
|
+
"kind": "Content",
|
69283
|
+
"text": "number | undefined"
|
69284
|
+
},
|
69285
|
+
{
|
69286
|
+
"kind": "Content",
|
69287
|
+
"text": ";"
|
69288
|
+
}
|
69289
|
+
],
|
69290
|
+
"isReadonly": false,
|
69291
|
+
"isOptional": true,
|
69292
|
+
"releaseTag": "Public",
|
69293
|
+
"name": "outlineWidth",
|
69294
|
+
"propertyTypeTokenRange": {
|
69295
|
+
"startIndex": 1,
|
69296
|
+
"endIndex": 2
|
69297
|
+
}
|
69298
|
+
},
|
69213
69299
|
{
|
69214
69300
|
"kind": "PropertySignature",
|
69215
69301
|
"canonicalReference": "@dcl/playground-assets!UiLabelProps#textAlign:member",
|
@@ -69242,6 +69328,33 @@
|
|
69242
69328
|
"endIndex": 3
|
69243
69329
|
}
|
69244
69330
|
},
|
69331
|
+
{
|
69332
|
+
"kind": "PropertySignature",
|
69333
|
+
"canonicalReference": "@dcl/playground-assets!UiLabelProps#textWrapping:member",
|
69334
|
+
"docComment": "/**\n * Text wrapping.\n *\n * @defaultValue\n *\n * false\n */\n",
|
69335
|
+
"excerptTokens": [
|
69336
|
+
{
|
69337
|
+
"kind": "Content",
|
69338
|
+
"text": "textWrapping?: "
|
69339
|
+
},
|
69340
|
+
{
|
69341
|
+
"kind": "Content",
|
69342
|
+
"text": "boolean | undefined"
|
69343
|
+
},
|
69344
|
+
{
|
69345
|
+
"kind": "Content",
|
69346
|
+
"text": ";"
|
69347
|
+
}
|
69348
|
+
],
|
69349
|
+
"isReadonly": false,
|
69350
|
+
"isOptional": true,
|
69351
|
+
"releaseTag": "Public",
|
69352
|
+
"name": "textWrapping",
|
69353
|
+
"propertyTypeTokenRange": {
|
69354
|
+
"startIndex": 1,
|
69355
|
+
"endIndex": 2
|
69356
|
+
}
|
69357
|
+
},
|
69245
69358
|
{
|
69246
69359
|
"kind": "PropertySignature",
|
69247
69360
|
"canonicalReference": "@dcl/playground-assets!UiLabelProps#value:member",
|
@@ -69925,6 +70038,33 @@
|
|
69925
70038
|
"endIndex": 2
|
69926
70039
|
}
|
69927
70040
|
},
|
70041
|
+
{
|
70042
|
+
"kind": "PropertySignature",
|
70043
|
+
"canonicalReference": "@dcl/playground-assets!UiTransformProps#opacity:member",
|
70044
|
+
"docComment": "/**\n * The opacity property sets the opacity level for an element, it's accumulated across children\n *\n * @defaultValue\n *\n * 1\n */\n",
|
70045
|
+
"excerptTokens": [
|
70046
|
+
{
|
70047
|
+
"kind": "Content",
|
70048
|
+
"text": "opacity?: "
|
70049
|
+
},
|
70050
|
+
{
|
70051
|
+
"kind": "Content",
|
70052
|
+
"text": "number"
|
70053
|
+
},
|
70054
|
+
{
|
70055
|
+
"kind": "Content",
|
70056
|
+
"text": ";"
|
70057
|
+
}
|
70058
|
+
],
|
70059
|
+
"isReadonly": false,
|
70060
|
+
"isOptional": true,
|
70061
|
+
"releaseTag": "Public",
|
70062
|
+
"name": "opacity",
|
70063
|
+
"propertyTypeTokenRange": {
|
70064
|
+
"startIndex": 1,
|
70065
|
+
"endIndex": 2
|
70066
|
+
}
|
70067
|
+
},
|
69928
70068
|
{
|
69929
70069
|
"kind": "PropertySignature",
|
69930
70070
|
"canonicalReference": "@dcl/playground-assets!UiTransformProps#overflow:member",
|
@@ -3008,6 +3008,7 @@ export interface PBUiText {
|
|
3008
3008
|
outlineColor?: PBColor4 | undefined;
|
3009
3009
|
outlineWidth?: number | undefined;
|
3010
3010
|
textAlign?: TextAlignMode | undefined;
|
3011
|
+
textWrapping?: boolean | undefined;
|
3011
3012
|
value: string;
|
3012
3013
|
}
|
3013
3014
|
|
@@ -4112,7 +4113,10 @@ export interface UiLabelProps {
|
|
4112
4113
|
color?: PBColor4 | undefined;
|
4113
4114
|
font?: UiFontType | undefined;
|
4114
4115
|
fontSize?: ScaleUnit | undefined;
|
4116
|
+
outlineColor?: PBColor4 | undefined;
|
4117
|
+
outlineWidth?: number | undefined;
|
4115
4118
|
textAlign?: TextAlignType | undefined;
|
4119
|
+
textWrapping?: boolean | undefined;
|
4116
4120
|
value: string;
|
4117
4121
|
}
|
4118
4122
|
|
@@ -4151,6 +4155,7 @@ export interface UiTransformProps {
|
|
4151
4155
|
maxWidth?: PositionUnit;
|
4152
4156
|
minHeight?: PositionUnit;
|
4153
4157
|
minWidth?: PositionUnit;
|
4158
|
+
opacity?: number;
|
4154
4159
|
overflow?: OverflowType;
|
4155
4160
|
padding?: Partial<Position> | PositionShorthand;
|
4156
4161
|
pointerFilter?: PointerFilterType;
|
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@dcl/playground-assets",
|
3
3
|
"description": "",
|
4
|
-
"version": "7.5.1-
|
4
|
+
"version": "7.5.1-9257780246.commit-0bf8464",
|
5
5
|
"author": "Decentraland",
|
6
6
|
"dependencies": {
|
7
|
-
"@dcl/js-runtime": "7.5.1-
|
8
|
-
"@dcl/sdk": "7.5.1-
|
7
|
+
"@dcl/js-runtime": "7.5.1-9257780246.commit-0bf8464",
|
8
|
+
"@dcl/sdk": "7.5.1-9257780246.commit-0bf8464"
|
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": "0bf8464664bfd9efe67095afcba8617a3db2d21b"
|
36
36
|
}
|