@wordpress/edit-site 6.29.1-next.f34ab90e9.0 → 6.30.1-next.6870dfe5b.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/components/global-styles/font-library-modal/context.js +1 -0
- package/build/components/global-styles/font-library-modal/context.js.map +1 -1
- package/build/components/global-styles/screen-root.js +1 -7
- package/build/components/global-styles/screen-root.js.map +1 -1
- package/build/components/global-styles/screen-style-variations.js +0 -8
- package/build/components/global-styles/screen-style-variations.js.map +1 -1
- package/build/components/post-list/index.js +1 -4
- package/build/components/post-list/index.js.map +1 -1
- package/build/components/sidebar/index.js +2 -0
- package/build/components/sidebar/index.js.map +1 -1
- package/build-module/components/global-styles/font-library-modal/context.js +1 -0
- package/build-module/components/global-styles/font-library-modal/context.js.map +1 -1
- package/build-module/components/global-styles/screen-root.js +1 -7
- package/build-module/components/global-styles/screen-root.js.map +1 -1
- package/build-module/components/global-styles/screen-style-variations.js +1 -9
- package/build-module/components/global-styles/screen-style-variations.js.map +1 -1
- package/build-module/components/post-list/index.js +1 -4
- package/build-module/components/post-list/index.js.map +1 -1
- package/build-module/components/sidebar/index.js +2 -0
- package/build-module/components/sidebar/index.js.map +1 -1
- package/build-style/posts-rtl.css +257 -17
- package/build-style/posts.css +257 -17
- package/build-style/style-rtl.css +257 -17
- package/build-style/style.css +257 -17
- package/package.json +41 -41
- package/src/components/global-styles/font-library-modal/context.js +1 -0
- package/src/components/global-styles/screen-root.js +1 -7
- package/src/components/global-styles/screen-style-variations.js +1 -7
- package/src/components/layout/style.scss +4 -4
- package/src/components/post-list/index.js +1 -2
- package/src/components/sidebar/index.js +2 -0
- package/tsconfig.tsbuildinfo +1 -1
package/build-style/style.css
CHANGED
|
@@ -238,7 +238,8 @@
|
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
240
|
|
|
241
|
-
.dataviews-wrapper
|
|
241
|
+
.dataviews-wrapper,
|
|
242
|
+
.dataviews-picker-wrapper {
|
|
242
243
|
height: 100%;
|
|
243
244
|
overflow: auto;
|
|
244
245
|
box-sizing: border-box;
|
|
@@ -351,7 +352,8 @@
|
|
|
351
352
|
/**
|
|
352
353
|
* Applying a consistent 24px padding when DataViews are placed within cards.
|
|
353
354
|
*/
|
|
354
|
-
.components-card__body:has(> .dataviews-wrapper)
|
|
355
|
+
.components-card__body:has(> .dataviews-wrapper),
|
|
356
|
+
.components-card__body:has(> .dataviews-picker-wrapper) {
|
|
355
357
|
padding: 8px 0 0;
|
|
356
358
|
overflow: hidden;
|
|
357
359
|
}
|
|
@@ -360,15 +362,25 @@
|
|
|
360
362
|
.components-card__body:has(> .dataviews-wrapper) .dataviews-footer,
|
|
361
363
|
.components-card__body:has(> .dataviews-wrapper) .dataviews-view-grid,
|
|
362
364
|
.components-card__body:has(> .dataviews-wrapper) .dataviews-loading,
|
|
363
|
-
.components-card__body:has(> .dataviews-wrapper) .dataviews-no-results
|
|
365
|
+
.components-card__body:has(> .dataviews-wrapper) .dataviews-no-results,
|
|
366
|
+
.components-card__body:has(> .dataviews-picker-wrapper) .dataviews__view-actions,
|
|
367
|
+
.components-card__body:has(> .dataviews-picker-wrapper) .dataviews-filters__container,
|
|
368
|
+
.components-card__body:has(> .dataviews-picker-wrapper) .dataviews-footer,
|
|
369
|
+
.components-card__body:has(> .dataviews-picker-wrapper) .dataviews-view-grid,
|
|
370
|
+
.components-card__body:has(> .dataviews-picker-wrapper) .dataviews-loading,
|
|
371
|
+
.components-card__body:has(> .dataviews-picker-wrapper) .dataviews-no-results {
|
|
364
372
|
padding-inline: 24px;
|
|
365
373
|
}
|
|
366
374
|
.components-card__body:has(> .dataviews-wrapper) .dataviews-view-table tr td:first-child,
|
|
367
|
-
.components-card__body:has(> .dataviews-wrapper) .dataviews-view-table tr th:first-child
|
|
375
|
+
.components-card__body:has(> .dataviews-wrapper) .dataviews-view-table tr th:first-child,
|
|
376
|
+
.components-card__body:has(> .dataviews-picker-wrapper) .dataviews-view-table tr td:first-child,
|
|
377
|
+
.components-card__body:has(> .dataviews-picker-wrapper) .dataviews-view-table tr th:first-child {
|
|
368
378
|
padding-inline-start: 24px;
|
|
369
379
|
}
|
|
370
380
|
.components-card__body:has(> .dataviews-wrapper) .dataviews-view-table tr td:last-child,
|
|
371
|
-
.components-card__body:has(> .dataviews-wrapper) .dataviews-view-table tr th:last-child
|
|
381
|
+
.components-card__body:has(> .dataviews-wrapper) .dataviews-view-table tr th:last-child,
|
|
382
|
+
.components-card__body:has(> .dataviews-picker-wrapper) .dataviews-view-table tr td:last-child,
|
|
383
|
+
.components-card__body:has(> .dataviews-picker-wrapper) .dataviews-view-table tr th:last-child {
|
|
372
384
|
padding-inline-end: 24px;
|
|
373
385
|
}
|
|
374
386
|
|
|
@@ -941,6 +953,15 @@
|
|
|
941
953
|
z-index: 1000001;
|
|
942
954
|
}
|
|
943
955
|
|
|
956
|
+
.dataviews-picker-footer__bulk-selection {
|
|
957
|
+
align-self: flex-start;
|
|
958
|
+
height: 32px;
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
.dataviews-picker-footer__actions {
|
|
962
|
+
align-self: flex-end;
|
|
963
|
+
}
|
|
964
|
+
|
|
944
965
|
.dataviews-selection-checkbox {
|
|
945
966
|
--checkbox-input-size: 24px;
|
|
946
967
|
line-height: 0;
|
|
@@ -1052,7 +1073,7 @@
|
|
|
1052
1073
|
color: #757575;
|
|
1053
1074
|
}
|
|
1054
1075
|
|
|
1055
|
-
.dataviews-view-grid {
|
|
1076
|
+
.dataviews-view-grid-items {
|
|
1056
1077
|
margin-bottom: auto;
|
|
1057
1078
|
display: grid;
|
|
1058
1079
|
gap: 32px;
|
|
@@ -1061,21 +1082,22 @@
|
|
|
1061
1082
|
padding: 0 48px 24px;
|
|
1062
1083
|
container-type: inline-size;
|
|
1063
1084
|
/**
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1085
|
+
* Breakpoints were adjusted from media queries breakpoints to account for
|
|
1086
|
+
* the sidebar width. This was done to match the existing styles we had.
|
|
1087
|
+
*/
|
|
1067
1088
|
}
|
|
1068
|
-
@container (max-width:
|
|
1069
|
-
.dataviews-view-grid {
|
|
1089
|
+
@container (max-width: 430px) {
|
|
1090
|
+
.dataviews-view-grid-items {
|
|
1070
1091
|
padding-left: 24px;
|
|
1071
1092
|
padding-right: 24px;
|
|
1072
1093
|
}
|
|
1073
1094
|
}
|
|
1074
1095
|
@media not (prefers-reduced-motion) {
|
|
1075
|
-
.dataviews-view-grid {
|
|
1096
|
+
.dataviews-view-grid-items {
|
|
1076
1097
|
transition: padding ease-out 0.1s;
|
|
1077
1098
|
}
|
|
1078
1099
|
}
|
|
1100
|
+
|
|
1079
1101
|
.dataviews-view-grid .dataviews-view-grid__card {
|
|
1080
1102
|
height: 100%;
|
|
1081
1103
|
justify-content: flex-start;
|
|
@@ -1175,9 +1197,16 @@
|
|
|
1175
1197
|
top: -9999em;
|
|
1176
1198
|
left: 8px;
|
|
1177
1199
|
z-index: 1;
|
|
1200
|
+
opacity: 0;
|
|
1201
|
+
}
|
|
1202
|
+
@media not (prefers-reduced-motion) {
|
|
1203
|
+
.dataviews-view-grid__card .dataviews-selection-checkbox {
|
|
1204
|
+
transition: opacity 0.1s linear;
|
|
1205
|
+
}
|
|
1178
1206
|
}
|
|
1179
1207
|
@media (hover: none) {
|
|
1180
1208
|
.dataviews-view-grid__card .dataviews-selection-checkbox {
|
|
1209
|
+
opacity: 1;
|
|
1181
1210
|
top: 8px;
|
|
1182
1211
|
}
|
|
1183
1212
|
}
|
|
@@ -1185,9 +1214,37 @@
|
|
|
1185
1214
|
.dataviews-view-grid__card:hover .dataviews-selection-checkbox,
|
|
1186
1215
|
.dataviews-view-grid__card:focus-within .dataviews-selection-checkbox,
|
|
1187
1216
|
.dataviews-view-grid__card.is-selected .dataviews-selection-checkbox {
|
|
1217
|
+
opacity: 1;
|
|
1188
1218
|
top: 8px;
|
|
1189
1219
|
}
|
|
1190
1220
|
|
|
1221
|
+
.dataviews-view-grid__card .dataviews-view-grid__media-actions {
|
|
1222
|
+
position: absolute;
|
|
1223
|
+
top: 4px;
|
|
1224
|
+
opacity: 0;
|
|
1225
|
+
right: 4px;
|
|
1226
|
+
}
|
|
1227
|
+
.dataviews-view-grid__card .dataviews-view-grid__media-actions .dataviews-all-actions-button {
|
|
1228
|
+
background-color: #fff;
|
|
1229
|
+
}
|
|
1230
|
+
@media not (prefers-reduced-motion) {
|
|
1231
|
+
.dataviews-view-grid__card .dataviews-view-grid__media-actions {
|
|
1232
|
+
transition: opacity 0.1s linear;
|
|
1233
|
+
}
|
|
1234
|
+
}
|
|
1235
|
+
@media (hover: none) {
|
|
1236
|
+
.dataviews-view-grid__card .dataviews-view-grid__media-actions {
|
|
1237
|
+
opacity: 1;
|
|
1238
|
+
top: 4px;
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
.dataviews-view-grid__card:hover .dataviews-view-grid__media-actions,
|
|
1243
|
+
.dataviews-view-grid__card:focus-within .dataviews-view-grid__media-actions,
|
|
1244
|
+
.dataviews-view-grid__card .dataviews-view-grid__media-actions:has(.dataviews-all-actions-button[aria-expanded=true]) {
|
|
1245
|
+
opacity: 1;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1191
1248
|
.dataviews-view-grid__media--clickable {
|
|
1192
1249
|
cursor: pointer;
|
|
1193
1250
|
}
|
|
@@ -1198,6 +1255,13 @@
|
|
|
1198
1255
|
color: #1e1e1e;
|
|
1199
1256
|
margin: 0 0 8px 0;
|
|
1200
1257
|
padding: 0 48px;
|
|
1258
|
+
container-type: inline-size;
|
|
1259
|
+
}
|
|
1260
|
+
@container (max-width: 430px) {
|
|
1261
|
+
.dataviews-view-grid__group-header {
|
|
1262
|
+
padding-left: 24px;
|
|
1263
|
+
padding-right: 24px;
|
|
1264
|
+
}
|
|
1201
1265
|
}
|
|
1202
1266
|
|
|
1203
1267
|
div.dataviews-view-list {
|
|
@@ -1632,6 +1696,167 @@ div.dataviews-view-list {
|
|
|
1632
1696
|
color: #1e1e1e;
|
|
1633
1697
|
}
|
|
1634
1698
|
|
|
1699
|
+
.dataviews-view-grid-items {
|
|
1700
|
+
margin-bottom: auto;
|
|
1701
|
+
display: grid;
|
|
1702
|
+
gap: 32px;
|
|
1703
|
+
grid-template-rows: max-content;
|
|
1704
|
+
grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
|
|
1705
|
+
padding: 0 48px 24px;
|
|
1706
|
+
container-type: inline-size;
|
|
1707
|
+
/**
|
|
1708
|
+
* Breakpoints were adjusted from media queries breakpoints to account for
|
|
1709
|
+
* the sidebar width. This was done to match the existing styles we had.
|
|
1710
|
+
*/
|
|
1711
|
+
}
|
|
1712
|
+
@container (max-width: 430px) {
|
|
1713
|
+
.dataviews-view-grid-items {
|
|
1714
|
+
padding-left: 24px;
|
|
1715
|
+
padding-right: 24px;
|
|
1716
|
+
}
|
|
1717
|
+
}
|
|
1718
|
+
@media not (prefers-reduced-motion) {
|
|
1719
|
+
.dataviews-view-grid-items {
|
|
1720
|
+
transition: padding ease-out 0.1s;
|
|
1721
|
+
}
|
|
1722
|
+
}
|
|
1723
|
+
|
|
1724
|
+
.dataviews-view-picker-grid .dataviews-view-picker-grid__card {
|
|
1725
|
+
height: 100%;
|
|
1726
|
+
justify-content: flex-start;
|
|
1727
|
+
position: relative;
|
|
1728
|
+
}
|
|
1729
|
+
.dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-actions {
|
|
1730
|
+
padding: 8px 0 4px;
|
|
1731
|
+
}
|
|
1732
|
+
.dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-field {
|
|
1733
|
+
min-height: 24px;
|
|
1734
|
+
display: flex;
|
|
1735
|
+
align-items: center;
|
|
1736
|
+
}
|
|
1737
|
+
.dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__title-field--clickable {
|
|
1738
|
+
width: fit-content;
|
|
1739
|
+
}
|
|
1740
|
+
.dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field .dataviews-view-picker-grid__field-value {
|
|
1741
|
+
color: #1e1e1e;
|
|
1742
|
+
}
|
|
1743
|
+
.dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__media::after,
|
|
1744
|
+
.dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__media:focus::after {
|
|
1745
|
+
background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
|
|
1746
|
+
}
|
|
1747
|
+
.dataviews-view-picker-grid .dataviews-view-picker-grid__card.is-selected .dataviews-view-picker-grid__media::after {
|
|
1748
|
+
box-shadow: inset 0 0 0 1px var(--wp-admin-theme-color);
|
|
1749
|
+
}
|
|
1750
|
+
.dataviews-view-picker-grid .dataviews-view-picker-grid__card .dataviews-view-picker-grid__media:focus::after {
|
|
1751
|
+
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
1752
|
+
}
|
|
1753
|
+
.dataviews-view-picker-grid:focus-visible[aria-activedescendant] {
|
|
1754
|
+
outline: none;
|
|
1755
|
+
}
|
|
1756
|
+
.dataviews-view-picker-grid:focus-visible [data-active-item=true] {
|
|
1757
|
+
outline: 2px solid var(--wp-admin-theme-color);
|
|
1758
|
+
}
|
|
1759
|
+
.dataviews-view-picker-grid .dataviews-selection-checkbox {
|
|
1760
|
+
top: 8px !important;
|
|
1761
|
+
}
|
|
1762
|
+
.dataviews-view-picker-grid .dataviews-selection-checkbox input {
|
|
1763
|
+
pointer-events: none;
|
|
1764
|
+
}
|
|
1765
|
+
.dataviews-view-picker-grid .dataviews-view-picker-grid__media {
|
|
1766
|
+
width: 100%;
|
|
1767
|
+
aspect-ratio: 1/1;
|
|
1768
|
+
background-color: #fff;
|
|
1769
|
+
border-radius: 4px;
|
|
1770
|
+
position: relative;
|
|
1771
|
+
}
|
|
1772
|
+
.dataviews-view-picker-grid .dataviews-view-picker-grid__media img {
|
|
1773
|
+
object-fit: cover;
|
|
1774
|
+
width: 100%;
|
|
1775
|
+
height: 100%;
|
|
1776
|
+
}
|
|
1777
|
+
.dataviews-view-picker-grid .dataviews-view-picker-grid__media::after {
|
|
1778
|
+
content: "";
|
|
1779
|
+
position: absolute;
|
|
1780
|
+
top: 0;
|
|
1781
|
+
left: 0;
|
|
1782
|
+
width: 100%;
|
|
1783
|
+
height: 100%;
|
|
1784
|
+
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
|
|
1785
|
+
border-radius: 4px;
|
|
1786
|
+
pointer-events: none;
|
|
1787
|
+
}
|
|
1788
|
+
.dataviews-view-picker-grid .dataviews-view-picker-grid__fields {
|
|
1789
|
+
position: relative;
|
|
1790
|
+
font-size: 12px;
|
|
1791
|
+
line-height: 16px;
|
|
1792
|
+
}
|
|
1793
|
+
.dataviews-view-picker-grid .dataviews-view-picker-grid__fields:not(:empty) {
|
|
1794
|
+
padding: 0 0 12px;
|
|
1795
|
+
}
|
|
1796
|
+
.dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field-value:not(:empty) {
|
|
1797
|
+
min-height: 24px;
|
|
1798
|
+
line-height: 20px;
|
|
1799
|
+
padding-top: 2px;
|
|
1800
|
+
}
|
|
1801
|
+
.dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field {
|
|
1802
|
+
min-height: 24px;
|
|
1803
|
+
align-items: center;
|
|
1804
|
+
}
|
|
1805
|
+
.dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field .dataviews-view-picker-grid__field-name {
|
|
1806
|
+
width: 35%;
|
|
1807
|
+
color: #757575;
|
|
1808
|
+
overflow: hidden;
|
|
1809
|
+
text-overflow: ellipsis;
|
|
1810
|
+
white-space: nowrap;
|
|
1811
|
+
}
|
|
1812
|
+
.dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field .dataviews-view-picker-grid__field-value {
|
|
1813
|
+
width: 65%;
|
|
1814
|
+
overflow: hidden;
|
|
1815
|
+
text-overflow: ellipsis;
|
|
1816
|
+
white-space: nowrap;
|
|
1817
|
+
}
|
|
1818
|
+
.dataviews-view-picker-grid .dataviews-view-picker-grid__fields .dataviews-view-picker-grid__field:not(:has(.dataviews-view-picker-grid__field-value:not(:empty))) {
|
|
1819
|
+
display: none;
|
|
1820
|
+
}
|
|
1821
|
+
.dataviews-view-picker-grid .dataviews-view-picker-grid__badge-fields:not(:empty) {
|
|
1822
|
+
padding-bottom: 12px;
|
|
1823
|
+
}
|
|
1824
|
+
|
|
1825
|
+
.dataviews-view-picker-grid__field-value:empty,
|
|
1826
|
+
.dataviews-view-picker-grid__field:empty {
|
|
1827
|
+
display: none;
|
|
1828
|
+
}
|
|
1829
|
+
|
|
1830
|
+
.dataviews-view-picker-grid__card .dataviews-selection-checkbox {
|
|
1831
|
+
position: absolute;
|
|
1832
|
+
top: -9999em;
|
|
1833
|
+
left: 8px;
|
|
1834
|
+
z-index: 1;
|
|
1835
|
+
}
|
|
1836
|
+
@media (hover: none) {
|
|
1837
|
+
.dataviews-view-picker-grid__card .dataviews-selection-checkbox {
|
|
1838
|
+
top: 8px;
|
|
1839
|
+
}
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
.dataviews-view-picker-grid__card:hover .dataviews-selection-checkbox,
|
|
1843
|
+
.dataviews-view-picker-grid__card:focus-within .dataviews-selection-checkbox,
|
|
1844
|
+
.dataviews-view-picker-grid__card.is-selected .dataviews-selection-checkbox {
|
|
1845
|
+
top: 8px;
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
.dataviews-view-picker-grid__media--clickable {
|
|
1849
|
+
cursor: pointer;
|
|
1850
|
+
}
|
|
1851
|
+
|
|
1852
|
+
.dataviews-view-picker-grid-group__header {
|
|
1853
|
+
font-size: 15px;
|
|
1854
|
+
font-weight: 500;
|
|
1855
|
+
color: #1e1e1e;
|
|
1856
|
+
margin: 0 0 8px 0;
|
|
1857
|
+
padding: 0 48px;
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1635
1860
|
.dataviews-controls__datetime {
|
|
1636
1861
|
border: none;
|
|
1637
1862
|
padding: 0;
|
|
@@ -1746,6 +1971,21 @@ div.dataviews-view-list {
|
|
|
1746
1971
|
align-items: center;
|
|
1747
1972
|
}
|
|
1748
1973
|
|
|
1974
|
+
.dataforms-layouts-card__field {
|
|
1975
|
+
width: 100%;
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
.dataforms-layouts-card__field-description {
|
|
1979
|
+
color: #757575;
|
|
1980
|
+
display: block;
|
|
1981
|
+
font-size: 13px;
|
|
1982
|
+
margin-bottom: 16px;
|
|
1983
|
+
}
|
|
1984
|
+
|
|
1985
|
+
.dataforms-layouts-row__field-control {
|
|
1986
|
+
width: 100%;
|
|
1987
|
+
}
|
|
1988
|
+
|
|
1749
1989
|
.fields-create-template-part-modal {
|
|
1750
1990
|
z-index: 1000001;
|
|
1751
1991
|
}
|
|
@@ -3194,7 +3434,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3194
3434
|
top: 9px;
|
|
3195
3435
|
right: 9px;
|
|
3196
3436
|
bottom: 9px;
|
|
3197
|
-
left:
|
|
3437
|
+
left: 17px;
|
|
3198
3438
|
border-radius: 4px;
|
|
3199
3439
|
box-shadow: none;
|
|
3200
3440
|
}
|
|
@@ -3292,7 +3532,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3292
3532
|
contain: content;
|
|
3293
3533
|
}
|
|
3294
3534
|
|
|
3295
|
-
@keyframes
|
|
3535
|
+
@keyframes _1hvec_slide-from-right {
|
|
3296
3536
|
from {
|
|
3297
3537
|
transform: translateX(50px);
|
|
3298
3538
|
opacity: 0;
|
|
@@ -3302,7 +3542,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3302
3542
|
opacity: 1;
|
|
3303
3543
|
}
|
|
3304
3544
|
}
|
|
3305
|
-
@keyframes
|
|
3545
|
+
@keyframes _1hvec_slide-from-left {
|
|
3306
3546
|
from {
|
|
3307
3547
|
transform: translateX(-50px);
|
|
3308
3548
|
opacity: 0;
|
|
@@ -3358,10 +3598,10 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3358
3598
|
}
|
|
3359
3599
|
}
|
|
3360
3600
|
.edit-site-sidebar__screen-wrapper.slide-from-left {
|
|
3361
|
-
animation-name:
|
|
3601
|
+
animation-name: _1hvec_slide-from-left;
|
|
3362
3602
|
}
|
|
3363
3603
|
.edit-site-sidebar__screen-wrapper.slide-from-right {
|
|
3364
|
-
animation-name:
|
|
3604
|
+
animation-name: _1hvec_slide-from-right;
|
|
3365
3605
|
}
|
|
3366
3606
|
|
|
3367
3607
|
.edit-site-sidebar-button {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/edit-site",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.30.1-next.6870dfe5b.0",
|
|
4
4
|
"description": "Edit Site Page module for WordPress.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -30,45 +30,45 @@
|
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@babel/runtime": "7.25.7",
|
|
32
32
|
"@react-spring/web": "^9.4.5",
|
|
33
|
-
"@wordpress/a11y": "^4.
|
|
34
|
-
"@wordpress/api-fetch": "^7.
|
|
35
|
-
"@wordpress/blob": "^4.
|
|
36
|
-
"@wordpress/block-editor": "^15.
|
|
37
|
-
"@wordpress/block-library": "^9.
|
|
38
|
-
"@wordpress/blocks": "^15.
|
|
39
|
-
"@wordpress/commands": "^1.
|
|
40
|
-
"@wordpress/components": "^30.2
|
|
41
|
-
"@wordpress/compose": "^7.
|
|
42
|
-
"@wordpress/core-data": "^7.
|
|
43
|
-
"@wordpress/data": "^10.
|
|
44
|
-
"@wordpress/dataviews": "^
|
|
45
|
-
"@wordpress/date": "^5.
|
|
46
|
-
"@wordpress/deprecated": "^4.
|
|
47
|
-
"@wordpress/dom": "^4.
|
|
48
|
-
"@wordpress/editor": "^14.
|
|
49
|
-
"@wordpress/element": "^6.
|
|
50
|
-
"@wordpress/escape-html": "^3.
|
|
51
|
-
"@wordpress/fields": "^0.
|
|
52
|
-
"@wordpress/hooks": "^4.
|
|
53
|
-
"@wordpress/html-entities": "^4.
|
|
54
|
-
"@wordpress/i18n": "^6.
|
|
55
|
-
"@wordpress/icons": "^10.
|
|
56
|
-
"@wordpress/keyboard-shortcuts": "^5.
|
|
57
|
-
"@wordpress/keycodes": "^4.
|
|
58
|
-
"@wordpress/media-utils": "^5.
|
|
59
|
-
"@wordpress/notices": "^5.
|
|
60
|
-
"@wordpress/patterns": "^2.
|
|
61
|
-
"@wordpress/plugins": "^7.
|
|
62
|
-
"@wordpress/preferences": "^4.
|
|
63
|
-
"@wordpress/primitives": "^4.
|
|
64
|
-
"@wordpress/private-apis": "^1.
|
|
65
|
-
"@wordpress/reusable-blocks": "^5.
|
|
66
|
-
"@wordpress/router": "^1.
|
|
67
|
-
"@wordpress/style-engine": "^2.
|
|
68
|
-
"@wordpress/url": "^4.
|
|
69
|
-
"@wordpress/viewport": "^6.
|
|
70
|
-
"@wordpress/widgets": "^4.
|
|
71
|
-
"@wordpress/wordcount": "^4.
|
|
33
|
+
"@wordpress/a11y": "^4.30.1-next.6870dfe5b.0",
|
|
34
|
+
"@wordpress/api-fetch": "^7.30.1-next.6870dfe5b.0",
|
|
35
|
+
"@wordpress/blob": "^4.30.1-next.6870dfe5b.0",
|
|
36
|
+
"@wordpress/block-editor": "^15.3.1-next.6870dfe5b.0",
|
|
37
|
+
"@wordpress/block-library": "^9.30.1-next.6870dfe5b.0",
|
|
38
|
+
"@wordpress/blocks": "^15.3.1-next.6870dfe5b.0",
|
|
39
|
+
"@wordpress/commands": "^1.30.1-next.6870dfe5b.0",
|
|
40
|
+
"@wordpress/components": "^30.3.2-next.6870dfe5b.0",
|
|
41
|
+
"@wordpress/compose": "^7.30.1-next.6870dfe5b.0",
|
|
42
|
+
"@wordpress/core-data": "^7.30.1-next.6870dfe5b.0",
|
|
43
|
+
"@wordpress/data": "^10.30.1-next.6870dfe5b.0",
|
|
44
|
+
"@wordpress/dataviews": "^9.0.1-next.6870dfe5b.0",
|
|
45
|
+
"@wordpress/date": "^5.30.1-next.6870dfe5b.0",
|
|
46
|
+
"@wordpress/deprecated": "^4.30.1-next.6870dfe5b.0",
|
|
47
|
+
"@wordpress/dom": "^4.30.1-next.6870dfe5b.0",
|
|
48
|
+
"@wordpress/editor": "^14.30.1-next.6870dfe5b.0",
|
|
49
|
+
"@wordpress/element": "^6.30.1-next.6870dfe5b.0",
|
|
50
|
+
"@wordpress/escape-html": "^3.30.1-next.6870dfe5b.0",
|
|
51
|
+
"@wordpress/fields": "^0.22.1-next.6870dfe5b.0",
|
|
52
|
+
"@wordpress/hooks": "^4.30.1-next.6870dfe5b.0",
|
|
53
|
+
"@wordpress/html-entities": "^4.30.1-next.6870dfe5b.0",
|
|
54
|
+
"@wordpress/i18n": "^6.3.1-next.6870dfe5b.0",
|
|
55
|
+
"@wordpress/icons": "^10.30.1-next.6870dfe5b.0",
|
|
56
|
+
"@wordpress/keyboard-shortcuts": "^5.30.1-next.6870dfe5b.0",
|
|
57
|
+
"@wordpress/keycodes": "^4.30.1-next.6870dfe5b.0",
|
|
58
|
+
"@wordpress/media-utils": "^5.30.1-next.6870dfe5b.0",
|
|
59
|
+
"@wordpress/notices": "^5.30.1-next.6870dfe5b.0",
|
|
60
|
+
"@wordpress/patterns": "^2.30.1-next.6870dfe5b.0",
|
|
61
|
+
"@wordpress/plugins": "^7.30.1-next.6870dfe5b.0",
|
|
62
|
+
"@wordpress/preferences": "^4.30.1-next.6870dfe5b.0",
|
|
63
|
+
"@wordpress/primitives": "^4.30.1-next.6870dfe5b.0",
|
|
64
|
+
"@wordpress/private-apis": "^1.30.1-next.6870dfe5b.0",
|
|
65
|
+
"@wordpress/reusable-blocks": "^5.30.1-next.6870dfe5b.0",
|
|
66
|
+
"@wordpress/router": "^1.30.1-next.6870dfe5b.0",
|
|
67
|
+
"@wordpress/style-engine": "^2.30.1-next.6870dfe5b.0",
|
|
68
|
+
"@wordpress/url": "^4.30.1-next.6870dfe5b.0",
|
|
69
|
+
"@wordpress/viewport": "^6.30.1-next.6870dfe5b.0",
|
|
70
|
+
"@wordpress/widgets": "^4.30.1-next.6870dfe5b.0",
|
|
71
|
+
"@wordpress/wordcount": "^4.30.1-next.6870dfe5b.0",
|
|
72
72
|
"change-case": "^4.1.2",
|
|
73
73
|
"clsx": "^2.1.1",
|
|
74
74
|
"colord": "^2.9.2",
|
|
@@ -83,5 +83,5 @@
|
|
|
83
83
|
"publishConfig": {
|
|
84
84
|
"access": "public"
|
|
85
85
|
},
|
|
86
|
-
"gitHead": "
|
|
86
|
+
"gitHead": "c8637da9df499cd7b6b07c9fad918f6d45f4de3d"
|
|
87
87
|
}
|
|
@@ -38,6 +38,7 @@ import { toggleFont } from './utils/toggleFont';
|
|
|
38
38
|
import setNestedValue from '../../../utils/set-nested-value';
|
|
39
39
|
|
|
40
40
|
export const FontLibraryContext = createContext( {} );
|
|
41
|
+
FontLibraryContext.displayName = 'FontLibraryContext';
|
|
41
42
|
|
|
42
43
|
function FontLibraryProvider( { children } ) {
|
|
43
44
|
const { saveEntityRecord } = useDispatch( coreStore );
|
|
@@ -16,7 +16,6 @@ import { isRTL, __ } from '@wordpress/i18n';
|
|
|
16
16
|
import { chevronLeft, chevronRight } from '@wordpress/icons';
|
|
17
17
|
import { useSelect } from '@wordpress/data';
|
|
18
18
|
import { store as coreStore } from '@wordpress/core-data';
|
|
19
|
-
import { privateApis as blockEditorPrivateApis } from '@wordpress/block-editor';
|
|
20
19
|
|
|
21
20
|
/**
|
|
22
21
|
* Internal dependencies
|
|
@@ -25,13 +24,8 @@ import { IconWithCurrentColor } from './icon-with-current-color';
|
|
|
25
24
|
import { NavigationButtonAsItem } from './navigation-button';
|
|
26
25
|
import RootMenu from './root-menu';
|
|
27
26
|
import PreviewStyles from './preview-styles';
|
|
28
|
-
import { unlock } from '../../lock-unlock';
|
|
29
|
-
|
|
30
|
-
const { useGlobalStyle } = unlock( blockEditorPrivateApis );
|
|
31
27
|
|
|
32
28
|
function ScreenRoot() {
|
|
33
|
-
const [ customCSS ] = useGlobalStyle( 'css' );
|
|
34
|
-
|
|
35
29
|
const { hasVariations, canEditCSS } = useSelect( ( select ) => {
|
|
36
30
|
const {
|
|
37
31
|
getEntityRecord,
|
|
@@ -116,7 +110,7 @@ function ScreenRoot() {
|
|
|
116
110
|
</ItemGroup>
|
|
117
111
|
</CardBody>
|
|
118
112
|
|
|
119
|
-
{ canEditCSS &&
|
|
113
|
+
{ canEditCSS && (
|
|
120
114
|
<>
|
|
121
115
|
<CardDivider />
|
|
122
116
|
<CardBody>
|
|
@@ -6,10 +6,8 @@ import {
|
|
|
6
6
|
store as blockEditorStore,
|
|
7
7
|
} from '@wordpress/block-editor';
|
|
8
8
|
import { Card, CardBody } from '@wordpress/components';
|
|
9
|
-
import { useSelect
|
|
9
|
+
import { useSelect } from '@wordpress/data';
|
|
10
10
|
import { __ } from '@wordpress/i18n';
|
|
11
|
-
import { store as editorStore } from '@wordpress/editor';
|
|
12
|
-
import { useEffect } from '@wordpress/element';
|
|
13
11
|
|
|
14
12
|
/**
|
|
15
13
|
* Internal dependencies
|
|
@@ -27,11 +25,7 @@ function ScreenStyleVariations() {
|
|
|
27
25
|
const isPreviewMode = useSelect( ( select ) => {
|
|
28
26
|
return select( blockEditorStore ).getSettings().isPreviewMode;
|
|
29
27
|
}, [] );
|
|
30
|
-
const { setDeviceType } = useDispatch( editorStore );
|
|
31
28
|
useZoomOut( ! isPreviewMode );
|
|
32
|
-
useEffect( () => {
|
|
33
|
-
setDeviceType( 'desktop' );
|
|
34
|
-
}, [ setDeviceType ] );
|
|
35
29
|
|
|
36
30
|
return (
|
|
37
31
|
<>
|
|
@@ -207,10 +207,10 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
207
207
|
content: "";
|
|
208
208
|
display: block;
|
|
209
209
|
position: absolute;
|
|
210
|
-
top:
|
|
211
|
-
right:
|
|
212
|
-
bottom:
|
|
213
|
-
left:
|
|
210
|
+
top: $grid-unit-10 + $border-width;
|
|
211
|
+
right: $grid-unit-10 + $border-width;
|
|
212
|
+
bottom: $grid-unit-10 + $border-width;
|
|
213
|
+
left: $grid-unit-20 + $border-width;
|
|
214
214
|
border-radius: $radius-medium;
|
|
215
215
|
box-shadow: none;
|
|
216
216
|
|
|
@@ -200,7 +200,6 @@ function getItemLevel( item ) {
|
|
|
200
200
|
|
|
201
201
|
export default function PostList( { postType } ) {
|
|
202
202
|
const [ view, setView ] = useView( postType );
|
|
203
|
-
const defaultViews = useDefaultViews( { postType } );
|
|
204
203
|
const history = useHistory();
|
|
205
204
|
const location = useLocation();
|
|
206
205
|
const {
|
|
@@ -266,7 +265,7 @@ export default function PostList( { postType } ) {
|
|
|
266
265
|
search: view.search,
|
|
267
266
|
...filters,
|
|
268
267
|
};
|
|
269
|
-
}, [ view
|
|
268
|
+
}, [ view ] );
|
|
270
269
|
const {
|
|
271
270
|
records,
|
|
272
271
|
isResolving: isLoadingData,
|
|
@@ -16,6 +16,8 @@ import {
|
|
|
16
16
|
import { focus } from '@wordpress/dom';
|
|
17
17
|
|
|
18
18
|
export const SidebarNavigationContext = createContext( () => {} );
|
|
19
|
+
SidebarNavigationContext.displayName = 'SidebarNavigationContext';
|
|
20
|
+
|
|
19
21
|
// Focus a sidebar element after a navigation. The element to focus is either
|
|
20
22
|
// specified by `focusSelector` (when navigating back) or it is the first
|
|
21
23
|
// tabbable element (usually the "Back" button).
|