Commit Graph

9464 Commits

Author SHA1 Message Date
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
偏右
e83302c1ff feat: 🇭🇷 hr_HR locale (#16258)
* Added Croatian locale

* fixed lint error

*  Add test cases for hr_HR

* 📝 update i18n documentation
2019-04-24 12:18:59 +08:00
zombieJ
197c424e54
fix small table header have background color (#16266) 2019-04-24 10:37:29 +08:00
偏右
b0f05094a7
Merge pull request #16228 from ant-design/drawer-afterVisibleChange
feat: Drawer after visible change
2019-04-23 20:10:43 +08:00
afc163
a0bfdb20a7
Fix snapshots 2019-04-23 19:54:16 +08:00
偏右
de77b8510d
Merge pull request #16172 from afelicioni/patch-1
Updates LocaleProvider italian language package
2019-04-23 19:47:55 +08:00
偏右
5a508a3751
Merge pull request #16093 from yp/master
Add Italian localization of Icon, Text and global components
2019-04-23 19:47:43 +08:00
偏右
2373dbbb6b
Merge pull request #15890 from ant-design/list-ul-li
feat: Wrap List in `ul` for accessibility
2019-04-23 19:42:03 +08:00
偏右
9c11352ab7
Merge pull request #16130 from rinick/master
fix: fix card mode Tabs border style when used with tabPosition="bottom"
2019-04-23 19:35:44 +08:00
zombieJ
3951556fc0
add api collection script & update input-number doc (#16253) 2019-04-23 18:01:39 +08:00
atomoo
b5291f01a0 remove active style from disabled Switch 2019-04-23 16:08:26 +08:00
jljsj
a1b525419d update 2019-04-23 13:59:21 +08:00
zombieJ
da9cef91b8
fix: Form with forwardRef typescript (#16242)
* update form typescript define with forawardRef

* add ts test
2019-04-23 11:23:20 +08:00
Sean Willis
fec88af3d3 Fix unnecessary indent 2019-04-22 08:11:12 -07:00
Rick Zhou
23ed0cb9dc Merge remote-tracking branch 'remotes/antd/master' 2019-04-22 07:12:53 -07:00
Eden Wang
9fd27e0ceb fix: Select active item hover color is wrong (#16238) 2019-04-22 22:00:32 +08:00
zombieJ
d1fa21155d
fix: Select should trigger onSearch when search input is empty (#16235)
* update rc-select

* update demo
2019-04-22 21:42:09 +08:00
jljsj33
86b8a1ced1 rm onVisibleChange 2019-04-22 19:27:05 +08:00
jljsj33
773b2fdbd6 drawer: add afterVisibleChange 2019-04-22 19:27:05 +08:00
Benjamin Amelot
163a21f259 feat: Notification functions accept top, bottom and getContainer as arguments 2019-04-22 12:23:16 +02:00
zombieJ
440a3f497a
fix pagination is null crash (#16231) 2019-04-22 18:03:06 +08:00
zombieJ
a530be1eab
adjust hoist-non-react-statics ts import (#16224) 2019-04-22 15:47:07 +08:00
zombieJ
252e1dd7e9
Merge pull request #16213 from ant-design/master
Merge master into feature
2019-04-22 15:17:12 +08:00
偏右
686c1fc346
Merge pull request #16174 from ant-design/fix-table-chrome
fix: Firefox miss bottom line when use sorter
2019-04-22 11:02:03 +08:00
陈帅
1ece80f6bc snapshot updated 2019-04-22 10:14:44 +08:00
陈帅
7aae4bbc36 Merge branch 'master' into page-header-button 2019-04-22 10:01:31 +08:00
Wei Zhu
8ec3831558
Merge pull request #16203 from saxenanihal95/code_refactor
Refactor: created InputIcon of common code in RangePicker and WeekPicker
2019-04-21 15:11:01 +08:00
zombiej
dfeeafa218 Merge remote-tracking branch 'origin/master' into feature 2019-04-21 15:07:01 +08:00
陈帅
6d1d685393 Merge branch 'master' into page-header-button 2019-04-21 14:51:56 +08:00
zombieJ
73188ac497
fix: Table rowSelection.columnWidth should work (#16180)
* set row col width instead of check cecll width

* use rc-table internal hook

* update snapshot
2019-04-21 13:54:15 +08:00
saxenanihal95
9fd4b2de63 Refactor: created InputIcon of common code in RangePicker and WeekPicker 2019-04-20 23:10:01 +05:30
zombieJ
5987792a44
fix: typescript definition update (#16202)
* fix lint

* update snapshot

* update define
2019-04-20 23:38:02 +08:00
陈帅
ea444bd7eb snapshots updated 2019-04-20 13:26:17 +08:00
陈帅
a1c4d9f45b use operation-unit function 2019-04-20 10:56:11 +08:00
Aaron Cawte
4cd0c74d0d Documentation - Tree Component 2019-04-19 23:39:58 +01:00
Aaron Cawte
7333506c42 Documentation - Timeline Component 2019-04-19 23:39:34 +01:00
Aaron Cawte
8833f0b8ad Documentation - Tag Component 2019-04-19 23:38:24 +01:00
Aaron Cawte
719aff7b1f Documentation - Table Component 2019-04-19 23:37:13 +01:00
Aaron Cawte
0c7b3ce34b Documentation - List Component 2019-04-19 23:36:12 +01:00
Aaron Cawte
a89c228bf5 Documentation - Comment Component 2019-04-19 23:35:29 +01:00
Aaron Cawte
e8e29f78a9 Documentation - Collapse Component 2019-04-19 23:34:56 +01:00
Aaron Cawte
0fc9b86ced Documentation - Badge Component 2019-04-19 23:34:09 +01:00
Aaron Cawte
f30aee5cef Documentation - Avatar Component 2019-04-19 23:33:10 +01:00
Sean Willis
246f1e0916 Extend HTMLAttributes 2019-04-19 14:49:09 -07:00
Aaron Cawte
9ac561dfce Documentation - LocaleProvider Component 2019-04-19 19:37:46 +01:00
Aaron Cawte
8557cb47d2 Documentation - Divider Component 2019-04-19 19:37:12 +01:00
偏右
d65d68f263
Merge pull request #15996 from ant-design/dropdown-right-cion
feat: Dropdown support set right icon
2019-04-19 23:24:14 +08:00
Aaron Cawte
8686e52804 Documentation - Skeleton Component 2019-04-19 15:39:21 +01:00
Aaron Cawte
b431be3c2f Documentation - Spin Component 2019-04-19 15:38:41 +01:00
Aaron Cawte
5b33d94573 Documentation - PopConfirm Component 2019-04-19 15:37:48 +01:00
Aaron Cawte
4b9f85ba64 Documentation - Notification Component 2019-04-19 15:36:29 +01:00
Aaron Cawte
fb42d3c9a5 Documentation - Message Component 2019-04-19 15:35:06 +01:00
Aaron Cawte
1a0bac944b Documentation - Modal Component 2019-04-19 15:06:38 +01:00
Aaron Cawte
a3c10d7f04 Documentation - Drawer Component 2019-04-19 13:59:45 +01:00
Aaron Cawte
7e17539892 Documentation - Alert Component 2019-04-19 13:48:29 +01:00
Aaron Cawte
ee6d96f39e Documentation - Tooltip Component 2019-04-19 13:46:08 +01:00
陈帅
fa81af5abb TransButton use div#role=button 2019-04-19 17:52:27 +08:00
陈帅
b2c734c169 snapshots updated 2019-04-19 15:55:43 +08:00
陈帅
e22bfcdc4d fix #16038, back icon should is a button 2019-04-19 15:42:01 +08:00
DiamondYuan
f676cfa65f chore:update style of demo 2019-04-19 13:35:14 +08:00
He Linming
2ac02e0035 feat: Support SkeletonAvatarProps.size accept number (#16078) (#16128) 2019-04-19 01:06:20 +08:00
ztplz
ab683841d5 fix: Modal's open animation (#16144)
* Fix Modal's open animation

* Fix incorrect event type

* test

* Update

* Update

* Update

* Update
2019-04-18 23:20:13 +08:00
zombiej
7e3c338c22 remove background lock 2019-04-18 23:14:09 +08:00
zombiej
09ed59dba7 rm useless code 2019-04-18 22:53:29 +08:00
zombiej
a137749b53 move background color into tr 2019-04-18 22:24:26 +08:00
Alessio Felicioni
4084b92512
Updates LocaleProvider italian language package 2019-04-18 15:40:13 +02:00
偏右
6a754eb320
Merge pull request #16155 from moonrailgun/feature-text-selection-vars
add text selection in less vars so we can overwrite it independent
2019-04-18 13:38:55 +08:00
moonrailgun
25599bc7ce add text selection so we can overwrite it independent 2019-04-18 12:31:04 +08:00
偏右
6e2c2baaae
Merge pull request #16114 from ant-design/create-react-context
chore: use @ant-design/create-react-context of MIT
2019-04-18 11:08:57 +08:00
JuFeng Zhang
a8b23ea944 docs: Fix selector in demo 'Playground'. (#16145)
Fix #16141
2019-04-18 09:04:26 +08:00
zombieJ
9dbca667d6
fix: Affix dynamic change target should work (#16146)
* fix target not refreshed

* add comment
2019-04-18 01:33:05 +08:00
zombieJ
21c0ba5bbd
udpate warning (#16138) 2019-04-17 17:31:39 +08:00
zombieJ
fdcfabfa78
fix: form typescript definition (#16126)
* use redux-react ts define

* update doc

* follow origin rule
2019-04-17 13:51:52 +08:00
DiamondYuan
17b800ffab fix: fix document table order 2019-04-17 10:35:42 +08:00
DiamondYuan
331dadbef4 style: change style of dropdown-button demo 2019-04-17 10:35:42 +08:00
DiamondYuan
d23946a092 test: update updateSnapshot 2019-04-17 10:35:42 +08:00
DiamondYuan
8a80c289f2 test: update updateSnapshot 2019-04-17 10:35:42 +08:00
DiamondYuan
82a34d5938 style: format dropdown-button.md 2019-04-17 10:35:42 +08:00
DiamondYuan
99b5ebd81e test: update updateSnapshot 2019-04-17 10:35:42 +08:00
DiamondYuan
abdebe8f68 style: format dropdown-button.md 2019-04-17 10:35:42 +08:00
DiamondYuan
2493182039 docs: update doc of dropdown component 2019-04-17 10:35:42 +08:00
DiamondYuan
de7c8d09bd feat: dropdown support set right icon 2019-04-17 10:35:42 +08:00
zombieJ
df141914e9
docs: Add FAQ of Affix window scroll (#16125)
* update doc

* Update index.en-US.md

* update desc
2019-04-17 10:19:57 +08:00
Rick Zhou
6a7e8986b8 fix card mode Tabs border style when used with tabPosition="bottom" 2019-04-16 08:21:14 -07:00