@wordpress/block-library 9.6.1 → 9.7.1-next.1f6eadc42.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 (427) 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/form-input/deprecated.js +113 -1
  42. package/build/form-input/deprecated.js.map +1 -1
  43. package/build/form-input/edit.js +16 -12
  44. package/build/form-input/edit.js.map +1 -1
  45. package/build/form-input/save.js +9 -1
  46. package/build/form-input/save.js.map +1 -1
  47. package/build/freeform/edit.js +4 -4
  48. package/build/freeform/edit.js.map +1 -1
  49. package/build/freeform/modal.js +3 -0
  50. package/build/freeform/modal.js.map +1 -1
  51. package/build/home-link/edit.js +3 -9
  52. package/build/home-link/edit.js.map +1 -1
  53. package/build/image/edit.js +95 -45
  54. package/build/image/edit.js.map +1 -1
  55. package/build/image/image.js +39 -24
  56. package/build/image/image.js.map +1 -1
  57. package/build/image/transforms.js +0 -13
  58. package/build/image/transforms.js.map +1 -1
  59. package/build/image/use-max-width-observer.js +35 -0
  60. package/build/image/use-max-width-observer.js.map +1 -0
  61. package/build/image/utils.js +11 -0
  62. package/build/image/utils.js.map +1 -1
  63. package/build/latest-posts/edit.js +1 -1
  64. package/build/latest-posts/edit.js.map +1 -1
  65. package/build/media-text/deprecated.js +144 -3
  66. package/build/media-text/deprecated.js.map +1 -1
  67. package/build/media-text/edit.js +5 -5
  68. package/build/media-text/edit.js.map +1 -1
  69. package/build/media-text/image-fill.js +12 -0
  70. package/build/media-text/image-fill.js.map +1 -0
  71. package/build/media-text/media-container.js +21 -18
  72. package/build/media-text/media-container.js.map +1 -1
  73. package/build/media-text/media-container.native.js +0 -7
  74. package/build/media-text/media-container.native.js.map +1 -1
  75. package/build/media-text/save.js +5 -6
  76. package/build/media-text/save.js.map +1 -1
  77. package/build/missing/edit.js +3 -2
  78. package/build/missing/edit.js.map +1 -1
  79. package/build/navigation/edit/deleted-navigation-warning.js +14 -7
  80. package/build/navigation/edit/deleted-navigation-warning.js.map +1 -1
  81. package/build/navigation/edit/index.js +1 -0
  82. package/build/navigation/edit/index.js.map +1 -1
  83. package/build/navigation/edit/menu-inspector-controls.js +2 -1
  84. package/build/navigation/edit/menu-inspector-controls.js.map +1 -1
  85. package/build/navigation/edit/navigation-menu-delete-control.js +1 -0
  86. package/build/navigation/edit/navigation-menu-delete-control.js.map +1 -1
  87. package/build/navigation/edit/placeholder/index.js +1 -0
  88. package/build/navigation/edit/placeholder/index.js.map +1 -1
  89. package/build/navigation/edit/responsive-wrapper.js +2 -0
  90. package/build/navigation/edit/responsive-wrapper.js.map +1 -1
  91. package/build/navigation/edit/unsaved-inner-blocks.js +4 -4
  92. package/build/navigation/edit/unsaved-inner-blocks.js.map +1 -1
  93. package/build/navigation-link/link-ui.js +2 -1
  94. package/build/navigation-link/link-ui.js.map +1 -1
  95. package/build/page-list/convert-to-links-modal.js +2 -0
  96. package/build/page-list/convert-to-links-modal.js.map +1 -1
  97. package/build/page-list/edit.js +4 -1
  98. package/build/page-list/edit.js.map +1 -1
  99. package/build/post-comments-form/form.js +1 -0
  100. package/build/post-comments-form/form.js.map +1 -1
  101. package/build/post-featured-image/dimension-controls.js +6 -8
  102. package/build/post-featured-image/dimension-controls.js.map +1 -1
  103. package/build/post-featured-image/edit.js +2 -4
  104. package/build/post-featured-image/edit.js.map +1 -1
  105. package/build/post-title/index.js +4 -1
  106. package/build/post-title/index.js.map +1 -1
  107. package/build/query/edit/enhanced-pagination-modal.js +3 -2
  108. package/build/query/edit/enhanced-pagination-modal.js.map +1 -1
  109. package/build/query/edit/inspector-controls/enhanced-pagination-control.js +3 -3
  110. package/build/query/edit/inspector-controls/enhanced-pagination-control.js.map +1 -1
  111. package/build/query/edit/inspector-controls/index.js +2 -10
  112. package/build/query/edit/inspector-controls/index.js.map +1 -1
  113. package/build/query/edit/query-content.js +9 -3
  114. package/build/query/edit/query-content.js.map +1 -1
  115. package/build/query/edit/query-placeholder.js +2 -0
  116. package/build/query/edit/query-placeholder.js.map +1 -1
  117. package/build/site-logo/edit.js +9 -13
  118. package/build/site-logo/edit.js.map +1 -1
  119. package/build/site-title/index.js +4 -1
  120. package/build/site-title/index.js.map +1 -1
  121. package/build/social-link/edit.js +4 -1
  122. package/build/social-link/edit.js.map +1 -1
  123. package/build/social-links/edit.js +10 -9
  124. package/build/social-links/edit.js.map +1 -1
  125. package/build/template-part/edit/advanced-controls.js.map +1 -1
  126. package/build/template-part/edit/index.js +1 -1
  127. package/build/template-part/edit/index.js.map +1 -1
  128. package/build/template-part/edit/inner-blocks.js +10 -1
  129. package/build/template-part/edit/inner-blocks.js.map +1 -1
  130. package/build/template-part/edit/placeholder.js +2 -0
  131. package/build/template-part/edit/placeholder.js.map +1 -1
  132. package/build/utils/hooks.js +10 -10
  133. package/build/utils/hooks.js.map +1 -1
  134. package/build/video/edit.js +16 -12
  135. package/build/video/edit.js.map +1 -1
  136. package/build/video/tracks-editor.js +3 -0
  137. package/build/video/tracks-editor.js.map +1 -1
  138. package/build-module/archives/edit.js +1 -1
  139. package/build-module/archives/edit.js.map +1 -1
  140. package/build-module/audio/edit.js +2 -1
  141. package/build-module/audio/edit.js.map +1 -1
  142. package/build-module/block/edit.js +6 -9
  143. package/build-module/block/edit.js.map +1 -1
  144. package/build-module/button/edit.js +1 -1
  145. package/build-module/button/edit.js.map +1 -1
  146. package/build-module/buttons/index.js +1 -1
  147. package/build-module/categories/index.js +1 -0
  148. package/build-module/categories/index.js.map +1 -1
  149. package/build-module/comment-edit-link/index.js +13 -2
  150. package/build-module/comment-edit-link/index.js.map +1 -1
  151. package/build-module/comment-reply-link/index.js +13 -2
  152. package/build-module/comment-reply-link/index.js.map +1 -1
  153. package/build-module/comments/edit/comments-legacy.js +1 -0
  154. package/build-module/comments/edit/comments-legacy.js.map +1 -1
  155. package/build-module/cover/deprecated.js +1 -1
  156. package/build-module/cover/deprecated.js.map +1 -1
  157. package/build-module/cover/edit/block-controls.js +4 -2
  158. package/build-module/cover/edit/block-controls.js.map +1 -1
  159. package/build-module/cover/edit/index.js +6 -3
  160. package/build-module/cover/edit/index.js.map +1 -1
  161. package/build-module/cover/edit/inspector-controls.js +5 -13
  162. package/build-module/cover/edit/inspector-controls.js.map +1 -1
  163. package/build-module/details/index.js +3 -1
  164. package/build-module/details/index.js.map +1 -1
  165. package/build-module/details/transforms.js +18 -0
  166. package/build-module/details/transforms.js.map +1 -0
  167. package/build-module/embed/edit.js +6 -12
  168. package/build-module/embed/edit.js.map +1 -1
  169. package/build-module/embed/embed-placeholder.js +2 -0
  170. package/build-module/embed/embed-placeholder.js.map +1 -1
  171. package/build-module/embed/embed-preview.js +16 -4
  172. package/build-module/embed/embed-preview.js.map +1 -1
  173. package/build-module/file/edit.js +12 -1
  174. package/build-module/file/edit.js.map +1 -1
  175. package/build-module/file/transforms.js +18 -4
  176. package/build-module/file/transforms.js.map +1 -1
  177. package/build-module/form-input/deprecated.js +114 -2
  178. package/build-module/form-input/deprecated.js.map +1 -1
  179. package/build-module/form-input/edit.js +16 -12
  180. package/build-module/form-input/edit.js.map +1 -1
  181. package/build-module/form-input/save.js +9 -1
  182. package/build-module/form-input/save.js.map +1 -1
  183. package/build-module/freeform/edit.js +4 -4
  184. package/build-module/freeform/edit.js.map +1 -1
  185. package/build-module/freeform/modal.js +3 -0
  186. package/build-module/freeform/modal.js.map +1 -1
  187. package/build-module/home-link/edit.js +3 -9
  188. package/build-module/home-link/edit.js.map +1 -1
  189. package/build-module/image/edit.js +99 -48
  190. package/build-module/image/edit.js.map +1 -1
  191. package/build-module/image/image.js +40 -25
  192. package/build-module/image/image.js.map +1 -1
  193. package/build-module/image/transforms.js +0 -13
  194. package/build-module/image/transforms.js.map +1 -1
  195. package/build-module/image/use-max-width-observer.js +29 -0
  196. package/build-module/image/use-max-width-observer.js.map +1 -0
  197. package/build-module/image/utils.js +11 -1
  198. package/build-module/image/utils.js.map +1 -1
  199. package/build-module/latest-posts/edit.js +1 -1
  200. package/build-module/latest-posts/edit.js.map +1 -1
  201. package/build-module/media-text/deprecated.js +144 -3
  202. package/build-module/media-text/deprecated.js.map +1 -1
  203. package/build-module/media-text/edit.js +5 -5
  204. package/build-module/media-text/edit.js.map +1 -1
  205. package/build-module/media-text/image-fill.js +6 -0
  206. package/build-module/media-text/image-fill.js.map +1 -0
  207. package/build-module/media-text/media-container.js +21 -17
  208. package/build-module/media-text/media-container.js.map +1 -1
  209. package/build-module/media-text/media-container.native.js +0 -1
  210. package/build-module/media-text/media-container.native.js.map +1 -1
  211. package/build-module/media-text/save.js +5 -6
  212. package/build-module/media-text/save.js.map +1 -1
  213. package/build-module/missing/edit.js +3 -2
  214. package/build-module/missing/edit.js.map +1 -1
  215. package/build-module/navigation/edit/deleted-navigation-warning.js +15 -8
  216. package/build-module/navigation/edit/deleted-navigation-warning.js.map +1 -1
  217. package/build-module/navigation/edit/index.js +1 -0
  218. package/build-module/navigation/edit/index.js.map +1 -1
  219. package/build-module/navigation/edit/menu-inspector-controls.js +2 -1
  220. package/build-module/navigation/edit/menu-inspector-controls.js.map +1 -1
  221. package/build-module/navigation/edit/navigation-menu-delete-control.js +1 -0
  222. package/build-module/navigation/edit/navigation-menu-delete-control.js.map +1 -1
  223. package/build-module/navigation/edit/placeholder/index.js +1 -0
  224. package/build-module/navigation/edit/placeholder/index.js.map +1 -1
  225. package/build-module/navigation/edit/responsive-wrapper.js +2 -0
  226. package/build-module/navigation/edit/responsive-wrapper.js.map +1 -1
  227. package/build-module/navigation/edit/unsaved-inner-blocks.js +4 -4
  228. package/build-module/navigation/edit/unsaved-inner-blocks.js.map +1 -1
  229. package/build-module/navigation-link/link-ui.js +4 -3
  230. package/build-module/navigation-link/link-ui.js.map +1 -1
  231. package/build-module/page-list/convert-to-links-modal.js +2 -0
  232. package/build-module/page-list/convert-to-links-modal.js.map +1 -1
  233. package/build-module/page-list/edit.js +4 -1
  234. package/build-module/page-list/edit.js.map +1 -1
  235. package/build-module/post-comments-form/form.js +1 -0
  236. package/build-module/post-comments-form/form.js.map +1 -1
  237. package/build-module/post-featured-image/dimension-controls.js +6 -8
  238. package/build-module/post-featured-image/dimension-controls.js.map +1 -1
  239. package/build-module/post-featured-image/edit.js +3 -5
  240. package/build-module/post-featured-image/edit.js.map +1 -1
  241. package/build-module/post-title/index.js +4 -1
  242. package/build-module/post-title/index.js.map +1 -1
  243. package/build-module/query/edit/enhanced-pagination-modal.js +3 -2
  244. package/build-module/query/edit/enhanced-pagination-modal.js.map +1 -1
  245. package/build-module/query/edit/inspector-controls/enhanced-pagination-control.js +3 -3
  246. package/build-module/query/edit/inspector-controls/enhanced-pagination-control.js.map +1 -1
  247. package/build-module/query/edit/inspector-controls/index.js +2 -10
  248. package/build-module/query/edit/inspector-controls/index.js.map +1 -1
  249. package/build-module/query/edit/query-content.js +10 -4
  250. package/build-module/query/edit/query-content.js.map +1 -1
  251. package/build-module/query/edit/query-placeholder.js +2 -0
  252. package/build-module/query/edit/query-placeholder.js.map +1 -1
  253. package/build-module/site-logo/edit.js +10 -14
  254. package/build-module/site-logo/edit.js.map +1 -1
  255. package/build-module/site-title/index.js +4 -1
  256. package/build-module/site-title/index.js.map +1 -1
  257. package/build-module/social-link/edit.js +4 -1
  258. package/build-module/social-link/edit.js.map +1 -1
  259. package/build-module/social-links/edit.js +11 -10
  260. package/build-module/social-links/edit.js.map +1 -1
  261. package/build-module/template-part/edit/advanced-controls.js.map +1 -1
  262. package/build-module/template-part/edit/index.js +1 -1
  263. package/build-module/template-part/edit/index.js.map +1 -1
  264. package/build-module/template-part/edit/inner-blocks.js +10 -1
  265. package/build-module/template-part/edit/inner-blocks.js.map +1 -1
  266. package/build-module/template-part/edit/placeholder.js +2 -0
  267. package/build-module/template-part/edit/placeholder.js.map +1 -1
  268. package/build-module/utils/hooks.js +10 -10
  269. package/build-module/utils/hooks.js.map +1 -1
  270. package/build-module/video/edit.js +16 -13
  271. package/build-module/video/edit.js.map +1 -1
  272. package/build-module/video/tracks-editor.js +3 -0
  273. package/build-module/video/tracks-editor.js.map +1 -1
  274. package/build-style/button/editor-rtl.css +0 -4
  275. package/build-style/button/editor.css +0 -4
  276. package/build-style/buttons/editor-rtl.css +2 -5
  277. package/build-style/buttons/editor.css +2 -5
  278. package/build-style/buttons/style-rtl.css +2 -2
  279. package/build-style/buttons/style.css +2 -2
  280. package/build-style/comment-edit-link/style-rtl.css +94 -0
  281. package/build-style/comment-edit-link/style.css +94 -0
  282. package/build-style/comment-reply-link/style-rtl.css +94 -0
  283. package/build-style/comment-reply-link/style.css +94 -0
  284. package/build-style/comments-pagination/editor-rtl.css +2 -2
  285. package/build-style/comments-pagination/editor.css +2 -2
  286. package/build-style/common-rtl.css +2 -2
  287. package/build-style/common.css +2 -2
  288. package/build-style/cover/editor-rtl.css +0 -6
  289. package/build-style/cover/editor.css +0 -6
  290. package/build-style/editor-rtl.css +35 -99
  291. package/build-style/editor.css +35 -101
  292. package/build-style/form-input/style-rtl.css +7 -8
  293. package/build-style/form-input/style.css +7 -8
  294. package/build-style/group/editor-rtl.css +0 -1
  295. package/build-style/group/editor.css +0 -1
  296. package/build-style/image/editor-rtl.css +6 -27
  297. package/build-style/image/editor.css +6 -27
  298. package/build-style/media-text/editor-rtl.css +3 -1
  299. package/build-style/media-text/editor.css +3 -1
  300. package/build-style/media-text/style-rtl.css +20 -0
  301. package/build-style/media-text/style.css +20 -0
  302. package/build-style/navigation/editor-rtl.css +1 -2
  303. package/build-style/navigation/editor.css +1 -2
  304. package/build-style/post-featured-image/style-rtl.css +1 -1
  305. package/build-style/post-featured-image/style.css +1 -1
  306. package/build-style/post-title/style-rtl.css +21 -0
  307. package/build-style/post-title/style.css +21 -0
  308. package/build-style/query-pagination/editor-rtl.css +2 -16
  309. package/build-style/query-pagination/editor.css +2 -18
  310. package/build-style/query-pagination/style-rtl.css +0 -11
  311. package/build-style/query-pagination/style.css +0 -13
  312. package/build-style/site-title/editor-rtl.css +0 -4
  313. package/build-style/site-title/editor.css +0 -4
  314. package/build-style/site-title/style-rtl.css +21 -0
  315. package/build-style/site-title/style.css +21 -0
  316. package/build-style/social-links/editor-rtl.css +17 -0
  317. package/build-style/social-links/editor.css +17 -0
  318. package/build-style/style-rtl.css +82 -24
  319. package/build-style/style.css +82 -26
  320. package/build-style/video/editor-rtl.css +0 -29
  321. package/build-style/video/editor.css +0 -29
  322. package/package.json +42 -35
  323. package/src/archives/edit.js +1 -1
  324. package/src/audio/edit.js +1 -0
  325. package/src/block/edit.js +9 -11
  326. package/src/button/edit.js +1 -1
  327. package/src/button/editor.scss +0 -5
  328. package/src/buttons/block.json +1 -1
  329. package/src/buttons/editor.scss +2 -8
  330. package/src/buttons/style.scss +2 -2
  331. package/src/categories/block.json +1 -0
  332. package/src/categories/index.php +13 -2
  333. package/src/comment-edit-link/block.json +13 -2
  334. package/src/comment-edit-link/style.scss +4 -0
  335. package/src/comment-reply-link/block.json +13 -2
  336. package/src/comment-reply-link/style.scss +4 -0
  337. package/src/comments/edit/comments-legacy.js +1 -0
  338. package/src/comments-pagination/editor.scss +1 -1
  339. package/src/cover/deprecated.js +3 -2
  340. package/src/cover/edit/block-controls.js +2 -0
  341. package/src/cover/edit/index.js +6 -1
  342. package/src/cover/edit/inspector-controls.js +3 -15
  343. package/src/cover/editor.scss +0 -5
  344. package/src/cover/test/edit.js +30 -26
  345. package/src/details/index.js +2 -0
  346. package/src/details/transforms.js +26 -0
  347. package/src/embed/edit.js +0 -7
  348. package/src/embed/embed-placeholder.js +10 -2
  349. package/src/embed/embed-preview.js +22 -2
  350. package/src/file/edit.js +11 -0
  351. package/src/file/index.php +1 -1
  352. package/src/file/transforms.js +26 -6
  353. package/src/form-input/deprecated.js +114 -1
  354. package/src/form-input/edit.js +17 -11
  355. package/src/form-input/save.js +13 -3
  356. package/src/form-input/style.scss +9 -8
  357. package/src/freeform/edit.js +4 -4
  358. package/src/freeform/editor.scss +1 -1
  359. package/src/freeform/modal.js +7 -1
  360. package/src/gallery/editor.scss +1 -1
  361. package/src/group/editor.scss +0 -1
  362. package/src/home-link/edit.js +4 -7
  363. package/src/image/edit.js +130 -47
  364. package/src/image/editor.scss +7 -41
  365. package/src/image/image.js +100 -67
  366. package/src/image/index.php +1 -1
  367. package/src/image/transforms.js +0 -23
  368. package/src/image/use-max-width-observer.js +32 -0
  369. package/src/image/utils.js +13 -1
  370. package/src/latest-posts/edit.js +1 -1
  371. package/src/media-text/deprecated.js +159 -3
  372. package/src/media-text/edit.js +5 -5
  373. package/src/media-text/editor.scss +3 -1
  374. package/src/media-text/image-fill.js +11 -0
  375. package/src/media-text/index.php +53 -43
  376. package/src/media-text/media-container.js +25 -25
  377. package/src/media-text/media-container.native.js +0 -2
  378. package/src/media-text/save.js +9 -13
  379. package/src/media-text/style.scss +21 -0
  380. package/src/media-text/test/image-fill.js +19 -0
  381. package/src/missing/edit.js +8 -3
  382. package/src/navigation/edit/deleted-navigation-warning.js +23 -13
  383. package/src/navigation/edit/index.js +1 -0
  384. package/src/navigation/edit/menu-inspector-controls.js +3 -1
  385. package/src/navigation/edit/navigation-menu-delete-control.js +1 -0
  386. package/src/navigation/edit/placeholder/index.js +1 -0
  387. package/src/navigation/edit/responsive-wrapper.js +2 -0
  388. package/src/navigation/edit/unsaved-inner-blocks.js +4 -4
  389. package/src/navigation/editor.scss +11 -4
  390. package/src/navigation/index.php +1 -1
  391. package/src/navigation-link/link-ui.js +4 -3
  392. package/src/page-list/convert-to-links-modal.js +6 -1
  393. package/src/page-list/edit.js +6 -1
  394. package/src/page-list/index.php +3 -1
  395. package/src/post-comments-form/form.js +1 -0
  396. package/src/post-featured-image/dimension-controls.js +4 -4
  397. package/src/post-featured-image/edit.js +3 -6
  398. package/src/post-featured-image/style.scss +1 -1
  399. package/src/post-title/block.json +4 -1
  400. package/src/post-title/style.scss +24 -0
  401. package/src/query/edit/enhanced-pagination-modal.js +7 -3
  402. package/src/query/edit/inspector-controls/enhanced-pagination-control.js +3 -3
  403. package/src/query/edit/inspector-controls/index.js +2 -9
  404. package/src/query/edit/query-content.js +7 -0
  405. package/src/query/edit/query-placeholder.js +2 -0
  406. package/src/query/index.php +1 -1
  407. package/src/query-pagination/editor.scss +1 -21
  408. package/src/query-pagination/style.scss +0 -15
  409. package/src/search/index.php +1 -1
  410. package/src/site-logo/edit.js +11 -20
  411. package/src/site-title/block.json +4 -1
  412. package/src/site-title/editor.scss +0 -4
  413. package/src/site-title/style.scss +24 -0
  414. package/src/social-link/edit.js +2 -0
  415. package/src/social-links/edit.js +17 -10
  416. package/src/social-links/editor.scss +24 -5
  417. package/src/style.scss +2 -0
  418. package/src/tag-cloud/index.php +7 -2
  419. package/src/template-part/edit/advanced-controls.js +0 -1
  420. package/src/template-part/edit/index.js +12 -10
  421. package/src/template-part/edit/inner-blocks.js +20 -1
  422. package/src/template-part/edit/placeholder.js +6 -1
  423. package/src/utils/hooks.js +11 -11
  424. package/src/video/edit.js +24 -21
  425. package/src/video/editor.scss +0 -45
  426. package/src/video/tracks-editor.js +3 -0
  427. package/src/media-text/test/media-container.js +0 -24
