@wordpress/block-library 9.6.1 → 9.7.1-next.5368f64a9.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 (409) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/build/archives/edit.js +1 -1
  3. package/build/archives/edit.js.map +1 -1
  4. package/build/audio/edit.js +2 -1
  5. package/build/audio/edit.js.map +1 -1
  6. package/build/block/edit.js +5 -8
  7. package/build/block/edit.js.map +1 -1
  8. package/build/button/edit.js +1 -1
  9. package/build/button/edit.js.map +1 -1
  10. package/build/buttons/index.js +1 -1
  11. package/build/categories/index.js +1 -0
  12. package/build/categories/index.js.map +1 -1
  13. package/build/comment-edit-link/index.js +13 -2
  14. package/build/comment-edit-link/index.js.map +1 -1
  15. package/build/comment-reply-link/index.js +13 -2
  16. package/build/comment-reply-link/index.js.map +1 -1
  17. package/build/comments/edit/comments-legacy.js +1 -0
  18. package/build/comments/edit/comments-legacy.js.map +1 -1
  19. package/build/cover/deprecated.js +1 -1
  20. package/build/cover/deprecated.js.map +1 -1
  21. package/build/cover/edit/block-controls.js +4 -2
  22. package/build/cover/edit/block-controls.js.map +1 -1
  23. package/build/cover/edit/index.js +6 -3
  24. package/build/cover/edit/index.js.map +1 -1
  25. package/build/cover/edit/inspector-controls.js +4 -12
  26. package/build/cover/edit/inspector-controls.js.map +1 -1
  27. package/build/details/index.js +3 -1
  28. package/build/details/index.js.map +1 -1
  29. package/build/details/transforms.js +24 -0
  30. package/build/details/transforms.js.map +1 -0
  31. package/build/embed/edit.js +5 -11
  32. package/build/embed/edit.js.map +1 -1
  33. package/build/embed/embed-placeholder.js +2 -0
  34. package/build/embed/embed-placeholder.js.map +1 -1
  35. package/build/embed/embed-preview.js +16 -4
  36. package/build/embed/embed-preview.js.map +1 -1
  37. package/build/file/edit.js +12 -1
  38. package/build/file/edit.js.map +1 -1
  39. package/build/file/transforms.js +18 -4
  40. package/build/file/transforms.js.map +1 -1
  41. package/build/freeform/edit.js +4 -4
  42. package/build/freeform/edit.js.map +1 -1
  43. package/build/freeform/modal.js +3 -0
  44. package/build/freeform/modal.js.map +1 -1
  45. package/build/home-link/edit.js +3 -9
  46. package/build/home-link/edit.js.map +1 -1
  47. package/build/image/edit.js +95 -45
  48. package/build/image/edit.js.map +1 -1
  49. package/build/image/image.js +39 -24
  50. package/build/image/image.js.map +1 -1
  51. package/build/image/transforms.js +0 -13
  52. package/build/image/transforms.js.map +1 -1
  53. package/build/image/use-max-width-observer.js +35 -0
  54. package/build/image/use-max-width-observer.js.map +1 -0
  55. package/build/image/utils.js +11 -0
  56. package/build/image/utils.js.map +1 -1
  57. package/build/latest-posts/edit.js +1 -1
  58. package/build/latest-posts/edit.js.map +1 -1
  59. package/build/media-text/deprecated.js +144 -3
  60. package/build/media-text/deprecated.js.map +1 -1
  61. package/build/media-text/edit.js +5 -5
  62. package/build/media-text/edit.js.map +1 -1
  63. package/build/media-text/image-fill.js +12 -0
  64. package/build/media-text/image-fill.js.map +1 -0
  65. package/build/media-text/media-container.js +21 -18
  66. package/build/media-text/media-container.js.map +1 -1
  67. package/build/media-text/media-container.native.js +0 -7
  68. package/build/media-text/media-container.native.js.map +1 -1
  69. package/build/media-text/save.js +5 -6
  70. package/build/media-text/save.js.map +1 -1
  71. package/build/missing/edit.js +3 -2
  72. package/build/missing/edit.js.map +1 -1
  73. package/build/navigation/edit/deleted-navigation-warning.js +14 -7
  74. package/build/navigation/edit/deleted-navigation-warning.js.map +1 -1
  75. package/build/navigation/edit/index.js +1 -0
  76. package/build/navigation/edit/index.js.map +1 -1
  77. package/build/navigation/edit/menu-inspector-controls.js +2 -1
  78. package/build/navigation/edit/menu-inspector-controls.js.map +1 -1
  79. package/build/navigation/edit/navigation-menu-delete-control.js +1 -0
  80. package/build/navigation/edit/navigation-menu-delete-control.js.map +1 -1
  81. package/build/navigation/edit/placeholder/index.js +1 -0
  82. package/build/navigation/edit/placeholder/index.js.map +1 -1
  83. package/build/navigation/edit/responsive-wrapper.js +2 -0
  84. package/build/navigation/edit/responsive-wrapper.js.map +1 -1
  85. package/build/navigation/edit/unsaved-inner-blocks.js +4 -4
  86. package/build/navigation/edit/unsaved-inner-blocks.js.map +1 -1
  87. package/build/navigation-link/link-ui.js +2 -1
  88. package/build/navigation-link/link-ui.js.map +1 -1
  89. package/build/page-list/convert-to-links-modal.js +2 -0
  90. package/build/page-list/convert-to-links-modal.js.map +1 -1
  91. package/build/page-list/edit.js +4 -1
  92. package/build/page-list/edit.js.map +1 -1
  93. package/build/post-comments-form/form.js +1 -0
  94. package/build/post-comments-form/form.js.map +1 -1
  95. package/build/post-featured-image/dimension-controls.js +6 -8
  96. package/build/post-featured-image/dimension-controls.js.map +1 -1
  97. package/build/post-featured-image/edit.js +2 -4
  98. package/build/post-featured-image/edit.js.map +1 -1
  99. package/build/post-title/index.js +4 -1
  100. package/build/post-title/index.js.map +1 -1
  101. package/build/query/edit/enhanced-pagination-modal.js +3 -2
  102. package/build/query/edit/enhanced-pagination-modal.js.map +1 -1
  103. package/build/query/edit/inspector-controls/enhanced-pagination-control.js +3 -3
  104. package/build/query/edit/inspector-controls/enhanced-pagination-control.js.map +1 -1
  105. package/build/query/edit/inspector-controls/index.js +2 -10
  106. package/build/query/edit/inspector-controls/index.js.map +1 -1
  107. package/build/query/edit/query-content.js +9 -3
  108. package/build/query/edit/query-content.js.map +1 -1
  109. package/build/query/edit/query-placeholder.js +2 -0
  110. package/build/query/edit/query-placeholder.js.map +1 -1
  111. package/build/site-logo/edit.js +9 -13
  112. package/build/site-logo/edit.js.map +1 -1
  113. package/build/site-title/index.js +4 -1
  114. package/build/site-title/index.js.map +1 -1
  115. package/build/social-link/edit.js +4 -1
  116. package/build/social-link/edit.js.map +1 -1
  117. package/build/social-links/edit.js +10 -9
  118. package/build/social-links/edit.js.map +1 -1
  119. package/build/template-part/edit/advanced-controls.js.map +1 -1
  120. package/build/template-part/edit/index.js +1 -1
  121. package/build/template-part/edit/index.js.map +1 -1
  122. package/build/template-part/edit/inner-blocks.js +10 -1
  123. package/build/template-part/edit/inner-blocks.js.map +1 -1
  124. package/build/template-part/edit/placeholder.js +2 -0
  125. package/build/template-part/edit/placeholder.js.map +1 -1
  126. package/build/utils/hooks.js +10 -10
  127. package/build/utils/hooks.js.map +1 -1
  128. package/build/video/edit.js +16 -12
  129. package/build/video/edit.js.map +1 -1
  130. package/build/video/tracks-editor.js +3 -0
  131. package/build/video/tracks-editor.js.map +1 -1
  132. package/build-module/archives/edit.js +1 -1
  133. package/build-module/archives/edit.js.map +1 -1
  134. package/build-module/audio/edit.js +2 -1
  135. package/build-module/audio/edit.js.map +1 -1
  136. package/build-module/block/edit.js +6 -9
  137. package/build-module/block/edit.js.map +1 -1
  138. package/build-module/button/edit.js +1 -1
  139. package/build-module/button/edit.js.map +1 -1
  140. package/build-module/buttons/index.js +1 -1
  141. package/build-module/categories/index.js +1 -0
  142. package/build-module/categories/index.js.map +1 -1
  143. package/build-module/comment-edit-link/index.js +13 -2
  144. package/build-module/comment-edit-link/index.js.map +1 -1
  145. package/build-module/comment-reply-link/index.js +13 -2
  146. package/build-module/comment-reply-link/index.js.map +1 -1
  147. package/build-module/comments/edit/comments-legacy.js +1 -0
  148. package/build-module/comments/edit/comments-legacy.js.map +1 -1
  149. package/build-module/cover/deprecated.js +1 -1
  150. package/build-module/cover/deprecated.js.map +1 -1
  151. package/build-module/cover/edit/block-controls.js +4 -2
  152. package/build-module/cover/edit/block-controls.js.map +1 -1
  153. package/build-module/cover/edit/index.js +6 -3
  154. package/build-module/cover/edit/index.js.map +1 -1
  155. package/build-module/cover/edit/inspector-controls.js +5 -13
  156. package/build-module/cover/edit/inspector-controls.js.map +1 -1
  157. package/build-module/details/index.js +3 -1
  158. package/build-module/details/index.js.map +1 -1
  159. package/build-module/details/transforms.js +18 -0
  160. package/build-module/details/transforms.js.map +1 -0
  161. package/build-module/embed/edit.js +6 -12
  162. package/build-module/embed/edit.js.map +1 -1
  163. package/build-module/embed/embed-placeholder.js +2 -0
  164. package/build-module/embed/embed-placeholder.js.map +1 -1
  165. package/build-module/embed/embed-preview.js +16 -4
  166. package/build-module/embed/embed-preview.js.map +1 -1
  167. package/build-module/file/edit.js +12 -1
  168. package/build-module/file/edit.js.map +1 -1
  169. package/build-module/file/transforms.js +18 -4
  170. package/build-module/file/transforms.js.map +1 -1
  171. package/build-module/freeform/edit.js +4 -4
  172. package/build-module/freeform/edit.js.map +1 -1
  173. package/build-module/freeform/modal.js +3 -0
  174. package/build-module/freeform/modal.js.map +1 -1
  175. package/build-module/home-link/edit.js +3 -9
  176. package/build-module/home-link/edit.js.map +1 -1
  177. package/build-module/image/edit.js +99 -48
  178. package/build-module/image/edit.js.map +1 -1
  179. package/build-module/image/image.js +40 -25
  180. package/build-module/image/image.js.map +1 -1
  181. package/build-module/image/transforms.js +0 -13
  182. package/build-module/image/transforms.js.map +1 -1
  183. package/build-module/image/use-max-width-observer.js +29 -0
  184. package/build-module/image/use-max-width-observer.js.map +1 -0
  185. package/build-module/image/utils.js +11 -1
  186. package/build-module/image/utils.js.map +1 -1
  187. package/build-module/latest-posts/edit.js +1 -1
  188. package/build-module/latest-posts/edit.js.map +1 -1
  189. package/build-module/media-text/deprecated.js +144 -3
  190. package/build-module/media-text/deprecated.js.map +1 -1
  191. package/build-module/media-text/edit.js +5 -5
  192. package/build-module/media-text/edit.js.map +1 -1
  193. package/build-module/media-text/image-fill.js +6 -0
  194. package/build-module/media-text/image-fill.js.map +1 -0
  195. package/build-module/media-text/media-container.js +21 -17
  196. package/build-module/media-text/media-container.js.map +1 -1
  197. package/build-module/media-text/media-container.native.js +0 -1
  198. package/build-module/media-text/media-container.native.js.map +1 -1
  199. package/build-module/media-text/save.js +5 -6
  200. package/build-module/media-text/save.js.map +1 -1
  201. package/build-module/missing/edit.js +3 -2
  202. package/build-module/missing/edit.js.map +1 -1
  203. package/build-module/navigation/edit/deleted-navigation-warning.js +15 -8
  204. package/build-module/navigation/edit/deleted-navigation-warning.js.map +1 -1
  205. package/build-module/navigation/edit/index.js +1 -0
  206. package/build-module/navigation/edit/index.js.map +1 -1
  207. package/build-module/navigation/edit/menu-inspector-controls.js +2 -1
  208. package/build-module/navigation/edit/menu-inspector-controls.js.map +1 -1
  209. package/build-module/navigation/edit/navigation-menu-delete-control.js +1 -0
  210. package/build-module/navigation/edit/navigation-menu-delete-control.js.map +1 -1
  211. package/build-module/navigation/edit/placeholder/index.js +1 -0
  212. package/build-module/navigation/edit/placeholder/index.js.map +1 -1
  213. package/build-module/navigation/edit/responsive-wrapper.js +2 -0
  214. package/build-module/navigation/edit/responsive-wrapper.js.map +1 -1
  215. package/build-module/navigation/edit/unsaved-inner-blocks.js +4 -4
  216. package/build-module/navigation/edit/unsaved-inner-blocks.js.map +1 -1
  217. package/build-module/navigation-link/link-ui.js +4 -3
  218. package/build-module/navigation-link/link-ui.js.map +1 -1
  219. package/build-module/page-list/convert-to-links-modal.js +2 -0
  220. package/build-module/page-list/convert-to-links-modal.js.map +1 -1
  221. package/build-module/page-list/edit.js +4 -1
  222. package/build-module/page-list/edit.js.map +1 -1
  223. package/build-module/post-comments-form/form.js +1 -0
  224. package/build-module/post-comments-form/form.js.map +1 -1
  225. package/build-module/post-featured-image/dimension-controls.js +6 -8
  226. package/build-module/post-featured-image/dimension-controls.js.map +1 -1
  227. package/build-module/post-featured-image/edit.js +3 -5
  228. package/build-module/post-featured-image/edit.js.map +1 -1
  229. package/build-module/post-title/index.js +4 -1
  230. package/build-module/post-title/index.js.map +1 -1
  231. package/build-module/query/edit/enhanced-pagination-modal.js +3 -2
  232. package/build-module/query/edit/enhanced-pagination-modal.js.map +1 -1
  233. package/build-module/query/edit/inspector-controls/enhanced-pagination-control.js +3 -3
  234. package/build-module/query/edit/inspector-controls/enhanced-pagination-control.js.map +1 -1
  235. package/build-module/query/edit/inspector-controls/index.js +2 -10
  236. package/build-module/query/edit/inspector-controls/index.js.map +1 -1
  237. package/build-module/query/edit/query-content.js +10 -4
  238. package/build-module/query/edit/query-content.js.map +1 -1
  239. package/build-module/query/edit/query-placeholder.js +2 -0
  240. package/build-module/query/edit/query-placeholder.js.map +1 -1
  241. package/build-module/site-logo/edit.js +10 -14
  242. package/build-module/site-logo/edit.js.map +1 -1
  243. package/build-module/site-title/index.js +4 -1
  244. package/build-module/site-title/index.js.map +1 -1
  245. package/build-module/social-link/edit.js +4 -1
  246. package/build-module/social-link/edit.js.map +1 -1
  247. package/build-module/social-links/edit.js +11 -10
  248. package/build-module/social-links/edit.js.map +1 -1
  249. package/build-module/template-part/edit/advanced-controls.js.map +1 -1
  250. package/build-module/template-part/edit/index.js +1 -1
  251. package/build-module/template-part/edit/index.js.map +1 -1
  252. package/build-module/template-part/edit/inner-blocks.js +10 -1
  253. package/build-module/template-part/edit/inner-blocks.js.map +1 -1
  254. package/build-module/template-part/edit/placeholder.js +2 -0
  255. package/build-module/template-part/edit/placeholder.js.map +1 -1
  256. package/build-module/utils/hooks.js +10 -10
  257. package/build-module/utils/hooks.js.map +1 -1
  258. package/build-module/video/edit.js +16 -13
  259. package/build-module/video/edit.js.map +1 -1
  260. package/build-module/video/tracks-editor.js +3 -0
  261. package/build-module/video/tracks-editor.js.map +1 -1
  262. package/build-style/button/editor-rtl.css +0 -4
  263. package/build-style/button/editor.css +0 -4
  264. package/build-style/buttons/editor-rtl.css +2 -5
  265. package/build-style/buttons/editor.css +2 -5
  266. package/build-style/buttons/style-rtl.css +2 -2
  267. package/build-style/buttons/style.css +2 -2
  268. package/build-style/comment-edit-link/style-rtl.css +94 -0
  269. package/build-style/comment-edit-link/style.css +94 -0
  270. package/build-style/comment-reply-link/style-rtl.css +94 -0
  271. package/build-style/comment-reply-link/style.css +94 -0
  272. package/build-style/comments-pagination/editor-rtl.css +2 -2
  273. package/build-style/comments-pagination/editor.css +2 -2
  274. package/build-style/common-rtl.css +2 -2
  275. package/build-style/common.css +2 -2
  276. package/build-style/cover/editor-rtl.css +0 -6
  277. package/build-style/cover/editor.css +0 -6
  278. package/build-style/editor-rtl.css +35 -99
  279. package/build-style/editor.css +35 -101
  280. package/build-style/group/editor-rtl.css +0 -1
  281. package/build-style/group/editor.css +0 -1
  282. package/build-style/image/editor-rtl.css +6 -27
  283. package/build-style/image/editor.css +6 -27
  284. package/build-style/media-text/editor-rtl.css +3 -1
  285. package/build-style/media-text/editor.css +3 -1
  286. package/build-style/media-text/style-rtl.css +20 -0
  287. package/build-style/media-text/style.css +20 -0
  288. package/build-style/navigation/editor-rtl.css +1 -2
  289. package/build-style/navigation/editor.css +1 -2
  290. package/build-style/post-featured-image/style-rtl.css +1 -1
  291. package/build-style/post-featured-image/style.css +1 -1
  292. package/build-style/post-title/style-rtl.css +21 -0
  293. package/build-style/post-title/style.css +21 -0
  294. package/build-style/query-pagination/editor-rtl.css +2 -16
  295. package/build-style/query-pagination/editor.css +2 -18
  296. package/build-style/query-pagination/style-rtl.css +0 -11
  297. package/build-style/query-pagination/style.css +0 -13
  298. package/build-style/site-title/editor-rtl.css +0 -4
  299. package/build-style/site-title/editor.css +0 -4
  300. package/build-style/site-title/style-rtl.css +21 -0
  301. package/build-style/site-title/style.css +21 -0
  302. package/build-style/social-links/editor-rtl.css +17 -0
  303. package/build-style/social-links/editor.css +17 -0
  304. package/build-style/style-rtl.css +75 -16
  305. package/build-style/style.css +75 -18
  306. package/build-style/video/editor-rtl.css +0 -29
  307. package/build-style/video/editor.css +0 -29
  308. package/package.json +42 -35
  309. package/src/archives/edit.js +1 -1
  310. package/src/audio/edit.js +1 -0
  311. package/src/block/edit.js +9 -11
  312. package/src/button/edit.js +1 -1
  313. package/src/button/editor.scss +0 -5
  314. package/src/buttons/block.json +1 -1
  315. package/src/buttons/editor.scss +2 -8
  316. package/src/buttons/style.scss +2 -2
  317. package/src/categories/block.json +1 -0
  318. package/src/categories/index.php +13 -2
  319. package/src/comment-edit-link/block.json +13 -2
  320. package/src/comment-edit-link/style.scss +4 -0
  321. package/src/comment-reply-link/block.json +13 -2
  322. package/src/comment-reply-link/style.scss +4 -0
  323. package/src/comments/edit/comments-legacy.js +1 -0
  324. package/src/comments-pagination/editor.scss +1 -1
  325. package/src/cover/deprecated.js +3 -2
  326. package/src/cover/edit/block-controls.js +2 -0
  327. package/src/cover/edit/index.js +6 -1
  328. package/src/cover/edit/inspector-controls.js +3 -15
  329. package/src/cover/editor.scss +0 -5
  330. package/src/cover/test/edit.js +30 -26
  331. package/src/details/index.js +2 -0
  332. package/src/details/transforms.js +26 -0
  333. package/src/embed/edit.js +0 -7
  334. package/src/embed/embed-placeholder.js +10 -2
  335. package/src/embed/embed-preview.js +22 -2
  336. package/src/file/edit.js +11 -0
  337. package/src/file/index.php +1 -1
  338. package/src/file/transforms.js +26 -6
  339. package/src/freeform/edit.js +4 -4
  340. package/src/freeform/editor.scss +1 -1
  341. package/src/freeform/modal.js +7 -1
  342. package/src/gallery/editor.scss +1 -1
  343. package/src/group/editor.scss +0 -1
  344. package/src/home-link/edit.js +4 -7
  345. package/src/image/edit.js +130 -47
  346. package/src/image/editor.scss +7 -41
  347. package/src/image/image.js +100 -67
  348. package/src/image/index.php +1 -1
  349. package/src/image/transforms.js +0 -23
  350. package/src/image/use-max-width-observer.js +32 -0
  351. package/src/image/utils.js +13 -1
  352. package/src/latest-posts/edit.js +1 -1
  353. package/src/media-text/deprecated.js +159 -3
  354. package/src/media-text/edit.js +5 -5
  355. package/src/media-text/editor.scss +3 -1
  356. package/src/media-text/image-fill.js +11 -0
  357. package/src/media-text/index.php +53 -43
  358. package/src/media-text/media-container.js +25 -25
  359. package/src/media-text/media-container.native.js +0 -2
  360. package/src/media-text/save.js +9 -13
  361. package/src/media-text/style.scss +21 -0
  362. package/src/media-text/test/image-fill.js +19 -0
  363. package/src/missing/edit.js +8 -3
  364. package/src/navigation/edit/deleted-navigation-warning.js +23 -13
  365. package/src/navigation/edit/index.js +1 -0
  366. package/src/navigation/edit/menu-inspector-controls.js +3 -1
  367. package/src/navigation/edit/navigation-menu-delete-control.js +1 -0
  368. package/src/navigation/edit/placeholder/index.js +1 -0
  369. package/src/navigation/edit/responsive-wrapper.js +2 -0
  370. package/src/navigation/edit/unsaved-inner-blocks.js +4 -4
  371. package/src/navigation/editor.scss +11 -4
  372. package/src/navigation/index.php +1 -1
  373. package/src/navigation-link/link-ui.js +4 -3
  374. package/src/page-list/convert-to-links-modal.js +6 -1
  375. package/src/page-list/edit.js +6 -1
  376. package/src/page-list/index.php +3 -1
  377. package/src/post-comments-form/form.js +1 -0
  378. package/src/post-featured-image/dimension-controls.js +4 -4
  379. package/src/post-featured-image/edit.js +3 -6
  380. package/src/post-featured-image/style.scss +1 -1
  381. package/src/post-title/block.json +4 -1
  382. package/src/post-title/style.scss +24 -0
  383. package/src/query/edit/enhanced-pagination-modal.js +7 -3
  384. package/src/query/edit/inspector-controls/enhanced-pagination-control.js +3 -3
  385. package/src/query/edit/inspector-controls/index.js +2 -9
  386. package/src/query/edit/query-content.js +7 -0
  387. package/src/query/edit/query-placeholder.js +2 -0
  388. package/src/query/index.php +1 -1
  389. package/src/query-pagination/editor.scss +1 -21
  390. package/src/query-pagination/style.scss +0 -15
  391. package/src/search/index.php +1 -1
  392. package/src/site-logo/edit.js +11 -20
  393. package/src/site-title/block.json +4 -1
  394. package/src/site-title/editor.scss +0 -4
  395. package/src/site-title/style.scss +24 -0
  396. package/src/social-link/edit.js +2 -0
  397. package/src/social-links/edit.js +17 -10
  398. package/src/social-links/editor.scss +24 -5
  399. package/src/style.scss +2 -0
  400. package/src/tag-cloud/index.php +7 -2
  401. package/src/template-part/edit/advanced-controls.js +0 -1
  402. package/src/template-part/edit/index.js +12 -10
  403. package/src/template-part/edit/inner-blocks.js +20 -1
  404. package/src/template-part/edit/placeholder.js +6 -1
  405. package/src/utils/hooks.js +11 -11
  406. package/src/video/edit.js +24 -21
  407. package/src/video/editor.scss +0 -45
  408. package/src/video/tracks-editor.js +3 -0
  409. package/src/media-text/test/media-container.js +0 -24
