@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 +6 -0
- package/dist/cjs/guidelinePlugin.js +4 -1
- package/dist/cjs/ui/guidelineContainer.js +3 -0
- package/dist/es2019/guidelinePlugin.js +4 -1
- package/dist/es2019/ui/guidelineContainer.js +3 -0
- package/dist/esm/guidelinePlugin.js +4 -1
- package/dist/esm/ui/guidelineContainer.js +3 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -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,
|
|
@@ -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.
|
|
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.
|
|
27
|
-
"@atlaskit/editor-plugin-width": "^
|
|
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",
|