@nimbus-ds/patterns 1.34.1 → 1.35.0-rc.1

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
@@ -25,7 +25,29 @@ export type AppShellHeaderProps = AppShellHeaderProperties & Omit<HTMLAttributes
25
25
  declare const AppShellHeader: React.FC<AppShellHeaderProps>;
26
26
  export type AppShellBodyProps = Omit<BoxProps, "display" | "flex">;
27
27
  declare const AppShellBody: React.FC<AppShellBodyProps>;
28
- export type AppShellChatProps = Omit<BoxProps, "position">;
28
+ /**
29
+ * Properties specific to the AppShellChat component.
30
+ */
31
+ export interface AppShellChatProperties {
32
+ /**
33
+ * Default expanded state for uncontrolled usage.
34
+ */
35
+ defaultExpanded?: boolean;
36
+ /**
37
+ * Whether the chat panel is expanded to overlay mode, filling the parent container area.
38
+ * The overlay auto-detects the parent bounds (respecting menu and header).
39
+ */
40
+ expanded?: boolean;
41
+ /**
42
+ * Width of the chat panel in collapsed (non-expanded) mode.
43
+ * Accepts any valid CSS length value (e.g. "300px", "25vw").
44
+ * Useful for consumer-controlled resize interactions such as a drag handle.
45
+ * Defaults to "300px".
46
+ */
47
+ collapsedWidth?: string;
48
+ }
49
+ export type AppShellChatProps = AppShellChatProperties & Omit<BoxProps, "position">;
50
+ export declare const APPSHELL_CHAT_DEFAULT_WIDTH = "300px";
29
51
  declare const AppShellChat: React.FC<AppShellChatProps>;
30
52
  export interface AppShellComponents {
31
53
  Header: typeof AppShellHeader;