@atlaskit/editor-presets 6.1.3 → 7.0.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,19 @@
1
1
  # @atlaskit/editor-presets
2
2
 
3
+ ## 7.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`7a8d5e478d5d1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7a8d5e478d5d1) -
8
+ Clean up feature gate `platform_editor_table_fixed_column_width_prop`
9
+ - Updated dependencies
10
+
11
+ ## 7.0.0
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 6.1.3
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": "6.1.3",
3
+ "version": "7.0.1",
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": {
@@ -21,108 +21,108 @@
21
21
  "atlaskit:src": "src/index.ts",
22
22
  "dependencies": {
23
23
  "@atlaskit/adf-schema": "^56.5.0",
24
- "@atlaskit/editor-plugin-accessibility-utils": "^12.1.0",
25
- "@atlaskit/editor-plugin-alignment": "^13.1.0",
26
- "@atlaskit/editor-plugin-analytics": "^12.1.0",
27
- "@atlaskit/editor-plugin-annotation": "^12.1.0",
28
- "@atlaskit/editor-plugin-avatar-group": "^13.1.0",
29
- "@atlaskit/editor-plugin-base": "^13.0.0",
30
- "@atlaskit/editor-plugin-batch-attribute-updates": "^12.1.0",
31
- "@atlaskit/editor-plugin-better-type-history": "^12.1.0",
32
- "@atlaskit/editor-plugin-block-controls": "^13.4.0",
33
- "@atlaskit/editor-plugin-block-menu": "^11.2.0",
34
- "@atlaskit/editor-plugin-block-type": "^16.2.0",
35
- "@atlaskit/editor-plugin-border": "^12.1.0",
36
- "@atlaskit/editor-plugin-breakout": "^12.4.0",
37
- "@atlaskit/editor-plugin-caption": "^12.1.0",
38
- "@atlaskit/editor-plugin-card": "^18.4.0",
39
- "@atlaskit/editor-plugin-clear-marks-on-empty-doc": "^12.1.0",
40
- "@atlaskit/editor-plugin-clipboard": "^12.1.0",
41
- "@atlaskit/editor-plugin-code-bidi-warning": "^12.1.0",
42
- "@atlaskit/editor-plugin-code-block": "^14.3.0",
43
- "@atlaskit/editor-plugin-code-block-advanced": "^12.2.0",
44
- "@atlaskit/editor-plugin-collab-edit": "^13.4.0",
45
- "@atlaskit/editor-plugin-composition": "^11.0.0",
46
- "@atlaskit/editor-plugin-connectivity": "^12.1.0",
47
- "@atlaskit/editor-plugin-content-format": "^6.1.0",
48
- "@atlaskit/editor-plugin-content-insertion": "^12.1.0",
49
- "@atlaskit/editor-plugin-context-identifier": "^12.1.0",
50
- "@atlaskit/editor-plugin-context-panel": "^14.1.0",
51
- "@atlaskit/editor-plugin-copy-button": "^12.1.0",
52
- "@atlaskit/editor-plugin-custom-autoformat": "^12.1.0",
53
- "@atlaskit/editor-plugin-data-consumer": "^12.1.0",
54
- "@atlaskit/editor-plugin-date": "^14.1.0",
55
- "@atlaskit/editor-plugin-decorations": "^12.1.0",
56
- "@atlaskit/editor-plugin-editor-disabled": "^12.1.0",
57
- "@atlaskit/editor-plugin-editor-viewmode": "^14.1.0",
58
- "@atlaskit/editor-plugin-editor-viewmode-effects": "^12.1.0",
59
- "@atlaskit/editor-plugin-emoji": "^13.3.0",
60
- "@atlaskit/editor-plugin-expand": "^13.2.0",
61
- "@atlaskit/editor-plugin-extension": "^15.1.0",
62
- "@atlaskit/editor-plugin-feature-flags": "^11.0.0",
63
- "@atlaskit/editor-plugin-find-replace": "^12.1.0",
64
- "@atlaskit/editor-plugin-floating-toolbar": "^14.1.0",
65
- "@atlaskit/editor-plugin-focus": "^11.0.0",
66
- "@atlaskit/editor-plugin-fragment": "^12.1.0",
67
- "@atlaskit/editor-plugin-grid": "^12.1.0",
68
- "@atlaskit/editor-plugin-guideline": "^12.1.0",
69
- "@atlaskit/editor-plugin-help-dialog": "^12.1.0",
70
- "@atlaskit/editor-plugin-highlight": "^12.2.0",
71
- "@atlaskit/editor-plugin-history": "^12.1.0",
72
- "@atlaskit/editor-plugin-hyperlink": "^14.2.0",
73
- "@atlaskit/editor-plugin-indentation": "^12.1.0",
74
- "@atlaskit/editor-plugin-insert-block": "^13.1.0",
75
- "@atlaskit/editor-plugin-interaction": "^23.1.0",
76
- "@atlaskit/editor-plugin-layout": "^13.5.0",
77
- "@atlaskit/editor-plugin-limited-mode": "^9.1.0",
78
- "@atlaskit/editor-plugin-list": "^14.2.0",
79
- "@atlaskit/editor-plugin-local-id": "^10.2.0",
80
- "@atlaskit/editor-plugin-loom": "^14.1.0",
81
- "@atlaskit/editor-plugin-media": "^14.4.0",
82
- "@atlaskit/editor-plugin-media-insert": "^27.1.0",
83
- "@atlaskit/editor-plugin-mentions": "^14.11.0",
84
- "@atlaskit/editor-plugin-metrics": "^13.1.0",
85
- "@atlaskit/editor-plugin-panel": "^14.2.0",
86
- "@atlaskit/editor-plugin-paste": "^13.5.0",
87
- "@atlaskit/editor-plugin-paste-options-toolbar": "^13.5.0",
88
- "@atlaskit/editor-plugin-placeholder": "^12.1.0",
89
- "@atlaskit/editor-plugin-placeholder-text": "^13.1.0",
90
- "@atlaskit/editor-plugin-primary-toolbar": "^13.1.0",
91
- "@atlaskit/editor-plugin-quick-insert": "^12.1.0",
92
- "@atlaskit/editor-plugin-rule": "^12.1.0",
93
- "@atlaskit/editor-plugin-scroll-into-view": "^12.1.0",
94
- "@atlaskit/editor-plugin-selection": "^12.1.0",
95
- "@atlaskit/editor-plugin-selection-extension": "^15.1.0",
96
- "@atlaskit/editor-plugin-selection-marker": "^12.1.0",
97
- "@atlaskit/editor-plugin-selection-toolbar": "^13.1.0",
98
- "@atlaskit/editor-plugin-show-diff": "^10.7.0",
99
- "@atlaskit/editor-plugin-status": "^13.2.0",
100
- "@atlaskit/editor-plugin-submit-editor": "^12.1.0",
101
- "@atlaskit/editor-plugin-synced-block": "^10.8.0",
102
- "@atlaskit/editor-plugin-table": "^24.6.0",
103
- "@atlaskit/editor-plugin-tasks-and-decisions": "^15.3.0",
104
- "@atlaskit/editor-plugin-text-color": "^12.4.0",
105
- "@atlaskit/editor-plugin-text-formatting": "^12.1.0",
106
- "@atlaskit/editor-plugin-toolbar": "^9.1.0",
107
- "@atlaskit/editor-plugin-toolbar-lists-indentation": "^13.1.0",
108
- "@atlaskit/editor-plugin-track-changes": "^11.2.0",
109
- "@atlaskit/editor-plugin-type-ahead": "^13.2.0",
110
- "@atlaskit/editor-plugin-ufo": "^12.1.0",
111
- "@atlaskit/editor-plugin-ui-control-registry": "^6.1.0",
112
- "@atlaskit/editor-plugin-undo-redo": "^12.1.0",
113
- "@atlaskit/editor-plugin-unsupported-content": "^12.1.0",
114
- "@atlaskit/editor-plugin-user-intent": "^10.2.0",
115
- "@atlaskit/editor-plugin-user-preferences": "^10.1.0",
116
- "@atlaskit/editor-plugin-width": "^13.1.0",
24
+ "@atlaskit/editor-plugin-accessibility-utils": "^13.0.0",
25
+ "@atlaskit/editor-plugin-alignment": "^14.0.0",
26
+ "@atlaskit/editor-plugin-analytics": "^13.0.0",
27
+ "@atlaskit/editor-plugin-annotation": "^13.0.0",
28
+ "@atlaskit/editor-plugin-avatar-group": "^14.0.0",
29
+ "@atlaskit/editor-plugin-base": "^14.0.0",
30
+ "@atlaskit/editor-plugin-batch-attribute-updates": "^13.0.0",
31
+ "@atlaskit/editor-plugin-better-type-history": "^13.0.0",
32
+ "@atlaskit/editor-plugin-block-controls": "^14.0.0",
33
+ "@atlaskit/editor-plugin-block-menu": "^12.0.0",
34
+ "@atlaskit/editor-plugin-block-type": "^17.0.0",
35
+ "@atlaskit/editor-plugin-border": "^13.0.0",
36
+ "@atlaskit/editor-plugin-breakout": "^13.0.0",
37
+ "@atlaskit/editor-plugin-caption": "^13.0.0",
38
+ "@atlaskit/editor-plugin-card": "^19.0.0",
39
+ "@atlaskit/editor-plugin-clear-marks-on-empty-doc": "^13.0.0",
40
+ "@atlaskit/editor-plugin-clipboard": "^13.0.0",
41
+ "@atlaskit/editor-plugin-code-bidi-warning": "^13.0.0",
42
+ "@atlaskit/editor-plugin-code-block": "^15.0.0",
43
+ "@atlaskit/editor-plugin-code-block-advanced": "^13.0.0",
44
+ "@atlaskit/editor-plugin-collab-edit": "^14.0.0",
45
+ "@atlaskit/editor-plugin-composition": "^12.0.0",
46
+ "@atlaskit/editor-plugin-connectivity": "^13.0.0",
47
+ "@atlaskit/editor-plugin-content-format": "^7.0.0",
48
+ "@atlaskit/editor-plugin-content-insertion": "^13.0.0",
49
+ "@atlaskit/editor-plugin-context-identifier": "^13.0.0",
50
+ "@atlaskit/editor-plugin-context-panel": "^15.0.0",
51
+ "@atlaskit/editor-plugin-copy-button": "^13.0.0",
52
+ "@atlaskit/editor-plugin-custom-autoformat": "^13.0.0",
53
+ "@atlaskit/editor-plugin-data-consumer": "^13.0.0",
54
+ "@atlaskit/editor-plugin-date": "^15.0.0",
55
+ "@atlaskit/editor-plugin-decorations": "^13.0.0",
56
+ "@atlaskit/editor-plugin-editor-disabled": "^13.0.0",
57
+ "@atlaskit/editor-plugin-editor-viewmode": "^15.0.0",
58
+ "@atlaskit/editor-plugin-editor-viewmode-effects": "^13.0.0",
59
+ "@atlaskit/editor-plugin-emoji": "^14.0.0",
60
+ "@atlaskit/editor-plugin-expand": "^14.0.0",
61
+ "@atlaskit/editor-plugin-extension": "^16.0.0",
62
+ "@atlaskit/editor-plugin-feature-flags": "^12.0.0",
63
+ "@atlaskit/editor-plugin-find-replace": "^13.0.0",
64
+ "@atlaskit/editor-plugin-floating-toolbar": "^15.0.0",
65
+ "@atlaskit/editor-plugin-focus": "^12.0.0",
66
+ "@atlaskit/editor-plugin-fragment": "^13.0.0",
67
+ "@atlaskit/editor-plugin-grid": "^13.0.0",
68
+ "@atlaskit/editor-plugin-guideline": "^13.0.0",
69
+ "@atlaskit/editor-plugin-help-dialog": "^13.0.0",
70
+ "@atlaskit/editor-plugin-highlight": "^13.0.0",
71
+ "@atlaskit/editor-plugin-history": "^13.0.0",
72
+ "@atlaskit/editor-plugin-hyperlink": "^15.0.0",
73
+ "@atlaskit/editor-plugin-indentation": "^13.0.0",
74
+ "@atlaskit/editor-plugin-insert-block": "^14.0.0",
75
+ "@atlaskit/editor-plugin-interaction": "^24.0.0",
76
+ "@atlaskit/editor-plugin-layout": "^14.0.0",
77
+ "@atlaskit/editor-plugin-limited-mode": "^10.0.0",
78
+ "@atlaskit/editor-plugin-list": "^15.0.0",
79
+ "@atlaskit/editor-plugin-local-id": "^11.0.0",
80
+ "@atlaskit/editor-plugin-loom": "^15.0.0",
81
+ "@atlaskit/editor-plugin-media": "^15.0.0",
82
+ "@atlaskit/editor-plugin-media-insert": "^28.0.0",
83
+ "@atlaskit/editor-plugin-mentions": "^15.0.0",
84
+ "@atlaskit/editor-plugin-metrics": "^14.0.0",
85
+ "@atlaskit/editor-plugin-panel": "^15.0.0",
86
+ "@atlaskit/editor-plugin-paste": "^14.0.0",
87
+ "@atlaskit/editor-plugin-paste-options-toolbar": "^14.0.0",
88
+ "@atlaskit/editor-plugin-placeholder": "^13.0.0",
89
+ "@atlaskit/editor-plugin-placeholder-text": "^14.0.0",
90
+ "@atlaskit/editor-plugin-primary-toolbar": "^14.0.0",
91
+ "@atlaskit/editor-plugin-quick-insert": "^13.0.0",
92
+ "@atlaskit/editor-plugin-rule": "^13.0.0",
93
+ "@atlaskit/editor-plugin-scroll-into-view": "^13.0.0",
94
+ "@atlaskit/editor-plugin-selection": "^13.0.0",
95
+ "@atlaskit/editor-plugin-selection-extension": "^16.0.0",
96
+ "@atlaskit/editor-plugin-selection-marker": "^13.0.0",
97
+ "@atlaskit/editor-plugin-selection-toolbar": "^14.0.0",
98
+ "@atlaskit/editor-plugin-show-diff": "^11.0.0",
99
+ "@atlaskit/editor-plugin-status": "^14.0.0",
100
+ "@atlaskit/editor-plugin-submit-editor": "^13.0.0",
101
+ "@atlaskit/editor-plugin-synced-block": "^11.0.0",
102
+ "@atlaskit/editor-plugin-table": "^25.0.0",
103
+ "@atlaskit/editor-plugin-tasks-and-decisions": "^16.0.0",
104
+ "@atlaskit/editor-plugin-text-color": "^13.0.0",
105
+ "@atlaskit/editor-plugin-text-formatting": "^13.0.0",
106
+ "@atlaskit/editor-plugin-toolbar": "^10.0.0",
107
+ "@atlaskit/editor-plugin-toolbar-lists-indentation": "^14.0.0",
108
+ "@atlaskit/editor-plugin-track-changes": "^12.0.0",
109
+ "@atlaskit/editor-plugin-type-ahead": "^14.0.0",
110
+ "@atlaskit/editor-plugin-ufo": "^13.0.0",
111
+ "@atlaskit/editor-plugin-ui-control-registry": "^7.0.0",
112
+ "@atlaskit/editor-plugin-undo-redo": "^13.0.0",
113
+ "@atlaskit/editor-plugin-unsupported-content": "^13.0.0",
114
+ "@atlaskit/editor-plugin-user-intent": "^11.0.0",
115
+ "@atlaskit/editor-plugin-user-preferences": "^11.0.0",
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": "^137.0.0",
119
+ "@atlaskit/tmp-editor-statsig": "^138.1.0",
120
120
  "@atlassian/ari": "^2.596.0",
121
- "@atlassian/editor-plugin-agent-managed-extension": "^2.13.0",
121
+ "@atlassian/editor-plugin-agent-managed-extension": "^3.0.0",
122
122
  "@babel/runtime": "^7.0.0"
123
123
  },
124
124
  "peerDependencies": {
125
- "@atlaskit/editor-common": "^116.51.0",
125
+ "@atlaskit/editor-common": "^117.0.0",
126
126
  "react": "^18.2.0 || ^19.2.0",
127
127
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
128
128
  },
@@ -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
  }