-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [blog] April 2019 Update * Update pages/blog/april-2019-update.md Co-Authored-By: oliviertassinari <olivier.tassinari@gmail.com> * Update pages/blog/april-2019-update.md Co-Authored-By: oliviertassinari <olivier.tassinari@gmail.com>
- Loading branch information
1 parent
edde6ad
commit 294ad3a
Showing
8 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import 'docs/src/modules/components/bootstrap'; | ||
// --- Post bootstrap ----- | ||
import React from 'react'; | ||
import MarkdownDocs from 'docs/src/modules/components/MarkdownDocs'; | ||
import markdown from './april-2019-update.md'; | ||
|
||
function Page() { | ||
return <MarkdownDocs markdown={markdown} disableAd disableEdit />; | ||
} | ||
|
||
export default Page; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
--- | ||
description: Here are the most significant changes in April. | ||
--- | ||
|
||
# April 2019 Update | ||
|
||
**Olivier Tassinari** | ||
|
||
*May 7, 2019* | ||
|
||
Here are the most significant changes in April: | ||
|
||
- 📚 We have migrated [most](https://github.com/mui-org/material-ui/issues/14897) of our demos to TypeScript. **@eps1lon** has lead the effort. You can switch between the JavaScript demo and the TypeScript demo using this toggle button: | ||
|
||
![TypeScript switch](/static/blog/april-2019-update/typescript.png) | ||
|
||
This was only possible thanks to the contributions **@merceyz**, **@sperry94**, **@jasondashwang**, **@bh1505**, **@donigianrp**, **@Dudrie**, **@eluchsinger**, **@cahilfoley**, **@gabrielgene**, **@kenzhemir**, **@Adherentman**, **@lksilva**, **@Tevinthuku**. Thank you! | ||
Supporting these TypeScript demos has one important implication, it forces us to have working TypeScript definitions ✨. | ||
- 🎀 We have migrated a large chunk of our components from classes to hooks. **@joshwooding** has lead the effort. We will explain why in the v4 release blog post. | ||
- 📐 We have updated our components to better match the Material Design specification | ||
(Snackbar, List, Checkbox, Radio & Switch). | ||
- 🎁 We have added a demo for building a [TransferList](https://next.material-ui.com/demos/transfer-list/) component. | ||
|
||
[![Transfer List](/static/blog/april-2019-update/transfer-list.png)](https://next.material-ui.com/demos/transfer-list/) | ||
|
||
- 💅 We have changed the class name generation to output global class names. | ||
We have seen many people struggling with our `classes` API. | ||
This API targets plain CSS and styled-components users. | ||
It can be challenging to apply your class name on the right element with the `classes` API. It can also be cumbersome. ⚠️ Using global class names provide more power but comes with a responsibility. We encourage any pattern that increases your **custom style isolation**. | ||
|
||
[![Global class names](/static/blog/april-2019-update/global-class-names.png)](https://next.material-ui.com/css-in-js/advanced/#with-material-ui-core) | ||
|
||
- 📅 We have moved material-ui-pickers to our organization: [@material-ui/pickers](https://material-ui-pickers.dev/). A big thanks to **@dmtrKovalenko** for creating and owning these date/time components. | ||
- 🔥 We have fixed more Strict Mode warnings, getting us closer to [Concurrent React](https://reactjs.org/blog/2018/11/27/react-16-roadmap.html#react-16x-q2-2019-the-one-with-concurrent-mode) support. | ||
- ♿️ We have significantly improved the keyboard behavior on the Select, Menu, Button and Tooltip components. The arrow key changes feel instantaneous. The select items can be selected with the alphabetical keys. The focus visible state is better detected. | ||
- 💄 We have added support for responsive font sizes. You can wrap your theme with [`responsiveFontSizes()`](https://next.material-ui.com/customization/themes/#responsive-font-sizes): | ||
|
||
[![Responsive font sizes](/static/blog/april-2019-update/responsive.png)](https://next.material-ui.com/customization/themes/#responsive-font-sizes) | ||
- We have added support for custom [header scroll behaviors](https://next.material-ui.com/demos/app-bar/#scrolling): | ||
|
||
<video src="/static/blog/april-2019-update/scroll-trigger.mp4" loop autoplay></video> | ||
|
||
But this summary is just scratching the surface. We have accepted 243 commits from 69 different contributors. We have changed 1,545 files with 36,461 additions and 20,237 deletions. | ||
|
||
## Our roadmap intent for May | ||
|
||
*(We'll do our best, no guarantee!)* | ||
|
||
- We will release Material-UI v4 stable during the React Europe conference. | ||
- We will start an effort to support more components. So far, we have identified a couple of useful ones: | ||
- Layout | ||
- Combobox | ||
- Slider (& range) | ||
- Dropdown | ||
- Tree view | ||
- Dropzone / Upload | ||
- Skeleton | ||
- Jumbotron | ||
- Carousel | ||
- Rating | ||
- Timeline | ||
- Something big 🌈 | ||
|
||
<hr /> | ||
|
||
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](https://material-ui.com/discover-more/backers/). Please join them ✨. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.