From 11d651b9b2be4b105c090dda6ae089854e5e4355 Mon Sep 17 00:00:00 2001 From: vektor-inc Date: Tue, 24 Sep 2024 12:23:48 +0000 Subject: [PATCH] Update from vk-blocks-pro --- composer.json | 2 +- composer.lock | 142 +++++++++++++++--------------- gulpfile.js | 4 + readme.txt | 10 ++- src/admin/breadcrumb.js | 2 +- src/blocks/alert/icon-info.svg | 1 + src/blocks/alert/icon-success.svg | 1 + src/blocks/alert/icon-warning.svg | 1 + src/blocks/alert/variations.js | 9 +- vk-blocks.php | 4 +- 10 files changed, 97 insertions(+), 79 deletions(-) create mode 100644 src/blocks/alert/icon-info.svg create mode 100644 src/blocks/alert/icon-success.svg create mode 100644 src/blocks/alert/icon-warning.svg diff --git a/composer.json b/composer.json index 43281467..4b3ccf3d 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "vektor-inc/vk-color-palette-manager": "^0.4.0", "vektor-inc/vk-breadcrumb": "^0.2.5", "vektor-inc/vk-term-color": "^0.7.1", - "vektor-inc/vk-css-optimize": "^0.2.2" + "vektor-inc/vk-css-optimize": "^0.2.3" }, "require-dev": { "doctrine/instantiator": "1.5.0", diff --git a/composer.lock b/composer.lock index c93a4b7d..f3f55d5c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "dab2d5ba493793dd93df5d6c5e4978e1", + "content-hash": "5d2f4c66a6a97beb9197f16cc79e2819", "packages": [ { "name": "tgmpa/tgm-plugin-activation", @@ -247,16 +247,16 @@ }, { "name": "vektor-inc/vk-css-optimize", - "version": "0.2.2", + "version": "0.2.3", "source": { "type": "git", "url": "https://github.com/vektor-inc/vk-css-optimize.git", - "reference": "a7b2d30b9b54db80e0706c15f9a8005786e35335" + "reference": "97107832e07dd7c3156fbace05c39ba11b26ba17" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vektor-inc/vk-css-optimize/zipball/a7b2d30b9b54db80e0706c15f9a8005786e35335", - "reference": "a7b2d30b9b54db80e0706c15f9a8005786e35335", + "url": "https://api.github.com/repos/vektor-inc/vk-css-optimize/zipball/97107832e07dd7c3156fbace05c39ba11b26ba17", + "reference": "97107832e07dd7c3156fbace05c39ba11b26ba17", "shasum": "" }, "require-dev": { @@ -282,9 +282,9 @@ "description": "WordPress CSS Optimize", "support": { "issues": "https://github.com/vektor-inc/vk-css-optimize/issues", - "source": "https://github.com/vektor-inc/vk-css-optimize/tree/0.2.2" + "source": "https://github.com/vektor-inc/vk-css-optimize/tree/0.2.3" }, - "time": "2024-02-07T09:07:23+00:00" + "time": "2024-09-23T13:26:12+00:00" }, { "name": "vektor-inc/vk-helpers", @@ -667,16 +667,16 @@ }, { "name": "nikic/php-parser", - "version": "v5.0.2", + "version": "v5.2.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "139676794dc1e9231bf7bcd123cfc0c99182cb13" + "reference": "23c79fbbfb725fb92af9bcf41065c8e9a0d49ddb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/139676794dc1e9231bf7bcd123cfc0c99182cb13", - "reference": "139676794dc1e9231bf7bcd123cfc0c99182cb13", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/23c79fbbfb725fb92af9bcf41065c8e9a0d49ddb", + "reference": "23c79fbbfb725fb92af9bcf41065c8e9a0d49ddb", "shasum": "" }, "require": { @@ -687,7 +687,7 @@ }, "require-dev": { "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + "phpunit/phpunit": "^9.0" }, "bin": [ "bin/php-parse" @@ -719,9 +719,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.0.2" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.2.0" }, - "time": "2024-03-05T20:51:40+00:00" + "time": "2024-09-15T16:40:33+00:00" }, { "name": "phar-io/manifest", @@ -1213,35 +1213,35 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.31", + "version": "9.2.32", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "48c34b5d8d983006bd2adc2d0de92963b9155965" + "reference": "85402a822d1ecf1db1096959413d35e1c37cf1a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/48c34b5d8d983006bd2adc2d0de92963b9155965", - "reference": "48c34b5d8d983006bd2adc2d0de92963b9155965", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/85402a822d1ecf1db1096959413d35e1c37cf1a5", + "reference": "85402a822d1ecf1db1096959413d35e1c37cf1a5", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.18 || ^5.0", + "nikic/php-parser": "^4.19.1 || ^5.1.0", "php": ">=7.3", - "phpunit/php-file-iterator": "^3.0.3", - "phpunit/php-text-template": "^2.0.2", - "sebastian/code-unit-reverse-lookup": "^2.0.2", - "sebastian/complexity": "^2.0", - "sebastian/environment": "^5.1.2", - "sebastian/lines-of-code": "^1.0.3", - "sebastian/version": "^3.0.1", - "theseer/tokenizer": "^1.2.0" + "phpunit/php-file-iterator": "^3.0.6", + "phpunit/php-text-template": "^2.0.4", + "sebastian/code-unit-reverse-lookup": "^2.0.3", + "sebastian/complexity": "^2.0.3", + "sebastian/environment": "^5.1.5", + "sebastian/lines-of-code": "^1.0.4", + "sebastian/version": "^3.0.2", + "theseer/tokenizer": "^1.2.3" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^9.6" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -1250,7 +1250,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "9.2-dev" + "dev-main": "9.2.x-dev" } }, "autoload": { @@ -1279,7 +1279,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.31" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.32" }, "funding": [ { @@ -1287,7 +1287,7 @@ "type": "github" } ], - "time": "2024-03-02T06:37:42+00:00" + "time": "2024-08-22T04:23:01+00:00" }, { "name": "phpunit/php-file-iterator", @@ -1532,45 +1532,45 @@ }, { "name": "phpunit/phpunit", - "version": "9.6.19", + "version": "9.6.21", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "a1a54a473501ef4cdeaae4e06891674114d79db8" + "reference": "de6abf3b6f8dd955fac3caad3af7a9504e8c2ffa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a1a54a473501ef4cdeaae4e06891674114d79db8", - "reference": "a1a54a473501ef4cdeaae4e06891674114d79db8", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/de6abf3b6f8dd955fac3caad3af7a9504e8c2ffa", + "reference": "de6abf3b6f8dd955fac3caad3af7a9504e8c2ffa", "shasum": "" }, "require": { - "doctrine/instantiator": "^1.3.1 || ^2", + "doctrine/instantiator": "^1.5.0 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", "ext-mbstring": "*", "ext-xml": "*", "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.10.1", - "phar-io/manifest": "^2.0.3", - "phar-io/version": "^3.0.2", + "myclabs/deep-copy": "^1.12.0", + "phar-io/manifest": "^2.0.4", + "phar-io/version": "^3.2.1", "php": ">=7.3", - "phpunit/php-code-coverage": "^9.2.28", - "phpunit/php-file-iterator": "^3.0.5", + "phpunit/php-code-coverage": "^9.2.32", + "phpunit/php-file-iterator": "^3.0.6", "phpunit/php-invoker": "^3.1.1", - "phpunit/php-text-template": "^2.0.3", - "phpunit/php-timer": "^5.0.2", - "sebastian/cli-parser": "^1.0.1", - "sebastian/code-unit": "^1.0.6", + "phpunit/php-text-template": "^2.0.4", + "phpunit/php-timer": "^5.0.3", + "sebastian/cli-parser": "^1.0.2", + "sebastian/code-unit": "^1.0.8", "sebastian/comparator": "^4.0.8", - "sebastian/diff": "^4.0.3", - "sebastian/environment": "^5.1.3", - "sebastian/exporter": "^4.0.5", - "sebastian/global-state": "^5.0.1", - "sebastian/object-enumerator": "^4.0.3", - "sebastian/resource-operations": "^3.0.3", - "sebastian/type": "^3.2", + "sebastian/diff": "^4.0.6", + "sebastian/environment": "^5.1.5", + "sebastian/exporter": "^4.0.6", + "sebastian/global-state": "^5.0.7", + "sebastian/object-enumerator": "^4.0.4", + "sebastian/resource-operations": "^3.0.4", + "sebastian/type": "^3.2.1", "sebastian/version": "^3.0.2" }, "suggest": { @@ -1615,7 +1615,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.19" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.21" }, "funding": [ { @@ -1631,7 +1631,7 @@ "type": "tidelift" } ], - "time": "2024-04-05T04:35:58+00:00" + "time": "2024-09-19T10:50:18+00:00" }, { "name": "sebastian/cli-parser", @@ -2598,16 +2598,16 @@ }, { "name": "sirbrillig/phpcs-variable-analysis", - "version": "v2.11.18", + "version": "v2.11.19", "source": { "type": "git", "url": "https://github.com/sirbrillig/phpcs-variable-analysis.git", - "reference": "ca242a0b7309e0f9d1f73b236e04ecf4ca3248d0" + "reference": "bc8d7e30e2005bce5c59018b7cdb08e9fb45c0d1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sirbrillig/phpcs-variable-analysis/zipball/ca242a0b7309e0f9d1f73b236e04ecf4ca3248d0", - "reference": "ca242a0b7309e0f9d1f73b236e04ecf4ca3248d0", + "url": "https://api.github.com/repos/sirbrillig/phpcs-variable-analysis/zipball/bc8d7e30e2005bce5c59018b7cdb08e9fb45c0d1", + "reference": "bc8d7e30e2005bce5c59018b7cdb08e9fb45c0d1", "shasum": "" }, "require": { @@ -2652,20 +2652,20 @@ "source": "https://github.com/sirbrillig/phpcs-variable-analysis", "wiki": "https://github.com/sirbrillig/phpcs-variable-analysis/wiki" }, - "time": "2024-04-13T16:42:46+00:00" + "time": "2024-06-26T20:08:34+00:00" }, { "name": "squizlabs/php_codesniffer", - "version": "3.10.1", + "version": "3.10.3", "source": { "type": "git", "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", - "reference": "8f90f7a53ce271935282967f53d0894f8f1ff877" + "reference": "62d32998e820bddc40f99f8251958aed187a5c9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/8f90f7a53ce271935282967f53d0894f8f1ff877", - "reference": "8f90f7a53ce271935282967f53d0894f8f1ff877", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/62d32998e820bddc40f99f8251958aed187a5c9c", + "reference": "62d32998e820bddc40f99f8251958aed187a5c9c", "shasum": "" }, "require": { @@ -2732,7 +2732,7 @@ "type": "open_collective" } ], - "time": "2024-05-22T21:24:41+00:00" + "time": "2024-09-18T10:38:58+00:00" }, { "name": "theseer/tokenizer", @@ -2889,7 +2889,7 @@ }, { "name": "wp-phpunit/wp-phpunit", - "version": "5.9.9", + "version": "5.9.10", "source": { "type": "git", "url": "https://github.com/wp-phpunit/wp-phpunit.git", @@ -2937,16 +2937,16 @@ }, { "name": "yoast/phpunit-polyfills", - "version": "1.1.1", + "version": "1.1.2", "source": { "type": "git", "url": "https://github.com/Yoast/PHPUnit-Polyfills.git", - "reference": "a0f7d708794a738f328d7b6c94380fd1d6c40446" + "reference": "e9c8413de4c8ae03d2923a44f17d0d7dad1b96be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Yoast/PHPUnit-Polyfills/zipball/a0f7d708794a738f328d7b6c94380fd1d6c40446", - "reference": "a0f7d708794a738f328d7b6c94380fd1d6c40446", + "url": "https://api.github.com/repos/Yoast/PHPUnit-Polyfills/zipball/e9c8413de4c8ae03d2923a44f17d0d7dad1b96be", + "reference": "e9c8413de4c8ae03d2923a44f17d0d7dad1b96be", "shasum": "" }, "require": { @@ -2961,7 +2961,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.x-dev" + "dev-main": "3.x-dev" } }, "autoload": { @@ -2996,7 +2996,7 @@ "security": "https://github.com/Yoast/PHPUnit-Polyfills/security/policy", "source": "https://github.com/Yoast/PHPUnit-Polyfills" }, - "time": "2024-04-05T16:01:51+00:00" + "time": "2024-09-06T22:03:10+00:00" } ], "aliases": [], diff --git a/gulpfile.js b/gulpfile.js index 0f1d6994..d2d4e4b7 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -76,6 +76,10 @@ gulp.task('helper-js-pro', (done) => { .pipe(uglify()) .pipe(rename('vk-animation.min.js')) .pipe(gulp.dest('./build/')); + gulp.src('src/blocks/_pro/breadcrumb/view.js') + .pipe(uglify()) + .pipe(rename('vk-breadcrumb.min.js')) + .pipe(gulp.dest('./build/')); gulp.src('src/blocks/_pro/fixed-display/view.js') .pipe(uglify()) .pipe(rename('vk-fixed-display.min.js')) diff --git a/readme.txt b/readme.txt index f160cc80..52be6033 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: Tags: Gutenberg,FAQ,alert Requires at least: 6.3 Tested up to: 6.6 -Stable tag: 1.83.0.1 +Stable tag: 1.84.0.1 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -106,6 +106,13 @@ e.g. == Changelog == += 1.85.0 = +[ Add function ][ Core Table ] Add scroll hint for horizontal scrolling. +[ Specification change ][ Post List (Pro) ] Disable link on edit screen. +[ Specification change ][ Alert ] Fixed the alert variation icon. +[ Bug fix ][ Breadcrumb (Pro) ] Fixed an issue where the separator setting in the Breadcrumb block was not being loaded correctly (now loaded from view.js). +[ Bug fix ] Fixed an issue where abnormal load occurred on a server that cannot use auto-update. + = 1.84.2 = [ Bug fix ][ Custom CSS (Pro) ] Replaced an improved sanitation function in `vk_blocks_output custom css` to handle various CSS patterns. @@ -116,6 +123,7 @@ e.g. [ Add function ][ Column ] Add toolbar link for components. [ Specification change ][ Classic FAQ / New FAQ ] Support structured data. [ Bug fix ][ Link toolbar ] Fix to prevent adding http:// or https:// when a relative path is entered. +[ Bug fix ][ Post list (Pro) ] Fixed pagination customization in post list. [ Bug fix ][ Breadcrumb(Pro) ] Fixed pagination customization in post list. [ Other ] Add a mode to extract class name for Font awesome icon. [ Other ] Supports custom CSS including pseudo-elements even in block-by-block lazy loading mode. diff --git a/src/admin/breadcrumb.js b/src/admin/breadcrumb.js index 42da9a98..f3eea9a0 100644 --- a/src/admin/breadcrumb.js +++ b/src/admin/breadcrumb.js @@ -1,5 +1,5 @@ import { useState, useContext, useEffect } from '@wordpress/element'; -import { TextControl } from '@wordpress/components'; // TextControl を追加 +import { TextControl } from '@wordpress/components'; import { __ } from '@wordpress/i18n'; import { AdminContext } from '@vkblocks/admin/index'; diff --git a/src/blocks/alert/icon-info.svg b/src/blocks/alert/icon-info.svg new file mode 100644 index 00000000..6fe29c30 --- /dev/null +++ b/src/blocks/alert/icon-info.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/blocks/alert/icon-success.svg b/src/blocks/alert/icon-success.svg new file mode 100644 index 00000000..50ddda0a --- /dev/null +++ b/src/blocks/alert/icon-success.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/blocks/alert/icon-warning.svg b/src/blocks/alert/icon-warning.svg new file mode 100644 index 00000000..013914a0 --- /dev/null +++ b/src/blocks/alert/icon-warning.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/blocks/alert/variations.js b/src/blocks/alert/variations.js index 4e892d79..632efbd7 100644 --- a/src/blocks/alert/variations.js +++ b/src/blocks/alert/variations.js @@ -1,12 +1,15 @@ import { __ } from '@wordpress/i18n'; import { ReactComponent as Icon } from './icon.svg'; +import { ReactComponent as IconSuccess } from './icon-success.svg'; +import { ReactComponent as IconInfo } from './icon-info.svg'; +import { ReactComponent as IconWarning } from './icon-warning.svg'; const variations = [ { name: 'alert-success', title: __('Alert Success', 'vk-blocks'), scope: ['inserter', 'transform'], - icon: , + icon: , attributes: { style: 'success', icon: '', @@ -25,7 +28,7 @@ const variations = [ name: 'alert-info', title: __('Alert Info', 'vk-blocks'), scope: ['inserter', 'transform'], - icon: , + icon: , attributes: { style: 'info', icon: '', @@ -44,7 +47,7 @@ const variations = [ name: 'alert-warning', title: __('Alert Warning', 'vk-blocks'), scope: ['inserter', 'transform'], - icon: , + icon: , attributes: { style: 'warning', icon: '', diff --git a/vk-blocks.php b/vk-blocks.php index 78a77d9a..620777f0 100644 --- a/vk-blocks.php +++ b/vk-blocks.php @@ -3,8 +3,8 @@ * Plugin Name: VK Blocks * Plugin URI: https://github.com/vektor-inc/vk-blocks * Description: This is a plugin that extends Block Editor. - * Version: 1.84.2.0 - * Stable tag: 1.83.0.1 + * Version: 1.85.0.0 + * Stable tag: 1.84.0.1 * Requires at least: 6.3 * Author: Vektor,Inc. * Author URI: https://vektor-inc.co.jp