@atlaskit/editor-plugin-insert-block 7.0.21 → 7.0.22

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-insert-block
2
2
 
3
+ ## 7.0.22
4
+
5
+ ### Patch Changes
6
+
7
+ - [`4d676bbdb3ce6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4d676bbdb3ce6) -
8
+ ts-ignore added temporarily to unblock local consumption for help-center, will be removed once
9
+ project refs are setup
10
+ - Updated dependencies
11
+
3
12
  ## 7.0.21
4
13
 
5
14
  ### Patch Changes
@@ -11,11 +11,13 @@ var toggleInsertBlockPmPlugin = exports.toggleInsertBlockPmPlugin = function tog
11
11
  return new _safePlugin.SafePlugin({
12
12
  key: toggleInsertBlockPmKey,
13
13
  state: {
14
+ // @ts-ignore - Workaround for help-center local consumption
14
15
  init: function init() {
15
16
  return {
16
17
  showElementBrowser: false
17
18
  };
18
19
  },
20
+ // @ts-ignore - Workaround for help-center local consumption
19
21
  apply: function apply(tr, pluginState) {
20
22
  var meta = tr.getMeta(toggleInsertBlockPmKey);
21
23
  if (!meta) {
@@ -4,11 +4,15 @@ export const toggleInsertBlockPmKey = new PluginKey('toggleInsertBlockPmKey');
4
4
  export const toggleInsertBlockPmPlugin = () => new SafePlugin({
5
5
  key: toggleInsertBlockPmKey,
6
6
  state: {
7
+ // @ts-ignore - Workaround for help-center local consumption
8
+
7
9
  init() {
8
10
  return {
9
11
  showElementBrowser: false
10
12
  };
11
13
  },
14
+ // @ts-ignore - Workaround for help-center local consumption
15
+
12
16
  apply(tr, pluginState) {
13
17
  const meta = tr.getMeta(toggleInsertBlockPmKey);
14
18
  if (!meta) {
@@ -5,11 +5,13 @@ export var toggleInsertBlockPmPlugin = function toggleInsertBlockPmPlugin() {
5
5
  return new SafePlugin({
6
6
  key: toggleInsertBlockPmKey,
7
7
  state: {
8
+ // @ts-ignore - Workaround for help-center local consumption
8
9
  init: function init() {
9
10
  return {
10
11
  showElementBrowser: false
11
12
  };
12
13
  },
14
+ // @ts-ignore - Workaround for help-center local consumption
13
15
  apply: function apply(tr, pluginState) {
14
16
  var meta = tr.getMeta(toggleInsertBlockPmKey);
15
17
  if (!meta) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-insert-block",
3
- "version": "7.0.21",
3
+ "version": "7.0.22",
4
4
  "description": "Insert block plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -52,24 +52,24 @@
52
52
  "@atlaskit/editor-plugin-quick-insert": "^6.0.0",
53
53
  "@atlaskit/editor-plugin-rule": "^6.1.0",
54
54
  "@atlaskit/editor-plugin-status": "^7.1.0",
55
- "@atlaskit/editor-plugin-table": "^15.3.0",
55
+ "@atlaskit/editor-plugin-table": "^15.4.0",
56
56
  "@atlaskit/editor-plugin-tasks-and-decisions": "^9.1.0",
57
57
  "@atlaskit/editor-plugin-toolbar": "^3.4.0",
58
58
  "@atlaskit/editor-plugin-type-ahead": "^6.5.0",
59
59
  "@atlaskit/editor-prosemirror": "7.0.0",
60
- "@atlaskit/editor-shared-styles": "^3.9.0",
60
+ "@atlaskit/editor-shared-styles": "^3.10.0",
61
61
  "@atlaskit/editor-toolbar": "^0.17.0",
62
62
  "@atlaskit/editor-toolbar-model": "^0.2.0",
63
- "@atlaskit/emoji": "^69.7.0",
63
+ "@atlaskit/emoji": "^69.8.0",
64
64
  "@atlaskit/heading": "^5.2.0",
65
65
  "@atlaskit/icon": "^29.0.0",
66
66
  "@atlaskit/icon-lab": "^5.12.0",
67
67
  "@atlaskit/platform-feature-flags": "^1.1.0",
68
- "@atlaskit/primitives": "^16.1.0",
68
+ "@atlaskit/primitives": "^16.3.0",
69
69
  "@atlaskit/theme": "^21.0.0",
70
- "@atlaskit/tmp-editor-statsig": "^13.35.0",
71
- "@atlaskit/tokens": "^8.0.0",
72
- "@atlaskit/tooltip": "^20.8.0",
70
+ "@atlaskit/tmp-editor-statsig": "^13.42.0",
71
+ "@atlaskit/tokens": "^8.3.0",
72
+ "@atlaskit/tooltip": "^20.10.0",
73
73
  "@babel/runtime": "^7.0.0",
74
74
  "@emotion/react": "^11.7.1",
75
75
  "bind-event-listener": "^3.0.0",
@@ -78,7 +78,7 @@
78
78
  "react-virtualized": "^9.22.6"
79
79
  },
80
80
  "peerDependencies": {
81
- "@atlaskit/editor-common": "^110.27.0",
81
+ "@atlaskit/editor-common": "^110.34.0",
82
82
  "react": "^18.2.0",
83
83
  "react-dom": "^18.2.0",
84
84
  "react-intl-next": "npm:react-intl@^5.18.1"