@atlaskit/editor-common 112.4.4 → 112.5.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 +26 -0
- package/dist/cjs/ai-messages/ai.js +1 -1
- package/dist/cjs/analytics/types/enums.js +1 -0
- package/dist/cjs/messages/index.js +7 -0
- package/dist/cjs/messages/smart-link-changeboard.js +29 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/react-node-view/index.js +6 -2
- package/dist/cjs/ugc-tokens/editor-ugc-token-names.js +1 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/OverflowShadow/index.js +8 -6
- package/dist/cjs/ui/Popup/utils.js +11 -4
- package/dist/es2019/ai-messages/ai.js +1 -1
- package/dist/es2019/analytics/types/enums.js +1 -0
- package/dist/es2019/messages/index.js +1 -0
- package/dist/es2019/messages/smart-link-changeboard.js +23 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/react-node-view/index.js +6 -2
- package/dist/es2019/ugc-tokens/editor-ugc-token-names.js +1 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/OverflowShadow/index.js +8 -6
- package/dist/es2019/ui/Popup/utils.js +11 -4
- package/dist/esm/ai-messages/ai.js +1 -1
- package/dist/esm/analytics/types/enums.js +1 -0
- package/dist/esm/messages/index.js +1 -0
- package/dist/esm/messages/smart-link-changeboard.js +23 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/react-node-view/index.js +6 -2
- package/dist/esm/ugc-tokens/editor-ugc-token-names.js +1 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/OverflowShadow/index.js +8 -6
- package/dist/esm/ui/Popup/utils.js +11 -4
- package/dist/types/analytics/types/enums.d.ts +1 -0
- package/dist/types/analytics/types/format-events.d.ts +5 -1
- package/dist/types/messages/index.d.ts +1 -0
- package/dist/types/messages/smart-link-changeboard.d.ts +22 -0
- package/dist/types/ugc-tokens/editor-ugc-token-names.d.ts +1 -0
- package/dist/types-ts4.5/analytics/types/enums.d.ts +1 -0
- package/dist/types-ts4.5/analytics/types/format-events.d.ts +5 -1
- package/dist/types-ts4.5/messages/index.d.ts +1 -0
- package/dist/types-ts4.5/messages/smart-link-changeboard.d.ts +22 -0
- package/dist/types-ts4.5/ugc-tokens/editor-ugc-token-names.d.ts +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 112.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`8b0c77d86d97f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8b0c77d86d97f) - -
|
|
8
|
+
Created SmartLinkDraggableChangeboardPopover component
|
|
9
|
+
- Define i18n message text in editor-common
|
|
10
|
+
- Added skeleton code to SmartLinkDraggableInner component to easily incorportate new
|
|
11
|
+
changeboarding
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`38a861ed1d4b7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/38a861ed1d4b7) -
|
|
16
|
+
[NO-ISSUE] Update text and icon in nested menu for ai section in blockmenu
|
|
17
|
+
- [`d59ae43080757`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d59ae43080757) -
|
|
18
|
+
Fixed all ESlint no-casting-violations in editor common
|
|
19
|
+
- [`8b781b3b3f9ca`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8b781b3b3f9ca) -
|
|
20
|
+
Add setSmallText and setSmallTextWithAnalytics commands, modify setNormalText to remove fontSize
|
|
21
|
+
mark, add FORMAT_SMALL_TEXT analytics enum.
|
|
22
|
+
|
|
23
|
+
Add support to the renderer to render 'small text'.
|
|
24
|
+
|
|
25
|
+
Add 'fontSize' to stage0 default schema.
|
|
26
|
+
|
|
27
|
+
- Updated dependencies
|
|
28
|
+
|
|
3
29
|
## 112.4.4
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
|
@@ -255,7 +255,7 @@ var aiMessages = exports.aiMessages = (0, _reactIntlNext.defineMessages)({
|
|
|
255
255
|
// Block menu messages
|
|
256
256
|
blockMenuNestedMenuTitle: {
|
|
257
257
|
id: 'fabric.editor.ai.config.item.blockMenuNestedMenu.title',
|
|
258
|
-
defaultMessage: '
|
|
258
|
+
defaultMessage: 'View more actions',
|
|
259
259
|
description: 'Title for the nested menu in the block menu'
|
|
260
260
|
}
|
|
261
261
|
});
|
|
@@ -448,6 +448,7 @@ var ACTION_SUBJECT_ID = exports.ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTIO
|
|
|
448
448
|
ACTION_SUBJECT_ID["FORMAT_CODE"] = "code";
|
|
449
449
|
ACTION_SUBJECT_ID["FORMAT_COLOR"] = "color";
|
|
450
450
|
ACTION_SUBJECT_ID["FORMAT_HEADING"] = "heading";
|
|
451
|
+
ACTION_SUBJECT_ID["FORMAT_SMALL_TEXT"] = "smallText";
|
|
451
452
|
ACTION_SUBJECT_ID["FORMAT_INDENT"] = "indentation";
|
|
452
453
|
ACTION_SUBJECT_ID["FORMAT_ITALIC"] = "italic";
|
|
453
454
|
ACTION_SUBJECT_ID["FORMAT_LIST_BULLET"] = "bulletedList";
|
|
@@ -226,6 +226,12 @@ Object.defineProperty(exports, "selectionToolbarMessages", {
|
|
|
226
226
|
return _selectionToolbar.selectionToolbarMessages;
|
|
227
227
|
}
|
|
228
228
|
});
|
|
229
|
+
Object.defineProperty(exports, "smartLinkChangeboardMessages", {
|
|
230
|
+
enumerable: true,
|
|
231
|
+
get: function get() {
|
|
232
|
+
return _smartLinkChangeboard.smartLinkChangeboardMessages;
|
|
233
|
+
}
|
|
234
|
+
});
|
|
229
235
|
Object.defineProperty(exports, "statusMessages", {
|
|
230
236
|
enumerable: true,
|
|
231
237
|
get: function get() {
|
|
@@ -312,6 +318,7 @@ var _date = require("./date");
|
|
|
312
318
|
var _layout = require("./layout");
|
|
313
319
|
var _indentation = require("./indentation");
|
|
314
320
|
var _avatarGroup = require("./avatar-group");
|
|
321
|
+
var _smartLinkChangeboard = require("./smart-link-changeboard");
|
|
315
322
|
var _findReplace = require("./find-replace");
|
|
316
323
|
var _elementInsertSidePanel = require("./element-insert-side-panel");
|
|
317
324
|
var _textColor = require("./text-color");
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.smartLinkChangeboardMessages = void 0;
|
|
7
|
+
var _reactIntlNext = require("react-intl-next");
|
|
8
|
+
var smartLinkChangeboardMessages = exports.smartLinkChangeboardMessages = (0, _reactIntlNext.defineMessages)({
|
|
9
|
+
headline: {
|
|
10
|
+
id: 'platform.editor.smartlink.changeboard.headline',
|
|
11
|
+
defaultMessage: 'Drag and drop links',
|
|
12
|
+
description: 'Headline for the smart link drag and drop changeboarding popup'
|
|
13
|
+
},
|
|
14
|
+
gifAlt: {
|
|
15
|
+
id: 'platform.editor.smartlink.changeboard.gif.alt',
|
|
16
|
+
defaultMessage: 'Drag smart link into sidebar demonstration',
|
|
17
|
+
description: 'Alt text for the changeboarding GIF'
|
|
18
|
+
},
|
|
19
|
+
description: {
|
|
20
|
+
id: 'platform.editor.smartlink.changeboard.description',
|
|
21
|
+
defaultMessage: 'Keep your important links organized and easy to find by dragging Smart Links into the content tree.',
|
|
22
|
+
description: 'Description text for the changeboarding popup'
|
|
23
|
+
},
|
|
24
|
+
dismiss: {
|
|
25
|
+
id: 'platform.editor.smartlink.changeboard.dismiss',
|
|
26
|
+
defaultMessage: 'Done',
|
|
27
|
+
description: 'Label for the dismiss button in the changeboarding popup'
|
|
28
|
+
}
|
|
29
|
+
});
|
|
@@ -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 = "112.4.
|
|
22
|
+
var packageVersion = "112.4.4";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -280,9 +280,13 @@ var ReactNodeView = exports.default = /*#__PURE__*/function () {
|
|
|
280
280
|
}, {
|
|
281
281
|
key: "dom",
|
|
282
282
|
get: function get() {
|
|
283
|
+
// Only return reference if domRef is defined
|
|
284
|
+
if (this.domRef === undefined) {
|
|
285
|
+
//raise an error
|
|
286
|
+
throw new Error('domRef is not defined or may have been destroyed');
|
|
287
|
+
}
|
|
288
|
+
|
|
283
289
|
// Spreading props to pass through dynamic component props
|
|
284
|
-
// Ignored via go/ees005
|
|
285
|
-
// eslint-disable-next-line @atlaskit/editor/no-as-casting
|
|
286
290
|
return this.domRef;
|
|
287
291
|
}
|
|
288
292
|
}, {
|
|
@@ -46,6 +46,7 @@ var editorUGCTokensRefreshed = exports.editorUGCTokensRefreshed = {
|
|
|
46
46
|
'editor.font.heading.h5': 'normal 600 0.857143em/1.33333 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
47
47
|
'editor.font.heading.h6': 'normal 600 0.785714em/1.45455 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
48
48
|
'editor.font.body': 'normal 400 1em/1.714 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
49
|
+
'editor.font.body.small': 'normal 400 0.875em/1.714 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
49
50
|
'editor.font.weight.heading.h1.bold': '700',
|
|
50
51
|
'editor.font.weight.heading.h2.bold': '700',
|
|
51
52
|
'editor.font.weight.heading.h3.bold': '700',
|
|
@@ -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 = "112.4.
|
|
27
|
+
var packageVersion = "112.4.4";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -80,10 +80,10 @@ function overflowShadow(Component, options) {
|
|
|
80
80
|
}
|
|
81
81
|
var width = 0;
|
|
82
82
|
for (var i = 0; i < _this.scrollable.length; i++) {
|
|
83
|
-
// Ignored via go/ees005
|
|
84
|
-
// eslint-disable-next-line @atlaskit/editor/no-as-casting
|
|
85
83
|
var scrollableElement = _this.scrollable[i];
|
|
86
|
-
|
|
84
|
+
if (isElementNode(scrollableElement)) {
|
|
85
|
+
width += scrollableElement.scrollWidth;
|
|
86
|
+
}
|
|
87
87
|
}
|
|
88
88
|
return width;
|
|
89
89
|
});
|
|
@@ -92,9 +92,6 @@ function overflowShadow(Component, options) {
|
|
|
92
92
|
return;
|
|
93
93
|
}
|
|
94
94
|
_this.container = container;
|
|
95
|
-
|
|
96
|
-
// Ignored via go/ees005
|
|
97
|
-
// eslint-disable-next-line @atlaskit/editor/no-as-casting
|
|
98
95
|
_this.overflowContainer = container.querySelector(options.overflowSelector);
|
|
99
96
|
if (!_this.overflowContainer) {
|
|
100
97
|
_this.overflowContainer = container;
|
|
@@ -181,4 +178,9 @@ function overflowShadow(Component, options) {
|
|
|
181
178
|
}
|
|
182
179
|
}]);
|
|
183
180
|
}(_react.default.Component);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
// Helper function to check if the passed node is of Element class
|
|
184
|
+
function isElementNode(node) {
|
|
185
|
+
return node.nodeType === 1;
|
|
184
186
|
}
|
|
@@ -235,7 +235,7 @@ function calculatePosition(_ref5) {
|
|
|
235
235
|
boundariesElement = _ref5.boundariesElement,
|
|
236
236
|
minPopupMargin = _ref5.minPopupMargin;
|
|
237
237
|
var position = {};
|
|
238
|
-
if (!target || !popup || !popup.offsetParent) {
|
|
238
|
+
if (!target || !popup || !popup.offsetParent || !isHTMLElementNode(popup.offsetParent)) {
|
|
239
239
|
return position;
|
|
240
240
|
}
|
|
241
241
|
if (isTextNode(target)) {
|
|
@@ -243,9 +243,6 @@ function calculatePosition(_ref5) {
|
|
|
243
243
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
244
244
|
target = target.parentElement;
|
|
245
245
|
}
|
|
246
|
-
|
|
247
|
-
// Ignored via go/ees005
|
|
248
|
-
// eslint-disable-next-line @atlaskit/editor/no-as-casting
|
|
249
246
|
var popupOffsetParent = popup.offsetParent;
|
|
250
247
|
var offsetParentStyle = popupOffsetParent.style;
|
|
251
248
|
var borderBottomWidth = 0;
|
|
@@ -354,4 +351,14 @@ function findOverflowScrollParent(popup) {
|
|
|
354
351
|
}
|
|
355
352
|
}
|
|
356
353
|
return false;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
// Helper function to check if the passed node is of Element class
|
|
357
|
+
function isElementNode(node) {
|
|
358
|
+
return node.nodeType === 1;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
// Helper function to check if the passed node is of HTMLElement class
|
|
362
|
+
function isHTMLElementNode(node) {
|
|
363
|
+
return isElementNode(node) && node.namespaceURI === 'http://www.w3.org/1999/xhtml';
|
|
357
364
|
}
|
|
@@ -249,7 +249,7 @@ export const aiMessages = defineMessages({
|
|
|
249
249
|
// Block menu messages
|
|
250
250
|
blockMenuNestedMenuTitle: {
|
|
251
251
|
id: 'fabric.editor.ai.config.item.blockMenuNestedMenu.title',
|
|
252
|
-
defaultMessage: '
|
|
252
|
+
defaultMessage: 'View more actions',
|
|
253
253
|
description: 'Title for the nested menu in the block menu'
|
|
254
254
|
}
|
|
255
255
|
});
|
|
@@ -442,6 +442,7 @@ export let ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
|
|
|
442
442
|
ACTION_SUBJECT_ID["FORMAT_CODE"] = "code";
|
|
443
443
|
ACTION_SUBJECT_ID["FORMAT_COLOR"] = "color";
|
|
444
444
|
ACTION_SUBJECT_ID["FORMAT_HEADING"] = "heading";
|
|
445
|
+
ACTION_SUBJECT_ID["FORMAT_SMALL_TEXT"] = "smallText";
|
|
445
446
|
ACTION_SUBJECT_ID["FORMAT_INDENT"] = "indentation";
|
|
446
447
|
ACTION_SUBJECT_ID["FORMAT_ITALIC"] = "italic";
|
|
447
448
|
ACTION_SUBJECT_ID["FORMAT_LIST_BULLET"] = "bulletedList";
|
|
@@ -27,6 +27,7 @@ export { messages as dateMessages } from './date';
|
|
|
27
27
|
export { toolbarMessages as layoutMessages } from './layout';
|
|
28
28
|
export { messages as indentationMessages } from './indentation';
|
|
29
29
|
export { avatarGroupMessages } from './avatar-group';
|
|
30
|
+
export { smartLinkChangeboardMessages } from './smart-link-changeboard';
|
|
30
31
|
export { findReplaceMessages } from './find-replace';
|
|
31
32
|
export { elementInsertSidePanel } from './element-insert-side-panel';
|
|
32
33
|
export { textColorMessages } from './text-color';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { defineMessages } from 'react-intl-next';
|
|
2
|
+
export const smartLinkChangeboardMessages = defineMessages({
|
|
3
|
+
headline: {
|
|
4
|
+
id: 'platform.editor.smartlink.changeboard.headline',
|
|
5
|
+
defaultMessage: 'Drag and drop links',
|
|
6
|
+
description: 'Headline for the smart link drag and drop changeboarding popup'
|
|
7
|
+
},
|
|
8
|
+
gifAlt: {
|
|
9
|
+
id: 'platform.editor.smartlink.changeboard.gif.alt',
|
|
10
|
+
defaultMessage: 'Drag smart link into sidebar demonstration',
|
|
11
|
+
description: 'Alt text for the changeboarding GIF'
|
|
12
|
+
},
|
|
13
|
+
description: {
|
|
14
|
+
id: 'platform.editor.smartlink.changeboard.description',
|
|
15
|
+
defaultMessage: 'Keep your important links organized and easy to find by dragging Smart Links into the content tree.',
|
|
16
|
+
description: 'Description text for the changeboarding popup'
|
|
17
|
+
},
|
|
18
|
+
dismiss: {
|
|
19
|
+
id: 'platform.editor.smartlink.changeboard.dismiss',
|
|
20
|
+
defaultMessage: 'Done',
|
|
21
|
+
description: 'Label for the dismiss button in the changeboarding popup'
|
|
22
|
+
}
|
|
23
|
+
});
|
|
@@ -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 = "112.4.
|
|
7
|
+
const packageVersion = "112.4.4";
|
|
8
8
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
9
9
|
// Remove URL as it has UGC
|
|
10
10
|
// Ignored via go/ees007
|
|
@@ -227,9 +227,13 @@ export default class ReactNodeView {
|
|
|
227
227
|
});
|
|
228
228
|
}
|
|
229
229
|
get dom() {
|
|
230
|
+
// Only return reference if domRef is defined
|
|
231
|
+
if (this.domRef === undefined) {
|
|
232
|
+
//raise an error
|
|
233
|
+
throw new Error('domRef is not defined or may have been destroyed');
|
|
234
|
+
}
|
|
235
|
+
|
|
230
236
|
// Spreading props to pass through dynamic component props
|
|
231
|
-
// Ignored via go/ees005
|
|
232
|
-
// eslint-disable-next-line @atlaskit/editor/no-as-casting
|
|
233
237
|
return this.domRef;
|
|
234
238
|
}
|
|
235
239
|
destroy() {
|
|
@@ -40,6 +40,7 @@ export const editorUGCTokensRefreshed = {
|
|
|
40
40
|
'editor.font.heading.h5': 'normal 600 0.857143em/1.33333 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
41
41
|
'editor.font.heading.h6': 'normal 600 0.785714em/1.45455 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
42
42
|
'editor.font.body': 'normal 400 1em/1.714 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
43
|
+
'editor.font.body.small': 'normal 400 0.875em/1.714 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
43
44
|
'editor.font.weight.heading.h1.bold': '700',
|
|
44
45
|
'editor.font.weight.heading.h2.bold': '700',
|
|
45
46
|
'editor.font.weight.heading.h3.bold': '700',
|
|
@@ -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 = "112.4.
|
|
17
|
+
const packageVersion = "112.4.4";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -60,10 +60,10 @@ export default function overflowShadow(Component, options) {
|
|
|
60
60
|
}
|
|
61
61
|
let width = 0;
|
|
62
62
|
for (let i = 0; i < this.scrollable.length; i++) {
|
|
63
|
-
// Ignored via go/ees005
|
|
64
|
-
// eslint-disable-next-line @atlaskit/editor/no-as-casting
|
|
65
63
|
const scrollableElement = this.scrollable[i];
|
|
66
|
-
|
|
64
|
+
if (isElementNode(scrollableElement)) {
|
|
65
|
+
width += scrollableElement.scrollWidth;
|
|
66
|
+
}
|
|
67
67
|
}
|
|
68
68
|
return width;
|
|
69
69
|
});
|
|
@@ -72,9 +72,6 @@ export default function overflowShadow(Component, options) {
|
|
|
72
72
|
return;
|
|
73
73
|
}
|
|
74
74
|
this.container = container;
|
|
75
|
-
|
|
76
|
-
// Ignored via go/ees005
|
|
77
|
-
// eslint-disable-next-line @atlaskit/editor/no-as-casting
|
|
78
75
|
this.overflowContainer = container.querySelector(options.overflowSelector);
|
|
79
76
|
if (!this.overflowContainer) {
|
|
80
77
|
this.overflowContainer = container;
|
|
@@ -152,4 +149,9 @@ export default function overflowShadow(Component, options) {
|
|
|
152
149
|
}, this.props));
|
|
153
150
|
}
|
|
154
151
|
};
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// Helper function to check if the passed node is of Element class
|
|
155
|
+
function isElementNode(node) {
|
|
156
|
+
return node.nodeType === 1;
|
|
155
157
|
}
|
|
@@ -229,7 +229,7 @@ export function calculatePosition({
|
|
|
229
229
|
minPopupMargin
|
|
230
230
|
}) {
|
|
231
231
|
let position = {};
|
|
232
|
-
if (!target || !popup || !popup.offsetParent) {
|
|
232
|
+
if (!target || !popup || !popup.offsetParent || !isHTMLElementNode(popup.offsetParent)) {
|
|
233
233
|
return position;
|
|
234
234
|
}
|
|
235
235
|
if (isTextNode(target)) {
|
|
@@ -237,9 +237,6 @@ export function calculatePosition({
|
|
|
237
237
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
238
238
|
target = target.parentElement;
|
|
239
239
|
}
|
|
240
|
-
|
|
241
|
-
// Ignored via go/ees005
|
|
242
|
-
// eslint-disable-next-line @atlaskit/editor/no-as-casting
|
|
243
240
|
const popupOffsetParent = popup.offsetParent;
|
|
244
241
|
const offsetParentStyle = popupOffsetParent.style;
|
|
245
242
|
let borderBottomWidth = 0;
|
|
@@ -354,4 +351,14 @@ export function findOverflowScrollParent(popup) {
|
|
|
354
351
|
}
|
|
355
352
|
}
|
|
356
353
|
return false;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
// Helper function to check if the passed node is of Element class
|
|
357
|
+
function isElementNode(node) {
|
|
358
|
+
return node.nodeType === 1;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
// Helper function to check if the passed node is of HTMLElement class
|
|
362
|
+
function isHTMLElementNode(node) {
|
|
363
|
+
return isElementNode(node) && node.namespaceURI === 'http://www.w3.org/1999/xhtml';
|
|
357
364
|
}
|
|
@@ -249,7 +249,7 @@ export var aiMessages = defineMessages({
|
|
|
249
249
|
// Block menu messages
|
|
250
250
|
blockMenuNestedMenuTitle: {
|
|
251
251
|
id: 'fabric.editor.ai.config.item.blockMenuNestedMenu.title',
|
|
252
|
-
defaultMessage: '
|
|
252
|
+
defaultMessage: 'View more actions',
|
|
253
253
|
description: 'Title for the nested menu in the block menu'
|
|
254
254
|
}
|
|
255
255
|
});
|
|
@@ -442,6 +442,7 @@ export var ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
|
|
|
442
442
|
ACTION_SUBJECT_ID["FORMAT_CODE"] = "code";
|
|
443
443
|
ACTION_SUBJECT_ID["FORMAT_COLOR"] = "color";
|
|
444
444
|
ACTION_SUBJECT_ID["FORMAT_HEADING"] = "heading";
|
|
445
|
+
ACTION_SUBJECT_ID["FORMAT_SMALL_TEXT"] = "smallText";
|
|
445
446
|
ACTION_SUBJECT_ID["FORMAT_INDENT"] = "indentation";
|
|
446
447
|
ACTION_SUBJECT_ID["FORMAT_ITALIC"] = "italic";
|
|
447
448
|
ACTION_SUBJECT_ID["FORMAT_LIST_BULLET"] = "bulletedList";
|
|
@@ -27,6 +27,7 @@ export { messages as dateMessages } from './date';
|
|
|
27
27
|
export { toolbarMessages as layoutMessages } from './layout';
|
|
28
28
|
export { messages as indentationMessages } from './indentation';
|
|
29
29
|
export { avatarGroupMessages } from './avatar-group';
|
|
30
|
+
export { smartLinkChangeboardMessages } from './smart-link-changeboard';
|
|
30
31
|
export { findReplaceMessages } from './find-replace';
|
|
31
32
|
export { elementInsertSidePanel } from './element-insert-side-panel';
|
|
32
33
|
export { textColorMessages } from './text-color';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { defineMessages } from 'react-intl-next';
|
|
2
|
+
export var smartLinkChangeboardMessages = defineMessages({
|
|
3
|
+
headline: {
|
|
4
|
+
id: 'platform.editor.smartlink.changeboard.headline',
|
|
5
|
+
defaultMessage: 'Drag and drop links',
|
|
6
|
+
description: 'Headline for the smart link drag and drop changeboarding popup'
|
|
7
|
+
},
|
|
8
|
+
gifAlt: {
|
|
9
|
+
id: 'platform.editor.smartlink.changeboard.gif.alt',
|
|
10
|
+
defaultMessage: 'Drag smart link into sidebar demonstration',
|
|
11
|
+
description: 'Alt text for the changeboarding GIF'
|
|
12
|
+
},
|
|
13
|
+
description: {
|
|
14
|
+
id: 'platform.editor.smartlink.changeboard.description',
|
|
15
|
+
defaultMessage: 'Keep your important links organized and easy to find by dragging Smart Links into the content tree.',
|
|
16
|
+
description: 'Description text for the changeboarding popup'
|
|
17
|
+
},
|
|
18
|
+
dismiss: {
|
|
19
|
+
id: 'platform.editor.smartlink.changeboard.dismiss',
|
|
20
|
+
defaultMessage: 'Done',
|
|
21
|
+
description: 'Label for the dismiss button in the changeboarding popup'
|
|
22
|
+
}
|
|
23
|
+
});
|
|
@@ -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 = "112.4.
|
|
13
|
+
var packageVersion = "112.4.4";
|
|
14
14
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
15
15
|
// Remove URL as it has UGC
|
|
16
16
|
// Ignored via go/ees007
|
|
@@ -262,9 +262,13 @@ var ReactNodeView = /*#__PURE__*/function () {
|
|
|
262
262
|
}, {
|
|
263
263
|
key: "dom",
|
|
264
264
|
get: function get() {
|
|
265
|
+
// Only return reference if domRef is defined
|
|
266
|
+
if (this.domRef === undefined) {
|
|
267
|
+
//raise an error
|
|
268
|
+
throw new Error('domRef is not defined or may have been destroyed');
|
|
269
|
+
}
|
|
270
|
+
|
|
265
271
|
// Spreading props to pass through dynamic component props
|
|
266
|
-
// Ignored via go/ees005
|
|
267
|
-
// eslint-disable-next-line @atlaskit/editor/no-as-casting
|
|
268
272
|
return this.domRef;
|
|
269
273
|
}
|
|
270
274
|
}, {
|
|
@@ -40,6 +40,7 @@ export var editorUGCTokensRefreshed = {
|
|
|
40
40
|
'editor.font.heading.h5': 'normal 600 0.857143em/1.33333 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
41
41
|
'editor.font.heading.h6': 'normal 600 0.785714em/1.45455 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
42
42
|
'editor.font.body': 'normal 400 1em/1.714 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
43
|
+
'editor.font.body.small': 'normal 400 0.875em/1.714 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
43
44
|
'editor.font.weight.heading.h1.bold': '700',
|
|
44
45
|
'editor.font.weight.heading.h2.bold': '700',
|
|
45
46
|
'editor.font.weight.heading.h3.bold': '700',
|
|
@@ -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 = "112.4.
|
|
24
|
+
var packageVersion = "112.4.4";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -72,10 +72,10 @@ export default function overflowShadow(Component, options) {
|
|
|
72
72
|
}
|
|
73
73
|
var width = 0;
|
|
74
74
|
for (var i = 0; i < _this.scrollable.length; i++) {
|
|
75
|
-
// Ignored via go/ees005
|
|
76
|
-
// eslint-disable-next-line @atlaskit/editor/no-as-casting
|
|
77
75
|
var scrollableElement = _this.scrollable[i];
|
|
78
|
-
|
|
76
|
+
if (isElementNode(scrollableElement)) {
|
|
77
|
+
width += scrollableElement.scrollWidth;
|
|
78
|
+
}
|
|
79
79
|
}
|
|
80
80
|
return width;
|
|
81
81
|
});
|
|
@@ -84,9 +84,6 @@ export default function overflowShadow(Component, options) {
|
|
|
84
84
|
return;
|
|
85
85
|
}
|
|
86
86
|
_this.container = container;
|
|
87
|
-
|
|
88
|
-
// Ignored via go/ees005
|
|
89
|
-
// eslint-disable-next-line @atlaskit/editor/no-as-casting
|
|
90
87
|
_this.overflowContainer = container.querySelector(options.overflowSelector);
|
|
91
88
|
if (!_this.overflowContainer) {
|
|
92
89
|
_this.overflowContainer = container;
|
|
@@ -173,4 +170,9 @@ export default function overflowShadow(Component, options) {
|
|
|
173
170
|
}
|
|
174
171
|
}]);
|
|
175
172
|
}(React.Component);
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
// Helper function to check if the passed node is of Element class
|
|
176
|
+
function isElementNode(node) {
|
|
177
|
+
return node.nodeType === 1;
|
|
176
178
|
}
|
|
@@ -221,7 +221,7 @@ export function calculatePosition(_ref5) {
|
|
|
221
221
|
boundariesElement = _ref5.boundariesElement,
|
|
222
222
|
minPopupMargin = _ref5.minPopupMargin;
|
|
223
223
|
var position = {};
|
|
224
|
-
if (!target || !popup || !popup.offsetParent) {
|
|
224
|
+
if (!target || !popup || !popup.offsetParent || !isHTMLElementNode(popup.offsetParent)) {
|
|
225
225
|
return position;
|
|
226
226
|
}
|
|
227
227
|
if (isTextNode(target)) {
|
|
@@ -229,9 +229,6 @@ export function calculatePosition(_ref5) {
|
|
|
229
229
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
230
230
|
target = target.parentElement;
|
|
231
231
|
}
|
|
232
|
-
|
|
233
|
-
// Ignored via go/ees005
|
|
234
|
-
// eslint-disable-next-line @atlaskit/editor/no-as-casting
|
|
235
232
|
var popupOffsetParent = popup.offsetParent;
|
|
236
233
|
var offsetParentStyle = popupOffsetParent.style;
|
|
237
234
|
var borderBottomWidth = 0;
|
|
@@ -340,4 +337,14 @@ export function findOverflowScrollParent(popup) {
|
|
|
340
337
|
}
|
|
341
338
|
}
|
|
342
339
|
return false;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
// Helper function to check if the passed node is of Element class
|
|
343
|
+
function isElementNode(node) {
|
|
344
|
+
return node.nodeType === 1;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
// Helper function to check if the passed node is of HTMLElement class
|
|
348
|
+
function isHTMLElementNode(node) {
|
|
349
|
+
return isElementNode(node) && node.namespaceURI === 'http://www.w3.org/1999/xhtml';
|
|
343
350
|
}
|
|
@@ -433,6 +433,7 @@ export declare enum ACTION_SUBJECT_ID {
|
|
|
433
433
|
FORMAT_CODE = "code",
|
|
434
434
|
FORMAT_COLOR = "color",
|
|
435
435
|
FORMAT_HEADING = "heading",
|
|
436
|
+
FORMAT_SMALL_TEXT = "smallText",
|
|
436
437
|
FORMAT_INDENT = "indentation",
|
|
437
438
|
FORMAT_ITALIC = "italic",
|
|
438
439
|
FORMAT_LIST_BULLET = "bulletedList",
|
|
@@ -31,6 +31,10 @@ type FormatHeadingAEP = FormatAEP<ACTION_SUBJECT_ID.FORMAT_HEADING, {
|
|
|
31
31
|
newHeadingLevel: HeadingLevelsAndNormalText;
|
|
32
32
|
previousHeadingLevel?: HeadingLevelsAndNormalText;
|
|
33
33
|
}>;
|
|
34
|
+
type FormatSmallTextAEP = FormatAEP<ACTION_SUBJECT_ID.FORMAT_SMALL_TEXT, {
|
|
35
|
+
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.KEYBOARD | INPUT_METHOD.FORMATTING | INPUT_METHOD.SHORTCUT | INPUT_METHOD.FLOATING_TB;
|
|
36
|
+
previousBlockType?: string;
|
|
37
|
+
}>;
|
|
34
38
|
type FormatBlockQuoteAEP = FormatAEP<ACTION_SUBJECT_ID.FORMAT_BLOCK_QUOTE, {
|
|
35
39
|
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.KEYBOARD | INPUT_METHOD.FORMATTING | INPUT_METHOD.SHORTCUT | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.FLOATING_TB;
|
|
36
40
|
}>;
|
|
@@ -47,5 +51,5 @@ type FormatColorAEP = FormatAEP<ACTION_SUBJECT_ID.FORMAT_COLOR, {
|
|
|
47
51
|
type FormatListAEP = FormatAEP<ACTION_SUBJECT_ID.FORMAT_LIST_NUMBER | ACTION_SUBJECT_ID.FORMAT_LIST_BULLET, {
|
|
48
52
|
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.KEYBOARD | INPUT_METHOD.FORMATTING | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.FLOATING_TB;
|
|
49
53
|
}>;
|
|
50
|
-
export type FormatEventPayload = FormatBasicAEP | FormatSuperSubAEP | FormatIndentationAEP | FormatHeadingAEP | FormatBlockQuoteAEP | FormatClearAEP | FormatColorAEP | FormatListAEP;
|
|
54
|
+
export type FormatEventPayload = FormatBasicAEP | FormatSuperSubAEP | FormatIndentationAEP | FormatHeadingAEP | FormatSmallTextAEP | FormatBlockQuoteAEP | FormatClearAEP | FormatColorAEP | FormatListAEP;
|
|
51
55
|
export {};
|
|
@@ -23,6 +23,7 @@ export { messages as dateMessages } from './date';
|
|
|
23
23
|
export { toolbarMessages as layoutMessages } from './layout';
|
|
24
24
|
export { messages as indentationMessages } from './indentation';
|
|
25
25
|
export { avatarGroupMessages } from './avatar-group';
|
|
26
|
+
export { smartLinkChangeboardMessages } from './smart-link-changeboard';
|
|
26
27
|
export { findReplaceMessages } from './find-replace';
|
|
27
28
|
export { elementInsertSidePanel } from './element-insert-side-panel';
|
|
28
29
|
export { textColorMessages } from './text-color';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const smartLinkChangeboardMessages: {
|
|
2
|
+
headline: {
|
|
3
|
+
id: string;
|
|
4
|
+
defaultMessage: string;
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
gifAlt: {
|
|
8
|
+
id: string;
|
|
9
|
+
defaultMessage: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
description: {
|
|
13
|
+
id: string;
|
|
14
|
+
defaultMessage: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
dismiss: {
|
|
18
|
+
id: string;
|
|
19
|
+
defaultMessage: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -433,6 +433,7 @@ export declare enum ACTION_SUBJECT_ID {
|
|
|
433
433
|
FORMAT_CODE = "code",
|
|
434
434
|
FORMAT_COLOR = "color",
|
|
435
435
|
FORMAT_HEADING = "heading",
|
|
436
|
+
FORMAT_SMALL_TEXT = "smallText",
|
|
436
437
|
FORMAT_INDENT = "indentation",
|
|
437
438
|
FORMAT_ITALIC = "italic",
|
|
438
439
|
FORMAT_LIST_BULLET = "bulletedList",
|
|
@@ -31,6 +31,10 @@ type FormatHeadingAEP = FormatAEP<ACTION_SUBJECT_ID.FORMAT_HEADING, {
|
|
|
31
31
|
newHeadingLevel: HeadingLevelsAndNormalText;
|
|
32
32
|
previousHeadingLevel?: HeadingLevelsAndNormalText;
|
|
33
33
|
}>;
|
|
34
|
+
type FormatSmallTextAEP = FormatAEP<ACTION_SUBJECT_ID.FORMAT_SMALL_TEXT, {
|
|
35
|
+
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.KEYBOARD | INPUT_METHOD.FORMATTING | INPUT_METHOD.SHORTCUT | INPUT_METHOD.FLOATING_TB;
|
|
36
|
+
previousBlockType?: string;
|
|
37
|
+
}>;
|
|
34
38
|
type FormatBlockQuoteAEP = FormatAEP<ACTION_SUBJECT_ID.FORMAT_BLOCK_QUOTE, {
|
|
35
39
|
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.KEYBOARD | INPUT_METHOD.FORMATTING | INPUT_METHOD.SHORTCUT | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.FLOATING_TB;
|
|
36
40
|
}>;
|
|
@@ -47,5 +51,5 @@ type FormatColorAEP = FormatAEP<ACTION_SUBJECT_ID.FORMAT_COLOR, {
|
|
|
47
51
|
type FormatListAEP = FormatAEP<ACTION_SUBJECT_ID.FORMAT_LIST_NUMBER | ACTION_SUBJECT_ID.FORMAT_LIST_BULLET, {
|
|
48
52
|
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.KEYBOARD | INPUT_METHOD.FORMATTING | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.FLOATING_TB;
|
|
49
53
|
}>;
|
|
50
|
-
export type FormatEventPayload = FormatBasicAEP | FormatSuperSubAEP | FormatIndentationAEP | FormatHeadingAEP | FormatBlockQuoteAEP | FormatClearAEP | FormatColorAEP | FormatListAEP;
|
|
54
|
+
export type FormatEventPayload = FormatBasicAEP | FormatSuperSubAEP | FormatIndentationAEP | FormatHeadingAEP | FormatSmallTextAEP | FormatBlockQuoteAEP | FormatClearAEP | FormatColorAEP | FormatListAEP;
|
|
51
55
|
export {};
|
|
@@ -23,6 +23,7 @@ export { messages as dateMessages } from './date';
|
|
|
23
23
|
export { toolbarMessages as layoutMessages } from './layout';
|
|
24
24
|
export { messages as indentationMessages } from './indentation';
|
|
25
25
|
export { avatarGroupMessages } from './avatar-group';
|
|
26
|
+
export { smartLinkChangeboardMessages } from './smart-link-changeboard';
|
|
26
27
|
export { findReplaceMessages } from './find-replace';
|
|
27
28
|
export { elementInsertSidePanel } from './element-insert-side-panel';
|
|
28
29
|
export { textColorMessages } from './text-color';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const smartLinkChangeboardMessages: {
|
|
2
|
+
headline: {
|
|
3
|
+
id: string;
|
|
4
|
+
defaultMessage: string;
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
gifAlt: {
|
|
8
|
+
id: string;
|
|
9
|
+
defaultMessage: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
description: {
|
|
13
|
+
id: string;
|
|
14
|
+
defaultMessage: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
dismiss: {
|
|
18
|
+
id: string;
|
|
19
|
+
defaultMessage: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "112.
|
|
3
|
+
"version": "112.5.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/"
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@atlaskit/activity-provider": "^2.5.0",
|
|
33
|
-
"@atlaskit/adf-schema": "^52.
|
|
33
|
+
"@atlaskit/adf-schema": "^52.4.0",
|
|
34
34
|
"@atlaskit/adf-utils": "^19.27.0",
|
|
35
35
|
"@atlaskit/afm-i18n-platform-editor-editor-common": "2.18.0",
|
|
36
36
|
"@atlaskit/analytics-listeners": "^10.0.0",
|