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 ServicePanel from "../components/ServicePanel.svelte";
import { serviceGroups } from "./story-data";
const { Story } = defineMeta({
title: "Dashboard Primitives/ServicePanel",
component: ServicePanel,
tags: ["autodocs"],
});
</script>
<Story name="Short List" args={{ group: serviceGroups.short }} />
<Story name="Long List" args={{ group: serviceGroups.long }} />
<Story name="Empty Group" args={{ group: serviceGroups.empty }} />
<Story name="Mixed Statuses" args={{ group: serviceGroups.mixed }} />