Skip to content

Commit b8ccd44

Browse files
authored
Merge pull request #2 from react-theming/hotfix
Temporary downgrade react-scripts and storybook packages
2 parents 334fe17 + 59e063a commit b8ccd44

File tree

3 files changed

+2545
-3504
lines changed

3 files changed

+2545
-3504
lines changed

package.json

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"prop-types": "^15.6.2",
88
"react": "^16.7.0",
99
"react-dom": "^16.7.0",
10-
"react-scripts": "2.1.3"
10+
"react-scripts": "1.1.5"
1111
},
1212
"scripts": {
1313
"start": "react-scripts start",
@@ -19,12 +19,19 @@
1919
},
2020
"devDependencies": {
2121
"@babel/core": "^7.0.0",
22-
"@storybook/addon-actions": "4.0.9",
23-
"@storybook/addon-links": "4.0.9",
24-
"@storybook/addon-storyshots": "4.0.9",
25-
"@storybook/addons": "4.0.9",
26-
"@storybook/react": "4.0.9",
22+
"@storybook/addon-actions": "4.0.12",
23+
"@storybook/addon-links": "4.0.12",
24+
"@storybook/addon-storyshots": "4.0.12",
25+
"@storybook/addons": "4.0.12",
26+
"@storybook/react": "4.0.12",
2727
"react-test-renderer": "^16.7.0",
28-
"storybook-addon-material-ui": "0.9.0-alpha.16"
29-
}
28+
"storybook-addon-material-ui": "0.9.0-alpha.17",
29+
"babel-loader": "8.0.4"
30+
},
31+
"browserslist": [
32+
">0.2%",
33+
"not dead",
34+
"not ie <= 11",
35+
"not op_mini all"
36+
]
3037
}

src/__snapshots__/Storyshots.test.js.snap

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ exports[`Storyshots Button Contained Buttons 1`] = `
77
>
88
<div
99
className="MuiCardMedia-root-536 Component-media-635"
10+
src={undefined}
1011
style={
1112
Object {
1213
"backgroundImage": "url(\\"https://source.unsplash.com/800x400?cities,nature\\")",
@@ -18,27 +19,27 @@ exports[`Storyshots Button Contained Buttons 1`] = `
1819
className="MuiCardContent-root-573"
1920
>
2021
<h2
21-
className="MuiTypography-root-538 MuiTypography-headline-543 MuiTypography-gutterBottom-565"
22+
className="MuiTypography-root-538 MuiTypography-h5-554 MuiTypography-gutterBottom-565"
2223
>
2324
How to use Storybook
2425
</h2>
2526
<p
26-
className="MuiTypography-root-538 MuiTypography-body1-547"
27+
className="MuiTypography-root-538 MuiTypography-body2-546"
2728
>
2829
$ yarn storybook # to launch Storybook
2930
</p>
3031
<p
31-
className="MuiTypography-root-538 MuiTypography-body1-547"
32+
className="MuiTypography-root-538 MuiTypography-body2-546"
3233
>
3334
Select the story from the left panel
3435
</p>
3536
<p
36-
className="MuiTypography-root-538 MuiTypography-body1-547"
37+
className="MuiTypography-root-538 MuiTypography-body2-546"
3738
>
3839
Ctrl-Shift-F to toggle Fullscreen mode
3940
</p>
4041
<p
41-
className="MuiTypography-root-538 MuiTypography-body1-547"
42+
className="MuiTypography-root-538 MuiTypography-body2-546"
4243
>
4344
Select the theme from Material-UI addon panel dropdown
4445
</p>
@@ -159,6 +160,7 @@ exports[`Storyshots Button Outlined Buttons 1`] = `
159160
>
160161
<div
161162
className="MuiCardMedia-root-322 Component-media-421"
163+
src={undefined}
162164
style={
163165
Object {
164166
"backgroundImage": "url(\\"https://source.unsplash.com/800x400?cities,nature\\")",
@@ -170,27 +172,27 @@ exports[`Storyshots Button Outlined Buttons 1`] = `
170172
className="MuiCardContent-root-359"
171173
>
172174
<h2
173-
className="MuiTypography-root-324 MuiTypography-headline-329 MuiTypography-gutterBottom-351"
175+
className="MuiTypography-root-324 MuiTypography-h5-340 MuiTypography-gutterBottom-351"
174176
>
175177
How to use Storybook
176178
</h2>
177179
<p
178-
className="MuiTypography-root-324 MuiTypography-body1-333"
180+
className="MuiTypography-root-324 MuiTypography-body2-332"
179181
>
180182
$ yarn storybook # to launch Storybook
181183
</p>
182184
<p
183-
className="MuiTypography-root-324 MuiTypography-body1-333"
185+
className="MuiTypography-root-324 MuiTypography-body2-332"
184186
>
185187
Select the story from the left panel
186188
</p>
187189
<p
188-
className="MuiTypography-root-324 MuiTypography-body1-333"
190+
className="MuiTypography-root-324 MuiTypography-body2-332"
189191
>
190192
Ctrl-Shift-F to toggle Fullscreen mode
191193
</p>
192194
<p
193-
className="MuiTypography-root-324 MuiTypography-body1-333"
195+
className="MuiTypography-root-324 MuiTypography-body2-332"
194196
>
195197
Select the theme from Material-UI addon panel dropdown
196198
</p>
@@ -311,6 +313,7 @@ exports[`Storyshots Button Text Buttons 1`] = `
311313
>
312314
<div
313315
className="MuiCardMedia-root-108 Component-media-207"
316+
src={undefined}
314317
style={
315318
Object {
316319
"backgroundImage": "url(\\"https://source.unsplash.com/800x400?cities,nature\\")",
@@ -322,27 +325,27 @@ exports[`Storyshots Button Text Buttons 1`] = `
322325
className="MuiCardContent-root-145"
323326
>
324327
<h2
325-
className="MuiTypography-root-110 MuiTypography-headline-115 MuiTypography-gutterBottom-137"
328+
className="MuiTypography-root-110 MuiTypography-h5-126 MuiTypography-gutterBottom-137"
326329
>
327330
How to use Storybook
328331
</h2>
329332
<p
330-
className="MuiTypography-root-110 MuiTypography-body1-119"
333+
className="MuiTypography-root-110 MuiTypography-body2-118"
331334
>
332335
$ yarn storybook # to launch Storybook
333336
</p>
334337
<p
335-
className="MuiTypography-root-110 MuiTypography-body1-119"
338+
className="MuiTypography-root-110 MuiTypography-body2-118"
336339
>
337340
Select the story from the left panel
338341
</p>
339342
<p
340-
className="MuiTypography-root-110 MuiTypography-body1-119"
343+
className="MuiTypography-root-110 MuiTypography-body2-118"
341344
>
342345
Ctrl-Shift-F to toggle Fullscreen mode
343346
</p>
344347
<p
345-
className="MuiTypography-root-110 MuiTypography-body1-119"
348+
className="MuiTypography-root-110 MuiTypography-body2-118"
346349
>
347350
Select the theme from Material-UI addon panel dropdown
348351
</p>

0 commit comments

Comments
 (0)