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: bright green',
  tags: ['!autodocs', '!manifest'],
};
export default meta;

export const Success = generateSurfaceVariant({
  sentiment: 'success',
  theme: 'bright-green',
});
Success.storyName = 'Sentiment awareness: success';

export const Warning = generateSurfaceVariant({ sentiment: 'warning', theme: 'bright-green' });
Warning.storyName = 'Sentiment awareness: warning';

export const Negative = generateSurfaceVariant({ sentiment: 'negative', theme: 'bright-green' });
Negative.storyName = 'Sentiment awareness: negative';

export const Neutral = generateSurfaceVariant({ sentiment: 'neutral', theme: 'bright-green' });
Neutral.storyName = 'Sentiment awareness: neutral';

export const Proposition = generateSurfaceVariant({
  sentiment: 'proposition',
  theme: 'bright-green',
});
Proposition.storyName = 'Sentiment awareness: proposition';
