teodor-new-chat-ui 2.0.6 → 2.0.8

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.
@@ -1,6 +1,6 @@
1
1
  import * as ResizablePrimitive from "react-resizable-panels";
2
2
  declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => import("react/jsx-runtime").JSX.Element;
3
- declare const ResizablePanel: import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLButtonElement | HTMLElement | HTMLTextAreaElement | HTMLDivElement | HTMLParagraphElement | HTMLUListElement | HTMLOListElement | HTMLLIElement | HTMLQuoteElement | HTMLTableElement | HTMLTableCellElement | HTMLPreElement | HTMLDListElement | HTMLSpanElement | HTMLAnchorElement | HTMLImageElement | HTMLObjectElement | HTMLDataElement | HTMLHeadElement | HTMLLinkElement | HTMLBodyElement | HTMLMapElement | HTMLTitleElement | HTMLFormElement | HTMLSlotElement | HTMLStyleElement | HTMLDialogElement | HTMLOptionElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLHeadingElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLInputElement | HTMLLabelElement | HTMLLegendElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOutputElement | HTMLProgressElement | HTMLScriptElement | HTMLSelectElement | HTMLSourceElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTimeElement | HTMLTableRowElement | HTMLTrackElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
3
+ declare const ResizablePanel: import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLButtonElement | HTMLElement | HTMLTextAreaElement | HTMLDivElement | HTMLPreElement | HTMLUListElement | HTMLParagraphElement | HTMLDListElement | HTMLSpanElement | HTMLLIElement | HTMLAnchorElement | HTMLImageElement | HTMLObjectElement | HTMLDataElement | HTMLHeadElement | HTMLLinkElement | HTMLBodyElement | HTMLMapElement | HTMLTitleElement | HTMLFormElement | HTMLSlotElement | HTMLStyleElement | HTMLDialogElement | HTMLOptionElement | HTMLTableElement | HTMLOutputElement | HTMLHeadingElement | HTMLInputElement | HTMLLabelElement | HTMLOListElement | HTMLSelectElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLLegendElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLProgressElement | HTMLScriptElement | HTMLSourceElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTimeElement | HTMLTableRowElement | HTMLTrackElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
4
4
  className?: string | undefined;
5
5
  collapsedSize?: number | undefined;
6
6
  collapsible?: boolean | undefined;
package/dist/index.esm.js CHANGED
@@ -2851,24 +2851,7 @@ function xo(e) {
2851
2851
  var pp = ja;
2852
2852
  const Ts = pp, As = Ga;
2853
2853
  function gn({ content: e, className: t = "" }) {
2854
- return /* @__PURE__ */ c("div", { className: `prose prose-sm max-w-none dark:prose-invert prose-pre:rounded prose-pre:border prose-pre:bg-background/50 prose-code:bg-background/50 prose-code:px-1 prose-code:py-0.5 prose-code:rounded prose-table:my-4 prose-th:px-2 prose-td:px-2 leading-relaxed ${t}`, children: /* @__PURE__ */ c(
2855
- sd,
2856
- {
2857
- remarkPlugins: [ad],
2858
- components: {
2859
- p: ({ children: n }) => /* @__PURE__ */ c("p", { className: "mt-0 mb-3 last:mb-0 whitespace-pre-wrap", children: n }),
2860
- ul: ({ children: n }) => /* @__PURE__ */ c("ul", { className: "list-disc pl-5 mb-3 space-y-1 marker:text-muted-foreground", children: n }),
2861
- ol: ({ children: n }) => /* @__PURE__ */ c("ol", { className: "list-decimal pl-5 mb-3 space-y-1 marker:text-muted-foreground", children: n }),
2862
- li: ({ children: n }) => /* @__PURE__ */ c("li", { className: "leading-snug", children: n }),
2863
- blockquote: ({ children: n }) => /* @__PURE__ */ c("blockquote", { className: "border-l-4 border-border pl-3 italic text-muted-foreground my-3", children: n }),
2864
- table: ({ children: n }) => /* @__PURE__ */ c("div", { className: "overflow-x-auto border rounded mb-4", children: /* @__PURE__ */ c("table", { className: "w-full border-collapse text-xs", children: n }) }),
2865
- th: ({ children: n }) => /* @__PURE__ */ c("th", { className: "border-b bg-muted/40 px-2 py-1 text-left font-medium text-[11px] uppercase tracking-wide", children: n }),
2866
- td: ({ children: n }) => /* @__PURE__ */ c("td", { className: "border-b px-2 py-1 align-top", children: n }),
2867
- code: ({ className: n, children: r, ...o }) => !/language-(\w+)/.exec(n || "") && !(n != null && n.includes("language-")) ? /* @__PURE__ */ c("code", { className: "text-[12px] font-medium", ...o, children: r }) : /* @__PURE__ */ c("pre", { className: "bg-background/50 p-2 rounded border overflow-x-auto text-xs leading-relaxed", children: /* @__PURE__ */ c("code", { className: n, ...o, children: r }) })
2868
- },
2869
- children: e
2870
- }
2871
- ) });
2854
+ return /* @__PURE__ */ c("div", { className: `prose prose-sm max-w-none break-words break-all dark:prose-invert prose-pre:rounded prose-pre:border prose-pre:bg-background/50 prose-code:bg-background/50 prose-code:px-1 prose-code:py-0.5 prose-code:rounded prose-table:my-4 prose-th:px-2 prose-td:px-2 leading-relaxed ${t}`, children: /* @__PURE__ */ c(sd, { remarkPlugins: [ad], children: e }) });
2872
2855
  }
2873
2856
  function hp({
2874
2857
  message: e,