Skip to content

Commit

Permalink
Merge pull request #392 from MuckRock/371-viewer-pane-storybook
Browse files Browse the repository at this point in the history
Basic action pane stories. Some won't work without state management.
  • Loading branch information
eyeseast authored Dec 15, 2023
2 parents d3496ab + 577f068 commit da1b62d
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/pages/viewer/pane/stories/ActionPane.stories.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<script context="module">
import { Story } from "@storybook/addon-svelte-csf";
import ActionPane from "../ActionPane.svelte";
export const meta = {
title: "Viewer / Pane / Action Pane",
component: ActionPane,
};
</script>

<Story name="default">
<ActionPane />
</Story>
13 changes: 13 additions & 0 deletions src/pages/viewer/pane/stories/AnnotatePane.stories.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<script context="module">
import { Story } from "@storybook/addon-svelte-csf";
import AnnotatePane from "../AnnotatePane.svelte";
export const meta = {
title: "Viewer / Pane / Annotate Pane",
component: AnnotatePane,
};
</script>

<Story name="default">
<AnnotatePane />
</Story>
13 changes: 13 additions & 0 deletions src/pages/viewer/pane/stories/ModifyPane.stories.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<script context="module">
import { Story } from "@storybook/addon-svelte-csf";
import ModifyPane from "../ModifyPane.svelte";
export const meta = {
title: "Viewer / Pane / Modify Pane",
component: ModifyPane,
};
</script>

<Story name="default">
<ModifyPane />
</Story>
13 changes: 13 additions & 0 deletions src/pages/viewer/pane/stories/RedactPane.stories.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<script context="module">
import { Story } from "@storybook/addon-svelte-csf";
import RedactPane from "../RedactPane.svelte";
export const meta = {
title: "Viewer / Pane / Redact Pane",
component: RedactPane,
};
</script>

<Story name="default">
<RedactPane />
</Story>
13 changes: 13 additions & 0 deletions src/pages/viewer/pane/stories/SearchPane.stories.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<script context="module">
import { Story } from "@storybook/addon-svelte-csf";
import SearchPane from "../SearchPane.svelte";
export const meta = {
title: "Viewer / Pane / Search Pane",
component: SearchPane,
};
</script>

<Story name="default">
<SearchPane />
</Story>
13 changes: 13 additions & 0 deletions src/pages/viewer/pane/stories/SelectNotePane.stories.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<script context="module">
import { Story } from "@storybook/addon-svelte-csf";
import SelectNotePane from "../SelectNotePane.svelte";
export const meta = {
title: "Viewer / Pane / Select Note Pane",
component: SelectNotePane,
};
</script>

<Story name="default">
<SelectNotePane />
</Story>

0 comments on commit da1b62d

Please sign in to comment.