@playcanvas/supersplat-viewer 1.35.1 → 1.36.0
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 +7 -0
- package/dist/viewer.d.ts +16 -0
- package/dist/viewer.js +3862 -266
- package/dist/viewer.js.map +1 -1
- package/package.json +5 -4
- package/public/index.css +7 -0
- package/public/index.html +3 -0
- package/public/index.js +3786 -190
- 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.0",
|
|
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
|
@@ -838,6 +838,7 @@
|
|
|
838
838
|
position: absolute;
|
|
839
839
|
left: 0;
|
|
840
840
|
top: 0;
|
|
841
|
+
will-change: transform;
|
|
841
842
|
display: none;
|
|
842
843
|
align-items: center;
|
|
843
844
|
justify-content: center;
|
|
@@ -872,6 +873,9 @@
|
|
|
872
873
|
.sse-viewer .sse-annotations > .sse-annotation {
|
|
873
874
|
--sse-annotation-bkg: rgba(0, 0, 0, 0.9);
|
|
874
875
|
position: absolute;
|
|
876
|
+
left: 0;
|
|
877
|
+
top: 0;
|
|
878
|
+
will-change: transform;
|
|
875
879
|
width: -moz-max-content;
|
|
876
880
|
width: max-content;
|
|
877
881
|
max-width: min(280px, 100% - 16px);
|
|
@@ -912,6 +916,9 @@
|
|
|
912
916
|
.sse-viewer .sse-annotations > .sse-annotation:has(> .sse-annotation-text:empty) > .sse-annotation-text {
|
|
913
917
|
display: none;
|
|
914
918
|
}
|
|
919
|
+
.sse-viewer .sse-annotations > .sse-annotation:has(> .sse-annotation-title:empty):has(> .sse-annotation-text:empty) {
|
|
920
|
+
display: none;
|
|
921
|
+
}
|
|
915
922
|
.sse-viewer .sse-annotations > .sse-annotation.sse-arrow-right::before, .sse-viewer .sse-annotations > .sse-annotation.sse-arrow-left::before {
|
|
916
923
|
content: "";
|
|
917
924
|
position: absolute;
|
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'),
|