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