@atlaskit/editor-plugin-guideline 1.2.19 → 1.2.20

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,11 @@
1
1
  # @atlaskit/editor-plugin-guideline
2
2
 
3
+ ## 1.2.20
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 1.2.19
4
10
 
5
11
  ### Patch Changes
@@ -88,7 +88,10 @@ var ContentComponent = function ContentComponent(_ref) {
88
88
  return (0, _react.jsx)("div", {
89
89
  css: guidelineStyles
90
90
  }, (0, _react.jsx)(_guidelineContainer.GuidelineContainer, {
91
- guidelines: guidelineState.guidelines,
91
+ guidelines: guidelineState.guidelines
92
+ // Ignored via go/ees005
93
+ // eslint-disable-next-line @atlaskit/editor/no-as-casting
94
+ ,
92
95
  height: editorView.dom.scrollHeight,
93
96
  width: widthState.width,
94
97
  editorWidth: widthState.lineLength,
@@ -66,6 +66,9 @@ var GuidelineContainer = exports.GuidelineContainer = function GuidelineContaine
66
66
  }, guidelines.map(function (guideline) {
67
67
  var key = guideline.key,
68
68
  guidelineProps = (0, _objectWithoutProperties2.default)(guideline, _excluded);
69
+
70
+ // Ignored via go/ees005
71
+ // eslint-disable-next-line react/jsx-props-no-spreading
69
72
  return (0, _react2.jsx)(_guideline.Guideline, (0, _extends2.default)({
70
73
  key: key
71
74
  }, guidelineProps));
@@ -89,7 +89,10 @@ const ContentComponent = ({
89
89
  return jsx("div", {
90
90
  css: guidelineStyles
91
91
  }, jsx(GuidelineContainer, {
92
- guidelines: guidelineState.guidelines,
92
+ guidelines: guidelineState.guidelines
93
+ // Ignored via go/ees005
94
+ // eslint-disable-next-line @atlaskit/editor/no-as-casting
95
+ ,
93
96
  height: editorView.dom.scrollHeight,
94
97
  width: widthState.width,
95
98
  editorWidth: widthState.lineLength,
@@ -61,6 +61,9 @@ export const GuidelineContainer = props => {
61
61
  key,
62
62
  ...guidelineProps
63
63
  } = guideline;
64
+
65
+ // Ignored via go/ees005
66
+ // eslint-disable-next-line react/jsx-props-no-spreading
64
67
  return jsx(Guideline, _extends({
65
68
  key: key
66
69
  }, guidelineProps));
@@ -83,7 +83,10 @@ var ContentComponent = function ContentComponent(_ref) {
83
83
  return jsx("div", {
84
84
  css: guidelineStyles
85
85
  }, jsx(GuidelineContainer, {
86
- guidelines: guidelineState.guidelines,
86
+ guidelines: guidelineState.guidelines
87
+ // Ignored via go/ees005
88
+ // eslint-disable-next-line @atlaskit/editor/no-as-casting
89
+ ,
87
90
  height: editorView.dom.scrollHeight,
88
91
  width: widthState.width,
89
92
  editorWidth: widthState.lineLength,
@@ -60,6 +60,9 @@ export var GuidelineContainer = function GuidelineContainer(props) {
60
60
  }, guidelines.map(function (guideline) {
61
61
  var key = guideline.key,
62
62
  guidelineProps = _objectWithoutProperties(guideline, _excluded);
63
+
64
+ // Ignored via go/ees005
65
+ // eslint-disable-next-line react/jsx-props-no-spreading
63
66
  return jsx(Guideline, _extends({
64
67
  key: key
65
68
  }, guidelineProps));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-guideline",
3
- "version": "1.2.19",
3
+ "version": "1.2.20",
4
4
  "description": "guideline plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -23,8 +23,8 @@
23
23
  ".": "./src/index.ts"
24
24
  },
25
25
  "dependencies": {
26
- "@atlaskit/editor-common": "^97.0.0",
27
- "@atlaskit/editor-plugin-width": "^1.3.0",
26
+ "@atlaskit/editor-common": "^97.2.0",
27
+ "@atlaskit/editor-plugin-width": "^2.0.0",
28
28
  "@atlaskit/editor-prosemirror": "6.2.1",
29
29
  "@atlaskit/editor-shared-styles": "^3.2.0",
30
30
  "@atlaskit/theme": "^14.0.0",