@wordpress/block-library 7.18.0 → 7.19.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/deprecated.js +16 -2
- package/build/button/deprecated.js.map +1 -1
- package/build/button/edit.js +13 -7
- package/build/button/edit.js.map +1 -1
- package/build/button/index.js +4 -1
- package/build/button/index.js.map +1 -1
- package/build/button/save.js +2 -0
- package/build/button/save.js.map +1 -1
- package/build/columns/transforms.js +5 -0
- package/build/columns/transforms.js.map +1 -1
- package/build/cover/edit/index.js +3 -1
- package/build/cover/edit/index.js.map +1 -1
- package/build/gallery/v1/edit.js +4 -2
- package/build/gallery/v1/edit.js.map +1 -1
- package/build/group/edit.js +98 -45
- package/build/group/edit.js.map +1 -1
- package/build/group/index.js +3 -0
- package/build/group/index.js.map +1 -1
- package/build/group/placeholder.js +168 -0
- package/build/group/placeholder.js.map +1 -0
- package/build/group/variations.js +3 -3
- package/build/group/variations.js.map +1 -1
- package/build/latest-comments/edit.js +2 -1
- package/build/latest-comments/edit.js.map +1 -1
- package/build/latest-comments/index.js +5 -1
- package/build/latest-comments/index.js.map +1 -1
- package/build/latest-posts/deprecated.js +13 -0
- package/build/latest-posts/deprecated.js.map +1 -1
- package/build/latest-posts/index.js +13 -0
- package/build/latest-posts/index.js.map +1 -1
- package/build/list-item/edit.js +2 -1
- package/build/list-item/edit.js.map +1 -1
- package/build/navigation/edit/index.js +82 -92
- package/build/navigation/edit/index.js.map +1 -1
- package/build/navigation/edit/manage-menus-button.js +36 -0
- package/build/navigation/edit/manage-menus-button.js.map +1 -0
- package/build/navigation/edit/navigation-menu-selector.js +12 -5
- package/build/navigation/edit/navigation-menu-selector.js.map +1 -1
- package/build/navigation/edit/responsive-wrapper.js +2 -6
- package/build/navigation/edit/responsive-wrapper.js.map +1 -1
- package/build/navigation/edit/unsaved-inner-blocks.js +5 -19
- package/build/navigation/edit/unsaved-inner-blocks.js.map +1 -1
- package/build/navigation-link/edit.js +10 -1
- package/build/navigation-link/edit.js.map +1 -1
- package/build/post-author/edit.js +35 -20
- package/build/post-author/edit.js.map +1 -1
- package/build/post-content/index.js +3 -0
- package/build/post-content/index.js.map +1 -1
- package/build/site-logo/edit.js +1 -1
- package/build/site-logo/edit.js.map +1 -1
- package/build/template-part/variations.js +5 -0
- package/build/template-part/variations.js.map +1 -1
- package/build-module/button/deprecated.js +16 -2
- package/build-module/button/deprecated.js.map +1 -1
- package/build-module/button/edit.js +15 -9
- package/build-module/button/edit.js.map +1 -1
- package/build-module/button/index.js +4 -1
- package/build-module/button/index.js.map +1 -1
- package/build-module/button/save.js +2 -0
- package/build-module/button/save.js.map +1 -1
- package/build-module/columns/transforms.js +5 -0
- package/build-module/columns/transforms.js.map +1 -1
- package/build-module/cover/edit/index.js +3 -1
- package/build-module/cover/edit/index.js.map +1 -1
- package/build-module/gallery/v1/edit.js +5 -3
- package/build-module/gallery/v1/edit.js.map +1 -1
- package/build-module/group/edit.js +94 -45
- package/build-module/group/edit.js.map +1 -1
- package/build-module/group/index.js +3 -0
- package/build-module/group/index.js.map +1 -1
- package/build-module/group/placeholder.js +154 -0
- package/build-module/group/placeholder.js.map +1 -0
- package/build-module/group/variations.js +3 -3
- package/build-module/group/variations.js.map +1 -1
- package/build-module/latest-comments/edit.js +2 -1
- package/build-module/latest-comments/edit.js.map +1 -1
- package/build-module/latest-comments/index.js +5 -1
- package/build-module/latest-comments/index.js.map +1 -1
- package/build-module/latest-posts/deprecated.js +13 -0
- package/build-module/latest-posts/deprecated.js.map +1 -1
- package/build-module/latest-posts/index.js +13 -0
- package/build-module/latest-posts/index.js.map +1 -1
- package/build-module/list-item/edit.js +2 -1
- package/build-module/list-item/edit.js.map +1 -1
- package/build-module/navigation/edit/index.js +84 -94
- package/build-module/navigation/edit/index.js.map +1 -1
- package/build-module/navigation/edit/manage-menus-button.js +26 -0
- package/build-module/navigation/edit/manage-menus-button.js.map +1 -0
- package/build-module/navigation/edit/navigation-menu-selector.js +13 -6
- package/build-module/navigation/edit/navigation-menu-selector.js.map +1 -1
- package/build-module/navigation/edit/responsive-wrapper.js +2 -6
- package/build-module/navigation/edit/responsive-wrapper.js.map +1 -1
- package/build-module/navigation/edit/unsaved-inner-blocks.js +7 -20
- package/build-module/navigation/edit/unsaved-inner-blocks.js.map +1 -1
- package/build-module/navigation-link/edit.js +10 -1
- package/build-module/navigation-link/edit.js.map +1 -1
- package/build-module/post-author/edit.js +35 -21
- package/build-module/post-author/edit.js.map +1 -1
- package/build-module/post-content/index.js +3 -0
- package/build-module/post-content/index.js.map +1 -1
- package/build-module/site-logo/edit.js +1 -1
- package/build-module/site-logo/edit.js.map +1 -1
- package/build-module/template-part/variations.js +5 -0
- package/build-module/template-part/variations.js.map +1 -1
- package/build-style/editor-rtl.css +76 -1
- package/build-style/editor.css +76 -1
- package/build-style/group/editor-rtl.css +44 -0
- package/build-style/group/editor.css +44 -0
- package/build-style/latest-comments/style-rtl.css +1 -0
- package/build-style/latest-comments/style.css +1 -0
- package/build-style/latest-posts/style-rtl.css +3 -0
- package/build-style/latest-posts/style.css +3 -0
- package/build-style/navigation/editor-rtl.css +23 -0
- package/build-style/navigation/editor.css +23 -0
- package/build-style/navigation/style-rtl.css +10 -0
- package/build-style/navigation/style.css +10 -0
- package/build-style/navigation-link/editor-rtl.css +8 -1
- package/build-style/navigation-link/editor.css +8 -1
- package/build-style/query/editor-rtl.css +1 -1
- package/build-style/query/editor.css +1 -1
- package/build-style/query-pagination/style-rtl.css +1 -1
- package/build-style/query-pagination/style.css +1 -1
- package/build-style/style-rtl.css +20 -1
- package/build-style/style.css +20 -1
- package/build-style/table/editor-rtl.css +1 -0
- package/build-style/table/editor.css +1 -0
- package/build-style/table/style-rtl.css +5 -0
- package/build-style/table/style.css +5 -0
- package/build-style/table/theme-rtl.css +1 -3
- package/build-style/table/theme.css +1 -3
- package/build-style/theme-rtl.css +1 -3
- package/build-style/theme.css +1 -3
- package/package.json +28 -28
- package/src/avatar/index.php +1 -1
- package/src/block/test/edit.native.js +8 -8
- package/src/button/block.json +4 -1
- package/src/button/deprecated.js +18 -2
- package/src/button/edit.js +11 -9
- package/src/button/save.js +12 -2
- package/src/buttons/test/edit.native.js +19 -19
- package/src/columns/test/edit.native.js +32 -32
- package/src/columns/transforms.js +8 -0
- package/src/cover/edit/index.js +3 -1
- package/src/cover/test/edit.native.js +26 -26
- package/src/embed/test/index.native.js +43 -43
- package/src/gallery/test/index.native.js +11 -11
- package/src/gallery/v1/edit.js +19 -24
- package/src/group/block.json +3 -0
- package/src/group/edit.js +95 -44
- package/src/group/editor.scss +48 -0
- package/src/group/placeholder.js +187 -0
- package/src/group/test/edit.native.js +3 -3
- package/src/group/test/placeholder.js +78 -0
- package/src/group/variations.js +3 -3
- package/src/image/test/edit.native.js +17 -17
- package/src/latest-comments/block.json +5 -1
- package/src/latest-comments/edit.js +1 -0
- package/src/latest-comments/style.scss +3 -0
- package/src/latest-posts/block.json +13 -0
- package/src/latest-posts/style.scss +3 -0
- package/src/list/test/edit.native.js +36 -36
- package/src/list-item/edit.js +1 -0
- package/src/missing/test/edit-integration.native.js +5 -5
- package/src/navigation/edit/index.js +173 -146
- package/src/navigation/edit/manage-menus-button.js +21 -0
- package/src/navigation/edit/navigation-menu-selector.js +20 -5
- package/src/navigation/edit/responsive-wrapper.js +2 -10
- package/src/navigation/edit/unsaved-inner-blocks.js +5 -29
- package/src/navigation/editor.scss +25 -0
- package/src/navigation/style.scss +16 -0
- package/src/navigation-link/edit.js +8 -0
- package/src/navigation-link/editor.scss +8 -0
- package/src/post-author/edit.js +44 -20
- package/src/post-content/block.json +3 -0
- package/src/query/editor.scss +1 -1
- package/src/query-pagination/style.scss +1 -1
- package/src/read-more/index.php +9 -2
- package/src/shortcode/test/edit.native.js +5 -5
- package/src/site-logo/edit.js +1 -1
- package/src/social-link/test/index.native.js +10 -10
- package/src/social-links/test/edit.native.js +4 -4
- package/src/spacer/test/index.native.js +17 -17
- package/src/table/editor.scss +1 -0
- package/src/table/style.scss +7 -0
- package/src/table/theme.scss +1 -3
- package/src/template-part/index.php +5 -0
- package/src/template-part/variations.js +4 -0
|
@@ -125,4 +125,48 @@
|
|
|
125
125
|
}
|
|
126
126
|
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
|
|
127
127
|
pointer-events: all;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.wp-block-group__placeholder .wp-block-group-placeholder__variations {
|
|
131
|
+
list-style: none;
|
|
132
|
+
display: flex;
|
|
133
|
+
justify-content: center;
|
|
134
|
+
flex-direction: row;
|
|
135
|
+
flex-wrap: wrap;
|
|
136
|
+
width: 100%;
|
|
137
|
+
padding: 0;
|
|
138
|
+
margin: 0;
|
|
139
|
+
}
|
|
140
|
+
.wp-block-group__placeholder .components-placeholder__instructions {
|
|
141
|
+
text-align: center;
|
|
142
|
+
margin-bottom: 18px;
|
|
143
|
+
}
|
|
144
|
+
.wp-block-group__placeholder .wp-block-group-placeholder__variations svg {
|
|
145
|
+
fill: #ccc !important;
|
|
146
|
+
}
|
|
147
|
+
.wp-block-group__placeholder .wp-block-group-placeholder__variations svg:hover {
|
|
148
|
+
fill: var(--wp-admin-theme-color) !important;
|
|
149
|
+
}
|
|
150
|
+
.wp-block-group__placeholder .wp-block-group-placeholder__variations > li {
|
|
151
|
+
margin: 0 12px 12px 12px;
|
|
152
|
+
width: auto;
|
|
153
|
+
display: flex;
|
|
154
|
+
flex-direction: column;
|
|
155
|
+
align-items: center;
|
|
156
|
+
}
|
|
157
|
+
.wp-block-group__placeholder .wp-block-group-placeholder__variations li > .wp-block-group-placeholder__variation-button {
|
|
158
|
+
width: 44px;
|
|
159
|
+
height: 32px;
|
|
160
|
+
padding: 0;
|
|
161
|
+
}
|
|
162
|
+
.wp-block-group__placeholder .wp-block-group-placeholder__variations li > .wp-block-group-placeholder__variation-button:hover {
|
|
163
|
+
box-shadow: none;
|
|
164
|
+
}
|
|
165
|
+
.wp-block-group__placeholder .components-placeholder {
|
|
166
|
+
min-height: auto;
|
|
167
|
+
padding: 24px;
|
|
168
|
+
}
|
|
169
|
+
.wp-block-group__placeholder .is-small .wp-block-group-placeholder__variations > li,
|
|
170
|
+
.wp-block-group__placeholder .is-medium .wp-block-group-placeholder__variations > li {
|
|
171
|
+
margin: 12px;
|
|
128
172
|
}
|
|
@@ -125,4 +125,48 @@
|
|
|
125
125
|
}
|
|
126
126
|
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
|
|
127
127
|
pointer-events: all;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.wp-block-group__placeholder .wp-block-group-placeholder__variations {
|
|
131
|
+
list-style: none;
|
|
132
|
+
display: flex;
|
|
133
|
+
justify-content: center;
|
|
134
|
+
flex-direction: row;
|
|
135
|
+
flex-wrap: wrap;
|
|
136
|
+
width: 100%;
|
|
137
|
+
padding: 0;
|
|
138
|
+
margin: 0;
|
|
139
|
+
}
|
|
140
|
+
.wp-block-group__placeholder .components-placeholder__instructions {
|
|
141
|
+
text-align: center;
|
|
142
|
+
margin-bottom: 18px;
|
|
143
|
+
}
|
|
144
|
+
.wp-block-group__placeholder .wp-block-group-placeholder__variations svg {
|
|
145
|
+
fill: #ccc !important;
|
|
146
|
+
}
|
|
147
|
+
.wp-block-group__placeholder .wp-block-group-placeholder__variations svg:hover {
|
|
148
|
+
fill: var(--wp-admin-theme-color) !important;
|
|
149
|
+
}
|
|
150
|
+
.wp-block-group__placeholder .wp-block-group-placeholder__variations > li {
|
|
151
|
+
margin: 0 12px 12px 12px;
|
|
152
|
+
width: auto;
|
|
153
|
+
display: flex;
|
|
154
|
+
flex-direction: column;
|
|
155
|
+
align-items: center;
|
|
156
|
+
}
|
|
157
|
+
.wp-block-group__placeholder .wp-block-group-placeholder__variations li > .wp-block-group-placeholder__variation-button {
|
|
158
|
+
width: 44px;
|
|
159
|
+
height: 32px;
|
|
160
|
+
padding: 0;
|
|
161
|
+
}
|
|
162
|
+
.wp-block-group__placeholder .wp-block-group-placeholder__variations li > .wp-block-group-placeholder__variation-button:hover {
|
|
163
|
+
box-shadow: none;
|
|
164
|
+
}
|
|
165
|
+
.wp-block-group__placeholder .components-placeholder {
|
|
166
|
+
min-height: auto;
|
|
167
|
+
padding: 24px;
|
|
168
|
+
}
|
|
169
|
+
.wp-block-group__placeholder .is-small .wp-block-group-placeholder__variations > li,
|
|
170
|
+
.wp-block-group__placeholder .is-medium .wp-block-group-placeholder__variations > li {
|
|
171
|
+
margin: 12px;
|
|
128
172
|
}
|
|
@@ -476,6 +476,14 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
476
476
|
color: inherit;
|
|
477
477
|
}
|
|
478
478
|
|
|
479
|
+
.components-heading.wp-block-navigation-off-canvas-editor__title {
|
|
480
|
+
margin: 0;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.wp-block-navigation-off-canvas-editor__header {
|
|
484
|
+
margin-bottom: 8px;
|
|
485
|
+
}
|
|
486
|
+
|
|
479
487
|
.is-menu-open .wp-block-navigation__responsive-container-content * .block-list-appender {
|
|
480
488
|
margin-top: 16px;
|
|
481
489
|
}
|
|
@@ -510,6 +518,10 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
510
518
|
margin-bottom: 16px;
|
|
511
519
|
}
|
|
512
520
|
|
|
521
|
+
.components-button.is-link.wp-block-navigation-manage-menus-button {
|
|
522
|
+
margin-bottom: 16px;
|
|
523
|
+
}
|
|
524
|
+
|
|
513
525
|
.wp-block-navigation__overlay-menu-preview {
|
|
514
526
|
display: flex;
|
|
515
527
|
align-items: center;
|
|
@@ -548,6 +560,17 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
548
560
|
width: 100%;
|
|
549
561
|
}
|
|
550
562
|
|
|
563
|
+
.wp-block-navigation__navigation-selector-button__icon {
|
|
564
|
+
flex: 0 0 auto;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.wp-block-navigation__navigation-selector-button__label {
|
|
568
|
+
flex: 0 1 auto;
|
|
569
|
+
overflow: hidden;
|
|
570
|
+
text-overflow: ellipsis;
|
|
571
|
+
white-space: nowrap;
|
|
572
|
+
}
|
|
573
|
+
|
|
551
574
|
.wp-block-navigation__navigation-selector-button--createnew {
|
|
552
575
|
border: 1px solid;
|
|
553
576
|
margin-bottom: 16px;
|
|
@@ -476,6 +476,14 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
476
476
|
color: inherit;
|
|
477
477
|
}
|
|
478
478
|
|
|
479
|
+
.components-heading.wp-block-navigation-off-canvas-editor__title {
|
|
480
|
+
margin: 0;
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.wp-block-navigation-off-canvas-editor__header {
|
|
484
|
+
margin-bottom: 8px;
|
|
485
|
+
}
|
|
486
|
+
|
|
479
487
|
.is-menu-open .wp-block-navigation__responsive-container-content * .block-list-appender {
|
|
480
488
|
margin-top: 16px;
|
|
481
489
|
}
|
|
@@ -510,6 +518,10 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
510
518
|
margin-bottom: 16px;
|
|
511
519
|
}
|
|
512
520
|
|
|
521
|
+
.components-button.is-link.wp-block-navigation-manage-menus-button {
|
|
522
|
+
margin-bottom: 16px;
|
|
523
|
+
}
|
|
524
|
+
|
|
513
525
|
.wp-block-navigation__overlay-menu-preview {
|
|
514
526
|
display: flex;
|
|
515
527
|
align-items: center;
|
|
@@ -548,6 +560,17 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
548
560
|
width: 100%;
|
|
549
561
|
}
|
|
550
562
|
|
|
563
|
+
.wp-block-navigation__navigation-selector-button__icon {
|
|
564
|
+
flex: 0 0 auto;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.wp-block-navigation__navigation-selector-button__label {
|
|
568
|
+
flex: 0 1 auto;
|
|
569
|
+
overflow: hidden;
|
|
570
|
+
text-overflow: ellipsis;
|
|
571
|
+
white-space: nowrap;
|
|
572
|
+
}
|
|
573
|
+
|
|
551
574
|
.wp-block-navigation__navigation-selector-button--createnew {
|
|
552
575
|
border: 1px solid;
|
|
553
576
|
margin-bottom: 16px;
|
|
@@ -528,6 +528,11 @@ button.wp-block-navigation-item__content {
|
|
|
528
528
|
.wp-block-navigation__responsive-container-open {
|
|
529
529
|
display: flex;
|
|
530
530
|
}
|
|
531
|
+
.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open {
|
|
532
|
+
font-family: inherit;
|
|
533
|
+
font-weight: inherit;
|
|
534
|
+
font-size: inherit;
|
|
535
|
+
}
|
|
531
536
|
@media (min-width: 600px) {
|
|
532
537
|
.wp-block-navigation__responsive-container-open:not(.always-shown) {
|
|
533
538
|
display: none;
|
|
@@ -540,6 +545,11 @@ button.wp-block-navigation-item__content {
|
|
|
540
545
|
left: 0;
|
|
541
546
|
z-index: 2;
|
|
542
547
|
}
|
|
548
|
+
.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close {
|
|
549
|
+
font-family: inherit;
|
|
550
|
+
font-weight: inherit;
|
|
551
|
+
font-size: inherit;
|
|
552
|
+
}
|
|
543
553
|
|
|
544
554
|
.wp-block-navigation__responsive-close {
|
|
545
555
|
width: 100%;
|
|
@@ -528,6 +528,11 @@ button.wp-block-navigation-item__content {
|
|
|
528
528
|
.wp-block-navigation__responsive-container-open {
|
|
529
529
|
display: flex;
|
|
530
530
|
}
|
|
531
|
+
.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open {
|
|
532
|
+
font-family: inherit;
|
|
533
|
+
font-weight: inherit;
|
|
534
|
+
font-size: inherit;
|
|
535
|
+
}
|
|
531
536
|
@media (min-width: 600px) {
|
|
532
537
|
.wp-block-navigation__responsive-container-open:not(.always-shown) {
|
|
533
538
|
display: none;
|
|
@@ -540,6 +545,11 @@ button.wp-block-navigation-item__content {
|
|
|
540
545
|
right: 0;
|
|
541
546
|
z-index: 2;
|
|
542
547
|
}
|
|
548
|
+
.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close {
|
|
549
|
+
font-family: inherit;
|
|
550
|
+
font-weight: inherit;
|
|
551
|
+
font-size: inherit;
|
|
552
|
+
}
|
|
543
553
|
|
|
544
554
|
.wp-block-navigation__responsive-close {
|
|
545
555
|
width: 100%;
|
|
@@ -75,8 +75,15 @@
|
|
|
75
75
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
76
76
|
*/
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
* Appender
|
|
79
79
|
*/
|
|
80
|
+
.wp-block-navigation .block-list-appender {
|
|
81
|
+
position: relative;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Submenus.
|
|
86
|
+
*/
|
|
80
87
|
.wp-block-navigation .has-child {
|
|
81
88
|
cursor: pointer;
|
|
82
89
|
}
|
|
@@ -75,8 +75,15 @@
|
|
|
75
75
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
76
76
|
*/
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
* Appender
|
|
79
79
|
*/
|
|
80
|
+
.wp-block-navigation .block-list-appender {
|
|
81
|
+
position: relative;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Submenus.
|
|
86
|
+
*/
|
|
80
87
|
.wp-block-navigation .has-child {
|
|
81
88
|
cursor: pointer;
|
|
82
89
|
}
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
.wp-block-query-pagination > .wp-block-query-pagination-numbers:last-child {
|
|
86
86
|
margin-right: 0;
|
|
87
87
|
}
|
|
88
|
-
.wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-next:last-
|
|
88
|
+
.wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-next:last-of-type {
|
|
89
89
|
margin-inline-start: auto;
|
|
90
90
|
}
|
|
91
91
|
.wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-previous:first-child {
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
/*rtl:ignore*/
|
|
88
88
|
margin-right: 0;
|
|
89
89
|
}
|
|
90
|
-
.wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-next:last-
|
|
90
|
+
.wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-next:last-of-type {
|
|
91
91
|
margin-inline-start: auto;
|
|
92
92
|
}
|
|
93
93
|
.wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-previous:first-child {
|
|
@@ -1504,6 +1504,7 @@ h6.has-background {
|
|
|
1504
1504
|
|
|
1505
1505
|
ol.wp-block-latest-comments {
|
|
1506
1506
|
margin-right: 0;
|
|
1507
|
+
box-sizing: border-box;
|
|
1507
1508
|
}
|
|
1508
1509
|
|
|
1509
1510
|
.wp-block-latest-comments .wp-block-latest-comments {
|
|
@@ -1548,6 +1549,9 @@ ol.wp-block-latest-comments {
|
|
|
1548
1549
|
width: 2.5em;
|
|
1549
1550
|
}
|
|
1550
1551
|
|
|
1552
|
+
.wp-block-latest-posts {
|
|
1553
|
+
box-sizing: border-box;
|
|
1554
|
+
}
|
|
1551
1555
|
.wp-block-latest-posts.alignleft {
|
|
1552
1556
|
margin-right: 2em;
|
|
1553
1557
|
}
|
|
@@ -2200,6 +2204,11 @@ button.wp-block-navigation-item__content {
|
|
|
2200
2204
|
.wp-block-navigation__responsive-container-open {
|
|
2201
2205
|
display: flex;
|
|
2202
2206
|
}
|
|
2207
|
+
.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open {
|
|
2208
|
+
font-family: inherit;
|
|
2209
|
+
font-weight: inherit;
|
|
2210
|
+
font-size: inherit;
|
|
2211
|
+
}
|
|
2203
2212
|
@media (min-width: 600px) {
|
|
2204
2213
|
.wp-block-navigation__responsive-container-open:not(.always-shown) {
|
|
2205
2214
|
display: none;
|
|
@@ -2212,6 +2221,11 @@ button.wp-block-navigation-item__content {
|
|
|
2212
2221
|
left: 0;
|
|
2213
2222
|
z-index: 2;
|
|
2214
2223
|
}
|
|
2224
|
+
.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close {
|
|
2225
|
+
font-family: inherit;
|
|
2226
|
+
font-weight: inherit;
|
|
2227
|
+
font-size: inherit;
|
|
2228
|
+
}
|
|
2215
2229
|
|
|
2216
2230
|
.wp-block-navigation__responsive-close {
|
|
2217
2231
|
width: 100%;
|
|
@@ -2610,7 +2624,7 @@ p.has-background {
|
|
|
2610
2624
|
.wp-block-query-pagination > .wp-block-query-pagination-numbers:last-child {
|
|
2611
2625
|
margin-right: 0;
|
|
2612
2626
|
}
|
|
2613
|
-
.wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-next:last-
|
|
2627
|
+
.wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-next:last-of-type {
|
|
2614
2628
|
margin-inline-start: auto;
|
|
2615
2629
|
}
|
|
2616
2630
|
.wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-previous:first-child {
|
|
@@ -3259,6 +3273,11 @@ ul.wp-block-rss.is-grid li {
|
|
|
3259
3273
|
border-collapse: collapse;
|
|
3260
3274
|
width: 100%;
|
|
3261
3275
|
}
|
|
3276
|
+
.wp-block-table td,
|
|
3277
|
+
.wp-block-table th {
|
|
3278
|
+
border: 1px solid;
|
|
3279
|
+
padding: 0.5em;
|
|
3280
|
+
}
|
|
3262
3281
|
.wp-block-table .has-fixed-layout {
|
|
3263
3282
|
table-layout: fixed;
|
|
3264
3283
|
width: 100%;
|
package/build-style/style.css
CHANGED
|
@@ -1516,6 +1516,7 @@ h6.has-background {
|
|
|
1516
1516
|
|
|
1517
1517
|
ol.wp-block-latest-comments {
|
|
1518
1518
|
margin-left: 0;
|
|
1519
|
+
box-sizing: border-box;
|
|
1519
1520
|
}
|
|
1520
1521
|
|
|
1521
1522
|
.wp-block-latest-comments .wp-block-latest-comments {
|
|
@@ -1560,6 +1561,9 @@ ol.wp-block-latest-comments {
|
|
|
1560
1561
|
width: 2.5em;
|
|
1561
1562
|
}
|
|
1562
1563
|
|
|
1564
|
+
.wp-block-latest-posts {
|
|
1565
|
+
box-sizing: border-box;
|
|
1566
|
+
}
|
|
1563
1567
|
.wp-block-latest-posts.alignleft {
|
|
1564
1568
|
/*rtl:ignore*/
|
|
1565
1569
|
margin-right: 2em;
|
|
@@ -2228,6 +2232,11 @@ button.wp-block-navigation-item__content {
|
|
|
2228
2232
|
.wp-block-navigation__responsive-container-open {
|
|
2229
2233
|
display: flex;
|
|
2230
2234
|
}
|
|
2235
|
+
.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open.wp-block-navigation__responsive-container-open {
|
|
2236
|
+
font-family: inherit;
|
|
2237
|
+
font-weight: inherit;
|
|
2238
|
+
font-size: inherit;
|
|
2239
|
+
}
|
|
2231
2240
|
@media (min-width: 600px) {
|
|
2232
2241
|
.wp-block-navigation__responsive-container-open:not(.always-shown) {
|
|
2233
2242
|
display: none;
|
|
@@ -2240,6 +2249,11 @@ button.wp-block-navigation-item__content {
|
|
|
2240
2249
|
right: 0;
|
|
2241
2250
|
z-index: 2;
|
|
2242
2251
|
}
|
|
2252
|
+
.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close.wp-block-navigation__responsive-container-close {
|
|
2253
|
+
font-family: inherit;
|
|
2254
|
+
font-weight: inherit;
|
|
2255
|
+
font-size: inherit;
|
|
2256
|
+
}
|
|
2243
2257
|
|
|
2244
2258
|
.wp-block-navigation__responsive-close {
|
|
2245
2259
|
width: 100%;
|
|
@@ -2640,7 +2654,7 @@ p.has-background {
|
|
|
2640
2654
|
/*rtl:ignore*/
|
|
2641
2655
|
margin-right: 0;
|
|
2642
2656
|
}
|
|
2643
|
-
.wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-next:last-
|
|
2657
|
+
.wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-next:last-of-type {
|
|
2644
2658
|
margin-inline-start: auto;
|
|
2645
2659
|
}
|
|
2646
2660
|
.wp-block-query-pagination.is-content-justification-space-between > .wp-block-query-pagination-previous:first-child {
|
|
@@ -3292,6 +3306,11 @@ ul.wp-block-rss.is-grid li {
|
|
|
3292
3306
|
border-collapse: collapse;
|
|
3293
3307
|
width: 100%;
|
|
3294
3308
|
}
|
|
3309
|
+
.wp-block-table td,
|
|
3310
|
+
.wp-block-table th {
|
|
3311
|
+
border: 1px solid;
|
|
3312
|
+
padding: 0.5em;
|
|
3313
|
+
}
|
|
3295
3314
|
.wp-block-table .has-fixed-layout {
|
|
3296
3315
|
table-layout: fixed;
|
|
3297
3316
|
width: 100%;
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
76
76
|
*/
|
|
77
77
|
.wp-block-table {
|
|
78
|
-
margin:
|
|
78
|
+
margin: 0 0 1em 0;
|
|
79
79
|
}
|
|
80
80
|
.wp-block-table thead {
|
|
81
81
|
border-bottom: 3px solid;
|
|
@@ -85,8 +85,6 @@
|
|
|
85
85
|
}
|
|
86
86
|
.wp-block-table td,
|
|
87
87
|
.wp-block-table th {
|
|
88
|
-
padding: 0.5em;
|
|
89
|
-
border: 1px solid;
|
|
90
88
|
word-break: normal;
|
|
91
89
|
}
|
|
92
90
|
.wp-block-table figcaption {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
76
76
|
*/
|
|
77
77
|
.wp-block-table {
|
|
78
|
-
margin:
|
|
78
|
+
margin: 0 0 1em 0;
|
|
79
79
|
}
|
|
80
80
|
.wp-block-table thead {
|
|
81
81
|
border-bottom: 3px solid;
|
|
@@ -85,8 +85,6 @@
|
|
|
85
85
|
}
|
|
86
86
|
.wp-block-table td,
|
|
87
87
|
.wp-block-table th {
|
|
88
|
-
padding: 0.5em;
|
|
89
|
-
border: 1px solid;
|
|
90
88
|
word-break: normal;
|
|
91
89
|
}
|
|
92
90
|
.wp-block-table figcaption {
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
.wp-block-table {
|
|
210
|
-
margin:
|
|
210
|
+
margin: 0 0 1em 0;
|
|
211
211
|
}
|
|
212
212
|
.wp-block-table thead {
|
|
213
213
|
border-bottom: 3px solid;
|
|
@@ -217,8 +217,6 @@
|
|
|
217
217
|
}
|
|
218
218
|
.wp-block-table td,
|
|
219
219
|
.wp-block-table th {
|
|
220
|
-
padding: 0.5em;
|
|
221
|
-
border: 1px solid;
|
|
222
220
|
word-break: normal;
|
|
223
221
|
}
|
|
224
222
|
.wp-block-table figcaption {
|
package/build-style/theme.css
CHANGED
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
.wp-block-table {
|
|
210
|
-
margin:
|
|
210
|
+
margin: 0 0 1em 0;
|
|
211
211
|
}
|
|
212
212
|
.wp-block-table thead {
|
|
213
213
|
border-bottom: 3px solid;
|
|
@@ -217,8 +217,6 @@
|
|
|
217
217
|
}
|
|
218
218
|
.wp-block-table td,
|
|
219
219
|
.wp-block-table th {
|
|
220
|
-
padding: 0.5em;
|
|
221
|
-
border: 1px solid;
|
|
222
220
|
word-break: normal;
|
|
223
221
|
}
|
|
224
222
|
.wp-block-table figcaption {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/block-library",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.19.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,32 +31,32 @@
|
|
|
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": "^10.
|
|
39
|
-
"@wordpress/blocks": "^11.
|
|
40
|
-
"@wordpress/components": "^22.
|
|
41
|
-
"@wordpress/compose": "^5.
|
|
42
|
-
"@wordpress/core-data": "^5.
|
|
43
|
-
"@wordpress/data": "^7.
|
|
44
|
-
"@wordpress/date": "^4.
|
|
45
|
-
"@wordpress/deprecated": "^3.
|
|
46
|
-
"@wordpress/dom": "^3.
|
|
47
|
-
"@wordpress/element": "^4.
|
|
48
|
-
"@wordpress/hooks": "^3.
|
|
49
|
-
"@wordpress/html-entities": "^3.
|
|
50
|
-
"@wordpress/i18n": "^4.
|
|
51
|
-
"@wordpress/icons": "^9.
|
|
52
|
-
"@wordpress/keycodes": "^3.
|
|
53
|
-
"@wordpress/notices": "^3.
|
|
54
|
-
"@wordpress/primitives": "^3.
|
|
55
|
-
"@wordpress/reusable-blocks": "^3.
|
|
56
|
-
"@wordpress/rich-text": "^5.
|
|
57
|
-
"@wordpress/server-side-render": "^3.
|
|
58
|
-
"@wordpress/url": "^3.
|
|
59
|
-
"@wordpress/viewport": "^4.
|
|
34
|
+
"@wordpress/a11y": "^3.22.0",
|
|
35
|
+
"@wordpress/api-fetch": "^6.19.0",
|
|
36
|
+
"@wordpress/autop": "^3.22.0",
|
|
37
|
+
"@wordpress/blob": "^3.22.0",
|
|
38
|
+
"@wordpress/block-editor": "^10.5.0",
|
|
39
|
+
"@wordpress/blocks": "^11.21.0",
|
|
40
|
+
"@wordpress/components": "^22.1.0",
|
|
41
|
+
"@wordpress/compose": "^5.20.0",
|
|
42
|
+
"@wordpress/core-data": "^5.5.0",
|
|
43
|
+
"@wordpress/data": "^7.6.0",
|
|
44
|
+
"@wordpress/date": "^4.22.0",
|
|
45
|
+
"@wordpress/deprecated": "^3.22.0",
|
|
46
|
+
"@wordpress/dom": "^3.22.0",
|
|
47
|
+
"@wordpress/element": "^4.20.0",
|
|
48
|
+
"@wordpress/hooks": "^3.22.0",
|
|
49
|
+
"@wordpress/html-entities": "^3.22.0",
|
|
50
|
+
"@wordpress/i18n": "^4.22.0",
|
|
51
|
+
"@wordpress/icons": "^9.13.0",
|
|
52
|
+
"@wordpress/keycodes": "^3.22.0",
|
|
53
|
+
"@wordpress/notices": "^3.22.0",
|
|
54
|
+
"@wordpress/primitives": "^3.20.0",
|
|
55
|
+
"@wordpress/reusable-blocks": "^3.20.0",
|
|
56
|
+
"@wordpress/rich-text": "^5.20.0",
|
|
57
|
+
"@wordpress/server-side-render": "^3.20.0",
|
|
58
|
+
"@wordpress/url": "^3.23.0",
|
|
59
|
+
"@wordpress/viewport": "^4.20.0",
|
|
60
60
|
"change-case": "^4.1.2",
|
|
61
61
|
"classnames": "^2.3.1",
|
|
62
62
|
"colord": "^2.7.0",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
"publishConfig": {
|
|
75
75
|
"access": "public"
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "7ac04f446242452d3cb24372f9ca58f0cae97715"
|
|
78
78
|
}
|
package/src/avatar/index.php
CHANGED
|
@@ -100,7 +100,7 @@ function render_block_core_avatar( $attributes, $content, $block ) {
|
|
|
100
100
|
$label = 'aria-label="' . sprintf( esc_attr__( '(%s author archive, opens in a new tab)' ), $author_name ) . '"';
|
|
101
101
|
}
|
|
102
102
|
// translators: %1$s: Author archive link. %2$s: Link target. %3$s Aria label. %4$s Avatar image.
|
|
103
|
-
$avatar_block = sprintf( '<a href="%1$s" target="%2$s" %3$s class="wp-block-avatar__link">%4$s</a>', get_author_posts_url( $author_id ), esc_attr( $attributes['linkTarget'] ), $label, $avatar_block );
|
|
103
|
+
$avatar_block = sprintf( '<a href="%1$s" target="%2$s" %3$s class="wp-block-avatar__link">%4$s</a>', esc_url( get_author_posts_url( $author_id ) ), esc_attr( $attributes['linkTarget'] ), $label, $avatar_block );
|
|
104
104
|
}
|
|
105
105
|
return sprintf( '<div %1s>%2s</div>', $wrapper_attributes, $avatar_block );
|
|
106
106
|
}
|