@app-studio/web 0.9.37 → 0.9.38
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/components/ChatInput/ChatInput/ChatInput.style.d.ts +31 -0
- package/dist/components/Drawer/Drawer/Drawer.props.d.ts +61 -0
- package/dist/components/Drawer/Drawer/Drawer.style.d.ts +4 -0
- package/dist/components/Drawer/Drawer/Drawer.view.d.ts +7 -0
- package/dist/components/Drawer/Drawer.d.ts +2 -0
- package/dist/components/index.d.ts +2 -22
- package/dist/pages/drawer.page.d.ts +3 -0
- package/dist/utils/apiConfig.d.ts +2 -2
- package/dist/utils/typography.d.ts +3 -4
- package/dist/web.cjs.development.js +2413 -12466
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +2588 -12632
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +2428 -12478
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/docs/components/Accordion.mdx +4 -4
- package/docs/components/Alert.mdx +1 -1
- package/docs/components/Background.mdx +5 -5
- package/docs/components/Badge.mdx +1 -1
- package/docs/components/Card.mdx +8 -8
- package/docs/components/Carousel.mdx +6 -6
- package/docs/components/ColorInput.mdx +1 -1
- package/docs/components/Drawer.mdx +164 -0
- package/docs/components/Gradient.mdx +6 -6
- package/docs/components/HoverCard.mdx +5 -5
- package/docs/components/KanbanBoard.mdx +128 -2
- package/docs/components/Link.mdx +2 -2
- package/docs/components/Menubar.mdx +1 -1
- package/docs/components/Message.mdx +4 -4
- package/docs/components/Modal.mdx +4 -4
- package/docs/components/OKR.mdx +40 -63
- package/docs/components/Tabs.mdx +1 -1
- package/docs/components/ToggleGroup.mdx +4 -4
- package/docs/components/Tooltip.mdx +2 -2
- package/docs/conventions.md +1 -1
- package/package.json +2 -2
- package/dist/components/Calendar/Calendar/Calendar.props.d.ts +0 -82
- package/dist/components/Calendar/Calendar/Calendar.style.d.ts +0 -107
- package/dist/components/Calendar/Calendar/Calendar.utils.d.ts +0 -91
- package/dist/components/Calendar/Calendar/Calendar.view.d.ts +0 -3
- package/dist/components/Calendar/Calendar.d.ts +0 -1
- package/dist/components/Flow/Flow/Flow.props.d.ts +0 -144
- package/dist/components/Flow/Flow/Flow.state.d.ts +0 -95
- package/dist/components/Flow/Flow/Flow.style.d.ts +0 -40
- package/dist/components/Flow/Flow/Flow.type.d.ts +0 -181
- package/dist/components/Flow/Flow/Flow.view.d.ts +0 -28
- package/dist/components/Flow/Flow.d.ts +0 -2
- package/dist/components/Flow/index.d.ts +0 -2
- package/dist/components/KanbanBoard/KanbanBoard/KanbanBoard.props.d.ts +0 -52
- package/dist/components/KanbanBoard/KanbanBoard/KanbanBoard.state.d.ts +0 -17
- package/dist/components/KanbanBoard/KanbanBoard/KanbanBoard.view.d.ts +0 -3
- package/dist/components/KanbanBoard/KanbanBoard.d.ts +0 -3
- package/dist/components/OKR/OKR/OKR.props.d.ts +0 -72
- package/dist/components/OKR/OKR/OKR.style.d.ts +0 -19
- package/dist/components/OKR/OKR/OKR.view.d.ts +0 -4
- package/dist/components/OKR/OKR.d.ts +0 -4
- package/dist/components/Text/Text/Text.props.d.ts +0 -29
- package/dist/components/Text/Text/Text.style.d.ts +0 -27
- package/dist/components/Text/Text/Text.utils.d.ts +0 -2
- package/dist/components/Text/Text/Text.view.d.ts +0 -19
- package/dist/components/Text/Text.d.ts +0 -5
- package/dist/components/Tree/Tree/Tree.props.d.ts +0 -106
- package/dist/components/Tree/Tree/Tree.state.d.ts +0 -38
- package/dist/components/Tree/Tree/Tree.style.d.ts +0 -41
- package/dist/components/Tree/Tree/Tree.type.d.ts +0 -133
- package/dist/components/Tree/Tree/Tree.view.d.ts +0 -36
- package/dist/components/Tree/Tree.d.ts +0 -2
- package/dist/components/adk/AgentChat/AgentChat/AgentChat.props.d.ts +0 -180
- package/dist/components/adk/AgentChat/AgentChat/AgentChat.state.d.ts +0 -24
- package/dist/components/adk/AgentChat/AgentChat/AgentChat.style.d.ts +0 -132
- package/dist/components/adk/AgentChat/AgentChat/AgentChat.view.d.ts +0 -12
- package/dist/components/adk/AgentChat/AgentChat/AgentMessage.d.ts +0 -21
- package/dist/components/adk/AgentChat/AgentChat/AgentRunProgress.d.ts +0 -11
- package/dist/components/adk/AgentChat/AgentChat/AgentTypingIndicator.d.ts +0 -7
- package/dist/components/adk/AgentChat/AgentChat/MessageAttachmentPreview.d.ts +0 -12
- package/dist/components/adk/AgentChat/AgentChat.d.ts +0 -41
- package/dist/components/adk/AgentEval/AgentEval/AgentEval.props.d.ts +0 -213
- package/dist/components/adk/AgentEval/AgentEval/AgentEval.state.d.ts +0 -27
- package/dist/components/adk/AgentEval/AgentEval/AgentEval.style.d.ts +0 -144
- package/dist/components/adk/AgentEval/AgentEval/AgentEval.view.d.ts +0 -12
- package/dist/components/adk/AgentEval/AgentEval/EvaluationCreator.d.ts +0 -17
- package/dist/components/adk/AgentEval/AgentEval/EvaluationList.d.ts +0 -23
- package/dist/components/adk/AgentEval/AgentEval/EvaluationMetrics.d.ts +0 -15
- package/dist/components/adk/AgentEval/AgentEval/EvaluationResults.d.ts +0 -19
- package/dist/components/adk/AgentEval/AgentEval.d.ts +0 -41
- package/dist/components/adk/AgentSession/AgentSession/AgentSession.props.d.ts +0 -170
- package/dist/components/adk/AgentSession/AgentSession/AgentSession.state.d.ts +0 -32
- package/dist/components/adk/AgentSession/AgentSession/AgentSession.style.d.ts +0 -105
- package/dist/components/adk/AgentSession/AgentSession/AgentSession.view.d.ts +0 -12
- package/dist/components/adk/AgentSession/AgentSession/SessionActions.d.ts +0 -20
- package/dist/components/adk/AgentSession/AgentSession/SessionFilters.d.ts +0 -14
- package/dist/components/adk/AgentSession/AgentSession/SessionListItem.d.ts +0 -26
- package/dist/components/adk/AgentSession/AgentSession.d.ts +0 -42
- package/dist/components/adk/AgentTrace/AgentTrace/AgentTrace.props.d.ts +0 -194
- package/dist/components/adk/AgentTrace/AgentTrace/AgentTrace.state.d.ts +0 -27
- package/dist/components/adk/AgentTrace/AgentTrace/AgentTrace.style.d.ts +0 -146
- package/dist/components/adk/AgentTrace/AgentTrace/AgentTrace.view.d.ts +0 -12
- package/dist/components/adk/AgentTrace/AgentTrace/TraceEventList.d.ts +0 -20
- package/dist/components/adk/AgentTrace/AgentTrace/TraceFilters.d.ts +0 -13
- package/dist/components/adk/AgentTrace/AgentTrace/TraceMetrics.d.ts +0 -16
- package/dist/components/adk/AgentTrace/AgentTrace/TraceTimeline.d.ts +0 -19
- package/dist/components/adk/AgentTrace/AgentTrace/TraceVisualization.d.ts +0 -19
- package/dist/components/adk/AgentTrace/AgentTrace.d.ts +0 -44
- package/dist/components/adk/useAdk.d.ts +0 -42
- package/dist/pages/adk/CompleteAgentApp.d.ts +0 -30
- package/dist/pages/adk/adkComponents.page.d.ts +0 -8
- package/dist/pages/adk/adkIntegration.page.d.ts +0 -6
- package/dist/pages/adk/agentChat.page.d.ts +0 -8
- package/dist/pages/adk/providers/AdkProvider.d.ts +0 -83
- package/dist/pages/adk/providers/index.d.ts +0 -1
- package/dist/pages/adk/services/AgentService.d.ts +0 -167
- package/dist/pages/adk/services/AgentServiceProvider.d.ts +0 -83
- package/dist/pages/adk/services/AgentServiceUtils.d.ts +0 -176
- package/dist/pages/adk/services/index.d.ts +0 -50
- package/dist/pages/calendar.page.d.ts +0 -3
- package/dist/pages/flow.page.d.ts +0 -3
- package/dist/pages/kanbanBoard.page.d.ts +0 -3
- package/dist/pages/okr.page.d.ts +0 -3
- package/dist/pages/text.page.d.ts +0 -3
- package/dist/pages/tree.page.d.ts +0 -3
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
import { ViewProps } from 'app-studio';
|
|
2
2
|
import { Shape, Size, Variant } from './ChatInput.type';
|
|
3
|
+
export declare const DefaultAgentChatStyles: {
|
|
4
|
+
container: ViewProps;
|
|
5
|
+
header: ViewProps;
|
|
6
|
+
messageList: ViewProps;
|
|
7
|
+
emptyState: ViewProps;
|
|
8
|
+
inputArea: ViewProps;
|
|
9
|
+
attachmentArea: ViewProps;
|
|
10
|
+
message: ViewProps;
|
|
11
|
+
userMessage: ViewProps;
|
|
12
|
+
botMessage: ViewProps;
|
|
13
|
+
thoughtMessage: ViewProps;
|
|
14
|
+
loadingMessage: ViewProps;
|
|
15
|
+
messageHeader: ViewProps;
|
|
16
|
+
messageContent: ViewProps;
|
|
17
|
+
messageFooter: ViewProps;
|
|
18
|
+
timestamp: ViewProps;
|
|
19
|
+
avatar: ViewProps;
|
|
20
|
+
userAvatar: ViewProps;
|
|
21
|
+
botAvatar: ViewProps;
|
|
22
|
+
attachmentPreview: ViewProps;
|
|
23
|
+
attachmentRemove: ViewProps;
|
|
24
|
+
typingIndicator: ViewProps;
|
|
25
|
+
typingDot: ViewProps;
|
|
26
|
+
functionCall: ViewProps;
|
|
27
|
+
functionResponse: ViewProps;
|
|
28
|
+
codeBlock: ViewProps;
|
|
29
|
+
inlineData: ViewProps;
|
|
30
|
+
errorMessage: ViewProps;
|
|
31
|
+
loadingOverlay: ViewProps;
|
|
32
|
+
runProgress: ViewProps;
|
|
33
|
+
};
|
|
3
34
|
/**
|
|
4
35
|
* Default styles for the ChatInput component
|
|
5
36
|
*/
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ViewProps } from 'app-studio';
|
|
3
|
+
import { Placement, Size, CloseButtonPosition } from './Drawer.type';
|
|
4
|
+
export interface DrawerProps extends ViewProps {
|
|
5
|
+
/**
|
|
6
|
+
* The placement of the drawer.
|
|
7
|
+
* @default 'right'
|
|
8
|
+
*/
|
|
9
|
+
placement?: Placement;
|
|
10
|
+
/**
|
|
11
|
+
* The size of the drawer.
|
|
12
|
+
* @default 'md'
|
|
13
|
+
*/
|
|
14
|
+
size?: Size;
|
|
15
|
+
/**
|
|
16
|
+
* If true, the drawer will be open.
|
|
17
|
+
*/
|
|
18
|
+
isOpen: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Callback fired when the drawer closes.
|
|
21
|
+
*/
|
|
22
|
+
onClose: () => void;
|
|
23
|
+
/**
|
|
24
|
+
* If true, the drawer will not close when clicking the overlay.
|
|
25
|
+
*/
|
|
26
|
+
isClosePrevented?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The children of the drawer.
|
|
29
|
+
*/
|
|
30
|
+
children?: React.ReactNode;
|
|
31
|
+
}
|
|
32
|
+
export interface DrawerType extends React.FC<DrawerProps> {
|
|
33
|
+
Overlay: React.FC<DrawerOverlayProps>;
|
|
34
|
+
Container: React.FC<DrawerContainerProps>;
|
|
35
|
+
Header: React.FC<DrawerHeaderProps>;
|
|
36
|
+
Body: React.FC<DrawerBodyProps>;
|
|
37
|
+
Footer: React.FC<DrawerFooterProps>;
|
|
38
|
+
}
|
|
39
|
+
export interface DrawerOverlayProps extends ViewProps {
|
|
40
|
+
isOpen: boolean;
|
|
41
|
+
onClose: () => void;
|
|
42
|
+
isClosePrevented?: boolean;
|
|
43
|
+
blur?: number;
|
|
44
|
+
children?: React.ReactNode;
|
|
45
|
+
}
|
|
46
|
+
export interface DrawerContainerProps extends ViewProps {
|
|
47
|
+
placement?: Placement;
|
|
48
|
+
size?: Size;
|
|
49
|
+
children?: React.ReactNode;
|
|
50
|
+
}
|
|
51
|
+
export interface DrawerHeaderProps extends ViewProps {
|
|
52
|
+
onClose?: () => void;
|
|
53
|
+
buttonPosition?: CloseButtonPosition;
|
|
54
|
+
children?: React.ReactNode;
|
|
55
|
+
}
|
|
56
|
+
export interface DrawerBodyProps extends ViewProps {
|
|
57
|
+
children?: React.ReactNode;
|
|
58
|
+
}
|
|
59
|
+
export interface DrawerFooterProps extends ViewProps {
|
|
60
|
+
children?: React.ReactNode;
|
|
61
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { DrawerOverlayProps, DrawerContainerProps, DrawerHeaderProps, DrawerBodyProps, DrawerFooterProps } from './Drawer.props';
|
|
3
|
+
export declare const DrawerOverlay: React.FC<DrawerOverlayProps>;
|
|
4
|
+
export declare const DrawerContainer: React.FC<DrawerContainerProps>;
|
|
5
|
+
export declare const DrawerHeader: React.FC<DrawerHeaderProps>;
|
|
6
|
+
export declare const DrawerBody: React.FC<DrawerBodyProps>;
|
|
7
|
+
export declare const DrawerFooter: React.FC<DrawerFooterProps>;
|
|
@@ -9,8 +9,6 @@ export * from './Button/Button';
|
|
|
9
9
|
export * from './Card/Card';
|
|
10
10
|
export * from './Carousel/Carousel';
|
|
11
11
|
export * from './Chart/Chart';
|
|
12
|
-
export * from './KanbanBoard/KanbanBoard';
|
|
13
|
-
export * from './Calendar/Calendar';
|
|
14
12
|
export * from './CookieConsent/CookieConsent';
|
|
15
13
|
export * from './ContextMenu/ContextMenu';
|
|
16
14
|
export * from './File/File';
|
|
@@ -35,11 +33,10 @@ export * from './Uploader/Uploader';
|
|
|
35
33
|
export * from './Message/Message';
|
|
36
34
|
export * from './MediaPreview';
|
|
37
35
|
export * from './Modal/Modal';
|
|
36
|
+
export * from './Drawer/Drawer';
|
|
38
37
|
export * from './NavigationMenu/NavigationMenu';
|
|
39
|
-
export * from './OKR/OKR';
|
|
40
38
|
export * from './Table/Table';
|
|
41
39
|
export * from './Tabs/Tabs';
|
|
42
|
-
export * from './Text/Text';
|
|
43
40
|
export * from './Title/Title';
|
|
44
41
|
export * from './Icon/Icon';
|
|
45
42
|
export * as Icon from './Icon/Icon';
|
|
@@ -61,15 +58,8 @@ export * from './Resizable/Resizable';
|
|
|
61
58
|
export * from './Toast/Toast';
|
|
62
59
|
export * from './Command/Command';
|
|
63
60
|
export * from './Tooltip/Tooltip';
|
|
64
|
-
export * from './Tree/Tree';
|
|
65
|
-
export * from './Flow/Flow';
|
|
66
|
-
export * from './OKR/OKR';
|
|
67
61
|
export * from './ChatInput/ChatInput';
|
|
68
62
|
export * from './Background/Background';
|
|
69
|
-
export { default as AgentChat } from './adk/AgentChat/AgentChat';
|
|
70
|
-
export { default as AgentSession } from './adk/AgentSession/AgentSession';
|
|
71
|
-
export { default as AgentTrace } from './adk/AgentTrace/AgentTrace';
|
|
72
|
-
export { default as AgentEval } from './adk/AgentEval/AgentEval';
|
|
73
63
|
export * from './Accordion/Accordion/Accordion.props';
|
|
74
64
|
export * from './Alert/Alert/Alert.props';
|
|
75
65
|
export * from './AspectRatio/AspectRatio/AspectRatio.props';
|
|
@@ -78,10 +68,8 @@ export * from './Avatar/Avatar/Avatar.props';
|
|
|
78
68
|
export * from './Badge/Badge/Badge.props';
|
|
79
69
|
export * from './Button/Button/Button.props';
|
|
80
70
|
export * from './Card/Card/Card.props';
|
|
81
|
-
export * from './KanbanBoard/KanbanBoard/KanbanBoard.props';
|
|
82
71
|
export * from './Carousel/Carousel/Carousel.props';
|
|
83
72
|
export * from './Chart/Chart/Chart.props';
|
|
84
|
-
export * from './Calendar/Calendar/Calendar.props';
|
|
85
73
|
export * from './CookieConsent/CookieConsent/CookieConsent.props';
|
|
86
74
|
export * from './ContextMenu/ContextMenu/ContextMenu.props';
|
|
87
75
|
export * from './Form/Select/Select/Select.props';
|
|
@@ -99,16 +87,15 @@ export * from './Link/Link/Link.props';
|
|
|
99
87
|
export * from './Loader/Loader/Loader.props';
|
|
100
88
|
export * from './Message/Message/Message.props';
|
|
101
89
|
export * from './Modal/Modal/Modal.props';
|
|
90
|
+
export * from './Drawer/Drawer/Drawer.props';
|
|
102
91
|
export * from './Uploader/Uploader/Uploader.props';
|
|
103
92
|
export * from './Table/Table/Table.props';
|
|
104
93
|
export * from './Tabs/Tabs/Tabs.props';
|
|
105
|
-
export * from './Text/Text/Text.props';
|
|
106
94
|
export * from './Title/Title/Title.props';
|
|
107
95
|
export * from './Toggle/Toggle/Toggle.props';
|
|
108
96
|
export * from './ToggleGroup/ToggleGroup/ToggleGroup.props';
|
|
109
97
|
export * from './HoverCard/HoverCard/HoverCard.props';
|
|
110
98
|
export * from './NavigationMenu/NavigationMenu/NavigationMenu.props';
|
|
111
|
-
export * from './OKR/OKR/OKR.props';
|
|
112
99
|
export * from './DropdownMenu/DropdownMenu/DropdownMenu.props';
|
|
113
100
|
export * from './ColorPicker/ColorPicker/ColorPicker.props';
|
|
114
101
|
export * from './EmojiPicker/EmojiPicker/EmojiPicker.props';
|
|
@@ -123,12 +110,5 @@ export * from './Resizable/Resizable/Resizable.props';
|
|
|
123
110
|
export * from './Toast/Toast/Toast.props';
|
|
124
111
|
export * from './Command/Command/Command.props';
|
|
125
112
|
export * from './Tooltip/Tooltip/Tooltip.props';
|
|
126
|
-
export * from './Tree/Tree/Tree.props';
|
|
127
|
-
export * from './Flow/Flow/Flow.props';
|
|
128
|
-
export * from './OKR/OKR/OKR.props';
|
|
129
113
|
export * from './ChatInput/ChatInput/ChatInput.props';
|
|
130
114
|
export * from './Background/Background/Background.props';
|
|
131
|
-
export type { AgentRunRequest, MessagePart, AgentMessage, MessageAttachment, AgentChatViews, AgentChatEventHandlers, AgentChatProps, } from './adk/AgentChat/AgentChat/AgentChat.props';
|
|
132
|
-
export type { AgentSession as AgentSessionType, AgentEvent, SessionSummary, AgentSessionViews, AgentSessionEventHandlers, SessionFilters, SessionSortOptions, AgentSessionProps, SessionAction, SessionStatus, SessionExportData, SessionImportOptions, } from './adk/AgentSession/AgentSession/AgentSession.props';
|
|
133
|
-
export * from './adk/AgentTrace/AgentTrace/AgentTrace.props';
|
|
134
|
-
export * from './adk/AgentEval/AgentEval/AgentEval.props';
|
|
@@ -17,8 +17,8 @@ export declare function clearApiToken(): void;
|
|
|
17
17
|
export declare function getApiConfig(): {
|
|
18
18
|
BASE: string;
|
|
19
19
|
TOKEN: string | ((options: import("../services/api/core/ApiRequestOptions").ApiRequestOptions) => Promise<string>) | undefined;
|
|
20
|
-
CORS: "cors" | "
|
|
20
|
+
CORS: "no-cors" | "cors" | undefined;
|
|
21
21
|
WITH_CREDENTIALS: boolean;
|
|
22
|
-
CREDENTIALS:
|
|
22
|
+
CREDENTIALS: "same-origin" | "include" | "omit";
|
|
23
23
|
HEADERS: Record<string, any> | ((options: import("../services/api/core/ApiRequestOptions").ApiRequestOptions) => Promise<Record<string, any>>) | undefined;
|
|
24
24
|
};
|
|
@@ -4,16 +4,15 @@
|
|
|
4
4
|
* This utility provides consistent typography settings across the application.
|
|
5
5
|
* It defines font sizes, line heights, and font weights according to the design guidelines.
|
|
6
6
|
*/
|
|
7
|
-
import {
|
|
8
|
-
import { TextWeights } from '../components/Text/Text/Text.type';
|
|
7
|
+
import { TextSize, TextWeights } from 'app-studio';
|
|
9
8
|
/**
|
|
10
9
|
* Font sizes following the harmonized typography guidelines
|
|
11
10
|
*/
|
|
12
|
-
export declare const FontSizes: Record<
|
|
11
|
+
export declare const FontSizes: Record<TextSize, string | number>;
|
|
13
12
|
/**
|
|
14
13
|
* Line heights following the harmonized typography guidelines
|
|
15
14
|
*/
|
|
16
|
-
export declare const LineHeights: Record<
|
|
15
|
+
export declare const LineHeights: Record<TextSize, string | number>;
|
|
17
16
|
/**
|
|
18
17
|
* Font weights following typography guidelines
|
|
19
18
|
*/
|