@atlaskit/renderer 114.8.0 → 114.9.0
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 +13 -0
- package/dist/cjs/react/nodes/tableRow.js +2 -1
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/react/nodes/tableRow.js +2 -1
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/react/nodes/tableRow.js +2 -1
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/package.json +6 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 114.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#139372](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/139372)
|
|
8
|
+
[`0a065cf818a4d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0a065cf818a4d) -
|
|
9
|
+
Optimize tableRow.addColGroupWidth so it does not clone children when colGroupWidths array is
|
|
10
|
+
empty
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 114.8.0
|
|
4
17
|
|
|
5
18
|
### Minor Changes
|
|
@@ -56,7 +56,8 @@ var TableRow = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
|
56
56
|
return childrenArray;
|
|
57
57
|
});
|
|
58
58
|
(0, _defineProperty2.default)(_this, "addColGroupWidth", function (childrenArray) {
|
|
59
|
-
|
|
59
|
+
var _this$state$colGroupW;
|
|
60
|
+
if ((0, _platformFeatureFlags.fg)('platform_editor_table_column_group_width_check') ? (_this$state$colGroupW = _this.state.colGroupWidths) === null || _this$state$colGroupW === void 0 ? void 0 : _this$state$colGroupW.length : _this.state.colGroupWidths) {
|
|
60
61
|
childrenArray = childrenArray.map(function (child, index) {
|
|
61
62
|
if ( /*#__PURE__*/_react.default.isValidElement(child)) {
|
|
62
63
|
return /*#__PURE__*/_react.default.cloneElement(child, {
|
|
@@ -67,7 +67,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
67
67
|
var NORMAL_SEVERITY_THRESHOLD = exports.NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
68
68
|
var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
69
69
|
var packageName = "@atlaskit/renderer";
|
|
70
|
-
var packageVersion = "114.
|
|
70
|
+
var packageVersion = "114.9.0";
|
|
71
71
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
72
72
|
containerName: 'ak-renderer-wrapper',
|
|
73
73
|
containerType: 'inline-size',
|
|
@@ -40,7 +40,8 @@ export default class TableRow extends React.Component {
|
|
|
40
40
|
return childrenArray;
|
|
41
41
|
});
|
|
42
42
|
_defineProperty(this, "addColGroupWidth", childrenArray => {
|
|
43
|
-
|
|
43
|
+
var _this$state$colGroupW;
|
|
44
|
+
if (fg('platform_editor_table_column_group_width_check') ? (_this$state$colGroupW = this.state.colGroupWidths) === null || _this$state$colGroupW === void 0 ? void 0 : _this$state$colGroupW.length : this.state.colGroupWidths) {
|
|
44
45
|
childrenArray = childrenArray.map((child, index) => {
|
|
45
46
|
if ( /*#__PURE__*/React.isValidElement(child)) {
|
|
46
47
|
return /*#__PURE__*/React.cloneElement(child, {
|
|
@@ -48,7 +48,7 @@ import { removeEmptySpaceAroundContent } from './rendererHelper';
|
|
|
48
48
|
export const NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
49
49
|
export const DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
50
50
|
const packageName = "@atlaskit/renderer";
|
|
51
|
-
const packageVersion = "114.
|
|
51
|
+
const packageVersion = "114.9.0";
|
|
52
52
|
const setAsQueryContainerStyles = css({
|
|
53
53
|
containerName: 'ak-renderer-wrapper',
|
|
54
54
|
containerType: 'inline-size',
|
|
@@ -49,7 +49,8 @@ var TableRow = /*#__PURE__*/function (_React$Component) {
|
|
|
49
49
|
return childrenArray;
|
|
50
50
|
});
|
|
51
51
|
_defineProperty(_this, "addColGroupWidth", function (childrenArray) {
|
|
52
|
-
|
|
52
|
+
var _this$state$colGroupW;
|
|
53
|
+
if (fg('platform_editor_table_column_group_width_check') ? (_this$state$colGroupW = _this.state.colGroupWidths) === null || _this$state$colGroupW === void 0 ? void 0 : _this$state$colGroupW.length : _this.state.colGroupWidths) {
|
|
53
54
|
childrenArray = childrenArray.map(function (child, index) {
|
|
54
55
|
if ( /*#__PURE__*/React.isValidElement(child)) {
|
|
55
56
|
return /*#__PURE__*/React.cloneElement(child, {
|
|
@@ -57,7 +57,7 @@ import { removeEmptySpaceAroundContent } from './rendererHelper';
|
|
|
57
57
|
export var NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
58
58
|
export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
59
59
|
var packageName = "@atlaskit/renderer";
|
|
60
|
-
var packageVersion = "114.
|
|
60
|
+
var packageVersion = "114.9.0";
|
|
61
61
|
var setAsQueryContainerStyles = css({
|
|
62
62
|
containerName: 'ak-renderer-wrapper',
|
|
63
63
|
containerType: 'inline-size',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "114.
|
|
3
|
+
"version": "114.9.0",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@atlaskit/emoji": "^69.0.0",
|
|
40
40
|
"@atlaskit/feature-gate-js-client": "^5.0.0",
|
|
41
41
|
"@atlaskit/icon": "^25.5.0",
|
|
42
|
-
"@atlaskit/link-datasource": "^4.
|
|
42
|
+
"@atlaskit/link-datasource": "^4.3.0",
|
|
43
43
|
"@atlaskit/media-card": "^79.0.0",
|
|
44
44
|
"@atlaskit/media-client": "^32.0.0",
|
|
45
45
|
"@atlaskit/media-client-react": "^4.0.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
51
51
|
"@atlaskit/platform-feature-flags-react": "^0.1.0",
|
|
52
52
|
"@atlaskit/react-ufo": "^3.5.0",
|
|
53
|
-
"@atlaskit/smart-card": "^36.
|
|
53
|
+
"@atlaskit/smart-card": "^36.6.0",
|
|
54
54
|
"@atlaskit/status": "^3.0.0",
|
|
55
55
|
"@atlaskit/task-decision": "^19.1.0",
|
|
56
56
|
"@atlaskit/theme": "^18.0.0",
|
|
@@ -209,6 +209,9 @@
|
|
|
209
209
|
},
|
|
210
210
|
"platform_renderer_triple_click_selects_paragraph": {
|
|
211
211
|
"type": "boolean"
|
|
212
|
+
},
|
|
213
|
+
"platform_editor_table_column_group_width_check": {
|
|
214
|
+
"type": "boolean"
|
|
212
215
|
}
|
|
213
216
|
},
|
|
214
217
|
"af:exports": {
|