afc163
763d32ac68
Fix tslint
2018-06-30 18:49:43 +08:00
Harshit Mehrotra
47621acb6c
Fixed a typo
...
from was misspelled as form
2018-06-30 15:13:00 +08:00
zombiej
6ff7dd8fb9
close #10996 . Update selectTree doc.
2018-06-29 17:22:40 +08:00
afc163
ddfe8ad48a
Adapt Table sorter icon style to @font-size-base
...
https://gw.alipayobjects.com/zos/rmsportal/jKlytqFbAeMQGXaCYWdR.png
=>
https://gw.alipayobjects.com/zos/rmsportal/InvEbivRsIcAQBuoEsJI.png
2018-06-29 15:33:57 +08:00
afc163
4d5d3c142e
fix fileList in onChange when uid is 0, close #11089
2018-06-29 13:57:47 +08:00
zelongc
27c3093487
Typo fix in the upload component demo.
...
Change 'reponse' to 'response'.
2018-06-29 12:47:01 +08:00
afc163
d88a8f6920
docs: Add instruction about validateFields arguments, close #11084
2018-06-29 11:57:26 +08:00
Yury Kozyrev
cde2a6b6f0
Add missing showArrow option in types
2018-06-28 22:50:07 +08:00
zombiej
4cf18eaae8
update rc-tree-select to 2.0.1
2018-06-28 20:00:35 +08:00
zombiej
11dba9c305
update snapshot
2018-06-28 17:12:16 +08:00
afc163
3eee357bfb
Add buttonStyle(outline|solid) for RadioGroup
2018-06-28 15:01:03 +08:00
afc163
f2e22e702e
Merge branch 'master' into feature-3.7.0
2018-06-28 14:22:41 +08:00
afc163
c55fabc7b4
docs: improve radio API documentation
2018-06-28 14:18:23 +08:00
afc163
60e3cfa37a
Add buttonStyle for RadioGroup
2018-06-28 14:01:05 +08:00
afc163
01233b15c5
Merge branch 'master' into feature-3.7.0
2018-06-27 20:33:47 +08:00
afc163
33c5d3b330
fix test
2018-06-27 20:33:32 +08:00
afc163
5554b75bc1
Merge branch 'master' into feature-3.7.0
2018-06-27 19:50:26 +08:00
afc163
0ea8047546
test: update table snapshots
2018-06-27 19:49:58 +08:00
afc163
817ee3e9e1
Merge branch 'master' into feature-3.7.0
2018-06-27 19:26:51 +08:00
afc163
1010a4fe19
test: update table snapshots
2018-06-27 18:57:04 +08:00
hanpei
63b4dc5157
Update index.zh-CN.md
...
个人认为
排版(typegraphy)和布局(layout)并不是一个概念,去掉排版二字,和前半句felx布局相一致
2018-06-27 17:52:05 +08:00
Tomáš Szabo
bf5b6ae1f3
Fix incompatible type error for Table[size] prop
2018-06-27 17:51:48 +08:00
涌谷(刘旭恒)
babbbdd4e5
Add custom local support in pagination component.
2018-06-27 16:18:59 +08:00
afc163
0981ef06a4
fix demo lint
2018-06-27 16:14:47 +08:00
afc163
56020cda39
Merge branch 'master' into feature-3.7.0
2018-06-27 16:14:14 +08:00
afc163
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +08:00
afc163
e2b359e9c3
Move max-width to ant-tooltip
...
so that it can be override by overlayStyle.maxWidth
2018-06-27 11:26:19 +08:00
zombiej
0d09dbafdd
close #11035 . Adjust select mirror top css to avoid to long string
2018-06-26 14:52:48 +08:00
byzyk
1850699588
docs(collapse): add accordion, add bordered
2018-06-25 21:32:07 +08:00
afc163
c8a1442e38
Add event as second argument of onSearch
...
close #11015
2018-06-25 20:35:05 +08:00
Matt Lein
bcef7ca32e
get data-*, aria-*, and role attributes
2018-06-25 16:53:04 +08:00
Matt Lein
77fcbca04d
pass data-* aria-* and role props
2018-06-25 16:53:04 +08:00
Matt Lein
e63f9d4beb
Pass data and aria props to the date picker input.
...
Pass data and aria props to the alert div.
add wrapProps to ModalProps
2018-06-25 16:53:04 +08:00
Matt Lein
f0b684de6a
get data-*, aria-*, and role attributes
2018-06-25 16:53:04 +08:00
Matt Lein
20348614d5
Alert - pass data-* attributes to alert div
2018-06-25 16:53:04 +08:00
Wei Zhu
354cc7303e
docs: remove combobox
2018-06-25 16:52:51 +08:00
Wei Zhu
6de4b00815
Rename mode name
2018-06-25 16:52:51 +08:00
Wei Zhu
5eaa03b4ea
Update snapshot
2018-06-25 16:52:51 +08:00
Wei Zhu
53046a454a
Deprecate combobox mode of Select
2018-06-25 16:52:51 +08:00
Wei Zhu
b374297ca6
Merge branch 'master' into feature-3.7.0
2018-06-25 11:44:35 +08:00
Wei Zhu
aa580beb8b
docs: sort api table
2018-06-24 17:09:18 +08:00
Wei Zhu
2d2aceb9d3
docs: document AutoComplete onFocus and onBlur
2018-06-24 17:05:19 +08:00
pbrink231
5302400e62
added onBlur & onFocus functions to properties ( #10920 )
...
These can be called just like onChange as a property in the autocomplete but are not documented right now.
2018-06-24 16:56:28 +08:00
愚指导
d11d44e413
Bump 3.6.4 and fix some lint issue.
2018-06-23 16:35:42 +08:00
愚道
653ec40b30
update test snapshot
2018-06-23 11:31:42 +08:00
afc163
fc224525da
chore: demo doc format
2018-06-22 23:36:53 +08:00
afc163
71846acaa1
Fix Dropdown non-boolean attribute warning
...
ref #7798
2018-06-22 23:33:06 +08:00
afc163
9f16d066af
Fix lint problems from eslint-config-airbnb@17
2018-06-22 21:05:13 +08:00
Randy
a614a525c4
fix #10822 ( #10955 )
...
Add `okButtonProps` and `cancelButtonProps` props to ok button and cancel button
2018-06-22 19:56:41 +08:00
afc163
7fc1483fe1
Fix style of RangePicker with preset ranges, close #10986
2018-06-22 12:13:25 +08:00
Thomas Billicsich
ff70654ffe
Removed redundant dot accesses in example
...
The `current` variable is defined on the top of the method.
2018-06-22 10:27:27 +08:00
Wei Zhu
3fb478e743
Update Tree types
2018-06-21 14:38:44 +08:00
muzea
126bb42ddd
remove deprecated prop
2018-06-21 13:49:00 +08:00
muzea
2ce3ffd6f4
fix punctuation
2018-06-21 13:49:00 +08:00
muzea
904fd0a358
form add how to get wrappedComponent's ref
2018-06-21 13:49:00 +08:00
afc163
68a110afa3
should use primary color for steps
2018-06-20 20:51:24 +08:00
zombiej
ac9368298f
miss ? for TreeNode className prop
2018-06-20 17:41:12 +08:00
zombiej
17da353575
close #10950 . Add className in TreeNode prop
2018-06-20 09:47:24 +08:00
Wei Zhu
b7879e909f
docs: use title instead of key
...
Address #10949
2018-06-19 17:30:06 +08:00
afc163
e7fa6ca7eb
Merge branch 'master' into feature-3.7.0
2018-06-19 15:31:53 +08:00
afc163
7fe027bfcf
fix stylelint problem
2018-06-19 15:30:20 +08:00
afc163
8e8b991ba7
demo: fix table rowKey warning
2018-06-19 10:37:37 +08:00
afc163
b1d60f5ce1
Fix filterIcon className of Table, close #10937
2018-06-19 10:26:44 +08:00
愚道
5903fdb19f
fix: Affix does not refix on offset prop changes
2018-06-19 10:04:15 +08:00
Wei Zhu
5ab265a009
Fix small size fixed column table border
...
Close #9754
2018-06-15 17:40:32 +08:00
afc163
c540ceb8eb
Fix fixed element in spin
...
close #10196
2018-06-15 14:09:51 +08:00
sliwey
450a497412
fix: upload preview can't show image when the image file use uppercase extension
...
1.fix: upload preview can't show image when the image file use uppercase extension.
2.improve: remove unnecessary escape character.
2018-06-15 13:52:14 +08:00
afc163
4bf9114ee9
Merge branch 'master' into feature-3.7.0
2018-06-15 11:32:11 +08:00
afc163
a9c8998aea
Merge branch 'feature-3.7.0' of github.com:ant-design/ant-design into feature-3.7.0
2018-06-15 11:31:53 +08:00
Wei Zhu
c96805254f
More tests
2018-06-15 11:14:15 +08:00
Wei Zhu
7958860c95
Add snapshot
2018-06-15 11:14:15 +08:00
Wei Zhu
1c2385de98
Add polyfill
2018-06-15 11:14:15 +08:00
Wei Zhu
4ac0277813
Add Tag[visible]
2018-06-15 11:14:15 +08:00
ryannz
a5ff8e5de0
fix(AutoComplete): add missing backfill prop in type
2018-06-15 10:29:12 +08:00
hehe
07e06709f8
docs: fix typo
2018-06-15 10:25:17 +08:00
Zheeeng
980e2b1427
Update button signature ( #10877 )
2018-06-14 10:53:14 +08:00
afc163
713a0bcdc5
update snapshot
2018-06-13 20:21:52 +08:00
afc163
37ec04b21a
Fix InputNumber style when zoom to 90% or below
...
close #10562
2018-06-13 17:31:26 +08:00
afc163
c403bd9738
Merge branch 'feature-3.7.0' of github.com:ant-design/ant-design into feature-3.7.0
2018-06-13 11:05:55 +08:00
zombiej
16e42601d6
auto position mode when contextMenu
2018-06-12 22:07:02 +08:00
afc163
637f30e6e3
Merge branch 'master' into feature-3.7.0
2018-06-12 19:38:30 +08:00
afc163
b3ed289904
chore: fix arrow position in Firefox
2018-06-12 16:27:46 +08:00
afc163
fd96967c87
upgrade rc-upload to 2.5
...
- support `directory` close #7315
- action can be a function return Promise
2018-06-12 16:07:06 +08:00
afc163
99d6e4c96c
Merge branch 'master' into feature-3.7.0
2018-06-12 15:34:51 +08:00
Zheeeng
f36c6195b8
Fix typo ( #10878 )
...
First of all, thank you for your contribution! :-)
Please makes sure that these checkboxes are checked before submitting your PR, thank you!
* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for latest active branch `feature-x.x`.
* [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd ).
* [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [x] Rebase before creating a PR to keep commit history clear.
* [ ] Add some descriptions and refer relative issues for you PR.
Extra checklist:
**if** *isBugFix* **:**
* [ ] Make sure that you add at least one unit test for the bug which you had fixed.
**elif** *isNewFeature* **:**
* [ ] Update API docs for the component.
* [ ] Update/Add demo to demonstrate new feature.
* [ ] Update TypeScript definition for the component.
* [ ] Add unit tests for the feature.
2018-06-12 14:36:08 +08:00
Sebastian Busch
ee0a7ce3bb
Form: add missing type definition for form create option validateMessages
...
(Docs for validateMessages had been added in rev 16133aac65
)
2018-06-12 14:32:08 +08:00
Sebastian Busch
619b0ed628
add type definition for missing third parameter "allFields" to onFieldsChange (introduced
...
(_Implementation_ of this parameter had been added in 16133aac65
)
2018-06-12 14:32:08 +08:00
Wei Zhu
99cad890ef
Fix Tree types, TreeNode is a ComponentClass
...
Close #10868
2018-06-12 10:57:19 +08:00
Yuxuan Huo
9aea9ddf58
expose input box-shadow h and v offset in theme variables
2018-06-11 20:20:24 +08:00
Wei Zhu
4d6f8e96b9
Improve AutoComplete types
...
close #10619
2018-06-09 16:01:18 +08:00
Wei Zhu
1a9456f03a
Add boolean to CheckboxValueType
...
Close #10677
2018-06-09 14:39:42 +08:00
bLue
8e26b6823a
Fix spin delay issue if mounts with spinning=true ( #10727 )
...
* Fix spin delay issue if mounts with spinning=true
* Add test for spin delay issue
* Update spin lifecycle method
2018-06-08 23:13:47 +08:00
Wei Zhu
ac0b4bacc5
Revert "Update snapshot"
...
This reverts commit e7cd474894
.
2018-06-08 19:01:34 +08:00
Wei Zhu
e7cd474894
Update snapshot
2018-06-08 18:13:51 +08:00
陈帅
789b54905c
fix #10842 Badge status does not change with themes
2018-06-08 17:59:31 +08:00
zombiej
c488aca05e
close #10666 #10821.Update tree support loadedKeys
2018-06-08 16:55:17 +08:00
afc163
f2fddff3fd
upgrade rc-table to 16.2
...
close #10392
close #10379
close #10828
2018-06-08 16:32:04 +08:00
afc163
89f3b253a4
Merge branch 'master' into feature-3.7.0
2018-06-08 16:22:15 +08:00
afc163
71d3af310a
Fix missing border in Button.Group
...
https://gw.alipayobjects.com/zos/rmsportal/hKuBQeoCgjruYXCGnrDt.png
2018-06-08 15:08:04 +08:00
Wei Zhu
89228118af
docs: update moment locale usage
2018-06-08 12:22:22 +08:00
Kirill Alexander Khalitov
0ca1a990be
Makes TreeNode component more type safe
...
Makes TreeNode component more type safe
2018-06-08 10:32:00 +08:00
Kirill Alexander Khalitov
74755fef99
Fix #10838
...
Fix [#10838 ](https://github.com/ant-design/ant-design/issues/10838 )
2018-06-08 10:32:00 +08:00
陈帅
2025a10a06
avatar img add "alt" prop ( #10798 )
2018-06-07 11:36:16 +08:00
zombiej
78adc05973
close #10745 , move dropdownMatchSelectWidth into AbstractSelectProps
2018-06-07 10:24:12 +08:00
zombiej
b524e1fe7e
adjust defaultProps def
2018-06-07 00:33:52 +08:00
jim
e51b043737
Merge branch 'master' into feature-3.7.0
2018-06-06 21:22:39 +08:00
zombiej
8444ad209d
close #10786 , spin icon css for adjust font size
2018-06-06 19:53:50 +08:00
zombieJ
4b360b5139
Spin support setDefaultIndicator ( #10815 )
...
* Add `setDefaultIndicator` in Spin
* Update doc
ref: https://github.com/ant-design/ant-design/issues/10787
2018-06-06 19:32:30 +08:00
afc163
77ad1e457b
Fix progress demo
2018-06-06 17:40:47 +08:00
zombiej
8f449861cf
fix progress test case & dropdown support alignPoint
2018-06-06 17:36:24 +08:00
杨小事er
ad52250256
fix(calendar): fix fullcalendar content 2px overflow
2018-06-06 16:59:42 +08:00
afc163
68b207e186
support Progress[strokeColor], close #10725
2018-06-06 16:18:00 +08:00
picodoth
8e60a591fd
feat: provide default margin for dropdown menu item icon
2018-06-06 15:14:07 +08:00
Junbin Huang
e1ba74e5fc
fix: still keep order when upload fails ( #10794 )
2018-06-06 12:13:06 +08:00
afc163
6602df16e6
Fix extra border style in Button.Group
2018-06-06 11:33:13 +08:00
afc163
17b158c091
Fix CheckboxAll status when remove data and selectedKeys
...
close #10629
2018-06-05 20:45:19 +08:00
zombieJ
a825ed4e66
Directory Tree ( #10139 )
...
Support DirTree. close #7749
2018-06-04 11:20:17 +08:00
afc163
248dbc2429
docs: update checkbox api
2018-06-03 16:28:20 +08:00
nuintun
ff24f1a978
Layout.Sider add onBreakpoint porp support ( #10750 )
...
* Layout.Sider add onBreakpoint porp support
* Add onBreakpoint zh-CN doc
* Add onBreakpoint en-US doc
* Add demo test for Layout.Sider onBreakpoint
* Add Layout.Sider onBreakpoint test cases
2018-06-03 13:03:20 +08:00
Junbin Huang
bbf5cb75c3
chore: update typescript@~2.9.1 ( #10748 )
2018-06-02 20:12:09 +08:00
Junbin Huang
30eacdfb1b
chore: fix lint ( #10747 )
2018-06-02 18:49:39 +08:00
Jack Works
163ec46cbb
Fix #9859 , #9858 ( #10294 )
...
First of all, thank you for your contribution! :-)
Please makes sure that these checkboxes are checked before submitting your PR, thank you!
* [x] Make sure that you propose PR to right branch: bugfix for `master`, feature for latest active branch `feature-x.x`.
* [x] Make sure that you follow antd's [code convention](https://github.com/ant-design/ant-design/wiki/Code-convention-for-antd ).
* [x] Run `npm run lint` and fix those errors before submitting in order to keep consistent code style.
* [x] Rebase before creating a PR to keep commit history clear.
* [x] Add some descriptions and refer relative issues for you PR.
Extra checklist:
**if** *isBugFix* **:**
* [-] Make sure that you add at least one unit test for the bug which you had fixed.
2018-06-02 15:49:11 +08:00
picodoth
e25323882a
Merge branch 'feature-3.6.0'
2018-06-02 13:36:05 +08:00
afc163
e124cabc5b
update badge snapshot test
2018-06-02 13:18:25 +08:00
hank
5be1b9c33c
Fix issue #8666 ( #10739 )
...
* fix issue #8666
* add issue #8666 test
2018-06-01 18:09:11 +08:00
Karol Majewski
7c273912fd
Fix #10729 ( #10730 )
...
* Lift the requirement of the omitted keys being of string type
* Remove unused Diff mapped type
2018-06-01 16:58:15 +08:00
Wei Zhu
87163dfcd6
tests: mock xhr request
...
Close #10342
2018-05-31 22:37:09 +08:00
Wei Zhu
05251682f1
Remove window reference
2018-05-30 18:13:22 +08:00
Wei Zhu
31be3717ad
Upgrade react-dnd
2018-05-30 17:56:56 +08:00
afc163
b5c5f0b5d4
update snapshot
2018-05-29 23:50:49 +08:00
Wu Haotian
4f91fe61bf
add z-index for fixed header demo
...
#10693
2018-05-29 23:49:09 +08:00
Eduardo Ludi
7f16ded760
Updates test for Transfer (removes snapshot)
2018-05-29 17:54:31 +08:00
Eduardo Ludi
9bc98b6471
Adds some tests for Transfer custom styles.
2018-05-29 17:54:31 +08:00
Eduardo Ludi
e8351b8104
Adds style prop to Transfer operation.
2018-05-29 17:54:31 +08:00
Eduardo Ludi
6d610de157
Adds support for custom styles in Transfer and Transfer operation.
2018-05-29 17:54:31 +08:00
Oleg Kuzava
be7f540fba
Fix breakpoint for mobile view
2018-05-29 14:05:40 +08:00
afc163
814ee7365a
tweak popover arrow style detail
2018-05-28 23:29:04 +08:00
afc163
5fd4139661
Fix Affix offsetBottom not working, close #10674
2018-05-28 17:49:11 +08:00
afc163
21ca50fca1
Merge branch 'master' into feature-3.6.0
2018-05-28 14:41:02 +08:00
afc163
38f94990f8
Merge branch 'feature-3.6.0' of github.com:ant-design/ant-design into feature-3.6.0
2018-05-28 14:40:58 +08:00
zombiej
a6e2037c06
update test case
2018-05-26 23:18:18 +08:00
afc163
ac4a9086a0
test: press enter to search
2018-05-26 17:03:07 +08:00
afc163
36ffe7e1dc
Search icon could be clicked, close #10634
2018-05-26 16:52:33 +08:00
Eric Celeste
b86f4eeaad
improve english
2018-05-26 13:26:11 +08:00
afc163
3ceb619b92
Fix and optimize table demo, close #10639
2018-05-26 00:54:30 +08:00
clinyong
baa78bfa5f
Change default word-break to break-word
2018-05-26 00:22:03 +08:00
afc163
8c2f99fd3e
test alert
2018-05-25 21:56:57 +08:00
afc163
50057739bf
Add test cases for Anchor
2018-05-25 21:43:21 +08:00
afc163
3a445f3e75
more test cases
2018-05-25 21:43:21 +08:00
afc163
be13326a1b
Fix typo
2018-05-25 21:43:21 +08:00
afc163
93b14da4a6
improve test code
2018-05-25 21:43:21 +08:00
afc163
21db29bd53
Add test cases for Badge
2018-05-25 21:43:21 +08:00
afc163
d58c0780f9
test Popconfirm
2018-05-25 21:43:21 +08:00
afc163
042c014a38
test => it
2018-05-25 21:43:21 +08:00
afc163
aff9d8fc62
fix lint
2018-05-25 21:43:21 +08:00
afc163
b7b12b657c
test: test carousel
2018-05-25 21:43:21 +08:00
afc163
0feaf95629
Fix breadcrumb test case
2018-05-25 21:43:21 +08:00
afc163
076540c83e
test: breadcrumd work with react-router
2018-05-25 21:43:21 +08:00
afc163
3db0610d52
Add test case for Cascader
2018-05-25 21:43:21 +08:00
afc163
7222944347
test babel-plugin-import warning
2018-05-25 21:43:21 +08:00
afc163
322ebf0039
fix badge snapshot
2018-05-25 21:43:21 +08:00
Jinxuan Zhu
c2519e776b
Add promise-like interface ( #10470 )
...
* Add promise-like interface
* Keep hide interface
* Shorten
* Test Promise
* Update document
* Update demo: 2.5 second is insignificant with the default 3s hiding
* Update demo: then interface
* Fix line break
* Chainable
* Thenable demo
* Thenable test
* Fix tsc error
* Fix tsc error
* Better document
* Revert change in loading.md
* Change snapshot
2018-05-25 20:41:07 +08:00
Winter Zhong
33b604f7a8
Fix issue #10635 Parent element set text-align break Spin ( #10643 )
...
* fix the issue when settingthe parent ele text-align center, the spin is on the right
* put the display in the proper place
2018-05-25 20:40:17 +08:00
afc163
cbff10db15
test: update snapshots
2018-05-25 14:25:26 +08:00
Rongjian Zhang
f3869270ae
Fix #10142 : Add theme
props to Layout.Sider
( #10631 )
...
* Fix #10142 : Add `theme` props to `Layout.Sider`
* Update documentation of Layout.Sider for new theme props
* Fix snapshot tests
* Add unit test for sider theme
2018-05-23 23:46:28 +08:00
afc163
2989e8dba0
docs: update API
2018-05-23 22:36:06 +08:00
afc163
6d8df2ac25
test: improve affix test case
2018-05-23 21:03:32 +08:00
Dmitry Snegirev
fd96b4a784
Added missing prop firstActiveValue in Select component ( #10636 )
2018-05-23 19:13:11 +08:00
jim
af8f4dc5c3
Merge branch 'master' into feature-3.6.0
2018-05-23 16:34:59 +08:00
afc163
8da79f4b34
Badge[status] should work with Tooltip
...
close #10626
2018-05-23 13:11:49 +08:00
afc163
247d78990e
demo: improve editable row demo
2018-05-23 11:32:23 +08:00
Douglas Mason
acb56281f8
fix: update "from" to "form" in code example ( #10628 )
...
update `save` method parameter from `from` to `form` in code example
2018-05-23 10:55:20 +08:00
afc163
fafd83cadc
Fix mention test case in react 15
2018-05-22 23:29:09 +08:00
afc163
7e96ae1a6a
add jest.runAllTimers
2018-05-22 23:29:09 +08:00
afc163
3c381c6dd1
fix test case skip
2018-05-22 23:29:09 +08:00
afc163
292a91a777
Add test cases for Mention
2018-05-22 23:29:09 +08:00
afc163
89ed0dcb35
fix autoUpdateProgress percent and add test case
2018-05-22 23:29:09 +08:00
afc163
77301c378f
skip mention test when test dist file
2018-05-22 23:29:09 +08:00
afc163
22d2f9eb01
update snapshot
2018-05-22 23:29:09 +08:00
afc163
3078819535
jest mock generateRandomKey for ssr test
...
facebook/draft-js#702
2018-05-22 23:29:09 +08:00
afc163
6471e5d4f0
write snapshot files
2018-05-22 23:29:09 +08:00
afc163
1e585135aa
Try test mention to see what the problem is
2018-05-22 23:29:09 +08:00
Ivan Trofimov
33c58a8ef6
Update ru_RU.tsx ( #10616 )
...
* Update locale-provider ru_RU and tests
* Update locale-provider ru_RU and tests: patch-2
2018-05-22 16:31:12 +08:00
paranoidjk
b09e03d82a
doc(Input): fix wrong desc about input size in form.
2018-05-22 06:50:14 +00:00
偏右
a2e0e40caa
[WIP] Use raf to replace getRequestAnimationFrame ( #10614 )
...
* use raf to replace getRequestAnimationFrame
* remove isCssAnimationSupported
2018-05-22 13:01:28 +08:00
Walter Barbagallo
4077ffb58c
Enhanced InputNumber props with HTMLInputElement attributes. ( #10608 )
...
* Enhanced InputNumber props with HTMLInputElement attributes.
It is possibile to use additional props supported by the inner input
element:
```
const inputEl = <InputNumber autoFocus />
```
Before this commit the type checker did not recognize the `autoFocus`
prop.
Some attributes must be omitted because they conflict with props
defined on `InputNumberProps` interface
* Renamed type
Probably they conflicts with a reserved name?
@see https://travis-ci.org/ant-design/ant-design/jobs/381668406
> components/input-number/index.tsx(9,93): error TS4022: 'extends' clause of exported interface 'InputNumberProps' has or is using private name 'OmitAttributes'.
* Replace InputNumber onKeyDown typing with the typed one.
Extending HTMLInputElement attributes the `onKeyDown` props now have a
better typing.
For example before this commit accessing to the event `key` attribute resulted
in a type error.
@see https://reactjs.org/docs/events.html#keyboard-events
* Exporting type OmitAttrs on InputNumber component.
This is an attempt to solve the ci error:
> components/input-number/index.tsx(9,93): error TS4022: 'extends' clause of exported
> interface 'InputNumberProps' has or is using private name 'OmitAttrs'.
@see https://travis-ci.org/ant-design/ant-design/jobs/381678316
2018-05-22 10:46:20 +08:00
Ezekiel Keator
bb4bc61556
Added missing API documentation ( #10611 )
...
* Added missing API documentation
Added missing Divider API documentation.
* Corrected styling
Corrected styling on dash to match other documentation pages.
2018-05-22 10:46:01 +08:00
afc163
0fc5a0ece5
site: add alt to images
2018-05-21 23:47:22 +08:00
afc163
6458280cb3
site: add alt to images
2018-05-21 23:42:57 +08:00
Zheeeng
389c7c4f10
DRY the styles writing for maintenance ( #10220 )
2018-05-21 21:53:20 +08:00
Zheeeng
59fe98a194
Add position config for List pagination ( #10581 )
2018-05-21 21:52:18 +08:00
Jamie.LiuMJ
2955600642
fix clearfix ( #10563 )
2018-05-21 21:52:15 +08:00
sosohime
d4ed303bcd
doc: Update DatePicker document about locale ( #10598 )
2018-05-21 21:51:39 +08:00
Wei Zhu
ff458a2c3f
Improve Input type definitions
...
Close #10166
2018-05-21 21:31:59 +08:00
zombiej
06ffd9ca04
Adjust Tree icon vertical-align, fix #10603
2018-05-21 21:24:16 +08:00
afc163
251d882101
fix dropdown any type
2018-05-21 21:02:03 +08:00
afc163
129baddc44
Remove some typescript any types of cascader
2018-05-21 20:35:14 +08:00
afc163
968488a2fa
fix: Cascader showSearch not working bug, close #10599
2018-05-21 18:07:56 +08:00
afc163
00d710cef0
demo: fix select demo order
2018-05-21 17:07:39 +08:00
afc163
ddc242a9cb
Merge branch 'master' into feature-3.6.0
2018-05-21 16:11:57 +08:00
jim
d6a554823f
Rollback ci modification
2018-05-20 21:38:29 +08:00
jim
fd1d9661c0
update snap fix ci
2018-05-20 15:49:56 +08:00
Zheeeng
8b420c41bb
Fix typo ( #10582 )
...
* Fix typo: splited -> separated
* Fix typo: splited -> separated
2018-05-20 00:50:19 +08:00
方剑成
96d53aefb8
Remove redundant icons ( #10583 )
2018-05-20 00:49:48 +08:00
afc163
8e2f72ffe0
tweak dropdown menu item padding
2018-05-19 20:34:19 +08:00
afc163
29229ebee7
fix: input onDoubleClick type, close #10518
2018-05-19 20:01:47 +08:00
Wei Zhu
aa87fcb01e
Update snapshot
2018-05-18 18:53:26 +08:00
Wei Zhu
1ed9fed2cf
Improve Button and Tag types
2018-05-18 18:22:33 +08:00
afc163
7c4f6e8b2a
fix: Revert checkbox z-index
...
fix #10480
ref #10452
reverted for #10385
2018-05-18 15:36:54 +08:00
qhxin
7404b7f36c
fix Affix/index.tsx while offsetTop === 0 and offsetBottom is numberic ( #10566 )
...
* Update index.tsx
Fix: if offsetTop === 0, it will get undefined, if offsetBottom is type of number, offsetMode will be { top: false, ... }
* Update index.tsx
2018-05-18 10:18:19 +08:00
Walter Barbagallo
963120f702
Improved Form component typings ( #10564 )
...
* Improved Form component typings
With this fix you can use HTMLFormElement attributes on Form component
without getting TypeScript errors.
For example this code does not longer produce error for the additional
`autoComplete` prop:
```
const myForm = (
<Form autoComplete="off">
...
</Form>
)
```
* Fix onBlur / onChange typings with Input component
This improvement fix a typing issue incompatibility with
`react-final-form`
The incompatibility involve [this
line](https://github.com/final-form/react-final-form/blob/v3.4.2/src/index.d.ts#L20 )
where the handler argument is a more specific SyntheticEvent
2018-05-17 23:45:13 +08:00
Wei Zhu
b7d508e166
Fix Row gutter type
2018-05-17 21:47:09 +08:00
afc163
cafeb8e3eb
fix button group split border color
2018-05-17 21:36:05 +08:00
afc163
99dca86904
update button disable demo
2018-05-17 21:23:36 +08:00
afc163
09d5e36cfa
style: fix hightlight link color in menu item
2018-05-17 21:17:20 +08:00
afc163
6e0865f691
fix less compile error
2018-05-17 17:20:47 +08:00
afc163
eb17aae25c
Fix less import error again
2018-05-17 15:21:31 +08:00
afc163
593435ce65
fix import path
2018-05-17 14:39:33 +08:00
afc163
c4f58e7027
fix import path
2018-05-17 11:04:14 +08:00
afc163
b76910f63f
fix typo
2018-05-16 11:49:35 +08:00
afc163
12d3046687
style: unify the less vars naming
2018-05-15 17:02:01 +08:00
Wei Zhu
c7c85e3d5d
docs: Revert unexpected modify
2018-05-15 12:11:21 +08:00
Wei Zhu
78af67a057
docs: fix table custom search panel demo
...
close #10494
2018-05-15 11:58:02 +08:00
Reed Sun
604584931e
fix text error ( #10510 )
...
回掉 => 回调
2018-05-15 11:22:29 +08:00
Andreas Cederström
97c2d58d15
remove bundle size warning in test env ( #10363 )
2018-05-14 17:13:27 +08:00
Winter Zhong
f09c799bba
add the border-right-width to fix the Input.Group component covered box-shadow effect ( #10492 )
2018-05-14 17:11:11 +08:00
Wei Zhu
bf03d954d4
docs: Fix indent
2018-05-14 12:29:04 +08:00
Xiping.wang
413479a5b9
修改案例title值,原title值容易产生误导
...
修改案例title值,原title值容易产生误导
2018-05-14 12:08:50 +08:00
afc163
f3545ccdc7
Merge branch 'master' into feature-3.6.0
2018-05-12 13:49:33 +08:00
Oleg Kuzava
71abb96de7
Allow to use any CSS units for layout width ( #10479 )
...
* Allow to use any CSS units for layout width
* Fix ts issues
* Fix parseFloat type check
* add tests for width in Sider
* clean up
2018-05-12 02:30:33 +08:00
jiang
9e01b24272
fix 10445 ( #10457 )
...
* fix 10445
* re help anim timing
* refactor
* use this.helpShow
* is show no set state
* remove state.helpShow
2018-05-10 21:48:11 +08:00
picodoth
030c745e1b
fix: checkbox trigger twice
...
regression introduced from d93cfde
2018-05-10 19:04:37 +08:00
Christopher Deutsch
dd0d4214d1
Omit 'ref' from ButtonProps otherwise typing conflicts occur. ( #10426 )
...
Fixes #10405
2018-05-10 11:21:07 +08:00
afc163
6eef4d0a42
chore: code style
2018-05-10 11:01:58 +08:00
afc163
6e6b1ccdec
chore: code style
2018-05-10 10:59:33 +08:00
afc163
bc4143f8a3
Fix Cascader displayRender z-index issue, close #10433
2018-05-09 18:16:08 +08:00
afc163
be31f17bca
Change Dropdown.Button default icon to ellipsis
2018-05-09 18:01:07 +08:00
Xiaoming
7f2159e928
Message doc update & change variable statement ( #10420 )
...
* eslint disallow use of chained assignment expressions
eslint disallow use of chained assignment expressions
* revert
* message-doc-update
1.If a variable is never reassigned, using the const declaration is
better.
2.Defaultvalue’s type must be ‘number’ depend on type
2018-05-08 21:59:28 +08:00
Wei Zhu
04ee8526ab
Revert "Fix table scroll x ( #9704 )"
...
This reverts commit 0d9dcb1714
.
2018-05-08 16:23:10 +08:00
konakona
6c0d6d302a
Add feature: can use type ReactNode for message of rules ( #10136 ) ( #10395 )
...
* Add feature: can use type ReactNode for message of rules (#10136 )
* fix: Replace React.Fragment to span
* Add unit test for Form (Not passed)
* fix: unit test of Form
* fix: unit test of Form & remove demo
* fix: update unit test for Form
* Refine code for Form
* Add error check for getHelpMessage
2018-05-08 14:00:00 +08:00
afc163
20495dd5ba
Fix monospaced number font weight issue
...
http://codesandbox.io/s/w705jk5wz7
2018-05-07 21:19:16 +08:00
陈帅
d5c5219111
new edit Table demo ( #10119 )
...
* new edit Table demo
* fix test error
* fix ci
* typo
* Skip edit-row test for React 15
* Set column width
* Update snapshot
2018-05-07 20:50:43 +08:00
afc163
5e99a93930
Fix collapse focused style
2018-05-07 17:57:49 +08:00
Wei Zhu
8a6d9b92b7
Improve table types
...
Fix #10374
2018-05-07 12:32:26 +08:00
afc163
d93cfdef09
clean up unnecessary z-index
...
close #9840
close #10385
2018-05-06 21:50:50 +08:00
afc163
e86f17186b
Fix select test snapshot
2018-05-06 14:58:05 +08:00
afc163
6d91a3eb4a
Fix select arrow overlap bug, close #10383
...
introduced by #10092 , this commit also fix #10092
2018-05-06 14:54:27 +08:00
afc163
d95379cfa5
Fix broken style of Input with addons, close #10371
2018-05-05 19:50:48 +08:00
afc163
dbde26e560
docs: add disabled prop doc for Button, close #10373
2018-05-05 13:18:50 +08:00
Karol Majewski
1479726932
Use exact type for Breadcrumb.Item ( #10372 )
...
Using "any" breaks the build for TSLint users having the "no-unsafe-any" rule enabled.
See https://palantir.github.io/tslint/rules/no-unsafe-any/
2018-05-05 00:47:44 +08:00
愚指导
9368e2df87
Bump 3.5.0 ( #10297 )
2018-05-04 18:15:28 +08:00
Zheeeng
7f8cb838e3
Remove the side effects in render method ( #10357 )
2018-05-04 17:37:31 +08:00
愚指导
0f7794946f
upgrade rc-cascader to 1.13.0 for support filedNames ( #10365 )
2018-05-04 17:27:34 +08:00
Christian
f4b8a58480
fixes #10289 and #10209 : lost of user selection on table data updates ( #10332 )
...
* fixes #10289 and #10209 : lost of user selection on table data updates
* adds shallowequal check
2018-05-04 14:51:15 +08:00
Wu Haotian
6019245365
fix(button): use React.HTMLProps for button's props ( #10229 )
2018-05-04 14:48:41 +08:00
Wei Zhu
3fd9397174
Keep text align center
...
Fix prev commit
2018-05-04 14:33:06 +08:00
Wei Zhu
f1e38a1573
Fix table merged header cell border
...
Fix #10359
2018-05-04 14:30:21 +08:00
愚道
013df45a70
merge https://github.com/ant-design/ant-design/pull/10306 from feature-3.5.0
2018-05-03 16:58:50 +08:00
afc163
5ee4d20e2a
should still have padding when card which set padding to 0 is loading
2018-05-03 15:17:04 +08:00
paranoidjk
8e166915a9
fix(Select): value tsd ( #10336 )
2018-05-03 11:28:30 +08:00
Xiaoming
9c6fef0604
treeSelect doc ( #10302 )
...
TreeSelect implement Tree as popup panel which use title as the display
text.
To follow the Select definition (label as display text), TreeSelect
internal convert the prop label into title to the Tree component (but
will follow if title is set).
ref:
https://github.com/react-component/tree-select/blob/master/src/Select.js
x#L44
2018-05-03 11:26:59 +08:00
paranoidjk
b6f8ab89c7
Fix: Form tsd ( #10324 )
...
* Fix(form): wrappedComponentRef interface
- ref: https://github.com/react-component/form/blob/master/src/createBaseForm.js#L499
* refactor: use ts conditional type
* fix: merge
* Revert "refactor: use ts conditional type"
This reverts commit ab3035da83
.
2018-05-02 18:24:51 +08:00
Wei Zhu
56e3384c6b
Revert "MenuItem: avoid rendering Tooltip unless necessary ( #9636 )"
...
This reverts commit 0754845aff
.
Conditional rendering will break the transition animation,
since React will create new DOM node when inlineCollapsed changges.
Fix https://github.com/react-component/menu/issues/139
2018-05-02 14:49:20 +08:00
afc163
b5a52d26f2
fix snapshot
2018-05-02 14:28:16 +08:00
afc163
70a42545e3
fix fileToObject, close #10319
2018-05-02 13:56:54 +08:00
afc163
fb38e55cc0
more test about button text
2018-05-01 19:36:11 +08:00
afc163
c7471a4653
tweak insert space logic of loading button
2018-05-01 19:33:38 +08:00
afc163
726f0466bc
menu should be unfocusable defaultly
2018-05-01 18:53:44 +08:00
Daniel Gomez
3a5fce7256
Fix UploadFile's lastModifiedDate property name ( #10315 )
2018-05-01 00:11:18 +08:00
Junbin Huang
3a3d550b54
chore: upgrade menu ( #10305 )
...
* chore: upgrade menu and select
* Add test case for coverage percent
2018-04-29 23:01:58 +08:00
Ash Kumar
013932e6d3
Feature: (Issue 10213): Column 'sorter' function is passed 'sortOrder' as param ( #10306 )
...
* Table Column's sorter prop can now be provided a fn to which 'sortOrder' is passed as param
* head.md: added documentation for new use of 'sorter' prop function
2018-04-29 22:08:28 +08:00
afc163
81dd432e31
update select demo
2018-04-28 23:56:38 +08:00
afc163
4535e9d4f1
Fix Select extra space taken up when arrow disabled
...
close #10092
2018-04-28 23:38:05 +08:00
愚道
8b64882562
Merge branch 'master' of github.com:ant-design/ant-design
2018-04-28 11:10:54 +08:00
愚道
6682a56922
fix snapshot ci
2018-04-28 11:09:15 +08:00
afc163
e97977b891
Fix upload onChange arg type when beforeUpload return false, close #10293
2018-04-28 11:06:32 +08:00
愚道
b45146486a
merge feature-3.5.0
2018-04-28 11:04:10 +08:00
afc163
7f8f89cbff
doc: Add mode and onPanelChange in API document, close #9785
2018-04-27 20:17:39 +08:00
Thiebaud Thomas
a1e186b8a3
Fix type for placeholder in select component ( #10282 )
2018-04-27 18:22:10 +08:00
afc163
3d079af7cd
Fix Input.Group align issue in Form, close #10281
2018-04-27 15:57:27 +08:00
afc163
1f6107e94a
Fix naming convention, close #10275
2018-04-27 13:21:51 +08:00
afc163
e40c2a7f45
Fix notification icon hover color, close #10272
2018-04-27 10:48:40 +08:00
afc163
d9053a2526
Tweak sort position again
2018-04-26 16:15:04 +08:00
afc163
4b1857d587
fix spin loading
2018-04-26 16:06:18 +08:00
Marcela Bomfim
b1c41c665e
Fix typo ( #10250 )
...
Fix typo
2018-04-25 21:59:14 +08:00
afc163
c85758fd01
Fix spin container interaction, close #10227
2018-04-25 14:55:16 +08:00
afc163
52c8f34a73
Fix radio border radius
2018-04-25 11:08:21 +08:00
Wu Haotian
4ea20e696c
fix(form): fix typing for Form.onValuesChange
( #10231 )
2018-04-24 23:33:58 +08:00
afc163
a268dc8d62
Fix dashed Divider, close #10216
2018-04-24 20:17:48 +08:00
Samuel Gaus
4bc28ac471
Update jsx.md ( #10203 )
...
Made it clear that you can't use components other than Column or ColumnGroup as children to Table.
2018-04-23 21:57:43 +08:00
Zheeeng
6a3e6f55cf
Fix typo ( #10193 )
2018-04-23 16:00:24 +08:00
Zheeeng
4ad5985df7
Prefer using 'truthy' over 'falsyless' ( #10191 )
2018-04-23 11:23:25 +08:00
Jiabin Peng
bb720aaab9
Fix menu item's clickable region in dark theme ( #10187 )
...
* remove redundant style for submenu
* Fix menu item's clickable region in dark theme
2018-04-23 00:31:36 +08:00
Wei Zhu
7ee2eca848
Pass CheckboxGroup/RadioGroup prefixCls down to children ( #10002 )
...
Close #9950
2018-04-22 16:35:34 +08:00
afc163
15c6d58796
Table getCheckboxProps should be updated when rerender
...
close #10133
2018-04-22 15:19:04 +08:00
afc163
b9d94971e4
Add successPercent as Progress[format] argument, close #10096
2018-04-22 14:00:49 +08:00
afc163
2078354bc5
Fix collapsedWidth string bug, close #10140
2018-04-22 13:56:23 +08:00
Jin ZHANG
a95209cf55
scale fallback string ( #10184 )
2018-04-22 13:09:42 +08:00
niko
d50ec436d5
List integrate pagination functional fixed : #9303 ( #10135 )
2018-04-20 15:41:40 +08:00
Jin ZHANG
e1c74eb799
add maxCount config to message ( #10169 )
2018-04-20 15:40:43 +08:00
Zheeeng
d016471638
Feature 3.5.0 time line reverse api ( #10057 )
...
* Add reverse api for TimeLine
* Update TimeLine test snapshot
* Add specifications for reverse api and pending api
2018-04-20 11:23:37 +08:00
afc163
f4ae9294c0
Improve card loading style, ref #9862
2018-04-20 11:19:30 +08:00
Zheeeng
572ae5ce14
Bugfix issue.9862 ( #10052 )
...
* Fix issue 9862
* Update Card test snapshot
2018-04-20 10:44:33 +08:00
Dmitry Gladkikh
0d0632b2f3
Add getPopupContainer method decl to MenuProps interface ( #10158 )
...
* add getPopupContainer to MenuProps
see https://github.com/ant-design/ant-design/issues/10145
* Update getPopupContainer signature of MenuProps
* getPopupContainer prop is optional
2018-04-19 20:33:12 +08:00
Zheeeng
069e9207a9
Swap positions between List.footer and List.pagination ( #10045 )
...
* Swap positions between List.footer and List.pagination
* Update List test snapshots
2018-04-19 13:48:55 +08:00
afc163
649d733048
fix snapshot ci
2018-04-19 11:54:44 +08:00
Wu Haotian
7eb2792072
fix typing for Upload.beforeUpload
( #10059 )
...
* fix typing for `Upload.beforeUpload`
fix #9775
* add RcFile interface, fix tests
* fix typing of `Upload.onStart`
2018-04-19 11:54:28 +08:00
Zheeeng
d0d69fbf13
Remove useless style ( #10054 )
2018-04-19 11:50:28 +08:00
Wei Zhu
61e4f8011a
Remove sCU from Form ( #10029 )
...
Related #9790
Form and Form.Item are not considered as pure components
2018-04-19 11:49:50 +08:00
Zen
d7f9270a6f
fix button/demo/disabled.md ( #10009 )
...
add `ghost` property to ghost buttons
2018-04-19 11:43:22 +08:00
afc163
a7513bfac1
fix stylelint
2018-04-19 11:40:58 +08:00
davidhatten
74d1c5e6b6
Add collapse styles to default.less ( #9943 )
...
* push collapse styling into overridable defaults
* Changes to ensure backwards compatibiliy, switch bg-color to be based on default style
* change background-color to bg in style names
* simplify and consolodate content-padding
* I figured out why the styling is split across content and box like that
The collapse/show animation doesn't work right without the padding set up across the two elements like this. From an end-user point of view, I think this is the easiest thing.
* pushing all padding styling on to the box instead of the content, keeping var name the same because the end user doesn't need to know the difference
* Pushing header-bg-color back up to the top of the component heirarchy
* shorten content padding
2018-04-19 11:36:53 +08:00
afc163
f0660836b7
fix snapshot ci
2018-04-19 11:34:19 +08:00
afc163
61502ef942
Fix form demo error in IE9
2018-04-18 14:08:06 +08:00
afc163
04b3aad451
Fix menu arrow style of disabled, close #10113
2018-04-18 13:47:40 +08:00
afc163
2604623b7e
fix showInfo when precent is out of range
2018-04-18 11:10:32 +08:00
afc163
0eb835772d
Fix invalid progress like <Progress precent={120} />
2018-04-18 10:45:07 +08:00
Dmitry Manannikov
c0e60f8097
Fix wrong List property ( #10123 ) ( #10128 )
...
This diff excludes `locale` from `rest` variable to
avoid passing to div.
Close #10123
2018-04-18 00:15:22 +08:00
Zheeeng
05a522c343
Update ButtonType ( #10129 )
2018-04-17 23:54:55 +08:00
刘红
ee4f788ae0
添加BMP的支持 ( #10110 )
2018-04-17 14:44:43 +08:00
Jin ZHANG
f3f3c63c30
fix class for week date render ( #10081 )
2018-04-17 13:50:27 +08:00
afc163
3b00cf8971
Fix image when file.url has query or hash
...
close #10102
2018-04-17 13:49:03 +08:00
何志勇
7e8295769a
Markdown error ( #10100 )
...
There are six preset values, not five
2018-04-17 10:50:14 +08:00
Pierre
09fec16b6f
[TS] AutoComplete : Make dataSource optional ( #10077 )
...
When using children :
https://ant.design/components/auto-complete/#components-auto-complete-demo-options
2018-04-16 17:42:31 +08:00
Wei Zhu
1a26268bd5
Remove duplicate SpinSize
2018-04-16 15:02:03 +08:00
诸岳
265770b4e3
Fix incompatible type error for Spin[size] prop, close #10053 ( #10055 )
2018-04-16 14:44:42 +08:00
Rallets
8157be2f4a
Add files via upload ( #10068 )
2018-04-16 14:16:43 +08:00
Albert 理斯特
b7411febce
A: 新增关于 childrenColumnName 的文档,fix #9035 ( #10062 )
2018-04-16 13:26:33 +08:00
Ed Moore
31e50e50b6
Fix types ( #10063 )
...
* Fix types
Fix https://github.com/ant-design/ant-design/issues/8796
* Fix exported types
2018-04-16 10:58:17 +08:00
Charles Covey-Brandt
e1efa990ca
Update Alert smooth-closed demo for spelling "visible" ( #10060 )
2018-04-16 09:41:53 +08:00
afc163
04a5cc2a8b
Merge branch 'master' into feature-3.5.0
2018-04-15 19:52:24 +08:00
Zheeeng
b41af97d1f
Fix typo ( #10050 )
2018-04-15 16:52:04 +08:00
偏右
88cacb6c35
Revert "Feature time line.reverse ( #10026 )" ( #10056 )
...
This reverts commit 92a07d1b9d
.
2018-04-15 16:51:05 +08:00
Zheeeng
92a07d1b9d
Feature time line.reverse ( #10026 )
...
* Add reverse api for Timeline
* Update TimeLine test snapshot
2018-04-15 16:50:02 +08:00
afc163
9b64a778d0
demo: fix console warning
2018-04-15 15:13:59 +08:00
afc163
4486c569f2
demo: update localeProvider demo
2018-04-15 15:11:59 +08:00
afc163
e1a5063daf
test: fix ci warning
2018-04-15 15:10:25 +08:00
afc163
e3446840fa
Fix test case of LocaleProvider
...
which is broken by #10047
use constructor over componentDidMount
2018-04-15 15:09:13 +08:00
诸岳
b52053051c
Input.Search should disable enter button when disabled prop is true ( #10051 )
...
* Input Search should disable enter button when disabled prop is true, close #10040
* test: Add test case for commit bd21722
2018-04-15 13:14:26 +08:00
Zheeeng
08f5c27b0b
Use componentDidMount to replace componentWillMount: componentWillMount is deprecating ( #10047 )
2018-04-14 13:37:24 +08:00
Zheeeng
b92779f821
Fix the infinite & virtualized List is invisible that caused by its height can't be calculated ( #10046 )
2018-04-14 11:18:34 +08:00
afc163
92eeb7f8c9
Tweak list grid margin
2018-04-13 15:35:51 +08:00
afc163
2939aea4ec
Fix list extra border, close #10028
2018-04-13 15:35:51 +08:00
afc163
5f51d8dc43
update demo
2018-04-13 15:35:51 +08:00
afc163
d94e7bd7f0
fix typo
2018-04-13 15:35:51 +08:00
Chenjia
5634881eda
add docs for keyboard props on modal component #8818 ( #10030 )
2018-04-13 12:01:51 +08:00
Ludwig Bäcklund
74d81c2d07
Add title prop to Badge that shows when hovering it
2018-04-12 11:53:32 +08:00
Bill Fienberg
66f5e75cff
Fix typo in link to InputNumber component ( #9994 )
...
Before:
>Synchronize with [InptNumber](/components/input-number/) component.
After:
>Synchronize with [InputNumber](/components/input-number/) component.
2018-04-11 23:18:10 +08:00
Wei Zhu
82b721a432
Extend CardProps from native div element attributes
...
Close #9933
2018-04-11 19:41:54 +08:00
Wei Zhu
f9b8bf7e4d
Revert "Checkbox[disabled] should have higher priority than Checkbox.Group[disabled]"
...
This reverts commit 5580791a70
.
2018-04-11 16:59:22 +08:00
Wei Zhu
5580791a70
Checkbox[disabled] should have higher priority than Checkbox.Group[disabled]
...
Fix #9973
2018-04-11 16:35:05 +08:00
Bill Fienberg
833e076eb7
Fix typo ( #9991 )
...
Before:
>Customerize tooltip
After:
>Customize tooltip
2018-04-11 15:49:12 +08:00
afc163
3612144c6d
site: avoid hash jump in demo
2018-04-11 15:15:24 +08:00
Wei Zhu
2a5479a524
Fix type errors
...
Close #9988
2018-04-11 12:01:28 +08:00
zombiej
0437d858f2
update testcase sync with Tree 1.8.12. Ref: https://github.com/ant-design/ant-design/issues/9899
2018-04-10 19:29:18 +08:00
Wei Zhu
921361313a
Add explicit types for default props
...
Fix #8796
Close #8820
2018-04-10 10:50:59 +08:00
jim
a5e2020908
add icon prop in .d.ts
2018-04-09 14:22:06 +08:00
afc163
e8d8741ec5
Fix divider layout with float elements, close #9956
2018-04-08 12:37:24 +08:00
Wei Zhu
43537ed368
Fix type error
...
Close #9931
2018-04-04 17:51:51 +08:00
偏右
a9376ef1ca
Fix image url display with non-image extention in Upload ( #9936 )
...
now we treat url following below rules:
1. `data:image..` => image
2. `http://xxx.com/xxxx .(webp|svg|png|gif|jpg|jpeg)` => image
3. `http://xxx.com/xxx.zip ` other extensions => non-image
4. `data:application..` other minetypes in base64 text => non-image
5. `http://xxx.com/xxx ` without any extensions => image
close #9835
close #9681
ref #9621
2018-04-04 17:17:01 +08:00
zombieJ
49719b20d8
update tree doc for customize icon ( #9893 )
...
* update doc for customize icon
* add test case
2018-04-04 16:39:50 +08:00
ddcat1115
1612ef6990
fix #9882
2018-04-04 16:01:14 +08:00
afc163
e6b3490a8e
fix test case
2018-04-04 15:50:08 +08:00
ddcat1115
a402fdd8b3
fix #9907 ( #9908 )
...
* fix #9907
* update snapshot
2018-04-04 15:29:59 +08:00
Wei Zhu
5336bd688f
Fix type error
2018-04-04 14:49:14 +08:00
André
245e1cf3d0
Minor typo ( #9922 )
...
Fixes minor typo
2018-04-03 22:00:31 +08:00
afc163
cab162b562
doc: update divider doc and demo
2018-04-03 14:25:47 +08:00
afc163
779a35e4cc
doc: update message duration description
2018-04-03 13:41:44 +08:00
afc163
bf6e91be3a
Tweak table sorter icon click area again
2018-04-03 11:33:37 +08:00
Nokecy
98d56b2dd0
Fixed typescript definition and add table props onHeaderRow ( #9902 )
2018-04-02 17:15:17 +08:00
Wei Zhu
bac892080d
Merge branch 'feature-3.4.0'
2018-04-01 12:28:09 +08:00
Zach Guo
280f907297
Fix Layout.Sider typos ( #9885 )
2018-04-01 01:15:42 +08:00
Wei Zhu
da4062f9c1
Add Anchor[getContainer] ( #9694 )
2018-03-30 15:55:54 +08:00
Hughen
53abf888cb
fix: fixed modal content overflowed
...
- fixed modal content overflowed, when the very long english
word fill in Modal title
2018-03-30 15:33:33 +08:00
Wei Zhu
c4698154b4
Merge branch 'master' into feature-3.4.0
2018-03-30 15:09:38 +08:00
Wei Zhu
502e7df2e5
Update snapshot for React 16.3
2018-03-30 11:04:49 +08:00
zombiej
c135572730
Fix conduct logic on node disabled, update test snapshot
2018-03-29 19:46:01 +08:00
zombiej
08b6011ed7
update deps of rc-tree
2018-03-29 18:09:54 +08:00
zombiej
c5f84c7902
clean up
2018-03-29 18:03:14 +08:00
zombiej
52f0ac10a4
Revert "Fix WeekPick style prop, close #9848 "
...
This reverts commit c526e175c7
.
2018-03-29 17:53:54 +08:00
zombiej
0baef252bb
update deps of rc-tree
2018-03-29 16:03:48 +08:00
afc163
c526e175c7
Fix WeekPick style prop, close #9848
2018-03-29 11:26:38 +08:00
Scott Sturgeon
f2e60209c9
Changed zero-width layout trigger color to use layout-trigger-color var ( #9851 )
2018-03-29 10:50:58 +08:00
Kenneth Luján Rosas
d7b44bda07
Fixes LocaleProvider moment
usage ( #9853 )
2018-03-29 10:42:33 +08:00
jojoLockLock
7915e58f1f
fix base.less @at-root syntax error ( #9832 )
2018-03-28 10:41:54 +08:00
Wei Zhu
70ea209857
docs: Clarify Table[scroll] useage
...
Related issue:
https://github.com/ant-design/ant-design/issues/2203
https://github.com/ant-design/ant-design/issues/2130
2018-03-27 17:46:01 +08:00
afc163
2d4d85bdbc
update snapshot
2018-03-26 15:47:29 +08:00
pellea
b61f4c1ad3
fix code sample in the Form component doc (issue #9591 ) ( #9705 )
...
* fix code sample in the Form component doc (issue #9591 )
* fix wrong space indent
* add trailing comma
2018-03-26 15:41:42 +08:00
偏右
f6f5fb3672
Test case for warning message of importing all components ( #9814 )
...
* Add test case
* fix test case
2018-03-26 15:36:44 +08:00
gregahren
b6ce947894
Slovenian locale added (sl_SI) ( #9724 )
...
* Add sl_SI locale (Slovenian)
* fix lint issues
snapshot tests
* add description
* bump rc pagination to 1.16.1 which includes sl_SI(Slovenian) locale
then include it
2018-03-26 11:44:27 +08:00
Wei Zhu
5ab1c4ce53
Revert "Convert file object"
...
This reverts commit ee0bf41672
.
2018-03-25 11:40:51 +08:00
afc163
99e030cc4c
Merge branch 'master' into feature-3.4.0
2018-03-25 01:39:27 +08:00
Bryan Berger
c3df0bc688
Fix <Switch /> small margin ( #9602 )
...
* should be 13px. Size of the circle (12px) + desired spacing (1px).
* add single responsibility var
2018-03-24 21:52:47 +08:00
Wei Zhu
51d1f27a76
dcos: Detail Select[optionLabelProp] default value
...
Close #9745
2018-03-24 21:38:25 +08:00
meesvandongen
2c5231f0ed
Made expanded row background (table) a less variable. ( #9789 )
2018-03-24 13:18:38 +08:00
afc163
4502ad8376
Fix button two-chinese-words update bug
2018-03-23 22:23:03 +08:00
afc163
07d6988f0d
Add some tests
2018-03-23 19:19:29 +08:00
afc163
ba7b7d0d6b
link colors should be related with @link-color
2018-03-23 18:04:02 +08:00
afc163
ec6f370d8d
update snapshot
2018-03-23 15:29:02 +08:00
afc163
caf497d08f
Fix underline of Button[href], close #9755
2018-03-23 14:45:08 +08:00
Yunus EŞ
9413f20ef6
Pagination Turkish Update ( #9679 )
2018-03-23 14:21:32 +08:00
afc163
454567dee4
remove !important
2018-03-23 11:45:39 +08:00
Wei Zhu
ee0bf41672
Convert file object
...
Close #9775
2018-03-23 11:23:47 +08:00
Jiabin Peng
6c77d336d9
Fix menu item clickable region ( #9666 )
2018-03-22 15:14:53 +08:00
Sangle
eb338425fe
docs: fix syntax error ( #9764 )
2018-03-22 14:54:46 +08:00
诸岳
aadba9b0e3
docs: add align prop description ( #9749 )
2018-03-21 17:42:19 +08:00
afc163
f8f52b09be
Fix Modal.confirm content layout
...
close #9374
created a BFC to resolve multiple lines of title render bug
https://www.smashingmagazine.com/2017/12/understanding-css-layout-block-formatting-context/
2018-03-21 17:35:31 +08:00
Wei Zhu
edbbaac5f9
Fix date mocking
...
new Date returns a UTC time in node
Close #9743
2018-03-21 12:27:41 +08:00
Wei Zhu
1c0b5ed21e
Revert "Update snapshot"
...
This reverts commit 98356e87ff
.
2018-03-21 12:01:58 +08:00
zhuyue
98356e87ff
Update snapshot
2018-03-21 10:51:52 +08:00
zhuyue
3dcab8767a
fix: cursor style of disabled Rate should be default, close #9747
2018-03-21 10:30:25 +08:00
afc163
a1d1ca4dc6
update snapshot
2018-03-19 15:40:43 +08:00
Wei Zhu
04ff6ed768
docs: Update TreeSelect labelInValue description
...
Close #9726
2018-03-19 14:20:47 +08:00
Bryan Berger
a0e161ccdd
Add variable for Pagination font-weight when active ( #9603 )
2018-03-18 13:06:00 +08:00
Wei Zhu
0d9dcb1714
Fix table scroll x ( #9704 )
2018-03-18 12:58:33 +08:00
Wei Zhu
381b88e9b0
Tweak table border radius ( #9674 )
...
Close #6750
2018-03-18 11:14:31 +08:00
Benjy Cui
9d7d70becd
docs: should not use ref for wrapped form, close : #9598 ( #9685 )
2018-03-15 14:40:47 +08:00
afc163
554dec3bab
update table demo
2018-03-15 14:30:01 +08:00
afc163
8db3b1f46f
update snapshot
2018-03-15 11:42:42 +08:00
nestoralonso
43d7be5478
Update fixed-columns.md ( #9680 )
...
Fix typo scoll.x => scroll.x
2018-03-15 10:30:23 +08:00
Terence
4458f3dde1
Fix missing key of column.title in Table ( #9658 ) ( #9670 )
2018-03-14 17:46:56 +08:00
jiang
76994bd772
Remove Form Item help transition, fix #8831 ( #9675 )
...
* fix #8831
* remove help transition
2018-03-14 17:43:02 +08:00
afc163
37506b238f
sync placeholder node size when node is sticky by Affix, close #9536
2018-03-14 16:22:45 +08:00
afc163
eb2290a87f
Tweak table sort icons position
2018-03-14 11:54:32 +08:00
Wu Haotian
0754845aff
MenuItem: avoid rendering Tooltip unless necessary ( #9636 )
...
* MenuItem: avoid rendering Tooltip unless necessary
* MenuItem: remove extra check for tooltip.title
2018-03-14 11:13:06 +08:00
VTHINKXIE
0070628fa8
style(module:form): narrow css selector ( #9648 )
2018-03-14 11:08:07 +08:00
Wei Zhu
85c78e49a9
Fix TimePicker isMoment call
2018-03-13 22:53:02 +08:00
afc163
8b1d0224cb
Tweak danger button focus style
2018-03-13 18:20:12 +08:00
Wei Zhu
f402e87fe0
docs: Add afterClose
...
Close #9640
2018-03-13 11:40:11 +08:00
afc163
4f1f5fd152
update form demo style
2018-03-12 21:52:13 +08:00
afc163
b28b394bf8
Fix test case for #9639
2018-03-12 21:02:20 +08:00
afc163
66c3108565
should support custom button node in Search[enterButton]
...
close #9639
2018-03-12 20:51:04 +08:00
Wei Zhu
62c9dee43e
Remove timezone from mock date
2018-03-12 11:22:59 +08:00
王集鹄
decb6d8390
Compatible with non-image format file preview in UploadList ( #9621 )
...
* Compatible with non-image format file preview in UploadList
* Add unit test about Upload List should non-image format file preview
2018-03-11 22:24:09 +08:00
zhuyue
ed70ba694e
Merge branch 'feature-3.3.0'
2018-03-11 14:50:25 +08:00
诸岳
40e7e0c193
Fix: successPercent should decide the progress status when it exists, close #9382 ( #9614 )
...
* fix: successPercent should decide the progress status when it exists, close #9382
* Add test for e361df0
that successPercent should decide the progress status when it exists
2018-03-11 00:11:52 +08:00
诸岳
398788b2c9
Fix: import correct locale file from rc-calendar, close #9373 ( #9613 )
...
* fix: import correct locale file from rc-calendar, close #9373
* Update snapshot
2018-03-11 00:11:21 +08:00
Wei Zhu
c5fc656ec8
Fix date mocking
...
Close #9599
It's an interesting bug, the time we store in the snapshot is in the summertime when you run it in wintertime, it fails.
2018-03-10 17:25:28 +08:00
u3u
30fe88d4bd
Add the defaultActiveTabKey property for the Card component ( #9526 )
...
* Add the defaultActiveTabKey property for the Card component (close #8789 , #8942 )
* `activeTabKey` should be added
* Improve
* Fix large tabs font size, close #9509
* docs: Add TreeSelect[dropdownClassName]
* Fix passing dropdownClassName to tree-select
* build: update remark-parse requirement to ^5.0.0 (#9545 )
Updates the requirements on [remark-parse](https://github.com/remarkjs/remark ) to permit the latest version.
- [Release notes](https://github.com/remarkjs/remark/releases )
- [Commits](https://github.com/remarkjs/remark/commits/remark@5.0.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
* add Tooltip contextMenu doc
* Improve Grid and Layout type definition
* fix: focus editor (#9548 )
* Fix test case for new jsdom (#9527 )
* Fix test case for new jsdom
* use setTimeout as raf in jest jsdom
* Fix cancelAnimationFrame
* Add comment for facebook/jest#5147
* longer timeout
* fix snap
* upgrade antd-tools
* Update typescript requirement to ~2.7.2 (#9522 )
Updates the requirements on [typescript](https://github.com/Microsoft/TypeScript ) to permit the latest version.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/commits/v2.7.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
* Fix a ts error
* build: update react-slick requirement to ~0.20.0 (#9543 )
Updates the requirements on [react-slick](https://github.com/akiran/react-slick ) to permit the latest version.
- [Changelog](https://github.com/akiran/react-slick/blob/master/CHANGELOG.md )
- [Commits](https://github.com/akiran/react-slick/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
* Fix test cases
* site: fix intersection-observer polyfill
* docs: update recommendation
* Fix typo WeexPickerProps -> WeekPickerProps (#9564 )
* use lodash
* Fixed typo on Visualization rules (#9575 )
Style of a navigation should conform to the its level.
should be
Style of a navigation should conform to its level.
* Improve Radio/Checkbox type definition
Close #9574
* Remove AbstractCheckboxChangeEvent, fix TS4029 error
See https://github.com/Microsoft/TypeScript/issues/9944
* Update index.en-US.md (#9579 )
* add transitionName from message.config (#9580 )
* add transitionName from message.config
* Update index.en-US.md (#9579 )
* modify doc
* build: update react-virtualized requirement to ~9.18.5 (#9544 )
Updates the requirements on [react-virtualized](https://github.com/bvaughn/react-virtualized ) to permit the latest version.
- [Changelog](https://github.com/bvaughn/react-virtualized/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bvaughn/react-virtualized/commits/9.18.5 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
* When treeNode is disabled, its switcher is highlight and clickabled (#9539 )
* When treeNode is disabled, its switcher is highlight and clickabled
* rc-tree@1.7.11
* Fix moment require (#9528 )
Fix #9502
* Update snapshot
2018-03-10 14:44:12 +08:00
Wei Zhu
b6d7151486
docs: Document Calendar[validRange]
2018-03-09 17:55:49 +08:00
Wei Zhu
7f5f09ff47
Add more tests for Calendar[validRange]
2018-03-09 17:43:13 +08:00
Rohan Malhotra
71f65a0be8
Added validRange props in calendar to control date range
2018-03-09 17:42:54 +08:00
Camol
2aed46012e
[feature]: add native Event - related to #9368 ( #9376 )
...
* [feature]: add native Event - related to #9368
* update tests and rc-checkbox's version
2018-03-09 15:16:57 +08:00
Wei Zhu
fe4d294c64
Fix moment require ( #9528 )
...
Fix #9502
2018-03-09 15:04:21 +08:00
valleykid
ae78a4bbec
When treeNode is disabled, its switcher is highlight and clickabled ( #9539 )
...
* When treeNode is disabled, its switcher is highlight and clickabled
* rc-tree@1.7.11
2018-03-09 15:04:09 +08:00
SimpleFrontend
528c6fa1e0
Added pendingDot to Timeline ( #9546 )
...
* Added selectionColumnWidth to TableRowSelection
* Updated documents
* Renamed selectionColumnWidth to columnWidth
* Added pendingDot to Timeline
* Added pendingDot to Timeline
* Minor update according to the feedback
* Updated according to feedback
2018-03-09 15:03:19 +08:00
Hughen
6998f66eb5
feat: add afterClose to Alert ( #9448 )
...
- add afterClose to Alert, in in order to achieve smoothly unmount.
2018-03-09 15:02:13 +08:00
MuYu
f61967b496
add transitionName from message.config ( #9580 )
...
* add transitionName from message.config
* Update index.en-US.md (#9579 )
* modify doc
2018-03-09 13:30:50 +08:00
Kevin BON
b1bcf842d7
Update index.en-US.md ( #9579 )
2018-03-09 00:48:23 +08:00
Xoce51
e142bce0a0
Update documentation to match with the select search method #9494 ( #9577 )
2018-03-09 00:47:38 +08:00
Wei Zhu
473872af66
Remove AbstractCheckboxChangeEvent, fix TS4029 error
...
See https://github.com/Microsoft/TypeScript/issues/9944
2018-03-08 21:42:22 +08:00
Wei Zhu
f78e0098fa
Improve Radio/Checkbox type definition
...
Close #9574
2018-03-08 20:39:34 +08:00
Angga
43e4622ef8
Fixed typo on Visualization rules ( #9575 )
...
Style of a navigation should conform to the its level.
should be
Style of a navigation should conform to its level.
2018-03-08 19:14:41 +08:00
afc163
e071002fae
use lodash
2018-03-08 14:46:47 +08:00
Pierre
1259d703c7
Fix typo WeexPickerProps -> WeekPickerProps ( #9564 )
2018-03-07 23:56:24 +08:00
愚道
59b7195c06
Merge branch 'master' into feature-3.3.0
2018-03-07 14:17:43 +08:00
afc163
15e69d09ca
Fix test cases
2018-03-06 21:47:05 +08:00
afc163
2f427e172a
Fix a ts error
2018-03-06 21:28:54 +08:00
偏右
8226ede38e
Fix test case for new jsdom ( #9527 )
...
* Fix test case for new jsdom
* use setTimeout as raf in jest jsdom
* Fix cancelAnimationFrame
* Add comment for facebook/jest#5147
* longer timeout
* fix snap
* upgrade antd-tools
2018-03-06 21:21:01 +08:00
陆离
cc06f0f7a5
fix: focus editor ( #9548 )
2018-03-06 20:59:03 +08:00
Wei Zhu
518c424ca4
Improve Grid and Layout type definition
2018-03-06 15:51:06 +08:00
jim
26934b37c8
add Tooltip contextMenu doc
2018-03-06 15:21:37 +08:00
Wei Zhu
69b154f9a9
Fix passing dropdownClassName to tree-select
2018-03-06 11:23:03 +08:00
Wei Zhu
56e4ce099d
docs: Add TreeSelect[dropdownClassName]
2018-03-06 10:43:56 +08:00
afc163
c7dd7cbbc4
Fix large tabs font size, close #9509
2018-03-05 18:35:33 +08:00
SimpleFrontend
9073237e70
Added selectionColumnWidth to TableRowSelection ( #9474 )
...
* Added selectionColumnWidth to TableRowSelection
* Updated documents
* Renamed selectionColumnWidth to columnWidth
2018-03-05 18:23:01 +08:00
Wei Zhu
c0e9a22fa9
Update snapshot
2018-03-05 11:23:26 +08:00
afc163
af8e54f1d6
Fix table radius in chrome
2018-03-03 16:42:48 +08:00
Arnab Sen
d40a3408c6
Corrected typo ( #9490 )
2018-03-02 22:19:10 +08:00
Sam Chen
fd147deb75
Update input group demo ( #9482 )
2018-03-02 15:26:05 +08:00
afc163
2fe64d429a
Fix button group align issue in chrome, close #1019
2018-03-02 15:25:31 +08:00
Wei Zhu
5e7bff8b5e
Update snapshot
2018-03-02 14:12:30 +08:00
byuanama
98f938798d
Update index.en-US.md ( #9479 )
2018-03-02 13:18:06 +08:00
Wei Zhu
a4fea8f22c
docs: Add Table pagination position to demo
2018-03-02 12:35:25 +08:00
afc163
7d3573d471
use more clear function name, close #9465
2018-03-02 12:06:33 +08:00
Camol
ae2990e241
feature: [Table] Pagination on the top in addition to the bottom. fix… ( #9357 )
...
* feature: [Table] Pagination on the top in addition to the bottom. fix (#9346 )
* refactor pagination of table (#9357 )
* specify the position of pagination when using table - add test
* specify the position of pagination when using table - update API docs
* update api docs
* fix error
* add TablePaginationConfig extends PaginationProps
2018-03-02 12:00:28 +08:00
twobin
d816879e78
fix: add props of onPopupScroll in Select ( #9475 )
2018-03-02 10:15:01 +08:00
Karthik K
f24e41806d
Minor punctuation correction ( #9472 )
2018-03-01 22:08:31 +08:00
Wei Zhu
1b3118e1dc
Use week year
...
Fix #9463
2018-03-01 17:24:06 +08:00
Wei Zhu
9634bea391
Complicate with less 3
...
Fix #7850
2018-02-28 14:35:02 +08:00
afc163
8a6b76acde
support less vars for tabs title font size
2018-02-28 11:07:26 +08:00
afc163
bea95bf77c
Merge branch 'master' into feature-3.3.0
2018-02-28 10:56:45 +08:00
VTHINKXIE
23e7716137
fix(module:timeline): fix timeline head custom style error in chrome ( #9429 )
2018-02-27 20:44:28 +08:00
Wei Zhu
755b3e9043
Fix Select dropdown box-radius
...
refer 82092c15
2018-02-27 18:27:31 +08:00
Wei Zhu
aa9b7a4e4d
Update snapshot
2018-02-27 18:07:39 +08:00
Wei Zhu
82092c154a
Fix Select dropdown border
2018-02-27 17:21:33 +08:00
afc163
40e354c373
Merge branch 'master' into feature-3.3.0
2018-02-27 10:12:19 +08:00
Wei Zhu
5df04e6827
Fix lint
2018-02-26 17:24:55 +08:00
Wei Zhu
54242e968f
Set Table filter dropdown menu popup container
...
Fix #9209
2018-02-26 16:45:26 +08:00
valleykid
eab4fdfe95
Update snapshot
2018-02-25 07:57:23 +08:00
Ivan Kravets
86ab00fbbd
Use default background for button states ( #9411 )
2018-02-24 22:25:50 +08:00
Wei Zhu
c28d6f1624
Remove table overflow:hidden, fix #7799
2018-02-24 11:46:46 +08:00
Mathew
947cee4475
fix issue #9359 ( #9364 )
...
* fix issue #9359
* fix trailing whitespaces
2018-02-24 11:40:44 +08:00
MinJeong Kim
feaf238dfa
fix: set -has-trigger
class in sider when -trigger
div exists ( #9399 )
...
* fix: set `-has-trigger` class in sider when `-trigger` div exists
* fix: fix template expr lint error
2018-02-24 10:35:04 +08:00
Wei Zhu
f1fd85780e
Revert "fix type of column dataIndex ( #9298 )"
...
This reverts commit f8e996ee8e
.
Close #9393
2018-02-22 15:56:37 +08:00
Wei Zhu
dc439bd7c3
Remove generic type from ComponentDecorator, fix #9331
2018-02-22 15:52:35 +08:00
Wei Zhu
2c95ea0e5e
docs: document Tabs[onChange] argument
...
Close #9386
2018-02-22 10:44:53 +08:00
Wei Zhu
a6ffd332fa
docs: fix parameter
2018-02-16 15:20:25 +08:00
Christopher Deutsch
97b09b393b
onKeyPress and onKeyDown got the wrong type in #9316 ( #9365 )
2018-02-15 13:10:35 -06:00
Wei Zhu
a438b9b33f
Add spin dot className to custom indicator
2018-02-14 12:56:22 +08:00
Wei Zhu
7d5db31e67
Fix table custom spin indicator
...
Fix #9355
2018-02-14 12:56:22 +08:00
George Gray
053396810b
add @badge-font-weight var ( #9352 )
2018-02-14 12:35:52 +08:00
George Gray
676635abde
var to theme pagination font ( #9351 )
2018-02-13 21:38:34 +08:00
Dimitri Mitropoulos
c92cf5b778
adds missing argument in Select onChange prop ( #9332 )
...
* adds missing argument in Select onChange prop
from the docs:
`function(value, option:Option/Array<Option>)`
also, (from reality) the callback really does send an option or options array.
* updates type to use ReactElement instead of Object
2018-02-13 07:33:25 -06:00
MuYu
1d1ea1ac59
fix switch doc error ( #9338 )
2018-02-12 12:10:07 +08:00
afc163
ba236419be
Fix badge API doc
2018-02-11 19:21:12 +08:00
afc163
c04377e541
Add more icons, #9092
2018-02-11 17:10:18 +08:00
afc163
626ebf2063
Fix upload list update logic when beforeUpload return false
...
close #8020 #8779 #9248 #9191
ref #8036
2018-02-11 16:11:13 +08:00
afc163
220d28d3e4
support keyboard for Modal.confirm, close #8818
2018-02-11 13:45:32 +08:00
Juan Rodrigo Venegas Boesch
0e591ef01c
Divider orientation feature ( #9275 )
...
User can align the text to the left or right with "orientation" prop, if not set it will be centered.
2018-02-11 11:51:56 +08:00
afc163
e8fa1f168b
Merge branch 'master' into feature-3.3.0
2018-02-11 11:51:05 +08:00
afc163
e3f115dd3d
update snapshot
2018-02-11 11:48:59 +08:00
afc163
1ae7da3878
Fix hasFeedback icon position in vertical form layout
...
close #9153 and #9309
2018-02-11 11:44:49 +08:00
Wei Zhu
2aaef6564d
docs: add inputReadOnly
2018-02-11 10:28:17 +08:00
Jesper We
4a69446be1
Implement inputReadOnly for TimePicker ( #9327 )
...
* Update package.json
* Document inputReadOnly
* Add inputReadOnly declaration.
2018-02-10 20:22:18 -06:00
afc163
f27bc6bd9d
fix snapshot
2018-02-09 17:07:33 +08:00
afc163
5accd6367a
Fix submenu z-index, close #9218
2018-02-09 15:56:34 +08:00
afc163
2909e5f651
Fix sorter icon click area overflow in Table
...
close #8979
2018-02-09 15:50:08 +08:00
Wei Zhu
b5f88c0005
Fix table padding close #9319
2018-02-09 14:58:03 +08:00
诸岳
240289ed73
Remove TimePicker wrong line-height style, close #9292 ( #9317 )
2018-02-09 11:36:43 +08:00
jim
50863acb1b
datePicker add dropdownClassName prop fix #7211
2018-02-09 11:35:13 +08:00
Yury Kozyrev
1e92ff8efd
onKeyPress and onKeyDown typings ( #9316 )
...
* Update Checkbox.tsx
* Update button.tsx
2018-02-08 20:35:54 -06:00
John Johnson III
3ffe718476
fix typo in less good ( #9315 )
...
Fix `background` property value by changing it from `transprent` to `transparent`
2018-02-09 10:05:56 +08:00
Benjy Cui
44063967a1
fix: make Mention autosize height by default, close : #9068 ( #9307 )
2018-02-08 23:50:42 +08:00
Benjy Cui
2411bdb7b7
fix: placeholder of Mention should not be interactable, close : #9215 ( #9306 )
2018-02-08 22:39:43 +08:00
Wei Zhu
7d3ff69e12
Fix small bordered table style
...
Fix #8980
2018-02-08 16:14:45 +08:00
jim
7b4abe7568
doc add select component showArrow props document
2018-02-08 16:13:09 +08:00
afc163
dc7d9de4cd
revert demo code
2018-02-08 15:52:24 +08:00
afc163
70f3afeda0
Fix ButtonGroup style bug when have disabled button, close #9296
2018-02-08 15:51:53 +08:00
afc163
6577616be2
fix demo
2018-02-08 14:26:33 +08:00
afc163
875024cd1e
update onRow usage
2018-02-08 14:25:49 +08:00
afc163
3ed3a078e1
Document for Table onRow, ref #355
2018-02-08 14:14:46 +08:00
Leo
f8e996ee8e
fix type of column dataIndex ( #9298 )
2018-02-07 20:26:03 -06:00
afc163
a5f29f06a5
Fix select arrow style in IE11
2018-02-07 20:29:40 +08:00
Wei Zhu
e992682aa8
Ignore invalid end date
...
Fix #9267
2018-02-07 14:23:17 +08:00
afc163
33e2ef0f8d
revert 1502d36
to fix #9276
...
ref #7934
2018-02-07 11:43:21 +08:00
Andreas Cederström
f1bd8d0d11
proper class on avatar when image doesnt exist ( #9278 )
2018-02-07 10:43:27 +08:00
afc163
59b18b4c26
Fix card loading with empty children, close #9258
2018-02-06 11:45:22 +08:00
Wei Zhu
ca6a8d13bd
site: Update Table drag demo
...
Close #9255
2018-02-05 11:08:16 +08:00
Wei Zhu
18188317c1
Update snapshots
2018-02-04 22:20:39 +08:00
Wei Zhu
1735d89a66
docs: Update RangePicker[ranges] type
2018-02-04 20:35:28 +08:00
Wei Zhu
49c2a6220b
Merge branch 'feature-3.2'
2018-02-04 17:24:16 +08:00
mgrdevport
b87f76e64a
Change Calendar mode via property ( #9243 )
2018-02-04 02:50:50 -06:00
愚指导
df4097ca4d
[Select] Pass Option as onChange and onSelect second argument ( #9228 )
2018-02-04 02:42:33 -06:00
George Gray
22c3097d79
Vars to theme Tabs ( #9172 )
2018-02-04 02:42:13 -06:00
Wei Zhu
70f30ef065
Trigger onOk when click on preset range ( #9213 )
...
Close #7747
2018-02-04 02:41:02 -06:00
ryanhoho
42354989e9
修复默认样式和card样式下,tabPosition=bottom时的样式错误 ( #9104 ) ( #9165 )
2018-02-04 02:40:44 -06:00
YuChao Liang
75c365aa2c
fix(TextArea): calculateNodeHeight ( #9107 ) ( #9108 )
2018-02-04 02:18:20 -06:00
Zheeeng
24e373a812
Remove span.ant-tag-text in Tag, and remove type casting in Dropdown ( #9055 )
...
* Remove span.ant-tag-text
Warp React.ReactNode with span element is not suggested. It may cause anti-specification problem: `<span><span>I'm spec breaker</span></span>`. span is not a general tags container.
Another benefit from this change is keeping the same structure with CheckableTag.
After inspecting the removing of the style of .ant-tag-text, seems bringing no problems. The old example employeed this css class has gone long long time ago. See: 0635877a51
* Use React.Children.only api to supress type casting
By codes, the children and the overlay of Dropdown must be **single** and **valid React.ReactElement**. React.Children.only takes it and report more friendly React internal built error messages.
* Revert hack CSS styles: filling .ant-tag's block area with orphan child anchor
2018-02-04 01:29:56 -06:00
George Gray
03c180ff08
Use @btn-primary-bg for primary ghost btn ( #9236 )
2018-02-02 03:23:14 -06:00
Wei Zhu
29969959f8
Revert "Add test for 3b0a704"
...
This reverts commit 980b2cc32b
.
2018-02-02 15:36:35 +08:00
Wei Zhu
980b2cc32b
Add test for 3b0a704
2018-02-02 14:50:55 +08:00
Wei Zhu
aa88c656f1
docs: remove expaned row hover background color
...
Close #8775
2018-02-02 14:07:57 +08:00
Wei Zhu
a9537e5934
Update snapshot
2018-02-02 12:33:39 +08:00
Wei Zhu
3b0a704df8
Only clear hoverValue when picker is open
...
Fix #6364
2018-02-02 12:20:26 +08:00
afc163
7a33a9e5d5
Fix extra wrapper of Card children, close #9226
2018-02-02 11:54:19 +08:00
Evert Bouw
0c69d721de
Fix(Typings): Add OnHeaderCell property to ColumnProps ( #9223 )
...
* Fix(Typings): Add OnHeaderCell property to ColumnProps
* onHeaderCell actually receives the ColumnProps object
2018-02-01 04:54:50 -06:00
Wei Zhu
ef55562deb
Attempt to fix #8885 again, add more tests ( #9164 )
2018-02-01 02:12:42 -06:00
Wei Zhu
bebed2c4ae
Allow function for preset range ( #9195 )
...
* Allow function for preset range
Close #8281
* Rename RangePickerRange to RangePickerPresetRange
2018-02-01 02:05:57 -06:00
afc163
8d6252cfe1
Fix missing scrollbar in chrome
2018-02-01 13:21:07 +08:00
mgrdevport
5fd741bf21
Pass name prop down to the table selection input ( #9054 )
2018-01-31 01:07:53 -06:00
afc163
6c46692160
Tweak confirm title style
2018-01-31 14:46:45 +08:00
Wei Zhu
842c7f21d9
Fix RangePicker input ( #9009 )
...
fix #6999
fix https://github.com/react-component/calendar/issues/286
2018-01-30 22:01:27 -06:00
afc163
9f2b4905f0
Fix AutoComplete border color in form
2018-01-31 10:47:25 +08:00
Pyroboomka
99469bd1b1
Syncing forceRender prop with rc-collapse. ( #9192 )
2018-01-30 20:44:33 -06:00
Wei Zhu
3b931e97c4
Merge branch 'master' into feature-3.2
2018-01-31 10:08:23 +08:00
Wei Zhu
5c00985fed
Add children to AntTreeNodeProps
2018-01-30 16:50:49 +08:00
Wei Zhu
17e26ecb71
Revert "docs: fix DatePicker start end demo"
...
This reverts commit b9120980fb
.
2018-01-30 16:01:11 +08:00
ryanhoho
b93e33c535
table size padding use @table-padding-vertical & @table-padding-horiz… ( #9106 )
2018-01-29 21:05:37 -06:00
George Gray
d19fa740c7
use highlight var on vertical menu ( #9169 )
2018-01-29 20:18:54 +08:00
Wei Zhu
b9120980fb
docs: fix DatePicker start end demo
...
Close #9163
2018-01-29 19:19:36 +08:00
Wei Zhu
1c27c28ba9
Fix Turkish locale
2018-01-29 11:13:55 +08:00
Wei Zhu
fa14765695
Revert "Control Calendar value, fix #8885 ( #9141 )"
...
This reverts commit 98387ad819
.
2018-01-28 21:49:02 +08:00
nikogu
3ad71ea36a
Merge branch 'master' into feature-3.2
2018-01-27 22:30:34 +08:00
Yury Kozyrev
76c7ce669a
add tabIndex to select ( #9144 )
2018-01-27 14:27:27 +08:00
sallen450
a9562e75fe
Fix(Table): Hide emptyType in Table
when loading
prop is true ( #9095 )
...
* fix(Table): Hide text in when prop is true
* test(Table): renders empty table without emptyText when loading
* refactor: code style
2018-01-26 09:30:11 -06:00
Wei Zhu
98387ad819
Control Calendar value, fix #8885 ( #9141 )
...
If not control Calendar value, the internal value of Calendar will keep a
different date than parent component.
2018-01-26 23:14:40 +08:00
Wei Zhu
5950c09bf8
Update snapshot
2018-01-26 23:00:13 +08:00
Wei Zhu
5afb1a28b6
Merge branch 'master' into feature-3.2
2018-01-26 17:14:44 +08:00
luyiming
e511c2ac33
fix tree demo drag&drop bug ( #9131 )
2018-01-26 13:30:44 +08:00
Qingrong Ke
b50ca50bad
docs: update head.md of Table ( #9133 )
2018-01-26 10:39:22 +08:00
潘晓升
e4d7e5e510
Update index.tsx ( #9126 )
...
add the “style” property for declare file
2018-01-26 10:38:28 +08:00
afc163
506f97640e
Fix font family name, close ant-design/ant-design-pro#813
2018-01-26 10:24:41 +08:00
niko
f2ba99978d
upgrade snapshots ( #9127 )
2018-01-25 18:24:59 +08:00
Wei Zhu
d47325bf51
Convert RangePicker showDate locale
...
Fix #8970
2018-01-25 18:00:07 +08:00
Vic
7c7125b7fa
fix(notifiction): Complement duration missing type definition. ( #9120 )
2018-01-24 22:29:03 -06:00
George Gray
7d9a93e7ed
vars to theme Menu ( #9115 )
2018-01-25 10:59:49 +08:00
afc163
b3f31216df
Fix #9103 , ref #7351
2018-01-24 21:54:01 +08:00
ahalimkara
937f249b38
Kurdish translation ( #9064 )
...
* Revert "Merge branch 'master' into feature-3.2"
This reverts commit b7901e541a
, reversing
changes made to 7a7933038c
.
* Revert "Revert "Merge branch 'master' into feature-3.2""
This reverts commit ebf5e4c4f0
.
* Kurdish translation
* Update jest snapshot for ku-iq
2018-01-24 21:40:29 +08:00
Wei Zhu
7cc05d487c
Merge branch 'master' into feature-3.2
2018-01-24 10:49:53 +08:00
mgrdevport
cfdb1cab4b
Pass id prop to DatePicker input field ( #8598 )
2018-01-24 10:48:34 +08:00
Wei Zhu
4332613633
Revert "Pass id prop to DatePicker input field ( #8598 )"
...
This reverts commit 38bf0be4ab
.
2018-01-24 10:48:03 +08:00
mgrdevport
38bf0be4ab
Pass id prop to DatePicker input field ( #8598 )
2018-01-23 20:45:46 -06:00
George Gray
72a5b1fef7
Vars to theme slider ( #9065 )
...
* vars to theme slider
* add @slider-margin back
2018-01-23 21:03:22 +08:00
afc163
2759460908
Improve avatar style
2018-01-23 21:02:50 +08:00
afc163
8c442cfaf0
Fix submenu title padding
2018-01-23 21:00:11 +08:00
VTHINKXIE
902fa9fea2
fix(doc:grid): fix error in en doc ( #9078 )
2018-01-23 16:33:07 +08:00
afc163
1502d3604d
Fix unexpected select disappearing in IE11, close #7934
2018-01-23 11:31:27 +08:00
Jing Ma
dab43f4c7a
Removed unnecessary section ( #9067 )
2018-01-22 09:18:09 -06:00
ddcat1115
b7901e541a
Merge branch 'master' into feature-3.2
2018-01-21 19:56:31 +08:00