shineout 3.0.4 → 3.0.6

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
@@ -476,5 +476,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
476
476
  // 此文件由脚本自动生成,请勿直接修改。
477
477
  // This file was generated automatically by a script. Please do not modify it directly.
478
478
  var _default = exports.default = {
479
- version: '3.0.4'
479
+ version: '3.0.6'
480
480
  };
package/dist/shineout.js CHANGED
@@ -12019,7 +12019,7 @@ var handleStyle = function handleStyle(style) {
12019
12019
  };
12020
12020
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12021
12021
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12022
- /* harmony default export */ var version = ('3.0.4');
12022
+ /* harmony default export */ var version = ('3.0.6');
12023
12023
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12024
12024
 
12025
12025
 
@@ -19861,7 +19861,8 @@ var modalStyle = objectSpread2_default()(objectSpread2_default()({}, animationSt
19861
19861
  marginBottom: 0
19862
19862
  },
19863
19863
  '& $body': {
19864
- padding: "".concat(src.modalDrawerBodyPaddingY, " ").concat(src.modalDrawerBodyPaddingX)
19864
+ padding: "".concat(src.modalDrawerBodyPaddingY, " ").concat(src.modalDrawerBodyPaddingX),
19865
+ overflow: 'auto'
19865
19866
  },
19866
19867
  '& $bodyWithIcon': {
19867
19868
  paddingLeft: src.modalDrawerBodyPaddingX
@@ -31632,7 +31633,7 @@ var useInputCommon = function useInputCommon(props0) {
31632
31633
  delay: delay
31633
31634
  });
31634
31635
  var hasValue = function hasValue(value) {
31635
- return value === 0 || value && value.length;
31636
+ return isNumber(value) && !isNan(value) || value && value.length;
31636
31637
  };
31637
31638
  var renderInput = use_inner_title({
31638
31639
  innerTitle: innerTitle,
@@ -33590,6 +33591,7 @@ var useFilter = function useFilter(props) {
33590
33591
  setInputText(text);
33591
33592
  setFilterText(text);
33592
33593
  firstMatchNode.current = null;
33594
+ if (context.filterTimer) clearTimeout(context.filterTimer);
33593
33595
  if (!text) {
33594
33596
  if (data) {
33595
33597
  setFilterData(data);
@@ -33608,7 +33610,6 @@ var useFilter = function useFilter(props) {
33608
33610
  setCreatedData(innerData);
33609
33611
  }
33610
33612
  if (!onFilter || !isFunc(onFilter)) return;
33611
- if (context.filterTimer) clearTimeout(context.filterTimer);
33612
33613
  context.filterTimer = setTimeout(function () {
33613
33614
  var next = onFilter(text, from);
33614
33615
  if (!isFunc(next)) return;
@@ -39838,7 +39839,7 @@ var Month = function Month(props) {
39838
39839
  children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
39839
39840
  className: styles === null || styles === void 0 ? void 0 : styles.pickerHeaderIcon,
39840
39841
  onClick: func.handlePrev,
39841
- children: icons_config.datepicker.ArrowDoubleRight
39842
+ children: icons_config.datepicker.ArrowDoubleLeft
39842
39843
  })
39843
39844
  }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
39844
39845
  className: styles === null || styles === void 0 ? void 0 : styles.pickerHeaderMid,
@@ -40064,7 +40065,7 @@ var Year = function Year(props) {
40064
40065
  children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
40065
40066
  className: styles === null || styles === void 0 ? void 0 : styles.pickerHeaderIcon,
40066
40067
  onClick: func.handlePrev,
40067
- children: icons_config.datepicker.ArrowDoubleRight
40068
+ children: icons_config.datepicker.ArrowDoubleLeft
40068
40069
  })
40069
40070
  }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
40070
40071
  className: styles === null || styles === void 0 ? void 0 : styles.pickerHeaderMid,
@@ -40283,7 +40284,7 @@ var Quarter = function Quarter(props) {
40283
40284
  children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
40284
40285
  className: styles === null || styles === void 0 ? void 0 : styles.pickerHeaderIcon,
40285
40286
  onClick: func.handlePrev,
40286
- children: icons_config.datepicker.ArrowDoubleRight
40287
+ children: icons_config.datepicker.ArrowDoubleLeft
40287
40288
  })
40288
40289
  }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
40289
40290
  className: styles === null || styles === void 0 ? void 0 : styles.pickerHeaderMid,
@@ -61228,7 +61229,7 @@ var upload_interface = __webpack_require__(4412);
61228
61229
 
61229
61230
 
61230
61231
  /* harmony default export */ var src_0 = ({
61231
- version: '3.0.4'
61232
+ version: '3.0.6'
61232
61233
  });
61233
61234
  }();
61234
61235
  /******/ return __webpack_exports__;