feat(ui): upgrade to storybook 9

Replaces rollup with wasm version for portability.
This commit is contained in:
Brian McGee
2025-06-12 15:08:33 +01:00
parent d9f2c1681f
commit f0322a8411
17 changed files with 1414 additions and 10188 deletions

View File

@@ -1,4 +1,4 @@
import type { Preview } from "@kachurun/storybook-solid";
import type { Preview } from "@kachurun/storybook-solid-vite";
import "@/src/components/v2/index.css";
import "../src/index.css";
@@ -8,13 +8,6 @@ export const preview: Preview = {
tags: ["autodocs"],
parameters: {
docs: { toc: true },
backgrounds: {
values: [
{ name: "Dark", value: "#333" },
{ name: "Light", value: "#ffffff" },
],
default: "Light",
},
// automatically create action args for all props that start with "on"
actions: { argTypesRegex: "^on.*" },
controls: {