@storybook/addon-interactions 8.4.0-beta.0 → 8.4.0-beta.2

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