@atlaskit/editor-common 78.6.0 → 78.7.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 +12 -0
- package/dist/cjs/__tests_external__/page-objects/EditorSmartLink.js +1 -1
- package/dist/cjs/element-browser/components/ElementList/EmptyState.js +26 -7
- package/dist/cjs/extensibility/Extension.js +4 -2
- package/dist/cjs/extensibility/ExtensionComponent.js +8 -4
- package/dist/cjs/extensibility/MultiBodiedExtension/index.js +6 -4
- package/dist/cjs/extensibility/extensionNodeView.js +5 -3
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/preset/plugin-injection-api.js +1 -1
- package/dist/cjs/quick-insert/messages.js +5 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/utils/index.js +6 -0
- package/dist/es2019/__tests_external__/page-objects/EditorSmartLink.js +0 -1
- package/dist/es2019/element-browser/components/ElementList/EmptyState.js +25 -24
- package/dist/es2019/extensibility/Extension.js +4 -2
- package/dist/es2019/extensibility/ExtensionComponent.js +9 -6
- package/dist/es2019/extensibility/MultiBodiedExtension/index.js +7 -11
- package/dist/es2019/extensibility/extensionNodeView.js +5 -3
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/preset/plugin-injection-api.js +1 -1
- package/dist/es2019/quick-insert/messages.js +5 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/utils/index.js +1 -1
- package/dist/esm/__tests_external__/page-objects/EditorSmartLink.js +0 -1
- package/dist/esm/element-browser/components/ElementList/EmptyState.js +25 -7
- package/dist/esm/extensibility/Extension.js +4 -2
- package/dist/esm/extensibility/ExtensionComponent.js +9 -6
- package/dist/esm/extensibility/MultiBodiedExtension/index.js +6 -4
- package/dist/esm/extensibility/extensionNodeView.js +5 -3
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/preset/plugin-injection-api.js +1 -1
- package/dist/esm/quick-insert/messages.js +5 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/utils/index.js +1 -1
- package/dist/types/__tests_external__/cases/fundamentals/collection.d.ts +1 -1
- package/dist/types/__tests_external__/cases/fundamentals/test-cases/editor-is-present.d.ts +1 -1
- package/dist/types/__tests_external__/cases/fundamentals/test-cases/editor-typing.d.ts +1 -1
- package/dist/types/__tests_external__/cases/smart-links/test-cases/block/delete.d.ts +1 -1
- package/dist/types/__tests_external__/cases/smart-links/test-cases/block/edit.d.ts +1 -1
- package/dist/types/__tests_external__/cases/smart-links/test-cases/block/index.d.ts +1 -1
- package/dist/types/__tests_external__/cases/smart-links/test-cases/block/insert.d.ts +1 -1
- package/dist/types/__tests_external__/cases/smart-links/test-cases/embed/delete.d.ts +1 -1
- package/dist/types/__tests_external__/cases/smart-links/test-cases/embed/edit.d.ts +1 -1
- package/dist/types/__tests_external__/cases/smart-links/test-cases/embed/index.d.ts +1 -1
- package/dist/types/__tests_external__/cases/smart-links/test-cases/embed/insert.d.ts +1 -1
- package/dist/types/__tests_external__/cases/smart-links/test-cases/inline/delete.d.ts +1 -1
- package/dist/types/__tests_external__/cases/smart-links/test-cases/inline/edit.d.ts +1 -1
- package/dist/types/__tests_external__/cases/smart-links/test-cases/inline/index.d.ts +1 -1
- package/dist/types/__tests_external__/cases/smart-links/test-cases/inline/insert.d.ts +1 -1
- package/dist/types/__tests_external__/cases/smart-links/test-cases/inline/unlink.d.ts +1 -1
- package/dist/types/__tests_external__/cases/smart-links/test-cases/types.d.ts +1 -1
- package/dist/types/__tests_external__/cases/smart-links/test-cases/url/index.d.ts +1 -1
- package/dist/types/__tests_external__/cases/smart-links/test-cases/url/insert.d.ts +1 -1
- package/dist/types/__tests_external__/page-objects/Editor.d.ts +1 -1
- package/dist/types/extensibility/Extension/Extension/index.d.ts +1 -0
- package/dist/types/extensibility/Extension/InlineExtension/index.d.ts +1 -0
- package/dist/types/extensibility/Extension.d.ts +1 -0
- package/dist/types/extensibility/ExtensionComponent.d.ts +1 -0
- package/dist/types/extensibility/MultiBodiedExtension/index.d.ts +1 -0
- package/dist/types/extensibility/extensionNodeView.d.ts +2 -1
- package/dist/types/preset/plugin-injection-api.d.ts +1 -1
- package/dist/types/quick-insert/messages.d.ts +5 -0
- package/dist/types/utils/index.d.ts +1 -1
- package/dist/types-ts4.5/__tests_external__/cases/fundamentals/collection.d.ts +1 -1
- package/dist/types-ts4.5/__tests_external__/cases/fundamentals/test-cases/editor-is-present.d.ts +1 -1
- package/dist/types-ts4.5/__tests_external__/cases/fundamentals/test-cases/editor-typing.d.ts +1 -1
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/block/delete.d.ts +1 -1
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/block/edit.d.ts +1 -1
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/block/index.d.ts +1 -1
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/block/insert.d.ts +1 -1
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/embed/delete.d.ts +1 -1
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/embed/edit.d.ts +1 -1
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/embed/index.d.ts +1 -1
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/embed/insert.d.ts +1 -1
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/inline/delete.d.ts +1 -1
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/inline/edit.d.ts +1 -1
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/inline/index.d.ts +1 -1
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/inline/insert.d.ts +1 -1
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/inline/unlink.d.ts +1 -1
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/types.d.ts +1 -1
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/url/index.d.ts +1 -1
- package/dist/types-ts4.5/__tests_external__/cases/smart-links/test-cases/url/insert.d.ts +1 -1
- package/dist/types-ts4.5/__tests_external__/page-objects/Editor.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/Extension/Extension/index.d.ts +1 -0
- package/dist/types-ts4.5/extensibility/Extension/InlineExtension/index.d.ts +1 -0
- package/dist/types-ts4.5/extensibility/Extension.d.ts +1 -0
- package/dist/types-ts4.5/extensibility/ExtensionComponent.d.ts +1 -0
- package/dist/types-ts4.5/extensibility/MultiBodiedExtension/index.d.ts +1 -0
- package/dist/types-ts4.5/extensibility/extensionNodeView.d.ts +2 -1
- package/dist/types-ts4.5/preset/plugin-injection-api.d.ts +1 -1
- package/dist/types-ts4.5/quick-insert/messages.d.ts +5 -0
- package/dist/types-ts4.5/utils/index.d.ts +1 -1
- package/package.json +4 -4
- package/tsconfig.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 78.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#76370](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/76370) [`6e7d6bc06b91`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6e7d6bc06b91) - Passes Confluence experiment flag to extensions for new macro visual design project
|
|
8
|
+
|
|
9
|
+
## 78.6.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#74886](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74886) [`5b79ded33f58`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5b79ded33f58) - [EDF-324] Element Browser now has a separate categories for ai config items
|
|
14
|
+
|
|
3
15
|
## 78.6.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -15,7 +15,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
15
15
|
var _inProductTesting = require("@atlaskit/in-product-testing");
|
|
16
16
|
var _inProduct = require("@atlaskit/smart-card/in-product");
|
|
17
17
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
18
|
-
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; } }
|
|
18
|
+
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; } }
|
|
19
19
|
var EditorSmartLinkPageObject = exports.EditorSmartLinkPageObject = /*#__PURE__*/function (_InProductTestPageObj) {
|
|
20
20
|
(0, _inherits2.default)(EditorSmartLinkPageObject, _InProductTestPageObj);
|
|
21
21
|
var _super = _createSuper(EditorSmartLinkPageObject);
|
|
@@ -5,17 +5,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = EmptyState;
|
|
8
|
-
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
9
8
|
var _react = require("@emotion/react");
|
|
10
9
|
var _reactIntlNext = require("react-intl-next");
|
|
11
10
|
var _button = _interopRequireDefault(require("@atlaskit/button"));
|
|
12
11
|
var _NotFoundIllustration = _interopRequireDefault(require("./NotFoundIllustration"));
|
|
13
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
14
12
|
/** @jsx jsx */
|
|
13
|
+
|
|
15
14
|
function EmptyState(_ref) {
|
|
16
15
|
var onExternalLinkClick = _ref.onExternalLinkClick;
|
|
17
16
|
return (0, _react.jsx)("div", {
|
|
18
|
-
css: emptyStateWrapper
|
|
17
|
+
css: emptyStateWrapper,
|
|
18
|
+
"data-testid": "empty-state-wrapper"
|
|
19
19
|
}, (0, _react.jsx)(_NotFoundIllustration.default, null), (0, _react.jsx)("div", {
|
|
20
20
|
css: emptyStateHeading
|
|
21
21
|
}, (0, _react.jsx)(_reactIntlNext.FormattedMessage, {
|
|
@@ -41,7 +41,26 @@ function EmptyState(_ref) {
|
|
|
41
41
|
description: "Empty state sub-heading external link"
|
|
42
42
|
})))));
|
|
43
43
|
}
|
|
44
|
-
var emptyStateHeading = (0, _react.css)(
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
var
|
|
44
|
+
var emptyStateHeading = (0, _react.css)({
|
|
45
|
+
fontSize: '1.42857em',
|
|
46
|
+
lineHeight: 1.2,
|
|
47
|
+
color: "var(--ds-text, rgb(23, 43, 77))",
|
|
48
|
+
fontWeight: 500,
|
|
49
|
+
letterSpacing: '-0.008em',
|
|
50
|
+
marginTop: '28px'
|
|
51
|
+
});
|
|
52
|
+
var emptyStateSubHeading = (0, _react.css)({
|
|
53
|
+
marginTop: "var(--ds-space-200, 16px)",
|
|
54
|
+
maxWidth: '400px',
|
|
55
|
+
textAlign: 'center'
|
|
56
|
+
});
|
|
57
|
+
var emptyStateWrapper = (0, _react.css)({
|
|
58
|
+
display: 'flex',
|
|
59
|
+
flexDirection: 'column',
|
|
60
|
+
justifyContent: 'center',
|
|
61
|
+
alignItems: 'center',
|
|
62
|
+
width: '100%'
|
|
63
|
+
});
|
|
64
|
+
var externalLinkWrapper = (0, _react.css)({
|
|
65
|
+
marginTop: '14px'
|
|
66
|
+
});
|
|
@@ -38,7 +38,8 @@ var Extension = exports.Extension = /*#__PURE__*/function (_Component) {
|
|
|
38
38
|
references = _this$props.references,
|
|
39
39
|
editorAppearance = _this$props.editorAppearance,
|
|
40
40
|
pluginInjectionApi = _this$props.pluginInjectionApi,
|
|
41
|
-
eventDispatcher = _this$props.eventDispatcher
|
|
41
|
+
eventDispatcher = _this$props.eventDispatcher,
|
|
42
|
+
showMacroInteractionDesignUpdates = _this$props.showMacroInteractionDesignUpdates;
|
|
42
43
|
return /*#__PURE__*/_react.default.createElement(_ExtensionComponent.ExtensionComponent, {
|
|
43
44
|
editorView: editorView,
|
|
44
45
|
node: node,
|
|
@@ -49,7 +50,8 @@ var Extension = exports.Extension = /*#__PURE__*/function (_Component) {
|
|
|
49
50
|
extensionHandlers: extensionHandlers,
|
|
50
51
|
editorAppearance: editorAppearance,
|
|
51
52
|
pluginInjectionApi: pluginInjectionApi,
|
|
52
|
-
eventDispatcher: eventDispatcher
|
|
53
|
+
eventDispatcher: eventDispatcher,
|
|
54
|
+
showMacroInteractionDesignUpdates: showMacroInteractionDesignUpdates
|
|
53
55
|
});
|
|
54
56
|
});
|
|
55
57
|
_this.providerFactory = props.providerFactory || new _providerFactory.ProviderFactory();
|
|
@@ -193,7 +193,8 @@ var ExtensionComponent = exports.ExtensionComponent = /*#__PURE__*/function (_Co
|
|
|
193
193
|
editorAppearance = _this$props2.editorAppearance,
|
|
194
194
|
pluginInjectionApi = _this$props2.pluginInjectionApi,
|
|
195
195
|
getPos = _this$props2.getPos,
|
|
196
|
-
eventDispatcher = _this$props2.eventDispatcher
|
|
196
|
+
eventDispatcher = _this$props2.eventDispatcher,
|
|
197
|
+
showMacroInteractionDesignUpdates = _this$props2.showMacroInteractionDesignUpdates;
|
|
197
198
|
if (node.type.name === 'multiBodiedExtension') {
|
|
198
199
|
return /*#__PURE__*/_react.default.createElement(_MultiBodiedExtension.default, {
|
|
199
200
|
node: node,
|
|
@@ -203,7 +204,8 @@ var ExtensionComponent = exports.ExtensionComponent = /*#__PURE__*/function (_Co
|
|
|
203
204
|
tryExtensionHandler: this.tryExtensionHandler.bind(this),
|
|
204
205
|
eventDispatcher: eventDispatcher,
|
|
205
206
|
pluginInjectionApi: pluginInjectionApi,
|
|
206
|
-
editorAppearance: editorAppearance
|
|
207
|
+
editorAppearance: editorAppearance,
|
|
208
|
+
showMacroInteractionDesignUpdates: showMacroInteractionDesignUpdates
|
|
207
209
|
});
|
|
208
210
|
}
|
|
209
211
|
var extensionHandlerResult = this.tryExtensionHandler(undefined);
|
|
@@ -219,11 +221,13 @@ var ExtensionComponent = exports.ExtensionComponent = /*#__PURE__*/function (_Co
|
|
|
219
221
|
view: editorView,
|
|
220
222
|
editorAppearance: editorAppearance,
|
|
221
223
|
hideFrame: (_this$state$_privateP = this.state._privateProps) === null || _this$state$_privateP === void 0 ? void 0 : _this$state$_privateP.__hideFrame,
|
|
222
|
-
pluginInjectionApi: pluginInjectionApi
|
|
224
|
+
pluginInjectionApi: pluginInjectionApi,
|
|
225
|
+
showMacroInteractionDesignUpdates: showMacroInteractionDesignUpdates
|
|
223
226
|
}, extensionHandlerResult);
|
|
224
227
|
case 'inlineExtension':
|
|
225
228
|
return /*#__PURE__*/_react.default.createElement(_InlineExtension.default, {
|
|
226
|
-
node: node
|
|
229
|
+
node: node,
|
|
230
|
+
showMacroInteractionDesignUpdates: showMacroInteractionDesignUpdates
|
|
227
231
|
}, extensionHandlerResult);
|
|
228
232
|
default:
|
|
229
233
|
return null;
|
|
@@ -7,9 +7,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.default = void 0;
|
|
9
9
|
var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
|
|
10
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
10
11
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
11
12
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
12
|
-
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
13
13
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
14
14
|
var _react = _interopRequireWildcard(require("react"));
|
|
15
15
|
var _react2 = require("@emotion/react");
|
|
@@ -21,7 +21,6 @@ var _utils = require("../../utils");
|
|
|
21
21
|
var _withPluginState = require("../../with-plugin-state");
|
|
22
22
|
var _actionApi = require("./action-api");
|
|
23
23
|
var _styles = require("./styles");
|
|
24
|
-
var _templateObject, _templateObject2;
|
|
25
24
|
var _excluded = ["url"];
|
|
26
25
|
/* eslint-disable @atlaskit/design-system/prefer-primitives */
|
|
27
26
|
/** @jsx jsx */
|
|
@@ -35,7 +34,10 @@ var getWrapperTitleContent = function getWrapperTitleContent(imageData, title) {
|
|
|
35
34
|
return (0, _react2.jsx)("div", {
|
|
36
35
|
className: "extension-title"
|
|
37
36
|
}, (0, _react2.jsx)("img", (0, _extends2.default)({
|
|
38
|
-
css: (0, _react2.css)(
|
|
37
|
+
css: (0, _react2.css)({
|
|
38
|
+
maxHeight: '24px',
|
|
39
|
+
maxWidth: '24px'
|
|
40
|
+
}),
|
|
39
41
|
src: url
|
|
40
42
|
}, rest, {
|
|
41
43
|
alt: title
|
|
@@ -90,7 +92,7 @@ var MultiBodiedExtensionWithWidth = function MultiBodiedExtensionWithWidth(_ref)
|
|
|
90
92
|
var articleRef = _react.default.useCallback(function (node) {
|
|
91
93
|
return handleContentDOMRef(node);
|
|
92
94
|
}, [handleContentDOMRef]);
|
|
93
|
-
var containerCssExtended = (0, _react2.css)(
|
|
95
|
+
var containerCssExtended = (0, _react2.css)(_MultiBodiedExtension.sharedMultiBodiedExtensionStyles.mbeExtensionContainer, (0, _defineProperty2.default)({}, ".multiBodiedExtension-content-dom-wrapper > [data-extension-frame='true']:nth-of-type(".concat(activeChildIndex + 1, ")"), _MultiBodiedExtension.sharedMultiBodiedExtensionStyles.extensionFrameContent));
|
|
94
96
|
var shouldBreakout =
|
|
95
97
|
// Extension should breakout when the layout is set to 'full-width' or 'wide'.
|
|
96
98
|
['full-width', 'wide'].includes(node.attrs.layout) &&
|
|
@@ -72,20 +72,22 @@ var ExtensionNode = exports.ExtensionNode = /*#__PURE__*/function (_ReactNodeVie
|
|
|
72
72
|
handleContentDOMRef: forwardRef,
|
|
73
73
|
extensionHandlers: props.extensionHandlers,
|
|
74
74
|
editorAppearance: (_props$extensionNodeV = props.extensionNodeViewOptions) === null || _props$extensionNodeV === void 0 ? void 0 : _props$extensionNodeV.appearance,
|
|
75
|
-
pluginInjectionApi: props.pluginInjectionApi
|
|
75
|
+
pluginInjectionApi: props.pluginInjectionApi,
|
|
76
|
+
showMacroInteractionDesignUpdates: props.showMacroInteractionDesignUpdates
|
|
76
77
|
}));
|
|
77
78
|
}
|
|
78
79
|
}]);
|
|
79
80
|
return ExtensionNode;
|
|
80
81
|
}(_reactNodeView.default);
|
|
81
|
-
function ExtensionNodeView(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi) {
|
|
82
|
+
function ExtensionNodeView(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, showMacroInteractionDesignUpdates) {
|
|
82
83
|
return function (node, view, getPos) {
|
|
83
84
|
var hasIntlContext = true;
|
|
84
85
|
return new ExtensionNode(node, view, getPos, portalProviderAPI, eventDispatcher, {
|
|
85
86
|
providerFactory: providerFactory,
|
|
86
87
|
extensionHandlers: extensionHandlers,
|
|
87
88
|
extensionNodeViewOptions: extensionNodeViewOptions,
|
|
88
|
-
pluginInjectionApi: pluginInjectionApi
|
|
89
|
+
pluginInjectionApi: pluginInjectionApi,
|
|
90
|
+
showMacroInteractionDesignUpdates: showMacroInteractionDesignUpdates
|
|
89
91
|
}, undefined, undefined, undefined, hasIntlContext).init();
|
|
90
92
|
};
|
|
91
93
|
}
|
|
@@ -16,7 +16,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
16
16
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
17
17
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
18
18
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
19
|
-
var packageVersion = "78.
|
|
19
|
+
var packageVersion = "78.7.0";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -262,7 +262,7 @@ var EditorPluginInjectionAPI = exports.EditorPluginInjectionAPI = /*#__PURE__*/f
|
|
|
262
262
|
// For some reason in some tests we have duplicates that are missed.
|
|
263
263
|
// To follow-up in ED-19611
|
|
264
264
|
if (plugin.name === 'core' && _this2.plugins.has(plugin.name)) {
|
|
265
|
-
throw new Error("Plugin ".concat(plugin.name, " has already been initialised in the Editor API
|
|
265
|
+
throw new Error("Plugin ".concat(plugin.name, " has already been initialised in the Editor API!\n There cannot be duplicate plugins or you will have unexpected behaviour"));
|
|
266
266
|
}
|
|
267
267
|
_this2.plugins.set(plugin.name, plugin);
|
|
268
268
|
});
|
|
@@ -65,5 +65,10 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
65
65
|
id: 'fabric.editor.elementbrowser.categorylist.category-development',
|
|
66
66
|
defaultMessage: 'Development',
|
|
67
67
|
description: 'development'
|
|
68
|
+
},
|
|
69
|
+
AI: {
|
|
70
|
+
id: 'fabric.editor.elementbrowser.categorylist.category-ai',
|
|
71
|
+
defaultMessage: 'Atlassian Intelligence',
|
|
72
|
+
description: 'AI'
|
|
68
73
|
}
|
|
69
74
|
});
|
|
@@ -22,7 +22,7 @@ var _templateObject, _templateObject2, _templateObject3;
|
|
|
22
22
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
23
23
|
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; } } /** @jsx jsx */
|
|
24
24
|
var packageName = "@atlaskit/editor-common";
|
|
25
|
-
var packageVersion = "78.
|
|
25
|
+
var packageVersion = "78.7.0";
|
|
26
26
|
var halfFocusRing = 1;
|
|
27
27
|
var dropOffset = '0, 8';
|
|
28
28
|
var DropList = /*#__PURE__*/function (_Component) {
|
package/dist/cjs/utils/index.js
CHANGED
|
@@ -52,6 +52,12 @@ Object.defineProperty(exports, "LinkMatcher", {
|
|
|
52
52
|
return _hyperlink.LinkMatcher;
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
|
+
Object.defineProperty(exports, "PROFILER_KEY", {
|
|
56
|
+
enumerable: true,
|
|
57
|
+
get: function get() {
|
|
58
|
+
return _renderCount.PROFILER_KEY;
|
|
59
|
+
}
|
|
60
|
+
});
|
|
55
61
|
Object.defineProperty(exports, "RenderCountProfiler", {
|
|
56
62
|
enumerable: true,
|
|
57
63
|
get: function get() {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import { InProductTestPageObject } from '@atlaskit/in-product-testing';
|
|
3
|
-
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
4
3
|
import { BlockCardPageObject, EmbedCardPageObject, InlineCardPageObject } from '@atlaskit/smart-card/in-product';
|
|
5
4
|
export class EditorSmartLinkPageObject extends InProductTestPageObject {
|
|
6
5
|
constructor(cy, editor) {
|
|
@@ -7,7 +7,8 @@ export default function EmptyState({
|
|
|
7
7
|
onExternalLinkClick
|
|
8
8
|
}) {
|
|
9
9
|
return jsx("div", {
|
|
10
|
-
css: emptyStateWrapper
|
|
10
|
+
css: emptyStateWrapper,
|
|
11
|
+
"data-testid": "empty-state-wrapper"
|
|
11
12
|
}, jsx(NotFoundIllustration, null), jsx("div", {
|
|
12
13
|
css: emptyStateHeading
|
|
13
14
|
}, jsx(FormattedMessage, {
|
|
@@ -33,26 +34,26 @@ export default function EmptyState({
|
|
|
33
34
|
description: "Empty state sub-heading external link"
|
|
34
35
|
})))));
|
|
35
36
|
}
|
|
36
|
-
const emptyStateHeading = css
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
color:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
const emptyStateSubHeading = css
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
const emptyStateWrapper = css
|
|
50
|
-
display: flex
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
width: 100
|
|
55
|
-
|
|
56
|
-
const externalLinkWrapper = css
|
|
57
|
-
|
|
58
|
-
|
|
37
|
+
const emptyStateHeading = css({
|
|
38
|
+
fontSize: '1.42857em',
|
|
39
|
+
lineHeight: 1.2,
|
|
40
|
+
color: "var(--ds-text, rgb(23, 43, 77))",
|
|
41
|
+
fontWeight: 500,
|
|
42
|
+
letterSpacing: '-0.008em',
|
|
43
|
+
marginTop: '28px'
|
|
44
|
+
});
|
|
45
|
+
const emptyStateSubHeading = css({
|
|
46
|
+
marginTop: "var(--ds-space-200, 16px)",
|
|
47
|
+
maxWidth: '400px',
|
|
48
|
+
textAlign: 'center'
|
|
49
|
+
});
|
|
50
|
+
const emptyStateWrapper = css({
|
|
51
|
+
display: 'flex',
|
|
52
|
+
flexDirection: 'column',
|
|
53
|
+
justifyContent: 'center',
|
|
54
|
+
alignItems: 'center',
|
|
55
|
+
width: '100%'
|
|
56
|
+
});
|
|
57
|
+
const externalLinkWrapper = css({
|
|
58
|
+
marginTop: '14px'
|
|
59
|
+
});
|
|
@@ -17,7 +17,8 @@ export class Extension extends Component {
|
|
|
17
17
|
references,
|
|
18
18
|
editorAppearance,
|
|
19
19
|
pluginInjectionApi,
|
|
20
|
-
eventDispatcher
|
|
20
|
+
eventDispatcher,
|
|
21
|
+
showMacroInteractionDesignUpdates
|
|
21
22
|
} = this.props;
|
|
22
23
|
return /*#__PURE__*/React.createElement(ExtensionComponent, {
|
|
23
24
|
editorView: editorView,
|
|
@@ -29,7 +30,8 @@ export class Extension extends Component {
|
|
|
29
30
|
extensionHandlers: extensionHandlers,
|
|
30
31
|
editorAppearance: editorAppearance,
|
|
31
32
|
pluginInjectionApi: pluginInjectionApi,
|
|
32
|
-
eventDispatcher: eventDispatcher
|
|
33
|
+
eventDispatcher: eventDispatcher,
|
|
34
|
+
showMacroInteractionDesignUpdates: showMacroInteractionDesignUpdates
|
|
33
35
|
});
|
|
34
36
|
});
|
|
35
37
|
this.providerFactory = props.providerFactory || new ProviderFactory();
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { Component } from 'react';
|
|
2
|
+
import React, { Component } from 'react';
|
|
4
3
|
import memoizeOne from 'memoize-one';
|
|
5
4
|
import { getExtensionModuleNodePrivateProps, getNodeRenderer } from '../extensions';
|
|
6
5
|
import { getExtensionRenderer } from '../utils';
|
|
@@ -146,7 +145,8 @@ export class ExtensionComponent extends Component {
|
|
|
146
145
|
editorAppearance,
|
|
147
146
|
pluginInjectionApi,
|
|
148
147
|
getPos,
|
|
149
|
-
eventDispatcher
|
|
148
|
+
eventDispatcher,
|
|
149
|
+
showMacroInteractionDesignUpdates
|
|
150
150
|
} = this.props;
|
|
151
151
|
if (node.type.name === 'multiBodiedExtension') {
|
|
152
152
|
return /*#__PURE__*/React.createElement(MultiBodiedExtension, {
|
|
@@ -157,7 +157,8 @@ export class ExtensionComponent extends Component {
|
|
|
157
157
|
tryExtensionHandler: this.tryExtensionHandler.bind(this),
|
|
158
158
|
eventDispatcher: eventDispatcher,
|
|
159
159
|
pluginInjectionApi: pluginInjectionApi,
|
|
160
|
-
editorAppearance: editorAppearance
|
|
160
|
+
editorAppearance: editorAppearance,
|
|
161
|
+
showMacroInteractionDesignUpdates: showMacroInteractionDesignUpdates
|
|
161
162
|
});
|
|
162
163
|
}
|
|
163
164
|
const extensionHandlerResult = this.tryExtensionHandler(undefined);
|
|
@@ -173,11 +174,13 @@ export class ExtensionComponent extends Component {
|
|
|
173
174
|
view: editorView,
|
|
174
175
|
editorAppearance: editorAppearance,
|
|
175
176
|
hideFrame: (_this$state$_privateP = this.state._privateProps) === null || _this$state$_privateP === void 0 ? void 0 : _this$state$_privateP.__hideFrame,
|
|
176
|
-
pluginInjectionApi: pluginInjectionApi
|
|
177
|
+
pluginInjectionApi: pluginInjectionApi,
|
|
178
|
+
showMacroInteractionDesignUpdates: showMacroInteractionDesignUpdates
|
|
177
179
|
}, extensionHandlerResult);
|
|
178
180
|
case 'inlineExtension':
|
|
179
181
|
return /*#__PURE__*/React.createElement(InlineExtension, {
|
|
180
|
-
node: node
|
|
182
|
+
node: node,
|
|
183
|
+
showMacroInteractionDesignUpdates: showMacroInteractionDesignUpdates
|
|
181
184
|
}, extensionHandlerResult);
|
|
182
185
|
default:
|
|
183
186
|
return null;
|
|
@@ -22,10 +22,10 @@ const getWrapperTitleContent = (imageData, title) => {
|
|
|
22
22
|
return jsx("div", {
|
|
23
23
|
className: "extension-title"
|
|
24
24
|
}, jsx("img", _extends({
|
|
25
|
-
css: css
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
25
|
+
css: css({
|
|
26
|
+
maxHeight: '24px',
|
|
27
|
+
maxWidth: '24px'
|
|
28
|
+
}),
|
|
29
29
|
src: url
|
|
30
30
|
}, rest, {
|
|
31
31
|
alt: title
|
|
@@ -79,13 +79,9 @@ const MultiBodiedExtensionWithWidth = ({
|
|
|
79
79
|
const articleRef = React.useCallback(node => {
|
|
80
80
|
return handleContentDOMRef(node);
|
|
81
81
|
}, [handleContentDOMRef]);
|
|
82
|
-
const containerCssExtended = css
|
|
83
|
-
${sharedMultiBodiedExtensionStyles.
|
|
84
|
-
|
|
85
|
-
> [data-extension-frame='true']:nth-of-type(${activeChildIndex + 1}) {
|
|
86
|
-
${sharedMultiBodiedExtensionStyles.extensionFrameContent}
|
|
87
|
-
}
|
|
88
|
-
`;
|
|
82
|
+
const containerCssExtended = css(sharedMultiBodiedExtensionStyles.mbeExtensionContainer, {
|
|
83
|
+
[`.multiBodiedExtension-content-dom-wrapper > [data-extension-frame='true']:nth-of-type(${activeChildIndex + 1})`]: sharedMultiBodiedExtensionStyles.extensionFrameContent
|
|
84
|
+
});
|
|
89
85
|
const shouldBreakout =
|
|
90
86
|
// Extension should breakout when the layout is set to 'full-width' or 'wide'.
|
|
91
87
|
['full-width', 'wide'].includes(node.attrs.layout) &&
|
|
@@ -45,18 +45,20 @@ export class ExtensionNode extends ReactNodeView {
|
|
|
45
45
|
handleContentDOMRef: forwardRef,
|
|
46
46
|
extensionHandlers: props.extensionHandlers,
|
|
47
47
|
editorAppearance: (_props$extensionNodeV = props.extensionNodeViewOptions) === null || _props$extensionNodeV === void 0 ? void 0 : _props$extensionNodeV.appearance,
|
|
48
|
-
pluginInjectionApi: props.pluginInjectionApi
|
|
48
|
+
pluginInjectionApi: props.pluginInjectionApi,
|
|
49
|
+
showMacroInteractionDesignUpdates: props.showMacroInteractionDesignUpdates
|
|
49
50
|
}));
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
|
-
export default function ExtensionNodeView(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi) {
|
|
53
|
+
export default function ExtensionNodeView(portalProviderAPI, eventDispatcher, providerFactory, extensionHandlers, extensionNodeViewOptions, pluginInjectionApi, showMacroInteractionDesignUpdates) {
|
|
53
54
|
return (node, view, getPos) => {
|
|
54
55
|
const hasIntlContext = true;
|
|
55
56
|
return new ExtensionNode(node, view, getPos, portalProviderAPI, eventDispatcher, {
|
|
56
57
|
providerFactory,
|
|
57
58
|
extensionHandlers,
|
|
58
59
|
extensionNodeViewOptions,
|
|
59
|
-
pluginInjectionApi
|
|
60
|
+
pluginInjectionApi,
|
|
61
|
+
showMacroInteractionDesignUpdates
|
|
60
62
|
}, undefined, undefined, undefined, hasIntlContext).init();
|
|
61
63
|
};
|
|
62
64
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
2
2
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
3
|
-
const packageVersion = "78.
|
|
3
|
+
const packageVersion = "78.7.0";
|
|
4
4
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
5
5
|
// Remove URL as it has UGC
|
|
6
6
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -182,7 +182,7 @@ export class EditorPluginInjectionAPI {
|
|
|
182
182
|
// For some reason in some tests we have duplicates that are missed.
|
|
183
183
|
// To follow-up in ED-19611
|
|
184
184
|
if (plugin.name === 'core' && this.plugins.has(plugin.name)) {
|
|
185
|
-
throw new Error(`Plugin ${plugin.name} has already been initialised in the Editor API!
|
|
185
|
+
throw new Error(`Plugin ${plugin.name} has already been initialised in the Editor API!
|
|
186
186
|
There cannot be duplicate plugins or you will have unexpected behaviour`);
|
|
187
187
|
}
|
|
188
188
|
this.plugins.set(plugin.name, plugin);
|
|
@@ -59,5 +59,10 @@ export const messages = defineMessages({
|
|
|
59
59
|
id: 'fabric.editor.elementbrowser.categorylist.category-development',
|
|
60
60
|
defaultMessage: 'Development',
|
|
61
61
|
description: 'development'
|
|
62
|
+
},
|
|
63
|
+
AI: {
|
|
64
|
+
id: 'fabric.editor.elementbrowser.categorylist.category-ai',
|
|
65
|
+
defaultMessage: 'Atlassian Intelligence',
|
|
66
|
+
description: 'AI'
|
|
62
67
|
}
|
|
63
68
|
});
|
|
@@ -7,7 +7,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
7
7
|
import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
8
8
|
import Layer from '../Layer';
|
|
9
9
|
const packageName = "@atlaskit/editor-common";
|
|
10
|
-
const packageVersion = "78.
|
|
10
|
+
const packageVersion = "78.7.0";
|
|
11
11
|
const halfFocusRing = 1;
|
|
12
12
|
const dropOffset = '0, 8';
|
|
13
13
|
class DropList extends Component {
|
|
@@ -31,7 +31,7 @@ export { shouldForceTracking } from './should-force-tracking';
|
|
|
31
31
|
export { getModeFromTheme } from './getModeFromTheme';
|
|
32
32
|
export { getPerformanceOptions, startMeasureReactNodeViewRendered, stopMeasureReactNodeViewRendered } from './get-performance-options';
|
|
33
33
|
export { sniffUserBrowserExtensions } from './browser-extensions';
|
|
34
|
-
export { RenderCountProfiler } from './profiler/render-count';
|
|
34
|
+
export { RenderCountProfiler, PROFILER_KEY } from './profiler/render-count';
|
|
35
35
|
export { validateADFEntity, validationErrorHandler } from './validate-using-spec';
|
|
36
36
|
export { getShallowPropsDifference, getPropsDifference } from './compare-props';
|
|
37
37
|
export { useComponentRenderTracking } from './performance/hooks/use-component-render-tracking';
|
|
@@ -8,7 +8,6 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
8
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
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
10
|
import { InProductTestPageObject } from '@atlaskit/in-product-testing';
|
|
11
|
-
// eslint-disable-next-line import/no-extraneous-dependencies
|
|
12
11
|
import { BlockCardPageObject, EmbedCardPageObject, InlineCardPageObject } from '@atlaskit/smart-card/in-product';
|
|
13
12
|
export var EditorSmartLinkPageObject = /*#__PURE__*/function (_InProductTestPageObj) {
|
|
14
13
|
_inherits(EditorSmartLinkPageObject, _InProductTestPageObj);
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
3
1
|
/** @jsx jsx */
|
|
4
2
|
import { css, jsx } from '@emotion/react';
|
|
5
3
|
import { FormattedMessage } from 'react-intl-next';
|
|
@@ -8,7 +6,8 @@ import NotFoundIllustration from './NotFoundIllustration';
|
|
|
8
6
|
export default function EmptyState(_ref) {
|
|
9
7
|
var onExternalLinkClick = _ref.onExternalLinkClick;
|
|
10
8
|
return jsx("div", {
|
|
11
|
-
css: emptyStateWrapper
|
|
9
|
+
css: emptyStateWrapper,
|
|
10
|
+
"data-testid": "empty-state-wrapper"
|
|
12
11
|
}, jsx(NotFoundIllustration, null), jsx("div", {
|
|
13
12
|
css: emptyStateHeading
|
|
14
13
|
}, jsx(FormattedMessage, {
|
|
@@ -34,7 +33,26 @@ export default function EmptyState(_ref) {
|
|
|
34
33
|
description: "Empty state sub-heading external link"
|
|
35
34
|
})))));
|
|
36
35
|
}
|
|
37
|
-
var emptyStateHeading = css(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
var
|
|
36
|
+
var emptyStateHeading = css({
|
|
37
|
+
fontSize: '1.42857em',
|
|
38
|
+
lineHeight: 1.2,
|
|
39
|
+
color: "var(--ds-text, rgb(23, 43, 77))",
|
|
40
|
+
fontWeight: 500,
|
|
41
|
+
letterSpacing: '-0.008em',
|
|
42
|
+
marginTop: '28px'
|
|
43
|
+
});
|
|
44
|
+
var emptyStateSubHeading = css({
|
|
45
|
+
marginTop: "var(--ds-space-200, 16px)",
|
|
46
|
+
maxWidth: '400px',
|
|
47
|
+
textAlign: 'center'
|
|
48
|
+
});
|
|
49
|
+
var emptyStateWrapper = css({
|
|
50
|
+
display: 'flex',
|
|
51
|
+
flexDirection: 'column',
|
|
52
|
+
justifyContent: 'center',
|
|
53
|
+
alignItems: 'center',
|
|
54
|
+
width: '100%'
|
|
55
|
+
});
|
|
56
|
+
var externalLinkWrapper = css({
|
|
57
|
+
marginTop: '14px'
|
|
58
|
+
});
|
|
@@ -28,7 +28,8 @@ export var Extension = /*#__PURE__*/function (_Component) {
|
|
|
28
28
|
references = _this$props.references,
|
|
29
29
|
editorAppearance = _this$props.editorAppearance,
|
|
30
30
|
pluginInjectionApi = _this$props.pluginInjectionApi,
|
|
31
|
-
eventDispatcher = _this$props.eventDispatcher
|
|
31
|
+
eventDispatcher = _this$props.eventDispatcher,
|
|
32
|
+
showMacroInteractionDesignUpdates = _this$props.showMacroInteractionDesignUpdates;
|
|
32
33
|
return /*#__PURE__*/React.createElement(ExtensionComponent, {
|
|
33
34
|
editorView: editorView,
|
|
34
35
|
node: node,
|
|
@@ -39,7 +40,8 @@ export var Extension = /*#__PURE__*/function (_Component) {
|
|
|
39
40
|
extensionHandlers: extensionHandlers,
|
|
40
41
|
editorAppearance: editorAppearance,
|
|
41
42
|
pluginInjectionApi: pluginInjectionApi,
|
|
42
|
-
eventDispatcher: eventDispatcher
|
|
43
|
+
eventDispatcher: eventDispatcher,
|
|
44
|
+
showMacroInteractionDesignUpdates: showMacroInteractionDesignUpdates
|
|
43
45
|
});
|
|
44
46
|
});
|
|
45
47
|
_this.providerFactory = props.providerFactory || new ProviderFactory();
|