@dcl/playground-assets 7.30.2-38470202470.commit-ee06955 → 7.30.2-39321726891.commit-9926e63

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
3
  "description": "",
4
- "version": "7.30.2-38470202470.commit-ee06955",
4
+ "version": "7.30.2-39321726891.commit-9926e63",
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": "ee06955d61a6c1b6a7b820b76daff80062dfbf25"
36
+ "commit": "9926e639bcabc1d6b853f6c8ccc80ed27156d420"
37
37
  }
@@ -6802,6 +6802,8 @@ export declare interface PBTextShape {
6802
6802
  outlineColor?: PBColor3 | undefined;
6803
6803
  /** text color (default [1.0, 1.0, 1.0]) */
6804
6804
  textColor?: PBColor4 | undefined;
6805
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
6806
+ fontSrc?: string | undefined;
6805
6807
  }
6806
6808
 
6807
6809
  /**
@@ -7112,6 +7114,8 @@ export declare interface PBUiDropdown {
7112
7114
  font?: Font | undefined;
7113
7115
  /** default=10 */
7114
7116
  fontSize?: number | undefined;
7117
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
7118
+ fontSrc?: string | undefined;
7115
7119
  }
7116
7120
 
7117
7121
  /**
@@ -7154,6 +7158,8 @@ export declare interface PBUiInput {
7154
7158
  /** default=10 */
7155
7159
  fontSize?: number | undefined;
7156
7160
  value?: string | undefined;
7161
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
7162
+ fontSrc?: string | undefined;
7157
7163
  }
7158
7164
 
7159
7165
  /**
@@ -7233,6 +7239,8 @@ export declare interface PBUiText {
7233
7239
  fontSize?: number | undefined;
7234
7240
  /** wrap text when the border is reached (default: TW_WRAP) */
7235
7241
  textWrap?: TextWrap | undefined;
7242
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
7243
+ fontSrc?: string | undefined;
7236
7244
  }
7237
7245
 
7238
7246
  /**
@@ -10058,6 +10066,8 @@ export declare interface UiLabelProps {
10058
10066
  textAlign?: TextAlignType | undefined;
10059
10067
  /** Label font type. @defaultValue 'sans-serif' */
10060
10068
  font?: UiFontType | undefined;
10069
+ /** Path to a `.ttf` file in the scene content. `font` is used when it can't be loaded. */
10070
+ fontSrc?: string | undefined;
10061
10071
  /** Behaviour when text reached. @defaultValue 'wrap' */
10062
10072
  textWrap?: UiTextWrapType | undefined;
10063
10073
  }
@@ -63508,6 +63508,33 @@
63508
63508
  "endIndex": 2
63509
63509
  }
63510
63510
  },
63511
+ {
63512
+ "kind": "PropertySignature",
63513
+ "canonicalReference": "@dcl/playground-assets!PBTextShape#fontSrc:member",
63514
+ "docComment": "/**\n * a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset)\n */\n",
63515
+ "excerptTokens": [
63516
+ {
63517
+ "kind": "Content",
63518
+ "text": "fontSrc?: "
63519
+ },
63520
+ {
63521
+ "kind": "Content",
63522
+ "text": "string | undefined"
63523
+ },
63524
+ {
63525
+ "kind": "Content",
63526
+ "text": ";"
63527
+ }
63528
+ ],
63529
+ "isReadonly": false,
63530
+ "isOptional": true,
63531
+ "releaseTag": "Public",
63532
+ "name": "fontSrc",
63533
+ "propertyTypeTokenRange": {
63534
+ "startIndex": 1,
63535
+ "endIndex": 2
63536
+ }
63537
+ },
63511
63538
  {
63512
63539
  "kind": "PropertySignature",
63513
63540
  "canonicalReference": "@dcl/playground-assets!PBTextShape#height:member",
@@ -67260,6 +67287,33 @@
67260
67287
  "endIndex": 2
67261
67288
  }
67262
67289
  },
