@atlaskit/editor-plugin-panel 3.2.5 → 3.3.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
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-panel
|
|
2
2
|
|
|
3
|
+
## 3.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#105322](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105322)
|
|
8
|
+
[`8876083532adc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8876083532adc) -
|
|
9
|
+
Bumped editor-prosemirror version to 7.0.0
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 3.2.6
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 3.2.5
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -4,7 +4,7 @@ import { PanelType } from '@atlaskit/adf-schema';
|
|
|
4
4
|
import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
5
5
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
6
6
|
import type { ExtractInjectionAPI, getPosHandler, getPosHandlerNode } from '@atlaskit/editor-common/types';
|
|
7
|
-
import type { Node } from '@atlaskit/editor-prosemirror/model';
|
|
7
|
+
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
8
8
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
9
9
|
import type { PanelPlugin, PanelPluginOptions } from '../panelPluginType';
|
|
10
10
|
export declare const panelIcons: {
|
|
@@ -18,9 +18,9 @@ interface PanelIconAttributes {
|
|
|
18
18
|
allowCustomPanel?: boolean;
|
|
19
19
|
pluginInjectionApi: ExtractInjectionAPI<PanelPlugin> | undefined;
|
|
20
20
|
}
|
|
21
|
-
export declare const PanelIcon: (props: PanelIconAttributes) => JSX.Element;
|
|
21
|
+
export declare const PanelIcon: (props: PanelIconAttributes) => React.JSX.Element;
|
|
22
22
|
declare class PanelNodeView {
|
|
23
|
-
node:
|
|
23
|
+
node: PMNode;
|
|
24
24
|
dom: HTMLElement;
|
|
25
25
|
contentDOM: HTMLElement;
|
|
26
26
|
icon: HTMLElement;
|
|
@@ -30,12 +30,12 @@ declare class PanelNodeView {
|
|
|
30
30
|
nodeViewPortalProviderAPI: PortalProviderAPI;
|
|
31
31
|
pluginOptions: PanelPluginOptions;
|
|
32
32
|
key: string;
|
|
33
|
-
constructor(node:
|
|
33
|
+
constructor(node: PMNode, view: EditorView, getPos: getPosHandlerNode, pluginOptions: PanelPluginOptions, api: ExtractInjectionAPI<PanelPlugin> | undefined, nodeViewPortalProviderAPI: PortalProviderAPI, providerFactory?: ProviderFactory);
|
|
34
34
|
ignoreMutation(mutation: MutationRecord | {
|
|
35
35
|
type: 'selection';
|
|
36
|
-
target:
|
|
36
|
+
target: Node;
|
|
37
37
|
}): boolean;
|
|
38
38
|
destroy(): void;
|
|
39
39
|
}
|
|
40
|
-
export declare const getPanelNodeView: (pluginOptions: PanelPluginOptions, api: ExtractInjectionAPI<PanelPlugin> | undefined, nodeViewPortalProviderAPI: PortalProviderAPI, providerFactory?: ProviderFactory) => (node:
|
|
40
|
+
export declare const getPanelNodeView: (pluginOptions: PanelPluginOptions, api: ExtractInjectionAPI<PanelPlugin> | undefined, nodeViewPortalProviderAPI: PortalProviderAPI, providerFactory?: ProviderFactory) => (node: PMNode, view: EditorView, getPos: getPosHandler) => PanelNodeView;
|
|
41
41
|
export {};
|
|
@@ -4,7 +4,7 @@ import { PanelType } from '@atlaskit/adf-schema';
|
|
|
4
4
|
import { type PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
5
5
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
6
6
|
import type { ExtractInjectionAPI, getPosHandler, getPosHandlerNode } from '@atlaskit/editor-common/types';
|
|
7
|
-
import type { Node } from '@atlaskit/editor-prosemirror/model';
|
|
7
|
+
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
8
8
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
9
9
|
import type { PanelPlugin, PanelPluginOptions } from '../panelPluginType';
|
|
10
10
|
export declare const panelIcons: {
|
|
@@ -18,9 +18,9 @@ interface PanelIconAttributes {
|
|
|
18
18
|
allowCustomPanel?: boolean;
|
|
19
19
|
pluginInjectionApi: ExtractInjectionAPI<PanelPlugin> | undefined;
|
|
20
20
|
}
|
|
21
|
-
export declare const PanelIcon: (props: PanelIconAttributes) => JSX.Element;
|
|
21
|
+
export declare const PanelIcon: (props: PanelIconAttributes) => React.JSX.Element;
|
|
22
22
|
declare class PanelNodeView {
|
|
23
|
-
node:
|
|
23
|
+
node: PMNode;
|
|
24
24
|
dom: HTMLElement;
|
|
25
25
|
contentDOM: HTMLElement;
|
|
26
26
|
icon: HTMLElement;
|
|
@@ -30,12 +30,12 @@ declare class PanelNodeView {
|
|
|
30
30
|
nodeViewPortalProviderAPI: PortalProviderAPI;
|
|
31
31
|
pluginOptions: PanelPluginOptions;
|
|
32
32
|
key: string;
|
|
33
|
-
constructor(node:
|
|
33
|
+
constructor(node: PMNode, view: EditorView, getPos: getPosHandlerNode, pluginOptions: PanelPluginOptions, api: ExtractInjectionAPI<PanelPlugin> | undefined, nodeViewPortalProviderAPI: PortalProviderAPI, providerFactory?: ProviderFactory);
|
|
34
34
|
ignoreMutation(mutation: MutationRecord | {
|
|
35
35
|
type: 'selection';
|
|
36
|
-
target:
|
|
36
|
+
target: Node;
|
|
37
37
|
}): boolean;
|
|
38
38
|
destroy(): void;
|
|
39
39
|
}
|
|
40
|
-
export declare const getPanelNodeView: (pluginOptions: PanelPluginOptions, api: ExtractInjectionAPI<PanelPlugin> | undefined, nodeViewPortalProviderAPI: PortalProviderAPI, providerFactory?: ProviderFactory) => (node:
|
|
40
|
+
export declare const getPanelNodeView: (pluginOptions: PanelPluginOptions, api: ExtractInjectionAPI<PanelPlugin> | undefined, nodeViewPortalProviderAPI: PortalProviderAPI, providerFactory?: ProviderFactory) => (node: PMNode, view: EditorView, getPos: getPosHandler) => PanelNodeView;
|
|
41
41
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-panel",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "Panel plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,18 +32,18 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "^46.1.0",
|
|
35
|
-
"@atlaskit/editor-common": "^99.
|
|
35
|
+
"@atlaskit/editor-common": "^99.10.0",
|
|
36
36
|
"@atlaskit/editor-palette": "1.7.0",
|
|
37
|
-
"@atlaskit/editor-plugin-analytics": "^1.
|
|
38
|
-
"@atlaskit/editor-plugin-decorations": "^1.
|
|
39
|
-
"@atlaskit/editor-plugin-emoji": "^2.
|
|
40
|
-
"@atlaskit/editor-prosemirror": "
|
|
37
|
+
"@atlaskit/editor-plugin-analytics": "^1.12.0",
|
|
38
|
+
"@atlaskit/editor-plugin-decorations": "^1.5.0",
|
|
39
|
+
"@atlaskit/editor-plugin-emoji": "^2.9.0",
|
|
40
|
+
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
41
41
|
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
42
42
|
"@atlaskit/emoji": "^67.13.0",
|
|
43
|
-
"@atlaskit/icon": "^23.
|
|
43
|
+
"@atlaskit/icon": "^23.7.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^1.0.0",
|
|
45
|
-
"@atlaskit/theme": "^
|
|
46
|
-
"@atlaskit/tmp-editor-statsig": "^2.
|
|
45
|
+
"@atlaskit/theme": "^15.0.0",
|
|
46
|
+
"@atlaskit/tmp-editor-statsig": "^2.43.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
48
48
|
"uuid": "^3.1.0"
|
|
49
49
|
},
|