- Update types definition (thanks @MasterOdin)
- Publish latest build
- Re-export constants from reducer (thanks @MasterOdin)
- Include latest redux as peer dependency
- Update dependencies
- Support latest react 18 and react-redux v8
- Bump dependencies and fix merge conflict
- Bump dependencies to support React 17
- Change the animation to use
width
instead oftransform
(thanks @exzizt)
- Update dev dependencies and rebuild with newer Babel
- Cancel termination animation if Loading Bar should be restarted
- Update react-redux peer dependency requirement (contributed by @hugomn)
- Add support for RTL Layout. Ref: #88
- Support latest react-redux v6
- Make the animation smoother (at least in Chrome)
- Old browser compatibility (contributed by @dengbupapapa)
- Revert changes introduced in v4.0.6 because they break modern browsers like Chrome
- Animation needs to be compatible with ie9 and other browsers (contributed by @dengbupapapa)
- Replace .includes with a broadly supported .indexOf alternative
- Relax Redux dependency
- Update to latest react-lifecycles-compat
- Rebuild Loading Bar
- Update react-lifecycles-compat dependency
- Rewrite the code to be compatible with future React versions
- Check for the scope property within the meta property of the action
- Add scope support to type definitions (contributed by @Kovensky)
- Fix not disappearing loading bar on immediately changed props (contributed by @MikeDevice)
- No need to have the
immutableLoadingBarReducer
- Import immutable in immutable reducer
- Add immutable reducer to make Loading Bar v3 work with immutable stores
- Allow having multiple loading bars on one page (contributed by @seb0zz and @neogermi)
- Bump dependencies to support React 16
- Make terminating animation faster. Ref: #41
- Render an empty div first and replace it with the actual Loading Bar after mount. This fixes the problem with SSR and strict style CSP. Ref: #39
- Make the animation smoother
- Add showFastActions prop to TS definition (thanks @vitosamson)
- React.propTypes -> PropTypes
- Do not display Loading Bar for quickly finished actions. You can pass the
showFastActions
prop to show the Loading Bar even when the action finishes in underupdateTime
.
- Do not set second interval if loading bar is shown
- Fix race condition when
showLoading
is called right afterhideLoading
- Do not try to stop simulation if it hasn't begun
- Launch progress simulation only once when loading is increased couple of times
- Revamped animation: added slowdown to the end of the progress; instant actions will briefly display loading bar for the period of UPDATE_TIME * 2
- Fix issue where setState() is called on the server-side at unexpected lifecycles
- Export
resetLoading
action
- Do not let percent become greater than maxProgress if progressIncrease > (100 - maxProgress)
- TypeScript definitions are not required to make LoadingBar work and thus removed from peer dependencies (thanks @larrydahooster)
- Add TypeScript definitions (thanks @janslow)
- Bump
react-redux
dependency version (thanks @larrydahooster)
- New action
resetLoading
to reset the loading counter and hide Loading Bar.
- Ability to use loading bar with immutable (thanks @greenpart)
- If the Loading Bar is mounted with loading count > 0, it should launch the progress simulation immediately
- Do not apply styling if CSS class is specified
- Export UI component
- Reset position of the Loading Bar if it is triggered to be shown during ending animation
- Fix infinite loop when Loading Bar is triggered to be shown during ending animation
- Do not call resetProgress after the Loading Bar is unmounted
- Simplify the middleware
- Loading Bar should not reset to 0 before disappear
- Add fade effect on SHOW and HIDE actions by using opacity transition (thanks to @hieuhlc)
- Match actions with regular expressions to prevent false positives (thanks to @ThomasMarnet)
- Loading Bar moves to the end before disappear
- Configure updateTime, maxProgress and progressIncrease via props
- Clear interval on unmount
- Fix for server side rendering and isomorphic apps
- Ability to set custom promise type suffixes
- Remove shrinkwrap to make the module portable
- Add ability to apply custom styling and relax dependencies
- Fix middleware to work with
redux-thunk
- Update dependencies
- Initial release