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

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

**Classification:** atom
**Slots:** icon, label
**Figma ID:** 9:634`
      }
    }
  },
  argTypes: {
    size: {
      control: 'select',
      options: ['Large', 'Regular', 'Small'],
      description: 'Size variant',
    },
    content: {
      control: 'select',
      options: ['Icon', 'Icon + Label', 'Label'],
      description: 'Content variant',
    },
    state: {
      control: 'select',
      options: ['Active', 'Active Focus', 'Disabled', 'Inactive', 'Inactive Focus', 'Inactive Hover'],
      description: 'State variant',
    },
  },
};

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

export const Default: Story = {
  args: {
    size: 'Large',
    content: 'Icon',
    state: 'Active',
    children: 'Tab'
  },
};

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

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

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