diff --git a/.eslintrc.js b/.eslintrc.js index be92985121d372..f811f57980f85b 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -105,5 +105,8 @@ module.exports = { 'flowtype/use-flow-type': 'error', 'prettier/prettier': 'error', + + 'jsx-a11y/label-has-for': 'off', + 'jsx-a11y/label-has-associated-control': 'error', }, }; diff --git a/BACKERS.md b/BACKERS.md index 1c515c2549cf90..18d72708cc671a 100644 --- a/BACKERS.md +++ b/BACKERS.md @@ -1,6 +1,6 @@ # Sponsors & Backers -

Support Material-UI’s development.

+

Support Material-UI’s development through donations.

Material-UI is an MIT-licensed open source project. It's an independent project with ongoing development made possible thanks to the support of these awesome backers. If you'd like to join them, please consider: - [Become a backer or sponsor on Patreon](https://www.patreon.com/oliviertassinari). diff --git a/docs/notifications.json b/docs/notifications.json index 68fb10515bb429..dd7bd1cf62ab2d 100644 --- a/docs/notifications.json +++ b/docs/notifications.json @@ -1,6 +1,6 @@ [ { - "id": 14, - "text": "Material-UI v1 is out 🎉. the blog post." + "id": 15, + "text": "Material-UI v1.4.0 is out 🎉. the release note." } ] diff --git a/docs/src/modules/components/AppFrame.js b/docs/src/modules/components/AppFrame.js index dfea4162ee629c..b1f2760f76477f 100644 --- a/docs/src/modules/components/AppFrame.js +++ b/docs/src/modules/components/AppFrame.js @@ -151,7 +151,7 @@ class AppFrame extends React.Component { diff --git a/docs/src/pages/customization/themes/themes.md b/docs/src/pages/customization/themes/themes.md index e12b9a8952e6ac..51ab93c2261531 100644 --- a/docs/src/pages/customization/themes/themes.md +++ b/docs/src/pages/customization/themes/themes.md @@ -1,6 +1,6 @@ # Themes -

Customize Material-UI with our theme.

+

Customize Material-UI with our theme. You can change the colors, the typography and much more.

The theme specifies the color of the components, darkness of the surfaces, level of shadow, appropriate opacity of ink elements, etc. diff --git a/docs/src/pages/demos/buttons/FloatingActionButtonZoom.js b/docs/src/pages/demos/buttons/FloatingActionButtonZoom.js index 61c625d1f62ef9..369f82fd6c8624 100644 --- a/docs/src/pages/demos/buttons/FloatingActionButtonZoom.js +++ b/docs/src/pages/demos/buttons/FloatingActionButtonZoom.js @@ -115,7 +115,7 @@ class FloatingActionButtonZoom extends React.Component { in={this.state.value === index} timeout={transitionDuration} style={{ - transitionDelay: this.state.value === index ? transitionDuration.exit : 0, + transitionDelay: `${this.state.value === index ? transitionDuration.exit : 0}ms`, }} unmountOnExit > diff --git a/docs/src/pages/demos/tables/tables.md b/docs/src/pages/demos/tables/tables.md index ae83352e0af661..a61f2bfa85f8b8 100644 --- a/docs/src/pages/demos/tables/tables.md +++ b/docs/src/pages/demos/tables/tables.md @@ -5,7 +5,7 @@ components: Table, TableBody, TableCell, TableFooter, TableHead, TablePagination # Tables -

Data tables display sets of data.

+

Data tables display sets of data. They can be fully customized.

[Data tables](https://material.io/design/components/data-tables.html) display information in a way that’s easy to scan, so that users can look for patterns and insights. They can be embedded in primary content, such as cards. diff --git a/docs/src/pages/guides/migration-v0x/migration-v0x.md b/docs/src/pages/guides/migration-v0x/migration-v0x.md index 03a348f4b8bc5d..fc58395d0c3f9c 100644 --- a/docs/src/pages/guides/migration-v0x/migration-v0x.md +++ b/docs/src/pages/guides/migration-v0x/migration-v0x.md @@ -1,6 +1,6 @@ # Migration From v0.x -

Yeah, v1 has been released!

+

Yeah, v1 has been released! Take advantage of 2 years worth of effort.

## FAQ diff --git a/docs/src/pages/guides/testing/testing.md b/docs/src/pages/guides/testing/testing.md index 8be3446cfb7b32..6ae65bfea1bd04 100644 --- a/docs/src/pages/guides/testing/testing.md +++ b/docs/src/pages/guides/testing/testing.md @@ -1,6 +1,6 @@ # Testing -

Write tests to prevent regressions.

+

Write tests to prevent regressions and write better code.

## Internal diff --git a/package.json b/package.json index 919415634eca30..8c217d1d39b5ec 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,7 @@ "eslint-plugin-babel": "^5.0.0", "eslint-plugin-flowtype": "^2.40.1", "eslint-plugin-import": "^2.8.0", - "eslint-plugin-jsx-a11y": "6.0.3", + "eslint-plugin-jsx-a11y": "^6.0.3", "eslint-plugin-material-ui": "file:packages/eslint-plugin-material-ui", "eslint-plugin-mocha": "^5.0.0", "eslint-plugin-prettier": "^2.3.1", @@ -148,7 +148,7 @@ "rollup-plugin-commonjs": "^9.1.3", "rollup-plugin-node-globals": "^1.2.1", "rollup-plugin-node-resolve": "^3.3.0", - "rollup-plugin-size-snapshot": "^0.5.1", + "rollup-plugin-size-snapshot": "^0.6.0", "rollup-plugin-uglify": "^4.0.0", "sinon": "^6.0.0", "size-limit": "^0.18.0", diff --git a/packages/material-ui/.size-snapshot.json b/packages/material-ui/.size-snapshot.json index 652376c34db2cf..f8ce24b66d05dd 100644 --- a/packages/material-ui/.size-snapshot.json +++ b/packages/material-ui/.size-snapshot.json @@ -1,7 +1,7 @@ { "build/umd/material-ui.production.min.js": { - "bundled": 806207, - "minified": 314300, - "gzipped": 85108 + "bundled": 806478, + "minified": 314445, + "gzipped": 85106 } } diff --git a/pages/_document.js b/pages/_document.js index 3ccbc524c3bcca..6f4a3b94966cc2 100644 --- a/pages/_document.js +++ b/pages/_document.js @@ -54,7 +54,7 @@ class MyDocument extends Document { is actually sent to the server. This includes DNS lookups, TLS negotiations, TCP handshakes. */} - +