@atlaskit/editor-common 107.13.1 → 107.14.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 +12 -0
- package/afm-cc/tsconfig.json +7 -1
- package/afm-jira/tsconfig.json +7 -1
- package/afm-post-office/tsconfig.json +7 -1
- package/afm-rovo-extension/tsconfig.json +7 -1
- package/afm-townsquare/tsconfig.json +7 -1
- package/build/tsconfig.json +7 -1
- package/dist/cjs/messages/index.js +7 -0
- package/dist/cjs/messages/track-changes.js +14 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/messages/index.js +1 -0
- package/dist/es2019/messages/track-changes.js +8 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/messages/index.js +1 -0
- package/dist/esm/messages/track-changes.js +8 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/messages/index.d.ts +1 -0
- package/dist/types/messages/track-changes.d.ts +7 -0
- package/dist/types-ts4.5/messages/index.d.ts +1 -0
- package/dist/types-ts4.5/messages/track-changes.d.ts +7 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 107.14.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#193889](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/193889)
|
|
8
|
+
[`6d4374ce318fd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6d4374ce318fd) -
|
|
9
|
+
[EDITOR-1073] Add i18n for Track Changes button & toggle button on toolbar with plugin option
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 107.13.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -14,7 +14,13 @@
|
|
|
14
14
|
"exclude": [
|
|
15
15
|
"../src/**/__tests__/*",
|
|
16
16
|
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*"
|
|
17
|
+
"../src/**/test.*",
|
|
18
|
+
"../src/**/examples.*",
|
|
19
|
+
"../src/**/examples/*",
|
|
20
|
+
"../src/**/examples/**/*",
|
|
21
|
+
"../src/**/*.stories.*",
|
|
22
|
+
"../src/**/stories/*",
|
|
23
|
+
"../src/**/stories/**/*"
|
|
18
24
|
],
|
|
19
25
|
"references": [
|
|
20
26
|
{
|
package/afm-jira/tsconfig.json
CHANGED
|
@@ -14,7 +14,13 @@
|
|
|
14
14
|
"exclude": [
|
|
15
15
|
"../src/**/__tests__/*",
|
|
16
16
|
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*"
|
|
17
|
+
"../src/**/test.*",
|
|
18
|
+
"../src/**/examples.*",
|
|
19
|
+
"../src/**/examples/*",
|
|
20
|
+
"../src/**/examples/**/*",
|
|
21
|
+
"../src/**/*.stories.*",
|
|
22
|
+
"../src/**/stories/*",
|
|
23
|
+
"../src/**/stories/**/*"
|
|
18
24
|
],
|
|
19
25
|
"references": [
|
|
20
26
|
{
|
|
@@ -14,7 +14,13 @@
|
|
|
14
14
|
"exclude": [
|
|
15
15
|
"../src/**/__tests__/*",
|
|
16
16
|
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*"
|
|
17
|
+
"../src/**/test.*",
|
|
18
|
+
"../src/**/examples.*",
|
|
19
|
+
"../src/**/examples/*",
|
|
20
|
+
"../src/**/examples/**/*",
|
|
21
|
+
"../src/**/*.stories.*",
|
|
22
|
+
"../src/**/stories/*",
|
|
23
|
+
"../src/**/stories/**/*"
|
|
18
24
|
],
|
|
19
25
|
"references": [
|
|
20
26
|
{
|
|
@@ -14,7 +14,13 @@
|
|
|
14
14
|
"exclude": [
|
|
15
15
|
"../src/**/__tests__/*",
|
|
16
16
|
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*"
|
|
17
|
+
"../src/**/test.*",
|
|
18
|
+
"../src/**/examples.*",
|
|
19
|
+
"../src/**/examples/*",
|
|
20
|
+
"../src/**/examples/**/*",
|
|
21
|
+
"../src/**/*.stories.*",
|
|
22
|
+
"../src/**/stories/*",
|
|
23
|
+
"../src/**/stories/**/*"
|
|
18
24
|
],
|
|
19
25
|
"references": [
|
|
20
26
|
{
|
|
@@ -14,7 +14,13 @@
|
|
|
14
14
|
"exclude": [
|
|
15
15
|
"../src/**/__tests__/*",
|
|
16
16
|
"../src/**/*.test.*",
|
|
17
|
-
"../src/**/test.*"
|
|
17
|
+
"../src/**/test.*",
|
|
18
|
+
"../src/**/examples.*",
|
|
19
|
+
"../src/**/examples/*",
|
|
20
|
+
"../src/**/examples/**/*",
|
|
21
|
+
"../src/**/*.stories.*",
|
|
22
|
+
"../src/**/stories/*",
|
|
23
|
+
"../src/**/stories/**/*"
|
|
18
24
|
],
|
|
19
25
|
"references": [
|
|
20
26
|
{
|
package/build/tsconfig.json
CHANGED
|
@@ -12,6 +12,12 @@
|
|
|
12
12
|
"exclude": [
|
|
13
13
|
"../src/**/__tests__/*",
|
|
14
14
|
"../src/**/*.test.*",
|
|
15
|
-
"../src/**/test.*"
|
|
15
|
+
"../src/**/test.*",
|
|
16
|
+
"../src/**/examples.*",
|
|
17
|
+
"../src/**/examples/*",
|
|
18
|
+
"../src/**/examples/**/*",
|
|
19
|
+
"../src/**/*.stories.*",
|
|
20
|
+
"../src/**/stories/*",
|
|
21
|
+
"../src/**/stories/**/*"
|
|
16
22
|
]
|
|
17
23
|
}
|
|
@@ -220,6 +220,12 @@ Object.defineProperty(exports, "toolbarMessages", {
|
|
|
220
220
|
return _toolbar.toolbarMessages;
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
|
+
Object.defineProperty(exports, "trackChangesMessages", {
|
|
224
|
+
enumerable: true,
|
|
225
|
+
get: function get() {
|
|
226
|
+
return _trackChanges.trackChangesMessages;
|
|
227
|
+
}
|
|
228
|
+
});
|
|
223
229
|
Object.defineProperty(exports, "undoRedoMessages", {
|
|
224
230
|
enumerable: true,
|
|
225
231
|
get: function get() {
|
|
@@ -271,6 +277,7 @@ var _mediaInsert = require("./media-insert");
|
|
|
271
277
|
var _selectionExtension = require("./selection-extension");
|
|
272
278
|
var _selectionToolbar = require("./selection-toolbar");
|
|
273
279
|
var _contextPanel = require("./context-panel");
|
|
280
|
+
var _trackChanges = require("./track-changes");
|
|
274
281
|
// Disable no-re-export rule for entry point files
|
|
275
282
|
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
276
283
|
var _default = exports.default = (0, _reactIntlNext.defineMessages)({
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.trackChangesMessages = void 0;
|
|
7
|
+
var _reactIntlNext = require("react-intl-next");
|
|
8
|
+
var trackChangesMessages = exports.trackChangesMessages = (0, _reactIntlNext.defineMessages)({
|
|
9
|
+
toolbarIconLabel: {
|
|
10
|
+
id: 'editor.trackChanges.toolbarIconLabel',
|
|
11
|
+
defaultMessage: 'Track Changes',
|
|
12
|
+
description: 'Label for the track changes toolbar icon'
|
|
13
|
+
}
|
|
14
|
+
});
|
|
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
16
16
|
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); }
|
|
17
17
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
18
18
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
19
|
-
var packageVersion = "107.13.
|
|
19
|
+
var packageVersion = "107.13.1";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// Ignored via go/ees007
|
|
@@ -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 = "107.13.
|
|
26
|
+
var packageVersion = "107.13.1";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -40,6 +40,7 @@ export { mediaInsertMessages } from './media-insert';
|
|
|
40
40
|
export { selectionExtensionMessages } from './selection-extension';
|
|
41
41
|
export { selectionToolbarMessages } from './selection-toolbar';
|
|
42
42
|
export { contextPanelMessages } from './context-panel';
|
|
43
|
+
export { trackChangesMessages } from './track-changes';
|
|
43
44
|
export default defineMessages({
|
|
44
45
|
layoutFixedWidth: {
|
|
45
46
|
id: 'fabric.editor.layoutFixedWidth',
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { defineMessages } from 'react-intl-next';
|
|
2
|
+
export const trackChangesMessages = defineMessages({
|
|
3
|
+
toolbarIconLabel: {
|
|
4
|
+
id: 'editor.trackChanges.toolbarIconLabel',
|
|
5
|
+
defaultMessage: 'Track Changes',
|
|
6
|
+
description: 'Label for the track changes toolbar icon'
|
|
7
|
+
}
|
|
8
|
+
});
|
|
@@ -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 = "107.13.
|
|
4
|
+
const packageVersion = "107.13.1";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// Ignored via go/ees007
|
|
@@ -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 = "107.13.
|
|
16
|
+
const packageVersion = "107.13.1";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -40,6 +40,7 @@ export { mediaInsertMessages } from './media-insert';
|
|
|
40
40
|
export { selectionExtensionMessages } from './selection-extension';
|
|
41
41
|
export { selectionToolbarMessages } from './selection-toolbar';
|
|
42
42
|
export { contextPanelMessages } from './context-panel';
|
|
43
|
+
export { trackChangesMessages } from './track-changes';
|
|
43
44
|
export default defineMessages({
|
|
44
45
|
layoutFixedWidth: {
|
|
45
46
|
id: 'fabric.editor.layoutFixedWidth',
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { defineMessages } from 'react-intl-next';
|
|
2
|
+
export var trackChangesMessages = defineMessages({
|
|
3
|
+
toolbarIconLabel: {
|
|
4
|
+
id: 'editor.trackChanges.toolbarIconLabel',
|
|
5
|
+
defaultMessage: 'Track Changes',
|
|
6
|
+
description: 'Label for the track changes toolbar icon'
|
|
7
|
+
}
|
|
8
|
+
});
|
|
@@ -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 = "107.13.
|
|
10
|
+
var packageVersion = "107.13.1";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// Ignored via go/ees007
|
|
@@ -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 = "107.13.
|
|
23
|
+
var packageVersion = "107.13.1";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -36,6 +36,7 @@ export { mediaInsertMessages } from './media-insert';
|
|
|
36
36
|
export { selectionExtensionMessages } from './selection-extension';
|
|
37
37
|
export { selectionToolbarMessages } from './selection-toolbar';
|
|
38
38
|
export { contextPanelMessages } from './context-panel';
|
|
39
|
+
export { trackChangesMessages } from './track-changes';
|
|
39
40
|
declare const _default: {
|
|
40
41
|
layoutFixedWidth: {
|
|
41
42
|
id: string;
|
|
@@ -36,6 +36,7 @@ export { mediaInsertMessages } from './media-insert';
|
|
|
36
36
|
export { selectionExtensionMessages } from './selection-extension';
|
|
37
37
|
export { selectionToolbarMessages } from './selection-toolbar';
|
|
38
38
|
export { contextPanelMessages } from './context-panel';
|
|
39
|
+
export { trackChangesMessages } from './track-changes';
|
|
39
40
|
declare const _default: {
|
|
40
41
|
layoutFixedWidth: {
|
|
41
42
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "107.
|
|
3
|
+
"version": "107.14.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/"
|
|
@@ -144,8 +144,8 @@
|
|
|
144
144
|
"@atlaskit/icon": "^27.8.0",
|
|
145
145
|
"@atlaskit/icon-object": "^7.1.0",
|
|
146
146
|
"@atlaskit/link": "^3.2.0",
|
|
147
|
-
"@atlaskit/link-datasource": "^4.
|
|
148
|
-
"@atlaskit/link-picker": "^3.
|
|
147
|
+
"@atlaskit/link-datasource": "^4.17.0",
|
|
148
|
+
"@atlaskit/link-picker": "^3.9.0",
|
|
149
149
|
"@atlaskit/media-card": "^79.4.0",
|
|
150
150
|
"@atlaskit/media-client": "^35.2.0",
|
|
151
151
|
"@atlaskit/media-client-react": "^4.1.0",
|
|
@@ -164,14 +164,14 @@
|
|
|
164
164
|
"@atlaskit/profilecard": "^23.21.0",
|
|
165
165
|
"@atlaskit/react-ufo": "^4.1.0",
|
|
166
166
|
"@atlaskit/section-message": "^8.5.0",
|
|
167
|
-
"@atlaskit/smart-card": "^40.
|
|
167
|
+
"@atlaskit/smart-card": "^40.6.0",
|
|
168
168
|
"@atlaskit/smart-user-picker": "^8.0.0",
|
|
169
169
|
"@atlaskit/spinner": "^19.0.0",
|
|
170
170
|
"@atlaskit/status": "^3.0.0",
|
|
171
171
|
"@atlaskit/task-decision": "^19.2.0",
|
|
172
172
|
"@atlaskit/textfield": "^8.0.0",
|
|
173
173
|
"@atlaskit/theme": "^19.0.0",
|
|
174
|
-
"@atlaskit/tmp-editor-statsig": "^9.
|
|
174
|
+
"@atlaskit/tmp-editor-statsig": "^9.18.0",
|
|
175
175
|
"@atlaskit/tokens": "^5.6.0",
|
|
176
176
|
"@atlaskit/tooltip": "^20.4.0",
|
|
177
177
|
"@atlaskit/width-detector": "^5.0.0",
|