@storybook/addon-interactions 9.0.0-alpha.0 → 9.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var previewApi = require('storybook/internal/preview-api');
4
- var instrumenter = require('@storybook/instrumenter');
4
+ var instrumenter = require('storybook/internal/instrumenter');
5
5
  require('@storybook/test');
6
6
 
7
7
  var __defProp=Object.defineProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});};var preview_exports={};__export(preview_exports,{parameters:()=>parameters,runStep:()=>runStep});var runStep=instrumenter.instrument({step:(label,play,context)=>play(context)},{intercept:!0}).step,parameters={throwPlayFunctionExceptions:!1};var index_default=()=>previewApi.definePreview(preview_exports);
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { definePreview } from 'storybook/internal/preview-api';
2
- import { instrument } from '@storybook/instrumenter';
2
+ import { instrument } from 'storybook/internal/instrumenter';
3
3
  import '@storybook/test';
4
4
 
5
5
  var __defProp=Object.defineProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});};var preview_exports={};__export(preview_exports,{parameters:()=>parameters,runStep:()=>runStep});var runStep=instrument({step:(label,play,context)=>play(context)},{intercept:!0}).step,parameters={throwPlayFunctionExceptions:!1};var index_default=()=>definePreview(preview_exports);
package/dist/manager.js CHANGED
@@ -3,8 +3,8 @@ import React9__default, { memo, useState, useRef, useEffect, useMemo, Fragment,
3
3
  import { IconButton, TooltipNote, Button, Separator, P, AddonPanel, EmptyTabContent, Link, WithTooltip, Bar, Spaced, Badge } from 'storybook/internal/components';
4
4
  import { useAddonState, useChannel, useParameter, addons, types, Consumer, useStorybookApi } from 'storybook/internal/manager-api';
5
5
  import { STORY_RENDER_PHASE_CHANGED, STORY_THREW_EXCEPTION, PLAY_FUNCTION_THREW_EXCEPTION, UNHANDLED_ERRORS_WHILE_PLAYING, FORCE_REMOUNT } from 'storybook/internal/core-events';
6
+ import { CallStates, EVENTS } from 'storybook/internal/instrumenter';
6
7
  import { global } from '@storybook/global';
7
- import { CallStates, EVENTS } from '@storybook/instrumenter';
8
8
  import { styled, typography, useTheme } from 'storybook/internal/theming';
9
9
  import { transparentize } from 'polished';
10
10
  import { VideoIcon, DocumentIcon, ListUnorderedIcon, RewindIcon, PlayBackIcon, PlayNextIcon, FastForwardIcon, SyncIcon, CircleIcon, PlayIcon, StopAltIcon, CheckIcon } from '@storybook/icons';
package/dist/preview.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var instrumenter = require('@storybook/instrumenter');
3
+ var instrumenter = require('storybook/internal/instrumenter');
4
4
  require('@storybook/test');
5
5
 
6
6
  var runStep=instrumenter.instrument({step:(label,play,context)=>play(context)},{intercept:!0}).step,parameters={throwPlayFunctionExceptions:!1};
package/dist/preview.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { instrument } from '@storybook/instrumenter';
1
+ import { instrument } from 'storybook/internal/instrumenter';
2
2
  import '@storybook/test';
3
3
 
4
4
  var runStep=instrument({step:(label,play,context)=>play(context)},{intercept:!0}).step,parameters={throwPlayFunctionExceptions:!1};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-interactions",
3
- "version": "9.0.0-alpha.0",
3
+ "version": "9.0.0-alpha.2",
4
4
  "description": "Automate, test and debug user interactions",
5
5
  "keywords": [
6
6
  "storybook-addons",
@@ -63,8 +63,7 @@
63
63
  },
64
64
  "dependencies": {
65
65
  "@storybook/global": "^5.0.0",
66
- "@storybook/instrumenter": "9.0.0-alpha.0",
67
- "@storybook/test": "9.0.0-alpha.0",
66
+ "@storybook/test": "9.0.0-alpha.2",
68
67
  "polished": "^4.2.2",
69
68
  "ts-dedent": "^2.2.0"
70
69
  },
@@ -79,7 +78,7 @@
79
78
  "typescript": "^5.7.3"
80
79
  },
81
80
  "peerDependencies": {
82
- "storybook": "^9.0.0-alpha.0"
81
+ "storybook": "^9.0.0-alpha.2"
83
82
  },
84
83
  "publishConfig": {
85
84
  "access": "public"