@atlaskit/editor-plugin-guideline 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 +12 -0
- package/dist/cjs/guideline.js +6 -1
- package/dist/cjs/guidelineContainer.js +2 -0
- package/dist/cjs/plugin.js +2 -1
- package/dist/es2019/guideline.js +7 -1
- package/dist/es2019/guidelineContainer.js +3 -0
- package/dist/es2019/plugin.js +2 -0
- package/dist/esm/guideline.js +6 -0
- package/dist/esm/guidelineContainer.js +3 -0
- package/dist/esm/plugin.js +2 -0
- package/package.json +75 -75
package/CHANGELOG.md
CHANGED
package/dist/cjs/guideline.js
CHANGED
|
@@ -11,7 +11,7 @@ var _guideline = require("@atlaskit/editor-common/guideline");
|
|
|
11
11
|
var _colors = require("@atlaskit/theme/colors");
|
|
12
12
|
var _positionStyles = require("./positionStyles");
|
|
13
13
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /** @jsx jsx */
|
|
14
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
15
|
var basicGuidelineStyles = (0, _react.css)({
|
|
16
16
|
position: 'absolute',
|
|
17
17
|
zIndex: 0,
|
|
@@ -32,6 +32,7 @@ var horizontalStyles = (0, _react.css)({
|
|
|
32
32
|
});
|
|
33
33
|
var activeGuidelineStyles = (0, _react.css)({
|
|
34
34
|
borderColor: "var(--ds-border-focused, ".concat(_colors.B200, ")"),
|
|
35
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
35
36
|
'&:before, &:after': {
|
|
36
37
|
backgroundColor: "var(--ds-border-focused, ".concat(_colors.B200, ")")
|
|
37
38
|
}
|
|
@@ -43,6 +44,7 @@ var dashedGuidelineStyles = (0, _react.css)({
|
|
|
43
44
|
borderStyle: 'dashed'
|
|
44
45
|
});
|
|
45
46
|
var verticalCapStyles = (0, _react.css)({
|
|
47
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
46
48
|
'&:before, &:after': {
|
|
47
49
|
backgroundColor: "var(--ds-border-disabled, ".concat(_colors.N30A, ")"),
|
|
48
50
|
content: '""',
|
|
@@ -51,11 +53,13 @@ var verticalCapStyles = (0, _react.css)({
|
|
|
51
53
|
width: '1px',
|
|
52
54
|
transform: 'translateY(-50%)'
|
|
53
55
|
},
|
|
56
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
54
57
|
'&:after': {
|
|
55
58
|
right: 0
|
|
56
59
|
}
|
|
57
60
|
});
|
|
58
61
|
var horizontalCapStyles = (0, _react.css)({
|
|
62
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
59
63
|
'&:before, &:after': {
|
|
60
64
|
backgroundColor: "".concat("var(--ds-border-disabled, ".concat(_colors.N30A, ")")),
|
|
61
65
|
content: '""',
|
|
@@ -64,6 +68,7 @@ var horizontalCapStyles = (0, _react.css)({
|
|
|
64
68
|
width: '5px',
|
|
65
69
|
transform: 'translateX(-50%)'
|
|
66
70
|
},
|
|
71
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
67
72
|
'&:after': {
|
|
68
73
|
bottom: 0
|
|
69
74
|
}
|
|
@@ -16,6 +16,7 @@ var _constants = require("./constants");
|
|
|
16
16
|
var _guideline = require("./guideline");
|
|
17
17
|
var _excluded = ["key"];
|
|
18
18
|
/** @jsx jsx */
|
|
19
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
19
20
|
var guidelineContainerStyles = (0, _react2.css)({
|
|
20
21
|
position: 'fixed',
|
|
21
22
|
height: '100vh',
|
|
@@ -23,6 +24,7 @@ var guidelineContainerStyles = (0, _react2.css)({
|
|
|
23
24
|
display: 'grid',
|
|
24
25
|
pointerEvents: 'none',
|
|
25
26
|
border: 'none',
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
26
28
|
maxWidth: "".concat(_editorSharedStyles.akEditorFullWidthLayoutWidth, "px")
|
|
27
29
|
});
|
|
28
30
|
var GuidelineContainer = exports.GuidelineContainer = function GuidelineContainer(props) {
|
package/dist/cjs/plugin.js
CHANGED
|
@@ -13,13 +13,14 @@ var _state = require("@atlaskit/editor-prosemirror/state");
|
|
|
13
13
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
14
14
|
var _guidelineContainer = require("./guidelineContainer");
|
|
15
15
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
16
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /** @jsx jsx */
|
|
16
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /** @jsx jsx */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
17
|
var guidelineStyles = (0, _react.css)({
|
|
18
18
|
position: 'absolute',
|
|
19
19
|
width: '100%',
|
|
20
20
|
left: 0,
|
|
21
21
|
right: 0,
|
|
22
22
|
transform: "scale(1)",
|
|
23
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
23
24
|
zIndex: "".concat(_editorSharedStyles.akEditorGridLineZIndex, ";"),
|
|
24
25
|
display: 'flex',
|
|
25
26
|
justifyContent: 'center'
|
package/dist/es2019/guideline.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css, jsx } from '@emotion/react';
|
|
3
4
|
import { isVerticalPosition } from '@atlaskit/editor-common/guideline';
|
|
4
5
|
import { B200, N30A } from '@atlaskit/theme/colors';
|
|
@@ -23,6 +24,7 @@ const horizontalStyles = css({
|
|
|
23
24
|
});
|
|
24
25
|
const activeGuidelineStyles = css({
|
|
25
26
|
borderColor: `var(--ds-border-focused, ${B200})`,
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
26
28
|
'&:before, &:after': {
|
|
27
29
|
backgroundColor: `var(--ds-border-focused, ${B200})`
|
|
28
30
|
}
|
|
@@ -34,6 +36,7 @@ const dashedGuidelineStyles = css({
|
|
|
34
36
|
borderStyle: 'dashed'
|
|
35
37
|
});
|
|
36
38
|
const verticalCapStyles = css({
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
37
40
|
'&:before, &:after': {
|
|
38
41
|
backgroundColor: `var(--ds-border-disabled, ${N30A})`,
|
|
39
42
|
content: '""',
|
|
@@ -42,11 +45,13 @@ const verticalCapStyles = css({
|
|
|
42
45
|
width: '1px',
|
|
43
46
|
transform: 'translateY(-50%)'
|
|
44
47
|
},
|
|
48
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
45
49
|
'&:after': {
|
|
46
50
|
right: 0
|
|
47
51
|
}
|
|
48
52
|
});
|
|
49
53
|
const horizontalCapStyles = css({
|
|
54
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
50
55
|
'&:before, &:after': {
|
|
51
56
|
backgroundColor: `${`var(--ds-border-disabled, ${N30A})`}`,
|
|
52
57
|
content: '""',
|
|
@@ -55,6 +60,7 @@ const horizontalCapStyles = css({
|
|
|
55
60
|
width: '5px',
|
|
56
61
|
transform: 'translateX(-50%)'
|
|
57
62
|
},
|
|
63
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
58
64
|
'&:after': {
|
|
59
65
|
bottom: 0
|
|
60
66
|
}
|
|
@@ -79,7 +85,7 @@ export const Guideline = props => {
|
|
|
79
85
|
...(color && {
|
|
80
86
|
borderColor: `${color}`
|
|
81
87
|
}),
|
|
82
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
88
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
83
89
|
...getPositionStyles(position)
|
|
84
90
|
}
|
|
85
91
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
/** @jsx jsx */
|
|
3
3
|
import { useLayoutEffect, useRef, useState } from 'react';
|
|
4
|
+
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
6
|
import { css, jsx } from '@emotion/react';
|
|
5
7
|
import { akEditorFullWidthLayoutWidth } from '@atlaskit/editor-shared-styles';
|
|
6
8
|
import { VAR_POSITION_OFFSET_X, VAR_POSITION_OFFSET_Y } from './constants';
|
|
@@ -12,6 +14,7 @@ const guidelineContainerStyles = css({
|
|
|
12
14
|
display: 'grid',
|
|
13
15
|
pointerEvents: 'none',
|
|
14
16
|
border: 'none',
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
15
18
|
maxWidth: `${akEditorFullWidthLayoutWidth}px`
|
|
16
19
|
});
|
|
17
20
|
export const GuidelineContainer = props => {
|
package/dist/es2019/plugin.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css, jsx } from '@emotion/react';
|
|
3
4
|
import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
|
|
4
5
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
@@ -11,6 +12,7 @@ const guidelineStyles = css({
|
|
|
11
12
|
left: 0,
|
|
12
13
|
right: 0,
|
|
13
14
|
transform: `scale(1)`,
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
14
16
|
zIndex: `${akEditorGridLineZIndex};`,
|
|
15
17
|
display: 'flex',
|
|
16
18
|
justifyContent: 'center'
|
package/dist/esm/guideline.js
CHANGED
|
@@ -2,6 +2,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
/** @jsx jsx */
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
6
|
import { css, jsx } from '@emotion/react';
|
|
6
7
|
import { isVerticalPosition } from '@atlaskit/editor-common/guideline';
|
|
7
8
|
import { B200, N30A } from '@atlaskit/theme/colors';
|
|
@@ -26,6 +27,7 @@ var horizontalStyles = css({
|
|
|
26
27
|
});
|
|
27
28
|
var activeGuidelineStyles = css({
|
|
28
29
|
borderColor: "var(--ds-border-focused, ".concat(B200, ")"),
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
29
31
|
'&:before, &:after': {
|
|
30
32
|
backgroundColor: "var(--ds-border-focused, ".concat(B200, ")")
|
|
31
33
|
}
|
|
@@ -37,6 +39,7 @@ var dashedGuidelineStyles = css({
|
|
|
37
39
|
borderStyle: 'dashed'
|
|
38
40
|
});
|
|
39
41
|
var verticalCapStyles = css({
|
|
42
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
40
43
|
'&:before, &:after': {
|
|
41
44
|
backgroundColor: "var(--ds-border-disabled, ".concat(N30A, ")"),
|
|
42
45
|
content: '""',
|
|
@@ -45,11 +48,13 @@ var verticalCapStyles = css({
|
|
|
45
48
|
width: '1px',
|
|
46
49
|
transform: 'translateY(-50%)'
|
|
47
50
|
},
|
|
51
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
48
52
|
'&:after': {
|
|
49
53
|
right: 0
|
|
50
54
|
}
|
|
51
55
|
});
|
|
52
56
|
var horizontalCapStyles = css({
|
|
57
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
53
58
|
'&:before, &:after': {
|
|
54
59
|
backgroundColor: "".concat("var(--ds-border-disabled, ".concat(N30A, ")")),
|
|
55
60
|
content: '""',
|
|
@@ -58,6 +63,7 @@ var horizontalCapStyles = css({
|
|
|
58
63
|
width: '5px',
|
|
59
64
|
transform: 'translateX(-50%)'
|
|
60
65
|
},
|
|
66
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
61
67
|
'&:after': {
|
|
62
68
|
bottom: 0
|
|
63
69
|
}
|
|
@@ -5,6 +5,8 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
5
5
|
var _excluded = ["key"];
|
|
6
6
|
/** @jsx jsx */
|
|
7
7
|
import { useLayoutEffect, useRef, useState } from 'react';
|
|
8
|
+
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
10
|
import { css, jsx } from '@emotion/react';
|
|
9
11
|
import { akEditorFullWidthLayoutWidth } from '@atlaskit/editor-shared-styles';
|
|
10
12
|
import { VAR_POSITION_OFFSET_X, VAR_POSITION_OFFSET_Y } from './constants';
|
|
@@ -16,6 +18,7 @@ var guidelineContainerStyles = css({
|
|
|
16
18
|
display: 'grid',
|
|
17
19
|
pointerEvents: 'none',
|
|
18
20
|
border: 'none',
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
19
22
|
maxWidth: "".concat(akEditorFullWidthLayoutWidth, "px")
|
|
20
23
|
});
|
|
21
24
|
export var GuidelineContainer = function GuidelineContainer(props) {
|
package/dist/esm/plugin.js
CHANGED
|
@@ -2,6 +2,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
/** @jsx jsx */
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
6
|
import { css, jsx } from '@emotion/react';
|
|
6
7
|
import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
|
|
7
8
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
@@ -14,6 +15,7 @@ var guidelineStyles = css({
|
|
|
14
15
|
left: 0,
|
|
15
16
|
right: 0,
|
|
16
17
|
transform: "scale(1)",
|
|
18
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
17
19
|
zIndex: "".concat(akEditorGridLineZIndex, ";"),
|
|
18
20
|
display: 'flex',
|
|
19
21
|
justifyContent: 'center'
|
package/package.json
CHANGED
|
@@ -1,76 +1,76 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}
|
|
2
|
+
"name": "@atlaskit/editor-plugin-guideline",
|
|
3
|
+
"version": "1.1.7",
|
|
4
|
+
"description": "guideline 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
|
+
"@atlaskit/theme": "^12.11.0",
|
|
32
|
+
"@atlaskit/tokens": "^1.53.0",
|
|
33
|
+
"@babel/runtime": "^7.0.0",
|
|
34
|
+
"@emotion/react": "^11.7.1"
|
|
35
|
+
},
|
|
36
|
+
"peerDependencies": {
|
|
37
|
+
"react": "^16.8.0"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@af/visual-regression": "*",
|
|
41
|
+
"@testing-library/react": "^12.1.5",
|
|
42
|
+
"react-dom": "^16.8.0",
|
|
43
|
+
"typescript": "~5.4.2",
|
|
44
|
+
"wait-for-expect": "^1.2.0"
|
|
45
|
+
},
|
|
46
|
+
"techstack": {
|
|
47
|
+
"@atlassian/frontend": {
|
|
48
|
+
"import-structure": [
|
|
49
|
+
"atlassian-conventions"
|
|
50
|
+
],
|
|
51
|
+
"circular-dependencies": [
|
|
52
|
+
"file-and-folder-level"
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"@repo/internal": {
|
|
56
|
+
"dom-events": "use-bind-event-listener",
|
|
57
|
+
"analytics": [
|
|
58
|
+
"analytics-next"
|
|
59
|
+
],
|
|
60
|
+
"design-tokens": [
|
|
61
|
+
"color"
|
|
62
|
+
],
|
|
63
|
+
"theming": [
|
|
64
|
+
"react-context"
|
|
65
|
+
],
|
|
66
|
+
"ui-components": [
|
|
67
|
+
"lite-mode"
|
|
68
|
+
],
|
|
69
|
+
"deprecation": "no-deprecated-imports",
|
|
70
|
+
"styling": [
|
|
71
|
+
"emotion",
|
|
72
|
+
"emotion"
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|