@atlaskit/editor-plugin-panel 3.1.1 → 3.1.2
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,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-panel
|
|
2
2
|
|
|
3
|
+
## 3.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#163321](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/163321)
|
|
8
|
+
[`9cbf3468984dc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9cbf3468984dc) -
|
|
9
|
+
ED-25609: migrates expand plugin ReactDOM references to portalprovider
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 3.1.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -123,8 +123,8 @@ var PanelNodeView = /*#__PURE__*/function () {
|
|
|
123
123
|
}]);
|
|
124
124
|
return PanelNodeView;
|
|
125
125
|
}();
|
|
126
|
-
var getPanelNodeView = exports.getPanelNodeView = function getPanelNodeView(pluginOptions, api,
|
|
126
|
+
var getPanelNodeView = exports.getPanelNodeView = function getPanelNodeView(pluginOptions, api, nodeViewPortalProviderAPI, providerFactory) {
|
|
127
127
|
return function (node, view, getPos) {
|
|
128
|
-
return new PanelNodeView(node, view, getPos, pluginOptions, api,
|
|
128
|
+
return new PanelNodeView(node, view, getPos, pluginOptions, api, nodeViewPortalProviderAPI, providerFactory);
|
|
129
129
|
};
|
|
130
130
|
};
|
|
@@ -109,6 +109,6 @@ class PanelNodeView {
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
-
export const getPanelNodeView = (pluginOptions, api,
|
|
113
|
-
return new PanelNodeView(node, view, getPos, pluginOptions, api,
|
|
112
|
+
export const getPanelNodeView = (pluginOptions, api, nodeViewPortalProviderAPI, providerFactory) => (node, view, getPos) => {
|
|
113
|
+
return new PanelNodeView(node, view, getPos, pluginOptions, api, nodeViewPortalProviderAPI, providerFactory);
|
|
114
114
|
};
|
|
@@ -116,8 +116,8 @@ var PanelNodeView = /*#__PURE__*/function () {
|
|
|
116
116
|
}]);
|
|
117
117
|
return PanelNodeView;
|
|
118
118
|
}();
|
|
119
|
-
export var getPanelNodeView = function getPanelNodeView(pluginOptions, api,
|
|
119
|
+
export var getPanelNodeView = function getPanelNodeView(pluginOptions, api, nodeViewPortalProviderAPI, providerFactory) {
|
|
120
120
|
return function (node, view, getPos) {
|
|
121
|
-
return new PanelNodeView(node, view, getPos, pluginOptions, api,
|
|
121
|
+
return new PanelNodeView(node, view, getPos, pluginOptions, api, nodeViewPortalProviderAPI, providerFactory);
|
|
122
122
|
};
|
|
123
123
|
};
|
|
@@ -37,5 +37,5 @@ declare class PanelNodeView {
|
|
|
37
37
|
}): boolean;
|
|
38
38
|
destroy(): void;
|
|
39
39
|
}
|
|
40
|
-
export declare const getPanelNodeView: (pluginOptions: PanelPluginOptions, api: ExtractInjectionAPI<PanelPlugin> | undefined,
|
|
40
|
+
export declare const getPanelNodeView: (pluginOptions: PanelPluginOptions, api: ExtractInjectionAPI<PanelPlugin> | undefined, nodeViewPortalProviderAPI: PortalProviderAPI, providerFactory?: ProviderFactory) => (node: Node, view: EditorView, getPos: getPosHandler) => PanelNodeView;
|
|
41
41
|
export {};
|
|
@@ -37,5 +37,5 @@ declare class PanelNodeView {
|
|
|
37
37
|
}): boolean;
|
|
38
38
|
destroy(): void;
|
|
39
39
|
}
|
|
40
|
-
export declare const getPanelNodeView: (pluginOptions: PanelPluginOptions, api: ExtractInjectionAPI<PanelPlugin> | undefined,
|
|
40
|
+
export declare const getPanelNodeView: (pluginOptions: PanelPluginOptions, api: ExtractInjectionAPI<PanelPlugin> | undefined, nodeViewPortalProviderAPI: PortalProviderAPI, providerFactory?: ProviderFactory) => (node: Node, 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.1.
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"description": "Panel plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/adf-schema": "^44.2.0",
|
|
35
|
-
"@atlaskit/editor-common": "^94.
|
|
35
|
+
"@atlaskit/editor-common": "^94.19.0",
|
|
36
36
|
"@atlaskit/editor-palette": "1.6.3",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^1.10.0",
|
|
38
38
|
"@atlaskit/editor-plugin-decorations": "^1.3.0",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@atlaskit/icon": "^22.24.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
45
45
|
"@atlaskit/theme": "^14.0.0",
|
|
46
|
-
"@atlaskit/tmp-editor-statsig": "^2.
|
|
46
|
+
"@atlaskit/tmp-editor-statsig": "^2.14.0",
|
|
47
47
|
"@babel/runtime": "^7.0.0",
|
|
48
48
|
"uuid": "^3.1.0"
|
|
49
49
|
},
|