@atlaskit/renderer 120.3.1 → 120.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/dist/cjs/react/index.js +4 -2
- package/dist/cjs/react/nodes/table/colgroup.js +23 -12
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/react/index.js +4 -3
- package/dist/es2019/react/nodes/table/colgroup.js +17 -5
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/react/index.js +4 -2
- package/dist/esm/react/nodes/table/colgroup.js +23 -12
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 120.3.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#191617](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/191617)
|
|
8
|
+
[`49f632112178c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/49f632112178c) -
|
|
9
|
+
Bugfix - pass path for emojis during renderer serialization to generate correct renderer_start_pos
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 120.3.2
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#192346](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/192346)
|
|
17
|
+
[`a2de3fc822824`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a2de3fc822824) -
|
|
18
|
+
[JRACLOUD-95277] Modifying experiment name
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 120.3.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/cjs/react/index.js
CHANGED
|
@@ -14,6 +14,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
14
14
|
var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
var _model = require("@atlaskit/editor-prosemirror/model");
|
|
16
16
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
17
|
+
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
17
18
|
var _links = require("./utils/links");
|
|
18
19
|
var _nodes = require("./nodes");
|
|
19
20
|
var _textWrapper = _interopRequireDefault(require("./nodes/text-wrapper"));
|
|
@@ -230,7 +231,7 @@ var ReactSerializer = exports.default = /*#__PURE__*/function () {
|
|
|
230
231
|
case 'media':
|
|
231
232
|
return this.getMediaProps(node, path);
|
|
232
233
|
case 'emoji':
|
|
233
|
-
return this.getEmojiProps(node);
|
|
234
|
+
return this.getEmojiProps(node, (0, _expValEquals.expValEquals)('cc_comments_include_path_for_renderer_emojis', 'isEnabled', true) ? path : undefined);
|
|
234
235
|
case 'extension':
|
|
235
236
|
case 'bodiedExtension':
|
|
236
237
|
return this.getExtensionProps(node, path);
|
|
@@ -506,7 +507,8 @@ var ReactSerializer = exports.default = /*#__PURE__*/function () {
|
|
|
506
507
|
}, {
|
|
507
508
|
key: "getEmojiProps",
|
|
508
509
|
value: function getEmojiProps(node) {
|
|
509
|
-
|
|
510
|
+
var path = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
511
|
+
return _objectSpread(_objectSpread({}, this.getProps(node, path)), {}, {
|
|
510
512
|
resourceConfig: this.emojiResourceConfig
|
|
511
513
|
});
|
|
512
514
|
}
|
|
@@ -29,7 +29,10 @@ var isTableColumnResized = function isTableColumnResized(columnWidths) {
|
|
|
29
29
|
});
|
|
30
30
|
return !!filteredWidths.length;
|
|
31
31
|
};
|
|
32
|
-
var fixColumnWidth = function fixColumnWidth(
|
|
32
|
+
var fixColumnWidth = function fixColumnWidth(_ref) {
|
|
33
|
+
var columnWidth = _ref.columnWidth,
|
|
34
|
+
zeroWidthColumnsCount = _ref.zeroWidthColumnsCount,
|
|
35
|
+
scaleDownPercent = _ref.scaleDownPercent;
|
|
33
36
|
if (columnWidth === 0) {
|
|
34
37
|
return columnWidth;
|
|
35
38
|
}
|
|
@@ -43,11 +46,11 @@ var fixColumnWidth = function fixColumnWidth(columnWidth, _tableWidth, _layoutWi
|
|
|
43
46
|
// We need to take tableCellBorderWidth, to avoid unnecessary overflow.
|
|
44
47
|
columnWidth - _styles.tableCellBorderWidth, zeroWidthColumnsCount ? _editorSharedStyles.akEditorTableLegacyCellMinWidth : _styles.tableCellMinWidth);
|
|
45
48
|
};
|
|
46
|
-
var calcScalePercent = function calcScalePercent(
|
|
47
|
-
var renderWidth =
|
|
48
|
-
tableWidth =
|
|
49
|
-
maxScale =
|
|
50
|
-
isNumberColumnEnabled =
|
|
49
|
+
var calcScalePercent = function calcScalePercent(_ref2) {
|
|
50
|
+
var renderWidth = _ref2.renderWidth,
|
|
51
|
+
tableWidth = _ref2.tableWidth,
|
|
52
|
+
maxScale = _ref2.maxScale,
|
|
53
|
+
isNumberColumnEnabled = _ref2.isNumberColumnEnabled;
|
|
51
54
|
var noNumColumnScalePercent = renderWidth / tableWidth;
|
|
52
55
|
// when numbered column is enabled, we need to calculate the scale percent without the akEditorTableNumberColumnWidth
|
|
53
56
|
// As numbered column width is not scaled down
|
|
@@ -98,8 +101,8 @@ var renderScaleDownColgroup = function renderScaleDownColgroup(props) {
|
|
|
98
101
|
var tableContainerWidth = rendererAppearance === 'comment' && !(tableNode !== null && tableNode !== void 0 && tableNode.attrs.width) || isRendererNested && (!(0, _platformFeatureFlags.fg)('platform_fix_nested_num_column_scaling') || !isNumberColumnEnabled) ? renderWidth : (0, _nodeWidth.getTableContainerWidth)(tableNode);
|
|
99
102
|
if (allowTableResizing && !isInsideOfBlockNode && !isInsideOfTable && !isinsideMultiBodiedExtension && !tableColumnResized) {
|
|
100
103
|
// when no columns are resized, each column should have equal width, equals to tableWidth / noOfColumns
|
|
101
|
-
var
|
|
102
|
-
var defaultColumnWidth =
|
|
104
|
+
var _tableWidth = (isNumberColumnEnabled ? tableContainerWidth - _editorSharedStyles.akEditorTableNumberColumnWidth : tableContainerWidth) - 1;
|
|
105
|
+
var defaultColumnWidth = _tableWidth / noOfColumns;
|
|
103
106
|
targetWidths = new Array(noOfColumns).fill(defaultColumnWidth);
|
|
104
107
|
} else if (!tableColumnResized) {
|
|
105
108
|
return null;
|
|
@@ -175,9 +178,13 @@ var renderScaleDownColgroup = function renderScaleDownColgroup(props) {
|
|
|
175
178
|
isNumberColumnEnabled: isNumberColumnEnabled
|
|
176
179
|
});
|
|
177
180
|
}
|
|
178
|
-
if (isNumberColumnEnabled && (tableWidth < maxTableWidth || maxTableWidth === 0) && (0, _expValEquals.expValEquals)('
|
|
181
|
+
if (isNumberColumnEnabled && (tableWidth < maxTableWidth || maxTableWidth === 0) && (0, _expValEquals.expValEquals)('editor_prevent_numbered_column_too_big_jira_1', 'isEnabled', true)) {
|
|
179
182
|
var fixedColWidths = targetWidths.map(function (width) {
|
|
180
|
-
return fixColumnWidth(
|
|
183
|
+
return fixColumnWidth({
|
|
184
|
+
columnWidth: width,
|
|
185
|
+
zeroWidthColumnsCount: zeroWidthColumnsCount,
|
|
186
|
+
scaleDownPercent: scaleDownPercent
|
|
187
|
+
}) || cellMinWidth;
|
|
181
188
|
});
|
|
182
189
|
var sumFixedColumnWidths = colWidthSum(fixedColWidths);
|
|
183
190
|
return fixedColWidths.map(function (colWidth) {
|
|
@@ -201,11 +208,15 @@ var renderScaleDownColgroup = function renderScaleDownColgroup(props) {
|
|
|
201
208
|
}
|
|
202
209
|
|
|
203
210
|
/**
|
|
204
|
-
* When cleaning up
|
|
211
|
+
* When cleaning up editor_prevent_numbered_column_too_big_jira_1 experiment,
|
|
205
212
|
* resuse the fixedColWidths const to avoid code duplication.
|
|
206
213
|
*/
|
|
207
214
|
return targetWidths.map(function (colWidth) {
|
|
208
|
-
var width = fixColumnWidth(
|
|
215
|
+
var width = fixColumnWidth({
|
|
216
|
+
columnWidth: colWidth,
|
|
217
|
+
zeroWidthColumnsCount: zeroWidthColumnsCount,
|
|
218
|
+
scaleDownPercent: scaleDownPercent
|
|
219
|
+
}) || cellMinWidth;
|
|
209
220
|
var style = width ? {
|
|
210
221
|
width: "".concat(width, "px")
|
|
211
222
|
} : {};
|
|
@@ -63,7 +63,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
63
63
|
var NORMAL_SEVERITY_THRESHOLD = exports.NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
64
64
|
var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
65
65
|
var packageName = "@atlaskit/renderer";
|
|
66
|
-
var packageVersion = "120.3.
|
|
66
|
+
var packageVersion = "120.3.2";
|
|
67
67
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
68
68
|
containerName: 'ak-renderer-wrapper',
|
|
69
69
|
containerType: 'inline-size'
|
|
@@ -3,6 +3,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { MarkType } from '@atlaskit/editor-prosemirror/model';
|
|
5
5
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
6
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
6
7
|
import { isNestedHeaderLinksEnabled } from './utils/links';
|
|
7
8
|
import { Doc, DocWithSelectAllTrap, mergeTextNodes, isTextWrapper, isTextNode, toReact } from './nodes';
|
|
8
9
|
import TextWrapperComponent from './nodes/text-wrapper';
|
|
@@ -212,7 +213,7 @@ export default class ReactSerializer {
|
|
|
212
213
|
case 'media':
|
|
213
214
|
return this.getMediaProps(node, path);
|
|
214
215
|
case 'emoji':
|
|
215
|
-
return this.getEmojiProps(node);
|
|
216
|
+
return this.getEmojiProps(node, expValEquals('cc_comments_include_path_for_renderer_emojis', 'isEnabled', true) ? path : undefined);
|
|
216
217
|
case 'extension':
|
|
217
218
|
case 'bodiedExtension':
|
|
218
219
|
return this.getExtensionProps(node, path);
|
|
@@ -455,9 +456,9 @@ export default class ReactSerializer {
|
|
|
455
456
|
nodeHeight: (_this$getExtensionHei = this.getExtensionHeight) === null || _this$getExtensionHei === void 0 ? void 0 : _this$getExtensionHei.call(this, node)
|
|
456
457
|
};
|
|
457
458
|
}
|
|
458
|
-
getEmojiProps(node) {
|
|
459
|
+
getEmojiProps(node, path = []) {
|
|
459
460
|
return {
|
|
460
|
-
...this.getProps(node),
|
|
461
|
+
...this.getProps(node, path),
|
|
461
462
|
resourceConfig: this.emojiResourceConfig
|
|
462
463
|
};
|
|
463
464
|
}
|
|
@@ -18,7 +18,11 @@ const isTableColumnResized = columnWidths => {
|
|
|
18
18
|
const filteredWidths = columnWidths.filter(width => width !== 0);
|
|
19
19
|
return !!filteredWidths.length;
|
|
20
20
|
};
|
|
21
|
-
const fixColumnWidth = (
|
|
21
|
+
const fixColumnWidth = ({
|
|
22
|
+
columnWidth,
|
|
23
|
+
zeroWidthColumnsCount,
|
|
24
|
+
scaleDownPercent
|
|
25
|
+
}) => {
|
|
22
26
|
if (columnWidth === 0) {
|
|
23
27
|
return columnWidth;
|
|
24
28
|
}
|
|
@@ -161,8 +165,12 @@ const renderScaleDownColgroup = props => {
|
|
|
161
165
|
isNumberColumnEnabled: isNumberColumnEnabled
|
|
162
166
|
});
|
|
163
167
|
}
|
|
164
|
-
if (isNumberColumnEnabled && (tableWidth < maxTableWidth || maxTableWidth === 0) && expValEquals('
|
|
165
|
-
const fixedColWidths = targetWidths.map(width => fixColumnWidth(
|
|
168
|
+
if (isNumberColumnEnabled && (tableWidth < maxTableWidth || maxTableWidth === 0) && expValEquals('editor_prevent_numbered_column_too_big_jira_1', 'isEnabled', true)) {
|
|
169
|
+
const fixedColWidths = targetWidths.map(width => fixColumnWidth({
|
|
170
|
+
columnWidth: width,
|
|
171
|
+
zeroWidthColumnsCount,
|
|
172
|
+
scaleDownPercent
|
|
173
|
+
}) || cellMinWidth);
|
|
166
174
|
const sumFixedColumnWidths = colWidthSum(fixedColWidths);
|
|
167
175
|
return fixedColWidths.map(colWidth => {
|
|
168
176
|
const width = Math.max(colWidth, cellMinWidth);
|
|
@@ -185,11 +193,15 @@ const renderScaleDownColgroup = props => {
|
|
|
185
193
|
}
|
|
186
194
|
|
|
187
195
|
/**
|
|
188
|
-
* When cleaning up
|
|
196
|
+
* When cleaning up editor_prevent_numbered_column_too_big_jira_1 experiment,
|
|
189
197
|
* resuse the fixedColWidths const to avoid code duplication.
|
|
190
198
|
*/
|
|
191
199
|
return targetWidths.map(colWidth => {
|
|
192
|
-
const width = fixColumnWidth(
|
|
200
|
+
const width = fixColumnWidth({
|
|
201
|
+
columnWidth: colWidth,
|
|
202
|
+
zeroWidthColumnsCount,
|
|
203
|
+
scaleDownPercent
|
|
204
|
+
}) || cellMinWidth;
|
|
193
205
|
const style = width ? {
|
|
194
206
|
width: `${width}px`
|
|
195
207
|
} : {};
|
|
@@ -49,7 +49,7 @@ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equ
|
|
|
49
49
|
export const NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
50
50
|
export const DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
51
51
|
const packageName = "@atlaskit/renderer";
|
|
52
|
-
const packageVersion = "120.3.
|
|
52
|
+
const packageVersion = "120.3.2";
|
|
53
53
|
const setAsQueryContainerStyles = css({
|
|
54
54
|
containerName: 'ak-renderer-wrapper',
|
|
55
55
|
containerType: 'inline-size'
|
package/dist/esm/react/index.js
CHANGED
|
@@ -10,6 +10,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { MarkType } from '@atlaskit/editor-prosemirror/model';
|
|
12
12
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
13
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
13
14
|
import { isNestedHeaderLinksEnabled } from './utils/links';
|
|
14
15
|
import { Doc, DocWithSelectAllTrap, mergeTextNodes, isTextWrapper, isTextNode, toReact } from './nodes';
|
|
15
16
|
import TextWrapperComponent from './nodes/text-wrapper';
|
|
@@ -223,7 +224,7 @@ var ReactSerializer = /*#__PURE__*/function () {
|
|
|
223
224
|
case 'media':
|
|
224
225
|
return this.getMediaProps(node, path);
|
|
225
226
|
case 'emoji':
|
|
226
|
-
return this.getEmojiProps(node);
|
|
227
|
+
return this.getEmojiProps(node, expValEquals('cc_comments_include_path_for_renderer_emojis', 'isEnabled', true) ? path : undefined);
|
|
227
228
|
case 'extension':
|
|
228
229
|
case 'bodiedExtension':
|
|
229
230
|
return this.getExtensionProps(node, path);
|
|
@@ -499,7 +500,8 @@ var ReactSerializer = /*#__PURE__*/function () {
|
|
|
499
500
|
}, {
|
|
500
501
|
key: "getEmojiProps",
|
|
501
502
|
value: function getEmojiProps(node) {
|
|
502
|
-
|
|
503
|
+
var path = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
|
|
504
|
+
return _objectSpread(_objectSpread({}, this.getProps(node, path)), {}, {
|
|
503
505
|
resourceConfig: this.emojiResourceConfig
|
|
504
506
|
});
|
|
505
507
|
}
|
|
@@ -23,7 +23,10 @@ var isTableColumnResized = function isTableColumnResized(columnWidths) {
|
|
|
23
23
|
});
|
|
24
24
|
return !!filteredWidths.length;
|
|
25
25
|
};
|
|
26
|
-
var fixColumnWidth = function fixColumnWidth(
|
|
26
|
+
var fixColumnWidth = function fixColumnWidth(_ref) {
|
|
27
|
+
var columnWidth = _ref.columnWidth,
|
|
28
|
+
zeroWidthColumnsCount = _ref.zeroWidthColumnsCount,
|
|
29
|
+
scaleDownPercent = _ref.scaleDownPercent;
|
|
27
30
|
if (columnWidth === 0) {
|
|
28
31
|
return columnWidth;
|
|
29
32
|
}
|
|
@@ -37,11 +40,11 @@ var fixColumnWidth = function fixColumnWidth(columnWidth, _tableWidth, _layoutWi
|
|
|
37
40
|
// We need to take tableCellBorderWidth, to avoid unnecessary overflow.
|
|
38
41
|
columnWidth - tableCellBorderWidth, zeroWidthColumnsCount ? akEditorTableLegacyCellMinWidth : tableCellMinWidth);
|
|
39
42
|
};
|
|
40
|
-
var calcScalePercent = function calcScalePercent(
|
|
41
|
-
var renderWidth =
|
|
42
|
-
tableWidth =
|
|
43
|
-
maxScale =
|
|
44
|
-
isNumberColumnEnabled =
|
|
43
|
+
var calcScalePercent = function calcScalePercent(_ref2) {
|
|
44
|
+
var renderWidth = _ref2.renderWidth,
|
|
45
|
+
tableWidth = _ref2.tableWidth,
|
|
46
|
+
maxScale = _ref2.maxScale,
|
|
47
|
+
isNumberColumnEnabled = _ref2.isNumberColumnEnabled;
|
|
45
48
|
var noNumColumnScalePercent = renderWidth / tableWidth;
|
|
46
49
|
// when numbered column is enabled, we need to calculate the scale percent without the akEditorTableNumberColumnWidth
|
|
47
50
|
// As numbered column width is not scaled down
|
|
@@ -92,8 +95,8 @@ var renderScaleDownColgroup = function renderScaleDownColgroup(props) {
|
|
|
92
95
|
var tableContainerWidth = rendererAppearance === 'comment' && !(tableNode !== null && tableNode !== void 0 && tableNode.attrs.width) || isRendererNested && (!fg('platform_fix_nested_num_column_scaling') || !isNumberColumnEnabled) ? renderWidth : getTableContainerWidth(tableNode);
|
|
93
96
|
if (allowTableResizing && !isInsideOfBlockNode && !isInsideOfTable && !isinsideMultiBodiedExtension && !tableColumnResized) {
|
|
94
97
|
// when no columns are resized, each column should have equal width, equals to tableWidth / noOfColumns
|
|
95
|
-
var
|
|
96
|
-
var defaultColumnWidth =
|
|
98
|
+
var _tableWidth = (isNumberColumnEnabled ? tableContainerWidth - akEditorTableNumberColumnWidth : tableContainerWidth) - 1;
|
|
99
|
+
var defaultColumnWidth = _tableWidth / noOfColumns;
|
|
97
100
|
targetWidths = new Array(noOfColumns).fill(defaultColumnWidth);
|
|
98
101
|
} else if (!tableColumnResized) {
|
|
99
102
|
return null;
|
|
@@ -169,9 +172,13 @@ var renderScaleDownColgroup = function renderScaleDownColgroup(props) {
|
|
|
169
172
|
isNumberColumnEnabled: isNumberColumnEnabled
|
|
170
173
|
});
|
|
171
174
|
}
|
|
172
|
-
if (isNumberColumnEnabled && (tableWidth < maxTableWidth || maxTableWidth === 0) && expValEquals('
|
|
175
|
+
if (isNumberColumnEnabled && (tableWidth < maxTableWidth || maxTableWidth === 0) && expValEquals('editor_prevent_numbered_column_too_big_jira_1', 'isEnabled', true)) {
|
|
173
176
|
var fixedColWidths = targetWidths.map(function (width) {
|
|
174
|
-
return fixColumnWidth(
|
|
177
|
+
return fixColumnWidth({
|
|
178
|
+
columnWidth: width,
|
|
179
|
+
zeroWidthColumnsCount: zeroWidthColumnsCount,
|
|
180
|
+
scaleDownPercent: scaleDownPercent
|
|
181
|
+
}) || cellMinWidth;
|
|
175
182
|
});
|
|
176
183
|
var sumFixedColumnWidths = colWidthSum(fixedColWidths);
|
|
177
184
|
return fixedColWidths.map(function (colWidth) {
|
|
@@ -195,11 +202,15 @@ var renderScaleDownColgroup = function renderScaleDownColgroup(props) {
|
|
|
195
202
|
}
|
|
196
203
|
|
|
197
204
|
/**
|
|
198
|
-
* When cleaning up
|
|
205
|
+
* When cleaning up editor_prevent_numbered_column_too_big_jira_1 experiment,
|
|
199
206
|
* resuse the fixedColWidths const to avoid code duplication.
|
|
200
207
|
*/
|
|
201
208
|
return targetWidths.map(function (colWidth) {
|
|
202
|
-
var width = fixColumnWidth(
|
|
209
|
+
var width = fixColumnWidth({
|
|
210
|
+
columnWidth: colWidth,
|
|
211
|
+
zeroWidthColumnsCount: zeroWidthColumnsCount,
|
|
212
|
+
scaleDownPercent: scaleDownPercent
|
|
213
|
+
}) || cellMinWidth;
|
|
203
214
|
var style = width ? {
|
|
204
215
|
width: "".concat(width, "px")
|
|
205
216
|
} : {};
|
|
@@ -54,7 +54,7 @@ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equ
|
|
|
54
54
|
export var NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
55
55
|
export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
56
56
|
var packageName = "@atlaskit/renderer";
|
|
57
|
-
var packageVersion = "120.3.
|
|
57
|
+
var packageVersion = "120.3.2";
|
|
58
58
|
var setAsQueryContainerStyles = css({
|
|
59
59
|
containerName: 'ak-renderer-wrapper',
|
|
60
60
|
containerType: 'inline-size'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "120.3.
|
|
3
|
+
"version": "120.3.3",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
40
40
|
"@atlaskit/icon": "^27.7.0",
|
|
41
41
|
"@atlaskit/link": "^3.2.0",
|
|
42
|
-
"@atlaskit/link-datasource": "^4.
|
|
42
|
+
"@atlaskit/link-datasource": "^4.16.0",
|
|
43
43
|
"@atlaskit/media-card": "^79.4.0",
|
|
44
44
|
"@atlaskit/media-client": "^35.2.0",
|
|
45
45
|
"@atlaskit/media-client-react": "^4.1.0",
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"@atlaskit/status": "^3.0.0",
|
|
55
55
|
"@atlaskit/task-decision": "^19.2.0",
|
|
56
56
|
"@atlaskit/theme": "^19.0.0",
|
|
57
|
-
"@atlaskit/tmp-editor-statsig": "^9.
|
|
57
|
+
"@atlaskit/tmp-editor-statsig": "^9.17.0",
|
|
58
58
|
"@atlaskit/tokens": "^5.6.0",
|
|
59
|
-
"@atlaskit/tooltip": "^20.
|
|
59
|
+
"@atlaskit/tooltip": "^20.4.0",
|
|
60
60
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
61
61
|
"@babel/runtime": "^7.0.0",
|
|
62
62
|
"@emotion/react": "^11.7.1",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@atlaskit/checkbox": "^17.1.0",
|
|
82
82
|
"@atlaskit/css-reset": "^7.3.0",
|
|
83
83
|
"@atlaskit/link-provider": "^3.4.0",
|
|
84
|
-
"@atlaskit/link-test-helpers": "^8.
|
|
84
|
+
"@atlaskit/link-test-helpers": "^8.3.0",
|
|
85
85
|
"@atlaskit/linking-common": "^9.2.0",
|
|
86
86
|
"@atlaskit/media-core": "^37.0.0",
|
|
87
87
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|