@atlaskit/editor-plugin-grid 0.1.3 → 0.1.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,17 @@
1
1
  # @atlaskit/editor-plugin-grid
2
2
 
3
+ ## 0.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 0.1.4
10
+
11
+ ### Patch Changes
12
+
13
+ - [`4e6f1bf8511`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e6f1bf8511) - [ED-19233] Import prosemirror libraries from internal facade package
14
+
3
15
  ## 0.1.3
4
16
 
5
17
  ### Patch Changes
@@ -10,13 +10,13 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
10
10
  var _react = _interopRequireDefault(require("react"));
11
11
  var _react2 = require("@emotion/react");
12
12
  var _classnames = _interopRequireDefault(require("classnames"));
13
- var _prosemirrorState = require("prosemirror-state");
14
13
  var _hooks = require("@atlaskit/editor-common/hooks");
15
14
  var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
15
+ var _state = require("@atlaskit/editor-prosemirror/state");
16
16
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
17
17
  var GRID_SIZE = 12;
18
18
  exports.GRID_SIZE = GRID_SIZE;
19
- var key = new _prosemirrorState.PluginKey('gridPlugin');
19
+ var key = new _state.PluginKey('gridPlugin');
20
20
  var createDisplayGrid = function createDisplayGrid(view) {
21
21
  return function (props) {
22
22
  var dispatch = view.dispatch,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-grid",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "sideEffects": false
5
5
  }
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  import { withTheme } from '@emotion/react';
3
3
  import classnames from 'classnames';
4
- import { PluginKey } from 'prosemirror-state';
5
4
  import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
6
5
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
6
+ import { PluginKey } from '@atlaskit/editor-prosemirror/state';
7
7
  import { akEditorBreakoutPadding, akEditorFullPageMaxWidth, breakoutWideScaleRatio } from '@atlaskit/editor-shared-styles';
8
8
  export const GRID_SIZE = 12;
9
9
  const key = new PluginKey('gridPlugin');
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-grid",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "sideEffects": false
5
5
  }
@@ -3,9 +3,9 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import React from 'react';
4
4
  import { withTheme } from '@emotion/react';
5
5
  import classnames from 'classnames';
6
- import { PluginKey } from 'prosemirror-state';
7
6
  import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
8
7
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
8
+ import { PluginKey } from '@atlaskit/editor-prosemirror/state';
9
9
  import { akEditorBreakoutPadding, akEditorFullPageMaxWidth, breakoutWideScaleRatio } from '@atlaskit/editor-shared-styles';
10
10
  export var GRID_SIZE = 12;
11
11
  var key = new PluginKey('gridPlugin');
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-grid",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "sideEffects": false
5
5
  }
@@ -1,6 +1,6 @@
1
- import { EditorView } from 'prosemirror-view';
2
1
  import { NextEditorPlugin } from '@atlaskit/editor-common/types';
3
2
  import type { widthPlugin } from '@atlaskit/editor-plugin-width';
3
+ import { EditorView } from '@atlaskit/editor-prosemirror/view';
4
4
  import type { GridPluginState } from './types';
5
5
  export declare const GRID_SIZE = 12;
6
6
  type Required<T> = {
@@ -1,6 +1,6 @@
1
- import { EditorView } from 'prosemirror-view';
2
1
  import { NextEditorPlugin } from '@atlaskit/editor-common/types';
3
2
  import type { widthPlugin } from '@atlaskit/editor-plugin-width';
3
+ import { EditorView } from '@atlaskit/editor-prosemirror/view';
4
4
  import type { GridPluginState } from './types';
5
5
  export declare const GRID_SIZE = 12;
6
6
  type Required<T> = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-grid",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Grid plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -23,20 +23,19 @@
23
23
  ".": "./src/index.ts"
24
24
  },
25
25
  "dependencies": {
26
- "@atlaskit/editor-common": "^74.15.0",
26
+ "@atlaskit/editor-common": "^74.42.0",
27
27
  "@atlaskit/editor-plugin-width": "^0.1.0",
28
- "@atlaskit/editor-shared-styles": "^2.4.0",
28
+ "@atlaskit/editor-prosemirror": "1.1.0",
29
+ "@atlaskit/editor-shared-styles": "^2.6.0",
29
30
  "@babel/runtime": "^7.0.0",
30
31
  "@emotion/react": "^11.7.1",
31
- "classnames": "^2.2.5",
32
- "prosemirror-state": "1.3.4",
33
- "prosemirror-view": "1.23.7"
32
+ "classnames": "^2.2.5"
34
33
  },
35
34
  "peerDependencies": {
36
35
  "react": "^16.8.0"
37
36
  },
38
37
  "devDependencies": {
39
- "@atlaskit/editor-test-helpers": "^18.8.0",
38
+ "@atlaskit/editor-test-helpers": "^18.10.0",
40
39
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
41
40
  "@testing-library/react": "^12.1.5",
42
41
  "react-dom": "^16.8.0",
package/report.api.md CHANGED
@@ -15,7 +15,7 @@
15
15
  <!--SECTION START: Main Entry Types-->
16
16
 
17
17
  ```ts
18
- import { EditorView } from 'prosemirror-view';
18
+ import { EditorView } from '@atlaskit/editor-prosemirror/view';
19
19
  import type { GridType } from '@atlaskit/editor-common/types';
20
20
  import { NextEditorPlugin } from '@atlaskit/editor-common/types';
21
21
  import type { widthPlugin } from '@atlaskit/editor-plugin-width';
@@ -4,7 +4,7 @@
4
4
 
5
5
  ```ts
6
6
 
7
- import { EditorView } from 'prosemirror-view';
7
+ import { EditorView } from '@atlaskit/editor-prosemirror/view';
8
8
  import type { GridType } from '@atlaskit/editor-common/types';
9
9
  import { NextEditorPlugin } from '@atlaskit/editor-common/types';
10
10
  import type { widthPlugin } from '@atlaskit/editor-plugin-width';