@atlaskit/editor-plugin-table 7.24.2 → 7.24.3
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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 7.24.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#125536](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/125536)
|
|
8
|
+
[`bf49379d856ff`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bf49379d856ff) -
|
|
9
|
+
hide element drag handle during column resize
|
|
10
|
+
|
|
3
11
|
## 7.24.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -64,7 +64,7 @@ var stopResizing = exports.stopResizing = function stopResizing(tr) {
|
|
|
64
64
|
return (0, _pluginFactory.createCommand)({
|
|
65
65
|
type: 'STOP_RESIZING'
|
|
66
66
|
}, function (originalTr) {
|
|
67
|
-
return (tr || originalTr).setMeta('scrollIntoView', false);
|
|
67
|
+
return (tr || originalTr).setMeta('scrollIntoView', false).setMeta('is-resizer-resizing', false);
|
|
68
68
|
});
|
|
69
69
|
};
|
|
70
70
|
var setDragging = exports.setDragging = function setDragging(dragging, tr) {
|
|
@@ -74,7 +74,7 @@ var setDragging = exports.setDragging = function setDragging(dragging, tr) {
|
|
|
74
74
|
dragging: dragging
|
|
75
75
|
}
|
|
76
76
|
}, function (originalTr) {
|
|
77
|
-
return tr || originalTr;
|
|
77
|
+
return (tr || originalTr).setMeta('is-resizer-resizing', true);
|
|
78
78
|
});
|
|
79
79
|
};
|
|
80
80
|
var setLastClick = exports.setLastClick = function setLastClick(lastClick, transform) {
|
|
@@ -50,13 +50,13 @@ export const setResizeHandlePos = resizeHandlePos => createCommand({
|
|
|
50
50
|
});
|
|
51
51
|
export const stopResizing = tr => createCommand({
|
|
52
52
|
type: 'STOP_RESIZING'
|
|
53
|
-
}, originalTr => (tr || originalTr).setMeta('scrollIntoView', false));
|
|
53
|
+
}, originalTr => (tr || originalTr).setMeta('scrollIntoView', false).setMeta('is-resizer-resizing', false));
|
|
54
54
|
export const setDragging = (dragging, tr) => createCommand({
|
|
55
55
|
type: 'SET_DRAGGING',
|
|
56
56
|
data: {
|
|
57
57
|
dragging
|
|
58
58
|
}
|
|
59
|
-
}, originalTr => tr || originalTr);
|
|
59
|
+
}, originalTr => (tr || originalTr).setMeta('is-resizer-resizing', true));
|
|
60
60
|
export const setLastClick = (lastClick, transform) => createCommand({
|
|
61
61
|
type: 'SET_LAST_CLICK',
|
|
62
62
|
data: {
|
|
@@ -58,7 +58,7 @@ export var stopResizing = function stopResizing(tr) {
|
|
|
58
58
|
return createCommand({
|
|
59
59
|
type: 'STOP_RESIZING'
|
|
60
60
|
}, function (originalTr) {
|
|
61
|
-
return (tr || originalTr).setMeta('scrollIntoView', false);
|
|
61
|
+
return (tr || originalTr).setMeta('scrollIntoView', false).setMeta('is-resizer-resizing', false);
|
|
62
62
|
});
|
|
63
63
|
};
|
|
64
64
|
export var setDragging = function setDragging(dragging, tr) {
|
|
@@ -68,7 +68,7 @@ export var setDragging = function setDragging(dragging, tr) {
|
|
|
68
68
|
dragging: dragging
|
|
69
69
|
}
|
|
70
70
|
}, function (originalTr) {
|
|
71
|
-
return tr || originalTr;
|
|
71
|
+
return (tr || originalTr).setMeta('is-resizer-resizing', true);
|
|
72
72
|
});
|
|
73
73
|
};
|
|
74
74
|
export var setLastClick = function setLastClick(lastClick, transform) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "7.24.
|
|
3
|
+
"version": "7.24.3",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@atlaskit/adf-schema": "^40.3.0",
|
|
32
32
|
"@atlaskit/button": "^19.1.0",
|
|
33
33
|
"@atlaskit/custom-steps": "^0.6.0",
|
|
34
|
-
"@atlaskit/editor-common": "^87.
|
|
34
|
+
"@atlaskit/editor-common": "^87.1.0",
|
|
35
35
|
"@atlaskit/editor-palette": "1.6.0",
|
|
36
36
|
"@atlaskit/editor-plugin-accessibility-utils": "^1.2.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^1.6.0",
|
|
@@ -72,7 +72,8 @@ export const stopResizing = (tr?: Transaction) =>
|
|
|
72
72
|
{
|
|
73
73
|
type: 'STOP_RESIZING',
|
|
74
74
|
},
|
|
75
|
-
(originalTr) =>
|
|
75
|
+
(originalTr) =>
|
|
76
|
+
(tr || originalTr).setMeta('scrollIntoView', false).setMeta('is-resizer-resizing', false),
|
|
76
77
|
);
|
|
77
78
|
|
|
78
79
|
export const setDragging = (
|
|
@@ -86,7 +87,7 @@ export const setDragging = (
|
|
|
86
87
|
dragging,
|
|
87
88
|
},
|
|
88
89
|
},
|
|
89
|
-
(originalTr) => tr || originalTr,
|
|
90
|
+
(originalTr) => (tr || originalTr).setMeta('is-resizer-resizing', true),
|
|
90
91
|
);
|
|
91
92
|
|
|
92
93
|
export const setLastClick = (
|