@yorkjs/hive-ui 2.0.9 → 2.1.1

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.9",
3
+ "version": "2.1.1",
4
4
  "description": "Hive UI - Taro React component library",
5
5
  "main": "src/index.ts",
6
6
  "module": "src/index.ts",
@@ -126,6 +126,7 @@ $VALUE_FONT_SIZE = 14PX
126
126
  color var(--textTitle)
127
127
  font-size $TITLE_FONT_SIZE
128
128
  line-height 1.4
129
+ lineClamp(1)
129
130
 
130
131
  .required-icon
131
132
  position absolute
@@ -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
  }
@@ -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
  )}