Commit Graph

63 Commits

Author SHA1 Message Date
Sebastian Busch
4af2b62cb5 fix: Add some missing TypeScript prop definititions and clean up date-picker definitions (#16342)
* Add some missing TypeScript prop definitition, clean up date-picker definitions

* use DatePickerMode instead of redundant enumeration of modes

* decade was  missing from the list of modes

See https://codesandbox.io/s/388xplj646
- activate DatePicker
- click on year in header
- click on years in header
- "decade" is printed on footer as mode for renderExtraFooter()

* add decade as possible value for mode prop
2019-05-03 21:55:18 +08:00
陈帅
30508b0124 fix error types (#16043) 2019-04-28 11:47:22 +08:00
afc163
b2379fe139
🐛 Add className in TooltipProps only, #16195 2019-04-26 17:12:19 +08:00
Sean Willis
fec88af3d3 Fix unnecessary indent 2019-04-22 08:11:12 -07:00
Sean Willis
246f1e0916 Extend HTMLAttributes 2019-04-19 14:49:09 -07:00
陈帅
8e11f0bdb9 merge support prettier 2018-12-07 20:02:01 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls (#13389)
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
zombieJ
9b49fb60d9
Config provider (#12991)
close #12985
2018-11-26 12:06:42 +08:00
ztplz
af4e5bbbed format 2018-11-14 15:37:13 +08:00
ztplz
6f6d949fcc Fix #13119 2018-11-14 15:37:13 +08:00
afc163
f8e074812c Fix a bug of Tooltip won't disappear in Chrome
when there are two wrapper of Tooltip/Popover/Popconfirm

close #13001
2018-11-07 17:43:18 +08:00
Magn Mah
292a18bef0 add/fix tooltip align interface (#12354)
* expose align interface

* typescript fix: tooltip 的 align 部分值支持传百分数参数;更新文档
2018-09-23 14:01:06 +08:00
张聪
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
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
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
ChaXinyu
14e2a56b75 export components interface (#7654)
* export components interface

* export specific props

* fix formItem missed import
2017-09-25 22:14:49 +08:00
Wei Zhu
047f62e9b4 Mark refs to private (#7600) 2017-09-17 15:48:44 +08:00
Wei Zhu
5a474709ff refactor: tooltip string refs to callback (#7493) 2017-09-08 09:45:34 +08:00
afc163
545d171223 Fix tooltip overlay warning, close #6897 2017-07-19 20:38:39 +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
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
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
879bc9320c docs: update docs for Tooltip, close: #4724 2017-01-26 10:56:24 +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
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
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
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
feng zhi hao
bb22f7864b fix: improve declaration (#3167)
* improve declaration

* remove id props in row
2016-09-27 12:04:01 +08:00