transitionConfig
is no longer required prop (was made required by accident)
- Use EventEmitter from
wolfy87-eventemitter
(fixes issue #8) - Allow React version
^16.0.0
as dependency
- Added TypeScript definitions.
- Use
react-transition-group
instead ofreact-addons-css-transition-group
.
- Added
transitionConfig
prop to allow configuringReactCSSTransitionGroup
for the loader overlay. - Added fade transition to demo0.
- Use React
Component
instead ofcreateClass
andprop-types
library to suppress deprication warnings
-
Added
contentStyle
property to extend content container styles -
Added
messageStyle
property to extend message container styles
-
Removed babel-polyfill that was polluting globals. Now using babel-transform-runtime instead.
-
Internal changes.
Very important bugfix: rendering was causing redundant mounts and unmounts that caused unwanted side-effects on rare cases.
CSS styles now follow correct BEM-naming. Update your classes if you have overriden Loader classes.
- Loader--content => Loader__content
- Loader--background => Loader__background
- Loader--foreground => Loader__foreground
- Loader--message => Loader__message