@wordpress/block-library 9.8.5 → 9.9.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 (432) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/build/avatar/index.js +2 -1
  3. package/build/avatar/index.js.map +1 -1
  4. package/build/comment-author-name/index.js +2 -1
  5. package/build/comment-author-name/index.js.map +1 -1
  6. package/build/comment-content/index.js +2 -1
  7. package/build/comment-content/index.js.map +1 -1
  8. package/build/comment-date/index.js +2 -1
  9. package/build/comment-date/index.js.map +1 -1
  10. package/build/comment-edit-link/index.js +2 -1
  11. package/build/comment-edit-link/index.js.map +1 -1
  12. package/build/comment-reply-link/index.js +2 -1
  13. package/build/comment-reply-link/index.js.map +1 -1
  14. package/build/comments-pagination-next/index.js +5 -0
  15. package/build/comments-pagination-next/index.js.map +1 -1
  16. package/build/comments-pagination-numbers/index.js +2 -1
  17. package/build/comments-pagination-numbers/index.js.map +1 -1
  18. package/build/comments-pagination-previous/index.js +5 -0
  19. package/build/comments-pagination-previous/index.js.map +1 -1
  20. package/build/comments-title/index.js +2 -1
  21. package/build/comments-title/index.js.map +1 -1
  22. package/build/cover/edit/index.js +4 -2
  23. package/build/cover/edit/index.js.map +1 -1
  24. package/build/file/index.js +8 -4
  25. package/build/file/index.js.map +1 -1
  26. package/build/post-navigation-link/index.js +6 -0
  27. package/build/post-navigation-link/index.js.map +1 -1
  28. package/build/post-navigation-link/variations.js +14 -2
  29. package/build/post-navigation-link/variations.js.map +1 -1
  30. package/build/post-time-to-read/index.js +2 -1
  31. package/build/post-time-to-read/index.js.map +1 -1
  32. package/build/query/edit/inspector-controls/index.js +2 -2
  33. package/build/query/edit/inspector-controls/index.js.map +1 -1
  34. package/build/query/edit/inspector-controls/pages-control.js +1 -1
  35. package/build/query/edit/inspector-controls/pages-control.js.map +1 -1
  36. package/build/query/edit/inspector-controls/per-page-control.js +1 -1
  37. package/build/query/edit/inspector-controls/per-page-control.js.map +1 -1
  38. package/build/query/index.js +1 -0
  39. package/build/query/index.js.map +1 -1
  40. package/build/query-no-results/index.js +8 -0
  41. package/build/query-no-results/index.js.map +1 -1
  42. package/build/query-pagination-numbers/index.js +2 -1
  43. package/build/query-pagination-numbers/index.js.map +1 -1
  44. package/build/query-title/index.js +5 -0
  45. package/build/query-title/index.js.map +1 -1
  46. package/build/site-logo/edit.js +5 -3
  47. package/build/site-logo/edit.js.map +1 -1
  48. package/build/table-of-contents/index.js +42 -1
  49. package/build/table-of-contents/index.js.map +1 -1
  50. package/build/term-description/index.js +2 -1
  51. package/build/term-description/index.js.map +1 -1
  52. package/build-module/avatar/index.js +2 -1
  53. package/build-module/avatar/index.js.map +1 -1
  54. package/build-module/comment-author-name/index.js +2 -1
  55. package/build-module/comment-author-name/index.js.map +1 -1
  56. package/build-module/comment-content/index.js +2 -1
  57. package/build-module/comment-content/index.js.map +1 -1
  58. package/build-module/comment-date/index.js +2 -1
  59. package/build-module/comment-date/index.js.map +1 -1
  60. package/build-module/comment-edit-link/index.js +2 -1
  61. package/build-module/comment-edit-link/index.js.map +1 -1
  62. package/build-module/comment-reply-link/index.js +2 -1
  63. package/build-module/comment-reply-link/index.js.map +1 -1
  64. package/build-module/comments-pagination-next/index.js +5 -0
  65. package/build-module/comments-pagination-next/index.js.map +1 -1
  66. package/build-module/comments-pagination-numbers/index.js +2 -1
  67. package/build-module/comments-pagination-numbers/index.js.map +1 -1
  68. package/build-module/comments-pagination-previous/index.js +5 -0
  69. package/build-module/comments-pagination-previous/index.js.map +1 -1
  70. package/build-module/comments-title/index.js +2 -1
  71. package/build-module/comments-title/index.js.map +1 -1
  72. package/build-module/cover/edit/index.js +5 -3
  73. package/build-module/cover/edit/index.js.map +1 -1
  74. package/build-module/file/index.js +8 -4
  75. package/build-module/file/index.js.map +1 -1
  76. package/build-module/post-navigation-link/index.js +6 -0
  77. package/build-module/post-navigation-link/index.js.map +1 -1
  78. package/build-module/post-navigation-link/variations.js +14 -2
  79. package/build-module/post-navigation-link/variations.js.map +1 -1
  80. package/build-module/post-time-to-read/index.js +2 -1
  81. package/build-module/post-time-to-read/index.js.map +1 -1
  82. package/build-module/query/edit/inspector-controls/index.js +2 -2
  83. package/build-module/query/edit/inspector-controls/index.js.map +1 -1
  84. package/build-module/query/edit/inspector-controls/pages-control.js +1 -1
  85. package/build-module/query/edit/inspector-controls/pages-control.js.map +1 -1
  86. package/build-module/query/edit/inspector-controls/per-page-control.js +1 -1
  87. package/build-module/query/edit/inspector-controls/per-page-control.js.map +1 -1
  88. package/build-module/query/index.js +1 -0
  89. package/build-module/query/index.js.map +1 -1
  90. package/build-module/query-no-results/index.js +8 -0
  91. package/build-module/query-no-results/index.js.map +1 -1
  92. package/build-module/query-pagination-numbers/index.js +2 -1
  93. package/build-module/query-pagination-numbers/index.js.map +1 -1
  94. package/build-module/query-title/index.js +5 -0
  95. package/build-module/query-title/index.js.map +1 -1
  96. package/build-module/site-logo/edit.js +5 -3
  97. package/build-module/site-logo/edit.js.map +1 -1
  98. package/build-module/table-of-contents/index.js +42 -1
  99. package/build-module/table-of-contents/index.js.map +1 -1
  100. package/build-module/term-description/index.js +2 -1
  101. package/build-module/term-description/index.js.map +1 -1
  102. package/build-style/archives/editor-rtl.css +10 -1
  103. package/build-style/archives/editor.css +10 -1
  104. package/build-style/archives/style-rtl.css +10 -1
  105. package/build-style/archives/style.css +10 -1
  106. package/build-style/audio/editor-rtl.css +10 -1
  107. package/build-style/audio/editor.css +10 -1
  108. package/build-style/audio/style-rtl.css +10 -1
  109. package/build-style/audio/style.css +10 -1
  110. package/build-style/audio/theme-rtl.css +10 -1
  111. package/build-style/audio/theme.css +10 -1
  112. package/build-style/avatar/editor-rtl.css +10 -1
  113. package/build-style/avatar/editor.css +10 -1
  114. package/build-style/avatar/style-rtl.css +10 -1
  115. package/build-style/avatar/style.css +10 -1
  116. package/build-style/button/editor-rtl.css +10 -1
  117. package/build-style/button/editor.css +10 -1
  118. package/build-style/button/style-rtl.css +10 -1
  119. package/build-style/button/style.css +10 -1
  120. package/build-style/buttons/editor-rtl.css +10 -1
  121. package/build-style/buttons/editor.css +10 -1
  122. package/build-style/buttons/style-rtl.css +11 -1
  123. package/build-style/buttons/style.css +11 -1
  124. package/build-style/calendar/style-rtl.css +10 -1
  125. package/build-style/calendar/style.css +10 -1
  126. package/build-style/categories/editor-rtl.css +10 -1
  127. package/build-style/categories/editor.css +10 -1
  128. package/build-style/categories/style-rtl.css +10 -1
  129. package/build-style/categories/style.css +10 -1
  130. package/build-style/classic-rtl.css +10 -1
  131. package/build-style/classic.css +10 -1
  132. package/build-style/code/editor-rtl.css +10 -1
  133. package/build-style/code/editor.css +10 -1
  134. package/build-style/code/style-rtl.css +10 -1
  135. package/build-style/code/style.css +10 -1
  136. package/build-style/code/theme-rtl.css +10 -1
  137. package/build-style/code/theme.css +10 -1
  138. package/build-style/columns/editor-rtl.css +10 -1
  139. package/build-style/columns/editor.css +10 -1
  140. package/build-style/columns/style-rtl.css +10 -1
  141. package/build-style/columns/style.css +10 -1
  142. package/build-style/comment-author-avatar/editor-rtl.css +10 -1
  143. package/build-style/comment-author-avatar/editor.css +10 -1
  144. package/build-style/comment-author-name/style-rtl.css +10 -1
  145. package/build-style/comment-author-name/style.css +10 -1
  146. package/build-style/comment-content/style-rtl.css +10 -1
  147. package/build-style/comment-content/style.css +10 -1
  148. package/build-style/comment-date/style-rtl.css +10 -1
  149. package/build-style/comment-date/style.css +10 -1
  150. package/build-style/comment-edit-link/style-rtl.css +10 -1
  151. package/build-style/comment-edit-link/style.css +10 -1
  152. package/build-style/comment-reply-link/style-rtl.css +10 -1
  153. package/build-style/comment-reply-link/style.css +10 -1
  154. package/build-style/comment-template/style-rtl.css +10 -1
  155. package/build-style/comment-template/style.css +10 -1
  156. package/build-style/comments/editor-rtl.css +10 -1
  157. package/build-style/comments/editor.css +10 -1
  158. package/build-style/comments/style-rtl.css +10 -1
  159. package/build-style/comments/style.css +10 -1
  160. package/build-style/comments-pagination/editor-rtl.css +10 -1
  161. package/build-style/comments-pagination/editor.css +10 -1
  162. package/build-style/comments-pagination/style-rtl.css +10 -1
  163. package/build-style/comments-pagination/style.css +10 -1
  164. package/build-style/comments-pagination-numbers/editor-rtl.css +10 -1
  165. package/build-style/comments-pagination-numbers/editor.css +10 -1
  166. package/build-style/comments-title/editor-rtl.css +10 -1
  167. package/build-style/comments-title/editor.css +10 -1
  168. package/build-style/common-rtl.css +10 -1
  169. package/build-style/common.css +10 -1
  170. package/build-style/cover/editor-rtl.css +10 -1
  171. package/build-style/cover/editor.css +10 -1
  172. package/build-style/cover/style-rtl.css +10 -1
  173. package/build-style/cover/style.css +10 -1
  174. package/build-style/details/editor-rtl.css +10 -1
  175. package/build-style/details/editor.css +10 -1
  176. package/build-style/details/style-rtl.css +10 -1
  177. package/build-style/details/style.css +10 -1
  178. package/build-style/editor-elements-rtl.css +10 -1
  179. package/build-style/editor-elements.css +10 -1
  180. package/build-style/editor-rtl.css +16 -19
  181. package/build-style/editor.css +16 -19
  182. package/build-style/elements-rtl.css +10 -1
  183. package/build-style/elements.css +10 -1
  184. package/build-style/embed/editor-rtl.css +10 -1
  185. package/build-style/embed/editor.css +10 -1
  186. package/build-style/embed/style-rtl.css +10 -1
  187. package/build-style/embed/style.css +10 -1
  188. package/build-style/embed/theme-rtl.css +10 -1
  189. package/build-style/embed/theme.css +10 -1
  190. package/build-style/file/editor-rtl.css +10 -1
  191. package/build-style/file/editor.css +10 -1
  192. package/build-style/file/style-rtl.css +10 -1
  193. package/build-style/file/style.css +10 -1
  194. package/build-style/footnotes/style-rtl.css +10 -1
  195. package/build-style/footnotes/style.css +10 -1
  196. package/build-style/form-input/editor-rtl.css +10 -1
  197. package/build-style/form-input/editor.css +10 -1
  198. package/build-style/form-input/style-rtl.css +10 -1
  199. package/build-style/form-input/style.css +10 -1
  200. package/build-style/form-submission-notification/editor-rtl.css +10 -1
  201. package/build-style/form-submission-notification/editor.css +10 -1
  202. package/build-style/form-submit-button/style-rtl.css +10 -1
  203. package/build-style/form-submit-button/style.css +10 -1
  204. package/build-style/freeform/editor-rtl.css +10 -1
  205. package/build-style/freeform/editor.css +10 -1
  206. package/build-style/gallery/editor-rtl.css +10 -1
  207. package/build-style/gallery/editor.css +10 -1
  208. package/build-style/gallery/style-rtl.css +10 -1
  209. package/build-style/gallery/style.css +10 -1
  210. package/build-style/gallery/theme-rtl.css +10 -1
  211. package/build-style/gallery/theme.css +10 -1
  212. package/build-style/group/editor-rtl.css +12 -3
  213. package/build-style/group/editor.css +12 -3
  214. package/build-style/group/style-rtl.css +10 -1
  215. package/build-style/group/style.css +10 -1
  216. package/build-style/group/theme-rtl.css +10 -1
  217. package/build-style/group/theme.css +10 -1
  218. package/build-style/heading/style-rtl.css +10 -1
  219. package/build-style/heading/style.css +10 -1
  220. package/build-style/html/editor-rtl.css +10 -1
  221. package/build-style/html/editor.css +10 -1
  222. package/build-style/image/editor-rtl.css +10 -1
  223. package/build-style/image/editor.css +10 -1
  224. package/build-style/image/style-rtl.css +10 -1
  225. package/build-style/image/style.css +10 -1
  226. package/build-style/image/theme-rtl.css +10 -1
  227. package/build-style/image/theme.css +10 -1
  228. package/build-style/latest-comments/style-rtl.css +10 -1
  229. package/build-style/latest-comments/style.css +10 -1
  230. package/build-style/latest-posts/editor-rtl.css +10 -1
  231. package/build-style/latest-posts/editor.css +10 -1
  232. package/build-style/latest-posts/style-rtl.css +10 -1
  233. package/build-style/latest-posts/style.css +10 -1
  234. package/build-style/list/style-rtl.css +10 -1
  235. package/build-style/list/style.css +10 -1
  236. package/build-style/loginout/style-rtl.css +10 -1
  237. package/build-style/loginout/style.css +10 -1
  238. package/build-style/media-text/editor-rtl.css +10 -1
  239. package/build-style/media-text/editor.css +10 -1
  240. package/build-style/media-text/style-rtl.css +10 -1
  241. package/build-style/media-text/style.css +10 -1
  242. package/build-style/more/editor-rtl.css +10 -1
  243. package/build-style/more/editor.css +10 -1
  244. package/build-style/navigation/editor-rtl.css +10 -1
  245. package/build-style/navigation/editor.css +10 -1
  246. package/build-style/navigation/style-rtl.css +10 -1
  247. package/build-style/navigation/style.css +10 -1
  248. package/build-style/navigation-link/editor-rtl.css +10 -1
  249. package/build-style/navigation-link/editor.css +10 -1
  250. package/build-style/navigation-link/style-rtl.css +10 -1
  251. package/build-style/navigation-link/style.css +10 -1
  252. package/build-style/navigation-submenu/editor-rtl.css +10 -1
  253. package/build-style/navigation-submenu/editor.css +10 -1
  254. package/build-style/nextpage/editor-rtl.css +10 -1
  255. package/build-style/nextpage/editor.css +10 -1
  256. package/build-style/page-list/editor-rtl.css +10 -1
  257. package/build-style/page-list/editor.css +10 -1
  258. package/build-style/page-list/style-rtl.css +10 -1
  259. package/build-style/page-list/style.css +10 -1
  260. package/build-style/paragraph/editor-rtl.css +10 -1
  261. package/build-style/paragraph/editor.css +10 -1
  262. package/build-style/paragraph/style-rtl.css +10 -1
  263. package/build-style/paragraph/style.css +10 -1
  264. package/build-style/post-author/editor-rtl.css +10 -1
  265. package/build-style/post-author/editor.css +10 -1
  266. package/build-style/post-author/style-rtl.css +10 -1
  267. package/build-style/post-author/style.css +10 -1
  268. package/build-style/post-author-biography/style-rtl.css +10 -1
  269. package/build-style/post-author-biography/style.css +10 -1
  270. package/build-style/post-author-name/style-rtl.css +10 -1
  271. package/build-style/post-author-name/style.css +10 -1
  272. package/build-style/post-comments-form/editor-rtl.css +10 -1
  273. package/build-style/post-comments-form/editor.css +10 -1
  274. package/build-style/post-comments-form/style-rtl.css +10 -1
  275. package/build-style/post-comments-form/style.css +10 -1
  276. package/build-style/post-content/style-rtl.css +10 -1
  277. package/build-style/post-content/style.css +10 -1
  278. package/build-style/post-date/style-rtl.css +10 -1
  279. package/build-style/post-date/style.css +10 -1
  280. package/build-style/post-excerpt/editor-rtl.css +10 -1
  281. package/build-style/post-excerpt/editor.css +10 -1
  282. package/build-style/post-excerpt/style-rtl.css +10 -1
  283. package/build-style/post-excerpt/style.css +10 -1
  284. package/build-style/post-featured-image/editor-rtl.css +10 -1
  285. package/build-style/post-featured-image/editor.css +10 -1
  286. package/build-style/post-featured-image/style-rtl.css +10 -1
  287. package/build-style/post-featured-image/style.css +10 -1
  288. package/build-style/post-navigation-link/style-rtl.css +10 -1
  289. package/build-style/post-navigation-link/style.css +10 -1
  290. package/build-style/post-template/editor-rtl.css +10 -1
  291. package/build-style/post-template/editor.css +10 -1
  292. package/build-style/post-template/style-rtl.css +10 -1
  293. package/build-style/post-template/style.css +10 -1
  294. package/build-style/post-terms/style-rtl.css +10 -1
  295. package/build-style/post-terms/style.css +10 -1
  296. package/build-style/post-time-to-read/style-rtl.css +10 -1
  297. package/build-style/post-time-to-read/style.css +10 -1
  298. package/build-style/post-title/style-rtl.css +10 -1
  299. package/build-style/post-title/style.css +10 -1
  300. package/build-style/preformatted/style-rtl.css +10 -1
  301. package/build-style/preformatted/style.css +10 -1
  302. package/build-style/pullquote/editor-rtl.css +10 -1
  303. package/build-style/pullquote/editor.css +10 -1
  304. package/build-style/pullquote/style-rtl.css +10 -1
  305. package/build-style/pullquote/style.css +10 -1
  306. package/build-style/pullquote/theme-rtl.css +10 -1
  307. package/build-style/pullquote/theme.css +10 -1
  308. package/build-style/query/editor-rtl.css +10 -1
  309. package/build-style/query/editor.css +10 -1
  310. package/build-style/query-pagination/editor-rtl.css +10 -1
  311. package/build-style/query-pagination/editor.css +10 -1
  312. package/build-style/query-pagination/style-rtl.css +10 -1
  313. package/build-style/query-pagination/style.css +10 -1
  314. package/build-style/query-pagination-numbers/editor-rtl.css +10 -1
  315. package/build-style/query-pagination-numbers/editor.css +10 -1
  316. package/build-style/query-title/style-rtl.css +10 -1
  317. package/build-style/query-title/style.css +10 -1
  318. package/build-style/quote/style-rtl.css +10 -1
  319. package/build-style/quote/style.css +10 -1
  320. package/build-style/quote/theme-rtl.css +10 -1
  321. package/build-style/quote/theme.css +10 -1
  322. package/build-style/read-more/style-rtl.css +10 -1
  323. package/build-style/read-more/style.css +10 -1
  324. package/build-style/reset-rtl.css +10 -1
  325. package/build-style/reset.css +10 -1
  326. package/build-style/rss/editor-rtl.css +10 -1
  327. package/build-style/rss/editor.css +10 -1
  328. package/build-style/rss/style-rtl.css +10 -1
  329. package/build-style/rss/style.css +10 -1
  330. package/build-style/search/editor-rtl.css +10 -1
  331. package/build-style/search/editor.css +10 -1
  332. package/build-style/search/style-rtl.css +10 -1
  333. package/build-style/search/style.css +10 -1
  334. package/build-style/search/theme-rtl.css +10 -1
  335. package/build-style/search/theme.css +10 -1
  336. package/build-style/separator/editor-rtl.css +10 -1
  337. package/build-style/separator/editor.css +10 -1
  338. package/build-style/separator/style-rtl.css +10 -1
  339. package/build-style/separator/style.css +10 -1
  340. package/build-style/separator/theme-rtl.css +10 -1
  341. package/build-style/separator/theme.css +10 -1
  342. package/build-style/shortcode/editor-rtl.css +10 -1
  343. package/build-style/shortcode/editor.css +10 -1
  344. package/build-style/site-logo/editor-rtl.css +10 -1
  345. package/build-style/site-logo/editor.css +10 -1
  346. package/build-style/site-logo/style-rtl.css +10 -1
  347. package/build-style/site-logo/style.css +10 -1
  348. package/build-style/site-tagline/editor-rtl.css +10 -1
  349. package/build-style/site-tagline/editor.css +10 -1
  350. package/build-style/site-tagline/style-rtl.css +10 -1
  351. package/build-style/site-tagline/style.css +10 -1
  352. package/build-style/site-title/editor-rtl.css +10 -1
  353. package/build-style/site-title/editor.css +10 -1
  354. package/build-style/site-title/style-rtl.css +10 -1
  355. package/build-style/site-title/style.css +10 -1
  356. package/build-style/social-link/editor-rtl.css +10 -1
  357. package/build-style/social-link/editor.css +10 -1
  358. package/build-style/social-links/editor-rtl.css +14 -12
  359. package/build-style/social-links/editor.css +14 -12
  360. package/build-style/social-links/style-rtl.css +10 -1
  361. package/build-style/social-links/style.css +10 -1
  362. package/build-style/spacer/editor-rtl.css +10 -1
  363. package/build-style/spacer/editor.css +10 -1
  364. package/build-style/spacer/style-rtl.css +10 -1
  365. package/build-style/spacer/style.css +10 -1
  366. package/build-style/style-rtl.css +11 -1
  367. package/build-style/style.css +11 -1
  368. package/build-style/table/editor-rtl.css +10 -1
  369. package/build-style/table/editor.css +10 -1
  370. package/build-style/table/style-rtl.css +10 -1
  371. package/build-style/table/style.css +10 -1
  372. package/build-style/table/theme-rtl.css +10 -1
  373. package/build-style/table/theme.css +10 -1
  374. package/build-style/table-of-contents/style-rtl.css +10 -1
  375. package/build-style/table-of-contents/style.css +10 -1
  376. package/build-style/tag-cloud/editor-rtl.css +10 -1
  377. package/build-style/tag-cloud/editor.css +10 -1
  378. package/build-style/tag-cloud/style-rtl.css +10 -1
  379. package/build-style/tag-cloud/style.css +10 -1
  380. package/build-style/template-part/editor-rtl.css +10 -1
  381. package/build-style/template-part/editor.css +10 -1
  382. package/build-style/template-part/theme-rtl.css +10 -1
  383. package/build-style/template-part/theme.css +10 -1
  384. package/build-style/term-description/style-rtl.css +10 -1
  385. package/build-style/term-description/style.css +10 -1
  386. package/build-style/text-columns/editor-rtl.css +10 -1
  387. package/build-style/text-columns/editor.css +10 -1
  388. package/build-style/text-columns/style-rtl.css +10 -1
  389. package/build-style/text-columns/style.css +10 -1
  390. package/build-style/theme-rtl.css +10 -1
  391. package/build-style/theme.css +10 -1
  392. package/build-style/verse/style-rtl.css +10 -1
  393. package/build-style/verse/style.css +10 -1
  394. package/build-style/video/editor-rtl.css +10 -1
  395. package/build-style/video/editor.css +10 -1
  396. package/build-style/video/style-rtl.css +10 -1
  397. package/build-style/video/style.css +10 -1
  398. package/build-style/video/theme-rtl.css +10 -1
  399. package/build-style/video/theme.css +10 -1
  400. package/package.json +35 -35
  401. package/src/avatar/index.js +1 -0
  402. package/src/buttons/style.scss +2 -0
  403. package/src/comment-author-name/index.js +1 -0
  404. package/src/comment-content/index.js +1 -0
  405. package/src/comment-date/index.js +1 -0
  406. package/src/comment-edit-link/index.js +1 -0
  407. package/src/comment-reply-link/index.js +1 -0
  408. package/src/comments-pagination-next/block.json +5 -0
  409. package/src/comments-pagination-numbers/index.js +1 -0
  410. package/src/comments-pagination-previous/block.json +5 -0
  411. package/src/comments-title/index.js +1 -0
  412. package/src/cover/edit/index.js +6 -2
  413. package/src/editor.scss +0 -1
  414. package/src/file/block.json +8 -4
  415. package/src/group/editor.scss +2 -2
  416. package/src/post-navigation-link/block.json +6 -0
  417. package/src/post-navigation-link/variations.js +12 -0
  418. package/src/post-time-to-read/index.js +1 -0
  419. package/src/query/block.json +1 -0
  420. package/src/query/edit/inspector-controls/index.js +2 -2
  421. package/src/query/edit/inspector-controls/pages-control.js +1 -1
  422. package/src/query/edit/inspector-controls/per-page-control.js +1 -1
  423. package/src/query-no-results/block.json +10 -0
  424. package/src/query-pagination-numbers/index.js +1 -0
  425. package/src/query-title/block.json +5 -0
  426. package/src/site-logo/edit.js +1 -0
  427. package/src/social-links/editor.scss +4 -13
  428. package/src/table-of-contents/block.json +52 -1
  429. package/src/term-description/index.js +1 -0
  430. package/build-style/post-content/editor-rtl.css +0 -95
  431. package/build-style/post-content/editor.css +0 -95
  432. package/src/post-content/editor.scss +0 -4
