@uipath/ui-widgets-conversational-agent-chat 1.1.8 → 1.1.9
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/ConnectionsSection.stories.d.ts +30 -0
- package/dist/ConnectionsSection.stories.d.ts.map +1 -0
- package/dist/ConnectionsSection.stories.js +232 -0
- package/dist/ConnectionsSection.stories.js.map +1 -0
- package/dist/ConversationalAgentChat.css +53 -0
- package/dist/ConversationalAgentChat.d.ts.map +1 -1
- package/dist/ConversationalAgentChat.js +406 -23
- package/dist/ConversationalAgentChat.js.map +1 -1
- package/dist/ConversationalAgentChat.stories.d.ts +2 -2
- package/dist/components/ConnectionReadinessCard.d.ts +32 -0
- package/dist/components/ConnectionReadinessCard.d.ts.map +1 -0
- package/dist/components/ConnectionReadinessCard.js +269 -0
- package/dist/components/ConnectionReadinessCard.js.map +1 -0
- package/dist/components/ConnectionReadinessRenderer.d.ts +18 -0
- package/dist/components/ConnectionReadinessRenderer.d.ts.map +1 -0
- package/dist/components/ConnectionReadinessRenderer.js +32 -0
- package/dist/components/ConnectionReadinessRenderer.js.map +1 -0
- package/dist/components/PdfJsViewer.d.ts.map +1 -1
- package/dist/components/PdfJsViewer.js +16 -4
- package/dist/components/PdfJsViewer.js.map +1 -1
- package/dist/components/SettingsDialog/ConnectionsSection.d.ts +10 -0
- package/dist/components/SettingsDialog/ConnectionsSection.d.ts.map +1 -0
- package/dist/components/SettingsDialog/ConnectionsSection.js +289 -0
- package/dist/components/SettingsDialog/ConnectionsSection.js.map +1 -0
- package/dist/components/SettingsDialog/ProfileSection.d.ts.map +1 -1
- package/dist/components/SettingsDialog/ProfileSection.js +1 -1
- package/dist/components/SettingsDialog/ProfileSection.js.map +1 -1
- package/dist/components/SettingsDialog/SettingsDialog.d.ts +7 -1
- package/dist/components/SettingsDialog/SettingsDialog.d.ts.map +1 -1
- package/dist/components/SettingsDialog/SettingsDialog.js +3 -2
- package/dist/components/SettingsDialog/SettingsDialog.js.map +1 -1
- package/dist/constants/connectionStatus.d.ts +5 -0
- package/dist/constants/connectionStatus.d.ts.map +1 -0
- package/dist/constants/connectionStatus.js +16 -0
- package/dist/constants/connectionStatus.js.map +1 -0
- package/dist/i18n/locales/de/index.json +44 -1
- package/dist/i18n/locales/en/index.json +44 -1
- package/dist/i18n/locales/es/index.json +44 -1
- package/dist/i18n/locales/es-mx/index.json +44 -1
- package/dist/i18n/locales/fr/index.json +44 -1
- package/dist/i18n/locales/ja/index.json +44 -1
- package/dist/i18n/locales/keys/index.json +44 -1
- package/dist/i18n/locales/ko/index.json +44 -1
- package/dist/i18n/locales/pt/index.json +44 -1
- package/dist/i18n/locales/pt-br/index.json +44 -1
- package/dist/i18n/locales/ro/index.json +44 -1
- package/dist/i18n/locales/tr/index.json +44 -1
- package/dist/i18n/locales/zh-cn/index.json +44 -1
- package/dist/i18n/locales/zh-tw/index.json +44 -1
- package/dist/utils/spanTree.d.ts +21 -0
- package/dist/utils/spanTree.d.ts.map +1 -0
- package/dist/utils/spanTree.js +118 -0
- package/dist/utils/spanTree.js.map +1 -0
- package/dist/utils.d.ts +1 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +2 -1
- package/dist/utils.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { StoryObj } from "@storybook/react-vite";
|
|
2
|
+
import type { ConversationalAgent } from "@uipath/uipath-typescript/conversational-agent";
|
|
3
|
+
import "./ConversationalAgentChat.scss";
|
|
4
|
+
declare const sectionMeta: {
|
|
5
|
+
title: string;
|
|
6
|
+
component: ({ conversationalAgent, agentId, folderId, onConnectionsChanged, }: import("./components/SettingsDialog/ConnectionsSection").ConnectionsSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
parameters: {
|
|
8
|
+
layout: string;
|
|
9
|
+
docs: {
|
|
10
|
+
description: {
|
|
11
|
+
component: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
decorators: ((Story: import("storybook/internal/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
16
|
+
conversationalAgent: ConversationalAgent;
|
|
17
|
+
agentId: number;
|
|
18
|
+
folderId: number;
|
|
19
|
+
onConnectionsChanged?: (() => void) | undefined;
|
|
20
|
+
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
21
|
+
};
|
|
22
|
+
export default sectionMeta;
|
|
23
|
+
type SectionStory = StoryObj<typeof sectionMeta>;
|
|
24
|
+
export declare const Default: SectionStory;
|
|
25
|
+
export declare const Empty: SectionStory;
|
|
26
|
+
export declare const LoadError: SectionStory;
|
|
27
|
+
export declare const ReadinessSetupNeeded: SectionStory;
|
|
28
|
+
export declare const ReadinessBroken: SectionStory;
|
|
29
|
+
export declare const ReadinessMixed: SectionStory;
|
|
30
|
+
//# sourceMappingURL=ConnectionsSection.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConnectionsSection.stories.d.ts","sourceRoot":"","sources":["../src/ConnectionsSection.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gDAAgD,CAAC;AAM1F,OAAO,gCAAgC,CAAC;AAuJxC,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;CA2B0B,CAAC;AAE5C,eAAe,WAAW,CAAC;AAC3B,KAAK,YAAY,GAAG,QAAQ,CAAC,OAAO,WAAW,CAAC,CAAC;AAEjD,eAAO,MAAM,OAAO,EAAE,YAMrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,YAMnB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,YASvB,CAAC;AAkEF,eAAO,MAAM,oBAAoB,EAAE,YAiBlC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,YAiB7B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,YAiB5B,CAAC"}
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { ConnectionState } from "@uipath/uipath-typescript/conversational-agent";
|
|
3
|
+
import { ConnectionsSection } from "./components/SettingsDialog/ConnectionsSection";
|
|
4
|
+
import { ConnectionReadinessCard } from "./components/ConnectionReadinessCard";
|
|
5
|
+
import { initI18n } from "./i18n";
|
|
6
|
+
import "./ConversationalAgentChat.scss";
|
|
7
|
+
// Initialize i18n so translations work in stories
|
|
8
|
+
initI18n();
|
|
9
|
+
// ─── Mock data ───
|
|
10
|
+
const MOCK_CONNECTIONS = [
|
|
11
|
+
{
|
|
12
|
+
connectorKey: "google-drive",
|
|
13
|
+
connectorName: "Google Drive",
|
|
14
|
+
connectorImage: "https://www.gstatic.com/images/branding/product/1x/drive_2020q4_48dp.png",
|
|
15
|
+
resourceKeys: ["drive.files"],
|
|
16
|
+
currentConnectionId: "conn-1",
|
|
17
|
+
currentConnectionName: "john@example.com",
|
|
18
|
+
configurationUrl: "https://example.com/config",
|
|
19
|
+
connectionsUrl: "https://example.com/connections",
|
|
20
|
+
isConfigurable: true,
|
|
21
|
+
connections: [
|
|
22
|
+
{
|
|
23
|
+
id: "conn-1",
|
|
24
|
+
name: "john@example.com",
|
|
25
|
+
state: ConnectionState.Enabled,
|
|
26
|
+
isDefault: true,
|
|
27
|
+
personalWorkspace: true,
|
|
28
|
+
folderKey: null,
|
|
29
|
+
folderName: null,
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
id: "conn-2",
|
|
33
|
+
name: "work@company.com",
|
|
34
|
+
state: ConnectionState.Enabled,
|
|
35
|
+
isDefault: false,
|
|
36
|
+
personalWorkspace: false,
|
|
37
|
+
folderKey: "f1",
|
|
38
|
+
folderName: "Marketing",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
id: "conn-3",
|
|
42
|
+
name: "shared@team.com",
|
|
43
|
+
state: ConnectionState.Expired,
|
|
44
|
+
isDefault: false,
|
|
45
|
+
personalWorkspace: false,
|
|
46
|
+
folderKey: "f2",
|
|
47
|
+
folderName: "Engineering",
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
connectorKey: "salesforce",
|
|
53
|
+
connectorName: "Salesforce",
|
|
54
|
+
connectorImage: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f9/Salesforce.com_logo.svg/100px-Salesforce.com_logo.svg.png",
|
|
55
|
+
resourceKeys: ["sf.contacts"],
|
|
56
|
+
currentConnectionId: null,
|
|
57
|
+
currentConnectionName: null,
|
|
58
|
+
isConfigurable: true,
|
|
59
|
+
connections: [
|
|
60
|
+
{
|
|
61
|
+
id: "conn-4",
|
|
62
|
+
name: "admin@salesforce.com",
|
|
63
|
+
state: ConnectionState.Enabled,
|
|
64
|
+
isDefault: false,
|
|
65
|
+
personalWorkspace: true,
|
|
66
|
+
folderKey: null,
|
|
67
|
+
folderName: null,
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
connectorKey: "outlook",
|
|
73
|
+
connectorName: "Outlook",
|
|
74
|
+
resourceKeys: ["outlook.mail"],
|
|
75
|
+
currentConnectionId: "conn-5",
|
|
76
|
+
currentConnectionName: "shared-outlook@company.com",
|
|
77
|
+
isConfigurable: false,
|
|
78
|
+
connections: [],
|
|
79
|
+
},
|
|
80
|
+
];
|
|
81
|
+
const createMockAgent = (connections = MOCK_CONNECTIONS, delay = 300) => {
|
|
82
|
+
return {
|
|
83
|
+
getAvailableConnections: () => new Promise((resolve) => setTimeout(() => resolve([...connections]), delay)),
|
|
84
|
+
updateConnectionSelections: (_a, _f, payload) => new Promise((resolve) => setTimeout(() => resolve(connections.map((c) => {
|
|
85
|
+
const sel = payload.selections.find((s) => s.connectorKey === c.connectorKey);
|
|
86
|
+
return sel
|
|
87
|
+
? {
|
|
88
|
+
...c,
|
|
89
|
+
currentConnectionId: sel.connectionId,
|
|
90
|
+
currentConnectionName: c.connections.find((conn) => conn.id === sel.connectionId)?.name ?? null,
|
|
91
|
+
}
|
|
92
|
+
: c;
|
|
93
|
+
})), delay)),
|
|
94
|
+
getConnectionAuthUrl: () => new Promise((resolve) => setTimeout(() => resolve({
|
|
95
|
+
authUrl: "https://accounts.google.com/o/oauth2/v2/auth?fake=1",
|
|
96
|
+
sessionId: "session-" + Date.now(),
|
|
97
|
+
expiresTime: Date.now() + 300000,
|
|
98
|
+
}), 200)),
|
|
99
|
+
getConnectionSessionStatus: () => new Promise((resolve) => setTimeout(() => resolve({
|
|
100
|
+
status: "pending",
|
|
101
|
+
connectionId: null,
|
|
102
|
+
expiresTime: Date.now() + 300000,
|
|
103
|
+
}), 200)),
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
// ─── ConnectionsSection stories ───
|
|
107
|
+
const sectionMeta = {
|
|
108
|
+
title: "Components/ConnectionsSection",
|
|
109
|
+
component: ConnectionsSection,
|
|
110
|
+
parameters: {
|
|
111
|
+
layout: "centered",
|
|
112
|
+
docs: {
|
|
113
|
+
description: {
|
|
114
|
+
component: "Settings panel section for managing personal OAuth connections per connector binding.",
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
decorators: [
|
|
119
|
+
(Story) => (_jsx("div", { style: {
|
|
120
|
+
width: 400,
|
|
121
|
+
padding: 16,
|
|
122
|
+
background: "var(--background)",
|
|
123
|
+
borderRadius: 8,
|
|
124
|
+
border: "1px solid var(--border)",
|
|
125
|
+
}, children: _jsx(Story, {}) })),
|
|
126
|
+
],
|
|
127
|
+
};
|
|
128
|
+
export default sectionMeta;
|
|
129
|
+
export const Default = {
|
|
130
|
+
args: {
|
|
131
|
+
conversationalAgent: createMockAgent(),
|
|
132
|
+
agentId: 1,
|
|
133
|
+
folderId: 2,
|
|
134
|
+
},
|
|
135
|
+
};
|
|
136
|
+
export const Empty = {
|
|
137
|
+
args: {
|
|
138
|
+
conversationalAgent: createMockAgent([]),
|
|
139
|
+
agentId: 1,
|
|
140
|
+
folderId: 2,
|
|
141
|
+
},
|
|
142
|
+
};
|
|
143
|
+
export const LoadError = {
|
|
144
|
+
args: {
|
|
145
|
+
conversationalAgent: {
|
|
146
|
+
getAvailableConnections: () => Promise.reject(new Error("Failed to fetch connections")),
|
|
147
|
+
},
|
|
148
|
+
agentId: 1,
|
|
149
|
+
folderId: 2,
|
|
150
|
+
},
|
|
151
|
+
};
|
|
152
|
+
// ─── ConnectionReadinessCard stories ───
|
|
153
|
+
const READINESS_UNCONNECTED = [
|
|
154
|
+
{
|
|
155
|
+
connectorKey: "google-drive",
|
|
156
|
+
connectorName: "Google Drive",
|
|
157
|
+
connectorImage: "https://www.gstatic.com/images/branding/product/1x/drive_2020q4_48dp.png",
|
|
158
|
+
isConfigurable: true,
|
|
159
|
+
currentConnectionId: null,
|
|
160
|
+
currentConnectionName: null,
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
connectorKey: "salesforce",
|
|
164
|
+
connectorName: "Salesforce",
|
|
165
|
+
connectorImage: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/f9/Salesforce.com_logo.svg/100px-Salesforce.com_logo.svg.png",
|
|
166
|
+
isConfigurable: true,
|
|
167
|
+
currentConnectionId: null,
|
|
168
|
+
currentConnectionName: null,
|
|
169
|
+
},
|
|
170
|
+
];
|
|
171
|
+
const READINESS_BROKEN = [
|
|
172
|
+
{
|
|
173
|
+
connectorKey: "google-drive",
|
|
174
|
+
connectorName: "Google Drive",
|
|
175
|
+
connectorImage: "https://www.gstatic.com/images/branding/product/1x/drive_2020q4_48dp.png",
|
|
176
|
+
isConfigurable: true,
|
|
177
|
+
currentConnectionId: "conn-1",
|
|
178
|
+
currentConnectionName: "john@example.com",
|
|
179
|
+
currentConnectionState: ConnectionState.Expired,
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
connectorKey: "salesforce",
|
|
183
|
+
connectorName: "Salesforce",
|
|
184
|
+
isConfigurable: true,
|
|
185
|
+
currentConnectionId: "conn-2",
|
|
186
|
+
currentConnectionName: "admin@sf.com",
|
|
187
|
+
currentConnectionState: ConnectionState.Failed,
|
|
188
|
+
},
|
|
189
|
+
];
|
|
190
|
+
const READINESS_MIXED = [
|
|
191
|
+
{
|
|
192
|
+
connectorKey: "google-drive",
|
|
193
|
+
connectorName: "Google Drive",
|
|
194
|
+
connectorImage: "https://www.gstatic.com/images/branding/product/1x/drive_2020q4_48dp.png",
|
|
195
|
+
isConfigurable: true,
|
|
196
|
+
currentConnectionId: "conn-1",
|
|
197
|
+
currentConnectionName: "john@example.com",
|
|
198
|
+
currentConnectionState: ConnectionState.Enabled,
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
connectorKey: "salesforce",
|
|
202
|
+
connectorName: "Salesforce",
|
|
203
|
+
isConfigurable: true,
|
|
204
|
+
currentConnectionId: null,
|
|
205
|
+
currentConnectionName: null,
|
|
206
|
+
},
|
|
207
|
+
];
|
|
208
|
+
export const ReadinessSetupNeeded = {
|
|
209
|
+
args: {
|
|
210
|
+
conversationalAgent: createMockAgent(),
|
|
211
|
+
agentId: 1,
|
|
212
|
+
folderId: 2,
|
|
213
|
+
},
|
|
214
|
+
render: () => (_jsx("div", { style: { width: 450 }, children: _jsx(ConnectionReadinessCard, { connectors: READINESS_UNCONNECTED, conversationalAgent: createMockAgent(), agentId: 1, folderId: 2, onOpenSettings: () => alert("Open settings clicked") }) })),
|
|
215
|
+
};
|
|
216
|
+
export const ReadinessBroken = {
|
|
217
|
+
args: {
|
|
218
|
+
conversationalAgent: createMockAgent(),
|
|
219
|
+
agentId: 1,
|
|
220
|
+
folderId: 2,
|
|
221
|
+
},
|
|
222
|
+
render: () => (_jsx("div", { style: { width: 450 }, children: _jsx(ConnectionReadinessCard, { connectors: READINESS_BROKEN, conversationalAgent: createMockAgent(), agentId: 1, folderId: 2, onOpenSettings: () => alert("Open settings clicked") }) })),
|
|
223
|
+
};
|
|
224
|
+
export const ReadinessMixed = {
|
|
225
|
+
args: {
|
|
226
|
+
conversationalAgent: createMockAgent(),
|
|
227
|
+
agentId: 1,
|
|
228
|
+
folderId: 2,
|
|
229
|
+
},
|
|
230
|
+
render: () => (_jsx("div", { style: { width: 450 }, children: _jsx(ConnectionReadinessCard, { connectors: READINESS_MIXED, conversationalAgent: createMockAgent(), agentId: 1, folderId: 2, onOpenSettings: () => alert("Open settings clicked") }) })),
|
|
231
|
+
};
|
|
232
|
+
//# sourceMappingURL=ConnectionsSection.stories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConnectionsSection.stories.js","sourceRoot":"","sources":["../src/ConnectionsSection.stories.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,gDAAgD,CAAC;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AACpF,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OAAO,gCAAgC,CAAC;AAExC,kDAAkD;AAClD,QAAQ,EAAE,CAAC;AAEX,oBAAoB;AAEpB,MAAM,gBAAgB,GAAG;IACvB;QACE,YAAY,EAAE,cAAc;QAC5B,aAAa,EAAE,cAAc;QAC7B,cAAc,EACZ,0EAA0E;QAC5E,YAAY,EAAE,CAAC,aAAa,CAAC;QAC7B,mBAAmB,EAAE,QAAQ;QAC7B,qBAAqB,EAAE,kBAAkB;QACzC,gBAAgB,EAAE,4BAA4B;QAC9C,cAAc,EAAE,iCAAiC;QACjD,cAAc,EAAE,IAAI;QACpB,WAAW,EAAE;YACX;gBACE,EAAE,EAAE,QAAQ;gBACZ,IAAI,EAAE,kBAAkB;gBACxB,KAAK,EAAE,eAAe,CAAC,OAAO;gBAC9B,SAAS,EAAE,IAAI;gBACf,iBAAiB,EAAE,IA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E,CAAC,EACV,QAAQ,EAAE,CAAC,EACX,cAAc,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,uBAAuB,CAAC,GACpD,GACE,CACP;CACF,CAAC"}
|
|
@@ -3283,6 +3283,7 @@
|
|
|
3283
3283
|
"Courier New", monospace;
|
|
3284
3284
|
--color-red-500: oklch(63.7% 0.237 25.331);
|
|
3285
3285
|
--color-amber-500: oklch(76.9% 0.188 70.08);
|
|
3286
|
+
--color-yellow-400: oklch(85.2% 0.199 91.936);
|
|
3286
3287
|
--color-emerald-500: oklch(69.6% 0.17 162.48);
|
|
3287
3288
|
--color-sky-500: oklch(68.5% 0.169 237.323);
|
|
3288
3289
|
--color-zinc-50: oklch(98.5% 0 0);
|
|
@@ -3290,6 +3291,7 @@
|
|
|
3290
3291
|
--spacing: 0.25rem;
|
|
3291
3292
|
--container-lg: 32rem;
|
|
3292
3293
|
--container-2xl: 42rem;
|
|
3294
|
+
--container-3xl: 48rem;
|
|
3293
3295
|
--container-4xl: 56rem;
|
|
3294
3296
|
--text-xs: 0.75rem;
|
|
3295
3297
|
--text-xs--line-height: calc(1 / 0.75);
|
|
@@ -3703,6 +3705,9 @@
|
|
|
3703
3705
|
.uipath-conversational-agent-chat .my-1 {
|
|
3704
3706
|
margin-block: calc(var(--spacing) * 1);
|
|
3705
3707
|
}
|
|
3708
|
+
.uipath-conversational-agent-chat .my-2 {
|
|
3709
|
+
margin-block: calc(var(--spacing) * 2);
|
|
3710
|
+
}
|
|
3706
3711
|
.uipath-conversational-agent-chat .my-3 {
|
|
3707
3712
|
margin-block: calc(var(--spacing) * 3);
|
|
3708
3713
|
}
|
|
@@ -3718,6 +3723,9 @@
|
|
|
3718
3723
|
.uipath-conversational-agent-chat .mt-2\.5 {
|
|
3719
3724
|
margin-top: calc(var(--spacing) * 2.5);
|
|
3720
3725
|
}
|
|
3726
|
+
.uipath-conversational-agent-chat .mt-3 {
|
|
3727
|
+
margin-top: calc(var(--spacing) * 3);
|
|
3728
|
+
}
|
|
3721
3729
|
.uipath-conversational-agent-chat .mt-4 {
|
|
3722
3730
|
margin-top: calc(var(--spacing) * 4);
|
|
3723
3731
|
}
|
|
@@ -3727,9 +3735,15 @@
|
|
|
3727
3735
|
.uipath-conversational-agent-chat .-mr-1 {
|
|
3728
3736
|
margin-right: calc(var(--spacing) * -1);
|
|
3729
3737
|
}
|
|
3738
|
+
.uipath-conversational-agent-chat .mr-1 {
|
|
3739
|
+
margin-right: calc(var(--spacing) * 1);
|
|
3740
|
+
}
|
|
3730
3741
|
.uipath-conversational-agent-chat .mr-2 {
|
|
3731
3742
|
margin-right: calc(var(--spacing) * 2);
|
|
3732
3743
|
}
|
|
3744
|
+
.uipath-conversational-agent-chat .mb-1\.5 {
|
|
3745
|
+
margin-bottom: calc(var(--spacing) * 1.5);
|
|
3746
|
+
}
|
|
3733
3747
|
.uipath-conversational-agent-chat .mb-2 {
|
|
3734
3748
|
margin-bottom: calc(var(--spacing) * 2);
|
|
3735
3749
|
}
|
|
@@ -3820,6 +3834,9 @@
|
|
|
3820
3834
|
.uipath-conversational-agent-chat .h-14 {
|
|
3821
3835
|
height: calc(var(--spacing) * 14);
|
|
3822
3836
|
}
|
|
3837
|
+
.uipath-conversational-agent-chat .h-\[18px\] {
|
|
3838
|
+
height: 18px;
|
|
3839
|
+
}
|
|
3823
3840
|
.uipath-conversational-agent-chat .h-\[95\%\] {
|
|
3824
3841
|
height: 95%;
|
|
3825
3842
|
}
|
|
@@ -3841,6 +3858,9 @@
|
|
|
3841
3858
|
.uipath-conversational-agent-chat .max-h-9 {
|
|
3842
3859
|
max-height: calc(var(--spacing) * 9);
|
|
3843
3860
|
}
|
|
3861
|
+
.uipath-conversational-agent-chat .max-h-48 {
|
|
3862
|
+
max-height: calc(var(--spacing) * 48);
|
|
3863
|
+
}
|
|
3844
3864
|
.uipath-conversational-agent-chat .max-h-\[--radix-select-content-available-height\] {
|
|
3845
3865
|
max-height: --radix-select-content-available-height;
|
|
3846
3866
|
}
|
|
@@ -3877,6 +3897,9 @@
|
|
|
3877
3897
|
.uipath-conversational-agent-chat .w-4 {
|
|
3878
3898
|
width: calc(var(--spacing) * 4);
|
|
3879
3899
|
}
|
|
3900
|
+
.uipath-conversational-agent-chat .w-5 {
|
|
3901
|
+
width: calc(var(--spacing) * 5);
|
|
3902
|
+
}
|
|
3880
3903
|
.uipath-conversational-agent-chat .w-6 {
|
|
3881
3904
|
width: calc(var(--spacing) * 6);
|
|
3882
3905
|
}
|
|
@@ -3901,6 +3924,9 @@
|
|
|
3901
3924
|
.uipath-conversational-agent-chat .w-\[--radix-popover-trigger-width\] {
|
|
3902
3925
|
width: --radix-popover-trigger-width;
|
|
3903
3926
|
}
|
|
3927
|
+
.uipath-conversational-agent-chat .w-\[18px\] {
|
|
3928
|
+
width: 18px;
|
|
3929
|
+
}
|
|
3904
3930
|
.uipath-conversational-agent-chat .w-\[55\%\] {
|
|
3905
3931
|
width: 55%;
|
|
3906
3932
|
}
|
|
@@ -3916,6 +3942,9 @@
|
|
|
3916
3942
|
.uipath-conversational-agent-chat .max-w-2xl {
|
|
3917
3943
|
max-width: var(--container-2xl);
|
|
3918
3944
|
}
|
|
3945
|
+
.uipath-conversational-agent-chat .max-w-3xl {
|
|
3946
|
+
max-width: var(--container-3xl);
|
|
3947
|
+
}
|
|
3919
3948
|
.uipath-conversational-agent-chat .max-w-\[600px\] {
|
|
3920
3949
|
max-width: 600px;
|
|
3921
3950
|
}
|
|
@@ -3940,6 +3969,9 @@
|
|
|
3940
3969
|
.uipath-conversational-agent-chat .flex-1 {
|
|
3941
3970
|
flex: 1;
|
|
3942
3971
|
}
|
|
3972
|
+
.uipath-conversational-agent-chat .flex-none {
|
|
3973
|
+
flex: none;
|
|
3974
|
+
}
|
|
3943
3975
|
.uipath-conversational-agent-chat .shrink-0 {
|
|
3944
3976
|
flex-shrink: 0;
|
|
3945
3977
|
}
|
|
@@ -4126,6 +4158,10 @@
|
|
|
4126
4158
|
border-style: var(--tw-border-style);
|
|
4127
4159
|
border-width: 0px;
|
|
4128
4160
|
}
|
|
4161
|
+
.uipath-conversational-agent-chat .border-2 {
|
|
4162
|
+
border-style: var(--tw-border-style);
|
|
4163
|
+
border-width: 2px;
|
|
4164
|
+
}
|
|
4129
4165
|
.uipath-conversational-agent-chat .border-t {
|
|
4130
4166
|
border-top-style: var(--tw-border-style);
|
|
4131
4167
|
border-top-width: 1px;
|
|
@@ -4200,6 +4236,9 @@
|
|
|
4200
4236
|
border-color: color-mix(in oklab, var(--warning) 50%, transparent);
|
|
4201
4237
|
}
|
|
4202
4238
|
}
|
|
4239
|
+
.uipath-conversational-agent-chat .border-yellow-400 {
|
|
4240
|
+
border-color: var(--color-yellow-400);
|
|
4241
|
+
}
|
|
4203
4242
|
.uipath-conversational-agent-chat .\!bg-curtain {
|
|
4204
4243
|
background-color: var(--color-curtain) !important;
|
|
4205
4244
|
}
|
|
@@ -4308,6 +4347,10 @@
|
|
|
4308
4347
|
.uipath-conversational-agent-chat .fill-current {
|
|
4309
4348
|
fill: currentcolor;
|
|
4310
4349
|
}
|
|
4350
|
+
.uipath-conversational-agent-chat .object-contain {
|
|
4351
|
+
-o-object-fit: contain;
|
|
4352
|
+
object-fit: contain;
|
|
4353
|
+
}
|
|
4311
4354
|
.uipath-conversational-agent-chat .p-0 {
|
|
4312
4355
|
padding: calc(var(--spacing) * 0);
|
|
4313
4356
|
}
|
|
@@ -4317,6 +4360,9 @@
|
|
|
4317
4360
|
.uipath-conversational-agent-chat .p-2 {
|
|
4318
4361
|
padding: calc(var(--spacing) * 2);
|
|
4319
4362
|
}
|
|
4363
|
+
.uipath-conversational-agent-chat .p-2\.5 {
|
|
4364
|
+
padding: calc(var(--spacing) * 2.5);
|
|
4365
|
+
}
|
|
4320
4366
|
.uipath-conversational-agent-chat .p-3 {
|
|
4321
4367
|
padding: calc(var(--spacing) * 3);
|
|
4322
4368
|
}
|
|
@@ -4942,6 +4988,13 @@
|
|
|
4942
4988
|
}
|
|
4943
4989
|
}
|
|
4944
4990
|
}
|
|
4991
|
+
.uipath-conversational-agent-chat .hover\:opacity-80 {
|
|
4992
|
+
&:hover {
|
|
4993
|
+
@media (hover: hover) {
|
|
4994
|
+
opacity: 80%;
|
|
4995
|
+
}
|
|
4996
|
+
}
|
|
4997
|
+
}
|
|
4945
4998
|
.uipath-conversational-agent-chat .hover\:opacity-100 {
|
|
4946
4999
|
&:hover {
|
|
4947
5000
|
@media (hover: hover) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConversationalAgentChat.d.ts","sourceRoot":"","sources":["../src/ConversationalAgentChat.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConversationalAgentChat.d.ts","sourceRoot":"","sources":["../src/ConversationalAgentChat.tsx"],"names":[],"mappings":"AAiFA,OAAO,+BAA+B,CAAC;AACvC,OAAO,EAEL,4BAA4B,EAK7B,MAAM,SAAS,CAAC;AA4CjB,eAAO,MAAM,uBAAuB,GAAI,kXAwBrC,4BAA4B,4CA+9D9B,CAAC"}
|