Skip to content

Commit

Permalink
Upgrade storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett committed May 6, 2022
1 parent be50de0 commit 512927e
Show file tree
Hide file tree
Showing 5 changed files with 939 additions and 514 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {themes} from '@storybook/theming';
import addons from '@storybook/addons';
import {FORCE_RE_RENDER} from '@storybook/core-events';
// temporary until we have a better place to grab it from
import * as packageJSON from '../packages/@adobe/react-spectrum/package.json';
import * as packageJSON from '../../../packages/@adobe/react-spectrum/package.json';

// Automatically switch light/dark theme based on system pref.
addons.register('theme-switcher', api => {
Expand Down
2 changes: 1 addition & 1 deletion .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = {
'storybook-dark-mode',
'./custom-addons/provider/register',
'./custom-addons/descriptions/register',
'./theme.register'
'./custom-addons/theme/register'
],
typescript: {
check: false,
Expand Down
2 changes: 1 addition & 1 deletion .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {withProviderSwitcher} from './custom-addons/provider';
// decorator order matters, the last one will be the outer most

configureActions({
depth: 1
depth: 10
});

export const parameters = {
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@
"@parcel/transformer-typescript-types": "^2.2.1",
"@spectrum-css/component-builder": "^1.0.0",
"@spectrum-css/vars": "^2.3.0",
"@storybook/addon-a11y": "^6.1.10",
"@storybook/addon-actions": "^6.1.10",
"@storybook/addon-knobs": "^6.1.10",
"@storybook/addon-links": "^6.1.10",
"@storybook/addons": "^6.1.10",
"@storybook/api": "^6.1.10",
"@storybook/components": "^6.1.10",
"@storybook/react": "^6.4.22",
"@storybook/addon-a11y": "^6.5.0-beta.6",
"@storybook/addon-actions": "^6.5.0-beta.6",
"@storybook/addon-knobs": "^6.4.0",
"@storybook/addon-links": "^6.5.0-beta.6",
"@storybook/addons": "^6.5.0-beta.6",
"@storybook/api": "^6.5.0-beta.6",
"@storybook/components": "^6.5.0-beta.6",
"@storybook/react": "^6.5.0-beta.6",
"@testing-library/dom": "^8.0.0",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.2.0",
Expand Down Expand Up @@ -161,7 +161,7 @@
"rimraf": "^2.6.3",
"sharp": "^0.29.3",
"sinon": "^7.3.1",
"storybook-dark-mode": "^1.0.3",
"storybook-dark-mode": "^1.1.1-canary.120.3843.0",
"style-loader": "^0.23.1",
"tempy": "^0.5.0",
"typescript": "^4.6.0",
Expand Down
Loading

0 comments on commit 512927e

Please sign in to comment.