@atlaskit/editor-core 188.2.9 → 188.2.11

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-core
2
2
 
3
+ ## 188.2.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [#41224](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41224) [`6818e578fd6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6818e578fd6) - Added new Tables toggle option for enabling Drag and Drop
8
+ - Updated dependencies
9
+
3
10
  ## 188.2.9
4
11
 
5
12
  ### Patch Changes
@@ -159,6 +159,7 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
159
159
  // tableResizingEnabled will replace breakoutEnabled once FF is 100% rolled out,
160
160
  // logic below is to help codemod during cleanup
161
161
  tableResizingEnabled: (0, _platformFeatureFlags.getBooleanFF)('platform.editor.custom-table-width') && ['full-page', 'full-width'].includes(appearance || ''),
162
+ dragAndDropEnabled: (0, _platformFeatureFlags.getBooleanFF)('platform.editor.table.drag-and-drop') && isFullPage,
162
163
  breakoutEnabled: appearance === 'full-page',
163
164
  allowContextualMenu: !isMobile,
164
165
  fullWidthEnabled: appearance === 'full-width',
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.nextMajorVersion = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "188.2.9";
8
+ var version = exports.version = "188.2.11";
9
9
  var nextMajorVersion = exports.nextMajorVersion = function nextMajorVersion() {
10
10
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
11
11
  };
@@ -148,6 +148,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
148
148
  // tableResizingEnabled will replace breakoutEnabled once FF is 100% rolled out,
149
149
  // logic below is to help codemod during cleanup
150
150
  tableResizingEnabled: getBooleanFF('platform.editor.custom-table-width') && ['full-page', 'full-width'].includes(appearance || ''),
151
+ dragAndDropEnabled: getBooleanFF('platform.editor.table.drag-and-drop') && isFullPage,
151
152
  breakoutEnabled: appearance === 'full-page',
152
153
  allowContextualMenu: !isMobile,
153
154
  fullWidthEnabled: appearance === 'full-width',
@@ -1,5 +1,5 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "188.2.9";
2
+ export const version = "188.2.11";
3
3
  export const nextMajorVersion = () => {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
@@ -152,6 +152,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
152
152
  // tableResizingEnabled will replace breakoutEnabled once FF is 100% rolled out,
153
153
  // logic below is to help codemod during cleanup
154
154
  tableResizingEnabled: getBooleanFF('platform.editor.custom-table-width') && ['full-page', 'full-width'].includes(appearance || ''),
155
+ dragAndDropEnabled: getBooleanFF('platform.editor.table.drag-and-drop') && isFullPage,
155
156
  breakoutEnabled: appearance === 'full-page',
156
157
  allowContextualMenu: !isMobile,
157
158
  fullWidthEnabled: appearance === 'full-width',
@@ -1,5 +1,5 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "188.2.9";
2
+ export var version = "188.2.11";
3
3
  export var nextMajorVersion = function nextMajorVersion() {
4
4
  return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
5
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "188.2.9",
3
+ "version": "188.2.11",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -86,7 +86,7 @@
86
86
  "@atlaskit/editor-plugin-placeholder": "^0.1.0",
87
87
  "@atlaskit/editor-plugin-quick-insert": "^0.1.0",
88
88
  "@atlaskit/editor-plugin-rule": "^0.1.0",
89
- "@atlaskit/editor-plugin-table": "^4.0.0",
89
+ "@atlaskit/editor-plugin-table": "^4.1.0",
90
90
  "@atlaskit/editor-plugin-text-formatting": "^0.4.0",
91
91
  "@atlaskit/editor-plugin-type-ahead": "^0.4.0",
92
92
  "@atlaskit/editor-plugin-unsupported-content": "^0.2.0",
@@ -157,10 +157,9 @@
157
157
  "@af/integration-testing": "*",
158
158
  "@af/visual-regression": "*",
159
159
  "@atlaskit/code": "^14.6.0",
160
- "@atlaskit/collab-provider": "9.15.0",
160
+ "@atlaskit/collab-provider": "9.15.1",
161
161
  "@atlaskit/dropdown-menu": "^11.14.0",
162
162
  "@atlaskit/editor-extension-dropbox": "^0.4.0",
163
- "@atlaskit/editor-plugin-table": "^4.0.0",
164
163
  "@atlaskit/flag": "^15.2.0",
165
164
  "@atlaskit/icon-object": "^6.3.0",
166
165
  "@atlaskit/inline-dialog": "^13.6.0",
@@ -174,11 +173,7 @@
174
173
  "@atlaskit/modal-dialog": "^12.8.0",
175
174
  "@atlaskit/platform-feature-flags": "^0.2.0",
176
175
  "@atlaskit/renderer": "^108.15.0",
177
- "@atlaskit/section-message": "^6.4.0",
178
- "@atlaskit/smart-user-picker": "^6.3.0",
179
176
  "@atlaskit/synchrony-test-helpers": "^2.3.0",
180
- "@atlaskit/textarea": "^4.7.0",
181
- "@atlaskit/toggle": "^12.6.0",
182
177
  "@atlaskit/ufo": "^0.2.0",
183
178
  "@atlaskit/util-data-test": "^17.8.0",
184
179
  "@atlaskit/visual-regression": "*",
@@ -294,6 +289,9 @@
294
289
  "type": "boolean",
295
290
  "referenceOnly": "true"
296
291
  },
292
+ "platform.editor.table.drag-and-drop": {
293
+ "type": "boolean"
294
+ },
297
295
  "platform.editor.table.overflow-state-analytics": {
298
296
  "type": "boolean",
299
297
  "referenceOnly": "true"