@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 CHANGED
@@ -44,8 +44,8 @@ export declare type EntityPropTypes = {
44
44
  };
45
45
 
46
46
  export declare enum Font {
47
- LiberationSans = 0,
48
- SansSerif = 1,
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?: TextAlign | undefined;
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 TextAlign {
168
- Center = 0,
169
- Left = 1,
170
- Right = 2,
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
- YGAlignAuto = 0,
217
- YGAlignFlexStart = 1,
218
- YGAlignCenter = 2,
219
- YGAlignFlexEnd = 3,
220
- YGAlignStretch = 4,
221
- YGAlignBaseline = 5,
222
- YGAlignSpaceBetween = 6,
223
- YGAlignSpaceAround = 7,
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
- YGDirectionInherit = 0,
229
- YGDirectionLTR = 1,
230
- YGDirectionRTL = 2,
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
- YGDisplayFlex = 0,
236
- YGDisplayNone = 1,
235
+ YGD_FLEX = 0,
236
+ YGD_NONE = 1,
237
237
  UNRECOGNIZED = -1
238
238
  }
239
239
 
240
240
  export declare enum YGFlexDirection {
241
- YGFlexDirectionColumn = 0,
242
- YGFlexDirectionColumnReverse = 1,
243
- YGFlexDirectionRow = 2,
244
- YGFlexDirectionRowReverse = 3,
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
- YGJustifyFlexStart = 0,
250
- YGJustifyCenter = 1,
251
- YGJustifyFlexEnd = 2,
252
- YGJustifySpaceBetween = 3,
253
- YGJustifySpaceAround = 4,
254
- YGJustifySpaceEvenly = 5,
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
- YGOverflowVisible = 0,
260
- YGOverflowHidden = 1,
261
- YGOverflowScroll = 2,
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
- YGPositionTypeStatic = 0,
267
- YGPositionTypeRelative = 1,
268
- YGPositionTypeAbsolute = 2,
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
- YGUnitUndefined = 0,
274
- YGUnitPoint = 1,
275
- YGUnitPercent = 2,
276
- YGUnitAuto = 3,
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
- YGWrapNoWrap = 0,
282
- YGWrapWrap = 1,
283
- YGWrapWrapReverse = 2,
281
+ YGW_NO_WRAP = 0,
282
+ YGW_WRAP = 1,
283
+ YGW_WRAP_REVERSE = 2,
284
284
  UNRECOGNIZED = -1
285
285
  }
286
286