@atlaskit/editor-common 115.0.2 → 115.0.3
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 +8 -0
- package/dist/cjs/messages/media-insert.js +10 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/messages/media-insert.js +10 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/messages/media-insert.js +10 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/messages/media-insert.d.ts +10 -0
- package/dist/types-ts4.5/messages/media-insert.d.ts +10 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 115.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`883d14f6d3052`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/883d14f6d3052) -
|
|
8
|
+
[EDITOR-7439] [M0] Update `upload` tab copy
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 115.0.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -80,5 +80,15 @@ var mediaInsertMessages = exports.mediaInsertMessages = (0, _reactIntl.defineMes
|
|
|
80
80
|
id: 'fabric.editor.media.insert.invalidUrlErrorMessage',
|
|
81
81
|
defaultMessage: 'Invalid link',
|
|
82
82
|
description: 'Error message displayed when a user tries to insert media from an invalid URL'
|
|
83
|
+
},
|
|
84
|
+
uploadTabTitle: {
|
|
85
|
+
id: 'fabric.editor.media.insert.uploadTabTitle',
|
|
86
|
+
defaultMessage: 'Upload',
|
|
87
|
+
description: 'Title of the navigation tab that allows users to upload local media files'
|
|
88
|
+
},
|
|
89
|
+
chooseFile: {
|
|
90
|
+
id: 'fabric.editor.media.insert.chooseFile',
|
|
91
|
+
defaultMessage: 'Choose a file',
|
|
92
|
+
description: 'Text on a button that opens a file picker dialog to choose a local media file'
|
|
83
93
|
}
|
|
84
94
|
});
|
|
@@ -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 _t2 in e) "default" !== _t2 && {}.hasOwnProperty.call(e, _t2) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t2)) && (i.get || i.set) ? o(f, _t2, i) : f[_t2] = e[_t2]); 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 = "115.0.
|
|
22
|
+
var packageVersion = "115.0.2";
|
|
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 = "115.0.
|
|
27
|
+
var packageVersion = "115.0.2";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -74,5 +74,15 @@ export const mediaInsertMessages = defineMessages({
|
|
|
74
74
|
id: 'fabric.editor.media.insert.invalidUrlErrorMessage',
|
|
75
75
|
defaultMessage: 'Invalid link',
|
|
76
76
|
description: 'Error message displayed when a user tries to insert media from an invalid URL'
|
|
77
|
+
},
|
|
78
|
+
uploadTabTitle: {
|
|
79
|
+
id: 'fabric.editor.media.insert.uploadTabTitle',
|
|
80
|
+
defaultMessage: 'Upload',
|
|
81
|
+
description: 'Title of the navigation tab that allows users to upload local media files'
|
|
82
|
+
},
|
|
83
|
+
chooseFile: {
|
|
84
|
+
id: 'fabric.editor.media.insert.chooseFile',
|
|
85
|
+
defaultMessage: 'Choose a file',
|
|
86
|
+
description: 'Text on a button that opens a file picker dialog to choose a local media file'
|
|
77
87
|
}
|
|
78
88
|
});
|
|
@@ -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 = "115.0.
|
|
7
|
+
const packageVersion = "115.0.2";
|
|
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 = "115.0.
|
|
17
|
+
const packageVersion = "115.0.2";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -74,5 +74,15 @@ export var mediaInsertMessages = defineMessages({
|
|
|
74
74
|
id: 'fabric.editor.media.insert.invalidUrlErrorMessage',
|
|
75
75
|
defaultMessage: 'Invalid link',
|
|
76
76
|
description: 'Error message displayed when a user tries to insert media from an invalid URL'
|
|
77
|
+
},
|
|
78
|
+
uploadTabTitle: {
|
|
79
|
+
id: 'fabric.editor.media.insert.uploadTabTitle',
|
|
80
|
+
defaultMessage: 'Upload',
|
|
81
|
+
description: 'Title of the navigation tab that allows users to upload local media files'
|
|
82
|
+
},
|
|
83
|
+
chooseFile: {
|
|
84
|
+
id: 'fabric.editor.media.insert.chooseFile',
|
|
85
|
+
defaultMessage: 'Choose a file',
|
|
86
|
+
description: 'Text on a button that opens a file picker dialog to choose a local media file'
|
|
77
87
|
}
|
|
78
88
|
});
|
|
@@ -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 = "115.0.
|
|
13
|
+
var packageVersion = "115.0.2";
|
|
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 = "115.0.
|
|
24
|
+
var packageVersion = "115.0.2";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -4,6 +4,11 @@ export declare const mediaInsertMessages: {
|
|
|
4
4
|
description: string;
|
|
5
5
|
id: string;
|
|
6
6
|
};
|
|
7
|
+
chooseFile: {
|
|
8
|
+
defaultMessage: string;
|
|
9
|
+
description: string;
|
|
10
|
+
id: string;
|
|
11
|
+
};
|
|
7
12
|
fileTabTitle: {
|
|
8
13
|
defaultMessage: string;
|
|
9
14
|
description: string;
|
|
@@ -74,4 +79,9 @@ export declare const mediaInsertMessages: {
|
|
|
74
79
|
description: string;
|
|
75
80
|
id: string;
|
|
76
81
|
};
|
|
82
|
+
uploadTabTitle: {
|
|
83
|
+
defaultMessage: string;
|
|
84
|
+
description: string;
|
|
85
|
+
id: string;
|
|
86
|
+
};
|
|
77
87
|
};
|
|
@@ -4,6 +4,11 @@ export declare const mediaInsertMessages: {
|
|
|
4
4
|
description: string;
|
|
5
5
|
id: string;
|
|
6
6
|
};
|
|
7
|
+
chooseFile: {
|
|
8
|
+
defaultMessage: string;
|
|
9
|
+
description: string;
|
|
10
|
+
id: string;
|
|
11
|
+
};
|
|
7
12
|
fileTabTitle: {
|
|
8
13
|
defaultMessage: string;
|
|
9
14
|
description: string;
|
|
@@ -74,4 +79,9 @@ export declare const mediaInsertMessages: {
|
|
|
74
79
|
description: string;
|
|
75
80
|
id: string;
|
|
76
81
|
};
|
|
82
|
+
uploadTabTitle: {
|
|
83
|
+
defaultMessage: string;
|
|
84
|
+
description: string;
|
|
85
|
+
id: string;
|
|
86
|
+
};
|
|
77
87
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "115.0.
|
|
3
|
+
"version": "115.0.3",
|
|
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/"
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"@atlaskit/task-decision": "^20.1.0",
|
|
88
88
|
"@atlaskit/teams-app-config": "^1.12.0",
|
|
89
89
|
"@atlaskit/textfield": "^8.3.0",
|
|
90
|
-
"@atlaskit/tmp-editor-statsig": "^88.
|
|
90
|
+
"@atlaskit/tmp-editor-statsig": "^88.4.0",
|
|
91
91
|
"@atlaskit/tokens": "^13.1.0",
|
|
92
92
|
"@atlaskit/tooltip": "^22.6.0",
|
|
93
93
|
"@atlaskit/width-detector": "^5.1.0",
|