@docyrus/ui-pro-ai-assistant 0.3.3 → 0.3.5

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/dist/styles.css CHANGED
@@ -464,9 +464,6 @@
464
464
  .z-1 {
465
465
  z-index: 1;
466
466
  }
467
- .z-5 {
468
- z-index: 5;
469
- }
470
467
  .z-10 {
471
468
  z-index: 10;
472
469
  }
@@ -488,6 +485,9 @@
488
485
  .z-500 {
489
486
  z-index: 500;
490
487
  }
488
+ .z-\[5\] {
489
+ z-index: 5;
490
+ }
491
491
  .z-\[99\] {
492
492
  z-index: 99;
493
493
  }
@@ -184,6 +184,13 @@ export interface Memory {
184
184
  sourceType?: string;
185
185
  tenantAiAgentId?: string | null;
186
186
  }
187
+ export interface InitialFeatureFlags {
188
+ webSearch?: boolean;
189
+ thinking?: boolean;
190
+ deepResearch?: boolean;
191
+ documentSearch?: boolean;
192
+ workCanvas?: boolean;
193
+ }
187
194
  export interface DocyAssistantProps {
188
195
  isOpen?: boolean;
189
196
  onClose?: () => void;
@@ -235,14 +242,7 @@ export interface DocyAssistantProps {
235
242
  /** Initial model ID to use when auto-sending the initial prompt */
236
243
  initialModelId?: string;
237
244
  /** Initial feature flags to include when auto-sending the initial prompt */
238
- initialFeatures?: {
239
- webSearch?: boolean;
240
- thinking?: boolean;
241
- deepResearch?: boolean;
242
- documentSearch?: boolean;
243
- workCanvas?: boolean;
244
- files?: boolean;
245
- };
245
+ initialFeatures?: InitialFeatureFlags;
246
246
  /** Initial files to attach when auto-sending the initial prompt */
247
247
  initialFiles?: File[];
248
248
  }
@@ -1,5 +1,5 @@
1
1
  import { type ChangeEvent, type FC, type FormEvent, type ReactNode, type Ref } from 'react';
2
- import { type ToolActionEvent, type Work } from '../types';
2
+ import { type InitialFeatureFlags, type ToolActionEvent, type Work } from '../types';
3
3
  interface AssistantViewCommonProps {
4
4
  messages: any[];
5
5
  isLoading: boolean;
@@ -33,13 +33,7 @@ interface AssistantViewCommonProps {
33
33
  onToolAction?: (event: ToolActionEvent) => void;
34
34
  threadId?: string;
35
35
  initialModelId?: string;
36
- initialFeatures?: {
37
- webSearch?: boolean;
38
- thinking?: boolean;
39
- deepResearch?: boolean;
40
- documentSearch?: boolean;
41
- workCanvas?: boolean;
42
- };
36
+ initialFeatures?: InitialFeatureFlags;
43
37
  }
44
38
  export interface InlineModeProps extends AssistantViewCommonProps {
45
39
  mode: 'inline';
@@ -1,5 +1,5 @@
1
1
  import { type ChangeEvent, type FormEvent, type ReactNode } from 'react';
2
- import { type ToolActionEvent } from '../types';
2
+ import { type InitialFeatureFlags, type ToolActionEvent } from '../types';
3
3
  export interface CanvasViewOptions {
4
4
  type: string;
5
5
  id: string;
@@ -53,12 +53,6 @@ export interface ChatPanelProps {
53
53
  compactToolbar?: boolean;
54
54
  threadId?: string;
55
55
  initialModelId?: string;
56
- initialFeatures?: {
57
- webSearch?: boolean;
58
- thinking?: boolean;
59
- deepResearch?: boolean;
60
- documentSearch?: boolean;
61
- workCanvas?: boolean;
62
- };
56
+ initialFeatures?: InitialFeatureFlags;
63
57
  }
64
58
  export declare function ChatPanel({ messages, isLoading, input, onInputChange, onSendMessage, onStop, logo, userPhoto, userDisplayName, description, title, welcomeMessage, isLoadingAgent, placeholder, footerText, supportFiles, supportWebSearch, supportDocumentSearch, supportDeepResearch, supportThinking, supportWorkCanvas, supportMultiModels, deploymentId, tenantAiAgentId, enableMicrophone, enableVoice, isRecording, recognition, onMicrophoneClick, onToolAction, openCanvasView, onSendSpreadsheetCommands: _onSendSpreadsheetCommands, renderThreadHeader, messagesClassName, compactToolbar, threadId, initialModelId, initialFeatures }: ChatPanelProps): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,7 @@
1
1
  import { type FC } from 'react';
2
2
  interface MemoriesPanelProps {
3
3
  t: (key: string, params?: Record<string, string>) => string;
4
+ sidebarOffset?: boolean;
4
5
  }
5
6
  export declare const MemoriesPanel: FC<MemoriesPanelProps>;
6
7
  export {};
@@ -26,6 +26,7 @@ interface AssistantProjectDetailViewProps {
26
26
  isRecording: boolean;
27
27
  recognition: SpeechRecognitionInstance | null;
28
28
  onMicrophoneClick: () => void;
29
+ sidebarOffset?: boolean;
29
30
  }
30
31
  export declare const AssistantProjectDetailView: FC<AssistantProjectDetailViewProps>;
31
32
  export {};
@@ -10,6 +10,7 @@ interface SessionsListViewProps {
10
10
  onEditSession: (session: AssistantSession) => void;
11
11
  onDeleteSession: (session: AssistantSession) => void;
12
12
  t: (key: string, params?: Record<string, string>) => string;
13
+ sidebarOffset?: boolean;
13
14
  }
14
15
  export declare const SessionsListView: FC<SessionsListViewProps>;
15
16
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docyrus/ui-pro-ai-assistant",
3
- "version": "0.3.3",
3
+ "version": "0.3.5",
4
4
  "description": "Docyrus AI Assistant component — full-featured chat UI with canvas, projects, and i18n support.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",