@atlaskit/editor-plugin-table 28.1.7 → 28.1.8

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
+ ## 28.1.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [`3c8aad45af6a2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3c8aad45af6a2) -
8
+ Clean up the platform_editor_enable_table_scaling feature gate.
9
+ - Updated dependencies
10
+
3
11
  ## 28.1.7
4
12
 
5
13
  ### Patch Changes
@@ -80,7 +80,7 @@ var tablePlugin = function tablePlugin(_ref) {
80
80
  };
81
81
  var options = _objectSpread(_objectSpread({}, config), {}, {
82
82
  tableOptions: (_config$tableOptions = config === null || config === void 0 ? void 0 : config.tableOptions) !== null && _config$tableOptions !== void 0 ? _config$tableOptions : {},
83
- isTableScalingEnabled: (config === null || config === void 0 ? void 0 : config.isTableScalingEnabled) || (0, _fg.fg)('platform_editor_enable_table_scaling')
83
+ isTableScalingEnabled: true
84
84
  });
85
85
  var defaultGetEditorContainerWidth = function defaultGetEditorContainerWidth() {
86
86
  var _api$width$sharedStat, _api$width, _document$body$offset, _document;
@@ -68,7 +68,7 @@ const tablePlugin = ({
68
68
  const options = {
69
69
  ...config,
70
70
  tableOptions: (_config$tableOptions = config === null || config === void 0 ? void 0 : config.tableOptions) !== null && _config$tableOptions !== void 0 ? _config$tableOptions : {},
71
- isTableScalingEnabled: (config === null || config === void 0 ? void 0 : config.isTableScalingEnabled) || fg('platform_editor_enable_table_scaling')
71
+ isTableScalingEnabled: true
72
72
  };
73
73
  const defaultGetEditorContainerWidth = () => {
74
74
  var _api$width$sharedStat, _api$width, _document$body$offset, _document, _document$body;
@@ -71,7 +71,7 @@ var tablePlugin = function tablePlugin(_ref) {
71
71
  };
72
72
  var options = _objectSpread(_objectSpread({}, config), {}, {
73
73
  tableOptions: (_config$tableOptions = config === null || config === void 0 ? void 0 : config.tableOptions) !== null && _config$tableOptions !== void 0 ? _config$tableOptions : {},
74
- isTableScalingEnabled: (config === null || config === void 0 ? void 0 : config.isTableScalingEnabled) || fg('platform_editor_enable_table_scaling')
74
+ isTableScalingEnabled: true
75
75
  });
76
76
  var defaultGetEditorContainerWidth = function defaultGetEditorContainerWidth() {
77
77
  var _api$width$sharedStat, _api$width, _document$body$offset, _document;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "28.1.7",
3
+ "version": "28.1.8",
4
4
  "description": "Table plugin for the @atlaskit/editor",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -68,7 +68,7 @@
68
68
  "uuid": "^11.1.1"
69
69
  },
70
70
  "peerDependencies": {
71
- "@atlaskit/editor-common": "^120.13.0",
71
+ "@atlaskit/editor-common": "^120.15.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"
@@ -95,9 +95,6 @@
95
95
  "platform_editor_table_height_analytics_event": {
96
96
  "type": "boolean"
97
97
  },
98
- "platform_editor_enable_table_scaling": {
99
- "type": "boolean"
100
- },
101
98
  "platform_editor_max_width_default_width": {
102
99
  "type": "boolean"
103
100
  },