@wordpress/editor 14.42.0 → 14.43.1-next.v.202604091042.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/README.md +8 -0
- package/build/components/autocompleters/index.cjs +3 -0
- package/build/components/autocompleters/index.cjs.map +2 -2
- package/build/components/autocompleters/link.cjs +71 -0
- package/build/components/autocompleters/link.cjs.map +7 -0
- package/build/components/collaborators-overlay/cursor-dom-utils.cjs +1 -1
- package/build/components/collaborators-overlay/cursor-dom-utils.cjs.map +2 -2
- package/build/components/collaborators-overlay/cursor-registry.cjs +86 -0
- package/build/components/collaborators-overlay/cursor-registry.cjs.map +7 -0
- package/build/components/collaborators-overlay/index.cjs +7 -2
- package/build/components/collaborators-overlay/index.cjs.map +2 -2
- package/build/components/collaborators-overlay/overlay-iframe-styles.cjs +1 -1
- package/build/components/collaborators-overlay/overlay-iframe-styles.cjs.map +2 -2
- package/build/components/collaborators-overlay/overlay.cjs +31 -1
- package/build/components/collaborators-overlay/overlay.cjs.map +2 -2
- package/build/components/collaborators-overlay/timing-utils.cjs +1 -1
- package/build/components/collaborators-overlay/timing-utils.cjs.map +2 -2
- package/build/components/collaborators-overlay/use-render-cursors.cjs.map +2 -2
- package/build/components/collaborators-presence/index.cjs +14 -4
- package/build/components/collaborators-presence/index.cjs.map +2 -2
- package/build/components/collaborators-presence/list.cjs +20 -4
- package/build/components/collaborators-presence/list.cjs.map +2 -2
- package/build/components/error-boundary/index.cjs +1 -1
- package/build/components/error-boundary/index.cjs.map +2 -2
- package/build/components/post-card-panel/index.cjs +4 -15
- package/build/components/post-card-panel/index.cjs.map +2 -2
- package/build/components/post-content-information/index.cjs +10 -13
- package/build/components/post-content-information/index.cjs.map +2 -2
- package/build/components/post-revisions-panel/index.cjs +164 -0
- package/build/components/post-revisions-panel/index.cjs.map +7 -0
- package/build/components/post-revisions-preview/revisions-slider.cjs +23 -12
- package/build/components/post-revisions-preview/revisions-slider.cjs.map +2 -2
- package/build/components/post-template/create-new-template-modal.cjs +39 -46
- package/build/components/post-template/create-new-template-modal.cjs.map +2 -2
- package/build/components/post-template/hooks.cjs +52 -6
- package/build/components/post-template/hooks.cjs.map +2 -2
- package/build/components/post-template/swap-template-button.cjs +31 -20
- package/build/components/post-template/swap-template-button.cjs.map +2 -2
- package/build/components/post-title/index.cjs +2 -2
- package/build/components/post-title/index.cjs.map +2 -2
- package/build/components/preferences-modal/index.cjs +35 -27
- package/build/components/preferences-modal/index.cjs.map +2 -2
- package/build/components/revision-block-diff/index.cjs +9 -32
- package/build/components/revision-block-diff/index.cjs.map +3 -3
- package/build/components/revision-diff-panel/index.cjs +68 -0
- package/build/components/revision-diff-panel/index.cjs.map +7 -0
- package/build/components/revision-fields-diff/index.cjs +96 -0
- package/build/components/revision-fields-diff/index.cjs.map +7 -0
- package/build/components/sidebar/dataform-post-summary.cjs +8 -53
- package/build/components/sidebar/dataform-post-summary.cjs.map +2 -2
- package/build/components/sidebar/index.cjs +25 -22
- package/build/components/sidebar/index.cjs.map +3 -3
- package/build/components/sidebar/post-revision-summary.cjs +74 -0
- package/build/components/sidebar/post-revision-summary.cjs.map +7 -0
- package/build/components/sidebar/post-summary.cjs +35 -42
- package/build/components/sidebar/post-summary.cjs.map +3 -3
- package/build/components/style-book/index.cjs +4 -3
- package/build/components/style-book/index.cjs.map +2 -2
- package/build/components/styles-canvas/revisions.cjs +2 -2
- package/build/components/styles-canvas/revisions.cjs.map +1 -1
- package/build/components/sync-connection-error-modal/index.cjs +58 -75
- package/build/components/sync-connection-error-modal/index.cjs.map +3 -3
- package/build/components/sync-connection-error-modal/use-retry-countdown.cjs +32 -9
- package/build/components/sync-connection-error-modal/use-retry-countdown.cjs.map +2 -2
- package/build/components/template-actions-panel/block-theme-content.cjs +188 -0
- package/build/components/template-actions-panel/block-theme-content.cjs.map +7 -0
- package/build/components/template-actions-panel/classic-theme-content.cjs +159 -0
- package/build/components/template-actions-panel/classic-theme-content.cjs.map +7 -0
- package/build/components/template-actions-panel/index.cjs +59 -0
- package/build/components/template-actions-panel/index.cjs.map +7 -0
- package/build/dataviews/store/private-actions.cjs +2 -0
- package/build/dataviews/store/private-actions.cjs.map +2 -2
- package/build/hooks/default-autocompleters.cjs +1 -1
- package/build/hooks/default-autocompleters.cjs.map +2 -2
- package/build/store/private-actions.cjs +15 -1
- package/build/store/private-actions.cjs.map +2 -2
- package/build/store/private-selectors.cjs +42 -19
- package/build/store/private-selectors.cjs.map +2 -2
- package/build/store/reducer.cjs +1 -1
- package/build/store/reducer.cjs.map +2 -2
- package/build-module/components/autocompleters/index.mjs +4 -2
- package/build-module/components/autocompleters/index.mjs.map +2 -2
- package/build-module/components/autocompleters/link.mjs +40 -0
- package/build-module/components/autocompleters/link.mjs.map +7 -0
- package/build-module/components/collaborators-overlay/cursor-dom-utils.mjs +1 -1
- package/build-module/components/collaborators-overlay/cursor-dom-utils.mjs.map +2 -2
- package/build-module/components/collaborators-overlay/cursor-registry.mjs +61 -0
- package/build-module/components/collaborators-overlay/cursor-registry.mjs.map +7 -0
- package/build-module/components/collaborators-overlay/index.mjs +7 -2
- package/build-module/components/collaborators-overlay/index.mjs.map +2 -2
- package/build-module/components/collaborators-overlay/overlay-iframe-styles.mjs +1 -1
- package/build-module/components/collaborators-overlay/overlay-iframe-styles.mjs.map +2 -2
- package/build-module/components/collaborators-overlay/overlay.mjs +32 -2
- package/build-module/components/collaborators-overlay/overlay.mjs.map +2 -2
- package/build-module/components/collaborators-overlay/timing-utils.mjs +1 -1
- package/build-module/components/collaborators-overlay/timing-utils.mjs.map +2 -2
- package/build-module/components/collaborators-overlay/use-render-cursors.mjs.map +2 -2
- package/build-module/components/collaborators-presence/index.mjs +14 -4
- package/build-module/components/collaborators-presence/index.mjs.map +2 -2
- package/build-module/components/collaborators-presence/list.mjs +20 -4
- package/build-module/components/collaborators-presence/list.mjs.map +2 -2
- package/build-module/components/error-boundary/index.mjs +1 -1
- package/build-module/components/error-boundary/index.mjs.map +2 -2
- package/build-module/components/post-card-panel/index.mjs +6 -17
- package/build-module/components/post-card-panel/index.mjs.map +2 -2
- package/build-module/components/post-content-information/index.mjs +6 -13
- package/build-module/components/post-content-information/index.mjs.map +2 -2
- package/build-module/components/post-revisions-panel/index.mjs +139 -0
- package/build-module/components/post-revisions-panel/index.mjs.map +7 -0
- package/build-module/components/post-revisions-preview/revisions-slider.mjs +23 -12
- package/build-module/components/post-revisions-preview/revisions-slider.mjs.map +2 -2
- package/build-module/components/post-template/create-new-template-modal.mjs +39 -46
- package/build-module/components/post-template/create-new-template-modal.mjs.map +2 -2
- package/build-module/components/post-template/hooks.mjs +53 -7
- package/build-module/components/post-template/hooks.mjs.map +2 -2
- package/build-module/components/post-template/swap-template-button.mjs +27 -20
- package/build-module/components/post-template/swap-template-button.mjs.map +2 -2
- package/build-module/components/post-title/index.mjs +2 -2
- package/build-module/components/post-title/index.mjs.map +2 -2
- package/build-module/components/preferences-modal/index.mjs +35 -27
- package/build-module/components/preferences-modal/index.mjs.map +2 -2
- package/build-module/components/revision-block-diff/index.mjs +9 -32
- package/build-module/components/revision-block-diff/index.mjs.map +2 -2
- package/build-module/components/revision-diff-panel/index.mjs +37 -0
- package/build-module/components/revision-diff-panel/index.mjs.map +7 -0
- package/build-module/components/revision-fields-diff/index.mjs +65 -0
- package/build-module/components/revision-fields-diff/index.mjs.map +7 -0
- package/build-module/components/sidebar/dataform-post-summary.mjs +8 -53
- package/build-module/components/sidebar/dataform-post-summary.mjs.map +2 -2
- package/build-module/components/sidebar/index.mjs +25 -22
- package/build-module/components/sidebar/index.mjs.map +2 -2
- package/build-module/components/sidebar/post-revision-summary.mjs +43 -0
- package/build-module/components/sidebar/post-revision-summary.mjs.map +7 -0
- package/build-module/components/sidebar/post-summary.mjs +31 -42
- package/build-module/components/sidebar/post-summary.mjs.map +2 -2
- package/build-module/components/style-book/index.mjs +4 -3
- package/build-module/components/style-book/index.mjs.map +2 -2
- package/build-module/components/styles-canvas/revisions.mjs +2 -2
- package/build-module/components/styles-canvas/revisions.mjs.map +1 -1
- package/build-module/components/sync-connection-error-modal/index.mjs +58 -76
- package/build-module/components/sync-connection-error-modal/index.mjs.map +2 -2
- package/build-module/components/sync-connection-error-modal/use-retry-countdown.mjs +33 -10
- package/build-module/components/sync-connection-error-modal/use-retry-countdown.mjs.map +2 -2
- package/build-module/components/template-actions-panel/block-theme-content.mjs +167 -0
- package/build-module/components/template-actions-panel/block-theme-content.mjs.map +7 -0
- package/build-module/components/template-actions-panel/classic-theme-content.mjs +138 -0
- package/build-module/components/template-actions-panel/classic-theme-content.mjs.map +7 -0
- package/build-module/components/template-actions-panel/index.mjs +28 -0
- package/build-module/components/template-actions-panel/index.mjs.map +7 -0
- package/build-module/dataviews/store/private-actions.mjs +5 -1
- package/build-module/dataviews/store/private-actions.mjs.map +2 -2
- package/build-module/hooks/default-autocompleters.mjs +2 -2
- package/build-module/hooks/default-autocompleters.mjs.map +2 -2
- package/build-module/store/private-actions.mjs +15 -1
- package/build-module/store/private-actions.mjs.map +2 -2
- package/build-module/store/private-selectors.mjs +42 -19
- package/build-module/store/private-selectors.mjs.map +2 -2
- package/build-module/store/reducer.mjs +1 -1
- package/build-module/store/reducer.mjs.map +2 -2
- package/build-style/style-rtl.css +124 -44
- package/build-style/style.css +124 -44
- package/build-types/bindings/post-data.d.ts +3 -3
- package/build-types/bindings/term-data.d.ts +14 -14
- package/build-types/components/autocompleters/index.d.ts +1 -0
- package/build-types/components/autocompleters/link.d.ts +12 -0
- package/build-types/components/autocompleters/link.d.ts.map +1 -0
- package/build-types/components/collaborators-overlay/cursor-registry.d.ts +36 -0
- package/build-types/components/collaborators-overlay/cursor-registry.d.ts.map +1 -0
- package/build-types/components/collaborators-overlay/index.d.ts +7 -4
- package/build-types/components/collaborators-overlay/index.d.ts.map +1 -1
- package/build-types/components/collaborators-overlay/overlay-iframe-styles.d.ts +1 -1
- package/build-types/components/collaborators-overlay/overlay-iframe-styles.d.ts.map +1 -1
- package/build-types/components/collaborators-overlay/overlay.d.ts +4 -1
- package/build-types/components/collaborators-overlay/overlay.d.ts.map +1 -1
- package/build-types/components/collaborators-overlay/use-render-cursors.d.ts.map +1 -1
- package/build-types/components/collaborators-presence/index.d.ts.map +1 -1
- package/build-types/components/collaborators-presence/list.d.ts +4 -1
- package/build-types/components/collaborators-presence/list.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-card-panel/index.d.ts.map +1 -1
- package/build-types/components/post-content-information/index.d.ts +4 -1
- package/build-types/components/post-content-information/index.d.ts.map +1 -1
- package/build-types/components/post-format/index.d.ts +10 -10
- package/build-types/components/post-locked-modal/index.d.ts +2 -2
- package/build-types/components/post-revisions-panel/index.d.ts +2 -0
- package/build-types/components/post-revisions-panel/index.d.ts.map +1 -0
- package/build-types/components/post-revisions-preview/revisions-slider.d.ts.map +1 -1
- package/build-types/components/post-status/index.d.ts +10 -10
- package/build-types/components/post-template/create-new-template-modal.d.ts.map +1 -1
- package/build-types/components/post-template/hooks.d.ts +1 -1
- package/build-types/components/post-template/hooks.d.ts.map +1 -1
- package/build-types/components/post-template/swap-template-button.d.ts +4 -0
- package/build-types/components/post-template/swap-template-button.d.ts.map +1 -1
- package/build-types/components/post-visibility/utils.d.ts +6 -6
- package/build-types/components/revision-block-diff/index.d.ts.map +1 -1
- package/build-types/components/revision-diff-panel/index.d.ts +14 -0
- package/build-types/components/revision-diff-panel/index.d.ts.map +1 -0
- package/build-types/components/revision-fields-diff/index.d.ts +6 -0
- package/build-types/components/revision-fields-diff/index.d.ts.map +1 -0
- package/build-types/components/sidebar/dataform-post-summary.d.ts.map +1 -1
- package/build-types/components/sidebar/index.d.ts.map +1 -1
- package/build-types/components/sidebar/post-revision-summary.d.ts +2 -0
- package/build-types/components/sidebar/post-revision-summary.d.ts.map +1 -0
- package/build-types/components/sidebar/post-summary.d.ts +3 -0
- package/build-types/components/sidebar/post-summary.d.ts.map +1 -1
- package/build-types/components/style-book/index.d.ts +2 -1
- package/build-types/components/style-book/index.d.ts.map +1 -1
- package/build-types/components/sync-connection-error-modal/index.d.ts +0 -14
- package/build-types/components/sync-connection-error-modal/index.d.ts.map +1 -1
- package/build-types/components/sync-connection-error-modal/use-retry-countdown.d.ts.map +1 -1
- package/build-types/components/template-actions-panel/block-theme-content.d.ts +2 -0
- package/build-types/components/template-actions-panel/block-theme-content.d.ts.map +1 -0
- package/build-types/components/template-actions-panel/classic-theme-content.d.ts +2 -0
- package/build-types/components/template-actions-panel/classic-theme-content.d.ts.map +1 -0
- package/build-types/components/template-actions-panel/index.d.ts +2 -0
- package/build-types/components/template-actions-panel/index.d.ts.map +1 -0
- package/build-types/dataviews/store/private-actions.d.ts.map +1 -1
- package/build-types/store/private-actions.d.ts.map +1 -1
- package/build-types/store/private-selectors.d.ts.map +1 -1
- package/build-types/store/reducer.d.ts +10 -10
- package/build-types/store/reducer.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 +45 -44
- package/src/components/autocompleters/index.js +1 -0
- package/src/components/autocompleters/link.js +47 -0
- package/src/components/autocompleters/style.scss +6 -0
- package/src/components/collaborators-overlay/cursor-dom-utils.ts +1 -1
- package/src/components/collaborators-overlay/cursor-registry.ts +96 -0
- package/src/components/collaborators-overlay/index.tsx +12 -4
- package/src/components/collaborators-overlay/overlay-iframe-styles.ts +1 -1
- package/src/components/collaborators-overlay/overlay.tsx +45 -1
- package/src/components/collaborators-overlay/timing-utils.ts +1 -1
- package/src/components/collaborators-overlay/use-render-cursors.ts +4 -2
- package/src/components/collaborators-presence/index.tsx +9 -1
- package/src/components/collaborators-presence/list.tsx +25 -1
- package/src/components/error-boundary/index.js +1 -1
- package/src/components/error-boundary/index.native.js +1 -1
- package/src/components/post-card-panel/index.js +7 -21
- package/src/components/post-content-information/index.js +5 -16
- package/src/components/post-revisions-panel/index.js +151 -0
- package/src/components/post-revisions-panel/style.scss +16 -0
- package/src/components/post-revisions-preview/revisions-slider.js +23 -19
- package/src/components/post-template/create-new-template-modal.js +1 -4
- package/src/components/post-template/hooks.js +65 -9
- package/src/components/post-template/style.scss +0 -6
- package/src/components/post-template/swap-template-button.js +30 -21
- package/src/components/post-title/index.js +3 -3
- package/src/components/preferences-modal/index.js +37 -25
- package/src/components/revision-block-diff/index.js +8 -43
- package/src/components/revision-diff-panel/index.js +59 -0
- package/src/components/revision-fields-diff/index.js +91 -0
- package/src/components/sidebar/dataform-post-summary.js +8 -55
- package/src/components/sidebar/index.js +33 -22
- package/src/components/sidebar/post-revision-summary.js +50 -0
- package/src/components/sidebar/post-summary.js +22 -40
- package/src/components/sidebar/style.scss +7 -0
- package/src/components/style-book/index.js +4 -2
- package/src/components/styles-canvas/revisions.js +2 -2
- package/src/components/sync-connection-error-modal/index.tsx +128 -155
- package/src/components/sync-connection-error-modal/use-retry-countdown.ts +46 -10
- package/src/components/template-actions-panel/block-theme-content.js +196 -0
- package/src/components/template-actions-panel/classic-theme-content.js +170 -0
- package/src/components/template-actions-panel/index.js +32 -0
- package/src/components/template-actions-panel/style.scss +39 -0
- package/src/dataviews/store/private-actions.ts +6 -0
- package/src/hooks/default-autocompleters.js +2 -2
- package/src/hooks/test/default-autocompleters.js +2 -2
- package/src/store/private-actions.js +18 -2
- package/src/store/private-selectors.js +43 -22
- package/src/store/reducer.js +9 -8
- package/src/style.scss +3 -1
- /package/src/components/{revision-block-diff → revision-diff-panel}/style.scss +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/components/collaborators-presence/list.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAMrE,OAAO,kCAAkC,CAAC;AAE1C,UAAU,sBAAsB;IAC/B,mBAAmB,EAAE,wBAAwB,EAAE,CAAC;IAChD,aAAa,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACnC,mBAAmB,EAAE,CAAE,SAAS,EAAE,OAAO,KAAM,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../src/components/collaborators-presence/list.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAMrE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAE/E,OAAO,kCAAkC,CAAC;AAE1C,UAAU,sBAAsB;IAC/B,mBAAmB,EAAE,wBAAwB,EAAE,CAAC;IAChD,aAAa,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACnC,mBAAmB,EAAE,CAAE,SAAS,EAAE,OAAO,KAAM,IAAI,CAAC;IACpD,cAAc,EAAE,cAAc,CAAC;CAC/B;AAED;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAAE,EAClC,mBAAmB,EACnB,aAAa,EACb,mBAAmB,EACnB,cAAc,GACd,EAAE,sBAAsB,+BAsFxB"}
|
|
@@ -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").TransformedText<"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").TransformedText<"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").TransformedText<"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").TransformedText<"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").TransformedText<"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").TransformedText<"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").TransformedText<"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").TransformedText<"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").TransformedText<"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").TransformedText<"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").TransformedText<"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").TransformedText<"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").TransformedText<"Set as posts page">;
|
|
4
4
|
isEligible(post: any): boolean;
|
|
5
5
|
modalFocusOnMount: string;
|
|
6
6
|
RenderModal: ({ items, closeModal }: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-card-panel/index.js"],"names":[],"mappings":"AAgCA;;;;;;;;;;GAUG;AACH,sGAPG;IAAgC,QAAQ;IACR,MAAM;IACN,WAAW;IACX,iBAAiB;IACjB,OAAO;CACvC,GAAS,KAAK,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-card-panel/index.js"],"names":[],"mappings":"AAgCA;;;;;;;;;;GAUG;AACH,sGAPG;IAAgC,QAAQ;IACR,MAAM;IACN,WAAW;IACX,iBAAiB;IACjB,OAAO;CACvC,GAAS,KAAK,CAAC,SAAS,CAoI1B"}
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
export default function PostContentInformation(): import("react").JSX.Element
|
|
1
|
+
export default function PostContentInformation(): import("react").JSX.Element;
|
|
2
|
+
export function PostContentInformationUI({ postContent }: {
|
|
3
|
+
postContent: any;
|
|
4
|
+
}): import("react").JSX.Element | null;
|
|
2
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-content-information/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-content-information/index.js"],"names":[],"mappings":"AAuBA,8EAuBC;AAED;;uCAwCC"}
|
|
@@ -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").TransformedText<"Aside">;
|
|
15
15
|
} | {
|
|
16
16
|
id: string;
|
|
17
|
-
caption: import("@wordpress/i18n").
|
|
17
|
+
caption: import("@wordpress/i18n").TransformedText<"Audio">;
|
|
18
18
|
} | {
|
|
19
19
|
id: string;
|
|
20
|
-
caption: import("@wordpress/i18n").
|
|
20
|
+
caption: import("@wordpress/i18n").TransformedText<"Chat">;
|
|
21
21
|
} | {
|
|
22
22
|
id: string;
|
|
23
|
-
caption: import("@wordpress/i18n").
|
|
23
|
+
caption: import("@wordpress/i18n").TransformedText<"Gallery">;
|
|
24
24
|
} | {
|
|
25
25
|
id: string;
|
|
26
|
-
caption: import("@wordpress/i18n").
|
|
26
|
+
caption: import("@wordpress/i18n").TransformedText<"Image">;
|
|
27
27
|
} | {
|
|
28
28
|
id: string;
|
|
29
|
-
caption: import("@wordpress/i18n").
|
|
29
|
+
caption: import("@wordpress/i18n").TransformedText<"Link">;
|
|
30
30
|
} | {
|
|
31
31
|
id: string;
|
|
32
|
-
caption: import("@wordpress/i18n").
|
|
32
|
+
caption: import("@wordpress/i18n").TransformedText<"Quote">;
|
|
33
33
|
} | {
|
|
34
34
|
id: string;
|
|
35
|
-
caption: import("@wordpress/i18n").
|
|
35
|
+
caption: import("@wordpress/i18n").TransformedText<"Standard">;
|
|
36
36
|
} | {
|
|
37
37
|
id: string;
|
|
38
|
-
caption: import("@wordpress/i18n").
|
|
38
|
+
caption: import("@wordpress/i18n").TransformedText<"Status">;
|
|
39
39
|
} | {
|
|
40
40
|
id: string;
|
|
41
|
-
caption: import("@wordpress/i18n").
|
|
41
|
+
caption: import("@wordpress/i18n").TransformedText<"Video">;
|
|
42
42
|
})[];
|
|
43
43
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: {
|
|
1
|
+
declare const _default: typeof PostLockedModal | {
|
|
2
2
|
new (props: {
|
|
3
3
|
[key: string]: any;
|
|
4
4
|
}): {
|
|
@@ -48,7 +48,7 @@ declare const _default: {
|
|
|
48
48
|
UNSAFE_componentWillUpdate?(nextProps: Readonly<{}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
49
49
|
}[];
|
|
50
50
|
contextType?: import("react").Context<any> | undefined;
|
|
51
|
-
}
|
|
51
|
+
};
|
|
52
52
|
export default _default;
|
|
53
53
|
declare function PostLockedModal(): import("react").JSX.Element | null;
|
|
54
54
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-revisions-panel/index.js"],"names":[],"mappings":"AAgJA,0EAMC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revisions-slider.d.ts","sourceRoot":"","sources":["../../../src/components/post-revisions-preview/revisions-slider.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"revisions-slider.d.ts","sourceRoot":"","sources":["../../../src/components/post-revisions-preview/revisions-slider.js"],"names":[],"mappings":";AAeA;;;;GAIG;AACH,oCAFY,KAAK,CAAC,GAAG,CAAC,OAAO,CAiH5B"}
|
|
@@ -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").TransformedText<"Draft">;
|
|
4
4
|
value: string;
|
|
5
|
-
description: import("@wordpress/i18n").
|
|
5
|
+
description: import("@wordpress/i18n").TransformedText<"Not ready to publish.">;
|
|
6
6
|
} | {
|
|
7
|
-
label: import("@wordpress/i18n").
|
|
7
|
+
label: import("@wordpress/i18n").TransformedText<"Pending">;
|
|
8
8
|
value: string;
|
|
9
|
-
description: import("@wordpress/i18n").
|
|
9
|
+
description: import("@wordpress/i18n").TransformedText<"Waiting for review before publishing.">;
|
|
10
10
|
} | {
|
|
11
|
-
label: import("@wordpress/i18n").
|
|
11
|
+
label: import("@wordpress/i18n").TransformedText<"Private">;
|
|
12
12
|
value: string;
|
|
13
|
-
description: import("@wordpress/i18n").
|
|
13
|
+
description: import("@wordpress/i18n").TransformedText<"Only visible to site admins and editors.">;
|
|
14
14
|
} | {
|
|
15
|
-
label: import("@wordpress/i18n").
|
|
15
|
+
label: import("@wordpress/i18n").TransformedText<"Scheduled">;
|
|
16
16
|
value: string;
|
|
17
|
-
description: import("@wordpress/i18n").
|
|
17
|
+
description: import("@wordpress/i18n").TransformedText<"Publish automatically on a chosen date.">;
|
|
18
18
|
} | {
|
|
19
|
-
label: import("@wordpress/i18n").
|
|
19
|
+
label: import("@wordpress/i18n").TransformedText<"Published">;
|
|
20
20
|
value: string;
|
|
21
|
-
description: import("@wordpress/i18n").
|
|
21
|
+
description: import("@wordpress/i18n").TransformedText<"Visible to everyone.">;
|
|
22
22
|
})[];
|
|
23
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-new-template-modal.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/create-new-template-modal.js"],"names":[],"mappings":"AA4BA;;
|
|
1
|
+
{"version":3,"file":"create-new-template-modal.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/create-new-template-modal.js"],"names":[],"mappings":"AA4BA;;gCAiIC"}
|
|
@@ -3,7 +3,7 @@ export function useEditedPostContext(): {
|
|
|
3
3
|
postType: string;
|
|
4
4
|
};
|
|
5
5
|
export function useAllowSwitchingTemplates(): boolean;
|
|
6
|
-
export function useAvailableTemplates(
|
|
6
|
+
export function useAvailableTemplates(): false | any[];
|
|
7
7
|
export function usePostTemplatePanelMode(): "classic" | "block-theme" | null;
|
|
8
8
|
export function useCurrentTemplateSlug(): any;
|
|
9
9
|
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/hooks.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/hooks.js"],"names":[],"mappings":"AAaA;;;EAQC;AACD,sDA8BC;AAeD,uDAsEC;AAED,6EAwCC;AAED,8CAuBC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"swap-template-button.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/swap-template-button.js"],"names":[],"mappings":"AAkBA;;
|
|
1
|
+
{"version":3,"file":"swap-template-button.d.ts","sourceRoot":"","sources":["../../../src/components/post-template/swap-template-button.js"],"names":[],"mappings":"AAkBA;;;gCA4BC;AAED;;gCAqBC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export const VISIBILITY_OPTIONS: ({
|
|
2
|
-
label: import("@wordpress/i18n").
|
|
2
|
+
label: import("@wordpress/i18n").TransformedText<"Public">;
|
|
3
3
|
value: string;
|
|
4
|
-
description: import("@wordpress/i18n").
|
|
4
|
+
description: import("@wordpress/i18n").TransformedText<"Visible to everyone.">;
|
|
5
5
|
} | {
|
|
6
|
-
label: import("@wordpress/i18n").
|
|
6
|
+
label: import("@wordpress/i18n").TransformedText<"Private">;
|
|
7
7
|
value: string;
|
|
8
|
-
description: import("@wordpress/i18n").
|
|
8
|
+
description: import("@wordpress/i18n").TransformedText<"Only visible to site admins and editors.">;
|
|
9
9
|
} | {
|
|
10
|
-
label: import("@wordpress/i18n").
|
|
10
|
+
label: import("@wordpress/i18n").TransformedText<"Password protected">;
|
|
11
11
|
value: string;
|
|
12
|
-
description: import("@wordpress/i18n").
|
|
12
|
+
description: import("@wordpress/i18n").TransformedText<"Only visible to those who know the password.">;
|
|
13
13
|
})[];
|
|
14
14
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/revision-block-diff/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/revision-block-diff/index.js"],"names":[],"mappings":"AAYA;;;GAGG;AACH,qFAsBC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Renders a panel of word-level diffs.
|
|
3
|
+
*
|
|
4
|
+
* @param {Object} props
|
|
5
|
+
* @param {string} props.title Panel title.
|
|
6
|
+
* @param {Object} props.entries Map of key → diffWords parts arrays.
|
|
7
|
+
* @param {boolean} props.initialOpen Whether the panel starts open.
|
|
8
|
+
*/
|
|
9
|
+
export default function RevisionDiffPanel({ title, entries, initialOpen }: {
|
|
10
|
+
title: string;
|
|
11
|
+
entries: Object;
|
|
12
|
+
initialOpen: boolean;
|
|
13
|
+
}): import("react").JSX.Element | null;
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/revision-diff-panel/index.js"],"names":[],"mappings":"AAUA;;;;;;;GAOG;AACH,2EAJG;IAAuB,KAAK,EAApB,MAAM;IACS,OAAO,EAAtB,MAAM;IACS,WAAW,EAA1B,OAAO;CACjB,sCAyCA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Panel that shows meta field diffs between the current revision and
|
|
3
|
+
* the previous revision in the document sidebar during revision mode.
|
|
4
|
+
*/
|
|
5
|
+
export default function RevisionFieldsDiffPanel(): import("react").JSX.Element;
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/revision-fields-diff/index.js"],"names":[],"mappings":"AAmCA;;;GAGG;AACH,+EAmDC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataform-post-summary.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/dataform-post-summary.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dataform-post-summary.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/dataform-post-summary.js"],"names":[],"mappings":"AAuBA;;gCA2HC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/index.js"],"names":[],"mappings":";AAsKA;;;gCAkEC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"post-revision-summary.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/post-revision-summary.js"],"names":[],"mappings":"AAmBA,kFA8BC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-summary.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/post-summary.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-summary.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/post-summary.js"],"names":[],"mappings":"AA2CA;;gCAUC;AAED;;gCAYC"}
|
|
@@ -4,11 +4,12 @@
|
|
|
4
4
|
* @return {Array} Deduped examples.
|
|
5
5
|
*/
|
|
6
6
|
export function getExamplesForSinglePageUse(examples: any[]): any[];
|
|
7
|
-
export function StyleBookPreview({ userConfig, isStatic, path, onPathChange, }: {
|
|
7
|
+
export function StyleBookPreview({ userConfig, isStatic, path, onPathChange, settings: settingsProp, }: {
|
|
8
8
|
path: string;
|
|
9
9
|
onPathChange: Function;
|
|
10
10
|
userConfig: Object;
|
|
11
11
|
isStatic: boolean;
|
|
12
|
+
settings: Object;
|
|
12
13
|
}): Object;
|
|
13
14
|
export function StyleBookBody({ examples, isSelected, onClick, onSelect, settings, title, goTo, }: {
|
|
14
15
|
examples: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/style-book/index.js"],"names":[],"mappings":"AAyLA;;;;GAIG;AACH,oEAkBC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/style-book/index.js"],"names":[],"mappings":"AAyLA;;;;GAIG;AACH,oEAkBC;AA4KM,wGAPJ;IAAwB,IAAI,EAApB,MAAM;IACU,YAAY;IACZ,UAAU,EAA1B,MAAM;IACU,QAAQ,EAAxB,OAAO;IACS,QAAQ,EAAxB,MAAM;CACd,GAAS,MAAM,CAmLjB;AAEM;;;;;;;;gCAmFN"}
|
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
import { type ConnectionError } from '@wordpress/core-data';
|
|
2
|
-
export interface SyncConnectionErrorModalProps {
|
|
3
|
-
description: string;
|
|
4
|
-
error?: ConnectionError;
|
|
5
|
-
manualRetry?: () => void;
|
|
6
|
-
postType?: {
|
|
7
|
-
slug?: string;
|
|
8
|
-
labels?: {
|
|
9
|
-
name?: string;
|
|
10
|
-
};
|
|
11
|
-
} | null;
|
|
12
|
-
secondsRemainingUntilAutoRetry?: number;
|
|
13
|
-
title: string;
|
|
14
|
-
}
|
|
15
1
|
/**
|
|
16
2
|
* Sync connection modal that displays when any entity reports a disconnection.
|
|
17
3
|
* Uses BlockCanvasCover.Fill to render in the block canvas.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/sync-connection-error-modal/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/sync-connection-error-modal/index.tsx"],"names":[],"mappings":"AAsCA;;;;;GAKG;AACH,wBAAgB,wBAAwB,uCAiMvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-retry-countdown.d.ts","sourceRoot":"","sources":["../../../src/components/sync-connection-error-modal/use-retry-countdown.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAG7D,UAAU,uBAAuB;IAChC,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,wBAAgB,iBAAiB,CAChC,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,IAAI,GACxC,uBAAuB,
|
|
1
|
+
{"version":3,"file":"use-retry-countdown.d.ts","sourceRoot":"","sources":["../../../src/components/sync-connection-error-modal/use-retry-countdown.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAG7D,UAAU,uBAAuB;IAChC,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,wBAAgB,iBAAiB,CAChC,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,IAAI,GACxC,uBAAuB,CA+EzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"block-theme-content.d.ts","sourceRoot":"","sources":["../../../src/components/template-actions-panel/block-theme-content.js"],"names":[],"mappings":"AA+BA,0FAoKC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"classic-theme-content.d.ts","sourceRoot":"","sources":["../../../src/components/template-actions-panel/classic-theme-content.js"],"names":[],"mappings":"AA6BA,kFA4IC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/template-actions-panel/index.js"],"names":[],"mappings":"AAaA,mFAkBC"}
|
|
@@ -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;AA4D1D,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,MAAM;QACf,8BAA8B,CAAC,EAAE,OAAO,CAAC;QACzC,yBAAyB,CAAC,EAAE,OAAO,CAAC;KACpC;CACD;AAgBD,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;AA2BD,eAAO,MAAM,sBAAsB,GAChC,UAAU,MAAM,MACV,cAAc;IAAE,QAAQ,EAAE,GAAG,CAAA;CAAE,kBA2JtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private-actions.d.ts","sourceRoot":"","sources":["../../src/store/private-actions.js"],"names":[],"mappings":"AAoBA;;;;;;GAMG;AACH,yCAJW,MAAM,GAEL,MAAM,CAOjB;AA4fD;;;;;GAKG;AACH,oCAHW,MAAM,GACL,MAAM,CAOjB;AAED;;;;;GAKG;AACH,uCAHW,OAAO,GACN,MAAM,CAOjB;AAED;;;;GAIG;AACH,yCAFY,MAAM,CAMjB;AAED;;;;;GAKG;AACH,8CAHW,MAAM,GACL,MAAM,CAOjB;AAED;;;;;;GAMG;AACH,iDAHW,MAAM,GAAC,IAAI,GACV,MAAM,CAOjB;AAED;;;;;GAKG;AACH,8CAHW,OAAO,GACN,MAAM,CAOjB;
|
|
1
|
+
{"version":3,"file":"private-actions.d.ts","sourceRoot":"","sources":["../../src/store/private-actions.js"],"names":[],"mappings":"AAoBA;;;;;;GAMG;AACH,yCAJW,MAAM,GAEL,MAAM,CAOjB;AA4fD;;;;;GAKG;AACH,oCAHW,MAAM,GACL,MAAM,CAOjB;AAED;;;;;GAKG;AACH,uCAHW,OAAO,GACN,MAAM,CAOjB;AAED;;;;GAIG;AACH,yCAFY,MAAM,CAMjB;AAED;;;;;GAKG;AACH,8CAHW,MAAM,GACL,MAAM,CAOjB;AAED;;;;;;GAMG;AACH,iDAHW,MAAM,GAAC,IAAI,GACV,MAAM,CAOjB;AAED;;;;;GAKG;AACH,8CAHW,OAAO,GACN,MAAM,CAOjB;AAoFD;;;;;;;GAOG;AACH,mCALW,SAAS,GAAC,MAAM,GAAC,KAAK,YAE9B;IAAyC,KAAK;CAC9C,GAAS,MAAM,CAQjB;;AAlqBM,yCAFK,MAAM,OAAA,IAIT;;;;CAA8B,kBAiCrC;AAOK,2CAFI,MAAM,EAAE,IAIhB;;CAAY,UAgBb;AAOK,2CAFI,MAAM,EAAE,IAIhB;;CAAY,UAcb;AAYK,iHANJ;IAA2B,MAAM;IACN,kBAAkB;IAClB,cAAc;IACd,KAAK;IACL,oBAAoB;CACjD,IASE;;CAAY,UAoGb;AAUK,yCALI,MAAM,kBAEd;IAA0B,SAAS;CAErC,IAGQ;;CAAY,mBA0HnB;AAOK,gDAEE;;CAAY,mBAwHnB;AAOK,8CAFI,MAAM,IAId;;;CAAoB,UAwBrB;AAqFK,4CAFI,MAAM,IAIR;;;;CAA8B,mBAwErC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private-selectors.d.ts","sourceRoot":"","sources":["../../src/store/private-selectors.js"],"names":[],"mappings":"AAwHA,sDAEC;AACD,6DAEC;AAsFD,2GAEC;AAED,mEAEC;AAED,yGAEC;AAiGD;;;;;GAKG;AACH,qCAHW,MAAM,GACL,MAAM,CAIjB;AAED;;;;;GAKG;AACH,wCAHW,MAAM,GACL,OAAO,CAIlB;AAED;;;;;GAKG;AACH,0CAHW,MAAM,GACL,MAAM,CAIjB;AAED;;;;;GAKG;AACH,uCAHW,MAAM,GACL,OAAO,CAIlB;AAED;;;;;GAKG;AACH,6CAHW,MAAM,GACL,OAAO,CAIlB;AAED;;;;;GAKG;AACH,4CAHW,MAAM,GACL,MAAM,GAAC,IAAI,CAItB;
|
|
1
|
+
{"version":3,"file":"private-selectors.d.ts","sourceRoot":"","sources":["../../src/store/private-selectors.js"],"names":[],"mappings":"AAwHA,sDAEC;AACD,6DAEC;AAsFD,2GAEC;AAED,mEAEC;AAED,yGAEC;AAiGD;;;;;GAKG;AACH,qCAHW,MAAM,GACL,MAAM,CAIjB;AAED;;;;;GAKG;AACH,wCAHW,MAAM,GACL,OAAO,CAIlB;AAED;;;;;GAKG;AACH,0CAHW,MAAM,GACL,MAAM,CAIjB;AAED;;;;;GAKG;AACH,uCAHW,MAAM,GACL,OAAO,CAIlB;AAED;;;;;GAKG;AACH,6CAHW,MAAM,GACL,OAAO,CAIlB;AAED;;;;;GAKG;AACH,4CAHW,MAAM,GACL,MAAM,GAAC,IAAI,CAItB;AA2DD;;;;;;GAMG;AACH,uCAJW,MAAM,GAEL,SAAS,GAAC,MAAM,GAAC,KAAK,CAIjC;AAED;;;;;;GAMG;AACH,qCAJW,MAAM,GAEL,OAAO,CAIlB;AA7ZD;;;;;;GAMG;AACH;;;;EAqEE;AAeF;;;;EAqCE;AAEF;;;;;;;;;GASG;AACH;;;;EA2BE;AAcF;;;;;;;;GAQG;AACH;;;;EAiCE;AAEF;;;;;;;GAOG;AACH;;;;EAyCE;AA8DF;;;;;GAKG;AACH;;;;EAiDE;AAwBF;;;;;;GAMG;AACH;;;;EAqDE"}
|
|
@@ -209,13 +209,6 @@ export function canvasMinHeight(state: number | undefined, action: Object): numb
|
|
|
209
209
|
* @return {number|null} Updated state.
|
|
210
210
|
*/
|
|
211
211
|
export function revisionId(state: number | null | undefined, action: Object): number | null;
|
|
212
|
-
/**
|
|
213
|
-
* Reducer returning the currently selected note and its options.
|
|
214
|
-
*
|
|
215
|
-
* @param {Object} state Current state.
|
|
216
|
-
* @param {Object} action Dispatched action.
|
|
217
|
-
* @return {Object} Updated state.
|
|
218
|
-
*/
|
|
219
212
|
/**
|
|
220
213
|
* Reducer for whether the revision diff is shown.
|
|
221
214
|
* Resets to true when entering/exiting revisions mode.
|
|
@@ -225,7 +218,14 @@ export function revisionId(state: number | null | undefined, action: Object): nu
|
|
|
225
218
|
* @return {boolean} Updated state.
|
|
226
219
|
*/
|
|
227
220
|
export function showRevisionDiff(state: boolean | undefined, action: Object): boolean;
|
|
228
|
-
|
|
221
|
+
/**
|
|
222
|
+
* Reducer returning the currently selected note and its options.
|
|
223
|
+
*
|
|
224
|
+
* @param {Object} state Current state.
|
|
225
|
+
* @param {Object} action Dispatched action.
|
|
226
|
+
* @return {Object} Updated state.
|
|
227
|
+
*/
|
|
228
|
+
export function selectedNote(state: Object | undefined, action: Object): Object;
|
|
229
229
|
declare const _default: import("redux").Reducer<{
|
|
230
230
|
postId: any;
|
|
231
231
|
postType: any;
|
|
@@ -250,7 +250,7 @@ declare const _default: import("redux").Reducer<{
|
|
|
250
250
|
canvasMinHeight: number;
|
|
251
251
|
revisionId: number | null;
|
|
252
252
|
showRevisionDiff: boolean;
|
|
253
|
-
selectedNote:
|
|
253
|
+
selectedNote: Object;
|
|
254
254
|
dataviews: {
|
|
255
255
|
actions: {
|
|
256
256
|
[x: string]: Record<string, import("@wordpress/dataviews").Action<any>[]> | {
|
|
@@ -288,7 +288,7 @@ declare const _default: import("redux").Reducer<{
|
|
|
288
288
|
canvasMinHeight: number | undefined;
|
|
289
289
|
revisionId: number | null | undefined;
|
|
290
290
|
showRevisionDiff: boolean | undefined;
|
|
291
|
-
selectedNote:
|
|
291
|
+
selectedNote: Object | undefined;
|
|
292
292
|
dataviews: never;
|
|
293
293
|
}>>;
|
|
294
294
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../src/store/reducer.js"],"names":[],"mappings":"AAWA;;;;;;;GAOG;AACH,uCAJW,GAAC,GAEA,GAAC,CAQZ;AAED;;;;;;;;GAQG;AACH,+BALW,MAAM,KACN,MAAM,GAEL,OAAO,CASlB;AAED;;;;;;;;;GASG;AACH,mDALW,MAAM,kBACN,MAAM,GAEL,OAAO,CAOlB;AAED;;;;;;;;;GASG;AACH,6CALW,MAAM,kBACN,MAAM,GAEL,OAAO,CAYlB;AAED,kEAOC;AAED,sEAOC;AAED,oEAOC;AAED;;;;;;;GAOG;AACH,gCALW,MAAM,sBACN,MAAM,GAEL,OAAO,CAYlB;AAED;;;;;;;;GAQG;AACH,8BALW,MAAM,sBACN,MAAM,GAEL,MAAM,CAajB;AAED;;;;;;;GAOG;AACH,gCALW,MAAM,sBACN,MAAM,GAEL,MAAM,CAYjB;AAED;;;;;;;;;GASG;AAEH;;;;;;;GAOG;AACH,gCALW,aAAa,sBACb,MAAM,GAEL,aAAa,CASxB;AAED;;;;;;;;;GASG;AACH,sCALW,aAAa,sBACb,MAAM,GAEL,aAAa,CAcxB;AAED;;;;;;;;;GASG;AACH,0CALW,aAAa,sBACb,MAAM,GAEL,aAAa,CAcxB;AAED;;;;;;;GAOG;AACH,sCALW,MAAM,sBACN,MAAM,GAEL,MAAM,CAYjB;AAED,2EAOC;AAED;;;;;;;GAOG;AACH,kCALW,MAAM,sBACN,MAAM,GAEL,MAAM,CASjB;AAED;;;;;;;GAOG;AACH,gEAJW,MAAM,SAahB;AAED;;;;;;;;GAQG;AACH,0CAHW,MAAM,sBACN,MAAM,OAUhB;AAED;;;;;;;;GAQG;AACH,qCAHW,MAAM,sBACN,MAAM,OAUhB;AAED;;;;;;GAMG;AACH,0CAHW,MAAM,GACL,MAAM,CAIjB;AAED;;;;;;GAMG;AACH,iDAHW,MAAM,GACL,MAAM,CAIjB;AAED,uFAUC;AAED;;;;;;GAMG;AACH,kCAJW,MAAM,sBACN,MAAM,GACL,MAAM,CAUjB;AAED;;;;;;GAMG;AACH,qCAJW,OAAO,sBACP,MAAM,GACL,OAAO,CAUlB;AAED;;;;;;GAMG;AACH,uCAJW,MAAM,sBACN,MAAM,GACL,MAAM,CAQjB;AAED;;;;;;;GAOG;AACH,kCAJW,MAAM,GAAC,IAAI,sBACX,MAAM,GACL,MAAM,GAAC,IAAI,CAQtB;AAED
|
|
1
|
+
{"version":3,"file":"reducer.d.ts","sourceRoot":"","sources":["../../src/store/reducer.js"],"names":[],"mappings":"AAWA;;;;;;;GAOG;AACH,uCAJW,GAAC,GAEA,GAAC,CAQZ;AAED;;;;;;;;GAQG;AACH,+BALW,MAAM,KACN,MAAM,GAEL,OAAO,CASlB;AAED;;;;;;;;;GASG;AACH,mDALW,MAAM,kBACN,MAAM,GAEL,OAAO,CAOlB;AAED;;;;;;;;;GASG;AACH,6CALW,MAAM,kBACN,MAAM,GAEL,OAAO,CAYlB;AAED,kEAOC;AAED,sEAOC;AAED,oEAOC;AAED;;;;;;;GAOG;AACH,gCALW,MAAM,sBACN,MAAM,GAEL,OAAO,CAYlB;AAED;;;;;;;;GAQG;AACH,8BALW,MAAM,sBACN,MAAM,GAEL,MAAM,CAajB;AAED;;;;;;;GAOG;AACH,gCALW,MAAM,sBACN,MAAM,GAEL,MAAM,CAYjB;AAED;;;;;;;;;GASG;AAEH;;;;;;;GAOG;AACH,gCALW,aAAa,sBACb,MAAM,GAEL,aAAa,CASxB;AAED;;;;;;;;;GASG;AACH,sCALW,aAAa,sBACb,MAAM,GAEL,aAAa,CAcxB;AAED;;;;;;;;;GASG;AACH,0CALW,aAAa,sBACb,MAAM,GAEL,aAAa,CAcxB;AAED;;;;;;;GAOG;AACH,sCALW,MAAM,sBACN,MAAM,GAEL,MAAM,CAYjB;AAED,2EAOC;AAED;;;;;;;GAOG;AACH,kCALW,MAAM,sBACN,MAAM,GAEL,MAAM,CASjB;AAED;;;;;;;GAOG;AACH,gEAJW,MAAM,SAahB;AAED;;;;;;;;GAQG;AACH,0CAHW,MAAM,sBACN,MAAM,OAUhB;AAED;;;;;;;;GAQG;AACH,qCAHW,MAAM,sBACN,MAAM,OAUhB;AAED;;;;;;GAMG;AACH,0CAHW,MAAM,GACL,MAAM,CAIjB;AAED;;;;;;GAMG;AACH,iDAHW,MAAM,GACL,MAAM,CAIjB;AAED,uFAUC;AAED;;;;;;GAMG;AACH,kCAJW,MAAM,sBACN,MAAM,GACL,MAAM,CAUjB;AAED;;;;;;GAMG;AACH,qCAJW,OAAO,sBACP,MAAM,GACL,OAAO,CAUlB;AAED;;;;;;GAMG;AACH,uCAJW,MAAM,sBACN,MAAM,GACL,MAAM,CAQjB;AAED;;;;;;;GAOG;AACH,kCAJW,MAAM,GAAC,IAAI,sBACX,MAAM,GACL,MAAM,GAAC,IAAI,CAQtB;AAED;;;;;;;GAOG;AACH,wCAJW,OAAO,sBACP,MAAM,GACL,OAAO,CAWlB;AAED;;;;;;GAMG;AACH,oCAJW,MAAM,sBACN,MAAM,GACL,MAAM,CAQjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAjTa,OAAO;;;;gBACN,OAAO,OAAA;;;;oBACP,OAAO,OAAA;;;;UACP,MAAM,OAAA"}
|
|
@@ -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").TransformedText<"Homepage"> | import("@wordpress/i18n").TransformedText<"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,2HA2BvB"}
|