Skip to content

Commit

Permalink
Prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronef committed Jan 19, 2024
1 parent 6d70069 commit 027eb26
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 6 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# (MODX)EvolutionCMS.snippets.ddColorTools changelog


## Version 3.2 (2023-03-10)
* \+ Parameters → `inputColor`: Supports values with alpha-channel.
* \+ `offset_a`: The new parameter. Allows you to modify alpha-channel.
* \+ `result_tpl` → Placeholders → `[+ddA+]`: The new placeholder.
* \* `\ddTools::getTpl` is used instead of `$modx->getTpl`.
* \* Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.60 is required.


## Version 3.1 (2023-03-10)
* \* Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.57 is required.
* \* Attention! (MODX)EvolutionCMS.snippets.ddGetDocumentField >= 2.11.1 is required.
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG_ru.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# (MODX)EvolutionCMS.snippets.ddColorTools changelog


## Версия 3.2 (2023-03-10)
* \+ Parameters → `inputColor`: Supports values with alpha-channel.
* \+ `offset_a`: The new parameter. Allows you to modify alpha-channel.
* \+ `result_tpl` → Placeholders → `[+ddA+]`: The new placeholder.
* \* `\ddTools::getTpl` is used instead of `$modx->getTpl`.
* \* Attention! (MODX)EvolutionCMS.libraries.ddTools >= 0.60 is required.


## Версия 3.1 (2023-03-10)
* \* Внимание! Требуется (MODX)EvolutionCMS.libraries.ddTools >= 0.57.
* \* Внимание! Требуется (MODX)EvolutionCMS.snippets.ddGetDocumentField >= 2.11.1.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Converts the color to match the offset in tone, brightness, or saturation.
#### 1. Elements → Snippets: Create a new snippet with the following data

1. Snippet name: `ddColorTools`.
2. Description: `<b>3.1</b> Converts the color to match the offset in tone, brightness, or saturation.`.
2. Description: `<b>3.2</b> Converts the color to match the offset in tone, brightness, or saturation.`.
3. Category: `Core`.
4. Parse DocBlock: `no`.
5. Snippet code (php): Insert content of the `ddColorTools_snippet.php` file from the archive.
Expand Down
2 changes: 1 addition & 1 deletion README_ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#### 1. Элементы → Сниппеты: Создайте новый сниппет со следующими параметрами

1. Название сниппета: `ddColorTools`.
2. Описание: `<b>3.1</b> Преобразует цвет в соответствии со смещением по тону, яркости или насыщенности.`.
2. Описание: `<b>3.2</b> Преобразует цвет в соответствии со смещением по тону, яркости или насыщенности.`.
3. Категория: `Core`.
4. Анализировать DocBlock: `no`.
5. Код сниппета (php): Вставьте содержимое файла `ddColorTools_snippet.php` из архива.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "dd/evolutioncms-snippets-ddcolortools",
"type": "modxevo-snippet",
"version": "3.1.0",
"version": "3.2.0",
"description": "Converts the color to match the offset in tone, brightness, or saturation.",
"keywords": [
"modx",
Expand Down
4 changes: 2 additions & 2 deletions ddColorTools_snippet.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
/**
* ddColorTools
* @version 3.1 (2023-03-10)
* @version 3.2 (2023-03-10)
*
* @see README.md
*
* @link https://code.divandesign.ru/modx/ddcolortools
*
* @copyright 2011–2023 Ronef {@link https://Ronef.ru }
* @copyright 2011–2024 Ronef {@link https://Ronef.ru }
*/

//Include (MODX)EvolutionCMS.libraries.ddTools
Expand Down
2 changes: 1 addition & 1 deletion src/Snippet.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

class Snippet extends \DDTools\Snippet {
protected
$version = '3.1.0',
$version = '3.2.0',

$params = [
//Defaults
Expand Down

0 comments on commit 027eb26

Please sign in to comment.