@wordpress/block-library 9.24.0 → 9.26.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 (300) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/build/avatar/edit.js +84 -39
  3. package/build/avatar/edit.js.map +1 -1
  4. package/build/avatar/user-control.js +32 -17
  5. package/build/avatar/user-control.js.map +1 -1
  6. package/build/button/edit.js +29 -17
  7. package/build/button/edit.js.map +1 -1
  8. package/build/columns/edit.js +18 -22
  9. package/build/columns/edit.js.map +1 -1
  10. package/build/comment-author-name/edit.js +41 -12
  11. package/build/comment-author-name/edit.js.map +1 -1
  12. package/build/comment-date/edit.js +41 -12
  13. package/build/comment-date/edit.js.map +1 -1
  14. package/build/comment-edit-link/edit.js +27 -7
  15. package/build/comment-edit-link/edit.js.map +1 -1
  16. package/build/comments/edit/comments-inspector-controls.js +1 -3
  17. package/build/comments/edit/comments-inspector-controls.js.map +1 -1
  18. package/build/comments-pagination/edit.js +23 -9
  19. package/build/comments-pagination/edit.js.map +1 -1
  20. package/build/comments-title/edit.js +41 -12
  21. package/build/comments-title/edit.js.map +1 -1
  22. package/build/details/edit.js +27 -3
  23. package/build/details/edit.js.map +1 -1
  24. package/build/embed/edit.js +2 -4
  25. package/build/embed/edit.js.map +1 -1
  26. package/build/embed/embed-controls.js +41 -22
  27. package/build/embed/embed-controls.js.map +1 -1
  28. package/build/embed/variations.js +0 -10
  29. package/build/embed/variations.js.map +1 -1
  30. package/build/file/inspector.js +73 -30
  31. package/build/file/inspector.js.map +1 -1
  32. package/build/form/edit.js +67 -38
  33. package/build/form/edit.js.map +1 -1
  34. package/build/form/index.js +3 -3
  35. package/build/form/index.js.map +1 -1
  36. package/build/form-input/edit.js +47 -18
  37. package/build/form-input/edit.js.map +1 -1
  38. package/build/form-input/index.js +2 -1
  39. package/build/form-input/index.js.map +1 -1
  40. package/build/form-submission-notification/index.js +2 -1
  41. package/build/form-submission-notification/index.js.map +1 -1
  42. package/build/form-submit-button/index.js +2 -1
  43. package/build/form-submit-button/index.js.map +1 -1
  44. package/build/image/image.js +1 -0
  45. package/build/image/image.js.map +1 -1
  46. package/build/image/view.js +0 -3
  47. package/build/image/view.js.map +1 -1
  48. package/build/latest-posts/edit.js +154 -82
  49. package/build/latest-posts/edit.js.map +1 -1
  50. package/build/list/ordered-list-settings.js +131 -52
  51. package/build/list/ordered-list-settings.js.map +1 -1
  52. package/build/navigation/edit/index.js +93 -51
  53. package/build/navigation/edit/index.js.map +1 -1
  54. package/build/navigation/edit/overlay-menu-preview.js +43 -27
  55. package/build/navigation/edit/overlay-menu-preview.js.map +1 -1
  56. package/build/navigation-link/edit.js +11 -0
  57. package/build/navigation-link/edit.js.map +1 -1
  58. package/build/navigation-link/index.js +3 -0
  59. package/build/navigation-link/index.js.map +1 -1
  60. package/build/navigation-link/transforms.js +2 -0
  61. package/build/navigation-link/transforms.js.map +1 -1
  62. package/build/navigation-link/update-attributes.js +1 -0
  63. package/build/navigation-link/update-attributes.js.map +1 -1
  64. package/build/navigation-submenu/index.js +3 -0
  65. package/build/navigation-submenu/index.js.map +1 -1
  66. package/build/post-author/edit.js +75 -18
  67. package/build/post-author/edit.js.map +1 -1
  68. package/build/post-comments-count/index.js +3 -1
  69. package/build/post-comments-count/index.js.map +1 -1
  70. package/build/post-comments-count/transforms.js +26 -0
  71. package/build/post-comments-count/transforms.js.map +1 -0
  72. package/build/post-comments-link/index.js +3 -1
  73. package/build/post-comments-link/index.js.map +1 -1
  74. package/build/post-comments-link/transforms.js +26 -0
  75. package/build/post-comments-link/transforms.js.map +1 -0
  76. package/build/post-navigation-link/edit.js +72 -33
  77. package/build/post-navigation-link/edit.js.map +1 -1
  78. package/build/post-title/edit.js +56 -18
  79. package/build/post-title/edit.js.map +1 -1
  80. package/build/query/edit/enhanced-pagination-modal.js +1 -1
  81. package/build/query/edit/enhanced-pagination-modal.js.map +1 -1
  82. package/build/query/edit/inspector-controls/enhanced-pagination-control.js +3 -6
  83. package/build/query/edit/inspector-controls/enhanced-pagination-control.js.map +1 -1
  84. package/build/rss/edit.js +120 -46
  85. package/build/rss/edit.js.map +1 -1
  86. package/build/separator/edit.js +52 -20
  87. package/build/separator/edit.js.map +1 -1
  88. package/build/shortcode/index.js +2 -1
  89. package/build/shortcode/index.js.map +1 -1
  90. package/build/site-logo/edit.js +53 -19
  91. package/build/site-logo/edit.js.map +1 -1
  92. package/build/social-link/edit.js +21 -5
  93. package/build/social-link/edit.js.map +1 -1
  94. package/build/social-link/edit.native.js +13 -5
  95. package/build/social-link/edit.native.js.map +1 -1
  96. package/build/social-link/social-list.js +17 -25
  97. package/build/social-link/social-list.js.map +1 -1
  98. package/build/social-link/variations.js +53 -48
  99. package/build/social-link/variations.js.map +1 -1
  100. package/build/social-links/edit.js +38 -45
  101. package/build/social-links/edit.js.map +1 -1
  102. package/build/video/tracks-editor.js +63 -21
  103. package/build/video/tracks-editor.js.map +1 -1
  104. package/build-module/avatar/edit.js +83 -38
  105. package/build-module/avatar/edit.js.map +1 -1
  106. package/build-module/avatar/user-control.js +33 -18
  107. package/build-module/avatar/user-control.js.map +1 -1
  108. package/build-module/button/edit.js +30 -18
  109. package/build-module/button/edit.js.map +1 -1
  110. package/build-module/columns/edit.js +18 -22
  111. package/build-module/columns/edit.js.map +1 -1
  112. package/build-module/comment-author-name/edit.js +42 -13
  113. package/build-module/comment-author-name/edit.js.map +1 -1
  114. package/build-module/comment-date/edit.js +42 -13
  115. package/build-module/comment-date/edit.js.map +1 -1
  116. package/build-module/comment-edit-link/edit.js +28 -8
  117. package/build-module/comment-edit-link/edit.js.map +1 -1
  118. package/build-module/comments/edit/comments-inspector-controls.js +1 -3
  119. package/build-module/comments/edit/comments-inspector-controls.js.map +1 -1
  120. package/build-module/comments-pagination/edit.js +24 -10
  121. package/build-module/comments-pagination/edit.js.map +1 -1
  122. package/build-module/comments-title/edit.js +42 -13
  123. package/build-module/comments-title/edit.js.map +1 -1
  124. package/build-module/details/edit.js +29 -5
  125. package/build-module/details/edit.js.map +1 -1
  126. package/build-module/embed/edit.js +2 -4
  127. package/build-module/embed/edit.js.map +1 -1
  128. package/build-module/embed/embed-controls.js +42 -23
  129. package/build-module/embed/embed-controls.js.map +1 -1
  130. package/build-module/embed/variations.js +0 -10
  131. package/build-module/embed/variations.js.map +1 -1
  132. package/build-module/file/inspector.js +74 -31
  133. package/build-module/file/inspector.js.map +1 -1
  134. package/build-module/form/edit.js +68 -39
  135. package/build-module/form/edit.js.map +1 -1
  136. package/build-module/form/index.js +3 -3
  137. package/build-module/form/index.js.map +1 -1
  138. package/build-module/form-input/edit.js +48 -19
  139. package/build-module/form-input/edit.js.map +1 -1
  140. package/build-module/form-input/index.js +2 -1
  141. package/build-module/form-input/index.js.map +1 -1
  142. package/build-module/form-submission-notification/index.js +2 -1
  143. package/build-module/form-submission-notification/index.js.map +1 -1
  144. package/build-module/form-submit-button/index.js +2 -1
  145. package/build-module/form-submit-button/index.js.map +1 -1
  146. package/build-module/image/image.js +1 -0
  147. package/build-module/image/image.js.map +1 -1
  148. package/build-module/image/view.js +0 -3
  149. package/build-module/image/view.js.map +1 -1
  150. package/build-module/latest-posts/edit.js +155 -83
  151. package/build-module/latest-posts/edit.js.map +1 -1
  152. package/build-module/list/ordered-list-settings.js +132 -53
  153. package/build-module/list/ordered-list-settings.js.map +1 -1
  154. package/build-module/navigation/edit/index.js +94 -52
  155. package/build-module/navigation/edit/index.js.map +1 -1
  156. package/build-module/navigation/edit/overlay-menu-preview.js +44 -28
  157. package/build-module/navigation/edit/overlay-menu-preview.js.map +1 -1
  158. package/build-module/navigation-link/edit.js +11 -0
  159. package/build-module/navigation-link/edit.js.map +1 -1
  160. package/build-module/navigation-link/index.js +3 -0
  161. package/build-module/navigation-link/index.js.map +1 -1
  162. package/build-module/navigation-link/transforms.js +2 -0
  163. package/build-module/navigation-link/transforms.js.map +1 -1
  164. package/build-module/navigation-link/update-attributes.js +1 -0
  165. package/build-module/navigation-link/update-attributes.js.map +1 -1
  166. package/build-module/navigation-submenu/index.js +3 -0
  167. package/build-module/navigation-submenu/index.js.map +1 -1
  168. package/build-module/post-author/edit.js +76 -19
  169. package/build-module/post-author/edit.js.map +1 -1
  170. package/build-module/post-comments-count/index.js +3 -1
  171. package/build-module/post-comments-count/index.js.map +1 -1
  172. package/build-module/post-comments-count/transforms.js +19 -0
  173. package/build-module/post-comments-count/transforms.js.map +1 -0
  174. package/build-module/post-comments-link/index.js +3 -1
  175. package/build-module/post-comments-link/index.js.map +1 -1
  176. package/build-module/post-comments-link/transforms.js +19 -0
  177. package/build-module/post-comments-link/transforms.js.map +1 -0
  178. package/build-module/post-navigation-link/edit.js +73 -34
  179. package/build-module/post-navigation-link/edit.js.map +1 -1
  180. package/build-module/post-title/edit.js +57 -19
  181. package/build-module/post-title/edit.js.map +1 -1
  182. package/build-module/query/edit/enhanced-pagination-modal.js +1 -1
  183. package/build-module/query/edit/enhanced-pagination-modal.js.map +1 -1
  184. package/build-module/query/edit/inspector-controls/enhanced-pagination-control.js +3 -6
  185. package/build-module/query/edit/inspector-controls/enhanced-pagination-control.js.map +1 -1
  186. package/build-module/rss/edit.js +121 -47
  187. package/build-module/rss/edit.js.map +1 -1
  188. package/build-module/separator/edit.js +54 -22
  189. package/build-module/separator/edit.js.map +1 -1
  190. package/build-module/shortcode/index.js +2 -1
  191. package/build-module/shortcode/index.js.map +1 -1
  192. package/build-module/site-logo/edit.js +54 -20
  193. package/build-module/site-logo/edit.js.map +1 -1
  194. package/build-module/social-link/edit.js +24 -8
  195. package/build-module/social-link/edit.js.map +1 -1
  196. package/build-module/social-link/edit.native.js +15 -6
  197. package/build-module/social-link/edit.native.js.map +1 -1
  198. package/build-module/social-link/social-list.js +16 -21
  199. package/build-module/social-link/social-list.js.map +1 -1
  200. package/build-module/social-link/variations.js +53 -48
  201. package/build-module/social-link/variations.js.map +1 -1
  202. package/build-module/social-links/edit.js +40 -47
  203. package/build-module/social-links/edit.js.map +1 -1
  204. package/build-module/video/tracks-editor.js +65 -23
  205. package/build-module/video/tracks-editor.js.map +1 -1
  206. package/build-style/calendar/style-rtl.css +7 -7
  207. package/build-style/calendar/style.css +7 -7
  208. package/build-style/comments-pagination/editor-rtl.css +0 -12
  209. package/build-style/comments-pagination/editor.css +0 -14
  210. package/build-style/comments-pagination/style-rtl.css +0 -7
  211. package/build-style/comments-pagination/style.css +0 -9
  212. package/build-style/editor-rtl.css +9 -21
  213. package/build-style/editor.css +9 -23
  214. package/build-style/gallery/style-rtl.css +1 -0
  215. package/build-style/gallery/style.css +1 -0
  216. package/build-style/navigation/editor-rtl.css +8 -3
  217. package/build-style/navigation/editor.css +8 -3
  218. package/build-style/navigation/style-rtl.css +4 -0
  219. package/build-style/navigation/style.css +4 -0
  220. package/build-style/pullquote/editor-rtl.css +1 -1
  221. package/build-style/pullquote/editor.css +1 -1
  222. package/build-style/pullquote/style-rtl.css +2 -3
  223. package/build-style/pullquote/style.css +2 -3
  224. package/build-style/pullquote/theme-rtl.css +2 -2
  225. package/build-style/pullquote/theme.css +2 -2
  226. package/build-style/style-rtl.css +14 -17
  227. package/build-style/style.css +14 -19
  228. package/build-style/theme-rtl.css +2 -2
  229. package/build-style/theme.css +2 -2
  230. package/package.json +35 -35
  231. package/src/avatar/edit.js +99 -51
  232. package/src/avatar/user-control.js +34 -29
  233. package/src/button/edit.js +44 -29
  234. package/src/calendar/style.scss +10 -10
  235. package/src/columns/edit.js +20 -31
  236. package/src/comment-author-name/edit.js +54 -13
  237. package/src/comment-date/edit.js +50 -15
  238. package/src/comment-edit-link/edit.js +39 -11
  239. package/src/comments/edit/comments-inspector-controls.js +0 -2
  240. package/src/comments-pagination/edit.js +29 -9
  241. package/src/comments-pagination/editor.scss +0 -15
  242. package/src/comments-pagination/style.scss +0 -8
  243. package/src/comments-title/edit.js +53 -15
  244. package/src/details/edit.js +36 -4
  245. package/src/editor.scss +0 -1
  246. package/src/embed/edit.js +3 -5
  247. package/src/embed/embed-controls.js +55 -33
  248. package/src/embed/variations.js +0 -8
  249. package/src/file/inspector.js +99 -45
  250. package/src/form/block.json +1 -2
  251. package/src/form/edit.js +91 -47
  252. package/src/form/index.js +1 -0
  253. package/src/form-input/edit.js +56 -18
  254. package/src/form-input/index.js +1 -0
  255. package/src/form-submission-notification/index.js +1 -0
  256. package/src/form-submit-button/index.js +1 -0
  257. package/src/gallery/style.scss +1 -0
  258. package/src/image/image.js +1 -0
  259. package/src/image/index.php +4 -1
  260. package/src/image/view.js +0 -3
  261. package/src/latest-posts/edit.js +206 -98
  262. package/src/list/ordered-list-settings.js +172 -62
  263. package/src/navigation/edit/index.js +127 -64
  264. package/src/navigation/edit/overlay-menu-preview.js +43 -26
  265. package/src/navigation/editor.scss +8 -4
  266. package/src/navigation/style.scss +8 -0
  267. package/src/navigation-link/block.json +3 -0
  268. package/src/navigation-link/edit.js +14 -1
  269. package/src/navigation-link/index.php +4 -0
  270. package/src/navigation-link/transforms.js +2 -1
  271. package/src/navigation-link/update-attributes.js +1 -0
  272. package/src/navigation-submenu/block.json +3 -0
  273. package/src/navigation-submenu/index.php +4 -0
  274. package/src/post-author/edit.js +91 -27
  275. package/src/post-comments-count/index.js +2 -0
  276. package/src/post-comments-count/transforms.js +20 -0
  277. package/src/post-comments-link/index.js +2 -0
  278. package/src/post-comments-link/transforms.js +20 -0
  279. package/src/post-navigation-link/edit.js +96 -51
  280. package/src/post-title/edit.js +76 -24
  281. package/src/pullquote/editor.scss +1 -1
  282. package/src/pullquote/style.scss +2 -3
  283. package/src/pullquote/theme.scss +2 -2
  284. package/src/query/edit/enhanced-pagination-modal.js +1 -5
  285. package/src/query/edit/inspector-controls/enhanced-pagination-control.js +3 -13
  286. package/src/rss/edit.js +141 -55
  287. package/src/separator/edit.js +66 -21
  288. package/src/shortcode/block.json +2 -1
  289. package/src/site-logo/edit.js +69 -26
  290. package/src/site-title/index.php +1 -1
  291. package/src/social-link/edit.js +18 -7
  292. package/src/social-link/edit.native.js +10 -4
  293. package/src/social-link/index.php +62 -49
  294. package/src/social-link/social-list.js +15 -20
  295. package/src/social-link/variations.js +53 -48
  296. package/src/social-links/edit.js +38 -60
  297. package/src/video/tracks-editor.js +75 -22
  298. package/build-style/post-author/editor-rtl.css +0 -140
  299. package/build-style/post-author/editor.css +0 -140
  300. package/src/post-author/editor.scss +0 -7
