From f380a91674319942b50631c327eb2868cf7b8740 Mon Sep 17 00:00:00 2001 From: BenjaminThylin Date: Thu, 21 Apr 2022 14:07:04 +0300 Subject: [PATCH] Fix useInnerBlocksProps bug --- src/blocks/button_popup/assets/edit.js | 2 +- src/blocks/button_popup/dist/index.asset.php | 2 +- src/blocks/button_popup/dist/index.js | 2 +- src/blocks/button_popups/assets/edit.js | 2 +- src/blocks/button_popups/dist/index.asset.php | 2 +- src/blocks/button_popups/dist/index.js | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/blocks/button_popup/assets/edit.js b/src/blocks/button_popup/assets/edit.js index dcc207b..7835f0c 100644 --- a/src/blocks/button_popup/assets/edit.js +++ b/src/blocks/button_popup/assets/edit.js @@ -2,7 +2,7 @@ import { applyFilters } from '@wordpress/hooks'; import { useBlockProps, - __experimentalUseInnerBlocksProps as useInnerBlocksProps, + useInnerBlocksProps, BlockControls, RichText, } from '@wordpress/block-editor'; diff --git a/src/blocks/button_popup/dist/index.asset.php b/src/blocks/button_popup/dist/index.asset.php index 84c3183..644b7be 100644 --- a/src/blocks/button_popup/dist/index.asset.php +++ b/src/blocks/button_popup/dist/index.asset.php @@ -1 +1 @@ - array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => 'f821b235f4570943e039d7b9eb5b98fb'); \ No newline at end of file + array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => 'b9a310e4df5aac2b5ea45305a0a71478'); \ No newline at end of file diff --git a/src/blocks/button_popup/dist/index.js b/src/blocks/button_popup/dist/index.js index 08b29fd..fd1289c 100644 --- a/src/blocks/button_popup/dist/index.js +++ b/src/blocks/button_popup/dist/index.js @@ -1 +1 @@ -!function(){"use strict";(function(){function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var t=window.wp.element,n=window.wp.i18n,r=window.wp.blocks,o=window.wp.blockEditor;function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => 'b399fada70565e06401d026838f2b10f'); \ No newline at end of file + array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => 'a865af4523e96b2ba2927588d749623a'); \ No newline at end of file diff --git a/src/blocks/button_popups/dist/index.js b/src/blocks/button_popups/dist/index.js index 45b6a17..46189ca 100644 --- a/src/blocks/button_popups/dist/index.js +++ b/src/blocks/button_popups/dist/index.js @@ -1,2 +1,2 @@ /*! For license information please see index.js.LICENSE.txt */ -!function(){var e={906:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=window.wp.element,i=window.wp.i18n,c=window.wp.blocks,l=window.wp.blockEditor,a=n(184),s=n.n(a),u=window.wp.components,p=window.wp.primitives,f=(0,o.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(p.Path,{d:"M9 9v6h11V9H9zM4 20h1.5V4H4v16z"})),v=(0,o.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(p.Path,{d:"M20 9h-7.2V4h-1.6v5H4v6h7.2v5h1.6v-5H20z"})),w=(0,o.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(p.Path,{d:"M4 15h11V9H4v6zM18.5 4v16H20V4h-1.5z"})),b=(0,o.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(p.Path,{d:"M9 15h6V9H9v6zm-5 5h1.5V4H4v16zM18.5 4v16H20V4h-1.5z"})),d=(0,o.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,o.createElement)(p.Path,{d:"M7 8h6v4H7zm-5 5v4h4l-1.2-1.2L7 12l-3.8 2.2M14 17h4v-4l-1.2 1.2L13 12l2.2 3.8M14 3l1.3 1.3L13 8l3.8-2.2L18 7V3M6 3H2v4l1.2-1.2L7 8 4.7 4.3"}));function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t