@@ -0,0 +1,94 @@
1
+ /**
2
+ * Converts a hex value into the rgb equivalent.
3
+ *
4
+ * @param {string} hex - the hexadecimal value to convert
5
+ * @return {string} comma separated rgb values
6
+ */
7
+ /**
8
+ * Colors
9
+ */
10
+ /**
11
+ * Breakpoints & Media Queries
12
+ */
13
+ /**
14
+ * SCSS Variables.
15
+ *
16
+ * Please use variables from this sheet to ensure consistency across the UI.
17
+ * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
18
+ * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
19
+ */
20
+ /**
21
+ * Converts a hex value into the rgb equivalent.
22
+ *
23
+ * @param {string} hex - the hexadecimal value to convert
24
+ * @return {string} comma separated rgb values
25
+ */
26
+ /**
27
+ * Colors
28
+ */
29
+ /**
30
+ * Fonts & basic variables.
31
+ */
32
+ /**
33
+ * Grid System.
34
+ * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
35
+ */
36
+ /**
37
+ * Radius scale.
38
+ */
39
+ /**
40
+ * Elevation scale.
41
+ */
42
+ /**
43
+ * Dimensions.
44
+ */
45
+ /**
46
+ * Editor widths.
47
+ */
48
+ /**
49
+ * Block & Editor UI.
50
+ */
51
+ /**
52
+ * Block paddings.
53
+ */
54
+ /**
55
+ * React Native specific.
56
+ * These variables do not appear to be used anywhere else.
57
+ */
58
+ /**
59
+ * Converts a hex value into the rgb equivalent.
60
+ *
61
+ * @param {string} hex - the hexadecimal value to convert
62
+ * @return {string} comma separated rgb values
63
+ */
64
+ /**
65
+ * Long content fade mixin
66
+ *
67
+ * Creates a fading overlay to signify that the content is longer
68
+ * than the space allows.
69
+ */
70
+ /**
71
+ * Breakpoint mixins
72
+ */
73
+ /**
74
+ * Focus styles.
75
+ */
76
+ /**
77
+ * Applies editor left position to the selector passed as argument
78
+ */
79
+ /**
80
+ * Styles that are reused verbatim in a few places
81
+ */
82
+ /**
83
+ * Allows users to opt-out of animations via OS-level preferences.
84
+ */
85
+ /**
86
+ * Reset default styles for JavaScript UI based pages.
87
+ * This is a WP-admin agnostic reset
88
+ */
89
+ /**
90
+ * Reset the WP Admin page styles for Gutenberg-like pages.
91
+ */
92
+ .wp-block-comment-reply-link {
93
+ box-sizing: border-box;
94
+ }
@@ -93,10 +93,10 @@
93
93
  justify-content: center;
