@wordpress/edit-widgets 5.20.1 → 5.21.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,8 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 5.21.0 (2023-10-18)
6
+
5
7
  ## 5.20.0 (2023-10-05)
6
8
 
7
9
  ## 5.19.0 (2023-09-20)
@@ -12,7 +12,7 @@ var _privateApis = require("@wordpress/private-apis");
12
12
  const {
13
13
  lock,
14
14
  unlock
15
- } = (0, _privateApis.__dangerousOptInToUnstableAPIsOnlyForCoreModules)('I know using unstable features means my plugin or theme will inevitably break on the next WordPress release.', '@wordpress/edit-widgets');
15
+ } = (0, _privateApis.__dangerousOptInToUnstableAPIsOnlyForCoreModules)('I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.', '@wordpress/edit-widgets');
16
16
  exports.unlock = unlock;
17
17
  exports.lock = lock;
18
18
  //# sourceMappingURL=lock-unlock.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_privateApis","require","lock","unlock","__dangerousOptInToUnstableAPIsOnlyForCoreModules","exports"],"sources":["@wordpress/edit-widgets/src/lock-unlock.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __dangerousOptInToUnstableAPIsOnlyForCoreModules } from '@wordpress/private-apis';\n\nexport const { lock, unlock } =\n\t__dangerousOptInToUnstableAPIsOnlyForCoreModules(\n\t\t'I know using unstable features means my plugin or theme will inevitably break on the next WordPress release.',\n\t\t'@wordpress/edit-widgets'\n\t);\n"],"mappings":";;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAHA;AACA;AACA;;AAGO,MAAM;EAAEC,IAAI;EAAEC;AAAO,CAAC,GAC5B,IAAAC,6DAAgD,EAC/C,8GAA8G,EAC9G,yBACD,CAAC;AAACC,OAAA,CAAAF,MAAA,GAAAA,MAAA;AAAAE,OAAA,CAAAH,IAAA,GAAAA,IAAA"}
1
+ {"version":3,"names":["_privateApis","require","lock","unlock","__dangerousOptInToUnstableAPIsOnlyForCoreModules","exports"],"sources":["@wordpress/edit-widgets/src/lock-unlock.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __dangerousOptInToUnstableAPIsOnlyForCoreModules } from '@wordpress/private-apis';\n\nexport const { lock, unlock } =\n\t__dangerousOptInToUnstableAPIsOnlyForCoreModules(\n\t\t'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.',\n\t\t'@wordpress/edit-widgets'\n\t);\n"],"mappings":";;;;;;AAGA,IAAAA,YAAA,GAAAC,OAAA;AAHA;AACA;AACA;;AAGO,MAAM;EAAEC,IAAI;EAAEC;AAAO,CAAC,GAC5B,IAAAC,6DAAgD,EAC/C,iHAAiH,EACjH,yBACD,CAAC;AAACC,OAAA,CAAAF,MAAA,GAAAA,MAAA;AAAAE,OAAA,CAAAH,IAAA,GAAAA,IAAA"}
@@ -5,5 +5,5 @@ import { __dangerousOptInToUnstableAPIsOnlyForCoreModules } from '@wordpress/pri
5
5
  export const {
6
6
  lock,
7
7
  unlock
8
- } = __dangerousOptInToUnstableAPIsOnlyForCoreModules('I know using unstable features means my plugin or theme will inevitably break on the next WordPress release.', '@wordpress/edit-widgets');
8
+ } = __dangerousOptInToUnstableAPIsOnlyForCoreModules('I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.', '@wordpress/edit-widgets');
9
9
  //# sourceMappingURL=lock-unlock.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__dangerousOptInToUnstableAPIsOnlyForCoreModules","lock","unlock"],"sources":["@wordpress/edit-widgets/src/lock-unlock.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __dangerousOptInToUnstableAPIsOnlyForCoreModules } from '@wordpress/private-apis';\n\nexport const { lock, unlock } =\n\t__dangerousOptInToUnstableAPIsOnlyForCoreModules(\n\t\t'I know using unstable features means my plugin or theme will inevitably break on the next WordPress release.',\n\t\t'@wordpress/edit-widgets'\n\t);\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,gDAAgD,QAAQ,yBAAyB;AAE1F,OAAO,MAAM;EAAEC,IAAI;EAAEC;AAAO,CAAC,GAC5BF,gDAAgD,CAC/C,8GAA8G,EAC9G,yBACD,CAAC"}
