Version 1.7.0

July 8, 2022

Added

  • Added GraphQL support

Changed

  • Code cleanup

Version 1.6.0

June 2, 2022

Changed

  • Provided a first level class property to set custom css classes

Version 1.5.2

April 27, 2021

Changed

  • Changed {% spaceless %} to {% apply spaceless %} for twig 2.9 support

Version 1.5.1

March 7, 2021

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

December 13, 2021

Fixed

  • Fixed issue where active class was not showing up correctly #78

Version 1.5.0.3

December 13, 2021

Changed

  • Downgraded Craft requirement to 3.3.0

Version 1.5.0.2

December 13, 2021

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

December 10, 2021

Changed

  • Plugin Icon
  • Plugin Assets

Version 1.5.0

December 10, 2021

Changed

  • Removed the labels for the time being
  • Updated the config file

Version 1.5.0-RC.1

December 9, 2021

Added

  • Added labels in the colour swatches for better accessibility (part of #71)
  • Added extra checks if config file doesn't contain the correct indexes #62

Fixed

  • Fixed an issue where the default values were not respected when used within a supertable field #59
  • Fixed an issue where updating the config file wouldn't take effect on a resave #55
  • Fixed an issue where the selected color wouldn't always be highlighted in the entry page #72

Version 1.4.2.1

November 17, 2021

Fixed

Version 1.4.2

August 31, 2021
  • Vizy Support Added ( thanks to @engram-design )

Version 1.4.1.1

December 11, 2020

Version 1.4.1

December 9, 2020

Fixed

Changed

  • Dropped support for colour in twig templates in favour of the W3C css color property keyword - all field color output references now require color

Added

  • Added preview support for gradients in entry table columns

Version 1.4.0

September 11, 2020

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

August 19, 2020

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

August 13, 2020

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

August 3, 2020

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

July 31, 2020

temp fixed broken settings page, expect more robust repair next week :)

Version 1.3.0

July 27, 2020

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

July 25, 2020

Added

  • An element index preview based on Craft's default colour picker. Thanks @pixelmachine for the great PR!

Fixed

Version 1.2.7

January 3, 2020

Fixed

  • Fix default value being reset

Version 1.2.6

December 18, 2019

Fixed

  • Actual fix for default

Version 1.2.5

December 18, 2019

Fixed

  • Fixed the default option not being set

Version 1.2.4

October 27, 2019

Added

  • background pattern to show transparent color option

Version 1.2.2

March 7, 2019

Added

  • Adds functionality to return comma separated label value as an array. Thanks @chasegiunta

Version 1.2.1

February 22, 2019

Added

  • Added the possibility to define palettes in the config file. Thanks @chasegiunta for the great PR!

Version 1.2.0

February 1, 2019

Added

  • Added the possibility to define the colours in a config file and have the field use them.

Version 1.1.4

July 30, 2018

Fixed

  • Fix a JS error when deselecting the colour
  • Default value is now correctly filled
  • Removed focus outline from buttons

Version 1.1.3

June 28, 2018

Changed

  • Improve design for colours when selecting light colours.

Version 1.1.2

May 21, 2018

Added

  • Colours are now parse for references so you can add globals.

Version 1.1.1

May 21, 2018

Changed

  • New design for the colours thanks to @skramstad
  • Colours can now be unchecked

Version 1.1.0

April 5, 2018

Added

  • Added the possibility to split the colours by using ;, which allows for rgba() colours to be defined.

Changed

  • Now requires Craft CMS 3.0.0

Version 1.0.6

February 11, 2018

Fixed

  • Fix a regression

Version 1.0.5

February 11, 2018

Fixed

  • Fixes an error when saving a draft and having a colour field inside a matrix

Version 1.0.4

January 24, 2018

Fixed

  • Fixed an error when the field was empty and would throw a __toString error

Version 1.0.3

January 19, 2018

Fixed

  • Fixed an issue with field access

Version 1.0.1

January 15, 2018

Fixed

  • Fixed a bug where accessing a label that wasn't there would throw an exception

Version 1.0.0

January 14, 2018

Added

  • Initial release