hms181231
302a8e5a58
test: Update tooltip test case ( #38283 )
2022-10-31 10:14:10 +08:00
Marcia Sun
ba3ab898d2
fix: incorrect transform-origin of tooltips ( #38159 )
...
For tooltips with a placement value like 'topRight' or 'bottomLeft', the previous code would calculate an incorrect transform-origin, which is fixed here.
2022-10-22 19:11:31 +08:00
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo ( #37890 )
...
* test: Use SSR for testing demo
* chore: fix lint
* test: align with react 18
2022-10-08 16:17:20 +08:00
lijianan
c639b2f2ab
refactor: delete defaultprops ( #37834 )
...
* refactor: delete defaultprops
* fix: fix
* fix: fix
2022-10-02 16:50:34 +08:00
binyellow
047432c4ea
docs: modify Tooltip document ( #37683 )
2022-09-22 10:10:29 +08:00
二货爱吃白萝卜
646b71b418
fix: Tooltip not override children className when it's not a string type ( #37598 )
...
* fix: Tooltip not override children className when it's not a string type
* chore: bump rc-select
2022-09-17 13:06:24 +08:00
黑雨
01ca7c7821
test: convert demo to testing-lib ( #37381 )
...
* test: replace testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: update snap
* test: replace testing-lib
* test: replace testing-lib
* test: update for lint
* merge: merge
* test: testing-lib
* test: replace testing-lib
* test: testing-lib
* test: testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: Replace test aria replacment logic
* test: Update snapshot
* chore: hack for id
* test: clean up
* test: clean demo
* chore: update
* test: snapshot update
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* chore: update demo
* test: fix snapshot rep logic
* test: Update snapshot
* test: rest snapshot
* test: update snapshot
* test: Update test case
* test: config env
* chore: clean up
* chore: Use renderServer instead
* test: adjust testing logic
* test: modify test logic
* test: split ssr test
* test: skip if need skip
* chore: ignore test file covv
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-09-09 15:51:35 +08:00
二货爱吃白萝卜
aca046288e
docs: Add FAQ about open ( #37420 )
2022-09-06 14:03:39 +08:00
lijianan
c34caad24c
test: js => ts ( #37392 )
...
* test: js => ts
* test: add test
* fix: fix eslint error
* test: add test case
* fix: fix test error
* fix: fix eslint error
* fix: fix eslint error
* fix: eslint error fix
* fix: fallback eslint config & add test case
* test: add all test case
* fix: bugfix
* fix: bugFix
* fix: bugFix
* fix: bugFix
* fix: lint
* fix: add React.createRef
* fix: add breadcrumbName in Routes
* fix: any commit for restart ci/cd
* fix: remove type
* fix: test fix
* fix: test fix
* fix: add ts-ignore for id
* test: add Icon test case
* test: remove ts-ignore
* test: add Icon test case
2022-09-05 19:41:32 +08:00
yykoypj
6b658dab76
feat: switch visible to open for Tooltip ( #37241 )
...
* feat: switch visible to open for Tooltip & Popover & Popconfirm
* fix lint
* fix: merge state
* chore: Update ts part
* test: add legacy test
* test: fix test case
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-26 17:17:13 +08:00
Kyrielin
c435eaad3f
feat(Tooltip): support React.Fragment as children ( #37045 )
2022-08-16 09:59:27 +08:00
叶枫
00c891ac05
feat: Typography ellipsis.tooltip
could be a object ( #36099 )
...
* feat: add tooltipProps
* feat: doc
* feat: props
* feat: props
* feat: props
* feat: docs
* feat: review
* feat: add tooltipProps
* feat: doc
* feat: props
* feat: props
* feat: props
* feat: docs
* feat: review
2022-07-25 13:09:39 +08:00
MadCcc
4f7ac9f6bc
fix: tooltip cannot close on disabled Radio ( #36483 )
...
* fix: tooltip cannot close on disabled Radio
* test: add test
2022-07-12 19:31:45 +08:00
MadCcc
42e030edd9
fix: arrow compatibility ( #36266 )
...
* fix: arrow campatibility
* chore: code clean
* chore: rm useless style
* chore: code clean
* fix: use inset
* chore: bundlesize optimization
* chore: rm useless style
* chore: rm useless style
2022-06-30 11:11:01 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
龙风
1cec18e8eb
fix: component.displayName To distinguish the environment ( #36126 )
...
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:24:52 +08:00
zombiej
f58efe9b32
chore: merge master
2022-05-23 14:37:16 +08:00
章鱼
7fd093bd0a
docs: feat components TS demo ( #34742 )
...
* docs: add general components TS demo
* docs: add layout components TS demo
* docs: add navigation components TS demo
* docs: add data entry components TS demo
* chore(deps): add types for qs
* docs: add data display TS demo
* docs: add feedback components TS demo
* docs: add other components TS demo
* chore(deps): add types
* docs: unified demo code style
* docs: fix lint error
* docs: add demo TS type
* docs: fix demo TS type
* test: update snapshot
* docs: fix TS demo
* feat: update Rate character type
* docs: fix lint error
* feat: update Rate character type
* feat: update Rate character type
2022-05-19 09:46:26 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
...
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
2022-05-07 14:31:54 +08:00
二货机器人
00fb82276f
Merge pull request #35396 from zpc7/test/transfer-tooltip-to-testing-library
...
Replace Tooltip test case with testing library
2022-05-07 14:04:15 +08:00
zpc7
bd31a6a46a
Revert "test: replace some slepp with jest.runAllTimers"
...
This reverts commit ad886d1f65
.
2022-05-07 13:05:11 +08:00
zpc7
ad886d1f65
test: replace some slepp with jest.runAllTimers
2022-05-07 12:09:25 +08:00
MadCcc
7873bf7f1c
fix: arrow style ( #35401 )
...
* fix: arrow style
* fix: raise arrow z-index
* fix: fix defualt arrow color
* fix: mix shadow
* chore: code clean
* chore: code clean
* fix: use fadeout instead
* test: fix style lint
2022-05-07 12:04:46 +08:00
zpc7
22b89eea5a
test: foreach all placement
2022-05-07 10:43:59 +08:00
zpc7
55f9e29360
test: remove some test case
2022-05-07 09:35:12 +08:00
zpc7
8ade7ab323
test: try to fix the pr check
2022-05-07 09:35:12 +08:00
zpc7
d9ce1ad14c
ci: trigger the pr check
2022-05-07 09:35:12 +08:00
zpc7
8545647313
test: transfer tooltip test case to testing library
2022-05-07 09:35:12 +08:00
PCCCCCCC
c2741c2c4b
test: transfer part of tooltip test case to testing library ( #35362 )
2022-05-03 10:40:12 +08:00
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped ( #35106 )
2022-04-20 00:16:39 +08:00
MadCcc
1c8e499f9c
test: migrate some test case to testing-library ( #35062 )
...
* test: migrate some test case to testing-library
* chore: code clean
* test: fix stylelint
* test: test case
2022-04-17 22:36:36 +08:00
MadCcc
6776bb8916
docs: demo support react18 ( #34843 )
...
* docs: update demo
* chore: add script
* test: fix demo test
* docs: convert demos
* chore: move script
* test: remove react-dom import
* chore: update deps
* docs: update riddle js
* test: fix image test
* docs: fix riddle demo
2022-04-03 23:27:45 +08:00
二货机器人
96ddf2e452
chore: more less variables ( #34746 )
2022-03-28 14:04:15 +08:00
MadCcc
10c090a993
fix: tooltip preset color ( #34548 )
...
* fix: tooltip preset color
* chore: code clean
2022-03-17 11:48:52 +08:00
dujun
fca7210309
fix: Tooltip width in safari ( #34415 )
2022-03-10 19:47:16 +08:00
MadCcc
76ad890deb
Merge branch 'master' into feature-merge-master
2022-02-15 14:05:33 +08:00
二货机器人
31fb55adf3
chore: btn default provide default cls ( #34013 )
2022-02-11 15:02:59 +08:00
MadCcc
926a8aaf8a
feat: tooltip round arrow ( #33710 )
...
* feat: tooltip round arrow
* chore: update demo
* docs: update docs
* feat: rounded arrow in Tooltip/Popover/Popconfirm/Dropdown/RangePicker
* chore: code clean
* fix: fill gap
* chore: code clean
* chore: raise css bundle size
* fix: arrow style
* feat: use full path
* test: update snapshot
* perf: hack firefox
* perf: more magic position
* perf: RangePicker's arrow position
* chore: bump rc-picker version
* fix: arrow position
2022-02-08 09:52:33 +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