@atlaskit/editor-common 114.44.0 → 114.45.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 +11 -0
- package/dist/cjs/messages/layout.js +2 -2
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/messages/layout.js +2 -2
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/messages/layout.js +2 -2
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/analytics/types/insert-events.d.ts +3 -1
- package/dist/types/analytics/types/node-events.d.ts +12 -2
- package/dist/types-ts4.5/analytics/types/insert-events.d.ts +3 -1
- package/dist/types-ts4.5/analytics/types/node-events.d.ts +12 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 114.45.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`71eaad00529a1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/71eaad00529a1) -
|
|
8
|
+
Support multi-column layout column menu selections
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 114.44.0
|
|
4
15
|
|
|
5
16
|
### Minor Changes
|
|
@@ -133,7 +133,7 @@ var toolbarMessages = exports.toolbarMessages = (0, _reactIntl.defineMessages)({
|
|
|
133
133
|
},
|
|
134
134
|
deleteColumn: {
|
|
135
135
|
id: 'fabric.editor.layout.deleteColumn',
|
|
136
|
-
defaultMessage: 'Delete column',
|
|
137
|
-
description: 'The text is shown as a label for an option that deletes the selected layout column and
|
|
136
|
+
defaultMessage: '{count, plural, one {Delete column} other {Delete columns}}',
|
|
137
|
+
description: 'The text is shown as a label for an option that deletes the selected layout column or columns and their content.'
|
|
138
138
|
}
|
|
139
139
|
});
|
|
@@ -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 = "114.
|
|
22
|
+
var packageVersion = "114.44.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 = "114.
|
|
27
|
+
var packageVersion = "114.44.0";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -127,7 +127,7 @@ export const toolbarMessages = defineMessages({
|
|
|
127
127
|
},
|
|
128
128
|
deleteColumn: {
|
|
129
129
|
id: 'fabric.editor.layout.deleteColumn',
|
|
130
|
-
defaultMessage: 'Delete column',
|
|
131
|
-
description: 'The text is shown as a label for an option that deletes the selected layout column and
|
|
130
|
+
defaultMessage: '{count, plural, one {Delete column} other {Delete columns}}',
|
|
131
|
+
description: 'The text is shown as a label for an option that deletes the selected layout column or columns and their content.'
|
|
132
132
|
}
|
|
133
133
|
});
|
|
@@ -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 = "114.
|
|
7
|
+
const packageVersion = "114.44.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 = "114.
|
|
17
|
+
const packageVersion = "114.44.0";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -127,7 +127,7 @@ export var toolbarMessages = defineMessages({
|
|
|
127
127
|
},
|
|
128
128
|
deleteColumn: {
|
|
129
129
|
id: 'fabric.editor.layout.deleteColumn',
|
|
130
|
-
defaultMessage: 'Delete column',
|
|
131
|
-
description: 'The text is shown as a label for an option that deletes the selected layout column and
|
|
130
|
+
defaultMessage: '{count, plural, one {Delete column} other {Delete columns}}',
|
|
131
|
+
description: 'The text is shown as a label for an option that deletes the selected layout column or columns and their content.'
|
|
132
132
|
}
|
|
133
133
|
});
|
|
@@ -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 = "114.
|
|
13
|
+
var packageVersion = "114.44.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 = "114.
|
|
24
|
+
var packageVersion = "114.44.0";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -113,9 +113,11 @@ type InsertLayoutAEP = InsertAEP<ACTION_SUBJECT_ID.LAYOUT, {
|
|
|
113
113
|
}, undefined>;
|
|
114
114
|
type InsertLayoutColumnAEP = InsertAEP<ACTION_SUBJECT_ID.LAYOUT_COLUMN, {
|
|
115
115
|
columnCount: number;
|
|
116
|
+
endIndex: number;
|
|
116
117
|
inputMethod: INPUT_METHOD.LAYOUT_COLUMN_MENU;
|
|
117
|
-
|
|
118
|
+
selectedCount: number;
|
|
118
119
|
side: 'left' | 'right';
|
|
120
|
+
startIndex: number;
|
|
119
121
|
}, undefined>;
|
|
120
122
|
export type InsertDateAEP = InsertAEP<ACTION_SUBJECT_ID.DATE, {
|
|
121
123
|
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.ELEMENT_BROWSER | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.INLINE_SUGGESTION_FLOATING_TB;
|
|
@@ -56,8 +56,18 @@ type DeletedLayoutAEP = TrackAEP<ACTION.DELETED, ACTION_SUBJECT.LAYOUT, undefine
|
|
|
56
56
|
}, undefined>;
|
|
57
57
|
type DeletedLayoutColumnAEP = TrackAEP<ACTION.DELETED, ACTION_SUBJECT.DOCUMENT, ACTION_SUBJECT_ID.LAYOUT_COLUMN, {
|
|
58
58
|
columnCount: number;
|
|
59
|
+
endIndex: number;
|
|
59
60
|
inputMethod: INPUT_METHOD.LAYOUT_COLUMN_MENU;
|
|
60
|
-
|
|
61
|
+
selectedCount: number;
|
|
62
|
+
startIndex: number;
|
|
63
|
+
}, undefined>;
|
|
64
|
+
type UpdatedLayoutColumnVerticalAlignmentAEP = TrackAEP<ACTION.UPDATED, ACTION_SUBJECT.DOCUMENT, ACTION_SUBJECT_ID.LAYOUT_COLUMN, {
|
|
65
|
+
endIndex: number;
|
|
66
|
+
inputMethod: INPUT_METHOD.LAYOUT_COLUMN_MENU;
|
|
67
|
+
selectedCount: number;
|
|
68
|
+
startIndex: number;
|
|
69
|
+
updatedCount: number;
|
|
70
|
+
valign: 'top' | 'middle' | 'bottom';
|
|
61
71
|
}, undefined>;
|
|
62
72
|
type DeletedExpandAEP = TrackAEP<ACTION.DELETED, ACTION_SUBJECT.EXPAND | ACTION_SUBJECT.NESTED_EXPAND, undefined, {
|
|
63
73
|
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB;
|
|
@@ -69,5 +79,5 @@ type UnsupportedContentAEP = TrackAEP<ACTION.UNSUPPORTED_CONTENT_ENCOUNTERED, AC
|
|
|
69
79
|
type: string;
|
|
70
80
|
};
|
|
71
81
|
}, undefined>;
|
|
72
|
-
export type NodeEventPayload = ChangePanelAEP | DeletePanelAEP | DeletedSmartLink | VisitedSmartLink | VisitedHyperlink | ChangedLayoutAEP | DeletedLayoutAEP | DeletedLayoutColumnAEP | DeletedExpandAEP | NodeDeletedAEP | ChangeSmartLinkAEP | ChangeNativeEmbedAEP | UnsupportedContentAEP;
|
|
82
|
+
export type NodeEventPayload = ChangePanelAEP | DeletePanelAEP | DeletedSmartLink | VisitedSmartLink | VisitedHyperlink | ChangedLayoutAEP | DeletedLayoutAEP | DeletedLayoutColumnAEP | UpdatedLayoutColumnVerticalAlignmentAEP | DeletedExpandAEP | NodeDeletedAEP | ChangeSmartLinkAEP | ChangeNativeEmbedAEP | UnsupportedContentAEP;
|
|
73
83
|
export {};
|
|
@@ -113,9 +113,11 @@ type InsertLayoutAEP = InsertAEP<ACTION_SUBJECT_ID.LAYOUT, {
|
|
|
113
113
|
}, undefined>;
|
|
114
114
|
type InsertLayoutColumnAEP = InsertAEP<ACTION_SUBJECT_ID.LAYOUT_COLUMN, {
|
|
115
115
|
columnCount: number;
|
|
116
|
+
endIndex: number;
|
|
116
117
|
inputMethod: INPUT_METHOD.LAYOUT_COLUMN_MENU;
|
|
117
|
-
|
|
118
|
+
selectedCount: number;
|
|
118
119
|
side: 'left' | 'right';
|
|
120
|
+
startIndex: number;
|
|
119
121
|
}, undefined>;
|
|
120
122
|
export type InsertDateAEP = InsertAEP<ACTION_SUBJECT_ID.DATE, {
|
|
121
123
|
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.ELEMENT_BROWSER | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.INLINE_SUGGESTION_FLOATING_TB;
|
|
@@ -56,8 +56,18 @@ type DeletedLayoutAEP = TrackAEP<ACTION.DELETED, ACTION_SUBJECT.LAYOUT, undefine
|
|
|
56
56
|
}, undefined>;
|
|
57
57
|
type DeletedLayoutColumnAEP = TrackAEP<ACTION.DELETED, ACTION_SUBJECT.DOCUMENT, ACTION_SUBJECT_ID.LAYOUT_COLUMN, {
|
|
58
58
|
columnCount: number;
|
|
59
|
+
endIndex: number;
|
|
59
60
|
inputMethod: INPUT_METHOD.LAYOUT_COLUMN_MENU;
|
|
60
|
-
|
|
61
|
+
selectedCount: number;
|
|
62
|
+
startIndex: number;
|
|
63
|
+
}, undefined>;
|
|
64
|
+
type UpdatedLayoutColumnVerticalAlignmentAEP = TrackAEP<ACTION.UPDATED, ACTION_SUBJECT.DOCUMENT, ACTION_SUBJECT_ID.LAYOUT_COLUMN, {
|
|
65
|
+
endIndex: number;
|
|
66
|
+
inputMethod: INPUT_METHOD.LAYOUT_COLUMN_MENU;
|
|
67
|
+
selectedCount: number;
|
|
68
|
+
startIndex: number;
|
|
69
|
+
updatedCount: number;
|
|
70
|
+
valign: 'top' | 'middle' | 'bottom';
|
|
61
71
|
}, undefined>;
|
|
62
72
|
type DeletedExpandAEP = TrackAEP<ACTION.DELETED, ACTION_SUBJECT.EXPAND | ACTION_SUBJECT.NESTED_EXPAND, undefined, {
|
|
63
73
|
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB;
|
|
@@ -69,5 +79,5 @@ type UnsupportedContentAEP = TrackAEP<ACTION.UNSUPPORTED_CONTENT_ENCOUNTERED, AC
|
|
|
69
79
|
type: string;
|
|
70
80
|
};
|
|
71
81
|
}, undefined>;
|
|
72
|
-
export type NodeEventPayload = ChangePanelAEP | DeletePanelAEP | DeletedSmartLink | VisitedSmartLink | VisitedHyperlink | ChangedLayoutAEP | DeletedLayoutAEP | DeletedLayoutColumnAEP | DeletedExpandAEP | NodeDeletedAEP | ChangeSmartLinkAEP | ChangeNativeEmbedAEP | UnsupportedContentAEP;
|
|
82
|
+
export type NodeEventPayload = ChangePanelAEP | DeletePanelAEP | DeletedSmartLink | VisitedSmartLink | VisitedHyperlink | ChangedLayoutAEP | DeletedLayoutAEP | DeletedLayoutColumnAEP | UpdatedLayoutColumnVerticalAlignmentAEP | DeletedExpandAEP | NodeDeletedAEP | ChangeSmartLinkAEP | ChangeNativeEmbedAEP | UnsupportedContentAEP;
|
|
73
83
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "114.
|
|
3
|
+
"version": "114.45.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/"
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"@atlaskit/textfield": "^8.3.0",
|
|
90
90
|
"@atlaskit/tmp-editor-statsig": "^82.5.0",
|
|
91
91
|
"@atlaskit/tokens": "^13.0.0",
|
|
92
|
-
"@atlaskit/tooltip": "^22.
|
|
92
|
+
"@atlaskit/tooltip": "^22.3.0",
|
|
93
93
|
"@atlaskit/width-detector": "^5.1.0",
|
|
94
94
|
"@babel/runtime": "^7.0.0",
|
|
95
95
|
"@compiled/react": "^0.20.0",
|