@wordpress/block-library 8.3.2 → 8.4.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 (193) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/build/button/edit.js +3 -1
  3. package/build/button/edit.js.map +1 -1
  4. package/build/button/index.js +17 -6
  5. package/build/button/index.js.map +1 -1
  6. package/build/cover/edit/index.js +3 -2
  7. package/build/cover/edit/index.js.map +1 -1
  8. package/build/file/index.js +10 -1
  9. package/build/file/index.js.map +1 -1
  10. package/build/image/image.js +21 -15
  11. package/build/image/image.js.map +1 -1
  12. package/build/latest-comments/edit.js +6 -2
  13. package/build/latest-comments/edit.js.map +1 -1
  14. package/build/latest-comments/index.js +13 -0
  15. package/build/latest-comments/index.js.map +1 -1
  16. package/build/navigation/edit/index.js +2 -28
  17. package/build/navigation/edit/index.js.map +1 -1
  18. package/build/navigation/edit/menu-inspector-controls.js +5 -6
  19. package/build/navigation/edit/menu-inspector-controls.js.map +1 -1
  20. package/build/navigation/edit/navigation-menu-selector.js +14 -11
  21. package/build/navigation/edit/navigation-menu-selector.js.map +1 -1
  22. package/build/navigation/edit/unsaved-inner-blocks.js +4 -5
  23. package/build/navigation/edit/unsaved-inner-blocks.js.map +1 -1
  24. package/build/navigation/edit/use-create-navigation-menu.js +11 -2
  25. package/build/navigation/edit/use-create-navigation-menu.js.map +1 -1
  26. package/build/navigation/use-navigation-menu.js +1 -1
  27. package/build/navigation/use-navigation-menu.js.map +1 -1
  28. package/build/navigation-link/edit.js +4 -0
  29. package/build/navigation-link/edit.js.map +1 -1
  30. package/build/navigation-link/link-ui.js +1 -0
  31. package/build/navigation-link/link-ui.js.map +1 -1
  32. package/build/navigation-submenu/edit.js +4 -0
  33. package/build/navigation-submenu/edit.js.map +1 -1
  34. package/build/page-list/edit.js +5 -4
  35. package/build/page-list/edit.js.map +1 -1
  36. package/build/page-list/use-convert-to-navigation-links.js +61 -5
  37. package/build/page-list/use-convert-to-navigation-links.js.map +1 -1
  38. package/build/post-excerpt/edit.js +49 -3
  39. package/build/post-excerpt/edit.js.map +1 -1
  40. package/build/post-excerpt/index.js +4 -0
  41. package/build/post-excerpt/index.js.map +1 -1
  42. package/build/post-featured-image/dimension-controls.js +52 -1
  43. package/build/post-featured-image/dimension-controls.js.map +1 -1
  44. package/build/post-featured-image/edit.js +9 -4
  45. package/build/post-featured-image/edit.js.map +1 -1
  46. package/build/post-featured-image/index.js +3 -0
  47. package/build/post-featured-image/index.js.map +1 -1
  48. package/build/{experiments.js → private-apis.js} +3 -3
  49. package/build/private-apis.js.map +1 -0
  50. package/build/site-logo/edit.js +7 -11
  51. package/build/site-logo/edit.js.map +1 -1
  52. package/build/table/edit.js +3 -3
  53. package/build/table/edit.js.map +1 -1
  54. package/build/table-of-contents/utils.js +1 -1
  55. package/build/table-of-contents/utils.js.map +1 -1
  56. package/build/verse/index.js +6 -0
  57. package/build/verse/index.js.map +1 -1
  58. package/build-module/button/edit.js +2 -1
  59. package/build-module/button/edit.js.map +1 -1
  60. package/build-module/button/index.js +17 -6
  61. package/build-module/button/index.js.map +1 -1
  62. package/build-module/cover/edit/index.js +3 -2
  63. package/build-module/cover/edit/index.js.map +1 -1
  64. package/build-module/file/index.js +10 -1
  65. package/build-module/file/index.js.map +1 -1
  66. package/build-module/image/image.js +21 -15
  67. package/build-module/image/image.js.map +1 -1
  68. package/build-module/latest-comments/edit.js +6 -2
  69. package/build-module/latest-comments/edit.js.map +1 -1
  70. package/build-module/latest-comments/index.js +13 -0
  71. package/build-module/latest-comments/index.js.map +1 -1
  72. package/build-module/navigation/edit/index.js +3 -29
  73. package/build-module/navigation/edit/index.js.map +1 -1
  74. package/build-module/navigation/edit/menu-inspector-controls.js +5 -5
  75. package/build-module/navigation/edit/menu-inspector-controls.js.map +1 -1
  76. package/build-module/navigation/edit/navigation-menu-selector.js +14 -10
  77. package/build-module/navigation/edit/navigation-menu-selector.js.map +1 -1
  78. package/build-module/navigation/edit/unsaved-inner-blocks.js +4 -5
  79. package/build-module/navigation/edit/unsaved-inner-blocks.js.map +1 -1
  80. package/build-module/navigation/edit/use-create-navigation-menu.js +11 -2
  81. package/build-module/navigation/edit/use-create-navigation-menu.js.map +1 -1
  82. package/build-module/navigation/use-navigation-menu.js +1 -1
  83. package/build-module/navigation/use-navigation-menu.js.map +1 -1
  84. package/build-module/navigation-link/edit.js +4 -0
  85. package/build-module/navigation-link/edit.js.map +1 -1
  86. package/build-module/navigation-link/link-ui.js +1 -0
  87. package/build-module/navigation-link/link-ui.js.map +1 -1
  88. package/build-module/navigation-submenu/edit.js +4 -0
  89. package/build-module/navigation-submenu/edit.js.map +1 -1
  90. package/build-module/page-list/edit.js +5 -4
  91. package/build-module/page-list/edit.js.map +1 -1
  92. package/build-module/page-list/use-convert-to-navigation-links.js +61 -5
  93. package/build-module/page-list/use-convert-to-navigation-links.js.map +1 -1
  94. package/build-module/post-excerpt/edit.js +52 -5
  95. package/build-module/post-excerpt/edit.js.map +1 -1
  96. package/build-module/post-excerpt/index.js +4 -0
  97. package/build-module/post-excerpt/index.js.map +1 -1
  98. package/build-module/post-featured-image/dimension-controls.js +52 -1
  99. package/build-module/post-featured-image/dimension-controls.js.map +1 -1
  100. package/build-module/post-featured-image/edit.js +9 -4
  101. package/build-module/post-featured-image/edit.js.map +1 -1
  102. package/build-module/post-featured-image/index.js +3 -0
  103. package/build-module/post-featured-image/index.js.map +1 -1
  104. package/build-module/{experiments.js → private-apis.js} +2 -2
  105. package/build-module/private-apis.js.map +1 -0
  106. package/build-module/site-logo/edit.js +7 -11
  107. package/build-module/site-logo/edit.js.map +1 -1
  108. package/build-module/table/edit.js +3 -3
  109. package/build-module/table/edit.js.map +1 -1
  110. package/build-module/table-of-contents/utils.js +1 -1
  111. package/build-module/table-of-contents/utils.js.map +1 -1
  112. package/build-module/verse/index.js +6 -0
  113. package/build-module/verse/index.js.map +1 -1
  114. package/build-style/avatar/style-rtl.css +3 -0
  115. package/build-style/avatar/style.css +3 -0
  116. package/build-style/button/editor-rtl.css +31 -0
  117. package/build-style/button/editor.css +31 -0
  118. package/build-style/button/style-rtl.css +31 -0
  119. package/build-style/button/style.css +31 -0
  120. package/build-style/classic-rtl.css +5 -0
  121. package/build-style/classic.css +5 -0
  122. package/build-style/editor-rtl.css +36 -1
  123. package/build-style/editor.css +36 -1
  124. package/build-style/file/style-rtl.css +1 -0
  125. package/build-style/file/style.css +1 -0
  126. package/build-style/image/editor-rtl.css +1 -0
  127. package/build-style/image/editor.css +1 -0
  128. package/build-style/image/style-rtl.css +6 -2
  129. package/build-style/image/style.css +6 -0
  130. package/build-style/latest-comments/style-rtl.css +18 -5
  131. package/build-style/latest-comments/style.css +18 -5
  132. package/build-style/quote/style-rtl.css +5 -5
  133. package/build-style/quote/style.css +5 -5
  134. package/build-style/style-rtl.css +64 -12
  135. package/build-style/style.css +64 -10
  136. package/build-types/table-of-contents/utils.d.ts +1 -1
  137. package/package.json +30 -30
  138. package/src/avatar/index.php +67 -63
  139. package/src/avatar/style.scss +3 -0
  140. package/src/button/block.json +17 -6
  141. package/src/button/edit.js +2 -1
  142. package/src/button/editor.scss +36 -0
  143. package/src/button/style.scss +37 -1
  144. package/src/classic.scss +5 -0
  145. package/src/cover/edit/index.js +4 -1
  146. package/src/editor.scss +5 -0
  147. package/src/file/block.json +10 -1
  148. package/src/file/style.scss +1 -0
  149. package/src/image/editor.scss +1 -0
  150. package/src/image/image.js +32 -27
  151. package/src/image/style.scss +13 -0
  152. package/src/latest-comments/block.json +13 -0
  153. package/src/latest-comments/edit.js +9 -2
  154. package/src/latest-comments/style.scss +25 -7
  155. package/src/navigation/edit/index.js +1 -30
  156. package/src/navigation/edit/menu-inspector-controls.js +3 -4
  157. package/src/navigation/edit/navigation-menu-selector.js +12 -26
  158. package/src/navigation/edit/test/navigation-menu-selector.js +638 -0
  159. package/src/navigation/edit/unsaved-inner-blocks.js +29 -36
  160. package/src/navigation/edit/use-create-navigation-menu.js +13 -1
  161. package/src/navigation/index.php +8 -6
  162. package/src/navigation/use-navigation-menu.js +1 -1
  163. package/src/navigation-link/edit.js +3 -0
  164. package/src/navigation-link/link-ui.js +1 -0
  165. package/src/navigation-submenu/edit.js +3 -0
  166. package/src/page-list/edit.js +6 -5
  167. package/src/page-list/index.php +4 -4
  168. package/src/page-list/test/convert-to-links-modal.js +134 -0
  169. package/src/page-list/use-convert-to-navigation-links.js +64 -4
  170. package/src/post-excerpt/block.json +4 -0
  171. package/src/post-excerpt/edit.js +72 -7
  172. package/src/post-excerpt/index.php +29 -5
  173. package/src/post-featured-image/block.json +3 -0
  174. package/src/post-featured-image/dimension-controls.js +64 -2
  175. package/src/post-featured-image/edit.js +18 -6
  176. package/src/post-featured-image/index.php +25 -9
  177. package/src/post-title/index.php +3 -3
  178. package/src/{experiments.js → private-apis.js} +1 -1
  179. package/src/quote/style.scss +2 -2
  180. package/src/site-logo/edit.js +3 -6
  181. package/src/table/edit.js +3 -3
  182. package/src/table-of-contents/utils.ts +1 -1
  183. package/src/template-part/index.php +1 -1
  184. package/src/verse/block.json +6 -0
  185. package/tsconfig.json +24 -1
  186. package/tsconfig.tsbuildinfo +1 -1
  187. package/build/experiments.js.map +0 -1
  188. package/build/navigation/leaf-more-menu.js +0 -95
  189. package/build/navigation/leaf-more-menu.js.map +0 -1
  190. package/build-module/experiments.js.map +0 -1
  191. package/build-module/navigation/leaf-more-menu.js +0 -76
  192. package/build-module/navigation/leaf-more-menu.js.map +0 -1
  193. package/src/navigation/leaf-more-menu.js +0 -93
