@wordpress/block-library 8.31.0 → 8.32.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/block/edit.js +5 -8
- package/build/block/edit.js.map +1 -1
- package/build/button/edit.native.js +1 -1
- package/build/button/edit.native.js.map +1 -1
- package/build/image/edit.js +10 -39
- package/build/image/edit.js.map +1 -1
- package/build/image/image.js +27 -6
- package/build/image/image.js.map +1 -1
- package/build/navigation/view.js +12 -2
- package/build/navigation/view.js.map +1 -1
- package/build/navigation-link/edit.js +41 -18
- package/build/navigation-link/edit.js.map +1 -1
- package/build/navigation-submenu/edit.js +27 -9
- package/build/navigation-submenu/edit.js.map +1 -1
- package/build/pattern/edit.js +3 -1
- package/build/pattern/edit.js.map +1 -1
- package/build/post-featured-image/edit.js +12 -3
- package/build/post-featured-image/edit.js.map +1 -1
- package/build/post-featured-image/index.js +8 -3
- package/build/post-featured-image/index.js.map +1 -1
- package/build/post-featured-image/overlay-controls.js +82 -0
- package/build/post-featured-image/overlay-controls.js.map +1 -0
- package/build/post-featured-image/overlay.js +5 -54
- package/build/post-featured-image/overlay.js.map +1 -1
- package/build/quote/edit.js +18 -23
- package/build/quote/edit.js.map +1 -1
- package/build/site-tagline/edit.js +13 -4
- package/build/site-tagline/edit.js.map +1 -1
- package/build/site-tagline/index.js +4 -0
- package/build/site-tagline/index.js.map +1 -1
- package/build/template-part/edit/index.js +55 -47
- package/build/template-part/edit/index.js.map +1 -1
- package/build/template-part/edit/inner-blocks.js +106 -10
- package/build/template-part/edit/inner-blocks.js.map +1 -1
- package/build/template-part/edit/selection-modal.js +1 -9
- package/build/template-part/edit/selection-modal.js.map +1 -1
- package/build/utils/caption.js +19 -13
- package/build/utils/caption.js.map +1 -1
- package/build/utils/hooks.js +1 -0
- package/build/utils/hooks.js.map +1 -1
- package/build-module/block/edit.js +5 -8
- package/build-module/block/edit.js.map +1 -1
- package/build-module/button/edit.native.js +1 -1
- package/build-module/button/edit.native.js.map +1 -1
- package/build-module/image/edit.js +11 -40
- package/build-module/image/edit.js.map +1 -1
- package/build-module/image/image.js +27 -6
- package/build-module/image/image.js.map +1 -1
- package/build-module/navigation/view.js +12 -2
- package/build-module/navigation/view.js.map +1 -1
- package/build-module/navigation-link/edit.js +43 -20
- package/build-module/navigation-link/edit.js.map +1 -1
- package/build-module/navigation-submenu/edit.js +27 -9
- package/build-module/navigation-submenu/edit.js.map +1 -1
- package/build-module/pattern/edit.js +3 -1
- package/build-module/pattern/edit.js.map +1 -1
- package/build-module/post-featured-image/edit.js +12 -3
- package/build-module/post-featured-image/edit.js.map +1 -1
- package/build-module/post-featured-image/index.js +8 -3
- package/build-module/post-featured-image/index.js.map +1 -1
- package/build-module/post-featured-image/overlay-controls.js +75 -0
- package/build-module/post-featured-image/overlay-controls.js.map +1 -0
- package/build-module/post-featured-image/overlay.js +7 -56
- package/build-module/post-featured-image/overlay.js.map +1 -1
- package/build-module/quote/edit.js +20 -25
- package/build-module/quote/edit.js.map +1 -1
- package/build-module/site-tagline/edit.js +14 -5
- package/build-module/site-tagline/edit.js.map +1 -1
- package/build-module/site-tagline/index.js +4 -0
- package/build-module/site-tagline/index.js.map +1 -1
- package/build-module/template-part/edit/index.js +58 -50
- package/build-module/template-part/edit/index.js.map +1 -1
- package/build-module/template-part/edit/inner-blocks.js +108 -12
- package/build-module/template-part/edit/inner-blocks.js.map +1 -1
- package/build-module/template-part/edit/selection-modal.js +2 -10
- package/build-module/template-part/edit/selection-modal.js.map +1 -1
- package/build-module/utils/caption.js +19 -13
- package/build-module/utils/caption.js.map +1 -1
- package/build-module/utils/hooks.js +1 -0
- package/build-module/utils/hooks.js.map +1 -1
- package/build-style/audio/theme-rtl.css +1 -1
- package/build-style/audio/theme.css +1 -1
- package/build-style/cover/style-rtl.css +5 -2
- package/build-style/cover/style.css +5 -2
- package/build-style/editor-rtl.css +12 -8
- package/build-style/editor.css +12 -8
- package/build-style/embed/theme-rtl.css +1 -1
- package/build-style/embed/theme.css +1 -1
- package/build-style/image/theme-rtl.css +1 -1
- package/build-style/image/theme.css +1 -1
- package/build-style/pullquote/theme-rtl.css +2 -1
- package/build-style/pullquote/theme.css +2 -1
- package/build-style/quote/theme-rtl.css +6 -6
- package/build-style/quote/theme.css +6 -6
- package/build-style/search/style-rtl.css +10 -0
- package/build-style/search/style.css +10 -0
- package/build-style/social-links/editor-rtl.css +0 -4
- package/build-style/social-links/editor.css +0 -4
- package/build-style/style-rtl.css +15 -2
- package/build-style/style.css +15 -2
- package/build-style/table/theme-rtl.css +4 -3
- package/build-style/table/theme.css +4 -3
- package/build-style/template-part/editor-rtl.css +12 -4
- package/build-style/template-part/editor.css +12 -4
- package/build-style/template-part/theme-rtl.css +1 -1
- package/build-style/template-part/theme.css +1 -1
- package/build-style/theme-rtl.css +17 -15
- package/build-style/theme.css +17 -15
- package/build-style/video/theme-rtl.css +1 -1
- package/build-style/video/theme.css +1 -1
- package/package.json +34 -34
- package/src/audio/theme.scss +1 -1
- package/src/block/edit.js +5 -17
- package/src/button/edit.native.js +1 -1
- package/src/cover/style.scss +6 -2
- package/src/embed/theme.scss +1 -1
- package/src/gallery/editor.scss +1 -1
- package/src/gallery/index.php +1 -1
- package/src/image/edit.js +11 -40
- package/src/image/editor.scss +2 -2
- package/src/image/image.js +25 -7
- package/src/image/theme.scss +1 -1
- package/src/navigation/index.php +8 -0
- package/src/navigation/view.js +11 -2
- package/src/navigation-link/edit.js +53 -27
- package/src/navigation-submenu/edit.js +30 -10
- package/src/pattern/edit.js +4 -0
- package/src/post-featured-image/block.json +8 -3
- package/src/post-featured-image/edit.js +12 -1
- package/src/post-featured-image/editor.scss +1 -1
- package/src/post-featured-image/overlay-controls.js +88 -0
- package/src/post-featured-image/overlay.js +17 -84
- package/src/pullquote/theme.scss +3 -1
- package/src/query-no-results/index.php +2 -0
- package/src/query-pagination-next/index.php +2 -0
- package/src/query-pagination-numbers/index.php +2 -0
- package/src/quote/edit.js +27 -43
- package/src/quote/test/edit.native.js +4 -6
- package/src/quote/theme.scss +1 -2
- package/src/search/style.scss +11 -0
- package/src/site-logo/editor.scss +2 -2
- package/src/site-tagline/block.json +4 -0
- package/src/site-tagline/edit.js +16 -3
- package/src/site-tagline/index.php +9 -1
- package/src/social-links/editor.scss +1 -9
- package/src/table/theme.scss +4 -2
- package/src/template-part/edit/index.js +87 -79
- package/src/template-part/edit/inner-blocks.js +126 -13
- package/src/template-part/edit/selection-modal.js +1 -22
- package/src/template-part/editor.scss +11 -3
- package/src/template-part/index.php +2 -0
- package/src/template-part/theme.scss +1 -1
- package/src/utils/caption.js +19 -16
- package/src/utils/hooks.js +1 -0
- package/src/video/editor.scss +2 -2
- package/src/video/theme.scss +1 -1
|
@@ -86,28 +86,28 @@
|
|
|
86
86
|
/**
|
|
87
87
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
88
88
|
*/
|
|
89
|
-
.wp-block-quote {
|
|
89
|
+
:where(.wp-block-quote) {
|
|
90
90
|
border-right: 0.25em solid currentColor;
|
|
91
91
|
margin: 0 0 1.75em 0;
|
|
92
92
|
padding-right: 1em;
|
|
93
93
|
}
|
|
94
|
-
.wp-block-quote cite,
|
|
95
|
-
.wp-block-quote footer {
|
|
94
|
+
:where(.wp-block-quote) cite,
|
|
95
|
+
:where(.wp-block-quote) footer {
|
|
96
96
|
color: currentColor;
|
|
97
97
|
font-size: 0.8125em;
|
|
98
98
|
position: relative;
|
|
99
99
|
font-style: normal;
|
|
100
100
|
}
|
|
101
|
-
.wp-block-quote.has-text-align-right {
|
|
101
|
+
:where(.wp-block-quote).has-text-align-right {
|
|
102
102
|
border-right: none;
|
|
103
103
|
border-left: 0.25em solid currentColor;
|
|
104
104
|
padding-right: 0;
|
|
105
105
|
padding-left: 1em;
|
|
106
106
|
}
|
|
107
|
-
.wp-block-quote.has-text-align-center {
|
|
107
|
+
:where(.wp-block-quote).has-text-align-center {
|
|
108
108
|
border: none;
|
|
109
109
|
padding-right: 0;
|
|
110
110
|
}
|
|
111
|
-
.wp-block-quote.is-style-plain, .wp-block-quote.is-style-large, .wp-block-quote.is-large {
|
|
111
|
+
:where(.wp-block-quote).is-style-plain, :where(.wp-block-quote).is-style-large, :where(.wp-block-quote).is-large {
|
|
112
112
|
border: none;
|
|
113
113
|
}
|
|
@@ -86,28 +86,28 @@
|
|
|
86
86
|
/**
|
|
87
87
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
88
88
|
*/
|
|
89
|
-
.wp-block-quote {
|
|
89
|
+
:where(.wp-block-quote) {
|
|
90
90
|
border-left: 0.25em solid currentColor;
|
|
91
91
|
margin: 0 0 1.75em 0;
|
|
92
92
|
padding-left: 1em;
|
|
93
93
|
}
|
|
94
|
-
.wp-block-quote cite,
|
|
95
|
-
.wp-block-quote footer {
|
|
94
|
+
:where(.wp-block-quote) cite,
|
|
95
|
+
:where(.wp-block-quote) footer {
|
|
96
96
|
color: currentColor;
|
|
97
97
|
font-size: 0.8125em;
|
|
98
98
|
position: relative;
|
|
99
99
|
font-style: normal;
|
|
100
100
|
}
|
|
101
|
-
.wp-block-quote.has-text-align-right {
|
|
101
|
+
:where(.wp-block-quote).has-text-align-right {
|
|
102
102
|
border-left: none;
|
|
103
103
|
border-right: 0.25em solid currentColor;
|
|
104
104
|
padding-left: 0;
|
|
105
105
|
padding-right: 1em;
|
|
106
106
|
}
|
|
107
|
-
.wp-block-quote.has-text-align-center {
|
|
107
|
+
:where(.wp-block-quote).has-text-align-center {
|
|
108
108
|
border: none;
|
|
109
109
|
padding-left: 0;
|
|
110
110
|
}
|
|
111
|
-
.wp-block-quote.is-style-plain, .wp-block-quote.is-style-large, .wp-block-quote.is-large {
|
|
111
|
+
:where(.wp-block-quote).is-style-plain, :where(.wp-block-quote).is-style-large, :where(.wp-block-quote).is-large {
|
|
112
112
|
border: none;
|
|
113
113
|
}
|
|
@@ -164,6 +164,16 @@
|
|
|
164
164
|
flex-basis: 0;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
+
:where(.wp-block-search__input) {
|
|
168
|
+
font-family: inherit;
|
|
169
|
+
font-weight: inherit;
|
|
170
|
+
font-size: inherit;
|
|
171
|
+
line-height: inherit;
|
|
172
|
+
letter-spacing: inherit;
|
|
173
|
+
text-transform: inherit;
|
|
174
|
+
font-style: inherit;
|
|
175
|
+
}
|
|
176
|
+
|
|
167
177
|
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
|
|
168
178
|
padding: 4px;
|
|
169
179
|
border: 1px solid #949494;
|
|
@@ -164,6 +164,16 @@
|
|
|
164
164
|
flex-basis: 0;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
+
:where(.wp-block-search__input) {
|
|
168
|
+
font-family: inherit;
|
|
169
|
+
font-weight: inherit;
|
|
170
|
+
font-size: inherit;
|
|
171
|
+
line-height: inherit;
|
|
172
|
+
letter-spacing: inherit;
|
|
173
|
+
text-transform: inherit;
|
|
174
|
+
font-style: inherit;
|
|
175
|
+
}
|
|
176
|
+
|
|
167
177
|
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
|
|
168
178
|
padding: 4px;
|
|
169
179
|
border: 1px solid #949494;
|
|
@@ -90,9 +90,6 @@
|
|
|
90
90
|
display: inline-block;
|
|
91
91
|
margin-right: 8px;
|
|
92
92
|
}
|
|
93
|
-
.wp-block-social-links.wp-block-social-links {
|
|
94
|
-
background: none;
|
|
95
|
-
}
|
|
96
93
|
|
|
97
94
|
.wp-social-link:hover {
|
|
98
95
|
transform: none;
|
|
@@ -142,7 +139,6 @@
|
|
|
142
139
|
.wp-block-social-links .wp-block-social-links__social-prompt {
|
|
143
140
|
min-height: 24px;
|
|
144
141
|
list-style: none;
|
|
145
|
-
order: 2;
|
|
146
142
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
147
143
|
font-size: 13px;
|
|
148
144
|
line-height: 24px;
|
|
@@ -90,9 +90,6 @@
|
|
|
90
90
|
display: inline-block;
|
|
91
91
|
margin-left: 8px;
|
|
92
92
|
}
|
|
93
|
-
.wp-block-social-links.wp-block-social-links {
|
|
94
|
-
background: none;
|
|
95
|
-
}
|
|
96
93
|
|
|
97
94
|
.wp-social-link:hover {
|
|
98
95
|
transform: none;
|
|
@@ -142,7 +139,6 @@
|
|
|
142
139
|
.wp-block-social-links .wp-block-social-links__social-prompt {
|
|
143
140
|
min-height: 24px;
|
|
144
141
|
list-style: none;
|
|
145
|
-
order: 2;
|
|
146
142
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
147
143
|
font-size: 13px;
|
|
148
144
|
line-height: 24px;
|
|
@@ -604,15 +604,18 @@
|
|
|
604
604
|
float: left;
|
|
605
605
|
}
|
|
606
606
|
|
|
607
|
+
:where(.wp-block-cover-image, .wp-block-cover) {
|
|
608
|
+
min-height: 430px;
|
|
609
|
+
padding: 1em;
|
|
610
|
+
}
|
|
611
|
+
|
|
607
612
|
.wp-block-cover-image,
|
|
608
613
|
.wp-block-cover {
|
|
609
614
|
position: relative;
|
|
610
615
|
background-position: center center;
|
|
611
|
-
min-height: 430px;
|
|
612
616
|
display: flex;
|
|
613
617
|
justify-content: center;
|
|
614
618
|
align-items: center;
|
|
615
|
-
padding: 1em;
|
|
616
619
|
overflow: hidden;
|
|
617
620
|
overflow: clip;
|
|
618
621
|
box-sizing: border-box; direction: ltr;
|
|
@@ -3321,6 +3324,16 @@ ul.wp-block-rss.is-grid li {
|
|
|
3321
3324
|
flex-basis: 0;
|
|
3322
3325
|
}
|
|
3323
3326
|
|
|
3327
|
+
:where(.wp-block-search__input) {
|
|
3328
|
+
font-family: inherit;
|
|
3329
|
+
font-weight: inherit;
|
|
3330
|
+
font-size: inherit;
|
|
3331
|
+
line-height: inherit;
|
|
3332
|
+
letter-spacing: inherit;
|
|
3333
|
+
text-transform: inherit;
|
|
3334
|
+
font-style: inherit;
|
|
3335
|
+
}
|
|
3336
|
+
|
|
3324
3337
|
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
|
|
3325
3338
|
padding: 4px;
|
|
3326
3339
|
border: 1px solid #949494;
|
package/build-style/style.css
CHANGED
|
@@ -609,15 +609,18 @@
|
|
|
609
609
|
float: right;
|
|
610
610
|
}
|
|
611
611
|
|
|
612
|
+
:where(.wp-block-cover-image, .wp-block-cover) {
|
|
613
|
+
min-height: 430px;
|
|
614
|
+
padding: 1em;
|
|
615
|
+
}
|
|
616
|
+
|
|
612
617
|
.wp-block-cover-image,
|
|
613
618
|
.wp-block-cover {
|
|
614
619
|
position: relative;
|
|
615
620
|
background-position: center center;
|
|
616
|
-
min-height: 430px;
|
|
617
621
|
display: flex;
|
|
618
622
|
justify-content: center;
|
|
619
623
|
align-items: center;
|
|
620
|
-
padding: 1em;
|
|
621
624
|
overflow: hidden;
|
|
622
625
|
overflow: clip;
|
|
623
626
|
box-sizing: border-box;
|
|
@@ -3355,6 +3358,16 @@ ul.wp-block-rss.is-grid li {
|
|
|
3355
3358
|
flex-basis: 0;
|
|
3356
3359
|
}
|
|
3357
3360
|
|
|
3361
|
+
:where(.wp-block-search__input) {
|
|
3362
|
+
font-family: inherit;
|
|
3363
|
+
font-weight: inherit;
|
|
3364
|
+
font-size: inherit;
|
|
3365
|
+
line-height: inherit;
|
|
3366
|
+
letter-spacing: inherit;
|
|
3367
|
+
text-transform: inherit;
|
|
3368
|
+
font-style: inherit;
|
|
3369
|
+
}
|
|
3370
|
+
|
|
3358
3371
|
:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
|
|
3359
3372
|
padding: 4px;
|
|
3360
3373
|
border: 1px solid #949494;
|
|
@@ -86,9 +86,6 @@
|
|
|
86
86
|
/**
|
|
87
87
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
88
88
|
*/
|
|
89
|
-
.wp-block-table {
|
|
90
|
-
margin: 0 0 1em 0;
|
|
91
|
-
}
|
|
92
89
|
.wp-block-table td,
|
|
93
90
|
.wp-block-table th {
|
|
94
91
|
word-break: normal;
|
|
@@ -100,4 +97,8 @@
|
|
|
100
97
|
}
|
|
101
98
|
.is-dark-theme .wp-block-table figcaption {
|
|
102
99
|
color: rgba(255, 255, 255, 0.65);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
:where(.wp-block-table) {
|
|
103
|
+
margin: 0 0 1em 0;
|
|
103
104
|
}
|
|
@@ -86,9 +86,6 @@
|
|
|
86
86
|
/**
|
|
87
87
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
88
88
|
*/
|
|
89
|
-
.wp-block-table {
|
|
90
|
-
margin: 0 0 1em 0;
|
|
91
|
-
}
|
|
92
89
|
.wp-block-table td,
|
|
93
90
|
.wp-block-table th {
|
|
94
91
|
word-break: normal;
|
|
@@ -100,4 +97,8 @@
|
|
|
100
97
|
}
|
|
101
98
|
.is-dark-theme .wp-block-table figcaption {
|
|
102
99
|
color: rgba(255, 255, 255, 0.65);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
:where(.wp-block-table) {
|
|
103
|
+
margin: 0 0 1em 0;
|
|
103
104
|
}
|
|
@@ -110,10 +110,14 @@
|
|
|
110
110
|
z-index: 2;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-highlighted, .is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-selected,
|
|
114
|
-
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted,
|
|
115
|
-
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected {
|
|
116
|
-
box-shadow:
|
|
113
|
+
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-highlighted::after, .is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-selected::after,
|
|
114
|
+
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted::after,
|
|
115
|
+
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected::after {
|
|
116
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color);
|
|
117
|
+
}
|
|
118
|
+
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-hovered::after,
|
|
119
|
+
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-hovered::after {
|
|
120
|
+
box-shadow: 0 0 0 1px var(--wp-block-synced-color);
|
|
117
121
|
}
|
|
118
122
|
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.block-editor-block-list__block:not([contenteditable]):focus::after,
|
|
119
123
|
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus::after {
|
|
@@ -122,4 +126,8 @@
|
|
|
122
126
|
.is-dark-theme .is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.block-editor-block-list__block:not([contenteditable]):focus::after,
|
|
123
127
|
.is-dark-theme .is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus::after {
|
|
124
128
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #fff;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.has-editable-outline::after {
|
|
132
|
+
border: none;
|
|
125
133
|
}
|
|
@@ -110,10 +110,14 @@
|
|
|
110
110
|
z-index: 2;
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-highlighted, .is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-selected,
|
|
114
|
-
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted,
|
|
115
|
-
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected {
|
|
116
|
-
box-shadow:
|
|
113
|
+
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-highlighted::after, .is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-selected::after,
|
|
114
|
+
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-highlighted::after,
|
|
115
|
+
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-selected::after {
|
|
116
|
+
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-block-synced-color);
|
|
117
|
+
}
|
|
118
|
+
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.is-hovered::after,
|
|
119
|
+
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.is-hovered::after {
|
|
120
|
+
box-shadow: 0 0 0 1px var(--wp-block-synced-color);
|
|
117
121
|
}
|
|
118
122
|
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.block-editor-block-list__block:not([contenteditable]):focus::after,
|
|
119
123
|
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus::after {
|
|
@@ -122,4 +126,8 @@
|
|
|
122
126
|
.is-dark-theme .is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.block-editor-block-list__block:not([contenteditable]):focus::after,
|
|
123
127
|
.is-dark-theme .is-outline-mode .block-editor-block-list__block:not(.remove-outline).is-reusable.block-editor-block-list__block:not([contenteditable]):focus::after {
|
|
124
128
|
box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #fff;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.is-outline-mode .block-editor-block-list__block:not(.remove-outline).wp-block-template-part.has-editable-outline::after {
|
|
132
|
+
border: none;
|
|
125
133
|
}
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
color: rgba(255, 255, 255, 0.65);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
.wp-block-audio {
|
|
98
|
+
:where(.wp-block-audio) {
|
|
99
99
|
margin: 0 0 1em 0;
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
color: rgba(255, 255, 255, 0.65);
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
.wp-block-embed {
|
|
118
|
+
:where(.wp-block-embed) {
|
|
119
119
|
margin: 0 0 1em 0;
|
|
120
120
|
}
|
|
121
121
|
|
|
@@ -137,16 +137,17 @@
|
|
|
137
137
|
color: rgba(255, 255, 255, 0.65);
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
.wp-block-image {
|
|
140
|
+
:where(.wp-block-image) {
|
|
141
141
|
margin: 0 0 1em 0;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
.wp-block-pullquote {
|
|
144
|
+
:where(.wp-block-pullquote) {
|
|
145
145
|
border-top: 4px solid currentColor;
|
|
146
146
|
border-bottom: 4px solid currentColor;
|
|
147
147
|
margin-bottom: 1.75em;
|
|
148
148
|
color: currentColor;
|
|
149
149
|
}
|
|
150
|
+
|
|
150
151
|
.wp-block-pullquote cite,
|
|
151
152
|
.wp-block-pullquote footer, .wp-block-pullquote__citation {
|
|
152
153
|
color: currentColor;
|
|
@@ -155,29 +156,29 @@
|
|
|
155
156
|
font-style: normal;
|
|
156
157
|
}
|
|
157
158
|
|
|
158
|
-
.wp-block-quote {
|
|
159
|
+
:where(.wp-block-quote) {
|
|
159
160
|
border-right: 0.25em solid currentColor;
|
|
160
161
|
margin: 0 0 1.75em 0;
|
|
161
162
|
padding-right: 1em;
|
|
162
163
|
}
|
|
163
|
-
.wp-block-quote cite,
|
|
164
|
-
.wp-block-quote footer {
|
|
164
|
+
:where(.wp-block-quote) cite,
|
|
165
|
+
:where(.wp-block-quote) footer {
|
|
165
166
|
color: currentColor;
|
|
166
167
|
font-size: 0.8125em;
|
|
167
168
|
position: relative;
|
|
168
169
|
font-style: normal;
|
|
169
170
|
}
|
|
170
|
-
.wp-block-quote.has-text-align-right {
|
|
171
|
+
:where(.wp-block-quote).has-text-align-right {
|
|
171
172
|
border-right: none;
|
|
172
173
|
border-left: 0.25em solid currentColor;
|
|
173
174
|
padding-right: 0;
|
|
174
175
|
padding-left: 1em;
|
|
175
176
|
}
|
|
176
|
-
.wp-block-quote.has-text-align-center {
|
|
177
|
+
:where(.wp-block-quote).has-text-align-center {
|
|
177
178
|
border: none;
|
|
178
179
|
padding-right: 0;
|
|
179
180
|
}
|
|
180
|
-
.wp-block-quote.is-style-plain, .wp-block-quote.is-style-large, .wp-block-quote.is-large {
|
|
181
|
+
:where(.wp-block-quote).is-style-plain, :where(.wp-block-quote).is-style-large, :where(.wp-block-quote).is-large {
|
|
181
182
|
border: none;
|
|
182
183
|
}
|
|
183
184
|
|
|
@@ -218,9 +219,6 @@
|
|
|
218
219
|
height: 2px;
|
|
219
220
|
}
|
|
220
221
|
|
|
221
|
-
.wp-block-table {
|
|
222
|
-
margin: 0 0 1em 0;
|
|
223
|
-
}
|
|
224
222
|
.wp-block-table td,
|
|
225
223
|
.wp-block-table th {
|
|
226
224
|
word-break: normal;
|
|
@@ -234,6 +232,10 @@
|
|
|
234
232
|
color: rgba(255, 255, 255, 0.65);
|
|
235
233
|
}
|
|
236
234
|
|
|
235
|
+
:where(.wp-block-table) {
|
|
236
|
+
margin: 0 0 1em 0;
|
|
237
|
+
}
|
|
238
|
+
|
|
237
239
|
.wp-block-video figcaption {
|
|
238
240
|
color: #555;
|
|
239
241
|
font-size: 13px;
|
|
@@ -243,11 +245,11 @@
|
|
|
243
245
|
color: rgba(255, 255, 255, 0.65);
|
|
244
246
|
}
|
|
245
247
|
|
|
246
|
-
.wp-block-video {
|
|
248
|
+
:where(.wp-block-video) {
|
|
247
249
|
margin: 0 0 1em 0;
|
|
248
250
|
}
|
|
249
251
|
|
|
250
|
-
.wp-block-template-part.has-background {
|
|
252
|
+
:where(.wp-block-template-part).has-background {
|
|
251
253
|
padding: 1.25em 2.375em;
|
|
252
254
|
margin-top: 0;
|
|
253
255
|
margin-bottom: 0;
|
package/build-style/theme.css
CHANGED
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
color: rgba(255, 255, 255, 0.65);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
.wp-block-audio {
|
|
98
|
+
:where(.wp-block-audio) {
|
|
99
99
|
margin: 0 0 1em 0;
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
color: rgba(255, 255, 255, 0.65);
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
.wp-block-embed {
|
|
118
|
+
:where(.wp-block-embed) {
|
|
119
119
|
margin: 0 0 1em 0;
|
|
120
120
|
}
|
|
121
121
|
|
|
@@ -137,16 +137,17 @@
|
|
|
137
137
|
color: rgba(255, 255, 255, 0.65);
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
.wp-block-image {
|
|
140
|
+
:where(.wp-block-image) {
|
|
141
141
|
margin: 0 0 1em 0;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
.wp-block-pullquote {
|
|
144
|
+
:where(.wp-block-pullquote) {
|
|
145
145
|
border-top: 4px solid currentColor;
|
|
146
146
|
border-bottom: 4px solid currentColor;
|
|
147
147
|
margin-bottom: 1.75em;
|
|
148
148
|
color: currentColor;
|
|
149
149
|
}
|
|
150
|
+
|
|
150
151
|
.wp-block-pullquote cite,
|
|
151
152
|
.wp-block-pullquote footer, .wp-block-pullquote__citation {
|
|
152
153
|
color: currentColor;
|
|
@@ -155,29 +156,29 @@
|
|
|
155
156
|
font-style: normal;
|
|
156
157
|
}
|
|
157
158
|
|
|
158
|
-
.wp-block-quote {
|
|
159
|
+
:where(.wp-block-quote) {
|
|
159
160
|
border-left: 0.25em solid currentColor;
|
|
160
161
|
margin: 0 0 1.75em 0;
|
|
161
162
|
padding-left: 1em;
|
|
162
163
|
}
|
|
163
|
-
.wp-block-quote cite,
|
|
164
|
-
.wp-block-quote footer {
|
|
164
|
+
:where(.wp-block-quote) cite,
|
|
165
|
+
:where(.wp-block-quote) footer {
|
|
165
166
|
color: currentColor;
|
|
166
167
|
font-size: 0.8125em;
|
|
167
168
|
position: relative;
|
|
168
169
|
font-style: normal;
|
|
169
170
|
}
|
|
170
|
-
.wp-block-quote.has-text-align-right {
|
|
171
|
+
:where(.wp-block-quote).has-text-align-right {
|
|
171
172
|
border-left: none;
|
|
172
173
|
border-right: 0.25em solid currentColor;
|
|
173
174
|
padding-left: 0;
|
|
174
175
|
padding-right: 1em;
|
|
175
176
|
}
|
|
176
|
-
.wp-block-quote.has-text-align-center {
|
|
177
|
+
:where(.wp-block-quote).has-text-align-center {
|
|
177
178
|
border: none;
|
|
178
179
|
padding-left: 0;
|
|
179
180
|
}
|
|
180
|
-
.wp-block-quote.is-style-plain, .wp-block-quote.is-style-large, .wp-block-quote.is-large {
|
|
181
|
+
:where(.wp-block-quote).is-style-plain, :where(.wp-block-quote).is-style-large, :where(.wp-block-quote).is-large {
|
|
181
182
|
border: none;
|
|
182
183
|
}
|
|
183
184
|
|
|
@@ -218,9 +219,6 @@
|
|
|
218
219
|
height: 2px;
|
|
219
220
|
}
|
|
220
221
|
|
|
221
|
-
.wp-block-table {
|
|
222
|
-
margin: 0 0 1em 0;
|
|
223
|
-
}
|
|
224
222
|
.wp-block-table td,
|
|
225
223
|
.wp-block-table th {
|
|
226
224
|
word-break: normal;
|
|
@@ -234,6 +232,10 @@
|
|
|
234
232
|
color: rgba(255, 255, 255, 0.65);
|
|
235
233
|
}
|
|
236
234
|
|
|
235
|
+
:where(.wp-block-table) {
|
|
236
|
+
margin: 0 0 1em 0;
|
|
237
|
+
}
|
|
238
|
+
|
|
237
239
|
.wp-block-video figcaption {
|
|
238
240
|
color: #555;
|
|
239
241
|
font-size: 13px;
|
|
@@ -243,11 +245,11 @@
|
|
|
243
245
|
color: rgba(255, 255, 255, 0.65);
|
|
244
246
|
}
|
|
245
247
|
|
|
246
|
-
.wp-block-video {
|
|
248
|
+
:where(.wp-block-video) {
|
|
247
249
|
margin: 0 0 1em 0;
|
|
248
250
|
}
|
|
249
251
|
|
|
250
|
-
.wp-block-template-part.has-background {
|
|
252
|
+
:where(.wp-block-template-part).has-background {
|
|
251
253
|
padding: 1.25em 2.375em;
|
|
252
254
|
margin-top: 0;
|
|
253
255
|
margin-bottom: 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/block-library",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.32.0",
|
|
4
4
|
"description": "Block library for the WordPress editor.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -31,38 +31,38 @@
|
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/runtime": "^7.16.0",
|
|
34
|
-
"@wordpress/a11y": "^3.
|
|
35
|
-
"@wordpress/api-fetch": "^6.
|
|
36
|
-
"@wordpress/autop": "^3.
|
|
37
|
-
"@wordpress/blob": "^3.
|
|
38
|
-
"@wordpress/block-editor": "^12.
|
|
39
|
-
"@wordpress/blocks": "^12.
|
|
40
|
-
"@wordpress/components": "^27.
|
|
41
|
-
"@wordpress/compose": "^6.
|
|
42
|
-
"@wordpress/core-data": "^6.
|
|
43
|
-
"@wordpress/data": "^9.
|
|
44
|
-
"@wordpress/date": "^4.
|
|
45
|
-
"@wordpress/deprecated": "^3.
|
|
46
|
-
"@wordpress/dom": "^3.
|
|
47
|
-
"@wordpress/element": "^5.
|
|
48
|
-
"@wordpress/escape-html": "^2.
|
|
49
|
-
"@wordpress/hooks": "^3.
|
|
50
|
-
"@wordpress/html-entities": "^3.
|
|
51
|
-
"@wordpress/i18n": "^4.
|
|
52
|
-
"@wordpress/icons": "^9.
|
|
53
|
-
"@wordpress/interactivity": "^5.
|
|
54
|
-
"@wordpress/interactivity-router": "^1.
|
|
55
|
-
"@wordpress/keycodes": "^3.
|
|
56
|
-
"@wordpress/notices": "^4.
|
|
57
|
-
"@wordpress/patterns": "^1.
|
|
58
|
-
"@wordpress/primitives": "^3.
|
|
59
|
-
"@wordpress/private-apis": "^0.
|
|
60
|
-
"@wordpress/reusable-blocks": "^4.
|
|
61
|
-
"@wordpress/rich-text": "^6.
|
|
62
|
-
"@wordpress/server-side-render": "^4.
|
|
63
|
-
"@wordpress/url": "^3.
|
|
64
|
-
"@wordpress/viewport": "^5.
|
|
65
|
-
"@wordpress/wordcount": "^3.
|
|
34
|
+
"@wordpress/a11y": "^3.55.0",
|
|
35
|
+
"@wordpress/api-fetch": "^6.52.0",
|
|
36
|
+
"@wordpress/autop": "^3.55.0",
|
|
37
|
+
"@wordpress/blob": "^3.55.0",
|
|
38
|
+
"@wordpress/block-editor": "^12.23.0",
|
|
39
|
+
"@wordpress/blocks": "^12.32.0",
|
|
40
|
+
"@wordpress/components": "^27.3.0",
|
|
41
|
+
"@wordpress/compose": "^6.32.0",
|
|
42
|
+
"@wordpress/core-data": "^6.32.0",
|
|
43
|
+
"@wordpress/data": "^9.25.0",
|
|
44
|
+
"@wordpress/date": "^4.55.0",
|
|
45
|
+
"@wordpress/deprecated": "^3.55.0",
|
|
46
|
+
"@wordpress/dom": "^3.55.0",
|
|
47
|
+
"@wordpress/element": "^5.32.0",
|
|
48
|
+
"@wordpress/escape-html": "^2.55.0",
|
|
49
|
+
"@wordpress/hooks": "^3.55.0",
|
|
50
|
+
"@wordpress/html-entities": "^3.55.0",
|
|
51
|
+
"@wordpress/i18n": "^4.55.0",
|
|
52
|
+
"@wordpress/icons": "^9.46.0",
|
|
53
|
+
"@wordpress/interactivity": "^5.4.0",
|
|
54
|
+
"@wordpress/interactivity-router": "^1.5.0",
|
|
55
|
+
"@wordpress/keycodes": "^3.55.0",
|
|
56
|
+
"@wordpress/notices": "^4.23.0",
|
|
57
|
+
"@wordpress/patterns": "^1.16.0",
|
|
58
|
+
"@wordpress/primitives": "^3.53.0",
|
|
59
|
+
"@wordpress/private-apis": "^0.37.0",
|
|
60
|
+
"@wordpress/reusable-blocks": "^4.32.0",
|
|
61
|
+
"@wordpress/rich-text": "^6.32.0",
|
|
62
|
+
"@wordpress/server-side-render": "^4.32.0",
|
|
63
|
+
"@wordpress/url": "^3.56.0",
|
|
64
|
+
"@wordpress/viewport": "^5.32.0",
|
|
65
|
+
"@wordpress/wordcount": "^3.55.0",
|
|
66
66
|
"change-case": "^4.1.2",
|
|
67
67
|
"classnames": "^2.3.1",
|
|
68
68
|
"colord": "^2.7.0",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"publishConfig": {
|
|
81
81
|
"access": "public"
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "ac2b13783c28f959770cf029a797a712f59e1958"
|
|
84
84
|
}
|