major updates

This commit is contained in:
Yanick Champoux 2023-04-26 09:53:22 -04:00
parent 7bc22eade5
commit b0f670fe4a
2 changed files with 39 additions and 46 deletions

View File

@ -14,47 +14,40 @@
"devDependencies": {
"@histoire/plugin-screenshot": "^0.16.1",
"@histoire/plugin-svelte": "^0.16.1",
"@sveltejs/adapter-static": "^1.0.0-next.28",
"@sveltejs/kit": "^1.10.0",
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.38",
"@testing-library/svelte": "^3.1.1",
"@testing-library/user-event": "^13.5.0",
"@vitest/ui": "^0.29.7",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-svelte3": "^3.4.1",
"globby": "^13.1.3",
"jest-image-snapshot": "^4.5.1",
"pixelmatch": "^5.3.0",
"prettier": "~2.8.6",
"@sveltejs/adapter-static": "^2.0.2",
"@sveltejs/kit": "^1.15.8",
"@sveltejs/vite-plugin-svelte": "^2.1.1",
"@testing-library/svelte": "^3.2.2",
"@testing-library/user-event": "^14.4.3",
"@vitest/ui": "^0.30.1",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-svelte3": "^4.0.0",
"globby": "^13.1.4",
"jest-image-snapshot": "^6.1.0",
"prettier": "~2.8.8",
"prettier-plugin-svelte": "^2.10.0",
"showdown": "^2.0.3",
"svelte": "^3.57.0",
"typescript": "^5.0.2",
"vitest": "^0.29.7"
"showdown": "^2.1.0",
"svelte": "^3.58.0",
"typescript": "^5.0.4",
"vitest": "^0.30.1"
},
"dependencies": {
"@picocss/pico": "^1.5.7",
"@reduxjs/toolkit": "^1.9.3",
"@sveltejs/adapter-node": "^1.0.0-next.0",
"@yanick/updeep-remeda": "^2.1.1",
"beercss": "^3.1.0",
"chota": "^0.8.0",
"effector": "^22.5.2",
"@reduxjs/toolkit": "^1.9.5",
"@yanick/updeep-remeda": "^2.2.0",
"beercss": "^3.1.3",
"histoire": "^0.16.1",
"jsdom": "^21.1.1",
"lodash": "^4.17.21",
"memoize-one": "^6.0.0",
"redux": "^4.1.2",
"remeda": "^1.9.1",
"reselect": "^4.1.5",
"svelte-chota": "^1.8.6",
"redux": "^4.2.1",
"remeda": "^1.14.0",
"reselect": "^4.1.8",
"svelte-copy-clipboard-action": "^0.0.3",
"svelte-knobby": "^0.3.4",
"svelte-moveable": "^0.20.0",
"ts-action": "^11.0.0",
"vite": "^4.2.1",
"yaml": "^2.2.1"
"svelte-moveable": "^0.38.1",
"updux": "link:../../updux",
"vite": "^4.3.2",
"yaml": "^2.2.2"
},
"prettier": {
"svelteSortOrder": "options-markup-scripts-styles",

View File

@ -1,17 +1,17 @@
<div>Printing this page will only prints the ship sheet.</div>
<div class="print-output">
Identification {identification} />
<Identification {...identification} />
<div class="section-2" />
MainSystems {propulsion} />
<MainSystems {...propulsion} />
</div>
<script>
//import Identification from "./Identification.svelte";
// import MainSystems from "./MainSystems/index.svelte";
// import Hull from "./Hull.svelte";
import Identification from "./Identification.svelte";
import MainSystems from "./MainSystems/index.svelte";
import Hull from "./Hull.svelte";
export let identification = {};
export let propulsion = {};
@ -25,13 +25,13 @@
padding: 1em;
margin: 0px auto;
}
/* @media print { */
/* :global(body > *) { */
/* visibility: hidden; */
/* } */
@media print {
:global(body > *) {
visibility: hidden;
}
/* .print-output { */
/* visibility: visible; */
/* } */
/* } */
.print-output {
visibility: visible;
}
}
</style>