@yorkjs/hive-ui 2.0.8 → 2.1.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yorkjs/hive-ui",
3
- "version": "2.0.8",
3
+ "version": "2.1.0",
4
4
  "description": "Hive UI - Taro React component library",
5
5
  "main": "src/index.ts",
6
6
  "module": "src/index.ts",
@@ -56,9 +56,9 @@ const Icon: React.FC<IconProps> = (props) => {
56
56
  }, [hitSlop])
57
57
 
58
58
  const iconStyle: React.CSSProperties = {
59
+ lineHeight: 1,
59
60
  ...style,
60
61
  ...hitSlopVars,
61
- lineHeight: 1,
62
62
  color: color,
63
63
  fontSize: typeof size === 'number' ? `${size}PX` : size
64
64
  }
@@ -80,6 +80,7 @@
80
80
 
81
81
  .flow-item-title
82
82
  font-size 16PX
83
+ line-height 24PX
83
84
  color var(--textTitle)
84
85
  text-align left
85
86
  flex-shrink 1
@@ -98,6 +99,7 @@
98
99
 
99
100
  .flow-item-time
100
101
  font-size 12PX
102
+ line-height 18PX
101
103
  color var(--textMuted)
102
104
  text-align left
103
105
 
@@ -104,6 +104,7 @@ const ListItem: React.FC<ListItemCardProps> = (props) => {
104
104
  name="right"
105
105
  size={13}
106
106
  color={arrowColor}
107
+ style={{ lineHeight: '22px' }}
107
108
  className={styles['internal-arrow']}
108
109
  />
109
110
  )}