@atlaskit/editor-common 110.44.1 → 110.44.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 +16 -0
- package/dist/cjs/card/MediaAndEmbedsToolbar/index.js +4 -4
- package/dist/cjs/extensibility/Extension/Lozenge/LozengeComponent.js +2 -2
- package/dist/cjs/extensibility/MultiBodiedExtension/index.js +2 -2
- package/dist/cjs/floating-toolbar/DropdownMenuItem.js +2 -2
- package/dist/cjs/link/ConfigureLinkOverlay/Dropdown.js +4 -4
- package/dist/cjs/link/ConfigureLinkOverlay/index.js +2 -2
- package/dist/cjs/media-inline/views/error-view.js +2 -2
- package/dist/cjs/media-single/ExternalImageBadge.js +2 -2
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/styles/shared/sync-block.js +1 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Messages/index.js +4 -4
- package/dist/cjs/ui-color/ColorPalette/Color/index.js +2 -2
- package/dist/es2019/card/MediaAndEmbedsToolbar/index.js +2 -2
- package/dist/es2019/extensibility/Extension/Lozenge/LozengeComponent.js +1 -1
- package/dist/es2019/extensibility/MultiBodiedExtension/index.js +1 -1
- package/dist/es2019/floating-toolbar/DropdownMenuItem.js +1 -1
- package/dist/es2019/link/ConfigureLinkOverlay/Dropdown.js +2 -2
- package/dist/es2019/link/ConfigureLinkOverlay/index.js +1 -1
- package/dist/es2019/media-inline/views/error-view.js +1 -1
- package/dist/es2019/media-single/ExternalImageBadge.js +1 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/styles/shared/sync-block.js +1 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Messages/index.js +2 -2
- package/dist/es2019/ui-color/ColorPalette/Color/index.js +1 -1
- package/dist/esm/card/MediaAndEmbedsToolbar/index.js +2 -2
- package/dist/esm/extensibility/Extension/Lozenge/LozengeComponent.js +1 -1
- package/dist/esm/extensibility/MultiBodiedExtension/index.js +1 -1
- package/dist/esm/floating-toolbar/DropdownMenuItem.js +1 -1
- package/dist/esm/link/ConfigureLinkOverlay/Dropdown.js +2 -2
- package/dist/esm/link/ConfigureLinkOverlay/index.js +1 -1
- package/dist/esm/media-inline/views/error-view.js +1 -1
- package/dist/esm/media-single/ExternalImageBadge.js +1 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/styles/shared/sync-block.js +1 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Messages/index.js +2 -2
- package/dist/esm/ui-color/ColorPalette/Color/index.js +1 -1
- package/dist/types/styles/shared/sync-block.d.ts +1 -0
- package/dist/types-ts4.5/styles/shared/sync-block.d.ts +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 110.44.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`90abe9b926a6f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/90abe9b926a6f) -
|
|
8
|
+
Icon entrypoint migration
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 110.44.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`50cf7cca6bb76`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/50cf7cca6bb76) -
|
|
16
|
+
[ux] EDITOR-3896 update sync block border styles
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 110.44.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -18,10 +18,10 @@ var _alignImageRight = _interopRequireDefault(require("@atlaskit/icon/core/align
|
|
|
18
18
|
var _alignTextCenter = _interopRequireDefault(require("@atlaskit/icon/core/align-text-center"));
|
|
19
19
|
var _alignTextLeft = _interopRequireDefault(require("@atlaskit/icon/core/align-text-left"));
|
|
20
20
|
var _alignTextRight = _interopRequireDefault(require("@atlaskit/icon/core/align-text-right"));
|
|
21
|
+
var _contentWidthWide = _interopRequireDefault(require("@atlaskit/icon/core/content-width-wide"));
|
|
21
22
|
var _contentWrapLeft = _interopRequireDefault(require("@atlaskit/icon/core/content-wrap-left"));
|
|
22
23
|
var _contentWrapRight = _interopRequireDefault(require("@atlaskit/icon/core/content-wrap-right"));
|
|
23
|
-
var
|
|
24
|
-
var _expandHorizontalEditorMediaFullWidth = _interopRequireDefault(require("@atlaskit/icon/core/migration/expand-horizontal--editor-media-full-width"));
|
|
24
|
+
var _expandHorizontal = _interopRequireDefault(require("@atlaskit/icon/core/expand-horizontal"));
|
|
25
25
|
var _alignImageCenter2 = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/align-image-center"));
|
|
26
26
|
var _alignImageLeft2 = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/align-image-left"));
|
|
27
27
|
var _alignImageRight2 = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/align-image-right"));
|
|
@@ -133,10 +133,10 @@ var wrappingIcons = exports.wrappingIcons = [{
|
|
|
133
133
|
}];
|
|
134
134
|
var breakoutIcons = [{
|
|
135
135
|
value: 'wide',
|
|
136
|
-
icon:
|
|
136
|
+
icon: _contentWidthWide.default
|
|
137
137
|
}, {
|
|
138
138
|
value: 'full-width',
|
|
139
|
-
icon:
|
|
139
|
+
icon: _expandHorizontal.default
|
|
140
140
|
}];
|
|
141
141
|
|
|
142
142
|
// Ignored via go/ees005
|
|
@@ -8,7 +8,7 @@ exports.LozengeComponent = exports.ICON_SIZE = void 0;
|
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _react = require("react");
|
|
10
10
|
var _react2 = require("@emotion/react");
|
|
11
|
-
var
|
|
11
|
+
var _file = _interopRequireDefault(require("@atlaskit/icon/core/file"));
|
|
12
12
|
var _styles = require("../styles");
|
|
13
13
|
var _EditToggle = require("./EditToggle");
|
|
14
14
|
var _ExtensionLabel = require("./ExtensionLabel");
|
|
@@ -69,7 +69,7 @@ var LozengeComponent = exports.LozengeComponent = function LozengeComponent(_ref
|
|
|
69
69
|
}, lozengeData && !isBlockExtension ? renderImage(_objectSpread({
|
|
70
70
|
height: ICON_SIZE,
|
|
71
71
|
width: ICON_SIZE
|
|
72
|
-
}, lozengeData)) : (0, _react2.jsx)(
|
|
72
|
+
}, lozengeData)) : (0, _react2.jsx)(_file.default, {
|
|
73
73
|
label: title
|
|
74
74
|
}), (0, _react2.jsx)("span", {
|
|
75
75
|
className: "extension-title"
|
|
@@ -14,7 +14,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
14
14
|
var _react = _interopRequireWildcard(require("react"));
|
|
15
15
|
var _react2 = require("@emotion/react");
|
|
16
16
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
17
|
-
var
|
|
17
|
+
var _file = _interopRequireDefault(require("@atlaskit/icon/core/file"));
|
|
18
18
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
19
19
|
var _hooks = require("../../hooks");
|
|
20
20
|
var _MultiBodiedExtension = require("../../ui/MultiBodiedExtension");
|
|
@@ -87,7 +87,7 @@ var getWrapperTitleContent = function getWrapperTitleContent(imageData, title, s
|
|
|
87
87
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
88
88
|
className: "extension-title",
|
|
89
89
|
"data-testid": 'multiBodiedExtension-default-lozenge'
|
|
90
|
-
}, (0, _react2.jsx)(
|
|
90
|
+
}, (0, _react2.jsx)(_file.default, {
|
|
91
91
|
label: title
|
|
92
92
|
}), title);
|
|
93
93
|
};
|
|
@@ -8,7 +8,7 @@ exports.menuItemDimensions = exports.DropdownMenuItem = void 0;
|
|
|
8
8
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
9
9
|
var _react = require("react");
|
|
10
10
|
var _react2 = require("@emotion/react");
|
|
11
|
-
var
|
|
11
|
+
var _checkMark = _interopRequireDefault(require("@atlaskit/icon/core/check-mark"));
|
|
12
12
|
var _menu = require("@atlaskit/menu");
|
|
13
13
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
14
14
|
var _floatingToolbar = require("../floating-toolbar");
|
|
@@ -45,7 +45,7 @@ var SelectedIconBefore = function SelectedIconBefore(_ref) {
|
|
|
45
45
|
if (showSelected && itemSelected) {
|
|
46
46
|
return (0, _react2.jsx)("span", {
|
|
47
47
|
"aria-hidden": "true"
|
|
48
|
-
}, (0, _react2.jsx)(
|
|
48
|
+
}, (0, _react2.jsx)(_checkMark.default, {
|
|
49
49
|
LEGACY_primaryColor: "var(--ds-icon-selected, #1868DB)",
|
|
50
50
|
LEGACY_size: "small",
|
|
51
51
|
label: intl.formatMessage(_floatingToolbar.messages.confirmModalOK),
|
|
@@ -13,9 +13,9 @@ var _react2 = require("@emotion/react");
|
|
|
13
13
|
var _reactIntlNext = require("react-intl-next");
|
|
14
14
|
var _withAnalyticsContext = _interopRequireDefault(require("@atlaskit/analytics-next/withAnalyticsContext"));
|
|
15
15
|
var _dropdownMenu = _interopRequireWildcard(require("@atlaskit/dropdown-menu"));
|
|
16
|
+
var _customize = _interopRequireDefault(require("@atlaskit/icon/core/customize"));
|
|
17
|
+
var _linkExternal = _interopRequireDefault(require("@atlaskit/icon/core/link-external"));
|
|
16
18
|
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/migration/chevron-down"));
|
|
17
|
-
var _customizePreferences = _interopRequireDefault(require("@atlaskit/icon/core/migration/customize--preferences"));
|
|
18
|
-
var _linkExternalShortcut = _interopRequireDefault(require("@atlaskit/icon/core/migration/link-external--shortcut"));
|
|
19
19
|
var _messages = require("../../messages");
|
|
20
20
|
var _StyledButton = require("./StyledButton");
|
|
21
21
|
var _useLinkOverlayAnalyticsEvents = require("./useLinkOverlayAnalyticsEvents");
|
|
@@ -94,14 +94,14 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
94
94
|
testId: "".concat(testId, "-dropdown"),
|
|
95
95
|
onOpenChange: onOpenChange
|
|
96
96
|
}, (0, _react2.jsx)(_dropdownMenu.DropdownItemGroup, null, (0, _react2.jsx)(_dropdownMenu.DropdownItem, {
|
|
97
|
-
elemBefore: (0, _react2.jsx)(
|
|
97
|
+
elemBefore: (0, _react2.jsx)(_linkExternal.default, {
|
|
98
98
|
label: goToLinkLabel,
|
|
99
99
|
LEGACY_size: "medium"
|
|
100
100
|
}),
|
|
101
101
|
testId: "".concat(testId, "-dropdown-item-open-link"),
|
|
102
102
|
onClick: onGoToLinkClick
|
|
103
103
|
}, goToLinkLabel), (0, _react2.jsx)(_dropdownMenu.DropdownItem, {
|
|
104
|
-
elemBefore: (0, _react2.jsx)(
|
|
104
|
+
elemBefore: (0, _react2.jsx)(_customize.default, {
|
|
105
105
|
label: configureLinkLabel,
|
|
106
106
|
LEGACY_size: "medium"
|
|
107
107
|
}),
|
|
@@ -11,7 +11,7 @@ var _react2 = require("@emotion/react");
|
|
|
11
11
|
var _reactIntlNext = require("react-intl-next");
|
|
12
12
|
var _withAnalyticsContext = _interopRequireDefault(require("@atlaskit/analytics-next/withAnalyticsContext"));
|
|
13
13
|
var _state = require("@atlaskit/editor-prosemirror/state");
|
|
14
|
-
var
|
|
14
|
+
var _customize = _interopRequireDefault(require("@atlaskit/icon/core/customize"));
|
|
15
15
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
16
16
|
var _messages = require("../../messages");
|
|
17
17
|
var _Dropdown = _interopRequireDefault(require("./Dropdown"));
|
|
@@ -106,7 +106,7 @@ var OverlayButton = exports.OverlayButton = (0, _withAnalyticsContext.default)()
|
|
|
106
106
|
testId: "".concat(testId, "-tooltip")
|
|
107
107
|
}, (0, _react2.jsx)(_StyledButton.StyledButton, {
|
|
108
108
|
onClick: handleConfigureClickWithAnalytics,
|
|
109
|
-
iconBefore: (0, _react2.jsx)(
|
|
109
|
+
iconBefore: (0, _react2.jsx)(_customize.default, {
|
|
110
110
|
label: configureLinkLabel,
|
|
111
111
|
LEGACY_size: "small",
|
|
112
112
|
testId: "".concat(testId, "-configure-icon")
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.InlineImageCardErrorView = void 0;
|
|
8
8
|
var _react = require("@emotion/react");
|
|
9
|
-
var
|
|
9
|
+
var _statusWarning = _interopRequireDefault(require("@atlaskit/icon/core/status-warning"));
|
|
10
10
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
11
11
|
var _constants = require("./constants");
|
|
12
12
|
var _frame = require("./frame");
|
|
@@ -32,7 +32,7 @@ var InlineImageCardErrorView = exports.InlineImageCardErrorView = function Inlin
|
|
|
32
32
|
position: "top",
|
|
33
33
|
tag: "span",
|
|
34
34
|
hideTooltipOnClick: true
|
|
35
|
-
}, (0, _react.jsx)(_iconWrapper.IconWrapper, null, icon || (0, _react.jsx)(
|
|
35
|
+
}, (0, _react.jsx)(_iconWrapper.IconWrapper, null, icon || (0, _react.jsx)(_statusWarning.default, {
|
|
36
36
|
label: "error",
|
|
37
37
|
LEGACY_size: height > _constants.ICON_SIZE_THRESOLD ? 'medium' : 'small',
|
|
38
38
|
color: "var(--ds-icon-danger, #C9372C)"
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.isUnbadgedUrl = exports.ExternalImageBadge = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _reactIntlNext = require("react-intl-next");
|
|
10
|
-
var
|
|
10
|
+
var _statusInformation = _interopRequireDefault(require("@atlaskit/icon/core/status-information"));
|
|
11
11
|
var _primitives = require("@atlaskit/primitives");
|
|
12
12
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
13
13
|
var _media = require("../media");
|
|
@@ -59,7 +59,7 @@ var ExternalImageBadge = exports.ExternalImageBadge = function ExternalImageBadg
|
|
|
59
59
|
}), /*#__PURE__*/_react.default.createElement(_tooltip.default, {
|
|
60
60
|
content: message,
|
|
61
61
|
position: "top"
|
|
62
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
62
|
+
}, /*#__PURE__*/_react.default.createElement(_statusInformation.default, {
|
|
63
63
|
LEGACY_size: "small",
|
|
64
64
|
label: message
|
|
65
65
|
})));
|
|
@@ -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 = "110.44.2";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -14,6 +14,7 @@ var SyncBlockSharedCssClassName = exports.SyncBlockSharedCssClassName = {
|
|
|
14
14
|
var bodiedPrefix = 'ak-editor-bodied-sync-block';
|
|
15
15
|
var BodiedSyncBlockSharedCssClassName = exports.BodiedSyncBlockSharedCssClassName = {
|
|
16
16
|
prefix: bodiedPrefix,
|
|
17
|
+
renderer: "".concat(prefix, "__renderer"),
|
|
17
18
|
content: "".concat(bodiedPrefix, "__content"),
|
|
18
19
|
selectionInside: "".concat(bodiedPrefix, "__selection_inside")
|
|
19
20
|
};
|
|
@@ -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 = "110.44.2";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.ValidMessage = exports.HelperMessage = exports.ErrorMessage = void 0;
|
|
8
8
|
var _react = require("@emotion/react");
|
|
9
|
-
var
|
|
10
|
-
var
|
|
9
|
+
var _statusError = _interopRequireDefault(require("@atlaskit/icon/core/status-error"));
|
|
10
|
+
var _statusSuccess = _interopRequireDefault(require("@atlaskit/icon/core/status-success"));
|
|
11
11
|
/**
|
|
12
12
|
* @jsxRuntime classic
|
|
13
13
|
* @jsx jsx
|
|
@@ -58,7 +58,7 @@ var ErrorMessage = exports.ErrorMessage = function ErrorMessage(_ref2) {
|
|
|
58
58
|
}
|
|
59
59
|
}, (0, _react.jsx)("span", {
|
|
60
60
|
css: iconWrapperStyle
|
|
61
|
-
}, (0, _react.jsx)(
|
|
61
|
+
}, (0, _react.jsx)(_statusError.default, {
|
|
62
62
|
LEGACY_size: "small",
|
|
63
63
|
label: "error",
|
|
64
64
|
"aria-label": "error"
|
|
@@ -72,7 +72,7 @@ var ValidMessage = exports.ValidMessage = function ValidMessage(_ref3) {
|
|
|
72
72
|
}
|
|
73
73
|
}, (0, _react.jsx)("span", {
|
|
74
74
|
css: iconWrapperStyle
|
|
75
|
-
}, (0, _react.jsx)(
|
|
75
|
+
}, (0, _react.jsx)(_statusSuccess.default, {
|
|
76
76
|
LEGACY_size: "small",
|
|
77
77
|
label: "success"
|
|
78
78
|
})), children);
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
var _react2 = require("@emotion/react");
|
|
10
|
-
var
|
|
10
|
+
var _checkMark = _interopRequireDefault(require("@atlaskit/icon/core/check-mark"));
|
|
11
11
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
12
12
|
var _styles = require("./styles");
|
|
13
13
|
/**
|
|
@@ -73,7 +73,7 @@ var Color = function Color(props) {
|
|
|
73
73
|
border: "var(--ds-border-width, 1px)".concat(" solid ", borderColor)
|
|
74
74
|
},
|
|
75
75
|
autoFocus: autoFocus
|
|
76
|
-
}, !decorator && isSelected && (0, _react2.jsx)(
|
|
76
|
+
}, !decorator && isSelected && (0, _react2.jsx)(_checkMark.default, {
|
|
77
77
|
LEGACY_primaryColor: checkMarkColor,
|
|
78
78
|
label: ""
|
|
79
79
|
}), decorator)));
|
|
@@ -8,10 +8,10 @@ import AlignImageRightIcon from '@atlaskit/icon/core/align-image-right';
|
|
|
8
8
|
import AlignTextCenterIcon from '@atlaskit/icon/core/align-text-center';
|
|
9
9
|
import AlignTextLeftIcon from '@atlaskit/icon/core/align-text-left';
|
|
10
10
|
import AlignTextRightIcon from '@atlaskit/icon/core/align-text-right';
|
|
11
|
+
import ContentWidthWide from '@atlaskit/icon/core/content-width-wide';
|
|
11
12
|
import ContentWrapLeftIcon from '@atlaskit/icon/core/content-wrap-left';
|
|
12
13
|
import ContentWrapRightIcon from '@atlaskit/icon/core/content-wrap-right';
|
|
13
|
-
import
|
|
14
|
-
import FullWidthIcon from '@atlaskit/icon/core/migration/expand-horizontal--editor-media-full-width';
|
|
14
|
+
import FullWidthIcon from '@atlaskit/icon/core/expand-horizontal';
|
|
15
15
|
import EditorAlignImageCenter from '@atlaskit/icon/glyph/editor/align-image-center';
|
|
16
16
|
import EditorAlignImageLeft from '@atlaskit/icon/glyph/editor/align-image-left';
|
|
17
17
|
import EditorAlignImageRight from '@atlaskit/icon/glyph/editor/align-image-right';
|
|
@@ -7,7 +7,7 @@ import { Fragment } from 'react';
|
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { jsx } from '@emotion/react';
|
|
10
|
-
import EditorFileIcon from '@atlaskit/icon/core/
|
|
10
|
+
import EditorFileIcon from '@atlaskit/icon/core/file';
|
|
11
11
|
import { placeholderFallback, placeholderFallbackParams } from '../styles';
|
|
12
12
|
import { EditToggle } from './EditToggle';
|
|
13
13
|
import { ExtensionLabel } from './ExtensionLabel';
|
|
@@ -10,7 +10,7 @@ import React, { Fragment, useState } from 'react';
|
|
|
10
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
11
|
import { css, jsx } from '@emotion/react';
|
|
12
12
|
import classnames from 'classnames';
|
|
13
|
-
import EditorFileIcon from '@atlaskit/icon/core/
|
|
13
|
+
import EditorFileIcon from '@atlaskit/icon/core/file';
|
|
14
14
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
15
15
|
import { useSharedPluginStateWithSelector } from '../../hooks';
|
|
16
16
|
import { removeMarginsAndBorder, sharedMultiBodiedExtensionStyles } from '../../ui/MultiBodiedExtension';
|
|
@@ -8,7 +8,7 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
9
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
10
10
|
|
|
11
|
-
import EditorDoneIcon from '@atlaskit/icon/core/
|
|
11
|
+
import EditorDoneIcon from '@atlaskit/icon/core/check-mark';
|
|
12
12
|
import { ButtonItem } from '@atlaskit/menu';
|
|
13
13
|
import Tooltip from '@atlaskit/tooltip';
|
|
14
14
|
import { messages } from '../floating-toolbar';
|
|
@@ -10,9 +10,9 @@ import { jsx } from '@emotion/react';
|
|
|
10
10
|
import { useIntl } from 'react-intl-next';
|
|
11
11
|
import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
|
|
12
12
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
13
|
+
import PreferencesIcon from '@atlaskit/icon/core/customize';
|
|
14
|
+
import LinkExternalIcon from '@atlaskit/icon/core/link-external';
|
|
13
15
|
import ChevronDownIcon from '@atlaskit/icon/core/migration/chevron-down';
|
|
14
|
-
import PreferencesIcon from '@atlaskit/icon/core/migration/customize--preferences';
|
|
15
|
-
import LinkExternalIcon from '@atlaskit/icon/core/migration/link-external--shortcut';
|
|
16
16
|
import { cardMessages as messages } from '../../messages';
|
|
17
17
|
import { StyledButton } from './StyledButton';
|
|
18
18
|
import { useLinkOverlayAnalyticsEvents } from './useLinkOverlayAnalyticsEvents';
|
|
@@ -9,7 +9,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
9
9
|
import { useIntl } from 'react-intl-next';
|
|
10
10
|
import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
|
|
11
11
|
import { NodeSelection, TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
12
|
-
import PreferencesIcon from '@atlaskit/icon/core/
|
|
12
|
+
import PreferencesIcon from '@atlaskit/icon/core/customize';
|
|
13
13
|
import Tooltip from '@atlaskit/tooltip';
|
|
14
14
|
import { cardMessages } from '../../messages';
|
|
15
15
|
import Dropdown from './Dropdown';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
|
-
import WarningIcon from '@atlaskit/icon/core/
|
|
8
|
+
import WarningIcon from '@atlaskit/icon/core/status-warning';
|
|
9
9
|
import Tooltip from '@atlaskit/tooltip';
|
|
10
10
|
import { ICON_SIZE_THRESOLD } from './constants';
|
|
11
11
|
import { Frame } from './frame';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useIntl } from 'react-intl-next';
|
|
3
|
-
import InfoIcon from '@atlaskit/icon/core/
|
|
3
|
+
import InfoIcon from '@atlaskit/icon/core/status-information';
|
|
4
4
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
5
5
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
6
6
|
import Tooltip from '@atlaskit/tooltip';
|
|
@@ -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 = "110.44.2";
|
|
8
8
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
9
9
|
// Remove URL as it has UGC
|
|
10
10
|
// Ignored via go/ees007
|
|
@@ -8,6 +8,7 @@ export const SyncBlockSharedCssClassName = {
|
|
|
8
8
|
const bodiedPrefix = 'ak-editor-bodied-sync-block';
|
|
9
9
|
export const BodiedSyncBlockSharedCssClassName = {
|
|
10
10
|
prefix: bodiedPrefix,
|
|
11
|
+
renderer: `${prefix}__renderer`,
|
|
11
12
|
content: `${bodiedPrefix}__content`,
|
|
12
13
|
selectionInside: `${bodiedPrefix}__selection_inside`
|
|
13
14
|
};
|
|
@@ -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 = "110.44.2";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
7
|
import { css, jsx } from '@emotion/react';
|
|
8
|
-
import ErrorIcon from '@atlaskit/icon/core/
|
|
9
|
-
import SuccessIcon from '@atlaskit/icon/core/
|
|
8
|
+
import ErrorIcon from '@atlaskit/icon/core/status-error';
|
|
9
|
+
import SuccessIcon from '@atlaskit/icon/core/status-success';
|
|
10
10
|
const errorColor = css({
|
|
11
11
|
color: "var(--ds-text-danger, #AE2E24)"
|
|
12
12
|
});
|
|
@@ -6,7 +6,7 @@ import React from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { jsx } from '@emotion/react';
|
|
9
|
-
import EditorDoneIcon from '@atlaskit/icon/core/
|
|
9
|
+
import EditorDoneIcon from '@atlaskit/icon/core/check-mark';
|
|
10
10
|
import Tooltip from '@atlaskit/tooltip';
|
|
11
11
|
import { buttonStyle, buttonWrapperStyle } from './styles';
|
|
12
12
|
const Color = props => {
|
|
@@ -12,10 +12,10 @@ import AlignImageRightIcon from '@atlaskit/icon/core/align-image-right';
|
|
|
12
12
|
import AlignTextCenterIcon from '@atlaskit/icon/core/align-text-center';
|
|
13
13
|
import AlignTextLeftIcon from '@atlaskit/icon/core/align-text-left';
|
|
14
14
|
import AlignTextRightIcon from '@atlaskit/icon/core/align-text-right';
|
|
15
|
+
import ContentWidthWide from '@atlaskit/icon/core/content-width-wide';
|
|
15
16
|
import ContentWrapLeftIcon from '@atlaskit/icon/core/content-wrap-left';
|
|
16
17
|
import ContentWrapRightIcon from '@atlaskit/icon/core/content-wrap-right';
|
|
17
|
-
import
|
|
18
|
-
import FullWidthIcon from '@atlaskit/icon/core/migration/expand-horizontal--editor-media-full-width';
|
|
18
|
+
import FullWidthIcon from '@atlaskit/icon/core/expand-horizontal';
|
|
19
19
|
import EditorAlignImageCenter from '@atlaskit/icon/glyph/editor/align-image-center';
|
|
20
20
|
import EditorAlignImageLeft from '@atlaskit/icon/glyph/editor/align-image-left';
|
|
21
21
|
import EditorAlignImageRight from '@atlaskit/icon/glyph/editor/align-image-right';
|
|
@@ -10,7 +10,7 @@ import { Fragment } from 'react';
|
|
|
10
10
|
|
|
11
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
12
|
import { jsx } from '@emotion/react';
|
|
13
|
-
import EditorFileIcon from '@atlaskit/icon/core/
|
|
13
|
+
import EditorFileIcon from '@atlaskit/icon/core/file';
|
|
14
14
|
import { placeholderFallback, placeholderFallbackParams } from '../styles';
|
|
15
15
|
import { EditToggle } from './EditToggle';
|
|
16
16
|
import { ExtensionLabel } from './ExtensionLabel';
|
|
@@ -15,7 +15,7 @@ import React, { Fragment, useState } from 'react';
|
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
16
|
import { css, jsx } from '@emotion/react';
|
|
17
17
|
import classnames from 'classnames';
|
|
18
|
-
import EditorFileIcon from '@atlaskit/icon/core/
|
|
18
|
+
import EditorFileIcon from '@atlaskit/icon/core/file';
|
|
19
19
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
20
20
|
import { useSharedPluginStateWithSelector } from '../../hooks';
|
|
21
21
|
import { removeMarginsAndBorder, sharedMultiBodiedExtensionStyles } from '../../ui/MultiBodiedExtension';
|
|
@@ -9,7 +9,7 @@ import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
10
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
11
11
|
|
|
12
|
-
import EditorDoneIcon from '@atlaskit/icon/core/
|
|
12
|
+
import EditorDoneIcon from '@atlaskit/icon/core/check-mark';
|
|
13
13
|
import { ButtonItem } from '@atlaskit/menu';
|
|
14
14
|
import Tooltip from '@atlaskit/tooltip';
|
|
15
15
|
import { messages } from '../floating-toolbar';
|
|
@@ -12,9 +12,9 @@ import { jsx } from '@emotion/react';
|
|
|
12
12
|
import { useIntl } from 'react-intl-next';
|
|
13
13
|
import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
|
|
14
14
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
15
|
+
import PreferencesIcon from '@atlaskit/icon/core/customize';
|
|
16
|
+
import LinkExternalIcon from '@atlaskit/icon/core/link-external';
|
|
15
17
|
import ChevronDownIcon from '@atlaskit/icon/core/migration/chevron-down';
|
|
16
|
-
import PreferencesIcon from '@atlaskit/icon/core/migration/customize--preferences';
|
|
17
|
-
import LinkExternalIcon from '@atlaskit/icon/core/migration/link-external--shortcut';
|
|
18
18
|
import { cardMessages as messages } from '../../messages';
|
|
19
19
|
import { StyledButton } from './StyledButton';
|
|
20
20
|
import { useLinkOverlayAnalyticsEvents } from './useLinkOverlayAnalyticsEvents';
|
|
@@ -10,7 +10,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
10
10
|
import { useIntl } from 'react-intl-next';
|
|
11
11
|
import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext';
|
|
12
12
|
import { NodeSelection, TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
13
|
-
import PreferencesIcon from '@atlaskit/icon/core/
|
|
13
|
+
import PreferencesIcon from '@atlaskit/icon/core/customize';
|
|
14
14
|
import Tooltip from '@atlaskit/tooltip';
|
|
15
15
|
import { cardMessages } from '../../messages';
|
|
16
16
|
import Dropdown from './Dropdown';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
|
-
import WarningIcon from '@atlaskit/icon/core/
|
|
8
|
+
import WarningIcon from '@atlaskit/icon/core/status-warning';
|
|
9
9
|
import Tooltip from '@atlaskit/tooltip';
|
|
10
10
|
import { ICON_SIZE_THRESOLD } from './constants';
|
|
11
11
|
import { Frame } from './frame';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useIntl } from 'react-intl-next';
|
|
3
|
-
import InfoIcon from '@atlaskit/icon/core/
|
|
3
|
+
import InfoIcon from '@atlaskit/icon/core/status-information';
|
|
4
4
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
5
5
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
6
6
|
import Tooltip from '@atlaskit/tooltip';
|
|
@@ -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 = "110.44.2";
|
|
14
14
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
15
15
|
// Remove URL as it has UGC
|
|
16
16
|
// Ignored via go/ees007
|
|
@@ -8,6 +8,7 @@ export var SyncBlockSharedCssClassName = {
|
|
|
8
8
|
var bodiedPrefix = 'ak-editor-bodied-sync-block';
|
|
9
9
|
export var BodiedSyncBlockSharedCssClassName = {
|
|
10
10
|
prefix: bodiedPrefix,
|
|
11
|
+
renderer: "".concat(prefix, "__renderer"),
|
|
11
12
|
content: "".concat(bodiedPrefix, "__content"),
|
|
12
13
|
selectionInside: "".concat(bodiedPrefix, "__selection_inside")
|
|
13
14
|
};
|
|
@@ -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 = "110.44.2";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
7
|
import { css, jsx } from '@emotion/react';
|
|
8
|
-
import ErrorIcon from '@atlaskit/icon/core/
|
|
9
|
-
import SuccessIcon from '@atlaskit/icon/core/
|
|
8
|
+
import ErrorIcon from '@atlaskit/icon/core/status-error';
|
|
9
|
+
import SuccessIcon from '@atlaskit/icon/core/status-success';
|
|
10
10
|
var errorColor = css({
|
|
11
11
|
color: "var(--ds-text-danger, #AE2E24)"
|
|
12
12
|
});
|
|
@@ -6,7 +6,7 @@ import React from 'react';
|
|
|
6
6
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { jsx } from '@emotion/react';
|
|
9
|
-
import EditorDoneIcon from '@atlaskit/icon/core/
|
|
9
|
+
import EditorDoneIcon from '@atlaskit/icon/core/check-mark';
|
|
10
10
|
import Tooltip from '@atlaskit/tooltip';
|
|
11
11
|
import { buttonStyle, buttonWrapperStyle } from './styles';
|
|
12
12
|
var Color = function Color(props) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "110.44.
|
|
3
|
+
"version": "110.44.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/"
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@atlaskit/task-decision": "^19.2.0",
|
|
82
82
|
"@atlaskit/textfield": "^8.2.0",
|
|
83
83
|
"@atlaskit/theme": "^21.0.0",
|
|
84
|
-
"@atlaskit/tmp-editor-statsig": "^15.
|
|
84
|
+
"@atlaskit/tmp-editor-statsig": "^15.12.0",
|
|
85
85
|
"@atlaskit/tokens": "^8.5.0",
|
|
86
86
|
"@atlaskit/tooltip": "^20.11.0",
|
|
87
87
|
"@atlaskit/width-detector": "^5.0.0",
|