@nikitadmitrieff/feedback-chat 0.1.1 → 0.1.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.
- package/dist/client/index.js +14 -1
- package/package.json +1 -1
package/dist/client/index.js
CHANGED
|
@@ -95,6 +95,19 @@ function cn(...inputs) {
|
|
|
95
95
|
|
|
96
96
|
// src/client/ui/tooltip.tsx
|
|
97
97
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
98
|
+
function TooltipProvider({
|
|
99
|
+
delayDuration = 0,
|
|
100
|
+
...props
|
|
101
|
+
}) {
|
|
102
|
+
return /* @__PURE__ */ jsx(
|
|
103
|
+
TooltipPrimitive.Provider,
|
|
104
|
+
{
|
|
105
|
+
"data-slot": "tooltip-provider",
|
|
106
|
+
delayDuration,
|
|
107
|
+
...props
|
|
108
|
+
}
|
|
109
|
+
);
|
|
110
|
+
}
|
|
98
111
|
function Tooltip({
|
|
99
112
|
...props
|
|
100
113
|
}) {
|
|
@@ -2061,7 +2074,7 @@ function FeedbackPanel({ isOpen, onToggle, apiUrl = "/api/feedback/chat" }) {
|
|
|
2061
2074
|
const clearPendingMessage = useCallback4(() => {
|
|
2062
2075
|
setPendingMessage("");
|
|
2063
2076
|
}, []);
|
|
2064
|
-
return /* @__PURE__ */ jsxs12(
|
|
2077
|
+
return /* @__PURE__ */ jsxs12(TooltipProvider, { children: [
|
|
2065
2078
|
/* @__PURE__ */ jsx16(
|
|
2066
2079
|
"div",
|
|
2067
2080
|
{
|