@wordpress/edit-widgets 5.14.0 → 5.16.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
@@ -2,6 +2,10 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 5.16.0 (2023-08-10)
6
+
7
+ ## 5.15.0 (2023-07-20)
8
+
5
9
  ## 5.14.0 (2023-07-05)
6
10
 
7
11
  ## 5.13.0 (2023-06-23)
@@ -1026,45 +1026,41 @@ body.is-fullscreen-mode .edit-widgets-notices__snackbar {
1026
1026
  padding-left: 4px;
1027
1027
  }
1028
1028
 
1029
- html.wp-toolbar {
1030
- background: #fff;
1031
- }
1032
-
1033
- body.appearance_page_gutenberg-widgets,
1034
- body.widgets-php {
1029
+ body.js.appearance_page_gutenberg-widgets,
1030
+ body.js.widgets-php {
1035
1031
  background: #fff;
1036
1032
  /* We hide legacy notices in Gutenberg Based Pages, because they were not designed in a way that scaled well.
1037
1033
  Plugins can use Gutenberg notices if they need to pass on information to the user when they are editing. */
1038
1034
  }
1039
- body.appearance_page_gutenberg-widgets #wpcontent,
1040
- body.widgets-php #wpcontent {
1035
+ body.js.appearance_page_gutenberg-widgets #wpcontent,
1036
+ body.js.widgets-php #wpcontent {
1041
1037
  padding-right: 0;
1042
1038
  }
1043
- body.appearance_page_gutenberg-widgets #wpbody-content,
1044
- body.widgets-php #wpbody-content {
1039
+ body.js.appearance_page_gutenberg-widgets #wpbody-content,
1040
+ body.js.widgets-php #wpbody-content {
1045
1041
  padding-bottom: 0;
1046
1042
  }
1047
- body.appearance_page_gutenberg-widgets #wpbody-content > div:not(.blocks-widgets-container):not(#screen-meta),
1048
- body.widgets-php #wpbody-content > div:not(.blocks-widgets-container):not(#screen-meta) {
1043
+ body.js.appearance_page_gutenberg-widgets #wpbody-content > div:not(.blocks-widgets-container):not(#screen-meta),
1044
+ body.js.widgets-php #wpbody-content > div:not(.blocks-widgets-container):not(#screen-meta) {
1049
1045
  display: none;
1050
1046
  }
1051
- body.appearance_page_gutenberg-widgets #wpfooter,
1052
- body.widgets-php #wpfooter {
1047
+ body.js.appearance_page_gutenberg-widgets #wpfooter,
1048
+ body.js.widgets-php #wpfooter {
1053
1049
  display: none;
1054
1050
  }
1055
- body.appearance_page_gutenberg-widgets .a11y-speak-region,
1056
- body.widgets-php .a11y-speak-region {
1051
+ body.js.appearance_page_gutenberg-widgets .a11y-speak-region,
1052
+ body.js.widgets-php .a11y-speak-region {
1057
1053
  right: -1px;
1058
1054
  top: -1px;
1059
1055
  }
1060
- body.appearance_page_gutenberg-widgets ul#adminmenu a.wp-has-current-submenu::after,
1061
- body.appearance_page_gutenberg-widgets ul#adminmenu > li.current > a.current::after,
1062
- body.widgets-php ul#adminmenu a.wp-has-current-submenu::after,
1063
- body.widgets-php ul#adminmenu > li.current > a.current::after {
1056
+ body.js.appearance_page_gutenberg-widgets ul#adminmenu a.wp-has-current-submenu::after,
1057
+ body.js.appearance_page_gutenberg-widgets ul#adminmenu > li.current > a.current::after,
1058
+ body.js.widgets-php ul#adminmenu a.wp-has-current-submenu::after,
1059
+ body.js.widgets-php ul#adminmenu > li.current > a.current::after {
1064
1060
  border-left-color: #fff;
1065
1061
  }