@@ -152,4 +152,35 @@ div[data-type="core/button"] {
152
152
 
153
153
  .editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link {
154
154
  text-decoration: inherit;
155
+ }
156
+
157
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where(.has-border-color) {
158
+ border-width: initial;
159
+ }
160
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-top-color"]) {
161
+ border-top-width: initial;
162
+ }
163
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-right-color"]) {
164
+ border-left-width: initial;
165
+ }
166
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-bottom-color"]) {
167
+ border-bottom-width: initial;
168
+ }
169
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-left-color"]) {
170
+ border-right-width: initial;
171
+ }
172
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-style"]) {
173
+ border-width: initial;
174
+ }
175
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-top-style"]) {
176
+ border-top-width: initial;
177
+ }
178
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-right-style"]) {
179
+ border-left-width: initial;
180
+ }
181
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-bottom-style"]) {
182
+ border-bottom-width: initial;
183
+ }
184
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-left-style"]) {
185
+ border-right-width: initial;
155
186
  }
@@ -153,4 +153,35 @@ div[data-type="core/button"] {
153
153
 
154
154
  .editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link {
155
155
  text-decoration: inherit;
156
+ }
157
+
158
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where(.has-border-color) {
159
+ border-width: initial;
160
+ }
161
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-top-color"]) {
162
+ border-top-width: initial;
163
+ }
164
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-right-color"]) {
165
+ border-right-width: initial;
166
+ }
167
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-bottom-color"]) {
168
+ border-bottom-width: initial;
169
+ }
170
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-left-color"]) {
171
+ border-left-width: initial;
172
+ }
173
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-style"]) {
174
+ border-width: initial;
175
+ }
176
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-top-style"]) {
177
+ border-top-width: initial;
178
+ }
179
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-right-style"]) {
180
+ border-right-width: initial;
181
+ }
182
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-bottom-style"]) {
183
+ border-bottom-width: initial;
184
+ }
185
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-left-style"]) {
186
+ border-left-width: initial;
156
187
  }
