@wordpress/block-editor 12.22.0 → 12.23.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.
Files changed (273) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/README.md +4 -0
  3. package/build/components/block-list/block.js +11 -3
  4. package/build/components/block-list/block.js.map +1 -1
  5. package/build/components/block-mover/button.js +4 -1
  6. package/build/components/block-mover/button.js.map +1 -1
  7. package/build/components/block-mover/index.js +5 -1
  8. package/build/components/block-mover/index.js.map +1 -1
  9. package/build/components/block-patterns-list/index.js +4 -1
  10. package/build/components/block-patterns-list/index.js.map +1 -1
  11. package/build/components/block-settings-menu/block-settings-dropdown.js +7 -3
  12. package/build/components/block-settings-menu/block-settings-dropdown.js.map +1 -1
  13. package/build/components/block-switcher/index.js +4 -3
  14. package/build/components/block-switcher/index.js.map +1 -1
  15. package/build/components/block-toolbar/index.js +5 -4
  16. package/build/components/block-toolbar/index.js.map +1 -1
  17. package/build/components/block-toolbar/shuffle.js +18 -9
  18. package/build/components/block-toolbar/shuffle.js.map +1 -1
  19. package/build/components/block-tools/block-selection-button.js +48 -8
  20. package/build/components/block-tools/block-selection-button.js.map +1 -1
  21. package/build/components/block-tools/index.js +14 -2
  22. package/build/components/block-tools/index.js.map +1 -1
  23. package/build/components/global-styles/advanced-panel.js +9 -2
  24. package/build/components/global-styles/advanced-panel.js.map +1 -1
  25. package/build/components/global-styles/background-panel.js +444 -0
  26. package/build/components/global-styles/background-panel.js.map +1 -0
  27. package/build/components/global-styles/color-panel.js +2 -1
  28. package/build/components/global-styles/color-panel.js.map +1 -1
  29. package/build/components/global-styles/get-global-styles-changes.js +3 -0
  30. package/build/components/global-styles/get-global-styles-changes.js.map +1 -1
  31. package/build/components/global-styles/hooks.js +1 -1
  32. package/build/components/global-styles/hooks.js.map +1 -1
  33. package/build/components/global-styles/index.js +13 -0
  34. package/build/components/global-styles/index.js.map +1 -1
  35. package/build/components/global-styles/use-global-styles-output.js +15 -14
  36. package/build/components/global-styles/use-global-styles-output.js.map +1 -1
  37. package/build/components/global-styles/utils.js +2 -1
  38. package/build/components/global-styles/utils.js.map +1 -1
  39. package/build/components/iframe/index.js +9 -4
  40. package/build/components/iframe/index.js.map +1 -1
  41. package/build/components/inserter/block-patterns-tab/index.js.map +1 -1
  42. package/build/components/inserter/block-patterns-tab/pattern-category-preview-panel.js +5 -0
  43. package/build/components/inserter/block-patterns-tab/pattern-category-preview-panel.js.map +1 -1
  44. package/build/components/inserter/library.js +2 -0
  45. package/build/components/inserter/library.js.map +1 -1
  46. package/build/components/inserter/menu.js +8 -2
  47. package/build/components/inserter/menu.js.map +1 -1
  48. package/build/components/inserter/search-items.js +36 -15
  49. package/build/components/inserter/search-items.js.map +1 -1
  50. package/build/components/keyboard-shortcuts/index.js +11 -0
  51. package/build/components/keyboard-shortcuts/index.js.map +1 -1
  52. package/build/components/list-view/block-select-button.js +16 -0
  53. package/build/components/list-view/block-select-button.js.map +1 -1
  54. package/build/components/list-view/block.js +1 -1
  55. package/build/components/list-view/block.js.map +1 -1
  56. package/build/components/list-view/index.js +17 -2
  57. package/build/components/list-view/index.js.map +1 -1
  58. package/build/components/list-view/use-list-view-collapse-items.js +47 -0
  59. package/build/components/list-view/use-list-view-collapse-items.js.map +1 -0
  60. package/build/components/rich-text/index.js +14 -11
  61. package/build/components/rich-text/index.js.map +1 -1
  62. package/build/components/rich-text/index.native.js +17 -11
  63. package/build/components/rich-text/index.native.js.map +1 -1
  64. package/build/components/rich-text/native/get-format-colors.native.js +1 -1
  65. package/build/components/rich-text/native/get-format-colors.native.js.map +1 -1
  66. package/build/components/rich-text/native/index.native.js +2 -2
  67. package/build/components/rich-text/native/index.native.js.map +1 -1
  68. package/build/components/rich-text/with-deprecations.js +0 -3
  69. package/build/components/rich-text/with-deprecations.js.map +1 -1
  70. package/build/components/url-popover/image-url-input-ui.js +50 -36
  71. package/build/components/url-popover/image-url-input-ui.js.map +1 -1
  72. package/build/components/use-block-display-information/index.js +4 -6
  73. package/build/components/use-block-display-information/index.js.map +1 -1
  74. package/build/hooks/anchor.js +2 -2
  75. package/build/hooks/anchor.js.map +1 -1
  76. package/build/hooks/background.js +70 -424
  77. package/build/hooks/background.js.map +1 -1
  78. package/build/hooks/index.js +7 -0
  79. package/build/hooks/index.js.map +1 -1
  80. package/build/hooks/use-zoom-out.js +47 -0
  81. package/build/hooks/use-zoom-out.js.map +1 -0
  82. package/build/index.js +7 -0
  83. package/build/index.js.map +1 -1
  84. package/build/private-apis.js +6 -1
  85. package/build/private-apis.js.map +1 -1
  86. package/build/private-apis.native.js +3 -1
  87. package/build/private-apis.native.js.map +1 -1
  88. package/build/store/private-actions.js +13 -0
  89. package/build/store/private-actions.js.map +1 -1
  90. package/build/store/private-keys.js +2 -1
  91. package/build/store/private-keys.js.map +1 -1
  92. package/build/store/private-selectors.js +24 -3
  93. package/build/store/private-selectors.js.map +1 -1
  94. package/build/store/reducer.js +22 -0
  95. package/build/store/reducer.js.map +1 -1
  96. package/build/store/selectors.js +34 -32
  97. package/build/store/selectors.js.map +1 -1
  98. package/build/store/utils.js +7 -1
  99. package/build/store/utils.js.map +1 -1
  100. package/build/utils/transform-styles/index.js +2 -1
  101. package/build/utils/transform-styles/index.js.map +1 -1
  102. package/build-module/components/block-list/block.js +11 -3
  103. package/build-module/components/block-list/block.js.map +1 -1
  104. package/build-module/components/block-mover/button.js +4 -1
  105. package/build-module/components/block-mover/button.js.map +1 -1
  106. package/build-module/components/block-mover/index.js +5 -1
  107. package/build-module/components/block-mover/index.js.map +1 -1
  108. package/build-module/components/block-patterns-list/index.js +4 -1
  109. package/build-module/components/block-patterns-list/index.js.map +1 -1
  110. package/build-module/components/block-settings-menu/block-settings-dropdown.js +7 -3
  111. package/build-module/components/block-settings-menu/block-settings-dropdown.js.map +1 -1
  112. package/build-module/components/block-switcher/index.js +4 -3
  113. package/build-module/components/block-switcher/index.js.map +1 -1
  114. package/build-module/components/block-toolbar/index.js +5 -4
  115. package/build-module/components/block-toolbar/index.js.map +1 -1
  116. package/build-module/components/block-toolbar/shuffle.js +18 -9
  117. package/build-module/components/block-toolbar/shuffle.js.map +1 -1
  118. package/build-module/components/block-tools/block-selection-button.js +50 -10
  119. package/build-module/components/block-tools/block-selection-button.js.map +1 -1
  120. package/build-module/components/block-tools/index.js +14 -2
  121. package/build-module/components/block-tools/index.js.map +1 -1
  122. package/build-module/components/global-styles/advanced-panel.js +9 -2
  123. package/build-module/components/global-styles/advanced-panel.js.map +1 -1
  124. package/build-module/components/global-styles/background-panel.js +430 -0
  125. package/build-module/components/global-styles/background-panel.js.map +1 -0
  126. package/build-module/components/global-styles/color-panel.js +2 -1
  127. package/build-module/components/global-styles/color-panel.js.map +1 -1
  128. package/build-module/components/global-styles/get-global-styles-changes.js +3 -0
  129. package/build-module/components/global-styles/get-global-styles-changes.js.map +1 -1
  130. package/build-module/components/global-styles/hooks.js +1 -1
  131. package/build-module/components/global-styles/hooks.js.map +1 -1
  132. package/build-module/components/global-styles/index.js +1 -0
  133. package/build-module/components/global-styles/index.js.map +1 -1
  134. package/build-module/components/global-styles/use-global-styles-output.js +16 -15
  135. package/build-module/components/global-styles/use-global-styles-output.js.map +1 -1
  136. package/build-module/components/global-styles/utils.js +1 -0
  137. package/build-module/components/global-styles/utils.js.map +1 -1
  138. package/build-module/components/iframe/index.js +9 -4
  139. package/build-module/components/iframe/index.js.map +1 -1
  140. package/build-module/components/inserter/block-patterns-tab/index.js.map +1 -1
  141. package/build-module/components/inserter/block-patterns-tab/pattern-category-preview-panel.js +5 -0
  142. package/build-module/components/inserter/block-patterns-tab/pattern-category-preview-panel.js.map +1 -1
  143. package/build-module/components/inserter/library.js +2 -0
  144. package/build-module/components/inserter/library.js.map +1 -1
  145. package/build-module/components/inserter/menu.js +8 -2
  146. package/build-module/components/inserter/menu.js.map +1 -1
  147. package/build-module/components/inserter/search-items.js +33 -15
  148. package/build-module/components/inserter/search-items.js.map +1 -1
  149. package/build-module/components/keyboard-shortcuts/index.js +11 -0
  150. package/build-module/components/keyboard-shortcuts/index.js.map +1 -1
  151. package/build-module/components/list-view/block-select-button.js +16 -0
  152. package/build-module/components/list-view/block-select-button.js.map +1 -1
  153. package/build-module/components/list-view/block.js +1 -1
  154. package/build-module/components/list-view/block.js.map +1 -1
  155. package/build-module/components/list-view/index.js +17 -2
  156. package/build-module/components/list-view/index.js.map +1 -1
  157. package/build-module/components/list-view/use-list-view-collapse-items.js +40 -0
  158. package/build-module/components/list-view/use-list-view-collapse-items.js.map +1 -0
  159. package/build-module/components/rich-text/index.js +15 -12
  160. package/build-module/components/rich-text/index.js.map +1 -1
  161. package/build-module/components/rich-text/index.native.js +16 -11
  162. package/build-module/components/rich-text/index.native.js.map +1 -1
  163. package/build-module/components/rich-text/native/get-format-colors.native.js +1 -1
  164. package/build-module/components/rich-text/native/get-format-colors.native.js.map +1 -1
  165. package/build-module/components/rich-text/native/index.native.js +2 -2
  166. package/build-module/components/rich-text/native/index.native.js.map +1 -1
  167. package/build-module/components/rich-text/with-deprecations.js +0 -3
  168. package/build-module/components/rich-text/with-deprecations.js.map +1 -1
  169. package/build-module/components/url-popover/image-url-input-ui.js +50 -36
  170. package/build-module/components/url-popover/image-url-input-ui.js.map +1 -1
  171. package/build-module/components/use-block-display-information/index.js +5 -7
  172. package/build-module/components/use-block-display-information/index.js.map +1 -1
  173. package/build-module/hooks/anchor.js +2 -2
  174. package/build-module/hooks/anchor.js.map +1 -1
  175. package/build-module/hooks/background.js +67 -419
  176. package/build-module/hooks/background.js.map +1 -1
  177. package/build-module/hooks/index.js +1 -0
  178. package/build-module/hooks/index.js.map +1 -1
  179. package/build-module/hooks/use-zoom-out.js +41 -0
  180. package/build-module/hooks/use-zoom-out.js.map +1 -0
  181. package/build-module/index.js +1 -1
  182. package/build-module/index.js.map +1 -1
  183. package/build-module/private-apis.js +7 -2
  184. package/build-module/private-apis.js.map +1 -1
  185. package/build-module/private-apis.native.js +3 -1
  186. package/build-module/private-apis.native.js.map +1 -1
  187. package/build-module/store/private-actions.js +12 -0
  188. package/build-module/store/private-actions.js.map +1 -1
  189. package/build-module/store/private-keys.js +1 -0
  190. package/build-module/store/private-keys.js.map +1 -1
  191. package/build-module/store/private-selectors.js +22 -4
  192. package/build-module/store/private-selectors.js.map +1 -1
  193. package/build-module/store/reducer.js +21 -0
  194. package/build-module/store/reducer.js.map +1 -1
  195. package/build-module/store/selectors.js +35 -33
  196. package/build-module/store/selectors.js.map +1 -1
  197. package/build-module/store/utils.js +6 -1
  198. package/build-module/store/utils.js.map +1 -1
  199. package/build-module/utils/transform-styles/index.js +2 -1
  200. package/build-module/utils/transform-styles/index.js.map +1 -1
  201. package/build-style/content-rtl.css +4 -1
  202. package/build-style/content.css +4 -1
  203. package/build-style/style-rtl.css +84 -79
  204. package/build-style/style.css +84 -79
  205. package/package.json +31 -31
  206. package/src/components/block-list/block.js +19 -3
  207. package/src/components/block-mover/button.js +4 -1
  208. package/src/components/block-mover/index.js +8 -1
  209. package/src/components/block-patterns-list/index.js +22 -17
  210. package/src/components/block-preview/style.scss +28 -0
  211. package/src/components/block-settings-menu/block-settings-dropdown.js +8 -2
  212. package/src/components/block-switcher/index.js +5 -3
  213. package/src/components/block-switcher/style.scss +1 -1
  214. package/src/components/block-toolbar/index.js +22 -19
  215. package/src/components/block-toolbar/shuffle.js +19 -13
  216. package/src/components/block-toolbar/style.scss +1 -1
  217. package/src/components/block-tools/block-selection-button.js +66 -9
  218. package/src/components/block-tools/index.js +18 -1
  219. package/src/components/button-block-appender/content.scss +5 -1
  220. package/src/components/default-block-appender/content.scss +2 -2
  221. package/src/components/global-styles/advanced-panel.js +8 -2
  222. package/src/components/global-styles/background-panel.js +591 -0
  223. package/src/components/global-styles/color-panel.js +2 -1
  224. package/src/components/global-styles/get-global-styles-changes.js +3 -0
  225. package/src/components/global-styles/hooks.js +1 -0
  226. package/src/components/global-styles/index.js +4 -0
  227. package/src/components/global-styles/style.scss +78 -1
  228. package/src/{hooks/test/background.js → components/global-styles/test/background-panel.js} +36 -1
  229. package/src/components/global-styles/test/get-global-styles-changes.js +22 -3
  230. package/src/components/global-styles/test/use-global-styles-output.js +9 -9
  231. package/src/components/global-styles/use-global-styles-output.js +27 -16
  232. package/src/components/global-styles/utils.js +1 -0
  233. package/src/components/iframe/index.js +19 -9
  234. package/src/components/inserter/block-patterns-tab/index.js +1 -0
  235. package/src/components/inserter/block-patterns-tab/pattern-category-preview-panel.js +5 -0
  236. package/src/components/inserter/library.js +4 -0
  237. package/src/components/inserter/menu.js +8 -1
  238. package/src/components/inserter/search-items.js +37 -15
  239. package/src/components/inserter/style.scss +6 -12
  240. package/src/components/keyboard-shortcuts/index.js +11 -0
  241. package/src/components/list-view/block-select-button.js +13 -1
  242. package/src/components/list-view/block.js +1 -1
  243. package/src/components/list-view/index.js +18 -1
  244. package/src/components/list-view/style.scss +4 -4
  245. package/src/components/list-view/use-list-view-collapse-items.js +33 -0
  246. package/src/components/rich-text/index.js +30 -13
  247. package/src/components/rich-text/index.native.js +14 -11
  248. package/src/components/rich-text/native/get-format-colors.native.js +1 -1
  249. package/src/components/rich-text/native/index.native.js +2 -2
  250. package/src/components/rich-text/with-deprecations.js +0 -3
  251. package/src/components/url-popover/image-url-input-ui.js +68 -51
  252. package/src/components/use-block-display-information/index.js +8 -10
  253. package/src/hooks/anchor.js +11 -9
  254. package/src/hooks/background.js +77 -538
  255. package/src/hooks/index.js +1 -0
  256. package/src/hooks/use-zoom-out.js +36 -0
  257. package/src/index.js +1 -0
  258. package/src/private-apis.js +13 -1
  259. package/src/private-apis.native.js +2 -0
  260. package/src/store/private-actions.js +12 -0
  261. package/src/store/private-keys.js +1 -0
  262. package/src/store/private-selectors.js +54 -27
  263. package/src/store/reducer.js +22 -0
  264. package/src/store/selectors.js +195 -180
  265. package/src/store/test/private-actions.js +10 -0
  266. package/src/store/test/private-selectors.js +13 -0
  267. package/src/store/test/reducer.js +26 -0
  268. package/src/store/test/selectors.js +90 -199
  269. package/src/store/utils.js +13 -0
  270. package/src/style.scss +0 -2
  271. package/src/utils/transform-styles/index.js +2 -1
  272. package/src/hooks/anchor.scss +0 -4
  273. package/src/hooks/background.scss +0 -75
