@atlaskit/editor-plugin-selection-marker 1.3.8 → 1.3.10
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
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.GlobalStylesWrapper = void 0;
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
/** @jsx jsx */
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles, @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* Unset the selection background color as we are using our own
|
|
@@ -17,7 +18,7 @@ var _react = require("@emotion/react");
|
|
|
17
18
|
* - We do not apply this reset when the editor is disabled
|
|
18
19
|
*/
|
|
19
20
|
var globalStyles = (0, _react.css)({
|
|
20
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
21
22
|
'.ProseMirror:not(:focus):not([contenteditable="false"]) ::selection:not(input)': {
|
|
22
23
|
background: 'unset'
|
|
23
24
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles, @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css, Global, jsx } from '@emotion/react';
|
|
3
4
|
|
|
4
5
|
/**
|
|
@@ -11,7 +12,7 @@ import { css, Global, jsx } from '@emotion/react';
|
|
|
11
12
|
* - We do not apply this reset when the editor is disabled
|
|
12
13
|
*/
|
|
13
14
|
const globalStyles = css({
|
|
14
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
15
16
|
'.ProseMirror:not(:focus):not([contenteditable="false"]) ::selection:not(input)': {
|
|
16
17
|
background: 'unset'
|
|
17
18
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-global-styles, @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css, Global, jsx } from '@emotion/react';
|
|
3
4
|
|
|
4
5
|
/**
|
|
@@ -11,7 +12,7 @@ import { css, Global, jsx } from '@emotion/react';
|
|
|
11
12
|
* - We do not apply this reset when the editor is disabled
|
|
12
13
|
*/
|
|
13
14
|
var globalStyles = css({
|
|
14
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
15
16
|
'.ProseMirror:not(:focus):not([contenteditable="false"]) ::selection:not(input)': {
|
|
16
17
|
background: 'unset'
|
|
17
18
|
}
|
package/package.json
CHANGED
|
@@ -1,92 +1,92 @@
|
|
|
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
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}
|
|
2
|
+
"name": "@atlaskit/editor-plugin-selection-marker",
|
|
3
|
+
"version": "1.3.10",
|
|
4
|
+
"description": "Selection marker 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: Lego",
|
|
12
|
+
"inPublicMirror": false,
|
|
13
|
+
"releaseModel": "continuous"
|
|
14
|
+
},
|
|
15
|
+
"repository": "https://stash.atlassian.com/projects/ATLASSIAN/repos/atlassian-frontend-monorepo",
|
|
16
|
+
"main": "dist/cjs/index.js",
|
|
17
|
+
"module": "dist/esm/index.js",
|
|
18
|
+
"module:es2019": "dist/es2019/index.js",
|
|
19
|
+
"types": "dist/types/index.d.ts",
|
|
20
|
+
"typesVersions": {
|
|
21
|
+
">=4.5 <4.9": {
|
|
22
|
+
"*": [
|
|
23
|
+
"dist/types-ts4.5/*",
|
|
24
|
+
"dist/types-ts4.5/index.d.ts"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"sideEffects": false,
|
|
29
|
+
"atlaskit:src": "src/index.ts",
|
|
30
|
+
"af:exports": {
|
|
31
|
+
".": "./src/index.ts"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@atlaskit/editor-common": "^82.9.0",
|
|
35
|
+
"@atlaskit/editor-plugin-editor-disabled": "^1.1.0",
|
|
36
|
+
"@atlaskit/editor-plugin-focus": "^1.2.0",
|
|
37
|
+
"@atlaskit/editor-plugin-type-ahead": "^1.2.0",
|
|
38
|
+
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
39
|
+
"@atlaskit/primitives": "^8.0.0",
|
|
40
|
+
"@atlaskit/theme": "^12.10.0",
|
|
41
|
+
"@atlaskit/tokens": "^1.51.0",
|
|
42
|
+
"@babel/runtime": "^7.0.0",
|
|
43
|
+
"@emotion/react": "^11.7.1"
|
|
44
|
+
},
|
|
45
|
+
"peerDependencies": {
|
|
46
|
+
"react": "^16.8.0",
|
|
47
|
+
"react-dom": "^16.8.0"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@af/integration-testing": "*",
|
|
51
|
+
"@af/visual-regression": "*",
|
|
52
|
+
"@atlaskit/ssr": "*",
|
|
53
|
+
"@atlaskit/visual-regression": "*",
|
|
54
|
+
"@testing-library/react": "^12.1.5",
|
|
55
|
+
"react-dom": "^16.8.0",
|
|
56
|
+
"typescript": "~5.4.2",
|
|
57
|
+
"wait-for-expect": "^1.2.0"
|
|
58
|
+
},
|
|
59
|
+
"techstack": {
|
|
60
|
+
"@atlassian/frontend": {
|
|
61
|
+
"import-structure": [
|
|
62
|
+
"atlassian-conventions"
|
|
63
|
+
],
|
|
64
|
+
"circular-dependencies": [
|
|
65
|
+
"file-and-folder-level"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
"@repo/internal": {
|
|
69
|
+
"dom-events": "use-bind-event-listener",
|
|
70
|
+
"analytics": [
|
|
71
|
+
"analytics-next"
|
|
72
|
+
],
|
|
73
|
+
"design-tokens": [
|
|
74
|
+
"color"
|
|
75
|
+
],
|
|
76
|
+
"theming": [
|
|
77
|
+
"react-context"
|
|
78
|
+
],
|
|
79
|
+
"ui-components": [
|
|
80
|
+
"lite-mode"
|
|
81
|
+
],
|
|
82
|
+
"deprecation": "no-deprecated-imports",
|
|
83
|
+
"styling": [
|
|
84
|
+
"emotion",
|
|
85
|
+
"compiled"
|
|
86
|
+
],
|
|
87
|
+
"imports": [
|
|
88
|
+
"import-no-extraneous-disable-for-examples-and-docs"
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|