@wordpress/block-library 9.22.0 → 9.24.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 (483) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/build/calendar/index.js +1 -0
  3. package/build/calendar/index.js.map +1 -1
  4. package/build/code/index.js +2 -1
  5. package/build/code/index.js.map +1 -1
  6. package/build/comments/edit/comments-inspector-controls.js +13 -13
  7. package/build/comments/edit/comments-inspector-controls.js.map +1 -1
  8. package/build/comments/edit/index.js +4 -2
  9. package/build/comments/edit/index.js.map +1 -1
  10. package/build/cover/edit/inspector-controls.js +9 -12
  11. package/build/cover/edit/inspector-controls.js.map +1 -1
  12. package/build/details/index.js +2 -1
  13. package/build/details/index.js.map +1 -1
  14. package/build/group/edit.js +17 -13
  15. package/build/group/edit.js.map +1 -1
  16. package/build/html/index.js +2 -1
  17. package/build/html/index.js.map +1 -1
  18. package/build/image/constants.js +2 -1
  19. package/build/image/constants.js.map +1 -1
  20. package/build/image/edit.js +1 -7
  21. package/build/image/edit.js.map +1 -1
  22. package/build/image/image.js +1 -4
  23. package/build/image/image.js.map +1 -1
  24. package/build/latest-posts/edit.js +100 -54
  25. package/build/latest-posts/edit.js.map +1 -1
  26. package/build/more/index.js +2 -1
  27. package/build/more/index.js.map +1 -1
  28. package/build/post-excerpt/edit.js +3 -1
  29. package/build/post-excerpt/edit.js.map +1 -1
  30. package/build/post-excerpt/index.js +2 -1
  31. package/build/post-excerpt/index.js.map +1 -1
  32. package/build/post-navigation-link/edit.js +3 -1
  33. package/build/post-navigation-link/edit.js.map +1 -1
  34. package/build/post-navigation-link/index.js +2 -1
  35. package/build/post-navigation-link/index.js.map +1 -1
  36. package/build/post-navigation-link/variations.js +13 -13
  37. package/build/post-navigation-link/variations.js.map +1 -1
  38. package/build/post-template/edit.js +5 -3
  39. package/build/post-template/edit.js.map +1 -1
  40. package/build/post-terms/edit.js +3 -1
  41. package/build/post-terms/edit.js.map +1 -1
  42. package/build/post-terms/index.js +4 -2
  43. package/build/post-terms/index.js.map +1 -1
  44. package/build/preformatted/transforms.js +5 -1
  45. package/build/preformatted/transforms.js.map +1 -1
  46. package/build/query/edit/query-content.js +11 -12
  47. package/build/query/edit/query-content.js.map +1 -1
  48. package/build/read-more/index.js +2 -1
  49. package/build/read-more/index.js.map +1 -1
  50. package/build/rss/index.js +2 -1
  51. package/build/rss/index.js.map +1 -1
  52. package/build/search/edit.js +76 -86
  53. package/build/search/edit.js.map +1 -1
  54. package/build/separator/edit.js +13 -12
  55. package/build/separator/edit.js.map +1 -1
  56. package/build/table/edit.js +3 -2
  57. package/build/table/edit.js.map +1 -1
  58. package/build/table/index.js +8 -4
  59. package/build/table/index.js.map +1 -1
  60. package/build/template-part/edit/advanced-controls.js +14 -12
  61. package/build/template-part/edit/advanced-controls.js.map +1 -1
  62. package/build/template-part/edit/index.js +2 -1
  63. package/build/template-part/edit/index.js.map +1 -1
  64. package/build-module/calendar/index.js +1 -0
  65. package/build-module/calendar/index.js.map +1 -1
  66. package/build-module/code/index.js +2 -1
  67. package/build-module/code/index.js.map +1 -1
  68. package/build-module/comments/edit/comments-inspector-controls.js +14 -14
  69. package/build-module/comments/edit/comments-inspector-controls.js.map +1 -1
  70. package/build-module/comments/edit/index.js +4 -2
  71. package/build-module/comments/edit/index.js.map +1 -1
  72. package/build-module/cover/edit/inspector-controls.js +10 -13
  73. package/build-module/cover/edit/inspector-controls.js.map +1 -1
  74. package/build-module/details/index.js +2 -1
  75. package/build-module/details/index.js.map +1 -1
  76. package/build-module/group/edit.js +16 -14
  77. package/build-module/group/edit.js.map +1 -1
  78. package/build-module/html/index.js +2 -1
  79. package/build-module/html/index.js.map +1 -1
  80. package/build-module/image/constants.js +1 -0
  81. package/build-module/image/constants.js.map +1 -1
  82. package/build-module/image/edit.js +2 -8
  83. package/build-module/image/edit.js.map +1 -1
  84. package/build-module/image/image.js +2 -5
  85. package/build-module/image/image.js.map +1 -1
  86. package/build-module/latest-posts/edit.js +100 -54
  87. package/build-module/latest-posts/edit.js.map +1 -1
  88. package/build-module/more/index.js +2 -1
  89. package/build-module/more/index.js.map +1 -1
  90. package/build-module/post-excerpt/edit.js +4 -2
  91. package/build-module/post-excerpt/edit.js.map +1 -1
  92. package/build-module/post-excerpt/index.js +2 -1
  93. package/build-module/post-excerpt/index.js.map +1 -1
  94. package/build-module/post-navigation-link/edit.js +4 -2
  95. package/build-module/post-navigation-link/edit.js.map +1 -1
  96. package/build-module/post-navigation-link/index.js +2 -1
  97. package/build-module/post-navigation-link/index.js.map +1 -1
  98. package/build-module/post-navigation-link/variations.js +13 -13
  99. package/build-module/post-navigation-link/variations.js.map +1 -1
  100. package/build-module/post-template/edit.js +5 -3
  101. package/build-module/post-template/edit.js.map +1 -1
  102. package/build-module/post-terms/edit.js +4 -2
  103. package/build-module/post-terms/edit.js.map +1 -1
  104. package/build-module/post-terms/index.js +4 -2
  105. package/build-module/post-terms/index.js.map +1 -1
  106. package/build-module/preformatted/transforms.js +5 -1
  107. package/build-module/preformatted/transforms.js.map +1 -1
  108. package/build-module/query/edit/query-content.js +12 -13
  109. package/build-module/query/edit/query-content.js.map +1 -1
  110. package/build-module/read-more/index.js +2 -1
  111. package/build-module/read-more/index.js.map +1 -1
  112. package/build-module/rss/index.js +2 -1
  113. package/build-module/rss/index.js.map +1 -1
  114. package/build-module/search/edit.js +78 -88
  115. package/build-module/search/edit.js.map +1 -1
  116. package/build-module/separator/edit.js +15 -14
  117. package/build-module/separator/edit.js.map +1 -1
  118. package/build-module/table/edit.js +4 -3
  119. package/build-module/table/edit.js.map +1 -1
  120. package/build-module/table/index.js +8 -4
  121. package/build-module/table/index.js.map +1 -1
  122. package/build-module/template-part/edit/advanced-controls.js +14 -12
  123. package/build-module/template-part/edit/advanced-controls.js.map +1 -1
  124. package/build-module/template-part/edit/index.js +2 -1
  125. package/build-module/template-part/edit/index.js.map +1 -1
  126. package/build-style/archives/editor-rtl.css +47 -11
  127. package/build-style/archives/editor.css +47 -11
  128. package/build-style/archives/style-rtl.css +47 -11
  129. package/build-style/archives/style.css +47 -11
  130. package/build-style/audio/editor-rtl.css +47 -11
  131. package/build-style/audio/editor.css +47 -11
  132. package/build-style/audio/style-rtl.css +47 -11
  133. package/build-style/audio/style.css +47 -11
  134. package/build-style/audio/theme-rtl.css +47 -11
  135. package/build-style/audio/theme.css +47 -11
  136. package/build-style/avatar/editor-rtl.css +47 -11
  137. package/build-style/avatar/editor.css +47 -11
  138. package/build-style/avatar/style-rtl.css +47 -11
  139. package/build-style/avatar/style.css +47 -11
  140. package/build-style/button/editor-rtl.css +47 -11
  141. package/build-style/button/editor.css +47 -11
  142. package/build-style/button/style-rtl.css +47 -12
  143. package/build-style/button/style.css +47 -12
  144. package/build-style/buttons/editor-rtl.css +47 -11
  145. package/build-style/buttons/editor.css +47 -11
  146. package/build-style/buttons/style-rtl.css +50 -11
  147. package/build-style/buttons/style.css +50 -11
  148. package/build-style/calendar/style-rtl.css +47 -11
  149. package/build-style/calendar/style.css +47 -11
  150. package/build-style/categories/editor-rtl.css +47 -11
  151. package/build-style/categories/editor.css +47 -11
  152. package/build-style/categories/style-rtl.css +47 -11
  153. package/build-style/categories/style.css +47 -11
  154. package/build-style/classic-rtl.css +47 -11
  155. package/build-style/classic.css +47 -11
  156. package/build-style/code/editor-rtl.css +47 -11
  157. package/build-style/code/editor.css +47 -11
  158. package/build-style/code/style-rtl.css +47 -11
  159. package/build-style/code/style.css +47 -11
  160. package/build-style/code/theme-rtl.css +47 -11
  161. package/build-style/code/theme.css +47 -11
  162. package/build-style/columns/editor-rtl.css +47 -11
  163. package/build-style/columns/editor.css +47 -11
  164. package/build-style/columns/style-rtl.css +47 -11
  165. package/build-style/columns/style.css +47 -11
  166. package/build-style/comment-author-avatar/editor-rtl.css +47 -11
  167. package/build-style/comment-author-avatar/editor.css +47 -11
  168. package/build-style/comment-author-name/style-rtl.css +47 -11
  169. package/build-style/comment-author-name/style.css +47 -11
  170. package/build-style/comment-content/style-rtl.css +47 -11
  171. package/build-style/comment-content/style.css +47 -11
  172. package/build-style/comment-date/style-rtl.css +47 -11
  173. package/build-style/comment-date/style.css +47 -11
  174. package/build-style/comment-edit-link/style-rtl.css +47 -11
  175. package/build-style/comment-edit-link/style.css +47 -11
  176. package/build-style/comment-reply-link/style-rtl.css +47 -11
  177. package/build-style/comment-reply-link/style.css +47 -11
  178. package/build-style/comment-template/style-rtl.css +47 -11
  179. package/build-style/comment-template/style.css +47 -11
  180. package/build-style/comments/editor-rtl.css +47 -11
  181. package/build-style/comments/editor.css +47 -11
  182. package/build-style/comments/style-rtl.css +47 -11
  183. package/build-style/comments/style.css +47 -11
  184. package/build-style/comments-pagination/editor-rtl.css +47 -11
  185. package/build-style/comments-pagination/editor.css +47 -11
  186. package/build-style/comments-pagination/style-rtl.css +47 -11
  187. package/build-style/comments-pagination/style.css +47 -11
  188. package/build-style/comments-pagination-numbers/editor-rtl.css +47 -11
  189. package/build-style/comments-pagination-numbers/editor.css +47 -11
  190. package/build-style/comments-title/editor-rtl.css +47 -11
  191. package/build-style/comments-title/editor.css +47 -11
  192. package/build-style/common-rtl.css +130 -9
  193. package/build-style/common.css +130 -9
  194. package/build-style/cover/editor-rtl.css +47 -11
  195. package/build-style/cover/editor.css +47 -11
  196. package/build-style/cover/style-rtl.css +47 -11
  197. package/build-style/cover/style.css +47 -11
  198. package/build-style/details/editor-rtl.css +47 -11
  199. package/build-style/details/editor.css +47 -11
  200. package/build-style/details/style-rtl.css +47 -11
  201. package/build-style/details/style.css +47 -11
  202. package/build-style/editor-elements-rtl.css +47 -11
  203. package/build-style/editor-elements.css +47 -11
  204. package/build-style/editor-rtl.css +48 -11
  205. package/build-style/editor.css +48 -11
  206. package/build-style/elements-rtl.css +47 -11
  207. package/build-style/elements.css +47 -11
  208. package/build-style/embed/editor-rtl.css +47 -11
  209. package/build-style/embed/editor.css +47 -11
  210. package/build-style/embed/style-rtl.css +47 -11
  211. package/build-style/embed/style.css +47 -11
  212. package/build-style/embed/theme-rtl.css +47 -11
  213. package/build-style/embed/theme.css +47 -11
  214. package/build-style/file/editor-rtl.css +47 -11
  215. package/build-style/file/editor.css +47 -11
  216. package/build-style/file/style-rtl.css +47 -11
  217. package/build-style/file/style.css +47 -11
  218. package/build-style/footnotes/style-rtl.css +47 -11
  219. package/build-style/footnotes/style.css +47 -11
  220. package/build-style/form-input/editor-rtl.css +47 -11
  221. package/build-style/form-input/editor.css +47 -11
  222. package/build-style/form-input/style-rtl.css +47 -11
  223. package/build-style/form-input/style.css +47 -11
  224. package/build-style/form-submission-notification/editor-rtl.css +47 -11
  225. package/build-style/form-submission-notification/editor.css +47 -11
  226. package/build-style/form-submit-button/style-rtl.css +47 -11
  227. package/build-style/form-submit-button/style.css +47 -11
  228. package/build-style/freeform/editor-rtl.css +47 -11
  229. package/build-style/freeform/editor.css +47 -11
  230. package/build-style/gallery/editor-rtl.css +47 -11
  231. package/build-style/gallery/editor.css +47 -11
  232. package/build-style/gallery/style-rtl.css +47 -11
  233. package/build-style/gallery/style.css +47 -11
  234. package/build-style/gallery/theme-rtl.css +47 -11
  235. package/build-style/gallery/theme.css +47 -11
  236. package/build-style/group/editor-rtl.css +47 -11
  237. package/build-style/group/editor.css +47 -11
  238. package/build-style/group/style-rtl.css +47 -11
  239. package/build-style/group/style.css +47 -11
  240. package/build-style/group/theme-rtl.css +47 -11
  241. package/build-style/group/theme.css +47 -11
  242. package/build-style/heading/style-rtl.css +47 -11
  243. package/build-style/heading/style.css +47 -11
  244. package/build-style/html/editor-rtl.css +48 -11
  245. package/build-style/html/editor.css +48 -11
  246. package/build-style/image/editor-rtl.css +47 -11
  247. package/build-style/image/editor.css +47 -11
  248. package/build-style/image/style-rtl.css +47 -11
  249. package/build-style/image/style.css +47 -11
  250. package/build-style/image/theme-rtl.css +47 -11
  251. package/build-style/image/theme.css +47 -11
  252. package/build-style/latest-comments/style-rtl.css +47 -11
  253. package/build-style/latest-comments/style.css +47 -11
  254. package/build-style/latest-posts/editor-rtl.css +47 -11
  255. package/build-style/latest-posts/editor.css +47 -11
  256. package/build-style/latest-posts/style-rtl.css +47 -11
  257. package/build-style/latest-posts/style.css +47 -11
  258. package/build-style/list/style-rtl.css +47 -11
  259. package/build-style/list/style.css +47 -11
  260. package/build-style/loginout/style-rtl.css +47 -11
  261. package/build-style/loginout/style.css +47 -11
  262. package/build-style/media-text/editor-rtl.css +47 -11
  263. package/build-style/media-text/editor.css +47 -11
  264. package/build-style/media-text/style-rtl.css +47 -11
  265. package/build-style/media-text/style.css +47 -11
  266. package/build-style/more/editor-rtl.css +47 -11
  267. package/build-style/more/editor.css +47 -11
  268. package/build-style/navigation/editor-rtl.css +47 -11
  269. package/build-style/navigation/editor.css +47 -11
  270. package/build-style/navigation/style-rtl.css +47 -11
  271. package/build-style/navigation/style.css +47 -11
  272. package/build-style/navigation-link/editor-rtl.css +47 -11
  273. package/build-style/navigation-link/editor.css +47 -11
  274. package/build-style/navigation-link/style-rtl.css +47 -11
  275. package/build-style/navigation-link/style.css +47 -11
  276. package/build-style/navigation-submenu/editor-rtl.css +47 -11
  277. package/build-style/navigation-submenu/editor.css +47 -11
  278. package/build-style/nextpage/editor-rtl.css +47 -11
  279. package/build-style/nextpage/editor.css +47 -11
  280. package/build-style/page-list/editor-rtl.css +47 -11
  281. package/build-style/page-list/editor.css +47 -11
  282. package/build-style/page-list/style-rtl.css +47 -11
  283. package/build-style/page-list/style.css +47 -11
  284. package/build-style/paragraph/editor-rtl.css +47 -11
  285. package/build-style/paragraph/editor.css +47 -11
  286. package/build-style/paragraph/style-rtl.css +47 -11
  287. package/build-style/paragraph/style.css +47 -11
  288. package/build-style/post-author/editor-rtl.css +47 -11
  289. package/build-style/post-author/editor.css +47 -11
  290. package/build-style/post-author/style-rtl.css +47 -11
  291. package/build-style/post-author/style.css +47 -11
  292. package/build-style/post-author-biography/style-rtl.css +47 -11
  293. package/build-style/post-author-biography/style.css +47 -11
  294. package/build-style/post-author-name/style-rtl.css +47 -11
  295. package/build-style/post-author-name/style.css +47 -11
  296. package/build-style/post-comments-count/style-rtl.css +47 -11
  297. package/build-style/post-comments-count/style.css +47 -11
  298. package/build-style/post-comments-form/editor-rtl.css +47 -11
  299. package/build-style/post-comments-form/editor.css +47 -11
  300. package/build-style/post-comments-form/style-rtl.css +47 -14
  301. package/build-style/post-comments-form/style.css +47 -14
  302. package/build-style/post-comments-link/style-rtl.css +47 -11
  303. package/build-style/post-comments-link/style.css +47 -11
  304. package/build-style/post-content/style-rtl.css +47 -11
  305. package/build-style/post-content/style.css +47 -11
  306. package/build-style/post-date/style-rtl.css +47 -11
  307. package/build-style/post-date/style.css +47 -11
  308. package/build-style/post-excerpt/editor-rtl.css +47 -11
  309. package/build-style/post-excerpt/editor.css +47 -11
  310. package/build-style/post-excerpt/style-rtl.css +47 -11
  311. package/build-style/post-excerpt/style.css +47 -11
  312. package/build-style/post-featured-image/editor-rtl.css +47 -11
  313. package/build-style/post-featured-image/editor.css +47 -11
  314. package/build-style/post-featured-image/style-rtl.css +47 -11
  315. package/build-style/post-featured-image/style.css +47 -11
  316. package/build-style/post-navigation-link/style-rtl.css +47 -11
  317. package/build-style/post-navigation-link/style.css +47 -11
  318. package/build-style/post-template/style-rtl.css +47 -11
  319. package/build-style/post-template/style.css +47 -11
  320. package/build-style/post-terms/style-rtl.css +47 -11
  321. package/build-style/post-terms/style.css +47 -11
  322. package/build-style/post-time-to-read/style-rtl.css +47 -11
  323. package/build-style/post-time-to-read/style.css +47 -11
  324. package/build-style/post-title/style-rtl.css +47 -11
  325. package/build-style/post-title/style.css +47 -11
  326. package/build-style/preformatted/style-rtl.css +47 -11
  327. package/build-style/preformatted/style.css +47 -11
  328. package/build-style/pullquote/editor-rtl.css +47 -11
  329. package/build-style/pullquote/editor.css +47 -11
  330. package/build-style/pullquote/style-rtl.css +47 -11
  331. package/build-style/pullquote/style.css +47 -11
  332. package/build-style/pullquote/theme-rtl.css +47 -11
  333. package/build-style/pullquote/theme.css +47 -11
  334. package/build-style/query/editor-rtl.css +47 -11
  335. package/build-style/query/editor.css +47 -11
  336. package/build-style/query-pagination/editor-rtl.css +47 -11
  337. package/build-style/query-pagination/editor.css +47 -11
  338. package/build-style/query-pagination/style-rtl.css +47 -11
  339. package/build-style/query-pagination/style.css +47 -11
  340. package/build-style/query-pagination-numbers/editor-rtl.css +47 -11
  341. package/build-style/query-pagination-numbers/editor.css +47 -11
  342. package/build-style/query-title/style-rtl.css +47 -11
  343. package/build-style/query-title/style.css +47 -11
  344. package/build-style/query-total/style-rtl.css +47 -11
  345. package/build-style/query-total/style.css +47 -11
  346. package/build-style/quote/style-rtl.css +47 -11
  347. package/build-style/quote/style.css +47 -11
  348. package/build-style/quote/theme-rtl.css +47 -11
  349. package/build-style/quote/theme.css +47 -11
  350. package/build-style/read-more/style-rtl.css +47 -11
  351. package/build-style/read-more/style.css +47 -11
  352. package/build-style/reset-rtl.css +47 -11
  353. package/build-style/reset.css +47 -11
  354. package/build-style/rss/editor-rtl.css +47 -11
  355. package/build-style/rss/editor.css +47 -11
  356. package/build-style/rss/style-rtl.css +47 -11
  357. package/build-style/rss/style.css +47 -11
  358. package/build-style/search/editor-rtl.css +47 -11
  359. package/build-style/search/editor.css +47 -11
  360. package/build-style/search/style-rtl.css +47 -11
  361. package/build-style/search/style.css +47 -11
  362. package/build-style/search/theme-rtl.css +47 -11
  363. package/build-style/search/theme.css +47 -11
  364. package/build-style/separator/editor-rtl.css +47 -11
  365. package/build-style/separator/editor.css +47 -11
  366. package/build-style/separator/style-rtl.css +47 -11
  367. package/build-style/separator/style.css +47 -11
  368. package/build-style/separator/theme-rtl.css +47 -11
  369. package/build-style/separator/theme.css +47 -11
  370. package/build-style/shortcode/editor-rtl.css +47 -11
  371. package/build-style/shortcode/editor.css +47 -11
  372. package/build-style/site-logo/editor-rtl.css +47 -11
  373. package/build-style/site-logo/editor.css +47 -11
  374. package/build-style/site-logo/style-rtl.css +47 -11
  375. package/build-style/site-logo/style.css +47 -11
  376. package/build-style/site-tagline/editor-rtl.css +47 -11
  377. package/build-style/site-tagline/editor.css +47 -11
  378. package/build-style/site-tagline/style-rtl.css +47 -11
  379. package/build-style/site-tagline/style.css +47 -11
  380. package/build-style/site-title/editor-rtl.css +47 -11
  381. package/build-style/site-title/editor.css +47 -11
  382. package/build-style/site-title/style-rtl.css +47 -11
  383. package/build-style/site-title/style.css +47 -11
  384. package/build-style/social-link/editor-rtl.css +47 -11
  385. package/build-style/social-link/editor.css +47 -11
  386. package/build-style/social-links/editor-rtl.css +47 -11
  387. package/build-style/social-links/editor.css +47 -11
  388. package/build-style/social-links/style-rtl.css +47 -11
  389. package/build-style/social-links/style.css +47 -11
  390. package/build-style/spacer/editor-rtl.css +47 -11
  391. package/build-style/spacer/editor.css +47 -11
  392. package/build-style/spacer/style-rtl.css +47 -11
  393. package/build-style/spacer/style.css +47 -11
  394. package/build-style/style-rtl.css +50 -15
  395. package/build-style/style.css +50 -15
  396. package/build-style/table/editor-rtl.css +47 -11
  397. package/build-style/table/editor.css +47 -11
  398. package/build-style/table/style-rtl.css +47 -11
  399. package/build-style/table/style.css +47 -11
  400. package/build-style/table/theme-rtl.css +47 -11
  401. package/build-style/table/theme.css +47 -11
  402. package/build-style/table-of-contents/style-rtl.css +47 -11
  403. package/build-style/table-of-contents/style.css +47 -11
  404. package/build-style/tag-cloud/editor-rtl.css +47 -11
  405. package/build-style/tag-cloud/editor.css +47 -11
  406. package/build-style/tag-cloud/style-rtl.css +47 -11
  407. package/build-style/tag-cloud/style.css +47 -11
  408. package/build-style/template-part/editor-rtl.css +47 -11
  409. package/build-style/template-part/editor.css +47 -11
  410. package/build-style/template-part/theme-rtl.css +47 -11
  411. package/build-style/template-part/theme.css +47 -11
  412. package/build-style/term-description/style-rtl.css +47 -11
  413. package/build-style/term-description/style.css +47 -11
  414. package/build-style/text-columns/editor-rtl.css +47 -11
  415. package/build-style/text-columns/editor.css +47 -11
  416. package/build-style/text-columns/style-rtl.css +47 -11
  417. package/build-style/text-columns/style.css +47 -11
  418. package/build-style/theme-rtl.css +47 -11
  419. package/build-style/theme.css +47 -11
  420. package/build-style/verse/style-rtl.css +47 -11
  421. package/build-style/verse/style.css +47 -11
  422. package/build-style/video/editor-rtl.css +47 -11
  423. package/build-style/video/editor.css +47 -11
  424. package/build-style/video/style-rtl.css +47 -11
  425. package/build-style/video/style.css +47 -11
  426. package/build-style/video/theme-rtl.css +47 -11
  427. package/build-style/video/theme.css +47 -11
  428. package/package.json +35 -35
  429. package/src/button/style.scss +0 -1
  430. package/src/buttons/style.scss +5 -0
  431. package/src/calendar/block.json +1 -0
  432. package/src/code/block.json +2 -1
  433. package/src/comments/edit/comments-inspector-controls.js +14 -12
  434. package/src/comments/edit/index.js +2 -1
  435. package/src/cover/edit/inspector-controls.js +9 -12
  436. package/src/details/block.json +2 -1
  437. package/src/group/edit.js +11 -10
  438. package/src/html/block.json +2 -1
  439. package/src/html/editor.scss +1 -0
  440. package/src/image/constants.js +1 -0
  441. package/src/image/edit.js +2 -5
  442. package/src/image/image.js +7 -5
  443. package/src/latest-posts/edit.js +113 -81
  444. package/src/loginout/index.php +5 -1
  445. package/src/more/block.json +2 -1
  446. package/src/navigation/index.php +0 -1
  447. package/src/navigation-link/index.php +1 -1
  448. package/src/navigation-submenu/index.php +1 -1
  449. package/src/post-author/index.php +1 -1
  450. package/src/post-author-name/index.php +1 -1
  451. package/src/post-comments-form/style.scss +0 -5
  452. package/src/post-excerpt/block.json +2 -1
  453. package/src/post-excerpt/edit.js +13 -8
  454. package/src/post-navigation-link/block.json +2 -1
  455. package/src/post-navigation-link/edit.js +13 -8
  456. package/src/post-navigation-link/variations.js +13 -13
  457. package/src/post-template/edit.js +4 -3
  458. package/src/post-terms/block.json +4 -2
  459. package/src/post-terms/edit.js +13 -8
  460. package/src/preformatted/test/__snapshots__/transforms.native.js.snap +6 -0
  461. package/src/preformatted/test/transforms.native.js +6 -1
  462. package/src/preformatted/transforms.js +7 -1
  463. package/src/query/edit/query-content.js +10 -11
  464. package/src/read-more/block.json +2 -1
  465. package/src/rss/block.json +2 -1
  466. package/src/search/edit.js +84 -99
  467. package/src/separator/edit.js +16 -12
  468. package/src/table/block.json +8 -4
  469. package/src/table/edit.js +6 -2
  470. package/src/template-part/edit/advanced-controls.js +9 -8
  471. package/src/template-part/edit/index.js +1 -0
  472. package/src/verse/test/__snapshots__/transforms.native.js.snap +6 -0
  473. package/src/verse/test/transforms.native.js +5 -1
  474. package/build/search/icons.js +0 -121
  475. package/build/search/icons.js.map +0 -1
  476. package/build/utils/messages.js +0 -22
  477. package/build/utils/messages.js.map +0 -1
  478. package/build-module/search/icons.js +0 -114
  479. package/build-module/search/icons.js.map +0 -1
  480. package/build-module/utils/messages.js +0 -15
  481. package/build-module/utils/messages.js.map +0 -1
  482. package/src/search/icons.js +0 -89
  483. package/src/utils/messages.js +0 -31
