@atlaskit/editor-plugin-table 22.2.17 → 22.2.18
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 +9 -0
- package/dist/cjs/types/index.js +0 -1
- package/dist/cjs/ui/FloatingContextualMenu/ContextualMenu.js +92 -171
- package/dist/cjs/ui/FloatingContextualMenu/index.js +3 -4
- package/dist/cjs/ui/FloatingContextualMenu/styles.js +3 -3
- package/dist/cjs/ui/FloatingInsertButton/InsertButton.js +7 -17
- package/dist/cjs/ui/FloatingInsertButton/getPopupOptions.js +7 -9
- package/dist/cjs/ui/FloatingInsertButton/index.js +3 -2
- package/dist/cjs/ui/common-styles.js +1 -2
- package/dist/cjs/ui/consts.js +1 -2
- package/dist/cjs/ui/ui-styles.js +14 -19
- package/dist/es2019/types/index.js +0 -1
- package/dist/es2019/ui/FloatingContextualMenu/ContextualMenu.js +36 -131
- package/dist/es2019/ui/FloatingContextualMenu/index.js +4 -5
- package/dist/es2019/ui/FloatingContextualMenu/styles.js +4 -24
- package/dist/es2019/ui/FloatingInsertButton/InsertButton.js +7 -17
- package/dist/es2019/ui/FloatingInsertButton/getPopupOptions.js +8 -10
- package/dist/es2019/ui/FloatingInsertButton/index.js +3 -2
- package/dist/es2019/ui/common-styles.js +2 -5
- package/dist/es2019/ui/consts.js +0 -1
- package/dist/es2019/ui/ui-styles.js +2 -13
- package/dist/esm/types/index.js +0 -1
- package/dist/esm/ui/FloatingContextualMenu/ContextualMenu.js +93 -172
- package/dist/esm/ui/FloatingContextualMenu/index.js +4 -5
- package/dist/esm/ui/FloatingContextualMenu/styles.js +4 -4
- package/dist/esm/ui/FloatingInsertButton/InsertButton.js +7 -17
- package/dist/esm/ui/FloatingInsertButton/getPopupOptions.js +8 -10
- package/dist/esm/ui/FloatingInsertButton/index.js +3 -2
- package/dist/esm/ui/common-styles.js +1 -2
- package/dist/esm/ui/consts.js +0 -1
- package/dist/esm/ui/ui-styles.js +15 -20
- package/dist/types/types/index.d.ts +0 -1
- package/dist/types/ui/FloatingContextualMenu/ContextualMenu.d.ts +1 -4
- package/dist/types/ui/FloatingContextualMenu/styles.d.ts +1 -1
- package/dist/types/ui/FloatingInsertButton/getPopupOptions.d.ts +1 -1
- package/dist/types/ui/consts.d.ts +0 -1
- package/dist/types/ui/ui-styles.d.ts +1 -1
- package/dist/types-ts4.5/types/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/FloatingContextualMenu/ContextualMenu.d.ts +1 -4
- package/dist/types-ts4.5/ui/FloatingContextualMenu/styles.d.ts +1 -1
- package/dist/types-ts4.5/ui/FloatingInsertButton/getPopupOptions.d.ts +1 -1
- package/dist/types-ts4.5/ui/consts.d.ts +0 -1
- package/dist/types-ts4.5/ui/ui-styles.d.ts +1 -1
- package/package.json +4 -4
|
@@ -327,7 +327,6 @@ export declare const TableCssClassName: {
|
|
|
327
327
|
CONTEXTUAL_MENU_BUTTON: string;
|
|
328
328
|
CONTEXTUAL_MENU_BUTTON_FIXED: string;
|
|
329
329
|
CONTEXTUAL_MENU_BUTTON_WRAP: string;
|
|
330
|
-
CONTEXTUAL_MENU_ICON: string;
|
|
331
330
|
CONTEXTUAL_MENU_ICON_SMALL: string;
|
|
332
331
|
CONTEXTUAL_SUBMENU: string;
|
|
333
332
|
CONTROLS_BUTTON: string;
|
|
@@ -52,10 +52,7 @@ export declare class ContextualMenu extends Component<Props & WrappedComponentPr
|
|
|
52
52
|
private createDeleteColumnItem;
|
|
53
53
|
private createDeleteRowItem;
|
|
54
54
|
private createDistributeColumnsItemInternal;
|
|
55
|
-
private
|
|
56
|
-
private createSortColumnItems;
|
|
57
|
-
private createOriginalContextMenuItems;
|
|
58
|
-
private createNewContextMenuItems;
|
|
55
|
+
private createContextMenuItems;
|
|
59
56
|
private onMenuItemActivated;
|
|
60
57
|
private toggleOpen;
|
|
61
58
|
private handleOpenChange;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type SerializedStyles } from '@emotion/react';
|
|
2
2
|
export declare const cellColourPreviewStyles: (selectedColor: string) => SerializedStyles;
|
|
3
|
-
export declare const tablePopupStyles: (
|
|
3
|
+
export declare const tablePopupStyles: () => SerializedStyles;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { PopupProps } from '@atlaskit/editor-common/ui';
|
|
2
2
|
import type { TableDirection } from '../../types';
|
|
3
|
-
declare function getPopupOptions(direction: TableDirection, index: number, hasNumberedColumns: boolean,
|
|
3
|
+
declare function getPopupOptions(direction: TableDirection, index: number, hasNumberedColumns: boolean, tableContainer: HTMLElement | null): Partial<PopupProps>;
|
|
4
4
|
export default getPopupOptions;
|
|
@@ -41,7 +41,6 @@ export declare const resizeHandlerAreaWidth: number;
|
|
|
41
41
|
export declare const resizeLineWidth = 2;
|
|
42
42
|
export declare const resizeHandlerZIndex: number;
|
|
43
43
|
export declare const contextualMenuTriggerSize = 16;
|
|
44
|
-
export declare const contextualMenuDropdownWidth = 180;
|
|
45
44
|
export declare const contextualMenuDropdownWidthDnD = 250;
|
|
46
45
|
export declare const stickyRowZIndex: number;
|
|
47
46
|
export declare const stickyRowOffsetTop = 8;
|
|
@@ -9,7 +9,7 @@ export declare const insertColumnButtonWrapper: () => SerializedStyles;
|
|
|
9
9
|
export declare const insertRowButtonWrapper: () => SerializedStyles;
|
|
10
10
|
export declare const columnControlsLineMarker: () => SerializedStyles;
|
|
11
11
|
export declare const DeleteButton: () => SerializedStyles;
|
|
12
|
-
export declare const OverflowShadow: (
|
|
12
|
+
export declare const OverflowShadow: () => SerializedStyles;
|
|
13
13
|
export declare const OverflowShadowLessPadding: (tableOverflowShadowWidth: number) => SerializedStyles;
|
|
14
14
|
export declare const floatingColumnControls: () => SerializedStyles;
|
|
15
15
|
export declare const rowControlsWrapperDotStyle: () => SerializedStyles;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "22.2.
|
|
3
|
+
"version": "22.2.18",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/editor-plugin-batch-attribute-updates": "^10.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-content-insertion": "^10.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-editor-viewmode": "^12.0.0",
|
|
40
|
-
"@atlaskit/editor-plugin-extension": "13.1.
|
|
40
|
+
"@atlaskit/editor-plugin-extension": "13.1.11",
|
|
41
41
|
"@atlaskit/editor-plugin-guideline": "^10.0.0",
|
|
42
42
|
"@atlaskit/editor-plugin-interaction": "^19.0.0",
|
|
43
43
|
"@atlaskit/editor-plugin-limited-mode": "^7.1.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.1.0",
|
|
57
57
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
|
|
58
58
|
"@atlaskit/primitives": "^19.0.0",
|
|
59
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
59
|
+
"@atlaskit/tmp-editor-statsig": "^76.0.0",
|
|
60
60
|
"@atlaskit/toggle": "^15.6.0",
|
|
61
61
|
"@atlaskit/tokens": "^13.0.0",
|
|
62
62
|
"@atlaskit/tooltip": "^22.0.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"uuid": "^3.1.0"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
|
-
"@atlaskit/editor-common": "^114.
|
|
73
|
+
"@atlaskit/editor-common": "^114.20.0",
|
|
74
74
|
"react": "^18.2.0",
|
|
75
75
|
"react-dom": "^18.2.0",
|
|
76
76
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|