@atlaskit/editor-plugin-table 17.3.0 → 17.3.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,12 @@
1
1
  # @atlaskit/editor-plugin-table
2
2
 
3
+ ## 17.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`afb6165b36773`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/afb6165b36773) -
8
+ [ux] Add new gate for missing cell option menu fix for atlas"
9
+
3
10
  ## 17.3.0
4
11
 
5
12
  ### Minor Changes
@@ -928,7 +928,7 @@ var TableComponent = /*#__PURE__*/function (_React$Component) {
928
928
 
929
929
  // // Update tableRef in plugin state when table is properly mounted
930
930
  // // At this point, both table and wrapper are in DOM with correct parent-child relationship
931
- if (_this5.table && _this5.props.view && (0, _expValEquals.expValEquals)('platform_editor_table_update_table_ref', 'isEnabled', true)) {
931
+ if (_this5.table && _this5.props.view && ((0, _expValEquals.expValEquals)('platform_editor_table_update_table_ref', 'isEnabled', true) || (0, _platformFeatureFlags.fg)('platform_editor_enable_table_update_ref_atlas'))) {
932
932
  (0, _commands.setTableRef)(_this5.table)(_this5.props.view.state, _this5.props.view.dispatch);
933
933
  }
934
934
  }
@@ -893,7 +893,7 @@ class TableComponent extends React.Component {
893
893
 
894
894
  // // Update tableRef in plugin state when table is properly mounted
895
895
  // // At this point, both table and wrapper are in DOM with correct parent-child relationship
896
- if (this.table && this.props.view && expValEquals('platform_editor_table_update_table_ref', 'isEnabled', true)) {
896
+ if (this.table && this.props.view && (expValEquals('platform_editor_table_update_table_ref', 'isEnabled', true) || fg('platform_editor_enable_table_update_ref_atlas'))) {
897
897
  setTableRef(this.table)(this.props.view.state, this.props.view.dispatch);
898
898
  }
899
899
  }
@@ -922,7 +922,7 @@ var TableComponent = /*#__PURE__*/function (_React$Component) {
922
922
 
923
923
  // // Update tableRef in plugin state when table is properly mounted
924
924
  // // At this point, both table and wrapper are in DOM with correct parent-child relationship
925
- if (_this5.table && _this5.props.view && expValEquals('platform_editor_table_update_table_ref', 'isEnabled', true)) {
925
+ if (_this5.table && _this5.props.view && (expValEquals('platform_editor_table_update_table_ref', 'isEnabled', true) || fg('platform_editor_enable_table_update_ref_atlas'))) {
926
926
  setTableRef(_this5.table)(_this5.props.view.state, _this5.props.view.dispatch);
927
927
  }
928
928
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "17.3.0",
3
+ "version": "17.3.1",
4
4
  "description": "Table plugin for the @atlaskit/editor",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -57,7 +57,7 @@
57
57
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
58
58
  "@atlaskit/primitives": "^17.1.0",
59
59
  "@atlaskit/theme": "^21.0.0",
60
- "@atlaskit/tmp-editor-statsig": "^17.7.0",
60
+ "@atlaskit/tmp-editor-statsig": "^17.9.0",
61
61
  "@atlaskit/toggle": "^15.2.0",
62
62
  "@atlaskit/tokens": "^10.1.0",
63
63
  "@atlaskit/tooltip": "^20.14.0",
@@ -183,6 +183,9 @@
183
183
  },
184
184
  "platform_editor_table_fixed_column_width_prop": {
185
185
  "type": "boolean"
186
+ },
187
+ "platform_editor_enable_table_update_ref_atlas": {
188
+ "type": "boolean"
186
189
  }
187
190
  }
188
191
  }