Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

select2-bootstrap-5-theme

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

select2-bootstrap-5-theme - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

dist/select2-bootstrap-5-theme.rtl.css

5

package.json
{
"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": {

38

README.md
# 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc