@atlaskit/editor-plugin-table 10.13.1 → 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
|
@@ -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)
|
|
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)
|
|
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)
|
|
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.
|
|
3
|
+
"version": "10.13.2",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
32
32
|
"@atlaskit/button": "^23.2.0",
|
|
33
33
|
"@atlaskit/custom-steps": "^0.11.0",
|
|
34
|
-
"@atlaskit/editor-common": "^107.
|
|
34
|
+
"@atlaskit/editor-common": "^107.4.0",
|
|
35
35
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
36
36
|
"@atlaskit/editor-plugin-accessibility-utils": "^2.0.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^2.3.0",
|
|
38
38
|
"@atlaskit/editor-plugin-batch-attribute-updates": "^2.1.0",
|
|
39
39
|
"@atlaskit/editor-plugin-content-insertion": "^2.1.0",
|
|
40
40
|
"@atlaskit/editor-plugin-editor-viewmode": "^4.0.0",
|
|
41
|
-
"@atlaskit/editor-plugin-extension": "5.5.
|
|
41
|
+
"@atlaskit/editor-plugin-extension": "5.5.14",
|
|
42
42
|
"@atlaskit/editor-plugin-guideline": "^2.0.0",
|
|
43
43
|
"@atlaskit/editor-plugin-interaction": "^3.0.0",
|
|
44
44
|
"@atlaskit/editor-plugin-selection": "^2.2.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
|
|
55
55
|
"@atlaskit/primitives": "^14.10.0",
|
|
56
56
|
"@atlaskit/theme": "^18.0.0",
|
|
57
|
-
"@atlaskit/tmp-editor-statsig": "^8.
|
|
57
|
+
"@atlaskit/tmp-editor-statsig": "^8.6.0",
|
|
58
58
|
"@atlaskit/toggle": "^15.0.0",
|
|
59
59
|
"@atlaskit/tokens": "^5.4.0",
|
|
60
60
|
"@atlaskit/tooltip": "^20.3.0",
|
|
@@ -189,9 +189,6 @@
|
|
|
189
189
|
"platform_editor_table_drag_menu_flickers_fix": {
|
|
190
190
|
"type": "boolean"
|
|
191
191
|
},
|
|
192
|
-
"platform_editor_table_last_col_drag_handle_fix": {
|
|
193
|
-
"type": "boolean"
|
|
194
|
-
},
|
|
195
192
|
"platform_editor_r18_fix_selection_resync": {
|
|
196
193
|
"type": "boolean"
|
|
197
194
|
},
|
package/src/pm-plugins/main.ts
CHANGED
|
@@ -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
|
-
|
|
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
|
}
|