@wordpress/edit-site 6.41.1-next.v.202603102151.0 → 6.42.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/add-new-pattern/index.cjs +1 -0
- package/build/components/add-new-pattern/index.cjs.map +2 -2
- package/build/components/add-new-template/index.cjs +1 -0
- package/build/components/add-new-template/index.cjs.map +2 -2
- package/build/components/add-new-template-legacy/index.cjs +1 -0
- package/build/components/add-new-template-legacy/index.cjs.map +2 -2
- package/build/components/page-templates/view-utils.cjs +3 -2
- package/build/components/page-templates/view-utils.cjs.map +2 -2
- package/build/components/post-list/index.cjs +1 -0
- package/build/components/post-list/index.cjs.map +2 -2
- package/build/index.cjs +3 -1
- package/build/index.cjs.map +2 -2
- package/build-module/components/add-new-pattern/index.mjs +1 -0
- package/build-module/components/add-new-pattern/index.mjs.map +2 -2
- package/build-module/components/add-new-template/index.mjs +1 -0
- package/build-module/components/add-new-template/index.mjs.map +2 -2
- package/build-module/components/add-new-template-legacy/index.mjs +1 -0
- package/build-module/components/add-new-template-legacy/index.mjs.map +2 -2
- package/build-module/components/page-templates/view-utils.mjs +3 -2
- package/build-module/components/page-templates/view-utils.mjs.map +2 -2
- package/build-module/components/post-list/index.mjs +1 -0
- package/build-module/components/post-list/index.mjs.map +2 -2
- package/build-module/index.mjs +3 -1
- package/build-module/index.mjs.map +2 -2
- package/build-style/style-rtl.css +63 -10
- package/build-style/style.css +63 -10
- package/package.json +46 -46
- package/src/components/add-new-pattern/index.js +1 -0
- package/src/components/add-new-template/index.js +1 -0
- package/src/components/add-new-template-legacy/index.js +1 -0
- package/src/components/page-patterns/style.scss +1 -0
- package/src/components/page-templates/view-utils.js +3 -2
- package/src/components/post-list/index.js +1 -0
- package/src/index.js +2 -0
package/build-style/style.css
CHANGED
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
.admin-ui-page__header {
|
|
122
|
-
padding: var(--wpds-dimension-padding-
|
|
122
|
+
padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
|
|
123
123
|
border-bottom: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-surface-neutral-weak, #e0e0e0);
|
|
124
124
|
background: var(--wpds-color-bg-surface-neutral-strong, #ffffff);
|
|
125
125
|
position: sticky;
|
|
@@ -129,9 +129,9 @@
|
|
|
129
129
|
|
|
130
130
|
.admin-ui-page__header-title {
|
|
131
131
|
font-family: var(--wpds-font-family-heading, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
|
|
132
|
-
font-size: var(--wpds-font-size-
|
|
132
|
+
font-size: var(--wpds-font-size-lg, 15px);
|
|
133
133
|
font-weight: var(--wpds-font-weight-medium, 499);
|
|
134
|
-
line-height: var(--wpds-font-line-height-
|
|
134
|
+
line-height: var(--wpds-font-line-height-lg, 28px);
|
|
135
135
|
margin: 0;
|
|
136
136
|
overflow: hidden;
|
|
137
137
|
text-overflow: ellipsis;
|
|
@@ -221,13 +221,15 @@
|
|
|
221
221
|
* These variables do not appear to be used anywhere else.
|
|
222
222
|
*/
|
|
223
223
|
.admin-ui-breadcrumbs__list {
|
|
224
|
+
font-family: var(--wpds-font-family-heading, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
|
|
225
|
+
font-size: var(--wpds-font-size-lg, 15px);
|
|
226
|
+
font-weight: var(--wpds-font-weight-medium, 499);
|
|
227
|
+
line-height: var(--wpds-font-line-height-lg, 28px);
|
|
224
228
|
list-style: none;
|
|
225
229
|
padding: 0;
|
|
226
230
|
margin: 0;
|
|
227
231
|
gap: 0;
|
|
228
|
-
font-size: 15px;
|
|
229
232
|
min-height: 32px;
|
|
230
|
-
font-weight: 500;
|
|
231
233
|
}
|
|
232
234
|
|
|
233
235
|
.admin-ui-breadcrumbs__list li:not(:last-child)::after {
|
|
@@ -332,7 +334,6 @@
|
|
|
332
334
|
.dataviews-wrapper,
|
|
333
335
|
.dataviews-picker-wrapper {
|
|
334
336
|
height: 100%;
|
|
335
|
-
overflow: auto;
|
|
336
337
|
box-sizing: border-box;
|
|
337
338
|
scroll-padding-bottom: 64px;
|
|
338
339
|
/* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
|
|
@@ -481,6 +482,15 @@
|
|
|
481
482
|
min-height: 32px;
|
|
482
483
|
}
|
|
483
484
|
|
|
485
|
+
.dataviews-layout__container {
|
|
486
|
+
flex: 1;
|
|
487
|
+
min-height: 0;
|
|
488
|
+
overflow: auto;
|
|
489
|
+
display: flex;
|
|
490
|
+
flex-direction: column;
|
|
491
|
+
background-color: inherit;
|
|
492
|
+
}
|
|
493
|
+
|
|
484
494
|
.dataviews-filters__button {
|
|
485
495
|
position: relative;
|
|
486
496
|
}
|
|
@@ -1221,7 +1231,7 @@
|
|
|
1221
1231
|
.dataviews-view-grid-items {
|
|
1222
1232
|
margin-bottom: auto;
|
|
1223
1233
|
display: grid;
|
|
1224
|
-
gap:
|
|
1234
|
+
gap: 24px;
|
|
1225
1235
|
grid-template-rows: max-content;
|
|
1226
1236
|
grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
|
|
1227
1237
|
padding: 0 24px 24px;
|
|
@@ -1233,11 +1243,19 @@
|
|
|
1233
1243
|
transition: padding ease-out 0.1s;
|
|
1234
1244
|
}
|
|
1235
1245
|
}
|
|
1246
|
+
.dataviews-view-grid-items.has-compact-density {
|
|
1247
|
+
gap: 16px;
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
.dataviews-view-grid-items.has-comfortable-density {
|
|
1251
|
+
gap: 32px;
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1236
1254
|
.dataviews-view-grid {
|
|
1237
1255
|
padding: 0 24px 24px;
|
|
1238
1256
|
display: flex;
|
|
1239
1257
|
flex-direction: column;
|
|
1240
|
-
gap:
|
|
1258
|
+
gap: 24px;
|
|
1241
1259
|
container-type: inline-size;
|
|
1242
1260
|
margin-bottom: auto;
|
|
1243
1261
|
}
|
|
@@ -1247,9 +1265,25 @@
|
|
|
1247
1265
|
transition: padding ease-out 0.1s;
|
|
1248
1266
|
}
|
|
1249
1267
|
}
|
|
1268
|
+
.dataviews-view-grid.has-compact-density {
|
|
1269
|
+
gap: 16px;
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
.dataviews-view-grid.has-compact-density .dataviews-view-grid__row {
|
|
1273
|
+
gap: 16px;
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
.dataviews-view-grid.has-comfortable-density {
|
|
1277
|
+
gap: 32px;
|
|
1278
|
+
}
|
|
1279
|
+
|
|
1280
|
+
.dataviews-view-grid.has-comfortable-density .dataviews-view-grid__row {
|
|
1281
|
+
gap: 32px;
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1250
1284
|
.dataviews-view-grid .dataviews-view-grid__row {
|
|
1251
1285
|
display: grid;
|
|
1252
|
-
gap:
|
|
1286
|
+
gap: 24px;
|
|
1253
1287
|
}
|
|
1254
1288
|
|
|
1255
1289
|
.dataviews-view-grid .dataviews-view-grid__row .dataviews-view-grid__row__gridcell {
|
|
@@ -1885,6 +1919,17 @@ div.dataviews-view-list {
|
|
|
1885
1919
|
background-color: inherit;
|
|
1886
1920
|
}
|
|
1887
1921
|
|
|
1922
|
+
.dataviews-view-table thead.dataviews-view-table__thead--stuck::after {
|
|
1923
|
+
display: block;
|
|
1924
|
+
content: "";
|
|
1925
|
+
position: absolute;
|
|
1926
|
+
bottom: 0;
|
|
1927
|
+
left: 0;
|
|
1928
|
+
right: 0;
|
|
1929
|
+
height: 1px;
|
|
1930
|
+
background-color: #f0f0f0;
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1888
1933
|
.dataviews-view-table thead tr {
|
|
1889
1934
|
border: 0;
|
|
1890
1935
|
}
|
|
@@ -2056,6 +2101,14 @@ div.dataviews-view-list {
|
|
|
2056
2101
|
animation: dataviews-pulse 1s ease-in-out infinite;
|
|
2057
2102
|
}
|
|
2058
2103
|
}
|
|
2104
|
+
.dataviews-view-picker-grid.has-compact-density .dataviews-view-grid-items {
|
|
2105
|
+
gap: 16px;
|
|
2106
|
+
}
|
|
2107
|
+
|
|
2108
|
+
.dataviews-view-picker-grid.has-comfortable-density .dataviews-view-grid-items {
|
|
2109
|
+
gap: 32px;
|
|
2110
|
+
}
|
|
2111
|
+
|
|
2059
2112
|
.dataviews-view-picker-grid .dataviews-view-picker-grid__card {
|
|
2060
2113
|
height: 100%;
|
|
2061
2114
|
justify-content: flex-start;
|
|
@@ -4289,7 +4342,7 @@ button.font-library__upload-area {
|
|
|
4289
4342
|
}
|
|
4290
4343
|
}
|
|
4291
4344
|
.edit-site-patterns__delete-modal {
|
|
4292
|
-
width:
|
|
4345
|
+
width: 400px;
|
|
4293
4346
|
}
|
|
4294
4347
|
|
|
4295
4348
|
.page-patterns-preview-field {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/edit-site",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.42.0",
|
|
4
4
|
"description": "Edit Site Page module for WordPress.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -48,50 +48,50 @@
|
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@react-spring/web": "^9.4.5",
|
|
51
|
-
"@wordpress/a11y": "^4.
|
|
52
|
-
"@wordpress/admin-ui": "^1.
|
|
53
|
-
"@wordpress/api-fetch": "^7.
|
|
54
|
-
"@wordpress/base-styles": "^6.
|
|
55
|
-
"@wordpress/blob": "^4.
|
|
56
|
-
"@wordpress/block-editor": "^15.
|
|
57
|
-
"@wordpress/block-library": "^9.
|
|
58
|
-
"@wordpress/blocks": "^15.
|
|
59
|
-
"@wordpress/commands": "^1.
|
|
60
|
-
"@wordpress/components": "^32.4.
|
|
61
|
-
"@wordpress/compose": "^7.
|
|
62
|
-
"@wordpress/core-data": "^7.
|
|
63
|
-
"@wordpress/data": "^10.
|
|
64
|
-
"@wordpress/dataviews": "^13.1.
|
|
65
|
-
"@wordpress/date": "^5.
|
|
66
|
-
"@wordpress/deprecated": "^4.
|
|
67
|
-
"@wordpress/dom": "^4.
|
|
68
|
-
"@wordpress/editor": "^14.
|
|
69
|
-
"@wordpress/element": "^6.
|
|
70
|
-
"@wordpress/escape-html": "^3.
|
|
71
|
-
"@wordpress/fields": "^0.
|
|
72
|
-
"@wordpress/global-styles-engine": "^1.
|
|
73
|
-
"@wordpress/global-styles-ui": "^1.
|
|
74
|
-
"@wordpress/hooks": "^4.
|
|
75
|
-
"@wordpress/html-entities": "^4.
|
|
76
|
-
"@wordpress/i18n": "^6.
|
|
77
|
-
"@wordpress/icons": "^12.0.
|
|
78
|
-
"@wordpress/keyboard-shortcuts": "^5.
|
|
79
|
-
"@wordpress/keycodes": "^4.
|
|
80
|
-
"@wordpress/media-utils": "^5.
|
|
81
|
-
"@wordpress/notices": "^5.
|
|
82
|
-
"@wordpress/patterns": "^2.
|
|
83
|
-
"@wordpress/plugins": "^7.
|
|
84
|
-
"@wordpress/preferences": "^4.
|
|
85
|
-
"@wordpress/primitives": "^4.
|
|
86
|
-
"@wordpress/private-apis": "^1.
|
|
87
|
-
"@wordpress/reusable-blocks": "^5.
|
|
88
|
-
"@wordpress/router": "^1.
|
|
89
|
-
"@wordpress/style-engine": "^2.
|
|
90
|
-
"@wordpress/url": "^4.
|
|
91
|
-
"@wordpress/viewport": "^6.
|
|
92
|
-
"@wordpress/views": "^1.
|
|
93
|
-
"@wordpress/widgets": "^4.
|
|
94
|
-
"@wordpress/wordcount": "^4.
|
|
51
|
+
"@wordpress/a11y": "^4.42.0",
|
|
52
|
+
"@wordpress/admin-ui": "^1.10.0",
|
|
53
|
+
"@wordpress/api-fetch": "^7.42.0",
|
|
54
|
+
"@wordpress/base-styles": "^6.18.0",
|
|
55
|
+
"@wordpress/blob": "^4.42.0",
|
|
56
|
+
"@wordpress/block-editor": "^15.15.0",
|
|
57
|
+
"@wordpress/block-library": "^9.42.0",
|
|
58
|
+
"@wordpress/blocks": "^15.15.0",
|
|
59
|
+
"@wordpress/commands": "^1.42.0",
|
|
60
|
+
"@wordpress/components": "^32.4.0",
|
|
61
|
+
"@wordpress/compose": "^7.42.0",
|
|
62
|
+
"@wordpress/core-data": "^7.42.0",
|
|
63
|
+
"@wordpress/data": "^10.42.0",
|
|
64
|
+
"@wordpress/dataviews": "^13.1.0",
|
|
65
|
+
"@wordpress/date": "^5.42.0",
|
|
66
|
+
"@wordpress/deprecated": "^4.42.0",
|
|
67
|
+
"@wordpress/dom": "^4.42.0",
|
|
68
|
+
"@wordpress/editor": "^14.42.0",
|
|
69
|
+
"@wordpress/element": "^6.42.0",
|
|
70
|
+
"@wordpress/escape-html": "^3.42.0",
|
|
71
|
+
"@wordpress/fields": "^0.34.0",
|
|
72
|
+
"@wordpress/global-styles-engine": "^1.9.0",
|
|
73
|
+
"@wordpress/global-styles-ui": "^1.9.0",
|
|
74
|
+
"@wordpress/hooks": "^4.42.0",
|
|
75
|
+
"@wordpress/html-entities": "^4.42.0",
|
|
76
|
+
"@wordpress/i18n": "^6.15.0",
|
|
77
|
+
"@wordpress/icons": "^12.0.0",
|
|
78
|
+
"@wordpress/keyboard-shortcuts": "^5.42.0",
|
|
79
|
+
"@wordpress/keycodes": "^4.42.0",
|
|
80
|
+
"@wordpress/media-utils": "^5.42.0",
|
|
81
|
+
"@wordpress/notices": "^5.42.0",
|
|
82
|
+
"@wordpress/patterns": "^2.42.0",
|
|
83
|
+
"@wordpress/plugins": "^7.42.0",
|
|
84
|
+
"@wordpress/preferences": "^4.42.0",
|
|
85
|
+
"@wordpress/primitives": "^4.42.0",
|
|
86
|
+
"@wordpress/private-apis": "^1.42.0",
|
|
87
|
+
"@wordpress/reusable-blocks": "^5.42.0",
|
|
88
|
+
"@wordpress/router": "^1.42.0",
|
|
89
|
+
"@wordpress/style-engine": "^2.42.0",
|
|
90
|
+
"@wordpress/url": "^4.42.0",
|
|
91
|
+
"@wordpress/viewport": "^6.42.0",
|
|
92
|
+
"@wordpress/views": "^1.9.0",
|
|
93
|
+
"@wordpress/widgets": "^4.42.0",
|
|
94
|
+
"@wordpress/wordcount": "^4.42.0",
|
|
95
95
|
"change-case": "^4.1.2",
|
|
96
96
|
"clsx": "^2.1.1",
|
|
97
97
|
"colord": "^2.9.2",
|
|
@@ -106,5 +106,5 @@
|
|
|
106
106
|
"publishConfig": {
|
|
107
107
|
"access": "public"
|
|
108
108
|
},
|
|
109
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "c20787b1778ae64c2db65643b1c236309d68e6ba"
|
|
110
110
|
}
|
package/src/index.js
CHANGED
|
@@ -73,6 +73,8 @@ export function initializeEditor( id, settings ) {
|
|
|
73
73
|
showBlockBreadcrumbs: true,
|
|
74
74
|
showListViewByDefault: false,
|
|
75
75
|
enableChoosePatternModal: true,
|
|
76
|
+
showCollaborationCursor: false,
|
|
77
|
+
showCollaborationNotifications: true,
|
|
76
78
|
} );
|
|
77
79
|
|
|
78
80
|
if ( window.__clientSideMediaProcessing ) {
|