@@ -2,6 +2,8 @@
2
2
  * Internal dependencies
3
3
  */
4
4
  import { selectBlockPatternsKey } from './private-keys';
5
+ import { unlock } from '../lock-unlock';
6
+ import { STORE_NAME } from './constants';
5
7
  export const checkAllowList = (list, item, defaultResult = null) => {
6
8
  if (typeof list === 'boolean') {
7
9
  return list;
@@ -35,6 +37,9 @@ export const checkAllowListRecursive = (blocks, allowedBlockTypes) => {
35
37
  return true;
36
38
  };
37
39
  export const getAllPatternsDependants = select => state => {
38
- return [state.settings.__experimentalBlockPatterns, state.settings.__experimentalUserPatternCategories, state.settings.__experimentalReusableBlocks, state.settings[selectBlockPatternsKey]?.(select), state.blockPatterns];
40
+ return [state.settings.__experimentalBlockPatterns, state.settings.__experimentalUserPatternCategories, state.settings.__experimentalReusableBlocks, state.settings[selectBlockPatternsKey]?.(select), state.blockPatterns, unlock(select(STORE_NAME)).getReusableBlocks()];
39
41
  };
42
+ export function getInsertBlockTypeDependants(state, rootClientId) {
43
+ return [state.blockListSettings[rootClientId], state.blocks.byClientId.get(rootClientId), state.settings.allowedBlockTypes, state.settings.templateLock, state.blockEditingModes];
44
+ }
40
45
  //# sourceMappingURL=utils.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["selectBlockPatternsKey","checkAllowList","list","item","defaultResult","Array","isArray","includes","checkAllowListRecursive","blocks","allowedBlockTypes","blocksQueue","length","block","shift","isAllowed","name","blockName","innerBlocks","forEach","innerBlock","push","getAllPatternsDependants","select","state","settings","__experimentalBlockPatterns","__experimentalUserPatternCategories","__experimentalReusableBlocks","blockPatterns"],"sources":["@wordpress/block-editor/src/store/utils.js"],"sourcesContent":["/**\n * Internal dependencies\n */\nimport { selectBlockPatternsKey } from './private-keys';\n\nexport const checkAllowList = ( list, item, defaultResult = null ) => {\n\tif ( typeof list === 'boolean' ) {\n\t\treturn list;\n\t}\n\tif ( Array.isArray( list ) ) {\n\t\t// TODO: when there is a canonical way to detect that we are editing a post\n\t\t// the following check should be changed to something like:\n\t\t// if ( list.includes( 'core/post-content' ) && getEditorMode() === 'post-content' && item === null )\n\t\tif ( list.includes( 'core/post-content' ) && item === null ) {\n\t\t\treturn true;\n\t\t}\n\t\treturn list.includes( item );\n\t}\n\treturn defaultResult;\n};\n\nexport const checkAllowListRecursive = ( blocks, allowedBlockTypes ) => {\n\tif ( typeof allowedBlockTypes === 'boolean' ) {\n\t\treturn allowedBlockTypes;\n\t}\n\n\tconst blocksQueue = [ ...blocks ];\n\twhile ( blocksQueue.length > 0 ) {\n\t\tconst block = blocksQueue.shift();\n\n\t\tconst isAllowed = checkAllowList(\n\t\t\tallowedBlockTypes,\n\t\t\tblock.name || block.blockName,\n\t\t\ttrue\n\t\t);\n\t\tif ( ! isAllowed ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tblock.innerBlocks?.forEach( ( innerBlock ) => {\n\t\t\tblocksQueue.push( innerBlock );\n\t\t} );\n\t}\n\n\treturn true;\n};\n\nexport const getAllPatternsDependants = ( select ) => ( state ) => {\n\treturn [\n\t\tstate.settings.__experimentalBlockPatterns,\n\t\tstate.settings.__experimentalUserPatternCategories,\n\t\tstate.settings.__experimentalReusableBlocks,\n\t\tstate.settings[ selectBlockPatternsKey ]?.( select ),\n\t\tstate.blockPatterns,\n\t];\n};\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,sBAAsB,QAAQ,gBAAgB;AAEvD,OAAO,MAAMC,cAAc,GAAGA,CAAEC,IAAI,EAAEC,IAAI,EAAEC,aAAa,GAAG,IAAI,KAAM;EACrE,IAAK,OAAOF,IAAI,KAAK,SAAS,EAAG;IAChC,OAAOA,IAAI;EACZ;EACA,IAAKG,KAAK,CAACC,OAAO,CAAEJ,IAAK,CAAC,EAAG;IAC5B;IACA;IACA;IACA,IAAKA,IAAI,CAACK,QAAQ,CAAE,mBAAoB,CAAC,IAAIJ,IAAI,KAAK,IAAI,EAAG;MAC5D,OAAO,IAAI;IACZ;IACA,OAAOD,IAAI,CAACK,QAAQ,CAAEJ,IAAK,CAAC;EAC7B;EACA,OAAOC,aAAa;AACrB,CAAC;AAED,OAAO,MAAMI,uBAAuB,GAAGA,CAAEC,MAAM,EAAEC,iBAAiB,KAAM;EACvE,IAAK,OAAOA,iBAAiB,KAAK,SAAS,EAAG;IAC7C,OAAOA,iBAAiB;EACzB;EAEA,MAAMC,WAAW,GAAG,CAAE,GAAGF,MAAM,CAAE;EACjC,OAAQE,WAAW,CAACC,MAAM,GAAG,CAAC,EAAG;IAChC,MAAMC,KAAK,GAAGF,WAAW,CAACG,KAAK,CAAC,CAAC;IAEjC,MAAMC,SAAS,GAAGd,cAAc,CAC/BS,iBAAiB,EACjBG,KAAK,CAACG,IAAI,IAAIH,KAAK,CAACI,SAAS,EAC7B,IACD,CAAC;IACD,IAAK,CAAEF,SAAS,EAAG;MAClB,OAAO,KAAK;IACb;IAEAF,KAAK,CAACK,WAAW,EAAEC,OAAO,CAAIC,UAAU,IAAM;MAC7CT,WAAW,CAACU,IAAI,CAAED,UAAW,CAAC;IAC/B,CAAE,CAAC;EACJ;EAEA,OAAO,IAAI;AACZ,CAAC;AAED,OAAO,MAAME,wBAAwB,GAAKC,MAAM,IAAQC,KAAK,IAAM;EAClE,OAAO,CACNA,KAAK,CAACC,QAAQ,CAACC,2BAA2B,EAC1CF,KAAK,CAACC,QAAQ,CAACE,mCAAmC,EAClDH,KAAK,CAACC,QAAQ,CAACG,4BAA4B,EAC3CJ,KAAK,CAACC,QAAQ,CAAEzB,sBAAsB,CAAE,GAAIuB,MAAO,CAAC,EACpDC,KAAK,CAACK,aAAa,CACnB;AACF,CAAC"}
1
+ {"version":3,"names":["selectBlockPatternsKey","unlock","STORE_NAME","checkAllowList","list","item","defaultResult","Array","isArray","includes","checkAllowListRecursive","blocks","allowedBlockTypes","blocksQueue","length","block","shift","isAllowed","name","blockName","innerBlocks","forEach","innerBlock","push","getAllPatternsDependants","select","state","settings","__experimentalBlockPatterns","__experimentalUserPatternCategories","__experimentalReusableBlocks","blockPatterns","getReusableBlocks","getInsertBlockTypeDependants","rootClientId","blockListSettings","byClientId","get","templateLock","blockEditingModes"],"sources":["@wordpress/block-editor/src/store/utils.js"],"sourcesContent":["/**\n * Internal dependencies\n */\nimport { selectBlockPatternsKey } from './private-keys';\nimport { unlock } from '../lock-unlock';\nimport { STORE_NAME } from './constants';\n\nexport const checkAllowList = ( list, item, defaultResult = null ) => {\n\tif ( typeof list === 'boolean' ) {\n\t\treturn list;\n\t}\n\tif ( Array.isArray( list ) ) {\n\t\t// TODO: when there is a canonical way to detect that we are editing a post\n\t\t// the following check should be changed to something like:\n\t\t// if ( list.includes( 'core/post-content' ) && getEditorMode() === 'post-content' && item === null )\n\t\tif ( list.includes( 'core/post-content' ) && item === null ) {\n\t\t\treturn true;\n\t\t}\n\t\treturn list.includes( item );\n\t}\n\treturn defaultResult;\n};\n\nexport const checkAllowListRecursive = ( blocks, allowedBlockTypes ) => {\n\tif ( typeof allowedBlockTypes === 'boolean' ) {\n\t\treturn allowedBlockTypes;\n\t}\n\n\tconst blocksQueue = [ ...blocks ];\n\twhile ( blocksQueue.length > 0 ) {\n\t\tconst block = blocksQueue.shift();\n\n\t\tconst isAllowed = checkAllowList(\n\t\t\tallowedBlockTypes,\n\t\t\tblock.name || block.blockName,\n\t\t\ttrue\n\t\t);\n\t\tif ( ! isAllowed ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tblock.innerBlocks?.forEach( ( innerBlock ) => {\n\t\t\tblocksQueue.push( innerBlock );\n\t\t} );\n\t}\n\n\treturn true;\n};\n\nexport const getAllPatternsDependants = ( select ) => ( state ) => {\n\treturn [\n\t\tstate.settings.__experimentalBlockPatterns,\n\t\tstate.settings.__experimentalUserPatternCategories,\n\t\tstate.settings.__experimentalReusableBlocks,\n\t\tstate.settings[ selectBlockPatternsKey ]?.( select ),\n\t\tstate.blockPatterns,\n\t\tunlock( select( STORE_NAME ) ).getReusableBlocks(),\n\t];\n};\n\nexport function getInsertBlockTypeDependants( state, rootClientId ) {\n\treturn [\n\t\tstate.blockListSettings[ rootClientId ],\n\t\tstate.blocks.byClientId.get( rootClientId ),\n\t\tstate.settings.allowedBlockTypes,\n\t\tstate.settings.templateLock,\n\t\tstate.blockEditingModes,\n\t];\n}\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,sBAAsB,QAAQ,gBAAgB;AACvD,SAASC,MAAM,QAAQ,gBAAgB;AACvC,SAASC,UAAU,QAAQ,aAAa;AAExC,OAAO,MAAMC,cAAc,GAAGA,CAAEC,IAAI,EAAEC,IAAI,EAAEC,aAAa,GAAG,IAAI,KAAM;EACrE,IAAK,OAAOF,IAAI,KAAK,SAAS,EAAG;IAChC,OAAOA,IAAI;EACZ;EACA,IAAKG,KAAK,CAACC,OAAO,CAAEJ,IAAK,CAAC,EAAG;IAC5B;IACA;IACA;IACA,IAAKA,IAAI,CAACK,QAAQ,CAAE,mBAAoB,CAAC,IAAIJ,IAAI,KAAK,IAAI,EAAG;MAC5D,OAAO,IAAI;IACZ;IACA,OAAOD,IAAI,CAACK,QAAQ,CAAEJ,IAAK,CAAC;EAC7B;EACA,OAAOC,aAAa;AACrB,CAAC;AAED,OAAO,MAAMI,uBAAuB,GAAGA,CAAEC,MAAM,EAAEC,iBAAiB,KAAM;EACvE,IAAK,OAAOA,iBAAiB,KAAK,SAAS,EAAG;IAC7C,OAAOA,iBAAiB;EACzB;EAEA,MAAMC,WAAW,GAAG,CAAE,GAAGF,MAAM,CAAE;EACjC,OAAQE,WAAW,CAACC,MAAM,GAAG,CAAC,EAAG;IAChC,MAAMC,KAAK,GAAGF,WAAW,CAACG,KAAK,CAAC,CAAC;IAEjC,MAAMC,SAAS,GAAGd,cAAc,CAC/BS,iBAAiB,EACjBG,KAAK,CAACG,IAAI,IAAIH,KAAK,CAACI,SAAS,EAC7B,IACD,CAAC;IACD,IAAK,CAAEF,SAAS,EAAG;MAClB,OAAO,KAAK;IACb;IAEAF,KAAK,CAACK,WAAW,EAAEC,OAAO,CAAIC,UAAU,IAAM;MAC7CT,WAAW,CAACU,IAAI,CAAED,UAAW,CAAC;IAC/B,CAAE,CAAC;EACJ;EAEA,OAAO,IAAI;AACZ,CAAC;AAED,OAAO,MAAME,wBAAwB,GAAKC,MAAM,IAAQC,KAAK,IAAM;EAClE,OAAO,CACNA,KAAK,CAACC,QAAQ,CAACC,2BAA2B,EAC1CF,KAAK,CAACC,QAAQ,CAACE,mCAAmC,EAClDH,KAAK,CAACC,QAAQ,CAACG,4BAA4B,EAC3CJ,KAAK,CAACC,QAAQ,CAAE3B,sBAAsB,CAAE,GAAIyB,MAAO,CAAC,EACpDC,KAAK,CAACK,aAAa,EACnB9B,MAAM,CAAEwB,MAAM,CAAEvB,UAAW,CAAE,CAAC,CAAC8B,iBAAiB,CAAC,CAAC,CAClD;AACF,CAAC;AAED,OAAO,SAASC,4BAA4BA,CAAEP,KAAK,EAAEQ,YAAY,EAAG;EACnE,OAAO,CACNR,KAAK,CAACS,iBAAiB,CAAED,YAAY,CAAE,EACvCR,KAAK,CAACf,MAAM,CAACyB,UAAU,CAACC,GAAG,CAAEH,YAAa,CAAC,EAC3CR,KAAK,CAACC,QAAQ,CAACf,iBAAiB,EAChCc,KAAK,CAACC,QAAQ,CAACW,YAAY,EAC3BZ,KAAK,CAACa,iBAAiB,CACvB;AACF"}
@@ -17,12 +17,13 @@ function transformStyle({
17
17
  if (!wrapperSelector && !baseURL) {
18
18
  return css;
19
19
  }
20
+ const postcssFriendlyCSS = css.replace(':where(body)', 'body');
20
21
  try {
21
22
  return postcss([wrapperSelector && wrap(wrapperSelector, {
22
23
  ignoredSelectors: [...ignoredSelectors, wrapperSelector]
23
24
  }), baseURL && rebaseUrl({
24
25
  rootUrl: baseURL
25
- })].filter(Boolean)).process(css, {}).css; // use sync PostCSS API
26
+ })].filter(Boolean)).process(postcssFriendlyCSS, {}).css; // use sync PostCSS API
26
27
  } catch (error) {
27
28
  if (error instanceof CssSyntaxError) {
28
29
  // eslint-disable-next-line no-console
@@ -1 +1 @@
1
- {"version":3,"names":["postcss","CssSyntaxError","wrap","rebaseUrl","transformStylesCache","WeakMap","transformStyle","css","ignoredSelectors","baseURL","wrapperSelector","rootUrl","filter","Boolean","process","error","console","warn","message","showSourceCode","transformStyles","styles","map","style","has","get","transformedStyle","set"],"sources":["@wordpress/block-editor/src/utils/transform-styles/index.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport postcss, { CssSyntaxError } from 'postcss';\nimport wrap from 'postcss-prefixwrap';\nimport rebaseUrl from 'postcss-urlrebase';\n\nconst transformStylesCache = new WeakMap();\n\nfunction transformStyle(\n\t{ css, ignoredSelectors = [], baseURL },\n\twrapperSelector = ''\n) {\n\t// When there is no wrapper selector or base URL, there is no need\n\t// to transform the CSS. This is most cases because in the default\n\t// iframed editor, no wrapping is needed, and not many styles\n\t// provide a base URL.\n\tif ( ! wrapperSelector && ! baseURL ) {\n\t\treturn css;\n\t}\n\n\ttry {\n\t\treturn postcss(\n\t\t\t[\n\t\t\t\twrapperSelector &&\n\t\t\t\t\twrap( wrapperSelector, {\n\t\t\t\t\t\tignoredSelectors: [\n\t\t\t\t\t\t\t...ignoredSelectors,\n\t\t\t\t\t\t\twrapperSelector,\n\t\t\t\t\t\t],\n\t\t\t\t\t} ),\n\t\t\t\tbaseURL && rebaseUrl( { rootUrl: baseURL } ),\n\t\t\t].filter( Boolean )\n\t\t).process( css, {} ).css; // use sync PostCSS API\n\t} catch ( error ) {\n\t\tif ( error instanceof CssSyntaxError ) {\n\t\t\t// eslint-disable-next-line no-console\n\t\t\tconsole.warn(\n\t\t\t\t'wp.blockEditor.transformStyles Failed to transform CSS.',\n\t\t\t\terror.message + '\\n' + error.showSourceCode( false )\n\t\t\t);\n\t\t} else {\n\t\t\t// eslint-disable-next-line no-console\n\t\t\tconsole.warn(\n\t\t\t\t'wp.blockEditor.transformStyles Failed to transform CSS.',\n\t\t\t\terror\n\t\t\t);\n\t\t}\n\n\t\treturn null;\n\t}\n}\n\n/**\n * Applies a series of CSS rule transforms to wrap selectors inside a given class and/or rewrite URLs depending on the parameters passed.\n *\n * @typedef {Object} EditorStyle\n * @property {string} css the CSS block(s), as a single string.\n * @property {?string} baseURL the base URL to be used as the reference when rewritting urls.\n * @property {?string[]} ignoredSelectors the selectors not to wrap.\n *\n * @param {EditorStyle[]} styles CSS rules.\n * @param {string} wrapperSelector Wrapper selector.\n * @return {Array} converted rules.\n */\nconst transformStyles = ( styles, wrapperSelector = '' ) => {\n\treturn styles.map( ( style ) => {\n\t\tif ( transformStylesCache.has( style ) ) {\n\t\t\treturn transformStylesCache.get( style );\n\t\t}\n\n\t\tconst transformedStyle = transformStyle( style, wrapperSelector );\n\t\ttransformStylesCache.set( style, transformedStyle );\n\t\treturn transformedStyle;\n\t} );\n};\n\nexport default transformStyles;\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,OAAO,IAAIC,cAAc,QAAQ,SAAS;AACjD,OAAOC,IAAI,MAAM,oBAAoB;AACrC,OAAOC,SAAS,MAAM,mBAAmB;AAEzC,MAAMC,oBAAoB,GAAG,IAAIC,OAAO,CAAC,CAAC;AAE1C,SAASC,cAAcA,CACtB;EAAEC,GAAG;EAAEC,gBAAgB,GAAG,EAAE;EAAEC;AAAQ,CAAC,EACvCC,eAAe,GAAG,EAAE,EACnB;EACD;EACA;EACA;EACA;EACA,IAAK,CAAEA,eAAe,IAAI,CAAED,OAAO,EAAG;IACrC,OAAOF,GAAG;EACX;EAEA,IAAI;IACH,OAAOP,OAAO,CACb,CACCU,eAAe,IACdR,IAAI,CAAEQ,eAAe,EAAE;MACtBF,gBAAgB,EAAE,CACjB,GAAGA,gBAAgB,EACnBE,eAAe;IAEjB,CAAE,CAAC,EACJD,OAAO,IAAIN,SAAS,CAAE;MAAEQ,OAAO,EAAEF;IAAQ,CAAE,CAAC,CAC5C,CAACG,MAAM,CAAEC,OAAQ,CACnB,CAAC,CAACC,OAAO,CAAEP,GAAG,EAAE,CAAC,CAAE,CAAC,CAACA,GAAG,CAAC,CAAC;EAC3B,CAAC,CAAC,OAAQQ,KAAK,EAAG;IACjB,IAAKA,KAAK,YAAYd,cAAc,EAAG;MACtC;MACAe,OAAO,CAACC,IAAI,CACX,yDAAyD,EACzDF,KAAK,CAACG,OAAO,GAAG,IAAI,GAAGH,KAAK,CAACI,cAAc,CAAE,KAAM,CACpD,CAAC;IACF,CAAC,MAAM;MACN;MACAH,OAAO,CAACC,IAAI,CACX,yDAAyD,EACzDF,KACD,CAAC;IACF;IAEA,OAAO,IAAI;EACZ;AACD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMK,eAAe,GAAGA,CAAEC,MAAM,EAAEX,eAAe,GAAG,EAAE,KAAM;EAC3D,OAAOW,MAAM,CAACC,GAAG,CAAIC,KAAK,IAAM;IAC/B,IAAKnB,oBAAoB,CAACoB,GAAG,CAAED,KAAM,CAAC,EAAG;MACxC,OAAOnB,oBAAoB,CAACqB,GAAG,CAAEF,KAAM,CAAC;IACzC;IAEA,MAAMG,gBAAgB,GAAGpB,cAAc,CAAEiB,KAAK,EAAEb,eAAgB,CAAC;IACjEN,oBAAoB,CAACuB,GAAG,CAAEJ,KAAK,EAAEG,gBAAiB,CAAC;IACnD,OAAOA,gBAAgB;EACxB,CAAE,CAAC;AACJ,CAAC;AAED,eAAeN,eAAe"}
1
+ {"version":3,"names":["postcss","CssSyntaxError","wrap","rebaseUrl","transformStylesCache","WeakMap","transformStyle","css","ignoredSelectors","baseURL","wrapperSelector","postcssFriendlyCSS","replace","rootUrl","filter","Boolean","process","error","console","warn","message","showSourceCode","transformStyles","styles","map","style","has","get","transformedStyle","set"],"sources":["@wordpress/block-editor/src/utils/transform-styles/index.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport postcss, { CssSyntaxError } from 'postcss';\nimport wrap from 'postcss-prefixwrap';\nimport rebaseUrl from 'postcss-urlrebase';\n\nconst transformStylesCache = new WeakMap();\n\nfunction transformStyle(\n\t{ css, ignoredSelectors = [], baseURL },\n\twrapperSelector = ''\n) {\n\t// When there is no wrapper selector or base URL, there is no need\n\t// to transform the CSS. This is most cases because in the default\n\t// iframed editor, no wrapping is needed, and not many styles\n\t// provide a base URL.\n\tif ( ! wrapperSelector && ! baseURL ) {\n\t\treturn css;\n\t}\n\n\tconst postcssFriendlyCSS = css.replace( ':where(body)', 'body' );\n\ttry {\n\t\treturn postcss(\n\t\t\t[\n\t\t\t\twrapperSelector &&\n\t\t\t\t\twrap( wrapperSelector, {\n\t\t\t\t\t\tignoredSelectors: [\n\t\t\t\t\t\t\t...ignoredSelectors,\n\t\t\t\t\t\t\twrapperSelector,\n\t\t\t\t\t\t],\n\t\t\t\t\t} ),\n\t\t\t\tbaseURL && rebaseUrl( { rootUrl: baseURL } ),\n\t\t\t].filter( Boolean )\n\t\t).process( postcssFriendlyCSS, {} ).css; // use sync PostCSS API\n\t} catch ( error ) {\n\t\tif ( error instanceof CssSyntaxError ) {\n\t\t\t// eslint-disable-next-line no-console\n\t\t\tconsole.warn(\n\t\t\t\t'wp.blockEditor.transformStyles Failed to transform CSS.',\n\t\t\t\terror.message + '\\n' + error.showSourceCode( false )\n\t\t\t);\n\t\t} else {\n\t\t\t// eslint-disable-next-line no-console\n\t\t\tconsole.warn(\n\t\t\t\t'wp.blockEditor.transformStyles Failed to transform CSS.',\n\t\t\t\terror\n\t\t\t);\n\t\t}\n\n\t\treturn null;\n\t}\n}\n\n/**\n * Applies a series of CSS rule transforms to wrap selectors inside a given class and/or rewrite URLs depending on the parameters passed.\n *\n * @typedef {Object} EditorStyle\n * @property {string} css the CSS block(s), as a single string.\n * @property {?string} baseURL the base URL to be used as the reference when rewritting urls.\n * @property {?string[]} ignoredSelectors the selectors not to wrap.\n *\n * @param {EditorStyle[]} styles CSS rules.\n * @param {string} wrapperSelector Wrapper selector.\n * @return {Array} converted rules.\n */\nconst transformStyles = ( styles, wrapperSelector = '' ) => {\n\treturn styles.map( ( style ) => {\n\t\tif ( transformStylesCache.has( style ) ) {\n\t\t\treturn transformStylesCache.get( style );\n\t\t}\n\n\t\tconst transformedStyle = transformStyle( style, wrapperSelector );\n\t\ttransformStylesCache.set( style, transformedStyle );\n\t\treturn transformedStyle;\n\t} );\n};\n\nexport default transformStyles;\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,OAAO,IAAIC,cAAc,QAAQ,SAAS;AACjD,OAAOC,IAAI,MAAM,oBAAoB;AACrC,OAAOC,SAAS,MAAM,mBAAmB;AAEzC,MAAMC,oBAAoB,GAAG,IAAIC,OAAO,CAAC,CAAC;AAE1C,SAASC,cAAcA,CACtB;EAAEC,GAAG;EAAEC,gBAAgB,GAAG,EAAE;EAAEC;AAAQ,CAAC,EACvCC,eAAe,GAAG,EAAE,EACnB;EACD;EACA;EACA;EACA;EACA,IAAK,CAAEA,eAAe,IAAI,CAAED,OAAO,EAAG;IACrC,OAAOF,GAAG;EACX;EAEA,MAAMI,kBAAkB,GAAGJ,GAAG,CAACK,OAAO,CAAE,cAAc,EAAE,MAAO,CAAC;EAChE,IAAI;IACH,OAAOZ,OAAO,CACb,CACCU,eAAe,IACdR,IAAI,CAAEQ,eAAe,EAAE;MACtBF,gBAAgB,EAAE,CACjB,GAAGA,gBAAgB,EACnBE,eAAe;IAEjB,CAAE,CAAC,EACJD,OAAO,IAAIN,SAAS,CAAE;MAAEU,OAAO,EAAEJ;IAAQ,CAAE,CAAC,CAC5C,CAACK,MAAM,CAAEC,OAAQ,CACnB,CAAC,CAACC,OAAO,CAAEL,kBAAkB,EAAE,CAAC,CAAE,CAAC,CAACJ,GAAG,CAAC,CAAC;EAC1C,CAAC,CAAC,OAAQU,KAAK,EAAG;IACjB,IAAKA,KAAK,YAAYhB,cAAc,EAAG;MACtC;MACAiB,OAAO,CAACC,IAAI,CACX,yDAAyD,EACzDF,KAAK,CAACG,OAAO,GAAG,IAAI,GAAGH,KAAK,CAACI,cAAc,CAAE,KAAM,CACpD,CAAC;IACF,CAAC,MAAM;MACN;MACAH,OAAO,CAACC,IAAI,CACX,yDAAyD,EACzDF,KACD,CAAC;IACF;IAEA,OAAO,IAAI;EACZ;AACD;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMK,eAAe,GAAGA,CAAEC,MAAM,EAAEb,eAAe,GAAG,EAAE,KAAM;EAC3D,OAAOa,MAAM,CAACC,GAAG,CAAIC,KAAK,IAAM;IAC/B,IAAKrB,oBAAoB,CAACsB,GAAG,CAAED,KAAM,CAAC,EAAG;MACxC,OAAOrB,oBAAoB,CAACuB,GAAG,CAAEF,KAAM,CAAC;IACzC;IAEA,MAAMG,gBAAgB,GAAGtB,cAAc,CAAEmB,KAAK,EAAEf,eAAgB,CAAC;IACjEN,oBAAoB,CAACyB,GAAG,CAAEJ,KAAK,EAAEG,gBAAiB,CAAC;IACnD,OAAOA,gBAAgB;EACxB,CAAE,CAAC;AACJ,CAAC;AAED,eAAeN,eAAe"}
@@ -709,7 +709,10 @@ body.is-zoomed-out > .is-root-container > main {
709
709
  opacity: 0.1;
710
710
  }
711
711
  .is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter {
712
- visibility: hidden;
712
+ opacity: 0;
713
+ }
714
+ .is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter:focus-within, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter:focus-within, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter:focus-within, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter:focus-within {
715
+ opacity: 1;
713
716
  }
714
717
  .is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child.is-drag-over::after, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child.is-drag-over::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child.is-drag-over::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child.is-drag-over::after {
715
718
  border: none;
@@ -709,7 +709,10 @@ body.is-zoomed-out > .is-root-container > main {
709
709
  opacity: 0.1;
710
710
  }
711
711
  .is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter {
712
- visibility: hidden;
712
+ opacity: 0;
713
+ }
714
+ .is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter:focus-within, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child .block-editor-inserter:focus-within, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter:focus-within, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child .block-editor-inserter:focus-within {
715
+ opacity: 1;
713
716
  }
714
717
  .is-layout-constrained.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child.is-drag-over::after, .is-layout-flow.block-editor-block-list__block:not(.is-selected) > .block-list-appender:only-child.is-drag-over::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-constrained.wp-block-group__inner-container > .block-list-appender:only-child.is-drag-over::after, .block-editor-block-list__block:not(.is-selected) > .is-layout-flow.wp-block-group__inner-container > .block-list-appender:only-child.is-drag-over::after {
715
718
  border: none;
@@ -968,6 +968,20 @@ iframe[name=editor-canvas].has-editor-padding {
968
968
  z-index: 1;
969
969
  }
970
970
 
971
+ .interface-interface-skeleton__sidebar .block-editor-block-patterns-list__list-item .block-editor-block-preview__container {
972
+ box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
973
+ }
974
+ .interface-interface-skeleton__sidebar .block-editor-block-patterns-list__list-item:hover .block-editor-block-preview__container {
975
+ box-shadow: 0 0 0 2px #1e1e1e;
976
+ }
977
+
978
+ .editor-inserter-sidebar .block-editor-block-patterns-list__list-item .block-editor-block-preview__container {
979
+ box-shadow: 0 15px 25px rgba(0, 0, 0, 0.07);
980
+ }
981
+ .editor-inserter-sidebar .block-editor-block-patterns-list__list-item:hover .block-editor-block-preview__container {
982
+ box-shadow: 0 0 0 2px #1e1e1e, 0 15px 25px rgba(0, 0, 0, 0.07);
983
+ }
984
+
971
985
  .block-editor-block-rename-modal {
972
986
  z-index: 1000001;
973
987
  }
@@ -1611,6 +1625,70 @@ iframe[name=editor-canvas].has-editor-padding {
1611
1625
  direction: ltr;
1612
1626
  }
1613
1627
 
1628
+ .block-editor-global-styles-background-panel__inspector-media-replace-container {
1629
+ position: relative;
1630
+ }
1631
+ .block-editor-global-styles-background-panel__inspector-media-replace-container .components-drop-zone__content-icon {
1632
+ display: none;
1633
+ }
1634
+ .block-editor-global-styles-background-panel__inspector-media-replace-container button.components-button {
1635
+ color: #1e1e1e;
1636
+ box-shadow: inset 0 0 0 1px #ddd;
1637
+ width: 100%;
1638
+ display: block;
1639
+ height: 40px;
1640
+ }
1641
+ .block-editor-global-styles-background-panel__inspector-media-replace-container button.components-button:hover {
1642
+ color: var(--wp-admin-theme-color);
1643
+ }
1644
+ .block-editor-global-styles-background-panel__inspector-media-replace-container button.components-button:focus {
1645
+ box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1646
+ }
1647
+ .block-editor-global-styles-background-panel__inspector-media-replace-container .block-editor-global-styles-background-panel__inspector-media-replace-title {
1648
+ word-break: break-all;
1649
+ white-space: normal;
1650
+ text-align: start;
1651
+ text-align-last: center;
1652
+ }
1653
+ .block-editor-global-styles-background-panel__inspector-media-replace-container .components-dropdown {
1654
+ display: block;
1655
+ }
1656
+
1657
+ .block-editor-global-styles-background-panel__inspector-image-indicator-wrapper {
1658
+ background: #fff linear-gradient(45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
1659
+ border-radius: 50% !important;
1660
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
1661
+ display: block;
1662
+ width: 20px;
1663
+ height: 20px;
1664
+ flex: none;
1665
+ }
1666
+ .block-editor-global-styles-background-panel__inspector-image-indicator-wrapper.has-image {
1667
+ background: #fff;
1668
+ }
1669
+
1670
+ .block-editor-global-styles-background-panel__inspector-image-indicator {
1671
+ background-size: cover;
1672
+ border-radius: 50%;
1673
+ width: 20px;
1674
+ height: 20px;
1675
+ display: block;
1676
+ position: relative;
1677
+ }
1678
+
1679
+ .block-editor-global-styles-background-panel__inspector-image-indicator::after {
1680
+ content: "";
1681
+ position: absolute;
1682
+ top: -1px;
1683
+ right: -1px;
1684
+ bottom: -1px;
1685
+ left: -1px;
1686
+ border-radius: 50%;
1687
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
1688
+ border: 1px solid transparent;
1689
+ box-sizing: inherit;
1690
+ }
1691
+
1614
1692
  .block-editor-grid-visualizer {
1615
1693
  z-index: 30 !important;
1616
1694
  }
@@ -2376,7 +2454,7 @@ iframe[name=editor-canvas].has-editor-padding {
2376
2454
  align-items: center;
2377
2455
  width: 100%;
2378
2456
  height: auto;
2379
- padding: 6px 0 6px 4px;
2457
+ padding: 6px 0 6px 6px;
2380
2458
  text-align: right;
2381
2459
  border-radius: 2px;
2382
2460
  position: relative;
@@ -2467,7 +2545,7 @@ iframe[name=editor-canvas].has-editor-padding {
2467
2545
  padding: 0;
2468
2546
  }
2469
2547
  .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell {
2470
- padding-left: 4px;
2548
+ padding-left: 6px;
2471
2549
  }
2472
2550
  .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell .components-button.has-icon {
2473
2551
  height: 24px;
@@ -3208,11 +3286,6 @@ iframe[name=editor-canvas].has-editor-padding {
3208
3286
  font-size: 12px;
3209
3287
  }
3210
3288
 
3211
- .html-anchor-control .components-external-link {
3212
- display: inline-block;
3213
- margin-top: 8px;
3214
- }
3215
-
3216
3289
  .block-editor-hooks__block-hooks {
3217
3290
  /**
3218
3291
  * Since we're displaying the block icon alongside the block name,
@@ -3234,70 +3307,6 @@ iframe[name=editor-canvas].has-editor-padding {
3234
3307
  margin-bottom: 16px;
3235
3308
  }
3236
3309
 
3237
- .block-editor-hooks__background__inspector-media-replace-container {
3238
- position: relative;
3239
- }
3240
- .block-editor-hooks__background__inspector-media-replace-container .components-drop-zone__content-icon {
3241
- display: none;
3242
- }
3243
- .block-editor-hooks__background__inspector-media-replace-container button.components-button {
3244
- color: #1e1e1e;
3245
- box-shadow: inset 0 0 0 1px #ddd;
3246
- width: 100%;
3247
- display: block;
3248
- height: 40px;
3249
- }
3250
- .block-editor-hooks__background__inspector-media-replace-container button.components-button:hover {
3251
- color: var(--wp-admin-theme-color);
3252
- }
3253
- .block-editor-hooks__background__inspector-media-replace-container button.components-button:focus {
3254
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
3255
- }
3256
- .block-editor-hooks__background__inspector-media-replace-container .block-editor-hooks__background__inspector-media-replace-title {
3257
- word-break: break-all;
3258
- white-space: normal;
3259
- text-align: start;
3260
- text-align-last: center;
3261
- }
3262
- .block-editor-hooks__background__inspector-media-replace-container .components-dropdown {
3263
- display: block;
3264
- }
3265
-
3266
- .block-editor-hooks__background__inspector-image-indicator-wrapper {
3267
- background: #fff linear-gradient(45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
3268
- border-radius: 50% !important;
3269
- box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
3270
- display: block;
3271
- width: 20px;
3272
- height: 20px;
3273
- flex: none;
3274
- }
3275
- .block-editor-hooks__background__inspector-image-indicator-wrapper.has-image {
3276
- background: #fff;
3277
- }
3278
-
3279
- .block-editor-hooks__background__inspector-image-indicator {
3280
- background-size: cover;
3281
- border-radius: 50%;
3282
- width: 20px;
3283
- height: 20px;
3284
- display: block;
3285
- position: relative;
3286
- }
3287
-
3288
- .block-editor-hooks__background__inspector-image-indicator::after {
3289
- content: "";
3290
- position: absolute;
3291
- top: -1px;
3292
- right: -1px;
3293
- bottom: -1px;
3294
- left: -1px;
3295
- border-radius: 50%;
3296
- box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
3297
- border: 1px solid transparent;
3298
- box-sizing: inherit;
3299
- }
3300
-
3301
3310
  .border-block-support-panel .single-column {
3302
3311
  grid-column: span 1;
3303
3312
  }
@@ -3656,7 +3665,6 @@ iframe[name=editor-canvas].has-editor-padding {
3656
3665
  flex-direction: column;
3657
3666
  height: 100%;
3658
3667
  gap: 16px;
3659
- overflow-y: hidden;
3660
3668
  }
3661
3669
  .block-editor-inserter__main-area.show-as-tabs {
3662
3670
  gap: 0;
@@ -3768,6 +3776,7 @@ iframe[name=editor-canvas].has-editor-padding {
3768
3776
  .block-editor-inserter__no-tab-container {
3769
3777
  overflow-y: auto;
3770
3778
  flex-grow: 1;
3779
+ position: relative;
3771
3780
  }
3772
3781
 
3773
3782
  .block-editor-inserter__panel-header {
@@ -3935,13 +3944,6 @@ iframe[name=editor-canvas].has-editor-padding {
3935
3944
  padding: 16px 24px;
3936
3945
  }
3937
3946
 
3938
- .block-editor-block-patterns-list__list-item .block-editor-block-preview__container {
3939
- box-shadow: 0 15px 25px rgba(0, 0, 0, 0.07);
3940
- }
3941
- .block-editor-block-patterns-list__list-item:hover .block-editor-block-preview__container {
3942
- box-shadow: 0 0 0 2px #1e1e1e, 0 15px 25px rgba(0, 0, 0, 0.07);
3943
- }
3944
-
3945
3947
  .block-editor-inserter__patterns-category-panel {
3946
3948
  padding: 0 16px;
3947
3949
  display: flex;
@@ -4324,6 +4326,9 @@ iframe[name=editor-canvas].has-editor-padding {
4324
4326
  .is-zoom-out .block-editor-inserter__patterns-category-dialog {
4325
4327
  position: static;
4326
4328
  }
4329
+ .is-zoom-out .block-editor-inserter__media-dialog {
4330
+ position: static;
4331
+ }
4327
4332
 
4328
4333
  .spacing-sizes-control .spacing-sizes-control__custom-value-input,
4329
4334
  .spacing-sizes-control .spacing-sizes-control__label {
@@ -968,6 +968,20 @@ iframe[name=editor-canvas].has-editor-padding {
968
968
  z-index: 1;
969
969
  }
970
970
 
971
+ .interface-interface-skeleton__sidebar .block-editor-block-patterns-list__list-item .block-editor-block-preview__container {
972
+ box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
973
+ }
974
+ .interface-interface-skeleton__sidebar .block-editor-block-patterns-list__list-item:hover .block-editor-block-preview__container {
975
+ box-shadow: 0 0 0 2px #1e1e1e;
976
+ }
977
+
978
+ .editor-inserter-sidebar .block-editor-block-patterns-list__list-item .block-editor-block-preview__container {
979
+ box-shadow: 0 15px 25px rgba(0, 0, 0, 0.07);
980
+ }
981
+ .editor-inserter-sidebar .block-editor-block-patterns-list__list-item:hover .block-editor-block-preview__container {
982
+ box-shadow: 0 0 0 2px #1e1e1e, 0 15px 25px rgba(0, 0, 0, 0.07);
983
+ }
984
+
971
985
  .block-editor-block-rename-modal {
972
986
  z-index: 1000001;
973
987
  }
@@ -1612,6 +1626,70 @@ iframe[name=editor-canvas].has-editor-padding {
1612
1626
  direction: ltr;
1613
1627
  }
1614
1628
 
1629
+ .block-editor-global-styles-background-panel__inspector-media-replace-container {
1630
+ position: relative;
1631
+ }
1632
+ .block-editor-global-styles-background-panel__inspector-media-replace-container .components-drop-zone__content-icon {
1633
+ display: none;
1634
+ }
1635
+ .block-editor-global-styles-background-panel__inspector-media-replace-container button.components-button {
1636
+ color: #1e1e1e;
1637
+ box-shadow: inset 0 0 0 1px #ddd;
1638
+ width: 100%;
1639
+ display: block;
1640
+ height: 40px;
1641
+ }
1642
+ .block-editor-global-styles-background-panel__inspector-media-replace-container button.components-button:hover {
1643
+ color: var(--wp-admin-theme-color);
1644
+ }
1645
+ .block-editor-global-styles-background-panel__inspector-media-replace-container button.components-button:focus {
1646
+ box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
1647
+ }
1648
+ .block-editor-global-styles-background-panel__inspector-media-replace-container .block-editor-global-styles-background-panel__inspector-media-replace-title {
1649
+ word-break: break-all;
1650
+ white-space: normal;
1651
+ text-align: start;
1652
+ text-align-last: center;
1653
+ }
1654
+ .block-editor-global-styles-background-panel__inspector-media-replace-container .components-dropdown {
1655
+ display: block;
1656
+ }
1657
+
1658
+ .block-editor-global-styles-background-panel__inspector-image-indicator-wrapper {
1659
+ background: #fff linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
1660
+ border-radius: 50% !important;
1661
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
1662
+ display: block;
1663
+ width: 20px;
1664
+ height: 20px;
1665
+ flex: none;
1666
+ }
1667
+ .block-editor-global-styles-background-panel__inspector-image-indicator-wrapper.has-image {
1668
+ background: #fff;
1669
+ }
1670
+
1671
+ .block-editor-global-styles-background-panel__inspector-image-indicator {
1672
+ background-size: cover;
1673
+ border-radius: 50%;
1674
+ width: 20px;
1675
+ height: 20px;
1676
+ display: block;
1677
+ position: relative;
1678
+ }
1679
+
1680
+ .block-editor-global-styles-background-panel__inspector-image-indicator::after {
1681
+ content: "";
1682
+ position: absolute;
1683
+ top: -1px;
1684
+ left: -1px;
1685
+ bottom: -1px;
1686
+ right: -1px;
1687
+ border-radius: 50%;
1688
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
1689
+ border: 1px solid transparent;
1690
+ box-sizing: inherit;
1691
+ }
1692
+
1615
1693
  .block-editor-grid-visualizer {
1616
1694
  z-index: 30 !important;
1617
1695
  }
@@ -2377,7 +2455,7 @@ iframe[name=editor-canvas].has-editor-padding {
2377
2455
  align-items: center;
2378
2456
  width: 100%;
2379
2457
  height: auto;
2380
- padding: 6px 4px 6px 0;
2458
+ padding: 6px 6px 6px 0;
2381
2459
  text-align: left;
2382
2460
  border-radius: 2px;
2383
2461
  position: relative;
@@ -2468,7 +2546,7 @@ iframe[name=editor-canvas].has-editor-padding {
2468
2546
  padding: 0;
2469
2547
  }
2470
2548
  .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell {
2471
- padding-right: 4px;
2549
+ padding-right: 6px;
2472
2550
  }
2473
2551
  .block-editor-list-view-leaf .block-editor-list-view-block__menu-cell .components-button.has-icon {
2474
2552
  height: 24px;
@@ -3209,11 +3287,6 @@ iframe[name=editor-canvas].has-editor-padding {
3209
3287
  font-size: 12px;
3210
3288
  }
3211
3289
 
3212
- .html-anchor-control .components-external-link {
3213
- display: inline-block;
3214
- margin-top: 8px;
3215
- }
3216
-
3217
3290
  .block-editor-hooks__block-hooks {
3218
3291
  /**
3219
3292
  * Since we're displaying the block icon alongside the block name,
@@ -3235,70 +3308,6 @@ iframe[name=editor-canvas].has-editor-padding {
3235
3308
  margin-bottom: 16px;
3236
3309
  }
3237
3310
 
3238
- .block-editor-hooks__background__inspector-media-replace-container {
3239
- position: relative;
3240
- }
3241
- .block-editor-hooks__background__inspector-media-replace-container .components-drop-zone__content-icon {
3242
- display: none;
3243
- }
3244
- .block-editor-hooks__background__inspector-media-replace-container button.components-button {
3245
- color: #1e1e1e;
3246
- box-shadow: inset 0 0 0 1px #ddd;
3247
- width: 100%;
3248
- display: block;
3249
- height: 40px;
3250
- }
3251
- .block-editor-hooks__background__inspector-media-replace-container button.components-button:hover {
3252
- color: var(--wp-admin-theme-color);
3253
- }
3254
- .block-editor-hooks__background__inspector-media-replace-container button.components-button:focus {
3255
- box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
3256
- }
3257
- .block-editor-hooks__background__inspector-media-replace-container .block-editor-hooks__background__inspector-media-replace-title {
3258
- word-break: break-all;
3259
- white-space: normal;
3260
- text-align: start;
3261
- text-align-last: center;
3262
- }
3263
- .block-editor-hooks__background__inspector-media-replace-container .components-dropdown {
3264
- display: block;
3265
- }
3266
-
3267
- .block-editor-hooks__background__inspector-image-indicator-wrapper {
3268
- background: #fff linear-gradient(-45deg, transparent 48%, #ddd 48%, #ddd 52%, transparent 52%);
3269
- border-radius: 50% !important;
3270
- box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
3271
- display: block;
3272
- width: 20px;
3273
- height: 20px;
3274
- flex: none;
3275
- }
3276
- .block-editor-hooks__background__inspector-image-indicator-wrapper.has-image {
3277
- background: #fff;
3278
- }
3279
-
3280
- .block-editor-hooks__background__inspector-image-indicator {
3281
- background-size: cover;
3282
- border-radius: 50%;
3283
- width: 20px;
3284
- height: 20px;
3285
- display: block;
3286
- position: relative;
3287
- }
3288
-
3289
- .block-editor-hooks__background__inspector-image-indicator::after {
3290
- content: "";
3291
- position: absolute;
3292
- top: -1px;
3293
- left: -1px;
3294
- bottom: -1px;
3295
- right: -1px;
3296
- border-radius: 50%;
3297
- box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
3298
- border: 1px solid transparent;
3299
- box-sizing: inherit;
3300
- }
3301
-
3302
3311
  .border-block-support-panel .single-column {
3303
3312
  grid-column: span 1;
3304
3313
  }
@@ -3657,7 +3666,6 @@ iframe[name=editor-canvas].has-editor-padding {
3657
3666
  flex-direction: column;
3658
3667
  height: 100%;
3659
3668
  gap: 16px;
3660
- overflow-y: hidden;
3661
3669
  }
3662
3670
  .block-editor-inserter__main-area.show-as-tabs {
3663
3671
  gap: 0;
@@ -3769,6 +3777,7 @@ iframe[name=editor-canvas].has-editor-padding {
3769
3777
  .block-editor-inserter__no-tab-container {
3770
3778
  overflow-y: auto;
3771
3779
  flex-grow: 1;
3780
+ position: relative;
3772
3781
  }
3773
3782
 
3774
3783
  .block-editor-inserter__panel-header {
@@ -3936,13 +3945,6 @@ iframe[name=editor-canvas].has-editor-padding {
3936
3945
  padding: 16px 24px;
3937
3946
  }
3938
3947
 
3939
- .block-editor-block-patterns-list__list-item .block-editor-block-preview__container {
3940
- box-shadow: 0 15px 25px rgba(0, 0, 0, 0.07);
3941
- }
3942
- .block-editor-block-patterns-list__list-item:hover .block-editor-block-preview__container {
3943
- box-shadow: 0 0 0 2px #1e1e1e, 0 15px 25px rgba(0, 0, 0, 0.07);
3944
- }
3945
-
3946
3948
  .block-editor-inserter__patterns-category-panel {
3947
3949
  padding: 0 16px;
3948
3950
  display: flex;
@@ -4325,6 +4327,9 @@ iframe[name=editor-canvas].has-editor-padding {
4325
4327
  .is-zoom-out .block-editor-inserter__patterns-category-dialog {
4326
4328
  position: static;
4327
4329
  }
4330
+ .is-zoom-out .block-editor-inserter__media-dialog {
4331
+ position: static;
4332
+ }
4328
4333
 
4329
4334
  .spacing-sizes-control .spacing-sizes-control__custom-value-input,
4330
4335
  .spacing-sizes-control .spacing-sizes-control__label {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/block-editor",
3
- "version": "12.22.0",
3
+ "version": "12.23.0",
4
4
  "description": "Generic block editor.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -35,35 +35,35 @@
35
35
  "@emotion/react": "^11.7.1",
36
36
  "@emotion/styled": "^11.6.0",
37
37
  "@react-spring/web": "^9.4.5",
38
- "@wordpress/a11y": "^3.54.0",
39
- "@wordpress/api-fetch": "^6.51.0",
40
- "@wordpress/blob": "^3.54.0",
41
- "@wordpress/blocks": "^12.31.0",
42
- "@wordpress/commands": "^0.25.0",
43
- "@wordpress/components": "^27.2.0",
44
- "@wordpress/compose": "^6.31.0",
45
- "@wordpress/data": "^9.24.0",
46
- "@wordpress/date": "^4.54.0",
47
- "@wordpress/deprecated": "^3.54.0",
48
- "@wordpress/dom": "^3.54.0",
49
- "@wordpress/element": "^5.31.0",
50
- "@wordpress/escape-html": "^2.54.0",
51
- "@wordpress/hooks": "^3.54.0",
52
- "@wordpress/html-entities": "^3.54.0",
53
- "@wordpress/i18n": "^4.54.0",
54
- "@wordpress/icons": "^9.45.0",
55
- "@wordpress/is-shallow-equal": "^4.54.0",
56
- "@wordpress/keyboard-shortcuts": "^4.31.0",
57
- "@wordpress/keycodes": "^3.54.0",
58
- "@wordpress/notices": "^4.22.0",
59
- "@wordpress/preferences": "^3.31.0",
60
- "@wordpress/private-apis": "^0.36.0",
61
- "@wordpress/rich-text": "^6.31.0",
62
- "@wordpress/style-engine": "^1.37.0",
63
- "@wordpress/token-list": "^2.54.0",
64
- "@wordpress/url": "^3.55.0",
65
- "@wordpress/warning": "^2.54.0",
66
- "@wordpress/wordcount": "^3.54.0",
38
+ "@wordpress/a11y": "^3.55.0",
39
+ "@wordpress/api-fetch": "^6.52.0",
40
+ "@wordpress/blob": "^3.55.0",
41
+ "@wordpress/blocks": "^12.32.0",
42
+ "@wordpress/commands": "^0.26.0",
43
+ "@wordpress/components": "^27.3.0",
44
+ "@wordpress/compose": "^6.32.0",
45
+ "@wordpress/data": "^9.25.0",
46
+ "@wordpress/date": "^4.55.0",
47
+ "@wordpress/deprecated": "^3.55.0",
48
+ "@wordpress/dom": "^3.55.0",
49
+ "@wordpress/element": "^5.32.0",
50
+ "@wordpress/escape-html": "^2.55.0",
51
+ "@wordpress/hooks": "^3.55.0",
52
+ "@wordpress/html-entities": "^3.55.0",
53
+ "@wordpress/i18n": "^4.55.0",
54
+ "@wordpress/icons": "^9.46.0",
55
+ "@wordpress/is-shallow-equal": "^4.55.0",
56
+ "@wordpress/keyboard-shortcuts": "^4.32.0",
57
+ "@wordpress/keycodes": "^3.55.0",
58
+ "@wordpress/notices": "^4.23.0",
59
+ "@wordpress/preferences": "^3.32.0",
60
+ "@wordpress/private-apis": "^0.37.0",
61
+ "@wordpress/rich-text": "^6.32.0",
62
+ "@wordpress/style-engine": "^1.38.0",
63
+ "@wordpress/token-list": "^2.55.0",
64
+ "@wordpress/url": "^3.56.0",
65
+ "@wordpress/warning": "^2.55.0",
66
+ "@wordpress/wordcount": "^3.55.0",
67
67
  "change-case": "^4.1.2",
68
68
  "classnames": "^2.3.1",
69
69
  "colord": "^2.7.0",
@@ -86,5 +86,5 @@
86
86
  "publishConfig": {
87
87
  "access": "public"
88
88
  },
89
- "gitHead": "ffc07735d0abfb3f69e91d48f25b7fe8d1ef92d2"
89
+ "gitHead": "ac2b13783c28f959770cf029a797a712f59e1958"
90
90
  }