@atlaskit/editor-common 110.2.0 → 110.2.2
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 +18 -0
- package/dist/cjs/messages/index.js +7 -0
- package/dist/cjs/messages/syncBlock.js +34 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/styles/shared/panel.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/messages/index.js +1 -0
- package/dist/es2019/messages/syncBlock.js +28 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/styles/shared/panel.js +3 -3
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/messages/index.js +1 -0
- package/dist/esm/messages/syncBlock.js +28 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/styles/shared/panel.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/analytics/types/block-menu-events.d.ts +9 -2
- package/dist/types/analytics/types/events.d.ts +1 -1
- package/dist/types/messages/index.d.ts +1 -0
- package/dist/types/messages/syncBlock.d.ts +27 -0
- package/dist/types-ts4.5/analytics/types/block-menu-events.d.ts +9 -2
- package/dist/types-ts4.5/analytics/types/events.d.ts +1 -1
- package/dist/types-ts4.5/messages/index.d.ts +1 -0
- package/dist/types-ts4.5/messages/syncBlock.d.ts +27 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 110.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`5a35ce1c7b07a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5a35ce1c7b07a) -
|
|
8
|
+
Clean up nested border style fg
|
|
9
|
+
|
|
10
|
+
## 110.2.1
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`9cf29da7572b3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9cf29da7572b3) -
|
|
15
|
+
[ux] Fires Element converted event when Turn into menu is used to transform a node from one node
|
|
16
|
+
type to another.
|
|
17
|
+
- [`6e2b6f72d4bc2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6e2b6f72d4bc2) -
|
|
18
|
+
Added floating toolbar for sync block
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 110.2.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
@@ -196,6 +196,12 @@ Object.defineProperty(exports, "statusMessages", {
|
|
|
196
196
|
return _status.messages;
|
|
197
197
|
}
|
|
198
198
|
});
|
|
199
|
+
Object.defineProperty(exports, "syncBlockMessages", {
|
|
200
|
+
enumerable: true,
|
|
201
|
+
get: function get() {
|
|
202
|
+
return _syncBlock.syncBlockMessages;
|
|
203
|
+
}
|
|
204
|
+
});
|
|
199
205
|
Object.defineProperty(exports, "tableMessages", {
|
|
200
206
|
enumerable: true,
|
|
201
207
|
get: function get() {
|
|
@@ -285,6 +291,7 @@ var _selectionExtension = require("./selection-extension");
|
|
|
285
291
|
var _selectionToolbar = require("./selection-toolbar");
|
|
286
292
|
var _contextPanel = require("./context-panel");
|
|
287
293
|
var _trackChanges = require("./track-changes");
|
|
294
|
+
var _syncBlock = require("./syncBlock");
|
|
288
295
|
// Disable no-re-export rule for entry point files
|
|
289
296
|
/* eslint-disable @atlaskit/editor/no-re-export */
|
|
290
297
|
var _default = exports.default = (0, _reactIntlNext.defineMessages)({
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.syncBlockMessages = void 0;
|
|
7
|
+
var _reactIntlNext = require("react-intl-next");
|
|
8
|
+
var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntlNext.defineMessages)({
|
|
9
|
+
copySyncBlockLabel: {
|
|
10
|
+
id: 'fabric.editor.copySyncBlock',
|
|
11
|
+
defaultMessage: 'Copy',
|
|
12
|
+
description: 'Button label for copying the reference of sync block element to your clipboard'
|
|
13
|
+
},
|
|
14
|
+
copySyncBlockTooltip: {
|
|
15
|
+
id: 'fabric.editor.copySyncBlockTooltip',
|
|
16
|
+
defaultMessage: 'Copy reference to clipboard',
|
|
17
|
+
description: 'Tooltip for the button to copy the reference of sync block element to your clipboard'
|
|
18
|
+
},
|
|
19
|
+
editSourceLabel: {
|
|
20
|
+
id: 'fabric.editor.editSourceLabel',
|
|
21
|
+
defaultMessage: 'Edit source',
|
|
22
|
+
description: 'Button label for editing the source of sync block element'
|
|
23
|
+
},
|
|
24
|
+
editSourceTooltip: {
|
|
25
|
+
id: 'fabric.editor.editSourceTooltip',
|
|
26
|
+
defaultMessage: 'Navigate to source page of the sync block',
|
|
27
|
+
description: 'Tooltip for the button to navigate to the source page of the sync block element'
|
|
28
|
+
},
|
|
29
|
+
syncBlockGroup: {
|
|
30
|
+
id: 'fabric.editor.syncBlockGroup',
|
|
31
|
+
defaultMessage: 'Sync Block Types',
|
|
32
|
+
description: 'aria-label for group of sync block the floating toolbar'
|
|
33
|
+
}
|
|
34
|
+
});
|
|
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
16
16
|
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); }
|
|
17
17
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
18
18
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
19
|
-
var packageVersion = "110.1
|
|
19
|
+
var packageVersion = "110.2.1";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// Ignored via go/ees007
|
|
@@ -152,7 +152,7 @@ var mainDynamicStyles = function mainDynamicStyles(panelType) {
|
|
|
152
152
|
|
|
153
153
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Safe to autofix with a tiny tweak to `mainDynamicStyles` being an object, but holding off…
|
|
154
154
|
var panelSharedStylesWithoutPrefix = exports.panelSharedStylesWithoutPrefix = function panelSharedStylesWithoutPrefix() {
|
|
155
|
-
return (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tborder-radius: ", ";\n\tmargin: ", " 0 0;\n\tpadding-top: ", ";\n\tpadding-right: ", ";\n\tpadding-bottom: ", ";\n\tpadding-left: ", ";\n\tmin-width: ", "px;\n\tdisplay: flex;\n\tposition: relative;\n\talign-items: normal;\n\tword-break: break-word;\n\n\t", "\n\n\t.", " {\n\t\tflex-shrink: 0;\n\t\theight: ", ";\n\t\twidth: ", ";\n\t\tbox-sizing: content-box;\n\t\tpadding-right: ", ";\n\t\ttext-align: center;\n\t\tuser-select: none;\n\t\t-moz-user-select: none;\n\t\t-webkit-user-select: none;\n\t\t-ms-user-select: none;\n\t\tmargin-top: 0.1em;\n\n\t\t> span {\n\t\t\tvertical-align: middle;\n\t\t\tdisplay: inline-flex;\n\t\t}\n\n\t\t.", " {\n\t\t\tvertical-align: ", "px;\n\t\t}\n\n\t\t.", " {\n\t\t\tvertical-align: ", "px;\n\n\t\t\t/* Vertical align only works for inline-block elements in Firefox */\n\t\t\t@-moz-document url-prefix() {\n\t\t\t\timg {\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t.ak-editor-panel__content {\n\t\tmargin: ", " 0 ", ";\n\t\tflex: 1 0 0;\n\t\t/*\n https://ishadeed.com/article/min-max-css/#setting-min-width-to-zero-with-flexbox\n The default value for min-width is auto, which is computed to zero. When an element is a flex item, the value of min-width doesn\u2019t compute to zero. The minimum size of a flex item is equal to the size of its contents.\n */\n\t\tmin-width: 0;\n\t}\n\n\t/* support nested panel */\n\t", "\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t", "\n"])), "var(--ds-radius-small, 3px)", _editorSharedStyles.blockNodesVerticalMargin, "var(--ds-space-100, 8px)", "var(--ds-space-200, 16px)", "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", _editorSharedStyles.akEditorTableCellMinWidth, mainDynamicStyles(_adfSchema.PanelType.INFO), PanelSharedCssClassName.icon, "var(--ds-space-300, 24px)", "var(--ds-space-300, 24px)", "var(--ds-space-100, 8px)", _emoji.emojiSprite, panelEmojiSpriteVerticalAlignment, _emoji.emojiImage, panelEmojiImageVerticalAlignment, "var(--ds-space-025, 2px)", "var(--ds-space-025, 2px)",
|
|
155
|
+
return (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tborder-radius: ", ";\n\tmargin: ", " 0 0;\n\tpadding-top: ", ";\n\tpadding-right: ", ";\n\tpadding-bottom: ", ";\n\tpadding-left: ", ";\n\tmin-width: ", "px;\n\tdisplay: flex;\n\tposition: relative;\n\talign-items: normal;\n\tword-break: break-word;\n\n\t", "\n\n\t.", " {\n\t\tflex-shrink: 0;\n\t\theight: ", ";\n\t\twidth: ", ";\n\t\tbox-sizing: content-box;\n\t\tpadding-right: ", ";\n\t\ttext-align: center;\n\t\tuser-select: none;\n\t\t-moz-user-select: none;\n\t\t-webkit-user-select: none;\n\t\t-ms-user-select: none;\n\t\tmargin-top: 0.1em;\n\n\t\t> span {\n\t\t\tvertical-align: middle;\n\t\t\tdisplay: inline-flex;\n\t\t}\n\n\t\t.", " {\n\t\t\tvertical-align: ", "px;\n\t\t}\n\n\t\t.", " {\n\t\t\tvertical-align: ", "px;\n\n\t\t\t/* Vertical align only works for inline-block elements in Firefox */\n\t\t\t@-moz-document url-prefix() {\n\t\t\t\timg {\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t.ak-editor-panel__content {\n\t\tmargin: ", " 0 ", ";\n\t\tflex: 1 0 0;\n\t\t/*\n https://ishadeed.com/article/min-max-css/#setting-min-width-to-zero-with-flexbox\n The default value for min-width is auto, which is computed to zero. When an element is a flex item, the value of min-width doesn\u2019t compute to zero. The minimum size of a flex item is equal to the size of its contents.\n */\n\t\tmin-width: 0;\n\t}\n\n\t/* support nested panel */\n\t.", " .", " {\n\t\tborder: 1px solid ", ";\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t", "\n"])), "var(--ds-radius-small, 3px)", _editorSharedStyles.blockNodesVerticalMargin, "var(--ds-space-100, 8px)", "var(--ds-space-200, 16px)", "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", _editorSharedStyles.akEditorTableCellMinWidth, mainDynamicStyles(_adfSchema.PanelType.INFO), PanelSharedCssClassName.icon, "var(--ds-space-300, 24px)", "var(--ds-space-300, 24px)", "var(--ds-space-100, 8px)", _emoji.emojiSprite, panelEmojiSpriteVerticalAlignment, _emoji.emojiImage, panelEmojiImageVerticalAlignment, "var(--ds-space-025, 2px)", "var(--ds-space-025, 2px)", PanelSharedCssClassName.content, prefix, "var(--ds-border, #091E42)", _adfSchema.PanelType.INFO, getIconStyles(_adfSchema.PanelType.INFO), _adfSchema.PanelType.NOTE, mainDynamicStyles(_adfSchema.PanelType.NOTE), getIconStyles(_adfSchema.PanelType.NOTE), _adfSchema.PanelType.TIP, mainDynamicStyles(_adfSchema.PanelType.TIP), getIconStyles(_adfSchema.PanelType.TIP), _adfSchema.PanelType.WARNING, mainDynamicStyles(_adfSchema.PanelType.WARNING), getIconStyles(_adfSchema.PanelType.WARNING), _adfSchema.PanelType.ERROR, mainDynamicStyles(_adfSchema.PanelType.ERROR), getIconStyles(_adfSchema.PanelType.ERROR), _adfSchema.PanelType.SUCCESS, mainDynamicStyles(_adfSchema.PanelType.SUCCESS), getIconStyles(_adfSchema.PanelType.SUCCESS), (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') ? "&.".concat(PanelSharedCssClassName.noIcon, " {\n\t\t\tpadding-right: ", "var(--ds-space-150, 12px)", ";\n\t\t\tpadding-left: ", "var(--ds-space-150, 12px)", ";\n\t\t}") : '');
|
|
156
156
|
};
|
|
157
157
|
var panelSharedStyles = exports.panelSharedStyles = function panelSharedStyles() {
|
|
158
158
|
return (0, _react.css)((0, _defineProperty2.default)({}, ".".concat(PanelSharedCssClassName.prefix), panelSharedStylesWithoutPrefix()));
|
|
@@ -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 = "110.1
|
|
27
|
+
var packageVersion = "110.2.1";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -42,6 +42,7 @@ export { selectionExtensionMessages } from './selection-extension';
|
|
|
42
42
|
export { selectionToolbarMessages } from './selection-toolbar';
|
|
43
43
|
export { contextPanelMessages } from './context-panel';
|
|
44
44
|
export { trackChangesMessages } from './track-changes';
|
|
45
|
+
export { syncBlockMessages } from './syncBlock';
|
|
45
46
|
export default defineMessages({
|
|
46
47
|
layoutFixedWidth: {
|
|
47
48
|
id: 'fabric.editor.layoutFixedWidth',
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { defineMessages } from 'react-intl-next';
|
|
2
|
+
export const syncBlockMessages = defineMessages({
|
|
3
|
+
copySyncBlockLabel: {
|
|
4
|
+
id: 'fabric.editor.copySyncBlock',
|
|
5
|
+
defaultMessage: 'Copy',
|
|
6
|
+
description: 'Button label for copying the reference of sync block element to your clipboard'
|
|
7
|
+
},
|
|
8
|
+
copySyncBlockTooltip: {
|
|
9
|
+
id: 'fabric.editor.copySyncBlockTooltip',
|
|
10
|
+
defaultMessage: 'Copy reference to clipboard',
|
|
11
|
+
description: 'Tooltip for the button to copy the reference of sync block element to your clipboard'
|
|
12
|
+
},
|
|
13
|
+
editSourceLabel: {
|
|
14
|
+
id: 'fabric.editor.editSourceLabel',
|
|
15
|
+
defaultMessage: 'Edit source',
|
|
16
|
+
description: 'Button label for editing the source of sync block element'
|
|
17
|
+
},
|
|
18
|
+
editSourceTooltip: {
|
|
19
|
+
id: 'fabric.editor.editSourceTooltip',
|
|
20
|
+
defaultMessage: 'Navigate to source page of the sync block',
|
|
21
|
+
description: 'Tooltip for the button to navigate to the source page of the sync block element'
|
|
22
|
+
},
|
|
23
|
+
syncBlockGroup: {
|
|
24
|
+
id: 'fabric.editor.syncBlockGroup',
|
|
25
|
+
defaultMessage: 'Sync Block Types',
|
|
26
|
+
description: 'aria-label for group of sync block the floating toolbar'
|
|
27
|
+
}
|
|
28
|
+
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isFedRamp } from './environment';
|
|
2
2
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
3
3
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
4
|
-
const packageVersion = "110.1
|
|
4
|
+
const packageVersion = "110.2.1";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// Ignored via go/ees007
|
|
@@ -207,9 +207,9 @@ export const panelSharedStylesWithoutPrefix = () => css`
|
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
/* support nested panel */
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
210
|
+
.${PanelSharedCssClassName.content} .${prefix} {
|
|
211
|
+
border: 1px solid ${"var(--ds-border, #091E42)"};
|
|
212
|
+
}
|
|
213
213
|
|
|
214
214
|
&[data-panel-type='${PanelType.INFO}'] {
|
|
215
215
|
${getIconStyles(PanelType.INFO)}
|
|
@@ -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 = "110.1
|
|
17
|
+
const packageVersion = "110.2.1";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -42,6 +42,7 @@ export { selectionExtensionMessages } from './selection-extension';
|
|
|
42
42
|
export { selectionToolbarMessages } from './selection-toolbar';
|
|
43
43
|
export { contextPanelMessages } from './context-panel';
|
|
44
44
|
export { trackChangesMessages } from './track-changes';
|
|
45
|
+
export { syncBlockMessages } from './syncBlock';
|
|
45
46
|
export default defineMessages({
|
|
46
47
|
layoutFixedWidth: {
|
|
47
48
|
id: 'fabric.editor.layoutFixedWidth',
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { defineMessages } from 'react-intl-next';
|
|
2
|
+
export var syncBlockMessages = defineMessages({
|
|
3
|
+
copySyncBlockLabel: {
|
|
4
|
+
id: 'fabric.editor.copySyncBlock',
|
|
5
|
+
defaultMessage: 'Copy',
|
|
6
|
+
description: 'Button label for copying the reference of sync block element to your clipboard'
|
|
7
|
+
},
|
|
8
|
+
copySyncBlockTooltip: {
|
|
9
|
+
id: 'fabric.editor.copySyncBlockTooltip',
|
|
10
|
+
defaultMessage: 'Copy reference to clipboard',
|
|
11
|
+
description: 'Tooltip for the button to copy the reference of sync block element to your clipboard'
|
|
12
|
+
},
|
|
13
|
+
editSourceLabel: {
|
|
14
|
+
id: 'fabric.editor.editSourceLabel',
|
|
15
|
+
defaultMessage: 'Edit source',
|
|
16
|
+
description: 'Button label for editing the source of sync block element'
|
|
17
|
+
},
|
|
18
|
+
editSourceTooltip: {
|
|
19
|
+
id: 'fabric.editor.editSourceTooltip',
|
|
20
|
+
defaultMessage: 'Navigate to source page of the sync block',
|
|
21
|
+
description: 'Tooltip for the button to navigate to the source page of the sync block element'
|
|
22
|
+
},
|
|
23
|
+
syncBlockGroup: {
|
|
24
|
+
id: 'fabric.editor.syncBlockGroup',
|
|
25
|
+
defaultMessage: 'Sync Block Types',
|
|
26
|
+
description: 'aria-label for group of sync block the floating toolbar'
|
|
27
|
+
}
|
|
28
|
+
});
|
|
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
7
7
|
import { isFedRamp } from './environment';
|
|
8
8
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
9
9
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
10
|
-
var packageVersion = "110.1
|
|
10
|
+
var packageVersion = "110.2.1";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// Ignored via go/ees007
|
|
@@ -143,7 +143,7 @@ var mainDynamicStyles = function mainDynamicStyles(panelType) {
|
|
|
143
143
|
|
|
144
144
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Safe to autofix with a tiny tweak to `mainDynamicStyles` being an object, but holding off…
|
|
145
145
|
export var panelSharedStylesWithoutPrefix = function panelSharedStylesWithoutPrefix() {
|
|
146
|
-
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\tborder-radius: ", ";\n\tmargin: ", " 0 0;\n\tpadding-top: ", ";\n\tpadding-right: ", ";\n\tpadding-bottom: ", ";\n\tpadding-left: ", ";\n\tmin-width: ", "px;\n\tdisplay: flex;\n\tposition: relative;\n\talign-items: normal;\n\tword-break: break-word;\n\n\t", "\n\n\t.", " {\n\t\tflex-shrink: 0;\n\t\theight: ", ";\n\t\twidth: ", ";\n\t\tbox-sizing: content-box;\n\t\tpadding-right: ", ";\n\t\ttext-align: center;\n\t\tuser-select: none;\n\t\t-moz-user-select: none;\n\t\t-webkit-user-select: none;\n\t\t-ms-user-select: none;\n\t\tmargin-top: 0.1em;\n\n\t\t> span {\n\t\t\tvertical-align: middle;\n\t\t\tdisplay: inline-flex;\n\t\t}\n\n\t\t.", " {\n\t\t\tvertical-align: ", "px;\n\t\t}\n\n\t\t.", " {\n\t\t\tvertical-align: ", "px;\n\n\t\t\t/* Vertical align only works for inline-block elements in Firefox */\n\t\t\t@-moz-document url-prefix() {\n\t\t\t\timg {\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t.ak-editor-panel__content {\n\t\tmargin: ", " 0 ", ";\n\t\tflex: 1 0 0;\n\t\t/*\n https://ishadeed.com/article/min-max-css/#setting-min-width-to-zero-with-flexbox\n The default value for min-width is auto, which is computed to zero. When an element is a flex item, the value of min-width doesn\u2019t compute to zero. The minimum size of a flex item is equal to the size of its contents.\n */\n\t\tmin-width: 0;\n\t}\n\n\t/* support nested panel */\n\t", "\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t", "\n"])), "var(--ds-radius-small, 3px)", blockNodesVerticalMargin, "var(--ds-space-100, 8px)", "var(--ds-space-200, 16px)", "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", akEditorTableCellMinWidth, mainDynamicStyles(PanelType.INFO), PanelSharedCssClassName.icon, "var(--ds-space-300, 24px)", "var(--ds-space-300, 24px)", "var(--ds-space-100, 8px)", emojiSprite, panelEmojiSpriteVerticalAlignment, emojiImage, panelEmojiImageVerticalAlignment, "var(--ds-space-025, 2px)", "var(--ds-space-025, 2px)",
|
|
146
|
+
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\tborder-radius: ", ";\n\tmargin: ", " 0 0;\n\tpadding-top: ", ";\n\tpadding-right: ", ";\n\tpadding-bottom: ", ";\n\tpadding-left: ", ";\n\tmin-width: ", "px;\n\tdisplay: flex;\n\tposition: relative;\n\talign-items: normal;\n\tword-break: break-word;\n\n\t", "\n\n\t.", " {\n\t\tflex-shrink: 0;\n\t\theight: ", ";\n\t\twidth: ", ";\n\t\tbox-sizing: content-box;\n\t\tpadding-right: ", ";\n\t\ttext-align: center;\n\t\tuser-select: none;\n\t\t-moz-user-select: none;\n\t\t-webkit-user-select: none;\n\t\t-ms-user-select: none;\n\t\tmargin-top: 0.1em;\n\n\t\t> span {\n\t\t\tvertical-align: middle;\n\t\t\tdisplay: inline-flex;\n\t\t}\n\n\t\t.", " {\n\t\t\tvertical-align: ", "px;\n\t\t}\n\n\t\t.", " {\n\t\t\tvertical-align: ", "px;\n\n\t\t\t/* Vertical align only works for inline-block elements in Firefox */\n\t\t\t@-moz-document url-prefix() {\n\t\t\t\timg {\n\t\t\t\t\tdisplay: inline-block;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t.ak-editor-panel__content {\n\t\tmargin: ", " 0 ", ";\n\t\tflex: 1 0 0;\n\t\t/*\n https://ishadeed.com/article/min-max-css/#setting-min-width-to-zero-with-flexbox\n The default value for min-width is auto, which is computed to zero. When an element is a flex item, the value of min-width doesn\u2019t compute to zero. The minimum size of a flex item is equal to the size of its contents.\n */\n\t\tmin-width: 0;\n\t}\n\n\t/* support nested panel */\n\t.", " .", " {\n\t\tborder: 1px solid ", ";\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t&[data-panel-type='", "'] {\n\t\t", "\n\t\t", "\n\t}\n\n\t", "\n"])), "var(--ds-radius-small, 3px)", blockNodesVerticalMargin, "var(--ds-space-100, 8px)", "var(--ds-space-200, 16px)", "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", akEditorTableCellMinWidth, mainDynamicStyles(PanelType.INFO), PanelSharedCssClassName.icon, "var(--ds-space-300, 24px)", "var(--ds-space-300, 24px)", "var(--ds-space-100, 8px)", emojiSprite, panelEmojiSpriteVerticalAlignment, emojiImage, panelEmojiImageVerticalAlignment, "var(--ds-space-025, 2px)", "var(--ds-space-025, 2px)", PanelSharedCssClassName.content, prefix, "var(--ds-border, #091E42)", PanelType.INFO, getIconStyles(PanelType.INFO), PanelType.NOTE, mainDynamicStyles(PanelType.NOTE), getIconStyles(PanelType.NOTE), PanelType.TIP, mainDynamicStyles(PanelType.TIP), getIconStyles(PanelType.TIP), PanelType.WARNING, mainDynamicStyles(PanelType.WARNING), getIconStyles(PanelType.WARNING), PanelType.ERROR, mainDynamicStyles(PanelType.ERROR), getIconStyles(PanelType.ERROR), PanelType.SUCCESS, mainDynamicStyles(PanelType.SUCCESS), getIconStyles(PanelType.SUCCESS), fg('platform_editor_nested_dnd_styles_changes') ? "&.".concat(PanelSharedCssClassName.noIcon, " {\n\t\t\tpadding-right: ", "var(--ds-space-150, 12px)", ";\n\t\t\tpadding-left: ", "var(--ds-space-150, 12px)", ";\n\t\t}") : '');
|
|
147
147
|
};
|
|
148
148
|
export var panelSharedStyles = function panelSharedStyles() {
|
|
149
149
|
return css(_defineProperty({}, ".".concat(PanelSharedCssClassName.prefix), panelSharedStylesWithoutPrefix()));
|
|
@@ -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 = "110.1
|
|
24
|
+
var packageVersion = "110.2.1";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
|
|
2
|
-
import type { UIAEP } from './utils';
|
|
2
|
+
import type { UIAEP, TrackAEP } from './utils';
|
|
3
3
|
export type BlockMenuActionSubjectId = ACTION_SUBJECT_ID.COPY_LINK_TO_BLOCK | ACTION_SUBJECT_ID.MOVE_UP_BLOCK | ACTION_SUBJECT_ID.MOVE_DOWN_BLOCK | ACTION_SUBJECT_ID.DELETE_BLOCK | ACTION_SUBJECT_ID.COPY_BLOCK | ACTION_SUBJECT_ID.FORMAT_MENU;
|
|
4
4
|
export type BlockMenuOpenedAEP = UIAEP<ACTION.OPENED, ACTION_SUBJECT.BLOCK_MENU, undefined, {
|
|
5
5
|
inputMethod: INPUT_METHOD.MOUSE | INPUT_METHOD.KEYBOARD;
|
|
@@ -7,4 +7,11 @@ export type BlockMenuOpenedAEP = UIAEP<ACTION.OPENED, ACTION_SUBJECT.BLOCK_MENU,
|
|
|
7
7
|
export type BlockMenuItemClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BLOCK_MENU_ITEM, BlockMenuActionSubjectId, {
|
|
8
8
|
inputMethod: INPUT_METHOD.MOUSE | INPUT_METHOD.KEYBOARD;
|
|
9
9
|
}, undefined>;
|
|
10
|
-
|
|
10
|
+
interface ElementConvertedAttr {
|
|
11
|
+
from: string;
|
|
12
|
+
to: string;
|
|
13
|
+
inputMethod: INPUT_METHOD.BLOCK_MENU;
|
|
14
|
+
}
|
|
15
|
+
type ElementConvertedAEP = TrackAEP<ACTION.CONVERTED, ACTION_SUBJECT.ELEMENT, undefined, ElementConvertedAttr, undefined>;
|
|
16
|
+
export type BlockMenuEventPayload = BlockMenuOpenedAEP | BlockMenuItemClickedAEP | ElementConvertedAEP;
|
|
17
|
+
export {};
|
|
@@ -63,7 +63,7 @@ export type SimplifiedNode = {
|
|
|
63
63
|
pos: number;
|
|
64
64
|
type: string;
|
|
65
65
|
};
|
|
66
|
-
export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | TextColorEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | PreviewItemClickedAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | VisitedLinkAEP | ViewEventPayload | MediaUploadEventPayload | MentionEventPayload | EngagementPlatformEventPayload | NestedTableActionsEventPayload | AICommandPaletteEventPayload | AIDefinitionsEventPayload | AIEventPayload | AIStreamingEventPayload | AIProactiveEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload | SelectionExtensionEventPayload | TelepointerClickPayload | SelectionToolbarEventPayload | AlignmentEventPayload | UndoRedoAEP | OfflineEditingEventPayload | NcsSessionStepEventAEP | FloatingToolbarOverflowEventPayload
|
|
66
|
+
export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | TextColorEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | PreviewItemClickedAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | VisitedLinkAEP | ViewEventPayload | MediaUploadEventPayload | MentionEventPayload | EngagementPlatformEventPayload | NestedTableActionsEventPayload | AICommandPaletteEventPayload | AIDefinitionsEventPayload | AIEventPayload | AIStreamingEventPayload | AIProactiveEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | BlockMenuEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload | SelectionExtensionEventPayload | TelepointerClickPayload | SelectionToolbarEventPayload | AlignmentEventPayload | UndoRedoAEP | OfflineEditingEventPayload | NcsSessionStepEventAEP | FloatingToolbarOverflowEventPayload;
|
|
67
67
|
type CustomPanelEventPayload = TrackAEP<ACTION.CHANGED_BACKGROUND_COLOR | ACTION.CHANGED_ICON | ACTION.REMOVE_ICON, ACTION_SUBJECT.PANEL, ACTION_SUBJECT_ID.PANEL, {
|
|
68
68
|
newColor: string;
|
|
69
69
|
previousColor: string;
|
|
@@ -38,6 +38,7 @@ export { selectionExtensionMessages } from './selection-extension';
|
|
|
38
38
|
export { selectionToolbarMessages } from './selection-toolbar';
|
|
39
39
|
export { contextPanelMessages } from './context-panel';
|
|
40
40
|
export { trackChangesMessages } from './track-changes';
|
|
41
|
+
export { syncBlockMessages } from './syncBlock';
|
|
41
42
|
declare const _default: {
|
|
42
43
|
layoutFixedWidth: {
|
|
43
44
|
id: string;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const syncBlockMessages: {
|
|
2
|
+
copySyncBlockLabel: {
|
|
3
|
+
id: string;
|
|
4
|
+
defaultMessage: string;
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
copySyncBlockTooltip: {
|
|
8
|
+
id: string;
|
|
9
|
+
defaultMessage: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
editSourceLabel: {
|
|
13
|
+
id: string;
|
|
14
|
+
defaultMessage: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
editSourceTooltip: {
|
|
18
|
+
id: string;
|
|
19
|
+
defaultMessage: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
syncBlockGroup: {
|
|
23
|
+
id: string;
|
|
24
|
+
defaultMessage: string;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
|
|
2
|
-
import type { UIAEP } from './utils';
|
|
2
|
+
import type { UIAEP, TrackAEP } from './utils';
|
|
3
3
|
export type BlockMenuActionSubjectId = ACTION_SUBJECT_ID.COPY_LINK_TO_BLOCK | ACTION_SUBJECT_ID.MOVE_UP_BLOCK | ACTION_SUBJECT_ID.MOVE_DOWN_BLOCK | ACTION_SUBJECT_ID.DELETE_BLOCK | ACTION_SUBJECT_ID.COPY_BLOCK | ACTION_SUBJECT_ID.FORMAT_MENU;
|
|
4
4
|
export type BlockMenuOpenedAEP = UIAEP<ACTION.OPENED, ACTION_SUBJECT.BLOCK_MENU, undefined, {
|
|
5
5
|
inputMethod: INPUT_METHOD.MOUSE | INPUT_METHOD.KEYBOARD;
|
|
@@ -7,4 +7,11 @@ export type BlockMenuOpenedAEP = UIAEP<ACTION.OPENED, ACTION_SUBJECT.BLOCK_MENU,
|
|
|
7
7
|
export type BlockMenuItemClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BLOCK_MENU_ITEM, BlockMenuActionSubjectId, {
|
|
8
8
|
inputMethod: INPUT_METHOD.MOUSE | INPUT_METHOD.KEYBOARD;
|
|
9
9
|
}, undefined>;
|
|
10
|
-
|
|
10
|
+
interface ElementConvertedAttr {
|
|
11
|
+
from: string;
|
|
12
|
+
to: string;
|
|
13
|
+
inputMethod: INPUT_METHOD.BLOCK_MENU;
|
|
14
|
+
}
|
|
15
|
+
type ElementConvertedAEP = TrackAEP<ACTION.CONVERTED, ACTION_SUBJECT.ELEMENT, undefined, ElementConvertedAttr, undefined>;
|
|
16
|
+
export type BlockMenuEventPayload = BlockMenuOpenedAEP | BlockMenuItemClickedAEP | ElementConvertedAEP;
|
|
17
|
+
export {};
|
|
@@ -63,7 +63,7 @@ export type SimplifiedNode = {
|
|
|
63
63
|
pos: number;
|
|
64
64
|
type: string;
|
|
65
65
|
};
|
|
66
|
-
export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | TextColorEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | PreviewItemClickedAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | VisitedLinkAEP | ViewEventPayload | MediaUploadEventPayload | MentionEventPayload | EngagementPlatformEventPayload | NestedTableActionsEventPayload | AICommandPaletteEventPayload | AIDefinitionsEventPayload | AIEventPayload | AIStreamingEventPayload | AIProactiveEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload | SelectionExtensionEventPayload | TelepointerClickPayload | SelectionToolbarEventPayload | AlignmentEventPayload | UndoRedoAEP | OfflineEditingEventPayload | NcsSessionStepEventAEP | FloatingToolbarOverflowEventPayload
|
|
66
|
+
export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | TextColorEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | PreviewItemClickedAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | VisitedLinkAEP | ViewEventPayload | MediaUploadEventPayload | MentionEventPayload | EngagementPlatformEventPayload | NestedTableActionsEventPayload | AICommandPaletteEventPayload | AIDefinitionsEventPayload | AIEventPayload | AIStreamingEventPayload | AIProactiveEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | BlockMenuEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload | SelectionExtensionEventPayload | TelepointerClickPayload | SelectionToolbarEventPayload | AlignmentEventPayload | UndoRedoAEP | OfflineEditingEventPayload | NcsSessionStepEventAEP | FloatingToolbarOverflowEventPayload;
|
|
67
67
|
type CustomPanelEventPayload = TrackAEP<ACTION.CHANGED_BACKGROUND_COLOR | ACTION.CHANGED_ICON | ACTION.REMOVE_ICON, ACTION_SUBJECT.PANEL, ACTION_SUBJECT_ID.PANEL, {
|
|
68
68
|
newColor: string;
|
|
69
69
|
previousColor: string;
|
|
@@ -38,6 +38,7 @@ export { selectionExtensionMessages } from './selection-extension';
|
|
|
38
38
|
export { selectionToolbarMessages } from './selection-toolbar';
|
|
39
39
|
export { contextPanelMessages } from './context-panel';
|
|
40
40
|
export { trackChangesMessages } from './track-changes';
|
|
41
|
+
export { syncBlockMessages } from './syncBlock';
|
|
41
42
|
declare const _default: {
|
|
42
43
|
layoutFixedWidth: {
|
|
43
44
|
id: string;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const syncBlockMessages: {
|
|
2
|
+
copySyncBlockLabel: {
|
|
3
|
+
id: string;
|
|
4
|
+
defaultMessage: string;
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
copySyncBlockTooltip: {
|
|
8
|
+
id: string;
|
|
9
|
+
defaultMessage: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
editSourceLabel: {
|
|
13
|
+
id: string;
|
|
14
|
+
defaultMessage: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
editSourceTooltip: {
|
|
18
|
+
id: string;
|
|
19
|
+
defaultMessage: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
syncBlockGroup: {
|
|
23
|
+
id: string;
|
|
24
|
+
defaultMessage: string;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "110.2.
|
|
3
|
+
"version": "110.2.2",
|
|
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/"
|
|
@@ -82,8 +82,8 @@
|
|
|
82
82
|
"@atlaskit/textfield": "^8.0.0",
|
|
83
83
|
"@atlaskit/theme": "^21.0.0",
|
|
84
84
|
"@atlaskit/tmp-editor-statsig": "^12.32.0",
|
|
85
|
-
"@atlaskit/tokens": "^6.
|
|
86
|
-
"@atlaskit/tooltip": "^20.
|
|
85
|
+
"@atlaskit/tokens": "^6.4.0",
|
|
86
|
+
"@atlaskit/tooltip": "^20.5.0",
|
|
87
87
|
"@atlaskit/width-detector": "^5.0.0",
|
|
88
88
|
"@babel/runtime": "^7.0.0",
|
|
89
89
|
"@compiled/react": "^0.18.3",
|