@atlaskit/editor-plugin-table 2.4.0 → 2.5.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 +10 -0
- package/dist/cjs/plugins/table/nodeviews/TableResizer.js +2 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/plugins/table/nodeviews/TableResizer.js +2 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/plugins/table/nodeviews/TableResizer.js +2 -1
- package/dist/esm/version.json +1 -1
- package/package.json +2 -2
- package/src/plugins/table/nodeviews/TableResizer.tsx +1 -0
- package/tmp/api-report-tmp.d.ts +0 -108
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 2.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`22a59977bb3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22a59977bb3) - [ux] Updated ResizerNext to allow handle style overrides. Updated the table resizer to space and align the resizer handle according the the design specifications
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 2.4.0
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
|
@@ -134,7 +134,8 @@ var TableResizer = function TableResizer(_ref) {
|
|
|
134
134
|
minWidth: minColumnWidth,
|
|
135
135
|
maxWidth: maxWidth,
|
|
136
136
|
snapGap: _consts.TABLE_SNAP_GAP,
|
|
137
|
-
snap: guidelineSnaps
|
|
137
|
+
snap: guidelineSnaps,
|
|
138
|
+
handlePositioning: "adjacent"
|
|
138
139
|
}, children);
|
|
139
140
|
};
|
|
140
141
|
exports.TableResizer = TableResizer;
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@atlaskit/adf-schema": "^26.2.0",
|
|
31
|
-
"@atlaskit/editor-common": "^74.
|
|
31
|
+
"@atlaskit/editor-common": "^74.24.0",
|
|
32
32
|
"@atlaskit/editor-palette": "1.5.1",
|
|
33
33
|
"@atlaskit/editor-plugin-analytics": "^0.1.0",
|
|
34
34
|
"@atlaskit/editor-plugin-content-insertion": "^0.0.6",
|
package/tmp/api-report-tmp.d.ts
DELETED
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
## API Report File for "@atlaskit/editor-plugin-table"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
8
|
-
import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
9
|
-
import type { Command } from '@atlaskit/editor-common/types';
|
|
10
|
-
import type { contentInsertionPlugin } from '@atlaskit/editor-plugin-content-insertion';
|
|
11
|
-
import type { EditorSelectionAPI } from '@atlaskit/editor-common/selection';
|
|
12
|
-
import type { GetEditorFeatureFlags } from '@atlaskit/editor-common/types';
|
|
13
|
-
import type { guidelinePlugin } from '@atlaskit/editor-plugin-guideline';
|
|
14
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
15
|
-
import { TableLayout } from '@atlaskit/adf-schema';
|
|
16
|
-
import type { widthPlugin } from '@atlaskit/editor-plugin-width';
|
|
17
|
-
|
|
18
|
-
// @public (undocumented)
|
|
19
|
-
type InsertTableAction = (analyticsPayload: AnalyticsEventPayload) => Command;
|
|
20
|
-
|
|
21
|
-
// @public (undocumented)
|
|
22
|
-
type PermittedLayoutsDescriptor = 'all' | TableLayout[];
|
|
23
|
-
|
|
24
|
-
// @public (undocumented)
|
|
25
|
-
interface PluginConfig {
|
|
26
|
-
// (undocumented)
|
|
27
|
-
advanced?: boolean;
|
|
28
|
-
// (undocumented)
|
|
29
|
-
allowAddColumnWithCustomStep?: boolean;
|
|
30
|
-
// (undocumented)
|
|
31
|
-
allowBackgroundColor?: boolean;
|
|
32
|
-
// (undocumented)
|
|
33
|
-
allowCellOptionsInFloatingToolbar?: boolean;
|
|
34
|
-
// (undocumented)
|
|
35
|
-
allowCollapse?: boolean;
|
|
36
|
-
// (undocumented)
|
|
37
|
-
allowColumnResizing?: boolean;
|
|
38
|
-
// (undocumented)
|
|
39
|
-
allowColumnSorting?: boolean;
|
|
40
|
-
// (undocumented)
|
|
41
|
-
allowControls?: boolean;
|
|
42
|
-
// (undocumented)
|
|
43
|
-
allowDistributeColumns?: boolean;
|
|
44
|
-
// (undocumented)
|
|
45
|
-
allowHeaderColumn?: boolean;
|
|
46
|
-
// (undocumented)
|
|
47
|
-
allowHeaderRow?: boolean;
|
|
48
|
-
// (undocumented)
|
|
49
|
-
allowMergeCells?: boolean;
|
|
50
|
-
// (undocumented)
|
|
51
|
-
allowNumberColumn?: boolean;
|
|
52
|
-
// (undocumented)
|
|
53
|
-
initialRenderOptimization?: boolean;
|
|
54
|
-
// (undocumented)
|
|
55
|
-
isHeaderRowRequired?: boolean;
|
|
56
|
-
// (undocumented)
|
|
57
|
-
mouseMoveOptimization?: boolean;
|
|
58
|
-
// (undocumented)
|
|
59
|
-
permittedLayouts?: PermittedLayoutsDescriptor;
|
|
60
|
-
// (undocumented)
|
|
61
|
-
stickyHeaders?: boolean;
|
|
62
|
-
// (undocumented)
|
|
63
|
-
stickyHeadersOptimization?: boolean;
|
|
64
|
-
// (undocumented)
|
|
65
|
-
tableCellOptimization?: boolean;
|
|
66
|
-
// (undocumented)
|
|
67
|
-
tableOverflowShadowsOptimization?: boolean;
|
|
68
|
-
// (undocumented)
|
|
69
|
-
tableRenderOptimization?: boolean;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// @public (undocumented)
|
|
73
|
-
interface TablePluginOptions {
|
|
74
|
-
// (undocumented)
|
|
75
|
-
allowContextualMenu?: boolean;
|
|
76
|
-
// (undocumented)
|
|
77
|
-
breakoutEnabled?: boolean;
|
|
78
|
-
// (undocumented)
|
|
79
|
-
editorSelectionAPI?: EditorSelectionAPI;
|
|
80
|
-
// (undocumented)
|
|
81
|
-
fullWidthEnabled?: boolean;
|
|
82
|
-
// (undocumented)
|
|
83
|
-
getEditorFeatureFlags?: GetEditorFeatureFlags;
|
|
84
|
-
// (undocumented)
|
|
85
|
-
tableOptions: PluginConfig;
|
|
86
|
-
// (undocumented)
|
|
87
|
-
tableResizingEnabled?: boolean;
|
|
88
|
-
// (undocumented)
|
|
89
|
-
wasFullWidthEnabled?: boolean;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// @public (undocumented)
|
|
93
|
-
export const tablesPlugin: NextEditorPlugin<'table', {
|
|
94
|
-
pluginConfiguration: TablePluginOptions | undefined;
|
|
95
|
-
actions: {
|
|
96
|
-
insertTable: InsertTableAction;
|
|
97
|
-
};
|
|
98
|
-
dependencies: [
|
|
99
|
-
typeof analyticsPlugin,
|
|
100
|
-
typeof contentInsertionPlugin,
|
|
101
|
-
typeof widthPlugin,
|
|
102
|
-
typeof guidelinePlugin
|
|
103
|
-
];
|
|
104
|
-
}>;
|
|
105
|
-
|
|
106
|
-
// (No @packageDocumentation comment for this package)
|
|
107
|
-
|
|
108
|
-
```
|