import { Meta } from '@storybook/react-webpack5';
import { ListItem, type ListItemProps } from '../../ListItem';
import { generateVariantsForControl } from './helpers';

export default {
  component: ListItem,
  title: 'Content/ListItem/tests/variants/theme: bright-green',
  tags: ['!autodocs'],
  parameters: {
    controls: { disable: true },
    actions: { disable: true },
    knobs: { disable: true },
  },
} satisfies Meta<ListItemProps>;

export const Button = generateVariantsForControl('button', 'bright-green');
export const ButtonAsLink = generateVariantsForControl('buttonAsLink', 'bright-green');
export const ButtonPartiallyInteractive = generateVariantsForControl(
  'partialButton',
  'bright-green',
);
export const ButtonAsLinkPartiallyInteractive = generateVariantsForControl(
  'partialButtonAsLink',
  'bright-green',
);
export const IconButton = generateVariantsForControl('iconButton', 'bright-green');
export const IconButtonAsLink = generateVariantsForControl('iconButtonAsLink', 'bright-green');
export const IconButtonWithLabel = generateVariantsForControl(
  'iconButtonWithLabel',
  'bright-green',
);
export const IconButtonAsLinkWithLabel = generateVariantsForControl(
  'iconButtonAsLinkWithLabel',
  'bright-green',
);
export const IconButtonPartiallyInteractive = generateVariantsForControl(
  'partialIconButton',
  'bright-green',
);
export const IconButtonAsLinkPartiallyInteractive = generateVariantsForControl(
  'partialIconButtonAsLink',
  'bright-green',
);
export const Navigation = generateVariantsForControl('navigation', 'bright-green');
export const NavigationAsButton = generateVariantsForControl('navigationAsButton', 'bright-green');
export const Checkbox = generateVariantsForControl('checkbox', 'bright-green');
export const Radio = generateVariantsForControl('radio', 'bright-green');
export const Switch = generateVariantsForControl('switch', 'bright-green');
export const NonInteractive = generateVariantsForControl('non-interactive', 'bright-green');
