/**
 * Toggle Button Stories
 * @generated 2025-12-11T14:37:52.651316
 */
import type { Meta, StoryObj } from '@storybook/preact';
import { ToggleButton, type ToggleButtonProps } from '../src/atoms/ToggleButton';

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

**Classification:** atom
**Slots:** icon, label
**Figma ID:** 816:112827`
      }
    }
  },
  argTypes: {
    roundness: {
      control: 'select',
      options: ['Default', 'Round'],
      description: 'Roundness variant',
    },
    skin: {
      control: 'select',
      options: ['Ghost', 'Outlined'],
      description: 'Skin variant',
    },
    size: {
      control: 'select',
      options: ['Large', 'Mini', 'Regular', 'Small'],
      description: 'Size variant',
    },
    position: {
      control: 'select',
      options: ['Left', 'Middle', 'Right', 'Single'],
      description: 'Position variant',
    },
    active: {
      control: 'select',
      options: ['false', 'true'],
      description: 'Active variant',
    },
    state: {
      control: 'select',
      options: ['Default', 'Disabled', 'Focus'],
      description: 'State variant',
    },
  },
};

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

export const Default: Story = {
  args: {
    roundness: 'Default',
    skin: 'Ghost',
    size: 'Large',
    position: 'Left',
    active: 'false',
    state: 'Default',
    children: 'ToggleButton'
  },
};

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',
  },
};
