@atlaskit/editor-plugin-grid 0.1.1 → 0.1.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,18 @@
1
1
  # @atlaskit/editor-plugin-grid
2
2
 
3
+ ## 0.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`5f5ba16de66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f5ba16de66) - [ED-13910] Fix prosemirror types
8
+
9
+ ## 0.1.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`73b5128036b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/73b5128036b) - [ED-17082] Mark package as a singleton one
14
+ - Updated dependencies
15
+
3
16
  ## 0.1.1
4
17
 
5
18
  ### Patch Changes
@@ -150,7 +150,7 @@ var gridPlugin = function gridPlugin(options, api) {
150
150
  if (!editorState) {
151
151
  return null;
152
152
  }
153
- return key.getState(editorState);
153
+ return key.getState(editorState) || null;
154
154
  },
155
155
  actions: {
156
156
  displayGrid: createDisplayGrid
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-grid",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "sideEffects": false
5
5
  }
@@ -141,7 +141,7 @@ export const gridPlugin = (options, api) => {
141
141
  if (!editorState) {
142
142
  return null;
143
143
  }
144
- return key.getState(editorState);
144
+ return key.getState(editorState) || null;
145
145
  },
146
146
  actions: {
147
147
  displayGrid: createDisplayGrid
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-grid",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "sideEffects": false
5
5
  }
@@ -142,7 +142,7 @@ export var gridPlugin = function gridPlugin(options, api) {
142
142
  if (!editorState) {
143
143
  return null;
144
144
  }
145
- return key.getState(editorState);
145
+ return key.getState(editorState) || null;
146
146
  },
147
147
  actions: {
148
148
  displayGrid: createDisplayGrid
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-grid",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-grid",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Grid plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -9,6 +9,7 @@
9
9
  },
10
10
  "atlassian": {
11
11
  "team": "Editor",
12
+ "singleton": true,
12
13
  "releaseModel": "continuous"
13
14
  },
14
15
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend",
@@ -22,7 +23,7 @@
22
23
  ".": "./src/index.ts"
23
24
  },
24
25
  "dependencies": {
25
- "@atlaskit/editor-common": "^74.5.0",
26
+ "@atlaskit/editor-common": "^74.15.0",
26
27
  "@atlaskit/editor-plugin-width": "^0.1.0",
27
28
  "@atlaskit/editor-shared-styles": "^2.4.0",
28
29
  "@babel/runtime": "^7.0.0",
@@ -35,12 +36,7 @@
35
36
  "react": "^16.8.0"
36
37
  },
37
38
  "devDependencies": {
38
- "@atlaskit/docs": "*",
39
- "@atlaskit/editor-core": "^185.1.0",
40
- "@atlaskit/editor-test-helpers": "^18.5.0",
41
- "@atlaskit/ssr": "*",
42
- "@atlaskit/visual-regression": "*",
43
- "@atlaskit/webdriver-runner": "*",
39
+ "@atlaskit/editor-test-helpers": "^18.8.0",
44
40
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
45
41
  "@testing-library/react": "^12.1.5",
46
42
  "react-dom": "^16.8.0",