From 65f2c4b603ef0c26c3c85b0246a6a59f59045a43 Mon Sep 17 00:00:00 2001 From: Kartik Visweswaran Date: Wed, 12 Sep 2018 08:42:07 +0530 Subject: [PATCH] Updates to release v1.0.5 --- CHANGE.md | 6 ++++++ README.md | 4 ++-- src/ColorInput.php | 4 +--- src/ColorInputAsset.php | 2 +- src/assets/css/spectrum-kv.css | 2 +- src/assets/css/spectrum-kv.min.css | 2 +- src/assets/js/spectrum-kv.js | 2 +- src/assets/js/spectrum-kv.min.js | 2 +- 8 files changed, 14 insertions(+), 10 deletions(-) diff --git a/CHANGE.md b/CHANGE.md index 8eb8f00..5d63f35 100644 --- a/CHANGE.md +++ b/CHANGE.md @@ -1,6 +1,12 @@ Change Log: `yii2-widget-colorinput` ==================================== +## Version 1.0.5 + +**Date:** 12-Sep-2018 + +- Refactor code to consolidate Trait use. + ## Version 1.0.4 **Date:** 06-Sep-2018 diff --git a/README.md b/README.md index 27fe248..ae8d3d9 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ yii2-widget-colorinput The ColorInput widget is an advanced ColorPicker input styled for Bootstrap. It uses a combination of the HTML5 color input and/or the [JQuery Spectrum Plugin](http://bgrins.github.io/spectrum) for rendering the color picker. You can use the Native HTML5 color input by setting the `useNative` option to `true`. Else, the Spectrum plugin polyfills for unsupported browser versions. -* Specially styled for Bootstrap 3.0 with customizable caption showing the output of the control. +* Specially styled for Bootstrap 3.x and 4.x with customizable caption showing the output of the control. * Ability to prepend and append addons. * Allow the input to be changed both via the control or the text box. * The Spectrum plugin automatically polyfills the `HTML5 color input` for unsupported browser versions. @@ -63,4 +63,4 @@ echo ColorInput::widget([ ## License -**yii2-widget-colorinput** is released under the BSD 3-Clause License. See the bundled `LICENSE.md` for details. \ No newline at end of file +**yii2-widget-colorinput** is released under the BSD-3-Clause License. See the bundled `LICENSE.md` for details. \ No newline at end of file diff --git a/src/ColorInput.php b/src/ColorInput.php index 1fbf866..0e9fcaf 100644 --- a/src/ColorInput.php +++ b/src/ColorInput.php @@ -4,7 +4,7 @@ * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2018 * @package yii2-widgets * @subpackage yii2-widget-colorinput - * @version 1.0.4 + * @version 1.0.5 */ namespace kartik\color; @@ -27,8 +27,6 @@ */ class ColorInput extends Html5Input { - use TranslationTrait; - /** * @var boolean whether to use the native HTML5 color input */ diff --git a/src/ColorInputAsset.php b/src/ColorInputAsset.php index 5707ec9..e3a0ae2 100644 --- a/src/ColorInputAsset.php +++ b/src/ColorInputAsset.php @@ -4,7 +4,7 @@ * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2018 * @package yii2-widgets * @subpackage yii2-widget-colorinput - * @version 1.0.4 + * @version 1.0.5 */ namespace kartik\color; diff --git a/src/assets/css/spectrum-kv.css b/src/assets/css/spectrum-kv.css index 02eb287..9e50c6e 100644 --- a/src/assets/css/spectrum-kv.css +++ b/src/assets/css/spectrum-kv.css @@ -1,6 +1,6 @@ /*! * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2018 - * @version 1.0.4 + * @version 1.0.5 * * Krajee CSS Theme for Spectrum plugin used in `kartik-v/yii2-widget-colorinput` * diff --git a/src/assets/css/spectrum-kv.min.css b/src/assets/css/spectrum-kv.min.css index d3e0dd9..6560850 100644 --- a/src/assets/css/spectrum-kv.min.css +++ b/src/assets/css/spectrum-kv.min.css @@ -1,6 +1,6 @@ /*! * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2018 - * @version 1.0.4 + * @version 1.0.5 * * Krajee CSS Theme for Spectrum plugin used in `kartik-v/yii2-widget-colorinput` * diff --git a/src/assets/js/spectrum-kv.js b/src/assets/js/spectrum-kv.js index 55afa42..331e970 100644 --- a/src/assets/js/spectrum-kv.js +++ b/src/assets/js/spectrum-kv.js @@ -1,6 +1,6 @@ /*! * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2018 - * @version 1.0.4 + * @version 1.0.5 * * Additional jQuery plugin enhancements for ColorInput Spectrum plugin by Krajee. * diff --git a/src/assets/js/spectrum-kv.min.js b/src/assets/js/spectrum-kv.min.js index c38351c..071f521 100644 --- a/src/assets/js/spectrum-kv.min.js +++ b/src/assets/js/spectrum-kv.min.js @@ -1,6 +1,6 @@ /*! * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2018 - * @version 1.0.4 + * @version 1.0.5 * * Additional jQuery plugin enhancements for ColorInput Spectrum plugin by Krajee. *