@aurelia/storybook 1.0.1 → 1.0.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.
@@ -14,21 +14,25 @@
14
14
  "aurelia": "^2.0.0-beta.24"
15
15
  },
16
16
  "devDependencies": {
17
- "@aurelia/storybook": "file:../..",
17
+ "@aurelia/storybook": "^1.0.2",
18
18
  "@aurelia/testing": "^2.0.0-beta.24",
19
19
  "@aurelia/vite-plugin": "^2.0.0-beta.24",
20
20
  "@storybook/addon-actions": "^9.0.0",
21
21
  "@storybook/addon-links": "^9.0.0",
22
22
  "@storybook/builder-vite": "^9.0.0",
23
23
  "@storybook/test": "^9.0.0-alpha.2",
24
- "storybook": "^9.0.0",
25
24
  "@tailwindcss/vite": "^4.0.0",
26
25
  "@types/node": "^22.10.2",
26
+ "@types/react": "^19.1.8",
27
+ "@types/react-dom": "^19.1.6",
27
28
  "eslint": "^9.17.0",
28
29
  "globals": "^15.14.0",
29
30
  "jsdom": "^25.0.1",
30
31
  "node-html-parser": "^7.0.1",
32
+ "react": "^19.1.0",
33
+ "react-dom": "^19.1.0",
31
34
  "sass": "^1.83.4",
35
+ "storybook": "^9.0.0",
32
36
  "stylelint": "^16.12.0",
33
37
  "stylelint-config-standard": "^36.0.1",
34
38
  "stylus": "^0.64.0",
@@ -1,5 +1,5 @@
1
1
  import { HelloWorld } from '../hello-world';
2
- import { action } from '@storybook/addon-actions';
2
+ import { fn } from '@storybook/test';
3
3
  import { userEvent, within } from '@storybook/test';
4
4
 
5
5
  const meta = {
@@ -18,15 +18,15 @@ export default meta;
18
18
 
19
19
  export const DefaultHelloWorld = {
20
20
  args: {
21
- message: "Hello from Storybook!",
22
- onIncrement: action('increment')
21
+ message: "Hello frof",
22
+ onIncrement: fn()
23
23
  }
24
24
  };
25
25
 
26
26
  export const InteractiveHelloWorld = {
27
27
  args: {
28
- message: "Try clicking the button!",
29
- onIncrement: action('increment')
28
+ message: "fsdfdddsdsdsdsdddddfdddd",
29
+ onIncrement: fn()
30
30
  },
31
31
  play: async ({ canvasElement }: { canvasElement: HTMLElement }) => {
32
32
  const canvas = within(canvasElement);
@@ -49,6 +49,6 @@ export const WithCustomTemplate = {
49
49
  template: `<hello-world message.bind="message">Click me!</hello-world>`
50
50
  }),
51
51
  args: {
52
- message: "This is a custom message"
52
+ message: "This is a custom messageddd"
53
53
  }
54
54
  };
@@ -1,7 +1,6 @@
1
1
  const config = {
2
2
  stories: ["../src/**/*.mdx", "../src/**/*.stories.@(js|jsx|mjs|ts|tsx)"],
3
3
  addons: [
4
- "@storybook/addon-webpack5-compiler-swc",
5
4
  "@storybook/addon-links"
6
5
  ],
7
6
  framework: {