@@ -169,4 +169,35 @@
169
169
  .wp-block-button .wp-block-button__link.is-style-outline:not(.has-background) {
170
170
  background-color: transparent;
171
171
  background-image: none;
172
+ }
173
+
174
+ .wp-block-button .wp-block-button__link:where(.has-border-color) {
175
+ border-width: initial;
176
+ }
177
+ .wp-block-button .wp-block-button__link:where([style*="border-top-color"]) {
178
+ border-top-width: initial;
179
+ }
180
+ .wp-block-button .wp-block-button__link:where([style*="border-right-color"]) {
181
+ border-left-width: initial;
182
+ }
183
+ .wp-block-button .wp-block-button__link:where([style*="border-bottom-color"]) {
184
+ border-bottom-width: initial;
185
+ }
186
+ .wp-block-button .wp-block-button__link:where([style*="border-left-color"]) {
187
+ border-right-width: initial;
188
+ }
189
+ .wp-block-button .wp-block-button__link:where([style*="border-style"]) {
190
+ border-width: initial;
191
+ }
192
+ .wp-block-button .wp-block-button__link:where([style*="border-top-style"]) {
193
+ border-top-width: initial;
194
+ }
195
+ .wp-block-button .wp-block-button__link:where([style*="border-right-style"]) {
196
+ border-left-width: initial;
197
+ }
198
+ .wp-block-button .wp-block-button__link:where([style*="border-bottom-style"]) {
199
+ border-bottom-width: initial;
200
+ }
201
+ .wp-block-button .wp-block-button__link:where([style*="border-left-style"]) {
202
+ border-right-width: initial;
172
203
  }