@@ -89,28 +89,6 @@
89
89
  /**
90
90
  * Reset the WP Admin page styles for Gutenberg-like pages.
91
91
  */
92
- .wp-block-video.wp-block-video.is-selected .components-placeholder {
93
- color: #1e1e1e;
94
- background-color: #fff;
95
- box-shadow: inset 0 0 0 1px #1e1e1e;
96
- border: none;
97
- border-radius: 2px;
98
- }
99
- .wp-block-video.wp-block-video.is-selected .components-placeholder > svg {
100
- opacity: 0;
101
- }
102
- .wp-block-video.wp-block-video.is-selected .components-placeholder .components-placeholder__illustration {
103
- display: none;
104
- }
105
- .wp-block-video.wp-block-video.is-selected .components-placeholder::before {
106
- opacity: 0;
107
- }
108
- .wp-block-video.wp-block-video .components-placeholder__label,
109
- .wp-block-video.wp-block-video .components-placeholder__instructions,
110
- .wp-block-video.wp-block-video .components-button {
111
- transition: none;
112
- }
113
-
114
92
  .wp-block[data-align=center] > .wp-block-video {
115
93
  text-align: center;
116
94
  }
@@ -156,16 +134,9 @@
156
134
 
157
135
  .block-library-video-tracks-editor > .components-popover__content {
158
136
  width: 360px;
159
- padding: 0;
160
137
  }
