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

View File

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