@@ -29,6 +29,9 @@
29
29
  /**
30
30
  * Fonts & basic variables.
31
31
  */
32
+ /**
33
+ * Typography
34
+ */
32
35
  /**
33
36
  * Grid System.
34
37
  * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
@@ -43,7 +46,10 @@
43
46
  * Dimensions.
44
47
  */
45
48
  /**
46
- * Editor widths.
49
+ * Mobile specific styles
50
+ */
51
+ /**
52
+ * Editor styles.
47
53
  */
48
54
  /**
49
55
  * Block & Editor UI.
@@ -67,6 +73,9 @@
67
73
  * Creates a fading overlay to signify that the content is longer
68
74
  * than the space allows.
69
75
  */
76
+ /**
77
+ * Typography
78
+ */
70
79
  /**
71
80
  * Breakpoint mixins
72
81
  */
@@ -29,6 +29,9 @@
29
29
  /**
30
30
  * Fonts & basic variables.
31
31
  */
32
+ /**
33
+ * Typography
34
+ */
32
35
  /**
33
36
  * Grid System.
34
37
  * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
@@ -43,7 +46,10 @@
43
46
  * Dimensions.
44
47
  */
45
48
  /**
46
- * Editor widths.
49
+ * Mobile specific styles
50
+ */
51
+ /**
52
+ * Editor styles.
47
53
  */
