Commit Graph

4239 Commits

Author SHA1 Message Date
Rex
93128d1481 feat: add slider vertical style (#4473) 2017-01-08 19:14:02 +08:00
陆离
f54e822930 feat: Transfer on search change (#4464)
*  add `onSearchChange(direction: 'left'|'right') => void ` of Transfer

* typo
2017-01-08 19:14:02 +08:00
Benjy Cui
df18edda79 chore: update link to locale format 2017-01-08 19:14:02 +08:00
Jesper We
11ebc915eb feat: Add support for Swedish locale (#4455)
* Swedish locale

* Create sv_SE.tsx

* Create sv_SE.tsx

* Create sv_SE.tsx
2017-01-08 19:14:01 +08:00
Wei Zhu
f6c0e69af5 cleanup npm scripts (#4499)
* Cleanup npm scripts

* Lint fix

* Don't need ignore js files

* Upgrade jest

* Add components index.tsx test
2017-01-08 17:04:09 +08:00
ddcat1115
6495ef3592 fix Layout style (#4506)
* fix #4459

* improve
2017-01-08 17:03:47 +08:00
afc163
b978937af8 fix jest snapshot 2017-01-08 16:59:34 +08:00
afc163
9e4885d959 update select doc 2017-01-07 22:15:22 +08:00
afc163
c0ec375e8e Fix documentation links, close #4496 2017-01-07 22:09:17 +08:00
afc163
237871da32 update spin document 2017-01-07 22:07:09 +08:00
afc163
31d6aca303 move spin variables to default.less 2017-01-07 22:04:52 +08:00
afc163
92c3bef888 Adjust spin style 2017-01-07 22:03:40 +08:00
afc163
1a8f000e35 update doc 2017-01-07 21:28:44 +08:00
afc163
1fbebd4ecf Fix a Cascader align bug 2017-01-06 16:55:38 +08:00
afc163
0d38fefb00 Fix Menu[theme=dark] selected and disabled style, #4440 2017-01-06 11:36:54 +08:00
afc163
1b10733e47 Update tree doc 2017-01-06 10:46:25 +08:00
afc163
0187384445 refactor for code style 2017-01-06 01:33:09 +08:00
afc163
e2b8aee202 fix snapshot 2017-01-05 17:24:14 +08:00
afc163
41ff783868 Add name type for Input, close #4479 2017-01-05 17:19:50 +08:00
afc163
657c707a79 Hide useless prop Form[horizontal] 2017-01-05 16:57:41 +08:00
afc163
53371dfe3e Add plain text form item in demo, close #4465 2017-01-05 16:40:21 +08:00
afc163
9df1eb91db Add form layout demo and fix vertical form style 2017-01-05 16:32:50 +08:00
afc163
a53bb4bfe4 simplify Input.Search code 2017-01-05 15:53:04 +08:00
afc163
26d3c506b3 simplify select combobox demo 2017-01-05 15:47:19 +08:00
afc163
ec35121bae update demo title 2017-01-05 15:35:43 +08:00
afc163
c4ac4d1eca fix Input prefix and suffix vertical align style 2017-01-05 15:34:30 +08:00
Benjy Cui
d4132ac558 chore: add missing definition for Modal 2017-01-05 12:08:43 +08:00
陆离
a0498e436f docs: add document for afterClose props for Modal (#4448)
+ close #4445
2017-01-05 12:06:27 +08:00
Wei Zhu
4305ca7ab0 docs: Docment Select.defaultActiveFirstOption 2017-01-04 18:46:39 +08:00
陆离
e36039acf8 chore: Spinning Pagination of table while loading (#4462)
*  Spinning Pagination of table while loading

 - close #4461

* update snapshots of table
2017-01-04 18:43:11 +08:00
afc163
4443db4de6 css code style 2017-01-04 14:28:56 +08:00
afc163
2c6881a24a Fix error colorPalette is not defined in some situations
close ant-design/ant-motion#44
2017-01-04 14:27:45 +08:00
afc163
56bd431cc6 clean demo 2017-01-04 11:07:49 +08:00
afc163
11f509a972 clean demo 2017-01-04 11:00:58 +08:00
Benjy Cui
9d92066d1f chore: update data-picker detail, ref: #4415 2017-01-04 10:48:40 +08:00
Benjy Cui
29e598a3f3 docs: add missing docs for Option[title] 2017-01-03 16:00:34 +08:00
Jialei
96d3093b14 fix: placeholder in time-picker can be empty string (#4446) 2017-01-03 15:32:43 +08:00
afc163
d0df37ed42 Fix Menu[theme="dark"] text color, close #4440 2017-01-03 00:12:23 +08:00
Edd Hannay
ec2bec5417 Add tokenSeparators prop to Select TS definitions (#4441)
[The documentation](https://ant.design/components/select/) lists the `tokenSeparators` property on the `Select` component, but the TypeScript definition for the component does not contain the `tokenSeparators` property. The underlying `rc-select` component [defines tokenSeparators](https://github.com/react-component/select/blob/master/src/Select.jsx#L79) as `PropTypes.arrayOf(PropTypes.string)`, so I've added it as an optional TypeScript property of type `string[]`.

- Add tokenSeparators to SelectProps in Select Component
2017-01-02 19:11:13 +08:00
ddcat1115
c5b154294e add attribute compact for InputGroup (#4309)
* add attribute `compact` for InputGroup

* improve
2017-01-02 00:12:41 +08:00
偏右
d811ebee5c New color system (#4426)
* Add new color patterns algorithm

* Add color palettes

* update other colors

* fix gray color

* update more tint/shade to colorPalette

* new font color

* Update doc for new color system

* improve doc style
2017-01-01 22:20:06 +08:00
afc163
fb6858c3cc Fix hasFeedback and Select style detail for #4436 2017-01-01 17:39:27 +08:00
Jesper We
d258ace146 Fix #4431 Overlapping graphics with<Select> in <Form.Item ... hasFeedback={true} (#4436) 2017-01-01 17:20:08 +08:00
afc163
793a2d284e Add spin demo test snapshot 2017-01-01 15:42:54 +08:00
陆离
7f7d94068a add delay props of Spin (#4424)
*  add `delay` props of Spin

 + close 4306
 + Specifies a delay for loading state. If `spinning` ends during delay, loading state won't appear.

* improves
2017-01-01 01:13:34 +08:00
Rex
1b8a280614 support suffix (#4283)
* support suffix

* optimize prefix and suffix

* 1. Optimize prefix and suffix implementation
2. Improve the api document
3. Optimize `Input.Search` implementation

* update snapshots
2017-01-01 01:06:19 +08:00
偏右
e4bee3425a Upgrade rc form (#4430)
* support nested form item name by upgrade rc-form

react-component/form#48

* Fix dynamic form demo
2016-12-31 23:47:07 +08:00
afc163
c0a44adb56 Fix Cascader[disabled] background, close #4434 2016-12-31 16:08:58 +08:00
afc163
c285f5f651 fix snapshot 2016-12-30 22:36:10 +08:00
afc163
237d6ab62b fix layout demo 2016-12-30 21:44:10 +08:00
偏右
0062867274 Feature 2.6 (#4429)
* new Layout Component (#4087)

* change Anchor type

* new Layout

* Component update && add snap

* Revert "new Layout Component" (#4131)

* add Layout (#4169)

* add Layout

* update

* fix snapshot

* Improve layout component

1. update demo code
2. drop `position` of Sider
3. improve demo style
2016-12-30 21:41:28 +08:00
afc163
c3982b02aa Fix monthCellContentRender and wrong documentation, close #4394 2016-12-30 15:04:13 +08:00
Wei Zhu
0a3e57a61e Using padding for node gaps, fix #4371 (#4398) 2016-12-30 14:32:34 +08:00
Rex
c8a16b10bd fix the blue border in some scenes (#4382) 2016-12-30 14:27:23 +08:00
afc163
2583798cce Add demo for Case-insensitive search Select, close #4408 2016-12-30 14:05:27 +08:00
afc163
20cd35abe3 fix demo 2016-12-30 14:05:27 +08:00
Wei Zhu
29e4717fe3 Fallback table record key to data index. (#4397)
In last PR #4185, we removed data index from record key, it
leads to inconformity behavior.
2016-12-30 13:50:11 +08:00
afc163
662b213137 Fix Menu[dark] item background, close #4414 again 2016-12-30 13:16:30 +08:00
afc163
35d91d8dee Fix Menu[dark] item background, close #4414 2016-12-30 12:16:29 +08:00
Wei Zhu
42f98e6779 docs: fix typo. 2016-12-29 21:41:46 +08:00
可乐
2e4e1fcaef 避免 value 正好是数字 0 (#4401) 2016-12-29 13:42:14 +08:00
afc163
d570d03698 improve document for Form setFields, close #4370 2016-12-27 21:14:00 +08:00
afc163
869fc54cf7 fix snapshots 2016-12-27 19:32:36 +08:00
afc163
668c481110 Fix table radius without column header, close #4373 2016-12-27 18:24:30 +08:00
afc163
e91f4f2335 improve style code 2016-12-27 17:57:17 +08:00
afc163
3e00fa8e64 update dynamic-settings table demo 2016-12-27 17:47:27 +08:00
afc163
b0a5601c98 fix less variables in slider 2016-12-27 17:04:10 +08:00
afc163
9b8a26ba17 upgrade code style 2016-12-26 19:46:01 +08:00
afc163
d81c425588 fix snapshot 2016-12-26 18:24:00 +08:00
afc163
f07f33d879 fix snapshots 2016-12-26 11:16:28 +08:00
afc163
7602faed65 improve playground.md 2016-12-25 21:31:33 +08:00
afc163
1ef76b40ec update Slider doc 2016-12-25 21:10:14 +08:00
afc163
ee17abfa9d Add Grid playground demo 2016-12-25 21:09:49 +08:00
afc163
0d0d63a741 Improve responsive layout of Pagination, close #4349 2016-12-25 19:55:12 +08:00
Alexandre Kirszenberg
517720895d Dropdown.Button as a single non-wrappable element (#4355) 2016-12-24 23:12:37 +08:00
Benjy Cui
4b08601f0f style: update code style 2016-12-22 17:09:11 +08:00
Benjy Cui
588f0c3d1c chore: expose loadData for Cascader, close: #4215 2016-12-22 16:35:37 +08:00
Benjy Cui
4967d36d2a docs: update demos order for Cascader 2016-12-22 16:23:33 +08:00
afc163
25f8095b67 Add Menu[inlineIndent] documentation 2016-12-22 15:06:37 +08:00
Benjy Cui
114016dd4e chore: add alias for getTooltipContainer 2016-12-22 12:08:17 +08:00
Benjy Cui
8b3e488485 docs: update docs for Tooltip Popconfirm Popover 2016-12-22 12:00:57 +08:00
afc163
2d19ea8344 Add comment 2016-12-22 11:54:03 +08:00
afc163
489d7cf997 Keep Search same default width as Input, close #4334 2016-12-22 11:53:53 +08:00
afc163
08893a47cb fix card snap 2016-12-21 12:19:48 +08:00
afc163
215c2fd7af Fix nested Tabs style, close #4317 2016-12-21 12:00:42 +08:00
afc163
07c39529bb Merge branch 'master' of github.com:ant-design/ant-design 2016-12-21 11:45:39 +08:00
Edd Hannay
8382023409 docs: fix typo in Form demo (#4313)
- Rename checkPassowrd function checkPassword
2016-12-20 20:28:44 +08:00
HJin.me
0e92fa3f23 chore: improve Cascader and Tooltip's get(Popup|Tooltip)Container declaration (#4303) 2016-12-20 14:37:33 +08:00
afc163
847a60ee56 Learn card loading animation from hashnode.com 2016-12-20 12:22:45 +08:00
Benjy Cui
e6052d5832 docs: update demo for badge 2016-12-20 11:06:40 +08:00
afc163
ecd2e57ef2 controlled DatePicker should not be clear 2016-12-20 11:01:10 +08:00
Benjy Cui
77801ff436 fix: CI failed and ts null check 2016-12-20 10:23:25 +08:00
Benjy Cui
f3c55c6ef8 Revert "site: use cdn to improve performance, close: #3646"
This reverts commit 47f56eab23.
2016-12-20 10:19:06 +08:00
Wei Zhu
8018529582 Ensure checkbox props cache is cleared after dataSource changes. (#4288)
Fix #4245
2016-12-19 21:10:06 +08:00
Benjy Cui
47f56eab23 site: use cdn to improve performance, close: #3646 2016-12-19 20:22:29 +08:00
Benjy Cui
9f2e6c8baa docs: update demo for SSR 2016-12-19 17:54:25 +08:00
afc163
0620d52adc Allow to config top multiply 2016-12-19 16:50:20 +08:00
Benjy Cui
62c22f31a9 docs: update demo for table 2016-12-19 16:45:58 +08:00
Sergio Crisostomo
7bc43493c1 docs: Add info about how to turn off pagination (#4285) 2016-12-19 16:37:29 +08:00
Sean Sun
b345074065 fix the lack of '*-offset-0' / '*-push-0' styles, close #4223 (#4281) 2016-12-19 16:18:39 +08:00
Benjy Cui
1351b5da5d refactor: remove splitObject 2016-12-19 15:19:15 +08:00
Benjy Cui
4758302ad5 deps: upgrade antd-tools, close: #4208 2016-12-19 14:01:52 +08:00
Rex
ca8e88971a fix: callback is triggered only when the value changes (#4278)
* callback is triggered only when the value changes

* optimize lastValue assignment
2016-12-19 10:52:47 +08:00
afc163
e1d73eb424 update form documentation 2016-12-18 14:54:12 +08:00
afc163
48de73b721 Fix a FormItem mis-align bug, close #4271 2016-12-16 20:24:50 +08:00
Rex
05e9587ec8 <CheckboxGroup /> support className (#4276) 2016-12-16 20:23:36 +08:00
Benjy Cui
d7498c0af6 Test transfer (#4191)
* refactor: use Checkbox directly

* test: add test case for Transfer
2016-12-16 17:59:52 +08:00
Wei Zhu
d7a110552b Don't use index as row key. (#4185)
* Ensure warning if key is undefined.

* Ensure getRecordKey receives index

* Remove rowKey's second parameter from doc.
2016-12-16 17:53:08 +08:00
Benjy Cui
ba0dce98f5 chore: add warning for invalid usage, ref: #4274 2016-12-16 17:12:48 +08:00
Patrick Gidich
21ec9cb985 fix: issue with TypeScript for children of LocaleProvider (#4234)
Similar to issue:
https://github.com/ant-design/ant-design/issues/4140

Fixed in similar manner to how this issue was resolved:
a28743f648 (diff-9ae0a9df19960a2d1b9608f30f6b19b3)

children?: React.ReactElement<any>
2016-12-16 16:42:50 +08:00
BK Heleth
a973ae18b5 docs: update document (#4263) 2016-12-16 16:38:14 +08:00
Wei Zhu
92edf23d4e docs: Fix search tree demo expand, close #4233 2016-12-15 21:45:56 +08:00
feng zhi hao
6e416f4746 optimize Radio declaration (#4260)
chore: optimize Radio declaration (#4260)
2016-12-15 16:25:15 +08:00
Wei Zhu
c547569d05 docs: Document callback parameters for Pagination 2016-12-15 16:07:04 +08:00
afc163
1f9e61ee69 update default font family 2016-12-15 15:31:28 +08:00
afc163
5b48656b82 Fix Menu[vertical] selected item background, close #4253 2016-12-15 12:12:35 +08:00
afc163
d9b6ff5c8f revert switch height 2016-12-15 12:06:38 +08:00
Pierre
827aa2f94c style: remove hardcoded inputs height (#4175)
* remove hardcoded inputs height

* revert pagination input height

* revert pagination input heights bis
2016-12-15 11:17:09 +08:00
80ea247fa9 fix(Dropdown): onVisibleChange param. (#4252)
* fix(Dropdown): onVisibleChange param.

* doc(Dropdown): update onVisibleChange argument
2016-12-14 20:33:13 +07:00
afc163
bda303a38e fix snap 2016-12-14 18:11:01 +08:00
afc163
dc4cfd3e5f Improve notification style when there is no descrption 2016-12-14 18:07:36 +08:00
afc163
99824d3e9f remove unused className 2016-12-14 17:58:06 +08:00
afc163
b7597e947f update notification demo code style 2016-12-14 17:57:15 +08:00
Wei Zhu
587b874fc8 tests: Add button tests 2016-12-14 15:44:38 +08:00
Wei Zhu
666e80a1ba tests: Fix table import 2016-12-14 15:38:26 +08:00
Wei Zhu
07103b9fb6 Don't ignore test files. 2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283 Restructure tests. 2016-12-14 14:41:39 +08:00
764cd9439d fix(Cascader): onChange's first parameter should be string Array #4231 (#4232) 2016-12-13 21:28:39 +07:00
afc163
dba6b70e38 update upload API, #863 2016-12-13 18:48:11 +08:00
afc163
303fc113c2 Add coordinated form demo 2016-12-13 13:28:16 +08:00
afc163
a15d2c014a update labelInValue description 2016-12-13 11:44:59 +08:00
afc163
9dfe19f544 update labelInValue description 2016-12-13 11:43:31 +08:00
Benjy Cui
a985c15872 deps: upgrade rc-upload 2016-12-12 12:08:15 +08:00
Jieraaa
abba1558c4 style:fix the bug of pseudo class (#4210) 2016-12-11 23:55:30 +08:00
afc163
3af1821bde remove whitespaces 2016-12-11 14:05:19 +08:00
afc163
b912f1cea6 Fix DatePicker[showTime] default width 2016-12-11 13:59:06 +08:00
Rex
bc937aceb8 <Input /> addon have spacing when in table (#4201) 2016-12-10 01:03:16 +08:00
Wei Zhu
7413c61b23 Add missing semicolon. 2016-12-09 13:10:33 +08:00
陆离
5b779e8e8e Exposing onFocus and onBlur callback of Mention (#4164)
*  Expose `onFocus` and `onBlur` callback of Mention

 + close #4163

* add event arguments
2016-12-09 13:03:09 +08:00
Benjy Cui
60da9909d3 site: improve loading performance (#4112)
* site: should generate html file for both of en and cn, ref: #3934

* site: remove loading animation

* site: fix header menu highlight

* site: improve detail

* deps: update
2016-12-09 13:02:16 +08:00
chchen
3382abde65 css: set dropdown's background color with @component-background (#4160) 2016-12-09 10:35:13 +08:00
Benjy Cui
383101830a docs: update demo 2016-12-08 18:15:10 +08:00
Benjy Cui
192ca5d898 css: update icon code, close: #4189 2016-12-08 17:01:51 +08:00
Wei Zhu
66f7b050eb Read initial visible state from column.filterDropdownVisible if it's available. (#4182)
fix #4162
2016-12-08 11:18:35 +08:00
Benjy Cui
000085eb36 style: update code style for Transfer 2016-12-07 18:08:52 +08:00
Benjy Cui
d94f0ab09a docs: update EditableTagGroup demo 2016-12-07 11:08:30 +08:00
Benjy Cui
904be38493 docs: update locale format (#4150) 2016-12-07 10:45:20 +08:00
Benjy Cui
4afb7b4b33 fix: unify selected options format, close: #4096 (#4134) 2016-12-07 10:43:06 +08:00
Benjy Cui
c48d7b557e fix: container component should not use transform, close: #3943 2016-12-07 10:39:26 +08:00
kdenz
aab32236c6 hours array should be from 0 to 23, not 0 to 59 (#4157) 2016-12-07 10:05:31 +08:00
Chris Kelly
ff2d55481e docs: Update loading.md (#4128) 2016-12-06 16:46:12 +08:00
Benjy Cui
273faafaa2 fix: should use moment.isMoment, close: #4147 2016-12-06 14:21:17 +08:00
8ed8b25d73 fix(Tooltip): close #4140 (#4141) 2016-12-05 23:53:20 +08:00
afc163
03eff769be Fix menu item hover color 2016-12-05 16:15:22 +08:00
afc163
9006d74034 Change Anchor category 2016-12-05 13:18:17 +08:00
D & R
57bb12ca3c fix: radio button在disabled和checked状态多了点box-shadow (#4114) 2016-12-05 13:15:49 +08:00
afc163
03d6bdc942 update input API doc 2016-12-05 13:05:58 +08:00
afc163
f9bad27469 Fix DatePicker input style 2016-12-05 00:27:03 +08:00
afc163
99df18139b Improve Menu selected design 2016-12-04 19:26:11 +08:00
afc163
fcdc375f77 update table demo detail style 2016-12-04 17:47:45 +08:00
afc163
779a62093d group column header should be text align centered 2016-12-04 17:43:24 +08:00
afc163
4ac50c660c improve transfer style 2016-12-04 17:08:29 +08:00
afc163
4e589af9b6 Revert loading icon to 1/4 circle 2016-12-04 16:53:59 +08:00
afc163
ad911d8dfa Change way to fix #4092 2016-12-04 16:42:49 +08:00
afc163
5815ce514a Add Radio in form demo, close #3910 2016-12-04 16:19:55 +08:00
afc163
264f02d98f Fix steps icon size and some detail, close #3817 2016-12-04 15:50:54 +08:00
afc163
f5775fec73 Add breadcrumb docs about #4106 2016-12-04 15:17:17 +08:00
afc163
2ba1e8f3ef clean table demo 2016-12-03 17:50:41 +08:00
afc163
89cf3a88e6 only icon down under Dropdown has smaller size, close #4023 2016-12-03 17:48:10 +08:00
afc163
0e97fae3f5 fix vertical-align of ButtonGroup 2016-12-03 17:15:06 +08:00
afc163
cf11a4f809 remove button-nested-icon font-size setting 2016-12-03 17:11:28 +08:00
afc163
c7c886fda6 Improve Affix target demo code style, close #4037 2016-12-03 16:20:53 +08:00
afc163
82902855db fix ts error 2016-12-03 15:51:44 +08:00
afc163
8df23e2d06 revert value undefined for resetFields, close #3846 2016-12-03 15:50:36 +08:00
afc163
bf562c95f1 Fix fixed table empty z-index, close #4016 2016-12-03 15:43:26 +08:00
afc163
37af26fbdf update select demo 2016-12-03 15:35:39 +08:00
afc163
75173dd7b0 Fix Slider[disabled] focus handler style, close #4045 2016-12-03 15:31:42 +08:00
afc163
0e1f154aab Add doc and demo for AutoComplete[placeholder], close #4044 2016-12-03 15:31:41 +08:00
afc163
0bb71e6a6f Fix Input[type=textarea] popover misalign bug, close #4092 2016-12-03 15:31:41 +08:00
Wei Zhu
65b2429ed2 Fix grouping column filter. (#4113) 2016-12-03 15:13:10 +08:00
afc163
edd57defa5 use moment.isMoment
http://momentjs.com/docs/#/query/is-a-moment/
2016-12-03 14:48:44 +08:00
afc163
4184e7c8ac fix input-number snap 2016-12-03 14:44:10 +08:00
afc163
575f0dbc21 change LocaleProvider's component type 2016-12-02 21:06:21 +08:00
afc163
c4b6130daa Merge branch 'master' of github.com:ant-design/ant-design 2016-12-02 15:16:59 +08:00
afc163
2270598f2e update doc 2016-12-02 15:12:01 +08:00
Benjy Cui
c4d8c4770c Add upgrade warning (#4028)
* chore: add upgrade warning for time related value

* chore: update warning

* chore: update demo url
2016-12-02 15:07:33 +08:00
Benjy Cui
a939769069 fix: Tooltip support multi children, close: #3924 (#4105) 2016-12-02 15:07:03 +08:00
Benjy Cui
f3ffae9e54 css: fix icon size in button, close: #4023 (#4080)
* css: fix icon size in button, close: #4023

* test: update snapshot for Button demo
2016-12-02 15:06:59 +08:00
afc163
5370df346c Add transition to input addon 2016-12-02 14:04:44 +08:00
Wei Zhu
d2918d2456 Fix rowSelection defauleChecked 2016-12-02 11:36:05 +08:00
afc163
3802f08191 Fix wrong description about Select[allowClear] (#4101) 2016-12-01 22:28:43 +08:00
Benjy Cui
643463c9f2 refactor: update code style 2016-12-01 22:05:49 +08:00
Benjy Cui
39eb19ad9b fix: Popconfirm[visible] should be controlled prop, close: #4068 2016-12-01 22:05:49 +08:00
Benjy Cui
01dbcbe4af css: should not reset fieldset style, close: #4090 2016-12-01 16:46:05 +08:00
Benjy Cui
47a9c80e82 docs: update demo style 2016-12-01 16:15:24 +08:00
Benjy Cui
d8d065af33 css: width should be set on TimePicker wrapper 2016-12-01 16:11:51 +08:00
Benjy Cui
75c09cb481 css: Form.Item[extra] should be block, close: #4089 2016-12-01 11:25:34 +08:00
Benjy Cui
04269ecb40 docs: hide Button[shape=circle-outline], close: #4077 2016-12-01 11:13:38 +08:00
Ashish Chaudhary
1593140912 Fixes minor typo 2016-11-30 22:31:54 +08:00
Zack Craig
f62fa38ebd Re-word description of upload component (#4085)
Just a little bit of rewording for english speakers, same stuff, just sounds better.
2016-11-30 22:31:30 +08:00
Andrey G
a307a7acf7 refactor: remove unnecessary computed props for classNames (#4055)
* remove unnecessary computed props for classNames

* rollback autocomplete optimization for possible css style order issue

* update snapshots

* remove more unnecessary computed props at Input
2016-11-30 10:20:23 +08:00
陆离
ee2654dbe1 fix: Anchor issue while scrolling window fast (#4054)
*  Anchor issue while scrolling window fast

 + close #4503

* another implement...
2016-11-30 10:10:31 +08:00
Will Chen
6b774a1343 docs: improve docs' detail (#4050) 2016-11-29 17:13:24 +08:00
afc163
3be71e41bf upgrade slider demo style 2016-11-29 13:17:08 +08:00
Benjy Cui
932443099a css: use @component-background, ref: #4040 2016-11-29 11:56:10 +08:00
cathayandy
addb6e44dc Fix #4039. Replace background-color: #fff with background: @body-background (#4040) 2016-11-29 09:54:54 +08:00
afc163
6b0c34bb24 fix tslint 2016-11-28 19:14:43 +08:00
afc163
7d75f6e3de Fix focus style of Form Controls, close #4035 2016-11-28 19:01:14 +08:00
afc163
58d5fafa19 Fix Button loading animation transition in Firefox 2016-11-26 23:39:06 +08:00
afc163
2034126e00 keep old style for compatibility 2016-11-26 14:39:30 +08:00
afc163
13020b7737 fix style 2016-11-26 14:39:30 +08:00
afc163
87f230f57b refactor Input.Search 2016-11-26 14:39:30 +08:00
Wei Zhu
13e13f333d fix: Wrap custom filterDropdown by FilterDropdownMenuWrapper, fix #4010 (#4013) 2016-11-25 16:24:24 +08:00
Benjy Cui
1c58e5ba4b docs: adjust order 2016-11-25 15:34:25 +08:00
陆离
72fad02024 chore: Anchor 动画优化。 (#4011)
- close #3832
 - 点击后给样式就行了, 不要把动画删掉
2016-11-25 15:05:19 +08:00
Wei Zhu
86f1fa030a Fix: table columns not update (#4009) 2016-11-25 15:04:25 +08:00
Benjy Cui
59e0c6a4c1 docs: update demo for upload 2016-11-25 15:00:28 +08:00
Wei Zhu
bd55d21f83 style: Fix jsx-no-multiline-js (#3994)
* Fix jsx-no-multiline-js

* TimePicker addon test

* Transfer search test
2016-11-25 12:03:39 +08:00
Nathan Tavares Nascimento
c97e687edd feature: add pt_BR locale support (#4004) 2016-11-25 09:44:28 +08:00
Pierre Neter
76c8351fc4 docs: Update reponsive-more.md (#4003) 2016-11-25 09:41:47 +08:00
Pierre Neter
38706e16bc docs: Update reponsive.md (#4002) 2016-11-25 09:41:29 +08:00
afc163
dfd15f8a56 Add dingding Icon, close #3961 2016-11-24 18:01:49 +08:00
Benjy Cui
f5cc937c8f fix: Upload should work without children 2016-11-24 17:44:40 +08:00
afc163
9183ef0ede Fix Transfer notFound, close #3996 2016-11-24 17:22:54 +08:00
afc163
c6c5a0c3a1 fix demo focus error 2016-11-24 16:16:27 +08:00
afc163
7c79a1c294 Fix wrong loading icon in Tree, close #3993 2016-11-24 15:04:17 +08:00
Wei Zhu
52f6f992b3 style: Fix jsx self close, #3966 (#3968) 2016-11-24 14:09:43 +08:00
ddcat1115
73c776e73d feat: Input add NumericInput demo & update searchInput demo (#3861)
* Input
add NumericInput demo
update searchInput

* Input

- add Input.Search
- update NumericInput

* snap update
2016-11-24 14:03:57 +08:00
Benjy Cui
e6300e0128 docs: update demo for Tag, close: #3984 2016-11-24 10:51:28 +08:00
afc163
f2f3c5f15a update alert style 2016-11-24 00:34:31 +08:00
afc163
f3df6205a4 fix RangePicker placeholder not working bug 2016-11-23 20:35:34 +08:00
afc163
a8c4f53922 remove unused code in demo 2016-11-23 20:24:36 +08:00
afc163
2260701865 improve demo detail 2016-11-23 20:17:44 +08:00
afc163
6ccaf71841 Add onCellClick API in doc for #3774 2016-11-23 19:45:09 +08:00
偏右
fec52a24c5 feat: Add more icons and improve some icons design (#3977) 2016-11-23 17:55:14 +08:00
Wei Zhu
ccbebe60cc style: Fix jsx alignment, #3966 (#3967) 2016-11-23 17:53:10 +08:00
Albert Zheng
5e1b679dfb chore: Fixed two compiling errors reported by tsc 2.0.10. (#3969) 2016-11-23 17:52:29 +08:00
flashback313
63dadc1efa css: Flashback313 fix checkbox style (#3980)
* Update mixin.less

* fix left2right
2016-11-23 17:47:15 +08:00
afc163
7b61b84145 Add missing doc for DatePicker[placeholder] 2016-11-23 11:30:05 +08:00
afc163
3b8ac48e6b update DatePicker demo format 2016-11-23 11:23:18 +08:00
afc163
0dffd230a8 update TimePicker demo code style 2016-11-22 14:59:09 +08:00
afc163
e62dc08d2c improve preview icon display logic, #3644 2016-11-22 14:44:16 +08:00
afc163
e552880c32 update upload detail 2016-11-22 14:29:07 +08:00
afc163
f77d568322 fix upload prefixCls 2016-11-22 14:29:07 +08:00
Wei Zhu
d20572bdab test: demo snapshot testing (#3916)
* Run snapshot testing against all demos

* Split demo tests

* ignore coverage folder

* Upgrade antd-demo-jest

* enable cache

* intergate with coveralls.io

* Add node test

* Set worker to 2

https://github.com/facebook/jest/issues/1742

* config coverage

* Set default supportServerRender to true
2016-11-22 13:43:53 +08:00
Wei Zhu
4b1722e95d fix: wrong select all checkbox displaying when pagination changes (#3904) 2016-11-22 13:42:45 +08:00
偏右
7748471fa0 feat: Add range into showTotal (#2240#issuecomment-234766623) (#3863) 2016-11-22 10:12:14 +08:00
Wei Zhu
ed455c01d1 feat: Implement Table.Column and Table.ColumnGroup (#3868)
* Implement Table.Column and Table.ColumnGroup

* Upgrade rc-table
2016-11-22 10:11:12 +08:00
Benjy Cui
1c26bca8fe docs: update demo for Pagination, close: #3944 2016-11-22 09:49:25 +08:00
Benjy Cui
f250bdcc98 docs: update demo for form 2016-11-21 18:29:36 +08:00
afc163
70e1e26771 bigger tree icon 2016-11-21 18:17:12 +08:00
Benjy Cui
c3064949cc docs: update demos for Slider 2016-11-21 16:37:04 +08:00
Benjy Cui
dd0be2e82f css: fix style of Slider[marks], close: #3872 2016-11-21 16:10:46 +08:00
Benjy Cui
4ee2b9d930 site: SSR for official website (#3903)
* site: ssr for Layout

* site: SSR for site

* fix: ssr for Anchor

* chore: add ssr test

* chore: update deploy script

* site: udpate detail

* site: revert animation for site

* site: fix loading animation
2016-11-21 14:39:15 +08:00
afc163
34f353deb0 update form API doc 2016-11-21 14:28:20 +08:00
afc163
16c2ee69ab update rate api doc 2016-11-21 13:56:35 +08:00
Benjy Cui
1ae5bb9845 chore: remove quick selector label, ref: #3753 2016-11-21 11:41:33 +08:00
ddcat1115
cd2a1438b7 docs: Table add editable demos (#3922) 2016-11-21 11:29:55 +08:00
ddcat1115
51971be12a Merge pull request #3753 from ant-design/feat-date-picker
feat: basic impl of RangePicker[ranges], ref: #1418
2016-11-21 10:45:56 +08:00
偏右
3caa85b3f3 Merge pull request #3908 from ant-design/docs-customize-theme
Docs customize theme
2016-11-20 19:17:59 +08:00
afc163
6af5c54e6c unify checkbox and expand icon width of Table 2016-11-20 19:09:46 +08:00
ddcat1115
259de9dbab Merge pull request #3824 from ant-design/upgrade-default-theme
Upgrade default theme
2016-11-19 22:29:32 +08:00
ddcat1115
34d00559fc Merge pull request #3869 from RaoHai/mentionOnSelectData
[Document only] onSelect of `Mention` component pass extra data
2016-11-19 22:26:21 +08:00
Benjy Cui
c94f577416 style: update code style for Anchor 2016-11-18 17:25:30 +08:00
Benjy Cui
db035aa691 style: update code style for Anchor 2016-11-18 17:02:57 +08:00
afc163
21b3f70ab3 adjust slider margin 2016-11-18 16:21:37 +08:00
afc163
7af7e8382d Add customize-theme.md 2016-11-18 15:38:36 +08:00
RaoHai
1287f2a19f object -> any 2016-11-18 14:31:46 +08:00
afc163
ca9ed27445 upgrade demo primary-color 2016-11-18 14:24:50 +08:00
afc163
2c9339039c change @primary-color and default border-radius 2016-11-18 14:24:50 +08:00
afc163
cc1f1be8bd fix ts error 2016-11-18 11:31:02 +08:00
afc163
a6e09ccfd0 fix Badge z-index, close #3898 2016-11-18 11:26:29 +08:00
Benjy Cui
38fd7f6feb chore: improve detail 2016-11-18 10:22:11 +08:00
Benjy Cui
e5deba620d css: improve style according to design, ref: #1418 2016-11-18 10:22:11 +08:00
Benjy Cui
f499a026ce feat: basic impl of RangePicker[ranges], ref: #1418 2016-11-18 10:22:11 +08:00
ddcat1115
18dcc09751 Merge pull request #3837 from ant-design/feat-custom-table-column-filter
controlled filterDropdown props
2016-11-17 23:52:17 +08:00
ddcat1115
29001ffe4c Merge pull request #3830 from ant-design/fix-popover
Let Checkbox and Radio response hover events
2016-11-17 22:59:31 +08:00
afc163
16fdb00282 No need Radio[key] in RadioGroup 2016-11-17 17:50:26 +08:00
afc163
33ad640b0f feedback icon should not affect user operation (#3891) 2016-11-17 17:33:00 +08:00
afc163
1c23189b1d update select style 2016-11-17 17:08:38 +08:00
afc163
3c9272a60f Add hover z-index to cover other card 2016-11-17 14:29:48 +08:00
afc163
c20239829d Fix InputNumber vertial-align
https://github.com/ant-design/ant-design/issues/3866#issuecomment-261148256
2016-11-17 12:16:25 +08:00
ddcat1115
260665d1c2 Merge pull request #3853 from RaoHai/anchorLinkFix
Anchor link fix
2016-11-17 11:38:29 +08:00
偏右
c2a4cdb17c Merge pull request #3874 from waywardmonkeys/more-typo-fixes
Typo fixes.
2016-11-16 22:16:26 +08:00
Bruce Mitchener
36508ffabd Typo fixes. 2016-11-16 20:33:37 +07:00
afc163
fc79d6f967 stronger active Progress 2016-11-16 21:01:09 +08:00
afc163
4f7eff39fd fix error controls style 2016-11-16 20:13:00 +08:00
RaoHai
b0bdfcb94c onSelect of Mention component pass extra data
+ close #3867
2016-11-16 17:16:32 +08:00
afc163
5b3df08ade use @input-placeholder-color in select and mention, close #3858 2016-11-16 11:34:25 +08:00
afc163
34b4200220 adjust search input style for combobox change (#3855) 2016-11-15 21:59:29 +08:00
afc163
0d63e5f6b5 Fix select[combobox] vertical align, close #3855 2016-11-15 21:54:22 +08:00
afc163
9e6439b06c fix title and footer height according to Table[size] 2016-11-15 20:06:41 +08:00
偏右
7e5cb09a2d Merge pull request #3850 from waywardmonkeys/missing-dashed-button-doc
docs: Button: Add `dashed` to type property description.
2016-11-15 19:06:59 +08:00
afc163
36003d03ac improve demo code style 2016-11-15 16:44:00 +08:00
RaoHai
146f3180aa lint fix 2016-11-15 15:33:13 +08:00
afc163
aa635b9132 Merge branch 'master' of github.com:ant-design/ant-design 2016-11-15 15:21:51 +08:00
afc163
b69fd4bf9f fix lints 2016-11-15 15:21:13 +08:00
Benjy Cui
e2b6054cc4 style: update code style 2016-11-15 15:18:40 +08:00
RaoHai
12c974660e Anchor 优化
+ using `document.getElementById` instead of `document.querySelector`
+ ink will scroll to target position directly
2016-11-15 15:15:34 +08:00
afc163
f9319e244b Add compatible css centered demo code, close #3849 2016-11-15 15:02:30 +08:00
Bruce Mitchener
b875a6104b docs: Button: Add dashed to type property description. 2016-11-15 13:30:17 +07:00
afc163
1750fc754c Merge branch 'master' of github.com:ant-design/ant-design 2016-11-15 14:13:29 +08:00
afc163
bc45f43042 Fix Menu Devider style and document, close #3813 2016-11-15 14:12:25 +08:00
偏右
1ae4816cd0 fix format props of RangePicker (#3831)
+ close #3808
2016-11-15 14:03:20 +08:00
afc163
ab8f8e4506 update table demo 2016-11-15 12:01:06 +08:00
afc163
d8516ee8df adjust progress vertical align 2016-11-14 22:06:07 +08:00
RaoHai
d4269f8f30 fix format props of RangePicker
+ close #3808
2016-11-14 20:27:51 +08:00
afc163
b0f366cb0f Fix TreeSelect[multiple] placeholder margin bug, close #3841 2016-11-14 20:15:51 +08:00
afc163
fc3d320872 much better way for #3748 and fix ok close animation 2016-11-14 19:38:24 +08:00
afc163
82fa3ed2a5 update DatePicker doc and demo 2016-11-14 19:13:37 +08:00
afc163
1850e4b7cf fix disabled today style 2016-11-14 19:00:17 +08:00
afc163
b54d0ccc31 Fix active Switch style, close #3838 2016-11-14 18:52:50 +08:00
afc163
a6d2de1a7b controlled filterDropdown props, close #3003 2016-11-14 17:53:02 +08:00
afc163
4b2e9bbd23 Fix non-bordered Table column header border radius
https://zos.alipayobjects.com/rmsportal/khxltYwtEiBKtHE.png
2016-11-14 14:37:04 +08:00
afc163
05213a5827 update table demos 2016-11-14 14:26:08 +08:00
afc163
b6455e2546 fix path 2016-11-14 13:20:00 +08:00
afc163
a7153e6e24 Fix mention style detail 2016-11-14 12:21:58 +08:00
Benjy Cui
bbef274aae feat: expose DatePicker[showToday], ref: #3793 2016-11-14 11:57:12 +08:00
Meck
0a30315a32 Let Checkbox and Radio response hover events
Close #3455
2016-11-14 11:55:32 +08:00
feng zhi hao
b6fbc266c5 add declaration in DatePicker (#3829) 2016-11-14 10:57:52 +08:00
afc163
ff803c2762 fix anchor style according to design file 2016-11-13 19:08:52 +08:00
afc163
3bdfe5bb88 adjust switch style 2016-11-13 18:22:47 +08:00
afc163
de64779546 speed up loading icon 2016-11-13 18:19:23 +08:00
Wei Zhu
b0c7a714ad Don't pass visible to Dropdown if it's not exits. (#3821)
fix #3815
2016-11-13 15:53:02 +08:00
Benjy Cui
26c5c8e11c fix: should work with latest rc-time-picker (#3810) 2016-11-11 18:23:11 +08:00
Wei Zhu
7dc0328c60 Fix table border when using cell merging (#3806) 2016-11-11 17:57:27 +08:00
Benjy Cui
c073e78074 fix: should work with timepicker without minutes and so on, ref: #3793 (#3799) 2016-11-11 17:50:48 +08:00
Benjy Cui
88d428bcc4 docs: update demo 2016-11-11 16:29:49 +08:00
Benjy Cui
d4b5b701bd docs: update demos for TimePicker 2016-11-11 16:06:11 +08:00
Wei Zhu
926425d8ec Pass visible and onVisibleChange to Dropdown, fix #3779 (#3782) 2016-11-11 15:26:57 +08:00
Wei Zhu
0e6ac6bc4c Optimize table selection (#3757)
* Extract SelectionRadio, SelectionCheckbox, SelectionCheckboxAll

* Add some tests
2016-11-11 15:26:51 +08:00
afc163
be9ed0388c Fix form controls focused error style 2016-11-11 15:08:02 +08:00
afc163
d6288e5994 Fix TimePicker panel style (#3793) 2016-11-11 14:44:37 +08:00
afc163
524a421d72 upgrade rc-time-picker to 2.2.0, support TimePicker[format="HH"] (#3793) 2016-11-11 14:28:29 +08:00
Benjy Cui
4da0ae4f42 docs: update demos for DatePicker, ref: #3793 2016-11-11 12:08:18 +08:00
afc163
02422417d6 Merge branch 'master' of github.com:ant-design/ant-design 2016-11-11 00:57:24 +08:00
afc163
01f5b61982 Add position relative for table cell 2016-11-11 00:57:14 +08:00
Benjy Cui
e7cf2a4f3f docs: update demos for Form, close: #3558 2016-11-10 16:11:22 +08:00
ddcat1115
ed7d82f4cd Merge pull request #3671 from ant-design/feat-tag
feat: make Tag checkable, close: #3560
2016-11-10 16:05:02 +08:00
Benjy Cui
8fa50cfddc docs: add meaningful demo for CheckableTag 2016-11-10 14:32:17 +08:00
Benjy Cui
751b597df1 docs: update demo variable name 2016-11-10 11:44:12 +08:00
afc163
850e713e7f Improve text overflow for MenuItem and AnchorLink, close #3712 2016-11-10 11:35:12 +08:00
Benjy Cui
e64f04cee5 feat: CheckableTag, close: #3560 2016-11-10 11:20:52 +08:00
Benjy Cui
8dcdd12bef feat: bring Tag[color] back, close: #3773 2016-11-10 11:12:09 +08:00
afc163
88d470220b Fix wrong error style for Form Validation 2016-11-09 22:25:39 +08:00
afc163
51dae474cc fix form demo align 2016-11-09 22:12:21 +08:00
afc163
5d2a2cc39b Add @highlight-color less variables 2016-11-09 21:30:02 +08:00
afc163
64e549be9d fix anchor ball 2016-11-09 21:12:26 +08:00
afc163
19be7db53f improve anchor detail 2016-11-09 21:06:43 +08:00
afc163
563f8120cd fix Checkbox border 2016-11-09 20:38:57 +08:00