@dcl/sdk 7.0.0-3469489430.commit-9c7979a → 7.0.0-3482345038.commit-6d0f818

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.
@@ -7,9 +7,8 @@ import "decentraland/sdk/components/common/id.proto";
7
7
  option (common.ecs_component_id) = 1050;
8
8
 
9
9
  enum YGPositionType {
10
- YGPT_STATIC = 0;
11
- YGPT_RELATIVE = 1;
12
- YGPT_ABSOLUTE = 2;
10
+ YGPT_RELATIVE = 0;
11
+ YGPT_ABSOLUTE = 1;
13
12
  }
14
13
 
15
14
  enum YGAlign {
@@ -30,16 +29,10 @@ enum YGUnit {
30
29
  YGU_AUTO = 3;
31
30
  }
32
31
 
33
- enum YGDirection {
34
- YGD_INHERIT = 0;
35
- YGD_LTR = 1;
36
- YGD_RTL = 2;
37
- }
38
-
39
32
  enum YGFlexDirection {
40
- YGFD_COLUMN = 0;
41
- YGFD_COLUMN_REVERSE = 1;
42
- YGFD_ROW = 2;
33
+ YGFD_ROW = 0;
34
+ YGFD_COLUMN = 1;
35
+ YGFD_COLUMN_REVERSE = 2;
43
36
  YGFD_ROW_REVERSE = 3;
44
37
  }
45
38
 
@@ -82,82 +75,67 @@ enum YGEdge {
82
75
  }
83
76
 
84
77
  message PBUiTransform {
85
- int32 parent = 79;
86
- int32 right_of = 80;
78
+ int32 parent = 1;
79
+ int32 right_of = 2;
87
80
 
88
- YGPositionType position_type = 1;
81
+ optional YGAlign align_content = 3; // default: YGAlign.YGA_FLEX_START
82
+ optional YGAlign align_items = 4; // default: YGAlign.YGA_STRETCH
83
+ optional YGWrap flex_wrap = 5; // default: YGWrap.YGW_WRAP
84
+ optional float flex_shrink = 6; // default: 1
89
85
 
90
- YGAlign align_content = 2;
91
- YGAlign align_items = 3;
92
- YGAlign align_self = 4;
93
- YGFlexDirection flex_direction = 5;
94
- YGWrap flex_wrap = 6;
95
- YGJustify justify_content = 7;
86
+ YGPositionType position_type = 7; // YGPositionType.YGPT_RELATIVE
96
87
 
97
- YGOverflow overflow = 8;
98
- YGDisplay display = 9;
99
- YGDirection direction = 10;
88
+ YGAlign align_self = 8; // YGAlign.YGA_AUTO
89
+ YGFlexDirection flex_direction = 9; // YGFlexDirection.YGFD_ROW
90
+ YGJustify justify_content = 10; // YGJustify.YGJ_FLEX_START
100
91
 
101
- float flex = 11;
92
+ YGOverflow overflow = 11; // YGOverflow.YGO_VISIBLE
93
+ YGDisplay display = 12; // YGDisplay.YGD_FLEX
102
94
 
103
- YGUnit flex_basis_unit = 13;
95
+ YGUnit flex_basis_unit = 13; // YGUnit.YGU_UNDEFINED
104
96
  float flex_basis = 14;
105
97
 
106
98
  float flex_grow = 15;
107
- float flex_shrink = 16;
108
-
109
- YGUnit width_unit = 17;
110
- float width = 18;
111
- YGUnit height_unit = 19;
112
- float height = 20;
113
-
114
- YGUnit min_width_unit = 21;
115
- float min_width = 22;
116
- YGUnit min_height_unit = 23;
117
- float min_height = 24;
118
-
119
- YGUnit max_width_unit = 31;
120
- float max_width = 32;
121
- YGUnit max_height_unit = 33;
122
- float max_height = 34;
123
-
124
- // non-standard
125
- reserved 40; // float aspect_ratio = 40;
126
-
127
- YGUnit position_left_unit = 41;
128
- float position_left = 42;
129
- YGUnit position_top_unit = 43;
130
- float position_top = 44;
131
- YGUnit position_right_unit = 45;
132
- float position_right = 46;
133
- YGUnit position_bottom_unit = 47;
134
- float position_bottom = 48;
135
-
136
- // margin
137
- YGUnit margin_left_unit = 51;
138
- float margin_left = 52;
139
- YGUnit margin_top_unit = 53;
140
- float margin_top = 54;
141
- YGUnit margin_right_unit = 55;
142
- float margin_right = 56;
143
- YGUnit margin_bottom_unit = 57;
144
- float margin_bottom = 58;
145
-
146
- YGUnit padding_left_unit = 61;
147
- float padding_left = 62;
148
- YGUnit padding_top_unit = 63;
149
- float padding_top = 64;
150
- YGUnit padding_right_unit = 65;
151
- float padding_right = 66;
152
- YGUnit padding_bottom_unit = 67;
153
- float padding_bottom = 68;
154
-
155
- reserved 71; // YGUnit border_left_unit = 71;
156
- float border_left = 72;
157
- reserved 73; // YGUnit border_top_unit = 73;
158
- float border_top = 74;
159
- reserved 75; // YGUnit border_right_unit = 75;
160
- float border_right = 76;
161
- reserved 77; // YGUnit border_bottom_unit = 77;
162
- float border_bottom = 78;
99
+
100
+ YGUnit width_unit = 16; // YGUnit.YGU_UNDEFINED
101
+ float width = 17;
102
+ YGUnit height_unit = 18; // YGUnit.YGU_UNDEFINED
103
+ float height = 19;
104
+
105
+ YGUnit min_width_unit = 20; // YGUnit.YGU_UNDEFINED
106
+ float min_width = 21;
107
+ YGUnit min_height_unit = 22; // YGUnit.YGU_UNDEFINED
108
+ float min_height = 23;
109
+
110
+ YGUnit max_width_unit = 24; // YGUnit.YGU_UNDEFINED
111
+ float max_width = 25;
112
+ YGUnit max_height_unit = 26; // YGUnit.YGU_UNDEFINED
113
+ float max_height = 27;
114
+
115
+ YGUnit position_left_unit = 28; // YGUnit.YGU_UNDEFINED
116
+ float position_left = 29;
117
+ YGUnit position_top_unit = 30; // YGUnit.YGU_UNDEFINED
118
+ float position_top = 31;
119
+ YGUnit position_right_unit = 32; // YGUnit.YGU_UNDEFINED
120
+ float position_right = 33;
121
+ YGUnit position_bottom_unit = 34; // YGUnit.YGU_UNDEFINED
122
+ float position_bottom = 35;
123
+
124
+ YGUnit margin_left_unit = 36; // YGUnit.YGU_UNDEFINED
125
+ float margin_left = 37;
126
+ YGUnit margin_top_unit = 38; // YGUnit.YGU_UNDEFINED
127
+ float margin_top = 39;
128
+ YGUnit margin_right_unit = 40; // YGUnit.YGU_UNDEFINED
129
+ float margin_right = 41;
130
+ YGUnit margin_bottom_unit = 42; // YGUnit.YGU_UNDEFINED
131
+ float margin_bottom = 43;
132
+
133
+ YGUnit padding_left_unit = 44; // YGUnit.YGU_UNDEFINED
134
+ float padding_left = 45;
135
+ YGUnit padding_top_unit = 46; // YGUnit.YGU_UNDEFINED
136
+ float padding_top = 47;
137
+ YGUnit padding_right_unit = 48; // YGUnit.YGU_UNDEFINED
138
+ float padding_right = 49;
139
+ YGUnit padding_bottom_unit = 50; // YGUnit.YGU_UNDEFINED
140
+ float padding_bottom = 51;
163
141
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
- "version": "7.0.0-3469489430.commit-9c7979a",
3
+ "version": "7.0.0-3482345038.commit-6d0f818",
4
4
  "description": "",
5
5
  "main": "dist/src/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -23,13 +23,13 @@
23
23
  "artifacts"
24
24
  ],
25
25
  "dependencies": {
26
- "@dcl/amd": "7.0.0-3469489430.commit-9c7979a",
27
- "@dcl/build-ecs": "7.0.0-3469489430.commit-9c7979a",
28
- "@dcl/js-runtime": "7.0.0-3469489430.commit-9c7979a",
26
+ "@dcl/amd": "7.0.0-3482345038.commit-6d0f818",
27
+ "@dcl/build-ecs": "7.0.0-3482345038.commit-6d0f818",
28
+ "@dcl/js-runtime": "7.0.0-3482345038.commit-6d0f818",
29
29
  "@dcl/kernel": "^1.0.0-3339209749.commit-fa9e5d7",
30
30
  "@dcl/posix": "^1.0.4",
31
31
  "@dcl/unity-renderer": "^1.0.59980-20221027151836.commit-cc26142"
32
32
  },
33
33
  "minCliVersion": "3.12.3",
34
- "commit": "9c7979a6ebc1a914467f9eb81622189bf1f5ff1e"
34
+ "commit": "6d0f8181f49e9acf1ce015e47a095a2b3246d153"
35
35
  }