diff --git a/CHANGELOG.md b/CHANGELOG.md index de66627..0452040 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [2.2.0](///compare/v2.1.0...v2.2.0) (2022-04-11) + + +### Features + +* allow to edit the print layout 381d497 + ## [2.1.0](///compare/v2.0.0...v2.1.0) (2022-04-07) 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 013f938..6db6c2f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aotds-docks", - "version": "2.1.0", + "version": "2.2.0", "type": "module", "private": true, "scripts": { @@ -18,9 +18,6 @@ "@sveltejs/adapter-static": "^1.0.0-next.29", "@sveltejs/kit": "^1.0.0-next.304", "@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/App.svelte b/src/lib/components/App.svelte index 4680419..2dd8b48 100644 --- a/src/lib/components/App.svelte +++ b/src/lib/components/App.svelte @@ -13,9 +13,10 @@
-
+ +{#if activeTab === 'print'} -
+{/if} 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 @@