import { Meta } from '@storybook/react-webpack5';
import Button from '../Button.resolver';
import { generateSurfaceVariant } from './helpers';

const meta: Meta<typeof Button> = {
  component: Button,
  title: 'Actions/Button/Tests/theme: default',
  tags: ['!autodocs', '!manifest'],
};
export default meta;

export const Success = generateSurfaceVariant({ sentiment: 'success' });
Success.storyName = 'Sentiment awareness: success';

export const Warning = generateSurfaceVariant({ sentiment: 'warning' });
Warning.storyName = 'Sentiment awareness: warning';

export const Negative = generateSurfaceVariant({ sentiment: 'negative' });
Negative.storyName = 'Sentiment awareness: negative';

export const Neutral = generateSurfaceVariant({ sentiment: 'neutral' });
Neutral.storyName = 'Sentiment awareness: neutral';

export const Proposition = generateSurfaceVariant({ sentiment: 'proposition' });
Proposition.storyName = 'Sentiment awareness: proposition';
