bootstrap5-toggle 4.0.1-alpha → 4.1.0

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/README.md CHANGED
@@ -34,6 +34,8 @@ Project |Description
34
34
  - [Installation](#installation)
35
35
  - [CDN](#cdn)
36
36
  - [Download](#download)
37
+ - [NPM](#npm)
38
+ - [Yarn](#yarn)
37
39
  - [Usage](#usage)
38
40
  - [Initialize With HTML](#initialize-with-html)
39
41
  - [Initialize With Code](#initialize-with-code)
@@ -53,17 +55,27 @@ Project |Description
53
55
 
54
56
  ## CDN
55
57
  ```html
56
- <link href="https://cdn.jsdelivr.net/gh/palcarazm/bootstrap5-toggle@4.0.0/css/bootstrap5-toggle.min.css" rel="stylesheet">
57
- <script src="https://cdn.jsdelivr.net/gh/palcarazm/bootstrap5-toggle@4.0.0/js/bootstrap5-toggle.min.js"></script>
58
+ <link href="https://cdn.jsdelivr.net/gh/palcarazm/bootstrap5-toggle@4.1.0/css/bootstrap5-toggle.min.css" rel="stylesheet">
59
+ <script src="https://cdn.jsdelivr.net/gh/palcarazm/bootstrap5-toggle@4.1.0/js/bootstrap5-toggle.min.js"></script>
58
60
  ```
59
61
 
60
62
  ## Download
61
- [Latest GitHub Release](https://github.com/palcarazm/bootstrap5-toggle/releases/latest)
63
+ [![Latest release](https://img.shields.io/github/v/release/palcarazm/bootstrap5-toggle.svg?display_name=tag&include_prereleases&sort=semver)](https://github.com/palcarazm/bootstrap5-toggle/releases/latest)
64
+
65
+ ## NPM
66
+ ```ksh
67
+ npm install bootstrap5-toggle
68
+ ```
69
+
70
+ ## Yarn
71
+ ```ksh
72
+ yarn add bootstrap5-toggle
73
+ ```
62
74
 
63
75
  # Usage
64
76
 
65
77
  ## Initialize With HTML
66
- Simply add `data-toggle="toggle"` to automatically convert a plain checkbox into a bootstrap 4 toggle.
78
+ Simply add `data-toggle="toggle"` to automatically convert a plain checkbox into a bootstrap 5 toggle.
67
79
 
68
80
  ```html
69
81
  <input id="chkToggle" type="checkbox" data-toggle="toggle">
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Bootstrap Toggle: bootstrap5-toggle.css v4.0.1-alpha
2
+ * Bootstrap Toggle: bootstrap5-toggle.css v4.1.0
3
3
  * https://palcarazm.github.io/bootstrap5-toggle/
4
4
  *
5
5
  * @author 2011-2014 Min Hur (https://github.com/minhur)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bootstrap5-toggle",
3
- "version": "4.0.1-alpha",
3
+ "version": "4.1.0",
4
4
  "author": {
5
5
  "name": "Pablo Alcaraz Martínez",
6
6
  "url": "https://github.com/palcarazm/"