@atlaskit/editor-plugin-table 38.0.3 → 38.0.4
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
|
@@ -6,11 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.DragPreview = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _box = require("@atlaskit/primitives/box");
|
|
10
|
+
var _xcss = require("@atlaskit/primitives/xcss/xcss");
|
|
10
11
|
var _DragInMotionIcon = require("../icons/DragInMotionIcon");
|
|
11
12
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
12
13
|
|
|
13
|
-
|
|
14
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
15
|
+
|
|
16
|
+
var boxStyles = (0, _xcss.xcss)({
|
|
14
17
|
borderColor: 'color.border.focused',
|
|
15
18
|
borderStyle: 'solid',
|
|
16
19
|
borderRadius: 'radius.small',
|
|
@@ -24,7 +27,7 @@ var DragPreview = exports.DragPreview = function DragPreview(_ref) {
|
|
|
24
27
|
var marginLeft = direction === 'row' ? -14 : width / 2 - 14;
|
|
25
28
|
var marginTop = direction === 'row' ? height / 2 - 14 : -10;
|
|
26
29
|
var transform = direction === 'row' ? 'rotate(90deg)' : 'none';
|
|
27
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
30
|
+
return /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
28
31
|
xcss: boxStyles
|
|
29
32
|
// eslint-disable-next-line @atlassian/perf-linting/no-unstable-inline-props -- Ignored via go/ees017 (to be fixed)
|
|
30
33
|
,
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
3
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
4
|
-
import { Box
|
|
4
|
+
import { Box } from '@atlaskit/primitives/box';
|
|
5
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
6
|
+
import { xcss } from '@atlaskit/primitives/xcss/xcss';
|
|
5
7
|
import { DragInMotionIcon } from '../icons/DragInMotionIcon';
|
|
6
8
|
const boxStyles = xcss({
|
|
7
9
|
borderColor: 'color.border.focused',
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
3
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
4
|
-
import { Box
|
|
4
|
+
import { Box } from '@atlaskit/primitives/box';
|
|
5
|
+
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
6
|
+
import { xcss } from '@atlaskit/primitives/xcss/xcss';
|
|
5
7
|
import { DragInMotionIcon } from '../icons/DragInMotionIcon';
|
|
6
8
|
var boxStyles = xcss({
|
|
7
9
|
borderColor: 'color.border.focused',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-table",
|
|
3
|
-
"version": "38.0.
|
|
3
|
+
"version": "38.0.4",
|
|
4
4
|
"description": "Table plugin for the @atlaskit/editor",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@atlaskit/editor-plugin-batch-attribute-updates": "^26.0.0",
|
|
30
30
|
"@atlaskit/editor-plugin-content-insertion": "^26.0.0",
|
|
31
31
|
"@atlaskit/editor-plugin-editor-viewmode": "^28.0.0",
|
|
32
|
-
"@atlaskit/editor-plugin-extension": "29.0.
|
|
32
|
+
"@atlaskit/editor-plugin-extension": "29.0.3",
|
|
33
33
|
"@atlaskit/editor-plugin-guideline": "^26.0.0",
|
|
34
34
|
"@atlaskit/editor-plugin-interaction": "^40.0.0",
|
|
35
35
|
"@atlaskit/editor-plugin-limited-mode": "^23.0.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^3.2.0",
|
|
54
54
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^3.0.0",
|
|
55
55
|
"@atlaskit/primitives": "^22.5.0",
|
|
56
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
56
|
+
"@atlaskit/tmp-editor-statsig": "^230.0.0",
|
|
57
57
|
"@atlaskit/toggle": "^17.3.0",
|
|
58
58
|
"@atlaskit/tokens": "^20.4.0",
|
|
59
59
|
"@atlaskit/tooltip": "^24.4.0",
|