@eloquentai/chat-sdk 0.33.4-dev → 0.33.5

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.
Files changed (36) hide show
  1. package/dist/components/banner.d.ts +1 -1
  2. package/dist/components/chat/index.d.ts +1 -1
  3. package/dist/components/chat/proactive-message.d.ts +1 -1
  4. package/dist/components/chat-bubble.d.ts +1 -1
  5. package/dist/components/chat-interface/content.d.ts +1 -1
  6. package/dist/components/chat-interface/context.d.ts +1 -1
  7. package/dist/components/chat-interface/footer.d.ts +1 -1
  8. package/dist/components/chat-interface/header.d.ts +1 -1
  9. package/dist/components/chat-interface/index.d.ts +1 -1
  10. package/dist/components/chat-interface/skeleton.d.ts +1 -1
  11. package/dist/components/chat-interface/suggested-messages.d.ts +1 -1
  12. package/dist/components/chat-message-bubble.d.ts +1 -1
  13. package/dist/components/chat-rating-bubble.d.ts +1 -1
  14. package/dist/components/iframe.d.ts +1 -1
  15. package/dist/components/logo-animated.d.ts +1 -1
  16. package/dist/components/logo.d.ts +1 -1
  17. package/dist/components/ui/dialog.d.ts +2 -2
  18. package/dist/components/ui/markdown-viewer.d.ts +1 -1
  19. package/dist/components/ui/skeleton.d.ts +1 -1
  20. package/dist/components/ui/star-rating.d.ts +1 -1
  21. package/dist/contexts/agent-cognition.context.d.ts +1 -1
  22. package/dist/contexts/error-handling.context.d.ts +1 -1
  23. package/dist/contexts/theme.context.d.ts +1 -1
  24. package/dist/{index-cn2fQIqR.js → index-B0zRqhpA.js} +2 -2
  25. package/dist/{index-cn2fQIqR.js.map → index-B0zRqhpA.js.map} +1 -1
  26. package/dist/index-weM0IAQF.js +33925 -0
  27. package/dist/index-weM0IAQF.js.map +1 -0
  28. package/dist/index.css +1 -1
  29. package/dist/index.mjs +1 -1
  30. package/package.json +5 -18
  31. package/dist/components/logo-squared.d.ts +0 -5
  32. package/dist/components/ui/input.d.ts +0 -2
  33. package/dist/components/ui/loading-ellipsis.d.ts +0 -1
  34. package/dist/components/ui/popover.d.ts +0 -5
  35. package/dist/index-CrlZKwNw.js +0 -32451
  36. package/dist/index-CrlZKwNw.js.map +0 -1
@@ -2,5 +2,5 @@ interface BannerProps {
2
2
  message: string;
3
3
  type: "warning" | "error" | "info" | "success";
4
4
  }
5
- export declare const Banner: ({ message, type }: BannerProps) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const Banner: ({ message, type }: BannerProps) => import("react").JSX.Element;
6
6
  export {};
@@ -13,5 +13,5 @@ type InternalChatProps = {
13
13
  INTERNAL_ONLY_FEATURE_HIDE_COPY_BUTTON?: boolean;
14
14
  };
15
15
  export type ChatProps = UseChatProps & InternalChatProps;
16
- export declare function Chat(props: Readonly<ChatProps>): import("react/jsx-runtime").JSX.Element;
16
+ export declare function Chat(props: Readonly<ChatProps>): import("react").JSX.Element;
17
17
  export {};
@@ -5,4 +5,4 @@ export interface ProactiveMessageProps {
5
5
  onMessageClick?: () => void;
6
6
  autoHideDelay?: number;
7
7
  }
