Commit Graph

27 Commits

Author SHA1 Message Date
二手掉包工程师
e54df4a41e
refactor: rewrite Password with hooks (#25012)
* refactor: rewrite Password with hooks

* refactor: remove state

* refactor:fix lint

* refactor:fix lint

* test: add size case
2020-06-16 19:49:08 +08:00
偏右
081604e253
feat: ㊙️ Input passowrd custom icon (#23792)
*  Support Input.Password iconRender

close #23778
close #23484

*  fix snapshot
2020-04-30 21:19:16 +08:00
Yu Mao
e199a7a301
fix: preserve caret position🐛 (#23633)
* 🐛 fix: preserve caret position

*  update test case for preserving caret position

* Update Password.tsx

* Update Password.test.js

* Update Password.test.js

Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-27 18:02:51 +08:00
二货机器人
49acc871b9
chore: Fix compile error (#23131) 2020-04-10 18:47:08 +08:00
tdida
23e48552ad
fix: Input.Password ConfigProvider prefixCls not work (#21953)
* fix: Input.Password ConfigProvider prefixCls not work

* test: add ConfigProvider Input.Password test

Co-authored-by: TDiDa <>
2020-03-07 15:11:44 +08:00
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking (#21752)
* alert

* more icons

* another grouping

* all done
2020-03-02 12:09:38 +08:00
Amumu
02a71d0ddd
fix: form item Input size error with prefix or suffix (#21290)
* fix form item Input size error with prefix and suffix

* snapshot

* add test case

* revert width
2020-02-09 11:57:42 +08:00
afc163
08f3643272 resolve merge conflict 2020-01-03 12:09:35 +08:00
偏右
2adf8ced24
fix: 💄 Remove Input.Password value attribute from dom (#20544)
* 💄 Remove Input.Password value attribute in dom

close #20541
close #7761
close #19959
close #20536
close #12672
close #10952

*  fix test coverage

* 🐛 fix defaultValue create `value` attribute in Input.Password
2019-12-31 14:41:09 +08:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons deps (#19979)
* update icons deps

* update all icon ref

* fix lint

* update snapshot
2019-11-28 12:34:33 +08:00
zombiej
9051c7baee merge master 2019-09-23 10:08:32 +08:00
Wensheng Xu
1d8c6f8d82 fix: Disabled input should not trigger the action of suffix part #18889 2019-09-20 13:06:25 +08:00
zombiej
3d8a4f3612 merge master 2019-08-29 23:41:46 +08:00
偏右
c9a703d9fb
🐛 Fix Input.Password unmount crash (#18475)
close #18473
2019-08-26 15:33:42 +08:00
偏右
c6c947fd28
🐛 Fix Input.Password cannot get input element (#18441)
close #18412
2019-08-24 00:25:45 +08:00
vagusX
149729e524
use ant design icons 4.0 (#18217)
* feat: use @ant-design/icons@4.0

* feat: use createFromIconfontCN to make site works

* feat: update doc for Icon

* feat: use icon in component Alert

* feat: use icon in component Avatar

* feat: use icon in component Breadcrumb

* feat: use icon in component Button

* feat: use icon in component Cascader

* feat: use icon in component Collapse

* feat: use icon in component Datepicker

* feat: use icon in component Dropdown

* feat: use icon in component Form

* feat: use icon in component Input

* feat: use icon in component InputNumber

* feat: use icon in component Layout

* feat: use icon in component Mention

* feat: use icon in component Message

* feat: use icon in component Modal

* feat: use icon in component Notification

* feat: use icon in component PageHeader

* feat: use icon in component Pagination

* feat: use icon in component Popconfirm

* feat: use icon in component Progress

* feat: use icon in component Rate

* feat: use icon in component Result

* feat: use icon in component Select

* feat: use icon in component Step

* feat: use icon in component Switch

* feat: use icon in component Table

* feat: use icon in component Tab

* feat: use icon in component Tag

* feat: handle rest component which using Icon

* fix: remove unused vars

* feat: use latest alpha ant design icons

* fix: failed test in uploadlist.test.js

* test: update snapshot for icons

* doc: add Icon for site

* doc: use @ant-design/icons in site

* chore: use latest icons

* fix: tslint issue

* fix: test cases

* fix: types for react

* fix: lint rules for import orders

* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render

* fix: eslint error in demo/**.md

* inject antd icons

* update snapshot

* fix site

* doc: update docs

* fix: code snippets icon in site

* feat: use latest @ant-design/icons

* fix: icon props in message
2019-08-13 14:07:17 +08:00
orzyyyy
63b33d4020 fix: unexpected changes of snapshots 2019-08-06 15:36:12 +08:00
杨小事er
a6a5e068eb fix(Input): fix password prop action (#15598)
* fix(Input): fix password prop action

* fix(InputPassword): add assert action is non-null
2019-03-24 16:21:48 +08:00
melchior voidwolf
906f722ea8 Correct suffix icon in Input.Password (#15381)
fix #15369
2019-03-14 15:34:09 +08:00
afc163
eaadf94861
🐛 Fix Input.Password lost focused state issue
close #15173
2019-03-04 21:54:51 +08:00
afc163
6f22eaa2c4
🎨 Improve code style of Input.Password 2019-03-04 21:54:10 +08:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
zy410419243
1638a629f4 feat: add visibilityToggle to control whether Icon show 2018-12-05 19:46:06 +08:00
zy410419243
6ee39b26a9 pref: fix codecov problem 2018-12-05 19:46:06 +08:00
zy410419243
4620f7c186 pref: add Icon type to Password => eye-invisible 2018-12-05 19:46:06 +08:00
zy410419243
18b5c2fd7f pref: fix codecov problem 2018-12-05 19:46:06 +08:00
zy410419243
c161d9c285 feat: Add Input.Password 2018-12-05 19:46:06 +08:00