Skip to content

v2.0.0

Compare
Choose a tag to compare
@GiedriusGrabauskas GiedriusGrabauskas released this 02 Nov 13:41
· 18 commits to master since this release

Changelog (2017-04-18)

[Breaking changes]

  • Directories structure changed. All production files moved to dist folder.
  • blackLoader prop removed from SpinnerLoader.
  • color prop removed from BubbleLoader.
  • shouldReduceSize props changed to shouldExpand. Default value shouldExpand={true}.

color and blackLoader props are removed leaving you a possibility to set them using CSS.

Setting color of SpinnerLoader:

.spinner-loader .loader-container .loader {
    color: green;
}

Setting color of BubbleLoader:

.bubble-loader .bounce {
    background-color: red;
}

[Fixes]

  • Fixed issue that blocked the ability to set color of SpinnerLoader and BubbleLoader using CSS.

[Dev]

  • glob-uglifyjs version updated.
  • pushstate-server moved to example.
  • react and @types/react versions updated.
  • tslint added.
  • css-to-ts added to have css in TypeScript files.
  • Example build changed (check README.md for more information).
  • LoaderBase introduced as a base class for all loaders.