Commit Graph

11798 Commits

Author SHA1 Message Date
二货机器人
78ac8a19b2
fix: hideAdd not work (#24621) 2020-05-31 21:57:42 +08:00
二货机器人
7eede1a0b6
fix: tabs align style (#24620) 2020-05-31 21:34:55 +08:00
偏右
9d4d6f5402
Added Irish(ga_IE) locale (#24609)
🆙 upgrade rc-pagination and rc-picker

🇮🇪 docs and test case of Irish locale

Co-authored-by: AbhijeetGaware <56472463+AbhijeetGaware@users.noreply.github.com>
2020-05-31 12:40:10 +08:00
Tom Xu
162b6979af
refactor(badge): 🛠 improve code (#24601)
* refactor(badge): improve code

* refactor(badge): improve code

* increase coverage
2020-05-31 12:38:32 +08:00
偏右
b95207d58e
Revert "fix: make upload action buttons focusable (#24604)" (#24608)
This reverts commit 8e20fe6779.
2020-05-31 11:50:26 +08:00
偏右
882cec62d6
docs: 🌈 Add Components overview page (#24491)
* docs: Add components overview page

* fix detail

* remove ContributorsList form overview page

* fix components url

* improve code style

* remove extra file

* fix detail

* fix lint

* fix lint

* docs: Finish components overview page

* fix lint

* docs: Update cover

* fix lint

* update cover

* update menu

* improve overview page

* refactor code

* fix order

* update title

* add components count

* fix overview page ssr bug

* move less file

* update title margin

Co-authored-by: arvinxx <arvinx@foxmail.com>
2020-05-31 11:48:34 +08:00
二货机器人
e915a83326
Merge pull request #24606 from ant-design/feature
chore: master merge feature
2020-05-31 09:11:01 +08:00
偏右
a9b95fe63b
docs: 📅 DatePicker change start day of week (#24605)
close #5605
close #19229
close #17982
close #3877
close #11552
close #10644
close #12194
2020-05-31 01:01:53 +08:00
Teng YANG
8e20fe6779
fix: make upload action buttons focusable (#24604) 2020-05-31 01:00:23 +08:00
Artem
d8d48487b0
chore: export RuleObject and RuleRender types from Form (#24541)
* Fix Table type

* Add: export RuleObject and RuleRender

Co-authored-by: soroka_av <soroka_av@st.by>
2020-05-30 23:28:11 +08:00
二货机器人
d89cca53b1
docs: Text ellipsis (#24603) 2020-05-30 22:33:24 +08:00
二货机器人
77c5adbe4d
feat: New Tabs (#24552)
* init style

* support size

* editable

* add shadow

* update demo

* fix nest style

* update rtl

* update snapshot

* bump

* fix hover

* fix test case

* fix style lint

* clean up

* updat docs

* add onTabScroll

* upgrade rc-dropdown

* update snapshot

* clean snapshot

* clean up

Co-authored-by: afc163 <afc163@gmail.com>
2020-05-30 18:28:25 +08:00
偏右
cf360252f7
chore: 🆙 upgrade rc-util to 5.x (#24584)
* 🆙 upgrade rc-util to 5.x

* 5.0.1

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* Update package.json

* upgrade rc-menu and rc-mentions

* upgrade rc-tabs

* upgrade rc-picker

* upgrade rc-table

* fix snapshot

* Update package.json

* Update package.json

* Update package.json
2020-05-30 14:56:03 +08:00
Kermit Xuan
0bf728c3e8
docs(table): update hideSelectAll api version (#24594) 2020-05-30 12:31:53 +08:00
偏右
f958a1cbc8
fix: Steps subtitle transition style (#24593)
close #24576
2020-05-30 00:45:24 +08:00
Teng YANG
c353e8bb06
support -readonly suffix on input-affix-wrapper (#24551) 2020-05-30 00:37:59 +08:00
Kermit Xuan
49533aafdc
feat(table): support hideSelectAll prop and (#24592)
remove hideDefaultSelections prop in rowSelection(#14581);
2020-05-29 23:50:56 +08:00
xrkffgg
ada81616b5
style: optimize tree checkbox rtl style (#24563) 2020-05-29 22:28:52 +08:00
Sakari Pesonen
0cdb4c8c86
Extend Finnish locale by updating fi_FI.tsx (#24591)
Added missing localization values for Finnish locale.
2020-05-29 22:04:10 +08:00
偏右
c7e1b050ab
🗑️ remove PropTypes (#24577) 2020-05-29 18:05:58 +08:00
偏右
2c9ddcb1b2
fix: List warning (#24568)
* refactor code

* fix: List not recognize colStyle on DOM node

close #24557
2020-05-29 15:27:08 +08:00
Charlie Jonas
37c894f1a2
fix: Progress steps didn't change when update percent (#24534)
* #24532 Progress with steps does not reverse indicator when moving reducing progress percent

* updating snapshots

* Update components/progress/Steps.tsx

Co-authored-by: Amumu <yoyo837@hotmail.com>

* fix tsd and add transition

* add default color for Progress steps

* color => background

* @success-color => @info-color

* @progress-default-color

Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-05-29 13:43:53 +08:00
xrkffgg
059b106ccf
docs: update confirm demo (#24569) 2020-05-29 13:39:24 +08:00
xrkffgg
11bbd725f7
fix: transfer rtl (#24560) 2020-05-29 10:36:50 +08:00
afc163
9e9e62911c 🆙 upgrade react-dnd 2020-05-28 23:12:04 +08:00
Kermit Xuan
9b8e0bb908
feat(upload): data support return Promise(#22529) (#24546) 2020-05-28 22:02:56 +08:00
二货机器人
7c77a764e1
Merge pull request #24537 from ant-design/master-to-merge-feature
chore: Master to merge feature
2020-05-28 16:49:21 +08:00
afc163
527f34fe6d fix snapshot 2020-05-28 16:21:18 +08:00
arturpfb
163154a4fb
feat: Add ptBR localization to Form and some other components that were missing. (#24518)
* added ptBR localization.

* Corrected lint.

Co-authored-by: Artur Barbosa | Stone <artur.barbosa@stone.com.br>
2020-05-28 16:08:53 +08:00
afc163
e3ac222fd3 🎬 update card demo 2020-05-28 15:49:35 +08:00
afc163
d039e32e6b merge feature into master-to-merge-feature 2020-05-28 15:30:36 +08:00
Tom Xu
56c42e496b
refactor(breadcrumb): rewrite with hook (#24512)
* refactor(breadcrumb): rewrite with hook

* Update BreadcrumbItem.tsx
2020-05-28 15:22:00 +08:00
Tom Xu
81bde547cd
refactor(rate): improve code (#24524) 2020-05-28 15:21:40 +08:00
xrkffgg
afe7172974
docs: fix rate api (#24536) 2020-05-28 15:19:15 +08:00
偏右
4be9535926
fix: Password value still exists after blur it (#24535)
close #24526
2020-05-28 14:49:03 +08:00
二货机器人
cf401f73c8
fix: Form flex inline style (#24531) 2020-05-28 12:47:37 +08:00
xrkffgg
6773020607
style: optimize calendar content text rtl style (#24528) 2020-05-28 12:22:09 +08:00
xrkffgg
cfd66fa030
fix: cascader expand icon disacled color (#24521) 2020-05-28 12:17:04 +08:00
xrkffgg
9fcd20c6cc
style: optimize table filter dropdown rtl style (#24529) 2020-05-28 12:11:31 +08:00
xrkffgg
3712832a03
style: optimize cascader rtl style (#24520) 2020-05-28 10:04:29 +08:00
Tom Xu
fd9846a145
refactor(tag): improve code (#24513) 2020-05-28 09:56:45 +08:00
Tom Xu
030c545964
refactor(switch): improve code (#24516) 2020-05-28 09:55:23 +08:00
xrkffgg
9b54bd728d
fix: menu inline collapsed show without icon (#24330)
close #24311
2020-05-27 22:19:07 +08:00
偏右
ef7e7a80d2
test: increase test case cov of List (#24510) 2020-05-27 22:16:35 +08:00
Suki小火车
d5e7187d9d
fix: Breadcrumb link margin (#24490)
* fix: breadcrumb a 标签添加间距

* Update components/breadcrumb/style/index.less

Co-authored-by: 偏右 <afc163@gmail.com>

* chore: fix in rtl

* chore: add changelog

* chore: remove changelog

Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-27 20:40:19 +08:00
afc163
b2e92d38eb docs: 📝 add doc about adding language
close #24497
2020-05-27 20:09:05 +08:00
Sanonz
f7c34de3ca
fix: Avatar.onError() event is triggered twice (#24506) 2020-05-27 19:25:28 +08:00
zefeng
84df944aaf
chore: remove duplicate code (#24504) 2020-05-27 19:19:32 +08:00
coskunuyar
ab972ac1eb
Preventing parent components changing steps component text align property. (#24486)
Co-authored-by: Coskun Uyar <coskunuyarr@gmail.com>
2020-05-27 11:56:30 +08:00
xrkffgg
9e96b9e2d5
fix: alert close padding (#24471)
* fix: alert close padding

* add compact

* fix var
2020-05-27 10:29:04 +08:00
Tom Xu
2a3fc818d0
refactor(radio): rewrite with hook (#24485)
* refactor(radio): rewrite with hook

* fix lint
2020-05-27 10:21:17 +08:00
Tom Xu
5a1ffb7894
refactor(mentions): rewrite with hook (#24476)
* refactor(mentions): rewrite with hook

* Update index.tsx

* Update index.tsx

* Update index.tsx
2020-05-26 22:29:27 +08:00
Tom Xu
cea0e45671
docs: improve upload (#24482) 2020-05-26 22:29:04 +08:00
偏右
d13c76d7e4
refactor components/radio/group.tsx (#24480) 2020-05-26 22:26:51 +08:00
Tom Xu
5290421ac9
refactor(collapse): rewrite with hook (#24477) 2020-05-26 20:55:39 +08:00
Teng YANG
1bf9959062
fix @tree-directory-selected-bg don't work (#24468) 2020-05-26 13:52:41 +08:00
偏右
75d7038691
chore: update @ant-design/icons import way (#24467) 2020-05-26 12:38:08 +08:00
zoomdong
4e9fc51dba
feat: add custom expand style for typography.paragraph (#24385)
* feat: add custom expand style for typography.paragraph

* feat: delete filed-form

* fix: lint error

* feat: add test case

* fix: typo
2020-05-26 11:54:52 +08:00
zefeng
d7949a76ad
docs: update tooltip docs (#24465) 2020-05-26 11:41:23 +08:00
Teng YANG
ccd2820ce7
fix: #24205 less class name prefix enhancement (#24459)
* replace ant class prefix with variable in mixin

* replace ant class prefix with variable in wave
2020-05-26 10:32:35 +08:00
xrkffgg
b34b956529
docs: fix btn demo typo (#24463) 2020-05-26 09:37:26 +08:00
xrkffgg
47b3aa2225
docs: add version prompt of message rtl (#24456) 2020-05-26 09:08:07 +08:00
Kermit Xuan
84bd53627b
fix: 🐛 Typography title prop support (#24440) 2020-05-25 19:04:40 +08:00
zefeng
cb2094265e
feat(tooltip): Tooltip support colour background (#23155)
* feat(tooltip): Tooltip support colour background

Closes #23127

* patch: update test case

* chore: repalce h1 tag to Divider

* chore: update demo
2020-05-25 18:59:00 +08:00
Teng YANG
84225e4d50
add en_GB localisations for form (#24404) 2020-05-25 18:56:11 +08:00
xrkffgg
94edeaa02f
feat: add avatar gap api (#24357)
* feat: add avatar gap api

* docs: update explain

* fix: gap in span

* docs: update

* fix: test

* remove lastgap
2020-05-25 17:56:48 +08:00
偏右
c93400d375
feat: ⌨️ Popconfirm can be closed by pressing ESC (#24420)
* feat: support ESC to close Popconfirm

close #15203

* add test case

* fix focus in other element inside inner-content

* no fit

* fix snapshot

* refactor it

* use util cloneElement

* fix test case
2020-05-25 17:43:59 +08:00
骗你是小猫咪
21bd9444f4
test: use azure deploy ui test report site (#24327)
* test: use azure deploy ui test report site

* parallel stage

* continueOnError

* fix continueOnError position

* use github comment

* failed

* fix artifact name

* add download path

* ls files

* fix path download

* Install modules

* update snapshot image

* test: docker compose run test image

* use docker

* use docker update snapshots

* remove unused dep

* improve github comment and add doc

* fix azure script

* test faild condition

* improve pass comment
2020-05-25 17:40:57 +08:00
Fullstop000
0cea6237dc
doc: add exact type for onTabClick (#24448) 2020-05-25 17:35:24 +08:00
偏右
a5efa7a81a
test: increase coverage of Progress/Comment/Avatar/Dropdown (#24439)
* test: increase test case of Progress and Comment

* test: add test case for Avatar

* test: add test case for Dropdown

* fix snapshot

* fix snapshot

* remove console.log

* fix lint

* add avatar
2020-05-25 16:27:02 +08:00
xrkffgg
129975f9dc
fix: result demo snap (#24447) 2020-05-25 15:32:29 +08:00
xrkffgg
bffa58f439
docs: optimize demo show (#24446) 2020-05-25 14:59:01 +08:00
偏右
4b485d393b
Merge pull request #24436 from ant-design/master
chore: merge master into feature
2020-05-25 11:50:02 +08:00
cieldon32
b0b619c877
fix: solve the problem of overlapping elements (#24128)
* fix: solve the problem of overlapping elements

* fix:  Expected flex to come before flex-grow in group Box Model

* fix: flex: none

* fix: modify the label's style

Co-authored-by: 夏芸 <xiayun@xiayundeMacBook-Pro.local>
2020-05-25 09:49:55 +08:00
偏右
fdbf37a9c0
test: increase test case coverage (#24430)
* test: increase test case of Cascader

* test: increase test case of Grid and Tree
2020-05-24 23:52:25 +08:00
Tom Xu
4af818ca8e
refactor(Pagination): rewrite with hook (#24302)
* refactor(Pagination): rewrite with hook

* Update Pagination.tsx

* Update index.tsx
2020-05-24 23:13:32 +08:00
偏右
e0f57e72e0
fix: Card slow perfermance when use with react-split (#24425)
close #23654
2020-05-24 16:31:38 +08:00
二货机器人
faa75d592c
test: Back of test coverage (#24418)
* test: Back of test coverage

* move rtl test out
2020-05-24 00:12:29 +08:00
zombiej
973f55babb improve transfer test case 2020-05-23 16:47:49 +08:00
zombiej
508401cca4 add transBtn coverage 2020-05-23 15:19:24 +08:00
zombiej
7c260c03a5 chore: merge master 2020-05-23 15:00:18 +08:00
二货机器人
c13e56ab92
docs: Add Select a11y faq (#24413) 2020-05-23 14:51:54 +08:00
二货机器人
6f6430bfee
chore: Update snapshot (#24405) 2020-05-22 23:33:04 +08:00
zefeng
baf001898d
feat: use inner icon to replace back-top background-img (#24397)
* feat: use inner icon to  replace back-top background-img

* chore: update snapshots
2020-05-22 17:03:30 +08:00
偏右
1f371eee09
fix: Table selection out of column when size is small/middle (#24394)
close #24326
2020-05-22 15:20:11 +08:00
Yu
58ccb40005
chore: Cascader ts definition update (#24393) 2020-05-22 15:07:43 +08:00
Kermit Xuan
254c17e320
feat: upgrade trigger to 4.2.1(#19536) (#24386) 2020-05-22 13:06:52 +08:00
Eric Wang
8b9a005c1f
chore: use ts-expect-error (#24378) 2020-05-22 10:42:55 +08:00
Kermit Xuan
b57d306107
feat: optmize tooptip destroyTooltipOnHide (#19536) (#24362) 2020-05-22 00:20:01 +08:00
Teng YANG
b467cc5cbb
feat: #24355 support complex button backgrounds (#24372) 2020-05-21 23:45:25 +08:00
偏右
ae8603838a
Merge pull request #24371 from ant-design/master
chore: merge master into feature
2020-05-21 23:41:37 +08:00
偏右
1bba2ef65e
chore: Delete netlify.toml and update devDeps (#24343)
* Delete netlify.toml

* 🆙 upgrade dev deps

* fix mockdate tsd

* fix tsc noEmit
2020-05-21 23:27:02 +08:00
Mr.jiangzhiguo
4066f2f624
fix: Input.TextArea clear icon disappears (#24360)
* [#24359]: fix this issues

details: https://github.com/ant-design/ant-design/issues/24359

* fix css order
2020-05-21 22:55:52 +08:00
tdida
c2437a915d
Notification support config prefixCls (#24295) 2020-05-21 21:15:53 +08:00
Teng YANG
b264589b77
fix: enhance upload custom progress bar (#24339)
* enhance customize progress bar in upload

- fix progress bar `type` could be overridden
- update demo

* update docs in upload customize progress bar

* update docs in upload
2020-05-21 14:58:36 +08:00
afc163
61378e4605 docs: 📖 update ScrollOptions link 2020-05-21 11:32:45 +08:00
二货机器人
0689982def
fix: Table selection cache (#24338)
* test driven

* fix logic
2020-05-21 11:02:12 +08:00
二货机器人
e613861e63
fix: Notification hooks (#24337)
* test driven

* use ref for the same content
2020-05-21 10:36:18 +08:00
偏右
e657fb806f
fix: Button loading animation missing (#24328)
close #24323
2020-05-20 23:32:38 +08:00
dependabot-preview[bot]
6619700893
chore(deps): bump moment from 2.25.3 to 2.26.0 (#24322)
* chore(deps): bump moment from 2.25.3 to 2.26.0

Bumps [moment](https://github.com/moment/moment) from 2.25.3 to 2.26.0.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.25.3...2.26.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

*  fix moment snapshot

* update moment version

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2020-05-20 22:33:51 +08:00
偏右
0f93896f0b
fix: Upload type missing (#24325)
close #24229
2020-05-20 22:33:34 +08:00
Teng YANG
ac50fa147c
feat: resolve #24213 customize progress bar in upload (#24319)
* feat #24213: customize progress bar in upload

* update doc for customize progress bar in upload
2020-05-20 22:29:45 +08:00
骗你是小猫咪
8d0bba4dea
test: 🚀 New Image Snapshots (#24003)
* test: New Image Snapshots

* circleci apt-get some lib

* fix command

* set CircleCI NODE_ENV

* new test:image

* upgrade jest-image-snapshot

* needs dist

* use jest html report

* use now deploy

* fix deploy skip

* set token

* upgrade version

* change if

* improve imageTest

* print node version

* revert puppeteer version

* fix now fail

* test

* fix now fail

* add if

* fix if

* add judgement

* fix action

* rebase

* fix test image script

* lint ignore

* fix lint fail
2020-05-20 19:47:49 +08:00
Yu
e197163a78
feat(Avatar): support draggable prop (#24314) 2020-05-20 19:30:39 +08:00
Tom Xu
6f1fe30df1
docs(modal): improve (#24301) 2020-05-20 10:51:36 +08:00
Amumu
fb839eb1d1
remove @grid-gutter-width (#24303) 2020-05-20 10:47:39 +08:00
Tom Xu
706f0bbf56
refactor(alert): rewrite with hook and support strict mode (#24236)
* refactor(alert): rewrite with hook and support strict mode

* Update index.tsx

* improve code
2020-05-19 20:18:13 +08:00
Tom Xu
50fe770458
refactor(modal): rewrite with hook and support strict mode (#24238)
* refactor(modal): rewrite with hook and support strict mode

* Update ActionButton.tsx

* improve code
2020-05-19 20:15:51 +08:00
二货机器人
c40b291415
feat: RangePicker support info (#24278) 2020-05-19 20:13:11 +08:00
afc163
d6d485b72d merge feature into master-to-merge-feature 2020-05-19 18:25:51 +08:00
偏右
6ad1b18a47
fix: Drawer cover other elements when closed (#24290)
* fix: Drawer cover other elements when closed

close #24287

* Add no-mask demo for Drawer
2020-05-19 18:11:21 +08:00
偏右
4feb186085
refactor: tree select style (#24291)
* chore(list): improve code (#24280)

* chore(list): improve code

* Update index.tsx

* refactor: tree select style code

* 🔒 lock antd-theme-generator to 1.2.2

https://github.com/mzohaibqc/antd-theme-generator/issues/42

Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
2020-05-19 18:10:02 +08:00
Tom Xu
baa56b6d85
chore(list): improve code (#24280)
* chore(list): improve code

* Update index.tsx
2020-05-19 14:55:46 +08:00
xrkffgg
ce78029933
fix: empty in cascader/select/table/treeSelect (#24279)
* fix: empty in cascader\select\table\treeSelect

* fix: snap
2020-05-19 14:45:57 +08:00
二货机器人
2120d7dfaa
docs: Add missing docs (#24273) 2020-05-19 10:42:34 +08:00
xrkffgg
5b61c0fac9
fix: inputnumber handler inner center (#24266) 2020-05-19 10:12:13 +08:00
二货机器人
44cfc351cb
fix: Table with controlled filteredValue empty array should not highlight the filtered icon (#24263)
* fix: FilteredValue

* update test case name
2020-05-18 22:03:20 +08:00
Amumu
f64558da89
fix md (#24256) 2020-05-18 19:58:46 +08:00
Loogeek
a216d6e4f7
fix: cascader component value support number type (#24247)
add cascader type.test.tsx
2020-05-18 19:38:36 +08:00
南小北
bfd5644ff0
Add crop image demo for Upload (#24174)
* chore: add antd-img-crop

* docs: add crop image demo for upload

* fix: move antd-img-crop to devDependencies

* fix: fix eslint warning

* test: update snapshot
2020-05-18 19:22:45 +08:00
二货机器人
75b090aff3
fix: Switch trigger motion (#24254)
* init fix

* fix rtl

* clean up

* update snapshot

* fix style lint

* add motion of inner

* update un-checked focus style
2020-05-18 17:31:46 +08:00
xrkffgg
70c6e47cde
style: add menu default textalign (#24253) 2020-05-18 17:07:33 +08:00
何锦余
b87b1283ea
fix: BackTop children type (#24235) 2020-05-18 14:00:19 +08:00
偏右
551763e768
docs: fix Tag demo (#24245)
close #24231
2020-05-18 13:51:56 +08:00
二货机器人
7f2f814279
revert: fix: Switch - no correct animation on the IOS/Chrome (#24242)
* Revert "fix switch ios chrome animation (#24122)"

This reverts commit fd7c942403.

* update snapshot
2020-05-18 13:00:33 +08:00
xrkffgg
8cb146becd
style: adjust upload error icon (#24160)
* fix: adjust uoload error icon

* use less var

* use antd-color

* fix: adjust uoload error icon

* use less var

* use antd-color

* up snap

* fix package

* use svg fill

* fix error

* Update components/upload/style/index.less

Co-authored-by: 偏右 <afc163@gmail.com>

* Update components/upload/style/index.less

* fix fill

* fix snap

Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-18 10:31:23 +08:00
Tom Xu
6a52cf0303
docs: improve spin api (#24234) 2020-05-18 09:49:00 +08:00
Alexey Vinogradov
316913ca37
Add ru_RU i18n for Form defaultValidateMessages (#24219) 2020-05-17 16:41:36 +08:00
偏右
1bbaa49bef
Merge pull request #24214 from ant-design/master
chore: merge master into feature
2020-05-17 01:16:58 +08:00
偏右
aee2e7a5c9
💄 Tweak Dropdown down arrow position (#24215) 2020-05-17 01:16:12 +08:00
Tom Xu
4a3af4caef
refactor(dropdown): rewrite with hook (#24212) 2020-05-17 00:51:05 +08:00
Tom Xu
471e97ab76
refactor(card): rewrite with hook (#24211) 2020-05-17 00:49:05 +08:00
二货机器人
1a82efa5ca
Text support keyboard (#24195) 2020-05-16 14:43:29 +08:00
偏右
a820046130
fix: Upload.Dragger triggered by label when disabled (#24202)
* refactor Dragger.tsx

* 🐛 Avoid disabled Upload.Dragger being triggered by label

close #24197
2020-05-16 14:25:49 +08:00
xilihuasi
5f1da59488
feat: Skeleton add round prop (#24137)
* feat: Skeleton add round prop

* update snapshot

* fix snapshot
2020-05-16 13:19:54 +08:00
xrkffgg
9924bbf838
refactor(backtop): rewrite with hook (#23575)
* refactor(backtop): rewrite with hook

* fix test

* refactor(backtop): rewrite with hook

* Update index.tsx

* fix coverage

Co-authored-by: hengkx <ycxzhkx@gmail.com>
2020-05-16 13:06:11 +08:00
二货机器人
7de007100d
Merge pull request #24199 from ant-design/master
chore: Feature merge master
2020-05-16 12:30:58 +08:00
偏右
04ad7236e4
🐛 Fix Backtop cannot work in Chrome iframe (#24194)
close #24192
2020-05-15 23:16:49 +08:00
二货机器人
a83143bbbc
fix: Picker disabled today (#24190) 2020-05-15 18:45:10 +08:00
偏右
188e5630b3
💄 Add @card-head-extra-color (#24189)
close #24187
2020-05-15 18:18:07 +08:00
偏右
02dccd9643
Merge pull request #24185 from ant-design/master
chore: merge master into feature
2020-05-15 17:40:05 +08:00
偏右
8497e54e39
docs: 📖 keep documentation up to date (#24184)
* docs: remove babel-plugin-import from docs

* docs: react-scripts-rewired + customize-cra => craco

* docs: remove babel-plugin-import

* fix remark link
2020-05-15 17:18:55 +08:00
Tom Xu
9f633bc002
chore: getScroll add more test (#24180)
* chore: getScroll add more test

* Update getScroll.test.js
2020-05-15 16:14:38 +08:00
Tom Xu
159d42fda8
chore: scrollTo add more test (#24177) 2020-05-15 14:57:12 +08:00
afc163
850b670862 docs: add create-react-app svg import usage
close #24175
2020-05-15 12:37:20 +08:00
Tom Xu
f90702cd0c
refactor(tooltip): rewrite with hook (#23699)
* refactor(tooltip): rewrite with hook

* fix lint

* fix

* fix test

* fix

* fix test

* refactor(tooltip): rewrite with hook

* fix lint

* fix test

* Update SliderTooltip.tsx

* Update tooltip.test.js

* Update index.test.js
2020-05-15 10:47:03 +08:00
二货机器人
0cd0ebe7dc
fix: Select item z-index (#24170) 2020-05-15 09:53:14 +08:00
zombiej
9f38c46039 merge master 2020-05-14 21:03:29 +08:00
二货机器人
2afab58ac8
chore: small bundle size follow up (#24164)
* update config

* replace react function

* fix alert
2020-05-14 20:54:49 +08:00
zombiej
55332f6971 fix: Test case 2020-05-14 16:36:05 +08:00
zombiej
e6b1b1a4e7 Merge remote-tracking branch 'origin/master' into feature-merge-master 2020-05-14 16:19:39 +08:00
xrkffgg
be0c654fff
style: optimize pagination slash style in rtl (#24154) 2020-05-14 16:05:36 +08:00
二货机器人
2e284aa017
chore: small bundle size (#24135)
* update warning

* rm warning

* replace with dev warning

* fix test

* fix site

* Update webpack.config.js

Co-authored-by: 偏右 <afc163@gmail.com>

* Update webpack.config.js

* fix sytax

* adjust

* move into function

Co-authored-by: 偏右 <afc163@gmail.com>
2020-05-14 15:57:04 +08:00
xrkffgg
4aa1b62659
style: adjust pagination simple background (#24152) 2020-05-14 15:25:54 +08:00
xrkffgg
5d9d45b597
fix: dropdown button default placement in rtl (#24150)
* fix: dropdown button default placement in rtl

* change test
2020-05-14 15:06:50 +08:00
二货机器人
586c7f5218
fix: DatePicker panel exceed (#24145) 2020-05-14 12:01:27 +08:00
lexlexa
fd7c942403
fix switch ios chrome animation (#24122) 2020-05-13 20:49:38 +08:00
二货机器人
b0e528d14c
feat: Transfer support oneWay (#24041)
* use flex

* show clear btn

* support one way

* add dropdown

* add pagination

* support pagination

* use flex

* operation stretch

* pagination works

* update selection logic

* no need to show checkbox on pagination

* fix tree demo

* support invert selection

* remove current pages

* update style

* update snapshot

* clean up

* update test case

* update test case

* update snapshot

* fix lint

* add deps

* update doc

* update hover style

* update hover checked style

* adjust demo & active region

* fix lint

* update snapshot
2020-05-13 19:15:40 +08:00
偏右
9d03db0503
refactor: 🆙 upgrade rc-progress (#24127)
* 🆙 upgrade rc-progress

* test: antd.min.js

ref #24116
2020-05-13 19:13:30 +08:00
afc163
53d7a20939 merge feature into master-to-merge-feature 2020-05-13 16:16:16 +08:00
afc163
50e33768a9 fix DatePicker snapshot 2020-05-13 16:10:48 +08:00
sorteam
b73e84da9b
Fix Table type (#24114)
Co-authored-by: soroka_av <soroka_av@st.by>
2020-05-13 16:03:07 +08:00
偏右
34c2fad636
refactor: 🔨 tree style code (#24096) 2020-05-13 14:45:08 +08:00
xrkffgg
90a36eed0b
style: optimize select multiple tag style in rtl (#24112) 2020-05-13 14:07:11 +08:00
偏右
f7e00f645e
style: fix Button small size align when customize theme (#24097)
close #24089
2020-05-13 12:56:24 +08:00
偏右
31ba421268
fix: dark menu link color (#24110)
close #24107
2020-05-13 12:16:48 +08:00
精武陈真
227233268d
docs: fix typo (#24109)
from改为form
2020-05-13 12:11:58 +08:00
zombiej
339246d316 chore: Merge master 2020-05-13 11:59:15 +08:00
xrkffgg
731505813a
style: fix menu border in rtl (#24101) 2020-05-13 11:09:28 +08:00
偏右
c19685e0ea
fix: Child of Button should be interactive (#24095)
close #24090
2020-05-12 22:29:10 +08:00
xrkffgg
64d151aa81
style: optimize typography expand style in rtl (#24084) 2020-05-12 17:58:45 +08:00
偏右
82d709676a
fix: Drawer height bug (#24082)
* 🐛 Fix Drawer height bug

close #24074

*  fix snapshot
2020-05-12 17:39:59 +08:00
wx1322
49f5ed7764
feat: Adds zh_TW localisations for Form (#24065)
* Update zh_TW.tsx

* Remove spaces

* Update zh_TW.tsx

* Update snapshot

* replace indexOf() with ||
2020-05-12 15:00:24 +08:00
afc163
fdcbfc909d fix snapshot
close #24070
2020-05-12 14:57:13 +08:00
Jinke Li
f250b2fa29
Feature: support custom cell ellipsis tooltip (#24056)
* feat: add transformFile optionfor transform file before request

* feat: bump rc-upload 2.7.0

* feat(Upload): optimize doc

* feat: support custom cell ellipsis tooltip

* tests: update snapshots

* docs: update table ellipsis demo

* tests: update snap
2020-05-12 12:44:49 +08:00
Kermit Xuan
9a6ad0edb9
fix(#23019): display defaultValue when no matched options (#24058) 2020-05-12 10:34:24 +08:00
偏右
4dccbd8eab
style: add @modal-close-color (#24053)
* 🆕 Add @modal-close-color

close #24050

* update snapshot

* fix var name
2020-05-11 20:08:46 +08:00
偏右
2ab7c3f182
fix @menu-item-font-size not working (#24052)
close #24051
2020-05-11 19:12:04 +08:00
Tom Xu
d766472d94
feat: descriptions add less variable (#24032)
* feat:  add less variable @descriptions-item-trailing-colon,@descriptions-it,@descriptions-item-label-colon-margin-leftem-label-colon-margin-right,

* fix

* Update demo.test.js.snap
2020-05-11 15:54:25 +08:00
二货机器人
80e3dfa9be
feat: Add Link component to prepare for rm global style (#24019)
* init

* move to base

* add link component

* update snasphot

* update snasphot of test

* move to Typography

* update test case
2020-05-11 14:28:57 +08:00
afc163
626f918597 🗑️ remove checkbox PropTypes 2020-05-11 14:02:23 +08:00
njmqd
4884e91c49
fix: Add closeIcon for Tabs.Tabpane (#23992)
* fix: Add closeIcon for Tabs.TabPane

* fix: update snapshots

Co-authored-by: 倪佳敏 <ni.jiamin@datatom.com>
2020-05-11 12:12:33 +08:00
Kermit Xuan
67a482f4e5
fix(#16659): support className and style for message (#24024)
* fix(#16659): support className and style for message;

* docs(message): update demo custom-style;
2020-05-11 12:11:15 +08:00
xrkffgg
04eb91dc8e
style: fix datepicker panel style (#24028) 2020-05-11 12:02:24 +08:00
偏右
e188537c00
refactor: Dropdown.Button icon prop (#24020)
ref #24017
2020-05-10 23:53:29 +08:00
xrkffgg
e26eb5f892
docs: optimize site of rtl (#23995) 2020-05-10 22:11:09 +08:00
二货机器人
1cf1a15d50
Merge pull request #24018 from ant-design/master
chore: Feature merge master
2020-05-10 18:42:00 +08:00
偏右
0a70563e44
chore: fix drawer demo (#24015)
* 🎬 improve drawer demo

* 🎬 fix drawer demo glitch

close #24011
2020-05-10 17:15:41 +08:00
Jenna Van Conett
8cce0383a1
Update drag-sorting.md (#24013) 2020-05-10 12:54:57 +08:00
二货机器人
72a846681a
chore: Fix Form.List render logic (#24009)
* update snapshot

* update nest logic

* clean up
2020-05-10 10:39:30 +08:00
afc163
acb4cb6859 Merge feature into master 2020-05-09 20:40:12 +08:00
偏右
2beb28518c
test: Alert and AutoComplete test coverage (#24004)
* 🔨 refactor demo code style

* refactor alert code and fix test cov

* add test case for AutoComplete

* fix test
2020-05-09 19:32:02 +08:00
mraiguo
28f71921ea
fix: Tooltip in Upload components location error (#24001) 2020-05-09 18:58:44 +08:00
xrkffgg
338733d70f
docs: optimize input demo (#23990)
* docs: optimize input demo

* docs: optimize input demo

* fix: style

* remove
2020-05-09 18:02:18 +08:00
xrkffgg
dd6c855028
style: fix input clear icon in rtl (#23999) 2020-05-09 18:02:08 +08:00
Vitaly Budovski
60d45d8d37
docs: Add documentation for responsive table columns (#23987) 2020-05-09 18:01:16 +08:00
Xuhao
9c0f12c7e8
fix: #23986 [Comment] Should not render avatar wrapper when avatar is… (#23994)
* fix: #23986 [Comment] Should not render avatar wrapper when avatar is not present

* #23986 test snapshots revision
2020-05-09 16:50:34 +08:00
xrkffgg
c393ca700e
style: fix select focused in input group (#23985) 2020-05-09 14:41:00 +08:00
偏右
ee58a34175
fix: 🆙 upgrade rc-steps@3.6.0 (#23989)
* 🆙 upgrade rc-steps@3.6.0

* update snapshot
2020-05-09 14:01:02 +08:00
xrkffgg
015109b42b
style: opt datepicker active bar style in rtl (#23981) 2020-05-09 10:00:23 +08:00