shineout 3.8.2-beta.9 → 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.9'
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.9');
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
  }
@@ -51245,7 +51247,11 @@ var SchemaBuilder = /*#__PURE__*/function () {
51245
51247
  } else {
51246
51248
  var enumData = this.mapEnumData(componentElement.props.data, format);
51247
51249
  if (enumData.length > 0) {
51248
- fieldSchemaInfo.enum = enumData;
51250
+ if (componentElement.props.multiple) {
51251
+ fieldSchemaInfo.items.enum = enumData;
51252
+ } else {
51253
+ fieldSchemaInfo.enum = enumData;
51254
+ }
51249
51255
  }
51250
51256
  }
51251
51257
  if (componentElement.props.data.length > 0) {
@@ -73096,7 +73102,7 @@ var upload_interface = __webpack_require__(8821);
73096
73102
 
73097
73103
 
73098
73104
  /* harmony default export */ var src_0 = ({
73099
- version: '3.8.2-beta.9'
73105
+ version: '3.8.2-fix.1'
73100
73106
  });
73101
73107
  }();
73102
73108
  /******/ return __webpack_exports__;