Commit Graph

270 Commits

Author SHA1 Message Date
二货机器人
31fb55adf3
chore: btn default provide default cls (#34013) 2022-02-11 15:02:59 +08:00
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" (#33903)
This reverts commit 40433f357d, reversing
changes made to 27a498e021.
2022-01-30 15:21:41 +08:00
github-actions[bot]
0d4e1b1356
chore: auto merge branchs (#33889)
chore: merge master into feature
2022-01-29 11:53:19 +00:00
MadCcc
2d66c7ecc6
fix: tooltip should work with loading switch (#33860)
* fix: tooltip should work with loading switch

* fix: only works for switch

* chore: code clean
2022-01-27 17:51:00 +08:00
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
二货机器人
2df11184f4
test: Demo check popup content (#33378)
* auto demo

* chore: update demo snapshot

* fix: trigger mock ref logic

* chore: try 2 test case

* chore: more snapshot

* chore: update snapshot

* chore: fix ts

* chore: split test

* test: Update test case

* chore: fix test order
2021-12-23 11:51:10 +08:00
afc163
19cd3519dd
fix: Tooltip arrowPointAtCenter 1px shift bug (#31201)
close #31197
2021-06-30 11:48:11 +08:00
Jehu
09bb8ee80e
docs: doc of tooltip add overlayInnerStyle (#31119)
* docs: doc of tooltip add overlayInnerStyle

* Update components/tooltip/index.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>

* Update components/tooltip/index.zh-CN.md

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: afc163 <afc163@gmail.com>
2021-06-25 11:04:00 +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
Dony Sukardi
0bc05bff5b
style(tooltip): add max-content width to size correctly (#30822) 2021-06-02 18:13:03 +08:00
二货机器人
11b7676557
fix: Add missing tooltip-zIndex (#30432)
* fix: Add missing tooltip-zIndex

* docs: Update docs
2021-05-07 17:38:45 +08:00
Tom Xu
e5d908a078
docs: format api (#29537) 2021-03-01 19:20:48 +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
Kian
da0f6519f0
fix: import BuildInPlacements type (#29029)
close #29015
2021-01-25 18:45:16 +08:00
偏右
eb01bee6be
fix: Tooltip arrow style (#28594) 2020-12-29 16:27:49 +08:00
einq7
fa376f9c82
docs: prettier markdown (#28510) 2020-12-24 12:02:57 +08:00
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 (#28465) 2020-12-22 11:08:12 +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
einq7
3357fccf0e
docs: format inline code (#27634) 2020-11-08 15:04:02 +08:00
骗你是小猫咪
6fba4d1136
test: demo -> ui test (#24475)
* test: demo -> ui test

* improve comment image width

* use argos-ci

* use by cicleci

* fix circle run

* rebase master

* try pipeline var

* use another branch var

* fix commit id

* ignore image test file

* remove useless report

* fix test coverage
2020-10-23 18:50:46 +08:00
Tom Xu
d44f404eae
docs: sort api (#27251)
* chore: improve sort api table scripts

* sort api

* add ignore

* Revert "sort api"

This reverts commit 343505d5f0.

* sort api

* Update package.json

* sort api

* Delete sort-api.js

* sort api

* sort api

* sort api

* fix

* Update index.zh-CN.md

* fix input-number

* fix input-number

* sort func

* fix

* Method moved to the end

* carousel method
2020-10-21 10:33:43 +08:00
Tom Xu
5f2588ffd1
docs: improve api type docs (#27038) 2020-10-09 10:08:52 +08:00
zombiej
7f2bdb7569 test: fix test case 2020-09-21 16:39:12 +08:00
偏右
bc950d9a24
fix: Tooltip/Popover children type (#26534)
close #26517
2020-09-02 15:35:49 +08:00
xrkffgg
b423a09233
docs: format api timeline/tooltip/tree (#25377) 2020-07-02 11:56:48 +08:00
CornerSkyless
1da3144d91
fix Tooltip custom color typescript type definition (#25315) 2020-07-01 10:47:26 +08:00
xrkffgg
a5f3ac8348
docs: unite boolean in site (#25058)
* docs: unite boolean in site

* fix demo

* fix boolean

* add

* add

* add
2020-06-17 23:18:14 +08:00
Arvin Xu
dda650cc7b
docs: Update components cover (#24744)
* docs: Update components cover

#24629

* docs: Update components cover
2020-06-05 13:50:09 +08:00
偏右
882cec62d6
docs: 🌈 Add Components overview page (#24491)
* docs: Add components overview page

* fix detail

* remove ContributorsList form overview page

* fix components url

* improve code style

* remove extra file

* fix detail

* fix lint

* fix lint

* docs: Finish components overview page

* fix lint

* docs: Update cover

* fix lint

* update cover

* update menu

* improve overview page

* refactor code

* fix order

* update title

* add components count

* fix overview page ssr bug

* move less file

* update title margin

Co-authored-by: arvinxx <arvinx@foxmail.com>
2020-05-31 11:48:34 +08:00
zefeng
d7949a76ad
docs: update tooltip docs (#24465) 2020-05-26 11:41:23 +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
Kermit Xuan
254c17e320
feat: upgrade trigger to 4.2.1(#19536) (#24386) 2020-05-22 13:06:52 +08:00
Kermit Xuan
b57d306107
feat: optmize tooptip destroyTooltipOnHide (#19536) (#24362) 2020-05-22 00:20:01 +08:00
二货机器人
75b090aff3
fix: Switch trigger motion (#24254)
* init fix

* fix rtl

* clean up

* update snapshot

* fix style lint

* add motion of inner

* update un-checked focus style
2020-05-18 17:31:46 +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
Tom Xu
cf01c8649f
docs: improve tooltip (#23928)
* docs: improve tooltip

* remove version
2020-05-07 13:57:50 +08:00
afc163
7d3cb95f17 fix Tooltip test case 2020-05-01 15:03:27 +08:00
xrkffgg
01b98e79d9
docs: optimize site of components 3 (#23779)
* docs: optimize site of components in rtl 3

* add
2020-04-30 21:04:19 +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
afc163
59c0cdf3a2 fix test case which fails a lot 2020-04-13 20:21:30 +08:00
偏右
db3a81ab19
feat: 🔢 improve default pagination switch experience (#22711)
* 🆙 rc-pagination to 2.1.0

*  update snapshot and fix ci

* 🆙 rc-pagination to 2.2.0

*  update snapshot

Co-authored-by: zombiej <smith3816@gmail.com>
2020-03-29 20:15:05 +08:00
afc163
43de6f3db9 fix test case 2020-03-27 12:26:57 +08:00
afc163
cd7ae8e82b improve tooltip test case 2020-03-23 14:34:42 +08:00
zombiej
136859a1ca chore: Test case add more delay 2020-03-23 12:35:58 +08:00