@dcl/react-ecs 0.0.1-3229738194.commit-4629198 → 0.0.1-3244243254.commit-d5804ee
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/index.d.ts +43 -43
- package/dist/index.js +86 -85
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -44,8 +44,8 @@ export declare type EntityPropTypes = {
|
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
export declare enum Font {
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
F_LIBERATION_SANS = 0,
|
|
48
|
+
F_SANS_SERIF = 1,
|
|
49
49
|
UNRECOGNIZED = -1
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -69,7 +69,7 @@ export declare interface PBUiText {
|
|
|
69
69
|
/** default=(1.0,1.0,1.0) */
|
|
70
70
|
color?: Color3 | undefined;
|
|
71
71
|
/** default='center' */
|
|
72
|
-
textAlign?:
|
|
72
|
+
textAlign?: TextAlignMode | undefined;
|
|
73
73
|
/** default=0 */
|
|
74
74
|
font?: Font | undefined;
|
|
75
75
|
/** default=10 */
|
|
@@ -164,10 +164,10 @@ export declare function removeUi(index: number): void;
|
|
|
164
164
|
|
|
165
165
|
export declare function renderUi(ui: UiComponent): number;
|
|
166
166
|
|
|
167
|
-
export declare enum
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
167
|
+
export declare enum TextAlignMode {
|
|
168
|
+
TAM_CENTER = 0,
|
|
169
|
+
TAM_LEFT = 1,
|
|
170
|
+
TAM_RIGHT = 2,
|
|
171
171
|
UNRECOGNIZED = -1
|
|
172
172
|
}
|
|
173
173
|
|
|
@@ -213,74 +213,74 @@ export declare interface UiTransformProps {
|
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
export declare enum YGAlign {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
216
|
+
YGA_AUTO = 0,
|
|
217
|
+
YGA_FLEX_START = 1,
|
|
218
|
+
YGA_CENTER = 2,
|
|
219
|
+
YGA_FLEX_END = 3,
|
|
220
|
+
YGA_STRETCH = 4,
|
|
221
|
+
YGA_BASELINE = 5,
|
|
222
|
+
YGA_SPACE_BETWEEN = 6,
|
|
223
|
+
YGA_SPACE_AROUND = 7,
|
|
224
224
|
UNRECOGNIZED = -1
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
export declare enum YGDirection {
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
228
|
+
YGD_INHERIT = 0,
|
|
229
|
+
YGD_LTR = 1,
|
|
230
|
+
YGD_RTL = 2,
|
|
231
231
|
UNRECOGNIZED = -1
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
export declare enum YGDisplay {
|
|
235
|
-
|
|
236
|
-
|
|
235
|
+
YGD_FLEX = 0,
|
|
236
|
+
YGD_NONE = 1,
|
|
237
237
|
UNRECOGNIZED = -1
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
export declare enum YGFlexDirection {
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
241
|
+
YGFD_COLUMN = 0,
|
|
242
|
+
YGFD_COLUMN_REVERSE = 1,
|
|
243
|
+
YGFD_ROW = 2,
|
|
244
|
+
YGFD_ROW_REVERSE = 3,
|
|
245
245
|
UNRECOGNIZED = -1
|
|
246
246
|
}
|
|
247
247
|
|
|
248
248
|
export declare enum YGJustify {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
249
|
+
YGJ_FLEX_START = 0,
|
|
250
|
+
YGJ_CENTER = 1,
|
|
251
|
+
YGJ_FLEX_END = 2,
|
|
252
|
+
YGJ_SPACE_BETWEEN = 3,
|
|
253
|
+
YGJ_SPACE_AROUND = 4,
|
|
254
|
+
YGJ_SPACE_EVENLY = 5,
|
|
255
255
|
UNRECOGNIZED = -1
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
export declare enum YGOverflow {
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
259
|
+
YGO_VISIBLE = 0,
|
|
260
|
+
YGO_HIDDEN = 1,
|
|
261
|
+
YGO_SCROLL = 2,
|
|
262
262
|
UNRECOGNIZED = -1
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
export declare enum YGPositionType {
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
266
|
+
YGPT_STATIC = 0,
|
|
267
|
+
YGPT_RELATIVE = 1,
|
|
268
|
+
YGPT_ABSOLUTE = 2,
|
|
269
269
|
UNRECOGNIZED = -1
|
|
270
270
|
}
|
|
271
271
|
|
|
272
272
|
export declare enum YGUnit {
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
273
|
+
YGU_UNDEFINED = 0,
|
|
274
|
+
YGU_POINT = 1,
|
|
275
|
+
YGU_PERCENT = 2,
|
|
276
|
+
YGU_AUTO = 3,
|
|
277
277
|
UNRECOGNIZED = -1
|
|
278
278
|
}
|
|
279
279
|
|
|
280
280
|
export declare enum YGWrap {
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
281
|
+
YGW_NO_WRAP = 0,
|
|
282
|
+
YGW_WRAP = 1,
|
|
283
|
+
YGW_WRAP_REVERSE = 2,
|
|
284
284
|
UNRECOGNIZED = -1
|
|
285
285
|
}
|
|
286
286
|
|