Commit Graph

9346 Commits

Author SHA1 Message Date
hengkx
584713bc62 fix Desciption doc 2019-06-27 13:47:28 +08:00
Meck Zhu
87afda5623 Extract SwitchChangeEventHandler and SwitchSize
With this change, we can define change handler more convenience:

Before:

```javascript
const handleChange = (checked: boolean, event: MouseEvent) => {
  ...
}
```

After:

```javascript
const handleChange: SwitchChangeEventHandler = (checked, event) => {
  ...
}
```
2019-06-27 12:26:09 +08:00
hengkx
2a9da95a92 feat: Descriptions add vertical layout 2019-06-27 11:29:33 +08:00
偏右
000757d74a
Merge pull request #17311 from ant-design/jljsj33-patch-1
chore: Update rc-drawer version to fix afterVisibleChange issue
2019-06-27 00:09:04 +08:00
偏右
b1d6767732
Merge pull request #17318 from ant-design/fix-mentions-placeholder
[Mentions] style: Fix placeholder color
2019-06-27 00:08:20 +08:00
afc163
862cecfd63
💄 Better className of PageHeader 2019-06-26 19:16:06 +08:00
zombieJ
6d0cf1de01
rm useless style (#17319) 2019-06-26 18:38:27 +08:00
hengkx
c1a21724c1 Progress merge demo 2019-06-26 18:13:45 +08:00
诸岳
171e838f43 style: Fix placeholder color for Mentions, close #17317 2019-06-26 18:02:49 +08:00
jljsj
dae1ab923a fix drawer test 2019-06-26 17:43:15 +08:00
hengkx
2a42432c10 Progress Circle support gradient 2019-06-26 17:31:54 +08:00
偏右
94072ad5ea fix: Descriptions.Item not support className (#17280)
* 🐛 Fix Desciptions.Item not support className

close #17276

* refactor descriptions styles implementation

* use `th` as label elements in bordered situation

*  update snapshots
2019-06-26 16:05:46 +08:00
afc163
d3db99f882
resolve conflict and merge feature branch 2019-06-26 14:30:42 +08:00
toshi1127
7a0da03907 fix SkeletonAvatarProps's size to accept number 2019-06-26 03:42:42 +09:00
afc163
795e6a5e0a
fix eslint errors 2019-06-25 12:09:13 +08:00
偏右
868cd6197b 💄 Fix Tooltip arrow shadow (#17264)
close #17259

same as #13935
2019-06-25 11:15:33 +08:00
afc163
ec7c99998a
🎬 fix react-dnd depracated usage 2019-06-24 13:20:08 +08:00
afc163
8f861a35ac
fix jest timer warning 2019-06-24 12:23:17 +08:00
afc163
3f8589cff3
chore: code style 2019-06-24 11:49:55 +08:00
afc163
57c28def68
revert unknown to any 2019-06-24 11:29:58 +08:00
afc163
936fea5769
🐛 Fix onRow return types
https://github.com/ant-design/ant-design/issues/17245#issuecomment-504807714
2019-06-24 11:13:55 +08:00
afc163
4c84c41da0
🐛 Revert Form type unknown to any
close #17245
2019-06-23 15:27:06 +08:00
偏右
40a38ff91a
Merge pull request #17239 from babbarankit/patch-2
Update SubMenu.tsx
2019-06-22 15:46:30 +08:00
Ankit Babbar
0bb7f60708
Update SubMenu.tsx
popupOffset prop is missing in SubMenu
2019-06-22 12:23:51 +05:30
Ankit Babbar
26e427ca7d
Tabs props missing prop
Added Missing prop 'destroyInactiveTabPane' in Tabs
2019-06-22 12:19:15 +05:30
偏右
606ed90de1
Merge pull request #17229 from ant-design/adjust-modal-padding-bottom
fix: Modal 24px bottom area not trigger mask click
2019-06-21 22:42:09 +08:00
偏右
0de4bd899d
Merge pull request #17228 from ant-design/fix-sider-z-index
fix: Layout sider trigger z-index too low
2019-06-21 22:41:58 +08:00
偏右
ce04af83da
Merge pull request #17063 from wonderjar/master
fix: prop headerRender should be optional for component Calendar
2019-06-21 18:02:28 +08:00
afc163
ad39a9450d
🐛 Fix Layout.Sider‘s zero-width trigger z-index
close #17160
2019-06-21 17:57:40 +08:00
afc163
0ea94b9d68
🐛 Fix Modal 24px bottom area not trigger mask click
close #17226
2019-06-21 17:52:28 +08:00
偏右
a4d7593ef2
Merge pull request #17120 from Zzzen/master
refactor: eliminate `any` type in exported interfaces.#14044
2019-06-21 17:38:56 +08:00
偏右
0a7432ee75
Merge pull request #17209 from ant-design/pageheader-show-all-breadcrumb
fix: Fix single Breadcrumb not show on PageHeader
2019-06-21 17:38:26 +08:00
afc163
bdfd877f3a
🐛 Fix a Table scrollbar style in IE
when customize line-height of empty table

close #17175
2019-06-21 15:20:01 +08:00
Andrew Shini
07c85ea21f fix: Clone only valid react child elements (#17207)
* Clone child only if it exists

child can be void | null | boolean | string | number | element.

* Add test
2019-06-21 13:49:01 +08:00
zombiej
e08534e6c4 update docs 2019-06-21 11:08:35 +08:00
afc163
b1d8425384
📝 document about autoInsertSpaceInButton 2019-06-21 00:31:48 +08:00
陈帅
7e548e4de7 add new test
when breadcrumb lenght=1, pageHeader should have breadcrumb
2019-06-20 19:45:13 +08:00
陈帅
ee21b1c210 fix #17046, breadcrumbs will always show 2019-06-20 19:31:59 +08:00
zombieJ
e2732eea1e
add fix css (#17198) 2019-06-20 15:32:53 +08:00
yoyo837
f0ed471709 使操纵杆右侧半边也可以操作 2019-06-20 11:45:28 +08:00
wtzeng1
ee1b5975e4 fix(Doc): remove useless option in API Doc for Table component 2019-06-19 21:34:01 +08:00
偏右
a30dd26052 🆙 upgrade rc-progress to 2.4.0 (#17168) 2019-06-19 19:41:37 +08:00
陈帅
82b85709be style: run lint-fix (#17172) 2019-06-19 19:09:08 +08:00
陈帅
d0799fb983 Merge branch 'master' into feature 2019-06-19 18:16:22 +08:00
zombieJ
dc4102d879
reset line-height of TextArea & Picker (#17165) 2019-06-19 11:23:21 +08:00
Sevak
baac048eeb
Fix English translation 2019-06-18 13:08:36 +02:00
zombieJ
b77dbd331d
fix: Table crash when filter dynamic change (#17141)
* update test case

* fix: Table change filter should not crash

* rm focus test
2019-06-17 18:50:38 +08:00
zombieJ
ebdc7041f7
fix: Nest Card extra position not correct (#17140)
* fix: Nest Card extra position not correct

* add missing mark
2019-06-17 18:07:22 +08:00
zombieJ
cfe4de58d6
update modal doc (#17137) 2019-06-17 15:57:48 +08:00
zombieJ
b4025176d1
fix modal not support configProvider (#17132) 2019-06-17 12:47:31 +08:00
zombieJ
dc1572cff1
fix style (#17126) 2019-06-17 12:24:08 +08:00
zombieJ
e0bfcab869
chore: Fix react-dnd CI (#17130)
* adjust jest ignore

* add node test

* update es
2019-06-17 12:00:52 +08:00
Zzzen
f1ee189bd2 eliminate any type in exported interfaces.#14044 2019-06-16 20:51:47 +08:00
陈帅
ae26f76d94
fix ts lint warning (#17049) 2019-06-16 20:30:59 +08:00
afc163
e3565ac110
🚨 Fix lgtm errors
https://lgtm.com/projects/g/ant-design/ant-design/alerts/?mode=list
2019-06-16 17:41:25 +08:00
afc163
8efc0ff5e1
🚨 Fix eslint 2019-06-15 23:51:30 +08:00
偏右
cb4a86ae29
Merge pull request #17114 from ant-design/fix17109
fix: PageHeader back icon pointers is not always clickable problem
2019-06-15 22:06:13 +08:00
陈帅
4373ef1463 fix #17109 ,fix pointers is not always a clickable problem 2019-06-15 21:50:01 +08:00
afc163
7c2846b458
💄 Make Divider style customization easier
close #17084
2019-06-15 20:28:43 +08:00
Dmitry Tikhomirov
6a5f2e9917 Add missing russian translations 2019-06-14 15:06:46 +03:00
偏右
8ac202401e
Merge branch 'feature' into improve-time-picker-accessibility 2019-06-14 16:37:16 +08:00
afc163
be3226b757
Merge master into feature 2019-06-14 16:20:29 +08:00
afc163
3606d15c2f
🐛 Fix Input not align with other components in Chrome
close #17082
2019-06-14 15:28:49 +08:00
afc163
a62a3e95d3
⌨️ Improve TimePicker accessibility 2019-06-14 14:51:28 +08:00
Johnsen
2efa79b4eb
Update index.zh-CN.md
add getPopupContainer props
2019-06-14 14:13:06 +08:00
Ahmad Abdelaziz
482491ae87 Fixing date formats for Arabic-Egypt locale 2019-06-13 18:03:23 +02:00
Michael Adams
a85b449d6f fix: remove margin for collapse arrow (#17009)
* remove margin for collapse arrow

* change translateY to -21px in collapse

* remove line-height to center arrow
2019-06-13 11:29:20 +08:00
maximest-pierre
67b28c36f0 Fix grammar on message documentation 2019-06-12 14:42:48 -04:00
afc163
6d2ad5c324
💄 optimize bordered table header scrollbar style
continue after #17065
2019-06-12 19:39:28 +08:00
偏右
1f6b86f37a
Merge pull request #17065 from ant-design/fix-table-scrollbar-border
style: adjust bordered table header scrollbar style
2019-06-12 18:15:35 +08:00
afc163
52905e1b39
💄 adjust bordered table header scrollbar style 2019-06-12 18:12:11 +08:00
jiang.an
180ed017f8 fix: prop headerRender should be optional for component Calendar 2019-06-12 17:46:21 +08:00
偏右
798d050352
Merge pull request #17057 from cnlon/fix/button-docs
fix: add link type to Button's doc
2019-06-12 14:24:05 +08:00
lon
3c2c7c60c5 fix: add link button to basic demo of button docs 2019-06-12 13:58:13 +08:00
zombieJ
4911bee059
use calc to fix tree line (#17055) 2019-06-12 12:20:32 +08:00
afc163
b585751e49
update snapshots 2019-06-12 11:44:44 +08:00
afc163
9b3c0d3fa5
update snapshots 2019-06-11 14:45:04 +08:00
偏右
5e297a3d38
Merge pull request #17042 from SamKirkland/AutoComplete-translate
chore: Translate remainder of Typography & AutoComplete
2019-06-11 13:32:50 +08:00
Sam Kirkland
740eb7fda9
Update uncertain-category.md 2019-06-11 00:08:52 -05:00
Sam Kirkland
219636f592
Update certain-category.md 2019-06-11 00:07:58 -05:00
Sam Kirkland
7b3f0554bc
Update default.less 2019-06-10 23:58:42 -05:00
Sam Kirkland
594555087f
Update index.less 2019-06-10 23:57:27 -05:00
afc163
20e6bed8a1
💄 Keep submenu selected style 2019-06-11 12:00:52 +08:00
Alexander.Kosov
51b9c4698c Border-radius customization for Collapse Panel 2019-06-10 14:32:10 +03:00
afc163
4aced89c67
🐛 Fix margin issue of PageHeader extra continually 2019-06-10 19:06:24 +08:00
afc163
16ed7273dd
🐛 Fix margin issue of PageHeader extra
close #17025
2019-06-10 18:22:36 +08:00
zombieJ
e67270cd59
fix: Table with sort should reset to first page (#17020)
* sort reset pagination

* add test case
2019-06-10 11:59:46 +08:00
Alexander.Kosov
b075b9eedd added three variables to allow customization of the dropdown list 2019-06-07 15:04:59 +03:00
afc163
e5e22e2f9a
Fix test snapshots 2019-06-07 18:18:29 +08:00
偏右
928e3e9a8c
Merge pull request #16741 from gadzillllla/patch-1
add missing prop in documentation
2019-06-07 18:07:23 +08:00
偏右
6e5d79cb4e
Merge pull request #16961 from zjffun/patch-2
docs: Add width attr to the table's grouping columns demo
2019-06-07 18:06:19 +08:00
偏右
77d1563a64
Merge pull request #17002 from morellan/fix-es-locale
Add missing spanish translations
2019-06-07 18:05:26 +08:00
偏右
c8a9ca62e3
Merge pull request #16985 from lhyt/feature_disabled_prop_popconfirm
feat(popconfirm): add disabled in popconfirm
2019-06-07 18:04:44 +08:00
偏右
5174ac7395
Merge pull request #16965 from ant-design/darkTheme
Dark theme
2019-06-07 18:04:38 +08:00
Jarvis1010
09435b21cc Export TextProps and update english in error 2019-06-06 22:30:47 -06:00
Matias Orellana
758f7b0e3e Add missing spanish translations 2019-06-06 17:58:09 -04:00
Alexander.Kosov
97f2b7b0d9 Add a variable to stylize the background of the input in the validation error state 2019-06-06 14:18:31 +03:00
lhyt
c83d8706b3 test: update snapshots 2019-06-06 01:47:20 +08:00
lhyt
b2f0a97a2c test: update snapshots 2019-06-06 01:02:40 +08:00
afc163
e2d119dd0e
🐛 Fix Divider orientation="center" style
close #16987
2019-06-06 00:40:30 +08:00