@storybook/addon-interactions 8.3.0-alpha.5 → 8.3.0-alpha.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ declare const checkActionsLoaded: (configDir: string) => void;
2
+
3
+ export { checkActionsLoaded };
@@ -0,0 +1,11 @@
1
+ import ESM_COMPAT_Module from 'node:module';
2
+ import { fileURLToPath } from 'node:url';
3
+ import { dirname, isAbsolute, join } from 'node:path';
4
+ import { checkAddonOrder, serverRequire } from 'storybook/internal/common';
5
+
6
+ const __filename = fileURLToPath(import.meta.url);
7
+ dirname(__filename);
8
+ ESM_COMPAT_Module.createRequire(import.meta.url);
9
+ var checkActionsLoaded=configDir=>{checkAddonOrder({before:{name:"@storybook/addon-actions",inEssentials:!0},after:{name:"@storybook/addon-interactions",inEssentials:!1},configFile:isAbsolute(configDir)?join(configDir,"main"):join(process.cwd(),configDir,"main"),getConfig:configFile=>serverRequire(configFile)});};
10
+
11
+ export { checkActionsLoaded };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-interactions",
3
- "version": "8.3.0-alpha.5",
3
+ "version": "8.3.0-alpha.6",
4
4
  "description": "Automate, test and debug user interactions",
5
5
  "keywords": [
6
6
  "storybook-addons",
@@ -54,8 +54,8 @@
54
54
  },
55
55
  "dependencies": {
56
56
  "@storybook/global": "^5.0.0",
57
- "@storybook/instrumenter": "8.3.0-alpha.5",
58
- "@storybook/test": "8.3.0-alpha.5",
57
+ "@storybook/instrumenter": "8.3.0-alpha.6",
58
+ "@storybook/test": "8.3.0-alpha.6",
59
59
  "polished": "^4.2.2",
60
60
  "ts-dedent": "^2.2.0"
61
61
  },
@@ -69,7 +69,7 @@
69
69
  "typescript": "^5.3.2"
70
70
  },
71
71
  "peerDependencies": {
72
- "storybook": "^8.3.0-alpha.5"
72
+ "storybook": "^8.3.0-alpha.6"
73
73
  },
74
74
  "publishConfig": {
75
75
  "access": "public"