@atlaskit/editor-plugin-table 12.3.8 → 13.0.1
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,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 13.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`bab1313bbea71`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bab1313bbea71) -
|
|
8
|
+
Cleaned up feature flag for batch update
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 13.0.0
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 12.3.8
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -9,7 +9,6 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
9
9
|
var _styles = require("@atlaskit/editor-common/styles");
|
|
10
10
|
var _transform = require("@atlaskit/editor-prosemirror/transform");
|
|
11
11
|
var _tableMap = require("@atlaskit/editor-tables/table-map");
|
|
12
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
13
12
|
var _colgroup = require("../table-resizing/utils/colgroup");
|
|
14
13
|
var _misc = require("../table-resizing/utils/misc");
|
|
15
14
|
var _resizeState = require("../table-resizing/utils/resize-state");
|
|
@@ -83,7 +82,7 @@ var updateColumnWidths = exports.updateColumnWidths = function updateColumnWidth
|
|
|
83
82
|
}
|
|
84
83
|
}
|
|
85
84
|
}
|
|
86
|
-
if (api !== null && api !== void 0 && api.batchAttributeUpdates
|
|
85
|
+
if (api !== null && api !== void 0 && api.batchAttributeUpdates) {
|
|
87
86
|
var batchStep = api.batchAttributeUpdates.actions.batchSteps({
|
|
88
87
|
steps: steps,
|
|
89
88
|
doc: tr.doc
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { tableCellMinWidth } from '@atlaskit/editor-common/styles';
|
|
2
2
|
import { AttrStep } from '@atlaskit/editor-prosemirror/transform';
|
|
3
3
|
import { TableMap } from '@atlaskit/editor-tables/table-map';
|
|
4
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
4
|
import { isMinCellWidthTable, hasTableBeenResized } from '../table-resizing/utils/colgroup';
|
|
6
5
|
import { getTableContainerElementWidth, getTableElementWidth } from '../table-resizing/utils/misc';
|
|
7
6
|
import { getResizeState } from '../table-resizing/utils/resize-state';
|
|
@@ -77,7 +76,7 @@ export const updateColumnWidths = (resizeState, table, start, api) => tr => {
|
|
|
77
76
|
}
|
|
78
77
|
}
|
|
79
78
|
}
|
|
80
|
-
if (api !== null && api !== void 0 && api.batchAttributeUpdates
|
|
79
|
+
if (api !== null && api !== void 0 && api.batchAttributeUpdates) {
|
|
81
80
|
const batchStep = api.batchAttributeUpdates.actions.batchSteps({
|
|
82
81
|
steps,
|
|
83
82
|
doc: tr.doc
|
|
@@ -4,7 +4,6 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
import { tableCellMinWidth } from '@atlaskit/editor-common/styles';
|
|
5
5
|
import { AttrStep } from '@atlaskit/editor-prosemirror/transform';
|
|
6
6
|
import { TableMap } from '@atlaskit/editor-tables/table-map';
|
|
7
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
7
|
import { isMinCellWidthTable, hasTableBeenResized } from '../table-resizing/utils/colgroup';
|
|
9
8
|
import { getTableContainerElementWidth, getTableElementWidth } from '../table-resizing/utils/misc';
|
|
10
9
|
import { getResizeState } from '../table-resizing/utils/resize-state';
|
|
@@ -76,7 +75,7 @@ export var updateColumnWidths = function updateColumnWidths(resizeState, table,
|
|
|
76
75
|
}
|
|
77
76
|
}
|
|
78
77
|
}
|
|
79
|
-
if (api !== null && api !== void 0 && api.batchAttributeUpdates
|
|
78
|
+
if (api !== null && api !== void 0 && api.batchAttributeUpdates) {
|
|
80
79
|
var batchStep = api.batchAttributeUpdates.actions.batchSteps({
|
|
81
80
|
steps: steps,
|
|
82
81
|
doc: tr.doc
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.1",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -32,18 +32,18 @@
|
|
|
32
32
|
"@atlaskit/button": "^23.4.0",
|
|
33
33
|
"@atlaskit/custom-steps": "^0.11.0",
|
|
34
34
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
35
|
-
"@atlaskit/editor-plugin-accessibility-utils": "^
|
|
36
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
37
|
-
"@atlaskit/editor-plugin-batch-attribute-updates": "^
|
|
38
|
-
"@atlaskit/editor-plugin-content-insertion": "^
|
|
39
|
-
"@atlaskit/editor-plugin-editor-viewmode": "^
|
|
40
|
-
"@atlaskit/editor-plugin-extension": "
|
|
41
|
-
"@atlaskit/editor-plugin-guideline": "^
|
|
42
|
-
"@atlaskit/editor-plugin-interaction": "^
|
|
43
|
-
"@atlaskit/editor-plugin-limited-mode": "^0.0
|
|
44
|
-
"@atlaskit/editor-plugin-selection": "^
|
|
45
|
-
"@atlaskit/editor-plugin-user-intent": "^
|
|
46
|
-
"@atlaskit/editor-plugin-width": "^
|
|
35
|
+
"@atlaskit/editor-plugin-accessibility-utils": "^4.0.0",
|
|
36
|
+
"@atlaskit/editor-plugin-analytics": "^4.0.0",
|
|
37
|
+
"@atlaskit/editor-plugin-batch-attribute-updates": "^4.0.0",
|
|
38
|
+
"@atlaskit/editor-plugin-content-insertion": "^4.0.0",
|
|
39
|
+
"@atlaskit/editor-plugin-editor-viewmode": "^6.0.0",
|
|
40
|
+
"@atlaskit/editor-plugin-extension": "7.0.0",
|
|
41
|
+
"@atlaskit/editor-plugin-guideline": "^4.0.0",
|
|
42
|
+
"@atlaskit/editor-plugin-interaction": "^6.0.0",
|
|
43
|
+
"@atlaskit/editor-plugin-limited-mode": "^1.0.0",
|
|
44
|
+
"@atlaskit/editor-plugin-selection": "^4.0.0",
|
|
45
|
+
"@atlaskit/editor-plugin-user-intent": "^2.0.0",
|
|
46
|
+
"@atlaskit/editor-plugin-width": "^5.0.0",
|
|
47
47
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
48
48
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
49
49
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@atlaskit/primitives": "^14.12.0",
|
|
58
58
|
"@atlaskit/react-ufo": "^4.5.0",
|
|
59
59
|
"@atlaskit/theme": "^20.0.0",
|
|
60
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
60
|
+
"@atlaskit/tmp-editor-statsig": "^12.0.0",
|
|
61
61
|
"@atlaskit/toggle": "^15.1.0",
|
|
62
62
|
"@atlaskit/tokens": "^6.1.0",
|
|
63
63
|
"@atlaskit/tooltip": "^20.4.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"uuid": "^3.1.0"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
|
-
"@atlaskit/editor-common": "^
|
|
73
|
+
"@atlaskit/editor-common": "^108.0.0",
|
|
74
74
|
"react": "^18.2.0",
|
|
75
75
|
"react-dom": "^18.2.0",
|
|
76
76
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
@@ -103,9 +103,6 @@
|
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
105
|
"platform-feature-flags": {
|
|
106
|
-
"platform_editor_batch_steps_table": {
|
|
107
|
-
"type": "boolean"
|
|
108
|
-
},
|
|
109
106
|
"platform-visual-refresh-icons": {
|
|
110
107
|
"type": "boolean"
|
|
111
108
|
},
|