@atlaskit/editor-common 116.33.4 → 116.35.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 +28 -0
- package/dist/cjs/messages/syncBlock.js +10 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/MultiBodiedExtension/index.js +41 -2
- package/dist/es2019/messages/syncBlock.js +10 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/MultiBodiedExtension/index.js +41 -2
- package/dist/esm/messages/syncBlock.js +10 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/MultiBodiedExtension/index.js +41 -2
- package/dist/types/messages/syncBlock.d.ts +10 -0
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 116.35.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`30f196e640e18`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/30f196e640e18) -
|
|
8
|
+
Update i18n NPM package versions for editor,editor-extensions,activity-platform,media,elements
|
|
9
|
+
(Group 3)
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`ead18351c8a3c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ead18351c8a3c) -
|
|
14
|
+
Add educational guidance to synced block copy confirmation flags in the activation experiment.
|
|
15
|
+
- [`1f87f2121b069`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1f87f2121b069) -
|
|
16
|
+
Fix first-block layout jitter in Native Tabs bodies when editor block controls appear.
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
19
|
+
## 116.34.0
|
|
20
|
+
|
|
21
|
+
### Minor Changes
|
|
22
|
+
|
|
23
|
+
- [`7da4b354a3633`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7da4b354a3633) -
|
|
24
|
+
Update i18n NPM package versions for editor,editor-extensions,activity-platform,media,elements
|
|
25
|
+
(Group 3)
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- Updated dependencies
|
|
30
|
+
|
|
3
31
|
## 116.33.4
|
|
4
32
|
|
|
5
33
|
### Patch Changes
|
|
@@ -276,6 +276,16 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntl.defineMessage
|
|
|
276
276
|
defaultMessage: 'Paste your synced block to keep content auto-updated. Permissions are the same.',
|
|
277
277
|
description: 'Description in flag which appears when a sync block is copied'
|
|
278
278
|
},
|
|
279
|
+
syncBlockCopiedLivePageDescription: {
|
|
280
|
+
id: 'editor-common.messages.syncBlock.syncBlockCopiedLivePageDescription',
|
|
281
|
+
defaultMessage: 'Paste this synced block content in another location to reuse its content.',
|
|
282
|
+
description: 'Instruction in a confirmation flag after a synced block with published content is copied from a live page.'
|
|
283
|
+
},
|
|
284
|
+
syncBlockCopiedUnpublishedDescription: {
|
|
285
|
+
id: 'editor-common.messages.syncBlock.syncBlockCopiedUnpublishedDescription',
|
|
286
|
+
defaultMessage: 'To reuse this content, publish this page and paste this synced block in another location.',
|
|
287
|
+
description: 'Instruction in a confirmation flag after a synced block with unpublished content is copied from a classic page.'
|
|
288
|
+
},
|
|
279
289
|
syncBlockCopiedAction: {
|
|
280
290
|
id: 'fabric.editor.syncBlockCopiedAction',
|
|
281
291
|
defaultMessage: 'Learn more',
|
|
@@ -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.
|
|
31
|
+
var packageVersion = "116.34.0";
|
|
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.
|
|
27
|
+
var packageVersion = "116.34.0";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -15,7 +15,7 @@ var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
16
|
|
|
17
17
|
// Wraps the navigation bar and extensionFrames
|
|
18
|
-
var
|
|
18
|
+
var mbeExtensionContainerOld = (0, _react.css)({
|
|
19
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
20
20
|
background: 'transparent !important',
|
|
21
21
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -49,6 +49,43 @@ var mbeExtensionContainer = (0, _react.css)({
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
|
+
|
|
53
|
+
// Wraps the navigation bar and extensionFrames when Native Tabs can insert block-control
|
|
54
|
+
// widget decorations before frame content.
|
|
55
|
+
var mbeExtensionContainerNew = (0, _react.css)({
|
|
56
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
57
|
+
background: 'transparent !important',
|
|
58
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
59
|
+
'padding:': {
|
|
60
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
61
|
+
left: "var(--ds-space-100, 8px)".concat(" !important"),
|
|
62
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
63
|
+
right: "var(--ds-space-100, 8px)".concat(" !important")
|
|
64
|
+
},
|
|
65
|
+
paddingBottom: "var(--ds-space-100, 8px)",
|
|
66
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
67
|
+
'&.remove-padding': {
|
|
68
|
+
paddingBottom: 0
|
|
69
|
+
},
|
|
70
|
+
position: 'relative',
|
|
71
|
+
verticalAlign: 'middle',
|
|
72
|
+
cursor: 'pointer',
|
|
73
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
74
|
+
'.multiBodiedExtension-handler-result': {
|
|
75
|
+
marginLeft: "var(--ds-space-100, 8px)"
|
|
76
|
+
},
|
|
77
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
78
|
+
".multiBodiedExtension-content-dom-wrapper > [data-extension-frame='true'], .multiBodiedExtension--frames > [data-extension-frame='true']": {
|
|
79
|
+
display: 'none'
|
|
80
|
+
},
|
|
81
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
82
|
+
'.multiBodiedExtension-content-dom-wrapper, .multiBodiedExtension--frames': {
|
|
83
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
84
|
+
"[data-extension-frame='true'] > :not(.ProseMirror-widget):first-of-type, [data-extension-frame='true'] > .ProseMirror-widget + :not(.ProseMirror-widget):first-of-type": {
|
|
85
|
+
marginTop: 0
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
});
|
|
52
89
|
var mbeNavigation = (0, _react.css)({
|
|
53
90
|
borderTopLeftRadius: "var(--ds-radius-small, 3px)",
|
|
54
91
|
borderTopRightRadius: "var(--ds-radius-small, 3px)",
|
|
@@ -169,8 +206,10 @@ var removeMarginsAndBorder = exports.removeMarginsAndBorder = (0, _react.css)({
|
|
|
169
206
|
|
|
170
207
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports -- Ignored via go/DSP-18766
|
|
171
208
|
var sharedMultiBodiedExtensionStyles = exports.sharedMultiBodiedExtensionStyles = {
|
|
172
|
-
mbeExtensionContainer: mbeExtensionContainer,
|
|
173
209
|
mbeNavigation: mbeNavigation,
|
|
210
|
+
get mbeExtensionContainer() {
|
|
211
|
+
return (0, _expValEquals.expValEquals)('confluence_native_tabs_experiment', 'isEnabled', true) ? mbeExtensionContainerNew : mbeExtensionContainerOld;
|
|
212
|
+
},
|
|
174
213
|
get extensionFrameContent() {
|
|
175
214
|
if (!(0, _expValEquals.expValEquals)('confluence_native_tabs_experiment', 'isEnabled', true)) {
|
|
176
215
|
return extensionFrameContentOld;
|
|
@@ -270,6 +270,16 @@ export const syncBlockMessages = defineMessages({
|
|
|
270
270
|
defaultMessage: 'Paste your synced block to keep content auto-updated. Permissions are the same.',
|
|
271
271
|
description: 'Description in flag which appears when a sync block is copied'
|
|
272
272
|
},
|
|
273
|
+
syncBlockCopiedLivePageDescription: {
|
|
274
|
+
id: 'editor-common.messages.syncBlock.syncBlockCopiedLivePageDescription',
|
|
275
|
+
defaultMessage: 'Paste this synced block content in another location to reuse its content.',
|
|
276
|
+
description: 'Instruction in a confirmation flag after a synced block with published content is copied from a live page.'
|
|
277
|
+
},
|
|
278
|
+
syncBlockCopiedUnpublishedDescription: {
|
|
279
|
+
id: 'editor-common.messages.syncBlock.syncBlockCopiedUnpublishedDescription',
|
|
280
|
+
defaultMessage: 'To reuse this content, publish this page and paste this synced block in another location.',
|
|
281
|
+
description: 'Instruction in a confirmation flag after a synced block with unpublished content is copied from a classic page.'
|
|
282
|
+
},
|
|
273
283
|
syncBlockCopiedAction: {
|
|
274
284
|
id: 'fabric.editor.syncBlockCopiedAction',
|
|
275
285
|
defaultMessage: 'Learn more',
|
|
@@ -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.
|
|
17
|
+
const packageVersion = "116.34.0";
|
|
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.
|
|
17
|
+
const packageVersion = "116.34.0";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { css } from '@emotion/react';
|
|
9
9
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
10
10
|
// Wraps the navigation bar and extensionFrames
|
|
11
|
-
const
|
|
11
|
+
const mbeExtensionContainerOld = css({
|
|
12
12
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
13
13
|
background: 'transparent !important',
|
|
14
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -42,6 +42,43 @@ const mbeExtensionContainer = css({
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
|
+
|
|
46
|
+
// Wraps the navigation bar and extensionFrames when Native Tabs can insert block-control
|
|
47
|
+
// widget decorations before frame content.
|
|
48
|
+
const mbeExtensionContainerNew = css({
|
|
49
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
50
|
+
background: 'transparent !important',
|
|
51
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
52
|
+
'padding:': {
|
|
53
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
54
|
+
left: `${"var(--ds-space-100, 8px)"} !important`,
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
56
|
+
right: `${"var(--ds-space-100, 8px)"} !important`
|
|
57
|
+
},
|
|
58
|
+
paddingBottom: "var(--ds-space-100, 8px)",
|
|
59
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
60
|
+
'&.remove-padding': {
|
|
61
|
+
paddingBottom: 0
|
|
62
|
+
},
|
|
63
|
+
position: 'relative',
|
|
64
|
+
verticalAlign: 'middle',
|
|
65
|
+
cursor: 'pointer',
|
|
66
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
67
|
+
'.multiBodiedExtension-handler-result': {
|
|
68
|
+
marginLeft: "var(--ds-space-100, 8px)"
|
|
69
|
+
},
|
|
70
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
71
|
+
".multiBodiedExtension-content-dom-wrapper > [data-extension-frame='true'], .multiBodiedExtension--frames > [data-extension-frame='true']": {
|
|
72
|
+
display: 'none'
|
|
73
|
+
},
|
|
74
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
75
|
+
'.multiBodiedExtension-content-dom-wrapper, .multiBodiedExtension--frames': {
|
|
76
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
77
|
+
"[data-extension-frame='true'] > :not(.ProseMirror-widget):first-of-type, [data-extension-frame='true'] > .ProseMirror-widget + :not(.ProseMirror-widget):first-of-type": {
|
|
78
|
+
marginTop: 0
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
});
|
|
45
82
|
const mbeNavigation = css({
|
|
46
83
|
borderTopLeftRadius: "var(--ds-radius-small, 3px)",
|
|
47
84
|
borderTopRightRadius: "var(--ds-radius-small, 3px)",
|
|
@@ -162,8 +199,10 @@ export const removeMarginsAndBorder = css({
|
|
|
162
199
|
|
|
163
200
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports -- Ignored via go/DSP-18766
|
|
164
201
|
export const sharedMultiBodiedExtensionStyles = {
|
|
165
|
-
mbeExtensionContainer,
|
|
166
202
|
mbeNavigation,
|
|
203
|
+
get mbeExtensionContainer() {
|
|
204
|
+
return expValEquals('confluence_native_tabs_experiment', 'isEnabled', true) ? mbeExtensionContainerNew : mbeExtensionContainerOld;
|
|
205
|
+
},
|
|
167
206
|
get extensionFrameContent() {
|
|
168
207
|
if (!expValEquals('confluence_native_tabs_experiment', 'isEnabled', true)) {
|
|
169
208
|
return extensionFrameContentOld;
|
|
@@ -270,6 +270,16 @@ export var syncBlockMessages = defineMessages({
|
|
|
270
270
|
defaultMessage: 'Paste your synced block to keep content auto-updated. Permissions are the same.',
|
|
271
271
|
description: 'Description in flag which appears when a sync block is copied'
|
|
272
272
|
},
|
|
273
|
+
syncBlockCopiedLivePageDescription: {
|
|
274
|
+
id: 'editor-common.messages.syncBlock.syncBlockCopiedLivePageDescription',
|
|
275
|
+
defaultMessage: 'Paste this synced block content in another location to reuse its content.',
|
|
276
|
+
description: 'Instruction in a confirmation flag after a synced block with published content is copied from a live page.'
|
|
277
|
+
},
|
|
278
|
+
syncBlockCopiedUnpublishedDescription: {
|
|
279
|
+
id: 'editor-common.messages.syncBlock.syncBlockCopiedUnpublishedDescription',
|
|
280
|
+
defaultMessage: 'To reuse this content, publish this page and paste this synced block in another location.',
|
|
281
|
+
description: 'Instruction in a confirmation flag after a synced block with unpublished content is copied from a classic page.'
|
|
282
|
+
},
|
|
273
283
|
syncBlockCopiedAction: {
|
|
274
284
|
id: 'fabric.editor.syncBlockCopiedAction',
|
|
275
285
|
defaultMessage: 'Learn more',
|
|
@@ -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.
|
|
23
|
+
var packageVersion = "116.34.0";
|
|
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.
|
|
24
|
+
var packageVersion = "116.34.0";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import { css } from '@emotion/react';
|
|
9
9
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
10
10
|
// Wraps the navigation bar and extensionFrames
|
|
11
|
-
var
|
|
11
|
+
var mbeExtensionContainerOld = css({
|
|
12
12
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
13
13
|
background: 'transparent !important',
|
|
14
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -42,6 +42,43 @@ var mbeExtensionContainer = css({
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
|
+
|
|
46
|
+
// Wraps the navigation bar and extensionFrames when Native Tabs can insert block-control
|
|
47
|
+
// widget decorations before frame content.
|
|
48
|
+
var mbeExtensionContainerNew = css({
|
|
49
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
50
|
+
background: 'transparent !important',
|
|
51
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
52
|
+
'padding:': {
|
|
53
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
54
|
+
left: "var(--ds-space-100, 8px)".concat(" !important"),
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
56
|
+
right: "var(--ds-space-100, 8px)".concat(" !important")
|
|
57
|
+
},
|
|
58
|
+
paddingBottom: "var(--ds-space-100, 8px)",
|
|
59
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
60
|
+
'&.remove-padding': {
|
|
61
|
+
paddingBottom: 0
|
|
62
|
+
},
|
|
63
|
+
position: 'relative',
|
|
64
|
+
verticalAlign: 'middle',
|
|
65
|
+
cursor: 'pointer',
|
|
66
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
67
|
+
'.multiBodiedExtension-handler-result': {
|
|
68
|
+
marginLeft: "var(--ds-space-100, 8px)"
|
|
69
|
+
},
|
|
70
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
71
|
+
".multiBodiedExtension-content-dom-wrapper > [data-extension-frame='true'], .multiBodiedExtension--frames > [data-extension-frame='true']": {
|
|
72
|
+
display: 'none'
|
|
73
|
+
},
|
|
74
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
75
|
+
'.multiBodiedExtension-content-dom-wrapper, .multiBodiedExtension--frames': {
|
|
76
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
77
|
+
"[data-extension-frame='true'] > :not(.ProseMirror-widget):first-of-type, [data-extension-frame='true'] > .ProseMirror-widget + :not(.ProseMirror-widget):first-of-type": {
|
|
78
|
+
marginTop: 0
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
});
|
|
45
82
|
var mbeNavigation = css({
|
|
46
83
|
borderTopLeftRadius: "var(--ds-radius-small, 3px)",
|
|
47
84
|
borderTopRightRadius: "var(--ds-radius-small, 3px)",
|
|
@@ -162,8 +199,10 @@ export var removeMarginsAndBorder = css({
|
|
|
162
199
|
|
|
163
200
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports -- Ignored via go/DSP-18766
|
|
164
201
|
export var sharedMultiBodiedExtensionStyles = {
|
|
165
|
-
mbeExtensionContainer: mbeExtensionContainer,
|
|
166
202
|
mbeNavigation: mbeNavigation,
|
|
203
|
+
get mbeExtensionContainer() {
|
|
204
|
+
return expValEquals('confluence_native_tabs_experiment', 'isEnabled', true) ? mbeExtensionContainerNew : mbeExtensionContainerOld;
|
|
205
|
+
},
|
|
167
206
|
get extensionFrameContent() {
|
|
168
207
|
if (!expValEquals('confluence_native_tabs_experiment', 'isEnabled', true)) {
|
|
169
208
|
return extensionFrameContentOld;
|
|
@@ -299,11 +299,21 @@ export declare const syncBlockMessages: {
|
|
|
299
299
|
description: string;
|
|
300
300
|
id: string;
|
|
301
301
|
};
|
|
302
|
+
syncBlockCopiedLivePageDescription: {
|
|
303
|
+
defaultMessage: string;
|
|
304
|
+
description: string;
|
|
305
|
+
id: string;
|
|
306
|
+
};
|
|
302
307
|
syncBlockCopiedTitle: {
|
|
303
308
|
defaultMessage: string;
|
|
304
309
|
description: string;
|
|
305
310
|
id: string;
|
|
306
311
|
};
|
|
312
|
+
syncBlockCopiedUnpublishedDescription: {
|
|
313
|
+
defaultMessage: string;
|
|
314
|
+
description: string;
|
|
315
|
+
id: string;
|
|
316
|
+
};
|
|
307
317
|
syncBlockGroup: {
|
|
308
318
|
defaultMessage: string;
|
|
309
319
|
description: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "116.
|
|
3
|
+
"version": "116.35.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/"
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"@atlaskit/activity-provider": "^3.0.0",
|
|
32
32
|
"@atlaskit/adf-schema": "^56.1.0",
|
|
33
33
|
"@atlaskit/adf-utils": "^20.3.0",
|
|
34
|
-
"@atlaskit/afm-i18n-platform-editor-editor-common": "2.
|
|
34
|
+
"@atlaskit/afm-i18n-platform-editor-editor-common": "2.194.0",
|
|
35
35
|
"@atlaskit/analytics-listeners": "^11.1.0",
|
|
36
36
|
"@atlaskit/analytics-namespaced-context": "^8.1.0",
|
|
37
37
|
"@atlaskit/analytics-next": "^12.3.0",
|
|
38
38
|
"@atlaskit/atlassian-context": "^1.1.0",
|
|
39
|
-
"@atlaskit/browser-apis": "^1.
|
|
39
|
+
"@atlaskit/browser-apis": "^1.2.0",
|
|
40
40
|
"@atlaskit/button": "^24.3.0",
|
|
41
41
|
"@atlaskit/codemod-utils": "^5.0.0",
|
|
42
42
|
"@atlaskit/css": "^1.0.0",
|
|
@@ -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.11.0",
|
|
53
53
|
"@atlaskit/icon": "^37.1.0",
|
|
54
54
|
"@atlaskit/link": "^4.3.0",
|
|
55
55
|
"@atlaskit/link-datasource": "^6.1.0",
|
|
@@ -60,28 +60,28 @@
|
|
|
60
60
|
"@atlaskit/media-common": "^14.3.0",
|
|
61
61
|
"@atlaskit/media-file-preview": "^1.1.0",
|
|
62
62
|
"@atlaskit/media-picker": "^72.1.0",
|
|
63
|
-
"@atlaskit/media-ui": "^30.
|
|
63
|
+
"@atlaskit/media-ui": "^30.9.0",
|
|
64
64
|
"@atlaskit/media-viewer": "^54.5.0",
|
|
65
|
-
"@atlaskit/mention": "^27.
|
|
65
|
+
"@atlaskit/mention": "^27.9.0",
|
|
66
66
|
"@atlaskit/menu": "^9.2.0",
|
|
67
67
|
"@atlaskit/object": "^2.2.0",
|
|
68
68
|
"@atlaskit/onboarding": "^15.1.0",
|
|
69
|
-
"@atlaskit/platform-feature-flags": "^2.
|
|
69
|
+
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
70
70
|
"@atlaskit/platform-feature-flags-react": "^1.1.0",
|
|
71
|
-
"@atlaskit/primitives": "^22.
|
|
71
|
+
"@atlaskit/primitives": "^22.1.0",
|
|
72
72
|
"@atlaskit/profilecard": "^26.12.0",
|
|
73
73
|
"@atlaskit/prosemirror-history": "^1.0.0",
|
|
74
74
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
75
75
|
"@atlaskit/react-ufo": "^7.3.0",
|
|
76
76
|
"@atlaskit/section-message": "^9.2.0",
|
|
77
|
-
"@atlaskit/smart-card": "^45.
|
|
77
|
+
"@atlaskit/smart-card": "^45.11.0",
|
|
78
78
|
"@atlaskit/smart-user-picker": "^11.1.0",
|
|
79
79
|
"@atlaskit/spinner": "^20.1.0",
|
|
80
|
-
"@atlaskit/task-decision": "^21.
|
|
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": "^130.
|
|
84
|
-
"@atlaskit/tokens": "^16.
|
|
83
|
+
"@atlaskit/tmp-editor-statsig": "^130.2.0",
|
|
84
|
+
"@atlaskit/tokens": "^16.2.0",
|
|
85
85
|
"@atlaskit/tooltip": "^23.1.0",
|
|
86
86
|
"@atlaskit/width-detector": "^6.2.0",
|
|
87
87
|
"@babel/runtime": "^7.0.0",
|