@@ -416,24 +416,12 @@ html :where(.wp-block-column) {
416
416
  :where(.editor-styles-wrapper) .wp-block-comments-pagination {
417
417
  max-width: 100%;
418
418
  }
419
- :where(.editor-styles-wrapper) .wp-block-comments-pagination.block-editor-block-list__layout {
420
- margin: 0;
421
- }
422
419
 
423
420
  .wp-block-comments-pagination > .wp-block-comments-pagination-next,
424
421
  .wp-block-comments-pagination > .wp-block-comments-pagination-previous,
425
422
  .wp-block-comments-pagination > .wp-block-comments-pagination-numbers {
426
- margin-right: 0;
427
- margin-top: 0.5em;
428
- margin-right: 0.5em;
429
- margin-bottom: 0.5em;
430
423
  font-size: inherit;
431
424
  }
432
- .wp-block-comments-pagination > .wp-block-comments-pagination-next:last-child,
433
- .wp-block-comments-pagination > .wp-block-comments-pagination-previous:last-child,
434
- .wp-block-comments-pagination > .wp-block-comments-pagination-numbers:last-child {
435
- margin-right: 0;
436
- }
437
425
 
438
426
  .wp-block-comments-pagination-numbers a {
439
427
  text-decoration: underline;
@@ -1839,7 +1827,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
1839
1827
  background-color: #f0f0f0;
1840
1828
  padding: 0 24px;
1841
1829
  height: 64px !important;
1842
- margin-bottom: 12px;
1830
+ grid-column: span 2;
1843
1831
  }
1844
1832
  .wp-block-navigation__overlay-menu-preview.open {
1845
1833
  box-shadow: inset 0 0 0 1px #e0e0e0;
@@ -1926,8 +1914,13 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
1926
1914
  margin-right: 24px;
1927
1915
  }
1928
1916
 
1929
- .wp-block-navigation__overlay-menu-icon-toggle-group {
1930
- margin-bottom: 16px;
1917
+ .editor-sidebar__panel .wp-block-navigation__submenu-header {
1918
+ margin-top: 0;
1919
+ margin-bottom: 0;
1920
+ }
1921
+
1922
+ .wp-block-navigation__submenu-accessibility-notice {
1923
+ grid-column: span 2;
1931
1924
  }
1932
1925
 
1933
1926
  /**
@@ -2157,11 +2150,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2157
2150
  opacity: 0;
2158
2151
  }
2159
2152
 
2160
- .wp-block-post-author__inspector-settings .components-base-control,
2161
- .wp-block-post-author__inspector-settings .components-base-control:last-child {
2162
- margin-bottom: 0;
2163
- }
2164
-
2165
2153
  .wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline {
2166
2154
  display: inline;
2167
2155
  }
@@ -2174,7 +2162,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2174
2162
  font-style: normal;
2175
2163
  }
2176
2164
 
2177
- .wp-block-pullquote .wp-block-pullquote__citation {
2165
+ .wp-block-pullquote__citation {
2178
2166
  color: inherit;
2179
2167
  }
2180
2168
 
@@ -417,26 +417,12 @@ html :where(.wp-block-column) {
417
417
  :where(.editor-styles-wrapper) .wp-block-comments-pagination {
418
418
  max-width: 100%;
419
419
  }
420
- :where(.editor-styles-wrapper) .wp-block-comments-pagination.block-editor-block-list__layout {
421
- margin: 0;
422
- }
423
420
 
424
421
  .wp-block-comments-pagination > .wp-block-comments-pagination-next,
425
422
  .wp-block-comments-pagination > .wp-block-comments-pagination-previous,
426
423
  .wp-block-comments-pagination > .wp-block-comments-pagination-numbers {
427
- margin-left: 0;
428
- margin-top: 0.5em;
429
- /*rtl:ignore*/
430
- margin-right: 0.5em;
431
- margin-bottom: 0.5em;
432
424
  font-size: inherit;
433
425
  }
434
- .wp-block-comments-pagination > .wp-block-comments-pagination-next:last-child,
435
- .wp-block-comments-pagination > .wp-block-comments-pagination-previous:last-child,
436
- .wp-block-comments-pagination > .wp-block-comments-pagination-numbers:last-child {
437
- /*rtl:ignore*/
438
- margin-right: 0;
439
- }
440
426
 
441
427
  .wp-block-comments-pagination-numbers a {
442
428
  text-decoration: underline;
@@ -1848,7 +1834,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
1848
1834
  background-color: #f0f0f0;
1849
1835
  padding: 0 24px;
1850
1836
  height: 64px !important;
1851
- margin-bottom: 12px;
1837
+ grid-column: span 2;
1852
1838
  }
1853
1839
  .wp-block-navigation__overlay-menu-preview.open {
1854
1840
  box-shadow: inset 0 0 0 1px #e0e0e0;
@@ -1935,8 +1921,13 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
1935
1921
  margin-left: 24px;
1936
1922
  }
1937
1923
 
1938
- .wp-block-navigation__overlay-menu-icon-toggle-group {
1939
- margin-bottom: 16px;
1924
+ .editor-sidebar__panel .wp-block-navigation__submenu-header {
1925
+ margin-top: 0;
1926
+ margin-bottom: 0;
1927
+ }
1928
+
1929
+ .wp-block-navigation__submenu-accessibility-notice {
1930
+ grid-column: span 2;
1940
1931
  }
1941
1932
 
1942
1933
  /**
@@ -2166,11 +2157,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2166
2157
  opacity: 0;
2167
2158
  }
2168
2159
 
2169
- .wp-block-post-author__inspector-settings .components-base-control,
2170
- .wp-block-post-author__inspector-settings .components-base-control:last-child {
2171
- margin-bottom: 0;
2172
- }
2173
-
2174
2160
  .wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline {
2175
2161
  display: inline;
2176
2162
  }
@@ -2183,7 +2169,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
2183
2169
  font-style: normal;
2184
2170
  }
2185
2171
 
2186
- .wp-block-pullquote .wp-block-pullquote__citation {
2172
+ .wp-block-pullquote__citation {
2187
2173
  color: inherit;
2188
2174
  }
2189
2175
 
@@ -365,6 +365,7 @@ figure.wp-block-gallery.has-nested-images {
365
365
  content: "";
366
366
  height: 100%;
367
367
  max-height: 40%;
368
+ pointer-events: none;
368
369
  -webkit-backdrop-filter: blur(3px);
369
370
  backdrop-filter: blur(3px);
370
371
  -webkit-mask-image: linear-gradient(0deg, #000 20%, transparent 100%);
@@ -365,6 +365,7 @@ figure.wp-block-gallery.has-nested-images {
365
365
  content: "";
366
366
  height: 100%;
367
367
  max-height: 40%;
368
+ pointer-events: none;
368
369
  -webkit-backdrop-filter: blur(3px);
369
370
  backdrop-filter: blur(3px);
370
371
  -webkit-mask-image: linear-gradient(0deg, #000 20%, transparent 100%);
@@ -540,7 +540,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
540
540
  background-color: #f0f0f0;
541
541
  padding: 0 24px;
542
542
  height: 64px !important;
543
- margin-bottom: 12px;
543
+ grid-column: span 2;
544
544
  }
545
545
  .wp-block-navigation__overlay-menu-preview.open {
546
546
  box-shadow: inset 0 0 0 1px #e0e0e0;
@@ -627,6 +627,11 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
627
627
  margin-right: 24px;
628
628
  }
629
629
 
630
- .wp-block-navigation__overlay-menu-icon-toggle-group {
631
- margin-bottom: 16px;
630
+ .editor-sidebar__panel .wp-block-navigation__submenu-header {
631
+ margin-top: 0;
632
+ margin-bottom: 0;
633
+ }
634
+
635
+ .wp-block-navigation__submenu-accessibility-notice {
636
+ grid-column: span 2;
632
637
  }
@@ -540,7 +540,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
540
540
  background-color: #f0f0f0;
541
541
  padding: 0 24px;
542
542
  height: 64px !important;
543
- margin-bottom: 12px;
543
+ grid-column: span 2;
544
544
  }
545
545
  .wp-block-navigation__overlay-menu-preview.open {
546
546
  box-shadow: inset 0 0 0 1px #e0e0e0;
@@ -627,6 +627,11 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
627
627
  margin-left: 24px;
628
628
  }
629
629
 
630
- .wp-block-navigation__overlay-menu-icon-toggle-group {
631
- margin-bottom: 16px;
630
+ .editor-sidebar__panel .wp-block-navigation__submenu-header {
631
+ margin-top: 0;
632
+ margin-bottom: 0;
633
+ }
634
+
635
+ .wp-block-navigation__submenu-accessibility-notice {
636
+ grid-column: span 2;
632
637
  }
@@ -344,6 +344,10 @@ button.wp-block-navigation-item__content {
344
344
  .wp-block-navigation-submenu__toggle {
345
345
  cursor: pointer;
346
346
  }
347
+ .wp-block-navigation-submenu__toggle[aria-expanded=true] + .wp-block-navigation__submenu-icon > svg,
348
+ .wp-block-navigation-submenu__toggle[aria-expanded=true] > svg {
349
+ transform: rotate(-180deg);
350
+ }
347
351
 
348
352
  .wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle {
349
353
  padding-right: 0;
@@ -344,6 +344,10 @@ button.wp-block-navigation-item__content {
344
344
  .wp-block-navigation-submenu__toggle {
345
345
  cursor: pointer;
346
346
  }
347
+ .wp-block-navigation-submenu__toggle[aria-expanded=true] + .wp-block-navigation__submenu-icon > svg,
348
+ .wp-block-navigation-submenu__toggle[aria-expanded=true] > svg {
349
+ transform: rotate(180deg);
350
+ }
347
351
 
348
352
  .wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle {
349
353
  padding-left: 0;
@@ -142,6 +142,6 @@
142
142
  font-style: normal;
143
143
  }
144
144
 
145
- .wp-block-pullquote .wp-block-pullquote__citation {
145
+ .wp-block-pullquote__citation {
146
146
  color: inherit;
147
147
  }
@@ -142,6 +142,6 @@
142
142
  font-style: normal;
143
143
  }
144
144
 
145
- .wp-block-pullquote .wp-block-pullquote__citation {
145
+ .wp-block-pullquote__citation {
146
146
  color: inherit;
147
147
  }
@@ -142,8 +142,7 @@
142
142
  padding: 4em 0;
143
143
  }
144
144
  .wp-block-pullquote p,
145
- .wp-block-pullquote blockquote,
146
- .wp-block-pullquote cite {
145
+ .wp-block-pullquote blockquote {
147
146
  color: inherit;
148
147
  }
149
148
  .wp-block-pullquote blockquote {
@@ -196,7 +195,7 @@
196
195
  font-style: normal;
197
196
  }
198
197
 
199
- .wp-block-pullquote cite {
198
+ .wp-block-pullquote :where(cite) {
200
199
  color: inherit;
201
200
  display: block;
202
201
  }
@@ -142,8 +142,7 @@
142
142
  padding: 4em 0;
143
143
  }
144
144
  .wp-block-pullquote p,
145
- .wp-block-pullquote blockquote,
146
- .wp-block-pullquote cite {
145
+ .wp-block-pullquote blockquote {
147
146
  color: inherit;
148
147
  }
149
148
  .wp-block-pullquote blockquote {
@@ -196,7 +195,7 @@
196
195
  font-style: normal;
197
196
  }
198
197
 
199
- .wp-block-pullquote cite {
198
+ .wp-block-pullquote :where(cite) {
200
199
  color: inherit;
201
200
  display: block;
202
201
  }
@@ -140,8 +140,8 @@
140
140
  margin-bottom: 1.75em;
141
141
  color: currentColor;
142
142
  }
143
- .wp-block-pullquote cite,
144
- .wp-block-pullquote footer, .wp-block-pullquote__citation {
143
+ .wp-block-pullquote :where(cite),
144
+ .wp-block-pullquote :where(footer), .wp-block-pullquote__citation {
145
145
  color: currentColor;
146
146
  text-transform: uppercase;
147
147
  font-size: 0.8125em;
@@ -140,8 +140,8 @@
140
140
  margin-bottom: 1.75em;
141
141
  color: currentColor;
142
142
  }
143
- .wp-block-pullquote cite,
144
- .wp-block-pullquote footer, .wp-block-pullquote__citation {
143
+ .wp-block-pullquote :where(cite),
144
+ .wp-block-pullquote :where(footer), .wp-block-pullquote__citation {
145
145
  color: currentColor;
146
146
  text-transform: uppercase;
147
147
  font-size: 0.8125em;
@@ -331,19 +331,19 @@
331
331
  width: 100%;
332
332
  border-collapse: collapse;
333
333
  }
334
- .wp-block-calendar table:where(:not(.has-text-color)) {
335
- color: #40464d;
336
- }
337
- .wp-block-calendar table:where(:not(.has-text-color)) th,
338
- .wp-block-calendar table:where(:not(.has-text-color)) td {
339
- border-color: #ddd;
340
- }
341
334
  .wp-block-calendar table.has-background th {
342
335
  background-color: inherit;
343
336
  }
344
337
  .wp-block-calendar table.has-text-color th {
345
338
  color: inherit;
346
339
  }
340
+ .wp-block-calendar :where(table:not(.has-text-color)) {
341
+ color: #40464d;
342
+ }
343
+ .wp-block-calendar :where(table:not(.has-text-color)) th,
344
+ .wp-block-calendar :where(table:not(.has-text-color)) td {
345
+ border-color: #ddd;
346
+ }
347
347
 
348
348
  :where(.wp-block-calendar table:not(.has-background) th) {
349
349
  background: #ddd;
@@ -580,15 +580,8 @@
580
580
  .wp-block-comments-pagination > .wp-block-comments-pagination-next,
581
581
  .wp-block-comments-pagination > .wp-block-comments-pagination-previous,
582
582
  .wp-block-comments-pagination > .wp-block-comments-pagination-numbers {
583
- margin-right: 0.5em;
584
- margin-bottom: 0.5em;
585
583
  font-size: inherit;
586
584
  }
587
- .wp-block-comments-pagination > .wp-block-comments-pagination-next:last-child,
588
- .wp-block-comments-pagination > .wp-block-comments-pagination-previous:last-child,
589
- .wp-block-comments-pagination > .wp-block-comments-pagination-numbers:last-child {
590
- margin-right: 0;
591
- }
592
585
  .wp-block-comments-pagination .wp-block-comments-pagination-previous-arrow {
593
586
  margin-left: 1ch;
594
587
  display: inline-block;
@@ -1471,6 +1464,7 @@ figure.wp-block-gallery.has-nested-images {
1471
1464
  content: "";
1472
1465
  height: 100%;
1473
1466
  max-height: 40%;
1467
+ pointer-events: none;
1474
1468
  -webkit-backdrop-filter: blur(3px);
1475
1469
  backdrop-filter: blur(3px);
1476
1470
  -webkit-mask-image: linear-gradient(0deg, #000 20%, transparent 100%);
@@ -2468,6 +2462,10 @@ button.wp-block-navigation-item__content {
2468
2462
  .wp-block-navigation-submenu__toggle {
2469
2463
  cursor: pointer;
2470
2464
  }
2465
+ .wp-block-navigation-submenu__toggle[aria-expanded=true] + .wp-block-navigation__submenu-icon > svg,
2466
+ .wp-block-navigation-submenu__toggle[aria-expanded=true] > svg {
2467
+ transform: rotate(-180deg);
2468
+ }
2471
2469
 
2472
2470
  .wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle {
2473
2471
  padding-right: 0;
@@ -3135,8 +3133,7 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
3135
3133
  padding: 4em 0;
3136
3134
  }
3137
3135
  .wp-block-pullquote p,
3138
- .wp-block-pullquote blockquote,
3139
- .wp-block-pullquote cite {
3136
+ .wp-block-pullquote blockquote {
3140
3137
  color: inherit;
3141
3138
  }
3142
3139
  .wp-block-pullquote blockquote {
@@ -3189,7 +3186,7 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
3189
3186
  font-style: normal;
3190
3187
  }
3191
3188
 
3192
- .wp-block-pullquote cite {
3189
+ .wp-block-pullquote :where(cite) {
3193
3190
  color: inherit;
3194
3191
  display: block;
3195
3192
  }
@@ -332,19 +332,19 @@
332
332
  width: 100%;
333
333
  border-collapse: collapse;
334
334
  }
335
- .wp-block-calendar table:where(:not(.has-text-color)) {
336
- color: #40464d;
337
- }
338
- .wp-block-calendar table:where(:not(.has-text-color)) th,
339
- .wp-block-calendar table:where(:not(.has-text-color)) td {
340
- border-color: #ddd;
341
- }
342
335
  .wp-block-calendar table.has-background th {
343
336
  background-color: inherit;
344
337
  }
345
338
  .wp-block-calendar table.has-text-color th {
346
339
  color: inherit;
347
340
  }
341
+ .wp-block-calendar :where(table:not(.has-text-color)) {
342
+ color: #40464d;
343
+ }
344
+ .wp-block-calendar :where(table:not(.has-text-color)) th,
345
+ .wp-block-calendar :where(table:not(.has-text-color)) td {
346
+ border-color: #ddd;
347
+ }
348
348
 
349
349
  :where(.wp-block-calendar table:not(.has-background) th) {
350
350
  background: #ddd;
@@ -585,17 +585,8 @@
585
585
  .wp-block-comments-pagination > .wp-block-comments-pagination-next,
586
586
  .wp-block-comments-pagination > .wp-block-comments-pagination-previous,
587
587
  .wp-block-comments-pagination > .wp-block-comments-pagination-numbers {
588
- /*rtl:ignore*/
589
- margin-right: 0.5em;
590
- margin-bottom: 0.5em;
591
588
  font-size: inherit;
592
589
  }
593
- .wp-block-comments-pagination > .wp-block-comments-pagination-next:last-child,
594
- .wp-block-comments-pagination > .wp-block-comments-pagination-previous:last-child,
595
- .wp-block-comments-pagination > .wp-block-comments-pagination-numbers:last-child {
596
- /*rtl:ignore*/
597
- margin-right: 0;
598
- }
599
590
  .wp-block-comments-pagination .wp-block-comments-pagination-previous-arrow {
600
591
  margin-right: 1ch;
601
592
  display: inline-block;
@@ -1481,6 +1472,7 @@ figure.wp-block-gallery.has-nested-images {
1481
1472
  content: "";
1482
1473
  height: 100%;
1483
1474
  max-height: 40%;
1475
+ pointer-events: none;
1484
1476
  -webkit-backdrop-filter: blur(3px);
1485
1477
  backdrop-filter: blur(3px);
1486
1478
  -webkit-mask-image: linear-gradient(0deg, #000 20%, transparent 100%);
@@ -2500,6 +2492,10 @@ button.wp-block-navigation-item__content {
2500
2492
  .wp-block-navigation-submenu__toggle {
2501
2493
  cursor: pointer;
2502
2494
  }
2495
+ .wp-block-navigation-submenu__toggle[aria-expanded=true] + .wp-block-navigation__submenu-icon > svg,
2496
+ .wp-block-navigation-submenu__toggle[aria-expanded=true] > svg {
2497
+ transform: rotate(180deg);
2498
+ }
2503
2499
 
2504
2500
  .wp-block-navigation-item.open-on-click .wp-block-navigation-submenu__toggle {
2505
2501
  padding-left: 0;
@@ -3167,8 +3163,7 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
3167
3163
  padding: 4em 0;
3168
3164
  }
3169
3165
  .wp-block-pullquote p,
3170
- .wp-block-pullquote blockquote,
3171
- .wp-block-pullquote cite {
3166
+ .wp-block-pullquote blockquote {
3172
3167
  color: inherit;
3173
3168
  }
3174
3169
  .wp-block-pullquote blockquote {
@@ -3221,7 +3216,7 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
3221
3216
  font-style: normal;
3222
3217
  }
3223
3218
 
3224
- .wp-block-pullquote cite {
3219
+ .wp-block-pullquote :where(cite) {
3225
3220
  color: inherit;
3226
3221
  display: block;
3227
3222
  }
@@ -195,8 +195,8 @@
195
195
  margin-bottom: 1.75em;
196
196
  color: currentColor;
197
197
  }
198
- .wp-block-pullquote cite,
199
- .wp-block-pullquote footer, .wp-block-pullquote__citation {
198
+ .wp-block-pullquote :where(cite),
199
+ .wp-block-pullquote :where(footer), .wp-block-pullquote__citation {
200
200
  color: currentColor;
201
201
  text-transform: uppercase;
202
202
  font-size: 0.8125em;
@@ -195,8 +195,8 @@
195
195
  margin-bottom: 1.75em;
196
196
  color: currentColor;
197
197
  }
198
- .wp-block-pullquote cite,
199
- .wp-block-pullquote footer, .wp-block-pullquote__citation {
198
+ .wp-block-pullquote :where(cite),
199
+ .wp-block-pullquote :where(footer), .wp-block-pullquote__citation {
200
200
  color: currentColor;
201
201
  text-transform: uppercase;
202
202
  font-size: 0.8125em;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/block-library",
3
- "version": "9.24.0",
3
+ "version": "9.26.0",
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": "^4.24.0",
45
- "@wordpress/api-fetch": "^7.24.0",
46
- "@wordpress/autop": "^4.24.0",
47
- "@wordpress/blob": "^4.24.0",
48
- "@wordpress/block-editor": "^14.19.0",
49
- "@wordpress/blocks": "^14.13.0",
50
- "@wordpress/components": "^29.10.0",
51
- "@wordpress/compose": "^7.24.0",
52
- "@wordpress/core-data": "^7.24.0",
53
- "@wordpress/data": "^10.24.0",
54
- "@wordpress/date": "^5.24.0",
55
- "@wordpress/deprecated": "^4.24.0",
56
- "@wordpress/dom": "^4.24.0",
57
- "@wordpress/element": "^6.24.0",
58
- "@wordpress/escape-html": "^3.24.0",
59
- "@wordpress/hooks": "^4.24.0",
60
- "@wordpress/html-entities": "^4.24.0",
61
- "@wordpress/i18n": "^5.24.0",
62
- "@wordpress/icons": "^10.24.0",
63
- "@wordpress/interactivity": "^6.24.0",
64
- "@wordpress/interactivity-router": "^2.24.0",
65
- "@wordpress/keyboard-shortcuts": "^5.24.0",
66
- "@wordpress/keycodes": "^4.24.0",
67
- "@wordpress/notices": "^5.24.0",
68
- "@wordpress/patterns": "^2.24.0",
69
- "@wordpress/primitives": "^4.24.0",
70
- "@wordpress/private-apis": "^1.24.0",
71
- "@wordpress/reusable-blocks": "^5.24.0",
72
- "@wordpress/rich-text": "^7.24.0",
73
- "@wordpress/server-side-render": "^6.0.0",
74
- "@wordpress/url": "^4.24.0",
75
- "@wordpress/viewport": "^6.24.0",
76
- "@wordpress/wordcount": "^4.24.0",
44
+ "@wordpress/a11y": "^4.26.0",
45
+ "@wordpress/api-fetch": "^7.26.0",
46
+ "@wordpress/autop": "^4.26.0",
47
+ "@wordpress/blob": "^4.26.0",
48
+ "@wordpress/block-editor": "^14.21.0",
49
+ "@wordpress/blocks": "^14.15.0",
50
+ "@wordpress/components": "^29.12.0",
51
+ "@wordpress/compose": "^7.26.0",
52
+ "@wordpress/core-data": "^7.26.0",
53
+ "@wordpress/data": "^10.26.0",
54
+ "@wordpress/date": "^5.26.0",
55
+ "@wordpress/deprecated": "^4.26.0",
56
+ "@wordpress/dom": "^4.26.0",
57
+ "@wordpress/element": "^6.26.0",
58
+ "@wordpress/escape-html": "^3.26.0",
59
+ "@wordpress/hooks": "^4.26.0",
60
+ "@wordpress/html-entities": "^4.26.0",
61
+ "@wordpress/i18n": "^5.26.0",
62
+ "@wordpress/icons": "^10.26.0",
63
+ "@wordpress/interactivity": "^6.26.0",
64
+ "@wordpress/interactivity-router": "^2.26.0",
65
+ "@wordpress/keyboard-shortcuts": "^5.26.0",
66
+ "@wordpress/keycodes": "^4.26.0",
67
+ "@wordpress/notices": "^5.26.0",
68
+ "@wordpress/patterns": "^2.26.0",
69
+ "@wordpress/primitives": "^4.26.0",
70
+ "@wordpress/private-apis": "^1.26.0",
71
+ "@wordpress/reusable-blocks": "^5.26.0",
72
+ "@wordpress/rich-text": "^7.26.0",
73
+ "@wordpress/server-side-render": "^6.2.0",
74
+ "@wordpress/url": "^4.26.0",
75
+ "@wordpress/viewport": "^6.26.0",
76
+ "@wordpress/wordcount": "^4.26.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": "9c03d1458cae76792ae15e67b421205836bf4393"
94
+ "gitHead": "35e26942820d8237771af0c58e45b4303f0497f1"
95
95
  }