Merge branch 'fix-histoire-build'
@ -1,4 +0,0 @@
|
|||||||
const __resolved__virtual_storySource_srcLibComponentsShipeditPropulsionStorySvelte = '<Hst.Story>\n <Propulsion />\n</Hst.Story>\n\n<script>\n export let Hst;\n import Propulsion from "./Propulsion.svelte";\n<\/script>\n';
|
|
||||||
export {
|
|
||||||
__resolved__virtual_storySource_srcLibComponentsShipeditPropulsionStorySvelte as default
|
|
||||||
};
|
|
102
.histoire/dist/histoire.json
vendored
@ -127,56 +127,6 @@
|
|||||||
"virtual": false,
|
"virtual": false,
|
||||||
"markdownFile": null
|
"markdownFile": null
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "src-lib-components-shipedit-propulsion-story-svelte",
|
|
||||||
"title": "Propulsion",
|
|
||||||
"group": null,
|
|
||||||
"layout": {
|
|
||||||
"type": "single",
|
|
||||||
"iframe": true
|
|
||||||
},
|
|
||||||
"icon": null,
|
|
||||||
"iconColor": null,
|
|
||||||
"docsOnly": false,
|
|
||||||
"variants": [
|
|
||||||
{
|
|
||||||
"id": "_default",
|
|
||||||
"title": "default"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"relativePath": "src/lib/components/ShipEdit/Propulsion.story.svelte",
|
|
||||||
"supportPluginId": "svelte3",
|
|
||||||
"treePath": [
|
|
||||||
"Propulsion"
|
|
||||||
],
|
|
||||||
"virtual": false,
|
|
||||||
"markdownFile": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "src-lib-components-shipedit-weaponry-story-svelte",
|
|
||||||
"title": "Weaponry",
|
|
||||||
"group": null,
|
|
||||||
"layout": {
|
|
||||||
"type": "single",
|
|
||||||
"iframe": true
|
|
||||||
},
|
|
||||||
"icon": null,
|
|
||||||
"iconColor": null,
|
|
||||||
"docsOnly": false,
|
|
||||||
"variants": [
|
|
||||||
{
|
|
||||||
"id": "_default",
|
|
||||||
"title": "default"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"relativePath": "src/lib/components/ShipEdit/Weaponry.story.svelte",
|
|
||||||
"supportPluginId": "svelte3",
|
|
||||||
"treePath": [
|
|
||||||
"Weaponry"
|
|
||||||
],
|
|
||||||
"virtual": false,
|
|
||||||
"markdownFile": null
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "src-lib-components-shipedit-propulsion-engine-story-svelte",
|
"id": "src-lib-components-shipedit-propulsion-engine-story-svelte",
|
||||||
"title": "Engine",
|
"title": "Engine",
|
||||||
@ -203,58 +153,6 @@
|
|||||||
],
|
],
|
||||||
"virtual": false,
|
"virtual": false,
|
||||||
"markdownFile": null
|
"markdownFile": null
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "src-lib-components-shipedit-propulsion-ftl-story-svelte",
|
|
||||||
"title": "Ftl",
|
|
||||||
"group": null,
|
|
||||||
"layout": {
|
|
||||||
"type": "single",
|
|
||||||
"iframe": true
|
|
||||||
},
|
|
||||||
"icon": null,
|
|
||||||
"iconColor": null,
|
|
||||||
"docsOnly": false,
|
|
||||||
"variants": [
|
|
||||||
{
|
|
||||||
"id": "_default",
|
|
||||||
"title": "default"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"relativePath": "src/lib/components/ShipEdit/Propulsion/Ftl.story.svelte",
|
|
||||||
"supportPluginId": "svelte3",
|
|
||||||
"treePath": [
|
|
||||||
"ShipEdit",
|
|
||||||
"Propulsion",
|
|
||||||
"Ftl"
|
|
||||||
],
|
|
||||||
"virtual": false,
|
|
||||||
"markdownFile": null
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "src-lib-components-shipedit-weaponry-weapon-arcs-story-svelte",
|
|
||||||
"title": "Arcs",
|
|
||||||
"group": null,
|
|
||||||
"layout": {
|
|
||||||
"type": "single",
|
|
||||||
"iframe": true
|
|
||||||
},
|
|
||||||
"icon": null,
|
|
||||||
"iconColor": null,
|
|
||||||
"docsOnly": false,
|
|
||||||
"variants": [
|
|
||||||
{
|
|
||||||
"id": "_default",
|
|
||||||
"title": "default"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"relativePath": "src/lib/components/ShipEdit/Weaponry/Weapon/Arcs.story.svelte",
|
|
||||||
"supportPluginId": "svelte3",
|
|
||||||
"treePath": [
|
|
||||||
"Arcs"
|
|
||||||
],
|
|
||||||
"virtual": false,
|
|
||||||
"markdownFile": null
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"markdownFiles": []
|
"markdownFiles": []
|
||||||
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 129 KiB After Width: | Height: | Size: 19 KiB |
@ -12,8 +12,8 @@
|
|||||||
"story:build": "histoire build"
|
"story:build": "histoire build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@histoire/plugin-screenshot": "^0.15.9",
|
"@histoire/plugin-screenshot": "^0.16.1",
|
||||||
"@histoire/plugin-svelte": "^0.15.9",
|
"@histoire/plugin-svelte": "^0.16.1",
|
||||||
"@sveltejs/adapter-static": "^1.0.0-next.28",
|
"@sveltejs/adapter-static": "^1.0.0-next.28",
|
||||||
"@sveltejs/kit": "^1.10.0",
|
"@sveltejs/kit": "^1.10.0",
|
||||||
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.38",
|
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.38",
|
||||||
@ -41,7 +41,7 @@
|
|||||||
"beercss": "^3.1.0",
|
"beercss": "^3.1.0",
|
||||||
"chota": "^0.8.0",
|
"chota": "^0.8.0",
|
||||||
"effector": "^22.5.2",
|
"effector": "^22.5.2",
|
||||||
"histoire": "^0.15.9",
|
"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",
|
||||||
|
@ -3,7 +3,10 @@
|
|||||||
</Hst.Story>
|
</Hst.Story>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import { setContext } from "svelte";
|
||||||
export let Hst;
|
export let Hst;
|
||||||
|
|
||||||
import Propulsion from "./Propulsion.svelte";
|
import Propulsion from "./Propulsion.svelte";
|
||||||
|
|
||||||
|
setContext("api", {});
|
||||||
</script>
|
</script>
|
@ -3,7 +3,7 @@
|
|||||||
<Ftl {...ftl} />
|
<Ftl {...ftl} />
|
||||||
</Section>
|
</Section>
|
||||||
|
|
||||||
<script lang="ts">
|
<script>
|
||||||
import Section from "$lib/components/Section.svelte";
|
import Section from "$lib/components/Section.svelte";
|
||||||
import Drive from "./Propulsion/Engine.svelte";
|
import Drive from "./Propulsion/Engine.svelte";
|
||||||
import Ftl from "./Propulsion/Ftl.svelte";
|
import Ftl from "./Propulsion/Ftl.svelte";
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
<Hst.Story title="ShipEdit/Propulsion/Ftl">
|
|
||||||
<Ftl {api} />
|
|
||||||
</Hst.Story>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export let Hst;
|
|
||||||
import { logEvent } from "histoire/client";
|
|
||||||
|
|
||||||
const api = {
|
|
||||||
dispatch: {
|
|
||||||
setFtl: (ftl) => logEvent("setFtl", { ftl }),
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
import Ftl from "./Ftl.svelte";
|
|
||||||
</script>
|
|
18
src/lib/components/ShipEdit/Propulsion/Ftl.story.svelte.todo
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<Hst.Story title="ShipEdit/Propulsion/Ftl">
|
||||||
|
<Ftl {api} />
|
||||||
|
</Hst.Story>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export let Hst;
|
||||||
|
//import { logEvent, isCollecting } from "histoire/client";
|
||||||
|
|
||||||
|
const api = true
|
||||||
|
? {}
|
||||||
|
: {
|
||||||
|
dispatch: {
|
||||||
|
// setFtl: (ftl) => logEvent("setFtl", { ftl }),
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
import Ftl from "./Ftl.svelte";
|
||||||
|
</script>
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 129 KiB After Width: | Height: | Size: 19 KiB |