@wordpress/edit-widgets 6.50.1-next.v.202607070741.0 → 6.51.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 +6 -0
- package/build-style/style-rtl.css +8 -8
- package/build-style/style.css +8 -8
- package/package.json +32 -32
- package/src/components/keyboard-shortcut-help-modal/style.scss +2 -2
- package/src/style.scss +2 -0
- package/src/components/customizer-edit-widgets-initializer/style.scss +0 -21
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 6.51.0 (2026-07-14)
|
|
6
|
+
|
|
7
|
+
### Enhancements
|
|
8
|
+
|
|
9
|
+
- Widen React peer dependency ranges to `^18 || ^19` to support both React 18 and React 19 environments ([#80024](https://github.com/WordPress/gutenberg/pull/80024)).
|
|
10
|
+
|
|
5
11
|
## 6.50.0 (2026-07-01)
|
|
6
12
|
|
|
7
13
|
## 6.49.0 (2026-06-24)
|
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
|
|
252
252
|
.interface-complementary-area h2 {
|
|
253
253
|
font-size: 13px;
|
|
254
|
-
font-weight:
|
|
254
|
+
font-weight: var(--wpds-typography-font-weight-emphasis, 600);
|
|
255
255
|
color: #1e1e1e;
|
|
256
256
|
margin-bottom: 1.5em;
|
|
257
257
|
}
|
|
@@ -259,7 +259,7 @@
|
|
|
259
259
|
.interface-complementary-area h3 {
|
|
260
260
|
font-size: 11px;
|
|
261
261
|
text-transform: uppercase;
|
|
262
|
-
font-weight:
|
|
262
|
+
font-weight: var(--wpds-typography-font-weight-emphasis, 600);
|
|
263
263
|
color: #1e1e1e;
|
|
264
264
|
margin-bottom: 1.5em;
|
|
265
265
|
}
|
|
@@ -547,7 +547,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
547
547
|
margin-left: auto;
|
|
548
548
|
}
|
|
549
549
|
.wp-block[data-type="core/widget-area"] .components-panel__body > .components-panel__body-title {
|
|
550
|
-
font-family: -apple-system,
|
|
550
|
+
font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
551
551
|
margin: 0;
|
|
552
552
|
height: 48px;
|
|
553
553
|
position: relative;
|
|
@@ -736,7 +736,7 @@ body.is-dragging-components-draggable .wp-block[data-type="core/widget-area"] .c
|
|
|
736
736
|
}
|
|
737
737
|
.edit-widgets-keyboard-shortcut-help-modal__section-title {
|
|
738
738
|
font-size: 0.9rem;
|
|
739
|
-
font-weight: 600;
|
|
739
|
+
font-weight: var(--wpds-typography-font-weight-emphasis, 600);
|
|
740
740
|
}
|
|
741
741
|
.edit-widgets-keyboard-shortcut-help-modal__shortcut {
|
|
742
742
|
display: flex;
|
|
@@ -752,7 +752,7 @@ body.is-dragging-components-draggable .wp-block[data-type="core/widget-area"] .c
|
|
|
752
752
|
display: none;
|
|
753
753
|
}
|
|
754
754
|
.edit-widgets-keyboard-shortcut-help-modal__shortcut-term {
|
|
755
|
-
font-weight: 600;
|
|
755
|
+
font-weight: var(--wpds-typography-font-weight-emphasis, 600);
|
|
756
756
|
margin: 0 1rem 0 0;
|
|
757
757
|
text-align: left;
|
|
758
758
|
}
|
|
@@ -844,7 +844,7 @@ body.is-dragging-components-draggable .wp-block[data-type="core/widget-area"] .c
|
|
|
844
844
|
object-fit: cover;
|
|
845
845
|
}
|
|
846
846
|
.edit-widgets-welcome-guide__heading {
|
|
847
|
-
font-family: -apple-system,
|
|
847
|
+
font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
848
848
|
font-size: 24px;
|
|
849
849
|
line-height: 1.4;
|
|
850
850
|
margin: 16px 0 16px 0;
|
|
@@ -866,7 +866,7 @@ body.is-dragging-components-draggable .wp-block[data-type="core/widget-area"] .c
|
|
|
866
866
|
|
|
867
867
|
.edit-widgets-block-editor {
|
|
868
868
|
position: relative;
|
|
869
|
-
font-family: -apple-system,
|
|
869
|
+
font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
870
870
|
display: flex;
|
|
871
871
|
flex-direction: column;
|
|
872
872
|
flex-grow: 1;
|
|
@@ -881,7 +881,7 @@ body.is-dragging-components-draggable .wp-block[data-type="core/widget-area"] .c
|
|
|
881
881
|
height: 100%;
|
|
882
882
|
}
|
|
883
883
|
.edit-widgets-block-editor .components-button {
|
|
884
|
-
font-family: -apple-system,
|
|
884
|
+
font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
885
885
|
font-size: 13px;
|
|
886
886
|
}
|
|
887
887
|
.edit-widgets-block-editor .components-button.is-tertiary, .edit-widgets-block-editor .components-button.has-icon {
|
package/build-style/style.css
CHANGED
|
@@ -251,7 +251,7 @@
|
|
|
251
251
|
|
|
252
252
|
.interface-complementary-area h2 {
|
|
253
253
|
font-size: 13px;
|
|
254
|
-
font-weight:
|
|
254
|
+
font-weight: var(--wpds-typography-font-weight-emphasis, 600);
|
|
255
255
|
color: #1e1e1e;
|
|
256
256
|
margin-bottom: 1.5em;
|
|
257
257
|
}
|
|
@@ -259,7 +259,7 @@
|
|
|
259
259
|
.interface-complementary-area h3 {
|
|
260
260
|
font-size: 11px;
|
|
261
261
|
text-transform: uppercase;
|
|
262
|
-
font-weight:
|
|
262
|
+
font-weight: var(--wpds-typography-font-weight-emphasis, 600);
|
|
263
263
|
color: #1e1e1e;
|
|
264
264
|
margin-bottom: 1.5em;
|
|
265
265
|
}
|
|
@@ -547,7 +547,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
547
547
|
margin-right: auto;
|
|
548
548
|
}
|
|
549
549
|
.wp-block[data-type="core/widget-area"] .components-panel__body > .components-panel__body-title {
|
|
550
|
-
font-family: -apple-system,
|
|
550
|
+
font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
551
551
|
margin: 0;
|
|
552
552
|
height: 48px;
|
|
553
553
|
position: relative;
|
|
@@ -736,7 +736,7 @@ body.is-dragging-components-draggable .wp-block[data-type="core/widget-area"] .c
|
|
|
736
736
|
}
|
|
737
737
|
.edit-widgets-keyboard-shortcut-help-modal__section-title {
|
|
738
738
|
font-size: 0.9rem;
|
|
739
|
-
font-weight: 600;
|
|
739
|
+
font-weight: var(--wpds-typography-font-weight-emphasis, 600);
|
|
740
740
|
}
|
|
741
741
|
.edit-widgets-keyboard-shortcut-help-modal__shortcut {
|
|
742
742
|
display: flex;
|
|
@@ -752,7 +752,7 @@ body.is-dragging-components-draggable .wp-block[data-type="core/widget-area"] .c
|
|
|
752
752
|
display: none;
|
|
753
753
|
}
|
|
754
754
|
.edit-widgets-keyboard-shortcut-help-modal__shortcut-term {
|
|
755
|
-
font-weight: 600;
|
|
755
|
+
font-weight: var(--wpds-typography-font-weight-emphasis, 600);
|
|
756
756
|
margin: 0 0 0 1rem;
|
|
757
757
|
text-align: right;
|
|
758
758
|
}
|
|
@@ -844,7 +844,7 @@ body.is-dragging-components-draggable .wp-block[data-type="core/widget-area"] .c
|
|
|
844
844
|
object-fit: cover;
|
|
845
845
|
}
|
|
846
846
|
.edit-widgets-welcome-guide__heading {
|
|
847
|
-
font-family: -apple-system,
|
|
847
|
+
font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
848
848
|
font-size: 24px;
|
|
849
849
|
line-height: 1.4;
|
|
850
850
|
margin: 16px 0 16px 0;
|
|
@@ -866,7 +866,7 @@ body.is-dragging-components-draggable .wp-block[data-type="core/widget-area"] .c
|
|
|
866
866
|
|
|
867
867
|
.edit-widgets-block-editor {
|
|
868
868
|
position: relative;
|
|
869
|
-
font-family: -apple-system,
|
|
869
|
+
font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
870
870
|
display: flex;
|
|
871
871
|
flex-direction: column;
|
|
872
872
|
flex-grow: 1;
|
|
@@ -881,7 +881,7 @@ body.is-dragging-components-draggable .wp-block[data-type="core/widget-area"] .c
|
|
|
881
881
|
height: 100%;
|
|
882
882
|
}
|
|
883
883
|
.edit-widgets-block-editor .components-button {
|
|
884
|
-
font-family: -apple-system,
|
|
884
|
+
font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
885
885
|
font-size: 13px;
|
|
886
886
|
}
|
|
887
887
|
.edit-widgets-block-editor .components-button.is-tertiary, .edit-widgets-block-editor .components-button.has-icon {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/edit-widgets",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.51.0",
|
|
4
4
|
"description": "Widgets Page module for WordPress..",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -47,34 +47,34 @@
|
|
|
47
47
|
]
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@wordpress/api-fetch": "^7.
|
|
51
|
-
"@wordpress/base-styles": "^
|
|
52
|
-
"@wordpress/block-editor": "^16.0.
|
|
53
|
-
"@wordpress/block-library": "^10.
|
|
54
|
-
"@wordpress/blocks": "^15.
|
|
55
|
-
"@wordpress/components": "^37.0.
|
|
56
|
-
"@wordpress/compose": "^8.
|
|
57
|
-
"@wordpress/core-data": "^7.
|
|
58
|
-
"@wordpress/data": "^10.
|
|
59
|
-
"@wordpress/deprecated": "^4.
|
|
60
|
-
"@wordpress/dom": "^4.
|
|
61
|
-
"@wordpress/element": "^8.
|
|
62
|
-
"@wordpress/hooks": "^4.
|
|
63
|
-
"@wordpress/i18n": "^6.
|
|
64
|
-
"@wordpress/icons": "^15.
|
|
65
|
-
"@wordpress/interface": "^9.
|
|
66
|
-
"@wordpress/keyboard-shortcuts": "^5.
|
|
67
|
-
"@wordpress/keycodes": "^4.
|
|
68
|
-
"@wordpress/media-utils": "^5.
|
|
69
|
-
"@wordpress/notices": "^5.
|
|
70
|
-
"@wordpress/patterns": "^2.
|
|
71
|
-
"@wordpress/plugins": "^7.
|
|
72
|
-
"@wordpress/preferences": "^4.
|
|
73
|
-
"@wordpress/private-apis": "^1.
|
|
74
|
-
"@wordpress/reusable-blocks": "^5.51.
|
|
75
|
-
"@wordpress/ui": "^0.18.
|
|
76
|
-
"@wordpress/url": "^4.
|
|
77
|
-
"@wordpress/widgets": "^4.
|
|
50
|
+
"@wordpress/api-fetch": "^7.51.0",
|
|
51
|
+
"@wordpress/base-styles": "^11.0.0",
|
|
52
|
+
"@wordpress/block-editor": "^16.0.0",
|
|
53
|
+
"@wordpress/block-library": "^10.2.0",
|
|
54
|
+
"@wordpress/blocks": "^15.24.0",
|
|
55
|
+
"@wordpress/components": "^37.0.0",
|
|
56
|
+
"@wordpress/compose": "^8.4.0",
|
|
57
|
+
"@wordpress/core-data": "^7.51.0",
|
|
58
|
+
"@wordpress/data": "^10.51.0",
|
|
59
|
+
"@wordpress/deprecated": "^4.51.0",
|
|
60
|
+
"@wordpress/dom": "^4.51.0",
|
|
61
|
+
"@wordpress/element": "^8.3.0",
|
|
62
|
+
"@wordpress/hooks": "^4.51.0",
|
|
63
|
+
"@wordpress/i18n": "^6.24.0",
|
|
64
|
+
"@wordpress/icons": "^15.2.0",
|
|
65
|
+
"@wordpress/interface": "^9.36.0",
|
|
66
|
+
"@wordpress/keyboard-shortcuts": "^5.51.0",
|
|
67
|
+
"@wordpress/keycodes": "^4.51.0",
|
|
68
|
+
"@wordpress/media-utils": "^5.51.0",
|
|
69
|
+
"@wordpress/notices": "^5.51.0",
|
|
70
|
+
"@wordpress/patterns": "^2.51.0",
|
|
71
|
+
"@wordpress/plugins": "^7.51.0",
|
|
72
|
+
"@wordpress/preferences": "^4.51.0",
|
|
73
|
+
"@wordpress/private-apis": "^1.51.0",
|
|
74
|
+
"@wordpress/reusable-blocks": "^5.51.0",
|
|
75
|
+
"@wordpress/ui": "^0.18.0",
|
|
76
|
+
"@wordpress/url": "^4.51.0",
|
|
77
|
+
"@wordpress/widgets": "^4.51.0",
|
|
78
78
|
"clsx": "^2.1.1"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
@@ -83,11 +83,11 @@
|
|
|
83
83
|
"deep-freeze": "^0.0.1"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
|
-
"react": "^18
|
|
87
|
-
"react-dom": "^18
|
|
86
|
+
"react": "^18 || ^19",
|
|
87
|
+
"react-dom": "^18 || ^19"
|
|
88
88
|
},
|
|
89
89
|
"publishConfig": {
|
|
90
90
|
"access": "public"
|
|
91
91
|
},
|
|
92
|
-
"gitHead": "
|
|
92
|
+
"gitHead": "e9a74f9c14095a34398ecd4d1f7a908e55051205"
|
|
93
93
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
&__section-title {
|
|
9
9
|
font-size: 0.9rem;
|
|
10
|
-
font-weight:
|
|
10
|
+
font-weight: var(--wpds-typography-font-weight-emphasis);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
&__shortcut {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
&__shortcut-term {
|
|
30
|
-
font-weight:
|
|
30
|
+
font-weight: var(--wpds-typography-font-weight-emphasis);
|
|
31
31
|
margin: 0 0 0 1rem;
|
|
32
32
|
text-align: right;
|
|
33
33
|
}
|
package/src/style.scss
CHANGED
|
@@ -15,10 +15,12 @@
|
|
|
15
15
|
@use "./components/widget-areas-block-editor-content/style.scss" as *;
|
|
16
16
|
@use "./components/secondary-sidebar/style.scss" as *;
|
|
17
17
|
|
|
18
|
+
// stylelint-disable selector-class-pattern -- WordPress admin body classes use underscores by convention.
|
|
18
19
|
body.js.appearance_page_gutenberg-widgets,
|
|
19
20
|
body.js.widgets-php {
|
|
20
21
|
@include wp-admin-reset( ".blocks-widgets-container" );
|
|
21
22
|
}
|
|
23
|
+
// stylelint-enable selector-class-pattern
|
|
22
24
|
|
|
23
25
|
.blocks-widgets-container {
|
|
24
26
|
@include reset;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
@use "@wordpress/base-styles/colors" as *;
|
|
2
|
-
@use "@wordpress/base-styles/z-index" as *;
|
|
3
|
-
|
|
4
|
-
.edit-widgets-customizer-edit-widgets-initializer__content {
|
|
5
|
-
position: relative;
|
|
6
|
-
.edit-widgets-header {
|
|
7
|
-
margin-top: -16px;
|
|
8
|
-
border-top: 1px solid $gray-300;
|
|
9
|
-
background: #fff;
|
|
10
|
-
margin-left: -12px;
|
|
11
|
-
margin-right: -12px;
|
|
12
|
-
}
|
|
13
|
-
.edit-widgets-sidebar {
|
|
14
|
-
margin-left: -12px;
|
|
15
|
-
margin-right: -12px;
|
|
16
|
-
position: absolute;
|
|
17
|
-
top: 0;
|
|
18
|
-
width: calc(100% + 24px);
|
|
19
|
-
z-index: z-index(".edit-widgets-sidebar");
|
|
20
|
-
}
|
|
21
|
-
}
|