@docyrus/ui-pro-ai-assistant 0.3.9 → 0.4.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/dist/styles.css
CHANGED
|
@@ -1032,6 +1032,9 @@
|
|
|
1032
1032
|
.h-12 {
|
|
1033
1033
|
height: calc(var(--spacing) * 12);
|
|
1034
1034
|
}
|
|
1035
|
+
.h-14 {
|
|
1036
|
+
height: calc(var(--spacing) * 14);
|
|
1037
|
+
}
|
|
1035
1038
|
.h-16 {
|
|
1036
1039
|
height: calc(var(--spacing) * 16);
|
|
1037
1040
|
}
|
|
@@ -1344,6 +1347,9 @@
|
|
|
1344
1347
|
.w-13 {
|
|
1345
1348
|
width: calc(var(--spacing) * 13);
|
|
1346
1349
|
}
|
|
1350
|
+
.w-14 {
|
|
1351
|
+
width: calc(var(--spacing) * 14);
|
|
1352
|
+
}
|
|
1347
1353
|
.w-16 {
|
|
1348
1354
|
width: calc(var(--spacing) * 16);
|
|
1349
1355
|
}
|
|
@@ -1783,6 +1789,12 @@
|
|
|
1783
1789
|
--tw-translate-y: calc(-50% - 2px);
|
|
1784
1790
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1785
1791
|
}
|
|
1792
|
+
.scale-50 {
|
|
1793
|
+
--tw-scale-x: 50%;
|
|
1794
|
+
--tw-scale-y: 50%;
|
|
1795
|
+
--tw-scale-z: 50%;
|
|
1796
|
+
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
1797
|
+
}
|
|
1786
1798
|
.rotate-0 {
|
|
1787
1799
|
rotate: 0deg;
|
|
1788
1800
|
}
|
|
@@ -11539,6 +11551,21 @@
|
|
|
11539
11551
|
inherits: false;
|
|
11540
11552
|
initial-value: 0;
|
|
11541
11553
|
}
|
|
11554
|
+
@property --tw-scale-x {
|
|
11555
|
+
syntax: "*";
|
|
11556
|
+
inherits: false;
|
|
11557
|
+
initial-value: 1;
|
|
11558
|
+
}
|
|
11559
|
+
@property --tw-scale-y {
|
|
11560
|
+
syntax: "*";
|
|
11561
|
+
inherits: false;
|
|
11562
|
+
initial-value: 1;
|
|
11563
|
+
}
|
|
11564
|
+
@property --tw-scale-z {
|
|
11565
|
+
syntax: "*";
|
|
11566
|
+
inherits: false;
|
|
11567
|
+
initial-value: 1;
|
|
11568
|
+
}
|
|
11542
11569
|
@property --tw-rotate-x {
|
|
11543
11570
|
syntax: "*";
|
|
11544
11571
|
inherits: false;
|
|
@@ -11857,6 +11884,9 @@
|
|
|
11857
11884
|
--tw-translate-x: 0;
|
|
11858
11885
|
--tw-translate-y: 0;
|
|
11859
11886
|
--tw-translate-z: 0;
|
|
11887
|
+
--tw-scale-x: 1;
|
|
11888
|
+
--tw-scale-y: 1;
|
|
11889
|
+
--tw-scale-z: 1;
|
|
11860
11890
|
--tw-rotate-x: initial;
|
|
11861
11891
|
--tw-rotate-y: initial;
|
|
11862
11892
|
--tw-rotate-z: initial;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ChangeEvent, type FC, type FormEvent, type ReactNode, type Ref } from 'react';
|
|
2
|
-
import { type InitialFeatureFlags, type ToolActionEvent, type Work } from '../types';
|
|
2
|
+
import { type AssistantSession, type InitialFeatureFlags, type ToolActionEvent, type Work } from '../types';
|
|
3
3
|
interface AssistantViewCommonProps {
|
|
4
4
|
messages: any[];
|
|
5
5
|
isLoading: boolean;
|
|
@@ -32,8 +32,8 @@ interface AssistantViewCommonProps {
|
|
|
32
32
|
onMicrophoneClick?: () => void;
|
|
33
33
|
onToolAction?: (event: ToolActionEvent) => void;
|
|
34
34
|
showWelcome?: boolean;
|
|
35
|
-
recentSessions?:
|
|
36
|
-
onSessionClick?: (session:
|
|
35
|
+
recentSessions?: AssistantSession[];
|
|
36
|
+
onSessionClick?: (session: AssistantSession) => void;
|
|
37
37
|
threadId?: string;
|
|
38
38
|
initialModelId?: string;
|
|
39
39
|
initialFeatures?: InitialFeatureFlags;
|
|
@@ -10,6 +10,7 @@ interface MessageListProps {
|
|
|
10
10
|
title?: string;
|
|
11
11
|
welcomeMessage?: string;
|
|
12
12
|
isLoadingAgent?: boolean;
|
|
13
|
+
agentId?: string;
|
|
13
14
|
className?: string;
|
|
14
15
|
agents?: any[];
|
|
15
16
|
onToolAction?: (event: ToolActionEvent) => void;
|
|
@@ -27,5 +28,5 @@ interface MessageListProps {
|
|
|
27
28
|
state?: string;
|
|
28
29
|
}) => void;
|
|
29
30
|
}
|
|
30
|
-
export declare const MessageList: import("react").MemoExoticComponent<({ messages, isLoading, logo, userPhoto, userDisplayName, description, title, welcomeMessage, isLoadingAgent, className, agents, onToolAction, openCanvasView, onForwardToAgent, onUseWorkResult }: MessageListProps) => import("react/jsx-runtime").JSX.Element>;
|
|
31
|
+
export declare const MessageList: import("react").MemoExoticComponent<({ messages, isLoading, logo, userPhoto, userDisplayName, description, title, welcomeMessage, isLoadingAgent, agentId, className, agents, onToolAction, openCanvasView, onForwardToAgent, onUseWorkResult }: MessageListProps) => import("react/jsx-runtime").JSX.Element>;
|
|
31
32
|
export {};
|
package/package.json
CHANGED