All Versions
21
Latest Version
Avg Release Cycle
60 days
Latest Release
1203 days ago

Changelog History
Page 2

  • v2.3.2 Changes

    April 20, 2018

    ๐Ÿ›  Fixed

    • Corrected dead links in README
  • v2.3.1 Changes

    April 08, 2018

    โž• Added

    • โš  Devs now receive a console warning if they have passed an invalid color prop.
  • v2.3.0 Changes

    December 27, 2017

    โž• Added

    • โž• Added TypeScript declaration file
  • v2.2.0 Changes

    December 19, 2017

    โž• Added

    • onChange callback function is now given the id prop that the user has given as the third argument.

    ๐Ÿ›  Fixed

    • ๐Ÿ‘Œ Improved responsiveness on mobile by removing the 300 ms delay when clicking the background.
    • It is no longer possible to select text while holding down the switch.
    • ๐Ÿšš Highlighting effect when clicking the switch on mobile webkit browsers has been removed.
    • ๐Ÿ›  Fixed bug where dragging the switch would create a strange shadow on IOS.
  • v2.1.0 Changes

    November 22, 2017

    โž• Added

    • onChange callback function is now given the event that activated the callback as a second argument.
  • v2.0.1 Changes

    November 03, 2017

    ๐Ÿ”„ Changed

    • prop-types is switched from peerDependency to dependency. This should reduce frustration for devs who don't use prop-types in their project, but shouldn't affect anyone else.
  • v2.0.0 Changes

    October 31, 2017

    โž• Added

    • โž• Added some keywords

    ๐Ÿ”„ Changed

    • ๐Ÿ‘Œ Improved demo with best practices for labels.
    • README clarifications
  • v2.0.0-rc.2 Changes

    October 13, 2017

    ๐Ÿ”จ Refactor

    • The switch no longer uses the opacity hack to transition between color. This involved stacking two divs on top of each other and varying the opacity of the top div. This caused some weird visual artifacts.

    ๐Ÿ”„ Changed

    • ๐Ÿ‘ onColor and offColor props can now only take colors in the form of '#xxxxxx'. Gradients and rgb(xxx, xxx, xxx) are no longer supported.
    • ๐Ÿ– handleColor prop is replaced by onHandleColor and offHandleColor.
    • 0๏ธโƒฃ The boxShadow the handle gets when selected is now available in the activeBoxShadow prop. The boxShadow prop is now the boxShadow the handle has when it is not selected, and is null by default.

    ๐Ÿ›  Fixed

    • The switch no longer has a pixel wide gloria of the offColor when checked.

    โœ‚ Removed

    • ๐Ÿšš activeHandleColor prop is removed because of lack of usefulness.
  • v2.0.0-rc.1 Changes

    October 08, 2017

    โž• Added

    • ๐Ÿ†• New prop boxShadow. It acts just like outline, but I called it boxShadow since that is the actual css attribute that is being controlled.
    • ๐Ÿ†• New props checkedIcon and uncheckedIcon. They have a checkmark and an x as default. Custom elements can be given as icons or the boolean value 'false', which will remove icons.

    ๐Ÿ”จ Refactor

    • ๐Ÿšš Dependency on 'react-draggable' is removed and replaced with new drag logic.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Glitch related to faulty 'inTransition' state fixed due to inTransition no longer existing.
  • v1.2.0 Changes

    September 29, 2017

    ๐Ÿ›  Fixed

    • โœ‚ Removed react and react-dom from dependencies.
    • ๐Ÿ’… Css-file replaced with inline styles to avoid webpack style-loader dependence.

    ๐Ÿ”„ Changed

    • ๐Ÿ’… Cursor style of handle changed to pointer instead of grabbing.