feat: add Storybook component explorer

This commit is contained in:
vince 2026-06-18 18:53:48 +02:00
parent f1dc95b51c
commit d95f064189
47 changed files with 1730 additions and 8 deletions

View file

@ -0,0 +1,16 @@
<script module lang="ts">
import { defineMeta } from "@storybook/addon-svelte-csf";
import FooterStatusCell from "../components/FooterStatusCell.svelte";
import { statusItems } from "./story-data";
const { Story } = defineMeta({
title: "Dashboard Primitives/FooterStatusCell",
component: FooterStatusCell,
tags: ["autodocs"],
});
</script>
<Story name="Label Value" args={{ item: statusItems.ok }} />
<Story name="Action Cell" args={{ item: statusItems.action }} />
<Story name="Stale" args={{ item: statusItems.stale }} />
<Story name="Long Value" args={{ item: statusItems.long }} />