You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tools/preview/README.md
+137-1Lines changed: 137 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ Storybook leverages webpack for bundling and we have updated it with the followi
57
57
}
58
58
```
59
59
60
-
We are leaning on Storybook's `@storybook/web-components` framework configuration as our stories rely on lit-html for dynamic attribute assignment.
60
+
We are leaning on Storybook's `@storybook/web-components-webpack5` framework configuration as our stories rely on lit-html for dynamic attribute assignment.
61
61
62
62
## Add-ons
63
63
@@ -338,3 +338,139 @@ You can pass any supported [chromatic flag](https://www.chromatic.com/docs/cli#c
338
338
Runs will generate a JUnit XML file with build results (`chromatic-build-{buildNumber}.xml`). This file should not be committed and is part of the .gitignore rules.
339
339
340
340
Running without publishing to Chromatic? Add the `--dry-run` flag. Need more information to debug a run? Try the `--diagnostics` flag (writes process context information to `chromatic-diagnostics.json`).
341
+
342
+
343
+
344
+
# Migration to Storybook 7.0(Draft)
345
+
346
+
347
+
## Updates:
348
+
---
349
+
`*` Added support for handler actions with ```withActions``` on each stories which have action handlers.
350
+
351
+
Example:
352
+
```js
353
+
import globalThis from 'global';
354
+
+ import { withActions } from '@storybook/addon-actions/decorator';
0 commit comments