@wordpress/block-library 7.14.2 → 7.15.1-next.4d3b314fd5.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 +3 -0
- package/build/avatar/index.js +1 -1
- package/build/block/edit.native.js +1 -1
- package/build/block/edit.native.js.map +1 -1
- package/build/buttons/edit.native.js +1 -3
- package/build/buttons/edit.native.js.map +1 -1
- package/build/calendar/index.js +9 -0
- package/build/calendar/index.js.map +1 -1
- package/build/code/index.js +1 -1
- package/build/code/index.js.map +1 -1
- package/build/comments/edit/comments-legacy.js +1 -1
- package/build/comments/edit/comments-legacy.js.map +1 -1
- package/build/comments-pagination-next/index.js +1 -1
- package/build/comments-pagination-numbers/index.js +8 -1
- package/build/comments-pagination-numbers/index.js.map +1 -1
- package/build/comments-pagination-previous/index.js +1 -1
- package/build/comments-title/edit.js +1 -1
- package/build/comments-title/edit.js.map +1 -1
- package/build/cover/edit/use-cover-is-dark.js +10 -7
- package/build/cover/edit/use-cover-is-dark.js.map +1 -1
- package/build/cover/index.js +9 -2
- package/build/cover/index.js.map +1 -1
- package/build/embed/deprecated.js +12 -6
- package/build/embed/deprecated.js.map +1 -1
- package/build/embed/index.js +12 -6
- package/build/embed/index.js.map +1 -1
- package/build/embed/transforms.js +12 -6
- package/build/embed/transforms.js.map +1 -1
- package/build/embed/util.js +12 -6
- package/build/embed/util.js.map +1 -1
- package/build/embed/variations.js +1 -1
- package/build/embed/variations.js.map +1 -1
- package/build/freeform/edit.js +5 -8
- package/build/freeform/edit.js.map +1 -1
- package/build/gallery/deprecated.js +4 -4
- package/build/gallery/deprecated.js.map +1 -1
- package/build/gallery/gallery.js +2 -28
- package/build/gallery/gallery.js.map +1 -1
- package/build/list-item/edit.js +2 -1
- package/build/list-item/edit.js.map +1 -1
- package/build/missing/edit.js +9 -2
- package/build/missing/edit.js.map +1 -1
- package/build/more/edit.js +1 -1
- package/build/more/edit.js.map +1 -1
- package/build/navigation/menu-items-to-blocks.js +16 -6
- package/build/navigation/menu-items-to-blocks.js.map +1 -1
- package/build/paragraph/drop-zone.js +99 -0
- package/build/paragraph/drop-zone.js.map +1 -0
- package/build/paragraph/edit.js +11 -3
- package/build/paragraph/edit.js.map +1 -1
- package/build/post-content/edit.js +6 -1
- package/build/post-content/edit.js.map +1 -1
- package/build/post-excerpt/edit.js +1 -1
- package/build/post-excerpt/edit.js.map +1 -1
- package/build/post-navigation-link/edit.js +35 -4
- package/build/post-navigation-link/edit.js.map +1 -1
- package/build/post-navigation-link/index.js +6 -1
- package/build/post-navigation-link/index.js.map +1 -1
- package/build/post-template/edit.js +13 -28
- package/build/post-template/edit.js.map +1 -1
- package/build/query/edit/inspector-controls/index.js +4 -8
- package/build/query/edit/inspector-controls/index.js.map +1 -1
- package/build/query/edit/inspector-controls/sticky-control.js +1 -1
- package/build/query/edit/inspector-controls/sticky-control.js.map +1 -1
- package/build/query/edit/query-placeholder.js +2 -2
- package/build/query/edit/query-placeholder.js.map +1 -1
- package/build/query-title/edit.js +1 -1
- package/build/query-title/edit.js.map +1 -1
- package/build/quote/transforms.js +2 -2
- package/build/quote/transforms.js.map +1 -1
- package/build/read-more/edit.js +1 -1
- package/build/read-more/edit.js.map +1 -1
- package/build/site-tagline/index.js +1 -1
- package/build/social-links/edit.native.js +1 -0
- package/build/social-links/edit.native.js.map +1 -1
- package/build/template-part/edit/index.js +2 -2
- package/build/template-part/edit/index.js.map +1 -1
- package/build-module/avatar/index.js +1 -1
- package/build-module/block/edit.native.js +1 -1
- package/build-module/block/edit.native.js.map +1 -1
- package/build-module/buttons/edit.native.js +1 -2
- package/build-module/buttons/edit.native.js.map +1 -1
- package/build-module/calendar/index.js +9 -0
- package/build-module/calendar/index.js.map +1 -1
- package/build-module/code/index.js +1 -1
- package/build-module/code/index.js.map +1 -1
- package/build-module/comments/edit/comments-legacy.js +1 -1
- package/build-module/comments/edit/comments-legacy.js.map +1 -1
- package/build-module/comments-pagination-next/index.js +1 -1
- package/build-module/comments-pagination-numbers/index.js +8 -1
- package/build-module/comments-pagination-numbers/index.js.map +1 -1
- package/build-module/comments-pagination-previous/index.js +1 -1
- package/build-module/comments-title/edit.js +1 -1
- package/build-module/comments-title/edit.js.map +1 -1
- package/build-module/cover/edit/use-cover-is-dark.js +9 -4
- package/build-module/cover/edit/use-cover-is-dark.js.map +1 -1
- package/build-module/cover/index.js +9 -2
- package/build-module/cover/index.js.map +1 -1
- package/build-module/embed/deprecated.js +12 -6
- package/build-module/embed/deprecated.js.map +1 -1
- package/build-module/embed/index.js +12 -6
- package/build-module/embed/index.js.map +1 -1
- package/build-module/embed/transforms.js +12 -6
- package/build-module/embed/transforms.js.map +1 -1
- package/build-module/embed/util.js +12 -6
- package/build-module/embed/util.js.map +1 -1
- package/build-module/embed/variations.js +1 -1
- package/build-module/embed/variations.js.map +1 -1
- package/build-module/freeform/edit.js +3 -6
- package/build-module/freeform/edit.js.map +1 -1
- package/build-module/gallery/deprecated.js +4 -4
- package/build-module/gallery/deprecated.js.map +1 -1
- package/build-module/gallery/gallery.js +2 -29
- package/build-module/gallery/gallery.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/missing/edit.js +11 -4
- package/build-module/missing/edit.js.map +1 -1
- package/build-module/more/edit.js +1 -1
- package/build-module/more/edit.js.map +1 -1
- package/build-module/navigation/menu-items-to-blocks.js +16 -6
- package/build-module/navigation/menu-items-to-blocks.js.map +1 -1
- package/build-module/paragraph/drop-zone.js +88 -0
- package/build-module/paragraph/drop-zone.js.map +1 -0
- package/build-module/paragraph/edit.js +10 -3
- package/build-module/paragraph/edit.js.map +1 -1
- package/build-module/post-content/edit.js +6 -1
- package/build-module/post-content/edit.js.map +1 -1
- package/build-module/post-excerpt/edit.js +1 -1
- package/build-module/post-excerpt/edit.js.map +1 -1
- package/build-module/post-navigation-link/edit.js +37 -6
- package/build-module/post-navigation-link/edit.js.map +1 -1
- package/build-module/post-navigation-link/index.js +6 -1
- package/build-module/post-navigation-link/index.js.map +1 -1
- package/build-module/post-template/edit.js +14 -29
- package/build-module/post-template/edit.js.map +1 -1
- package/build-module/query/edit/inspector-controls/index.js +2 -6
- package/build-module/query/edit/inspector-controls/index.js.map +1 -1
- package/build-module/query/edit/inspector-controls/sticky-control.js +1 -1
- package/build-module/query/edit/inspector-controls/sticky-control.js.map +1 -1
- package/build-module/query/edit/query-placeholder.js +2 -2
- package/build-module/query/edit/query-placeholder.js.map +1 -1
- package/build-module/query-title/edit.js +1 -1
- package/build-module/query-title/edit.js.map +1 -1
- package/build-module/quote/transforms.js +2 -2
- package/build-module/quote/transforms.js.map +1 -1
- package/build-module/read-more/edit.js +1 -1
- package/build-module/read-more/edit.js.map +1 -1
- package/build-module/site-tagline/index.js +1 -1
- package/build-module/social-links/edit.native.js +1 -0
- package/build-module/social-links/edit.native.js.map +1 -1
- package/build-module/template-part/edit/index.js +3 -3
- package/build-module/template-part/edit/index.js.map +1 -1
- package/build-style/calendar/style-rtl.css +21 -12
- package/build-style/calendar/style.css +21 -12
- package/build-style/classic-rtl.css +85 -0
- package/build-style/classic.css +85 -0
- package/build-style/editor-rtl.css +41 -2
- package/build-style/editor.css +41 -2
- package/build-style/group/editor-rtl.css +11 -1
- package/build-style/group/editor.css +11 -1
- package/build-style/image/editor-rtl.css +3 -0
- package/build-style/image/editor.css +3 -0
- package/build-style/navigation/editor-rtl.css +11 -1
- package/build-style/navigation/editor.css +11 -1
- package/build-style/paragraph/editor-rtl.css +16 -0
- package/build-style/paragraph/editor.css +16 -0
- package/build-style/post-navigation-link/style-rtl.css +90 -0
- package/build-style/post-navigation-link/style.css +90 -0
- package/build-style/style-rtl.css +36 -12
- package/build-style/style.css +36 -12
- package/package.json +29 -29
- package/src/archives/index.php +4 -7
- package/src/avatar/block.json +1 -1
- package/src/block/edit.native.js +1 -1
- package/src/buttons/edit.native.js +1 -2
- package/src/buttons/test/__snapshots__/edit.native.js.snap +28 -0
- package/src/buttons/test/edit.native.js +170 -0
- package/src/calendar/block.json +9 -0
- package/src/calendar/index.php +22 -1
- package/src/calendar/style.scss +28 -15
- package/src/classic.scss +15 -0
- package/src/code/index.js +1 -1
- package/src/columns/test/__snapshots__/edit.native.js.snap +219 -0
- package/src/columns/test/edit.native.js +432 -0
- package/src/comment-template/index.php +18 -8
- package/src/comments/edit/comments-legacy.js +1 -1
- package/src/comments-pagination-next/block.json +1 -1
- package/src/comments-pagination-numbers/block.json +8 -1
- package/src/comments-pagination-previous/block.json +1 -1
- package/src/comments-title/edit.js +1 -1
- package/src/cover/edit/use-cover-is-dark.js +11 -7
- package/src/cover/index.js +8 -1
- package/src/cover/test/__snapshots__/edit.native.js.snap +64 -0
- package/src/cover/test/edit.native.js +136 -4
- package/src/embed/block.json +12 -6
- package/src/embed/test/index.native.js +1 -2
- package/src/embed/variations.js +1 -1
- package/src/freeform/edit.js +12 -10
- package/src/gallery/deprecated.js +4 -4
- package/src/gallery/gallery.js +1 -31
- package/src/group/test/__snapshots__/edit.native.js.snap +19 -0
- package/src/group/test/edit.native.js +102 -0
- package/src/image/editor.scss +4 -0
- package/src/list-item/edit.js +1 -0
- package/src/missing/edit.js +15 -4
- package/src/more/edit.js +1 -1
- package/src/navigation/menu-items-to-blocks.js +39 -22
- package/src/navigation/test/menu-items-to-blocks.js +6 -0
- package/src/navigation-submenu/index.php +11 -2
- package/src/page-list/index.php +1 -1
- package/src/paragraph/drop-zone.js +105 -0
- package/src/paragraph/edit.js +14 -1
- package/src/paragraph/editor.scss +20 -0
- package/src/post-content/edit.js +3 -1
- package/src/post-excerpt/edit.js +1 -1
- package/src/post-featured-image/index.php +11 -18
- package/src/post-navigation-link/block.json +6 -1
- package/src/post-navigation-link/edit.js +64 -3
- package/src/post-navigation-link/index.php +23 -0
- package/src/post-navigation-link/style.scss +23 -0
- package/src/post-template/edit.js +14 -23
- package/src/query/edit/inspector-controls/index.js +2 -6
- package/src/query/edit/inspector-controls/sticky-control.js +1 -1
- package/src/query/edit/query-placeholder.js +4 -1
- package/src/query-title/edit.js +1 -1
- package/src/quote/transforms.js +1 -1
- package/src/read-more/edit.js +1 -1
- package/src/site-tagline/block.json +1 -1
- package/src/social-links/edit.native.js +7 -1
- package/src/social-links/test/__snapshots__/edit.native.js.snap +57 -0
- package/src/social-links/test/edit.native.js +199 -0
- package/src/style.scss +1 -0
- package/src/tag-cloud/index.php +1 -8
- package/src/template-part/edit/index.js +60 -58
|
@@ -1104,9 +1104,19 @@ figure.wp-block-gallery .components-spinner {
|
|
|
1104
1104
|
flex: 1 0 48px;
|
|
1105
1105
|
pointer-events: none;
|
|
1106
1106
|
min-height: 46px;
|
|
1107
|
-
border: 1px dashed currentColor;
|
|
1108
1107
|
border-radius: 2px;
|
|
1109
1108
|
}
|
|
1109
|
+
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child::after::before {
|
|
1110
|
+
content: "";
|
|
1111
|
+
position: absolute;
|
|
1112
|
+
top: 0;
|
|
1113
|
+
left: 0;
|
|
1114
|
+
bottom: 0;
|
|
1115
|
+
right: 0;
|
|
1116
|
+
pointer-events: none;
|
|
1117
|
+
background: currentColor;
|
|
1118
|
+
opacity: 0.1;
|
|
1119
|
+
}
|
|
1110
1120
|
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
|
|
1111
1121
|
pointer-events: all;
|
|
1112
1122
|
}
|
|
@@ -1155,6 +1165,9 @@ figure.wp-block-gallery .components-spinner {
|
|
|
1155
1165
|
.wp-block-image.wp-block-image.is-selected .components-placeholder .components-placeholder__illustration {
|
|
1156
1166
|
display: none;
|
|
1157
1167
|
}
|
|
1168
|
+
.wp-block-image.wp-block-image.is-selected .components-placeholder::before {
|
|
1169
|
+
opacity: 0;
|
|
1170
|
+
}
|
|
1158
1171
|
.wp-block-image.wp-block-image .components-placeholder__label,
|
|
1159
1172
|
.wp-block-image.wp-block-image .components-placeholder__instructions,
|
|
1160
1173
|
.wp-block-image.wp-block-image .components-button {
|
|
@@ -1592,10 +1605,20 @@ figure.wp-block-image:not(.wp-block) {
|
|
|
1592
1605
|
bottom: 0;
|
|
1593
1606
|
right: 0;
|
|
1594
1607
|
pointer-events: none;
|
|
1595
|
-
border: 1px dashed currentColor;
|
|
1596
1608
|
border-radius: 2px;
|
|
1597
1609
|
border-radius: inherit;
|
|
1598
1610
|
}
|
|
1611
|
+
.wp-block-navigation-placeholder__preview::before::before {
|
|
1612
|
+
content: "";
|
|
1613
|
+
position: absolute;
|
|
1614
|
+
top: 0;
|
|
1615
|
+
left: 0;
|
|
1616
|
+
bottom: 0;
|
|
1617
|
+
right: 0;
|
|
1618
|
+
pointer-events: none;
|
|
1619
|
+
background: currentColor;
|
|
1620
|
+
opacity: 0.1;
|
|
1621
|
+
}
|
|
1599
1622
|
.wp-block-navigation-placeholder__preview > svg {
|
|
1600
1623
|
fill: currentColor;
|
|
1601
1624
|
}
|
|
@@ -2074,6 +2097,22 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2074
2097
|
opacity: 0;
|
|
2075
2098
|
}
|
|
2076
2099
|
|
|
2100
|
+
.components-popover.wp-block-paragraph__drop-zone .components-popover__content {
|
|
2101
|
+
border: none;
|
|
2102
|
+
outline: none;
|
|
2103
|
+
box-shadow: none;
|
|
2104
|
+
}
|
|
2105
|
+
.components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-backdrop {
|
|
2106
|
+
position: absolute;
|
|
2107
|
+
}
|
|
2108
|
+
.components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-foreground {
|
|
2109
|
+
position: absolute;
|
|
2110
|
+
inset: 0;
|
|
2111
|
+
pointer-events: none;
|
|
2112
|
+
background-color: var(--wp-admin-theme-color);
|
|
2113
|
+
border-radius: 2px;
|
|
2114
|
+
}
|
|
2115
|
+
|
|
2077
2116
|
.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline {
|
|
2078
2117
|
display: inline-block;
|
|
2079
2118
|
}
|
package/build-style/editor.css
CHANGED
|
@@ -1112,9 +1112,19 @@ figure.wp-block-gallery .components-spinner {
|
|
|
1112
1112
|
flex: 1 0 48px;
|
|
1113
1113
|
pointer-events: none;
|
|
1114
1114
|
min-height: 46px;
|
|
1115
|
-
border: 1px dashed currentColor;
|
|
1116
1115
|
border-radius: 2px;
|
|
1117
1116
|
}
|
|
1117
|
+
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child::after::before {
|
|
1118
|
+
content: "";
|
|
1119
|
+
position: absolute;
|
|
1120
|
+
top: 0;
|
|
1121
|
+
right: 0;
|
|
1122
|
+
bottom: 0;
|
|
1123
|
+
left: 0;
|
|
1124
|
+
pointer-events: none;
|
|
1125
|
+
background: currentColor;
|
|
1126
|
+
opacity: 0.1;
|
|
1127
|
+
}
|
|
1118
1128
|
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
|
|
1119
1129
|
pointer-events: all;
|
|
1120
1130
|
}
|
|
@@ -1163,6 +1173,9 @@ figure.wp-block-gallery .components-spinner {
|
|
|
1163
1173
|
.wp-block-image.wp-block-image.is-selected .components-placeholder .components-placeholder__illustration {
|
|
1164
1174
|
display: none;
|
|
1165
1175
|
}
|
|
1176
|
+
.wp-block-image.wp-block-image.is-selected .components-placeholder::before {
|
|
1177
|
+
opacity: 0;
|
|
1178
|
+
}
|
|
1166
1179
|
.wp-block-image.wp-block-image .components-placeholder__label,
|
|
1167
1180
|
.wp-block-image.wp-block-image .components-placeholder__instructions,
|
|
1168
1181
|
.wp-block-image.wp-block-image .components-button {
|
|
@@ -1600,10 +1613,20 @@ figure.wp-block-image:not(.wp-block) {
|
|
|
1600
1613
|
bottom: 0;
|
|
1601
1614
|
left: 0;
|
|
1602
1615
|
pointer-events: none;
|
|
1603
|
-
border: 1px dashed currentColor;
|
|
1604
1616
|
border-radius: 2px;
|
|
1605
1617
|
border-radius: inherit;
|
|
1606
1618
|
}
|
|
1619
|
+
.wp-block-navigation-placeholder__preview::before::before {
|
|
1620
|
+
content: "";
|
|
1621
|
+
position: absolute;
|
|
1622
|
+
top: 0;
|
|
1623
|
+
right: 0;
|
|
1624
|
+
bottom: 0;
|
|
1625
|
+
left: 0;
|
|
1626
|
+
pointer-events: none;
|
|
1627
|
+
background: currentColor;
|
|
1628
|
+
opacity: 0.1;
|
|
1629
|
+
}
|
|
1607
1630
|
.wp-block-navigation-placeholder__preview > svg {
|
|
1608
1631
|
fill: currentColor;
|
|
1609
1632
|
}
|
|
@@ -2082,6 +2105,22 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2082
2105
|
opacity: 0;
|
|
2083
2106
|
}
|
|
2084
2107
|
|
|
2108
|
+
.components-popover.wp-block-paragraph__drop-zone .components-popover__content {
|
|
2109
|
+
border: none;
|
|
2110
|
+
outline: none;
|
|
2111
|
+
box-shadow: none;
|
|
2112
|
+
}
|
|
2113
|
+
.components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-backdrop {
|
|
2114
|
+
position: absolute;
|
|
2115
|
+
}
|
|
2116
|
+
.components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-foreground {
|
|
2117
|
+
position: absolute;
|
|
2118
|
+
inset: 0;
|
|
2119
|
+
pointer-events: none;
|
|
2120
|
+
background-color: var(--wp-admin-theme-color);
|
|
2121
|
+
border-radius: 2px;
|
|
2122
|
+
}
|
|
2123
|
+
|
|
2085
2124
|
.wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline {
|
|
2086
2125
|
display: inline-block;
|
|
2087
2126
|
}
|
|
@@ -109,9 +109,19 @@
|
|
|
109
109
|
flex: 1 0 48px;
|
|
110
110
|
pointer-events: none;
|
|
111
111
|
min-height: 46px;
|
|
112
|
-
border: 1px dashed currentColor;
|
|
113
112
|
border-radius: 2px;
|
|
114
113
|
}
|
|
114
|
+
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child::after::before {
|
|
115
|
+
content: "";
|
|
116
|
+
position: absolute;
|
|
117
|
+
top: 0;
|
|
118
|
+
left: 0;
|
|
119
|
+
bottom: 0;
|
|
120
|
+
right: 0;
|
|
121
|
+
pointer-events: none;
|
|
122
|
+
background: currentColor;
|
|
123
|
+
opacity: 0.1;
|
|
124
|
+
}
|
|
115
125
|
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
|
|
116
126
|
pointer-events: all;
|
|
117
127
|
}
|
|
@@ -109,9 +109,19 @@
|
|
|
109
109
|
flex: 1 0 48px;
|
|
110
110
|
pointer-events: none;
|
|
111
111
|
min-height: 46px;
|
|
112
|
-
border: 1px dashed currentColor;
|
|
113
112
|
border-radius: 2px;
|
|
114
113
|
}
|
|
114
|
+
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child::after::before {
|
|
115
|
+
content: "";
|
|
116
|
+
position: absolute;
|
|
117
|
+
top: 0;
|
|
118
|
+
right: 0;
|
|
119
|
+
bottom: 0;
|
|
120
|
+
left: 0;
|
|
121
|
+
pointer-events: none;
|
|
122
|
+
background: currentColor;
|
|
123
|
+
opacity: 0.1;
|
|
124
|
+
}
|
|
115
125
|
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter {
|
|
116
126
|
pointer-events: all;
|
|
117
127
|
}
|
|
@@ -88,6 +88,9 @@
|
|
|
88
88
|
.wp-block-image.wp-block-image.is-selected .components-placeholder .components-placeholder__illustration {
|
|
89
89
|
display: none;
|
|
90
90
|
}
|
|
91
|
+
.wp-block-image.wp-block-image.is-selected .components-placeholder::before {
|
|
92
|
+
opacity: 0;
|
|
93
|
+
}
|
|
91
94
|
.wp-block-image.wp-block-image .components-placeholder__label,
|
|
92
95
|
.wp-block-image.wp-block-image .components-placeholder__instructions,
|
|
93
96
|
.wp-block-image.wp-block-image .components-button {
|
|
@@ -88,6 +88,9 @@
|
|
|
88
88
|
.wp-block-image.wp-block-image.is-selected .components-placeholder .components-placeholder__illustration {
|
|
89
89
|
display: none;
|
|
90
90
|
}
|
|
91
|
+
.wp-block-image.wp-block-image.is-selected .components-placeholder::before {
|
|
92
|
+
opacity: 0;
|
|
93
|
+
}
|
|
91
94
|
.wp-block-image.wp-block-image .components-placeholder__label,
|
|
92
95
|
.wp-block-image.wp-block-image .components-placeholder__instructions,
|
|
93
96
|
.wp-block-image.wp-block-image .components-button {
|
|
@@ -281,10 +281,20 @@
|
|
|
281
281
|
bottom: 0;
|
|
282
282
|
right: 0;
|
|
283
283
|
pointer-events: none;
|
|
284
|
-
border: 1px dashed currentColor;
|
|
285
284
|
border-radius: 2px;
|
|
286
285
|
border-radius: inherit;
|
|
287
286
|
}
|
|
287
|
+
.wp-block-navigation-placeholder__preview::before::before {
|
|
288
|
+
content: "";
|
|
289
|
+
position: absolute;
|
|
290
|
+
top: 0;
|
|
291
|
+
left: 0;
|
|
292
|
+
bottom: 0;
|
|
293
|
+
right: 0;
|
|
294
|
+
pointer-events: none;
|
|
295
|
+
background: currentColor;
|
|
296
|
+
opacity: 0.1;
|
|
297
|
+
}
|
|
288
298
|
.wp-block-navigation-placeholder__preview > svg {
|
|
289
299
|
fill: currentColor;
|
|
290
300
|
}
|
|
@@ -281,10 +281,20 @@
|
|
|
281
281
|
bottom: 0;
|
|
282
282
|
left: 0;
|
|
283
283
|
pointer-events: none;
|
|
284
|
-
border: 1px dashed currentColor;
|
|
285
284
|
border-radius: 2px;
|
|
286
285
|
border-radius: inherit;
|
|
287
286
|
}
|
|
287
|
+
.wp-block-navigation-placeholder__preview::before::before {
|
|
288
|
+
content: "";
|
|
289
|
+
position: absolute;
|
|
290
|
+
top: 0;
|
|
291
|
+
right: 0;
|
|
292
|
+
bottom: 0;
|
|
293
|
+
left: 0;
|
|
294
|
+
pointer-events: none;
|
|
295
|
+
background: currentColor;
|
|
296
|
+
opacity: 0.1;
|
|
297
|
+
}
|
|
288
298
|
.wp-block-navigation-placeholder__preview > svg {
|
|
289
299
|
fill: currentColor;
|
|
290
300
|
}
|
|
@@ -84,4 +84,20 @@
|
|
|
84
84
|
|
|
85
85
|
.block-editor-block-list__block[data-empty=true] + .block-editor-block-list__block[data-empty=true]:not([data-custom-placeholder=true]) [data-rich-text-placeholder] {
|
|
86
86
|
opacity: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.components-popover.wp-block-paragraph__drop-zone .components-popover__content {
|
|
90
|
+
border: none;
|
|
91
|
+
outline: none;
|
|
92
|
+
box-shadow: none;
|
|
93
|
+
}
|
|
94
|
+
.components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-backdrop {
|
|
95
|
+
position: absolute;
|
|
96
|
+
}
|
|
97
|
+
.components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-foreground {
|
|
98
|
+
position: absolute;
|
|
99
|
+
inset: 0;
|
|
100
|
+
pointer-events: none;
|
|
101
|
+
background-color: var(--wp-admin-theme-color);
|
|
102
|
+
border-radius: 2px;
|
|
87
103
|
}
|
|
@@ -84,4 +84,20 @@
|
|
|
84
84
|
|
|
85
85
|
.block-editor-block-list__block[data-empty=true] + .block-editor-block-list__block[data-empty=true]:not([data-custom-placeholder=true]) [data-rich-text-placeholder] {
|
|
86
86
|
opacity: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.components-popover.wp-block-paragraph__drop-zone .components-popover__content {
|
|
90
|
+
border: none;
|
|
91
|
+
outline: none;
|
|
92
|
+
box-shadow: none;
|
|
93
|
+
}
|
|
94
|
+
.components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-backdrop {
|
|
95
|
+
position: absolute;
|
|
96
|
+
}
|
|
97
|
+
.components-popover.wp-block-paragraph__drop-zone .wp-block-paragraph__drop-zone-foreground {
|
|
98
|
+
position: absolute;
|
|
99
|
+
inset: 0;
|
|
100
|
+
pointer-events: none;
|
|
101
|
+
background-color: var(--wp-admin-theme-color);
|
|
102
|
+
border-radius: 2px;
|
|
87
103
|
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Colors
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Breakpoints & Media Queries
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* SCSS Variables.
|
|
9
|
+
*
|
|
10
|
+
* Please use variables from this sheet to ensure consistency across the UI.
|
|
11
|
+
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
12
|
+
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Colors
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Fonts & basic variables.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Grid System.
|
|
22
|
+
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
23
|
+
*/
|
|
24
|
+
/**
|
|
25
|
+
* Dimensions.
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* Shadows.
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* Editor widths.
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* Block & Editor UI.
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* Block paddings.
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* React Native specific.
|
|
41
|
+
* These variables do not appear to be used anywhere else.
|
|
42
|
+
*/
|
|
43
|
+
/**
|
|
44
|
+
* Converts a hex value into the rgb equivalent.
|
|
45
|
+
*
|
|
46
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
47
|
+
* @return {string} comma separated rgb values
|
|
48
|
+
*/
|
|
49
|
+
/**
|
|
50
|
+
* Breakpoint mixins
|
|
51
|
+
*/
|
|
52
|
+
/**
|
|
53
|
+
* Long content fade mixin
|
|
54
|
+
*
|
|
55
|
+
* Creates a fading overlay to signify that the content is longer
|
|
56
|
+
* than the space allows.
|
|
57
|
+
*/
|
|
58
|
+
/**
|
|
59
|
+
* Focus styles.
|
|
60
|
+
*/
|
|
61
|
+
/**
|
|
62
|
+
* Applies editor left position to the selector passed as argument
|
|
63
|
+
*/
|
|
64
|
+
/**
|
|
65
|
+
* Styles that are reused verbatim in a few places
|
|
66
|
+
*/
|
|
67
|
+
/**
|
|
68
|
+
* Allows users to opt-out of animations via OS-level preferences.
|
|
69
|
+
*/
|
|
70
|
+
/**
|
|
71
|
+
* Reset default styles for JavaScript UI based pages.
|
|
72
|
+
* This is a WP-admin agnostic reset
|
|
73
|
+
*/
|
|
74
|
+
/**
|
|
75
|
+
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
76
|
+
*/
|
|
77
|
+
.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous {
|
|
78
|
+
display: inline-block;
|
|
79
|
+
margin-left: 1ch;
|
|
80
|
+
}
|
|
81
|
+
.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous:not(.is-arrow-chevron) {
|
|
82
|
+
transform: scaleX(-1);;
|
|
83
|
+
}
|
|
84
|
+
.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next {
|
|
85
|
+
display: inline-block;
|
|
86
|
+
margin-right: 1ch;
|
|
87
|
+
}
|
|
88
|
+
.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next:not(.is-arrow-chevron) {
|
|
89
|
+
transform: scaleX(-1);;
|
|
90
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Colors
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Breakpoints & Media Queries
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* SCSS Variables.
|
|
9
|
+
*
|
|
10
|
+
* Please use variables from this sheet to ensure consistency across the UI.
|
|
11
|
+
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
12
|
+
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Colors
|
|
16
|
+
*/
|
|
17
|
+
/**
|
|
18
|
+
* Fonts & basic variables.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Grid System.
|
|
22
|
+
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
23
|
+
*/
|
|
24
|
+
/**
|
|
25
|
+
* Dimensions.
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* Shadows.
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* Editor widths.
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* Block & Editor UI.
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* Block paddings.
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* React Native specific.
|
|
41
|
+
* These variables do not appear to be used anywhere else.
|
|
42
|
+
*/
|
|
43
|
+
/**
|
|
44
|
+
* Converts a hex value into the rgb equivalent.
|
|
45
|
+
*
|
|
46
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
47
|
+
* @return {string} comma separated rgb values
|
|
48
|
+
*/
|
|
49
|
+
/**
|
|
50
|
+
* Breakpoint mixins
|
|
51
|
+
*/
|
|
52
|
+
/**
|
|
53
|
+
* Long content fade mixin
|
|
54
|
+
*
|
|
55
|
+
* Creates a fading overlay to signify that the content is longer
|
|
56
|
+
* than the space allows.
|
|
57
|
+
*/
|
|
58
|
+
/**
|
|
59
|
+
* Focus styles.
|
|
60
|
+
*/
|
|
61
|
+
/**
|
|
62
|
+
* Applies editor left position to the selector passed as argument
|
|
63
|
+
*/
|
|
64
|
+
/**
|
|
65
|
+
* Styles that are reused verbatim in a few places
|
|
66
|
+
*/
|
|
67
|
+
/**
|
|
68
|
+
* Allows users to opt-out of animations via OS-level preferences.
|
|
69
|
+
*/
|
|
70
|
+
/**
|
|
71
|
+
* Reset default styles for JavaScript UI based pages.
|
|
72
|
+
* This is a WP-admin agnostic reset
|
|
73
|
+
*/
|
|
74
|
+
/**
|
|
75
|
+
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
76
|
+
*/
|
|
77
|
+
.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous {
|
|
78
|
+
display: inline-block;
|
|
79
|
+
margin-right: 1ch;
|
|
80
|
+
}
|
|
81
|
+
.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous:not(.is-arrow-chevron) {
|
|
82
|
+
transform: scaleX(1) /*rtl:scaleX(-1);*/;
|
|
83
|
+
}
|
|
84
|
+
.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next {
|
|
85
|
+
display: inline-block;
|
|
86
|
+
margin-left: 1ch;
|
|
87
|
+
}
|
|
88
|
+
.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next:not(.is-arrow-chevron) {
|
|
89
|
+
transform: scaleX(1) /*rtl:scaleX(-1);*/;
|
|
90
|
+
}
|
|
@@ -244,27 +244,36 @@
|
|
|
244
244
|
text-align: center;
|
|
245
245
|
}
|
|
246
246
|
.wp-block-calendar th,
|
|
247
|
-
.wp-block-calendar
|
|
247
|
+
.wp-block-calendar td {
|
|
248
248
|
padding: 0.25em;
|
|
249
|
-
border: 1px solid
|
|
249
|
+
border: 1px solid;
|
|
250
250
|
}
|
|
251
|
-
.wp-block-calendar
|
|
252
|
-
|
|
251
|
+
.wp-block-calendar th {
|
|
252
|
+
font-weight: 400;
|
|
253
|
+
}
|
|
254
|
+
.wp-block-calendar caption {
|
|
255
|
+
background-color: inherit;
|
|
253
256
|
}
|
|
254
257
|
.wp-block-calendar table {
|
|
255
258
|
width: 100%;
|
|
256
259
|
border-collapse: collapse;
|
|
257
260
|
}
|
|
258
|
-
.wp-block-calendar table
|
|
259
|
-
|
|
260
|
-
background: #ddd;
|
|
261
|
+
.wp-block-calendar table:where(:not(.has-text-color)) {
|
|
262
|
+
color: #40464d;
|
|
261
263
|
}
|
|
262
|
-
.wp-block-calendar
|
|
263
|
-
|
|
264
|
+
.wp-block-calendar table:where(:not(.has-text-color)) th,
|
|
265
|
+
.wp-block-calendar table:where(:not(.has-text-color)) td {
|
|
266
|
+
border-color: #ddd;
|
|
264
267
|
}
|
|
265
|
-
.wp-block-calendar table
|
|
266
|
-
|
|
267
|
-
|
|
268
|
+
.wp-block-calendar table.has-background th {
|
|
269
|
+
background-color: inherit;
|
|
270
|
+
}
|
|
271
|
+
.wp-block-calendar table.has-text-color th {
|
|
272
|
+
color: inherit;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
:where(.wp-block-calendar table:not(.has-background) th) {
|
|
276
|
+
background: #ddd;
|
|
268
277
|
}
|
|
269
278
|
|
|
270
279
|
.wp-block-categories {
|
|
@@ -2438,6 +2447,21 @@ p.has-background {
|
|
|
2438
2447
|
opacity: 1;
|
|
2439
2448
|
}
|
|
2440
2449
|
|
|
2450
|
+
.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous {
|
|
2451
|
+
display: inline-block;
|
|
2452
|
+
margin-left: 1ch;
|
|
2453
|
+
}
|
|
2454
|
+
.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous:not(.is-arrow-chevron) {
|
|
2455
|
+
transform: scaleX(-1);;
|
|
2456
|
+
}
|
|
2457
|
+
.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next {
|
|
2458
|
+
display: inline-block;
|
|
2459
|
+
margin-right: 1ch;
|
|
2460
|
+
}
|
|
2461
|
+
.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next:not(.is-arrow-chevron) {
|
|
2462
|
+
transform: scaleX(-1);;
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2441
2465
|
.wp-block-post-terms__separator {
|
|
2442
2466
|
white-space: pre-wrap;
|
|
2443
2467
|
}
|
package/build-style/style.css
CHANGED
|
@@ -245,27 +245,36 @@
|
|
|
245
245
|
text-align: center;
|
|
246
246
|
}
|
|
247
247
|
.wp-block-calendar th,
|
|
248
|
-
.wp-block-calendar
|
|
248
|
+
.wp-block-calendar td {
|
|
249
249
|
padding: 0.25em;
|
|
250
|
-
border: 1px solid
|
|
250
|
+
border: 1px solid;
|
|
251
251
|
}
|
|
252
|
-
.wp-block-calendar
|
|
253
|
-
|
|
252
|
+
.wp-block-calendar th {
|
|
253
|
+
font-weight: 400;
|
|
254
|
+
}
|
|
255
|
+
.wp-block-calendar caption {
|
|
256
|
+
background-color: inherit;
|
|
254
257
|
}
|
|
255
258
|
.wp-block-calendar table {
|
|
256
259
|
width: 100%;
|
|
257
260
|
border-collapse: collapse;
|
|
258
261
|
}
|
|
259
|
-
.wp-block-calendar table
|
|
260
|
-
|
|
261
|
-
background: #ddd;
|
|
262
|
+
.wp-block-calendar table:where(:not(.has-text-color)) {
|
|
263
|
+
color: #40464d;
|
|
262
264
|
}
|
|
263
|
-
.wp-block-calendar
|
|
264
|
-
|
|
265
|
+
.wp-block-calendar table:where(:not(.has-text-color)) th,
|
|
266
|
+
.wp-block-calendar table:where(:not(.has-text-color)) td {
|
|
267
|
+
border-color: #ddd;
|
|
265
268
|
}
|
|
266
|
-
.wp-block-calendar table
|
|
267
|
-
|
|
268
|
-
|
|
269
|
+
.wp-block-calendar table.has-background th {
|
|
270
|
+
background-color: inherit;
|
|
271
|
+
}
|
|
272
|
+
.wp-block-calendar table.has-text-color th {
|
|
273
|
+
color: inherit;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
:where(.wp-block-calendar table:not(.has-background) th) {
|
|
277
|
+
background: #ddd;
|
|
269
278
|
}
|
|
270
279
|
|
|
271
280
|
.wp-block-categories {
|
|
@@ -2466,6 +2475,21 @@ p.has-background {
|
|
|
2466
2475
|
opacity: 1;
|
|
2467
2476
|
}
|
|
2468
2477
|
|
|
2478
|
+
.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous {
|
|
2479
|
+
display: inline-block;
|
|
2480
|
+
margin-right: 1ch;
|
|
2481
|
+
}
|
|
2482
|
+
.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-previous:not(.is-arrow-chevron) {
|
|
2483
|
+
transform: scaleX(1) /*rtl:scaleX(-1);*/;
|
|
2484
|
+
}
|
|
2485
|
+
.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next {
|
|
2486
|
+
display: inline-block;
|
|
2487
|
+
margin-left: 1ch;
|
|
2488
|
+
}
|
|
2489
|
+
.wp-block-post-navigation-link .wp-block-post-navigation-link__arrow-next:not(.is-arrow-chevron) {
|
|
2490
|
+
transform: scaleX(1) /*rtl:scaleX(-1);*/;
|
|
2491
|
+
}
|
|
2492
|
+
|
|
2469
2493
|
.wp-block-post-terms__separator {
|
|
2470
2494
|
white-space: pre-wrap;
|
|
2471
2495
|
}
|