- Add support for Bootstrap 4 Beta.
- Remove the
bourbon
dev dependency. Removes most CSS prefixes. - Upgrade Foundation and all dev dependencies.
- Make the switch focus outline match the native focus styles more closely.
- Fix the text jumping to the left on
switch-toggle
bug, happening on Firefox when selecting an item. - Fix the ripple animation on Firefox, on the Material Design theme, by using
visibility
instead ofopacity
for the "show only on focus" trick.
- BREAKING: New HTML markup for
switch-light
, more semantic and with more control over the label and switch widths and placement. - BREAKING: Rename the
android
theme toholo
. - BREAKING: Remove the
less
version because it was unmaintained. switch-toggle
no longer needs theswitch-X
number classes. Just add up to 6 items, no extra classes needed.- New
material
theme, mimicking material design. - Fix issues with enlarged text on
switch-toggle
. - Various tweaks to the
ios
theme. - Change text color of the active option in the
switch-light
candy
theme. - Add bold font-weights to all option labels in the
candy
theme. - Disable text selection of the "on/off" text of the
switch-light
, to fix issues with changing the selection by swiping the switch on mobile. - Change the project file structure, to make it easier to maintain/contribute/add new themes.
- Use
assemble
to build the static documentation site.
- Switch to the MIT license, from Unlicense.
- Upgrade all dependencies to their latest version.
- Fixes for the
.switch-toggle
component when using two elements, caused by thedisplay: table-cell
.
- Remove the fixed-height on the
.switch-toggle
component, allowing it to expand it's height depending on the content. The.switch-light
component still has a fixed height, required because of the absolute positioning. .switch-toggle
now usesdisplay: table
to horizontally arrange the labels, instead of using floats.
- Add UTF-8 charset.
- Complete refactoring to export the CSS with multiple unit types (px, em, rem) by Henjo Hoeksma. We now have 3 different versions that you can use, depending on if and how you want the switch to scale.
- Spacing tweaks for the
switch-android
theme.
- Upgrade bower components.
- Fix bower version issues.
- Initial LESS version.
- More changes to the old-Webkit bug-fix, to fix issues with old Android on tablets.
- Prefix the generic class names for the themes with
.switch-
to avoid conflicts. So now we have.switch-android
,.switch-candy
and.switch-ios
. - Changes to the old-Webkit bug-fix, to try and resolve issues with old Android on new devices (with high density screens).
- Improve the Qunit tests, to bypass issues caused by touch events on some mobile platforms.
- Created Qunit tests for all the themes and switches with multiple options.
- Improve the old-Webkit bug-fix that was mostly visible on mobile devices, to improve device compatibility.
- Change class names for both the checkbox and radio-based switches, to
.switch-light
and.switch-toggle
, to not conflict with other components. - Replace the
.slide-button
element with a simpler anchor tag. - Add compatibility with Foundation 4 for the multiple options switch.
- Remove the Ruby dependency for development, by using grunt-sass instead of the previous grunt-contrib-compass.
- Remove the Compass dependency for development, by using Bourbon instead.
- Various small bug-fixes and improvements in the themes.
- New documentation website for version 2.0.0, with better demos.
- Add color transition on the labels, for the Candy theme.
- Improve the old-Webkit infinite-animation bug-fix, to only target older devices, and avoid the high CPU usage issues on new or large-screen devices.
- Reverse the order of the On/Off switch, to have the Off option first, and be more in line with the UI guidelines of iOS, Android and Windows, for toggle switches.
- Minor improvements to the iOS and Android themes.
- Switched to Sass.
- Support for Bootstrap 3.0.
- Improve the Android and iOS themes.
- Use Grunt to compile the Sass files.
- Use Bower for dependency management in the documentation.
- Bower and Component support.