Yangzhedi
bfbadabd52
fix(Input): fix search style with allowClear or suffix/prefix
2019-03-07 10:06:18 +08:00
Yunus EŞ
01b8c2f0c3
Turkish translations of new components
...
Global placeholder, Icon, Text objects added.
2019-03-06 17:10:15 +03:00
afc163
b03d9ad4b2
✅ Update test snapshots
2019-03-06 16:52:57 +08:00
zombieJ
3fbeff3fcc
add warning when use getCheckboxProps ( #15231 )
2019-03-06 16:48:14 +08:00
afc163
7a217c625c
🐛 Fix space lost when inline element in List.Item, close #15186
2019-03-06 16:31:07 +08:00
afc163
575796cb92
⚡ clean up code
2019-03-06 15:23:51 +08:00
afc163
0fe82ed936
⚡ refactor list item dom structure
2019-03-06 14:20:51 +08:00
afc163
1c7e0d0b4b
🐛 Fix space lost when inline element in List.Item
...
close #15186
use `display: contents`:
- https://www.zcfy.cc/article/vanishing-boxes-with-display-contents
- https://css-tricks.com/get-ready-for-display-contents/
2019-03-06 14:20:51 +08:00
afc163
881dce9a3e
💄 prettier codes
2019-03-06 13:45:40 +08:00
偏右
b9cef22d21
Merge pull request #15219 from Frezc/master
...
[doc]remove misleading content
2019-03-06 12:09:28 +08:00
afc163
5d450d2a23
💄 unified DatePicker and TimePicker cursor style
2019-03-06 11:01:56 +08:00
afc163
f55d2bbf32
🐛 Text ellipsis should be optional, close #15189
2019-03-05 21:19:22 +08:00
wanli
fdc8a1b458
[doc]remove misleading content
2019-03-05 20:51:32 +08:00
ngolin
cb5fe6cbf8
Fix: TypeScript <Layout> requires a tagName
property ( #15181 )
...
* fix #15162
* force safe type casting
* get rid of non-null assertion
* get rid of non-null assertion
2019-03-05 14:39:43 +08:00
zombiej
26cde5813f
update ts def
2019-03-05 13:48:38 +08:00
偏右
5dec4960df
Merge pull request #15184 from ant-design/fix-input-focus-state
...
Fix Input Password focus state
2019-03-05 11:32:05 +08:00
afc163
216c85211b
✅ Add test cases
2019-03-05 11:16:13 +08:00
偏右
53a35adbd5
Merge pull request #15153 from zy410419243/issue-14775
...
pref: lift up coverage rate
2019-03-04 22:26:38 +08:00
afc163
1b713c94e6
🐛 Focus input after clear input content
2019-03-04 22:19:40 +08:00
afc163
5cd5d1ff00
📝 Opatimize Input demo
2019-03-04 21:57:30 +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
afc163
74aee564ed
🐛 Fix Collapse extra node style missing
...
close #15174
2019-03-04 19:15:02 +08:00
偏右
19d916fd20
Merge pull request #15156 from ant-design/date-picker-popup
...
fix configProvider getPopupContainer not work with DatePicker
2019-03-04 19:04:27 +08:00
liuchuzhang
9058588fe6
fix document
2019-03-04 17:35:03 +08:00
陈帅
f73a0e238d
feat: PageHeader support classname ( #15159 )
2019-03-04 14:54:28 +08:00
zombieJ
2f6b367137
fix form warning ( #15160 )
...
* fix form warning
* update snapshot
2019-03-04 14:51:40 +08:00
zy410419243
28a82f8f09
test: update cases for Grid.Row
2019-03-04 11:49:29 +08:00
zy410419243
0a78070b08
test: upadte cases for Transfer.List
2019-03-04 11:35:08 +08:00
zy410419243
74a5a10bee
test: update aria-label for TextArea, to fix accesslint problems
2019-03-04 11:35:08 +08:00
zy410419243
9867e6f4cc
test: update cases for TextArea
2019-03-04 11:34:01 +08:00
zy410419243
b4146854d6
test: update cases for calculateNodeHeight
2019-03-04 11:29:15 +08:00
zombiej
0af6bded1d
fix configProvider getPopupContainer not work with DatePicker
2019-03-04 11:11:50 +08:00
陈帅
2996d8e625
Merge pull request #15154 from ant-design/feature
...
up to 3.14.0
2019-03-04 10:59:41 +08:00
afc163
71a774b16b
🐛 Fix closable Drawer hiding without transition
2019-03-04 10:54:48 +08:00
Frezc
c5b98c27c7
add export to MenuItemProps
2019-03-04 10:54:34 +08:00
陈帅
5e298dba51
3.14.0 Changelog ( #15145 )
...
* add responsive property to carousel (#15071 )
* add responsive property to carousel #15065
* extend carousel props from Slick type definitions #15065
* rm key in OptionProps (#15104 )
* update doc
* fix cascader should tab twice to exist (#15117 )
* fix cascader should tab twice to exist
* update snapshot
* Drawer Body padding should be variable
* fix DatePicker to support an array of formats (#15116 )
ref #13148
* table reader mobile friendly
* up
* up
* doc: add 3.14.0 changelog
* doc: fix ci warning
* doc: fix ci warning
* doc: fix typo
* doc: fix ci warning
* doc: fix ci warning
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* doc: fix cr warring
* -m
* -m
* doc: fix cr warning
2019-03-04 10:45:15 +08:00
zombiej
fd0bea7332
fix size
2019-03-03 23:25:52 +08:00
zombiej
439053e4f7
update snapshot
2019-03-03 23:19:07 +08:00
zombiej
d0c2f8b05f
remove debug
2019-03-03 11:40:10 +08:00
zombiej
2eb4ecfedd
refactory
2019-03-03 10:04:21 +08:00
DiamondYuan
e392605230
up
2019-03-02 19:59:45 +08:00
DiamondYuan
4e331a5049
up
2019-03-02 19:59:45 +08:00
陈帅
dee8f93fe7
New Component PageHeader ( #13637 )
...
* add api dock
* add a simple demo
* add content demos
* fix style warning
* Replace content with children
* add all demo
* add demo test
* add backNode props
* Adjust the divider style
* fix icon do no show
* fix test ci
* fix md code style
* remove fragment use
* add test script
* Missing newline character at end of file
* optimize the demo display
* text becomes longer
* text becomes longer
* fix css code style
* fix test snapshot
* fix css code style
* fix codereivew waring
* fix codereivew waring
* update snapshots
* use ant-page-header-have-footer
* use englist
* fix typo
* updated snapshot
* line-height set to 100%
* remove subtitle
* Specification less
* fix less style error
* Sort by alphabet
* Rebuild code
* use english
* number use Statistic
* snapshot updated
* rm onBack in breadcrumb
* remove unuse return
* add a click wave
* remove unuse css
* add icon hover
* newline character
* new description
* warm descriptive text
* add dot
* remove async
* feat: use Typography.Paragraph
* test: snapshots updated
* style: fix style lint
* import typography style
2019-03-02 15:51:08 +08:00
Yann Normand
e26c5133a5
fix DatePicker to support an array of formats ( #15116 )
...
ref #13148
2019-03-01 13:50:28 +08:00
yoyo837
29647f073a
Drawer Body padding should be variable
2019-03-01 11:20:18 +08:00
zombieJ
66786c7c4b
fix cascader should tab twice to exist ( #15117 )
...
* fix cascader should tab twice to exist
* update snapshot
2019-03-01 11:19:35 +08:00
zombieJ
5ce7e71007
RangePicker support customize separator ( #15055 )
...
* support separator
* add version
* fix css
2019-02-28 16:11:10 +08:00
zombieJ
3a16708765
update snapshot ( #15108 )
2019-02-28 14:42:11 +08:00
zombieJ
acd06e9cb5
Select multiple mode support showArrow ( #15091 )
...
* support showArrow
* fix rc-select version
* update snapshot
2019-02-28 12:26:43 +08:00
zombieJ
c5f9ed1d4f
rm key in OptionProps ( #15104 )
2019-02-28 11:05:47 +08:00
Vitaliy Mazurenko
4878992400
add responsive property to carousel ( #15071 )
...
* add responsive property to carousel #15065
* extend carousel props from Slick type definitions #15065
2019-02-27 23:28:48 +08:00
zombiej
6f95995faa
merge master
2019-02-27 19:57:48 +08:00
偏右
779ba73528
🐛 fix upload instance cannot exposed in TypeScript ( #15090 )
...
close #14439
2019-02-27 18:37:44 +08:00
zombieJ
70046f782d
update doc about customize form item component ( #15088 )
...
* update doc
* rm test code
* update doc
2019-02-27 18:34:47 +08:00
zombieJ
b69f0e5e97
canel when page change ( #15082 )
2019-02-27 15:55:37 +08:00
zombieJ
4d1a998246
add component param in warning ( #15078 )
...
* add component param in warning
* update snapshot
2019-02-27 15:32:29 +08:00
ycjcl868
cc30a2d4eb
💄 fix dropdown trigger align type def
2019-02-27 14:58:01 +08:00
zombieJ
ed1872fe08
fix calendar-onPanelChange some time not trigger ( #15063 )
2019-02-26 19:56:55 +08:00
Amumu
9e8bddd864
fix #13648 ( #15056 )
...
* fix #13648
* style lint
* lint
* revert and fix again
2019-02-26 17:10:40 +08:00
zombiej
8bf08cdf81
adjust css
2019-02-26 15:45:08 +08:00
afc163
98b41e0e9c
⚡ Add handler
definite for Drawer
...
close #15051
2019-02-26 15:36:23 +08:00
zombieJ
a802a72d56
Fix Table filter can not support other type of value ( #15046 )
...
* use new life cycle
* filter support inner value maps
* update snapshot
* update test case
* simple code
2019-02-26 14:26:08 +08:00
Jason Yin
b30e90ba31
fix #15037 ( #15042 )
2019-02-26 10:37:00 +08:00
yinjs
f602a9b153
fix #15035 datepicker onPanelChange ts declaration missing
2019-02-26 10:35:27 +08:00
afc163
447a8df724
🐛 Fix horizontal submenu wider then menu title in most case
...
https://codesandbox.io/s/qvpwm6mk66
2019-02-26 10:35:08 +08:00
zombieJ
1fc8dd3042
Form support labelCol
& wrapperCol
props. ( #15038 )
...
* use context
* update doc
* update doc
* not pass context if nest
* update snapshot
* update doc
* update doc
2019-02-25 19:04:09 +08:00
zombieJ
fb6a493f11
support name prop ( #15029 )
2019-02-25 11:28:31 +08:00
ztplz
94814d955f
Format ( #15027 )
2019-02-24 15:49:12 +08:00
afc163
efafa6346d
✅ Fix lint problems
2019-02-23 16:58:22 +08:00
afc163
f665554080
🐛 Fix arrow style of Select selected item
2019-02-23 16:58:22 +08:00
afc163
924e8e4b83
🐛 should not print warning for not generating help and validateStatus automatically when help or validateStatus is specified
...
close #14911
2019-02-23 16:35:52 +08:00
Kamal Mahmudi
9559a12be9
🇮🇩 Update locale to be more natural for Indonesian ( #15013 )
...
* Update locale to be more natural for Indonesian
* consistently use lowercase and uppercase
* updating snapshot
2019-02-23 12:29:10 +08:00
afc163
5d46fa9679
📝 site: fix document punctuation
2019-02-22 17:15:48 +08:00
Aobo Yang
1f0166c156
Fix rowKey usages in List ( #14437 )
...
* correct rowKey usages in List
* fix item type in renderItem in List
2019-02-22 10:40:30 +08:00
Wei Zhu
8f7d4970a5
Merge pull request #14986 from liuchuzhang/table-doc
...
update table demo
2019-02-21 20:58:05 +08:00
杨小事er
668c330cae
fix(radio): delete unnecessary onChange ( #14984 )
...
* fix(radio): delete unnecessary onChange
* fix(radio): fix multi trigger
2019-02-21 20:53:19 +08:00
orzorzorzorz
642307481a
fix: unexpected return ( #14982 )
2019-02-21 20:49:04 +08:00
liuchuzhang
dfa6080d39
update table demo
2019-02-21 20:23:00 +08:00
zombiej
440408a1dd
update style
2019-02-21 12:13:47 +08:00
afc163
7bbeaff3ed
🆙 Upgrade rc-input-number@4.4.0 to fix 13896
2019-02-21 12:12:52 +08:00
杨小事er
0f91fb07e9
fix(tree): fix growing space ( #14964 )
...
* fix(tree): fix growing space
* fix(tree): remove last child 4px padding bottom and keep others
* Update index.less
2019-02-21 11:17:52 +08:00
zombieJ
f483c4e604
Not show aria-label when Icon type is empty ( #14972 )
...
* remove aria-label if type is not defined
* update snapshot
2019-02-21 11:13:03 +08:00
zombiej
e94ce11bd9
update form item css
2019-02-20 19:38:09 +08:00
ztplz
5de03a5c18
Fix assert usage ( #14957 )
...
* Fix assert usage
* Update
2019-02-20 18:27:35 +08:00
afc163
671410d0be
🐛 Fix disabled sub menu style
...
close #14952
2019-02-20 16:59:05 +08:00
ztplz
e3eec8f2b6
Update snapshots
2019-02-20 16:58:30 +08:00
ztplz
45dc160701
Update
2019-02-20 16:58:30 +08:00
ztplz
f2ac516c87
Update
2019-02-20 16:58:30 +08:00
ztplz
b74038a4da
Correct Input demo style
2019-02-20 16:58:30 +08:00
zombieJ
48900955f8
Warning Input by: add or remove prefix / suffix when Input is focused ( #14948 )
...
* todo
* add warning
* add FAQ
* fix typo
2019-02-20 15:12:29 +08:00
偏右
fd89e0f8b4
🐛 Fix extra space at the bottom of table th in chrome ( #14950 )
...
close #14926
2019-02-20 15:11:04 +08:00
zombiej
8389b94cf5
search input sticky
2019-02-20 11:52:06 +08:00
Michał Jurkowski
c0f49c782c
Fix hardcoded heading color
2019-02-19 23:24:31 +08:00
zombieJ
c29323b448
Revert to remove FormItem explain-holder ( #14937 )
...
* Revert "Adjust style to be similar with origin (#14886 )"
This reverts commit 735175e3cf
.
* Revert "sync form item (#14778 )"
This reverts commit 5ac674e698
.
2019-02-19 23:24:07 +08:00
Amumu
1552955b12
修复: bordered的固定高、非空表格在隐藏头部时,丢失顶部边框的问题
2019-02-19 16:16:50 +08:00
zy410419243
7f1dea0ab1
fix: wrong usage of polyfill
2019-02-19 15:52:19 +08:00
zy410419243
9d5454c7b7
pref: add missing polyfill
2019-02-19 15:52:19 +08:00
zy410419243
14945cb7a7
chore(DirectoryTree): migrate to new lifecycle method
2019-02-19 15:52:19 +08:00
ztplz
b0ca03cba3
Update
2019-02-19 15:50:38 +08:00
ztplz
025bad6981
Update
2019-02-19 15:50:38 +08:00
ztplz
f26788c26e
Revert "update snapshot"
...
This reverts commit 3e8f99a4a5
.
2019-02-19 15:50:38 +08:00
ztplz
29cabea52a
update snapshot
2019-02-19 15:50:38 +08:00
ztplz
c24d737546
Fix incorrect collapse icon position when sider in the right
2019-02-19 15:50:38 +08:00
Jason Chen
4c5f3d2b0a
Enhance <Grid>&<Meta> props type definition ( #14857 )
2019-02-19 13:37:38 +08:00
zombieJ
c80136a9a7
New Component: Typography ( #14250 )
...
* text with prefix
* add edit style
* support editable
* enhance accessibility & type experience
* optimize IME case
* support copy
* add locale
* add secondary & disabled
* add ellipsis shadow text
* split to 3 components
* update snapshot
* update desc
* change lines also need update ellipsis
* skip aria when is in ellipsis
* add ResizeObserver in _util
* update snapshot
* move TestBase into test file
* update test case
* update doc
* fix typo
* important => level
* use rows
* update demo cols to 1
* fix cssText not work in firefox
* update doc
* add miss point
* support extendable
* update snapshot
* fix doc
* copyable support string
* update snapshot
* update doc
* update doc desc
* adjust style
* full test
* reset after test
* rename
* update snapshot
* fix compile
* adjust style
* update desc
* update prefixCls
* update margin
* adjust
* nest wrap of tag content
* adjust style
* update comment
* rm %
* one more thing
* tmp of measure
* merge string as children
* update snapshot
* update testcase
* remove comment
* use internal variable for configProvider passing
* update snapshot
* use expandable instead of extendable
* less variable it
* update demo
* update less
* adjust code & mark style
* remove mark padding
* update measure logic
* support nest element style
* use childNode.textContent to fix react 15 error
* update css
* popout Typography
* add link style
* adjust doc
* use ellipsis instead of rows & expandable
* update doc
* update doc
* update doc & style
* fix typo
* add css ellipsis support
* client render
* update snapshot
* enhance copyable
* support onExpand
* update test case
* add test of css ellipsis
* fix logic in react 15
* rename onChange -> onSave
* use tagName of article
* fix lint
2019-02-19 11:42:05 +08:00
zombiej
eddfbd5f51
only affect addon & suffix
2019-02-19 11:38:26 +08:00
zombiej
fcc3820545
adjust input style
2019-02-19 11:38:26 +08:00
ilanus
8eddf15fd1
update steps types
2019-02-18 13:23:04 +01:00
zombieJ
a3bd55b79a
revert #14608 ( #14898 )
...
* revert #14608
* add test case
2019-02-18 18:05:27 +08:00
zombieJ
735175e3cf
Adjust style to be similar with origin ( #14886 )
...
* adjust style to be similar with origin
* update snapshot
* add missing extra logic
* adjust tiny
* fix margin
* use element to keep the place
* update snapshot
2019-02-18 16:42:02 +08:00
zombiej
271d201fbc
merge master
2019-02-18 11:17:24 +08:00
zombieJ
1d75725369
update snapshot ( #14880 )
2019-02-18 11:04:45 +08:00
Wei Zhu
07ec7d9f53
test: use mockReset
...
According to the document of jest, mockRestore only works when mock was
created with `jestSpyOn`.
https://jestjs.io/docs/en/mock-function-api#mockfnmockrestore
2019-02-18 00:26:19 +08:00
afc163
c30b06d5db
📝 add stop in document
2019-02-17 23:07:02 +08:00
afc163
25404ee6cf
💄 Tweak select width in Calendar
2019-02-17 22:47:27 +08:00
zombieJ
d2c17cd747
only set getPopupContainer when scroll provides ( #14864 )
...
* only set getPopupContainer when scroll provides
* adjust
2019-02-16 11:49:15 +08:00
杨小事er
2f81d000f8
fix(time-picker): fix icon style ( #14861 )
2019-02-15 22:45:41 +08:00
Gabe Medrash
6dce9aff3a
Add onTitleMouseEnter and onTitleMouseLeave to public interface
2019-02-15 14:50:58 +08:00
LT246-VINHNPH\vinhnph
bf135c1ceb
ReactNode has already included string
2019-02-15 10:15:43 +07:00
LT246-VINHNPH\vinhnph
c39d8b0b11
Merge remote-tracking branch 'upstream/feature' into ts_table
2019-02-15 10:01:57 +07:00
米老朱
6936599aef
Enhance stylelint rules ( #14803 )
...
* rename .stylelintrc to .stylelintrc.json for explicit file type
* add new npm script lint-fix:style
* fix pseudo-element with double colon
* function name should be lower except ignored functions
* support stylelint declaration-block-no-ignored-properties rule
* support sorted CSS properties order for readability and consistency
* autofix order of all styles by lint-fix:style script
* remove double slash comments after selector
* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
偏右
2eddc2a1d4
🌟 support goto button in Pagination ( #14819 )
...
close #14798
close #14535
close #10201
close #7328
2019-02-14 22:39:11 +08:00
vinhnph-ibl
01f1c367e1
Merge branch 'feature' into ts_table
2019-02-14 17:52:18 +07:00
偏右
2bacd0614c
⚡ Use semantic tag names in Layout ( #14806 )
...
close #14801
2019-02-14 17:51:52 +08:00
Rick Zhou
80e6204803
remove the lambda used in input-number render() function
2019-02-14 17:51:18 +08:00
afc163
6ef24cf833
🐛 Fix Card loading style when there is actions
...
close #14832
2019-02-14 17:50:58 +08:00
mraiguo
86f0f97376
rangePicker clear when controlled ( #14796 )
2019-02-14 17:50:37 +08:00
afc163
62e65d9550
🌟 support extra for Collapse.Panel
...
close #11626
2019-02-14 17:49:18 +08:00
Wei Zhu
32a61d8596
fix: handle true for Table[pagination] properly
...
`pagination` is not designed to accept `true` value,
but in practice, many people assign `true` to `pagination`,
since they thought `pagination` accepts boolean value.
2019-02-14 17:48:35 +08:00
afc163
a287f1bcb8
🐛 Fix missing border top of empty Table without header
...
close #14834
2019-02-14 17:47:20 +08:00
vinhnph-ibl
e0de950edb
Merge branch 'feature' into ts_table
2019-02-14 13:53:08 +07:00
+v
bf2a240ba7
fix: clear both
2019-02-13 22:22:30 +08:00
zombieJ
5ac674e698
sync form item ( #14778 )
...
* sync form item
* update snapshot
* use before
2019-02-13 21:45:47 +08:00
zombieJ
41470e0c68
clean css ( #14797 )
...
* clean css
* move to horizontal
2019-02-12 22:41:41 +08:00
zombieJ
47e53ab0fe
Fix Input.Search not support addonAfter ( #14799 )
...
* fix addonAfter
* update snapshot
2019-02-12 21:39:36 +08:00
zombieJ
5ad9469434
Countdown support onFinish
( #14791 )
...
* support onFinish
* clean up
* update test case
2019-02-12 17:16:49 +08:00
zombiej
d919e20f10
merge master
2019-02-12 16:00:29 +08:00
afc163
8fc3cb8d24
🐛 Fix always uploading if upload button is hidden during
...
close #14779
caused by the previous fix in #14298
reverted and change another way to fix #14299
2019-02-11 23:08:27 +08:00
ztplz
b46b79c771
Remove useless asign
2019-02-11 21:42:07 +08:00
LT246-VINHNPH\vinhnph
c20acfb9b3
Table column filter could be ReactNode
2019-02-11 13:52:56 +07:00
Wei Zhu
de212266c4
Merge pull request #14742 from zy410419243/comma
...
docs: fix wrong usage of comma
2019-02-11 11:17:17 +08:00
Wei Zhu
499a3e2ad5
Merge pull request #14757 from zlljqn/patch-2
...
Optimized Drag & Drop Table Demo performance
2019-02-11 11:14:03 +08:00
zombieJ
67ad35bc26
fix additional className ( #14770 )
2019-02-11 01:00:33 +08:00
Subroto
57f4c62368
Revert "fix IE 11 bug" ( #14765 )
...
This reverts commit 7d7de2a599
.
2019-02-10 23:25:35 +08:00
何乐
3c4a7318d6
fix: Progress shows the success status while successPercent={0}
and percent={100}
( #14769 )
2019-02-10 23:06:45 +08:00
偏右
6550ddd545
🐛 Fix Switch disabled cursor style, close #14764 ( #14767 )
2019-02-10 22:20:09 +08:00
imhele
952510e040
add header for table
2019-02-10 19:45:17 +08:00
wanli
6c259808e1
type: add onClick to AbstractCheckboxProps
2019-02-10 16:04:31 +08:00
zlljqn
bdb81d12a5
Update according to suggestion
...
Update according to suggestion and try to repair CI
2019-02-08 21:08:40 +08:00
zlljqn
bf972a9afa
Optimized Drag & Drop Table Demo performance
...
Optimized Drag & Drop Table Demo performance when the number of row is large. Mainly remove unnecessary event mornitor and use another way to implement the method to show the insert indicate rule on the page.
2019-02-08 16:42:05 +08:00
zy410419243
9236844f0a
Revert "test: update snapshots"
...
This reverts commit 9ea218d0ad5b42cd119087e855c8ab8223aaa4e3.
2019-02-07 13:59:33 +08:00
zy410419243
6a68619559
test: update snapshots
2019-02-07 13:59:32 +08:00
zy410419243
bf4560cf37
docs: fix wrong usage of comma
2019-02-07 13:59:32 +08:00
thilo-behnke
a9a6da47ed
Input: Clear icon doesn't disappear if value is null (vs undefined or empy string) ( #14733 )
...
* fixed issue with allowClear if value is null
* added test cases for allowClear fix
2019-02-07 11:39:16 +08:00
Gabe Medrash
dfc9b24c98
Properly type onMouseEnter and onMouseLeave events
2019-02-06 12:23:07 +08:00
何乐
b3834e48b1
Table: fix showing only first page ( #14724 )
...
* Table: fix showing only first page
* correct condition of pagination in Table
* correct test file
* handle changes
* improve test case
2019-02-05 23:11:08 +08:00
zombieJ
2b558af960
update silder snapshot ( #14732 )
2019-02-05 21:25:40 +08:00
何乐
99eeefc25d
correct type in Switch ( #14727 )
2019-02-05 11:01:36 +08:00
ycjcl868
52b99ceee9
Merge master into merge-master
2019-02-04 23:41:43 +08:00
信鑫-King
6cdc203a2f
Merge pull request #14725 from ant-design/fix-form-test
...
Fix CI build failed of test
2019-02-04 23:07:25 +08:00
ycjcl868
6f040b6c40
fix: strict check input
2019-02-04 22:55:00 +08:00
zombiej
777c56a515
mock test
2019-02-04 22:02:46 +08:00
Andrew Shearer
163140189f
Fix quote rendering ( #14708 )
...
Use curly quotes from the current font, removing an override that
switched to a Chinese font for those 4 characters. On all platforms,
this caused the quotes to differ in size and weight from the
surrounding text. On Linux, it also caused text to fall back to a
serif font rather than the intended sans-serif font. On Windows,
it used a full-width Chinese character, making it look like there
were extra spaces in the text. Typographic apostrophes, in
particular, appeared to have two or more extra spaces after them.
fix #13095
2019-02-04 11:36:03 +08:00
gyh9457
c895c809f9
improve tabs demo ( #14701 )
2019-02-04 11:29:28 +08:00
zombieJ
ee97cfe6cc
update doc ( #14712 )
2019-02-03 13:35:10 +08:00
zombieJ
3bd784cec6
force opacity of 0 ( #14703 )
2019-02-03 09:02:46 +08:00
afc163
c563bc1d10
🐛 Table should pick pageSize over defaultPageSize in priority
...
close #14320
2019-02-02 22:44:46 +08:00
偏右
1daec4eacb
🐛 Statistic should support negetive numbers ( #14695 )
...
close #14692
2019-02-02 21:55:46 +08:00
信鑫-King
12f6d8ada4
Merge pull request #14684 from RunningCoderLee/master
...
add ValidateFieldsOptions typing for validateFields
2019-02-02 19:03:29 +08:00
zombieJ
4668bf6ddd
update code ( #14700 )
...
close #12749
2019-02-02 18:30:40 +08:00
zeroslope
ff41bfe2fb
修改FAQ的描述
...
FAQ中,标题‘如何移除 2 个汉字时字间的空格’,“汉字‘时’字间”中的时多余,且“汉字字间”不容易断句,在不改变原来意思的情况下改为
“如何移除 2 个汉字之间的空格”
2019-02-02 12:00:16 +08:00
RunningCoderLee
86e0431f9b
fix: make all the properties in the ValidateFieldsOptions typing optional
2019-02-02 11:50:44 +08:00
RunningCoderLee
71503751a2
add ValidateFieldsOptions typing for validateFields
2019-02-02 11:30:11 +08:00
zombieJ
0cb00e47b8
fix icon miss viewBox ( #14686 )
2019-02-01 23:04:41 +08:00
Amumu
6668c12c46
remove placeholder border override ( #14533 )
...
* remove placeholder boder override
* adjust radius when bordered
2019-02-01 16:22:10 +08:00
Cheng
27f926fe93
Feat timepicker clearicon ( #14556 )
...
* ✨ custom clearIcon for time-picker
* 📝 update readme
2019-02-01 15:55:03 +08:00
kristof0425
ad363570c3
fix(Modal): rm remaining unnecessary string type
2019-02-01 01:20:39 +08:00
kristof0425
5b2a5398cf
fix(Modal): correct type in comment
2019-02-01 01:20:39 +08:00
kristof0425
0a6642e595
refactor(Modal): rm unnecessary string
2019-02-01 01:20:39 +08:00
kristof0425
c97bd20faf
docs(Modal): change type of okText and cancelText props
2019-02-01 01:20:39 +08:00
kristof0425
e0edd82a76
fix(Modal): allow ReactNode for okText and cancelText props
2019-02-01 01:20:39 +08:00
Florian Orpelière
031876bbf3
Update tree select documentation
...
According to https://github.com/react-component/tree-select documentation
2019-01-31 22:29:28 +08:00
sylvanasGone
05df3aa552
fix: add missing typing for style prop
2019-01-31 17:42:35 +08:00
tangjinzhou
8832be1fc7
fix: auto-complete placeholder not display when disabled
2019-01-31 17:31:08 +08:00
afc163
3b40bfb058
🐛 Tweak calendar select width for IE9
...
close #14464
2019-01-31 17:19:55 +08:00
afc163
b8fd449f84
🐛 Fix margin in calendar select
...
close #14636
2019-01-31 17:19:55 +08:00
zombieJ
aa5ed8c237
Continue works on #12667 ( #14668 )
...
* Update index.tsx
* add limitation on checking labelPlacement
* add type checking of 'mode' in DatePickerProps
2019-01-31 16:52:29 +08:00
杨小事er
1b57dff9bb
🐛 fix(tootip):fix when title is too short arrow appears outside of tooltip
...
close #14667
2019-01-31 16:42:33 +08:00
ycjcl868
28986d00e0
📝 fix className ts definition
2019-01-31 16:14:54 +08:00
kuitos
fc56fe9ce5
typing fix
2019-01-31 14:45:45 +08:00
Ahmed AlSammany
52846791b5
fix for https://github.com/ant-design/ant-design/issues/14650
2019-01-31 11:00:14 +08:00
Alvin Abia
9368753605
Fixed typo in Skeleton component doc
2019-01-30 14:07:51 -05:00
afc163
56ac01610f
💄 font-feature-settings to enable monospaced for OpenType font
...
https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings
2019-01-30 21:54:43 +08:00
afc163
22dbe4f5b3
:typo: @dawer-prefix-cls => @drawer-prefix-cls
2019-01-30 11:38:53 +08:00
郑旭
b3df86a74f
fix destroyFns not reduce when instance.destroy() ( #14600 )
...
* fix destroyFns not reduce when instance.destroy()
* Use object destructuring prefer-destructuring
2019-01-30 10:46:30 +08:00
Ahmed AlSammany
5ed909c9c8
🐛 Fixed src prop for Avatar not effective after image load error
...
* fix for https://github.com/ant-design/ant-design/issues/14605 , reset isImgExist state on src prop update
* add TC for https://github.com/ant-design/ant-design/issues/14605
2019-01-29 21:11:46 +08:00
afc163
305041a79d
💄 update table demo
2019-01-29 18:26:21 +08:00
afc163
a68a1aec63
💄 Tweak checkbox style
2019-01-29 15:39:56 +08:00
afc163
b31e10a458
💄 Tweak Checkbox check align style
...
close #14271
2019-01-29 15:31:40 +08:00
afc163
d3e16b2dc6
🐛 Remove upload control if there is no trigger
...
in case of upload control triggered by label in some situations
close #14298
2019-01-29 15:31:39 +08:00
afc163
579a868f15
🐛 Fix Table selection checkbox label wrap style
...
close #14316
2019-01-29 15:31:39 +08:00
afc163
a29806f895
📝 upgrade some documentations for progress and skeleton
2019-01-29 15:23:23 +08:00
zombieJ
9a70b92ab2
Merge pull request #14615 from ant-design/fix-DemoDynamic-undefine
...
fix: site demo, dynamic form firstItem undefined
2019-01-29 14:32:56 +08:00
zombiej
34370e69eb
update doc
2019-01-29 12:30:21 +08:00
zombiej
6807b70b04
update doc
2019-01-29 12:00:23 +08:00
ycjcl868
89653d2e89
📝 fix site demo, dynamic form firstItem undefined
2019-01-29 11:50:43 +08:00
zombieJ
6560697c09
Merge pull request #14608 from sdli/fastFix
...
fix #14557
2019-01-29 11:44:28 +08:00
zombieJ
92817e28ea
Merge pull request #13380 from ant-design/doc-tree-select
...
Docs: tree-select open custom icon
2019-01-29 11:36:33 +08:00
zombiej
cd6071e04d
update ts def
2019-01-29 11:21:07 +08:00
zombiej
c61c9e5ae3
Merge branch 'master' into doc-tree-select
2019-01-29 11:16:32 +08:00
zombiej
fc6f7336be
update style
2019-01-29 11:04:22 +08:00
shawtung
b6f8365d53
为before pseudo增加负index, 避免其挡住自定义overlay的点击
...
如果overlay没有设置position也没有transform样式, 其层级会低于这个伪元素, 导致无法被点击到.
2019-01-29 10:58:42 +08:00
Subroto
7b8a39772b
Fix fileIndex
not found TypeError (IE 11)
...
fileIndex is not present in IE 11 Array.prototype
2019-01-29 10:53:35 +08:00
afc163
0b3d7d62fa
📝 fix typo
2019-01-29 10:46:42 +08:00
sdli
18262297da
fix table.pagination bug - when pageSize is larger than data source length
2019-01-28 22:43:03 +08:00
afc163
3fcb8fa0b3
💄 Fix stylelint errors
2019-01-28 19:06:38 +08:00
Subroto
7d7de2a599
fix IE 11 bug
...
If `flex-basis` is not set, it is taken as `0px` as default, breaking the ui in IE 11.
2019-01-28 18:46:47 +08:00
zombieJ
a379c47162
add missing defaultFormat ( #14593 )
2019-01-28 14:07:26 +08:00
afc163
5de5f4c458
🐛 Fix errors in lgtm.com
...
https://lgtm.com/projects/g/ant-design/ant-design/alerts/?mode=list
2019-01-28 14:02:32 +08:00
zombieJ
8838bd602d
update ( #14591 )
2019-01-28 13:29:20 +08:00
Bora Ikizoglu
3e85e51b58
Fixed Form.create missing type ( #14584 )
2019-01-28 12:35:57 +08:00
zombieJ
6240871c6b
update css hack ( #14588 )
2019-01-28 11:46:57 +08:00
zombieJ
b4050d3d52
fix typescript ( #14587 )
2019-01-28 11:10:56 +08:00
zombiej
ff8ef180e8
add hide icon sample on showLine
2019-01-26 19:46:30 +08:00
zombiej
b835110f79
merge master
2019-01-26 12:02:56 +08:00
zombieJ
bfec344de5
Not show spining mask in ie <= 10 ( #14511 )
...
* not show spining mask in ie <= 10
fix #14365
* revert, let's use css check for this
* add styleChecker
* add pointer-events check
* delay check spin not support when did mount
* use css hack replace style check
2019-01-26 11:55:53 +08:00
zombieJ
633c3aeb25
update rc-switch ( #14560 )
...
close #7181
2019-01-26 01:26:48 +08:00
zombiej
f5cbf0f9f1
update getFieldsValue types
2019-01-25 16:01:21 +08:00
zombieJ
318dff9feb
not show overflow content when in elastic ( #14550 )
2019-01-25 15:35:48 +08:00
zombieJ
5ac80c8e55
Use addonAfter
instead of suffix
when use enterButton
in Input.Search ( #14461 )
...
fix #14450
2019-01-25 11:06:05 +08:00
ztplz
18332d8e76
FIx RadioButton cause RadioGroup onChange event trigger twice ( #14523 )
...
fix #14485
2019-01-25 10:32:30 +08:00
zombieJ
d1fde3670c
Time picker allow clear ( #14490 )
...
close #14472
2019-01-25 10:31:09 +08:00
Gautier
8bb3b10c01
Add a new less variable to override the list header background ( #14519 )
...
* Add a new less variable to override the list header background
* Add a new less variable to override the list footer background
2019-01-24 19:52:47 +08:00
krokofant
de8ec0152e
#14510 Set small table header to transparent to remove uncolored margin
2019-01-24 17:58:12 +08:00
iojichervo
e5a1e30055
Add MenuItem style type
2019-01-24 15:39:16 +08:00
ztplz
d30fdf11d7
Fix changing the count of a badge with border-color raises an error ( #14525 )
...
fix #14516
2019-01-24 12:17:38 +08:00
Michael Salaverry
18dc2c2743
Documentation: fixed typos and grammar ( #14518 )
2019-01-24 10:51:47 +08:00
偏右
47e23d4137
Add expandIcon for Collapse ( #14060 )
...
close #14058 #12212
2019-01-23 10:41:07 +08:00
afc163
909b3b5235
🐛 Fix col span type to number | string
...
close #14324
2019-01-23 10:40:47 +08:00
Wei Zhu
c4026c4cb5
fix: remove duplicate type ( #14444 )
...
Already defined in AbstractSelectProps
2019-01-23 10:39:59 +08:00
MaoYiWei
5ec4383b3f
Add definition for Menu.SubMenu ( #14488 )
...
Fix Menu.SubMenu props from any to real def
2019-01-23 10:32:35 +08:00
afc163
d3d5a3e18d
Merge branch 'master' into feature-for-resolve-conflict
...
* master: (45 commits)
Add type definitions for Steps.Step (#14468 )
add select check to fix edge wave issue (#14469 )
Fix for Pagination ellipsis misalignment (#14473 )
change sentry id
✅ Add sentry in ant.design
💄 New Sketch resources!
fix transfer ref (#14441 )
Add onMouseEnter and onMouseLeave for Menu Item (#14454 )
update snapshot (#14467 )
📝 beautify code style in documentation (#14457 )
Updating type: TreeSelectProps.getPopupContainer (#14443 )
change error version
3.12.4 changelog (#14436 )
Format
Fix the bug that radio onchange will be ovrride by radioGroup onchange (#14364 )
docs: updated doc for create-react-app
fix prefixCls of empty go to div (#14404 )
update snapshot (#14406 )
add radius on table-placeholder to fix table small size border clip (#14398 )
fix style of Input.Search with enterButton (#14397 )
...
2019-01-22 17:34:10 +08:00
wx1322
7faae1ada5
Add type definitions for Steps.Step ( #14468 )
...
fix #14442
2019-01-22 17:11:31 +08:00
zombieJ
0e8e2b53e4
add select check to fix edge wave issue ( #14469 )
...
* add select check to fix edge wave issue
fix #14466
* update style
* add comment
* rm removeAttribute
2019-01-22 16:23:59 +08:00
Ran Byron
16ec6e954e
Fix for Pagination ellipsis misalignment ( #14473 )
2019-01-22 15:56:59 +08:00
eidonjoe
5d025522e8
fix transfer ref ( #14441 )
...
* fix transfer ref
* delete transfer list search ref
2019-01-22 11:56:04 +08:00
ztplz
8cce556309
Add onMouseEnter and onMouseLeave for Menu Item ( #14454 )
...
fix #14357
2019-01-22 11:25:20 +08:00
zombieJ
9a8e3dd609
update snapshot ( #14467 )
2019-01-22 11:03:55 +08:00
Kasra Bigdeli
4e116962f2
Updating type: TreeSelectProps.getPopupContainer ( #14443 )
...
TreeSelectProps extends AbstractSelectProps. However, the method signatures are different causing compilation issue with typescript:
```
Failed to compile.
/home/kasra/Desktop/Repos/frontend/node_modules/antd/lib/tree-select/interface.d.ts
Type error: Interface 'TreeSelectProps' incorrectly extends interface 'AbstractSelectProps'.
Types of property 'getPopupContainer' are incompatible.
Type '((triggerNode: Element) => HTMLElement) | undefined' is not assignable to type '((triggerNode?: Element | undefined) => HTMLElement) | undefined'.
Type '(triggerNode: Element) => HTMLElement' is not assignable to type '(triggerNode?: Element | undefined) => HTMLElement'.
Types of parameters 'triggerNode' and 'triggerNode' are incompatible.
Type 'Element | undefined' is not assignable to type 'Element'.
Type 'undefined' is not assignable to type 'Element'. TS2430
24 | rootPId?: string;
25 | }
> 26 | export interface TreeSelectProps extends AbstractSelectProps {
| ^
27 | autoFocus?: boolean;
28 | defaultValue?: string | number | Array<any>;
```
2019-01-21 17:14:02 +08:00
ztplz
be51df6c4c
Format
2019-01-18 18:15:50 +08:00
ztplz
2d5b625177
Fix the bug that radio onchange will be ovrride by radioGroup onchange ( #14364 )
...
* Fix the bug that radio onchange will be ovrride by radioGroup onchange
* Update
* Remove unused comment
* Add tests
* Update
2019-01-18 16:12:47 +08:00
zombieJ
283187761a
progress all support successPercent ( #14412 )
...
close #14332
2019-01-18 15:19:36 +08:00
zombieJ
7ed045ce57
fix prefixCls of empty go to div ( #14404 )
...
close #14403
2019-01-17 22:32:52 +08:00
zombieJ
1e7b3de159
update snapshot ( #14406 )
2019-01-17 22:05:28 +08:00
zombieJ
5a1119f37d
add radius on table-placeholder to fix table small size border clip ( #14398 )
...
fix #14388
2019-01-17 17:14:07 +08:00
zombieJ
321117c5e8
fix style of Input.Search with enterButton ( #14397 )
...
fix #14396
2019-01-17 16:52:12 +08:00
richardison
2a99fe713a
Add missing type on table definition ( #14392 )
2019-01-17 13:44:15 +08:00
zombieJ
343a7a9c3a
remove ul when list is empty ( #14390 )
2019-01-17 11:46:07 +08:00
TomIsion
44005529db
getPopupContainer callback param should be optional
2019-01-17 00:44:07 +08:00
zhaopeidong
21ca7895fb
fix table ColumnProps interface
2019-01-17 00:43:47 +08:00
Hal-pan
692392d320
fix test case
2019-01-17 00:43:26 +08:00
Hal-pan
7c5083f4fa
add test case
2019-01-17 00:43:26 +08:00
Hal-pan
4ac517d610
fix upload remove
2019-01-17 00:43:26 +08:00
zombieJ
8c5683d316
update rc-tabs to support customize node ( #14368 )
...
close #9990
2019-01-16 20:00:23 +08:00
zombieJ
4ea65d36da
add missing style copy ( #14375 )
2019-01-16 17:28:02 +08:00
zombieJ
439c5ac29c
fixed the css in input-number ( #14373 )
...
fix #14367
2019-01-16 16:46:55 +08:00
信鑫-King
8896f7b4af
feat: select border less param ( #14348 )
2019-01-15 18:03:17 +08:00
zombieJ
04111fb40e
Support date format in locale ( #14340 )
...
* use locale format
* remove monthFormat
* use locale format
* add test case
2019-01-15 16:58:40 +08:00
afc163
9202509503
💄 fix slider focus style
2019-01-14 23:49:41 +08:00
ztplz
8abfcdd30a
Correct type
2019-01-14 12:10:55 +08:00
ztplz
46a7a048dc
Replace text-decoration-skip: ink to text-decoration-skip-ink: auto
2019-01-14 01:01:50 +08:00
afc163
766eafbb5f
🐛 Revert #14157 to resolve input icon missing
...
close #14310
2019-01-13 22:02:38 +08:00
afc163
e39de50b4a
🔨 tweak typescript types
2019-01-13 21:53:10 +08:00
chunlea
1f87132b36
FIX: correct typings for EmptyProps in Empty Component
2019-01-13 21:51:07 +08:00
诸岳
307c877a02
Merge master branch
2019-01-13 21:18:38 +08:00
ztplz
0b8fadd24c
Update
2019-01-13 01:36:25 +08:00
ztplz
ab2dd31087
Add types for warning
2019-01-13 01:36:25 +08:00
ztplz
2ec3c37c42
Add bodyStyle for drawer
2019-01-12 13:22:58 +08:00
Yangzhedi
0e1564f499
fix(modal): add forceRender interface
2019-01-12 13:21:21 +08:00
Simo Aleksandrov
462819c5d9
Translate Input.Password properties
2019-01-11 14:07:03 +02:00
诸岳
00102d4278
ts: Extend ListItemProps from native div element attributes, close #14171
2019-01-11 11:52:35 +08:00
afc163
a075c90321
🐛 Fix Modal.confirm wrong align in small screen
...
close #14279
2019-01-11 11:38:42 +08:00
Thomas
df65240094
feat: Add transitionName and maskTransitionName for Modal.method ( #14273 )
2019-01-11 09:43:44 +08:00
ztplz
689f32a07f
Remove the border when drawer has no title
2019-01-11 00:04:21 +08:00
tangjinzhou
13ee0ad52f
should not call afterClose when change visible from false to true
2019-01-10 21:56:27 +08:00
Yangzhedi
41e2103c80
test(date-picker): add date-picker not auto focus test
2019-01-10 21:56:13 +08:00
Yangzhedi
319949ee1a
fix(date-picker): fix open judgement
2019-01-10 21:56:13 +08:00
Yangzhedi
ee1beaa459
fix(date-picker): fix open prop
2019-01-10 21:56:13 +08:00
Yangzhedi
f52b087194
fix(date-picker): fix focus
2019-01-10 21:56:13 +08:00
zombiej
8f9f5843eb
update snapshot
2019-01-10 21:55:21 +08:00
zombiej
0a67272ae4
add locale update
2019-01-10 21:55:21 +08:00
zombiej
12af9a9dca
icon add aria-label support
2019-01-10 21:55:21 +08:00
afc163
1e62802d58
✅ Add test case for unmounting spin
2019-01-10 21:55:12 +08:00
afc163
e34e215f5f
✅ update debounce when update delay
...
⚡ ️ improve getDerivedStateFromProps return value
2019-01-10 21:55:12 +08:00
afc163
ac847769c0
✅ Add test case
2019-01-10 21:55:12 +08:00
afc163
82b9fd271e
🐛 fix delay not working
2019-01-10 21:55:12 +08:00
afc163
b7b3af7cef
✅ fix test case
2019-01-10 21:55:12 +08:00
afc163
9ecb3725a1
🐛 Fix spin[delay] never render
...
also simplify the code of spin, a lot
close #14100
2019-01-10 21:55:12 +08:00
afc163
a9c8874854
🐛 Fix custom filterDropdown trigger sorter
...
close #14238
2019-01-10 21:54:36 +08:00