@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
@@ -115,8 +115,4 @@
115
115
 
116
116
  div[data-type="core/button"] {
117
117
  display: table;
118
- }
119
-
120
- .editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link {
121
- text-decoration: inherit;
122
118
  }
@@ -90,7 +90,7 @@
90
90
  * Reset the WP Admin page styles for Gutenberg-like pages.
91
91
  */
92
92
  .wp-block-buttons {
93
- /* stylelint-disable indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
93
+ /* stylelint-disable @stylistic/indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
94
94
  }
95
95
  .wp-block-buttons > .wp-block {
96
96
  margin: 0;
@@ -112,7 +112,7 @@
112
112
  .is-content-justification-right,
113
113
  .is-content-justification-left,
114
114
  .is-content-justification-center) .wp-block[data-align=center] {
115
- /* stylelint-enable indentation */
115
+ /* stylelint-enable @stylistic/indentation */
116
116
  margin-right: auto;
117
117
  margin-left: auto;
118
118
  margin-top: 0;
@@ -124,9 +124,6 @@
124
124
  .is-content-justification-center) .wp-block[data-align=center] .wp-block-button {
125
125
  margin-bottom: 0;
126
126
  }
127
- .editor-styles-wrapper .wp-block-buttons.has-custom-font-size .wp-block-button__link {
128
- font-size: inherit;
129
- }
130
127
 
131
128
  .wp-block[data-align=center] > .wp-block-buttons {
132
129
  align-items: center;
@@ -90,7 +90,7 @@
90
90
  * Reset the WP Admin page styles for Gutenberg-like pages.
91
91
  */
92
92
  .wp-block-buttons {
93
- /* stylelint-disable indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
93
+ /* stylelint-disable @stylistic/indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
94
94
  }
95
95
  .wp-block-buttons > .wp-block {
96
96
  margin: 0;
@@ -112,7 +112,7 @@
112
112
  .is-content-justification-right,
113
113
  .is-content-justification-left,
114
114
  .is-content-justification-center) .wp-block[data-align=center] {
115
- /* stylelint-enable indentation */
115
+ /* stylelint-enable @stylistic/indentation */
116
116
  margin-left: auto;
117
117
  margin-right: auto;
118
118
  margin-top: 0;
@@ -124,9 +124,6 @@
124
124
  .is-content-justification-center) .wp-block[data-align=center] .wp-block-button {
125
125
  margin-bottom: 0;
126
126
  }
127
- .editor-styles-wrapper .wp-block-buttons.has-custom-font-size .wp-block-button__link {
128
- font-size: inherit;
129
- }
130
127
 
131
128
  .wp-block[data-align=center] > .wp-block-buttons {
132
129
  align-items: center;
@@ -90,7 +90,7 @@
90
90
  * Reset the WP Admin page styles for Gutenberg-like pages.
91
91
  */
92
92
  .wp-block-buttons {
93
- /* stylelint-disable indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
93
+ /* stylelint-disable @stylistic/indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
94
94
  }
95
95
  .wp-block-buttons.is-vertical {
96
96
  flex-direction: column;
@@ -130,7 +130,7 @@
130
130
  .is-content-justification-right,
131
131
  .is-content-justification-left,
132
132
  .is-content-justification-center) .wp-block-button.aligncenter {
133
- /* stylelint-enable indentation */
133
+ /* stylelint-enable @stylistic/indentation */
134
134
  margin-right: auto;
135
135
  margin-left: auto;
136
136
  width: 100%;
@@ -90,7 +90,7 @@
90
90
  * Reset the WP Admin page styles for Gutenberg-like pages.
91
91
  */
92
92
  .wp-block-buttons {
93
- /* stylelint-disable indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
93
+ /* stylelint-disable @stylistic/indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
94
94
  }
95
95
  .wp-block-buttons.is-vertical {
96
96
  flex-direction: column;
@@ -130,7 +130,7 @@
130
130
  .is-content-justification-right,
131
131
  .is-content-justification-left,
132
132
  .is-content-justification-center) .wp-block-button.aligncenter {
133
- /* stylelint-enable indentation */
133
+ /* stylelint-enable @stylistic/indentation */
134
134
  margin-left: auto;
135
135
  margin-right: auto;
136
136
  width: 100%;
@@ -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-edit-link {
93
+ box-sizing: border-box;
94
+ }
@@ -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-edit-link {
93
+ box-sizing: border-box;
94
+ }
@@ -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
+ }
@@ -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;