@wordpress/editor 14.45.0 → 14.45.2-next.v.202605131006.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 +6 -0
- package/README.md +12 -0
- package/build/components/collab-sidebar/index.cjs +42 -25
- package/build/components/collab-sidebar/index.cjs.map +2 -2
- package/build/components/collab-sidebar/note-thread.cjs +19 -9
- package/build/components/collab-sidebar/note-thread.cjs.map +2 -2
- package/build/components/collab-sidebar/notes.cjs +8 -6
- package/build/components/collab-sidebar/notes.cjs.map +2 -2
- package/build/components/collab-sidebar/utils.cjs +24 -9
- package/build/components/collab-sidebar/utils.cjs.map +2 -2
- package/build/components/collaborators-presence/index.cjs +0 -10
- package/build/components/collaborators-presence/index.cjs.map +3 -3
- package/build/components/collaborators-presence/list.cjs +0 -10
- package/build/components/collaborators-presence/list.cjs.map +3 -3
- package/build/components/post-last-revision/index.cjs +5 -0
- package/build/components/post-last-revision/index.cjs.map +2 -2
- package/build/components/post-publish-panel/index.cjs +112 -124
- package/build/components/post-publish-panel/index.cjs.map +3 -3
- package/build/components/post-revisions-preview/block-diff.cjs +91 -23
- package/build/components/post-revisions-preview/block-diff.cjs.map +2 -2
- package/build/components/post-revisions-preview/diff-markers.cjs +3 -2
- package/build/components/post-revisions-preview/diff-markers.cjs.map +2 -2
- package/build/components/post-revisions-preview/revisions-slider.cjs +98 -50
- package/build/components/post-revisions-preview/revisions-slider.cjs.map +2 -2
- package/build/store/private-actions.cjs +21 -0
- package/build/store/private-actions.cjs.map +2 -2
- package/build/store/private-selectors.cjs +93 -42
- package/build/store/private-selectors.cjs.map +2 -2
- package/build/store/reducer.cjs +15 -0
- package/build/store/reducer.cjs.map +2 -2
- package/build/store/selectors.cjs.map +2 -2
- package/build-module/components/collab-sidebar/index.mjs +42 -25
- package/build-module/components/collab-sidebar/index.mjs.map +2 -2
- package/build-module/components/collab-sidebar/note-thread.mjs +24 -10
- package/build-module/components/collab-sidebar/note-thread.mjs.map +2 -2
- package/build-module/components/collab-sidebar/notes.mjs +8 -6
- package/build-module/components/collab-sidebar/notes.mjs.map +2 -2
- package/build-module/components/collab-sidebar/utils.mjs +22 -8
- package/build-module/components/collab-sidebar/utils.mjs.map +2 -2
- package/build-module/components/collaborators-presence/index.mjs +0 -10
- package/build-module/components/collaborators-presence/index.mjs.map +3 -3
- package/build-module/components/collaborators-presence/list.mjs +0 -10
- package/build-module/components/collaborators-presence/list.mjs.map +3 -3
- package/build-module/components/post-last-revision/index.mjs +5 -0
- package/build-module/components/post-last-revision/index.mjs.map +2 -2
- package/build-module/components/post-publish-panel/index.mjs +120 -129
- package/build-module/components/post-publish-panel/index.mjs.map +2 -2
- package/build-module/components/post-revisions-preview/block-diff.mjs +91 -23
- package/build-module/components/post-revisions-preview/block-diff.mjs.map +2 -2
- package/build-module/components/post-revisions-preview/diff-markers.mjs +3 -2
- package/build-module/components/post-revisions-preview/diff-markers.mjs.map +2 -2
- package/build-module/components/post-revisions-preview/revisions-slider.mjs +101 -53
- package/build-module/components/post-revisions-preview/revisions-slider.mjs.map +2 -2
- package/build-module/store/private-actions.mjs +20 -0
- package/build-module/store/private-actions.mjs.map +2 -2
- package/build-module/store/private-selectors.mjs +95 -43
- package/build-module/store/private-selectors.mjs.map +2 -2
- package/build-module/store/reducer.mjs +14 -0
- package/build-module/store/reducer.mjs.map +2 -2
- package/build-module/store/selectors.mjs.map +2 -2
- package/build-style/style-rtl.css +398 -33
- package/build-style/style.css +398 -33
- package/build-types/bindings/api.d.ts +1 -1
- package/build-types/bindings/api.d.ts.map +1 -1
- package/build-types/bindings/pattern-overrides.d.ts +8 -5
- package/build-types/bindings/pattern-overrides.d.ts.map +1 -1
- package/build-types/bindings/post-data.d.ts +8 -5
- package/build-types/bindings/post-data.d.ts.map +1 -1
- package/build-types/bindings/post-meta.d.ts +10 -7
- package/build-types/bindings/post-meta.d.ts.map +1 -1
- package/build-types/bindings/term-data.d.ts +9 -6
- package/build-types/bindings/term-data.d.ts.map +1 -1
- package/build-types/components/autocompleters/index.d.ts +2 -2
- package/build-types/components/autocompleters/index.d.ts.map +1 -1
- package/build-types/components/autocompleters/link.d.ts +6 -10
- package/build-types/components/autocompleters/link.d.ts.map +1 -1
- package/build-types/components/autocompleters/user.d.ts +7 -12
- package/build-types/components/autocompleters/user.d.ts.map +1 -1
- package/build-types/components/autosave-monitor/index.d.ts +28 -4
- package/build-types/components/autosave-monitor/index.d.ts.map +1 -1
- package/build-types/components/block-removal-warnings/index.d.ts +3 -0
- package/build-types/components/block-removal-warnings/index.d.ts.map +1 -1
- package/build-types/components/block-settings-menu/plugin-block-settings-menu-item.d.ts +7 -7
- package/build-types/components/block-settings-menu/plugin-block-settings-menu-item.d.ts.map +1 -1
- package/build-types/components/block-visibility/index.d.ts.map +1 -1
- package/build-types/components/blog-title/index.d.ts.map +1 -1
- package/build-types/components/character-count/index.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/add-note-menu-item.d.ts +2 -2
- package/build-types/components/collab-sidebar/add-note-menu-item.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/add-note.d.ts +2 -2
- package/build-types/components/collab-sidebar/add-note.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/board-store.d.ts +1 -1
- package/build-types/components/collab-sidebar/board-store.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/constants.d.ts +3 -3
- package/build-types/components/collab-sidebar/constants.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/floating-container.d.ts +3 -3
- package/build-types/components/collab-sidebar/floating-container.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/hooks.d.ts +7 -7
- package/build-types/components/collab-sidebar/hooks.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/index.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/note-byline.d.ts +2 -2
- package/build-types/components/collab-sidebar/note-byline.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/note-card.d.ts +3 -3
- package/build-types/components/collab-sidebar/note-card.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/note-form.d.ts +4 -4
- package/build-types/components/collab-sidebar/note-form.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/note-indicator-toolbar.d.ts +2 -2
- package/build-types/components/collab-sidebar/note-indicator-toolbar.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/note-thread.d.ts +5 -5
- package/build-types/components/collab-sidebar/note-thread.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/note.d.ts +4 -4
- package/build-types/components/collab-sidebar/note.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/notes.d.ts +2 -2
- package/build-types/components/collab-sidebar/notes.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/utils.d.ts +17 -24
- package/build-types/components/collab-sidebar/utils.d.ts.map +1 -1
- package/build-types/components/collaborators-overlay/cursor-dom-utils.d.ts.map +1 -1
- package/build-types/components/collaborators-overlay/cursor-registry.d.ts.map +1 -1
- package/build-types/components/collaborators-overlay/index.d.ts +4 -1
- package/build-types/components/collaborators-overlay/index.d.ts.map +1 -1
- package/build-types/components/collaborators-overlay/overlay.d.ts +1 -1
- package/build-types/components/collaborators-overlay/overlay.d.ts.map +1 -1
- package/build-types/components/collaborators-presence/avatar/component.d.ts.map +1 -1
- package/build-types/components/collaborators-presence/avatar-group/component.d.ts.map +1 -1
- package/build-types/components/collaborators-presence/index.d.ts +1 -2
- package/build-types/components/collaborators-presence/index.d.ts.map +1 -1
- package/build-types/components/collaborators-presence/list.d.ts +1 -2
- package/build-types/components/collaborators-presence/list.d.ts.map +1 -1
- package/build-types/components/collapsible-block-toolbar/index.d.ts.map +1 -1
- package/build-types/components/commands/index.d.ts.map +1 -1
- package/build-types/components/deprecated.d.ts +82 -53
- package/build-types/components/deprecated.d.ts.map +1 -1
- package/build-types/components/document-bar/index.d.ts +3 -3
- package/build-types/components/document-bar/index.d.ts.map +1 -1
- package/build-types/components/document-bar/useEditedSectionDetails.d.ts.map +1 -1
- package/build-types/components/document-outline/check.d.ts +2 -2
- package/build-types/components/document-outline/check.d.ts.map +1 -1
- package/build-types/components/document-outline/index.d.ts +2 -2
- package/build-types/components/document-outline/index.d.ts.map +1 -1
- package/build-types/components/document-outline/item.d.ts +5 -5
- package/build-types/components/document-outline/item.d.ts.map +1 -1
- package/build-types/components/document-tools/index.d.ts +1 -1
- package/build-types/components/document-tools/index.d.ts.map +1 -1
- package/build-types/components/editor/index.d.ts +7 -7
- package/build-types/components/editor/index.d.ts.map +1 -1
- package/build-types/components/editor-history/redo.d.ts +11 -2
- package/build-types/components/editor-history/redo.d.ts.map +1 -1
- package/build-types/components/editor-history/undo.d.ts +11 -2
- package/build-types/components/editor-history/undo.d.ts.map +1 -1
- package/build-types/components/editor-interface/index.d.ts +5 -5
- package/build-types/components/editor-interface/index.d.ts.map +1 -1
- package/build-types/components/editor-notices/index.d.ts +1 -1
- package/build-types/components/editor-notices/index.d.ts.map +1 -1
- package/build-types/components/editor-snackbars/index.d.ts.map +1 -1
- package/build-types/components/entities-saved-states/entity-record-item.d.ts +1 -1
- package/build-types/components/entities-saved-states/entity-record-item.d.ts.map +1 -1
- package/build-types/components/entities-saved-states/entity-type-list.d.ts +2 -2
- package/build-types/components/entities-saved-states/entity-type-list.d.ts.map +1 -1
- package/build-types/components/entities-saved-states/hooks/use-is-dirty.d.ts +10 -1
- package/build-types/components/entities-saved-states/hooks/use-is-dirty.d.ts.map +1 -1
- package/build-types/components/entities-saved-states/index.d.ts +4 -4
- package/build-types/components/entities-saved-states/index.d.ts.map +1 -1
- package/build-types/components/error-boundary/index.d.ts +18 -8
- package/build-types/components/error-boundary/index.d.ts.map +1 -1
- package/build-types/components/global-keyboard-shortcuts/index.d.ts.map +1 -1
- package/build-types/components/global-keyboard-shortcuts/register-shortcuts.d.ts +1 -1
- package/build-types/components/global-keyboard-shortcuts/register-shortcuts.d.ts.map +1 -1
- package/build-types/components/global-styles/block-link.d.ts +1 -1
- package/build-types/components/global-styles/block-link.d.ts.map +1 -1
- package/build-types/components/global-styles/header.d.ts +2 -2
- package/build-types/components/global-styles/header.d.ts.map +1 -1
- package/build-types/components/global-styles/hooks.d.ts +3 -3
- package/build-types/components/global-styles/hooks.d.ts.map +1 -1
- package/build-types/components/global-styles/index.d.ts +3 -3
- package/build-types/components/global-styles/index.d.ts.map +1 -1
- package/build-types/components/global-styles/menu.d.ts +2 -2
- package/build-types/components/global-styles/menu.d.ts.map +1 -1
- package/build-types/components/global-styles-provider/index.d.ts +1 -1
- package/build-types/components/global-styles-provider/index.d.ts.map +1 -1
- package/build-types/components/global-styles-renderer/index.d.ts +1 -1
- package/build-types/components/global-styles-renderer/index.d.ts.map +1 -1
- package/build-types/components/global-styles-sidebar/default-sidebar.d.ts +6 -6
- package/build-types/components/global-styles-sidebar/default-sidebar.d.ts.map +1 -1
- package/build-types/components/global-styles-sidebar/index.d.ts.map +1 -1
- package/build-types/components/global-styles-sidebar/welcome-guide-image.d.ts +1 -1
- package/build-types/components/global-styles-sidebar/welcome-guide-image.d.ts.map +1 -1
- package/build-types/components/global-styles-sidebar/welcome-guide.d.ts.map +1 -1
- package/build-types/components/header/back-button.d.ts +3 -3
- package/build-types/components/header/back-button.d.ts.map +1 -1
- package/build-types/components/header/header-skeleton.d.ts +5 -5
- package/build-types/components/header/header-skeleton.d.ts.map +1 -1
- package/build-types/components/header/index.d.ts +2 -2
- package/build-types/components/header/index.d.ts.map +1 -1
- package/build-types/components/index.d.ts +94 -91
- package/build-types/components/index.d.ts.map +1 -1
- package/build-types/components/inserter-sidebar/index.d.ts.map +1 -1
- package/build-types/components/keyboard-shortcut-help-modal/config.d.ts +3 -3
- package/build-types/components/keyboard-shortcut-help-modal/config.d.ts.map +1 -1
- package/build-types/components/keyboard-shortcut-help-modal/dynamic-shortcut.d.ts +1 -1
- package/build-types/components/keyboard-shortcut-help-modal/dynamic-shortcut.d.ts.map +1 -1
- package/build-types/components/keyboard-shortcut-help-modal/index.d.ts +1 -1
- package/build-types/components/keyboard-shortcut-help-modal/index.d.ts.map +1 -1
- package/build-types/components/keyboard-shortcut-help-modal/shortcut.d.ts +3 -3
- package/build-types/components/keyboard-shortcut-help-modal/shortcut.d.ts.map +1 -1
- package/build-types/components/list-view-sidebar/index.d.ts.map +1 -1
- package/build-types/components/list-view-sidebar/list-view-outline.d.ts.map +1 -1
- package/build-types/components/local-autosave-monitor/index.d.ts +12 -0
- package/build-types/components/local-autosave-monitor/index.d.ts.map +1 -1
- package/build-types/components/media/index.d.ts +2 -2
- package/build-types/components/media/index.d.ts.map +1 -1
- package/build-types/components/media/media-editor-modal.d.ts.map +1 -1
- package/build-types/components/media/metadata-panel.d.ts.map +1 -1
- package/build-types/components/media/preview.d.ts.map +1 -1
- package/build-types/components/media-categories/index.d.ts +11 -4
- package/build-types/components/media-categories/index.d.ts.map +1 -1
- package/build-types/components/mode-switcher/index.d.ts +1 -1
- package/build-types/components/mode-switcher/index.d.ts.map +1 -1
- package/build-types/components/more-menu/copy-content-menu-item.d.ts.map +1 -1
- package/build-types/components/more-menu/index.d.ts.map +1 -1
- package/build-types/components/more-menu/tools-more-menu-group.d.ts +2 -2
- package/build-types/components/more-menu/tools-more-menu-group.d.ts.map +1 -1
- package/build-types/components/more-menu/view-more-menu-group.d.ts +2 -2
- package/build-types/components/more-menu/view-more-menu-group.d.ts.map +1 -1
- package/build-types/components/page-attributes/check.d.ts +3 -3
- package/build-types/components/page-attributes/check.d.ts.map +1 -1
- package/build-types/components/page-attributes/order.d.ts +1 -1
- package/build-types/components/page-attributes/order.d.ts.map +1 -1
- package/build-types/components/page-attributes/panel.d.ts +1 -1
- package/build-types/components/page-attributes/panel.d.ts.map +1 -1
- package/build-types/components/page-attributes/parent.d.ts +3 -3
- package/build-types/components/page-attributes/parent.d.ts.map +1 -1
- package/build-types/components/pattern-duplicate-modal/index.d.ts +1 -1
- package/build-types/components/pattern-duplicate-modal/index.d.ts.map +1 -1
- package/build-types/components/pattern-overrides-panel/index.d.ts.map +1 -1
- package/build-types/components/pattern-rename-modal/index.d.ts +1 -1
- package/build-types/components/pattern-rename-modal/index.d.ts.map +1 -1
- package/build-types/components/plugin-document-setting-panel/index.d.ts +8 -61
- package/build-types/components/plugin-document-setting-panel/index.d.ts.map +1 -1
- package/build-types/components/plugin-more-menu-item/index.d.ts +5 -5
- package/build-types/components/plugin-more-menu-item/index.d.ts.map +1 -1
- package/build-types/components/plugin-post-publish-panel/index.d.ts +9 -40
- package/build-types/components/plugin-post-publish-panel/index.d.ts.map +1 -1
- package/build-types/components/plugin-post-status-info/index.d.ts +6 -47
- package/build-types/components/plugin-post-status-info/index.d.ts.map +1 -1
- package/build-types/components/plugin-pre-publish-panel/index.d.ts +9 -43
- package/build-types/components/plugin-pre-publish-panel/index.d.ts.map +1 -1
- package/build-types/components/plugin-preview-menu-item/index.d.ts +5 -5
- package/build-types/components/plugin-preview-menu-item/index.d.ts.map +1 -1
- package/build-types/components/plugin-sidebar/index.d.ts +4 -4
- package/build-types/components/plugin-sidebar/index.d.ts.map +1 -1
- package/build-types/components/plugin-sidebar-more-menu-item/index.d.ts +3 -3
- package/build-types/components/plugin-sidebar-more-menu-item/index.d.ts.map +1 -1
- package/build-types/components/post-actions/actions.d.ts +3 -3
- package/build-types/components/post-actions/actions.d.ts.map +1 -1
- package/build-types/components/post-actions/index.d.ts +4 -4
- package/build-types/components/post-actions/index.d.ts.map +1 -1
- package/build-types/components/post-actions/set-as-homepage.d.ts +2 -2
- package/build-types/components/post-actions/set-as-homepage.d.ts.map +1 -1
- package/build-types/components/post-actions/set-as-posts-page.d.ts +2 -2
- package/build-types/components/post-actions/set-as-posts-page.d.ts.map +1 -1
- package/build-types/components/post-author/check.d.ts +2 -2
- package/build-types/components/post-author/check.d.ts.map +1 -1
- package/build-types/components/post-author/combobox.d.ts.map +1 -1
- package/build-types/components/post-author/constants.d.ts +10 -8
- package/build-types/components/post-author/constants.d.ts.map +1 -1
- package/build-types/components/post-author/hook.d.ts +1 -1
- package/build-types/components/post-author/hook.d.ts.map +1 -1
- package/build-types/components/post-author/index.d.ts +2 -2
- package/build-types/components/post-author/index.d.ts.map +1 -1
- package/build-types/components/post-author/panel.d.ts +1 -1
- package/build-types/components/post-author/panel.d.ts.map +1 -1
- package/build-types/components/post-author/select.d.ts.map +1 -1
- package/build-types/components/post-card-panel/index.d.ts +7 -7
- package/build-types/components/post-card-panel/index.d.ts.map +1 -1
- package/build-types/components/post-comments/index.d.ts +6 -1
- package/build-types/components/post-comments/index.d.ts.map +1 -1
- package/build-types/components/post-content-information/index.d.ts +1 -1
- package/build-types/components/post-content-information/index.d.ts.map +1 -1
- package/build-types/components/post-discussion/panel.d.ts +1 -1
- package/build-types/components/post-discussion/panel.d.ts.map +1 -1
- package/build-types/components/post-excerpt/check.d.ts +3 -3
- package/build-types/components/post-excerpt/check.d.ts.map +1 -1
- package/build-types/components/post-excerpt/index.d.ts +3 -3
- package/build-types/components/post-excerpt/index.d.ts.map +1 -1
- package/build-types/components/post-excerpt/panel.d.ts +2 -2
- package/build-types/components/post-excerpt/panel.d.ts.map +1 -1
- package/build-types/components/post-excerpt/plugin.d.ts +6 -43
- package/build-types/components/post-excerpt/plugin.d.ts.map +1 -1
- package/build-types/components/post-featured-image/check.d.ts +3 -3
- package/build-types/components/post-featured-image/check.d.ts.map +1 -1
- package/build-types/components/post-featured-image/index.d.ts +15 -0
- package/build-types/components/post-featured-image/index.d.ts.map +1 -1
- package/build-types/components/post-featured-image/panel.d.ts +1 -1
- package/build-types/components/post-featured-image/panel.d.ts.map +1 -1
- package/build-types/components/post-fields/index.d.ts +1 -1
- package/build-types/components/post-fields/index.d.ts.map +1 -1
- package/build-types/components/post-format/check.d.ts +2 -2
- package/build-types/components/post-format/check.d.ts.map +1 -1
- package/build-types/components/post-format/index.d.ts +12 -12
- package/build-types/components/post-format/index.d.ts.map +1 -1
- package/build-types/components/post-format/panel.d.ts +2 -2
- package/build-types/components/post-format/panel.d.ts.map +1 -1
- package/build-types/components/post-last-edited-panel/index.d.ts.map +1 -1
- package/build-types/components/post-last-revision/check.d.ts +3 -3
- package/build-types/components/post-last-revision/check.d.ts.map +1 -1
- package/build-types/components/post-last-revision/index.d.ts +3 -3
- package/build-types/components/post-last-revision/index.d.ts.map +1 -1
- package/build-types/components/post-last-revision/panel.d.ts +2 -2
- package/build-types/components/post-last-revision/panel.d.ts.map +1 -1
- package/build-types/components/post-locked-modal/index.d.ts +11 -5
- package/build-types/components/post-locked-modal/index.d.ts.map +1 -1
- package/build-types/components/post-panel-row/index.d.ts +1 -1
- package/build-types/components/post-panel-row/index.d.ts.map +1 -1
- package/build-types/components/post-panel-section/index.d.ts +2 -2
- package/build-types/components/post-panel-section/index.d.ts.map +1 -1
- package/build-types/components/post-pending-status/check.d.ts +3 -3
- package/build-types/components/post-pending-status/check.d.ts.map +1 -1
- package/build-types/components/post-pending-status/index.d.ts +1 -1
- package/build-types/components/post-pending-status/index.d.ts.map +1 -1
- package/build-types/components/post-pingbacks/index.d.ts +7 -1
- package/build-types/components/post-pingbacks/index.d.ts.map +1 -1
- package/build-types/components/post-preview-button/index.d.ts +2 -2
- package/build-types/components/post-preview-button/index.d.ts.map +1 -1
- package/build-types/components/post-publish-button/index.d.ts +5 -5
- package/build-types/components/post-publish-button/index.d.ts.map +1 -1
- package/build-types/components/post-publish-button/label.d.ts.map +1 -1
- package/build-types/components/post-publish-button/post-publish-button-or-toggle.d.ts +1 -1
- package/build-types/components/post-publish-button/post-publish-button-or-toggle.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/index.d.ts +17 -13
- package/build-types/components/post-publish-panel/index.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/maybe-category-panel.d.ts +1 -1
- package/build-types/components/post-publish-panel/maybe-category-panel.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/maybe-post-format-panel.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/maybe-tags-panel.d.ts +1 -1
- package/build-types/components/post-publish-panel/maybe-tags-panel.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/maybe-upload-media.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/media-util.d.ts +2 -2
- package/build-types/components/post-publish-panel/media-util.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/postpublish.d.ts +2 -2
- package/build-types/components/post-publish-panel/postpublish.d.ts.map +1 -1
- package/build-types/components/post-publish-panel/prepublish.d.ts +1 -1
- package/build-types/components/post-publish-panel/prepublish.d.ts.map +1 -1
- package/build-types/components/post-revisions-panel/index.d.ts.map +1 -1
- package/build-types/components/post-revisions-preview/block-diff.d.ts +1 -1
- package/build-types/components/post-revisions-preview/block-diff.d.ts.map +1 -1
- package/build-types/components/post-revisions-preview/diff-format-types.d.ts +2 -2
- package/build-types/components/post-revisions-preview/diff-format-types.d.ts.map +1 -1
- package/build-types/components/post-revisions-preview/diff-markers.d.ts +1 -1
- package/build-types/components/post-revisions-preview/diff-markers.d.ts.map +1 -1
- package/build-types/components/post-revisions-preview/index.d.ts +2 -2
- package/build-types/components/post-revisions-preview/index.d.ts.map +1 -1
- package/build-types/components/post-revisions-preview/preserve-client-ids.d.ts +1 -1
- package/build-types/components/post-revisions-preview/preserve-client-ids.d.ts.map +1 -1
- package/build-types/components/post-revisions-preview/revisions-canvas.d.ts +1 -1
- package/build-types/components/post-revisions-preview/revisions-canvas.d.ts.map +1 -1
- package/build-types/components/post-revisions-preview/revisions-header.d.ts +2 -2
- package/build-types/components/post-revisions-preview/revisions-header.d.ts.map +1 -1
- package/build-types/components/post-revisions-preview/revisions-slider.d.ts +3 -3
- package/build-types/components/post-revisions-preview/revisions-slider.d.ts.map +1 -1
- package/build-types/components/post-saved-state/index.d.ts +1 -1
- package/build-types/components/post-saved-state/index.d.ts.map +1 -1
- package/build-types/components/post-schedule/check.d.ts +2 -2
- package/build-types/components/post-schedule/check.d.ts.map +1 -1
- package/build-types/components/post-schedule/index.d.ts +3 -3
- package/build-types/components/post-schedule/index.d.ts.map +1 -1
- package/build-types/components/post-schedule/label.d.ts +4 -4
- package/build-types/components/post-schedule/label.d.ts.map +1 -1
- package/build-types/components/post-schedule/panel.d.ts +1 -1
- package/build-types/components/post-schedule/panel.d.ts.map +1 -1
- package/build-types/components/post-status/index.d.ts +2 -2
- package/build-types/components/post-status/index.d.ts.map +1 -1
- package/build-types/components/post-sticky/check.d.ts +2 -2
- package/build-types/components/post-sticky/check.d.ts.map +1 -1
- package/build-types/components/post-sticky/index.d.ts +1 -1
- package/build-types/components/post-sticky/index.d.ts.map +1 -1
- package/build-types/components/post-sticky/panel.d.ts +1 -1
- package/build-types/components/post-sticky/panel.d.ts.map +1 -1
- package/build-types/components/post-switch-to-draft-button/index.d.ts +1 -1
- package/build-types/components/post-switch-to-draft-button/index.d.ts.map +1 -1
- package/build-types/components/post-sync-status/index.d.ts +1 -1
- package/build-types/components/post-sync-status/index.d.ts.map +1 -1
- package/build-types/components/post-taxonomies/check.d.ts +2 -2
- package/build-types/components/post-taxonomies/check.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 +6 -6
- package/build-types/components/post-taxonomies/hierarchical-term-selector.d.ts.map +1 -1
- package/build-types/components/post-taxonomies/index.d.ts +9 -1
- package/build-types/components/post-taxonomies/index.d.ts.map +1 -1
- package/build-types/components/post-taxonomies/most-used-terms.d.ts.map +1 -1
- package/build-types/components/post-taxonomies/panel.d.ts +1 -1
- package/build-types/components/post-taxonomies/panel.d.ts.map +1 -1
- package/build-types/components/post-template/block-theme.d.ts.map +1 -1
- package/build-types/components/post-template/classic-theme.d.ts +8 -1
- package/build-types/components/post-template/classic-theme.d.ts.map +1 -1
- package/build-types/components/post-template/create-new-template-modal.d.ts.map +1 -1
- package/build-types/components/post-template/create-new-template.d.ts.map +1 -1
- package/build-types/components/post-template/hooks.d.ts +5 -5
- package/build-types/components/post-template/hooks.d.ts.map +1 -1
- package/build-types/components/post-template/panel.d.ts +1 -1
- package/build-types/components/post-template/panel.d.ts.map +1 -1
- package/build-types/components/post-template/reset-default-template.d.ts.map +1 -1
- package/build-types/components/post-template/swap-template-button.d.ts +1 -1
- package/build-types/components/post-template/swap-template-button.d.ts.map +1 -1
- package/build-types/components/post-text-editor/index.d.ts +1 -1
- package/build-types/components/post-text-editor/index.d.ts.map +1 -1
- package/build-types/components/post-title/constants.d.ts +2 -2
- package/build-types/components/post-title/constants.d.ts.map +1 -1
- package/build-types/components/post-title/index.d.ts +9 -1
- package/build-types/components/post-title/index.d.ts.map +1 -1
- package/build-types/components/post-title/post-title-raw.d.ts +1 -1
- package/build-types/components/post-title/use-post-title-focus.d.ts.map +1 -1
- package/build-types/components/post-title/use-post-title.d.ts.map +1 -1
- package/build-types/components/post-transform-panel/hooks.d.ts +1 -1
- package/build-types/components/post-transform-panel/hooks.d.ts.map +1 -1
- package/build-types/components/post-transform-panel/index.d.ts.map +1 -1
- package/build-types/components/post-trash/check.d.ts +2 -2
- package/build-types/components/post-trash/check.d.ts.map +1 -1
- package/build-types/components/post-trash/index.d.ts +1 -1
- package/build-types/components/post-trash/index.d.ts.map +1 -1
- package/build-types/components/post-type-support-check/index.d.ts +3 -3
- package/build-types/components/post-type-support-check/index.d.ts.map +1 -1
- package/build-types/components/post-url/check.d.ts +2 -2
- package/build-types/components/post-url/check.d.ts.map +1 -1
- package/build-types/components/post-url/index.d.ts +1 -1
- package/build-types/components/post-url/index.d.ts.map +1 -1
- package/build-types/components/post-url/label.d.ts +2 -2
- package/build-types/components/post-url/label.d.ts.map +1 -1
- package/build-types/components/post-url/panel.d.ts +1 -1
- package/build-types/components/post-url/panel.d.ts.map +1 -1
- package/build-types/components/post-view-link/index.d.ts.map +1 -1
- package/build-types/components/post-visibility/check.d.ts +1 -1
- package/build-types/components/post-visibility/check.d.ts.map +1 -1
- package/build-types/components/post-visibility/index.d.ts +1 -1
- package/build-types/components/post-visibility/index.d.ts.map +1 -1
- package/build-types/components/post-visibility/label.d.ts +1 -1
- package/build-types/components/post-visibility/label.d.ts.map +1 -1
- package/build-types/components/post-visibility/utils.d.ts +1 -1
- package/build-types/components/post-visibility/utils.d.ts.map +1 -1
- package/build-types/components/posts-per-page/index.d.ts.map +1 -1
- package/build-types/components/preferences-modal/enable-panel.d.ts.map +1 -1
- package/build-types/components/preferences-modal/enable-plugin-document-setting-panel.d.ts +4 -5
- package/build-types/components/preferences-modal/enable-plugin-document-setting-panel.d.ts.map +1 -1
- package/build-types/components/preferences-modal/enable-publish-sidebar.d.ts.map +1 -1
- package/build-types/components/preferences-modal/index.d.ts +3 -0
- package/build-types/components/preferences-modal/index.d.ts.map +1 -1
- package/build-types/components/preview-dropdown/index.d.ts +1 -1
- package/build-types/components/preview-dropdown/index.d.ts.map +1 -1
- package/build-types/components/provider/disable-non-page-content-blocks.d.ts.map +1 -1
- package/build-types/components/provider/index.d.ts +33 -33
- package/build-types/components/provider/index.d.ts.map +1 -1
- package/build-types/components/provider/navigation-block-editing-mode.d.ts.map +1 -1
- package/build-types/components/provider/use-auto-switch-editor-sidebars.d.ts +1 -1
- package/build-types/components/provider/use-auto-switch-editor-sidebars.d.ts.map +1 -1
- package/build-types/components/provider/use-block-editor-settings.d.ts +1 -1
- package/build-types/components/provider/use-block-editor-settings.d.ts.map +1 -1
- package/build-types/components/provider/use-hide-blocks-from-inserter.d.ts +1 -1
- package/build-types/components/provider/use-hide-blocks-from-inserter.d.ts.map +1 -1
- package/build-types/components/provider/use-post-content-block-types.d.ts.map +1 -1
- package/build-types/components/provider/use-revision-blocks.d.ts +1 -1
- package/build-types/components/provider/use-revision-blocks.d.ts.map +1 -1
- package/build-types/components/provider/use-upload-save-lock.d.ts.map +1 -1
- package/build-types/components/provider/with-registry-provider.d.ts +1 -1
- package/build-types/components/provider/with-registry-provider.d.ts.map +1 -1
- package/build-types/components/resizable-editor/index.d.ts +2 -2
- package/build-types/components/resizable-editor/index.d.ts.map +1 -1
- package/build-types/components/resizable-editor/resize-handle.d.ts.map +1 -1
- package/build-types/components/revision-author-panel/index.d.ts.map +1 -1
- package/build-types/components/revision-block-diff/index.d.ts.map +1 -1
- package/build-types/components/revision-created-panel/index.d.ts.map +1 -1
- package/build-types/components/revision-diff-panel/index.d.ts.map +1 -1
- package/build-types/components/revision-fields-diff/index.d.ts.map +1 -1
- package/build-types/components/save-publish-panels/index.d.ts +7 -7
- package/build-types/components/save-publish-panels/index.d.ts.map +1 -1
- package/build-types/components/sidebar/constants.d.ts +4 -4
- package/build-types/components/sidebar/constants.d.ts.map +1 -1
- package/build-types/components/sidebar/dataform-post-summary.d.ts.map +1 -1
- package/build-types/components/sidebar/header.d.ts +1 -1
- package/build-types/components/sidebar/index.d.ts +3 -3
- package/build-types/components/sidebar/index.d.ts.map +1 -1
- package/build-types/components/sidebar/post-revision-summary.d.ts.map +1 -1
- package/build-types/components/sidebar/post-summary.d.ts.map +1 -1
- package/build-types/components/site-discussion/index.d.ts.map +1 -1
- package/build-types/components/start-page-options/index.d.ts +1 -1
- package/build-types/components/start-page-options/index.d.ts.map +1 -1
- package/build-types/components/start-template-options/index.d.ts.map +1 -1
- package/build-types/components/style-book/categories.d.ts +3 -0
- package/build-types/components/style-book/categories.d.ts.map +1 -1
- package/build-types/components/style-book/color-examples.d.ts.map +1 -1
- package/build-types/components/style-book/duotone-examples.d.ts.map +1 -1
- package/build-types/components/style-book/index.d.ts +19 -8
- package/build-types/components/style-book/index.d.ts.map +1 -1
- package/build-types/components/styles-canvas/index.d.ts +2 -2
- package/build-types/components/styles-canvas/index.d.ts.map +1 -1
- package/build-types/components/styles-canvas/revisions.d.ts +1 -1
- package/build-types/components/styles-canvas/style-book.d.ts +1 -1
- package/build-types/components/table-of-contents/index.d.ts +11 -1
- package/build-types/components/table-of-contents/index.d.ts.map +1 -1
- package/build-types/components/table-of-contents/panel.d.ts +1 -1
- package/build-types/components/table-of-contents/panel.d.ts.map +1 -1
- package/build-types/components/template-actions-panel/block-theme-content.d.ts.map +1 -1
- package/build-types/components/template-actions-panel/classic-theme-content.d.ts.map +1 -1
- package/build-types/components/template-actions-panel/index.d.ts.map +1 -1
- package/build-types/components/template-content-panel/index.d.ts.map +1 -1
- package/build-types/components/template-part-content-panel/index.d.ts.map +1 -1
- package/build-types/components/template-part-menu-items/convert-to-regular.d.ts.map +1 -1
- package/build-types/components/template-part-menu-items/convert-to-template-part.d.ts +1 -1
- package/build-types/components/template-part-menu-items/convert-to-template-part.d.ts.map +1 -1
- package/build-types/components/template-part-menu-items/index.d.ts.map +1 -1
- package/build-types/components/template-validation-notice/index.d.ts.map +1 -1
- package/build-types/components/text-editor/index.d.ts.map +1 -1
- package/build-types/components/theme-support-check/index.d.ts +2 -2
- package/build-types/components/theme-support-check/index.d.ts.map +1 -1
- package/build-types/components/time-to-read/index.d.ts +1 -1
- package/build-types/components/time-to-read/index.d.ts.map +1 -1
- package/build-types/components/unsaved-changes-warning/index.d.ts +1 -1
- package/build-types/components/unsaved-changes-warning/index.d.ts.map +1 -1
- package/build-types/components/visual-editor/edit-template-blocks-notification.d.ts +1 -1
- package/build-types/components/visual-editor/edit-template-blocks-notification.d.ts.map +1 -1
- package/build-types/components/visual-editor/index.d.ts +4 -4
- package/build-types/components/visual-editor/index.d.ts.map +1 -1
- package/build-types/components/visual-editor/use-edit-content-only-section-exit.d.ts +1 -1
- package/build-types/components/visual-editor/use-edit-content-only-section-exit.d.ts.map +1 -1
- package/build-types/components/visual-editor/use-padding-appender.d.ts +1 -1
- package/build-types/components/visual-editor/use-padding-appender.d.ts.map +1 -1
- package/build-types/components/visual-editor/use-select-nearest-editable-block.d.ts +1 -1
- package/build-types/components/visual-editor/use-select-nearest-editable-block.d.ts.map +1 -1
- package/build-types/components/visual-editor/use-zoom-out-mode-exit.d.ts +1 -1
- package/build-types/components/visual-editor/use-zoom-out-mode-exit.d.ts.map +1 -1
- package/build-types/components/word-count/index.d.ts +1 -1
- package/build-types/components/word-count/index.d.ts.map +1 -1
- package/build-types/components/zoom-out-toggle/index.d.ts +3 -3
- package/build-types/components/zoom-out-toggle/index.d.ts.map +1 -1
- package/build-types/dataviews/api.d.ts +6 -6
- package/build-types/dataviews/api.d.ts.map +1 -1
- package/build-types/dataviews/fields/content-preview/index.d.ts.map +1 -1
- package/build-types/dataviews/store/private-actions.d.ts +5 -5
- package/build-types/dataviews/store/private-actions.d.ts.map +1 -1
- package/build-types/dataviews/store/reducer.d.ts +2 -2
- package/build-types/dataviews/store/reducer.d.ts.map +1 -1
- package/build-types/hooks/custom-sources-backwards-compatibility.d.ts +3 -9
- package/build-types/hooks/custom-sources-backwards-compatibility.d.ts.map +1 -1
- package/build-types/hooks/index.d.ts +10 -1
- package/build-types/hooks/index.d.ts.map +1 -1
- package/build-types/hooks/pattern-overrides.d.ts +1 -1
- package/build-types/hooks/pattern-overrides.d.ts.map +1 -1
- package/build-types/hooks/use-global-styles-output.d.ts +2 -2
- package/build-types/hooks/use-global-styles-output.d.ts.map +1 -1
- package/build-types/index.d.ts +10 -5
- package/build-types/index.d.ts.map +1 -1
- package/build-types/lock-unlock.d.ts +1 -2
- package/build-types/lock-unlock.d.ts.map +1 -1
- package/build-types/private-apis.d.ts +1 -1
- package/build-types/private-apis.d.ts.map +1 -1
- package/build-types/store/actions.d.ts +330 -116
- package/build-types/store/actions.d.ts.map +1 -1
- package/build-types/store/constants.d.ts.map +1 -1
- package/build-types/store/defaults.d.ts +1 -1
- package/build-types/store/defaults.d.ts.map +1 -1
- package/build-types/store/index.d.ts +77 -9
- package/build-types/store/index.d.ts.map +1 -1
- package/build-types/store/local-autosave.d.ts +3 -3
- package/build-types/store/local-autosave.d.ts.map +1 -1
- package/build-types/store/private-actions.d.ts +106 -46
- package/build-types/store/private-actions.d.ts.map +1 -1
- package/build-types/store/private-selectors.d.ts +96 -68
- package/build-types/store/private-selectors.d.ts.map +1 -1
- package/build-types/store/reducer.d.ts +47 -52
- package/build-types/store/reducer.d.ts.map +1 -1
- package/build-types/store/selectors.d.ts +422 -429
- package/build-types/store/selectors.d.ts.map +1 -1
- package/build-types/store/utils/is-template-revertable.d.ts.map +1 -1
- package/build-types/store/utils/notice-builder.d.ts +3 -3
- package/build-types/store/utils/notice-builder.d.ts.map +1 -1
- package/build-types/utils/get-item-title.d.ts +1 -1
- package/build-types/utils/get-item-title.d.ts.map +1 -1
- package/build-types/utils/get-template-info.d.ts +11 -4
- package/build-types/utils/get-template-info.d.ts.map +1 -1
- package/build-types/utils/get-template-part-icon.d.ts +1 -1
- package/build-types/utils/get-template-part-icon.d.ts.map +1 -1
- package/build-types/utils/index.d.ts +6 -3
- package/build-types/utils/index.d.ts.map +1 -1
- package/build-types/utils/media-finalize/index.d.ts.map +1 -1
- package/build-types/utils/media-sideload/index.d.ts +1 -1
- package/build-types/utils/media-sideload/index.d.ts.map +1 -1
- package/build-types/utils/media-upload/index.d.ts +1 -1
- package/build-types/utils/media-upload/index.d.ts.map +1 -1
- package/build-types/utils/media-upload/on-success.d.ts.map +1 -1
- package/build-types/utils/pageTypeBadge.d.ts.map +1 -1
- package/build-types/utils/search-templates.d.ts +1 -1
- package/build-types/utils/search-templates.d.ts.map +1 -1
- package/build-types/utils/set-nested-value.d.ts.map +1 -1
- package/build-types/utils/terms.d.ts +19 -4
- package/build-types/utils/terms.d.ts.map +1 -1
- package/build-types/utils/url.d.ts +1 -1
- package/build-types/utils/url.d.ts.map +1 -1
- package/package.json +48 -48
- package/src/components/block-visibility/style.scss +2 -2
- package/src/components/collab-sidebar/index.js +48 -36
- package/src/components/collab-sidebar/note-thread.js +28 -10
- package/src/components/collab-sidebar/notes.js +9 -6
- package/src/components/collab-sidebar/style.scss +4 -0
- package/src/components/collab-sidebar/utils.js +41 -14
- package/src/components/collaborators-presence/index.tsx +0 -2
- package/src/components/collaborators-presence/list.tsx +0 -2
- package/src/components/post-last-revision/index.js +5 -0
- package/src/components/post-publish-panel/index.js +149 -156
- package/src/components/post-publish-panel/test/__snapshots__/index.js.snap +11 -26
- package/src/components/post-publish-panel/test/index.js +41 -23
- package/src/components/post-revisions-preview/block-diff.js +165 -41
- package/src/components/post-revisions-preview/diff-markers.js +12 -9
- package/src/components/post-revisions-preview/revisions-slider.js +130 -71
- package/src/components/post-revisions-preview/style.scss +3 -3
- package/src/components/post-revisions-preview/test/block-diff.js +133 -4
- package/src/components/post-template/style.scss +1 -1
- package/src/components/start-page-options/style.scss +2 -2
- package/src/components/start-template-options/style.scss +2 -2
- package/src/store/private-actions.js +34 -0
- package/src/store/private-selectors.js +127 -51
- package/src/store/reducer.js +21 -0
- package/src/store/selectors.js +6 -0
- package/src/store/test/private-selectors.js +107 -1
- package/src/style.scss +2 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-shortcut.d.ts","sourceRoot":"","sources":["../../../src/components/keyboard-shortcut-help-modal/dynamic-shortcut.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dynamic-shortcut.d.ts","sourceRoot":"","sources":["../../../src/components/keyboard-shortcut-help-modal/dynamic-shortcut.js"],"names":[],"mappings":"AAWA,iBAAS,eAAe,CAAE,EAAE,IAAI,EAAE;;CAAA,sCA6BjC;eAEc,eAAe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/keyboard-shortcut-help-modal/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/keyboard-shortcut-help-modal/index.js"],"names":[],"mappings":"AA0FA,iBAAS,yBAAyB,uCAmEjC;eAEc,yBAAyB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export default Shortcut;
|
|
2
1
|
declare function Shortcut({ description, keyCombination, aliases, ariaLabel }: {
|
|
3
|
-
description: any;
|
|
4
|
-
keyCombination: any;
|
|
5
2
|
aliases?: never[] | undefined;
|
|
6
3
|
ariaLabel: any;
|
|
4
|
+
description: any;
|
|
5
|
+
keyCombination: any;
|
|
7
6
|
}): import("react").JSX.Element;
|
|
7
|
+
export default Shortcut;
|
|
8
8
|
//# sourceMappingURL=shortcut.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shortcut.d.ts","sourceRoot":"","sources":["../../../src/components/keyboard-shortcut-help-modal/shortcut.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"shortcut.d.ts","sourceRoot":"","sources":["../../../src/components/keyboard-shortcut-help-modal/shortcut.js"],"names":[],"mappings":"AA2CA,iBAAS,QAAQ,CAAE,EAAE,WAAW,EAAE,cAAc,EAAE,OAAY,EAAE,SAAS,EAAE;;;;;CAAA,+BAqB1E;eAEc,QAAQ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/list-view-sidebar/index.js"],"names":[],"mappings":"AAwBA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/list-view-sidebar/index.js"],"names":[],"mappings":"AAwBA,MAAM,CAAC,OAAO,UAAU,eAAe,gCAkItC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-view-outline.d.ts","sourceRoot":"","sources":["../../../src/components/list-view-sidebar/list-view-outline.js"],"names":[],"mappings":"AAcA,
|
|
1
|
+
{"version":3,"file":"list-view-outline.d.ts","sourceRoot":"","sources":["../../../src/components/list-view-sidebar/list-view-outline.js"],"names":[],"mappings":"AAcA,MAAM,CAAC,OAAO,UAAU,eAAe,gCAsBtC"}
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Monitors local autosaves of a post in the editor.
|
|
3
|
+
* It uses several hooks and functions to manage autosave behavior:
|
|
4
|
+
* - `useAutosaveNotice` hook: Manages the creation of a notice prompting the user to restore a local autosave, if one exists.
|
|
5
|
+
* - `useAutosavePurge` hook: Ejects a local autosave after a successful save occurs.
|
|
6
|
+
* - `hasSessionStorageSupport` function: Checks if the current environment supports browser sessionStorage.
|
|
7
|
+
* - `LocalAutosaveMonitor` component: Uses the `AutosaveMonitor` component to perform autosaves at a specified interval.
|
|
8
|
+
*
|
|
9
|
+
* The module also checks for sessionStorage support and conditionally exports the `LocalAutosaveMonitor` component based on that.
|
|
10
|
+
*
|
|
11
|
+
* @module LocalAutosaveMonitor
|
|
12
|
+
*/
|
|
1
13
|
declare const _default: (props: {}) => import("react").JSX.Element | null;
|
|
2
14
|
export default _default;
|
|
3
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/local-autosave-monitor/index.js"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/local-autosave-monitor/index.js"],"names":[],"mappings":"AAkMA;;;;;;;;;;;GAWG"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as MediaPreview } from
|
|
2
|
-
export { default as MediaMetadataPanel } from
|
|
1
|
+
export { default as MediaPreview } from './preview';
|
|
2
|
+
export { default as MediaMetadataPanel } from './metadata-panel';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/media/index.js"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/media/index.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,WAAW,CAAC;AACpD,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"media-editor-modal.d.ts","sourceRoot":"","sources":["../../../src/components/media/media-editor-modal.js"],"names":[],"mappings":"AA2CA;;;;;;;;GAQG;AACH,
|
|
1
|
+
{"version":3,"file":"media-editor-modal.d.ts","sourceRoot":"","sources":["../../../src/components/media/media-editor-modal.js"],"names":[],"mappings":"AA2CA;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,YA0C5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata-panel.d.ts","sourceRoot":"","sources":["../../../src/components/media/metadata-panel.js"],"names":[],"mappings":"AAgBA;;;;;;;GAOG;AACH,
|
|
1
|
+
{"version":3,"file":"metadata-panel.d.ts","sourceRoot":"","sources":["../../../src/components/media/metadata-panel.js"],"names":[],"mappings":"AAgBA;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAE,EAAE,iBAAiB,EAAE,EAH9D;IAAwB,iBAAiB,WACzC;CAE8D,WAoDhE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../../../src/components/media/preview.js"],"names":[],"mappings":"AAcA;;;;;;GAMG;AACH,
|
|
1
|
+
{"version":3,"file":"preview.d.ts","sourceRoot":"","sources":["../../../src/components/media/preview.js"],"names":[],"mappings":"AAcA;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAE,KAAK,QAAA,WAa1C"}
|
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* The `editor` settings here need to be in sync with the corresponding ones in `editor` package.
|
|
3
|
+
* See `packages/editor/src/components/media-categories/index.js`.
|
|
4
|
+
*
|
|
5
|
+
* In the future we could consider creating an Openvese package that can be used in both `editor` and `site-editor`.
|
|
6
|
+
* The rest of the settings would still need to be in sync though.
|
|
7
|
+
*/
|
|
8
|
+
export type InserterMediaRequest = import('@wordpress/block-editor').InserterMediaRequest;
|
|
9
|
+
export type InserterMediaItem = import('@wordpress/block-editor').InserterMediaItem;
|
|
10
|
+
export type InserterMediaCategory = import('@wordpress/block-editor').InserterMediaCategory;
|
|
5
11
|
/** @type {InserterMediaCategory[]} */
|
|
6
12
|
declare const inserterMediaCategories: InserterMediaCategory[];
|
|
13
|
+
export default inserterMediaCategories;
|
|
7
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/media-categories/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/media-categories/index.js"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAcC,YAAkE,oBAAoB,GAA5E,OAAO,yBAAyB,EAAE,oBAAoB,CAAsB;AACtF,YAA+D,iBAAiB,GAAtE,OAAO,yBAAyB,EAAE,iBAAiB,CAAmB;AAChF,YAAmE,qBAAqB,GAA9E,OAAO,yBAAyB,EAAE,qBAAqB,CAAuB;AA0H5F,sCAAsC;AACtC,QAAA,MAAM,uBAAuB,EADlB,qBAAqB,EAkF/B,CAAC;eAEa,uBAAuB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/mode-switcher/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/mode-switcher/index.js"],"names":[],"mappings":"AA6BA,iBAAS,YAAY,gCA0DpB;eAEc,YAAY"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copy-content-menu-item.d.ts","sourceRoot":"","sources":["../../../src/components/more-menu/copy-content-menu-item.js"],"names":[],"mappings":"AAcA,
|
|
1
|
+
{"version":3,"file":"copy-content-menu-item.d.ts","sourceRoot":"","sources":["../../../src/components/more-menu/copy-content-menu-item.js"],"names":[],"mappings":"AAcA,MAAM,CAAC,OAAO,UAAU,mBAAmB,gCAkB1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/more-menu/index.js"],"names":[],"mappings":"AAwBA;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/more-menu/index.js"],"names":[],"mappings":"AAwBA,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAE,EAAE,QAAgB,EAAE;;CAAA,+BAsIrD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export default ToolsMoreMenuGroup;
|
|
2
1
|
declare const ToolsMoreMenuGroup: {
|
|
3
|
-
(props: Omit<import("@wordpress/components").FillComponentProps,
|
|
2
|
+
(props: Omit<import("@wordpress/components").FillComponentProps, 'name'>): import("react").JSX.Element;
|
|
4
3
|
displayName: string;
|
|
5
4
|
};
|
|
5
|
+
export default ToolsMoreMenuGroup;
|
|
6
6
|
//# sourceMappingURL=tools-more-menu-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools-more-menu-group.d.ts","sourceRoot":"","sources":["../../../src/components/more-menu/tools-more-menu-group.js"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"tools-more-menu-group.d.ts","sourceRoot":"","sources":["../../../src/components/more-menu/tools-more-menu-group.js"],"names":[],"mappings":"AAKA,QAAA,MAAc,kBAAkB;;;CACO,CAAC;eAIzB,kBAAkB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export default ViewMoreMenuGroup;
|
|
2
1
|
declare const ViewMoreMenuGroup: {
|
|
3
|
-
(props: Omit<import("@wordpress/components").FillComponentProps,
|
|
2
|
+
(props: Omit<import("@wordpress/components").FillComponentProps, 'name'>): import("react").JSX.Element;
|
|
4
3
|
displayName: string;
|
|
5
4
|
};
|
|
5
|
+
export default ViewMoreMenuGroup;
|
|
6
6
|
//# sourceMappingURL=view-more-menu-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"view-more-menu-group.d.ts","sourceRoot":"","sources":["../../../src/components/more-menu/view-more-menu-group.js"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"view-more-menu-group.d.ts","sourceRoot":"","sources":["../../../src/components/more-menu/view-more-menu-group.js"],"names":[],"mappings":"AAMA,QAAA,MAAc,iBAAiB;;;CAE9B,CAAC;eAIa,iBAAiB"}
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*
|
|
7
7
|
* @return {React.ReactNode} The rendered child components or null if page attributes are not supported.
|
|
8
8
|
*/
|
|
9
|
-
export function PageAttributesCheck({ children }: {
|
|
10
|
-
children:
|
|
11
|
-
}):
|
|
9
|
+
export declare function PageAttributesCheck({ children }: {
|
|
10
|
+
children: import("react").ReactNode;
|
|
11
|
+
}): import("react").ReactNode;
|
|
12
12
|
export default PageAttributesCheck;
|
|
13
13
|
//# sourceMappingURL=check.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/components/page-attributes/check.js"],"names":[],"mappings":"AAWA;;;;;;;GAOG;AACH,
|
|
1
|
+
{"version":3,"file":"check.d.ts","sourceRoot":"","sources":["../../../src/components/page-attributes/check.js"],"names":[],"mappings":"AAWA;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAE,EAAE,QAAQ,EAAE,EAJ9C;IAA+B,QAAQ,4BAEvC;CAE8C,6BAehD;eAEc,mBAAmB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../../src/components/page-attributes/order.js"],"names":[],"mappings":"AAwDA;;;;;;GAMG;AACH,
|
|
1
|
+
{"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../../src/components/page-attributes/order.js"],"names":[],"mappings":"AAwDA;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,6BAA6B,8BAMpD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panel.d.ts","sourceRoot":"","sources":["../../../src/components/page-attributes/panel.js"],"names":[],"mappings":"AAgCA;;;;GAIG;AACH
|
|
1
|
+
{"version":3,"file":"panel.d.ts","sourceRoot":"","sources":["../../../src/components/page-attributes/panel.js"],"names":[],"mappings":"AAgCA;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,8BAM1C"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
export declare const getItemPriority: (name: any, searchValue: any) => number;
|
|
1
2
|
/**
|
|
2
3
|
* Renders the Page Attributes Parent component. A dropdown menu in an editor interface
|
|
3
4
|
* for selecting the parent page of a given page.
|
|
4
5
|
*
|
|
5
6
|
* @return {React.ReactNode} The component to be rendered. Return null if post type is not hierarchical.
|
|
6
7
|
*/
|
|
7
|
-
export function PageAttributesParent():
|
|
8
|
-
export function ParentRow(): import("react").JSX.Element;
|
|
9
|
-
export function getItemPriority(name: any, searchValue: any): number;
|
|
8
|
+
export declare function PageAttributesParent(): import("react").ReactNode;
|
|
9
|
+
export declare function ParentRow(): import("react").JSX.Element;
|
|
10
10
|
export default PageAttributesParent;
|
|
11
11
|
//# sourceMappingURL=parent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parent.d.ts","sourceRoot":"","sources":["../../../src/components/page-attributes/parent.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"parent.d.ts","sourceRoot":"","sources":["../../../src/components/page-attributes/parent.js"],"names":[],"mappings":"AAwCA,eAAO,MAAM,eAAe,yCAY3B,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,oBAAoB,8BAoJnC;AAkCD,wBAAgB,SAAS,gCA4ExB;eAEc,oBAAoB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/pattern-duplicate-modal/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/pattern-duplicate-modal/index.js"],"names":[],"mappings":"AAgBA,eAAO,MAAM,SAAS,6BAA6B,CAAC;AAEpD,MAAM,CAAC,OAAO,UAAU,qBAAqB,uCAuC5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/pattern-overrides-panel/index.js"],"names":[],"mappings":"AAcA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/pattern-overrides-panel/index.js"],"names":[],"mappings":"AAcA,MAAM,CAAC,OAAO,UAAU,qBAAqB,uCAW5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/pattern-rename-modal/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/pattern-rename-modal/index.js"],"names":[],"mappings":"AAgBA,eAAO,MAAM,SAAS,0BAA0B,CAAC;AAEjD,MAAM,CAAC,OAAO,UAAU,kBAAkB,uCAkCzC"}
|
|
@@ -1,67 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
/**
|
|
3
|
-
* Renders items below the Status & Availability panel in the Document Sidebar.
|
|
4
|
-
*
|
|
5
|
-
* @param {Object} props Component properties.
|
|
6
|
-
* @param {string} props.name Required. A machine-friendly name for the panel.
|
|
7
|
-
* @param {string} [props.className] An optional class name added to the row.
|
|
8
|
-
* @param {string} [props.title] The title of the panel
|
|
9
|
-
* @param {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered when the sidebar is pinned to toolbar.
|
|
10
|
-
* @param {React.ReactNode} props.children Children to be rendered
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```js
|
|
14
|
-
* // Using ES5 syntax
|
|
15
|
-
* var el = React.createElement;
|
|
16
|
-
* var __ = wp.i18n.__;
|
|
17
|
-
* var registerPlugin = wp.plugins.registerPlugin;
|
|
18
|
-
* var PluginDocumentSettingPanel = wp.editor.PluginDocumentSettingPanel;
|
|
19
|
-
*
|
|
20
|
-
* function MyDocumentSettingPlugin() {
|
|
21
|
-
* return el(
|
|
22
|
-
* PluginDocumentSettingPanel,
|
|
23
|
-
* {
|
|
24
|
-
* className: 'my-document-setting-plugin',
|
|
25
|
-
* title: 'My Panel',
|
|
26
|
-
* name: 'my-panel',
|
|
27
|
-
* },
|
|
28
|
-
* __( 'My Document Setting Panel' )
|
|
29
|
-
* );
|
|
30
|
-
* }
|
|
31
|
-
*
|
|
32
|
-
* registerPlugin( 'my-document-setting-plugin', {
|
|
33
|
-
* render: MyDocumentSettingPlugin
|
|
34
|
-
* } );
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @example
|
|
38
|
-
* ```jsx
|
|
39
|
-
* // Using ESNext syntax
|
|
40
|
-
* import { registerPlugin } from '@wordpress/plugins';
|
|
41
|
-
* import { PluginDocumentSettingPanel } from '@wordpress/editor';
|
|
42
|
-
*
|
|
43
|
-
* const MyDocumentSettingTest = () => (
|
|
44
|
-
* <PluginDocumentSettingPanel className="my-document-setting-plugin" title="My Panel" name="my-panel">
|
|
45
|
-
* <p>My Document Setting Panel</p>
|
|
46
|
-
* </PluginDocumentSettingPanel>
|
|
47
|
-
* );
|
|
48
|
-
*
|
|
49
|
-
* registerPlugin( 'document-setting-test', { render: MyDocumentSettingTest } );
|
|
50
|
-
* ```
|
|
51
|
-
*
|
|
52
|
-
* @return {React.ReactNode} The component to be rendered.
|
|
53
|
-
*/
|
|
54
|
-
declare function PluginDocumentSettingPanel({ name, className, title, icon, children, }: {
|
|
1
|
+
declare function PluginDocumentSettingPanel({ name, className, title, icon, children }: {
|
|
55
2
|
name: string;
|
|
56
|
-
className?: string
|
|
57
|
-
title?: string
|
|
58
|
-
icon?:
|
|
3
|
+
className?: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
icon?: WPBlockTypeIconRender;
|
|
59
6
|
children: React.ReactNode;
|
|
60
7
|
}): React.ReactNode;
|
|
61
8
|
declare namespace PluginDocumentSettingPanel {
|
|
62
|
-
|
|
9
|
+
var Slot: import("react").ForwardRefExoticComponent<import("@wordpress/components").DistributiveOmit<import("@wordpress/components").SlotComponentProps, "name"> & import("react").RefAttributes<any>> & {
|
|
10
|
+
__unstableName: import("@wordpress/components").SlotKey;
|
|
11
|
+
};
|
|
63
12
|
}
|
|
64
|
-
|
|
65
|
-
__unstableName: import("@wordpress/components").SlotKey;
|
|
66
|
-
};
|
|
13
|
+
export default PluginDocumentSettingPanel;
|
|
67
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/plugin-document-setting-panel/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/plugin-document-setting-panel/index.js"],"names":[],"mappings":"4CAoEqC,EACpC,IAAI,EACJ,SAAS,EACT,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,EAtDE;IAAqC,IAAI,EAAjC,MAAM,CACd;IAAsC,SAAS,AAA/C,CACA,EADQ,MAAM,CACd;IAAsC,KAAK,AAA3C,CACA,EADQ,MAAM,CACd;IAAsC,IAAI,AAA1C,CACA,EADQ,qBAAqB,CAC7B;IAAqC,QAAQ,EAArC,KAAK,CAAC,SAAS,CAEvB;CAgDF,GARW,KAAK,CAAC,SAAS;;;;;;eAsDZ,0BAA0B"}
|
|
@@ -56,10 +56,10 @@
|
|
|
56
56
|
* @return {React.ReactNode} The rendered component.
|
|
57
57
|
*/
|
|
58
58
|
export default function PluginMoreMenuItem(props: {
|
|
59
|
-
children?:
|
|
60
|
-
href?: string
|
|
61
|
-
icon?:
|
|
62
|
-
onClick?: Function
|
|
59
|
+
children?: import("react").ReactNode;
|
|
60
|
+
href?: string;
|
|
61
|
+
icon?: WPBlockTypeIconRender;
|
|
62
|
+
onClick?: Function;
|
|
63
63
|
other?: any[];
|
|
64
|
-
}):
|
|
64
|
+
}): import("react").ReactNode;
|
|
65
65
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/plugin-more-menu-item/index.js"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/plugin-more-menu-item/index.js"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAE,KAAK,EApD9C;IAAsC,QAAQ,AAA9C,CACA,4BAAA;IAAsC,IAAI,AAA1C,CACA,EADQ,MAAM,CACd;IAAsC,IAAI,AAA1C,CACA,wBAAA;IAAsC,OAAO,AAA7C,CACA,WAAA;IAAsC,KAAK,AAA3C,CAEA,EAFW,GAAC,EAAA,CAEZ;CA8C8C,6BAUhD"}
|
|
@@ -1,45 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
* @param {Object} props Component properties.
|
|
7
|
-
* @param {string} [props.className] An optional class name added to the panel.
|
|
8
|
-
* @param {string} [props.title] Title displayed at the top of the panel.
|
|
9
|
-
* @param {boolean} [props.initialOpen=false] Whether to have the panel initially opened. When no title is provided it is always opened.
|
|
10
|
-
* @param {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/) icon slug string, or an SVG WP element, to be rendered when the sidebar is pinned to toolbar.
|
|
11
|
-
* @param {React.ReactNode} props.children Children to be rendered
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```jsx
|
|
15
|
-
* // Using ESNext syntax
|
|
16
|
-
* import { __ } from '@wordpress/i18n';
|
|
17
|
-
* import { PluginPostPublishPanel } from '@wordpress/editor';
|
|
18
|
-
*
|
|
19
|
-
* const MyPluginPostPublishPanel = () => (
|
|
20
|
-
* <PluginPostPublishPanel
|
|
21
|
-
* className="my-plugin-post-publish-panel"
|
|
22
|
-
* title={ __( 'My panel title' ) }
|
|
23
|
-
* initialOpen={ true }
|
|
24
|
-
* >
|
|
25
|
-
* { __( 'My panel content' ) }
|
|
26
|
-
* </PluginPostPublishPanel>
|
|
27
|
-
* );
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* @return {React.ReactNode} The rendered component.
|
|
31
|
-
*/
|
|
32
|
-
declare function PluginPostPublishPanel({ children, className, title, initialOpen, icon, }: {
|
|
33
|
-
className?: string | undefined;
|
|
34
|
-
title?: string | undefined;
|
|
35
|
-
initialOpen?: boolean | undefined;
|
|
36
|
-
icon?: any;
|
|
1
|
+
declare function PluginPostPublishPanel({ children, className, title, initialOpen, icon }: {
|
|
2
|
+
className?: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
initialOpen?: boolean;
|
|
5
|
+
icon?: WPBlockTypeIconRender;
|
|
37
6
|
children: React.ReactNode;
|
|
38
7
|
}): React.ReactNode;
|
|
39
8
|
declare namespace PluginPostPublishPanel {
|
|
40
|
-
|
|
9
|
+
var Slot: import("react").ForwardRefExoticComponent<import("@wordpress/components").DistributiveOmit<import("@wordpress/components").SlotComponentProps, "name"> & import("react").RefAttributes<any>> & {
|
|
10
|
+
__unstableName: import("@wordpress/components").SlotKey;
|
|
11
|
+
};
|
|
41
12
|
}
|
|
42
|
-
|
|
43
|
-
__unstableName: import("@wordpress/components").SlotKey;
|
|
44
|
-
};
|
|
13
|
+
export default PluginPostPublishPanel;
|
|
45
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/plugin-post-publish-panel/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/plugin-post-publish-panel/index.js"],"names":[],"mappings":"wCAsCiC,EAChC,QAAQ,EACR,SAAS,EACT,KAAK,EACL,WAAmB,EACnB,IAAI,EACJ,EA/BE;IAAsC,SAAS,AAA/C,CACA,EADQ,MAAM,CACd;IAAsC,KAAK,AAA3C,CACA,EADQ,MAAM,CACd;IAAsC,WAAW,AAAjD,CACA,EADQ,OAAO,CACf;IAAsC,IAAI,AAA1C,CACA,EADQ,qBAAqB,CAC7B;IAAqC,QAAQ,EAArC,KAAK,CAAC,SAAS,CAEvB;CAyBF,GARW,KAAK,CAAC,SAAS;;;;;;eA2BZ,sBAAsB"}
|
|
@@ -1,55 +1,14 @@
|
|
|
1
|
-
export default PluginPostStatusInfo;
|
|
2
1
|
/**
|
|
3
|
-
*
|
|
4
|
-
* It should be noted that this is named and implemented around the function it serves
|
|
5
|
-
* and not its location, which may change in future iterations.
|
|
6
|
-
*
|
|
7
|
-
* @param {Object} props Component properties.
|
|
8
|
-
* @param {string} [props.className] An optional class name added to the row.
|
|
9
|
-
* @param {React.ReactNode} props.children Children to be rendered.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```js
|
|
13
|
-
* // Using ES5 syntax
|
|
14
|
-
* var __ = wp.i18n.__;
|
|
15
|
-
* var PluginPostStatusInfo = wp.editor.PluginPostStatusInfo;
|
|
16
|
-
*
|
|
17
|
-
* function MyPluginPostStatusInfo() {
|
|
18
|
-
* return React.createElement(
|
|
19
|
-
* PluginPostStatusInfo,
|
|
20
|
-
* {
|
|
21
|
-
* className: 'my-plugin-post-status-info',
|
|
22
|
-
* },
|
|
23
|
-
* __( 'My post status info' )
|
|
24
|
-
* )
|
|
25
|
-
* }
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @example
|
|
29
|
-
* ```jsx
|
|
30
|
-
* // Using ESNext syntax
|
|
31
|
-
* import { __ } from '@wordpress/i18n';
|
|
32
|
-
* import { PluginPostStatusInfo } from '@wordpress/editor';
|
|
33
|
-
*
|
|
34
|
-
* const MyPluginPostStatusInfo = () => (
|
|
35
|
-
* <PluginPostStatusInfo
|
|
36
|
-
* className="my-plugin-post-status-info"
|
|
37
|
-
* >
|
|
38
|
-
* { __( 'My post status info' ) }
|
|
39
|
-
* </PluginPostStatusInfo>
|
|
40
|
-
* );
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @return {React.ReactNode} The rendered component.
|
|
2
|
+
* Defines as extensibility slot for the Summary panel.
|
|
44
3
|
*/
|
|
45
4
|
declare function PluginPostStatusInfo({ children, className }: {
|
|
46
|
-
className?: string
|
|
5
|
+
className?: string;
|
|
47
6
|
children: React.ReactNode;
|
|
48
7
|
}): React.ReactNode;
|
|
49
8
|
declare namespace PluginPostStatusInfo {
|
|
50
|
-
|
|
9
|
+
var Slot: import("react").ForwardRefExoticComponent<import("@wordpress/components").DistributiveOmit<import("@wordpress/components").SlotComponentProps, "name"> & import("react").RefAttributes<any>> & {
|
|
10
|
+
__unstableName: import("@wordpress/components").SlotKey;
|
|
11
|
+
};
|
|
51
12
|
}
|
|
52
|
-
|
|
53
|
-
__unstableName: import("@wordpress/components").SlotKey;
|
|
54
|
-
};
|
|
13
|
+
export default PluginPostStatusInfo;
|
|
55
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/plugin-post-status-info/index.js"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/plugin-post-status-info/index.js"],"names":[],"mappings":"AAAA;;GAEG;sCAoD4B,EAAE,QAAQ,EAAE,SAAS,EAAE,EArCnD;IAAgC,SAAS,AAAzC,CACA,EADQ,MAAM,CACd;IAA+B,QAAQ,EAA/B,KAAK,CAAC,SAAS,CAEvB;CAkCmD,GAF1C,KAAK,CAAC,SAAS;;;;;;eAUZ,oBAAoB"}
|
|
@@ -1,48 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
* @param {Object} props Component props.
|
|
7
|
-
* @param {string} [props.className] An optional class name added to the panel.
|
|
8
|
-
* @param {string} [props.title] Title displayed at the top of the panel.
|
|
9
|
-
* @param {boolean} [props.initialOpen=false] Whether to have the panel initially opened.
|
|
10
|
-
* When no title is provided it is always opened.
|
|
11
|
-
* @param {WPBlockTypeIconRender} [props.icon=inherits from the plugin] The [Dashicon](https://developer.wordpress.org/resource/dashicons/)
|
|
12
|
-
* icon slug string, or an SVG WP element, to be rendered when
|
|
13
|
-
* the sidebar is pinned to toolbar. If `false` is passed, no icon will be rendered.
|
|
14
|
-
* @param {React.ReactNode} props.children Children to be rendered
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```jsx
|
|
18
|
-
* // Using ESNext syntax
|
|
19
|
-
* import { __ } from '@wordpress/i18n';
|
|
20
|
-
* import { PluginPrePublishPanel } from '@wordpress/editor';
|
|
21
|
-
*
|
|
22
|
-
* const MyPluginPrePublishPanel = () => (
|
|
23
|
-
* <PluginPrePublishPanel
|
|
24
|
-
* className="my-plugin-pre-publish-panel"
|
|
25
|
-
* title={ __( 'My panel title' ) }
|
|
26
|
-
* initialOpen={ true }
|
|
27
|
-
* >
|
|
28
|
-
* { __( 'My panel content' ) }
|
|
29
|
-
* </PluginPrePublishPanel>
|
|
30
|
-
* );
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @return {React.ReactNode} The rendered component.
|
|
34
|
-
*/
|
|
35
|
-
declare function PluginPrePublishPanel({ children, className, title, initialOpen, icon, }: {
|
|
36
|
-
className?: string | undefined;
|
|
37
|
-
title?: string | undefined;
|
|
38
|
-
initialOpen?: boolean | undefined;
|
|
39
|
-
icon?: any;
|
|
1
|
+
declare function PluginPrePublishPanel({ children, className, title, initialOpen, icon }: {
|
|
2
|
+
className?: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
initialOpen?: boolean;
|
|
5
|
+
icon?: WPBlockTypeIconRender;
|
|
40
6
|
children: React.ReactNode;
|
|
41
7
|
}): React.ReactNode;
|
|
42
8
|
declare namespace PluginPrePublishPanel {
|
|
43
|
-
|
|
9
|
+
var Slot: import("react").ForwardRefExoticComponent<import("@wordpress/components").DistributiveOmit<import("@wordpress/components").SlotComponentProps, "name"> & import("react").RefAttributes<any>> & {
|
|
10
|
+
__unstableName: import("@wordpress/components").SlotKey;
|
|
11
|
+
};
|
|
44
12
|
}
|
|
45
|
-
|
|
46
|
-
__unstableName: import("@wordpress/components").SlotKey;
|
|
47
|
-
};
|
|
13
|
+
export default PluginPrePublishPanel;
|
|
48
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/plugin-pre-publish-panel/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/plugin-pre-publish-panel/index.js"],"names":[],"mappings":"uCAyCgC,EAC/B,QAAQ,EACR,SAAS,EACT,KAAK,EACL,WAAmB,EACnB,IAAI,EACJ,EAlCE;IAAsC,SAAS,AAA/C,CACA,EADQ,MAAM,CACd;IAAsC,KAAK,AAA3C,CACA,EADQ,MAAM,CACd;IAAsC,WAAW,AAAjD,CAEA,EAFQ,OAAO,CAEf;IAAsC,IAAI,AAA1C,CAGA,EAHQ,qBAAqB,CAG7B;IAAqC,QAAQ,EAArC,KAAK,CAAC,SAAS,CAEvB;CAyBF,GARW,KAAK,CAAC,SAAS;;;;;;eA2BZ,qBAAqB"}
|
|
@@ -35,10 +35,10 @@
|
|
|
35
35
|
* @return {React.ReactNode} The rendered menu item component.
|
|
36
36
|
*/
|
|
37
37
|
export default function PluginPreviewMenuItem(props: {
|
|
38
|
-
children?:
|
|
39
|
-
href?: string
|
|
40
|
-
icon?:
|
|
41
|
-
onClick?: Function
|
|
38
|
+
children?: import("react").ReactNode;
|
|
39
|
+
href?: string;
|
|
40
|
+
icon?: WPBlockTypeIconRender;
|
|
41
|
+
onClick?: Function;
|
|
42
42
|
other?: any[];
|
|
43
|
-
}):
|
|
43
|
+
}): import("react").ReactNode;
|
|
44
44
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/plugin-preview-menu-item/index.js"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/plugin-preview-menu-item/index.js"],"names":[],"mappings":"AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAAE,KAAK,EA/BjD;IAAsC,QAAQ,AAA9C,CACA,4BAAA;IAAsC,IAAI,AAA1C,CACA,EADQ,MAAM,CACd;IAAsC,IAAI,AAA1C,CACA,wBAAA;IAAsC,OAAO,AAA7C,CACA,WAAA;IAAsC,KAAK,AAA3C,CAEA,EAFW,GAAC,EAAA,CAEZ;CAyBiD,6BAUnD"}
|