@atlaskit/editor-plugin-extension 10.0.7 → 10.0.9
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 +12 -0
- package/dist/types/pm-plugins/main.d.ts +1 -1
- package/dist/types/pm-plugins/plugin-factory.d.ts +1 -1
- package/dist/types/pm-plugins/utils.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/main.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/plugin-factory.d.ts +1 -1
- package/dist/types-ts4.5/pm-plugins/utils.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -20,4 +20,4 @@ export declare const handleUpdate: ({ view, prevState, domAtPos, extensionHandle
|
|
|
20
20
|
export declare const createPlugin: (dispatch: Dispatch, providerFactory: ProviderFactory, extensionHandlers: ExtensionHandlers, portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, pluginInjectionApi: ExtractInjectionAPI<ExtensionPlugin> | undefined, useLongPressSelection?: boolean, options?: {
|
|
21
21
|
appearance?: EditorAppearance;
|
|
22
22
|
getExtensionHeight?: GetPMNodeHeight;
|
|
23
|
-
}, featureFlags?: FeatureFlags, __rendererExtensionOptions?: ExtensionPluginOptions["__rendererExtensionOptions"]) => SafePlugin<import("
|
|
23
|
+
}, featureFlags?: FeatureFlags, __rendererExtensionOptions?: ExtensionPluginOptions["__rendererExtensionOptions"]) => SafePlugin<import("..").ExtensionState>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ExtensionState } from '../extensionPluginType';
|
|
2
2
|
export declare const createPluginState: (dispatch: import("@atlaskit/editor-common/event-dispatcher").Dispatch, initialState: ExtensionState | ((state: import("prosemirror-state").EditorState) => ExtensionState)) => import("prosemirror-state").SafeStateField<ExtensionState>;
|
|
3
|
-
export declare const createCommand: <A = import("
|
|
3
|
+
export declare const createCommand: <A = import("..").ExtensionAction>(action: A | ((state: Readonly<import("prosemirror-state").EditorState>) => false | A), transform?: (tr: import("prosemirror-state").Transaction, state: import("prosemirror-state").EditorState) => import("prosemirror-state").Transaction) => import("@atlaskit/editor-common/types").Command;
|
|
4
4
|
export declare const getPluginState: (state: import("prosemirror-state").EditorState) => ExtensionState;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Mark, Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
3
3
|
import type { DomAtPos, NodeWithPos } from '@atlaskit/editor-prosemirror/utils';
|
|
4
|
-
export declare const getSelectedExtension: (state: EditorState, searchParent?: boolean) => import("prosemirror-utils
|
|
4
|
+
export declare const getSelectedExtension: (state: EditorState, searchParent?: boolean) => import("prosemirror-utils").ContentNodeWithPos | undefined;
|
|
5
5
|
export declare const findExtensionWithLocalId: (state: EditorState, localId?: string) => NodeWithPos | undefined;
|
|
6
6
|
export declare const getSelectedDomElement: (schema: Schema, domAtPos: DomAtPos, selectedExtensionNode: NodeWithPos) => HTMLElement;
|
|
7
7
|
export declare const getDataConsumerMark: (newNode: PMNode) => Mark | undefined;
|
|
@@ -20,4 +20,4 @@ export declare const handleUpdate: ({ view, prevState, domAtPos, extensionHandle
|
|
|
20
20
|
export declare const createPlugin: (dispatch: Dispatch, providerFactory: ProviderFactory, extensionHandlers: ExtensionHandlers, portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, pluginInjectionApi: ExtractInjectionAPI<ExtensionPlugin> | undefined, useLongPressSelection?: boolean, options?: {
|
|
21
21
|
appearance?: EditorAppearance;
|
|
22
22
|
getExtensionHeight?: GetPMNodeHeight;
|
|
23
|
-
}, featureFlags?: FeatureFlags, __rendererExtensionOptions?: ExtensionPluginOptions["__rendererExtensionOptions"]) => SafePlugin<import("
|
|
23
|
+
}, featureFlags?: FeatureFlags, __rendererExtensionOptions?: ExtensionPluginOptions["__rendererExtensionOptions"]) => SafePlugin<import("..").ExtensionState>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ExtensionState } from '../extensionPluginType';
|
|
2
2
|
export declare const createPluginState: (dispatch: import("@atlaskit/editor-common/event-dispatcher").Dispatch, initialState: ExtensionState | ((state: import("prosemirror-state").EditorState) => ExtensionState)) => import("prosemirror-state").SafeStateField<ExtensionState>;
|
|
3
|
-
export declare const createCommand: <A = import("
|
|
3
|
+
export declare const createCommand: <A = import("..").ExtensionAction>(action: A | ((state: Readonly<import("prosemirror-state").EditorState>) => false | A), transform?: (tr: import("prosemirror-state").Transaction, state: import("prosemirror-state").EditorState) => import("prosemirror-state").Transaction) => import("@atlaskit/editor-common/types").Command;
|
|
4
4
|
export declare const getPluginState: (state: import("prosemirror-state").EditorState) => ExtensionState;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Mark, Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
2
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
3
3
|
import type { DomAtPos, NodeWithPos } from '@atlaskit/editor-prosemirror/utils';
|
|
4
|
-
export declare const getSelectedExtension: (state: EditorState, searchParent?: boolean) => import("prosemirror-utils
|
|
4
|
+
export declare const getSelectedExtension: (state: EditorState, searchParent?: boolean) => import("prosemirror-utils").ContentNodeWithPos | undefined;
|
|
5
5
|
export declare const findExtensionWithLocalId: (state: EditorState, localId?: string) => NodeWithPos | undefined;
|
|
6
6
|
export declare const getSelectedDomElement: (schema: Schema, domAtPos: DomAtPos, selectedExtensionNode: NodeWithPos) => HTMLElement;
|
|
7
7
|
export declare const getDataConsumerMark: (newNode: PMNode) => Mark | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-extension",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.9",
|
|
4
4
|
"description": "editor-plugin-extension plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@atlaskit/textarea": "^8.2.0",
|
|
57
57
|
"@atlaskit/textfield": "^8.2.0",
|
|
58
58
|
"@atlaskit/theme": "^21.0.0",
|
|
59
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
59
|
+
"@atlaskit/tmp-editor-statsig": "^20.0.0",
|
|
60
60
|
"@atlaskit/toggle": "^15.2.0",
|
|
61
61
|
"@atlaskit/tokens": "^11.0.0",
|
|
62
62
|
"@atlaskit/tooltip": "^20.14.0",
|