@atlaskit/editor-common 102.13.5 → 102.13.7
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 +22 -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/messages/pixelEntry.js +5 -0
- package/dist/cjs/media-inline/media-inline-image-card.js +12 -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/messages/pixelEntry.js +5 -0
- package/dist/es2019/media-inline/media-inline-image-card.js +12 -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/messages/pixelEntry.js +5 -0
- package/dist/esm/media-inline/media-inline-image-card.js +12 -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/media/messages/pixelEntry.d.ts +5 -0
- package/dist/types/media-inline/media-inline-image-card.d.ts +2 -1
- package/dist/types-ts4.5/media/messages/pixelEntry.d.ts +5 -0
- package/dist/types-ts4.5/media-inline/media-inline-image-card.d.ts +2 -1
- package/package.json +3 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 102.13.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#130660](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/130660)
|
|
8
|
+
[`35cca6367a1ba`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/35cca6367a1ba) -
|
|
9
|
+
ED-27007 Clean up feature flag platform_editor_heading_margin_fix
|
|
10
|
+
- [#131474](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/131474)
|
|
11
|
+
[`c3e241e444446`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c3e241e444446) -
|
|
12
|
+
ENGHEALTH-23692 Iconography uplift for editor-common
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 102.13.6
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#131280](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/131280)
|
|
20
|
+
[`9ff92ea2432f2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9ff92ea2432f2) -
|
|
21
|
+
[ED-27082] Fix media overflow toolbar to show correct options + update separators between button
|
|
22
|
+
groups
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
|
|
3
25
|
## 102.13.5
|
|
4
26
|
|
|
5
27
|
### 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",
|
|
@@ -60,5 +60,10 @@ var pixelEntryMessages = exports.pixelEntryMessages = (0, _reactIntlNext.defineM
|
|
|
60
60
|
id: 'fabric.editor.media.pixelEntry.closePixelEntry',
|
|
61
61
|
defaultMessage: 'Close',
|
|
62
62
|
description: 'The text give to the close button used to close the pixel inputs and go back to main toolbar'
|
|
63
|
+
},
|
|
64
|
+
resizeOption: {
|
|
65
|
+
id: 'fabric.editor.media.pixelEntry.ResizeOption',
|
|
66
|
+
defaultMessage: 'Resize',
|
|
67
|
+
description: 'The text give to the resize option in the overflow dropdown for images'
|
|
63
68
|
}
|
|
64
69
|
});
|
|
@@ -16,6 +16,7 @@ var _mediaCard = require("@atlaskit/media-card");
|
|
|
16
16
|
var _mediaClient = require("@atlaskit/media-client");
|
|
17
17
|
var _mediaClientReact = require("@atlaskit/media-client-react");
|
|
18
18
|
var _mediaViewer = require("@atlaskit/media-viewer");
|
|
19
|
+
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
19
20
|
var _mediaInlineCard = require("../messages/media-inline-card");
|
|
20
21
|
var _constants = require("./constants");
|
|
21
22
|
var _inlineImageCard = require("./inline-image-card");
|
|
@@ -39,7 +40,8 @@ var MediaInlineImageCardInternal = exports.MediaInlineImageCardInternal = functi
|
|
|
39
40
|
border = _ref.border,
|
|
40
41
|
ssr = _ref.ssr,
|
|
41
42
|
serializeDataAttrs = _ref.serializeDataAttrs,
|
|
42
|
-
shouldOpenMediaViewer = _ref.shouldOpenMediaViewer
|
|
43
|
+
shouldOpenMediaViewer = _ref.shouldOpenMediaViewer,
|
|
44
|
+
isViewOnly = _ref.isViewOnly;
|
|
43
45
|
var _useState = (0, _react.useState)(),
|
|
44
46
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
45
47
|
fileState = _useState2[0],
|
|
@@ -194,11 +196,18 @@ var MediaInlineImageCardInternal = exports.MediaInlineImageCardInternal = functi
|
|
|
194
196
|
}
|
|
195
197
|
return {};
|
|
196
198
|
}, [alt, fileState, height, identifier, width, serializeDataAttrs]);
|
|
197
|
-
var onMediaInlineImageClick = (0, _react.useCallback)(function () {
|
|
199
|
+
var onMediaInlineImageClick = (0, _react.useCallback)(function (e) {
|
|
198
200
|
if (shouldOpenMediaViewer) {
|
|
199
201
|
setMediaViewerVisible(true);
|
|
200
202
|
}
|
|
201
|
-
|
|
203
|
+
|
|
204
|
+
// In edit mode (node content wrapper has contenteditable set to true), link redirection is disabled by default
|
|
205
|
+
// We need to call "stopPropagation" here in order to prevent in editor view mode, the browser from navigating to
|
|
206
|
+
// another URL if the media node is wrapped in a link mark.
|
|
207
|
+
if (isViewOnly && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1')) {
|
|
208
|
+
e.preventDefault();
|
|
209
|
+
}
|
|
210
|
+
}, [shouldOpenMediaViewer, isViewOnly]);
|
|
202
211
|
var onMediaInlinePreviewClose = (0, _react.useCallback)(function () {
|
|
203
212
|
setMediaViewerVisible(false);
|
|
204
213
|
}, []);
|
|
@@ -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.7";
|
|
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.7";
|
|
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",
|
|
@@ -54,5 +54,10 @@ export const pixelEntryMessages = defineMessages({
|
|
|
54
54
|
id: 'fabric.editor.media.pixelEntry.closePixelEntry',
|
|
55
55
|
defaultMessage: 'Close',
|
|
56
56
|
description: 'The text give to the close button used to close the pixel inputs and go back to main toolbar'
|
|
57
|
+
},
|
|
58
|
+
resizeOption: {
|
|
59
|
+
id: 'fabric.editor.media.pixelEntry.ResizeOption',
|
|
60
|
+
defaultMessage: 'Resize',
|
|
61
|
+
description: 'The text give to the resize option in the overflow dropdown for images'
|
|
57
62
|
}
|
|
58
63
|
});
|
|
@@ -13,6 +13,7 @@ import { fireFailedMediaInlineEvent, fireSucceededMediaInlineEvent, MediaCardErr
|
|
|
13
13
|
import { FileFetcherError } from '@atlaskit/media-client';
|
|
14
14
|
import { MediaClientContext } from '@atlaskit/media-client-react';
|
|
15
15
|
import { MediaViewer } from '@atlaskit/media-viewer';
|
|
16
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
16
17
|
import { messages } from '../messages/media-inline-card';
|
|
17
18
|
import { referenceHeights } from './constants';
|
|
18
19
|
import { InlineImageCard } from './inline-image-card';
|
|
@@ -31,7 +32,8 @@ export const MediaInlineImageCardInternal = ({
|
|
|
31
32
|
border,
|
|
32
33
|
ssr,
|
|
33
34
|
serializeDataAttrs,
|
|
34
|
-
shouldOpenMediaViewer
|
|
35
|
+
shouldOpenMediaViewer,
|
|
36
|
+
isViewOnly
|
|
35
37
|
}) => {
|
|
36
38
|
const [fileState, setFileState] = useState();
|
|
37
39
|
const [subscribeError, setSubscribeError] = useState();
|
|
@@ -169,11 +171,18 @@ export const MediaInlineImageCardInternal = ({
|
|
|
169
171
|
}
|
|
170
172
|
return {};
|
|
171
173
|
}, [alt, fileState, height, identifier, width, serializeDataAttrs]);
|
|
172
|
-
const onMediaInlineImageClick = useCallback(
|
|
174
|
+
const onMediaInlineImageClick = useCallback(e => {
|
|
173
175
|
if (shouldOpenMediaViewer) {
|
|
174
176
|
setMediaViewerVisible(true);
|
|
175
177
|
}
|
|
176
|
-
|
|
178
|
+
|
|
179
|
+
// In edit mode (node content wrapper has contenteditable set to true), link redirection is disabled by default
|
|
180
|
+
// We need to call "stopPropagation" here in order to prevent in editor view mode, the browser from navigating to
|
|
181
|
+
// another URL if the media node is wrapped in a link mark.
|
|
182
|
+
if (isViewOnly && editorExperiment('platform_editor_controls', 'variant1')) {
|
|
183
|
+
e.preventDefault();
|
|
184
|
+
}
|
|
185
|
+
}, [shouldOpenMediaViewer, isViewOnly]);
|
|
177
186
|
const onMediaInlinePreviewClose = useCallback(() => {
|
|
178
187
|
setMediaViewerVisible(false);
|
|
179
188
|
}, []);
|
|
@@ -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
|
};
|