@atlaskit/editor-plugin-selection 6.1.2 → 6.1.4
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 +13 -0
- package/dist/cjs/pm-plugins/mark-boundary-cursor/ui/mark-boundary-cursor-decoration.js +1 -1
- package/dist/cjs/pm-plugins/utils.js +1 -1
- package/dist/es2019/pm-plugins/mark-boundary-cursor/ui/mark-boundary-cursor-decoration.js +1 -1
- package/dist/es2019/pm-plugins/utils.js +1 -1
- package/dist/esm/pm-plugins/mark-boundary-cursor/ui/mark-boundary-cursor-decoration.js +1 -1
- package/dist/esm/pm-plugins/utils.js +1 -1
- package/package.json +6 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-selection
|
|
2
2
|
|
|
3
|
+
## 6.1.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`43fc1f554344a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/43fc1f554344a) -
|
|
8
|
+
[EDITOR-3092] fg platform_editor_fix_right_arrow_nav_bug_in_layout cleanup
|
|
9
|
+
|
|
10
|
+
## 6.1.3
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 6.1.2
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.createMarkBoundaryCursorDecoration = void 0;
|
|
7
7
|
var _view = require("@atlaskit/editor-prosemirror/view");
|
|
8
8
|
var containerStyle = "\n\tposition: relative;\n";
|
|
9
|
-
var caretStyle = "\n\tposition: absolute;\n\theight: 100%;\n\twidth: 1px;\n\tleft: -0.5px;\n\tbottom: 0;\n\tbackground-color: ".concat("var(--ds-text, #
|
|
9
|
+
var caretStyle = "\n\tposition: absolute;\n\theight: 100%;\n\twidth: 1px;\n\tleft: -0.5px;\n\tbottom: 0;\n\tbackground-color: ".concat("var(--ds-text, #292A2E)", ";\n");
|
|
10
10
|
var toDOM = function toDOM() {
|
|
11
11
|
var _caret$animate;
|
|
12
12
|
var container = document.createElement('span');
|
|
@@ -275,7 +275,7 @@ var isSelectionAtEndOfParentNode = exports.isSelectionAtEndOfParentNode = functi
|
|
|
275
275
|
}
|
|
276
276
|
|
|
277
277
|
// Handle layout columns: if another node follows, not at end
|
|
278
|
-
if (isSelectionAtEndOfLayoutColumn($pos)
|
|
278
|
+
if (isSelectionAtEndOfLayoutColumn($pos)) {
|
|
279
279
|
return false;
|
|
280
280
|
}
|
|
281
281
|
|
|
@@ -262,7 +262,7 @@ export const isSelectionAtEndOfParentNode = ($pos, selection) => {
|
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
// Handle layout columns: if another node follows, not at end
|
|
265
|
-
if (isSelectionAtEndOfLayoutColumn($pos)
|
|
265
|
+
if (isSelectionAtEndOfLayoutColumn($pos)) {
|
|
266
266
|
return false;
|
|
267
267
|
}
|
|
268
268
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Decoration } from '@atlaskit/editor-prosemirror/view';
|
|
2
2
|
var containerStyle = "\n\tposition: relative;\n";
|
|
3
|
-
var caretStyle = "\n\tposition: absolute;\n\theight: 100%;\n\twidth: 1px;\n\tleft: -0.5px;\n\tbottom: 0;\n\tbackground-color: ".concat("var(--ds-text, #
|
|
3
|
+
var caretStyle = "\n\tposition: absolute;\n\theight: 100%;\n\twidth: 1px;\n\tleft: -0.5px;\n\tbottom: 0;\n\tbackground-color: ".concat("var(--ds-text, #292A2E)", ";\n");
|
|
4
4
|
var toDOM = function toDOM() {
|
|
5
5
|
var _caret$animate;
|
|
6
6
|
var container = document.createElement('span');
|
|
@@ -267,7 +267,7 @@ export var isSelectionAtEndOfParentNode = function isSelectionAtEndOfParentNode(
|
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
// Handle layout columns: if another node follows, not at end
|
|
270
|
-
if (isSelectionAtEndOfLayoutColumn($pos)
|
|
270
|
+
if (isSelectionAtEndOfLayoutColumn($pos)) {
|
|
271
271
|
return false;
|
|
272
272
|
}
|
|
273
273
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-selection",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.4",
|
|
4
4
|
"description": "Selection plugin for @atlaskit/editor-core",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@atlaskit/editor-json-transformer": "^8.31.0",
|
|
23
|
-
"@atlaskit/editor-plugin-interaction": "^
|
|
23
|
+
"@atlaskit/editor-plugin-interaction": "^10.0.0",
|
|
24
24
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
25
|
-
"@atlaskit/editor-shared-styles": "^3.
|
|
25
|
+
"@atlaskit/editor-shared-styles": "^3.9.0",
|
|
26
26
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
27
27
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
28
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
29
|
-
"@atlaskit/tokens": "^
|
|
28
|
+
"@atlaskit/tmp-editor-statsig": "^13.38.0",
|
|
29
|
+
"@atlaskit/tokens": "^8.0.0",
|
|
30
30
|
"@babel/runtime": "^7.0.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@atlaskit/editor-common": "^110.
|
|
33
|
+
"@atlaskit/editor-common": "^110.31.0",
|
|
34
34
|
"react": "^18.2.0"
|
|
35
35
|
},
|
|
36
36
|
"techstack": {
|
|
@@ -81,9 +81,6 @@
|
|
|
81
81
|
"platform_editor_nested_tables_gap_cursor": {
|
|
82
82
|
"type": "boolean"
|
|
83
83
|
},
|
|
84
|
-
"platform_editor_fix_right_arrow_nav_bug_in_layout": {
|
|
85
|
-
"type": "boolean"
|
|
86
|
-
},
|
|
87
84
|
"platform_editor_fix_list_item_nav_bug_in_layout": {
|
|
88
85
|
"type": "boolean"
|
|
89
86
|
},
|