@storybook/ember 8.0.0-rc.2 → 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/ember",
3
- "version": "8.0.0-rc.2",
3
+ "version": "8.0.0-rc.4",
4
4
  "description": "Storybook for Ember: Develop Ember Component in isolation with Hot Reloading.",
5
5
  "homepage": "https://github.com/storybookjs/storybook/tree/next/code/frameworks/ember",
6
6
  "bugs": {
@@ -32,12 +32,12 @@
32
32
  "prep": "node --loader ../../../scripts/node_modules/esbuild-register/loader.js -r ../../../scripts/node_modules/esbuild-register/register.js ../../../scripts/prepare/tsc.ts"
33
33
  },
34
34
  "dependencies": {
35
- "@storybook/builder-webpack5": "8.0.0-rc.2",
36
- "@storybook/core-common": "8.0.0-rc.2",
37
- "@storybook/docs-tools": "8.0.0-rc.2",
35
+ "@storybook/builder-webpack5": "8.0.0-rc.4",
36
+ "@storybook/core-common": "8.0.0-rc.4",
37
+ "@storybook/docs-tools": "8.0.0-rc.4",
38
38
  "@storybook/global": "^5.0.0",
39
- "@storybook/preview-api": "8.0.0-rc.2",
40
- "@storybook/types": "8.0.0-rc.2",
39
+ "@storybook/preview-api": "8.0.0-rc.4",
40
+ "@storybook/types": "8.0.0-rc.4",
41
41
  "babel-loader": "9.1.3",
42
42
  "find-up": "^5.0.0",
43
43
  "ts-dedent": "^2.0.0"
@@ -1,6 +1,7 @@
1
1
  import { hbs } from 'ember-cli-htmlbars';
2
2
  import { action } from '@storybook/addon-actions';
3
3
  import { linkTo } from '@storybook/addon-links';
4
+ import { fn } from '@storybook/test';
4
5
 
5
6
  // More on how to set up stories at: https://storybook.js.org/docs/writing-stories
6
7
  export default {
@@ -14,20 +15,19 @@ export default {
14
15
  },
15
16
  // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/ember/writing-docs/autodocs
16
17
  tags: ['autodocs'],
18
+ args: { onClick: fn() },
17
19
  };
18
20
 
19
21
  // More on writing stories with args: https://storybook.js.org/docs/writing-stories/args
20
22
  export const Text = {
21
23
  args: {
22
24
  label: 'Button',
23
- onClick: action('onClick'),
24
25
  },
25
26
  };
26
27
 
27
28
  export const Emoji = {
28
29
  args: {
29
30
  label: '😀 😎 👍 💯',
30
- onClick: action('onClick'),
31
31
  },
32
32
  };
33
33