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

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

**Classification:** atom
**Slots:** icon
**Figma ID:** 16:1790`
      }
    }
  },
  argTypes: {
    checked: {
      control: 'select',
      options: ['Indeterminate', 'false', 'true'],
      description: 'Checked variant',
    },
    state: {
      control: 'select',
      options: ['Default', 'Disabled', 'Error', 'Error Focus', 'Focus'],
      description: 'State variant',
    },
  },
};

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

export const Default: Story = {
  args: {
    checked: 'Indeterminate',
    state: 'Default',
    children: 'Checkbox'
  },
};
