Commit Graph

11839 Commits

Author SHA1 Message Date
二货机器人
e46d414b11
feat: form instance support getFieldInstance (#24711)
* support getFieldInstance

* update doc

* fix lint

* move func

* move into hooks

* update ref logic

* fix lint

* rm only

* fix docs
2020-06-05 18:06:52 +08:00
Arvin Xu
dda650cc7b
docs: Update components cover (#24744)
* docs: Update components cover

#24629

* docs: Update components cover
2020-06-05 13:50:09 +08:00
07akioni
c2beed8bd3
feat: add ghost prop for collapse (#24734)
* feat: add ghost prop for collapse

* doc: version of collapse's ghost prop

* refactor: make ghost collapse's less code to a nested style

* chore: remove redundant codes in ghost collapse's less & doc

* doc: add a background wrapper for ghost collapse demo

* doc: dark-theme wrapper bg-color for ghost collapse demo

* test: update snapshot of ghost collapse

* doc: use softer bg-color on ghost collapse demo

* doc: remove disabled panel in ghost collapse demo
2020-06-05 13:42:46 +08:00
偏右
d1bdaee607
Merge pull request #24741 from ant-design/master
chore: merge master into feature
2020-06-05 13:38:32 +08:00
偏右
6f36f4a877
fix: Tag.CheckableTag don't support onClick (#24743)
close #24733
2020-06-05 12:23:44 +08:00
afc163
f22c5d999b 🎬 update Tag demo 2020-06-05 11:01:02 +08:00
陈帅
6493db80d4
feat: drawer support getPopupContainer and getPrefixCls by ConfigProvider (#24727)
* feat: drawer support ConfigConsumer.getPopupContainer and getPrefixCls

* update snapshot

* add getPopupContainer test
2020-06-04 23:12:37 +08:00
二货机器人
d154435291
feat: Support rowSelection.dirty (#24718)
* feat: Support rowSelection.dirty

* rename to reserveKeys

* preserveKeys will keep record also

* to preserveSelectedRowKeys
2020-06-04 17:08:20 +08:00
Israel kusayev
6cea99be9d
🌐 adds Hebrew localisations for Form (#24716) 2020-06-04 14:31:25 +08:00
Teng YANG
3d62c44325
feat: allow user customize table font size (#24714) 2020-06-04 08:57:58 +08:00
xrkffgg
f36576f12d
style: optimize tabs dropdown rtl style (#24715) 2020-06-03 23:44:28 +08:00
二货机器人
902141f554
fix: btn loading 2 twice (#24713) 2020-06-03 21:59:54 +08:00
偏右
0d90c585fa
🌑 fix Dropdown dark menu color (#24707) 2020-06-03 17:35:07 +08:00
xrkffgg
b8fb4c411d
feat: modal method rtl (#24682)
* fix: modal rtl

* fix: use hooks

* Update components/modal/index.zh-CN.md
2020-06-03 17:20:04 +08:00
zefeng
3ca11e94ce
fix: Select default listItemHeight for small size & compact mode (#24706) 2020-06-03 17:13:22 +08:00
偏右
076ed1bf9e
Update index.zh-CN.md 2020-06-03 16:28:06 +08:00
zombiej
33159218cd refactor: Adjust Tabs export TabPaneProps position 2020-06-03 16:13:09 +08:00
偏右
cfff7967b3
fix: Dropdown menu item link color when has icon (#24702)
* 🐛 fix Dropdown menu item link color when has icon

close #24700

* fix snapshot
2020-06-03 13:33:37 +08:00
zoomdong
71f4a2f985
feat: add successColor for Progress (#24655)
* feat: add successColor for Progress

* feat: update

* fix: update test

* remove snap

* feat: add test case

* refactor success

* feat: adjust styyle

* feat: add DevWarning
2020-06-03 10:42:49 +08:00
zombiej
f263102500 docs: Update Form add usage desc 2020-06-03 10:40:12 +08:00
二货机器人
d4aca5f343
fix: Cal onPanelChange (#24695)
* simple code

* add test case

* patch
2020-06-02 21:26:52 +08:00
xiaosong
46955f9f59
fix: 💄 IE11 input height issue (#23955) (#24673)
* fix: 🏁 fix ie11 input height issue (#23955)

* style: fix style order issue

* fix: 🏁 fix input height issue with css hack

* fix: 💄 Put IE11 css hack in IE.less
2020-06-02 21:17:57 +08:00
Tom Xu
f4ee809e66
fix: Radio typescript error typo (#24693) 2020-06-02 20:56:23 +08:00
afc163
b689c9044c docs: 📖 update recommendation page 2020-06-02 15:59:32 +08:00
zombiej
008cf78857 docs: Fix site Table ColumnsType doc 2020-06-02 14:27:12 +08:00
Tom Xu
edf7805922
fix: Radio.Group options: Element type is invalid (#24666) 2020-06-02 14:12:04 +08:00
二货机器人
d5fea40ab5
fix: btn loading (#24678) 2020-06-02 12:54:22 +08:00
偏右
b1caef0723
fix: Tabs dropdown extra horizontal scrollbar (#24677) 2020-06-02 12:36:35 +08:00
xrkffgg
da0afdf4ef
fix: tabs inkbar border lost (#24643)
* fix: tabs inkbar border lost

* fix
2020-06-02 11:31:03 +08:00
张大大
061b457031
fix: Table no showing scrollbar inside Row (#24661)
Co-authored-by: wb-zt519997 <wb-zt519997@alibaba-inc.com>
2020-06-01 20:51:27 +08:00
偏右
b83c8636fa
chore: 📦 enable ESBUILD for site again (#24657)
* 📦 enable ESBUILD for site again

* re-enable ESBUILD 📦
2020-06-01 19:29:58 +08:00
二货机器人
b0575186ce
fix: Remove dropdownMatchSelectWidth warning (#24651) 2020-06-01 17:37:28 +08:00
zombiej
39ed9b3889 chore: Update snapshot 2020-06-01 16:40:46 +08:00
二货机器人
294144b1ae
chore: Add TabPaneProps def (#24648) 2020-06-01 16:04:13 +08:00
Tom Xu
639ef9f570
docs: improve form validate rule (#24641)
* docs: improve form validate rule

* improve docs
2020-06-01 14:25:01 +08:00
Teng YANG
9f8eb99807
fix: #24614 text button style inconsistent in danger (#24622)
* fix: update button style when type="text" of danger

* update wording in danger button demo

* format code
2020-06-01 13:33:29 +08:00
xrkffgg
b047add305
fix: adjust notification default place in rtl (#24632) 2020-06-01 13:29:40 +08:00
Teng YANG
19ca646ef3
fix: #24519 Upload delete icon cannot be navigate via keyboard (#24615)
* fix: Upload delete icon cannot be navigate via keyboard

* update Upload style dependencies
2020-06-01 13:29:22 +08:00
zoomdong
68a185a08f
docs: change demo on Typography.paragraph (#24633)
* fix: demo on Typography.paragraphy

* fix: demo
2020-06-01 11:56:28 +08:00
二货机器人
ad663db7b1
fix: Select input style (#24631)
* fix: Select input style

* fix lint
2020-06-01 10:59:30 +08:00
Teng YANG
03fad9177a
fix: update wording in ghost button demo (#24624) 2020-05-31 23:02:59 +08:00
二货机器人
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