@atlaskit/editor-common 110.36.6 → 110.36.8
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 +19 -0
- package/dist/cjs/messages/context-panel.js +5 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/utils/commands.js +2 -2
- package/dist/es2019/messages/context-panel.js +5 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/utils/commands.js +2 -2
- package/dist/esm/messages/context-panel.js +5 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/utils/commands.js +2 -2
- package/dist/types/analytics/index.d.ts +1 -1
- package/dist/types/analytics/types/ai-unified-events.d.ts +5 -0
- package/dist/types/messages/context-panel.d.ts +5 -0
- package/dist/types-ts4.5/analytics/index.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/ai-unified-events.d.ts +5 -0
- package/dist/types-ts4.5/messages/context-panel.d.ts +5 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 110.36.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`00c08e3995cb2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/00c08e3995cb2) -
|
|
8
|
+
Clean up platform_editor_block_menu_empty_line
|
|
9
|
+
- [`32da92aaf953d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/32da92aaf953d) -
|
|
10
|
+
Fix scrollable-region-focusable accessibility violation by adding tabIndex to context panel
|
|
11
|
+
content
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 110.36.7
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- [`2cbe9332dcaad`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2cbe9332dcaad) -
|
|
19
|
+
Added isStreamingEnded attribute in discard and dismissed analytics event.
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 110.36.6
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -10,5 +10,10 @@ var contextPanelMessages = exports.contextPanelMessages = (0, _reactIntlNext.def
|
|
|
10
10
|
id: 'fabric.editor.contextPanel.panelLabel',
|
|
11
11
|
defaultMessage: 'Context panel',
|
|
12
12
|
description: 'Label for the context panel'
|
|
13
|
+
},
|
|
14
|
+
panelContentLabel: {
|
|
15
|
+
id: 'fabric.editor.contextPanel.panelContentLabel',
|
|
16
|
+
defaultMessage: 'Scrollable context panel content',
|
|
17
|
+
description: 'Label for the context panel content'
|
|
13
18
|
}
|
|
14
19
|
});
|
|
@@ -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 = "
|
|
22
|
+
var packageVersion = "110.36.7";
|
|
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 = "
|
|
27
|
+
var packageVersion = "110.36.7";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -193,7 +193,7 @@ function canMoveUp(state) {
|
|
|
193
193
|
if (selection instanceof _state.NodeSelection && (0, _nodes.isMediaNode)(selection.node)) {
|
|
194
194
|
return true;
|
|
195
195
|
}
|
|
196
|
-
if (selection instanceof _state.TextSelection && !(
|
|
196
|
+
if (selection instanceof _state.TextSelection && !(0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_block_menu', 'isEnabled', true)) {
|
|
197
197
|
if (!selection.empty) {
|
|
198
198
|
return true;
|
|
199
199
|
}
|
|
@@ -209,7 +209,7 @@ function canMoveDown(state) {
|
|
|
209
209
|
if (selection instanceof _state.NodeSelection && (0, _nodes.isMediaNode)(selection.node)) {
|
|
210
210
|
return true;
|
|
211
211
|
}
|
|
212
|
-
if (selection instanceof _state.TextSelection && !(
|
|
212
|
+
if (selection instanceof _state.TextSelection && !(0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_block_menu', 'isEnabled', true)) {
|
|
213
213
|
if (!selection.empty) {
|
|
214
214
|
return true;
|
|
215
215
|
}
|
|
@@ -4,5 +4,10 @@ export const contextPanelMessages = defineMessages({
|
|
|
4
4
|
id: 'fabric.editor.contextPanel.panelLabel',
|
|
5
5
|
defaultMessage: 'Context panel',
|
|
6
6
|
description: 'Label for the context panel'
|
|
7
|
+
},
|
|
8
|
+
panelContentLabel: {
|
|
9
|
+
id: 'fabric.editor.contextPanel.panelContentLabel',
|
|
10
|
+
defaultMessage: 'Scrollable context panel content',
|
|
11
|
+
description: 'Label for the context panel content'
|
|
7
12
|
}
|
|
8
13
|
});
|
|
@@ -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 = "
|
|
7
|
+
const packageVersion = "110.36.7";
|
|
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 = "
|
|
17
|
+
const packageVersion = "110.36.7";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -186,7 +186,7 @@ function canMoveUp(state) {
|
|
|
186
186
|
if (selection instanceof NodeSelection && isMediaNode(selection.node)) {
|
|
187
187
|
return true;
|
|
188
188
|
}
|
|
189
|
-
if (selection instanceof TextSelection && !
|
|
189
|
+
if (selection instanceof TextSelection && !expValEqualsNoExposure('platform_editor_block_menu', 'isEnabled', true)) {
|
|
190
190
|
if (!selection.empty) {
|
|
191
191
|
return true;
|
|
192
192
|
}
|
|
@@ -204,7 +204,7 @@ function canMoveDown(state) {
|
|
|
204
204
|
if (selection instanceof NodeSelection && isMediaNode(selection.node)) {
|
|
205
205
|
return true;
|
|
206
206
|
}
|
|
207
|
-
if (selection instanceof TextSelection && !
|
|
207
|
+
if (selection instanceof TextSelection && !expValEqualsNoExposure('platform_editor_block_menu', 'isEnabled', true)) {
|
|
208
208
|
if (!selection.empty) {
|
|
209
209
|
return true;
|
|
210
210
|
}
|
|
@@ -4,5 +4,10 @@ export var contextPanelMessages = defineMessages({
|
|
|
4
4
|
id: 'fabric.editor.contextPanel.panelLabel',
|
|
5
5
|
defaultMessage: 'Context panel',
|
|
6
6
|
description: 'Label for the context panel'
|
|
7
|
+
},
|
|
8
|
+
panelContentLabel: {
|
|
9
|
+
id: 'fabric.editor.contextPanel.panelContentLabel',
|
|
10
|
+
defaultMessage: 'Scrollable context panel content',
|
|
11
|
+
description: 'Label for the context panel content'
|
|
7
12
|
}
|
|
8
13
|
});
|
|
@@ -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 = "
|
|
13
|
+
var packageVersion = "110.36.7";
|
|
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 = "
|
|
24
|
+
var packageVersion = "110.36.7";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -180,7 +180,7 @@ function canMoveUp(state) {
|
|
|
180
180
|
if (selection instanceof NodeSelection && isMediaNode(selection.node)) {
|
|
181
181
|
return true;
|
|
182
182
|
}
|
|
183
|
-
if (selection instanceof TextSelection && !
|
|
183
|
+
if (selection instanceof TextSelection && !expValEqualsNoExposure('platform_editor_block_menu', 'isEnabled', true)) {
|
|
184
184
|
if (!selection.empty) {
|
|
185
185
|
return true;
|
|
186
186
|
}
|
|
@@ -196,7 +196,7 @@ function canMoveDown(state) {
|
|
|
196
196
|
if (selection instanceof NodeSelection && isMediaNode(selection.node)) {
|
|
197
197
|
return true;
|
|
198
198
|
}
|
|
199
|
-
if (selection instanceof TextSelection && !
|
|
199
|
+
if (selection instanceof TextSelection && !expValEqualsNoExposure('platform_editor_block_menu', 'isEnabled', true)) {
|
|
200
200
|
if (!selection.empty) {
|
|
201
201
|
return true;
|
|
202
202
|
}
|
|
@@ -53,4 +53,4 @@ export { type TelepointerClickPayload } from './types/telepointer-events';
|
|
|
53
53
|
export { type NcsSessionStepEventAEP, type NcsSessionStepMetrics, } from './types/ncs-session-step-events';
|
|
54
54
|
export type { BlockMenuEventPayload } from './types/block-menu-events';
|
|
55
55
|
export type { BreakoutEventPayload, BreakoutSupportedNodes } from './types/breakout-events';
|
|
56
|
-
export type { RendererSyncBlockEventPayload, SyncBlockEventPayload } from './types/sync-block-events';
|
|
56
|
+
export type { RendererSyncBlockEventPayload, SyncBlockEventPayload, } from './types/sync-block-events';
|
|
@@ -10,6 +10,11 @@ export type AIUnifiedCommonAttributes = {
|
|
|
10
10
|
aiInteractionID: string;
|
|
11
11
|
invokedFrom?: string;
|
|
12
12
|
isAIFeature: 1;
|
|
13
|
+
/**
|
|
14
|
+
* Remove below flag when AIFC is fully rolled out in Jira, only required for old experience in Jira.
|
|
15
|
+
* Because in AFIC, if dismissed event is fired, it means the streaming has not ended.
|
|
16
|
+
*/
|
|
17
|
+
isStreamingEnded?: boolean;
|
|
13
18
|
/**
|
|
14
19
|
* Nudge metrics will be used passed in analytics events.
|
|
15
20
|
* It is currently only set when "Improve writing" is triggered from the
|
|
@@ -53,4 +53,4 @@ export { type TelepointerClickPayload } from './types/telepointer-events';
|
|
|
53
53
|
export { type NcsSessionStepEventAEP, type NcsSessionStepMetrics, } from './types/ncs-session-step-events';
|
|
54
54
|
export type { BlockMenuEventPayload } from './types/block-menu-events';
|
|
55
55
|
export type { BreakoutEventPayload, BreakoutSupportedNodes } from './types/breakout-events';
|
|
56
|
-
export type { RendererSyncBlockEventPayload, SyncBlockEventPayload } from './types/sync-block-events';
|
|
56
|
+
export type { RendererSyncBlockEventPayload, SyncBlockEventPayload, } from './types/sync-block-events';
|
|
@@ -10,6 +10,11 @@ export type AIUnifiedCommonAttributes = {
|
|
|
10
10
|
aiInteractionID: string;
|
|
11
11
|
invokedFrom?: string;
|
|
12
12
|
isAIFeature: 1;
|
|
13
|
+
/**
|
|
14
|
+
* Remove below flag when AIFC is fully rolled out in Jira, only required for old experience in Jira.
|
|
15
|
+
* Because in AFIC, if dismissed event is fired, it means the streaming has not ended.
|
|
16
|
+
*/
|
|
17
|
+
isStreamingEnded?: boolean;
|
|
13
18
|
/**
|
|
14
19
|
* Nudge metrics will be used passed in analytics events.
|
|
15
20
|
* It is currently only set when "Improve writing" is triggered from the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "110.36.
|
|
3
|
+
"version": "110.36.8",
|
|
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/"
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"@atlaskit/media-file-preview": "^0.15.0",
|
|
63
63
|
"@atlaskit/media-picker": "^70.1.0",
|
|
64
64
|
"@atlaskit/media-ui": "^28.7.0",
|
|
65
|
-
"@atlaskit/media-viewer": "^52.
|
|
65
|
+
"@atlaskit/media-viewer": "^52.5.0",
|
|
66
66
|
"@atlaskit/mention": "^24.4.0",
|
|
67
67
|
"@atlaskit/menu": "^8.4.0",
|
|
68
68
|
"@atlaskit/onboarding": "^14.4.0",
|
|
@@ -74,14 +74,14 @@
|
|
|
74
74
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
75
75
|
"@atlaskit/react-ufo": "^4.15.0",
|
|
76
76
|
"@atlaskit/section-message": "^8.9.0",
|
|
77
|
-
"@atlaskit/smart-card": "^43.
|
|
77
|
+
"@atlaskit/smart-card": "^43.12.0",
|
|
78
78
|
"@atlaskit/smart-user-picker": "^8.4.0",
|
|
79
79
|
"@atlaskit/spinner": "^19.0.0",
|
|
80
80
|
"@atlaskit/status": "^3.0.0",
|
|
81
81
|
"@atlaskit/task-decision": "^19.2.0",
|
|
82
82
|
"@atlaskit/textfield": "^8.1.0",
|
|
83
83
|
"@atlaskit/theme": "^21.0.0",
|
|
84
|
-
"@atlaskit/tmp-editor-statsig": "^14.
|
|
84
|
+
"@atlaskit/tmp-editor-statsig": "^14.4.0",
|
|
85
85
|
"@atlaskit/tokens": "^8.4.0",
|
|
86
86
|
"@atlaskit/tooltip": "^20.10.0",
|
|
87
87
|
"@atlaskit/width-detector": "^5.0.0",
|