@sheinx/base 3.9.15-beta.3 → 3.9.15-beta.5
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/cjs/table/table.js +3 -3
- package/esm/table/table.js +3 -3
- package/package.json +2 -2
package/cjs/table/table.js
CHANGED
|
@@ -602,13 +602,13 @@ function Table(props) {
|
|
|
602
602
|
style: {
|
|
603
603
|
position: 'relative',
|
|
604
604
|
zIndex: 1,
|
|
605
|
-
marginTop: props.sticky ? 0 : -virtualInfo.headerOffset
|
|
605
|
+
marginTop: props.sticky ? 0 : -virtualInfo.headerOffset,
|
|
606
|
+
transform: 'translateY(var(--sticky-compensation, 0px))'
|
|
606
607
|
},
|
|
607
608
|
children: $headTable
|
|
608
609
|
}), !!((_props$data3 = props.data) !== null && _props$data3 !== void 0 && _props$data3.length) && /*#__PURE__*/(0, _jsxRuntime.jsxs)("table", {
|
|
609
610
|
style: _objectSpread(_objectSpread({}, tableStyle), {}, {
|
|
610
|
-
transform: virtualInfo.translateStyle
|
|
611
|
-
willChange: 'transform'
|
|
611
|
+
transform: virtualInfo.translateStyle
|
|
612
612
|
}),
|
|
613
613
|
ref: tbodyRef,
|
|
614
614
|
children: [Group, /*#__PURE__*/(0, _jsxRuntime.jsx)(_tbody.default, _objectSpread(_objectSpread({}, bodyCommonProps), {}, {
|
package/esm/table/table.js
CHANGED
|
@@ -595,13 +595,13 @@ export default function Table(props) {
|
|
|
595
595
|
style: {
|
|
596
596
|
position: 'relative',
|
|
597
597
|
zIndex: 1,
|
|
598
|
-
marginTop: props.sticky ? 0 : -virtualInfo.headerOffset
|
|
598
|
+
marginTop: props.sticky ? 0 : -virtualInfo.headerOffset,
|
|
599
|
+
transform: 'translateY(var(--sticky-compensation, 0px))'
|
|
599
600
|
},
|
|
600
601
|
children: $headTable
|
|
601
602
|
}), !!((_props$data3 = props.data) !== null && _props$data3 !== void 0 && _props$data3.length) && /*#__PURE__*/_jsxs("table", {
|
|
602
603
|
style: _objectSpread(_objectSpread({}, tableStyle), {}, {
|
|
603
|
-
transform: virtualInfo.translateStyle
|
|
604
|
-
willChange: 'transform'
|
|
604
|
+
transform: virtualInfo.translateStyle
|
|
605
605
|
}),
|
|
606
606
|
ref: tbodyRef,
|
|
607
607
|
children: [Group, /*#__PURE__*/_jsx(Tbody, _objectSpread(_objectSpread({}, bodyCommonProps), {}, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheinx/base",
|
|
3
|
-
"version": "3.9.15-beta.
|
|
3
|
+
"version": "3.9.15-beta.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"module": "./esm/index.js",
|
|
11
11
|
"typings": "./cjs/index.d.ts",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@sheinx/hooks": "3.9.15-beta.
|
|
13
|
+
"@sheinx/hooks": "3.9.15-beta.5",
|
|
14
14
|
"immer": "^10.0.0",
|
|
15
15
|
"classnames": "^2.0.0",
|
|
16
16
|
"@shined/reactive": "^0.3.3"
|