import { setCompodocJson } from '@storybook/addon-docs/angular';
import docJson from '../documentation.json';
import { translationsDecorators } from './translations-decorator';
setCompodocJson(docJson);

export const parameters = {
    actions: { argTypesRegex: '^on[A-Z].*' },
    controls: {
        matchers: {
            color: /(background|color)$/i,
            date: /Date$/,
        },
    },
    docs: { inlineStories: true },
};

export const decorators = [...translationsDecorators];