161
138
 
162
139
  .block-library-video-tracks-editor__track-list .components-menu-group__label,
163
140
  .block-library-video-tracks-editor__add-tracks-container .components-menu-group__label {
164
141
  padding: 0;
165
- }
166
-
167
- .block-library-video-tracks-editor__single-track-editor,
168
- .block-library-video-tracks-editor__track-list,
169
- .block-library-video-tracks-editor__add-tracks-container {
170
- padding: 12px;
171
142
  }
@@ -89,28 +89,6 @@
89
89
  /**
90
90
  * Reset the WP Admin page styles for Gutenberg-like pages.
91
91
  */
92
- .wp-block-video.wp-block-video.is-selected .components-placeholder {
93
- color: #1e1e1e;
94
- background-color: #fff;
95
- box-shadow: inset 0 0 0 1px #1e1e1e;
96
- border: none;
97
- border-radius: 2px;
98
- }
99
- .wp-block-video.wp-block-video.is-selected .components-placeholder > svg {
100
- opacity: 0;
101
- }
102
- .wp-block-video.wp-block-video.is-selected .components-placeholder .components-placeholder__illustration {
103
- display: none;
104
- }
105
- .wp-block-video.wp-block-video.is-selected .components-placeholder::before {
106
- opacity: 0;
107
- }
108
- .wp-block-video.wp-block-video .components-placeholder__label,
109
- .wp-block-video.wp-block-video .components-placeholder__instructions,
110
- .wp-block-video.wp-block-video .components-button {
111
- transition: none;
112
- }
113
-
114
92
  .wp-block[data-align=center] > .wp-block-video {
115
93
  text-align: center;
116
94
  }
