@wordpress/create-block 4.26.3 → 4.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -27,7 +27,7 @@ import './editor.scss';
|
|
|
27
27
|
*
|
|
28
28
|
* @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#edit
|
|
29
29
|
*
|
|
30
|
-
* @return {
|
|
30
|
+
* @return {Element} Element to render.
|
|
31
31
|
*/
|
|
32
32
|
export default function Edit() {
|
|
33
33
|
return (
|
|
@@ -14,7 +14,7 @@ import { useBlockProps } from '@wordpress/block-editor';
|
|
|
14
14
|
*
|
|
15
15
|
* @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#save
|
|
16
16
|
*
|
|
17
|
-
* @return {
|
|
17
|
+
* @return {Element} Element to render.
|
|
18
18
|
*/
|
|
19
19
|
export default function save() {
|
|
20
20
|
return (
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
*
|
|
40
40
|
* @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#edit
|
|
41
41
|
*
|
|
42
|
-
* @return {
|
|
42
|
+
* @return {Element} Element to render.
|
|
43
43
|
*/
|
|
44
44
|
edit: function() {
|
|
45
45
|
return el(
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
*
|
|
57
57
|
* @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-edit-save/#save
|
|
58
58
|
*
|
|
59
|
-
* @return {
|
|
59
|
+
* @return {Element} Element to render.
|
|
60
60
|
*/
|
|
61
61
|
save: function() {
|
|
62
62
|
return el(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/create-block",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.27.0",
|
|
4
4
|
"description": "Generates PHP, JS and CSS code for registering a block for a WordPress plugin.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"wp-create-block": "./index.js"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@wordpress/lazy-import": "^1.
|
|
34
|
+
"@wordpress/lazy-import": "^1.30.0",
|
|
35
35
|
"chalk": "^4.0.0",
|
|
36
36
|
"change-case": "^4.1.2",
|
|
37
37
|
"check-node-version": "^4.1.0",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "9b8e598c5418d38fe72197c24ef1d3dd6c712151"
|
|
52
52
|
}
|