Skip to content

Commit

Permalink
fix: tooltip provider -> tooltip root props
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte committed Nov 5, 2024
1 parent 7770ae7 commit 5aab00f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/five-olives-promise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"bits-ui": patch
---

fix: ensure `Tooltip.Provider` props are applied to `Tooltip.Root` unless overridden
6 changes: 3 additions & 3 deletions packages/bits-ui/src/lib/bits/tooltip/tooltip.svelte.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ class TooltipProviderState {
type TooltipRootStateProps = ReadableBoxedValues<{
delayDuration: number | undefined;
disableHoverableContent: boolean | undefined;
disableCloseOnTriggerClick: boolean;
disabled: boolean;
ignoreNonKeyboardFocus: boolean;
disableCloseOnTriggerClick: boolean | undefined;
disabled: boolean | undefined;
ignoreNonKeyboardFocus: boolean | undefined;
}> &
WritableBoxedValues<{
open: boolean;
Expand Down

0 comments on commit 5aab00f

Please sign in to comment.