bstp-agent-widget 0.2.34 → 0.2.39

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.34",
3
+ "version": "0.2.39",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/agent-widget.js",
@@ -40,23 +40,21 @@ export type AgentChatRuntimeGetter = {
40
40
 
41
41
  export type AgentChatRuntime = AgentChatRuntimeValue | AgentChatRuntimeGetter;
42
42
 
43
- export type AgentChatWidgetFabPosition = {
44
- bottom?: number;
45
- right?: number;
46
- };
47
-
48
43
  export type AgentChatWidgetUiOptions = {
49
44
  zIndex?: number;
50
45
  withinPortal?: boolean;
51
- fabPosition?: AgentChatWidgetFabPosition;
52
- drawerWidth?: number;
53
- topOffset?: number;
46
+ fabBottomOffset?: number;
47
+ fabRightOffset?: number;
48
+ drawerWidth?: number | string;
49
+ topOffset?: number | string;
50
+ accentColor?: string;
51
+ fabButtonLabel?: string;
54
52
  };
55
53
 
56
54
  export type AgentChatWidgetProps = {
57
55
  config: AgentChatConfig;
58
56
  runtime: AgentChatRuntime;
59
- ui?: AgentChatWidgetUiOptions;
57
+ theme?: AgentChatWidgetUiOptions;
60
58
  };
61
59
 
62
60
  export type AgentChatExternalConfig = Partial<Pick<AgentChatConfigValue, 'assistantId' | 'assistants'>>;
@@ -64,7 +62,7 @@ export type AgentChatExternalConfig = Partial<Pick<AgentChatConfigValue, 'assist
64
62
  export type MountFromEnvironmentOptions = {
65
63
  runtime: AgentChatRuntime;
66
64
  environmentUrl?: string;
67
- ui?: AgentChatWidgetUiOptions;
65
+ theme?: AgentChatWidgetUiOptions;
68
66
  config?: AgentChatExternalConfig;
69
67
  };
70
68