1 | import "core-js/modules/es.array.slice.js";
|
2 | import "core-js/modules/es.object.freeze.js";
|
3 |
|
4 | var _templateObject;
|
5 |
|
6 | function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
7 |
|
8 | import deprecate from 'util-deprecate';
|
9 | import dedent from 'ts-dedent';
|
10 | export { PARAM_KEY } from './constants';
|
11 | export * from './highlight';
|
12 | export * from './params';
|
13 |
|
14 | if (module && module.hot && module.hot.decline) {
|
15 | module.hot.decline();
|
16 | }
|
17 |
|
18 | export var withA11y = deprecate(function (storyFn, storyContext) {
|
19 | return storyFn(storyContext);
|
20 | }, dedent(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n withA11y(options) is deprecated, please configure addon-a11y using the addParameter api:\n\n addParameters({\n a11y: options,\n });\n\n More at: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#removed-witha11y-decorator\n "])))); |
\ | No newline at end of file |