github-actions[bot]
0c6d1512be
chore: auto merge branchs ( #33794 )
...
chore: merge master into feature
2022-01-21 05:32:19 +00:00
王浩
6dd39c1f89
fix(checkbox): disabled checkbox should works well with tooltip ( #33772 )
...
Co-authored-by: wanghao <wanghao.wong@bytedance.com>
2022-01-20 19:23:14 +08:00
MadCcc
e5451a95cb
feat: dropdown support arrow pointing at center ( #33658 )
...
* feat: add pointAtCenter prop for dropdown
* feat: dropdown support arrow pointing at center
* chore: code clean
* chore: use getPlacements in tooltip
* feat: dropdown support 'top' and 'bottom'
* chore: update snapshot
* chore: move placements to util folder
* feat: make 'topCenter' and 'bottomCenter' in Dropdown deprecated
* test: update snapshot
* test: add test for topCenter and bottomCenter
2022-01-13 13:34:34 +08:00
gaozhenqian
832aa81c82
fix(Tooltip): the mistake that tooltip mount on wrong dom ( #30963 )
...
when getPopupContainer of tooltip's props is undefined or null
2021-06-11 21:26:40 +08:00
二货机器人
53142ef237
refactor: rc-tooltip use motion config ( #29555 )
...
* refactor: internal add deadline & fix defaultVisible logic
* back of demo
2021-03-01 17:25:30 +08:00
afc163
99c2c2ff0b
refactor: use optional chaining instead of if ( #29368 )
...
* refactor: use optional chaining instead of if
* revert some code
2021-02-19 18:26:53 +08:00
叶枫
6e89866694
feat: 动画样式添加 prefix ( #29268 )
...
* feat: add prefix
* fix: 剩余
* fix: test
* fix: test
* fix: test
* fix: test
* fix: 传了 name 则使用传的
* fix: pop 添加 prefix
* fix: Ok OK ?
* fix: modal confirm
* fix: select
* fix: test
2021-02-08 17:09:13 +08:00
Jase Pellerin
13f9285cc6
fix: Allow overlayInnerStyle to pass through ( #27682 )
...
Currently, the innerStyle is only passed if a color is provided which does not match the preset colors. This fix allows `overlayInnerStyle` to pass through regardless of the value of `color`.
2020-12-03 11:25:25 +08:00
偏右
e7bed7cff7
perf( 📦 ): upgrade @ant-design/colors and remove rc-trigger from deps ( #27761 )
...
* perf(📦 ): upgrade @ant-design/colors
* move rc-trigger to devDeps
* fix lint
* update snapshot
* update snapshot
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-11-14 00:43:12 +08:00
偏右
bc950d9a24
fix: Tooltip/Popover children type ( #26534 )
...
close #26517
2020-09-02 15:35:49 +08:00
CornerSkyless
1da3144d91
fix Tooltip custom color typescript type definition ( #25315 )
2020-07-01 10:47:26 +08:00
zefeng
cb2094265e
feat(tooltip): Tooltip support colour background ( #23155 )
...
* feat(tooltip): Tooltip support colour background
Closes #23127
* patch: update test case
* chore: repalce h1 tag to Divider
* chore: update demo
2020-05-25 18:59:00 +08:00
Tom Xu
f90702cd0c
refactor(tooltip): rewrite with hook ( #23699 )
...
* refactor(tooltip): rewrite with hook
* fix lint
* fix
* fix test
* fix
* fix test
* refactor(tooltip): rewrite with hook
* fix lint
* fix test
* Update SliderTooltip.tsx
* Update tooltip.test.js
* Update index.test.js
2020-05-15 10:47:03 +08:00
二货机器人
2afab58ac8
chore: small bundle size follow up ( #24164 )
...
* update config
* replace react function
* fix alert
2020-05-14 20:54:49 +08:00
Amumu
935b0e5887
fix: Fix crash when mismatch placement ( #23756 )
...
* fix Fix crash when mismatch placement
* add test case
2020-04-29 21:30:36 +08:00
偏右
4fcc6f66a7
fix: 🐛 empty disabled Button align issue ( #22461 )
...
* chore: add .ant-tooltip-disabled-compatible-wrapper
* fix: empty button align issue
2020-03-21 14:30:40 +08:00
Wendell
889a9ba9fd
fix: fix tooltip trigger type ( #22043 )
...
* fix: fix tooltip trigger type
* fix: use extends over duck type
* update rc-tooltip deps
* fix rate ts define
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-03-11 21:10:40 +08:00
偏右
43c64e924e
✅ add test case to tooltip ( #21826 )
2020-03-04 21:03:08 +08:00
偏右
e98f4acd92
🐛 Fix Tooltip title 0 is not shown ( #20894 )
...
close #20891
2020-01-14 17:57:05 +08:00
Saeed Rahimi
676de29eb4
feat: added rtl direction to all of ant-design components ( #19380 )
...
* rtl demo change en-us description
* change bundlesize css limit
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* fix select component arrow issue
* RTL: form component
* add pagination rtl test
* fix test lint error
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* some fixes to RTL components
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* fix switch component text rtl issue
* fix table grouped header text-align
* add rtl support to whole demo with RTL button
* Update rtl demo responsive
* RTL: page-header component
* RTL: typography component
* RTL: Dropdown (Partial)
* update config-provider doc
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* fix lost changes after rebase
* fix lint errors
* RTL: Transfer Component
* RTL: upload component
* RTL: update avatar demo
* RTL: comment component
* RTL: collapse component
* RTL: carousel component
* update snapshots
* RTL: Card component
* RTL: descriptions component
* RTL: Empty component
* RTL: list component
* RTL: slider component
* slider component import/order
* add shared rtlTest
* RTL: Statistic component
* RTL: tooltip components
* RTL: popover component
* RTL: timeline component
* RTL: tag component
* RTL: alert component
* RTL: drawer component
* RTL: Tab component
* change direction definition
* RTL: progress component
* input.tsx, remove duplicate after rebase
* fix demo.less after rebase
* fix ant-row-rtl after rebase
* fix upload issues in rtl
* badge rtl demo margin fix
* fix: tabs with icon margin
* fix: radio-wrapper margin
* fix: table component after rebase
* fix: centered modal text-align
* update slider snapshot
* RTL: popconfirm component
* RTL: back-top component
* RTL: spin component
* RTL: result component
* RTL: skeleton component
* RTL: menu component
* RTL: time-picker component
* RTL: calendar component
* RTL: date-picker component
* RTL: home page
* update snapshots
* test: add auto-complete rtl test
* test: add avatar component rtl tests
* test: add badge component rtl tests
* test: add breadcrumb component rtl tests
* test: add button components rtl tests
* test: add card component rtl tests
* test: add carousel component rtl tests
* test: add cascader component rtl tests
* test: add checkbox component rtl tests
* test: add collapse component rtl tests
* test: add comment component rtl tests
* test: add dropdown component rtl tests
* test: add empty component rtl tests
* test: add form component rtl tests
* test: add grid component rtl tests
* test: add input component rtl tests
* test: add search component rtl tests
* test: add input-number component rtl tests
* test: add layout component rtl tests
* test: add list component rtl tests
* test: add mentions component rtl tests
* test: add modal component rtl tests
* test: add page-header component rtl tests
* test: add pagination component rtl tests
* test: add radio component rtl tests
* test: add rate component rtl tests
* test: add select component rtl tests
* test: add slider component rtl tests
* test: add steps component rtl tests
* test: add switch component rtl tests
* test: add table component rtl tests
* test: add transfer component rtl tests
* test: add tree component rtl tests
* test: add tree-select component rtl tests
* test: add typography component rtl tests
* test: add upload component rtl tests
* test: add affix component rtl tests
* update calendar tests
* increase css file maxSize
* update snapshots
* remove workflows to allow push
* remove duplicate reverse prop from slider
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* Added direction property to ConfigProvider
* cascader rtl tests added
* update config-provider doc
* RTL: grid system
* RTL: input component
* RTL: switch component
* fix rtl demo lint
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* RTL: form component
* add pagination rtl test
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* input.tsx, remove duplicate after rebase
* fix ant-row-rtl after rebase
* update snapshots
* test: add cascader component rtl tests
* test: add pagination component rtl tests
* update calendar tests
* update snapshots
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* update direction.md icons
* dropdown and cascader default placement in rtl
* update snapshots
* fix lint errors
* remove duplicate import
* update snapshots
* update snapshot
* update calendar snapshot
* update snapshots
* integrate with new rc-picker
* update snapshots
* fix lint errors
* update snapshot
* update snapshots
* update snapshots
* update snapshots :|
* update snapshots
* fix compile error.
* fix typo after rebase
* update snapshots
* remove workflows to allow push
* update snapshots
* update snapshots
* fix dist error
* front-page css fix
* update snapshots
* fix lint and test issues
* restore cascader index.less
* update snapshots
* fix logo in rtl and demo controls
* ci errors
* resolve steps/index.tsx conflicts
* tooltip family demo remove inline style
* resolve table/Table.tsx conflicts
* resolve modal/Modal.tsx conflicts
* resolve cascader/index.tsx conflicts
* add workflows from upstream
* update snapshots
* revert logo to default
* fix codebox demo direction of placements
* resolve tooltip overlayClassName conflicts
* update snapshots
* update popover test
* fix: cascader miss popupClassName
* fix: fix select missing dropdownClassName
* chore: Update snapshot
* chore: Adjust menu use rtl logic
* docs: Update demo line color
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2020-01-02 19:10:16 +08:00
偏右
8501b708ea
refactor: 📦 smaller bundlesize limit ( #20356 )
...
* 📦 samller bundlesize limit
* 🗑️ remove React static PropTypes
* 🗑️ remove react-lifecycles-compat
* 🗑️ remove matchMedia polyfill
* 🗑️ remove Transfer buggy lazy prop
* 🗑️ remove enquire.js dep
* 🗑️ remove Transfer lazy related code and fix ci
* 🗑️ remove used dom-closest
* ⚡ replace dom-scroll-into-view to scroll-into-view for bundle size
* ✅ fix eslint
* 🆙 upgrade browserslist
* ✅ fix test cases
* 🗑️ remove @ant-design/create-react-context
* 🆙 upgrade @ant-design/bisheng-plugin
* 🆙 upgrade rc-slider
* ✅ fix ci
* 🆙 upgrade rc-tabs and rc-mentions
* 📦 scroll-into-view -> scroll-into-view-if-needed
* remove unused devDep
* docs: 📝 update instruction about IE9/10
* 📦 reduce css bundle size by drop IE9/10 support
* 🆙 upgrade rc-upload
* 🗑️ drop unused swing motion css
* ✅ update upload snapshots
* 📦 lift css bundlesize limit to 55kb
2019-12-23 18:33:08 +08:00
骗你是小猫咪
114fdd9333
fix: upgrade rc-tooltip lint fail ( #19408 )
...
* fix: upgrade rc-tooltip lint fail
* fix tooltip typescript type
* rebase and update snapshots
* update tests
* change trigger mock export
* upgrade rc-trigger
* fix type error
* upgrade dependencies
* update snapshots
* upgrade rc-calendar and test use sleep
* update snapshots
* fix test fail
* update snapshots
2019-12-05 16:15:10 +08:00
Alexander Kachkaev
5ff3a77dce
Export tooltop helper interfaces ( #19846 )
2019-11-21 11:56:21 +08:00
Rustin
17ad782dfc
refactoring: refactor search code ( #19441 )
...
* refactor search code
* refactor bool expression no implicit cast
2019-10-27 11:43:48 +08:00
二货机器人
34c220acf1
docs: add 3.23.4 changelog ( #18932 )
...
* add 3.23.4 changelog
* update desc
* adjust related desc
2019-09-21 15:04:02 +08:00
LaySent
b029e38705
feat: improve prop def for tooltip
2019-08-29 11:06:22 +08:00
dian.li
3e1560d753
fix: import multiple times
2019-08-15 09:47:04 +08:00
dian.li
882f343e10
fix: ts compile error with import React fix-ts-1259
2019-08-15 09:28:15 +08:00
LaySent
7ca85ad11a
fix: tooltip not work with disabled checkbox
2019-08-07 14:35:29 +08:00
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
2019-08-06 15:36:12 +08:00
zombieJ
a5f495692e
fix: Tooltip not work correctly on disabled Switch ( #17372 )
...
* add tooltip of Switch
* clean up
* updat snapshot
2019-06-30 00:29:48 +08:00
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
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +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
Benjy Cui
8db2b79505
chore: fix compile errors
2016-09-13 15:31:29 +08:00
afc163
497ff0cabb
Merge branch "1.x-stable"
2016-08-31 15:00:13 +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
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
afc163
695c26c859
Merge 1.x-stable
2016-06-22 22:56:55 +08:00
afc163
b2948c8b96
Merge 1.x-stable
2016-06-22 14:33:43 +08:00
yiminghe
9a0d751f94
refactor to typescript
2016-06-22 13:19:48 +08:00