Releases: simonwep/pickr
Releases · simonwep/pickr
v1.4.1
- Add: New
padding
option to specify the space betweenel
and pickr.
- Add: Very basic Accessibility support (currently only in English)
v1.4.0
Changelog:
- Add: New
getSelectedColor()
function to get the currently selected color. Can be null
if no color was selected.
- Add:
container
option to specify the parent of pcr-app
#138 .
- Change: Export
resolveElement
function which supports >>>
as shadow-dom selector.
v.1.3.0
Changelog:
- Add: All themes now have vendor-prefixes.
- Add: Auto-detect swatch and select it.
- Fix: Broken
.hide()
and .show()
functions if inline: true
.
v1.2.6
Changelog:
- Change: Center pickr on small devices.
v1.2.4
Changelog:
- Add: New
hide
, show
and changestop
events.
- Fix: Visibility issues with safari.
- Fix: Infinity firing animation listener.
v1.2.3
Changelog:
- Add: New
clear
and cancel
events.
- Change:
change
gets fired on swatchselect
.
- Fix: Pickr does not stick somewhere if repositioning fails.
- Fix: Update local representation (used by
getColorRepresentation
) on setColor
.
v1.2.2
Changelog:
- Add: Export
Moveable
, Nanopop
, Selectable
and HSVaColor
in Pickr.libs
.
- Add:
swatchselect
also fires change
.
- Fix: Space-consuming if invisible or not yet re-positioned.
- Fix: Possible error on
destroyAndRemove
if useAsButton
is true.
v1.2.1
Changelog:
- Add: New
autoReposition
option #115
- Improve: Hide opacity bar if
lockOpacity
is true #117
- Fix: Issue with floating-point RGBA in safari.
v1.2.0
Changelog:
- Add: New
lockColor
option to move pickr in a non-alpha mode. #107
- Improve: Better color parsing, prevent entering alpha values on non-alpha types (e.g. rgb).
- Fix: Better swatch alignment if not that many where added.