Commit Graph

9554 Commits

Author SHA1 Message Date
afc163
e9b370d0c0
📝 Add documentation for LocaleProvider and List
close #17399
2019-07-06 23:40:03 +08:00
DiamondYuan
6b7ad105c6 fix: fix type of SwitchProps 2019-07-06 22:16:17 +08:00
afc163
6498cbb283
💄 change another arrow style 2019-07-04 23:50:32 +08:00
jiang
a1298463be rm drawer config consumer props (#17390)
* rm drawer config consumer props

* Update index.tsx
2019-07-04 20:53:55 +08:00
陈帅
1fc1710582
doc: split demos (#17415)
* split demos

close #17396

* snapshot updated

* split all demo

* fix lint error

* better code style

* change complex to error

* sort demos
2019-07-04 15:14:13 +08:00
偏右
b1e63be9e3 fix: icon typo (#17458)
* 🐛 Fix icon typo

close #17448

*  update snapshots

*  add test case
2019-07-04 15:00:42 +08:00
afc163
efadb09569
💄 Optimize TimePicker focus style
close #17440
2019-07-03 23:25:04 +08:00
afc163
0d35b1e3e3
🐛 Omit AutoComplete loading type
close #17432
2019-07-03 16:55:36 +08:00
偏右
73d173da04
Merge pull request #17421 from justjavac/master
fix: DatePicker's input box is obscured on safari
2019-07-03 13:48:16 +08:00
迷渡
f78fc1c757 fix: DatePicker's input box is obscured on safari 2019-07-03 10:15:45 +08:00
Julien Confetti
56264c7481 Add missing French translation 2019-07-02 22:49:59 +02:00
afc163
32132c58cf
🐛 Fix Form onSubmit type
close #17400
2019-07-02 19:03:23 +08:00
陈帅
f096b89828
Merge pull request #17389 from ant-design/fix-className-undefined
fix: fix classname is undefined
2019-07-02 14:45:27 +08:00
陈帅
2c4976bbdb remove background-color 2019-07-02 14:21:47 +08:00
陈帅
439b85f8d2 fix style pollution problem 2019-07-01 19:26:57 +08:00
zombieJ
b5143df1a4
fix: Upload preview should work with Blob (#17392)
* fix: Upload preview should work with Blob

* rm only
2019-07-01 17:52:37 +08:00
陈帅
9b8ccc4ee7 add className test 2019-07-01 15:28:02 +08:00
陈帅
00bcb6928e remove spaces 2019-07-01 15:22:29 +08:00
陈帅
89a8df1d41 fix classname is undefined 2019-07-01 15:11:37 +08:00
陈帅
3faae975fa fix result error (#17385) 2019-07-01 10:57:39 +08:00
陈帅
d942f173f9
Merge pull request #17378 from eldarAkay/patch-1
fix typo
2019-07-01 00:14:36 +08:00
陈帅
4d5dae078f
Merge pull request #17377 from ant-design/fix-test
chore: update test case
2019-06-30 22:00:26 +08:00
Eldar Mustafaiev
fa539507da
fix typo 2019-06-30 16:20:57 +03:00
陈帅
859be320fb
Merge pull request #17376 from ant-design/feature
merge Feather into master
2019-06-30 20:45:12 +08:00
zombiej
be33ebfa08 update test case 2019-06-30 20:31:14 +08:00
陈帅
4972383c3c
feat: New Components Result (#17244)
* New Components Result

antd 又变大了一点

* fix review warning

remove classname "view"

The class name of status hits the outermost layer

* rm fragment

* fix build error

* update snapshot

* add PRESENTED_SVG_DEFAULT

* fix doc

* fix lint

* fix compile error

* fix review warning

* fix react15 error

* add new demo

* remove not required code

* updated snapshot

* api some empty

* change svg to image
2019-06-30 20:15:44 +08:00
zombieJ
a5f495692e
fix: Tooltip not work correctly on disabled Switch (#17372)
* add tooltip of Switch

* clean up

* updat snapshot
2019-06-30 00:29:48 +08:00
zombiej
12c577d386 docs: Update menuItemSelectedIcon desc of Select
close #17360
2019-06-29 22:53:16 +08:00
陈帅
319b11d388
Merge pull request #17364 from ant-design/feature
merge Feature into master
2019-06-29 13:25:47 +08:00
陈帅
8eceb04d62 update snap
issue in #17280 and #17330
2019-06-29 00:39:53 +08:00
陈帅
722b39ec16 Merge branch 'master' into feature 2019-06-28 21:55:15 +08:00
偏右
95c0a4e7c5
Merge pull request #17321 from ant-design/optimize-pageHeader-className-naming
chore: Optimize PageHeader className naming
2019-06-28 21:15:30 +08:00
王林涛
b5d629a8a3 docs(Table): update description of hideDefaultSelections 2019-06-28 16:23:20 +08:00
偏右
c3a3db385c
Merge pull request #17345 from hengkx/fix-17267
docs: Tree treeData
2019-06-28 13:59:33 +08:00
偏右
b5d16a6bd1
Merge pull request #17342 from yoyo837/checkbox-onchange-sort
fix: CheckboxGroup onChange 值保持选项的顺序
2019-06-28 13:44:49 +08:00
afc163
10a3a7f7ae
🐛 Fix small table header background
revert #14539

it should be white in our design spec
2019-06-28 13:39:02 +08:00
yoyo837
612bf82c34 add test case 2019-06-28 11:11:27 +08:00
偏右
92f18f32f5
Merge pull request #17347 from ant-design/fix-mentions-height
fix(Mentions): Incorrect line-height from .input() style
2019-06-28 10:51:01 +08:00
susiwen
06eba00e0b Add FAQ link 2019-06-28 10:44:20 +08:00
yoyo837
50f6b9c903 update 2019-06-28 10:31:40 +08:00
诸岳
9c9365ce00 fix(Mentions): Incorrect line-height from .input() style 2019-06-28 10:28:43 +08:00
yoyo837
c8d5243b97 sort 2019-06-28 10:26:55 +08:00
偏右
f2954e6ca8
Merge branch 'master' into #17329 2019-06-28 10:15:51 +08:00
yoyo837
660ebbd58f fix values 2019-06-28 10:00:12 +08:00
susiwen
b710f47996 Add missing FAQ site 2019-06-28 08:50:50 +08:00
hengkx
0130cbfa16 fix Tree treeData 2019-06-28 03:28:00 +08:00
陈帅
bdfcc912c0 fix style warning 2019-06-27 23:33:27 +08:00
偏右
c3915157cb
Merge pull request #17331 from ant-design/improve-swicth-types
chore: Extract SwitchChangeEventHandler and SwitchSize
2019-06-27 23:01:59 +08:00
偏右
05feaeb83c
Merge pull request #17316 from ant-design/key-drawer
fix: add maskClosable is false ESC close
2019-06-27 23:01:35 +08:00
偏右
b0fb5336fe
Merge pull request #17337 from kairi1227/master
fix: Descriptions组件不设置label的显示问题
2019-06-27 21:54:23 +08:00
偏右
d74c590f17
Update index.zh-CN.md 2019-06-27 21:51:43 +08:00
yoyo837
32bb62be15 CheckboxGroup onChange 值保持选项的顺序 2019-06-27 18:54:34 +08:00
xuqiang
657550118e fixed #17290 2019-06-27 16:18:25 +08:00
xuqiang
543262295a fixed https://github.com/ant-design/ant-design/issues/17290 2019-06-27 16:06:34 +08:00
susiwen
85e483921b Add missing info in documents 2019-06-27 15:46:00 +08:00
Meck Zhu
4463d24660 docs: Remove predix I from interface 2019-06-27 14:17:08 +08:00
hengkx
61318a1856 update descriptions snapshots 2019-06-27 14:16:21 +08:00
hengkx
0245d41873 fix Description vertical borderd 2019-06-27 13:54:56 +08:00
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
afc163
6295cb4597
📝 Add FAQ for DatePicker/RangePicker mode prop usage 2019-06-05 22:03:17 +08:00
lhyt
10d4a9f955 feat(popconfirm): add disabled in popconfirm 2019-06-05 20:33:00 +08:00
陈帅
0cf07667a5 less variable should be extended 2019-06-05 19:13:25 +08:00
陈帅
6dd6e6512a add new less var 2019-06-05 19:13:25 +08:00
afc163
14dc252b04
🆙 fix for typescript@3.5 2019-06-05 14:41:36 +08:00
偏右
f59c3a017c
Merge pull request #16973 from ant-design/upgrade-snaphost
chore: update snapshots
2019-06-05 14:40:49 +08:00
afc163
e8ab26b641
update snapshots 2019-06-05 14:39:19 +08:00
偏右
c6e56e642d
Merge pull request #16934 from ant-design/fix-table-scroll-bar
fix: abnormal scrollbar in Chrome
2019-06-05 11:18:27 +08:00
zombieJ
3547887e75
fix: Table miss border-raidus in Firefox (#16957)
* Revert "Merge pull request #16174 from ant-design/fix-table-chrome"

This reverts commit 686c1fc346, reversing
changes made to 924afc2706.

* firefox only

* add comment
2019-06-05 10:17:41 +08:00
zjf
9c1691b8a3 rebase 2019-06-04 23:41:32 +08:00
ycjcl868
fa391b3ca3 fix: test ci 2019-06-04 19:59:39 +08:00
ycjcl868
ff680a5376 💄 use marginRight remind developer 2019-06-04 19:46:01 +08:00
偏右
9fdc408cd0
Merge branch 'master' into bugfix 2019-06-04 18:59:20 +08:00
afc163
f1c43c16b7
update snapshots 2019-06-04 16:58:00 +08:00
afc163
b1f81045c6
💄 Fix scrollbar border bottom 2019-06-04 16:18:25 +08:00
afc163
1d1339e302
update snapshots 2019-06-04 16:11:01 +08:00
afc163
553487e006
🐛 Fix Table header extra scrollbar control
close #4637
close #14211

https://github.com/react-component/table/pull/333
2019-06-04 15:52:32 +08:00
偏右
c2b1384377
Merge pull request #16885 from haianweifeng/fix-breadcrumb
fix(Breadcrumb): when route.children exist, the path of children is wrong
2019-06-03 20:21:30 +08:00
afc163
eb063d58fa
🐛 Fix abnormal scrollbar in Chrome
when rowSelection and title work together

close #16912
2019-06-03 16:46:31 +08:00
haianweifeng
c6ea0aa3d7
Update Breadcrumb.tsx 2019-06-03 16:36:07 +08:00
偏右
6d2a5df1e6 fix: Breadcrumb validateDOMNesting warning (#16929)
* 🐛 Fix Breadcrumb validateDOMNesting warning

```
Warning: validateDOMNesting(...): <a> cannot appear as a descendant of <a>.
    in a (created by Context.Consumer)
    in span (created by Context.Consumer)
    in a (created by Context.Consumer)
    in Trigger (created by Dropdown)
    in Dropdown (created by Context.Consumer)
    in Dropdown (created by Context.Consumer)
    in span (created by Context.Consumer)
    in BreadcrumbItem (created by Context.Consumer)
    in div (created by Context.Consumer)
    in Breadcrumb (created by TestBreadcrumb)
    in TestBreadcrumb
```

*  update snapshots
2019-06-03 16:13:15 +08:00
zombieJ
a6ef4ca6a2
fix: Hide Spinner of InputNumber when type is number (#16926)
* fix: Hide Spinner of InputNumber when type is number

* Firefox not obedient
2019-06-03 13:44:27 +08:00
jljsj
7382e41b17 add keyboard to API, rm propTypes and use instanceof KeyboardEvent 2019-06-03 11:50:32 +08:00
zombieJ
10fec945e5
fix: Transfer render Empty when customize without data (#16925) 2019-06-03 11:44:26 +08:00
alxkosov
fb6d629e7b Added 2 variables to flexibly control the background of the table cells (#16843) 2019-06-03 10:05:37 +08:00
ztplz
bd0479b30b Remove useless type 2019-06-02 20:16:02 +08:00
偏右
18d3dee71c
Merge pull request #16851 from ant-design/fix/uploadFile-type-again
fix: fix type of action and RcFile
2019-06-02 19:49:37 +08:00
Juraj Carnogursky
24ee1634f0 🐛 fixes #16871 Cascader - Space during search 2019-06-01 23:40:49 +02:00
jljsj
9ec4aaa9f4 add maskClosable is false ESC close 2019-05-31 15:33:58 +08:00
haianweifeng
eee76be930
fix Breadcrumb.tsx
对于子路径是否为空进行判断
2019-05-30 22:59:01 +08:00
MrHeer
239c472c38 fix: use @error-color & @warning-color instead of @text-color-danger & @text-color-warning #16856 2019-05-30 19:21:08 +08:00
haianweifeng
1fac84b222
fix Breadcrumb.tsx
getPath() 参数赋默认值
2019-05-30 17:28:19 +08:00
haianweifeng
3122f3b86b
修复Breadcrumb.tsx 中处理route.children 路径不对
<Menu.Item key={child.breadcrumbName || child.path}>
                {itemRender(child, params, routes, [...paths, this.getPath(child.path, params)])}
</Menu.Item>
itemRender(...args) 中路径应该到拼接当前child.path
2019-05-30 17:06:59 +08:00
Aiham Hammami
e3638f2806 Remove okButtonDisabled/cancelButtonDisabled never used prop defs
- Also remove them from the CHANGELOG because they were never actually
implemented, the prop was renamed to okButtonProps/cancelButtonProps
within PR #10955 but these prop defs were left behind and ended up
incorrectly included in the CHANGELOG.
2019-05-29 12:58:29 -04:00
DiamondYuan
c7bc6b743c fix: fix type of action in UploadProps 2019-05-29 13:53:33 +08:00
DiamondYuan
fa5d5e0a96 fix: fix type of RcFile 2019-05-29 13:52:35 +08:00
DiamondYuan
81da6e90d4 fix: add webkitRelativePath (#16850) 2019-05-29 10:56:04 +08:00
Jonathan Lee
45e2274e25 add semicolon 2019-05-29 00:09:38 +08:00
Jonathan Lee
27691d49f0 add onChange prop type definition to Steps 2019-05-28 23:03:21 +08:00
afc163
5a7434c5d6
export TypographyProps
close #15190
2019-05-28 16:06:10 +08:00
Sergey Levkovich
7304daf4fa
Update index.en-US.md 2019-05-27 18:45:47 +03:00
偏右
c77b8ed817
Merge pull request #16828 from ant-design/improve-demo-code-style
chore: 💄 Optimize examples code style
2019-05-27 22:28:49 +08:00
afc163
13379aa0d8
💄 Optimize examples code style 2019-05-27 22:04:17 +08:00
picodoth
620755d893 typescript: adding forceSubmenuRender as MenuProps 2019-05-27 21:30:43 +08:00
zombieJ
93887e1380
chore: Add warning if use inlineCollapsed under Sider (#16826) 2019-05-27 20:53:43 +08:00
Jason Chung
9b05885363 fix(Transfer): set state on an unmounted component (#16822) 2019-05-27 20:43:29 +08:00
偏右
ba95f0ef09
Merge pull request #16824 from ant-design/add-some-test-cases
test: Add more test cases
2019-05-27 20:38:01 +08:00
偏右
eb9be9ef56
Update util.test.js 2019-05-27 20:24:53 +08:00
zombieJ
c386d49b63
fix: Tabs card vertical support scroll (#16825) 2019-05-27 19:57:14 +08:00
afc163
17ab75b8d9
Add test case for TransButton 2019-05-27 19:13:49 +08:00
偏右
79a6b70e6a 🐛 Fix typo name icons, add warning and update docs (#16818)
close #13007
close #16810

deps: ant-design/ant-design-icons#63
2019-05-27 17:04:02 +08:00
ztplz
d6c926d536 Fix typescript compile error (#16816) 2019-05-27 17:03:39 +08:00
zombieJ
29ec272635
fix: Descriptions warning should work as expect (#16819)
* fix warning

* add MockDate
2019-05-27 16:41:56 +08:00
zombieJ
6853402e00
fix: Select ts define (#16817) 2019-05-27 16:17:43 +08:00
zombieJ
008136ece1
fix: Tooltip not hidden when menu is in control mode (#16812) 2019-05-27 15:22:26 +08:00
zombieJ
c5aaeb80fc
fix: mentions ts definition update (#16814)
* fix mentions ts definition

* adjust logic of Mentions
2019-05-27 14:43:15 +08:00
偏右
81e69370b4 💄 Correct Statistic font color (#16801)
close #15514
2019-05-26 14:23:48 +08:00
偏右
fecff0dc12
Merge pull request #16799 from attacking/master
给上传组件添加disabled状态的cursor样式
2019-05-26 14:00:03 +08:00
zombieJ
a3e19cecba
Merge pull request #16798 from ant-design/feature-merge-master
chore: Feature merge master
2019-05-26 13:57:48 +08:00
偏右
60ee01f37e
Merge pull request #16797 from ant-design/fix-input-number-parser-type
fix: Input parser type
2019-05-26 13:30:16 +08:00
zombiej
3493cc1406 merge master 2019-05-26 13:18:51 +08:00
ztplz
9793e30969 Fix the problem that the Slider's Tooltip is in the incorrect position when use modal (#16717)
* Fix incorrect position of tooltip when use slider

* Remove useless comment

* Reduce code

* Update

*  getTooltipPopupContainer default to body

* Public Slider's ref

* Add docs

* Update docs
2019-05-26 13:13:12 +08:00
mingyan.yu
1eb46ebaac feat: add disable style to upload component 2019-05-26 13:12:28 +08:00
Alberto Marchetti
28b14c9c0d Allow users to define where tooltips should appear on slider marks (#16641) 2019-05-26 13:11:13 +08:00
Harut
982871522b feat: New calendar apis, headerRender method (#16535)
* added new calendar api, renderHeader now we can customize calendar header

* fixed typo for tests

* error handling for renderHeader

* covering all cases with tests

* fixed tests and change console error to warning

* fixed feedbacks and code optimization

* cleanup callback function arguments

* removed unused changes

* fixed tests

* added extra classes

* fixed some comments

* tying to fix test for remote

* tying to fix test for remote in my local machin it works fine

* tying to fix test for remote in my local machin it works fine

* tying to fix test for remote in my local machin it works fine

* updated test snapshots

* fixed comment

* fixed linting

* fixed some texts

* added header for CN and added argument types

* removed extra row
2019-05-26 13:09:06 +08:00
afc163
35e235923e
🐛 Fix Input parser type
close #15226
2019-05-26 13:07:27 +08:00
zombieJ
0952696a8c
Merge pull request #16793 from ant-design/master
chore: Merge master into feature
2019-05-26 11:03:35 +08:00
Marcel Jackwerth
56ff8728d2 Remove ancient prop types (#16705)
* Remove ancient Modal.propTypes.align and Progress.propTypes.size

* Remove linkRender and nameRender from Breadcrumb
2019-05-26 10:41:02 +08:00
damon.chen
f5f32f651f update getPopupContainer (#16778)
since select/index.d.ts requires getPopupContainer={triggerNode => HTMLElement} but parentNode actually is not HTMLElement.
2019-05-26 10:35:59 +08:00
Kimmo Saari
cd6f5ff3f1 Locale (feat #16752): Added Latvian localization (#16780) 2019-05-26 10:02:40 +08:00
zombieJ
155642d14a
feat: Steps support clickable (#16773)
* support clickable

* update snapshot

* update desc
2019-05-25 21:01:21 +08:00
veveue
59e2f072c2 upload disabled remove 2019-05-25 16:34:38 +08:00
afc163
c102ef7551
🐛 Fix Cascader displayRender not interactive
close #16738 and #10433

this bug had been fixed in bc4143f before, but it was broken by #12407

here we change another method to fix #12395
2019-05-24 18:49:36 +08:00
zombiej
a9b5acfba9 update preview demo 2019-05-24 16:36:09 +08:00
zombieJ
5ab2783ff0
adjust Carousel children change goto Logic (#16756) 2019-05-23 23:08:03 +08:00
kpogodin
8263ea74fe
Update index.en-US.md
add missing prop `showTitle` in documentation of Pagination
2019-05-22 19:38:24 +04:00
陈帅
3e32364dc0
New component Descriptions (#14645)
* add new component: DescriptionList

* add warning message

* docs: fix doc typo

* feat: implement the size attribute

* docs: fix doc typo

* refactor: use new name Descriptions

* test: snapshots updated

* feat: support react15

* style: fix code style warring

* style: better var name

* style: better code style

* style: merge css class

* feat: add responsive config

* fix: fix error title

* style: use @border-radius-base

* update snapshot

* feat: set default column

* test: add test script

* style: fix property defaultProps is useless error

* style: more robust code

* style: fix codereview warning

* style: fix review warning

* use responsiveObserveserve

* fix review warning

* bug: add childrenArray copy,prevent changes to incoming parameters

* fix dom error

* fix typo

* fix test

* don't use this

* snapshot updated

* prettier md

* remove descriptions md text

* new rendering method

* doc :add dot

* style: add right border
2019-05-22 23:22:09 +08:00
afc163
42376c7d78
💄 fix emoji lint problem
https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/accessible-emoji.md
2019-05-22 19:41:59 +08:00
afc163
44bce091a2
update snapshots 2019-05-22 19:34:32 +08:00
afc163
3c22f86823
🎬 Add example for Select `optionLabelProp prop, #16709 2019-05-22 19:33:03 +08:00
afc163
701ab7aab0
💄 chore some documents style 2019-05-22 12:36:43 +08:00
偏右
55bd82d6b9
Merge pull request #16716 from christophehurpeau/patch-2
fix: Upload prop action: fix typings
2019-05-22 00:13:24 +08:00
偏右
263a3e77dd
Merge pull request #16570 from christophehurpeau/patch-1
fix: Upload prop onRemove: allow Promise as return type
2019-05-22 00:13:02 +08:00
Christophe Hurpeau
acaae5c850
Upload prop onRemove: fix action
d0cf0eecee (api)
2019-05-21 16:00:25 +02:00
jljsj
d6bc4afe29 update config-provider test 2019-05-21 13:45:42 +08:00
afc163
149f2c8172
💄 improve code style of Drawer 2019-05-21 11:29:01 +08:00
afc163
6eb197e8a2
update snapshots 2019-05-21 11:13:27 +08:00
信鑫-King
4a05444d7b
fix horizontal divider style 2019-05-20 23:25:32 +08:00
诸岳
7a728daca9 Merge branch 'master' into feature 2019-05-20 13:29:34 +08:00
诸岳
6e7c5a95d2 Merge branch 'master' of github.com:ant-design/ant-design 2019-05-20 12:44:47 +08:00
诸岳
95044af3e3 Fix stylelint errors 2019-05-20 12:21:47 +08:00
zombiej
a4054bffe7 prettier md files 2019-05-20 11:46:00 +08:00