@atlaskit/editor-common 74.1.2 → 74.2.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 +15 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/styles/index.js +14 -1
- package/dist/cjs/styles/shared/grid.js +16 -0
- package/dist/cjs/styles/shared/resizer.js +14 -2
- package/dist/cjs/ui/ContextPanel/context.js +89 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Resizer/index.js +8 -1
- package/dist/cjs/ui/index.js +25 -0
- package/dist/cjs/utils/grid.js +10 -0
- package/dist/cjs/utils/index.js +7 -0
- package/dist/cjs/utils/validator.js +2 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/index.js +1 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/styles/index.js +2 -1
- package/dist/es2019/styles/shared/grid.js +36 -0
- package/dist/es2019/styles/shared/resizer.js +23 -0
- package/dist/es2019/ui/ContextPanel/context.js +65 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Resizer/index.js +8 -2
- package/dist/es2019/ui/index.js +2 -1
- package/dist/es2019/utils/grid.js +1 -0
- package/dist/es2019/utils/index.js +2 -1
- package/dist/es2019/utils/validator.js +2 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/styles/index.js +2 -1
- package/dist/esm/styles/shared/grid.js +7 -0
- package/dist/esm/styles/shared/resizer.js +9 -1
- package/dist/esm/ui/ContextPanel/context.js +79 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Resizer/index.js +9 -2
- package/dist/esm/ui/index.js +2 -1
- package/dist/esm/utils/grid.js +3 -0
- package/dist/esm/utils/index.js +2 -1
- package/dist/esm/utils/validator.js +2 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/analytics/types/events.d.ts +1 -1
- package/dist/types/provider-factory/types.d.ts +1 -1
- package/dist/types/resizer.d.ts +1 -0
- package/dist/types/styles/index.d.ts +1 -0
- package/dist/types/styles/shared/grid.d.ts +2 -0
- package/dist/types/styles/shared/resizer.d.ts +8 -0
- package/dist/types/types/editor-actions.d.ts +1 -1
- package/dist/types/types/grid.d.ts +1 -0
- package/dist/types/types/index.d.ts +2 -2
- package/dist/types/types/next-editor-plugin.d.ts +5 -0
- package/dist/types/ui/ContextPanel/context.d.ts +24 -0
- package/dist/types/ui/DropList/index.d.ts +1 -1
- package/dist/types/ui/Resizer/index.d.ts +2 -1
- package/dist/types/ui/Resizer/types.d.ts +1 -0
- package/dist/types/ui/index.d.ts +1 -0
- package/dist/types/ui-menu/ToolbarButton/index.d.ts +1 -1
- package/dist/types/utils/grid.d.ts +3 -0
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types-ts4.5/analytics/types/events.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory/types.d.ts +1 -1
- package/dist/types-ts4.5/resizer.d.ts +1 -0
- package/dist/types-ts4.5/styles/index.d.ts +1 -0
- package/dist/types-ts4.5/styles/shared/grid.d.ts +2 -0
- package/dist/types-ts4.5/styles/shared/resizer.d.ts +8 -0
- package/dist/types-ts4.5/types/editor-actions.d.ts +1 -1
- package/dist/types-ts4.5/types/grid.d.ts +1 -0
- package/dist/types-ts4.5/types/index.d.ts +2 -2
- package/dist/types-ts4.5/types/next-editor-plugin.d.ts +5 -0
- package/dist/types-ts4.5/ui/ContextPanel/context.d.ts +24 -0
- package/dist/types-ts4.5/ui/DropList/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/Resizer/index.d.ts +2 -1
- package/dist/types-ts4.5/ui/Resizer/types.d.ts +1 -0
- package/dist/types-ts4.5/ui/index.d.ts +1 -0
- package/dist/types-ts4.5/ui-menu/ToolbarButton/index.d.ts +1 -1
- package/dist/types-ts4.5/utils/grid.d.ts +3 -0
- package/dist/types-ts4.5/utils/index.d.ts +1 -0
- package/package.json +8 -6
- package/report.api.md +1 -1
- package/collab/package.json +0 -15
- package/dist/cjs/collab/types.js +0 -5
- package/dist/cjs/types/collab.js +0 -5
- package/dist/es2019/types/collab.js +0 -1
- package/dist/esm/collab/types.js +0 -1
- package/dist/esm/collab.js +0 -1
- package/dist/esm/types/collab.js +0 -1
- package/dist/types/collab/types.d.ts +0 -101
- package/dist/types/collab.d.ts +0 -1
- package/dist/types/types/collab.d.ts +0 -8
- package/dist/types-ts4.5/collab/types.d.ts +0 -101
- package/dist/types-ts4.5/collab.d.ts +0 -1
- package/dist/types-ts4.5/types/collab.d.ts +0 -8
- /package/dist/cjs/{collab.js → types/grid.js} +0 -0
- /package/dist/es2019/{collab.js → types/grid.js} +0 -0
- /package/dist/{es2019/collab/types.js → esm/types/grid.js} +0 -0
|
@@ -15,4 +15,12 @@ export var resizerHandleLeftClassName = 'resizer-handle-left';
|
|
|
15
15
|
var akEditorSelectedNodeClassName = 'ak-editor-selected-node';
|
|
16
16
|
export var resizerHandlePadding = 13;
|
|
17
17
|
export var resizerHandleZIndex = 99;
|
|
18
|
-
export var
|
|
18
|
+
export var resizerHandlerSmallClassName = 'resizer-handler-small';
|
|
19
|
+
export var resizerHandlerMediumClassName = 'resizer-handler-medium';
|
|
20
|
+
export var resizerHandlerLargeClassName = 'resizer-handler-large';
|
|
21
|
+
export var resizerHandlerClassName = {
|
|
22
|
+
small: resizerHandlerSmallClassName,
|
|
23
|
+
medium: resizerHandlerMediumClassName,
|
|
24
|
+
large: resizerHandlerLargeClassName
|
|
25
|
+
};
|
|
26
|
+
export var resizerStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .", " {\n background: ", ";\n }\n\n .", ", .", " {\n display: flex;\n flex-direction: column;\n\n /* vertical align */\n justify-content: center;\n }\n\n .", " {\n align-items: flex-end;\n /* padding-right: 12px; */\n /* margin-right: -", "px; */\n }\n\n .", " {\n align-items: flex-start;\n /* padding-left: 12px; */\n /* margin-left: -", "px; */\n }\n\n .", "::after,\n .", "::after {\n content: ' ';\n display: flex;\n width: 3px;\n height: 64px;\n\n border-radius: 6px;\n }\n\n .", ":hover\n .", "::after,\n .", ":hover\n .", "::after {\n background: ", ";\n }\n\n .", "\n .", "::after,\n .", "\n .", "::after,\n .", "\n .", ":hover::after,\n .", "\n .", ":hover::after,\n .", ".is-resizing\n .", "::after,\n .", ".is-resizing\n .", "::after {\n background: ", ";\n }\n\n .", ".", "::after,\n .", ".", "::after {\n height: 64px;\n }\n\n .", ".", "::after,\n .", ".", "::after {\n height: 43px;\n }\n\n .", ".", "::after,\n .", ".", "::after {\n height: 96px;\n }\n"])), resizerItemClassName, "var(--ds-border-focused, ".concat(B200, ")"), resizerHandleRightClassName, resizerHandleLeftClassName, resizerHandleRightClassName, resizerHandlePadding, resizerHandleLeftClassName, resizerHandlePadding, resizerHandleRightClassName, resizerHandleLeftClassName, resizerItemClassName, resizerHandleLeftClassName, resizerItemClassName, resizerHandleRightClassName, "var(--ds-border, ".concat(N60, ")"), akEditorSelectedNodeClassName, resizerHandleRightClassName, akEditorSelectedNodeClassName, resizerHandleLeftClassName, resizerItemClassName, resizerHandleRightClassName, resizerItemClassName, resizerHandleLeftClassName, resizerItemClassName, resizerHandleRightClassName, resizerItemClassName, resizerHandleLeftClassName, "var(--ds-border-focused, ".concat(B200, ")"), resizerHandleRightClassName, resizerHandlerClassName.medium, resizerHandleLeftClassName, resizerHandlerClassName.medium, resizerHandleRightClassName, resizerHandlerClassName.small, resizerHandleLeftClassName, resizerHandlerClassName.small, resizerHandleRightClassName, resizerHandlerClassName.large, resizerHandleLeftClassName, resizerHandlerClassName.large);
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
2
|
+
import _createClass from "@babel/runtime/helpers/createClass";
|
|
3
|
+
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
|
|
4
|
+
import _inherits from "@babel/runtime/helpers/inherits";
|
|
5
|
+
import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
|
|
6
|
+
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
7
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
8
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
9
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
10
|
+
import React from 'react';
|
|
11
|
+
|
|
12
|
+
// React context to communicate the active context panel width up and down the tree.
|
|
13
|
+
//
|
|
14
|
+
// We need the width prop from the ContextPanel component.
|
|
15
|
+
//
|
|
16
|
+
// However, the actual <ContextPanel /> component might be deeply nested inside the contextPanel.
|
|
17
|
+
// For example, in the template context panel storybook, we wrap it in 2 higher order components.
|
|
18
|
+
//
|
|
19
|
+
// Changing the max-width on the main editor container happens above where the <ContextPanel /> gets rendered.
|
|
20
|
+
//
|
|
21
|
+
// To subtract the context panel width from the available real estate, we use the Provider and Consumer.
|
|
22
|
+
//
|
|
23
|
+
// positionedOverEditor is used to determine whether the context panel is positioned over the Editor so we are
|
|
24
|
+
// able to position and add margins to handle certain elements like inline comment dialogues overlapping the context
|
|
25
|
+
// panel
|
|
26
|
+
export var ContextPanel = /*#__PURE__*/React.createContext({
|
|
27
|
+
width: 0,
|
|
28
|
+
positionedOverEditor: false,
|
|
29
|
+
broadcastWidth: function broadcastWidth() {},
|
|
30
|
+
broadcastPosition: function broadcastPosition() {}
|
|
31
|
+
});
|
|
32
|
+
export var ContextPanelWidthProvider = /*#__PURE__*/function (_React$Component) {
|
|
33
|
+
_inherits(ContextPanelWidthProvider, _React$Component);
|
|
34
|
+
var _super = _createSuper(ContextPanelWidthProvider);
|
|
35
|
+
function ContextPanelWidthProvider(props) {
|
|
36
|
+
var _this;
|
|
37
|
+
_classCallCheck(this, ContextPanelWidthProvider);
|
|
38
|
+
_this = _super.call(this, props);
|
|
39
|
+
_defineProperty(_assertThisInitialized(_this), "state", {
|
|
40
|
+
width: 0,
|
|
41
|
+
positionedOverEditor: false
|
|
42
|
+
});
|
|
43
|
+
_defineProperty(_assertThisInitialized(_this), "broadcastSidebarWidth", function (width) {
|
|
44
|
+
if (width !== _this.state.width) {
|
|
45
|
+
_this.setState({
|
|
46
|
+
width: width
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
});
|
|
50
|
+
_defineProperty(_assertThisInitialized(_this), "broadcastPosition", function (positionedOverEditor) {
|
|
51
|
+
if (positionedOverEditor !== _this.state.positionedOverEditor) {
|
|
52
|
+
_this.setState({
|
|
53
|
+
positionedOverEditor: positionedOverEditor
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
return _this;
|
|
58
|
+
}
|
|
59
|
+
_createClass(ContextPanelWidthProvider, [{
|
|
60
|
+
key: "render",
|
|
61
|
+
value: function render() {
|
|
62
|
+
var _this$state = this.state,
|
|
63
|
+
width = _this$state.width,
|
|
64
|
+
positionedOverEditor = _this$state.positionedOverEditor;
|
|
65
|
+
return /*#__PURE__*/React.createElement(Provider, {
|
|
66
|
+
value: {
|
|
67
|
+
width: width,
|
|
68
|
+
positionedOverEditor: positionedOverEditor,
|
|
69
|
+
broadcastWidth: this.broadcastSidebarWidth,
|
|
70
|
+
broadcastPosition: this.broadcastPosition
|
|
71
|
+
}
|
|
72
|
+
}, this.props.children);
|
|
73
|
+
}
|
|
74
|
+
}]);
|
|
75
|
+
return ContextPanelWidthProvider;
|
|
76
|
+
}(React.Component);
|
|
77
|
+
var Provider = ContextPanel.Provider,
|
|
78
|
+
Consumer = ContextPanel.Consumer;
|
|
79
|
+
export { Provider as ContextPanelProvider, Consumer as ContextPanelConsumer };
|
|
@@ -19,7 +19,7 @@ import { themed } from '@atlaskit/theme/components';
|
|
|
19
19
|
import { borderRadius, gridSize } from '@atlaskit/theme/constants';
|
|
20
20
|
import Layer from '../Layer';
|
|
21
21
|
var packageName = "@atlaskit/editor-common";
|
|
22
|
-
var packageVersion = "74.
|
|
22
|
+
var packageVersion = "74.2.0";
|
|
23
23
|
var halfFocusRing = 1;
|
|
24
24
|
// TODO: Migrate away from gridSize
|
|
25
25
|
// Recommendation: Replace gridSize with token('space.100', '8px') after verfiying Popper can accept this
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import classnames from 'classnames';
|
|
3
3
|
import { Resizable } from 're-resizable';
|
|
4
|
-
import { resizerHandleLeftClassName, resizerHandlePadding, resizerHandleRightClassName, resizerHandleZIndex, resizerItemClassName } from '../../styles/shared/resizer';
|
|
4
|
+
import { resizerHandleLeftClassName, resizerHandlePadding, resizerHandlerClassName, resizerHandleRightClassName, resizerHandleZIndex, resizerItemClassName } from '../../styles/shared/resizer';
|
|
5
5
|
import { handleSides } from './utils';
|
|
6
6
|
export default function ResizerNext(props) {
|
|
7
7
|
var resizable = React.useRef(null);
|
|
8
8
|
var handleResize = props.handleResize,
|
|
9
9
|
handleResizeStart = props.handleResizeStart,
|
|
10
|
-
handleResizeStop = props.handleResizeStop
|
|
10
|
+
handleResizeStop = props.handleResizeStop,
|
|
11
|
+
_props$handlerHeightS = props.handlerHeightSize,
|
|
12
|
+
handlerHeightSize = _props$handlerHeightS === void 0 ? 'medium' : _props$handlerHeightS;
|
|
11
13
|
var onResizeStart = React.useCallback(function (event) {
|
|
12
14
|
// prevent creating a drag event on Firefox
|
|
13
15
|
event.preventDefault();
|
|
@@ -50,6 +52,11 @@ export default function ResizerNext(props) {
|
|
|
50
52
|
right: resizerHandleRightClassName
|
|
51
53
|
};
|
|
52
54
|
}
|
|
55
|
+
|
|
56
|
+
// add handler height size classname to handleClasses
|
|
57
|
+
Object.keys(handles).forEach(function (key) {
|
|
58
|
+
handles[key] = classnames(handles[key], resizerHandlerClassName[handlerHeightSize]);
|
|
59
|
+
});
|
|
53
60
|
var innerPadding = props.innerPadding || resizerHandlePadding;
|
|
54
61
|
var handleStyles = {
|
|
55
62
|
left: {
|
package/dist/esm/ui/index.js
CHANGED
|
@@ -17,4 +17,5 @@ export { ErrorMessage, HelperMessage, ValidMessage } from './Messages';
|
|
|
17
17
|
export { clearNextSiblingMarginTopStyle, clearNextSiblingBlockMarkMarginTopStyle } from './clear-next-sibling-margin-top';
|
|
18
18
|
export { IntlErrorBoundary, REACT_INTL_ERROR_MESSAGE } from './IntlErrorBoundary';
|
|
19
19
|
export { default as IntlProviderIfMissingWrapper } from './IntlProviderIfMissingWrapper';
|
|
20
|
-
export { default as FloatingToolbarButton } from './FloatingToolbar/Button';
|
|
20
|
+
export { default as FloatingToolbarButton } from './FloatingToolbar/Button';
|
|
21
|
+
export { ContextPanelProvider, ContextPanelWidthProvider, ContextPanelConsumer, ContextPanel } from './ContextPanel/context';
|
package/dist/esm/utils/index.js
CHANGED
|
@@ -38,4 +38,5 @@ export { getItemCounterDigitsSize, getOrderFromOrderedListNode, resolveOrder, is
|
|
|
38
38
|
export { isFromCurrentDomain, LinkMatcher, normalizeUrl, linkifyContent, getLinkDomain, findFilepaths, isLinkInMatches, FILEPATH_REGEXP, DONTLINKIFY_REGEXP, getLinkCreationAnalyticsEvent } from './hyperlink';
|
|
39
39
|
|
|
40
40
|
// prosemirror-history does not export its plugin key
|
|
41
|
-
export var pmHistoryPluginKey = 'history$';
|
|
41
|
+
export var pmHistoryPluginKey = 'history$';
|
|
42
|
+
export { gridTypeForLayout } from './grid';
|
|
@@ -656,7 +656,8 @@ export var getValidNode = function getValidNode(originalNode) {
|
|
|
656
656
|
type: type,
|
|
657
657
|
content: content,
|
|
658
658
|
attrs: _objectSpread(_objectSpread({}, attrs), {}, {
|
|
659
|
-
localId: (attrs === null || attrs === void 0 ? void 0 : attrs.localId) || uuid()
|
|
659
|
+
localId: (attrs === null || attrs === void 0 ? void 0 : attrs.localId) || uuid(),
|
|
660
|
+
width: (attrs === null || attrs === void 0 ? void 0 : attrs.width) || null
|
|
660
661
|
})
|
|
661
662
|
};
|
|
662
663
|
}
|
package/dist/esm/version.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { EditorState, PluginKey } from 'prosemirror-state';
|
|
3
3
|
import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
4
|
-
import type { NewCollabSyncUpErrorAttributes } from '
|
|
4
|
+
import type { NewCollabSyncUpErrorAttributes } from '@atlaskit/collab-provider/types';
|
|
5
5
|
import type { UnsupportedContentPayload, UnsupportedContentTooltipPayload, UserBrowserExtensionResults } from '../../utils';
|
|
6
6
|
import type { AvatarEventPayload } from './avatar';
|
|
7
7
|
import type { ConfigPanelEventPayload } from './config-panel-events';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ActivityProvider } from '@atlaskit/activity-provider';
|
|
2
|
+
import type { CollabEditProvider } from '@atlaskit/collab-provider';
|
|
2
3
|
import type { EmojiProvider } from '@atlaskit/emoji/types';
|
|
3
4
|
import { MentionProvider } from '@atlaskit/mention/types';
|
|
4
5
|
import { TaskDecisionProvider } from '@atlaskit/task-decision/types';
|
|
5
|
-
import { CollabEditProvider } from '../collab/types';
|
|
6
6
|
import { ExtensionProvider } from '../extensions/types';
|
|
7
7
|
import { AutoformattingProvider } from './autoformatting-provider';
|
|
8
8
|
import { CardProvider } from './card-provider';
|
package/dist/types/resizer.d.ts
CHANGED
|
@@ -23,3 +23,4 @@ export { CodeBlockSharedCssClassName, codeBlockSharedStyles, codeBlockInListSafa
|
|
|
23
23
|
export { LAYOUT_SECTION_MARGIN, LAYOUT_COLUMN_PADDING } from './shared/layout';
|
|
24
24
|
export { EXTENSION_PADDING, BODIED_EXT_PADDING } from './shared/extension';
|
|
25
25
|
export { resizerStyles } from './shared/resizer';
|
|
26
|
+
export { gridStyles, GRID_GUTTER } from './shared/grid';
|
|
@@ -3,4 +3,12 @@ export declare const resizerHandleRightClassName = "resizer-handle-right";
|
|
|
3
3
|
export declare const resizerHandleLeftClassName = "resizer-handle-left";
|
|
4
4
|
export declare const resizerHandlePadding = 13;
|
|
5
5
|
export declare const resizerHandleZIndex = 99;
|
|
6
|
+
export declare const resizerHandlerSmallClassName = "resizer-handler-small";
|
|
7
|
+
export declare const resizerHandlerMediumClassName = "resizer-handler-medium";
|
|
8
|
+
export declare const resizerHandlerLargeClassName = "resizer-handler-large";
|
|
9
|
+
export declare const resizerHandlerClassName: {
|
|
10
|
+
small: string;
|
|
11
|
+
medium: string;
|
|
12
|
+
large: string;
|
|
13
|
+
};
|
|
6
14
|
export declare const resizerStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Node } from 'prosemirror-model';
|
|
2
2
|
import { EditorView } from 'prosemirror-view';
|
|
3
|
+
import type { ResolvedEditorState } from '@atlaskit/collab-provider/types';
|
|
3
4
|
import { JSONDocNode } from '@atlaskit/editor-json-transformer';
|
|
4
|
-
import { ResolvedEditorState } from '../collab';
|
|
5
5
|
import { EventDispatcher } from '../event-dispatcher';
|
|
6
6
|
export type ContextUpdateHandler = (editorView: EditorView, eventDispatcher: EventDispatcher) => void;
|
|
7
7
|
export type ReplaceRawValue = Node | object | string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type GridType = 'full' | 'wrapped';
|
|
@@ -12,7 +12,6 @@ export { AnnotationUpdateEmitter, AnnotationUpdateEvent } from './annotation';
|
|
|
12
12
|
export type { AnnotationState, AnnotationProviders, AnnotationUpdateEventPayloads, InlineCommentSelectionComponentProps, InlineCommentViewComponentProps, InlineCommentAnnotationProvider, OnAnnotationClickPayload, AnnotationByMatches, AnnotationActionResult, } from './annotation';
|
|
13
13
|
export type { ContextUpdateHandler, EditorActionsOptions, ReplaceRawValue, } from './editor-actions';
|
|
14
14
|
export type { TypeAheadStats, TypeAheadItemRenderProps, TypeAheadInsert, TypeAheadSelectItem, TypeAheadItem, TypeAheadForceSelect, TypeAheadHandler, } from './type-ahead';
|
|
15
|
-
export type { NewCollabSyncUpErrorAttributes, SyncUpErrorFunction, } from './collab';
|
|
16
15
|
export type { CommandDispatch, Command, HigherOrderCommand } from './command';
|
|
17
16
|
export type { FeatureFlags, FeatureFlagKey, GetEditorFeatureFlags, } from './feature-flags';
|
|
18
17
|
export type { Browsers, Range, DisableSpellcheckByBrowser, } from './supported-browsers';
|
|
@@ -29,8 +28,9 @@ export type { EditorReactContext } from './editor-react-context';
|
|
|
29
28
|
export type { PMPluginFactoryParams, PMPluginFactory, PMPlugin, } from './plugin-factory';
|
|
30
29
|
export type { NodeConfig, MarkConfig, NodeViewConfig, } from './prosemirror-config';
|
|
31
30
|
export type { PluginsOptions, EditorPlugin, getPosHandler, getPosHandlerNode, } from './editor-plugin';
|
|
32
|
-
export type { NextEditorPlugin, AllEditorPresetPluginTypes, PluginDependenciesAPI, ExtractPluginNameFromAllBuilderPlugins, SafePresetCheck, DefaultEditorPlugin, OptionalPlugin, PluginInjectionAPI, CreatePluginDependenciesAPI, NextEditorPluginMetadata, ExtractInjectionAPI, ExtractPluginActions, } from './next-editor-plugin';
|
|
31
|
+
export type { NextEditorPlugin, AllEditorPresetPluginTypes, PluginDependenciesAPI, ExtractPluginNameFromAllBuilderPlugins, SafePresetCheck, DefaultEditorPlugin, OptionalPlugin, PluginInjectionAPI, CreatePluginDependenciesAPI, NextEditorPluginMetadata, ExtractInjectionAPI, ExtractPluginActions, PluginInjectionAPIWithDependency, } from './next-editor-plugin';
|
|
33
32
|
export type IconProps = {
|
|
34
33
|
label?: string;
|
|
35
34
|
};
|
|
36
35
|
export type { TTITracking, TransactionTracking, UITracking, CatchAllTracking, NodeViewTracking, BrowserFreezetracking, ProseMirrorRenderedTracking, InputTracking, ContentRetrievalTracking, OnChangeCallbackTracking, OnEditorReadyCallbackTracking, PasteTracking, RenderTracking, PerformanceTracking, } from './performance-tracking';
|
|
36
|
+
export type { GridType } from './grid';
|
|
@@ -32,6 +32,11 @@ export type PluginInjectionAPI<Name extends string, Metadata extends NextEditorP
|
|
|
32
32
|
...ExtractPluginDependenciesFromMetadata<Metadata>
|
|
33
33
|
]>;
|
|
34
34
|
};
|
|
35
|
+
export type PluginInjectionAPIWithDependency<Plugin> = Plugin extends NextEditorPlugin<infer Name, infer Metadata> ? {
|
|
36
|
+
dependencies: CreatePluginDependenciesAPI<[
|
|
37
|
+
NextEditorPlugin<Name, Metadata>
|
|
38
|
+
]>;
|
|
39
|
+
} : never;
|
|
35
40
|
type NextEditorPluginFunctionDefinition<Name extends string, Metadata extends NextEditorPluginMetadata, Configuration> = (config: Configuration, api?: PluginInjectionAPI<Name, Metadata>) => DefaultEditorPlugin<Name, Metadata>;
|
|
36
41
|
type NextEditorPluginFunctionOptionalConfigDefinition<Name extends string, Metadata extends NextEditorPluginMetadata, Configuration = undefined> = (config?: Configuration, api?: PluginInjectionAPI<Name, Metadata>) => DefaultEditorPlugin<Name, Metadata>;
|
|
37
42
|
type OptionalPrivateProperty = {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type ContextPanelContext = {
|
|
3
|
+
width: number;
|
|
4
|
+
positionedOverEditor: boolean;
|
|
5
|
+
broadcastWidth: (width: number) => void;
|
|
6
|
+
broadcastPosition: (positionedOverEditor: boolean) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const ContextPanel: React.Context<ContextPanelContext>;
|
|
9
|
+
export type ContextPanelProviderState = {
|
|
10
|
+
width?: number;
|
|
11
|
+
positionedOverEditor?: boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare class ContextPanelWidthProvider extends React.Component<any, ContextPanelProviderState> {
|
|
14
|
+
state: {
|
|
15
|
+
width: number;
|
|
16
|
+
positionedOverEditor: boolean;
|
|
17
|
+
};
|
|
18
|
+
constructor(props: any);
|
|
19
|
+
broadcastSidebarWidth: (width: number) => void;
|
|
20
|
+
broadcastPosition: (positionedOverEditor: boolean) => void;
|
|
21
|
+
render(): JSX.Element;
|
|
22
|
+
}
|
|
23
|
+
declare const Provider: React.Provider<ContextPanelContext>, Consumer: React.Consumer<ContextPanelContext>;
|
|
24
|
+
export { Provider as ContextPanelProvider, Consumer as ContextPanelConsumer };
|
|
@@ -16,5 +16,5 @@ export type OpenChangedEvent = {
|
|
|
16
16
|
isOpen: boolean;
|
|
17
17
|
event: MouseEvent | KeyboardEvent;
|
|
18
18
|
};
|
|
19
|
-
declare const _default: import("react").ForwardRefExoticComponent<Pick<Omit<Props, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "key" | "
|
|
19
|
+
declare const _default: import("react").ForwardRefExoticComponent<Pick<Omit<Props, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "key" | "children" | "id" | "position" | "trigger" | "testId" | "analyticsContext" | "isOpen" | "shouldFitContainer" | "onPositioned" | "onOpenChange"> & import("react").RefAttributes<any>>;
|
|
20
20
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from 'react';
|
|
2
2
|
import { HandleComponent } from 're-resizable';
|
|
3
|
-
import { EnabledHandles, HandleResize } from './types';
|
|
3
|
+
import { EnabledHandles, HandleResize, HandlerHeightSizeType } from './types';
|
|
4
4
|
export interface ResizableNumberSize {
|
|
5
5
|
width: number;
|
|
6
6
|
height: number;
|
|
@@ -18,5 +18,6 @@ export type ResizerProps = {
|
|
|
18
18
|
maxWidth?: number;
|
|
19
19
|
handleWrapperStyle?: React.CSSProperties;
|
|
20
20
|
handleComponent?: HandleComponent;
|
|
21
|
+
handlerHeightSize?: HandlerHeightSizeType;
|
|
21
22
|
};
|
|
22
23
|
export default function ResizerNext(props: PropsWithChildren<ResizerProps>): JSX.Element;
|
package/dist/types/ui/index.d.ts
CHANGED
|
@@ -26,3 +26,4 @@ export { clearNextSiblingMarginTopStyle, clearNextSiblingBlockMarkMarginTopStyle
|
|
|
26
26
|
export { IntlErrorBoundary, REACT_INTL_ERROR_MESSAGE, } from './IntlErrorBoundary';
|
|
27
27
|
export { default as IntlProviderIfMissingWrapper } from './IntlProviderIfMissingWrapper';
|
|
28
28
|
export { default as FloatingToolbarButton } from './FloatingToolbar/Button';
|
|
29
|
+
export { ContextPanelProvider, ContextPanelWidthProvider, ContextPanelConsumer, ContextPanel, } from './ContextPanel/context';
|
|
@@ -42,7 +42,7 @@ declare const ToolbarButton: React.ForwardRefExoticComponent<{
|
|
|
42
42
|
onItemClick?: ((item: MenuItem) => void) | undefined;
|
|
43
43
|
onKeyDown?: ((event: React.KeyboardEvent<HTMLElement>) => void) | undefined;
|
|
44
44
|
selected?: boolean | undefined;
|
|
45
|
-
spacing?: "
|
|
45
|
+
spacing?: "default" | "none" | "compact" | undefined;
|
|
46
46
|
target?: string | undefined;
|
|
47
47
|
title?: React.ReactNode;
|
|
48
48
|
titlePosition?: PositionType | undefined;
|
|
@@ -49,3 +49,4 @@ export { isReferencedSource, removeConnectedNodes, getChildrenInfo, getNodeName,
|
|
|
49
49
|
export { getItemCounterDigitsSize, getOrderFromOrderedListNode, resolveOrder, isListNode, isParagraphNode, isListItemNode, isBulletList, } from './list';
|
|
50
50
|
export { isFromCurrentDomain, LinkMatcher, normalizeUrl, linkifyContent, getLinkDomain, findFilepaths, isLinkInMatches, FILEPATH_REGEXP, DONTLINKIFY_REGEXP, getLinkCreationAnalyticsEvent, } from './hyperlink';
|
|
51
51
|
export declare const pmHistoryPluginKey = "history$";
|
|
52
|
+
export { gridTypeForLayout } from './grid';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { EditorState, PluginKey } from 'prosemirror-state';
|
|
3
3
|
import { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
4
|
-
import type { NewCollabSyncUpErrorAttributes } from '
|
|
4
|
+
import type { NewCollabSyncUpErrorAttributes } from '@atlaskit/collab-provider/types';
|
|
5
5
|
import type { UnsupportedContentPayload, UnsupportedContentTooltipPayload, UserBrowserExtensionResults } from '../../utils';
|
|
6
6
|
import type { AvatarEventPayload } from './avatar';
|
|
7
7
|
import type { ConfigPanelEventPayload } from './config-panel-events';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ActivityProvider } from '@atlaskit/activity-provider';
|
|
2
|
+
import type { CollabEditProvider } from '@atlaskit/collab-provider';
|
|
2
3
|
import type { EmojiProvider } from '@atlaskit/emoji/types';
|
|
3
4
|
import { MentionProvider } from '@atlaskit/mention/types';
|
|
4
5
|
import { TaskDecisionProvider } from '@atlaskit/task-decision/types';
|
|
5
|
-
import { CollabEditProvider } from '../collab/types';
|
|
6
6
|
import { ExtensionProvider } from '../extensions/types';
|
|
7
7
|
import { AutoformattingProvider } from './autoformatting-provider';
|
|
8
8
|
import { CardProvider } from './card-provider';
|
|
@@ -23,3 +23,4 @@ export { CodeBlockSharedCssClassName, codeBlockSharedStyles, codeBlockInListSafa
|
|
|
23
23
|
export { LAYOUT_SECTION_MARGIN, LAYOUT_COLUMN_PADDING } from './shared/layout';
|
|
24
24
|
export { EXTENSION_PADDING, BODIED_EXT_PADDING } from './shared/extension';
|
|
25
25
|
export { resizerStyles } from './shared/resizer';
|
|
26
|
+
export { gridStyles, GRID_GUTTER } from './shared/grid';
|
|
@@ -3,4 +3,12 @@ export declare const resizerHandleRightClassName = "resizer-handle-right";
|
|
|
3
3
|
export declare const resizerHandleLeftClassName = "resizer-handle-left";
|
|
4
4
|
export declare const resizerHandlePadding = 13;
|
|
5
5
|
export declare const resizerHandleZIndex = 99;
|
|
6
|
+
export declare const resizerHandlerSmallClassName = "resizer-handler-small";
|
|
7
|
+
export declare const resizerHandlerMediumClassName = "resizer-handler-medium";
|
|
8
|
+
export declare const resizerHandlerLargeClassName = "resizer-handler-large";
|
|
9
|
+
export declare const resizerHandlerClassName: {
|
|
10
|
+
small: string;
|
|
11
|
+
medium: string;
|
|
12
|
+
large: string;
|
|
13
|
+
};
|
|
6
14
|
export declare const resizerStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Node } from 'prosemirror-model';
|
|
2
2
|
import { EditorView } from 'prosemirror-view';
|
|
3
|
+
import type { ResolvedEditorState } from '@atlaskit/collab-provider/types';
|
|
3
4
|
import { JSONDocNode } from '@atlaskit/editor-json-transformer';
|
|
4
|
-
import { ResolvedEditorState } from '../collab';
|
|
5
5
|
import { EventDispatcher } from '../event-dispatcher';
|
|
6
6
|
export type ContextUpdateHandler = (editorView: EditorView, eventDispatcher: EventDispatcher) => void;
|
|
7
7
|
export type ReplaceRawValue = Node | object | string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type GridType = 'full' | 'wrapped';
|
|
@@ -12,7 +12,6 @@ export { AnnotationUpdateEmitter, AnnotationUpdateEvent } from './annotation';
|
|
|
12
12
|
export type { AnnotationState, AnnotationProviders, AnnotationUpdateEventPayloads, InlineCommentSelectionComponentProps, InlineCommentViewComponentProps, InlineCommentAnnotationProvider, OnAnnotationClickPayload, AnnotationByMatches, AnnotationActionResult, } from './annotation';
|
|
13
13
|
export type { ContextUpdateHandler, EditorActionsOptions, ReplaceRawValue, } from './editor-actions';
|
|
14
14
|
export type { TypeAheadStats, TypeAheadItemRenderProps, TypeAheadInsert, TypeAheadSelectItem, TypeAheadItem, TypeAheadForceSelect, TypeAheadHandler, } from './type-ahead';
|
|
15
|
-
export type { NewCollabSyncUpErrorAttributes, SyncUpErrorFunction, } from './collab';
|
|
16
15
|
export type { CommandDispatch, Command, HigherOrderCommand } from './command';
|
|
17
16
|
export type { FeatureFlags, FeatureFlagKey, GetEditorFeatureFlags, } from './feature-flags';
|
|
18
17
|
export type { Browsers, Range, DisableSpellcheckByBrowser, } from './supported-browsers';
|
|
@@ -29,8 +28,9 @@ export type { EditorReactContext } from './editor-react-context';
|
|
|
29
28
|
export type { PMPluginFactoryParams, PMPluginFactory, PMPlugin, } from './plugin-factory';
|
|
30
29
|
export type { NodeConfig, MarkConfig, NodeViewConfig, } from './prosemirror-config';
|
|
31
30
|
export type { PluginsOptions, EditorPlugin, getPosHandler, getPosHandlerNode, } from './editor-plugin';
|
|
32
|
-
export type { NextEditorPlugin, AllEditorPresetPluginTypes, PluginDependenciesAPI, ExtractPluginNameFromAllBuilderPlugins, SafePresetCheck, DefaultEditorPlugin, OptionalPlugin, PluginInjectionAPI, CreatePluginDependenciesAPI, NextEditorPluginMetadata, ExtractInjectionAPI, ExtractPluginActions, } from './next-editor-plugin';
|
|
31
|
+
export type { NextEditorPlugin, AllEditorPresetPluginTypes, PluginDependenciesAPI, ExtractPluginNameFromAllBuilderPlugins, SafePresetCheck, DefaultEditorPlugin, OptionalPlugin, PluginInjectionAPI, CreatePluginDependenciesAPI, NextEditorPluginMetadata, ExtractInjectionAPI, ExtractPluginActions, PluginInjectionAPIWithDependency, } from './next-editor-plugin';
|
|
33
32
|
export type IconProps = {
|
|
34
33
|
label?: string;
|
|
35
34
|
};
|
|
36
35
|
export type { TTITracking, TransactionTracking, UITracking, CatchAllTracking, NodeViewTracking, BrowserFreezetracking, ProseMirrorRenderedTracking, InputTracking, ContentRetrievalTracking, OnChangeCallbackTracking, OnEditorReadyCallbackTracking, PasteTracking, RenderTracking, PerformanceTracking, } from './performance-tracking';
|
|
36
|
+
export type { GridType } from './grid';
|
|
@@ -32,6 +32,11 @@ export type PluginInjectionAPI<Name extends string, Metadata extends NextEditorP
|
|
|
32
32
|
...ExtractPluginDependenciesFromMetadata<Metadata>
|
|
33
33
|
]>;
|
|
34
34
|
};
|
|
35
|
+
export type PluginInjectionAPIWithDependency<Plugin> = Plugin extends NextEditorPlugin<infer Name, infer Metadata> ? {
|
|
36
|
+
dependencies: CreatePluginDependenciesAPI<[
|
|
37
|
+
NextEditorPlugin<Name, Metadata>
|
|
38
|
+
]>;
|
|
39
|
+
} : never;
|
|
35
40
|
type NextEditorPluginFunctionDefinition<Name extends string, Metadata extends NextEditorPluginMetadata, Configuration> = (config: Configuration, api?: PluginInjectionAPI<Name, Metadata>) => DefaultEditorPlugin<Name, Metadata>;
|
|
36
41
|
type NextEditorPluginFunctionOptionalConfigDefinition<Name extends string, Metadata extends NextEditorPluginMetadata, Configuration = undefined> = (config?: Configuration, api?: PluginInjectionAPI<Name, Metadata>) => DefaultEditorPlugin<Name, Metadata>;
|
|
37
42
|
type OptionalPrivateProperty = {
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type ContextPanelContext = {
|
|
3
|
+
width: number;
|
|
4
|
+
positionedOverEditor: boolean;
|
|
5
|
+
broadcastWidth: (width: number) => void;
|
|
6
|
+
broadcastPosition: (positionedOverEditor: boolean) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const ContextPanel: React.Context<ContextPanelContext>;
|
|
9
|
+
export type ContextPanelProviderState = {
|
|
10
|
+
width?: number;
|
|
11
|
+
positionedOverEditor?: boolean;
|
|
12
|
+
};
|
|
13
|
+
export declare class ContextPanelWidthProvider extends React.Component<any, ContextPanelProviderState> {
|
|
14
|
+
state: {
|
|
15
|
+
width: number;
|
|
16
|
+
positionedOverEditor: boolean;
|
|
17
|
+
};
|
|
18
|
+
constructor(props: any);
|
|
19
|
+
broadcastSidebarWidth: (width: number) => void;
|
|
20
|
+
broadcastPosition: (positionedOverEditor: boolean) => void;
|
|
21
|
+
render(): JSX.Element;
|
|
22
|
+
}
|
|
23
|
+
declare const Provider: React.Provider<ContextPanelContext>, Consumer: React.Consumer<ContextPanelContext>;
|
|
24
|
+
export { Provider as ContextPanelProvider, Consumer as ContextPanelConsumer };
|
|
@@ -16,5 +16,5 @@ export type OpenChangedEvent = {
|
|
|
16
16
|
isOpen: boolean;
|
|
17
17
|
event: MouseEvent | KeyboardEvent;
|
|
18
18
|
};
|
|
19
|
-
declare const _default: import("react").ForwardRefExoticComponent<Pick<Omit<Props, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "key" | "
|
|
19
|
+
declare const _default: import("react").ForwardRefExoticComponent<Pick<Omit<Props, keyof WithAnalyticsEventsProps> & import("react").RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "key" | "children" | "id" | "position" | "trigger" | "testId" | "analyticsContext" | "isOpen" | "shouldFitContainer" | "onPositioned" | "onOpenChange"> & import("react").RefAttributes<any>>;
|
|
20
20
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from 'react';
|
|
2
2
|
import { HandleComponent } from 're-resizable';
|
|
3
|
-
import { EnabledHandles, HandleResize } from './types';
|
|
3
|
+
import { EnabledHandles, HandleResize, HandlerHeightSizeType } from './types';
|
|
4
4
|
export interface ResizableNumberSize {
|
|
5
5
|
width: number;
|
|
6
6
|
height: number;
|
|
@@ -18,5 +18,6 @@ export type ResizerProps = {
|
|
|
18
18
|
maxWidth?: number;
|
|
19
19
|
handleWrapperStyle?: React.CSSProperties;
|
|
20
20
|
handleComponent?: HandleComponent;
|
|
21
|
+
handlerHeightSize?: HandlerHeightSizeType;
|
|
21
22
|
};
|
|
22
23
|
export default function ResizerNext(props: PropsWithChildren<ResizerProps>): JSX.Element;
|
|
@@ -26,3 +26,4 @@ export { clearNextSiblingMarginTopStyle, clearNextSiblingBlockMarkMarginTopStyle
|
|
|
26
26
|
export { IntlErrorBoundary, REACT_INTL_ERROR_MESSAGE, } from './IntlErrorBoundary';
|
|
27
27
|
export { default as IntlProviderIfMissingWrapper } from './IntlProviderIfMissingWrapper';
|
|
28
28
|
export { default as FloatingToolbarButton } from './FloatingToolbar/Button';
|
|
29
|
+
export { ContextPanelProvider, ContextPanelWidthProvider, ContextPanelConsumer, ContextPanel, } from './ContextPanel/context';
|
|
@@ -42,7 +42,7 @@ declare const ToolbarButton: React.ForwardRefExoticComponent<{
|
|
|
42
42
|
onItemClick?: ((item: MenuItem) => void) | undefined;
|
|
43
43
|
onKeyDown?: ((event: React.KeyboardEvent<HTMLElement>) => void) | undefined;
|
|
44
44
|
selected?: boolean | undefined;
|
|
45
|
-
spacing?: "
|
|
45
|
+
spacing?: "default" | "none" | "compact" | undefined;
|
|
46
46
|
target?: string | undefined;
|
|
47
47
|
title?: React.ReactNode;
|
|
48
48
|
titlePosition?: PositionType | undefined;
|
|
@@ -49,3 +49,4 @@ export { isReferencedSource, removeConnectedNodes, getChildrenInfo, getNodeName,
|
|
|
49
49
|
export { getItemCounterDigitsSize, getOrderFromOrderedListNode, resolveOrder, isListNode, isParagraphNode, isListItemNode, isBulletList, } from './list';
|
|
50
50
|
export { isFromCurrentDomain, LinkMatcher, normalizeUrl, linkifyContent, getLinkDomain, findFilepaths, isLinkInMatches, FILEPATH_REGEXP, DONTLINKIFY_REGEXP, getLinkCreationAnalyticsEvent, } from './hyperlink';
|
|
51
51
|
export declare const pmHistoryPluginKey = "history$";
|
|
52
|
+
export { gridTypeForLayout } from './grid';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "74.
|
|
3
|
+
"version": "74.2.0",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
"releaseModel": "scheduled"
|
|
29
29
|
},
|
|
30
30
|
"af:exports": {
|
|
31
|
-
"./collab": "./src/collab.ts",
|
|
32
31
|
"./event-dispatcher": "./src/event-dispatcher/index.ts",
|
|
33
32
|
"./extensions": "./src/extensions.ts",
|
|
34
33
|
"./normalize-feature-flags": "./src/normalize-feature-flags.ts",
|
|
@@ -71,7 +70,7 @@
|
|
|
71
70
|
},
|
|
72
71
|
"dependencies": {
|
|
73
72
|
"@atlaskit/activity-provider": "^2.4.0",
|
|
74
|
-
"@atlaskit/adf-schema": "^25.
|
|
73
|
+
"@atlaskit/adf-schema": "^25.7.0",
|
|
75
74
|
"@atlaskit/adf-utils": "^18.2.0",
|
|
76
75
|
"@atlaskit/analytics-listeners": "^8.7.0",
|
|
77
76
|
"@atlaskit/analytics-namespaced-context": "^6.7.0",
|
|
@@ -80,13 +79,14 @@
|
|
|
80
79
|
"@atlaskit/button": "^16.7.0",
|
|
81
80
|
"@atlaskit/code": "^14.6.0",
|
|
82
81
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
82
|
+
"@atlaskit/collab-provider": "^9.0.0",
|
|
83
83
|
"@atlaskit/editor-json-transformer": "^8.9.0",
|
|
84
84
|
"@atlaskit/editor-palette": "1.4.2",
|
|
85
85
|
"@atlaskit/editor-shared-styles": "^2.4.0",
|
|
86
86
|
"@atlaskit/emoji": "^67.4.0",
|
|
87
87
|
"@atlaskit/icon": "^21.12.0",
|
|
88
88
|
"@atlaskit/in-product-testing": "^0.2.0",
|
|
89
|
-
"@atlaskit/media-card": "^
|
|
89
|
+
"@atlaskit/media-card": "^76.0.0",
|
|
90
90
|
"@atlaskit/media-client": "^22.0.0",
|
|
91
91
|
"@atlaskit/media-picker": "^65.1.0",
|
|
92
92
|
"@atlaskit/mention": "^22.1.0",
|
|
@@ -135,12 +135,14 @@
|
|
|
135
135
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
136
136
|
},
|
|
137
137
|
"devDependencies": {
|
|
138
|
-
"@atlaskit/editor-core": "^
|
|
138
|
+
"@atlaskit/editor-core": "^184.0.0",
|
|
139
139
|
"@atlaskit/editor-json-transformer": "^8.9.0",
|
|
140
140
|
"@atlaskit/editor-plugin-analytics": "^0.0.1",
|
|
141
141
|
"@atlaskit/editor-plugin-content-insertion": "^0.0.1",
|
|
142
142
|
"@atlaskit/editor-plugin-feature-flags": "^0.1.0",
|
|
143
|
-
"@atlaskit/editor-plugin-
|
|
143
|
+
"@atlaskit/editor-plugin-grid": "^0.1.0",
|
|
144
|
+
"@atlaskit/editor-plugin-table": "^1.5.0",
|
|
145
|
+
"@atlaskit/editor-plugin-width": "^0.0.1",
|
|
144
146
|
"@atlaskit/editor-test-helpers": "^18.4.0",
|
|
145
147
|
"@atlaskit/media-core": "^34.1.0",
|
|
146
148
|
"@atlaskit/util-data-test": "^17.8.0",
|