@nimbus-ds/patterns 1.36.0-rc.2 → 1.36.0-rc.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/CHANGELOG.md +11 -0
- package/dist/AppShell/index.d.ts +8 -0
- package/dist/AppShell/index.js +1 -1
- package/dist/CHANGELOG.md +11 -0
- package/dist/EmptyApp/index.js +1 -1
- package/dist/Menu/index.d.ts +1 -1
- package/dist/Menu/index.js +1 -1
- package/dist/MenuButton/index.d.ts +1 -1
- package/dist/MenuButton/index.js +1 -1
- package/dist/ProductUpdates/index.js +1 -1
- package/dist/components-props.json +1 -0
- package/dist/index.d.ts +9 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -38,8 +38,16 @@ 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").
|
|
44
|
+
* Useful for consumer-controlled resize interactions such as a drag handle.
|
|
45
|
+
* Defaults to "300px".
|
|
46
|
+
*/
|
|
47
|
+
collapsedWidth?: string;
|
|
41
48
|
}
|
|
42
49
|
export type AppShellChatProps = AppShellChatProperties & Omit<BoxProps, "position">;
|
|
50
|
+
export declare const APPSHELL_CHAT_DEFAULT_WIDTH = "300px";
|
|
43
51
|
declare const AppShellChat: React.FC<AppShellChatProps>;
|
|
44
52
|
export interface AppShellComponents {
|
|
45
53
|
Header: typeof AppShellHeader;
|
|
@@ -615,7 +623,7 @@ export interface MenuButtonAccordionProperties {
|
|
|
615
623
|
expanded?: boolean;
|
|
616
624
|
}
|
|
617
625
|
export type MenuButtonAccordionBaseProps = MenuButtonAccordionProperties & {
|
|
618
|
-
menuButton: Omit<MenuButtonProps, "expanded" | "
|
|
626
|
+
menuButton: Omit<MenuButtonProps, "expanded" | "tooltipText">;
|
|
619
627
|
} & Omit<HTMLAttributes<HTMLElement>, "color">;
|
|
620
628
|
declare const MenuButtonAccordion: PolymorphicForwardRefComponent<"button" | "a", MenuButtonAccordionBaseProps>;
|
|
621
629
|
export interface MenuButtonComponents {
|