// @ts-nocheck — generated stub. Delete this comment after curating. /* eslint-disable */ /** * AUTO-GENERATED stub story for PixelButton. * Source: scripts/build-docs/generate-stories.ts * * Safe to edit — once this file is committed the generator will refuse * to overwrite it (a hand-authored *.stories.tsx is detected). */ import type { Meta, StoryObj } from '@storybook/react'; import * as Component from './PixelButton'; import manifest from './PixelButton.manifest'; import * as examples from './PixelButton.examples'; const meta: Meta = { title: 'UI Kit / Actions / PixelButton', component: (Component as any).PixelButton ?? (Component as any).default, tags: ["autodocs","status-stable","cat-actions"], parameters: { layout: 'padded', docs: { description: { component: (manifest as any)?.description ?? 'PixelButton — generated stub.', }, }, manifest, }, }; export default meta; type Story = StoryObj; /** Default */ export const Default: Story = { name: 'Default', tags: ["example-default"], parameters: { docs: { description: { story: undefined } }, }, render: () => { const ExampleComponent = ((examples as any).Default ?? (examples as any)['default']) ?? ((manifest as any)?.examples?.find?.((e: any) => e?.id === 'default')?.Component); if (!ExampleComponent) { return (
          {"Missing example 'default' for PixelButton."}
        
); } return ; }, }; /** Tones */ export const Tones: Story = { name: 'Tones', tags: ["example-tones"], parameters: { docs: { description: { story: undefined } }, }, render: () => { const ExampleComponent = ((examples as any).Tones ?? (examples as any)['tones']) ?? ((manifest as any)?.examples?.find?.((e: any) => e?.id === 'tones')?.Component); if (!ExampleComponent) { return (
          {"Missing example 'tones' for PixelButton."}
        
); } return ; }, }; /** Sizes */ export const Sizes: Story = { name: 'Sizes', tags: ["example-sizes"], parameters: { docs: { description: { story: undefined } }, }, render: () => { const ExampleComponent = ((examples as any).Sizes ?? (examples as any)['sizes']) ?? ((manifest as any)?.examples?.find?.((e: any) => e?.id === 'sizes')?.Component); if (!ExampleComponent) { return (
          {"Missing example 'sizes' for PixelButton."}
        
); } return ; }, }; /** Variants */ export const Variants: Story = { name: 'Variants', tags: ["example-variants"], parameters: { docs: { description: { story: undefined } }, }, render: () => { const ExampleComponent = ((examples as any).Variants ?? (examples as any)['variants']) ?? ((manifest as any)?.examples?.find?.((e: any) => e?.id === 'variants')?.Component); if (!ExampleComponent) { return (
          {"Missing example 'variants' for PixelButton."}
        
); } return ; }, }; /** Surfaces */ export const Surfaces: Story = { name: 'Surfaces', tags: ["example-surfaces"], parameters: { docs: { description: { story: undefined } }, }, render: () => { const ExampleComponent = ((examples as any).Surfaces ?? (examples as any)['surfaces']) ?? ((manifest as any)?.examples?.find?.((e: any) => e?.id === 'surfaces')?.Component); if (!ExampleComponent) { return (
          {"Missing example 'surfaces' for PixelButton."}
        
); } return ; }, }; /** With icons */ export const WithIcons: Story = { name: 'With icons', tags: ["example-with-icons"], parameters: { docs: { description: { story: undefined } }, }, render: () => { const ExampleComponent = ((examples as any).WithIcons ?? (examples as any)['with-icons']) ?? ((manifest as any)?.examples?.find?.((e: any) => e?.id === 'with-icons')?.Component); if (!ExampleComponent) { return (
          {"Missing example 'with-icons' for PixelButton."}
        
); } return ; }, }; /** Loading */ export const Loading: Story = { name: 'Loading', tags: ["example-loading"], parameters: { docs: { description: { story: undefined } }, }, render: () => { const ExampleComponent = ((examples as any).Loading ?? (examples as any)['loading']) ?? ((manifest as any)?.examples?.find?.((e: any) => e?.id === 'loading')?.Component); if (!ExampleComponent) { return (
          {"Missing example 'loading' for PixelButton."}
        
); } return ; }, }; /** Disabled */ export const Disabled: Story = { name: 'Disabled', tags: ["example-disabled"], parameters: { docs: { description: { story: undefined } }, }, render: () => { const ExampleComponent = ((examples as any).Disabled ?? (examples as any)['disabled']) ?? ((manifest as any)?.examples?.find?.((e: any) => e?.id === 'disabled')?.Component); if (!ExampleComponent) { return (
          {"Missing example 'disabled' for PixelButton."}
        
); } return ; }, }; /** Full width */ export const FullWidth: Story = { name: 'Full width', tags: ["example-full-width"], parameters: { docs: { description: { story: undefined } }, }, render: () => { const ExampleComponent = ((examples as any).FullWidth ?? (examples as any)['full-width']) ?? ((manifest as any)?.examples?.find?.((e: any) => e?.id === 'full-width')?.Component); if (!ExampleComponent) { return (
          {"Missing example 'full-width' for PixelButton."}
        
); } return ; }, }; /** As child (link) */ export const AsChild: Story = { name: 'As child (link)', tags: ["example-as-child"], parameters: { docs: { description: { story: undefined } }, }, render: () => { const ExampleComponent = ((examples as any).AsChild ?? (examples as any)['as-child']) ?? ((manifest as any)?.examples?.find?.((e: any) => e?.id === 'as-child')?.Component); if (!ExampleComponent) { return (
          {"Missing example 'as-child' for PixelButton."}
        
); } return ; }, };