bstp-agent-widget 0.2.60 → 0.2.62

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bstp-agent-widget",
3
- "version": "0.2.60",
3
+ "version": "0.2.62",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/agent-widget.js",
@@ -40,34 +40,17 @@ export type AgentChatRuntimeGetter = {
40
40
 
41
41
  export type AgentChatRuntime = AgentChatRuntimeValue | AgentChatRuntimeGetter;
42
42
 
43
- export type AgentChatDisplayMode = 'drawer' | 'panel';
44
-
45
- export type AgentChatWidgetFabPosition = {
46
- bottom?: number;
47
- right?: number;
48
- };
49
-
50
43
  export type AgentChatWidgetUiOptions = {
51
- /** Display mode: 'drawer' (overlay) or 'panel' (inline) - defaults to 'drawer' */
52
- displayMode?: AgentChatDisplayMode;
53
- zIndex?: number;
54
- withinPortal?: boolean;
55
- withOverlay?: boolean;
56
- fabBottomOffset?: number;
57
- fabRightOffset?: number;
58
- drawerWidth?: number;
59
- topOffset?: number;
60
- drawerRightOffset?: number;
61
- drawerBorderRadius?: number;
62
- drawerShadow?: boolean;
63
- drawerTitle?: string;
64
- drawerHeaderHeight?: number;
65
- accentColor?: string;
66
- fabButtonLabel?: string;
67
- /** Panel width in px (only for panel mode) */
44
+ /** Panel width in px */
68
45
  panelWidth?: number;
69
- /** Panel height in px or CSS value (only for panel mode) */
46
+ /** Panel height in px or CSS value */
70
47
  panelHeight?: number | string;
48
+ /** Panel header height in px */
49
+ panelHeaderHeight?: number;
50
+ /** Text shown in panel header title */
51
+ panelTitle?: string;
52
+ /** Accent color used by widget surfaces */
53
+ accentColor?: string;
71
54
  };
72
55
 
73
56
  export type AgentChatWidgetProps = {