@gm-mobile/c-react 3.12.8-beta.1 → 3.12.10-beta.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": "@gm-mobile/c-react",
3
- "version": "3.12.8-beta.1",
3
+ "version": "3.12.10-beta.0",
4
4
  "description": "> TODO: description",
5
5
  "author": "liyatang <liyatang@qq.com>",
6
6
  "homepage": "https://github.com/gmfe/gm-mobile#readme",
@@ -21,9 +21,9 @@
21
21
  "url": "https://github.com/gmfe/gm-mobile/issues"
22
22
  },
23
23
  "dependencies": {
24
- "@gm-mobile/c-font": "^3.12.8-beta.1",
25
- "@gm-mobile/c-tool": "^3.12.8-beta.1",
26
- "@gm-mobile/locales": "^3.12.8-beta.1",
24
+ "@gm-mobile/c-font": "^3.12.10-beta.0",
25
+ "@gm-mobile/c-tool": "^3.12.10-beta.0",
26
+ "@gm-mobile/locales": "^3.12.10-beta.0",
27
27
  "dayjs": "^1.11.6"
28
28
  },
29
29
  "peerDependencies": {
@@ -34,5 +34,5 @@
34
34
  "prop-types": "^15.7.2",
35
35
  "react": "^16.13.1"
36
36
  },
37
- "gitHead": "60ceff9777dddf514fc1534f900133297b718d41"
37
+ "gitHead": "6609e58898165d82404ae51b03e7fbd5233c96d1"
38
38
  }
@@ -14,7 +14,7 @@ const InputPassword: FC<InputPasswordProps> = (props) => {
14
14
 
15
15
  return (
16
16
  <View className='m-input-password'>
17
- <Input {...props} type={show ? 'text' : 'password'} />
17
+ <Input {...props} type={show ? 'text' : 'password'} password={!show} />
18
18
  <Text className='m-input-password-icon' onClick={handleShow}>
19
19
  <Text
20
20
  className={classNames('m-font', {
@@ -27,6 +27,7 @@ interface VListProps extends Omit<ScrollIntoViewProps, 'targetId'> {
27
27
  distance?: number
28
28
  /** 设置滚动到Key事件, 参数为当前可视区域内第一个元素itemKey */
29
29
  onScrollToKey?: (key: string | number) => void
30
+ bottomNode?: React.ReactNode
30
31
  }
31
32
 
32
33
  interface VListRef {
@@ -81,6 +81,7 @@ export const VList = forwardRef<VListRef, VListProps>(
81
81
  delay = 100,
82
82
  distance = 100,
83
83
  onScrollToKey,
84
+ bottomNode,
84
85
  ...rest
85
86
  },
86
87
  ref
@@ -152,6 +153,7 @@ export const VList = forwardRef<VListRef, VListProps>(
152
153
  </Item>
153
154
  )
154
155
  })}
156
+ {bottomNode}
155
157
  </ScrollIntoView>
156
158
  )
157
159
  }