Commit Graph

14778 Commits

Author SHA1 Message Date
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
信鑫-King
0156886351 fix: codesandbox not support slash import (#16509)
* fix: codesandbox not support lodash/*

* fix: remove slash deps
2019-05-10 15:45:51 +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
偏右
db8c54e17e
Merge pull request #16510 from yociduo/master
fix(PageHeader): Should not render blank dom
2019-05-10 00:00: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
Lyndon001
83c16707a0
Update overview.zh-CN.md 2019-05-09 14:57:05 +08:00
Lyndon001
450560426a
Update overview.zh-CN.md 2019-05-09 14:54:43 +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
afc163
34d8ff8eb4
📝 update changelog 2019-05-09 10:52:06 +08:00
偏右
6d845f60ef
Update CHANGELOG.zh-CN.md 2019-05-09 01:13:53 +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
偏右
4f74471198
Merge pull request #16477 from ant-design/fix-disable-option-style
fix: 🐛 Fix Select selected and disabled item wrong hover color
2019-05-08 16:28:18 +08:00
afc163
9e478a4273
📝 optimize site info 2019-05-08 16:27:37 +08:00
afc163
a4fb429a19
🐛 Fix disabled Option wrong hover color 2019-05-08 16:00:43 +08:00
偏右
6464cfdb32
Merge pull request #16460 from ant-design/resolve-feature-conflict-again
Resolve feature conflict again
2019-05-07 18:11:25 +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
偏右
896011f586
Merge pull request #16457 from ant-design/resolve-feature-conflict
Resolve feature conflict
2019-05-07 18:06:55 +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
偏右
1d93339c3b
chore: 💄 Prettier all files (Merge pull request #16448 from ant-design/prettier-all)
chore: 💄 Prettier all files
2019-05-07 16:00:05 +08:00
afc163
15e5e4cb59
🐛 Do not prettier js in less 2019-05-07 15:45:47 +08:00
afc163
32bb3bcb90
Fix lint 2019-05-07 15:31:08 +08:00
afc163
ca665dbc60
prettier before commit 2019-05-07 15:13:55 +08:00
afc163
b780070351
💄 prittier all files 2019-05-07 14:57:32 +08:00
afc163
66f81550e4
use prettier cli 2019-05-07 14:57:25 +08:00
偏右
c4dcc0a827
Merge pull request #16447 from ant-design/improve-pagination-style
chore:  💄 Adjust pagination link style
2019-05-07 14:01:41 +08:00
afc163
77b39ddd76
💄 Adjust pagination link style
link take all space inside li

close #15704
2019-05-07 13:58:04 +08:00
偏右
927f99ed9e
Merge pull request #16446 from ant-design/fix-filterDropdown-ts
fix: improve filterDropdown typescript type
2019-05-07 12:25:33 +08:00
afc163
969c171da1
fix filterDropdown type 2019-05-07 12:09:55 +08:00
偏右
b41f9d6b00
Merge pull request #16445 from ant-design/fix-password-feedback
fix: Fix password feedback
2019-05-07 11:41:24 +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
偏右
184cf2ba88
Merge pull request #16438 from ant-design/feature
Merge feature into master
2019-05-06 13:33:59 +08:00
陈帅
6bcd4b43fa bump 3.17.0 2019-05-06 12:07:29 +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
陈帅
0843adce69
Merge pull request #16427 from ant-design/changelog
Changelog
2019-05-06 11:43:53 +08:00
陈帅
c936bba772 fix review warning 2019-05-06 10:18:05 +08:00
陈帅
504979da0e fix warning 2019-05-05 12:23:21 +08:00
陈帅
a4bf952326 3.17.0 changelog 2019-05-05 11:53:35 +08:00