94
94
  }
95
95
 
96
- .editor-styles-wrapper .wp-block-comments-pagination {
96
+ :where(.editor-styles-wrapper) .wp-block-comments-pagination {
97
97
  max-width: 100%;
98
98
  }
99
- .editor-styles-wrapper .wp-block-comments-pagination.block-editor-block-list__layout {
99
+ :where(.editor-styles-wrapper) .wp-block-comments-pagination.block-editor-block-list__layout {
100
100
  margin: 0;
101
101
  }
102
102
 
@@ -93,10 +93,10 @@
93
93
  justify-content: center;
94
94
  }
95
95
 
96
- .editor-styles-wrapper .wp-block-comments-pagination {
96
+ :where(.editor-styles-wrapper) .wp-block-comments-pagination {
97
97
  max-width: 100%;
98
98
  }
99
- .editor-styles-wrapper .wp-block-comments-pagination.block-editor-block-list__layout {
99
+ :where(.editor-styles-wrapper) .wp-block-comments-pagination.block-editor-block-list__layout {
100
100
  margin: 0;
101
101
  }
102
102
 
@@ -115,8 +115,8 @@
115
115
  }
116
116
 
117
117
  :root {
118
- /* stylelint-disable function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
119
- /* stylelint-enable function-comma-space-after */
118
+ /* stylelint-disable @stylistic/function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
119
+ /* stylelint-enable @stylistic/function-comma-space-after */
120
120
  --wp--preset--font-size--normal: 16px;
121
121
  --wp--preset--font-size--huge: 42px;
122
122
  }
@@ -115,8 +115,8 @@
115
115
  }
116
116
 
117
117
  :root {
118
- /* stylelint-disable function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
119
- /* stylelint-enable function-comma-space-after */
118
+ /* stylelint-disable @stylistic/function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
119
+ /* stylelint-enable @stylistic/function-comma-space-after */
120
120
  --wp--preset--font-size--normal: 16px;
121
121
  --wp--preset--font-size--huge: 42px;
122
122
  }
@@ -89,12 +89,6 @@
89
89
  /**
90
90
  * Reset the WP Admin page styles for Gutenberg-like pages.
91
91
  */
92
- .wp-block-cover {
93
- /* Extra specificity needed because the reset.css applied in the editor context is overriding this rule. */
94
- }
95
- .editor-styles-wrapper .wp-block-cover {
96
- box-sizing: border-box;
97
- }
98
92
  .wp-block-cover.is-placeholder {
99
93
  padding: 0 !important;
100
94
  display: flex;
@@ -89,12 +89,6 @@
89
89
  /**
90
90
  * Reset the WP Admin page styles for Gutenberg-like pages.
91
91
  */
92
- .wp-block-cover {
93
- /* Extra specificity needed because the reset.css applied in the editor context is overriding this rule. */
94
- }
95
- .editor-styles-wrapper .wp-block-cover {
96
- box-sizing: border-box;
97
- }
98
92
  .wp-block-cover.is-placeholder {
99
93
  padding: 0 !important;
100
94
  display: flex;
@@ -144,12 +144,8 @@ div[data-type="core/button"] {
144
144
  display: table;
145
145
  }
146
146
 
147
- .editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link {
148
- text-decoration: inherit;
149
- }
150
-
151
147
  .wp-block-buttons {
152
- /* stylelint-disable indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
148
+ /* stylelint-disable @stylistic/indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
153
149
  }
154
150
  .wp-block-buttons > .wp-block {
155
151
  margin: 0;
@@ -171,7 +167,7 @@ div[data-type="core/button"] {
171
167
  .is-content-justification-right,
172
168
  .is-content-justification-left,
173
169
  .is-content-justification-center) .wp-block[data-align=center] {
174
- /* stylelint-enable indentation */
170
+ /* stylelint-enable @stylistic/indentation */
175
171
  margin-right: auto;
176
172
  margin-left: auto;
177
173
  margin-top: 0;
@@ -183,9 +179,6 @@ div[data-type="core/button"] {
183
179
  .is-content-justification-center) .wp-block[data-align=center] .wp-block-button {
184
180
  margin-bottom: 0;
185
181
  }
186
- .editor-styles-wrapper .wp-block-buttons.has-custom-font-size .wp-block-button__link {
187
- font-size: inherit;
188
- }
189
182
 
190
183
  .wp-block[data-align=center] > .wp-block-buttons {
191
184
  align-items: center;
@@ -366,10 +359,10 @@ html :where(.wp-block-column) {
366
359
  justify-content: center;
367
360
  }
368
361
 
369
- .editor-styles-wrapper .wp-block-comments-pagination {
362
+ :where(.editor-styles-wrapper) .wp-block-comments-pagination {
370
363
  max-width: 100%;
371
364
  }
372
- .editor-styles-wrapper .wp-block-comments-pagination.block-editor-block-list__layout {
365
+ :where(.editor-styles-wrapper) .wp-block-comments-pagination.block-editor-block-list__layout {
373
366
  margin: 0;
374
367
  }
375
368
 
@@ -401,12 +394,6 @@ html :where(.wp-block-column) {
401
394
  padding: inherit;
402
395
  }
403
396
 
404
- .wp-block-cover {
405
- /* Extra specificity needed because the reset.css applied in the editor context is overriding this rule. */
406
- }
407
- .editor-styles-wrapper .wp-block-cover {
408
- box-sizing: border-box;
409
- }
410
397
  .wp-block-cover.is-placeholder {
411
398
  padding: 0 !important;
412
399
  display: flex;
@@ -1181,7 +1168,6 @@ div[data-type="core/freeform"].is-selected .block-library-classic__toolbar {
1181
1168
  pointer-events: none;
1182
1169
  min-height: 46px;
1183
1170
  border: 1px dashed currentColor;
1184
- border-radius: 2px;
1185
1171
  }
1186
1172
  .wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter,
1187
1173
  .wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-button-block-appender {
@@ -1219,33 +1205,8 @@ div[data-type="core/freeform"].is-selected .block-library-classic__toolbar {
1219
1205
  outline: 2px solid transparent !important;
1220
1206
  }
1221
1207
 
1222
- .wp-block-image.wp-block-image.is-selected .block-editor-media-placeholder {
1223
- color: #1e1e1e;
1224
- background-color: #fff;
1225
- box-shadow: inset 0 0 0 1px #1e1e1e;
1226
- border: none;
1227
- filter: none !important;
1228
- border-radius: 2px;
1229
- }
1230
- .wp-block-image.wp-block-image.is-selected .block-editor-media-placeholder > svg {
1231
- opacity: 0;
1232
- }
1233
- .wp-block-image.wp-block-image.is-selected .block-editor-media-placeholder .components-placeholder__illustration {
1234
- display: none;
1235
- }
1236
- .wp-block-image.wp-block-image.is-selected .block-editor-media-placeholder::before {
1237
- opacity: 0;
1238
- }
1239
- .wp-block-image.wp-block-image .block-bindings-media-placeholder-message {
1240
- opacity: 0;
1241
- }
1242
- .wp-block-image.wp-block-image.is-selected .block-bindings-media-placeholder-message {
1243
- opacity: 1;
1244
- }
1245
- .wp-block-image.wp-block-image .components-placeholder__label,
1246
- .wp-block-image.wp-block-image .components-placeholder__instructions,
1247
- .wp-block-image.wp-block-image .components-button {
1248
- transition: none;
1208
+ .wp-block-image.wp-block-image .block-editor-media-placeholder.is-small {
1209
+ min-height: 60px;
1249
1210
  }
1250
1211
 
1251
1212
  figure.wp-block-image:not(.wp-block) {
@@ -1339,6 +1300,10 @@ figure.wp-block-image:not(.wp-block) {
1339
1300
  text-align: center;
1340
1301
  }
1341
1302
 
1303
+ .wp-block[data-align]:has(> .wp-block-image) {
1304
+ position: relative;
1305
+ }
1306
+
1342
1307
  .wp-block-image__crop-area {
1343
1308
  position: relative;
1344
1309
  max-width: 100%;
@@ -1421,7 +1386,9 @@ figure.wp-block-image:not(.wp-block) {
1421
1386
  }
1422
1387
 
1423
1388
  .wp-block-media-text.is-image-fill .editor-media-container__resizer,
1424
- .wp-block-media-text.is-image-fill .components-placeholder.has-illustration {
1389
+ .wp-block-media-text.is-image-fill .components-placeholder.has-illustration,
1390
+ .wp-block-media-text.is-image-fill-element .editor-media-container__resizer,
1391
+ .wp-block-media-text.is-image-fill-element .components-placeholder.has-illustration {
1425
1392
  height: 100% !important;
1426
1393
  }
1427
1394
 
@@ -1542,7 +1509,6 @@ figure.wp-block-image:not(.wp-block) {
1542
1509
  background: #1e1e1e;
1543
1510
  padding: 0;
1544
1511
  width: 24px;
1545
- border-radius: 2px;
1546
1512
  margin-left: 0;
1547
1513
  margin-right: auto;
1548
1514
  }
@@ -1881,7 +1847,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
1881
1847
  width: 100%;
1882
1848
  background-color: #f0f0f0;
1883
1849
  padding: 0 24px;
1884
- height: 64px;
1850
+ height: 64px !important;
1885
1851
  margin-bottom: 12px;
1886
1852
  }
1887
1853
  .wp-block-navigation__overlay-menu-preview.open {
@@ -2408,10 +2374,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2408
2374
  border: 1px dashed;
2409
2375
  }
2410
2376
 
2411
- .editor-styles-wrapper :where(.wp-block-site-title a) {
2412
- color: inherit;
2413
- }
2414
-
2415
2377
  .wp-block-social-links .wp-social-link {
2416
2378
  line-height: 0;
2417
2379
  }
@@ -2531,6 +2493,23 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2531
2493
  opacity: 1;
2532
2494
  }
2533
2495
 
2496
+ .wp-block-social-links .block-list-appender {
2497
+ position: static;
2498
+ }
2499
+ .wp-block-social-links .block-list-appender .block-editor-button-block-appender.components-button.components-button {
2500
+ padding: 6px;
2501
+ }
2502
+
2503
+ .wp-block-social-links.has-small-icon-size .block-editor-button-block-appender.components-button.components-button {
2504
+ padding: 0;
2505
+ }
2506
+ .wp-block-social-links.has-large-icon-size .block-editor-button-block-appender.components-button.components-button {
2507
+ padding: 14px;
2508
+ }
2509
+ .wp-block-social-links.has-huge-icon-size .block-editor-button-block-appender.components-button.components-button {
2510
+ padding: 23px;
2511
+ }
2512
+
2534
2513
  .block-editor-block-list__block[data-type="core/spacer"]::before {
2535
2514
  content: "";
2536
2515
  display: block;
@@ -2677,28 +2656,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2677
2656
  outline: 1px solid #ddd;
2678
2657
  }
2679
2658
 
2680
- .wp-block-video.wp-block-video.is-selected .components-placeholder {
2681
- color: #1e1e1e;
2682
- background-color: #fff;
2683
- box-shadow: inset 0 0 0 1px #1e1e1e;
2684
- border: none;
2685
- border-radius: 2px;
2686
- }
2687
- .wp-block-video.wp-block-video.is-selected .components-placeholder > svg {
2688
- opacity: 0;
2689
- }
2690
- .wp-block-video.wp-block-video.is-selected .components-placeholder .components-placeholder__illustration {
2691
- display: none;
2692
- }
2693
- .wp-block-video.wp-block-video.is-selected .components-placeholder::before {
2694
- opacity: 0;
2695
- }
2696
- .wp-block-video.wp-block-video .components-placeholder__label,
2697
- .wp-block-video.wp-block-video .components-placeholder__instructions,
2698
- .wp-block-video.wp-block-video .components-button {
2699
- transition: none;
2700
- }
2701
-
2702
2659
  .wp-block[data-align=center] > .wp-block-video {
2703
2660
  text-align: center;
2704
2661
  }
@@ -2744,7 +2701,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2744
2701
 
2745
2702
  .block-library-video-tracks-editor > .components-popover__content {
2746
2703
  width: 360px;
2747
- padding: 0;
2748
2704
  }
2749
2705
 
2750
2706
  .block-library-video-tracks-editor__track-list .components-menu-group__label,
@@ -2752,12 +2708,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2752
2708
  padding: 0;
2753
2709
  }
2754
2710
 
2755
- .block-library-video-tracks-editor__single-track-editor,
2756
- .block-library-video-tracks-editor__track-list,
2757
- .block-library-video-tracks-editor__add-tracks-container {
2758
- padding: 12px;
2759
- }
2760
-
2761
2711
  .editor-styles-wrapper ul.wp-block-post-template {
2762
2712
  padding-right: 0;
2763
2713
  margin-right: 0;
@@ -2823,27 +2773,13 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2823
2773
  justify-content: center;
2824
2774
  }
2825
2775
 
2826
- .editor-styles-wrapper .wp-block-query-pagination {
2776
+ :where(.editor-styles-wrapper) .wp-block-query-pagination {
2827
2777
  max-width: 100%;
2828
2778
  }
2829
- .editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout {
2779
+ :where(.editor-styles-wrapper) .wp-block-query-pagination.block-editor-block-list__layout {
2830
2780
  margin: 0;
2831
2781
  }
2832
2782
 
2833
- .wp-block-query-pagination > .wp-block-query-pagination-next,
2834
- .wp-block-query-pagination > .wp-block-query-pagination-previous,
2835
- .wp-block-query-pagination > .wp-block-query-pagination-numbers {
2836
- margin-right: 0;
2837
- margin-top: 0.5em;
2838
- margin-right: 0.5em;
2839
- margin-bottom: 0.5em;
2840
- }
2841
- .wp-block-query-pagination > .wp-block-query-pagination-next:last-child,
2842
- .wp-block-query-pagination > .wp-block-query-pagination-previous:last-child,
2843
- .wp-block-query-pagination > .wp-block-query-pagination-numbers:last-child {
2844
- margin-right: 0;
2845
- }
2846
-
2847
2783
  .wp-block-query-pagination-numbers a {
2848
2784
  text-decoration: underline;
2849
2785
  }
@@ -2998,8 +2934,8 @@ div[data-type="core/post-featured-image"] img {
2998
2934
  }
2999
2935
 
3000
2936
  :root .editor-styles-wrapper {
3001
- /* stylelint-disable function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
3002
- /* stylelint-enable function-comma-space-after */
2937
+ /* stylelint-disable @stylistic/function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
2938
+ /* stylelint-enable @stylistic/function-comma-space-after */
3003
2939
  }
3004
2940
  :root .editor-styles-wrapper .has-very-light-gray-background-color {
3005
2941
  background-color: #eee;
@@ -145,12 +145,8 @@ div[data-type="core/button"] {
145
145
  display: table;
146
146
  }
147
147
 
148
- .editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link {
149
- text-decoration: inherit;
150
- }
151
-
152
148
  .wp-block-buttons {
153
- /* stylelint-disable indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
149
+ /* stylelint-disable @stylistic/indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
154
150
  }
155
151
  .wp-block-buttons > .wp-block {
156
152
  margin: 0;
@@ -172,7 +168,7 @@ div[data-type="core/button"] {
172
168
  .is-content-justification-right,
173
169
  .is-content-justification-left,
174
170
  .is-content-justification-center) .wp-block[data-align=center] {
175
- /* stylelint-enable indentation */
171
+ /* stylelint-enable @stylistic/indentation */
176
172
  margin-left: auto;
177
173
  margin-right: auto;
178
174
  margin-top: 0;
@@ -184,9 +180,6 @@ div[data-type="core/button"] {
184
180
  .is-content-justification-center) .wp-block[data-align=center] .wp-block-button {
185
181
  margin-bottom: 0;
186
182
  }
187
- .editor-styles-wrapper .wp-block-buttons.has-custom-font-size .wp-block-button__link {
188
- font-size: inherit;
189
- }
190
183
 
191
184
  .wp-block[data-align=center] > .wp-block-buttons {
192
185
  align-items: center;
@@ -367,10 +360,10 @@ html :where(.wp-block-column) {
367
360
  justify-content: center;
368
361
  }
369
362
 
370
- .editor-styles-wrapper .wp-block-comments-pagination {
363
+ :where(.editor-styles-wrapper) .wp-block-comments-pagination {
371
364
  max-width: 100%;
372
365
  }
373
- .editor-styles-wrapper .wp-block-comments-pagination.block-editor-block-list__layout {
366
+ :where(.editor-styles-wrapper) .wp-block-comments-pagination.block-editor-block-list__layout {
374
367
  margin: 0;
375
368
  }
376
369
 
@@ -405,12 +398,6 @@ html :where(.wp-block-column) {
405
398
  padding: inherit;
406
399
  }
407
400
 
408
- .wp-block-cover {
409
- /* Extra specificity needed because the reset.css applied in the editor context is overriding this rule. */
410
- }
411
- .editor-styles-wrapper .wp-block-cover {
412
- box-sizing: border-box;
413
- }
414
401
  .wp-block-cover.is-placeholder {
415
402
  padding: 0 !important;
416
403
  display: flex;
@@ -1189,7 +1176,6 @@ div[data-type="core/freeform"].is-selected .block-library-classic__toolbar {
1189
1176
  pointer-events: none;
1190
1177
  min-height: 46px;
1191
1178
  border: 1px dashed currentColor;
1192
- border-radius: 2px;
1193
1179
  }
1194
1180
  .wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter,
1195
1181
  .wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-button-block-appender {
@@ -1228,33 +1214,8 @@ div[data-type="core/freeform"].is-selected .block-library-classic__toolbar {
1228
1214
  outline: 2px solid transparent !important;
1229
1215
  }
1230
1216
 
1231
- .wp-block-image.wp-block-image.is-selected .block-editor-media-placeholder {
1232
- color: #1e1e1e;
1233
- background-color: #fff;
1234
- box-shadow: inset 0 0 0 1px #1e1e1e;
1235
- border: none;
1236
- filter: none !important;
1237
- border-radius: 2px;
1238
- }
1239
- .wp-block-image.wp-block-image.is-selected .block-editor-media-placeholder > svg {
1240
- opacity: 0;
1241
- }
1242
- .wp-block-image.wp-block-image.is-selected .block-editor-media-placeholder .components-placeholder__illustration {
1243
- display: none;
1244
- }
1245
- .wp-block-image.wp-block-image.is-selected .block-editor-media-placeholder::before {
1246
- opacity: 0;
1247
- }
1248
- .wp-block-image.wp-block-image .block-bindings-media-placeholder-message {
1249
- opacity: 0;
1250
- }
1251
- .wp-block-image.wp-block-image.is-selected .block-bindings-media-placeholder-message {
1252
- opacity: 1;
1253
- }
1254
- .wp-block-image.wp-block-image .components-placeholder__label,
1255
- .wp-block-image.wp-block-image .components-placeholder__instructions,
1256
- .wp-block-image.wp-block-image .components-button {
1257
- transition: none;
1217
+ .wp-block-image.wp-block-image .block-editor-media-placeholder.is-small {
1218
+ min-height: 60px;
1258
1219
  }
1259
1220
 
1260
1221
  figure.wp-block-image:not(.wp-block) {
@@ -1348,6 +1309,10 @@ figure.wp-block-image:not(.wp-block) {
1348
1309
  text-align: center;
1349
1310
  }
1350
1311
 
1312
+ .wp-block[data-align]:has(> .wp-block-image) {
1313
+ position: relative;
1314
+ }
1315
+
1351
1316
  .wp-block-image__crop-area {
1352
1317
  position: relative;
1353
1318
  max-width: 100%;
@@ -1430,7 +1395,9 @@ figure.wp-block-image:not(.wp-block) {
1430
1395
  }
1431
1396
 
1432
1397
  .wp-block-media-text.is-image-fill .editor-media-container__resizer,
1433
- .wp-block-media-text.is-image-fill .components-placeholder.has-illustration {
1398
+ .wp-block-media-text.is-image-fill .components-placeholder.has-illustration,
1399
+ .wp-block-media-text.is-image-fill-element .editor-media-container__resizer,
1400
+ .wp-block-media-text.is-image-fill-element .components-placeholder.has-illustration {
1434
1401
  height: 100% !important;
1435
1402
  }
1436
1403
 
@@ -1551,7 +1518,6 @@ figure.wp-block-image:not(.wp-block) {
1551
1518
  background: #1e1e1e;
1552
1519
  padding: 0;
1553
1520
  width: 24px;
1554
- border-radius: 2px;
1555
1521
  margin-right: 0;
1556
1522
  margin-left: auto;
1557
1523
  }
@@ -1890,7 +1856,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
1890
1856
  width: 100%;
1891
1857
  background-color: #f0f0f0;
1892
1858
  padding: 0 24px;
1893
- height: 64px;
1859
+ height: 64px !important;
1894
1860
  margin-bottom: 12px;
1895
1861
  }
1896
1862
  .wp-block-navigation__overlay-menu-preview.open {
@@ -2417,10 +2383,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2417
2383
  border: 1px dashed;
2418
2384
  }
2419
2385
 
2420
- .editor-styles-wrapper :where(.wp-block-site-title a) {
2421
- color: inherit;
2422
- }
2423
-
2424
2386
  .wp-block-social-links .wp-social-link {
2425
2387
  line-height: 0;
2426
2388
  }
@@ -2540,6 +2502,23 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2540
2502
  opacity: 1;
2541
2503
  }
2542
2504
 
2505
+ .wp-block-social-links .block-list-appender {
2506
+ position: static;
2507
+ }
2508
+ .wp-block-social-links .block-list-appender .block-editor-button-block-appender.components-button.components-button {
2509
+ padding: 6px;
2510
+ }
2511
+
2512
+ .wp-block-social-links.has-small-icon-size .block-editor-button-block-appender.components-button.components-button {
2513
+ padding: 0;
2514
+ }
2515
+ .wp-block-social-links.has-large-icon-size .block-editor-button-block-appender.components-button.components-button {
2516
+ padding: 14px;
2517
+ }
2518
+ .wp-block-social-links.has-huge-icon-size .block-editor-button-block-appender.components-button.components-button {
2519
+ padding: 23px;
2520
+ }
2521
+
2543
2522
  .block-editor-block-list__block[data-type="core/spacer"]::before {
2544
2523
  content: "";
2545
2524
  display: block;
@@ -2686,28 +2665,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2686
2665
  outline: 1px solid #ddd;
2687
2666
  }
2688
2667
 
2689
- .wp-block-video.wp-block-video.is-selected .components-placeholder {
2690
- color: #1e1e1e;
2691
- background-color: #fff;
2692
- box-shadow: inset 0 0 0 1px #1e1e1e;
2693
- border: none;
2694
- border-radius: 2px;
2695
- }
2696
- .wp-block-video.wp-block-video.is-selected .components-placeholder > svg {
2697
- opacity: 0;
2698
- }
2699
- .wp-block-video.wp-block-video.is-selected .components-placeholder .components-placeholder__illustration {
2700
- display: none;
2701
- }
2702
- .wp-block-video.wp-block-video.is-selected .components-placeholder::before {
2703
- opacity: 0;
2704
- }
2705
- .wp-block-video.wp-block-video .components-placeholder__label,
2706
- .wp-block-video.wp-block-video .components-placeholder__instructions,
2707
- .wp-block-video.wp-block-video .components-button {
2708
- transition: none;
2709
- }
2710
-
2711
2668
  .wp-block[data-align=center] > .wp-block-video {
2712
2669
  text-align: center;
2713
2670
  }
@@ -2753,7 +2710,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2753
2710
 
2754
2711
  .block-library-video-tracks-editor > .components-popover__content {
2755
2712
  width: 360px;
2756
- padding: 0;
2757
2713
  }
2758
2714
 
2759
2715
  .block-library-video-tracks-editor__track-list .components-menu-group__label,
@@ -2761,12 +2717,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2761
2717
  padding: 0;
2762
2718
  }
2763
2719
 
2764
- .block-library-video-tracks-editor__single-track-editor,
2765
- .block-library-video-tracks-editor__track-list,
2766
- .block-library-video-tracks-editor__add-tracks-container {
2767
- padding: 12px;
2768
- }
2769
-
2770
2720
  .editor-styles-wrapper ul.wp-block-post-template {
2771
2721
  padding-left: 0;
2772
2722
  margin-left: 0;
@@ -2832,29 +2782,13 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2832
2782
  justify-content: center;
2833
2783
  }
2834
2784
 
2835
- .editor-styles-wrapper .wp-block-query-pagination {
2785
+ :where(.editor-styles-wrapper) .wp-block-query-pagination {
2836
2786
  max-width: 100%;
2837
2787
  }
2838
- .editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout {
2788
+ :where(.editor-styles-wrapper) .wp-block-query-pagination.block-editor-block-list__layout {
2839
2789
  margin: 0;
2840
2790
  }
2841
2791
 
2842
- .wp-block-query-pagination > .wp-block-query-pagination-next,
2843
- .wp-block-query-pagination > .wp-block-query-pagination-previous,
2844
- .wp-block-query-pagination > .wp-block-query-pagination-numbers {
2845
- margin-left: 0;
2846
- margin-top: 0.5em;
2847
- /*rtl:ignore*/
2848
- margin-right: 0.5em;
2849
- margin-bottom: 0.5em;
2850
- }
2851
- .wp-block-query-pagination > .wp-block-query-pagination-next:last-child,
2852
- .wp-block-query-pagination > .wp-block-query-pagination-previous:last-child,
2853
- .wp-block-query-pagination > .wp-block-query-pagination-numbers:last-child {
2854
- /*rtl:ignore*/
2855
- margin-right: 0;
2856
- }
2857
-
2858
2792
  .wp-block-query-pagination-numbers a {
2859
2793
  text-decoration: underline;
2860
2794
  }
@@ -3010,8 +2944,8 @@ div[data-type="core/post-featured-image"] img {
3010
2944
  }
3011
2945
 
3012
2946
  :root .editor-styles-wrapper {
3013
- /* stylelint-disable function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
3014
- /* stylelint-enable function-comma-space-after */
2947
+ /* stylelint-disable @stylistic/function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
2948
+ /* stylelint-enable @stylistic/function-comma-space-after */
3015
2949
  }
3016
2950
  :root .editor-styles-wrapper .has-very-light-gray-background-color {
3017
2951
  background-color: #eee;