@@ -156,16 +134,9 @@
156
134
 
157
135
  .block-library-video-tracks-editor > .components-popover__content {
158
136
  width: 360px;
159
- padding: 0;
160
137
  }
161
138
 
162
139
  .block-library-video-tracks-editor__track-list .components-menu-group__label,
163
140
  .block-library-video-tracks-editor__add-tracks-container .components-menu-group__label {
164
141
  padding: 0;
165
- }
166
-
167
- .block-library-video-tracks-editor__single-track-editor,
168
- .block-library-video-tracks-editor__track-list,
169
- .block-library-video-tracks-editor__add-tracks-container {
170
- padding: 12px;
171
142
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/block-library",
3
- "version": "9.6.1",
3
+ "version": "9.7.1-next.5368f64a9.0",
4
4
  "description": "Block library for the WordPress editor.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -30,41 +30,48 @@
30
30
  "src/**/*.scss",
31
31
  "{src,build,build-module}/*/init.js"
32
32
  ],
33
+ "wpScriptModuleExports": {
34
+ "./file/view": "./build-module/file/view.js",
35
+ "./image/view": "./build-module/image/view.js",
36
+ "./navigation/view": "./build-module/navigation/view.js",
37
+ "./query/view": "./build-module/query/view.js",
38
+ "./search/view": "./build-module/search/view.js"
39
+ },
33
40
  "dependencies": {
34
41
  "@babel/runtime": "^7.16.0",
35
- "@wordpress/a11y": "^4.6.0",
36
- "@wordpress/api-fetch": "^7.6.0",
37
- "@wordpress/autop": "^4.6.0",
38
- "@wordpress/blob": "^4.6.0",
39
- "@wordpress/block-editor": "^14.1.0",
40
- "@wordpress/blocks": "^13.6.0",
41
- "@wordpress/components": "^28.6.0",
42
- "@wordpress/compose": "^7.6.0",
43
- "@wordpress/core-data": "^7.6.0",
44
- "@wordpress/data": "^10.6.0",
45
- "@wordpress/date": "^5.6.0",
46
- "@wordpress/deprecated": "^4.6.0",
47
- "@wordpress/dom": "^4.6.0",
48
- "@wordpress/element": "^6.6.0",
49
- "@wordpress/escape-html": "^3.6.0",
50
- "@wordpress/hooks": "^4.6.0",
51
- "@wordpress/html-entities": "^4.6.0",
52
- "@wordpress/i18n": "^5.6.0",
53
- "@wordpress/icons": "^10.6.0",
54
- "@wordpress/interactivity": "^6.6.0",
55
- "@wordpress/interactivity-router": "^2.6.0",
56
- "@wordpress/keyboard-shortcuts": "^5.6.0",
57
- "@wordpress/keycodes": "^4.6.0",
58
- "@wordpress/notices": "^5.6.0",
59
- "@wordpress/patterns": "^2.6.0",
60
- "@wordpress/primitives": "^4.6.0",
61
- "@wordpress/private-apis": "^1.6.0",
62
- "@wordpress/reusable-blocks": "^5.6.0",
63
- "@wordpress/rich-text": "^7.6.0",
64
- "@wordpress/server-side-render": "^5.6.0",
65
- "@wordpress/url": "^4.6.0",
66
- "@wordpress/viewport": "^6.6.0",
67
- "@wordpress/wordcount": "^4.6.0",
42
+ "@wordpress/a11y": "^4.7.1-next.5368f64a9.0",
43
+ "@wordpress/api-fetch": "^7.7.1-next.5368f64a9.0",
44
+ "@wordpress/autop": "^4.7.1-next.5368f64a9.0",
45
+ "@wordpress/blob": "^4.7.1-next.5368f64a9.0",
46
+ "@wordpress/block-editor": "^14.2.1-next.5368f64a9.0",
47
+ "@wordpress/blocks": "^13.7.1-next.5368f64a9.0",
48
+ "@wordpress/components": "^28.8.1-next.5368f64a9.0",
49
+ "@wordpress/compose": "^7.8.1-next.5368f64a9.0",
50
+ "@wordpress/core-data": "^7.7.1-next.5368f64a9.0",
51
+ "@wordpress/data": "^10.7.1-next.5368f64a9.0",
52
+ "@wordpress/date": "^5.7.1-next.5368f64a9.0",
53
+ "@wordpress/deprecated": "^4.7.1-next.5368f64a9.0",
54
+ "@wordpress/dom": "^4.7.1-next.5368f64a9.0",
55
+ "@wordpress/element": "^6.7.1-next.5368f64a9.0",
56
+ "@wordpress/escape-html": "^3.7.1-next.5368f64a9.0",
57
+ "@wordpress/hooks": "^4.7.1-next.5368f64a9.0",
58
+ "@wordpress/html-entities": "^4.7.1-next.5368f64a9.0",
59
+ "@wordpress/i18n": "^5.7.1-next.5368f64a9.0",
60
+ "@wordpress/icons": "^10.7.1-next.5368f64a9.0",
61
+ "@wordpress/interactivity": "^6.7.2-next.5368f64a9.0",
62
+ "@wordpress/interactivity-router": "^2.7.1-next.5368f64a9.0",
63
+ "@wordpress/keyboard-shortcuts": "^5.7.1-next.5368f64a9.0",
64
+ "@wordpress/keycodes": "^4.7.1-next.5368f64a9.0",
65
+ "@wordpress/notices": "^5.7.1-next.5368f64a9.0",
66
+ "@wordpress/patterns": "^2.7.1-next.5368f64a9.0",
67
+ "@wordpress/primitives": "^4.7.1-next.5368f64a9.0",
68
+ "@wordpress/private-apis": "^1.7.1-next.5368f64a9.0",
69
+ "@wordpress/reusable-blocks": "^5.7.1-next.5368f64a9.0",
70
+ "@wordpress/rich-text": "^7.7.1-next.5368f64a9.0",
71
+ "@wordpress/server-side-render": "^5.7.1-next.5368f64a9.0",
72
+ "@wordpress/url": "^4.7.1-next.5368f64a9.0",
73
+ "@wordpress/viewport": "^6.7.1-next.5368f64a9.0",
74
+ "@wordpress/wordcount": "^4.7.1-next.5368f64a9.0",
68
75
  "change-case": "^4.1.2",
69
76
  "clsx": "^2.1.1",
70
77
  "colord": "^2.7.0",
@@ -82,5 +89,5 @@
82
89
  "publishConfig": {
83
90
  "access": "public"
84
91
  },
85
- "gitHead": "2c178a34c8ea9b1c0e51c1fd48e24da95c418f6e"
92
+ "gitHead": "24934a1f5251bbee15045d1fd953d9c5650317cd"
86
93
  }
