@wordpress/edit-site 6.26.1-next.719a03cbe.0 → 6.27.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-template/utils.js +8 -1
- package/build/components/add-new-template/utils.js.map +1 -1
- package/build-module/components/add-new-template/utils.js +8 -1
- package/build-module/components/add-new-template/utils.js.map +1 -1
- package/build-style/posts-rtl.css +12 -4
- package/build-style/posts.css +12 -4
- package/build-style/style-rtl.css +15 -4
- package/build-style/style.css +15 -4
- package/package.json +42 -42
- package/src/components/add-new-template/utils.js +14 -4
- package/src/components/global-styles/font-library-modal/style.scss +4 -0
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -1202,6 +1202,14 @@
|
|
|
1202
1202
|
cursor: pointer;
|
|
1203
1203
|
}
|
|
1204
1204
|
|
|
1205
|
+
.dataviews-view-grid__group-header {
|
|
1206
|
+
font-size: 16px;
|
|
1207
|
+
font-weight: 600;
|
|
1208
|
+
color: #1e1e1e;
|
|
1209
|
+
margin: 0 0 8px 0;
|
|
1210
|
+
padding: 0 48px;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1205
1213
|
div.dataviews-view-list {
|
|
1206
1214
|
list-style-type: none;
|
|
1207
1215
|
}
|
|
@@ -3197,7 +3205,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3197
3205
|
contain: content;
|
|
3198
3206
|
}
|
|
3199
3207
|
|
|
3200
|
-
@keyframes
|
|
3208
|
+
@keyframes _uamd0_slide-from-right {
|
|
3201
3209
|
from {
|
|
3202
3210
|
transform: translateX(-50px);
|
|
3203
3211
|
opacity: 0;
|
|
@@ -3207,7 +3215,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3207
3215
|
opacity: 1;
|
|
3208
3216
|
}
|
|
3209
3217
|
}
|
|
3210
|
-
@keyframes
|
|
3218
|
+
@keyframes _uamd0_slide-from-left {
|
|
3211
3219
|
from {
|
|
3212
3220
|
transform: translateX(50px);
|
|
3213
3221
|
opacity: 0;
|
|
@@ -3263,10 +3271,10 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3263
3271
|
}
|
|
3264
3272
|
}
|
|
3265
3273
|
.edit-site-sidebar__screen-wrapper.slide-from-left {
|
|
3266
|
-
animation-name:
|
|
3274
|
+
animation-name: _uamd0_slide-from-left;
|
|
3267
3275
|
}
|
|
3268
3276
|
.edit-site-sidebar__screen-wrapper.slide-from-right {
|
|
3269
|
-
animation-name:
|
|
3277
|
+
animation-name: _uamd0_slide-from-right;
|
|
3270
3278
|
}
|
|
3271
3279
|
|
|
3272
3280
|
.edit-site-sidebar-button {
|
|
@@ -3964,6 +3972,9 @@ body:has(.edit-site-resizable-frame__inner.is-resizing) {
|
|
|
3964
3972
|
.font-library-modal__font-card:hover {
|
|
3965
3973
|
background-color: #f0f0f0;
|
|
3966
3974
|
}
|
|
3975
|
+
.font-library-modal__font-card:focus {
|
|
3976
|
+
position: relative;
|
|
3977
|
+
}
|
|
3967
3978
|
.font-library-modal__font-card .font-library-modal__font-card__name {
|
|
3968
3979
|
font-weight: bold;
|
|
3969
3980
|
}
|
package/build-style/style.css
CHANGED
|
@@ -1202,6 +1202,14 @@
|
|
|
1202
1202
|
cursor: pointer;
|
|
1203
1203
|
}
|
|
1204
1204
|
|
|
1205
|
+
.dataviews-view-grid__group-header {
|
|
1206
|
+
font-size: 16px;
|
|
1207
|
+
font-weight: 600;
|
|
1208
|
+
color: #1e1e1e;
|
|
1209
|
+
margin: 0 0 8px 0;
|
|
1210
|
+
padding: 0 48px;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1205
1213
|
div.dataviews-view-list {
|
|
1206
1214
|
list-style-type: none;
|
|
1207
1215
|
}
|
|
@@ -3198,7 +3206,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3198
3206
|
contain: content;
|
|
3199
3207
|
}
|
|
3200
3208
|
|
|
3201
|
-
@keyframes
|
|
3209
|
+
@keyframes _uamd0_slide-from-right {
|
|
3202
3210
|
from {
|
|
3203
3211
|
transform: translateX(50px);
|
|
3204
3212
|
opacity: 0;
|
|
@@ -3208,7 +3216,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3208
3216
|
opacity: 1;
|
|
3209
3217
|
}
|
|
3210
3218
|
}
|
|
3211
|
-
@keyframes
|
|
3219
|
+
@keyframes _uamd0_slide-from-left {
|
|
3212
3220
|
from {
|
|
3213
3221
|
transform: translateX(-50px);
|
|
3214
3222
|
opacity: 0;
|
|
@@ -3264,10 +3272,10 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
|
|
|
3264
3272
|
}
|
|
3265
3273
|
}
|
|
3266
3274
|
.edit-site-sidebar__screen-wrapper.slide-from-left {
|
|
3267
|
-
animation-name:
|
|
3275
|
+
animation-name: _uamd0_slide-from-left;
|
|
3268
3276
|
}
|
|
3269
3277
|
.edit-site-sidebar__screen-wrapper.slide-from-right {
|
|
3270
|
-
animation-name:
|
|
3278
|
+
animation-name: _uamd0_slide-from-right;
|
|
3271
3279
|
}
|
|
3272
3280
|
|
|
3273
3281
|
.edit-site-sidebar-button {
|
|
@@ -3965,6 +3973,9 @@ body:has(.edit-site-resizable-frame__inner.is-resizing) {
|
|
|
3965
3973
|
.font-library-modal__font-card:hover {
|
|
3966
3974
|
background-color: #f0f0f0;
|
|
3967
3975
|
}
|
|
3976
|
+
.font-library-modal__font-card:focus {
|
|
3977
|
+
position: relative;
|
|
3978
|
+
}
|
|
3968
3979
|
.font-library-modal__font-card .font-library-modal__font-card__name {
|
|
3969
3980
|
font-weight: bold;
|
|
3970
3981
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/edit-site",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.27.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,46 +30,46 @@
|
|
|
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": "^
|
|
37
|
-
"@wordpress/block-library": "^9.
|
|
38
|
-
"@wordpress/blocks": "^
|
|
39
|
-
"@wordpress/commands": "^1.
|
|
40
|
-
"@wordpress/components": "^
|
|
41
|
-
"@wordpress/compose": "^7.
|
|
42
|
-
"@wordpress/core-commands": "^1.
|
|
43
|
-
"@wordpress/core-data": "^7.
|
|
44
|
-
"@wordpress/data": "^10.
|
|
45
|
-
"@wordpress/dataviews": "^5.0.
|
|
46
|
-
"@wordpress/date": "^5.
|
|
47
|
-
"@wordpress/deprecated": "^4.
|
|
48
|
-
"@wordpress/dom": "^4.
|
|
49
|
-
"@wordpress/editor": "^14.
|
|
50
|
-
"@wordpress/element": "^6.
|
|
51
|
-
"@wordpress/escape-html": "^3.
|
|
52
|
-
"@wordpress/fields": "^0.
|
|
53
|
-
"@wordpress/hooks": "^4.
|
|
54
|
-
"@wordpress/html-entities": "^4.
|
|
55
|
-
"@wordpress/i18n": "^6.0.
|
|
56
|
-
"@wordpress/icons": "^10.
|
|
57
|
-
"@wordpress/keyboard-shortcuts": "^5.
|
|
58
|
-
"@wordpress/keycodes": "^4.
|
|
59
|
-
"@wordpress/media-utils": "^5.
|
|
60
|
-
"@wordpress/notices": "^5.
|
|
61
|
-
"@wordpress/patterns": "^2.
|
|
62
|
-
"@wordpress/plugins": "^7.
|
|
63
|
-
"@wordpress/preferences": "^4.
|
|
64
|
-
"@wordpress/primitives": "^4.
|
|
65
|
-
"@wordpress/private-apis": "^1.
|
|
66
|
-
"@wordpress/reusable-blocks": "^5.
|
|
67
|
-
"@wordpress/router": "^1.
|
|
68
|
-
"@wordpress/style-engine": "^2.
|
|
69
|
-
"@wordpress/url": "^4.
|
|
70
|
-
"@wordpress/viewport": "^6.
|
|
71
|
-
"@wordpress/widgets": "^4.
|
|
72
|
-
"@wordpress/wordcount": "^4.
|
|
33
|
+
"@wordpress/a11y": "^4.27.0",
|
|
34
|
+
"@wordpress/api-fetch": "^7.27.0",
|
|
35
|
+
"@wordpress/blob": "^4.27.0",
|
|
36
|
+
"@wordpress/block-editor": "^15.0.0",
|
|
37
|
+
"@wordpress/block-library": "^9.27.0",
|
|
38
|
+
"@wordpress/blocks": "^15.0.0",
|
|
39
|
+
"@wordpress/commands": "^1.27.0",
|
|
40
|
+
"@wordpress/components": "^30.0.0",
|
|
41
|
+
"@wordpress/compose": "^7.27.0",
|
|
42
|
+
"@wordpress/core-commands": "^1.27.0",
|
|
43
|
+
"@wordpress/core-data": "^7.27.0",
|
|
44
|
+
"@wordpress/data": "^10.27.0",
|
|
45
|
+
"@wordpress/dataviews": "^5.0.0",
|
|
46
|
+
"@wordpress/date": "^5.27.0",
|
|
47
|
+
"@wordpress/deprecated": "^4.27.0",
|
|
48
|
+
"@wordpress/dom": "^4.27.0",
|
|
49
|
+
"@wordpress/editor": "^14.27.0",
|
|
50
|
+
"@wordpress/element": "^6.27.0",
|
|
51
|
+
"@wordpress/escape-html": "^3.27.0",
|
|
52
|
+
"@wordpress/fields": "^0.19.0",
|
|
53
|
+
"@wordpress/hooks": "^4.27.0",
|
|
54
|
+
"@wordpress/html-entities": "^4.27.0",
|
|
55
|
+
"@wordpress/i18n": "^6.0.0",
|
|
56
|
+
"@wordpress/icons": "^10.27.0",
|
|
57
|
+
"@wordpress/keyboard-shortcuts": "^5.27.0",
|
|
58
|
+
"@wordpress/keycodes": "^4.27.0",
|
|
59
|
+
"@wordpress/media-utils": "^5.27.0",
|
|
60
|
+
"@wordpress/notices": "^5.27.0",
|
|
61
|
+
"@wordpress/patterns": "^2.27.0",
|
|
62
|
+
"@wordpress/plugins": "^7.27.0",
|
|
63
|
+
"@wordpress/preferences": "^4.27.0",
|
|
64
|
+
"@wordpress/primitives": "^4.27.0",
|
|
65
|
+
"@wordpress/private-apis": "^1.27.0",
|
|
66
|
+
"@wordpress/reusable-blocks": "^5.27.0",
|
|
67
|
+
"@wordpress/router": "^1.27.0",
|
|
68
|
+
"@wordpress/style-engine": "^2.27.0",
|
|
69
|
+
"@wordpress/url": "^4.27.0",
|
|
70
|
+
"@wordpress/viewport": "^6.27.0",
|
|
71
|
+
"@wordpress/widgets": "^4.27.0",
|
|
72
|
+
"@wordpress/wordcount": "^4.27.0",
|
|
73
73
|
"change-case": "^4.1.2",
|
|
74
74
|
"clsx": "^2.1.1",
|
|
75
75
|
"colord": "^2.9.2",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"publishConfig": {
|
|
85
85
|
"access": "public"
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "abe06a6f2aef8d03c30ea9d5b3e133f041e523b1"
|
|
88
88
|
}
|
|
@@ -80,10 +80,20 @@ const usePublicPostTypes = () => {
|
|
|
80
80
|
);
|
|
81
81
|
return useMemo( () => {
|
|
82
82
|
const excludedPostTypes = [ 'attachment' ];
|
|
83
|
-
return postTypes
|
|
84
|
-
(
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
return postTypes
|
|
84
|
+
?.filter(
|
|
85
|
+
( { viewable, slug } ) =>
|
|
86
|
+
viewable && ! excludedPostTypes.includes( slug )
|
|
87
|
+
)
|
|
88
|
+
.sort( ( a, b ) => {
|
|
89
|
+
// Sort post types alphabetically by name,
|
|
90
|
+
// but exclude the built-in 'post' type from sorting.
|
|
91
|
+
if ( a.slug === 'post' || b.slug === 'post' ) {
|
|
92
|
+
return 0;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
return a.name.localeCompare( b.name );
|
|
96
|
+
} );
|
|
87
97
|
}, [ postTypes ] );
|
|
88
98
|
};
|
|
89
99
|
|