shineout 3.8.2-beta.8 → 3.8.2-fix.1

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.2-beta.8'
525
+ version: '3.8.2-fix.1'
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.2-beta.8');
12389
+ /* harmony default export */ var version = ('3.8.2-fix.1');
12390
12390
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12391
12391
 
12392
12392
 
@@ -22227,12 +22227,15 @@ var modalStyle = objectSpread2_default()(objectSpread2_default()({
22227
22227
  },
22228
22228
  body: {
22229
22229
  flex: '1 1 auto',
22230
- minHeight: '1px',
22230
+ minHeight: 0,
22231
22231
  // overflow: 'auto',
22232
22232
  color: src.modalBodyFontColor,
22233
22233
  fontSize: src.modalBodyFontSize,
22234
22234
  fontWeight: src.modalBodyFontWeight,
22235
- lineHeight: src.lineHeightDynamic
22235
+ lineHeight: src.lineHeightDynamic,
22236
+ '$wrapperFullScreen &': {
22237
+ minHeight: 'unset'
22238
+ }
22236
22239
  },
22237
22240
  bodyWithIcon: {
22238
22241
  paddingLeft: "calc(".concat(src.modalHeaderIconMarginEnd, " + ").concat(src.modalHeaderIconSize, ")")
@@ -36227,19 +36230,18 @@ function useInputAble(props) {
36227
36230
  var render = useRender(syncValue);
36228
36231
  var shouldUseState = delay || !control;
36229
36232
  var value = shouldUseState ? stateValue : valuePo;
36230
- (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
36231
- if (context.timer) {
36232
- clearTimeout(context.timer);
36233
- context.timer = null;
36234
- }
36233
+ (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
36235
36234
  if (delay && control && props.value !== stateValue) {
36236
36235
  changeStateValue(props.value);
36236
+ } else if (context.timer) {
36237
+ clearTimeout(context.timer);
36238
+ context.timer = null;
36237
36239
  }
36238
36240
  }, [props.value, delay, control]);
36239
36241
  var forceDelayChange = use_persist_fn(function () {
36240
- if (context.timer && context.delayChange) {
36242
+ if (context.delayChange) context.delayChange();
36243
+ if (context.timer) {
36241
36244
  clearTimeout(context.timer);
36242
- context.delayChange();
36243
36245
  context.timer = null;
36244
36246
  context.delayChange = null;
36245
36247
  }
@@ -41961,6 +41963,9 @@ var More = function More(props) {
41961
41963
  onClick: function onClick(e) {
41962
41964
  return e.stopPropagation();
41963
41965
  },
41966
+ onScroll: function onScroll(e) {
41967
+ return e.stopPropagation();
41968
+ },
41964
41969
  children: [compressed === 'no-repeat' ? null : before, after]
41965
41970
  })
41966
41971
  })]
@@ -51242,7 +51247,11 @@ var SchemaBuilder = /*#__PURE__*/function () {
51242
51247
  } else {
51243
51248
  var enumData = this.mapEnumData(componentElement.props.data, format);
51244
51249
  if (enumData.length > 0) {
51245
- fieldSchemaInfo.enum = enumData;
51250
+ if (componentElement.props.multiple) {
51251
+ fieldSchemaInfo.items.enum = enumData;
51252
+ } else {
51253
+ fieldSchemaInfo.enum = enumData;
51254
+ }
51246
51255
  }
51247
51256
  }
51248
51257
  if (componentElement.props.data.length > 0) {
@@ -66205,6 +66214,7 @@ var emptyRef = {
66205
66214
  props.onScroll(info.x, info.y, info.scrollLeft, info.scrollTop);
66206
66215
  }
66207
66216
  syncHeaderScroll(info.scrollLeft);
66217
+ if (props.virtual !== "lazy") return;
66208
66218
  if (context.scrollingTimer) {
66209
66219
  clearTimeout(context.scrollingTimer);
66210
66220
  }
@@ -73092,7 +73102,7 @@ var upload_interface = __webpack_require__(8821);
73092
73102
 
73093
73103
 
73094
73104
  /* harmony default export */ var src_0 = ({
73095
- version: '3.8.2-beta.8'
73105
+ version: '3.8.2-fix.1'
73096
73106
  });
73097
73107
  }();
73098
73108
  /******/ return __webpack_exports__;