@atlaskit/editor-common 116.35.1 → 116.35.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 +15 -0
- package/dist/cjs/extensibility/Extension/Extension/index.js +1 -3
- package/dist/cjs/extensibility/MultiBodiedExtension/index.js +1 -2
- package/dist/cjs/messages/placeholder-text.js +0 -5
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/extensibility/Extension/Extension/index.js +1 -3
- package/dist/es2019/extensibility/MultiBodiedExtension/index.js +1 -2
- package/dist/es2019/messages/placeholder-text.js +0 -5
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/extensibility/Extension/Extension/index.js +1 -3
- package/dist/esm/extensibility/MultiBodiedExtension/index.js +1 -2
- package/dist/esm/messages/placeholder-text.js +0 -5
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/messages/placeholder-text.d.ts +16 -21
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 116.35.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`c5a6973a90849`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c5a6973a90849) -
|
|
8
|
+
Revert the multi-bodied extension empty frame placeholder.
|
|
9
|
+
|
|
10
|
+
## 116.35.2
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`d73da6cdded98`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d73da6cdded98) -
|
|
15
|
+
Clean up experiment `confluence_max_width_breakout_extension_fix` (now permanently enabled)
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 116.35.1
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -85,9 +85,7 @@ function ExtensionWithPluginState(props) {
|
|
|
85
85
|
var layout = node.attrs.layout;
|
|
86
86
|
var legacyShouldBreakout = ['full-width', 'wide'].includes(layout) && isTopLevelNode && editorAppearance !== 'full-width';
|
|
87
87
|
var tinymceFullWidthModeEnabled = (0, _expValEquals.expValEquals)('confluence_max_width_content_appearance', 'isEnabled', true);
|
|
88
|
-
var
|
|
89
|
-
var shouldUseBreakoutFix = tinymceFullWidthModeEnabled && breakoutExtensionFixEnabled;
|
|
90
|
-
var shouldBreakout = shouldUseBreakoutFix ? (0, _shouldExtensionBreakout.shouldExtensionBreakout)({
|
|
88
|
+
var shouldBreakout = tinymceFullWidthModeEnabled ? (0, _shouldExtensionBreakout.shouldExtensionBreakout)({
|
|
91
89
|
layout: layout,
|
|
92
90
|
isTopLevelNode: isTopLevelNode,
|
|
93
91
|
editorAppearance: editorAppearance
|
|
@@ -225,8 +225,7 @@ var MultiBodiedExtensionWithWidth = function MultiBodiedExtensionWithWidth(_ref2
|
|
|
225
225
|
var layout = node.attrs.layout;
|
|
226
226
|
var legacyShouldBreakout = ['full-width', 'wide'].includes(layout) && editorAppearance !== 'full-width';
|
|
227
227
|
var tinymceFullWidthModeEnabled = (0, _expValEquals.expValEquals)('confluence_max_width_content_appearance', 'isEnabled', true);
|
|
228
|
-
var
|
|
229
|
-
var shouldUseBreakoutFix = tinymceFullWidthModeEnabled && breakoutExtensionFixEnabled;
|
|
228
|
+
var shouldUseBreakoutFix = tinymceFullWidthModeEnabled;
|
|
230
229
|
var shouldBreakout = shouldUseBreakoutFix ? (0, _shouldExtensionBreakout.shouldExtensionBreakout)({
|
|
231
230
|
layout: layout,
|
|
232
231
|
editorAppearance: editorAppearance,
|
|
@@ -50,10 +50,5 @@ var placeholderTextMessages = exports.placeholderTextMessages = (0, _reactIntl.d
|
|
|
50
50
|
id: 'fabric.editor.sourceSyncBlockPlaceholderText',
|
|
51
51
|
defaultMessage: 'Add content you want to reuse. Copy and paste this block to sync in other locations.',
|
|
52
52
|
description: 'Placeholder text shown inside an empty source sync block, prompting users to add reusable content that can be synced across multiple locations.'
|
|
53
|
-
},
|
|
54
|
-
multiBodiedExtensionPlaceholderText: {
|
|
55
|
-
id: 'fabric.editor.multiBodiedExtensionPlaceholderText',
|
|
56
|
-
defaultMessage: 'Type to add content or press / to insert elements',
|
|
57
|
-
description: 'Placeholder text shown inside an empty multi bodied extension frame, prompting users to type content or use slash insert.'
|
|
58
53
|
}
|
|
59
54
|
});
|
|
@@ -28,7 +28,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
28
28
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
29
29
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
30
30
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
31
|
-
var packageVersion = "116.35.
|
|
31
|
+
var packageVersion = "116.35.2";
|
|
32
32
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
33
33
|
// Remove URL as it has UGC
|
|
34
34
|
// 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 = "116.35.
|
|
27
|
+
var packageVersion = "116.35.2";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -78,9 +78,7 @@ function ExtensionWithPluginState(props) {
|
|
|
78
78
|
const layout = node.attrs.layout;
|
|
79
79
|
const legacyShouldBreakout = ['full-width', 'wide'].includes(layout) && isTopLevelNode && editorAppearance !== 'full-width';
|
|
80
80
|
const tinymceFullWidthModeEnabled = expValEquals('confluence_max_width_content_appearance', 'isEnabled', true);
|
|
81
|
-
const
|
|
82
|
-
const shouldUseBreakoutFix = tinymceFullWidthModeEnabled && breakoutExtensionFixEnabled;
|
|
83
|
-
const shouldBreakout = shouldUseBreakoutFix ? shouldExtensionBreakout({
|
|
81
|
+
const shouldBreakout = tinymceFullWidthModeEnabled ? shouldExtensionBreakout({
|
|
84
82
|
layout,
|
|
85
83
|
isTopLevelNode,
|
|
86
84
|
editorAppearance
|
|
@@ -210,8 +210,7 @@ const MultiBodiedExtensionWithWidth = ({
|
|
|
210
210
|
const layout = node.attrs.layout;
|
|
211
211
|
const legacyShouldBreakout = ['full-width', 'wide'].includes(layout) && editorAppearance !== 'full-width';
|
|
212
212
|
const tinymceFullWidthModeEnabled = expValEquals('confluence_max_width_content_appearance', 'isEnabled', true);
|
|
213
|
-
const
|
|
214
|
-
const shouldUseBreakoutFix = tinymceFullWidthModeEnabled && breakoutExtensionFixEnabled;
|
|
213
|
+
const shouldUseBreakoutFix = tinymceFullWidthModeEnabled;
|
|
215
214
|
const shouldBreakout = shouldUseBreakoutFix ? shouldExtensionBreakout({
|
|
216
215
|
layout,
|
|
217
216
|
editorAppearance,
|
|
@@ -44,10 +44,5 @@ export const placeholderTextMessages = defineMessages({
|
|
|
44
44
|
id: 'fabric.editor.sourceSyncBlockPlaceholderText',
|
|
45
45
|
defaultMessage: 'Add content you want to reuse. Copy and paste this block to sync in other locations.',
|
|
46
46
|
description: 'Placeholder text shown inside an empty source sync block, prompting users to add reusable content that can be synced across multiple locations.'
|
|
47
|
-
},
|
|
48
|
-
multiBodiedExtensionPlaceholderText: {
|
|
49
|
-
id: 'fabric.editor.multiBodiedExtensionPlaceholderText',
|
|
50
|
-
defaultMessage: 'Type to add content or press / to insert elements',
|
|
51
|
-
description: 'Placeholder text shown inside an empty multi bodied extension frame, prompting users to type content or use slash insert.'
|
|
52
47
|
}
|
|
53
48
|
});
|
|
@@ -14,7 +14,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
14
14
|
const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
15
15
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
16
16
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
17
|
-
const packageVersion = "116.35.
|
|
17
|
+
const packageVersion = "116.35.2";
|
|
18
18
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
19
19
|
// Remove URL as it has UGC
|
|
20
20
|
// 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 = "116.35.
|
|
17
|
+
const packageVersion = "116.35.2";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -78,9 +78,7 @@ function ExtensionWithPluginState(props) {
|
|
|
78
78
|
var layout = node.attrs.layout;
|
|
79
79
|
var legacyShouldBreakout = ['full-width', 'wide'].includes(layout) && isTopLevelNode && editorAppearance !== 'full-width';
|
|
80
80
|
var tinymceFullWidthModeEnabled = expValEquals('confluence_max_width_content_appearance', 'isEnabled', true);
|
|
81
|
-
var
|
|
82
|
-
var shouldUseBreakoutFix = tinymceFullWidthModeEnabled && breakoutExtensionFixEnabled;
|
|
83
|
-
var shouldBreakout = shouldUseBreakoutFix ? shouldExtensionBreakout({
|
|
81
|
+
var shouldBreakout = tinymceFullWidthModeEnabled ? shouldExtensionBreakout({
|
|
84
82
|
layout: layout,
|
|
85
83
|
isTopLevelNode: isTopLevelNode,
|
|
86
84
|
editorAppearance: editorAppearance
|
|
@@ -218,8 +218,7 @@ var MultiBodiedExtensionWithWidth = function MultiBodiedExtensionWithWidth(_ref2
|
|
|
218
218
|
var layout = node.attrs.layout;
|
|
219
219
|
var legacyShouldBreakout = ['full-width', 'wide'].includes(layout) && editorAppearance !== 'full-width';
|
|
220
220
|
var tinymceFullWidthModeEnabled = expValEquals('confluence_max_width_content_appearance', 'isEnabled', true);
|
|
221
|
-
var
|
|
222
|
-
var shouldUseBreakoutFix = tinymceFullWidthModeEnabled && breakoutExtensionFixEnabled;
|
|
221
|
+
var shouldUseBreakoutFix = tinymceFullWidthModeEnabled;
|
|
223
222
|
var shouldBreakout = shouldUseBreakoutFix ? shouldExtensionBreakout({
|
|
224
223
|
layout: layout,
|
|
225
224
|
editorAppearance: editorAppearance,
|
|
@@ -44,10 +44,5 @@ export var placeholderTextMessages = defineMessages({
|
|
|
44
44
|
id: 'fabric.editor.sourceSyncBlockPlaceholderText',
|
|
45
45
|
defaultMessage: 'Add content you want to reuse. Copy and paste this block to sync in other locations.',
|
|
46
46
|
description: 'Placeholder text shown inside an empty source sync block, prompting users to add reusable content that can be synced across multiple locations.'
|
|
47
|
-
},
|
|
48
|
-
multiBodiedExtensionPlaceholderText: {
|
|
49
|
-
id: 'fabric.editor.multiBodiedExtensionPlaceholderText',
|
|
50
|
-
defaultMessage: 'Type to add content or press / to insert elements',
|
|
51
|
-
description: 'Placeholder text shown inside an empty multi bodied extension frame, prompting users to type content or use slash insert.'
|
|
52
47
|
}
|
|
53
48
|
});
|
|
@@ -20,7 +20,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
20
20
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
21
21
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
22
22
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
23
|
-
var packageVersion = "116.35.
|
|
23
|
+
var packageVersion = "116.35.2";
|
|
24
24
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
25
25
|
// Remove URL as it has UGC
|
|
26
26
|
// 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 = "116.35.
|
|
24
|
+
var packageVersion = "116.35.2";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -1,52 +1,47 @@
|
|
|
1
1
|
export declare const placeholderTextMessages: {
|
|
2
|
-
|
|
3
|
-
defaultMessage: string;
|
|
4
|
-
description: string;
|
|
2
|
+
placeholderTextPlaceholder: {
|
|
5
3
|
id: string;
|
|
6
|
-
};
|
|
7
|
-
longEmptyNodePlaceholderADFSlashShortcut: {
|
|
8
4
|
defaultMessage: string;
|
|
9
5
|
description: string;
|
|
10
|
-
id: string;
|
|
11
6
|
};
|
|
12
|
-
|
|
7
|
+
shortEmptyNodePlaceholderText: {
|
|
8
|
+
id: string;
|
|
13
9
|
defaultMessage: string;
|
|
14
10
|
description: string;
|
|
15
|
-
id: string;
|
|
16
11
|
};
|
|
17
|
-
|
|
12
|
+
shortEmptyNodePlaceholderADFSlashShortcut: {
|
|
13
|
+
id: string;
|
|
18
14
|
defaultMessage: string;
|
|
19
15
|
description: string;
|
|
20
|
-
id: string;
|
|
21
16
|
};
|
|
22
|
-
|
|
17
|
+
shortEmptyNodePlaceholderADFSuffix: {
|
|
18
|
+
id: string;
|
|
23
19
|
defaultMessage: string;
|
|
24
20
|
description: string;
|
|
25
|
-
id: string;
|
|
26
21
|
};
|
|
27
|
-
|
|
22
|
+
longEmptyNodePlaceholderText: {
|
|
23
|
+
id: string;
|
|
28
24
|
defaultMessage: string;
|
|
29
25
|
description: string;
|
|
30
|
-
id: string;
|
|
31
26
|
};
|
|
32
|
-
|
|
27
|
+
longEmptyNodePlaceholderADFPrefix: {
|
|
28
|
+
id: string;
|
|
33
29
|
defaultMessage: string;
|
|
34
30
|
description: string;
|
|
35
|
-
id: string;
|
|
36
31
|
};
|
|
37
|
-
|
|
32
|
+
longEmptyNodePlaceholderADFSlashShortcut: {
|
|
33
|
+
id: string;
|
|
38
34
|
defaultMessage: string;
|
|
39
35
|
description: string;
|
|
40
|
-
id: string;
|
|
41
36
|
};
|
|
42
|
-
|
|
37
|
+
longEmptyNodePlaceholderADFSuffix: {
|
|
38
|
+
id: string;
|
|
43
39
|
defaultMessage: string;
|
|
44
40
|
description: string;
|
|
45
|
-
id: string;
|
|
46
41
|
};
|
|
47
42
|
sourceSyncBlockPlaceholderText: {
|
|
43
|
+
id: string;
|
|
48
44
|
defaultMessage: string;
|
|
49
45
|
description: string;
|
|
50
|
-
id: string;
|
|
51
46
|
};
|
|
52
47
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "116.35.
|
|
3
|
+
"version": "116.35.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/"
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@atlaskit/editor-tables": "^3.0.0",
|
|
50
50
|
"@atlaskit/editor-toolbar": "^2.3.0",
|
|
51
51
|
"@atlaskit/editor-toolbar-model": "^1.1.0",
|
|
52
|
-
"@atlaskit/emoji": "^71.
|
|
52
|
+
"@atlaskit/emoji": "^71.12.0",
|
|
53
53
|
"@atlaskit/icon": "^37.1.0",
|
|
54
54
|
"@atlaskit/link": "^4.3.0",
|
|
55
55
|
"@atlaskit/link-datasource": "^6.1.0",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"@atlaskit/task-decision": "^21.6.0",
|
|
81
81
|
"@atlaskit/teams-app-config": "^2.1.0",
|
|
82
82
|
"@atlaskit/textfield": "^9.1.0",
|
|
83
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
83
|
+
"@atlaskit/tmp-editor-statsig": "^132.2.0",
|
|
84
84
|
"@atlaskit/tokens": "^16.2.0",
|
|
85
85
|
"@atlaskit/tooltip": "^23.1.0",
|
|
86
86
|
"@atlaskit/width-detector": "^6.2.0",
|