@atlaskit/editor-plugin-table 42.3.5 → 42.3.6
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
|
+
## 42.3.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`6b39e1960a578`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6b39e1960a578) -
|
|
8
|
+
Clean up feature gate `platform_editor_table_view_mode_scaling_fix`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 42.3.5
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -236,7 +236,7 @@ var TableComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
236
236
|
(0, _defineProperty2.default)(_this, "scaleTable", function (scaleOptions) {
|
|
237
237
|
var _this$props$pluginInj;
|
|
238
238
|
var isUserTriggered = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
239
|
-
if ((
|
|
239
|
+
if (((_this$props$pluginInj = _this.props.pluginInjectionApi) === null || _this$props$pluginInj === void 0 || (_this$props$pluginInj = _this$props$pluginInj.editorViewMode) === null || _this$props$pluginInj === void 0 || (_this$props$pluginInj = _this$props$pluginInj.sharedState.currentState()) === null || _this$props$pluginInj === void 0 ? void 0 : _this$props$pluginInj.mode) === 'view') {
|
|
240
240
|
return;
|
|
241
241
|
}
|
|
242
242
|
var _this$props2 = _this.props,
|
|
@@ -215,7 +215,7 @@ class TableComponent extends React.Component {
|
|
|
215
215
|
// Function gets called when table is nested.
|
|
216
216
|
_defineProperty(this, "scaleTable", (scaleOptions, isUserTriggered = false) => {
|
|
217
217
|
var _this$props$pluginInj, _this$props$pluginInj2, _this$props$pluginInj3;
|
|
218
|
-
if (
|
|
218
|
+
if (((_this$props$pluginInj = this.props.pluginInjectionApi) === null || _this$props$pluginInj === void 0 ? void 0 : (_this$props$pluginInj2 = _this$props$pluginInj.editorViewMode) === null || _this$props$pluginInj2 === void 0 ? void 0 : (_this$props$pluginInj3 = _this$props$pluginInj2.sharedState.currentState()) === null || _this$props$pluginInj3 === void 0 ? void 0 : _this$props$pluginInj3.mode) === 'view') {
|
|
219
219
|
return;
|
|
220
220
|
}
|
|
221
221
|
const {
|
|
@@ -230,7 +230,7 @@ var TableComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
230
230
|
_defineProperty(_this, "scaleTable", function (scaleOptions) {
|
|
231
231
|
var _this$props$pluginInj;
|
|
232
232
|
var isUserTriggered = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
233
|
-
if (
|
|
233
|
+
if (((_this$props$pluginInj = _this.props.pluginInjectionApi) === null || _this$props$pluginInj === void 0 || (_this$props$pluginInj = _this$props$pluginInj.editorViewMode) === null || _this$props$pluginInj === void 0 || (_this$props$pluginInj = _this$props$pluginInj.sharedState.currentState()) === null || _this$props$pluginInj === void 0 ? void 0 : _this$props$pluginInj.mode) === 'view') {
|
|
234
234
|
return;
|
|
235
235
|
}
|
|
236
236
|
var _this$props2 = _this.props,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "42.3.
|
|
3
|
+
"version": "42.3.6",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@atlaskit/editor-plugin-batch-attribute-updates": "^30.0.0",
|
|
30
30
|
"@atlaskit/editor-plugin-content-insertion": "^30.0.0",
|
|
31
31
|
"@atlaskit/editor-plugin-editor-viewmode": "^32.0.0",
|
|
32
|
-
"@atlaskit/editor-plugin-extension": "33.0.
|
|
32
|
+
"@atlaskit/editor-plugin-extension": "33.0.15",
|
|
33
33
|
"@atlaskit/editor-plugin-guideline": "^30.0.0",
|
|
34
34
|
"@atlaskit/editor-plugin-interaction": "^44.0.0",
|
|
35
35
|
"@atlaskit/editor-plugin-limited-mode": "^27.0.0",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"@atlaskit/editor-plugin-user-intent": "^28.0.0",
|
|
40
40
|
"@atlaskit/editor-plugin-width": "^31.0.0",
|
|
41
41
|
"@atlaskit/editor-prosemirror": "^9.0.0",
|
|
42
|
-
"@atlaskit/editor-shared-styles": "^5.
|
|
42
|
+
"@atlaskit/editor-shared-styles": "^5.1.0",
|
|
43
43
|
"@atlaskit/editor-tables": "^3.2.0",
|
|
44
|
-
"@atlaskit/editor-toolbar": "^2.
|
|
44
|
+
"@atlaskit/editor-toolbar": "^2.10.0",
|
|
45
45
|
"@atlaskit/editor-ui-control-model": "^3.0.0",
|
|
46
46
|
"@atlaskit/icon": "^38.0.0",
|
|
47
47
|
"@atlaskit/icon-lab": "^7.11.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^3.2.0",
|
|
54
54
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^3.0.0",
|
|
55
55
|
"@atlaskit/primitives": "^22.6.0",
|
|
56
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
56
|
+
"@atlaskit/tmp-editor-statsig": "^258.0.0",
|
|
57
57
|
"@atlaskit/toggle": "^17.3.0",
|
|
58
58
|
"@atlaskit/tokens": "^20.9.0",
|
|
59
59
|
"@atlaskit/tooltip": "^24.4.0",
|
|
@@ -99,9 +99,6 @@
|
|
|
99
99
|
"platform_editor_ai_show_diff_patch_2": {
|
|
100
100
|
"type": "boolean"
|
|
101
101
|
},
|
|
102
|
-
"platform_editor_table_view_mode_scaling_fix": {
|
|
103
|
-
"type": "boolean"
|
|
104
|
-
},
|
|
105
102
|
"platform_editor_table_scale_on_container_resize": {
|
|
106
103
|
"type": "boolean"
|
|
107
104
|
},
|