diff --git a/README.md b/README.md index d0bf3ec..c977514 100755 --- a/README.md +++ b/README.md @@ -18,18 +18,20 @@ 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 -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 @@ -56,6 +58,10 @@ $.fn.select2.defaults.set( "theme", "bootstrap" ); #### Changelog +##### 0.2.0-beta.1 +* _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 * Compiled with grunt-sass v2.0.0 (was v1.2.1). @@ -148,6 +154,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. 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",