@dcl/react-ecs 7.1.4-4544067675.commit-d749052 → 7.1.4-4546888614.commit-9751782
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/components/Button/index.js +1 -1
- package/dist/components/Dropdown/index.js +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/Label/index.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/uiBackground/index.js +1 -1
- package/dist/components/uiTransform/index.js +1 -1
- package/dist/index.js +1 -2
- package/package.json +4 -5
- package/tsconfig.json +0 -27
|
@@ -27,7 +27,7 @@ function getButtonProps(props) {
|
|
|
27
27
|
*
|
|
28
28
|
* @category Component
|
|
29
29
|
*/
|
|
30
|
-
|
|
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
|
-
|
|
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
|
-
*/
|
|
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
|
-
|
|
16
|
+
/* @__PURE__ */
|
|
17
17
|
export function Label(props) {
|
|
18
18
|
const { uiTransform, uiBackground, onMouseDown, onMouseUp, ...uiTextProps } = props;
|
|
19
19
|
const commonProps = parseProps({
|
package/dist/components/index.js
CHANGED
|
@@ -55,7 +55,7 @@ const defaultUiTransform = {
|
|
|
55
55
|
/**
|
|
56
56
|
* @public
|
|
57
57
|
*/
|
|
58
|
-
|
|
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
|
-
|
|
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-
|
|
4
|
+
"version": "7.1.4-4546888614.commit-9751782",
|
|
5
5
|
"author": "DCL",
|
|
6
6
|
"bugs": "https://github.com/decentraland/js-sdk-toolchain/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@dcl/ecs": "7.1.4-
|
|
8
|
+
"@dcl/ecs": "7.1.4-4546888614.commit-9751782",
|
|
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": "
|
|
39
|
+
"commit": "9751782fe0c6ad91dff9439d0c10210c12121d2d"
|
|
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
|
-
}
|