/**
 * Input Stories
 * @generated 2025-12-11T14:37:52.598773
 */
import type { Meta, StoryObj } from '@storybook/preact';
import { Input, type InputProps } from '../src/atoms/Input';

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

**Classification:** atom
**Slots:** None
**Figma ID:** 16:1738`
      }
    }
  },
  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: ['Disabled', 'Empty', 'Error', 'Error Focus', 'Focus', 'Placeholder', 'Value'],
      description: 'State variant',
    },
  },
};

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

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

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