Skip to content

Releases: ava-cassiopeia/simple-switch

Unit Tests, and Fixes Due to Them

20 Jun 05:01
Compare
Choose a tag to compare

First release after adding unit tests to the Simple Switch. Unit tests are not 100% complete, but have already identified a bug; specifically, that the Switch would not acquire the checked state properly from the checkbox element beneath it. This is now fixed.

Material Mode + Small Cleanup

11 Jun 19:42
Compare
Choose a tag to compare

Adds the Material mode to the Switch, which causes the Switch to match the Material.io specification for a Switch UI element.

Dynamic Sizing and CSS Variables

11 Jun 00:57
Compare
Choose a tag to compare

The Switch will now dynamically size itself to the set font size, so that it matches the size of any label it is adjacent to.

This primarily uses CSS Variables to do so, but there is a fallback using the CSS @supports to make sure that this still works on older browsers.

Minor Updates

10 Jun 21:03
Compare
Choose a tag to compare

Minor updates to the core Switch class (mostly internal), and serious improvements to documentation.

First Release

10 Jun 20:46
Compare
Choose a tag to compare

First release; contains basic working model of the code.