@wordpress/block-library 9.14.0 → 9.15.1

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 (344) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/LICENSE.md +1 -1
  3. package/build/archives/edit.js +83 -36
  4. package/build/archives/edit.js.map +1 -1
  5. package/build/button/deprecated.js +182 -1
  6. package/build/button/deprecated.js.map +1 -1
  7. package/build/button/edit.js +47 -25
  8. package/build/button/edit.js.map +1 -1
  9. package/build/button/index.js +8 -2
  10. package/build/button/index.js.map +1 -1
  11. package/build/button/save.js +8 -5
  12. package/build/button/save.js.map +1 -1
  13. package/build/column/edit.js +33 -13
  14. package/build/column/edit.js.map +1 -1
  15. package/build/columns/edit.js +50 -27
  16. package/build/columns/edit.js.map +1 -1
  17. package/build/comments/index.js +1 -0
  18. package/build/comments/index.js.map +1 -1
  19. package/build/cover/edit/index.js +9 -3
  20. package/build/cover/edit/index.js.map +1 -1
  21. package/build/cover/edit.native.js +1 -1
  22. package/build/cover/edit.native.js.map +1 -1
  23. package/build/details/edit.js +29 -7
  24. package/build/details/edit.js.map +1 -1
  25. package/build/image/transforms.js +1 -0
  26. package/build/image/transforms.js.map +1 -1
  27. package/build/latest-posts/deprecated.js +12 -0
  28. package/build/latest-posts/deprecated.js.map +1 -1
  29. package/build/latest-posts/index.js +12 -0
  30. package/build/latest-posts/index.js.map +1 -1
  31. package/build/loginout/edit.js +42 -13
  32. package/build/loginout/edit.js.map +1 -1
  33. package/build/media-text/edit.js +59 -31
  34. package/build/media-text/edit.js.map +1 -1
  35. package/build/more/edit.js +28 -7
  36. package/build/more/edit.js.map +1 -1
  37. package/build/navigation/edit/navigation-menu-selector.js +5 -3
  38. package/build/navigation/edit/navigation-menu-selector.js.map +1 -1
  39. package/build/navigation-link/edit.js +95 -55
  40. package/build/navigation-link/edit.js.map +1 -1
  41. package/build/navigation-submenu/edit.js +105 -53
  42. package/build/navigation-submenu/edit.js.map +1 -1
  43. package/build/page-list/edit.js +44 -25
  44. package/build/page-list/edit.js.map +1 -1
  45. package/build/paragraph/edit.js +14 -4
  46. package/build/paragraph/edit.js.map +1 -1
  47. package/build/post-author/edit.js +15 -3
  48. package/build/post-author/edit.js.map +1 -1
  49. package/build/post-author/index.js +4 -2
  50. package/build/post-author/index.js.map +1 -1
  51. package/build/post-author-name/edit.js +11 -5
  52. package/build/post-author-name/edit.js.map +1 -1
  53. package/build/post-author-name/index.js +4 -2
  54. package/build/post-author-name/index.js.map +1 -1
  55. package/build/post-comments-form/index.js +6 -1
  56. package/build/post-comments-form/index.js.map +1 -1
  57. package/build/post-comments-link/index.js +8 -1
  58. package/build/post-comments-link/index.js.map +1 -1
  59. package/build/post-date/edit.js +58 -18
  60. package/build/post-date/edit.js.map +1 -1
  61. package/build/post-date/index.js +2 -1
  62. package/build/post-date/index.js.map +1 -1
  63. package/build/post-excerpt/edit.js +42 -18
  64. package/build/post-excerpt/edit.js.map +1 -1
  65. package/build/post-featured-image/dimension-controls.js +17 -19
  66. package/build/post-featured-image/dimension-controls.js.map +1 -1
  67. package/build/post-featured-image/edit.js +45 -11
  68. package/build/post-featured-image/edit.js.map +1 -1
  69. package/build/post-featured-image/index.js +6 -3
  70. package/build/post-featured-image/index.js.map +1 -1
  71. package/build/post-navigation-link/index.js +11 -7
  72. package/build/post-navigation-link/index.js.map +1 -1
  73. package/build/post-navigation-link/variations.js +2 -2
  74. package/build/post-navigation-link/variations.js.map +1 -1
  75. package/build/post-template/index.js +11 -1
  76. package/build/post-template/index.js.map +1 -1
  77. package/build/post-title/index.js +6 -3
  78. package/build/post-title/index.js.map +1 -1
  79. package/build/query-no-results/index.js +10 -9
  80. package/build/query-no-results/index.js.map +1 -1
  81. package/build/query-pagination/edit.js +47 -17
  82. package/build/query-pagination/edit.js.map +1 -1
  83. package/build/query-pagination/query-pagination-label-control.js +1 -1
  84. package/build/query-pagination/query-pagination-label-control.js.map +1 -1
  85. package/build/query-pagination-numbers/edit.js +33 -15
  86. package/build/query-pagination-numbers/edit.js.map +1 -1
  87. package/build/query-total/edit.js +8 -10
  88. package/build/query-total/edit.js.map +1 -1
  89. package/build/query-total/index.js +8 -1
  90. package/build/query-total/index.js.map +1 -1
  91. package/build/read-more/index.js +7 -1
  92. package/build/read-more/index.js.map +1 -1
  93. package/build/site-logo/index.js +4 -2
  94. package/build/site-logo/index.js.map +1 -1
  95. package/build/site-title/edit.js +41 -12
  96. package/build/site-title/edit.js.map +1 -1
  97. package/build/site-title/index.js +4 -2
  98. package/build/site-title/index.js.map +1 -1
  99. package/build/social-link/edit.js +19 -3
  100. package/build/social-link/edit.js.map +1 -1
  101. package/build/social-links/edit.js +41 -12
  102. package/build/social-links/edit.js.map +1 -1
  103. package/build/spacer/controls.js +34 -12
  104. package/build/spacer/controls.js.map +1 -1
  105. package/build/table/edit.js +48 -15
  106. package/build/table/edit.js.map +1 -1
  107. package/build/table/index.js +4 -1
  108. package/build/table/index.js.map +1 -1
  109. package/build/table-of-contents/edit.js +1 -1
  110. package/build/table-of-contents/edit.js.map +1 -1
  111. package/build/table-of-contents/index.js +24 -23
  112. package/build/table-of-contents/index.js.map +1 -1
  113. package/build/tag-cloud/edit.js +56 -11
  114. package/build/tag-cloud/edit.js.map +1 -1
  115. package/build/video/edit-common-settings.js +90 -30
  116. package/build/video/edit-common-settings.js.map +1 -1
  117. package/build/video/edit.js +20 -49
  118. package/build/video/edit.js.map +1 -1
  119. package/build/video/poster-image.js +81 -0
  120. package/build/video/poster-image.js.map +1 -0
  121. package/build/video/tracks-editor.js +1 -1
  122. package/build/video/tracks-editor.js.map +1 -1
  123. package/build-module/archives/edit.js +84 -37
  124. package/build-module/archives/edit.js.map +1 -1
  125. package/build-module/button/deprecated.js +183 -2
  126. package/build-module/button/deprecated.js.map +1 -1
  127. package/build-module/button/edit.js +50 -28
  128. package/build-module/button/edit.js.map +1 -1
  129. package/build-module/button/index.js +8 -2
  130. package/build-module/button/index.js.map +1 -1
  131. package/build-module/button/save.js +9 -6
  132. package/build-module/button/save.js.map +1 -1
  133. package/build-module/column/edit.js +34 -14
  134. package/build-module/column/edit.js.map +1 -1
  135. package/build-module/columns/edit.js +52 -29
  136. package/build-module/columns/edit.js.map +1 -1
  137. package/build-module/comments/index.js +1 -0
  138. package/build-module/comments/index.js.map +1 -1
  139. package/build-module/cover/edit/index.js +9 -3
  140. package/build-module/cover/edit/index.js.map +1 -1
  141. package/build-module/cover/edit.native.js +2 -2
  142. package/build-module/cover/edit.native.js.map +1 -1
  143. package/build-module/details/edit.js +30 -8
  144. package/build-module/details/edit.js.map +1 -1
  145. package/build-module/image/transforms.js +1 -0
  146. package/build-module/image/transforms.js.map +1 -1
  147. package/build-module/latest-posts/deprecated.js +12 -0
  148. package/build-module/latest-posts/deprecated.js.map +1 -1
  149. package/build-module/latest-posts/index.js +12 -0
  150. package/build-module/latest-posts/index.js.map +1 -1
  151. package/build-module/loginout/edit.js +42 -14
  152. package/build-module/loginout/edit.js.map +1 -1
  153. package/build-module/media-text/edit.js +59 -31
  154. package/build-module/media-text/edit.js.map +1 -1
  155. package/build-module/more/edit.js +28 -8
  156. package/build-module/more/edit.js.map +1 -1
  157. package/build-module/navigation/edit/navigation-menu-selector.js +5 -3
  158. package/build-module/navigation/edit/navigation-menu-selector.js.map +1 -1
  159. package/build-module/navigation-link/edit.js +96 -56
  160. package/build-module/navigation-link/edit.js.map +1 -1
  161. package/build-module/navigation-submenu/edit.js +106 -54
  162. package/build-module/navigation-submenu/edit.js.map +1 -1
  163. package/build-module/page-list/edit.js +45 -26
  164. package/build-module/page-list/edit.js.map +1 -1
  165. package/build-module/paragraph/edit.js +15 -6
  166. package/build-module/paragraph/edit.js.map +1 -1
  167. package/build-module/post-author/edit.js +16 -4
  168. package/build-module/post-author/edit.js.map +1 -1
  169. package/build-module/post-author/index.js +4 -2
  170. package/build-module/post-author/index.js.map +1 -1
  171. package/build-module/post-author-name/edit.js +12 -6
  172. package/build-module/post-author-name/edit.js.map +1 -1
  173. package/build-module/post-author-name/index.js +4 -2
  174. package/build-module/post-author-name/index.js.map +1 -1
  175. package/build-module/post-comments-form/index.js +6 -1
  176. package/build-module/post-comments-form/index.js.map +1 -1
  177. package/build-module/post-comments-link/index.js +8 -1
  178. package/build-module/post-comments-link/index.js.map +1 -1
  179. package/build-module/post-date/edit.js +59 -19
  180. package/build-module/post-date/edit.js.map +1 -1
  181. package/build-module/post-date/index.js +2 -1
  182. package/build-module/post-date/index.js.map +1 -1
  183. package/build-module/post-excerpt/edit.js +44 -20
  184. package/build-module/post-excerpt/edit.js.map +1 -1
  185. package/build-module/post-featured-image/dimension-controls.js +18 -20
  186. package/build-module/post-featured-image/dimension-controls.js.map +1 -1
  187. package/build-module/post-featured-image/edit.js +47 -13
  188. package/build-module/post-featured-image/edit.js.map +1 -1
  189. package/build-module/post-featured-image/index.js +6 -3
  190. package/build-module/post-featured-image/index.js.map +1 -1
  191. package/build-module/post-navigation-link/index.js +12 -7
  192. package/build-module/post-navigation-link/index.js.map +1 -1
  193. package/build-module/post-navigation-link/variations.js +2 -2
  194. package/build-module/post-navigation-link/variations.js.map +1 -1
  195. package/build-module/post-template/index.js +11 -1
  196. package/build-module/post-template/index.js.map +1 -1
  197. package/build-module/post-title/index.js +6 -3
  198. package/build-module/post-title/index.js.map +1 -1
  199. package/build-module/query-no-results/index.js +10 -9
  200. package/build-module/query-no-results/index.js.map +1 -1
  201. package/build-module/query-pagination/edit.js +49 -19
  202. package/build-module/query-pagination/edit.js.map +1 -1
  203. package/build-module/query-pagination/query-pagination-label-control.js +1 -1
  204. package/build-module/query-pagination/query-pagination-label-control.js.map +1 -1
  205. package/build-module/query-pagination-numbers/edit.js +34 -16
  206. package/build-module/query-pagination-numbers/edit.js.map +1 -1
  207. package/build-module/query-total/edit.js +8 -10
  208. package/build-module/query-total/edit.js.map +1 -1
  209. package/build-module/query-total/index.js +8 -1
  210. package/build-module/query-total/index.js.map +1 -1
  211. package/build-module/read-more/index.js +7 -1
  212. package/build-module/read-more/index.js.map +1 -1
  213. package/build-module/site-logo/index.js +4 -2
  214. package/build-module/site-logo/index.js.map +1 -1
  215. package/build-module/site-title/edit.js +42 -13
  216. package/build-module/site-title/edit.js.map +1 -1
  217. package/build-module/site-title/index.js +4 -2
  218. package/build-module/site-title/index.js.map +1 -1
  219. package/build-module/social-link/edit.js +20 -4
  220. package/build-module/social-link/edit.js.map +1 -1
  221. package/build-module/social-links/edit.js +42 -13
  222. package/build-module/social-links/edit.js.map +1 -1
  223. package/build-module/spacer/controls.js +35 -13
  224. package/build-module/spacer/controls.js.map +1 -1
  225. package/build-module/table/edit.js +49 -16
  226. package/build-module/table/edit.js.map +1 -1
  227. package/build-module/table/index.js +4 -1
  228. package/build-module/table/index.js.map +1 -1
  229. package/build-module/table-of-contents/edit.js +1 -1
  230. package/build-module/table-of-contents/edit.js.map +1 -1
  231. package/build-module/table-of-contents/index.js +26 -25
  232. package/build-module/table-of-contents/index.js.map +1 -1
  233. package/build-module/tag-cloud/edit.js +57 -12
  234. package/build-module/tag-cloud/edit.js.map +1 -1
  235. package/build-module/video/edit-common-settings.js +91 -31
  236. package/build-module/video/edit-common-settings.js.map +1 -1
  237. package/build-module/video/edit.js +24 -53
  238. package/build-module/video/edit.js.map +1 -1
  239. package/build-module/video/poster-image.js +74 -0
  240. package/build-module/video/poster-image.js.map +1 -0
  241. package/build-module/video/tracks-editor.js +1 -1
  242. package/build-module/video/tracks-editor.js.map +1 -1
  243. package/build-style/comment-template/style-rtl.css +0 -1
  244. package/build-style/comment-template/style.css +0 -1
  245. package/build-style/editor-rtl.css +4 -19
  246. package/build-style/editor.css +4 -19
  247. package/build-style/form-input/style-rtl.css +0 -2
  248. package/build-style/form-input/style.css +0 -2
  249. package/build-style/freeform/editor-rtl.css +4 -8
  250. package/build-style/freeform/editor.css +4 -8
  251. package/build-style/{post-template/editor.css → post-comments-link/style-rtl.css} +2 -4
  252. package/build-style/{post-template/editor-rtl.css → post-comments-link/style.css} +2 -4
  253. package/build-style/post-template/style-rtl.css +1 -0
  254. package/build-style/post-template/style.css +1 -0
  255. package/build-style/query-total/style-rtl.css +103 -0
  256. package/build-style/query-total/style.css +103 -0
  257. package/build-style/read-more/style-rtl.css +0 -1
  258. package/build-style/read-more/style.css +0 -1
  259. package/build-style/style-rtl.css +9 -4
  260. package/build-style/style.css +9 -4
  261. package/build-style/tag-cloud/editor-rtl.css +0 -5
  262. package/build-style/tag-cloud/editor.css +0 -5
  263. package/package.json +35 -35
  264. package/src/archives/edit.js +94 -36
  265. package/src/audio/test/__snapshots__/edit.native.js.snap +1 -1
  266. package/src/block/index.php +20 -0
  267. package/src/button/block.json +17 -2
  268. package/src/button/deprecated.js +189 -0
  269. package/src/button/edit.js +60 -31
  270. package/src/button/save.js +6 -1
  271. package/src/column/edit.js +34 -13
  272. package/src/columns/edit.js +71 -40
  273. package/src/comments/index.js +1 -0
  274. package/src/cover/edit/index.js +12 -5
  275. package/src/cover/edit.native.js +5 -2
  276. package/src/cover/test/edit.js +5 -7
  277. package/src/details/edit.js +40 -11
  278. package/src/editor.scss +0 -1
  279. package/src/file/test/__snapshots__/edit.native.js.snap +1 -1
  280. package/src/image/transforms.js +1 -0
  281. package/src/latest-posts/block.json +12 -0
  282. package/src/loginout/edit.js +56 -20
  283. package/src/media-text/edit.js +57 -28
  284. package/src/more/edit.js +39 -12
  285. package/src/navigation/edit/navigation-menu-selector.js +9 -2
  286. package/src/navigation/index.php +2 -2
  287. package/src/navigation-link/edit.js +101 -61
  288. package/src/navigation-link/index.php +16 -1
  289. package/src/navigation-submenu/edit.js +113 -57
  290. package/src/page-list/edit.js +52 -31
  291. package/src/paragraph/edit.js +18 -4
  292. package/src/post-author/block.json +4 -2
  293. package/src/post-author/edit.js +17 -3
  294. package/src/post-author/index.php +4 -0
  295. package/src/post-author-name/block.json +4 -2
  296. package/src/post-author-name/edit.js +17 -4
  297. package/src/post-author-name/index.php +4 -0
  298. package/src/post-comments-form/block.json +6 -1
  299. package/src/post-comments-link/block.json +8 -1
  300. package/src/post-comments-link/style.scss +4 -0
  301. package/src/post-content/index.php +23 -0
  302. package/src/post-date/block.json +2 -1
  303. package/src/post-date/edit.js +79 -25
  304. package/src/post-excerpt/edit.js +59 -22
  305. package/src/post-featured-image/block.json +6 -3
  306. package/src/post-featured-image/dimension-controls.js +18 -21
  307. package/src/post-featured-image/edit.js +67 -10
  308. package/src/post-navigation-link/block.json +0 -6
  309. package/src/post-navigation-link/index.js +11 -0
  310. package/src/post-navigation-link/variations.js +2 -2
  311. package/src/post-template/block.json +11 -1
  312. package/src/post-template/style.scss +2 -0
  313. package/src/post-title/block.json +6 -3
  314. package/src/query-no-results/block.json +0 -10
  315. package/src/query-no-results/index.js +11 -0
  316. package/src/query-pagination/edit.js +57 -15
  317. package/src/query-pagination/query-pagination-label-control.js +1 -3
  318. package/src/query-pagination-numbers/edit.js +41 -19
  319. package/src/query-pagination-previous/index.php +21 -14
  320. package/src/query-total/block.json +8 -1
  321. package/src/query-total/edit.js +11 -13
  322. package/src/query-total/index.php +9 -13
  323. package/src/query-total/style.scss +4 -0
  324. package/src/read-more/index.js +6 -0
  325. package/src/site-logo/block.json +4 -2
  326. package/src/site-title/block.json +4 -2
  327. package/src/site-title/edit.js +52 -15
  328. package/src/social-link/edit.js +21 -6
  329. package/src/social-links/edit.js +52 -15
  330. package/src/spacer/controls.js +42 -15
  331. package/src/style.scss +2 -0
  332. package/src/table/block.json +4 -1
  333. package/src/table/edit.js +58 -20
  334. package/src/table-of-contents/block.json +0 -52
  335. package/src/table-of-contents/edit.js +1 -1
  336. package/src/table-of-contents/index.js +53 -0
  337. package/src/tag-cloud/edit.js +60 -8
  338. package/src/tag-cloud/editor.scss +0 -8
  339. package/src/video/edit-common-settings.js +97 -39
  340. package/src/video/edit.js +29 -75
  341. package/src/video/poster-image.js +86 -0
  342. package/src/video/tracks-editor.js +1 -1
  343. package/tsconfig.json +0 -2
  344. package/src/post-template/editor.scss +0 -7
