@atlaskit/editor-common 103.17.1 → 103.19.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 +34 -0
- package/dist/cjs/ai-messages/ai-config-items.js +5 -0
- package/dist/cjs/messages/color-picker-button.js +14 -0
- package/dist/cjs/messages/index.js +7 -0
- package/dist/cjs/messages/status.js +5 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/preset/core-plugin/index.js +11 -0
- package/dist/cjs/styles/shared/blockquote.js +1 -2
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui-menu/ColorPickerButton/index.js +5 -1
- package/dist/cjs/utils/get-dom-ref-from-selection.js +3 -3
- package/dist/es2019/ai-messages/ai-config-items.js +5 -0
- package/dist/es2019/messages/color-picker-button.js +8 -0
- package/dist/es2019/messages/index.js +1 -0
- package/dist/es2019/messages/status.js +5 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/preset/core-plugin/index.js +11 -0
- package/dist/es2019/styles/shared/blockquote.js +1 -2
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui-menu/ColorPickerButton/index.js +6 -1
- package/dist/es2019/utils/get-dom-ref-from-selection.js +3 -3
- package/dist/esm/ai-messages/ai-config-items.js +5 -0
- package/dist/esm/messages/color-picker-button.js +8 -0
- package/dist/esm/messages/index.js +1 -0
- package/dist/esm/messages/status.js +5 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/preset/core-plugin/index.js +11 -0
- package/dist/esm/styles/shared/blockquote.js +1 -2
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui-menu/ColorPickerButton/index.js +5 -1
- package/dist/esm/utils/get-dom-ref-from-selection.js +3 -3
- package/dist/types/ai-messages/ai-config-items.d.ts +5 -0
- package/dist/types/messages/color-picker-button.d.ts +7 -0
- package/dist/types/messages/index.d.ts +1 -0
- package/dist/types/messages/status.d.ts +5 -0
- package/dist/types/utils/get-dom-ref-from-selection.d.ts +2 -2
- package/dist/types-ts4.5/ai-messages/ai-config-items.d.ts +5 -0
- package/dist/types-ts4.5/messages/color-picker-button.d.ts +7 -0
- package/dist/types-ts4.5/messages/index.d.ts +1 -0
- package/dist/types-ts4.5/messages/status.d.ts +5 -0
- package/dist/types-ts4.5/utils/get-dom-ref-from-selection.d.ts +2 -2
- package/package.json +10 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 103.19.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#144658](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/144658)
|
|
8
|
+
[`e59e7f0ae0803`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e59e7f0ae0803) -
|
|
9
|
+
Change to use getDomRefFromSelection utility from editor-common
|
|
10
|
+
- [#146306](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/146306)
|
|
11
|
+
[`93c6e82f28323`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/93c6e82f28323) -
|
|
12
|
+
[EDITOR-588] Avoid a full document replace transaction if the document is unchanged when replacing
|
|
13
|
+
the document
|
|
14
|
+
- [#146282](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/146282)
|
|
15
|
+
[`c3731e806db40`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c3731e806db40) -
|
|
16
|
+
[ux] [A11Y-9995] Internationalise popup label for colour picker & fix test fixtures for it
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- [#147400](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/147400)
|
|
21
|
+
[`800ff50276ed7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/800ff50276ed7) -
|
|
22
|
+
Clean up experiment platform_editor_nested_non_bodied_macros
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
|
|
25
|
+
## 103.18.0
|
|
26
|
+
|
|
27
|
+
### Minor Changes
|
|
28
|
+
|
|
29
|
+
- [#146371](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/146371)
|
|
30
|
+
[`9540ed4b36027`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9540ed4b36027) -
|
|
31
|
+
[A11Y-9995] Add label to Status editor popup
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- Updated dependencies
|
|
36
|
+
|
|
3
37
|
## 103.17.1
|
|
4
38
|
|
|
5
39
|
### Patch Changes
|
|
@@ -58,6 +58,11 @@ var aiConfigItemMessages = exports.aiConfigItemMessages = (0, _reactIntlNext.def
|
|
|
58
58
|
defaultMessage: 'Open in Chat',
|
|
59
59
|
description: 'Tooltip and label for Open in Chat button'
|
|
60
60
|
},
|
|
61
|
+
configActionEdit: {
|
|
62
|
+
id: 'fabric.editor.ai.config.item.action.edit',
|
|
63
|
+
defaultMessage: 'Edit',
|
|
64
|
+
description: 'Edit underlying editor at the current location with AI generated content'
|
|
65
|
+
},
|
|
61
66
|
// Atlas shorten update messages
|
|
62
67
|
atlasShortenUpdatetitle: {
|
|
63
68
|
id: 'fabric.editor.ai.config.item.atlas-shorten-update.title',
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.colorPickerButtonMessages = void 0;
|
|
7
|
+
var _reactIntlNext = require("react-intl-next");
|
|
8
|
+
var colorPickerButtonMessages = exports.colorPickerButtonMessages = (0, _reactIntlNext.defineMessages)({
|
|
9
|
+
colorPickerMenuLabel: {
|
|
10
|
+
id: 'fabric.editor.colorPicker.menuLabel',
|
|
11
|
+
defaultMessage: 'Color picker menu',
|
|
12
|
+
description: 'The label for the color picker menu popup window'
|
|
13
|
+
}
|
|
14
|
+
});
|
|
@@ -57,6 +57,12 @@ Object.defineProperty(exports, "codeBlockButtonMessages", {
|
|
|
57
57
|
return _codeBlockButton.codeBlockButtonMessages;
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
|
+
Object.defineProperty(exports, "colorPickerButtonMessages", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function get() {
|
|
63
|
+
return _colorPickerButton.colorPickerButtonMessages;
|
|
64
|
+
}
|
|
65
|
+
});
|
|
60
66
|
Object.defineProperty(exports, "dateMessages", {
|
|
61
67
|
enumerable: true,
|
|
62
68
|
get: function get() {
|
|
@@ -226,6 +232,7 @@ var _annotation = require("./annotation");
|
|
|
226
232
|
var _breakout = require("./breakout");
|
|
227
233
|
var _blockType = require("./block-type");
|
|
228
234
|
var _codeBidiWarning = require("./codeBidiWarning");
|
|
235
|
+
var _colorPickerButton = require("./color-picker-button");
|
|
229
236
|
var _link = require("./link");
|
|
230
237
|
var _linkToolbar = require("./link-toolbar");
|
|
231
238
|
var _unsupportedContent = require("./unsupportedContent");
|
|
@@ -6,6 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.messages = void 0;
|
|
7
7
|
var _reactIntlNext = require("react-intl-next");
|
|
8
8
|
var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
9
|
+
statusEditorLabel: {
|
|
10
|
+
id: 'fabric.editor.statusEditorLabel',
|
|
11
|
+
defaultMessage: 'Status editor',
|
|
12
|
+
description: 'Label for the status element editor'
|
|
13
|
+
},
|
|
9
14
|
placeholder: {
|
|
10
15
|
id: 'fabric.editor.statusPlaceholder',
|
|
11
16
|
defaultMessage: 'Set a status',
|
|
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
17
17
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
18
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
19
19
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
20
|
-
var packageVersion = "103.
|
|
20
|
+
var packageVersion = "103.19.0";
|
|
21
21
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
22
22
|
// Remove URL as it has UGC
|
|
23
23
|
// Ignored via go/ees007
|
|
@@ -4,6 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.corePlugin = void 0;
|
|
7
|
+
var _model = require("@atlaskit/editor-prosemirror/model");
|
|
8
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
7
9
|
var _processRawValue = require("../../utils/processRawValue");
|
|
8
10
|
var _editorCommands = require("../editor-commands");
|
|
9
11
|
var _requestDocument = require("./requestDocument");
|
|
@@ -60,6 +62,15 @@ var corePlugin = exports.corePlugin = function corePlugin(_ref) {
|
|
|
60
62
|
var state = editorView.state;
|
|
61
63
|
var schema = state.schema;
|
|
62
64
|
var content = options !== null && options !== void 0 && options.skipValidation ? (0, _processRawValue.processRawValueWithoutValidation)(schema, replaceValue) : Array.isArray(replaceValue) ? (0, _processRawValue.processRawFragmentValue)(schema, replaceValue) : (0, _processRawValue.processRawValue)(schema, replaceValue);
|
|
65
|
+
|
|
66
|
+
// Don't replace the document if it's the same document, as full size
|
|
67
|
+
// replace transactions cause issues for collaborative editing and
|
|
68
|
+
// content reconciliation (eg. inline comments getting dropped)
|
|
69
|
+
if (
|
|
70
|
+
// eslint-disable-next-line @atlaskit/platform/no-preconditioning
|
|
71
|
+
(0, _platformFeatureFlags.fg)('platform_editor_replace_document_shortcircuit') && content instanceof _model.Node && state.doc.eq(content)) {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
63
74
|
if (content) {
|
|
64
75
|
var _options$scrollIntoVi2;
|
|
65
76
|
var tr = state.tr.replaceWith(0, state.doc.nodeSize - 2, content);
|
|
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.blockquoteSharedStyles = void 0;
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
9
|
-
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
10
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
10
|
|
|
12
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -54,7 +53,7 @@ var blockquoteSharedStyles = exports.blockquoteSharedStyles = (0, _react.css)({
|
|
|
54
53
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
55
54
|
'> .extensionView-content-wrap:last-child': {
|
|
56
55
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
57
|
-
display:
|
|
56
|
+
display: 'block'
|
|
58
57
|
}
|
|
59
58
|
}
|
|
60
59
|
});
|
|
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
23
23
|
* @jsx jsx
|
|
24
24
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
25
25
|
var packageName = "@atlaskit/editor-common";
|
|
26
|
-
var packageVersion = "103.
|
|
26
|
+
var packageVersion = "103.19.0";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -8,6 +8,7 @@ exports.default = void 0;
|
|
|
8
8
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
10
|
var _react2 = require("@emotion/react");
|
|
11
|
+
var _reactIntlNext = require("react-intl-next");
|
|
11
12
|
var _withAnalyticsContext = _interopRequireDefault(require("@atlaskit/analytics-next/withAnalyticsContext"));
|
|
12
13
|
var _withAnalyticsEvents = _interopRequireDefault(require("@atlaskit/analytics-next/withAnalyticsEvents"));
|
|
13
14
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
@@ -19,6 +20,7 @@ var _primitives = require("@atlaskit/primitives");
|
|
|
19
20
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
20
21
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
21
22
|
var _analytics = require("../../analytics");
|
|
23
|
+
var _colorPickerButton = require("../../messages/color-picker-button");
|
|
22
24
|
var _uiColor = require("../../ui-color");
|
|
23
25
|
var _uiReact = require("../../ui-react");
|
|
24
26
|
var _Popup = _interopRequireDefault(require("../../ui/Popup"));
|
|
@@ -86,6 +88,8 @@ var ColorPickerButton = function ColorPickerButton(props) {
|
|
|
86
88
|
_React$useState6 = (0, _slicedToArray2.default)(_React$useState5, 2),
|
|
87
89
|
isOpenedByKeyboard = _React$useState6[0],
|
|
88
90
|
setIsOpenedByKeyboard = _React$useState6[1];
|
|
91
|
+
var _useIntl = (0, _reactIntlNext.useIntl)(),
|
|
92
|
+
formatMessage = _useIntl.formatMessage;
|
|
89
93
|
var togglePopup = function togglePopup() {
|
|
90
94
|
setIsPopupOpen(!isPopupOpen);
|
|
91
95
|
if (!isPopupOpen) {
|
|
@@ -168,7 +172,7 @@ var ColorPickerButton = function ColorPickerButton(props) {
|
|
|
168
172
|
// we need an index of > 500 to display over it
|
|
169
173
|
,
|
|
170
174
|
zIndex: props.setDisableParentScroll ? 600 : undefined,
|
|
171
|
-
ariaLabel:
|
|
175
|
+
ariaLabel: (0, _platformFeatureFlags.fg)('editor_a11y_aria_label_removal_popup') ? formatMessage(_colorPickerButton.colorPickerButtonMessages.colorPickerMenuLabel) : 'Color picker popup',
|
|
172
176
|
onPositionCalculated: onPositionCalculated
|
|
173
177
|
}, (0, _react2.jsx)("div", {
|
|
174
178
|
css: colorPickerWrapper,
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.getDomRefFromSelection = void 0;
|
|
7
7
|
var _utils = require("@atlaskit/editor-prosemirror/utils");
|
|
8
8
|
var _analytics = require("../analytics");
|
|
9
|
-
var getDomRefFromSelection = exports.getDomRefFromSelection = function getDomRefFromSelection(view, actionSubjectId,
|
|
9
|
+
var getDomRefFromSelection = exports.getDomRefFromSelection = function getDomRefFromSelection(view, actionSubjectId, editorAnalyticsAPI) {
|
|
10
10
|
try {
|
|
11
11
|
var domRef = (0, _utils.findDomRefAtPos)(view.state.selection.from, view.domAtPos.bind(view));
|
|
12
12
|
if (domRef instanceof HTMLElement) {
|
|
@@ -22,7 +22,7 @@ var getDomRefFromSelection = exports.getDomRefFromSelection = function getDomRef
|
|
|
22
22
|
throw new Error('Invalid DOM reference');
|
|
23
23
|
}
|
|
24
24
|
} catch (error) {
|
|
25
|
-
if (
|
|
25
|
+
if (editorAnalyticsAPI) {
|
|
26
26
|
var payload = {
|
|
27
27
|
action: _analytics.ACTION.ERRORED,
|
|
28
28
|
actionSubject: _analytics.ACTION_SUBJECT.PICKER,
|
|
@@ -32,7 +32,7 @@ var getDomRefFromSelection = exports.getDomRefFromSelection = function getDomRef
|
|
|
32
32
|
error: 'Error getting DOM reference from selection'
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
|
-
|
|
35
|
+
editorAnalyticsAPI.fireAnalyticsEvent(payload);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
};
|
|
@@ -52,6 +52,11 @@ export const aiConfigItemMessages = defineMessages({
|
|
|
52
52
|
defaultMessage: 'Open in Chat',
|
|
53
53
|
description: 'Tooltip and label for Open in Chat button'
|
|
54
54
|
},
|
|
55
|
+
configActionEdit: {
|
|
56
|
+
id: 'fabric.editor.ai.config.item.action.edit',
|
|
57
|
+
defaultMessage: 'Edit',
|
|
58
|
+
description: 'Edit underlying editor at the current location with AI generated content'
|
|
59
|
+
},
|
|
55
60
|
// Atlas shorten update messages
|
|
56
61
|
atlasShortenUpdatetitle: {
|
|
57
62
|
id: 'fabric.editor.ai.config.item.atlas-shorten-update.title',
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { defineMessages } from 'react-intl-next';
|
|
2
|
+
export const colorPickerButtonMessages = defineMessages({
|
|
3
|
+
colorPickerMenuLabel: {
|
|
4
|
+
id: 'fabric.editor.colorPicker.menuLabel',
|
|
5
|
+
defaultMessage: 'Color picker menu',
|
|
6
|
+
description: 'The label for the color picker menu popup window'
|
|
7
|
+
}
|
|
8
|
+
});
|
|
@@ -7,6 +7,7 @@ export { annotationMessages } from './annotation';
|
|
|
7
7
|
export { messages as breakoutMessages } from './breakout';
|
|
8
8
|
export { messages as blockTypeMessages } from './block-type';
|
|
9
9
|
export { codeBidiWarningMessages } from './codeBidiWarning';
|
|
10
|
+
export { colorPickerButtonMessages } from './color-picker-button';
|
|
10
11
|
export { linkMessages } from './link';
|
|
11
12
|
export { linkToolbarMessages } from './link-toolbar';
|
|
12
13
|
export { unsupportedContentMessages } from './unsupportedContent';
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
2
|
export const messages = defineMessages({
|
|
3
|
+
statusEditorLabel: {
|
|
4
|
+
id: 'fabric.editor.statusEditorLabel',
|
|
5
|
+
defaultMessage: 'Status editor',
|
|
6
|
+
description: 'Label for the status element editor'
|
|
7
|
+
},
|
|
3
8
|
placeholder: {
|
|
4
9
|
id: 'fabric.editor.statusPlaceholder',
|
|
5
10
|
defaultMessage: 'Set a status',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isFedRamp } from './environment';
|
|
2
2
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
3
3
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
4
|
-
const packageVersion = "103.
|
|
4
|
+
const packageVersion = "103.19.0";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// Ignored via go/ees007
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Node } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
1
3
|
import { processRawFragmentValue, processRawValue, processRawValueWithoutValidation } from '../../utils/processRawValue';
|
|
2
4
|
import { editorCommandToPMCommand } from '../editor-commands';
|
|
3
5
|
import { createThrottleSchedule, returnDocumentRequest } from './requestDocument';
|
|
@@ -62,6 +64,15 @@ export const corePlugin = ({
|
|
|
62
64
|
schema
|
|
63
65
|
} = state;
|
|
64
66
|
const content = options !== null && options !== void 0 && options.skipValidation ? processRawValueWithoutValidation(schema, replaceValue) : Array.isArray(replaceValue) ? processRawFragmentValue(schema, replaceValue) : processRawValue(schema, replaceValue);
|
|
67
|
+
|
|
68
|
+
// Don't replace the document if it's the same document, as full size
|
|
69
|
+
// replace transactions cause issues for collaborative editing and
|
|
70
|
+
// content reconciliation (eg. inline comments getting dropped)
|
|
71
|
+
if (
|
|
72
|
+
// eslint-disable-next-line @atlaskit/platform/no-preconditioning
|
|
73
|
+
fg('platform_editor_replace_document_shortcircuit') && content instanceof Node && state.doc.eq(content)) {
|
|
74
|
+
return false;
|
|
75
|
+
}
|
|
65
76
|
if (content) {
|
|
66
77
|
var _options$scrollIntoVi2;
|
|
67
78
|
const tr = state.tr.replaceWith(0, state.doc.nodeSize - 2, content);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
3
|
import { akEditorBlockquoteBorderColor, blockNodesVerticalMargin } from '@atlaskit/editor-shared-styles';
|
|
4
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
5
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
6
5
|
export const blockquoteSharedStyles = css({
|
|
7
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -47,7 +46,7 @@ export const blockquoteSharedStyles = css({
|
|
|
47
46
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
48
47
|
'> .extensionView-content-wrap:last-child': {
|
|
49
48
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
50
|
-
display:
|
|
49
|
+
display: 'block'
|
|
51
50
|
}
|
|
52
51
|
}
|
|
53
52
|
});
|
|
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
13
13
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
14
14
|
import Layer from '../Layer';
|
|
15
15
|
const packageName = "@atlaskit/editor-common";
|
|
16
|
-
const packageVersion = "103.
|
|
16
|
+
const packageVersion = "103.19.0";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -6,6 +6,7 @@ import React from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
|
+
import { useIntl } from 'react-intl-next';
|
|
9
10
|
import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
|
|
10
11
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
11
12
|
import Button from '@atlaskit/button/new';
|
|
@@ -17,6 +18,7 @@ import { Box, xcss, Inline } from '@atlaskit/primitives';
|
|
|
17
18
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
18
19
|
import Tooltip from '@atlaskit/tooltip';
|
|
19
20
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, editorAnalyticsChannel, EVENT_TYPE } from '../../analytics';
|
|
21
|
+
import { colorPickerButtonMessages } from '../../messages/color-picker-button';
|
|
20
22
|
import { ColorPalette, DEFAULT_BORDER_COLOR, getSelectedRowAndColumnFromPalette } from '../../ui-color';
|
|
21
23
|
import { withReactEditorViewOuterListeners } from '../../ui-react';
|
|
22
24
|
import { default as Popup } from '../../ui/Popup';
|
|
@@ -67,6 +69,9 @@ const ColorPickerButton = props => {
|
|
|
67
69
|
const [isPopupOpen, setIsPopupOpen] = React.useState(false);
|
|
68
70
|
const [isPopupPositioned, setIsPopupPositioned] = React.useState(false);
|
|
69
71
|
const [isOpenedByKeyboard, setIsOpenedByKeyboard] = React.useState(false);
|
|
72
|
+
const {
|
|
73
|
+
formatMessage
|
|
74
|
+
} = useIntl();
|
|
70
75
|
const togglePopup = () => {
|
|
71
76
|
setIsPopupOpen(!isPopupOpen);
|
|
72
77
|
if (!isPopupOpen) {
|
|
@@ -150,7 +155,7 @@ const ColorPickerButton = props => {
|
|
|
150
155
|
// we need an index of > 500 to display over it
|
|
151
156
|
,
|
|
152
157
|
zIndex: props.setDisableParentScroll ? 600 : undefined,
|
|
153
|
-
ariaLabel:
|
|
158
|
+
ariaLabel: fg('editor_a11y_aria_label_removal_popup') ? formatMessage(colorPickerButtonMessages.colorPickerMenuLabel) : 'Color picker popup',
|
|
154
159
|
onPositionCalculated: onPositionCalculated
|
|
155
160
|
}, jsx("div", {
|
|
156
161
|
css: colorPickerWrapper,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
|
|
2
2
|
import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '../analytics';
|
|
3
|
-
export const getDomRefFromSelection = (view, actionSubjectId,
|
|
3
|
+
export const getDomRefFromSelection = (view, actionSubjectId, editorAnalyticsAPI) => {
|
|
4
4
|
try {
|
|
5
5
|
const domRef = findDomRefAtPos(view.state.selection.from, view.domAtPos.bind(view));
|
|
6
6
|
if (domRef instanceof HTMLElement) {
|
|
@@ -16,7 +16,7 @@ export const getDomRefFromSelection = (view, actionSubjectId, dispatchAnalyticsE
|
|
|
16
16
|
throw new Error('Invalid DOM reference');
|
|
17
17
|
}
|
|
18
18
|
} catch (error) {
|
|
19
|
-
if (
|
|
19
|
+
if (editorAnalyticsAPI) {
|
|
20
20
|
const payload = {
|
|
21
21
|
action: ACTION.ERRORED,
|
|
22
22
|
actionSubject: ACTION_SUBJECT.PICKER,
|
|
@@ -26,7 +26,7 @@ export const getDomRefFromSelection = (view, actionSubjectId, dispatchAnalyticsE
|
|
|
26
26
|
error: 'Error getting DOM reference from selection'
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
|
-
|
|
29
|
+
editorAnalyticsAPI.fireAnalyticsEvent(payload);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
};
|
|
@@ -52,6 +52,11 @@ export var aiConfigItemMessages = defineMessages({
|
|
|
52
52
|
defaultMessage: 'Open in Chat',
|
|
53
53
|
description: 'Tooltip and label for Open in Chat button'
|
|
54
54
|
},
|
|
55
|
+
configActionEdit: {
|
|
56
|
+
id: 'fabric.editor.ai.config.item.action.edit',
|
|
57
|
+
defaultMessage: 'Edit',
|
|
58
|
+
description: 'Edit underlying editor at the current location with AI generated content'
|
|
59
|
+
},
|
|
55
60
|
// Atlas shorten update messages
|
|
56
61
|
atlasShortenUpdatetitle: {
|
|
57
62
|
id: 'fabric.editor.ai.config.item.atlas-shorten-update.title',
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { defineMessages } from 'react-intl-next';
|
|
2
|
+
export var colorPickerButtonMessages = defineMessages({
|
|
3
|
+
colorPickerMenuLabel: {
|
|
4
|
+
id: 'fabric.editor.colorPicker.menuLabel',
|
|
5
|
+
defaultMessage: 'Color picker menu',
|
|
6
|
+
description: 'The label for the color picker menu popup window'
|
|
7
|
+
}
|
|
8
|
+
});
|
|
@@ -7,6 +7,7 @@ export { annotationMessages } from './annotation';
|
|
|
7
7
|
export { messages as breakoutMessages } from './breakout';
|
|
8
8
|
export { messages as blockTypeMessages } from './block-type';
|
|
9
9
|
export { codeBidiWarningMessages } from './codeBidiWarning';
|
|
10
|
+
export { colorPickerButtonMessages } from './color-picker-button';
|
|
10
11
|
export { linkMessages } from './link';
|
|
11
12
|
export { linkToolbarMessages } from './link-toolbar';
|
|
12
13
|
export { unsupportedContentMessages } from './unsupportedContent';
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
2
|
export var messages = defineMessages({
|
|
3
|
+
statusEditorLabel: {
|
|
4
|
+
id: 'fabric.editor.statusEditorLabel',
|
|
5
|
+
defaultMessage: 'Status editor',
|
|
6
|
+
description: 'Label for the status element editor'
|
|
7
|
+
},
|
|
3
8
|
placeholder: {
|
|
4
9
|
id: 'fabric.editor.statusPlaceholder',
|
|
5
10
|
defaultMessage: 'Set a status',
|
|
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
7
7
|
import { isFedRamp } from './environment';
|
|
8
8
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
9
9
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
10
|
-
var packageVersion = "103.
|
|
10
|
+
var packageVersion = "103.19.0";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// Ignored via go/ees007
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { Node } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
1
3
|
import { processRawFragmentValue, processRawValue, processRawValueWithoutValidation } from '../../utils/processRawValue';
|
|
2
4
|
import { editorCommandToPMCommand } from '../editor-commands';
|
|
3
5
|
import { createThrottleSchedule, returnDocumentRequest } from './requestDocument';
|
|
@@ -55,6 +57,15 @@ export var corePlugin = function corePlugin(_ref) {
|
|
|
55
57
|
var state = editorView.state;
|
|
56
58
|
var schema = state.schema;
|
|
57
59
|
var content = options !== null && options !== void 0 && options.skipValidation ? processRawValueWithoutValidation(schema, replaceValue) : Array.isArray(replaceValue) ? processRawFragmentValue(schema, replaceValue) : processRawValue(schema, replaceValue);
|
|
60
|
+
|
|
61
|
+
// Don't replace the document if it's the same document, as full size
|
|
62
|
+
// replace transactions cause issues for collaborative editing and
|
|
63
|
+
// content reconciliation (eg. inline comments getting dropped)
|
|
64
|
+
if (
|
|
65
|
+
// eslint-disable-next-line @atlaskit/platform/no-preconditioning
|
|
66
|
+
fg('platform_editor_replace_document_shortcircuit') && content instanceof Node && state.doc.eq(content)) {
|
|
67
|
+
return false;
|
|
68
|
+
}
|
|
58
69
|
if (content) {
|
|
59
70
|
var _options$scrollIntoVi2;
|
|
60
71
|
var tr = state.tr.replaceWith(0, state.doc.nodeSize - 2, content);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
2
|
import { css } from '@emotion/react';
|
|
3
3
|
import { akEditorBlockquoteBorderColor, blockNodesVerticalMargin } from '@atlaskit/editor-shared-styles';
|
|
4
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
5
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
6
5
|
export var blockquoteSharedStyles = css({
|
|
7
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
@@ -47,7 +46,7 @@ export var blockquoteSharedStyles = css({
|
|
|
47
46
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
48
47
|
'> .extensionView-content-wrap:last-child': {
|
|
49
48
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
50
|
-
display:
|
|
49
|
+
display: 'block'
|
|
51
50
|
}
|
|
52
51
|
}
|
|
53
52
|
});
|
|
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
20
20
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
21
21
|
import Layer from '../Layer';
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "103.
|
|
23
|
+
var packageVersion = "103.19.0";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -7,6 +7,7 @@ import React from 'react';
|
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
|
+
import { useIntl } from 'react-intl-next';
|
|
10
11
|
import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
|
|
11
12
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
12
13
|
import Button from '@atlaskit/button/new';
|
|
@@ -18,6 +19,7 @@ import { Box, xcss, Inline } from '@atlaskit/primitives';
|
|
|
18
19
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
19
20
|
import Tooltip from '@atlaskit/tooltip';
|
|
20
21
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, editorAnalyticsChannel, EVENT_TYPE } from '../../analytics';
|
|
22
|
+
import { colorPickerButtonMessages } from '../../messages/color-picker-button';
|
|
21
23
|
import { ColorPalette, DEFAULT_BORDER_COLOR, getSelectedRowAndColumnFromPalette } from '../../ui-color';
|
|
22
24
|
import { withReactEditorViewOuterListeners } from '../../ui-react';
|
|
23
25
|
import { default as Popup } from '../../ui/Popup';
|
|
@@ -79,6 +81,8 @@ var ColorPickerButton = function ColorPickerButton(props) {
|
|
|
79
81
|
_React$useState6 = _slicedToArray(_React$useState5, 2),
|
|
80
82
|
isOpenedByKeyboard = _React$useState6[0],
|
|
81
83
|
setIsOpenedByKeyboard = _React$useState6[1];
|
|
84
|
+
var _useIntl = useIntl(),
|
|
85
|
+
formatMessage = _useIntl.formatMessage;
|
|
82
86
|
var togglePopup = function togglePopup() {
|
|
83
87
|
setIsPopupOpen(!isPopupOpen);
|
|
84
88
|
if (!isPopupOpen) {
|
|
@@ -161,7 +165,7 @@ var ColorPickerButton = function ColorPickerButton(props) {
|
|
|
161
165
|
// we need an index of > 500 to display over it
|
|
162
166
|
,
|
|
163
167
|
zIndex: props.setDisableParentScroll ? 600 : undefined,
|
|
164
|
-
ariaLabel:
|
|
168
|
+
ariaLabel: fg('editor_a11y_aria_label_removal_popup') ? formatMessage(colorPickerButtonMessages.colorPickerMenuLabel) : 'Color picker popup',
|
|
165
169
|
onPositionCalculated: onPositionCalculated
|
|
166
170
|
}, jsx("div", {
|
|
167
171
|
css: colorPickerWrapper,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
|
|
2
2
|
import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '../analytics';
|
|
3
|
-
export var getDomRefFromSelection = function getDomRefFromSelection(view, actionSubjectId,
|
|
3
|
+
export var getDomRefFromSelection = function getDomRefFromSelection(view, actionSubjectId, editorAnalyticsAPI) {
|
|
4
4
|
try {
|
|
5
5
|
var domRef = findDomRefAtPos(view.state.selection.from, view.domAtPos.bind(view));
|
|
6
6
|
if (domRef instanceof HTMLElement) {
|
|
@@ -16,7 +16,7 @@ export var getDomRefFromSelection = function getDomRefFromSelection(view, action
|
|
|
16
16
|
throw new Error('Invalid DOM reference');
|
|
17
17
|
}
|
|
18
18
|
} catch (error) {
|
|
19
|
-
if (
|
|
19
|
+
if (editorAnalyticsAPI) {
|
|
20
20
|
var payload = {
|
|
21
21
|
action: ACTION.ERRORED,
|
|
22
22
|
actionSubject: ACTION_SUBJECT.PICKER,
|
|
@@ -26,7 +26,7 @@ export var getDomRefFromSelection = function getDomRefFromSelection(view, action
|
|
|
26
26
|
error: 'Error getting DOM reference from selection'
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
|
-
|
|
29
|
+
editorAnalyticsAPI.fireAnalyticsEvent(payload);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
};
|
|
@@ -49,6 +49,11 @@ export declare const aiConfigItemMessages: {
|
|
|
49
49
|
defaultMessage: string;
|
|
50
50
|
description: string;
|
|
51
51
|
};
|
|
52
|
+
configActionEdit: {
|
|
53
|
+
id: string;
|
|
54
|
+
defaultMessage: string;
|
|
55
|
+
description: string;
|
|
56
|
+
};
|
|
52
57
|
atlasShortenUpdatetitle: {
|
|
53
58
|
id: string;
|
|
54
59
|
defaultMessage: string;
|
|
@@ -3,6 +3,7 @@ export { annotationMessages } from './annotation';
|
|
|
3
3
|
export { messages as breakoutMessages } from './breakout';
|
|
4
4
|
export { messages as blockTypeMessages } from './block-type';
|
|
5
5
|
export { codeBidiWarningMessages } from './codeBidiWarning';
|
|
6
|
+
export { colorPickerButtonMessages } from './color-picker-button';
|
|
6
7
|
export { linkMessages } from './link';
|
|
7
8
|
export { linkToolbarMessages } from './link-toolbar';
|
|
8
9
|
export { unsupportedContentMessages } from './unsupportedContent';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
2
|
-
import type {
|
|
2
|
+
import type { EditorAnalyticsAPI } from '../analytics';
|
|
3
3
|
import { ACTION_SUBJECT_ID } from '../analytics';
|
|
4
|
-
export declare const getDomRefFromSelection: (view: EditorView, actionSubjectId: ACTION_SUBJECT_ID.PICKER_MEDIA | ACTION_SUBJECT_ID.PICKER_TABLE_SIZE | ACTION_SUBJECT_ID.PICKER_EMOJI,
|
|
4
|
+
export declare const getDomRefFromSelection: (view: EditorView, actionSubjectId: ACTION_SUBJECT_ID.PICKER_MEDIA | ACTION_SUBJECT_ID.PICKER_TABLE_SIZE | ACTION_SUBJECT_ID.PICKER_EMOJI, editorAnalyticsAPI?: EditorAnalyticsAPI) => HTMLElement | undefined;
|
|
@@ -49,6 +49,11 @@ export declare const aiConfigItemMessages: {
|
|
|
49
49
|
defaultMessage: string;
|
|
50
50
|
description: string;
|
|
51
51
|
};
|
|
52
|
+
configActionEdit: {
|
|
53
|
+
id: string;
|
|
54
|
+
defaultMessage: string;
|
|
55
|
+
description: string;
|
|
56
|
+
};
|
|
52
57
|
atlasShortenUpdatetitle: {
|
|
53
58
|
id: string;
|
|
54
59
|
defaultMessage: string;
|
|
@@ -3,6 +3,7 @@ export { annotationMessages } from './annotation';
|
|
|
3
3
|
export { messages as breakoutMessages } from './breakout';
|
|
4
4
|
export { messages as blockTypeMessages } from './block-type';
|
|
5
5
|
export { codeBidiWarningMessages } from './codeBidiWarning';
|
|
6
|
+
export { colorPickerButtonMessages } from './color-picker-button';
|
|
6
7
|
export { linkMessages } from './link';
|
|
7
8
|
export { linkToolbarMessages } from './link-toolbar';
|
|
8
9
|
export { unsupportedContentMessages } from './unsupportedContent';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
2
|
-
import type {
|
|
2
|
+
import type { EditorAnalyticsAPI } from '../analytics';
|
|
3
3
|
import { ACTION_SUBJECT_ID } from '../analytics';
|
|
4
|
-
export declare const getDomRefFromSelection: (view: EditorView, actionSubjectId: ACTION_SUBJECT_ID.PICKER_MEDIA | ACTION_SUBJECT_ID.PICKER_TABLE_SIZE | ACTION_SUBJECT_ID.PICKER_EMOJI,
|
|
4
|
+
export declare const getDomRefFromSelection: (view: EditorView, actionSubjectId: ACTION_SUBJECT_ID.PICKER_MEDIA | ACTION_SUBJECT_ID.PICKER_TABLE_SIZE | ACTION_SUBJECT_ID.PICKER_EMOJI, editorAnalyticsAPI?: EditorAnalyticsAPI) => HTMLElement | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "103.
|
|
3
|
+
"version": "103.19.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/"
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"@atlaskit/analytics-next": "^11.0.0",
|
|
128
128
|
"@atlaskit/atlassian-context": "^0.2.0",
|
|
129
129
|
"@atlaskit/button": "^23.0.0",
|
|
130
|
-
"@atlaskit/code": "^17.
|
|
130
|
+
"@atlaskit/code": "^17.1.0",
|
|
131
131
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
132
132
|
"@atlaskit/css": "^0.10.0",
|
|
133
133
|
"@atlaskit/custom-steps": "^0.11.0",
|
|
@@ -156,16 +156,16 @@
|
|
|
156
156
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
157
157
|
"@atlaskit/popper": "^7.0.0",
|
|
158
158
|
"@atlaskit/primitives": "^14.4.0",
|
|
159
|
-
"@atlaskit/profilecard": "^23.
|
|
160
|
-
"@atlaskit/react-ufo": "^3.
|
|
159
|
+
"@atlaskit/profilecard": "^23.9.0",
|
|
160
|
+
"@atlaskit/react-ufo": "^3.8.0",
|
|
161
161
|
"@atlaskit/section-message": "^8.2.0",
|
|
162
|
-
"@atlaskit/smart-card": "^36.
|
|
162
|
+
"@atlaskit/smart-card": "^36.11.0",
|
|
163
163
|
"@atlaskit/smart-user-picker": "^8.0.0",
|
|
164
164
|
"@atlaskit/spinner": "^18.0.0",
|
|
165
|
-
"@atlaskit/task-decision": "^19.
|
|
165
|
+
"@atlaskit/task-decision": "^19.2.0",
|
|
166
166
|
"@atlaskit/textfield": "^8.0.0",
|
|
167
167
|
"@atlaskit/theme": "^18.0.0",
|
|
168
|
-
"@atlaskit/tmp-editor-statsig": "^4.
|
|
168
|
+
"@atlaskit/tmp-editor-statsig": "^4.15.0",
|
|
169
169
|
"@atlaskit/tokens": "^4.8.0",
|
|
170
170
|
"@atlaskit/tooltip": "^20.0.0",
|
|
171
171
|
"@atlaskit/width-detector": "^5.0.0",
|
|
@@ -351,6 +351,9 @@
|
|
|
351
351
|
"platform_editor_controls_table_picker": {
|
|
352
352
|
"type": "boolean"
|
|
353
353
|
},
|
|
354
|
+
"platform_editor_replace_document_shortcircuit": {
|
|
355
|
+
"type": "boolean"
|
|
356
|
+
},
|
|
354
357
|
"platform_editor_hyperlink_underline": {
|
|
355
358
|
"type": "boolean"
|
|
356
359
|
},
|