Commit Graph

158 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
Eden Wang
f01d436dd5 add test case for input.group in tooltip 2018-08-02 12:14:21 +08:00
Eden Wang
522aee18c3 add timeout to wait trigger result 2018-07-29 12:41:46 +08:00
Eden Wang
84e995ff63 add test case for date picker in tooltip 2018-07-29 12:41:46 +08:00
Eager
c3e50c268d fix(Tooltip): fix text overflow the Tooltip 2018-07-22 15:52:02 +08:00
afc163
009ed08580 upgrade eslint-config-airbnb 2018-06-27 16:09:58 +08:00
afc163
e2b359e9c3 Move max-width to ant-tooltip
so that it can be override by overlayStyle.maxWidth
2018-06-27 11:26:19 +08:00
afc163
9f16d066af Fix lint problems from eslint-config-airbnb@17 2018-06-22 21:05:13 +08:00
Zheeeng
6a3e6f55cf Fix typo (#10193) 2018-04-23 16:00:24 +08:00
Wei Zhu
921361313a Add explicit types for default props
Fix #8796
Close #8820
2018-04-10 10:50:59 +08:00
jim
26934b37c8 add Tooltip contextMenu doc 2018-03-06 15:21:37 +08:00
Wei Zhu
999d6184ad docs: Sort api table 2017-12-29 20:22:58 +08:00
偏右
b531de3fee
Upgrade dev deps and fix lints (#8358)
* upgrade devDeps and fix lint

* Fix stylelint problems
2017-11-29 21:00:16 +08:00
afc163
c23e24b0f0 Merge branch 'master' into antd-3.0 2017-11-22 17:30:31 +08:00
slientcloud
499b81f79d fix(tooltip): support defaultVisible for tooltip, close #8257 (#8258) 2017-11-21 15:53:03 +08:00
Wei Zhu
ac7212eba8 Improve Tooltip type definitions 2017-11-20 18:20:16 +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
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
偏右
ffffd0f4c5 Fix styles (#7924)
* update demo

* Fix styles

* fix snap

* Fix back-top ci
2017-10-18 17:16:14 +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
偏右
2bced36f0c New component styles (#7731)
* Tweak button padding

* upgrade input and button size

* update form controls size

* update components size

* Add lemon color and update rate color

* Add new icons

* update layout style

* breadcrumb and dropdown

* update menu arrow width

* update layout and menu

* update steps

* fix var name

* update cascasder style

* Update DatePicker

* update InputNumber and Mention

* radio and switch

* select and transfer

* TimePicker & Upload

* more components

* calendar and list

* Tree Timeline Popover Tag

* divider modal popover

* update search input

* update card style

* update switch disabled opacity

* update shoadow and mask

* Add v2-compatible-reset.less

* Fix undefined className

* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
ChaXinyu
14e2a56b75 export components interface (#7654)
* export components interface

* export specific props

* fix formItem missed import
2017-09-25 22:14:49 +08:00
偏右
759b0bb821 seperate reset styles (#7682)
* seperate reset styles

* not reset ul/ol/p/heading

* revert reset.less idea

* move label style into ant-form-item, #5851

* revert reset.less idea

* update base.less

* Better typography from bootstrap@4

use reboot replace normalize

ref:
b4d84b9cdf/scss/_reboot.scss

close #6162
2017-09-22 18:33:29 +08:00
afc163
fe7c85fece Merge branch 'master' into antd-3.0 2017-09-19 16:12:18 +08:00
Khalifa Lame
5a8bd0f6d8 docs: update Tooltip english doc (#7642)
Fixed typos.
2017-09-18 10:28:22 +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
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