@dcl/playground-assets 7.30.2-38752426937.commit-d38a9c4 → 7.30.2-39664458136.commit-06bfc6c
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 +5 -5
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +10 -0
- package/etc/playground-assets.api.json +135 -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.30.2-
|
|
4
|
+
"version": "7.30.2-39664458136.commit-06bfc6c",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@dcl/ecs": "file:../ecs",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
},
|
|
34
34
|
"types": "./index.d.ts",
|
|
35
35
|
"typings": "./index.d.ts",
|
|
36
|
-
"commit": "
|
|
36
|
+
"commit": "06bfc6c91343ebe71a3abc9aa9a9be06a9bda47b"
|
|
37
37
|
}
|
|
@@ -6712,6 +6712,8 @@ export declare interface PBTextShape {
|
|
|
6712
6712
|
outlineColor?: PBColor3 | undefined;
|
|
6713
6713
|
/** text color (default [1.0, 1.0, 1.0]) */
|
|
6714
6714
|
textColor?: PBColor4 | undefined;
|
|
6715
|
+
/** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
|
|
6716
|
+
fontSrc?: string | undefined;
|
|
6715
6717
|
}
|
|
6716
6718
|
|
|
6717
6719
|
/**
|
|
@@ -7022,6 +7024,8 @@ export declare interface PBUiDropdown {
|
|
|
7022
7024
|
font?: Font | undefined;
|
|
7023
7025
|
/** default=10 */
|
|
7024
7026
|
fontSize?: number | undefined;
|
|
7027
|
+
/** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
|
|
7028
|
+
fontSrc?: string | undefined;
|
|
7025
7029
|
}
|
|
7026
7030
|
|
|
7027
7031
|
/**
|
|
@@ -7064,6 +7068,8 @@ export declare interface PBUiInput {
|
|
|
7064
7068
|
/** default=10 */
|
|
7065
7069
|
fontSize?: number | undefined;
|
|
7066
7070
|
value?: string | undefined;
|
|
7071
|
+
/** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
|
|
7072
|
+
fontSrc?: string | undefined;
|
|
7067
7073
|
}
|
|
7068
7074
|
|
|
7069
7075
|
/**
|
|
@@ -7143,6 +7149,8 @@ export declare interface PBUiText {
|
|
|
7143
7149
|
fontSize?: number | undefined;
|
|
7144
7150
|
/** wrap text when the border is reached (default: TW_WRAP) */
|
|
7145
7151
|
textWrap?: TextWrap | undefined;
|
|
7152
|
+
/** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
|
|
7153
|
+
fontSrc?: string | undefined;
|
|
7146
7154
|
}
|
|
7147
7155
|
|
|
7148
7156
|
/**
|
|
@@ -9958,6 +9966,8 @@ export declare interface UiLabelProps {
|
|
|
9958
9966
|
textAlign?: TextAlignType | undefined;
|
|
9959
9967
|
/** Label font type. @defaultValue 'sans-serif' */
|
|
9960
9968
|
font?: UiFontType | undefined;
|
|
9969
|
+
/** Path to a `.ttf` file in the scene content. `font` is used when it can't be loaded. */
|
|
9970
|
+
fontSrc?: string | undefined;
|
|
9961
9971
|
/** Behaviour when text reached. @defaultValue 'wrap' */
|
|
9962
9972
|
textWrap?: UiTextWrapType | undefined;
|
|
9963
9973
|
}
|
|
@@ -62559,6 +62559,33 @@
|
|
|
62559
62559
|
"endIndex": 2
|
|
62560
62560
|
}
|
|
62561
62561
|
},
|
|
62562
|
+
{
|
|
62563
|
+
"kind": "PropertySignature",
|
|
62564
|
+
"canonicalReference": "@dcl/playground-assets!PBTextShape#fontSrc:member",
|
|
62565
|
+
"docComment": "/**\n * a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset)\n */\n",
|
|
62566
|
+
"excerptTokens": [
|
|
62567
|
+
{
|
|
62568
|
+
"kind": "Content",
|
|
62569
|
+
"text": "fontSrc?: "
|
|
62570
|
+
},
|
|
62571
|
+
{
|
|
62572
|
+
"kind": "Content",
|
|
62573
|
+
"text": "string | undefined"
|
|
62574
|
+
},
|
|
62575
|
+
{
|
|
62576
|
+
"kind": "Content",
|
|
62577
|
+
"text": ";"
|
|
62578
|
+
}
|
|
62579
|
+
],
|
|
62580
|
+
"isReadonly": false,
|
|
62581
|
+
"isOptional": true,
|
|
62582
|
+
"releaseTag": "Public",
|
|
62583
|
+
"name": "fontSrc",
|
|
62584
|
+
"propertyTypeTokenRange": {
|
|
62585
|
+
"startIndex": 1,
|
|
62586
|
+
"endIndex": 2
|
|
62587
|
+
}
|
|
62588
|
+
},
|
|
62562
62589
|
{
|
|
62563
62590
|
"kind": "PropertySignature",
|
|
62564
62591
|
"canonicalReference": "@dcl/playground-assets!PBTextShape#height:member",
|
|
@@ -66311,6 +66338,33 @@
|
|
|
66311
66338
|
"endIndex": 2
|
|
66312
66339
|
}
|
|
66313
66340
|
},
|
|
66341
|
+
{
|
|
66342
|
+
"kind": "PropertySignature",
|
|
66343
|
+
"canonicalReference": "@dcl/playground-assets!PBUiDropdown#fontSrc:member",
|
|
66344
|
+
"docComment": "/**\n * a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset)\n */\n",
|
|
66345
|
+
"excerptTokens": [
|
|
66346
|
+
{
|
|
66347
|
+
"kind": "Content",
|
|
66348
|
+
"text": "fontSrc?: "
|
|
66349
|
+
},
|
|
66350
|
+
{
|
|
66351
|
+
"kind": "Content",
|
|
66352
|
+
"text": "string | undefined"
|
|
66353
|
+
},
|
|
66354
|
+
{
|
|
66355
|
+
"kind": "Content",
|
|
66356
|
+
"text": ";"
|
|
66357
|
+
}
|
|
66358
|
+
],
|
|
66359
|
+
"isReadonly": false,
|
|
66360
|
+
"isOptional": true,
|
|
66361
|
+
"releaseTag": "Public",
|
|
66362
|
+
"name": "fontSrc",
|
|
66363
|
+
"propertyTypeTokenRange": {
|
|
66364
|
+
"startIndex": 1,
|
|
66365
|
+
"endIndex": 2
|
|
66366
|
+
}
|
|
66367
|
+
},
|
|
66314
66368
|
{
|
|
66315
66369
|
"kind": "PropertySignature",
|
|
66316
66370
|
"canonicalReference": "@dcl/playground-assets!PBUiDropdown#options:member",
|
|
@@ -66880,6 +66934,33 @@
|
|
|
66880
66934
|
"endIndex": 2
|
|
66881
66935
|
}
|
|
66882
66936
|
},
|
|
66937
|
+
{
|
|
66938
|
+
"kind": "PropertySignature",
|
|
66939
|
+
"canonicalReference": "@dcl/playground-assets!PBUiInput#fontSrc:member",
|
|
66940
|
+
"docComment": "/**\n * a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset)\n */\n",
|
|
66941
|
+
"excerptTokens": [
|
|
66942
|
+
{
|
|
66943
|
+
"kind": "Content",
|
|
66944
|
+
"text": "fontSrc?: "
|
|
66945
|
+
},
|
|
66946
|
+
{
|
|
66947
|
+
"kind": "Content",
|
|
66948
|
+
"text": "string | undefined"
|
|
66949
|
+
},
|
|
66950
|
+
{
|
|
66951
|
+
"kind": "Content",
|
|
66952
|
+
"text": ";"
|
|
66953
|
+
}
|
|
66954
|
+
],
|
|
66955
|
+
"isReadonly": false,
|
|
66956
|
+
"isOptional": true,
|
|
66957
|
+
"releaseTag": "Public",
|
|
66958
|
+
"name": "fontSrc",
|
|
66959
|
+
"propertyTypeTokenRange": {
|
|
66960
|
+
"startIndex": 1,
|
|
66961
|
+
"endIndex": 2
|
|
66962
|
+
}
|
|
66963
|
+
},
|
|
66883
66964
|
{
|
|
66884
66965
|
"kind": "PropertySignature",
|
|
66885
66966
|
"canonicalReference": "@dcl/playground-assets!PBUiInput#placeholder:member",
|
|
@@ -67682,6 +67763,33 @@
|
|
|
67682
67763
|
"endIndex": 2
|
|
67683
67764
|
}
|
|
67684
67765
|
},
|
|
67766
|
+
{
|
|
67767
|
+
"kind": "PropertySignature",
|
|
67768
|
+
"canonicalReference": "@dcl/playground-assets!PBUiText#fontSrc:member",
|
|
67769
|
+
"docComment": "/**\n * a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset)\n */\n",
|
|
67770
|
+
"excerptTokens": [
|
|
67771
|
+
{
|
|
67772
|
+
"kind": "Content",
|
|
67773
|
+
"text": "fontSrc?: "
|
|
67774
|
+
},
|
|
67775
|
+
{
|
|
67776
|
+
"kind": "Content",
|
|
67777
|
+
"text": "string | undefined"
|
|
67778
|
+
},
|
|
67779
|
+
{
|
|
67780
|
+
"kind": "Content",
|
|
67781
|
+
"text": ";"
|
|
67782
|
+
}
|
|
67783
|
+
],
|
|
67784
|
+
"isReadonly": false,
|
|
67785
|
+
"isOptional": true,
|
|
67786
|
+
"releaseTag": "Public",
|
|
67787
|
+
"name": "fontSrc",
|
|
67788
|
+
"propertyTypeTokenRange": {
|
|
67789
|
+
"startIndex": 1,
|
|
67790
|
+
"endIndex": 2
|
|
67791
|
+
}
|
|
67792
|
+
},
|
|
67685
67793
|
{
|
|
67686
67794
|
"kind": "PropertySignature",
|
|
67687
67795
|
"canonicalReference": "@dcl/playground-assets!PBUiText#textAlign:member",
|
|
@@ -93390,6 +93498,33 @@
|
|
|
93390
93498
|
"endIndex": 3
|
|
93391
93499
|
}
|
|
93392
93500
|
},
|
|
93501
|
+
{
|
|
93502
|
+
"kind": "PropertySignature",
|
|
93503
|
+
"canonicalReference": "@dcl/playground-assets!UiLabelProps#fontSrc:member",
|
|
93504
|
+
"docComment": "/**\n * Path to a `.ttf` file in the scene content. `font` is used when it can't be loaded.\n */\n",
|
|
93505
|
+
"excerptTokens": [
|
|
93506
|
+
{
|
|
93507
|
+
"kind": "Content",
|
|
93508
|
+
"text": "fontSrc?: "
|
|
93509
|
+
},
|
|
93510
|
+
{
|
|
93511
|
+
"kind": "Content",
|
|
93512
|
+
"text": "string | undefined"
|
|
93513
|
+
},
|
|
93514
|
+
{
|
|
93515
|
+
"kind": "Content",
|
|
93516
|
+
"text": ";"
|
|
93517
|
+
}
|
|
93518
|
+
],
|
|
93519
|
+
"isReadonly": false,
|
|
93520
|
+
"isOptional": true,
|
|
93521
|
+
"releaseTag": "Public",
|
|
93522
|
+
"name": "fontSrc",
|
|
93523
|
+
"propertyTypeTokenRange": {
|
|
93524
|
+
"startIndex": 1,
|
|
93525
|
+
"endIndex": 2
|
|
93526
|
+
}
|
|
93527
|
+
},
|
|
93393
93528
|
{
|
|
93394
93529
|
"kind": "PropertySignature",
|
|
93395
93530
|
"canonicalReference": "@dcl/playground-assets!UiLabelProps#textAlign:member",
|
|
@@ -3769,6 +3769,7 @@ export interface PBTextShape {
|
|
|
3769
3769
|
font?: Font | undefined;
|
|
3770
3770
|
fontAutoSize?: boolean | undefined;
|
|
3771
3771
|
fontSize?: number | undefined;
|
|
3772
|
+
fontSrc?: string | undefined;
|
|
3772
3773
|
height?: number | undefined;
|
|
3773
3774
|
lineCount?: number | undefined;
|
|
3774
3775
|
lineSpacing?: number | undefined;
|
|
@@ -4000,6 +4001,7 @@ export interface PBUiDropdown {
|
|
|
4000
4001
|
emptyLabel?: string | undefined;
|
|
4001
4002
|
font?: Font | undefined;
|
|
4002
4003
|
fontSize?: number | undefined;
|
|
4004
|
+
fontSrc?: string | undefined;
|
|
4003
4005
|
// (undocumented)
|
|
4004
4006
|
options: string[];
|
|
4005
4007
|
selectedIndex?: number | undefined;
|
|
@@ -4035,6 +4037,7 @@ export interface PBUiInput {
|
|
|
4035
4037
|
disabled: boolean;
|
|
4036
4038
|
font?: Font | undefined;
|
|
4037
4039
|
fontSize?: number | undefined;
|
|
4040
|
+
fontSrc?: string | undefined;
|
|
4038
4041
|
// (undocumented)
|
|
4039
4042
|
placeholder: string;
|
|
4040
4043
|
placeholderColor?: PBColor4 | undefined;
|
|
@@ -4084,6 +4087,7 @@ export interface PBUiText {
|
|
|
4084
4087
|
color?: PBColor4 | undefined;
|
|
4085
4088
|
font?: Font | undefined;
|
|
4086
4089
|
fontSize?: number | undefined;
|
|
4090
|
+
fontSrc?: string | undefined;
|
|
4087
4091
|
textAlign?: TextAlignMode | undefined;
|
|
4088
4092
|
textWrap?: TextWrap | undefined;
|
|
4089
4093
|
value: string;
|
|
@@ -5584,6 +5588,7 @@ export interface UiLabelProps {
|
|
|
5584
5588
|
color?: PBColor4 | undefined;
|
|
5585
5589
|
font?: UiFontType | undefined;
|
|
5586
5590
|
fontSize?: ScaleUnit | undefined;
|
|
5591
|
+
fontSrc?: string | undefined;
|
|
5587
5592
|
textAlign?: TextAlignType | undefined;
|
|
5588
5593
|
textWrap?: UiTextWrapType | undefined;
|
|
5589
5594
|
value: string;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcl/playground-assets",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "7.30.2-
|
|
4
|
+
"version": "7.30.2-39664458136.commit-06bfc6c",
|
|
5
5
|
"author": "Decentraland",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@dcl/js-runtime": "7.30.2-
|
|
8
|
-
"@dcl/sdk": "7.30.2-
|
|
7
|
+
"@dcl/js-runtime": "7.30.2-39664458136.commit-06bfc6c",
|
|
8
|
+
"@dcl/sdk": "7.30.2-39664458136.commit-06bfc6c"
|
|
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": "06bfc6c91343ebe71a3abc9aa9a9be06a9bda47b"
|
|
36
36
|
}
|