@dcl/react-ecs 7.1.4-4544067675.commit-d749052 → 7.1.4-4544451404.commit-3e8cb7c

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.
@@ -27,7 +27,7 @@ function getButtonProps(props) {
27
27
  *
28
28
  * @category Component
29
29
  */
30
- /*#__PURE__*/
30
+ /* @__PURE__ */
31
31
  export function Button(props) {
32
32
  const { uiTransform, uiBackground, onMouseDown, onMouseUp, ...otherProps } = props;
33
33
  const buttonProps = getButtonProps(props);
@@ -31,7 +31,7 @@ function parseUiDropdown(props) {
31
31
  *
32
32
  * @category Component
33
33
  */
34
- /*#__PURE__*/
34
+ /* @__PURE__ */
35
35
  export function Dropdown(props) {
36
36
  const { uiTransform, uiBackground, onMouseDown, onMouseUp, ...otherProps } = props;
37
37
  const dropdownProps = parseUiDropdown(otherProps);
@@ -29,7 +29,7 @@ function parseUiInput(props) {
29
29
  />
30
30
  *
31
31
  * @category Component
32
- */ /*#__PURE__*/
32
+ */ /* @__PURE__ */
33
33
  export function Input(props) {
34
34
  const { uiTransform, uiBackground, onMouseDown, onMouseUp, ...otherProps } = props;
35
35
  const inputProps = parseUiInput(otherProps);
@@ -13,7 +13,7 @@ import { getFont, getTextAlign } from './utils';
13
13
  *
14
14
  * @category Component
15
15
  */
16
- /*#__PURE__*/
16
+ /* @__PURE__ */
17
17
  export function Label(props) {
18
18
  const { uiTransform, uiBackground, onMouseDown, onMouseUp, ...uiTextProps } = props;
19
19
  const commonProps = parseProps({
@@ -17,7 +17,7 @@ export { Button } from './Button';
17
17
  * @public
18
18
  * @category Component
19
19
  */
20
- /*#__PURE__*/
20
+ /* @__PURE__ */
21
21
  export function UiEntity(props) {
22
22
  const uiText = props.uiText && {
23
23
  uiText: {
@@ -2,7 +2,7 @@ import { getTexture, getTextureMode } from './utils';
2
2
  /**
3
3
  * @public
4
4
  */
5
- /*#__PURE__*/
5
+ /* @__PURE__ */
6
6
  export function parseUiBackground(props) {
7
7
  if (!props || !Object.keys(props).length)
8
8
  return undefined;
@@ -55,7 +55,7 @@ const defaultUiTransform = {
55
55
  /**
56
56
  * @public
57
57
  */
58
- /*#__PURE__*/
58
+ /* @__PURE__ */
59
59
  export function parseUiTransform(props = {}) {
60
60
  const { height, minHeight, maxHeight, width, minWidth, maxWidth, alignItems, alignContent, flexWrap, ...otherProps } = props;
61
61
  return {
package/dist/index.js CHANGED
@@ -11,6 +11,5 @@ export * from './react-ecs';
11
11
  * import { ReactEcsRenderer } from '@dcl/sdk/react-ecs'
12
12
  * ReactEcsRenderer.setUiRenderer(uiComponent)
13
13
  */
14
- /*#__PURE__*/
15
- export const ReactEcsRenderer = createReactBasedUiSystem(engine, pointerEventsSystem);
14
+ export const ReactEcsRenderer = /* @__PURE__ */ createReactBasedUiSystem(engine, pointerEventsSystem);
16
15
  export default ReactEcs;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/react-ecs",
3
3
  "description": "Decentraland ECS",
4
- "version": "7.1.4-4544067675.commit-d749052",
4
+ "version": "7.1.4-4544451404.commit-3e8cb7c",
5
5
  "author": "DCL",
6
6
  "bugs": "https://github.com/decentraland/js-sdk-toolchain/issues",
7
7
  "dependencies": {
8
- "@dcl/ecs": "7.1.4-4544067675.commit-d749052",
8
+ "@dcl/ecs": "7.1.4-4544451404.commit-3e8cb7c",
9
9
  "react": "^18.2.0",
10
10
  "react-reconciler": "^0.29.0"
11
11
  },
@@ -14,8 +14,7 @@
14
14
  "@types/react-reconciler": "^0.28.0"
15
15
  },
16
16
  "files": [
17
- "dist",
18
- "tsconfig.json"
17
+ "dist"
19
18
  ],
20
19
  "homepage": "https://github.com/decentraland/js-sdk-toolchain#readme",
21
20
  "keywords": [
@@ -37,5 +36,5 @@
37
36
  "tsconfig": "./tsconfig.json"
38
37
  },
39
38
  "types": "./dist/index.d.ts",
40
- "commit": "d749052392aba79929086ab20c4ddf78f08e415b"
39
+ "commit": "3e8cb7c03b36e30159963b1c5b4f3e4c906918ac"
41
40
  }
package/tsconfig.json DELETED
@@ -1,27 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "es2020",
4
- "module": "esnext",
5
- "moduleResolution": "node",
6
- "strict": true,
7
- "esModuleInterop": true,
8
- "forceConsistentCasingInFileNames": true,
9
- "allowSyntheticDefaultImports": true,
10
- "declaration": true,
11
- "stripInternal": true,
12
- "downlevelIteration": true,
13
- "preserveConstEnums": true,
14
- "outDir": "dist",
15
- "jsx": "react",
16
- "lib": ["ES2020"],
17
- "jsxFactory": "ReactEcs.createElement",
18
- "rootDir": "src",
19
- "types": []
20
- },
21
- "include": [
22
- "src"
23
- ],
24
- "exclude": [
25
- "dist"
26
- ]
27
- }