reactist icon indicating copy to clipboard operation
reactist copied to clipboard

feat: Add TooltipContext to set global timeout values

Open frankieyan opened this issue 1 year ago • 0 comments

Short description

Back in https://github.com/Doist/reactist/pull/845, I exposed Ariakit's showTimeout and hideTimeout props to Tooltip to allow for customization, but it wasn't until I went to integrate it did I realize my mistake - we don't want to have to set this on every single tooltip instance 🥲 So we are adding a provider in order to be able to define these values just once in the app.

Ref: https://github.com/Doist/Issues/issues/15139

PR Checklist

  • [ ] Added tests for bugs / new features
  • [x] Updated docs (storybooks, readme)
  • [x] Executed npm run validate and made sure no errors / warnings were shown
  • [x] Described changes in CHANGELOG.md
  • [ ] Bumped version in package.json and package-lock.json (npm --no-git-tag-version version <major|minor|patch>) ref
  • [ ] Reviewed and approved Chromatic visual regression tests in CI

Versioning

Minor

frankieyan avatar Oct 26 '24 05:10 frankieyan