@playcanvas/web-components 0.8.0 → 0.8.2
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/pwc.cjs +1 -1
- package/dist/pwc.cjs.map +1 -1
- package/dist/pwc.js +1 -1
- package/dist/pwc.js.map +1 -1
- package/dist/pwc.min.js +1 -1
- package/dist/pwc.min.js.map +1 -1
- package/dist/pwc.mjs +1 -1
- package/dist/pwc.mjs.map +1 -1
- package/package.json +18 -8
- package/src/components/camera-component.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@playcanvas/web-components",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"author": "PlayCanvas <support@playcanvas.com>",
|
|
5
5
|
"homepage": "https://playcanvas.com",
|
|
6
6
|
"description": "Web Components for the PlayCanvas Engine",
|
|
@@ -27,12 +27,22 @@
|
|
|
27
27
|
"module": "dist/pwc.mjs",
|
|
28
28
|
"browser": "dist/pwc.js",
|
|
29
29
|
"types": "dist/index.d.ts",
|
|
30
|
+
"exports": {
|
|
31
|
+
".": {
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"import": "./dist/pwc.mjs",
|
|
34
|
+
"require": "./dist/pwc.cjs"
|
|
35
|
+
},
|
|
36
|
+
"./dist/*": "./dist/*",
|
|
37
|
+
"./package.json": "./package.json"
|
|
38
|
+
},
|
|
30
39
|
"type": "module",
|
|
31
40
|
"files": [
|
|
32
41
|
"dist",
|
|
33
42
|
"src"
|
|
34
43
|
],
|
|
35
44
|
"scripts": {
|
|
45
|
+
"prebuild": "node -e \"fs.rmSync('dist', { recursive: true, force: true })\"",
|
|
36
46
|
"build": "rollup -c",
|
|
37
47
|
"dev": "concurrently \"npm run watch\" \"npm run serve\"",
|
|
38
48
|
"docs": "typedoc",
|
|
@@ -55,21 +65,21 @@
|
|
|
55
65
|
"@rollup/plugin-terser": "1.0.0",
|
|
56
66
|
"@rollup/plugin-typescript": "12.3.0",
|
|
57
67
|
"@tweenjs/tween.js": "25.0.0",
|
|
58
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
59
|
-
"@typescript-eslint/parser": "8.
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "8.65.0",
|
|
69
|
+
"@typescript-eslint/parser": "8.65.0",
|
|
60
70
|
"concurrently": "10.0.3",
|
|
61
|
-
"earcut": "3.
|
|
62
|
-
"eslint": "9.39.
|
|
71
|
+
"earcut": "3.2.3",
|
|
72
|
+
"eslint": "9.39.5",
|
|
63
73
|
"eslint-import-resolver-typescript": "4.4.5",
|
|
64
74
|
"globals": "17.7.0",
|
|
65
|
-
"mediabunny": "1.
|
|
75
|
+
"mediabunny": "1.51.0",
|
|
66
76
|
"opentype.js": "2.0.0",
|
|
67
|
-
"playcanvas": "2.
|
|
77
|
+
"playcanvas": "2.21.0",
|
|
68
78
|
"publint": "0.3.21",
|
|
69
79
|
"rollup": "4.62.2",
|
|
70
80
|
"serve": "14.2.6",
|
|
71
81
|
"tslib": "2.8.1",
|
|
72
|
-
"typedoc": "0.28.
|
|
82
|
+
"typedoc": "0.28.20",
|
|
73
83
|
"typedoc-plugin-mdn-links": "5.1.1",
|
|
74
84
|
"typescript": "6.0.3"
|
|
75
85
|
}
|
|
@@ -513,7 +513,7 @@ class CameraComponentElement extends ComponentElement {
|
|
|
513
513
|
this.farClip = parseFloat(newValue);
|
|
514
514
|
break;
|
|
515
515
|
case 'flip-faces':
|
|
516
|
-
this.flipFaces = newValue !== '
|
|
516
|
+
this.flipFaces = newValue !== 'false';
|
|
517
517
|
break;
|
|
518
518
|
case 'fov':
|
|
519
519
|
this.fov = parseFloat(newValue);
|