@wordpress/edit-widgets 5.28.3 → 5.29.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
|
@@ -112,6 +112,7 @@
|
|
|
112
112
|
text-overflow: ellipsis;
|
|
113
113
|
white-space: nowrap;
|
|
114
114
|
width: 100%;
|
|
115
|
+
margin: 0;
|
|
115
116
|
}
|
|
116
117
|
@media (min-width: 782px) {
|
|
117
118
|
.components-panel__header.interface-complementary-area-header__small {
|
|
@@ -123,6 +124,9 @@
|
|
|
123
124
|
background: #fff;
|
|
124
125
|
padding-left: 4px;
|
|
125
126
|
}
|
|
127
|
+
.interface-complementary-area-header .interface-complementary-area-header__title {
|
|
128
|
+
margin: 0;
|
|
129
|
+
}
|
|
126
130
|
.interface-complementary-area-header .components-button.has-icon {
|
|
127
131
|
display: none;
|
|
128
132
|
margin-right: auto;
|
|
@@ -936,19 +940,14 @@ body.js.widgets-php .media-frame select.attachment-filters:last-of-type {
|
|
|
936
940
|
max-width: 100%;
|
|
937
941
|
}
|
|
938
942
|
|
|
939
|
-
.blocks-widgets-container
|
|
940
|
-
.components-modal__frame {
|
|
943
|
+
.blocks-widgets-container {
|
|
941
944
|
box-sizing: border-box;
|
|
942
945
|
}
|
|
943
946
|
.blocks-widgets-container *,
|
|
944
947
|
.blocks-widgets-container *::before,
|
|
945
|
-
.blocks-widgets-container *::after
|
|
946
|
-
.components-modal__frame *,
|
|
947
|
-
.components-modal__frame *::before,
|
|
948
|
-
.components-modal__frame *::after {
|
|
948
|
+
.blocks-widgets-container *::after {
|
|
949
949
|
box-sizing: inherit;
|
|
950
950
|
}
|
|
951
|
-
|
|
952
951
|
@media (min-width: 600px) {
|
|
953
952
|
.blocks-widgets-container {
|
|
954
953
|
position: absolute;
|
package/build-style/style.css
CHANGED
|
@@ -112,6 +112,7 @@
|
|
|
112
112
|
text-overflow: ellipsis;
|
|
113
113
|
white-space: nowrap;
|
|
114
114
|
width: 100%;
|
|
115
|
+
margin: 0;
|
|
115
116
|
}
|
|
116
117
|
@media (min-width: 782px) {
|
|
117
118
|
.components-panel__header.interface-complementary-area-header__small {
|
|
@@ -123,6 +124,9 @@
|
|
|
123
124
|
background: #fff;
|
|
124
125
|
padding-right: 4px;
|
|
125
126
|
}
|
|
127
|
+
.interface-complementary-area-header .interface-complementary-area-header__title {
|
|
128
|
+
margin: 0;
|
|
129
|
+
}
|
|
126
130
|
.interface-complementary-area-header .components-button.has-icon {
|
|
127
131
|
display: none;
|
|
128
132
|
margin-left: auto;
|
|
@@ -936,19 +940,14 @@ body.js.widgets-php .media-frame select.attachment-filters:last-of-type {
|
|
|
936
940
|
max-width: 100%;
|
|
937
941
|
}
|
|
938
942
|
|
|
939
|
-
.blocks-widgets-container
|
|
940
|
-
.components-modal__frame {
|
|
943
|
+
.blocks-widgets-container {
|
|
941
944
|
box-sizing: border-box;
|
|
942
945
|
}
|
|
943
946
|
.blocks-widgets-container *,
|
|
944
947
|
.blocks-widgets-container *::before,
|
|
945
|
-
.blocks-widgets-container *::after
|
|
946
|
-
.components-modal__frame *,
|
|
947
|
-
.components-modal__frame *::before,
|
|
948
|
-
.components-modal__frame *::after {
|
|
948
|
+
.blocks-widgets-container *::after {
|
|
949
949
|
box-sizing: inherit;
|
|
950
950
|
}
|
|
951
|
-
|
|
952
951
|
@media (min-width: 600px) {
|
|
953
952
|
.blocks-widgets-container {
|
|
954
953
|
position: absolute;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/edit-widgets",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.29.0",
|
|
4
4
|
"description": "Widgets Page module for WordPress..",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -27,32 +27,32 @@
|
|
|
27
27
|
"react-native": "src/index",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@babel/runtime": "^7.16.0",
|
|
30
|
-
"@wordpress/api-fetch": "^6.
|
|
31
|
-
"@wordpress/block-editor": "^12.
|
|
32
|
-
"@wordpress/block-library": "^8.
|
|
33
|
-
"@wordpress/blocks": "^12.
|
|
34
|
-
"@wordpress/components": "^
|
|
35
|
-
"@wordpress/compose": "^6.
|
|
36
|
-
"@wordpress/core-data": "^6.
|
|
37
|
-
"@wordpress/data": "^9.
|
|
38
|
-
"@wordpress/deprecated": "^3.
|
|
39
|
-
"@wordpress/dom": "^3.
|
|
40
|
-
"@wordpress/element": "^5.
|
|
41
|
-
"@wordpress/hooks": "^3.
|
|
42
|
-
"@wordpress/i18n": "^4.
|
|
43
|
-
"@wordpress/icons": "^9.
|
|
44
|
-
"@wordpress/interface": "^5.
|
|
45
|
-
"@wordpress/keyboard-shortcuts": "^4.
|
|
46
|
-
"@wordpress/keycodes": "^3.
|
|
47
|
-
"@wordpress/media-utils": "^4.
|
|
48
|
-
"@wordpress/notices": "^4.
|
|
49
|
-
"@wordpress/patterns": "^1.
|
|
50
|
-
"@wordpress/plugins": "^6.
|
|
51
|
-
"@wordpress/preferences": "^3.
|
|
52
|
-
"@wordpress/private-apis": "^0.
|
|
53
|
-
"@wordpress/reusable-blocks": "^4.
|
|
54
|
-
"@wordpress/url": "^3.
|
|
55
|
-
"@wordpress/widgets": "^3.
|
|
30
|
+
"@wordpress/api-fetch": "^6.49.0",
|
|
31
|
+
"@wordpress/block-editor": "^12.20.0",
|
|
32
|
+
"@wordpress/block-library": "^8.29.0",
|
|
33
|
+
"@wordpress/blocks": "^12.29.0",
|
|
34
|
+
"@wordpress/components": "^27.0.0",
|
|
35
|
+
"@wordpress/compose": "^6.29.0",
|
|
36
|
+
"@wordpress/core-data": "^6.29.0",
|
|
37
|
+
"@wordpress/data": "^9.22.0",
|
|
38
|
+
"@wordpress/deprecated": "^3.52.0",
|
|
39
|
+
"@wordpress/dom": "^3.52.0",
|
|
40
|
+
"@wordpress/element": "^5.29.0",
|
|
41
|
+
"@wordpress/hooks": "^3.52.0",
|
|
42
|
+
"@wordpress/i18n": "^4.52.0",
|
|
43
|
+
"@wordpress/icons": "^9.43.0",
|
|
44
|
+
"@wordpress/interface": "^5.29.0",
|
|
45
|
+
"@wordpress/keyboard-shortcuts": "^4.29.0",
|
|
46
|
+
"@wordpress/keycodes": "^3.52.0",
|
|
47
|
+
"@wordpress/media-utils": "^4.43.0",
|
|
48
|
+
"@wordpress/notices": "^4.20.0",
|
|
49
|
+
"@wordpress/patterns": "^1.13.0",
|
|
50
|
+
"@wordpress/plugins": "^6.20.0",
|
|
51
|
+
"@wordpress/preferences": "^3.29.0",
|
|
52
|
+
"@wordpress/private-apis": "^0.34.0",
|
|
53
|
+
"@wordpress/reusable-blocks": "^4.29.0",
|
|
54
|
+
"@wordpress/url": "^3.53.0",
|
|
55
|
+
"@wordpress/widgets": "^3.29.0",
|
|
56
56
|
"classnames": "^2.3.1",
|
|
57
57
|
"rememo": "^4.0.2"
|
|
58
58
|
},
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "c139588f4c668b38bafbc5431f2f4e3903dbe683"
|
|
67
67
|
}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* External dependencies
|
|
3
|
+
*/
|
|
4
|
+
import { render } from '@testing-library/react';
|
|
5
|
+
|
|
1
6
|
/**
|
|
2
7
|
* WordPress dependencies
|
|
3
8
|
*/
|
|
4
9
|
import * as wpHooks from '@wordpress/hooks';
|
|
10
|
+
|
|
5
11
|
/**
|
|
6
12
|
* Internal dependencies
|
|
7
13
|
*/
|
|
8
|
-
import ErrorBoundary from '../
|
|
9
|
-
/**
|
|
10
|
-
* External dependencies
|
|
11
|
-
*/
|
|
12
|
-
import { render } from '@testing-library/react';
|
|
14
|
+
import ErrorBoundary from '../index';
|
|
13
15
|
|
|
14
16
|
const theError = new Error( 'Kaboom' );
|
|
15
17
|
|
package/src/style.scss
CHANGED
|
@@ -16,14 +16,8 @@ body.js.widgets-php {
|
|
|
16
16
|
@include wp-admin-reset( ".blocks-widgets-container" );
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.blocks-widgets-container,
|
|
20
|
-
// The modals are shown outside the .blocks-widgets-container wrapper, they need these styles
|
|
21
|
-
.components-modal__frame {
|
|
22
|
-
@include reset;
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
|
|
26
19
|
.blocks-widgets-container {
|
|
20
|
+
@include reset;
|
|
27
21
|
// On mobile the main content area has to scroll, otherwise you can invoke
|
|
28
22
|
// the overscroll bounce on the non-scrolling container, for a bad experience.
|
|
29
23
|
@include break-small {
|