@dcl/ecs 7.30.2-38752426937.commit-d38a9c4 → 7.30.2-39298229670.commit-4f1b1eb

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.
Files changed (17) hide show
  1. package/dist/components/generated/pb/decentraland/sdk/components/text_shape.gen.d.ts +2 -0
  2. package/dist/components/generated/pb/decentraland/sdk/components/text_shape.gen.js +10 -0
  3. package/dist/components/generated/pb/decentraland/sdk/components/ui_dropdown.gen.d.ts +2 -0
  4. package/dist/components/generated/pb/decentraland/sdk/components/ui_dropdown.gen.js +10 -0
  5. package/dist/components/generated/pb/decentraland/sdk/components/ui_input.gen.d.ts +2 -0
  6. package/dist/components/generated/pb/decentraland/sdk/components/ui_input.gen.js +10 -0
  7. package/dist/components/generated/pb/decentraland/sdk/components/ui_text.gen.d.ts +2 -0
  8. package/dist/components/generated/pb/decentraland/sdk/components/ui_text.gen.js +10 -0
  9. package/dist-cjs/components/generated/pb/decentraland/sdk/components/text_shape.gen.d.ts +2 -0
  10. package/dist-cjs/components/generated/pb/decentraland/sdk/components/text_shape.gen.js +10 -0
  11. package/dist-cjs/components/generated/pb/decentraland/sdk/components/ui_dropdown.gen.d.ts +2 -0
  12. package/dist-cjs/components/generated/pb/decentraland/sdk/components/ui_dropdown.gen.js +10 -0
  13. package/dist-cjs/components/generated/pb/decentraland/sdk/components/ui_input.gen.d.ts +2 -0
  14. package/dist-cjs/components/generated/pb/decentraland/sdk/components/ui_input.gen.js +10 -0
  15. package/dist-cjs/components/generated/pb/decentraland/sdk/components/ui_text.gen.d.ts +2 -0
  16. package/dist-cjs/components/generated/pb/decentraland/sdk/components/ui_text.gen.js +10 -0
  17. package/package.json +2 -2
@@ -55,6 +55,8 @@ export interface PBTextShape {
55
55
  outlineColor?: Color3 | undefined;
56
56
  /** text color (default [1.0, 1.0, 1.0]) */
57
57
  textColor?: Color4 | undefined;
58
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
59
+ fontSrc?: string | undefined;
58
60
  }
59
61
  /**
60
62
  * @public
@@ -25,6 +25,7 @@ function createBasePBTextShape() {
25
25
  shadowColor: undefined,
26
26
  outlineColor: undefined,
27
27
  textColor: undefined,
28
+ fontSrc: undefined,
28
29
  };
29
30
  }
30
31
  /**
@@ -96,6 +97,9 @@ export var PBTextShape;
96
97
  if (message.textColor !== undefined) {
97
98
  Color4.encode(message.textColor, writer.uint32(170).fork()).ldelim();
98
99
  }
100
+ if (message.fontSrc !== undefined) {
101
+ writer.uint32(178).string(message.fontSrc);
102
+ }
99
103
  return writer;
100
104
  }
101
105
  PBTextShape.encode = encode;
@@ -232,6 +236,12 @@ export var PBTextShape;
232
236
  }
233
237
  message.textColor = Color4.decode(reader, reader.uint32());
234
238
  continue;
239
+ case 22:
240
+ if (tag !== 178) {
241
+ break;
242
+ }
243
+ message.fontSrc = reader.string();
244
+ continue;
235
245
  }
236
246
  if ((tag & 7) === 4 || tag === 0) {
237
247
  break;
@@ -19,6 +19,8 @@ export interface PBUiDropdown {
19
19
  font?: Font | undefined;
20
20
  /** default=10 */
21
21
  fontSize?: number | undefined;
22
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
23
+ fontSrc?: string | undefined;
22
24
  }
23
25
  /**
24
26
  * @public
@@ -13,6 +13,7 @@ function createBasePBUiDropdown() {
13
13
  textAlign: undefined,
14
14
  font: undefined,
15
15
  fontSize: undefined,
16
+ fontSrc: undefined,
16
17
  };
17
18
  }
18
19
  /**
@@ -48,6 +49,9 @@ export var PBUiDropdown;
48
49
  if (message.fontSize !== undefined) {
49
50
  writer.uint32(96).int32(message.fontSize);
50
51
  }
52
+ if (message.fontSrc !== undefined) {
53
+ writer.uint32(106).string(message.fontSrc);
54
+ }
51
55
  return writer;
52
56
  }
53
57
  PBUiDropdown.encode = encode;
@@ -112,6 +116,12 @@ export var PBUiDropdown;
112
116
  }
113
117
  message.fontSize = reader.int32();
114
118
  continue;
119
+ case 13:
120
+ if (tag !== 106) {
121
+ break;
122
+ }
123
+ message.fontSrc = reader.string();
124
+ continue;
115
125
  }
116
126
  if ((tag & 7) === 4 || tag === 0) {
117
127
  break;
@@ -18,6 +18,8 @@ export interface PBUiInput {
18
18
  /** default=10 */
