2019-07-27 09:27:52 +08:00
|
|
|
import { configure, addParameters, addDecorator } from '@storybook/angular';
|
2019-04-26 18:32:52 -04:00
|
|
|
import { withA11y } from '@storybook/addon-a11y';
|
2019-05-02 20:25:15 -04:00
|
|
|
import addCssWarning from '../src/cssWarning';
|
2018-01-10 10:19:36 +02:00
|
|
|
|
2019-04-26 18:32:52 -04:00
|
|
|
addDecorator(withA11y);
|
2018-01-10 10:19:36 +02:00
|
|
|
addCssWarning();
|
2017-07-14 12:21:30 -06:00
|
|
|
|
2018-12-10 19:28:40 +01:00
|
|
|
addParameters({
|
|
|
|
options: {
|
2018-11-30 23:12:51 -05:00
|
|
|
hierarchyRootSeparator: /\|/,
|
2019-07-02 23:58:35 +08:00
|
|
|
docs: {
|
|
|
|
iframeHeight: '60px',
|
|
|
|
},
|
2018-12-10 19:28:40 +01:00
|
|
|
},
|
|
|
|
});
|
2018-02-05 17:24:06 +02:00
|
|
|
|
2019-07-27 09:27:52 +08:00
|
|
|
configure(require.context('../src/stories', true, /\.stories\.(ts|mdx)$/), module);
|