Skip to content

Releases: mdbassit/Coloris

v0.24.0

12 Apr 08:34
Compare
Choose a tag to compare
  • Accept an HTMLElement or an array of HTMLElements for the el option (#139)
  • Accept an HTMLElement for the parent option (#139)
  • Make right-click on the saturation-brightness area behave identically to a click (#141)
  • Remove inline styles to conform to a strict a Content Security Policy (CSP) header

v0.23.0

05 Mar 10:34
Compare
Choose a tag to compare
  • Remove a workaround for a now fixed Chromium bug where the alpha value is rounded incorrectly (#134)
  • More CSS hardening to render the hue and alpha sliders correctly in the presence of some overzealous CSS frameworks

v0.22.0

06 Nov 08:27
Compare
Choose a tag to compare

Expose the DOMReady function in the global Coloris object

v0.21.1

22 Aug 12:10
Compare
Choose a tag to compare

Fix a occasional race condition on Firefox (#117)

v0.21.0

30 Jun 11:19
Compare
Choose a tag to compare

Usability improvements

  • Allow manually clearing the color by deleting its value (#104)
  • Mirror selection from the original input field into the color picker's input field (#105)
  • Increase the hue and alpha sliders thumb size to improve usability on iOS/iPadOS devices (#109)

v0.20.0

04 Jun 06:16
Compare
Choose a tag to compare

The current input field is now passed to the onChange callback in addition to the selected color (#103)

v0.19.0

20 Apr 05:11
Compare
Choose a tag to compare

Accessibility improvements

  • Trap the focus within the color picker while it's open #87
  • Always focus the first element when opening the color picker using the keyboard
  • Improve the focus outline of the close button

v0.18.0

13 Feb 04:12
Compare
Choose a tag to compare

New features

  • Add a new onChange callback to the settings
  • Add option to activate basic right-to-left tweaks
  • Allow individual right-to-left color fields

Fixes and enhancements

  • Add "name" attribute to input fields by @melloware in #77
  • Add missing break in switch statement by @melloware in #82
  • Fix incorrect color marker position in inline mode

v0.17.1

16 Jan 02:21
Compare
Choose a tag to compare

Fix a style bug in the polaroid theme

v0.17.0

14 Jan 06:30
Compare
Choose a tag to compare

Accessibility fixes

  • Always show focus rings when using keyboard navigation.
  • Add an optional visible close button.
  • Add a more accessible label to the clear button.

Bugfixes

  • Fix color marker out of bounds (#72). Thanks @royeden!
  • The style is now more resilient to pollution from CSS frameworks.

Other

  • Various documentation updates.