48
54
  /**
49
55
  * Block & Editor UI.
@@ -67,6 +73,9 @@
67
73
  * Creates a fading overlay to signify that the content is longer
68
74
  * than the space allows.
69
75
  */
76
+ /**
77
+ * Typography
78
+ */
70
79
  /**
71
80
  * Breakpoint mixins
72
81
  */
@@ -29,6 +29,9 @@
29
29
  /**
30
30
  * Fonts & basic variables.
31
31
  */
32
+ /**
33
+ * Typography
34
+ */
32
35
  /**
33
36
  * Grid System.
34
37
  * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
@@ -43,7 +46,10 @@
43
46
  * Dimensions.
44
47
  */
45
48
  /**
46
- * Editor widths.
49
+ * Mobile specific styles
50
+ */
51
+ /**
52
+ * Editor styles.
47
53
  */
48
54
  /**
49
55
  * Block & Editor UI.
@@ -67,6 +73,9 @@
67
73
  * Creates a fading overlay to signify that the content is longer
68
74
  * than the space allows.
69
75
  */
76
+ /**
77
+ * Typography
78
+ */
70
79
  /**
71
80
  * Breakpoint mixins
72
81
  */
@@ -29,6 +29,9 @@
29
29
  /**
30
30
  * Fonts & basic variables.
31
31
  */
