Commit Graph

10501 Commits

Author SHA1 Message Date
ycjcl868
fc3b775452 📝 dark theme usage 2019-11-29 22:09:07 +08:00
骗你是小猫咪
65312870d4 fix: Col default width (#19983)
* fix: Col default width

* update snapshots
2019-11-29 22:02:35 +08:00
ycjcl868
af0127c8e2 fix: layout dark theme 2019-11-29 09:04:39 +00:00
ycjcl868
212b6fb01d fix: @red-base 2019-11-29 09:04:39 +00:00
ycjcl868
f10f351219 chore: TODO colorPalette 2019-11-29 09:04:39 +00:00
ycjcl868
a124ec8ddf feat: use @{color}-base 2019-11-29 09:04:39 +00:00
ycjcl868
e0a60fbd0b revert: trailColor 2019-11-29 09:04:39 +00:00
ycjcl868
4216525ba1 fix: progress default trailColor 2019-11-29 09:04:39 +00:00
ycjcl868
dfa14f469a feat: add @dropdown-menu-bg, @time-picker-bg, @calendar-bg, @calendar-input-bg, @pagination-item-bg 2019-11-29 09:04:39 +00:00
ycjcl868
34f3b44f6d fix: button default background in dark theme 2019-11-29 09:04:39 +00:00
ycjcl868
b6b788b2e0 fix: stylelint fix 2019-11-29 09:04:39 +00:00
ycjcl868
4116a6ef59 feat: antd-dark.less build tool 2019-11-29 09:04:39 +00:00
ycjcl868
817b2ab70d feat: add @comment-bg, @anchor-bg, @radio-disabled-button-checked-bg, @radio-disabled-button-checked-color, @radtio-solid-checked-color 2019-11-29 09:04:39 +00:00
ycjcl868
f47a22e888 feat: add @table-bg 2019-11-29 09:04:39 +00:00
ycjcl868
aedea846fc feat: add @upload-actions-color 2019-11-29 09:04:38 +00:00
ycjcl868
90cca72327 feat: add @checkbox-check-bg, @switch-bg 2019-11-29 09:04:38 +00:00
ycjcl868
04ec04ac85 feat: add @calendar-item-active-bg 2019-11-29 09:04:38 +00:00
ycjcl868
4440062e66 feat: add @message-notice-content-bg and @calendar-border-color 2019-11-29 09:04:38 +00:00
ycjcl868
41609e40bc feat: add color-base for dark 2019-11-29 09:04:38 +00:00
ycjcl868
09c00720b8 feat: add btn-default-ghost 2019-11-29 09:04:38 +00:00
ycjcl868
279c24716c feat: add modal and drawer bg 2019-11-29 09:04:38 +00:00
ycjcl868
e8dd412c84 fix: Avatar User icon 2019-11-29 16:36:33 +08:00
ycjcl868
961cfeac43 test: update snapshot 2019-11-29 15:20:34 +08:00
ycjcl868
864ccc436e fix: button danger link 2019-11-29 15:09:17 +08:00
ycjcl868
beaf521835 fix: remove button group demo 2019-11-29 14:31:03 +08:00
ycjcl868
6ca5628417 Merge 4.0-prepare into fix-button-demo 2019-11-29 14:27:47 +08:00
Amumu
c824569ea0 move className and style to ant-upload-drag (#19987) 2019-11-28 18:00:59 +08:00
二货机器人
5ef6b04554
fix: Table ajax pagination should work (#19980) 2019-11-28 14:46:49 +08:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons deps (#19979)
* update icons deps

* update all icon ref

* fix lint

* update snapshot
2019-11-28 12:34:33 +08:00
邓波
d6430ad3f2 fix: update message content with a unique key and cancel manually (#19967) 2019-11-28 10:01:43 +08:00
damon.chen
2d82b59abf docs(Form): How to use ref with Form HOC (#19937)
* 为Form新增如何在函数组件中使用的例子

* 在Form FAQ中增加在函数组件中怎么正确拿到Form实例的说明

* 更新英文文档

* 按照comment修改

* 更新英文标题

* 修改英文文档FAQ的标题

* 修改英文文档里的大小写问题

* 按照豆酱的comments进行修改

* 按照comments进行修改
2019-11-27 18:18:19 +08:00
骗你是小猫咪
6030431121 fix(Button): Button disabled with loading not prevent pointer events (#19958) 2019-11-27 12:41:47 +08:00
骗你是小猫咪
bed1f7775b fix: should not be render default indicator when indicator value is null (#19943) 2019-11-27 09:40:47 +08:00
afc163
3fa135023f 💄 Add @table-header-bg-sm and fix footer style
close #19936
2019-11-26 15:33:14 +08:00
jeessy2
221d404986 fix: 4.0 table filters value may be previous (#19873)
* fix: 4.0 table filters value may be previous

* create a sync variable to resolve async 'setFilteredKeys'

* useSyncState to fix 'setFilteredKeys' async

* new line

* new line

* add ,

* removed 'setFilteredKeys' and re-render useSyncState

* menu must be a array
2019-11-26 14:25:33 +08:00
二货机器人
5fc62314af
chore: Remove LocaleProvider & Mention in export (#19935)
* chore: Clean up

* clean up test case

* clean up
2019-11-26 14:21:05 +08:00
偏右
ae44aae0d3
🐛 fix Input.Group compact border issue (#19926)
close #19914
2019-11-25 19:08:33 +08:00
zombiej
ee7a55380d docs: Fix demo with new icon 2019-11-25 15:37:08 +08:00
zombiej
b37b317b69 chore: merge master 2019-11-25 15:16:59 +08:00
ycjcl868
1d0f97d0a9 fix: lint 2019-11-25 07:02:24 +00:00
ycjcl868
ab15b3a84c fix: remove danger warning 2019-11-25 07:02:24 +00:00
ycjcl868
37a85366f3 feat: add Button danger 2019-11-25 07:02:24 +00:00
ycjcl868
3a6c76ecc3 feat: Button add danger-default type 2019-11-25 07:02:24 +00:00
ycjcl868
0e1998f643 feat: Button danger-link 2019-11-25 07:02:24 +00:00
ycjcl868
4f23bbcdc6 fix: Table demo actions margin 16px 2019-11-25 07:02:24 +00:00
ycjcl868
b01bed3f6f upd: snapshot 2019-11-25 07:02:24 +00:00
ycjcl868
ec0dba9323 fix: button group 2019-11-25 07:02:24 +00:00
ycjcl868
8f4c983e5a fix: Button demo icon search use tooltip 2019-11-25 07:02:24 +00:00
ycjcl868
86db97b055 fix: remove Button dashed 2019-11-25 07:02:24 +00:00
ycjcl868
55e34f6ac1 fix: icon error 2019-11-25 07:02:24 +00:00
mbotnari
fb4ed9a638 chore(Table): Update custom-filter-panel.md demo (#19899)
* Update custom-filter-panel.md

In order to decrease the confusion during search created by highlighted text in all the columns, the proposal is to highlight searched text in the searched column exclusively.

* chore(Table): Update demo.test.js.snap

Snapshot update according to update in components/table/demo/custom-filter-panel.md

* chore(Table): Update custom-filter-panel.md demo

Missing trailing comma comma-dangle
2019-11-24 19:10:29 +08:00
骗你是小猫咪
667883ceb0 fix: Select doc edit icon margin (#19907) 2019-11-24 18:39:27 +08:00
骗你是小猫咪
bb121444cc fix: Mentions form example not correct display (#19908)
* fix: Mentions form example not correct display

* update snapshots
2019-11-24 12:44:58 +08:00
骗你是小猫咪
7c70e45fef fix: AutoComplete doc example TypeError (#19900) 2019-11-23 23:27:25 +08:00
Amumu
040fe5696a fix time-picker disabled item focus style (#19812) 2019-11-22 15:47:02 +08:00
Qhan W
5a24beaf9f docs: clean up version info in 4.0 (#19876)
* docs: clean up version info in 4.0

* docs: removed version column in 4.0
2019-11-22 14:37:39 +08:00
QingLance
2f1c2e1208 Progress bar with steps (#19613)
* feat: Tag add status props

* feat: change solution for status tag

* fix: fix coding specification issues

* fix coding specification issues in demo

* add Steps subcomponent in Progress component

* update doc and demo

* fix lint

* small change for progress api

* fix lint

* fix wrong omit

* update test suites

* fix test failed

* use inline-block

* fix test issue

* fix ci issue

* update demo

* optimize demo

* update progress api

* fix stylelint issue

* remove overflow

* reset some prettier

* reset some prettier again

* fix test failed

* resolve bad code
2019-11-22 10:46:33 +08:00
Joe Hsu
0360ac65ad docs(tag): remove version column in 4.0 (#19874) 2019-11-22 10:34:42 +08:00
Ms. Wang
84c4e1e10f Removed version cloumn in 4.0 (#19872) 2019-11-22 10:33:34 +08:00
Josiah Rooney
102efd529a docs: Improved grammar in AutoComplete docs (#19875)
Improved grammar in documentation for the AutoComplete component.
2019-11-22 09:22:20 +08:00
Rustin
060b7ded20 feat: Add skeleton button (#19699)
* #18237 add skeleton button

* update snapshot

* refactoring demo code

* lint code

* update test snapshots

* add test

* update snapshot

* fix deps lint issue

* set avatar siz and update test snapshots

* fix lint issue

* remove button and just keep skeleton

* add active switch for button demo

* add size and shape radio for skeleton button demo

* add button tests

* add skeleton tests

* update doc

* update test snapshots

* omit avatar and button props

* refactoring skeleton and update test snapshots
2019-11-21 20:23:56 +08:00
陈立林
f32235d074 delete version (#19854)
delete version
2019-11-21 19:58:41 +08:00
chen wen jun
3906f4fc00 Update index.en-US.md (#19868)
correct `maxTagTextLength` description
2019-11-21 17:49:36 +08:00
Frank
3ac81f786e docs: Fix default values for unclear types (#19867)
* Update index.zh-CN.md

* Update index.en-US.md
2019-11-21 17:09:26 +08:00
Alexander Kachkaev
5ff3a77dce Export tooltop helper interfaces (#19846) 2019-11-21 11:56:21 +08:00
鬼厉
209e293fae docs: Layout and Affix clean version (#19844) 2019-11-21 10:24:22 +08:00
chouchou
34412e98d6 docs(Timeline, Tabs): removed version column in 4.0 (#19842) 2019-11-21 10:23:34 +08:00
zhangyanling77
eb91cbdfab feat: Button & Icon remove version column in 4.0-repare (#19845) 2019-11-21 10:16:58 +08:00
Josiah Rooney
c57d7f3a6c Update index.en-US.md (#19848)
Improved the grammar of the documentation.
2019-11-21 07:39:57 +08:00
seognil LC
c93bd326f4 docs(update): removed 3.x version description in 4.0-prepare (#19827)
* docs(update): removed 3.x version description in 4.0-prepare

ref #19815

* docs(update): update docs

remove carousel/index.zh-CN.md empty version column

* docs(update): update docs

remove carousel/index.en-US.md empty version column
2019-11-20 20:31:43 +08:00
BensonChen
4be963d973 docs: Removed version column in 4.0 (#19825)
* Breadcrumb & Dropdown. Removed version column in 4.0. #19815

* docs: Removed version column in 4.0(ant-design#19815)

* Breadcrumb document update
2019-11-20 18:10:44 +08:00
张秀玲
134b0fa0bb docs: removed tooltip and tree version column in 4.0 (#19834)
* Removed version column in 4.0

* Removed version column

* remove version code
2019-11-20 17:54:13 +08:00
陈小聪
e71a4ef10f docs: Removed version column in 4.0 (#19832) 2019-11-20 17:46:50 +08:00
二货机器人
6396ddb4e7
fix: Omit useless props & fix icon missing (#19833) 2019-11-20 17:31:11 +08:00
wangxingkang
336fb41ec2 docs: Removed version column in 4.0 (#19821)
Issue #19815
2019-11-20 14:55:34 +08:00
Lux
94db028dd2 feat: Removed version column in 4.0 (#19823) 2019-11-20 14:54:38 +08:00
yehq
0a13af0f2e doc(DatePicker, cascader): 删除版本信息 (#19820) 2019-11-20 14:53:43 +08:00
二货机器人
efd3b35830
feat: Col support flex prop (#16635)
* feat: Col support `flex` prop

* update snapshot

* update doc

* row component use flex type by default

* revert grid flex layout doc

* remove float style

* remove doc old FAQ

* revert .make-row

* col style use flex and max-width

* remove useless Col style and imorove base doc for a single Col

* update snapshots

* fix flex mode pseudo

* update snapshots

* back to old flex mode demo gray background color

* set default col flex => 1 auto

* change grid about flex mode description

* update snapshots

* improve grid introduce and fix with gutter bug

* update snapshots

* remove version
2019-11-20 11:13:24 +08:00
偏右
69549a8648
🐛 fix menu link color inside badge (#19810)
close #19809
2019-11-19 20:30:44 +08:00
信鑫-King
9da09ffb2a
Merge pull request #19719 from ant-design/4.0-less-token-tweak
tweak: 4.0 less token
2019-11-19 17:40:15 +08:00
ycjcl868
b323019c68 fix: remove Transfer lazyload animation style 2019-11-19 16:51:51 +08:00
ycjcl868
92211f31a7 fix: update snapshot 2019-11-19 14:51:14 +08:00
ycjcl868
a9f6878803 test: update Transfer test snapshot 2019-11-19 11:57:23 +08:00
ycjcl868
764c046fbc tweak: active and hover background color 2019-11-19 11:45:32 +08:00
ycjcl868
6d7950a1d9 fix: hover color use #f5f5f5 @gray-3 2019-11-19 10:20:25 +08:00
jeessy2
23f74eccbe fix: typescript define (#19780)
* ColumnGroupType should be antd's

* columns should not be from rc-table
2019-11-19 10:03:03 +08:00
Martin Litvaj
bb92b01ae0 Update link to latest ColumnProps (#19789)
* Update link to latest ColumnProps

* update CN docs
2019-11-18 23:02:33 +08:00
ycjcl868
79ae060e6e fix: hover and active background color 2019-11-18 22:06:49 +08:00
Martin Litvaj
e4c72cf6f5 chore: Update sk_SK locales (#19787)
* Update sk_SK locales

### 🤔 This is a ...

- [ ] New feature
- [x] Bug fix
- [ ] Site / document update
- [ ] Component style update
- [ ] TypeScript definition update
- [ ] Refactoring
- [ ] Code style optimization
- [ ] Test Case
- [ ] Branch merge
- [ ] Other (about what?)

### 🔗 Related issue link

sk_SK locales are missing some translations.

* update snapshot
2019-11-18 22:02:25 +08:00
叶枫
d2e98b1bb9 fix: style (#19783) 2019-11-18 18:20:04 +08:00
ycjcl868
d91ed3e428 Merge 4.0-prepare into 4.0-less-token-tweak 2019-11-18 10:20:14 +08:00
二货机器人
5d98667687
chore: Export some useful define (#19770) 2019-11-17 17:57:35 +08:00
Olivier Louvignes
103920e4f5 Add defaultFilteredValues to table columns (#18925) 2019-11-16 18:58:23 +08:00
afc163
91faa7e4cb 🎬 improve notification placement demo 2019-11-16 16:29:19 +08:00
Radomir Skrzepij
d744df5974 Fix Documentation for Menu API (#19757) 2019-11-16 02:00:56 +08:00
jiang
0cb5601527 fix: drawer footer fixed (#19751)
* fix footer fiexd

* fix test
2019-11-15 17:23:14 +08:00
Jelle de Jong
2f30c806a3 fix: Update NL-nl locales (#19734)
* Update NL-nl locales

* Fix for tests
2019-11-15 16:42:17 +08:00
二货机器人
72a7ba618f
New Table (#19678)
* chore: update rc-table

* add basic table style

* checked all logic

* checkbox support disabled

* selection style

* selection support radio

* add selections support

* selection extra style

* select all locale

* sorter logic

* add more desc

* init Filter hooks

* init filter hooks

* update style

* filter style

* filter style

* fix filter

* sort control

* ajax it

* add expandedable css

* expandable view style

* fixed style

* border style

* empty style

* fix pagination style

* add fixed demo

* un-comment

* clean up

* fix filter check logic

* fix overflow & ellipsis conflict

* fix tes

* adjust scroll shadow

* fix border fixed style

* add part of test case

* add filter test part

* more test case

* issue related test

* filter test

* adjust pagination logic

* fix pagination test case

* all selection test case

* table sorter test case

* table basic test

* fix test case

* update faq

* update expandable doc

* add v4 doc

* add summary docs

* more demo

* fix selection

* update snapshot

* update test case

* fix ff styling

* update rc-table

* update snapshot

* update snapshot

* fix lint

* fix style lint

* fix style

* update snapshot

* update desc

* fix missing icon
2019-11-15 14:35:25 +08:00
偏右
d7bc0530f3 refactor: Upgrade rc-time-picker for new rc-trigger (#19698)
* 🆙 upgrade rc-time-picker to 4.0

* 💄 fix time picker clear icon color

* 🆙 upgrade rc-time-picker to 4.0

* 💄 fix time picker clear icon color

* refactor: remove react-lifecycle-compat polyfill

* 🆙 upgrade rc-time-picker to 4.0.0-alpha.1

*  fix test case

* 🆙 upgrade rc-time-picker to 4.0.0-alpha.2

* chore: revert es to lib
2019-11-15 14:28:13 +08:00
ycjcl868
ca8435ef7c tweak: functional status color 2019-11-15 14:00:08 +08:00
ycjcl868
7a47b7c98c fix: 0px 2019-11-15 12:28:50 +08:00
ycjcl868
e354fe618a tweak: shadow color 2019-11-15 12:16:07 +08:00
ycjcl868
ffd4371ab5 fix: remove @border-radius-sm 2019-11-15 10:01:35 +08:00
骗你是小猫咪
4079f36340
Revert "fix: update Select type interface (#19730)" (#19733)
This reverts commit 8b705e3224.
2019-11-14 21:34:13 +08:00
cnjs
8b705e3224 fix: update Select type interface (#19730)
* fix: update Select type interface

* format: Select type interface
2019-11-14 16:21:20 +08:00
ShuYu Wang
68603366eb fix: add missing null option type (#19722)
See-also: https://ant.design/components/table/#components-table-demo-reset-filter
2019-11-14 10:18:03 +08:00
ycjcl868
e3c0703ed6 tweak: divider color 2019-11-13 20:31:23 +08:00
ycjcl868
f900cf7066 tweak: border-radius all use 2px 2019-11-13 20:28:32 +08:00
Jack
326484465f fix: type interface SliderProps (#19713) 2019-11-13 14:34:09 +08:00
zombiej
2ba81538d8 chore: Merge master 2019-11-13 11:48:20 +08:00
偏右
cedc956512
Update index.en-US.md 2019-11-13 10:54:36 +08:00
Abdullah700
807fea0447 fix[Style] Transfer (#19693) 2019-11-13 08:02:19 +08:00
Dean van Niekerk
af2dd379c2 Fixed typing issue in Table > filterDropdown (#19701) 2019-11-13 07:51:53 +08:00
Rustin
f1a582581f 改进 skeleton 首次加载数据使用场景描述 (#19700) 2019-11-12 22:43:50 +08:00
叶枫
f4051d8efc fix: fix upload error style (#19689)
* fix: fix upload error style

* feat: demo

* feat: test

* fix: tooltip
2019-11-12 21:45:32 +08:00
骗你是小猫咪
b9c80cd88c refactor: upgrade rc-cascader (#19696)
* upgrade rc-cascader

* update snapshots
2019-11-12 20:23:12 +08:00
诸岳
8f52b8028b chore: Merge master branch and fix conflicts 2019-11-11 10:10:53 +08:00
afc163
91fcf98741
🐛 fix error for typescript@3.7.2 2019-11-10 18:05:43 +08:00
liuchao233
e42caa5869 translate Typography for pt_BR (#19651) 2019-11-10 16:30:32 +08:00
Stevche Radevski
52ab454715 feat: add a Macedonian translation (#19647) 2019-11-09 23:17:33 +08:00
二货机器人
451d01b082
fix: refactor collect tree key code logic (#19646)
* fix: collect tree key should support nest chldren

* fix logic

* update snapshot
2019-11-09 22:33:53 +08:00
afc163
c9682fcd6e
📝 Add FAQ for ConfigProvider locale not working 2019-11-09 16:24:07 +08:00
liuchao233
4e669d465e feat: notification component support closeIcon props (#19618)
* notification component support closeIcon props

* update notification doc, change closeIcon support version to 3.26.0
2019-11-08 20:03:27 +08:00
偏右
5916582518
🐛 Fix Dropdown icon missing margin right (#19635) 2019-11-08 20:00:53 +08:00
afc163
94c3978208 📝 fix English translation missing of site footer 2019-11-08 16:25:08 +08:00
Emerson Laurentino
be0fd703f7 removing getContainer fixed (#19233) 2019-11-08 10:24:53 +08:00
MinYuan
a35b6241eb Unify type declaration. (#19610) 2019-11-07 15:13:27 +08:00
yoyo837
9e27697e93 doc: Input.TextArea property allowClear add 'since', ref #19310 2019-11-07 11:38:36 +08:00
Jennie
948a69c75e fix: date range picker type interface (#19421) 2019-11-07 10:22:12 +08:00
偏右
dd8f57247f
docs: 📝 fix doc of labelAlign in Form.Item (#19606) 2019-11-06 23:32:08 +08:00
Amumu
f38c7bb239 form item passing anyother attrs (#19599) 2019-11-06 23:30:41 +08:00
骗你是小猫咪
0ee4a531a1 refactor: upgrade rc-dropdown (#19498)
* refator: upgrade rc-dropdown

* upgrade rc-dropdown version

* update snapshots
2019-11-06 14:49:20 +08:00
zombiej
93f7d780b8 chore: Fix style lint 2019-11-06 11:23:40 +08:00
zombiej
9bea463638 chore: fix ts define 2019-11-06 11:18:11 +08:00
骗你是小猫咪
4ded5e6777
fix: Drawer content overflow when placement is top or bottom (#19506)
* fix: drawer content overflow

* update snapshots

* review change
2019-11-06 10:47:36 +08:00
afc163
98a3de1eb7 🎬 update descriptions demo 2019-11-06 10:42:10 +08:00
zombiej
3c26ac9a54 chore: merge master 2019-11-06 10:34:53 +08:00
afc163
48763bfa7c 🐛 fix Menu styles inside Dropdown 2019-11-05 20:18:48 +08:00
Amumu
e150cfc371 fix: extraCommonProps not work properly (#19572)
* fix extraCommonProps not work properly

* add test case
2019-11-05 18:32:57 +08:00
lxnxbnq
8cff912aec 🐛 fixed #19565 (#19568) 2019-11-05 13:26:39 +08:00
afc163
c083d13fc4 fix test cases 2019-11-05 01:59:14 +08:00
afc163
fd573acdec 🐛 Fix Table border missing in fixed columns 2019-11-05 01:58:56 +08:00
afc163
b697ef1213 🐛 Fix Table Column defaultSortOrder not working 2019-11-05 01:34:42 +08:00
afc163
0bdf682a80 🐛 Fix Table inifinite loop issue 2019-11-05 01:34:42 +08:00
yoyo837
715814291b remove labelAlign: PropTypes.string, 2019-11-04 16:48:44 +08:00
Amumu
39d452ca77 use menu icon less variable (#19553) 2019-11-04 16:47:26 +08:00
二货机器人
e88f0214dd
docs: 3.25.0 changelog (#19549)
* docs: 3.25.0 changelog

* update snapshot

* update

* quota it
2019-11-04 14:36:02 +08:00
yoyo837
c1d55addf1 Revert "remove labelAlign: PropTypes.string"
This reverts commit 764960875d.
2019-11-04 13:05:02 +08:00
yoyo837
764960875d remove labelAlign: PropTypes.string 2019-11-04 13:01:50 +08:00
Amumu
187b10320b chore: Delete duplicate variables (#19547)
* Delete duplicate variables

* chore

* chore
2019-11-04 12:08:27 +08:00
Amumu
3402f656ad tuple FormLabelAlign (#19543) 2019-11-04 11:24:23 +08:00
二货机器人
15d8494cf2
Merge pull request #19544 from ant-design/feature-merge-master
chore: Feature merge master
2019-11-04 11:24:00 +08:00
信鑫-King
696f5600ec feat: input,select less vars (#19546) 2019-11-04 11:23:29 +08:00
zombiej
5bf96bbb51 merge master 2019-11-04 10:49:45 +08:00
Hossein Ahmadian-Yazdi
214458931d Gets the XMLHttpRequest Object in Onchange function (#19539) 2019-11-04 10:44:43 +08:00
chenshuai2144
0189244ebc fix: fix remove url 2019-11-03 18:14:06 +08:00
chenshuai2144
dc2ba553e7 doc fix layout breakpoints url 2019-11-03 18:14:06 +08:00
afc163
53efaa89a5 support Upload method 2019-11-03 12:37:48 +08:00
He Linming
3d8b9df423 fix: table does not automatically scroll to the top when change page size (#19465)
* 🐛 (Table): fix scrollToFirstRow

fix table does not automatically scroll to the top when change page size
close #19464

*  (Table): add test case for scrollToFirstRow

* 👌 (Table): change Trigger to .ant-select

Co-Authored-By: 骗你是小猫咪 <darryshaw@gmail.com>
2019-11-02 17:18:44 +08:00
Rustin
767d2d0638 feat: Add allowClear to TextArea (#19310)
* add allow clear to textarea

revert textarea md

refactor textarea css

fix textarea props bug

add test and update snapshot

update doc

add margin

refactor textarea to reuse fixControlledValue and setValue method

add clearable input to reuse code

refactor clearable input

finish refactor

refactor clearable input

refactor input and textArea

finish refactor

update test snapshots

fix input props bug

fix dom issue

fix textarea dom issue

fix textarea test bug

fix textarea dom issue

refactor code and fix textarea dom issue

fix input dom issue

fix typo error

update test snapshots

fix ci failed issues

adjust margin

* remove useless code fix ci failed issue

* fix textarea padding issue

* update snapshots

* fix padding issue
2019-11-01 18:19:29 +08:00
afc163
92caa2d02c docs: improve table demo description 2019-11-01 10:41:07 +08:00
Jack
82aa3cdc13 fix: remove the selected padding right when use allow clear (#19510) 2019-10-31 21:27:27 +08:00
Ender Lee
593cfe8950 fix(Upload): add interface field (#19485) (#19496) 2019-10-30 20:40:57 +08:00
zombiej
7a12b2b1ae merge master 2019-10-30 16:28:28 +08:00
wangweijun0418
d99d90b1fa Fix Menu menu collapsed in Chrome (#19476)
* Update index.less

修复margin重合样式问题,(次问题造成menu组件下拉不顺畅)

* Update index.less

解决margin重合问题,overflow方式会有副作用,采用padding解决margin重合现象。
2019-10-30 13:15:50 +08:00
afc163
2ee2cc3303 🐛 Fix DatePicker throw onEsc error
close #19461
2019-10-29 11:43:14 +08:00
Aymen Bouchekoua
13995bff02 Fix defaultPickerValue in WeekPicker (#19141) 2019-10-29 11:26:20 +08:00
David Broder-Rodgers
654a675532 docs: Responsive fixes for examples pages (#19448)
* Remove fixed width from cascader examples

* Replace fixed vertical slider example height with clearfix div

* Replace fixed width on TreeSelect examples with percentage width

* Update test snapshots

* Use inline-block rather than float left for vertical slider example
2019-10-29 11:24:06 +08:00
Rustin
fdf38f41d7 fix: modify textarea resize demo defaultValue to english (#19348)
* modify textarea defaultValue to english

* update test snapshots
2019-10-29 10:08:27 +08:00
只捱宅
c0edbd3362
Merge pull request #19456 from ant-design/master
chore: Merge master into feature
2019-10-28 17:29:58 +08:00
afc163
ff382abc51 💄 refactor alert code for better semantic
close #19426
2019-10-28 15:48:38 +08:00
afc163
f8a3da5f4a 🐛 Fix Checkbox not aligned center in some cases
close #16695
close #19450
2019-10-28 15:26:49 +08:00
afc163
1d1e197527 🐛 Fix Icon Button align issue
close #19392
2019-10-28 15:26:06 +08:00
Aaron Cawte
2b46a232db Navigation components doc tweaks (#19447)
* Documentation - Affix Component

* Documentation - Dropdown component

* Documentation - Menu component

* Documentation - Pagination component

* Documentation - PageHeader component

* Documentation - Steps component
2019-10-28 09:09:22 +08:00
陈帅
d5c3d578af Merge branch 'master' into feature 2019-10-27 22:28:59 +08:00
陈帅
c675354744 fix eslint error 2019-10-27 22:05:47 +08:00
vagusX
d25dff397d Fix/legacy icon usage (#19446)
* fix: legacy icon usage in progress component demo

* fix: legacy icon usage in button test cases
2019-10-27 21:59:16 +08:00
陈帅
f4d114f0c3 Merge branch 'master' into feature 2019-10-27 21:39:17 +08:00
Rustin
17ad782dfc refactoring: refactor search code (#19441)
* refactor search code

* refactor bool expression no implicit cast
2019-10-27 11:43:48 +08:00
afc163
99d8f07607 🐛 Fix sort order of columns in render
array value of columns

close #19398
2019-10-27 00:20:24 +08:00
只捱宅
802a4a117f
fix: lint (#19434) 2019-10-26 11:00:15 +08:00
He Linming
7691047882 fix: Modal icon position while no title (#19419)
* 🐛 fix Modal icon position

close #19389
not render title when Modal title is undefined.

*  (Modal): add test for modal without title
2019-10-26 10:31:58 +08:00
QingLance
3ddc3a267a feat: Preset status color into Tag (#19399)
* feat: Tag add status props

* feat: change solution for status tag

* fix: fix coding specification issues

* fix coding specification issues in demo
2019-10-25 23:17:25 +08:00
zhangzh
670fbe3843 docs: add "maxLength" property to Input Doc 2019-10-25 16:20:18 +08:00
+v
bf13a34a71 fix: disabled cursor (#19403)
* fix: disabled cursor

* style: fix
2019-10-25 11:37:30 +08:00
Aaron Cawte
693d5a1434 General components doc tweaks (#19416)
* Documentation - Button Component

* Documentation - Icon Component

* Documentation  - Typography component
2019-10-25 09:56:30 +08:00
Aidin
d5ad7d7c2f update Types 2019-10-24 14:55:48 +08:00
He Linming
2761460c86 style: add @modal-header-color variable (#19385)
* 💄 add @modal-header-color variable

close #19358

* 👌 change variable name
2019-10-24 10:36:59 +08:00
Anawin W
06ec0391f8 feat: Add missing translations in Thai (th_TH) locale (#19378)
* Add missing translations in th_TH locale

* Snapshot updated
2019-10-23 22:29:15 +08:00
二货机器人
a533159ade
fix: Input with select style (#19383) 2019-10-23 22:17:06 +08:00
DiamondYuan
c9c2d5a256 Feature avatar icon (#19368)
* feat: icon of avatar support ReactNode

* docs: update document of Avatar
2019-10-23 15:52:08 +08:00
偏右
4fd5dda8d5
Merge pull request #19366 from ant-design/master
chore: Merge master into feature
2019-10-23 14:44:58 +08:00
afc163
0e4b90c52f increase code cov 2019-10-23 11:55:42 +08:00
afc163
f1cd910b4e update snapshots 2019-10-23 11:55:42 +08:00
afc163
0604a09590 update demo and test case 2019-10-23 11:55:42 +08:00
afc163
b882b8dd2f 🐛 Fix non-boolean attribute and unique key warning
close #19303
close #19354
2019-10-23 11:55:42 +08:00
Demétrius
cef820f7a6 feat: Add tag downloadFile in all languages (#19361) 2019-10-23 11:05:21 +08:00
二货机器人
25788e69a8
omit withstore (#19343) 2019-10-22 11:54:03 +08:00
afc163
b919c23d08 🐛 Fix small table bottom border radius issue
https://github.com/ant-design/ant-design/issues/19287#issuecomment-544368967
2019-10-22 11:16:39 +08:00
lxnxbnq
bde17425a0 fix(#11119): fix Transfer listStyle support function callback (#19330)
* fix(#11119): fix Transfer listStyle support function callback

* fix(#11119): fix Transfer listStyle support function callback
2019-10-22 11:05:39 +08:00
Sagar Jain
25927c6a41 Improve typing of UploadFile interface
UploadFile interface made generic type so that a user can define a strongly typed response object if needed
2019-10-21 20:11:46 +08:00
afc163
6b74a1e944 update table snapshot 2019-10-21 14:28:16 +08:00
zombiej
559e56c7f8 fix: Tree shaking should works on withContext 2019-10-21 13:38:38 +08:00
afc163
9af3888395 🐛 fix Menu in Dropdown submenu selected style
close #19264
2019-10-20 19:26:03 +08:00
afc163
185d2c41e8 🐛 fix small table border radius issue
close #19287
2019-10-20 19:12:59 +08:00
afc163
c6efe8c229 add test cases 2019-10-20 15:01:27 +08:00
afc163
0d7d837c3f 🐛 fix wrong responsive gutter
close #19307
2019-10-20 15:01:27 +08:00
afc163
0cadae921a 💄 format getGutter code style 2019-10-20 15:01:27 +08:00
二货机器人
b9b239ec08 test: add test case for ref test (#19302)
* add test case for ref test

* update test case
2019-10-19 22:48:13 +08:00
Pornpavee Seri-umnuoy
e7ebf857bd fix(#18280): add type [Moment.moment, undefined] to RangePickerValue (#19300) 2019-10-19 14:48:41 +08:00
afc163
8a715d0991 📝 🎬 improve grid demo and documentaion 2019-10-18 18:50:33 +08:00
afc163
13d219c439 🐛 Fix Table scroll.x max-content not working 2019-10-18 18:34:26 +08:00
wleven
63feb6860a Fix Select Mode Type 2019-10-18 16:28:48 +08:00
wleven
9cfc151813 Fix Select Mode Type 2019-10-18 16:28:48 +08:00
wleven
53c55ceaad Fix Select Mode Type 2019-10-18 16:28:48 +08:00
二货机器人
40aca57453
chore: Remove React function polyfill (#19279)
* chore: Remove polyfill

* add more skip
2019-10-18 11:29:34 +08:00
David Broder-Rodgers
3f037b6d71 Improve types for customRequest prop on Upload component 2019-10-18 11:04:15 +08:00
叶枫
a31deb7f5d fix: 修复点击下载按钮会执行预览方法 (#19268)
* fix: 修复点击下载按钮会执行预览方法

* chore: test

* chore: test
2019-10-18 00:02:04 +08:00
Rayron Victor
07ca5e458b Fix: long author name breaks on small screen (#19272)
* Fix: long author name breaks on small screen

* Update index.less
2019-10-18 00:00:09 +08:00
二货机器人
0f83e0a4ee
fix: should work in old version react (#19262)
* fix: should work in old version react

* update ci config

* add version log
2019-10-17 16:01:46 +08:00
Hsuan Lee
d6c5e5358e docs: fix page header API (#19257) 2019-10-17 11:34:16 +08:00
二货机器人
7d32f99283
fix: Add missing typescript define (#19251)
* fix: Add missing typescript define

* remove withStore

* fix lint
2019-10-16 22:12:52 +08:00
二货机器人
7e8050336f
chore: Update snapshot (#19245) 2019-10-16 16:24:09 +08:00
zombiej
eb916fd3b3 chore: Fix style lint 2019-10-16 10:51:18 +08:00
zombiej
5229d69bdc chore: Fix demo lint 2019-10-16 10:46:33 +08:00
zombiej
c75bbbd13d merge master 2019-10-16 10:44:56 +08:00
Jingsong Gao
ab349700ad fix: fix cascader placeholder internationalization (#19227)
* fix: fix cascader placeholder

* Update index.tsx
2019-10-15 19:23:26 +08:00
yoyo837
fb2bafbfdc upgrade snapshot 2019-10-15 19:13:38 +08:00
yoyo837
a9d7178c2b upgrade snapshot 2019-10-15 18:10:04 +08:00
yoyo837
cd3d9efd9f Merge branches 'add-args-unsorting' and 'master' of github.com:ant-design/ant-design 2019-10-15 17:52:59 +08:00
afc163
8e2b2470b2 update snapshots 2019-10-15 17:47:10 +08:00
afc163
59f231ff92 💄 fix menu style broken in dropdown
close #19145
2019-10-15 17:47:10 +08:00
yoyo837
5a07b85d9e upgrade fires change event test case 2019-10-15 16:33:37 +08:00
yoyo837
0522d55f26 snapshot 2019-10-15 16:33:17 +08:00
骗你是小猫咪
8ffaeb8cba Docs: upload with aliyun oss (#19054)
* docs: upload with aliyun oss

* add before upload relate data

* test: lint fail

* test: update Snapshot

* docs: review change

* test: lint fail

* handle oss policy expired

* fix: lint fail

* optimize docs

* test: lint fail

* test: upload snapshot
2019-10-15 16:14:05 +08:00
Dmitriy
a2f28f0ca7 💄 add @typography-title-margin-top and @typography-title-margin-bottom (#18746)
* add: Typography mixins. add: Created typography variables (margin, font-weight). moved: Typography internal variables

* fix: heding margin moved: prefix variable out of default.less

* fixed: circleci

* 🗑 Remove @typography-title-margin-left and @typography-title-margin-right

* 🗑 Remove unused vars
2019-10-15 16:13:39 +08:00
yoyo837
59685afeeb Provide additional args for onChange sorter when unsorting 2019-10-15 16:04:38 +08:00
Wei Zhu
a72f43b2c1
Merge pull request #19206 from ant-design/feature
Merge features
2019-10-15 14:36:41 +08:00
afc163
0b1894e83a 📝 deprecated info of autosize 2019-10-15 13:50:14 +08:00
陈帅
338018eba3
feat: Pageheader new style and props (#19100)
* pure page header style

* add type props

* add prue demo

* add config provider doc

* fix lint

* fix lint error

* change pure to ghost

* fix test

* default ghost is true

* fix review style

* fix review warning

* use online style

* remove defualt and remove comment

* add test
2019-10-15 11:46:12 +08:00
yoyo837
6db3711876 upgrade table demo : onChange add args extra 2019-10-15 10:00:16 +08:00
zombiej
218798cfb4 merge master 2019-10-14 17:21:22 +08:00
yoyo837
453c01aaae tuple for column fixed prop types 2019-10-14 16:10:22 +08:00
二货机器人
e75fa039ef
refactor: Use CSSMotion (#19205)
* refactor: Use CSSMotion

* fix lint

* update rc-menu deps

* fix test case

* clean up

* more test case

* fix lint
2019-10-14 15:01:16 +08:00
willc001
4e1bbccd54 refactor: add @form-item-label-colon-margin-{right,left} (#15478) 2019-10-14 14:52:23 +08:00
zombiej
04a27deb2b merge master 2019-10-14 10:53:35 +08:00
zombiej
16e3b839db fix: TreeSelect indent not correct when title not break 2019-10-12 18:36:32 +08:00
kavin
fc697007c5 fix(test case): fix test case for directory tree component 2019-10-12 10:51:20 +08:00
kavin
e161a2ae76 fix(#19132): add test file 2019-10-12 10:51:20 +08:00
kavin
a0851cdd34 fix(#19132): remove console log 2019-10-12 10:51:20 +08:00
kavin
1884c12a81 fix(#19132): fix component DirectoryTree 2019-10-12 10:51:20 +08:00
kavin
7c6731021d fix(#19132): fix component tree defaultExpandAll does not work when using treeData 2019-10-12 10:51:20 +08:00
kavin
5fff041e8a fix(#19132): fix component tree defaultExpandAll does not work when using treeData 2019-10-12 10:51:20 +08:00
Liming Jin
311a6c0917 fix: replace autosize with autoSize 2019-10-11 23:39:30 +08:00
zombiej
28a6358439 merge master 2019-10-11 11:51:55 +08:00
Gabriele Petrioli
3ac716d808 fix: keep className given to expandIcon in Collapse component (#19160) 2019-10-11 10:23:41 +08:00
shaodahong
78b1f90e51 docs: link related issue of form initialValue option 2019-10-10 22:51:25 +08:00
afc163
d582ba351b update snapshot 2019-10-10 11:10:05 +08:00
vaytsel
d8526f43f6 Update theme.md 2019-10-10 10:58:45 +08:00
Jason Kurian
0674bb974f docs: document drawer default height (#19144) 2019-10-10 10:20:40 +08:00
kermolaev
ba971b295b There was icon wrapper on 100% width in ie11. https://caniuse.com/#feat=css-initial-value 2019-10-09 22:29:48 +08:00
Rodrigo Ehlers
36a7621bb3 add clear-icon click 2019-10-09 22:29:13 +08:00
shao
41bbcfe180 docs: probably better phrased as Table component 2019-10-09 14:21:14 +08:00
shaodahong
b41bdb0433 fix: update rc-slider handle move exception 2019-10-09 11:40:37 +08:00
Leon Koole
4aa81e576c Clear up confusing language about dataSource keys 2019-10-08 22:53:16 +08:00
zombiej
e129e8dc7e merge master 2019-10-08 15:04:00 +08:00
信鑫-King
1e3317f5d9 fix: select hover active bg less vars (#19114) 2019-10-08 14:48:47 +08:00
二货机器人
7922090eaa
fix: TreeShaking (#19115) 2019-10-08 14:45:17 +08:00
二货机器人
b0c90f4b06
fix: description demo update (#19113) 2019-10-08 10:17:08 +08:00
afc163
a877db72ef Add drawerStyle and headerStyle
close #18975
2019-10-07 19:56:57 +08:00
orzyyyy
718a86d56b chore: rename prop specialTriggerStyle to zeroWidthTriggerStyle 2019-10-07 18:03:34 +08:00
orzyyyy
4a29aaaf6b docs: update 2019-10-07 18:03:34 +08:00
orzyyyy
5e4697e38b test: update cases 2019-10-07 18:03:34 +08:00
orzyyyy
95710af9ef feat(Layout): add prop specialTriggerStyle to controll the style of zeroWidthTrigger 2019-10-07 18:03:34 +08:00
orzyyyy
c4283e4fff test: update snapshots for rc-upload bump to 2.8.0 2019-10-06 07:18:21 +08:00
orzyyyy
54cf1a924d fix: lint 2019-10-06 07:17:52 +08:00
orzyyyy
3ab6c48640 chore: merge master to feature 2019-10-06 06:50:04 +08:00
afc163
634c202077 update snapshots 2019-10-05 18:02:16 +08:00
afc163
47dee4c7d7 fix eslint problems 2019-10-05 18:02:16 +08:00
二货机器人
4680ddc009
fix: Typography warning for ref error (#19074)
* Revert "fix: Typography funtion compoent use Ref console log warning (#19066)"

This reverts commit 3d378f2fd8.

* fix: Typography warning for ref

* not crash on react 15

* still use class if react15

* fix ts define

* clean up

* react 15 lock ref obj

* Use rc-util findDOMNode instead
2019-10-01 01:06:09 -05:00
骗你是小猫咪
3d378f2fd8 fix: Typography funtion compoent use Ref console log warning (#19066) 2019-09-30 19:37:41 +08:00
啸生
71b53b7175
master to feature (#19062)
*  increase upload test cov

* chore: replace resizeObserver with `rc-resize-observer` (#19057)

* replace resizeObserver with rc-resize-observer

* fix affix lint

* fix es lint

* changelog (#19056)

* Release 3.23.5
2019-09-30 10:31:36 +08:00
二货机器人
1c5f1cb7a6
docs: Update demo (#19059)
* docs: Update demo

* fix lint
2019-09-29 07:58:37 -05:00
zombiej
8367607c07 fix Transfer Button style 2019-09-29 18:20:09 +08:00
zombiej
867910e6f4 merge master 2019-09-29 18:11:24 +08:00
二货机器人
e07bba91fa
chore: replace resizeObserver with rc-resize-observer (#19057)
* replace resizeObserver with rc-resize-observer

* fix affix lint

* fix es lint
2019-09-29 04:56:56 -05:00
afc163
e5aea71b99 increase upload test cov 2019-09-29 14:35:21 +08:00
zombiej
2d25d0a5de bump alpha.6 update rc version & snapshot 2019-09-29 11:39:17 +08:00
zombiej
4d81cea17a Merge remote-tracking branch 'origin/master' into 4.0-prepare 2019-09-29 11:15:13 +08:00
只捱宅
dc0dfea201
Merge pull request #19049 from ant-design/master
chore: Merge master into feature
2019-09-28 19:27:19 +08:00
afc163
916c0659bd increase Table test coverage 2019-09-28 19:11:10 +08:00
afc163
fb913f4f47 💄 fix lint 2019-09-28 19:11:10 +08:00
afc163
e1a4f2891e 🐛 Fix Table filter submenu checkbox margin
https://user-images.githubusercontent.com/507615/65814464-a5c6c000-e214-11e9-8085-2c6fb1f5c6f2.png
2019-09-28 19:11:10 +08:00
afc163
d41b5be377 increase Table test coverage 2019-09-28 19:11:10 +08:00
afc163
66ca4a8b25 more test cases 2019-09-28 19:11:10 +08:00
afc163
650d44e8a7 🐛 fix React.createElement undefined 2019-09-28 19:11:10 +08:00
afc163
bbc8800cb8 optimize Table components compare logic 2019-09-28 19:11:10 +08:00
afc163
3acbc941a6 🔨 react-lifecycles-compat for Table 2019-09-28 19:11:10 +08:00
afc163
3f7b7dedd6 💄 improve code style 2019-09-28 19:11:10 +08:00
kristof0425
18017d6ea5 fix(Table): correct lint errors 2019-09-28 19:11:10 +08:00