@atlaskit/renderer 109.29.4 → 109.29.6
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 +17 -0
- package/dist/cjs/react/marks/alignment.js +3 -1
- package/dist/cjs/react/marks/backgroundColor.js +6 -2
- package/dist/cjs/react/marks/breakout.js +3 -1
- package/dist/cjs/react/marks/code.js +3 -1
- package/dist/cjs/react/marks/indentation.js +1 -0
- package/dist/cjs/react/marks/strike.js +9 -5
- package/dist/cjs/react/marks/textColor.js +6 -2
- package/dist/cjs/react/nodes/blockCard.js +1 -0
- package/dist/cjs/react/nodes/bulletList.js +1 -0
- package/dist/cjs/react/nodes/codeBlock/codeBlock.js +3 -1
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockContainer.js +13 -10
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockCopyButton.js +3 -1
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockWrapButton.js +3 -1
- package/dist/cjs/react/nodes/codeBlock/components/lightWeightCodeBlock.js +3 -0
- package/dist/cjs/react/nodes/codeBlock/windowedCodeBlock.js +6 -2
- package/dist/cjs/react/nodes/date.js +12 -7
- package/dist/cjs/react/nodes/doc.js +4 -1
- package/dist/cjs/react/nodes/embedCard.js +1 -0
- package/dist/cjs/react/nodes/extension.js +3 -1
- package/dist/cjs/react/nodes/heading-anchor.js +7 -4
- package/dist/cjs/react/nodes/mediaGroup.js +1 -0
- package/dist/cjs/react/nodes/multiBodiedExtension.js +6 -1
- package/dist/cjs/react/nodes/orderedList.js +1 -0
- package/dist/cjs/react/nodes/panel.js +4 -1
- package/dist/cjs/react/nodes/table/colgroup.js +9 -4
- package/dist/cjs/react/nodes/table/sticky.js +8 -2
- package/dist/cjs/react/nodes/table.js +16 -5
- package/dist/cjs/react/nodes/tableCell.js +6 -1
- package/dist/cjs/react/nodes/tableRow.js +4 -1
- package/dist/cjs/react/nodes/unknownBlock.js +1 -0
- package/dist/cjs/ui/ExtensionRenderer.js +7 -4
- package/dist/cjs/ui/Renderer/index.js +4 -2
- package/dist/cjs/ui/Renderer/style.js +4 -5
- package/dist/es2019/react/marks/alignment.js +3 -1
- package/dist/es2019/react/marks/backgroundColor.js +6 -2
- package/dist/es2019/react/marks/breakout.js +3 -1
- package/dist/es2019/react/marks/code.js +3 -1
- package/dist/es2019/react/marks/indentation.js +1 -0
- package/dist/es2019/react/marks/strike.js +9 -5
- package/dist/es2019/react/marks/textColor.js +6 -2
- package/dist/es2019/react/nodes/blockCard.js +1 -0
- package/dist/es2019/react/nodes/bulletList.js +1 -0
- package/dist/es2019/react/nodes/codeBlock/codeBlock.js +3 -1
- package/dist/es2019/react/nodes/codeBlock/components/codeBlockContainer.js +13 -10
- package/dist/es2019/react/nodes/codeBlock/components/codeBlockCopyButton.js +3 -1
- package/dist/es2019/react/nodes/codeBlock/components/codeBlockWrapButton.js +3 -1
- package/dist/es2019/react/nodes/codeBlock/components/lightWeightCodeBlock.js +3 -0
- package/dist/es2019/react/nodes/codeBlock/windowedCodeBlock.js +6 -2
- package/dist/es2019/react/nodes/date.js +12 -7
- package/dist/es2019/react/nodes/doc.js +4 -1
- package/dist/es2019/react/nodes/embedCard.js +1 -0
- package/dist/es2019/react/nodes/extension.js +3 -1
- package/dist/es2019/react/nodes/heading-anchor.js +7 -4
- package/dist/es2019/react/nodes/mediaGroup.js +1 -0
- package/dist/es2019/react/nodes/multiBodiedExtension.js +6 -1
- package/dist/es2019/react/nodes/orderedList.js +1 -0
- package/dist/es2019/react/nodes/panel.js +4 -1
- package/dist/es2019/react/nodes/table/colgroup.js +5 -1
- package/dist/es2019/react/nodes/table/sticky.js +8 -2
- package/dist/es2019/react/nodes/table.js +17 -6
- package/dist/es2019/react/nodes/tableCell.js +6 -1
- package/dist/es2019/react/nodes/tableRow.js +4 -1
- package/dist/es2019/react/nodes/unknownBlock.js +1 -0
- package/dist/es2019/ui/ExtensionRenderer.js +7 -4
- package/dist/es2019/ui/Renderer/index.js +4 -2
- package/dist/es2019/ui/Renderer/style.js +6 -7
- package/dist/esm/react/marks/alignment.js +3 -1
- package/dist/esm/react/marks/backgroundColor.js +6 -2
- package/dist/esm/react/marks/breakout.js +3 -1
- package/dist/esm/react/marks/code.js +3 -1
- package/dist/esm/react/marks/indentation.js +1 -0
- package/dist/esm/react/marks/strike.js +9 -5
- package/dist/esm/react/marks/textColor.js +6 -2
- package/dist/esm/react/nodes/blockCard.js +1 -0
- package/dist/esm/react/nodes/bulletList.js +1 -0
- package/dist/esm/react/nodes/codeBlock/codeBlock.js +3 -1
- package/dist/esm/react/nodes/codeBlock/components/codeBlockContainer.js +13 -10
- package/dist/esm/react/nodes/codeBlock/components/codeBlockCopyButton.js +3 -1
- package/dist/esm/react/nodes/codeBlock/components/codeBlockWrapButton.js +3 -1
- package/dist/esm/react/nodes/codeBlock/components/lightWeightCodeBlock.js +3 -0
- package/dist/esm/react/nodes/codeBlock/windowedCodeBlock.js +6 -2
- package/dist/esm/react/nodes/date.js +12 -7
- package/dist/esm/react/nodes/doc.js +4 -1
- package/dist/esm/react/nodes/embedCard.js +1 -0
- package/dist/esm/react/nodes/extension.js +3 -1
- package/dist/esm/react/nodes/heading-anchor.js +7 -4
- package/dist/esm/react/nodes/mediaGroup.js +1 -0
- package/dist/esm/react/nodes/multiBodiedExtension.js +6 -1
- package/dist/esm/react/nodes/orderedList.js +1 -0
- package/dist/esm/react/nodes/panel.js +4 -1
- package/dist/esm/react/nodes/table/colgroup.js +9 -4
- package/dist/esm/react/nodes/table/sticky.js +8 -2
- package/dist/esm/react/nodes/table.js +17 -6
- package/dist/esm/react/nodes/tableCell.js +6 -1
- package/dist/esm/react/nodes/tableRow.js +4 -1
- package/dist/esm/react/nodes/unknownBlock.js +1 -0
- package/dist/esm/ui/ExtensionRenderer.js +7 -4
- package/dist/esm/ui/Renderer/index.js +4 -2
- package/dist/esm/ui/Renderer/style.js +4 -5
- package/dist/types/react/nodes/extension.d.ts +2 -1
- package/dist/types-ts4.5/react/nodes/extension.d.ts +2 -1
- package/package.json +8 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 109.29.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#103816](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103816)
|
|
8
|
+
[`3fb50173376f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3fb50173376f) -
|
|
9
|
+
[ED-23159] Added blending styling for when highlights overlap inline comments
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 109.29.5
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#103178](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103178)
|
|
17
|
+
[`71c9ef285341`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/71c9ef285341) -
|
|
18
|
+
ED-22930: Support for table alignment in renderer
|
|
19
|
+
|
|
3
20
|
## 109.29.4
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -23,7 +23,9 @@ var MarkWrapper = function MarkWrapper(props) {
|
|
|
23
23
|
);
|
|
24
24
|
};
|
|
25
25
|
function Alignment(props) {
|
|
26
|
-
return (0, _react2.jsx)(MarkWrapper
|
|
26
|
+
return (0, _react2.jsx)(MarkWrapper
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
28
|
+
, {
|
|
27
29
|
className: "fabric-editor-block-mark fabric-editor-alignment",
|
|
28
30
|
"data-align": props.align
|
|
29
31
|
}, props.children);
|
|
@@ -51,8 +51,12 @@ function BackgroundColor(props) {
|
|
|
51
51
|
return (0, _defineProperty2.default)({}, '--custom-palette-color', paletteColorValue);
|
|
52
52
|
}, [paletteColorValue]);
|
|
53
53
|
return /*#__PURE__*/_react.default.createElement("span", (0, _extends2.default)({}, props.dataAttributes, {
|
|
54
|
-
"data-background-custom-color": props.color
|
|
55
|
-
|
|
54
|
+
"data-background-custom-color": props.color
|
|
55
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
56
|
+
,
|
|
57
|
+
className: "fabric-background-color-mark"
|
|
58
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
59
|
+
,
|
|
56
60
|
style: style
|
|
57
61
|
}), props.children);
|
|
58
62
|
}
|
|
@@ -25,7 +25,9 @@ function Breakout(props) {
|
|
|
25
25
|
"data-mode": props.mode,
|
|
26
26
|
style: {
|
|
27
27
|
width: (0, _utils.calcBreakoutWidth)(props.mode, width)
|
|
28
|
-
}
|
|
28
|
+
}
|
|
29
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
30
|
+
,
|
|
29
31
|
className: "fabric-editor-breakout-mark fabric-editor-block-mark"
|
|
30
32
|
}, props.children);
|
|
31
33
|
});
|
|
@@ -16,7 +16,9 @@ var isCodeMark = exports.isCodeMark = function isCodeMark(mark) {
|
|
|
16
16
|
};
|
|
17
17
|
function CodeWithIntl(props) {
|
|
18
18
|
var codeBidiWarningLabel = props.intl.formatMessage(_messages.codeBidiWarningMessages.label);
|
|
19
|
-
return /*#__PURE__*/_react.default.createElement(_inline.default
|
|
19
|
+
return /*#__PURE__*/_react.default.createElement(_inline.default
|
|
20
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
21
|
+
, (0, _extends2.default)({
|
|
20
22
|
className: "code",
|
|
21
23
|
codeBidiWarningLabel: codeBidiWarningLabel,
|
|
22
24
|
codeBidiWarningTooltipEnabled: props.codeBidiWarningTooltipEnabled
|
|
@@ -8,6 +8,7 @@ exports.default = Indentation;
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
function Indentation(props) {
|
|
10
10
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
11
12
|
className: "fabric-editor-block-mark fabric-editor-indentation-mark",
|
|
12
13
|
"data-level": props.level
|
|
13
14
|
}, props.children);
|
|
@@ -8,9 +8,13 @@ exports.default = Strike;
|
|
|
8
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
10
|
function Strike(props) {
|
|
11
|
-
return
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
11
|
+
return (
|
|
12
|
+
/*#__PURE__*/
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
14
|
+
_react.default.createElement("span", (0, _extends2.default)({}, props.dataAttributes, {
|
|
15
|
+
style: {
|
|
16
|
+
textDecoration: 'line-through'
|
|
17
|
+
}
|
|
18
|
+
}), props.children)
|
|
19
|
+
);
|
|
16
20
|
}
|
|
@@ -55,8 +55,12 @@ function TextColor(props) {
|
|
|
55
55
|
return (0, _defineProperty2.default)({}, '--custom-palette-color', paletteColorValue);
|
|
56
56
|
}, [paletteColorValue]);
|
|
57
57
|
return /*#__PURE__*/_react.default.createElement("span", (0, _extends2.default)({}, props.dataAttributes, {
|
|
58
|
-
"data-text-custom-color": props.color
|
|
59
|
-
|
|
58
|
+
"data-text-custom-color": props.color
|
|
59
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
60
|
+
,
|
|
61
|
+
className: "fabric-text-color-mark"
|
|
62
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
63
|
+
,
|
|
60
64
|
style: style
|
|
61
65
|
}), props.children);
|
|
62
66
|
}
|
|
@@ -127,6 +127,7 @@ function BlockCard(props) {
|
|
|
127
127
|
return (0, _react2.jsx)(_analyticsNext.AnalyticsContext, {
|
|
128
128
|
data: analyticsData
|
|
129
129
|
}, (0, _react2.jsx)("div", {
|
|
130
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
130
131
|
className: "blockCardView-content-wrap",
|
|
131
132
|
"data-block-card": true,
|
|
132
133
|
"data-card-data": data ? JSON.stringify(data) : undefined,
|
|
@@ -10,6 +10,7 @@ var _adfSchema = require("@atlaskit/adf-schema");
|
|
|
10
10
|
var _lists = require("../utils/lists");
|
|
11
11
|
function BulletList(props) {
|
|
12
12
|
return /*#__PURE__*/_react.default.createElement("ul", {
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
13
14
|
className: _adfSchema.bulletListSelector.substr(1),
|
|
14
15
|
"data-indent-level": props.path ? (0, _lists.getListIndentLevel)(props.path) : 1
|
|
15
16
|
}, props.children);
|
|
@@ -31,7 +31,9 @@ function CodeBlock(props) {
|
|
|
31
31
|
setWrapLongLines = _useState2[1];
|
|
32
32
|
return (0, _react2.jsx)(_codeBlockContainer.default, {
|
|
33
33
|
allowCopyToClipboard: allowCopyToClipboard,
|
|
34
|
-
allowWrapCodeBlock: allowWrapCodeBlock
|
|
34
|
+
allowWrapCodeBlock: allowWrapCodeBlock
|
|
35
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
36
|
+
,
|
|
35
37
|
className: className,
|
|
36
38
|
setWrapLongLines: setWrapLongLines,
|
|
37
39
|
text: text,
|
|
@@ -26,15 +26,18 @@ var CodeBlockContainer = function CodeBlockContainer(_ref) {
|
|
|
26
26
|
setWrapLongLines = _ref.setWrapLongLines,
|
|
27
27
|
text = _ref.text,
|
|
28
28
|
wrapLongLines = _ref.wrapLongLines;
|
|
29
|
-
return (
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
29
|
+
return (
|
|
30
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
31
|
+
(0, _react.jsx)("div", {
|
|
32
|
+
className: className,
|
|
33
|
+
css: codeBlockStyleOverrides
|
|
34
|
+
}, (0, _react.jsx)(_codeBlockButtonContainer.default, {
|
|
35
|
+
allowCopyToClipboard: allowCopyToClipboard,
|
|
36
|
+
allowWrapCodeBlock: allowWrapCodeBlock,
|
|
37
|
+
setWrapLongLines: setWrapLongLines,
|
|
38
|
+
text: text,
|
|
39
|
+
wrapLongLines: wrapLongLines
|
|
40
|
+
}), children)
|
|
41
|
+
);
|
|
39
42
|
};
|
|
40
43
|
var _default = exports.default = CodeBlockContainer;
|
|
@@ -44,7 +44,9 @@ var CopyButton = function CopyButton(_ref) {
|
|
|
44
44
|
}, (0, _react.jsx)(_customThemeButton.default, {
|
|
45
45
|
appearance: "subtle",
|
|
46
46
|
"aria-haspopup": true,
|
|
47
|
-
"aria-label": tooltip
|
|
47
|
+
"aria-label": tooltip
|
|
48
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
49
|
+
,
|
|
48
50
|
className: className,
|
|
49
51
|
iconBefore: (0, _react.jsx)(_copy.default, {
|
|
50
52
|
label: tooltip
|
|
@@ -44,7 +44,9 @@ var CodeBlockWrapButton = function CodeBlockWrapButton(_ref) {
|
|
|
44
44
|
}, (0, _react.jsx)(_customThemeButton.default, {
|
|
45
45
|
appearance: "subtle",
|
|
46
46
|
"aria-haspopup": true,
|
|
47
|
-
"aria-label": wrapMessage
|
|
47
|
+
"aria-label": wrapMessage
|
|
48
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
49
|
+
,
|
|
48
50
|
className: "wrap-code ".concat(wrapLongLines ? 'clicked' : ''),
|
|
49
51
|
iconBefore: (0, _react.jsx)(_icon.default, {
|
|
50
52
|
glyph: WrapIcon,
|
|
@@ -46,14 +46,17 @@ var LightWeightCodeBlock = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, r
|
|
|
46
46
|
renderBidiWarnings = _useBidiWarnings.renderBidiWarnings;
|
|
47
47
|
var classNames = [LightWeightCodeBlockCssClassName.CONTAINER, className].join(' ');
|
|
48
48
|
return (0, _react2.jsx)("div", {
|
|
49
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
49
50
|
className: classNames,
|
|
50
51
|
ref: ref,
|
|
51
52
|
css: [(0, _styles.codeBlockSharedStyles)(), lightWeightCodeBlockStyles]
|
|
52
53
|
}, (0, _react2.jsx)("div", {
|
|
53
54
|
className: _styles.CodeBlockSharedCssClassName.CODEBLOCK_CONTAINER
|
|
54
55
|
}, (0, _react2.jsx)("div", {
|
|
56
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
55
57
|
className: _styles.CodeBlockSharedCssClassName.CODEBLOCK_CONTENT_WRAPPER
|
|
56
58
|
}, (0, _react2.jsx)("div", {
|
|
59
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
57
60
|
className: _styles.CodeBlockSharedCssClassName.CODEBLOCK_LINE_NUMBER_GUTTER
|
|
58
61
|
}, textRows.map(function (_, index) {
|
|
59
62
|
return (0, _react2.jsx)("span", {
|
|
@@ -58,7 +58,9 @@ var WindowedCodeBlock = function WindowedCodeBlock(_ref2) {
|
|
|
58
58
|
var memoizedLightWeightCodeBlock = (0, _react2.jsx)(MemoizedLightWeightCodeBlock, {
|
|
59
59
|
ref: trackingRef,
|
|
60
60
|
text: text,
|
|
61
|
-
codeBidiWarningTooltipEnabled: codeBidiWarningTooltipEnabled
|
|
61
|
+
codeBidiWarningTooltipEnabled: codeBidiWarningTooltipEnabled
|
|
62
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
63
|
+
,
|
|
62
64
|
className: rootClassName
|
|
63
65
|
});
|
|
64
66
|
var _useState = (0, _react.useState)(false),
|
|
@@ -69,7 +71,9 @@ var WindowedCodeBlock = function WindowedCodeBlock(_ref2) {
|
|
|
69
71
|
fallback: memoizedLightWeightCodeBlock
|
|
70
72
|
}, (0, _react2.jsx)(_codeBlockContainer.default, {
|
|
71
73
|
allowCopyToClipboard: allowCopyToClipboard,
|
|
72
|
-
allowWrapCodeBlock: allowWrapCodeBlock
|
|
74
|
+
allowWrapCodeBlock: allowWrapCodeBlock
|
|
75
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
76
|
+
,
|
|
73
77
|
className: className,
|
|
74
78
|
setWrapLongLines: setWrapLongLines,
|
|
75
79
|
text: text,
|
|
@@ -37,13 +37,18 @@ var Date = /*#__PURE__*/function (_PureComponent) {
|
|
|
37
37
|
parentIsIncompleteTask = _this$props.parentIsIncompleteTask,
|
|
38
38
|
intl = _this$props.intl;
|
|
39
39
|
var className = !!parentIsIncompleteTask && (0, _utils.isPastDate)(timestamp) ? 'date-node date-node-highlighted' : 'date-node';
|
|
40
|
-
return
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
|
|
40
|
+
return (
|
|
41
|
+
/*#__PURE__*/
|
|
42
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
43
|
+
_react.default.createElement("span", {
|
|
44
|
+
className: _styles.DateSharedCssClassName.DATE_WRAPPER
|
|
45
|
+
}, /*#__PURE__*/_react.default.createElement("span", {
|
|
46
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
47
|
+
className: className,
|
|
48
|
+
"data-node-type": "date",
|
|
49
|
+
"data-timestamp": timestamp
|
|
50
|
+
}, parentIsIncompleteTask ? (0, _utils.timestampToTaskContext)(timestamp, intl) : (0, _utils.timestampToString)(timestamp, intl)))
|
|
51
|
+
);
|
|
47
52
|
}
|
|
48
53
|
}]);
|
|
49
54
|
return Date;
|
|
@@ -10,13 +10,16 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
10
10
|
var _consts = require("../../consts");
|
|
11
11
|
var _useSelectAllTrap = require("../utils/use-select-all-trap");
|
|
12
12
|
function Doc(props) {
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
13
14
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
14
15
|
className: _consts.RendererCssClassName.DOCUMENT
|
|
15
16
|
}, props.children);
|
|
16
17
|
}
|
|
17
18
|
function DocWithSelectAllTrap(props) {
|
|
18
19
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
19
|
-
ref: (0, _useSelectAllTrap.useSelectAllTrap)()
|
|
20
|
+
ref: (0, _useSelectAllTrap.useSelectAllTrap)()
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
22
|
+
,
|
|
20
23
|
className: _consts.RendererCssClassName.DOCUMENT
|
|
21
24
|
}, props.children);
|
|
22
25
|
}
|
|
@@ -166,6 +166,7 @@ function EmbedCard(props) {
|
|
|
166
166
|
}, (0, _react.jsx)("div", {
|
|
167
167
|
css: embedCardWrapperStyles
|
|
168
168
|
}, (0, _react.jsx)("div", {
|
|
169
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
169
170
|
className: "embedCardView-content-wrap",
|
|
170
171
|
"data-embed-card": true,
|
|
171
172
|
"data-layout": layout,
|
|
@@ -24,7 +24,9 @@ var renderExtension = exports.renderExtension = function renderExtension(content
|
|
|
24
24
|
return /*#__PURE__*/_react.default.createElement(_ui.WidthConsumer, null, function (_ref2) {
|
|
25
25
|
var width = _ref2.width;
|
|
26
26
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
27
|
-
ref: options.handleRef
|
|
27
|
+
ref: options.handleRef
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
29
|
+
,
|
|
28
30
|
className: "".concat(_consts.RendererCssClassName.EXTENSION, " ").concat(options.shadowClassNames, " ").concat(centerAlignClass),
|
|
29
31
|
style: {
|
|
30
32
|
width: isTopLevel ? (0, _utils.calcBreakoutWidth)(layout, width) : '100%'
|
|
@@ -31,10 +31,13 @@ var HeadingAnchorWrapperClassName = exports.HeadingAnchorWrapperClassName = 'hea
|
|
|
31
31
|
var CopyAnchorWrapperWithRef = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
32
32
|
var children = props.children,
|
|
33
33
|
rest = (0, _objectWithoutProperties2.default)(props, _excluded);
|
|
34
|
-
return (
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
return (
|
|
35
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
36
|
+
(0, _react2.jsx)("span", (0, _extends2.default)({}, rest, {
|
|
37
|
+
className: HeadingAnchorWrapperClassName,
|
|
38
|
+
ref: ref
|
|
39
|
+
}), children)
|
|
40
|
+
);
|
|
38
41
|
});
|
|
39
42
|
var copyAnchorButtonStyles = (0, _react2.css)({
|
|
40
43
|
display: 'inline',
|
|
@@ -81,6 +81,7 @@ var MediaGroup = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
|
81
81
|
} else {
|
|
82
82
|
content = this.renderStrip();
|
|
83
83
|
}
|
|
84
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
84
85
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
85
86
|
className: "MediaGroup"
|
|
86
87
|
}, content);
|
|
@@ -86,12 +86,14 @@ var MultiBodiedExtension = function MultiBodiedExtension(props) {
|
|
|
86
86
|
var centerAlignClass = isTopLevel && ['wide', 'full-width'].includes(layout) ? _consts.RendererCssClassName.EXTENSION_CENTER_ALIGN : '';
|
|
87
87
|
function renderMbeContent(width) {
|
|
88
88
|
return (0, _react.jsx)("div", {
|
|
89
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
89
90
|
className: "".concat(_consts.RendererCssClassName.EXTENSION, " ").concat(centerAlignClass, " ").concat(overflowContainerClass),
|
|
90
91
|
style: {
|
|
91
92
|
width: isTopLevel ? (0, _utils.calcBreakoutWidth)(layout, width) : '100%'
|
|
92
93
|
},
|
|
93
94
|
"data-layout": layout
|
|
94
95
|
}, (0, _react.jsx)("nav", {
|
|
96
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
95
97
|
className: "multiBodiedExtension-navigation",
|
|
96
98
|
css: navigationCssExtended,
|
|
97
99
|
"data-testid": "multiBodiedExtension-navigation"
|
|
@@ -117,11 +119,14 @@ var MultiBodiedExtension = function MultiBodiedExtension(props) {
|
|
|
117
119
|
isTopLevel: path.length < 1
|
|
118
120
|
});
|
|
119
121
|
})), (0, _react.jsx)("article", {
|
|
120
|
-
"data-testid": "multiBodiedExtension--frames"
|
|
122
|
+
"data-testid": "multiBodiedExtension--frames"
|
|
123
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
124
|
+
,
|
|
121
125
|
className: "multiBodiedExtension--frames"
|
|
122
126
|
}, children));
|
|
123
127
|
}
|
|
124
128
|
return (0, _react.jsx)("section", {
|
|
129
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
125
130
|
className: "multiBodiedExtension--container"
|
|
126
131
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
|
|
127
132
|
,
|
|
@@ -25,6 +25,7 @@ function OrderedList(props) {
|
|
|
25
25
|
extraProps.start = (0, _utils.resolveOrder)(props.order);
|
|
26
26
|
}
|
|
27
27
|
return /*#__PURE__*/_react.default.createElement("ol", (0, _extends2.default)({
|
|
28
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
28
29
|
className: _adfSchema.orderedListSelector.substr(1),
|
|
29
30
|
"data-indent-level": props.path ? (0, _lists.getListIndentLevel)(props.path) : 1,
|
|
30
31
|
start: props.start
|
|
@@ -76,12 +76,15 @@ var Panel = function Panel(props) {
|
|
|
76
76
|
var icon = getIcon();
|
|
77
77
|
var renderIcon = function renderIcon() {
|
|
78
78
|
if (icon) {
|
|
79
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
79
80
|
return (0, _react2.jsx)("div", {
|
|
80
81
|
className: _panel.PanelSharedCssClassName.icon
|
|
81
82
|
}, icon);
|
|
82
83
|
}
|
|
83
84
|
};
|
|
84
|
-
return (0, _react2.jsx)(PanelStyled
|
|
85
|
+
return (0, _react2.jsx)(PanelStyled
|
|
86
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
87
|
+
, {
|
|
85
88
|
className: _panel.PanelSharedCssClassName.prefix,
|
|
86
89
|
"data-panel-type": panelType,
|
|
87
90
|
"data-panel-color": panelColor,
|
|
@@ -153,14 +153,19 @@ var Colgroup = exports.Colgroup = function Colgroup(props) {
|
|
|
153
153
|
return null;
|
|
154
154
|
}
|
|
155
155
|
return /*#__PURE__*/_react.default.createElement("colgroup", null, isNumberColumnEnabled && /*#__PURE__*/_react.default.createElement("col", {
|
|
156
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
156
157
|
style: {
|
|
157
158
|
width: _editorSharedStyles.akEditorTableNumberColumnWidth
|
|
158
159
|
},
|
|
159
160
|
"data-test-id": 'num'
|
|
160
161
|
}), colStyles.map(function (style, idx) {
|
|
161
|
-
return
|
|
162
|
-
|
|
163
|
-
style
|
|
164
|
-
|
|
162
|
+
return (
|
|
163
|
+
/*#__PURE__*/
|
|
164
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
165
|
+
_react.default.createElement("col", {
|
|
166
|
+
key: idx,
|
|
167
|
+
style: style
|
|
168
|
+
})
|
|
169
|
+
);
|
|
165
170
|
}));
|
|
166
171
|
};
|
|
@@ -69,7 +69,9 @@ var FixedTableDiv = exports.FixedTableDiv = function FixedTableDiv(props) {
|
|
|
69
69
|
mode: mode
|
|
70
70
|
};
|
|
71
71
|
return (0, _react2.jsx)("div", (0, _extends2.default)({}, attrs, {
|
|
72
|
-
"data-testid": "sticky-table-fixed"
|
|
72
|
+
"data-testid": "sticky-table-fixed"
|
|
73
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
74
|
+
,
|
|
73
75
|
className: (0, _table2.isTableResizingEnabled)(rendererAppearance) ? 'fixed-table-div-custom-table-resizing' : '',
|
|
74
76
|
css: fixedTableCss
|
|
75
77
|
}), props.children);
|
|
@@ -116,15 +118,19 @@ var StickyTable = exports.StickyTable = function StickyTable(_ref) {
|
|
|
116
118
|
wrapperWidth: wrapperWidth,
|
|
117
119
|
rendererAppearance: rendererAppearance
|
|
118
120
|
}, (0, _react2.jsx)("div", {
|
|
121
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
119
122
|
className: "".concat(_styles.TableSharedCssClassName.TABLE_CONTAINER, " is-sticky ").concat(shadowClassNames || ''),
|
|
120
123
|
"data-layout": layout,
|
|
121
124
|
style: {
|
|
122
125
|
width: tableWidth
|
|
123
126
|
}
|
|
124
127
|
}, (0, _react2.jsx)("div", {
|
|
125
|
-
ref: innerRef
|
|
128
|
+
ref: innerRef
|
|
129
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
130
|
+
,
|
|
126
131
|
className: "".concat(_styles.TableSharedCssClassName.TABLE_STICKY_WRAPPER),
|
|
127
132
|
style: {
|
|
133
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
128
134
|
overflow: 'hidden'
|
|
129
135
|
}
|
|
130
136
|
}, (0, _react2.jsx)(_table.Table, {
|
|
@@ -298,7 +298,7 @@ var TableContainer = exports.TableContainer = /*#__PURE__*/function (_React$Comp
|
|
|
298
298
|
isInsideOfBlockNode = _this$props.isInsideOfBlockNode,
|
|
299
299
|
isinsideMultiBodiedExtension = _this$props.isinsideMultiBodiedExtension;
|
|
300
300
|
var stickyMode = this.state.stickyMode;
|
|
301
|
-
var
|
|
301
|
+
var lineLengthFixedWidth = _editorSharedStyles.akEditorDefaultLayoutWidth;
|
|
302
302
|
var left;
|
|
303
303
|
var updatedLayout;
|
|
304
304
|
|
|
@@ -316,8 +316,17 @@ var TableContainer = exports.TableContainer = /*#__PURE__*/function (_React$Comp
|
|
|
316
316
|
}
|
|
317
317
|
};
|
|
318
318
|
var tableWidth = calcDefaultLayoutWidthByAppearance(rendererAppearance, tableNode);
|
|
319
|
-
|
|
320
|
-
|
|
319
|
+
|
|
320
|
+
// Logic for table alignment in renderer
|
|
321
|
+
var isTableAlignStart = (0, _platformFeatureFlags.getBooleanFF)('platform.editor.table.allow-table-alignment') && (0, _appearance.isFullWidthOrFullPageAppearance)(rendererAppearance) && tableNode && tableNode.attrs && tableNode.attrs.layout === 'align-start';
|
|
322
|
+
var fullWidthLineLength = isRenderWidthValid ? Math.min(_editorSharedStyles.akEditorFullWidthLayoutWidth, renderWidth) : _editorSharedStyles.akEditorFullWidthLayoutWidth;
|
|
323
|
+
var lineLength = (0, _appearance.isFullWidthAppearance)(rendererAppearance) ? fullWidthLineLength : lineLengthFixedWidth;
|
|
324
|
+
var shouldCalculateLeftForAlignment = isTableAlignStart && ((0, _appearance.isFullPageAppearance)(rendererAppearance) && tableWidth <= lineLengthFixedWidth || (0, _appearance.isFullWidthAppearance)(rendererAppearance));
|
|
325
|
+
if (shouldCalculateLeftForAlignment) {
|
|
326
|
+
left = (tableWidth - lineLength) / 2;
|
|
327
|
+
}
|
|
328
|
+
if (!shouldCalculateLeftForAlignment && canUseLinelength(rendererAppearance) && tableWidth > lineLengthFixedWidth) {
|
|
329
|
+
left = lineLengthFixedWidth / 2 - tableWidth / 2;
|
|
321
330
|
}
|
|
322
331
|
var children = _react.default.Children.toArray(this.props.children);
|
|
323
332
|
|
|
@@ -333,13 +342,14 @@ var TableContainer = exports.TableContainer = /*#__PURE__*/function (_React$Comp
|
|
|
333
342
|
updatedLayout = layout;
|
|
334
343
|
}
|
|
335
344
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("div", {
|
|
345
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
336
346
|
className: "".concat(_styles.TableSharedCssClassName.TABLE_CONTAINER, " ").concat(this.props.shadowClassNames || ''),
|
|
337
347
|
"data-layout": updatedLayout,
|
|
338
348
|
ref: this.props.handleRef,
|
|
339
349
|
style: {
|
|
340
350
|
width: isTableResizingEnabled(rendererAppearance) ? tableWidth : 'inherit',
|
|
341
|
-
|
|
342
|
-
left:
|
|
351
|
+
left: left,
|
|
352
|
+
marginLeft: shouldCalculateLeftForAlignment && left !== undefined ? -left : undefined
|
|
343
353
|
}
|
|
344
354
|
}, stickyHeaders && tableCanBeSticky(tableNode, children) && /*#__PURE__*/_react.default.createElement(_sticky.StickyTable, {
|
|
345
355
|
isNumberColumnEnabled: isNumberColumnEnabled,
|
|
@@ -357,6 +367,7 @@ var TableContainer = exports.TableContainer = /*#__PURE__*/function (_React$Comp
|
|
|
357
367
|
tableNode: tableNode,
|
|
358
368
|
rendererAppearance: rendererAppearance
|
|
359
369
|
}, [children && children[0]]), /*#__PURE__*/_react.default.createElement("div", {
|
|
370
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
360
371
|
className: _styles.TableSharedCssClassName.TABLE_NODE_WRAPPER,
|
|
361
372
|
ref: this.wrapperRef,
|
|
362
373
|
onScroll: this.props.stickyHeaders && this.onWrapperScrolled
|
|
@@ -142,6 +142,7 @@ var getWithCellProps = function getWithCellProps(WrapperComponent) {
|
|
|
142
142
|
// the background color is not taken from the inline style.
|
|
143
143
|
// Instead it is taken from the data-cell-background attribute
|
|
144
144
|
// (added via getDataAttributes below).
|
|
145
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
145
146
|
,
|
|
146
147
|
style: getStyle({
|
|
147
148
|
background: background,
|
|
@@ -150,7 +151,9 @@ var getWithCellProps = function getWithCellProps(WrapperComponent) {
|
|
|
150
151
|
colorMode: colorMode
|
|
151
152
|
}),
|
|
152
153
|
colorname: colorName,
|
|
153
|
-
onClick: onClick
|
|
154
|
+
onClick: onClick
|
|
155
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
156
|
+
,
|
|
154
157
|
className: className
|
|
155
158
|
}, getDataAttributes(colwidth, background), {
|
|
156
159
|
"aria-sort": ariaSort
|
|
@@ -171,11 +174,13 @@ var withSortableColumn = exports.withSortableColumn = function withSortableColum
|
|
|
171
174
|
return /*#__PURE__*/_react.default.createElement(WrapperComponent, props);
|
|
172
175
|
}
|
|
173
176
|
return /*#__PURE__*/_react.default.createElement(WrapperComponent, (0, _extends2.default)({}, props, {
|
|
177
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
174
178
|
className: _consts.RendererCssClassName.SORTABLE_COLUMN_WRAPPER,
|
|
175
179
|
ariaSort: getSortOrderLabel(intl, sortOrdered)
|
|
176
180
|
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
177
181
|
className: _consts.RendererCssClassName.SORTABLE_COLUMN
|
|
178
182
|
}, children, /*#__PURE__*/_react.default.createElement("figure", {
|
|
183
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
179
184
|
className: "".concat(_consts.RendererCssClassName.SORTABLE_COLUMN_ICON_WRAPPER, " ").concat(sortOrderedClassName)
|
|
180
185
|
}, /*#__PURE__*/_react.default.createElement(_table.SortingIcon, {
|
|
181
186
|
isSortingAllowed: !!onSorting,
|
|
@@ -78,7 +78,10 @@ var TableRow = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
|
78
78
|
var childrenArray = _react.default.Children.toArray(children);
|
|
79
79
|
return /*#__PURE__*/_react.default.createElement("tr", {
|
|
80
80
|
ref: innerRef
|
|
81
|
-
}, this.props.isNumberColumnEnabled &&
|
|
81
|
+
}, this.props.isNumberColumnEnabled &&
|
|
82
|
+
/*#__PURE__*/
|
|
83
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
84
|
+
_react.default.createElement("td", {
|
|
82
85
|
className: _consts.RendererCssClassName.NUMBER_COLUMN
|
|
83
86
|
}, this.props.index), (0, _utils.compose)(this.addSortableColumn, this.addColGroupWidth)(childrenArray));
|
|
84
87
|
}
|
|
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = UnknownBlock;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
function UnknownBlock(props) {
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
10
11
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
11
12
|
className: "UnknownBlock"
|
|
12
13
|
}, props.children);
|
|
@@ -151,10 +151,13 @@ var ExtensionRenderer = exports.default = /*#__PURE__*/function (_React$Componen
|
|
|
151
151
|
var InlineNodeRendererWrapper = function InlineNodeRendererWrapper(_ref) {
|
|
152
152
|
var children = _ref.children;
|
|
153
153
|
if ((0, _platformFeatureFlags.getBooleanFF)('platform.editor.inline_extension.extended_lcqdn')) {
|
|
154
|
-
return (
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
154
|
+
return (
|
|
155
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
156
|
+
(0, _react.jsx)("div", {
|
|
157
|
+
className: "inline-extension-renderer",
|
|
158
|
+
css: inlineExtensionStyle
|
|
159
|
+
}, children)
|
|
160
|
+
);
|
|
158
161
|
}
|
|
159
162
|
return (0, _react.jsx)(_react2.Fragment, null, children);
|
|
160
163
|
};
|
|
@@ -56,7 +56,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
56
56
|
var NORMAL_SEVERITY_THRESHOLD = exports.NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
57
57
|
var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
58
58
|
var packageName = "@atlaskit/renderer";
|
|
59
|
-
var packageVersion = "109.29.
|
|
59
|
+
var packageVersion = "109.29.6";
|
|
60
60
|
var defaultNodeComponents = exports.defaultNodeComponents = _nodes.nodeToReact;
|
|
61
61
|
var Renderer = exports.Renderer = /*#__PURE__*/function (_PureComponent) {
|
|
62
62
|
(0, _inherits2.default)(Renderer, _PureComponent);
|
|
@@ -532,7 +532,9 @@ var RendererWrapper = /*#__PURE__*/_react.default.memo(function (props) {
|
|
|
532
532
|
};
|
|
533
533
|
}
|
|
534
534
|
}, [innerRef, addTelepointer]);
|
|
535
|
-
return (0, _react2.jsx)(_ui.WidthProvider
|
|
535
|
+
return (0, _react2.jsx)(_ui.WidthProvider
|
|
536
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
537
|
+
, {
|
|
536
538
|
className: "ak-renderer-wrapper is-".concat(appearance),
|
|
537
539
|
"data-appearance": appearance,
|
|
538
540
|
shouldCheckExistingValue: (0, _platformFeatureFlags.getBooleanFF)('platform.editor.inline_extension.extended_lcqdn') && isInsideOfInlineExtension
|