32
+ /**
33
+ * Typography
34
+ */
32
35
  /**
33
36
  * Grid System.
34
37
  * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
@@ -43,7 +46,10 @@
43
46
  * Dimensions.
44
47
  */
45
48
  /**
46
- * Editor widths.
49
+ * Mobile specific styles
50
+ */
51
+ /**
52
+ * Editor styles.
47
53
  */
48
54
  /**
49
55
  * Block & Editor UI.
@@ -67,6 +73,9 @@
67
73
  * Creates a fading overlay to signify that the content is longer
68
74
  * than the space allows.
69
75
  */
76
+ /**
77
+ * Typography
78
+ */
70
79
  /**
71
80
  * Breakpoint mixins
72
81
  */
@@ -29,6 +29,9 @@
29
29
  /**
30
30
  * Fonts & basic variables.
31
31
  */
32
+ /**
33
+ * Typography
34
+ */
32
35
  /**
33
36
  * Grid System.
34
37
  * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
@@ -43,7 +46,10 @@
43
46
  * Dimensions.
44
47
  */
45
48
  /**
46
- * Editor widths.
49
+ * Mobile specific styles
50
+ */
51
+ /**
52
+ * Editor styles.
47
53
  */
48
54
  /**
49
55
  * Block & Editor UI.
@@ -67,6 +73,9 @@
67
73
  * Creates a fading overlay to signify that the content is longer
68
74
  * than the space allows.
69
75
  */
