Commit Graph

11742 Commits

Author SHA1 Message Date
xrkffgg
955fa520f1
fix: badge offset in rtl (#24724)
* fix: badge offset in rtl

* fix: update snap

* add test

* fix: offset

* fix: snap
2020-06-06 13:20:09 +08:00
wendellhu
4512d467ab
feat: dropdown support arrow (#23869)
* feat: dropdown support arrow prop

close #22758

* test: update snapshot

* fix: fix dropdown cls names

* test: update snapshot

* test: update snapshot

* doc: update demo

* test: update demo snapshot

* demo

* fix: snapshot
2020-06-05 20:12:18 +08:00
偏右
e361b30ded
refactor: Card demo and code (#24764)
* 🎬 update Card demo

* refactor card code

* 🎬 update Tabs demo

* update snapshot
2020-06-05 20:11:25 +08:00
二货机器人
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