Commit Graph

11295 Commits

Author SHA1 Message Date
二货机器人
d968fce4dc
chore: Add warning for async (#23118) 2020-04-10 14:13:14 +08:00
二货机器人
f3df9ec894
fix: Input background with dark mode (#23115) 2020-04-10 13:13:30 +08:00
偏右
8e56354de2
💄 Tweak Table hover background color (#23113) 2020-04-10 13:04:53 +08:00
二货机器人
a106319934
fix: Table selection style (#23110) 2020-04-10 12:08:10 +08:00
二货机器人
9b9839d4d9
docs: Update Form normalize desc (#23108)
* docs: Update Form normalize desc

* Update index.en-US.md
2020-04-10 11:38:02 +08:00
xrkffgg
2cbad48ace
style: optimize select dropdown style in rtl (#23097) 2020-04-09 21:03:14 +08:00
二货机器人
37ad43bc9f
fix: Tabs bottom style (#23087)
* fix: Tabs bottom style

* fix lint
2020-04-09 17:31:13 +08:00
偏右
a8b976b802
docs: update Radio.Button (#23078)
* Update index.zh-CN.md

* Update index.en-US.md
2020-04-09 16:12:47 +08:00
二货机器人
4794bae529
fix: Calendar missing style (#23081) 2020-04-09 15:44:22 +08:00
xrkffgg
192146d2a2
style: optimize mentions dropdown in RTL (#23076) 2020-04-09 13:18:49 +08:00
二货机器人
ecf025548b
chore: adjust RangePicker style (#23074)
* adjust range color

* fix lint

* update color

* update dark logic

* adjust little of arrow

* use icon

* update font size

* update snashot
2020-04-09 13:18:13 +08:00
xrkffgg
e652eef04c
style: add rtl base (#22857)
* style: add rtl base

* fix: add test snap
2020-04-09 12:39:10 +08:00
xrkffgg
4d31ed8994
style: optimize datepicker rtl style (#22595)
* style: optimization datepicker rtl style

* fix icon in rtl

* fix: opt rtl
2020-04-09 12:38:53 +08:00
二货机器人
3c7626ede2
docs: update pagination related doc (#23046)
* update pagination related doc

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

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

Co-authored-by: 偏右 <afc163@gmail.com>
2020-04-09 10:52:02 +08:00
xiaofine1122
0b8cc13a07
docs: update tree->draggable demo forEach (#23055) 2020-04-08 23:33:42 +08:00
偏右
28c4f7f137
🐛 Fix menu dark theme not working in submenu (#23054)
close #23031
2020-04-08 22:44:26 +08:00
Nikita Bystrov
0a91df226f
fix(pagination): array support for position in types (#23048) 2020-04-08 22:18:44 +08:00
二货机器人
f42cdca081
chore: adjust RangePicker style (#23025)
* adjust range color

* fix lint

* update color

* update dark logic

* adjust little of arrow
2020-04-08 20:41:57 +08:00
二货机器人
70eaea6978
clean up when field reset removed (#23041) 2020-04-08 18:47:59 +08:00
二货机器人
f9713bf988
chore: Remove uesless event handler (#23036) 2020-04-08 16:52:37 +08:00
二货机器人
a582da3d3d
docs: Update tag demo to support edit (#23032)
* support edit

* update snapshot
2020-04-08 16:23:12 +08:00
Jehu
de38c681cf
fix: long submenu title display (#23028)
* fix: long submenu title display

* fix: long submenu title display (rtl)
2020-04-08 16:18:18 +08:00
zombiej
1ca45ac8fe chore: Update snapshot 2020-04-08 16:11:01 +08:00
Jay Fong
9c72b34671
chore(Badge): improve Badge color types (#23026) 2020-04-08 13:41:32 +08:00
二货机器人
5840b92326
fix: IE11 Select flex (#23020)
* fix: IE11 flex

* align issue
2020-04-08 12:31:37 +08:00
afc163
b8af3de2a0 docs: 📖 virtual default value 2020-04-08 10:52:55 +08:00
Jay Fong
ed5abc246c
chore(Input): improve type types (#23006) 2020-04-08 10:43:37 +08:00
二货机器人
4e3c58f2ba
fix form status (#23004) 2020-04-07 22:51:54 +08:00
Jay Fong
b41301b168
chore(Tag): improve color types (#22999) 2020-04-07 22:10:07 +08:00
zombiej
b0f0a32865 docs: Form doc add version column 2020-04-07 20:43:19 +08:00
偏右
763f7a8a73
style: 💄 tweak Select cuosor position (#22978)
close #22906
2020-04-07 15:41:16 +08:00
偏右
c6a1c3f743
test TransButton focus and blur (#22979) 2020-04-07 15:41:05 +08:00
xrkffgg
de86bf7bd4
style: optimize select dropdown show in rtl (#22984) 2020-04-07 15:40:13 +08:00
zefeng
4bfc2790cb
fix(menu): fix submenu style in dark mode (#22981)
fix #22949
2020-04-07 13:32:29 +08:00
二货机器人
7571372781
fix: Not break input group style (#22975) 2020-04-07 11:25:48 +08:00
xrkffgg
934fe16690
style: add anchor rtl (#22875) 2020-04-07 10:55:36 +08:00
偏右
8dbaf66c2b
fix: confirm button should only trigger once (#22963)
close #22861
2020-04-06 21:57:51 +08:00
Chiciuc Nicușor
1321d90e8b
Replace NativeButtonProps with ButtonProps for okButtonProps and cancelButtonProps. (#21165) (#22913) 2020-04-06 13:00:41 +08:00
afc163
e1b567d3cf fix lint 2020-04-06 12:15:28 +08:00
Eric Wang
095e21220f
chore: Introduce customer jest match to support matchRenderedSnapshot (#22947)
* Introduce customer jest match to support matchRenderedSnapshot

* lint:tsc stop emiting
2020-04-06 12:05:38 +08:00
骗你是小猫咪
c4fb9edfe0
chore: export form value type (#22755) 2020-04-06 11:32:59 +08:00
二货机器人
5c4db907c5
fix: Statistic show -0 (#22950) 2020-04-06 11:19:44 +08:00
dpyzo0o
69daa6fea7
fix: improve typing of upload component (#22921) 2020-04-05 22:26:13 +08:00
Calin Vlad
4ed2d6a44d
docs: update DatePicker docs to specify correct monthCellRender prop insted of monthCellContentRender (#22946) 2020-04-05 22:18:14 +08:00
偏右
6fc0ca089e
Update index.en-US.md 2020-04-05 21:49:28 +08:00
Eric Wang
316b925f94
chore: Use unreachable exception in favor of type safety (#22933)
* Use unreachable exception in favor of type safety

* Add tests

* add test
2020-04-05 21:18:28 +08:00
偏右
d634184b58
🐛 Fix Notification invalid padding-top css (#22941)
close #22935
2020-04-05 20:57:08 +08:00
zefeng
d0f81decbb
fix: fix menu and spin style in compact mode (#22908)
* fix: fix menu and spin style in compact mode

* patch
2020-04-05 12:04:22 +08:00
zefeng
4e20ed2b41
fix(rtl): fix radio rtl overrided by theme (#22926) 2020-04-04 22:27:11 +08:00
xrkffgg
18d424e5f6
style: add message rtl (#22513)
* style: add message rtl

* fix: change config

* fix: add rtl test
2020-04-04 13:35:36 +08:00
Chiciuc Nicușor
f67d09b28e
fix: Extract type of the element of a tuple without indexing. (#22916)
* Extract type of the element of a tuple without indexing.

* Amend ElementOf<T> to also support readonly arrays.
2020-04-04 12:32:56 +08:00
偏右
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