Skip to content

Commit

Permalink
Update Storybook to 6.5
Browse files Browse the repository at this point in the history
  • Loading branch information
clintandrewhall committed Aug 24, 2022
1 parent 1e82d04 commit 9aeee2b
Show file tree
Hide file tree
Showing 5 changed files with 1,027 additions and 679 deletions.
35 changes: 18 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@
"chroma-js": "^1.4.1",
"classnames": "2.2.6",
"color": "^4.2.3",
"colorette": "^1.2.2",
"commander": "^4.1.1",
"compare-versions": "3.5.1",
"constate": "^3.3.2",
Expand Down Expand Up @@ -690,25 +691,25 @@
"@octokit/rest": "^16.35.0",
"@openpgp/web-stream-tools": "^0.0.10",
"@percy/agent": "^0.28.6",
"@storybook/addon-a11y": "^6.4.22",
"@storybook/addon-actions": "^6.4.22",
"@storybook/addon-controls": "^6.4.22",
"@storybook/addon-docs": "^6.4.22",
"@storybook/addon-essentials": "^6.4.22",
"@storybook/addon-a11y": "^6.5.10",
"@storybook/addon-actions": "^6.5.10",
"@storybook/addon-controls": "^6.5.10",
"@storybook/addon-docs": "^6.5.10",
"@storybook/addon-essentials": "^6.5.10",
"@storybook/addon-knobs": "^6.4.0",
"@storybook/addon-storyshots": "^6.4.22",
"@storybook/addons": "^6.4.22",
"@storybook/api": "^6.4.22",
"@storybook/client-api": "^6.4.22",
"@storybook/components": "^6.4.22",
"@storybook/core": "^6.4.22",
"@storybook/core-common": "^6.4.22",
"@storybook/core-events": "^6.4.22",
"@storybook/node-logger": "^6.4.22",
"@storybook/preview-web": "^6.4.22",
"@storybook/react": "^6.4.22",
"@storybook/addon-storyshots": "^6.5.10",
"@storybook/addons": "^6.5.10",
"@storybook/api": "^6.5.10",
"@storybook/client-api": "^6.5.10",
"@storybook/components": "^6.5.10",
"@storybook/core": "^6.5.10",
"@storybook/core-common": "^6.5.10",
"@storybook/core-events": "^6.5.10",
"@storybook/node-logger": "^6.5.10",
"@storybook/preview-web": "^6.5.10",
"@storybook/react": "^6.5.10",
"@storybook/testing-react": "^1.2.4",
"@storybook/theming": "^6.4.22",
"@storybook/theming": "^6.5.10",
"@testing-library/dom": "^8.12.0",
"@testing-library/jest-dom": "^5.16.3",
"@testing-library/react": "^12.1.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/kbn-storybook/src/lib/register.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ addons.setConfig({
showPanel: false,
isFullscreen: false,
panelPosition: 'bottom',
isToolshown: true,
showToolbar: true,
});

registerThemeSwitcherAddon();
1 change: 0 additions & 1 deletion src/plugins/discover/.storybook/discover.webpack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@ import { defaultConfig, StorybookConfig } from '@kbn/storybook';
export const discoverStorybookConfig: StorybookConfig = {
...defaultConfig,
stories: ['../**/*.stories.tsx'],
addons: [...(defaultConfig.addons || []), './addon/target/register'],
};
2 changes: 1 addition & 1 deletion x-pack/plugins/canvas/storybook/addon/src/register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ addons.setConfig({
showPanel: true,
isFullscreen: false,
panelPosition: 'bottom',
isToolshown: true,
showToolbar: true,
selectedPanel: PANEL_ID,
});
Loading

0 comments on commit 9aeee2b

Please sign in to comment.