@nimbus-ds/patterns 1.36.0-rc.8 → 1.36.0
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 +3 -2
- package/dist/AppShell/index.d.ts +5 -4
- package/dist/AppShell/index.js +1 -1
- package/dist/CHANGELOG.md +3 -2
- package/dist/components-props.json +1 -1
- package/dist/index.d.ts +5 -4
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -40,14 +40,15 @@ export interface AppShellChatProperties {
|
|
|
40
40
|
expanded?: boolean;
|
|
41
41
|
/**
|
|
42
42
|
* Width of the chat panel in collapsed (non-expanded) mode.
|
|
43
|
-
* Accepts any valid CSS length value (e.g. "300px", "25vw")
|
|
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" }`).
|
|
44
45
|
* Useful for consumer-controlled resize interactions such as a drag handle.
|
|
45
|
-
*
|
|
46
|
+
* When omitted, defaults to the responsive `{ xs: "300px", xxl: "378px" }`.
|
|
46
47
|
*/
|
|
47
|
-
collapsedWidth?:
|
|
48
|
+
collapsedWidth?: NonNullable<BoxProps["maxWidth"]>;
|
|
48
49
|
}
|
|
49
50
|
export type AppShellChatProps = AppShellChatProperties & Omit<BoxProps, "position">;
|
|
50
|
-
export declare const APPSHELL_CHAT_DEFAULT_WIDTH = "
|
|
51
|
+
export declare const APPSHELL_CHAT_DEFAULT_WIDTH = "360px";
|
|
51
52
|
declare const AppShellChat: React.FC<AppShellChatProps>;
|
|
52
53
|
export interface AppShellComponents {
|
|
53
54
|
Header: typeof AppShellHeader;
|