@atlaskit/editor-plugin-table 10.5.1 → 10.5.2
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,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 10.5.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#130115](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/130115)
|
|
8
|
+
[`e60f1c02e9715`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e60f1c02e9715) -
|
|
9
|
+
Clean up feature flag platform_editor_table_drag_menu_mount_point_fix
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 10.5.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -23,7 +23,6 @@ var _tableMap = require("@atlaskit/editor-tables/table-map");
|
|
|
23
23
|
var _utils2 = require("@atlaskit/editor-tables/utils");
|
|
24
24
|
var _paintBucketEditorBackgroundColor = _interopRequireDefault(require("@atlaskit/icon/core/migration/paint-bucket--editor-background-color"));
|
|
25
25
|
var _paintBucket = _interopRequireDefault(require("@atlaskit/icon/core/paint-bucket"));
|
|
26
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
27
26
|
var _primitives = require("@atlaskit/primitives");
|
|
28
27
|
var _toggle = _interopRequireDefault(require("@atlaskit/toggle"));
|
|
29
28
|
var _commands = require("../../pm-plugins/commands");
|
|
@@ -519,7 +518,6 @@ var DragMenu = /*#__PURE__*/_react.default.memo(function (_ref) {
|
|
|
519
518
|
fitHeight: fitHeight,
|
|
520
519
|
fitWidth: fitWidth,
|
|
521
520
|
direction: direction,
|
|
522
|
-
mountPoint: (0, _platformFeatureFlags.fg)('platform_editor_table_drag_menu_mount_point_fix') ? undefined : mountPoint,
|
|
523
521
|
boundariesElement: boundariesElement,
|
|
524
522
|
scrollableElement: scrollableElement
|
|
525
523
|
});
|
|
@@ -21,7 +21,6 @@ import { TableMap } from '@atlaskit/editor-tables/table-map';
|
|
|
21
21
|
import { findCellRectClosestToPos, getSelectionRect, isSelectionType } from '@atlaskit/editor-tables/utils';
|
|
22
22
|
import EditorBackgroundColorIcon from '@atlaskit/icon/core/migration/paint-bucket--editor-background-color';
|
|
23
23
|
import PaintBucketIcon from '@atlaskit/icon/core/paint-bucket';
|
|
24
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
25
24
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
26
25
|
import Toggle from '@atlaskit/toggle';
|
|
27
26
|
import { clearHoverSelection, hoverColumns, hoverRows } from '../../pm-plugins/commands';
|
|
@@ -518,7 +517,6 @@ const DragMenu = /*#__PURE__*/React.memo(({
|
|
|
518
517
|
fitHeight: fitHeight,
|
|
519
518
|
fitWidth: fitWidth,
|
|
520
519
|
direction: direction,
|
|
521
|
-
mountPoint: fg('platform_editor_table_drag_menu_mount_point_fix') ? undefined : mountPoint,
|
|
522
520
|
boundariesElement: boundariesElement,
|
|
523
521
|
scrollableElement: scrollableElement
|
|
524
522
|
});
|
|
@@ -23,7 +23,6 @@ import { TableMap } from '@atlaskit/editor-tables/table-map';
|
|
|
23
23
|
import { findCellRectClosestToPos, getSelectionRect, isSelectionType } from '@atlaskit/editor-tables/utils';
|
|
24
24
|
import EditorBackgroundColorIcon from '@atlaskit/icon/core/migration/paint-bucket--editor-background-color';
|
|
25
25
|
import PaintBucketIcon from '@atlaskit/icon/core/paint-bucket';
|
|
26
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
27
26
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
28
27
|
import Toggle from '@atlaskit/toggle';
|
|
29
28
|
import { clearHoverSelection, hoverColumns, hoverRows } from '../../pm-plugins/commands';
|
|
@@ -508,7 +507,6 @@ var DragMenu = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
508
507
|
fitHeight: fitHeight,
|
|
509
508
|
fitWidth: fitWidth,
|
|
510
509
|
direction: direction,
|
|
511
|
-
mountPoint: fg('platform_editor_table_drag_menu_mount_point_fix') ? undefined : mountPoint,
|
|
512
510
|
boundariesElement: boundariesElement,
|
|
513
511
|
scrollableElement: scrollableElement
|
|
514
512
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "10.5.
|
|
3
|
+
"version": "10.5.2",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
33
33
|
"@atlaskit/button": "^21.1.0",
|
|
34
34
|
"@atlaskit/custom-steps": "^0.11.0",
|
|
35
|
-
"@atlaskit/editor-common": "^102.
|
|
35
|
+
"@atlaskit/editor-common": "^102.13.0",
|
|
36
36
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
37
37
|
"@atlaskit/editor-plugin-accessibility-utils": "^2.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-analytics": "^2.2.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.0.0",
|
|
55
55
|
"@atlaskit/primitives": "^14.2.0",
|
|
56
56
|
"@atlaskit/theme": "^18.0.0",
|
|
57
|
-
"@atlaskit/tmp-editor-statsig": "^4.
|
|
57
|
+
"@atlaskit/tmp-editor-statsig": "^4.2.0",
|
|
58
58
|
"@atlaskit/toggle": "^15.0.0",
|
|
59
59
|
"@atlaskit/tokens": "^4.5.0",
|
|
60
60
|
"@atlaskit/tooltip": "^20.0.0",
|
|
@@ -126,9 +126,6 @@
|
|
|
126
126
|
"platform_editor_set_alignment_when_resized": {
|
|
127
127
|
"type": "boolean"
|
|
128
128
|
},
|
|
129
|
-
"platform_editor_table_drag_menu_mount_point_fix": {
|
|
130
|
-
"type": "boolean"
|
|
131
|
-
},
|
|
132
129
|
"platform_editor_table_overflow_in_full_width_fix": {
|
|
133
130
|
"type": "boolean"
|
|
134
131
|
},
|
|
@@ -43,7 +43,6 @@ import {
|
|
|
43
43
|
} from '@atlaskit/editor-tables/utils';
|
|
44
44
|
import EditorBackgroundColorIcon from '@atlaskit/icon/core/migration/paint-bucket--editor-background-color';
|
|
45
45
|
import PaintBucketIcon from '@atlaskit/icon/core/paint-bucket';
|
|
46
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
47
46
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
48
47
|
import Toggle from '@atlaskit/toggle';
|
|
49
48
|
|
|
@@ -636,7 +635,6 @@ const DragMenu = React.memo(
|
|
|
636
635
|
fitHeight={fitHeight}
|
|
637
636
|
fitWidth={fitWidth}
|
|
638
637
|
direction={direction}
|
|
639
|
-
mountPoint={fg('platform_editor_table_drag_menu_mount_point_fix') ? undefined : mountPoint}
|
|
640
638
|
boundariesElement={boundariesElement}
|
|
641
639
|
scrollableElement={scrollableElement}
|
|
642
640
|
/>
|