@playcanvas/supersplat-viewer 1.35.2 → 1.36.1
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/README.md +38 -35
- package/dist/index.js +3 -3
- package/dist/viewer.css +2 -4
- package/dist/viewer.d.ts +16 -0
- package/dist/viewer.js +3968 -266
- package/dist/viewer.js.map +1 -1
- package/package.json +5 -4
- package/public/index.css +2 -4
- package/public/index.html +3 -0
- package/public/index.js +3974 -272
- package/public/index.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@playcanvas/supersplat-viewer",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.36.1",
|
|
4
4
|
"author": "PlayCanvas <support@playcanvas.com>",
|
|
5
5
|
"homepage": "https://github.com/playcanvas/supersplat-viewer#readme",
|
|
6
6
|
"description": "Viewer for https://superspl.at",
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
"concurrently": "9.2.4",
|
|
68
68
|
"eslint": "9.39.5",
|
|
69
69
|
"globals": "17.12.0",
|
|
70
|
-
"playcanvas": "2.22.
|
|
70
|
+
"playcanvas": "2.22.5",
|
|
71
71
|
"postcss": "8.5.28",
|
|
72
72
|
"prettier": "3.9.9",
|
|
73
73
|
"publint": "0.3.24",
|
|
74
|
-
"rollup": "4.63.
|
|
74
|
+
"rollup": "4.63.5",
|
|
75
75
|
"rollup-plugin-dts": "6.5.1",
|
|
76
76
|
"rollup-plugin-scss": "4.0.1",
|
|
77
77
|
"rollup-plugin-string": "3.0.0",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
},
|
|
82
82
|
"scripts": {
|
|
83
83
|
"build": "rollup -c",
|
|
84
|
-
"develop": "concurrently --kill-others \"npm run watch\" \"npm run serve\"",
|
|
84
|
+
"develop": "concurrently --kill-others \"npm run watch\" \"npm run serve\" \"npm run type:watch\"",
|
|
85
85
|
"fmt": "prettier --check src test rollup.config.mjs eslint.config.mjs prettier.config.mjs",
|
|
86
86
|
"fmt:fix": "prettier --write src test rollup.config.mjs eslint.config.mjs prettier.config.mjs",
|
|
87
87
|
"lint": "eslint src test rollup.config.mjs eslint.config.mjs prettier.config.mjs",
|
|
@@ -91,6 +91,7 @@
|
|
|
91
91
|
"test": "npm run build && npm run test:unit",
|
|
92
92
|
"test:unit": "node --test",
|
|
93
93
|
"type:check": "tsc --noEmit",
|
|
94
|
+
"type:watch": "tsc --noEmit --watch --preserveWatchOutput",
|
|
94
95
|
"watch": "rollup -c -w"
|
|
95
96
|
},
|
|
96
97
|
"engines": {
|
package/public/index.css
CHANGED
|
@@ -893,14 +893,12 @@
|
|
|
893
893
|
overflow-wrap: break-word;
|
|
894
894
|
visibility: hidden;
|
|
895
895
|
opacity: 0;
|
|
896
|
-
|
|
897
|
-
transition: visibility 0s 0.2s, opacity 0.2s ease-out, translate 0.2s ease-out;
|
|
896
|
+
transition: visibility 0s 0.2s, opacity 0.2s ease-out;
|
|
898
897
|
}
|
|
899
898
|
.sse-viewer .sse-annotations > .sse-annotation.sse-visible {
|
|
900
899
|
visibility: visible;
|
|
901
900
|
opacity: 1;
|
|
902
|
-
|
|
903
|
-
transition: opacity 0.2s ease-out, translate 0.2s ease-out;
|
|
901
|
+
transition: opacity 0.2s ease-out;
|
|
904
902
|
}
|
|
905
903
|
.sse-viewer .sse-annotations > .sse-annotation > .sse-annotation-title {
|
|
906
904
|
font-size: 13px;
|
package/public/index.html
CHANGED
|
@@ -94,6 +94,9 @@
|
|
|
94
94
|
colorize: url.searchParams.has('colorize'),
|
|
95
95
|
renderer,
|
|
96
96
|
aa: url.searchParams.has('aa'),
|
|
97
|
+
stochastic: url.searchParams.has('stochastic'),
|
|
98
|
+
splatSource: url.searchParams.get('splatSource') ?? undefined,
|
|
99
|
+
variant: url.searchParams.get('variant') ?? undefined,
|
|
97
100
|
budget,
|
|
98
101
|
heatmap: url.searchParams.has('heatmap'),
|
|
99
102
|
fullload: url.searchParams.has('fullload'),
|