Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not clicking on phone bs 4.3.1 #213

Open
wants to merge 130 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
7b61214
removed bootstrap-2 files
gitbrent Oct 18, 2018
58b6471
Updated to v3.0.0 ; Added touch support
gitbrent Oct 18, 2018
85c9c93
removed old NYT images
gitbrent Oct 18, 2018
bb110b9
Support for Boostrap 4
gitbrent Oct 18, 2018
dd2dfe9
Updated to Boostrap 4
gitbrent Oct 18, 2018
4c86b3b
updated for 3.0.0
gitbrent Oct 18, 2018
8205cf3
updated min files
gitbrent Oct 18, 2018
443d8e9
updated to version 3.0.0
gitbrent Oct 18, 2018
b849351
updated navbar and github buttons
gitbrent Oct 18, 2018
6999ea7
updated license
gitbrent Oct 19, 2018
b9ae545
updated footer
gitbrent Oct 19, 2018
62e02e6
footer update
gitbrent Oct 19, 2018
9e12e7c
updated copyright
gitbrent Oct 19, 2018
c4b3410
minor update
gitbrent Oct 19, 2018
e6ec8fb
update min files and (c)
gitbrent Oct 19, 2018
2cff4b1
updated for new fork version
gitbrent Oct 20, 2018
ae445fb
minor fix
gitbrent Oct 20, 2018
a3537f6
minor formatting
gitbrent Oct 20, 2018
5404965
renamed package
gitbrent Oct 20, 2018
945828c
added touch support
gitbrent Oct 20, 2018
ff7feb0
lots of UI updates
gitbrent Oct 20, 2018
fdccb29
renamed project to "bootstrap4-toggle"
gitbrent Oct 20, 2018
3f6c775
fixed hyphen
gitbrent Oct 20, 2018
9e1aab4
finished rename and updates to bootstrap 4.1
gitbrent Oct 21, 2018
14377f6
renamed files
gitbrent Oct 21, 2018
0e9e5d9
rename work
gitbrent Oct 21, 2018
5cfa76b
renamed package
gitbrent Oct 21, 2018
ad1869d
formatting fixes
gitbrent Oct 21, 2018
688e63d
updated for new version
gitbrent Oct 21, 2018
400256f
updated styles for bootstrap-4
gitbrent Oct 21, 2018
009bc59
removed git buttons in mast-head
gitbrent Oct 21, 2018
5a3cdcd
minor update
gitbrent Oct 21, 2018
afce014
replaced last "default" style
gitbrent Oct 21, 2018
11bdfc4
replaced last "default" style
gitbrent Oct 21, 2018
d144838
rpelaced min files
gitbrent Oct 21, 2018
5b579c6
added NPM install
gitbrent Oct 21, 2018
b6ab3e8
removed bower install
gitbrent Oct 21, 2018
be88cc2
updated Installation
gitbrent Oct 21, 2018
e094d8e
added log files
gitbrent Oct 21, 2018
06160f1
added Yarn installation
gitbrent Oct 21, 2018
6879ad8
added `files` for webpack
gitbrent Oct 21, 2018
28a083a
fixes for v3.0.1
gitbrent Oct 22, 2018
2f933e3
minor update
gitbrent Oct 22, 2018
bdd7d24
updated to 3.0.1-beta
gitbrent Oct 22, 2018
45d59ae
updated to 3.0.1
gitbrent Oct 22, 2018
28d582a
added new section: Dark Theme Colors
gitbrent Oct 22, 2018
dad23e1
updated min files
gitbrent Oct 22, 2018
83bf445
updated badges; doc formatting and updates
gitbrent Oct 23, 2018
327f31c
updated var names/formatting
gitbrent Oct 23, 2018
b0b094c
lots of small fixes
gitbrent Oct 23, 2018
86b4fef
bootstrap upadtes, jquery slim, added gtag
gitbrent Oct 23, 2018
84101e2
updated keywords
gitbrent Oct 23, 2018
13ef4a7
Responsive design done; Moved Demos to the top
gitbrent Oct 25, 2018
cb31957
updated for 3.1.0
gitbrent Oct 26, 2018
6045882
added changelog
gitbrent Oct 26, 2018
6fca460
updated for 3.1.0
gitbrent Oct 26, 2018
50a4023
updated for 3.1.0
gitbrent Oct 26, 2018
6e4b179
brand new background
gitbrent Oct 26, 2018
222bd49
updated stacked/inline examples to match HTML from Bootstrap docs
gitbrent Oct 26, 2018
d8e1ae0
Doc update; added ToC
gitbrent Oct 31, 2018
a8ce260
added ToC dividers
gitbrent Oct 31, 2018
a18a34b
verbiage updates
gitbrent Oct 31, 2018
d3dfc5f
updated ToC
gitbrent Oct 31, 2018
465a074
Reordered sections and updated basic init
gitbrent Oct 31, 2018
42acbe7
fixed bad CDN link
gitbrent Nov 4, 2018
cdfe2c9
updated site
gitbrent Nov 28, 2018
1e2fc18
updated version
gitbrent Nov 28, 2018
898f7e1
updated mini and yarn lines
gitbrent Nov 28, 2018
e2affd2
removed permanent active state from "Off" label
gitbrent Nov 28, 2018
f0c2d2c
updated to Version 3.2.0
gitbrent Nov 28, 2018
356824d
Added Version 3.2.0
gitbrent Nov 28, 2018
3fd290d
updated links for v3.2.0
gitbrent Nov 28, 2018
5b3a1e4
updated for v3.2.0; added Vulnerabilities badge
gitbrent Nov 28, 2018
e9275da
moved Demos to the top
gitbrent Nov 28, 2018
10c54b3
updated to v3.2.0
gitbrent Nov 28, 2018
61ad78f
added jsdelivr badge
gitbrent Dec 5, 2018
6f23e25
fixed bad "main" file name; updated version
gitbrent Dec 7, 2018
268a17b
updated size names (lg,sm,xs); updated version
gitbrent Dec 7, 2018
2f4b1a3
changed colors in one example
gitbrent Dec 7, 2018
98979d8
updated all sizes to "rem" from "px"
gitbrent Dec 9, 2018
e76b7f0
new test app to compare sizes to core bootstrap
gitbrent Dec 9, 2018
8032013
added v3.3.0
gitbrent Dec 9, 2018
72ba6eb
minor updates and fixes
gitbrent Dec 13, 2018
e87ac60
add compare section
gitbrent Dec 13, 2018
084f56e
updated version
gitbrent Dec 13, 2018
00536fb
fixed border on btn-light
gitbrent Dec 13, 2018
c5b542b
minor update
gitbrent Dec 13, 2018
9f8df26
updated min files for v3.3.0-beta
gitbrent Dec 14, 2018
79ea0d2
minor badge update
gitbrent Dec 19, 2018
c7afbf6
moved to sections; added WIP outline colors
gitbrent Dec 19, 2018
56ad0c3
added Unreleased section
gitbrent Dec 19, 2018
674fa0f
updated version for v3.3.0
gitbrent Dec 20, 2018
1ee2d10
updated for v3.3.0
gitbrent Dec 20, 2018
2832052
updated CDN
gitbrent Dec 20, 2018
355c77b
updated for v3.3.0
gitbrent Dec 20, 2018
bc89740
updated v3.3.0 changes
gitbrent Dec 20, 2018
3284b56
added outline buttons; updated version to 3.4.0-beta
gitbrent Dec 25, 2018
558d3a4
updated for v3.4.0; upgraded bootstrap to v4.2.1
gitbrent Jan 4, 2019
26d1b73
updated for 3.4.0
gitbrent Jan 4, 2019
a8ad340
updated version to 3.5.0-beta
gitbrent Jan 4, 2019
c6a0bf1
new demo gif
gitbrent Mar 13, 2019
a0d4786
added demo gif
gitbrent Mar 13, 2019
572aa3c
added link to `bootstrap-switch-button-react`
gitbrent Mar 29, 2019
bb6e222
added distro table
gitbrent Apr 7, 2019
9f3405b
Fixed demo link; added npm badge
gitbrent Jun 20, 2019
602d0ed
Updated to bootstrap 4.3.1
gitbrent Jul 1, 2019
98324d4
fixed touch not working in 4.3; added aria role tag
gitbrent Jul 2, 2019
9b6c4b1
added 'cursor:pointer' to toggle button
gitbrent Jul 2, 2019
31d5ed6
updated version
gitbrent Jul 2, 2019
33ddf6b
updated for 3.5.0 release
gitbrent Jul 2, 2019
7dcc6cd
Fix for Issue #2
gitbrent Jul 2, 2019
cefa4e9
Added section for 3.5.0
gitbrent Jul 2, 2019
0a9c93c
updated for release 3.5.0
gitbrent Jul 2, 2019
0833be2
updated version
gitbrent Jul 3, 2019
6c83a7a
Fix for Issue #5
gitbrent Aug 24, 2019
26e30d4
Added Issue #5
gitbrent Aug 24, 2019
a908326
comment udpate
gitbrent Oct 10, 2019
a979796
Added disabled style (Issue #18)
gitbrent Oct 10, 2019
4ed093f
Added Issue #18
gitbrent Oct 10, 2019
7e393ab
Added `for` tags to labels for accessibility support (Issue #11)
gitbrent Oct 10, 2019
b590a40
updated min files
gitbrent Oct 10, 2019
1a29543
updated package deps to latest
gitbrent Oct 10, 2019
8424cf6
Added support for silent toggle (Issue #7)
gitbrent Oct 18, 2019
5afc1cb
updated version to 3.7.0-beta
gitbrent Oct 18, 2019
58815b0
updated to version to 3.6.1
gitbrent Oct 18, 2019
91ebe4b
updated CDN to 3.6.1
gitbrent Oct 18, 2019
fc2591f
updated CDN to v3.6.1
gitbrent Oct 18, 2019
ddcae87
updated version to 3.7.0-beta
gitbrent Oct 19, 2019
5d9ae89
Added new section on silent mode
gitbrent Oct 19, 2019
38211b9
added new section for getting checked state
gitbrent Oct 23, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.DS_Store
node_modules
node_modules
*.log
82 changes: 82 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

## [3.7.0](https://github.com/gitbrent/bootstrap4-toggle/tree/v3.7.0) 2019-??-??
### [Full Changelog](https://github.com/gitbrent/bootstrap4-toggle/compare/v3.6.0...v3.7.0)

## [3.6.0](https://github.com/gitbrent/bootstrap4-toggle/tree/v3.6.0) 2019-10-17
### [Full Changelog](https://github.com/gitbrent/bootstrap4-toggle/compare/v3.5.0...v3.6.0)
### Added
- Added option to change toggle without triggering onChange event (silent toggle) [\#7](https://github.com/gitbrent/bootstrap4-toggle/issue/7) ([aswin1980](https://github.com/aswin1980))
- Added accessibility properties to labels [\#11](https://github.com/gitbrent/bootstrap4-toggle/issue/11) ([aproquot](https://github.com/aproquot))
### Changed
- Fixed URLs in js and css file top comment [\#5](https://github.com/gitbrent/bootstrap4-toggle/issue/5) ([wilecoyte78](https://github.com/wilecoyte78))
- Disable style is not working [\#18](https://github.com/gitbrent/bootstrap4-toggle/issue/18) ([rychlym](https://github.com/rychlym))

## [3.5.0](https://github.com/gitbrent/bootstrap4-toggle/tree/v3.5.0) 2019-07-02
### [Full Changelog](https://github.com/gitbrent/bootstrap4-toggle/compare/v3.4.0...v3.5.0)
### Added
- Added ARIA `role="button"` tag to toggle
- Added `cursor: pointer;` style to toggle
### Changed
- Fixed: Touch not working on mobile [\#2](https://github.com/gitbrent/bootstrap4-toggle/issue/2) ([wilecoyte78](https://github.com/wilecoyte78))
- Updated to Bootstrap version 4.3.1
- Updated README with better Yarn instructions

## [3.4.0](https://github.com/gitbrent/bootstrap4-toggle/tree/v3.4.0) 2019-01-03
### [Full Changelog](https://github.com/gitbrent/bootstrap4-toggle/compare/v3.3.0...v3.4.0)
### Added
- Outline button styles are now available
### Changed
- Updated to Bootstrap version 4.2.1

## [3.3.0](https://github.com/gitbrent/bootstrap4-toggle/tree/v3.3.0) 2018-12-19
### [Full Changelog](https://github.com/gitbrent/bootstrap4-toggle/compare/v3.2.0...v3.3.0)
### Added
- New test created to compare core bootstrap sizes to bootstrap4-toggle
### Changed
- Introduced new `size` values that mirror bootstrap 4: (`lg`, `sm`, `xs`)
- Converted all css units from `px` to `rem`
- Properly added border on `light` button (moved from .toggle class)
### Removed
**DEPRECATED** Classic `size` values (`large`, `small`, `mini`)


## [3.2.0](https://github.com/gitbrent/bootstrap4-toggle/tree/v3.2.0) 2018-11-27
### [Full Changelog](https://github.com/gitbrent/bootstrap4-toggle/compare/v3.1.0...v3.2.0)
### Added
### Changed
- Removed permanent `active` state from "Off" label so mouse-over highlighting works the same as "On"
### Removed



## [3.1.0](https://github.com/gitbrent/bootstrap4-toggle/tree/v3.1.0) 2018-10-25
### [Full Changelog](https://github.com/gitbrent/bootstrap4-toggle/compare/v3.0.0...v3.1.0)
### Added
- `index.html` includes new section with dark mode colors
### Changed
- `index.html` now fully responsive, better menu, rearranged sections
- Tweaked `border` property to work with all backgrounds and colors
### Removed



## [3.0.0](https://github.com/gitbrent/bootstrap4-toggle/tree/v3.0.0) 2018-10-21
### [Full Changelog](https://github.com/gitbrent/bootstrap4-toggle/compare/v2.2.2...v3.0.0)
### Added
- Touch support
### Changed
- Implements Bootstrap 4 colors/styles
### Removed
- Old Bootstrap 2 files

[Unreleased]: https://github.com/gitbrent/bootstrap4-toggle/compare/v1.9.0...HEAD
[3.2.0]: https://github.com/gitbrent/bootstrap4-toggle/compare/v3.1.0...v3.2.0
[3.1.0]: https://github.com/gitbrent/bootstrap4-toggle/compare/v3.0.0...v3.1.0
[3.0.0]: https://github.com/gitbrent/bootstrap4-toggle/compare/v2.2.2...v3.0.0
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://gitbrent.github.io/bootstrap4-toggle/
5 changes: 2 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = function(grunt) {
module.exports = function(grunt){
'use strict';

grunt.initConfig({
Expand Down Expand Up @@ -33,5 +33,4 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.registerTask('default', ['clean', 'uglify', 'cssmin']);

};
};
3 changes: 2 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
The MIT License (MIT)

Copyright (c) 2011-2014 Min Hur, The New York Times Company
Copyright (c) 2018 Brent Ely

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +19,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
THE SOFTWARE.
Loading