@superinterface/react 2.8.1 → 2.8.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/index.js CHANGED
@@ -729,16 +729,16 @@ import { useContext as useContext4 } from "react";
729
729
  import { createContext as createContext5 } from "react";
730
730
  var FunctionComponentsContext = createContext5({});
731
731
  // src/components/functions/FunctionBase/index.tsx
732
- import { PopoverRoot, PopoverContent } from "@radix-ui/themes";
732
+ import { Popover as Popover2 } from "@radix-ui/themes";
733
733
  // src/components/toolCalls/ToolCallBase/index.tsx
734
- import { Flex as Flex5, Button, PopoverTrigger } from "@radix-ui/themes";
734
+ import { Flex as Flex5, Button, Popover } from "@radix-ui/themes";
735
735
  import { jsx as jsx8 } from "react/jsx-runtime";
736
736
  var ToolCallBase = function(param) {
737
737
  var children = param.children;
738
738
  return /* @__PURE__ */ jsx8(Flex5, {
739
739
  py: "1",
740
740
  ml: "-2",
741
- children: /* @__PURE__ */ jsx8(PopoverTrigger, {
741
+ children: /* @__PURE__ */ jsx8(Popover.Trigger, {
742
742
  children: /* @__PURE__ */ jsx8(Button, {
743
743
  size: "1",
744
744
  color: "gold",
@@ -829,7 +829,7 @@ var Content = function(param) {
829
829
  import { jsx as jsx12, jsxs as jsxs3 } from "react/jsx-runtime";
830
830
  var FunctionBase = function(param) {
831
831
  var fn = param.fn, runStep = param.runStep, title2 = param.title;
832
- return /* @__PURE__ */ jsxs3(PopoverRoot, {
832
+ return /* @__PURE__ */ jsxs3(Popover2.Root, {
833
833
  children: [
834
834
  /* @__PURE__ */ jsxs3(ToolCallBase, {
835
835
  children: [
@@ -841,7 +841,7 @@ var FunctionBase = function(param) {
841
841
  })
842
842
  ]
843
843
  }),
844
- /* @__PURE__ */ jsx12(PopoverContent, {
844
+ /* @__PURE__ */ jsx12(Popover2.Content, {
845
845
  style: {
846
846
  maxHeight: "200px"
847
847
  },
@@ -918,11 +918,11 @@ var ToolCall = function(param) {
918
918
  });
919
919
  };
920
920
  // src/components/runSteps/RunStep/ToolCalls/Starting/index.tsx
921
- import { PopoverRoot as PopoverRoot2, PopoverContent as PopoverContent2, Text as Text3 } from "@radix-ui/themes";
921
+ import { Popover as Popover3, Text as Text3 } from "@radix-ui/themes";
922
922
  import { CircleIcon as CircleIcon2 } from "@radix-ui/react-icons";
923
923
  import { jsx as jsx17, jsxs as jsxs4 } from "react/jsx-runtime";
924
924
  var Starting = function() {
925
- return /* @__PURE__ */ jsxs4(PopoverRoot2, {
925
+ return /* @__PURE__ */ jsxs4(Popover3.Root, {
926
926
  children: [
927
927
  /* @__PURE__ */ jsxs4(ToolCallBase, {
928
928
  children: [
@@ -932,7 +932,7 @@ var Starting = function() {
932
932
  })
933
933
  ]
934
934
  }),
935
- /* @__PURE__ */ jsx17(PopoverContent2, {
935
+ /* @__PURE__ */ jsx17(Popover3.Content, {
936
936
  style: {
937
937
  maxHeight: "500px"
938
938
  },