/**
 * Button Group Stories
 * @generated 2025-12-11T14:37:52.569372
 */
import type { Meta, StoryObj } from '@storybook/preact';
import { ButtonGroup, type ButtonGroupProps } from '../src/atoms/ButtonGroup';

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

**Classification:** atom
**Slots:** icon, label
**Figma ID:** 784:82792`
      }
    }
  },
  argTypes: {
    skin: {
      control: 'select',
      options: ['Ghost', 'Outlined'],
      description: 'Skin variant',
    },
    size: {
      control: 'select',
      options: ['Large', 'Regular', 'Small'],
      description: 'Size variant',
    },
    position: {
      control: 'select',
      options: ['Left', 'Middle', 'Right', 'Single'],
      description: 'Position variant',
    },
    state: {
      control: 'select',
      options: ['Default', 'Disabled', 'Focus', 'Hover'],
      description: 'State variant',
    },
  },
};

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

export const Default: Story = {
  args: {
    skin: 'Ghost',
    size: 'Large',
    position: 'Left',
    state: 'Default',
    children: 'ButtonGroup'
  },
};

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