@wordpress/editor 14.48.0 → 14.48.2-next.v.202606191442.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 +25 -1
- package/build/bindings/pattern-overrides.cjs +1 -1
- package/build/bindings/pattern-overrides.cjs.map +2 -2
- package/build/components/block-removal-warnings/index.cjs +0 -3
- package/build/components/block-removal-warnings/index.cjs.map +2 -2
- package/build/components/collab-sidebar/note-byline.cjs +1 -1
- package/build/components/collab-sidebar/note-byline.cjs.map +2 -2
- package/build/components/collab-sidebar/note-indicator-toolbar.cjs +49 -43
- package/build/components/collab-sidebar/note-indicator-toolbar.cjs.map +3 -3
- package/build/components/collab-sidebar/note.cjs +49 -17
- package/build/components/collab-sidebar/note.cjs.map +3 -3
- package/build/components/collab-sidebar/notes.cjs.map +1 -1
- package/build/components/collab-sidebar/utils.cjs +1 -1
- package/build/components/collab-sidebar/utils.cjs.map +2 -2
- package/build/components/collaborators-overlay/avatar-iframe-styles.cjs.map +1 -1
- package/build/components/collaborators-overlay/collaborator-styles.cjs.map +1 -1
- package/build/components/collaborators-overlay/compute-selection.cjs.map +1 -1
- package/build/components/collaborators-overlay/overlay-iframe-styles.cjs +1 -1
- package/build/components/collaborators-overlay/overlay-iframe-styles.cjs.map +1 -1
- package/build/components/collaborators-overlay/use-block-highlighting.cjs +1 -8
- package/build/components/collaborators-overlay/use-block-highlighting.cjs.map +3 -3
- package/build/components/collaborators-overlay/use-render-cursors.cjs +1 -7
- package/build/components/collaborators-overlay/use-render-cursors.cjs.map +3 -3
- package/build/components/collaborators-presence/avatar/component.cjs.map +2 -2
- package/build/components/collaborators-presence/avatar/use-image-loading-status.cjs.map +1 -1
- package/build/components/document-bar/index.cjs +7 -5
- package/build/components/document-bar/index.cjs.map +2 -2
- package/build/components/global-keyboard-shortcuts/index.cjs +3 -2
- package/build/components/global-keyboard-shortcuts/index.cjs.map +2 -2
- package/build/components/global-styles-sidebar/welcome-guide.cjs +3 -3
- package/build/components/global-styles-sidebar/welcome-guide.cjs.map +1 -1
- package/build/components/local-autosave-monitor/index.cjs +14 -15
- package/build/components/local-autosave-monitor/index.cjs.map +2 -2
- package/build/components/more-menu/view-more-menu-group.cjs +1 -2
- package/build/components/more-menu/view-more-menu-group.cjs.map +2 -2
- package/build/components/page-attributes/parent.cjs +2 -1
- package/build/components/page-attributes/parent.cjs.map +2 -2
- package/build/components/post-card-panel/index.cjs +1 -1
- package/build/components/post-card-panel/index.cjs.map +2 -2
- package/build/components/post-excerpt/panel.cjs +1 -1
- package/build/components/post-excerpt/panel.cjs.map +2 -2
- package/build/components/post-locked-modal/index.cjs +3 -3
- package/build/components/post-locked-modal/index.cjs.map +1 -1
- package/build/components/post-preview-button/index.cjs +2 -2
- package/build/components/post-preview-button/index.cjs.map +2 -2
- package/build/components/post-publish-button/index.cjs +115 -157
- package/build/components/post-publish-button/index.cjs.map +3 -3
- package/build/components/post-publish-button/label.cjs +2 -2
- package/build/components/post-publish-button/label.cjs.map +2 -2
- package/build/components/post-publish-panel/index.cjs.map +1 -1
- package/build/components/post-publish-panel/postpublish.cjs +1 -1
- package/build/components/post-publish-panel/postpublish.cjs.map +2 -2
- package/build/components/post-revisions-preview/block-diff.cjs +21 -9
- package/build/components/post-revisions-preview/block-diff.cjs.map +2 -2
- package/build/components/post-revisions-preview/diff-markers.cjs.map +2 -2
- package/build/components/post-revisions-preview/preserve-client-ids.cjs +2 -2
- package/build/components/post-revisions-preview/preserve-client-ids.cjs.map +2 -2
- package/build/components/post-revisions-preview/revisions-slider.cjs +1 -1
- package/build/components/post-revisions-preview/revisions-slider.cjs.map +2 -2
- package/build/components/post-revisions-timeline/index.cjs +173 -0
- package/build/components/post-revisions-timeline/index.cjs.map +7 -0
- package/build/components/post-saved-state/index.cjs +17 -26
- package/build/components/post-saved-state/index.cjs.map +2 -2
- package/build/components/post-schedule/label.cjs +5 -5
- package/build/components/post-schedule/label.cjs.map +1 -1
- package/build/components/post-taxonomies/flat-term-selector.cjs +2 -1
- package/build/components/post-taxonomies/flat-term-selector.cjs.map +3 -3
- package/build/components/post-taxonomies/hierarchical-term-selector.cjs +1 -1
- package/build/components/post-taxonomies/hierarchical-term-selector.cjs.map +2 -2
- package/build/components/post-text-editor/index.cjs +51 -0
- package/build/components/post-text-editor/index.cjs.map +2 -2
- package/build/components/post-text-editor/utils.cjs +150 -0
- package/build/components/post-text-editor/utils.cjs.map +7 -0
- package/build/components/post-url/index.cjs +1 -1
- package/build/components/post-url/index.cjs.map +2 -2
- package/build/components/post-view-link/index.cjs +1 -1
- package/build/components/post-view-link/index.cjs.map +2 -2
- package/build/components/provider/disable-non-page-content-blocks.cjs.map +1 -1
- package/build/components/provider/index.cjs +3 -1
- package/build/components/provider/index.cjs.map +3 -3
- package/build/components/provider/use-network-reconnect.cjs +51 -0
- package/build/components/provider/use-network-reconnect.cjs.map +7 -0
- package/build/components/resizable-editor/resize-handle.cjs.map +2 -2
- package/build/components/revision-diff-panel/index.cjs +7 -2
- package/build/components/revision-diff-panel/index.cjs.map +2 -2
- package/build/components/revision-fields-diff/index.cjs +8 -4
- package/build/components/revision-fields-diff/index.cjs.map +2 -2
- package/build/components/sidebar/dataform-post-summary.cjs +125 -20
- package/build/components/sidebar/dataform-post-summary.cjs.map +3 -3
- package/build/components/sidebar/index.cjs +2 -15
- package/build/components/sidebar/index.cjs.map +3 -3
- package/build/components/sidebar/post-revision-summary.cjs +11 -17
- package/build/components/sidebar/post-revision-summary.cjs.map +3 -3
- package/build/components/sidebar/post-summary.cjs +1 -1
- package/build/components/sidebar/post-summary.cjs.map +2 -2
- package/build/components/style-book/examples.cjs +1 -1
- package/build/components/style-book/examples.cjs.map +1 -1
- package/build/components/style-book/index.cjs +1 -1
- package/build/components/style-book/index.cjs.map +2 -2
- package/build/components/sync-connection-error-modal/index.cjs +3 -3
- package/build/components/sync-connection-error-modal/index.cjs.map +1 -1
- package/build/components/template-actions-panel/block-theme-content.cjs +7 -1
- package/build/components/template-actions-panel/block-theme-content.cjs.map +2 -2
- package/build/components/template-actions-panel/index.cjs +0 -9
- package/build/components/template-actions-panel/index.cjs.map +3 -3
- package/build/components/template-validation-notice/index.cjs +1 -1
- package/build/components/template-validation-notice/index.cjs.map +1 -1
- package/build/components/upload-progress-snackbar/index.cjs +161 -0
- package/build/components/upload-progress-snackbar/index.cjs.map +7 -0
- package/build/components/upload-progress-snackbar/tracker.cjs +90 -0
- package/build/components/upload-progress-snackbar/tracker.cjs.map +7 -0
- package/build/components/visual-editor/edit-template-blocks-notification.cjs +1 -1
- package/build/components/visual-editor/edit-template-blocks-notification.cjs.map +1 -1
- package/build/{components/revision-author-panel → dataviews/fields/revisions}/index.cjs +18 -26
- package/build/dataviews/fields/revisions/index.cjs.map +7 -0
- package/build/dataviews/fields/revisions/revisions-view.cjs +74 -0
- package/build/dataviews/fields/revisions/revisions-view.cjs.map +7 -0
- package/build/dataviews/store/private-actions.cjs +14 -4
- package/build/dataviews/store/private-actions.cjs.map +3 -3
- package/build/hooks/push-changes-to-global-styles/index.cjs +1 -1
- package/build/hooks/push-changes-to-global-styles/index.cjs.map +1 -1
- package/build/private-apis.cjs +2 -0
- package/build/private-apis.cjs.map +3 -3
- package/build/store/actions.cjs +1 -1
- package/build/store/actions.cjs.map +2 -2
- package/build/store/private-selectors.cjs +6 -1
- package/build/store/private-selectors.cjs.map +2 -2
- package/build/store/selectors.cjs +1 -2
- package/build/store/selectors.cjs.map +2 -2
- package/build/utils/media-upload/index.cjs +16 -0
- package/build/utils/media-upload/index.cjs.map +3 -3
- package/build/utils/set-nested-value.cjs.map +1 -1
- package/build-module/bindings/pattern-overrides.mjs +1 -1
- package/build-module/bindings/pattern-overrides.mjs.map +2 -2
- package/build-module/components/block-removal-warnings/index.mjs +0 -3
- package/build-module/components/block-removal-warnings/index.mjs.map +2 -2
- package/build-module/components/collab-sidebar/note-byline.mjs +1 -1
- package/build-module/components/collab-sidebar/note-byline.mjs.map +2 -2
- package/build-module/components/collab-sidebar/note-indicator-toolbar.mjs +53 -44
- package/build-module/components/collab-sidebar/note-indicator-toolbar.mjs.map +2 -2
- package/build-module/components/collab-sidebar/note.mjs +50 -18
- package/build-module/components/collab-sidebar/note.mjs.map +2 -2
- package/build-module/components/collab-sidebar/notes.mjs.map +1 -1
- package/build-module/components/collab-sidebar/utils.mjs +1 -1
- package/build-module/components/collab-sidebar/utils.mjs.map +2 -2
- package/build-module/components/collaborators-overlay/avatar-iframe-styles.mjs.map +1 -1
- package/build-module/components/collaborators-overlay/collaborator-styles.mjs.map +1 -1
- package/build-module/components/collaborators-overlay/compute-selection.mjs.map +1 -1
- package/build-module/components/collaborators-overlay/overlay-iframe-styles.mjs +1 -1
- package/build-module/components/collaborators-overlay/overlay-iframe-styles.mjs.map +1 -1
- package/build-module/components/collaborators-overlay/use-block-highlighting.mjs +1 -8
- package/build-module/components/collaborators-overlay/use-block-highlighting.mjs.map +2 -2
- package/build-module/components/collaborators-overlay/use-render-cursors.mjs +1 -7
- package/build-module/components/collaborators-overlay/use-render-cursors.mjs.map +2 -2
- package/build-module/components/collaborators-presence/avatar/component.mjs.map +2 -2
- package/build-module/components/collaborators-presence/avatar/use-image-loading-status.mjs.map +1 -1
- package/build-module/components/document-bar/index.mjs +7 -5
- package/build-module/components/document-bar/index.mjs.map +2 -2
- package/build-module/components/global-keyboard-shortcuts/index.mjs +3 -2
- package/build-module/components/global-keyboard-shortcuts/index.mjs.map +2 -2
- package/build-module/components/global-styles-sidebar/welcome-guide.mjs +3 -3
- package/build-module/components/global-styles-sidebar/welcome-guide.mjs.map +1 -1
- package/build-module/components/local-autosave-monitor/index.mjs +15 -16
- package/build-module/components/local-autosave-monitor/index.mjs.map +2 -2
- package/build-module/components/more-menu/view-more-menu-group.mjs +1 -2
- package/build-module/components/more-menu/view-more-menu-group.mjs.map +2 -2
- package/build-module/components/page-attributes/parent.mjs +2 -1
- package/build-module/components/page-attributes/parent.mjs.map +2 -2
- package/build-module/components/post-card-panel/index.mjs +1 -1
- package/build-module/components/post-card-panel/index.mjs.map +2 -2
- package/build-module/components/post-excerpt/panel.mjs +1 -1
- package/build-module/components/post-excerpt/panel.mjs.map +2 -2
- package/build-module/components/post-locked-modal/index.mjs +3 -3
- package/build-module/components/post-locked-modal/index.mjs.map +1 -1
- package/build-module/components/post-preview-button/index.mjs +2 -2
- package/build-module/components/post-preview-button/index.mjs.map +2 -2
- package/build-module/components/post-publish-button/index.mjs +117 -159
- package/build-module/components/post-publish-button/index.mjs.map +2 -2
- package/build-module/components/post-publish-button/label.mjs +2 -2
- package/build-module/components/post-publish-button/label.mjs.map +2 -2
- package/build-module/components/post-publish-panel/index.mjs.map +1 -1
- package/build-module/components/post-publish-panel/postpublish.mjs +1 -1
- package/build-module/components/post-publish-panel/postpublish.mjs.map +2 -2
- package/build-module/components/post-revisions-preview/block-diff.mjs +20 -8
- package/build-module/components/post-revisions-preview/block-diff.mjs.map +2 -2
- package/build-module/components/post-revisions-preview/diff-markers.mjs.map +2 -2
- package/build-module/components/post-revisions-preview/preserve-client-ids.mjs +1 -1
- package/build-module/components/post-revisions-preview/preserve-client-ids.mjs.map +1 -1
- package/build-module/components/post-revisions-preview/revisions-slider.mjs +1 -1
- package/build-module/components/post-revisions-preview/revisions-slider.mjs.map +2 -2
- package/build-module/components/post-revisions-timeline/index.mjs +152 -0
- package/build-module/components/post-revisions-timeline/index.mjs.map +7 -0
- package/build-module/components/post-saved-state/index.mjs +17 -26
- package/build-module/components/post-saved-state/index.mjs.map +2 -2
- package/build-module/components/post-schedule/label.mjs +5 -5
- package/build-module/components/post-schedule/label.mjs.map +1 -1
- package/build-module/components/post-taxonomies/flat-term-selector.mjs +3 -6
- package/build-module/components/post-taxonomies/flat-term-selector.mjs.map +2 -2
- package/build-module/components/post-taxonomies/hierarchical-term-selector.mjs +1 -1
- package/build-module/components/post-taxonomies/hierarchical-term-selector.mjs.map +2 -2
- package/build-module/components/post-text-editor/index.mjs +51 -0
- package/build-module/components/post-text-editor/index.mjs.map +2 -2
- package/build-module/components/post-text-editor/utils.mjs +123 -0
- package/build-module/components/post-text-editor/utils.mjs.map +7 -0
- package/build-module/components/post-url/index.mjs +1 -1
- package/build-module/components/post-url/index.mjs.map +2 -2
- package/build-module/components/post-view-link/index.mjs +1 -1
- package/build-module/components/post-view-link/index.mjs.map +2 -2
- package/build-module/components/provider/disable-non-page-content-blocks.mjs.map +1 -1
- package/build-module/components/provider/index.mjs +3 -1
- package/build-module/components/provider/index.mjs.map +2 -2
- package/build-module/components/provider/use-network-reconnect.mjs +30 -0
- package/build-module/components/provider/use-network-reconnect.mjs.map +7 -0
- package/build-module/components/resizable-editor/resize-handle.mjs.map +2 -2
- package/build-module/components/revision-diff-panel/index.mjs +7 -2
- package/build-module/components/revision-diff-panel/index.mjs.map +2 -2
- package/build-module/components/revision-fields-diff/index.mjs +8 -4
- package/build-module/components/revision-fields-diff/index.mjs.map +2 -2
- package/build-module/components/sidebar/dataform-post-summary.mjs +125 -20
- package/build-module/components/sidebar/dataform-post-summary.mjs.map +2 -2
- package/build-module/components/sidebar/index.mjs +3 -22
- package/build-module/components/sidebar/index.mjs.map +2 -2
- package/build-module/components/sidebar/post-revision-summary.mjs +11 -17
- package/build-module/components/sidebar/post-revision-summary.mjs.map +2 -2
- package/build-module/components/sidebar/post-summary.mjs +1 -1
- package/build-module/components/sidebar/post-summary.mjs.map +2 -2
- package/build-module/components/style-book/examples.mjs +1 -1
- package/build-module/components/style-book/examples.mjs.map +1 -1
- package/build-module/components/style-book/index.mjs +1 -1
- package/build-module/components/style-book/index.mjs.map +2 -2
- package/build-module/components/sync-connection-error-modal/index.mjs +3 -3
- package/build-module/components/sync-connection-error-modal/index.mjs.map +1 -1
- package/build-module/components/template-actions-panel/block-theme-content.mjs +7 -1
- package/build-module/components/template-actions-panel/block-theme-content.mjs.map +2 -2
- package/build-module/components/template-actions-panel/index.mjs +0 -9
- package/build-module/components/template-actions-panel/index.mjs.map +2 -2
- package/build-module/components/template-validation-notice/index.mjs +1 -1
- package/build-module/components/template-validation-notice/index.mjs.map +1 -1
- package/build-module/components/upload-progress-snackbar/index.mjs +135 -0
- package/build-module/components/upload-progress-snackbar/index.mjs.map +7 -0
- package/build-module/components/upload-progress-snackbar/tracker.mjs +61 -0
- package/build-module/components/upload-progress-snackbar/tracker.mjs.map +7 -0
- package/build-module/components/visual-editor/edit-template-blocks-notification.mjs +1 -1
- package/build-module/components/visual-editor/edit-template-blocks-notification.mjs.map +1 -1
- package/build-module/dataviews/fields/revisions/index.mjs +20 -0
- package/build-module/dataviews/fields/revisions/index.mjs.map +7 -0
- package/build-module/dataviews/fields/revisions/revisions-view.mjs +53 -0
- package/build-module/dataviews/fields/revisions/revisions-view.mjs.map +7 -0
- package/build-module/dataviews/store/private-actions.mjs +23 -7
- package/build-module/dataviews/store/private-actions.mjs.map +2 -2
- package/build-module/hooks/push-changes-to-global-styles/index.mjs +1 -1
- package/build-module/hooks/push-changes-to-global-styles/index.mjs.map +1 -1
- package/build-module/private-apis.mjs +2 -0
- package/build-module/private-apis.mjs.map +2 -2
- package/build-module/store/actions.mjs +1 -1
- package/build-module/store/actions.mjs.map +2 -2
- package/build-module/store/private-selectors.mjs +7 -1
- package/build-module/store/private-selectors.mjs.map +2 -2
- package/build-module/store/selectors.mjs +1 -2
- package/build-module/store/selectors.mjs.map +2 -2
- package/build-module/utils/media-upload/index.mjs +19 -0
- package/build-module/utils/media-upload/index.mjs.map +2 -2
- package/build-module/utils/set-nested-value.mjs.map +1 -1
- package/build-style/style-rtl.css +707 -270
- package/build-style/style.css +707 -270
- package/build-types/components/block-removal-warnings/index.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/note-byline.d.ts +0 -3
- package/build-types/components/collab-sidebar/note-byline.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/note-indicator-toolbar.d.ts.map +1 -1
- package/build-types/components/collab-sidebar/note.d.ts.map +1 -1
- package/build-types/components/collaborators-overlay/use-block-highlighting.d.ts +0 -3
- package/build-types/components/collaborators-overlay/use-block-highlighting.d.ts.map +1 -1
- package/build-types/components/collaborators-overlay/use-render-cursors.d.ts.map +1 -1
- package/build-types/components/collaborators-presence/avatar/component.d.ts.map +1 -1
- package/build-types/components/document-bar/index.d.ts.map +1 -1
- package/build-types/components/global-keyboard-shortcuts/index.d.ts.map +1 -1
- package/build-types/components/local-autosave-monitor/index.d.ts.map +1 -1
- package/build-types/components/more-menu/view-more-menu-group.d.ts.map +1 -1
- package/build-types/components/page-attributes/parent.d.ts.map +1 -1
- package/build-types/components/post-publish-button/index.d.ts +9 -9
- package/build-types/components/post-publish-button/index.d.ts.map +1 -1
- package/build-types/components/post-revisions-preview/block-diff.d.ts +3 -0
- package/build-types/components/post-revisions-preview/block-diff.d.ts.map +1 -1
- package/build-types/components/post-revisions-preview/diff-markers.d.ts.map +1 -1
- package/build-types/components/post-revisions-timeline/index.d.ts +2 -0
- package/build-types/components/post-revisions-timeline/index.d.ts.map +1 -0
- package/build-types/components/post-saved-state/index.d.ts.map +1 -1
- package/build-types/components/post-taxonomies/flat-term-selector.d.ts.map +1 -1
- package/build-types/components/post-text-editor/index.d.ts.map +1 -1
- package/build-types/components/post-text-editor/utils.d.ts +29 -0
- package/build-types/components/post-text-editor/utils.d.ts.map +1 -0
- package/build-types/components/provider/index.d.ts.map +1 -1
- package/build-types/components/provider/use-network-reconnect.d.ts +8 -0
- package/build-types/components/provider/use-network-reconnect.d.ts.map +1 -0
- package/build-types/components/resizable-editor/resize-handle.d.ts.map +1 -1
- package/build-types/components/revision-diff-panel/index.d.ts +3 -1
- package/build-types/components/revision-diff-panel/index.d.ts.map +1 -1
- package/build-types/components/revision-fields-diff/index.d.ts +3 -0
- package/build-types/components/revision-fields-diff/index.d.ts.map +1 -1
- package/build-types/components/sidebar/dataform-post-summary.d.ts.map +1 -1
- package/build-types/components/sidebar/index.d.ts.map +1 -1
- package/build-types/components/sidebar/post-revision-summary.d.ts.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/index.d.ts.map +1 -1
- package/build-types/components/upload-progress-snackbar/index.d.ts +19 -0
- package/build-types/components/upload-progress-snackbar/index.d.ts.map +1 -0
- package/build-types/components/upload-progress-snackbar/stories/index.story.d.ts +28 -0
- package/build-types/components/upload-progress-snackbar/stories/index.story.d.ts.map +1 -0
- package/build-types/components/upload-progress-snackbar/tracker.d.ts +41 -0
- package/build-types/components/upload-progress-snackbar/tracker.d.ts.map +1 -0
- package/build-types/dataviews/fields/revisions/index.d.ts +8 -0
- package/build-types/dataviews/fields/revisions/index.d.ts.map +1 -0
- package/build-types/dataviews/fields/revisions/revisions-view.d.ts +2 -0
- package/build-types/dataviews/fields/revisions/revisions-view.d.ts.map +1 -0
- package/build-types/dataviews/store/private-actions.d.ts.map +1 -1
- package/build-types/private-apis.d.ts.map +1 -1
- package/build-types/store/private-selectors.d.ts +1 -1
- package/build-types/store/private-selectors.d.ts.map +1 -1
- package/build-types/store/selectors.d.ts +1 -1
- package/build-types/store/selectors.d.ts.map +1 -1
- package/build-types/utils/get-template-part-icon.d.ts.map +1 -1
- package/build-types/utils/media-upload/index.d.ts.map +1 -1
- package/package.json +59 -50
- package/src/bindings/pattern-overrides.js +1 -1
- package/src/bindings/test/pattern-overrides.js +65 -0
- package/src/components/README.md +1 -1
- package/src/components/block-removal-warnings/index.js +0 -7
- package/src/components/collab-sidebar/note-byline.js +0 -1
- package/src/components/collab-sidebar/note-indicator-toolbar.js +73 -60
- package/src/components/collab-sidebar/note.js +64 -29
- package/src/components/collab-sidebar/style.scss +20 -0
- package/src/components/collaborators-overlay/use-block-highlighting.ts +0 -9
- package/src/components/collaborators-overlay/use-render-cursors.ts +0 -8
- package/src/components/collaborators-presence/avatar/component.tsx +0 -1
- package/src/components/collaborators-presence/avatar/test/index.tsx +8 -4
- package/src/components/document-bar/index.js +8 -3
- package/src/components/document-bar/style.scss +4 -2
- package/src/components/global-keyboard-shortcuts/index.js +2 -1
- package/src/components/local-autosave-monitor/index.js +23 -21
- package/src/components/more-menu/view-more-menu-group.js +1 -2
- package/src/components/page-attributes/parent.js +1 -0
- package/src/components/post-card-panel/index.js +1 -1
- package/src/components/post-publish-button/index.js +146 -192
- package/src/components/post-publish-button/test/index.js +149 -113
- package/src/components/post-revisions-preview/block-diff.js +63 -19
- package/src/components/post-revisions-preview/diff-markers.js +0 -1
- package/src/components/post-revisions-preview/preserve-client-ids.js +1 -1
- package/src/components/post-revisions-preview/test/block-diff.js +109 -6
- package/src/components/post-revisions-timeline/index.js +186 -0
- package/src/components/post-revisions-timeline/style.scss +43 -0
- package/src/components/post-saved-state/index.js +23 -26
- package/src/components/post-saved-state/test/index.js +18 -0
- package/src/components/post-taxonomies/flat-term-selector.js +4 -7
- package/src/components/post-text-editor/index.js +65 -0
- package/src/components/post-text-editor/test/utils.js +210 -0
- package/src/components/post-text-editor/utils.js +204 -0
- package/src/components/post-type-support-check/test/index.js +11 -0
- package/src/components/post-url/index.js +1 -1
- package/src/components/post-view-link/index.js +1 -1
- package/src/components/post-view-link/test/index.js +71 -0
- package/src/components/provider/index.js +6 -1
- package/src/components/provider/test/use-network-reconnect.js +137 -0
- package/src/components/provider/use-network-reconnect.js +44 -0
- package/src/components/resizable-editor/resize-handle.js +0 -1
- package/src/components/revision-diff-panel/index.js +8 -2
- package/src/components/revision-fields-diff/index.js +19 -3
- package/src/components/sidebar/dataform-post-summary.js +196 -25
- package/src/components/sidebar/index.js +4 -23
- package/src/components/sidebar/post-revision-summary.js +8 -15
- package/src/components/sidebar/post-summary.js +1 -1
- package/src/components/style-book/index.js +1 -1
- package/src/components/template-actions-panel/block-theme-content.js +10 -2
- package/src/components/template-actions-panel/index.js +0 -15
- package/src/components/upload-progress-snackbar/README.md +26 -0
- package/src/components/upload-progress-snackbar/index.js +216 -0
- package/src/components/upload-progress-snackbar/stories/index.story.tsx +85 -0
- package/src/components/upload-progress-snackbar/style.scss +30 -0
- package/src/components/upload-progress-snackbar/test/index.js +199 -0
- package/src/components/upload-progress-snackbar/tracker.js +105 -0
- package/src/dataviews/fields/revisions/index.tsx +28 -0
- package/src/dataviews/fields/revisions/revisions-view.tsx +59 -0
- package/src/dataviews/store/private-actions.ts +27 -6
- package/src/private-apis.js +2 -0
- package/src/store/private-selectors.js +11 -1
- package/src/store/selectors.js +1 -3
- package/src/store/test/private-selectors.js +69 -0
- package/src/style.scss +2 -1
- package/src/utils/media-upload/index.js +27 -0
- package/build/components/post-revisions-panel/index.cjs +0 -173
- package/build/components/post-revisions-panel/index.cjs.map +0 -7
- package/build/components/revision-author-panel/index.cjs.map +0 -7
- package/build/components/revision-created-panel/index.cjs +0 -47
- package/build/components/revision-created-panel/index.cjs.map +0 -7
- package/build-module/components/post-revisions-panel/index.mjs +0 -148
- package/build-module/components/post-revisions-panel/index.mjs.map +0 -7
- package/build-module/components/revision-author-panel/index.mjs +0 -28
- package/build-module/components/revision-author-panel/index.mjs.map +0 -7
- package/build-module/components/revision-created-panel/index.mjs +0 -26
- package/build-module/components/revision-created-panel/index.mjs.map +0 -7
- package/build-types/components/post-revisions-panel/index.d.ts +0 -2
- package/build-types/components/post-revisions-panel/index.d.ts.map +0 -1
- package/build-types/components/revision-author-panel/index.d.ts +0 -2
- package/build-types/components/revision-author-panel/index.d.ts.map +0 -1
- package/build-types/components/revision-created-panel/index.d.ts +0 -2
- package/build-types/components/revision-created-panel/index.d.ts.map +0 -1
- package/src/components/commands/index.native.js +0 -2
- package/src/components/deprecated.native.js +0 -47
- package/src/components/editor-help/add-blocks.native.js +0 -40
- package/src/components/editor-help/customize-blocks.native.js +0 -40
- package/src/components/editor-help/help-detail-navigation-screen.native.js +0 -67
- package/src/components/editor-help/help-get-support-button.native.js +0 -38
- package/src/components/editor-help/help-section-title.native.js +0 -29
- package/src/components/editor-help/help-topic-row.native.js +0 -33
- package/src/components/editor-help/icon-move-blocks.native.js +0 -10
- package/src/components/editor-help/images/add-dark.png +0 -0
- package/src/components/editor-help/images/add-dark@2x.png +0 -0
- package/src/components/editor-help/images/add-dark@3x.png +0 -0
- package/src/components/editor-help/images/add-light.png +0 -0
- package/src/components/editor-help/images/add-light@2x.png +0 -0
- package/src/components/editor-help/images/add-light@3x.png +0 -0
- package/src/components/editor-help/images/block-layout-collage.png +0 -0
- package/src/components/editor-help/images/block-layout-collage@2x.png +0 -0
- package/src/components/editor-help/images/block-layout-collage@3x.png +0 -0
- package/src/components/editor-help/images/build-layouts-dark.png +0 -0
- package/src/components/editor-help/images/build-layouts-dark@2x.png +0 -0
- package/src/components/editor-help/images/build-layouts-dark@3x.png +0 -0
- package/src/components/editor-help/images/build-layouts-light.png +0 -0
- package/src/components/editor-help/images/build-layouts-light@2x.png +0 -0
- package/src/components/editor-help/images/build-layouts-light@3x.png +0 -0
- package/src/components/editor-help/images/drag-and-drop-dark.png +0 -0
- package/src/components/editor-help/images/drag-and-drop-dark@2x.png +0 -0
- package/src/components/editor-help/images/drag-and-drop-dark@3x.png +0 -0
- package/src/components/editor-help/images/drag-and-drop-light.png +0 -0
- package/src/components/editor-help/images/drag-and-drop-light@2x.png +0 -0
- package/src/components/editor-help/images/drag-and-drop-light@3x.png +0 -0
- package/src/components/editor-help/images/edit-media-dark.png +0 -0
- package/src/components/editor-help/images/edit-media-dark@2x.png +0 -0
- package/src/components/editor-help/images/edit-media-dark@3x.png +0 -0
- package/src/components/editor-help/images/edit-media-light.png +0 -0
- package/src/components/editor-help/images/edit-media-light@2x.png +0 -0
- package/src/components/editor-help/images/edit-media-light@3x.png +0 -0
- package/src/components/editor-help/images/embed-media-dark.png +0 -0
- package/src/components/editor-help/images/embed-media-dark@2x.png +0 -0
- package/src/components/editor-help/images/embed-media-dark@3x.png +0 -0
- package/src/components/editor-help/images/embed-media-light.png +0 -0
- package/src/components/editor-help/images/embed-media-light@2x.png +0 -0
- package/src/components/editor-help/images/embed-media-light@3x.png +0 -0
- package/src/components/editor-help/images/move-dark.png +0 -0
- package/src/components/editor-help/images/move-dark@2x.png +0 -0
- package/src/components/editor-help/images/move-dark@3x.png +0 -0
- package/src/components/editor-help/images/move-light.png +0 -0
- package/src/components/editor-help/images/move-light@2x.png +0 -0
- package/src/components/editor-help/images/move-light@3x.png +0 -0
- package/src/components/editor-help/images/options-dark.png +0 -0
- package/src/components/editor-help/images/options-dark@2x.png +0 -0
- package/src/components/editor-help/images/options-dark@3x.png +0 -0
- package/src/components/editor-help/images/options-light.png +0 -0
- package/src/components/editor-help/images/options-light@2x.png +0 -0
- package/src/components/editor-help/images/options-light@3x.png +0 -0
- package/src/components/editor-help/images/rich-text-dark.png +0 -0
- package/src/components/editor-help/images/rich-text-dark@2x.png +0 -0
- package/src/components/editor-help/images/rich-text-dark@3x.png +0 -0
- package/src/components/editor-help/images/rich-text-light.png +0 -0
- package/src/components/editor-help/images/rich-text-light@2x.png +0 -0
- package/src/components/editor-help/images/rich-text-light@3x.png +0 -0
- package/src/components/editor-help/images/settings-dark.png +0 -0
- package/src/components/editor-help/images/settings-dark@2x.png +0 -0
- package/src/components/editor-help/images/settings-dark@3x.png +0 -0
- package/src/components/editor-help/images/settings-light.png +0 -0
- package/src/components/editor-help/images/settings-light@2x.png +0 -0
- package/src/components/editor-help/images/settings-light@3x.png +0 -0
- package/src/components/editor-help/index.native.js +0 -208
- package/src/components/editor-help/intro-to-blocks.native.js +0 -91
- package/src/components/editor-help/move-blocks.native.js +0 -55
- package/src/components/editor-help/remove-blocks.native.js +0 -35
- package/src/components/editor-help/style.android.scss +0 -6
- package/src/components/editor-help/style.ios.scss +0 -6
- package/src/components/editor-help/style.scss +0 -123
- package/src/components/editor-help/test/index.native.js +0 -81
- package/src/components/editor-help/view-sections.native.js +0 -79
- package/src/components/error-boundary/index.native.js +0 -192
- package/src/components/error-boundary/style.native.scss +0 -116
- package/src/components/index.native.js +0 -15
- package/src/components/offline-status/index.native.js +0 -99
- package/src/components/offline-status/style.native.scss +0 -28
- package/src/components/offline-status/test/index.native.js +0 -108
- package/src/components/post-revisions-panel/index.js +0 -161
- package/src/components/post-revisions-panel/style.scss +0 -16
- package/src/components/post-title/index.native.js +0 -282
- package/src/components/post-title/style.native.scss +0 -13
- package/src/components/post-title/test/__snapshots__/index.native.js.snap +0 -25
- package/src/components/post-title/test/index.native.js +0 -78
- package/src/components/provider/index.native.js +0 -497
- package/src/components/provider/use-block-editor-settings.native.js +0 -48
- package/src/components/revision-author-panel/index.js +0 -36
- package/src/components/revision-created-panel/index.js +0 -36
- package/src/components/template-part-menu-items/index.native.js +0 -3
- package/src/hooks/index.native.js +0 -0
- package/src/index.native.js +0 -16
- package/src/private-apis.native.js +0 -33
- package/src/store/actions.native.js +0 -27
- package/src/store/reducer.native.js +0 -94
- package/src/store/selectors.native.js +0 -57
- package/src/store/test/actions.native.js +0 -16
- package/src/store/test/reducer.native.js +0 -36
- package/src/store/test/selectors.native.js +0 -28
- package/src/utils/index.native.js +0 -6
- package/src/utils/media-sideload/index.native.js +0 -1
- package/src/utils/media-upload/index.native.js +0 -1
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,uCAmB3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"note-byline.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note-byline.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"note-byline.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note-byline.js"],"names":[],"mappings":"AAoBA,wBAAgB,UAAU,CAAE,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE;;;;;CAAA,+BA6FzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"note-indicator-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note-indicator-toolbar.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"note-indicator-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note-indicator-toolbar.js"],"names":[],"mappings":"AAwEA,wBAAgB,mBAAmB,CAAE,EAAE,OAAO,EAAE,IAAI,EAAE;;;CAAA,sCA8CrD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"note.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"note.d.ts","sourceRoot":"","sources":["../../../src/components/collab-sidebar/note.js"],"names":[],"mappings":"AA2DA,wBAAgB,IAAI,CAAE,EACrB,IAAI,EACJ,UAAU,EACV,UAAU,EACV,UAAU,EACV,YAAY,EACZ,SAAS,EACT;;;;;;;CAAA,+BAiLA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-block-highlighting.d.ts","sourceRoot":"","sources":["../../../src/components/collaborators-overlay/use-block-highlighting.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-block-highlighting.d.ts","sourceRoot":"","sources":["../../../src/components/collaborators-overlay/use-block-highlighting.ts"],"names":[],"mappings":"AAyBA,MAAM,WAAW,kBAAkB;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACV;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CACnC,cAAc,EAAE,WAAW,GAAG,IAAI,EAClC,mBAAmB,EAAE,QAAQ,GAAG,IAAI,EACpC,MAAM,EAAE,MAAM,GAAG,IAAI,EACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,EACvB,OAAO,EAAE,MAAM,GACb;IACF,UAAU,EAAE,kBAAkB,EAAE,CAAC;IACjC,4BAA4B,EAAE,MAAM,MAAM,IAAI,CAAC;CAC/C,CA8JA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-render-cursors.d.ts","sourceRoot":"","sources":["../../../src/components/collaborators-overlay/use-render-cursors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-render-cursors.d.ts","sourceRoot":"","sources":["../../../src/components/collaborators-overlay/use-render-cursors.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AASxD,YAAY,EAAE,aAAa,EAAE,CAAC;AAE9B,MAAM,WAAW,UAAU;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,cAAc,CAAC,EAAE,aAAa,EAAE,CAAC;CACjC;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAC/B,cAAc,EAAE,WAAW,GAAG,IAAI,EAClC,mBAAmB,EAAE,QAAQ,GAAG,IAAI,EACpC,MAAM,EAAE,MAAM,GAAG,IAAI,EACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,EACvB,OAAO,EAAE,MAAM,GACb;IAAE,OAAO,EAAE,UAAU,EAAE,CAAC;IAAC,yBAAyB,EAAE,MAAM,MAAM,IAAI,CAAA;CAAE,CAkIxE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../../src/components/collaborators-presence/avatar/component.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../../../src/components/collaborators-presence/avatar/component.tsx"],"names":[],"mappings":"AAgBA;;GAEG;AACH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAO3C,iBAAS,MAAM,CAAE,EAChB,SAAS,EACT,GAAG,EACH,IAAI,EACJ,KAAK,EACL,OAAO,EACP,IAAgB,EAChB,WAAW,EACX,MAAc,EACd,eAAe,EACf,KAAK,EACL,GAAG,KAAK,EACR,EAAE,WAAW,GACb,IAAI,CAAE,KAAK,CAAC,cAAc,CAAE,cAAc,CAAE,EAAE,MAAM,WAAW,CAAE,+BAuFjE;eAEc,MAAM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-bar/index.js"],"names":[],"mappings":"AAqCI,YAAoD,QAAQ,GAAlD,OAAO,uBAAuB,EAAE,QAAQ,CAAU;AAIhE;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAE,KAAK,EANvC;IAAwB,KAAK,EAArB,MAAM,CACd;IAAwB,IAAI,2CAG5B;CAEuC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/document-bar/index.js"],"names":[],"mappings":"AAqCI,YAAoD,QAAQ,GAAlD,OAAO,uBAAuB,EAAE,QAAQ,CAAU;AAIhE;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAE,KAAK,EANvC;IAAwB,KAAK,EAArB,MAAM,CACd;IAAwB,IAAI,2CAG5B;CAEuC,6BA+NzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/global-keyboard-shortcuts/index.js"],"names":[],"mappings":"AAaA;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,uBAAuB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/global-keyboard-shortcuts/index.js"],"names":[],"mappings":"AAaA;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,uBAAuB,SAsG9C"}
|
|
@@ -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":"AAoMA;;;;;;;;;;;GAWG"}
|
|
@@ -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":"AAKA,QAAA,MAAc,iBAAiB;;;CAE9B,CAAC;eAIa,iBAAiB"}
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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,8BAqJnC;AAkCD,wBAAgB,SAAS,gCA4ExB;eAEc,oBAAoB"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
export declare function PostPublishButton({ forceIsDirty, isOpen, isToggle, onSubmit, onToggle, setEntitiesSavedStatesCallback }: {
|
|
2
|
+
forceIsDirty: any;
|
|
3
|
+
isOpen: any;
|
|
4
|
+
isToggle: any;
|
|
5
|
+
onSubmit?: (() => void) | undefined;
|
|
6
|
+
onToggle: any;
|
|
7
|
+
setEntitiesSavedStatesCallback: any;
|
|
8
|
+
}): import("react").JSX.Element;
|
|
8
9
|
/**
|
|
9
10
|
* Renders the publish button.
|
|
10
11
|
*/
|
|
11
|
-
|
|
12
|
-
export default _default;
|
|
12
|
+
export default PostPublishButton;
|
|
13
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-button/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-publish-button/index.js"],"names":[],"mappings":"AAcA,wBAAgB,iBAAiB,CAAE,EAClC,YAAY,EACZ,MAAM,EACN,QAAQ,EACR,QAAe,EACf,QAAQ,EACR,8BAA8B,EAC9B;;;;;;;CAAA,+BAgKA;AAED;;GAEG;eACY,iBAAiB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block-diff.d.ts","sourceRoot":"","sources":["../../../src/components/post-revisions-preview/block-diff.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"block-diff.d.ts","sourceRoot":"","sources":["../../../src/components/post-revisions-preview/block-diff.js"],"names":[],"mappings":"AAAA;;GAEG;AAsvBH;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAE,cAAc,EAJxC,MAIwC,EAAE,eAAe,EAHzD,MAGyD,SAkBnE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"diff-markers.d.ts","sourceRoot":"","sources":["../../../src/components/post-revisions-preview/diff-markers.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"diff-markers.d.ts","sourceRoot":"","sources":["../../../src/components/post-revisions-preview/diff-markers.js"],"names":[],"mappings":"AAuHA;;;;;;GAMG;AACH,wBAAgB,cAAc,UA0C7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-revisions-timeline/index.js"],"names":[],"mappings":"AA0CA,MAAM,CAAC,OAAO,UAAU,qBAAqB,gCA+I5C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-saved-state/index.js"],"names":[],"mappings":"AA2BA;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAE,EAAE,YAAY,EAAE,EAJrD;IAAwB,YAAY,EAA3B,OAAO,OAAA,CAEhB;CAEqD,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-saved-state/index.js"],"names":[],"mappings":"AA2BA;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,CAAE,EAAE,YAAY,EAAE,EAJrD;IAAwB,YAAY,EAA3B,OAAO,OAAA,CAEhB;CAEqD,qCAyJvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flat-term-selector.d.ts","sourceRoot":"","sources":["../../../src/components/post-taxonomies/flat-term-selector.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"flat-term-selector.d.ts","sourceRoot":"","sources":["../../../src/components/post-taxonomies/flat-term-selector.js"],"names":[],"mappings":"AAuDA;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAE,EAAE,IAAI,EAAE,EAJvC;IAAsB,IAAI,EAAlB,MAAM,CAEd;CAEuC,6BA0OzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-text-editor/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/post-text-editor/index.js"],"names":[],"mappings":"AAqBA;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,cAAc,8BAqGrC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Diffs two strings into a list of `{ value, added?, removed? }` change parts.
|
|
3
|
+
*
|
|
4
|
+
* @param {string} oldValue The previous string.
|
|
5
|
+
* @param {string} newValue The next string.
|
|
6
|
+
* @return {Array<Object>} The diff change parts.
|
|
7
|
+
*/
|
|
8
|
+
export declare function getDiff(oldValue: string, newValue: string): Object[];
|
|
9
|
+
/**
|
|
10
|
+
* Maps a cursor position from the old string to the new string given a diff.
|
|
11
|
+
*
|
|
12
|
+
* @param {number} position The cursor position in the old string.
|
|
13
|
+
* @param {Array<Object>} changes The diff returned by `getDiff`.
|
|
14
|
+
* @param {string} oldValue The previous string.
|
|
15
|
+
* @param {string} newValue The next string.
|
|
16
|
+
* @return {number} The adjusted cursor position in the new string.
|
|
17
|
+
*/
|
|
18
|
+
export declare function adjustPosition(position: number, changes: Object[], oldValue: string, newValue: string): number;
|
|
19
|
+
/**
|
|
20
|
+
* Diffs `oldValue` against `newValue` and maps a cursor `position` from the old
|
|
21
|
+
* string to the new one.
|
|
22
|
+
*
|
|
23
|
+
* @param {number} position The cursor position in the old string.
|
|
24
|
+
* @param {string} oldValue The previous string.
|
|
25
|
+
* @param {string} newValue The next string.
|
|
26
|
+
* @return {number} The adjusted cursor position in the new string.
|
|
27
|
+
*/
|
|
28
|
+
export declare function getAdjustedCursorPosition(position: number, oldValue: string, newValue: string): number;
|
|
29
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/post-text-editor/utils.js"],"names":[],"mappings":"AAaA;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAE,QAAQ,EAJtB,MAIsB,EAAE,QAAQ,EAHhC,MAGgC,YAoD1C;AAuCD;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAE,QAAQ,EAN7B,MAM6B,EAAE,OAAO,UAAA,EAAE,QAAQ,EAJhD,MAIgD,EAAE,QAAQ,EAH1D,MAG0D,GAFzD,MAAM,CAmEjB;AAED;;;;;;;;GAQG;AACH,wBAAgB,yBAAyB,CAAE,QAAQ,EALxC,MAKwC,EAAE,QAAQ,EAJlD,MAIkD,EAAE,QAAQ,EAH5D,MAG4D,GAF3D,MAAM,CASjB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/provider/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/provider/index.js"],"names":[],"mappings":"AA+IA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,0BAA0B,oEAsStC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,cAAc,CAAE,KAAK,EArBlC;IAAgC,IAAI,AAApC,CACA,SAAA;IAAgC,kBAAkB,AAAlD,CAEA,SAAA;IAAgC,QAAQ,AAAxC,CAEA,SAAA;IAAgC,QAAQ,AAAxC,CAGA,4BAAA;CAakC,6BASpC;eAEc,cAAc"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A hook that pauses the media upload queue when the browser goes offline
|
|
3
|
+
* and resumes it when connectivity is restored.
|
|
4
|
+
*
|
|
5
|
+
* Only active when client-side media processing is enabled.
|
|
6
|
+
*/
|
|
7
|
+
export default function useNetworkReconnect(): void;
|
|
8
|
+
//# sourceMappingURL=use-network-reconnect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-network-reconnect.d.ts","sourceRoot":"","sources":["../../../src/components/provider/use-network-reconnect.js"],"names":[],"mappings":"AAYA;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,SAyB1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resize-handle.d.ts","sourceRoot":"","sources":["../../../src/components/resizable-editor/resize-handle.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"resize-handle.d.ts","sourceRoot":"","sources":["../../../src/components/resizable-editor/resize-handle.js"],"names":[],"mappings":"AAUA,MAAM,CAAC,OAAO,UAAU,YAAY,CAAE,EAAE,SAAS,EAAE,aAAa,EAAE;;;CAAA,+BA0DjE"}
|
|
@@ -5,10 +5,12 @@
|
|
|
5
5
|
* @param {string} props.title Panel title.
|
|
6
6
|
* @param {Object} props.entries Map of key → diffWords parts arrays.
|
|
7
7
|
* @param {boolean} props.initialOpen Whether the panel starts open.
|
|
8
|
+
* @param {string} [props.className] Optional class for the content wrapper.
|
|
8
9
|
*/
|
|
9
|
-
export default function RevisionDiffPanel({ title, entries, initialOpen }: {
|
|
10
|
+
export default function RevisionDiffPanel({ title, entries, initialOpen, className }: {
|
|
10
11
|
title: string;
|
|
11
12
|
entries: Object;
|
|
12
13
|
initialOpen: boolean;
|
|
14
|
+
className?: string;
|
|
13
15
|
}): import("react").JSX.Element | null;
|
|
14
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/revision-diff-panel/index.js"],"names":[],"mappings":"AAUA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/revision-diff-panel/index.js"],"names":[],"mappings":"AAUA;;;;;;;;GAQG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAE,EAC1C,KAAK,EACL,OAAO,EACP,WAAW,EACX,SAAS,EACT,EAVE;IAAuB,KAAK,EAApB,MAAM,CACd;IAAuB,OAAO,SAC9B;IAAuB,WAAW,EAA1B,OAAO,CACf;IAAwB,SAAS,AAAjC,CACF,EADU,MAAM,CAChB;CAMA,sCAwCA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/revision-fields-diff/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/revision-fields-diff/index.js"],"names":[],"mappings":"AAAA;;GAEG;AAgDH;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,uBAAuB,gCAoD9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataform-post-summary.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/dataform-post-summary.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"dataform-post-summary.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/dataform-post-summary.js"],"names":[],"mappings":"AA0FA,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAE,EAAE,iBAAiB,EAAE;;CAAA,+BAmOjE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/index.js"],"names":[],"mappings":"AAgJA,QAAA,MAAM,OAAO;;;iCAkEZ,CAAC;eAEa,OAAO"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-revision-summary.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/post-revision-summary.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-revision-summary.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/post-revision-summary.js"],"names":[],"mappings":"AAqBA,MAAM,CAAC,OAAO,UAAU,mBAAmB,uCA+B1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"block-theme-content.d.ts","sourceRoot":"","sources":["../../../src/components/template-actions-panel/block-theme-content.js"],"names":[],"mappings":"AAgCA,MAAM,CAAC,OAAO,UAAU,2BAA2B,
|
|
1
|
+
{"version":3,"file":"block-theme-content.d.ts","sourceRoot":"","sources":["../../../src/components/template-actions-panel/block-theme-content.js"],"names":[],"mappings":"AAgCA,MAAM,CAAC,OAAO,UAAU,2BAA2B,uCAiLlD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/template-actions-panel/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/template-actions-panel/index.js"],"names":[],"mappings":"AAOA,MAAM,CAAC,OAAO,UAAU,oBAAoB,uCAS3C"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const UPLOAD_SPINNER: import("react").JSX.Element;
|
|
2
|
+
export declare const UPLOAD_DONE: import("react").JSX.Element;
|
|
3
|
+
/**
|
|
4
|
+
* Manages a snackbar notice that shows media upload progress while uploads are
|
|
5
|
+
* in progress. It creates/updates a notice via the notices store so that it
|
|
6
|
+
* positions and stacks with every other snackbar in the editor.
|
|
7
|
+
*
|
|
8
|
+
* Reads from two sources to cover both upload paths:
|
|
9
|
+
* - `@wordpress/upload-media` store (client-side media processing path).
|
|
10
|
+
* - An editor-local tracker populated by the traditional `mediaUpload`
|
|
11
|
+
* wrapper (non-CSM path — e.g. Safari, or when a filter disables CSM).
|
|
12
|
+
*
|
|
13
|
+
* Only counts original user-uploaded files (items without a `parentId`),
|
|
14
|
+
* ignoring generated subsizes/thumbnails.
|
|
15
|
+
*
|
|
16
|
+
* @return {null} This component renders nothing — it only manages a notice.
|
|
17
|
+
*/
|
|
18
|
+
export default function UploadProgressSnackbar(): null;
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/upload-progress-snackbar/index.js"],"names":[],"mappings":"AAkDA,eAAO,MAAM,cAAc,6BAO1B,CAAC;AAEF,eAAO,MAAM,WAAW,6BAIvB,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,OAAO,UAAU,sBAAsB,IAFlC,IAAI,CAyIf"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* External dependencies
|
|
3
|
+
*/
|
|
4
|
+
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
5
|
+
/**
|
|
6
|
+
* WordPress dependencies
|
|
7
|
+
*/
|
|
8
|
+
import { Snackbar } from '@wordpress/components';
|
|
9
|
+
/**
|
|
10
|
+
* The `UploadProgressSnackbar` component itself renders no UI: it manages a
|
|
11
|
+
* snackbar notice via the notices store while media uploads are in progress.
|
|
12
|
+
*
|
|
13
|
+
* These stories render the `Snackbar` with the same icon markup and text the
|
|
14
|
+
* notice produces, so the in-progress and completed states can be reviewed
|
|
15
|
+
* visually without running an actual upload.
|
|
16
|
+
*/
|
|
17
|
+
declare const meta: Meta<typeof Snackbar>;
|
|
18
|
+
export default meta;
|
|
19
|
+
type Story = StoryObj<typeof Snackbar>;
|
|
20
|
+
export declare const Uploading: Story;
|
|
21
|
+
export declare const UploadingMultiple: Story;
|
|
22
|
+
export declare const Complete: Story;
|
|
23
|
+
/**
|
|
24
|
+
* All states shown together for quick comparison of the icon alignment and
|
|
25
|
+
* sizing between the spinner and the completion checkmark.
|
|
26
|
+
*/
|
|
27
|
+
export declare const AllStates: Story;
|
|
28
|
+
//# sourceMappingURL=index.story.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../../src/components/upload-progress-snackbar/stories/index.story.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D;;GAEG;AACH,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAOjD;;;;;;;GAOG;AACH,QAAA,MAAM,IAAI,EAAE,IAAI,CAAE,OAAO,QAAQ,CAUhC,CAAC;eACa,IAAI;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAE,OAAO,QAAQ,CAAE,CAAC;AAEzC,eAAO,MAAM,SAAS,EAAE,KAMvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAM/B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,KAmBvB,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Registers a new batch of files that have started uploading.
|
|
3
|
+
*
|
|
4
|
+
* @param {string[]} filenames Filenames in submission order.
|
|
5
|
+
*/
|
|
6
|
+
export declare function addFiles(filenames: string[]): void;
|
|
7
|
+
/**
|
|
8
|
+
* Advances the tracker by a number of finished files (success or error).
|
|
9
|
+
*
|
|
10
|
+
* @param {number} count Number of files that finished since the last call.
|
|
11
|
+
*/
|
|
12
|
+
export declare function advance(count: number): void;
|
|
13
|
+
/**
|
|
14
|
+
* Resets the tracker to its empty state.
|
|
15
|
+
*
|
|
16
|
+
* Test-only helper: `state` is a module-level singleton, so tests call this in
|
|
17
|
+
* `beforeEach` to isolate cases from one another. Not used in production -
|
|
18
|
+
* `advance` clears the state on its own once every file in a batch finishes.
|
|
19
|
+
*/
|
|
20
|
+
export declare function reset(): void;
|
|
21
|
+
/**
|
|
22
|
+
* Returns the current tracker state, or `null` when idle.
|
|
23
|
+
*
|
|
24
|
+
* @return {?{total: number, completed: number, pending: string[]}} Tracker state.
|
|
25
|
+
*/
|
|
26
|
+
export declare function getState(): {
|
|
27
|
+
total: number;
|
|
28
|
+
completed: number;
|
|
29
|
+
pending: string[];
|
|
30
|
+
} | null;
|
|
31
|
+
/**
|
|
32
|
+
* React hook that subscribes to the tracker.
|
|
33
|
+
*
|
|
34
|
+
* @return {?{total: number, completed: number, pending: string[]}} Tracker state.
|
|
35
|
+
*/
|
|
36
|
+
export declare function useTracker(): {
|
|
37
|
+
total: number;
|
|
38
|
+
completed: number;
|
|
39
|
+
pending: string[];
|
|
40
|
+
} | null;
|
|
41
|
+
//# sourceMappingURL=tracker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tracker.d.ts","sourceRoot":"","sources":["../../../src/components/upload-progress-snackbar/tracker.js"],"names":[],"mappings":"AA2BA;;;;GAIG;AACH,wBAAgB,QAAQ,CAAE,SAAS,EAFxB,MAAM,EAEkB,QAalC;AAED;;;;GAIG;AACH,wBAAgB,OAAO,CAAE,KAAK,EAFnB,MAEmB,QAY7B;AAED;;;;;;GAMG;AACH,wBAAgB,KAAK,SAMpB;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,IAFX;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAC,OAAA,CAIjE;AASD;;;;GAIG;AACH,wBAAgB,UAAU,IAFb;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAC,OAAA,CAIjE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dataviews/fields/revisions/index.tsx"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAQlD,QAAA,MAAM,cAAc,EAAE,KAAK,CAAE,QAAQ,CAapC,CAAC;eAEa,cAAc"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"revisions-view.d.ts","sourceRoot":"","sources":["../../../../src/dataviews/fields/revisions/revisions-view.tsx"],"names":[],"mappings":"AAeA,MAAM,CAAC,OAAO,UAAU,aAAa,gCA2CpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private-actions.d.ts","sourceRoot":"","sources":["../../../src/dataviews/store/private-actions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"private-actions.d.ts","sourceRoot":"","sources":["../../../src/dataviews/store/private-actions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAkE1D,OAAO,CAAC,MAAM,CAAC,CAAC;IACf,UAAU,MAAM;QACf,8BAA8B,CAAC,EAAE,OAAO,CAAC;KACzC;CACD;AAgBD,wBAAgB,oBAAoB,CAAE,IAAI,EACzC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,MAAM,CAAE,IAAI,CAAE;UAGf,wBAAwB;;;;EAK/B;AAED,wBAAgB,sBAAsB,CACrC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM;UAGT,0BAA0B;;;;EAKjC;AAED,wBAAgB,mBAAmB,CAAE,IAAI,EACxC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,MAAM,EAAE,KAAK,CAAE,IAAI,CAAE;UAGd,uBAAuB;;;;EAK9B;AAED,wBAAgB,qBAAqB,CACpC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM;UAGR,yBAAyB;;;;EAKhC;AAED,wBAAgB,UAAU,CAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM;UAE9C,cAAc;;;EAIrB;AA2BD,eAAO,MAAM,sBAAsB,aACtB,MAAM,oBACI;IAAE,QAAQ,EAAE,GAAG,CAAA;CAAE,kBA0KtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private-apis.d.ts","sourceRoot":"","sources":["../src/private-apis.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"private-apis.d.ts","sourceRoot":"","sources":["../src/private-apis.js"],"names":[],"mappings":"AAmCA,eAAO,MAAM,WAAW,IAAK,CAAC"}
|
|
@@ -45,7 +45,7 @@ export declare function getEntityFields(state: any, ...args: any[]): import("@wo
|
|
|
45
45
|
* @return {Array} Block client IDs.
|
|
46
46
|
*/
|
|
47
47
|
export declare const getPostBlocksByName: {
|
|
48
|
-
(state: any, blockNames: any): ReturnType<((state: any, blockNames: any) => any) & import("
|
|
48
|
+
(state: any, blockNames: any): ReturnType<((state: any, blockNames: any) => any) & import("@wordpress/data").EnhancedSelector>;
|
|
49
49
|
isRegistrySelector?: boolean;
|
|
50
50
|
registry?: any;
|
|
51
51
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"private-selectors.d.ts","sourceRoot":"","sources":["../../src/store/private-selectors.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"private-selectors.d.ts","sourceRoot":"","sources":["../../src/store/private-selectors.js"],"names":[],"mappings":"AAkDA;;;;;;GAMG;AACH,eAAO,MAAM,WAAW;;;;CAqEvB,CAAC;AAEF,wBAAgB,oBAAoB,CAAE,KAAK,KAAA,OAE1C;AACD,wBAAgB,2BAA2B,CAAE,KAAK,KAAA,OAEjD;AAQD,eAAO,MAAM,WAAW;;;;CAqCvB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB;;;;CA2B9B,CAAC;AAEF,wBAAgB,gBAAgB,CAAE,KAAK,KAAA,EAAE,GAAG,IAAI,OAAA,gDAE/C;AAED,wBAAgB,aAAa,CAAE,KAAK,KAAA,EAAE,GAAG,IAAI,OAAA,WAE5C;AAED,wBAAgB,eAAe,CAAE,KAAK,KAAA,EAAE,GAAG,IAAI,OAAA,+CAE9C;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB;;;;CAiC/B,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB;;;;CAkDnC,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,aAAa,CAAE,KAAK,QAAA,GAFxB,MAAM,CAIjB;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAE,KAAK,QAAA,GAF3B,OAAO,CAIlB;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAE,KAAK,QAAA,GAF1B,MAAM,CAIjB;AAED;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAE,WAAW,EAJzC,MAIyC,EAAE,IAAI,EAH/C,MAG+C,UAqBzD;AAID,wBAAgB,mBAAmB,WAElC;AAED;;;;;;GAMG;AACH,eAAO,MAAM,gBAAgB;;;;CAwB5B,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,eAAe,CAAE,KAAK,QAAA,GAF1B,OAAO,CAIlB;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAE,KAAK,QAAA,GAFhC,OAAO,CAIlB;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAE,KAAK,QAAA,GAF/B,MAAM,GAAC,IAAI,CAItB;AAED;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB;;;;CA+B9B,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAE,KAAK,QAAA,GAF1B,SAAS,GAAC,MAAM,GAAC,KAAK,CAIjC;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAE,KAAK,QAAA,GAFxB,OAAO,CAIlB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB;;;;CAsD/B,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,oCAAoC;;;;CA0BhD,CAAC"}
|
|
@@ -568,7 +568,7 @@ export declare const isPublishSidebarEnabled: {
|
|
|
568
568
|
* @param {Object} state
|
|
569
569
|
* @return {Array} Block list.
|
|
570
570
|
*/
|
|
571
|
-
export declare const getEditorBlocks: ((state: any) => any) & import("
|
|
571
|
+
export declare const getEditorBlocks: ((state: any) => any) & import("@wordpress/data").EnhancedSelector;
|
|
572
572
|
/**
|
|
573
573
|
* Returns true if the given panel was programmatically removed, or false otherwise.
|
|
574
574
|
* All panels are not removed by default.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../src/store/selectors.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"selectors.d.ts","sourceRoot":"","sources":["../../src/store/selectors.js"],"names":[],"mappings":"AAyCA;;;;;;GAMG;AACH,eAAO,MAAM,aAAa;;;;CAEvB,CAAC;AAEJ;;;;;;;GAOG;AACH,eAAO,MAAM,aAAa;;;;CAEvB,CAAC;AAEJ;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAE,KAAK,QAAA,GAF1B,OAAO,CAIlB;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAE,KAAK,QAAA,GAF5B,OAAO,CAKlB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB;;;;CAa7B,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB;;;;CAYnC,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAE,KAAK,QAAA,GAFzB,OAAO,CAIlB;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,cAAc;;;;CAmB1B,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAE,KAAK,EAT9B,MAS8B,GAF7B,MAAM,CAIjB;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAE,KAAK,EAJ5B,MAI4B,GAF1B,CAAC,MAAM,GAAC,MAAM,CAAC,OAAA,CAI3B;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAE,KAAK,QAAA,GAF9B,MAAM,OAAA,CAIlB;AAED;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAAE,KAAK,EAJxC,MAIwC,GAFvC,MAAM,CAMjB;AAED;;;;;;;GAOG;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
{"version":3,"file":"get-template-part-icon.d.ts","sourceRoot":"","sources":["../../src/utils/get-template-part-icon.js"],"names":[],"mappings":"AAWA;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAE,cAAc,EAJxC,MAIwC,
|
|
1
|
+
{"version":3,"file":"get-template-part-icon.d.ts","sourceRoot":"","sources":["../../src/utils/get-template-part-icon.js"],"names":[],"mappings":"AAWA;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAE,cAAc,EAJxC,MAIwC,GAFvC,MAAM,CAajB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/media-upload/index.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/media-upload/index.js"],"names":[],"mappings":"AAwBA;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,OAAO,UAAU,WAAW,CAAE,EACpC,cAAmB,EACnB,YAAY,EACZ,SAAS,EACT,iBAAiB,EACjB,OAAc,EACd,YAAY,EACZ,SAAS,EACT,QAAe,EACf,EAlBE;IAAqB,cAAc,EAA3B,aAAO,CACf;IAAqB,YAAY,EAAzB,MAAM,CACd;IAAqB,SAAS,QAC9B;IAAqB,iBAAiB,EAA7B,MAAM,OAAA,CACf;IAAqB,OAAO,WAC5B;IAAqB,YAAY,WACjC;IAAqB,SAAS,WAC9B;IAAqB,QAAQ,EAArB,OAAO,CACjB;CAUA,QAwGA"}
|