Commit Graph

3991 Commits

Author SHA1 Message Date
Benjy Cui
0aabdb3d8b fix: locale should follow LocaleProvider, close: #4495 (#4503)
* fix: locale should follow LocaleProvider, close: #4495

* test: update snapshot

* fix: fix some bugs
2017-01-09 16:25:58 +08:00
Benjy Cui
b96601decb test: update snapshot 2017-01-09 14:56:14 +08:00
afc163
37541e3bfe Fix Search block style 2017-01-09 14:24:08 +08:00
afc163
6dcfa9519c fix snapshot 2017-01-09 12:56:16 +08:00
afc163
c208aea654 demo: fix duplicate key 2017-01-09 12:10:08 +08:00
afc163
024e398ad0 Fix lint for latest eslint-config-airbnb 2017-01-09 11:51:56 +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