76
+ /**
77
+ * Typography
78
+ */
70
79
  /**
71
80
  * Breakpoint mixins
72
81
  */
@@ -29,6 +29,9 @@
29
29
  /**
30
30
  * Fonts & basic variables.
31
31
  */
32
+ /**
33
+ * Typography
34
+ */
32
35
  /**
33
36
  * Grid System.
34
37
  * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
@@ -43,7 +46,10 @@
43
46
  * Dimensions.
44
47
  */
45
48
  /**
46
- * Editor widths.
49
+ * Mobile specific styles
50
+ */
51
+ /**
52
+ * Editor styles.
47
53
  */
48
54
  /**
49
55
  * Block & Editor UI.
@@ -67,6 +73,9 @@
67
73
  * Creates a fading overlay to signify that the content is longer
68
74
  * than the space allows.
69
75
  */
76
+ /**
77
+ * Typography
78
+ */
70
79
  /**
71
80
  * Breakpoint mixins
72
81
  */
@@ -29,6 +29,9 @@
29
29
  /**
30
30
  * Fonts & basic variables.
31
31
  */
32
+ /**
33
+ * Typography
34
+ */
32
35
  /**
33
36
  * Grid System.
34
37
  * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
@@ -43,7 +46,10 @@
43
46
  * Dimensions.
44
47
  */
