All Versions
21
Latest Version
Avg Release Cycle
60 days
Latest Release
1203 days ago
Changelog History
Page 2
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.