Commit Graph

6460 Commits

Author SHA1 Message Date
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
रोहन मल्होत्रा
ec16d97086 added subMenuCloseDelay & subMenuOpenDelay props to menu interface (#9049) 2018-01-21 01:13:23 +08:00
Wei Zhu
6ea33da9f8 Don't use ISO week (#9025)
https://en.wikipedia.org/wiki/ISO_week_date

fix #9021
2018-01-21 01:05:19 +08:00
Wei Zhu
a8a4152c65 Clear RangePicker hover value after panel close (#9029)
Fix #8839
2018-01-21 01:03:51 +08:00
niko
a09f531453 add grid xxl to List fixed: #9019 (#9038) 2018-01-21 01:03:00 +08:00
Minwe LUO
7a7933038c feat: Alert added iconType to support custom icon (#8811) 2018-01-21 00:59:25 +08:00
曾凯
d868c5a58e fix Input type error (#9046) 2018-01-20 19:35:14 +08:00
George Gray
aa9e335145 add vars to theme Breadcrumb component (#9022) 2018-01-20 16:04:49 +08:00
ddcat1115
4286131735 fix doc error 2018-01-20 12:46:30 +08:00
Wei Zhu
aa4a619f41 Merge branch 'master' into feature-3.2 2018-01-19 19:20:14 +08:00
Wei Zhu
0bb531aca6 Refactor DatePicker types 2018-01-19 19:07:18 +08:00
afc163
49a53bf8df Add successPercent for progress 2018-01-19 15:22:37 +08:00
afc163
3a98fce47c Merge branch 'master' into feature-3.2 2018-01-19 15:06:09 +08:00
afc163
32023c24e5 Add aliyun icon 2018-01-19 12:04:50 +08:00
sallen450
e0fb5b8866 Fix: Dropdown.Button not fully disabled (#9013)
* fix(Dropdown): dropdown won't be fully disabled

* test(Dropdown): check  props pass to Dropdown
2018-01-18 09:39:34 -06:00
afc163
1d9afb6510 Fix button group z-index, close #9014 2018-01-18 17:22:30 +08:00
afc163
200d6cb11a Fix wrong margin of tabs 2018-01-18 13:42:03 +08:00
afc163
9926c3d523 update Tabs API doc 2018-01-18 13:42:02 +08:00
George Gray
a9abe14122 Vars for checkbox and radio (#9003)
* vars for radio component

* add @checkbox-color var
2018-01-18 10:22:03 +08:00
Reed Sun
a2b6d0a23e docs: 修改 Layout 组件文档中 breakpoint width 与代码不一致的问题 (#8995) 2018-01-17 21:54:54 +08:00
afc163
f95cb04585 Add demo for row-click selection 2018-01-15 17:24:40 +08:00
Wei Zhu
a7b939db43 Set moment.locale to en if no locale code provide 2018-01-15 14:59:09 +08:00
Wei Zhu
96c312f8fb Revert "docs: Fix LocelProvider demo"
This reverts commit 6f9c8da502.
2018-01-15 14:59:09 +08:00
Wei Zhu
4f56b4d52d Fix error when locale is null 2018-01-14 01:30:21 +08:00
Wei Zhu
6f9c8da502 docs: Fix LocelProvider demo 2018-01-14 01:09:46 +08:00
Wei Zhu
46b45acb12
Remove babel-plugin-add-module-exports (#8888) 2018-01-13 05:11:53 -06:00
bzone
3418cb8a60 update Badge doc (#8905)
* Update index.zh-CN.md

* Update index.en-US.md
2018-01-13 04:10:45 -06:00
Wei Zhu
7f5922b209
Lazy set moment locale (#8785) 2018-01-13 03:53:25 -06:00
afc163
5dfb114842 fix dropdown transitionName 2018-01-13 17:25:08 +08:00
afc163
dc5dd90752 fix less var typo 2018-01-13 14:04:31 +08:00
afc163
df89715d5f update demo 2018-01-13 14:00:51 +08:00
Graeme Yeates
c9d73978dd Add less variables to control the paddings and margins of tabs (#8954) 2018-01-13 01:27:18 +08:00
afc163
f88a405c32 Fix text font family unexpected change in chrome, close #8636 2018-01-12 21:53:34 +08:00
afc163
7aa665cc14 Add hasSider to avoid flickering in ssr
close #8937
2018-01-12 20:44:35 +08:00
afc163
9cbe6ca6b3 Merge branch 'master' into feature-3.2 2018-01-12 20:35:24 +08:00
afc163
365bf6d781 fix snapshot 2018-01-12 19:15:29 +08:00
afc163
84a177af43 remove extra space in classname 2018-01-12 16:33:04 +08:00
afc163
d4844bbaf8 tweak input group align in form item 2018-01-12 15:54:10 +08:00
afc163
314345cf8c Fix Form[layout=vertical] style 2018-01-12 14:55:04 +08:00
Graeme Yeates
5931b201da Add @card-hover-border variable (#8939) 2018-01-12 10:03:14 +08:00
Graeme Yeates
b9b5abab33 Add @switch-color to control switch colors (#8940) 2018-01-12 10:02:34 +08:00
Yury Kozyrev
88e0c9b436 More tabIndex properties (#8936)
* Update Checkbox.tsx

* Update Input.tsx

* Update index.tsx
2018-01-12 00:09:23 +08:00