@dcl/sdk 7.0.0-3039764556.commit-d9e186e → 7.0.0-3045967591.commit-85b242a

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.
@@ -5,7 +5,21 @@ option (ecs_component_id) = 1052;
5
5
 
6
6
  import "common/Color3.proto";
7
7
 
8
+ enum TextAlign {
9
+ Center = 0;
10
+ Left = 1;
11
+ Right = 2;
12
+ }
13
+
14
+ enum Font {
15
+ LiberationSans = 0;
16
+ SansSerif = 1;
17
+ }
18
+
8
19
  message PBUiText {
9
- string text = 1;
10
- Color3 text_color = 2;
20
+ string value = 1;
21
+ optional Color3 color = 2; // default=(1.0,1.0,1.0)
22
+ optional TextAlign text_align = 3; // default='center'
23
+ optional Font font = 4; // default=0
24
+ optional int32 font_size = 5; // default=10
11
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
- "version": "7.0.0-3039764556.commit-d9e186e",
3
+ "version": "7.0.0-3045967591.commit-85b242a",
4
4
  "description": "",
5
5
  "main": "dist/src/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -27,8 +27,8 @@
27
27
  "src/cli/**/*.js"
28
28
  ],
29
29
  "dependencies": {
30
- "@dcl/amd": "6.11.7-3039764556.commit-d9e186e",
31
- "@dcl/build-ecs": "6.11.7-3039764556.commit-d9e186e",
30
+ "@dcl/amd": "6.11.7-3045967591.commit-85b242a",
31
+ "@dcl/build-ecs": "6.11.7-3045967591.commit-85b242a",
32
32
  "@dcl/kernel": "1.0.0-2994874542.commit-c3ae489",
33
33
  "@dcl/posix": "^1.0.4",
34
34
  "@dcl/schemas": "4.8.0",
@@ -38,5 +38,5 @@
38
38
  "ignore": "^5.1.8"
39
39
  },
40
40
  "minCliVersion": "3.10.2",
41
- "commit": "d9e186e5e9b7e26bf035d66ce5695acd1511cf3c"
41
+ "commit": "85b242a83543b8e65cf2f42b2d63a6aaa2bf8ee1"
42
42
  }