@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
@@ -16,7 +16,8 @@
16
16
  "role": "local"
17
17
  },
18
18
  "href": {
19
- "type": "string"
19
+ "type": "string",
20
+ "role": "content"
20
21
  },
21
22
  "fileId": {
22
23
  "type": "string",
@@ -27,13 +28,15 @@
27
28
  "fileName": {
28
29
  "type": "rich-text",
29
30
  "source": "rich-text",
30
- "selector": "a:not([download])"
31
+ "selector": "a:not([download])",
32
+ "role": "content"
31
33
  },
32
34
  "textLinkHref": {
33
35
  "type": "string",
34
36
  "source": "attribute",
35
37
  "selector": "a:not([download])",
36
- "attribute": "href"
38
+ "attribute": "href",
39
+ "role": "content"
37
40
  },
38
41
  "textLinkTarget": {
39
42
  "type": "string",
@@ -48,7 +51,8 @@
48
51
  "downloadButtonText": {
49
52
  "type": "rich-text",
50
53
  "source": "rich-text",
51
- "selector": "a[download]"
54
+ "selector": "a[download]",
55
+ "role": "content"
52
56
  },
53
57
  "displayPreview": {
54
58
  "type": "boolean"
@@ -39,9 +39,9 @@
39
39
  &::after {
40
40
  content: "";
41
41
  display: flex;
42
- flex: 1 0 $grid-unit-60;
42
+ flex: 1 0 $button-size-next-default-40px;
43
43
  pointer-events: none;
44
- min-height: $grid-unit-60 - $border-width - $border-width;
44
+ min-height: $button-size-next-default-40px - $border-width - $border-width;
45
45
  border: $border-width dashed currentColor;
46
46
  }
47
47
 
@@ -34,6 +34,12 @@
34
34
  "default": ""
35
35
  }
36
36
  },
37
+ "example": {
38
+ "attributes": {
39
+ "label": "Next post",
40
+ "arrow": "arrow"
41
+ }
42
+ },
37
43
  "usesContext": [ "postType" ],
38
44
  "supports": {
39
45
  "reusable": false,
@@ -15,6 +15,12 @@ const variations = [
15
15
  icon: next,
16
16
  attributes: { type: 'next' },
17
17
  scope: [ 'inserter', 'transform' ],
18
+ example: {
19
+ attributes: {
20
+ label: 'Next post',
21
+ arrow: 'arrow',
22
+ },
23
+ },
18
24
  },
19
25
  {
20
26
  name: 'post-previous',
@@ -25,6 +31,12 @@ const variations = [
25
31
  icon: previous,
26
32
  attributes: { type: 'previous' },
27
33
  scope: [ 'inserter', 'transform' ],
34
+ example: {
35
+ attributes: {
36
+ label: 'Previous post',
37
+ arrow: 'arrow',
38
+ },
39
+ },
28
40
  },
29
41
  ];
30
42
 
@@ -12,6 +12,7 @@ export { metadata, name };
12
12
  export const settings = {
13
13
  icon,
14
14
  edit,
15
+ example: {},
15
16
  };
16
17
 
17
18
  export const init = () => initBlock( { name, metadata, settings } );
@@ -5,6 +5,7 @@
5
5
  "title": "Query Loop",
6
6
  "category": "theme",
7
7
  "description": "An advanced block that allows displaying post types based on different query parameters and visual configurations.",
8
+ "keywords": [ "posts", "list", "blog", "blogs", "custom post types" ],
8
9
  "textdomain": "default",
9
10
  "attributes": {
10
11
  "queryId": {
@@ -321,7 +321,7 @@ export default function QueryInspectorControls( props ) {
321
321
  dropdownMenuProps={ dropdownMenuProps }
322
322
  >
323
323
  <ToolsPanelItem
324
- label={ __( 'Items' ) }
324
+ label={ __( 'Items per page' ) }
325
325
  hasValue={ () => perPage > 0 }
326
326
  >
327
327
  <PerPageControl
@@ -341,7 +341,7 @@ export default function QueryInspectorControls( props ) {
341
341
  />
342
342
  </ToolsPanelItem>
343
343
  <ToolsPanelItem
344
- label={ __( 'Max Pages to Show' ) }
344
+ label={ __( 'Max pages to show' ) }
345
345
  hasValue={ () => pages > 0 }
346
346
  onDeselect={ () => setQuery( { pages: 0 } ) }
347
347
  >
@@ -8,7 +8,7 @@ export const PagesControl = ( { pages, onChange } ) => {
8
8
  return (
9
9
  <NumberControl
10
10
  __next40pxDefaultSize
11
- label={ __( 'Max pages' ) }
11
+ label={ __( 'Max pages to show' ) }
12
12
  value={ pages }
13
13
  min={ 0 }
14
14
  onChange={ ( newPages ) => {
@@ -12,7 +12,7 @@ const PerPageControl = ( { perPage, offset = 0, onChange } ) => {
12
12
  <RangeControl
13
13
  __next40pxDefaultSize
14
14
  __nextHasNoMarginBottom
15
- label={ __( 'Posts per page' ) }
15
+ label={ __( 'Items per page' ) }
16
16
  min={ MIN_POSTS_PER_PAGE }
17
17
  max={ MAX_POSTS_PER_PAGE }
18
18
  onChange={ ( newPerPage ) => {
@@ -8,6 +8,16 @@
8
8
  "parent": [ "core/query" ],
9
9
  "textdomain": "default",
10
10
  "usesContext": [ "queryId", "query" ],
11
+ "example": {
12
+ "innerBlocks": [
13
+ {
14
+ "name": "core/paragraph",
15
+ "attributes": {
16
+ "content": "No posts were found."
17
+ }
18
+ }
19
+ ]
20
+ },
11
21
  "supports": {
12
22
  "align": true,
13
23
  "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 } );
@@ -29,6 +29,11 @@
29
29
  "default": true
30
30
  }
31
31
  },
32
+ "example": {
33
+ "attributes": {
34
+ "type": "search"
35
+ }
36
+ },
32
37
  "supports": {
33
38
  "align": [ "wide", "full" ],
34
39
  "html": false,
@@ -564,6 +564,7 @@ export default function LogoEdit( {
564
564
  iconId={ siteIconId }
565
565
  canUserEdit={ canUserEdit }
566
566
  />
567
+ { canUserEdit && <DropZone onFilesDrop={ onFilesDrop } /> }
567
568
  </>
568
569
  );
569
570
  }
@@ -101,19 +101,10 @@
101
101
  .wp-block-social-links .block-list-appender {
102
102
  position: static; // display inline.
103
103
 
104
- .block-editor-button-block-appender.components-button.components-button {
105
- padding: $grid-unit-10 - 2px;
106
- }
107
- }
108
-
109
- .wp-block-social-links {
110
- &.has-small-icon-size .block-editor-button-block-appender.components-button.components-button {
104
+ .block-editor-button-block-appender {
105
+ height: 1.5em;
106
+ width: 1.5em;
107
+ font-size: inherit;
111
108
  padding: 0;
112
109
  }
113
- &.has-large-icon-size .block-editor-button-block-appender.components-button.components-button {
114
- padding: $grid-unit-20 - 2px;
115
- }
116
- &.has-huge-icon-size .block-editor-button-block-appender.components-button.components-button {
117
- padding: $grid-unit-30 - 1px;
118
- }
119
110
  }
@@ -62,6 +62,57 @@
62
62
  }
63
63
  }
64
64
  },
65
- "example": {},
65
+ "example": {
66
+ "innerBlocks": [
67
+ {
68
+ "name": "core/heading",
69
+ "attributes": {
70
+ "level": 2,
71
+ "content": "Heading"
72
+ }
73
+ },
74
+ {
75
+ "name": "core/heading",
76
+ "attributes": {
77
+ "level": 3,
78
+ "content": "Subheading"
79
+ }
80
+ },
81
+ {
82
+ "name": "core/heading",
83
+ "attributes": {
84
+ "level": 2,
85
+ "content": "Heading"
86
+ }
87
+ },
88
+ {
89
+ "name": "core/heading",
90
+ "attributes": {
91
+ "level": 3,
92
+ "content": "Subheading"
93
+ }
94
+ }
95
+ ],
96
+ "attributes": {
97
+ "headings": [
98
+ {
99
+ "content": "Heading",
100
+ "level": 2
101
+ },
102
+ {
103
+ "content": "Subheading",
104
+ "level": 3
105
+ },
106
+ {
107
+ "content": "Heading",
108
+ "level": 2
109
+ },
110
+ {
111
+ "content": "Subheading",
112
+ "level": 3
113
+ }
114
+ ]
115
+ }
116
+ },
66
117
  "style": "wp-block-table-of-contents"
67
118
  }
@@ -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 } );
@@ -1,95 +0,0 @@
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-post-content.wp-block-post-content {
93
- -webkit-user-select: none;
94
- user-select: none;
95
- }
@@ -1,95 +0,0 @@
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-post-content.wp-block-post-content {
93
- -webkit-user-select: none;
94
- user-select: none;
95
- }
@@ -1,4 +0,0 @@
1
- // Disable text selection in the post content placeholder.
2
- .wp-block-post-content.wp-block-post-content {
3
- user-select: none;
4
- }