@@ -53,7 +53,7 @@ export default function ArchivesEdit( { attributes, setAttributes } ) {
53
53
  <SelectControl
54
54
  __next40pxDefaultSize
55
55
  __nextHasNoMarginBottom
56
- label={ __( 'Group by:' ) }
56
+ label={ __( 'Group by' ) }
57
57
  options={ [
58
58
  { label: __( 'Year' ), value: 'yearly' },
59
59
  { label: __( 'Month' ), value: 'monthly' },
package/src/audio/edit.js CHANGED
@@ -155,6 +155,7 @@ function AudioEdit( {
155
155
  onSelect={ onSelectAudio }
156
156
  onSelectURL={ onSelectURL }
157
157
  onError={ onUploadError }
158
+ onReset={ () => onSelectAudio( undefined ) }
158
159
  />
159
160
  </BlockControls>
160
161
  ) }
package/src/block/edit.js CHANGED
@@ -29,6 +29,7 @@ import {
29
29
  privateApis as blockEditorPrivateApis,
30
30
  store as blockEditorStore,
31
31
  BlockControls,
32
+ InnerBlocks,
32
33
  } from '@wordpress/block-editor';
33
34
  import { privateApis as patternsPrivateApis } from '@wordpress/patterns';
34
35
  import { store as blocksStore } from '@wordpress/blocks';
@@ -193,19 +194,15 @@ function ReusableBlockEdit( {
193
194
  hasPatternOverridesSource,
194
195
  } = useSelect(
195
196
  ( select ) => {
196
- const {
197
- getBlocks,
198
- getSettings,
199
- getBlockEditingMode: _getBlockEditingMode,
200
- } = select( blockEditorStore );
197
+ const { getBlocks, getSettings, getBlockEditingMode } =
198
+ select( blockEditorStore );
201
199
  const { getBlockBindingsSource } = unlock( select( blocksStore ) );
202
200
  // For editing link to the site editor if the theme and user permissions support it.
203
201
  return {
204
202
  innerBlocks: getBlocks( patternClientId ),
205
- getBlockEditingMode: _getBlockEditingMode,
206
203
  onNavigateToEntityRecord:
207
204
  getSettings().onNavigateToEntityRecord,
208
- editingMode: _getBlockEditingMode( patternClientId ),
205
+ editingMode: getBlockEditingMode( patternClientId ),
209
206
  hasPatternOverridesSource: !! getBlockBindingsSource(
210
207
  'core/pattern-overrides'
211
208
  ),
@@ -247,14 +244,15 @@ function ReusableBlockEdit( {
247
244
  ),
248
245
  } );
249
246
 
250
- // Use `blocks` variable until `innerBlocks` is populated, which has the proper clientIds.
251
247
  const innerBlocksProps = useInnerBlocksProps( blockProps, {
252
248
  templateLock: 'all',
253
249
  layout,
254
- value: innerBlocks.length > 0 ? innerBlocks : blocks,
250
+ value: blocks,
255
251
  onInput: NOOP,
256
252
  onChange: NOOP,
257
- renderAppender: blocks?.length ? undefined : blocks.ButtonBlockAppender,
253
+ renderAppender: blocks?.length
254
+ ? undefined
255
+ : InnerBlocks.ButtonBlockAppender,
258
256
  } );
259
257
 
260
258
  const handleEditOriginal = () => {
@@ -292,7 +290,7 @@ function ReusableBlockEdit( {
292
290
 
293
291
  return (
294
292
  <>
295
- { hasResolved && (
293
+ { hasResolved && ! isMissing && (
296
294
  <ReusableBlockControl
297
295
  recordId={ ref }
298
296
  canOverrideBlocks={ canOverrideBlocks }
@@ -254,7 +254,7 @@ function ButtonEdit( props ) {
254
254
  } ),
255
255
  };
256
256
  },
257
- [ isSelected, metadata?.bindings?.url ]
257
+ [ context, isSelected, metadata?.bindings?.url ]
258
258
  );
259
259
 
260
260
  return (
@@ -32,8 +32,3 @@
32
32
  div[data-type="core/button"] {
33
33
  display: table;
34
34
  }
35
-
36
- .editor-styles-wrapper .wp-block-button[style*="text-decoration"] .wp-block-button__link {
37
- text-decoration: inherit;
38
- }
39
-
@@ -21,7 +21,7 @@
21
21
  }
22
22
  },
23
23
  "spacing": {
24
- "blockGap": true,
24
+ "blockGap": [ "horizontal", "vertical" ],
25
25
  "padding": true,
26
26
  "margin": [ "top", "bottom" ],
27
27
  "__experimentalDefaultControls": {
@@ -33,14 +33,14 @@ $blocks-block__margin: 0.5em;
33
33
  //
34
34
  // This back compat rule is ignored if the user decides to use the
35
35
  // newer justification options on the button block, hence the :not.
36
- /* stylelint-disable indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
36
+ /* stylelint-disable @stylistic/indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
37
37
  &:not(
38
38
  .is-content-justification-space-between,
39
39
  .is-content-justification-right,
40
40
  .is-content-justification-left,
41
41
  .is-content-justification-center
42
42
  ) .wp-block[data-align="center"] {
43
- /* stylelint-enable indentation */
43
+ /* stylelint-enable @stylistic/indentation */
44
44
  margin-left: auto;
45
45
  margin-right: auto;
46
46
  margin-top: 0;
@@ -52,12 +52,6 @@ $blocks-block__margin: 0.5em;
52
52
  margin-bottom: 0;
53
53
  }
54
54
  }
55
-
56
- .editor-styles-wrapper &.has-custom-font-size {
57
- .wp-block-button__link {
58
- font-size: inherit;
59
- }
60
- }
61
55
  }
62
56
 
63
57
  .wp-block[data-align="center"] > .wp-block-buttons {
@@ -55,14 +55,14 @@ $blocks-block__margin: 0.5em;
55
55
  //
56
56
  // This back compat rule is ignored if the user decides to use the
57
57
  // newer justification options on the button block, hence the :not.
58
- /* stylelint-disable indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
58
+ /* stylelint-disable @stylistic/indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
59
59
  &:not(
60
60
  .is-content-justification-space-between,
61
61
  .is-content-justification-right,
62
62
  .is-content-justification-left,
63
63
  .is-content-justification-center
64
64
  ) .wp-block-button.aligncenter {
65
- /* stylelint-enable indentation */
65
+ /* stylelint-enable @stylistic/indentation */
66
66
  margin-left: auto;
67
67
  margin-right: auto;
68
68
  width: 100%;
@@ -36,6 +36,7 @@
36
36
  "default": true
37
37
  }
38
38
  },
39
+ "usesContext": [ "enhancedPagination" ],
39
40
  "supports": {
40
41
  "align": true,
41
42
  "html": false,
@@ -9,12 +9,15 @@
9
9
  * Renders the `core/categories` block on server.
10
10
  *
11
11
  * @since 5.0.0
12
+ * @since 6.7.0 Enable client-side rendering if enhancedPagination context is true.
12
13
  *
13
- * @param array $attributes The block attributes.
14
+ * @param array $attributes The block attributes.
15
+ * @param string $content Block default content.
16
+ * @param WP_Block $block Block instance.
14
17
  *
15
18
  * @return string Returns the categories list/dropdown markup.
16
19
  */
17
- function render_block_core_categories( $attributes ) {
20
+ function render_block_core_categories( $attributes, $content, $block ) {
18
21
  static $block_id = 0;
19
22
  ++$block_id;
20
23
 
@@ -54,6 +57,14 @@ function render_block_core_categories( $attributes ) {
54
57
  $wrapper_markup = '<ul %1$s>%2$s</ul>';
55
58
  $items_markup = wp_list_categories( $args );
56
59
  $type = 'list';
60
+
61
+ if ( ! empty( $block->context['enhancedPagination'] ) ) {
62
+ $p = new WP_HTML_Tag_Processor( $items_markup );
63
+ while ( $p->next_tag( 'a' ) ) {
64
+ $p->set_attribute( 'data-wp-on--click', 'core/query::actions.navigate' );
65
+ }
66
+ $items_markup = $p->get_updated_html();
67
+ }
57
68
  }
58
69
 
59
70
  $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => "wp-block-categories-{$type}" ) );
@@ -30,7 +30,11 @@
30
30
  },
31
31
  "spacing": {
32
32
  "margin": true,
33
- "padding": true
33
+ "padding": true,
34
+ "__experimentalDefaultControls": {
35
+ "margin": false,
36
+ "padding": false
37
+ }
34
38
  },
35
39
  "typography": {
36
40
  "fontSize": true,
@@ -47,6 +51,13 @@
47
51
  },
48
52
  "interactivity": {
49
53
  "clientNavigation": true
54
+ },
55
+ "__experimentalBorder": {
56
+ "radius": true,
57
+ "color": true,
58
+ "width": true,
59
+ "style": true
50
60
  }
51
- }
61
+ },
62
+ "style": "wp-block-comment-edit-link"
52
63
  }
@@ -0,0 +1,4 @@
1
+ .wp-block-comment-edit-link {
2
+ // This block has customizable padding, border-box makes that more predictable.
3
+ box-sizing: border-box;
4
+ }
@@ -25,7 +25,11 @@
25
25
  },
26
26
  "spacing": {
27
27
  "margin": true,
28
- "padding": true
28
+ "padding": true,
29
+ "__experimentalDefaultControls": {
30
+ "margin": false,
31
+ "padding": false
32
+ }
29
33
  },
30
34
  "typography": {
31
35
  "fontSize": true,
@@ -40,6 +44,13 @@
40
44
  "fontSize": true
41
45
  }
42
46
  },
47
+ "__experimentalBorder": {
48
+ "radius": true,
49
+ "color": true,
50
+ "width": true,
51
+ "style": true
52
+ },
43
53
  "html": false
44
- }
54
+ },
55
+ "style": "wp-block-comment-reply-link"
45
56
  }