45
48
  /**
46
- * Editor widths.
49
+ * Mobile specific styles
50
+ */
51
+ /**
52
+ * Editor styles.
47
53
  */
48
54
  /**
49
55
  * Block & Editor UI.
@@ -67,6 +73,9 @@
67
73
  * Creates a fading overlay to signify that the content is longer
68
74
  * than the space allows.
69
75
  */
76
+ /**
77
+ * Typography
78
+ */
70
79
  /**
71
80
  * Breakpoint mixins
72
81
  */
@@ -29,6 +29,9 @@
29
29
  /**
30
30
  * Fonts & basic variables.
31
31
  */
32
+ /**
33
+ * Typography
34
+ */
32
35
  /**
33
36
  * Grid System.
34
37
  * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
@@ -43,7 +46,10 @@
43
46
  * Dimensions.
44
47
  */
45
48
  /**
46
- * Editor widths.
49
+ * Mobile specific styles
50
+ */
51
+ /**
52
+ * Editor styles.
47
53
  */
48
54
  /**
49
55
  * Block & Editor UI.
@@ -67,6 +73,9 @@
67
73
  * Creates a fading overlay to signify that the content is longer
68
74
  * than the space allows.
69
75
  */
76
+ /**
77
+ * Typography
78
+ */
70
79
  /**
71
80
  * Breakpoint mixins
72
81
  */
@@ -29,6 +29,9 @@
29
29
  /**
30
30
  * Fonts & basic variables.
31
31
  */
32
+ /**
33
+ * Typography
34
+ */
32
35
  /**
33
36
  * Grid System.
34
37
  * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
@@ -43,7 +46,10 @@
43
46
  * Dimensions.
44
47
  */
45
48
  /**
46
- * Editor widths.
49
+ * Mobile specific styles
50
+ */
51
+ /**
52
+ * Editor styles.
47
53
  */
48
54
  /**
49
55
  * Block & Editor UI.
@@ -67,6 +73,9 @@
67
73
  * Creates a fading overlay to signify that the content is longer
68
74
  * than the space allows.
69
75
  */
76
+ /**
77
+ * Typography
78
+ */
70
79
  /**
71
80
  * Breakpoint mixins
72
81
  */
@@ -29,6 +29,9 @@
29
29
  /**
30
30
  * Fonts & basic variables.
31
31
  */
32
+ /**
33
+ * Typography
34
+ */
32
35
  /**
33
36
  * Grid System.
34
37
  * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
@@ -43,7 +46,10 @@
43
46
  * Dimensions.
44
47
  */
45
48
  /**
46
- * Editor widths.
49
+ * Mobile specific styles
50
+ */
51
+ /**
52
+ * Editor styles.
47
53
  */
48
54
  /**
49
55
  * Block & Editor UI.
@@ -67,6 +73,9 @@
67
73
  * Creates a fading overlay to signify that the content is longer
68
74
  * than the space allows.
69
75
  */
76
+ /**
77
+ * Typography
78
+ */
70
79
  /**
71
80
  * Breakpoint mixins
72
81
  */
@@ -29,6 +29,9 @@
29
29
  /**
30
30
  * Fonts & basic variables.
31
31
  */
32
+ /**
33
+ * Typography
34
+ */
32
35
  /**
33
36
  * Grid System.
34
37
  * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
@@ -43,7 +46,10 @@
43
46
  * Dimensions.
44
47
  */
45
48
  /**
46
- * Editor widths.
49
+ * Mobile specific styles
50
+ */
51
+ /**
52
+ * Editor styles.
47
53
  */
