updates dependencies, docs

This commit is contained in:
MinamiFunakoshiTR 2025-03-10 10:05:33 -07:00
parent 709881f431
commit 3db34b8896
Failed to extract signature

View file

@ -1,4 +1,4 @@
import { Meta } from '@storybook/blocks';
import { Meta, Canvas } from '@storybook/blocks';
import * as EndNotesStories from './EndNotes.stories.svelte';
@ -6,9 +6,7 @@ import * as EndNotesStories from './EndNotes.stories.svelte';
# EndNotes
End notes includes notes to the main article — usually things like sources, clarifiying notes and minor corrections at the end of a story.
Use it like this:
The `EndNotes` component adds notes to the main page such as sources, clarifiying notes and minor corrections that come at the end of a story.
```svelte
<script>
@ -33,7 +31,11 @@ Use it like this:
<EndNotes {notes} />
```
... or more commonly, you'll use it with a **ArchieML doc** in the **Graphics Kit** like this:
<Canvas of={EndNotesStories.Demo} />
## Using with ArchieML docs
With the Graphics Kit, you'll likely get your text value from an ArchieML doc...
```yaml
# ArchieML doc
@ -49,6 +51,8 @@ text: Editor, Copyeditor
[]
```
... which you'll pass to the `EndNotes` component.
```svelte
<!-- Graphics Kit -->
<script>