67290
+ {
67291
+ "kind": "PropertySignature",
67292
+ "canonicalReference": "@dcl/playground-assets!PBUiDropdown#fontSrc:member",
67293
+ "docComment": "/**\n * a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset)\n */\n",
67294
+ "excerptTokens": [
67295
+ {
67296
+ "kind": "Content",
67297
+ "text": "fontSrc?: "
67298
+ },
67299
+ {
67300
+ "kind": "Content",
67301
+ "text": "string | undefined"
67302
+ },
67303
+ {
67304
+ "kind": "Content",
67305
+ "text": ";"
67306
+ }
67307
+ ],
67308
+ "isReadonly": false,
67309
+ "isOptional": true,
67310
+ "releaseTag": "Public",
67311
+ "name": "fontSrc",
67312
+ "propertyTypeTokenRange": {
67313
+ "startIndex": 1,
67314
+ "endIndex": 2
67315
+ }
67316
+ },
67263
67317
  {
67264
67318
  "kind": "PropertySignature",
67265
67319
  "canonicalReference": "@dcl/playground-assets!PBUiDropdown#options:member",
@@ -67829,6 +67883,33 @@
67829
67883
  "endIndex": 2
67830
67884
  }
67831
67885
  },
67886
+ {
67887
+ "kind": "PropertySignature",
67888
+ "canonicalReference": "@dcl/playground-assets!PBUiInput#fontSrc:member",
67889
+ "docComment": "/**\n * a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset)\n */\n",
67890
+ "excerptTokens": [
67891
+ {
67892
+ "kind": "Content",
67893
+ "text": "fontSrc?: "
67894
+ },
67895
+ {
67896
+ "kind": "Content",
67897
+ "text": "string | undefined"
67898
+ },
67899
+ {
67900
+ "kind": "Content",
67901
+ "text": ";"
67902
+ }
67903
+ ],
67904
+ "isReadonly": false,
67905
+ "isOptional": true,
67906
+ "releaseTag": "Public",
67907
+ "name": "fontSrc",
67908
+ "propertyTypeTokenRange": {
67909
+ "startIndex": 1,
67910
+ "endIndex": 2
67911
+ }
67912
+ },
67832
67913
  {
67833
67914
  "kind": "PropertySignature",
67834
67915
  "canonicalReference": "@dcl/playground-assets!PBUiInput#placeholder:member",
@@ -68631,6 +68712,33 @@
68631
68712
  "endIndex": 2
68632
68713
  }
68633
68714
  },
68715
+ {
68716
+ "kind": "PropertySignature",
68717
+ "canonicalReference": "@dcl/playground-assets!PBUiText#fontSrc:member",
68718
+ "docComment": "/**\n * a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset)\n */\n",
68719
+ "excerptTokens": [
68720
+ {
68721
+ "kind": "Content",
68722
+ "text": "fontSrc?: "
68723
+ },
68724
+ {
68725
+ "kind": "Content",
68726
+ "text": "string | undefined"
68727
+ },
68728
+ {
68729
+ "kind": "Content",
68730
+ "text": ";"
68731
+ }
68732
+ ],
68733
+ "isReadonly": false,
68734
+ "isOptional": true,
68735
+ "releaseTag": "Public",
68736
+ "name": "fontSrc",
68737
+ "propertyTypeTokenRange": {
68738
+ "startIndex": 1,
68739
+ "endIndex": 2
68740
+ }
68741
+ },
68634
68742
  {
68635
68743
  "kind": "PropertySignature",
68636
68744
  "canonicalReference": "@dcl/playground-assets!PBUiText#textAlign:member",
@@ -94339,6 +94447,33 @@
94339
94447
  "endIndex": 3
94340
94448
  }
94341
94449
  },
