@melony/react 0.1.27 → 0.1.28

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 CHANGED
@@ -171,7 +171,7 @@ var MelonyContextProviderInner = ({
171
171
  }, [value, setContextValue]);
172
172
  return /* @__PURE__ */ jsxRuntime.jsx(react.NuqsAdapter, { children });
173
173
  };
174
- var MelonyClientProvider = ({
174
+ var MelonyProvider = ({
175
175
  children,
176
176
  client,
177
177
  initialEvents,
@@ -2812,7 +2812,7 @@ function Thread({
2812
2812
  "div",
2813
2813
  {
2814
2814
  className: cn(
2815
- "max-w-4xl mx-auto w-full p-4",
2815
+ "max-w-[48rem] mx-auto w-full p-4",
2816
2816
  showStarterPrompts && "min-h-full flex flex-col"
2817
2817
  ),
2818
2818
  children: isLoadingEvents && messages.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center py-20", children: /* @__PURE__ */ jsxRuntime.jsx(LoadingIndicator, { status: { message: "Loading messages..." } }) }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
@@ -2837,7 +2837,7 @@ function Thread({
2837
2837
  ),
2838
2838
  /* @__PURE__ */ jsxRuntime.jsx("div", { ref: messagesEndRef })
2839
2839
  ] }),
2840
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute bottom-0 p-4 w-full", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-4xl mx-auto", children: /* @__PURE__ */ jsxRuntime.jsx(
2840
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "absolute bottom-0 p-4 w-full", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "max-w-[48rem] mx-auto", children: /* @__PURE__ */ jsxRuntime.jsx(
2841
2841
  Composer,
2842
2842
  {
2843
2843
  value: input,
@@ -3738,8 +3738,8 @@ exports.Input = Input2;
3738
3738
  exports.Label = Label2;
3739
3739
  exports.List = List;
3740
3740
  exports.ListItem = ListItem;
3741
- exports.MelonyClientProvider = MelonyClientProvider;
3742
3741
  exports.MelonyContext = MelonyContext;
3742
+ exports.MelonyProvider = MelonyProvider;
3743
3743
  exports.PopupChat = PopupChat;
3744
3744
  exports.RadioGroup = RadioGroup;
3745
3745
  exports.Row = Row;