48
54
  /**
49
55
  * Block & Editor UI.
@@ -67,6 +73,9 @@
67
73
  * Creates a fading overlay to signify that the content is longer
68
74
  * than the space allows.
69
75
  */
76
+ /**
77
+ * Typography
78
+ */
70
79
  /**
71
80
  * Breakpoint mixins
72
81
  */
@@ -29,6 +29,9 @@
29
29
  /**
30
30
  * Fonts & basic variables.
31
31
  */
32
+ /**
33
+ * Typography
34
+ */
32
35
  /**
33
36
  * Grid System.
34
37
  * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
@@ -43,7 +46,10 @@
43
46
  * Dimensions.
44
47
  */
45
48
  /**
46
- * Editor widths.
49
+ * Mobile specific styles
50
+ */
51
+ /**
52
+ * Editor styles.
47
53
  */
48
54
  /**
49
55
  * Block & Editor UI.
@@ -67,6 +73,9 @@
67
73
  * Creates a fading overlay to signify that the content is longer
68
74
  * than the space allows.
69
75
  */
76
+ /**
77
+ * Typography
78
+ */
70
79
  /**
71
80
  * Breakpoint mixins
72
81
  */
@@ -29,6 +29,9 @@
29
29
  /**
30
30
  * Fonts & basic variables.
31
31
  */
32
+ /**
33
+ * Typography
34
+ */
32
35
  /**
33
36
  * Grid System.
34
37
  * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
@@ -43,7 +46,10 @@
43
46
  * Dimensions.
44
47
  */
45
48
  /**
46
- * Editor widths.
49
+ * Mobile specific styles
50
+ */
51
+ /**
52
+ * Editor styles.
47
53
  */
48
54
  /**
49
55
  * Block & Editor UI.
@@ -67,6 +73,9 @@
67
73
  * Creates a fading overlay to signify that the content is longer
68
74
  * than the space allows.
69
75
  */