94450
+ {
94451
+ "kind": "PropertySignature",
94452
+ "canonicalReference": "@dcl/playground-assets!UiLabelProps#fontSrc:member",
94453
+ "docComment": "/**\n * Path to a `.ttf` file in the scene content. `font` is used when it can't be loaded.\n */\n",
94454
+ "excerptTokens": [
94455
+ {
94456
+ "kind": "Content",
94457
+ "text": "fontSrc?: "
94458
+ },
94459
+ {
94460
+ "kind": "Content",
94461
+ "text": "string | undefined"
94462
+ },
94463
+ {
94464
+ "kind": "Content",
94465
+ "text": ";"
94466
+ }
94467
+ ],
94468
+ "isReadonly": false,
94469
+ "isOptional": true,
94470
+ "releaseTag": "Public",
94471
+ "name": "fontSrc",
94472
+ "propertyTypeTokenRange": {
94473
+ "startIndex": 1,
94474
+ "endIndex": 2
94475
+ }
94476
+ },
94342
94477
  {
94343
94478
  "kind": "PropertySignature",
94344
94479
  "canonicalReference": "@dcl/playground-assets!UiLabelProps#textAlign:member",
@@ -3834,6 +3834,7 @@ export interface PBTextShape {
3834
3834
  font?: Font | undefined;
3835
3835
  fontAutoSize?: boolean | undefined;
3836
3836
  fontSize?: number | undefined;
3837
+ fontSrc?: string | undefined;
3837
3838
  height?: number | undefined;
3838
3839
  lineCount?: number | undefined;
3839
3840
  lineSpacing?: number | undefined;
@@ -4065,6 +4066,7 @@ export interface PBUiDropdown {
4065
4066
  emptyLabel?: string | undefined;
4066
4067
  font?: Font | undefined;
4067
4068
  fontSize?: number | undefined;
4069
+ fontSrc?: string | undefined;
4068
4070
  // (undocumented)
4069
4071
  options: string[];
4070
4072
  selectedIndex?: number | undefined;
@@ -4100,6 +4102,7 @@ export interface PBUiInput {
4100
4102
  disabled: boolean;
4101
4103
  font?: Font | undefined;
4102
4104
  fontSize?: number | undefined;
4105
+ fontSrc?: string | undefined;
4103
4106
  // (undocumented)
4104
4107
  placeholder: string;
4105
4108
  placeholderColor?: PBColor4 | undefined;
@@ -4149,6 +4152,7 @@ export interface PBUiText {
4149
4152
  color?: PBColor4 | undefined;
4150
4153
  font?: Font | undefined;
4151
4154
  fontSize?: number | undefined;
4155
+ fontSrc?: string | undefined;
4152
4156
  textAlign?: TextAlignMode | undefined;
4153
4157
  textWrap?: TextWrap | undefined;
4154
4158
  value: string;
@@ -5650,6 +5654,7 @@ export interface UiLabelProps {
5650
5654
  color?: PBColor4 | undefined;
5651
5655
  font?: UiFontType | undefined;
5652
5656
  fontSize?: ScaleUnit | undefined;
5657
+ fontSrc?: string | undefined;
5653
5658
  textAlign?: TextAlignType | undefined;
5654
5659
  textWrap?: UiTextWrapType | undefined;
5655
5660
  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-38470202470.commit-ee06955",
4
+ "version": "7.30.2-39321726891.commit-9926e63",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.30.2-38470202470.commit-ee06955",
8
- "@dcl/sdk": "7.30.2-38470202470.commit-ee06955"
7
+ "@dcl/js-runtime": "7.30.2-39321726891.commit-9926e63",
8
+ "@dcl/sdk": "7.30.2-39321726891.commit-9926e63"
9
9
  },
10
10
  "devDependencies": {
11
11
  "@microsoft/api-extractor": "^7.33.8"
@@ -33,5 +33,5 @@
33
33
  },
34
34
  "types": "./dist/index.d.ts",
35
35
  "typings": "./dist/index.d.ts",
36
- "commit": "ee06955d61a6c1b6a7b820b76daff80062dfbf25"
36
+ "commit": "9926e639bcabc1d6b853f6c8ccc80ed27156d420"
37
37
  }