@dcl/react-ecs 7.8.10 → 7.8.11-15639883261.commit-cdf6a90

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.
@@ -51,7 +51,9 @@ const defaultUiTransform = {
51
51
  flexBasisUnit: 0 /* YGUnit.YGU_UNDEFINED */,
52
52
  widthUnit: 3 /* YGUnit.YGU_AUTO */,
53
53
  heightUnit: 0 /* YGUnit.YGU_UNDEFINED */,
54
- pointerFilter: 0 /* PointerFilterMode.PFM_NONE */
54
+ pointerFilter: 0 /* PointerFilterMode.PFM_NONE */,
55
+ opacity: 1,
56
+ zIndex: 0
55
57
  };
56
58
  /**
57
59
  * @public
@@ -127,4 +127,8 @@ export interface UiTransformProps {
127
127
  borderColor?: Record<keyof Partial<Position>, Color4> | Color4 | undefined;
128
128
  borderRadius?: Partial<BorderRadius> | PositionUnit;
129
129
  borderWidth?: Partial<Position> | PositionUnit;
130
+ /** The opacity property sets the opacity level for an element, it's accumulated across children @defaultValue 1 */
131
+ opacity?: number;
132
+ /** default 0 */
133
+ zIndex?: number;
130
134
  }
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/react-ecs",
3
3
  "description": "Decentraland ECS",
4
- "version": "7.8.10",
4
+ "version": "7.8.11-15639883261.commit-cdf6a90",
5
5
  "author": "DCL",
6
6
  "bugs": "https://github.com/decentraland/js-sdk-toolchain/issues",
7
7
  "dependencies": {
8
- "@dcl/ecs": "7.8.10",
8
+ "@dcl/ecs": "7.8.11-15639883261.commit-cdf6a90",
9
9
  "react": "^18.2.0",
10
10
  "react-reconciler": "^0.29.0"
11
11
  },
@@ -40,5 +40,5 @@
40
40
  "tsconfig": "./tsconfig.json"
41
41
  },
42
42
  "types": "./dist/index.d.ts",
43
- "commit": "88d06715cc6ecede620fd58f2affdb6ef9c240f2"
43
+ "commit": "cdf6a907b13db72ca51705260744143538cb6d0b"
44
44
  }