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/rtl',
  tags: ['!autodocs'],
  parameters: {
    controls: { disable: true },
    actions: { disable: true },
    knobs: { disable: true },
  },
} satisfies Meta<ListItemProps>;

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