Commit Graph

12242 Commits

Author SHA1 Message Date
xishanxu
507fdc44ae
docs: fix typo in demo (#26391)
* Update extra.md

* Update extra.md
2020-08-26 11:09:14 +08:00
xrkffgg
73f4b9bcd7
docs: complete expandedRowClassName (#26397) 2020-08-25 22:54:29 +08:00
偏右
7274a2ef4a
fix: colorPalette is not defined when use theme (#26395)
close #26290
2020-08-25 22:54:04 +08:00
Bosseskompis
19606b375c
docs: Add expandedRowClassName to Table.expandable (#26392)
* Add expandedRowClassName to Table.expandable docs

* Use alphabetical order
2020-08-25 20:26:04 +08:00
二货机器人
875e190ac7
fix: Space preserve empty dom when children is null (#26389)
* fix: Space additional dom render

* test case
2020-08-25 16:43:52 +08:00
偏右
fb839f096c
fix: Tree draggable transition style (#26387)
close #26383
2020-08-25 15:55:10 +08:00
zombiej
04d7a81ff7 docs: Update Form FAQ 2020-08-25 11:27:01 +08:00
偏右
24a86df257
style: 💄 fix Upload picture-card button style (#26367)
* style: fix Upload picture-card button style

close https://github.com/ant-design/ant-design/issues/26317
close #23339

* style: tweak Upload list animation

close #22386

* fix snapshot change

* docs: update Upload demos

* add test case

* update form demo

* fix test case
2020-08-24 16:33:24 +08:00
偏右
fbef76e943
test: add more test cases (#26362) 2020-08-24 11:50:53 +08:00
偏右
d5eda4f87e
test: add more test cases (#26350)
* test: add more test to Layout

* test: add more test to DatePicker

* refactor: remove unused code in Menu
2020-08-24 10:09:57 +08:00
Kermit Xuan
d8215589de
fix(upload): props type declaration (#26347)
* fix(upload): props  type declaration

* fix lint

* chore: add type test case
2020-08-23 22:46:55 +08:00
zombiej
40473cfa19 chore: Fix LocaleReceiver ts define 2020-08-22 22:31:20 +08:00
zombiej
5a3bceea28 merge origin master 2020-08-22 22:09:07 +08:00
骗你是小猫咪
e3ee4e87aa
feat: 🎉 Image component (#26296)
* feat: 🎉 Image component

* fix color

* fix style naming and sort api doc order

* remove onPreviewClose doc

* use animation-duration var

* use box and modal-mask mixins

* use box and modal-mask mixins

* improve style

* improve fallback demo src

* add cover

* improve demo

* update demo snapshots

* upgrade rc-image, naming Random -> Reload

* extract modal mask common style, and improve demo

* update snapshots

* fix less var conflict

* upgrade rc-image, adjust maxSize with dark.min.css, improve placeholder demo desc
2020-08-22 22:02:20 +08:00
偏右
07a38653ee
refactor: simplify Transfer dom structure (#26334)
* refactor: simplify Transfer dom structure

* fix eslint
2020-08-22 17:55:09 +08:00
偏右
152cf6f6f5
fix: Transfer filterOption not trigger by spaces (#26335)
close #26208
2020-08-22 17:54:57 +08:00
llwslc
06b7a7aed9
fix: Set site h tag style in dark mode (#26332)
* add site h tag color

* #000 -> @black

* empty demo h3 -> h4
2020-08-22 15:24:44 +08:00
偏右
d839cb1af9
fix: Progress steps support trailColor (#26323)
* fix: Progress steps support trailColor

close #26316

* add test case

* add test case
2020-08-22 01:29:48 +08:00
Kermit Xuan
63816fa6ba
🐛 fix(textarea): should display defaultValue when value is undefined (#26327)
close #26308
2020-08-21 22:14:28 +08:00
二货机器人
131b6e0264
test: Update Lithuanian doc & test (#26321)
* chore: Update lithuanian lang

* reorder

* Update docs/react/i18n.en-US.md

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

Co-authored-by: Amumu <yoyo837@hotmail.com>
2020-08-21 22:11:44 +08:00
Diego Barreiro
f1a09fe25d
feat: Galician Locale (#26015)
* feat: Create gl_ES

* Bump dependencies

rc-pagination
rc-picker

* Add test case

* Add documentation

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

* Update test snapshots

* fix snapshot

Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-08-21 18:26:36 +08:00
Maksim Slotvinskij
16962bbff1
lithuanian language (#26312)
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-08-21 17:07:48 +08:00
二货机器人
60771a0f61
feat: Support requiredMarkType (#26309)
* feat: support requreidMarkType

* docs: Update doc desc

* fix lint

* use requiredMark instead

* not change className

* fix ts

* update test case

* rtl style

* fix rtl

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2020-08-21 12:58:14 +08:00
zombiej
55c1dd02c2 chore: Merge master 2020-08-20 17:31:03 +08:00
偏右
9a84eb57ac
fix: Progress type=circle success.percent (#26307)
* refactor: Circle code

* fix: Progress circle success.percent

close #26299
2020-08-20 17:15:40 +08:00
二货机器人
bd2d50c114
chore: Update snapshot (#26306) 2020-08-20 16:45:10 +08:00
偏右
92114f540b
refactor: progress getSuccessPercent (#26302) 2020-08-20 15:27:16 +08:00
yui
ab59023971
fix: typescript build in windows error from-item initialValue (#26292) 2020-08-20 14:42:09 +08:00
偏右
a3864532e1
chore: 🆙 upgrade rc-virtual-list (#26278)
* chore: 🆙 upgrade rc-virtual-list

* update snapshot

Co-authored-by: zombiej <smith3816@gmail.com>
2020-08-19 13:49:22 +08:00
afc163
29ef3f74dd docs: 📝 update ConfigProvider API 2020-08-19 11:24:43 +08:00
flyerH
2c6c789e3a
fix: Cascader options not open after press ESC and then search (#26271)
* fix: Cascader options not open after press ESC

* add test

* modify

* Apply suggestions from code review

Co-authored-by: 偏右 <afc163@gmail.com>
2020-08-19 10:43:54 +08:00
Kermit Xuan
f98e3eee25
refactor: optimize code stle (#26270) 2020-08-19 09:50:04 +08:00
偏右
a4585c13d0
Merge pull request #26267 from ant-design/master
chore: merge master into feature
2020-08-18 18:51:49 +08:00
xrkffgg
1ecca69bb3
docs: perfect website (#26265) 2020-08-18 17:53:21 +08:00
zombiej
aec0f4517c test: Fix resize related test case 2020-08-18 16:46:05 +08:00
偏右
abf95437f1
fix: Typography copyable tooltips (#26259)
* fix: Typography copyable tooltips cannot accept empty string

https://github.com/ant-design/ant-design/pull/25953#issuecomment-674480396

* fix snapshot change
2020-08-18 16:14:14 +08:00
Kermit Xuan
ee50fe7952
refactor(upload): rewrite with hooks (#26196)
* refactor(upload): rewrite with hooks

* refactor: optimize code style;
chore(dragger): add forwardRef;

* fix: lint

* fix: trigger ci

* fix: lint

* chore: add test case
2020-08-18 15:44:31 +08:00
xrkffgg
95aef4aafe
fix: Select focused disabled style (#26255) 2020-08-18 15:13:03 +08:00
偏右
e17e82f549
Merge pull request #26243 from ant-design/master
chore: merge master into feature
2020-08-17 22:23:07 +08:00
偏右
86f6b5f0bc
docs: improve code demo box style (#26242)
* docs: improve code demo box style

* chore: update lighthouse.yml

* use node 14
2020-08-17 19:32:03 +08:00
Albert Mañosa
65ba33e1ab
fix: Pagination font family (#26230)
* fix: Change @pagination-font-family value

* fix: Add explicit font-family to item-ellipsis
2020-08-17 10:31:20 +08:00
afc163
93c1614bcf docs: 🎬 add InputNumber demo of using Intl.Numberformat
close #26223
close #19645
2020-08-16 19:32:48 +08:00
骗你是小猫咪
6d02b51ae1
fix: Space children remount. close #26177 (#26219)
* fix: Space children remount. close #26177

* update snapshots
2020-08-15 16:29:47 +08:00
xrkffgg
dc306a20f9
style: optimize cascader clear animation (#26186)
* style: optimize cascader clear animation

* fix test

* style: optimize cascader clear animation

* fix test

* add clearTimeout

* add test

* add clearTimeout
2020-08-14 17:53:34 +08:00
xrkffgg
1c63268e6a
style: optimize tree line rtl style (#26205) 2020-08-14 15:41:52 +08:00
xrkffgg
49d02a0b58
style: optimize dropdown rtl style (#26206) 2020-08-14 15:41:22 +08:00
xrkffgg
c6763b35e4
style: fix rtl.less missing variable (#26201) 2020-08-14 13:35:30 +08:00
二货机器人
5cc9742eec chore: Update snapshot 2020-08-14 04:04:58 +00:00
xrkffgg
cbdd2f5703
docs: perfect website (#26198) 2020-08-14 10:58:58 +08:00
xrkffgg
e8c43d4d6c
style: improve select style (#26181) 2020-08-13 13:33:38 +08:00
zhangchen
7df2c4053a
fix: Select with multiple type has no room for icons (#26168)
* fix: Select with multiple type has no room for icons

* update: rtl style
2020-08-13 10:16:34 +08:00
llwslc
ff7aca19cc
feat: add Typography.Text type success (#26145)
* baseType & style

* update demo

* update snap

* update document

* remove type primary
2020-08-13 10:13:32 +08:00
xrkffgg
61e01e7c60
chore: merge master into feature 2020-08-13 09:06:53 +08:00
zoomdong
39f1126315
feat: Form.List add() support index param (#26081)
* feat: Form.List add() support index param

* update test case

* update
2020-08-12 19:13:44 +08:00
xrkffgg
0c1504cc8d
style: optimize DatePicker footer rtl style (#26158) 2020-08-12 15:06:04 +08:00
偏右
7d500703d7 feat: 💄 Add @badge-color (#26159) 2020-08-12 15:04:46 +08:00
xrkffgg
2e463e76b8
fix: add export handleStyle/trackStyle (#26160) 2020-08-12 15:02:58 +08:00
偏右
b8f05d3ae7
feat: 💄 Add @badge-color (#26159) 2020-08-12 15:01:45 +08:00
xrkffgg
af16da1ccd
fix: DatePicer range start and end show in rtl (#26157) 2020-08-12 14:25:46 +08:00
xrkffgg
a4e7e184c2
fix: input search rtl style (#26156) 2020-08-12 14:00:06 +08:00
偏右
d9d5cbcac3
style: optimize DatePicker range show in rtl (#26149)
* style: optimize DatePicker range show in rtl

* change place
2020-08-12 13:09:05 +08:00
偏右
5a013478ef
fix: 🐛 Form.Item hidden not working in less (#26152)
close #26141
2020-08-12 13:08:50 +08:00
xrkffgg
50a0678f35
fix: addonBefore Input rtl style (#26153) 2020-08-12 13:08:43 +08:00
偏右
077ea950d4
demo: fix Table filter dropdown select behavior
close #26144
2020-08-12 11:44:40 +08:00
xrkffgg
7f130a89ec change place 2020-08-12 11:02:23 +08:00
xrkffgg
40b9d8c57a style: optimize DatePicker range show in rtl 2020-08-12 10:45:16 +08:00
偏右
9f94744d1f
fix: Dropdown overflow string issue (#26135)
close #26134
2020-08-11 17:43:54 +08:00
07akioni
cec7744b2c
refactor: Alert use CSSMotion (#26115)
* refactor: Alert use CSSMotion

* chore

* test: remove afterClose case
2020-08-11 17:04:42 +08:00
QoVoQ
f65013994f
fix: #26126 use mergedData instead of pageData to decide if render bottom pagination (#26133)
Co-authored-by: Zhongxian Liang <zhongxian.liang@shopee.com>
2020-08-11 16:18:34 +08:00
二货机器人
1119c3da38
fix: Fix DirectoryTree miss ref.scrollTo function (#26129)
* fix: DirTree support ref

* add test case
2020-08-11 14:22:16 +08:00
James Yeung
802cc51c4c
docs(PageHeader): fix default value for onBack (#25664) 2020-08-10 14:54:49 +08:00
偏右
ae843df718
Merge pull request #26112 from ant-design/master
chore: merge master into feature
2020-08-10 14:53:46 +08:00
Daryl Roberts
cdb8a5bcd7
style: add @badge-count-background (#26043) 2020-08-10 11:16:00 +08:00
zhangchen
4da2260342
feat: show line in Tree first level (#25991)
* feat: tree line in first level

* update: Tree showLine demo
2020-08-10 10:48:11 +08:00
偏右
487d3e46c0
docs: improve typography API table (#26102)
* docs: improve typography API table

* Update components/typography/index.en-US.md

Co-authored-by: xrkffgg <xrkffgg@gmail.com>

* Update components/typography/index.en-US.md

Co-authored-by: xrkffgg <xrkffgg@gmail.com>

* docs: update doc

* docs: update

Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2020-08-10 10:44:16 +08:00
xrkffgg
e1f990e61a chore: fix merge conflict 2020-08-10 09:43:21 +08:00
07akioni
504d51477a
docs: Form add debug true on dep-debug (#26103) 2020-08-10 09:41:45 +08:00
07akioni
f964abc7f4
fix: Steps progress circle size & rtl style when use progress (#26075)
* fix: Steps progress circle size

* test: update snapshot

* fix: rtl
2020-08-09 20:28:08 +08:00
xrkffgg
d5ca5880ef
fix: Avatar.Group key lost (#26098)
* fix: avatargroup key lost

* Update components/avatar/group.tsx
2020-08-09 18:54:53 +08:00
llwslc
15b30e6761
feat: customize Typography.Paragraph copyable and editable (#25953)
* Merge branch 'feature' of github.com:ant-design/ant-design into antd

# Conflicts:
#	components/typography/__tests__/__snapshots__/demo.test.js.snap
#	components/typography/demo/interactive.md

* add icons & tooltips test

* remove Array<React.ReactNode> definition

* clean up useless code

* refactoring

* React.ReactNode already contains string

* 1. keep aria-label attribute
2. customize edit icon & tooltip

* rebase feature

* update snapshots

* update abi document

* update demo & document

* copyable icon & tooltip document

* version document
2020-08-09 12:56:35 +08:00
Mohelm97
e7e83fb357
fix: Arabic locale (#26094)
All Arabic strings in this file flipped the order of the words in the sentence, for example if 
${label} = كلمة السر
The old message will be
كلمة السر يرجى إدخال
But the correct message is
يرجى إدخال كلمة السر
2020-08-08 17:36:18 +08:00
xiao11lang
be7c8d1cc8
docs: update button component doc (#26095)
Co-authored-by: caohang <caohang@caohangdeMacBook-Pro.local>
2020-08-08 17:35:26 +08:00
骗你是小猫咪
bd02b83da4
feat: Table new sticky prop (#25939)
* feat: Table new sticky prop

* add example

* update snapshots

* fix typo

* fix example and improve less

* rename to @zindex-table-fixed-column

* fix compile error

* fix header z-index

* upgrade rc-table and add active style

* improve less var

* upgrade rc-table and remove hover style

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-08-07 17:53:23 +08:00
afc163
fa9316f78c docs: info about Upload file.status 2020-08-07 17:31:18 +08:00
偏右
d02290c922
Update index.zh-CN.md 2020-08-07 17:25:23 +08:00
afc163
7502d84d15 docs: fix demo typo 2020-08-07 17:14:55 +08:00
afc163
5447db9239 docs: 🎬 add Upload demo about beforeUpload usage 2020-08-07 17:08:47 +08:00
xrkffgg
f0568efdf3
docs: perfect website (#26079)
* docs: perfect website

* fix []
2020-08-07 15:50:53 +08:00
07akioni
6d5ccd854f
style: Cascader selector down arrow doesn't rotate (#26078)
* fix: Cascader selector down arrow always down

* chore: remove useless style
2020-08-07 14:53:48 +08:00
zefeng
73ce401ae8
fix: 修复紧凑模式下表单项 margin 计算错误 (#26069)
close #25989
2020-08-07 13:45:35 +08:00
xrkffgg
d1d23ac4ae
fix: horizontal menu in dark & dark (#26062) 2020-08-07 11:14:27 +08:00
xrkffgg
1ade6da9cd
fix: inputnumber handler background in dark (#26072) 2020-08-07 09:57:52 +08:00
jesse
7121760f52
feat: Tabs add slot to support extra position (#25138)
* Update package.json

* update API

* update Demo

* update test

* Update components/tabs/index.zh-CN.md

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

* Update components/tabs/demo/extra.md

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>

* update index.en-US

Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
2020-08-07 09:53:45 +08:00
afc163
53ef8bed92 docs: 🎬 Improve DatePicker demo 2020-08-06 15:10:52 +08:00
陈帅
f928baf52a
fix: Optimize the display of elements of the block type. (#25903)
* add flex style

* add new demo

* update snapshot

* Merge branch feature into fix-descriptions

* update snapshot

* update snapshot
2020-08-06 14:32:13 +08:00
lihqi
b92a9a5678
feat: message destroy the specified key (#26052)
close #25236
close #26054
2020-08-06 13:34:18 +08:00
偏右
a9f14ea48f
refactor: 🌎 new kmr_IQ to replace ku_IQ (#26030)
* feat: 🌎 new kmr_IQ to replace ku_IQ

close #25778
close #25790

* fix locale provider Legacy usage

* Update docs/react/i18n.en-US.md

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

* Update i18n.zh-CN.md

Co-authored-by: Amumu <yoyo837@hotmail.com>
2020-08-06 10:40:58 +08:00
Kermit Xuan
85e28791cb
chore: replace rc-animate/lib/CSSMotion with rc-motion (#26049) 2020-08-05 23:05:25 +08:00
afc163
d3700fbe2e resolve merge conflict 2020-08-05 22:30:47 +08:00
偏右
9a67f3571d
fix: Table crash when dataSource contains number (#26042)
close #26039
2020-08-05 22:29:38 +08:00