From 072f1f4dab9905956b71f375c21e946097cbb5ea Mon Sep 17 00:00:00 2001 From: Angel Vladov Date: Mon, 21 May 2018 11:52:41 +0300 Subject: [PATCH 1/3] nodejs package name; version change --- README.md | 11 ++++++++--- bower.json | 4 ++-- package.json | 4 ++-- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index d0bf3ec..99bb1ab 100755 --- a/README.md +++ b/README.md @@ -18,13 +18,13 @@ You may install select2-bootstrap-theme with [Bower](https://bower.io/), [npm](h ```shell // Bower -bower install select2-bootstrap-theme +bower install select2-bs4-theme // npm -npm install select2-bootstrap-theme +npm install select2-bs4-theme // yarn -yarn add select2-bootstrap-theme +yarn add select2-bs4-theme ``` ##### Source select2-bootstrap-theme from CDNJS or jsDelivr @@ -56,6 +56,11 @@ $.fn.select2.defaults.set( "theme", "bootstrap" ); #### Changelog +##### 0.2.0-beta.1 +_Fork from Bootsrap 3 theme._ + +* Switched to Bootstrap 4. All styles updated to work with Bootstrap 4 instead of 3. + ##### 0.1.0-beta.10 * Compiled with grunt-sass v2.0.0 (was v1.2.1). diff --git a/bower.json b/bower.json index 8141d73..b3343c6 100755 --- a/bower.json +++ b/bower.json @@ -1,5 +1,5 @@ { - "name": "select2-bootstrap-theme", + "name": "select2-bs4-theme", "description": "A theme for Select2 v4 and Bootstrap 4.", "keywords": [ "bootstrap", @@ -20,7 +20,7 @@ "components" ], "dependencies": { - "bootstrap": "^4.0.0-beta", + "bootstrap": "^4.0.0", "select2": "^4.0.0" }, "repository": { diff --git a/package.json b/package.json index dca3ea6..bff0858 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { - "name": "select2-bootstrap-theme", - "version": "0.1.0-beta.10", + "name": "select2-bs4-theme", + "version": "0.2.0-beta.1", "description": "A theme for Select2 v4 and Bootstrap 4.", "main": "", "style": "select2-bootstrap.css", From 4511c1bfdd8f35f0e146fc70a120f3759a86bd81 Mon Sep 17 00:00:00 2001 From: Angel Vladov Date: Mon, 21 May 2018 22:39:56 +0300 Subject: [PATCH 2/3] additional readme updates --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 99bb1ab..af5c1b0 100755 --- a/README.md +++ b/README.md @@ -57,8 +57,7 @@ $.fn.select2.defaults.set( "theme", "bootstrap" ); #### Changelog ##### 0.2.0-beta.1 -_Fork from Bootsrap 3 theme._ - +* _Forked from Bootsrap 3 theme._ * Switched to Bootstrap 4. All styles updated to work with Bootstrap 4 instead of 3. ##### 0.1.0-beta.10 @@ -153,6 +152,13 @@ Develop in `src/select2-bootstrap.scss` and test your changes using `grunt serve `grunt scss2less` helps in converting the Sass source to its Less counterpart (and overwrites the existing `src/select2-bootstrap.less`), but doesn't do the full job – please review the changes to the Less source file and make the necessary adjustments. +#### TODO +* Drop LESS support and update scripts. Bootstrap 4 is SASS only. +* Add RTL version +* Update shield.io badge + #### Copyright and license +Forked and modified from [select2 Bootstrap 3 theme](https://github.com/select2/select2-bootstrap-theme). All credits go to the original authors. + The license is available within the repository in the [LICENSE](LICENSE) file. From 089601c808bb84a83c3d462da3eb842feefc9ffe Mon Sep 17 00:00:00 2001 From: Angel Vladov Date: Mon, 21 May 2018 22:41:57 +0300 Subject: [PATCH 3/3] readme cdn section commented --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index af5c1b0..c977514 100755 --- a/README.md +++ b/README.md @@ -29,7 +29,9 @@ yarn add select2-bs4-theme ##### Source select2-bootstrap-theme from CDNJS or jsDelivr -select2-bootstrap-theme [is also available on CDNJS](https://cdnjs.com/libraries/select2-bootstrap-theme/) and [jsDelivr](http://www.jsdelivr.com/projects/select2-bootstrap-theme). +~~select2-bootstrap-theme [is also available on CDNJS](https://cdnjs.com/libraries/select2-bootstrap-theme/) and [jsDelivr](http://www.jsdelivr.com/projects/select2-bootstrap-theme).~~ + +**TBD** #### Usage