76
+ /**
77
+ * Typography
78
+ */
70
79
  /**
71
80
  * Breakpoint mixins
72
81
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/block-library",
3
- "version": "9.8.5",
3
+ "version": "9.9.0",
4
4
  "description": "Block library for the WordPress editor.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -39,39 +39,39 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@babel/runtime": "^7.16.0",
42
- "@wordpress/a11y": "^4.8.2",
43
- "@wordpress/api-fetch": "^7.8.2",
44
- "@wordpress/autop": "^4.8.1",
45
- "@wordpress/blob": "^4.8.1",
46
- "@wordpress/block-editor": "^14.3.4",
47
- "@wordpress/blocks": "^13.8.4",
48
- "@wordpress/components": "^28.8.4",
49
- "@wordpress/compose": "^7.8.3",
50
- "@wordpress/core-data": "^7.8.4",
51
- "@wordpress/data": "^10.8.3",
52
- "@wordpress/date": "^5.8.2",
53
- "@wordpress/deprecated": "^4.8.2",
54
- "@wordpress/dom": "^4.8.2",
55
- "@wordpress/element": "^6.8.1",
56
- "@wordpress/escape-html": "^3.8.1",
57
- "@wordpress/hooks": "^4.8.2",
58
- "@wordpress/html-entities": "^4.8.1",
59
- "@wordpress/i18n": "^5.8.2",
60
- "@wordpress/icons": "^10.8.2",
61
- "@wordpress/interactivity": "^6.8.2",
62
- "@wordpress/interactivity-router": "^2.8.3",
63
- "@wordpress/keyboard-shortcuts": "^5.8.3",
64
- "@wordpress/keycodes": "^4.8.2",
65
- "@wordpress/notices": "^5.8.3",
66
- "@wordpress/patterns": "^2.8.4",
67
- "@wordpress/primitives": "^4.8.1",
68
- "@wordpress/private-apis": "^1.8.1",
69
- "@wordpress/reusable-blocks": "^5.8.4",
70
- "@wordpress/rich-text": "^7.8.3",
71
- "@wordpress/server-side-render": "^5.8.4",
72
- "@wordpress/url": "^4.8.1",
73
- "@wordpress/viewport": "^6.8.3",
74
- "@wordpress/wordcount": "^4.8.1",
42
+ "@wordpress/a11y": "^4.9.0",
43
+ "@wordpress/api-fetch": "^7.9.0",
44
+ "@wordpress/autop": "^4.9.0",
45
+ "@wordpress/blob": "^4.9.0",
46
+ "@wordpress/block-editor": "^14.4.0",
47
+ "@wordpress/blocks": "^13.9.0",
48
+ "@wordpress/components": "^28.9.0",
49
+ "@wordpress/compose": "^7.9.0",
50
+ "@wordpress/core-data": "^7.9.0",
51
+ "@wordpress/data": "^10.9.0",
52
+ "@wordpress/date": "^5.9.0",
53
+ "@wordpress/deprecated": "^4.9.0",
54
+ "@wordpress/dom": "^4.9.0",
55
+ "@wordpress/element": "^6.9.0",
56
+ "@wordpress/escape-html": "^3.9.0",
57
+ "@wordpress/hooks": "^4.9.0",
58
+ "@wordpress/html-entities": "^4.9.0",
59
+ "@wordpress/i18n": "^5.9.0",
60
+ "@wordpress/icons": "^10.9.0",
61
+ "@wordpress/interactivity": "^6.9.0",
62
+ "@wordpress/interactivity-router": "^2.9.0",
63
+ "@wordpress/keyboard-shortcuts": "^5.9.0",
64
+ "@wordpress/keycodes": "^4.9.0",
65
+ "@wordpress/notices": "^5.9.0",
66
+ "@wordpress/patterns": "^2.9.0",
67
+ "@wordpress/primitives": "^4.9.0",
68
+ "@wordpress/private-apis": "^1.9.0",
69
+ "@wordpress/reusable-blocks": "^5.9.0",
70
+ "@wordpress/rich-text": "^7.9.0",
71
+ "@wordpress/server-side-render": "^5.9.0",
72
+ "@wordpress/url": "^4.9.0",
73
+ "@wordpress/viewport": "^6.9.0",
74
+ "@wordpress/wordcount": "^4.9.0",
75
75
  "change-case": "^4.1.2",
76
76
  "clsx": "^2.1.1",
77
77
  "colord": "^2.7.0",
@@ -89,5 +89,5 @@
89
89
  "publishConfig": {
90
90
  "access": "public"
91
91
  },
92
- "gitHead": "07c75154341d1e5a1b8aaa1c226029b6666a52a9"
92
+ "gitHead": "2e5495c635910cb34bfaca3c6258d2e989f66214"
93
93
  }
@@ -16,6 +16,7 @@ export { metadata, name };
16
16
  export const settings = {
17
17
  icon,
18
18
  edit,
19
+ example: {},
19
20
  };
20
21
 
21
22
  export const init = () => initBlock( { name, metadata, settings } );
@@ -2,6 +2,8 @@
2
2
  $blocks-block__margin: 0.5em;
3
3
 
4
4
  .wp-block-buttons {
5
+ // This block has customizable padding, border-box makes that more predictable.
6
+ box-sizing: border-box;
5
7
 
6
8
  &.is-vertical {
7
9
  flex-direction: column;
@@ -18,6 +18,7 @@ export const settings = {
18
18
  icon,
19
19
  edit,
20
20
  deprecated,
21
+ example: {},
21
22
  };
22
23
 
23
24
  export const init = () => initBlock( { name, metadata, settings } );
@@ -16,6 +16,7 @@ export { metadata, name };
16
16
  export const settings = {
17
17
  icon,
18
18
  edit,
19
+ example: {},
19
20
  };
20
21
 
21
22
  export const init = () => initBlock( { name, metadata, settings } );
@@ -18,6 +18,7 @@ export const settings = {
18
18
  icon,
19
19
  edit,
20
20
  deprecated,
21
+ example: {},
21
22
  };
22
23
 
23
24
  export const init = () => initBlock( { name, metadata, settings } );
@@ -16,6 +16,7 @@ export { metadata, name };
16
16
  export const settings = {
17
17
  icon,
18
18
  edit,
19
+ example: {},
19
20
  };
20
21
 
21
22
  export const init = () => initBlock( { name, metadata, settings } );
@@ -16,6 +16,7 @@ export { metadata, name };
16
16
  export const settings = {
17
17
  edit,
18
18
  icon,
19
+ example: {},
19
20
  };
20
21
 
21
22
  export const init = () => initBlock( { name, metadata, settings } );
@@ -12,6 +12,11 @@
12
12
  "type": "string"
13
13
  }
14
14
  },
15
+ "example": {
16
+ "attributes": {
17
+ "label": "Comments Next Page"
18
+ }
19
+ },
15
20
  "usesContext": [ "postId", "comments/paginationArrow" ],
16
21
  "supports": {
17
22
  "reusable": false,
@@ -16,6 +16,7 @@ export { metadata, name };
16
16
  export const settings = {
17
17
  icon,
18
18
  edit,
19
+ example: {},
19
20
  };
20
21
 
21
22
  export const init = () => initBlock( { name, metadata, settings } );
@@ -12,6 +12,11 @@
12
12
  "type": "string"
13
13
  }
14
14
  },
15
+ "example": {
16
+ "attributes": {
17
+ "label": "Comments Previous Page"
18
+ }
19
+ },
15
20
  "usesContext": [ "postId", "comments/paginationArrow" ],
16
21
  "supports": {
17
22
  "reusable": false,
@@ -18,6 +18,7 @@ export const settings = {
18
18
  icon,
19
19
  edit,
20
20
  deprecated,
21
+ example: {},
21
22
  };
22
23
 
23
24
  export const init = () => initBlock( { name, metadata, settings } );
@@ -18,6 +18,7 @@ import {
18
18
  useInnerBlocksProps,
19
19
  __experimentalUseGradient,
20
20
  store as blockEditorStore,
21
+ useBlockEditingMode,
21
22
  } from '@wordpress/block-editor';
22
23
  import { __ } from '@wordpress/i18n';
23
24
  import { useSelect, useDispatch } from '@wordpress/data';
@@ -278,6 +279,9 @@ function CoverEdit( {
278
279
  const isImageBackground = IMAGE_BACKGROUND_TYPE === backgroundType;
279
280
  const isVideoBackground = VIDEO_BACKGROUND_TYPE === backgroundType;
280
281
 
282
+ const blockEditingMode = useBlockEditingMode();
283
+ const hasNonContentControls = blockEditingMode === 'default';
284
+
281
285
  const [ resizeListener, { height, width } ] = useResizeObserver();
282
286
  const resizableBoxDimensions = useMemo( () => {
283
287
  return {
@@ -447,7 +451,7 @@ function CoverEdit( {
447
451
  <>
448
452
  { blockControls }
449
453
  { inspectorControls }
450
- { isSelected && (
454
+ { hasNonContentControls && isSelected && (
451
455
  <ResizableCoverPopover { ...resizableCoverProps } />
452
456
  ) }
453
457
  <TagName
@@ -576,7 +580,7 @@ function CoverEdit( {
576
580
  />
577
581
  <div { ...innerBlocksProps } />
578
582
  </TagName>
579
- { isSelected && (
583
+ { hasNonContentControls && isSelected && (
580
584
  <ResizableCoverPopover { ...resizableCoverProps } />
581
585
  ) }
582
586
  </>
package/src/editor.scss CHANGED
@@ -55,7 +55,6 @@
55
55
  @import "./query-pagination-numbers/editor.scss";
56
56
  @import "./post-featured-image/editor.scss";
57
57
  @import "./post-comments-form/editor.scss";
58
- @import "./post-content/editor.scss";
59
58
  @import "./editor-elements.scss";
60
59
 
61
60
  :root .editor-styles-wrapper {