1066
- body.appearance_page_gutenberg-widgets .media-frame select.attachment-filters:last-of-type,
1067
- body.widgets-php .media-frame select.attachment-filters:last-of-type {
1062
+ body.js.appearance_page_gutenberg-widgets .media-frame select.attachment-filters:last-of-type,
1063
+ body.js.widgets-php .media-frame select.attachment-filters:last-of-type {
1068
1064
  width: auto;
1069
1065
  max-width: 100%;
1070
1066
  }
@@ -1026,45 +1026,41 @@ body.is-fullscreen-mode .edit-widgets-notices__snackbar {
1026
1026
  padding-right: 4px;
1027
1027
  }
1028
1028
 
1029
- html.wp-toolbar {
1030
- background: #fff;
1031
- }
1032
-
1033
- body.appearance_page_gutenberg-widgets,
1034
- body.widgets-php {
1029
+ body.js.appearance_page_gutenberg-widgets,
1030
+ body.js.widgets-php {
1035
1031
  background: #fff;
1036
1032
  /* We hide legacy notices in Gutenberg Based Pages, because they were not designed in a way that scaled well.
1037
1033
  Plugins can use Gutenberg notices if they need to pass on information to the user when they are editing. */
1038
1034
  }
1039
- body.appearance_page_gutenberg-widgets #wpcontent,
1040
- body.widgets-php #wpcontent {
1035
+ body.js.appearance_page_gutenberg-widgets #wpcontent,
1036
+ body.js.widgets-php #wpcontent {
1041
1037
  padding-left: 0;
1042
1038
  }
1043
- body.appearance_page_gutenberg-widgets #wpbody-content,
1044
- body.widgets-php #wpbody-content {
1039
+ body.js.appearance_page_gutenberg-widgets #wpbody-content,
1040
+ body.js.widgets-php #wpbody-content {
1045
1041
  padding-bottom: 0;
1046
1042
  }
1047
- body.appearance_page_gutenberg-widgets #wpbody-content > div:not(.blocks-widgets-container):not(#screen-meta),
1048
- body.widgets-php #wpbody-content > div:not(.blocks-widgets-container):not(#screen-meta) {
1043
+ body.js.appearance_page_gutenberg-widgets #wpbody-content > div:not(.blocks-widgets-container):not(#screen-meta),
1044
+ body.js.widgets-php #wpbody-content > div:not(.blocks-widgets-container):not(#screen-meta) {
1049
1045
  display: none;
1050
1046
  }
1051
- body.appearance_page_gutenberg-widgets #wpfooter,
1052
- body.widgets-php #wpfooter {
1047
+ body.js.appearance_page_gutenberg-widgets #wpfooter,
1048
+ body.js.widgets-php #wpfooter {
1053
1049
  display: none;
1054
1050
  }
1055
- body.appearance_page_gutenberg-widgets .a11y-speak-region,
1056
- body.widgets-php .a11y-speak-region {
1051
+ body.js.appearance_page_gutenberg-widgets .a11y-speak-region,
1052
+ body.js.widgets-php .a11y-speak-region {
1057
1053
  left: -1px;
1058
1054
  top: -1px;
1059
1055
  }
1060
- body.appearance_page_gutenberg-widgets ul#adminmenu a.wp-has-current-submenu::after,
1061
- body.appearance_page_gutenberg-widgets ul#adminmenu > li.current > a.current::after,
1062
- body.widgets-php ul#adminmenu a.wp-has-current-submenu::after,
1063
- body.widgets-php ul#adminmenu > li.current > a.current::after {
1056
+ body.js.appearance_page_gutenberg-widgets ul#adminmenu a.wp-has-current-submenu::after,
1057
+ body.js.appearance_page_gutenberg-widgets ul#adminmenu > li.current > a.current::after,
1058
+ body.js.widgets-php ul#adminmenu a.wp-has-current-submenu::after,
1059
+ body.js.widgets-php ul#adminmenu > li.current > a.current::after {
1064
1060
  border-right-color: #fff;
1065
1061
  }
