bhd-components 0.4.2 → 0.4.4

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # bhd-components
2
2
 
3
- **当前版本:** 0.4.2
3
+ **当前版本:** 0.4.4
4
4
 
5
5
  ## Install
6
6
 
@@ -263,7 +263,7 @@ const BhdSelect = (props)=>{
263
263
  }
264
264
  //表格中使用下拉列表,定义下拉列表宽度
265
265
  if (!props.popupMatchSelectWidth && useType === 'table') {
266
- setSelectWidth(bhdSelectRef.current.parentNode.getBoundingClientRect().width - 10);
266
+ setSelectWidth(bhdSelectRef.current.parentNode.getBoundingClientRect().width - 4);
267
267
  }
268
268
  props.onMouseEnter && props.onMouseEnter(e);
269
269
  },
@@ -12,6 +12,16 @@
12
12
  & > .anticon {
13
13
  color: #ffffff;
14
14
  font-size: 14px;
15
+ display: inline-flex;
16
+ align-items: center;
17
+ color: inherit;
18
+ font-style: normal;
19
+ line-height: 0;
20
+ text-align: center;
21
+ text-transform: none;
22
+ vertical-align: -0.125em;
23
+ text-rendering: optimizeLegibility;
24
+ -webkit-font-smoothing: antialiased;
15
25
  }
16
26
  }
17
27
  }
@@ -30,6 +40,16 @@
30
40
  & > .anticon {
31
41
  color: #ffffff;
32
42
  font-size: 14px;
43
+ display: inline-flex;
44
+ align-items: center;
45
+ color: inherit;
46
+ font-style: normal;
47
+ line-height: 0;
48
+ text-align: center;
49
+ text-transform: none;
50
+ vertical-align: -0.125em;
51
+ text-rendering: optimizeLegibility;
52
+ -webkit-font-smoothing: antialiased;
33
53
  }
34
54
  }
35
55
  }
@@ -49,6 +69,16 @@
49
69
  & > .anticon {
50
70
  color: #ffffff;
51
71
  font-size: 14px;
72
+ display: inline-flex;
73
+ align-items: center;
74
+ color: inherit;
75
+ font-style: normal;
76
+ line-height: 0;
77
+ text-align: center;
78
+ text-transform: none;
79
+ vertical-align: -0.125em;
80
+ text-rendering: optimizeLegibility;
81
+ -webkit-font-smoothing: antialiased;
52
82
  }
53
83
  }
54
84
  }
@@ -267,7 +267,7 @@ var BhdSelect = function(props) {
267
267
  }
268
268
  //表格中使用下拉列表,定义下拉列表宽度
269
269
  if (!props.popupMatchSelectWidth && useType === "table") {
270
- setSelectWidth(bhdSelectRef.current.parentNode.getBoundingClientRect().width - 10);
270
+ setSelectWidth(bhdSelectRef.current.parentNode.getBoundingClientRect().width - 4);
271
271
  }
272
272
  props.onMouseEnter && props.onMouseEnter(e);
273
273
  },
@@ -12,6 +12,16 @@
12
12
  & > .anticon {
13
13
  color: #ffffff;
14
14
  font-size: 14px;
15
+ display: inline-flex;
16
+ align-items: center;
17
+ color: inherit;
18
+ font-style: normal;
19
+ line-height: 0;
20
+ text-align: center;
21
+ text-transform: none;
22
+ vertical-align: -0.125em;
23
+ text-rendering: optimizeLegibility;
24
+ -webkit-font-smoothing: antialiased;
15
25
  }
16
26
  }
17
27
  }
@@ -30,6 +40,16 @@
30
40
  & > .anticon {
31
41
  color: #ffffff;
32
42
  font-size: 14px;
43
+ display: inline-flex;
44
+ align-items: center;
45
+ color: inherit;
46
+ font-style: normal;
47
+ line-height: 0;
48
+ text-align: center;
49
+ text-transform: none;
50
+ vertical-align: -0.125em;
51
+ text-rendering: optimizeLegibility;
52
+ -webkit-font-smoothing: antialiased;
33
53
  }
34
54
  }
35
55
  }
@@ -49,6 +69,16 @@
49
69
  & > .anticon {
50
70
  color: #ffffff;
51
71
  font-size: 14px;
72
+ display: inline-flex;
73
+ align-items: center;
74
+ color: inherit;
75
+ font-style: normal;
76
+ line-height: 0;
77
+ text-align: center;
78
+ text-transform: none;
79
+ vertical-align: -0.125em;
80
+ text-rendering: optimizeLegibility;
81
+ -webkit-font-smoothing: antialiased;
52
82
  }
53
83
  }
54
84
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bhd-components",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "组件功能描述",
5
5
  "files": [
6
6
  "esm",