@@ -14,7 +14,8 @@
14
14
  "caption": {
15
15
  "type": "rich-text",
16
16
  "source": "rich-text",
17
- "selector": "figcaption"
17
+ "selector": "figcaption",
18
+ "role": "content"
18
19
  },
19
20
  "head": {
20
21
  "type": "array",
@@ -30,7 +31,8 @@
30
31
  "query": {
31
32
  "content": {
32
33
  "type": "rich-text",
33
- "source": "rich-text"
34
+ "source": "rich-text",
35
+ "role": "content"
34
36
  },
35
37
  "tag": {
36
38
  "type": "string",
@@ -75,7 +77,8 @@
75
77
  "query": {
76
78
  "content": {
77
79
  "type": "rich-text",
78
- "source": "rich-text"
80
+ "source": "rich-text",
81
+ "role": "content"
79
82
  },
80
83
  "tag": {
81
84
  "type": "string",
@@ -120,7 +123,8 @@
120
123
  "query": {
121
124
  "content": {
122
125
  "type": "rich-text",
123
- "source": "rich-text"
126
+ "source": "rich-text",
127
+ "role": "content"
124
128
  },
125
129
  "tag": {
126
130
  "type": "string",
package/src/table/edit.js CHANGED
@@ -16,6 +16,7 @@ import {
16
16
  useBlockProps,
17
17
  __experimentalUseColorProps as useColorProps,
18
18
  __experimentalUseBorderProps as useBorderProps,
19
+ useBlockEditingMode,
19
20
  } from '@wordpress/block-editor';
20
21
  import { __ } from '@wordpress/i18n';
21
22
  import {
@@ -106,6 +107,7 @@ function TableEdit( {
106
107
 
107
108
  const colorProps = useColorProps( attributes );
108
109
  const borderProps = useBorderProps( attributes );
110
+ const blockEditingMode = useBlockEditingMode();
109
111
 
110
112
  const tableRef = useRef();
111
113
  const [ hasTableCreated, setHasTableCreated ] = useState( false );
@@ -455,7 +457,7 @@ function TableEdit( {
455
457
 
456
458
  return (
457
459
  <figure { ...useBlockProps( { ref: tableRef } ) }>
458
- { ! isEmpty && (
460
+ { ! isEmpty && blockEditingMode === 'default' && (
459
461
  <>
460
462
  <BlockControls group="block">
461
463
  <AlignmentControl
@@ -605,7 +607,9 @@ function TableEdit( {
605
607
  isSelected={ isSingleSelected }
606
608
  insertBlocksAfter={ insertBlocksAfter }
607
609
  label={ __( 'Table caption text' ) }
608
- showToolbarButton={ isSingleSelected }
610
+ showToolbarButton={
611
+ isSingleSelected && blockEditingMode === 'default'
612
+ }
609
613
  />
610
614
  ) }
611
615
  </figure>
@@ -5,12 +5,15 @@ import { useEntityProp, store as coreStore } from '@wordpress/core-data';
5
5
  import { SelectControl, TextControl } from '@wordpress/components';
6
6
  import { sprintf, __ } from '@wordpress/i18n';
7
7
  import { useSelect } from '@wordpress/data';
8
+ import { privateApis as blockEditorPrivateApis } from '@wordpress/block-editor';
8
9
 
9
10
  /**
10
11
  * Internal dependencies
11
12
  */
12
13
  import { TemplatePartImportControls } from './import-controls';
13
- import { htmlElementMessages } from '../../utils/messages';
14
+ import { unlock } from '../../lock-unlock';
15
+
16
+ const { HTMLElementControl } = unlock( blockEditorPrivateApis );
14
17
 
15
18
  export function TemplatePartAdvancedControls( {
16
19
  tagName,
@@ -19,6 +22,7 @@ export function TemplatePartAdvancedControls( {
19
22
  templatePartId,
20
23
  defaultWrapper,
21
24
  hasInnerBlocks,
25
+ clientId,
22
26
  } ) {
23
27
  const [ area, setArea ] = useEntityProp(
24
28
  'postType',
@@ -73,10 +77,10 @@ export function TemplatePartAdvancedControls( {
73
77
  />
74
78
  </>
75
79
  ) }
76
- <SelectControl
77
- __nextHasNoMarginBottom
78
- __next40pxDefaultSize
79
- label={ __( 'HTML element' ) }
80
+ <HTMLElementControl
81
+ tagName={ tagName || '' }
82
+ onChange={ ( value ) => setAttributes( { tagName: value } ) }
83
+ clientId={ clientId }
80
84
  options={ [
81
85
  {
82
86
  label: sprintf(
@@ -94,9 +98,6 @@ export function TemplatePartAdvancedControls( {
94
98
  { label: '<footer>', value: 'footer' },
95
99
  { label: '<div>', value: 'div' },
96
100
  ] }
97
- value={ tagName || '' }
98
- onChange={ ( value ) => setAttributes( { tagName: value } ) }
99
- help={ htmlElementMessages[ tagName ] }
100
101
  />
101
102
  { ! hasInnerBlocks && (
102
103
  <TemplatePartImportControls
@@ -260,6 +260,7 @@ export default function TemplatePartEdit( {
260
260
  templatePartId={ templatePartId }
261
261
  defaultWrapper={ areaObject.tagName }
262
262
  hasInnerBlocks={ hasInnerBlocks }
263
+ clientId={ clientId }
263
264
  />
264
265
  </InspectorControls>
265
266
  ) }
@@ -23,3 +23,9 @@ exports[`Verse block transforms to Paragraph block 1`] = `
23
23
  <p>Come<br />Home.</p>
24
24
  <!-- /wp:paragraph -->"
25
25
  `;
26
+
27
+ exports[`Verse block transforms to Preformatted block 1`] = `
28
+ "<!-- wp:preformatted -->
29
+ <pre class="wp-block-preformatted">Come<br />Home.</pre>
30
+ <!-- /wp:preformatted -->"
31
+ `;
@@ -16,7 +16,11 @@ const initialHtml = `
16
16
  <!-- /wp:verse -->`;
17
17
 
18
18
  const transformsWithInnerBlocks = [ 'Columns', 'Group' ];
19
- const blockTransforms = [ 'Paragraph', ...transformsWithInnerBlocks ];
19
+ const blockTransforms = [
20
+ 'Paragraph',
21
+ 'Preformatted',
22
+ ...transformsWithInnerBlocks,
23
+ ];
20
24
 
21
25
  setupCoreBlocks();
22
26
 
@@ -1,121 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.toggleLabel = exports.noButton = exports.buttonWithIcon = exports.buttonOutside = exports.buttonOnly = exports.buttonInside = void 0;
7
- var _components = require("@wordpress/components");
8
- var _jsxRuntime = require("react/jsx-runtime");
9
- /**
10
- * WordPress dependencies
11
- */
12
-
13
- const buttonOnly = exports.buttonOnly = /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.SVG, {
14
- xmlns: "http://www.w3.org/2000/svg",
15
- viewBox: "0 0 24 24",
16
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Rect, {
17
- x: "7",
18
- y: "10",
19
- width: "10",
20
- height: "4",
21
- rx: "1",
22
- fill: "currentColor"
23
- })
24
- });
25
- const buttonOutside = exports.buttonOutside = /*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.SVG, {
26
- xmlns: "http://www.w3.org/2000/svg",
27
- viewBox: "0 0 24 24",
28
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Rect, {
29
- x: "4.75",
30
- y: "15.25",
31
- width: "6.5",
32
- height: "9.5",
33
- transform: "rotate(-90 4.75 15.25)",
34
- stroke: "currentColor",
35
- strokeWidth: "1.5",
36
- fill: "none"
37
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Rect, {
38
- x: "16",
39
- y: "10",
40
- width: "4",
41
- height: "4",
42
- rx: "1",
43
- fill: "currentColor"
44
- })]
45
- });
46
- const buttonInside = exports.buttonInside = /*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.SVG, {
47
- xmlns: "http://www.w3.org/2000/svg",
48
- viewBox: "0 0 24 24",
49
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Rect, {
50
- x: "4.75",
51
- y: "15.25",
52
- width: "6.5",
53
- height: "14.5",
54
- transform: "rotate(-90 4.75 15.25)",
55
- stroke: "currentColor",
56
- strokeWidth: "1.5",
57
- fill: "none"
58
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Rect, {
59
- x: "14",
60
- y: "10",
61
- width: "4",
62
- height: "4",
63
- rx: "1",
64
- fill: "currentColor"
65
- })]
66
- });
67
- const noButton = exports.noButton = /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.SVG, {
68
- xmlns: "http://www.w3.org/2000/svg",
69
- viewBox: "0 0 24 24",
70
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Rect, {
71
- x: "4.75",
72
- y: "15.25",
73
- width: "6.5",
74
- height: "14.5",
75
- transform: "rotate(-90 4.75 15.25)",
76
- stroke: "currentColor",
77
- fill: "none",
78
- strokeWidth: "1.5"
79
- })
80
- });
81
- const buttonWithIcon = exports.buttonWithIcon = /*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.SVG, {
82
- xmlns: "http://www.w3.org/2000/svg",
83
- viewBox: "0 0 24 24",
84
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Rect, {
85
- x: "4.75",
86
- y: "7.75",
87
- width: "14.5",
88
- height: "8.5",
89
- rx: "1.25",
90
- stroke: "currentColor",
91
- fill: "none",
92
- strokeWidth: "1.5"
93
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Rect, {
94
- x: "8",
95
- y: "11",
96
- width: "8",
97
- height: "2",
98
- fill: "currentColor"
99
- })]
100
- });
101
- const toggleLabel = exports.toggleLabel = /*#__PURE__*/(0, _jsxRuntime.jsxs)(_components.SVG, {
102
- xmlns: "http://www.w3.org/2000/svg",
103
- viewBox: "0 0 24 24",
104
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Rect, {
105
- x: "4.75",
106
- y: "17.25",
107
- width: "5.5",
108
- height: "14.5",
109
- transform: "rotate(-90 4.75 17.25)",
110
- stroke: "currentColor",
111
- fill: "none",
112
- strokeWidth: "1.5"
113
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Rect, {
114
- x: "4",
115
- y: "7",
116
- width: "10",
117
- height: "2",
118
- fill: "currentColor"
119
- })]
120
- });
121
- //# sourceMappingURL=icons.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_components","require","_jsxRuntime","buttonOnly","exports","jsx","SVG","xmlns","viewBox","children","Rect","x","y","width","height","rx","fill","buttonOutside","jsxs","transform","stroke","strokeWidth","buttonInside","noButton","buttonWithIcon","toggleLabel"],"sources":["@wordpress/block-library/src/search/icons.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { SVG, Rect } from '@wordpress/components';\n\nexport const buttonOnly = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect x=\"7\" y=\"10\" width=\"10\" height=\"4\" rx=\"1\" fill=\"currentColor\" />\n\t</SVG>\n);\n\nexport const buttonOutside = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect\n\t\t\tx=\"4.75\"\n\t\t\ty=\"15.25\"\n\t\t\twidth=\"6.5\"\n\t\t\theight=\"9.5\"\n\t\t\ttransform=\"rotate(-90 4.75 15.25)\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tstrokeWidth=\"1.5\"\n\t\t\tfill=\"none\"\n\t\t/>\n\t\t<Rect x=\"16\" y=\"10\" width=\"4\" height=\"4\" rx=\"1\" fill=\"currentColor\" />\n\t</SVG>\n);\n\nexport const buttonInside = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect\n\t\t\tx=\"4.75\"\n\t\t\ty=\"15.25\"\n\t\t\twidth=\"6.5\"\n\t\t\theight=\"14.5\"\n\t\t\ttransform=\"rotate(-90 4.75 15.25)\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tstrokeWidth=\"1.5\"\n\t\t\tfill=\"none\"\n\t\t/>\n\t\t<Rect x=\"14\" y=\"10\" width=\"4\" height=\"4\" rx=\"1\" fill=\"currentColor\" />\n\t</SVG>\n);\n\nexport const noButton = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect\n\t\t\tx=\"4.75\"\n\t\t\ty=\"15.25\"\n\t\t\twidth=\"6.5\"\n\t\t\theight=\"14.5\"\n\t\t\ttransform=\"rotate(-90 4.75 15.25)\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tfill=\"none\"\n\t\t\tstrokeWidth=\"1.5\"\n\t\t/>\n\t</SVG>\n);\n\nexport const buttonWithIcon = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect\n\t\t\tx=\"4.75\"\n\t\t\ty=\"7.75\"\n\t\t\twidth=\"14.5\"\n\t\t\theight=\"8.5\"\n\t\t\trx=\"1.25\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tfill=\"none\"\n\t\t\tstrokeWidth=\"1.5\"\n\t\t/>\n\t\t<Rect x=\"8\" y=\"11\" width=\"8\" height=\"2\" fill=\"currentColor\" />\n\t</SVG>\n);\n\nexport const toggleLabel = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect\n\t\t\tx=\"4.75\"\n\t\t\ty=\"17.25\"\n\t\t\twidth=\"5.5\"\n\t\t\theight=\"14.5\"\n\t\t\ttransform=\"rotate(-90 4.75 17.25)\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tfill=\"none\"\n\t\t\tstrokeWidth=\"1.5\"\n\t\t/>\n\t\t<Rect x=\"4\" y=\"7\" width=\"10\" height=\"2\" fill=\"currentColor\" />\n\t</SVG>\n);\n"],"mappings":";;;;;;AAGA,IAAAA,WAAA,GAAAC,OAAA;AAAkD,IAAAC,WAAA,GAAAD,OAAA;AAHlD;AACA;AACA;;AAGO,MAAME,UAAU,GAAAC,OAAA,CAAAD,UAAA,gBACtB,IAAAD,WAAA,CAAAG,GAAA,EAACL,WAAA,CAAAM,GAAG;EAACC,KAAK,EAAC,4BAA4B;EAACC,OAAO,EAAC,WAAW;EAAAC,QAAA,eA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IAAAnB,WAAA,CAAAG,GAAA,EAACL,WAAA,CAAAU,IAAI;IAACC,CAAC,EAAC,GAAG;IAACC,CAAC,EAAC,IAAI;IAACC,KAAK,EAAC,GAAG;IAACC,MAAM,EAAC,GAAG;IAACE,IAAI,EAAC;EAAc,CAAE,CAAC;AAAA,CAC1D,CACL;AAEM,MAAMS,WAAW,GAAArB,OAAA,CAAAqB,WAAA,gBACvB,IAAAvB,WAAA,CAAAgB,IAAA,EAAClB,WAAA,CAAAM,GAAG;EAACC,KAAK,EAAC,4BAA4B;EAACC,OAAO,EAAC,WAAW;EAAAC,QAAA,gBAC1D,IAAAP,WAAA,CAAAG,GAAA,EAACL,WAAA,CAAAU,IAAI;IACJC,CAAC,EAAC,MAAM;IACRC,CAAC,EAAC,OAAO;IACTC,KAAK,EAAC,KAAK;IACXC,MAAM,EAAC,MAAM;IACbK,SAAS,EAAC,wBAAwB;IAClCC,MAAM,EAAC,cAAc;IACrBJ,IAAI,EAAC,MAAM;IACXK,WAAW,EAAC;EAAK,CACjB,CAAC,eACF,IAAAnB,WAAA,CAAAG,GAAA,EAACL,WAAA,CAAAU,IAAI;IAACC,CAAC,EAAC,GAAG;IAACC,CAAC,EAAC,GAAG;IAACC,KAAK,EAAC,IAAI;IAACC,MAAM,EAAC,GAAG;IAACE,IAAI,EAAC;EAAc,CAAE,CAAC;AAAA,CAC1D,CACL","ignoreList":[]}
@@ -1,22 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.htmlElementMessages = void 0;
7
- var _i18n = require("@wordpress/i18n");
8
- /**
9
- * WordPress dependencies
10
- */
11
-
12
- const htmlElementMessages = exports.htmlElementMessages = {
13
- article: (0, _i18n.__)('The <article> element should represent a self-contained, syndicatable portion of the document.'),
14
- aside: (0, _i18n.__)("The <aside> element should represent a portion of a document whose content is only indirectly related to the document's main content."),
15
- div: (0, _i18n.__)('The <div> element should only be used if the block is a design element with no semantic meaning.'),
16
- footer: (0, _i18n.__)('The <footer> element should represent a footer for its nearest sectioning element (e.g.: <section>, <article>, <main> etc.).'),
17
- header: (0, _i18n.__)('The <header> element should represent introductory content, typically a group of introductory or navigational aids.'),
18
- main: (0, _i18n.__)('The <main> element should be used for the primary content of your document only.'),
19
- nav: (0, _i18n.__)('The <nav> element should be used to identify groups of links that are intended to be used for website or page content navigation.'),
20
- section: (0, _i18n.__)("The <section> element should represent a standalone portion of the document that can't be better represented by another element.")
21
- };
22
- //# sourceMappingURL=messages.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_i18n","require","htmlElementMessages","exports","article","__","aside","div","footer","header","main","nav","section"],"sources":["@wordpress/block-library/src/utils/messages.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\n\nexport const htmlElementMessages = {\n\tarticle: __(\n\t\t'The <article> element should represent a self-contained, syndicatable portion of the document.'\n\t),\n\taside: __(\n\t\t\"The <aside> element should represent a portion of a document whose content is only indirectly related to the document's main content.\"\n\t),\n\tdiv: __(\n\t\t'The <div> element should only be used if the block is a design element with no semantic meaning.'\n\t),\n\tfooter: __(\n\t\t'The <footer> element should represent a footer for its nearest sectioning element (e.g.: <section>, <article>, <main> etc.).'\n\t),\n\theader: __(\n\t\t'The <header> element should represent introductory content, typically a group of introductory or navigational aids.'\n\t),\n\tmain: __(\n\t\t'The <main> element should be used for the primary content of your document only.'\n\t),\n\tnav: __(\n\t\t'The <nav> element should be used to identify groups of links that are intended to be used for website or page content navigation.'\n\t),\n\tsection: __(\n\t\t\"The <section> element should represent a standalone portion of the document that can't be better represented by another element.\"\n\t),\n};\n"],"mappings":";;;;;;AAGA,IAAAA,KAAA,GAAAC,OAAA;AAHA;AACA;AACA;;AAGO,MAAMC,mBAAmB,GAAAC,OAAA,CAAAD,mBAAA,GAAG;EAClCE,OAAO,EAAE,IAAAC,QAAE,EACV,gGACD,CAAC;EACDC,KAAK,EAAE,IAAAD,QAAE,EACR,uIACD,CAAC;EACDE,GAAG,EAAE,IAAAF,QAAE,EACN,kGACD,CAAC;EACDG,MAAM,EAAE,IAAAH,QAAE,EACT,8HACD,CAAC;EACDI,MAAM,EAAE,IAAAJ,QAAE,EACT,qHACD,CAAC;EACDK,IAAI,EAAE,IAAAL,QAAE,EACP,kFACD,CAAC;EACDM,GAAG,EAAE,IAAAN,QAAE,EACN,mIACD,CAAC;EACDO,OAAO,EAAE,IAAAP,QAAE,EACV,kIACD;AACD,CAAC","ignoreList":[]}
@@ -1,114 +0,0 @@
1
- /**
2
- * WordPress dependencies
3
- */
4
- import { SVG, Rect } from '@wordpress/components';
5
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
6
- export const buttonOnly = /*#__PURE__*/_jsx(SVG, {
7
- xmlns: "http://www.w3.org/2000/svg",
8
- viewBox: "0 0 24 24",
9
- children: /*#__PURE__*/_jsx(Rect, {
10
- x: "7",
11
- y: "10",
12
- width: "10",
13
- height: "4",
14
- rx: "1",
15
- fill: "currentColor"
16
- })
17
- });
18
- export const buttonOutside = /*#__PURE__*/_jsxs(SVG, {
19
- xmlns: "http://www.w3.org/2000/svg",
20
- viewBox: "0 0 24 24",
21
- children: [/*#__PURE__*/_jsx(Rect, {
22
- x: "4.75",
23
- y: "15.25",
24
- width: "6.5",
25
- height: "9.5",
26
- transform: "rotate(-90 4.75 15.25)",
27
- stroke: "currentColor",
28
- strokeWidth: "1.5",
29
- fill: "none"
30
- }), /*#__PURE__*/_jsx(Rect, {
31
- x: "16",
32
- y: "10",
33
- width: "4",
34
- height: "4",
35
- rx: "1",
36
- fill: "currentColor"
37
- })]
38
- });
39
- export const buttonInside = /*#__PURE__*/_jsxs(SVG, {
40
- xmlns: "http://www.w3.org/2000/svg",
41
- viewBox: "0 0 24 24",
42
- children: [/*#__PURE__*/_jsx(Rect, {
43
- x: "4.75",
44
- y: "15.25",
45
- width: "6.5",
46
- height: "14.5",
47
- transform: "rotate(-90 4.75 15.25)",
48
- stroke: "currentColor",
49
- strokeWidth: "1.5",
50
- fill: "none"
51
- }), /*#__PURE__*/_jsx(Rect, {
52
- x: "14",
53
- y: "10",
54
- width: "4",
55
- height: "4",
56
- rx: "1",
57
- fill: "currentColor"
58
- })]
59
- });
60
- export const noButton = /*#__PURE__*/_jsx(SVG, {
61
- xmlns: "http://www.w3.org/2000/svg",
62
- viewBox: "0 0 24 24",
63
- children: /*#__PURE__*/_jsx(Rect, {
64
- x: "4.75",
65
- y: "15.25",
66
- width: "6.5",
67
- height: "14.5",
68
- transform: "rotate(-90 4.75 15.25)",
69
- stroke: "currentColor",
70
- fill: "none",
71
- strokeWidth: "1.5"
72
- })
73
- });
74
- export const buttonWithIcon = /*#__PURE__*/_jsxs(SVG, {
75
- xmlns: "http://www.w3.org/2000/svg",
76
- viewBox: "0 0 24 24",
77
- children: [/*#__PURE__*/_jsx(Rect, {
78
- x: "4.75",
79
- y: "7.75",
80
- width: "14.5",
81
- height: "8.5",
82
- rx: "1.25",
83
- stroke: "currentColor",
84
- fill: "none",
85
- strokeWidth: "1.5"
86
- }), /*#__PURE__*/_jsx(Rect, {
87
- x: "8",
88
- y: "11",
89
- width: "8",
90
- height: "2",
91
- fill: "currentColor"
92
- })]
93
- });
94
- export const toggleLabel = /*#__PURE__*/_jsxs(SVG, {
95
- xmlns: "http://www.w3.org/2000/svg",
96
- viewBox: "0 0 24 24",
97
- children: [/*#__PURE__*/_jsx(Rect, {
98
- x: "4.75",
99
- y: "17.25",
100
- width: "5.5",
101
- height: "14.5",
102
- transform: "rotate(-90 4.75 17.25)",
103
- stroke: "currentColor",
104
- fill: "none",
105
- strokeWidth: "1.5"
106
- }), /*#__PURE__*/_jsx(Rect, {
107
- x: "4",
108
- y: "7",
109
- width: "10",
110
- height: "2",
111
- fill: "currentColor"
112
- })]
113
- });
114
- //# sourceMappingURL=icons.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["SVG","Rect","jsx","_jsx","jsxs","_jsxs","buttonOnly","xmlns","viewBox","children","x","y","width","height","rx","fill","buttonOutside","transform","stroke","strokeWidth","buttonInside","noButton","buttonWithIcon","toggleLabel"],"sources":["@wordpress/block-library/src/search/icons.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { SVG, Rect } from '@wordpress/components';\n\nexport const buttonOnly = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect x=\"7\" y=\"10\" width=\"10\" height=\"4\" rx=\"1\" fill=\"currentColor\" />\n\t</SVG>\n);\n\nexport const buttonOutside = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect\n\t\t\tx=\"4.75\"\n\t\t\ty=\"15.25\"\n\t\t\twidth=\"6.5\"\n\t\t\theight=\"9.5\"\n\t\t\ttransform=\"rotate(-90 4.75 15.25)\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tstrokeWidth=\"1.5\"\n\t\t\tfill=\"none\"\n\t\t/>\n\t\t<Rect x=\"16\" y=\"10\" width=\"4\" height=\"4\" rx=\"1\" fill=\"currentColor\" />\n\t</SVG>\n);\n\nexport const buttonInside = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect\n\t\t\tx=\"4.75\"\n\t\t\ty=\"15.25\"\n\t\t\twidth=\"6.5\"\n\t\t\theight=\"14.5\"\n\t\t\ttransform=\"rotate(-90 4.75 15.25)\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tstrokeWidth=\"1.5\"\n\t\t\tfill=\"none\"\n\t\t/>\n\t\t<Rect x=\"14\" y=\"10\" width=\"4\" height=\"4\" rx=\"1\" fill=\"currentColor\" />\n\t</SVG>\n);\n\nexport const noButton = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect\n\t\t\tx=\"4.75\"\n\t\t\ty=\"15.25\"\n\t\t\twidth=\"6.5\"\n\t\t\theight=\"14.5\"\n\t\t\ttransform=\"rotate(-90 4.75 15.25)\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tfill=\"none\"\n\t\t\tstrokeWidth=\"1.5\"\n\t\t/>\n\t</SVG>\n);\n\nexport const buttonWithIcon = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect\n\t\t\tx=\"4.75\"\n\t\t\ty=\"7.75\"\n\t\t\twidth=\"14.5\"\n\t\t\theight=\"8.5\"\n\t\t\trx=\"1.25\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tfill=\"none\"\n\t\t\tstrokeWidth=\"1.5\"\n\t\t/>\n\t\t<Rect x=\"8\" y=\"11\" width=\"8\" height=\"2\" fill=\"currentColor\" />\n\t</SVG>\n);\n\nexport const toggleLabel = (\n\t<SVG xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\">\n\t\t<Rect\n\t\t\tx=\"4.75\"\n\t\t\ty=\"17.25\"\n\t\t\twidth=\"5.5\"\n\t\t\theight=\"14.5\"\n\t\t\ttransform=\"rotate(-90 4.75 17.25)\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tfill=\"none\"\n\t\t\tstrokeWidth=\"1.5\"\n\t\t/>\n\t\t<Rect x=\"4\" y=\"7\" width=\"10\" height=\"2\" fill=\"currentColor\" />\n\t</SVG>\n);\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,GAAG,EAAEC,IAAI,QAAQ,uBAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAElD,OAAO,MAAMC,UAAU,gBACtBH,IAAA,CAACH,GAAG;EAACO,KAAK,EAAC,4BAA4B;EAACC,OAAO,EAAC,WAAW;EAAAC,QAAA,eAC1DN,IAAA,CAACF,IAAI;IAACS,CAAC,EAAC,GAAG;IAACC,CAAC,EAAC,IAAI;IAACC,KAAK,EAAC,IAAI;IAACC,MAAM,EAAC,GAAG;IAACC,EAAE,EAAC,GAAG;IAACC,IA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AK,EAAC,IAAI;IAACC,MAAM,EAAC,GAAG;IAACE,IAAI,EAAC;EAAc,CAAE,CAAC;AAAA,CAC1D,CACL","ignoreList":[]}
@@ -1,15 +0,0 @@
1
- /**
2
- * WordPress dependencies
3
- */
4
- import { __ } from '@wordpress/i18n';
5
- export const htmlElementMessages = {
6
- article: __('The <article> element should represent a self-contained, syndicatable portion of the document.'),
7
- aside: __("The <aside> element should represent a portion of a document whose content is only indirectly related to the document's main content."),
8
- div: __('The <div> element should only be used if the block is a design element with no semantic meaning.'),
9
- footer: __('The <footer> element should represent a footer for its nearest sectioning element (e.g.: <section>, <article>, <main> etc.).'),
10
- header: __('The <header> element should represent introductory content, typically a group of introductory or navigational aids.'),
11
- main: __('The <main> element should be used for the primary content of your document only.'),
12
- nav: __('The <nav> element should be used to identify groups of links that are intended to be used for website or page content navigation.'),
13
- section: __("The <section> element should represent a standalone portion of the document that can't be better represented by another element.")
14
- };
15
- //# sourceMappingURL=messages.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["__","htmlElementMessages","article","aside","div","footer","header","main","nav","section"],"sources":["@wordpress/block-library/src/utils/messages.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\n\nexport const htmlElementMessages = {\n\tarticle: __(\n\t\t'The <article> element should represent a self-contained, syndicatable portion of the document.'\n\t),\n\taside: __(\n\t\t\"The <aside> element should represent a portion of a document whose content is only indirectly related to the document's main content.\"\n\t),\n\tdiv: __(\n\t\t'The <div> element should only be used if the block is a design element with no semantic meaning.'\n\t),\n\tfooter: __(\n\t\t'The <footer> element should represent a footer for its nearest sectioning element (e.g.: <section>, <article>, <main> etc.).'\n\t),\n\theader: __(\n\t\t'The <header> element should represent introductory content, typically a group of introductory or navigational aids.'\n\t),\n\tmain: __(\n\t\t'The <main> element should be used for the primary content of your document only.'\n\t),\n\tnav: __(\n\t\t'The <nav> element should be used to identify groups of links that are intended to be used for website or page content navigation.'\n\t),\n\tsection: __(\n\t\t\"The <section> element should represent a standalone portion of the document that can't be better represented by another element.\"\n\t),\n};\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,EAAE,QAAQ,iBAAiB;AAEpC,OAAO,MAAMC,mBAAmB,GAAG;EAClCC,OAAO,EAAEF,EAAE,CACV,gGACD,CAAC;EACDG,KAAK,EAAEH,EAAE,CACR,uIACD,CAAC;EACDI,GAAG,EAAEJ,EAAE,CACN,kGACD,CAAC;EACDK,MAAM,EAAEL,EAAE,CACT,8HACD,CAAC;EACDM,MAAM,EAAEN,EAAE,CACT,qHACD,CAAC;EACDO,IAAI,EAAEP,EAAE,CACP,kFACD,CAAC;EACDQ,GAAG,EAAER,EAAE,CACN,mIACD,CAAC;EACDS,OAAO,EAAET,EAAE,CACV,kIACD;AACD,CAAC","ignoreList":[]}
@@ -1,89 +0,0 @@
1
- /**
2
- * WordPress dependencies
3
- */
4
- import { SVG, Rect } from '@wordpress/components';
5
-
6
- export const buttonOnly = (
7
- <SVG xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
8
- <Rect x="7" y="10" width="10" height="4" rx="1" fill="currentColor" />
9
- </SVG>
10
- );
11
-
12
- export const buttonOutside = (
13
- <SVG xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
14
- <Rect
15
- x="4.75"
16
- y="15.25"
17
- width="6.5"
18
- height="9.5"
19
- transform="rotate(-90 4.75 15.25)"
20
- stroke="currentColor"
21
- strokeWidth="1.5"
22
- fill="none"
23
- />
24
- <Rect x="16" y="10" width="4" height="4" rx="1" fill="currentColor" />
25
- </SVG>
26
- );
27
-
28
- export const buttonInside = (
29
- <SVG xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
30
- <Rect
31
- x="4.75"
32
- y="15.25"
33
- width="6.5"
34
- height="14.5"
35
- transform="rotate(-90 4.75 15.25)"
36
- stroke="currentColor"
37
- strokeWidth="1.5"
38
- fill="none"
39
- />
40
- <Rect x="14" y="10" width="4" height="4" rx="1" fill="currentColor" />
41
- </SVG>
42
- );
43
-
44
- export const noButton = (
45
- <SVG xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
46
- <Rect
47
- x="4.75"
48
- y="15.25"
49
- width="6.5"
50
- height="14.5"
51
- transform="rotate(-90 4.75 15.25)"
52
- stroke="currentColor"
53
- fill="none"
54
- strokeWidth="1.5"
55
- />
56
- </SVG>
57
- );
58
-
59
- export const buttonWithIcon = (
60
- <SVG xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
61
- <Rect
62
- x="4.75"
63
- y="7.75"
64
- width="14.5"
65
- height="8.5"
66
- rx="1.25"
67
- stroke="currentColor"
68
- fill="none"
69
- strokeWidth="1.5"
70
- />
71
- <Rect x="8" y="11" width="8" height="2" fill="currentColor" />
72
- </SVG>
73
- );
74
-
75
- export const toggleLabel = (
76
- <SVG xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
77
- <Rect
78
- x="4.75"
79
- y="17.25"
80
- width="5.5"
81
- height="14.5"
82
- transform="rotate(-90 4.75 17.25)"
83
- stroke="currentColor"
84
- fill="none"
85
- strokeWidth="1.5"
86
- />
87
- <Rect x="4" y="7" width="10" height="2" fill="currentColor" />
88
- </SVG>
89
- );
@@ -1,31 +0,0 @@
1
- /**
2
- * WordPress dependencies
3
- */
4
- import { __ } from '@wordpress/i18n';
5
-
6
- export const htmlElementMessages = {
7
- article: __(
8
- 'The <article> element should represent a self-contained, syndicatable portion of the document.'
9
- ),
10
- aside: __(
11
- "The <aside> element should represent a portion of a document whose content is only indirectly related to the document's main content."
12
- ),
13
- div: __(
14
- 'The <div> element should only be used if the block is a design element with no semantic meaning.'
15
- ),
16
- footer: __(
17
- 'The <footer> element should represent a footer for its nearest sectioning element (e.g.: <section>, <article>, <main> etc.).'
18
- ),
19
- header: __(
20
- 'The <header> element should represent introductory content, typically a group of introductory or navigational aids.'
21
- ),
22
- main: __(
23
- 'The <main> element should be used for the primary content of your document only.'
24
- ),
25
- nav: __(
26
- 'The <nav> element should be used to identify groups of links that are intended to be used for website or page content navigation.'
27
- ),
28
- section: __(
29
- "The <section> element should represent a standalone portion of the document that can't be better represented by another element."
30
- ),
31
- };