@nimbus-ds/patterns 1.35.1-rc.6 → 1.35.1-rc.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.
package/dist/index.d.ts CHANGED
@@ -38,8 +38,17 @@ export interface AppShellChatProperties {
38
38
  * The overlay auto-detects the parent bounds (respecting menu and header).
39
39
  */
40
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") or a responsive
44
+ * object keyed by breakpoint (e.g. `{ xs: "300px", xxl: "378px" }`).
45
+ * Useful for consumer-controlled resize interactions such as a drag handle.
46
+ * When omitted, defaults to the responsive `{ xs: "300px", xxl: "378px" }`.
47
+ */
48
+ collapsedWidth?: NonNullable<BoxProps["maxWidth"]>;
41
49
  }
42
50
  export type AppShellChatProps = AppShellChatProperties & Omit<BoxProps, "position">;
51
+ export declare const APPSHELL_CHAT_DEFAULT_WIDTH = "300px";
43
52
  declare const AppShellChat: React.FC<AppShellChatProps>;
44
53
  export interface AppShellComponents {
45
54
  Header: typeof AppShellHeader;
@@ -615,7 +624,7 @@ export interface MenuButtonAccordionProperties {
615
624
  expanded?: boolean;
616
625
  }
617
626
  export type MenuButtonAccordionBaseProps = MenuButtonAccordionProperties & {
618
- menuButton: Omit<MenuButtonProps, "expanded" | "showPopoversWhenCollapsed">;
627
+ menuButton: Omit<MenuButtonProps, "expanded" | "tooltipText">;
619
628
  } & Omit<HTMLAttributes<HTMLElement>, "color">;
620
629
  declare const MenuButtonAccordion: PolymorphicForwardRefComponent<"button" | "a", MenuButtonAccordionBaseProps>;
621
630
  export interface MenuButtonComponents {