@atlaskit/editor-common 81.1.0 → 81.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/dist/cjs/element-browser/components/ElementList/ElementList.js +26 -18
- package/dist/cjs/element-browser/components/ElementSearch.js +6 -2
- package/dist/cjs/extensibility/Extension/Extension/index.js +15 -5
- package/dist/cjs/extensibility/Extension/InlineExtension/index.js +3 -1
- package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +4 -1
- package/dist/cjs/extensibility/ExtensionNodeWrapper.js +7 -4
- package/dist/cjs/extensibility/MultiBodiedExtension/index.js +22 -10
- package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +3 -1
- package/dist/cjs/link/LinkSearch/LinkSearchListItem.js +1 -0
- package/dist/cjs/media-inline/inline-image-wrapper.js +4 -1
- package/dist/cjs/media-single/CommentBadge.js +5 -0
- package/dist/cjs/mention.js +8 -1
- package/dist/cjs/messages/card.js +5 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/quick-insert/assets/date.js +1 -0
- package/dist/cjs/react-node-view/getInlineNodeViewProducer.js +6 -2
- package/dist/cjs/resizer/Resizer.js +14 -3
- package/dist/cjs/styles/shared/background-color.js +13 -8
- package/dist/cjs/table/SortingIcon.js +6 -2
- package/dist/cjs/ui/Announcer/announcer.js +1 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/FloatingToolbar/Button.js +3 -1
- package/dist/cjs/ui/FloatingToolbar/Separator.js +2 -0
- package/dist/cjs/ui/Layer/index.js +4 -0
- package/dist/cjs/ui/MediaSingle/index.js +3 -1
- package/dist/cjs/ui/MediaSingle/styled.js +3 -0
- package/dist/cjs/ui/Popup/index.js +1 -0
- package/dist/cjs/ui/ResizerLegacy/index.js +3 -1
- package/dist/cjs/ui/UnsupportedBlock/index.js +18 -15
- package/dist/cjs/ui/WidthProvider/index.js +12 -9
- package/dist/cjs/ui-color/ColorPalette/Color/index.js +3 -1
- package/dist/cjs/ui-color/ColorPalette/index.js +3 -1
- package/dist/cjs/ui-menu/ArrowKeyNavigationProvider/ColorPaletteArrowKeyNavigationProvider/index.js +8 -4
- package/dist/cjs/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.js +1 -0
- package/dist/cjs/ui-menu/DropdownMenu/index.js +1 -0
- package/dist/cjs/ui-menu/ToolbarArrowKeyNavigationProvider/index.js +3 -1
- package/dist/cjs/ui-menu/ToolbarButton/index.js +3 -1
- package/dist/cjs/ui-menu/ToolbarButton/styles.js +1 -0
- package/dist/cjs/utils/validator.js +1 -1
- package/dist/es2019/element-browser/components/ElementList/ElementList.js +10 -3
- package/dist/es2019/element-browser/components/ElementSearch.js +6 -2
- package/dist/es2019/extensibility/Extension/Extension/index.js +15 -5
- package/dist/es2019/extensibility/Extension/InlineExtension/index.js +3 -1
- package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +4 -1
- package/dist/es2019/extensibility/ExtensionNodeWrapper.js +7 -4
- package/dist/es2019/extensibility/MultiBodiedExtension/index.js +22 -10
- package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +3 -1
- package/dist/es2019/link/LinkSearch/LinkSearchListItem.js +1 -0
- package/dist/es2019/media-inline/inline-image-wrapper.js +4 -1
- package/dist/es2019/media-single/CommentBadge.js +5 -0
- package/dist/es2019/mention.js +2 -1
- package/dist/es2019/messages/card.js +5 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/quick-insert/assets/date.js +1 -0
- package/dist/es2019/react-node-view/getInlineNodeViewProducer.js +6 -2
- package/dist/es2019/resizer/Resizer.js +14 -3
- package/dist/es2019/styles/shared/background-color.js +4 -1
- package/dist/es2019/table/SortingIcon.js +6 -2
- package/dist/es2019/ui/Announcer/announcer.js +1 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/FloatingToolbar/Button.js +3 -1
- package/dist/es2019/ui/FloatingToolbar/Separator.js +2 -0
- package/dist/es2019/ui/Layer/index.js +5 -0
- package/dist/es2019/ui/MediaSingle/index.js +3 -1
- package/dist/es2019/ui/MediaSingle/styled.js +3 -0
- package/dist/es2019/ui/Popup/index.js +3 -0
- package/dist/es2019/ui/ResizerLegacy/index.js +3 -1
- package/dist/es2019/ui/UnsupportedBlock/index.js +18 -15
- package/dist/es2019/ui/WidthProvider/index.js +12 -9
- package/dist/es2019/ui-color/ColorPalette/Color/index.js +3 -1
- package/dist/es2019/ui-color/ColorPalette/index.js +3 -1
- package/dist/es2019/ui-menu/ArrowKeyNavigationProvider/ColorPaletteArrowKeyNavigationProvider/index.js +8 -4
- package/dist/es2019/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.js +1 -0
- package/dist/es2019/ui-menu/DropdownMenu/index.js +1 -0
- package/dist/es2019/ui-menu/ToolbarArrowKeyNavigationProvider/index.js +3 -1
- package/dist/es2019/ui-menu/ToolbarButton/index.js +3 -1
- package/dist/es2019/ui-menu/ToolbarButton/styles.js +1 -0
- package/dist/es2019/utils/validator.js +1 -1
- package/dist/esm/element-browser/components/ElementList/ElementList.js +26 -18
- package/dist/esm/element-browser/components/ElementSearch.js +6 -2
- package/dist/esm/extensibility/Extension/Extension/index.js +15 -5
- package/dist/esm/extensibility/Extension/InlineExtension/index.js +3 -1
- package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +4 -1
- package/dist/esm/extensibility/ExtensionNodeWrapper.js +7 -4
- package/dist/esm/extensibility/MultiBodiedExtension/index.js +22 -10
- package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +3 -1
- package/dist/esm/link/LinkSearch/LinkSearchListItem.js +1 -0
- package/dist/esm/media-inline/inline-image-wrapper.js +4 -1
- package/dist/esm/media-single/CommentBadge.js +5 -0
- package/dist/esm/mention.js +2 -1
- package/dist/esm/messages/card.js +5 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/quick-insert/assets/date.js +1 -0
- package/dist/esm/react-node-view/getInlineNodeViewProducer.js +6 -2
- package/dist/esm/resizer/Resizer.js +14 -3
- package/dist/esm/styles/shared/background-color.js +13 -8
- package/dist/esm/table/SortingIcon.js +6 -2
- package/dist/esm/ui/Announcer/announcer.js +1 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/FloatingToolbar/Button.js +3 -1
- package/dist/esm/ui/FloatingToolbar/Separator.js +2 -0
- package/dist/esm/ui/Layer/index.js +4 -0
- package/dist/esm/ui/MediaSingle/index.js +3 -1
- package/dist/esm/ui/MediaSingle/styled.js +3 -0
- package/dist/esm/ui/Popup/index.js +1 -0
- package/dist/esm/ui/ResizerLegacy/index.js +3 -1
- package/dist/esm/ui/UnsupportedBlock/index.js +18 -15
- package/dist/esm/ui/WidthProvider/index.js +12 -9
- package/dist/esm/ui-color/ColorPalette/Color/index.js +3 -1
- package/dist/esm/ui-color/ColorPalette/index.js +3 -1
- package/dist/esm/ui-menu/ArrowKeyNavigationProvider/ColorPaletteArrowKeyNavigationProvider/index.js +8 -4
- package/dist/esm/ui-menu/ArrowKeyNavigationProvider/MenuArrowKeyNavigationProvider/index.js +1 -0
- package/dist/esm/ui-menu/DropdownMenu/index.js +1 -0
- package/dist/esm/ui-menu/ToolbarArrowKeyNavigationProvider/index.js +3 -1
- package/dist/esm/ui-menu/ToolbarButton/index.js +3 -1
- package/dist/esm/ui-menu/ToolbarButton/styles.js +1 -0
- package/dist/esm/utils/validator.js +1 -1
- package/dist/types/analytics/index.d.ts +1 -1
- package/dist/types/mention.d.ts +1 -0
- package/dist/types/messages/card.d.ts +5 -0
- package/dist/types/styles/shared/background-color.d.ts +1 -1
- package/dist/types-ts4.5/analytics/index.d.ts +1 -1
- package/dist/types-ts4.5/mention.d.ts +1 -0
- package/dist/types-ts4.5/messages/card.d.ts +5 -0
- package/dist/types-ts4.5/styles/shared/background-color.d.ts +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 81.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#103169](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103169)
|
|
8
|
+
[`e9d45fc94064`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e9d45fc94064) -
|
|
9
|
+
[ED-23248] -
|
|
10
|
+
|
|
11
|
+
**@af/editor-libra:** Added profilecardPopupName locator to Mention Model
|
|
12
|
+
**@atlaskit/editor-test-helpers:** Added optional profilecard provider mock for examples
|
|
13
|
+
**@atlaskit/editor-common:** Exporting mention with profile card component
|
|
14
|
+
|
|
15
|
+
- [#103816](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103816)
|
|
16
|
+
[`3fb50173376f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3fb50173376f) -
|
|
17
|
+
[ED-23159] Added blending styling for when highlights overlap inline comments
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
20
|
+
## 81.1.1
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies
|
|
25
|
+
|
|
3
26
|
## 81.1.0
|
|
4
27
|
|
|
5
28
|
### Minor Changes
|
|
@@ -105,8 +105,11 @@ function ElementList(_ref) {
|
|
|
105
105
|
return;
|
|
106
106
|
}
|
|
107
107
|
return (0, _react2.jsx)("div", {
|
|
108
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
108
109
|
style: style,
|
|
109
|
-
key: key
|
|
110
|
+
key: key
|
|
111
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
112
|
+
,
|
|
110
113
|
className: "element-item-wrapper",
|
|
111
114
|
css: elementItemWrapper,
|
|
112
115
|
onKeyDown: (0, _platformFeatureFlags.getBooleanFF)('platform.editor.a11y-focus-order-for-element-browser-categories_ztiw1') ? function (e) {
|
|
@@ -231,7 +234,9 @@ function ElementItem(_ref4) {
|
|
|
231
234
|
ref: ref,
|
|
232
235
|
testId: "element-item-".concat(index),
|
|
233
236
|
id: "searched-item-".concat(index)
|
|
234
|
-
}, (0, _react2.jsx)(ItemContent
|
|
237
|
+
}, (0, _react2.jsx)(ItemContent
|
|
238
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
239
|
+
, {
|
|
235
240
|
style: inlineMode ? null : itemStyleOverrides,
|
|
236
241
|
tabIndex: 0,
|
|
237
242
|
title: title,
|
|
@@ -257,22 +262,25 @@ var ItemContent = /*#__PURE__*/(0, _react.memo)(function (_ref6) {
|
|
|
257
262
|
var title = _ref6.title,
|
|
258
263
|
description = _ref6.description,
|
|
259
264
|
keyshortcut = _ref6.keyshortcut;
|
|
260
|
-
return (
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
265
|
+
return (
|
|
266
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
267
|
+
(0, _react2.jsx)("div", {
|
|
268
|
+
css: itemBody,
|
|
269
|
+
className: "item-body"
|
|
270
|
+
}, (0, _react2.jsx)("div", {
|
|
271
|
+
css: itemText
|
|
272
|
+
}, (0, _react2.jsx)("div", {
|
|
273
|
+
css: itemTitleWrapper
|
|
274
|
+
}, (0, _react2.jsx)("p", {
|
|
275
|
+
css: itemTitle
|
|
276
|
+
}, title), (0, _react2.jsx)("div", {
|
|
277
|
+
css: itemAfter
|
|
278
|
+
}, keyshortcut && (0, _react2.jsx)("div", {
|
|
279
|
+
css: _shortcut.shortcutStyle
|
|
280
|
+
}, keyshortcut))), description && (0, _react2.jsx)("p", {
|
|
281
|
+
css: itemDescription
|
|
282
|
+
}, description)))
|
|
283
|
+
);
|
|
276
284
|
});
|
|
277
285
|
var elementItemsWrapper = (0, _react2.css)({
|
|
278
286
|
flex: 1,
|
|
@@ -109,7 +109,9 @@ function ElementSearch(_ref) {
|
|
|
109
109
|
}, "\u23CE ", formatMessage(_messages.default.elementAfterInputMessage))),
|
|
110
110
|
placeholder: formatMessage(_messages.default.placeHolderMessage),
|
|
111
111
|
"aria-label": "search",
|
|
112
|
-
"aria-labelledby": "search-assistive"
|
|
112
|
+
"aria-labelledby": "search-assistive"
|
|
113
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
114
|
+
,
|
|
113
115
|
className: "js-search-input",
|
|
114
116
|
role: "combobox",
|
|
115
117
|
"aria-activedescendant": ariaActiveDescendant,
|
|
@@ -118,7 +120,9 @@ function ElementSearch(_ref) {
|
|
|
118
120
|
id: "search-assistive",
|
|
119
121
|
ref: assistiveTextRef,
|
|
120
122
|
"aria-live": "polite",
|
|
121
|
-
"aria-atomic": "true"
|
|
123
|
+
"aria-atomic": "true"
|
|
124
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
125
|
+
,
|
|
122
126
|
className: "assistive"
|
|
123
127
|
}, assistiveMessage));
|
|
124
128
|
}
|
|
@@ -115,9 +115,13 @@ function ExtensionWithPluginState(props) {
|
|
|
115
115
|
isBodiedMacro: hasBody
|
|
116
116
|
}), (0, _react2.jsx)("div", {
|
|
117
117
|
ref: handleRef,
|
|
118
|
-
"data-layout": node.attrs.layout
|
|
118
|
+
"data-layout": node.attrs.layout
|
|
119
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
120
|
+
,
|
|
119
121
|
className: classNames,
|
|
120
|
-
css: _styles2.wrapperStyle
|
|
122
|
+
css: _styles2.wrapperStyle
|
|
123
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
124
|
+
,
|
|
121
125
|
style: customContainerStyles,
|
|
122
126
|
onMouseEnter: function onMouseEnter() {
|
|
123
127
|
return handleMouseEvent(true);
|
|
@@ -133,18 +137,24 @@ function ExtensionWithPluginState(props) {
|
|
|
133
137
|
css: _styles.overlay
|
|
134
138
|
}), (0, _react2.jsx)("div", {
|
|
135
139
|
css: _styles2.header,
|
|
136
|
-
contentEditable: false
|
|
140
|
+
contentEditable: false
|
|
141
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
142
|
+
,
|
|
137
143
|
className: headerClassNames
|
|
138
144
|
}, !removeBorder && (0, _react2.jsx)(_Lozenge.default, {
|
|
139
145
|
isNodeSelected: isNodeSelected,
|
|
140
146
|
node: node,
|
|
141
147
|
showMacroInteractionDesignUpdates: showMacroInteractionDesignUpdates
|
|
142
|
-
}), children), hasBody &&
|
|
148
|
+
}), children), hasBody &&
|
|
149
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
150
|
+
(0, _react2.jsx)("div", {
|
|
143
151
|
css: newContentStyles,
|
|
144
152
|
className: newContentClassNames
|
|
145
153
|
}, (0, _react2.jsx)("div", {
|
|
146
154
|
css: _styles2.content,
|
|
147
|
-
ref: handleContentDOMRef
|
|
155
|
+
ref: handleContentDOMRef
|
|
156
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
157
|
+
,
|
|
148
158
|
className: contentClassNames
|
|
149
159
|
})))));
|
|
150
160
|
}
|
|
@@ -53,7 +53,9 @@ var InlineExtension = function InlineExtension(props) {
|
|
|
53
53
|
setIsNodeHovered: setIsNodeHovered
|
|
54
54
|
}), (0, _react2.jsx)("div", {
|
|
55
55
|
"data-testid": "inline-extension-wrapper",
|
|
56
|
-
css: [_styles2.wrapperStyle, extendedInlineExtension && _styles2.inlineWrapperStyles]
|
|
56
|
+
css: [_styles2.wrapperStyle, extendedInlineExtension && _styles2.inlineWrapperStyles]
|
|
57
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
58
|
+
,
|
|
57
59
|
className: classNames,
|
|
58
60
|
onMouseEnter: function onMouseEnter() {
|
|
59
61
|
return handleMouseEvent(true);
|
|
@@ -91,8 +91,11 @@ var ExtensionLabel = exports.ExtensionLabel = function ExtensionLabel(_ref) {
|
|
|
91
91
|
setIsNodeHovered === null || setIsNodeHovered === void 0 || setIsNodeHovered(false);
|
|
92
92
|
}, [setIsNodeHovered]);
|
|
93
93
|
return (0, _react2.jsx)("div", {
|
|
94
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
94
95
|
css: containerStyles,
|
|
95
|
-
className: containerClassNames
|
|
96
|
+
className: containerClassNames
|
|
97
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
98
|
+
,
|
|
96
99
|
style: customContainerStyles,
|
|
97
100
|
onMouseEnter: handleMouseEnter,
|
|
98
101
|
onMouseLeave: handleMouseLeave,
|
|
@@ -35,8 +35,11 @@ var ExtensionNodeWrapper = exports.ExtensionNodeWrapper = function ExtensionNode
|
|
|
35
35
|
'inline-extension': nodeType === 'inlineExtension' && showMacroInteractionDesignUpdates,
|
|
36
36
|
relative: showMacroInteractionDesignUpdates
|
|
37
37
|
});
|
|
38
|
-
return (
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
return (
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
40
|
+
(0, _react2.jsx)("span", {
|
|
41
|
+
className: wrapperClassNames,
|
|
42
|
+
css: styles
|
|
43
|
+
}, children, nodeType === 'inlineExtension' && _utils.ZERO_WIDTH_SPACE)
|
|
44
|
+
);
|
|
42
45
|
};
|
|
@@ -42,16 +42,20 @@ var getWrapperTitleContent = function getWrapperTitleContent(imageData, title, s
|
|
|
42
42
|
if (imageData) {
|
|
43
43
|
var url = imageData.url,
|
|
44
44
|
rest = (0, _objectWithoutProperties2.default)(imageData, _excluded);
|
|
45
|
-
return (
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
45
|
+
return (
|
|
46
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
47
|
+
(0, _react2.jsx)("div", {
|
|
48
|
+
className: "extension-title"
|
|
49
|
+
}, (0, _react2.jsx)("img", (0, _extends2.default)({
|
|
50
|
+
css: imageStyles,
|
|
51
|
+
src: url
|
|
52
|
+
}, rest, {
|
|
53
|
+
alt: title
|
|
54
|
+
})), title)
|
|
55
|
+
);
|
|
53
56
|
}
|
|
54
57
|
return (0, _react2.jsx)("div", {
|
|
58
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
55
59
|
className: "extension-title",
|
|
56
60
|
"data-testid": 'multiBodiedExtension-default-lozenge'
|
|
57
61
|
}, (0, _react2.jsx)(_file.default, {
|
|
@@ -153,9 +157,12 @@ var MultiBodiedExtensionWithWidth = function MultiBodiedExtensionWithWidth(_ref)
|
|
|
153
157
|
setIsNodeHovered: setIsNodeHovered,
|
|
154
158
|
isBodiedMacro: true
|
|
155
159
|
}), (0, _react2.jsx)("div", {
|
|
160
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
156
161
|
className: wrapperClassNames,
|
|
157
162
|
css: _styles.mbeExtensionWrapperCSSStyles,
|
|
158
|
-
"data-testid": "multiBodiedExtension--wrapper"
|
|
163
|
+
"data-testid": "multiBodiedExtension--wrapper"
|
|
164
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
165
|
+
,
|
|
159
166
|
style: mbeWrapperStyles,
|
|
160
167
|
onMouseEnter: function onMouseEnter() {
|
|
161
168
|
return handleMouseEvent(true);
|
|
@@ -164,19 +171,24 @@ var MultiBodiedExtensionWithWidth = function MultiBodiedExtensionWithWidth(_ref)
|
|
|
164
171
|
return handleMouseEvent(false);
|
|
165
172
|
}
|
|
166
173
|
}, (0, _react2.jsx)("div", {
|
|
167
|
-
css: _styles.overlayStyles
|
|
174
|
+
css: _styles.overlayStyles
|
|
175
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
176
|
+
,
|
|
168
177
|
className: overlayClassNames,
|
|
169
178
|
"data-testid": "multiBodiedExtension--overlay"
|
|
170
179
|
}), getWrapperTitleContent(imageData, title, showMacroInteractionDesignUpdates), (0, _react2.jsx)("div", {
|
|
180
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
171
181
|
className: containerClassNames,
|
|
172
182
|
css: getContainerCssExtendedStyles(activeChildIndex, showMacroInteractionDesignUpdates),
|
|
173
183
|
"data-testid": "multiBodiedExtension--container",
|
|
174
184
|
"data-active-child-index": activeChildIndex
|
|
175
185
|
}, (0, _react2.jsx)("nav", {
|
|
186
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
176
187
|
className: navigationClassNames,
|
|
177
188
|
css: _MultiBodiedExtension.sharedMultiBodiedExtensionStyles.mbeNavigation,
|
|
178
189
|
"data-testid": "multiBodiedExtension-navigation"
|
|
179
190
|
}, extensionHandlerResult), (0, _react2.jsx)("article", {
|
|
191
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
180
192
|
className: "multiBodiedExtension--frames",
|
|
181
193
|
"data-testid": "multiBodiedExtension--frames",
|
|
182
194
|
ref: articleRef
|
|
@@ -845,7 +845,9 @@ var HyperlinkLinkAddToolbar = exports.HyperlinkLinkAddToolbar = /*#__PURE__*/fun
|
|
|
845
845
|
// for details: https://a11y-internal.atlassian.net/browse/AK-740
|
|
846
846
|
var screenReaderText = _utils.browser.safari && this.getScreenReaderText();
|
|
847
847
|
return (0, _react2.jsx)("div", {
|
|
848
|
-
"aria-label": "Hyperlink Edit"
|
|
848
|
+
"aria-label": "Hyperlink Edit"
|
|
849
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
850
|
+
,
|
|
849
851
|
className: "recent-list",
|
|
850
852
|
"data-testid": "hyperlink-add-toolbar"
|
|
851
853
|
}, (0, _react2.jsx)("div", {
|
|
@@ -127,6 +127,7 @@ var LinkSearchListItem = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
127
127
|
intl = _this$props6.intl;
|
|
128
128
|
var date = (0, _transformTimeStamp.transformTimeStamp)(intl, item.lastViewedDate, item.lastUpdatedDate);
|
|
129
129
|
return date && (0, _react2.jsx)(_react.Fragment, null, "\xA0 \u2022", (0, _react2.jsx)("span", {
|
|
130
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
130
131
|
className: "link-search-timestamp",
|
|
131
132
|
"data-test-id": "link-search-timestamp"
|
|
132
133
|
}, "\xA0 ", date.pageAction, " ", date.dateString, " ", date.timeSince || ''));
|
|
@@ -37,7 +37,10 @@ var InlineImageWrapper = exports.InlineImageWrapper = function InlineImageWrappe
|
|
|
37
37
|
return (
|
|
38
38
|
// eslint-disable-next-line @atlaskit/design-system/prefer-primitives
|
|
39
39
|
(0, _react.jsx)("span", (0, _extends2.default)({
|
|
40
|
-
style
|
|
40
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
41
|
+
style: _objectSpread(_objectSpread({}, borderStyleVars), aspectStyleVars)
|
|
42
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
43
|
+
,
|
|
41
44
|
className: _styles.INLINE_IMAGE_WRAPPER_CLASS_NAME,
|
|
42
45
|
css: [_styles.wrapperStyle, borderSize && borderColor && _styles.borderStyle, isSelected && _styles.selectedStyle, isInteractive && _styles.interactiveStyle],
|
|
43
46
|
"data-testid": "inline-image-wrapper",
|
|
@@ -90,11 +90,16 @@ var CommentBadge = exports.CommentBadge = function CommentBadge(_ref) {
|
|
|
90
90
|
content: title
|
|
91
91
|
}, (0, _react2.jsx)(_button.CustomThemeButton, {
|
|
92
92
|
style: {
|
|
93
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
93
94
|
height: badgeDimensions,
|
|
95
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
94
96
|
width: badgeDimensions,
|
|
95
97
|
background: colourToken,
|
|
98
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
96
99
|
display: 'flex',
|
|
100
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
97
101
|
justifyContent: 'center',
|
|
102
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
98
103
|
alignItems: 'center'
|
|
99
104
|
},
|
|
100
105
|
onClick: onClick,
|
package/dist/cjs/mention.js
CHANGED
|
@@ -16,5 +16,12 @@ Object.defineProperty(exports, "MentionSharedCssClassName", {
|
|
|
16
16
|
return _mention.MentionSharedCssClassName;
|
|
17
17
|
}
|
|
18
18
|
});
|
|
19
|
+
Object.defineProperty(exports, "MentionWithProfileCard", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function get() {
|
|
22
|
+
return _mentionWithProfilecard.default;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
19
25
|
var _Mention = _interopRequireDefault(require("./ui/Mention"));
|
|
20
|
-
var _mention = require("./styles/shared/mention");
|
|
26
|
+
var _mention = require("./styles/shared/mention");
|
|
27
|
+
var _mentionWithProfilecard = _interopRequireDefault(require("./ui/Mention/mention-with-profilecard"));
|
|
@@ -126,6 +126,11 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
126
126
|
defaultMessage: 'Configure',
|
|
127
127
|
description: 'An overlay shown when hover over inline smart link to inform user that they can click the link to edit the links appearance.'
|
|
128
128
|
},
|
|
129
|
+
inlineConfigureLink: {
|
|
130
|
+
id: 'fabric.editor.inlineConfigureLink',
|
|
131
|
+
defaultMessage: 'Configure link',
|
|
132
|
+
description: 'An icon shown when hovering over inline smart link to inform user they can click the icon to configure the links appearance.'
|
|
133
|
+
},
|
|
129
134
|
datasourceConfluenceSearch: {
|
|
130
135
|
id: 'fabric.editor.datasource.confluenceSearch',
|
|
131
136
|
defaultMessage: 'Insert Confluence list',
|
|
@@ -16,7 +16,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
16
16
|
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 && Object.prototype.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; }
|
|
17
17
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
18
18
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
19
|
-
var packageVersion = "81.1.
|
|
19
|
+
var packageVersion = "81.1.2";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -93,6 +93,7 @@ function IconDate() {
|
|
|
93
93
|
fillRule: "nonzero",
|
|
94
94
|
opacity: 0.37,
|
|
95
95
|
style: {
|
|
96
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
96
97
|
mixBlendMode: 'screen'
|
|
97
98
|
}
|
|
98
99
|
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
@@ -184,12 +184,16 @@ function getPortalChildren(_ref2) {
|
|
|
184
184
|
,
|
|
185
185
|
getPos: nodeViewParams.getPos,
|
|
186
186
|
node: currentNode
|
|
187
|
-
}, extraComponentProps)), _utils.browser.android ?
|
|
187
|
+
}, extraComponentProps)), _utils.browser.android ?
|
|
188
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
189
|
+
(0, _react2.jsx)("span", {
|
|
188
190
|
className: "zeroWidthSpaceContainer",
|
|
189
191
|
contentEditable: "false"
|
|
190
192
|
}, (0, _react2.jsx)("span", {
|
|
191
193
|
className: "".concat(inlineNodeViewClassname, "AddZeroWidthSpace")
|
|
192
|
-
}), _utils.ZERO_WIDTH_SPACE) :
|
|
194
|
+
}), _utils.ZERO_WIDTH_SPACE) :
|
|
195
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
196
|
+
(0, _react2.jsx)("span", {
|
|
193
197
|
className: "".concat(inlineNodeViewClassname, "AddZeroWidthSpace")
|
|
194
198
|
}));
|
|
195
199
|
};
|
|
@@ -127,6 +127,7 @@ var ResizerNext = function ResizerNext(props, ref) {
|
|
|
127
127
|
var handleComponent = (0, _react.useMemo)(function () {
|
|
128
128
|
return SUPPORTED_HANDLES.reduce(function (result, position) {
|
|
129
129
|
var thumb = /*#__PURE__*/_react.default.createElement("button", {
|
|
130
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
130
131
|
className: _resizer.resizerHandleThumbClassName,
|
|
131
132
|
"data-testid": "resizer-handle-".concat(position, "-thumb"),
|
|
132
133
|
contentEditable: false,
|
|
@@ -142,11 +143,15 @@ var ResizerNext = function ResizerNext(props, ref) {
|
|
|
142
143
|
/*#__PURE__*/
|
|
143
144
|
//It's important to have {thumb} element before the div, the thumb element is the one that gets focus and only the 1st element recives aria-descibedby attribute which is important for screen reader users
|
|
144
145
|
_react.default.createElement(_react.default.Fragment, null, thumb, /*#__PURE__*/_react.default.createElement("div", {
|
|
146
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
145
147
|
className: (0, _classnames3.default)(_resizer.resizerHandleTrackClassName, handleHighlight),
|
|
146
148
|
"data-testid": "resizer-handle-".concat(position, "-track")
|
|
147
149
|
}));
|
|
148
150
|
if (!!handleTooltipContent) {
|
|
149
|
-
return _objectSpread(_objectSpread({}, result), {}, (0, _defineProperty2.default)({}, position,
|
|
151
|
+
return _objectSpread(_objectSpread({}, result), {}, (0, _defineProperty2.default)({}, position,
|
|
152
|
+
/*#__PURE__*/
|
|
153
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
154
|
+
_react.default.createElement("div", {
|
|
150
155
|
contentEditable: false,
|
|
151
156
|
style: inheritedCSS
|
|
152
157
|
}, /*#__PURE__*/_react.default.createElement(_tooltip.default, {
|
|
@@ -157,7 +162,10 @@ var ResizerNext = function ResizerNext(props, ref) {
|
|
|
157
162
|
testId: "resizer-handle-".concat(position, "-tooltip")
|
|
158
163
|
}, thumbWithTrack))));
|
|
159
164
|
}
|
|
160
|
-
return _objectSpread(_objectSpread({}, result), {}, (0, _defineProperty2.default)({}, position,
|
|
165
|
+
return _objectSpread(_objectSpread({}, result), {}, (0, _defineProperty2.default)({}, position,
|
|
166
|
+
/*#__PURE__*/
|
|
167
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
168
|
+
_react.default.createElement("div", {
|
|
161
169
|
contentEditable: false,
|
|
162
170
|
style: inheritedCSS
|
|
163
171
|
}, thumbWithTrack)));
|
|
@@ -166,6 +174,7 @@ var ResizerNext = function ResizerNext(props, ref) {
|
|
|
166
174
|
/*#__PURE__*/
|
|
167
175
|
//It's important to have {thumb} element before the div, the thumb element is the one that gets focus and only the 1st element recives aria-descibedby attribute which is important for screen reader users
|
|
168
176
|
_react.default.createElement(_react.default.Fragment, null, thumb, /*#__PURE__*/_react.default.createElement("div", {
|
|
177
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
169
178
|
className: (0, _classnames3.default)(_resizer.resizerHandleTrackClassName, handleHighlight),
|
|
170
179
|
"data-testid": "resizer-handle-".concat(position, "-track")
|
|
171
180
|
}));
|
|
@@ -197,7 +206,9 @@ var ResizerNext = function ResizerNext(props, ref) {
|
|
|
197
206
|
width: width,
|
|
198
207
|
// just content itself (no paddings)
|
|
199
208
|
height: 'auto'
|
|
200
|
-
}
|
|
209
|
+
}
|
|
210
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
211
|
+
,
|
|
201
212
|
className: resizerClassName,
|
|
202
213
|
handleClasses: handles,
|
|
203
214
|
handleWrapperClass: _resizer.handleWrapperClass,
|
|
@@ -5,11 +5,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.backgroundColorStyles = void 0;
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
|
-
var backgroundColorStyles = exports.backgroundColorStyles = (
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
8
|
+
var backgroundColorStyles = exports.backgroundColorStyles = function backgroundColorStyles(colorMode) {
|
|
9
|
+
return (0, _react.css)({
|
|
10
|
+
'.fabric-background-color-mark': {
|
|
11
|
+
backgroundColor: 'var(--custom-palette-color, inherit)'
|
|
12
|
+
},
|
|
13
|
+
'a .fabric-background-color-mark': {
|
|
14
|
+
backgroundColor: 'unset'
|
|
15
|
+
},
|
|
16
|
+
'.fabric-background-color-mark .ak-editor-annotation, .fabric-background-color-mark [data-mark-type="annotation"]': {
|
|
17
|
+
mixBlendMode: colorMode === 'dark' ? 'color-dodge' : 'multiply'
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
};
|
|
@@ -126,7 +126,9 @@ var SortingIcon = function SortingIcon(_ref) {
|
|
|
126
126
|
content: content,
|
|
127
127
|
position: "top"
|
|
128
128
|
}, (0, _react.jsx)("div", {
|
|
129
|
-
css: buttonStyles
|
|
129
|
+
css: buttonStyles
|
|
130
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
131
|
+
,
|
|
130
132
|
className: buttonClassName,
|
|
131
133
|
role: "button",
|
|
132
134
|
tabIndex: isSortingAllowed ? 0 : -1,
|
|
@@ -135,7 +137,9 @@ var SortingIcon = function SortingIcon(_ref) {
|
|
|
135
137
|
onClick: handleClick,
|
|
136
138
|
onKeyDown: handleKeyDown
|
|
137
139
|
}, (0, _react.jsx)("div", {
|
|
138
|
-
css: iconWrapperStyles
|
|
140
|
+
css: iconWrapperStyles
|
|
141
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
142
|
+
,
|
|
139
143
|
className: getIconClassName(isSortingAllowed, sortOrdered)
|
|
140
144
|
}, (0, _react.jsx)("div", {
|
|
141
145
|
css: iconStyles
|
|
@@ -52,6 +52,7 @@ var Announcer = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
52
52
|
};
|
|
53
53
|
}, [text, delay]);
|
|
54
54
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
55
56
|
className: "assistive",
|
|
56
57
|
ref: ref,
|
|
57
58
|
role: role,
|
|
@@ -20,7 +20,7 @@ var _Layer = _interopRequireDefault(require("../Layer"));
|
|
|
20
20
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
21
21
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "81.1.
|
|
23
|
+
var packageVersion = "81.1.2";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -57,7 +57,9 @@ var _default = exports.default = function _default(_ref) {
|
|
|
57
57
|
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
58
58
|
onMouseEnter: onMouseEnter,
|
|
59
59
|
onMouseLeave: onMouseLeave
|
|
60
|
-
}, /*#__PURE__*/_react.default.createElement(_customThemeButton.default
|
|
60
|
+
}, /*#__PURE__*/_react.default.createElement(_customThemeButton.default
|
|
61
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
62
|
+
, {
|
|
61
63
|
className: className,
|
|
62
64
|
theme: function theme(adgTheme, themeProps) {
|
|
63
65
|
var _adgTheme = adgTheme(themeProps),
|
|
@@ -15,6 +15,8 @@ var separator = (0, _react.css)({
|
|
|
15
15
|
margin: "0 ".concat("var(--ds-space-050, 4px)"),
|
|
16
16
|
alignSelf: 'center'
|
|
17
17
|
});
|
|
18
|
+
|
|
19
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
18
20
|
var _default = exports.default = function _default() {
|
|
19
21
|
return (0, _react.jsx)("div", {
|
|
20
22
|
css: separator,
|
|
@@ -187,9 +187,13 @@ var Layer = exports.default = /*#__PURE__*/function (_Component) {
|
|
|
187
187
|
}, this.props.children), /*#__PURE__*/_react.default.createElement("div", {
|
|
188
188
|
ref: this.contentRef,
|
|
189
189
|
style: _objectSpread({
|
|
190
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
190
191
|
top: 0,
|
|
192
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
191
193
|
left: 0,
|
|
194
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
192
195
|
position: 'absolute',
|
|
196
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
193
197
|
transform: transform,
|
|
194
198
|
maxHeight: maxHeight ? maxHeight : 'auto'
|
|
195
199
|
}, opacity)
|
|
@@ -103,7 +103,9 @@ function MediaSingle(_ref) {
|
|
|
103
103
|
"data-layout": layout,
|
|
104
104
|
"data-width": mediaSingleWidth,
|
|
105
105
|
"data-width-type": (size === null || size === void 0 ? void 0 : size.widthType) || 'percentage',
|
|
106
|
-
"data-node-type": nodeType
|
|
106
|
+
"data-node-type": nodeType
|
|
107
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
108
|
+
,
|
|
107
109
|
className: (0, _classnames.default)('rich-media-item mediaSingleView-content-wrap', "image-".concat(layout), className, {
|
|
108
110
|
'is-loading': isLoading,
|
|
109
111
|
'rich-media-wrapped': layout === 'wrap-left' || layout === 'wrap-right'
|
|
@@ -202,9 +202,12 @@ var MediaBorderGapFiller = exports.MediaBorderGapFiller = function MediaBorderGa
|
|
|
202
202
|
var borderColor = _ref4.borderColor;
|
|
203
203
|
return (0, _react2.jsx)("div", {
|
|
204
204
|
style: {
|
|
205
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
205
206
|
position: 'absolute',
|
|
207
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
206
208
|
inset: '0px',
|
|
207
209
|
border: "0.5px solid ".concat(borderColor),
|
|
210
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
208
211
|
borderRadius: '1px'
|
|
209
212
|
}
|
|
210
213
|
});
|
|
@@ -298,6 +298,7 @@ var Popup = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
|
298
298
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
299
299
|
ref: this.handleRef,
|
|
300
300
|
style: _objectSpread(_objectSpread({
|
|
301
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
301
302
|
position: 'absolute',
|
|
302
303
|
zIndex: this.props.zIndex || _editorSharedStyles.akEditorFloatingPanelZIndex
|
|
303
304
|
}, position), this.props.style),
|
|
@@ -198,7 +198,9 @@ var Resizer = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
|
198
198
|
width: width,
|
|
199
199
|
// just content itself (no paddings)
|
|
200
200
|
height: 'auto'
|
|
201
|
-
}
|
|
201
|
+
}
|
|
202
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
203
|
+
,
|
|
202
204
|
className: className,
|
|
203
205
|
handleClasses: handles,
|
|
204
206
|
handleStyles: updatedHandleStyles,
|