bstp-agent-widget 0.2.69 → 0.2.70

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.69",
3
+ "version": "0.2.70",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/agent-widget.js",
@@ -1,4 +1,6 @@
1
1
  import type { ReactElement } from 'react';
2
+ import type { AgentChatWidgetUiOptions } from '../types/models/agent-chat-widget-ui';
3
+ export type { AgentChatWidgetUiOptions } from '../types/models/agent-chat-widget-ui';
2
4
 
3
5
  export type AgentChatAssistantConfig = {
4
6
  assistantKey: string;
@@ -40,29 +42,6 @@ export type AgentChatRuntimeGetter = {
40
42
 
41
43
  export type AgentChatRuntime = AgentChatRuntimeValue | AgentChatRuntimeGetter;
42
44
 
43
- export type AgentChatWidgetUiOptions = {
44
- /** Panel width in px */
45
- panelWidth?: number;
46
- /** Panel height in px or CSS value */
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;
54
- /** FAB button bottom offset in px */
55
- fabBottomOffset?: number;
56
- /** FAB button right offset in px */
57
- fabRightOffset?: number;
58
- /** FAB button label text */
59
- fabButtonLabel?: string;
60
- /** Widget z-index (affects both FAB and panel) */
61
- zIndex?: number;
62
- /** CSS selector for the host layout node that should reserve space for the widget */
63
- hostContainerSelector?: string;
64
- };
65
-
66
45
  export type AgentChatWidgetProps = {
67
46
  config: AgentChatConfig;
68
47
  runtime: AgentChatRuntime;