@nice2dev/ui 1.4.24 → 1.4.25

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.ts CHANGED
@@ -9686,51 +9686,6 @@ export declare interface NiceChartSeries {
9686
9686
  type?: 'bar' | 'line' | 'area' | 'scatter' | 'radar';
9687
9687
  }
9688
9688
 
9689
- export declare const NiceChat: default_2.ForwardRefExoticComponent<NiceChatProps & default_2.RefAttributes<HTMLDivElement>> & {
9690
- displayName: string;
9691
- };
9692
-
9693
- /** A message in the {@link NiceChat} component. */
9694
- export declare interface NiceChatMessage {
9695
- /** Unique id. */
9696
- id: string | number;
9697
- /** Message text. */
9698
- text: string;
9699
- /** Author name. */
9700
- author: string;
9701
- /** Message timestamp. */
9702
- timestamp: Date;
9703
- /** Whether the message was sent by the current user. */
9704
- isOwn?: boolean;
9705
- /** Author avatar URL. */
9706
- avatar?: string;
9707
- /** Delivery status. */
9708
- status?: 'sending' | 'sent' | 'delivered' | 'read' | 'error';
9709
- }
9710
-
9711
- /** Props for the {@link NiceChat} component — a chat / messaging widget with message bubbles and input. */
9712
- export declare interface NiceChatProps extends NiceBaseProps {
9713
- /** Chat messages. Optional: without them the chat starts empty. */
9714
- messages?: NiceChatMessage[];
9715
- /**
9716
- * Called when the user sends a message. Optional: without it the chat is a read-only
9717
- * transcript — no input field is rendered.
9718
- */
9719
- onSend?: (text: string) => void;
9720
- /** Input placeholder text. */
9721
- placeholder?: string;
9722
- /** Chat window title. */
9723
- title?: string;
9724
- /** Disable input. */
9725
- disabled?: boolean;
9726
- /** Show message timestamps. */
9727
- showTimestamp?: boolean;
9728
- /** Show author avatars. */
9729
- showAvatar?: boolean;
9730
- /** Custom message renderer. */
9731
- renderMessage?: (msg: NiceChatMessage) => default_2.ReactNode;
9732
- }
9733
-
9734
9689
  export declare const NiceCheckbox: default_2.ForwardRefExoticComponent<NiceCheckboxProps & default_2.RefAttributes<HTMLInputElement>> & {
9735
9690
  displayName: string;
9736
9691
  };
@@ -12797,6 +12752,11 @@ export declare interface NiceDockProps extends NiceBaseProps {
12797
12752
  onItemClick?: (key: string) => void;
12798
12753
  /** Render inline within a parent container instead of fixed to viewport. */
12799
12754
  contained?: boolean;
12755
+ /**
12756
+ * Slide the dock mostly out of view until the pointer or the keyboard focus reaches it (from the
12757
+ * former NiceDockMenu). 1.4.25.
12758
+ */
12759
+ autoHide?: boolean;
12800
12760
  }
12801
12761
 
12802
12762
  /**