@wordpress/create-block-tutorial-template 4.52.0 → 4.53.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.
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
* @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-i18n/
|
|
5
5
|
*/
|
|
6
6
|
import { __ } from '@wordpress/i18n';
|
|
7
|
-
|
|
8
7
|
/**
|
|
9
8
|
* Imports the InspectorControls component, which is used to wrap
|
|
10
9
|
* the block's custom controls that will appear in in the Settings
|
|
@@ -17,7 +16,6 @@ import { __ } from '@wordpress/i18n';
|
|
|
17
16
|
* @see https://developer.wordpress.org/block-editor/reference-guides/packages/packages-block-editor/#useblockprops
|
|
18
17
|
*/
|
|
19
18
|
import { InspectorControls, useBlockProps } from '@wordpress/block-editor';
|
|
20
|
-
|
|
21
19
|
/**
|
|
22
20
|
* Imports the necessary components that will be used to create
|
|
23
21
|
* the user interface for the block's settings.
|
|
@@ -27,7 +25,6 @@ import { InspectorControls, useBlockProps } from '@wordpress/block-editor';
|
|
|
27
25
|
* @see https://developer.wordpress.org/block-editor/reference-guides/components/toggle-control/
|
|
28
26
|
*/
|
|
29
27
|
import { PanelBody, TextControl, ToggleControl } from '@wordpress/components';
|
|
30
|
-
|
|
31
28
|
/**
|
|
32
29
|
* Imports the useEffect React Hook. This is used to set an attribute when the
|
|
33
30
|
* block is loaded in the Editor.
|
|
@@ -4,10 +4,6 @@
|
|
|
4
4
|
* @see https://developer.wordpress.org/block-editor/developers/block-api/#registering-a-block
|
|
5
5
|
*/
|
|
6
6
|
import { registerBlockType } from '@wordpress/blocks';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Internal dependencies
|
|
10
|
-
*/
|
|
11
7
|
import Edit from './edit';
|
|
12
8
|
import save from './save';
|
|
13
9
|
import metadata from './block.json';
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/create-block-tutorial-template",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.53.0",
|
|
4
4
|
"description": "This is a template for @wordpress/create-block that creates an example 'Copyright Date' block. This block is used in the official WordPress block development Quick Start Guide.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "989764d42ff93e33684aaf0b96a5b7f3d9bbff52"
|
|
30
30
|
}
|