@atlaskit/editor-plugin-block-controls 7.14.1 → 7.15.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 +13 -0
- package/dist/cjs/blockControlsPlugin.js +3 -0
- package/dist/cjs/ui/drag-handle.js +0 -3
- package/dist/es2019/blockControlsPlugin.js +3 -0
- package/dist/es2019/ui/drag-handle.js +0 -3
- package/dist/esm/blockControlsPlugin.js +3 -0
- package/dist/esm/ui/drag-handle.js +0 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-controls
|
|
2
2
|
|
|
3
|
+
## 7.15.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`762b79e21f96a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/762b79e21f96a) -
|
|
8
|
+
Migrated and cleaned up legacy iconography usage.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- [`e4dce058a2b52`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e4dce058a2b52) -
|
|
13
|
+
EDITOR-3793 Stop preserving selection on block menu close
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 7.14.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -24,7 +24,6 @@ var _state = require("@atlaskit/editor-prosemirror/state");
|
|
|
24
24
|
var _utils = require("@atlaskit/editor-prosemirror/utils");
|
|
25
25
|
var _consts = require("@atlaskit/editor-shared-styles/consts");
|
|
26
26
|
var _dragHandleVertical = _interopRequireDefault(require("@atlaskit/icon/core/drag-handle-vertical"));
|
|
27
|
-
var _dragHandler = _interopRequireDefault(require("@atlaskit/icon/glyph/drag-handler"));
|
|
28
27
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
29
28
|
var _adapter = require("@atlaskit/pragmatic-drag-and-drop/element/adapter");
|
|
30
29
|
var _setCustomNativeDragPreview = require("@atlaskit/pragmatic-drag-and-drop/element/set-custom-native-drag-preview");
|
|
@@ -1049,8 +1048,6 @@ var DragHandle = exports.DragHandle = function DragHandle(_ref2) {
|
|
|
1049
1048
|
}, (0, _react2.jsx)(_dragHandleVertical.default, {
|
|
1050
1049
|
spacing: "spacious",
|
|
1051
1050
|
label: "",
|
|
1052
|
-
LEGACY_fallbackIcon: _dragHandler.default,
|
|
1053
|
-
LEGACY_size: "medium",
|
|
1054
1051
|
size: "small"
|
|
1055
1052
|
})))
|
|
1056
1053
|
);
|
|
@@ -21,7 +21,6 @@ import { TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
|
21
21
|
import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
|
|
22
22
|
import { akEditorFullPageNarrowBreakout, akEditorTableToolbarSize, relativeSizeToBaseFontSize } from '@atlaskit/editor-shared-styles/consts';
|
|
23
23
|
import DragHandleVerticalIcon from '@atlaskit/icon/core/drag-handle-vertical';
|
|
24
|
-
import DragHandlerIcon from '@atlaskit/icon/glyph/drag-handler';
|
|
25
24
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
26
25
|
import { draggable } from '@atlaskit/pragmatic-drag-and-drop/element/adapter';
|
|
27
26
|
import { setCustomNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/element/set-custom-native-drag-preview';
|
|
@@ -1034,8 +1033,6 @@ export const DragHandle = ({
|
|
|
1034
1033
|
}, jsx(DragHandleVerticalIcon, {
|
|
1035
1034
|
spacing: "spacious",
|
|
1036
1035
|
label: "",
|
|
1037
|
-
LEGACY_fallbackIcon: DragHandlerIcon,
|
|
1038
|
-
LEGACY_size: "medium",
|
|
1039
1036
|
size: "small"
|
|
1040
1037
|
})));
|
|
1041
1038
|
const stickyWithTooltip = () => jsx(Box
|
|
@@ -26,7 +26,6 @@ import { TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
|
26
26
|
import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
|
|
27
27
|
import { akEditorFullPageNarrowBreakout, akEditorTableToolbarSize, relativeSizeToBaseFontSize } from '@atlaskit/editor-shared-styles/consts';
|
|
28
28
|
import DragHandleVerticalIcon from '@atlaskit/icon/core/drag-handle-vertical';
|
|
29
|
-
import DragHandlerIcon from '@atlaskit/icon/glyph/drag-handler';
|
|
30
29
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
31
30
|
import { draggable } from '@atlaskit/pragmatic-drag-and-drop/element/adapter';
|
|
32
31
|
import { setCustomNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/element/set-custom-native-drag-preview';
|
|
@@ -1046,8 +1045,6 @@ export var DragHandle = function DragHandle(_ref2) {
|
|
|
1046
1045
|
}, jsx(DragHandleVerticalIcon, {
|
|
1047
1046
|
spacing: "spacious",
|
|
1048
1047
|
label: "",
|
|
1049
|
-
LEGACY_fallbackIcon: DragHandlerIcon,
|
|
1050
|
-
LEGACY_size: "medium",
|
|
1051
1048
|
size: "small"
|
|
1052
1049
|
})))
|
|
1053
1050
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-controls",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.15.0",
|
|
4
4
|
"description": "Block controls plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/editor-prosemirror": "^7.2.0",
|
|
47
47
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
48
48
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
49
|
-
"@atlaskit/icon": "^29.
|
|
49
|
+
"@atlaskit/icon": "^29.2.0",
|
|
50
50
|
"@atlaskit/link": "^3.2.0",
|
|
51
51
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
52
52
|
"@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@atlaskit/primitives": "^16.4.0",
|
|
56
56
|
"@atlaskit/theme": "^21.0.0",
|
|
57
57
|
"@atlaskit/tmp-editor-statsig": "^15.12.0",
|
|
58
|
-
"@atlaskit/tokens": "^8.
|
|
58
|
+
"@atlaskit/tokens": "^8.6.0",
|
|
59
59
|
"@atlaskit/tooltip": "^20.11.0",
|
|
60
60
|
"@babel/runtime": "^7.0.0",
|
|
61
61
|
"@emotion/react": "^11.7.1",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"uuid": "^3.1.0"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
|
-
"@atlaskit/editor-common": "^110.
|
|
69
|
+
"@atlaskit/editor-common": "^110.45.0",
|
|
70
70
|
"react": "^18.2.0",
|
|
71
71
|
"react-dom": "^18.2.0",
|
|
72
72
|
"react-intl-next": "npm:react-intl@^5.18.1"
|