@vtx/components 4.0.0-beta.56 → 4.0.0-beta.57
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/es/vtx-modal/index.js +6 -4
- package/lib/vtx-modal/index.js +6 -4
- package/package.json +1 -1
package/es/vtx-modal/index.js
CHANGED
|
@@ -195,18 +195,20 @@ function VtxModal(props) {
|
|
|
195
195
|
destroyOnHidden: (_props$destroyOnClose = props.destroyOnClose) !== null && _props$destroyOnClose !== void 0 ? _props$destroyOnClose : true
|
|
196
196
|
};
|
|
197
197
|
var newProps = _objectSpread(_objectSpread(_objectSpread({
|
|
198
|
-
// maskClosable: false,
|
|
199
198
|
mask: {
|
|
200
199
|
closable: false
|
|
201
200
|
},
|
|
202
|
-
|
|
203
|
-
|
|
201
|
+
width: 700,
|
|
202
|
+
focusable: {
|
|
203
|
+
autoFocusButton: null,
|
|
204
|
+
focusTriggerAfterClose: true,
|
|
205
|
+
trap: false
|
|
206
|
+
}
|
|
204
207
|
}, props), legacyProps), {}, {
|
|
205
208
|
closable: false,
|
|
206
209
|
open: open,
|
|
207
210
|
title: title,
|
|
208
211
|
wrapClassName: classnames(prefixCls, hashId, wrapClassName, _defineProperty({}, "".concat(prefixCls, "-maxClass"), isFull ? true : false), classId.current),
|
|
209
|
-
// bodyStyle,
|
|
210
212
|
onCancel: onCancel,
|
|
211
213
|
style: _objectSpread(_objectSpread({}, props.style), isFull ? {} : transformStyle)
|
|
212
214
|
});
|
package/lib/vtx-modal/index.js
CHANGED
|
@@ -202,18 +202,20 @@ function VtxModal(props) {
|
|
|
202
202
|
destroyOnHidden: (_props$destroyOnClose = props.destroyOnClose) !== null && _props$destroyOnClose !== void 0 ? _props$destroyOnClose : true
|
|
203
203
|
};
|
|
204
204
|
var newProps = _objectSpread(_objectSpread(_objectSpread({
|
|
205
|
-
// maskClosable: false,
|
|
206
205
|
mask: {
|
|
207
206
|
closable: false
|
|
208
207
|
},
|
|
209
|
-
|
|
210
|
-
|
|
208
|
+
width: 700,
|
|
209
|
+
focusable: {
|
|
210
|
+
autoFocusButton: null,
|
|
211
|
+
focusTriggerAfterClose: true,
|
|
212
|
+
trap: false
|
|
213
|
+
}
|
|
211
214
|
}, props), legacyProps), {}, {
|
|
212
215
|
closable: false,
|
|
213
216
|
open: open,
|
|
214
217
|
title: title,
|
|
215
218
|
wrapClassName: (0, _classnames2.default)(prefixCls, hashId, wrapClassName, _defineProperty({}, "".concat(prefixCls, "-maxClass"), isFull ? true : false), classId.current),
|
|
216
|
-
// bodyStyle,
|
|
217
219
|
onCancel: onCancel,
|
|
218
220
|
style: _objectSpread(_objectSpread({}, props.style), isFull ? {} : transformStyle)
|
|
219
221
|
});
|