select2-bootstrap-5-theme
Advanced tools
Comparing version 1.0.2 to 1.1.0
{ | ||
"name": "select2-bootstrap-5-theme", | ||
"description": "Select2 v4 theme for Bootstrap 5", | ||
"version": "1.0.2", | ||
"version": "1.1.0", | ||
"license": "MIT", | ||
@@ -32,3 +32,4 @@ "author": "Andrew Palfrey <apalfrey@apalfrey.me>", | ||
"dependencies": { | ||
"bootstrap": "5.0.0-beta2" | ||
"bootstrap": "5.0.0-beta2", | ||
"gulp-rtlcss": "^1.4.1" | ||
}, | ||
@@ -35,0 +36,0 @@ "devDependencies": { |
# Select2 Bootstrap 5 Theme | ||
[![npm](https://img.shields.io/npm/v/select2-bootstrap-5-theme?style=for-the-badge)](https://www.npmjs.com/package/select2-bootstrap-5-theme) | ||
[![License](https://img.shields.io/github/license/apalfrey/select2-bootstrap-5-theme?style=for-the-badge)](LICENSE) | ||
[![Dependencies](https://img.shields.io/david/apalfrey/select2-bootstrap-5-theme?style=for-the-badge)](https://david-dm.org/apalfrey/select2-bootstrap-5-theme) | ||
[![GitHub](https://img.shields.io/github/v/release/apalfrey/select2-bootstrap-5-theme?style=flat-square)](https://github.com/apalfrey/select2-bootstrap-5-theme) | ||
[![npm](https://img.shields.io/npm/v/select2-bootstrap-5-theme?style=flat-square)](https://www.npmjs.com/package/select2-bootstrap-5-theme) | ||
[![Packagist Version](https://img.shields.io/packagist/v/apalfrey/select2-bootstrap-5-theme?style=flat-square)](https://packagist.org/packages/apalfrey/select2-bootstrap-5-theme) | ||
[![License](https://img.shields.io/github/license/apalfrey/select2-bootstrap-5-theme?style=flat-square)](LICENSE) | ||
[![Dependencies](https://img.shields.io/david/apalfrey/select2-bootstrap-5-theme?style=flat-square)](https://david-dm.org/apalfrey/select2-bootstrap-5-theme) | ||
@@ -19,3 +21,5 @@ [Select2](https://github.com/select2/select2) v4 theme for Bootstrap 5, inspired by [select2-bootstrap4-theme](https://github.com/ttskch/select2-bootstrap4-theme) | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/css/select2.min.css" /> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/select2-bootstrap-5-theme@1.0.2/dist/select2-bootstrap-5-theme.min.css" /> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/select2-bootstrap-5-theme@1.1.0/dist/select2-bootstrap-5-theme.min.css" /> | ||
<!-- Or for RTL support --> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/select2-bootstrap-5-theme@1.1.0/dist/select2-bootstrap-5-theme.rtl.min.css" /> | ||
``` | ||
@@ -40,2 +44,4 @@ | ||
<link rel="stylesheet" href="/path/to/select2-bootstrap-5-theme.min.css"> | ||
<!-- Or for RTL support --> | ||
<link rel="stylesheet" href="/path/to/select2-bootstrap-5-theme.rtl.min.css"> | ||
``` | ||
@@ -46,3 +52,3 @@ | ||
@import "node_modules/select2/src/scss/core"; | ||
@import "node_modules/select2-bootstrap-5-theme/src/select2-bootstrap-5-theme"; | ||
@import "node_modules/select2-bootstrap-5-theme/src/include-all"; | ||
``` | ||
@@ -76,12 +82,14 @@ | ||
| Task | Description | | ||
| ------------------ | ---------------------------------------------------------------------------------------------------------------------- | | ||
| `gulp` | Cleans the `dist` directory, lints the scss, compiles the dev and min versions, starts browsersync and starts watching | | ||
| `gulp clean` | Cleans the `dist` directory, removing the directory and it's contents | | ||
| `gulp lint` | Lints the scss files using [Stylelint](https://stylelint.io/), see [.stylelintrc](.stylelintrc) and [stylelint-config-twbs-bootstrap](https://github.com/twbs/stylelint-config-twbs-bootstrap) for linting rules | | ||
| `gulp compile` | Lints the scss, compiles the dev and min versions | | ||
| `gulp compile:dev` | Compiles the dev version, saving in `dist` and `examples` | | ||
| `gulp compile:min` | Compiles the min version, saving in `dist` | | ||
| `gulp browsersync` | Sets up a browsersync server serving the `examples` directory for development | | ||
| `gulp watch` | Watches all files in `src`, compiling the scss when changes are detected | | ||
| Task | Description | | ||
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------- | | ||
| `gulp` | Cleans the `dist` directory, lints the scss, compiles the dev and min versions, starts browsersync and starts watching | | ||
| `gulp clean` | Cleans the `dist` directory, removing the directory and it's contents | | ||
| `gulp lint` | Lints the scss files using [Stylelint](https://stylelint.io/), see [.stylelintrc](.stylelintrc) and [stylelint-config-twbs-bootstrap](https://github.com/twbs/stylelint-config-twbs-bootstrap) for linting rules | | ||
| `gulp compile` | Lints the scss, compiles the RTL and LTR dev and min versions | | ||
| `gulp compile:dev` | Compiles the LTR dev version, saving in `dist` and `examples` | | ||
| `gulp compile:min` | Compiles the LTR min version, saving in `dist` | | ||
| `gulp compile:rtl:dev` | Compiles the RTL dev version, saving in `dist` and `examples` | | ||
| `gulp compile:rtl:min` | Compiles the RTL min version, saving in `dist` | | ||
| `gulp browsersync` | Sets up a browsersync server serving the `examples` directory for development | | ||
| `gulp watch` | Watches all files in `src`, compiling the scss when changes are detected | | ||
@@ -88,0 +96,0 @@ ## Contributing |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
123644
18
1006
120
2
+ Addedgulp-rtlcss@^1.4.1
+ Added@choojs/findup@0.2.1(transitive)
+ Addedansi-colors@1.1.0(transitive)
+ Addedansi-styles@3.2.1(transitive)
+ Addedansi-wrap@0.1.0(transitive)
+ Addedarr-diff@4.0.0(transitive)
+ Addedarr-union@3.1.0(transitive)
+ Addedassign-symbols@1.0.0(transitive)
+ Addedchalk@2.4.2(transitive)
+ Addedcolor-convert@1.9.3(transitive)
+ Addedcolor-name@1.1.3(transitive)
+ Addedcommander@2.20.3(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addedescape-string-regexp@1.0.5(transitive)
+ Addedextend-shallow@3.0.2(transitive)
+ Addedgulp-rtlcss@1.4.2(transitive)
+ Addedhas-flag@3.0.0(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedis-extendable@1.0.1(transitive)
+ Addedis-plain-object@2.0.4(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedisobject@3.0.1(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmkdirp@0.5.6(transitive)
+ Addedplugin-error@1.0.1(transitive)
+ Addedpostcss@6.0.23(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedreadable-stream@2.3.8(transitive)
+ Addedrtlcss@2.6.2(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedsource-map@0.5.70.6.1(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedstrip-json-comments@2.0.1(transitive)
+ Addedsupports-color@5.5.0(transitive)
+ Addedthrough2@2.0.5(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedvinyl-sourcemaps-apply@0.2.1(transitive)
+ Addedxtend@4.0.2(transitive)