@@ -99,8 +99,7 @@
99
99
  * Reset the WP Admin page styles for Gutenberg-like pages.
100
100
  */
101
101
  .wp-block-freeform.block-library-rich-text__tinymce {
102
- height: auto;
103
- /* Allow height of embed iframes to be calculated properly */
102
+ height: auto; /* Allow height of embed iframes to be calculated properly */
104
103
  /* Remove blue highlighting of selected images in WebKit */
105
104
  /* Image captions */
106
105
  /* WP Views */
@@ -192,8 +191,7 @@
192
191
  -ms-user-select: element;
193
192
  }
194
193
  .wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption {
195
- margin: 0;
196
- /* dl browser reset */
194
+ margin: 0; /* dl browser reset */
197
195
  max-width: 100%;
198
196
  }
199
197
  .wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption a,
@@ -205,12 +203,10 @@
205
203
  }
206
204
  .wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption .wp-caption-dd {
207
205
  padding-top: 0.5em;
208
- margin: 0;
209
- /* browser dd reset */
206
+ margin: 0; /* browser dd reset */
210
207
  }
211
208
  .wp-block-freeform.block-library-rich-text__tinymce .wpview {
212
- width: 99.99%;
213
- /* All IE need hasLayout, incl. 11 (ugh, not again!!) */
209
+ width: 99.99%; /* All IE need hasLayout, incl. 11 (ugh, not again!!) */
214
210
  position: relative;
215
211
  clear: both;
216
212
  margin-bottom: 16px;
@@ -98,8 +98,6 @@
98
98
  /**
99
99
  * Reset the WP Admin page styles for Gutenberg-like pages.
100
100
  */
101
- .editor-styles-wrapper ul.wp-block-post-template {
102
- padding-left: 0;
103
- margin-left: 0;
104
- list-style: none;
101
+ .wp-block-post-comments-link {
102
+ box-sizing: border-box;
105
103
  }
@@ -98,8 +98,6 @@
98
98
  /**
99
99
  * Reset the WP Admin page styles for Gutenberg-like pages.
100
100
  */
101
- .editor-styles-wrapper ul.wp-block-post-template {
102
- padding-right: 0;
103
- margin-right: 0;
104
- list-style: none;
101
+ .wp-block-post-comments-link {
102
+ box-sizing: border-box;
105
103
  }
@@ -104,6 +104,7 @@
104
104
  max-width: 100%;
105
105
  list-style: none;
106
106
  padding: 0;
107
+ box-sizing: border-box;
107
108
  }
108
109
  .wp-block-post-template.is-flex-container {
109
110
  flex-direction: row;
@@ -104,6 +104,7 @@
104
104
  max-width: 100%;
105
105
  list-style: none;
106
106
  padding: 0;
107
+ box-sizing: border-box;
107
108
  }
108
109
  .wp-block-post-template.is-flex-container {
109
110
  flex-direction: row;
@@ -0,0 +1,103 @@
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
+ * Typography
34
+ */
35
+ /**
36
+ * Grid System.
37
+ * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
38
+ */
39
+ /**
40
+ * Radius scale.
41
+ */
42
+ /**
43
+ * Elevation scale.
44
+ */
45
+ /**
46
+ * Dimensions.
47
+ */
48
+ /**
49
+ * Mobile specific styles
50
+ */
51
+ /**
52
+ * Editor styles.
53
+ */
54
+ /**
55
+ * Block & Editor UI.
56
+ */
57
+ /**
58
+ * Block paddings.
59
+ */
60
+ /**
61
+ * React Native specific.
62
+ * These variables do not appear to be used anywhere else.
63
+ */
64
+ /**
65
+ * Converts a hex value into the rgb equivalent.
66
+ *
67
+ * @param {string} hex - the hexadecimal value to convert
68
+ * @return {string} comma separated rgb values
69
+ */
70
+ /**
71
+ * Long content fade mixin
72
+ *
73
+ * Creates a fading overlay to signify that the content is longer
74
+ * than the space allows.
75
+ */
76
+ /**
77
+ * Typography
78
+ */
79
+ /**
80
+ * Breakpoint mixins
81
+ */
82
+ /**
83
+ * Focus styles.
84
+ */
85
+ /**
86
+ * Applies editor left position to the selector passed as argument
87
+ */
88
+ /**
89
+ * Styles that are reused verbatim in a few places
90
+ */
91
+ /**
92
+ * Allows users to opt-out of animations via OS-level preferences.
93
+ */
94
+ /**
95
+ * Reset default styles for JavaScript UI based pages.
96
+ * This is a WP-admin agnostic reset
97
+ */
98
+ /**
99
+ * Reset the WP Admin page styles for Gutenberg-like pages.
100
+ */
101
+ .wp-block-query-total {
102
+ box-sizing: border-box;
103
+ }
@@ -0,0 +1,103 @@
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
+ * Typography
34
+ */
35
+ /**
36
+ * Grid System.
37
+ * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
38
+ */
39
+ /**
40
+ * Radius scale.
41
+ */
42
+ /**
43
+ * Elevation scale.
44
+ */
45
+ /**
46
+ * Dimensions.
47
+ */
48
+ /**
49
+ * Mobile specific styles
50
+ */
51
+ /**
52
+ * Editor styles.
53
+ */
54
+ /**
55
+ * Block & Editor UI.
56
+ */
57
+ /**
58
+ * Block paddings.
59
+ */
60
+ /**
61
+ * React Native specific.
62
+ * These variables do not appear to be used anywhere else.
63
+ */
64
+ /**
65
+ * Converts a hex value into the rgb equivalent.
66
+ *
67
+ * @param {string} hex - the hexadecimal value to convert
68
+ * @return {string} comma separated rgb values
69
+ */
70
+ /**
71
+ * Long content fade mixin
72
+ *
73
+ * Creates a fading overlay to signify that the content is longer
74
+ * than the space allows.
75
+ */
76
+ /**
77
+ * Typography
78
+ */
79
+ /**
80
+ * Breakpoint mixins
81
+ */
82
+ /**
83
+ * Focus styles.
84
+ */
85
+ /**
86
+ * Applies editor left position to the selector passed as argument
87
+ */
88
+ /**
89
+ * Styles that are reused verbatim in a few places
90
+ */
91
+ /**
92
+ * Allows users to opt-out of animations via OS-level preferences.
93
+ */
94
+ /**
95
+ * Reset default styles for JavaScript UI based pages.
96
+ * This is a WP-admin agnostic reset
97
+ */
98
+ /**
99
+ * Reset the WP Admin page styles for Gutenberg-like pages.
100
+ */
101
+ .wp-block-query-total {
102
+ box-sizing: border-box;
103
+ }
@@ -100,7 +100,6 @@
100
100
  */
101
101
  .wp-block-read-more {
102
102
  display: block;
103
- width: -moz-fit-content;
104
103
  width: fit-content;
105
104
  }
106
105
  .wp-block-read-more:where(:not([style*=text-decoration])) {
@@ -100,7 +100,6 @@
100
100
  */
101
101
  .wp-block-read-more {
102
102
  display: block;
103
- width: -moz-fit-content;
104
103
  width: fit-content;
105
104
  }
106
105
  .wp-block-read-more:where(:not([style*=text-decoration])) {
@@ -591,7 +591,6 @@
591
591
  .wp-block-comment-template.aligncenter {
592
592
  margin-right: auto;
593
593
  margin-left: auto;
594
- width: -moz-fit-content;
595
594
  width: fit-content;
596
595
  }
597
596
  .wp-block-comment-template.alignright {
@@ -1174,7 +1173,6 @@ body:not(.editor-styles-wrapper) .wp-block-cover:not(.wp-block-cover:has(.wp-blo
1174
1173
  }
1175
1174
  .wp-block-form-input__label:has(input[type=checkbox]) {
1176
1175
  flex-direction: row;
1177
- width: -moz-fit-content;
1178
1176
  width: fit-content;
1179
1177
  }
1180
1178
  .wp-block-form-input__label:has(input[type=checkbox]) .wp-block-form-input__label-content {
@@ -1186,7 +1184,6 @@ body:not(.editor-styles-wrapper) .wp-block-cover:not(.wp-block-cover:has(.wp-blo
1186
1184
  }
1187
1185
 
1188
1186
  .wp-block-form-input__label-content {
1189
- width: -moz-fit-content;
1190
1187
  width: fit-content;
1191
1188
  }
1192
1189
 
@@ -2922,6 +2919,10 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
2922
2919
  display: flow-root;
2923
2920
  }
2924
2921
 
2922
+ .wp-block-post-comments-link {
2923
+ box-sizing: border-box;
2924
+ }
2925
+
2925
2926
  .wp-block-post-date {
2926
2927
  box-sizing: border-box;
2927
2928
  }
@@ -3139,6 +3140,7 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
3139
3140
  max-width: 100%;
3140
3141
  list-style: none;
3141
3142
  padding: 0;
3143
+ box-sizing: border-box;
3142
3144
  }
3143
3145
  .wp-block-post-template.is-flex-container {
3144
3146
  flex-direction: row;
@@ -3221,6 +3223,10 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
3221
3223
  box-sizing: border-box;
3222
3224
  }
3223
3225
 
3226
+ .wp-block-query-total {
3227
+ box-sizing: border-box;
3228
+ }
3229
+
3224
3230
  .wp-block-quote {
3225
3231
  box-sizing: border-box;
3226
3232
  overflow-wrap: break-word;
@@ -3246,7 +3252,6 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
3246
3252
 
3247
3253
  .wp-block-read-more {
3248
3254
  display: block;
3249
- width: -moz-fit-content;
3250
3255
  width: fit-content;
3251
3256
  }
3252
3257
  .wp-block-read-more:where(:not([style*=text-decoration])) {
@@ -598,7 +598,6 @@
598
598
  .wp-block-comment-template.aligncenter {
599
599
  margin-left: auto;
600
600
  margin-right: auto;
601
- width: -moz-fit-content;
602
601
  width: fit-content;
603
602
  }
604
603
  .wp-block-comment-template.alignright {
@@ -1184,7 +1183,6 @@ body:not(.editor-styles-wrapper) .wp-block-cover:not(.wp-block-cover:has(.wp-blo
1184
1183
  }
1185
1184
  .wp-block-form-input__label:has(input[type=checkbox]) {
1186
1185
  flex-direction: row;
1187
- width: -moz-fit-content;
1188
1186
  width: fit-content;
1189
1187
  }
1190
1188
  .wp-block-form-input__label:has(input[type=checkbox]) .wp-block-form-input__label-content {
@@ -1196,7 +1194,6 @@ body:not(.editor-styles-wrapper) .wp-block-cover:not(.wp-block-cover:has(.wp-blo
1196
1194
  }
1197
1195
 
1198
1196
  .wp-block-form-input__label-content {
1199
- width: -moz-fit-content;
1200
1197
  width: fit-content;
1201
1198
  }
1202
1199
 
@@ -2954,6 +2951,10 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
2954
2951
  display: flow-root;
2955
2952
  }
2956
2953
 
2954
+ .wp-block-post-comments-link {
2955
+ box-sizing: border-box;
2956
+ }
2957
+
2957
2958
  .wp-block-post-date {
2958
2959
  box-sizing: border-box;
2959
2960
  }
@@ -3171,6 +3172,7 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
3171
3172
  max-width: 100%;
3172
3173
  list-style: none;
3173
3174
  padding: 0;
3175
+ box-sizing: border-box;
3174
3176
  }
3175
3177
  .wp-block-post-template.is-flex-container {
3176
3178
  flex-direction: row;
@@ -3253,6 +3255,10 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
3253
3255
  box-sizing: border-box;
3254
3256
  }
3255
3257
 
3258
+ .wp-block-query-total {
3259
+ box-sizing: border-box;
3260
+ }
3261
+
3256
3262
  .wp-block-quote {
3257
3263
  box-sizing: border-box;
3258
3264
  overflow-wrap: break-word;
@@ -3278,7 +3284,6 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
3278
3284
 
3279
3285
  .wp-block-read-more {
3280
3286
  display: block;
3281
- width: -moz-fit-content;
3282
3287
  width: fit-content;
3283
3288
  }
3284
3289
  .wp-block-read-more:where(:not([style*=text-decoration])) {
@@ -103,9 +103,4 @@
103
103
  padding: 0;
104
104
  border: none;
105
105
  border-radius: inherit;
106
- }
107
-
108
- .wp-block-tag-cloud__inspector-settings .components-base-control,
109
- .wp-block-tag-cloud__inspector-settings .components-base-control:last-child {
110
- margin-bottom: 0;
111
106
  }
@@ -103,9 +103,4 @@
103
103
  padding: 0;
104
104
  border: none;
105
105
  border-radius: inherit;
106
- }
107
-
108
- .wp-block-tag-cloud__inspector-settings .components-base-control,
109
- .wp-block-tag-cloud__inspector-settings .components-base-control:last-child {
110
- margin-bottom: 0;
111
106
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/block-library",
3
- "version": "9.14.0",
3
+ "version": "9.15.1",
4
4
  "description": "Block library for the WordPress editor.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -41,39 +41,39 @@
41
41
  ],
42
42
  "dependencies": {
43
43
  "@babel/runtime": "7.25.7",
44
- "@wordpress/a11y": "*",
45
- "@wordpress/api-fetch": "*",
46
- "@wordpress/autop": "*",
47
- "@wordpress/blob": "*",
48
- "@wordpress/block-editor": "*",
49
- "@wordpress/blocks": "*",
50
- "@wordpress/components": "*",
51
- "@wordpress/compose": "*",
52
- "@wordpress/core-data": "*",
53
- "@wordpress/data": "*",
54
- "@wordpress/date": "*",
55
- "@wordpress/deprecated": "*",
56
- "@wordpress/dom": "*",
57
- "@wordpress/element": "*",
58
- "@wordpress/escape-html": "*",
59
- "@wordpress/hooks": "*",
60
- "@wordpress/html-entities": "*",
61
- "@wordpress/i18n": "*",
62
- "@wordpress/icons": "*",
63
- "@wordpress/interactivity": "*",
64
- "@wordpress/interactivity-router": "*",
65
- "@wordpress/keyboard-shortcuts": "*",
66
- "@wordpress/keycodes": "*",
67
- "@wordpress/notices": "*",
68
- "@wordpress/patterns": "*",
69
- "@wordpress/primitives": "*",
70
- "@wordpress/private-apis": "*",
71
- "@wordpress/reusable-blocks": "*",
72
- "@wordpress/rich-text": "*",
73
- "@wordpress/server-side-render": "*",
74
- "@wordpress/url": "*",
75
- "@wordpress/viewport": "*",
76
- "@wordpress/wordcount": "*",
44
+ "@wordpress/a11y": "^4.15.1",
45
+ "@wordpress/api-fetch": "^7.15.1",
46
+ "@wordpress/autop": "^4.15.0",
47
+ "@wordpress/blob": "^4.15.0",
48
+ "@wordpress/block-editor": "^14.10.1",
49
+ "@wordpress/blocks": "^14.4.1",
50
+ "@wordpress/components": "^29.1.1",
51
+ "@wordpress/compose": "^7.15.1",
52
+ "@wordpress/core-data": "^7.15.1",
53
+ "@wordpress/data": "^10.15.1",
54
+ "@wordpress/date": "^5.15.1",
55
+ "@wordpress/deprecated": "^4.15.1",
56
+ "@wordpress/dom": "^4.15.1",
57
+ "@wordpress/element": "^6.15.1",
58
+ "@wordpress/escape-html": "^3.15.0",
59
+ "@wordpress/hooks": "^4.15.0",
60
+ "@wordpress/html-entities": "^4.15.0",
61
+ "@wordpress/i18n": "^5.15.1",
62
+ "@wordpress/icons": "^10.15.1",
63
+ "@wordpress/interactivity": "^6.15.0",
64
+ "@wordpress/interactivity-router": "^2.15.1",
65
+ "@wordpress/keyboard-shortcuts": "^5.15.1",
66
+ "@wordpress/keycodes": "^4.15.1",
67
+ "@wordpress/notices": "^5.15.1",
68
+ "@wordpress/patterns": "^2.15.1",
69
+ "@wordpress/primitives": "^4.15.1",
70
+ "@wordpress/private-apis": "^1.15.0",
71
+ "@wordpress/reusable-blocks": "^5.15.1",
72
+ "@wordpress/rich-text": "^7.15.1",
73
+ "@wordpress/server-side-render": "^5.15.1",
74
+ "@wordpress/url": "^4.15.0",
75
+ "@wordpress/viewport": "^6.15.1",
76
+ "@wordpress/wordcount": "^4.15.0",
77
77
  "change-case": "^4.1.2",
78
78
  "clsx": "^2.1.1",
79
79
  "colord": "^2.7.0",
@@ -91,5 +91,5 @@
91
91
  "publishConfig": {
92
92
  "access": "public"
93
93
  },
94
- "gitHead": "b432c18934c9db866b6dba7d37517a4e97d642e3"
94
+ "gitHead": "0d4503ecc364cf4ca16024673baf5a84dacf212f"
95
95
  }