Colour Swatches
Version 1.7.0
Added
- Added GraphQL support
Changed
- Code cleanup
Version 1.6.0
Changed
- Provided a first level class property to set custom css classes
Version 1.5.2
Changed
- Changed
{% spaceless %}
to{% apply spaceless %}
for twig 2.9 support
Version 1.5.1
Changed
- It is now possible to also use string keys as indices rather than integers only. #82 ( thanks to @timeverts )
Version 1.5.0.4
Fixed
- Fixed issue where active class was not showing up correctly #78
Version 1.5.0.3
Changed
- Downgraded Craft requirement to 3.3.0
Version 1.5.0.2
Fixed
- Fixed an issue where saving entries could still throw an internal server 500 error if it occured before updating. ( thanks to @ammannbe )
Version 1.5.0.1
Changed
- Plugin Icon
- Plugin Assets
Version 1.5.0
Changed
- Removed the labels for the time being
- Updated the config file
Version 1.4.2.1
Fixed
- changed stylesheet to override the box shadow that Craft changed See #72(https://github.com/percipioglobal/craft-colour-swatches/issues/72) && #73(https://github.com/percipioglobal/craft-colour-swatches/issues/73)
Version 1.4.2
- Vizy Support Added ( thanks to @engram-design )
Version 1.4.1.1
- Fixes #59(https://github.com/percipioglobal/craft-colour-swatches/issues/59); another colour/color bug.
Version 1.4.1
Fixed
- Fixes issue #32(https://github.com/percipioglobal/craft-colour-swatches/issues/32) where required field was not honoured
- Fixed issue #56(https://github.com/percipioglobal/craft-colour-swatches/issues/56) where default color was not set when saving entry
Changed
- Dropped support for
colour
in twig templates in favour of the W3C css color property keyword - all field color output references now requirecolor
Added
- Added preview support for gradients in entry table columns
Version 1.4.0
Migrate namespace from rias to percipioglobal after upgrade. Also converted config php to 'colors' instead of 'colours'. Still supports 'colours' for older versions. Fixes issues (#36, #50)
Version 1.3.3
Fixed bugs introduced in last release by not checking the default configuration settings - Apologies. New features coming in next release! Fixes issues (#44, #45, #46, #47)
Version 1.3.2
ElementInterface updated to allow colour preview for custom arrays. Fixes issue #42 fieldValue conditions for standard colour strings updated to reflect null update in version 1.3.1. Fixes issue #43
Version 1.3.1
Updated save function to ensure custom array fields remain selected on resave / edit Allowed switch between config or palette option in field settings
Version 1.3.0.1
temp fixed broken settings page, expect more robust repair next week :)
Version 1.3.0
Added
- Custom attributes are now available via the colour-swatches.php config file for both single and multiple colours.
- Updated config.php example using updated options and examples
- Fixed issue #34
Version 1.2.9
Added
- An element index preview based on Craft's default colour picker. Thanks @pixelmachine for the great PR!
Fixed
- Fix spelling for https://github.com/percipioglobal/craft-colour-swatches/issues/37. Thanks @pixelmachine for the great PR!
Version 1.2.7
Fixed
- Fix default value being reset
Version 1.2.6
Fixed
- Actual fix for default
Version 1.2.5
Fixed
- Fixed the default option not being set
Version 1.2.4
Added
- background pattern to show transparent color option
Version 1.2.2
Added
- Adds functionality to return comma separated label value as an array. Thanks @chasegiunta
Version 1.2.1
Added
- Added the possibility to define palettes in the config file. Thanks @chasegiunta for the great PR!
Version 1.2.0
Added
- Added the possibility to define the colours in a config file and have the field use them.
Version 1.1.4
Fixed
- Fix a JS error when deselecting the colour
- Default value is now correctly filled
- Removed focus outline from buttons
Version 1.1.3
Changed
- Improve design for colours when selecting light colours.
Version 1.1.2
Added
- Colours are now parse for references so you can add globals.
Version 1.1.1
Changed
- New design for the colours thanks to @skramstad
- Colours can now be unchecked
Version 1.1.0
Added
- Added the possibility to split the colours by using
;
, which allows forrgba()
colours to be defined.
Changed
- Now requires Craft CMS 3.0.0
Version 1.0.6
Fixed
- Fix a regression
Version 1.0.5
Fixed
- Fixes an error when saving a draft and having a colour field inside a matrix
Version 1.0.4
Fixed
- Fixed an error when the field was empty and would throw a
__toString
error
Version 1.0.3
Fixed
- Fixed an issue with field access
Version 1.0.1
Fixed
- Fixed a bug where accessing a label that wasn't there would throw an exception
Version 1.0.0
Added
- Initial release