v1.0.0-beta.19
Pre-release
Pre-release
oliviertassinari
released this
30 Oct 22:25
·
19719 commits
to master
since this release
Oct 30, 2017
Big thanks to the 17 contributors who made this release possible.
Here are some highlights ✨:
- We managed to do it! We have upgraded all the dependencies to react@16 🚀. (#8889)
We will keep react@15 support for some time in order to help the migration from v0.x to v1.x. - We have fixed an important bug of
withStyles()
with react-hot-loader.
Thanks a lot @rrousselGit for the support. (#8897) - We have introduced 3 soft breaking changes. (#8830, #8858, #8916)
- And many more bug fixes and documentation improvements.
Breaking change
- [transition] Improve interoperability with react-transition-group (#8830) @oliviertassinari
<Grow
- transitionDuration={{
+ timeout={{
enter: enterDuration,
exit: leaveDuration,
}}
/>
- [transition] Allow more accurate PropTypes (#8858) @apieceofbart
- <Dialog transition={<Slide direction="left" />} />;
+ const Transition = props => <Slide direction="left" {...props} />
+ <Dialog transition={Transition} />;
- <Snackbar transition={<Slide direction="left" />} />;
+ const Transition = props => <Slide direction="left" {...props} />
+ <Snackbar transition={Transition} />;
One important thing to notice is that the component creation needs to be outside of the render method. Otherwise a new instance will be created and the animation will lose his state.
- [RTL] Make Right-to-left optional (#8916) @oliviertassinari
jss-rtl
needs to be installed and added to jss by the users. We do no longer do it by default.
Component Fixes / Enhancements
- [Popover] Add a marginThreshold property (#8815) @eyn
- [Tabs] Fix consecutive updates (#8831) @oliviertassinari
- [TextField] Support adornment full width (#8835) @oliviertassinari
- [TextField] Fix dirty state update (#8879) @oliviertassinari
- [breakpoints] Increase step to 5, fix media query matching on Safari (#8846) @dangh
- [Input] Fix disabled state (#8848) @oliviertassinari
- [Input] Fix inputProps overwriting className (#8867) @johnnynia
- [Input] Ignore underline pointer events (#8885) @johnnynia
- [Input] Made the labels for adorned elements not shrink on end adornment (#8882) @kf6kjg
- [Popover] Warn when the height of the Popover is too tall (#8839) @amilagm
- [Tooltip] Fix resize issue (#8862) @oliviertassinari
- [CircularProgress] Add "inherit" color option (#8871) @dapetcu21
- [Select] Fix array mutability flow annotation (#8870) @dapetcu21
- [Dialog] Fix IE11 overflow bug (#8877) @sakulstra
- [Menu] Add a PopoverClasses property (#8884) @johnnynia
- [CircularProgress] Add thickness property to .t.ds file (#8888) @jportela
- [Slider] Shouldn't be visible when in=false (#8894) @oliviertassinari
- [Collapse] Fix height computation (#8895) @oliviertassinari
- [withStyles] Better handle react-hot-loader (#8897) @oliviertassinari
Docs
- [docs] Fix wrong SSR path location (#8822) @lukePeavey
- [docs] Fix some issues I have noticed (#8826) @oliviertassinari
- [docs] Fix typos in input adornments example (#8836) @leMaik
- [docs] Better onboarding experience (#8851) @oliviertassinari
- [docs] Show disabled MenuItem (#8853) @ojathelonius
- [docs] Fix Typos (#8860) @shtam
- [docs] Update Popover component readme (#8865) @gregnb
- [docs] Move the font link of CRA for codesandbox (f068f50) @oliviertassinari
- [docs] Show how to change the color of the TextField (#8880) @oliviertassinari
- [docs] Simpler IconMenu example (#8892) @oliviertassinari
- [docs] Temporary fix for SSR issue with Portal (#8907) @oliviertassinari
Core
- [flow] Add config lint (#8834) @rosskevin
- [core] Upgrade the dependencies (#8852) @oliviertassinari
- [core] Fix missing typings in /es folder (#8887) @NeoLegends
- [core] Upgrade to react@16 (#8889) @oliviertassinari
- [core] Upgrade size-limit (#8899) @oliviertassinari
- [Table] Increase test coverage (#8910) @leMaik
- [test] Increase test coverage (#8908) @oliviertassinari