import { ButtonV2 } from "./button-v2" const docs = `### Overview Button v2 with visual variants and three sizes. ### API - \`variant\`: "neutral" | "danger" | "warning" | "contrast" | "ghost" | "ghost-muted" | "loading". - \`size\`: "small" | "normal" | "large". - \`icon\`: Optional icon name. - Inherits Kobalte Button props and native button attributes. ### States - default, hover, pressed, focus, disabled. - State selectors are available via pseudo-classes and \`[data-state]\`. ` export default { title: "UI V2/Button", id: "components-button-v2", component: ButtonV2, tags: ["autodocs"], parameters: { frameHeight: "240px", frameBackground: "#fff", docs: { description: { component: docs, }, }, }, args: { children: "Button", variant: "neutral", size: "normal", }, argTypes: { icon: { control: "text", }, variant: { control: "select", options: ["neutral", "danger", "warning", "contrast", "ghost", "ghost-muted", "loading"], }, size: { control: "select", options: ["normal", "large"], }, }, } export const Playground = {} export const Variants = { render: () => (