@storybook/preact 8.0.0-rc.3 → 8.0.0-rc.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/preact",
3
- "version": "8.0.0-rc.3",
3
+ "version": "8.0.0-rc.4",
4
4
  "description": "Storybook Preact renderer",
5
5
  "keywords": [
6
6
  "storybook"
@@ -48,8 +48,8 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@storybook/global": "^5.0.0",
51
- "@storybook/preview-api": "8.0.0-rc.3",
52
- "@storybook/types": "8.0.0-rc.3",
51
+ "@storybook/preview-api": "8.0.0-rc.4",
52
+ "@storybook/types": "8.0.0-rc.4",
53
53
  "ts-dedent": "^2.0.0"
54
54
  },
55
55
  "devDependencies": {
@@ -1,3 +1,4 @@
1
+ import { fn } from '@storybook/test';
1
2
  import { Header } from './Header';
2
3
 
3
4
  export default {
@@ -9,10 +10,10 @@ export default {
9
10
  // More on how to position stories at: https://storybook.js.org/docs/configure/story-layout
10
11
  layout: 'fullscreen',
11
12
  },
12
- argTypes: {
13
- onLogin: { action: 'onLogin' },
14
- onLogout: { action: 'onLogout' },
15
- onCreateAccount: { action: 'onCreateAccount' },
13
+ args: {
14
+ onLogin: fn(),
15
+ onLogout: fn(),
16
+ onCreateAccount: fn(),
16
17
  },
17
18
  };
18
19