@atlaskit/editor-core 187.15.0 → 187.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/cjs/create-editor/create-plugins-list.js +2 -7
- package/dist/cjs/create-editor/feature-flags-from-props.js +23 -28
- package/dist/cjs/index.js +0 -7
- package/dist/cjs/plugins/media/toolbar/alt-text.js +5 -2
- package/dist/cjs/plugins/media/toolbar/index.js +7 -5
- package/dist/cjs/plugins/media/toolbar/linking-toolbar-appearance.js +3 -4
- package/dist/cjs/plugins/media/ui/MediaLinkingToolbar.js +1 -2
- package/dist/cjs/plugins/panel/pm-plugins/keymaps.js +13 -4
- package/dist/cjs/plugins/type-ahead/index.js +1 -4
- package/dist/cjs/plugins/type-ahead/pm-plugins/decorations.js +2 -4
- package/dist/cjs/plugins/type-ahead/pm-plugins/main.js +2 -4
- package/dist/cjs/plugins/type-ahead/ui/InputQuery.js +21 -40
- package/dist/cjs/plugins/type-ahead/ui/WrapperTypeAhead.js +5 -9
- package/dist/cjs/plugins/type-ahead/utils.js +15 -19
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/create-editor/create-plugins-list.js +2 -7
- package/dist/es2019/create-editor/feature-flags-from-props.js +23 -28
- package/dist/es2019/index.js +0 -1
- package/dist/es2019/plugins/media/toolbar/alt-text.js +6 -4
- package/dist/es2019/plugins/media/toolbar/index.js +7 -5
- package/dist/es2019/plugins/media/toolbar/linking-toolbar-appearance.js +1 -1
- package/dist/es2019/plugins/media/ui/MediaLinkingToolbar.js +1 -2
- package/dist/es2019/plugins/panel/pm-plugins/keymaps.js +13 -4
- package/dist/es2019/plugins/type-ahead/index.js +1 -4
- package/dist/es2019/plugins/type-ahead/pm-plugins/decorations.js +2 -4
- package/dist/es2019/plugins/type-ahead/pm-plugins/main.js +2 -4
- package/dist/es2019/plugins/type-ahead/ui/InputQuery.js +21 -40
- package/dist/es2019/plugins/type-ahead/ui/WrapperTypeAhead.js +5 -9
- package/dist/es2019/plugins/type-ahead/utils.js +15 -19
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/create-editor/create-plugins-list.js +2 -7
- package/dist/esm/create-editor/feature-flags-from-props.js +23 -28
- package/dist/esm/index.js +0 -1
- package/dist/esm/plugins/media/toolbar/alt-text.js +6 -4
- package/dist/esm/plugins/media/toolbar/index.js +7 -5
- package/dist/esm/plugins/media/toolbar/linking-toolbar-appearance.js +1 -1
- package/dist/esm/plugins/media/ui/MediaLinkingToolbar.js +1 -2
- package/dist/esm/plugins/panel/pm-plugins/keymaps.js +13 -4
- package/dist/esm/plugins/type-ahead/index.js +1 -4
- package/dist/esm/plugins/type-ahead/pm-plugins/decorations.js +2 -4
- package/dist/esm/plugins/type-ahead/pm-plugins/main.js +2 -4
- package/dist/esm/plugins/type-ahead/ui/InputQuery.js +21 -40
- package/dist/esm/plugins/type-ahead/ui/WrapperTypeAhead.js +5 -9
- package/dist/esm/plugins/type-ahead/utils.js +15 -19
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/create-editor/create-plugins-list.d.ts +6 -6
- package/dist/types/index.d.ts +0 -5
- package/dist/types/plugins/annotation/toolbar.d.ts +1 -1
- package/dist/types/plugins/code-block/toolbar.d.ts +1 -2
- package/dist/types/plugins/copy-button/toolbar.d.ts +1 -1
- package/dist/types/plugins/expand/toolbar.d.ts +1 -1
- package/dist/types/plugins/extension/toolbar.d.ts +1 -1
- package/dist/types/plugins/floating-toolbar/index.d.ts +3 -6
- package/dist/types/plugins/floating-toolbar/ui/CheckboxModal.d.ts +2 -2
- package/dist/types/plugins/floating-toolbar/ui/ConfirmationModal.d.ts +2 -2
- package/dist/types/plugins/floating-toolbar/ui/Dropdown.d.ts +1 -1
- package/dist/types/plugins/floating-toolbar/ui/DropdownMenu.d.ts +1 -1
- package/dist/types/plugins/floating-toolbar/ui/SimpleModal.d.ts +2 -2
- package/dist/types/plugins/floating-toolbar/ui/Toolbar.d.ts +1 -1
- package/dist/types/plugins/layout/index.d.ts +1 -1
- package/dist/types/plugins/layout/toolbar.d.ts +1 -1
- package/dist/types/plugins/media/toolbar/alt-text.d.ts +3 -1
- package/dist/types/plugins/media/toolbar/index.d.ts +1 -1
- package/dist/types/plugins/media/toolbar/linking.d.ts +1 -1
- package/dist/types/plugins/panel/toolbar.d.ts +1 -1
- package/dist/types/plugins/type-ahead/index.d.ts +0 -1
- package/dist/types/plugins/type-ahead/pm-plugins/decorations.d.ts +1 -2
- package/dist/types/plugins/type-ahead/pm-plugins/main.d.ts +1 -2
- package/dist/types/plugins/type-ahead/ui/InputQuery.d.ts +0 -1
- package/dist/types/plugins/type-ahead/ui/WrapperTypeAhead.d.ts +0 -1
- package/dist/types/plugins/type-ahead/utils.d.ts +1 -2
- package/dist/types-ts4.5/create-editor/create-plugins-list.d.ts +6 -6
- package/dist/types-ts4.5/index.d.ts +0 -5
- package/dist/types-ts4.5/plugins/annotation/toolbar.d.ts +1 -1
- package/dist/types-ts4.5/plugins/code-block/toolbar.d.ts +1 -2
- package/dist/types-ts4.5/plugins/copy-button/toolbar.d.ts +1 -1
- package/dist/types-ts4.5/plugins/expand/toolbar.d.ts +1 -1
- package/dist/types-ts4.5/plugins/extension/toolbar.d.ts +1 -1
- package/dist/types-ts4.5/plugins/floating-toolbar/index.d.ts +3 -6
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/CheckboxModal.d.ts +2 -2
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/ConfirmationModal.d.ts +2 -2
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/Dropdown.d.ts +1 -1
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/DropdownMenu.d.ts +1 -1
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/SimpleModal.d.ts +2 -2
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/Toolbar.d.ts +1 -1
- package/dist/types-ts4.5/plugins/layout/index.d.ts +1 -1
- package/dist/types-ts4.5/plugins/layout/toolbar.d.ts +1 -1
- package/dist/types-ts4.5/plugins/media/toolbar/alt-text.d.ts +3 -1
- package/dist/types-ts4.5/plugins/media/toolbar/index.d.ts +1 -1
- package/dist/types-ts4.5/plugins/media/toolbar/linking.d.ts +1 -1
- package/dist/types-ts4.5/plugins/panel/toolbar.d.ts +1 -1
- package/dist/types-ts4.5/plugins/type-ahead/index.d.ts +0 -1
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/decorations.d.ts +1 -2
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/main.d.ts +1 -2
- package/dist/types-ts4.5/plugins/type-ahead/ui/InputQuery.d.ts +0 -1
- package/dist/types-ts4.5/plugins/type-ahead/ui/WrapperTypeAhead.d.ts +0 -1
- package/dist/types-ts4.5/plugins/type-ahead/utils.d.ts +1 -2
- package/package.json +2 -2
- package/report.api.md +1 -48
- package/tmp/api-report-tmp.d.ts +1 -46
- package/dist/cjs/plugins/floating-toolbar/types.js +0 -5
- package/dist/cjs/plugins/floating-toolbar/ui/types.js +0 -5
- package/dist/es2019/plugins/floating-toolbar/types.js +0 -1
- package/dist/es2019/plugins/floating-toolbar/ui/types.js +0 -1
- package/dist/esm/plugins/floating-toolbar/types.js +0 -1
- package/dist/esm/plugins/floating-toolbar/ui/types.js +0 -1
- package/dist/types/plugins/floating-toolbar/types.d.ts +0 -1
- package/dist/types/plugins/floating-toolbar/ui/types.d.ts +0 -1
- package/dist/types-ts4.5/plugins/floating-toolbar/types.d.ts +0 -1
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/types.d.ts +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { ConfirmationDialogProps } from '
|
|
2
|
+
import type { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import type { ConfirmationDialogProps } from '@atlaskit/editor-common/types';
|
|
4
4
|
export declare const CheckboxModal: (props: ConfirmationDialogProps & WrappedComponentProps) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { ConfirmationDialogProps } from '
|
|
2
|
+
import type { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import type { ConfirmationDialogProps } from '@atlaskit/editor-common/types';
|
|
4
4
|
export declare const ConfirmationModal: React.FC<import("react-intl-next").WithIntlProps<ConfirmationDialogProps & WrappedComponentProps<"intl">>> & {
|
|
5
5
|
WrappedComponent: React.ComponentType<ConfirmationDialogProps & WrappedComponentProps<"intl">>;
|
|
6
6
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { ReactElement } from 'react';
|
|
3
3
|
import React, { Component } from 'react';
|
|
4
4
|
import { jsx } from '@emotion/react';
|
|
5
|
-
import type { DropdownOptions } from '
|
|
5
|
+
import type { DropdownOptions } from '@atlaskit/editor-common/types';
|
|
6
6
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
7
7
|
export interface Props {
|
|
8
8
|
title: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { ButtonItemProps } from '@atlaskit/menu';
|
|
3
|
-
import type { DropdownOptionT } from '
|
|
3
|
+
import type { DropdownOptionT } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { WrappedComponentProps } from 'react-intl-next';
|
|
5
5
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
6
6
|
export declare const menuItemDimensions: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { ConfirmationDialogProps } from '
|
|
2
|
+
import type { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import type { ConfirmationDialogProps } from '@atlaskit/editor-common/types';
|
|
4
4
|
export declare const SimpleModal: (props: ConfirmationDialogProps & WrappedComponentProps) => JSX.Element;
|
|
@@ -5,7 +5,7 @@ import type { Node } from '@atlaskit/editor-prosemirror/model';
|
|
|
5
5
|
import type { ExtensionProvider } from '@atlaskit/editor-common/extensions';
|
|
6
6
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
7
7
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
8
|
-
import type { FloatingToolbarItem } from '
|
|
8
|
+
import type { FloatingToolbarItem } from '@atlaskit/editor-common/types';
|
|
9
9
|
import type { WrappedComponentProps } from 'react-intl-next';
|
|
10
10
|
import type { FeatureFlags, PluginInjectionAPIWithDependencies, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
11
11
|
import type { decorationsPlugin } from '@atlaskit/editor-plugin-decorations';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
2
2
|
import { pluginKey } from './pm-plugins/plugin-key';
|
|
3
|
-
import { LayoutPluginOptions } from './types';
|
|
3
|
+
import type { LayoutPluginOptions } from './types';
|
|
4
4
|
import type { decorationsPlugin } from '@atlaskit/editor-plugin-decorations';
|
|
5
5
|
import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
6
6
|
export { pluginKey };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
2
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
-
import type { FloatingToolbarConfig } from '
|
|
3
|
+
import type { FloatingToolbarConfig } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { HoverDecorationHandler } from '@atlaskit/editor-plugin-decorations';
|
|
5
5
|
export declare const layoutToolbarTitle = "Layout floating controls";
|
|
6
6
|
export declare const buildToolbar: (state: EditorState, intl: IntlShape, pos: number, _allowBreakout: boolean, addSidebarLayouts: boolean, allowSingleColumnLayout: boolean, hoverDecoration: HoverDecorationHandler | undefined) => FloatingToolbarConfig | undefined;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
|
-
import type { FloatingToolbarButton, FloatingToolbarCustom, FloatingToolbarConfig } from '
|
|
2
|
+
import type { FloatingToolbarButton, FloatingToolbarCustom, FloatingToolbarConfig } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { Command } from '../../../types';
|
|
4
4
|
import type { MediaToolbarBaseConfig } from '../types';
|
|
5
5
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
6
|
+
import type { ForceFocusSelector } from '@atlaskit/editor-plugin-floating-toolbar';
|
|
6
7
|
export declare const altTextButton: (intl: IntlShape, state: EditorState) => FloatingToolbarButton<Command>;
|
|
7
8
|
export declare const altTextEditComponent: (options?: AltTextToolbarOptions) => FloatingToolbarCustom<Command>;
|
|
8
9
|
export interface AltTextToolbarOptions {
|
|
9
10
|
altTextValidator?: (value: string) => string[];
|
|
11
|
+
forceFocusSelector?: ForceFocusSelector;
|
|
10
12
|
}
|
|
11
13
|
export declare const getAltTextToolbar: (toolbarBaseConfig: MediaToolbarBaseConfig, options?: AltTextToolbarOptions) => FloatingToolbarConfig;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
2
2
|
import type { IntlShape } from 'react-intl-next';
|
|
3
3
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
4
|
-
import type { FloatingToolbarConfig } from '
|
|
4
|
+
import type { FloatingToolbarConfig } from '@atlaskit/editor-common/types';
|
|
5
5
|
import type { MediaFloatingToolbarOptions } from '../types';
|
|
6
6
|
import type mediaPlugin from '../index';
|
|
7
7
|
export declare const floatingToolbar: (state: EditorState, intl: IntlShape, options: MediaFloatingToolbarOptions | undefined, pluginInjectionApi: ExtractInjectionAPI<typeof mediaPlugin> | undefined) => FloatingToolbarConfig | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
2
2
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
3
3
|
import type { IntlShape } from 'react-intl-next';
|
|
4
|
-
import type { FloatingToolbarConfig } from '
|
|
4
|
+
import type { FloatingToolbarConfig } from '@atlaskit/editor-common/types';
|
|
5
5
|
import type { MediaLinkingState } from '../pm-plugins/linking';
|
|
6
6
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
7
7
|
import type { MediaToolbarBaseConfig } from '../types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FloatingToolbarConfig, FloatingToolbarItem } from '
|
|
1
|
+
import type { FloatingToolbarConfig, FloatingToolbarItem } from '@atlaskit/editor-common/types';
|
|
2
2
|
import type { EmojiInfo, PanelPluginOptions } from './types';
|
|
3
3
|
import type { IntlShape } from 'react-intl-next';
|
|
4
4
|
import type { HoverDecorationHandler } from '@atlaskit/editor-plugin-decorations';
|
|
@@ -5,11 +5,10 @@ type FactoryProps = {
|
|
|
5
5
|
intl: IntlShape;
|
|
6
6
|
popupMountRef: PopupMountPointReference;
|
|
7
7
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
8
|
-
useBetterTypeaheadNavigation: boolean;
|
|
9
8
|
};
|
|
10
9
|
type FactoryReturn = {
|
|
11
10
|
createDecorations: CreateTypeAheadDecorations;
|
|
12
11
|
removeDecorations: RemoveTypeAheadDecorations;
|
|
13
12
|
};
|
|
14
|
-
export declare const factoryDecorations: ({ intl, popupMountRef, createAnalyticsEvent,
|
|
13
|
+
export declare const factoryDecorations: ({ intl, popupMountRef, createAnalyticsEvent, }: FactoryProps) => FactoryReturn;
|
|
15
14
|
export {};
|
|
@@ -9,7 +9,6 @@ type Props = {
|
|
|
9
9
|
typeAheadHandlers: Array<TypeAheadHandler>;
|
|
10
10
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
11
11
|
getIntl: () => IntlShape;
|
|
12
|
-
useBetterTypeaheadNavigation: boolean;
|
|
13
12
|
};
|
|
14
|
-
export declare function createPlugin({ reactDispatch, popupMountRef, createAnalyticsEvent, typeAheadHandlers, getIntl,
|
|
13
|
+
export declare function createPlugin({ reactDispatch, popupMountRef, createAnalyticsEvent, typeAheadHandlers, getIntl, }: Props): SafePlugin;
|
|
15
14
|
export {};
|
|
@@ -15,7 +15,6 @@ type WrapperProps = {
|
|
|
15
15
|
popupsScrollableElement?: HTMLElement;
|
|
16
16
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
17
17
|
inputMethod?: TypeAheadInputMethod;
|
|
18
|
-
useBetterTypeaheadNavigation: boolean;
|
|
19
18
|
};
|
|
20
19
|
export declare const WrapperTypeAhead: React.FC<WrapperProps>;
|
|
21
20
|
export {};
|
|
@@ -18,9 +18,8 @@ export declare const findHandlerByTrigger: ({ trigger, editorState, }: {
|
|
|
18
18
|
type MoveSelectedIndexProps = {
|
|
19
19
|
editorView: EditorView;
|
|
20
20
|
direction: 'next' | 'previous';
|
|
21
|
-
useBetterTypeaheadNavigation?: boolean;
|
|
22
21
|
};
|
|
23
|
-
export declare const moveSelectedIndex: ({ editorView, direction
|
|
22
|
+
export declare const moveSelectedIndex: ({ editorView, direction }: MoveSelectedIndexProps) => () => void;
|
|
24
23
|
type TypeAheadAssistiveLabels = {
|
|
25
24
|
popupAriaLabel: string;
|
|
26
25
|
listItemAriaLabel?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
-
import { EditorPlugin, EditorProps } from '../types';
|
|
3
|
-
import { EditorPluginFeatureProps } from '../types/editor-props';
|
|
4
|
-
import { ScrollGutterPluginOptions } from '../plugins/base/pm-plugins/scroll-gutter';
|
|
5
|
-
import { DefaultPresetPluginOptions } from '../labs/next/presets/default';
|
|
6
|
-
import { EditorPresetProps } from '../labs/next/presets/types';
|
|
1
|
+
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
+
import type { EditorPlugin, EditorProps } from '../types';
|
|
3
|
+
import type { EditorPluginFeatureProps } from '../types/editor-props';
|
|
4
|
+
import type { ScrollGutterPluginOptions } from '../plugins/base/pm-plugins/scroll-gutter';
|
|
5
|
+
import type { DefaultPresetPluginOptions } from '../labs/next/presets/default';
|
|
6
|
+
import type { EditorPresetProps } from '../labs/next/presets/types';
|
|
7
7
|
import type { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
8
8
|
export declare function getScrollGutterOptions(props: EditorProps): ScrollGutterPluginOptions | undefined;
|
|
9
9
|
export declare function getDefaultPresetOptionsFromEditorProps(props: EditorProps, createAnalyticsEvent?: CreateUIAnalyticsEvent): EditorPresetProps & DefaultPresetPluginOptions & EditorPluginFeatureProps;
|
|
@@ -71,11 +71,6 @@ export { selectionPluginKey } from './plugins/mobile-selection';
|
|
|
71
71
|
export type { SelectionData, SelectionDataState, } from './plugins/mobile-selection';
|
|
72
72
|
export { insertExpand } from './plugins/expand/commands';
|
|
73
73
|
export { default as WithPluginState } from './ui/WithPluginState';
|
|
74
|
-
export { pluginKey as floatingToolbarPluginKey } from './plugins/floating-toolbar';
|
|
75
|
-
export type { FloatingToolbarPluginState } from './plugins/floating-toolbar';
|
|
76
|
-
export type { FloatingToolbarConfig, FloatingToolbarItem, FloatingToolbarButton, FloatingToolbarDropdown, FloatingToolbarListPicker, FloatingToolbarSelect, FloatingToolbarColorPicker, FloatingToolbarDatePicker, FloatingToolbarInput, FloatingToolbarEmojiPicker, } from './plugins/floating-toolbar/types';
|
|
77
|
-
export type { DropdownOptionT } from './plugins/floating-toolbar/ui/types';
|
|
78
|
-
export type { SelectOption } from './plugins/floating-toolbar/ui/Select';
|
|
79
74
|
export { lightModeStatusColorPalette, darkModeStatusColorPalette, } from './ui/ColorPalette/Palettes/statusColorPalette';
|
|
80
75
|
export type { PaletteColor } from './ui/ColorPalette/Palettes/type';
|
|
81
76
|
export { DEFAULT_BORDER_COLOR } from './ui/ColorPalette/Palettes/common';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
2
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
-
import type { FloatingToolbarConfig } from '
|
|
3
|
+
import type { FloatingToolbarConfig } from '@atlaskit/editor-common/types';
|
|
4
4
|
export declare const annotationMessages: {
|
|
5
5
|
createComment: {
|
|
6
6
|
id: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { FloatingToolbarHandler } from '
|
|
1
|
+
import type { FloatingToolbarHandler, SelectOption } from '@atlaskit/editor-common/types';
|
|
2
2
|
import type { HoverDecorationHandler } from '@atlaskit/editor-plugin-decorations';
|
|
3
|
-
import type { SelectOption } from '../floating-toolbar/ui/Select';
|
|
4
3
|
export declare const messages: {
|
|
5
4
|
selectLanguage: {
|
|
6
5
|
id: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// <reference path="../../../../../../../typings/prosemirror-state.d.ts" />
|
|
3
3
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
4
4
|
import type { Command } from '../../../src/types';
|
|
5
|
-
import type { FloatingToolbarButton, FloatingToolbarItem, MarkOptions, NodeOptions } from '
|
|
5
|
+
import type { FloatingToolbarButton, FloatingToolbarItem, MarkOptions, NodeOptions } from '@atlaskit/editor-common/types';
|
|
6
6
|
import type { HoverDecorationHandler } from '@atlaskit/editor-plugin-decorations';
|
|
7
7
|
export declare function getCopyButtonConfig(options: MarkOptions | NodeOptions, hoverDecoration: HoverDecorationHandler | undefined): FloatingToolbarButton<Command>;
|
|
8
8
|
export declare const showCopyButton: (state?: EditorState) => import("prosemirror-state").Plugin<any> | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FloatingToolbarHandler } from '
|
|
1
|
+
import type { FloatingToolbarHandler } from '@atlaskit/editor-common/types';
|
|
2
2
|
import type { HoverDecorationHandler } from '@atlaskit/editor-plugin-decorations';
|
|
3
3
|
export declare const getToolbarConfig: (hoverDecoration: HoverDecorationHandler | undefined) => FloatingToolbarHandler;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FloatingToolbarHandler } from '
|
|
1
|
+
import type { FloatingToolbarHandler } from '@atlaskit/editor-common/types';
|
|
2
2
|
import type { HoverDecorationHandler } from '@atlaskit/editor-plugin-decorations';
|
|
3
3
|
import type { ApplyChangeHandler } from '@atlaskit/editor-plugin-context-panel';
|
|
4
4
|
export declare const messages: {
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import type { Selection
|
|
1
|
+
import type { Selection } from '@atlaskit/editor-prosemirror/state';
|
|
2
2
|
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
-
import type { FloatingToolbarConfig } from '
|
|
4
|
-
import type { FloatingToolbarPlugin, ConfigWithNodeInfo } from '@atlaskit/editor-plugin-floating-toolbar';
|
|
5
|
-
export type FloatingToolbarPluginState = {
|
|
6
|
-
getConfigWithNodeInfo: (state: EditorState) => ConfigWithNodeInfo | null | undefined;
|
|
7
|
-
};
|
|
3
|
+
import type { FloatingToolbarConfig } from '@atlaskit/editor-common/types';
|
|
4
|
+
import type { FloatingToolbarPlugin, ConfigWithNodeInfo, FloatingToolbarPluginState } from '@atlaskit/editor-plugin-floating-toolbar';
|
|
8
5
|
export declare const getRelevantConfig: (selection: Selection, configs: Array<FloatingToolbarConfig>) => ConfigWithNodeInfo | undefined;
|
|
9
6
|
declare const floatingToolbarPlugin: FloatingToolbarPlugin;
|
|
10
7
|
export default floatingToolbarPlugin;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { ConfirmationDialogProps } from '
|
|
2
|
+
import type { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import type { ConfirmationDialogProps } from '@atlaskit/editor-common/types';
|
|
4
4
|
export declare const CheckboxModal: (props: ConfirmationDialogProps & WrappedComponentProps) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { ConfirmationDialogProps } from '
|
|
2
|
+
import type { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import type { ConfirmationDialogProps } from '@atlaskit/editor-common/types';
|
|
4
4
|
export declare const ConfirmationModal: React.FC<import("react-intl-next").WithIntlProps<ConfirmationDialogProps & WrappedComponentProps<"intl">>> & {
|
|
5
5
|
WrappedComponent: React.ComponentType<ConfirmationDialogProps & WrappedComponentProps<"intl">>;
|
|
6
6
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { ReactElement } from 'react';
|
|
3
3
|
import React, { Component } from 'react';
|
|
4
4
|
import { jsx } from '@emotion/react';
|
|
5
|
-
import type { DropdownOptions } from '
|
|
5
|
+
import type { DropdownOptions } from '@atlaskit/editor-common/types';
|
|
6
6
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
7
7
|
export interface Props {
|
|
8
8
|
title: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { ButtonItemProps } from '@atlaskit/menu';
|
|
3
|
-
import type { DropdownOptionT } from '
|
|
3
|
+
import type { DropdownOptionT } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { WrappedComponentProps } from 'react-intl-next';
|
|
5
5
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
6
6
|
export declare const menuItemDimensions: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { ConfirmationDialogProps } from '
|
|
2
|
+
import type { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import type { ConfirmationDialogProps } from '@atlaskit/editor-common/types';
|
|
4
4
|
export declare const SimpleModal: (props: ConfirmationDialogProps & WrappedComponentProps) => JSX.Element;
|
|
@@ -5,7 +5,7 @@ import type { Node } from '@atlaskit/editor-prosemirror/model';
|
|
|
5
5
|
import type { ExtensionProvider } from '@atlaskit/editor-common/extensions';
|
|
6
6
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
7
7
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
8
|
-
import type { FloatingToolbarItem } from '
|
|
8
|
+
import type { FloatingToolbarItem } from '@atlaskit/editor-common/types';
|
|
9
9
|
import type { WrappedComponentProps } from 'react-intl-next';
|
|
10
10
|
import type { FeatureFlags, PluginInjectionAPIWithDependencies, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
11
11
|
import type { decorationsPlugin } from '@atlaskit/editor-plugin-decorations';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
2
2
|
import { pluginKey } from './pm-plugins/plugin-key';
|
|
3
|
-
import { LayoutPluginOptions } from './types';
|
|
3
|
+
import type { LayoutPluginOptions } from './types';
|
|
4
4
|
import type { decorationsPlugin } from '@atlaskit/editor-plugin-decorations';
|
|
5
5
|
import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
6
6
|
export { pluginKey };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
2
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
-
import type { FloatingToolbarConfig } from '
|
|
3
|
+
import type { FloatingToolbarConfig } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { HoverDecorationHandler } from '@atlaskit/editor-plugin-decorations';
|
|
5
5
|
export declare const layoutToolbarTitle = "Layout floating controls";
|
|
6
6
|
export declare const buildToolbar: (state: EditorState, intl: IntlShape, pos: number, _allowBreakout: boolean, addSidebarLayouts: boolean, allowSingleColumnLayout: boolean, hoverDecoration: HoverDecorationHandler | undefined) => FloatingToolbarConfig | undefined;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type { IntlShape } from 'react-intl-next';
|
|
2
|
-
import type { FloatingToolbarButton, FloatingToolbarCustom, FloatingToolbarConfig } from '
|
|
2
|
+
import type { FloatingToolbarButton, FloatingToolbarCustom, FloatingToolbarConfig } from '@atlaskit/editor-common/types';
|
|
3
3
|
import type { Command } from '../../../types';
|
|
4
4
|
import type { MediaToolbarBaseConfig } from '../types';
|
|
5
5
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
6
|
+
import type { ForceFocusSelector } from '@atlaskit/editor-plugin-floating-toolbar';
|
|
6
7
|
export declare const altTextButton: (intl: IntlShape, state: EditorState) => FloatingToolbarButton<Command>;
|
|
7
8
|
export declare const altTextEditComponent: (options?: AltTextToolbarOptions) => FloatingToolbarCustom<Command>;
|
|
8
9
|
export interface AltTextToolbarOptions {
|
|
9
10
|
altTextValidator?: (value: string) => string[];
|
|
11
|
+
forceFocusSelector?: ForceFocusSelector;
|
|
10
12
|
}
|
|
11
13
|
export declare const getAltTextToolbar: (toolbarBaseConfig: MediaToolbarBaseConfig, options?: AltTextToolbarOptions) => FloatingToolbarConfig;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
2
2
|
import type { IntlShape } from 'react-intl-next';
|
|
3
3
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
4
|
-
import type { FloatingToolbarConfig } from '
|
|
4
|
+
import type { FloatingToolbarConfig } from '@atlaskit/editor-common/types';
|
|
5
5
|
import type { MediaFloatingToolbarOptions } from '../types';
|
|
6
6
|
import type mediaPlugin from '../index';
|
|
7
7
|
export declare const floatingToolbar: (state: EditorState, intl: IntlShape, options: MediaFloatingToolbarOptions | undefined, pluginInjectionApi: ExtractInjectionAPI<typeof mediaPlugin> | undefined) => FloatingToolbarConfig | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
2
2
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
3
3
|
import type { IntlShape } from 'react-intl-next';
|
|
4
|
-
import type { FloatingToolbarConfig } from '
|
|
4
|
+
import type { FloatingToolbarConfig } from '@atlaskit/editor-common/types';
|
|
5
5
|
import type { MediaLinkingState } from '../pm-plugins/linking';
|
|
6
6
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
7
7
|
import type { MediaToolbarBaseConfig } from '../types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FloatingToolbarConfig, FloatingToolbarItem } from '
|
|
1
|
+
import type { FloatingToolbarConfig, FloatingToolbarItem } from '@atlaskit/editor-common/types';
|
|
2
2
|
import type { EmojiInfo, PanelPluginOptions } from './types';
|
|
3
3
|
import type { IntlShape } from 'react-intl-next';
|
|
4
4
|
import type { HoverDecorationHandler } from '@atlaskit/editor-plugin-decorations';
|
|
@@ -5,11 +5,10 @@ type FactoryProps = {
|
|
|
5
5
|
intl: IntlShape;
|
|
6
6
|
popupMountRef: PopupMountPointReference;
|
|
7
7
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
8
|
-
useBetterTypeaheadNavigation: boolean;
|
|
9
8
|
};
|
|
10
9
|
type FactoryReturn = {
|
|
11
10
|
createDecorations: CreateTypeAheadDecorations;
|
|
12
11
|
removeDecorations: RemoveTypeAheadDecorations;
|
|
13
12
|
};
|
|
14
|
-
export declare const factoryDecorations: ({ intl, popupMountRef, createAnalyticsEvent,
|
|
13
|
+
export declare const factoryDecorations: ({ intl, popupMountRef, createAnalyticsEvent, }: FactoryProps) => FactoryReturn;
|
|
15
14
|
export {};
|
|
@@ -9,7 +9,6 @@ type Props = {
|
|
|
9
9
|
typeAheadHandlers: Array<TypeAheadHandler>;
|
|
10
10
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
11
11
|
getIntl: () => IntlShape;
|
|
12
|
-
useBetterTypeaheadNavigation: boolean;
|
|
13
12
|
};
|
|
14
|
-
export declare function createPlugin({ reactDispatch, popupMountRef, createAnalyticsEvent, typeAheadHandlers, getIntl,
|
|
13
|
+
export declare function createPlugin({ reactDispatch, popupMountRef, createAnalyticsEvent, typeAheadHandlers, getIntl, }: Props): SafePlugin;
|
|
15
14
|
export {};
|
|
@@ -15,7 +15,6 @@ type WrapperProps = {
|
|
|
15
15
|
popupsScrollableElement?: HTMLElement;
|
|
16
16
|
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
17
17
|
inputMethod?: TypeAheadInputMethod;
|
|
18
|
-
useBetterTypeaheadNavigation: boolean;
|
|
19
18
|
};
|
|
20
19
|
export declare const WrapperTypeAhead: React.FC<WrapperProps>;
|
|
21
20
|
export {};
|
|
@@ -18,9 +18,8 @@ export declare const findHandlerByTrigger: ({ trigger, editorState, }: {
|
|
|
18
18
|
type MoveSelectedIndexProps = {
|
|
19
19
|
editorView: EditorView;
|
|
20
20
|
direction: 'next' | 'previous';
|
|
21
|
-
useBetterTypeaheadNavigation?: boolean;
|
|
22
21
|
};
|
|
23
|
-
export declare const moveSelectedIndex: ({ editorView, direction
|
|
22
|
+
export declare const moveSelectedIndex: ({ editorView, direction }: MoveSelectedIndexProps) => () => void;
|
|
24
23
|
type TypeAheadAssistiveLabels = {
|
|
25
24
|
popupAriaLabel: string;
|
|
26
25
|
listItemAriaLabel?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "187.
|
|
3
|
+
"version": "187.16.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
50
50
|
"@atlaskit/avatar": "^21.3.0",
|
|
51
51
|
"@atlaskit/avatar-group": "^9.3.0",
|
|
52
|
-
"@atlaskit/button": "^16.
|
|
52
|
+
"@atlaskit/button": "^16.9.0",
|
|
53
53
|
"@atlaskit/calendar": "^13.1.0",
|
|
54
54
|
"@atlaskit/checkbox": "^12.6.0",
|
|
55
55
|
"@atlaskit/code": "^14.6.0",
|
package/report.api.md
CHANGED
|
@@ -41,7 +41,7 @@ import type { ConfigWithNodeInfo } from '@atlaskit/editor-plugin-floating-toolba
|
|
|
41
41
|
import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
|
|
42
42
|
import type { ContextUpdateHandler } from '@atlaskit/editor-common/types';
|
|
43
43
|
import { createTable } from '@atlaskit/editor-plugin-table/commands';
|
|
44
|
-
import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
44
|
+
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
45
45
|
import type { CreateUIAnalyticsEvent as CreateUIAnalyticsEvent_2 } from '@atlaskit/analytics-next/types';
|
|
46
46
|
import { darkModeStatusColorPalette } from '@atlaskit/editor-common/ui-color';
|
|
47
47
|
import type { DecorationSet } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -50,7 +50,6 @@ import { DEFAULT_BORDER_COLOR } from '@atlaskit/editor-common/ui-color';
|
|
|
50
50
|
import type { DirectEditorProps } from '@atlaskit/editor-prosemirror/view';
|
|
51
51
|
import { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
|
|
52
52
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
53
|
-
import { DropdownOptionT } from '@atlaskit/editor-common/types';
|
|
54
53
|
import type { EditorActionsOptions } from '@atlaskit/editor-common/types';
|
|
55
54
|
import { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
56
55
|
import { EditorAppearance } from '@atlaskit/editor-common/types';
|
|
@@ -77,17 +76,7 @@ import { ExtensionType } from '@atlaskit/editor-common/provider-factory';
|
|
|
77
76
|
import { FC } from 'react';
|
|
78
77
|
import type featureFlagsPlugin from '@atlaskit/editor-plugin-feature-flags';
|
|
79
78
|
import type { FireAnalyticsCallback } from '@atlaskit/editor-common/analytics';
|
|
80
|
-
import { FloatingToolbarButton } from '@atlaskit/editor-common/types';
|
|
81
|
-
import { FloatingToolbarColorPicker } from '@atlaskit/editor-common/types';
|
|
82
|
-
import { FloatingToolbarConfig } from '@atlaskit/editor-common/types';
|
|
83
|
-
import { FloatingToolbarDatePicker } from '@atlaskit/editor-common/types';
|
|
84
|
-
import { FloatingToolbarDropdown } from '@atlaskit/editor-common/types';
|
|
85
|
-
import { FloatingToolbarEmojiPicker } from '@atlaskit/editor-common/types';
|
|
86
|
-
import { FloatingToolbarInput } from '@atlaskit/editor-common/types';
|
|
87
|
-
import { FloatingToolbarItem } from '@atlaskit/editor-common/types';
|
|
88
|
-
import { FloatingToolbarListPicker } from '@atlaskit/editor-common/types';
|
|
89
79
|
import type { FloatingToolbarPlugin } from '@atlaskit/editor-plugin-floating-toolbar';
|
|
90
|
-
import { FloatingToolbarSelect } from '@atlaskit/editor-common/types';
|
|
91
80
|
import { FULL_WIDTH_MODE } from '@atlaskit/editor-common/analytics';
|
|
92
81
|
import { GapCursorSelection } from '@atlaskit/editor-common/selection';
|
|
93
82
|
import { Side as GapCursorSide } from '@atlaskit/editor-common/selection';
|
|
@@ -154,7 +143,6 @@ import type { RichMediaLayout } from '@atlaskit/adf-schema';
|
|
|
154
143
|
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
155
144
|
import type { SearchProvider } from '@atlaskit/editor-common/provider-factory';
|
|
156
145
|
import { SelectItemMode } from '@atlaskit/editor-common/type-ahead';
|
|
157
|
-
import type { SelectOption } from '@atlaskit/editor-common/types';
|
|
158
146
|
import { setTextSelection } from '@atlaskit/editor-common/utils';
|
|
159
147
|
import type { SEVERITY } from '@atlaskit/editor-common/utils';
|
|
160
148
|
import type { TaskDecisionProvider } from '@atlaskit/task-decision';
|
|
@@ -557,8 +545,6 @@ type DefaultPresetPluginOptions = {
|
|
|
557
545
|
// @public
|
|
558
546
|
export const deleteDate: () => Command;
|
|
559
547
|
|
|
560
|
-
export { DropdownOptionT };
|
|
561
|
-
|
|
562
548
|
// @public (undocumented)
|
|
563
549
|
export class Editor extends React_2.Component<EditorProps> {
|
|
564
550
|
constructor(props: EditorProps);
|
|
@@ -1044,36 +1030,6 @@ type FindReplaceOptions = {
|
|
|
1044
1030
|
allowMatchCase?: boolean;
|
|
1045
1031
|
};
|
|
1046
1032
|
|
|
1047
|
-
export { FloatingToolbarButton };
|
|
1048
|
-
|
|
1049
|
-
export { FloatingToolbarColorPicker };
|
|
1050
|
-
|
|
1051
|
-
export { FloatingToolbarConfig };
|
|
1052
|
-
|
|
1053
|
-
export { FloatingToolbarDatePicker };
|
|
1054
|
-
|
|
1055
|
-
export { FloatingToolbarDropdown };
|
|
1056
|
-
|
|
1057
|
-
export { FloatingToolbarEmojiPicker };
|
|
1058
|
-
|
|
1059
|
-
export { FloatingToolbarInput };
|
|
1060
|
-
|
|
1061
|
-
export { FloatingToolbarItem };
|
|
1062
|
-
|
|
1063
|
-
export { FloatingToolbarListPicker };
|
|
1064
|
-
|
|
1065
|
-
// @public
|
|
1066
|
-
export const floatingToolbarPluginKey: PluginKey<FloatingToolbarPluginState>;
|
|
1067
|
-
|
|
1068
|
-
// @public (undocumented)
|
|
1069
|
-
export type FloatingToolbarPluginState = {
|
|
1070
|
-
getConfigWithNodeInfo: (
|
|
1071
|
-
state: EditorState,
|
|
1072
|
-
) => ConfigWithNodeInfo | null | undefined;
|
|
1073
|
-
};
|
|
1074
|
-
|
|
1075
|
-
export { FloatingToolbarSelect };
|
|
1076
|
-
|
|
1077
1033
|
export { GapCursorSelection };
|
|
1078
1034
|
|
|
1079
1035
|
export { GapCursorSide };
|
|
@@ -1978,8 +1934,6 @@ export const selectionPluginKey: PluginKey<any>;
|
|
|
1978
1934
|
// @public (undocumented)
|
|
1979
1935
|
interface SelectionPluginOptions extends LongPressSelectionPluginOptions {}
|
|
1980
1936
|
|
|
1981
|
-
export { SelectOption };
|
|
1982
|
-
|
|
1983
1937
|
// @public (undocumented)
|
|
1984
1938
|
export function setBlockType(name: string): Command_2;
|
|
1985
1939
|
|
|
@@ -2216,7 +2170,6 @@ export const typeAheadPluginKey: PluginKey<TypeAheadPluginState>;
|
|
|
2216
2170
|
type TypeAheadPluginOptions = {
|
|
2217
2171
|
isMobile?: boolean;
|
|
2218
2172
|
createAnalyticsEvent?: CreateUIAnalyticsEvent_2;
|
|
2219
|
-
useBetterTypeaheadNavigation?: boolean;
|
|
2220
2173
|
};
|
|
2221
2174
|
|
|
2222
2175
|
// @public (undocumented)
|