Commit 764b0d8 authored and committed Oct 24, 2019
1 parent 221c148 commit 764b0d8 Copy full SHA for 764b0d8
File tree 14 files changed +70
-74
lines changed
14 files changed +70
-74
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,6 @@ function (_React$Component) {
56
56
ErrorBox . propTypes = {
57
57
children : _react [ "default" ] . PropTypes . node . isRequired
58
58
} ;
59
- var _default = ErrorBox ;
60
- exports [ "default" ] = _default ;
61
59
ErrorBox . __docgenInfo = {
62
60
"description" : "" ,
63
61
"methods" : [ ] ,
@@ -72,11 +70,13 @@ ErrorBox.__docgenInfo = {
72
70
}
73
71
}
74
72
} ;
73
+ var _default = ErrorBox ;
74
+ exports [ "default" ] = _default ;
75
75
76
76
if ( typeof STORYBOOK_REACT_CLASSES !== "undefined" ) {
77
77
STORYBOOK_REACT_CLASSES [ "test/fixtures/case2/actual.js" ] = {
78
78
name : "ErrorBox" ,
79
79
docgenInfo : ErrorBox . __docgenInfo ,
80
80
path : "test/fixtures/case2/actual.js"
81
81
} ;
82
- }
82
+ }
Original file line number Diff line number Diff line change @@ -25,17 +25,6 @@ Button.propTypes = {
25
25
onClick : _react [ "default" ] . PropTypes . func ,
26
26
style : _react [ "default" ] . PropTypes . object
27
27
} ;
28
- var _default = Button ;
29
- exports [ "default" ] = _default ;
30
- var A ;
31
- A = [ 1 , 2 , 2 , 2 ] ;
32
-
33
- function abc ( ) {
34
- var c = function cef ( ) {
35
- A = 'str' ;
36
- } ;
37
- }
38
-
39
28
Button . __docgenInfo = {
40
29
"description" : "" ,
41
30
"methods" : [ ] ,
@@ -68,6 +57,16 @@ Button.__docgenInfo = {
68
57
}
69
58
}
70
59
} ;
60
+ var _default = Button ;
61
+ exports [ "default" ] = _default ;
62
+ var A ;
63
+ A = [ 1 , 2 , 2 , 2 ] ;
64
+
65
+ function abc ( ) {
66
+ var c = function cef ( ) {
67
+ A = 'str' ;
68
+ } ;
69
+ }
71
70
72
71
if ( typeof STORYBOOK_REACT_CLASSES !== "undefined" ) {
73
72
STORYBOOK_REACT_CLASSES [ "test/fixtures/case3/actual.js" ] = {
Original file line number Diff line number Diff line change @@ -25,17 +25,6 @@ Button.propTypes = {
25
25
onClick : _react [ "default" ] . PropTypes . func ,
26
26
style : _react [ "default" ] . PropTypes . object
27
27
} ;
28
- var _default = Button ;
29
- exports [ "default" ] = _default ;
30
- var A ;
31
- A = [ 1 , 2 , 2 , 2 ] ;
32
-
33
- function abc ( ) {
34
- var c = function cef ( ) {
35
- A = 'str' ;
36
- } ;
37
- }
38
-
39
28
Button . __docgenInfo = {
40
29
"description" : "" ,
41
30
"methods" : [ ] ,
@@ -68,11 +57,21 @@ Button.__docgenInfo = {
68
57
}
69
58
}
70
59
} ;
60
+ var _default = Button ;
61
+ exports [ "default" ] = _default ;
62
+ var A ;
63
+ A = [ 1 , 2 , 2 , 2 ] ;
64
+
65
+ function abc ( ) {
66
+ var c = function cef ( ) {
67
+ A = 'str' ;
68
+ } ;
69
+ }
71
70
72
71
if ( typeof STORYBOOK_REACT_CLASSES !== "undefined" ) {
73
72
STORYBOOK_REACT_CLASSES [ "test/fixtures/case4/actual.js" ] = {
74
73
name : "Button" ,
75
74
docgenInfo : Button . __docgenInfo ,
76
75
path : "test/fixtures/case4/actual.js"
77
76
} ;
78
- }
77
+ }
Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ var First = function First(_ref) {
23
23
First . propTypes = {
24
24
children : _react . PropTypes . node
25
25
} ;
26
- var _default = First ;
27
- exports [ "default" ] = _default ;
28
26
First . __docgenInfo = {
29
27
"description" : "" ,
30
28
"methods" : [ ] ,
@@ -39,6 +37,8 @@ First.__docgenInfo = {
39
37
}
40
38
}
41
39
} ;
40
+ var _default = First ;
41
+ exports [ "default" ] = _default ;
42
42
43
43
if ( typeof STORYBOOK_REACT_CLASSES !== "undefined" ) {
44
44
STORYBOOK_REACT_CLASSES [ "test/fixtures/case5/actual.js" ] = {
Original file line number Diff line number Diff line change @@ -66,13 +66,13 @@ function (_Component) {
66
66
return App ;
67
67
} ( _react . Component ) ;
68
68
69
- var _default = App ;
70
- exports [ "default" ] = _default ;
71
69
App . __docgenInfo = {
72
70
"description" : "" ,
73
71
"methods" : [ ] ,
74
72
"displayName" : "App"
75
73
} ;
74
+ var _default = App ;
75
+ exports [ "default" ] = _default ;
76
76
77
77
if ( typeof STORYBOOK_REACT_CLASSES !== "undefined" ) {
78
78
STORYBOOK_REACT_CLASSES [ "test/fixtures/example/actual.js" ] = {
Original file line number Diff line number Diff line change @@ -66,8 +66,6 @@ function (_React$Component) {
66
66
return FlowTypeButton ;
67
67
} ( _react [ "default" ] . Component ) ;
68
68
69
- var _default = FlowTypeButton ;
70
- exports [ "default" ] = _default ;
71
69
FlowTypeButton . __docgenInfo = {
72
70
"description" : "" ,
73
71
"methods" : [ {
@@ -107,6 +105,8 @@ FlowTypeButton.__docgenInfo = {
107
105
}
108
106
}
109
107
} ;
108
+ var _default = FlowTypeButton ;
109
+ exports [ "default" ] = _default ;
110
110
111
111
if ( typeof STORYBOOK_REACT_CLASSES !== "undefined" ) {
112
112
STORYBOOK_REACT_CLASSES [ "test/fixtures/flowType/actual.js" ] = {
Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ function FuncDeclaration(_ref) {
23
23
FuncDeclaration . propTypes = {
24
24
children : _react . PropTypes . node
25
25
} ;
26
- var _default = FuncDeclaration ;
27
- exports [ "default" ] = _default ;
28
26
FuncDeclaration . __docgenInfo = {
29
27
"description" : "" ,
30
28
"methods" : [ ] ,
@@ -39,6 +37,8 @@ FuncDeclaration.__docgenInfo = {
39
37
}
40
38
}
41
39
} ;
40
+ var _default = FuncDeclaration ;
41
+ exports [ "default" ] = _default ;
42
42
43
43
if ( typeof STORYBOOK_REACT_CLASSES !== "undefined" ) {
44
44
STORYBOOK_REACT_CLASSES [ "test/fixtures/functionDeclaration/actual.js" ] = {
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ TestComponent.propTypes = {
30
30
/** Called on click */
31
31
onClick : _propTypes [ "default" ] . func
32
32
} ;
33
-
34
33
TestComponent . __docgenInfo = {
35
34
"description" : "" ,
36
35
"methods" : [ ] ,
@@ -63,4 +62,4 @@ if (typeof STORYBOOK_REACT_CLASSES !== "undefined") {
63
62
docgenInfo : TestComponent . __docgenInfo ,
64
63
path : "test/fixtures/hoc-function/actual.js"
65
64
} ;
66
- }
65
+ }
Original file line number Diff line number Diff line change @@ -59,10 +59,6 @@ Component.propTypes = {
59
59
/** Fancy styles in here */
60
60
style : React . PropTypes . object
61
61
} ;
62
-
63
- var _default = withHoc ( ) ( deeperHoc ( Component ) ) ;
64
-
65
- exports [ "default" ] = _default ;
66
62
Component . __docgenInfo = {
67
63
"description" : "Super tiny component" ,
68
64
"methods" : [ ] ,
@@ -95,10 +91,14 @@ Component.__docgenInfo = {
95
91
}
96
92
} ;
97
93
94
+ var _default = withHoc ( ) ( deeperHoc ( Component ) ) ;
95
+
96
+ exports [ "default" ] = _default ;
97
+
98
98
if ( typeof STORYBOOK_REACT_CLASSES !== "undefined" ) {
99
99
STORYBOOK_REACT_CLASSES [ "test/fixtures/hoc-multiple/actual.js" ] = {
100
100
name : "Component" ,
101
101
docgenInfo : Component . __docgenInfo ,
102
102
path : "test/fixtures/hoc-multiple/actual.js"
103
103
} ;
104
- }
104
+ }
Original file line number Diff line number Diff line change @@ -59,10 +59,6 @@ Component.propTypes = {
59
59
/** Fancy styles in here */
60
60
style : React . PropTypes . object
61
61
} ;
62
-
63
- var _default = withHoc ( Component ) ;
64
-
65
- exports [ "default" ] = _default ;
66
62
Component . __docgenInfo = {
67
63
"description" : "Super tiny component" ,
68
64
"methods" : [ ] ,
@@ -95,10 +91,14 @@ Component.__docgenInfo = {
95
91
}
96
92
} ;
97
93
94
+ var _default = withHoc ( Component ) ;
95
+
96
+ exports [ "default" ] = _default ;
97
+
98
98
if ( typeof STORYBOOK_REACT_CLASSES !== "undefined" ) {
99
99
STORYBOOK_REACT_CLASSES [ "test/fixtures/hoc/actual.js" ] = {
100
100
name : "Component" ,
101
101
docgenInfo : Component . __docgenInfo ,
102
102
path : "test/fixtures/hoc/actual.js"
103
103
} ;
104
- }
104
+ }
Original file line number Diff line number Diff line change @@ -56,6 +56,20 @@ function (_React$Component) {
56
56
ErrorBox . propTypes = {
57
57
children : _react [ "default" ] . PropTypes . node . isRequired
58
58
} ;
59
+ ErrorBox . __docgenInfo = {
60
+ "description" : "" ,
61
+ "methods" : [ ] ,
62
+ "displayName" : "ErrorBox" ,
63
+ "props" : {
64
+ "children" : {
65
+ "type" : {
66
+ "name" : "node"
67
+ } ,
68
+ "required" : true ,
69
+ "description" : ""
70
+ }
71
+ }
72
+ } ;
59
73
var _default = ErrorBox ;
60
74
exports [ "default" ] = _default ;
61
75
@@ -87,12 +101,12 @@ exports.ErrorBox2 = ErrorBox2;
87
101
ErrorBox2 . propTypes = {
88
102
children2 : _react [ "default" ] . PropTypes . node . isRequired
89
103
} ;
90
- ErrorBox . __docgenInfo = {
104
+ ErrorBox2 . __docgenInfo = {
91
105
"description" : "" ,
92
106
"methods" : [ ] ,
93
- "displayName" : "ErrorBox " ,
107
+ "displayName" : "ErrorBox2 " ,
94
108
"props" : {
95
- "children " : {
109
+ "children2 " : {
96
110
"type" : {
97
111
"name" : "node"
98
112
} ,
@@ -110,25 +124,10 @@ if (typeof STORYBOOK_REACT_CLASSES !== "undefined") {
110
124
} ;
111
125
}
112
126
113
- ErrorBox2 . __docgenInfo = {
114
- "description" : "" ,
115
- "methods" : [ ] ,
116
- "displayName" : "ErrorBox2" ,
117
- "props" : {
118
- "children2" : {
119
- "type" : {
120
- "name" : "node"
121
- } ,
122
- "required" : true ,
123
- "description" : ""
124
- }
125
- }
126
- } ;
127
-
128
127
if ( typeof STORYBOOK_REACT_CLASSES !== "undefined" ) {
129
128
STORYBOOK_REACT_CLASSES [ "test/fixtures/multiple-exports/actual.js" ] = {
130
129
name : "ErrorBox2" ,
131
130
docgenInfo : ErrorBox2 . __docgenInfo ,
132
131
path : "test/fixtures/multiple-exports/actual.js"
133
132
} ;
134
- }
133
+ }
Original file line number Diff line number Diff line change @@ -137,8 +137,6 @@ Breadcrumb.defaultProps = {
137
137
className : '' ,
138
138
foreColor : ''
139
139
} ;
140
- var _default = Breadcrumb ;
141
- exports [ "default" ] = _default ;
142
140
Breadcrumb . __docgenInfo = {
143
141
"description" : "" ,
144
142
"methods" : [ ] ,
@@ -263,11 +261,13 @@ Breadcrumb.__docgenInfo = {
263
261
}
264
262
}
265
263
} ;
264
+ var _default = Breadcrumb ;
265
+ exports [ "default" ] = _default ;
266
266
267
267
if ( typeof STORYBOOK_REACT_CLASSES !== "undefined" ) {
268
268
STORYBOOK_REACT_CLASSES [ "test/fixtures/multipleExports2/actual.js" ] = {
269
269
name : "Breadcrumb" ,
270
270
docgenInfo : Breadcrumb . __docgenInfo ,
271
271
path : "test/fixtures/multipleExports2/actual.js"
272
272
} ;
273
- }
273
+ }
Original file line number Diff line number Diff line change @@ -32,8 +32,6 @@ Kitten.defaultProps = {
32
32
isWide : false ,
33
33
isLong : false
34
34
} ;
35
- var _default = Kitten ;
36
- exports [ "default" ] = _default ;
37
35
Kitten . __docgenInfo = {
38
36
"description" : "" ,
39
37
"methods" : [ ] ,
@@ -63,11 +61,13 @@ Kitten.__docgenInfo = {
63
61
}
64
62
}
65
63
} ;
64
+ var _default = Kitten ;
65
+ exports [ "default" ] = _default ;
66
66
67
67
if ( typeof STORYBOOK_REACT_CLASSES !== "undefined" ) {
68
68
STORYBOOK_REACT_CLASSES [ "test/fixtures/reactCreateElement/actual.js" ] = {
69
69
name : "Kitten" ,
70
70
docgenInfo : Kitten . __docgenInfo ,
71
71
path : "test/fixtures/reactCreateElement/actual.js"
72
72
} ;
73
- }
73
+ }
Original file line number Diff line number Diff line change @@ -57,8 +57,6 @@ ErrorBox.propTypes = {
57
57
/** @deprecated This is the description for prop */
58
58
deprecatedProp : _react [ "default" ] . PropTypes . number
59
59
} ;
60
- var _default = ErrorBox ;
61
- exports [ "default" ] = _default ;
62
60
ErrorBox . __docgenInfo = {
63
61
"description" : "" ,
64
62
"methods" : [ ] ,
@@ -74,11 +72,13 @@ ErrorBox.__docgenInfo = {
74
72
}
75
73
}
76
74
} ;
75
+ var _default = ErrorBox ;
76
+ exports [ "default" ] = _default ;
77
77
78
78
if ( typeof STORYBOOK_REACT_CLASSES !== "undefined" ) {
79
79
STORYBOOK_REACT_CLASSES [ "test/fixtures/with-custom-handlers/actual.js" ] = {
80
80
name : "ErrorBox" ,
81
81
docgenInfo : ErrorBox . __docgenInfo ,
82
82
path : "test/fixtures/with-custom-handlers/actual.js"
83
83
} ;
84
- }
84
+ }
You can’t perform that action at this time.
0 commit comments