@atlaskit/editor-plugin-guideline 6.0.2 → 6.0.3

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-guideline
2
2
 
3
+ ## 6.0.3
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
  ## 6.0.2
4
13
 
5
14
  ### Patch Changes
@@ -44,9 +44,11 @@ var EMPTY_STATE = exports.EMPTY_STATE = {
44
44
  var guidelinePMPlugin = new _safePlugin.SafePlugin({
45
45
  key: key,
46
46
  state: {
47
+ // @ts-ignore - Workaround for help-center local consumption
47
48
  init: function init() {
48
49
  return EMPTY_STATE;
49
50
  },
51
+ // @ts-ignore - Workaround for help-center local consumption
50
52
  apply: function apply(tr, currentPluginState) {
51
53
  var nextPluginState = tr.getMeta(key);
52
54
  if (nextPluginState) {
@@ -36,9 +36,13 @@ export const EMPTY_STATE = {
36
36
  const guidelinePMPlugin = new SafePlugin({
37
37
  key,
38
38
  state: {
39
+ // @ts-ignore - Workaround for help-center local consumption
40
+
39
41
  init() {
40
42
  return EMPTY_STATE;
41
43
  },
44
+ // @ts-ignore - Workaround for help-center local consumption
45
+
42
46
  apply(tr, currentPluginState) {
43
47
  const nextPluginState = tr.getMeta(key);
44
48
  if (nextPluginState) {
@@ -39,9 +39,11 @@ export var EMPTY_STATE = {
39
39
  var guidelinePMPlugin = new SafePlugin({
40
40
  key: key,
41
41
  state: {
42
+ // @ts-ignore - Workaround for help-center local consumption
42
43
  init: function init() {
43
44
  return EMPTY_STATE;
44
45
  },
46
+ // @ts-ignore - Workaround for help-center local consumption
45
47
  apply: function apply(tr, currentPluginState) {
46
48
  var nextPluginState = tr.getMeta(key);
47
49
  if (nextPluginState) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-guideline",
3
- "version": "6.0.2",
3
+ "version": "6.0.3",
4
4
  "description": "guideline plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -23,14 +23,14 @@
23
23
  "dependencies": {
24
24
  "@atlaskit/editor-plugin-width": "^7.0.0",
25
25
  "@atlaskit/editor-prosemirror": "7.0.0",
26
- "@atlaskit/editor-shared-styles": "^3.8.0",
26
+ "@atlaskit/editor-shared-styles": "^3.10.0",
27
27
  "@atlaskit/theme": "^21.0.0",
28
- "@atlaskit/tokens": "^8.0.0",
28
+ "@atlaskit/tokens": "^8.3.0",
29
29
  "@babel/runtime": "^7.0.0",
30
30
  "@emotion/react": "^11.7.1"
31
31
  },
32
32
  "peerDependencies": {
33
- "@atlaskit/editor-common": "^110.24.0",
33
+ "@atlaskit/editor-common": "^110.34.0",
34
34
  "react": "^18.2.0",
35
35
  "react-dom": "^18.2.0"
36
36
  },