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
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
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
米老朱
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
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
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
+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
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
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
信鑫-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
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
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