@atlaskit/editor-plugin-grid 1.1.5 → 1.1.7

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
+ ## 1.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.1.6
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 1.1.5
4
16
 
5
17
  ### Patch Changes
@@ -14,6 +14,8 @@ var _hooks = require("@atlaskit/editor-common/hooks");
14
14
  var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
15
15
  var _state = require("@atlaskit/editor-prosemirror/state");
16
16
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
17
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
18
+
17
19
  var GRID_SIZE = exports.GRID_SIZE = 12;
18
20
  var key = new _state.PluginKey('gridPlugin');
19
21
  var createDisplayGrid = function createDisplayGrid(view) {
@@ -1,4 +1,6 @@
1
1
  import React from 'react';
2
+
3
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
2
4
  import { withTheme } from '@emotion/react';
3
5
  import classnames from 'classnames';
4
6
  import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
@@ -57,6 +59,7 @@ const gutterGridLines = (editorMaxWidth, editorWidth, highlights, shouldCalcBrea
57
59
  style: {
58
60
  // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
59
61
  position: 'absolute',
62
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
60
63
  [side]: `-${(editorWidth - editorMaxWidth - akEditorBreakoutPadding) / 2}px`
61
64
  }
62
65
  }));
@@ -1,6 +1,8 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
3
3
  import React from 'react';
4
+
5
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
6
  import { withTheme } from '@emotion/react';
5
7
  import classnames from 'classnames';
6
8
  import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
package/package.json CHANGED
@@ -1,74 +1,74 @@
1
1
  {
2
- "name": "@atlaskit/editor-plugin-grid",
3
- "version": "1.1.5",
4
- "description": "Grid plugin for @atlaskit/editor-core",
5
- "author": "Atlassian Pty Ltd",
6
- "license": "Apache-2.0",
7
- "publishConfig": {
8
- "registry": "https://registry.npmjs.org/"
9
- },
10
- "atlassian": {
11
- "team": "Editor: Media Experience Porygon",
12
- "singleton": true,
13
- "releaseModel": "continuous",
14
- "runReact18": false
15
- },
16
- "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
17
- "main": "dist/cjs/index.js",
18
- "module": "dist/esm/index.js",
19
- "module:es2019": "dist/es2019/index.js",
20
- "types": "dist/types/index.d.ts",
21
- "sideEffects": false,
22
- "atlaskit:src": "src/index.ts",
23
- "af:exports": {
24
- ".": "./src/index.ts"
25
- },
26
- "dependencies": {
27
- "@atlaskit/editor-common": "^82.0.0",
28
- "@atlaskit/editor-plugin-width": "^1.1.0",
29
- "@atlaskit/editor-prosemirror": "4.0.1",
30
- "@atlaskit/editor-shared-styles": "^2.12.0",
31
- "@babel/runtime": "^7.0.0",
32
- "@emotion/react": "^11.7.1",
33
- "classnames": "^2.2.5"
34
- },
35
- "peerDependencies": {
36
- "react": "^16.8.0"
37
- },
38
- "devDependencies": {
39
- "@testing-library/react": "^12.1.5",
40
- "react-dom": "^16.8.0",
41
- "typescript": "~5.4.2",
42
- "wait-for-expect": "^1.2.0"
43
- },
44
- "techstack": {
45
- "@atlassian/frontend": {
46
- "import-structure": [
47
- "atlassian-conventions"
48
- ],
49
- "circular-dependencies": [
50
- "file-and-folder-level"
51
- ]
52
- },
53
- "@repo/internal": {
54
- "dom-events": "use-bind-event-listener",
55
- "analytics": [
56
- "analytics-next"
57
- ],
58
- "design-tokens": [
59
- "color"
60
- ],
61
- "theming": [
62
- "react-context"
63
- ],
64
- "ui-components": [
65
- "lite-mode"
66
- ],
67
- "deprecation": "no-deprecated-imports",
68
- "styling": [
69
- "emotion",
70
- "emotion"
71
- ]
72
- }
73
- }
74
- }
2
+ "name": "@atlaskit/editor-plugin-grid",
3
+ "version": "1.1.7",
4
+ "description": "Grid plugin for @atlaskit/editor-core",
5
+ "author": "Atlassian Pty Ltd",
6
+ "license": "Apache-2.0",
7
+ "publishConfig": {
8
+ "registry": "https://registry.npmjs.org/"
9
+ },
10
+ "atlassian": {
11
+ "team": "Editor: Media Experience Porygon",
12
+ "singleton": true,
13
+ "releaseModel": "continuous",
14
+ "runReact18": false
15
+ },
16
+ "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
17
+ "main": "dist/cjs/index.js",
18
+ "module": "dist/esm/index.js",
19
+ "module:es2019": "dist/es2019/index.js",
20
+ "types": "dist/types/index.d.ts",
21
+ "sideEffects": false,
22
+ "atlaskit:src": "src/index.ts",
23
+ "af:exports": {
24
+ ".": "./src/index.ts"
25
+ },
26
+ "dependencies": {
27
+ "@atlaskit/editor-common": "^84.0.0",
28
+ "@atlaskit/editor-plugin-width": "^1.1.0",
29
+ "@atlaskit/editor-prosemirror": "4.0.1",
30
+ "@atlaskit/editor-shared-styles": "^2.12.0",
31
+ "@babel/runtime": "^7.0.0",
32
+ "@emotion/react": "^11.7.1",
33
+ "classnames": "^2.2.5"
34
+ },
35
+ "peerDependencies": {
36
+ "react": "^16.8.0"
37
+ },
38
+ "devDependencies": {
39
+ "@testing-library/react": "^12.1.5",
40
+ "react-dom": "^16.8.0",
41
+ "typescript": "~5.4.2",
42
+ "wait-for-expect": "^1.2.0"
43
+ },
44
+ "techstack": {
45
+ "@atlassian/frontend": {
46
+ "import-structure": [
47
+ "atlassian-conventions"
48
+ ],
49
+ "circular-dependencies": [
50
+ "file-and-folder-level"
51
+ ]
52
+ },
53
+ "@repo/internal": {
54
+ "dom-events": "use-bind-event-listener",
55
+ "analytics": [
56
+ "analytics-next"
57
+ ],
58
+ "design-tokens": [
59
+ "color"
60
+ ],
61
+ "theming": [
62
+ "react-context"
63
+ ],
64
+ "ui-components": [
65
+ "lite-mode"
66
+ ],
67
+ "deprecation": "no-deprecated-imports",
68
+ "styling": [
69
+ "emotion",
70
+ "emotion"
71
+ ]
72
+ }
73
+ }
74
+ }