Commit Graph

7797 Commits

Author SHA1 Message Date
afc163
488f5a101d Fix <Icon type="cross" /> compatibility, #12970 2018-11-06 11:41:05 +08:00
zombiej
4c5e3492ac add ignoreShake for tooltip(popover) to avoid unecessary reflow
fix #12942
2018-11-06 11:01:39 +08:00
afc163
00c65b046b site: update icon doc translation 2018-11-05 19:04:28 +08:00
afc163
cc5ca6f86f update steps doc 2018-11-05 18:32:05 +08:00
afc163
fe2b348a5a rm default.deperated.less 2018-11-05 14:08:06 +08:00
afc163
799c26a13b revert deleting @font-variant-base by accident 2018-11-05 13:53:38 +08:00
afc163
f41b1db572 update default menu background 2018-11-05 12:01:17 +08:00
zombiej
782881e3ca add test case for month picker 2018-11-04 19:49:20 +08:00
afc163
213693e333 🌐 site: transition component category, close #11629 2018-11-04 16:20:35 +08:00
afc163
2c3a2e911e Fix Collapse Panel id definition, close #12357 2018-11-04 16:09:51 +08:00
afc163
1784949e94 Fix style overlap with sorter when long text in Table column header
close #12650

ref #12552
2018-11-04 15:54:31 +08:00
zombiej
69a2a92864 adjust datepick reset logic 2018-11-04 14:54:06 +08:00
zombiej
81a7d11ba3 reset showDate when picker is closed
fix #12929
2018-11-03 23:19:33 +08:00
yoyo837
41360cc4c8 update dataIndex description 2018-11-03 12:32:56 +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
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
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
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
偏右
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
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
bf83845986 remove useless line 2018-10-17 15:30:26 +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
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
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
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
偏右
a4c1bccd2a
Fix upload and mention test cases (#12586) 2018-10-11 15:11:44 +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
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
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
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