v4.3.0
July 28, 2019
Big thanks to the 23 contributors who made this release possible!
Here are some highlights ✨:
-
🌳 Introduce a new Tree View component in the (#14827) @joshwooding
This is a first step toward a feature rich tree view component.
We will keep iterate on it to add customization demos, filter, drag and drop, and checkboxes.
You can find the documentation under this URL. -
💄 Support vertical tabs (#16628) @josephpung
You can learn more about it following this URL.
-
📚 Remove the prop-types from TypeScript demos (#16521) @merceyz
The runtime prop-types are often redundant with the static type checks.
We have removed them from the TypeScript demos. -
⚛️ Add two codemods to improve the imports (#16192) @jedwards1211
If you are not familiar with codemods, check the library out. This is a tool tool to assist you with large-scale codebase refactors.
We introduce two new codemods in this release:optimal-imports
: Material-UI supports tree shaking for modules at 1 level depth maximum.
You shouldn't import any module at a higher level depth.
-import createMuiTheme from '@material-ui/core/styles/createMuiTheme'; +import { createMuiTheme } from '@material-ui/core/styles';
top-level-imports
: Converts all @material-ui/core submodule imports to the root module.
-import createMuiTheme from '@material-ui/core/styles/createMuiTheme'; +import { createMuiTheme } from '@material-ui/core';
-
💄 Support small switch (#16620) @darkowic
You can learn more about it following this URL.
-
And many more 🐛 bug fixes 📚 improvements.
@material-ui/[email protected]
- [FilledInput] Add hiddenLabel prop (#16671) @oliviertassinari
- [Menu] Use strict mode compatible testing API (#16582) @eps1lon
- [Modal] Fix focus not being contained (#16585) @eps1lon
- [Modal] Prevent backdrop to stay open (#16694) @ValentinH
- [Popper] Fix scroll jump when content contains autofocus input (#16740) (#16751) @alirezamirian
- [Portal] Prepare deprecation of onRendered (#16597) @oliviertassinari
- [SelectInput] Fix layout issue with displayEmpty (#16743) @ypresto
- [Select] Implement WAI-ARIA dropdown without label (#16739) @eps1lon
- [useMediaQuery] Improve useWidth demo (#16611) @siriwatknp
- [Step] Add
completed
class key to TypeScript definitions (#16662) @pranshuchittora - [Stepper] Add cutomization example (#16769) @oliviertassinari
- [Switch] Support small size (#16620) @darkowic
- [Tabs] Improve accessibility (#16384) @mbrookes
- [Tabs] Support vertical tabs (#16628) @josephpung
- [TextField] Rename interface FormControl to FormControlState (#16748) @B3zo0
- [TextareaAutosize] Fix infinite render loop (#16635) @oliviertassinari
- [TextareaAutosize] Fix infinite render loop (#16708) @mcdougal
@material-ui/[email protected]
- [TreeView] Add new component (#14827) @joshwooding
@material-ui/styles@@4.3.0
@material-ui/[email protected]
- [codemod] Add codemods for optimal tree-shakeable imports (#16192) @jedwards1211
Docs
- [docs] Add CSS to api for TextField (#16659) @m2mathew
- [docs] Apply v1 redirection first @oliviertassinari
- [docs] Batch changes (#16621) @oliviertassinari
- [docs] Display correct version of Material-UI (#16680) @eps1lon
- [docs] Document the global class names (#16770) @oliviertassinari
- [docs] Fix SEO reported by Ahrefs (#16765) @oliviertassinari
- [docs] Fix Typo in modal.md (#16744) @jeffshek
- [docs] Fix dependabot badge (#16725) @eps1lon
- [docs] Fix reset colors crashing app (#16750) @eps1lon
- [docs] Fix typo in typography.md (#16654) @hexium310
- [docs] Generate prop-types from TypeScript demos (#16521) @merceyz
- [docs] Grammar fix for global class names docs (#16778) @joshwooding
- [docs] Improve SEO (#16724) @oliviertassinari
- [docs] Improve favicon (#16632) @oliviertassinari
- [docs] Improve generated markdown (#16771) @merceyz
- [docs] Link page layouts to premium themes (#16690) @mbrookes
- [docs] Move dependencies/scripts from root into workspace (#16640) @eps1lon
- [docs] Prevent password field blur when adornment clicked (#16672) @ee92
- [docs] Redirects old v1.5.0 url to v1 subdomain (#16658) @m2mathew
- [docs] Reduce bundle size (#16046) @eps1lon
- [docs] Remove bbb from showcase (#16687) @mbrookes
- [docs] Remove unused imports (#16623) @merceyz
- [docs] Reword unsupported material components notes (#16660) @m2mathew
- [docs] Solve docs 301 redirections (#16705) @oliviertassinari
- [docs] Update translations (#16684) @mbrookes
- [docs] Upgrade next to v9 (#16546) @eps1lon
- [docs] Revert upgrade to next 9 (#16755) @eps1lon
- [docs] Workaround to describe aria-sort (#16767) @mbrookes
- [examples] Remove version next version from the description (#16678) @straxico
Core
- [test] Fix empty visual rergression screenshots (#16702) @eps1lon
- [test] Fix failing test_browser in edge (#16688) @eps1lon
- [core] Batch changes (#16691) @oliviertassinari
- [core] Batch small changes (#16766) @oliviertassinari
- [core] Deduplicate packages (#16608) @merceyz
- [core] Fix type definition for createMuiTheme SpacingOptions (#16624) @dominictwlee
- [core] Import esm babel helpers (#16701) @TrySound
- [core] Introduce dependabot (#16679) @eps1lon
- [core] Remove old JSS v9 animationName property (#16779) @merceyz
- [core] Upgrade babel-plugin-optimize-clsx (#16636) @merceyz
- [core] Upgrade dependencies from yarn audit (#16625) @merceyz
- [core] Upgrade jss (#16668) @TrySound
- [core] Bump babel dependencies to latest (#16699) @eps1lon
- [ci] Merge test_browser and test_production (#16731) @eps1lon
- [ci] Use custom frozen lockfile check (#16677) @eps1lon