@atlaskit/editor-common 110.41.10 → 110.43.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 +18 -0
- package/dist/cjs/extensibility/Extension/Extension/index.js +6 -3
- package/dist/cjs/extensibility/ExtensionComponent.js +1 -6
- package/dist/cjs/extensibility/MultiBodiedExtension/index.js +1 -1
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/extensibility/Extension/Extension/index.js +6 -3
- package/dist/es2019/extensibility/ExtensionComponent.js +1 -7
- package/dist/es2019/extensibility/MultiBodiedExtension/index.js +1 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/extensibility/Extension/Extension/index.js +6 -3
- package/dist/esm/extensibility/ExtensionComponent.js +1 -7
- package/dist/esm/extensibility/MultiBodiedExtension/index.js +1 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/extensibility/ExtensionComponent.d.ts +2 -6
- package/dist/types-ts4.5/extensibility/ExtensionComponent.d.ts +2 -6
- package/package.json +8 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 110.43.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`ffb6f2957dccf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ffb6f2957dccf) -
|
|
8
|
+
fg clean up: platform_editor_multi_body_extension_extensibility
|
|
9
|
+
|
|
10
|
+
## 110.42.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [`5f95a3d8edc0c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5f95a3d8edc0c) -
|
|
15
|
+
EDITOR-3356 fix macro renderer syle inside layout
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 110.41.10
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -36,6 +36,9 @@ var hoverStyles = (0, _react2.css)({
|
|
|
36
36
|
boxShadow: "0 0 0 1px ".concat("var(--ds-border-input, #8C8F97)")
|
|
37
37
|
}
|
|
38
38
|
});
|
|
39
|
+
var containerStyle = (0, _react2.css)({
|
|
40
|
+
containerType: 'inline-size'
|
|
41
|
+
});
|
|
39
42
|
function ExtensionWithPluginState(props) {
|
|
40
43
|
var _node$attrs;
|
|
41
44
|
var node = props.node,
|
|
@@ -188,10 +191,10 @@ function ExtensionWithPluginState(props) {
|
|
|
188
191
|
"data-testid": "extension-overflow-wrapper"
|
|
189
192
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
190
193
|
,
|
|
191
|
-
className: overflowClassNames
|
|
194
|
+
className: overflowClassNames,
|
|
195
|
+
css: [
|
|
192
196
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
193
|
-
,
|
|
194
|
-
css: _styles2.overflowWrapperStyles
|
|
197
|
+
_styles2.overflowWrapperStyles, (0, _platformFeatureFlags.fg)('platform_fix_macro_renders_in_layouts') && containerStyle]
|
|
195
198
|
}, (0, _react2.jsx)("div", {
|
|
196
199
|
className: 'extension-overlay',
|
|
197
200
|
css: _styles.overlay
|
|
@@ -20,7 +20,6 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
20
20
|
var _react = _interopRequireWildcard(require("react"));
|
|
21
21
|
var _memoizeOne = _interopRequireDefault(require("memoize-one"));
|
|
22
22
|
var _state = require("@atlaskit/editor-prosemirror/state");
|
|
23
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
24
23
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
25
24
|
var _extensions = require("../extensions");
|
|
26
25
|
var _utils = require("../utils");
|
|
@@ -33,10 +32,6 @@ var _excluded = ["extensionProvider", "showLivePagesBodiedMacrosRendererView", "
|
|
|
33
32
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
34
33
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
35
34
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
36
|
-
/* temporary type until FG cleaned up */
|
|
37
|
-
|
|
38
|
-
/* temporary type until FG cleaned up */
|
|
39
|
-
|
|
40
35
|
var getBodiedExtensionContent = function getBodiedExtensionContent(node) {
|
|
41
36
|
var bodiedExtensionContent = [];
|
|
42
37
|
node.content.forEach(function (childNode) {
|
|
@@ -246,7 +241,7 @@ var ExtensionComponentInner = /*#__PURE__*/function (_Component) {
|
|
|
246
241
|
var isNodeNested = !!(resolvedPosition && resolvedPosition.depth > 0);
|
|
247
242
|
if (node.type.name === 'multiBodiedExtension') {
|
|
248
243
|
var _this$state$_privateP;
|
|
249
|
-
var allowBodiedOverride = (
|
|
244
|
+
var allowBodiedOverride = (_this$state$_privateP = this.state._privateProps) === null || _this$state$_privateP === void 0 ? void 0 : _this$state$_privateP.__allowBodiedOverride;
|
|
250
245
|
return /*#__PURE__*/_react.default.createElement(_MultiBodiedExtension.default, {
|
|
251
246
|
node: node,
|
|
252
247
|
editorView: editorView,
|
|
@@ -206,7 +206,7 @@ var MultiBodiedExtensionWithWidth = function MultiBodiedExtensionWithWidth(_ref2
|
|
|
206
206
|
css: [
|
|
207
207
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
208
208
|
_styles.mbeExtensionWrapperCSSStyles, showMacroInteractionDesignUpdates && !isLivePageViewMode && (0, _expValEquals.expValEquals)('cc_editor_ttvc_release_bundle_one', 'extensionHoverRefactor', true) && hoverStyles],
|
|
209
|
-
"data-testid": "multiBodiedExtension--wrapper",
|
|
209
|
+
"data-testid": "multiBodiedExtension--wrapper-editor",
|
|
210
210
|
"data-layout": node.attrs.layout
|
|
211
211
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
212
212
|
,
|
|
@@ -19,7 +19,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
19
19
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
20
20
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
21
21
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
22
|
-
var packageVersion = "110.
|
|
22
|
+
var packageVersion = "110.42.0";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
24
24
|
* @jsx jsx
|
|
25
25
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
26
26
|
var packageName = "@atlaskit/editor-common";
|
|
27
|
-
var packageVersion = "110.
|
|
27
|
+
var packageVersion = "110.42.0";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -24,6 +24,9 @@ const hoverStyles = css({
|
|
|
24
24
|
boxShadow: `0 0 0 1px ${"var(--ds-border-input, #8C8F97)"}`
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
|
+
const containerStyle = css({
|
|
28
|
+
containerType: 'inline-size'
|
|
29
|
+
});
|
|
27
30
|
function ExtensionWithPluginState(props) {
|
|
28
31
|
var _node$attrs, _node$attrs$parameter, _node$attrs$parameter2, _node$attrs$parameter3;
|
|
29
32
|
const {
|
|
@@ -180,10 +183,10 @@ function ExtensionWithPluginState(props) {
|
|
|
180
183
|
"data-testid": "extension-overflow-wrapper"
|
|
181
184
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
182
185
|
,
|
|
183
|
-
className: overflowClassNames
|
|
186
|
+
className: overflowClassNames,
|
|
187
|
+
css: [
|
|
184
188
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
185
|
-
,
|
|
186
|
-
css: overflowWrapperStyles
|
|
189
|
+
overflowWrapperStyles, fg('platform_fix_macro_renders_in_layouts') && containerStyle]
|
|
187
190
|
}, jsx("div", {
|
|
188
191
|
className: 'extension-overlay',
|
|
189
192
|
css: overlay
|
|
@@ -4,7 +4,6 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
4
4
|
import React, { Component, useEffect, useLayoutEffect, useRef, useState } from 'react';
|
|
5
5
|
import memoizeOne from 'memoize-one';
|
|
6
6
|
import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
7
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
7
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
9
8
|
import { getExtensionModuleNodePrivateProps, getNodeRenderer } from '../extensions';
|
|
10
9
|
import { getExtensionRenderer, nodeToJSON, toJSON } from '../utils';
|
|
@@ -12,11 +11,6 @@ import Extension from './Extension/Extension';
|
|
|
12
11
|
import { isEmptyBodiedMacro } from './Extension/Extension/extension-utils';
|
|
13
12
|
import InlineExtension from './Extension/InlineExtension';
|
|
14
13
|
import MultiBodiedExtension from './MultiBodiedExtension';
|
|
15
|
-
|
|
16
|
-
/* temporary type until FG cleaned up */
|
|
17
|
-
|
|
18
|
-
/* temporary type until FG cleaned up */
|
|
19
|
-
|
|
20
14
|
const getBodiedExtensionContent = node => {
|
|
21
15
|
const bodiedExtensionContent = [];
|
|
22
16
|
node.content.forEach(childNode => {
|
|
@@ -200,7 +194,7 @@ class ExtensionComponentInner extends Component {
|
|
|
200
194
|
const isNodeNested = !!(resolvedPosition && resolvedPosition.depth > 0);
|
|
201
195
|
if (node.type.name === 'multiBodiedExtension') {
|
|
202
196
|
var _this$state$_privateP;
|
|
203
|
-
const allowBodiedOverride = (
|
|
197
|
+
const allowBodiedOverride = (_this$state$_privateP = this.state._privateProps) === null || _this$state$_privateP === void 0 ? void 0 : _this$state$_privateP.__allowBodiedOverride;
|
|
204
198
|
return /*#__PURE__*/React.createElement(MultiBodiedExtension, {
|
|
205
199
|
node: node,
|
|
206
200
|
editorView: editorView,
|
|
@@ -197,7 +197,7 @@ const MultiBodiedExtensionWithWidth = ({
|
|
|
197
197
|
css: [
|
|
198
198
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
199
199
|
mbeExtensionWrapperCSSStyles, showMacroInteractionDesignUpdates && !isLivePageViewMode && expValEquals('cc_editor_ttvc_release_bundle_one', 'extensionHoverRefactor', true) && hoverStyles],
|
|
200
|
-
"data-testid": "multiBodiedExtension--wrapper",
|
|
200
|
+
"data-testid": "multiBodiedExtension--wrapper-editor",
|
|
201
201
|
"data-layout": node.attrs.layout
|
|
202
202
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
203
203
|
,
|
|
@@ -4,7 +4,7 @@ import { isFedRamp } from './environment';
|
|
|
4
4
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
5
5
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
6
6
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
7
|
-
const packageVersion = "110.
|
|
7
|
+
const packageVersion = "110.42.0";
|
|
8
8
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
9
9
|
// Remove URL as it has UGC
|
|
10
10
|
// Ignored via go/ees007
|
|
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "110.
|
|
17
|
+
const packageVersion = "110.42.0";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -29,6 +29,9 @@ var hoverStyles = css({
|
|
|
29
29
|
boxShadow: "0 0 0 1px ".concat("var(--ds-border-input, #8C8F97)")
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
|
+
var containerStyle = css({
|
|
33
|
+
containerType: 'inline-size'
|
|
34
|
+
});
|
|
32
35
|
function ExtensionWithPluginState(props) {
|
|
33
36
|
var _node$attrs;
|
|
34
37
|
var node = props.node,
|
|
@@ -181,10 +184,10 @@ function ExtensionWithPluginState(props) {
|
|
|
181
184
|
"data-testid": "extension-overflow-wrapper"
|
|
182
185
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
183
186
|
,
|
|
184
|
-
className: overflowClassNames
|
|
187
|
+
className: overflowClassNames,
|
|
188
|
+
css: [
|
|
185
189
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
186
|
-
,
|
|
187
|
-
css: overflowWrapperStyles
|
|
190
|
+
overflowWrapperStyles, fg('platform_fix_macro_renders_in_layouts') && containerStyle]
|
|
188
191
|
}, jsx("div", {
|
|
189
192
|
className: 'extension-overlay',
|
|
190
193
|
css: overlay
|
|
@@ -16,7 +16,6 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
16
16
|
import React, { Component, useEffect, useLayoutEffect, useRef, useState } from 'react';
|
|
17
17
|
import memoizeOne from 'memoize-one';
|
|
18
18
|
import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
19
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
20
19
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
21
20
|
import { getExtensionModuleNodePrivateProps, getNodeRenderer } from '../extensions';
|
|
22
21
|
import { getExtensionRenderer, nodeToJSON, toJSON } from '../utils';
|
|
@@ -24,11 +23,6 @@ import Extension from './Extension/Extension';
|
|
|
24
23
|
import { isEmptyBodiedMacro } from './Extension/Extension/extension-utils';
|
|
25
24
|
import InlineExtension from './Extension/InlineExtension';
|
|
26
25
|
import MultiBodiedExtension from './MultiBodiedExtension';
|
|
27
|
-
|
|
28
|
-
/* temporary type until FG cleaned up */
|
|
29
|
-
|
|
30
|
-
/* temporary type until FG cleaned up */
|
|
31
|
-
|
|
32
26
|
var getBodiedExtensionContent = function getBodiedExtensionContent(node) {
|
|
33
27
|
var bodiedExtensionContent = [];
|
|
34
28
|
node.content.forEach(function (childNode) {
|
|
@@ -238,7 +232,7 @@ var ExtensionComponentInner = /*#__PURE__*/function (_Component) {
|
|
|
238
232
|
var isNodeNested = !!(resolvedPosition && resolvedPosition.depth > 0);
|
|
239
233
|
if (node.type.name === 'multiBodiedExtension') {
|
|
240
234
|
var _this$state$_privateP;
|
|
241
|
-
var allowBodiedOverride = (
|
|
235
|
+
var allowBodiedOverride = (_this$state$_privateP = this.state._privateProps) === null || _this$state$_privateP === void 0 ? void 0 : _this$state$_privateP.__allowBodiedOverride;
|
|
242
236
|
return /*#__PURE__*/React.createElement(MultiBodiedExtension, {
|
|
243
237
|
node: node,
|
|
244
238
|
editorView: editorView,
|
|
@@ -199,7 +199,7 @@ var MultiBodiedExtensionWithWidth = function MultiBodiedExtensionWithWidth(_ref2
|
|
|
199
199
|
css: [
|
|
200
200
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
201
201
|
mbeExtensionWrapperCSSStyles, showMacroInteractionDesignUpdates && !isLivePageViewMode && expValEquals('cc_editor_ttvc_release_bundle_one', 'extensionHoverRefactor', true) && hoverStyles],
|
|
202
|
-
"data-testid": "multiBodiedExtension--wrapper",
|
|
202
|
+
"data-testid": "multiBodiedExtension--wrapper-editor",
|
|
203
203
|
"data-layout": node.attrs.layout
|
|
204
204
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
205
205
|
,
|
|
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
|
|
|
10
10
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
11
11
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
12
12
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
13
|
-
var packageVersion = "110.
|
|
13
|
+
var packageVersion = "110.42.0";
|
|
14
14
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
15
15
|
// Remove URL as it has UGC
|
|
16
16
|
// Ignored via go/ees007
|
|
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "110.
|
|
24
|
+
var packageVersion = "110.42.0";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -21,6 +21,8 @@ export interface Props {
|
|
|
21
21
|
pluginInjectionApi: ExtensionsPluginInjectionAPI;
|
|
22
22
|
references?: ReferenceEntity[];
|
|
23
23
|
rendererExtensionHandlers?: ExtensionHandlers;
|
|
24
|
+
setShowBodiedExtensionRendererView?: (showBodiedExtensionRendererView: boolean) => void;
|
|
25
|
+
showBodiedExtensionRendererView?: boolean;
|
|
24
26
|
showLivePagesBodiedMacrosRendererView?: (node: ADFEntity) => boolean;
|
|
25
27
|
showUpdatedLivePages1PBodiedExtensionUI?: (node: ADFEntity) => boolean;
|
|
26
28
|
}
|
|
@@ -35,10 +37,4 @@ export interface State {
|
|
|
35
37
|
isNodeHovered?: boolean;
|
|
36
38
|
showBodiedExtensionRendererView?: boolean;
|
|
37
39
|
}
|
|
38
|
-
export type PropsNew = Omit<Props, 'extensionProvider'> & {
|
|
39
|
-
extensionProvider?: ExtensionProvider;
|
|
40
|
-
setShowBodiedExtensionRendererView?: (showBodiedExtensionRendererView: boolean) => void;
|
|
41
|
-
showBodiedExtensionRendererView?: boolean;
|
|
42
|
-
};
|
|
43
|
-
export type StateNew = Omit<State, 'extensionProvider' | 'showBodiedExtensionRendererView'>;
|
|
44
40
|
export declare const ExtensionComponent: (props: Props) => React.JSX.Element;
|
|
@@ -21,6 +21,8 @@ export interface Props {
|
|
|
21
21
|
pluginInjectionApi: ExtensionsPluginInjectionAPI;
|
|
22
22
|
references?: ReferenceEntity[];
|
|
23
23
|
rendererExtensionHandlers?: ExtensionHandlers;
|
|
24
|
+
setShowBodiedExtensionRendererView?: (showBodiedExtensionRendererView: boolean) => void;
|
|
25
|
+
showBodiedExtensionRendererView?: boolean;
|
|
24
26
|
showLivePagesBodiedMacrosRendererView?: (node: ADFEntity) => boolean;
|
|
25
27
|
showUpdatedLivePages1PBodiedExtensionUI?: (node: ADFEntity) => boolean;
|
|
26
28
|
}
|
|
@@ -35,10 +37,4 @@ export interface State {
|
|
|
35
37
|
isNodeHovered?: boolean;
|
|
36
38
|
showBodiedExtensionRendererView?: boolean;
|
|
37
39
|
}
|
|
38
|
-
export type PropsNew = Omit<Props, 'extensionProvider'> & {
|
|
39
|
-
extensionProvider?: ExtensionProvider;
|
|
40
|
-
setShowBodiedExtensionRendererView?: (showBodiedExtensionRendererView: boolean) => void;
|
|
41
|
-
showBodiedExtensionRendererView?: boolean;
|
|
42
|
-
};
|
|
43
|
-
export type StateNew = Omit<State, 'extensionProvider' | 'showBodiedExtensionRendererView'>;
|
|
44
40
|
export declare const ExtensionComponent: (props: Props) => React.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "110.
|
|
3
|
+
"version": "110.43.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/"
|
|
@@ -50,8 +50,8 @@
|
|
|
50
50
|
"@atlaskit/editor-toolbar": "^0.18.0",
|
|
51
51
|
"@atlaskit/editor-toolbar-model": "^0.2.0",
|
|
52
52
|
"@atlaskit/emoji": "^69.9.0",
|
|
53
|
-
"@atlaskit/icon": "^29.
|
|
54
|
-
"@atlaskit/icon-object": "^7.
|
|
53
|
+
"@atlaskit/icon": "^29.1.0",
|
|
54
|
+
"@atlaskit/icon-object": "^7.4.0",
|
|
55
55
|
"@atlaskit/link": "^3.2.0",
|
|
56
56
|
"@atlaskit/link-datasource": "^4.30.0",
|
|
57
57
|
"@atlaskit/link-picker": "^4.1.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@atlaskit/primitives": "^16.4.0",
|
|
73
73
|
"@atlaskit/profilecard": "^24.24.0",
|
|
74
74
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
75
|
-
"@atlaskit/react-ufo": "^4.
|
|
75
|
+
"@atlaskit/react-ufo": "^4.16.0",
|
|
76
76
|
"@atlaskit/section-message": "^8.10.0",
|
|
77
77
|
"@atlaskit/smart-card": "^43.15.0",
|
|
78
78
|
"@atlaskit/smart-user-picker": "^8.5.0",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@atlaskit/task-decision": "^19.2.0",
|
|
82
82
|
"@atlaskit/textfield": "^8.2.0",
|
|
83
83
|
"@atlaskit/theme": "^21.0.0",
|
|
84
|
-
"@atlaskit/tmp-editor-statsig": "^15.
|
|
84
|
+
"@atlaskit/tmp-editor-statsig": "^15.10.0",
|
|
85
85
|
"@atlaskit/tokens": "^8.4.0",
|
|
86
86
|
"@atlaskit/tooltip": "^20.11.0",
|
|
87
87
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -275,6 +275,9 @@
|
|
|
275
275
|
},
|
|
276
276
|
"platform_editor_table_numbered_table_border": {
|
|
277
277
|
"type": "boolean"
|
|
278
|
+
},
|
|
279
|
+
"platform_fix_macro_renders_in_layouts": {
|
|
280
|
+
"type": "boolean"
|
|
278
281
|
}
|
|
279
282
|
}
|
|
280
283
|
}
|