@atlaskit/editor-common 102.13.6 → 102.13.8
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 +21 -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/link/ConfigureLinkOverlay/Dropdown.js +8 -8
- package/dist/cjs/link/ConfigureLinkOverlay/index.js +3 -3
- package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +3 -3
- package/dist/cjs/media-inline/views/error-view.js +3 -3
- package/dist/cjs/media-single/ExternalImageBadge.js +3 -3
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/styles/shared/headings.js +2 -2
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/FloatingToolbar/SmallerEditIcon.js +1 -1
- package/dist/cjs/ui/Messages/index.js +5 -5
- package/dist/cjs/ui/UnsupportedBlock/index.js +2 -2
- package/dist/cjs/ui/UnsupportedInline/index.js +2 -2
- package/dist/cjs/ui-color/ColorPalette/Color/index.js +3 -3
- package/dist/es2019/card/MediaAndEmbedsToolbar/index.js +3 -3
- package/dist/es2019/extensibility/Extension/Lozenge/LozengeComponent.js +1 -1
- package/dist/es2019/extensibility/MultiBodiedExtension/index.js +1 -1
- package/dist/es2019/link/ConfigureLinkOverlay/Dropdown.js +7 -7
- package/dist/es2019/link/ConfigureLinkOverlay/index.js +2 -2
- package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +3 -3
- package/dist/es2019/media-inline/views/error-view.js +3 -3
- package/dist/es2019/media-single/ExternalImageBadge.js +2 -2
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/styles/shared/headings.js +3 -3
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/FloatingToolbar/SmallerEditIcon.js +1 -1
- package/dist/es2019/ui/Messages/index.js +4 -4
- package/dist/es2019/ui/UnsupportedBlock/index.js +2 -2
- package/dist/es2019/ui/UnsupportedInline/index.js +2 -2
- package/dist/es2019/ui-color/ColorPalette/Color/index.js +2 -2
- package/dist/esm/card/MediaAndEmbedsToolbar/index.js +3 -3
- package/dist/esm/extensibility/Extension/Lozenge/LozengeComponent.js +1 -1
- package/dist/esm/extensibility/MultiBodiedExtension/index.js +1 -1
- package/dist/esm/link/ConfigureLinkOverlay/Dropdown.js +7 -7
- package/dist/esm/link/ConfigureLinkOverlay/index.js +2 -2
- package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +3 -3
- package/dist/esm/media-inline/views/error-view.js +3 -3
- package/dist/esm/media-single/ExternalImageBadge.js +2 -2
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/styles/shared/headings.js +2 -2
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/FloatingToolbar/SmallerEditIcon.js +1 -1
- package/dist/esm/ui/Messages/index.js +4 -4
- package/dist/esm/ui/UnsupportedBlock/index.js +2 -2
- package/dist/esm/ui/UnsupportedInline/index.js +2 -2
- package/dist/esm/ui-color/ColorPalette/Color/index.js +2 -2
- package/dist/types/analytics/types/insert-events.d.ts +1 -1
- package/dist/types/types/feature-flags.d.ts +0 -8
- package/dist/types-ts4.5/analytics/types/insert-events.d.ts +1 -1
- package/dist/types-ts4.5/types/feature-flags.d.ts +0 -8
- package/package.json +3 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 102.13.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#132166](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/132166)
|
|
8
|
+
[`e1c6dcf47a8a2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e1c6dcf47a8a2) -
|
|
9
|
+
ED-24538 Clean up platform_editor_basic_text_transformations
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 102.13.7
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#130660](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/130660)
|
|
17
|
+
[`35cca6367a1ba`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/35cca6367a1ba) -
|
|
18
|
+
ED-27007 Clean up feature flag platform_editor_heading_margin_fix
|
|
19
|
+
- [#131474](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/131474)
|
|
20
|
+
[`c3e241e444446`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c3e241e444446) -
|
|
21
|
+
ENGHEALTH-23692 Iconography uplift for editor-common
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
|
|
3
24
|
## 102.13.6
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
|
@@ -17,11 +17,11 @@ var _alignImageLeft = _interopRequireDefault(require("@atlaskit/icon/core/align-
|
|
|
17
17
|
var _alignImageRight = _interopRequireDefault(require("@atlaskit/icon/core/align-image-right"));
|
|
18
18
|
var _contentWrapLeft = _interopRequireDefault(require("@atlaskit/icon/core/content-wrap-left"));
|
|
19
19
|
var _contentWrapRight = _interopRequireDefault(require("@atlaskit/icon/core/content-wrap-right"));
|
|
20
|
+
var _contentWidthWideEditorMediaWide = _interopRequireDefault(require("@atlaskit/icon/core/migration/content-width-wide--editor-media-wide"));
|
|
21
|
+
var _expandHorizontalEditorMediaFullWidth = _interopRequireDefault(require("@atlaskit/icon/core/migration/expand-horizontal--editor-media-full-width"));
|
|
20
22
|
var _alignImageCenter2 = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/align-image-center"));
|
|
21
23
|
var _alignImageLeft2 = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/align-image-left"));
|
|
22
24
|
var _alignImageRight2 = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/align-image-right"));
|
|
23
|
-
var _mediaFullWidth = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/media-full-width"));
|
|
24
|
-
var _mediaWide = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/media-wide"));
|
|
25
25
|
var _mediaWrapLeft = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/media-wrap-left"));
|
|
26
26
|
var _mediaWrapRight = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/media-wrap-right"));
|
|
27
27
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
@@ -95,10 +95,10 @@ var wrappingIcons = exports.wrappingIcons = [{
|
|
|
95
95
|
}];
|
|
96
96
|
var breakoutIcons = [{
|
|
97
97
|
value: 'wide',
|
|
98
|
-
icon:
|
|
98
|
+
icon: _contentWidthWideEditorMediaWide.default
|
|
99
99
|
}, {
|
|
100
100
|
value: 'full-width',
|
|
101
|
-
icon:
|
|
101
|
+
icon: _expandHorizontalEditorMediaFullWidth.default
|
|
102
102
|
}];
|
|
103
103
|
|
|
104
104
|
// 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 _fileEditorFile = _interopRequireDefault(require("@atlaskit/icon/core/migration/file--editor-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)(_fileEditorFile.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 _fileEditorFile = _interopRequireDefault(require("@atlaskit/icon/core/migration/file--editor-file"));
|
|
18
18
|
var _hooks = require("../../hooks");
|
|
19
19
|
var _MultiBodiedExtension = require("../../ui/MultiBodiedExtension");
|
|
20
20
|
var _utils = require("../../utils");
|
|
@@ -82,7 +82,7 @@ var getWrapperTitleContent = function getWrapperTitleContent(imageData, title, s
|
|
|
82
82
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
83
83
|
className: "extension-title",
|
|
84
84
|
"data-testid": 'multiBodiedExtension-default-lozenge'
|
|
85
|
-
}, (0, _react2.jsx)(
|
|
85
|
+
}, (0, _react2.jsx)(_fileEditorFile.default, {
|
|
86
86
|
label: title
|
|
87
87
|
}), title);
|
|
88
88
|
};
|
|
@@ -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
|
|
17
|
-
var
|
|
18
|
-
var
|
|
16
|
+
var _customizePreferences = _interopRequireDefault(require("@atlaskit/icon/core/migration/customize--preferences"));
|
|
17
|
+
var _linkExternalShortcut = _interopRequireDefault(require("@atlaskit/icon/core/migration/link-external--shortcut"));
|
|
18
|
+
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/utility/migration/chevron-down"));
|
|
19
19
|
var _messages = require("../../messages");
|
|
20
20
|
var _StyledButton = require("./StyledButton");
|
|
21
21
|
var _useLinkOverlayAnalyticsEvents = require("./useLinkOverlayAnalyticsEvents");
|
|
@@ -83,7 +83,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
83
83
|
}, props, {
|
|
84
84
|
iconBefore: (0, _react2.jsx)(_chevronDown.default, {
|
|
85
85
|
label: configureLinkLabel,
|
|
86
|
-
|
|
86
|
+
LEGACY_size: "small"
|
|
87
87
|
}),
|
|
88
88
|
onClick: function onClick(e) {
|
|
89
89
|
_onClick === null || _onClick === void 0 || _onClick(e);
|
|
@@ -94,16 +94,16 @@ 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)(_linkExternalShortcut.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)(_customizePreferences.default, {
|
|
105
105
|
label: configureLinkLabel,
|
|
106
|
-
|
|
106
|
+
LEGACY_size: "medium"
|
|
107
107
|
}),
|
|
108
108
|
onClick: onConfigureClick,
|
|
109
109
|
testId: "".concat(testId, "-dropdown-item-configure")
|
|
@@ -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 _customizePreferences = _interopRequireDefault(require("@atlaskit/icon/core/migration/customize--preferences"));
|
|
15
15
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
16
16
|
var _messages = require("../../messages");
|
|
17
17
|
var _Dropdown = _interopRequireDefault(require("./Dropdown"));
|
|
@@ -106,9 +106,9 @@ 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)(_customizePreferences.default, {
|
|
110
110
|
label: configureLinkLabel,
|
|
111
|
-
|
|
111
|
+
LEGACY_size: "small",
|
|
112
112
|
testId: "".concat(testId, "-configure-icon")
|
|
113
113
|
})
|
|
114
114
|
})));
|
|
@@ -24,7 +24,7 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
24
24
|
var _adfSchema = require("@atlaskit/adf-schema");
|
|
25
25
|
var _withAnalyticsEvents = _interopRequireDefault(require("@atlaskit/analytics-next/withAnalyticsEvents"));
|
|
26
26
|
var _ = _interopRequireDefault(require("@atlaskit/icon-object/glyph/page/16"));
|
|
27
|
-
var _crossCircle = _interopRequireDefault(require("@atlaskit/icon/
|
|
27
|
+
var _crossCircle = _interopRequireDefault(require("@atlaskit/icon/core/migration/cross-circle"));
|
|
28
28
|
var _primitives = require("@atlaskit/primitives");
|
|
29
29
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
30
30
|
var _analytics = require("../../../analytics");
|
|
@@ -901,7 +901,7 @@ var HyperlinkLinkAddToolbar = exports.HyperlinkLinkAddToolbar = /*#__PURE__*/fun
|
|
|
901
901
|
onClick: this.handleClearText
|
|
902
902
|
}, (0, _react2.jsx)(_crossCircle.default, {
|
|
903
903
|
label: formatClearLinkText,
|
|
904
|
-
|
|
904
|
+
color: "var(--ds-icon-subtle, #626F86)"
|
|
905
905
|
}))))), (0, _react2.jsx)("label", {
|
|
906
906
|
htmlFor: displayTextInputId,
|
|
907
907
|
css: [inputLabel, textLabelMargin]
|
|
@@ -928,7 +928,7 @@ var HyperlinkLinkAddToolbar = exports.HyperlinkLinkAddToolbar = /*#__PURE__*/fun
|
|
|
928
928
|
onKeyDown: this.handleClearTextKeyDown
|
|
929
929
|
}, (0, _react2.jsx)(_crossCircle.default, {
|
|
930
930
|
label: formatMessage(messages.clearText),
|
|
931
|
-
|
|
931
|
+
color: "var(--ds-icon-subtle, #626F86)"
|
|
932
932
|
}))))), (0, _react2.jsx)("div", {
|
|
933
933
|
css: visuallyHiddenStyles,
|
|
934
934
|
"aria-live": "polite",
|
|
@@ -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 _warning = _interopRequireDefault(require("@atlaskit/icon/
|
|
9
|
+
var _warning = _interopRequireDefault(require("@atlaskit/icon/core/migration/warning"));
|
|
10
10
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
11
11
|
var _constants = require("./constants");
|
|
12
12
|
var _frame = require("./frame");
|
|
@@ -34,7 +34,7 @@ var InlineImageCardErrorView = exports.InlineImageCardErrorView = function Inlin
|
|
|
34
34
|
hideTooltipOnClick: true
|
|
35
35
|
}, (0, _react.jsx)(_iconWrapper.IconWrapper, null, icon || (0, _react.jsx)(_warning.default, {
|
|
36
36
|
label: "error",
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
LEGACY_size: height > _constants.ICON_SIZE_THRESOLD ? 'medium' : 'small',
|
|
38
|
+
color: "var(--ds-icon-danger, #C9372C)"
|
|
39
39
|
}))));
|
|
40
40
|
};
|
|
@@ -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 _informationInfo = _interopRequireDefault(require("@atlaskit/icon/core/migration/information--info"));
|
|
11
11
|
var _primitives = require("@atlaskit/primitives");
|
|
12
12
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
13
13
|
var _media = require("../media");
|
|
@@ -51,8 +51,8 @@ var ExternalImageBadge = exports.ExternalImageBadge = function ExternalImageBadg
|
|
|
51
51
|
}), /*#__PURE__*/_react.default.createElement(_tooltip.default, {
|
|
52
52
|
content: message,
|
|
53
53
|
position: "top"
|
|
54
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
55
|
-
|
|
54
|
+
}, /*#__PURE__*/_react.default.createElement(_informationInfo.default, {
|
|
55
|
+
LEGACY_size: "small",
|
|
56
56
|
label: message
|
|
57
57
|
})));
|
|
58
58
|
};
|
|
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
17
17
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
18
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
19
19
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
20
|
-
var packageVersion = "102.13.
|
|
20
|
+
var packageVersion = "102.13.8";
|
|
21
21
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
22
22
|
// Remove URL as it has UGC
|
|
23
23
|
// Ignored via go/ees007
|
|
@@ -14,7 +14,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
14
14
|
var headingWithAlignmentStyles = function headingWithAlignmentStyles() {
|
|
15
15
|
return (
|
|
16
16
|
// Override marginTop: 0 with default margin found in headingsSharedStyles for first heading in alignment block that is not the first child
|
|
17
|
-
|
|
17
|
+
{
|
|
18
18
|
'.fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)': {
|
|
19
19
|
'> h1:first-child': {
|
|
20
20
|
marginTop: '1.667em'
|
|
@@ -41,7 +41,7 @@ var headingWithAlignmentStyles = function headingWithAlignmentStyles() {
|
|
|
41
41
|
marginTop: '0'
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
}
|
|
44
|
+
}
|
|
45
45
|
);
|
|
46
46
|
};
|
|
47
47
|
|
|
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
23
23
|
* @jsx jsx
|
|
24
24
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
25
25
|
var packageName = "@atlaskit/editor-common";
|
|
26
|
-
var packageVersion = "102.13.
|
|
26
|
+
var packageVersion = "102.13.8";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.SmallerEditIcon = void 0;
|
|
8
8
|
var _react = require("@emotion/react");
|
|
9
|
-
var _edit = _interopRequireDefault(require("@atlaskit/icon/
|
|
9
|
+
var _edit = _interopRequireDefault(require("@atlaskit/icon/core/migration/edit"));
|
|
10
10
|
/**
|
|
11
11
|
* @jsxRuntime classic
|
|
12
12
|
* @jsx jsx
|
|
@@ -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 _error = _interopRequireDefault(require("@atlaskit/icon/core/migration/error"));
|
|
10
|
+
var _successEditorSuccess = _interopRequireDefault(require("@atlaskit/icon/core/migration/success--editor-success"));
|
|
11
11
|
/**
|
|
12
12
|
* @jsxRuntime classic
|
|
13
13
|
* @jsx jsx
|
|
@@ -59,7 +59,7 @@ var ErrorMessage = exports.ErrorMessage = function ErrorMessage(_ref2) {
|
|
|
59
59
|
}, (0, _react.jsx)("span", {
|
|
60
60
|
css: iconWrapperStyle
|
|
61
61
|
}, (0, _react.jsx)(_error.default, {
|
|
62
|
-
|
|
62
|
+
LEGACY_size: "small",
|
|
63
63
|
label: "error",
|
|
64
64
|
"aria-label": "error"
|
|
65
65
|
})), children);
|
|
@@ -72,8 +72,8 @@ var ValidMessage = exports.ValidMessage = function ValidMessage(_ref3) {
|
|
|
72
72
|
}
|
|
73
73
|
}, (0, _react.jsx)("span", {
|
|
74
74
|
css: iconWrapperStyle
|
|
75
|
-
}, (0, _react.jsx)(
|
|
76
|
-
|
|
75
|
+
}, (0, _react.jsx)(_successEditorSuccess.default, {
|
|
76
|
+
LEGACY_size: "small",
|
|
77
77
|
label: "success"
|
|
78
78
|
})), children);
|
|
79
79
|
};
|
|
@@ -10,7 +10,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
10
10
|
var _react2 = require("@emotion/react");
|
|
11
11
|
var _reactIntlNext = require("react-intl-next");
|
|
12
12
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
13
|
-
var _questionCircle = _interopRequireDefault(require("@atlaskit/icon/
|
|
13
|
+
var _questionCircle = _interopRequireDefault(require("@atlaskit/icon/core/migration/question-circle"));
|
|
14
14
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
15
15
|
var _analytics = require("../../analytics");
|
|
16
16
|
var _unsupportedContent = require("../../messages/unsupportedContent");
|
|
@@ -73,7 +73,7 @@ var UnsupportedBlockNode = function UnsupportedBlockNode(_ref) {
|
|
|
73
73
|
style: style
|
|
74
74
|
}, (0, _react2.jsx)(_questionCircle.default, {
|
|
75
75
|
label: "?",
|
|
76
|
-
|
|
76
|
+
LEGACY_size: "small"
|
|
77
77
|
}))))
|
|
78
78
|
);
|
|
79
79
|
};
|
|
@@ -10,7 +10,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
10
10
|
var _react2 = require("@emotion/react");
|
|
11
11
|
var _reactIntlNext = require("react-intl-next");
|
|
12
12
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
13
|
-
var _questionCircle = _interopRequireDefault(require("@atlaskit/icon/
|
|
13
|
+
var _questionCircle = _interopRequireDefault(require("@atlaskit/icon/core/migration/question-circle"));
|
|
14
14
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
15
15
|
var _analytics = require("../../analytics");
|
|
16
16
|
var _unsupportedContent = require("../../messages/unsupportedContent");
|
|
@@ -68,7 +68,7 @@ var UnsupportedInlineNode = function UnsupportedInlineNode(_ref) {
|
|
|
68
68
|
style: style
|
|
69
69
|
}, (0, _react2.jsx)(_questionCircle.default, {
|
|
70
70
|
label: "?",
|
|
71
|
-
|
|
71
|
+
LEGACY_size: "small"
|
|
72
72
|
}))));
|
|
73
73
|
};
|
|
74
74
|
var _default = exports.default = (0, _reactIntlNext.injectIntl)(UnsupportedInlineNode);
|
|
@@ -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 _checkMarkEditorDone = _interopRequireDefault(require("@atlaskit/icon/core/migration/check-mark--editor-done"));
|
|
11
11
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
12
12
|
var _styles = require("./styles");
|
|
13
13
|
/**
|
|
@@ -73,8 +73,8 @@ var Color = function Color(props) {
|
|
|
73
73
|
border: "1px solid ".concat(borderColor)
|
|
74
74
|
},
|
|
75
75
|
autoFocus: autoFocus
|
|
76
|
-
}, !decorator && isSelected && (0, _react2.jsx)(
|
|
77
|
-
|
|
76
|
+
}, !decorator && isSelected && (0, _react2.jsx)(_checkMarkEditorDone.default, {
|
|
77
|
+
LEGACY_primaryColor: checkMarkColor,
|
|
78
78
|
label: ""
|
|
79
79
|
}), decorator)));
|
|
80
80
|
};
|
|
@@ -7,11 +7,11 @@ import AlignImageLeftIcon from '@atlaskit/icon/core/align-image-left';
|
|
|
7
7
|
import AlignImageRightIcon from '@atlaskit/icon/core/align-image-right';
|
|
8
8
|
import ContentWrapLeftIcon from '@atlaskit/icon/core/content-wrap-left';
|
|
9
9
|
import ContentWrapRightIcon from '@atlaskit/icon/core/content-wrap-right';
|
|
10
|
+
import ContentWidthWide from '@atlaskit/icon/core/migration/content-width-wide--editor-media-wide';
|
|
11
|
+
import FullWidthIcon from '@atlaskit/icon/core/migration/expand-horizontal--editor-media-full-width';
|
|
10
12
|
import EditorAlignImageCenter from '@atlaskit/icon/glyph/editor/align-image-center';
|
|
11
13
|
import EditorAlignImageLeft from '@atlaskit/icon/glyph/editor/align-image-left';
|
|
12
14
|
import EditorAlignImageRight from '@atlaskit/icon/glyph/editor/align-image-right';
|
|
13
|
-
import FullWidthIcon from '@atlaskit/icon/glyph/editor/media-full-width';
|
|
14
|
-
import WideIcon from '@atlaskit/icon/glyph/editor/media-wide';
|
|
15
15
|
import WrapLeftIcon from '@atlaskit/icon/glyph/editor/media-wrap-left';
|
|
16
16
|
import WrapRightIcon from '@atlaskit/icon/glyph/editor/media-wrap-right';
|
|
17
17
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -72,7 +72,7 @@ export const wrappingIcons = [{
|
|
|
72
72
|
}];
|
|
73
73
|
const breakoutIcons = [{
|
|
74
74
|
value: 'wide',
|
|
75
|
-
icon:
|
|
75
|
+
icon: ContentWidthWide
|
|
76
76
|
}, {
|
|
77
77
|
value: 'full-width',
|
|
78
78
|
icon: FullWidthIcon
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { Fragment } from 'react';
|
|
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 EditorFileIcon from '@atlaskit/icon/
|
|
8
|
+
import EditorFileIcon from '@atlaskit/icon/core/migration/file--editor-file';
|
|
9
9
|
import { placeholderFallback, placeholderFallbackParams } from '../styles';
|
|
10
10
|
import { EditToggle } from './EditToggle';
|
|
11
11
|
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/
|
|
13
|
+
import EditorFileIcon from '@atlaskit/icon/core/migration/file--editor-file';
|
|
14
14
|
import { useSharedPluginState } from '../../hooks';
|
|
15
15
|
import { removeMarginsAndBorder, sharedMultiBodiedExtensionStyles } from '../../ui/MultiBodiedExtension';
|
|
16
16
|
import { calculateBreakoutStyles, getExtensionLozengeData } from '../../utils';
|
|
@@ -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
|
|
14
|
-
import
|
|
15
|
-
import
|
|
13
|
+
import PreferencesIcon from '@atlaskit/icon/core/migration/customize--preferences';
|
|
14
|
+
import LinkExternalIcon from '@atlaskit/icon/core/migration/link-external--shortcut';
|
|
15
|
+
import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down';
|
|
16
16
|
import { cardMessages as messages } from '../../messages';
|
|
17
17
|
import { StyledButton } from './StyledButton';
|
|
18
18
|
import { useLinkOverlayAnalyticsEvents } from './useLinkOverlayAnalyticsEvents';
|
|
@@ -74,7 +74,7 @@ const Dropdown = ({
|
|
|
74
74
|
}, props, {
|
|
75
75
|
iconBefore: jsx(ChevronDownIcon, {
|
|
76
76
|
label: configureLinkLabel,
|
|
77
|
-
|
|
77
|
+
LEGACY_size: "small"
|
|
78
78
|
}),
|
|
79
79
|
onClick: e => {
|
|
80
80
|
onClick === null || onClick === void 0 ? void 0 : onClick(e);
|
|
@@ -84,16 +84,16 @@ const Dropdown = ({
|
|
|
84
84
|
testId: `${testId}-dropdown`,
|
|
85
85
|
onOpenChange: onOpenChange
|
|
86
86
|
}, jsx(DropdownItemGroup, null, jsx(DropdownItem, {
|
|
87
|
-
elemBefore: jsx(
|
|
87
|
+
elemBefore: jsx(LinkExternalIcon, {
|
|
88
88
|
label: goToLinkLabel,
|
|
89
|
-
|
|
89
|
+
LEGACY_size: "medium"
|
|
90
90
|
}),
|
|
91
91
|
testId: `${testId}-dropdown-item-open-link`,
|
|
92
92
|
onClick: onGoToLinkClick
|
|
93
93
|
}, goToLinkLabel), jsx(DropdownItem, {
|
|
94
94
|
elemBefore: jsx(PreferencesIcon, {
|
|
95
95
|
label: configureLinkLabel,
|
|
96
|
-
|
|
96
|
+
LEGACY_size: "medium"
|
|
97
97
|
}),
|
|
98
98
|
onClick: onConfigureClick,
|
|
99
99
|
testId: `${testId}-dropdown-item-configure`
|
|
@@ -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/
|
|
12
|
+
import PreferencesIcon from '@atlaskit/icon/core/migration/customize--preferences';
|
|
13
13
|
import Tooltip from '@atlaskit/tooltip';
|
|
14
14
|
import { cardMessages } from '../../messages';
|
|
15
15
|
import Dropdown from './Dropdown';
|
|
@@ -99,7 +99,7 @@ export const OverlayButton = withAnalyticsContext()(({
|
|
|
99
99
|
onClick: handleConfigureClickWithAnalytics,
|
|
100
100
|
iconBefore: jsx(PreferencesIcon, {
|
|
101
101
|
label: configureLinkLabel,
|
|
102
|
-
|
|
102
|
+
LEGACY_size: "small",
|
|
103
103
|
testId: `${testId}-configure-icon`
|
|
104
104
|
})
|
|
105
105
|
})));
|
|
@@ -14,7 +14,7 @@ import { defineMessages, injectIntl } from 'react-intl-next';
|
|
|
14
14
|
import { isSafeUrl } from '@atlaskit/adf-schema';
|
|
15
15
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
16
16
|
import Page16Icon from '@atlaskit/icon-object/glyph/page/16';
|
|
17
|
-
import CrossCircleIcon from '@atlaskit/icon/
|
|
17
|
+
import CrossCircleIcon from '@atlaskit/icon/core/migration/cross-circle';
|
|
18
18
|
import { Pressable, xcss } from '@atlaskit/primitives';
|
|
19
19
|
import Tooltip from '@atlaskit/tooltip';
|
|
20
20
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, fireAnalyticsEvent, INPUT_METHOD } from '../../../analytics';
|
|
@@ -750,7 +750,7 @@ export class HyperlinkLinkAddToolbar extends PureComponent {
|
|
|
750
750
|
onClick: this.handleClearText
|
|
751
751
|
}, jsx(CrossCircleIcon, {
|
|
752
752
|
label: formatClearLinkText,
|
|
753
|
-
|
|
753
|
+
color: "var(--ds-icon-subtle, #626F86)"
|
|
754
754
|
}))))), jsx("label", {
|
|
755
755
|
htmlFor: displayTextInputId,
|
|
756
756
|
css: [inputLabel, textLabelMargin]
|
|
@@ -775,7 +775,7 @@ export class HyperlinkLinkAddToolbar extends PureComponent {
|
|
|
775
775
|
onKeyDown: this.handleClearTextKeyDown
|
|
776
776
|
}, jsx(CrossCircleIcon, {
|
|
777
777
|
label: formatMessage(messages.clearText),
|
|
778
|
-
|
|
778
|
+
color: "var(--ds-icon-subtle, #626F86)"
|
|
779
779
|
}))))), jsx("div", {
|
|
780
780
|
css: visuallyHiddenStyles,
|
|
781
781
|
"aria-live": "polite",
|
|
@@ -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/
|
|
8
|
+
import WarningIcon from '@atlaskit/icon/core/migration/warning';
|
|
9
9
|
import Tooltip from '@atlaskit/tooltip';
|
|
10
10
|
import { ICON_SIZE_THRESOLD } from './constants';
|
|
11
11
|
import { Frame } from './frame';
|
|
@@ -25,7 +25,7 @@ export const InlineImageCardErrorView = ({
|
|
|
25
25
|
hideTooltipOnClick: true
|
|
26
26
|
}, jsx(IconWrapper, null, icon || jsx(WarningIcon, {
|
|
27
27
|
label: "error",
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
LEGACY_size: height > ICON_SIZE_THRESOLD ? 'medium' : 'small',
|
|
29
|
+
color: "var(--ds-icon-danger, #C9372C)"
|
|
30
30
|
}))));
|
|
31
31
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useIntl } from 'react-intl-next';
|
|
3
|
-
import InfoIcon from '@atlaskit/icon/
|
|
3
|
+
import InfoIcon from '@atlaskit/icon/core/migration/information--info';
|
|
4
4
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
5
5
|
import Tooltip from '@atlaskit/tooltip';
|
|
6
6
|
import { externalMediaMessages } from '../media';
|
|
@@ -45,7 +45,7 @@ export const ExternalImageBadge = ({
|
|
|
45
45
|
content: message,
|
|
46
46
|
position: "top"
|
|
47
47
|
}, /*#__PURE__*/React.createElement(InfoIcon, {
|
|
48
|
-
|
|
48
|
+
LEGACY_size: "small",
|
|
49
49
|
label: message
|
|
50
50
|
})));
|
|
51
51
|
};
|
|
@@ -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 = "102.13.
|
|
4
|
+
const packageVersion = "102.13.8";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// Ignored via go/ees007
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
import { css } from '@emotion/react';
|
|
8
8
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
9
|
import editorUGCToken from '../../ugc-tokens/get-editor-ugc-token';
|
|
10
|
-
const headingWithAlignmentStyles = () =>
|
|
10
|
+
const headingWithAlignmentStyles = () => (
|
|
11
11
|
// Override marginTop: 0 with default margin found in headingsSharedStyles for first heading in alignment block that is not the first child
|
|
12
|
-
|
|
12
|
+
{
|
|
13
13
|
'.fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)': {
|
|
14
14
|
'> h1:first-child': {
|
|
15
15
|
marginTop: '1.667em'
|
|
@@ -36,7 +36,7 @@ fg('platform_editor_heading_margin_fix') ? {
|
|
|
36
36
|
marginTop: '0'
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
}
|
|
39
|
+
});
|
|
40
40
|
|
|
41
41
|
// @see typography spreadsheet: https://docs.google.com/spreadsheets/d/1iYusRGCT4PoPfvxbJ8NrgjtfFgXLm5lpDWXzjua1W2E/edit#gid=93913128
|
|
42
42
|
// text sizing prototype: http://proto/fabricrender/
|
|
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
13
13
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
14
14
|
import Layer from '../Layer';
|
|
15
15
|
const packageName = "@atlaskit/editor-common";
|
|
16
|
-
const packageVersion = "102.13.
|
|
16
|
+
const packageVersion = "102.13.8";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
|
-
import EditIcon from '@atlaskit/icon/
|
|
7
|
+
import EditIcon from '@atlaskit/icon/core/migration/edit';
|
|
8
8
|
const editIconStyles = css({
|
|
9
9
|
width: '20px'
|
|
10
10
|
});
|
|
@@ -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
|
|
9
|
-
import
|
|
8
|
+
import ErrorIcon from '@atlaskit/icon/core/migration/error';
|
|
9
|
+
import SuccessIcon from '@atlaskit/icon/core/migration/success--editor-success';
|
|
10
10
|
const errorColor = css({
|
|
11
11
|
color: "var(--ds-text-danger, #AE2E24)"
|
|
12
12
|
});
|
|
@@ -47,7 +47,7 @@ export const ErrorMessage = ({
|
|
|
47
47
|
}, jsx("span", {
|
|
48
48
|
css: iconWrapperStyle
|
|
49
49
|
}, jsx(ErrorIcon, {
|
|
50
|
-
|
|
50
|
+
LEGACY_size: "small",
|
|
51
51
|
label: "error",
|
|
52
52
|
"aria-label": "error"
|
|
53
53
|
})), children);
|
|
@@ -60,6 +60,6 @@ export const ValidMessage = ({
|
|
|
60
60
|
}, jsx("span", {
|
|
61
61
|
css: iconWrapperStyle
|
|
62
62
|
}, jsx(SuccessIcon, {
|
|
63
|
-
|
|
63
|
+
LEGACY_size: "small",
|
|
64
64
|
label: "success"
|
|
65
65
|
})), children);
|
|
@@ -8,7 +8,7 @@ import React, { useCallback, useRef } from 'react';
|
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
9
|
import { injectIntl } from 'react-intl-next';
|
|
10
10
|
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
11
|
-
import QuestionsIcon from '@atlaskit/icon/
|
|
11
|
+
import QuestionsIcon from '@atlaskit/icon/core/migration/question-circle';
|
|
12
12
|
import Tooltip from '@atlaskit/tooltip';
|
|
13
13
|
import { ACTION_SUBJECT_ID } from '../../analytics';
|
|
14
14
|
import { unsupportedContentMessages } from '../../messages/unsupportedContent';
|
|
@@ -62,7 +62,7 @@ const UnsupportedBlockNode = ({
|
|
|
62
62
|
style: style
|
|
63
63
|
}, jsx(QuestionsIcon, {
|
|
64
64
|
label: "?",
|
|
65
|
-
|
|
65
|
+
LEGACY_size: "small"
|
|
66
66
|
}))))
|
|
67
67
|
);
|
|
68
68
|
};
|
|
@@ -8,7 +8,7 @@ import React, { useCallback, useRef } from 'react';
|
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
9
|
import { injectIntl } from 'react-intl-next';
|
|
10
10
|
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
11
|
-
import QuestionsIcon from '@atlaskit/icon/
|
|
11
|
+
import QuestionsIcon from '@atlaskit/icon/core/migration/question-circle';
|
|
12
12
|
import Tooltip from '@atlaskit/tooltip';
|
|
13
13
|
import { ACTION_SUBJECT_ID } from '../../analytics';
|
|
14
14
|
import { unsupportedContentMessages } from '../../messages/unsupportedContent';
|
|
@@ -57,7 +57,7 @@ const UnsupportedInlineNode = ({
|
|
|
57
57
|
style: style
|
|
58
58
|
}, jsx(QuestionsIcon, {
|
|
59
59
|
label: "?",
|
|
60
|
-
|
|
60
|
+
LEGACY_size: "small"
|
|
61
61
|
}))));
|
|
62
62
|
};
|
|
63
63
|
export default injectIntl(UnsupportedInlineNode);
|
|
@@ -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/
|
|
9
|
+
import EditorDoneIcon from '@atlaskit/icon/core/migration/check-mark--editor-done';
|
|
10
10
|
import Tooltip from '@atlaskit/tooltip';
|
|
11
11
|
import { buttonStyle, buttonWrapperStyle } from './styles';
|
|
12
12
|
const Color = props => {
|
|
@@ -76,7 +76,7 @@ const Color = props => {
|
|
|
76
76
|
},
|
|
77
77
|
autoFocus: autoFocus
|
|
78
78
|
}, !decorator && isSelected && jsx(EditorDoneIcon, {
|
|
79
|
-
|
|
79
|
+
LEGACY_primaryColor: checkMarkColor,
|
|
80
80
|
label: ""
|
|
81
81
|
}), decorator)));
|
|
82
82
|
};
|
|
@@ -11,11 +11,11 @@ import AlignImageLeftIcon from '@atlaskit/icon/core/align-image-left';
|
|
|
11
11
|
import AlignImageRightIcon from '@atlaskit/icon/core/align-image-right';
|
|
12
12
|
import ContentWrapLeftIcon from '@atlaskit/icon/core/content-wrap-left';
|
|
13
13
|
import ContentWrapRightIcon from '@atlaskit/icon/core/content-wrap-right';
|
|
14
|
+
import ContentWidthWide from '@atlaskit/icon/core/migration/content-width-wide--editor-media-wide';
|
|
15
|
+
import FullWidthIcon from '@atlaskit/icon/core/migration/expand-horizontal--editor-media-full-width';
|
|
14
16
|
import EditorAlignImageCenter from '@atlaskit/icon/glyph/editor/align-image-center';
|
|
15
17
|
import EditorAlignImageLeft from '@atlaskit/icon/glyph/editor/align-image-left';
|
|
16
18
|
import EditorAlignImageRight from '@atlaskit/icon/glyph/editor/align-image-right';
|
|
17
|
-
import FullWidthIcon from '@atlaskit/icon/glyph/editor/media-full-width';
|
|
18
|
-
import WideIcon from '@atlaskit/icon/glyph/editor/media-wide';
|
|
19
19
|
import WrapLeftIcon from '@atlaskit/icon/glyph/editor/media-wrap-left';
|
|
20
20
|
import WrapRightIcon from '@atlaskit/icon/glyph/editor/media-wrap-right';
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -86,7 +86,7 @@ export var wrappingIcons = [{
|
|
|
86
86
|
}];
|
|
87
87
|
var breakoutIcons = [{
|
|
88
88
|
value: 'wide',
|
|
89
|
-
icon:
|
|
89
|
+
icon: ContentWidthWide
|
|
90
90
|
}, {
|
|
91
91
|
value: 'full-width',
|
|
92
92
|
icon: FullWidthIcon
|
|
@@ -8,7 +8,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
8
8
|
import { Fragment } from 'react';
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
10
|
import { jsx } from '@emotion/react';
|
|
11
|
-
import EditorFileIcon from '@atlaskit/icon/
|
|
11
|
+
import EditorFileIcon from '@atlaskit/icon/core/migration/file--editor-file';
|
|
12
12
|
import { placeholderFallback, placeholderFallbackParams } from '../styles';
|
|
13
13
|
import { EditToggle } from './EditToggle';
|
|
14
14
|
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/
|
|
18
|
+
import EditorFileIcon from '@atlaskit/icon/core/migration/file--editor-file';
|
|
19
19
|
import { useSharedPluginState } from '../../hooks';
|
|
20
20
|
import { removeMarginsAndBorder, sharedMultiBodiedExtensionStyles } from '../../ui/MultiBodiedExtension';
|
|
21
21
|
import { calculateBreakoutStyles, getExtensionLozengeData } from '../../utils';
|
|
@@ -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
|
|
16
|
-
import
|
|
17
|
-
import
|
|
15
|
+
import PreferencesIcon from '@atlaskit/icon/core/migration/customize--preferences';
|
|
16
|
+
import LinkExternalIcon from '@atlaskit/icon/core/migration/link-external--shortcut';
|
|
17
|
+
import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down';
|
|
18
18
|
import { cardMessages as messages } from '../../messages';
|
|
19
19
|
import { StyledButton } from './StyledButton';
|
|
20
20
|
import { useLinkOverlayAnalyticsEvents } from './useLinkOverlayAnalyticsEvents';
|
|
@@ -74,7 +74,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
74
74
|
}, props, {
|
|
75
75
|
iconBefore: jsx(ChevronDownIcon, {
|
|
76
76
|
label: configureLinkLabel,
|
|
77
|
-
|
|
77
|
+
LEGACY_size: "small"
|
|
78
78
|
}),
|
|
79
79
|
onClick: function onClick(e) {
|
|
80
80
|
_onClick === null || _onClick === void 0 || _onClick(e);
|
|
@@ -85,16 +85,16 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
85
85
|
testId: "".concat(testId, "-dropdown"),
|
|
86
86
|
onOpenChange: onOpenChange
|
|
87
87
|
}, jsx(DropdownItemGroup, null, jsx(DropdownItem, {
|
|
88
|
-
elemBefore: jsx(
|
|
88
|
+
elemBefore: jsx(LinkExternalIcon, {
|
|
89
89
|
label: goToLinkLabel,
|
|
90
|
-
|
|
90
|
+
LEGACY_size: "medium"
|
|
91
91
|
}),
|
|
92
92
|
testId: "".concat(testId, "-dropdown-item-open-link"),
|
|
93
93
|
onClick: onGoToLinkClick
|
|
94
94
|
}, goToLinkLabel), jsx(DropdownItem, {
|
|
95
95
|
elemBefore: jsx(PreferencesIcon, {
|
|
96
96
|
label: configureLinkLabel,
|
|
97
|
-
|
|
97
|
+
LEGACY_size: "medium"
|
|
98
98
|
}),
|
|
99
99
|
onClick: onConfigureClick,
|
|
100
100
|
testId: "".concat(testId, "-dropdown-item-configure")
|
|
@@ -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/
|
|
13
|
+
import PreferencesIcon from '@atlaskit/icon/core/migration/customize--preferences';
|
|
14
14
|
import Tooltip from '@atlaskit/tooltip';
|
|
15
15
|
import { cardMessages } from '../../messages';
|
|
16
16
|
import Dropdown from './Dropdown';
|
|
@@ -100,7 +100,7 @@ export var OverlayButton = withAnalyticsContext()(function (_ref) {
|
|
|
100
100
|
onClick: handleConfigureClickWithAnalytics,
|
|
101
101
|
iconBefore: jsx(PreferencesIcon, {
|
|
102
102
|
label: configureLinkLabel,
|
|
103
|
-
|
|
103
|
+
LEGACY_size: "small",
|
|
104
104
|
testId: "".concat(testId, "-configure-icon")
|
|
105
105
|
})
|
|
106
106
|
})));
|
|
@@ -25,7 +25,7 @@ import { defineMessages, injectIntl } from 'react-intl-next';
|
|
|
25
25
|
import { isSafeUrl } from '@atlaskit/adf-schema';
|
|
26
26
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
27
27
|
import Page16Icon from '@atlaskit/icon-object/glyph/page/16';
|
|
28
|
-
import CrossCircleIcon from '@atlaskit/icon/
|
|
28
|
+
import CrossCircleIcon from '@atlaskit/icon/core/migration/cross-circle';
|
|
29
29
|
import { Pressable, xcss } from '@atlaskit/primitives';
|
|
30
30
|
import Tooltip from '@atlaskit/tooltip';
|
|
31
31
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, fireAnalyticsEvent, INPUT_METHOD } from '../../../analytics';
|
|
@@ -896,7 +896,7 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
|
|
|
896
896
|
onClick: this.handleClearText
|
|
897
897
|
}, jsx(CrossCircleIcon, {
|
|
898
898
|
label: formatClearLinkText,
|
|
899
|
-
|
|
899
|
+
color: "var(--ds-icon-subtle, #626F86)"
|
|
900
900
|
}))))), jsx("label", {
|
|
901
901
|
htmlFor: displayTextInputId,
|
|
902
902
|
css: [inputLabel, textLabelMargin]
|
|
@@ -923,7 +923,7 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
|
|
|
923
923
|
onKeyDown: this.handleClearTextKeyDown
|
|
924
924
|
}, jsx(CrossCircleIcon, {
|
|
925
925
|
label: formatMessage(messages.clearText),
|
|
926
|
-
|
|
926
|
+
color: "var(--ds-icon-subtle, #626F86)"
|
|
927
927
|
}))))), jsx("div", {
|
|
928
928
|
css: visuallyHiddenStyles,
|
|
929
929
|
"aria-live": "polite",
|
|
@@ -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/
|
|
8
|
+
import WarningIcon from '@atlaskit/icon/core/migration/warning';
|
|
9
9
|
import Tooltip from '@atlaskit/tooltip';
|
|
10
10
|
import { ICON_SIZE_THRESOLD } from './constants';
|
|
11
11
|
import { Frame } from './frame';
|
|
@@ -26,7 +26,7 @@ export var InlineImageCardErrorView = function InlineImageCardErrorView(_ref) {
|
|
|
26
26
|
hideTooltipOnClick: true
|
|
27
27
|
}, jsx(IconWrapper, null, icon || jsx(WarningIcon, {
|
|
28
28
|
label: "error",
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
LEGACY_size: height > ICON_SIZE_THRESOLD ? 'medium' : 'small',
|
|
30
|
+
color: "var(--ds-icon-danger, #C9372C)"
|
|
31
31
|
}))));
|
|
32
32
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useIntl } from 'react-intl-next';
|
|
3
|
-
import InfoIcon from '@atlaskit/icon/
|
|
3
|
+
import InfoIcon from '@atlaskit/icon/core/migration/information--info';
|
|
4
4
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
5
5
|
import Tooltip from '@atlaskit/tooltip';
|
|
6
6
|
import { externalMediaMessages } from '../media';
|
|
@@ -45,7 +45,7 @@ export var ExternalImageBadge = function ExternalImageBadge(_ref) {
|
|
|
45
45
|
content: message,
|
|
46
46
|
position: "top"
|
|
47
47
|
}, /*#__PURE__*/React.createElement(InfoIcon, {
|
|
48
|
-
|
|
48
|
+
LEGACY_size: "small",
|
|
49
49
|
label: message
|
|
50
50
|
})));
|
|
51
51
|
};
|
|
@@ -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 = "102.13.
|
|
10
|
+
var packageVersion = "102.13.8";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// Ignored via go/ees007
|
|
@@ -13,7 +13,7 @@ import editorUGCToken from '../../ugc-tokens/get-editor-ugc-token';
|
|
|
13
13
|
var headingWithAlignmentStyles = function headingWithAlignmentStyles() {
|
|
14
14
|
return (
|
|
15
15
|
// Override marginTop: 0 with default margin found in headingsSharedStyles for first heading in alignment block that is not the first child
|
|
16
|
-
|
|
16
|
+
{
|
|
17
17
|
'.fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)': {
|
|
18
18
|
'> h1:first-child': {
|
|
19
19
|
marginTop: '1.667em'
|
|
@@ -40,7 +40,7 @@ var headingWithAlignmentStyles = function headingWithAlignmentStyles() {
|
|
|
40
40
|
marginTop: '0'
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
}
|
|
43
|
+
}
|
|
44
44
|
);
|
|
45
45
|
};
|
|
46
46
|
|
|
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
20
20
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
21
21
|
import Layer from '../Layer';
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "102.13.
|
|
23
|
+
var packageVersion = "102.13.8";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
|
-
import EditIcon from '@atlaskit/icon/
|
|
7
|
+
import EditIcon from '@atlaskit/icon/core/migration/edit';
|
|
8
8
|
var editIconStyles = css({
|
|
9
9
|
width: '20px'
|
|
10
10
|
});
|
|
@@ -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
|
|
9
|
-
import
|
|
8
|
+
import ErrorIcon from '@atlaskit/icon/core/migration/error';
|
|
9
|
+
import SuccessIcon from '@atlaskit/icon/core/migration/success--editor-success';
|
|
10
10
|
var errorColor = css({
|
|
11
11
|
color: "var(--ds-text-danger, #AE2E24)"
|
|
12
12
|
});
|
|
@@ -51,7 +51,7 @@ export var ErrorMessage = function ErrorMessage(_ref2) {
|
|
|
51
51
|
}, jsx("span", {
|
|
52
52
|
css: iconWrapperStyle
|
|
53
53
|
}, jsx(ErrorIcon, {
|
|
54
|
-
|
|
54
|
+
LEGACY_size: "small",
|
|
55
55
|
label: "error",
|
|
56
56
|
"aria-label": "error"
|
|
57
57
|
})), children);
|
|
@@ -65,7 +65,7 @@ export var ValidMessage = function ValidMessage(_ref3) {
|
|
|
65
65
|
}, jsx("span", {
|
|
66
66
|
css: iconWrapperStyle
|
|
67
67
|
}, jsx(SuccessIcon, {
|
|
68
|
-
|
|
68
|
+
LEGACY_size: "small",
|
|
69
69
|
label: "success"
|
|
70
70
|
})), children);
|
|
71
71
|
};
|
|
@@ -8,7 +8,7 @@ import React, { useCallback, useRef } from 'react';
|
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
9
|
import { injectIntl } from 'react-intl-next';
|
|
10
10
|
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
11
|
-
import QuestionsIcon from '@atlaskit/icon/
|
|
11
|
+
import QuestionsIcon from '@atlaskit/icon/core/migration/question-circle';
|
|
12
12
|
import Tooltip from '@atlaskit/tooltip';
|
|
13
13
|
import { ACTION_SUBJECT_ID } from '../../analytics';
|
|
14
14
|
import { unsupportedContentMessages } from '../../messages/unsupportedContent';
|
|
@@ -62,7 +62,7 @@ var UnsupportedBlockNode = function UnsupportedBlockNode(_ref) {
|
|
|
62
62
|
style: style
|
|
63
63
|
}, jsx(QuestionsIcon, {
|
|
64
64
|
label: "?",
|
|
65
|
-
|
|
65
|
+
LEGACY_size: "small"
|
|
66
66
|
}))))
|
|
67
67
|
);
|
|
68
68
|
};
|
|
@@ -8,7 +8,7 @@ import React, { useCallback, useRef } from 'react';
|
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
9
|
import { injectIntl } from 'react-intl-next';
|
|
10
10
|
import { relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
11
|
-
import QuestionsIcon from '@atlaskit/icon/
|
|
11
|
+
import QuestionsIcon from '@atlaskit/icon/core/migration/question-circle';
|
|
12
12
|
import Tooltip from '@atlaskit/tooltip';
|
|
13
13
|
import { ACTION_SUBJECT_ID } from '../../analytics';
|
|
14
14
|
import { unsupportedContentMessages } from '../../messages/unsupportedContent';
|
|
@@ -57,7 +57,7 @@ var UnsupportedInlineNode = function UnsupportedInlineNode(_ref) {
|
|
|
57
57
|
style: style
|
|
58
58
|
}, jsx(QuestionsIcon, {
|
|
59
59
|
label: "?",
|
|
60
|
-
|
|
60
|
+
LEGACY_size: "small"
|
|
61
61
|
}))));
|
|
62
62
|
};
|
|
63
63
|
export default injectIntl(UnsupportedInlineNode);
|
|
@@ -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/
|
|
9
|
+
import EditorDoneIcon from '@atlaskit/icon/core/migration/check-mark--editor-done';
|
|
10
10
|
import Tooltip from '@atlaskit/tooltip';
|
|
11
11
|
import { buttonStyle, buttonWrapperStyle } from './styles';
|
|
12
12
|
var Color = function Color(props) {
|
|
@@ -66,7 +66,7 @@ var Color = function Color(props) {
|
|
|
66
66
|
},
|
|
67
67
|
autoFocus: autoFocus
|
|
68
68
|
}, !decorator && isSelected && jsx(EditorDoneIcon, {
|
|
69
|
-
|
|
69
|
+
LEGACY_primaryColor: checkMarkColor,
|
|
70
70
|
label: ""
|
|
71
71
|
}), decorator)));
|
|
72
72
|
};
|
|
@@ -50,7 +50,7 @@ type InsertTableAEP = InsertAEP<ACTION_SUBJECT_ID.TABLE, {
|
|
|
50
50
|
localId?: string;
|
|
51
51
|
}, undefined>;
|
|
52
52
|
type InsertExpandAEP = InsertAEP<ACTION_SUBJECT_ID.EXPAND | ACTION_SUBJECT_ID.NESTED_EXPAND, {
|
|
53
|
-
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.INSERT_MENU
|
|
53
|
+
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.INSERT_MENU;
|
|
54
54
|
}, undefined>;
|
|
55
55
|
type InsertActionDecisionAEP = InsertAEP<ACTION_SUBJECT_ID.DECISION | ACTION_SUBJECT_ID.ACTION, {
|
|
56
56
|
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.FORMATTING | INPUT_METHOD.KEYBOARD;
|
|
@@ -240,14 +240,6 @@ export type FeatureFlags = {
|
|
|
240
240
|
|
|
241
241
|
*/
|
|
242
242
|
moreElementsInQuickInsertView?: boolean;
|
|
243
|
-
/**
|
|
244
|
-
* @description
|
|
245
|
-
* Enables basic text transformations options in floating toolbar
|
|
246
|
-
*
|
|
247
|
-
* @see https://product-fabric.atlassian.net/browse/ED-24447
|
|
248
|
-
* @default false
|
|
249
|
-
*/
|
|
250
|
-
basicTextTransformations?: boolean;
|
|
251
243
|
/**
|
|
252
244
|
* @description
|
|
253
245
|
* Enables nesting nested expands in expands
|
|
@@ -50,7 +50,7 @@ type InsertTableAEP = InsertAEP<ACTION_SUBJECT_ID.TABLE, {
|
|
|
50
50
|
localId?: string;
|
|
51
51
|
}, undefined>;
|
|
52
52
|
type InsertExpandAEP = InsertAEP<ACTION_SUBJECT_ID.EXPAND | ACTION_SUBJECT_ID.NESTED_EXPAND, {
|
|
53
|
-
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.INSERT_MENU
|
|
53
|
+
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.INSERT_MENU;
|
|
54
54
|
}, undefined>;
|
|
55
55
|
type InsertActionDecisionAEP = InsertAEP<ACTION_SUBJECT_ID.DECISION | ACTION_SUBJECT_ID.ACTION, {
|
|
56
56
|
inputMethod: INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.FORMATTING | INPUT_METHOD.KEYBOARD;
|
|
@@ -240,14 +240,6 @@ export type FeatureFlags = {
|
|
|
240
240
|
|
|
241
241
|
*/
|
|
242
242
|
moreElementsInQuickInsertView?: boolean;
|
|
243
|
-
/**
|
|
244
|
-
* @description
|
|
245
|
-
* Enables basic text transformations options in floating toolbar
|
|
246
|
-
*
|
|
247
|
-
* @see https://product-fabric.atlassian.net/browse/ED-24447
|
|
248
|
-
* @default false
|
|
249
|
-
*/
|
|
250
|
-
basicTextTransformations?: boolean;
|
|
251
243
|
/**
|
|
252
244
|
* @description
|
|
253
245
|
* Enables nesting nested expands in expands
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "102.13.
|
|
3
|
+
"version": "102.13.8",
|
|
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/"
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
136
136
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
137
137
|
"@atlaskit/emoji": "^69.0.0",
|
|
138
|
-
"@atlaskit/icon": "^25.
|
|
138
|
+
"@atlaskit/icon": "^25.2.0",
|
|
139
139
|
"@atlaskit/icon-object": "^7.0.0",
|
|
140
140
|
"@atlaskit/link-datasource": "^4.1.0",
|
|
141
141
|
"@atlaskit/link-picker": "^3.1.0",
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
"@atlaskit/primitives": "^14.2.0",
|
|
156
156
|
"@atlaskit/profilecard": "^23.6.0",
|
|
157
157
|
"@atlaskit/section-message": "^8.2.0",
|
|
158
|
-
"@atlaskit/smart-card": "^36.
|
|
158
|
+
"@atlaskit/smart-card": "^36.2.0",
|
|
159
159
|
"@atlaskit/smart-user-picker": "^8.0.0",
|
|
160
160
|
"@atlaskit/spinner": "^18.0.0",
|
|
161
161
|
"@atlaskit/task-decision": "^19.1.0",
|
|
@@ -265,9 +265,6 @@
|
|
|
265
265
|
"platform_editor_typography_ugc": {
|
|
266
266
|
"type": "boolean"
|
|
267
267
|
},
|
|
268
|
-
"platform_editor_heading_margin_fix": {
|
|
269
|
-
"type": "boolean"
|
|
270
|
-
},
|
|
271
268
|
"platform-visual-refresh-icons": {
|
|
272
269
|
"type": "boolean"
|
|
273
270
|
},
|