@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,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
4
|
import { blockNodesVerticalMargin } from '@atlaskit/editor-shared-styles';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
4
5
|
/* eslint-disable @atlaskit/ui-styling-standard/no-imported-style-values */
|
|
5
6
|
/* eslint-disable @atlaskit/ui-styling-standard/no-unsafe-values */
|
|
6
7
|
/* eslint-disable @atlaskit/ui-styling-standard/no-nested-selectors */
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
2
3
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
4
|
import { css } from '@emotion/react';
|
|
4
5
|
import { akEditorWrappedNodeZIndex } from '@atlaskit/editor-shared-styles';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
4
|
import memoizeOne from 'memoize-one';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
4
|
/**
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
2
|
var _templateObject, _templateObject2, _templateObject3;
|
|
3
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
3
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
5
|
import { css } from '@emotion/react';
|
|
5
6
|
import { tableCellContentDomSelector, tableCellSelector, tableHeaderSelector, tablePrefixSelector } from '@atlaskit/adf-schema';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
2
3
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
4
|
import { css } from '@emotion/react';
|
|
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "112.11.
|
|
24
|
+
var packageVersion = "112.11.2";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["children"];
|
|
4
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
4
5
|
/**
|
|
5
6
|
* @jsxRuntime classic
|
|
6
7
|
* @jsx jsx
|
|
@@ -9,6 +9,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
9
9
|
import React, { forwardRef, useCallback, useEffect, useState } from 'react';
|
|
10
10
|
import Button from '@atlaskit/button/custom-theme-button';
|
|
11
11
|
import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
12
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
12
13
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
13
14
|
import Tooltip from '@atlaskit/tooltip';
|
|
14
15
|
import { Pulse } from '../Pulse/Pulse';
|
|
@@ -87,8 +88,8 @@ var FloatingToolbarButton = function FloatingToolbarButton(_ref, forwardedRef) {
|
|
|
87
88
|
hideTooltipOnClick: hideTooltipOnClick,
|
|
88
89
|
position: "top"
|
|
89
90
|
}, /*#__PURE__*/React.createElement("div", {
|
|
90
|
-
onMouseEnter: onMouseEnter,
|
|
91
|
-
onMouseLeave: onMouseLeave
|
|
91
|
+
onMouseEnter: expValEquals('editor_a11y__enghealth-46814_fy26', 'isEnabled', true) ? undefined : onMouseEnter,
|
|
92
|
+
onMouseLeave: expValEquals('editor_a11y__enghealth-46814_fy26', 'isEnabled', true) ? undefined : onMouseLeave
|
|
92
93
|
}, /*#__PURE__*/React.createElement(Pulse, {
|
|
93
94
|
pulse: pulse || (spotlightConfig === null || spotlightConfig === void 0 ? void 0 : spotlightConfig.pulse)
|
|
94
95
|
}, /*#__PURE__*/React.createElement(Button
|
|
@@ -140,6 +141,8 @@ var FloatingToolbarButton = function FloatingToolbarButton(_ref, forwardedRef) {
|
|
|
140
141
|
isDisabled: disabled,
|
|
141
142
|
testId: testId,
|
|
142
143
|
interactionName: interactionName,
|
|
144
|
+
onMouseEnter: expValEquals('editor_a11y__enghealth-46814_fy26', 'isEnabled', true) ? onMouseEnter : undefined,
|
|
145
|
+
onMouseLeave: expValEquals('editor_a11y__enghealth-46814_fy26', 'isEnabled', true) ? onMouseLeave : undefined,
|
|
143
146
|
onFocus: onFocus,
|
|
144
147
|
onBlur: onBlur
|
|
145
148
|
// @ts-ignore
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
2
2
|
var _excluded = ["referenceElement", "placement"];
|
|
3
3
|
import React from 'react';
|
|
4
|
-
|
|
5
4
|
// eslint-disable-next-line @atlaskit/design-system/use-spotlight-package
|
|
6
5
|
import { SpotlightCard } from '@atlaskit/onboarding';
|
|
7
6
|
import { Popper } from '@atlaskit/popper';
|
|
@@ -208,17 +208,19 @@ var HoverLinkOverlay = function HoverLinkOverlay(_ref) {
|
|
|
208
208
|
return jsx("span", {
|
|
209
209
|
ref: containerRef,
|
|
210
210
|
css: containerStyles,
|
|
211
|
-
onDoubleClick: handleDoubleClick
|
|
212
|
-
// eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
|
|
213
|
-
,
|
|
211
|
+
onDoubleClick: handleDoubleClick,
|
|
214
212
|
onMouseEnter: function onMouseEnter() {
|
|
215
213
|
return handleOverlayChange(true);
|
|
216
|
-
}
|
|
217
|
-
// eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
|
|
218
|
-
,
|
|
214
|
+
},
|
|
219
215
|
onMouseLeave: function onMouseLeave() {
|
|
220
216
|
return handleOverlayChange(false);
|
|
221
217
|
}
|
|
218
|
+
// No-op focus/blur handlers to satisfy a11y/mouse-events-have-key-events rule.
|
|
219
|
+
// The hover overlay is a mouse convenience — keyboard users can access link actions
|
|
220
|
+
// (open, preview) via the floating toolbar that appears on selection.
|
|
221
|
+
,
|
|
222
|
+
onFocus: expValEquals('editor_a11y__enghealth-46814_fy26', 'isEnabled', true) ? function () {} : undefined,
|
|
223
|
+
onBlur: expValEquals('editor_a11y__enghealth-46814_fy26', 'isEnabled', true) ? function () {} : undefined
|
|
222
224
|
}, children, jsx("span", {
|
|
223
225
|
css: hiddenTextStyle,
|
|
224
226
|
"aria-hidden": "true"
|
|
@@ -9,7 +9,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
9
9
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
10
10
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
11
11
|
import React, { Component } from 'react';
|
|
12
|
-
import Popper from 'popper.js';
|
|
12
|
+
import Popper from 'popper.js';
|
|
13
|
+
// eslint-disable-line import/extensions
|
|
13
14
|
import rafSchedule from 'raf-schd';
|
|
14
15
|
import { positionPropToPopperPosition } from './internal/helpers';
|
|
15
16
|
var defaultState = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
|
-
|
|
4
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
5
5
|
export var mediaLinkStyle = css({
|
|
6
6
|
position: 'absolute',
|
|
@@ -2,6 +2,7 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
2
2
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
3
3
|
var _excluded = ["children"];
|
|
4
4
|
var _templateObject, _templateObject2, _templateObject3;
|
|
5
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
5
6
|
/**
|
|
6
7
|
* @jsxRuntime classic
|
|
7
8
|
* @jsx jsx
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
4
|
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
2
|
var _templateObject;
|
|
3
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
3
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
5
|
import { css } from '@emotion/react';
|
|
5
6
|
import { MediaSingleDimensionHelper } from '../MediaSingle/styled';
|
|
6
|
-
|
|
7
7
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation
|
|
8
8
|
export var wrapperStyle = function wrapperStyle(props) {
|
|
9
9
|
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t& > div {\n\t\t", ";\n\t\tposition: relative;\n\t\tclear: both;\n\n\t\t> div {\n\t\t\tposition: absolute;\n\t\t\theight: 100%;\n\t\t\twidth: 100%;\n\t\t}\n\t}\n"])), MediaSingleDimensionHelper(props));
|
|
@@ -8,7 +8,6 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
11
|
-
|
|
12
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
13
12
|
import { css, jsx } from '@emotion/react';
|
|
14
13
|
import { bind } from 'bind-event-listener';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
2
3
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
4
|
import { css } from '@emotion/react';
|
|
4
|
-
|
|
5
5
|
// We use !important to ensure next sibling gets the margin reset no matter what
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
|
|
7
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
8
7
|
import { jsx } from '@emotion/react';
|
|
9
8
|
import EditorDoneIcon from '@atlaskit/icon/core/check-mark';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
4
|
/** this is not new usage - old code extracted from editor-core */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -8,6 +8,7 @@ export { PUNC, SYMBOL } from './types/substitute-events';
|
|
|
8
8
|
export { BROWSER_FREEZE_INTERACTION_TYPE, FULL_WIDTH_MODE, MODE, PLATFORMS, } from './types/general-events';
|
|
9
9
|
export { LINK_REPRESENTATION, LINK_RESOURCE, LINK_STATUS, USER_CONTEXT, } from './types/insert-events';
|
|
10
10
|
export type { InputMethodInsertLink, InputMethodInsertMedia, InsertMediaVia, InsertEventPayload, } from './types/insert-events';
|
|
11
|
+
export type { InputMethodInsertNativeEmbed, InsertNativeEmbedAEP } from './types/native-embed-events';
|
|
11
12
|
export { CHANGE_ALIGNMENT_REASON, TABLE_ACTION, TABLE_BREAKOUT, TABLE_OVERFLOW_CHANGE_TRIGGER, TABLE_STATUS, TABLE_DISPLAY_MODE, } from './types/table-events';
|
|
12
13
|
export type { TableEventPayload, OverflowStateInfo } from './types/table-events';
|
|
13
14
|
export { PasteContents, PasteSources, PasteTypes } from './types/paste-events';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
|
+
import type { UIAEP } from './utils';
|
|
3
3
|
type PromptMentionButtonClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BUTTON, ACTION_SUBJECT_ID.AI_PROMPT_MENTION_BUTTON, {
|
|
4
4
|
promptType: 'user-input' | 'interrogate';
|
|
5
5
|
}, undefined>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
|
+
import type { OperationalAEP, UIAEP } from './utils';
|
|
3
3
|
type CommonAttributes = {
|
|
4
4
|
readingAidsSessionId: string;
|
|
5
5
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
2
|
import type { OperationalAEP } from './utils';
|
|
3
3
|
type AIUnhandledErrorCaughtAEP = OperationalAEP<ACTION.UNHANDLED_ERROR_CAUGHT, ACTION_SUBJECT.EDITOR_PLUGIN_AI, ACTION_SUBJECT_ID.EXPERIENCE_APPLICATION, {
|
|
4
4
|
componentStack: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
|
+
import type { InsertDateAEP } from './insert-events';
|
|
3
|
+
import type { TrackAEP } from './utils';
|
|
4
4
|
export declare enum AI_SUGGESTION_TRIGGERED_FROM {
|
|
5
5
|
ENTER_BUTTON = "enterKeydown",
|
|
6
6
|
TAB_BUTTON = "tabKeydown",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
2
|
import type { OperationalAEP, UIAEP } from './utils';
|
|
3
3
|
type AILocalIdNotFoundErrorAEP = OperationalAEP<ACTION.LOCAL_ID_NOT_FOUND, ACTION_SUBJECT.AI_STREAMING, ACTION_SUBJECT_ID.EXPERIENCE_APPLICATION, {
|
|
4
4
|
docSize: number | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ACTION, ACTION_SUBJECT, INPUT_METHOD, ACTION_SUBJECT_ID } from './enums';
|
|
2
|
+
import type { TrackAEP } from './utils';
|
|
3
3
|
type AlignmentUpdatedAEP = TrackAEP<ACTION.UPDATED, ACTION_SUBJECT.ALIGNMENT, ACTION_SUBJECT_ID, {
|
|
4
4
|
alignmentType?: 'start' | 'end' | 'center';
|
|
5
5
|
inputMethod?: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB | INPUT_METHOD.SHORTCUT;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
|
+
import type { UIAEP } from './utils';
|
|
3
3
|
type AvatarButtonViewedAEP = UIAEP<ACTION.VIEWED, ACTION_SUBJECT.BUTTON, ACTION_SUBJECT_ID.AVATAR_GROUP_PLUGIN, Object, undefined>;
|
|
4
4
|
export type AvatarEventPayload = AvatarButtonViewedAEP;
|
|
5
5
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
|
+
import type { TrackAEP } from './utils';
|
|
3
3
|
export interface TextColorShowPaletteToggleAttr {
|
|
4
4
|
noSelect: boolean;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ACTION, ACTION_SUBJECT } from './enums';
|
|
2
|
+
import type { UIAEP } from './utils';
|
|
3
3
|
type OpenAEP = UIAEP<ACTION.OPENED, ACTION_SUBJECT.CONFIG_PANEL, undefined, {
|
|
4
4
|
extensionKey?: string;
|
|
5
5
|
extensionType?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from './enums';
|
|
2
2
|
export type DatasourceClickedPayload = {
|
|
3
3
|
action: ACTION.CLICKED;
|
|
4
4
|
actionSubject: ACTION_SUBJECT.BUTTON;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
|
|
2
|
+
import type { TrackAEP } from './utils';
|
|
3
3
|
type TypeDateStartedAEP = TrackAEP<ACTION.TYPING_STARTED, ACTION_SUBJECT.DATE, undefined, undefined, undefined>;
|
|
4
4
|
type TypeDateFinishedAEP = TrackAEP<ACTION.TYPING_FINISHED, ACTION_SUBJECT.DATE, undefined, undefined, undefined>;
|
|
5
5
|
type IncrementDateSegmentAEP = TrackAEP<ACTION.INCREMENTED, ACTION_SUBJECT.DATE_SEGMENT, undefined, {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { AnalyticsEventPayload } from './events';
|
|
2
2
|
export type DispatchAnalyticsEvent = (payload: AnalyticsEventPayload) => void;
|
|
@@ -563,7 +563,8 @@ export declare enum ACTION_SUBJECT_ID {
|
|
|
563
563
|
SYNCED_BLOCK_CLICK_SYNCED_LOCATION = "syncedBlockClickSyncedLocation",
|
|
564
564
|
SYNCED_BLOCK_LABEL = "syncedBlockLabel",
|
|
565
565
|
SYNCED_BLOCK_SSR_ERROR = "syncedBlockSSRError",
|
|
566
|
-
TABLE_STICKY_HEADER = "tableStickyHeader"
|
|
566
|
+
TABLE_STICKY_HEADER = "tableStickyHeader",
|
|
567
|
+
NATIVE_EMBED = "nativeEmbed"
|
|
567
568
|
}
|
|
568
569
|
export declare enum FLOATING_CONTROLS_TITLE {
|
|
569
570
|
CODE_BLOCK = "codeBlockFloatingControls",
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ExtensionLayout, PanelType } from '@atlaskit/adf-schema';
|
|
2
2
|
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD, INSERT_MEDIA_VIA } from './enums';
|
|
3
|
+
import type { InsertNativeEmbedAEP } from './native-embed-events';
|
|
3
4
|
import type { InsertSmartLinkAEP } from './smart-links';
|
|
4
5
|
import type { InsertAEP, TrackAEP, OperationalAEP } from './utils';
|
|
5
6
|
export declare enum USER_CONTEXT {
|
|
@@ -149,5 +150,5 @@ type InsertReferenceSyncedBlockPayload = InsertAEP<ACTION_SUBJECT_ID.SYNCED_BLOC
|
|
|
149
150
|
export type InsertSourceSyncedBlockPayload = InsertAEP<ACTION_SUBJECT_ID.BODIED_SYNCED_BLOCK, {
|
|
150
151
|
resourceId: string;
|
|
151
152
|
}, undefined>;
|
|
152
|
-
export type InsertEventPayload = InsertDividerAEP | InsertLineBreakAEP | InsertPanelAEP | InsertCodeBlockAEP | InsertTableAEP | InsertExpandAEP | InsertActionDecisionAEP | InsertEmojiAEP | InsertStatusAEP | InsertMediaSingleAEP | InsertMediaGroupAEP | InsertMediaInlineAEP | InsertLinkAEP | InsertLinkPreviewAEP | InsertMediaLinkAEP | InsertSmartLinkAEP | InsertLayoutAEP | InsertExtensionAEP | InsertNodeViaExtensionAPIAEP | InsertDateAEP | InsertPlaceholderTextAEP | FailedToInsertMediaPayload | InsertReferenceSyncedBlockPayload | InsertSourceSyncedBlockPayload;
|
|
153
|
+
export type InsertEventPayload = InsertDividerAEP | InsertLineBreakAEP | InsertPanelAEP | InsertCodeBlockAEP | InsertTableAEP | InsertExpandAEP | InsertActionDecisionAEP | InsertEmojiAEP | InsertStatusAEP | InsertMediaSingleAEP | InsertMediaGroupAEP | InsertMediaInlineAEP | InsertLinkAEP | InsertLinkPreviewAEP | InsertMediaLinkAEP | InsertSmartLinkAEP | InsertLayoutAEP | InsertExtensionAEP | InsertNodeViaExtensionAPIAEP | InsertDateAEP | InsertPlaceholderTextAEP | InsertNativeEmbedAEP | FailedToInsertMediaPayload | InsertReferenceSyncedBlockPayload | InsertSourceSyncedBlockPayload;
|
|
153
154
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ACTION, ACTION_SUBJECT } from './enums';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { MODE, PLATFORMS } from './general-events';
|
|
3
|
+
import type { TrackAEP } from './utils';
|
|
4
4
|
export type VisitedLinkAEP = TrackAEP<ACTION.VISITED, ACTION_SUBJECT.LINK, undefined, {
|
|
5
5
|
mode: MODE;
|
|
6
6
|
platform: PLATFORMS;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { ComponentNames, Actions as MentionActions, SliNames } from '@atlaskit/mention/types';
|
|
2
|
+
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
3
|
+
import type { OperationalAEP, UIAEP } from './utils';
|
|
4
4
|
type MentionTypeaheadCancelledEventPayload = UIAEP<ACTION.CANCELLED, ACTION_SUBJECT.MENTION_TYPEAHEAD, undefined, {
|
|
5
5
|
componentName: string;
|
|
6
6
|
downKeyCount: number;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
|
|
2
|
+
import type { InsertAEP } from './utils';
|
|
3
|
+
export type InputMethodInsertNativeEmbed = INPUT_METHOD.CLIPBOARD | INPUT_METHOD.AUTO_DETECT | INPUT_METHOD.TYPEAHEAD | INPUT_METHOD.MANUAL | INPUT_METHOD.FORMATTING | INPUT_METHOD.FLOATING_TB;
|
|
4
|
+
export type InsertNativeEmbedAEP = InsertAEP<ACTION_SUBJECT_ID.NATIVE_EMBED, {
|
|
5
|
+
inputMethod: InputMethodInsertNativeEmbed;
|
|
6
|
+
insertedCount: number;
|
|
7
|
+
}, undefined>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
|
+
import type { TrackAEP, OperationalAEP } from './utils';
|
|
3
3
|
export type UserPreferencesInitialisedAEP = OperationalAEP<ACTION.INITIALISED, ACTION_SUBJECT.USER_PREFERENCES, ACTION_SUBJECT_ID.SELECTION_TOOLBAR_PREFERENCES, {
|
|
4
4
|
toolbarDocking: string | null;
|
|
5
5
|
}>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
|
|
2
2
|
import type { OperationalAEP } from './utils';
|
|
3
3
|
type MediaUploadAEP<Action, Attributes> = OperationalAEP<Action, ACTION_SUBJECT.MEDIA, ACTION_SUBJECT_ID.UPLOAD_MEDIA, Attributes>;
|
|
4
4
|
type SourceAttrs = {
|
|
@@ -3,7 +3,7 @@ import type { RichMediaLayout as MediaSingleLayout } from '@atlaskit/adf-schema'
|
|
|
3
3
|
import type { NodeType } from '@atlaskit/editor-prosemirror/model';
|
|
4
4
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
5
5
|
import type { EditorAnalyticsAPI } from '../../analytics';
|
|
6
|
-
import {
|
|
6
|
+
import type { Keymap } from '../../keymaps';
|
|
7
7
|
import type { Command, EditorContainerWidth, FloatingToolbarItem, Icon, NextEditorPlugin, PluginDependenciesAPI } from '../../types';
|
|
8
8
|
type WidthPluginType = NextEditorPlugin<'width', {
|
|
9
9
|
sharedState: EditorContainerWidth | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IntlShape } from 'react-intl-next';
|
|
2
2
|
import type { Command, DropdownOptionT } from '../types';
|
|
3
3
|
import type { OptionConfig } from './types';
|
|
4
4
|
export declare const getDropdownOption: (intl: IntlShape, dispatchCommand: (command: Command) => void, { disabled, onClick, selected, appearance, testId, tooltip, description }: OptionConfig) => DropdownOptionT<Function>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { IntlShape } from 'react-intl-next';
|
|
2
2
|
import type { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
3
3
|
import type { Node, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
4
4
|
import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
5
5
|
import type { ACTION, EditorAnalyticsAPI, INPUT_METHOD } from '../analytics';
|
|
6
|
-
import {
|
|
6
|
+
import type { CardAppearance, CardProvider } from '../provider-factory';
|
|
7
7
|
import type { Command, FloatingToolbarItem } from '../types';
|
|
8
8
|
export interface OptionConfig {
|
|
9
9
|
appearance?: CardAppearance;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Node as PmNode } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
+
import type { NodeWithPos } from '@atlaskit/editor-prosemirror/utils';
|
|
4
4
|
export declare const defaultWordWrapState = false;
|
|
5
5
|
export declare const codeBlockWrappedStates: WeakMap<PmNode, boolean | undefined>;
|
|
6
6
|
export interface FoldRange {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import type { SerializedStyles } from '@emotion/react';
|
|
3
|
+
import type { BatchAttrsStep, OverrideDocumentStepJSON as OverrideDocumentStep } from '@atlaskit/adf-schema/steps';
|
|
4
4
|
import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
|
|
5
5
|
import type { Node as PMNode, Slice } from '@atlaskit/editor-prosemirror/model';
|
|
6
6
|
import type { EditorState, ReadonlyTransaction, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { NodeType, Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import type { Transaction, Selection } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
-
import {
|
|
3
|
+
import type { ContentNodeWithPos } from '@atlaskit/editor-prosemirror/utils';
|
|
4
4
|
export declare function getSelectedNodeOrNodeParentByNodeType({ nodeType, selection, }: {
|
|
5
5
|
nodeType: NodeType | Array<NodeType>;
|
|
6
6
|
selection: Transaction['selection'];
|
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import { jsx
|
|
6
|
+
import { jsx } from '@emotion/react';
|
|
7
|
+
import type { SerializedStyles } from '@emotion/react';
|
|
7
8
|
import { CellMeasurerCache } from 'react-virtualized/dist/commonjs/CellMeasurer';
|
|
8
9
|
import type { WithAnalyticsEventsProps, WithContextProps } from '@atlaskit/analytics-next';
|
|
9
10
|
import type { QuickInsertItem } from '../../../provider-factory';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import type { WrappedComponentProps } from 'react-intl-next';
|
|
7
|
-
import {
|
|
7
|
+
import type { WithContextProps } from '@atlaskit/analytics-next/withAnalyticsContext';
|
|
8
8
|
import type { QuickInsertItem } from '../../provider-factory';
|
|
9
9
|
import { Modes } from '../types';
|
|
10
10
|
interface Props {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SerializedStyles } from '@emotion/react';
|
|
2
2
|
export declare const widerLayoutClassName = "wider-layout";
|
|
3
3
|
export declare const wrapperStyleInheritedCursor: SerializedStyles;
|
|
4
4
|
export declare const header: SerializedStyles;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SerializedStyles } from '@emotion/react';
|
|
2
2
|
export declare const wrapperStyle: SerializedStyles;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { CSSProperties } from 'react';
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
|
-
import {
|
|
7
|
+
import type { ExtensionsPluginInjectionAPI } from '../../types';
|
|
8
8
|
export declare const getShouldShowBodiedMacroLabel: (isBodiedMacro: boolean | undefined, isNodeHovered: boolean | undefined, showLivePagesBodiedMacrosRendererView: boolean | undefined, showBodiedExtensionRendererView: boolean | undefined, showUpdatedLivePages1PBodiedExtensionUI: boolean | undefined) => boolean | undefined;
|
|
9
9
|
type ExtensionLabelProps = {
|
|
10
10
|
customContainerStyles?: CSSProperties;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import type { CSSProperties } from 'react';
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
|
-
import {
|
|
7
|
+
import type { ExtensionsPluginInjectionAPI } from '../../types';
|
|
8
8
|
import type { LozengeData } from './index';
|
|
9
9
|
export declare const ICON_SIZE = 24;
|
|
10
10
|
type LozengeComponentProps = {
|
|
@@ -6,7 +6,7 @@ import { Component } from 'react';
|
|
|
6
6
|
import type { CSSProperties } from 'react';
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
8
|
import type { Node as PmNode } from '@atlaskit/editor-prosemirror/model';
|
|
9
|
-
import {
|
|
9
|
+
import type { ExtensionsPluginInjectionAPI } from '../../types';
|
|
10
10
|
export interface Props {
|
|
11
11
|
customContainerStyles?: CSSProperties;
|
|
12
12
|
isBodiedMacro?: boolean;
|