File tree Expand file tree Collapse file tree 4 files changed +258
-130
lines changed
Expand file tree Collapse file tree 4 files changed +258
-130
lines changed Original file line number Diff line number Diff line change 11module . exports = {
22 framework : "@storybook/react" ,
33 core : { builder : "webpack5" } ,
4- features : { babelModeV7 : true } ,
4+ // storyStoreV7 removes the circular dependency issue with Webpack 5
5+ // So, we added ThemeProvider in preview.jsx and so src/theme should work for HMR
6+ features : { storyStoreV7 : true , babelModeV7 : true } ,
57 stories : [ "../src/**/*.stories.@(js|jsx|ts|tsx)" ] ,
68 addons : [
79 "storybook-addon-preview" ,
8- "storybook-addon-react-docgen" ,
910 "@storybook/addon-essentials" ,
1011 "@storybook/addon-a11y" ,
1112 {
Original file line number Diff line number Diff line change 11import React from "react" ;
22import { kebabCase } from "lodash" ;
3- import { addDecorator } from "@storybook/react" ;
4- import { withPropsTable } from "storybook-addon-react-docgen" ;
53
64export const parameters = {
75 actions : { argTypesRegex : "^on[A-Z].*" } ,
@@ -21,5 +19,3 @@ export const decorators = [
2119 return < Story /> ;
2220 } ,
2321] ;
24-
25- addDecorator ( withPropsTable ) ;
Original file line number Diff line number Diff line change 195195 "react-test-renderer" : " 18.2.0" ,
196196 "react-transition-group" : " 4.4.2" ,
197197 "react-virtual" : " 2.10.4" ,
198- "release-it" : " 15.1.0 " ,
198+ "release-it" : " 15.1.1 " ,
199199 "rimraf" : " 3.0.2" ,
200200 "sort-package-json" : " 1.57.0" ,
201201 "storybook-addon-preview" : " 2.2.0" ,
202- "storybook-addon-react-docgen" : " 1.2.42" ,
203202 "strip-comments" : " 2.0.1" ,
204203 "tailwindcss" : " 3.1.4" ,
205204 "ts-jest" : " 28.0.5" ,
You can’t perform that action at this time.
0 commit comments