@atlaskit/editor-common 114.32.2 → 114.32.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 +11 -0
- package/dist/cjs/messages/block-menu.js +5 -0
- package/dist/cjs/messages/block-type.js +5 -0
- package/dist/cjs/messages/syncBlock.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/messages/block-type.js +5 -0
- package/dist/es2019/messages/syncBlock.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/messages/block-type.js +5 -0
- package/dist/esm/messages/syncBlock.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 +5 -0
- package/dist/types/messages/block-type.d.ts +5 -0
- package/dist/types/messages/syncBlock.d.ts +5 -0
- package/dist/types-ts4.5/messages/block-menu.d.ts +5 -0
- package/dist/types-ts4.5/messages/block-type.d.ts +5 -0
- package/dist/types-ts4.5/messages/syncBlock.d.ts +5 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 114.32.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`81682ab6c4a7f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/81682ab6c4a7f) -
|
|
8
|
+
EDITOR-7104: Update editor block menu copy behind feature gates.
|
|
9
|
+
- Update synced block quick insert and toolbar copy to "Sync block" behind
|
|
10
|
+
`platform_synced_block_patch_12`
|
|
11
|
+
- Update block menu "Turn into" copy to "Change format" behind
|
|
12
|
+
`platform_editor_block_menu_v2_patch_2`
|
|
13
|
+
|
|
3
14
|
## 114.32.2
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -61,6 +61,11 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
61
61
|
defaultMessage: 'Turn into',
|
|
62
62
|
description: 'Turn the selected block into another type'
|
|
63
63
|
},
|
|
64
|
+
changeFormat: {
|
|
65
|
+
id: 'fabric.editor.block.menu.change.format',
|
|
66
|
+
defaultMessage: 'Change format',
|
|
67
|
+
description: 'Change the selected block to another format'
|
|
68
|
+
},
|
|
64
69
|
syncBlock: {
|
|
65
70
|
id: 'fabric.editor.block.menu.sync.block',
|
|
66
71
|
defaultMessage: 'Sync block',
|
|
@@ -161,6 +161,11 @@ var messages = exports.messages = (0, _reactIntl.defineMessages)({
|
|
|
161
161
|
defaultMessage: 'Create synced block',
|
|
162
162
|
description: 'Inserts a synced block that auto-updates content across Atlassian apps'
|
|
163
163
|
},
|
|
164
|
+
syncBlock: {
|
|
165
|
+
id: 'fabric.editor.syncBlock',
|
|
166
|
+
defaultMessage: 'Sync block',
|
|
167
|
+
description: 'Short label for inserting a synced block'
|
|
168
|
+
},
|
|
164
169
|
syncedBlockDescription: {
|
|
165
170
|
id: 'fabric.editor.syncedBlock.description',
|
|
166
171
|
defaultMessage: 'Sync content across multiple locations',
|
|
@@ -146,6 +146,11 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntl.defineMessage
|
|
|
146
146
|
defaultMessage: 'Create synced block',
|
|
147
147
|
description: 'Label for button which creates a new synced block'
|
|
148
148
|
},
|
|
149
|
+
syncBlockLabel: {
|
|
150
|
+
id: 'fabric.editor.syncBlockLabel',
|
|
151
|
+
defaultMessage: 'Sync block',
|
|
152
|
+
description: 'Short label for button which creates a new synced block'
|
|
153
|
+
},
|
|
149
154
|
newLozenge: {
|
|
150
155
|
id: 'fabric.editor.syncBlock.toolbar.newLozenge',
|
|
151
156
|
defaultMessage: 'New',
|
|
@@ -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 = "0.0.0-development";
|
|
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 = "0.0.0-development";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -55,6 +55,11 @@ export const messages = defineMessages({
|
|
|
55
55
|
defaultMessage: 'Turn into',
|
|
56
56
|
description: 'Turn the selected block into another type'
|
|
57
57
|
},
|
|
58
|
+
changeFormat: {
|
|
59
|
+
id: 'fabric.editor.block.menu.change.format',
|
|
60
|
+
defaultMessage: 'Change format',
|
|
61
|
+
description: 'Change the selected block to another format'
|
|
62
|
+
},
|
|
58
63
|
syncBlock: {
|
|
59
64
|
id: 'fabric.editor.block.menu.sync.block',
|
|
60
65
|
defaultMessage: 'Sync block',
|
|
@@ -155,6 +155,11 @@ export const messages = defineMessages({
|
|
|
155
155
|
defaultMessage: 'Create synced block',
|
|
156
156
|
description: 'Inserts a synced block that auto-updates content across Atlassian apps'
|
|
157
157
|
},
|
|
158
|
+
syncBlock: {
|
|
159
|
+
id: 'fabric.editor.syncBlock',
|
|
160
|
+
defaultMessage: 'Sync block',
|
|
161
|
+
description: 'Short label for inserting a synced block'
|
|
162
|
+
},
|
|
158
163
|
syncedBlockDescription: {
|
|
159
164
|
id: 'fabric.editor.syncedBlock.description',
|
|
160
165
|
defaultMessage: 'Sync content across multiple locations',
|
|
@@ -140,6 +140,11 @@ export const syncBlockMessages = defineMessages({
|
|
|
140
140
|
defaultMessage: 'Create synced block',
|
|
141
141
|
description: 'Label for button which creates a new synced block'
|
|
142
142
|
},
|
|
143
|
+
syncBlockLabel: {
|
|
144
|
+
id: 'fabric.editor.syncBlockLabel',
|
|
145
|
+
defaultMessage: 'Sync block',
|
|
146
|
+
description: 'Short label for button which creates a new synced block'
|
|
147
|
+
},
|
|
143
148
|
newLozenge: {
|
|
144
149
|
id: 'fabric.editor.syncBlock.toolbar.newLozenge',
|
|
145
150
|
defaultMessage: 'New',
|
|
@@ -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 = "0.0.0-development";
|
|
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 = "0.0.0-development";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -55,6 +55,11 @@ export var messages = defineMessages({
|
|
|
55
55
|
defaultMessage: 'Turn into',
|
|
56
56
|
description: 'Turn the selected block into another type'
|
|
57
57
|
},
|
|
58
|
+
changeFormat: {
|
|
59
|
+
id: 'fabric.editor.block.menu.change.format',
|
|
60
|
+
defaultMessage: 'Change format',
|
|
61
|
+
description: 'Change the selected block to another format'
|
|
62
|
+
},
|
|
58
63
|
syncBlock: {
|
|
59
64
|
id: 'fabric.editor.block.menu.sync.block',
|
|
60
65
|
defaultMessage: 'Sync block',
|
|
@@ -155,6 +155,11 @@ export var messages = defineMessages({
|
|
|
155
155
|
defaultMessage: 'Create synced block',
|
|
156
156
|
description: 'Inserts a synced block that auto-updates content across Atlassian apps'
|
|
157
157
|
},
|
|
158
|
+
syncBlock: {
|
|
159
|
+
id: 'fabric.editor.syncBlock',
|
|
160
|
+
defaultMessage: 'Sync block',
|
|
161
|
+
description: 'Short label for inserting a synced block'
|
|
162
|
+
},
|
|
158
163
|
syncedBlockDescription: {
|
|
159
164
|
id: 'fabric.editor.syncedBlock.description',
|
|
160
165
|
defaultMessage: 'Sync content across multiple locations',
|
|
@@ -140,6 +140,11 @@ export var syncBlockMessages = defineMessages({
|
|
|
140
140
|
defaultMessage: 'Create synced block',
|
|
141
141
|
description: 'Label for button which creates a new synced block'
|
|
142
142
|
},
|
|
143
|
+
syncBlockLabel: {
|
|
144
|
+
id: 'fabric.editor.syncBlockLabel',
|
|
145
|
+
defaultMessage: 'Sync block',
|
|
146
|
+
description: 'Short label for button which creates a new synced block'
|
|
147
|
+
},
|
|
143
148
|
newLozenge: {
|
|
144
149
|
id: 'fabric.editor.syncBlock.toolbar.newLozenge',
|
|
145
150
|
defaultMessage: 'New',
|
|
@@ -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 = "0.0.0-development";
|
|
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 = "0.0.0-development";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -104,6 +104,11 @@ export declare const messages: {
|
|
|
104
104
|
description: string;
|
|
105
105
|
id: string;
|
|
106
106
|
};
|
|
107
|
+
changeFormat: {
|
|
108
|
+
defaultMessage: string;
|
|
109
|
+
description: string;
|
|
110
|
+
id: string;
|
|
111
|
+
};
|
|
107
112
|
wrapIcon: {
|
|
108
113
|
defaultMessage: string;
|
|
109
114
|
description: string;
|
|
@@ -159,6 +159,11 @@ export declare const messages: {
|
|
|
159
159
|
description: string;
|
|
160
160
|
id: string;
|
|
161
161
|
};
|
|
162
|
+
syncBlock: {
|
|
163
|
+
defaultMessage: string;
|
|
164
|
+
description: string;
|
|
165
|
+
id: string;
|
|
166
|
+
};
|
|
162
167
|
syncedBlockDescription: {
|
|
163
168
|
defaultMessage: string;
|
|
164
169
|
description: string;
|
|
@@ -59,6 +59,11 @@ export declare const syncBlockMessages: {
|
|
|
59
59
|
description: string;
|
|
60
60
|
id: string;
|
|
61
61
|
};
|
|
62
|
+
syncBlockLabel: {
|
|
63
|
+
defaultMessage: string;
|
|
64
|
+
description: string;
|
|
65
|
+
id: string;
|
|
66
|
+
};
|
|
62
67
|
defaultSyncBlockTooltip: {
|
|
63
68
|
defaultMessage: string;
|
|
64
69
|
description: string;
|
|
@@ -104,6 +104,11 @@ export declare const messages: {
|
|
|
104
104
|
description: string;
|
|
105
105
|
id: string;
|
|
106
106
|
};
|
|
107
|
+
changeFormat: {
|
|
108
|
+
defaultMessage: string;
|
|
109
|
+
description: string;
|
|
110
|
+
id: string;
|
|
111
|
+
};
|
|
107
112
|
wrapIcon: {
|
|
108
113
|
defaultMessage: string;
|
|
109
114
|
description: string;
|
|
@@ -159,6 +159,11 @@ export declare const messages: {
|
|
|
159
159
|
description: string;
|
|
160
160
|
id: string;
|
|
161
161
|
};
|
|
162
|
+
syncBlock: {
|
|
163
|
+
defaultMessage: string;
|
|
164
|
+
description: string;
|
|
165
|
+
id: string;
|
|
166
|
+
};
|
|
162
167
|
syncedBlockDescription: {
|
|
163
168
|
defaultMessage: string;
|
|
164
169
|
description: string;
|
|
@@ -59,6 +59,11 @@ export declare const syncBlockMessages: {
|
|
|
59
59
|
description: string;
|
|
60
60
|
id: string;
|
|
61
61
|
};
|
|
62
|
+
syncBlockLabel: {
|
|
63
|
+
defaultMessage: string;
|
|
64
|
+
description: string;
|
|
65
|
+
id: string;
|
|
66
|
+
};
|
|
62
67
|
defaultSyncBlockTooltip: {
|
|
63
68
|
defaultMessage: string;
|
|
64
69
|
description: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "114.32.
|
|
3
|
+
"version": "114.32.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/"
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@atlaskit/editor-tables": "^2.10.0",
|
|
58
58
|
"@atlaskit/editor-toolbar": "^1.5.0",
|
|
59
59
|
"@atlaskit/editor-toolbar-model": "^0.5.0",
|
|
60
|
-
"@atlaskit/emoji": "^70.
|
|
60
|
+
"@atlaskit/emoji": "^70.8.0",
|
|
61
61
|
"@atlaskit/icon": "^34.5.0",
|
|
62
62
|
"@atlaskit/link": "^3.4.0",
|
|
63
63
|
"@atlaskit/link-datasource": "^5.2.0",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"@atlaskit/primitives": "^19.0.0",
|
|
80
80
|
"@atlaskit/profilecard": "^25.6.0",
|
|
81
81
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
82
|
-
"@atlaskit/react-ufo": "^5.
|
|
82
|
+
"@atlaskit/react-ufo": "^5.21.0",
|
|
83
83
|
"@atlaskit/section-message": "^8.12.0",
|
|
84
84
|
"@atlaskit/smart-card": "^44.11.0",
|
|
85
85
|
"@atlaskit/smart-user-picker": "^10.0.0",
|