diff --git a/fake/app/env.js b/fake/app/env.js index 43dac6b..412026d 100644 --- a/fake/app/env.js +++ b/fake/app/env.js @@ -1 +1,2 @@ export const browser = true; +export const dev = true; diff --git a/fake/app/paths.js b/fake/app/paths.js new file mode 100644 index 0000000..b30116b --- /dev/null +++ b/fake/app/paths.js @@ -0,0 +1 @@ +export const base = ""; diff --git a/package.json b/package.json index e46d46a..cb4f142 100644 --- a/package.json +++ b/package.json @@ -18,9 +18,6 @@ "@sveltejs/adapter-static": "^1.0.0-next.28", "@sveltejs/kit": "^1.0.0-next.288", "@sveltejs/vite-plugin-svelte": "^1.0.0-next.38", - "@vitebook/client": "^0.23.2", - "@vitebook/core": "^0.23.2", - "@vitebook/theme-default": "^0.23.2", "eslint": "^8.10.0", "eslint-config-prettier": "^8.4.0", "eslint-plugin-svelte3": "^3.4.1", @@ -28,13 +25,12 @@ "prettier-plugin-svelte": "^2.6.0", "standard-version": "^9.3.2", "storybook-builder-vite": "0.1.21", - "svelte": "^3.46.4", - "vite": "^2.7.0" + "svelte": "^3.46.4" }, "dependencies": { "@storybook/addon-essentials": "^6.4.19", "@storybook/addon-svelte-csf": "^1.1.0", - "@storybook/svelte": "^6.4.19", + "@storybook/svelte": "^6.4.21", "@sveltejs/adapter-node": "^1.0.0-next.0", "chota": "^0.8.0", "lodash": "^4.17.21", diff --git a/src/lib/components/Output/Print/Hull/Integrity/index.svelte b/src/lib/components/Output/Print/Hull/Integrity/index.svelte index 680eac9..4aa042f 100644 --- a/src/lib/components/Output/Print/Hull/Integrity/index.svelte +++ b/src/lib/components/Output/Print/Hull/Integrity/index.svelte @@ -1,4 +1,12 @@ -
+
{ + ship.dispatch.setUITransform({ system: "hull", translate }); + }} + style:transform={hull?.uiTransform} +> {#each rows as row, i (i)}
{#each row as threshold, j (j)} @@ -13,10 +21,18 @@