Skip to content

Commit 4546ee5

Browse files
committed
updated bootstrap to 4.4.1; minor update to yarn instructions
1 parent debfbe4 commit 4546ee5

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [1.2.0] - 2019-??-??
7+
## [1.2.0] - 2019-12-05
88
### Added
99
- 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
1013

1114
## [1.1.0] - 2019-07-29
1215
### Added

docs/src/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<meta charset="utf-8">
1414
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
1515
<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">
1717
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.15.0/themes/prism-okaidia.min.css">
1818
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous">
1919
<style>
@@ -115,9 +115,9 @@ <h3 class="alert-heading text-dark">Made for Bootstrap 4!</h3>
115115
<h2>Installation</h2>
116116
<hr />
117117
<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>
119119
<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>
121121
</section>
122122

123123
<section id="usage" class="container my-5 d-none d-sm-none d-md-block">

0 commit comments

Comments
 (0)