Commit Graph

7980 Commits

Author SHA1 Message Date
ilanus
e409618600 📝 update docs 2018-11-03 00:17:58 +08:00
ilanus
a0f03c819f 🎨 minor touch-ups 2018-11-03 00:17:58 +08:00
ilanus
423654430e ️ finalize comment 2018-11-03 00:17:58 +08:00
ilanus
49e8672e25 🚨 linting comment 2018-11-03 00:17:58 +08:00
ilanus
88a3737e61 🎉 cleanup comment 2018-11-03 00:17:58 +08:00
ilanus
5a7e17ac57 💄 adjust styles 2018-11-03 00:17:58 +08:00
ilanus
bd9e6c57d4 🔥 rm direction prop 2018-11-03 00:17:58 +08:00
ilanus
06b3d29d12 👌 updating code after review 2018-11-03 00:17:58 +08:00
ilanus
2872cf2c44 update comment snaps 2018-11-03 00:17:58 +08:00
ilanus
11e6fec65a updating comment api, docs and demos 2018-11-03 00:17:58 +08:00
ilanus
2be48ead91 🐛 comment cleanup 2018-11-03 00:17:58 +08:00
ilanus
60b20d3cbf updating tests 2018-11-03 00:17:58 +08:00
ilanus
4530cfda0e ️ comment nested and content updates 2018-11-03 00:17:58 +08:00
Ilan
2493da7c5b 📝 update zh-CN docs 2018-11-03 00:17:58 +08:00
Ilan
cec2b3ee6d comment editor component with demo 2018-11-03 00:17:58 +08:00
Ilan
3b01ed3b53 👌 update code after pr review 2018-11-03 00:17:58 +08:00
Ilan
5c095b8c1e 🐛 fixing comment prefix typo 2018-11-03 00:17:58 +08:00
Ilan
1ad5baaf23 updating tests 2018-11-03 00:17:58 +08:00
Ilan
30db3f2a05 nested comment with demo 2018-11-03 00:17:58 +08:00
Ilan
53dd4731f1 initial comment component 2018-11-03 00:17:58 +08:00
afc163
2aefdda0ff Build in and improve UI of nested Table in expand-children Table
close #12877
2018-11-02 18:23:26 +08:00
zombiej
301c97d61c fix onPopupScroll def. ref #12913 2018-11-02 15:38:04 +08:00
afc163
b56ef2b7bf docs: update List grid column optional values, close #12901 2018-11-01 14:57:10 +08:00
afc163
b1d8d173cd update typescript array definites 2018-11-01 14:57:10 +08:00
afc163
a264c6f345 Add less variable @modal-header-bg, close #12914 2018-11-01 14:57:10 +08:00
ztplz
8dc98dd690 Improve Affix 2018-11-01 14:55:41 +08:00
afc163
553f5cfcfc docs: update List grid column optional values, close #12901 2018-11-01 14:53:21 +08:00
afc163
78a82151eb update typescript array definites 2018-11-01 14:49:51 +08:00
afc163
af2e76d64c Add less variable @modal-header-bg, close #12914 2018-11-01 14:42:17 +08:00
afc163
0fc32da6ea Merge branch 'master' into feature
* master: (27 commits)
  Fix sort order broken issue when columns were put in render
  fix Modal docs typo
  Improve Alert
  update select props :onPopupScroll
  add transform-origin on dropdown as menu
  Update validate-other.md
  should not hide avatar in vertical item layout of List
  fix stylelint again by locking version :sad:
  Fix fixed-columns Table border issue, close #9687
  site: still need the fallback scrollIntoView, #12683
  use latest stylelint
  site: fix npm run site error
  Update jsdom requirement from ^12.1.0 to ^13.0.0
  🐛 dynamic form doc fix
  Fix button icon margin style bug
  remove babel-plugin deps
  clean up useless deps
  Use recomended babel-preset-env
  findDOMNode to refs, close #12843
  componentWillReceiveProps => getDerivedStateFromProps
  ...
2018-11-01 14:36:14 +08:00
afc163
a7f17b4cde Fix sort order broken issue when columns were put in render
will handle these situation

- with 'key'
- with function has same stringify value