@@ -170,4 +170,35 @@
170
170
  .wp-block-button .wp-block-button__link.is-style-outline:not(.has-background) {
171
171
  background-color: transparent;
172
172
  background-image: none;
173
+ }
174
+
175
+ .wp-block-button .wp-block-button__link:where(.has-border-color) {
176
+ border-width: initial;
177
+ }
178
+ .wp-block-button .wp-block-button__link:where([style*="border-top-color"]) {
179
+ border-top-width: initial;
180
+ }
181
+ .wp-block-button .wp-block-button__link:where([style*="border-right-color"]) {
182
+ border-right-width: initial;
183
+ }
184
+ .wp-block-button .wp-block-button__link:where([style*="border-bottom-color"]) {
185
+ border-bottom-width: initial;
186
+ }
187
+ .wp-block-button .wp-block-button__link:where([style*="border-left-color"]) {
188
+ border-left-width: initial;
189
+ }
190
+ .wp-block-button .wp-block-button__link:where([style*="border-style"]) {
191
+ border-width: initial;
192
+ }
193
+ .wp-block-button .wp-block-button__link:where([style*="border-top-style"]) {
194
+ border-top-width: initial;
195
+ }
196
+ .wp-block-button .wp-block-button__link:where([style*="border-right-style"]) {
197
+ border-right-width: initial;
198
+ }
199
+ .wp-block-button .wp-block-button__link:where([style*="border-bottom-style"]) {
200
+ border-bottom-width: initial;
201
+ }
202
+ .wp-block-button .wp-block-button__link:where([style*="border-left-style"]) {
203
+ border-left-width: initial;
173
204
  }
@@ -94,4 +94,9 @@
94
94
  text-decoration: none;
95
95
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
96
96
  font-size: 1.125em;
97
+ }
98
+
99
+ .wp-block-file__button {
100
+ background: #32373c;
101
+ color: #fff;
97
102
  }
@@ -94,4 +94,9 @@
94
94
  text-decoration: none;
95
95
  padding: calc(0.667em + 2px) calc(1.333em + 2px);
96
96
  font-size: 1.125em;
97
+ }
98
+
99
+ .wp-block-file__button {
100
+ background: #32373c;
101
+ color: #fff;
97
102
  }
@@ -203,6 +203,37 @@ div[data-type="core/button"] {
203
203
  text-decoration: inherit;
204
204
  }
205
205
 
206
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where(.has-border-color) {
207
+ border-width: initial;
208
+ }
209
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-top-color"]) {
210
+ border-top-width: initial;
211
+ }
212
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-right-color"]) {
213
+ border-left-width: initial;
214
+ }
215
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-bottom-color"]) {
216
+ border-bottom-width: initial;
217
+ }
218
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-left-color"]) {
219
+ border-right-width: initial;
220
+ }
221
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-style"]) {
222
+ border-width: initial;
223
+ }
224
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-top-style"]) {
225
+ border-top-width: initial;
226
+ }
227
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-right-style"]) {
228
+ border-left-width: initial;
229
+ }
230
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-bottom-style"]) {
231
+ border-bottom-width: initial;
232
+ }
233
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-left-style"]) {
234
+ border-right-width: initial;
235
+ }
236
+
206
237
  .wp-block-buttons {
207
238
  /* stylelint-disable indentation */
208
239
  }
@@ -1333,6 +1364,7 @@ figure.wp-block-image:not(.wp-block) {
1333
1364
  }
1334
1365
  .wp-block-image__crop-area .reactEasyCrop_Container .reactEasyCrop_Image {
1335
1366
  border: none;
1367
+ border-radius: 0;
1336
1368
  }
1337
1369
 
1338
1370
  .wp-block-image__crop-icon {
@@ -2997,4 +3029,7 @@ div[data-type="core/post-featured-image"] img {
2997
3029
  *
2998
3030
  * These are only output in the editor, but styles here are NOT prefixed .editor-styles-wrapper.
2999
3031
  * This allows us to create normalization styles that are easily overridden by editor styles.
3000
- */
3032
+ */
3033
+ .editor-styles-wrapper iframe:not([frameborder]) {
3034
+ border: 0;
3035
+ }
@@ -204,6 +204,37 @@ div[data-type="core/button"] {
204
204
  text-decoration: inherit;
205
205
  }
206
206
 
207
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where(.has-border-color) {
208
+ border-width: initial;
209
+ }
210
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-top-color"]) {
211
+ border-top-width: initial;
212
+ }
213
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-right-color"]) {
214
+ border-right-width: initial;
215
+ }
216
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-bottom-color"]) {
217
+ border-bottom-width: initial;
218
+ }
219
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-left-color"]) {
220
+ border-left-width: initial;
221
+ }
222
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-style"]) {
223
+ border-width: initial;
224
+ }
225
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-top-style"]) {
226
+ border-top-width: initial;
227
+ }
228
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-right-style"]) {
229
+ border-right-width: initial;
230
+ }
231
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-bottom-style"]) {
232
+ border-bottom-width: initial;
233
+ }
234
+ .editor-styles-wrapper .wp-block-button .wp-block-button__link:where([style*="border-left-style"]) {
235
+ border-left-width: initial;
236
+ }
237
+
207
238
  .wp-block-buttons {
208
239
  /* stylelint-disable indentation */
209
240
  }
