bootstrap5-toggle 4.3.4 → 4.3.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # Changelog
2
+
2
3
  All notable changes to this project will be documented in this file.
3
4
 
4
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
@@ -6,126 +7,208 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
7
 
7
8
  ## Unreleased
8
9
 
9
- ## [4.3.4](https://github.com/palcaraz/bootstrap5-toggle/tree/v4.3.4) 2022-10-09
10
- ### [Full Changelog](https://github.com/palcaraz/bootstrap5-toggle/compare/v4.3.3...v4.3.4)
10
+ ### [Full Changelog](https://github.com/palcarazm/bootstrap5-toggle/compare/v4.3.6...v4)
11
+
12
+ ## [4.3.6](https://github.com/palcarazm/bootstrap5-toggle/tree/v4.3.6) 2022-12-19
13
+
14
+ ### [Full Changelog](https://github.com/palcarazm/bootstrap5-toggle/compare/v4.3.5...v4.3.6)
15
+
16
+ ### Fixed
17
+
18
+ - fix: Remove attribute for if there is no ID Fixes #80 (co-authored-by [@DarkNami](https://github.com/DarkNami))
19
+
20
+ ### Bump
21
+
22
+ - bump: Bump cypress from 11.2.0 to 12.1.0
23
+ - bump: Bump jquery from 3.6.1 to 3.6.2
24
+
25
+ ## [4.3.5](https://github.com/palcarazm/bootstrap5-toggle/tree/v4.3.5) 2022-11-23
26
+
27
+ ### [Full Changelog](https://github.com/palcarazm/bootstrap5-toggle/compare/v4.3.4...v4.3.5)
28
+
29
+ ### Bump
30
+
31
+ - bump: Bump Bootstrap from 5.2.2 to 5.2.3
32
+ - bump: Bump Cypress from 10.3.0 to 11.0.1
33
+
34
+ ## [4.3.4](https://github.com/palcarazm/bootstrap5-toggle/tree/v4.3.4) 2022-10-09
35
+
36
+ ### [Full Changelog](https://github.com/palcarazm/bootstrap5-toggle/compare/v4.3.3...v4.3.4)
37
+
11
38
  ### Fixed
12
- * fix: Handle's background color of outline toggles on hover or focus (#71)
13
39
 
14
- ## [4.3.3](https://github.com/palcaraz/bootstrap5-toggle/tree/v4.3.3) 2022-10-07
15
- ### [Full Changelog](https://github.com/palcaraz/bootstrap5-toggle/compare/v4.3.2...v4.3.3)
40
+ - fix: Handle's background color of outline toggles on hover or focus (#71)
41
+
42
+ ## [4.3.3](https://github.com/palcarazm/bootstrap5-toggle/tree/v4.3.3) 2022-10-07
43
+
44
+ ### [Full Changelog](https://github.com/palcarazm/bootstrap5-toggle/compare/v4.3.2...v4.3.3)
45
+
16
46
  ### Changed
17
- * refactor: More specific CSS selectors
18
- * Update dependencies. Support for Bootstrap v5.2.2
19
47
 
20
- ## [4.3.2](https://github.com/palcaraz/bootstrap5-toggle/tree/v4.3.2) 2022-08-08
21
- ### [Full Changelog](https://github.com/palcaraz/bootstrap5-toggle/compare/v4.3.1...v4.3.2)
48
+ - refactor: More specific CSS selectors
49
+ - Update dependencies. Support for Bootstrap v5.2.2
50
+
51
+ ## [4.3.2](https://github.com/palcarazm/bootstrap5-toggle/tree/v4.3.2) 2022-08-08
52
+
53
+ ### [Full Changelog](https://github.com/palcarazm/bootstrap5-toggle/compare/v4.3.1...v4.3.2)
54
+
22
55
  ### Fixed
