@superinterface/react 2.8.0 → 2.8.1

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
@@ -308,7 +308,7 @@ var set = function(param) {
308
308
  return Cookies2.set(key({
309
309
  assistantId: assistantId
310
310
  }), threadId, {
311
- expires: 270
311
+ expires: 7
312
312
  });
313
313
  };
314
314
  // src/lib/threadIdCookies/options/index.ts
@@ -1516,6 +1516,7 @@ var Submit = function() {
1516
1516
  // src/components/threads/Thread/MessageForm/Root/index.tsx
1517
1517
  import { useMemo as useMemo8 } from "react";
1518
1518
  import { useForm, FormProvider } from "react-hook-form";
1519
+ import { Box as Box12 } from "@radix-ui/themes";
1519
1520
  // src/hooks/messages/useCreateMessage/index.ts
1520
1521
  import { partob } from "radash";
1521
1522
  import { useMutation, useQueryClient as useQueryClient3 } from "@tanstack/react-query";
@@ -2193,9 +2194,13 @@ var Root2 = function(param) {
2193
2194
  isLoading: isLoading
2194
2195
  },
2195
2196
  children: /* @__PURE__ */ jsx40(FormProvider, _object_spread_props(_object_spread({}, formProps), {
2196
- children: /* @__PURE__ */ jsx40("form", {
2197
- onSubmit: handleSubmit(onSubmit),
2198
- children: children
2197
+ children: /* @__PURE__ */ jsx40(Box12, {
2198
+ asChild: true,
2199
+ flexShrink: "0",
2200
+ children: /* @__PURE__ */ jsx40("form", {
2201
+ onSubmit: handleSubmit(onSubmit),
2202
+ children: children
2203
+ })
2199
2204
  })
2200
2205
  }))
2201
2206
  });