@sheinx/shineout-style 3.7.0-beta.3 → 3.7.0-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.
@@ -1 +1 @@
1
- {"version":3,"file":"cascader.d.ts","sourceRoot":"","sources":["cascader.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,MAAM,eAAe,CAAC;AAuDtD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,iBAAiB,CA4f9C,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"cascader.d.ts","sourceRoot":"","sources":["cascader.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,MAAM,eAAe,CAAC;AAuDtD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,iBAAiB,CA+f9C,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -173,7 +173,8 @@ var cascaderStyle = _objectSpread(_objectSpread({
173
173
  minWidth: 0,
174
174
  position: 'relative',
175
175
  outline: 'none',
176
- overflow: 'hidden'
176
+ maxHeight: 78,
177
+ overflow: 'auto'
177
178
  },
178
179
  result: {
179
180
  display: 'flex',
@@ -319,7 +320,9 @@ var cascaderStyle = _objectSpread(_objectSpread({
319
320
  iconWrapper: {
320
321
  display: 'flex',
321
322
  alignItems: 'center',
322
- justifyContent: 'center'
323
+ justifyContent: 'center',
324
+ position: 'sticky',
325
+ top: 0
323
326
  },
324
327
  clearable: {},
325
328
  clearIcon: {
@@ -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'
@@ -1 +1 @@
1
- {"version":3,"file":"tree-select.d.ts","sourceRoot":"","sources":["tree-select.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAuD1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CAiflD,CAAC;AACF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"tree-select.d.ts","sourceRoot":"","sources":["tree-select.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAuD1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CAmflD,CAAC;AACF,eAAe,eAAe,CAAC"}
@@ -161,8 +161,8 @@ var treeSelectStyle = _objectSpread(_objectSpread({
161
161
  minWidth: 0,
162
162
  position: 'relative',
163
163
  outline: 'none',
164
- overflow: 'hidden',
165
- '&:hover': {}
164
+ maxHeight: 78,
165
+ overflow: 'auto'
166
166
  },
167
167
  result: {
168
168
  display: 'flex',
@@ -294,7 +294,9 @@ var treeSelectStyle = _objectSpread(_objectSpread({
294
294
  iconWrapper: {
295
295
  display: 'flex',
296
296
  alignItems: 'center',
297
- justifyContent: 'center'
297
+ justifyContent: 'center',
298
+ position: 'sticky',
299
+ top: 0
298
300
  },
299
301
  clearable: {},
300
302
  clearIcon: {
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.5";
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.5';
@@ -1 +1 @@
1
- {"version":3,"file":"cascader.d.ts","sourceRoot":"","sources":["cascader.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,MAAM,eAAe,CAAC;AAuDtD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,iBAAiB,CA4f9C,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"cascader.d.ts","sourceRoot":"","sources":["cascader.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,iBAAiB,GAAG,MAAM,eAAe,CAAC;AAuDtD,QAAA,MAAM,aAAa,EAAE,QAAQ,CAAC,iBAAiB,CA+f9C,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -166,7 +166,8 @@ var cascaderStyle = _objectSpread(_objectSpread({
166
166
  minWidth: 0,
167
167
  position: 'relative',
168
168
  outline: 'none',
169
- overflow: 'hidden'
169
+ maxHeight: 78,
170
+ overflow: 'auto'
170
171
  },
171
172
  result: {
172
173
  display: 'flex',
@@ -312,7 +313,9 @@ var cascaderStyle = _objectSpread(_objectSpread({
312
313
  iconWrapper: {
313
314
  display: 'flex',
314
315
  alignItems: 'center',
315
- justifyContent: 'center'
316
+ justifyContent: 'center',
317
+ position: 'sticky',
318
+ top: 0
316
319
  },
317
320
  clearable: {},
318
321
  clearIcon: {
@@ -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'
@@ -1 +1 @@
1
- {"version":3,"file":"tree-select.d.ts","sourceRoot":"","sources":["tree-select.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAuD1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CAiflD,CAAC;AACF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"tree-select.d.ts","sourceRoot":"","sources":["tree-select.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAExC,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,MAAM,mBAAmB,GAAG,MAAM,iBAAiB,CAAC;AAuD1D,QAAA,MAAM,eAAe,EAAE,QAAQ,CAAC,mBAAmB,CAmflD,CAAC;AACF,eAAe,eAAe,CAAC"}
@@ -152,8 +152,8 @@ var treeSelectStyle = _objectSpread(_objectSpread({
152
152
  minWidth: 0,
153
153
  position: 'relative',
154
154
  outline: 'none',
155
- overflow: 'hidden',
156
- '&:hover': {}
155
+ maxHeight: 78,
156
+ overflow: 'auto'
157
157
  },
158
158
  result: {
159
159
  display: 'flex',
@@ -285,7 +285,9 @@ var treeSelectStyle = _objectSpread(_objectSpread({
285
285
  iconWrapper: {
286
286
  display: 'flex',
287
287
  alignItems: 'center',
288
- justifyContent: 'center'
288
+ justifyContent: 'center',
289
+ position: 'sticky',
290
+ top: 0
289
291
  },
290
292
  clearable: {},
291
293
  clearIcon: {
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.5";
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.5';
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.5",
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.5",
21
+ "@sheinx/base": "3.7.0-beta.5"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "core-js": ">=3"