@storybook/addon-interactions 8.1.0-alpha.5 → 8.1.0-alpha.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/preset.js +17 -17
- package/dist/preview.d.ts +2 -4
- package/dist/preview.js +1 -4
- package/dist/preview.mjs +2 -3
- package/package.json +11 -11
package/dist/preview.d.ts
CHANGED
@@ -1,10 +1,8 @@
|
|
1
|
-
import { StepLabel, PlayFunction, PlayFunctionContext
|
1
|
+
import { StepLabel, PlayFunction, PlayFunctionContext } from '@storybook/types';
|
2
2
|
|
3
3
|
declare const runStep: (label: StepLabel, play: PlayFunction, context: PlayFunctionContext<any>) => void | Promise<void>;
|
4
|
-
declare const traverseArgs: (value: unknown, depth?: number, key?: string) => unknown;
|
5
|
-
declare const argsEnhancers: ArgsEnhancer<Renderer>[];
|
6
4
|
declare const parameters: {
|
7
5
|
throwPlayFunctionExceptions: boolean;
|
8
6
|
};
|
9
7
|
|
10
|
-
export {
|
8
|
+
export { parameters, runStep };
|
package/dist/preview.js
CHANGED
@@ -1,11 +1,8 @@
|
|
1
1
|
'use strict';
|
2
2
|
|
3
|
-
var test = require('@storybook/test');
|
4
3
|
var instrumenter = require('@storybook/instrumenter');
|
5
4
|
|
6
|
-
var {step:runStep}=instrumenter.instrument({step:(label,play,context)=>play(context)},{intercept:!0}),
|
5
|
+
var {step:runStep}=instrumenter.instrument({step:(label,play,context)=>play(context)},{intercept:!0}),parameters={throwPlayFunctionExceptions:!1};
|
7
6
|
|
8
|
-
exports.argsEnhancers = argsEnhancers;
|
9
7
|
exports.parameters = parameters;
|
10
8
|
exports.runStep = runStep;
|
11
|
-
exports.traverseArgs = traverseArgs;
|
package/dist/preview.mjs
CHANGED
@@ -1,6 +1,5 @@
|
|
1
|
-
import { isMockFunction, fn } from '@storybook/test';
|
2
1
|
import { instrument } from '@storybook/instrumenter';
|
3
2
|
|
4
|
-
var {step:runStep}=instrument({step:(label,play,context)=>play(context)},{intercept:!0}),
|
3
|
+
var {step:runStep}=instrument({step:(label,play,context)=>play(context)},{intercept:!0}),parameters={throwPlayFunctionExceptions:!1};
|
5
4
|
|
6
|
-
export {
|
5
|
+
export { parameters, runStep };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@storybook/addon-interactions",
|
3
|
-
"version": "8.1.0-alpha.
|
3
|
+
"version": "8.1.0-alpha.7",
|
4
4
|
"description": "Automate, test and debug user interactions",
|
5
5
|
"keywords": [
|
6
6
|
"storybook-addons",
|
@@ -54,22 +54,22 @@
|
|
54
54
|
},
|
55
55
|
"dependencies": {
|
56
56
|
"@storybook/global": "^5.0.0",
|
57
|
-
"@storybook/instrumenter": "8.1.0-alpha.
|
58
|
-
"@storybook/test": "8.1.0-alpha.
|
59
|
-
"@storybook/types": "8.1.0-alpha.
|
57
|
+
"@storybook/instrumenter": "8.1.0-alpha.7",
|
58
|
+
"@storybook/test": "8.1.0-alpha.7",
|
59
|
+
"@storybook/types": "8.1.0-alpha.7",
|
60
60
|
"polished": "^4.2.2",
|
61
61
|
"ts-dedent": "^2.2.0"
|
62
62
|
},
|
63
63
|
"devDependencies": {
|
64
64
|
"@devtools-ds/object-inspector": "^1.1.2",
|
65
|
-
"@storybook/client-logger": "8.1.0-alpha.
|
66
|
-
"@storybook/components": "8.1.0-alpha.
|
67
|
-
"@storybook/core-common": "8.1.0-alpha.
|
68
|
-
"@storybook/core-events": "8.1.0-alpha.
|
65
|
+
"@storybook/client-logger": "8.1.0-alpha.7",
|
66
|
+
"@storybook/components": "8.1.0-alpha.7",
|
67
|
+
"@storybook/core-common": "8.1.0-alpha.7",
|
68
|
+
"@storybook/core-events": "8.1.0-alpha.7",
|
69
69
|
"@storybook/icons": "^1.2.5",
|
70
|
-
"@storybook/manager-api": "8.1.0-alpha.
|
71
|
-
"@storybook/preview-api": "8.1.0-alpha.
|
72
|
-
"@storybook/theming": "8.1.0-alpha.
|
70
|
+
"@storybook/manager-api": "8.1.0-alpha.7",
|
71
|
+
"@storybook/preview-api": "8.1.0-alpha.7",
|
72
|
+
"@storybook/theming": "8.1.0-alpha.7",
|
73
73
|
"@types/node": "^18.0.0",
|
74
74
|
"formik": "^2.2.9",
|
75
75
|
"react": "^18.2.0",
|