Commit Graph

9129 Commits

Author SHA1 Message Date
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
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
陈帅
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