@zat-design/sisyphus-react 3.9.1-beta.12 → 3.9.1-beta.13

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.
@@ -745,8 +745,7 @@ var ProModalSelect = function ProModalSelect(props, ref) {
745
745
  }, 1000),
746
746
  style: {
747
747
  width: isView || disabled ? '100%' : 'calc(100% - 30px)'
748
- },
749
- className: "pro-modal-select-item"
748
+ }
750
749
  }, omit(restProps, ['otherProps']))) : _jsx(_Input, _objectSpread({
751
750
  value: viewText,
752
751
  onChange: handleChangeValue,
@@ -287,10 +287,6 @@ export var ProSelect = function ProSelect(props, ref) {
287
287
  mode: selectProps.mode
288
288
  });
289
289
  }
290
- // modalselect样式特殊处理
291
- if ((selectProps === null || selectProps === void 0 ? void 0 : selectProps.className) === 'pro-modal-select-item') {
292
- selectProps === null || selectProps === void 0 ? true : delete selectProps.style;
293
- }
294
290
  return _jsx("div", {
295
291
  style: props.style,
296
292
  className: "pro-select",
@@ -314,7 +310,7 @@ export var ProSelect = function ProSelect(props, ref) {
314
310
  getPopupContainer: function getPopupContainer(trigger) {
315
311
  return scrollFollowParent ? trigger.parentElement : document.body;
316
312
  }
317
- }, omit(_objectSpread({}, selectProps), ['isView', 'showCodeName', 'form', 'name', 'onFieldChange'])), {}, {
313
+ }, omit(_objectSpread({}, selectProps), ['isView', 'showCodeName', 'form', 'name', 'style', 'onFieldChange'])), {}, {
318
314
  value: transformValue(),
319
315
  children: Array.isArray(newSelectList) && newSelectList.map(function (item) {
320
316
  return _jsx(Option, {
@@ -740,8 +740,7 @@ var ProModalSelect = function ProModalSelect(props, ref) {
740
740
  }, 1000),
741
741
  style: {
742
742
  width: isView || disabled ? '100%' : 'calc(100% - 30px)'
743
- },
744
- className: "pro-modal-select-item"
743
+ }
745
744
  }, (0, _lodash.omit)(restProps, ['otherProps']))) : (0, _jsxRuntime.jsx)(_antd.Input, (0, _objectSpread3.default)({
746
745
  value: viewText,
747
746
  onChange: handleChangeValue,
@@ -288,10 +288,6 @@ var ProSelect = exports.ProSelect = function ProSelect(props, ref) {
288
288
  mode: selectProps.mode
289
289
  });
290
290
  }
291
- // modalselect样式特殊处理
292
- if ((selectProps === null || selectProps === void 0 ? void 0 : selectProps.className) === 'pro-modal-select-item') {
293
- selectProps === null || selectProps === void 0 ? true : delete selectProps.style;
294
- }
295
291
  return (0, _jsxRuntime.jsx)("div", {
296
292
  style: props.style,
297
293
  className: "pro-select",
@@ -315,7 +311,7 @@ var ProSelect = exports.ProSelect = function ProSelect(props, ref) {
315
311
  getPopupContainer: function getPopupContainer(trigger) {
316
312
  return scrollFollowParent ? trigger.parentElement : document.body;
317
313
  }
318
- }, (0, _lodash.omit)((0, _objectSpread2.default)({}, selectProps), ['isView', 'showCodeName', 'form', 'name', 'onFieldChange'])), {}, {
314
+ }, (0, _lodash.omit)((0, _objectSpread2.default)({}, selectProps), ['isView', 'showCodeName', 'form', 'name', 'style', 'onFieldChange'])), {}, {
319
315
  value: transformValue(),
320
316
  children: Array.isArray(newSelectList) && newSelectList.map(function (item) {
321
317
  return (0, _jsxRuntime.jsx)(Option, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.9.1-beta.12",
3
+ "version": "3.9.1-beta.13",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",