@superinterface/react 2.16.2 → 2.16.3
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/index.cjs +123 -121
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -822,11 +822,13 @@ var FunctionComponentsContext = createContext6({});
|
|
|
822
822
|
// src/components/functions/FunctionBase/index.tsx
|
|
823
823
|
import { Popover } from "@radix-ui/themes";
|
|
824
824
|
// src/components/toolCalls/ToolCallBase/index.tsx
|
|
825
|
+
import { forwardRef as forwardRef3 } from "react";
|
|
825
826
|
import { Flex as Flex6, Button } from "@radix-ui/themes";
|
|
826
827
|
import { jsx as jsx10 } from "react/jsx-runtime";
|
|
827
|
-
var ToolCallBase = function(param) {
|
|
828
|
+
var ToolCallBase = forwardRef3(function ToolCallBase2(param, ref) {
|
|
828
829
|
var children = param.children;
|
|
829
830
|
return /* @__PURE__ */ jsx10(Flex6, {
|
|
831
|
+
ref: ref,
|
|
830
832
|
py: "1",
|
|
831
833
|
ml: "-2",
|
|
832
834
|
children: /* @__PURE__ */ jsx10(Button, {
|
|
@@ -839,7 +841,7 @@ var ToolCallBase = function(param) {
|
|
|
839
841
|
children: children
|
|
840
842
|
})
|
|
841
843
|
});
|
|
842
|
-
};
|
|
844
|
+
});
|
|
843
845
|
// src/components/toolCalls/ToolCallBase/ToolCallTitle.tsx
|
|
844
846
|
import { Text as Text2 } from "@radix-ui/themes";
|
|
845
847
|
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
@@ -2485,10 +2487,10 @@ import { useFormContext } from "react-hook-form";
|
|
|
2485
2487
|
import { usePrevious } from "react-use";
|
|
2486
2488
|
import { useContext as useContext11, useMemo as useMemo9, useRef as useRef4, useEffect as useEffect3 } from "react";
|
|
2487
2489
|
// src/components/textareas/TextareaBase/index.tsx
|
|
2488
|
-
import { forwardRef as
|
|
2490
|
+
import { forwardRef as forwardRef4 } from "react";
|
|
2489
2491
|
import TextareaAutosize from "react-textarea-autosize";
|
|
2490
2492
|
import { Fragment as Fragment3, jsx as jsx47, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
2491
|
-
var TextareaBase =
|
|
2493
|
+
var TextareaBase = forwardRef4(function TextareaBase2(props, ref) {
|
|
2492
2494
|
return /* @__PURE__ */ jsxs15(Fragment3, {
|
|
2493
2495
|
children: [
|
|
2494
2496
|
/* @__PURE__ */ jsx47("style", {
|