@atlaskit/editor-common 112.13.7 → 112.13.9
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 +14 -0
- package/dist/cjs/messages/block-menu.js +5 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/messages/block-menu.js +5 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/messages/block-menu.js +5 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/messages/block-menu.d.ts +47 -42
- package/dist/types-ts4.5/messages/block-menu.d.ts +47 -42
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 112.13.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`6c3e67fec342f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6c3e67fec342f) -
|
|
8
|
+
Rename copyLink message to copy with defaultMessage 'Copy' in block-menu messages
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 112.13.8
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 112.13.7
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -21,6 +21,11 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
21
21
|
defaultMessage: 'Move down',
|
|
22
22
|
description: 'Move the selected block down in the document'
|
|
23
23
|
},
|
|
24
|
+
copy: {
|
|
25
|
+
id: 'fabric.editor.block.menu.copy',
|
|
26
|
+
defaultMessage: 'Copy',
|
|
27
|
+
description: 'Copy the selected content to the clipboard'
|
|
28
|
+
},
|
|
24
29
|
copyLink: {
|
|
25
30
|
id: 'fabric.editor.block.menu.copy.link',
|
|
26
31
|
defaultMessage: 'Copy link',
|
|
@@ -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 = "112.13.
|
|
22
|
+
var packageVersion = "112.13.8";
|
|
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 = "112.13.
|
|
27
|
+
var packageVersion = "112.13.8";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -15,6 +15,11 @@ export const messages = defineMessages({
|
|
|
15
15
|
defaultMessage: 'Move down',
|
|
16
16
|
description: 'Move the selected block down in the document'
|
|
17
17
|
},
|
|
18
|
+
copy: {
|
|
19
|
+
id: 'fabric.editor.block.menu.copy',
|
|
20
|
+
defaultMessage: 'Copy',
|
|
21
|
+
description: 'Copy the selected content to the clipboard'
|
|
22
|
+
},
|
|
18
23
|
copyLink: {
|
|
19
24
|
id: 'fabric.editor.block.menu.copy.link',
|
|
20
25
|
defaultMessage: 'Copy link',
|
|
@@ -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 = "112.13.
|
|
7
|
+
const packageVersion = "112.13.8";
|
|
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 = "112.13.
|
|
17
|
+
const packageVersion = "112.13.8";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -15,6 +15,11 @@ export var messages = defineMessages({
|
|
|
15
15
|
defaultMessage: 'Move down',
|
|
16
16
|
description: 'Move the selected block down in the document'
|
|
17
17
|
},
|
|
18
|
+
copy: {
|
|
19
|
+
id: 'fabric.editor.block.menu.copy',
|
|
20
|
+
defaultMessage: 'Copy',
|
|
21
|
+
description: 'Copy the selected content to the clipboard'
|
|
22
|
+
},
|
|
18
23
|
copyLink: {
|
|
19
24
|
id: 'fabric.editor.block.menu.copy.link',
|
|
20
25
|
defaultMessage: 'Copy link',
|
|
@@ -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 = "112.13.
|
|
13
|
+
var packageVersion = "112.13.8";
|
|
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 = "112.13.
|
|
24
|
+
var packageVersion = "112.13.8";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -1,122 +1,127 @@
|
|
|
1
1
|
export declare const messages: {
|
|
2
|
-
|
|
3
|
-
id: string;
|
|
2
|
+
codeBlock: {
|
|
4
3
|
defaultMessage: string;
|
|
5
4
|
description: string;
|
|
6
|
-
};
|
|
7
|
-
moveUpBlock: {
|
|
8
5
|
id: string;
|
|
6
|
+
};
|
|
7
|
+
copy: {
|
|
9
8
|
defaultMessage: string;
|
|
10
9
|
description: string;
|
|
11
|
-
};
|
|
12
|
-
moveDownBlock: {
|
|
13
10
|
id: string;
|
|
11
|
+
};
|
|
12
|
+
copyBlock: {
|
|
14
13
|
defaultMessage: string;
|
|
15
14
|
description: string;
|
|
15
|
+
id: string;
|
|
16
16
|
};
|
|
17
17
|
copyLink: {
|
|
18
|
-
id: string;
|
|
19
18
|
defaultMessage: string;
|
|
20
19
|
description: string;
|
|
20
|
+
id: string;
|
|
21
21
|
};
|
|
22
22
|
copyLinkToBlock: {
|
|
23
|
-
id: string;
|
|
24
23
|
defaultMessage: string;
|
|
25
24
|
description: string;
|
|
25
|
+
id: string;
|
|
26
26
|
};
|
|
27
27
|
copyLinkToSelection: {
|
|
28
|
-
id: string;
|
|
29
28
|
defaultMessage: string;
|
|
30
29
|
description: string;
|
|
31
|
-
};
|
|
32
|
-
linkCopiedToClipboard: {
|
|
33
30
|
id: string;
|
|
31
|
+
};
|
|
32
|
+
copySyncedBlock: {
|
|
34
33
|
defaultMessage: string;
|
|
35
34
|
description: string;
|
|
36
|
-
};
|
|
37
|
-
paragraph: {
|
|
38
35
|
id: string;
|
|
36
|
+
};
|
|
37
|
+
create: {
|
|
39
38
|
defaultMessage: string;
|
|
40
39
|
description: string;
|
|
41
|
-
};
|
|
42
|
-
codeBlock: {
|
|
43
40
|
id: string;
|
|
41
|
+
};
|
|
42
|
+
createSyncedBlock: {
|
|
44
43
|
defaultMessage: string;
|
|
45
44
|
description: string;
|
|
46
|
-
};
|
|
47
|
-
layout: {
|
|
48
45
|
id: string;
|
|
46
|
+
};
|
|
47
|
+
decisionList: {
|
|
49
48
|
defaultMessage: string;
|
|
50
49
|
description: string;
|
|
50
|
+
id: string;
|
|
51
51
|
};
|
|
52
52
|
deleteBlock: {
|
|
53
|
-
id: string;
|
|
54
53
|
defaultMessage: string;
|
|
55
54
|
description: string;
|
|
56
|
-
};
|
|
57
|
-
turnInto: {
|
|
58
55
|
id: string;
|
|
56
|
+
};
|
|
57
|
+
fallbackMenuItem: {
|
|
59
58
|
defaultMessage: string;
|
|
60
59
|
description: string;
|
|
61
|
-
};
|
|
62
|
-
createSyncedBlock: {
|
|
63
60
|
id: string;
|
|
61
|
+
};
|
|
62
|
+
fallbackNestedMenu: {
|
|
64
63
|
defaultMessage: string;
|
|
65
64
|
description: string;
|
|
66
|
-
};
|
|
67
|
-
syncBlock: {
|
|
68
65
|
id: string;
|
|
66
|
+
};
|
|
67
|
+
headings: {
|
|
69
68
|
defaultMessage: string;
|
|
70
69
|
description: string;
|
|
71
|
-
};
|
|
72
|
-
copySyncedBlock: {
|
|
73
70
|
id: string;
|
|
71
|
+
};
|
|
72
|
+
layout: {
|
|
74
73
|
defaultMessage: string;
|
|
75
74
|
description: string;
|
|
76
|
-
};
|
|
77
|
-
newLozenge: {
|
|
78
75
|
id: string;
|
|
76
|
+
};
|
|
77
|
+
linkCopiedToClipboard: {
|
|
79
78
|
defaultMessage: string;
|
|
80
79
|
description: string;
|
|
81
|
-
};
|
|
82
|
-
decisionList: {
|
|
83
80
|
id: string;
|
|
81
|
+
};
|
|
82
|
+
moveDownBlock: {
|
|
84
83
|
defaultMessage: string;
|
|
85
84
|
description: string;
|
|
86
|
-
};
|
|
87
|
-
wrapIcon: {
|
|
88
85
|
id: string;
|
|
86
|
+
};
|
|
87
|
+
moveUpBlock: {
|
|
89
88
|
defaultMessage: string;
|
|
90
89
|
description: string;
|
|
91
|
-
};
|
|
92
|
-
create: {
|
|
93
90
|
id: string;
|
|
91
|
+
};
|
|
92
|
+
newLozenge: {
|
|
94
93
|
defaultMessage: string;
|
|
95
94
|
description: string;
|
|
95
|
+
id: string;
|
|
96
96
|
};
|
|
97
|
-
|
|
97
|
+
paragraph: {
|
|
98
|
+
defaultMessage: string;
|
|
99
|
+
description: string;
|
|
98
100
|
id: string;
|
|
101
|
+
};
|
|
102
|
+
structure: {
|
|
99
103
|
defaultMessage: string;
|
|
100
104
|
description: string;
|
|
105
|
+
id: string;
|
|
101
106
|
};
|
|
102
107
|
suggested: {
|
|
103
|
-
id: string;
|
|
104
108
|
defaultMessage: string;
|
|
105
109
|
description: string;
|
|
106
|
-
};
|
|
107
|
-
structure: {
|
|
108
110
|
id: string;
|
|
111
|
+
};
|
|
112
|
+
syncBlock: {
|
|
109
113
|
defaultMessage: string;
|
|
110
114
|
description: string;
|
|
111
|
-
};
|
|
112
|
-
fallbackNestedMenu: {
|
|
113
115
|
id: string;
|
|
116
|
+
};
|
|
117
|
+
turnInto: {
|
|
114
118
|
defaultMessage: string;
|
|
115
119
|
description: string;
|
|
116
|
-
};
|
|
117
|
-
fallbackMenuItem: {
|
|
118
120
|
id: string;
|
|
121
|
+
};
|
|
122
|
+
wrapIcon: {
|
|
119
123
|
defaultMessage: string;
|
|
120
124
|
description: string;
|
|
125
|
+
id: string;
|
|
121
126
|
};
|
|
122
127
|
};
|
|
@@ -1,122 +1,127 @@
|
|
|
1
1
|
export declare const messages: {
|
|
2
|
-
|
|
3
|
-
id: string;
|
|
2
|
+
codeBlock: {
|
|
4
3
|
defaultMessage: string;
|
|
5
4
|
description: string;
|
|
6
|
-
};
|
|
7
|
-
moveUpBlock: {
|
|
8
5
|
id: string;
|
|
6
|
+
};
|
|
7
|
+
copy: {
|
|
9
8
|
defaultMessage: string;
|
|
10
9
|
description: string;
|
|
11
|
-
};
|
|
12
|
-
moveDownBlock: {
|
|
13
10
|
id: string;
|
|
11
|
+
};
|
|
12
|
+
copyBlock: {
|
|
14
13
|
defaultMessage: string;
|
|
15
14
|
description: string;
|
|
15
|
+
id: string;
|
|
16
16
|
};
|
|
17
17
|
copyLink: {
|
|
18
|
-
id: string;
|
|
19
18
|
defaultMessage: string;
|
|
20
19
|
description: string;
|
|
20
|
+
id: string;
|
|
21
21
|
};
|
|
22
22
|
copyLinkToBlock: {
|
|
23
|
-
id: string;
|
|
24
23
|
defaultMessage: string;
|
|
25
24
|
description: string;
|
|
25
|
+
id: string;
|
|
26
26
|
};
|
|
27
27
|
copyLinkToSelection: {
|
|
28
|
-
id: string;
|
|
29
28
|
defaultMessage: string;
|
|
30
29
|
description: string;
|
|
31
|
-
};
|
|
32
|
-
linkCopiedToClipboard: {
|
|
33
30
|
id: string;
|
|
31
|
+
};
|
|
32
|
+
copySyncedBlock: {
|
|
34
33
|
defaultMessage: string;
|
|
35
34
|
description: string;
|
|
36
|
-
};
|
|
37
|
-
paragraph: {
|
|
38
35
|
id: string;
|
|
36
|
+
};
|
|
37
|
+
create: {
|
|
39
38
|
defaultMessage: string;
|
|
40
39
|
description: string;
|
|
41
|
-
};
|
|
42
|
-
codeBlock: {
|
|
43
40
|
id: string;
|
|
41
|
+
};
|
|
42
|
+
createSyncedBlock: {
|
|
44
43
|
defaultMessage: string;
|
|
45
44
|
description: string;
|
|
46
|
-
};
|
|
47
|
-
layout: {
|
|
48
45
|
id: string;
|
|
46
|
+
};
|
|
47
|
+
decisionList: {
|
|
49
48
|
defaultMessage: string;
|
|
50
49
|
description: string;
|
|
50
|
+
id: string;
|
|
51
51
|
};
|
|
52
52
|
deleteBlock: {
|
|
53
|
-
id: string;
|
|
54
53
|
defaultMessage: string;
|
|
55
54
|
description: string;
|
|
56
|
-
};
|
|
57
|
-
turnInto: {
|
|
58
55
|
id: string;
|
|
56
|
+
};
|
|
57
|
+
fallbackMenuItem: {
|
|
59
58
|
defaultMessage: string;
|
|
60
59
|
description: string;
|
|
61
|
-
};
|
|
62
|
-
createSyncedBlock: {
|
|
63
60
|
id: string;
|
|
61
|
+
};
|
|
62
|
+
fallbackNestedMenu: {
|
|
64
63
|
defaultMessage: string;
|
|
65
64
|
description: string;
|
|
66
|
-
};
|
|
67
|
-
syncBlock: {
|
|
68
65
|
id: string;
|
|
66
|
+
};
|
|
67
|
+
headings: {
|
|
69
68
|
defaultMessage: string;
|
|
70
69
|
description: string;
|
|
71
|
-
};
|
|
72
|
-
copySyncedBlock: {
|
|
73
70
|
id: string;
|
|
71
|
+
};
|
|
72
|
+
layout: {
|
|
74
73
|
defaultMessage: string;
|
|
75
74
|
description: string;
|
|
76
|
-
};
|
|
77
|
-
newLozenge: {
|
|
78
75
|
id: string;
|
|
76
|
+
};
|
|
77
|
+
linkCopiedToClipboard: {
|
|
79
78
|
defaultMessage: string;
|
|
80
79
|
description: string;
|
|
81
|
-
};
|
|
82
|
-
decisionList: {
|
|
83
80
|
id: string;
|
|
81
|
+
};
|
|
82
|
+
moveDownBlock: {
|
|
84
83
|
defaultMessage: string;
|
|
85
84
|
description: string;
|
|
86
|
-
};
|
|
87
|
-
wrapIcon: {
|
|
88
85
|
id: string;
|
|
86
|
+
};
|
|
87
|
+
moveUpBlock: {
|
|
89
88
|
defaultMessage: string;
|
|
90
89
|
description: string;
|
|
91
|
-
};
|
|
92
|
-
create: {
|
|
93
90
|
id: string;
|
|
91
|
+
};
|
|
92
|
+
newLozenge: {
|
|
94
93
|
defaultMessage: string;
|
|
95
94
|
description: string;
|
|
95
|
+
id: string;
|
|
96
96
|
};
|
|
97
|
-
|
|
97
|
+
paragraph: {
|
|
98
|
+
defaultMessage: string;
|
|
99
|
+
description: string;
|
|
98
100
|
id: string;
|
|
101
|
+
};
|
|
102
|
+
structure: {
|
|
99
103
|
defaultMessage: string;
|
|
100
104
|
description: string;
|
|
105
|
+
id: string;
|
|
101
106
|
};
|
|
102
107
|
suggested: {
|
|
103
|
-
id: string;
|
|
104
108
|
defaultMessage: string;
|
|
105
109
|
description: string;
|
|
106
|
-
};
|
|
107
|
-
structure: {
|
|
108
110
|
id: string;
|
|
111
|
+
};
|
|
112
|
+
syncBlock: {
|
|
109
113
|
defaultMessage: string;
|
|
110
114
|
description: string;
|
|
111
|
-
};
|
|
112
|
-
fallbackNestedMenu: {
|
|
113
115
|
id: string;
|
|
116
|
+
};
|
|
117
|
+
turnInto: {
|
|
114
118
|
defaultMessage: string;
|
|
115
119
|
description: string;
|
|
116
|
-
};
|
|
117
|
-
fallbackMenuItem: {
|
|
118
120
|
id: string;
|
|
121
|
+
};
|
|
122
|
+
wrapIcon: {
|
|
119
123
|
defaultMessage: string;
|
|
120
124
|
description: string;
|
|
125
|
+
id: string;
|
|
121
126
|
};
|
|
122
127
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "112.13.
|
|
3
|
+
"version": "112.13.9",
|
|
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/"
|
|
@@ -71,16 +71,16 @@
|
|
|
71
71
|
"@atlaskit/platform-feature-flags-react": "^0.4.0",
|
|
72
72
|
"@atlaskit/popper": "^7.1.0",
|
|
73
73
|
"@atlaskit/primitives": "^18.1.0",
|
|
74
|
-
"@atlaskit/profilecard": "^24.
|
|
74
|
+
"@atlaskit/profilecard": "^24.46.0",
|
|
75
75
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
76
76
|
"@atlaskit/react-ufo": "^5.8.0",
|
|
77
77
|
"@atlaskit/section-message": "^8.12.0",
|
|
78
|
-
"@atlaskit/smart-card": "^43.
|
|
78
|
+
"@atlaskit/smart-card": "^43.29.0",
|
|
79
79
|
"@atlaskit/smart-user-picker": "^9.2.0",
|
|
80
80
|
"@atlaskit/spinner": "^19.0.0",
|
|
81
81
|
"@atlaskit/task-decision": "^19.3.0",
|
|
82
82
|
"@atlaskit/textfield": "^8.2.0",
|
|
83
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
83
|
+
"@atlaskit/tmp-editor-statsig": "^52.0.0",
|
|
84
84
|
"@atlaskit/tokens": "^11.4.0",
|
|
85
85
|
"@atlaskit/tooltip": "^21.0.0",
|
|
86
86
|
"@atlaskit/width-detector": "^5.0.0",
|