@atlaskit/dynamic-table 18.0.1 → 18.0.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 +15 -0
- package/dist/cjs/components/stateless.js +2 -2
- package/dist/cjs/styled/constants.js +2 -35
- package/dist/cjs/styled/dynamic-table.compiled.css +11 -0
- package/dist/cjs/styled/dynamic-table.js +42 -52
- package/dist/cjs/styled/empty-body.compiled.css +11 -0
- package/dist/cjs/styled/empty-body.js +17 -25
- package/dist/cjs/styled/loading-container-advanced.compiled.css +9 -0
- package/dist/cjs/styled/loading-container-advanced.js +23 -38
- package/dist/cjs/styled/loading-container.compiled.css +8 -0
- package/dist/cjs/styled/loading-container.js +27 -33
- package/dist/cjs/styled/rankable/table-cell.compiled.css +1 -0
- package/dist/cjs/styled/rankable/table-cell.js +12 -15
- package/dist/cjs/styled/rankable/table-row.compiled.css +7 -0
- package/dist/cjs/styled/rankable/table-row.js +21 -26
- package/dist/cjs/styled/table-cell.compiled.css +13 -0
- package/dist/cjs/styled/table-cell.js +16 -17
- package/dist/cjs/styled/table-head.compiled.css +58 -0
- package/dist/cjs/styled/table-head.js +38 -153
- package/dist/cjs/styled/table-row.compiled.css +6 -0
- package/dist/cjs/styled/table-row.js +27 -36
- package/dist/cjs/theme.js +1 -21
- package/dist/es2019/components/stateless.js +2 -2
- package/dist/es2019/styled/constants.js +1 -33
- package/dist/es2019/styled/dynamic-table.compiled.css +11 -0
- package/dist/es2019/styled/dynamic-table.js +28 -52
- package/dist/es2019/styled/empty-body.compiled.css +11 -0
- package/dist/es2019/styled/empty-body.js +12 -22
- package/dist/es2019/styled/loading-container-advanced.compiled.css +9 -0
- package/dist/es2019/styled/loading-container-advanced.js +20 -37
- package/dist/es2019/styled/loading-container.compiled.css +8 -0
- package/dist/es2019/styled/loading-container.js +16 -29
- package/dist/es2019/styled/rankable/table-cell.compiled.css +1 -0
- package/dist/es2019/styled/rankable/table-cell.js +9 -14
- package/dist/es2019/styled/rankable/table-row.compiled.css +7 -0
- package/dist/es2019/styled/rankable/table-row.js +12 -23
- package/dist/es2019/styled/table-cell.compiled.css +13 -0
- package/dist/es2019/styled/table-cell.js +13 -19
- package/dist/es2019/styled/table-head.compiled.css +58 -0
- package/dist/es2019/styled/table-head.js +29 -153
- package/dist/es2019/styled/table-row.compiled.css +6 -0
- package/dist/es2019/styled/table-row.js +15 -36
- package/dist/es2019/theme.js +0 -17
- package/dist/esm/components/stateless.js +2 -2
- package/dist/esm/styled/constants.js +1 -33
- package/dist/esm/styled/dynamic-table.compiled.css +11 -0
- package/dist/esm/styled/dynamic-table.js +39 -50
- package/dist/esm/styled/empty-body.compiled.css +11 -0
- package/dist/esm/styled/empty-body.js +12 -22
- package/dist/esm/styled/loading-container-advanced.compiled.css +9 -0
- package/dist/esm/styled/loading-container-advanced.js +20 -37
- package/dist/esm/styled/loading-container.compiled.css +8 -0
- package/dist/esm/styled/loading-container.js +25 -33
- package/dist/esm/styled/rankable/table-cell.compiled.css +1 -0
- package/dist/esm/styled/rankable/table-cell.js +9 -14
- package/dist/esm/styled/rankable/table-row.compiled.css +7 -0
- package/dist/esm/styled/rankable/table-row.js +17 -23
- package/dist/esm/styled/table-cell.compiled.css +13 -0
- package/dist/esm/styled/table-cell.js +13 -19
- package/dist/esm/styled/table-head.compiled.css +58 -0
- package/dist/esm/styled/table-head.js +38 -154
- package/dist/esm/styled/table-row.compiled.css +6 -0
- package/dist/esm/styled/table-row.js +23 -36
- package/dist/esm/theme.js +0 -17
- package/dist/types/styled/constants.d.ts +0 -4
- package/dist/types/styled/dynamic-table.d.ts +0 -6
- package/dist/types/theme.d.ts +0 -16
- package/dist/types-ts4.5/styled/constants.d.ts +0 -4
- package/dist/types-ts4.5/styled/dynamic-table.d.ts +0 -6
- package/dist/types-ts4.5/theme.d.ts +0 -16
- package/package.json +17 -15
|
@@ -1,58 +1,41 @@
|
|
|
1
|
+
/* loading-container-advanced.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
4
|
var _excluded = ["children", "testId"];
|
|
5
|
+
import "./loading-container-advanced.compiled.css";
|
|
6
|
+
import * as React from 'react';
|
|
7
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
4
8
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
5
|
-
|
|
6
|
-
* @jsxRuntime classic
|
|
7
|
-
* @jsx jsx
|
|
8
|
-
*/
|
|
9
|
+
|
|
9
10
|
import { forwardRef } from 'react';
|
|
10
11
|
|
|
11
12
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
|
-
|
|
13
|
-
var containerStyles =
|
|
14
|
-
position: 'relative',
|
|
15
|
-
marginBlockEnd: "var(--ds-space-300, 24px)"
|
|
16
|
-
});
|
|
13
|
+
|
|
14
|
+
var containerStyles = null;
|
|
17
15
|
export var Container = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
18
16
|
var children = props.children,
|
|
19
17
|
testId = props.testId,
|
|
20
18
|
rest = _objectWithoutProperties(props, _excluded);
|
|
21
|
-
return (
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"data-testid": testId,
|
|
27
|
-
ref: ref
|
|
28
|
-
}), children)
|
|
29
|
-
);
|
|
30
|
-
});
|
|
31
|
-
var spinnerBackdropStyles = css({
|
|
32
|
-
display: 'flex',
|
|
33
|
-
position: 'absolute',
|
|
34
|
-
inset: 0,
|
|
35
|
-
alignItems: 'center',
|
|
36
|
-
justifyContent: 'center',
|
|
37
|
-
pointerEvents: 'none'
|
|
19
|
+
return /*#__PURE__*/React.createElement("div", _extends({}, rest, {
|
|
20
|
+
"data-testid": testId,
|
|
21
|
+
ref: ref,
|
|
22
|
+
className: ax(["_kqswh2mm _6rth1ejb"])
|
|
23
|
+
}), children);
|
|
38
24
|
});
|
|
25
|
+
var spinnerBackdropStyles = null;
|
|
39
26
|
export var SpinnerBackdrop = function SpinnerBackdrop(_ref) {
|
|
40
27
|
var children = _ref.children,
|
|
41
28
|
testId = _ref.testId;
|
|
42
|
-
return
|
|
43
|
-
|
|
44
|
-
|
|
29
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
30
|
+
"data-testid": testId && "".concat(testId, "--spinner-backdrop"),
|
|
31
|
+
className: ax(["_1r04idpf _1e0c1txw _kqswstnw _4cvr1h6o _1bah1h6o _lcxvglyw"])
|
|
45
32
|
}, children);
|
|
46
33
|
};
|
|
47
|
-
var spinnerContainerStyles =
|
|
48
|
-
position: 'relative',
|
|
49
|
-
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
|
|
50
|
-
insetBlockStart: 0
|
|
51
|
-
});
|
|
34
|
+
var spinnerContainerStyles = null;
|
|
52
35
|
export var SpinnerContainer = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
53
36
|
var children = _ref2.children;
|
|
54
|
-
return
|
|
55
|
-
|
|
56
|
-
|
|
37
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
38
|
+
ref: ref,
|
|
39
|
+
className: ax(["_kqswh2mm _152tidpf"])
|
|
57
40
|
}, children);
|
|
58
41
|
});
|
|
@@ -1,51 +1,43 @@
|
|
|
1
|
+
/* loading-container.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
|
+
import "./loading-container.compiled.css";
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
6
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2
8
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
3
|
-
/**
|
|
4
|
-
* @jsxRuntime classic
|
|
5
|
-
* @jsx jsx
|
|
6
|
-
*/
|
|
7
9
|
|
|
8
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
|
-
|
|
11
|
+
|
|
10
12
|
export var CSS_VAR_CONTENTS_OPACITY = '--contents-opacity';
|
|
11
|
-
var containerStyles =
|
|
12
|
-
position: 'relative'
|
|
13
|
-
});
|
|
13
|
+
var containerStyles = null;
|
|
14
14
|
export var Container = function Container(_ref) {
|
|
15
15
|
var children = _ref.children,
|
|
16
16
|
testId = _ref.testId;
|
|
17
|
-
return
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
18
|
+
"data-testid": testId && "".concat(testId, "--container"),
|
|
19
|
+
className: ax(["_kqswh2mm"])
|
|
20
20
|
}, children);
|
|
21
21
|
};
|
|
22
|
-
var contentsContainerStyles =
|
|
23
|
-
opacity: "var(".concat(CSS_VAR_CONTENTS_OPACITY, ")"),
|
|
24
|
-
pointerEvents: 'none'
|
|
25
|
-
});
|
|
22
|
+
var contentsContainerStyles = null;
|
|
26
23
|
export var ContentsContainer = function ContentsContainer(_ref2) {
|
|
27
24
|
var children = _ref2.children,
|
|
28
25
|
contentsOpacity = _ref2.contentsOpacity,
|
|
29
26
|
testId = _ref2.testId;
|
|
30
|
-
return
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
27
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
28
|
+
"data-testid": testId && "".concat(testId, "--contents--container"),
|
|
29
|
+
className: ax(["_tzy47hfw _lcxvglyw"]),
|
|
30
|
+
style: _objectSpread(_objectSpread({}, _defineProperty({}, CSS_VAR_CONTENTS_OPACITY, contentsOpacity)), {}, {
|
|
31
|
+
"--_cnddr8": ix("var(".concat(CSS_VAR_CONTENTS_OPACITY, ")"))
|
|
32
|
+
})
|
|
35
33
|
}, children);
|
|
36
34
|
};
|
|
37
|
-
var spinnerContainerStyles =
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
export var SpinnerContainer = function SpinnerContainer(_ref4) {
|
|
45
|
-
var children = _ref4.children,
|
|
46
|
-
testId = _ref4.testId;
|
|
47
|
-
return jsx("div", {
|
|
48
|
-
css: spinnerContainerStyles,
|
|
49
|
-
"data-testid": testId && "".concat(testId, "--spinner--container")
|
|
35
|
+
var spinnerContainerStyles = null;
|
|
36
|
+
export var SpinnerContainer = function SpinnerContainer(_ref3) {
|
|
37
|
+
var children = _ref3.children,
|
|
38
|
+
testId = _ref3.testId;
|
|
39
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
40
|
+
"data-testid": testId && "".concat(testId, "--spinner--container"),
|
|
41
|
+
className: ax(["_1r04idpf _1e0c1txw _kqswstnw _4cvr1h6o _1bah1h6o"])
|
|
50
42
|
}, children);
|
|
51
43
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._vchhusvi{box-sizing:border-box}
|
|
@@ -1,27 +1,22 @@
|
|
|
1
|
+
/* table-cell.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
4
|
var _excluded = ["isRanking", "innerRef"];
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
|
|
7
|
-
*/
|
|
8
|
-
|
|
5
|
+
import "./table-cell.compiled.css";
|
|
6
|
+
import * as React from 'react';
|
|
7
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
9
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
|
-
|
|
9
|
+
|
|
11
10
|
import { TableBodyCell } from '../table-cell';
|
|
12
|
-
var rankingStyles =
|
|
13
|
-
boxSizing: 'border-box'
|
|
14
|
-
});
|
|
11
|
+
var rankingStyles = null;
|
|
15
12
|
|
|
16
13
|
// eslint-disable-next-line @repo/internal/react/require-jsdoc
|
|
17
14
|
export var RankableTableBodyCell = function RankableTableBodyCell(_ref) {
|
|
18
15
|
var isRanking = _ref.isRanking,
|
|
19
16
|
innerRef = _ref.innerRef,
|
|
20
17
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
21
|
-
return
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}, props, {
|
|
25
|
-
innerRef: innerRef
|
|
18
|
+
return /*#__PURE__*/React.createElement(TableBodyCell, _extends({}, props, {
|
|
19
|
+
innerRef: innerRef,
|
|
20
|
+
className: ax([isRanking && "_vchhusvi"])
|
|
26
21
|
}));
|
|
27
22
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
._2rkogqwt{border-radius:var(--ds-border-radius-050,2px)}._12y3ssc3{outline-width:var(--ds-border-width,2px)}
|
|
3
|
+
._16qs1dt4{box-shadow:var(--_qzf6oc)}
|
|
4
|
+
._1e0c1ule{display:block}
|
|
5
|
+
._bfhk1rd0{background-color:var(--_14yez9t)}
|
|
6
|
+
._mizu1tqa:focus-visible{outline-color:var(--_9ksfq)}
|
|
7
|
+
._ra3xnqa1:focus-visible{outline-style:solid}
|
|
@@ -1,31 +1,19 @@
|
|
|
1
|
+
/* table-row.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
4
|
var _excluded = ["isRanking", "isRankingItem", "testId"];
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
|
|
7
|
-
*/
|
|
5
|
+
import "./table-row.compiled.css";
|
|
6
|
+
import * as React from 'react';
|
|
7
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
8
8
|
import { forwardRef } from 'react';
|
|
9
9
|
|
|
10
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
|
-
|
|
11
|
+
|
|
12
12
|
import { B100, N20, N50A, N60A } from '@atlaskit/theme/colors';
|
|
13
13
|
import { TableBodyRow } from '../table-row';
|
|
14
|
-
var rankingStyles =
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
var rankingItemStyles = css({
|
|
18
|
-
backgroundColor: "var(--ds-surface-overlay, ".concat(N20, ")"),
|
|
19
|
-
borderRadius: "var(--ds-border-radius-050, 2px)",
|
|
20
|
-
boxShadow: "var(--ds-shadow-overlay, ".concat("0 20px 32px -8px ".concat(N50A, ", 0 0 1px ").concat(N60A), ")")
|
|
21
|
-
});
|
|
22
|
-
var draggableStyles = css({
|
|
23
|
-
outlineWidth: "var(--ds-border-width, 2px)",
|
|
24
|
-
'&:focus-visible': {
|
|
25
|
-
outlineColor: "var(--ds-border-focused, ".concat(B100, ")"),
|
|
26
|
-
outlineStyle: 'solid'
|
|
27
|
-
}
|
|
28
|
-
});
|
|
14
|
+
var rankingStyles = null;
|
|
15
|
+
var rankingItemStyles = null;
|
|
16
|
+
var draggableStyles = null;
|
|
29
17
|
|
|
30
18
|
// eslint-disable-next-line @repo/internal/react/require-jsdoc
|
|
31
19
|
export var RankableTableBodyRow = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
@@ -33,9 +21,15 @@ export var RankableTableBodyRow = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
33
21
|
isRankingItem = _ref.isRankingItem,
|
|
34
22
|
testId = _ref.testId,
|
|
35
23
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
36
|
-
return
|
|
37
|
-
css: [isRanking && rankingStyles, isRankingItem && rankingItemStyles, draggableStyles],
|
|
24
|
+
return /*#__PURE__*/React.createElement(TableBodyRow, _extends({
|
|
38
25
|
ref: ref,
|
|
39
26
|
testId: testId
|
|
40
|
-
}, props
|
|
27
|
+
}, props, {
|
|
28
|
+
className: ax([isRanking && "_1e0c1ule", isRankingItem && "_2rkogqwt _bfhk1rd0 _16qs1dt4", "_12y3ssc3 _mizu1tqa _ra3xnqa1"]),
|
|
29
|
+
style: {
|
|
30
|
+
"--_14yez9t": ix("var(--ds-surface-overlay, ".concat(N20, ")")),
|
|
31
|
+
"--_qzf6oc": ix("var(--ds-shadow-overlay, ".concat("0 20px 32px -8px ".concat(N50A, ", 0 0 1px ").concat(N60A), ")")),
|
|
32
|
+
"--_9ksfq": ix("var(--ds-border-focused, ".concat(B100, ")"))
|
|
33
|
+
}
|
|
34
|
+
}));
|
|
41
35
|
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
|
|
2
|
+
._19itglyw{border:none}._18m915vq{overflow-y:hidden}
|
|
3
|
+
._1bsb8a2a{width:var(--local-dynamic-table-width)}
|
|
4
|
+
._1bto1l2s{text-overflow:ellipsis}
|
|
5
|
+
._1q511b66{padding-block-start:var(--ds-space-050,4px)}
|
|
6
|
+
._1reo15vq{overflow-x:hidden}
|
|
7
|
+
._1s37ze3t:first-of-type{padding-inline-start:var(--ds-space-0,0)}
|
|
8
|
+
._85i51b66{padding-block-end:var(--ds-space-050,4px)}
|
|
9
|
+
._bozgu2gc{padding-inline-start:var(--ds-space-100,8px)}
|
|
10
|
+
._o5721q9c{white-space:nowrap}
|
|
11
|
+
._uupyze3t:last-child{padding-inline-end:var(--ds-space-0,0)}
|
|
12
|
+
._y3gn1e5h{text-align:left}
|
|
13
|
+
._y4tiu2gc{padding-inline-end:var(--ds-space-100,8px)}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
+
/* table-cell.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
4
|
var _excluded = ["width", "isFixedSize", "shouldTruncate", "innerRef"];
|
|
4
|
-
|
|
5
|
-
*
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
5
|
+
import "./table-cell.compiled.css";
|
|
6
|
+
import * as React from 'react';
|
|
7
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
8
|
+
import { getTruncationStyleVars } from './constants';
|
|
9
|
+
var fixedSizeTruncateStyles = null;
|
|
10
|
+
var overflowTruncateStyles = null;
|
|
11
|
+
var truncationWidthStyles = null;
|
|
12
|
+
var cellStyles = null;
|
|
12
13
|
|
|
13
14
|
// eslint-disable-next-line @repo/internal/react/require-jsdoc
|
|
14
15
|
export var TableBodyCell = function TableBodyCell(_ref) {
|
|
@@ -17,24 +18,17 @@ export var TableBodyCell = function TableBodyCell(_ref) {
|
|
|
17
18
|
shouldTruncate = _ref.shouldTruncate,
|
|
18
19
|
innerRef = _ref.innerRef,
|
|
19
20
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
20
|
-
return
|
|
21
|
+
return /*#__PURE__*/React.createElement("td", _extends({
|
|
21
22
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
22
23
|
style: getTruncationStyleVars({
|
|
23
24
|
width: width
|
|
24
25
|
}),
|
|
25
|
-
css: [
|
|
26
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
27
|
-
truncationWidthStyles,
|
|
28
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
29
|
-
isFixedSize && shouldTruncate && fixedSizeTruncateStyles,
|
|
30
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
31
|
-
isFixedSize && overflowTruncateStyles,
|
|
32
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
|
|
33
|
-
cellStyles]
|
|
34
26
|
// HOC withDimensions complains about the types but it is working fine
|
|
35
27
|
// @ts-ignore
|
|
36
|
-
,
|
|
37
28
|
ref: innerRef
|
|
29
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
30
|
+
,
|
|
31
|
+
className: ax(["_1bsb8a2a", isFixedSize && shouldTruncate && "_1bto1l2s _o5721q9c", isFixedSize && "_1reo15vq _18m915vq", "_19itglyw _85i51b66 _1q511b66 _y4tiu2gc _bozgu2gc _y3gn1e5h _1s37ze3t _uupyze3t", props.className])
|
|
38
32
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
39
33
|
}, props));
|
|
40
34
|
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
|
|
2
|
+
._11c8dcr7{font:var(--ds-font-body-UNSAFE_small,normal 400 9pt/1pc ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
|
+
._173zglyw>button{background:none}
|
|
4
|
+
._pw6dglyw>button{border:none}
|
|
5
|
+
._1xgk1j28>button:after, ._1wfn1j28>button:before{border-color:transparent}
|
|
6
|
+
._sklb1l7b>button:after, ._1j091l7b>button:before{border-width:3px}
|
|
7
|
+
._y9yonqa1>button:after, ._997wnqa1>button:before{border-style:solid}
|
|
8
|
+
._h7alglyw{border-inline:none}
|
|
9
|
+
._izbqglyw{border-block:none}
|
|
10
|
+
._179rglyw{border-block-end:none}
|
|
11
|
+
._179rralu{border-block-end:var(--_k02y3n)}
|
|
12
|
+
._191wglyw{border-inline-start:none}
|
|
13
|
+
._c77k1f6e>button:before{border-block-end:var(--_1rdacuj)}
|
|
14
|
+
._c77k2wk4>button:before{border-block-end:var(--_1qca9zt)}
|
|
15
|
+
._f4731f6e>button:after{border-block-start:var(--_1rdacuj)}
|
|
16
|
+
._f4732wk4>button:after{border-block-start:var(--_1qca9zt)}
|
|
17
|
+
._mqm2glyw{border-block-start:none}
|
|
18
|
+
._t51zglyw{border-inline-end:none}._10pp1kw7>button{font-weight:inherit}
|
|
19
|
+
._14gsx0bf>button:after, ._cigmx0bf>button:before{inset-inline-end:var(--ds-space-negative-100,-8px)}
|
|
20
|
+
._18m915vq{overflow-y:hidden}
|
|
21
|
+
._19w61ule>button:after, ._1w611ule>button:before{display:block}
|
|
22
|
+
._1ay31kw7>button{cursor:inherit}
|
|
23
|
+
._1bsb8a2a{width:var(--local-dynamic-table-width)}
|
|
24
|
+
._1bto1l2s{text-overflow:ellipsis}
|
|
25
|
+
._1e0c1ule{display:block}
|
|
26
|
+
._1fpyidpf>button:after{inset-block-end:0}
|
|
27
|
+
._1hvvidpf>button:after, ._n56nidpf>button:before{width:0}
|
|
28
|
+
._1q511b66{padding-block-start:var(--ds-space-050,4px)}
|
|
29
|
+
._1reo15vq{overflow-x:hidden}
|
|
30
|
+
._1s37ze3t:first-of-type{padding-inline-start:var(--ds-space-0,0)}
|
|
31
|
+
._1yw3ze3t>button{padding-block-end:var(--ds-space-0,0)}
|
|
32
|
+
._4b5mb3bt>button:after, ._hn3bb3bt>button:before{content:""}
|
|
33
|
+
._58ej1kw7>button{color:inherit}
|
|
34
|
+
._85i51b66{padding-block-end:var(--ds-space-050,4px)}
|
|
35
|
+
._8607ze3t>button{padding-inline-end:var(--ds-space-0,0)}
|
|
36
|
+
._a04fh2mm>button{position:relative}
|
|
37
|
+
._bozgu2gc{padding-inline-start:var(--ds-space-100,8px)}
|
|
38
|
+
._k48pmoej{font-weight:var(--ds-font-weight-bold,700)}
|
|
39
|
+
._kqswh2mm{position:relative}
|
|
40
|
+
._mdbq1kw7>button{font-size:inherit}
|
|
41
|
+
._n2fdze3t>button{padding-block-start:var(--ds-space-0,0)}
|
|
42
|
+
._no7mstnw>button:after, ._qh32stnw>button:before{position:absolute}
|
|
43
|
+
._o5721q9c{white-space:nowrap}
|
|
44
|
+
._qzvtu2gc>button:before{inset-block-end:var(--ds-space-100,8px)}
|
|
45
|
+
._s7n4jp4b{vertical-align:top}
|
|
46
|
+
._s7n4nkob{vertical-align:middle}
|
|
47
|
+
._syaz12fi{color:var(--_17ckjys)}
|
|
48
|
+
._szhwze3t>button{padding-inline-start:var(--ds-space-0,0)}
|
|
49
|
+
._uupyze3t:last-child{padding-inline-end:var(--ds-space-0,0)}
|
|
50
|
+
._vchhusvi{box-sizing:border-box}
|
|
51
|
+
._wyc4idpf>button:after, ._1d4oidpf>button:before{height:0}
|
|
52
|
+
._xv14glyw>button{-webkit-appearance:none;appearance:none}
|
|
53
|
+
._y3gn1e5h{text-align:left}
|
|
54
|
+
._y4tiu2gc{padding-inline-end:var(--ds-space-100,8px)}
|
|
55
|
+
._1ygbuwsq:focus-visible{outline:var(--_jz8ahf)}
|
|
56
|
+
._d0altlke:hover{cursor:pointer}
|
|
57
|
+
._irr3bfnf:hover{background-color:var(--_6j4ewu)}
|
|
58
|
+
@media (forced-colors:active){._142s94yt>button:before{border-block-end:3px solid Highlight}._17x894yt>button:after{border-block-start:3px solid Highlight}._1g2wwc43>button:after, ._ze9fwc43>button:before{border-color:Canvas}._1lcgnqa1>button:after, ._at5qnqa1>button:before{border-style:solid}._o4d71l7b>button:after, ._npl51l7b>button:before{border-width:3px}._1rp11onz>button:before{border-block-end-color:CanvasText}._1iornqa1>button:before{border-block-end-style:solid}._oi051l7b>button:before{border-block-end-width:3px}._1ehx1onz>button:after{border-block-start-color:CanvasText}._19t8nqa1>button:after{border-block-start-style:solid}._1bog1l7b>button:after{border-block-start-width:3px}}
|
|
@@ -1,165 +1,48 @@
|
|
|
1
|
+
/* table-head.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
1
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
3
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
4
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
5
|
var _excluded = ["isRanking", "testId"],
|
|
5
6
|
_excluded2 = ["width", "children", "isSortable", "sortOrder", "isFixedSize", "shouldTruncate", "onClick", "style", "testId"];
|
|
7
|
+
import "./table-head.compiled.css";
|
|
8
|
+
import * as React from 'react';
|
|
9
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
6
10
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
7
11
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8
12
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
9
|
-
|
|
10
|
-
* @jsxRuntime classic
|
|
11
|
-
* @jsx jsx
|
|
12
|
-
*/
|
|
13
|
+
|
|
13
14
|
import { forwardRef } from 'react';
|
|
14
15
|
|
|
15
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
|
-
|
|
17
|
+
|
|
17
18
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
18
|
-
import { B100, N30A } from '@atlaskit/theme/colors';
|
|
19
|
+
import { B100, N300, N30A, N40 } from '@atlaskit/theme/colors';
|
|
19
20
|
import { ASC, DESC } from '../internal/constants';
|
|
20
|
-
import {
|
|
21
|
-
import { cellStyles, fixedSizeTruncateStyles, getTruncationStyleVars, overflowTruncateStyles, truncationWidthStyles } from './constants';
|
|
21
|
+
import { getTruncationStyleVars } from './constants';
|
|
22
22
|
var CSS_VAR_TEXT_COLOR = '--local-dynamic-table-text-color';
|
|
23
|
-
var rankingStyles =
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
var
|
|
27
|
-
|
|
28
|
-
|
|
23
|
+
var rankingStyles = null;
|
|
24
|
+
var headStyles = null;
|
|
25
|
+
var overflowTruncateStyles = null;
|
|
26
|
+
var truncationWidthStyles = null;
|
|
27
|
+
var fixedSizeTruncateStyles = null;
|
|
28
|
+
var cellStyles = null;
|
|
29
29
|
export var Head = function Head(_ref) {
|
|
30
30
|
var isRanking = _ref.isRanking,
|
|
31
31
|
testId = _ref.testId,
|
|
32
32
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
33
|
-
return
|
|
34
|
-
css: [headStyles, isRanking && rankingStyles],
|
|
33
|
+
return /*#__PURE__*/React.createElement("thead", _extends({
|
|
35
34
|
"data-testid": testId
|
|
36
35
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
37
|
-
}, props
|
|
36
|
+
}, props, {
|
|
37
|
+
className: ax(["_179rglyw", isRanking && "_1e0c1ule"])
|
|
38
|
+
}));
|
|
38
39
|
};
|
|
39
|
-
var headCellBaseStyles =
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
color: "var(--ds-text-subtle, ".concat("var(".concat(CSS_VAR_TEXT_COLOR, ")"), ")"),
|
|
46
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
47
|
-
fontWeight: "var(--ds-font-weight-bold, 700)",
|
|
48
|
-
textAlign: 'left',
|
|
49
|
-
verticalAlign: 'middle',
|
|
50
|
-
'&:focus-visible': {
|
|
51
|
-
outline: "solid 2px ".concat("var(--ds-border-focused, ".concat(B100, ")"))
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
var headCellBaseStylesOld = css({
|
|
55
|
-
boxSizing: 'border-box',
|
|
56
|
-
position: 'relative',
|
|
57
|
-
border: 'none',
|
|
58
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
59
|
-
borderBlockEnd: "2px solid ".concat(tableBorder.borderColor),
|
|
60
|
-
color: "var(--ds-text-subtle, ".concat("var(".concat(CSS_VAR_TEXT_COLOR, ")"), ")"),
|
|
61
|
-
font: "var(--ds-font-body-UNSAFE_small, normal 400 12px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
62
|
-
fontWeight: "var(--ds-font-weight-bold, 700)",
|
|
63
|
-
textAlign: 'left',
|
|
64
|
-
verticalAlign: 'top',
|
|
65
|
-
'&:focus-visible': {
|
|
66
|
-
outline: "solid 2px ".concat("var(--ds-border-focused, ".concat(B100, ")"))
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
var onClickStyles = css({
|
|
70
|
-
'&:hover': {
|
|
71
|
-
backgroundColor: "var(--ds-background-neutral-hovered, ".concat(N30A, ")"),
|
|
72
|
-
cursor: 'pointer'
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
var baseStyles = css({
|
|
76
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
77
|
-
'& > button': {
|
|
78
|
-
padding: "var(--ds-space-0, 0)",
|
|
79
|
-
position: 'relative',
|
|
80
|
-
appearance: 'none',
|
|
81
|
-
background: 'none',
|
|
82
|
-
border: 'none',
|
|
83
|
-
color: 'inherit',
|
|
84
|
-
cursor: 'inherit',
|
|
85
|
-
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
86
|
-
fontSize: 'inherit',
|
|
87
|
-
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
88
|
-
fontWeight: 'inherit',
|
|
89
|
-
'&::before, &::after': {
|
|
90
|
-
display: 'block',
|
|
91
|
-
width: 0,
|
|
92
|
-
height: 0,
|
|
93
|
-
position: 'absolute',
|
|
94
|
-
border: '3px solid transparent',
|
|
95
|
-
content: '""',
|
|
96
|
-
insetInlineEnd: "var(--ds-space-negative-100, -8px)"
|
|
97
|
-
},
|
|
98
|
-
'&::before': {
|
|
99
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
100
|
-
borderBlockEnd: "3px solid ".concat(arrow.defaultColor),
|
|
101
|
-
insetBlockEnd: "var(--ds-space-100, 8px)"
|
|
102
|
-
},
|
|
103
|
-
'&::after': {
|
|
104
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
105
|
-
borderBlockStart: "3px solid ".concat(arrow.defaultColor),
|
|
106
|
-
insetBlockEnd: 0
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
'@media (forced-colors: active)': {
|
|
110
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
111
|
-
'& > button': {
|
|
112
|
-
'&::before, &::after': {
|
|
113
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
114
|
-
border: "3px solid ".concat(MSThemeColors.Background)
|
|
115
|
-
},
|
|
116
|
-
'&::before': {
|
|
117
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
118
|
-
borderBlockEnd: "3px solid ".concat(MSThemeColors.Text)
|
|
119
|
-
},
|
|
120
|
-
'&::after': {
|
|
121
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
122
|
-
borderBlockStart: "3px solid ".concat(MSThemeColors.Text)
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
|
-
var ascendingStyles = css({
|
|
128
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
129
|
-
'& > button': {
|
|
130
|
-
'&::before': {
|
|
131
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
132
|
-
borderBlockEnd: "3px solid ".concat(arrow.selectedColor)
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
'@media (forced-colors: active)': {
|
|
136
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
137
|
-
'& > button': {
|
|
138
|
-
'&::before': {
|
|
139
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
140
|
-
borderBlockEnd: "3px solid ".concat(MSThemeColors.SelectedBackground)
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
var descendingStyles = css({
|
|
146
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
147
|
-
'& > button': {
|
|
148
|
-
'&::after': {
|
|
149
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
150
|
-
borderBlockStart: "3px solid ".concat(arrow.selectedColor)
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
'@media (forced-colors: active)': {
|
|
154
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
155
|
-
'& > button': {
|
|
156
|
-
'&::after': {
|
|
157
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
158
|
-
borderBlockStart: "3px solid ".concat(MSThemeColors.SelectedBackground)
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
});
|
|
40
|
+
var headCellBaseStyles = null;
|
|
41
|
+
var headCellBaseStylesOld = null;
|
|
42
|
+
var onClickStyles = null;
|
|
43
|
+
var baseStyles = null;
|
|
44
|
+
var ascendingStyles = null;
|
|
45
|
+
var descendingStyles = null;
|
|
163
46
|
export var HeadCell = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
164
47
|
var width = _ref2.width,
|
|
165
48
|
children = _ref2.children,
|
|
@@ -173,7 +56,7 @@ export var HeadCell = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
173
56
|
rest = _objectWithoutProperties(_ref2, _excluded2);
|
|
174
57
|
var mergedStyles = _objectSpread(_objectSpread(_objectSpread({}, style), width && getTruncationStyleVars({
|
|
175
58
|
width: width
|
|
176
|
-
})), {}, _defineProperty({}, CSS_VAR_TEXT_COLOR,
|
|
59
|
+
})), {}, _defineProperty({}, CSS_VAR_TEXT_COLOR, "var(--ds-text-subtlest, ".concat(N300, ")")));
|
|
177
60
|
var isASC = sortOrder === ASC;
|
|
178
61
|
var isDESC = sortOrder === DESC;
|
|
179
62
|
var getFormattedSortOrder = function getFormattedSortOrder() {
|
|
@@ -188,22 +71,23 @@ export var HeadCell = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
|
188
71
|
// https://dequeuniversity.com/rules/axe/4.7/empty-table-header
|
|
189
72
|
var Component = children ? 'th' : 'td';
|
|
190
73
|
var isVisuallyRefreshed = fg('platform-component-visual-refresh');
|
|
191
|
-
return
|
|
74
|
+
return /*#__PURE__*/React.createElement(Component, _extends({
|
|
192
75
|
"aria-sort": getFormattedSortOrder()
|
|
193
76
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
|
|
194
77
|
,
|
|
195
|
-
|
|
196
|
-
css: [
|
|
197
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
198
|
-
cellStyles, isVisuallyRefreshed ? headCellBaseStyles : headCellBaseStylesOld, !isVisuallyRefreshed && onClick && onClickStyles,
|
|
199
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
200
|
-
truncationWidthStyles,
|
|
201
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
202
|
-
isFixedSize && shouldTruncate && fixedSizeTruncateStyles,
|
|
203
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
|
|
204
|
-
isFixedSize && overflowTruncateStyles, !isVisuallyRefreshed && isSortable && baseStyles, !isVisuallyRefreshed && isASC && ascendingStyles, !isVisuallyRefreshed && isDESC && descendingStyles],
|
|
78
|
+
|
|
205
79
|
onClick: !isVisuallyRefreshed ? onClick : undefined,
|
|
206
80
|
ref: ref,
|
|
207
81
|
"data-testid": testId
|
|
208
|
-
}, rest
|
|
82
|
+
}, rest, {
|
|
83
|
+
className: ax(["_izbqglyw _h7alglyw _85i51b66 _1q511b66 _y4tiu2gc _bozgu2gc _y3gn1e5h _1s37ze3t _uupyze3t", isVisuallyRefreshed ? "_11c8dcr7 _179rralu _mqm2glyw _vchhusvi _kqswh2mm _syaz12fi _k48pmoej _y3gn1e5h _s7n4nkob _1ygbuwsq" : "_11c8dcr7 _179rralu _mqm2glyw _t51zglyw _191wglyw _vchhusvi _kqswh2mm _syaz12fi _k48pmoej _y3gn1e5h _s7n4jp4b _1ygbuwsq", !isVisuallyRefreshed && onClick && "_irr3bfnf _d0altlke", "_1bsb8a2a", isFixedSize && shouldTruncate && "_1bto1l2s _o5721q9c", isFixedSize && "_1reo15vq _18m915vq", !isVisuallyRefreshed && isSortable && "_173zglyw _pw6dglyw _1xgk1j28 _1wfn1j28 _y9yonqa1 _997wnqa1 _sklb1l7b _1j091l7b _19w61ule _1w611ule _1hvvidpf _n56nidpf _wyc4idpf _1d4oidpf _no7mstnw _qh32stnw _4b5mb3bt _hn3bb3bt _14gsx0bf _cigmx0bf _c77k1f6e _qzvtu2gc _f4731f6e _1fpyidpf _a04fh2mm _xv14glyw _58ej1kw7 _1ay31kw7 _mdbq1kw7 _10pp1kw7 _1yw3ze3t _n2fdze3t _8607ze3t _szhwze3t _1g2wwc43 _ze9fwc43 _1lcgnqa1 _at5qnqa1 _o4d71l7b _npl51l7b _1rp11onz _1iornqa1 _oi051l7b _1ehx1onz _19t8nqa1 _1bog1l7b", !isVisuallyRefreshed && isASC && "_c77k2wk4 _142s94yt", !isVisuallyRefreshed && isDESC && "_f4732wk4 _17x894yt"]),
|
|
84
|
+
style: _objectSpread(_objectSpread({}, mergedStyles), {}, {
|
|
85
|
+
"--_k02y3n": ix("2px solid ".concat("var(--ds-border, ".concat(N40, ")"))),
|
|
86
|
+
"--_17ckjys": ix("var(--ds-text-subtle, ".concat("var(".concat(CSS_VAR_TEXT_COLOR, ")"), ")")),
|
|
87
|
+
"--_jz8ahf": ix("solid 2px ".concat("var(--ds-border-focused, ".concat(B100, ")"))),
|
|
88
|
+
"--_6j4ewu": ix("var(--ds-background-neutral-hovered, ".concat(N30A, ")")),
|
|
89
|
+
"--_1rdacuj": ix("3px solid ".concat("var(--ds-icon-disabled, ".concat(N40, ")"))),
|
|
90
|
+
"--_1qca9zt": ix("3px solid ".concat("var(--ds-icon-subtle, ".concat(N300, ")")))
|
|
91
|
+
})
|
|
92
|
+
}), children);
|
|
209
93
|
});
|