@wordpress/editor 14.13.0 → 14.13.1-next.a9f418477.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/README.md +8 -28
- package/build/bindings/post-meta.js +2 -3
- package/build/bindings/post-meta.js.map +1 -1
- package/build/components/autocompleters/user.js +1 -3
- package/build/components/autocompleters/user.js.map +1 -1
- package/build/components/collab-sidebar/constants.js +2 -1
- package/build/components/collab-sidebar/constants.js.map +1 -1
- package/build/components/collab-sidebar/index.js +108 -43
- package/build/components/collab-sidebar/index.js.map +1 -1
- package/build/components/collab-sidebar/utils.js +32 -0
- package/build/components/collab-sidebar/utils.js.map +1 -1
- package/build/components/document-bar/index.js +3 -1
- package/build/components/document-bar/index.js.map +1 -1
- package/build/components/entities-saved-states/index.js +6 -6
- package/build/components/entities-saved-states/index.js.map +1 -1
- package/build/components/error-boundary/index.js +26 -13
- package/build/components/error-boundary/index.js.map +1 -1
- package/build/components/header/index.js +5 -2
- package/build/components/header/index.js.map +1 -1
- package/build/components/index.js +10 -26
- package/build/components/index.js.map +1 -1
- package/build/components/post-actions/actions.js +29 -2
- package/build/components/post-actions/actions.js.map +1 -1
- package/build/components/post-actions/index.js +1 -1
- package/build/components/post-actions/index.js.map +1 -1
- package/build/components/post-actions/set-as-homepage.js +170 -0
- package/build/components/post-actions/set-as-homepage.js.map +1 -0
- package/build/components/post-author/constants.js +1 -1
- package/build/components/post-author/constants.js.map +1 -1
- package/build/components/post-author/hook.js +1 -0
- package/build/components/post-author/hook.js.map +1 -1
- package/build/components/post-card-panel/index.js +1 -3
- package/build/components/post-card-panel/index.js.map +1 -1
- package/build/components/post-fields/index.js +3 -3
- package/build/components/post-fields/index.js.map +1 -1
- package/build/components/post-publish-button/index.js +4 -2
- package/build/components/post-publish-button/index.js.map +1 -1
- package/build/components/post-publish-button/post-publish-button-or-toggle.js +32 -37
- package/build/components/post-publish-button/post-publish-button-or-toggle.js.map +1 -1
- package/build/components/post-publish-panel/maybe-upload-media.js +0 -1
- package/build/components/post-publish-panel/maybe-upload-media.js.map +1 -1
- package/build/components/post-publish-panel/media-util.js +0 -1
- package/build/components/post-publish-panel/media-util.js.map +1 -1
- package/build/components/post-publish-panel/postpublish.js +103 -117
- package/build/components/post-publish-panel/postpublish.js.map +1 -1
- package/build/components/post-publish-panel/prepublish.js +1 -1
- package/build/components/post-publish-panel/prepublish.js.map +1 -1
- package/build/components/post-trash/check.js +4 -4
- package/build/components/post-trash/check.js.map +1 -1
- package/build/components/post-url/index.js +2 -1
- package/build/components/post-url/index.js.map +1 -1
- package/build/components/provider/index.js +9 -1
- package/build/components/provider/index.js.map +1 -1
- package/build/components/save-publish-panels/index.js +3 -1
- package/build/components/save-publish-panels/index.js.map +1 -1
- package/build/components/template-part-menu-items/convert-to-template-part.js +2 -3
- package/build/components/template-part-menu-items/convert-to-template-part.js.map +1 -1
- package/build/components/visual-editor/index.js +2 -1
- package/build/components/visual-editor/index.js.map +1 -1
- package/build/dataviews/store/private-actions.js +17 -9
- package/build/dataviews/store/private-actions.js.map +1 -1
- package/build/private-apis.js +2 -2
- package/build/private-apis.js.map +1 -1
- package/build/store/constants.js +0 -1
- package/build/store/constants.js.map +1 -1
- package/build/store/private-actions.js +0 -1
- package/build/store/private-actions.js.map +1 -1
- package/build/store/selectors.js +1 -1
- package/build/store/selectors.js.map +1 -1
- package/build/utils/pageTypeBadge.js +3 -10
- package/build/utils/pageTypeBadge.js.map +1 -1
- package/build-module/bindings/post-meta.js +2 -3
- package/build-module/bindings/post-meta.js.map +1 -1
- package/build-module/components/autocompleters/user.js +1 -3
- package/build-module/components/autocompleters/user.js.map +1 -1
- package/build-module/components/collab-sidebar/constants.js +1 -0
- package/build-module/components/collab-sidebar/constants.js.map +1 -1
- package/build-module/components/collab-sidebar/index.js +111 -46
- package/build-module/components/collab-sidebar/index.js.map +1 -1
- package/build-module/components/collab-sidebar/utils.js +31 -0
- package/build-module/components/collab-sidebar/utils.js.map +1 -1
- package/build-module/components/document-bar/index.js +3 -1
- package/build-module/components/document-bar/index.js.map +1 -1
- package/build-module/components/entities-saved-states/index.js +6 -6
- package/build-module/components/entities-saved-states/index.js.map +1 -1
- package/build-module/components/error-boundary/index.js +28 -15
- package/build-module/components/error-boundary/index.js.map +1 -1
- package/build-module/components/header/index.js +5 -2
- package/build-module/components/header/index.js.map +1 -1
- package/build-module/components/index.js +0 -2
- package/build-module/components/index.js.map +1 -1
- package/build-module/components/post-actions/actions.js +29 -2
- package/build-module/components/post-actions/actions.js.map +1 -1
- package/build-module/components/post-actions/index.js +1 -1
- package/build-module/components/post-actions/index.js.map +1 -1
- package/build-module/components/post-actions/set-as-homepage.js +162 -0
- package/build-module/components/post-actions/set-as-homepage.js.map +1 -0
- package/build-module/components/post-author/constants.js +1 -1
- package/build-module/components/post-author/constants.js.map +1 -1
- package/build-module/components/post-author/hook.js +1 -0
- package/build-module/components/post-author/hook.js.map +1 -1
- package/build-module/components/post-card-panel/index.js +1 -3
- package/build-module/components/post-card-panel/index.js.map +1 -1
- package/build-module/components/post-fields/index.js +3 -3
- package/build-module/components/post-fields/index.js.map +1 -1
- package/build-module/components/post-publish-button/index.js +4 -2
- package/build-module/components/post-publish-button/index.js.map +1 -1
- package/build-module/components/post-publish-button/post-publish-button-or-toggle.js +34 -38
- package/build-module/components/post-publish-button/post-publish-button-or-toggle.js.map +1 -1
- package/build-module/components/post-publish-panel/maybe-upload-media.js +0 -1
- package/build-module/components/post-publish-panel/maybe-upload-media.js.map +1 -1
- package/build-module/components/post-publish-panel/media-util.js +0 -1
- package/build-module/components/post-publish-panel/media-util.js.map +1 -1
- package/build-module/components/post-publish-panel/postpublish.js +104 -118
- package/build-module/components/post-publish-panel/postpublish.js.map +1 -1
- package/build-module/components/post-publish-panel/prepublish.js +1 -1
- package/build-module/components/post-publish-panel/prepublish.js.map +1 -1
- package/build-module/components/post-trash/check.js +4 -4
- package/build-module/components/post-trash/check.js.map +1 -1
- package/build-module/components/post-url/index.js +2 -1
- package/build-module/components/post-url/index.js.map +1 -1
- package/build-module/components/provider/index.js +10 -2
- package/build-module/components/provider/index.js.map +1 -1
- package/build-module/components/save-publish-panels/index.js +3 -1
- package/build-module/components/save-publish-panels/index.js.map +1 -1
- package/build-module/components/template-part-menu-items/convert-to-template-part.js +1 -1
- package/build-module/components/template-part-menu-items/convert-to-template-part.js.map +1 -1
- package/build-module/components/visual-editor/index.js +2 -1
- package/build-module/components/visual-editor/index.js.map +1 -1
- package/build-module/dataviews/store/private-actions.js +17 -9
- package/build-module/dataviews/store/private-actions.js.map +1 -1
- package/build-module/private-apis.js +1 -1
- package/build-module/private-apis.js.map +1 -1
- package/build-module/store/constants.js +0 -1
- package/build-module/store/constants.js.map +1 -1
- package/build-module/store/private-actions.js +0 -1
- package/build-module/store/private-actions.js.map +1 -1
- package/build-module/store/selectors.js +1 -1
- package/build-module/store/selectors.js.map +1 -1
- package/build-module/utils/pageTypeBadge.js +3 -10
- package/build-module/utils/pageTypeBadge.js.map +1 -1
- package/build-style/style-rtl.css +41 -64
- package/build-style/style.css +41 -64
- package/build-types/bindings/post-meta.d.ts.map +1 -1
- package/build-types/components/autocompleters/user.d.ts +7 -3
- package/build-types/components/autocompleters/user.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/constants.d.ts +1 -0
- package/build-types/components/collab-sidebar/constants.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/index.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/utils.d.ts +10 -0
- package/build-types/components/collab-sidebar/utils.d.ts.map +1 -1
- package/build-types/components/document-bar/index.d.ts.map +1 -1
- package/build-types/components/entities-saved-states/index.d.ts +5 -5
- package/build-types/components/entities-saved-states/index.d.ts.map +1 -1
- package/build-types/components/error-boundary/index.d.ts.map +1 -1
- package/build-types/components/header/index.d.ts.map +1 -1
- package/build-types/components/index.d.ts +0 -2
- package/build-types/components/index.d.ts.map +1 -1
- package/build-types/components/keyboard-shortcut-help-modal/shortcut.d.ts +1 -1
- package/build-types/components/media-categories/index.d.ts.map +1 -1
- package/build-types/components/pattern-duplicate-modal/index.d.ts.map +1 -1
- package/build-types/components/pattern-rename-modal/index.d.ts.map +1 -1
- package/build-types/components/post-actions/actions.d.ts +1 -1
- package/build-types/components/post-actions/actions.d.ts.map +1 -1
- package/build-types/components/post-actions/set-as-homepage.d.ts +10 -0
- package/build-types/components/post-actions/set-as-homepage.d.ts.map +1 -0
- package/build-types/components/post-author/hook.d.ts.map +1 -1
- package/build-types/components/post-card-panel/index.d.ts.map +1 -1
- package/build-types/components/post-fields/index.d.ts +3 -1
- package/build-types/components/post-fields/index.d.ts.map +1 -1
- package/build-types/components/post-publish-button/index.d.ts.map +1 -1
- package/build-types/components/post-publish-button/post-publish-button-or-toggle.d.ts +1 -13
- package/build-types/components/post-publish-button/post-publish-button-or-toggle.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/postpublish.d.ts +4 -2
- package/build-types/components/post-publish-panel/postpublish.d.ts.map +1 -1
- package/build-types/components/post-taxonomies/flat-term-selector.d.ts +4 -4
- package/build-types/components/post-taxonomies/flat-term-selector.d.ts.map +1 -1
- package/build-types/components/post-taxonomies/hierarchical-term-selector.d.ts +4 -4
- package/build-types/components/post-taxonomies/hierarchical-term-selector.d.ts.map +1 -1
- package/build-types/components/post-title/constants.d.ts.map +1 -1
- package/build-types/components/post-trash/check.d.ts +6 -6
- package/build-types/components/post-trash/check.d.ts.map +1 -1
- package/build-types/components/post-url/index.d.ts +5 -2
- package/build-types/components/post-url/index.d.ts.map +1 -1
- package/build-types/components/provider/index.d.ts.map +1 -1
- package/build-types/components/save-publish-panels/index.d.ts.map +1 -1
- package/build-types/components/visual-editor/index.d.ts.map +1 -1
- package/build-types/dataviews/api.d.ts.map +1 -1
- package/build-types/dataviews/store/private-actions.d.ts.map +1 -1
- package/build-types/dataviews/store/reducer.d.ts +1 -1
- package/build-types/hooks/custom-sources-backwards-compatibility.d.ts.map +1 -1
- package/build-types/hooks/pattern-overrides.d.ts.map +1 -1
- package/build-types/lock-unlock.d.ts +2 -2
- package/build-types/store/actions.d.ts +7 -9
- package/build-types/store/actions.d.ts.map +1 -1
- package/build-types/store/private-actions.d.ts +1 -1
- package/build-types/store/private-actions.d.ts.map +1 -1
- package/build-types/store/reducer.d.ts +1 -1
- package/build-types/store/selectors.d.ts +2 -2
- package/build-types/store/selectors.d.ts.map +1 -1
- package/build-types/utils/pageTypeBadge.d.ts +3 -1
- package/build-types/utils/pageTypeBadge.d.ts.map +1 -1
- package/package.json +36 -36
- package/src/bindings/post-meta.js +2 -5
- package/src/components/autocompleters/user.js +1 -3
- package/src/components/collab-sidebar/constants.js +1 -0
- package/src/components/collab-sidebar/index.js +115 -47
- package/src/components/collab-sidebar/style.scss +13 -0
- package/src/components/collab-sidebar/utils.js +36 -0
- package/src/components/document-bar/index.js +3 -1
- package/src/components/editor-interface/style.scss +2 -1
- package/src/components/entities-saved-states/index.js +6 -9
- package/src/components/error-boundary/index.js +30 -16
- package/src/components/error-boundary/style.scss +5 -1
- package/src/components/header/index.js +17 -5
- package/src/components/header/style.scss +1 -1
- package/src/components/index.js +0 -2
- package/src/components/post-actions/actions.js +38 -2
- package/src/components/post-actions/index.js +1 -1
- package/src/components/post-actions/set-as-homepage.js +183 -0
- package/src/components/post-author/constants.js +1 -1
- package/src/components/post-author/hook.js +1 -0
- package/src/components/post-card-panel/index.js +1 -3
- package/src/components/post-card-panel/style.scss +1 -0
- package/src/components/post-fields/index.ts +5 -3
- package/src/components/post-publish-button/index.js +2 -0
- package/src/components/post-publish-button/post-publish-button-or-toggle.js +38 -40
- package/src/components/post-publish-button/test/post-publish-button-or-toggle.js +24 -9
- package/src/components/post-publish-panel/postpublish.js +114 -124
- package/src/components/post-publish-panel/prepublish.js +1 -1
- package/src/components/post-publish-panel/test/__snapshots__/index.js.snap +2 -2
- package/src/components/post-trash/check.js +4 -4
- package/src/components/post-url/index.js +2 -1
- package/src/components/provider/index.js +17 -3
- package/src/components/save-publish-panels/index.js +5 -1
- package/src/components/template-part-menu-items/convert-to-template-part.js +1 -1
- package/src/components/visual-editor/index.js +1 -0
- package/src/components/visual-editor/style.scss +29 -6
- package/src/dataviews/store/private-actions.ts +36 -20
- package/src/private-apis.js +1 -1
- package/src/store/selectors.js +1 -1
- package/src/style.scss +0 -2
- package/src/utils/pageTypeBadge.js +3 -8
- package/tsconfig.tsbuildinfo +1 -1
- package/build/components/create-template-part-modal/index.js +0 -170
- package/build/components/create-template-part-modal/index.js.map +0 -1
- package/build/components/create-template-part-modal/utils.js +0 -64
- package/build/components/create-template-part-modal/utils.js.map +0 -1
- package/build/components/post-slug/check.js +0 -29
- package/build/components/post-slug/check.js.map +0 -1
- package/build/components/post-slug/index.js +0 -79
- package/build/components/post-slug/index.js.map +0 -1
- package/build/components/post-slug/panel.js +0 -30
- package/build/components/post-slug/panel.js.map +0 -1
- package/build/dataviews/actions/duplicate-template-part.js +0 -67
- package/build/dataviews/actions/duplicate-template-part.js.map +0 -1
- package/build/dataviews/actions/utils.js +0 -58
- package/build/dataviews/actions/utils.js.map +0 -1
- package/build/dataviews/types.js +0 -6
- package/build/dataviews/types.js.map +0 -1
- package/build-module/components/create-template-part-modal/index.js +0 -162
- package/build-module/components/create-template-part-modal/index.js.map +0 -1
- package/build-module/components/create-template-part-modal/utils.js +0 -54
- package/build-module/components/create-template-part-modal/utils.js.map +0 -1
- package/build-module/components/post-slug/check.js +0 -23
- package/build-module/components/post-slug/check.js.map +0 -1
- package/build-module/components/post-slug/index.js +0 -71
- package/build-module/components/post-slug/index.js.map +0 -1
- package/build-module/components/post-slug/panel.js +0 -21
- package/build-module/components/post-slug/panel.js.map +0 -1
- package/build-module/dataviews/actions/duplicate-template-part.js +0 -58
- package/build-module/dataviews/actions/duplicate-template-part.js.map +0 -1
- package/build-module/dataviews/actions/utils.js +0 -47
- package/build-module/dataviews/actions/utils.js.map +0 -1
- package/build-module/dataviews/types.js +0 -2
- package/build-module/dataviews/types.js.map +0 -1
- package/build-types/components/create-template-part-modal/index.d.ts +0 -14
- package/build-types/components/create-template-part-modal/index.d.ts.map +0 -1
- package/build-types/components/create-template-part-modal/utils.d.ts +0 -4
- package/build-types/components/create-template-part-modal/utils.d.ts.map +0 -1
- package/build-types/components/post-slug/check.d.ts +0 -12
- package/build-types/components/post-slug/check.d.ts.map +0 -1
- package/build-types/components/post-slug/index.d.ts +0 -7
- package/build-types/components/post-slug/index.d.ts.map +0 -1
- package/build-types/components/post-slug/panel.d.ts +0 -3
- package/build-types/components/post-slug/panel.d.ts.map +0 -1
- package/build-types/dataviews/actions/duplicate-template-part.d.ts +0 -5
- package/build-types/dataviews/actions/duplicate-template-part.d.ts.map +0 -1
- package/build-types/dataviews/actions/utils.d.ts +0 -13
- package/build-types/dataviews/actions/utils.d.ts.map +0 -1
- package/build-types/dataviews/types.d.ts +0 -92
- package/build-types/dataviews/types.d.ts.map +0 -1
- package/src/components/create-template-part-modal/index.js +0 -210
- package/src/components/create-template-part-modal/style.scss +0 -63
- package/src/components/create-template-part-modal/test/utils.js +0 -60
- package/src/components/create-template-part-modal/utils.js +0 -67
- package/src/components/post-slug/check.js +0 -20
- package/src/components/post-slug/index.js +0 -73
- package/src/components/post-slug/panel.js +0 -22
- package/src/components/post-slug/style.scss +0 -5
- package/src/components/post-slug/test/index.js +0 -53
- package/src/dataviews/actions/duplicate-template-part.tsx +0 -70
- package/src/dataviews/actions/utils.ts +0 -64
- package/src/dataviews/types.ts +0 -85
|
@@ -1,17 +1,5 @@
|
|
|
1
|
-
export function PostPublishButtonOrToggle({ forceIsDirty,
|
|
1
|
+
export default function PostPublishButtonOrToggle({ forceIsDirty, setEntitiesSavedStatesCallback, }: {
|
|
2
2
|
forceIsDirty: any;
|
|
3
|
-
hasPublishAction: any;
|
|
4
|
-
isBeingScheduled: any;
|
|
5
|
-
isPending: any;
|
|
6
|
-
isPublished: any;
|
|
7
|
-
isPublishSidebarEnabled: any;
|
|
8
|
-
isPublishSidebarOpened: any;
|
|
9
|
-
isScheduled: any;
|
|
10
|
-
togglePublishSidebar: any;
|
|
11
3
|
setEntitiesSavedStatesCallback: any;
|
|
12
|
-
postStatusHasChanged: any;
|
|
13
|
-
postStatus: any;
|
|
14
4
|
}): import("react").JSX.Element;
|
|
15
|
-
declare const _default: unknown;
|
|
16
|
-
export default _default;
|
|
17
5
|
//# sourceMappingURL=post-publish-button-or-toggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-publish-button-or-toggle.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-button/post-publish-button-or-toggle.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-publish-button-or-toggle.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-button/post-publish-button-or-toggle.js"],"names":[],"mappings":"AAeA;;;gCAoFC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postpublish.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/postpublish.js"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"postpublish.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-panel/postpublish.js"],"names":[],"mappings":"AAuEA;;;gCAoGC"}
|
|
@@ -19,7 +19,7 @@ declare const _default: {
|
|
|
19
19
|
componentWillUnmount(): void;
|
|
20
20
|
render(): import("react").JSX.Element;
|
|
21
21
|
context: unknown;
|
|
22
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => Pick<{}, K> |
|
|
22
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
23
23
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
24
24
|
readonly props: Readonly<{}>;
|
|
25
25
|
state: Readonly<{}>;
|
|
@@ -28,7 +28,7 @@ declare const _default: {
|
|
|
28
28
|
};
|
|
29
29
|
shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
30
30
|
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
|
|
31
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any
|
|
31
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any;
|
|
32
32
|
componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
33
33
|
componentWillMount?(): void;
|
|
34
34
|
UNSAFE_componentWillMount?(): void;
|
|
@@ -42,7 +42,7 @@ declare const _default: {
|
|
|
42
42
|
componentWillUnmount(): void;
|
|
43
43
|
render(): import("react").JSX.Element;
|
|
44
44
|
context: unknown;
|
|
45
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => Pick<{}, K> |
|
|
45
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
46
46
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
47
47
|
readonly props: Readonly<{}>;
|
|
48
48
|
state: Readonly<{}>;
|
|
@@ -51,7 +51,7 @@ declare const _default: {
|
|
|
51
51
|
};
|
|
52
52
|
shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
53
53
|
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
|
|
54
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any
|
|
54
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any;
|
|
55
55
|
componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
56
56
|
componentWillMount?(): void;
|
|
57
57
|
UNSAFE_componentWillMount?(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flat-term-selector.d.ts","sourceRoot":"","sources":["../../../src/components/post-taxonomies/flat-term-selector.js"],"names":[],"mappings":"AAkEA;;;;;;;;GAQG;AACH,oEALG;IAAuB,IAAI,EAAnB,MAAM;IACS,uBAAuB,EAAtC,OAAO;CAEf,GAAS,KAAK,CAAC,SAAS,CAwP1B;;;;;;;yBAzRW,OAAO;;wJASX,CAAC;4BAGJ,CAAC;;;;kCAOM,OAAO;;6BACJ,CAAC;yBAId,CAAC,iCAGwB,OAAO;+BAEgB,CAAV;
|
|
1
|
+
{"version":3,"file":"flat-term-selector.d.ts","sourceRoot":"","sources":["../../../src/components/post-taxonomies/flat-term-selector.js"],"names":[],"mappings":"AAkEA;;;;;;;;GAQG;AACH,oEALG;IAAuB,IAAI,EAAnB,MAAM;IACS,uBAAuB,EAAtC,OAAO;CAEf,GAAS,KAAK,CAAC,SAAS,CAwP1B;;;;;;;yBAzRW,OAAO;;wJASX,CAAC;4BAGJ,CAAC;;;;kCAOM,OAAO;;6BACJ,CAAC;yBAId,CAAC,iCAGwB,OAAO;+BAEgB,CAAV;0BACY,CAAC,2DACjB,CAAC;0BAAwC,CAAC;iCAA2C,CAAC;iCAA2C,CAAC;wCAEtJ,CAAC;2BAEE,CAAC;kCAET,CAAC;;;;;yBAK4C,OAAO;;wJAI8E,CAAC;4BAS5I,CAAC;;;;kCAMM,OAAO;;6BAC8B,CAAC;yBAGvB,CAAC,iCACT,OAAO;+BACqB,CAAC;0BAK9B,CAAC,2DAKZ,CAAD;0BACS,CAAC;iCACqB,CAAC;iCAExB,CAAC;wCAGwB,CAAC;2BAI5B,CAAC;kCAGQ,CAAC;;yBAKf,OACJ"}
|
|
@@ -41,7 +41,7 @@ declare const _default: {
|
|
|
41
41
|
componentWillUnmount(): void;
|
|
42
42
|
render(): import("react").JSX.Element;
|
|
43
43
|
context: unknown;
|
|
44
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => Pick<{}, K> |
|
|
44
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
45
45
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
46
46
|
readonly props: Readonly<{}>;
|
|
47
47
|
state: Readonly<{}>;
|
|
@@ -50,7 +50,7 @@ declare const _default: {
|
|
|
50
50
|
};
|
|
51
51
|
shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
52
52
|
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
|
|
53
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any
|
|
53
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any;
|
|
54
54
|
componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
55
55
|
componentWillMount?(): void;
|
|
56
56
|
UNSAFE_componentWillMount?(): void;
|
|
@@ -64,7 +64,7 @@ declare const _default: {
|
|
|
64
64
|
componentWillUnmount(): void;
|
|
65
65
|
render(): import("react").JSX.Element;
|
|
66
66
|
context: unknown;
|
|
67
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => Pick<{}, K> |
|
|
67
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<{}>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
68
68
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
69
69
|
readonly props: Readonly<{}>;
|
|
70
70
|
state: Readonly<{}>;
|
|
@@ -73,7 +73,7 @@ declare const _default: {
|
|
|
73
73
|
};
|
|
74
74
|
shouldComponentUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
75
75
|
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
|
|
76
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any
|
|
76
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>): any;
|
|
77
77
|
componentDidUpdate?(prevProps: Readonly<{}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
78
78
|
componentWillMount?(): void;
|
|
79
79
|
UNSAFE_componentWillMount?(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hierarchical-term-selector.d.ts","sourceRoot":"","sources":["../../../src/components/post-taxonomies/hierarchical-term-selector.js"],"names":[],"mappings":"AA2CA;;;;;;;GAOG;AACH,0CALW,MAAM,EAAE,SACR,MAAM,EAAE,GAEP,MAAM,EAAE,CAqCnB;AAED;;;;;;;GAOG;AACH,gCALW,MAAM,EAAE,UACR,MAAM,GAAC,MAAM,QACb,MAAM,GACL,MAAM,CAUjB;AAED;;;;;GAKG;AACH,8CAHW,MAAM,GACL,CAAC,CAAS,IAAM,EAAN,MAAM,KAAG,CAAC,MAAM,GAAC,OAAO,CAAC,CAAC,CAmC/C;AAED;;;;;;GAMG;AACH,mDAHG;IAAsB,IAAI,EAAlB,MAAM;CACd,GAAS,OAAO,CAuUlB;;;;;;;yBA1ae,OAAO;;wJASC,CAAC;4BAGS,CAAC;;;;kCAIJ,OAAO;;6BAIJ,CAAC;yBASjC,CAAC,iCAC6B,OAChC;+BACQ,CAAA;
|
|
1
|
+
{"version":3,"file":"hierarchical-term-selector.d.ts","sourceRoot":"","sources":["../../../src/components/post-taxonomies/hierarchical-term-selector.js"],"names":[],"mappings":"AA2CA;;;;;;;GAOG;AACH,0CALW,MAAM,EAAE,SACR,MAAM,EAAE,GAEP,MAAM,EAAE,CAqCnB;AAED;;;;;;;GAOG;AACH,gCALW,MAAM,EAAE,UACR,MAAM,GAAC,MAAM,QACb,MAAM,GACL,MAAM,CAUjB;AAED;;;;;GAKG;AACH,8CAHW,MAAM,GACL,CAAC,CAAS,IAAM,EAAN,MAAM,KAAG,CAAC,MAAM,GAAC,OAAO,CAAC,CAAC,CAmC/C;AAED;;;;;;GAMG;AACH,mDAHG;IAAsB,IAAI,EAAlB,MAAM;CACd,GAAS,OAAO,CAuUlB;;;;;;;yBA1ae,OAAO;;wJASC,CAAC;4BAGS,CAAC;;;;kCAIJ,OAAO;;6BAIJ,CAAC;yBASjC,CAAC,iCAC6B,OAChC;+BACQ,CAAA;0BAMkB,CAAA,2DAEzB,CAAD;0BAAwC,CAAC;iCAGtC,CAAC;iCAA4C,CAAA;wCAI1C,CAAC;2BACsB,CAAC;kCAQQ,CAAA;;;;;yBAKpB,OAAO;;wJAQnB,CAAC;4BAA+D,CAAC;;;;kCAKlD,OAAM;;6BAGiB,CAAC;yBAG1C,CAAF,iCACuB,OAAO;+BACjB,CAAC;0BAK4B,CAAC,2DACd,CAAC;0BAGpB,CAAC;iCAIO,CAAC;iCAEU,CAAA;wCAED,CAAC;2BAEQ,CAAC;kCAEM,CAAA;;yBAKxC,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/post-title/constants.js"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/post-title/constants.js"],"names":[],"mappings":"AAAA,iCACC,kHAAkH,CAAC;AAEpH,qCAA0C"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Wrapper component that renders its children only if the post can trashed.
|
|
2
|
+
* Wrapper component that renders its children only if the post can be trashed.
|
|
3
3
|
*
|
|
4
|
-
* @param {Object}
|
|
5
|
-
* @param {React.
|
|
4
|
+
* @param {Object} props The component props.
|
|
5
|
+
* @param {React.ReactElement} props.children The child components.
|
|
6
6
|
*
|
|
7
|
-
* @return {React.ReactElement} The rendered child components or null if the post can
|
|
7
|
+
* @return {React.ReactElement | null} The rendered child components or null if the post can't be trashed.
|
|
8
8
|
*/
|
|
9
9
|
export default function PostTrashCheck({ children }: {
|
|
10
|
-
children: React.
|
|
11
|
-
}): React.ReactElement;
|
|
10
|
+
children: React.ReactElement;
|
|
11
|
+
}): React.ReactElement | null;
|
|
12
12
|
//# sourceMappingURL=check.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/components/post-trash/check.js"],"names":[],"mappings":"AAYA;;;;;;;GAOG;AACH,qDAJG;
|
|
1
|
+
{"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/components/post-trash/check.js"],"names":[],"mappings":"AAYA;;;;;;;GAOG;AACH,qDAJG;IAAkC,QAAQ,EAAlC,KAAK,CAAC,YAAY;CAE1B,GAAS,KAAK,CAAC,YAAY,GAAG,IAAI,CA8BpC"}
|
|
@@ -6,9 +6,12 @@
|
|
|
6
6
|
* <PostURL />
|
|
7
7
|
* ```
|
|
8
8
|
*
|
|
9
|
-
* @param {
|
|
9
|
+
* @param {{ onClose: () => void }} props The props for the component.
|
|
10
|
+
* @param {() => void} props.onClose Callback function to be executed when the popover is closed.
|
|
10
11
|
*
|
|
11
12
|
* @return {React.ReactNode} The rendered PostURL component.
|
|
12
13
|
*/
|
|
13
|
-
export default function PostURL({ onClose }:
|
|
14
|
+
export default function PostURL({ onClose }: {
|
|
15
|
+
onClose: () => void;
|
|
16
|
+
}): React.ReactNode;
|
|
14
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-url/index.js"],"names":[],"mappings":"AA0BA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-url/index.js"],"names":[],"mappings":"AA0BA;;;;;;;;;;;;GAYG;AACH,6CALW;IAAE,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,GAGtB,KAAK,CAAC,SAAS,CAgK1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/provider/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/provider/index.js"],"names":[],"mappings":"AA+YA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,sCArBG;IAAwB,IAAI;IACJ,kBAAkB;IAElB,QAAQ;IAER,QAAQ;CAGhC,GAWS,KAAK,CAAC,SAAS,CAW1B;AApTD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,4GAiPE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/save-publish-panels/index.js"],"names":[],"mappings":"AAqBA;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/save-publish-panels/index.js"],"names":[],"mappings":"AAqBA;;;;;gCA6FC;AA/FD;kHAqBgB,OAAO;;EArBc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/visual-editor/index.js"],"names":[],"mappings":";AAmGA;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/visual-editor/index.js"],"names":[],"mappings":";AAmGA;;;;;;;gCA+YC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/dataviews/api.js"],"names":[],"mappings":"AAWA;;;GAGG;AAEH;;;;;;;;;GASG;AAEH,2CALW,MAAM,QACN,MAAM,UACN,MAAM,QAWhB;AAED;;;;;;;;;GASG;AACH,6CAJW,MAAM,QACN,MAAM,YACN,MAAM,QAUhB;AAED;;;;;;;;;GASG;AACH,0CAJW,MAAM,QACN,MAAM,UACN,KAAK,QAUf;AAED;;;;;;;;;GASG;AACH,4CAJW,MAAM,QACN,MAAM,WACN,MAAM,QAUhB
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../src/dataviews/api.js"],"names":[],"mappings":"AAWA;;;GAGG;AAEH;;;;;;;;;GASG;AAEH,2CALW,MAAM,QACN,MAAM,UACN,MAAM,QAWhB;AAED;;;;;;;;;GASG;AACH,6CAJW,MAAM,QACN,MAAM,YACN,MAAM,QAUhB;AAED;;;;;;;;;GASG;AACH,0CAJW,MAAM,QACN,MAAM,UACN,KAAK,QAUf;AAED;;;;;;;;;GASG;AACH,4CAJW,MAAM,QACN,MAAM,WACN,MAAM,QAUhB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private-actions.d.ts","sourceRoot":"","sources":["../../../src/dataviews/store/private-actions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"private-actions.d.ts","sourceRoot":"","sources":["../../../src/dataviews/store/private-actions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAsC1D,wBAAgB,oBAAoB,CAAE,IAAI,EACzC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,CAAE,IAAI,CAAE;;;;;EAQtB;AAED,wBAAgB,sBAAsB,CACrC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM;;;;;EAQhB;AAED,wBAAgB,mBAAmB,CAAE,IAAI,EACxC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,KAAK,CAAE,IAAI,CAAE;;;;;EAQrB;AAED,wBAAgB,qBAAqB,CACpC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM;;;;;EAQf;AAED,wBAAgB,UAAU,CAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;;;;EAMrD;AAED,eAAO,MAAM,sBAAsB,aACtB,MAAM,oBACI;IAAE,QAAQ,EAAE,GAAG,CAAA;CAAE,kBA0GtC,CAAC"}
|
|
@@ -16,7 +16,7 @@ declare const _default: import("redux").Reducer<{
|
|
|
16
16
|
};
|
|
17
17
|
fields: {
|
|
18
18
|
[x: string]: Record<string, Field<any>[]> | {
|
|
19
|
-
[x: string]: Field<any>[] | (Field<
|
|
19
|
+
[x: string]: Field<any>[] | (Field<unknown> | Field<any>)[];
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
isReady: ReadyState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-sources-backwards-compatibility.d.ts","sourceRoot":"","sources":["../../src/hooks/custom-sources-backwards-compatibility.js"],"names":[],"mappings":"qCAcc,OAAO,oBAAoB,EAAE,sBAAsB
|
|
1
|
+
{"version":3,"file":"custom-sources-backwards-compatibility.d.ts","sourceRoot":"","sources":["../../src/hooks/custom-sources-backwards-compatibility.js"],"names":[],"mappings":"qCAcc,OAAO,oBAAoB,EAAE,sBAAsB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pattern-overrides.d.ts","sourceRoot":"","sources":["../../src/hooks/pattern-overrides.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pattern-overrides.d.ts","sourceRoot":"","sources":["../../src/hooks/pattern-overrides.js"],"names":[],"mappings":""}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export const lock: (object:
|
|
2
|
-
export const unlock: (object:
|
|
1
|
+
export const lock: (object: unknown, privateData: unknown) => void;
|
|
2
|
+
export const unlock: <T = any>(object: unknown) => T;
|
|
3
3
|
//# sourceMappingURL=lock-unlock.d.ts.map
|
|
@@ -197,11 +197,11 @@ export function closePublishSidebar(): Object;
|
|
|
197
197
|
* @return {Object} Action object
|
|
198
198
|
*/
|
|
199
199
|
export function togglePublishSidebar(): Object;
|
|
200
|
-
export function setupEditor(post: Object, edits: Object, template?: any[]
|
|
200
|
+
export function setupEditor(post: Object, edits: Object, template?: any[]): ({ dispatch }: {
|
|
201
201
|
dispatch: any;
|
|
202
202
|
}) => void;
|
|
203
|
-
export function editPost(edits: Object, options?: Object
|
|
204
|
-
export function savePost(options?: Object
|
|
203
|
+
export function editPost(edits: Object, options?: Object): Object;
|
|
204
|
+
export function savePost(options?: Object): ({ select, dispatch, registry }: {
|
|
205
205
|
select: any;
|
|
206
206
|
dispatch: any;
|
|
207
207
|
registry: any;
|
|
@@ -213,13 +213,11 @@ export function trashPost(): ({ select, dispatch, registry }: {
|
|
|
213
213
|
}) => Promise<void>;
|
|
214
214
|
export function autosave({ local, ...options }?: {
|
|
215
215
|
local?: boolean | undefined;
|
|
216
|
-
}
|
|
216
|
+
}): ({ select, dispatch }: {
|
|
217
217
|
select: any;
|
|
218
218
|
dispatch: any;
|
|
219
219
|
}) => Promise<void>;
|
|
220
|
-
export function __unstableSaveForPreview({ forceIsAutosaveable }?: {
|
|
221
|
-
forceIsAutosaveable: any;
|
|
222
|
-
}): ({ select, dispatch }: {
|
|
220
|
+
export function __unstableSaveForPreview({ forceIsAutosaveable }?: {}): ({ select, dispatch }: {
|
|
223
221
|
select: any;
|
|
224
222
|
dispatch: any;
|
|
225
223
|
}) => Promise<any>;
|
|
@@ -235,7 +233,7 @@ export function enablePublishSidebar(): ({ registry }: {
|
|
|
235
233
|
export function disablePublishSidebar(): ({ registry }: {
|
|
236
234
|
registry: any;
|
|
237
235
|
}) => void;
|
|
238
|
-
export function resetEditorBlocks(blocks: any[], options?: Object
|
|
236
|
+
export function resetEditorBlocks(blocks: any[], options?: Object): ({ select, dispatch, registry }: {
|
|
239
237
|
select: any;
|
|
240
238
|
dispatch: any;
|
|
241
239
|
registry: any;
|
|
@@ -252,7 +250,7 @@ export function toggleEditorPanelOpened(panelName: string): ({ registry }: {
|
|
|
252
250
|
export function setIsInserterOpened(value: boolean | Object): Object;
|
|
253
251
|
export function toggleDistractionFree({ createNotice }?: {
|
|
254
252
|
createNotice?: boolean | undefined;
|
|
255
|
-
}
|
|
253
|
+
}): ({ dispatch, registry }: {
|
|
256
254
|
dispatch: any;
|
|
257
255
|
registry: any;
|
|
258
256
|
}) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../src/store/actions.js"],"names":[],"mappings":"AA0EA;;;;;;;GAOG;AACH,gDAFY,MAAM,CAUjB;AAED;;;;;GAKG;AACH;;EAOC;AAED;;;;;;GAMG;AACH,8BAHY,MAAM,CAWjB;AAED;;;;;;GAMG;AACH,uCAFW,MAAM,UAQhB;AAED;;;;;;;GAOG;AACH,wCALW,MAAM,UACN,MAAM,GAEL,MAAM,CAQjB;AA4KD;;;;GAIG;AACH;;EAOC;AAsGD;;;;GAIG;AACH;;EAOC;AAED;;;;;GAKG;AACH,qCAHW,MAAM,GACL,MAAM,CAOjB;AAwBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,yCAxCW,MAAM,GAsCL,MAAM,CAOjB;AAED;;;;;;;;;;;;GAYG;AACH,2CAVW,MAAM,GAQL,MAAM,CAOjB;AAED;;;;;;;;;;;;GAYG;AACH,6CAVW,MAAM,GAQL,MAAM,CAOjB;AAED;;;;;;;;;;;;GAYG;AACH,+CAVW,MAAM,GAQL,MAAM,CAOjB;AA6CD;;;EAKC;AAyBD;;;;;;GAMG;AACH,0CAJW,MAAM,GAEL,MAAM,CAOjB;AAiED;;;;;;GAMG;AACH,6CAJW,MAAM,GAEL,MAAM,CAOjB;AAsCD;;;;;GAKG;AACH,4CAHW,OAAO,GACN,MAAM,CAOjB;AAiLD;;;;;GAKG;AACH,sCAFY,MAAM,CAMjB;AAED;;;;;GAKG;AACH,uCAFY,MAAM,CAMjB;AAED;;;;GAIG;AACH,wCAFY,MAAM,CAMjB;AAl9BM,kCAJI,MAAM,SACN,MAAM;;WAkCf;AAiHK,gCA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;AAKK;;WAIL;AAgCK;;WAML;AAKK;;WAML;AAsHK,2DAFI,MAAM;;;;WA8Bf;AAwBK,uCAFI,MAAM;;;;WAef;AAuBK,oDAJI,MAAM,GAEL,MAAM,CA0BhB;AAOK,mDAFI,MAAM;;WAyBf;AAgCK,2CAbI,OAAO,GAAC,MAAM,GAWb,MAAM,CAoBhB;AAuBK,yDAFJ;IAA0B,YAAY;CACxC;;;WAiEC;AAKK;;WA8BL;AAKK;;WA+BL;AAOK,uCAFI,MAAM;;;WAyBf;AA2CD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC;AATD;;WASC"}
|
|
@@ -28,7 +28,7 @@ export function saveDirtyEntities({ onSave, dirtyEntityRecords, entitiesToSkip,
|
|
|
28
28
|
}) => void;
|
|
29
29
|
export function revertTemplate(template: Object, { allowUndo }?: {
|
|
30
30
|
allowUndo?: boolean | undefined;
|
|
31
|
-
}
|
|
31
|
+
}): ({ registry }: {
|
|
32
32
|
registry: any;
|
|
33
33
|
}) => Promise<void>;
|
|
34
34
|
export function removeTemplates(items: any[]): ({ registry }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private-actions.d.ts","sourceRoot":"","sources":["../../src/store/private-actions.js"],"names":[],"mappings":"AAmBA;;;;;;GAMG;AACH,yCAJW,MAAM,GAEL,MAAM,CAOjB;;AAOM,yCAFI,MAAM,OAAC;;;;mBAqChB;AAOK,2CAFI,MAAM,EAAE;;WAoBjB;AAOK,2CAFI,MAAM,EAAE;;WAkBjB;AAWK,0FALJ;IAA2B,MAAM;IACN,kBAAkB;IAClB,cAAc;IACd,KAAK;CAClC;;WAmGC;AAUK,yCALI,MAAM
|
|
1
|
+
{"version":3,"file":"private-actions.d.ts","sourceRoot":"","sources":["../../src/store/private-actions.js"],"names":[],"mappings":"AAmBA;;;;;;GAMG;AACH,yCAJW,MAAM,GAEL,MAAM,CAOjB;;AAOM,yCAFI,MAAM,OAAC;;;;mBAqChB;AAOK,2CAFI,MAAM,EAAE;;WAoBjB;AAOK,2CAFI,MAAM,EAAE;;WAkBjB;AAWK,0FALJ;IAA2B,MAAM;IACN,kBAAkB;IAClB,cAAc;IACd,KAAK;CAClC;;WAmGC;AAUK,yCALI,MAAM,kBAEd;IAA0B,SAAS;CAErC;;oBA6HC;AAOK;;oBA0HL"}
|
|
@@ -203,7 +203,7 @@ declare const _default: import("redux").Reducer<{
|
|
|
203
203
|
};
|
|
204
204
|
fields: {
|
|
205
205
|
[x: string]: Record<string, import("@wordpress/dataviews").Field<any>[]> | {
|
|
206
|
-
[x: string]: import("@wordpress/dataviews").Field<any>[] | (import("@wordpress/dataviews").Field<
|
|
206
|
+
[x: string]: import("@wordpress/dataviews").Field<any>[] | (import("@wordpress/dataviews").Field<unknown> | import("@wordpress/dataviews").Field<any>)[];
|
|
207
207
|
};
|
|
208
208
|
};
|
|
209
209
|
isReady: import("../dataviews/store/reducer").ReadyState;
|
|
@@ -51,7 +51,7 @@ export function getCurrentPostId(state: Object): number | null;
|
|
|
51
51
|
*
|
|
52
52
|
* @param {Object} state Global application state.
|
|
53
53
|
*
|
|
54
|
-
* @return {string
|
|
54
|
+
* @return {?string} Template ID.
|
|
55
55
|
*/
|
|
56
56
|
export function getCurrentTemplateId(state: Object): string | null;
|
|
57
57
|
/**
|
|
@@ -133,7 +133,7 @@ export function isCurrentPostPending(state: Object): boolean;
|
|
|
133
133
|
*
|
|
134
134
|
* @return {boolean} Whether the post has been published.
|
|
135
135
|
*/
|
|
136
|
-
export function isCurrentPostPublished(state: Object, currentPost?: Object
|
|
136
|
+
export function isCurrentPostPublished(state: Object, currentPost?: Object): boolean;
|
|
137
137
|
/**
|
|
138
138
|
* Returns true if post is already scheduled.
|
|
139
139
|
*
|
|
@@ -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,
|
|
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,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AE/E;;GAEG;AACH,wCAA6E;AAE7E;;GAEG;AACH,0CACgD;AAEhD;;GAEG;AACH,oCAAqE;AAErE;;GAEG;AACH,gCAA6D;AAE7D;;GAEG;AACH,kDAEE;AAEF;;GAEG;AACH,8CAEE;AAEF;;GAEG;AACH,oDAEE;AAEF;;GAEG;AACH,uCAA2E;AAE3E;;GAEG;AACH,mCAAmE;AAEnE;;GAEG;AACH,uCAA2E;AAE3E;;GAEG;AACH,0CACgD;AAEhD;;GAEG;AACH,wCAA6E;AAE7E;;GAEG;AACH,wCAA6E;AAE7E;;GAEG;AACH,4CAEE;AAEF,6DAaE;AAEF;;;;;;GAMG;AACH,iEAoBE;AAEF;;;;;;;GAOG;AACH,4DAwBE;AAEF;;;;;;;GAOG;AACH,qDAyBE;AAEF;;;;;;GAMG;AACH,wCAQE;;;;;;;;cA3mBY,MAAM;;;;kBACN,MAAM;;;;;YACN,MAAM"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Custom hook to get the page type badge for the current post on edit site view.
|
|
3
|
+
*
|
|
4
|
+
* @param {number} postId postId of the current post being edited.
|
|
3
5
|
*/
|
|
4
|
-
export default function usePageTypeBadge(): string | false;
|
|
6
|
+
export default function usePageTypeBadge(postId: number): string | false;
|
|
5
7
|
//# sourceMappingURL=pageTypeBadge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pageTypeBadge.d.ts","sourceRoot":"","sources":["../../src/utils/pageTypeBadge.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pageTypeBadge.d.ts","sourceRoot":"","sources":["../../src/utils/pageTypeBadge.js"],"names":[],"mappings":"AAOA;;;;GAIG;AACH,iDAFW,MAAM,kBAyBhB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wordpress/editor",
|
|
3
|
-
"version": "14.13.0",
|
|
3
|
+
"version": "14.13.1-next.a9f418477.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": "
|
|
38
|
-
"@wordpress/api-fetch": "
|
|
39
|
-
"@wordpress/blob": "
|
|
40
|
-
"@wordpress/block-editor": "
|
|
41
|
-
"@wordpress/blocks": "
|
|
42
|
-
"@wordpress/commands": "
|
|
37
|
+
"@wordpress/a11y": "^4.13.1-next.a9f418477.0",
|
|
38
|
+
"@wordpress/api-fetch": "^7.13.1-next.a9f418477.0",
|
|
39
|
+
"@wordpress/blob": "^4.13.1-next.a9f418477.0",
|
|
40
|
+
"@wordpress/block-editor": "^14.8.1-next.a9f418477.0",
|
|
41
|
+
"@wordpress/blocks": "^14.2.1-next.a9f418477.0",
|
|
42
|
+
"@wordpress/commands": "^1.13.1-next.a9f418477.0",
|
|
43
43
|
"@wordpress/components": "*",
|
|
44
|
-
"@wordpress/compose": "
|
|
45
|
-
"@wordpress/core-data": "
|
|
46
|
-
"@wordpress/data": "
|
|
47
|
-
"@wordpress/dataviews": "
|
|
48
|
-
"@wordpress/date": "
|
|
49
|
-
"@wordpress/deprecated": "
|
|
50
|
-
"@wordpress/dom": "
|
|
51
|
-
"@wordpress/element": "
|
|
52
|
-
"@wordpress/fields": "
|
|
53
|
-
"@wordpress/hooks": "
|
|
54
|
-
"@wordpress/html-entities": "
|
|
55
|
-
"@wordpress/i18n": "
|
|
56
|
-
"@wordpress/icons": "
|
|
57
|
-
"@wordpress/interface": "
|
|
58
|
-
"@wordpress/keyboard-shortcuts": "
|
|
59
|
-
"@wordpress/keycodes": "
|
|
60
|
-
"@wordpress/media-utils": "
|
|
61
|
-
"@wordpress/notices": "
|
|
62
|
-
"@wordpress/patterns": "
|
|
63
|
-
"@wordpress/plugins": "
|
|
64
|
-
"@wordpress/preferences": "
|
|
65
|
-
"@wordpress/private-apis": "
|
|
66
|
-
"@wordpress/reusable-blocks": "
|
|
67
|
-
"@wordpress/rich-text": "
|
|
68
|
-
"@wordpress/server-side-render": "
|
|
69
|
-
"@wordpress/url": "
|
|
70
|
-
"@wordpress/warning": "
|
|
71
|
-
"@wordpress/wordcount": "
|
|
44
|
+
"@wordpress/compose": "^7.13.1-next.a9f418477.0",
|
|
45
|
+
"@wordpress/core-data": "^7.13.1-next.a9f418477.0",
|
|
46
|
+
"@wordpress/data": "^10.13.1-next.a9f418477.0",
|
|
47
|
+
"@wordpress/dataviews": "^4.9.1-next.a9f418477.0",
|
|
48
|
+
"@wordpress/date": "^5.13.1-next.a9f418477.0",
|
|
49
|
+
"@wordpress/deprecated": "^4.13.1-next.a9f418477.0",
|
|
50
|
+
"@wordpress/dom": "^4.13.1-next.a9f418477.0",
|
|
51
|
+
"@wordpress/element": "^6.13.1-next.a9f418477.0",
|
|
52
|
+
"@wordpress/fields": "^0.5.1-next.a9f418477.0",
|
|
53
|
+
"@wordpress/hooks": "^4.13.1-next.a9f418477.0",
|
|
54
|
+
"@wordpress/html-entities": "^4.13.1-next.a9f418477.0",
|
|
55
|
+
"@wordpress/i18n": "^5.13.1-next.a9f418477.0",
|
|
56
|
+
"@wordpress/icons": "^10.13.1-next.a9f418477.0",
|
|
57
|
+
"@wordpress/interface": "^8.2.1-next.a9f418477.0",
|
|
58
|
+
"@wordpress/keyboard-shortcuts": "^5.13.1-next.a9f418477.0",
|
|
59
|
+
"@wordpress/keycodes": "^4.13.1-next.a9f418477.0",
|
|
60
|
+
"@wordpress/media-utils": "^5.13.1-next.a9f418477.0",
|
|
61
|
+
"@wordpress/notices": "^5.13.1-next.a9f418477.0",
|
|
62
|
+
"@wordpress/patterns": "^2.13.1-next.a9f418477.0",
|
|
63
|
+
"@wordpress/plugins": "^7.13.1-next.a9f418477.0",
|
|
64
|
+
"@wordpress/preferences": "^4.13.1-next.a9f418477.0",
|
|
65
|
+
"@wordpress/private-apis": "^1.13.1-next.a9f418477.0",
|
|
66
|
+
"@wordpress/reusable-blocks": "^5.13.1-next.a9f418477.0",
|
|
67
|
+
"@wordpress/rich-text": "^7.13.1-next.a9f418477.0",
|
|
68
|
+
"@wordpress/server-side-render": "^5.13.1-next.a9f418477.0",
|
|
69
|
+
"@wordpress/url": "^4.13.1-next.a9f418477.0",
|
|
70
|
+
"@wordpress/warning": "^3.13.1-next.a9f418477.0",
|
|
71
|
+
"@wordpress/wordcount": "^4.13.1-next.a9f418477.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": "c1a8f3e9cada3b7d8342d1d2595c2dac0433111d"
|
|
92
92
|
}
|
|
@@ -108,11 +108,8 @@ export default {
|
|
|
108
108
|
return false;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
// Check that editing is happening in the post editor and not a template.
|
|
115
|
-
if ( postType === 'wp_template' ) {
|
|
111
|
+
// Lock editing when `postType` is not defined.
|
|
112
|
+
if ( ! context?.postType ) {
|
|
116
113
|
return false;
|
|
117
114
|
}
|
|
118
115
|
|
|
@@ -5,8 +5,6 @@ import { useMemo } from '@wordpress/element';
|
|
|
5
5
|
import { useSelect } from '@wordpress/data';
|
|
6
6
|
import { store as coreStore } from '@wordpress/core-data';
|
|
7
7
|
|
|
8
|
-
/** @typedef {import('@wordpress/components').WPCompleter} WPCompleter */
|
|
9
|
-
|
|
10
8
|
export function getUserLabel( user ) {
|
|
11
9
|
const avatar =
|
|
12
10
|
user.avatar_urls && user.avatar_urls[ 24 ] ? (
|
|
@@ -35,7 +33,7 @@ export function getUserLabel( user ) {
|
|
|
35
33
|
/**
|
|
36
34
|
* A user mentions completer.
|
|
37
35
|
*
|
|
38
|
-
* @type {
|
|
36
|
+
* @type {Object}
|
|
39
37
|
*/
|
|
40
38
|
export default {
|
|
41
39
|
name: 'users',
|