@sheinx/shineout-style 3.7.0-beta.3 → 3.7.0-beta.4

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.
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAWxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAUhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CAqjBxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAUxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAUhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CA2jBxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _theme = _interopRequireDefault(require("@sheinx/theme"));
8
- var _mixin = require("../mixin");
9
8
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10
9
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
11
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; }
@@ -207,13 +206,22 @@ var tableStyle = _objectSpread(_objectSpread({
207
206
  zIndex: fixedIndex + 1
208
207
  }
209
208
  }
209
+ },
210
+ '$wrapper & table > tfoot': {
211
+ position: 'sticky',
212
+ bottom: 0,
213
+ zIndex: fixedIndex
210
214
  }
211
215
  },
212
216
  footWrapper: {
213
217
  flex: '0 0 auto',
214
- // overflow: 'hidden',
215
218
  boxSizing: 'border-box',
216
- background: _theme.default.tableTfootBackgroundColor
219
+ background: _theme.default.tableTfootBackgroundColor,
220
+ "[data-soui-role='scroll'] &": {
221
+ position: 'sticky',
222
+ bottom: 0,
223
+ zIndex: fixedIndex + 1
224
+ }
217
225
  },
218
226
  emptyWrapper: {
219
227
  minHeight: '170px',
@@ -222,18 +230,13 @@ var tableStyle = _objectSpread(_objectSpread({
222
230
  position: 'sticky',
223
231
  left: 0,
224
232
  top: 0,
225
- right: 0,
226
233
  justifyContent: 'center',
227
234
  display: 'flex',
228
235
  alignItems: 'center',
229
236
  borderBottom: "1px solid ".concat(_theme.default.tableCellBorderColor)
230
237
  },
231
- scrollY: {
232
- '&$headWrapper, &$footWrapper': _objectSpread({
233
- overflowY: 'scroll'
234
- }, (0, _mixin.customScrollBar)({
235
- background: 'transparent'
236
- }))
238
+ emptyNoBorder: {
239
+ borderBottom: 'none'
237
240
  },
238
241
  cellFixedLeft: {
239
242
  position: 'sticky'
package/cjs/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- declare const _default: "3.7.0-beta.3";
1
+ declare const _default: "3.7.0-beta.4";
2
2
  export default _default;
3
3
  //# sourceMappingURL=version.d.ts.map
package/cjs/version.js CHANGED
@@ -4,4 +4,4 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
- var _default = exports.default = '3.7.0-beta.3';
7
+ var _default = exports.default = '3.7.0-beta.4';
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAWxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAUhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CAqjBxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAUxC,MAAM,MAAM,cAAc,GAAG,MAAM,YAAY,CAAC;AAUhD,QAAA,MAAM,UAAU,EAAE,QAAQ,CAAC,cAAc,CA2jBxC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -5,7 +5,6 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
5
5
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
6
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
7
  import token from '@sheinx/theme';
8
- import { customScrollBar } from "../mixin";
9
8
  var cellBaseIndex = 4;
10
9
  var fixedIndex = 6;
11
10
  var resizeIndex = 8;
@@ -200,13 +199,22 @@ var tableStyle = _objectSpread(_objectSpread({
200
199
  zIndex: fixedIndex + 1
201
200
  }
202
201
  }
202
+ },
203
+ '$wrapper & table > tfoot': {
204
+ position: 'sticky',
205
+ bottom: 0,
206
+ zIndex: fixedIndex
203
207
  }
204
208
  },
205
209
  footWrapper: {
206
210
  flex: '0 0 auto',
207
- // overflow: 'hidden',
208
211
  boxSizing: 'border-box',
209
- background: token.tableTfootBackgroundColor
212
+ background: token.tableTfootBackgroundColor,
213
+ "[data-soui-role='scroll'] &": {
214
+ position: 'sticky',
215
+ bottom: 0,
216
+ zIndex: fixedIndex + 1
217
+ }
210
218
  },
211
219
  emptyWrapper: {
212
220
  minHeight: '170px',
@@ -215,18 +223,13 @@ var tableStyle = _objectSpread(_objectSpread({
215
223
  position: 'sticky',
216
224
  left: 0,
217
225
  top: 0,
218
- right: 0,
219
226
  justifyContent: 'center',
220
227
  display: 'flex',
221
228
  alignItems: 'center',
222
229
  borderBottom: "1px solid ".concat(token.tableCellBorderColor)
223
230
  },
224
- scrollY: {
225
- '&$headWrapper, &$footWrapper': _objectSpread({
226
- overflowY: 'scroll'
227
- }, customScrollBar({
228
- background: 'transparent'
229
- }))
231
+ emptyNoBorder: {
232
+ borderBottom: 'none'
230
233
  },
231
234
  cellFixedLeft: {
232
235
  position: 'sticky'
package/esm/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- declare const _default: "3.7.0-beta.3";
1
+ declare const _default: "3.7.0-beta.4";
2
2
  export default _default;
3
3
  //# sourceMappingURL=version.d.ts.map
package/esm/version.js CHANGED
@@ -1 +1 @@
1
- export default '3.7.0-beta.3';
1
+ export default '3.7.0-beta.4';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/shineout-style",
3
- "version": "3.7.0-beta.3",
3
+ "version": "3.7.0-beta.4",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -17,8 +17,8 @@
17
17
  "dependencies": {
18
18
  "jss": "10.9.2",
19
19
  "react-jss": "10.9.2",
20
- "@sheinx/theme": "3.7.0-beta.3",
21
- "@sheinx/base": "3.7.0-beta.3"
20
+ "@sheinx/theme": "3.7.0-beta.4",
21
+ "@sheinx/base": "3.7.0-beta.4"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "core-js": ">=3"