Commit Graph

180 Commits

Author SHA1 Message Date
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
Wei Zhu
5a474709ff refactor: tooltip string refs to callback (#7493) 2017-09-08 09:45:34 +08:00
afc163
3d322a7c04 Tweak tooltip background and fix basic demo 2017-08-25 10:11:22 +08:00
afc163
545d171223 Fix tooltip overlay warning, close #6897 2017-07-19 20:38:39 +08:00
afc163
8a63b39e63 Add test case for arrowPointAtCenter, #6830 2017-07-16 16:00:23 +08:00
afc163
3ca9be1bf6 Fix missing overflow config, ref #6830 2017-07-14 11:44:11 +08:00
afc163
3ad49dd4cc Fix arrowPointAtCenter not working, close #6830 2017-07-14 10:49:51 +08:00
afc163
c20e66f02b hide tooltip demo 2017-07-14 10:42:01 +08:00
afc163
fda881cc7a trailing spaces 2017-07-07 19:45:59 +08:00
D & R
9dcc28e218 feat: support autoAdjustOverflow prop (#6661) 2017-06-30 17:22:01 +08:00
afc163
b57047c919 upgrade typescript to 2.3, close #6263 2017-05-30 17:48:07 +08:00
afc163
6d38fcf4e4 Add @popover-distance and adjuest popover default distance, close #6105 2017-05-13 15:07:01 +08:00
HJin.me
47589ba92c fix get(Popup|Calendar|Suggestion|Tooltip)Container ts type (#5528) 2017-03-28 13:20:05 +08:00
偏右
674255bd14 [WIP] upgrade deps (#5455)
* upgrade deps

* autofix some tslint problems

* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
afc163
322e9efdc9 Fix getPopupContainer ts type 2017-03-21 16:35:31 +08:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
afc163
09fd82def3 trigger click do not need wrap span, #5301 2017-03-14 19:04:18 +08:00
afc163
06b17fd553 lift className from Button[disabled] in Tooltip, fix #5270 2017-03-14 11:43:49 +08:00
afc163
5a2ed79d25 Fix Tooltip layout style on disabled Button, close #5254 2017-03-10 14:13:12 +08:00
偏右
f5d697988a fix: Tooltip should work with disabled button (#4865)
* Fix Tooltip won't hide at disabled button

close react-component/tooltip#18

* change button text in test case

* Add comments for display attribute

* correct test case
2017-02-16 14:03:05 +08:00
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
Benjy Cui
879bc9320c docs: update docs for Tooltip, close: #4724 2017-01-26 10:56:24 +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
Rex
6e33285890 fix onVisibleChange arguments error (#4589)
* fix onVisibleChange arguments error

* add test

* trigger travis
2017-01-14 15:23:02 +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
HJin.me
0e92fa3f23 chore: improve Cascader and Tooltip's get(Popup|Tooltip)Container declaration (#4303) 2016-12-20 14:37:33 +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
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
8ed8b25d73 fix(Tooltip): close #4140 (#4141) 2016-12-05 23:53:20 +08:00
Benjy Cui
a939769069 fix: Tooltip support multi children, close: #3924 (#4105) 2016-12-02 15:07:03 +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
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
Will Chen
6b774a1343 docs: improve docs' detail (#4050) 2016-11-29 17:13:24 +08:00
ddcat1115
0baef0627e docs: 调整组件导航结构 (#3758)
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
Benjy Cui
08e21e0a2f refactor: close: #3490 2016-10-24 16:30:38 +08:00
afc163
fc52934c12 Faster animation for Tooltip 2016-10-07 18:18:23 +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
afc163
8dcb9b6a22 Adjust Tooltip less variables 2016-10-07 14:50:53 +08:00
feng zhi hao
bb22f7864b fix: improve declaration (#3167)
* improve declaration

* remove id props in row
2016-09-27 12:04:01 +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
马斯特
a25ec29fb8 refactor: 保证所有的tsx和less都正确使用prefix (#3024)
* refactor: extract prefix cls as less variable

* refactor: apply ant icon prefix cls in less files

* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00
Benjy Cui
31a0bed13c docs: update demo of Tooltip 2016-09-14 10:20:42 +08:00
Marius Ileana
39a11f00a0 docs: upload, alert, tooltip - translations of remaining demos (#3035)
* upload - translations of two remaining demos

* alert & tooltip - remaining demo translations

* Prompt typo
2016-09-14 09:52:14 +08:00
Benjy Cui
8db2b79505 chore: fix compile errors 2016-09-13 15:31:29 +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
b10ff61272 update builtInPlacements order 2016-08-31 14:34:26 +08:00
afc163
977e2e32fc Add arrowPointAtCenter to Tooltip Popover Popconfirm
修正默认对齐方式为边缘对齐,增加属性用于箭头指向中心的行为
2016-08-31 13:54:16 +08:00
afc163
363f610d8b Fix tsc errors beside DatePicker 2016-08-24 16:09:55 +08:00
Benjy Cui
5dcce12c2c fix: some tsc errors (#2804) 2016-08-22 17:26:14 +08:00
lixiaochou077
9cec8af5f7 docs: translation tooltip (#2577) 2016-08-02 16:06:46 +08:00
ddcat1115
a396e3779a Ts rewrite popconfirm (#2472)
* Popconfirm rewrite

* fix`
2016-07-25 11:28:43 +08:00
afc163
2e41e35cc6 Fix more tslint problems 2016-07-13 17:22:23 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
bang
414de809ea update tooltip 2016-07-09 10:54:21 +08:00
Rrrandom
fe92f4dc85 typo in tooltip demo 2016-07-06 14:00:09 +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
afc163
695c26c859 Merge 1.x-stable 2016-06-22 22:56:55 +08:00
afc163
151dc957a8 fix onVisible again (#2134) 2016-06-22 22:54:54 +08:00
afc163
b2948c8b96 Merge 1.x-stable 2016-06-22 14:33:43 +08:00
afc163
b5b9175e1e Fix onVisibleChange, close #2134 2016-06-22 14:09:29 +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
afc163
c4c834b529 update tooltip doc for #1871 2016-05-27 14:17:20 +08:00
afc163
c40655d3a6 update tooltip doc for #1871 2016-05-27 14:11:35 +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
5b6d356fb8 refactor ant-popover-open 2016-05-07 15:37:26 +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
761e5534c0 fix test cases 2016-04-07 16:56:13 +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
ba965dc746 Convert several React.createClass usages to classes. 2016-03-29 11:13:04 +07:00
afc163
c9fd887ce1 fix(style): Make arrow point to target always 2016-03-09 17:26:12 +08:00
afc163
affec24940 update tooltip demo 2016-01-30 02:02:03 +08:00
Benjy Cui
cd1391e6a2 style: update code style for object-curly-spacing 2016-01-27 17:00:58 +08:00
Benjy Cui
b72d18fd44 style: update code style to please the fucking lint 2016-01-11 09:49:30 +08:00
afc163
91bd7f22c0 use mountNode replace the long getElementById 2015-12-29 12:08:58 +08:00
Cam Song
f847c23c46 Fix a typo in tooltip demo 2015-12-23 18:07:31 +08:00
afc163
f205f43bd9 update tooltip and placement demo 2015-11-04 20:48:51 +08:00
afc163
d124dca717 better placement demo 2015-11-04 19:32:54 +08:00
afc163
e8c47a9fb5 update demo 2015-11-03 14:25:34 +08:00