@donglegeyu/company-ui 1.2.32 → 1.2.33

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.
@@ -286,6 +286,7 @@ function IconSelectInner({
286
286
  placeholder,
287
287
  size,
288
288
  style: { width: "100%", ...style },
289
+ classNames: { popup: { root: "icon-select-popup" } },
289
290
  allowClear: true,
290
291
  showSearch: true,
291
292
  filterOption: false,
@@ -302,7 +303,7 @@ function IconSelectInner({
302
303
  {
303
304
  open: showAddModal,
304
305
  title: "添加自定义图标",
305
- width: 380,
306
+ size: 380,
306
307
  onClose: closeAddModal,
307
308
  placement: "right",
308
309
  zIndex: 2e3,
@@ -77,7 +77,9 @@
77
77
  display: flex;
78
78
  align-items: center;
79
79
  }
80
+ }
80
81
 
82
+ .icon-select-popup {
81
83
  .icon-option-item {
82
84
  display: flex;
83
85
  align-items: center;
@@ -85,6 +87,10 @@
85
87
  height: 100%;
86
88
  min-height: 32px;
87
89
 
90
+ svg {
91
+ vertical-align: middle;
92
+ }
93
+
88
94
  .icon-option-label {
89
95
  font-size: 13px;
90
96
  line-height: 1;
@@ -462,6 +462,11 @@ function IconSelectInner(_ref) {
462
462
  style: _objectSpread({
463
463
  width: "100%"
464
464
  }, style),
465
+ classNames: {
466
+ popup: {
467
+ root: "icon-select-popup"
468
+ }
469
+ },
465
470
  allowClear: true,
466
471
  showSearch: true,
467
472
  filterOption: false,
@@ -474,7 +479,7 @@ function IconSelectInner(_ref) {
474
479
  }), /*#__PURE__*/_jsx(CompanyDrawer, {
475
480
  open: showAddModal,
476
481
  title: "\u6DFB\u52A0\u81EA\u5B9A\u4E49\u56FE\u6807",
477
- width: 380,
482
+ size: 380,
478
483
  onClose: closeAddModal,
479
484
  placement: "right",
480
485
  zIndex: 2000,
@@ -77,7 +77,9 @@
77
77
  display: flex;
78
78
  align-items: center;
79
79
  }
80
+ }
80
81
 
82
+ .icon-select-popup {
81
83
  .icon-option-item {
82
84
  display: flex;
83
85
  align-items: center;
@@ -85,6 +87,10 @@
85
87
  height: 100%;
86
88
  min-height: 32px;
87
89
 
90
+ svg {
91
+ vertical-align: middle;
92
+ }
93
+
88
94
  .icon-option-label {
89
95
  font-size: 13px;
90
96
  line-height: 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@donglegeyu/company-ui",
3
- "version": "1.2.32",
3
+ "version": "1.2.33",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/es/index.js",
6
6
  "types": "dist/es/index.d.ts",