assui 3.1.11 → 3.1.12

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.
@@ -47,7 +47,7 @@ var __read = this && this.__read || function (o, n) {
47
47
  import * as React from 'react';
48
48
  import isFunction from 'lodash/isFunction';
49
49
  import Modal from "antd/es/modal";
50
- import { CloseOutlined } from 'a-icons';
50
+ import CloseOutlined from "a-icons/es/CloseOutlined";
51
51
  var ButtonModal = function ButtonModal(props, ref) {
52
52
  var _a = __read(React.useState(false), 2),
53
53
  visible = _a[0],
@@ -90,7 +90,7 @@ Object.defineProperty(exports, "__esModule", {
90
90
  var React = __importStar(require("react"));
91
91
  var isFunction_1 = __importDefault(require("lodash/isFunction"));
92
92
  var modal_1 = __importDefault(require("antd/lib/modal"));
93
- var a_icons_1 = require("a-icons");
93
+ var CloseOutlined_1 = __importDefault(require("a-icons/lib/CloseOutlined"));
94
94
  var ButtonModal = function ButtonModal(props, ref) {
95
95
  var _a = __read(React.useState(false), 2),
96
96
  visible = _a[0],
@@ -140,7 +140,7 @@ var ButtonModal = function ButtonModal(props, ref) {
140
140
  onCancel: handleModalCancel,
141
141
  centered: true,
142
142
  maskClosable: false,
143
- closeIcon: React.createElement(a_icons_1.CloseOutlined, null)
143
+ closeIcon: React.createElement(CloseOutlined_1["default"], null)
144
144
  }, restModalProps), (0, isFunction_1["default"])(children) ? children(modalActionRef.current) : React.cloneElement(children, {
145
145
  modalAction: modalActionRef.current
146
146
  })));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assui",
3
- "version": "3.1.11",
3
+ "version": "3.1.12",
4
4
  "description": "react ui library",
5
5
  "author": "jason <usochen@gmail.com>",
6
6
  "main": "./lib/index.js",
@@ -80,5 +80,5 @@
80
80
  "node": ">=10.0.0"
81
81
  },
82
82
  "license": "MIT",
83
- "gitHead": "bec36a3b4719b494f6f861628e6f9e8f59fe5ebf"
83
+ "gitHead": "efd022f8320aef24b08747da6c11b4f28fbfc45c"
84
84
  }