Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

Releases: itsjavi/bootstrap-colorpicker

3.0.0-beta.3

22 Jul 03:10
Compare
Choose a tag to compare

2.5.3

22 Jul 03:11
Compare
Choose a tag to compare
  • fixes: sliders not working when color has no hue
  • removes bower support

v2.5.0

02 Feb 11:36
Compare
Choose a tag to compare
  • Bootstrap is no longer a dependency
  • Fix: Use mousedown to prevent a focusout firing before click is handled #198
  • Fix: Webpack support #199 (plugin factory refactoring)
  • Fix: Trigger change event when color picked #192
  • Feature: new option hexNumberSignPrefix to allow hex color without initial hash #191

v2.4.0

29 Dec 01:04
Compare
Choose a tag to compare

Lots of bug fixes and improvements:

  • Bootstrap is no longer a bower dependency
  • Fixed some demos and updated docs with new options
  • Fixed color selectos display problem
  • Added some useful rules for visibility classes
  • Is now possible to initialize the plugin using another parent than main window
  • Fixed cancellation of input change event and colorpicker child element events
  • New options for setting the fallback color and format (before it was always black and hex)
  • Fixed click/tap on mobile devices
  • Other UI fixes and improvements (like saturation disappearing)

This fixes #161, fixes #186, fixes #184, fixes #183, fixes #182, closes #180, fixes #178, closes #172,
fixes #87, fixes #127, closes #157, fixes #162,
fixes #168, closes #153 and fixes #140 .

Happy Holidays! 🎄

v2.3.5

16 Sep 00:43
Compare
Choose a tag to compare

API Improvements

Now it's possible to use the full Colorpicker class API, using the jQuery plugin API.
Examples:

// Get the format property of the instance
var format = $('.colorpicker-element:first').colorpicker('format');
console.log(format); // "hex"

// Getting values only works for single elements, otherwise a jQuery object will be returned.
var format = $('.colorpicker-element').colorpicker('format');
console.log(format); // jQuery object
var value = $('.colorpicker-element').colorpicker('getValue');
console.log(value); // jQuery object

// Show all colorpickers (calls show() for all color pickers)
$('.colorpicker-element').colorpicker('show');

// Change color of all colorpickers to red (calls setValue('red') for all color pickers)
$('.colorpicker-element').colorpicker('setValue', 'red');

2.3.0

11 Aug 10:25
Compare
Choose a tag to compare
  • Custom color selectors with aliases
  • Browserify support
  • Fixes:
    • Paste color code
    • setValue will update the color properly
  • other minor changes

2.2.0

21 Jun 15:39
Compare
Choose a tag to compare
  • Improved project metadata
  • Make jshint pass
  • .editorconfig support and changed coding style
  • Combined doc files into one (index.html)
  • jQuery 2.x compatibility

2.1.2

20 May 09:34
Compare
Choose a tag to compare
  • Custom widget size support (see the documentation demos)
  • Added custom class option
  • Fixed and updated bower, package and dist files
  • Fixes #84 and #111

2.1.1

01 Apr 15:29
Compare
Choose a tag to compare
  • Fixes bug #110 with #109
  • composer.json support

2.1.0

18 Feb 12:25
Compare
Choose a tag to compare
  • Support of 'transparent' color value
  • Updated docs
  • Colorpicker will no longer change the selector and component color if the input is empty
  • Bower will no longer prompt for the bootstrap version
  • disable and enable events now trigger properly
  • Fix in the string parsers #104