19
19
  fontSize?: number | undefined;
20
20
  value?: string | undefined;
21
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
22
+ fontSrc?: string | undefined;
21
23
  }
22
24
  /**
23
25
  * @public
@@ -12,6 +12,7 @@ function createBasePBUiInput() {
12
12
  font: undefined,
13
13
  fontSize: undefined,
14
14
  value: undefined,
15
+ fontSrc: undefined,
15
16
  };
16
17
  }
17
18
  /**
@@ -44,6 +45,9 @@ export var PBUiInput;
44
45
  if (message.value !== undefined) {
45
46
  writer.uint32(106).string(message.value);
46
47
  }
48
+ if (message.fontSrc !== undefined) {
49
+ writer.uint32(130).string(message.fontSrc);
50
+ }
47
51
  return writer;
48
52
  }
49
53
  PBUiInput.encode = encode;
@@ -102,6 +106,12 @@ export var PBUiInput;
102
106
  }
103
107
  message.value = reader.string();
104
108
  continue;
109
+ case 16:
110
+ if (tag !== 130) {
111
+ break;
112
+ }
113
+ message.fontSrc = reader.string();
114
+ continue;
105
115
  }
106
116
  if ((tag & 7) === 4 || tag === 0) {
107
117
  break;
@@ -24,6 +24,8 @@ export interface PBUiText {
24
24
  fontSize?: number | undefined;
25
25
  /** wrap text when the border is reached (default: TW_WRAP) */
26
26
  textWrap?: TextWrap | undefined;
27
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
28
+ fontSrc?: string | undefined;
27
29
  }
28
30
  /**
29
31
  * @public
@@ -18,6 +18,7 @@ function createBasePBUiText() {
18
18
  font: undefined,
19
19
  fontSize: undefined,
20
20
  textWrap: undefined,
21
+ fontSrc: undefined,
21
22
  };
22
23
  }
23
24
  /**
@@ -44,6 +45,9 @@ export var PBUiText;
44
45
  if (message.textWrap !== undefined) {
45
46
  writer.uint32(48).int32(message.textWrap);
46
47
  }
48
+ if (message.fontSrc !== undefined) {
49
+ writer.uint32(74).string(message.fontSrc);
50
+ }
47
51
  return writer;
48
52
  }
49
53
  PBUiText.encode = encode;
@@ -90,6 +94,12 @@ export var PBUiText;
90
94
  }
91
95
  message.textWrap = reader.int32();
92
96
  continue;
97
+ case 9:
98
+ if (tag !== 74) {
99
+ break;
100
+ }
101
+ message.fontSrc = reader.string();
102
+ continue;
93
103
  }
94
104
  if ((tag & 7) === 4 || tag === 0) {
95
105
  break;
@@ -55,6 +55,8 @@ export interface PBTextShape {
55
55
  outlineColor?: Color3 | undefined;
56
56
  /** text color (default [1.0, 1.0, 1.0]) */
57
57
  textColor?: Color4 | undefined;
58
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
59
+ fontSrc?: string | undefined;
58
60
  }
59
61
  /**
60
62
  * @public
@@ -31,6 +31,7 @@ function createBasePBTextShape() {
31
31
  shadowColor: undefined,
32
32
  outlineColor: undefined,
33
33
  textColor: undefined,
34
+ fontSrc: undefined,
34
35
  };
35
36
  }
36
37
  /**
@@ -102,6 +103,9 @@ var PBTextShape;
102
103
  if (message.textColor !== undefined) {
103
104
  colors_gen_1.Color4.encode(message.textColor, writer.uint32(170).fork()).ldelim();
104
105
  }
106
+ if (message.fontSrc !== undefined) {
107
+ writer.uint32(178).string(message.fontSrc);
108
+ }
105
109
  return writer;
106
110
  }
107
111
  PBTextShape.encode = encode;
@@ -238,6 +242,12 @@ var PBTextShape;
238
242
  }
239
243
  message.textColor = colors_gen_1.Color4.decode(reader, reader.uint32());
240
244
  continue;
245
+ case 22:
246
+ if (tag !== 178) {
247
+ break;
248
+ }
249
+ message.fontSrc = reader.string();
250
+ continue;
241
251
  }
242
252
  if ((tag & 7) === 4 || tag === 0) {
243
253
  break;
@@ -19,6 +19,8 @@ export interface PBUiDropdown {
19
19
  font?: Font | undefined;
20
20
  /** default=10 */
21
21
  fontSize?: number | undefined;
22
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
23
+ fontSrc?: string | undefined;
22
24
  }
