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
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