@wordpress/edit-post 8.45.1-next.v.202605131032.0 → 8.46.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
+ ## 8.46.0 (2026-05-14)
6
+
5
7
  ## 8.45.0 (2026-04-29)
6
8
 
7
9
  ### Enhancements
@@ -61,7 +61,7 @@ function MetaBoxesArea({ location }) {
61
61
  "is-loading": isSaving
62
62
  });
63
63
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: classes, children: [
64
- isSaving && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Spinner, {}),
64
+ isSaving && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_components.Spinner, { className: "edit-post-meta-boxes-area__spinner" }),
65
65
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
66
66
  "div",
67
67
  {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/components/meta-boxes/meta-boxes-area/index.js"],
4
- "sourcesContent": ["/**\n * External dependencies\n */\nimport clsx from 'clsx';\n\n/**\n * WordPress dependencies\n */\nimport { useRef, useEffect } from '@wordpress/element';\nimport { Spinner } from '@wordpress/components';\nimport { useSelect } from '@wordpress/data';\n\n/**\n * Internal dependencies\n */\nimport { store as editPostStore } from '../../../store';\n\n/**\n * Render metabox area.\n *\n * @param {Object} props Component props.\n * @param {string} props.location metabox location.\n * @return {Component} The component to be rendered.\n */\nfunction MetaBoxesArea( { location } ) {\n\tconst container = useRef( null );\n\tconst formRef = useRef( null );\n\n\tuseEffect( () => {\n\t\tformRef.current = document.querySelector(\n\t\t\t'.metabox-location-' + location\n\t\t);\n\n\t\tif ( formRef.current ) {\n\t\t\tcontainer.current.appendChild( formRef.current );\n\t\t}\n\n\t\treturn () => {\n\t\t\tif ( formRef.current ) {\n\t\t\t\tdocument\n\t\t\t\t\t.querySelector( '#metaboxes' )\n\t\t\t\t\t.appendChild( formRef.current );\n\t\t\t}\n\t\t};\n\t}, [ location ] );\n\n\tconst isSaving = useSelect( ( select ) => {\n\t\treturn select( editPostStore ).isSavingMetaBoxes();\n\t}, [] );\n\n\tconst classes = clsx( 'edit-post-meta-boxes-area', `is-${ location }`, {\n\t\t'is-loading': isSaving,\n\t} );\n\n\treturn (\n\t\t<div className={ classes }>\n\t\t\t{ isSaving && <Spinner /> }\n\t\t\t<div\n\t\t\t\tclassName=\"edit-post-meta-boxes-area__container\"\n\t\t\t\tref={ container }\n\t\t\t/>\n\t\t\t<div className=\"edit-post-meta-boxes-area__clear\" />\n\t\t</div>\n\t);\n}\n\nexport default MetaBoxesArea;\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,kBAAiB;AAKjB,qBAAkC;AAClC,wBAAwB;AACxB,kBAA0B;AAK1B,mBAAuC;AAwCrC;AA/BF,SAAS,cAAe,EAAE,SAAS,GAAI;AACtC,QAAM,gBAAY,uBAAQ,IAAK;AAC/B,QAAM,cAAU,uBAAQ,IAAK;AAE7B,gCAAW,MAAM;AAChB,YAAQ,UAAU,SAAS;AAAA,MAC1B,uBAAuB;AAAA,IACxB;AAEA,QAAK,QAAQ,SAAU;AACtB,gBAAU,QAAQ,YAAa,QAAQ,OAAQ;AAAA,IAChD;AAEA,WAAO,MAAM;AACZ,UAAK,QAAQ,SAAU;AACtB,iBACE,cAAe,YAAa,EAC5B,YAAa,QAAQ,OAAQ;AAAA,MAChC;AAAA,IACD;AAAA,EACD,GAAG,CAAE,QAAS,CAAE;AAEhB,QAAM,eAAW,uBAAW,CAAE,WAAY;AACzC,WAAO,OAAQ,aAAAA,KAAc,EAAE,kBAAkB;AAAA,EAClD,GAAG,CAAC,CAAE;AAEN,QAAM,cAAU,YAAAC,SAAM,6BAA6B,MAAO,QAAS,IAAI;AAAA,IACtE,cAAc;AAAA,EACf,CAAE;AAEF,SACC,6CAAC,SAAI,WAAY,SACd;AAAA,gBAAY,4CAAC,6BAAQ;AAAA,IACvB;AAAA,MAAC;AAAA;AAAA,QACA,WAAU;AAAA,QACV,KAAM;AAAA;AAAA,IACP;AAAA,IACA,4CAAC,SAAI,WAAU,oCAAmC;AAAA,KACnD;AAEF;AAEA,IAAO,0BAAQ;",
4
+ "sourcesContent": ["/**\n * External dependencies\n */\nimport clsx from 'clsx';\n\n/**\n * WordPress dependencies\n */\nimport { useRef, useEffect } from '@wordpress/element';\nimport { Spinner } from '@wordpress/components';\nimport { useSelect } from '@wordpress/data';\n\n/**\n * Internal dependencies\n */\nimport { store as editPostStore } from '../../../store';\n\n/**\n * Render metabox area.\n *\n * @param {Object} props Component props.\n * @param {string} props.location metabox location.\n * @return {Component} The component to be rendered.\n */\nfunction MetaBoxesArea( { location } ) {\n\tconst container = useRef( null );\n\tconst formRef = useRef( null );\n\n\tuseEffect( () => {\n\t\tformRef.current = document.querySelector(\n\t\t\t'.metabox-location-' + location\n\t\t);\n\n\t\tif ( formRef.current ) {\n\t\t\tcontainer.current.appendChild( formRef.current );\n\t\t}\n\n\t\treturn () => {\n\t\t\tif ( formRef.current ) {\n\t\t\t\tdocument\n\t\t\t\t\t.querySelector( '#metaboxes' )\n\t\t\t\t\t.appendChild( formRef.current );\n\t\t\t}\n\t\t};\n\t}, [ location ] );\n\n\tconst isSaving = useSelect( ( select ) => {\n\t\treturn select( editPostStore ).isSavingMetaBoxes();\n\t}, [] );\n\n\tconst classes = clsx( 'edit-post-meta-boxes-area', `is-${ location }`, {\n\t\t'is-loading': isSaving,\n\t} );\n\n\treturn (\n\t\t<div className={ classes }>\n\t\t\t{ isSaving && (\n\t\t\t\t<Spinner className=\"edit-post-meta-boxes-area__spinner\" />\n\t\t\t) }\n\t\t\t<div\n\t\t\t\tclassName=\"edit-post-meta-boxes-area__container\"\n\t\t\t\tref={ container }\n\t\t\t/>\n\t\t\t<div className=\"edit-post-meta-boxes-area__clear\" />\n\t\t</div>\n\t);\n}\n\nexport default MetaBoxesArea;\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGA,kBAAiB;AAKjB,qBAAkC;AAClC,wBAAwB;AACxB,kBAA0B;AAK1B,mBAAuC;AAwCrC;AA/BF,SAAS,cAAe,EAAE,SAAS,GAAI;AACtC,QAAM,gBAAY,uBAAQ,IAAK;AAC/B,QAAM,cAAU,uBAAQ,IAAK;AAE7B,gCAAW,MAAM;AAChB,YAAQ,UAAU,SAAS;AAAA,MAC1B,uBAAuB;AAAA,IACxB;AAEA,QAAK,QAAQ,SAAU;AACtB,gBAAU,QAAQ,YAAa,QAAQ,OAAQ;AAAA,IAChD;AAEA,WAAO,MAAM;AACZ,UAAK,QAAQ,SAAU;AACtB,iBACE,cAAe,YAAa,EAC5B,YAAa,QAAQ,OAAQ;AAAA,MAChC;AAAA,IACD;AAAA,EACD,GAAG,CAAE,QAAS,CAAE;AAEhB,QAAM,eAAW,uBAAW,CAAE,WAAY;AACzC,WAAO,OAAQ,aAAAA,KAAc,EAAE,kBAAkB;AAAA,EAClD,GAAG,CAAC,CAAE;AAEN,QAAM,cAAU,YAAAC,SAAM,6BAA6B,MAAO,QAAS,IAAI;AAAA,IACtE,cAAc;AAAA,EACf,CAAE;AAEF,SACC,6CAAC,SAAI,WAAY,SACd;AAAA,gBACD,4CAAC,6BAAQ,WAAU,sCAAqC;AAAA,IAEzD;AAAA,MAAC;AAAA;AAAA,QACA,WAAU;AAAA,QACV,KAAM;AAAA;AAAA,IACP;AAAA,IACA,4CAAC,SAAI,WAAU,oCAAmC;AAAA,KACnD;AAEF;AAEA,IAAO,0BAAQ;",
6
6
  "names": ["editPostStore", "clsx"]
7
7
  }
@@ -28,7 +28,7 @@ function MetaBoxesArea({ location }) {
28
28
  "is-loading": isSaving
29
29
  });
30
30
  return /* @__PURE__ */ jsxs("div", { className: classes, children: [
31
- isSaving && /* @__PURE__ */ jsx(Spinner, {}),
31
+ isSaving && /* @__PURE__ */ jsx(Spinner, { className: "edit-post-meta-boxes-area__spinner" }),
32
32
  /* @__PURE__ */ jsx(
33
33
  "div",
34
34
  {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/components/meta-boxes/meta-boxes-area/index.js"],
4
- "sourcesContent": ["/**\n * External dependencies\n */\nimport clsx from 'clsx';\n\n/**\n * WordPress dependencies\n */\nimport { useRef, useEffect } from '@wordpress/element';\nimport { Spinner } from '@wordpress/components';\nimport { useSelect } from '@wordpress/data';\n\n/**\n * Internal dependencies\n */\nimport { store as editPostStore } from '../../../store';\n\n/**\n * Render metabox area.\n *\n * @param {Object} props Component props.\n * @param {string} props.location metabox location.\n * @return {Component} The component to be rendered.\n */\nfunction MetaBoxesArea( { location } ) {\n\tconst container = useRef( null );\n\tconst formRef = useRef( null );\n\n\tuseEffect( () => {\n\t\tformRef.current = document.querySelector(\n\t\t\t'.metabox-location-' + location\n\t\t);\n\n\t\tif ( formRef.current ) {\n\t\t\tcontainer.current.appendChild( formRef.current );\n\t\t}\n\n\t\treturn () => {\n\t\t\tif ( formRef.current ) {\n\t\t\t\tdocument\n\t\t\t\t\t.querySelector( '#metaboxes' )\n\t\t\t\t\t.appendChild( formRef.current );\n\t\t\t}\n\t\t};\n\t}, [ location ] );\n\n\tconst isSaving = useSelect( ( select ) => {\n\t\treturn select( editPostStore ).isSavingMetaBoxes();\n\t}, [] );\n\n\tconst classes = clsx( 'edit-post-meta-boxes-area', `is-${ location }`, {\n\t\t'is-loading': isSaving,\n\t} );\n\n\treturn (\n\t\t<div className={ classes }>\n\t\t\t{ isSaving && <Spinner /> }\n\t\t\t<div\n\t\t\t\tclassName=\"edit-post-meta-boxes-area__container\"\n\t\t\t\tref={ container }\n\t\t\t/>\n\t\t\t<div className=\"edit-post-meta-boxes-area__clear\" />\n\t\t</div>\n\t);\n}\n\nexport default MetaBoxesArea;\n"],
5
- "mappings": ";AAGA,OAAO,UAAU;AAKjB,SAAS,QAAQ,iBAAiB;AAClC,SAAS,eAAe;AACxB,SAAS,iBAAiB;AAK1B,SAAS,SAAS,qBAAqB;AAwCrC,SACe,KADf;AA/BF,SAAS,cAAe,EAAE,SAAS,GAAI;AACtC,QAAM,YAAY,OAAQ,IAAK;AAC/B,QAAM,UAAU,OAAQ,IAAK;AAE7B,YAAW,MAAM;AAChB,YAAQ,UAAU,SAAS;AAAA,MAC1B,uBAAuB;AAAA,IACxB;AAEA,QAAK,QAAQ,SAAU;AACtB,gBAAU,QAAQ,YAAa,QAAQ,OAAQ;AAAA,IAChD;AAEA,WAAO,MAAM;AACZ,UAAK,QAAQ,SAAU;AACtB,iBACE,cAAe,YAAa,EAC5B,YAAa,QAAQ,OAAQ;AAAA,MAChC;AAAA,IACD;AAAA,EACD,GAAG,CAAE,QAAS,CAAE;AAEhB,QAAM,WAAW,UAAW,CAAE,WAAY;AACzC,WAAO,OAAQ,aAAc,EAAE,kBAAkB;AAAA,EAClD,GAAG,CAAC,CAAE;AAEN,QAAM,UAAU,KAAM,6BAA6B,MAAO,QAAS,IAAI;AAAA,IACtE,cAAc;AAAA,EACf,CAAE;AAEF,SACC,qBAAC,SAAI,WAAY,SACd;AAAA,gBAAY,oBAAC,WAAQ;AAAA,IACvB;AAAA,MAAC;AAAA;AAAA,QACA,WAAU;AAAA,QACV,KAAM;AAAA;AAAA,IACP;AAAA,IACA,oBAAC,SAAI,WAAU,oCAAmC;AAAA,KACnD;AAEF;AAEA,IAAO,0BAAQ;",
4
+ "sourcesContent": ["/**\n * External dependencies\n */\nimport clsx from 'clsx';\n\n/**\n * WordPress dependencies\n */\nimport { useRef, useEffect } from '@wordpress/element';\nimport { Spinner } from '@wordpress/components';\nimport { useSelect } from '@wordpress/data';\n\n/**\n * Internal dependencies\n */\nimport { store as editPostStore } from '../../../store';\n\n/**\n * Render metabox area.\n *\n * @param {Object} props Component props.\n * @param {string} props.location metabox location.\n * @return {Component} The component to be rendered.\n */\nfunction MetaBoxesArea( { location } ) {\n\tconst container = useRef( null );\n\tconst formRef = useRef( null );\n\n\tuseEffect( () => {\n\t\tformRef.current = document.querySelector(\n\t\t\t'.metabox-location-' + location\n\t\t);\n\n\t\tif ( formRef.current ) {\n\t\t\tcontainer.current.appendChild( formRef.current );\n\t\t}\n\n\t\treturn () => {\n\t\t\tif ( formRef.current ) {\n\t\t\t\tdocument\n\t\t\t\t\t.querySelector( '#metaboxes' )\n\t\t\t\t\t.appendChild( formRef.current );\n\t\t\t}\n\t\t};\n\t}, [ location ] );\n\n\tconst isSaving = useSelect( ( select ) => {\n\t\treturn select( editPostStore ).isSavingMetaBoxes();\n\t}, [] );\n\n\tconst classes = clsx( 'edit-post-meta-boxes-area', `is-${ location }`, {\n\t\t'is-loading': isSaving,\n\t} );\n\n\treturn (\n\t\t<div className={ classes }>\n\t\t\t{ isSaving && (\n\t\t\t\t<Spinner className=\"edit-post-meta-boxes-area__spinner\" />\n\t\t\t) }\n\t\t\t<div\n\t\t\t\tclassName=\"edit-post-meta-boxes-area__container\"\n\t\t\t\tref={ container }\n\t\t\t/>\n\t\t\t<div className=\"edit-post-meta-boxes-area__clear\" />\n\t\t</div>\n\t);\n}\n\nexport default MetaBoxesArea;\n"],
5
+ "mappings": ";AAGA,OAAO,UAAU;AAKjB,SAAS,QAAQ,iBAAiB;AAClC,SAAS,eAAe;AACxB,SAAS,iBAAiB;AAK1B,SAAS,SAAS,qBAAqB;AAwCrC,SAEE,KAFF;AA/BF,SAAS,cAAe,EAAE,SAAS,GAAI;AACtC,QAAM,YAAY,OAAQ,IAAK;AAC/B,QAAM,UAAU,OAAQ,IAAK;AAE7B,YAAW,MAAM;AAChB,YAAQ,UAAU,SAAS;AAAA,MAC1B,uBAAuB;AAAA,IACxB;AAEA,QAAK,QAAQ,SAAU;AACtB,gBAAU,QAAQ,YAAa,QAAQ,OAAQ;AAAA,IAChD;AAEA,WAAO,MAAM;AACZ,UAAK,QAAQ,SAAU;AACtB,iBACE,cAAe,YAAa,EAC5B,YAAa,QAAQ,OAAQ;AAAA,MAChC;AAAA,IACD;AAAA,EACD,GAAG,CAAE,QAAS,CAAE;AAEhB,QAAM,WAAW,UAAW,CAAE,WAAY;AACzC,WAAO,OAAQ,aAAc,EAAE,kBAAkB;AAAA,EAClD,GAAG,CAAC,CAAE;AAEN,QAAM,UAAU,KAAM,6BAA6B,MAAO,QAAS,IAAI;AAAA,IACtE,cAAc;AAAA,EACf,CAAE;AAEF,SACC,qBAAC,SAAI,WAAY,SACd;AAAA,gBACD,oBAAC,WAAQ,WAAU,sCAAqC;AAAA,IAEzD;AAAA,MAAC;AAAA;AAAA,QACA,WAAU;AAAA,QACV,KAAM;AAAA;AAAA,IACP;AAAA,IACA,oBAAC,SAAI,WAAU,oCAAmC;AAAA,KACnD;AAEF;AAEA,IAAO,0BAAQ;",
6
6
  "names": []
7
7
  }
@@ -384,11 +384,11 @@
384
384
  background: transparent;
385
385
  z-index: 1;
386
386
  }
387
- .edit-post-meta-boxes-area .components-spinner {
387
+ .edit-post-meta-boxes-area .edit-post-meta-boxes-area__spinner {
388
388
  position: absolute;
389
389
  top: 10px;
390
390
  left: 20px;
391
- z-index: 5;
391
+ z-index: 2;
392
392
  }
393
393
  .edit-post-meta-boxes-area .is-hidden {
394
394
  display: none;
@@ -384,11 +384,11 @@
384
384
  background: transparent;
385
385
  z-index: 1;
386
386
  }
387
- .edit-post-meta-boxes-area .components-spinner {
387
+ .edit-post-meta-boxes-area .edit-post-meta-boxes-area__spinner {
388
388
  position: absolute;
389
389
  top: 10px;
390
390
  right: 20px;
391
- z-index: 5;
391
+ z-index: 2;
392
392
  }
393
393
  .edit-post-meta-boxes-area .is-hidden {
394
394
  display: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/edit-post",
3
- "version": "8.45.1-next.v.202605131032.0+f6d6e7149",
3
+ "version": "8.46.0",
4
4
  "description": "Edit Post module for WordPress.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -48,38 +48,38 @@
48
48
  "postbox"
49
49
  ],
50
50
  "dependencies": {
51
- "@wordpress/a11y": "^4.45.1-next.v.202605131032.0+f6d6e7149",
52
- "@wordpress/admin-ui": "^2.0.2-next.v.202605131032.0+f6d6e7149",
53
- "@wordpress/api-fetch": "^7.45.1-next.v.202605131032.0+f6d6e7149",
54
- "@wordpress/base-styles": "^8.0.1-next.v.202605131032.0+f6d6e7149",
55
- "@wordpress/block-editor": "^15.19.1-next.v.202605131032.0+f6d6e7149",
56
- "@wordpress/block-library": "^9.45.1-next.v.202605131032.0+f6d6e7149",
57
- "@wordpress/blocks": "^15.18.1-next.v.202605131032.0+f6d6e7149",
58
- "@wordpress/commands": "^1.45.1-next.v.202605131032.0+f6d6e7149",
59
- "@wordpress/components": "^33.1.1-next.v.202605131032.0+f6d6e7149",
60
- "@wordpress/compose": "^7.45.1-next.v.202605131032.0+f6d6e7149",
61
- "@wordpress/core-data": "^7.45.1-next.v.202605131032.0+f6d6e7149",
62
- "@wordpress/data": "^10.45.1-next.v.202605131032.0+f6d6e7149",
63
- "@wordpress/deprecated": "^4.45.1-next.v.202605131032.0+f6d6e7149",
64
- "@wordpress/dom": "^4.45.1-next.v.202605131032.0+f6d6e7149",
65
- "@wordpress/editor": "^14.45.2-next.v.202605131032.0+f6d6e7149",
66
- "@wordpress/element": "^6.45.1-next.v.202605131032.0+f6d6e7149",
67
- "@wordpress/global-styles-engine": "^1.12.1-next.v.202605131032.0+f6d6e7149",
68
- "@wordpress/hooks": "^4.45.1-next.v.202605131032.0+f6d6e7149",
69
- "@wordpress/html-entities": "^4.45.1-next.v.202605131032.0+f6d6e7149",
70
- "@wordpress/i18n": "^6.18.1-next.v.202605131032.0+f6d6e7149",
71
- "@wordpress/icons": "^13.0.1-next.v.202605131032.0+f6d6e7149",
72
- "@wordpress/keyboard-shortcuts": "^5.45.1-next.v.202605131032.0+f6d6e7149",
73
- "@wordpress/keycodes": "^4.45.1-next.v.202605131032.0+f6d6e7149",
74
- "@wordpress/notices": "^5.45.1-next.v.202605131032.0+f6d6e7149",
75
- "@wordpress/plugins": "^7.45.1-next.v.202605131032.0+f6d6e7149",
76
- "@wordpress/preferences": "^4.45.1-next.v.202605131032.0+f6d6e7149",
77
- "@wordpress/private-apis": "^1.45.1-next.v.202605131032.0+f6d6e7149",
78
- "@wordpress/ui": "^0.13.1-next.v.202605131032.0+f6d6e7149",
79
- "@wordpress/url": "^4.45.1-next.v.202605131032.0+f6d6e7149",
80
- "@wordpress/viewport": "^6.45.1-next.v.202605131032.0+f6d6e7149",
81
- "@wordpress/warning": "^3.45.1-next.v.202605131032.0+f6d6e7149",
82
- "@wordpress/widgets": "^4.45.1-next.v.202605131032.0+f6d6e7149",
51
+ "@wordpress/a11y": "^4.46.0",
52
+ "@wordpress/admin-ui": "^2.1.0",
53
+ "@wordpress/api-fetch": "^7.46.0",
54
+ "@wordpress/base-styles": "^8.0.0",
55
+ "@wordpress/block-editor": "^15.19.0",
56
+ "@wordpress/block-library": "^9.46.0",
57
+ "@wordpress/blocks": "^15.19.0",
58
+ "@wordpress/commands": "^1.46.0",
59
+ "@wordpress/components": "^33.1.0",
60
+ "@wordpress/compose": "^7.46.0",
61
+ "@wordpress/core-data": "^7.46.0",
62
+ "@wordpress/data": "^10.46.0",
63
+ "@wordpress/deprecated": "^4.46.0",
64
+ "@wordpress/dom": "^4.46.0",
65
+ "@wordpress/editor": "^14.46.0",
66
+ "@wordpress/element": "^6.46.0",
67
+ "@wordpress/global-styles-engine": "^1.13.0",
68
+ "@wordpress/hooks": "^4.46.0",
69
+ "@wordpress/html-entities": "^4.46.0",
70
+ "@wordpress/i18n": "^6.19.0",
71
+ "@wordpress/icons": "^13.1.0",
72
+ "@wordpress/keyboard-shortcuts": "^5.46.0",
73
+ "@wordpress/keycodes": "^4.46.0",
74
+ "@wordpress/notices": "^5.46.0",
75
+ "@wordpress/plugins": "^7.46.0",
76
+ "@wordpress/preferences": "^4.46.0",
77
+ "@wordpress/private-apis": "^1.46.0",
78
+ "@wordpress/ui": "^0.13.0",
79
+ "@wordpress/url": "^4.46.0",
80
+ "@wordpress/viewport": "^6.46.0",
81
+ "@wordpress/warning": "^3.46.0",
82
+ "@wordpress/widgets": "^4.46.0",
83
83
  "clsx": "^2.1.1",
84
84
  "memize": "^2.1.0"
85
85
  },
@@ -90,5 +90,5 @@
90
90
  "publishConfig": {
91
91
  "access": "public"
92
92
  },
93
- "gitHead": "0e198c7ac7ca634e73ded9220ce048c0302174dd"
93
+ "gitHead": "51264e33b95fadff9a06b68141e674ce9cde9675"
94
94
  }
@@ -54,7 +54,9 @@ function MetaBoxesArea( { location } ) {
54
54
 
55
55
  return (
56
56
  <div className={ classes }>
57
- { isSaving && <Spinner /> }
57
+ { isSaving && (
58
+ <Spinner className="edit-post-meta-boxes-area__spinner" />
59
+ ) }
58
60
  <div
59
61
  className="edit-post-meta-boxes-area__container"
60
62
  ref={ container }
@@ -1,6 +1,5 @@
1
1
  @use "@wordpress/base-styles/colors" as *;
2
2
  @use "@wordpress/base-styles/variables" as *;
3
- @use "@wordpress/base-styles/z-index" as *;
4
3
 
5
4
  .edit-post-meta-boxes-area {
6
5
  position: relative;
@@ -64,6 +63,7 @@
64
63
  width: 44px;
65
64
  }
66
65
 
66
+ // Block interaction with meta boxes while they are being saved.
67
67
  &.is-loading::before {
68
68
  position: absolute;
69
69
  top: 0;
@@ -72,14 +72,14 @@
72
72
  bottom: 0;
73
73
  content: "";
74
74
  background: transparent;
75
- z-index: z-index(".edit-post-meta-boxes-area.is-loading::before");
75
+ z-index: 1;
76
76
  }
77
77
 
78
- .components-spinner {
78
+ .edit-post-meta-boxes-area__spinner {
79
79
  position: absolute;
80
80
  top: 10px;
81
81
  right: 20px;
82
- z-index: z-index(".edit-post-meta-boxes-area .spinner");
82
+ z-index: 2; // Stack above the .is-loading::before overlay.
83
83
  }
84
84
 
85
85
  // Hide disabled meta boxes using CSS so that we don't interfere with plugins