@atlaskit/editor-core 153.1.3 → 153.1.4
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/dist/cjs/commands/index.js +2 -2
- package/dist/cjs/create-editor/ErrorBoundary.js +2 -2
- package/dist/cjs/create-editor/ReactEditorView.js +2 -2
- package/dist/cjs/create-editor/create-plugins-list.js +2 -2
- package/dist/cjs/editor.js +2 -2
- package/dist/cjs/labs/CollapsedEditor/index.js +3 -1
- package/dist/cjs/labs/next/internal/hooks/use-editor/index.js +2 -2
- package/dist/cjs/plugins/alignment/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/analytics/plugin.js +2 -2
- package/dist/cjs/plugins/analytics/types/enums.js +1 -0
- package/dist/cjs/plugins/analytics/utils.js +2 -2
- package/dist/cjs/plugins/annotation/pm-plugins/plugin-factory.js +2 -2
- package/dist/cjs/plugins/annotation/pm-plugins/reducer.js +2 -2
- package/dist/cjs/plugins/base/index.js +2 -2
- package/dist/cjs/plugins/base/pm-plugins/context-identifier.js +2 -2
- package/dist/cjs/plugins/base/pm-plugins/frozen-editor.js +2 -2
- package/dist/cjs/plugins/block-type/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/breakout/index.js +2 -2
- package/dist/cjs/plugins/card/index.js +2 -2
- package/dist/cjs/plugins/card/nodeviews/embedCard.js +2 -2
- package/dist/cjs/plugins/card/pm-plugins/doc.js +2 -2
- package/dist/cjs/plugins/card/pm-plugins/reducers.js +2 -2
- package/dist/cjs/plugins/card/pm-plugins/util/state.js +2 -2
- package/dist/cjs/plugins/card/toolbar.js +2 -2
- package/dist/cjs/plugins/card/ui/ResizableEmbedCard.js +2 -2
- package/dist/cjs/plugins/code-bidi-warning/pm-plugins/plugin-factory.js +2 -2
- package/dist/cjs/plugins/code-block/ide-ux/paired-character-handling.js +2 -2
- package/dist/cjs/plugins/code-block/pm-plugins/main-state.js +2 -2
- package/dist/cjs/plugins/code-block/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/collab-edit/participants.js +2 -2
- package/dist/cjs/plugins/collab-edit/provider/collab-provider.js +2 -2
- package/dist/cjs/plugins/context-panel/index.js +2 -2
- package/dist/cjs/plugins/custom-autoformat/index.js +2 -2
- package/dist/cjs/plugins/custom-autoformat/reducers.js +2 -2
- package/dist/cjs/plugins/date/pm-plugins/utils.js +2 -2
- package/dist/cjs/plugins/emoji/commands/insert-emoji.js +2 -2
- package/dist/cjs/plugins/emoji/index.js +2 -2
- package/dist/cjs/plugins/expand/commands.js +2 -2
- package/dist/cjs/plugins/expand/reducer.js +2 -2
- package/dist/cjs/plugins/expand/ui/ExpandIconButton.js +5 -3
- package/dist/cjs/plugins/extension/actions.js +2 -2
- package/dist/cjs/plugins/extension/commands.js +2 -2
- package/dist/cjs/plugins/extension/context-panel.js +2 -2
- package/dist/cjs/plugins/extension/plugin-factory.js +2 -2
- package/dist/cjs/plugins/extension/pm-plugins/unique-id.js +5 -3
- package/dist/cjs/plugins/extension/reducer.js +2 -2
- package/dist/cjs/plugins/extension/ui/Extension/Lozenge.js +5 -3
- package/dist/cjs/plugins/feature-flags-context/feature-flags-from-props.js +2 -2
- package/dist/cjs/plugins/feature-flags-context/index.js +2 -2
- package/dist/cjs/plugins/feedback-dialog/index.js +2 -2
- package/dist/cjs/plugins/find-replace/plugin.js +2 -2
- package/dist/cjs/plugins/find-replace/reducer.js +2 -2
- package/dist/cjs/plugins/find-replace/ui/FindReplaceTooltipButton.js +2 -2
- package/dist/cjs/plugins/floating-toolbar/index.js +2 -2
- package/dist/cjs/plugins/floating-toolbar/pm-plugins/toolbar-data/reducer.js +2 -2
- package/dist/cjs/plugins/floating-toolbar/ui/Button.js +5 -3
- package/dist/cjs/plugins/floating-toolbar/ui/Select.js +2 -2
- package/dist/cjs/plugins/help-dialog/index.js +2 -2
- package/dist/cjs/plugins/hyperlink/Toolbar.js +2 -2
- package/dist/cjs/plugins/hyperlink/commands.js +2 -2
- package/dist/cjs/plugins/hyperlink/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/image-upload/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/insert-block/ui/ToolbarInsertBlock/create-items.js +2 -2
- package/dist/cjs/plugins/insert-block/ui/ToolbarInsertBlock/index.js +2 -2
- package/dist/cjs/plugins/layout/actions.js +2 -2
- package/dist/cjs/plugins/layout/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/list/commands/indent-list.js +2 -2
- package/dist/cjs/plugins/list/commands/index.js +2 -2
- package/dist/cjs/plugins/list/commands/outdent-list.js +2 -2
- package/dist/cjs/plugins/list/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/macro/actions.js +2 -2
- package/dist/cjs/plugins/macro/index.js +2 -2
- package/dist/cjs/plugins/media/commands/helpers.js +2 -2
- package/dist/cjs/plugins/media/commands/linking.js +2 -2
- package/dist/cjs/plugins/media/commands/media-editor.js +2 -2
- package/dist/cjs/plugins/media/nodeviews/mediaGroup.js +2 -2
- package/dist/cjs/plugins/media/nodeviews/mediaSingle.js +2 -2
- package/dist/cjs/plugins/media/pm-plugins/alt-text/commands.js +2 -2
- package/dist/cjs/plugins/media/pm-plugins/alt-text/reducer.js +2 -2
- package/dist/cjs/plugins/media/pm-plugins/linking/index.js +2 -2
- package/dist/cjs/plugins/media/pm-plugins/linking/reducer.js +2 -2
- package/dist/cjs/plugins/media/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/media/pm-plugins/media-editor-plugin-factory.js +2 -2
- package/dist/cjs/plugins/media/toolbar/alt-text.js +2 -2
- package/dist/cjs/plugins/media/toolbar/index.js +2 -2
- package/dist/cjs/plugins/media/toolbar/linking.js +2 -2
- package/dist/cjs/plugins/media/ui/MediaPicker/BrowserWrapper.js +2 -2
- package/dist/cjs/plugins/media/ui/MediaPicker/DropzoneWrapper.js +2 -2
- package/dist/cjs/plugins/media/utils/media-single.js +2 -2
- package/dist/cjs/plugins/mentions/analytics.js +2 -2
- package/dist/cjs/plugins/mentions/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/mentions/type-ahead/index.js +2 -2
- package/dist/cjs/plugins/mobile-dimensions/reducer.js +2 -2
- package/dist/cjs/plugins/panel/actions.js +2 -2
- package/dist/cjs/plugins/panel/toolbar.js +2 -2
- package/dist/cjs/plugins/panel/utils.js +2 -2
- package/dist/cjs/plugins/paste/handlers.js +2 -2
- package/dist/cjs/plugins/paste/pm-plugins/analytics.js +2 -2
- package/dist/cjs/plugins/quick-insert/assets/index.js +3 -1
- package/dist/cjs/plugins/quick-insert/index.js +2 -2
- package/dist/cjs/plugins/selection/plugin-factory.js +2 -2
- package/dist/cjs/plugins/selection/reducer.js +2 -2
- package/dist/cjs/plugins/status/actions.js +2 -2
- package/dist/cjs/plugins/status/analytics.js +2 -2
- package/dist/cjs/plugins/status/plugin.js +2 -2
- package/dist/cjs/plugins/table/commands/misc.js +2 -2
- package/dist/cjs/plugins/table/commands/toggle.js +2 -2
- package/dist/cjs/plugins/table/commands-with-analytics.js +2 -2
- package/dist/cjs/plugins/table/create-plugin-config.js +2 -2
- package/dist/cjs/plugins/table/handlers.js +2 -2
- package/dist/cjs/plugins/table/nodeviews/TableComponent.js +2 -2
- package/dist/cjs/plugins/table/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/table/pm-plugins/plugin-factory.js +2 -2
- package/dist/cjs/plugins/table/pm-plugins/sticky-headers/plugin-state.js +2 -2
- package/dist/cjs/plugins/table/pm-plugins/table-local-id.js +2 -2
- package/dist/cjs/plugins/table/pm-plugins/table-resizing/plugin-factory.js +2 -2
- package/dist/cjs/plugins/table/pm-plugins/table-resizing/reducer.js +2 -2
- package/dist/cjs/plugins/table/pm-plugins/table-resizing/utils/resize-logic.js +2 -2
- package/dist/cjs/plugins/table/pm-plugins/table-resizing/utils/resize-state.js +2 -2
- package/dist/cjs/plugins/table/pm-plugins/table-resizing/utils/scale-table.js +2 -2
- package/dist/cjs/plugins/table/reducer.js +2 -2
- package/dist/cjs/plugins/table/toolbar.js +2 -2
- package/dist/cjs/plugins/table/transforms/column-width.js +2 -2
- package/dist/cjs/plugins/table/transforms/delete-columns.js +2 -2
- package/dist/cjs/plugins/table/transforms/delete-rows.js +2 -2
- package/dist/cjs/plugins/table/transforms/fix-tables.js +2 -2
- package/dist/cjs/plugins/table/transforms/merge.js +2 -2
- package/dist/cjs/plugins/table/transforms/split.js +2 -2
- package/dist/cjs/plugins/table/types.js +2 -2
- package/dist/cjs/plugins/table/ui/FloatingContextualMenu/ContextualMenu.js +2 -2
- package/dist/cjs/plugins/table/ui/FloatingDeleteButton/getPopUpOptions.js +2 -2
- package/dist/cjs/plugins/table/ui/FloatingDeleteButton/index.js +2 -2
- package/dist/cjs/plugins/table/ui/FloatingInsertButton/getPopupOptions.js +2 -2
- package/dist/cjs/plugins/table/ui/LayoutButton/index.js +2 -2
- package/dist/cjs/plugins/table/utils/row-controls.js +2 -2
- package/dist/cjs/plugins/tasks-and-decisions/nodeviews/taskItem.js +2 -2
- package/dist/cjs/plugins/tasks-and-decisions/pm-plugins/keymaps.js +2 -2
- package/dist/cjs/plugins/tasks-and-decisions/pm-plugins/main.js +5 -3
- package/dist/cjs/plugins/tasks-and-decisions/ui/Task/index.js +3 -1
- package/dist/cjs/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.js +3 -1
- package/dist/cjs/plugins/text-color/pm-plugins/main.js +2 -2
- package/dist/cjs/plugins/text-color/ui/ToolbarTextColor/index.js +2 -2
- package/dist/cjs/plugins/type-ahead/pm-plugins/reducer.js +2 -2
- package/dist/cjs/plugins/type-ahead/stats-modifier.js +4 -3
- package/dist/cjs/plugins/undo-redo/undo-redo-input-source.js +2 -2
- package/dist/cjs/plugins/view-update-subscription/index.js +4 -4
- package/dist/cjs/plugins/width/index.js +2 -2
- package/dist/cjs/test-utils.js +2 -2
- package/dist/cjs/ui/ColorPalette/Palettes/panelBackgroundPalette.js +2 -2
- package/dist/cjs/ui/ConfigPanel/Fields/Boolean.js +5 -2
- package/dist/cjs/ui/ConfigPanel/Fields/CheckboxGroup.js +3 -1
- package/dist/cjs/ui/ConfigPanel/Fields/ColorPicker.js +2 -2
- package/dist/cjs/ui/ConfigPanel/Fields/DateRange.js +2 -2
- package/dist/cjs/ui/ConfigPanel/Fields/Fieldset.js +2 -2
- package/dist/cjs/ui/ConfigPanel/Fields/RadioGroup.js +2 -2
- package/dist/cjs/ui/ConfigPanel/Fields/String.js +3 -1
- package/dist/cjs/ui/ConfigPanel/Fields/UserSelect.js +3 -1
- package/dist/cjs/ui/ConfigPanel/FormContent.js +2 -2
- package/dist/cjs/ui/ContextPanel/index.js +2 -2
- package/dist/cjs/ui/ElementBrowser/components/CategoryList.js +7 -4
- package/dist/cjs/ui/ElementBrowser/components/ElementList/ElementList.js +5 -3
- package/dist/cjs/ui/ElementBrowser/hooks/use-select-and-focus-on-arrow-navigation.js +2 -2
- package/dist/cjs/ui/LinkSearch/withActivityProvider.js +3 -1
- package/dist/cjs/ui/ToolbarButton/index.js +2 -2
- package/dist/cjs/ui/ToolbarFeedback/index.js +2 -2
- package/dist/cjs/ui/WithPluginState/index.js +2 -2
- package/dist/cjs/utils/document.js +20 -1
- package/dist/cjs/utils/filter/privacy-filter.js +2 -2
- package/dist/cjs/utils/input-rules.js +2 -2
- package/dist/cjs/utils/performance/plugin-performance-report.js +2 -2
- package/dist/cjs/utils/performance/simple-measure-to-entries.js +4 -3
- package/dist/cjs/utils/pick-by.js +2 -2
- package/dist/cjs/utils/rich-media-utils.js +2 -2
- package/dist/cjs/utils/selection.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/plugins/analytics/types/enums.js +1 -0
- package/dist/es2019/utils/document.js +20 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/commands/index.js +2 -2
- package/dist/esm/create-editor/ErrorBoundary.js +2 -2
- package/dist/esm/create-editor/ReactEditorView.js +2 -2
- package/dist/esm/create-editor/create-plugins-list.js +2 -2
- package/dist/esm/editor.js +2 -2
- package/dist/esm/labs/CollapsedEditor/index.js +2 -1
- package/dist/esm/labs/next/internal/hooks/use-editor/index.js +2 -2
- package/dist/esm/plugins/alignment/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/analytics/plugin.js +2 -2
- package/dist/esm/plugins/analytics/types/enums.js +1 -0
- package/dist/esm/plugins/analytics/utils.js +2 -2
- package/dist/esm/plugins/annotation/pm-plugins/plugin-factory.js +2 -2
- package/dist/esm/plugins/annotation/pm-plugins/reducer.js +2 -2
- package/dist/esm/plugins/base/index.js +2 -2
- package/dist/esm/plugins/base/pm-plugins/context-identifier.js +2 -2
- package/dist/esm/plugins/base/pm-plugins/frozen-editor.js +2 -2
- package/dist/esm/plugins/block-type/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/breakout/index.js +2 -2
- package/dist/esm/plugins/card/index.js +2 -2
- package/dist/esm/plugins/card/nodeviews/embedCard.js +2 -2
- package/dist/esm/plugins/card/pm-plugins/doc.js +2 -2
- package/dist/esm/plugins/card/pm-plugins/reducers.js +2 -2
- package/dist/esm/plugins/card/pm-plugins/util/state.js +2 -2
- package/dist/esm/plugins/card/toolbar.js +2 -2
- package/dist/esm/plugins/card/ui/ResizableEmbedCard.js +2 -2
- package/dist/esm/plugins/code-bidi-warning/pm-plugins/plugin-factory.js +2 -2
- package/dist/esm/plugins/code-block/ide-ux/paired-character-handling.js +2 -2
- package/dist/esm/plugins/code-block/pm-plugins/main-state.js +2 -2
- package/dist/esm/plugins/code-block/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/collab-edit/participants.js +2 -2
- package/dist/esm/plugins/collab-edit/provider/collab-provider.js +2 -2
- package/dist/esm/plugins/context-panel/index.js +2 -2
- package/dist/esm/plugins/custom-autoformat/index.js +2 -2
- package/dist/esm/plugins/custom-autoformat/reducers.js +2 -2
- package/dist/esm/plugins/date/pm-plugins/utils.js +2 -2
- package/dist/esm/plugins/emoji/commands/insert-emoji.js +2 -2
- package/dist/esm/plugins/emoji/index.js +2 -2
- package/dist/esm/plugins/expand/commands.js +2 -2
- package/dist/esm/plugins/expand/reducer.js +2 -2
- package/dist/esm/plugins/expand/ui/ExpandIconButton.js +4 -3
- package/dist/esm/plugins/extension/actions.js +2 -2
- package/dist/esm/plugins/extension/commands.js +2 -2
- package/dist/esm/plugins/extension/context-panel.js +2 -2
- package/dist/esm/plugins/extension/plugin-factory.js +2 -2
- package/dist/esm/plugins/extension/pm-plugins/unique-id.js +4 -3
- package/dist/esm/plugins/extension/reducer.js +2 -2
- package/dist/esm/plugins/extension/ui/Extension/Lozenge.js +4 -3
- package/dist/esm/plugins/feature-flags-context/feature-flags-from-props.js +2 -2
- package/dist/esm/plugins/feature-flags-context/index.js +2 -2
- package/dist/esm/plugins/feedback-dialog/index.js +2 -2
- package/dist/esm/plugins/find-replace/plugin.js +2 -2
- package/dist/esm/plugins/find-replace/reducer.js +2 -2
- package/dist/esm/plugins/find-replace/ui/FindReplaceTooltipButton.js +2 -2
- package/dist/esm/plugins/floating-toolbar/index.js +2 -2
- package/dist/esm/plugins/floating-toolbar/pm-plugins/toolbar-data/reducer.js +2 -2
- package/dist/esm/plugins/floating-toolbar/ui/Button.js +4 -3
- package/dist/esm/plugins/floating-toolbar/ui/Select.js +2 -2
- package/dist/esm/plugins/help-dialog/index.js +2 -2
- package/dist/esm/plugins/hyperlink/Toolbar.js +2 -2
- package/dist/esm/plugins/hyperlink/commands.js +2 -2
- package/dist/esm/plugins/hyperlink/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/image-upload/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/insert-block/ui/ToolbarInsertBlock/create-items.js +2 -2
- package/dist/esm/plugins/insert-block/ui/ToolbarInsertBlock/index.js +2 -2
- package/dist/esm/plugins/layout/actions.js +2 -2
- package/dist/esm/plugins/layout/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/list/commands/indent-list.js +2 -2
- package/dist/esm/plugins/list/commands/index.js +2 -2
- package/dist/esm/plugins/list/commands/outdent-list.js +2 -2
- package/dist/esm/plugins/list/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/macro/actions.js +2 -2
- package/dist/esm/plugins/macro/index.js +2 -2
- package/dist/esm/plugins/media/commands/helpers.js +2 -2
- package/dist/esm/plugins/media/commands/linking.js +2 -2
- package/dist/esm/plugins/media/commands/media-editor.js +2 -2
- package/dist/esm/plugins/media/nodeviews/mediaGroup.js +2 -2
- package/dist/esm/plugins/media/nodeviews/mediaSingle.js +2 -2
- package/dist/esm/plugins/media/pm-plugins/alt-text/commands.js +2 -2
- package/dist/esm/plugins/media/pm-plugins/alt-text/reducer.js +2 -2
- package/dist/esm/plugins/media/pm-plugins/linking/index.js +2 -2
- package/dist/esm/plugins/media/pm-plugins/linking/reducer.js +2 -2
- package/dist/esm/plugins/media/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/media/pm-plugins/media-editor-plugin-factory.js +2 -2
- package/dist/esm/plugins/media/toolbar/alt-text.js +2 -2
- package/dist/esm/plugins/media/toolbar/index.js +2 -2
- package/dist/esm/plugins/media/toolbar/linking.js +2 -2
- package/dist/esm/plugins/media/ui/MediaPicker/BrowserWrapper.js +2 -2
- package/dist/esm/plugins/media/ui/MediaPicker/DropzoneWrapper.js +2 -2
- package/dist/esm/plugins/media/utils/media-single.js +2 -2
- package/dist/esm/plugins/mentions/analytics.js +2 -2
- package/dist/esm/plugins/mentions/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/mentions/type-ahead/index.js +2 -2
- package/dist/esm/plugins/mobile-dimensions/reducer.js +2 -2
- package/dist/esm/plugins/panel/actions.js +2 -2
- package/dist/esm/plugins/panel/toolbar.js +2 -2
- package/dist/esm/plugins/panel/utils.js +2 -2
- package/dist/esm/plugins/paste/handlers.js +2 -2
- package/dist/esm/plugins/paste/pm-plugins/analytics.js +2 -2
- package/dist/esm/plugins/quick-insert/assets/index.js +2 -1
- package/dist/esm/plugins/quick-insert/index.js +2 -2
- package/dist/esm/plugins/selection/plugin-factory.js +2 -2
- package/dist/esm/plugins/selection/reducer.js +2 -2
- package/dist/esm/plugins/status/actions.js +2 -2
- package/dist/esm/plugins/status/analytics.js +2 -2
- package/dist/esm/plugins/status/plugin.js +2 -2
- package/dist/esm/plugins/table/commands/misc.js +2 -2
- package/dist/esm/plugins/table/commands/toggle.js +2 -2
- package/dist/esm/plugins/table/commands-with-analytics.js +2 -2
- package/dist/esm/plugins/table/create-plugin-config.js +2 -2
- package/dist/esm/plugins/table/handlers.js +2 -2
- package/dist/esm/plugins/table/nodeviews/TableComponent.js +2 -2
- package/dist/esm/plugins/table/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/table/pm-plugins/plugin-factory.js +2 -2
- package/dist/esm/plugins/table/pm-plugins/sticky-headers/plugin-state.js +2 -2
- package/dist/esm/plugins/table/pm-plugins/table-local-id.js +2 -2
- package/dist/esm/plugins/table/pm-plugins/table-resizing/plugin-factory.js +2 -2
- package/dist/esm/plugins/table/pm-plugins/table-resizing/reducer.js +2 -2
- package/dist/esm/plugins/table/pm-plugins/table-resizing/utils/resize-logic.js +2 -2
- package/dist/esm/plugins/table/pm-plugins/table-resizing/utils/resize-state.js +2 -2
- package/dist/esm/plugins/table/pm-plugins/table-resizing/utils/scale-table.js +2 -2
- package/dist/esm/plugins/table/reducer.js +2 -2
- package/dist/esm/plugins/table/toolbar.js +2 -2
- package/dist/esm/plugins/table/transforms/column-width.js +2 -2
- package/dist/esm/plugins/table/transforms/delete-columns.js +2 -2
- package/dist/esm/plugins/table/transforms/delete-rows.js +2 -2
- package/dist/esm/plugins/table/transforms/fix-tables.js +2 -2
- package/dist/esm/plugins/table/transforms/merge.js +2 -2
- package/dist/esm/plugins/table/transforms/split.js +2 -2
- package/dist/esm/plugins/table/types.js +2 -2
- package/dist/esm/plugins/table/ui/FloatingContextualMenu/ContextualMenu.js +2 -2
- package/dist/esm/plugins/table/ui/FloatingDeleteButton/getPopUpOptions.js +2 -2
- package/dist/esm/plugins/table/ui/FloatingDeleteButton/index.js +2 -2
- package/dist/esm/plugins/table/ui/FloatingInsertButton/getPopupOptions.js +2 -2
- package/dist/esm/plugins/table/ui/LayoutButton/index.js +2 -2
- package/dist/esm/plugins/table/utils/row-controls.js +2 -2
- package/dist/esm/plugins/tasks-and-decisions/nodeviews/taskItem.js +2 -2
- package/dist/esm/plugins/tasks-and-decisions/pm-plugins/keymaps.js +2 -2
- package/dist/esm/plugins/tasks-and-decisions/pm-plugins/main.js +4 -3
- package/dist/esm/plugins/tasks-and-decisions/ui/Task/index.js +2 -1
- package/dist/esm/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.js +2 -1
- package/dist/esm/plugins/text-color/pm-plugins/main.js +2 -2
- package/dist/esm/plugins/text-color/ui/ToolbarTextColor/index.js +2 -2
- package/dist/esm/plugins/type-ahead/pm-plugins/reducer.js +2 -2
- package/dist/esm/plugins/type-ahead/stats-modifier.js +3 -2
- package/dist/esm/plugins/undo-redo/undo-redo-input-source.js +2 -2
- package/dist/esm/plugins/view-update-subscription/index.js +3 -2
- package/dist/esm/plugins/width/index.js +2 -2
- package/dist/esm/test-utils.js +2 -2
- package/dist/esm/ui/ColorPalette/Palettes/panelBackgroundPalette.js +2 -2
- package/dist/esm/ui/ConfigPanel/Fields/Boolean.js +4 -2
- package/dist/esm/ui/ConfigPanel/Fields/CheckboxGroup.js +2 -1
- package/dist/esm/ui/ConfigPanel/Fields/ColorPicker.js +2 -2
- package/dist/esm/ui/ConfigPanel/Fields/DateRange.js +2 -2
- package/dist/esm/ui/ConfigPanel/Fields/Fieldset.js +2 -2
- package/dist/esm/ui/ConfigPanel/Fields/RadioGroup.js +2 -2
- package/dist/esm/ui/ConfigPanel/Fields/String.js +2 -1
- package/dist/esm/ui/ConfigPanel/Fields/UserSelect.js +2 -1
- package/dist/esm/ui/ConfigPanel/FormContent.js +2 -2
- package/dist/esm/ui/ContextPanel/index.js +2 -2
- package/dist/esm/ui/ElementBrowser/components/CategoryList.js +7 -4
- package/dist/esm/ui/ElementBrowser/components/ElementList/ElementList.js +5 -3
- package/dist/esm/ui/ElementBrowser/hooks/use-select-and-focus-on-arrow-navigation.js +2 -2
- package/dist/esm/ui/LinkSearch/withActivityProvider.js +2 -1
- package/dist/esm/ui/ToolbarButton/index.js +2 -2
- package/dist/esm/ui/ToolbarFeedback/index.js +2 -2
- package/dist/esm/ui/WithPluginState/index.js +2 -2
- package/dist/esm/utils/document.js +19 -1
- package/dist/esm/utils/filter/privacy-filter.js +2 -2
- package/dist/esm/utils/input-rules.js +2 -2
- package/dist/esm/utils/performance/plugin-performance-report.js +2 -2
- package/dist/esm/utils/performance/simple-measure-to-entries.js +3 -2
- package/dist/esm/utils/pick-by.js +2 -2
- package/dist/esm/utils/rich-media-utils.js +2 -2
- package/dist/esm/utils/selection.js +2 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/plugins/analytics/types/enums.d.ts +1 -0
- package/dist/types/plugins/analytics/types/general-events.d.ts +2 -1
- package/package.json +2 -2
|
@@ -7,6 +7,7 @@ import _inherits from "@babel/runtime/helpers/inherits";
|
|
|
7
7
|
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
8
8
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
9
9
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
10
|
+
var _excluded = ["providerFactory"];
|
|
10
11
|
|
|
11
12
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
12
13
|
|
|
@@ -34,7 +35,7 @@ export default function withActivityProvider(WrappedComponent) {
|
|
|
34
35
|
_defineProperty(_assertThisInitialized(_this), "renderNode", function (providers) {
|
|
35
36
|
var _ref = _this.props,
|
|
36
37
|
providerFactory = _ref.providerFactory,
|
|
37
|
-
props = _objectWithoutProperties(_ref,
|
|
38
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
38
39
|
|
|
39
40
|
var activityProvider = providers.activityProvider;
|
|
40
41
|
return /*#__PURE__*/React.createElement(WrappedComponent, _extends({
|
|
@@ -3,9 +3,9 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
|
|
|
3
3
|
|
|
4
4
|
var _templateObject;
|
|
5
5
|
|
|
6
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
6
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7
7
|
|
|
8
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
8
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9
9
|
|
|
10
10
|
import React, { useCallback } from 'react';
|
|
11
11
|
import Tooltip from '@atlaskit/tooltip';
|
|
@@ -8,9 +8,9 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
|
|
|
8
8
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
9
9
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
10
10
|
|
|
11
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
11
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
12
12
|
|
|
13
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
13
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
14
14
|
|
|
15
15
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
16
16
|
|
|
@@ -6,9 +6,9 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
|
|
|
6
6
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
7
7
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
8
8
|
|
|
9
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
9
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
10
10
|
|
|
11
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
11
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
12
12
|
|
|
13
13
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
14
14
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
2
|
import { Node } from 'prosemirror-model';
|
|
3
|
+
import { transformTextLinkCodeMarks } from '@atlaskit/adf-utils';
|
|
3
4
|
import { sanitizeNodeForPrivacy } from '../utils/filter/privacy-filter';
|
|
4
5
|
import { validateADFEntity, findAndTrackUnsupportedContentNodes } from '@atlaskit/editor-common';
|
|
5
6
|
import { getBreakoutMode } from './node-width';
|
|
@@ -166,9 +167,26 @@ export function processRawValue(schema, value, providerFactory, sanitizePrivateC
|
|
|
166
167
|
|
|
167
168
|
if (contentTransformer) {
|
|
168
169
|
return Node.fromJSON(schema, node);
|
|
170
|
+
} // See: HOT-97965 https://product-fabric.atlassian.net/browse/ED-14400
|
|
171
|
+
// We declared in code mark spec that links and marks should not co-exist on
|
|
172
|
+
// text nodes. This util strips code marks from bad text nodes and preserves links.
|
|
173
|
+
// Otherwise, prosemirror will try to repair the invalid document by stripping links
|
|
174
|
+
// and preserving code marks during content changes.
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
var _transformTextLinkCod = transformTextLinkCodeMarks(node),
|
|
178
|
+
transformedAdf = _transformTextLinkCod.transformedAdf,
|
|
179
|
+
isTransformed = _transformTextLinkCod.isTransformed;
|
|
180
|
+
|
|
181
|
+
if (isTransformed && dispatchAnalyticsEvent) {
|
|
182
|
+
dispatchAnalyticsEvent({
|
|
183
|
+
action: ACTION.TEXT_LINK_MARK_TRANSFORMED,
|
|
184
|
+
actionSubject: ACTION_SUBJECT.EDITOR,
|
|
185
|
+
eventType: EVENT_TYPE.OPERATIONAL
|
|
186
|
+
});
|
|
169
187
|
}
|
|
170
188
|
|
|
171
|
-
var entity = validateADFEntity(schema, node, dispatchAnalyticsEvent);
|
|
189
|
+
var entity = validateADFEntity(schema, transformedAdf || node, dispatchAnalyticsEvent);
|
|
172
190
|
var newEntity = maySanitizePrivateContent(entity, providerFactory, sanitizePrivateContent);
|
|
173
191
|
var parsedDoc = Node.fromJSON(schema, newEntity); // throws an error if the document is invalid
|
|
174
192
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
import { traverse } from '@atlaskit/adf-utils';
|
|
8
8
|
import { isResolvingMentionProvider } from '@atlaskit/mention/resource';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
import { canJoin, findWrapping } from 'prosemirror-transform';
|
|
8
8
|
import { closeHistory } from 'prosemirror-history';
|
|
@@ -3,9 +3,9 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
|
3
3
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
4
4
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
5
5
|
|
|
6
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
6
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
7
7
|
|
|
8
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
8
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
9
9
|
|
|
10
10
|
import { outlier } from './outlier';
|
|
11
11
|
import { EVENT_NAME_STATE_APPLY, EVENT_NAME_UPDATE_STATE, EVENT_NAME_ON_CHANGE, EVENT_NAME_VIEW_STATE_UPDATED } from './track-transactions';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
|
+
import _createClass from "@babel/runtime/helpers/createClass";
|
|
2
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
4
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
5
|
import { EVENT_NAME_DISPATCH_TRANSACTION, EVENT_NAME_STATE_APPLY, EVENT_NAME_UPDATE_STATE, EVENT_NAME_VIEW_STATE_UPDATED, EVENT_NAME_ON_CHANGE } from './track-transactions';
|
|
@@ -15,7 +16,7 @@ var EVENT_NAMES = [EVENT_NAME_STATE_APPLY, EVENT_NAME_UPDATE_STATE, EVENT_NAME_V
|
|
|
15
16
|
* which occur during dispatchTransactions are synchronous.
|
|
16
17
|
*/
|
|
17
18
|
|
|
18
|
-
export var SimpleMeasurementLogger = function SimpleMeasurementLogger() {
|
|
19
|
+
export var SimpleMeasurementLogger = /*#__PURE__*/_createClass(function SimpleMeasurementLogger() {
|
|
19
20
|
var _this = this;
|
|
20
21
|
|
|
21
22
|
_classCallCheck(this, SimpleMeasurementLogger);
|
|
@@ -104,4 +105,4 @@ export var SimpleMeasurementLogger = function SimpleMeasurementLogger() {
|
|
|
104
105
|
_this.currentBatch = [];
|
|
105
106
|
}
|
|
106
107
|
});
|
|
107
|
-
};
|
|
108
|
+
});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
var pickBy = function pickBy(test, object) {
|
|
8
8
|
return Object.keys(object).reduce(function (obj, key) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
import { wrappedLayouts, shouldAddDefaultWrappedWidth, calcPxFromColumns } from '@atlaskit/editor-common';
|
|
8
8
|
import { findParentNodeOfTypeClosestToPos } from 'prosemirror-utils';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
|
|
3
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
4
|
|
|
5
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
|
|
8
8
|
import { NodeSelection, TextSelection, AllSelection } from 'prosemirror-state';
|
package/dist/esm/version.json
CHANGED
|
@@ -75,6 +75,7 @@ export declare enum ACTION {
|
|
|
75
75
|
SYNCHRONY_DISCONNECTED = "synchronyDisconnected",
|
|
76
76
|
SYNCHRONY_ENTITY_ERROR = "synchronyEntityError",
|
|
77
77
|
SYNCHRONY_ERROR = "synchronyError",
|
|
78
|
+
TEXT_LINK_MARK_TRANSFORMED = "textLinkMarkTransformed",
|
|
78
79
|
TOGGLE_EXPAND = "toggleExpand",
|
|
79
80
|
TRANSACTION_DISPATCHED = "transactionDispatched",
|
|
80
81
|
TYPING_FINISHED = "typingFinished",
|
|
@@ -154,5 +154,6 @@ declare type RichMediaLayoutAEP = TrackAEP<ACTION.SELECTED, ACTION_SUBJECT.MEDIA
|
|
|
154
154
|
declare type CodeBlockLanguageSelectedAEP = TrackAEP<ACTION.LANGUAGE_SELECTED, ACTION_SUBJECT.CODE_BLOCK, undefined, {
|
|
155
155
|
language: string;
|
|
156
156
|
}, undefined>;
|
|
157
|
-
|
|
157
|
+
declare type TextLinkCodeMarkTransformedAEP = OperationalAEP<ACTION.TEXT_LINK_MARK_TRANSFORMED, ACTION_SUBJECT.EDITOR, undefined, undefined, undefined>;
|
|
158
|
+
export declare type GeneralEventPayload<T = void> = AnnotateButtonAEP | AnnotationAEP | BrowserFreezePayload | ButtonFeedbackAEP | ButtonHelpAEP | ColorPickerAEP | DispatchedTransactionAEP | EditorPerfAEP | EditorRenderedAEP<T> | EditorStartAEP | EditorStopAEP | EditorTTIAEP | ExpandToggleAEP | FeedbackAEP | FullWidthModeAEP | HelpQuickInsertAEP | InputPerfSamlingAEP | PickerEmojiAEP | PickerImageAEP | ReactNodeViewRenderedAEP | RichMediaLayoutAEP | SelectionAEP | SlowInputAEP | UploadExternalFailedAEP | WithPluginStateCalledAEP | CodeBlockLanguageSelectedAEP | EditorContentRetrievalPerformedAEP | UfoSessionCompletePayloadAEP | TextLinkCodeMarkTransformedAEP | InvalidProsemirrorDocumentErrorAEP | DocumentProcessingErrorAEP;
|
|
158
159
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "153.1.
|
|
3
|
+
"version": "153.1.4",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
},
|
|
139
139
|
"devDependencies": {
|
|
140
140
|
"@atlaskit/atlassian-navigation": "^2.0.0",
|
|
141
|
-
"@atlaskit/breadcrumbs": "11.5.
|
|
141
|
+
"@atlaskit/breadcrumbs": "11.5.1",
|
|
142
142
|
"@atlaskit/code": "^14.3.0",
|
|
143
143
|
"@atlaskit/collab-provider": "7.1.3",
|
|
144
144
|
"@atlaskit/docs": "*",
|