@atlaskit/editor-core 217.12.9 → 217.12.10

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,15 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 217.12.10
4
+
5
+ ### Patch Changes
6
+
7
+ - [`0ad738e8f896e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0ad738e8f896e) -
8
+ Remove `support_table_in_comment` and `support_table_in_comment_jira` experiment references. Both
9
+ experiments are fully rolled out — table resizing, alignment, scaling, and distribute columns are
10
+ now enabled unconditionally in comment editors.
11
+ - Updated dependencies
12
+
3
13
  ## 217.12.9
4
14
 
5
15
  ### Patch Changes
@@ -163,16 +163,7 @@ function createUniversalPresetInternal(_ref) {
163
163
  emojiProvider: props.emojiProvider
164
164
  }, initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.emojiPlugin)], Boolean(props.emojiProvider)).maybeAdd([_table.tablesPlugin, {
165
165
  tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
166
- dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && (isFullPage || (isComment || isChromeless) && (0, _experiments.editorExperiment)('support_table_in_comment', true, {
167
- exposure: true
168
- })) || isComment && (0, _experiments.editorExperiment)('support_table_in_comment_jira', true, {
169
- exposure: true
170
- }),
171
- isTableScalingEnabled: isFullPage || isComment && (0, _experiments.editorExperiment)('support_table_in_comment', true, {
172
- exposure: true
173
- }) || isComment && (0, _experiments.editorExperiment)('support_table_in_comment_jira', true, {
174
- exposure: true
175
- }),
166
+ isTableScalingEnabled: isFullPage || isComment,
176
167
  allowContextualMenu: true,
177
168
  fullWidthEnabled: appearance === 'full-width',
178
169
  wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
@@ -159,16 +159,7 @@ export default function createUniversalPresetInternal({
159
159
  ...(initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.emojiPlugin)
160
160
  }], Boolean(props.emojiProvider)).maybeAdd([tablesPlugin, {
161
161
  tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
162
- dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && (isFullPage || (isComment || isChromeless) && editorExperiment('support_table_in_comment', true, {
163
- exposure: true
164
- })) || isComment && editorExperiment('support_table_in_comment_jira', true, {
165
- exposure: true
166
- }),
167
- isTableScalingEnabled: isFullPage || isComment && editorExperiment('support_table_in_comment', true, {
168
- exposure: true
169
- }) || isComment && editorExperiment('support_table_in_comment_jira', true, {
170
- exposure: true
171
- }),
162
+ isTableScalingEnabled: isFullPage || isComment,
172
163
  allowContextualMenu: true,
173
164
  fullWidthEnabled: appearance === 'full-width',
174
165
  wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
@@ -156,16 +156,7 @@ export default function createUniversalPresetInternal(_ref) {
156
156
  emojiProvider: props.emojiProvider
157
157
  }, initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.emojiPlugin)], Boolean(props.emojiProvider)).maybeAdd([tablesPlugin, {
158
158
  tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
159
- dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && (isFullPage || (isComment || isChromeless) && editorExperiment('support_table_in_comment', true, {
160
- exposure: true
161
- })) || isComment && editorExperiment('support_table_in_comment_jira', true, {
162
- exposure: true
163
- }),
164
- isTableScalingEnabled: isFullPage || isComment && editorExperiment('support_table_in_comment', true, {
165
- exposure: true
166
- }) || isComment && editorExperiment('support_table_in_comment_jira', true, {
167
- exposure: true
168
- }),
159
+ isTableScalingEnabled: isFullPage || isComment,
169
160
  allowContextualMenu: true,
170
161
  fullWidthEnabled: appearance === 'full-width',
171
162
  wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "217.12.9",
3
+ "version": "217.12.10",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -67,7 +67,7 @@
67
67
  "@atlaskit/platform-feature-flags-react": "^0.4.0",
68
68
  "@atlaskit/react-ufo": "^5.13.0",
69
69
  "@atlaskit/task-decision": "^19.3.0",
70
- "@atlaskit/tmp-editor-statsig": "^60.2.0",
70
+ "@atlaskit/tmp-editor-statsig": "^61.0.0",
71
71
  "@atlaskit/tokens": "^13.0.0",
72
72
  "@atlaskit/tooltip": "^21.1.0",
73
73
  "@atlaskit/width-detector": "^5.0.0",