@wordpress/reusable-blocks 4.4.0 → 4.5.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 +2 -0
- package/package.json +12 -12
- package/src/store/test/__snapshots__/actions.js.snap +17 -17
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/reusable-blocks",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"description": "Reusable blocks utilities.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
"{src,build,build-module}/{index.js,store/index.js}"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@wordpress/block-editor": "^11.
|
|
32
|
-
"@wordpress/blocks": "^12.
|
|
33
|
-
"@wordpress/components": "^23.
|
|
34
|
-
"@wordpress/core-data": "^6.
|
|
35
|
-
"@wordpress/data": "^8.
|
|
36
|
-
"@wordpress/element": "^5.
|
|
37
|
-
"@wordpress/i18n": "^4.
|
|
38
|
-
"@wordpress/icons": "^9.
|
|
39
|
-
"@wordpress/notices": "^3.
|
|
40
|
-
"@wordpress/url": "^3.
|
|
31
|
+
"@wordpress/block-editor": "^11.5.0",
|
|
32
|
+
"@wordpress/blocks": "^12.5.0",
|
|
33
|
+
"@wordpress/components": "^23.5.0",
|
|
34
|
+
"@wordpress/core-data": "^6.5.0",
|
|
35
|
+
"@wordpress/data": "^8.5.0",
|
|
36
|
+
"@wordpress/element": "^5.5.0",
|
|
37
|
+
"@wordpress/i18n": "^4.28.0",
|
|
38
|
+
"@wordpress/icons": "^9.19.0",
|
|
39
|
+
"@wordpress/notices": "^3.28.0",
|
|
40
|
+
"@wordpress/url": "^3.29.0"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": "^18.0.0",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "d5e03a74b79e3ca84afda24375474a103a063ee4"
|
|
50
50
|
}
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`Actions __experimentalConvertBlockToStatic should convert a static reusable into a static block 1`] = `
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"attributes":
|
|
4
|
+
[
|
|
5
|
+
{
|
|
6
|
+
"attributes": {
|
|
7
7
|
"name": "Big Bird",
|
|
8
8
|
},
|
|
9
|
-
"innerBlocks":
|
|
10
|
-
|
|
11
|
-
"attributes":
|
|
9
|
+
"innerBlocks": [
|
|
10
|
+
{
|
|
11
|
+
"attributes": {
|
|
12
12
|
"name": "Oscar the Grouch",
|
|
13
13
|
},
|
|
14
|
-
"innerBlocks":
|
|
14
|
+
"innerBlocks": [],
|
|
15
15
|
"isValid": true,
|
|
16
16
|
"name": "core/test-block",
|
|
17
17
|
"originalContent": "",
|
|
18
|
-
"validationIssues":
|
|
18
|
+
"validationIssues": [],
|
|
19
19
|
},
|
|
20
|
-
|
|
21
|
-
"attributes":
|
|
20
|
+
{
|
|
21
|
+
"attributes": {
|
|
22
22
|
"name": "Cookie Monster",
|
|
23
23
|
},
|
|
24
|
-
"innerBlocks":
|
|
24
|
+
"innerBlocks": [],
|
|
25
25
|
"isValid": true,
|
|
26
26
|
"name": "core/test-block",
|
|
27
27
|
"originalContent": "",
|
|
28
|
-
"validationIssues":
|
|
28
|
+
"validationIssues": [],
|
|
29
29
|
},
|
|
30
30
|
],
|
|
31
31
|
"isValid": true,
|
|
32
32
|
"name": "core/test-block",
|
|
33
33
|
"originalContent": "",
|
|
34
|
-
"validationIssues":
|
|
34
|
+
"validationIssues": [],
|
|
35
35
|
},
|
|
36
36
|
]
|
|
37
37
|
`;
|
|
38
38
|
|
|
39
39
|
exports[`Actions __experimentalConvertBlocksToReusable should convert a static block into a reusable block 1`] = `
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"attributes":
|
|
40
|
+
[
|
|
41
|
+
{
|
|
42
|
+
"attributes": {
|
|
43
43
|
"ref": "new-id",
|
|
44
44
|
},
|
|
45
|
-
"innerBlocks":
|
|
45
|
+
"innerBlocks": [],
|
|
46
46
|
"isValid": true,
|
|
47
47
|
"name": "core/block",
|
|
48
48
|
},
|