@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.
- package/dist/ecs7/index.d.ts +437 -433
- package/dist/ecs7/index.js +380 -307
- package/dist/ecs7/index.min.js +1 -1
- package/dist/ecs7/index.min.js.map +1 -1
- package/dist/ecs7/proto-definitions/ui_transform.proto +60 -82
- package/package.json +5 -5
- package/types/ecs7/index.d.ts +355 -351
@@ -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
|
-
|
11
|
-
|
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
|
-
|
41
|
-
|
42
|
-
|
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 =
|
86
|
-
int32 right_of =
|
78
|
+
int32 parent = 1;
|
79
|
+
int32 right_of = 2;
|
87
80
|
|
88
|
-
|
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
|
-
|
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
|
-
|
98
|
-
|
99
|
-
|
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
|
-
|
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
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
YGUnit
|
128
|
-
float
|
129
|
-
YGUnit
|
130
|
-
float
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
//
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
YGUnit
|
142
|
-
float
|
143
|
-
YGUnit
|
144
|
-
float
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
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-
|
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-
|
27
|
-
"@dcl/build-ecs": "7.0.0-
|
28
|
-
"@dcl/js-runtime": "7.0.0-
|
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": "
|
34
|
+
"commit": "6d0f8181f49e9acf1ce015e47a095a2b3246d153"
|
35
35
|
}
|