@@ -0,0 +1,4 @@
1
+ .wp-block-comment-reply-link {
2
+ // This block has customizable padding, border-box makes that more predictable.
3
+ box-sizing: border-box;
4
+ }
@@ -29,6 +29,7 @@ export default function CommentsLegacy( {
29
29
 
30
30
  const actions = [
31
31
  <Button
32
+ __next40pxDefaultSize
32
33
  key="convert"
33
34
  onClick={ () => void setAttributes( { legacy: false } ) }
34
35
  variant="primary"
@@ -5,7 +5,7 @@ $pagination-margin: 0.5em;
5
5
  justify-content: center;
6
6
  }
7
7
 
8
- .editor-styles-wrapper {
8
+ :where(.editor-styles-wrapper) {
9
9
  .wp-block-comments-pagination {
10
10
  max-width: 100%;
11
11
  &.block-editor-block-list__layout {
@@ -400,8 +400,9 @@ const v12 = {
400
400
  supports: v12BlockSupports,
401
401
  isEligible( attributes ) {
402
402
  return (
403
- attributes.customOverlayColor !== undefined ||
404
- attributes.overlayColor !== undefined
403
+ ( attributes.customOverlayColor !== undefined ||
404
+ attributes.overlayColor !== undefined ) &&
405
+ attributes.isUserOverlayColor === undefined
405
406
  );
406
407
  },
407
408
  migrate( attributes ) {
@@ -26,6 +26,7 @@ export default function CoverBlockControls( {
26
26
  onSelectMedia,
27
27
  currentSettings,
28
28
  toggleUseFeaturedImage,
29
+ onClearMedia,
29
30
  } ) {
30
31
  const { contentPosition, id, useFeaturedImage, minHeight, minHeightUnit } =
31
32
  attributes;
@@ -101,6 +102,7 @@ export default function CoverBlockControls( {
101
102
  onToggleFeaturedImage={ toggleUseFeaturedImage }
102
103
  useFeaturedImage={ useFeaturedImage }
103
104
  name={ ! url ? __( 'Add Media' ) : __( 'Replace' ) }
105
+ onReset={ onClearMedia }
104
106
  />
105
107
  </BlockControls>
106
108
  </>
@@ -143,7 +143,10 @@ function CoverEdit( {
143
143
  averageBackgroundColor
144
144
  );
145
145
  __unstableMarkNextChangeAsNotPersistent();
146
- setAttributes( { isDark: newIsDark } );
146
+ setAttributes( {
147
+ isDark: newIsDark,
148
+ isUserOverlayColor: isUserOverlayColor || false,
149
+ } );
147
150
  } )();
148
151
  // Disable reason: Update the block only when the featured image changes.
149
152
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -201,6 +204,7 @@ function CoverEdit( {
201
204
  useFeaturedImage: undefined,
202
205
  dimRatio: newDimRatio,
203
206
  isDark: newIsDark,
207
+ isUserOverlayColor: isUserOverlayColor || false,
204
208
  } );
205
209
  };
206
210
 
@@ -398,6 +402,7 @@ function CoverEdit( {
398
402
  onSelectMedia={ onSelectMedia }
399
403
  currentSettings={ currentSettings }
400
404
  toggleUseFeaturedImage={ toggleUseFeaturedImage }
405
+ onClearMedia={ onClearMedia }
401
406
  />
402
407
  );
403
408
 
@@ -3,11 +3,9 @@
3
3
  */
4
4
  import { useMemo } from '@wordpress/element';
5
5
  import {
6
- Button,
7
6
  ExternalLink,
8
7
  FocalPointPicker,
9
8
  PanelBody,
10
- PanelRow,
11
9
  RangeControl,
12
10
  TextareaControl,
13
11
  ToggleControl,
@@ -73,13 +71,13 @@ function CoverHeightInput( {
73
71
 
74
72
  return (
75
73
  <UnitControl
76
- label={ __( 'Minimum height of cover' ) }
74
+ __next40pxDefaultSize
75
+ label={ __( 'Minimum height' ) }
77
76
  id={ inputId }
78
77
  isResetValueOnUnitChange
79
78
  min={ min }
80
79
  onChange={ handleOnChange }
81
80
  onUnitChange={ onUnitChange }
82
- __unstableInputWidth="80px"
83
81
  units={ units }
84
82
  value={ computedValue }
85
83
  />
@@ -93,7 +91,6 @@ export default function CoverInspectorControls( {
93
91
  coverRef,
94
92
  currentSettings,
95
93
  updateDimRatio,
96
- onClearMedia,
97
94
  } ) {
98
95
  const {
99
96
  useFeaturedImage,
@@ -228,16 +225,6 @@ export default function CoverInspectorControls( {
228
225
  }
229
226
  />
230
227
  ) }
231
- <PanelRow>
232
- <Button
233
- variant="secondary"
234
- size="small"
235
- className="block-library-cover__reset-button"
236
- onClick={ onClearMedia }
237
- >
238
- { __( 'Clear Media' ) }
239
- </Button>
240
- </PanelRow>
241
228
  </PanelBody>
242
229
  ) }
243
230
  </InspectorControls>
@@ -299,6 +286,7 @@ export default function CoverInspectorControls( {
299
286
  ) }
300
287
  <InspectorControls group="dimensions">
301
288
  <ToolsPanelItem
289
+ className="single-column"
302
290
  hasValue={ () => !! minHeight }
303
291
  label={ __( 'Minimum height' ) }
304
292
  onDeselect={ () =>
@@ -1,9 +1,4 @@
1
1
  .wp-block-cover {
2
- /* Extra specificity needed because the reset.css applied in the editor context is overriding this rule. */
3
- .editor-styles-wrapper & {
4
- box-sizing: border-box;
5
- }
6
-
7
2
  // Override default cover styles
8
3
  // because we're not ready yet to show the cover block.
9
4
  &.is-placeholder {