Commit Graph

11244 Commits

Author SHA1 Message Date
偏右
b317b7cd67
style: 🐛 Fix multiple Select large size (#22904)
close #22900
2020-04-03 23:11:14 +08:00
Rohan Bagchi
d45d4bbd28
Updating document to correct few typos (#22902) 2020-04-03 22:45:39 +08:00
Yu
e852433ef3
fix: FilterDropdownProps TypeScript definition update (#22895) 2020-04-03 20:15:27 +08:00
二货机器人
75524df190
fix jsx filter not work (#22888) 2020-04-03 16:32:50 +08:00
二货机器人
89abacac31
fix: Input affix prevent dropdown focus (#22887)
* adjust focus logic

* update logic
2020-04-03 16:11:41 +08:00
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn (#22883)
* 🦄 Add eslint-plugin-unicorn

* fix eslint errors

* fix eslint errors

* fix lint demo

* fix lint demo
2020-04-03 15:02:11 +08:00
二货机器人
1e5c527146
fix: Table header columns size with filter or sorter (#22872)
* fix size columns

* update snapshot

* more test code

* patch

* force ci

* fix hover small style

* adjust less
2020-04-03 13:42:57 +08:00
zombiej
3b77e610fe chore: Update snapshot 2020-04-03 12:19:41 +08:00
二货机器人
14cd2dc434
adjust nest table logic (#22868) 2020-04-02 22:22:34 +08:00
二货机器人
b28b2007be
fix: Center not work in Table (#22858)
* fix: Center not work in Table

* update snapshot

* fix test case
2020-04-02 18:53:49 +08:00
Hanjun Kim
de827d7eb7
fix typo (#22856)
`bellow` -> `below`
2020-04-02 17:47:39 +08:00
二货机器人
9ecb12db76
refactor: Refactor picker generate to multiple files (#22850)
* move single picker out

* move generateRangePicker out

* fix compile
2020-04-02 15:46:07 +08:00
二货机器人
b174f98c6c
chore: Adjust range picker style (#22847)
* adjust rangepicker style

* update snapshot

* fix lint

* add aria label
2020-04-02 15:05:31 +08:00
xrkffgg
c956de52ad
style: fix menu rtl (#22841) 2020-04-02 11:42:15 +08:00
二货机器人
4bd488bfbe
fix align logic (#22836) 2020-04-01 23:31:22 +08:00
二货机器人
9aa61b78e1
support undefined remove filter icon (#22833) 2020-04-01 22:19:32 +08:00
kaoding
3f8dbc500f
style: 💄 @info-color should be @primary-color defaultly
revert #5442
2020-04-01 21:06:24 +08:00
二货机器人
f2a3ef5926
fix: Table expanded logic (#22832)
* update rc-table deps

* fix style mapping

* snapshot
2020-04-01 20:57:35 +08:00
afc163
c38324e863 docs: 📖 Add FAQ about table filter logic 2020-04-01 19:15:30 +08:00
afc163
ddb0ac46ba fix: 🐛 Table unchanged filter should not trigger onChange
ref https://github.com/ant-design/ant-design/issues/22819#issuecomment-607171024
2020-04-01 19:15:30 +08:00
偏右
aca2656721
fix: ⬆️ BackTop not working in iframe (#22788)
* docs: 🎬 improve BackTop demo

* fix Backtop not working in iframe

* fix lint

* fix ci

* fix ci

*  add more test case

*  add more test cases

* fix ci
2020-04-01 17:38:21 +08:00
xrkffgg
a91506cb6b
fix: add rtl space (#22809)
* fix: add Space rtl

* fix: restore test

* fix: restore test

* add

* fix: fix lint

* fix: use original api

* fix: add rtl less
2020-04-01 17:38:03 +08:00
Michael Shing
06f29d0caa
fix: support table getPopupContainer on row selections (#22787)
* fix: support table getPopupContainer on row selections

* move top to before right

* Add cursor to dropdown arrow

* Feedback suggestion

Co-Authored-By: 偏右 <afc163@gmail.com>

Co-authored-by: Michael Shing <mshing@datto.com>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-01 17:14:53 +08:00
Paul Julien
33e5ef20ed
fix: Fix date_picker et time_picker locale for 🇫🇷 (#22769)
* fix french locale

* le -> un
2020-04-01 16:07:16 +08:00
Amumu
4ef3215e1a
fix typo (#22803) 2020-04-01 11:13:08 +08:00
He Linming
3450a82b9e
fix: Card Tabs do not support small size (#22666)
* 🐛 Card Tabs do not support small size

close #22637

* 👌 adjust height

* 👌 use antd variable

* 👌 add card tabs

*  fix ci and adjust margin
2020-04-01 10:54:38 +08:00
二货机器人
63e0ce6597
fix: Safari shadow bug (#22794) 2020-03-31 22:04:03 +08:00
偏右
9e44b97436
fix: 🐛 Affix state update on unmounted component (#22790)
close #22683
2020-03-31 21:25:40 +08:00
二货机器人
8f34161db0
fix: Remove useless form textarea height (#22793) 2020-03-31 21:07:13 +08:00
偏右
b4c943a862
fix: 💄 List footer border (#22771)
bug screenshot: https://user-images.githubusercontent.com/507615/77983664-28eedd00-7342-11ea-8bd4-4dad98f757c0.png
2020-03-31 12:02:10 +08:00
Phoenix Eliot
ebdf9110fd
Fix order of operations for tooltipPlacement (#22772)
tooltipPlacement was broken by a6c207d9dd.
The grouping of this term was getting parsed as `(tooltipPlacement || vertical) ? 'right' : 'top'`, which was incorrect.
2020-03-31 11:54:41 +08:00
二货机器人
cefb7b29f2
chore: Update Locale context (#22762)
* Upgrade locale context

* fix logic

* fix lint

* add context ignore in test case
2020-03-30 22:54:12 +08:00
偏右
dc4d98a46a
🆙 upgrade rc-checkbox (#22761) 2020-03-30 22:14:13 +08:00
Michael Shing
cd0203d535
fix: --scroll-bar var default value (#22754)
* Fix --scroll-bar var default value

* Disable stylelint on scroll-bar var

* Feedback

Co-Authored-By: 偏右 <afc163@gmail.com>

Co-authored-by: Michael Shing <mshing@datto.com>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-03-30 21:58:18 +08:00
xrkffgg
fd7e7d3695
style: optimization form rtl and demo (#22621) 2020-03-30 21:23:05 +08:00
He Linming
e504fa19c0
🐛 remove tabpane outline (#22752)
close #22747
2020-03-30 19:09:30 +08:00
偏右
d4459c791b
🎬 Add loop banner demo to Alert (#22751)
close #18388
2020-03-30 18:44:49 +08:00
骗你是小猫咪
0f2f270f35
fix: Space item duplicate key (#22745) 2020-03-30 17:59:06 +08:00
afc163
40eae38563 fix ci 2020-03-30 16:46:46 +08:00
Min
c4668f3bf5
Clarify documentation on notifications and context (#22742) 2020-03-30 16:17:12 +08:00
偏右
d35dfe89d9
💄 fix Select cursor style (#22743) 2020-03-30 16:16:51 +08:00
偏右
faa71fd7bd
fix: Table loading compatibility (#22739)
* 🐛 Fix Table loading not working when no spinning field

close #22733

*  improve table test case
2020-03-30 15:45:14 +08:00
zombiej
9bb1eb9c87 update snapshot 2020-03-30 11:12:18 +08:00
zombiej
084cc59051 docs: Pagination add all config demo 2020-03-30 10:50:29 +08:00
afc163
a99dde8371 fix ci 2020-03-29 23:06:55 +08:00
afc163
ff95260b0a 📖 update pagination doc 2020-03-29 23:04:20 +08:00
偏右
2a9d6cd106
improve breadcrumb test coverage (#22719) 2020-03-29 22:17:55 +08:00
zombiej
7212a9746d chore: Merge feature 2020-03-29 20:21:14 +08:00
偏右
db3a81ab19
feat: 🔢 improve default pagination switch experience (#22711)
* 🆙 rc-pagination to 2.1.0

*  update snapshot and fix ci

* 🆙 rc-pagination to 2.2.0

*  update snapshot

Co-authored-by: zombiej <smith3816@gmail.com>
2020-03-29 20:15:05 +08:00
zoomdong
779cef4297
fix: typo (#22715) 2020-03-29 18:49:29 +08:00
zoomdong
7a64d5b119
fix:document on Select (#22714) 2020-03-29 18:23:21 +08:00
zombiej
b916f7c247 docs: Update AutoComplete docs
resolve #22704
2020-03-29 17:12:34 +08:00
xrkffgg
d0dee05c28
style: optimize upload rtl style (#22630) 2020-03-29 15:07:04 +08:00
zombiej
f8c5d9505a ignore styleint line rule 2020-03-29 14:49:17 +08:00
zombiej
1ec7b2c068 merge master 2020-03-29 14:40:29 +08:00
二货机器人
d95dc831dd
fix: Drawer close btn style (#22710)
* fix: Drawer close btn style

* fix lint

* snapshot

* update snapshot
2020-03-29 12:38:12 +08:00
二货机器人
ecf4e47647
docs: Update icons doc (#22709)
* docs: Update icons doc

* Update index.en-US.md
2020-03-29 10:48:59 +08:00
zefeng
dda45e4796
feat: support compact theme (#22126)
* feat: support narrow theme mode

* chore: rename narrow to compact

* chore: height part

* chore: preview compact mode

* chore: to make site corrected

* chore: preview site

* docs: 📖 document compact theme usage

* docs: tweak theme doc

* docs: 📖 Add description about double css bundle size

* chore: preview

* chore: for preview

* chore: adjust pagination

* chore: compact mode done!

* chore: remove useless todo

* chore: fix review bug

* chore: fix review bug

* chore: fix card margin

* chore: fix review bug

* chore: fix review bug

* chore: improve i18n and transition

* Update site/theme/static/common.less

Co-Authored-By: 偏右 <afc163@gmail.com>

* chore: fix button size and description padding

* chore: update snapshots

* chore: add compact css bundlesize limit

* chore: compact dist support

Co-authored-by: afc163 <afc163@gmail.com>
2020-03-29 10:39:46 +08:00
Mateusz Burzyński
2cb516b5b7
fix: narrow down types of string literals in a few defaultProps declarations (#22686) 2020-03-28 19:29:02 +08:00
二货机器人
56aabf3966
chore: make bundle size smaller (#22693)
* update rc-resize-observer deps

* clean icons

* rm lodash/findIndex

* rm isPlainObject

* rm lodash uniqueBy

* rollback of icons

* clean up
2020-03-28 19:03:11 +08:00
zombiej
913204282b merge master 2020-03-28 16:31:17 +08:00
Rustin
7b94e0bfb2
refactoring: replace deprecated React.SFC with React.FunctionComponent (#22691)
* refactor: replace deprecated React.SFC with React.FunctionComponent

* refactoring: use typedef FC
2020-03-28 11:56:57 +08:00
zombiej
9e38928379 chore: Update snapshot 2020-03-27 22:43:39 +08:00
二货机器人
c9ab023d39
fix: Safari render bug (#22680) 2020-03-27 22:36:27 +08:00
偏右
9ff35a449b
style: 💄 fix calendar style details (#22676)
* 💄 fix calendar style details

close #22675

*  update calendar demo snapshot

* fix radius
2020-03-27 20:02:14 +08:00
Tom Xu
fa030a6511
feat: Table pagination position add more option (#22647)
* feat: Table pagination position add more option

* table upate snap

* Table pagination demo remove not use code

* update snap
2020-03-27 15:48:42 +08:00
xrkffgg
daef12a1f1
style: fix badge rtl num (#22665) 2020-03-27 15:31:26 +08:00
二货机器人
567e8a14c6
chore: adjust ts define (#22662)
* chore: adjust ts define

* Update FormItem.tsx
2020-03-27 15:08:55 +08:00
二货机器人
a9d6307530
Merge pull request #22517 from ant-design/master-to-merge-feature
chore: 🔀 merge master into feature
2020-03-27 13:45:10 +08:00
zombiej
7878fb6edc fix test case 2020-03-27 13:25:18 +08:00
zombiej
73562d878c merge master 2020-03-27 13:12:37 +08:00
afc163
43de6f3db9 fix test case 2020-03-27 12:26:57 +08:00
xrkffgg
d0a45dced9
style: optimize tabs rtl (#22653) 2020-03-27 11:50:50 +08:00
Ivan Rudoy
c6fc5030e5
fix: package.json import for webpack@5 compatibility (#22644) 2020-03-27 10:15:31 +08:00
xrkffgg
7d9480a84d
style: optimize input rtl syle (#22624) 2020-03-27 10:10:09 +08:00
xrkffgg
cc6cde1759
style: optimize timeline rtl style (#22652) 2020-03-27 10:07:01 +08:00
二货机器人
0fa8e4cfab
fix: Table nest style (#22643) 2020-03-26 23:39:16 +08:00
zombiej
9316f180ca chore: Update snapshot 2020-03-26 23:18:17 +08:00
xrkffgg
fd11de50ae
docs: optimize avatar demo (#22631) 2020-03-26 15:53:57 +08:00
xrkffgg
7abe924530
docs: optimize slider demo (#22626) 2020-03-26 15:31:23 +08:00
xrkffgg
d497c11155
style: optimize slider inner (#22627) 2020-03-26 15:14:17 +08:00
xrkffgg
67f0308168
fix: select rtl clear icon (#22596) 2020-03-25 22:57:39 +08:00
二货机器人
e95603b599
fix: Input with suffix align issue (#22603)
* fix: Input prefix style

* update snapshot

* fix int
2020-03-25 22:44:56 +08:00
Vyacheslav Kamenev
fbdfd4afc0
move @form-item-label-height from form styles to theme variables (#22600) 2020-03-25 21:19:48 +08:00
偏右
b4da5cba48
🐛 Fix Alert cannot work with Tooltip (#22594)
close #22579
2020-03-25 16:50:43 +08:00
xrkffgg
95ae1ce527
style: add select dropdown group RTL padding (#22584) 2020-03-25 13:41:02 +08:00
zombiej
ee78492d50 docs: Remove dropdownMenuStyle of Select doc 2020-03-25 12:57:57 +08:00
zombiej
75a10e3537 docs: Update dropdownMatchSelectWidth doc desc 2020-03-25 12:12:36 +08:00
xrkffgg
d7b5c4da45
style: remove select-item-group point (#22581) 2020-03-25 11:01:49 +08:00
Tom Xu
f5c0eacf6f
fix: Table rowSelection event bubbling (#22566)
* fix: Table rowSelection event bubbling

* test: Table should onRowClick not called when checkbox clicked
2020-03-25 10:51:49 +08:00
二货机器人
8514e0f71e
fix: Form.List nest warning (#22575) 2020-03-24 23:39:56 +08:00
二货机器人
d0e182ea70
chore: Warning with defaultValue (#22571)
* add faq

* chore: Warning if Field with defaultValue
2020-03-24 22:23:40 +08:00
二货机器人
f8a342f415
docs: Fix demo (#22569) 2020-03-24 21:46:09 +08:00
Tom Xu
c7add36de6
fix: 4.0 Table with emptyText is not centered (#22548)
* fix #22176

* update table test
2020-03-24 19:51:34 +08:00
xrkffgg
901f862117
style: add separator disabled (#22563) 2020-03-24 17:27:40 +08:00
xrkffgg
7362de4e66
style: fix progress rtl (#22558) 2020-03-24 15:34:56 +08:00
xrkffgg
e92557e240
fix: badge rtl style (#22551) 2020-03-24 13:36:20 +08:00
afc163
e0c1863108 fix snapshot 2020-03-24 12:24:23 +08:00
afc163
bd9be358e2 ⌨️ Add less vars @link-focus-decoration and @link-focus-outline 2020-03-23 20:09:50 +08:00
xrkffgg
a1efc2876d
fix: input rtl style (#22525) 2020-03-23 18:04:44 +08:00
xrkffgg
d8c2410a45
fix: steps rtl style (#22523) 2020-03-23 17:50:39 +08:00
xrkffgg
f2c0ea3671
style: optimization Dropdown rtl style (#22519) 2020-03-23 16:39:30 +08:00
afc163
8a905cd1c7 fix snapshot 2020-03-23 15:13:29 +08:00
afc163
e12e2971d8 merge feature into master-to-merge-feature 2020-03-23 15:02:22 +08:00
afc163
cd7ae8e82b improve tooltip test case 2020-03-23 14:34:42 +08:00
zombiej
136859a1ca chore: Test case add more delay 2020-03-23 12:35:58 +08:00
偏右
154d733fa1
Update index.zh-CN.md 2020-03-23 12:28:41 +08:00
xrkffgg
641f5c7dff
fix: progress rtl style (#22509)
* fix: progress rtl style

* fix: remove !
2020-03-23 12:05:19 +08:00
偏右
e2a9ab4204
refactor: import react-slick instead of require (#22507)
* refactor: import react-slick instead of require

close #22501

* Update index.tsx
2020-03-23 11:38:16 +08:00
Ahmet Simsek
011cac4414
docs: Update basic.md (#22467)
* Update basic.md

* Update basic.md

Co-authored-by: 偏右 <afc163@gmail.com>
2020-03-23 11:14:29 +08:00
二货机器人
3459bfc0be
docs: 4.0.4 changelog (#22505)
* docs: Init changelog

* order

* grouping

* clean up
2020-03-23 10:57:37 +08:00
骗你是小猫咪
d7e8fa2504
fix: Col without span prop should keep default (#22455) 2020-03-22 21:20:03 +08:00
偏右
41e378a914
docs: 📖 better form demo code naming style (#22490) 2020-03-22 18:31:05 +08:00
偏右
dfb9f20385
docs: 📖 TreeSelect switcherIcon doc (#22489)
close #22487
2020-03-22 18:00:55 +08:00
ThisRabbit
0519111a99
fix: gapDegree=0 in Dashboard progress is now working (#22462)
* fix: gapDegree=0 in Dashboard progress is now working

* update jest snapshot for Progress

* Add use case of gapDegree and test cases. Also doc error correction
2020-03-22 17:59:43 +08:00
Simon Knott
3dd2332549
Address diverse users without gender assumption (#22464)
Not all diverse users don't want to be addressed as "lady" - if they wanted to, they'd have put in "lady".
This commit fixes this potential offense and replaces it using a less specific "hi there".
2020-03-22 17:58:59 +08:00
dolfje
fd0038e9e0
Reduce unnecesary render with gutter={[7,9]} #22474 (#22475) 2020-03-22 17:55:27 +08:00
Naveen
a57760041c
Page Header's backIcon is also accept the boolean value (#22470)
* Fix `backIcon` type in chinese page

* Page Header's `backIcon` is also accept the boolean value
2020-03-22 17:52:31 +08:00
二货机器人
147251345a
fix config provider size (#22486) 2020-03-22 15:52:02 +08:00
二货机器人
d33784b813
docs: Update form demo (#22483) 2020-03-22 11:48:56 +08:00
骗你是小猫咪
b8109bd20e
feat: 🆕 new Space component (#22363)
* feat: new component: Space

* add config-provider space doc

* fix lint fail

* revert test -u

* improve demo

* compatible invalidElement

* use inline-flex and wrap

* review change

* add space version

* improve classname

* review change

* review change
2020-03-22 11:38:02 +08:00
二货机器人
4e270e1873
fix: null value tooltip (#22482) 2020-03-22 11:18:35 +08:00
二货机器人
1e95c6cef0
feat: Quarter picker (#22468)
* support quarter picker

* update snapshot

* fix lint
2020-03-21 22:43:04 +08:00
偏右
4fcc6f66a7
fix: 🐛 empty disabled Button align issue (#22461)
* chore: add .ant-tooltip-disabled-compatible-wrapper

* fix: empty button align issue
2020-03-21 14:30:40 +08:00
Ivan Tsybulin
c430eab79e
feat: Feature tag component icon prop support (#22418)
* Add icon prop to the tag component

* Add test case to the tag component icon prop

* Address requested changes

* Update tag icon.md for CN

* Remove unnecessary warning check
2020-03-21 12:01:23 +08:00
偏右
5529774513
Update index.en-US.md
#15260
2020-03-21 11:45:24 +08:00
二货机器人
9dbd41a853
fix: Table column group with controlled sorter (#22450)
* update interface

* support group sorterOrder controlled

* add test case

* fix test case
2020-03-20 23:33:14 +08:00
偏右
86946f434f
Merge pull request #22446 from ant-design/master
chore: 🔀 merge master into feature
2020-03-20 19:20:11 +08:00
偏右
ed6e8760e5
fix snapshot (#22445) 2020-03-20 18:43:47 +08:00
afc163
da044c2b8d fix snapshot 2020-03-20 17:17:33 +08:00
afc163
2d7497b91b fix snapshot 2020-03-20 17:16:16 +08:00
偏右
a399d05ace
Merge pull request #22435 from ant-design/master
chore: 🔀 merge master into feature
2020-03-20 16:04:26 +08:00
二货机器人
fad514f28b
fix: TreeSelect icon should work (#22437)
* fix tree-select icon

* rename test case

* update snapshot
2020-03-20 16:03:13 +08:00
偏右
f6722eb28b
test: refactor code (#22436) 2020-03-20 15:48:44 +08:00
偏右
66f67051af
test: improve test for requestAnimationFrame (#22433)
* test: improve test for requestAnimationFrame

*  fix test coverage

* fix test case

* fix test case
2020-03-20 15:07:47 +08:00
xrkffgg
1f79c76b80
style: add rtl.less of InputNumber (#22434)
* seyle: add rtl.less of InputNumber

* fix: snap
2020-03-20 14:43:32 +08:00
xrkffgg
7da82dc196
style: add rtl.less of DatePicker (#22414)
* style: add rtl.less of DatePicker

* fix: remove var

* fix: add
2020-03-20 11:58:57 +08:00
偏右
5bf2b0df8d
🐛 fix Form requestAnimationFrame is not defined (#22429) 2020-03-20 11:51:51 +08:00
偏右
36924dda25
docs: update Form documentation (#22427)
* Update index.en-US.md

* Update index.zh-CN.md

* Update index.en-US.md
2020-03-20 11:17:16 +08:00
Yuri Roncella
e7a453734f
Fix loading link locale and name (#22423) 2020-03-20 11:01:41 +08:00
Akshat Mittal
fff1f5b7ae
Fix Ant Table Border Radius (#22413) 2020-03-20 10:57:23 +08:00
Rainy
53e9ca20b6
fix: Omit 'checked' for getCheckboxProps return type (#22391)
* Omit 'checked' for getCheckboxProps return type

* Update interface.tsx

* Update interface.tsx
2020-03-19 23:58:25 +08:00
二货机器人
9e3ddb22ff
opt of noStyle message (#22410) 2020-03-19 21:43:57 +08:00
xrkffgg
289d66ac12
style: add rtl.less of Radio (#22405) 2020-03-19 19:53:24 +08:00
偏右
813a93ab24
test: Add test cases for wave (#22393)
*  Add test cases for wave

* refactor code
2020-03-19 19:27:02 +08:00
偏右
ef0cc699e4
fix: Descriptions should be able to fit width (#22407)
close #22350
2020-03-19 18:40:38 +08:00
偏右
f3e0191fa9
💄 tweak RangePicker arrow shadow (#22406) 2020-03-19 18:20:43 +08:00
xrkffgg
6abe5ef010
style: add rtl.less of Input (#22399)
* style: add rtl.less of Input

* fix: name
2020-03-19 17:22:19 +08:00
xrkffgg
10d97bf346
style: add rtl.less of Table (#22402) 2020-03-19 17:21:41 +08:00
xrkffgg
6e153c9116 fix: name 2020-03-19 16:44:16 +08:00