Commit Graph

199 Commits

Author SHA1 Message Date
张聪
8a9fbcb5e4 Migrate lifecycle method: Upload, CheckboxGroup, Layout.Sider, Tooltip, Popconfirm (#11682)
* Upload lifecycle method migrate

* CheckboxGroup lifecycle method migrate

* Layout.Sider lifecycle method migrate

* Tooltip lifecycle method migrate

* Popconfirm lifecycle method migrate

* test Spin as a controlled component
2018-08-10 17:04:40 +08:00
afc163
636c343b16 Merge branch 'master' into feature-3.8.0 2018-07-29 15:06:36 +08:00
Ilan Hasanov
86398d910a 💬 misc typos and blank spaces fixes 2018-07-29 01:15:02 +08:00
nuintun
8496e8f687 Popconfirm support customize icon 2018-07-16 15:34:24 +08:00
afc163
009ed08580 upgrade eslint-config-airbnb 2018-06-27 16:09:58 +08:00
afc163
d58c0780f9 test Popconfirm 2018-05-25 21:43:21 +08:00
Marcela Bomfim
b1c41c665e Fix typo (#10250)
Fix typo
2018-04-25 21:59:14 +08:00
Wei Zhu
c4c3e74149 Fix implicit any error for Pagination PopConfirm Popover Progress 2017-11-21 15:37:39 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports (#8218) 2017-11-17 14:38:54 +08:00
Wei Zhu
55c85f77a1
Update dependendies (#8150)
* deps: upgrade rc-menu, and close: #2837

* test: update snapshots

* Update rc-calendar

* Update rc-cascader

* Update rc-dialog

* Update dropdown

* Update rc-select@7.1.0

* Update rc-slider

* Update rc-time-picker

* Update rc-tooltip

* Update rc-tree-select

* Mock rc-trigger and Portal

* Fix animation warning when inlineCollapsed changes

* fix: should use SubMenu[popupClassName]

* Fix typescript error

* Fix lint

* fix: style for menu

* Mock rc-trigger for React 15

* Remvoe allow_failures
2017-11-11 00:07:03 +08:00
Benjy Cui
e5699aff68 fix: should not import moment while useless, close: #8013 2017-10-26 10:50:18 +08:00
Wei Zhu
bbb1a3a828 Merge branch 'master' into antd-3.0 2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db docs: sort api table 2017-10-25 10:25:44 +08:00
Benjy Cui
7ea572bfc8 refactor: extract common locale logic (#7915) 2017-10-20 14:54:38 +08:00
afc163
26e416c364 Tweak style 2017-10-16 19:56:04 +08:00
Wei Zhu
c5487ad1eb React 16 + Enzyme 3 2017-10-09 19:18:04 +08:00
afc163
4eb9d5ef56 Merge branch 'master' into antd-3.0 2017-10-09 13:33:59 +08:00
afc163
475e4ff23d upgrade eslint-config-airbnb 2017-10-09 13:27:35 +08:00
Benjy Cui
829b5f87bf feat: make default locale to enUS (#7553)
* feat: make default locale to enUS

* test: fix CI

* docs: update getting started
2017-09-26 23:12:47 +08:00
Wei Zhu
047f62e9b4 Mark refs to private (#7600) 2017-09-17 15:48:44 +08:00
Wei Zhu
250c7a9c68 Revert "Mock rc-trigger"
This reverts commit 9d2c91598b.
2017-09-15 16:42:25 +08:00
Wei Zhu
9d2c91598b Mock rc-trigger
Ref #5522
2017-09-15 16:14:26 +08:00
afc163
b24483545c Merge branch 'master' into antd-3.0 2017-09-12 09:41:51 +08:00
Khalifa Lame
ed84626f01 docs: update Popconfirm English doc (#7541)
Fixed typos.
2017-09-11 11:08:53 +08:00
Wei Zhu
5c766b1f99 refactor: popconfirm string refs to callback (#7491) 2017-09-08 09:44:05 +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
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
f5ade936e1 add button type for ok and cancel in popconfirm 2017-08-07 10:40:32 +08:00
afc163
69b5acb45f More test cases 2017-07-07 20:26:08 +08:00
Benjy Cui
0e5431d21b deps: upgrade antd-tools and code style 2017-05-25 16:54:15 +08:00
Benjy Cui
12a6060304 docs: fix code style 2017-05-15 14:37:22 +08:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
Benjy Cui
8f81594f91 Refactor: introduce injectLocale (#5289)
* refactor: extract injectLocale and refactor Pagination, ref: #5103

* refactor: use injectLocale in Popconfirm, ref: #5103

* refactor: use injectLocale in TimePicker

* refactor: use injectLocale in Transfer

* refactor: use injectLocale in TreeSelect

* refactor: remove useless code in AutoComplete

* test: update snapshot
2017-03-17 15:23:25 +08:00
ddcat1115
e07cdf5387 add left out event parameters for Modal[onOk] Popconfirm[onConfirm] Popconfirm[onCancel] (#5042) 2017-02-24 16:07:39 +08:00
afc163
cdf786676c Fix popconfirm missing button styles 2017-02-22 18:10:02 +08:00
afc163
d19453c4c3 fix lint 2017-02-20 22:21:14 +08:00
afc163
e68b54f902 rewrite Popconfirm demos to es6 component, #4878 2017-02-20 22:13:19 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
Benjy Cui
251930f183 docs: fix some link 2017-02-09 17:55:26 +08:00
afc163
0eb5c689a3 remove type="ghost" from demo 2017-02-04 22:35:33 +08:00
Wei Zhu
f91ac37ad3 docs: Oops, no onHover event. 2017-01-22 15:05:32 +08:00
Wei Zhu
774b778474 docs: Add note to Popconfirm, Popover and tooltip about child node.
Related issue: #4672
2017-01-22 14:29:24 +08:00
Wei Zhu
77b78a9389 docs: Unify type naming (#4636)
* Unify name of ReactNode type in document

* Lowser all string type name

* Lowercase all number type name

* Lowercase all boolean type name

* Unify array type

* Lowercase all object type name

* Unify mutilple types
2017-01-20 20:10:50 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +08:00
afc163
55da11db22 Fix Popconfirm not response, close #4606 2017-01-15 00:27:02 +08:00
afc163
c0ec375e8e Fix documentation links, close #4496 2017-01-07 22:09:17 +08:00
Benjy Cui
8b3e488485 docs: update docs for Tooltip Popconfirm Popover 2016-12-22 12:00:57 +08:00
Benjy Cui
1351b5da5d refactor: remove splitObject 2016-12-19 15:19:15 +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
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
ddcat1115
0baef0627e docs: 调整组件导航结构 (#3758)
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
Benjy Cui
4878258f6c refactor: ref: #3490 2016-10-24 12:04:26 +08:00
afc163
3169d45246 change demos order 2016-10-14 21:45:48 +08:00
afc163
1ddc4371eb fix typo 2016-10-07 15:33:04 +08:00
afc163
36058f7173 Fix arrowPointAtCenter not work in Popconfirm 2016-10-07 15:30:05 +08:00
afc163
6df2100a5c update some demos 2016-10-07 15:20:10 +08:00
Shawn Sit
d2b7c4f2ec docs: Translation popconfirm (#3205)
* doc translation

* translation enhancement

* translate demos
2016-09-29 11:27:59 +08:00
Benjy Cui
bd7e9f00c0 style: update code style 2016-09-21 11:54:53 +08:00
Benjy Cui
3f67fd3f9f docs: update docs details 2016-09-21 11:28:38 +08:00
feng zhi hao
cad2d19be2 fix: complete loss declaration (#3068)
* complete loss declaration

* fix error in ts-lint

* fix Icon name error
2016-09-19 10:17:07 +08:00
afc163
0e6f677ff9 Fix doc headings 2016-09-10 13:43:30 +08:00
afc163
123b2c1728 Add some translation 2016-08-31 15:02:08 +08:00
afc163
497ff0cabb Merge branch "1.x-stable" 2016-08-31 15:00:13 +08:00
afc163
977e2e32fc Add arrowPointAtCenter to Tooltip Popover Popconfirm
修正默认对齐方式为边缘对齐,增加属性用于箭头指向中心的行为
2016-08-31 13:54:16 +08:00
afc163
d91441d362 Merge branch 'master' of github.com:ant-design/ant-design 2016-08-28 17:47:48 +08:00
afc163
b6222f7c22 fix lints 2016-08-28 17:47:06 +08:00
Benjy Cui
b2349facab docs: fix docs' format 2016-08-26 15:07:46 +08:00
Winsky
6e94e7b7a4 [docs] translate menu,popover,popconfirm (#2713) 2016-08-26 14:42:41 +08:00
afc163
f3f952e40f fix tslint 2016-07-25 11:39:54 +08:00
afc163
7a52a6fafe Fix context types 2016-07-25 11:35:51 +08:00
ddcat1115
a396e3779a Ts rewrite popconfirm (#2472)
* Popconfirm rewrite

* fix`
2016-07-25 11:28:43 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
yiminghe
94706f1d2c fix ts 2016-07-07 20:25:03 +08:00
afc163
95351bfffa Merge branch '1.x-stable' 2016-06-27 19:31:38 +08:00
afc163
089f1ae512 update components category name 2016-06-27 18:21:12 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
Benjy Cui
8842d9342a site: update components' type 2016-05-16 15:41:55 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
afc163
e869ef826d update popconfirm openClassName 2016-05-10 01:31:10 +08:00
ddcat1115
7c866bc382 fix #1453 2016-05-06 20:32:07 +08:00
afc163
0ca6a1c24a css modularize (#1448)
* css modularize

* Add alert style

* Move more component style

* Move iconfont to common style

* Move layout style

* Move more component style

* Move all components

* Fix lots of mixin deps

* remove css-prefix from less

* fix a button icon style bug

* restructure

* fix index

* add dist

* fix jest

* fix some components style

* clean webpack config

* check more components style

* update tabs

* update scripts

* update scripts

* fix form style

* fix more style

* Fix select width

* Fix form and tabs style
2016-04-27 20:44:36 +08:00
afc163
72af92c47e Upgrade message icons 2016-04-16 17:38:30 +08:00
afc163
fa776b9481 improve code style 2016-04-07 16:43:00 +08:00
jljsj
6fdb4e013f add tooltip anim origin 2016-04-07 15:54:02 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
Benjy Cui
d5a6932c15 docs: update documentation format 2016-03-31 14:17:09 +08:00
Benjy Cui
03d09b66e8 docs: update demo format 2016-03-31 09:40:55 +08:00
Bruce Mitchener
0acce38f08 Convert more createClass over to extending Component. 2016-03-29 16:33:37 +07:00
afc163
fbda3c7b88 Merge master into develop-1.0.0 2016-03-28 16:15:36 +08:00
afc163
7cee16d153 Fix alert icons style 2016-03-28 16:09:13 +08:00
afc163
0534c53db5 Merge master into develop-1.0.0 2016-03-25 12:18:51 +08:00
afc163
ae44ce6d31 update some docs 2016-03-24 11:25:23 +08:00
Benjy Cui
1f7a30c99c Merge branch 'master' of github.com:ant-design/ant-design into spa-new-design-language 2016-03-18 11:12:51 +08:00
afc163
6c913d7ebe Fix popover and popconfirm arrow style 2016-03-17 15:10:49 +08:00