@dcl/sdk 7.0.0-3472029894.commit-ae9be34 → 7.0.0-3491045797.commit-404a2a7
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 +40 -25
- package/dist/ecs7/index.js +117 -166
- package/dist/ecs7/index.min.js +1 -1
- package/dist/ecs7/index.min.js.map +1 -1
- package/dist/ecs7/proto-definitions/ui_text.proto +1 -1
- package/dist/ecs7/proto-definitions/ui_transform.proto +60 -82
- package/package.json +5 -5
- package/types/ecs7/index.d.ts +40 -25
package/dist/ecs7/index.d.ts
CHANGED
@@ -2967,8 +2967,8 @@ export declare interface PBUiBackground {
|
|
2967
2967
|
|
2968
2968
|
export declare interface PBUiText {
|
2969
2969
|
value: string;
|
2970
|
-
/** default=(1.0,1.0,1.0) */
|
2971
|
-
color?:
|
2970
|
+
/** default=(1.0,1.0,1.0,1.0) */
|
2971
|
+
color?: PBColor4 | undefined;
|
2972
2972
|
/** default='center' */
|
2973
2973
|
textAlign?: TextAlignMode | undefined;
|
2974
2974
|
/** default=0 */
|
@@ -2980,62 +2980,84 @@ export declare interface PBUiText {
|
|
2980
2980
|
export declare interface PBUiTransform {
|
2981
2981
|
parent: number;
|
2982
2982
|
rightOf: number;
|
2983
|
+
/** default: YGAlign.YGA_FLEX_START */
|
2984
|
+
alignContent?: YGAlign | undefined;
|
2985
|
+
/** default: YGAlign.YGA_STRETCH */
|
2986
|
+
alignItems?: YGAlign | undefined;
|
2987
|
+
/** default: YGWrap.YGW_WRAP */
|
2988
|
+
flexWrap?: YGWrap | undefined;
|
2989
|
+
/** default: 1 */
|
2990
|
+
flexShrink?: number | undefined;
|
2991
|
+
/** YGPositionType.YGPT_RELATIVE */
|
2983
2992
|
positionType: YGPositionType;
|
2984
|
-
|
2985
|
-
alignItems: YGAlign;
|
2993
|
+
/** YGAlign.YGA_AUTO */
|
2986
2994
|
alignSelf: YGAlign;
|
2995
|
+
/** YGFlexDirection.YGFD_ROW */
|
2987
2996
|
flexDirection: YGFlexDirection;
|
2988
|
-
|
2997
|
+
/** YGJustify.YGJ_FLEX_START */
|
2989
2998
|
justifyContent: YGJustify;
|
2999
|
+
/** YGOverflow.YGO_VISIBLE */
|
2990
3000
|
overflow: YGOverflow;
|
3001
|
+
/** YGDisplay.YGD_FLEX */
|
2991
3002
|
display: YGDisplay;
|
2992
|
-
|
2993
|
-
flex: number;
|
3003
|
+
/** YGUnit.YGU_UNDEFINED */
|
2994
3004
|
flexBasisUnit: YGUnit;
|
2995
3005
|
flexBasis: number;
|
2996
3006
|
flexGrow: number;
|
2997
|
-
|
3007
|
+
/** YGUnit.YGU_UNDEFINED */
|
2998
3008
|
widthUnit: YGUnit;
|
2999
3009
|
width: number;
|
3010
|
+
/** YGUnit.YGU_UNDEFINED */
|
3000
3011
|
heightUnit: YGUnit;
|
3001
3012
|
height: number;
|
3013
|
+
/** YGUnit.YGU_UNDEFINED */
|
3002
3014
|
minWidthUnit: YGUnit;
|
3003
3015
|
minWidth: number;
|
3016
|
+
/** YGUnit.YGU_UNDEFINED */
|
3004
3017
|
minHeightUnit: YGUnit;
|
3005
3018
|
minHeight: number;
|
3019
|
+
/** YGUnit.YGU_UNDEFINED */
|
3006
3020
|
maxWidthUnit: YGUnit;
|
3007
3021
|
maxWidth: number;
|
3022
|
+
/** YGUnit.YGU_UNDEFINED */
|
3008
3023
|
maxHeightUnit: YGUnit;
|
3009
3024
|
maxHeight: number;
|
3025
|
+
/** YGUnit.YGU_UNDEFINED */
|
3010
3026
|
positionLeftUnit: YGUnit;
|
3011
3027
|
positionLeft: number;
|
3028
|
+
/** YGUnit.YGU_UNDEFINED */
|
3012
3029
|
positionTopUnit: YGUnit;
|
3013
3030
|
positionTop: number;
|
3031
|
+
/** YGUnit.YGU_UNDEFINED */
|
3014
3032
|
positionRightUnit: YGUnit;
|
3015
3033
|
positionRight: number;
|
3034
|
+
/** YGUnit.YGU_UNDEFINED */
|
3016
3035
|
positionBottomUnit: YGUnit;
|
3017
3036
|
positionBottom: number;
|
3018
|
-
/**
|
3037
|
+
/** YGUnit.YGU_UNDEFINED */
|
3019
3038
|
marginLeftUnit: YGUnit;
|
3020
3039
|
marginLeft: number;
|
3040
|
+
/** YGUnit.YGU_UNDEFINED */
|
3021
3041
|
marginTopUnit: YGUnit;
|
3022
3042
|
marginTop: number;
|
3043
|
+
/** YGUnit.YGU_UNDEFINED */
|
3023
3044
|
marginRightUnit: YGUnit;
|
3024
3045
|
marginRight: number;
|
3046
|
+
/** YGUnit.YGU_UNDEFINED */
|
3025
3047
|
marginBottomUnit: YGUnit;
|
3026
3048
|
marginBottom: number;
|
3049
|
+
/** YGUnit.YGU_UNDEFINED */
|
3027
3050
|
paddingLeftUnit: YGUnit;
|
3028
3051
|
paddingLeft: number;
|
3052
|
+
/** YGUnit.YGU_UNDEFINED */
|
3029
3053
|
paddingTopUnit: YGUnit;
|
3030
3054
|
paddingTop: number;
|
3055
|
+
/** YGUnit.YGU_UNDEFINED */
|
3031
3056
|
paddingRightUnit: YGUnit;
|
3032
3057
|
paddingRight: number;
|
3058
|
+
/** YGUnit.YGU_UNDEFINED */
|
3033
3059
|
paddingBottomUnit: YGUnit;
|
3034
3060
|
paddingBottom: number;
|
3035
|
-
borderLeft: number;
|
3036
|
-
borderTop: number;
|
3037
|
-
borderRight: number;
|
3038
|
-
borderBottom: number;
|
3039
3061
|
}
|
3040
3062
|
|
3041
3063
|
export declare interface PBVector2 {
|
@@ -4472,12 +4494,6 @@ export declare const enum YGAlign {
|
|
4472
4494
|
YGA_SPACE_AROUND = 7
|
4473
4495
|
}
|
4474
4496
|
|
4475
|
-
export declare const enum YGDirection {
|
4476
|
-
YGD_INHERIT = 0,
|
4477
|
-
YGD_LTR = 1,
|
4478
|
-
YGD_RTL = 2
|
4479
|
-
}
|
4480
|
-
|
4481
4497
|
export declare const enum YGDisplay {
|
4482
4498
|
YGD_FLEX = 0,
|
4483
4499
|
YGD_NONE = 1
|
@@ -4496,9 +4512,9 @@ export declare const enum YGEdge {
|
|
4496
4512
|
}
|
4497
4513
|
|
4498
4514
|
export declare const enum YGFlexDirection {
|
4499
|
-
|
4500
|
-
|
4501
|
-
|
4515
|
+
YGFD_ROW = 0,
|
4516
|
+
YGFD_COLUMN = 1,
|
4517
|
+
YGFD_COLUMN_REVERSE = 2,
|
4502
4518
|
YGFD_ROW_REVERSE = 3
|
4503
4519
|
}
|
4504
4520
|
|
@@ -4518,9 +4534,8 @@ export declare const enum YGOverflow {
|
|
4518
4534
|
}
|
4519
4535
|
|
4520
4536
|
export declare const enum YGPositionType {
|
4521
|
-
|
4522
|
-
|
4523
|
-
YGPT_ABSOLUTE = 2
|
4537
|
+
YGPT_RELATIVE = 0,
|
4538
|
+
YGPT_ABSOLUTE = 1
|
4524
4539
|
}
|
4525
4540
|
|
4526
4541
|
export declare const enum YGUnit {
|