@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,4 +1,4 @@
|
|
|
1
|
-
export const termDataFields: ({
|
|
1
|
+
export declare const termDataFields: ({
|
|
2
2
|
label: import("@wordpress/i18n").TransformedText<"Term ID">;
|
|
3
3
|
args: {
|
|
4
4
|
field: string;
|
|
@@ -41,23 +41,26 @@ export const termDataFields: ({
|
|
|
41
41
|
};
|
|
42
42
|
type: string;
|
|
43
43
|
})[];
|
|
44
|
+
/**
|
|
45
|
+
* @type {WPBlockBindingsSource}
|
|
46
|
+
*/
|
|
44
47
|
declare const _default: {
|
|
45
48
|
name: string;
|
|
46
49
|
usesContext: string[];
|
|
47
50
|
getValues({ select, context, bindings, clientId }: {
|
|
48
|
-
select: any;
|
|
49
|
-
context: any;
|
|
50
51
|
bindings: any;
|
|
51
52
|
clientId: any;
|
|
53
|
+
context: any;
|
|
54
|
+
select: any;
|
|
52
55
|
}): {};
|
|
53
56
|
setValues({ dispatch, context, bindings }: {
|
|
54
|
-
dispatch: any;
|
|
55
|
-
context: any;
|
|
56
57
|
bindings: any;
|
|
58
|
+
context: any;
|
|
59
|
+
dispatch: any;
|
|
57
60
|
}): boolean;
|
|
58
61
|
canUserEditValue({ select, context }: {
|
|
59
|
-
select: any;
|
|
60
62
|
context: any;
|
|
63
|
+
select: any;
|
|
61
64
|
}): boolean;
|
|
62
65
|
getFieldsList({ context, select }: {
|
|
63
66
|
context: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"term-data.d.ts","sourceRoot":"","sources":["../../src/bindings/term-data.js"],"names":[],"mappings":"AAaA
|
|
1
|
+
{"version":3,"file":"term-data.d.ts","sourceRoot":"","sources":["../../src/bindings/term-data.js"],"names":[],"mappings":"AAaA,eAAO,MAAM,cAAc;;;QAGjB,KAAK;;;;;;QAKL,KAAK;;;;;;QAKL,KAAK;;;;;;QAKL,KAAK;;;;;;QAKL,KAAK;;;;;;QAKL,KAAK;;;;;;QAKL,KAAK;;;IAGd,CAAC;AAEF;;GAEG;;IAEF,IAAI;IACJ,WAAW;IACX,SAAS;;;;;;IAkET,SAAS;;;;;IAIT,gBAAgB;;;;IAyBhB,aAAa;;;;;;YAxIJ,KAAK;;;;;;YAKL,KAAK;;;;;;YAKL,KAAK;;;;;;YAKL,KAAK;;;;;;YAKL,KAAK;;;;;;YAKL,KAAK;;;;;;YAKL,KAAK"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { default as linkAutocompleter } from
|
|
2
|
-
export { default as userAutocompleter } from
|
|
1
|
+
export { default as linkAutocompleter } from './link';
|
|
2
|
+
export { default as userAutocompleter } from './user';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/autocompleters/index.js"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/autocompleters/index.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
getOptionKeywords(item: any): any[];
|
|
8
|
-
getOptionLabel(item: any): import("react").JSX.Element;
|
|
9
|
-
getOptionCompletion(item: any): import("react").JSX.Element;
|
|
10
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* A link completer for posts and pages.
|
|
3
|
+
*
|
|
4
|
+
* @type {Object}
|
|
5
|
+
*/
|
|
6
|
+
declare const _default: Object;
|
|
11
7
|
export default _default;
|
|
12
8
|
//# sourceMappingURL=link.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/components/autocompleters/link.js"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"link.d.ts","sourceRoot":"","sources":["../../../src/components/autocompleters/link.js"],"names":[],"mappings":"AAUA;;;;GAIG"}
|
|
@@ -4,17 +4,12 @@
|
|
|
4
4
|
* @param {Object} user User object.
|
|
5
5
|
* @return {React.JSX.Element} User label component.
|
|
6
6
|
*/
|
|
7
|
-
export function getUserLabel(user: Object):
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
value: import("@wordpress/core-data").User<"edit">;
|
|
15
|
-
label: import("react").JSX.Element;
|
|
16
|
-
}[][];
|
|
17
|
-
getOptionCompletion(user: any): string;
|
|
18
|
-
};
|
|
7
|
+
export declare function getUserLabel(user: Object): import("react").JSX.Element;
|
|
8
|
+
/**
|
|
9
|
+
* A user mentions completer.
|
|
10
|
+
*
|
|
11
|
+
* @type {Object}
|
|
12
|
+
*/
|
|
13
|
+
declare const _default: Object;
|
|
19
14
|
export default _default;
|
|
20
15
|
//# sourceMappingURL=user.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/components/autocompleters/user.js"],"names":[],"mappings":"AAOA;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../../src/components/autocompleters/user.js"],"names":[],"mappings":"AAOA;;;;;GAKG;AACH,wBAAgB,YAAY,CAAE,IAAI,QAAA,+BAuBjC;AAED;;;;GAIG"}
|
|
@@ -1,15 +1,39 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* WordPress dependencies
|
|
3
|
+
*/
|
|
4
|
+
import { Component } from '@wordpress/element';
|
|
5
|
+
export declare class AutosaveMonitor extends Component {
|
|
2
6
|
constructor(props: any);
|
|
3
|
-
needsAutosave: boolean;
|
|
4
7
|
componentDidMount(): void;
|
|
5
8
|
componentDidUpdate(prevProps: any): void;
|
|
6
9
|
componentWillUnmount(): void;
|
|
7
10
|
setAutosaveTimer(timeout?: number): void;
|
|
8
|
-
timerId: number | undefined;
|
|
9
11
|
autosaveTimerHandler(): void;
|
|
10
12
|
render(): null;
|
|
11
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* Monitors the changes made to the edited post and triggers autosave if necessary.
|
|
16
|
+
*
|
|
17
|
+
* The logic is straightforward: a check is performed every `props.interval` seconds. If any changes are detected, `props.autosave()` is called.
|
|
18
|
+
* The time between the change and the autosave varies but is no larger than `props.interval` seconds. Refer to the code below for more details, such as
|
|
19
|
+
* the specific way of detecting changes.
|
|
20
|
+
*
|
|
21
|
+
* There are two caveats:
|
|
22
|
+
* * If `props.isAutosaveable` happens to be false at a time of checking for changes, the check is retried every second.
|
|
23
|
+
* * The timer may be disabled by setting `props.disableIntervalChecks` to `true`. In that mode, any change will immediately trigger `props.autosave()`.
|
|
24
|
+
*
|
|
25
|
+
* @param {Object} props - The properties passed to the component.
|
|
26
|
+
* @param {Function} props.autosave - The function to call when changes need to be saved.
|
|
27
|
+
* @param {number} props.interval - The maximum time in seconds between an unsaved change and an autosave.
|
|
28
|
+
* @param {boolean} props.isAutosaveable - If false, the check for changes is retried every second.
|
|
29
|
+
* @param {boolean} props.disableIntervalChecks - If true, disables the timer and any change will immediately trigger `props.autosave()`.
|
|
30
|
+
* @param {boolean} props.isDirty - Indicates if there are unsaved changes.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```jsx
|
|
34
|
+
* <AutosaveMonitor interval={30000} />
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
12
37
|
declare const _default: unknown;
|
|
13
38
|
export default _default;
|
|
14
|
-
import { Component } from '@wordpress/element';
|
|
15
39
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/autosave-monitor/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/autosave-monitor/index.js"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAU/C,qBAAa,eAAgB,SAAQ,SAAS;IAC7C,YAAa,KAAK,KAAA,EAGjB;IAED,iBAAiB,SAIhB;IAED,kBAAkB,CAAE,SAAS,KAAA,QA0B5B;IAED,oBAAoB,SAEnB;IAED,gBAAgB,CAAE,OAAO,SAA6B,QAIrD;IAED,oBAAoB,SAYnB;IAED,MAAM,SAEL;CACD;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/block-removal-warnings/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/block-removal-warnings/index.js"],"names":[],"mappings":"AAAA;;GAEG;AAiFH,MAAM,CAAC,OAAO,UAAU,oBAAoB,uCA0B3C"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export default PluginBlockSettingsMenuItem;
|
|
2
1
|
/**
|
|
3
2
|
* Renders a new item in the block settings menu.
|
|
4
3
|
*
|
|
@@ -54,12 +53,13 @@ export default PluginBlockSettingsMenuItem;
|
|
|
54
53
|
*
|
|
55
54
|
* @return {React.ReactNode} The rendered component.
|
|
56
55
|
*/
|
|
57
|
-
declare
|
|
58
|
-
allowedBlocks?:
|
|
59
|
-
icon?:
|
|
56
|
+
declare const PluginBlockSettingsMenuItem: ({ allowedBlocks, icon, label, onClick, small, role, }: {
|
|
57
|
+
allowedBlocks?: Array;
|
|
58
|
+
icon?: WPBlockTypeIconRender;
|
|
60
59
|
label: string;
|
|
61
60
|
onClick: Function;
|
|
62
|
-
small?: boolean
|
|
63
|
-
role?: string
|
|
64
|
-
})
|
|
61
|
+
small?: boolean;
|
|
62
|
+
role?: string;
|
|
63
|
+
}) => React.ReactNode;
|
|
64
|
+
export default PluginBlockSettingsMenuItem;
|
|
65
65
|
//# sourceMappingURL=plugin-block-settings-menu-item.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-block-settings-menu-item.d.ts","sourceRoot":"","sources":["../../../src/components/block-settings-menu/plugin-block-settings-menu-item.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin-block-settings-menu-item.d.ts","sourceRoot":"","sources":["../../../src/components/block-settings-menu/plugin-block-settings-menu-item.js"],"names":[],"mappings":"AAyBA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsDG;AACH,QAAA,MAAM,2BAA2B,0DAnD9B;IAAsC,aAAa,AAAnD,CACA,EADQ,KAAK,CACb;IAAsC,IAAI,AAA1C,CACA,EADQ,qBAAqB,CAC7B;IAAqC,KAAK,EAAlC,MAAM,CACd;IAAqC,OAAO,WAC5C;IAAsC,KAAK,AAA3C,CACA,EADQ,OAAO,CACf;IAAsC,IAAI,AAA1C,CAEA,EAFQ,MAAM,CAEd;CAAA,KA0CS,KAAK,CAAC,SA2BjB,CAAC;eAEa,2BAA2B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/block-visibility/index.js"],"names":[],"mappings":"AAoBA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/block-visibility/index.js"],"names":[],"mappings":"AAoBA,MAAM,CAAC,OAAO,UAAU,eAAe,gCA4GtC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/blog-title/index.js"],"names":[],"mappings":"AAyBA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/blog-title/index.js"],"names":[],"mappings":"AAyBA,MAAM,CAAC,OAAO,UAAU,SAAS,uCAuGhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/character-count/index.js"],"names":[],"mappings":"AAWA;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/character-count/index.js"],"names":[],"mappings":"AAWA;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,IAF1B,MAAM,CASjB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export function AddNoteMenuItem({ onClick, isDistractionFree }: {
|
|
2
|
-
onClick: any;
|
|
1
|
+
export declare function AddNoteMenuItem({ onClick, isDistractionFree }: {
|
|
3
2
|
isDistractionFree: any;
|
|
3
|
+
onClick: any;
|
|
4
4
|
}): import("react").JSX.Element;
|
|
5
5
|
//# sourceMappingURL=add-note-menu-item.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-note-menu-item.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/add-note-menu-item.js"],"names":[],"mappings":"AAiEA;;;
|
|
1
|
+
{"version":3,"file":"add-note-menu-item.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/add-note-menu-item.js"],"names":[],"mappings":"AAiEA,wBAAgB,eAAe,CAAE,EAAE,OAAO,EAAE,iBAAiB,EAAE;;;CAAA,+BAe9D"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export function AddNote({ onSubmit, sidebarRef, floating }: {
|
|
1
|
+
export declare function AddNote({ onSubmit, sidebarRef, floating }: {
|
|
2
|
+
floating: any;
|
|
2
3
|
onSubmit: any;
|
|
3
4
|
sidebarRef: any;
|
|
4
|
-
floating: any;
|
|
5
5
|
}): import("react").JSX.Element | null;
|
|
6
6
|
//# sourceMappingURL=add-note.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-note.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/add-note.js"],"names":[],"mappings":"AAsBA;;;;
|
|
1
|
+
{"version":3,"file":"add-note.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/add-note.js"],"names":[],"mappings":"AAsBA,wBAAgB,OAAO,CAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE;;;;CAAA,sCA+D1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"board-store.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/board-store.js"],"names":[],"mappings":"AAAA;;;;;;;
|
|
1
|
+
{"version":3,"file":"board-store.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/board-store.js"],"names":[],"mappings":"AAAA,wBAAgB,gBAAgB;;;;;;;EAoF/B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const ALL_NOTES_SIDEBAR
|
|
2
|
-
export const FLOATING_NOTES_SIDEBAR
|
|
3
|
-
export const SIDEBARS: string[];
|
|
1
|
+
export declare const ALL_NOTES_SIDEBAR = "edit-post/collab-history-sidebar";
|
|
2
|
+
export declare const FLOATING_NOTES_SIDEBAR = "edit-post/collab-sidebar";
|
|
3
|
+
export declare const SIDEBARS: string[];
|
|
4
4
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/constants.js"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/constants.js"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,qCAAqC,CAAC;AACpE,eAAO,MAAM,sBAAsB,6BAA6B,CAAC;AACjE,eAAO,MAAM,QAAQ,UAAgD,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export function FloatingContainer({ floating, className, style, children, ...props }: {
|
|
1
|
+
export declare function FloatingContainer({ floating, className, style, children, ...props }: {
|
|
2
2
|
[x: string]: any;
|
|
3
|
-
|
|
3
|
+
children: any;
|
|
4
4
|
className: any;
|
|
5
|
+
floating: any;
|
|
5
6
|
style: any;
|
|
6
|
-
children: any;
|
|
7
7
|
}): import("react").JSX.Element;
|
|
8
8
|
//# sourceMappingURL=floating-container.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"floating-container.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/floating-container.js"],"names":[],"mappings":"AAUA;;;;;;
|
|
1
|
+
{"version":3,"file":"floating-container.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/floating-container.js"],"names":[],"mappings":"AAUA,wBAAgB,iBAAiB,CAAE,EAClC,QAAQ,EACR,SAAS,EACT,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACR;;;;;;CAAA,+BAaA"}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
export function useNoteThreads(postId: any): {
|
|
1
|
+
export declare function useNoteThreads(postId: any): {
|
|
2
2
|
notes: any[];
|
|
3
3
|
unresolvedNotes: any[];
|
|
4
4
|
};
|
|
5
|
-
export function useNoteActions(): {
|
|
5
|
+
export declare function useNoteActions(): {
|
|
6
6
|
onCreate: ({ content, parent }: {
|
|
7
7
|
content: any;
|
|
8
8
|
parent: any;
|
|
9
9
|
}) => Promise<any>;
|
|
10
10
|
onEdit: ({ id, content, status }: {
|
|
11
|
-
id: any;
|
|
12
11
|
content: any;
|
|
12
|
+
id: any;
|
|
13
13
|
status: any;
|
|
14
14
|
}) => Promise<void>;
|
|
15
15
|
onDelete: (note: any) => Promise<void>;
|
|
16
16
|
};
|
|
17
|
-
export function useEnableFloatingSidebar(enabled?: boolean): void;
|
|
18
|
-
export function useFloatingBoard({ threads, selectedNoteId, isFloating, sidebarRef
|
|
19
|
-
threads: any;
|
|
20
|
-
selectedNoteId: any;
|
|
17
|
+
export declare function useEnableFloatingSidebar(enabled?: boolean): void;
|
|
18
|
+
export declare function useFloatingBoard({ threads, selectedNoteId, isFloating, sidebarRef }: {
|
|
21
19
|
isFloating: any;
|
|
20
|
+
selectedNoteId: any;
|
|
22
21
|
sidebarRef: any;
|
|
22
|
+
threads: any;
|
|
23
23
|
}): {
|
|
24
24
|
notePositions: {};
|
|
25
25
|
registerThread: (id: any, blockEl: any, floatingEl: any) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/hooks.js"],"names":[],"mappings":"AAgCA;;;
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/hooks.js"],"names":[],"mappings":"AAgCA,wBAAgB,cAAc,CAAE,MAAM,KAAA;;;EAuGrC;AAED,wBAAgB,cAAc;;;;;;;;;;;EAwJ7B;AAED,wBAAgB,wBAAwB,CAAE,OAAO,UAAQ,QA4BxD;AAED,wBAAgB,gBAAgB,CAAE,EACjC,OAAO,EACP,cAAc,EACd,UAAU,EACV,UAAU,EACV;;;;;CAAA;;;;EA0DA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/index.js"],"names":[],"mappings":"AAmMA,MAAM,CAAC,OAAO,UAAU,qBAAqB,uCA0B5C"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export function NoteByline({ avatar, name, date, userId }: {
|
|
1
|
+
export declare function NoteByline({ avatar, name, date, userId }: {
|
|
2
2
|
avatar: any;
|
|
3
|
-
name: any;
|
|
4
3
|
date: any;
|
|
4
|
+
name: any;
|
|
5
5
|
userId: any;
|
|
6
6
|
}): import("react").JSX.Element;
|
|
7
7
|
//# sourceMappingURL=note-byline.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"note-byline.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note-byline.js"],"names":[],"mappings":"AAqBA;;;;;
|
|
1
|
+
{"version":3,"file":"note-byline.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note-byline.js"],"names":[],"mappings":"AAqBA,wBAAgB,UAAU,CAAE,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE;;;;;CAAA,+BAwFzD"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export function NoteCard({ note, actions, className, children, ...props }: {
|
|
1
|
+
export declare function NoteCard({ note, actions, className, children, ...props }: {
|
|
2
2
|
[x: string]: any;
|
|
3
|
-
note: any;
|
|
4
3
|
actions: any;
|
|
5
|
-
className: any;
|
|
6
4
|
children: any;
|
|
5
|
+
className: any;
|
|
6
|
+
note: any;
|
|
7
7
|
}): import("react").JSX.Element;
|
|
8
8
|
//# sourceMappingURL=note-card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"note-card.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note-card.js"],"names":[],"mappings":"AAWA;;;;;;
|
|
1
|
+
{"version":3,"file":"note-card.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note-card.js"],"names":[],"mappings":"AAWA,wBAAgB,QAAQ,CAAE,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE;;;;;;CAAA,+BAwBzE"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export function NoteForm({ onSubmit, onCancel, note, labels }: {
|
|
2
|
-
onSubmit: any;
|
|
3
|
-
onCancel: any;
|
|
4
|
-
note: any;
|
|
1
|
+
export declare function NoteForm({ onSubmit, onCancel, note, labels }: {
|
|
5
2
|
labels: any;
|
|
3
|
+
note: any;
|
|
4
|
+
onCancel: any;
|
|
5
|
+
onSubmit: any;
|
|
6
6
|
}): import("react").JSX.Element;
|
|
7
7
|
//# sourceMappingURL=note-form.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"note-form.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note-form.js"],"names":[],"mappings":"AAuBA;;;;;
|
|
1
|
+
{"version":3,"file":"note-form.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note-form.js"],"names":[],"mappings":"AAuBA,wBAAgB,QAAQ,CAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE;;;;;CAAA,+BAuE7D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"note-indicator-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note-indicator-toolbar.js"],"names":[],"mappings":"AAiBA;;;
|
|
1
|
+
{"version":3,"file":"note-indicator-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note-indicator-toolbar.js"],"names":[],"mappings":"AAiBA,wBAAgB,mBAAmB,CAAE,EAAE,OAAO,EAAE,IAAI,EAAE;;;CAAA,sCAwFrD"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export function NoteThread({ note, onEditNote, onAddReply, onDeleteNote, isSelected, sidebarRef, floating, onKeyDown
|
|
1
|
+
export declare function NoteThread({ note, onEditNote, onAddReply, onDeleteNote, isSelected, sidebarRef, floating, onKeyDown }: {
|
|
2
|
+
floating: any;
|
|
3
|
+
isSelected: any;
|
|
2
4
|
note: any;
|
|
3
|
-
onEditNote: any;
|
|
4
5
|
onAddReply: any;
|
|
5
6
|
onDeleteNote: any;
|
|
6
|
-
|
|
7
|
-
sidebarRef: any;
|
|
8
|
-
floating: any;
|
|
7
|
+
onEditNote: any;
|
|
9
8
|
onKeyDown: any;
|
|
9
|
+
sidebarRef: any;
|
|
10
10
|
}): import("react").JSX.Element;
|
|
11
11
|
//# sourceMappingURL=note-thread.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"note-thread.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note-thread.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"note-thread.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note-thread.js"],"names":[],"mappings":"AAsCA,wBAAgB,UAAU,CAAE,EAC3B,IAAI,EACJ,UAAU,EACV,UAAU,EACV,YAAY,EACZ,UAAU,EACV,UAAU,EACV,QAAQ,EACR,SAAS,EACT;;;;;;;;;CAAA,+BA6SA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export function Note({ note, parentNote, isSelected, onEditNote, onDeleteNote, onResolve
|
|
2
|
-
note: any;
|
|
3
|
-
parentNote: any;
|
|
1
|
+
export declare function Note({ note, parentNote, isSelected, onEditNote, onDeleteNote, onResolve }: {
|
|
4
2
|
isSelected: any;
|
|
5
|
-
|
|
3
|
+
note: any;
|
|
6
4
|
onDeleteNote: any;
|
|
5
|
+
onEditNote: any;
|
|
7
6
|
onResolve: any;
|
|
7
|
+
parentNote: any;
|
|
8
8
|
}): import("react").JSX.Element;
|
|
9
9
|
//# sourceMappingURL=note.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"note.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note.js"],"names":[],"mappings":"AAyDA;;;;;;;
|
|
1
|
+
{"version":3,"file":"note.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note.js"],"names":[],"mappings":"AAyDA,wBAAgB,IAAI,CAAE,EACrB,IAAI,EACJ,UAAU,EACV,UAAU,EACV,UAAU,EACV,YAAY,EACZ,SAAS,EACT;;;;;;;CAAA,+BAgJA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export function Notes({ notes, sidebarRef, isFloating, styles }: {
|
|
1
|
+
export declare function Notes({ notes, sidebarRef, isFloating, styles }: {
|
|
2
|
+
isFloating?: boolean | undefined;
|
|
2
3
|
notes: any;
|
|
3
4
|
sidebarRef: any;
|
|
4
|
-
isFloating?: boolean | undefined;
|
|
5
5
|
styles: any;
|
|
6
6
|
}): import("react").JSX.Element;
|
|
7
7
|
//# sourceMappingURL=notes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notes.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/notes.js"],"names":[],"mappings":"AAwBA;;;;;
|
|
1
|
+
{"version":3,"file":"notes.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/notes.js"],"names":[],"mappings":"AAwBA,wBAAgB,KAAK,CAAE,EAAE,KAAK,EAAE,UAAU,EAAE,UAAkB,EAAE,MAAM,EAAE;;;;;CAAA,+BA8PvE"}
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
* @param {string} str - The note string to sanitize.
|
|
5
5
|
* @return {string} - The sanitized note string.
|
|
6
6
|
*/
|
|
7
|
-
export function sanitizeNoteContent(str: string): string;
|
|
7
|
+
export declare function sanitizeNoteContent(str: string): string;
|
|
8
8
|
/**
|
|
9
9
|
* Gets the border color for an avatar based on the user ID.
|
|
10
10
|
*
|
|
11
11
|
* @param {number} userId - The user ID.
|
|
12
12
|
* @return {string} - The border color.
|
|
13
13
|
*/
|
|
14
|
-
export function getAvatarBorderColor(userId: number): string;
|
|
14
|
+
export declare function getAvatarBorderColor(userId: number): string;
|
|
15
15
|
/**
|
|
16
16
|
* Generates a note excerpt from text based on word count type and length.
|
|
17
17
|
*
|
|
@@ -19,7 +19,7 @@ export function getAvatarBorderColor(userId: number): string;
|
|
|
19
19
|
* @param {number} excerptLength - The maximum length for the note excerpt.
|
|
20
20
|
* @return {string} - The generated note excerpt.
|
|
21
21
|
*/
|
|
22
|
-
export function getNoteExcerpt(text: string, excerptLength?: number): string;
|
|
22
|
+
export declare function getNoteExcerpt(text: string, excerptLength?: number): string;
|
|
23
23
|
/**
|
|
24
24
|
* Calculate final top positions for all floating note threads in the
|
|
25
25
|
* editor's content coordinate space. Adjusts positions to prevent overlapping
|
|
@@ -33,35 +33,28 @@ export function getNoteExcerpt(text: string, excerptLength?: number): string;
|
|
|
33
33
|
* @param {number} params.scrollTop Current scroll offset of the editor content.
|
|
34
34
|
* @return {{ positions: Object<string,number> }} Computed top positions.
|
|
35
35
|
*/
|
|
36
|
-
export function calculateNotePositions({ threads, selectedNoteId, blockRects, heights, scrollTop
|
|
36
|
+
export declare function calculateNotePositions({ threads, selectedNoteId, blockRects, heights, scrollTop }: {
|
|
37
37
|
threads: any[];
|
|
38
38
|
selectedNoteId: string | number | undefined;
|
|
39
|
-
blockRects:
|
|
40
|
-
|
|
41
|
-
};
|
|
42
|
-
heights: {
|
|
43
|
-
[x: string]: number;
|
|
44
|
-
};
|
|
39
|
+
blockRects: Record<string, DOMRect>;
|
|
40
|
+
heights: Record<string, number>;
|
|
45
41
|
scrollTop: number;
|
|
46
42
|
}): {
|
|
47
|
-
positions:
|
|
48
|
-
[x: string]: number;
|
|
49
|
-
};
|
|
43
|
+
positions: Record<string, number>;
|
|
50
44
|
};
|
|
51
45
|
/**
|
|
52
|
-
*
|
|
53
|
-
* If an additional selector is provided, the focus will be shifted to the element matching the selector.
|
|
46
|
+
* Focus a note thread (or a descendant) and scroll it into view.
|
|
54
47
|
*
|
|
55
|
-
* @
|
|
56
|
-
*
|
|
57
|
-
* @param {string}
|
|
58
|
-
* @param {?HTMLElement} container The container element to search within.
|
|
59
|
-
* @param {string} additionalSelector The additional selector to focus on.
|
|
48
|
+
* @param {string} noteId Note thread ID.
|
|
49
|
+
* @param {?HTMLElement} container Container to search within.
|
|
50
|
+
* @param {string} additionalSelector Optional descendant selector.
|
|
60
51
|
*/
|
|
61
|
-
export function focusNoteThread(noteId: string, container: HTMLElement | null, additionalSelector: string): Promise<
|
|
52
|
+
export declare function focusNoteThread(noteId: string, container: HTMLElement | null, additionalSelector: string): Promise<void>;
|
|
62
53
|
/**
|
|
63
|
-
*
|
|
64
|
-
*
|
|
54
|
+
* Scroll a note thread into view without changing focus.
|
|
55
|
+
*
|
|
56
|
+
* @param {string} noteId Note thread ID.
|
|
57
|
+
* @param {?HTMLElement} container Container to search within.
|
|
65
58
|
*/
|
|
66
|
-
export
|
|
59
|
+
export declare function scrollNoteThreadIntoView(noteId: string, container: HTMLElement | null): Promise<void>;
|
|
67
60
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/utils.js"],"names":[],"mappings":"AAKA;;;;;GAKG;AACH,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/utils.js"],"names":[],"mappings":"AAKA;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAE,GAAG,EAH7B,MAG6B,GAF5B,MAAM,CAIjB;AAoBD;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAE,MAAM,EAHjC,MAGiC,GAFhC,MAAM,CAIjB;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAE,IAAI,EAJzB,MAIyB,EAAE,aAAa,GAHxC,MAG6C,GAF5C,MAAM,CA0CjB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,sBAAsB,CAAE,EACvC,OAAO,EACP,cAAc,EACd,UAAU,EACV,OAAO,EACP,SAAa,EACb,EAbE;IAAwC,OAAO,QAC/C;IAAwC,cAAc,EAA9C,MAAM,GAAC,MAAM,GAAC,SAAS,CAC/B;IAAwC,UAAU,0BAClD;IAAwC,OAAO,yBAC/C;IAAwC,SAAS,EAAzC,MAAM,CACd;CAQF,GARW;IAAE,SAAS,yBAAuB;CAAE,CA8F/C;AAkDD;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAE,MAAM,EAJ5B,MAI4B,EAAE,SAAS,EAHvC,kBAGuC,EAAE,kBAAkB,EAF3D,MAE2D,iBAUrE;AAED;;;;;GAKG;AACH,wBAAgB,wBAAwB,CAAE,MAAM,EAHrC,MAGqC,EAAE,SAAS,EAFhD,kBAEgD,iBAI1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cursor-dom-utils.d.ts","sourceRoot":"","sources":["../../../src/components/collaborators-overlay/cursor-dom-utils.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC7B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,YAAY;IAC5B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,MAAM,EAAE,MAAM,CAAC;CACf;AAID;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"cursor-dom-utils.d.ts","sourceRoot":"","sources":["../../../src/components/collaborators-overlay/cursor-dom-utils.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC7B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,YAAY;IAC5B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,MAAM,EAAE,MAAM,CAAC;CACf;AAID;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,0BACN,MAAM,GAAG,IAAI,gBACtB,WAAW,GAAG,IAAI,kBAChB,QAAQ,eACX,OAAO,KAClB,YAAY,GAAG,IAajB,CAAC;AAqEF;;;;;;;;;GASG;AACH,eAAO,MAAM,iBAAiB,iBACf,WAAW,eACZ,MAAM,aACR,MAAM,kBACD,QAAQ,eACX,OAAO,KAClB,aAAa,EAAE,GAAG,IA2DpB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,0BAA0B,iBACxB,WAAW,kBACT,QAAQ,eACX,OAAO,KAClB,aAAa,EAgCf,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,iBACd,MAAM,cACR,MAAM,kBACF,QAAQ,KACtB,WAAW,EA+Bb,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,iBAClB,WAAW,UACjB,MAAM,kBACE,QAAQ;;;CAgFxB,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,YAAY,MAAQ,IAAI,KAAK,IAAI,KAAI,OACkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cursor-registry.d.ts","sourceRoot":"","sources":["../../../src/components/collaborators-overlay/cursor-registry.ts"],"names":[],"mappings":"AAAA,UAAU,qBAAqB;IAC9B,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,KAAK,CAAC,EAAE,qBAAqB,CAAC;IAC9B,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC3B;AA4BD,wBAAgB,oBAAoB;IAIlC;;;;;OAKG;
|
|
1
|
+
{"version":3,"file":"cursor-registry.d.ts","sourceRoot":"","sources":["../../../src/components/collaborators-overlay/cursor-registry.ts"],"names":[],"mappings":"AAAA,UAAU,qBAAqB;IAC9B,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,KAAK,CAAC,EAAE,qBAAqB,CAAC;IAC9B,MAAM,CAAC,EAAE,qBAAqB,CAAC;IAC/B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC3B;AA4BD,wBAAgB,oBAAoB;IAIlC;;;;;OAKG;IACH,cAAc,WAAY,MAAM,WAAW,WAAW,GAAI,IAAI;IAI9D;;;;OAIG;IACH,gBAAgB,WAAY,MAAM,GAAI,IAAI;IAI1C;;;;;;OAMG;IACH,cAAc,WACH,MAAM,YACN,qBAAqB,GAC7B,OAAO;IAoBV;;OAEG;IACH,SAAS,IAAI,IAAI;EAIlB;AAED,MAAM,MAAM,cAAc,GAAG,UAAU,CAAE,OAAO,oBAAoB,CAAE,CAAC"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WordPress dependencies
|
|
3
|
+
*/
|
|
1
4
|
import { type CursorRegistry } from './cursor-registry';
|
|
2
5
|
interface Props {
|
|
3
6
|
postId: number | null;
|
|
@@ -12,6 +15,6 @@ interface Props {
|
|
|
12
15
|
* @param props.cursorRegistry - The shared cursor registry
|
|
13
16
|
* @return The CollaboratorsOverlay component
|
|
14
17
|
*/
|
|
15
|
-
export declare function CollaboratorsOverlay({ postId, postType, cursorRegistry
|
|
18
|
+
export declare function CollaboratorsOverlay({ postId, postType, cursorRegistry }: Props): import("react").JSX.Element;
|
|
16
19
|
export {};
|
|
17
20
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/collaborators-overlay/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/collaborators-overlay/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AASH,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAIxD,UAAU,KAAK;IACd,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,cAAc,CAAC,EAAE,cAAc,CAAC;CAChC;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAE,EACrC,MAAM,EACN,QAAQ,EACR,cAAc,EACd,EAAE,KAAK,+BAiBP"}
|
|
@@ -15,6 +15,6 @@ interface OverlayProps {
|
|
|
15
15
|
* @param props.cursorRegistry - The shared cursor registry.
|
|
16
16
|
* @return The Overlay component.
|
|
17
17
|
*/
|
|
18
|
-
export declare function Overlay({ blockEditorDocument, postId, postType, cursorRegistry
|
|
18
|
+
export declare function Overlay({ blockEditorDocument, postId, postType, cursorRegistry }: OverlayProps): import("react").JSX.Element;
|
|
19
19
|
export {};
|
|
20
20
|
//# sourceMappingURL=overlay.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../src/components/collaborators-overlay/overlay.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAWxD,UAAU,YAAY;IACrB,mBAAmB,CAAC,EAAE,QAAQ,CAAC;IAC/B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,cAAc,CAAC,EAAE,cAAc,CAAC;CAChC;AAED;;;;;;;;;GASG;AACH,wBAAgB,OAAO,CAAE,EACxB,mBAAmB,EACnB,MAAM,EACN,QAAQ,EACR,cAAc,
|
|
1
|
+
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../src/components/collaborators-overlay/overlay.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAWxD,UAAU,YAAY;IACrB,mBAAmB,CAAC,EAAE,QAAQ,CAAC;IAC/B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,cAAc,CAAC,EAAE,cAAc,CAAC;CAChC;AAED;;;;;;;;;GASG;AACH,wBAAgB,OAAO,CAAE,EACxB,mBAAmB,EACnB,MAAM,EACN,QAAQ,EACR,cAAc,EACd,EAAE,YAAY,+BAkKd"}
|