File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,12 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
5
5
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
7
- ## [ 1.2.0] - 2019-??-??
7
+ ## [ 1.2.0] - 2019-12-05
8
8
### Added
9
9
- Added missing methods to typescript defs [ \# 11] ( https://github.com/gitbrent/bootstrap-switch-button-react/issue/11 ) ([ evark] ( https://github.com/evark ) )
10
+ ### Changed
11
+ - Replaced inner ` label ` tags with ` span ` for accessibility
12
+ - Updated demo to bootstrap 4.4.1
10
13
11
14
## [ 1.1.0] - 2019-07-29
12
15
### Added
Original file line number Diff line number Diff line change 13
13
< meta charset ="utf-8 ">
14
14
< meta name ="viewport " content ="width=device-width, initial-scale=1, shrink-to-fit=no ">
15
15
< title > Bootstrap Switch Button for React</ title >
16
- < link rel ="stylesheet " href ="https://stackpath.bootstrapcdn.com/bootstrap/4.3 .1/css/bootstrap.min.css " integrity ="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T " crossorigin ="anonymous ">
16
+ < link rel ="stylesheet " href ="https://stackpath.bootstrapcdn.com/bootstrap/4.4 .1/css/bootstrap.min.css " integrity ="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh " crossorigin ="anonymous ">
17
17
< link rel ="stylesheet " href ="https://cdnjs.cloudflare.com/ajax/libs/prism/1.15.0/themes/prism-okaidia.min.css ">
18
18
< link rel ="stylesheet " href ="https://use.fontawesome.com/releases/v5.4.1/css/all.css " integrity ="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz " crossorigin ="anonymous ">
19
19
< style >
@@ -115,9 +115,9 @@ <h3 class="alert-heading text-dark">Made for Bootstrap 4!</h3>
115
115
< h2 > Installation</ h2 >
116
116
< hr />
117
117
< h3 class ="text-secondary mt-4 "> NPM</ h3 >
118
- < pre > < code class ="language-bash "> npm i bootstrap-switch-button-react --save-dev </ code > </ pre >
118
+ < pre > < code class ="language-bash "> npm i bootstrap-switch-button-react --save</ code > </ pre >
119
119
< h3 class ="text-secondary mt-4 "> Yarn</ h3 >
120
- < pre > < code class ="language-bash "> yarn install bootstrap-switch-button-react</ code > </ pre >
120
+ < pre > < code class ="language-bash "> yarn add bootstrap-switch-button-react</ code > </ pre >
121
121
</ section >
122
122
123
123
< section id ="usage " class ="container my-5 d-none d-sm-none d-md-block ">
You can’t perform that action at this time.
0 commit comments