@zgfe/business-lib 1.1.20 → 1.1.21

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.
@@ -27,6 +27,7 @@ export default (function () {
27
27
  }, "\u6253\u5F00\u5F39\u7A97"), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement(BizDialog, {
28
28
  title: "\u6807\u9898",
29
29
  visible: visible,
30
+ closable: true,
30
31
  onOk: function onOk() {
31
32
  setVisible(false);
32
33
  },
@@ -7,14 +7,20 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
7
7
  import { Modal } from 'antd';
8
8
  import React from 'react';
9
9
  import './styles/index.less';
10
+ import { IconFont } from '..';
10
11
  export var classPrefix = 'biz-dialog';
11
12
 
12
13
  var BizDialog = function BizDialog(props) {
13
- return /*#__PURE__*/React.createElement(Modal, _objectSpread({
14
+ return /*#__PURE__*/React.createElement(Modal, _objectSpread(_objectSpread({
14
15
  bodyStyle: {
15
16
  borderRadius: '10px'
16
17
  }
17
- }, props), props.children);
18
+ }, props), {}, {
19
+ wrapClassName: "biz-dialog-wrap ".concat(props.wrapClassName),
20
+ closeIcon: /*#__PURE__*/React.createElement(IconFont, {
21
+ type: "qingchu"
22
+ })
23
+ }), props.children);
18
24
  };
19
25
 
20
26
  BizDialog.defaultProps = {
@@ -9,3 +9,11 @@
9
9
  height: @height-lg;
10
10
  }
11
11
  }
12
+ .biz-dialog-wrap {
13
+ .ant-modal-close {
14
+ top: 15px;
15
+ .bsicon {
16
+ font-size: 24px !important;
17
+ }
18
+ }
19
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/business-lib",
3
- "version": "1.1.20",
3
+ "version": "1.1.21",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -60,5 +60,5 @@
60
60
  "react": "^16.12.0 || ^17.0.0",
61
61
  "yorkie": "^2.0.0"
62
62
  },
63
- "gitHead": "6f04065667a647483c9a2f47fefd98404c6f3487"
63
+ "gitHead": "9f15bf3aa4adceb6b39a84de36482fa9daa5293c"
64
64
  }