Commit Graph

9447 Commits

Author SHA1 Message Date
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
afc163
1c918b0921
💄 unified Cascader selected style with Select 2019-05-17 14:09:56 +08:00
zombieJ
ecb2eb6ede
feat: Add Mentions component (#16532)
* init

* first demo

* support empty

* add loading support

* add form sample

* update form sample

* omit value & defaultValue

* add 2 rest demo

* placement support

* update docs

* fix test

* update docs

* add test case

* fix lint

* follow textarea style

* update docs style
2019-05-17 12:05:03 +08:00
zombieJ
1517fcbbd6
fix space missing in button (#16551) 2019-05-17 12:04:47 +08:00
jiang
aff1dc2d3a
Update drawer.less 2019-05-17 11:31:43 +08:00
jiang
1e406dbaf0
fix close animation 2019-05-17 11:27:17 +08:00
偏右
0c1b062c11
Merge pull request #16638 from eruca/master
fix: Tree.onDragEnter function parameter
2019-05-17 10:48:11 +08:00
偏右
e0f8aed814
== to ===
close #16640
2019-05-17 10:28:22 +08:00
ztplz
1872f51f94 Format (#16639) 2019-05-16 23:32:16 +08:00
ztplz
a3e8fe3dc8 Fix docs (#16637) 2019-05-16 23:20:45 +08:00
eruca
7cb4a11290
onDragEnter的函数定义缺少一个expandedKeys:string[]?
官方的示例里有expandedKeys, 可是typescript定义里没有,所以扩展一下
2019-05-16 22:33:15 +08:00
ztplz
9308f19314 Fix incorrect tree type (#16624) 2019-05-16 20:45:04 +08:00
zytjs
e5d64b14e6
Update index.zh-CN.md 2019-05-16 16:03:15 +08:00
afc163
c4128c0d14
🐛 Fix selectedRows missing when there is childrenColumnName in Table
close #16614
2019-05-16 14:50:24 +08:00
SylvanasGone
a19a500970 fix(Form): improve method onFieldsChange params type defs (#16577) 2019-05-15 12:24:33 +08:00
zombieJ
c598b364dd
fix: Update List ts definition (#16594) 2019-05-15 11:12:55 +08:00
zombieJ
5621b7b9f7
fix: Call Carousel force update when children lenght changed (#16592) 2019-05-15 00:39:09 +08:00
afc163
be75d125b6
Fix snapshots 2019-05-14 16:26:21 +08:00
Sebastian Busch
8c9b6ec653 prevent negative margin-bottom for form-item-with-help
without this, value can become negative. this caused following fieldset to float
to the right of the field with validation errors

(cherry picked from commit 43da8a5a835904270a6ccf48859d7bd6d91e04cd)
2019-05-14 09:52:46 +02:00
afc163
5313777681
💄 Improve Table demo color style 2019-05-14 12:16:13 +08:00
Christophe Hurpeau
2d986ba2c2
Upload prop onRemove: allow Promise as return type 2019-05-13 17:59:40 +02:00
zombieJ
6379999012
use 1em instead of fix size (#16569) 2019-05-13 19:58:13 +08:00
Gin-X
7cdcc7cc2f fix children's type of interface Route (#16550) 2019-05-13 17:54:18 +08:00
zombieJ
399778ce2b
update snapshot (#16556) 2019-05-13 15:58:22 +08:00
zombieJ
ad262e7881
Merge pull request #16538 from ant-design/feature
Merge feature to master for 3.18.0
2019-05-13 12:10:49 +08:00
zombieJ
1198fb60ef
update doc (#16545) 2019-05-13 10:59:07 +08:00
愚道
adfc4355b9 merge master 2019-05-12 22:35:25 +08:00
Harut
b8c5671c88
Just a spelling update
Just a spelling update (fix) for the CSS doc styl to style
2019-05-12 02:29:25 +04:00
Victor Repkow
611909514c
fix(forms): improve field error method type defs
Change `getFieldError` and `getFieldsError` to return actual types, instead of very restrictive `Object` type (which should be avoided in general, in favour of `unknown`, `object`, or `Record` depending on actual use).
2019-05-10 15:22:55 -04:00
SylvanasGone
6eacfd7ebc fix[Select]: add missing type definition (#16504)
* fix[Select]: add missing type definition

* update docs
2019-05-10 22:51:06 +08:00
偏右
fb8f94714e
Update confirm-promise.md 2019-05-10 21:57:09 +08:00
zombieJ
e88589d9ef
feat: Pagination support disabled prop (#16493)
* feat: Pagination support `disable`

* update snapshot

* update style

* update style

* update snapshot

* update font color
2019-05-10 15:38:35 +08:00
Xiaohan Li
2bfecc3ee9 📝 Update Menu docs (#16513)
add missing params in Menu's onClick, onSelect and onDeselect callback
2019-05-10 12:28:47 +08:00
zombieJ
678c2e0b53
update snapshot (#16515) 2019-05-10 11:54:51 +08:00
Eden Wang
90ee2592b5 Update snapshot for test case 2019-05-09 23:26:25 +08:00
Eden Wang
cb30df5712 fix(PageHeader): Should not render blank dom 2019-05-09 23:19:10 +08:00
nailuoGG
681c6a5151 fix doc (#16506) 2019-05-09 20:43:12 +08:00
zombieJ
0030861293
fix: customize icon in notification size not correct (#16507) 2019-05-09 20:39:09 +08:00
ztplz
62f8924393 Fix hoist-non-react-statics compile error (#16397) 2019-05-09 19:28:50 +08:00
偏右
73a5b4772d
Merge pull request #16437 from jas0ncn/master
fix: Print reject error when ActionButton catch promise rejects
2019-05-09 13:48:01 +08:00
Nihal Saxena
ff8d37f811 refactor: Render function size reduce (#16244)
* updated after resolving conflicts

* lint error fixes
2019-05-09 12:27:35 +08:00
Jason
db5da92f0c Fix: Print reject error when ActionButton catch promise rejects 2019-05-09 12:24:59 +08:00
zombieJ
961328b8a2
update list ts def (#16485) 2019-05-08 22:54:17 +08:00
偏右
2d8396bad7 🐛 Avoid disabled Upload being triggered by label (#16483)
close #16478
2019-05-08 20:26:19 +08:00
afc163
a4fb429a19
🐛 Fix disabled Option wrong hover color 2019-05-08 16:00:43 +08:00
afc163
64156260dd
Resolve conflict with feature branch 2019-05-07 18:10:23 +08:00
zombieJ
772638e076
update doc (#16459) 2019-05-07 18:07:16 +08:00
afc163
94ad706e53
Resolve conflict with feature branch 2019-05-07 17:22:47 +08:00
zombieJ
543b620dd2
feat: Support Transfer render (#16026)
* clean up

* refactor select all logic

* omit old api to render children

* add search

* remove useless code

* fix logic

* Table demo

* update demo

* fixed min-height

* fix normal style

* style update

* update snapshot

* update snapshot

* update version

* update doc

* update md desc

* update test case

* fix test typo

* update demo

* update snapshot

* typescript correction

* update docs

* add Tree Transfer demo

* default expand all

* update demo
2019-05-07 17:10:42 +08:00
afc163
15e5e4cb59
🐛 Do not prettier js in less 2019-05-07 15:45:47 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
afc163
77b39ddd76
💄 Adjust pagination link style
link take all space inside li

close #15704
2019-05-07 13:58:04 +08:00
afc163
969c171da1
fix filterDropdown type 2019-05-07 12:09:55 +08:00
afc163
ce4add7a9a
update snapshots 2019-05-07 11:21:01 +08:00
afc163
715f2f6ebc
🐛 Fix hasFeedback overlap issue with Input.Password
close #16443
2019-05-07 11:13:55 +08:00
陈帅
785c132262
meger feature to master (#16421)
* use ul in list

* update snapshot

* update comment

* feat: TreeSelect support `showSearch` in multiple mode (#15933)

* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch

* feat: table customizing variable (#15971)

* feat: added table selected row color variable

* fix: @table-selected-row-color default is inherit

* feat: Upload support customize previewFile (#15984)

* support preview file

* use promise

* dealy load

* use canvas of render

* use domHook of test

* update demo

* add snapshot

* update types

* update testcase

* feat: form customizing variables (#15954)

* fix: added styling form input background-color

* feat: added '@form-warning-input-bg' variable

* feat: added '@form-error-input-bg' variable

* use li wrap with comment

* feat: Support append theme less file with less-variable (#16118)

* add override

* add override support

* update doc

* feat: dropdown support set right icon

* docs: update doc of dropdown component

* style: format dropdown-button.md

* test: update updateSnapshot

* style: format dropdown-button.md

* test: update updateSnapshot

* test: update updateSnapshot

* style: change style of dropdown-button demo

* fix: fix document table order

* feat: Support SkeletonAvatarProps.size accept number (#16078) (#16128)

* chore:update style of demo

* feat: Notification functions accept top, bottom and getContainer as arguments

* drawer: add afterVisibleChange

* rm onVisibleChange

* update

* feat: 🇭🇷 hr_HR locale (#16258)

* Added Croatian locale

* fixed lint error

*  Add test cases for hr_HR

* 📝 update i18n documentation

* feat:  add `htmlFor` in Form.Item (#16278)

* add htmlFor in Form.Item

* update doc

* feat: Button support `link` type (#16289)

close #15892

* feat: Add Timeline.Item.position (#16148) (#16193)

* fix: Timeline.pendingDot interface documentation there is a small problem (#16177)

* feat: Add Timeline.Item.position (#16148)

* doc: add version infomation for Timeline.Item.position

* refactor: Update Tree & TreeSelect deps (#16330)

* use CSSMotion

* update snapshot

* feat: Collapse support `expandIconPosition` (#16365)

* update doc

* support expandIconPosition

* update snapshot

* feat: Breadcrumb  support DropDown (#16315)

* breadcrumbs support drop down menu

* update doc

* add require less

* fix test

* fix md doc

* less code

* fix  style warning

* update snap

* add children render test

* feat: TreeNode support checkable

* feat: add optional to support top and left slick dots (#16186) (#16225)

* add optional to support top and left slick dots

* update carousel snapshot

* Update doc, add placement demo

* update carousel placement demo snapshots

* rename dots placement to position

* update vertical as deprecated

* rename dotsPosition to dotPosition

* refine code

* add warning testcase for vertical

* remove unused warning

* update expression

* Additional test case for dotPosition

* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402)

* upgrade `rc-tree-select`

* update snapshot

* 3.17.0 changelog

* fix warning

* fix review warning
2019-05-06 12:04:39 +08:00
zombieJ
20ddb40278
update doc (#16422) 2019-05-05 10:58:58 +08:00
陈帅
a7f1e331c3 Merge branch 'master' into feature 2019-05-05 10:33:51 +08:00
zombieJ
decebef176
refactor: Upgrade rc-tree-select to support pure React motion (#16402)
* upgrade `rc-tree-select`

* update snapshot
2019-05-05 10:11:51 +08:00
zombieJ
3c26bde16b
fix nest style (#16419) 2019-05-04 14:02:38 +08:00
Mathieu Anderson
6947d1bbaf fix: TypeScript definitions for Select component's onSelect / onDeselect props, update inaccurate docs (#16344)
* Fix value param type for onSelect, onDeselect prop

* Fix docs for Select props (value, defaultValue, onSelect, onDeselect)
2019-05-03 22:10:45 +08:00
Sebastian Busch
4af2b62cb5 fix: Add some missing TypeScript prop definititions and clean up date-picker definitions (#16342)
* Add some missing TypeScript prop definitition, clean up date-picker definitions

* use DatePickerMode instead of redundant enumeration of modes

* decade was  missing from the list of modes

See https://codesandbox.io/s/388xplj646
- activate DatePicker
- click on year in header
- click on years in header
- "decade" is printed on footer as mode for renderExtraFooter()

* add decade as possible value for mode prop
2019-05-03 21:55:18 +08:00
HiddenMan
0350544de1 fix: username misspelling in the form. (#16398)
* fix normal-login spelling mistake

* fix horizontal-login spelling mistake

* fix index.zh-CN spelling mistake

* fix index.en-US spelling mistake

* update form demo.test.js.snap
2019-05-01 23:44:22 +08:00
zombieJ
7a7aa65eec
fix: Checkbox.Group onChange should not pass removed value (#16392)
* filter removed value

* clean up

* code style update
2019-04-30 23:39:01 +08:00
afc163
084deebd94
🐛 Fix AutoComplete align issue
close #14156
2019-04-30 18:23:09 +08:00
afc163
bde2eb36b3
🎬 use new file upload mock API
https://www.mocky.io/
2019-04-30 16:10:00 +08:00
afc163
8082b4c2cf
Improve upload demo
close #16375
2019-04-30 15:52:58 +08:00
Eden Wang
19f0ca4a2f feat: add optional to support top and left slick dots (#16186) (#16225)
* add optional to support top and left slick dots

* update carousel snapshot

* Update doc, add placement demo

* update carousel placement demo snapshots

* rename dots placement to position

* update vertical as deprecated

* rename dotsPosition to dotPosition

* refine code

* add warning testcase for vertical

* remove unused warning

* update expression

* Additional test case for dotPosition
2019-04-29 17:24:06 +08:00
偏右
5ef2cc5a8c
Merge pull request #16358 from ant-design/fix-drawer-animation
fix: 🐛 Drawer wrong animation direction
2019-04-29 13:13:14 +08:00
Juan Jose A
071108eb63 Update index.en-US.md (#16373) 2019-04-29 10:10:44 +08:00
zombieJ
fee6b61c19
fix: raf should keep same id (#16370) 2019-04-28 23:52:35 +08:00
信鑫-King
59856a093b fix: Upload types (#16360)
* fix: Upload types

* fix: ci

* fix: ci

* fix: ci

* fix: ci
2019-04-28 20:49:57 +08:00
zombiej
f21b30dcb0 feat: TreeNode support checkable 2019-04-28 20:23:15 +08:00
陈帅
34f24a88a9 feat: Breadcrumb support DropDown (#16315)
* breadcrumbs support drop down menu

* update doc

* add require less

* fix test

* fix md doc

* less code

* fix  style warning

* update snap

* add children render test
2019-04-28 20:08:29 +08:00
zombieJ
9d5f61363c
feat: Collapse support expandIconPosition (#16365)
* update doc

* support expandIconPosition

* update snapshot
2019-04-28 17:03:19 +08:00
zombieJ
8b4f0c269e
Merge pull request #16354 from ant-design/master
Merge master into feature
2019-04-28 16:29:44 +08:00
zombieJ
5469bbaa73
adjust slider text style (#15128)
* adjust style

* use keep-all instead
2019-04-28 15:41:36 +08:00
Sebastian Busch
5ce2f89adc Form onFieldsChange(): document third parameter "allFields", remove non-existent fourth parameter "add" from TypeScript definition (#16343)
* there is no fourth parameter, added by mistake in 619b0ed628

* Form onFieldsChange(): document third parameter 'allFields', introduced in 619b0ed628
2019-04-28 15:29:18 +08:00
zombiej
0c37496ae8 Merge remote-tracking branch 'origin/master' into docs 2019-04-28 14:56:08 +08:00
zombiej
99fbc9dcd0 update collapse faq demo 2019-04-28 14:26:37 +08:00
afc163
49dae1a1c6
🐛 Fix Drawer wrong animation direction
close #15713
close #15146
2019-04-28 14:13:38 +08:00
zombieJ
b63ceef831
refactor: Update Tree & TreeSelect deps (#16330)
* use CSSMotion

* update snapshot
2019-04-28 12:10:39 +08:00
afc163
a10ea03754
Fix cascader test snapshot 2019-04-28 12:06:05 +08:00
陈帅
30508b0124 fix error types (#16043) 2019-04-28 11:47:22 +08:00
He Linming
6cb76a99de feat: Add Timeline.Item.position (#16148) (#16193)
* fix: Timeline.pendingDot interface documentation there is a small problem (#16177)

* feat: Add Timeline.Item.position (#16148)

* doc: add version infomation for Timeline.Item.position
2019-04-27 18:18:49 +08:00
afc163
7b56290ef4
📝 Improve column.align document 2019-04-27 18:15:07 +08:00
偏右
7e82ada5c5
Merge pull request #16341 from sbusch/RangePicker-renderExtraFooter-gets-no-args
RangePicker.renderExtraFooter() gets no args, fix TypeScript definition and clean up code
2019-04-27 16:12:51 +08:00
Sebastian Busch
7a514c1b94 Fix TypeScript def for RangePicker.renderExtraFooter(), gets no args 2019-04-26 14:31:38 +02:00
Sebastian Busch
e8229d8ec9 rc-calendar RangeCalendar calls renderFooter() without args 2019-04-26 13:40:59 +02:00
afc163
04001a06ea
💄 update code style 2019-04-26 18:15:31 +08:00
afc163
b2379fe139
🐛 Add className in TooltipProps only, #16195 2019-04-26 17:12:19 +08:00
偏右
e01ba57332
Merge pull request #16195 from swillis12/Fix-tooltip-Type
Fix className prop issue when using Tooltip
2019-04-26 16:12:09 +08:00
zombieJ
685f4339ea
Typography editable mode should support className (#16307) 2019-04-25 17:42:59 +08:00
偏右
0fc6e7d07f
Merge pull request #16306 from ant-design/pagination-bg
fix: Pagination active item should have background color
2019-04-25 16:41:32 +08:00
zombiej
5a462d864a fix: Pagination active item should have background color 2019-04-25 16:34:12 +08:00
陈帅
4e5497328a
Merge pull request #16187 from ant-design/page-header-button
Back icon should is a button
2019-04-25 16:29:13 +08:00
zombieJ
5fd8ba15ef
fix: Caldendar select option ellipsis when not in fullscreen (#16304) 2019-04-25 16:22:40 +08:00
zombieJ
30a798c0e5
feat: Button support link type (#16289)
close #15892
2019-04-25 16:07:30 +08:00
陈帅
dd01852c23 change use name 2019-04-25 15:39:14 +08:00
陈帅
c7e4027398 beter class name 2019-04-25 15:13:13 +08:00
陈帅
6055905ae4 change onclick dom 2019-04-25 12:18:01 +08:00
zombiej
b4f302aa6f merge master 2019-04-24 21:10:28 +08:00
DiamondYuan
b3bea96e80 fix: Tree checkbox animation not correct (#16272)
* fix: Tree checkbox animation not correct

* fix: Tree checkbox animation not correct

* fix: Tree checkbox animation not correct

* chore: add comment
2019-04-24 20:09:49 +08:00
zombieJ
8f0bf39348
add check prepare to make Affix smooth in Safari (#16281) 2019-04-24 19:53:53 +08:00
zombieJ
c89c597e7f
feat: add htmlFor in Form.Item (#16278)
* add htmlFor in Form.Item

* update doc
2019-04-24 17:29:49 +08:00
zombieJ
6f85379c12
rise type style priority of Typography (#16275) 2019-04-24 15:03:03 +08:00
Amumu
1f142c0a6d modal title break word (#16267) 2019-04-24 12:37:20 +08:00
zombieJ
e541a2492c
fix: List with actions style should be the right (#16239)
* update css

* should not affect vertical style

* update logic
2019-04-24 12:21:02 +08:00