@datashow/super-visual-cli 0.1.0-rc.5 → 0.1.0-rc.6
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datashow/super-visual-cli",
|
|
3
|
-
"version": "0.1.0-rc.
|
|
3
|
+
"version": "0.1.0-rc.6",
|
|
4
4
|
"description": "CLI for validating, compiling, packaging, verifying, and deploying Super Visual projects.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@datashow/super-visual-adapter-claude-dashboard": "0.1.0-rc.
|
|
29
|
-
"@datashow/super-visual-compiler": "0.1.0-rc.
|
|
30
|
-
"@datashow/super-visual-contracts": "0.1.0-rc.
|
|
31
|
-
"@datashow/super-visual-fabric": "0.1.0-rc.
|
|
28
|
+
"@datashow/super-visual-adapter-claude-dashboard": "0.1.0-rc.6",
|
|
29
|
+
"@datashow/super-visual-compiler": "0.1.0-rc.6",
|
|
30
|
+
"@datashow/super-visual-contracts": "0.1.0-rc.6",
|
|
31
|
+
"@datashow/super-visual-fabric": "0.1.0-rc.6",
|
|
32
32
|
"@fontsource/source-serif-4": "5.3.1",
|
|
33
33
|
"@nivo/bar": "0.99.0",
|
|
34
34
|
"@nivo/line": "0.99.0",
|
package/src/main.mjs
CHANGED
|
@@ -16,7 +16,7 @@ import { resolveProjectTarget, targetUpdate, writeProjectTarget } from "./projec
|
|
|
16
16
|
import { runSemanticPreviewTest, startSemanticPreview } from "./semantic-preview.mjs";
|
|
17
17
|
|
|
18
18
|
const run = promisify(execFile);
|
|
19
|
-
const VERSION = "0.1.0-rc.
|
|
19
|
+
const VERSION = "0.1.0-rc.6";
|
|
20
20
|
const FABRIC_ID_PATTERN = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;
|
|
21
21
|
const SPINNER_FRAMES = ["|", "/", "-", "\\"];
|
|
22
22
|
const progressStream = process.stderr;
|
|
@@ -165,8 +165,12 @@ class SemanticPreviewHost {
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
document
|
|
169
|
-
|
|
168
|
+
// The compiled visual disables document scrolling because Power BI owns its
|
|
169
|
+
// canvas viewport. The standalone preview owns the browser page instead, so it
|
|
170
|
+
// must explicitly restore document flow for applications taller than the
|
|
171
|
+
// viewport.
|
|
172
|
+
document.documentElement.style.cssText = "min-height:100%;height:auto;overflow:auto";
|
|
173
|
+
document.body.style.cssText = "min-height:100%;height:auto;margin:0;overflow:auto";
|
|
170
174
|
const banner = document.getElementById("supervisual-preview-status")!;
|
|
171
175
|
banner.style.cssText = "position:fixed;right:12px;bottom:12px;z-index:2147483647;padding:7px 10px;border-radius:5px;background:#173c36;color:white;font:12px/1.3 system-ui;box-shadow:0 2px 10px #0003";
|
|
172
176
|
new SemanticPreviewHost();
|