Commit Graph

11188 Commits

Author SHA1 Message Date
偏右
4b3150aa05
tweak collapse test case (#22382) 2020-03-19 11:51:38 +08:00
xrkffgg
e0942ace80
fix: Table less lint (#22374) 2020-03-19 10:06:56 +08:00
偏右
cfd05d72ec
fix: Cascader rtl css resolve bug (#22360)
close #22357
2020-03-19 09:28:54 +08:00
二货机器人
2215c7e17a
fix: Table row height (#22367)
* fix style

* rtl support
2020-03-18 22:13:12 +08:00
偏右
4d1f37fbbb
test: add test case for collapse (#22362)
*  add test case

*  update snapshots
2020-03-18 20:44:18 +08:00
Saeed Rahimi
7e06f028e1
style: page-header-demo-content rtl (#22352) 2020-03-18 20:26:42 +08:00
Luke Vella
891a0506b4
chore: Move openAnimation out of defaultProps (#18397)
* Move openAnimation out of defaultProps

* Update Collapse.tsx

Co-authored-by: Luke Vella <luke.vella@CLAP-MAC06.local>
Co-authored-by: 偏右 <afc163@gmail.com>
2020-03-18 18:35:27 +08:00
xrkffgg
41eacdfff0
style: add rtl.less of Drawer\Modal\Progress\Result (#22354)
* style: add rtl.less of Drawer\Modal\Progress\Resul

* fix: rtl.less name

* fix: add import

* fix: remove modal

* fix: remove drawer

* fix: remove progress

* style: add rtl.less of Drawer\Modal\Progress\Resul

* fix: rtl.less name

* fix: add import
2020-03-18 18:15:13 +08:00
afc163
5f61dda3c9 fix select-in-range.md 2020-03-18 17:35:42 +08:00
afc163
02dbd8078d update snapshots 2020-03-18 17:35:42 +08:00
afc163
b33c1d5d88 docs: 📝 onOpenChange argument name 2020-03-18 17:35:42 +08:00
afc163
e2c76ff9fb 🎬 Add RangePicker demo
close #22345
2020-03-18 17:35:42 +08:00
xrkffgg
bb3c6700b6
style: add rtl.less of Tag\Tabs\Alert (#22339) 2020-03-18 14:23:30 +08:00
偏右
9f42339a38
style: add rtl.less of Tree\Tooltip\Timeline (#22335) 2020-03-18 13:10:46 +08:00
BugHiding
38c72f279e
fix: Table row expand icon show error in ipad (#22334)
* update table-row-expand-icon style

* change code position
2020-03-18 13:09:03 +08:00
xrkffgg
ef86892651 style: add rtl.less of Tree\Tooltip\Timeline 2020-03-18 12:54:30 +08:00
xrkffgg
09a2567eb1
style: add rtl.less of Badge\Comment\Collapse (#22320) 2020-03-18 11:31:24 +08:00
xrkffgg
f9b46bfb4f
style: add rtl.less of List\Popover\Statistic (#22331) 2020-03-18 11:22:27 +08:00
Xudong Huang
8fb9db174d
fix: Table column filter value type could be any (#22277)
* fix: Table column filter value type could be any

* Update components/table/interface.tsx

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

* fix: Solve modification type failed CI check

Co-authored-by: 偏右 <afc163@gmail.com>
2020-03-18 11:20:21 +08:00
xrkffgg
73afd36619
style: add rtl.less of Carousel\Descriptions\Empty (#22330) 2020-03-18 11:14:21 +08:00
丶尘殇
3645bd4ecc
docs: 📝 fix array type field of Form.Item name (#22304)
* 嵌套字段定义数组形式文档错误修复

* Update v3.en-US.md

Co-authored-by: 偏右 <afc163@gmail.com>
2020-03-18 11:03:33 +08:00
二货机器人
8453cb7b2d
fix: Upload onChange immutable (#22322)
* refactor tree dir

* Upload onChange immutable

* update test case

* fix lint
2020-03-18 00:02:23 +08:00
二货机器人
b3c1762273
refactor tree dir (#22318) 2020-03-17 22:23:47 +08:00
二货机器人
f4d3dc4306
fix: Table onFilter only should work (#22317)
* adjust table logic

* test case
2020-03-17 21:50:01 +08:00
Adam Stankiewicz
f69ff7eff5
Inherit menu line-height from header (#16142) 2020-03-17 20:26:53 +08:00
偏右
325a68dd5e
style: AutoComplete clear icon overclap on Search icon (#22310)
close #22302
2020-03-17 18:19:13 +08:00
xrkffgg
862cbbceec
style: add rtl.less of Select\Transfer\Upload (#22307) 2020-03-17 17:43:14 +08:00
二货机器人
3f448e3053
Update tag color (#22303) 2020-03-17 17:13:16 +08:00
二货机器人
7c2e2af9a7
Merge pull request #22301 from ant-design/master
chore: Feature merge master
2020-03-17 17:07:38 +08:00
xrkffgg
14c1a58f4f
style: add rtl.less of Steps (#22290)
* style: add rtl.less of Steps\DatePicker

* style: add rtl.less of Steps\DatePicker

* style: remove datepicker
2020-03-17 15:14:29 +08:00
xrkffgg
0755b2b7c7
style: add rtl.less of Rate\Switch\Slider (#22294) 2020-03-17 14:22:09 +08:00
偏右
96bc5df2c4
feat: 🆕 Add keyboard prop to Tabs (#22287)
* 🆕 Add keyboard prop to Tabs

*  update snapshots

* fix Tabs keyboard tsd

* fix active tab outline style
2020-03-17 12:41:18 +08:00
二货机器人
4b2e88caaf
fix: Typography list style (#22284)
* fix typography list style

* update snapshot
2020-03-17 11:30:16 +08:00
Aymen Chebbi
23f5e3ebf2
Update german translation (#22270) 2020-03-16 21:58:40 +08:00
xrkffgg
5dde517836
style: add rtl.less of Menu\Pagination\PageHeader (#22271) 2020-03-16 21:56:05 +08:00
xrkffgg
9df7b38673
Merge pull request #22258 from ant-design/add-rtl-less
style: add rtl.less of breadcrumb\dropdown
2020-03-16 17:28:53 +08:00
xrkffgg
a4cf8430fd style: fix button rtl.less 2020-03-16 17:18:14 +08:00
xrkffgg
6ce44591ba style: add rtl.less of breadcrumb/dropdown 2020-03-16 17:03:34 +08:00
afc163
46a8cf7dc7 merge feature into master-to-merge-feature 2020-03-16 15:52:39 +08:00
xrkffgg
839a19af58
style: add rtl.less of button\typography\grid (#22252) 2020-03-16 15:16:05 +08:00
偏右
442a4e4769
style: fix Select dropdown menu vertical padding (#22251) 2020-03-16 15:15:28 +08:00
二货机器人
6d9f010dc2
docs: Add dynamic multiple fields demo (#22247) 2020-03-16 15:00:27 +08:00
偏右
1ec4656a75
🐛 Fix Menu unexpected scrollbar when click menu item (#22248)
close #22244
2020-03-16 14:16:39 +08:00
二货机器人
c86c3cf5a1
refactor: Adjust Radio.Group logic that value is undefined should be uncontrolled mode. (#22245)
* test driven

* adjust raido group logic
2020-03-16 12:47:24 +08:00
二货机器人
69a2bceb64
docs: Add Tree faq (#22242)
* Update index.zh-CN.md

* Update index.en-US.md
2020-03-16 10:59:31 +08:00
Eslam Yahya
84e9b7c95d
Fix timeline pendingDot default value in docs (#22236) 2020-03-16 09:58:29 +08:00
Arnaud Benhamdine
e0ecd4389b
fix: remove acute accents in datepicker FR locale (#22238)
* fix: remove acute accents in datepicker FR locale

* Add missing trailing "r"
2020-03-16 09:57:20 +08:00
hebingchang
81f7f839cb
fix: style of card mode of Calendar (#22231)
* fix: style of mini Calendar

* ignore lint

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-03-15 22:05:56 +08:00
骗你是小猫咪
61d0d6b182
feat: useBreakpoint hook (#22226)
* feat: useBreakpoint hook

* update snapshots

* update snapshots

* update snapshots

* add useBreakpoint hook test
2020-03-15 20:53:23 +08:00
偏右
9a5cea7302
fix: Table filter sub menu max height with many items (#22230)
close #22228
2020-03-15 20:50:02 +08:00
偏右
1eea3c5395
🐛 revert Radio no wrapping style (#22229)
close #22224
2020-03-15 19:44:10 +08:00
Saeed Rahimi
c52d25d2cf
style: fix form item with feedback in rtl (#22222) 2020-03-15 19:20:10 +08:00
xrkffgg
a50c42c08b
style: fix form item rtl style (#22214) 2020-03-14 23:05:49 +08:00
骗你是小猫咪
869f93d7c8
feat: Card support tabProps (#22207)
* feat: add tabProps

* default value

* add test suite
2020-03-14 19:59:15 +08:00
xrkffgg
6f4d27985e
fix: inputgroup search icon (#22197) 2020-03-14 12:41:55 +08:00
afc163
c47f895ba5 🎬 improve select demo 2020-03-14 00:04:54 +08:00
偏右
e9862c5bc3
feat: Menu.Item Tooltip could be hidden by title prop (#22202)
* feat: Menu.Item Tooltip could be hidden by title prop

close #11252

* handle title false situation
2020-03-13 19:43:10 +08:00
xrkffgg
8d2c959711
style: fix cascader RTL small icon (#22191) 2020-03-13 17:30:51 +08:00
xrkffgg
b032344d81
style: add checkout grop RTL (#22186)
* style: add checkout grop RTL

* style: add rtl.less

* fix: add test

* fix: add group test

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: 偏右 <afc163@gmail.com>
2020-03-13 15:09:40 +08:00
偏右
313f71a3c1
Update index.en-US.md (#22188) 2020-03-13 14:36:21 +08:00
Rainy
e60f18ce0b
Update index.zh-CN.md (#22187) 2020-03-13 14:36:14 +08:00
Rainy
caf6143c1a
Update index.en-US.md 2020-03-13 14:16:06 +08:00
Wendell
a6c207d9dd
fix: fix vertical handle position (#22135)
* fix: fix vertical handle position

* 💄 make tooltip right for vertical slider

* fix: fix style and bump rc-slider
2020-03-13 13:52:47 +08:00
偏右
b1189097c7
🐛 fix Menu inlineCollpsed title (#22182)
when set getPopupContainer to trigger node

close #22180
2020-03-13 12:21:24 +08:00
偏右
71c8fac72f
Merge branch 'feature' into master-to-merge-feature 2020-03-13 11:52:28 +08:00
afc163
e2029e398e update snapshots 2020-03-13 11:48:56 +08:00
xrkffgg
e43b8c8258
style: optimization steps in RTL (#22175) 2020-03-13 10:51:16 +08:00
二货机器人
286d930cb6
adjust select single style (#22167) 2020-03-12 21:43:05 +08:00
二货机器人
6a563ff49c
docs: Update Table resize demo (#22165)
* update demo

* update snapshot
2020-03-12 21:30:08 +08:00
xrkffgg
a589b56a28
style: add breadcrumb clear (#22159)
* style: add breadcrumb clear

* style: add clear

* style: use mixins

* style: rtl only
2020-03-12 17:46:56 +08:00
偏右
10f4454536
💄 fix Slider handler focus style (#22161)
like 3.x
2020-03-12 17:41:23 +08:00
xrkffgg
12420a91d1
style: optimization page style in RTL (#22155) 2020-03-12 16:14:45 +08:00
偏右
2a6f975acf
💄 Fix Calendar header select ellipsis (#22148)
close #22123
2020-03-12 13:53:50 +08:00
Gibson C
875f1afc79
feat: Define PickerLocale typedef (#22132) 2020-03-12 10:49:32 +08:00
二货机器人
f44f6f38cf
fix: Table dropdown prefix cls (#22133)
* fix: Table dropdownPrefixCls

* update snapshot

* update snapshot
2020-03-11 23:58:32 +08:00
二货机器人
7ec2b771d4
fix: Table expandable with fixed column style (#22131) 2020-03-11 22:08:07 +08:00
zombiej
84dc474269 docs: fix site build 2020-03-11 21:28:08 +08:00
Wendell
889a9ba9fd
fix: fix tooltip trigger type (#22043)
* fix: fix tooltip trigger type

* fix: use extends over duck type

* update rc-tooltip deps

* fix rate ts define

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-03-11 21:10:40 +08:00
Gibson C
bf7f47a7d7
feat: Refine TimePicker locale typedefs (#22129) 2020-03-11 21:08:15 +08:00
Paul Julien
e989683eef
fix: fr_FR locale (#22122) 2020-03-11 18:37:48 +08:00
afc163
d03ac85f36 🔀 merge master into feature 2020-03-11 15:41:51 +08:00
Chris Frisina
909bde6c07
documentation about browser keyboards and restrictions (#21174)
This helps teach users that a commonly requested feature can be included with proper documentation of how to utilize the numeric keyboard or numeric restrictions on the input
2020-03-11 15:39:18 +08:00
Gibson C
d2ef74b2ed
feat: Refine locale types (#22103) 2020-03-11 14:56:01 +08:00
xrkffgg
a9942809c5
style: optimize dropdown RTL icon (#22104) 2020-03-11 14:35:59 +08:00
二货机器人
698d358af9
docs: Update Demo icon (#22100) 2020-03-11 12:31:53 +08:00
偏右
65c2a473d4
fix: 🐛 Fix Select ellipsis bug of Firefox in another way (#22101)
* 🐛 Fix Select ellipsis bug in Firefox by another way

close #22017

revert #22033

* Update components/select/style/single.less

Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-03-11 12:30:03 +08:00
xrkffgg
7b1ba24bd3
style: fix dropdown menu icon (#22098)
* style: fix dropdown menu icon

* style: promote margin right

* style: add dropdown rtl
2020-03-11 11:23:39 +08:00
Amumu
5d9d1ef31b
remove non-null assertion (#22096) 2020-03-11 11:22:46 +08:00
Blaz Pocrnja
c8f437ea02
Ellipsis onExpand function takes event parameter (#22092) 2020-03-11 11:11:25 +08:00
Alex
f67e1833e9
changed display of anticon (#22090) 2020-03-11 11:07:14 +08:00
二货机器人
33e726f874
fix: Should also fix expand col when selection fixed (#22087) 2020-03-10 23:12:37 +08:00
偏右
145f72741b
Merge pull request #22072 from ant-design/new-table-filter-menu-buttons
style: 💄 New table filter menu buttons
2020-03-10 22:32:03 +08:00
afc163
c5c1b6d9f9 fix missing style dep and uncomment test case 2020-03-10 22:16:18 +08:00
骗你是小猫咪
9ccd5bcc33
fix: basic form style abnormal (#21907)
* fix: basic form style abnormal

* improve grid

* upgrade snapshots and improve priority

* resolve #22009

* fix wrap element

* increase priority

* revert grid basic demo

* fix snapshots
2020-03-10 22:15:27 +08:00
骗你是小猫咪
924f1cfd3a
fix: Table filter menu reset not working (#22079)
* fix: Table filter menu reset not working

* use setFilteredKeysSync
2020-03-10 21:24:41 +08:00
afc163
ebd31cdfc8 test: fix test cases 2020-03-10 20:43:19 +08:00
Wendell
584d0ae048
feat: pagination could change its size by the width of the window (#21959)
* feat: pagination could change its size by the width of the window

feat: pagination add autoResize prop

chore: remove resizing

* doc: fix doc

* feat: rename API

* fix: rename

* fix: test
2020-03-10 20:32:34 +08:00
Saeed Rahimi
5787f3e8b2
fix: FixedColumns issue in rtl (#21914)
* fix: FixedColumns issue in rtl

* update rc-table version
2020-03-10 20:30:31 +08:00
xrkffgg
8adefd4390
style: fix radio button in rtl (#22066) 2020-03-10 20:29:50 +08:00
afc163
15ca801f41 style: fix Dropdown sub menu edge padding missing 2020-03-10 18:15:42 +08:00
afc163
a68db2da20 💄 update Table filter menu UI 2020-03-10 18:07:11 +08:00
二货机器人
3670ca7c8d
docs: Update demo preview link (#22061)
* docs: Update demo preview link

* Update snapshot
2020-03-10 16:43:23 +08:00
Jingsong Gao
639cedeac2
fix: fix FormList Operation type definitions (#22058) 2020-03-10 15:46:13 +08:00
偏右
cff8c08286
🔨 simplify Popconfirm and Popover dom structure (#22052) 2020-03-10 15:17:23 +08:00
Gibson C
428f743b50
feat: Support render props for <Popover/> and <Popconfirm/> (#22034)
* feat: Support render props for <Popover/>

* feat: Support render props for <Popconfirm/>

* docs: Update Popconfirm docs
2020-03-10 13:57:02 +08:00
Jingsong Gao
f21b4684c8
fix: fix FormItem hooks render error (#22053) 2020-03-10 13:19:35 +08:00
二货机器人
86cb76771a
fix avatar margin style (#22038) 2020-03-09 21:08:01 +08:00
偏右
2b102f8494
🐛 Fix Select ellipsis bug in Firefox (#22033)
close #22017
2020-03-09 19:31:58 +08:00
偏右
ef0c07db6a
Merge pull request #22030 from ant-design/fix-page-header-overflow
style: 💄 fix PageHeader overflow hidden and responsive style
2020-03-09 18:27:09 +08:00
afc163
412efba9c5 update snapshots 2020-03-09 18:03:36 +08:00
Jingsong Gao
6d48c131dc
docs: correct inline to noStyle (#22029) 2020-03-09 17:55:22 +08:00
afc163
b0b13cf512 💄 fix PageHeader overflow hidden and responsive style
close #22020
2020-03-09 17:52:29 +08:00
afc163
77d3a993fa 🔨 Merge master into feature 2020-03-09 17:18:32 +08:00
偏右
28c06266d0
docs: 📝 documentation for DatePicker inputReadOnly (#22024)
close #20442
close #21831
close #20816
2020-03-09 17:13:43 +08:00
二货机器人
94eefa371c
fix: Only menu icon (#22021) 2020-03-09 16:54:19 +08:00
偏右
339b785815
🎬 improve input demo and test case (#22016) 2020-03-09 16:15:19 +08:00
偏右
8dd8a19d6f
🐛 Fix TextArea[autoSize] don't scroll bottom in Firefox (#22014)
close #21870
2020-03-09 16:04:51 +08:00
偏右
125c154ffe
💄 Avoid negative padding in less (#22003)
close #22003
2020-03-09 12:04:12 +08:00
qiqiboy
a476197405
perf(Form): FormContext use a memoized value(#21976) (#21980)
* perf(Form): FormContext  use a memorized value(#21976)

* fix #21976

* fix(Form): fix typo ‘useMemo’

Co-authored-by: qiqiboy <qiqiboy@tigerbrokers.com>
2020-03-08 17:41:45 +08:00
二货机器人
9fdb82b7df
refactor: Form.Item with pure children will only render once (#21991)
* refactor: Form.Item with pure children will only render once

* not skip for real render
2020-03-08 16:28:33 +08:00
Amumu
76de873d87
add className (#21988) 2020-03-08 13:59:44 +08:00
zefeng
be990f9332
chore: remove unnecessary loop (#21978) 2020-03-08 00:54:45 +08:00
二货机器人
8eb66473c6
docs: Update Tree dynamic update demo (#21975) 2020-03-08 00:19:05 +08:00
二货机器人
bbe9e346e4
fix: Table className & style in wrong place (#21974)
* fix: Table className style work position

* update snapshot
2020-03-07 23:17:28 +08:00
tdida
23e48552ad
fix: Input.Password ConfigProvider prefixCls not work (#21953)
* fix: Input.Password ConfigProvider prefixCls not work

* test: add ConfigProvider Input.Password test

Co-authored-by: TDiDa <>
2020-03-07 15:11:44 +08:00
liusiasi
69f6585ead
change carousel style (#21960) 2020-03-07 15:06:51 +08:00
二货机器人
d23d53b2e8
chore: Update snapshot (#21966) 2020-03-07 15:05:19 +08:00
二货机器人
8f09465b87
feat: Tree/TreeSelect/Select support virtual prop to disable virtual scroll (#21955)
* feat: support disable virtual scroll

* update snapshot
2020-03-07 11:32:04 +08:00
二货机器人
4e8170b93c
feat: TimePicker.RangePicker support order (#21948) 2020-03-06 20:19:24 +08:00
zombiej
bde335c761 merge master 2020-03-06 18:12:39 +08:00
xrkffgg
c162bff8ab
style: add search input border color in RTL (#21946) 2020-03-06 18:09:37 +08:00
GJ Wang
d7394e9e2f
docs: remove key props (#21943) 2020-03-06 17:55:22 +08:00
xrkffgg
0537e4a010
style: fix select content style (#21940) 2020-03-06 17:37:51 +08:00
二货机器人
301ef2eb63
fix: Table small header background color (#21942) 2020-03-06 17:03:55 +08:00
xrkffgg
cb4ad64991
style: add datepicker cursor style (#21937) 2020-03-06 15:53:44 +08:00
二货机器人
6e1661db27
docs: 🎬 Update demo ts define (#21931) 2020-03-06 12:50:45 +08:00
偏右
9db875f9a5
💄 vertical menu should has max height (#21930)
close #21928
2020-03-06 12:49:38 +08:00
二货机器人
5fcdbe152e
chore: Form.useForm return same instance now (#21927)
* add test case

* memo of useForm
2020-03-06 12:07:55 +08:00
二货机器人
e8876d5817
fix: MenuItem with icon only will still have additional margin (#21925)
* fix: MenuItem with icon only will still have additional margin

* update snapshot

* fix snapshot
2020-03-06 11:53:09 +08:00
二货机器人
36c05ddd8a
fix: Table expandIconColumnIndex with rowSelect (#21915)
* fix: Table expandedIcon order

* update test case

* update test case
2020-03-06 00:58:26 +08:00
偏右
afe0e3ddad
💄 Add less variable @form-item-label-height (#21912) 2020-03-05 23:04:27 +08:00
二货机器人
e6965c909f
chore: Form.Item renderProps define (#21911) 2020-03-05 22:05:22 +08:00
偏右
5bb8f585de
add outline-fade less variable (#20227)
Co-authored-by: 偏右 <afc163@gmail.com>
2020-03-05 20:39:03 +08:00
afc163
c5e5a8c895 update snapshots 2020-03-05 20:32:38 +08:00
偏右
164a4ac3b4
🐛 Fix Table overflow layout (#21905)
unscrollable table should not have overflow style

close #21879 by revert #20705
2020-03-05 19:07:55 +08:00
二货机器人
4b0effbc0e
fix: Desctiption miss style when value is number 0 (#21901)
* fix: Desctiption miss style when value is number 0

* fix test case
2020-03-05 17:54:58 +08:00
zombiej
3de412353f chore: Remove duplicated css
close #21860
2020-03-05 17:23:28 +08:00
二货机器人
578c4132a0
fix: ref in radio button has not forward (#21895) 2020-03-05 16:25:47 +08:00
二货机器人
103385ecb5
fix: Nest FormItem warning (#21896) 2020-03-05 16:22:02 +08:00
偏右
188b96971c
fix(module:badge): fix number transition (#21834)
* fix(module:badge): fix toggling animation

close #21674

* chore: remove log

* fix: timer leak

* fix: willUnmount

* test: cov
2020-03-05 13:29:53 +08:00
偏右
bd97e7254a
chore: use react internal replace PureRenderMixin (#21876) 2020-03-05 13:19:00 +08:00
二货机器人
915590a2ff
fix: Select with '' string value align issue (#21880)
* fix: Select with '' string value align issue

* fix lint
2020-03-04 23:40:02 +08:00
偏右
6e63b6f00e
Update index.zh-CN.md 2020-03-04 21:31:38 +08:00
zefeng
cccedf585c
docs: add list grid anchor (#21872) 2020-03-04 21:22:39 +08:00
偏右
43c64e924e
add test case to tooltip (#21826) 2020-03-04 21:03:08 +08:00
偏右
394b785dca
🐛 Fix Menu bottom margin missing (#21867)
close #21864
2020-03-04 19:27:29 +08:00
偏右
e2f5fce8e5
feat: 🆕 add support use dots to provide dotsClasses (#21848)
* add support use dots to provide dotsClasse

* update docs

* rename dotsClass to className

* typo

Co-authored-by: Amumu <yoyo837@hotmail.com>
2020-03-04 14:13:52 +08:00
偏右
e01abd2309
Merge pull request #21849 from ant-design/master
chore: Merge master to feature
2020-03-04 13:52:34 +08:00
偏右
63e6c9af37
Revert "feat: add support use dots to provide dotsClasse (#21708)" (#21847)
This reverts commit 68f8851ec6.
2020-03-04 13:30:21 +08:00
xrkffgg
1556582884
style: optimization dropdown menu style (#21768)
* style: optimization dropdown menu style

* fix: use var

* fix right

* Update index.less

Co-authored-by: 偏右 <afc163@gmail.com>
2020-03-04 11:53:15 +08:00
偏右
3c292b9d62
docs: 📝 instruction about useForm
close https://github.com/ant-design/codemod-v4/issues/90
2020-03-04 11:26:37 +08:00
zombiej
55734400cc docs: Fix v3 form mig doc 2020-03-04 10:26:55 +08:00
Jason Kurian
92c189f246
clarify duration example description (#21838) 2020-03-04 08:28:53 +08:00
zombiej
e7c2ee5be6 docs: Add Table missing expandIconColumnIndex in doc
close #21803
2020-03-03 22:52:58 +08:00
zefeng
453c681881
docs: rewrite drag-drop demo by react-dnd hooks (#21836) 2020-03-03 22:19:19 +08:00
二货机器人
661ff7921d
feat: Form validateMessages support ${label} (#21835)
* update form deps

* update demo

* update test case
2020-03-03 21:57:06 +08:00
二货机器人
8fe701b892
fix: Fix table column filtered not work (#21825)
* fix: Table miss filtered

* add test case
2020-03-03 18:18:19 +08:00
偏右
5d63040837
Merge pull request #21818 from ant-design/master
chore: merge master into feature
2020-03-03 16:44:21 +08:00
afc163
c928952a89 🎬 improve form demo 2020-03-03 16:39:50 +08:00
afc163
f287708db5 💄 optimize Calendar header style in small screen 2020-03-03 15:26:51 +08:00
afc163
c8a8e5d95b 💄 Radio.Group not wrapping now 2020-03-03 15:26:51 +08:00
zhangj
621df692b3
fix: Radio.Button type error (#21807) 2020-03-03 15:01:33 +08:00
二货机器人
228c978c7c
fix: help change cause react warning (#21800) 2020-03-03 12:10:32 +08:00
偏右
17e7a3d57f
📝 fix codeopen demo (#21801) 2020-03-03 12:09:02 +08:00
Amumu
68f8851ec6
feat: add support use dots to provide dotsClasse (#21708)
* add support use dots to provide dotsClasse

* update docs
2020-03-03 11:12:25 +08:00
Martin Cermak
a226c226bf
doc: added more info about nested fields to migration guide (#21758)
Added more examples to form nested fields.
2020-03-03 10:51:54 +08:00
庄天翼
24133d9e55
fix: TreeSelect.SHOW_* should have constant type (#21791)
Signed-off-by: TennyZhuang <zty0826@gmail.com>
2020-03-03 10:47:32 +08:00
Dimitri Mitropoulos
fd9bc6caa0
removes erroniously present comment (#21792)
This comment was an accidental copy/pasta from https://reactjs.org/docs/error-boundaries.html.  Also, it is inaccurate since the user (i.e. AntD user) cannot actually render any fallback component.
2020-03-03 10:44:24 +08:00
Xinzhe Wang
bd747c97d6
fix: List bordered and split props conflict (#21784) 2020-03-02 23:06:02 +08:00
偏右
9eaaea14a7
📝 fix Drawer forceRender doc and tsd (#21774)
close #15287
2020-03-02 17:28:45 +08:00
二货机器人
60f77cef23
fix: table locale not work (#21772)
* fix: Table locale not work

* add test case
2020-03-02 17:15:39 +08:00
骗你是小猫咪
99e6fb9981
fix: Menu.Item inline a tag display not correct (#21699)
* fix: Menu.item inline a tag display not correct

* add :only-child
2020-03-02 16:54:29 +08:00
paranoidjk
84173d9f5c
feat: expose all Dropdown props of BreadcrumbItem (#20763) 2020-03-02 16:08:25 +08:00
二货机器人
241ce3079c
fix: Tree treeData ts define (#21756) 2020-03-02 13:52:42 +08:00
xrkffgg
1d37cf3cdf
fix: input group demo (#21751) 2020-03-02 12:24:24 +08:00
偏右
e4505f5bf6
🐛 Fix Input.Search border when has prefix (#21753) 2020-03-02 12:18:23 +08:00
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking (#21752)
* alert

* more icons

* another grouping

* all done
2020-03-02 12:09:38 +08:00
zefeng
5993fc3dcd
fix: crash when user dont pass icon props to message.open (#21747) 2020-03-02 10:26:26 +08:00
GJ Wang
f78332171e
docs: fix size props (#21724) 2020-03-01 18:24:59 +08:00
二货机器人
e868c87530
fix: Table.Column sortOrder is not working in JSX mode (#21719)
* fix: Table.Column sortOrder is not working in JSX mode

* clean up

* update snapshot
2020-03-01 13:11:28 +08:00
二货机器人
1f108ee086
fix: Form.Item renderProps return type define (#21716) 2020-03-01 00:21:37 +08:00
afc163
211dadad4f 🎬 improve ConfigProvider rtl demo 2020-03-01 00:05:52 +08:00
二货机器人
9b7421afd2
fix: TreeSelect missing suffix define (#21714) 2020-02-29 23:35:57 +08:00
二货机器人
6ba42db314
feat: Selection column also support render node (#21711)
* support customize selection cell

* update snapshot

* update docs

* fix lint

* to debug
2020-02-29 23:11:02 +08:00
zefeng
e262d14c2b
feat: more obviously tips for next sort (#21631) 2020-02-29 22:01:13 +08:00
二货机器人
105c3938b5
docs: Update migration guid (#21705) 2020-02-29 17:09:34 +08:00
二货机器人
04bfb21923
fix: TextArea warning with React 16.13 (#21703)
* fix: TextArea auto height warning

* comment it

* popout textarea test case

* no warning in react 16.13
2020-02-29 16:44:04 +08:00
偏右
aeb4643428
docs: 📝 optimize button doc image style (#21704)
* Update index.zh-CN.md

* Update index.en-US.md
2020-02-29 16:15:43 +08:00
二货机器人
20a6ba3b86
fix: React 16.13 warning (#21702) 2020-02-29 15:21:32 +08:00
偏右
ed4270b506
🔷 Fix Result status type to string & number (#21691)
close #21592
2020-02-28 23:41:20 +08:00
二货机器人
85a07d168e
fix: Description key warning (#21688)
* fix: key warning

* add missing key

* rm fragment
2020-02-28 21:47:29 +08:00
二货机器人
ac94f96608
fix: Form.Item should not exceed of form width (#21682) 2020-02-28 16:45:25 +08:00
二货机器人
3ae88cd03b
fix: Table fixed style with sorted column (#21679) 2020-02-28 16:28:03 +08:00
zefeng
30574b9632
chore: improve table docs (#21667) 2020-02-28 12:11:16 +08:00
zefeng
8a50a2cb77
chore: use react internel optimize code style (#21659) 2020-02-28 11:11:00 +08:00
偏右
b86e9fea14
docs: 🎬 fix expandIcon demo link (#21661)
* 🎬 fix expandIcon demo link

close #21657

* Update index.en-US.md
2020-02-28 11:09:17 +08:00
zombiej
181ef7fabc Merge remote-tracking branch 'origin/feature' 2020-02-27 22:42:59 +08:00
偏右
8e367cc6d5
chore: 🆙 upgrade rc-pagination to 2.0 (#21650)
* 🆙 upgrade rc-pagination to 2.0.0

*  update pagination snapshots

* 🆙 upgrade rc-pagination to 2.0.1
2020-02-27 21:58:11 +08:00
Cong Zhang
d86c14ba8f
docs: fix link in ConfigProvider (#21647)
* fix link in ConfigProvider

* Apply suggestions from code review

Co-authored-by: 偏右 <afc163@gmail.com>
2020-02-27 18:29:59 +08:00
douxc
12761e8382
fix: Breadcrumb 默认使用path作为唯一key (#21583)
* Breadcrumb 默认使用path作为唯一key

* update&submit jest snapshot
2020-02-27 11:00:57 +08:00
二货机器人
afedb4127f
docs: Site with single paging (#21360)
* patch route

* use data for promise

* rename Article file

* Article in TS

* clean up

* use collect

* adjust css

* card it

* listing

* res

* hiring

* add footer

* english it

* rm others

* fix lint

* fix navigation

* add dropdown button

* Header with TS

* split input & logo

* navigation out

* use flex

* flex everything

* stretch

* hide search when narrow

* init category

* global rules

* more cat

* pages

* level 2 width

* level 3

* level 4

* skip before ready

* clean up

* unqiue shadow variable

* update eslintignore

* update ignore

* fix ssr

* fix location param

* replace images

* shake more

* fix top of navigation

* remove home

* reorder nav & adjust padding style

* narrow res style

* Update research-form-page.zh-CN.md (#21426)

Co-authored-by: Golevka <huangsamfisher@163.com>

* rm skip

* narrow merge in

* reset p style

* update svg

* fix lint

* update ignore

* update lint ignore

* Update research-result-page.zh-CN.md (#21432)

Co-authored-by: mihaideyu <zxy1010414746@163.com>

* Update research-result-page.zh-CN.md

* Update research-workbench.zh-CN.md (#21438)

Co-authored-by: yingxirz <inseeing@gmail.com>

* Update research-workbench.zh-CN.md

* Update research-list-page.zh-CN.md (#21441)

Co-authored-by: yingxirz <inseeing@gmail.com>

* Update research-list-page.zh-CN.md

* padding use 40px

* add responsive of ref

* fix p margin

* Update research-workbench.zh-CN.md

* Update buttons.md (#21456)

Co-authored-by: yingxirz <inseeing@gmail.com>

* Update resources.en-US.md (#21457)

* Update research-navigation.zh-CN.md (#21453)

* Update research-navigation.zh-CN.md

* Update research-navigation.zh-CN.md

* Update research-navigation.zh-CN.md

* Update research-empty.zh-CN.md (#21451)

* Update research-empty.zh-CN.md

* Update research-empty.zh-CN.md

* Update research-empty.zh-CN.md

* Update research-empty.zh-CN.md

Co-authored-by: 二货机器人 <smith3816@gmail.com>

* Update research-exception-page.zh-CN.md (#21452)

* Update research-exception-page.zh-CN.md

* Update research-exception-page.zh-CN.md

* Update research-message-and-feedback.zh-CN.md (#21463)

* Update research-message-and-feedback.zh-CN.md (#21467)

* Update research-message-and-feedback.zh-CN.md

* Update research-message-and-feedback.zh-CN.md

* Update research-message-and-feedback.zh-CN.md

* Update research-message-and-feedback.zh-CN.md

* replace background

* fix lines margin

* home padding

* patch minTilda doc

* Update resources.zh-CN.md (#21503)

* clean up

* Update research-workbench.zh-CN.md (#21512)

Co-authored-by: yingxirz <inseeing@gmail.com>

* Update research-overview.zh-CN.md (#21513)

Co-authored-by: yingxirz <inseeing@gmail.com>

* Update research-result-page.zh-CN.md (#21514)

Co-authored-by: mihaideyu <zxy1010414746@163.com>

* Update research-list-page.zh-CN.md (#21515)

Co-authored-by: yingxirz <inseeing@gmail.com>

* fix doc

* Update research-message-and-feedback.zh-CN.md (#21516)

* adjust home nav width

* Update research-message-and-feedback.zh-CN.md (#21535)

* Update research-form-page.zh-CN.md (#21554)

Co-authored-by: Golevka <huangsamfisher@163.com>

* patch file

* clean up

* update shadow.zh-CN

update shadow.zh-CN

* add shadow table

* Update visual.zh-CN.md (#21577)

Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com>

* Update docs/spec/shadow.zh-CN.md

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

* Update docs/spec/shadow.zh-CN.md

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

* Update docs/spec/shadow.zh-CN.md

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

* Update docs/spec/shadow.zh-CN.md

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

* Update docs/spec/shadow.zh-CN.md

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

* patch docs

* fix doc

* rm page suffix

* fix style

* mobile it

* Update resources.en-US.md (#21561)

* chart res

* add qr code

* adjust qr

* Update visual.zh-CN.md (#21603)

Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com>

* fix site qr

* mobile height of it

* book update

* 3.x site link

* isMobile is new cnotext

* Update research-form.zh-CN.md (#21604)

Co-authored-by: Golevka <huangsamfisher@163.com>

* adjust form doc

* mobile use link

* adjust order

* flush

* fix ts

* Update research-navigation.zh-CN.md (#21606)

* Update research-navigation.zh-CN.md (#21609)

* rm useless lines

* add mobile icon

* Update research-exception.zh-CN.md (#21612)

* Update research-empty.zh-CN.md (#21610)

* Update research-workbench.zh-CN.md

* Update visual.zh-CN.md

* adjust mobile icon

* Update research-message-and-feedback.zh-CN.md (#21613)

* Update research-list.zh-CN.md (#21617)

Co-authored-by: yingxirz <inseeing@gmail.com>

* Update research-workbench.zh-CN.md (#21618)

Co-authored-by: yingxirz <inseeing@gmail.com>

* Update visual.zh-CN.md (#21619)

Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com>

* Update research-result.zh-CN.md (#21620)

Co-authored-by: mihaideyu <zxy1010414746@163.com>

* Update research-form.zh-CN.md (#21615)

* Update research-message-and-feedback.zh-CN.md (#21616)

* Update research-list.zh-CN.md (#21621)

Co-authored-by: yingxirz <inseeing@gmail.com>

* Update research-result.zh-CN.md (#21624)

Co-authored-by: mihaideyu <zxy1010414746@163.com>

* update ref color

* update zip file

* fix mobile icon

* rm skip dark

* fix cat

* update zip link

* update zip link

Co-authored-by: Golevka <huangsamfisher@163.com>
Co-authored-by: mihaideyu <zxy1010414746@163.com>
Co-authored-by: yingxirz <inseeing@gmail.com>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: myeunhyuk <39618466+myeunhyuk@users.noreply.github.com>
Co-authored-by: minTilda <31951290+minTilda@users.noreply.github.com>
Co-authored-by: ziyuan-174774 <61226089+ziyuan-174774@users.noreply.github.com>
Co-authored-by: 竹尔 <54707870+AntDesigners@users.noreply.github.com>
Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com>
2020-02-27 10:53:30 +08:00
dan-drews
2620801893
Update verbiage in sample to match the property value (#21628) 2020-02-27 07:30:10 +08:00
偏右
3c6faa6cb4
🎬 Improve Grid demo style (#21625) 2020-02-26 21:00:43 +08:00
骗你是小猫咪
3269d8c387
feat: Timeline.Item support label (#21560)
* feat: Timeline add label

* improve label style with mode

* update snapshot

* use optional chaining

* add doc

* Update label.md

Co-authored-by: 偏右 <afc163@gmail.com>
2020-02-26 17:21:44 +08:00
afc163
9d049151da docs: 🔗 update demo links 2020-02-26 16:53:57 +08:00
zefeng
e3fbb0dbd4
chore: replace legacy context and use PureComponent (#21597) 2020-02-26 16:09:22 +08:00
偏右
0f5dc22966 docs: fix wrong link 2020-02-26 14:57:20 +08:00
偏右
0154154c9b
🐛 Table filter menu should have max-height (#21602)
close #19542
2020-02-26 14:53:02 +08:00
medayz
b617b41dcb
fix typos in messages (#21594) 2020-02-26 11:27:15 +08:00
xrkffgg
4584a62d54
style: optimization calendar year content (#21598) 2020-02-26 11:21:21 +08:00
偏右
50087b22d8
📦 Remove DatePicker legacy cell className (#21589) 2020-02-25 19:41:43 +08:00
偏右
bc8bc190ea
fix: ignore lgtm rule (#21580)
* fix lgtm

* Update index.tsx
2020-02-25 18:36:18 +08:00
偏右
1f75773bf1
🐛 Fix RangePicker style render bug in IE11 (#21587)
close #21559
2020-02-25 18:14:16 +08:00
zefeng
55133b7757
chore: use purecomponent replace shallow compare (#21575) 2020-02-25 16:23:34 +08:00
偏右
2f91dd4925
🎬 fix Form demo warning (#21576)
close #21543
2020-02-25 16:21:24 +08:00
zefeng
a3122b7683
fix: fix sortGradient ignore incorrect percent (#21564) 2020-02-25 12:21:49 +08:00
zefeng
778dfe5857
fix: fix trailColor in line-type progress and add trailColor in docs (#21552) 2020-02-25 11:11:19 +08:00
信鑫-King
c17b40ae70
fix: dark background in different container (#21299)
* fix: comment and input

* fix: add @pagination-item-input-bg

* feat: add @list-customize-card-bg for dark hook component

* feat: add dark hook

* fix: checkbox color

* fix: popover-customize-border-color

* fix: table

* fix: style lint

* fix: debug

* fix: color

* fix: update colors

* fix: demo

* feat: popover container bg use mixins utils

* fix: less dark

* fix: table bg in dark

* fix: fixed table

* fix: lint

* fix: lint

* feat: add @table-expand-icon-bg

* fix: notification bg

* fix: remove dark.md

* fix: dropdown

* fix: table

* fix: data lint

* fix: style

* fix: dark less style

* fix: @steps-background

* fix: add thead dark style

* fix: unused styles
2020-02-24 22:44:29 +08:00
偏右
b35498aa73
add test case for message.config (#21556) 2020-02-24 16:58:09 +08:00
偏右
b53cf30fc0
💄 refactor descriptions code (#21557) 2020-02-24 16:57:39 +08:00
zombiej
3f8d6cd4f0 merge feature 2020-02-24 13:10:29 +08:00
二货机器人
1fad2b0277
fix: Lots of Descriptions (#21542)
* refactor

* class name

* update demo snapshot

* clean up

* update snapshot

* fix test case

* more test case

* adjust logic
2020-02-23 20:48:16 +08:00
zombiej
8d7f1dadef chore: Update Description snapshot with mount render instead 2020-02-23 17:07:55 +08:00
shmilyKang
6b9e7fc9dd
完善Table Api的Scroll的说明 (#21540)
提示scroll也可以修改滚动区域的宽高。
2020-02-23 13:36:02 +08:00
mjfwebb
bdd79ec9f3
Update index.en-US.md (#21536) 2020-02-23 01:26:35 +08:00
二货机器人
30dca50249
fix: Notification can not stack when first init (#21531)
* init test case

* use promise for dealy handler

* fix test
2020-02-23 00:02:48 +08:00
二货机器人
4358f48abd
fix table selection with empty children error (#21528) 2020-02-22 22:19:33 +08:00
afc163
b4636ab2df 💄 tweak Upload showDownloadIcon default value
it should be false
2020-02-21 13:11:07 +08:00
二货机器人
7e649ec1b6
fix: Input with readOnly should not clearable (#21494) 2020-02-20 19:56:22 +08:00
偏右
db1383ca58
🐛 Fix Form forwardRef ts error (#21483)
https://github.com/ant-design/ant-design/pull/21482#issuecomment-588642994
2020-02-20 16:36:47 +08:00
zombiej
9a90c5b910 chore: Patch fix of #21476 2020-02-19 22:16:55 +08:00
二货机器人
9f26e7a85e
fix: Form item has default height align with form size (#21476)
* fix: Form item has default height align with form size

* fix lint

* update snapshot
2020-02-19 22:04:25 +08:00
程成
c968184348
fix: upload 识别图片类型逻辑错误 (#21473)
* fix: upload 识别图片类型逻辑错误

当 uploadFile 有类型时,直接对 类型 进行判断即可

* test: 增加识别文件类型的测试用例
2020-02-19 20:12:44 +08:00
二货机器人
18d2f04c30
docs: Remove optionLabelProp in AutoComplete doc (#21469)
* update doc

* fix doc
2020-02-19 17:58:52 +08:00
二货机器人
aa6ccda4ba
feat: Form support scrollToFirstError (#21462)
* feat: add scrollToFirstError support

* add test case

* clean up

* coverage

* feat: add scrollToFirstError support

* add test case

* clean up

* coverage

* update docs
2020-02-19 17:38:46 +08:00
zombiej
9eab33e09b merge master 2020-02-19 13:20:43 +08:00
二货机器人
0ea16a8841
docs: Add faq about item height (#21433)
* docs: Add faq about item height

* update
2020-02-18 17:29:35 +08:00
二货机器人
1b15ccacc8
fix: Fixed Table small style (#21431) 2020-02-18 16:28:25 +08:00
偏右
4f2ef2a355
🐛 Fix Form throw error when using BraftEditor (#21425)
component.props.onChange should not run when it is falsy

close #21415
2020-02-18 15:38:00 +08:00
Amumu
e275895523
fix: 较小的@form-item-margin-bottom时表单验证信息切换时表单项抖动 (#21302)
* explainAndExtraDistance

* fix variable
2020-02-17 19:35:58 +08:00