@choice-ui/react 1.5.1 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Kbd } from "../../kbd/dist/index.js";
|
|
2
2
|
import { useMergeRefs, useDelayGroup, useTransitionStyles, FloatingPortal, offset, flip, shift, arrow, useFloating, autoUpdate, useHover, useFocus, useDismiss, useRole, useInteractions } from "@floating-ui/react";
|
|
3
3
|
import { FloatingDelayGroup } from "@floating-ui/react";
|
|
4
|
-
import
|
|
4
|
+
import { forwardRef, createContext, useMemo, useState, useRef, useContext } from "react";
|
|
5
5
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
6
6
|
import { Slot } from "../../slot/dist/index.js";
|
|
7
7
|
import { tcv, tcx } from "../../../shared/utils/tcx/tcx.js";
|
|
@@ -183,8 +183,7 @@ var TooltipContent = forwardRef(
|
|
|
183
183
|
var TooltipTrigger = forwardRef(
|
|
184
184
|
function TooltipTrigger2({ children, ...props }, propRef) {
|
|
185
185
|
const state = useTooltipState();
|
|
186
|
-
const
|
|
187
|
-
const ref = useMergeRefs([state.refs.setReference, propRef, childrenRef]);
|
|
186
|
+
const ref = useMergeRefs([state.refs.setReference, propRef]);
|
|
188
187
|
return /* @__PURE__ */ jsx(
|
|
189
188
|
Slot,
|
|
190
189
|
{
|
package/package.json
CHANGED