23
- * fix: Transparent inner border (#55) by @palcarazm in https://github.com/palcarazm/bootstrap5-toggle/pull/58
24
56
 
25
- ## [4.3.1](https://github.com/palcaraz/bootstrap5-toggle/tree/v4.3.1) 2022-07-28
26
- ### [Full Changelog](https://github.com/palcaraz/bootstrap5-toggle/compare/v4.3.0...v4.3.1)
57
+ - fix: Transparent inner border (#55) by @palcarazm in https://github.com/palcarazmm/bootstrap5-toggle/pull/58
58
+
59
+ ## [4.3.1](https://github.com/palcarazm/bootstrap5-toggle/tree/v4.3.1) 2022-07-28
60
+
61
+ ### [Full Changelog](https://github.com/palcarazm/bootstrap5-toggle/compare/v4.3.0...v4.3.1)
62
+
27
63
  ### Fixed
28
- * fix: Toggle stay hover on Bootstrap 5.2.0 (#51) by @palcarazm in https://github.com/palcarazm/bootstrap5-toggle/pull/52
29
64
 
30
- ## [4.3.0](https://github.com/palcaraz/bootstrap5-toggle/tree/v4.3.0) 2022-07-25
31
- ### [Full Changelog](https://github.com/palcaraz/bootstrap5-toggle/compare/v4.2.0...v4.3.0)
65
+ - fix: Toggle stay hover on Bootstrap 5.2.0 (#51) by @palcarazm in https://github.com/palcarazmm/bootstrap5-toggle/pull/52
66
+
67
+ ## [4.3.0](https://github.com/palcarazm/bootstrap5-toggle/tree/v4.3.0) 2022-07-25
68
+
69
+ ### [Full Changelog](https://github.com/palcarazm/bootstrap5-toggle/compare/v4.2.0...v4.3.0)
70
+
32
71
  ### Added
33
- * feat: Distribution of ECMAS lib (#2) by @palcarazm in https://github.com/palcarazm/bootstrap5-toggle/pull/36
34
- * feat: Support readonly attribute (#35) by @palcarazm in https://github.com/palcarazm/bootstrap5-toggle/pull/37
35
- * feat: Toggles focusable from the keyboard (#38) by @palcarazm in https://github.com/palcarazm/bootstrap5-toggle/pull/41
36
- * feat: Switch toggle from keyboard (#39) by @palcarazm in https://github.com/palcarazm/bootstrap5-toggle/pull/42
37
- * feat: Custom value for on and off state on form submit (#34) by @palcarazm in https://github.com/palcarazm/bootstrap5-toggle/pull/43
38
- * feat: Tristate toggle (#40) by @palcarazm in https://github.com/palcarazm/bootstrap5-toggle/pull/47
39
-
40
- ## [4.2.0](https://github.com/palcaraz/bootstrap5-toggle/tree/v4.2.0) 2022-07-12
41
- ### [Full Changelog](https://github.com/palcaraz/bootstrap5-toggle/compare/v4.1.0...v4.2.0)
72
+
73
+ - feat: Distribution of ECMAS lib (#2) by @palcarazm in https://github.com/palcarazmm/bootstrap5-toggle/pull/36
74
+ - feat: Support readonly attribute (#35) by @palcarazm in https://github.com/palcarazmm/bootstrap5-toggle/pull/37
75
+ - feat: Toggles focusable from the keyboard (#38) by @palcarazm in https://github.com/palcarazmm/bootstrap5-toggle/pull/41
76
+ - feat: Switch toggle from keyboard (#39) by @palcarazm in https://github.com/palcarazmm/bootstrap5-toggle/pull/42
77
+ - feat: Custom value for on and off state on form submit (#34) by @palcarazm in https://github.com/palcarazmm/bootstrap5-toggle/pull/43
78
+ - feat: Tristate toggle (#40) by @palcarazm in https://github.com/palcarazmm/bootstrap5-toggle/pull/47
79
+
80
+ ## [4.2.0](https://github.com/palcarazm/bootstrap5-toggle/tree/v4.2.0) 2022-07-12
81
+
82
+ ### [Full Changelog](https://github.com/palcarazm/bootstrap5-toggle/compare/v4.1.0...v4.2.0)
83
+
42
84
  ### Added
43
- * feat: Support toggle silent method by @palcarazm in https://github.com/palcarazm/bootstrap5-toggle/pull/30
85
+
86
+ - feat: Support toggle silent method by @palcarazm in https://github.com/palcarazmm/bootstrap5-toggle/pull/30
87
+
44
88
  ### Changed
45
- * feat: Remove btn-light from handle by @palcarazm in https://github.com/palcarazm/bootstrap5-toggle/pull/21
46
- * feat: Change default btn off class to secondary by @palcarazm in https://github.com/palcarazm/bootstrap5-toggle/pull/22
89
+
90
+ - feat: Remove btn-light from handle by @palcarazm in https://github.com/palcarazmm/bootstrap5-toggle/pull/21
91
+ - feat: Change default btn off class to secondary by @palcarazm in https://github.com/palcarazmm/bootstrap5-toggle/pull/22
92
+
47
93
  ### Fixed
48
- * fix: Handle border color and btn-light border color by @palcarazm in https://github.com/palcarazm/bootstrap5-toggle/pull/17
49
- * fix: Render in input-group by @palcarazm in https://github.com/palcarazm/bootstrap5-toggle/pull/29
50
94
 
51
- ## [4.1.0](https://github.com/palcaraz/bootstrap5-toggle/tree/v4.1.0) 2022-06-30
52
- ### [Full Changelog](https://github.com/palcaraz/bootstrap5-toggle/compare/v4.0.0...v4.1.0)
95
+ - fix: Handle border color and btn-light border color by @palcarazm in https://github.com/palcarazmm/bootstrap5-toggle/pull/17
96
+ - fix: Render in input-group by @palcarazm in https://github.com/palcarazmm/bootstrap5-toggle/pull/29
97
+
98
+ ## [4.1.0](https://github.com/palcarazm/bootstrap5-toggle/tree/v4.1.0) 2022-06-30
99
+
100
+ ### [Full Changelog](https://github.com/palcarazm/bootstrap5-toggle/compare/v4.0.0...v4.1.0)
101
+
53
102
  ### Added
103
+
54
104
  - feat: support for npm and yarn
55
105
 
56
- ## [4.0.0](https://github.com/palcaraz/bootstrap5-toggle/tree/v4.0.0) 2022-06-30
57
- ### [Full Changelog](https://github.com/palcaraz/bootstrap5-toggle/compare/v3.6.0...v4.0.0)
106
+ ## [4.0.0](https://github.com/palcarazm/bootstrap5-toggle/tree/v4.0.0) 2022-06-30
107
+
108
+ ### [Full Changelog](https://github.com/palcarazm/bootstrap5-toggle/compare/v3.6.0...v4.0.0)
109
+
58
110
  ### Added
111
+
59
112
  - feat: support for Boostrap 5
60
113
 
61
114
  ## [3.6.0](https://github.com/gitbrent/bootstrap4-toggle/tree/v3.6.0) 2019-10-17
115
+
62
116
  ### [Full Changelog](https://github.com/gitbrent/bootstrap4-toggle/compare/v3.5.0...v3.6.0)
117
+
63
118
  ### Added
119
+
64
120
  - 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))
65
121
  - Added accessibility properties to labels [\#11](https://github.com/gitbrent/bootstrap4-toggle/issue/11) ([aproquot](https://github.com/aproquot))
122
+
66
123
  ### Changed
124
+
67
125
  - Fixed URLs in js and css file top comment [\#5](https://github.com/gitbrent/bootstrap4-toggle/issue/5) ([wilecoyte78](https://github.com/wilecoyte78))
68
126
  - Disable style is not working [\#18](https://github.com/gitbrent/bootstrap4-toggle/issue/18) ([rychlym](https://github.com/rychlym))
69
127
 
70
128
  ## [3.5.0](https://github.com/gitbrent/bootstrap4-toggle/tree/v3.5.0) 2019-07-02
129
+
71
130
  ### [Full Changelog](https://github.com/gitbrent/bootstrap4-toggle/compare/v3.4.0...v3.5.0)
131
+
72
132
  ### Added
133
+
73
134
  - Added ARIA `role="button"` tag to toggle
74
135
  - Added `cursor: pointer;` style to toggle
136
+
75
137
  ### Changed
138
+
76
139
  - Fixed: Touch not working on mobile [\#2](https://github.com/gitbrent/bootstrap4-toggle/issue/2) ([wilecoyte78](https://github.com/wilecoyte78))
77
140
  - Updated to Bootstrap version 4.3.1
78
141
  - Updated README with better Yarn instructions
79
142
 
80
143
  ## [3.4.0](https://github.com/gitbrent/bootstrap4-toggle/tree/v3.4.0) 2019-01-03
144
+
81
145
  ### [Full Changelog](https://github.com/gitbrent/bootstrap4-toggle/compare/v3.3.0...v3.4.0)
146
+
82
147
  ### Added
148
+
83
149
  - Outline button styles are now available
150
+
84
151
  ### Changed
152
+
85
153
  - Updated to Bootstrap version 4.2.1
86
154
 
87
155
  ## [3.3.0](https://github.com/gitbrent/bootstrap4-toggle/tree/v3.3.0) 2018-12-19
156
+
88
157
  ### [Full Changelog](https://github.com/gitbrent/bootstrap4-toggle/compare/v3.2.0...v3.3.0)
158
+
89
159
  ### Added
160
+
90
161
  - New test created to compare core bootstrap sizes to bootstrap4-toggle
162
+
91
163
  ### Changed
164
+
92
165
  - Introduced new `size` values that mirror bootstrap 4: (`lg`, `sm`, `xs`)
93
166
  - Converted all css units from `px` to `rem`
94
167
  - Properly added border on `light` button (moved from .toggle class)
168
+
95
169
  ### Removed
96
- **DEPRECATED** Classic `size` values (`large`, `small`, `mini`)
97
170
 
171
+ **DEPRECATED** Classic `size` values (`large`, `small`, `mini`)
98
172
 
99
173
  ## [3.2.0](https://github.com/gitbrent/bootstrap4-toggle/tree/v3.2.0) 2018-11-27
174
+
100
175
  ### [Full Changelog](https://github.com/gitbrent/bootstrap4-toggle/compare/v3.1.0...v3.2.0)
176
+
101
177
  ### Added
178
+
102
179
  ### Changed
103
- - Removed permanent `active` state from "Off" label so mouse-over highlighting works the same as "On"
104
- ### Removed
105
180
 
181
+ - Removed permanent `active` state from "Off" label so mouse-over highlighting works the same as "On"
106
182
 
183
+ ### Removed
107
184
 
108
185
  ## [3.1.0](https://github.com/gitbrent/bootstrap4-toggle/tree/v3.1.0) 2018-10-25
186
+
109
187
  ### [Full Changelog](https://github.com/gitbrent/bootstrap4-toggle/compare/v3.0.0...v3.1.0)
188
+
110
189
  ### Added
190
+
111
191
  - `index.html` includes new section with dark mode colors
192
+
112
193
  ### Changed
194
+
113
195
  - `index.html` now fully responsive, better menu, rearranged sections
114
196
  - Tweaked `border` property to work with all backgrounds and colors
115
- ### Removed
116
-
117
197
 
198
+ ### Removed
118
199
 
119
200
  ## [3.0.0](https://github.com/gitbrent/bootstrap4-toggle/tree/v3.0.0) 2018-10-21
201
+
120
202
  ### [Full Changelog](https://github.com/gitbrent/bootstrap4-toggle/compare/v2.2.2...v3.0.0)
203
+
121
204
  ### Added
205
+
122
206
  - Touch support
207
+
123
208
  ### Changed
209
+
124
210
  - Implements Bootstrap 4 colors/styles
211
+
125
212
  ### Removed
126
- - Old Bootstrap 2 files
127
213
 
128
- [Unreleased]: https://github.com/gitbrent/bootstrap4-toggle/compare/v1.9.0...HEAD
129
- [3.2.0]: https://github.com/gitbrent/bootstrap4-toggle/compare/v3.1.0...v3.2.0
130
- [3.1.0]: https://github.com/gitbrent/bootstrap4-toggle/compare/v3.0.0...v3.1.0
131
- [3.0.0]: https://github.com/gitbrent/bootstrap4-toggle/compare/v2.2.2...v3.0.0
214
+ - Old Bootstrap 2 files
package/LICENSE CHANGED
@@ -1,23 +1,23 @@
1
- The MIT License (MIT)
2
-
3
- - Copyright (c) 2011-2014 Min Hur, The New York Times Company
4
- - Copyright (c) 2018-2019 Brent Ely
5
- - Copyright (c) 2022 Pablo Alcaraz Martínez
6
-
7
- Permission is hereby granted, free of charge, to any person obtaining a copy
8
- of this software and associated documentation files (the "Software"), to deal
9
- in the Software without restriction, including without limitation the rights
10
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
- copies of the Software, and to permit persons to whom the Software is
12
- furnished to do so, subject to the following conditions:
13
-
14
- The above copyright notice and this permission notice shall be included in
15
- all copies or substantial portions of the Software.
16
-
17
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
- THE SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ - Copyright (c) 2011-2014 Min Hur, The New York Times Company
4
+ - Copyright (c) 2018-2019 Brent Ely
5
+ - Copyright (c) 2022 Pablo Alcaraz Martínez
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy
8
+ of this software and associated documentation files (the "Software"), to deal
9
+ in the Software without restriction, including without limitation the rights
10
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
11
+ copies of the Software, and to permit persons to whom the Software is
12
+ furnished to do so, subject to the following conditions:
13
+
14
+ The above copyright notice and this permission notice shall be included in
15
+ all copies or substantial portions of the Software.
16
+
17
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23
+ THE SOFTWARE.