All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
3.7.0 2019-??-??
3.6.0 2019-10-17
- Added option to change toggle without triggering onChange event (silent toggle) #7 (aswin1980)
- Added accessibility properties to labels #11 (aproquot)
- Fixed URLs in js and css file top comment #5 (wilecoyte78)
- Disable style is not working #18 (rychlym)
3.5.0 2019-07-02
- Added ARIA
role="button"
tag to toggle - Added
cursor: pointer;
style to toggle
- Fixed: Touch not working on mobile #2 (wilecoyte78)
- Updated to Bootstrap version 4.3.1
- Updated README with better Yarn instructions
3.4.0 2019-01-03
- Outline button styles are now available
- Updated to Bootstrap version 4.2.1
3.3.0 2018-12-19
- New test created to compare core bootstrap sizes to bootstrap4-toggle
- Introduced new
size
values that mirror bootstrap 4: (lg
,sm
,xs
) - Converted all css units from
px
torem
- Properly added border on
light
button (moved from .toggle class)
DEPRECATED Classic size
values (large
, small
, mini
)
3.2.0 2018-11-27
- Removed permanent
active
state from "Off" label so mouse-over highlighting works the same as "On"
3.1.0 2018-10-25
index.html
includes new section with dark mode colors
index.html
now fully responsive, better menu, rearranged sections- Tweaked
border
property to work with all backgrounds and colors
3.0.0 2018-10-21
- Touch support
- Implements Bootstrap 4 colors/styles
- Old Bootstrap 2 files