Skip to content

Commit

Permalink
Merge pull request #2 from angel-vladov/bs4.2
Browse files Browse the repository at this point in the history
Nodejs package rename for npm publish
  • Loading branch information
angel-vladov authored May 21, 2018
2 parents 4fb6048 + 089601c commit 6f0e9f1
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
21 changes: 17 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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).
Expand Down Expand Up @@ -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.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "select2-bootstrap-theme",
"name": "select2-bs4-theme",
"description": "A theme for Select2 v4 and Bootstrap 4.",
"keywords": [
"bootstrap",
Expand All @@ -20,7 +20,7 @@
"components"
],
"dependencies": {
"bootstrap": "^4.0.0-beta",
"bootstrap": "^4.0.0",
"select2": "^4.0.0"
},
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 6f0e9f1

Please sign in to comment.