@atlaskit/editor-plugin-panel 5.3.3 → 5.3.4
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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-panel
|
|
2
2
|
|
|
3
|
+
## 5.3.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`9f69369cd05b8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9f69369cd05b8) -
|
|
8
|
+
Make wrap command more resilient
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 5.3.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -68,9 +68,9 @@ var PanelIcon = exports.PanelIcon = function PanelIcon(props) {
|
|
|
68
68
|
});
|
|
69
69
|
}
|
|
70
70
|
var Icon = panelIcons[panelType];
|
|
71
|
-
return /*#__PURE__*/_react.default.createElement(Icon, {
|
|
71
|
+
return Icon ? /*#__PURE__*/_react.default.createElement(Icon, {
|
|
72
72
|
label: "".concat(panelType, " panel")
|
|
73
|
-
});
|
|
73
|
+
}) : null;
|
|
74
74
|
};
|
|
75
75
|
var PanelNodeView = /*#__PURE__*/function () {
|
|
76
76
|
function PanelNodeView(node, view, getPos, pluginOptions, api, nodeViewPortalProviderAPI, providerFactory) {
|
|
@@ -65,9 +65,9 @@ export const PanelIcon = props => {
|
|
|
65
65
|
});
|
|
66
66
|
}
|
|
67
67
|
const Icon = panelIcons[panelType];
|
|
68
|
-
return /*#__PURE__*/React.createElement(Icon, {
|
|
68
|
+
return Icon ? /*#__PURE__*/React.createElement(Icon, {
|
|
69
69
|
label: `${panelType} panel`
|
|
70
|
-
});
|
|
70
|
+
}) : null;
|
|
71
71
|
};
|
|
72
72
|
class PanelNodeView {
|
|
73
73
|
constructor(node, view, getPos, pluginOptions, api, nodeViewPortalProviderAPI, providerFactory) {
|
|
@@ -62,9 +62,9 @@ export var PanelIcon = function PanelIcon(props) {
|
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
64
|
var Icon = panelIcons[panelType];
|
|
65
|
-
return /*#__PURE__*/React.createElement(Icon, {
|
|
65
|
+
return Icon ? /*#__PURE__*/React.createElement(Icon, {
|
|
66
66
|
label: "".concat(panelType, " panel")
|
|
67
|
-
});
|
|
67
|
+
}) : null;
|
|
68
68
|
};
|
|
69
69
|
var PanelNodeView = /*#__PURE__*/function () {
|
|
70
70
|
function PanelNodeView(node, view, getPos, pluginOptions, api, nodeViewPortalProviderAPI, providerFactory) {
|
|
@@ -18,7 +18,7 @@ interface PanelIconAttributes {
|
|
|
18
18
|
allowCustomPanel?: boolean;
|
|
19
19
|
pluginInjectionApi: ExtractInjectionAPI<PanelPlugin> | undefined;
|
|
20
20
|
}
|
|
21
|
-
export declare const PanelIcon: (props: PanelIconAttributes) => React.JSX.Element;
|
|
21
|
+
export declare const PanelIcon: (props: PanelIconAttributes) => React.JSX.Element | null;
|
|
22
22
|
declare class PanelNodeView {
|
|
23
23
|
node: PMNode;
|
|
24
24
|
dom: HTMLElement;
|
|
@@ -18,7 +18,7 @@ interface PanelIconAttributes {
|
|
|
18
18
|
allowCustomPanel?: boolean;
|
|
19
19
|
pluginInjectionApi: ExtractInjectionAPI<PanelPlugin> | undefined;
|
|
20
20
|
}
|
|
21
|
-
export declare const PanelIcon: (props: PanelIconAttributes) => React.JSX.Element;
|
|
21
|
+
export declare const PanelIcon: (props: PanelIconAttributes) => React.JSX.Element | null;
|
|
22
22
|
declare class PanelNodeView {
|
|
23
23
|
node: PMNode;
|
|
24
24
|
dom: HTMLElement;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-panel",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.4",
|
|
4
4
|
"description": "Panel plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
"@atlaskit/editor-plugin-emoji": "^4.2.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
39
39
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
40
|
-
"@atlaskit/emoji": "^69.
|
|
40
|
+
"@atlaskit/emoji": "^69.5.0",
|
|
41
41
|
"@atlaskit/icon": "^27.12.0",
|
|
42
42
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
43
43
|
"@atlaskit/theme": "^19.0.0",
|
|
44
|
-
"@atlaskit/tmp-editor-statsig": "^11.
|
|
44
|
+
"@atlaskit/tmp-editor-statsig": "^11.3.0",
|
|
45
45
|
"@atlaskit/tokens": "^6.0.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0",
|
|
47
47
|
"uuid": "^3.1.0"
|