@wordpress/block-library 8.3.3 → 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.
- package/CHANGELOG.md +2 -0
- package/build/button/edit.js +3 -1
- package/build/button/edit.js.map +1 -1
- package/build/button/index.js +17 -6
- package/build/button/index.js.map +1 -1
- package/build/file/index.js +10 -1
- package/build/file/index.js.map +1 -1
- package/build/image/image.js +12 -11
- package/build/image/image.js.map +1 -1
- package/build/latest-comments/edit.js +6 -2
- package/build/latest-comments/edit.js.map +1 -1
- package/build/latest-comments/index.js +13 -0
- package/build/latest-comments/index.js.map +1 -1
- package/build/navigation/edit/menu-inspector-controls.js +3 -4
- package/build/navigation/edit/menu-inspector-controls.js.map +1 -1
- package/build/navigation/edit/navigation-menu-selector.js +14 -11
- package/build/navigation/edit/navigation-menu-selector.js.map +1 -1
- package/build/navigation/use-navigation-menu.js +1 -1
- package/build/navigation/use-navigation-menu.js.map +1 -1
- package/build/navigation-link/edit.js +4 -0
- package/build/navigation-link/edit.js.map +1 -1
- package/build/navigation-link/link-ui.js +1 -0
- package/build/navigation-link/link-ui.js.map +1 -1
- package/build/navigation-submenu/edit.js +4 -0
- package/build/navigation-submenu/edit.js.map +1 -1
- package/build/page-list/edit.js +5 -4
- package/build/page-list/edit.js.map +1 -1
- package/build/page-list/use-convert-to-navigation-links.js +61 -5
- package/build/page-list/use-convert-to-navigation-links.js.map +1 -1
- package/build/post-excerpt/edit.js +49 -3
- package/build/post-excerpt/edit.js.map +1 -1
- package/build/post-excerpt/index.js +4 -0
- package/build/post-excerpt/index.js.map +1 -1
- package/build/post-featured-image/dimension-controls.js +52 -1
- package/build/post-featured-image/dimension-controls.js.map +1 -1
- package/build/post-featured-image/edit.js +9 -4
- package/build/post-featured-image/edit.js.map +1 -1
- package/build/post-featured-image/index.js +3 -0
- package/build/post-featured-image/index.js.map +1 -1
- package/build/site-logo/edit.js +7 -11
- package/build/site-logo/edit.js.map +1 -1
- package/build/table/edit.js +3 -3
- package/build/table/edit.js.map +1 -1
- package/build/table-of-contents/utils.js +1 -1
- package/build/table-of-contents/utils.js.map +1 -1
- package/build/verse/index.js +6 -0
- package/build/verse/index.js.map +1 -1
- package/build-module/button/edit.js +2 -1
- package/build-module/button/edit.js.map +1 -1
- package/build-module/button/index.js +17 -6
- package/build-module/button/index.js.map +1 -1
- package/build-module/file/index.js +10 -1
- package/build-module/file/index.js.map +1 -1
- package/build-module/image/image.js +12 -11
- package/build-module/image/image.js.map +1 -1
- package/build-module/latest-comments/edit.js +6 -2
- package/build-module/latest-comments/edit.js.map +1 -1
- package/build-module/latest-comments/index.js +13 -0
- package/build-module/latest-comments/index.js.map +1 -1
- package/build-module/navigation/edit/menu-inspector-controls.js +2 -2
- package/build-module/navigation/edit/menu-inspector-controls.js.map +1 -1
- package/build-module/navigation/edit/navigation-menu-selector.js +14 -10
- package/build-module/navigation/edit/navigation-menu-selector.js.map +1 -1
- package/build-module/navigation/use-navigation-menu.js +1 -1
- package/build-module/navigation/use-navigation-menu.js.map +1 -1
- package/build-module/navigation-link/edit.js +4 -0
- package/build-module/navigation-link/edit.js.map +1 -1
- package/build-module/navigation-link/link-ui.js +1 -0
- package/build-module/navigation-link/link-ui.js.map +1 -1
- package/build-module/navigation-submenu/edit.js +4 -0
- package/build-module/navigation-submenu/edit.js.map +1 -1
- package/build-module/page-list/edit.js +5 -4
- package/build-module/page-list/edit.js.map +1 -1
- package/build-module/page-list/use-convert-to-navigation-links.js +61 -5
- package/build-module/page-list/use-convert-to-navigation-links.js.map +1 -1
- package/build-module/post-excerpt/edit.js +52 -5
- package/build-module/post-excerpt/edit.js.map +1 -1
- package/build-module/post-excerpt/index.js +4 -0
- package/build-module/post-excerpt/index.js.map +1 -1
- package/build-module/post-featured-image/dimension-controls.js +52 -1
- package/build-module/post-featured-image/dimension-controls.js.map +1 -1
- package/build-module/post-featured-image/edit.js +9 -4
- package/build-module/post-featured-image/edit.js.map +1 -1
- package/build-module/post-featured-image/index.js +3 -0
- package/build-module/post-featured-image/index.js.map +1 -1
- package/build-module/site-logo/edit.js +7 -11
- package/build-module/site-logo/edit.js.map +1 -1
- package/build-module/table/edit.js +3 -3
- package/build-module/table/edit.js.map +1 -1
- package/build-module/table-of-contents/utils.js +1 -1
- package/build-module/table-of-contents/utils.js.map +1 -1
- package/build-module/verse/index.js +6 -0
- package/build-module/verse/index.js.map +1 -1
- package/build-style/avatar/style-rtl.css +3 -0
- package/build-style/avatar/style.css +3 -0
- package/build-style/button/editor-rtl.css +31 -0
- package/build-style/button/editor.css +31 -0
- package/build-style/button/style-rtl.css +31 -0
- package/build-style/button/style.css +31 -0
- package/build-style/editor-rtl.css +32 -0
- package/build-style/editor.css +32 -0
- package/build-style/file/style-rtl.css +1 -0
- package/build-style/file/style.css +1 -0
- package/build-style/image/editor-rtl.css +1 -0
- package/build-style/image/editor.css +1 -0
- package/build-style/image/style-rtl.css +6 -2
- package/build-style/image/style.css +6 -0
- package/build-style/latest-comments/style-rtl.css +18 -5
- package/build-style/latest-comments/style.css +18 -5
- package/build-style/quote/style-rtl.css +5 -5
- package/build-style/quote/style.css +5 -5
- package/build-style/style-rtl.css +64 -12
- package/build-style/style.css +64 -10
- package/build-types/table-of-contents/utils.d.ts +1 -1
- package/package.json +30 -30
- package/src/avatar/index.php +67 -63
- package/src/avatar/style.scss +3 -0
- package/src/button/block.json +17 -6
- package/src/button/edit.js +2 -1
- package/src/button/editor.scss +36 -0
- package/src/button/style.scss +37 -1
- package/src/file/block.json +10 -1
- package/src/file/style.scss +1 -0
- package/src/image/editor.scss +1 -0
- package/src/image/image.js +5 -11
- package/src/image/style.scss +13 -0
- package/src/latest-comments/block.json +13 -0
- package/src/latest-comments/edit.js +9 -2
- package/src/latest-comments/style.scss +25 -7
- package/src/navigation/edit/menu-inspector-controls.js +1 -3
- package/src/navigation/edit/navigation-menu-selector.js +12 -26
- package/src/navigation/edit/test/navigation-menu-selector.js +638 -0
- package/src/navigation/index.php +8 -6
- package/src/navigation/use-navigation-menu.js +1 -1
- package/src/navigation-link/edit.js +3 -0
- package/src/navigation-link/link-ui.js +1 -0
- package/src/navigation-submenu/edit.js +3 -0
- package/src/page-list/edit.js +6 -5
- package/src/page-list/index.php +4 -4
- package/src/page-list/test/convert-to-links-modal.js +134 -0
- package/src/page-list/use-convert-to-navigation-links.js +64 -4
- package/src/post-excerpt/block.json +4 -0
- package/src/post-excerpt/edit.js +72 -7
- package/src/post-excerpt/index.php +29 -5
- package/src/post-featured-image/block.json +3 -0
- package/src/post-featured-image/dimension-controls.js +64 -2
- package/src/post-featured-image/edit.js +18 -6
- package/src/post-featured-image/index.php +25 -9
- package/src/post-title/index.php +3 -3
- package/src/quote/style.scss +2 -2
- package/src/site-logo/edit.js +3 -6
- package/src/table/edit.js +3 -3
- package/src/table-of-contents/utils.ts +1 -1
- package/src/template-part/index.php +1 -1
- package/src/verse/block.json +6 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/build/navigation/leaf-more-menu.js +0 -95
- package/build/navigation/leaf-more-menu.js.map +0 -1
- package/build-module/navigation/leaf-more-menu.js +0 -76
- package/build-module/navigation/leaf-more-menu.js.map +0 -1
- package/src/navigation/leaf-more-menu.js +0 -93
|
@@ -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 {
|
package/build-style/editor.css
CHANGED
|
@@ -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 {
|
|
@@ -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;
|
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
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
|
}
|
package/build-style/style.css
CHANGED
|
@@ -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
|
}
|
|
@@ -200,6 +203,37 @@
|
|
|
200
203
|
background-image: none;
|
|
201
204
|
}
|
|
202
205
|
|
|
206
|
+
.wp-block-button .wp-block-button__link:where(.has-border-color) {
|
|
207
|
+
border-width: initial;
|
|
208
|
+
}
|
|
209
|
+
.wp-block-button .wp-block-button__link:where([style*="border-top-color"]) {
|
|
210
|
+
border-top-width: initial;
|
|
211
|
+
}
|
|
212
|
+
.wp-block-button .wp-block-button__link:where([style*="border-right-color"]) {
|
|
213
|
+
border-right-width: initial;
|
|
214
|
+
}
|
|
215
|
+
.wp-block-button .wp-block-button__link:where([style*="border-bottom-color"]) {
|
|
216
|
+
border-bottom-width: initial;
|
|
217
|
+
}
|
|
218
|
+
.wp-block-button .wp-block-button__link:where([style*="border-left-color"]) {
|
|
219
|
+
border-left-width: initial;
|
|
220
|
+
}
|
|
221
|
+
.wp-block-button .wp-block-button__link:where([style*="border-style"]) {
|
|
222
|
+
border-width: initial;
|
|
223
|
+
}
|
|
224
|
+
.wp-block-button .wp-block-button__link:where([style*="border-top-style"]) {
|
|
225
|
+
border-top-width: initial;
|
|
226
|
+
}
|
|
227
|
+
.wp-block-button .wp-block-button__link:where([style*="border-right-style"]) {
|
|
228
|
+
border-right-width: initial;
|
|
229
|
+
}
|
|
230
|
+
.wp-block-button .wp-block-button__link:where([style*="border-bottom-style"]) {
|
|
231
|
+
border-bottom-width: initial;
|
|
232
|
+
}
|
|
233
|
+
.wp-block-button .wp-block-button__link:where([style*="border-left-style"]) {
|
|
234
|
+
border-left-width: initial;
|
|
235
|
+
}
|
|
236
|
+
|
|
203
237
|
.wp-block-buttons {
|
|
204
238
|
/* stylelint-disable indentation */
|
|
205
239
|
}
|
|
@@ -1073,6 +1107,7 @@ section.wp-block-cover-image > h2,
|
|
|
1073
1107
|
:where(.wp-block-file__button) {
|
|
1074
1108
|
border-radius: 2em;
|
|
1075
1109
|
padding: 0.5em 1em;
|
|
1110
|
+
display: inline-block;
|
|
1076
1111
|
}
|
|
1077
1112
|
: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 {
|
|
1078
1113
|
box-shadow: none;
|
|
@@ -1422,6 +1457,10 @@ h6.has-background {
|
|
|
1422
1457
|
vertical-align: bottom;
|
|
1423
1458
|
box-sizing: border-box;
|
|
1424
1459
|
}
|
|
1460
|
+
.wp-block-image[style*=border-radius] > a,
|
|
1461
|
+
.wp-block-image[style*=border-radius] img {
|
|
1462
|
+
border-radius: inherit;
|
|
1463
|
+
}
|
|
1425
1464
|
.wp-block-image.has-custom-border img {
|
|
1426
1465
|
box-sizing: border-box;
|
|
1427
1466
|
}
|
|
@@ -1450,6 +1489,7 @@ h6.has-background {
|
|
|
1450
1489
|
float: left;
|
|
1451
1490
|
/*rtl:ignore*/
|
|
1452
1491
|
margin-left: 0;
|
|
1492
|
+
/*rtl:ignore*/
|
|
1453
1493
|
margin-right: 1em;
|
|
1454
1494
|
margin-top: 0.5em;
|
|
1455
1495
|
margin-bottom: 0.5em;
|
|
@@ -1459,6 +1499,7 @@ h6.has-background {
|
|
|
1459
1499
|
float: right;
|
|
1460
1500
|
/*rtl:ignore*/
|
|
1461
1501
|
margin-right: 0;
|
|
1502
|
+
/*rtl:ignore*/
|
|
1462
1503
|
margin-left: 1em;
|
|
1463
1504
|
margin-top: 0.5em;
|
|
1464
1505
|
margin-bottom: 0.5em;
|
|
@@ -1534,12 +1575,24 @@ ol.wp-block-latest-comments {
|
|
|
1534
1575
|
box-sizing: border-box;
|
|
1535
1576
|
}
|
|
1536
1577
|
|
|
1578
|
+
:where(.wp-block-latest-comments:not([style*="line-height"] .wp-block-latest-comments__comment)) {
|
|
1579
|
+
line-height: 1.1;
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
:where(.wp-block-latest-comments:not([style*="line-height"] .wp-block-latest-comments__comment-excerpt p)) {
|
|
1583
|
+
line-height: 1.8;
|
|
1584
|
+
}
|
|
1585
|
+
|
|
1586
|
+
.has-dates :where(.wp-block-latest-comments:not([style*="line-height"])),
|
|
1587
|
+
.has-excerpts :where(.wp-block-latest-comments:not([style*="line-height"])) {
|
|
1588
|
+
line-height: 1.5;
|
|
1589
|
+
}
|
|
1590
|
+
|
|
1537
1591
|
.wp-block-latest-comments .wp-block-latest-comments {
|
|
1538
1592
|
padding-left: 0;
|
|
1539
1593
|
}
|
|
1540
1594
|
|
|
1541
1595
|
.wp-block-latest-comments__comment {
|
|
1542
|
-
line-height: 1.1;
|
|
1543
1596
|
list-style: none;
|
|
1544
1597
|
margin-bottom: 1em;
|
|
1545
1598
|
}
|
|
@@ -1551,13 +1604,9 @@ ol.wp-block-latest-comments {
|
|
|
1551
1604
|
.has-avatars .wp-block-latest-comments__comment .wp-block-latest-comments__comment-excerpt {
|
|
1552
1605
|
margin-left: 3.25em;
|
|
1553
1606
|
}
|
|
1554
|
-
.has-dates .wp-block-latest-comments__comment, .has-excerpts .wp-block-latest-comments__comment {
|
|
1555
|
-
line-height: 1.5;
|
|
1556
|
-
}
|
|
1557
1607
|
|
|
1558
1608
|
.wp-block-latest-comments__comment-excerpt p {
|
|
1559
1609
|
font-size: 0.875em;
|
|
1560
|
-
line-height: 1.8;
|
|
1561
1610
|
margin: 0.36em 0 1.4em;
|
|
1562
1611
|
}
|
|
1563
1612
|
|
|
@@ -1576,6 +1625,11 @@ ol.wp-block-latest-comments {
|
|
|
1576
1625
|
width: 2.5em;
|
|
1577
1626
|
}
|
|
1578
1627
|
|
|
1628
|
+
.wp-block-latest-comments[style*=font-size] a,
|
|
1629
|
+
.wp-block-latest-comments[class*=-font-size] a {
|
|
1630
|
+
font-size: inherit;
|
|
1631
|
+
}
|
|
1632
|
+
|
|
1579
1633
|
.wp-block-latest-posts {
|
|
1580
1634
|
box-sizing: border-box;
|
|
1581
1635
|
}
|
|
@@ -2715,18 +2769,18 @@ p.has-background {
|
|
|
2715
2769
|
box-sizing: border-box;
|
|
2716
2770
|
overflow-wrap: break-word;
|
|
2717
2771
|
}
|
|
2718
|
-
.wp-block-quote.is-style-large:not(.is-style-plain), .wp-block-quote.is-large:not(.is-style-plain) {
|
|
2772
|
+
.wp-block-quote.is-style-large:where(:not(.is-style-plain)), .wp-block-quote.is-large:where(:not(.is-style-plain)) {
|
|
2719
2773
|
margin-bottom: 1em;
|
|
2720
2774
|
padding: 0 1em;
|
|
2721
2775
|
}
|
|
2722
|
-
.wp-block-quote.is-style-large:not(.is-style-plain) p, .wp-block-quote.is-large:not(.is-style-plain) p {
|
|
2776
|
+
.wp-block-quote.is-style-large:where(:not(.is-style-plain)) p, .wp-block-quote.is-large:where(:not(.is-style-plain)) p {
|
|
2723
2777
|
font-size: 1.5em;
|
|
2724
2778
|
font-style: italic;
|
|
2725
2779
|
line-height: 1.6;
|
|
2726
2780
|
}
|
|
2727
|
-
.wp-block-quote.is-style-large:not(.is-style-plain) cite,
|
|
2728
|
-
.wp-block-quote.is-style-large:not(.is-style-plain) footer, .wp-block-quote.is-large:not(.is-style-plain) cite,
|
|
2729
|
-
.wp-block-quote.is-large:not(.is-style-plain) footer {
|
|
2781
|
+
.wp-block-quote.is-style-large:where(:not(.is-style-plain)) cite,
|
|
2782
|
+
.wp-block-quote.is-style-large:where(:not(.is-style-plain)) footer, .wp-block-quote.is-large:where(:not(.is-style-plain)) cite,
|
|
2783
|
+
.wp-block-quote.is-large:where(:not(.is-style-plain)) footer {
|
|
2730
2784
|
font-size: 1.125em;
|
|
2731
2785
|
text-align: right;
|
|
2732
2786
|
}
|
|
@@ -16,7 +16,7 @@ export interface NestedHeadingData {
|
|
|
16
16
|
* Takes a flat list of heading parameters and nests them based on each header's
|
|
17
17
|
* immediate parent's level.
|
|
18
18
|
*
|
|
19
|
-
* @param
|
|
19
|
+
* @param headingList The flat list of headings to nest.
|
|
20
20
|
*
|
|
21
21
|
* @return The nested list of headings.
|
|
22
22
|
*/
|