bootstrap-colorpicker
Advanced tools
Comparing version 3.1.2 to 3.2.0
{ | ||
"name": "bootstrap-colorpicker", | ||
"version": "3.1.2", | ||
"version": "3.2.0", | ||
"description": "Bootstrap Colorpicker is a modular color picker plugin for Bootstrap 4.", | ||
"main": "./dist/js/bootstrap-colorpicker.js", | ||
"homepage": "https://farbelous.github.io/bootstrap-colorpicker/", | ||
"homepage": "https://itsjavi.com/bootstrap-colorpicker/", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/farbelous/bootstrap-colorpicker.git" | ||
"url": "https://github.com/itsjavi/bootstrap-colorpicker.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/farbelous/bootstrap-colorpicker/issues" | ||
"url": "https://github.com/itsjavi/bootstrap-colorpicker/issues" | ||
}, | ||
@@ -22,2 +22,3 @@ "keywords": [ | ||
"bootstrap": ">=4.0", | ||
"popper.js": ">=1.10", | ||
"jquery": ">=2.1.0" | ||
@@ -28,4 +29,4 @@ }, | ||
"start": "node_modules/.bin/http-server ./build/docs", | ||
"lint": "node_modules/.bin/eslint ./src/js ./*.js ./test", | ||
"lint-fix": "node_modules/.bin/eslint --fix ./src/js ./*.js ./test", | ||
"lint": "node_modules/.bin/eslint ./src/js ./*.js ./tests", | ||
"lint-fix": "node_modules/.bin/eslint --fix ./src/js ./*.js ./tests", | ||
"build": "gulp clean && gulp dist && gulp docs && gulp docs:add-v2-docs", | ||
@@ -39,30 +40,30 @@ "build-dist": "gulp dist", | ||
"ava": "^0.23.0", | ||
"babel-cli": "^6.26.0", | ||
"babel-eslint": "^8.0.2", | ||
"babel-cli": "^6.24.1", | ||
"babel-eslint": "^10.0.3", | ||
"babel-loader": "^7.1.2", | ||
"babel-plugin-add-module-exports": "^0.2.1", | ||
"babel-preset-env": "^1.6.1", | ||
"color": "^3.0.0", | ||
"babel-plugin-add-module-exports": "^0.3.2", | ||
"babel-preset-env": "^1.7.0", | ||
"color": "^3.1.2", | ||
"del": "^3.0.0", | ||
"eslint": "^4.11.0", | ||
"eslint-loader": "^1.9.0", | ||
"eslint": "^6.7.2", | ||
"eslint-loader": "^3.0.2", | ||
"gh-pages": "^1.0.0", | ||
"gulp": "^3.9.1", | ||
"gulp-autoprefixer": "^4.0.0", | ||
"gulp-clean-css": "^3.9.0", | ||
"gulp-clean-css": "^3.9.4", | ||
"gulp-compile-handlebars": "^0.6.1", | ||
"gulp-header": "^1.8.9", | ||
"gulp-rename": "^1.2.2", | ||
"gulp-header": "^1.8.12", | ||
"gulp-rename": "^1.2.3", | ||
"gulp-sass": "^2.3.2", | ||
"gulp-shell": "^0.6.3", | ||
"gulp-sourcemaps": "^2.6.1", | ||
"gulp-string-replace": "^1.1.1", | ||
"gulp-shell": "^0.6.5", | ||
"gulp-sourcemaps": "^2.6.5", | ||
"gulp-string-replace": "^1.1.2", | ||
"handlebars-layouts": "^3.1.4", | ||
"http-server": "^0.10.0", | ||
"jsdoc": "^3.5.5", | ||
"jsdom": "^11.3.0", | ||
"jsdoc": "^3.6.3", | ||
"jsdom": "^11.12.0", | ||
"run-sequence": "^2.2.1", | ||
"uglifyjs-webpack-plugin": "^1.0.1", | ||
"webpack": "^3.8.1", | ||
"webpack-stream": "^4.0.0" | ||
"uglifyjs-webpack-plugin": "^1.3.0", | ||
"webpack": "^4.41.2", | ||
"webpack-stream": "^5.2.1" | ||
}, | ||
@@ -69,0 +70,0 @@ "ava": { |
@@ -1,2 +0,2 @@ | ||
<a class="readme-logo" href="https://farbelous.io/bootstrap-colorpicker"> | ||
<a class="readme-logo" href="https://itsjavi.com/bootstrap-colorpicker"> | ||
<img alt="Logo by @reallinfo" src="logo.png" width="128px" /> | ||
@@ -9,5 +9,5 @@ </a> | ||
[Bootstrap Colorpicker](https://github.com/farbelous/bootstrap-colorpicker/) is a modular color picker plugin for Bootstrap 4. | ||
[Bootstrap Colorpicker](https://github.com/itsjavi/bootstrap-colorpicker/) is a modular color picker plugin for Bootstrap 4. | ||
[![Build Status](https://img.shields.io/travis/farbelous/bootstrap-colorpicker/master.svg?style=flat-square)](https://travis-ci.org/farbelous/bootstrap-colorpicker) | ||
[![Build Status](https://img.shields.io/travis/itsjavi/bootstrap-colorpicker/master.svg?style=flat-square)](https://travis-ci.org/itsjavi/bootstrap-colorpicker) | ||
[![npm](https://img.shields.io/npm/v/bootstrap-colorpicker.svg?style=flat-square)](https://www.npmjs.com/package/bootstrap-colorpicker) | ||
@@ -18,4 +18,4 @@ | ||
- Downloading [a ZIP file from the releases](https://github.com/farbelous/bootstrap-colorpicker/releases) | ||
- Cloning using Git: `git clone https://github.com/farbelous/bootstrap-colorpicker.git` | ||
- Downloading [a ZIP file from the releases](https://github.com/itsjavi/bootstrap-colorpicker/releases) | ||
- Cloning using Git: `git clone https://github.com/itsjavi/bootstrap-colorpicker.git` | ||
- Installing via NPM: `npm install bootstrap-colorpicker` | ||
@@ -43,4 +43,4 @@ - Installing via Yarn: `yarn add bootstrap-colorpicker` | ||
<td> | ||
<a href="https://github.com/farbelous/bootstrap-colorpicker/tree/v2.x">v2.x</a> <br> | ||
<a href="https://farbelous.github.io/bootstrap-colorpicker/v2">Documentation</a> | ||
<a href="https://github.com/itsjavi/bootstrap-colorpicker/tree/v2.x">v2.x</a> <br> | ||
<a href="https://itsjavi.com/bootstrap-colorpicker/v2">Documentation</a> | ||
</td> | ||
@@ -57,4 +57,4 @@ <td>(any)</td> | ||
<td> | ||
<a href="https://github.com/farbelous/bootstrap-colorpicker">v3.x</a> <br> | ||
<a href="https://farbelous.github.io/bootstrap-colorpicker">Documentation</a> | ||
<a href="https://github.com/itsjavi/bootstrap-colorpicker">v3.x</a> <br> | ||
<a href="https://itsjavi.com/bootstrap-colorpicker">Documentation</a> | ||
</td> | ||
@@ -111,10 +111,10 @@ <td>Bootstrap 4</td> | ||
## Contributions | ||
* [Issues](https://github.com/farbelous/bootstrap-colorpicker/issues) | ||
* [Pull Requests](https://github.com/farbelous/bootstrap-colorpicker/pulls) | ||
* [Milestones](https://github.com/farbelous/bootstrap-colorpicker/milestones) | ||
* [Planned Features](https://github.com/farbelous/bootstrap-colorpicker/projects) | ||
* [Issues](https://github.com/itsjavi/bootstrap-colorpicker/issues) | ||
* [Pull Requests](https://github.com/itsjavi/bootstrap-colorpicker/pulls) | ||
* [Milestones](https://github.com/itsjavi/bootstrap-colorpicker/milestones) | ||
* [Planned Features](https://github.com/itsjavi/bootstrap-colorpicker/projects) | ||
This project exists thanks to all the [people who contribute](https://github.com/farbelous/bootstrap-colorpicker/graphs/contributors). | ||
This project exists thanks to all the [people who contribute](https://github.com/itsjavi/bootstrap-colorpicker/graphs/contributors). | ||
Please read [CONTRIBUTING](https://github.com/farbelous/bootstrap-colorpicker/blob/master/.github/CONTRIBUTING.md) | ||
Please read [CONTRIBUTING](https://github.com/itsjavi/bootstrap-colorpicker/blob/master/.github/CONTRIBUTING.md) | ||
before sending a pull request or issue. | ||
@@ -124,3 +124,3 @@ | ||
The MIT License (MIT). | ||
Please see the [License File](https://github.com/farbelous/bootstrap-colorpicker/blob/master/LICENSE) for more information. | ||
Please see the [License File](https://github.com/itsjavi/bootstrap-colorpicker/blob/master/LICENSE) for more information. | ||
@@ -127,0 +127,0 @@ ## Credits |
@@ -54,2 +54,3 @@ 'use strict'; | ||
let colorStr = this.colorpicker.colorHandler.getColorString(); | ||
let styles = {'background': colorStr}; | ||
@@ -56,0 +57,0 @@ |
@@ -154,2 +154,3 @@ 'use strict'; | ||
let fallback = this.resolveColorDelegate(this.fallback); | ||
let color = new ColorItem(fallback, this.format); | ||
@@ -156,0 +157,0 @@ |
@@ -16,2 +16,3 @@ 'use strict'; | ||
let colorPickerIdCounter = 0; | ||
let root = (typeof self !== 'undefined' ? self : this); // window | ||
@@ -18,0 +19,0 @@ |
@@ -112,2 +112,3 @@ 'use strict'; | ||
let hexColor = this.color.toHexString(); | ||
let alphaBg = ''; | ||
@@ -114,0 +115,0 @@ |
@@ -78,2 +78,3 @@ 'use strict'; | ||
.options.slidersHorz : this.colorpicker.options.sliders; | ||
let sliderClasses = []; | ||
@@ -130,2 +131,3 @@ | ||
let zone = target.closest('div'); | ||
let sliders = this.colorpicker.options.horizontal ? this.colorpicker | ||
@@ -132,0 +134,0 @@ .options.slidersHorz : this.colorpicker.options.sliders; |
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 too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
8722
0
1
840060
3
29
+ Addedpopper.js@>=1.10
+ Addedpopper.js@1.16.1(transitive)