Skip to content

Commit

Permalink
chore: bump to storybook 8.1 (#496)
Browse files Browse the repository at this point in the history
  • Loading branch information
pspaczek authored May 27, 2024
1 parent 9ff7745 commit 2041f86
Show file tree
Hide file tree
Showing 25 changed files with 1,603 additions and 758 deletions.
12 changes: 8 additions & 4 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,21 @@ const config: StorybookConfig = {
},
staticDirs: ['../public'],
stories: ['../docs/**/*.mdx', '../docs/**/*.stories.@(js|jsx|ts|tsx)', '../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: ['@storybook/addon-links', '@storybook/addon-essentials', '@storybook/addon-a11y', '@storybook/addon-mdx-gfm'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-a11y',
'@storybook/addon-mdx-gfm',
'@chromatic-com/storybook'
],
framework: {
name: '@storybook/vue3-vite',
options: {}
},
core: {
disableTelemetry: true
},
docs: {
autodocs: true
},
docs: {},
refs: {
'@storybook/design-system': {
disable: true
Expand Down
2 changes: 2 additions & 0 deletions .storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ const preview: Preview = {
source: { code: null } ,
},
},

tags: ['autodocs']
}

export default preview
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export default {
initValue: '12px 32px',
},
decorators: [ withUseLogicalMixinCode ],
tags: [ '!autodocs' ],
};

const Template = (args) => ({
Expand Down
1 change: 1 addition & 0 deletions docs/transition/transitions.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const transitionDecorator = (story) => ({
const meta = {
title: 'Utilities/Transition',
component: Transition,
tags: [ '!autodocs' ],
args: { name: 'fade' },
argTypes: { name: { table: { disable: true } } },
decorators: [ transitionDecorator ],
Expand Down
29 changes: 15 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,24 @@
"vue": "^3.3.4"
},
"devDependencies": {
"@chromatic-com/storybook": "^1",
"@commitlint/cli": "^18.2.0",
"@commitlint/config-conventional": "^18.1.0",
"@storybook/addon-a11y": "^8.0.0",
"@storybook/addon-actions": "^8.0.0",
"@storybook/addon-backgrounds": "^8.0.0",
"@storybook/addon-essentials": "^8.0.0",
"@storybook/addon-links": "^8.0.0",
"@storybook/addon-mdx-gfm": "^8.0.0",
"@storybook/addon-a11y": "^8.1.3",
"@storybook/addon-actions": "^8.1.3",
"@storybook/addon-backgrounds": "^8.1.3",
"@storybook/addon-essentials": "^8.1.3",
"@storybook/addon-links": "^8.1.3",
"@storybook/addon-mdx-gfm": "^8.1.3",
"@storybook/api": "^7.6.17",
"@storybook/blocks": "^8.0.0",
"@storybook/components": "^8.0.0",
"@storybook/blocks": "^8.1.3",
"@storybook/components": "^8.1.3",
"@storybook/design-system": "^7.15.17",
"@storybook/global": "^5.0.0",
"@storybook/preview-api": "^8.0.0",
"@storybook/theming": "^8.0.0",
"@storybook/vue3": "^8.0.0",
"@storybook/vue3-vite": "^8.0.0",
"@storybook/preview-api": "^8.1.3",
"@storybook/theming": "^8.1.3",
"@storybook/vue3": "^8.1.3",
"@storybook/vue3-vite": "^8.1.3",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"@vitejs/plugin-vue": "^4.0.0",
Expand Down Expand Up @@ -91,7 +92,7 @@
"react-dom": "18.2.0",
"react-string-replace": "^1.1.0",
"react-syntax-highlighter": "^15.5.0",
"storybook": "^8.0.0",
"storybook": "^8.1.3",
"stylelint": "^15.11.0",
"stylelint-config-idiomatic-order": "^10.0.0",
"stylelint-config-recommended-scss": "^13.0.0",
Expand All @@ -111,4 +112,4 @@
"node": ">=16.13.2",
"pnpm": ">=6.32"
}
}
}
Loading

0 comments on commit 2041f86

Please sign in to comment.