8
- export declare function ProactiveMessage({ message, isVisible, onDismiss, onMessageClick, autoHideDelay, }: ProactiveMessageProps): import("react/jsx-runtime").JSX.Element | null;
8
+ export declare function ProactiveMessage({ message, isVisible, onDismiss, onMessageClick, autoHideDelay, }: ProactiveMessageProps): import("react").JSX.Element | null;
@@ -3,4 +3,4 @@ export declare function ChatBubble({ toggleBubble, isDarkMode, }: {
3
3
  toggleBubble: () => void;
4
4
  /** Renders in its own iframe (no `.dark` ancestor), so the mode arrives as a prop. */
5
5
  isDarkMode?: boolean;
6
- }): import("react/jsx-runtime").JSX.Element;
6
+ }): import("react").JSX.Element;
@@ -1 +1 @@
1
- export declare function ChatInterfaceContent(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function ChatInterfaceContent(): import("react").JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import { ChatInterfaceProps } from '.';
3
3
  declare const ChatContext: import('react').Context<ChatInterfaceProps | undefined>;
4
- export declare function ChatInterfaceProvider({ children, ...props }: PropsWithChildren<ChatInterfaceProps>): import("react/jsx-runtime").JSX.Element;
4
+ export declare function ChatInterfaceProvider({ children, ...props }: PropsWithChildren<ChatInterfaceProps>): import("react").JSX.Element;
5
5
  export declare function useChatInterfaceContext(): ChatInterfaceProps;
6
6
  export { ChatContext, type ChatInterfaceProps };
@@ -1 +1 @@
1
- export declare function ChatInterfaceFooter(): import("react/jsx-runtime").JSX.Element;
1
+ export declare function ChatInterfaceFooter(): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  export declare function ChatInterfaceHeader({ onCleanChat, onClose, }: {
2
2
  onCleanChat: () => void;
3
3
  onClose: () => void;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): import("react").JSX.Element;
@@ -38,4 +38,4 @@ export interface ChatInterfaceProps {
38
38
  onStartNewChat?: () => void;
39
39
  onRateChat?: (rating: number) => void;
40
40
  }
41
- export declare function ChatInterface(props: ChatInterfaceProps): import("react/jsx-runtime").JSX.Element;
41
+ export declare function ChatInterface(props: ChatInterfaceProps): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
1
  export declare function SkeletonChatInterface({ isOpen, isMobile, }: {
2
2
  isOpen?: boolean;
3
3
  isMobile: boolean | undefined;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): import("react").JSX.Element;
@@ -16,4 +16,4 @@ export interface SuggestedMessagesProps {
16
16
  * - `hasSuggestedMessageShine` — a banner-style light streak flashing across
17
17
  * the pill at random 4–9 second intervals.
18
18
  */
19
- export declare function SuggestedMessages({ onSelect }: SuggestedMessagesProps): import("react/jsx-runtime").JSX.Element | null;
19
+ export declare function SuggestedMessages({ onSelect }: SuggestedMessagesProps): import("react").JSX.Element | null;
@@ -5,5 +5,5 @@ type MessageBubbleProps = Readonly<{
5
5
  nextMessage?: Message;
6
6
  assistantLogo?: string;
7
7
  }>;
8
- export declare function MessageBubble({ className, message, nextMessage, assistantLogo, }: MessageBubbleProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function MessageBubble({ className, message, nextMessage, assistantLogo, }: MessageBubbleProps): import("react").JSX.Element;
9
9
  export {};
@@ -1,5 +1,5 @@
1
1
  interface RatingMessageBubbleProps {
2
2
  onRate: (rating: number) => void;
3
3
  }
4
- export declare function RatingMessageBubble({ onRate }: RatingMessageBubbleProps): import("react/jsx-runtime").JSX.Element;
4
+ export declare function RatingMessageBubble({ onRate }: RatingMessageBubbleProps): import("react").JSX.Element;
5
5
  export {};
@@ -2,5 +2,5 @@ import { HTMLAttributes, PropsWithChildren, ReactNode } from 'react';
2
2
  type IframeProps = PropsWithChildren<HTMLAttributes<HTMLIFrameElement>> & {
3
3
  head: ReactNode;
4
4
  };
5
- export declare function Iframe({ children, head, ...props }: IframeProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function Iframe({ children, head, ...props }: IframeProps): import("react").JSX.Element;
6
6
  export {};
@@ -3,4 +3,4 @@ export interface LogoProps {
3
3
  isWaiting?: boolean;
4
4
  onLoaded?: () => void;
5
5
  }
6
- export declare function LogoAnimated({ isWaiting, ...props }: LogoProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function LogoAnimated({ isWaiting, ...props }: LogoProps): import("react").JSX.Element;
@@ -4,4 +4,4 @@ export interface LogoProps {
4
4
  fgColor?: string;
5
5
  src?: string;
6
6
  }
7
- export declare function Logo(props: LogoProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function Logo(props: LogoProps): import("react").JSX.Element;
@@ -6,11 +6,11 @@ declare const DialogPortal: import('react').FC<DialogPrimitive.DialogPortalProps
6
6
  declare const DialogOverlay: import('react').ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
7
7
  declare const DialogContent: import('react').ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
8
8
  declare const DialogHeader: {
9
- ({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
9
+ ({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
10
10
  displayName: string;
11
11
  };
12
12
  declare const DialogFooter: {
13
- ({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
13
+ ({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
14
14
  displayName: string;
15
15
  };
16
16
  declare const DialogTitle: import('react').ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & import('react').RefAttributes<HTMLHeadingElement>, "ref"> & import('react').RefAttributes<HTMLHeadingElement>>;
@@ -1,5 +1,5 @@
1
1
  interface MarkdownViewerProps {
2
2
  text: string;
3
3
  }
4
- export declare const MarkdownViewer: ({ text }: MarkdownViewerProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const MarkdownViewer: ({ text }: MarkdownViewerProps) => import("react").JSX.Element;
5
5
  export {};
@@ -1,3 +1,3 @@
1
1
  import { HTMLAttributes } from 'react';
2
- declare function Skeleton({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
2
+ declare function Skeleton({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
3
3
  export { Skeleton };
@@ -3,5 +3,5 @@ interface StarRatingProps {
3
3
  onChange: (rating: number) => void;
4
4
  disabled?: boolean;
5
5
  }
6
- export declare function StarRating({ value, onChange, disabled, }: StarRatingProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function StarRating({ value, onChange, disabled, }: StarRatingProps): import("react").JSX.Element;
7
7
  export {};
@@ -2,5 +2,5 @@ import { ReactNode } from 'react';
2
2
  interface AgentCognitionProviderProps {
3
3
  children: ReactNode;
4
4
  }
5
- export declare function AgentCognitionProvider({ children, }: AgentCognitionProviderProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function AgentCognitionProvider({ children, }: AgentCognitionProviderProps): import("react").JSX.Element;
6
6
  export {};
@@ -1,4 +1,4 @@
1
1
  import { ReactNode } from 'react';
2
2
  export declare const ErrorProvider: ({ children }: {
3
3
  children: ReactNode;
4
- }) => import("react/jsx-runtime").JSX.Element;
4
+ }) => import("react").JSX.Element;
@@ -22,5 +22,5 @@ export declare function ThemeProvider(props: PropsWithChildren<{
22
22
  botBubbleTextColor?: string | undefined;
23
23
  suggestedMessageBubbleTextColor?: string | undefined;
24
24
  legalText?: string;
25
- }>): import("react/jsx-runtime").JSX.Element;
25
+ }>): import("react").JSX.Element;
26
26
  export declare const useTheme: () => ThemeContextType;
@@ -1,6 +1,6 @@
1
1
  import * as Oe from "react";
2
2
  import { version as Zu } from "react";
3
- import { g as Rp } from "./index-CrlZKwNw.js";
3
+ import { g as Rp } from "./index-weM0IAQF.js";
4
4
  try {
5
5
  let e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}, t = new e.Error().stack;
6
6
  t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "e912b1ab-8839-4e6c-90b8-c20d1854ba0f", e._sentryDebugIdIdentifier = "sentry-dbid-e912b1ab-8839-4e6c-90b8-c20d1854ba0f");
@@ -18790,4 +18790,4 @@ export {
18790
18790
  iR as wrapUseRoutesV7,
18791
18791
  ik as zodErrorsIntegration
18792
18792
  };
18793
- //# sourceMappingURL=index-cn2fQIqR.js.map
18793
+ //# sourceMappingURL=index-B0zRqhpA.js.map