shineout 3.6.1-beta.3 → 3.6.1-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/index.js CHANGED
@@ -514,5 +514,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
514
514
  // 此文件由脚本自动生成,请勿直接修改。
515
515
  // This file was generated automatically by a script. Please do not modify it directly.
516
516
  var _default = exports.default = {
517
- version: '3.6.1-beta.3'
517
+ version: '3.6.1-beta.5'
518
518
  };
package/dist/shineout.js CHANGED
@@ -12139,7 +12139,7 @@ var handleStyle = function handleStyle(style) {
12139
12139
  };
12140
12140
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12141
12141
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12142
- /* harmony default export */ var version = ('3.6.1-beta.3');
12142
+ /* harmony default export */ var version = ('3.6.1-beta.5');
12143
12143
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12144
12144
 
12145
12145
 
@@ -16934,7 +16934,6 @@ var useCarouselStyle = styled(carousel_carousel, 'carousel');
16934
16934
  verticalAlign: 'top',
16935
16935
  transition: "border-color .15s ease-in-out,box-shadow .15s ease-in-out;",
16936
16936
  '&:hover': defineProperty_default()({
16937
- zIndex: 1,
16938
16937
  borderColor: token.hoverBorderColor
16939
16938
  }, "&:not($".concat(name, "Disabled):not($").concat(name, "Error)"), {
16940
16939
  backgroundColor: token.hoverBackgroundColor
@@ -16955,6 +16954,9 @@ var useCarouselStyle = styled(carousel_carousel, 'carousel');
16955
16954
  flexShrink: 0,
16956
16955
  width: 'auto',
16957
16956
  'margin-left': "-1px",
16957
+ '&:hover': {
16958
+ zIndex: 1050
16959
+ },
16958
16960
  '&:first-child': {
16959
16961
  marginLeft: 0,
16960
16962
  borderTopLeftRadius: token.borderRadius,
@@ -49728,7 +49730,6 @@ var useForm = function useForm(props) {
49728
49730
  }
49729
49731
  context.lastValue = props.value;
49730
49732
  };
49731
- updateValue();
49732
49733
  external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect(function () {
49733
49734
  // 服务端错误更新
49734
49735
  if (!props.error) context.serverErrors = {};else {
@@ -49744,6 +49745,7 @@ var useForm = function useForm(props) {
49744
49745
 
49745
49746
  // 默认值更新
49746
49747
  external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect(function () {
49748
+ updateValue();
49747
49749
  context.removeLock = false;
49748
49750
  // 内部 onChange 改的 value, 不需要更新
49749
49751
  if (props.value === context.value) return;
@@ -52067,7 +52069,7 @@ var input_input_Input = function Input(props) {
52067
52069
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
52068
52070
  args[_key] = arguments[_key];
52069
52071
  }
52070
- (_ref$current$propsMap = ref.current.propsMap.get(child)) === null || _ref$current$propsMap === void 0 || (_ref$current$propsMap2 = _ref$current$propsMap.onFocus) === null || _ref$current$propsMap2 === void 0 || _ref$current$propsMap2.call(_ref$current$propsMap, args);
52072
+ (_ref$current$propsMap = ref.current.propsMap.get(child)) === null || _ref$current$propsMap === void 0 || (_ref$current$propsMap2 = _ref$current$propsMap.onFocus) === null || _ref$current$propsMap2 === void 0 || _ref$current$propsMap2.call.apply(_ref$current$propsMap2, [_ref$current$propsMap].concat(args));
52071
52073
  },
52072
52074
  onBlur: function onBlur() {
52073
52075
  var _ref$current$propsMap3, _ref$current$propsMap4;
@@ -52075,7 +52077,7 @@ var input_input_Input = function Input(props) {
52075
52077
  for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
52076
52078
  args[_key2] = arguments[_key2];
52077
52079
  }
52078
- (_ref$current$propsMap3 = ref.current.propsMap.get(child)) === null || _ref$current$propsMap3 === void 0 || (_ref$current$propsMap4 = _ref$current$propsMap3.onBlur) === null || _ref$current$propsMap4 === void 0 || _ref$current$propsMap4.call(_ref$current$propsMap3, args);
52080
+ (_ref$current$propsMap3 = ref.current.propsMap.get(child)) === null || _ref$current$propsMap3 === void 0 || (_ref$current$propsMap4 = _ref$current$propsMap3.onBlur) === null || _ref$current$propsMap4 === void 0 || _ref$current$propsMap4.call.apply(_ref$current$propsMap4, [_ref$current$propsMap3].concat(args));
52079
52081
  }
52080
52082
  });
52081
52083
  }
@@ -69676,7 +69678,7 @@ var upload_interface = __webpack_require__(8821);
69676
69678
 
69677
69679
 
69678
69680
  /* harmony default export */ var src_0 = ({
69679
- version: '3.6.1-beta.3'
69681
+ version: '3.6.1-beta.5'
69680
69682
  });
69681
69683
  }();
69682
69684
  /******/ return __webpack_exports__;