@atlaskit/editor-plugin-block-controls 7.15.0 → 7.15.2
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 +18 -0
- package/dist/cjs/ui/consts.js +5 -2
- package/dist/cjs/ui/drag-handle.js +1 -1
- package/dist/cjs/ui/quick-insert-button.js +1 -2
- package/dist/es2019/ui/consts.js +5 -2
- package/dist/es2019/ui/drag-handle.js +1 -1
- package/dist/es2019/ui/quick-insert-button.js +1 -2
- package/dist/esm/ui/consts.js +5 -2
- package/dist/esm/ui/drag-handle.js +1 -1
- package/dist/esm/ui/quick-insert-button.js +1 -2
- package/dist/types/ui/quick-insert-button.d.ts +1 -1
- package/dist/types-ts4.5/ui/quick-insert-button.d.ts +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-controls
|
|
2
2
|
|
|
3
|
+
## 7.15.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a528ea956ce65`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a528ea956ce65) -
|
|
8
|
+
[ux] EDITOR-3956 fix sync block resize handle padding and alignment
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 7.15.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`53aef9589ca55`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/53aef9589ca55) -
|
|
16
|
+
[EDITOR-3786] Make sure that for any check of `cc_editor_ai_content_mode` &&
|
|
17
|
+
`platform_editor_content_mode_button_mvp` in the code we are also checking
|
|
18
|
+
`confluence_compact_text_format`
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 7.15.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
package/dist/cjs/ui/consts.js
CHANGED
|
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.topPositionAdjustment = exports.spacingBetweenNodesForPreview = exports.spaceLookupMap = exports.rootElementGap = exports.nodeMargins = exports.getNestedNodeLeftPaddingMargin = exports.dropTargetMarginMap = exports.dragHandleGap = exports.STICKY_CONTROLS_TOP_MARGIN = exports.QUICK_INSERT_WIDTH = exports.QUICK_INSERT_LEFT_OFFSET = exports.QUICK_INSERT_HEIGHT = exports.QUICK_INSERT_DIMENSIONS = exports.DRAG_HANDLE_ZINDEX = exports.DRAG_HANDLE_PARAGRAPH_TOP_ADJUSTMENT = exports.DRAG_HANDLE_NARROW_GAP = exports.DRAG_HANDLE_MAX_WIDTH_PLUS_GAP = exports.DRAG_HANDLE_MAX_SHIFT_CLICK_DEPTH = exports.DRAG_HANDLE_MAX_GAP = exports.DRAG_HANDLE_LAYOUT_SECTION_TOP_ADJUSTMENT = exports.DRAG_HANDLE_HEIGHT = exports.DRAG_HANDLE_H6_TOP_ADJUSTMENT = exports.DRAG_HANDLE_H5_TOP_ADJUSTMENT = exports.DRAG_HANDLE_H4_TOP_ADJUSTMENT = exports.DRAG_HANDLE_H3_TOP_ADJUSTMENT = exports.DRAG_HANDLE_H2_TOP_ADJUSTMENT = exports.DRAG_HANDLE_H1_TOP_ADJUSTMENT = exports.DRAG_HANDLE_DIVIDER_TOP_ADJUSTMENT = exports.DRAG_HANDLE_DEFAULT_GAP = exports.DRAG_HANDLE_BORDER_RADIUS = exports.DEFAULT_COLUMN_DISTRIBUTIONS = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _styles = require("@atlaskit/editor-common/styles");
|
|
10
|
+
var _utils = require("@atlaskit/editor-common/utils");
|
|
10
11
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
11
12
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
12
13
|
var _dropTargetMarginMap;
|
|
@@ -48,7 +49,8 @@ var dragHandleGap = exports.dragHandleGap = function dragHandleGap(nodeType, par
|
|
|
48
49
|
if (parentNodeType && parentNodeType !== 'doc') {
|
|
49
50
|
return DRAG_HANDLE_NARROW_GAP;
|
|
50
51
|
}
|
|
51
|
-
|
|
52
|
+
var breakoutResizableNodesList = (0, _experiments.editorExperiment)('platform_synced_block', true) ? _utils.breakoutResizableNodes : breakoutResizableNodes;
|
|
53
|
+
if ((0, _experiments.editorExperiment)('platform_editor_breakout_resizing', true) && breakoutResizableNodesList.includes(nodeType)) {
|
|
52
54
|
if (nodeType === 'layoutSection') {
|
|
53
55
|
return DRAG_HANDLE_MAX_GAP + 20;
|
|
54
56
|
} else {
|
|
@@ -66,7 +68,8 @@ var dragHandleGap = exports.dragHandleGap = function dragHandleGap(nodeType, par
|
|
|
66
68
|
|
|
67
69
|
// use for returning hap only for root level elements
|
|
68
70
|
var rootElementGap = exports.rootElementGap = function rootElementGap(nodeType) {
|
|
69
|
-
|
|
71
|
+
var breakoutResizableNodesList = (0, _experiments.editorExperiment)('platform_synced_block', true) ? _utils.breakoutResizableNodes : breakoutResizableNodes;
|
|
72
|
+
if (nodeTypeExcludeList.includes(nodeType) || (0, _experiments.editorExperiment)('platform_editor_breakout_resizing', true) && breakoutResizableNodesList.includes(nodeType)) {
|
|
70
73
|
if (nodeType === 'layoutSection') {
|
|
71
74
|
return DRAG_HANDLE_MAX_GAP + 20;
|
|
72
75
|
} else {
|
|
@@ -1023,7 +1023,7 @@ var DragHandle = exports.DragHandle = function DragHandle(_ref2) {
|
|
|
1023
1023
|
css: [(0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') ? dragHandleButtonStyles : dragHandleButtonStylesOld, (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && dragHandleColor,
|
|
1024
1024
|
// ED-26266: Fixed the drag handle highlight when selecting multiple line in Firefox
|
|
1025
1025
|
// See https://product-fabric.atlassian.net/browse/ED-26266
|
|
1026
|
-
browser.gecko && dragHandleMultiLineSelectionFixFirefox, (0, _experiments.editorExperiment)('advanced_layouts', true) && isLayoutColumn && layoutColumnDragHandleStyles, dragHandleSelected && hasHadInteraction && selectedStyles, (0, _experiments.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && (0, _experiments.editorExperiment)('platform_editor_controls', 'control') && dragHandleButtonSmallScreenStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_block_menu', 'isEnabled', true) && isFocused && keyboardFocusedDragHandleStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_block_menu', 'isEnabled', true) ? focusedStyles : focusedStylesOld, (0, _expValEquals.expValEquals)('cc_editor_ai_content_mode', 'variant', 'test') && (0, _platformFeatureFlags.fg)('platform_editor_content_mode_button_mvp') && dragHandleButtonDenseModeStyles],
|
|
1026
|
+
browser.gecko && dragHandleMultiLineSelectionFixFirefox, (0, _experiments.editorExperiment)('advanced_layouts', true) && isLayoutColumn && layoutColumnDragHandleStyles, dragHandleSelected && hasHadInteraction && selectedStyles, (0, _experiments.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && (0, _experiments.editorExperiment)('platform_editor_controls', 'control') && dragHandleButtonSmallScreenStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_block_menu', 'isEnabled', true) && isFocused && keyboardFocusedDragHandleStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_block_menu', 'isEnabled', true) ? focusedStyles : focusedStylesOld, ((0, _expValEquals.expValEquals)('confluence_compact_text_format', 'isEnabled', true) || (0, _expValEquals.expValEquals)('cc_editor_ai_content_mode', 'variant', 'test') && (0, _platformFeatureFlags.fg)('platform_editor_content_mode_button_mvp')) && dragHandleButtonDenseModeStyles],
|
|
1027
1027
|
ref: buttonRef
|
|
1028
1028
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
1029
1029
|
,
|
|
@@ -110,7 +110,6 @@ var TypeAheadControl = exports.TypeAheadControl = function TypeAheadControl(_ref
|
|
|
110
110
|
api = _ref.api,
|
|
111
111
|
formatMessage = _ref.formatMessage,
|
|
112
112
|
getPos = _ref.getPos,
|
|
113
|
-
nodeType = _ref.nodeType,
|
|
114
113
|
anchorName = _ref.anchorName,
|
|
115
114
|
rootAnchorName = _ref.rootAnchorName,
|
|
116
115
|
rootNodeType = _ref.rootNodeType,
|
|
@@ -291,7 +290,7 @@ var TypeAheadControl = exports.TypeAheadControl = function TypeAheadControl(_ref
|
|
|
291
290
|
testId: "editor-quick-insert-button",
|
|
292
291
|
type: "button",
|
|
293
292
|
"aria-label": formatMessage(_messages.blockControlsMessages.insert),
|
|
294
|
-
xcss: [stickyButtonStyles, (0, _expValEquals.expValEquals)('cc_editor_ai_content_mode', 'variant', 'test') && (0, _platformFeatureFlags.fg)('platform_editor_content_mode_button_mvp') && stickyButtonDenseModeStyles],
|
|
293
|
+
xcss: [stickyButtonStyles, ((0, _expValEquals.expValEquals)('confluence_compact_text_format', 'isEnabled', true) || (0, _expValEquals.expValEquals)('cc_editor_ai_content_mode', 'variant', 'test') && (0, _platformFeatureFlags.fg)('platform_editor_content_mode_button_mvp')) && stickyButtonDenseModeStyles],
|
|
295
294
|
onClick: handleQuickInsert,
|
|
296
295
|
onMouseDown: handleMouseDown
|
|
297
296
|
}, (0, _react2.jsx)(_add.default, {
|
package/dist/es2019/ui/consts.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DRAG_HANDLE_WIDTH } from '@atlaskit/editor-common/styles';
|
|
2
|
+
import { breakoutResizableNodes as breakoutResizableNodesNew } from '@atlaskit/editor-common/utils';
|
|
2
3
|
import { akEditorUnitZIndex, akRichMediaResizeZIndex } from '@atlaskit/editor-shared-styles';
|
|
3
4
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
4
5
|
export const DRAG_HANDLE_HEIGHT = 24;
|
|
@@ -39,7 +40,8 @@ export const dragHandleGap = (nodeType, parentNodeType) => {
|
|
|
39
40
|
if (parentNodeType && parentNodeType !== 'doc') {
|
|
40
41
|
return DRAG_HANDLE_NARROW_GAP;
|
|
41
42
|
}
|
|
42
|
-
|
|
43
|
+
const breakoutResizableNodesList = editorExperiment('platform_synced_block', true) ? breakoutResizableNodesNew : breakoutResizableNodes;
|
|
44
|
+
if (editorExperiment('platform_editor_breakout_resizing', true) && breakoutResizableNodesList.includes(nodeType)) {
|
|
43
45
|
if (nodeType === 'layoutSection') {
|
|
44
46
|
return DRAG_HANDLE_MAX_GAP + 20;
|
|
45
47
|
} else {
|
|
@@ -57,7 +59,8 @@ export const dragHandleGap = (nodeType, parentNodeType) => {
|
|
|
57
59
|
|
|
58
60
|
// use for returning hap only for root level elements
|
|
59
61
|
export const rootElementGap = nodeType => {
|
|
60
|
-
|
|
62
|
+
const breakoutResizableNodesList = editorExperiment('platform_synced_block', true) ? breakoutResizableNodesNew : breakoutResizableNodes;
|
|
63
|
+
if (nodeTypeExcludeList.includes(nodeType) || editorExperiment('platform_editor_breakout_resizing', true) && breakoutResizableNodesList.includes(nodeType)) {
|
|
61
64
|
if (nodeType === 'layoutSection') {
|
|
62
65
|
return DRAG_HANDLE_MAX_GAP + 20;
|
|
63
66
|
} else {
|
|
@@ -1010,7 +1010,7 @@ export const DragHandle = ({
|
|
|
1010
1010
|
css: [editorExperiment('platform_editor_controls', 'variant1') ? dragHandleButtonStyles : dragHandleButtonStylesOld, editorExperiment('platform_editor_controls', 'variant1') && dragHandleColor,
|
|
1011
1011
|
// ED-26266: Fixed the drag handle highlight when selecting multiple line in Firefox
|
|
1012
1012
|
// See https://product-fabric.atlassian.net/browse/ED-26266
|
|
1013
|
-
browser.gecko && dragHandleMultiLineSelectionFixFirefox, editorExperiment('advanced_layouts', true) && isLayoutColumn && layoutColumnDragHandleStyles, dragHandleSelected && hasHadInteraction && selectedStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorExperiment('platform_editor_controls', 'control') && dragHandleButtonSmallScreenStyles, expValEqualsNoExposure('platform_editor_block_menu', 'isEnabled', true) && isFocused && keyboardFocusedDragHandleStyles, expValEqualsNoExposure('platform_editor_block_menu', 'isEnabled', true) ? focusedStyles : focusedStylesOld, expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp') && dragHandleButtonDenseModeStyles],
|
|
1013
|
+
browser.gecko && dragHandleMultiLineSelectionFixFirefox, editorExperiment('advanced_layouts', true) && isLayoutColumn && layoutColumnDragHandleStyles, dragHandleSelected && hasHadInteraction && selectedStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorExperiment('platform_editor_controls', 'control') && dragHandleButtonSmallScreenStyles, expValEqualsNoExposure('platform_editor_block_menu', 'isEnabled', true) && isFocused && keyboardFocusedDragHandleStyles, expValEqualsNoExposure('platform_editor_block_menu', 'isEnabled', true) ? focusedStyles : focusedStylesOld, (expValEquals('confluence_compact_text_format', 'isEnabled', true) || expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp')) && dragHandleButtonDenseModeStyles],
|
|
1014
1014
|
ref: buttonRef
|
|
1015
1015
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
1016
1016
|
,
|
|
@@ -101,7 +101,6 @@ export const TypeAheadControl = ({
|
|
|
101
101
|
api,
|
|
102
102
|
formatMessage,
|
|
103
103
|
getPos,
|
|
104
|
-
nodeType,
|
|
105
104
|
anchorName,
|
|
106
105
|
rootAnchorName,
|
|
107
106
|
rootNodeType,
|
|
@@ -286,7 +285,7 @@ export const TypeAheadControl = ({
|
|
|
286
285
|
testId: "editor-quick-insert-button",
|
|
287
286
|
type: "button",
|
|
288
287
|
"aria-label": formatMessage(messages.insert),
|
|
289
|
-
xcss: [stickyButtonStyles, expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp') && stickyButtonDenseModeStyles],
|
|
288
|
+
xcss: [stickyButtonStyles, (expValEquals('confluence_compact_text_format', 'isEnabled', true) || expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp')) && stickyButtonDenseModeStyles],
|
|
290
289
|
onClick: handleQuickInsert,
|
|
291
290
|
onMouseDown: handleMouseDown
|
|
292
291
|
}, jsx(AddIcon, {
|
package/dist/esm/ui/consts.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
var _dropTargetMarginMap;
|
|
3
3
|
import { DRAG_HANDLE_WIDTH } from '@atlaskit/editor-common/styles';
|
|
4
|
+
import { breakoutResizableNodes as breakoutResizableNodesNew } from '@atlaskit/editor-common/utils';
|
|
4
5
|
import { akEditorUnitZIndex, akRichMediaResizeZIndex } from '@atlaskit/editor-shared-styles';
|
|
5
6
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
6
7
|
export var DRAG_HANDLE_HEIGHT = 24;
|
|
@@ -41,7 +42,8 @@ export var dragHandleGap = function dragHandleGap(nodeType, parentNodeType) {
|
|
|
41
42
|
if (parentNodeType && parentNodeType !== 'doc') {
|
|
42
43
|
return DRAG_HANDLE_NARROW_GAP;
|
|
43
44
|
}
|
|
44
|
-
|
|
45
|
+
var breakoutResizableNodesList = editorExperiment('platform_synced_block', true) ? breakoutResizableNodesNew : breakoutResizableNodes;
|
|
46
|
+
if (editorExperiment('platform_editor_breakout_resizing', true) && breakoutResizableNodesList.includes(nodeType)) {
|
|
45
47
|
if (nodeType === 'layoutSection') {
|
|
46
48
|
return DRAG_HANDLE_MAX_GAP + 20;
|
|
47
49
|
} else {
|
|
@@ -59,7 +61,8 @@ export var dragHandleGap = function dragHandleGap(nodeType, parentNodeType) {
|
|
|
59
61
|
|
|
60
62
|
// use for returning hap only for root level elements
|
|
61
63
|
export var rootElementGap = function rootElementGap(nodeType) {
|
|
62
|
-
|
|
64
|
+
var breakoutResizableNodesList = editorExperiment('platform_synced_block', true) ? breakoutResizableNodesNew : breakoutResizableNodes;
|
|
65
|
+
if (nodeTypeExcludeList.includes(nodeType) || editorExperiment('platform_editor_breakout_resizing', true) && breakoutResizableNodesList.includes(nodeType)) {
|
|
63
66
|
if (nodeType === 'layoutSection') {
|
|
64
67
|
return DRAG_HANDLE_MAX_GAP + 20;
|
|
65
68
|
} else {
|
|
@@ -1020,7 +1020,7 @@ export var DragHandle = function DragHandle(_ref2) {
|
|
|
1020
1020
|
css: [editorExperiment('platform_editor_controls', 'variant1') ? dragHandleButtonStyles : dragHandleButtonStylesOld, editorExperiment('platform_editor_controls', 'variant1') && dragHandleColor,
|
|
1021
1021
|
// ED-26266: Fixed the drag handle highlight when selecting multiple line in Firefox
|
|
1022
1022
|
// See https://product-fabric.atlassian.net/browse/ED-26266
|
|
1023
|
-
browser.gecko && dragHandleMultiLineSelectionFixFirefox, editorExperiment('advanced_layouts', true) && isLayoutColumn && layoutColumnDragHandleStyles, dragHandleSelected && hasHadInteraction && selectedStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorExperiment('platform_editor_controls', 'control') && dragHandleButtonSmallScreenStyles, expValEqualsNoExposure('platform_editor_block_menu', 'isEnabled', true) && isFocused && keyboardFocusedDragHandleStyles, expValEqualsNoExposure('platform_editor_block_menu', 'isEnabled', true) ? focusedStyles : focusedStylesOld, expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp') && dragHandleButtonDenseModeStyles],
|
|
1023
|
+
browser.gecko && dragHandleMultiLineSelectionFixFirefox, editorExperiment('advanced_layouts', true) && isLayoutColumn && layoutColumnDragHandleStyles, dragHandleSelected && hasHadInteraction && selectedStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorExperiment('platform_editor_controls', 'control') && dragHandleButtonSmallScreenStyles, expValEqualsNoExposure('platform_editor_block_menu', 'isEnabled', true) && isFocused && keyboardFocusedDragHandleStyles, expValEqualsNoExposure('platform_editor_block_menu', 'isEnabled', true) ? focusedStyles : focusedStylesOld, (expValEquals('confluence_compact_text_format', 'isEnabled', true) || expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp')) && dragHandleButtonDenseModeStyles],
|
|
1024
1024
|
ref: buttonRef
|
|
1025
1025
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
1026
1026
|
,
|
|
@@ -105,7 +105,6 @@ export var TypeAheadControl = function TypeAheadControl(_ref) {
|
|
|
105
105
|
api = _ref.api,
|
|
106
106
|
formatMessage = _ref.formatMessage,
|
|
107
107
|
getPos = _ref.getPos,
|
|
108
|
-
nodeType = _ref.nodeType,
|
|
109
108
|
anchorName = _ref.anchorName,
|
|
110
109
|
rootAnchorName = _ref.rootAnchorName,
|
|
111
110
|
rootNodeType = _ref.rootNodeType,
|
|
@@ -286,7 +285,7 @@ export var TypeAheadControl = function TypeAheadControl(_ref) {
|
|
|
286
285
|
testId: "editor-quick-insert-button",
|
|
287
286
|
type: "button",
|
|
288
287
|
"aria-label": formatMessage(messages.insert),
|
|
289
|
-
xcss: [stickyButtonStyles, expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp') && stickyButtonDenseModeStyles],
|
|
288
|
+
xcss: [stickyButtonStyles, (expValEquals('confluence_compact_text_format', 'isEnabled', true) || expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp')) && stickyButtonDenseModeStyles],
|
|
290
289
|
onClick: handleQuickInsert,
|
|
291
290
|
onMouseDown: handleMouseDown
|
|
292
291
|
}, jsx(AddIcon, {
|
|
@@ -19,6 +19,6 @@ type Props = {
|
|
|
19
19
|
rootNodeType: string;
|
|
20
20
|
view: EditorView;
|
|
21
21
|
};
|
|
22
|
-
export declare const TypeAheadControl: ({ view, api, formatMessage, getPos,
|
|
22
|
+
export declare const TypeAheadControl: ({ view, api, formatMessage, getPos, anchorName, rootAnchorName, rootNodeType, anchorRectCache, }: Props) => jsx.JSX.Element;
|
|
23
23
|
export declare const QuickInsertWithVisibility: ({ view, api, formatMessage, getPos, nodeType, anchorName, rootAnchorName, rootNodeType, anchorRectCache, }: Props) => jsx.JSX.Element;
|
|
24
24
|
export {};
|
|
@@ -19,6 +19,6 @@ type Props = {
|
|
|
19
19
|
rootNodeType: string;
|
|
20
20
|
view: EditorView;
|
|
21
21
|
};
|
|
22
|
-
export declare const TypeAheadControl: ({ view, api, formatMessage, getPos,
|
|
22
|
+
export declare const TypeAheadControl: ({ view, api, formatMessage, getPos, anchorName, rootAnchorName, rootNodeType, anchorRectCache, }: Props) => jsx.JSX.Element;
|
|
23
23
|
export declare const QuickInsertWithVisibility: ({ view, api, formatMessage, getPos, nodeType, anchorName, rootAnchorName, rootNodeType, anchorRectCache, }: Props) => jsx.JSX.Element;
|
|
24
24
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-controls",
|
|
3
|
-
"version": "7.15.
|
|
3
|
+
"version": "7.15.2",
|
|
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.3.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",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.2.0",
|
|
55
55
|
"@atlaskit/primitives": "^16.4.0",
|
|
56
56
|
"@atlaskit/theme": "^21.0.0",
|
|
57
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
57
|
+
"@atlaskit/tmp-editor-statsig": "^16.0.0",
|
|
58
58
|
"@atlaskit/tokens": "^8.6.0",
|
|
59
59
|
"@atlaskit/tooltip": "^20.11.0",
|
|
60
60
|
"@babel/runtime": "^7.0.0",
|
|
@@ -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.46.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"
|