@banbox/chat 1.0.3 → 1.0.4

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.d.cts CHANGED
@@ -401,7 +401,7 @@ type Props$7 = {
401
401
  below?: React__default.ReactNode;
402
402
  className?: string;
403
403
  };
404
- declare function ChatHeader({ left, right, below, className }: Props$7): React__default.JSX.Element;
404
+ declare function ChatHeader({ left, right, below }: Props$7): React__default.JSX.Element;
405
405
 
406
406
  type SubtitleVariant = "live" | "muted";
407
407
  type BaseProps = {
@@ -470,6 +470,7 @@ type Props$6 = {
470
470
  top?: React__default.ReactNode;
471
471
  children: React__default.ReactNode;
472
472
  className?: string;
473
+ style?: React__default.CSSProperties;
473
474
  /** set true if you want short threads anchored at the bottom */
474
475
  bottomAlignWhenShort?: boolean;
475
476
  /** when this value changes, we auto-scroll to the bottom */
@@ -520,13 +521,12 @@ type Props$3 = {
520
521
  declare const ChatInquiryBar: React__default.FC<Props$3>;
521
522
 
522
523
  type Props$2 = {
523
- /** Pixel box for the animation area */
524
524
  size?: number;
525
525
  loop?: boolean;
526
526
  autoplay?: boolean;
527
527
  className?: string;
528
+ style?: React__default.CSSProperties;
528
529
  ariaLabel?: string;
529
- /** Avatar size in px */
530
530
  avatarSize?: number;
531
531
  };
532
532
  declare const TypingIndicator: React__default.FC<Props$2>;
package/dist/index.d.ts CHANGED
@@ -401,7 +401,7 @@ type Props$7 = {
401
401
  below?: React__default.ReactNode;
402
402
  className?: string;
403
403
  };
404
- declare function ChatHeader({ left, right, below, className }: Props$7): React__default.JSX.Element;
404
+ declare function ChatHeader({ left, right, below }: Props$7): React__default.JSX.Element;
405
405
 
406
406
  type SubtitleVariant = "live" | "muted";
407
407
  type BaseProps = {
@@ -470,6 +470,7 @@ type Props$6 = {
470
470
  top?: React__default.ReactNode;
471
471
  children: React__default.ReactNode;
472
472
  className?: string;
473
+ style?: React__default.CSSProperties;
473
474
  /** set true if you want short threads anchored at the bottom */
474
475
  bottomAlignWhenShort?: boolean;
475
476
  /** when this value changes, we auto-scroll to the bottom */
@@ -520,13 +521,12 @@ type Props$3 = {
520
521
  declare const ChatInquiryBar: React__default.FC<Props$3>;
521
522
 
522
523
  type Props$2 = {
523
- /** Pixel box for the animation area */
524
524
  size?: number;
525
525
  loop?: boolean;
526
526
  autoplay?: boolean;
527
527
  className?: string;
528
+ style?: React__default.CSSProperties;
528
529
  ariaLabel?: string;
529
- /** Avatar size in px */
530
530
  avatarSize?: number;
531
531
  };
532
532
  declare const TypingIndicator: React__default.FC<Props$2>;