米老朱
6936599aef
Enhance stylelint rules ( #14803 )
...
* rename .stylelintrc to .stylelintrc.json for explicit file type
* add new npm script lint-fix:style
* fix pseudo-element with double colon
* function name should be lower except ignored functions
* support stylelint declaration-block-no-ignored-properties rule
* support sorted CSS properties order for readability and consistency
* autofix order of all styles by lint-fix:style script
* remove double slash comments after selector
* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
杨小事er
1b57dff9bb
🐛 fix(tootip):fix when title is too short arrow appears outside of tooltip
...
close #14667
2019-01-31 16:42:33 +08: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
9f5d421cd6
merge master
2018-11-30 14:48:37 +08:00
afc163
83c192ea3e
💄 fix eslint problems
2018-11-28 15:11:02 +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
b7a1b7b7be
remove outdated test case
2018-11-07 17:49:03 +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
zombiej
4c5e3492ac
add ignoreShake for tooltip(popover) to avoid unecessary reflow
...
fix #12942
2018-11-06 11:01:39 +08:00
afc163
213693e333
🌐 site: transition component category, close #11629
2018-11-04 16:20:35 +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
afc163
9d5920b39d
doc: remove old usage instruction
2018-09-14 11:31:53 +08:00
afc163
11d29fb522
use break-word over break-all, close #11722
2018-08-22 23:05:46 +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
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
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
yiminghe
052e8ee0f4
upgrade
2015-11-03 13:52:41 +08:00
afc163
753c01ae18
ES6 syntax for demo code
...
fix antd.notification
2015-10-28 20:55:49 +08:00
afc163
62115e9034
just hide toottip overlay when there is no title
...
avoid rerender children when title is changed
2015-10-26 16:30:27 +08:00
afc163
7ae46cd406
no show toolitp when there is no title
2015-10-25 14:55:31 +08:00
yiminghe
76b0f673ec
beta2
2015-10-20 16:47:55 +08:00
afc163
147b4ac49b
Add overlayClassName to popover and tooltip
2015-09-24 18:38:31 +08:00