-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #392 from MuckRock/371-viewer-pane-storybook
Basic action pane stories. Some won't work without state management.
- Loading branch information
Showing
6 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
13
src/pages/viewer/pane/stories/SelectNotePane.stories.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |