Skip to content

Releases: davidhu2000/react-spinners

v0.15.0

06 Dec 04:35
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.14.1...v0.15.0

0.14.1

26 Jun 16:20
Compare
Choose a tag to compare

What's Changed

  • Revert "fix: multiple hash loader with different color renders as the same color" by @davidhu2000 in #605

Full Changelog: 0.14.0...0.14.1

0.14.0

26 Jun 05:15
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.13.8...0.14.0

v0.13.8

19 Jan 03:46
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.13.7...v0.13.8

0.13.7

03 Dec 06:06
Compare
Choose a tag to compare

What's Changed

fix: PacmanLoader container height/width to adjust with size prop

0.13.0

25 Jun 23:21
a0609b1
Compare
Choose a tag to compare

Major Changes

Feature: Removed @emotion/react as a dependency and rewrote all components as functional components. This library now has ZERO dependencies.

This resulted in a huge component size reduction. As compared between 0.12.0 and 0.13.0

0.13.0
Screen Shot 2022-06-25 at 4 20 30 PM
0.12.0
Screen Shot 2022-06-25 at 4 20 34 PM

Feature: Add support for custom props such as aria-label
Feature: Updated RiseLoader rise amount to be the same as size prop instead of hard coded 30px

Breaking Change: css prop is renamed to cssOverride to avoid conflicts with css-in-js libraries

Storybook is introduced to better demo the components. The demo site is simplified to only allow color changes.

Minor Changes

  • replaced enzyme with react testing library
  • bugfix: add display: inherit to the default styles to fix the rendering issue
  • bugfix: GridLoader's rendering issue

0.12.0

16 May 01:30
Compare
Choose a tag to compare

Major Changes

  • Feature: output commonjs, es module, and umd file types.
  • Feature: add support for react 18 #464

Minor Changes

  • bugfix: Update pragma to /** @jsxImportSource @emotion/react */ to fix issue with the new jsx runtime.

Simplify API by removing unit props

21 Dec 17:42
Compare
Choose a tag to compare

The component API has been simplified. The length prop can now accept number or string.

Major Changes

  • all unit props are deprecated, including sizeUnit, heightUnit, widthUnit, and radiusUnit. The size, height, width, and radius props now accepts number and string.
    • If value is number, default to px
    • If value is string with valid css unit, return the input value
    • If value is string with invalid css unit, output warning console log and default to px
  • margin prop now works the same way as other length props. Can accept number and string

Minor Changes

  • css prop default is now "". No functionality change here.
  • fix margin prop functionality on FadeLoader and RotateLoader so it actually expands the spacing between the elements.
  • update the README color prop section to include a list of available color words accepted.
  • clean up README formatting using the prettier plugin
  • add yarn installation instruction to the README.

Rewrite Package in TypeScript

19 Aug 01:43
54b2f95
Compare
Choose a tag to compare

The entire package has been rewritten in TypeScript. The package will now support individual loader imports with types.

Major changes:

  • Add support for types for individual loader imports
  • Add support for using the basic color name as props instead of only color hashes
  • Reduced total package size from around 850kb to 135gb
  • Fix main key value in package.json to point to the correct index.js
  • Removed prop-types and recompose from dependencies
  • Added tests to get to 100% code coverage

Minor changes:

  • Update PacmanLoader css top property to respect sizeUnit prop.
  • Update README to include radius and radiusUnit.
  • Add missing transform key to the RiseLoader animation.
  • Setup tslint and prettier to enforce code consistency.
  • Add missing " to .babelrc in README.

Emotion upgrade and optimizations

06 Jan 04:43
Compare
Choose a tag to compare
  • Update emotion package to emotion 10, this includes a breaking change with replacing className prop with css prop to match convention of the Emotion package.
  • update package.json to include wider range of version for recompose
  • update how onlyUpdateForKeys is imported from recompose. Reduced import cost from 26kb to 19kb.