Repository navigation
feat(tooltip)!: modernize Tooltip to Material Design 3 #4994
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
burczu
wants to merge
82
commits into
callstack:main
Choose a base branch
from
burczu:feat/tooltip-md3-modernization
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
82 commits
Select commit
Hold shift + click to select a range
5c1828f
feat(tooltip): align plain tooltip colors and typography with MD3
burczu d2e5c32
feat(tooltip): add fade enter/exit animation
burczu dd5586c
feat(tooltip): add rich tooltip variant
burczu 83a82bc
docs(tooltip): showcase rich tooltip and document both variants
burczu 76c4518
refactor(tooltip): extract shared useTooltipFade hook
burczu 13f31ed
feat(fab): modernize FloatingActionButton to MD3
adrcotfas 28ab4b1
feat(fab): add focus ring
adrcotfas 880201c
fix: review findings
adrcotfas 77f0833
refactor(tooltip): drop redundant token type annotations
burczu dd0633e
refactor(tooltip): render-prop API for Tooltip.Rich
burczu fa2dd79
fix(tooltip): label the rich tooltip dismiss backdrop
burczu 72e7ca2
fix(tooltip): open Rich tooltip on web regardless of trigger
burczu 982c83d
refactor(tooltip): derive mount during render, not in an effect
burczu 5e1c36f
refactor(tooltip): measure the trigger in useLayoutEffect
burczu a151776
feat(tooltip): replace Reanimated shared values with CSS transitions
burczu d56bfef
refactor(tooltip): replace isWeb with inline Platform.OS checks
burczu fb8ec26
refactor(tooltip): replace timer arrays with single nullable refs
burczu 3fe4981
refactor(tooltip): remove as type casts
burczu fefe3df
refactor(tooltip): replace cloneElement with render prop
burczu 730f303
fix(tooltip): add collapsable={false} to trigger wrapper
burczu b652791
fix(tooltip): fix web hover flicker and cursor-leave dismiss
burczu 75f0dd9
fix(tooltip): mobile interaction and Android animation bugs
burczu 6d1dfac
fix(tooltip): fix Tooltip.Rich one-tap switching after scroll
burczu f85fcdb
fix(tooltip): cancel stale hide timer before scheduling a new one
burczu 416f283
refactor(tooltip): replace as casts with proper ref type
burczu 4e6a8a7
fix(tooltip): fix FAB tooltip and Tooltip.Rich touchscreen web
burczu 0be9098
fix(fab): apply upstream a11y migration and fix RNTL v14 patterns
burczu b3e8d00
fix(tests): import Jest globals from @jest/globals in FABUtils test
burczu 35ef55e
fix(fab): restore aria props and drop forwardRef wrapper
burczu b706530
Merge remote-tracking branch 'origin/main' into feat/tooltip-md3-mode…
MikitasK 689922c
fix: restore verbatim module syntax
MikitasK 682dd9a
docs: document Tooltip render prop migration
MikitasK 8a0bfb4
fix: use ARIA props for rich backdrop
MikitasK f0bbfb0
fix: accept callback refs in Extended
MikitasK fa201b5
refactor: remove hardcoded test IDs
MikitasK 0f4faa6
fix: stabilize native positioning
MikitasK cd1e8e6
fix: fade Android shadow with surface
MikitasK e7cbb3a
fix: support callback refs
MikitasK 8941c39
fix: align rich title color with MD3
MikitasK f675a2b
Merge branch 'main' of https://github.com/callstack/react-native-pape…
MikitasK e477af6
fix(tooltip): use the spec's asymmetric padding on the rich tooltip
MikitasK 0f1bfd6
fix(tooltip): drop the redundant `as Window` assertions
MikitasK e81edf7
Merge upstream/main into feat/tooltip-md3-modernization
MikitasK 83d0ca7
docs: add Tooltip.Rich API page
MikitasK 55e96b6
Merge upstream/main into feat/tooltip-md3-modernization
MikitasK 27a7757
chore: revert unrelated dependency & tsconfig changes
MikitasK 367a26c
style: sort imports in the Banner docs example
MikitasK 4a9ca97
fix: address review feedback
MikitasK e7432fc
feat: add onDismiss callback & cover onPress event forwarding
MikitasK f8170dc
Merge remote-tracking branch 'origin/main' into feat/tooltip-md3-mode…
lukewalczak 0d933e7
fix(tooltip): keep Tooltip.Rich open while hovered on web
lukewalczak ecbf49e
fix(tooltip): show on focus and hide rich backdrop from a11y
lukewalczak c3fa301
fix(tooltip): type key events without KeyDownEvent for legacy RN types
lukewalczak 67ac430
chore(fab): restore aria-label JSDoc in FAB menu
lukewalczak 76e4d94
fix(tooltip): clear pending timers, close rich tooltip on Escape down
lukewalczak 228b55e
chore(fab): revert FAB changes unrelated to Tooltip
lukewalczak 3a1ef27
fix(tooltip): close rich tooltip on outside press on web
lukewalczak 4c87f45
fix(tooltip): use dialog role for rich tooltip with actions
lukewalczak 8ce72f4
refactor(tooltip): reuse show() and drop zero-size rect check
lukewalczak 85500fc
fix(tooltip): improve rich tooltip a11y, web interactions and MD3 sizing
lukewalczak 7f2d8b6
docs(tooltip): update migration guide and rich tooltip example
lukewalczak 9905c80
fix(tooltip): use the 320dp rich tooltip max width from Compose
lukewalczak 1e33904
refactor(tooltip): use useTimeout directly instead of useTooltipTimers
lukewalczak e975a07
chore(tooltip): remove comments that repeat code or other comments
lukewalczak db06c3c
fix(tooltip): describe the rich tooltip trigger with a hint on native
lukewalczak d50982f
fix(tooltip): let the rich tooltip exit fade finish before unmount
lukewalczak 39236b1
Merge branch 'main' into feat/tooltip-md3-modernization
lukewalczak 6cea718
test(tooltip): drop unused mock and show calling both press handlers
lukewalczak bf75268
fix(tooltip): keep the rich tooltip open while focus is inside it
lukewalczak 2b73a22
docs(tooltip): note onPress on switch, add rich tooltip variant
lukewalczak f9e56b0
fix(tooltip): keep a wide tooltip clear of the right edge
lukewalczak bb2bcfe
chore(tooltip)!: note breaking Tooltip changes
lukewalczak c567296
Merge branch 'main' into feat/tooltip-md3-modernization
lukewalczak 6ae59ff
fix(tooltip): address review feedback
lukewalczak 3c9db0f
fix(tooltip): keep the native trigger its own accessibility element
lukewalczak 4a6c3fd
fix(tooltip): keep the rich tooltip open on Enter after keyboard focus
lukewalczak 2e2e16b
fix(tooltip): describe the trigger with the title, add titleAsAriaLabel
lukewalczak 08ee792
refactor(tooltip): move web hover and focus handling into hooks
lukewalczak ce530b0
fix(tooltip): keep Tab and Shift+Tab next to the rich tooltip trigger
lukewalczak 8b13dfa
Merge remote-tracking branch 'origin/main' into feat/tooltip-md3-mode…
lukewalczak 7e4d256
refactor(tooltip): drop unneeded memoization and no-op aria-live
lukewalczak cbb1b86
Merge remote-tracking branch 'origin/main' into feat/tooltip-md3-mode…
lukewalczak File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.