@wordpress/editor 14.27.0 → 14.27.1-next.46f643fa0.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/build/bindings/api.js +2 -0
- package/build/bindings/api.js.map +1 -1
- package/build/bindings/pattern-overrides.js +4 -0
- package/build/bindings/pattern-overrides.js.map +1 -1
- package/build/bindings/post-data.js +141 -0
- package/build/bindings/post-data.js.map +1 -0
- package/build/bindings/post-meta.js +4 -0
- package/build/bindings/post-meta.js.map +1 -1
- package/build/components/post-card-panel/index.js +2 -2
- package/build/components/post-card-panel/index.js.map +1 -1
- package/build/components/provider/use-block-editor-settings.js +7 -2
- package/build/components/provider/use-block-editor-settings.js.map +1 -1
- package/build/store/selectors.js +3 -1
- package/build/store/selectors.js.map +1 -1
- package/build-module/bindings/api.js +2 -0
- package/build-module/bindings/api.js.map +1 -1
- package/build-module/bindings/pattern-overrides.js +4 -0
- package/build-module/bindings/pattern-overrides.js.map +1 -1
- package/build-module/bindings/post-data.js +135 -0
- package/build-module/bindings/post-data.js.map +1 -0
- package/build-module/bindings/post-meta.js +4 -0
- package/build-module/bindings/post-meta.js.map +1 -1
- package/build-module/components/post-card-panel/index.js +2 -2
- package/build-module/components/post-card-panel/index.js.map +1 -1
- package/build-module/components/provider/use-block-editor-settings.js +7 -2
- package/build-module/components/provider/use-block-editor-settings.js.map +1 -1
- package/build-module/store/selectors.js +3 -1
- package/build-module/store/selectors.js.map +1 -1
- package/build-style/style-rtl.css +13 -13
- package/build-style/style.css +13 -13
- package/build-types/bindings/api.d.ts.map +1 -1
- package/build-types/bindings/pattern-overrides.d.ts +6 -6
- package/build-types/bindings/pattern-overrides.d.ts.map +1 -1
- package/build-types/bindings/post-data.d.ts +24 -0
- package/build-types/bindings/post-data.d.ts.map +1 -0
- package/build-types/bindings/post-meta.d.ts +7 -7
- package/build-types/bindings/post-meta.d.ts.map +1 -1
- package/build-types/components/keyboard-shortcut-help-modal/config.d.ts +11 -11
- package/build-types/components/post-actions/set-as-homepage.d.ts +1 -1
- package/build-types/components/post-actions/set-as-posts-page.d.ts +1 -1
- package/build-types/components/post-format/index.d.ts +10 -10
- package/build-types/components/post-status/index.d.ts +10 -10
- package/build-types/components/post-visibility/utils.d.ts +6 -6
- package/build-types/components/provider/use-block-editor-settings.d.ts.map +1 -1
- package/build-types/store/selectors.d.ts.map +1 -1
- package/build-types/utils/pageTypeBadge.d.ts +1 -1
- package/build-types/utils/pageTypeBadge.d.ts.map +1 -1
- package/package.json +37 -37
- package/src/bindings/api.js +2 -0
- package/src/bindings/pattern-overrides.js +3 -0
- package/src/bindings/post-data.js +128 -0
- package/src/bindings/post-meta.js +3 -0
- package/src/components/collapsible-block-toolbar/style.scss +4 -3
- package/src/components/error-boundary/style.scss +1 -1
- package/src/components/post-card-panel/index.js +3 -3
- package/src/components/provider/use-block-editor-settings.js +6 -1
- package/src/store/selectors.js +6 -1
- package/src/store/test/selectors.js +30 -0
- package/tsconfig.tsbuildinfo +1 -1
package/build-style/style.css
CHANGED
|
@@ -714,7 +714,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
714
714
|
overflow: hidden;
|
|
715
715
|
display: flex;
|
|
716
716
|
align-items: center;
|
|
717
|
-
height:
|
|
717
|
+
height: 64px;
|
|
718
718
|
}
|
|
719
719
|
.editor-collapsible-block-toolbar .block-editor-block-contextual-toolbar {
|
|
720
720
|
border-bottom: 0;
|
|
@@ -723,7 +723,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
723
723
|
}
|
|
724
724
|
.editor-collapsible-block-toolbar .block-editor-block-toolbar {
|
|
725
725
|
height: 100%;
|
|
726
|
-
padding-top:
|
|
726
|
+
padding-top: 17px;
|
|
727
727
|
}
|
|
728
728
|
.editor-collapsible-block-toolbar .block-editor-block-toolbar .components-button:not(.block-editor-block-mover-button) {
|
|
729
729
|
height: 32px;
|
|
@@ -762,7 +762,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
762
762
|
.editor-collapsible-block-toolbar .block-editor-block-mover:not(.is-horizontal) .block-editor-block-mover__move-button-container {
|
|
763
763
|
height: 40px;
|
|
764
764
|
position: relative;
|
|
765
|
-
top: -
|
|
765
|
+
top: -4px;
|
|
766
766
|
}
|
|
767
767
|
}
|
|
768
768
|
.editor-collapsible-block-toolbar.is-collapsed {
|
|
@@ -1048,7 +1048,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1048
1048
|
}
|
|
1049
1049
|
|
|
1050
1050
|
.editor-editor-interface .entities-saved-states__panel-header {
|
|
1051
|
-
height:
|
|
1051
|
+
height: 65px;
|
|
1052
1052
|
}
|
|
1053
1053
|
|
|
1054
1054
|
.editor-editor-interface .interface-interface-skeleton__content {
|
|
@@ -1072,7 +1072,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1072
1072
|
box-sizing: border-box;
|
|
1073
1073
|
border-bottom: 1px solid rgba(0, 0, 0, 0.2);
|
|
1074
1074
|
padding: 0 12px;
|
|
1075
|
-
min-height:
|
|
1075
|
+
min-height: 64px;
|
|
1076
1076
|
}
|
|
1077
1077
|
.components-editor-notices__dismissible .components-notice .components-notice__dismiss,
|
|
1078
1078
|
.components-editor-notices__pinned .components-notice .components-notice__dismiss {
|
|
@@ -1084,7 +1084,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1084
1084
|
background: #fff;
|
|
1085
1085
|
padding-left: 16px;
|
|
1086
1086
|
padding-right: 16px;
|
|
1087
|
-
height:
|
|
1087
|
+
height: 64px;
|
|
1088
1088
|
border-bottom: 1px solid #ddd;
|
|
1089
1089
|
}
|
|
1090
1090
|
|
|
@@ -1143,7 +1143,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1143
1143
|
margin: auto;
|
|
1144
1144
|
max-width: 780px;
|
|
1145
1145
|
padding: 1em;
|
|
1146
|
-
margin-top:
|
|
1146
|
+
margin-top: 64px;
|
|
1147
1147
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08), 0 15px 27px rgba(0, 0, 0, 0.07), 0 30px 36px rgba(0, 0, 0, 0.04), 0 50px 43px rgba(0, 0, 0, 0.02);
|
|
1148
1148
|
border: 1px solid #1e1e1e;
|
|
1149
1149
|
border-radius: 2px;
|
|
@@ -1151,21 +1151,21 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
|
|
1153
1153
|
.editor-header {
|
|
1154
|
-
height:
|
|
1154
|
+
height: 64px;
|
|
1155
1155
|
background: #fff;
|
|
1156
1156
|
display: grid;
|
|
1157
1157
|
grid-auto-flow: row;
|
|
1158
|
-
grid-template: auto/
|
|
1158
|
+
grid-template: auto/64px minmax(0, max-content) minmax(min-content, 1fr) 64px;
|
|
1159
1159
|
align-items: center;
|
|
1160
1160
|
max-width: 100vw;
|
|
1161
1161
|
justify-content: space-between;
|
|
1162
1162
|
}
|
|
1163
1163
|
.editor-header:has(> .editor-header__center) {
|
|
1164
|
-
grid-template: auto/
|
|
1164
|
+
grid-template: auto/64px min-content 1fr min-content 64px;
|
|
1165
1165
|
}
|
|
1166
1166
|
@media (min-width: 782px) {
|
|
1167
1167
|
.editor-header:has(> .editor-header__center) {
|
|
1168
|
-
grid-template: auto/
|
|
1168
|
+
grid-template: auto/64px minmax(min-content, 2fr) 2.5fr minmax(min-content, 2fr) 64px;
|
|
1169
1169
|
}
|
|
1170
1170
|
}
|
|
1171
1171
|
@media (min-width: 480px) {
|
|
@@ -1829,7 +1829,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1829
1829
|
}
|
|
1830
1830
|
|
|
1831
1831
|
.editor-post-publish-panel__content {
|
|
1832
|
-
min-height: calc(100% -
|
|
1832
|
+
min-height: calc(100% - 148px);
|
|
1833
1833
|
}
|
|
1834
1834
|
.editor-post-publish-panel__content > .components-spinner {
|
|
1835
1835
|
display: block;
|
|
@@ -1840,7 +1840,7 @@ body.is-fullscreen-mode .interface-interface-skeleton {
|
|
|
1840
1840
|
background: #fff;
|
|
1841
1841
|
padding-left: 16px;
|
|
1842
1842
|
padding-right: 16px;
|
|
1843
|
-
height:
|
|
1843
|
+
height: 65px;
|
|
1844
1844
|
border-bottom: 1px solid #ddd;
|
|
1845
1845
|
display: flex;
|
|
1846
1846
|
align-items: center;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/bindings/api.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/bindings/api.js"],"names":[],"mappings":"AAYA;;;;;;;;;GASG;AACH,yDAIC"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
getValues({ select, clientId, context, bindings }: {
|
|
4
4
|
select: any;
|
|
5
5
|
clientId: any;
|
|
6
6
|
context: any;
|
|
7
7
|
bindings: any;
|
|
8
8
|
}): {};
|
|
9
|
-
|
|
9
|
+
setValues({ select, dispatch, clientId, bindings }: {
|
|
10
10
|
select: any;
|
|
11
11
|
dispatch: any;
|
|
12
12
|
clientId: any;
|
|
13
13
|
bindings: any;
|
|
14
14
|
}): void;
|
|
15
|
-
|
|
16
|
-
}
|
|
15
|
+
canUserEditValue: () => boolean;
|
|
16
|
+
};
|
|
17
17
|
export default _default;
|
|
18
18
|
//# sourceMappingURL=pattern-overrides.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pattern-overrides.d.ts","sourceRoot":"","sources":["../../src/bindings/pattern-overrides.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pattern-overrides.d.ts","sourceRoot":"","sources":["../../src/bindings/pattern-overrides.js"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
getValues({ select, context, bindings }: {
|
|
4
|
+
select: any;
|
|
5
|
+
context: any;
|
|
6
|
+
bindings: any;
|
|
7
|
+
}): {};
|
|
8
|
+
setValues({ dispatch, context, bindings }: {
|
|
9
|
+
dispatch: any;
|
|
10
|
+
context: any;
|
|
11
|
+
bindings: any;
|
|
12
|
+
}): void;
|
|
13
|
+
canUserEditValue({ select, context, args }: {
|
|
14
|
+
select: any;
|
|
15
|
+
context: any;
|
|
16
|
+
args: any;
|
|
17
|
+
}): boolean;
|
|
18
|
+
getFieldsList({ select, context }: {
|
|
19
|
+
select: any;
|
|
20
|
+
context: any;
|
|
21
|
+
}): Object;
|
|
22
|
+
};
|
|
23
|
+
export default _default;
|
|
24
|
+
//# sourceMappingURL=post-data.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-data.d.ts","sourceRoot":"","sources":["../../src/bindings/post-data.js"],"names":[],"mappings":""}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
declare const _default: {
|
|
2
|
+
name: string;
|
|
3
|
+
getValues({ select, context, bindings }: {
|
|
4
4
|
select: any;
|
|
5
5
|
context: any;
|
|
6
6
|
bindings: any;
|
|
7
7
|
}): {};
|
|
8
|
-
|
|
8
|
+
setValues({ dispatch, context, bindings }: {
|
|
9
9
|
dispatch: any;
|
|
10
10
|
context: any;
|
|
11
11
|
bindings: any;
|
|
12
12
|
}): void;
|
|
13
|
-
|
|
13
|
+
canUserEditValue({ select, context, args }: {
|
|
14
14
|
select: any;
|
|
15
15
|
context: any;
|
|
16
16
|
args: any;
|
|
17
17
|
}): boolean;
|
|
18
|
-
|
|
18
|
+
getFieldsList({ select, context }: {
|
|
19
19
|
select: any;
|
|
20
20
|
context: any;
|
|
21
21
|
}): Object;
|
|
22
|
-
}
|
|
22
|
+
};
|
|
23
23
|
export default _default;
|
|
24
24
|
//# sourceMappingURL=post-meta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-meta.d.ts","sourceRoot":"","sources":["../../src/bindings/post-meta.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-meta.d.ts","sourceRoot":"","sources":["../../src/bindings/post-meta.js"],"names":[],"mappings":""}
|
|
@@ -3,56 +3,56 @@ export const textFormattingShortcuts: ({
|
|
|
3
3
|
modifier: string;
|
|
4
4
|
character: string;
|
|
5
5
|
};
|
|
6
|
-
description: import("@wordpress/i18n
|
|
6
|
+
description: import("@wordpress/i18n").TranslatableText<"Make the selected text bold.">;
|
|
7
7
|
aliases?: undefined;
|
|
8
8
|
} | {
|
|
9
9
|
keyCombination: {
|
|
10
10
|
modifier: string;
|
|
11
11
|
character: string;
|
|
12
12
|
};
|
|
13
|
-
description: import("@wordpress/i18n
|
|
13
|
+
description: import("@wordpress/i18n").TranslatableText<"Make the selected text italic.">;
|
|
14
14
|
aliases?: undefined;
|
|
15
15
|
} | {
|
|
16
16
|
keyCombination: {
|
|
17
17
|
modifier: string;
|
|
18
18
|
character: string;
|
|
19
19
|
};
|
|
20
|
-
description: import("@wordpress/i18n
|
|
20
|
+
description: import("@wordpress/i18n").TranslatableText<"Convert the selected text into a link.">;
|
|
21
21
|
aliases?: undefined;
|
|
22
22
|
} | {
|
|
23
23
|
keyCombination: {
|
|
24
24
|
modifier: string;
|
|
25
25
|
character: string;
|
|
26
26
|
};
|
|
27
|
-
description: import("@wordpress/i18n
|
|
27
|
+
description: import("@wordpress/i18n").TranslatableText<"Remove a link.">;
|
|
28
28
|
aliases?: undefined;
|
|
29
29
|
} | {
|
|
30
30
|
keyCombination: {
|
|
31
31
|
character: string;
|
|
32
32
|
modifier?: undefined;
|
|
33
33
|
};
|
|
34
|
-
description: import("@wordpress/i18n
|
|
34
|
+
description: import("@wordpress/i18n").TranslatableText<"Insert a link to a post or page.">;
|
|
35
35
|
aliases?: undefined;
|
|
36
36
|
} | {
|
|
37
37
|
keyCombination: {
|
|
38
38
|
modifier: string;
|
|
39
39
|
character: string;
|
|
40
40
|
};
|
|
41
|
-
description: import("@wordpress/i18n
|
|
41
|
+
description: import("@wordpress/i18n").TranslatableText<"Underline the selected text.">;
|
|
42
42
|
aliases?: undefined;
|
|
43
43
|
} | {
|
|
44
44
|
keyCombination: {
|
|
45
45
|
modifier: string;
|
|
46
46
|
character: string;
|
|
47
47
|
};
|
|
48
|
-
description: import("@wordpress/i18n
|
|
48
|
+
description: import("@wordpress/i18n").TranslatableText<"Strikethrough the selected text.">;
|
|
49
49
|
aliases?: undefined;
|
|
50
50
|
} | {
|
|
51
51
|
keyCombination: {
|
|
52
52
|
modifier: string;
|
|
53
53
|
character: string;
|
|
54
54
|
};
|
|
55
|
-
description: import("@wordpress/i18n
|
|
55
|
+
description: import("@wordpress/i18n").TranslatableText<"Make the selected text inline code.">;
|
|
56
56
|
aliases?: undefined;
|
|
57
57
|
} | {
|
|
58
58
|
keyCombination: {
|
|
@@ -63,20 +63,20 @@ export const textFormattingShortcuts: ({
|
|
|
63
63
|
modifier: string;
|
|
64
64
|
character: string;
|
|
65
65
|
}[];
|
|
66
|
-
description: import("@wordpress/i18n
|
|
66
|
+
description: import("@wordpress/i18n").TranslatableText<"Convert the current heading to a paragraph.">;
|
|
67
67
|
} | {
|
|
68
68
|
keyCombination: {
|
|
69
69
|
modifier: string;
|
|
70
70
|
character: string;
|
|
71
71
|
};
|
|
72
|
-
description: import("@wordpress/i18n
|
|
72
|
+
description: import("@wordpress/i18n").TranslatableText<"Convert the current paragraph or heading to a heading of level 1 to 6.">;
|
|
73
73
|
aliases?: undefined;
|
|
74
74
|
} | {
|
|
75
75
|
keyCombination: {
|
|
76
76
|
modifier: string;
|
|
77
77
|
character: string;
|
|
78
78
|
};
|
|
79
|
-
description: import("@wordpress/i18n
|
|
79
|
+
description: import("@wordpress/i18n").TranslatableText<"Add non breaking space.">;
|
|
80
80
|
aliases?: undefined;
|
|
81
81
|
})[];
|
|
82
82
|
//# sourceMappingURL=config.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export function useSetAsHomepageAction(): {
|
|
2
2
|
id: string;
|
|
3
|
-
label: import("@wordpress/i18n
|
|
3
|
+
label: import("@wordpress/i18n").TranslatableText<"Set as homepage">;
|
|
4
4
|
isEligible(post: any): boolean;
|
|
5
5
|
modalFocusOnMount: string;
|
|
6
6
|
RenderModal: ({ items, closeModal }: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export function useSetAsPostsPageAction(): {
|
|
2
2
|
id: string;
|
|
3
|
-
label: import("@wordpress/i18n
|
|
3
|
+
label: import("@wordpress/i18n").TranslatableText<"Set as posts page">;
|
|
4
4
|
isEligible(post: any): boolean;
|
|
5
5
|
modalFocusOnMount: string;
|
|
6
6
|
RenderModal: ({ items, closeModal }: {
|
|
@@ -11,33 +11,33 @@
|
|
|
11
11
|
export default function PostFormat(): React.ReactNode;
|
|
12
12
|
export const POST_FORMATS: ({
|
|
13
13
|
id: string;
|
|
14
|
-
caption: import("@wordpress/i18n
|
|
14
|
+
caption: import("@wordpress/i18n").TranslatableText<"Aside">;
|
|
15
15
|
} | {
|
|
16
16
|
id: string;
|
|
17
|
-
caption: import("@wordpress/i18n
|
|
17
|
+
caption: import("@wordpress/i18n").TranslatableText<"Audio">;
|
|
18
18
|
} | {
|
|
19
19
|
id: string;
|
|
20
|
-
caption: import("@wordpress/i18n
|
|
20
|
+
caption: import("@wordpress/i18n").TranslatableText<"Chat">;
|
|
21
21
|
} | {
|
|
22
22
|
id: string;
|
|
23
|
-
caption: import("@wordpress/i18n
|
|
23
|
+
caption: import("@wordpress/i18n").TranslatableText<"Gallery">;
|
|
24
24
|
} | {
|
|
25
25
|
id: string;
|
|
26
|
-
caption: import("@wordpress/i18n
|
|
26
|
+
caption: import("@wordpress/i18n").TranslatableText<"Image">;
|
|
27
27
|
} | {
|
|
28
28
|
id: string;
|
|
29
|
-
caption: import("@wordpress/i18n
|
|
29
|
+
caption: import("@wordpress/i18n").TranslatableText<"Link">;
|
|
30
30
|
} | {
|
|
31
31
|
id: string;
|
|
32
|
-
caption: import("@wordpress/i18n
|
|
32
|
+
caption: import("@wordpress/i18n").TranslatableText<"Quote">;
|
|
33
33
|
} | {
|
|
34
34
|
id: string;
|
|
35
|
-
caption: import("@wordpress/i18n
|
|
35
|
+
caption: import("@wordpress/i18n").TranslatableText<"Standard">;
|
|
36
36
|
} | {
|
|
37
37
|
id: string;
|
|
38
|
-
caption: import("@wordpress/i18n
|
|
38
|
+
caption: import("@wordpress/i18n").TranslatableText<"Status">;
|
|
39
39
|
} | {
|
|
40
40
|
id: string;
|
|
41
|
-
caption: import("@wordpress/i18n
|
|
41
|
+
caption: import("@wordpress/i18n").TranslatableText<"Video">;
|
|
42
42
|
})[];
|
|
43
43
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
export default function PostStatus(): import("react").JSX.Element | null;
|
|
2
2
|
export const STATUS_OPTIONS: ({
|
|
3
|
-
label: import("@wordpress/i18n
|
|
3
|
+
label: import("@wordpress/i18n").TranslatableText<"Draft">;
|
|
4
4
|
value: string;
|
|
5
|
-
description: import("@wordpress/i18n
|
|
5
|
+
description: import("@wordpress/i18n").TranslatableText<"Not ready to publish.">;
|
|
6
6
|
} | {
|
|
7
|
-
label: import("@wordpress/i18n
|
|
7
|
+
label: import("@wordpress/i18n").TranslatableText<"Pending">;
|
|
8
8
|
value: string;
|
|
9
|
-
description: import("@wordpress/i18n
|
|
9
|
+
description: import("@wordpress/i18n").TranslatableText<"Waiting for review before publishing.">;
|
|
10
10
|
} | {
|
|
11
|
-
label: import("@wordpress/i18n
|
|
11
|
+
label: import("@wordpress/i18n").TranslatableText<"Private">;
|
|
12
12
|
value: string;
|
|
13
|
-
description: import("@wordpress/i18n
|
|
13
|
+
description: import("@wordpress/i18n").TranslatableText<"Only visible to site admins and editors.">;
|
|
14
14
|
} | {
|
|
15
|
-
label: import("@wordpress/i18n
|
|
15
|
+
label: import("@wordpress/i18n").TranslatableText<"Scheduled">;
|
|
16
16
|
value: string;
|
|
17
|
-
description: import("@wordpress/i18n
|
|
17
|
+
description: import("@wordpress/i18n").TranslatableText<"Publish automatically on a chosen date.">;
|
|
18
18
|
} | {
|
|
19
|
-
label: import("@wordpress/i18n
|
|
19
|
+
label: import("@wordpress/i18n").TranslatableText<"Published">;
|
|
20
20
|
value: string;
|
|
21
|
-
description: import("@wordpress/i18n
|
|
21
|
+
description: import("@wordpress/i18n").TranslatableText<"Visible to everyone.">;
|
|
22
22
|
})[];
|
|
23
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export const VISIBILITY_OPTIONS: ({
|
|
2
|
-
label: import("@wordpress/i18n
|
|
2
|
+
label: import("@wordpress/i18n").TranslatableText<"Public">;
|
|
3
3
|
value: string;
|
|
4
|
-
description: import("@wordpress/i18n
|
|
4
|
+
description: import("@wordpress/i18n").TranslatableText<"Visible to everyone.">;
|
|
5
5
|
} | {
|
|
6
|
-
label: import("@wordpress/i18n
|
|
6
|
+
label: import("@wordpress/i18n").TranslatableText<"Private">;
|
|
7
7
|
value: string;
|
|
8
|
-
description: import("@wordpress/i18n
|
|
8
|
+
description: import("@wordpress/i18n").TranslatableText<"Only visible to site admins and editors.">;
|
|
9
9
|
} | {
|
|
10
|
-
label: import("@wordpress/i18n
|
|
10
|
+
label: import("@wordpress/i18n").TranslatableText<"Password protected">;
|
|
11
11
|
value: string;
|
|
12
|
-
description: import("@wordpress/i18n
|
|
12
|
+
description: import("@wordpress/i18n").TranslatableText<"Only visible to those who know the password.">;
|
|
13
13
|
})[];
|
|
14
14
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-block-editor-settings.d.ts","sourceRoot":"","sources":["../../../src/components/provider/use-block-editor-settings.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"use-block-editor-settings.d.ts","sourceRoot":"","sources":["../../../src/components/provider/use-block-editor-settings.js"],"names":[],"mappings":";AAmGA;;;;;;;;;GASG;AACH,kDAPW,MAAM,YACN,MAAM,UACN,MAAM,iBACN,MAAM,GAEL,MAAM,CAwQjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../src/store/selectors.js"],"names":[],"mappings":"AAgEA;;;;;;;GAOG;AACH,uCAJW,MAAM,GAEL,OAAO,CAIlB;AAED;;;;;;GAMG;AACH,yCAJW,MAAM,GAEL,OAAO,CAKlB;AA+CD;;;;;;;GAOG;AACH,sCAJW,MAAM,GAEL,OAAO,CAIlB;AAgCD;;;;;;;;;;;GAWG;AACH,0CATW,MAAM,GAOL,MAAM,CAIjB;AAED;;;;;;;GAOG;AACH,wCAJW,MAAM,GAEJ,MAAM,OAAA,CAIlB;AAED;;;;;;GAMG;AACH,4CAJW,MAAM,GAEJ,MAAM,OAAA,CAIlB;AAED;;;;;;GAMG;AACH,oDAJW,MAAM,GAEL,MAAM,CAMjB;AAED;;;;;;;GAOG;AACH,oDAJW,MAAM,GAEJ,MAAM,OAAA,CAOlB;AAsBD;;;;;;;GAOG;AACH,+CALW,MAAM,iBACN,MAAM,GAEL,GAAC,CAkBZ;AA8BD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,8CArBW,MAAM,iBACN,MAAM,GAkBL,GAAC,CAsBZ;AA6CD;;;;;;;;GAQG;AACH,+CAJW,MAAM,GAEL,MAAM,CAcjB;AAED;;;;;;GAMG;AACH,4CAJW,MAAM,GAEL,OAAO,CAIlB;AAED;;;;;;;GAOG;AACH,8CALW,MAAM,gBACN,MAAM,GAEL,OAAO,CAYlB;AAED;;;;;;GAMG;AACH,8CAJW,MAAM,GAEL,OAAO,CAOlB;AAED;;;;;;GAMG;AACH,+CAJW,MAAM,GAEL,OAAO,CAclB;AAED;;;;;;;GAOG;AACH,4CAJW,MAAM,GAEL,OAAO,CAuBlB;
|
|
1
|
+
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;;;EAA6E;AAE7E;;GAEG;AACH;;;;EAEE;AAEF;;;;EAYE;AAEF;;;;;;GAMG;AACH;;;;EAoBE;AAEF;;;;;;;GAOG;AACH;;;;EAsBE;AAEF;;;;;;;GAOG;AACH;;;;EAuBE;AAEF;;;;;;GAMG;AACH;;;;EAQE;;;;;;;;cAtmBY,MAAM;;;;kBACN,MAAM;;;;;YACN,MAAM"}
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @param {number|string} postId postId of the current post being edited.
|
|
5
5
|
*/
|
|
6
|
-
export default function usePageTypeBadge(postId: number | string): false | import("@wordpress/i18n
|
|
6
|
+
export default function usePageTypeBadge(postId: number | string): false | import("@wordpress/i18n").TranslatableText<"Homepage"> | import("@wordpress/i18n").TranslatableText<"Posts Page">;
|
|
7
7
|
//# sourceMappingURL=pageTypeBadge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pageTypeBadge.d.ts","sourceRoot":"","sources":["../../src/utils/pageTypeBadge.js"],"names":[],"mappings":"AAOA;;;;GAIG;AACH,iDAFW,MAAM,GAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"pageTypeBadge.d.ts","sourceRoot":"","sources":["../../src/utils/pageTypeBadge.js"],"names":[],"mappings":"AAOA;;;;GAIG;AACH,iDAFW,MAAM,GAAC,MAAM,6HA2BvB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/editor",
|
|
3
|
-
"version": "14.27.0",
|
|
3
|
+
"version": "14.27.1-next.46f643fa0.0",
|
|
4
4
|
"description": "Enhanced block editor for WordPress posts.",
|
|
5
5
|
"author": "The WordPress Contributors",
|
|
6
6
|
"license": "GPL-2.0-or-later",
|
|
@@ -34,41 +34,41 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@babel/runtime": "7.25.7",
|
|
37
|
-
"@wordpress/a11y": "^4.27.0",
|
|
38
|
-
"@wordpress/api-fetch": "^7.27.0",
|
|
39
|
-
"@wordpress/blob": "^4.27.0",
|
|
40
|
-
"@wordpress/block-editor": "^15.0.0",
|
|
41
|
-
"@wordpress/blocks": "^15.0.0",
|
|
42
|
-
"@wordpress/commands": "^1.27.0",
|
|
43
|
-
"@wordpress/components": "^30.
|
|
44
|
-
"@wordpress/compose": "^7.27.0",
|
|
45
|
-
"@wordpress/core-data": "^7.27.0",
|
|
46
|
-
"@wordpress/data": "^10.27.0",
|
|
47
|
-
"@wordpress/dataviews": "^
|
|
48
|
-
"@wordpress/date": "^5.27.0",
|
|
49
|
-
"@wordpress/deprecated": "^4.27.0",
|
|
50
|
-
"@wordpress/dom": "^4.27.0",
|
|
51
|
-
"@wordpress/element": "^6.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/interface": "^9.12.0",
|
|
58
|
-
"@wordpress/keyboard-shortcuts": "^5.27.0",
|
|
59
|
-
"@wordpress/keycodes": "^4.27.0",
|
|
60
|
-
"@wordpress/media-utils": "^5.27.0",
|
|
61
|
-
"@wordpress/notices": "^5.27.0",
|
|
62
|
-
"@wordpress/patterns": "^2.27.0",
|
|
63
|
-
"@wordpress/plugins": "^7.27.0",
|
|
64
|
-
"@wordpress/preferences": "^4.27.0",
|
|
65
|
-
"@wordpress/private-apis": "^1.27.0",
|
|
66
|
-
"@wordpress/reusable-blocks": "^5.27.0",
|
|
67
|
-
"@wordpress/rich-text": "^7.27.0",
|
|
68
|
-
"@wordpress/server-side-render": "^6.
|
|
69
|
-
"@wordpress/url": "^4.27.0",
|
|
70
|
-
"@wordpress/warning": "^3.27.0",
|
|
71
|
-
"@wordpress/wordcount": "^4.27.0",
|
|
37
|
+
"@wordpress/a11y": "^4.27.1-next.46f643fa0.0",
|
|
38
|
+
"@wordpress/api-fetch": "^7.27.1-next.46f643fa0.0",
|
|
39
|
+
"@wordpress/blob": "^4.27.1-next.46f643fa0.0",
|
|
40
|
+
"@wordpress/block-editor": "^15.0.1-next.46f643fa0.0",
|
|
41
|
+
"@wordpress/blocks": "^15.0.1-next.46f643fa0.0",
|
|
42
|
+
"@wordpress/commands": "^1.27.1-next.46f643fa0.0",
|
|
43
|
+
"@wordpress/components": "^30.1.1-next.46f643fa0.0",
|
|
44
|
+
"@wordpress/compose": "^7.27.1-next.46f643fa0.0",
|
|
45
|
+
"@wordpress/core-data": "^7.27.1-next.46f643fa0.0",
|
|
46
|
+
"@wordpress/data": "^10.27.1-next.46f643fa0.0",
|
|
47
|
+
"@wordpress/dataviews": "^6.0.1-next.46f643fa0.0",
|
|
48
|
+
"@wordpress/date": "^5.27.1-next.46f643fa0.0",
|
|
49
|
+
"@wordpress/deprecated": "^4.27.1-next.46f643fa0.0",
|
|
50
|
+
"@wordpress/dom": "^4.27.1-next.46f643fa0.0",
|
|
51
|
+
"@wordpress/element": "^6.27.1-next.46f643fa0.0",
|
|
52
|
+
"@wordpress/fields": "^0.19.1-next.46f643fa0.0",
|
|
53
|
+
"@wordpress/hooks": "^4.27.1-next.46f643fa0.0",
|
|
54
|
+
"@wordpress/html-entities": "^4.27.1-next.46f643fa0.0",
|
|
55
|
+
"@wordpress/i18n": "^6.0.1-next.46f643fa0.0",
|
|
56
|
+
"@wordpress/icons": "^10.27.2-next.46f643fa0.0",
|
|
57
|
+
"@wordpress/interface": "^9.12.1-next.46f643fa0.0",
|
|
58
|
+
"@wordpress/keyboard-shortcuts": "^5.27.1-next.46f643fa0.0",
|
|
59
|
+
"@wordpress/keycodes": "^4.27.1-next.46f643fa0.0",
|
|
60
|
+
"@wordpress/media-utils": "^5.27.1-next.46f643fa0.0",
|
|
61
|
+
"@wordpress/notices": "^5.27.1-next.46f643fa0.0",
|
|
62
|
+
"@wordpress/patterns": "^2.27.1-next.46f643fa0.0",
|
|
63
|
+
"@wordpress/plugins": "^7.27.1-next.46f643fa0.0",
|
|
64
|
+
"@wordpress/preferences": "^4.27.1-next.46f643fa0.0",
|
|
65
|
+
"@wordpress/private-apis": "^1.27.1-next.46f643fa0.0",
|
|
66
|
+
"@wordpress/reusable-blocks": "^5.27.1-next.46f643fa0.0",
|
|
67
|
+
"@wordpress/rich-text": "^7.27.1-next.46f643fa0.0",
|
|
68
|
+
"@wordpress/server-side-render": "^6.4.1-next.46f643fa0.0",
|
|
69
|
+
"@wordpress/url": "^4.27.1-next.46f643fa0.0",
|
|
70
|
+
"@wordpress/warning": "^3.27.1-next.46f643fa0.0",
|
|
71
|
+
"@wordpress/wordcount": "^4.27.1-next.46f643fa0.0",
|
|
72
72
|
"change-case": "^4.1.2",
|
|
73
73
|
"client-zip": "^2.4.5",
|
|
74
74
|
"clsx": "^2.1.1",
|
|
@@ -88,5 +88,5 @@
|
|
|
88
88
|
"publishConfig": {
|
|
89
89
|
"access": "public"
|
|
90
90
|
},
|
|
91
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "17e600e091675c5e3d809adfea23ac456bbeae19"
|
|
92
92
|
}
|
package/src/bindings/api.js
CHANGED
|
@@ -7,6 +7,7 @@ import { registerBlockBindingsSource } from '@wordpress/blocks';
|
|
|
7
7
|
* Internal dependencies
|
|
8
8
|
*/
|
|
9
9
|
import patternOverrides from './pattern-overrides';
|
|
10
|
+
import postData from './post-data';
|
|
10
11
|
import postMeta from './post-meta';
|
|
11
12
|
|
|
12
13
|
/**
|
|
@@ -21,5 +22,6 @@ import postMeta from './post-meta';
|
|
|
21
22
|
*/
|
|
22
23
|
export function registerCoreBlockBindingsSources() {
|
|
23
24
|
registerBlockBindingsSource( patternOverrides );
|
|
25
|
+
registerBlockBindingsSource( postData );
|
|
24
26
|
registerBlockBindingsSource( postMeta );
|
|
25
27
|
}
|