@atlaskit/renderer 133.5.6 → 133.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -1
- package/afm-cc/tsconfig.json +3 -3
- package/afm-products/tsconfig.json +3 -3
- package/dist/cjs/react/nodes/table/sticky.js +9 -2
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/react/nodes/table/sticky.js +9 -2
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/react/nodes/table/sticky.js +9 -2
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 133.5.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`66d869b3fdc74`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/66d869b3fdc74) -
|
|
8
|
+
[ux] Style changes to fix tables with rounded corners.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 133.5.6
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -40,7 +48,7 @@
|
|
|
40
48
|
- [`1c816e537f4d0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1c816e537f4d0) -
|
|
41
49
|
[NO-ISSUE] remove platform-component-visual-refresh from status node
|
|
42
50
|
- [`ee28cf33718b0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ee28cf33718b0) -
|
|
43
|
-
Add @
|
|
51
|
+
Add @atlaskit/react-compiler-gating as a runtime dependency to enable React Compiler platform
|
|
44
52
|
gating.
|
|
45
53
|
- Updated dependencies
|
|
46
54
|
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -112,6 +112,9 @@
|
|
|
112
112
|
{
|
|
113
113
|
"path": "../../../pragmatic-drag-and-drop/core/afm-cc/tsconfig.json"
|
|
114
114
|
},
|
|
115
|
+
{
|
|
116
|
+
"path": "../../../react-compiler/react-compiler-gating/afm-cc/tsconfig.json"
|
|
117
|
+
},
|
|
115
118
|
{
|
|
116
119
|
"path": "../../../react-ufo/atlaskit/afm-cc/tsconfig.json"
|
|
117
120
|
},
|
|
@@ -139,9 +142,6 @@
|
|
|
139
142
|
{
|
|
140
143
|
"path": "../../../design-system/visually-hidden/afm-cc/tsconfig.json"
|
|
141
144
|
},
|
|
142
|
-
{
|
|
143
|
-
"path": "../../../react-compiler/react-compiler-gating/afm-cc/tsconfig.json"
|
|
144
|
-
},
|
|
145
145
|
{
|
|
146
146
|
"path": "../../editor-common/afm-cc/tsconfig.json"
|
|
147
147
|
},
|
|
@@ -112,6 +112,9 @@
|
|
|
112
112
|
{
|
|
113
113
|
"path": "../../../pragmatic-drag-and-drop/core/afm-products/tsconfig.json"
|
|
114
114
|
},
|
|
115
|
+
{
|
|
116
|
+
"path": "../../../react-compiler/react-compiler-gating/afm-products/tsconfig.json"
|
|
117
|
+
},
|
|
115
118
|
{
|
|
116
119
|
"path": "../../../react-ufo/atlaskit/afm-products/tsconfig.json"
|
|
117
120
|
},
|
|
@@ -139,9 +142,6 @@
|
|
|
139
142
|
{
|
|
140
143
|
"path": "../../../design-system/visually-hidden/afm-products/tsconfig.json"
|
|
141
144
|
},
|
|
142
|
-
{
|
|
143
|
-
"path": "../../../react-compiler/react-compiler-gating/afm-products/tsconfig.json"
|
|
144
|
-
},
|
|
145
145
|
{
|
|
146
146
|
"path": "../../editor-common/afm-products/tsconfig.json"
|
|
147
147
|
},
|
|
@@ -13,6 +13,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
13
13
|
var _react2 = require("@emotion/react");
|
|
14
14
|
var _styles = require("@atlaskit/editor-common/styles");
|
|
15
15
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
16
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
16
17
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
17
18
|
var _table = require("./table");
|
|
18
19
|
var _injectProps = require("../../utils/inject-props");
|
|
@@ -37,12 +38,18 @@ var modeSpecficStyles = {
|
|
|
37
38
|
};
|
|
38
39
|
|
|
39
40
|
// increasing specificity to override external renderer wrapper styles targeting div[mode='stick']
|
|
40
|
-
var
|
|
41
|
+
var suppressExternalStickStylesOld = (0, _react2.css)({
|
|
41
42
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Override external renderer wrapper styles targeting div[mode='stick']
|
|
42
43
|
"&.fixed-table-div-custom-table-resizing[mode='stick']": {
|
|
43
44
|
background: "var(--ds-surface-overlay, #FFFFFF)"
|
|
44
45
|
}
|
|
45
46
|
});
|
|
47
|
+
var suppressExternalStickStyles = (0, _react2.css)({
|
|
48
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Override external renderer wrapper styles targeting div[mode='stick']
|
|
49
|
+
"&.fixed-table-div-custom-table-resizing[mode='stick']": {
|
|
50
|
+
background: "var(--ds-surface, #FFFFFF)"
|
|
51
|
+
}
|
|
52
|
+
});
|
|
46
53
|
|
|
47
54
|
// refactored based on fixedTableDivStaticStyles
|
|
48
55
|
// TODO: DSP-4123 - Quality ticket
|
|
@@ -83,7 +90,7 @@ var FixedTableDiv = function FixedTableDiv(props) {
|
|
|
83
90
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
84
91
|
,
|
|
85
92
|
className: allowTableResizing ? 'fixed-table-div-custom-table-resizing' : '',
|
|
86
|
-
css: [fixedTableDivStaticStyles, modeSpecficStyles === null || modeSpecficStyles === void 0 ? void 0 : modeSpecficStyles[mode], (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) && suppressExternalStickStyles],
|
|
93
|
+
css: [fixedTableDivStaticStyles, modeSpecficStyles === null || modeSpecficStyles === void 0 ? void 0 : modeSpecficStyles[mode], (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) && ((0, _platformFeatureFlags.fg)('platform_editor_table_q4_patch_1') ? suppressExternalStickStyles : suppressExternalStickStylesOld)],
|
|
87
94
|
style: {
|
|
88
95
|
'--ak-renderer-sticky-header-zindex': stickyHeaderZIndex,
|
|
89
96
|
width: "".concat(wrapperWidth, "px"),
|
|
@@ -72,7 +72,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
72
72
|
var TABLE_INFO_TIMEOUT = 10000;
|
|
73
73
|
var RENDER_EVENT_SAMPLE_RATE = 0.2;
|
|
74
74
|
var packageName = "@atlaskit/renderer";
|
|
75
|
-
var packageVersion = "133.5.
|
|
75
|
+
var packageVersion = "133.5.6";
|
|
76
76
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
77
77
|
containerName: 'ak-renderer-wrapper',
|
|
78
78
|
containerType: 'inline-size'
|
|
@@ -8,6 +8,7 @@ import React from 'react';
|
|
|
8
8
|
import { jsx, css } from '@emotion/react';
|
|
9
9
|
import { TableSharedCssClassName } from '@atlaskit/editor-common/styles';
|
|
10
10
|
import { akEditorStickyHeaderZIndex } from '@atlaskit/editor-shared-styles';
|
|
11
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
12
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
12
13
|
import { Table } from './table';
|
|
13
14
|
import { recursivelyInjectProps } from '../../utils/inject-props';
|
|
@@ -25,12 +26,18 @@ const modeSpecficStyles = {
|
|
|
25
26
|
};
|
|
26
27
|
|
|
27
28
|
// increasing specificity to override external renderer wrapper styles targeting div[mode='stick']
|
|
28
|
-
const
|
|
29
|
+
const suppressExternalStickStylesOld = css({
|
|
29
30
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Override external renderer wrapper styles targeting div[mode='stick']
|
|
30
31
|
"&.fixed-table-div-custom-table-resizing[mode='stick']": {
|
|
31
32
|
background: "var(--ds-surface-overlay, #FFFFFF)"
|
|
32
33
|
}
|
|
33
34
|
});
|
|
35
|
+
const suppressExternalStickStyles = css({
|
|
36
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Override external renderer wrapper styles targeting div[mode='stick']
|
|
37
|
+
"&.fixed-table-div-custom-table-resizing[mode='stick']": {
|
|
38
|
+
background: "var(--ds-surface, #FFFFFF)"
|
|
39
|
+
}
|
|
40
|
+
});
|
|
34
41
|
|
|
35
42
|
// refactored based on fixedTableDivStaticStyles
|
|
36
43
|
// TODO: DSP-4123 - Quality ticket
|
|
@@ -84,7 +91,7 @@ const FixedTableDiv = props => {
|
|
|
84
91
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
85
92
|
,
|
|
86
93
|
className: allowTableResizing ? 'fixed-table-div-custom-table-resizing' : '',
|
|
87
|
-
css: [fixedTableDivStaticStyles, modeSpecficStyles === null || modeSpecficStyles === void 0 ? void 0 : modeSpecficStyles[mode], expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && suppressExternalStickStyles],
|
|
94
|
+
css: [fixedTableDivStaticStyles, modeSpecficStyles === null || modeSpecficStyles === void 0 ? void 0 : modeSpecficStyles[mode], expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && (fg('platform_editor_table_q4_patch_1') ? suppressExternalStickStyles : suppressExternalStickStylesOld)],
|
|
88
95
|
style: {
|
|
89
96
|
'--ak-renderer-sticky-header-zindex': stickyHeaderZIndex,
|
|
90
97
|
width: `${wrapperWidth}px`,
|
|
@@ -58,7 +58,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
58
58
|
const TABLE_INFO_TIMEOUT = 10000;
|
|
59
59
|
const RENDER_EVENT_SAMPLE_RATE = 0.2;
|
|
60
60
|
const packageName = "@atlaskit/renderer";
|
|
61
|
-
const packageVersion = "133.5.
|
|
61
|
+
const packageVersion = "133.5.6";
|
|
62
62
|
const setAsQueryContainerStyles = css({
|
|
63
63
|
containerName: 'ak-renderer-wrapper',
|
|
64
64
|
containerType: 'inline-size'
|
|
@@ -11,6 +11,7 @@ import React from 'react';
|
|
|
11
11
|
import { jsx, css } from '@emotion/react';
|
|
12
12
|
import { TableSharedCssClassName } from '@atlaskit/editor-common/styles';
|
|
13
13
|
import { akEditorStickyHeaderZIndex } from '@atlaskit/editor-shared-styles';
|
|
14
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
15
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
15
16
|
import { Table } from './table';
|
|
16
17
|
import { recursivelyInjectProps } from '../../utils/inject-props';
|
|
@@ -28,12 +29,18 @@ var modeSpecficStyles = {
|
|
|
28
29
|
};
|
|
29
30
|
|
|
30
31
|
// increasing specificity to override external renderer wrapper styles targeting div[mode='stick']
|
|
31
|
-
var
|
|
32
|
+
var suppressExternalStickStylesOld = css({
|
|
32
33
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Override external renderer wrapper styles targeting div[mode='stick']
|
|
33
34
|
"&.fixed-table-div-custom-table-resizing[mode='stick']": {
|
|
34
35
|
background: "var(--ds-surface-overlay, #FFFFFF)"
|
|
35
36
|
}
|
|
36
37
|
});
|
|
38
|
+
var suppressExternalStickStyles = css({
|
|
39
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Override external renderer wrapper styles targeting div[mode='stick']
|
|
40
|
+
"&.fixed-table-div-custom-table-resizing[mode='stick']": {
|
|
41
|
+
background: "var(--ds-surface, #FFFFFF)"
|
|
42
|
+
}
|
|
43
|
+
});
|
|
37
44
|
|
|
38
45
|
// refactored based on fixedTableDivStaticStyles
|
|
39
46
|
// TODO: DSP-4123 - Quality ticket
|
|
@@ -74,7 +81,7 @@ var FixedTableDiv = function FixedTableDiv(props) {
|
|
|
74
81
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
75
82
|
,
|
|
76
83
|
className: allowTableResizing ? 'fixed-table-div-custom-table-resizing' : '',
|
|
77
|
-
css: [fixedTableDivStaticStyles, modeSpecficStyles === null || modeSpecficStyles === void 0 ? void 0 : modeSpecficStyles[mode], expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && suppressExternalStickStyles],
|
|
84
|
+
css: [fixedTableDivStaticStyles, modeSpecficStyles === null || modeSpecficStyles === void 0 ? void 0 : modeSpecficStyles[mode], expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && (fg('platform_editor_table_q4_patch_1') ? suppressExternalStickStyles : suppressExternalStickStylesOld)],
|
|
78
85
|
style: {
|
|
79
86
|
'--ak-renderer-sticky-header-zindex': stickyHeaderZIndex,
|
|
80
87
|
width: "".concat(wrapperWidth, "px"),
|
|
@@ -63,7 +63,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
63
63
|
var TABLE_INFO_TIMEOUT = 10000;
|
|
64
64
|
var RENDER_EVENT_SAMPLE_RATE = 0.2;
|
|
65
65
|
var packageName = "@atlaskit/renderer";
|
|
66
|
-
var packageVersion = "133.5.
|
|
66
|
+
var packageVersion = "133.5.6";
|
|
67
67
|
var setAsQueryContainerStyles = css({
|
|
68
68
|
containerName: 'ak-renderer-wrapper',
|
|
69
69
|
containerType: 'inline-size'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "133.5.
|
|
3
|
+
"version": "133.5.7",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"react-compiler": {
|
|
21
21
|
"enabled": true,
|
|
22
22
|
"gating": {
|
|
23
|
-
"source": "@
|
|
23
|
+
"source": "@atlaskit/react-compiler-gating",
|
|
24
24
|
"importSpecifierName": "isReactCompilerActivePlatform"
|
|
25
25
|
}
|
|
26
26
|
},
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
62
62
|
"@atlaskit/platform-feature-flags-react": "^1.0.0",
|
|
63
63
|
"@atlaskit/pragmatic-drag-and-drop": "^2.0.0",
|
|
64
|
+
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
64
65
|
"@atlaskit/react-ufo": "^7.2.0",
|
|
65
66
|
"@atlaskit/smart-card": "^45.4.0",
|
|
66
67
|
"@atlaskit/status": "^5.2.0",
|
|
@@ -70,7 +71,6 @@
|
|
|
70
71
|
"@atlaskit/tokens": "^15.0.0",
|
|
71
72
|
"@atlaskit/tooltip": "^23.0.0",
|
|
72
73
|
"@atlaskit/visually-hidden": "^4.0.0",
|
|
73
|
-
"@atlassian/react-compiler-gating": "^0.2.0",
|
|
74
74
|
"@babel/runtime": "^7.0.0",
|
|
75
75
|
"@compiled/react": "^0.20.0",
|
|
76
76
|
"@emotion/react": "^11.7.1",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"uuid": "^3.1.0"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
|
-
"@atlaskit/editor-common": "^116.
|
|
85
|
+
"@atlaskit/editor-common": "^116.13.0",
|
|
86
86
|
"@atlaskit/link-provider": "^5.0.0",
|
|
87
87
|
"@atlaskit/media-core": "^38.0.0",
|
|
88
88
|
"react": "^18.2.0",
|