shineout 3.8.2-beta.9 → 3.8.3-beta.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.3-beta.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.3-beta.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, ")")
@@ -39725,7 +39728,9 @@ var useTree = function useTree(props) {
39725
39728
  if (unmatch) values.push(id);
39726
39729
  });
39727
39730
  context.cachedValue = values;
39728
- return values;
39731
+ // why deep clone: 外部可能对数组做splice等操作,影响context.cachedValue在内部的判断逻辑
39732
+ // 表现出来的bug现象是:外部删除了某个叶子结点,但是Tree的勾选情况没有同步更新; 另外是为了对齐老版本的表现
39733
+ return deepClone(values);
39729
39734
  };
39730
39735
  var getPath = function getPath(id) {
39731
39736
  return context.pathMap.get(id);
@@ -51245,7 +51250,11 @@ var SchemaBuilder = /*#__PURE__*/function () {
51245
51250
  } else {
51246
51251
  var enumData = this.mapEnumData(componentElement.props.data, format);
51247
51252
  if (enumData.length > 0) {
51248
- fieldSchemaInfo.enum = enumData;
51253
+ if (componentElement.props.multiple) {
51254
+ fieldSchemaInfo.items.enum = enumData;
51255
+ } else {
51256
+ fieldSchemaInfo.enum = enumData;
51257
+ }
51249
51258
  }
51250
51259
  }
51251
51260
  if (componentElement.props.data.length > 0) {
@@ -73096,7 +73105,7 @@ var upload_interface = __webpack_require__(8821);
73096
73105
 
73097
73106
 
73098
73107
  /* harmony default export */ var src_0 = ({
73099
- version: '3.8.2-beta.9'
73108
+ version: '3.8.3-beta.1'
73100
73109
  });
73101
73110
  }();
73102
73111
  /******/ return __webpack_exports__;