@atlaskit/editor-plugin-panel 5.3.3 → 5.3.5

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,21 @@
1
1
  # @atlaskit/editor-plugin-panel
2
2
 
3
+ ## 5.3.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`57b19274b9fdd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/57b19274b9fdd) -
8
+ EDITOR-1373 Bump adf-schema version
9
+ - Updated dependencies
10
+
11
+ ## 5.3.4
12
+
13
+ ### Patch Changes
14
+
15
+ - [`9f69369cd05b8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9f69369cd05b8) -
16
+ Make wrap command more resilient
17
+ - Updated dependencies
18
+
3
19
  ## 5.3.3
4
20
 
5
21
  ### 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",
3
+ "version": "5.3.5",
4
4
  "description": "Panel plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -30,24 +30,24 @@
30
30
  ".": "./src/index.ts"
31
31
  },
32
32
  "dependencies": {
33
- "@atlaskit/adf-schema": "^50.2.0",
33
+ "@atlaskit/adf-schema": "^50.2.1",
34
34
  "@atlaskit/editor-palette": "^2.1.0",
35
35
  "@atlaskit/editor-plugin-analytics": "^3.0.0",
36
36
  "@atlaskit/editor-plugin-decorations": "^3.0.0",
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.4.0",
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.1.0",
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"
48
48
  },
49
49
  "peerDependencies": {
50
- "@atlaskit/editor-common": "^107.25.0",
50
+ "@atlaskit/editor-common": "^107.26.0",
51
51
  "react": "^18.2.0",
52
52
  "react-dom": "^18.2.0",
53
53
  "react-intl-next": "npm:react-intl@^5.18.1"