23
25
  /**
24
26
  * @public
@@ -19,6 +19,7 @@ function createBasePBUiDropdown() {
19
19
  textAlign: undefined,
20
20
  font: undefined,
21
21
  fontSize: undefined,
22
+ fontSrc: undefined,
22
23
  };
23
24
  }
24
25
  /**
@@ -54,6 +55,9 @@ var PBUiDropdown;
54
55
  if (message.fontSize !== undefined) {
55
56
  writer.uint32(96).int32(message.fontSize);
56
57
  }
58
+ if (message.fontSrc !== undefined) {
59
+ writer.uint32(106).string(message.fontSrc);
60
+ }
57
61
  return writer;
58
62
  }
59
63
  PBUiDropdown.encode = encode;
@@ -118,6 +122,12 @@ var PBUiDropdown;
118
122
  }
119
123
  message.fontSize = reader.int32();
120
124
  continue;
125
+ case 13:
126
+ if (tag !== 106) {
127
+ break;
128
+ }
129
+ message.fontSrc = reader.string();
130
+ continue;
121
131
  }
122
132
  if ((tag & 7) === 4 || tag === 0) {
123
133
  break;
@@ -18,6 +18,8 @@ export interface PBUiInput {
18
18
  /** default=10 */
19
19
  fontSize?: number | undefined;
20
20
  value?: string | undefined;
21
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
22
+ fontSrc?: string | undefined;
21
23
  }
22
24
  /**
23
25
  * @public
@@ -18,6 +18,7 @@ function createBasePBUiInput() {
18
18
  font: undefined,
19
19
  fontSize: undefined,
20
20
  value: undefined,
21
+ fontSrc: undefined,
21
22
  };
22
23
  }
23
24
  /**
@@ -50,6 +51,9 @@ var PBUiInput;
50
51
  if (message.value !== undefined) {
51
52
  writer.uint32(106).string(message.value);
52
53
  }
54
+ if (message.fontSrc !== undefined) {
55
+ writer.uint32(130).string(message.fontSrc);
56
+ }
53
57
  return writer;
54
58
  }
55
59
  PBUiInput.encode = encode;
@@ -108,6 +112,12 @@ var PBUiInput;
108
112
  }
109
113
  message.value = reader.string();
110
114
  continue;
115
+ case 16:
116
+ if (tag !== 130) {
117
+ break;
118
+ }
119
+ message.fontSrc = reader.string();
120
+ continue;
111
121
  }
112
122
  if ((tag & 7) === 4 || tag === 0) {
113
123
  break;
@@ -24,6 +24,8 @@ export interface PBUiText {
24
24
  fontSize?: number | undefined;
25
25
  /** wrap text when the border is reached (default: TW_WRAP) */
26
26
  textWrap?: TextWrap | undefined;
27
+ /** a ttf font file in the scene content or a Google Fonts family name; `font` is the fallback (default: unset) */
28
+ fontSrc?: string | undefined;
27
29
  }
28
30
  /**
29
31
  * @public
@@ -24,6 +24,7 @@ function createBasePBUiText() {
24
24
  font: undefined,
25
25
  fontSize: undefined,
26
26
  textWrap: undefined,
27
+ fontSrc: undefined,
27
28
  };
28
29
  }
29
30
  /**
@@ -50,6 +51,9 @@ var PBUiText;
50
51
  if (message.textWrap !== undefined) {
51
52
  writer.uint32(48).int32(message.textWrap);
52
53
  }
54
+ if (message.fontSrc !== undefined) {
55
+ writer.uint32(74).string(message.fontSrc);
56
+ }
53
57
  return writer;
54
58
  }
55
59
  PBUiText.encode = encode;
@@ -96,6 +100,12 @@ var PBUiText;
96
100
  }
97
101
  message.textWrap = reader.int32();
98
102
  continue;
103
+ case 9:
104
+ if (tag !== 74) {
105
+ break;
106
+ }
107
+ message.fontSrc = reader.string();
108
+ continue;
99
109
  }
100
110
  if ((tag & 7) === 4 || tag === 0) {
101
111
  break;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcl/ecs",
3
3
  "description": "Decentraland ECS",
4
- "version": "7.30.2-38752426937.commit-d38a9c4",
4
+ "version": "7.30.2-39298229670.commit-4f1b1eb",
5
5
  "author": "DCL",
6
6
  "bugs": "https://github.com/decentraland/ecs/issues",
7
7
  "files": [
@@ -34,5 +34,5 @@
34
34
  "dependencies": {},
35
35
  "types": "./dist/index.d.ts",
36
36
  "typings": "./dist/index.d.ts",
37
- "commit": "d38a9c4e3f336e1c15ec4f493188246ecf0778c9"
37
+ "commit": "4f1b1eb4414e79ed8ab9b92e1fef8edac9ccc1be"
38
38
  }