@atlaskit/editor-tables 3.0.66 → 3.0.67
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,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.selectTableClosestToPos = exports.selectTable = exports.selectRows = exports.selectRow = exports.selectColumns = exports.selectColumn = exports.getTableSelectionClosesToPos = void 0;
|
|
8
8
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
9
|
-
var
|
|
9
|
+
var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
|
|
10
10
|
var _cellSelection = require("../cell-selection");
|
|
11
11
|
var _tableMap = require("../table-map");
|
|
12
12
|
var _cloneTr = require("./clone-tr");
|
|
@@ -182,7 +182,7 @@ var getTableSelectionClosesToPos = exports.getTableSelectionClosesToPos = functi
|
|
|
182
182
|
}
|
|
183
183
|
};
|
|
184
184
|
var selectTableClosestToPos = exports.selectTableClosestToPos = function selectTableClosestToPos(tr, $pos) {
|
|
185
|
-
if ((0,
|
|
185
|
+
if ((0, _editorExperiment.editorExperiment)('platform_editor_block_menu', true, {
|
|
186
186
|
exposure: true
|
|
187
187
|
})) {
|
|
188
188
|
var tableSelection = getTableSelectionClosesToPos($pos);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
1
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
2
2
|
import { CellSelection } from '../cell-selection';
|
|
3
3
|
import { TableMap } from '../table-map';
|
|
4
4
|
import { cloneTr } from './clone-tr';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
2
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
3
3
|
import { CellSelection } from '../cell-selection';
|
|
4
4
|
import { TableMap } from '../table-map';
|
|
5
5
|
import { cloneTr } from './clone-tr';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-tables",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.67",
|
|
4
4
|
"description": "A package that contains common classes and utility functions for editor tables",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
23
23
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
24
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
24
|
+
"@atlaskit/tmp-editor-statsig": "^168.0.0",
|
|
25
25
|
"@babel/runtime": "^7.0.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|