@atlaskit/editor-common 112.11.1 → 112.11.3
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 +23 -0
- package/codemods/69.0.0-update-validator-imports.ts +2 -1
- package/codemods/migrates/entry-points.ts +2 -1
- package/dist/cjs/analytics/types/enums.js +1 -0
- package/dist/cjs/analytics/types/native-embed-events.js +5 -0
- package/dist/cjs/collab/index.js +3 -1
- package/dist/cjs/element-browser/components/ElementList/ElementList.js +2 -0
- package/dist/cjs/element-browser/components/StatelessElementBrowser.js +120 -94
- package/dist/cjs/extensibility/Extension/Extension/styles.js +1 -0
- package/dist/cjs/extensibility/Extension/InlineExtension/styles.js +1 -0
- package/dist/cjs/extensibility/Extension/styles.js +1 -0
- package/dist/cjs/extensibility/MultiBodiedExtension/styles.js +1 -0
- package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
- package/dist/cjs/link/LinkSearch/LinkSearchList.js +1 -0
- package/dist/cjs/link/LinkSearch/LinkSearchListItem.js +1 -0
- package/dist/cjs/link/LinkSearch/ToolbarComponents.js +1 -0
- package/dist/cjs/media-inline/styles.js +3 -1
- package/dist/cjs/media-inline/views/wrapper.js +1 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/selection/gap-cursor/styles.js +3 -1
- package/dist/cjs/styles/shared/blockquote.js +1 -0
- package/dist/cjs/styles/shared/expand.js +1 -0
- package/dist/cjs/styles/shared/headings.js +1 -1
- package/dist/cjs/styles/shared/media-single.js +1 -0
- package/dist/cjs/styles/shared/native-anchor.js +1 -0
- package/dist/cjs/styles/shared/plugins.js +1 -0
- package/dist/cjs/styles/shared/table.js +3 -1
- package/dist/cjs/styles/shared/tableCell.js +1 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Expand/index.js +1 -0
- package/dist/cjs/ui/FloatingToolbar/Button.js +5 -2
- package/dist/cjs/ui/HoverLinkOverlay/index.js +8 -6
- package/dist/cjs/ui/MediaSingle/link.js +1 -0
- package/dist/cjs/ui/MediaSingle/styled.js +1 -0
- package/dist/cjs/ui/MultiBodiedExtension/index.js +1 -0
- package/dist/cjs/ui/PanelTextInput/styles.js +1 -0
- package/dist/cjs/ui/ResizerLegacy/styled.js +3 -1
- package/dist/cjs/ui/clear-next-sibling-margin-top.js +1 -0
- package/dist/cjs/ui-color/ColorPalette/Color/styles.js +1 -0
- package/dist/cjs/ui-color/ColorPalette/styles.js +1 -0
- package/dist/es2019/analytics/types/enums.js +1 -0
- package/dist/es2019/analytics/types/native-embed-events.js +1 -0
- package/dist/es2019/card/ui/assets/card.js +0 -1
- package/dist/es2019/card/ui/assets/embed.js +0 -1
- package/dist/es2019/card/ui/assets/inline.js +0 -1
- package/dist/es2019/card/ui/assets/url.js +0 -1
- package/dist/es2019/collab/index.js +2 -0
- package/dist/es2019/element-browser/components/ElementList/ElementList.js +2 -0
- package/dist/es2019/element-browser/components/StatelessElementBrowser.js +120 -94
- package/dist/es2019/extensibility/Extension/Extension/styles.js +1 -0
- package/dist/es2019/extensibility/Extension/InlineExtension/styles.js +1 -0
- package/dist/es2019/extensibility/Extension/styles.js +1 -0
- package/dist/es2019/extensibility/MultiBodiedExtension/styles.js +1 -0
- package/dist/es2019/icons/shared/BorderIcon.js +0 -1
- package/dist/es2019/link/ConfigureLinkOverlay/Dropdown.js +0 -1
- package/dist/es2019/link/ConfigureLinkOverlay/index.js +0 -1
- package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -0
- package/dist/es2019/link/LinkSearch/LinkSearchList.js +1 -0
- package/dist/es2019/link/LinkSearch/LinkSearchListItem.js +2 -1
- package/dist/es2019/link/LinkSearch/ToolbarComponents.js +1 -0
- package/dist/es2019/link/LinkSearch/withActivityProvider.js +1 -0
- package/dist/es2019/media-inline/styles.js +1 -0
- package/dist/es2019/media-inline/views/wrapper.js +1 -0
- package/dist/es2019/media-single/CommentBadge.js +0 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/selection/gap-cursor/styles.js +1 -0
- package/dist/es2019/selection-based-node-view/SelectionBasedNodeView.js +0 -1
- package/dist/es2019/styles/shared/blockquote.js +1 -0
- package/dist/es2019/styles/shared/expand.js +1 -0
- package/dist/es2019/styles/shared/headings.js +1 -0
- package/dist/es2019/styles/shared/media-single.js +1 -0
- package/dist/es2019/styles/shared/native-anchor.js +1 -0
- package/dist/es2019/styles/shared/plugins.js +1 -0
- package/dist/es2019/styles/shared/table.js +1 -0
- package/dist/es2019/styles/shared/tableCell.js +1 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Expand/index.js +1 -0
- package/dist/es2019/ui/FloatingToolbar/Button.js +5 -2
- package/dist/es2019/ui/FloatingToolbar/ButtonSpotlightCard.js +0 -1
- package/dist/es2019/ui/HoverLinkOverlay/index.js +8 -6
- package/dist/es2019/ui/Layer/index.js +2 -1
- package/dist/es2019/ui/MediaSingle/link.js +1 -1
- package/dist/es2019/ui/MediaSingle/styled.js +1 -0
- package/dist/es2019/ui/MultiBodiedExtension/index.js +1 -0
- package/dist/es2019/ui/PanelTextInput/styles.js +1 -0
- package/dist/es2019/ui/Pulse/Pulse.js +0 -1
- package/dist/es2019/ui/ResizerLegacy/styled.js +1 -1
- package/dist/es2019/ui/TableSelector/index.js +0 -1
- package/dist/es2019/ui/clear-next-sibling-margin-top.js +1 -1
- package/dist/es2019/ui-color/ColorPalette/Color/index.js +0 -1
- package/dist/es2019/ui-color/ColorPalette/Color/styles.js +1 -0
- package/dist/es2019/ui-color/ColorPalette/styles.js +1 -0
- package/dist/es2019/utils/browser.js +0 -1
- package/dist/esm/analytics/types/enums.js +1 -0
- package/dist/esm/analytics/types/native-embed-events.js +1 -0
- package/dist/esm/card/ui/assets/card.js +0 -1
- package/dist/esm/card/ui/assets/embed.js +0 -1
- package/dist/esm/card/ui/assets/inline.js +0 -1
- package/dist/esm/card/ui/assets/url.js +0 -1
- package/dist/esm/collab/index.js +2 -0
- package/dist/esm/element-browser/components/ElementList/ElementList.js +2 -0
- package/dist/esm/element-browser/components/StatelessElementBrowser.js +120 -94
- package/dist/esm/extensibility/Extension/Extension/styles.js +1 -0
- package/dist/esm/extensibility/Extension/InlineExtension/styles.js +1 -0
- package/dist/esm/extensibility/Extension/styles.js +1 -0
- package/dist/esm/extensibility/MultiBodiedExtension/styles.js +1 -0
- package/dist/esm/icons/shared/BorderIcon.js +0 -1
- package/dist/esm/link/ConfigureLinkOverlay/Dropdown.js +0 -1
- package/dist/esm/link/ConfigureLinkOverlay/index.js +0 -1
- package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -0
- package/dist/esm/link/LinkSearch/LinkSearchList.js +1 -0
- package/dist/esm/link/LinkSearch/LinkSearchListItem.js +2 -1
- package/dist/esm/link/LinkSearch/ToolbarComponents.js +1 -0
- package/dist/esm/link/LinkSearch/withActivityProvider.js +1 -0
- package/dist/esm/media-inline/styles.js +1 -0
- package/dist/esm/media-inline/views/wrapper.js +1 -0
- package/dist/esm/media-single/CommentBadge.js +0 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/selection/gap-cursor/styles.js +1 -0
- package/dist/esm/selection-based-node-view/SelectionBasedNodeView.js +0 -1
- package/dist/esm/styles/shared/blockquote.js +1 -0
- package/dist/esm/styles/shared/expand.js +1 -0
- package/dist/esm/styles/shared/headings.js +1 -0
- package/dist/esm/styles/shared/media-single.js +1 -0
- package/dist/esm/styles/shared/native-anchor.js +1 -0
- package/dist/esm/styles/shared/plugins.js +1 -0
- package/dist/esm/styles/shared/table.js +1 -0
- package/dist/esm/styles/shared/tableCell.js +1 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Expand/index.js +1 -0
- package/dist/esm/ui/FloatingToolbar/Button.js +5 -2
- package/dist/esm/ui/FloatingToolbar/ButtonSpotlightCard.js +0 -1
- package/dist/esm/ui/HoverLinkOverlay/index.js +8 -6
- package/dist/esm/ui/Layer/index.js +2 -1
- package/dist/esm/ui/MediaSingle/link.js +1 -1
- package/dist/esm/ui/MediaSingle/styled.js +1 -0
- package/dist/esm/ui/MultiBodiedExtension/index.js +1 -0
- package/dist/esm/ui/PanelTextInput/styles.js +1 -0
- package/dist/esm/ui/Pulse/Pulse.js +0 -1
- package/dist/esm/ui/ResizerLegacy/styled.js +1 -1
- package/dist/esm/ui/TableSelector/index.js +0 -1
- package/dist/esm/ui/clear-next-sibling-margin-top.js +1 -1
- package/dist/esm/ui-color/ColorPalette/Color/index.js +0 -1
- package/dist/esm/ui-color/ColorPalette/Color/styles.js +1 -0
- package/dist/esm/ui-color/ColorPalette/styles.js +1 -0
- package/dist/esm/utils/browser.js +0 -1
- package/dist/types/analytics/analytics-queue.d.ts +1 -1
- package/dist/types/analytics/index.d.ts +1 -0
- package/dist/types/analytics/types/ai-command-palette-events.d.ts +2 -2
- package/dist/types/analytics/types/ai-definitions-events.d.ts +2 -2
- package/dist/types/analytics/types/ai-events.d.ts +1 -1
- package/dist/types/analytics/types/ai-inline-suggestion-events.d.ts +3 -3
- package/dist/types/analytics/types/ai-streaming.d.ts +1 -1
- package/dist/types/analytics/types/alignment-events.d.ts +2 -2
- package/dist/types/analytics/types/avatar.d.ts +2 -2
- package/dist/types/analytics/types/color-events.d.ts +2 -2
- package/dist/types/analytics/types/config-panel-events.d.ts +2 -2
- package/dist/types/analytics/types/datasource-clicked-events.d.ts +1 -1
- package/dist/types/analytics/types/date-events.d.ts +2 -2
- package/dist/types/analytics/types/dispatch-analytics-event.d.ts +1 -1
- package/dist/types/analytics/types/enums.d.ts +2 -1
- package/dist/types/analytics/types/insert-events.d.ts +2 -1
- package/dist/types/analytics/types/link-events.d.ts +2 -2
- package/dist/types/analytics/types/mention-events.d.ts +3 -3
- package/dist/types/analytics/types/native-embed-events.d.ts +7 -0
- package/dist/types/analytics/types/ncs-session-step-events.d.ts +1 -1
- package/dist/types/analytics/types/selection-toolbar-events.d.ts +2 -2
- package/dist/types/analytics/types/upload-media-events.d.ts +1 -1
- package/dist/types/card/MediaAndEmbedsToolbar/index.d.ts +1 -1
- package/dist/types/card/link-toolbar-button-group-options.d.ts +1 -1
- package/dist/types/card/link-toolbar-dropdown-options.d.ts +1 -1
- package/dist/types/card/types.d.ts +2 -2
- package/dist/types/code-block/index.d.ts +2 -2
- package/dist/types/collab/index.d.ts +2 -2
- package/dist/types/copy-button/index.d.ts +1 -1
- package/dist/types/element-browser/components/ElementList/ElementList.d.ts +2 -1
- package/dist/types/element-browser/components/ElementSearch.d.ts +1 -1
- package/dist/types/element-browser/hooks/use-focus.d.ts +1 -1
- package/dist/types/extensibility/Extension/Extension/styles.d.ts +1 -1
- package/dist/types/extensibility/Extension/InlineExtension/styles.d.ts +1 -1
- package/dist/types/extensibility/Extension/Lozenge/ExtensionLabel.d.ts +1 -1
- package/dist/types/extensibility/Extension/Lozenge/LozengeComponent.d.ts +1 -1
- package/dist/types/extensibility/Extension/Lozenge/index.d.ts +1 -1
- package/dist/types/extensibility/Extension/styles.d.ts +1 -1
- package/dist/types/extensibility/Extension.d.ts +1 -1
- package/dist/types/extensibility/MultiBodiedExtension/styles.d.ts +1 -1
- package/dist/types/extensibility/extensionNodeView.d.ts +1 -1
- package/dist/types/extensions/extension-fields-helpers.d.ts +2 -2
- package/dist/types/extensions/types/extension-manifest-common.d.ts +1 -1
- package/dist/types/extensions/types/extension-provider.d.ts +2 -2
- package/dist/types/guideline/snapping.d.ts +1 -1
- package/dist/types/link/ConfigureLinkOverlay/Dropdown.d.ts +3 -7
- package/dist/types/link/ConfigureLinkOverlay/StyledButton.d.ts +1 -1
- package/dist/types/link/ConfigureLinkOverlay/handleNavigation.d.ts +3 -3
- package/dist/types/link/ConfigureLinkOverlay/index.d.ts +4 -8
- package/dist/types/link/LinkPicker/EditorLinkPicker/index.d.ts +1 -1
- package/dist/types/link/LinkPicker/EditorLinkPicker/useEscapeClickaway.d.ts +1 -1
- package/dist/types/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +2 -1
- package/dist/types/link/LinkSearch/LinkSearchList.d.ts +3 -2
- package/dist/types/link/LinkSearch/LinkSearchListItem.d.ts +3 -2
- package/dist/types/link/LinkSearch/ToolbarComponents.d.ts +1 -1
- package/dist/types/link/LinkSearch/index.d.ts +2 -2
- package/dist/types/link/LinkSearch/transformTimeStamp.d.ts +1 -1
- package/dist/types/link/LinkSearch/types.d.ts +3 -3
- package/dist/types/link/LinkSearch/withActivityProvider.d.ts +2 -2
- package/dist/types/link/types.d.ts +3 -3
- package/dist/types/link/utils.d.ts +1 -1
- package/dist/types/mark/text-formatting.d.ts +2 -1
- package/dist/types/media-inline/styles.d.ts +1 -1
- package/dist/types/media-inline/views/wrapper.d.ts +1 -1
- package/dist/types/media-single/CommentBadge.d.ts +1 -5
- package/dist/types/media-single/ExternalImageBadge.d.ts +1 -1
- package/dist/types/media-single/MediaBadges.d.ts +2 -1
- package/dist/types/nesting/utilities.d.ts +1 -1
- package/dist/types/performance-ssr-measures/SSRRenderMeasure.d.ts +2 -1
- package/dist/types/portal/common.d.ts +1 -1
- package/dist/types/portal/usePortalProvider.d.ts +1 -1
- package/dist/types/preset/core-plugin/requestDocument.d.ts +1 -1
- package/dist/types/preset/plugin-injection-api.d.ts +1 -1
- package/dist/types/provider-factory/context.d.ts +1 -1
- package/dist/types/provider-factory/profile-card-provider.d.ts +1 -1
- package/dist/types/provider-factory/provider-factory.d.ts +1 -1
- package/dist/types/resizer/BreakoutResizer.d.ts +3 -3
- package/dist/types/resizer/useBreakoutGuidelines.d.ts +1 -1
- package/dist/types/safe-plugin/index.d.ts +1 -1
- package/dist/types/selection/context-helpers.d.ts +2 -2
- package/dist/types/selection/gap-cursor/styles.d.ts +1 -1
- package/dist/types/selection-based-node-view/SelectionBasedNodeView.d.ts +6 -5
- package/dist/types/styles/shared/blockquote.d.ts +1 -1
- package/dist/types/styles/shared/expand.d.ts +1 -1
- package/dist/types/styles/shared/headings.d.ts +2 -2
- package/dist/types/styles/shared/media-single.d.ts +1 -1
- package/dist/types/styles/shared/native-anchor.d.ts +2 -2
- package/dist/types/styles/shared/plugins.d.ts +1 -1
- package/dist/types/styles/shared/table.d.ts +1 -1
- package/dist/types/styles/shared/tableCell.d.ts +1 -1
- package/dist/types/sync-block/SyncBlockActionsContext.d.ts +2 -1
- package/dist/types/transforms/code-block.d.ts +1 -1
- package/dist/types/transforms/expand.d.ts +1 -1
- package/dist/types/transforms/layout.d.ts +2 -1
- package/dist/types/types/copy-button.d.ts +1 -1
- package/dist/types/types/plugin-factory.d.ts +1 -1
- package/dist/types/types/resizable-media-single.d.ts +1 -1
- package/dist/types/types/type-ahead.d.ts +1 -1
- package/dist/types/ugc-tokens/get-editor-ugc-token.d.ts +1 -1
- package/dist/types/ui/Emoji/index.d.ts +1 -1
- package/dist/types/ui/EventHandlers/index.d.ts +1 -1
- package/dist/types/ui/Expand/index.d.ts +2 -1
- package/dist/types/ui/FloatingToolbar/Button.d.ts +1 -1
- package/dist/types/ui/FloatingToolbar/ButtonSpotlightCard.d.ts +3 -2
- package/dist/types/ui/Layer/index.d.ts +3 -2
- package/dist/types/ui/MediaSingle/link.d.ts +1 -1
- package/dist/types/ui/MediaSingle/styled.d.ts +2 -1
- package/dist/types/ui/Mention/index.d.ts +2 -2
- package/dist/types/ui/MultiBodiedExtension/index.d.ts +1 -1
- package/dist/types/ui/PanelTextInput/styles.d.ts +1 -1
- package/dist/types/ui/Pulse/Pulse.d.ts +2 -1
- package/dist/types/ui/ResizerLegacy/styled.d.ts +2 -2
- package/dist/types/ui/ResizerLegacy/types.d.ts +3 -3
- package/dist/types/ui/TableSelector/index.d.ts +1 -1
- package/dist/types/ui/WidthProvider/index.d.ts +1 -1
- package/dist/types/ui/WithCreateAnalyticsEvent/index.d.ts +1 -1
- package/dist/types/ui/clear-next-sibling-margin-top.d.ts +1 -1
- package/dist/types/ui/unsupported-content-helper.d.ts +2 -2
- package/dist/types/ui-color/ColorPalette/Color/index.d.ts +2 -1
- package/dist/types/ui-color/ColorPalette/Color/styles.d.ts +1 -1
- package/dist/types/ui-color/ColorPalette/Palettes/borderColorPalette.d.ts +1 -1
- package/dist/types/ui-color/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +1 -1
- package/dist/types/ui-color/ColorPalette/Palettes/getColorMessage.d.ts +1 -1
- package/dist/types/ui-color/ColorPalette/Palettes/type.d.ts +2 -2
- package/dist/types/ui-color/ColorPalette/styles.d.ts +1 -1
- package/dist/types/ui-menu/ToolbarButton/index.d.ts +2 -2
- package/dist/types/ui-menu/ToolbarButton/styles.d.ts +1 -1
- package/dist/types/ui-react/ReactEditorViewContext.d.ts +1 -1
- package/dist/types/user-intent/UserIntentPopupWrapper.d.ts +1 -1
- package/dist/types/user-preferences/hooks.d.ts +1 -1
- package/dist/types/user-preferences/persistence-api.d.ts +1 -1
- package/dist/types/user-preferences/user-preferences-provider.d.ts +2 -2
- package/dist/types/user-preferences/utils.d.ts +1 -1
- package/dist/types/utils/browser.d.ts +1 -1
- package/dist/types/utils/commands.d.ts +4 -3
- package/dist/types/utils/compareNodes.d.ts +2 -2
- package/dist/types/utils/create-wrap-selection-transaction.d.ts +1 -1
- package/dist/types/utils/get-performance-options.d.ts +1 -1
- package/dist/types/utils/macro.d.ts +1 -1
- package/dist/types/utils/performance/hooks/use-component-render-tracking/index.d.ts +1 -1
- package/dist/types/utils/plugin-state-factory.d.ts +2 -2
- package/dist/types/utils/processRawValue.d.ts +2 -1
- package/dist/types/utils/unsupportedContent/types.d.ts +1 -1
- package/dist/types-ts4.5/analytics/analytics-queue.d.ts +1 -1
- package/dist/types-ts4.5/analytics/index.d.ts +1 -0
- package/dist/types-ts4.5/analytics/types/ai-command-palette-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/ai-definitions-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/ai-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/ai-inline-suggestion-events.d.ts +3 -3
- package/dist/types-ts4.5/analytics/types/ai-streaming.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/alignment-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/avatar.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/color-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/config-panel-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/datasource-clicked-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/date-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/dispatch-analytics-event.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/enums.d.ts +2 -1
- package/dist/types-ts4.5/analytics/types/insert-events.d.ts +2 -1
- package/dist/types-ts4.5/analytics/types/link-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/mention-events.d.ts +3 -3
- package/dist/types-ts4.5/analytics/types/native-embed-events.d.ts +7 -0
- package/dist/types-ts4.5/analytics/types/ncs-session-step-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/selection-toolbar-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/upload-media-events.d.ts +1 -1
- package/dist/types-ts4.5/card/MediaAndEmbedsToolbar/index.d.ts +1 -1
- package/dist/types-ts4.5/card/link-toolbar-button-group-options.d.ts +1 -1
- package/dist/types-ts4.5/card/link-toolbar-dropdown-options.d.ts +1 -1
- package/dist/types-ts4.5/card/types.d.ts +2 -2
- package/dist/types-ts4.5/code-block/index.d.ts +2 -2
- package/dist/types-ts4.5/collab/index.d.ts +2 -2
- package/dist/types-ts4.5/copy-button/index.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/ElementList/ElementList.d.ts +2 -1
- package/dist/types-ts4.5/element-browser/components/ElementSearch.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/hooks/use-focus.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/Extension/Extension/styles.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/Extension/InlineExtension/styles.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/Extension/Lozenge/ExtensionLabel.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/Extension/Lozenge/LozengeComponent.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/Extension/Lozenge/index.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/Extension/styles.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/Extension.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/MultiBodiedExtension/styles.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/extensionNodeView.d.ts +1 -1
- package/dist/types-ts4.5/extensions/extension-fields-helpers.d.ts +2 -2
- package/dist/types-ts4.5/extensions/types/extension-manifest-common.d.ts +1 -1
- package/dist/types-ts4.5/extensions/types/extension-provider.d.ts +2 -2
- package/dist/types-ts4.5/guideline/snapping.d.ts +1 -1
- package/dist/types-ts4.5/link/ConfigureLinkOverlay/Dropdown.d.ts +3 -7
- package/dist/types-ts4.5/link/ConfigureLinkOverlay/StyledButton.d.ts +1 -1
- package/dist/types-ts4.5/link/ConfigureLinkOverlay/handleNavigation.d.ts +3 -3
- package/dist/types-ts4.5/link/ConfigureLinkOverlay/index.d.ts +4 -8
- package/dist/types-ts4.5/link/LinkPicker/EditorLinkPicker/index.d.ts +1 -1
- package/dist/types-ts4.5/link/LinkPicker/EditorLinkPicker/useEscapeClickaway.d.ts +1 -1
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +2 -1
- package/dist/types-ts4.5/link/LinkSearch/LinkSearchList.d.ts +3 -2
- package/dist/types-ts4.5/link/LinkSearch/LinkSearchListItem.d.ts +3 -2
- package/dist/types-ts4.5/link/LinkSearch/ToolbarComponents.d.ts +1 -1
- package/dist/types-ts4.5/link/LinkSearch/index.d.ts +2 -2
- package/dist/types-ts4.5/link/LinkSearch/transformTimeStamp.d.ts +1 -1
- package/dist/types-ts4.5/link/LinkSearch/types.d.ts +3 -3
- package/dist/types-ts4.5/link/LinkSearch/withActivityProvider.d.ts +2 -2
- package/dist/types-ts4.5/link/types.d.ts +3 -3
- package/dist/types-ts4.5/link/utils.d.ts +1 -1
- package/dist/types-ts4.5/mark/text-formatting.d.ts +2 -1
- package/dist/types-ts4.5/media-inline/styles.d.ts +1 -1
- package/dist/types-ts4.5/media-inline/views/wrapper.d.ts +1 -1
- package/dist/types-ts4.5/media-single/CommentBadge.d.ts +1 -5
- package/dist/types-ts4.5/media-single/ExternalImageBadge.d.ts +1 -1
- package/dist/types-ts4.5/media-single/MediaBadges.d.ts +2 -1
- package/dist/types-ts4.5/nesting/utilities.d.ts +1 -1
- package/dist/types-ts4.5/performance-ssr-measures/SSRRenderMeasure.d.ts +2 -1
- package/dist/types-ts4.5/portal/common.d.ts +1 -1
- package/dist/types-ts4.5/portal/usePortalProvider.d.ts +1 -1
- package/dist/types-ts4.5/preset/core-plugin/requestDocument.d.ts +1 -1
- package/dist/types-ts4.5/preset/plugin-injection-api.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory/context.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory/profile-card-provider.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory/provider-factory.d.ts +1 -1
- package/dist/types-ts4.5/resizer/BreakoutResizer.d.ts +3 -3
- package/dist/types-ts4.5/resizer/useBreakoutGuidelines.d.ts +1 -1
- package/dist/types-ts4.5/safe-plugin/index.d.ts +1 -1
- package/dist/types-ts4.5/selection/context-helpers.d.ts +2 -2
- package/dist/types-ts4.5/selection/gap-cursor/styles.d.ts +1 -1
- package/dist/types-ts4.5/selection-based-node-view/SelectionBasedNodeView.d.ts +6 -5
- package/dist/types-ts4.5/styles/shared/blockquote.d.ts +1 -1
- package/dist/types-ts4.5/styles/shared/expand.d.ts +1 -1
- package/dist/types-ts4.5/styles/shared/headings.d.ts +2 -2
- package/dist/types-ts4.5/styles/shared/media-single.d.ts +1 -1
- package/dist/types-ts4.5/styles/shared/native-anchor.d.ts +2 -2
- package/dist/types-ts4.5/styles/shared/plugins.d.ts +1 -1
- package/dist/types-ts4.5/styles/shared/table.d.ts +1 -1
- package/dist/types-ts4.5/styles/shared/tableCell.d.ts +1 -1
- package/dist/types-ts4.5/sync-block/SyncBlockActionsContext.d.ts +2 -1
- package/dist/types-ts4.5/transforms/code-block.d.ts +1 -1
- package/dist/types-ts4.5/transforms/expand.d.ts +1 -1
- package/dist/types-ts4.5/transforms/layout.d.ts +2 -1
- package/dist/types-ts4.5/types/copy-button.d.ts +1 -1
- package/dist/types-ts4.5/types/plugin-factory.d.ts +1 -1
- package/dist/types-ts4.5/types/resizable-media-single.d.ts +1 -1
- package/dist/types-ts4.5/types/type-ahead.d.ts +1 -1
- package/dist/types-ts4.5/ugc-tokens/get-editor-ugc-token.d.ts +1 -1
- package/dist/types-ts4.5/ui/Emoji/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/EventHandlers/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/Expand/index.d.ts +2 -1
- package/dist/types-ts4.5/ui/FloatingToolbar/Button.d.ts +1 -1
- package/dist/types-ts4.5/ui/FloatingToolbar/ButtonSpotlightCard.d.ts +3 -2
- package/dist/types-ts4.5/ui/Layer/index.d.ts +3 -2
- package/dist/types-ts4.5/ui/MediaSingle/link.d.ts +1 -1
- package/dist/types-ts4.5/ui/MediaSingle/styled.d.ts +2 -1
- package/dist/types-ts4.5/ui/Mention/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/MultiBodiedExtension/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/PanelTextInput/styles.d.ts +1 -1
- package/dist/types-ts4.5/ui/Pulse/Pulse.d.ts +2 -1
- package/dist/types-ts4.5/ui/ResizerLegacy/styled.d.ts +2 -2
- package/dist/types-ts4.5/ui/ResizerLegacy/types.d.ts +3 -3
- package/dist/types-ts4.5/ui/TableSelector/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/WidthProvider/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/WithCreateAnalyticsEvent/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/clear-next-sibling-margin-top.d.ts +1 -1
- package/dist/types-ts4.5/ui/unsupported-content-helper.d.ts +2 -2
- package/dist/types-ts4.5/ui-color/ColorPalette/Color/index.d.ts +2 -1
- package/dist/types-ts4.5/ui-color/ColorPalette/Color/styles.d.ts +1 -1
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/borderColorPalette.d.ts +1 -1
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +1 -1
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/getColorMessage.d.ts +1 -1
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/type.d.ts +2 -2
- package/dist/types-ts4.5/ui-color/ColorPalette/styles.d.ts +1 -1
- package/dist/types-ts4.5/ui-menu/ToolbarButton/index.d.ts +2 -2
- package/dist/types-ts4.5/ui-menu/ToolbarButton/styles.d.ts +1 -1
- package/dist/types-ts4.5/ui-react/ReactEditorViewContext.d.ts +1 -1
- package/dist/types-ts4.5/user-intent/UserIntentPopupWrapper.d.ts +1 -1
- package/dist/types-ts4.5/user-preferences/hooks.d.ts +1 -1
- package/dist/types-ts4.5/user-preferences/persistence-api.d.ts +1 -1
- package/dist/types-ts4.5/user-preferences/user-preferences-provider.d.ts +2 -2
- package/dist/types-ts4.5/user-preferences/utils.d.ts +1 -1
- package/dist/types-ts4.5/utils/browser.d.ts +1 -1
- package/dist/types-ts4.5/utils/commands.d.ts +4 -3
- package/dist/types-ts4.5/utils/compareNodes.d.ts +2 -2
- package/dist/types-ts4.5/utils/create-wrap-selection-transaction.d.ts +1 -1
- package/dist/types-ts4.5/utils/get-performance-options.d.ts +1 -1
- package/dist/types-ts4.5/utils/macro.d.ts +1 -1
- package/dist/types-ts4.5/utils/performance/hooks/use-component-render-tracking/index.d.ts +1 -1
- package/dist/types-ts4.5/utils/plugin-state-factory.d.ts +2 -2
- package/dist/types-ts4.5/utils/processRawValue.d.ts +2 -1
- package/dist/types-ts4.5/utils/unsupportedContent/types.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import { Slice } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import type { EditorState, Selection } from '@atlaskit/editor-prosemirror/state';
|
|
4
|
-
import {
|
|
4
|
+
import type { ContentNodeWithPos } from '@atlaskit/editor-prosemirror/utils';
|
|
5
5
|
export declare const findExpand: (state: EditorState, selection?: Selection | null) => ContentNodeWithPos | undefined;
|
|
6
6
|
export declare const transformSliceToRemoveOpenExpand: (slice: Slice, schema: Schema) => Slice;
|
|
7
7
|
export declare const transformSliceToRemoveOpenNestedExpand: (slice: Slice, schema: Schema) => Slice;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Fragment,
|
|
1
|
+
import { Fragment, Slice } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
+
import type { Node, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
3
|
export declare function unwrapContentFromLayout(maybeLayoutSection: Node): Node | Node[];
|
|
3
4
|
export declare function removeLayoutFromFirstChild(node: Node, i: number): Node | Node[];
|
|
4
5
|
export declare function removeLayoutFromLastChild(node: Node, i: number, fragment: Fragment): Node | Node[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
2
|
import type { MarkType, NodeType } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
4
|
-
import {
|
|
4
|
+
import type { Command } from './command';
|
|
5
5
|
export type MarkOptions = {
|
|
6
6
|
formatMessage: IntlShape['formatMessage'];
|
|
7
7
|
markType: MarkType;
|
|
@@ -2,7 +2,7 @@ import type { IntlShape } from 'react-intl-next';
|
|
|
2
2
|
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import type { DispatchAnalyticsEvent } from '../analytics/types/dispatch-analytics-event';
|
|
4
4
|
import type { Dispatch, EventDispatcher } from '../event-dispatcher';
|
|
5
|
-
import {
|
|
5
|
+
import type { PortalProviderAPI } from '../portal';
|
|
6
6
|
import type { ProviderFactory } from '../provider-factory';
|
|
7
7
|
import type { SafePlugin } from '../safe-plugin';
|
|
8
8
|
import type { ErrorReporter } from '../utils';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactElement, ReactNode } from 'react';
|
|
2
2
|
import type { IntlShape } from 'react-intl-next';
|
|
3
|
-
import {
|
|
3
|
+
import type { Fragment, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
4
4
|
import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
5
5
|
import type { TypeAheadPayload } from '../analytics/types/type-ahead';
|
|
6
6
|
import type { SelectItemMode, TypeAheadAvailableNodes } from '../type-ahead';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { EmojiProvider, EmojiResourceConfig } from '@atlaskit/emoji/resource';
|
|
3
3
|
import type { EmojiId } from '@atlaskit/emoji/types';
|
|
4
|
-
import {
|
|
4
|
+
import type { ProviderFactory } from '../../provider-factory';
|
|
5
5
|
export interface EmojiProps extends EmojiId {
|
|
6
6
|
allowTextFallback?: boolean;
|
|
7
7
|
emojiProvider?: EmojiProvider;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { TooltipProps } from '@atlaskit/tooltip';
|
|
3
3
|
import type { ButtonAppearance } from '../../types';
|
|
4
4
|
import type { FloatingToolbarButtonSpotlightConfig } from '../../types/floating-toolbar';
|
|
5
5
|
export interface Props {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import React
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ComponentProps } from 'react';
|
|
2
3
|
import { SpotlightCard } from '@atlaskit/onboarding';
|
|
3
|
-
import {
|
|
4
|
+
import type { Placement } from '@atlaskit/popper';
|
|
4
5
|
type PropsFromSpotlightCard = ComponentProps<typeof SpotlightCard>;
|
|
5
6
|
export type ButtonSpotlightCardProps = PropsFromSpotlightCard & {
|
|
6
7
|
placement?: Placement;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import React, { Component
|
|
2
|
-
import {
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
import type { Data } from 'popper.js';
|
|
3
4
|
export type Props = {
|
|
4
5
|
children?: React.ReactNode;
|
|
5
6
|
content: ReactNode | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SerializedStyles } from '@emotion/react';
|
|
2
2
|
export declare const mediaLinkStyle: SerializedStyles;
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { RefObject } from 'react';
|
|
6
6
|
import React from 'react';
|
|
7
|
-
import { jsx
|
|
7
|
+
import { jsx } from '@emotion/react';
|
|
8
|
+
import type { SerializedStyles } from '@emotion/react';
|
|
8
9
|
import type { RichMediaLayout as MediaSingleLayout } from '@atlaskit/adf-schema';
|
|
9
10
|
/**
|
|
10
11
|
* Calculates the image width for non-resized images.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { PureComponent } from 'react';
|
|
2
2
|
import { ProviderFactory } from '../../provider-factory';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import type { ProfilecardProvider } from '../../provider-factory/profile-card-provider';
|
|
4
|
+
import type { MentionEventHandlers } from '../EventHandlers';
|
|
5
5
|
export interface MentionProps {
|
|
6
6
|
accessLevel?: string;
|
|
7
7
|
eventHandlers?: MentionEventHandlers;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import type { SerializedStyles } from '@emotion/react';
|
|
6
6
|
export declare const removeMarginsAndBorder: SerializedStyles;
|
|
7
7
|
export declare const sharedMultiBodiedExtensionStyles: {
|
|
8
8
|
mbeExtensionContainer: SerializedStyles;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { SerializedStyles } from '@emotion/react';
|
|
2
|
+
import type { MediaSingleWrapperProps as MediaSingleDimensionHelperProps } from '../MediaSingle/styled';
|
|
3
3
|
export declare const wrapperStyle: (props: MediaSingleDimensionHelperProps) => SerializedStyles;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { RichMediaLayout } from '@atlaskit/adf-schema';
|
|
2
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
|
+
import type { MediaClientConfig } from '@atlaskit/media-core';
|
|
4
4
|
import type { DispatchAnalyticsEvent } from '../../analytics';
|
|
5
5
|
import type { getPosHandler } from '../../react-node-view';
|
|
6
6
|
import type { GridType } from '../../types';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import type { SyntheticEvent } from 'react';
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
7
|
export interface OnTableSizeSelection {
|
|
8
8
|
(rowsCount: number, colsCount: number, event?: SyntheticEvent): void;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
|
-
import {
|
|
7
|
+
import type { MemoizedFn } from 'memoize-one';
|
|
8
8
|
export type Breakpoints = 'S' | 'M' | 'L';
|
|
9
9
|
export type WidthConsumerContext = {
|
|
10
10
|
breakpoint: Breakpoints;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
export type Props = {
|
|
4
4
|
render: (createAnalyticsEvent?: CreateUIAnalyticsEvent) => React.ReactNode;
|
|
5
5
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { IntlShape } from 'react-intl-next';
|
|
2
|
+
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
export declare function getUnsupportedContent(message: any, prefix: string, node?: PMNode, intl?: IntlShape): any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SerializedStyles } from '@emotion/react';
|
|
2
2
|
/** this is not new usage - old code extracted from editor-core */
|
|
3
3
|
export declare const buttonStyle: SerializedStyles;
|
|
4
4
|
/** this is not new usage - old code extracted from editor-core */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { MessageDescriptor } from 'react-intl-next';
|
|
2
2
|
export default function getColorMessage(messages: Record<string | number, MessageDescriptor>, color: string): MessageDescriptor | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { MessageDescriptor } from 'react-intl-next';
|
|
3
3
|
export interface PaletteColor {
|
|
4
4
|
border: string;
|
|
5
5
|
decorator?: ReactElement;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SerializedStyles } from '@emotion/react';
|
|
2
2
|
export declare const colorPaletteWrapper: SerializedStyles;
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import type { ButtonProps } from '@atlaskit/button/types';
|
|
7
7
|
import type { PositionType } from '@atlaskit/tooltip';
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
8
|
+
import type { TOOLBAR_ACTION_SUBJECT_ID } from '../../analytics';
|
|
9
|
+
import type { Keymap } from '../../keymaps';
|
|
10
10
|
import type { MenuItem } from '../DropdownMenu/types';
|
|
11
11
|
export type Props = {
|
|
12
12
|
'aria-expanded'?: React.AriaAttributes['aria-expanded'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { ButtonProps } from '@atlaskit/button/standard-button';
|
|
3
3
|
declare const _default_1: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLElement>>;
|
|
4
4
|
export default _default_1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
3
|
type ReactEditorViewContextProps = {
|
|
4
4
|
editorRef?: React.RefObject<HTMLDivElement>;
|
|
5
5
|
editorView?: EditorView;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { PersistenceAPI } from './persistence-api';
|
|
2
|
+
import type { ResolvedUserPreferences, UserPreferences } from './user-preferences';
|
|
3
3
|
type UpdateCallback = (userPreferences: UserPreferences) => void;
|
|
4
4
|
/**
|
|
5
5
|
* This class is used to manage user preferences in the editor.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ResolvedUserPreferences, UserPreferences } from './user-preferences';
|
|
2
2
|
export declare const mergeUserPreferences: (userPreferences: UserPreferences, defaultPreferences: ResolvedUserPreferences) => ResolvedUserPreferences;
|
|
3
3
|
/**
|
|
4
4
|
* Compare two user preferences objects
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Fragment
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
+
import type { Node as PMNode, ResolvedPos } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
+
import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
4
|
+
import type { EditorAnalyticsAPI } from '../analytics';
|
|
4
5
|
import type { Command, Predicate } from '../types';
|
|
5
6
|
export type WalkNode = {
|
|
6
7
|
$pos: ResolvedPos;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { CardAttributes } from '@atlaskit/adf-schema';
|
|
2
|
+
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
import { SortOrder } from '../types';
|
|
4
4
|
export declare enum ContentType {
|
|
5
5
|
NUMBER = 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NodeType } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import {
|
|
2
|
+
import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
3
3
|
/**
|
|
4
4
|
* This function creates a new transaction that wraps the current selection
|
|
5
5
|
* in the specified node type if it results in a valid transaction.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
2
|
-
import {
|
|
2
|
+
import type { AnalyticsEventPayload } from '../analytics';
|
|
3
3
|
export declare function getPerformanceOptions(view: EditorView): {
|
|
4
4
|
samplingRate: number;
|
|
5
5
|
slowThreshold: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { PropsDifference, ShallowPropsDifference } from '../../../compare-props';
|
|
2
2
|
type PropsDiff<Props> = ShallowPropsDifference<Props> | PropsDifference<Props>;
|
|
3
3
|
type OnRenderCb<Props = undefined> = ({ renderCount, propsDifference, }: {
|
|
4
4
|
componentId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { EditorState, PluginKey, ReadonlyTransaction, SafeStateField, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { Dispatch } from '../event-dispatcher';
|
|
3
|
+
import type { Command } from '../types';
|
|
4
4
|
export type Reducer<PluginState, Action> = (state: PluginState, action: Action) => PluginState;
|
|
5
5
|
type MapState<PluginState> = (tr: ReadonlyTransaction, pluginState: PluginState, editorState: EditorState) => PluginState;
|
|
6
6
|
type SafePlugin<PluginState, Action, InitialState extends PluginState> = {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { Fragment, Node
|
|
1
|
+
import { Fragment, Node } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
+
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
3
|
import type { DispatchAnalyticsEvent } from '../analytics';
|
|
3
4
|
import type { ProviderFactory } from '../provider-factory';
|
|
4
5
|
import type { ReplaceRawValue, Transformer } from '../types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '../../analytics';
|
|
2
2
|
type AEP<Action, ActionSubject, ActionSubjectID, Attributes, EventType> = {
|
|
3
3
|
action: Action;
|
|
4
4
|
actionSubject: ActionSubject;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "112.11.
|
|
3
|
+
"version": "112.11.3",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@atlaskit/status": "^3.1.0",
|
|
82
82
|
"@atlaskit/task-decision": "^19.3.0",
|
|
83
83
|
"@atlaskit/textfield": "^8.2.0",
|
|
84
|
-
"@atlaskit/tmp-editor-statsig": "^48.
|
|
84
|
+
"@atlaskit/tmp-editor-statsig": "^48.1.0",
|
|
85
85
|
"@atlaskit/tokens": "^11.3.0",
|
|
86
86
|
"@atlaskit/tooltip": "^21.0.0",
|
|
87
87
|
"@atlaskit/width-detector": "^5.0.0",
|