@@ -1341,6 +1372,7 @@ figure.wp-block-image:not(.wp-block) {
1341
1372
  }
1342
1373
  .wp-block-image__crop-area .reactEasyCrop_Container .reactEasyCrop_Image {
1343
1374
  border: none;
1375
+ border-radius: 0;
1344
1376
  }
1345
1377
 
1346
1378
  .wp-block-image__crop-icon {
@@ -3008,4 +3040,7 @@ div[data-type="core/post-featured-image"] img {
3008
3040
  *
3009
3041
  * These are only output in the editor, but styles here are NOT prefixed .editor-styles-wrapper.
3010
3042
  * This allows us to create normalization styles that are easily overridden by editor styles.
3011
- */
3043
+ */
3044
+ .editor-styles-wrapper iframe:not([frameborder]) {
3045
+ border: 0;
3046
+ }
@@ -109,6 +109,7 @@
109
109
  :where(.wp-block-file__button) {
110
110
  border-radius: 2em;
111
111
  padding: 0.5em 1em;
112
+ display: inline-block;
112
113
  }
113
114
  :where(.wp-block-file__button):is(a):hover, :where(.wp-block-file__button):is(a):visited, :where(.wp-block-file__button):is(a):focus, :where(.wp-block-file__button):is(a):active {
114
115
  box-shadow: none;
@@ -110,6 +110,7 @@
110
110
  :where(.wp-block-file__button) {
111
111
  border-radius: 2em;
112
112
  padding: 0.5em 1em;
113
+ display: inline-block;
113
114
  }
114
115
  :where(.wp-block-file__button):is(a):hover, :where(.wp-block-file__button):is(a):visited, :where(.wp-block-file__button):is(a):focus, :where(.wp-block-file__button):is(a):active {
115
116
  box-shadow: none;
@@ -196,6 +196,7 @@ figure.wp-block-image:not(.wp-block) {
196
196
  }
197
197
  .wp-block-image__crop-area .reactEasyCrop_Container .reactEasyCrop_Image {
198
198
  border: none;
199
+ border-radius: 0;
199
200
  }
200
201
 
201
202
  .wp-block-image__crop-icon {
@@ -196,6 +196,7 @@ figure.wp-block-image:not(.wp-block) {
196
196
  }
197
197
  .wp-block-image__crop-area .reactEasyCrop_Container .reactEasyCrop_Image {
198
198
  border: none;
199
+ border-radius: 0;
199
200
  }
200
201
 
201
202
  .wp-block-image__crop-icon {
@@ -92,6 +92,10 @@
92
92
  vertical-align: bottom;
93
93
  box-sizing: border-box;
94
94
  }
95
+ .wp-block-image[style*=border-radius] > a,
96
+ .wp-block-image[style*=border-radius] img {
97
+ border-radius: inherit;
98
+ }
95
99
  .wp-block-image.has-custom-border img {
96
100
  box-sizing: border-box;
97
101
  }
@@ -118,14 +122,14 @@
118
122
  .wp-block-image .alignleft {
119
123
  float: left;
120
124
  margin-left: 0;
121
- margin-left: 1em;
125
+ margin-right: 1em;
122
126
  margin-top: 0.5em;
123
127
  margin-bottom: 0.5em;
124
128
  }
125
129
  .wp-block-image .alignright {
126
130
  float: right;
127
131
  margin-right: 0;
128
- margin-right: 1em;
132
+ margin-left: 1em;
129
133
  margin-top: 0.5em;
130
134
  margin-bottom: 0.5em;
131
135
  }
@@ -92,6 +92,10 @@
92
92
  vertical-align: bottom;
93
93
  box-sizing: border-box;
94
94
  }
95
+ .wp-block-image[style*=border-radius] > a,
96
+ .wp-block-image[style*=border-radius] img {
97
+ border-radius: inherit;
98
+ }
95
99
  .wp-block-image.has-custom-border img {
96
100
  box-sizing: border-box;
97
101
  }
@@ -120,6 +124,7 @@
120
124
  float: left;
121
125
  /*rtl:ignore*/
122
126
  margin-left: 0;
127
+ /*rtl:ignore*/
123
128
  margin-right: 1em;
124
129
  margin-top: 0.5em;
125
130
  margin-bottom: 0.5em;
@@ -129,6 +134,7 @@
129
134
  float: right;
130
135
  /*rtl:ignore*/
131
136
  margin-right: 0;
137
+ /*rtl:ignore*/
132
138
  margin-left: 1em;
133
139
  margin-top: 0.5em;
134
140
  margin-bottom: 0.5em;
@@ -91,12 +91,24 @@ ol.wp-block-latest-comments {
91
91
  box-sizing: border-box;
92
92
  }
93
93
 
94
+ :where(.wp-block-latest-comments:not([style*="line-height"] .wp-block-latest-comments__comment)) {
95
+ line-height: 1.1;
96
+ }
97
+
98
+ :where(.wp-block-latest-comments:not([style*="line-height"] .wp-block-latest-comments__comment-excerpt p)) {
99
+ line-height: 1.8;
100
+ }
101
+
102
+ .has-dates :where(.wp-block-latest-comments:not([style*="line-height"])),
103
+ .has-excerpts :where(.wp-block-latest-comments:not([style*="line-height"])) {
104
+ line-height: 1.5;
105
+ }
106
+
94
107
  .wp-block-latest-comments .wp-block-latest-comments {
95
108
  padding-right: 0;
96
109
  }
97
110
 
98
111
  .wp-block-latest-comments__comment {
99
- line-height: 1.1;
100
112
  list-style: none;
101
113
  margin-bottom: 1em;
102
114
  }
@@ -108,13 +120,9 @@ ol.wp-block-latest-comments {
108
120
  .has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt {
109
121
  margin-right: 3.25em;
110
122
  }
111
- .has-dates .wp-block-latest-comments__comment, .has-excerpts .wp-block-latest-comments__comment {
112
- line-height: 1.5;
113
- }
114
123
 
115
124
  .wp-block-latest-comments__comment-excerpt p {
116
125
  font-size: 0.875em;
117
- line-height: 1.8;
118
126
  margin: 0.36em 0 1.4em;
119
127
  }
120
128
 
@@ -131,4 +139,9 @@ ol.wp-block-latest-comments {
131
139
  height: 2.5em;
132
140
  margin-left: 0.75em;
133
141
  width: 2.5em;
142
+ }
143
+
144
+ .wp-block-latest-comments[style*=font-size] a,
145
+ .wp-block-latest-comments[class*=-font-size] a {
146
+ font-size: inherit;
134
147
  }
@@ -91,12 +91,24 @@ ol.wp-block-latest-comments {
91
91
  box-sizing: border-box;
92
92
  }
93
93
 
94
+ :where(.wp-block-latest-comments:not([style*="line-height"] .wp-block-latest-comments__comment)) {
95
+ line-height: 1.1;
96
+ }
97
+
98
+ :where(.wp-block-latest-comments:not([style*="line-height"] .wp-block-latest-comments__comment-excerpt p)) {
99
+ line-height: 1.8;
100
+ }
101
+
102
+ .has-dates :where(.wp-block-latest-comments:not([style*="line-height"])),
103
+ .has-excerpts :where(.wp-block-latest-comments:not([style*="line-height"])) {
104
+ line-height: 1.5;
105
+ }
106
+
94
107
  .wp-block-latest-comments .wp-block-latest-comments {
95
108
  padding-left: 0;
96
109
  }
97
110
 
98
111
  .wp-block-latest-comments__comment {
99
- line-height: 1.1;
100
112
  list-style: none;
101
113
  margin-bottom: 1em;
102
114
  }
@@ -108,13 +120,9 @@ ol.wp-block-latest-comments {
108
120
  .has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt {
109
121
  margin-left: 3.25em;
110
122
  }
111
- .has-dates .wp-block-latest-comments__comment, .has-excerpts .wp-block-latest-comments__comment {
112
- line-height: 1.5;
113
- }
114
123
 
115
124
  .wp-block-latest-comments__comment-excerpt p {
116
125
  font-size: 0.875em;
117
- line-height: 1.8;
118
126
  margin: 0.36em 0 1.4em;
119
127
  }
120
128
 
@@ -131,4 +139,9 @@ ol.wp-block-latest-comments {
131
139
  height: 2.5em;
132
140
  margin-right: 0.75em;
133
141
  width: 2.5em;
142
+ }
143
+
144
+ .wp-block-latest-comments[style*=font-size] a,
145
+ .wp-block-latest-comments[class*=-font-size] a {
146
+ font-size: inherit;
134
147
  }
@@ -90,18 +90,18 @@
90
90
  box-sizing: border-box;
91
91
  overflow-wrap: break-word;
92
92
  }
93
- .wp-block-quote.is-style-large:not(.is-style-plain), .wp-block-quote.is-large:not(.is-style-plain) {
93
+ .wp-block-quote.is-style-large:where(:not(.is-style-plain)), .wp-block-quote.is-large:where(:not(.is-style-plain)) {
94
94
  margin-bottom: 1em;
95
95
  padding: 0 1em;
96
96
  }
97
- .wp-block-quote.is-style-large:not(.is-style-plain) p, .wp-block-quote.is-large:not(.is-style-plain) p {
97
+ .wp-block-quote.is-style-large:where(:not(.is-style-plain)) p, .wp-block-quote.is-large:where(:not(.is-style-plain)) p {
98
98
  font-size: 1.5em;
99
99
  font-style: italic;
100
100
  line-height: 1.6;
101
101
  }
102
- .wp-block-quote.is-style-large:not(.is-style-plain) cite,
103
- .wp-block-quote.is-style-large:not(.is-style-plain) footer, .wp-block-quote.is-large:not(.is-style-plain) cite,
104
- .wp-block-quote.is-large:not(.is-style-plain) footer {
102
+ .wp-block-quote.is-style-large:where(:not(.is-style-plain)) cite,
103
+ .wp-block-quote.is-style-large:where(:not(.is-style-plain)) footer, .wp-block-quote.is-large:where(:not(.is-style-plain)) cite,
104
+ .wp-block-quote.is-large:where(:not(.is-style-plain)) footer {
105
105
  font-size: 1.125em;
106
106
  text-align: left;
107
107
  }
@@ -90,18 +90,18 @@
90
90
  box-sizing: border-box;
91
91
  overflow-wrap: break-word;
92
92
  }
93
- .wp-block-quote.is-style-large:not(.is-style-plain), .wp-block-quote.is-large:not(.is-style-plain) {
93
+ .wp-block-quote.is-style-large:where(:not(.is-style-plain)), .wp-block-quote.is-large:where(:not(.is-style-plain)) {
94
94
  margin-bottom: 1em;
95
95
  padding: 0 1em;
96
96
  }
97
- .wp-block-quote.is-style-large:not(.is-style-plain) p, .wp-block-quote.is-large:not(.is-style-plain) p {
97
+ .wp-block-quote.is-style-large:where(:not(.is-style-plain)) p, .wp-block-quote.is-large:where(:not(.is-style-plain)) p {
98
98
  font-size: 1.5em;
99
99
  font-style: italic;
100
100
  line-height: 1.6;
101
101
  }
102
- .wp-block-quote.is-style-large:not(.is-style-plain) cite,
103
- .wp-block-quote.is-style-large:not(.is-style-plain) footer, .wp-block-quote.is-large:not(.is-style-plain) cite,
104
- .wp-block-quote.is-large:not(.is-style-plain) footer {
102
+ .wp-block-quote.is-style-large:where(:not(.is-style-plain)) cite,
103
+ .wp-block-quote.is-style-large:where(:not(.is-style-plain)) footer, .wp-block-quote.is-large:where(:not(.is-style-plain)) cite,
104
+ .wp-block-quote.is-large:where(:not(.is-style-plain)) footer {
105
105
  font-size: 1.125em;
106
106
  text-align: right;
107
107
  }
@@ -98,6 +98,9 @@
98
98
  .wp-block-avatar {
99
99
  box-sizing: border-box;
100
100
  }
101
+ .wp-block-avatar img {
102
+ box-sizing: border-box;
103
+ }
101
104
  .wp-block-avatar.aligncenter {
102
105
  text-align: center;
103
106
  }
@@ -199,6 +202,37 @@
199
202
  background-image: none;
200
203
  }
201
204
 
205
+ .wp-block-button .wp-block-button__link:where(.has-border-color) {
206
+ border-width: initial;
207
+ }
208
+ .wp-block-button .wp-block-button__link:where([style*="border-top-color"]) {
209
+ border-top-width: initial;
210
+ }
211
+ .wp-block-button .wp-block-button__link:where([style*="border-right-color"]) {
212
+ border-left-width: initial;
213
+ }
214
+ .wp-block-button .wp-block-button__link:where([style*="border-bottom-color"]) {
215
+ border-bottom-width: initial;
216
+ }
217
+ .wp-block-button .wp-block-button__link:where([style*="border-left-color"]) {
218
+ border-right-width: initial;
219
+ }
220
+ .wp-block-button .wp-block-button__link:where([style*="border-style"]) {
221
+ border-width: initial;
222
+ }
223
+ .wp-block-button .wp-block-button__link:where([style*="border-top-style"]) {
224
+ border-top-width: initial;
225
+ }
226
+ .wp-block-button .wp-block-button__link:where([style*="border-right-style"]) {
227
+ border-left-width: initial;
228
+ }
229
+ .wp-block-button .wp-block-button__link:where([style*="border-bottom-style"]) {
230
+ border-bottom-width: initial;
231
+ }
232
+ .wp-block-button .wp-block-button__link:where([style*="border-left-style"]) {
233
+ border-right-width: initial;
234
+ }
235
+
202
236
  .wp-block-buttons {
203
237
  /* stylelint-disable indentation */
204
238
  }
@@ -1065,6 +1099,7 @@ section.wp-block-cover-image > h2,
1065
1099
  :where(.wp-block-file__button) {
1066
1100
  border-radius: 2em;
1067
1101
  padding: 0.5em 1em;
1102
+ display: inline-block;
1068
1103
  }
1069
1104
  :where(.wp-block-file__button):is(a):hover, :where(.wp-block-file__button):is(a):visited, :where(.wp-block-file__button):is(a):focus, :where(.wp-block-file__button):is(a):active {
1070
1105
  box-shadow: none;
@@ -1414,6 +1449,10 @@ h6.has-background {
1414
1449
  vertical-align: bottom;
1415
1450
  box-sizing: border-box;
1416
1451
  }
1452
+ .wp-block-image[style*=border-radius] > a,
1453
+ .wp-block-image[style*=border-radius] img {
1454
+ border-radius: inherit;
1455
+ }
1417
1456
  .wp-block-image.has-custom-border img {
1418
1457
  box-sizing: border-box;
1419
1458
  }
@@ -1440,14 +1479,14 @@ h6.has-background {
1440
1479
  .wp-block-image .alignleft {
1441
1480
  float: left;
1442
1481
  margin-left: 0;
1443
- margin-left: 1em;
1482
+ margin-right: 1em;
1444
1483
  margin-top: 0.5em;
1445
1484
  margin-bottom: 0.5em;
1446
1485
  }
1447
1486
  .wp-block-image .alignright {
1448
1487
  float: right;
1449
1488
  margin-right: 0;
1450
- margin-right: 1em;
1489
+ margin-left: 1em;
1451
1490
  margin-top: 0.5em;
1452
1491
  margin-bottom: 0.5em;
1453
1492
  }
@@ -1522,12 +1561,24 @@ ol.wp-block-latest-comments {
1522
1561
  box-sizing: border-box;
1523
1562
  }
1524
1563
 
1564
+ :where(.wp-block-latest-comments:not([style*="line-height"] .wp-block-latest-comments__comment)) {
1565
+ line-height: 1.1;
1566
+ }
1567
+
1568
+ :where(.wp-block-latest-comments:not([style*="line-height"] .wp-block-latest-comments__comment-excerpt p)) {
1569
+ line-height: 1.8;
1570
+ }
1571
+
1572
+ .has-dates :where(.wp-block-latest-comments:not([style*="line-height"])),
1573
+ .has-excerpts :where(.wp-block-latest-comments:not([style*="line-height"])) {
1574
+ line-height: 1.5;
1575
+ }
1576
+
1525
1577
  .wp-block-latest-comments .wp-block-latest-comments {
1526
1578
  padding-right: 0;
1527
1579
  }
1528
1580
 
1529
1581
  .wp-block-latest-comments__comment {
1530
- line-height: 1.1;
1531
1582
  list-style: none;
1532
1583
  margin-bottom: 1em;
1533
1584
  }
@@ -1539,13 +1590,9 @@ ol.wp-block-latest-comments {
1539
1590
  .has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt {
1540
1591
  margin-right: 3.25em;
1541
1592
  }
1542
- .has-dates .wp-block-latest-comments__comment, .has-excerpts .wp-block-latest-comments__comment {
1543
- line-height: 1.5;
1544
- }
1545
1593
 
1546
1594
  .wp-block-latest-comments__comment-excerpt p {
1547
1595
  font-size: 0.875em;
1548
- line-height: 1.8;
1549
1596
  margin: 0.36em 0 1.4em;
1550
1597
  }
1551
1598
 
@@ -1564,6 +1611,11 @@ ol.wp-block-latest-comments {
1564
1611
  width: 2.5em;
1565
1612
  }
1566
1613
 
1614
+ .wp-block-latest-comments[style*=font-size] a,
1615
+ .wp-block-latest-comments[class*=-font-size] a {
1616
+ font-size: inherit;
1617
+ }
1618
+
1567
1619
  .wp-block-latest-posts {
1568
1620
  box-sizing: border-box;
1569
1621
  }
@@ -2685,18 +2737,18 @@ p.has-background {
2685
2737
  box-sizing: border-box;
2686
2738
  overflow-wrap: break-word;
2687
2739
  }
2688
- .wp-block-quote.is-style-large:not(.is-style-plain), .wp-block-quote.is-large:not(.is-style-plain) {
2740
+ .wp-block-quote.is-style-large:where(:not(.is-style-plain)), .wp-block-quote.is-large:where(:not(.is-style-plain)) {
2689
2741
  margin-bottom: 1em;
2690
2742
  padding: 0 1em;
2691
2743
  }
2692
- .wp-block-quote.is-style-large:not(.is-style-plain) p, .wp-block-quote.is-large:not(.is-style-plain) p {
2744
+ .wp-block-quote.is-style-large:where(:not(.is-style-plain)) p, .wp-block-quote.is-large:where(:not(.is-style-plain)) p {
2693
2745
  font-size: 1.5em;
2694
2746
  font-style: italic;
2695
2747
  line-height: 1.6;
2696
2748
  }
2697
- .wp-block-quote.is-style-large:not(.is-style-plain) cite,
2698
- .wp-block-quote.is-style-large:not(.is-style-plain) footer, .wp-block-quote.is-large:not(.is-style-plain) cite,
2699
- .wp-block-quote.is-large:not(.is-style-plain) footer {
2749
+ .wp-block-quote.is-style-large:where(:not(.is-style-plain)) cite,
2750
+ .wp-block-quote.is-style-large:where(:not(.is-style-plain)) footer, .wp-block-quote.is-large:where(:not(.is-style-plain)) cite,
2751
+ .wp-block-quote.is-large:where(:not(.is-style-plain)) footer {
2700
2752
  font-size: 1.125em;
2701
2753
  text-align: left;
2702
2754
  }