1
+ {"version":3,"names":["__dangerousOptInToUnstableAPIsOnlyForCoreModules","lock","unlock"],"sources":["@wordpress/edit-widgets/src/lock-unlock.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __dangerousOptInToUnstableAPIsOnlyForCoreModules } from '@wordpress/private-apis';\n\nexport const { lock, unlock } =\n\t__dangerousOptInToUnstableAPIsOnlyForCoreModules(\n\t\t'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.',\n\t\t'@wordpress/edit-widgets'\n\t);\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,gDAAgD,QAAQ,yBAAyB;AAE1F,OAAO,MAAM;EAAEC,IAAI;EAAEC;AAAO,CAAC,GAC5BF,gDAAgD,CAC/C,iHAAiH,EACjH,yBACD,CAAC"}
@@ -1209,7 +1209,7 @@ body.js.widgets-php .media-frame select.attachment-filters:last-of-type {
1209
1209
  display: none;
1210
1210
  }
1211
1211
 
1212
- .widgets-php .notice {
1212
+ .js .widgets-php .notice {
1213
1213
  display: none !important;
1214
1214
  }
1215
1215
 
@@ -1209,7 +1209,7 @@ body.js.widgets-php .media-frame select.attachment-filters:last-of-type {
1209
1209
  display: none;
1210
1210
  }
1211
1211
 
1212
- .widgets-php .notice {
1212
+ .js .widgets-php .notice {
1213
1213
  display: none !important;
1214
1214
  }
1215
1215
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/edit-widgets",
3
- "version": "5.20.1",
3
+ "version": "5.21.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.40.0",
31
- "@wordpress/block-editor": "^12.11.1",
32
- "@wordpress/block-library": "^8.20.1",
33
- "@wordpress/blocks": "^12.20.1",
34
- "@wordpress/components": "^25.9.1",
35
- "@wordpress/compose": "^6.20.0",
36
- "@wordpress/core-data": "^6.20.1",
37
- "@wordpress/data": "^9.13.1",
38
- "@wordpress/deprecated": "^3.43.0",
39
- "@wordpress/dom": "^3.43.0",
40
- "@wordpress/element": "^5.20.0",
41
- "@wordpress/hooks": "^3.43.0",
42
- "@wordpress/i18n": "^4.43.0",
43
- "@wordpress/icons": "^9.34.0",
44
- "@wordpress/interface": "^5.20.1",
45
- "@wordpress/keyboard-shortcuts": "^4.20.1",
46
- "@wordpress/keycodes": "^3.43.0",
47
- "@wordpress/media-utils": "^4.34.0",
48
- "@wordpress/notices": "^4.11.1",
49
- "@wordpress/patterns": "^1.4.1",
50
- "@wordpress/plugins": "^6.11.1",
51
- "@wordpress/preferences": "^3.20.1",
52
- "@wordpress/private-apis": "^0.25.0",
53
- "@wordpress/reusable-blocks": "^4.20.1",
54
- "@wordpress/url": "^3.44.0",
55
- "@wordpress/widgets": "^3.20.1",
30
+ "@wordpress/api-fetch": "^6.41.0",
31
+ "@wordpress/block-editor": "^12.12.0",
32
+ "@wordpress/block-library": "^8.21.0",
33
+ "@wordpress/blocks": "^12.21.0",
34
+ "@wordpress/components": "^25.10.0",
35
+ "@wordpress/compose": "^6.21.0",
36
+ "@wordpress/core-data": "^6.21.0",
37
+ "@wordpress/data": "^9.14.0",
38
+ "@wordpress/deprecated": "^3.44.0",
39
+ "@wordpress/dom": "^3.44.0",
40
+ "@wordpress/element": "^5.21.0",
41
+ "@wordpress/hooks": "^3.44.0",
42
+ "@wordpress/i18n": "^4.44.0",
43
+ "@wordpress/icons": "^9.35.0",
44
+ "@wordpress/interface": "^5.21.0",
45
+ "@wordpress/keyboard-shortcuts": "^4.21.0",
46
+ "@wordpress/keycodes": "^3.44.0",
47
+ "@wordpress/media-utils": "^4.35.0",
48
+ "@wordpress/notices": "^4.12.0",
49
+ "@wordpress/patterns": "^1.5.0",
50
+ "@wordpress/plugins": "^6.12.0",
51
+ "@wordpress/preferences": "^3.21.0",
52
+ "@wordpress/private-apis": "^0.26.0",
53
+ "@wordpress/reusable-blocks": "^4.21.0",
54
+ "@wordpress/url": "^3.45.0",
55
+ "@wordpress/widgets": "^3.21.0",
56
56
  "classnames": "^2.3.1"
57
57
  },
58
58
  "peerDependencies": {
@@ -62,5 +62,5 @@
62
62
  "publishConfig": {
63
63
  "access": "public"
64
64
  },
65
- "gitHead": "e17f760ed0dc11cce78157d7c2f2086b1b3c09d8"
65
+ "gitHead": "f83bb1a71e8fa416131b81a9f282a72a1dc6c694"
66
66
  }
@@ -5,6 +5,6 @@ import { __dangerousOptInToUnstableAPIsOnlyForCoreModules } from '@wordpress/pri
5
5
 
6
6
  export const { lock, unlock } =
7
7
  __dangerousOptInToUnstableAPIsOnlyForCoreModules(
8
- 'I know using unstable features means my plugin or theme will inevitably break on the next WordPress release.',
8
+ 'I know using unstable features means my theme or plugin will inevitably break in the next version of WordPress.',
9
9
  '@wordpress/edit-widgets'
10
10
  );
package/src/style.scss CHANGED
@@ -56,7 +56,7 @@ body.js.widgets-php {
56
56
 
57
57
  // Don't display admin notices on the Widgets screen.
58
58
  // Needs !important because plugins may add inline styles to notices.
59
- .widgets-php .notice {
59
+ .js .widgets-php .notice {
60
60
  display: none !important;
61
61
  }
62
62