@atlaskit/editor-plugin-table 28.0.1 → 28.0.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,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 28.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`3c376dcc27b56`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3c376dcc27b56) -
|
|
8
|
+
Clean up experiment `platform_editor_table_ref_optimisation`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 28.0.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 28.0.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -801,7 +801,7 @@ var TableComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
801
801
|
}, {
|
|
802
802
|
key: "dispatchTableRefUpdate",
|
|
803
803
|
value: function dispatchTableRefUpdate() {
|
|
804
|
-
if (this.table && this.table !== this.lastSetTableRef &&
|
|
804
|
+
if (this.table && this.table !== this.lastSetTableRef && this.props.tableActive && this.props.view) {
|
|
805
805
|
this.lastSetTableRef = this.table;
|
|
806
806
|
(0, _commands.setTableRef)(this.table)(this.props.view.state, this.props.view.dispatch);
|
|
807
807
|
}
|
|
@@ -762,7 +762,7 @@ class TableComponent extends React.Component {
|
|
|
762
762
|
this.dispatchTableRefUpdate();
|
|
763
763
|
}
|
|
764
764
|
dispatchTableRefUpdate() {
|
|
765
|
-
if (this.table && this.table !== this.lastSetTableRef &&
|
|
765
|
+
if (this.table && this.table !== this.lastSetTableRef && this.props.tableActive && this.props.view) {
|
|
766
766
|
this.lastSetTableRef = this.table;
|
|
767
767
|
setTableRef(this.table)(this.props.view.state, this.props.view.dispatch);
|
|
768
768
|
}
|
|
@@ -795,7 +795,7 @@ var TableComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
795
795
|
}, {
|
|
796
796
|
key: "dispatchTableRefUpdate",
|
|
797
797
|
value: function dispatchTableRefUpdate() {
|
|
798
|
-
if (this.table && this.table !== this.lastSetTableRef &&
|
|
798
|
+
if (this.table && this.table !== this.lastSetTableRef && this.props.tableActive && this.props.view) {
|
|
799
799
|
this.lastSetTableRef = this.table;
|
|
800
800
|
setTableRef(this.table)(this.props.view.state, this.props.view.dispatch);
|
|
801
801
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "28.0.
|
|
3
|
+
"version": "28.0.3",
|
|
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": "^16.0.0",
|
|
30
30
|
"@atlaskit/editor-plugin-content-insertion": "^16.0.0",
|
|
31
31
|
"@atlaskit/editor-plugin-editor-viewmode": "^18.0.0",
|
|
32
|
-
"@atlaskit/editor-plugin-extension": "19.0.
|
|
32
|
+
"@atlaskit/editor-plugin-extension": "19.0.2",
|
|
33
33
|
"@atlaskit/editor-plugin-guideline": "^16.0.0",
|
|
34
34
|
"@atlaskit/editor-plugin-interaction": "^27.0.0",
|
|
35
35
|
"@atlaskit/editor-plugin-limited-mode": "^13.0.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@atlaskit/editor-ui-control-model": "^2.8.0",
|
|
46
46
|
"@atlaskit/icon": "^37.5.0",
|
|
47
47
|
"@atlaskit/icon-lab": "^7.7.0",
|
|
48
|
-
"@atlaskit/insm": "^
|
|
48
|
+
"@atlaskit/insm": "^3.0.0",
|
|
49
49
|
"@atlaskit/menu": "^10.1.0",
|
|
50
50
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
51
51
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^3.1.0",
|
|
54
54
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^2.1.0",
|
|
55
55
|
"@atlaskit/primitives": "^22.4.0",
|
|
56
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
56
|
+
"@atlaskit/tmp-editor-statsig": "^162.0.0",
|
|
57
57
|
"@atlaskit/toggle": "^17.2.0",
|
|
58
58
|
"@atlaskit/tokens": "^16.8.0",
|
|
59
59
|
"@atlaskit/tooltip": "^24.2.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"uuid": "^3.1.0"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
|
-
"@atlaskit/editor-common": "^120.
|
|
71
|
+
"@atlaskit/editor-common": "^120.2.0",
|
|
72
72
|
"react": "^18.2.0 || ^19.2.0",
|
|
73
73
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
74
74
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|