shineout 3.0.4 → 3.0.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
@@ -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.5'
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.5');
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
@@ -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;
@@ -33641,6 +33642,7 @@ var useFilter = function useFilter(props) {
33641
33642
  } else if (data) {
33642
33643
  nextData = getData();
33643
33644
  }
33645
+ console.log(filterData);
33644
33646
  return {
33645
33647
  inputText: inputText,
33646
33648
  filterText: filterText,
@@ -39838,7 +39840,7 @@ var Month = function Month(props) {
39838
39840
  children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
39839
39841
  className: styles === null || styles === void 0 ? void 0 : styles.pickerHeaderIcon,
39840
39842
  onClick: func.handlePrev,
39841
- children: icons_config.datepicker.ArrowDoubleRight
39843
+ children: icons_config.datepicker.ArrowDoubleLeft
39842
39844
  })
39843
39845
  }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
39844
39846
  className: styles === null || styles === void 0 ? void 0 : styles.pickerHeaderMid,
@@ -40064,7 +40066,7 @@ var Year = function Year(props) {
40064
40066
  children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
40065
40067
  className: styles === null || styles === void 0 ? void 0 : styles.pickerHeaderIcon,
40066
40068
  onClick: func.handlePrev,
40067
- children: icons_config.datepicker.ArrowDoubleRight
40069
+ children: icons_config.datepicker.ArrowDoubleLeft
40068
40070
  })
40069
40071
  }), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
40070
40072
  className: styles === null || styles === void 0 ? void 0 : styles.pickerHeaderMid,
@@ -40283,7 +40285,7 @@ var Quarter = function Quarter(props) {
40283
40285
  children: /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
40284
40286
  className: styles === null || styles === void 0 ? void 0 : styles.pickerHeaderIcon,
40285
40287
  onClick: func.handlePrev,
40286
- children: icons_config.datepicker.ArrowDoubleRight
40288
+ children: icons_config.datepicker.ArrowDoubleLeft
40287
40289
  })
40288
40290
  }), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
40289
40291
  className: styles === null || styles === void 0 ? void 0 : styles.pickerHeaderMid,
@@ -61228,7 +61230,7 @@ var upload_interface = __webpack_require__(4412);
61228
61230
 
61229
61231
 
61230
61232
  /* harmony default export */ var src_0 = ({
61231
- version: '3.0.4'
61233
+ version: '3.0.5'
61232
61234
  });
61233
61235
  }();
61234
61236
  /******/ return __webpack_exports__;