@atlaskit/editor-presets 7.0.0 → 7.0.2

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-presets
2
2
 
3
+ ## 7.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 7.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [`7a8d5e478d5d1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7a8d5e478d5d1) -
14
+ Clean up feature gate `platform_editor_table_fixed_column_width_prop`
15
+ - Updated dependencies
16
+
3
17
  ## 7.0.0
4
18
 
5
19
  ### Patch Changes
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.tablePluginOptions = tablePluginOptions;
7
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
8
7
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
9
8
  function tablePluginOptions(_ref) {
10
9
  var options = _ref.options;
@@ -34,9 +33,6 @@ function tablePluginOptions(_ref) {
34
33
  wasFullWidthEnabled: options.prevEditorAppearance && options.prevEditorAppearance === 'full-width',
35
34
  getEditorFeatureFlags: function getEditorFeatureFlags() {
36
35
  return {
37
- // SECTION: From confluence/next/packages/editor-features/src/hooks/useEditorFeatureFlags.ts
38
- tableWithFixedColumnWidthsOption: (0, _platformFeatureFlags.fg)('platform_editor_table_fixed_column_width_prop') ? undefined : true,
39
- // END SECTION
40
36
  // SECTION: From confluence/next/packages/full-page-editor/src/hooks/useEditorFullPageExperiments.ts
41
37
  tableSelector: (0, _experiments.editorExperiment)('platform_editor_tables_table_selector', true)
42
38
  // END SECTION
@@ -44,6 +40,6 @@ function tablePluginOptions(_ref) {
44
40
  },
45
41
  isCommentEditor: false,
46
42
  isChromelessEditor: false,
47
- allowFixedColumnWidthOption: (0, _platformFeatureFlags.fg)('platform_editor_table_fixed_column_width_prop') ? true : undefined
43
+ allowFixedColumnWidthOption: true
48
44
  };
49
45
  }
@@ -1,4 +1,3 @@
1
- import { fg } from '@atlaskit/platform-feature-flags';
2
1
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
3
2
  export function tablePluginOptions({
4
3
  options
@@ -28,15 +27,12 @@ export function tablePluginOptions({
28
27
  maxWidthEnabled: options.editorAppearance === 'max',
29
28
  wasFullWidthEnabled: options.prevEditorAppearance && options.prevEditorAppearance === 'full-width',
30
29
  getEditorFeatureFlags: () => ({
31
- // SECTION: From confluence/next/packages/editor-features/src/hooks/useEditorFeatureFlags.ts
32
- tableWithFixedColumnWidthsOption: fg('platform_editor_table_fixed_column_width_prop') ? undefined : true,
33
- // END SECTION
34
30
  // SECTION: From confluence/next/packages/full-page-editor/src/hooks/useEditorFullPageExperiments.ts
35
31
  tableSelector: editorExperiment('platform_editor_tables_table_selector', true)
36
32
  // END SECTION
37
33
  }),
38
34
  isCommentEditor: false,
39
35
  isChromelessEditor: false,
40
- allowFixedColumnWidthOption: fg('platform_editor_table_fixed_column_width_prop') ? true : undefined
36
+ allowFixedColumnWidthOption: true
41
37
  };
42
38
  }
@@ -1,4 +1,3 @@
1
- import { fg } from '@atlaskit/platform-feature-flags';
2
1
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
3
2
  export function tablePluginOptions(_ref) {
4
3
  var options = _ref.options;
@@ -28,9 +27,6 @@ export function tablePluginOptions(_ref) {
28
27
  wasFullWidthEnabled: options.prevEditorAppearance && options.prevEditorAppearance === 'full-width',
29
28
  getEditorFeatureFlags: function getEditorFeatureFlags() {
30
29
  return {
31
- // SECTION: From confluence/next/packages/editor-features/src/hooks/useEditorFeatureFlags.ts
32
- tableWithFixedColumnWidthsOption: fg('platform_editor_table_fixed_column_width_prop') ? undefined : true,
33
- // END SECTION
34
30
  // SECTION: From confluence/next/packages/full-page-editor/src/hooks/useEditorFullPageExperiments.ts
35
31
  tableSelector: editorExperiment('platform_editor_tables_table_selector', true)
36
32
  // END SECTION
@@ -38,6 +34,6 @@ export function tablePluginOptions(_ref) {
38
34
  },
39
35
  isCommentEditor: false,
40
36
  isChromelessEditor: false,
41
- allowFixedColumnWidthOption: fg('platform_editor_table_fixed_column_width_prop') ? true : undefined
37
+ allowFixedColumnWidthOption: true
42
38
  };
43
39
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-presets",
3
- "version": "7.0.0",
3
+ "version": "7.0.2",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Public editor presets for Atlassian Editor containing base configurations for Confluence and other products",
6
6
  "publishConfig": {
@@ -116,7 +116,7 @@
116
116
  "@atlaskit/editor-plugin-width": "^14.0.0",
117
117
  "@atlaskit/platform-feature-experiments": "^0.3.0",
118
118
  "@atlaskit/platform-feature-flags": "^2.1.0",
119
- "@atlaskit/tmp-editor-statsig": "^138.0.0",
119
+ "@atlaskit/tmp-editor-statsig": "^139.0.0",
120
120
  "@atlassian/ari": "^2.596.0",
121
121
  "@atlassian/editor-plugin-agent-managed-extension": "^3.0.0",
122
122
  "@babel/runtime": "^7.0.0"
@@ -174,9 +174,6 @@
174
174
  "platform_editor_ai_aifc_streaming": {
175
175
  "type": "boolean"
176
176
  },
177
- "platform_editor_table_fixed_column_width_prop": {
178
- "type": "boolean"
179
- },
180
177
  "confluence_remix_button_right_side_block_fg": {
181
178
  "type": "boolean"
182
179
  }