Version Description
Download this release
Release Info
Developer | vektor-inc |
Plugin | VK Block Patterns |
Version | 1.20.5 |
Comparing to | |
See all releases |
Code changes from version 1.20.4 to 1.20.5
- build/admin/index.asset.php +1 -1
- build/admin/index.js +1 -1
- readme.txt +3 -3
build/admin/index.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('wp-api', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('wp-api', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => 'acb7b5b38a5492065146');
|
build/admin/index.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(){"use strict";var e,t={406:function(e,t,n){var r=window.wp.element,a=window.wp.i18n,l=window.wp.components,o=window.wp.api,i=n.n(o);(0,r.render)((0,r.createElement)((()=>{const e="1"===vkpOptions.showPatternsLink,t="1"===vkpOptions.disableCorePattern,n="1"===vkpOptions.disablePluginPattern,[o,s]=(0,r.useState)({role:vkpOptions.role,showPatternsLink:e,VWSMail:vkpOptions.VWSMail,disableCorePattern:t,disablePluginPattern:n}),c=e=>{s(e)},[u,p]=(0,r.useState)(!1),[k,v]=(0,r.useState)(""),b=(0,a.getLocaleData)()[""].lang,m=vkpOptions.adminUrl+"edit.php?post_type=vk-block-patterns";return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",null,(0,r.createElement)("section",null,(0,r.createElement)("h3",{id:"role-setting"},(0,a.__)("Role Setting","vk-block-patterns")),(0,r.createElement)("p",null,(0,a.__)("User permission to register patterns in VK Block Patterns","vk-block-patterns")," [ ",(0,r.createElement)("a",{href:m},"VK Block Patterns")," ]"),(0,r.createElement)(l.SelectControl,{value:o.role,onChange:e=>{c({...o,role:e})},options:[{label:(0,a.__)("Contributor or higher","vk-block-patterns"),value:"contributor"},{label:(0,a.__)("Author or higher","vk-block-patterns"),value:"author"},{label:(0,a.__)("Editor or higher","vk-block-patterns"),value:"editor"},{label:(0,a.__)("Administrator only","vk-block-patterns"),value:"administrator"}]}),(0,r.createElement)("h3",{id:"default-patterns-setting"},(0,a.__)("Default
|
1 |
+
!function(){"use strict";var e,t={406:function(e,t,n){var r=window.wp.element,a=window.wp.i18n,l=window.wp.components,o=window.wp.api,i=n.n(o);(0,r.render)((0,r.createElement)((()=>{const e="1"===vkpOptions.showPatternsLink,t="1"===vkpOptions.disableCorePattern,n="1"===vkpOptions.disablePluginPattern,[o,s]=(0,r.useState)({role:vkpOptions.role,showPatternsLink:e,VWSMail:vkpOptions.VWSMail,disableCorePattern:t,disablePluginPattern:n}),c=e=>{s(e)},[u,p]=(0,r.useState)(!1),[k,v]=(0,r.useState)(""),b=(0,a.getLocaleData)()[""].lang,m=vkpOptions.adminUrl+"edit.php?post_type=vk-block-patterns";return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",null,(0,r.createElement)("section",null,(0,r.createElement)("h3",{id:"role-setting"},(0,a.__)("Role Setting","vk-block-patterns")),(0,r.createElement)("p",null,(0,a.__)("User permission to register patterns in VK Block Patterns","vk-block-patterns")," [ ",(0,r.createElement)("a",{href:m},"VK Block Patterns")," ]"),(0,r.createElement)(l.SelectControl,{value:o.role,onChange:e=>{c({...o,role:e})},options:[{label:(0,a.__)("Contributor or higher","vk-block-patterns"),value:"contributor"},{label:(0,a.__)("Author or higher","vk-block-patterns"),value:"author"},{label:(0,a.__)("Editor or higher","vk-block-patterns"),value:"editor"},{label:(0,a.__)("Administrator only","vk-block-patterns"),value:"administrator"}]})),(0,r.createElement)("section",null,(0,r.createElement)("h3",{id:"default-patterns-setting"},(0,a.__)("Default Pattern Setting","vk-block-patterns")),(0,r.createElement)(l.ToggleControl,{label:(0,a.__)("Disable WordPress Core Patterns","vk-block-patterns"),checked:o.disableCorePattern,onChange:e=>{c({...o,disableCorePattern:e})}}),(0,r.createElement)(l.ToggleControl,{label:(0,a.__)("Disable Patterns of This Plugin","vk-block-patterns"),checked:o.disablePluginPattern,onChange:e=>{c({...o,disablePluginPattern:e})}})),"ja_JP"===b&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("h3",{id:"pattern-library-setting"},(0,a.__)("VK Pattern Library Setting","vk-block-patterns")),(0,r.createElement)("section",null,(0,r.createElement)("h4",null,(0,a.__)("VWS account linkage","vk-block-patterns")),(0,r.createElement)("p",null,(0,r.createElement)("a",{href:"https://vws.vektor-inc.co.jp/product/lightning-g3-pro-pack?ref=vkbp-admin",target:"_blank"},"Lightning G3 Pro Pack")," のライセンスをお持ちのユーザーは、",(0,r.createElement)("a",{href:"https://vws.vektor-inc.co.jp/my-account",target:"_blank"},"アカウント"),"のメールアドレスを登録してください。",(0,r.createElement)("br",null),"VK Pattern Library でお気に入りに登録したパターンをエディター上で直接呼び出す事ができます。"),(0,r.createElement)(l.TextControl,{type:"email",className:"vws-mail-address",label:(0,a.__)("VWS Account email address","vk-block-patterns"),value:o.VWSMail,onChange:e=>{c({...o,VWSMail:e})}}),(0,r.createElement)("p",null,"[ ",(0,r.createElement)("a",{href:"https://patterns.vektor-inc.co.jp/about/about-favorite/",target:"_blank"},(0,a.__)("Click here for more information on Favorites","vk-block-patterns"))," ]")),(0,r.createElement)("section",null,(0,r.createElement)("h4",null,(0,a.__)("Editor Setting","vk-block-patterns")),(0,r.createElement)(l.ToggleControl,{label:(0,a.__)("Show VK Pattern Library link in editor toolbar","vk-block-patterns"),checked:o.showPatternsLink,onChange:e=>{c({...o,showPatternsLink:e})}}))),(0,r.createElement)(l.Button,{isPrimary:!0,onClick:()=>{p(!0),i().loadPromise.then((()=>{const e=new(i().models.Settings)({vk_block_patterns_options:o}).save();e.success((()=>{setTimeout((()=>{p(!1),v(!0)}),600)})),e.error((()=>{setTimeout((()=>{p(!1),v(!1)}),600)}))}))},isBusy:u},(0,a.__)("Save setting","vk-block-patterns")),u&&(0,r.createElement)(l.Spinner,null),!1===k&&(0,a.__)("Failed to save.","vk-block-patterns")))}),null),document.getElementById("vk_block_patterns_admin"))}},n={};function r(e){var a=n[e];if(void 0!==a)return a.exports;var l=n[e]={exports:{}};return t[e](l,l.exports,r),l.exports}r.m=t,e=[],r.O=function(t,n,a,l){if(!n){var o=1/0;for(u=0;u<e.length;u++){n=e[u][0],a=e[u][1],l=e[u][2];for(var i=!0,s=0;s<n.length;s++)(!1&l||o>=l)&&Object.keys(r.O).every((function(e){return r.O[e](n[s])}))?n.splice(s--,1):(i=!1,l<o&&(o=l));if(i){e.splice(u--,1);var c=a();void 0!==c&&(t=c)}}return t}l=l||0;for(var u=e.length;u>0&&e[u-1][2]>l;u--)e[u]=e[u-1];e[u]=[n,a,l]},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={846:0,966:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var a,l,o=n[0],i=n[1],s=n[2],c=0;if(o.some((function(t){return 0!==e[t]}))){for(a in i)r.o(i,a)&&(r.m[a]=i[a]);if(s)var u=s(r)}for(t&&t(n);c<o.length;c++)l=o[c],r.o(e,l)&&e[l]&&e[l][0](),e[l]=0;return r.O(u)},n=self.webpackChunkvk_block_patterns=self.webpackChunkvk_block_patterns||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var a=r.O(void 0,[966],(function(){return r(406)}));a=r.O(a)}();
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: vektor-inc,kurudrive,rickaddison7634,kaorock72,una9,shimotomoki
|
|
3 |
Donate link:
|
4 |
Tags: Guternberg, Block Pattern
|
5 |
Requires at least: 5.8
|
6 |
-
Tested up to: 6.0.
|
7 |
-
Stable tag: 1.20.
|
8 |
Requires PHP: 7.2
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
@@ -16,7 +16,7 @@ When you activate this plugin that create new custom post type for custom block
|
|
16 |
|
17 |
== Changelog ==
|
18 |
|
19 |
-
= 1.20.
|
20 |
[ Fix ] Setting screen
|
21 |
|
22 |
= 1.20.1
|
3 |
Donate link:
|
4 |
Tags: Guternberg, Block Pattern
|
5 |
Requires at least: 5.8
|
6 |
+
Tested up to: 6.0.1
|
7 |
+
Stable tag: 1.20.5
|
8 |
Requires PHP: 7.2
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
16 |
|
17 |
== Changelog ==
|
18 |
|
19 |
+
= 1.20.5
|
20 |
[ Fix ] Setting screen
|
21 |
|
22 |
= 1.20.1
|