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
MadCcc
0a0f96798d
chore: snapshot
2022-10-14 12:11:43 +08:00
MadCcc
2471bf88aa
test: fix test
2022-10-11 21:33:29 +08:00
MadCcc
03a1ae427d
Merge branch 'feature' into next-merge-feature
2022-10-11 20:29:55 +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
二货爱吃白萝卜
538d15a094
fix: Tooltip pure panel not support color
prop ( #37698 )
...
* refactor: extract color func
* fix: Tooltip render panel color
* test: Update snapshot
2022-09-22 16:55:55 +08:00
MadCcc
eb9179464b
Merge branch 'master' into next-merge-master
2022-09-22 11:47:05 +08:00
binyellow
047432c4ea
docs: modify Tooltip document ( #37683 )
2022-09-22 10:10:29 +08:00
MadCcc
c61f283487
feat: switch motion ( #37658 )
...
* feat: switch motion
* chore: code clean
* feat: active text offset
* chore: update snapshot
2022-09-20 21:51:28 +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
MadCcc
7a73035f82
chore: fix snapshot
2022-09-14 14:29:05 +08:00
MadCcc
d1be33f224
Merge branch 'master' into next-merge-master
2022-09-14 10:31:17 +08:00
MadCcc
83447e5b2c
feat: arrow offset ( #37527 )
...
* feat: arrow margin
* feat: dropdown arrow offset
* chore: code clean
2022-09-13 17:07:16 +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
二货机器人
1cad665d15
chore: merge master
2022-09-07 10:35:16 +08:00
二货爱吃白萝卜
44d8076304
chore: support deprecated visible in v5 but warning with this ( #37422 )
...
* chore: tags deprecated support
* chore: Slider Tooltip test
* chore: Table dropdown visible legacy
* chore: drawer warning of legacy
* chore: Modal legacy prop
* chore: dropdown open legacy prop
* chore: Tooltiop visible legacy info
* fix: format logic
* test: Update test for 18
* chore: fix lint
2022-09-06 21:46:49 +08:00
二货爱吃白萝卜
aca046288e
docs: Add FAQ about open ( #37420 )
2022-09-06 14:03:39 +08:00
MadCcc
5174024561
test: fix test
2022-09-05 22:02:23 +08:00
MadCcc
d5c17a9a7c
Merge branch 'master' into next-merge-master
2022-09-05 21:26:04 +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
MadCcc
46a861afff
feat: radius token algorithm ( #37341 )
...
* feat: radius token
* test: add test case
* feat: linear after 16
* test: more test case
2022-09-01 20:09:32 +08:00
MadCcc
c0653c8a3c
feat: v5 margin ( #37283 )
...
* feat: v5 margin
* fix: alert icon line-height
2022-08-29 17:09:41 +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
MadCcc
ec13e824be
feat: v5 shadow & colorPrimary ( #37254 )
...
* feat: v5 shadow
* chore: color lint
* test: fix test case
2022-08-26 16:05:16 +08:00
MadCcc
e3a2c68236
feat: better round arrow ( #37236 )
2022-08-25 19:39:26 +08:00
yykoypj
43d45330c5
feat: switch visible to open for Tooltip & Popover & Popconfirm ( #36807 )
...
* feat: switch visible to open for Tooltip
* feat: switch visible to open for Popover
* feat: switch visible to open for Popconfirm
* fix
* chore: resolve conflict
* test: fix test case
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2022-08-24 21:34:17 +08:00
MadCcc
93908debec
feat: v5 radius ( #37146 )
...
* feat: v5 radius
* test: fix test
2022-08-19 10:10:51 +08:00
二货机器人
2490c4cb7f
chore: next merge feature
2022-08-16 15:52:28 +08:00
Kyrielin
c435eaad3f
feat(Tooltip): support React.Fragment as children ( #37045 )
2022-08-16 09:59:27 +08:00
二货机器人
394aba4afe
chore: merge master
2022-07-29 15:56:11 +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
1ad0553249
refactor: token update ( #36637 )
...
* refactor: token update
* refactor: token
* chore: error color
* fix: menu danger
2022-07-21 17:00:42 +08:00
二货机器人
2c3ad833f1
feat: Popover Pure Panel ( #36514 )
...
* feat: Popver shadow
* test: Update snapshot
* chore: clean up
2022-07-14 12:06:18 +08:00
二货机器人
8a0764dd69
feat: Tooltip support pure render ( #36512 )
...
* chore: init
* feat: Pure Panel Tooltip
* test: snapshot
* chore: clean up
2022-07-13 23:06:28 +08:00
zombiej
17f020f0a7
chore: merge master
2022-07-13 17:52:42 +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
cdbfe45df1
feat: generate anchor style for all components ( #36460 )
...
* test: fix lint
* chore: code clean
* doc: anchor color
* chore: style order
2022-07-11 15:35:58 +08:00
MadCcc
8e27cf986f
chore: rm component less file ( #36244 )
...
* chore: rm component less file
* refactor: less file
* refactor: rm less
* refactor: rm page-header and comment
* chore: rm less in components
* chore: update dist config
* chore: update image test
* chore: update dekko
* chore: rm lib dekko
* chore: update dist dekko
* chore: udpate bundle size
* test: update snapshot
* test: rm theme test
* test: update snapshot
* test: update snapshot
* chore: copy reset.css
* test: update image test
* chore: copy reset.css to es
* chore: update site script
2022-07-05 21:55:21 +08:00
MadCcc
9d7c11f391
Merge branch 'master' into next-merge-master
2022-07-03 09:42:26 +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
MadCcc
abb409ccf7
refactor: token update ( #36306 )
2022-06-29 21:24:29 +08:00
二货机器人
de2992f96f
chore: move path ( #36243 )
...
* chore: base move
* chore: all path
* chore: fix script
2022-06-27 14:25:59 +08:00
MadCcc
9f2f9bb57f
refactor: default theme with algorithm ( #36175 )
...
* refactor: alias token
* refactor: use palettes
* refactor: default theme
* chore: code clean
* refactor: component token
* feat: light tokens
* feat: add dark theme
* feat: dark derivative
* chore: code clean
* refactor: fix colorBgContainer
* refactor: rename token
* test: fix lint
* chore: code clean
* chore: code clen
* refactor: badge shadow color
* test: add test case
2022-06-24 11:11:42 +08:00
zombiej
8749c1ae04
chore: merge master
2022-06-22 15:18:03 +08:00
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2022-06-22 14:57:09 +08:00
zombiej
91245c16ad
chore: merge master
2022-06-21 19:40:22 +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
MadCcc
1bcfe0cce3
refactor: motion ( #36136 )
...
* fix: modal motion
* fix: image motion
* refactor: popover & tooltip motion
* chore: code clean
* refactor: move motion
* refactor
* chore: code clean
* refactor: dropdown support move motion
2022-06-21 00:34:51 +08:00
MadCcc
5639e1a5ba
feat: update token ( #36095 )
...
* feat: update token
* feat: update token
* fix: override ts definition
* fix: rename token
2022-06-17 18:47:47 +08:00
二货机器人
fb322cd70e
refactor: Full token tooltip ( #35896 )
...
* refactor: full token
* refactor: full token
* test: Udpate snapshot
2022-06-02 22:15:54 +08:00
二货机器人
0ecddfdb0d
refactor: Popconfirm cssinjs ( #35683 )
...
* chore: init
* chore: part of
* fix: Buttons style
* chore: refactor dom structure
* test: Update snapshot
* test: more coverage
2022-05-23 20:34:20 +08:00
zombiej
f58efe9b32
chore: merge master
2022-05-23 14:37:16 +08:00
zombiej
cd0ace3d40
chore: merge master
2022-05-21 22:14:15 +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
MadCcc
9ca7973521
refactor: image full token ( #35465 )
...
* refactor: image full token
* chore: remain switch size
* refactor: less token
* chore: text color
2022-05-10 17:30:01 +08:00
MadCcc
1f5e271eb6
Merge branch 'master' into next-merge-master
2022-05-09 21:26:25 +08:00
MadCcc
e9f22cf192
chore: code enhance
2022-05-07 15:38:00 +08:00
MadCcc
83ed62aa0e
Merge branch 'feature' into next-merge-feature
2022-05-07 15:19:54 +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
b3e8e2d555
Refactor:Component Tooltip Less to cssinjs ( #35340 )
...
* refactor: add basic css layout for tooltip
* style: handle the special mutilte repeat property
* style: complete the custom color style
* style: replace with Logical properties
* style: skip check some logic property
* docs: add FIXME necessary
* chore: adjust bundle size and trigger the preview ci
2022-05-03 22:41:59 +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
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