@atlaskit/editor-plugin-table 10.13.0 → 10.13.2

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,17 @@
1
1
  # @atlaskit/editor-plugin-table
2
2
 
3
+ ## 10.13.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 10.13.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 10.13.0
4
16
 
5
17
  ### Minor Changes
@@ -0,0 +1,105 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.volt.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../volt/tsDist/@atlaskit__editor-plugin-table/app",
7
+ "rootDir": "../",
8
+ "composite": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*"
18
+ ],
19
+ "references": [
20
+ {
21
+ "path": "../../../design-system/button/afm-volt/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../custom-steps/afm-volt/tsconfig.json"
25
+ },
26
+ {
27
+ "path": "../../editor-common/afm-volt/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../editor-palette/afm-volt/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../editor-plugin-accessibility-utils/afm-volt/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../editor-plugin-analytics/afm-volt/tsconfig.json"
37
+ },
38
+ {
39
+ "path": "../../editor-plugin-batch-attribute-updates/afm-volt/tsconfig.json"
40
+ },
41
+ {
42
+ "path": "../../editor-plugin-content-insertion/afm-volt/tsconfig.json"
43
+ },
44
+ {
45
+ "path": "../../editor-plugin-editor-viewmode/afm-volt/tsconfig.json"
46
+ },
47
+ {
48
+ "path": "../../editor-plugin-extension/afm-volt/tsconfig.json"
49
+ },
50
+ {
51
+ "path": "../../editor-plugin-guideline/afm-volt/tsconfig.json"
52
+ },
53
+ {
54
+ "path": "../../editor-plugin-interaction/afm-volt/tsconfig.json"
55
+ },
56
+ {
57
+ "path": "../../editor-plugin-selection/afm-volt/tsconfig.json"
58
+ },
59
+ {
60
+ "path": "../../editor-plugin-width/afm-volt/tsconfig.json"
61
+ },
62
+ {
63
+ "path": "../../editor-shared-styles/afm-volt/tsconfig.json"
64
+ },
65
+ {
66
+ "path": "../../editor-tables/afm-volt/tsconfig.json"
67
+ },
68
+ {
69
+ "path": "../../../design-system/icon/afm-volt/tsconfig.json"
70
+ },
71
+ {
72
+ "path": "../../../design-system/menu/afm-volt/tsconfig.json"
73
+ },
74
+ {
75
+ "path": "../../../platform/feature-flags/afm-volt/tsconfig.json"
76
+ },
77
+ {
78
+ "path": "../../../pragmatic-drag-and-drop/core/afm-volt/tsconfig.json"
79
+ },
80
+ {
81
+ "path": "../../../pragmatic-drag-and-drop/auto-scroll/afm-volt/tsconfig.json"
82
+ },
83
+ {
84
+ "path": "../../../pragmatic-drag-and-drop/hitbox/afm-volt/tsconfig.json"
85
+ },
86
+ {
87
+ "path": "../../../design-system/primitives/afm-volt/tsconfig.json"
88
+ },
89
+ {
90
+ "path": "../../../design-system/theme/afm-volt/tsconfig.json"
91
+ },
92
+ {
93
+ "path": "../../tmp-editor-statsig/afm-volt/tsconfig.json"
94
+ },
95
+ {
96
+ "path": "../../../design-system/toggle/afm-volt/tsconfig.json"
97
+ },
98
+ {
99
+ "path": "../../../design-system/tokens/afm-volt/tsconfig.json"
100
+ },
101
+ {
102
+ "path": "../../../design-system/tooltip/afm-volt/tsconfig.json"
103
+ }
104
+ ]
105
+ }
@@ -257,7 +257,7 @@ var createPlugin = exports.createPlugin = function createPlugin(dispatchAnalytic
257
257
  // Ignored via go/ees005
258
258
  // eslint-disable-next-line @atlaskit/editor/no-as-casting
259
259
  var targetClassList = event.target.classList;
260
- if (targetClassList.contains(_types.TableCssClassName.CONTROLS_BUTTON) || targetClassList.contains(_types.TableCssClassName.CONTEXTUAL_MENU_BUTTON) || targetClassList.contains(_types.TableCssClassName.DRAG_HANDLE_BUTTON_CLICKABLE_ZONE) || targetClassList.contains(_types.TableCssClassName.DRAG_HANDLE_BUTTON_CONTAINER) && (0, _platformFeatureFlags.fg)('platform_editor_table_last_col_drag_handle_fix')) {
260
+ if (targetClassList.contains(_types.TableCssClassName.CONTROLS_BUTTON) || targetClassList.contains(_types.TableCssClassName.CONTEXTUAL_MENU_BUTTON) || targetClassList.contains(_types.TableCssClassName.DRAG_HANDLE_BUTTON_CLICKABLE_ZONE) || targetClassList.contains(_types.TableCssClassName.DRAG_HANDLE_BUTTON_CONTAINER)) {
261
261
  return true;
262
262
  }
263
263
  }
@@ -250,7 +250,7 @@ export const createPlugin = (dispatchAnalyticsEvent, dispatch, portalProviderAPI
250
250
  // Ignored via go/ees005
251
251
  // eslint-disable-next-line @atlaskit/editor/no-as-casting
252
252
  const targetClassList = event.target.classList;
253
- if (targetClassList.contains(ClassName.CONTROLS_BUTTON) || targetClassList.contains(ClassName.CONTEXTUAL_MENU_BUTTON) || targetClassList.contains(ClassName.DRAG_HANDLE_BUTTON_CLICKABLE_ZONE) || targetClassList.contains(ClassName.DRAG_HANDLE_BUTTON_CONTAINER) && fg('platform_editor_table_last_col_drag_handle_fix')) {
253
+ if (targetClassList.contains(ClassName.CONTROLS_BUTTON) || targetClassList.contains(ClassName.CONTEXTUAL_MENU_BUTTON) || targetClassList.contains(ClassName.DRAG_HANDLE_BUTTON_CLICKABLE_ZONE) || targetClassList.contains(ClassName.DRAG_HANDLE_BUTTON_CONTAINER)) {
254
254
  return true;
255
255
  }
256
256
  }
@@ -250,7 +250,7 @@ export var createPlugin = function createPlugin(dispatchAnalyticsEvent, dispatch
250
250
  // Ignored via go/ees005
251
251
  // eslint-disable-next-line @atlaskit/editor/no-as-casting
252
252
  var targetClassList = event.target.classList;
253
- if (targetClassList.contains(ClassName.CONTROLS_BUTTON) || targetClassList.contains(ClassName.CONTEXTUAL_MENU_BUTTON) || targetClassList.contains(ClassName.DRAG_HANDLE_BUTTON_CLICKABLE_ZONE) || targetClassList.contains(ClassName.DRAG_HANDLE_BUTTON_CONTAINER) && fg('platform_editor_table_last_col_drag_handle_fix')) {
253
+ if (targetClassList.contains(ClassName.CONTROLS_BUTTON) || targetClassList.contains(ClassName.CONTEXTUAL_MENU_BUTTON) || targetClassList.contains(ClassName.DRAG_HANDLE_BUTTON_CLICKABLE_ZONE) || targetClassList.contains(ClassName.DRAG_HANDLE_BUTTON_CONTAINER)) {
254
254
  return true;
255
255
  }
256
256
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "10.13.0",
3
+ "version": "10.13.2",
4
4
  "description": "Table plugin for the @atlaskit/editor",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -25,21 +25,20 @@
25
25
  "atlaskit:src": "src/index.ts",
26
26
  "atlassian": {
27
27
  "team": "Editor: Jenga",
28
- "singleton": true,
29
- "runReact18": true
28
+ "singleton": true
30
29
  },
31
30
  "dependencies": {
32
31
  "@atlaskit/adf-schema": "^47.6.0",
33
32
  "@atlaskit/button": "^23.2.0",
34
33
  "@atlaskit/custom-steps": "^0.11.0",
35
- "@atlaskit/editor-common": "^107.3.0",
34
+ "@atlaskit/editor-common": "^107.4.0",
36
35
  "@atlaskit/editor-palette": "^2.1.0",
37
36
  "@atlaskit/editor-plugin-accessibility-utils": "^2.0.0",
38
37
  "@atlaskit/editor-plugin-analytics": "^2.3.0",
39
38
  "@atlaskit/editor-plugin-batch-attribute-updates": "^2.1.0",
40
39
  "@atlaskit/editor-plugin-content-insertion": "^2.1.0",
41
40
  "@atlaskit/editor-plugin-editor-viewmode": "^4.0.0",
42
- "@atlaskit/editor-plugin-extension": "5.5.12",
41
+ "@atlaskit/editor-plugin-extension": "5.5.14",
43
42
  "@atlaskit/editor-plugin-guideline": "^2.0.0",
44
43
  "@atlaskit/editor-plugin-interaction": "^3.0.0",
45
44
  "@atlaskit/editor-plugin-selection": "^2.2.0",
@@ -55,7 +54,7 @@
55
54
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
56
55
  "@atlaskit/primitives": "^14.10.0",
57
56
  "@atlaskit/theme": "^18.0.0",
58
- "@atlaskit/tmp-editor-statsig": "^8.4.0",
57
+ "@atlaskit/tmp-editor-statsig": "^8.6.0",
59
58
  "@atlaskit/toggle": "^15.0.0",
60
59
  "@atlaskit/tokens": "^5.4.0",
61
60
  "@atlaskit/tooltip": "^20.3.0",
@@ -190,9 +189,6 @@
190
189
  "platform_editor_table_drag_menu_flickers_fix": {
191
190
  "type": "boolean"
192
191
  },
193
- "platform_editor_table_last_col_drag_handle_fix": {
194
- "type": "boolean"
195
- },
196
192
  "platform_editor_r18_fix_selection_resync": {
197
193
  "type": "boolean"
198
194
  },
@@ -355,8 +355,7 @@ export const createPlugin = (
355
355
  targetClassList.contains(ClassName.CONTROLS_BUTTON) ||
356
356
  targetClassList.contains(ClassName.CONTEXTUAL_MENU_BUTTON) ||
357
357
  targetClassList.contains(ClassName.DRAG_HANDLE_BUTTON_CLICKABLE_ZONE) ||
358
- (targetClassList.contains(ClassName.DRAG_HANDLE_BUTTON_CONTAINER) &&
359
- fg('platform_editor_table_last_col_drag_handle_fix'))
358
+ targetClassList.contains(ClassName.DRAG_HANDLE_BUTTON_CONTAINER)
360
359
  ) {
361
360
  return true;
362
361
  }