@atlaskit/editor-plugin-table 11.1.1 → 11.1.3
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 +15 -0
- package/afm-rovo-extension/tsconfig.json +108 -0
- package/dist/cjs/ui/DragPreview/index.js +2 -0
- package/dist/cjs/ui/FloatingAlignmentButtons/FloatingAlignmentButtons.js +2 -0
- package/dist/cjs/ui/FloatingContextualMenu/ContextualMenu.js +1 -0
- package/dist/cjs/ui/FloatingDragMenu/DragMenu.js +2 -0
- package/dist/cjs/ui/TableFullWidthLabel/index.js +2 -0
- package/dist/es2019/ui/DragPreview/index.js +2 -0
- package/dist/es2019/ui/FloatingAlignmentButtons/FloatingAlignmentButtons.js +1 -0
- package/dist/es2019/ui/FloatingContextualMenu/ContextualMenu.js +1 -0
- package/dist/es2019/ui/FloatingDragMenu/DragMenu.js +1 -0
- package/dist/es2019/ui/TableFullWidthLabel/index.js +1 -0
- package/dist/es2019/ui/toolbar.js +1 -1
- package/dist/esm/ui/DragPreview/index.js +2 -0
- package/dist/esm/ui/FloatingAlignmentButtons/FloatingAlignmentButtons.js +1 -0
- package/dist/esm/ui/FloatingContextualMenu/ContextualMenu.js +1 -0
- package/dist/esm/ui/FloatingDragMenu/DragMenu.js +1 -0
- package/dist/esm/ui/TableFullWidthLabel/index.js +1 -0
- package/dist/esm/ui/toolbar.js +1 -1
- package/package.json +6 -6
- package/src/ui/DragPreview/index.tsx +1 -0
- package/src/ui/FloatingAlignmentButtons/FloatingAlignmentButtons.tsx +1 -0
- package/src/ui/FloatingContextualMenu/ContextualMenu.tsx +1 -0
- package/src/ui/FloatingDragMenu/DragMenu.tsx +1 -0
- package/src/ui/TableFullWidthLabel/index.tsx +1 -0
- package/src/ui/toolbar.tsx +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-table
|
|
2
2
|
|
|
3
|
+
## 11.1.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#187144](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/187144)
|
|
8
|
+
[`a16147d8fbdfe`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a16147d8fbdfe) -
|
|
9
|
+
Bump @atlaskit/adf-schema to v49.0.5
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 11.1.2
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 11.1.1
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.rovo-extension.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../rovo-extension/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-rovo-extension/tsconfig.json"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "../../custom-steps/afm-rovo-extension/tsconfig.json"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "../../editor-palette/afm-rovo-extension/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../editor-plugin-accessibility-utils/afm-rovo-extension/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../editor-plugin-analytics/afm-rovo-extension/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../editor-plugin-batch-attribute-updates/afm-rovo-extension/tsconfig.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../editor-plugin-content-insertion/afm-rovo-extension/tsconfig.json"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "../../editor-plugin-editor-viewmode/afm-rovo-extension/tsconfig.json"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "../../editor-plugin-extension/afm-rovo-extension/tsconfig.json"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "../../editor-plugin-guideline/afm-rovo-extension/tsconfig.json"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"path": "../../editor-plugin-interaction/afm-rovo-extension/tsconfig.json"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"path": "../../editor-plugin-selection/afm-rovo-extension/tsconfig.json"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"path": "../../editor-plugin-width/afm-rovo-extension/tsconfig.json"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"path": "../../editor-shared-styles/afm-rovo-extension/tsconfig.json"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"path": "../../editor-tables/afm-rovo-extension/tsconfig.json"
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"path": "../../../design-system/icon/afm-rovo-extension/tsconfig.json"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"path": "../../../design-system/menu/afm-rovo-extension/tsconfig.json"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"path": "../../../platform/feature-flags/afm-rovo-extension/tsconfig.json"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"path": "../../../pragmatic-drag-and-drop/core/afm-rovo-extension/tsconfig.json"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"path": "../../../pragmatic-drag-and-drop/auto-scroll/afm-rovo-extension/tsconfig.json"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"path": "../../../pragmatic-drag-and-drop/hitbox/afm-rovo-extension/tsconfig.json"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"path": "../../../design-system/primitives/afm-rovo-extension/tsconfig.json"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"path": "../../../react-ufo/atlaskit/afm-rovo-extension/tsconfig.json"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"path": "../../../design-system/theme/afm-rovo-extension/tsconfig.json"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"path": "../../tmp-editor-statsig/afm-rovo-extension/tsconfig.json"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"path": "../../../design-system/toggle/afm-rovo-extension/tsconfig.json"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"path": "../../../design-system/tokens/afm-rovo-extension/tsconfig.json"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"path": "../../../design-system/tooltip/afm-rovo-extension/tsconfig.json"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"path": "../../editor-common/afm-rovo-extension/tsconfig.json"
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|
|
@@ -8,6 +8,8 @@ exports.DragPreview = void 0;
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _primitives = require("@atlaskit/primitives");
|
|
10
10
|
var _DragInMotionIcon = require("../icons/DragInMotionIcon");
|
|
11
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
12
|
+
|
|
11
13
|
var boxStyles = (0, _primitives.xcss)({
|
|
12
14
|
borderColor: 'color.border.focused',
|
|
13
15
|
borderStyle: 'solid',
|
|
@@ -14,6 +14,8 @@ var _primitives = require("@atlaskit/primitives");
|
|
|
14
14
|
*/
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
16
|
|
|
17
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
18
|
+
|
|
17
19
|
var containerStyles = (0, _primitives.xcss)({
|
|
18
20
|
marginLeft: 'space.100'
|
|
19
21
|
});
|
|
@@ -63,6 +63,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
63
63
|
* @jsxRuntime classic
|
|
64
64
|
* @jsx jsx
|
|
65
65
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
66
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
66
67
|
var arrowsList = new Set(['ArrowRight', 'ArrowLeft']);
|
|
67
68
|
var elementBeforeIconStyles = (0, _primitives.xcss)({
|
|
68
69
|
marginRight: 'space.negative.075',
|
|
@@ -46,6 +46,8 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
46
46
|
|
|
47
47
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
48
48
|
|
|
49
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
50
|
+
|
|
49
51
|
var MapDragMenuOptionIdToMessage = {
|
|
50
52
|
add_row_above: {
|
|
51
53
|
message: _messages.tableMessages.addRowAbove,
|
|
@@ -9,6 +9,8 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
var _reactIntlNext = require("react-intl-next");
|
|
10
10
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
11
11
|
var _primitives = require("@atlaskit/primitives");
|
|
12
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
13
|
+
|
|
12
14
|
var tableFullWidthLabelWrapperStyles = (0, _primitives.xcss)({
|
|
13
15
|
height: "var(--ds-space-400, 32px)",
|
|
14
16
|
display: 'flex',
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
2
4
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
3
5
|
import { DragInMotionIcon } from '../icons/DragInMotionIcon';
|
|
4
6
|
const boxStyles = xcss({
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
7
|
import { ButtonGroup } from '@atlaskit/button';
|
|
8
8
|
import { FloatingToolbarButton as Button, FloatingToolbarSeparator } from '@atlaskit/editor-common/ui';
|
|
9
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
9
10
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
10
11
|
const containerStyles = xcss({
|
|
11
12
|
marginLeft: 'space.100'
|
|
@@ -30,6 +30,7 @@ import TableRowAddBelowIcon from '@atlaskit/icon/core/table-row-add-below';
|
|
|
30
30
|
import TableRowDeleteIcon from '@atlaskit/icon/core/table-row-delete';
|
|
31
31
|
import CrossCircleIcon from '@atlaskit/icon/glyph/cross-circle';
|
|
32
32
|
import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
|
|
33
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
33
34
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
34
35
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
35
36
|
import { clearHoverSelection, hoverColumns, hoverMergedCells, hoverRows, setFocusToCellMenu, toggleContextualMenu } from '../../pm-plugins/commands';
|
|
@@ -20,6 +20,7 @@ import { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut';
|
|
|
20
20
|
import { TableMap } from '@atlaskit/editor-tables/table-map';
|
|
21
21
|
import { findCellRectClosestToPos, getSelectionRect, isSelectionType } from '@atlaskit/editor-tables/utils';
|
|
22
22
|
import PaintBucketIcon from '@atlaskit/icon/core/migration/paint-bucket--editor-background-color';
|
|
23
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
23
24
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
24
25
|
import Toggle from '@atlaskit/toggle';
|
|
25
26
|
import { clearHoverSelection, hoverColumns, hoverRows } from '../../pm-plugins/commands';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useIntl } from 'react-intl-next';
|
|
3
3
|
import { tableMessages as messages } from '@atlaskit/editor-common/messages';
|
|
4
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
4
5
|
import { Box, Inline, xcss } from '@atlaskit/primitives';
|
|
5
6
|
const tableFullWidthLabelWrapperStyles = xcss({
|
|
6
7
|
height: "var(--ds-space-400, 32px)",
|
|
@@ -12,7 +12,7 @@ import { addColumnAfter, addRowAfter, backspace, tooltip } from '@atlaskit/edito
|
|
|
12
12
|
import commonMessages, { tableMessages as messages } from '@atlaskit/editor-common/messages';
|
|
13
13
|
import { isSelectionTableNestedInTable } from '@atlaskit/editor-common/nesting';
|
|
14
14
|
import { getTableContainerWidth } from '@atlaskit/editor-common/node-width';
|
|
15
|
-
import {
|
|
15
|
+
import { DEFAULT_BORDER_COLOR, cellBackgroundColorPalette } from '@atlaskit/editor-common/ui-color';
|
|
16
16
|
import { closestElement, getChildrenInfo, getNodeName, isReferencedSource } from '@atlaskit/editor-common/utils';
|
|
17
17
|
import { findParentDomRefOfType } from '@atlaskit/editor-prosemirror/utils';
|
|
18
18
|
import { akEditorFloatingPanelZIndex } from '@atlaskit/editor-shared-styles';
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
|
|
3
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
2
4
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
3
5
|
import { DragInMotionIcon } from '../icons/DragInMotionIcon';
|
|
4
6
|
var boxStyles = xcss({
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
import { jsx } from '@emotion/react';
|
|
7
7
|
import { ButtonGroup } from '@atlaskit/button';
|
|
8
8
|
import { FloatingToolbarButton as Button, FloatingToolbarSeparator } from '@atlaskit/editor-common/ui';
|
|
9
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
9
10
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
10
11
|
var containerStyles = xcss({
|
|
11
12
|
marginLeft: 'space.100'
|
|
@@ -40,6 +40,7 @@ import TableRowAddBelowIcon from '@atlaskit/icon/core/table-row-add-below';
|
|
|
40
40
|
import TableRowDeleteIcon from '@atlaskit/icon/core/table-row-delete';
|
|
41
41
|
import CrossCircleIcon from '@atlaskit/icon/glyph/cross-circle';
|
|
42
42
|
import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
|
|
43
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
43
44
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
44
45
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
45
46
|
import { clearHoverSelection, hoverColumns, hoverMergedCells, hoverRows, setFocusToCellMenu, toggleContextualMenu } from '../../pm-plugins/commands';
|
|
@@ -22,6 +22,7 @@ import { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut';
|
|
|
22
22
|
import { TableMap } from '@atlaskit/editor-tables/table-map';
|
|
23
23
|
import { findCellRectClosestToPos, getSelectionRect, isSelectionType } from '@atlaskit/editor-tables/utils';
|
|
24
24
|
import PaintBucketIcon from '@atlaskit/icon/core/migration/paint-bucket--editor-background-color';
|
|
25
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
25
26
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
26
27
|
import Toggle from '@atlaskit/toggle';
|
|
27
28
|
import { clearHoverSelection, hoverColumns, hoverRows } from '../../pm-plugins/commands';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useIntl } from 'react-intl-next';
|
|
3
3
|
import { tableMessages as messages } from '@atlaskit/editor-common/messages';
|
|
4
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
4
5
|
import { Box, Inline, xcss } from '@atlaskit/primitives';
|
|
5
6
|
var tableFullWidthLabelWrapperStyles = xcss({
|
|
6
7
|
height: "var(--ds-space-400, 32px)",
|
package/dist/esm/ui/toolbar.js
CHANGED
|
@@ -16,7 +16,7 @@ import { addColumnAfter, addRowAfter, backspace, tooltip } from '@atlaskit/edito
|
|
|
16
16
|
import commonMessages, { tableMessages as messages } from '@atlaskit/editor-common/messages';
|
|
17
17
|
import { isSelectionTableNestedInTable } from '@atlaskit/editor-common/nesting';
|
|
18
18
|
import { getTableContainerWidth } from '@atlaskit/editor-common/node-width';
|
|
19
|
-
import {
|
|
19
|
+
import { DEFAULT_BORDER_COLOR, cellBackgroundColorPalette } from '@atlaskit/editor-common/ui-color';
|
|
20
20
|
import { closestElement, getChildrenInfo as _getChildrenInfo, getNodeName, isReferencedSource } from '@atlaskit/editor-common/utils';
|
|
21
21
|
import { findParentDomRefOfType } from '@atlaskit/editor-prosemirror/utils';
|
|
22
22
|
import { akEditorFloatingPanelZIndex } from '@atlaskit/editor-shared-styles';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.3",
|
|
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
|
"singleton": true
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@atlaskit/adf-schema": "^49.0.
|
|
31
|
+
"@atlaskit/adf-schema": "^49.0.6",
|
|
32
32
|
"@atlaskit/button": "^23.2.0",
|
|
33
33
|
"@atlaskit/custom-steps": "^0.11.0",
|
|
34
34
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/editor-plugin-batch-attribute-updates": "^3.0.0",
|
|
38
38
|
"@atlaskit/editor-plugin-content-insertion": "^3.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-editor-viewmode": "^5.0.0",
|
|
40
|
-
"@atlaskit/editor-plugin-extension": "6.0.
|
|
40
|
+
"@atlaskit/editor-plugin-extension": "6.0.4",
|
|
41
41
|
"@atlaskit/editor-plugin-guideline": "^3.0.0",
|
|
42
42
|
"@atlaskit/editor-plugin-interaction": "^4.0.0",
|
|
43
43
|
"@atlaskit/editor-plugin-selection": "^3.0.0",
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^2.1.0",
|
|
53
53
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
|
|
54
54
|
"@atlaskit/primitives": "^14.10.0",
|
|
55
|
-
"@atlaskit/react-ufo": "^
|
|
55
|
+
"@atlaskit/react-ufo": "^4.0.0",
|
|
56
56
|
"@atlaskit/theme": "^19.0.0",
|
|
57
|
-
"@atlaskit/tmp-editor-statsig": "^9.
|
|
57
|
+
"@atlaskit/tmp-editor-statsig": "^9.7.0",
|
|
58
58
|
"@atlaskit/toggle": "^15.0.0",
|
|
59
59
|
"@atlaskit/tokens": "^5.5.0",
|
|
60
60
|
"@atlaskit/tooltip": "^20.3.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"uuid": "^3.1.0"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
|
-
"@atlaskit/editor-common": "^107.
|
|
70
|
+
"@atlaskit/editor-common": "^107.8.0",
|
|
71
71
|
"react": "^18.2.0",
|
|
72
72
|
"react-dom": "^18.2.0",
|
|
73
73
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
3
4
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
4
5
|
|
|
5
6
|
import type { TableDirection } from '../../types';
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
FloatingToolbarButton as Button,
|
|
12
12
|
FloatingToolbarSeparator,
|
|
13
13
|
} from '@atlaskit/editor-common/ui';
|
|
14
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
14
15
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
15
16
|
|
|
16
17
|
const containerStyles = xcss({
|
|
@@ -53,6 +53,7 @@ import TableRowAddBelowIcon from '@atlaskit/icon/core/table-row-add-below';
|
|
|
53
53
|
import TableRowDeleteIcon from '@atlaskit/icon/core/table-row-delete';
|
|
54
54
|
import CrossCircleIcon from '@atlaskit/icon/glyph/cross-circle';
|
|
55
55
|
import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
|
|
56
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
56
57
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
57
58
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
58
59
|
|
|
@@ -42,6 +42,7 @@ import {
|
|
|
42
42
|
isSelectionType,
|
|
43
43
|
} from '@atlaskit/editor-tables/utils';
|
|
44
44
|
import PaintBucketIcon from '@atlaskit/icon/core/migration/paint-bucket--editor-background-color';
|
|
45
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
45
46
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
46
47
|
import Toggle from '@atlaskit/toggle';
|
|
47
48
|
|
|
@@ -3,6 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { useIntl } from 'react-intl-next';
|
|
4
4
|
|
|
5
5
|
import { tableMessages as messages } from '@atlaskit/editor-common/messages';
|
|
6
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
6
7
|
import { Box, Inline, xcss } from '@atlaskit/primitives';
|
|
7
8
|
import { token } from '@atlaskit/tokens';
|
|
8
9
|
|
package/src/ui/toolbar.tsx
CHANGED
|
@@ -17,8 +17,8 @@ import type {
|
|
|
17
17
|
Command,
|
|
18
18
|
CommandDispatch,
|
|
19
19
|
ConfirmDialogOptions,
|
|
20
|
-
DropdownOptions,
|
|
21
20
|
DropdownOptionT,
|
|
21
|
+
DropdownOptions,
|
|
22
22
|
FloatingToolbarDropdown,
|
|
23
23
|
FloatingToolbarHandler,
|
|
24
24
|
FloatingToolbarItem,
|
|
@@ -26,7 +26,7 @@ import type {
|
|
|
26
26
|
Icon,
|
|
27
27
|
typeOption,
|
|
28
28
|
} from '@atlaskit/editor-common/types';
|
|
29
|
-
import {
|
|
29
|
+
import { DEFAULT_BORDER_COLOR, cellBackgroundColorPalette } from '@atlaskit/editor-common/ui-color';
|
|
30
30
|
import {
|
|
31
31
|
closestElement,
|
|
32
32
|
getChildrenInfo,
|