shineout 3.8.8-beta.5 → 3.8.8-beta.7

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/index.js CHANGED
@@ -522,5 +522,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
522
522
  // 此文件由脚本自动生成,请勿直接修改。
523
523
  // This file was generated automatically by a script. Please do not modify it directly.
524
524
  var _default = exports.default = {
525
- version: '3.8.8-beta.5'
525
+ version: '3.8.8-beta.7'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12386,7 +12386,7 @@ var handleStyle = function handleStyle(style) {
12386
12386
  };
12387
12387
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12388
12388
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12389
- /* harmony default export */ var version = ('3.8.8-beta.5');
12389
+ /* harmony default export */ var version = ('3.8.8-beta.7');
12390
12390
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12391
12391
 
12392
12392
 
@@ -17395,8 +17395,11 @@ var useCarouselStyle = styled(carousel_carousel, 'carousel');
17395
17395
  '&:hover': {
17396
17396
  borderColor: token.focusBorderColor
17397
17397
  }
17398
- }), "".concat(name, "Error"), defineProperty_default()(defineProperty_default()({}, "&:not($".concat(name, "Disabled)"), {
17399
- borderColor: token.errorBorderColor,
17398
+ }), "".concat(name, "Error"), defineProperty_default()(defineProperty_default()({
17399
+ '&&': {
17400
+ borderColor: token.errorBorderColor
17401
+ }
17402
+ }, "&:not($".concat(name, "Disabled)"), {
17400
17403
  background: token.errorBackgroundColor,
17401
17404
  '&:hover': {
17402
17405
  borderColor: token.errorHoverBorderColor,
@@ -17409,19 +17412,17 @@ var useCarouselStyle = styled(carousel_carousel, 'carousel');
17409
17412
  // '[data-soui-role="input-group-separate"]&': {
17410
17413
  // boxShadow: 'none',
17411
17414
  // }
17412
- })), "".concat(name, "Disabled"), {
17415
+ })), "".concat(name, "Disabled"), defineProperty_default()(defineProperty_default()({
17413
17416
  color: token.disabledFontColor,
17414
17417
  backgroundColor: token.disabledBackgroundColor,
17415
17418
  borderColor: token.disabledBorderColor,
17416
17419
  boxShadow: 'none',
17417
- cursor: 'not-allowed',
17418
- '&:hover': {
17419
- borderColor: token.disabledBorderColor
17420
- },
17421
- '& *': {
17422
- cursor: 'not-allowed'
17423
- }
17424
- }), defineProperty_default()(defineProperty_default()(_ref, "".concat(name, "Underline"), {
17420
+ cursor: 'not-allowed'
17421
+ }, "&:not($".concat(name, "Error):hover"), {
17422
+ borderColor: token.disabledBorderColor
17423
+ }), '& *', {
17424
+ cursor: 'not-allowed'
17425
+ })), defineProperty_default()(defineProperty_default()(_ref, "".concat(name, "Underline"), {
17425
17426
  '&&': {
17426
17427
  borderLeftColor: 'transparent',
17427
17428
  borderRightColor: 'transparent',
@@ -66836,6 +66837,12 @@ var emptyRef = {
66836
66837
  children: props.children
66837
66838
  })
66838
66839
  });
66840
+ var absoluteProviderValue = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useMemo)(function () {
66841
+ return {
66842
+ absolute: true,
66843
+ scrollElRef: scrollRef
66844
+ };
66845
+ }, [scrollRef]);
66839
66846
  return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
66840
66847
  children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", objectSpread2_default()(objectSpread2_default()({
66841
66848
  className: classnames_default()(tableWrapperClass, defineProperty_default()(defineProperty_default()(defineProperty_default()({}, tableClasses.sticky, props.sticky), tableClasses.floatLeft, floatLeft), tableClasses.floatRight, floatRight)),
@@ -66846,10 +66853,7 @@ var emptyRef = {
66846
66853
  ref: tableRef,
66847
66854
  dir: config.direction,
66848
66855
  children: /*#__PURE__*/(0,jsx_runtime.jsxs)(absolute_context.Provider, {
66849
- value: {
66850
- absolute: true,
66851
- scrollElRef: scrollRef
66852
- },
66856
+ value: absoluteProviderValue,
66853
66857
  children: [renderTable(), renderLoading(), props.children]
66854
66858
  })
66855
66859
  })), renderPagination()]
@@ -73376,7 +73380,7 @@ var upload_interface = __webpack_require__(8821);
73376
73380
 
73377
73381
 
73378
73382
  /* harmony default export */ var src_0 = ({
73379
- version: '3.8.8-beta.5'
73383
+ version: '3.8.8-beta.7'
73380
73384
  });
73381
73385
  }();
73382
73386
  /******/ return __webpack_exports__;