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

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

**Classification:** atom
**Slots:** None
**Figma ID:** 66:5981`
      }
    }
  },
  argTypes: {
    roundness: {
      control: 'select',
      options: ['Default', 'Round'],
      description: 'Roundness variant',
    },
    fileChosen: {
      control: 'select',
      options: ['false', 'true'],
      description: 'File Chosen variant',
    },
    size: {
      control: 'select',
      options: ['Large', 'Mini', 'Regular', 'Small'],
      description: 'Size variant',
    },
    state: {
      control: 'select',
      options: ['Default', 'Error', 'Error Focus', 'Focus'],
      description: 'State variant',
    },
  },
};

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

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

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