Skip to content

Commit

Permalink
chore: update storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
stafyniaksacha committed Oct 19, 2023
1 parent 511a376 commit 2b0dd1f
Show file tree
Hide file tree
Showing 7 changed files with 1,588 additions and 2,501 deletions.
2 changes: 1 addition & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const config: StorybookConfig = {
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-styling',
'@storybook/addon-themes',
],
framework: {
name: '@storybook/web-components-vite',
Expand Down
4 changes: 4 additions & 0 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@
.sidebar-header a {
max-width: 180px !important;
}

.dark .docs-story {
background: #020617; /* bg-muted-950 */
}
</style>
8 changes: 6 additions & 2 deletions .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Preview } from '@storybook/web-components'
import { withThemeByClassName } from '@storybook/addon-styling'
import { withThemeByClassName } from '@storybook/addon-themes'
import './tailwind.css'

const preview: Preview = {
Expand All @@ -12,8 +12,12 @@ const preview: Preview = {
},
},
backgrounds: {
default: 'white',
default: 'default',
values: [
{
name: 'default',
value: 'transparent',
},
{
name: 'white',
value: '#ffffff',
Expand Down
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,40 +71,40 @@
"tailwindcss": "^3.3.3"
},
"devDependencies": {
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@commitlint/cli": "^17.8.0",
"@commitlint/config-conventional": "^17.8.0",
"@open-wc/lit-helpers": "0.6.0",
"@storybook/addon-essentials": "^7.3.1",
"@storybook/addon-links": "^7.3.1",
"@storybook/addon-styling": "^1.3.6",
"@storybook/blocks": "^7.3.1",
"@storybook/web-components": "^7.3.1",
"@storybook/web-components-vite": "^7.3.1",
"@storybook/addon-essentials": "^7.5.0",
"@storybook/addon-links": "^7.5.0",
"@storybook/addon-themes": "^7.5.0",
"@storybook/blocks": "^7.5.0",
"@storybook/web-components": "^7.5.0",
"@storybook/web-components-vite": "^7.5.0",
"@types/node": "18.15.11",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@vitest/coverage-v8": "^0.34.3",
"@vitest/ui": "^0.34.3",
"autoprefixer": "^10.4.15",
"commitlint": "^17.7.1",
"eslint": "8.48.0",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@vitest/coverage-v8": "^0.34.6",
"@vitest/ui": "^0.34.6",
"autoprefixer": "^10.4.16",
"commitlint": "^17.8.0",
"eslint": "8.51.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-storybook": "^0.6.13",
"eslint-plugin-storybook": "^0.6.15",
"eslint-plugin-tailwindcss": "3.13.0",
"eslint-plugin-unicorn": "^48.0.1",
"jsdom": "^22.1.0",
"lint-staged": "^14.0.1",
"lit": "^2.8.0",
"lint-staged": "^15.0.1",
"lit": "^3.0.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.31",
"prettier": "^3.0.2",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"simple-git-hooks": "^2.9.0",
"standard-version": "^9.5.0",
"storybook": "^7.3.1",
"storybook": "^7.5.0",
"typescript": "^5.2.2",
"unbuild": "^2.0.0",
"vitest": "^0.34.3",
"vitest": "^0.34.6",
"vitest-axe": "1.0.0-pre.2"
},
"simple-git-hooks": {
Expand Down
Loading

0 comments on commit 2b0dd1f

Please sign in to comment.