@atlaskit/editor-plugin-table 1.6.3 → 1.6.4

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-plugin-table
2
2
 
3
+ ## 1.6.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`5e01082b600`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5e01082b600) - Extracting SelectionBasedNodeView to editor-common.
8
+ - Updated dependencies
9
+
3
10
  ## 1.6.3
4
11
 
5
12
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "1.6.3",
3
+ "version": "1.6.4",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "1.6.3",
3
+ "version": "1.6.4",
4
4
  "sideEffects": false
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "1.6.3",
3
+ "version": "1.6.4",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "1.6.3",
3
+ "version": "1.6.4",
4
4
  "description": "Table plugin for the @atlaskit/editor",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@atlaskit/adf-schema": "^25.9.0",
30
- "@atlaskit/editor-common": "^74.7.0",
30
+ "@atlaskit/editor-common": "^74.8.0",
31
31
  "@atlaskit/editor-palette": "1.5.0",
32
32
  "@atlaskit/editor-plugin-analytics": "^0.0.2",
33
33
  "@atlaskit/editor-plugin-content-insertion": "^0.0.2",
@@ -36,7 +36,7 @@
36
36
  "@atlaskit/icon": "^21.12.0",
37
37
  "@atlaskit/platform-feature-flags": "^0.2.1",
38
38
  "@atlaskit/theme": "^12.5.0",
39
- "@atlaskit/tokens": "^1.6.0",
39
+ "@atlaskit/tokens": "^1.8.0",
40
40
  "@atlaskit/tooltip": "^17.8.0",
41
41
  "@babel/runtime": "^7.0.0",
42
42
  "@emotion/react": "^11.7.1",
@@ -63,13 +63,13 @@
63
63
  "devDependencies": {
64
64
  "@af/editor-libra": "*",
65
65
  "@atlaskit/analytics-next": "^9.1.0",
66
- "@atlaskit/button": "^16.7.0",
66
+ "@atlaskit/button": "^16.8.0",
67
67
  "@atlaskit/editor-core": "^185.2.0",
68
68
  "@atlaskit/editor-plugin-decorations": "^0.1.0",
69
69
  "@atlaskit/editor-plugin-feature-flags": "^0.1.0",
70
70
  "@atlaskit/editor-plugin-grid": "^0.1.0",
71
71
  "@atlaskit/editor-plugin-width": "^0.1.0",
72
- "@atlaskit/editor-test-helpers": "^18.6.0",
72
+ "@atlaskit/editor-test-helpers": "^18.7.0",
73
73
  "@atlaskit/link-provider": "^1.6.0",
74
74
  "@atlaskit/logo": "^13.14.0",
75
75
  "@atlaskit/media-integration-test-helpers": "^3.0.0",
@@ -55,6 +55,7 @@ import { handleCut } from '../../plugins/table/event-handlers';
55
55
  import { getPluginState } from '../../plugins/table/pm-plugins/plugin-factory';
56
56
  import { pluginKey } from '../../plugins/table/pm-plugins/plugin-key';
57
57
  import tablePlugin from '../../plugins/table';
58
+ import editorDisabledPlugin from '@atlaskit/editor-core/src/plugins/editor-disabled';
58
59
  import panelPlugin from '@atlaskit/editor-core/src/plugins/panel';
59
60
  import expandPlugin from '@atlaskit/editor-core/src/plugins/expand';
60
61
  import extensionPlugin from '@atlaskit/editor-core/src/plugins/extension';
@@ -87,6 +88,7 @@ describe('table plugin: actions', () => {
87
88
  attachTo: document.body,
88
89
  preset: new Preset<LightEditorPlugin>()
89
90
  .add([featureFlagsPlugin, {}])
91
+ .add(editorDisabledPlugin)
90
92
  .add([analyticsPlugin, {}])
91
93
  .add(contentInsertionPlugin)
92
94
  .add(decorationsPlugin)
@@ -36,6 +36,7 @@ import { TableCssClassName as ClassName } from '../../plugins/table/types';
36
36
  import tablePlugin from '../../plugins/table-plugin';
37
37
  import mediaPlugin from '@atlaskit/editor-core/src/plugins/media';
38
38
  import floatingToolbarPlugin from '@atlaskit/editor-core/src/plugins/floating-toolbar';
39
+ import editorDisabledPlugin from '@atlaskit/editor-core/src/plugins/editor-disabled';
39
40
  import { widthPlugin } from '@atlaskit/editor-plugin-width';
40
41
  import { gridPlugin } from '@atlaskit/editor-plugin-grid';
41
42
  import featureFlagsPlugin from '@atlaskit/editor-plugin-feature-flags';
@@ -167,6 +168,7 @@ describe('table event handlers', () => {
167
168
  attachTo: document.body,
168
169
  preset: new Preset<LightEditorPlugin>()
169
170
  .add([featureFlagsPlugin, {}])
171
+ .add(editorDisabledPlugin)
170
172
  .add([analyticsPlugin, {}])
171
173
  .add(contentInsertionPlugin)
172
174
  .add(decorationsPlugin)
@@ -56,6 +56,7 @@ import textFormattingPlugin from '@atlaskit/editor-core/src/plugins/text-formatt
56
56
  import deprecatedAnalyticsPlugin from '@atlaskit/editor-core/src/plugins/analytics';
57
57
  import { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
58
58
  import mediaPlugin from '@atlaskit/editor-core/src/plugins/media';
59
+ import editorDisabledPlugin from '@atlaskit/editor-core/src/plugins/editor-disabled';
59
60
  import selectionPlugin from '@atlaskit/editor-core/src/plugins/selection';
60
61
  import floatingToolbarPlugin from '@atlaskit/editor-core/src/plugins/floating-toolbar';
61
62
  import { widthPlugin } from '@atlaskit/editor-plugin-width';
@@ -101,6 +102,7 @@ describe('table plugin', () => {
101
102
  .add([featureFlagsPlugin, {}])
102
103
  .add([analyticsPlugin, {}])
103
104
  .add([deprecatedAnalyticsPlugin, {}])
105
+ .add(editorDisabledPlugin)
104
106
  .add(contentInsertionPlugin)
105
107
  .add(decorationsPlugin)
106
108
  .add(widthPlugin)
@@ -38,7 +38,8 @@ describe('Snapshot Test: Table', () => {
38
38
  });
39
39
 
40
40
  describe('sticky header', () => {
41
- it('should align with table cell when active', async () => {
41
+ // FIXME: This test was automatically skipped due to failure on 21/06/2023: https://product-fabric.atlassian.net/browse/ED-18903
42
+ it.skip('should align with table cell when active', async () => {
42
43
  await initEditor(page, stickyHeaderWithHorizontalScroll);
43
44
 
44
45
  await clickFirstCell(page, true);