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

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

**Classification:** atom
**Slots:** None
**Figma ID:** 140:11468`
      }
    }
  },
  argTypes: {
    size: {
      control: 'select',
      options: ['Default', 'Large', 'Mini', 'Small'],
      description: 'Size variant',
    },
    position: {
      control: 'select',
      options: ['Left', 'Middle', 'Right'],
      description: 'Position variant',
    },
    state: {
      control: 'select',
      options: ['Disabled', 'Empty', 'Error', 'Error Focus', 'Focus', 'Placeholder', 'Value'],
      description: 'State variant',
    },
  },
};

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

export const Default: Story = {
  args: {
    size: 'Default',
    position: 'Left',
    state: 'Disabled',
    children: 'InputOtp'
  },
};

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

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

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