Skip to content

Commit 34e7746

Browse files
authored
build(deps): Bumped to Storybook v9 (#1667)
1 parent 0f89d75 commit 34e7746

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+201
-826
lines changed

.storybook/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const config: StorybookConfig = {
55
addons: [
66
'@storybook/addon-a11y',
77
'@storybook/addon-links',
8-
'@storybook/addon-essentials',
8+
'@storybook/addon-docs',
99
],
1010
core: {
1111
builder: '@storybook/builder-vite',

.storybook/manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { addons } from '@storybook/manager-api';
1+
import { addons } from 'storybook/manager-api';
22

33
addons.setConfig({
44
enableShortcuts: false,

.storybook/preview.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,8 @@
22

33
import { type CSSResult, html } from 'lit';
44
import { configureTheme } from '../src/theming/config';
5-
import type { Decorator, Preview } from '@storybook/web-components';
6-
import { withActions } from '@storybook/addon-actions/decorator';
7-
import { configureActions } from '@storybook/addon-actions';
8-
9-
configureActions({
10-
clearOnStoryChange: true,
11-
limit: 5,
12-
});
5+
import type { Decorator, Preview } from '@storybook/web-components-vite';
6+
import { withActions } from 'storybook/actions/decorator';
137

148
type ThemeImport = { styles: CSSResult };
159

0 commit comments

Comments
 (0)