/**
 * Loading Button Stories
 * @generated 2025-12-11T14:37:52.611264
 */
import type { Meta, StoryObj } from '@storybook/preact';
import { LoadingButton, type LoadingButtonProps } from '../src/atoms/LoadingButton';

const meta: Meta<LoadingButtonProps> = {
  title: '2. Atoms/LoadingButton',
  component: LoadingButton,
  tags: ['autodocs'],
  parameters: {
    docs: {
      description: {
        component: `Auto-generated LoadingButton component

**Classification:** atom
**Slots:** label
**Figma ID:** 11:1126`
      }
    }
  },
  argTypes: {
    roundness: {
      control: 'select',
      options: ['Default', 'Round'],
      description: 'Roundness variant',
    },
    size: {
      control: 'select',
      options: ['Large', 'Mini', 'Regular', 'Small'],
      description: 'Size variant',
    },
    state: {
      control: 'select',
      options: ['Default', 'Focus', 'Hover & Active'],
      description: 'State variant',
    },
  },
};

export default meta;
type Story = StoryObj<LoadingButtonProps>;

export const Default: Story = {
  args: {
    roundness: 'Default',
    size: 'Large',
    state: 'Default',
    children: 'LoadingButton'
  },
};

export const SizeLarge: Story = {
  args: {
    ...Default.args,
    size: 'Large',
  },
};

export const SizeMini: Story = {
  args: {
    ...Default.args,
    size: 'Mini',
  },
};

export const SizeRegular: Story = {
  args: {
    ...Default.args,
    size: 'Regular',
  },
};
