Releases: mdbassit/Coloris
Releases · mdbassit/Coloris
v0.24.0
- 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
- 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
Expose the DOMReady function in the global Coloris object
v0.21.1
Fix a occasional race condition on Firefox (#117)
v0.21.0
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
The current input field is now passed to the onChange callback in addition to the selected color (#103)
v0.19.0
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
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
Fix a style bug in the polaroid theme
v0.17.0
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.