Skip to content

Commit 4369a50

Browse files
[core] Batch small changes (#19639)
1 parent 3f823dc commit 4369a50

File tree

12 files changed

+24
-56
lines changed

12 files changed

+24
-56
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ module.exports = {
3939
// Airbnb use error
4040
'no-param-reassign': 'off',
4141
'no-prototype-builtins': 'off',
42+
'nonblock-statement-body-position': 'error',
4243
// Airbnb restricts isNaN and isFinite which are necessary for IE 11
4344
// we have to be disciplined about the usage and ensure the Number type for its
4445
// arguments

docs/pages/api/divider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ You can learn more about the difference by [reading this guide](/guides/minimizi
2727
| <span class="prop-name">absolute</span> | <span class="prop-type">bool</span> | <span class="prop-default">false</span> | Absolutely position the element. |
2828
| <span class="prop-name">classes</span> | <span class="prop-type">object</span> | | Override or extend the styles applied to the component. See [CSS API](#css) below for more details. |
2929
| <span class="prop-name">component</span> | <span class="prop-type">elementType</span> | <span class="prop-default">'hr'</span> | The component used for the root node. Either a string to use a DOM element or a component. |
30-
| <span class="prop-name">flexItem</span> | <span class="prop-type">bool</span> | <span class="prop-default">false</span> | If `true`, the divider will apply adapt to a parent flex container. |
30+
| <span class="prop-name">flexItem</span> | <span class="prop-type">bool</span> | <span class="prop-default">false</span> | If `true`, the divider will adapt to a parent flex container. |
3131
| <span class="prop-name">light</span> | <span class="prop-type">bool</span> | <span class="prop-default">false</span> | If `true`, the divider will have a lighter color. |
3232
| <span class="prop-name">orientation</span> | <span class="prop-type">'horizontal'<br>&#124;&nbsp;'vertical'</span> | <span class="prop-default">'horizontal'</span> | The divider orientation. |
3333
| <span class="prop-name">variant</span> | <span class="prop-type">'fullWidth'<br>&#124;&nbsp;'inset'<br>&#124;&nbsp;'middle'</span> | <span class="prop-default">'fullWidth'</span> | The variant to use. |

docs/src/modules/components/HomeUsers.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ const users = [
1919
},
2020
{
2121
logo: 'walmart-labs.svg',
22-
logoWidth: 274,
23-
logoHeight: 52,
22+
logoWidth: 205,
23+
logoHeight: 39,
2424
caption: 'Walmart Labs',
2525
class: 'walmart',
2626
},
@@ -112,7 +112,7 @@ const styles = theme => ({
112112
margin: theme.spacing(0.5, 3, 1.5),
113113
},
114114
walmart: {
115-
margin: theme.spacing(0.9, 3, 1.5),
115+
margin: '13px 4px 12px',
116116
},
117117
button: {
118118
margin: theme.spacing(2, 0, 0),

docs/src/pages/components/dividers/dividers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ The examples below show two ways of achieving this.
3636
## Vertical Dividers
3737

3838
You can also render a divider vertically using the `orientation` prop.
39-
Note the usage of the `flexItem` prop to accommodate for the flex container.
39+
Note the use of the `flexItem` prop to accommodate for the flex container.
4040

4141
{{"demo": "pages/components/dividers/VerticalDividers.js", "bg": true}}

docs/src/pages/discover-more/showcase/appList.js

Lines changed: 13 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const appList = [
1919
'design to simplify the rental of residential real estate.',
2020
image: 'quintoandar.png',
2121
link: 'https://www.quintoandar.com.br/',
22-
similarWebVisits: 3000,
22+
similarWebVisits: 6000,
2323
dateAdded: '2019-05-08',
2424
},
2525
{
@@ -29,7 +29,7 @@ const appList = [
2929
'Skyrim, Wolfenstein, The Elder Scrolls, more. Your source for news, features & community.',
3030
image: 'bethesda.jpg',
3131
link: 'https://bethesda.net/',
32-
similarWebVisits: 18600,
32+
similarWebVisits: 4000,
3333
dateAdded: '2019-01-01',
3434
},
3535
{
@@ -39,7 +39,7 @@ const appList = [
3939
'education-to-employment programs and career coaching services for students worldwide. ',
4040
image: 'openclassrooms.jpg',
4141
link: 'https://openclassrooms.com/en/',
42-
similarWebVisits: 10190,
42+
similarWebVisits: 6000,
4343
dateAdded: '2018-01-34',
4444
},
4545
{
@@ -51,7 +51,7 @@ const appList = [
5151
'idraulica… Ritira in negozio o ricevi comodamente a casa. 🇮🇹',
5252
image: 'leroymerlin.jpg',
5353
link: 'https://www.leroymerlin.it/',
54-
similarWebVisits: 4400,
54+
similarWebVisits: 5700,
5555
dateAdded: '2019-01-01',
5656
},
5757
{
@@ -62,15 +62,15 @@ const appList = [
6262
'and read programming tutorials from our community of developers.',
6363
image: 'codementor.jpg',
6464
link: 'https://www.codementor.io/',
65-
similarWebVisits: 2980,
65+
similarWebVisits: 1500,
6666
dateAdded: '2018-01-34',
6767
},
6868
{
6969
title: 'BARKS',
7070
description: 'Japan Music Network. 🇯🇵',
7171
image: 'barks.jpg',
7272
link: 'https://www.barks.jp/',
73-
similarWebVisits: 2700,
73+
similarWebVisits: 3000,
7474
dateAdded: '2019-01-01',
7575
},
7676
{
@@ -90,7 +90,7 @@ const appList = [
9090
'magazines and real time streams, personalized for you. 🇫🇷',
9191
image: 'sfrpresse.jpg',
9292
link: 'https://sfrpresse.sfr.fr/',
93-
similarWebVisits: 710,
93+
similarWebVisits: 800,
9494
dateAdded: '2018-01-25',
9595
},
9696
{
@@ -111,7 +111,7 @@ const appList = [
111111
'Join the global community of readers and writers!',
112112
image: 'sweek.jpg',
113113
link: 'https://sweek.com/',
114-
similarWebVisits: 383,
114+
similarWebVisits: 200,
115115
dateAdded: '2019-01-01',
116116
},
117117
{
@@ -137,7 +137,7 @@ const appList = [
137137
description: 'NEO blockchain explorer and wallet.',
138138
image: 'neotracker.jpg',
139139
link: 'https://neotracker.io/',
140-
similarWebVisits: 350,
140+
similarWebVisits: 30,
141141
dateAdded: '2019-01-01',
142142
},
143143
{
@@ -156,7 +156,7 @@ const appList = [
156156
'online. The marketing website is also built with Material-UI: https://www.housecallpro.com/',
157157
image: 'housecall.jpg',
158158
link: 'https://pro.housecall.io/pro/log_in',
159-
similarWebVisits: 214,
159+
similarWebVisits: 750,
160160
dateAdded: '2019-01-01',
161161
},
162162
{
@@ -166,7 +166,7 @@ const appList = [
166166
'de forma direta e segura no Brasil. 🇧🇷',
167167
image: 'bitcambio.jpg',
168168
link: 'https://bitcambio.com.br/',
169-
similarWebVisits: 148,
169+
similarWebVisits: 50,
170170
dateAdded: '2019-01-01',
171171
},
172172
{
@@ -209,7 +209,7 @@ const appList = [
209209
'with more than 200K advertising options, and more than 1M satisfied customers.',
210210
image: 'themediaant.jpg',
211211
link: 'https://www.themediaant.com/',
212-
similarWebVisits: 112,
212+
similarWebVisits: 90,
213213
dateAdded: '2019-01-01',
214214
},
215215
{
@@ -458,16 +458,6 @@ const appList = [
458458
link: 'https://slidesup.com/',
459459
dateAdded: '2018-01-03',
460460
},
461-
{
462-
title: 'Trafikito',
463-
description:
464-
'Free servers monitoring solution which can track any output of any command and do ' +
465-
'automated action. By default it tracks average load, CPU, HDD, RAM and sends email when ' +
466-
'something is going wrong.',
467-
image: 'trafikito-monitoring.jpg',
468-
link: 'https://trafikito.com/',
469-
dateAdded: '2018-01-20',
470-
},
471461
{
472462
title: 'Hokan',
473463
description:
@@ -539,13 +529,6 @@ const appList = [
539529
link: 'https://www.planalyze.io/',
540530
dateAdded: '2018-01-10',
541531
},
542-
{
543-
title: 'PhotoUtils',
544-
description: 'Online photo editor. 6 simple and free image editing tools.',
545-
image: 'photoutils.jpg',
546-
link: 'https://photoutils.com/',
547-
dateAdded: '2018-01-32',
548-
},
549532
{
550533
title: 'npm registry browser',
551534
description:
@@ -579,13 +562,6 @@ const appList = [
579562
stars: 24,
580563
dateAdded: '2018-01-35',
581564
},
582-
{
583-
title: 'Persona',
584-
description: 'Zero knowledge digital identity management system built on blockchain.',
585-
link: 'https://persona.im/',
586-
image: 'persona.jpg',
587-
dateAdded: '2019-01-27',
588-
},
589565
{
590566
title: 'MQTT Explorer',
591567
description:
@@ -598,16 +574,6 @@ const appList = [
598574
stars: 510,
599575
dateAdded: '2019-03-25',
600576
},
601-
{
602-
title: 'Learnseeker',
603-
description:
604-
'A data driven 1-1 tuition matching platform. ' +
605-
'Incubated at the National University of Singapore. ' +
606-
"It's based on one of our premium theme.",
607-
link: 'https://learnseeker.sg/',
608-
image: 'learnseeker.jpg',
609-
dateAdded: '2019-03-26',
610-
},
611577
{
612578
title: 'TagSpaces',
613579
description:
@@ -631,7 +597,7 @@ const appList = [
631597
description: 'NBA trade machine and social analysis tools for the basketball community.',
632598
image: 'tradenba.jpg',
633599
link: 'https://tradenba.com/',
634-
similarWebVisits: 145,
600+
similarWebVisits: 160,
635601
dateAdded: '2020-01-20',
636602
},
637603
{
-100 KB
Binary file not shown.
-47.5 KB
Binary file not shown.
-53.7 KB
Binary file not shown.
-99 KB
Binary file not shown.

packages/material-ui-lab/src/Skeleton/Skeleton.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export const styles = theme => ({
4949
overflow: 'hidden',
5050
'&::after': {
5151
animation: '$wave 1.6s linear 0.5s infinite',
52-
background: 'linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent)',
52+
background: 'linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent)',
5353
content: '""',
5454
position: 'absolute',
5555
transform: 'translateX(-100%)', // Avoid flash during server-side hydration

0 commit comments

Comments
 (0)