1066
- body.appearance_page_gutenberg-widgets .media-frame select.attachment-filters:last-of-type,
1067
- body.widgets-php .media-frame select.attachment-filters:last-of-type {
1062
+ body.js.appearance_page_gutenberg-widgets .media-frame select.attachment-filters:last-of-type,
1063
+ body.js.widgets-php .media-frame select.attachment-filters:last-of-type {
1068
1064
  width: auto;
1069
1065
  max-width: 100%;
1070
1066
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/edit-widgets",
3
- "version": "5.14.0",
3
+ "version": "5.16.0",
4
4
  "description": "Widgets Page module for WordPress..",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -27,31 +27,31 @@
27
27
  "react-native": "src/index",
28
28
  "dependencies": {
29
29
  "@babel/runtime": "^7.16.0",
30
- "@wordpress/api-fetch": "^6.34.0",
31
- "@wordpress/block-editor": "^12.5.0",
32
- "@wordpress/block-library": "^8.14.0",
33
- "@wordpress/blocks": "^12.14.0",
34
- "@wordpress/components": "^25.3.0",
35
- "@wordpress/compose": "^6.14.0",
36
- "@wordpress/core-data": "^6.14.0",
37
- "@wordpress/data": "^9.7.0",
38
- "@wordpress/deprecated": "^3.37.0",
39
- "@wordpress/dom": "^3.37.0",
40
- "@wordpress/element": "^5.14.0",
41
- "@wordpress/hooks": "^3.37.0",
42
- "@wordpress/i18n": "^4.37.0",
43
- "@wordpress/icons": "^9.28.0",
44
- "@wordpress/interface": "^5.14.0",
45
- "@wordpress/keyboard-shortcuts": "^4.14.0",
46
- "@wordpress/keycodes": "^3.37.0",
47
- "@wordpress/media-utils": "^4.28.0",
48
- "@wordpress/notices": "^4.5.0",
49
- "@wordpress/plugins": "^6.5.0",
50
- "@wordpress/preferences": "^3.14.0",
51
- "@wordpress/private-apis": "^0.19.0",
52
- "@wordpress/reusable-blocks": "^4.14.0",
53
- "@wordpress/url": "^3.38.0",
54
- "@wordpress/widgets": "^3.14.0",
30
+ "@wordpress/api-fetch": "^6.36.0",
31
+ "@wordpress/block-editor": "^12.7.0",
32
+ "@wordpress/block-library": "^8.16.0",
33
+ "@wordpress/blocks": "^12.16.0",
34
+ "@wordpress/components": "^25.5.0",
35
+ "@wordpress/compose": "^6.16.0",
36
+ "@wordpress/core-data": "^6.16.0",
37
+ "@wordpress/data": "^9.9.0",
38
+ "@wordpress/deprecated": "^3.39.0",
39
+ "@wordpress/dom": "^3.39.0",
40
+ "@wordpress/element": "^5.16.0",
41
+ "@wordpress/hooks": "^3.39.0",
42
+ "@wordpress/i18n": "^4.39.0",
43
+ "@wordpress/icons": "^9.30.0",
44
+ "@wordpress/interface": "^5.16.0",
45
+ "@wordpress/keyboard-shortcuts": "^4.16.0",
46
+ "@wordpress/keycodes": "^3.39.0",
47
+ "@wordpress/media-utils": "^4.30.0",
48
+ "@wordpress/notices": "^4.7.0",
49
+ "@wordpress/plugins": "^6.7.0",
50
+ "@wordpress/preferences": "^3.16.0",
51
+ "@wordpress/private-apis": "^0.21.0",
52
+ "@wordpress/reusable-blocks": "^4.16.0",
53
+ "@wordpress/url": "^3.40.0",
54
+ "@wordpress/widgets": "^3.16.0",
55
55
  "classnames": "^2.3.1"
56
56
  },
57
57
  "peerDependencies": {
@@ -61,5 +61,5 @@
61
61
  "publishConfig": {
62
62
  "access": "public"
63
63
  },
64
- "gitHead": "bcd13d59b22553b3c9dc5869077bff1e864cf9f5"
64
+ "gitHead": "b898cf1dc8e70841d1647ea0994ac6278acc18a7"
65
65
  }
package/src/style.scss CHANGED
@@ -11,14 +11,8 @@
11
11
  @import "./components/widget-areas-block-editor-content/style.scss";
12
12
  @import "./components/secondary-sidebar/style.scss";
13
13
 
14
- // In order to use mix-blend-mode, this element needs to have an explicitly set background-color
15
- // We scope it to .wp-toolbar to be wp-admin only, to prevent bleed into other implementations
16
- html.wp-toolbar {
17
- background: $white;
18
- }
19
-
20
- body.appearance_page_gutenberg-widgets,
21
- body.widgets-php {
14
+ body.js.appearance_page_gutenberg-widgets,
15
+ body.js.widgets-php {
22
16
  @include wp-admin-reset( ".blocks-widgets-container" );
23
17
  }
24
18