@atlaskit/editor-plugin-block-menu 5.0.16 → 5.0.18

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,20 @@
1
1
  # @atlaskit/editor-plugin-block-menu
2
2
 
3
+ ## 5.0.18
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
+
12
+ ## 5.0.17
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
3
18
  ## 5.0.16
4
19
 
5
20
  ### Patch Changes
@@ -14,9 +14,12 @@ var createPlugin = exports.createPlugin = function createPlugin() {
14
14
  return new _safePlugin.SafePlugin({
15
15
  key: blockMenuPluginKey,
16
16
  state: {
17
+ // @ts-ignore - Workaround for help-center local consumption
17
18
  init: function init() {
18
19
  return {};
19
20
  },
21
+ // @ts-ignore - Workaround for help-center local consumption
22
+
20
23
  apply: function apply(tr, currentPluginState) {
21
24
  var meta = tr.getMeta(blockMenuPluginKey);
22
25
  if (meta) {
@@ -8,9 +8,13 @@ export const createPlugin = () => {
8
8
  return new SafePlugin({
9
9
  key: blockMenuPluginKey,
10
10
  state: {
11
+ // @ts-ignore - Workaround for help-center local consumption
12
+
11
13
  init() {
12
14
  return {};
13
15
  },
16
+ // @ts-ignore - Workaround for help-center local consumption
17
+
14
18
  apply: (tr, currentPluginState) => {
15
19
  const meta = tr.getMeta(blockMenuPluginKey);
16
20
  if (meta) {
@@ -8,9 +8,12 @@ export var createPlugin = function createPlugin() {
8
8
  return new SafePlugin({
9
9
  key: blockMenuPluginKey,
10
10
  state: {
11
+ // @ts-ignore - Workaround for help-center local consumption
11
12
  init: function init() {
12
13
  return {};
13
14
  },
15
+ // @ts-ignore - Workaround for help-center local consumption
16
+
14
17
  apply: function apply(tr, currentPluginState) {
15
18
  var meta = tr.getMeta(blockMenuPluginKey);
16
19
  if (meta) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-menu",
3
- "version": "5.0.16",
3
+ "version": "5.0.18",
4
4
  "description": "BlockMenu plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -28,7 +28,7 @@
28
28
  "sideEffects": false,
29
29
  "atlaskit:src": "src/index.ts",
30
30
  "dependencies": {
31
- "@atlaskit/css": "^0.16.0",
31
+ "@atlaskit/css": "^0.17.0",
32
32
  "@atlaskit/dropdown-menu": "^16.3.0",
33
33
  "@atlaskit/editor-plugin-analytics": "^6.2.0",
34
34
  "@atlaskit/editor-plugin-block-controls": "^7.7.0",
@@ -43,9 +43,9 @@
43
43
  "@atlaskit/icon-lab": "^5.12.0",
44
44
  "@atlaskit/platform-feature-flags": "^1.1.0",
45
45
  "@atlaskit/platform-feature-flags-react": "^0.4.0",
46
- "@atlaskit/primitives": "^16.2.0",
46
+ "@atlaskit/primitives": "^16.3.0",
47
47
  "@atlaskit/tmp-editor-statsig": "^13.42.0",
48
- "@atlaskit/tokens": "^8.2.0",
48
+ "@atlaskit/tokens": "^8.3.0",
49
49
  "@babel/runtime": "^7.0.0"
50
50
  },
51
51
  "peerDependencies": {