fix: address Storybook review findings
This commit is contained in:
parent
d95f064189
commit
17c9d24e31
8 changed files with 121 additions and 20 deletions
|
|
@ -1,6 +1,7 @@
|
|||
<script module lang="ts">
|
||||
import { defineMeta } from "@storybook/addon-svelte-csf";
|
||||
import ServiceRow from "../components/ServiceRow.svelte";
|
||||
import FocusPreview from "./FocusPreview.svelte";
|
||||
import { serviceRows } from "./story-data";
|
||||
|
||||
const { Story } = defineMeta({
|
||||
|
|
@ -16,4 +17,8 @@
|
|||
<Story name="Stale" args={{ service: serviceRows.stale }} />
|
||||
<Story name="No Link" args={{ service: serviceRows.noLink }} />
|
||||
<Story name="Long Title Description" args={{ service: serviceRows.long }} />
|
||||
<Story name="Keyboard Focus" args={{ service: serviceRows.normal }} />
|
||||
<Story name="Keyboard Focus" asChild>
|
||||
<FocusPreview selector="a">
|
||||
<ServiceRow service={serviceRows.normal} />
|
||||
</FocusPreview>
|
||||
</Story>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue