@atlaskit/editor-plugin-table 4.0.3 → 4.1.0

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,11 @@
1
1
  # @atlaskit/editor-plugin-table
2
2
 
3
+ ## 4.1.0
4
+
5
+ ### Minor 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
+
3
9
  ## 4.0.3
4
10
 
5
11
  ### Patch Changes
@@ -9,6 +9,7 @@ import type { PluginConfig } from './types';
9
9
  interface TablePluginOptions {
10
10
  tableOptions: PluginConfig;
11
11
  tableResizingEnabled?: boolean;
12
+ dragAndDropEnabled?: boolean;
12
13
  breakoutEnabled?: boolean;
13
14
  allowContextualMenu?: boolean;
14
15
  fullWidthEnabled?: boolean;
@@ -9,6 +9,7 @@ import type { PluginConfig } from './types';
9
9
  interface TablePluginOptions {
10
10
  tableOptions: PluginConfig;
11
11
  tableResizingEnabled?: boolean;
12
+ dragAndDropEnabled?: boolean;
12
13
  breakoutEnabled?: boolean;
13
14
  allowContextualMenu?: boolean;
14
15
  fullWidthEnabled?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "4.0.3",
3
+ "version": "4.1.0",
4
4
  "description": "Table plugin for the @atlaskit/editor",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
package/report.api.md CHANGED
@@ -106,6 +106,8 @@ interface TablePluginOptions {
106
106
  // (undocumented)
107
107
  breakoutEnabled?: boolean;
108
108
  // (undocumented)
109
+ dragAndDropEnabled?: boolean;
110
+ // (undocumented)
109
111
  editorSelectionAPI?: EditorSelectionAPI;
110
112
  // (undocumented)
111
113
  fullWidthEnabled?: boolean;
@@ -82,6 +82,7 @@ interface TablePluginOptions {
82
82
  // experimental custom table resizing experience, set inside editor-core behind a feature flag
83
83
  // will eventually replace breakoutEnabled
84
84
  tableResizingEnabled?: boolean;
85
+ dragAndDropEnabled?: boolean;
85
86
  breakoutEnabled?: boolean;
86
87
  allowContextualMenu?: boolean;
87
88
  // TODO these two need to be rethought
@@ -279,7 +280,6 @@ const tablesPlugin: TablePlugin = ({ config: options, api }) => {
279
280
  )
280
281
  : undefined,
281
282
  },
282
-
283
283
  {
284
284
  name: 'tableLocalId',
285
285
  plugin: ({ dispatch }) => createTableLocalIdPlugin(dispatch),
@@ -89,6 +89,8 @@ interface TablePluginOptions {
89
89
  // (undocumented)
90
90
  breakoutEnabled?: boolean;
91
91
  // (undocumented)
92
+ dragAndDropEnabled?: boolean;
93
+ // (undocumented)
92
94
  editorSelectionAPI?: EditorSelectionAPI;
93
95
  // (undocumented)
94
96
  fullWidthEnabled?: boolean;