close #12870
close #12737
2018-11-01 13:44:48 +08:00
zy410419243
fa7452ed23 when tooltipVisible is true, tooltip should show always, or should never show 2018-11-01 12:05:52 +08:00
Pouya Sanooei
a70d64451b fix Modal docs typo 2018-11-01 12:05:24 +08:00
ztplz
7ab93543ef Improve Alert 2018-11-01 10:31:09 +08:00
LLinFan-
bbd9556801 update select props :onPopupScroll
update select props type:onPopupScroll
2018-11-01 10:30:22 +08:00
zombiej
b30ba9561f add transform-origin on dropdown as menu 2018-10-31 22:25:21 +08:00
Edward
cdc39d085b Update validate-other.md 2018-10-31 20:35:39 +08:00
afc163
cc37b8ef35 should not hide avatar in vertical item layout of List 2018-10-31 18:55:54 +08:00
afc163
83cc148a7a fix stylelint again by locking version :sad: 2018-10-31 17:51:22 +08:00
afc163
08600adade Fix fixed-columns Table border issue, close #9687 2018-10-31 17:03:40 +08:00
ilanus
42ed19164e 🐛 dynamic form doc fix 2018-10-30 20:13:56 +08:00
afc163
546c59a4c1 Fix button icon margin style bug
```jsx
<Button loading>
  <TwoChineseWords />
</Button>
```
2018-10-30 19:13:29 +08:00
afc163
087f7efd10 findDOMNode to refs, close #12843 2018-10-30 16:17:24 +08:00
afc163
5e12b0a5ca Fix Menu Submenu animation when switch inlineCollapsed, close #12864 2018-10-30 15:09:40 +08:00
afc163
af653a8b69 revert f7fa8e0 2018-10-30 14:23:45 +08:00
afc163
f7fa8e0eb6 Fix menu submenu animation, close #12864 2018-10-30 12:00:27 +08:00
MuYu
72a6febcc4 fix: select type definition (#12865)
* fix: select type definition

* fix: wrapPicker type definition

* fix: select type definition
2018-10-30 10:52:27 +08:00
Wei Zhu
af54f500eb Merge branch 'master' into feature 2018-10-29 19:40:08 +08:00
Charlie Guan
f4f0c34bc3 Update index.en-US.md
Fix typos, and provide minor grammar improvements.
2018-10-29 14:52:11 +08:00
afc163
bc3d8c5826 Fix Avatar children wrong align in Popover
close #10917
2018-10-28 23:45:36 +08:00
afc163
3786169624 Fix divider expand popover card width
close #10914
2018-10-28 23:25:40 +08:00
afc163
fe3f110085 does: update button api documentation 2018-10-28 20:57:23 +08:00
zombiej
c6eef86f83 add miss itemRender arg
fix #12810
2018-10-28 13:40:39 +08:00
zombiej
c2e62c1910 fix doc
close #12806
2018-10-28 13:32:29 +08:00
stickmy
51e895b67f fix: patch to components/_util/isNumeric type check (#12799) 2018-10-28 11:09:57 +08:00
zombiej
9aa62d42c2 Modal.xxx support maskStyle
fix #12688
2018-10-27 18:54:52 +08:00
afc163
b1f9d36881 Fix different height of FormItem with help info
windows 7

close #12803
2018-10-27 17:40:05 +08:00
afc163
c9e2d8acf6 Fix checkbox of checked style under Table missing in IE
close #12597
2018-10-27 17:35:04 +08:00
afc163
073ffd6503 fix typo selector, #12723 2018-10-26 23:59:57 +08:00
afc163
df5bf38bdc Fix Form[inline] help and extra overlapped
close #12725
2018-10-26 23:53:57 +08:00
afc163
a835536dde Fix checkbox align of small/middle size table, close #12723 2018-10-26 23:49:13 +08:00
afc163
6f955681b8 Fix small size table header border missing in Firefox
close #12840

ref #12628
2018-10-26 23:22:41 +08:00
afc163
389ecaa8ff Fix Card title overflow bug
close #12680

close #10576 in another way
2018-10-26 23:03:28 +08:00
afc163
ba5409afa3 Merge branch 'master' into feature 2018-10-26 18:48:34 +08:00
yoyo837
512e85ec5f fix test case 2018-10-26 12:29:43 +08:00
yoyo837
da143a064f fix test case 2018-10-26 12:29:43 +08:00
yoyo837
49f4fdf9b6 update demo 2018-10-26 12:29:43 +08:00
yoyo837
722b903118 update docs react-component/table#222 2018-10-26 12:29:43 +08:00
偏右
54e24421d1
Update index.zh-CN.md 2018-10-26 00:13:54 +08:00
zombiej
bc35582643 update tree draggable demo 2018-10-25 11:19:17 +08:00
afc163
bd0ba8ce92 update menu snapshot 2018-10-25 10:42:11 +08:00
hengkx
e1db20c25b fix #12758 2018-10-25 00:40:55 +08:00
hengkx
78f6bb769d Revert "fix #12758 multiple Select drop-down bug when set dropdownMatchSelectWidth"
This reverts commit 6fcdce97f2.
2018-10-25 00:40:55 +08:00
hengkx
795370d0ea fix #12758 multiple Select drop-down bug when set dropdownMatchSelectWidth 2018-10-25 00:40:55 +08:00
zombiej
0235ba585f adjust small table placeholder style
fix #12682
2018-10-24 23:30:03 +08:00
zombiej
2553edbb6b Fix Calendar month picker not correct when set with validRange
fix #12675
2018-10-24 21:40:41 +08:00
zombiej
4b9027f53a Checkbox under group also should trigger onChange
ref: #12642
2018-10-23 23:43:11 +08:00
afc163
a27c8a2740 demo: update modal demo 2018-10-23 23:16:22 +08:00
afc163
d4b51af29c docs: remove useless vertical-right mode 2018-10-23 19:55:18 +08:00
ztplz
1fedef37b8 Improve getScroll 2018-10-23 13:34:13 +08:00
Ivan Kravets
65f85257b0 Avoid static table backgrounds and use dynamically calculated
Tested with light/dark themes.
2018-10-23 12:30:59 +08:00
Wei Zhu
3dbc357ff2 Update Icon typeings 2018-10-22 13:36:03 +08:00
ztplz
232f179f24 update 2018-10-22 10:15:57 +08:00
ztplz
682af0d44b add missed property 'key' in TabPaneProps 2018-10-22 10:15:57 +08:00
zombiej
d814145b7e fix form demo 2018-10-21 13:29:43 +08:00
Jacques Kvam
4f8200bf53 more natural sounding english for radio component
This sounded a little awkward to me, so I tried to improve it.
2018-10-21 12:48:45 +08:00
jinyaqiao1102
c2ce43457e 修改时间选择框样式错误问题 2018-10-21 12:06:36 +08:00
afc163
93a9b2fc5e Fix test case 2018-10-21 12:04:03 +08:00
afc163
faa5eaef12 Fix Popconfirm defaultVisible
close #12733
2018-10-19 23:57:16 +08:00
afc163
cb24060955 test: add test case for calendar locale prop 2018-10-19 23:54:10 +08:00
Michael Krog
cde74cd39a Adds danish locale 2018-10-19 19:26:12 +08:00
dazbo
f24917bb5f Add display rule to fix Edge ignoring pointer-events (#12712) 2018-10-19 11:17:23 +08:00
黄文鉴
057c8a3e52 fix: prefixCls dosen't pass to Popconfirm's Button (#12677) 2018-10-19 11:13:29 +08:00
afc163
68763b182f Fix Checkbox[checked] indeterminate style
close #12724
2018-10-19 11:12:33 +08:00
afc163
f79b0993a4 Progress[type="circle"] should wrap text
close #12718
2018-10-19 11:04:43 +08:00
Kevin Wang
a9e92b8451 Removed line break in dataSource description
Removed line break in dataSource description
2018-10-19 10:45:40 +08:00
afc163
fb2e355f14 Calendar locale prop should have priority
close #12706
2018-10-18 23:35:14 +08:00
afc163
2c5366603c chore: fix code indent 2018-10-18 23:35:14 +08:00
Li Chao
b92d4ed627 Update head.md
The parameters of the sorter method are rows
2018-10-18 11:09:59 +08:00
zombiej
593cb2cca5 notification support onClick
close #11832
2018-10-18 10:16:56 +08:00
zombiej
0e1caae01d Table add expandIcon prop
close #10819, #11802
2018-10-17 21:22:40 +08:00
zombiej
bf83845986 remove useless line 2018-10-17 15:30:26 +08:00
Nima Dehnashi
54b944e8ee Allow font-variant to be customized 2018-10-17 14:43:43 +08:00
afc163
86c11e5eb5 Fix vertical align issue of empty button
close #12681
2018-10-17 11:07:25 +08:00
zombiej
ca49ecb4be fix tabs ink-bar vertical css
ref #12276
2018-10-16 22:59:55 +08:00
afc163
fc6ac421c2 Refactor Badge and support count as custom component
close #11134
close #12140
2018-10-16 15:07:24 +08:00
Hieu Ho
ea25889f1a Add VN locale for date picker component 2018-10-16 12:09:17 +08:00
afc163
f7102b4b20 demo: fix avatar align 2018-10-16 12:08:44 +08:00
zombiej
4557d1daa5 add touch-action css on slider to fix chrome warning
fix #12595
2018-10-15 23:58:42 +08:00
decade
4d42f75a59 add TreeSelect type 2018-10-15 17:43:05 +08:00
afc163
35e3e9b8bf Merge branch 'master' into feature 2018-10-15 14:48:49 +08:00
afc163
42e5b8b77e Fix Table th border missing in Firefox
close #12628

solution found at https://stackoverflow.com/a/16337203
2018-10-15 11:12:16 +08:00
Ilan
0df4678562 👌 updating customized form controls demo 2018-10-15 10:49:50 +08:00
Yuhang Liu
aa520f7f5c fix: round progress support strokeColor (#12587) 2018-10-13 01:19:41 +08:00
zombieJ
ca080ac6ea Transfer support onSearch (#12422)
* add onSearch

* add warning

* update doc

* add test case

* add legacy onSearchChange test
2018-10-12 23:47:42 +08:00
afc163
c8d36568bb Merge branch 'master' into feature 2018-10-12 19:52:04 +08:00
afc163
bc1ad14590 update snapshot 2018-10-12 19:18:09 +08:00
afc163
76b64b5da0 Fix overflow issue of long text in Progress[type="circle"] 2018-10-12 18:05:30 +08:00
afc163
436cbeed7b fix DatePicker clear behavior bring by 3640754 2018-10-12 16:25:23 +08:00
黄文鉴
df9b20209c fix: change modal's default prefixCls to ant-modal and ant-modal-confirm (#12548) 2018-10-12 14:04:26 +08:00
Dimitri Mitropoulos
8eaf66be0e adds missing Select.Option type for style (#12609) 2018-10-11 23:47:53 +08:00
comerc
3898c45c5d Typo (#12608) 2018-10-11 23:47:39 +08:00
afc163
0f1d191123 update snapshot 2018-10-11 15:50:08 +08:00
afc163
4e09b3f4fc Fix disabled style in AutoComplete, close #12594 2018-10-11 15:44:20 +08:00
afc163
965fd231b3 Merge branch 'master' into feature 2018-10-11 15:17:57 +08:00
偏右
a4c1bccd2a
Fix upload and mention test cases (#12586) 2018-10-11 15:11:44 +08:00
Oren Kosto
b0c061772b Updated the rc-calendar and rc-pagination libs, and the locale-provider snapshot 2018-10-11 14:54:10 +08:00
Oren Kosto
b05488c3b0 Added Hebrew translations 2018-10-11 14:54:10 +08:00
zombiej
7da2f48c78 adjust pagination select style
fix #12554
2018-10-11 13:29:59 +08:00
Yuri Pirola
150921b339 Fix Italian translation (fix #12413)
* Fix Italian translation.
* Update relevant snapshots.
2018-10-11 00:03:56 +08:00
陈帅
236f48e8ce fix#12401,mask=false, Will not be masked 2018-10-11 00:02:03 +08:00
RyanHui
c095cb4665 modal add mask colse (#12556) 2018-10-10 22:28:38 +08:00
zombiej
5b6957d570 adjust anchor style
fix #12520
2018-10-10 19:15:55 +08:00
Fergus Leung
ec9f8ab7ce add limitation on checking labelPlacement 2018-10-10 17:03:58 +08:00
Fergus Leung
b2b8ae4953 Update index.tsx 2018-10-10 16:17:53 +08:00
afc163
b55d402828 Add test case for Mention 2018-10-10 16:15:44 +08:00
afc163
68c177cdc1 update snapshot 2018-10-10 15:12:06 +08:00
afc163
f1d1d87de0 Fix unexpected column title in unsorted columns 2018-10-10 14:50:59 +08:00
afc163
46f4a3e9da Fix Table sort style of right-aligned column
when size is small
2018-10-10 14:45:56 +08:00
siyu77
9e72ca1b24 Update utils.ts (#12524)
Fix IE 11 or low version edge svg icon can be focusable
2018-10-10 14:12:33 +08:00
afc163
246e131072 update snapshot 2018-10-10 13:58:02 +08:00
afc163
55a13a11fc Fix Table sort style of right-aligned column
close #12552
2018-10-10 13:52:33 +08:00
zombiej
38fd268199 fix #12567
Use same expand logic in DirTree with switcher & selector
2018-10-10 11:51:34 +08:00
afc163
688f4ec8d6 Fix sort state not change when columns in render
close #12571
2018-10-10 11:23:44 +08:00
afc163
9e58e56e76 tweak sorter icon position 2018-10-09 18:53:32 +08:00
afc163
86b342545d Fix sorted column background in small size Table 2018-10-09 18:53:32 +08:00
afc163
d70f52add3 Fix Badge align when it is not a wrapper
close #12419
2018-10-09 18:53:32 +08:00
zombiej
e5cfef565b fix #12475. Picker should get focus after selection. 2018-10-09 17:44:22 +08:00
zombiej
50b55f488e fix #12493. Adjust auto complete of input-group css 2018-10-09 11:52:58 +08:00
zombiej
f9c2310424 fix #12539. delay also double confirm spin status. 2018-10-09 00:02:03 +08:00
zombiej
364075421b fix #12536. Adjust date-picker icon 2018-10-08 20:53:28 +08:00
TomIsion
4d486416bf change Form typescript define about async callback order 2018-10-08 18:05:02 +08:00
afc163
5bef1aa6c2 Fix Checkbox border color collapse inside Table under chrome
https://gw.alipayobjects.com/zos/rmsportal/IfMpUxFpHMcPkgDFsCuH.png
2018-10-08 12:17:03 +08:00
zombiej
73fd819322 Merge branch 'tmp_pr' into feature 2018-10-08 10:08:13 +08:00
zombiej
1bea23cabd add chinese desc of avatar srcSet 2018-10-08 10:08:03 +08:00
zombiej
be76bcb88b update test snap 2018-10-08 10:06:28 +08:00
Amumu
bc54db2185 fix typo 2018-10-07 00:30:13 +08:00
afc163
54581779a8 fix typo 2018-10-06 20:21:46 +08:00
afc163
c4b3e7e58e deme: improve demo code style 2018-10-06 18:58:25 +08:00
afc163
996ee9c0a2 demo: make select demo width adapted 2018-10-06 18:47:18 +08:00
Philip Oliver
afc66b81df added attribute srcSet to Avatar component 2018-10-06 12:25:45 +02:00
afc163
419287de2b Fix sort event on every columns when sorter is true
close #12515
2018-10-06 18:21:30 +08:00
Ilan
3d76e49592 ✏️ update switch types and docs 2018-10-06 15:35:45 +08:00
Ilan
b447ab0a26 🌐 update select zh-CN.md 2018-10-06 15:35:29 +08:00
Ilan
bd2a58f745 ✏️ updating select option types 2018-10-06 15:35:29 +08:00
ycjcl868
09b11b6cde fix #12498. improve autoComplete type definition 2018-10-06 15:33:46 +08:00
Wei Zhu
a9f7a2d38d tweak table sort icon size 2018-10-02 00:48:45 +08:00
Wei Zhu
a3ce6678cb Update snapshot 2018-10-01 23:57:45 +08:00
amedora
192183e047 fix typo (#12489)
- see #12329
2018-10-01 14:17:10 +08:00
Wei Zhu
9cfaf1750d fix: type error 2018-09-30 21:39:12 +08:00
Wei Zhu
40001d8220 Revert "fix: more types"
This reverts commit e063e1916d.
2018-09-30 21:29:14 +08:00
Wei Zhu
ff0595733f refactor: use instanceof instead typeof 2018-09-30 17:04:05 +08:00
Wei Zhu
2bf2bb5af4 fix: type error 2018-09-30 16:58:25 +08:00
Wei Zhu
1c1a67fe1d Merge branch 'feature' 2018-09-30 16:53:28 +08:00
Wei Zhu
e063e1916d fix: more types 2018-09-30 16:39:51 +08:00
Wei Zhu
fe677e2966 fix: type error of filterDropdown 2018-09-30 16:11:25 +08:00
Wei Zhu
ee84f4ce0a fix: some type definitions 2018-09-30 16:07:01 +08:00
Tom Xu
ff4d803181 fix #12395. input group hover style error (#12407)
First of all, thank you for your contribution! :-)

Please makes sure that these checkboxes are checked before submitting your PR, thank you!

* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for branch `feature`.
* [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd).
* [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [x] Rebase before creating a PR to keep commit history clear.
* [x] Add some descriptions and refer relative issues for you PR.

Extra checklist:

**if** *isBugFix* **:**

  * [x] Make sure that you add at least one unit test for the bug which you had fixed.

**elif** *isNewFeature* **:**

  * [ ] Update API docs for the component.
  * [ ] Update/Add demo to demonstrate new feature.
  * [ ] Update TypeScript definition for the component.
  * [ ] Add unit tests for the feature.
2018-09-30 15:23:47 +08:00
Johannes Loewe
0126c63b2d fix #11312: add autoClearSearchValue to AbstractSelectProps (#12473)
- extends the interface with an optional prop that can be provided to the RcSelect

First of all, thank you for your contribution! :-)

Please makes sure that these checkboxes are checked before submitting your PR, thank you!

* [ x ] Make sure that you propose PR to right branch: bugfix for `master`, feature for branch `feature`.
* [ x ] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd).
* [ x ] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [ x ] Rebase before creating a PR to keep commit history clear.
* [ x ] Add some descriptions and refer relative issues for you PR.

Extra checklist:

**if** *isBugFix* **:**

  * [ ] Make sure that you add at least one unit test for the bug which you had fixed.

**elif** *isNewFeature* **:**

  * [ ] Update API docs for the component.
  * [ ] Update/Add demo to demonstrate new feature.
  * [ ] Update TypeScript definition for the component.
  * [ ] Add unit tests for the feature.

This fix is related to Issue #11312 and adds the optional `autoClearSearchValue` prop which can be supplied to `RcSelect` to the Select´s props. This is not really a new feature and a relatively unsubstantial one a that, so I didn´t add a demo for it, but I could do so if that´s desirable.

I updated the English API docs, but I´m not a Chinese speaker so there is no addition to the Chinese documentation. Maybe someone speaking Chinese would be willing to help out.
2018-09-30 15:04:03 +08:00
C.J. Winslow
b9a86b2ea1 Pass the ok and cancel button props in the confirm API (#12425)
This PR adds the `okButtonProps` and `cancelButtonProps` API to the `Modal.confirm` and associated methods.


* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for branch `feature`.
* [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd).
* [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [x] Rebase before creating a PR to keep commit history clear.
* [x] Add some descriptions and refer relative issues for you PR.

Extra checklist:

*isNewFeature* **:**

  * [x] Update API docs for the component.
  * [x] Update/Add demo to demonstrate new feature.
  * [x] Update TypeScript definition for the component.
  * [x] Add unit tests for the feature.
2018-09-30 14:50:03 +08:00
zombieJ
2cd0ca3225 Get the filtered data after executing the filter function on the dataSource (#12369)
* update testcase

* rename as currentDataSource
2018-09-30 11:17:39 +08:00
Wei Zhu
eb4255a39c Update snapshot 2018-09-29 18:13:53 +08:00
Federico Marcos
ab92c934d5 fix incorrect prop passed to checkbox in docs examples (#12448)
prop should be `checked` instead of `value`
2018-09-29 18:09:03 +08:00
Cong Zhang
6867ef9aea Spin: lifecycle method migrate 2018-09-29 17:35:22 +08:00
zombiej
b9e85b2870 fix #12469. Adjust doc of Skeleton type 2018-09-29 17:08:44 +08:00
Erwin Kort
2d8f9ccf63 Add button autofocus prop to confirm modal (#11756)
@picodoth
2018-09-29 17:00:01 +08:00
Wei Zhu
3d58ea4d4c Don't need prepend https to script url 2018-09-29 16:45:57 +08:00
Wei Zhu
c3b2d59bc8 Revert "Feature Icon.createFromIconfontCN adaptive http or https (#12344)"
This reverts commit 7c67dacc12.
2018-09-29 16:44:57 +08:00
Wei Zhu
fcb546ea57 Update snapshot 2018-09-29 16:41:56 +08:00
Wei Zhu
4ce3800de7 Merge branch 'master' into feature 2018-09-29 16:27:07 +08:00
Wei Zhu
4aa2bf804a Merge branch 'list-item-style-config' 2018-09-29 15:44:35 +08:00
snail
6b22ae3b6c [fixed]button can also trigger the click event when loading is true in ie9 (#12466) 2018-09-29 14:41:55 +08:00
Amumu
ef4e699f1d Update avatar.md (#12458) 2018-09-28 22:14:04 +08:00
KentonYu
5545342bd4 docs: 修改 Table 文档 (#12460)
RowSelection 中 onSelectAll、onSelect 说明中的 列 改为 行
2018-09-28 22:05:43 +08:00
Wei Zhu
335f821aec fix: warning on conflicting theme of Icon
fix #12441
2018-09-28 19:31:50 +08:00
Wei Zhu
cfdf06213b fix style lint errors 2018-09-28 19:20:31 +08:00
Wei Zhu
79d3a926ef Update snapshot 2018-09-28 16:19:08 +08:00
Wei Zhu
03bf891259 docs: uppercase SVG 2018-09-28 14:48:56 +08:00
Wei Zhu
17e2002c3c docs: Update icon docs 2018-09-28 14:45:35 +08:00
zombiej
5a0448aa4d fix #12427. CheckGroup support pass dom prop 2018-09-27 17:41:30 +08:00
zombiej
af836c8ed5 fix #12145. Update rc-tree-select to support tree expanded keys 2018-09-26 11:51:40 +08:00
zombiej
bdaf422d2d update avatar size desc in zh_CN.md 2018-09-26 11:19:46 +08:00
Wei Zhu
306bce385b Improve type definition and doc of TableComponents 2018-09-25 19:48:50 +08:00
zombiej
176a8dfcda update test snapshot 2018-09-25 19:45:41 +08:00
zombiej
463d3c72f9 fix #12399. Hide title if is not string 2018-09-25 19:32:08 +08:00
zombiej
1c85bb3b62 fix #12396. Support expandedKeys when init 2018-09-25 15:29:07 +08:00
Magn Mah
292a18bef0 add/fix tooltip align interface (#12354)
* expose align interface

* typescript fix: tooltip 的 align 部分值支持传百分数参数;更新文档
2018-09-23 14:01:06 +08:00
Adam Burgess
9b01ec1ed2 Modal: Add the update function type definition 2018-09-23 13:20:38 +08:00
Xiaoyu Li
1f8ac3f697
fix filterIcon type
based on api [ReactNode|(filtered: boolean) => ReactNode]

https://ant.design/components/table-cn/#components-table-demo-dynamic-settings
2018-09-22 20:11:09 -05:00
ycjcl868
4d1e46e03d Merge master into feature 2018-09-23 01:43:35 +08:00
zombiej
2906b456ce update test case 2018-09-22 14:53:45 +08:00
zombiej
048a9020f3 adjust style 2018-09-22 14:53:45 +08:00
zombiej
50dc59e1ce adjust table style 2018-09-22 14:53:45 +08:00
tangjinzhou
9630dc48a0 fix: openKeys should have higher priority (#12361)
* fix: openKeys should have higher priority

* Update index.tsx
2018-09-22 13:32:21 +08:00
Wei Zhu
ca7d265b2b Refactor Grid with new context API (#12320)
* Refactor Grid with new context API

* Update snapshots of List
2018-09-21 19:30:39 +08:00
qiaojie
7c67dacc12 Feature Icon.createFromIconfontCN adaptive http or https (#12344)
close #12316
2018-09-21 19:07:13 +08:00
afc163
8d3cb85142 fix sort state when toggle between multiple columns 2018-09-21 19:06:38 +08:00
afc163
a0b8637783 destructuring assignment 2018-09-21 19:06:38 +08:00
Wei Zhu
d5a77eff0b Update snapshot 2018-09-21 17:32:35 +08:00
Tom Xu
0b9d00a0ad Upload add props openFileDialogOnClick 2018-09-21 15:56:18 +08:00
偏右
85749c94fb
test: remove it.only 2018-09-21 15:55:00 +08:00
afc163
7c6299e12e Merge branch 'master' into feature 2018-09-21 14:03:04 +08:00
afc163
74f36c6e69 Merge branch 'feature' of github.com:ant-design/ant-design into feature 2018-09-21 14:02:58 +08:00
afc163
f0974e0da7 support column.title as render props
```jsx
columns={[{
  title: (filters, sortOrder) => <div>Title</div>,
}]}
```

close #11246
2018-09-21 13:41:08 +08:00
afc163
71316d6baa update table snapshot 2018-09-21 13:41:08 +08:00
afc163
8feb15ea72 fix test case 2018-09-21 13:41:08 +08:00
afc163
bcb06ec174 Add active style of filtered state 2018-09-21 13:41:08 +08:00
afc163
6530de2961 revert getPopupContainer 2018-09-21 13:41:08 +08:00
afc163
209e40508d fix sort 2018-09-21 13:41:08 +08:00
afc163
da33358e75 tweak icon active style 2018-09-21 13:41:08 +08:00
afc163
27e2654f0f sort by click column area 2018-09-21 13:41:08 +08:00
afc163
6f67c435c2 separate filter and sort into two click area 2018-09-21 13:41:08 +08:00
afc163
4c84dad106 move filter icon to end of column head 2018-09-21 13:41:08 +08:00
HeskeyBaozi
fb8ec65ca0 fix test case snapshot 2018-09-21 13:40:27 +08:00
HeskeyBaozi
457f781e6f treeselect: suffix -> suffixIcon 2018-09-21 13:40:27 +08:00
HeskeyBaozi
006b274d9e timepicker: suffix -> suffixIcon 2018-09-21 13:40:27 +08:00
HeskeyBaozi
a2520b02c9 select: suffix -> suffixIcon 2018-09-21 13:40:27 +08:00
HeskeyBaozi
2b7bd92cf6 datepicker: suffix -> suffixIcon 2018-09-21 13:40:27 +08:00
HeskeyBaozi
2d4a6db22d cascader: suffix -> suffixIcon 2018-09-21 13:40:27 +08:00
HeskeyBaozi
784984d1bf remove progress icon interface 2018-09-21 13:40:27 +08:00
HeskeyBaozi
a1074a6ace add suffix icon interface to time-picker 2018-09-21 13:40:27 +08:00
HeskeyBaozi
844a5a92d7 add suffix icon to tree-select 2018-09-21 13:40:27 +08:00
HeskeyBaozi
a01450debb add suffix interface to select 2018-09-21 13:40:27 +08:00
HeskeyBaozi
93fce1c7a4 fix lint 2018-09-21 13:40:27 +08:00
HeskeyBaozi
1d2aa0fc78 add icon interface to alert 2018-09-21 13:40:27 +08:00
HeskeyBaozi
06b5115fe3 add icon interface to progress 2018-09-21 13:40:27 +08:00
HeskeyBaozi
160d34aeba add suffix icon to date-picker 2018-09-21 13:40:27 +08:00
HeskeyBaozi
96282b1fe8 add suffix icon to cascader 2018-09-21 13:40:27 +08:00
afc163
c4b17f23ef doc: move font icon doc before svg icon 2018-09-21 00:00:19 +08:00
Sepehr Mohammadi
e8c2e7ce72 fix firefox can't set height smaller than content on flex item (#12295)
https://stackoverflow.com/questions/28636832/firefox-overflow-y-not-working-with-nested-flexbox/28639686#28639686
2018-09-20 22:48:13 +08:00
amedora
eb4e6b7fd6 WIP: Add decimal separator prop (#12329)
* Add decimal separator prop

* Update API reference
2018-09-20 16:37:54 +08:00
包子熊
db9e30047c fix upload close icon style error (#12330) 2018-09-20 15:31:23 +08:00
zombiej
1883996943 no need to use let 2018-09-20 10:11:04 +08:00
Yang
a3c1444a20 doc: add dropdown control props (#12323) 2018-09-19 22:50:53 +08:00
zombiej
273fd2ea1b fix #10953. Dedup of file onStart upload 2018-09-19 22:37:35 +08:00
zombiej
954c7ecd8e fix #12284. confirmFilter is after set state 2018-09-19 18:33:09 +08:00
afc163
d03f4bc8db test: fix warning message in jest log 2018-09-19 15:05:55 +08:00
afc163
553a63f01f Merge branch 'master' into feature 2018-09-19 14:34:20 +08:00
afc163
4cac7917c4 update snapshot 2018-09-19 14:33:36 +08:00
afc163
c21ff5251d Fix React.Children.only error when Icon contain children
<Icon>xxx</Icon>
2018-09-19 11:38:07 +08:00
afc163
05646e9459 doc: update input documentation
https://stackoverflow.com/questions/52378848/why-is-there-no-onchange-for-input-in-ant-design/52378880
2018-09-19 11:28:04 +08:00
zombiej
9e9b18c760 update test case 2018-09-19 11:19:33 +08:00
Nikolay Solovyov
60e8a38390 Update ru_RU.tsx 2018-09-19 11:19:33 +08:00
Douglas Nassif Roma Junior
03b89a12cf Fixed Item key unspected change on List component. (#12299) 2018-09-19 11:05:01 +08:00
XuMM_12
0219aa259a fix demo in date-picker doc (#12290)
ref to https://ant.design/components/calendar-cn/ and moment doc, import locale file from moment/locale just defines the locale without use.
2018-09-18 16:57:04 +08:00
Phanupong Janthapoon
0e29194668 update misspelling on index.en-US.md (#12280)
On the line 158, the words "can not" are likely in a wrong construction for this sentence. It would be better to use "cannot" in this context.
2018-09-18 12:38:26 +08:00
zombiej
e58273dccf fix #12269. Fix Tree onDrop ts type 2018-09-17 17:37:20 +08:00
afc163
c65d6f6f36 Merge branch 'master' into feature 2018-09-17 15:01:53 +08:00
afc163
c935d53b71 Fix sorter icon align of Table 2018-09-17 14:53:21 +08:00
afc163
8c57704241 tweak alert code 2018-09-16 18:36:17 +08:00
诸岳
8f06375589 Fix the vertical alignment for the title of Card (#11036)
* fix: The title of Card should be vertically aligned, close #10576

* Update index.less
2018-09-16 17:44:41 +08:00
afc163
811f497d81 update snapshot 2018-09-16 17:31:29 +08:00
afc163
cd9b8b20b5 Merge branch 'master' into feature 2018-09-16 17:29:04 +08:00
afc163
5a9725eeae update snapshot for role="tooltip" 2018-09-16 15:47:25 +08:00
afc163
adb2637fdb site: improve icon documentation about svg icons 2018-09-16 15:09:58 +08:00
picodoth
589bafd5db fix: drop className for tabBar, fix #12051 2018-09-15 15:19:18 +08:00
zombieJ
f9dd709e2f Transfer support disabled (#12084) 2018-09-15 15:18:59 +08:00
afc163
f0f44c6608 fix tslint 2018-09-15 00:24:30 +08:00
Jaroslav Bereza
2d415d0be2 Adds missing argument in onChange event (#12243) 2018-09-14 17:13:48 +08:00
afc163
bc3322daf6 Fix notification demo, close #12238 2018-09-14 12:17:55 +08:00
afc163
efb23c1525 Fix linkProps in upload fileList
1. should support json string format
2. should be able to override props like rel, target, title and etc
2018-09-14 11:43:02 +08:00
afc163
9d5920b39d doc: remove old usage instruction 2018-09-14 11:31:53 +08:00
afc163
0698c82173 adjust icon svg align 2018-09-14 10:58:03 +08:00
zombiej
26c3ea4f4a fix #12233. Height should not in transition. 2018-09-13 20:42:45 +08:00
zombiej
2b22d6b19c bump rc-switch & update test case 2018-09-13 19:47:28 +08:00
Mikasa33
6833e767c6 Add defaultSortOrder (#12229)
添加默认排序参数说明
2018-09-13 19:40:43 +08:00
George Gray
c94eda04c6 add vars for Alert types (#12057) 2018-09-13 17:56:54 +08:00
zombiej
03b198775a close #12221. Adjust form validateFields type 2018-09-13 16:33:02 +08:00
afc163
b70360e95a doc: improve form API documentation 2018-09-12 22:16:53 +08:00
afc163
2952a8625b site: remove old version hint of API 2018-09-12 21:43:01 +08:00
zombiej
526f10d5ff fix #12179. Remove transition of border in small table 2018-09-12 16:51:45 +08:00
afc163
0c0bcce873 tweak skeleton paragraph width 2018-09-12 15:45:49 +08:00
wenzhao.fw
91868eec70 fix issue #12204: add parameter dontAnimate to goTo of Carousel 2018-09-12 14:31:03 +08:00
zombiej
8b5e08be67 fix #12157. Adjust sample of slider with input number 2018-09-11 23:32:17 +08:00
包子熊
4eb7d8f693 Hotfix(Select) add select clear icon (#12196)
close #12181
2018-09-11 20:45:40 +08:00
afc163
fd409df14d tweak badge vertical align 2018-09-11 19:04:35 +08:00
afc163
5d59ee9afb Fix badge offset[0] not working 2018-09-11 19:04:06 +08:00
zombiej
515a206be5 add value number type in TreeSelect 2018-09-11 16:59:56 +08:00
newraina
f8408510a6 fix form onFieldsChange param type (#12185) 2018-09-11 11:54:39 +08:00
afc163
e657985cc3 fix notification icon align when no description 2018-09-10 18:21:16 +08:00