UNPKG

982 BJavaScriptView Raw
1import "core-js/modules/es.array.slice.js";
2import "core-js/modules/es.object.freeze.js";
3
4var _templateObject;
5
6function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
7
8import deprecate from 'util-deprecate';
9import dedent from 'ts-dedent';
10export { PARAM_KEY } from './constants';
11export * from './highlight';
12export * from './params';
13
14if (module && module.hot && module.hot.decline) {
15 module.hot.decline();
16}
17
18export 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