Commit Graph

5602 Commits

Author SHA1 Message Date
LeezQ
6954c3506c docs: add typescript demo (#7330)
* feat: add typescript demo

add form typescript demo code

* Update index.zh-CN.md

* add TypeScript demo code

add TypeScript demo code

* Update index.en-US.md

* Update index.zh-CN.md

* Update index.en-US.md
2017-09-01 10:36:31 +08:00
afc163
a204c0afa2 restore default cursor, close #7410 2017-09-01 10:04:25 +08:00
偏右
f3911b3707 Feat week picker (#7404)
* New Component WeekPicker

close #212

* Add WeexPicker in API doc

* update snapshot

* Add test cases

* update snapshot
2017-08-31 20:44:22 +08:00
Ricardo Raphael Joson
bedfb180a8 Update index.en-US.md (#7403) 2017-08-31 17:13:28 +08:00
偏右
81f16cb2e0 Merge pull request #7400 from ant-design/feature-2.13
Feature 2.13
2017-08-31 16:02:04 +08:00
afc163
a3e723648b upgrade react-slick to 0.15.0 2017-08-31 12:20:10 +08:00
afc163
a0a1bff7fe Use real count as badge title 2017-08-31 10:55:25 +08:00
niko
75518241d6 List optimize (#7391)
* change spin size to large

* fixed list loading
2017-08-30 15:16:48 +08:00
afc163
843d82f6bd fix demo sanpshot 2017-08-30 14:24:47 +08:00
afc163
90c1dfc5c0 fix demo sanpshot 2017-08-30 14:22:18 +08:00
afc163
9547fe5bc4 fix demo sanpshot 2017-08-30 14:21:20 +08:00
afc163
81048aafb2 Improve itemRender of Pagination 2017-08-30 14:03:37 +08:00
nikogu
e4860bfac0 update snapshots again 2017-08-30 13:51:27 +08:00
afc163
96dd7132e8 Merge branch 'master' into feature-2.13 2017-08-30 13:22:38 +08:00
nikogu
0a9e28226b update snapshots 2017-08-30 11:53:46 +08:00
nikogu
33c41e97f7 List: change padding bottom 2017-08-30 11:45:47 +08:00
niko
44f63ae010 change list border color (#7390) 2017-08-30 10:30:23 +08:00
afc163
56b6fc38d7 fix sider layout min height 2017-08-29 23:58:27 +08:00
afc163
3ceda311b6 menu cannot be selectable in dropdown defaultly 2017-08-29 19:55:09 +08:00
afc163
7fed87f835 doc: fix undocumented selectable prop of Menu 2017-08-29 19:45:13 +08:00
John Nguyen
6c509f9712 adds selectable prop to typescript file (#7384) 2017-08-29 19:42:55 +08:00
afc163
c23afb05d0 Fix test case 2017-08-29 19:41:59 +08:00
afc163
fe09eec9aa improve empty cell style 2017-08-29 17:55:50 +08:00
afc163
f2fe374a18 Improve spin transition delay 2017-08-29 16:40:28 +08:00
afc163
2bedd6b0e6 Improve spin transition delay 2017-08-29 16:39:29 +08:00
afc163
429cdb448d Fix RangePicker text overlap 2017-08-29 15:08:55 +08:00
afc163
a5733f5de3 Fix RangePicker text overlap 2017-08-29 15:08:06 +08:00
John Nguyen
3b6ea67115 adds className to DropDown component" (#7378) 2017-08-29 13:27:38 +08:00
Leo
fc8f533e67 fix ts checking (#7355)
* add title prop to Option component(for ts checking)

* fix Checkbox onChange type
2017-08-29 08:58:51 +08:00
XBTop1!
a5b0848efe doc: add disableCheckbox property for TreeSelect (#7370) 2017-08-29 08:35:49 +08:00
afc163
5a971b24ad Merge from master 2017-08-27 19:32:02 +08:00
afc163
1e48ec0c6a Merge branch 'master' into feature-2.13 2017-08-27 19:31:09 +08:00
afc163
a94e3ab3e0 Add test case for empty table 2017-08-27 17:30:29 +08:00
afc163
6527f9cdb0 More elegant empty style for fixed-columns Table
close #7298

close #7142
2017-08-27 17:30:29 +08:00
偏右
742999ff28 Fix matchMedia not present in jest test (#7344)
close #6560

close #3308

close #7341
2017-08-27 16:53:36 +08:00
afc163
d84452e8b8 Fix snapshot generate, close #7318 2017-08-27 16:07:07 +08:00
偏右
a7200c906c Add hideDefaultSelections (#7342)
close #7295
2017-08-27 15:44:22 +08:00
afc163
7e2d456453 Fix ci 2017-08-27 14:43:23 +08:00
afc163
8f6c0d8fc9 Fix snapshot 2017-08-27 14:12:42 +08:00
afc163
53ffc83d23 Fix snapshot 2017-08-27 14:10:29 +08:00
afc163
ef8beaffde Merge from master 2017-08-25 22:51:14 +08:00
afc163
21f375b7d7 update TreeSelect doc 2017-08-25 17:20:43 +08:00
ddcat1115
83a02a6050 fix demo (#7327) 2017-08-25 16:37:00 +08:00
afc163
6dade37aec update doc 2017-08-25 14:54:54 +08:00
afc163
3d322a7c04 Tweak tooltip background and fix basic demo 2017-08-25 10:11:22 +08:00
afc163
0d26b4c972 doc: update Upload API description 2017-08-24 18:37:26 +08:00
XuMM_12
35bc4726a9 Fix Checkbox Group disabled status (#7266) (#7296) 2017-08-24 12:56:25 +08:00
ddcat1115
aa9f97dfda Merge remote-tracking branch 'origin/master' into antd-3.0 2017-08-24 10:45:02 +08:00
afc163
c355eae6d1 Fix node test 2017-08-24 10:05:55 +08:00
afc163
61aac68028 doc: remove new key way 2017-08-24 09:44:17 +08:00
ddcat1115
b10f7726c3 Merge remote-tracking branch 'origin/master' into antd-3.0 2017-08-23 23:12:38 +08:00
ddcat1115
0d4baf302d 调整卡片样式 (#7286)
* 调整卡片样式

* improve
2017-08-23 19:02:27 +08:00
afc163
44319bec11 active the selected item should be highlighted 2017-08-23 18:16:52 +08:00
Ziluo
f04f340fa1 doc:update link of react-blocks (#7299) 2017-08-23 16:36:07 +08:00
Ziluo
fc884242d8 doc:update link of react-blocks (#7299) 2017-08-23 16:34:15 +08:00
afc163
72f7232929 Add test cases for Card and Breadcrumb 2017-08-23 16:29:56 +08:00
afc163
8bdad3d418 update less code style 2017-08-23 13:57:01 +08:00
Tao
62b72d6c51 modify 参数 to 方法 (#7294)
* modify `参数` to `方法`

* modify `Property` to `Method`

* dummy copy-paste
2017-08-23 13:25:44 +08:00
afc163
ac5bdc6983 doc: update select description 2017-08-23 13:17:43 +08:00
Benjy Cui
2268418a97 docs: add docs for validateFields, close: ##7287 2017-08-23 11:13:01 +08:00
afc163
94709bf968 Merge branch 'master' into antd-3.0 2017-08-22 18:37:51 +08:00
afc163
a51a37cbd8 tweak detail of inline collapse menu 2017-08-22 18:37:08 +08:00
Benjy Cui
2620318172 feat: support controlled panels for DatePicker and RangePicker, close: #5190 (#7049) 2017-08-21 21:15:44 +08:00
niko
56f0716b03 List: support responsive (#7272)
* List: support responsive

* change grid api for responsive & use card responsive function

* abstract getGrid

* update snapshots

* defind grid columns number

* defind grid columns number

* add ListGridType
2017-08-21 21:14:20 +08:00
afc163
2d9b374a76 Merge branch 'antd-3.0' of github.com:ant-design/ant-design into antd-3.0 2017-08-21 21:05:41 +08:00
afc163
dc7dfd38c6 Merge from master 2017-08-21 21:02:57 +08:00
afc163
1fdce5db28 Fix tabs snapshots 2017-08-21 21:02:09 +08:00
afc163
50bdbbda40 Add multiple demo for TreeSelect 2017-08-21 18:08:41 +08:00
afc163
84e561b237 Fix removing wrong item when uid is 0, close #7269 2017-08-20 15:39:25 +08:00
山客
ac07dcefb0 Update Table Document (#7268)
Fix syntax errors(markdown table).
2017-08-20 15:15:38 +08:00
afc163
d4171badfd Merge from master 2017-08-19 12:40:40 +08:00
偏右
3b59a03c00 New component divider (#7261)
* Add Divider

* use Divider in table demos

* update demo instruction

* upgrade snapshots
2017-08-19 12:39:11 +08:00
afc163
fcb935b101 improve form doc 2017-08-19 12:12:57 +08:00
lihqi
6624805ad4 Update index.en-US.md (#7259) 2017-08-18 19:19:10 +08:00
lihqi
5bf94956e4 Update index.zh-CN.md (#7258) 2017-08-18 19:19:02 +08:00
afc163
c28c2f6b1e Merge branch 'master' into antd-3.0 2017-08-18 19:18:26 +08:00
afc163
f56e1a7de7 Fix InputNumber id ts type, close #7257 2017-08-18 18:17:06 +08:00
Wei Zhu
145ed77c00 fix: form type (#7245) 2017-08-18 17:21:18 +08:00
afc163
f77c38bddf fix snap 2017-08-18 12:17:07 +08:00
afc163
e00bfdc150 Make Input with addons same default width 100% with Input 2017-08-18 12:09:17 +08:00
afc163
988e12f54b tweak some font weight 2017-08-17 22:10:40 +08:00
afc163
187e9dd85c tweak step number font 2017-08-17 21:51:25 +08:00
afc163
fc11c69d3f Make Input with addons same default width 100% with Input 2017-08-17 18:13:06 +08:00
afc163
b84b17d981 Merge branch 'master' into antd-3.0 2017-08-17 18:03:28 +08:00
afc163
b216597cfd Fix card grid bug 2017-08-17 17:20:28 +08:00
LeezQ
d329d191dd docs: interface define error (#7241)
fix: interface Properties should be separated by semicolons
2017-08-17 16:24:18 +08:00
lvren
a93cb09e15 将sider收起时的宽度变量放到themes中控制 (#7238) 2017-08-17 16:09:04 +08:00
Benjy Cui
e061ada71a test: fix CI 2017-08-17 15:33:26 +08:00
Benjy Cui
9abce572a4 fix: notification.xxx shoud not affect defualtPlacement, close: #5895 2017-08-17 15:23:47 +08:00
Benjy Cui
26d746bd8f fix: should support child.ref in AutoComplete, close: #6814 (#7237) 2017-08-17 13:09:18 +08:00
afc163
01d4acb7a9 Attach more events for Affix display 2017-08-17 11:45:46 +08:00
afc163
fe3af14273 Remove exported SelectPropTypes and fix undefined exports, close #7222 2017-08-17 09:57:23 +08:00
Ramsés Moreno
20ea524ef1 fix: corrections in the Spanish locale (#7234)
* Corrections in the Spanish locale. In Spanish, the only uppercase letter in a sentece is the first letter and not in every word. Some othe minor changes.

* Corrections in the Spanish locale. In Spanish, the only uppercase letter in a sentece is the first letter and not in every word. Some othe minor changes.
2017-08-17 09:36:52 +08:00
afc163
ea92bbf371 fix snap 2017-08-16 22:04:16 +08:00
afc163
f61f811432 Fix sider width transition in IE11
close #6349
2017-08-16 21:46:09 +08:00
afc163
70e10dee59 Fix transition width of sider trigger 2017-08-16 21:46:09 +08:00
jiang
7a5e11c799 fix: tabs show scroll anim and tag anim ease (#7218)
* fix: tabs show scroll anim and tag anim ease

* update snapshot
2017-08-16 21:05:52 +08:00
偏右
2dedc5ec7f Upgrade grid break points (#7230)
close #5122
2017-08-16 20:19:41 +08:00
Benjy Cui
e0bf1cefe7 fix: disabled of Dropdown, ref: #7102 2017-08-16 17:56:07 +08:00
Benjy Cui
1f652bfe4c fix: event.target of Button's click event, close: #7034 2017-08-16 17:43:56 +08:00
Benjy Cui
bee3c43e7a fix: Timeline with only one child should work, close: #7214 2017-08-16 17:31:53 +08:00
afc163
b0da6adf8c Improve responsive of Steps 2017-08-16 16:07:57 +08:00
afc163
ad6dbcb9c6 Fix button in DatePicker 2017-08-16 15:38:12 +08:00
afc163
53640c3f18 update menu API doc 2017-08-16 14:27:22 +08:00
afc163
f0c6350e0e update select demo 2017-08-16 10:38:03 +08:00
afc163
cf3c0aac43 Fix focused style of disabled Pagination button 2017-08-16 09:54:10 +08:00
afc163
9c925d7c9b fix snap 2017-08-15 23:09:45 +08:00
afc163
2318cd47a4 Merge from master 2017-08-15 22:50:00 +08:00
afc163
8dfb44ba72 update card snapshot 2017-08-15 22:36:48 +08:00
afc163
f46112d385 refactor card extra style 2017-08-15 22:34:48 +08:00
afc163
59b11f3b48 Tweak button insert space logic 2017-08-15 20:08:00 +08:00
nikogu
4e68750777 List: remove noHovering prop 2017-08-15 19:57:44 +08:00
nikogu
8ed6883d70 List: change noHovering default true 2017-08-15 17:36:51 +08:00
nikogu
ecef5887b6 merge master 2017-08-15 17:26:56 +08:00
niko
600d589617 fixed some list style bug (#7177)
* fixed some list style bug

* add cursor:pointer to hover style

* fixed hover style
2017-08-15 17:25:14 +08:00
afc163
1f6bcf963f tweak progress initial style 2017-08-15 16:48:49 +08:00
afc163
749b6e7242 Tweak table sorter style 2017-08-15 15:14:02 +08:00
Stefan Paunovic
7d8c7d72b7 feat: add sr_RS locale (Serbian) (#7201) 2017-08-15 09:24:30 +08:00
乐仪
314c095fbf Merge remote-tracking branch 'origin/master' into antd-3.0 2017-08-15 00:13:40 +08:00
afc163
57e3be2c32 Fix select popupContainer in site header 2017-08-14 22:57:45 +08:00
乐仪
cd6b017ce5 fix ts error 2017-08-14 22:25:17 +08:00
ddcat1115
1c518c3d97 Card improve & bugfix (#7204)
* Card improve & bugfix

* update snap
2017-08-14 21:43:32 +08:00
nikogu
0034d0529c add list grid 2017-08-14 11:09:22 +08:00
偏右
a59bcf7e90 change noHovering to true defaultly (#7178) 2017-08-14 09:52:16 +08:00
Mitchell Demler
293d63910a Fix type definition for Card Component. (#7196)
React.Component requires two parameters. The second parameter (State) is now optional in a more recent version of @types/react however upgrading to this has several major/breaking changes elsewhere. I would prefer to explicitly define State as `{}` in this case.
2017-08-14 09:44:44 +08:00
afc163
f6d349731c Fix innerSlider of react-slick, close #7191 2017-08-13 14:52:29 +08:00
Zheeeng
754966991b Rename File interface to UploadFile (#7183)
* Fix doc missing info

* Rename File interface to UploadFile
2017-08-12 13:56:57 +08:00
Mars Wong
1e80254059 doc: add missing API for Cascader (#7187) 2017-08-12 13:56:42 +08:00
nikogu
7d49cc18a9 Merge branch 'master' into feature-2.13 2017-08-12 11:16:33 +08:00
Eden Wang
e633f91c27 Disabled Dropdown is showing Menu on hover (#7102)
* disabled dropdown is showing menu on hover

* fix cr error

* update snap

* update document
2017-08-11 23:55:36 +08:00
afc163
11f9459738 update snapshot 2017-08-11 22:14:16 +08:00
afc163
1651015688 fix card doc, ref #7185 2017-08-11 20:21:16 +08:00
afc163
592653c2ad fix card type tabs className, close #7185 2017-08-11 19:59:55 +08:00
afc163
711703b91e update bootstrap 3 link 2017-08-11 19:08:09 +08:00
Xiaohan Lee
c23c0a6b16 Update docs for Table.render and Upload.onChange (#7180)
* Docs: fix invalid link in docs of Table.render

* Docs: add link for "onChange" in docs of Upload.onChange
2017-08-11 17:05:58 +08:00
jiang
22ef7d1147 add form explain animate (#7172) 2017-08-11 17:05:25 +08:00
afc163
f689ede0fa The collapse trigger of Sider should be fixed and upon menus
close #7161
2017-08-11 16:10:17 +08:00
Zhang Zhi
30e4fa8a8d Remove Button's redundent code (#7176) 2017-08-11 15:06:35 +08:00
Zheeeng
fdc8d357ef Fix doc missing info (#7175) 2017-08-11 12:39:26 +08:00
afc163
c79592cf05 Fix select demo 2017-08-11 10:44:13 +08:00
afc163
af9dc73eef Fix collapse arrow position in IE9/10/11 2017-08-11 10:32:16 +08:00
Zheeeng
d6dde83247 Fix typo (#7170) 2017-08-11 09:30:19 +08:00
afc163
af1e862aef Merge branch 'master' into antd-3.0 2017-08-10 21:45:49 +08:00
afc163
d98d7a451c Add @tag-font-size 2017-08-10 21:45:19 +08:00
nikogu
fab125d741 fixed List Components Props 2017-08-10 18:00:40 +08:00
afc163
b48f749e26 Merge branch 'feature-2.13' into antd-3.0 2017-08-10 16:33:18 +08:00
afc163
d324b28e1a Merge branch 'master' into antd-3.0 2017-08-10 16:32:37 +08:00
afc163
9bcde59001 Add @form-feedback-icon-size 2017-08-10 11:34:08 +08:00
afc163
43751c9930 revert eb3c274, close #7162 2017-08-10 10:54:02 +08:00
afc163
1f18c93d7f Fix empty table scrollbar, close #7142 2017-08-09 21:55:38 +08:00
niko
5836a49899 remove List.Item.Content & change List.Item.Action to List actions props (#7159) 2017-08-09 21:46:48 +08:00
Vemund Santi
b69a6886d7 Locale/nb-NO (#7122)
* locale: Add Norwegian Bokmål locales to Ant Design

* Add Vemund Santi to authors.

* docs: add Norwegian to list of i18n language examples

* test: add tests for Norwegian Bokmål

* Update dependencies. Use locales from rc-pagination.
2017-08-09 20:36:01 +08:00
afc163
47c5de29f3 tweak range picker style 2017-08-09 16:21:18 +08:00
乐仪
f8f34fc1f4 Merge remote-tracking branch 'origin/master' into antd-3.0 2017-08-09 15:59:29 +08:00
niko
12bbe3776c Feature list component (#7150)
* add list component

* fixed the demo syntax

* update list snapshots
2017-08-09 15:45:08 +08:00
偏右
eb3c274e01 Fix extra space in RangePicker
https://gw.alipayobjects.com/zos/rmsportal/sTMIijZIrTkBDaGrEXmI.png
2017-08-09 15:33:30 +08:00
ddcat1115
2b1bed42c9 Card new feat (#7120)
* inner style Card

* support `cover` `actions` `avatar` `description` and `extraContent`

* improve

* refactor
2017-08-09 14:34:10 +08:00
Randy
df934445c0 add a generic type for FormCreateOption (#7119) 2017-08-09 12:59:31 +08:00
Benjy Cui
87bfe2df87 fix: wrappedComponentRef should work, close: #6545 2017-08-09 10:27:34 +08:00
afc163
3001ca4114 typo 2017-08-08 21:22:09 +08:00
afc163
02c5616250 Update Card demo 2017-08-08 21:21:49 +08:00
afc163
807b573bff Collapse the border or Card.Grid 2017-08-08 21:13:29 +08:00
afc163
b687a32044 Fix safari input text align, close #7135 2017-08-08 20:27:05 +08:00
afc163
a329d3d39b Fix file.response type checking, ref #6818 2017-08-08 17:18:55 +08:00
afc163
8892d85e33 use @font-size-base for Badge[text] 2017-08-08 14:23:50 +08:00
afc163
500b222556 Fix stretched layout by content
523b4360d2 (commitcomment-23527573)
2017-08-08 13:38:10 +08:00
afc163
d339e628ed Fix upload default error message, close #6818 2017-08-08 13:34:24 +08:00
Benjy Cui
02daedd67b docs: add missing doc for Form, close: #6959 2017-08-08 10:10:47 +08:00
afc163
4c52ccaff9 Fix Dropdown menu width, close #7124 2017-08-07 21:27:08 +08:00
afc163
4f73a23a10 typo 2017-08-07 17:59:47 +08:00
afc163
29b5f433f8 Fix step title background 2017-08-07 16:11:43 +08:00
afc163
5a33774238 Fix ~ mis-position bug 2017-08-07 15:35:05 +08:00
Dmitry Bolotin
ba0d2598fe Object cloning in flatArray performed only if object has childrenName field. (#7072) 2017-08-07 15:33:18 +08:00
afc163
e3b6430a4b Fix InputNumber border, close #7117 2017-08-07 14:16:28 +08:00
afc163
3570458c31 Fix undefined SelectPropTypes 2017-08-07 11:35:22 +08:00
Yiming
a22a011c49 修改错别字 (#7110)
反应 应为 反映
2017-08-07 10:44:47 +08:00
Michalis Macheras
94d46e4c01 add el_GR locale (Greek) (#6928)
Update index.test.js

Syntactic error corrected
2017-08-07 10:41:38 +08:00
Randy
e4c5ab9c69 Radiogroup with name (#7009)
* Add a name property for RadioGroup

* Add document for RadioGroup's name property

* Add test case for RadioGroup name property
2017-08-07 10:41:38 +08:00
Benjy Cui
456cea652b docs: add zIndex to docs of Modal, ref: 2aa3437 2017-08-07 10:41:38 +08:00
Alex Chao
3727ea2c33 feat: Modal.confirm supports zIndex prop #6722 (#6880)
* Modal.confirm supports zIndex prop #6722

* Fix filename

* Fix the zIndex missing in ModalFuncProps interface
2017-08-07 10:41:38 +08:00
mkermani144
e8ef77b963 Add fa_IR locale 2017-08-07 10:40:34 +08:00
Graeme Yeates
d21523ef8c Use classNames to set ant-column-sort Table attribute 2017-08-07 10:40:34 +08:00
Graeme Yeates
75a6a562a0 Update table head.md snapshot 2017-08-07 10:40:34 +08:00
Graeme Yeates
40e94945d9 Add support for table default sort order (#6449) 2017-08-07 10:40:34 +08:00
yociduo
8016cccd18 rollback basic demo from popconfirm 2017-08-07 10:40:34 +08:00
yociduo
fa0e90f577 remove cancel type 2017-08-07 10:40:34 +08:00
yociduo
528a7645ca remove cancel text 2017-08-07 10:40:33 +08:00
Eden Wang
a5a1458148 add missing trailing commna 2017-08-07 10:40:33 +08:00
Eden Wang
8f1dd9ccda add missing trailing comma 2017-08-07 10:40:33 +08:00
Eden Wang
ee176347ac fix ci compile error 2017-08-07 10:40:33 +08:00
Eden Wang
f7b918add3 update confirm demo 2017-08-07 10:40:33 +08:00
Eden Wang
c712d072eb update okType and cancelType for api docs 2017-08-07 10:40:33 +08:00
Eden Wang
f2b987aaa9 update custom type for modal components 2017-08-07 10:40:32 +08:00
Eden Wang
f5ade936e1 add button type for ok and cancel in popconfirm 2017-08-07 10:40:32 +08:00
Troy Thompson
18c6860296 Adds onFocus and onBlur to Select properties. (#7082) 2017-08-06 16:45:10 +08:00
Mars Wong
e9b3c36866 fix: correct Notification interface (#7073) (#7088) 2017-08-06 13:29:11 +08:00
乐仪
1dd3e001c5 Update Modal doc, relevant:https://github.com/ant-design/ant-design/pull/7085 2017-08-06 12:44:15 +08:00
tim-soft
fdb943e887 Fix formatter (#7098)
The replace function can only work on a string, this little tweak will make the formatter not crash the page when the value is changed.
2017-08-06 11:57:56 +08:00
Ivan Radeljic
1651682020 Update modal documentation (#7085)
Add another way to destroy state on close modal
2017-08-06 00:04:25 +08:00
偏右
cb8f6a6ef5 Fix tabs extra content (#7090)
* Fix tabBarExtraContent style in vertical tabs

close #6578

* update snap

* fix rc-tabs
2017-08-05 23:01:28 +08:00