Commit Graph

9391 Commits

Author SHA1 Message Date
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
zombieJ
8f2c74c39f
update demo (#16127) 2019-04-16 23:11:12 +08:00
zombieJ
98fc8a14e0
feat: Support append theme less file with less-variable (#16118)
* add override

* add override support

* update doc
2019-04-16 21:59:25 +08:00
zombieJ
aff6f6d8fb
Merge pull request #16102 from ant-design/master
chore: Merge master into feature
2019-04-16 16:58:19 +08:00
zombieJ
4cfbeeac2e
use 8px for radio circle (#16119) 2019-04-16 15:48:36 +08:00
afc163
b4bdb19952
Fix snapshot 2019-04-16 14:22:22 +08:00
afc163
0a8f33385d
🆙 use @ant-design/create-react-context of MIT 2019-04-16 12:18:39 +08:00
zombieJ
7db67ae8f1
add interopDefault (#16110) 2019-04-16 11:39:43 +08:00
偏右
3fba56ec90
Merge pull request #15310 from ztplz/static
style: 🏷 static tags
2019-04-16 11:36:28 +08:00
zombieJ
f552deb46d
fix: PageHeader which tags should use ReactNode (#16106)
* fix PageHeader which tags should use ReactNode

* Tags
2019-04-16 00:36:25 +08:00
zombieJ
08688d5d48
should default work (#16103) 2019-04-15 23:35:31 +08:00
afc163
2737c00633
💄 Fix stylelint problems 2019-04-15 22:44:51 +08:00
Yuri Pirola
967f22210d Add Italian localization of Icon, Text and global components 2019-04-15 11:32:08 +02:00
zombiej
28ab57bde1 add faq of grid 2019-04-15 15:47:33 +08:00
偏右
021676936d
Merge pull request #16085 from ant-design/fix-less
fix: Correct typo of theme less
2019-04-15 15:11:59 +08:00
zombieJ
15b900bbfb
another try (#16077) 2019-04-15 14:56:21 +08:00
zombiej
ffa0e7378f fix typo 2019-04-15 14:53:14 +08:00
Ray Booysen
fe1617bc5c If there is an existing debounce in progress, cancel that 2019-04-15 14:30:04 +08:00
偏右
76b3f76033
Merge pull request #16071 from ant-design/up-dev-deps
chore: 🆙 upgrade devDependencies
2019-04-15 13:15:44 +08:00
zombieJ
ae101a2056
fix: labelAlign should work in Form.Item (#16072)
* labelAlign should work in Form.Item

* add Form & Form.Item

* rename type
2019-04-15 12:10:04 +08:00
afc163
a2a9831abb
💄 Fix less code style 2019-04-15 11:05:06 +08:00
zombiej
da9ab93c40 use li wrap with comment 2019-04-15 10:27:45 +08:00
zombiej
be17c03245 merge feature branch 2019-04-15 10:10:14 +08:00
afc163
60f4930348
📝 Optimize table and form documentation 2019-04-14 14:32:16 +08:00
偏右
6ccbaddff5
Merge pull request #16066 from ant-design/master
Merge master into feature branch
2019-04-14 13:57:20 +08:00
gxvv
9d95429f93 📸 Update button snapshot. 2019-04-14 10:09:25 +08:00
gxvv
0902bcd59a 📝 Replace span to div in loading button doc. 2019-04-14 10:09:25 +08:00
gxvv
9dcde5ab94 💄 Remove the pointer events handler of loading circle button. 2019-04-14 10:09:25 +08:00
啸生
32bc6995d6
update snapshot (#16059)
<!--
First of all, thank you for your contribution! 😄

New feature please send pull request to feature branch, and rest to master branch.
Pull request will be merged after one of collaborators approve.
Please makes sure that these form are filled before submitting your pull request, thank you!

[[中文版模板 / Chinese template](https://github.com/ant-design/ant-design/blob/master/.github/PULL_REQUEST_TEMPLATE/pr_cn.md)]
-->
### 🤔 This is a ...

- [ ] New feature
- [ ] Bug fix
- [ ] Site / document update
- [ ] Component style update
- [ ] TypeScript definition update
- [ ] Refactoring
- [ ] Code style optimization
- [ ] Branch merge
- [x] Other (about what?)
2019-04-13 21:48:05 +08:00
Salavat Gizatov
9f9f81ed7a 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
2019-04-12 11:52:00 +08:00
zombiej
28d133ca93 Merge remote-tracking branch 'origin/master' into merge-master 2019-04-11 18:05:46 +08:00
zombieJ
38f701cc90
fix: Empty in IE not fully render (#16016)
* fix viewBox

* update snapshot
2019-04-11 13:49:57 +08:00
zombieJ
c4283ebe72
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
2019-04-11 13:40:28 +08:00
zombieJ
41316e69e8
update snapshot (#16017) 2019-04-11 12:48:36 +08:00
偏右
18d99fb937
Merge pull request #15997 from ant-design/recover-openAnimation
chore: menu openAnimation use object
2019-04-11 12:11:51 +08:00
zombieJ
049fc177b6
fix: use Tabs overflow hidden instead of display none (#16013)
* fix nest table style

* use overflow hidden instead of display none
2019-04-11 11:28:17 +08:00
zombieJ
df3e1b21d8
fix nest table style (#16008) 2019-04-11 01:22:35 +08:00
偏右
d922c377cb refactor: Optimize default selection column width implement (#15990)
* 🔨 Optimize default selection column width implement

make it be able to overrided in css

close #15968

*  update snapshots
2019-04-11 00:54:46 +08:00
ztplz
351cf5960c Update 2019-04-10 21:42:35 +08:00
诸岳
dcdd7fb414 fix(Tree): Switcher loading icon and checkbox should be vertical align when @tree-title-height is modified, close #15955 (#15962) 2019-04-10 17:44:39 +08:00
jljsj33
278fcfdf41 menu openAnimation use object 2019-04-10 17:17:53 +08:00
jljsj33
1bc8ec5e0f recover openAnimation 2019-04-10 16:32:17 +08:00
jljsj33
c8a58396c5 update tween and scroll version, fix menu openTransitionName warning 2019-04-10 15:53:55 +08:00
zombiej
b54157a395 update doc 2019-04-09 22:52:25 +08:00
ztplz
0183bbe4fb Remove Wave on Tag 2019-04-09 22:35:21 +08:00
zombieJ
d1e58d058f
update wave style (#15978) 2019-04-09 19:32:58 +08:00
Salavat Gizatov
574313d2d8 feat: table customizing variable (#15971)
* feat: added table selected row color variable

* fix: @table-selected-row-color default is inherit
2019-04-09 17:08:17 +08:00
zombieJ
bef491ecc9
fix: Menu defaultOpenKeys not work as expect (#15970)
* Remove animation on first render

* update test cas
2019-04-09 16:39:33 +08:00
偏右
6bd76140a4
Merge pull request #15951 from ant-design/fix-progress-status
fix(Progress): 🐛 fix progress success UI when status is undefined
2019-04-09 16:17:06 +08:00
zombieJ
645557f3d9
Proxy of event info (#15967) 2019-04-09 14:20:59 +08:00
信鑫-King
4c3a351bc7 tweak: export Skeleton avatar name (#15965) 2019-04-09 13:42:34 +08:00
偏右
a26397843c
Merge pull request #15948 from ant-design/menu-tooltips
fix: Tooltips show work when Menu collapsed
2019-04-08 22:49:15 +08:00
afc163
ace93f1b42
🎨 refactor some code 2019-04-08 22:48:34 +08:00
afc163
fbcc884b5b
🐛 fix progress success UI when status is invalid 2019-04-08 22:33:12 +08:00
zombiej
58768b90f6 Merge branch 'feature' into tree-select-showSearch 2019-04-08 22:23:16 +08:00
zombiej
9f3c357053 add test case 2019-04-08 22:20:18 +08:00
afc163
463ac0eccb
💄 chore progress demo 2019-04-08 21:45:32 +08:00
afc163
89351babc2
fix(Progress): 🐛 fix progress success UI when status is undefined
close #15950
2019-04-08 21:43:30 +08:00
Juan Carlos Lloret H
1e6405eae9 Added missing showLessItems prop to pagination component 2019-04-08 15:43:06 +02:00
zombiej
f7df66b97c fix tooltip not works 2019-04-08 21:03:25 +08:00
zombieJ
369cb69e7f feat: TreeSelect support showSearch in multiple mode (#15933)
* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch
2019-04-08 20:24:49 +08:00
zombieJ
ff23ce72e6
Revert "feat: TreeSelect support showSearch in multiple mode (#15933)" (#15946)
This reverts commit fa47d9ca60.
2019-04-08 20:23:40 +08:00
zombieJ
fa47d9ca60
feat: TreeSelect support showSearch in multiple mode (#15933)
* update rc-tree-select

* typo

* update desc & snapshot

* update desc & snapshot

* check default showSearch
2019-04-08 20:21:22 +08:00
zombieJ
97d6f79ce4
fix: Menu arrow not display in old version of IE (#15932) 2019-04-08 18:26:31 +08:00
zombieJ
9190245b52
update ts def (#15938) 2019-04-08 18:04:46 +08:00
偏右
2950219864
Merge pull request #15923 from ant-design/fix-label-switch
fix(Form): switch should be trigger by form label
2019-04-08 11:50:50 +08:00
zombieJ
100ebc9795
warning DatePicker of invalidate time (#15920) 2019-04-08 11:41:31 +08:00
afc163
69140e7d59
bug(Form): switch should be trigger by form label
close #15549
2019-04-08 11:11:34 +08:00
afc163
8155756826
site: 💄 optimize icon doc 2019-04-08 10:17:03 +08:00
信鑫-King
8199f4b9f9
Merge pull request #15899 from ant-design/affix-size
fix: Affix should dynamic adjust if size changed
2019-04-07 19:40:35 +08:00
zombieJ
fb6b6a1b0b
fix: Use mock of lodash.debounce (#15904)
* another try

* rm mock file
2019-04-07 19:39:04 +08:00
偏右
74255ab1af
Merge pull request #15900 from ant-design/fix-range-picker-input
fix RangePicker endtime-input not editable
2019-04-07 17:02:20 +08:00
偏右
79aa04bf5a
Merge pull request #15895 from ant-design/table-align-right
fix: Table align right not work on title
2019-04-07 16:53:46 +08:00
Minwei Xu
32f9458b54 docs: Add space between eng and chinese for #15876 2019-04-07 14:28:50 +08:00