@atlaskit/editor-plugin-table 15.4.21 → 15.4.23
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 +17 -0
- package/dist/cjs/nodeviews/{TableComponentNext.js → TableComponent.js} +5 -4
- package/dist/cjs/nodeviews/TableComponentWithSharedState.js +2 -9
- package/dist/cjs/nodeviews/table-node-views.js +1 -1
- package/dist/cjs/nodeviews/toDOM.js +1 -32
- package/dist/cjs/pm-plugins/main.js +2 -1
- package/dist/cjs/pm-plugins/table-resizing/utils/consts.js +0 -1
- package/dist/cjs/ui/ContentComponent.js +2 -1
- package/dist/cjs/ui/FloatingContextualButton/index.js +4 -1
- package/dist/cjs/ui/TableFloatingColumnControls/index.js +3 -2
- package/dist/cjs/ui/common-styles.js +7 -14
- package/dist/es2019/nodeviews/{TableComponentNext.js → TableComponent.js} +5 -4
- package/dist/es2019/nodeviews/TableComponentWithSharedState.js +1 -6
- package/dist/es2019/nodeviews/table-node-views.js +1 -1
- package/dist/es2019/nodeviews/toDOM.js +1 -32
- package/dist/es2019/pm-plugins/main.js +2 -1
- package/dist/es2019/pm-plugins/table-resizing/utils/consts.js +0 -1
- package/dist/es2019/ui/ContentComponent.js +2 -1
- package/dist/es2019/ui/FloatingContextualButton/index.js +4 -1
- package/dist/es2019/ui/TableFloatingColumnControls/index.js +3 -2
- package/dist/es2019/ui/common-styles.js +39 -52
- package/dist/esm/nodeviews/{TableComponentNext.js → TableComponent.js} +5 -4
- package/dist/esm/nodeviews/TableComponentWithSharedState.js +1 -8
- package/dist/esm/nodeviews/table-node-views.js +1 -1
- package/dist/esm/nodeviews/toDOM.js +1 -32
- package/dist/esm/pm-plugins/main.js +2 -1
- package/dist/esm/pm-plugins/table-resizing/utils/consts.js +0 -1
- package/dist/esm/ui/ContentComponent.js +2 -1
- package/dist/esm/ui/FloatingContextualButton/index.js +4 -1
- package/dist/esm/ui/TableFloatingColumnControls/index.js +3 -2
- package/dist/esm/ui/common-styles.js +8 -15
- package/dist/types/nodeviews/table-node-views.d.ts +1 -0
- package/dist/types/ui/FloatingContextualButton/index.d.ts +1 -0
- package/dist/types/ui/TableFloatingColumnControls/ColumnDropTargets/ColumnDropTarget.d.ts +1 -1
- package/dist/types/ui/TableFloatingColumnControls/index.d.ts +2 -1
- package/dist/types/ui/icons/DragHandleDisabledIcon.d.ts +1 -1
- package/dist/types-ts4.5/nodeviews/table-node-views.d.ts +1 -0
- package/dist/types-ts4.5/ui/FloatingContextualButton/index.d.ts +1 -0
- package/dist/types-ts4.5/ui/TableFloatingColumnControls/ColumnDropTargets/ColumnDropTarget.d.ts +1 -1
- package/dist/types-ts4.5/ui/TableFloatingColumnControls/index.d.ts +2 -1
- package/dist/types-ts4.5/ui/icons/DragHandleDisabledIcon.d.ts +1 -1
- package/package.json +11 -6
- package/dist/cjs/nodeviews/TableComponentLegacy.js +0 -1141
- package/dist/es2019/nodeviews/TableComponentLegacy.js +0 -1114
- package/dist/esm/nodeviews/TableComponentLegacy.js +0 -1135
- package/dist/types/nodeviews/TableComponentLegacy.d.ts +0 -47
- package/dist/types/nodeviews/TableComponentNext.d.ts +0 -47
- /package/dist/{types-ts4.5/nodeviews/TableComponentNext.d.ts → types/nodeviews/TableComponent.d.ts} +0 -0
- /package/dist/types-ts4.5/nodeviews/{TableComponentLegacy.d.ts → TableComponent.d.ts} +0 -0
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { IntlShape } from 'react-intl-next';
|
|
3
|
-
import type { TableColumnOrdering } from '@atlaskit/custom-steps';
|
|
4
|
-
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
5
|
-
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
6
|
-
import type { EditorContainerWidth, GetEditorFeatureFlags } from '@atlaskit/editor-common/types';
|
|
7
|
-
import type { Node as PmNode } from '@atlaskit/editor-prosemirror/model';
|
|
8
|
-
import type { Selection } from '@atlaskit/editor-prosemirror/state';
|
|
9
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
10
|
-
import type { CellHoverMeta, PluginInjectionAPI } from '../types';
|
|
11
|
-
import type { TableOptions } from './types';
|
|
12
|
-
interface ComponentProps {
|
|
13
|
-
allowColumnResizing?: boolean;
|
|
14
|
-
allowControls?: boolean;
|
|
15
|
-
allowTableAlignment?: boolean;
|
|
16
|
-
allowTableResizing?: boolean;
|
|
17
|
-
containerWidth: EditorContainerWidth;
|
|
18
|
-
contentDOM: (node: HTMLElement | null) => void;
|
|
19
|
-
dispatchAnalyticsEvent: DispatchAnalyticsEvent;
|
|
20
|
-
eventDispatcher: EventDispatcher;
|
|
21
|
-
getEditorFeatureFlags: GetEditorFeatureFlags;
|
|
22
|
-
getNode: () => PmNode;
|
|
23
|
-
getPos: () => number | undefined;
|
|
24
|
-
hoveredCell?: CellHoverMeta;
|
|
25
|
-
hoveredRows?: number[];
|
|
26
|
-
intl: IntlShape;
|
|
27
|
-
isDragAndDropEnabled?: boolean;
|
|
28
|
-
isHeaderColumnEnabled: boolean;
|
|
29
|
-
isHeaderRowEnabled: boolean;
|
|
30
|
-
isInDanger?: boolean;
|
|
31
|
-
isMediaFullscreen?: boolean;
|
|
32
|
-
isResizing?: boolean;
|
|
33
|
-
isTableHovered?: boolean;
|
|
34
|
-
isTableScalingEnabled?: boolean;
|
|
35
|
-
isWholeTableInDanger?: boolean;
|
|
36
|
-
limitedMode?: boolean;
|
|
37
|
-
options?: TableOptions;
|
|
38
|
-
ordering?: TableColumnOrdering;
|
|
39
|
-
pluginInjectionApi?: PluginInjectionAPI;
|
|
40
|
-
selection?: Selection;
|
|
41
|
-
tableActive: boolean;
|
|
42
|
-
view: EditorView;
|
|
43
|
-
}
|
|
44
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<ComponentProps>> & {
|
|
45
|
-
WrappedComponent: React.ComponentType<ComponentProps>;
|
|
46
|
-
};
|
|
47
|
-
export default _default;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { IntlShape } from 'react-intl-next';
|
|
3
|
-
import type { TableColumnOrdering } from '@atlaskit/custom-steps';
|
|
4
|
-
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
5
|
-
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
6
|
-
import type { EditorContainerWidth, GetEditorFeatureFlags } from '@atlaskit/editor-common/types';
|
|
7
|
-
import type { Node as PmNode } from '@atlaskit/editor-prosemirror/model';
|
|
8
|
-
import type { Selection } from '@atlaskit/editor-prosemirror/state';
|
|
9
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
10
|
-
import type { CellHoverMeta, PluginInjectionAPI } from '../types';
|
|
11
|
-
import type { TableOptions } from './types';
|
|
12
|
-
interface ComponentProps {
|
|
13
|
-
allowColumnResizing?: boolean;
|
|
14
|
-
allowControls?: boolean;
|
|
15
|
-
allowTableAlignment?: boolean;
|
|
16
|
-
allowTableResizing?: boolean;
|
|
17
|
-
containerWidth: EditorContainerWidth;
|
|
18
|
-
contentDOM: (node: HTMLElement | null) => void;
|
|
19
|
-
dispatchAnalyticsEvent: DispatchAnalyticsEvent;
|
|
20
|
-
eventDispatcher: EventDispatcher;
|
|
21
|
-
getEditorFeatureFlags: GetEditorFeatureFlags;
|
|
22
|
-
getNode: () => PmNode;
|
|
23
|
-
getPos: () => number | undefined;
|
|
24
|
-
hoveredCell?: CellHoverMeta;
|
|
25
|
-
hoveredRows?: number[];
|
|
26
|
-
intl: IntlShape;
|
|
27
|
-
isDragAndDropEnabled?: boolean;
|
|
28
|
-
isHeaderColumnEnabled: boolean;
|
|
29
|
-
isHeaderRowEnabled: boolean;
|
|
30
|
-
isInDanger?: boolean;
|
|
31
|
-
isMediaFullscreen?: boolean;
|
|
32
|
-
isResizing?: boolean;
|
|
33
|
-
isTableHovered?: boolean;
|
|
34
|
-
isTableScalingEnabled?: boolean;
|
|
35
|
-
isWholeTableInDanger?: boolean;
|
|
36
|
-
limitedMode?: boolean;
|
|
37
|
-
options?: TableOptions;
|
|
38
|
-
ordering?: TableColumnOrdering;
|
|
39
|
-
pluginInjectionApi?: PluginInjectionAPI;
|
|
40
|
-
selection?: Selection;
|
|
41
|
-
tableActive: boolean;
|
|
42
|
-
view: EditorView;
|
|
43
|
-
}
|
|
44
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<ComponentProps>> & {
|
|
45
|
-
WrappedComponent: React.ComponentType<ComponentProps>;
|
|
46
|
-
};
|
|
47
|
-
export default _default;
|
/package/dist/{types-ts4.5/nodeviews/TableComponentNext.d.ts → types/nodeviews/TableComponent.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|