@arcadeai/design-system 3.36.2 → 3.37.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/assets/index.css +1 -1
- package/dist/assets/tokens.css +1 -1
- package/dist/assets/variables.css +1 -1
- package/dist/components/index.js +62 -61
- package/dist/components/ui/atoms/loader.d.ts +1 -1
- package/dist/components/ui/atoms/loader.d.ts.map +1 -1
- package/dist/components/ui/atoms/loader.js +91 -61
- package/dist/components/ui/index.js +62 -61
- package/dist/components/ui/molecules/index.d.ts +2 -2
- package/dist/components/ui/molecules/index.d.ts.map +1 -1
- package/dist/components/ui/molecules/index.js +25 -24
- package/dist/components/ui/molecules/steps-progress.d.ts +1 -0
- package/dist/components/ui/molecules/steps-progress.d.ts.map +1 -1
- package/dist/components/ui/molecules/steps-progress.js +75 -52
- package/dist/components/ui/molecules/suggestion-card.d.ts +2 -0
- package/dist/components/ui/molecules/suggestion-card.d.ts.map +1 -1
- package/dist/components/ui/molecules/suggestion-card.js +42 -16
- package/dist/components/ui/molecules/tool-call-accordion.d.ts +6 -1
- package/dist/components/ui/molecules/tool-call-accordion.d.ts.map +1 -1
- package/dist/components/ui/molecules/tool-call-accordion.js +153 -96
- package/dist/components/ui/templates/chat-template-skeletons.d.ts.map +1 -1
- package/dist/components/ui/templates/chat-template-skeletons.js +27 -35
- package/dist/main.js +89 -88
- package/package.json +1 -1
|
@@ -212,17 +212,17 @@ import { Message as yn, MessageAction as In, MessageActions as wn, MessageAvatar
|
|
|
212
212
|
import { PromptInput as On, PromptInputAction as Rn, PromptInputActions as Vn, PromptInputTextarea as zn } from "./molecules/prompt-input.js";
|
|
213
213
|
import { R as Nn, T as Zn } from "../../toolkit-card-CB1oiaei.js";
|
|
214
214
|
import { StepsProgress as Un } from "./molecules/steps-progress.js";
|
|
215
|
-
import { SuggestionCard as Xn } from "./molecules/suggestion-card.js";
|
|
216
|
-
import { ToolAuthorization as
|
|
217
|
-
import { ToolCallAccordion as
|
|
218
|
-
import { ToolCard as
|
|
219
|
-
import { UserNav as
|
|
220
|
-
import { ChatPageSkeleton as
|
|
221
|
-
import { LoginPage as
|
|
222
|
-
import { AuthTemplate as
|
|
223
|
-
import { ChatTemplate as
|
|
224
|
-
import { ChatBodySkeleton as
|
|
225
|
-
import { ErrorTemplate as
|
|
215
|
+
import { SuggestionCard as Xn, SuggestionCardSkeleton as Yn } from "./molecules/suggestion-card.js";
|
|
216
|
+
import { ToolAuthorization as Qn, ToolAuthorizationArgs as Kn, ToolAuthorizationContent as _n, ToolAuthorizationHeader as $n, ToolAuthorizationMessage as of } from "./molecules/tool-authorization.js";
|
|
217
|
+
import { ToolCallAccordion as ef, ToolCallAccordionContent as tf, ToolCallAccordionItem as af, ToolCallAccordionTrigger as pf } from "./molecules/tool-call-accordion.js";
|
|
218
|
+
import { ToolCard as lf } from "./molecules/tool-card.js";
|
|
219
|
+
import { UserNav as ff } from "./molecules/user-nav.js";
|
|
220
|
+
import { ChatPageSkeleton as df } from "./pages/chat-page-skeleton.js";
|
|
221
|
+
import { LoginPage as gf } from "./pages/login-page.js";
|
|
222
|
+
import { AuthTemplate as Cf, AuthTemplateCard as cf, AuthTemplateContent as Tf, AuthTemplateDefaultBackground as Sf, AuthTemplateDescription as hf, AuthTemplateFooter as bf, AuthTemplateGridOverlay as Af, AuthTemplateHeader as Mf, AuthTemplateLegal as Df, AuthTemplateLegalLink as kf, AuthTemplateLogo as Bf, AuthTemplatePrompt as Gf, AuthTemplatePromptLink as Pf, AuthTemplateTitle as vf, AuthTemplateVideoBackground as Lf } from "./templates/auth-template.js";
|
|
223
|
+
import { ChatTemplate as If, ChatTemplateBody as wf, ChatTemplateFooter as Hf, ChatTemplateHeader as Ef, ChatTemplateHeaderGroup as Ff, ChatTemplateOverview as Of, ChatTemplateOverviewSubtitle as Rf, ChatTemplateOverviewTitle as Vf, ChatTemplateSuggestions as zf } from "./templates/chat-template.js";
|
|
224
|
+
import { ChatBodySkeleton as Nf, ChatContentSkeleton as Zf, ChatFooterSkeleton as qf, ChatHeaderSkeleton as Uf, ChatSidebarSkeleton as Jf } from "./templates/chat-template-skeletons.js";
|
|
225
|
+
import { ErrorTemplate as Yf, ErrorTemplateActions as jf, ErrorTemplateContent as Qf, ErrorTemplateDescription as Kf, ErrorTemplateIcon as _f, ErrorTemplateLogo as $f, ErrorTemplateTitle as ox, ErrorTemplateUrl as rx } from "./templates/error-template.js";
|
|
226
226
|
export {
|
|
227
227
|
e as Accordion,
|
|
228
228
|
t as AccordionContent,
|
|
@@ -254,21 +254,21 @@ export {
|
|
|
254
254
|
Hr as Atlassian,
|
|
255
255
|
Fr as Attio,
|
|
256
256
|
Rr as Auth0,
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
257
|
+
Cf as AuthTemplate,
|
|
258
|
+
cf as AuthTemplateCard,
|
|
259
|
+
Tf as AuthTemplateContent,
|
|
260
|
+
Sf as AuthTemplateDefaultBackground,
|
|
261
|
+
hf as AuthTemplateDescription,
|
|
262
|
+
bf as AuthTemplateFooter,
|
|
263
|
+
Af as AuthTemplateGridOverlay,
|
|
264
|
+
Mf as AuthTemplateHeader,
|
|
265
|
+
Df as AuthTemplateLegal,
|
|
266
|
+
kf as AuthTemplateLegalLink,
|
|
267
|
+
Bf as AuthTemplateLogo,
|
|
268
|
+
Gf as AuthTemplatePrompt,
|
|
269
|
+
Pf as AuthTemplatePromptLink,
|
|
270
|
+
vf as AuthTemplateTitle,
|
|
271
|
+
Lf as AuthTemplateVideoBackground,
|
|
272
272
|
k as Avatar,
|
|
273
273
|
B as AvatarFallback,
|
|
274
274
|
G as AvatarImage,
|
|
@@ -312,28 +312,28 @@ export {
|
|
|
312
312
|
xo as ChartTooltip,
|
|
313
313
|
so as ChartTooltipContent,
|
|
314
314
|
un as ChatAssistantMessage,
|
|
315
|
-
|
|
315
|
+
Nf as ChatBodySkeleton,
|
|
316
316
|
uo as ChatContainerContent,
|
|
317
317
|
Co as ChatContainerRoot,
|
|
318
318
|
co as ChatContainerScrollAnchor,
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
319
|
+
Zf as ChatContentSkeleton,
|
|
320
|
+
qf as ChatFooterSkeleton,
|
|
321
|
+
Uf as ChatHeaderSkeleton,
|
|
322
322
|
sn as ChatHistoryItem,
|
|
323
323
|
Cn as ChatMessageList,
|
|
324
324
|
cn as ChatMessageListSkeleton,
|
|
325
|
-
|
|
326
|
-
|
|
325
|
+
df as ChatPageSkeleton,
|
|
326
|
+
Jf as ChatSidebarSkeleton,
|
|
327
327
|
Tn as ChatStreamingIndicator,
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
328
|
+
If as ChatTemplate,
|
|
329
|
+
wf as ChatTemplateBody,
|
|
330
|
+
Hf as ChatTemplateFooter,
|
|
331
|
+
Ef as ChatTemplateHeader,
|
|
332
|
+
Ff as ChatTemplateHeaderGroup,
|
|
333
|
+
Of as ChatTemplateOverview,
|
|
334
|
+
Rf as ChatTemplateOverviewSubtitle,
|
|
335
|
+
Vf as ChatTemplateOverviewTitle,
|
|
336
|
+
zf as ChatTemplateSuggestions,
|
|
337
337
|
Sn as ChatUserMessage,
|
|
338
338
|
So as Checkbox,
|
|
339
339
|
fe as Claude,
|
|
@@ -403,14 +403,14 @@ export {
|
|
|
403
403
|
Qe as Ebay,
|
|
404
404
|
Gn as EmptyState,
|
|
405
405
|
vn as ErrorState,
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
406
|
+
Yf as ErrorTemplate,
|
|
407
|
+
jf as ErrorTemplateActions,
|
|
408
|
+
Qf as ErrorTemplateContent,
|
|
409
|
+
Kf as ErrorTemplateDescription,
|
|
410
|
+
_f as ErrorTemplateIcon,
|
|
411
|
+
$f as ErrorTemplateLogo,
|
|
412
|
+
ox as ErrorTemplateTitle,
|
|
413
|
+
rx as ErrorTemplateUrl,
|
|
414
414
|
_e as Evernote,
|
|
415
415
|
ot as Exa,
|
|
416
416
|
et as Factorial,
|
|
@@ -456,7 +456,7 @@ export {
|
|
|
456
456
|
Ca as Linear,
|
|
457
457
|
Ta as Linkedin,
|
|
458
458
|
pi as Loader,
|
|
459
|
-
|
|
459
|
+
gf as LoginPage,
|
|
460
460
|
ha as Luma,
|
|
461
461
|
Aa as Mailchimp,
|
|
462
462
|
ii as Markdown,
|
|
@@ -580,6 +580,7 @@ export {
|
|
|
580
580
|
Un as StepsProgress,
|
|
581
581
|
am as Stripe,
|
|
582
582
|
Xn as SuggestionCard,
|
|
583
|
+
Yn as SuggestionCardSkeleton,
|
|
583
584
|
Fl as Switch,
|
|
584
585
|
Rl as Table,
|
|
585
586
|
Vl as TableBody,
|
|
@@ -598,16 +599,16 @@ export {
|
|
|
598
599
|
lm as Ticktick,
|
|
599
600
|
fm as Tiktok,
|
|
600
601
|
on as Toggle,
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
602
|
+
Qn as ToolAuthorization,
|
|
603
|
+
Kn as ToolAuthorizationArgs,
|
|
604
|
+
_n as ToolAuthorizationContent,
|
|
605
|
+
$n as ToolAuthorizationHeader,
|
|
606
|
+
of as ToolAuthorizationMessage,
|
|
607
|
+
ef as ToolCallAccordion,
|
|
608
|
+
tf as ToolCallAccordionContent,
|
|
609
|
+
af as ToolCallAccordionItem,
|
|
610
|
+
pf as ToolCallAccordionTrigger,
|
|
611
|
+
lf as ToolCard,
|
|
611
612
|
Zn as ToolkitCard,
|
|
612
613
|
tn as Tooltip,
|
|
613
614
|
an as TooltipContent,
|
|
@@ -616,7 +617,7 @@ export {
|
|
|
616
617
|
dm as Trello,
|
|
617
618
|
gm as Twilio,
|
|
618
619
|
Cm as Twitch,
|
|
619
|
-
|
|
620
|
+
ff as UserNav,
|
|
620
621
|
Tm as Vercel,
|
|
621
622
|
hm as VercelLogotype,
|
|
622
623
|
nn as ViewToolsControl,
|
|
@@ -17,8 +17,8 @@ export { PromptInput, PromptInputAction, PromptInputActions, PromptInputTextarea
|
|
|
17
17
|
export { RequirementBadges } from './requirement-badges';
|
|
18
18
|
export type { Step, StepStatus, StepsProgressProps } from './steps-progress';
|
|
19
19
|
export { StepsProgress } from './steps-progress';
|
|
20
|
-
export type { SuggestionCardProps } from './suggestion-card';
|
|
21
|
-
export { SuggestionCard } from './suggestion-card';
|
|
20
|
+
export type { SuggestionCardProps, SuggestionCardSkeletonProps, } from './suggestion-card';
|
|
21
|
+
export { SuggestionCard, SuggestionCardSkeleton } from './suggestion-card';
|
|
22
22
|
export type { ToolAuthorizationArgsProps, ToolAuthorizationHeaderProps, ToolAuthorizationMessageProps, ToolAuthorizationProps, ToolAuthorizationStatus, } from './tool-authorization';
|
|
23
23
|
export { ToolAuthorization, ToolAuthorizationArgs, ToolAuthorizationContent, ToolAuthorizationHeader, ToolAuthorizationMessage, } from './tool-authorization';
|
|
24
24
|
export type { ToolCallAccordionContentProps, ToolCallAccordionItemProps, ToolCallAccordionProps, ToolCallAccordionTriggerProps, ToolCallState, ToolCallView, } from './tool-call-accordion';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/index.ts"],"names":[],"mappings":"AAAA,+GAA+G;AAE/G,YAAY,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,YAAY,EACV,yBAAyB,EACzB,eAAe,EACf,oBAAoB,EACpB,4BAA4B,EAC5B,2BAA2B,EAC3B,oBAAoB,GACrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,uBAAuB,EACvB,sBAAsB,EACtB,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,YAAY,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,YAAY,EACV,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,GACb,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,OAAO,EACP,aAAa,EACb,cAAc,EACd,aAAa,EACb,cAAc,GACf,MAAM,WAAW,CAAC;AACnB,YAAY,EACV,sBAAsB,EACtB,uBAAuB,EACvB,gBAAgB,EAChB,wBAAwB,GACzB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,YAAY,EAAE,IAAI,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC7E,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/index.ts"],"names":[],"mappings":"AAAA,+GAA+G;AAE/G,YAAY,EA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jD,YAAY,EACV,mBAAmB,EACnB,2BAA2B,GAC5B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAC3E,YAAY,EACV,0BAA0B,EAC1B,4BAA4B,EAC5B,6BAA6B,EAC7B,sBAAsB,EACtB,uBAAuB,GACxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EACV,6BAA6B,EAC7B,0BAA0B,EAC1B,sBAAsB,EACtB,6BAA6B,EAC7B,aAAa,EACb,YAAY,GACb,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { ChatHistoryItem as r } from "./chat-history-item.js";
|
|
2
|
-
import { ChatAssistantMessage as a, ChatMessageList as s, ChatMessageListSkeleton as
|
|
2
|
+
import { ChatAssistantMessage as a, ChatMessageList as s, ChatMessageListSkeleton as n, ChatStreamingIndicator as i, ChatUserMessage as m } from "./chat-message-list.js";
|
|
3
3
|
import { CommandBar as l } from "./command-bar.js";
|
|
4
4
|
import { ConfirmPopover as C } from "./confirm-popover.js";
|
|
5
5
|
import { DateTimePicker as x } from "./date-time-picker.js";
|
|
6
6
|
import { EmptyState as T } from "./empty-state.js";
|
|
7
7
|
import { ErrorState as d } from "./error-state.js";
|
|
8
|
-
import { Message as
|
|
8
|
+
import { Message as h, MessageAction as M, MessageActions as S, MessageAvatar as I, MessageContent as P } from "./message.js";
|
|
9
9
|
import { PromptInput as k, PromptInputAction as v, PromptInputActions as y, PromptInputTextarea as B } from "./prompt-input.js";
|
|
10
10
|
import { R as H, T as L } from "../../../toolkit-card-CB1oiaei.js";
|
|
11
11
|
import { StepsProgress as U } from "./steps-progress.js";
|
|
12
|
-
import { SuggestionCard as D } from "./suggestion-card.js";
|
|
13
|
-
import { ToolAuthorization as
|
|
14
|
-
import { ToolCallAccordion as
|
|
15
|
-
import { ToolCard as
|
|
16
|
-
import { UserNav as
|
|
12
|
+
import { SuggestionCard as D, SuggestionCardSkeleton as N } from "./suggestion-card.js";
|
|
13
|
+
import { ToolAuthorization as j, ToolAuthorizationArgs as w, ToolAuthorizationContent as F, ToolAuthorizationHeader as G, ToolAuthorizationMessage as J } from "./tool-authorization.js";
|
|
14
|
+
import { ToolCallAccordion as O, ToolCallAccordionContent as Q, ToolCallAccordionItem as V, ToolCallAccordionTrigger as W } from "./tool-call-accordion.js";
|
|
15
|
+
import { ToolCard as Y } from "./tool-card.js";
|
|
16
|
+
import { UserNav as _ } from "./user-nav.js";
|
|
17
17
|
export {
|
|
18
18
|
a as ChatAssistantMessage,
|
|
19
19
|
r as ChatHistoryItem,
|
|
20
20
|
s as ChatMessageList,
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
n as ChatMessageListSkeleton,
|
|
22
|
+
i as ChatStreamingIndicator,
|
|
23
23
|
m as ChatUserMessage,
|
|
24
24
|
l as CommandBar,
|
|
25
25
|
C as ConfirmPopover,
|
|
26
26
|
x as DateTimePicker,
|
|
27
27
|
T as EmptyState,
|
|
28
28
|
d as ErrorState,
|
|
29
|
-
|
|
29
|
+
h as Message,
|
|
30
30
|
M as MessageAction,
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
S as MessageActions,
|
|
32
|
+
I as MessageAvatar,
|
|
33
|
+
P as MessageContent,
|
|
34
34
|
k as PromptInput,
|
|
35
35
|
v as PromptInputAction,
|
|
36
36
|
y as PromptInputActions,
|
|
@@ -38,16 +38,17 @@ export {
|
|
|
38
38
|
H as RequirementBadges,
|
|
39
39
|
U as StepsProgress,
|
|
40
40
|
D as SuggestionCard,
|
|
41
|
-
|
|
42
|
-
j as
|
|
43
|
-
w as
|
|
44
|
-
F as
|
|
45
|
-
G as
|
|
46
|
-
|
|
47
|
-
O as
|
|
48
|
-
Q as
|
|
49
|
-
V as
|
|
50
|
-
|
|
41
|
+
N as SuggestionCardSkeleton,
|
|
42
|
+
j as ToolAuthorization,
|
|
43
|
+
w as ToolAuthorizationArgs,
|
|
44
|
+
F as ToolAuthorizationContent,
|
|
45
|
+
G as ToolAuthorizationHeader,
|
|
46
|
+
J as ToolAuthorizationMessage,
|
|
47
|
+
O as ToolCallAccordion,
|
|
48
|
+
Q as ToolCallAccordionContent,
|
|
49
|
+
V as ToolCallAccordionItem,
|
|
50
|
+
W as ToolCallAccordionTrigger,
|
|
51
|
+
Y as ToolCard,
|
|
51
52
|
L as ToolkitCard,
|
|
52
|
-
|
|
53
|
+
_ as UserNav
|
|
53
54
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"steps-progress.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/steps-progress.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAKpC,MAAM,MAAM,UAAU,GAAG,YAAY,GAAG,QAAQ,GAAG,UAAU,CAAC;AAE9D,MAAM,MAAM,IAAI,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"steps-progress.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/steps-progress.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAKpC,MAAM,MAAM,UAAU,GAAG,YAAY,GAAG,QAAQ,GAAG,UAAU,CAAC;AAE9D,MAAM,MAAM,IAAI,GAAG;IACjB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,UAAU,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB,GAAG,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;AAmCpC,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,SAAS,EACT,SAAS,EACT,GAAG,KAAK,EACT,EAAE,kBAAkB,2CA6DpB"}
|
|
@@ -1,66 +1,89 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { X as
|
|
3
|
-
import { Button as
|
|
4
|
-
import { StepIndicator as
|
|
5
|
-
import { cn as
|
|
6
|
-
function
|
|
7
|
-
|
|
1
|
+
import { jsxs as l, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { X as u } from "lucide-react";
|
|
3
|
+
import { Button as m } from "../atoms/button.js";
|
|
4
|
+
import { StepIndicator as d } from "../atoms/step-indicator.js";
|
|
5
|
+
import { cn as f } from "../../../lib/utils.js";
|
|
6
|
+
function h({ step: e, stepNumber: t }) {
|
|
7
|
+
const n = /* @__PURE__ */ r(
|
|
8
|
+
d,
|
|
9
|
+
{
|
|
10
|
+
label: e.label,
|
|
11
|
+
status: e.status,
|
|
12
|
+
stepNumber: t
|
|
13
|
+
}
|
|
14
|
+
);
|
|
15
|
+
return e.onClick ? /* @__PURE__ */ r(
|
|
16
|
+
"button",
|
|
17
|
+
{
|
|
18
|
+
className: "flex min-w-0 flex-1 cursor-pointer items-center justify-center",
|
|
19
|
+
onClick: e.onClick,
|
|
20
|
+
type: "button",
|
|
21
|
+
children: n
|
|
22
|
+
}
|
|
23
|
+
) : /* @__PURE__ */ r("span", { className: "flex min-w-0 flex-1 items-center justify-center", children: n });
|
|
24
|
+
}
|
|
25
|
+
function N({
|
|
26
|
+
steps: e,
|
|
8
27
|
onDismiss: t,
|
|
9
|
-
className:
|
|
10
|
-
...
|
|
28
|
+
className: n,
|
|
29
|
+
...o
|
|
11
30
|
}) {
|
|
12
|
-
|
|
31
|
+
const s = !!t && e.at(-1)?.status === "active", c = `calc(${(e.length - 1) / e.length} * (100% - 4.25rem) + 0.75rem)`;
|
|
32
|
+
return /* @__PURE__ */ l(
|
|
13
33
|
"section",
|
|
14
34
|
{
|
|
15
35
|
"aria-label": "Steps progress",
|
|
16
|
-
className:
|
|
36
|
+
className: f(
|
|
17
37
|
"relative h-14 overflow-hidden border border-border bg-card text-foreground",
|
|
18
|
-
|
|
38
|
+
n
|
|
19
39
|
),
|
|
20
|
-
...
|
|
21
|
-
children:
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
{
|
|
25
|
-
"aria-current": r.status === "active" ? "step" : void 0,
|
|
26
|
-
className: "relative isolate flex h-full min-w-0 flex-1 items-center justify-center px-3 py-4",
|
|
27
|
-
"data-status": r.status,
|
|
28
|
-
children: [
|
|
29
|
-
a > 0 && /* @__PURE__ */ e(
|
|
30
|
-
"span",
|
|
31
|
-
{
|
|
32
|
-
"aria-hidden": "true",
|
|
33
|
-
className: "absolute left-0 h-full w-px bg-border"
|
|
34
|
-
}
|
|
35
|
-
),
|
|
36
|
-
/* @__PURE__ */ e(
|
|
37
|
-
m,
|
|
38
|
-
{
|
|
39
|
-
label: r.label,
|
|
40
|
-
status: r.status,
|
|
41
|
-
stepNumber: a + 1
|
|
42
|
-
}
|
|
43
|
-
)
|
|
44
|
-
]
|
|
45
|
-
},
|
|
46
|
-
r.id
|
|
47
|
-
)) }),
|
|
48
|
-
t ? /* @__PURE__ */ e(
|
|
49
|
-
d,
|
|
40
|
+
...o,
|
|
41
|
+
children: [
|
|
42
|
+
s && /* @__PURE__ */ r(
|
|
43
|
+
"span",
|
|
50
44
|
{
|
|
51
|
-
"aria-
|
|
52
|
-
className: "
|
|
53
|
-
|
|
54
|
-
size: "icon",
|
|
55
|
-
type: "button",
|
|
56
|
-
variant: "ghost",
|
|
57
|
-
children: /* @__PURE__ */ e(n, { className: "h-4 w-4" })
|
|
45
|
+
"aria-hidden": "true",
|
|
46
|
+
className: "pointer-events-none absolute top-0 right-0 z-10 h-0.5 bg-foreground",
|
|
47
|
+
style: { left: c }
|
|
58
48
|
}
|
|
59
|
-
)
|
|
60
|
-
|
|
49
|
+
),
|
|
50
|
+
/* @__PURE__ */ l("div", { className: "relative z-10 flex h-full items-center gap-3 px-3", children: [
|
|
51
|
+
/* @__PURE__ */ r("ol", { className: "flex h-full min-w-0 flex-1 items-center gap-0", children: e.map((a, i) => /* @__PURE__ */ l(
|
|
52
|
+
"li",
|
|
53
|
+
{
|
|
54
|
+
"aria-current": a.status === "active" ? "step" : void 0,
|
|
55
|
+
className: "relative isolate flex h-full min-w-0 flex-1 items-center justify-center px-3 py-4",
|
|
56
|
+
"data-status": a.status,
|
|
57
|
+
children: [
|
|
58
|
+
i > 0 && /* @__PURE__ */ r(
|
|
59
|
+
"span",
|
|
60
|
+
{
|
|
61
|
+
"aria-hidden": "true",
|
|
62
|
+
className: "absolute left-0 h-full w-px bg-border"
|
|
63
|
+
}
|
|
64
|
+
),
|
|
65
|
+
/* @__PURE__ */ r(h, { step: a, stepNumber: i + 1 })
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
a.id
|
|
69
|
+
)) }),
|
|
70
|
+
t ? /* @__PURE__ */ r(
|
|
71
|
+
m,
|
|
72
|
+
{
|
|
73
|
+
"aria-label": "Dismiss steps progress",
|
|
74
|
+
className: "h-8 w-8 shrink-0 border border-border text-muted-foreground hover:bg-muted hover:text-foreground",
|
|
75
|
+
onClick: t,
|
|
76
|
+
size: "icon",
|
|
77
|
+
type: "button",
|
|
78
|
+
variant: "ghost",
|
|
79
|
+
children: /* @__PURE__ */ r(u, { className: "h-4 w-4" })
|
|
80
|
+
}
|
|
81
|
+
) : null
|
|
82
|
+
] })
|
|
83
|
+
]
|
|
61
84
|
}
|
|
62
85
|
);
|
|
63
86
|
}
|
|
64
87
|
export {
|
|
65
|
-
|
|
88
|
+
N as StepsProgress
|
|
66
89
|
};
|
|
@@ -8,4 +8,6 @@ export type SuggestionCardProps = {
|
|
|
8
8
|
subtitle: string;
|
|
9
9
|
} & React.ComponentProps<"button">;
|
|
10
10
|
export declare function SuggestionCard({ className, icon, title, subtitle, ...props }: SuggestionCardProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export type SuggestionCardSkeletonProps = React.ComponentProps<"div">;
|
|
12
|
+
export declare function SuggestionCardSkeleton({ className, ...props }: SuggestionCardSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
11
13
|
//# sourceMappingURL=suggestion-card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suggestion-card.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/suggestion-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"suggestion-card.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/suggestion-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAMpC,MAAM,MAAM,mBAAmB,GAAG;IAChC,mDAAmD;IACnD,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,iCAAiC;IACjC,QAAQ,EAAE,MAAM,CAAC;CAClB,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;AAEnC,wBAAgB,cAAc,CAAC,EAC7B,SAAS,EACT,IAAI,EACJ,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,mBAAmB,2CAiCrB;AAID,MAAM,MAAM,2BAA2B,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEtE,wBAAgB,sBAAsB,CAAC,EACrC,SAAS,EACT,GAAG,KAAK,EACT,EAAE,2BAA2B,2CAkB7B"}
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { jsxs as s, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { Skeleton as r } from "../atoms/skeleton.js";
|
|
3
|
+
import { cn as a } from "../../../lib/utils.js";
|
|
4
|
+
function g({
|
|
5
|
+
className: t,
|
|
5
6
|
icon: o,
|
|
6
|
-
title:
|
|
7
|
-
subtitle:
|
|
8
|
-
...
|
|
7
|
+
title: d,
|
|
8
|
+
subtitle: l,
|
|
9
|
+
...n
|
|
9
10
|
}) {
|
|
10
|
-
return /* @__PURE__ */
|
|
11
|
+
return /* @__PURE__ */ s(
|
|
11
12
|
"button",
|
|
12
13
|
{
|
|
13
|
-
className:
|
|
14
|
-
"flex w-full cursor-pointer flex-col gap-2 rounded-2xl border bg-card p-4 text-left shadow-xs transition-all hover:-translate-y-0.5 hover:shadow-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
15
|
-
|
|
14
|
+
className: a(
|
|
15
|
+
"flex w-full cursor-pointer flex-col gap-2 rounded-2xl border bg-card p-4 text-left shadow-xs transition-all hover:-translate-y-0.5 hover:shadow-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
|
|
16
|
+
t
|
|
16
17
|
),
|
|
17
18
|
"data-slot": "suggestion-card",
|
|
18
19
|
type: "button",
|
|
19
|
-
...
|
|
20
|
+
...n,
|
|
20
21
|
children: [
|
|
21
22
|
/* @__PURE__ */ e(
|
|
22
23
|
"div",
|
|
@@ -26,13 +27,13 @@ function c({
|
|
|
26
27
|
children: o
|
|
27
28
|
}
|
|
28
29
|
),
|
|
29
|
-
/* @__PURE__ */
|
|
30
|
+
/* @__PURE__ */ s("div", { className: "space-y-2 pt-2", children: [
|
|
30
31
|
/* @__PURE__ */ e(
|
|
31
32
|
"h3",
|
|
32
33
|
{
|
|
33
34
|
className: "font-semibold text-card-foreground text-sm",
|
|
34
35
|
"data-slot": "suggestion-card-title",
|
|
35
|
-
children:
|
|
36
|
+
children: d
|
|
36
37
|
}
|
|
37
38
|
),
|
|
38
39
|
/* @__PURE__ */ e(
|
|
@@ -40,7 +41,7 @@ function c({
|
|
|
40
41
|
{
|
|
41
42
|
className: "text-muted-foreground text-xs",
|
|
42
43
|
"data-slot": "suggestion-card-subtitle",
|
|
43
|
-
children:
|
|
44
|
+
children: l
|
|
44
45
|
}
|
|
45
46
|
)
|
|
46
47
|
] })
|
|
@@ -48,6 +49,31 @@ function c({
|
|
|
48
49
|
}
|
|
49
50
|
);
|
|
50
51
|
}
|
|
52
|
+
function m({
|
|
53
|
+
className: t,
|
|
54
|
+
...o
|
|
55
|
+
}) {
|
|
56
|
+
return /* @__PURE__ */ s(
|
|
57
|
+
"div",
|
|
58
|
+
{
|
|
59
|
+
"aria-hidden": "true",
|
|
60
|
+
className: a(
|
|
61
|
+
"flex w-full flex-col gap-2 rounded-2xl border bg-card p-4 shadow-xs",
|
|
62
|
+
t
|
|
63
|
+
),
|
|
64
|
+
"data-slot": "suggestion-card-skeleton",
|
|
65
|
+
...o,
|
|
66
|
+
children: [
|
|
67
|
+
/* @__PURE__ */ e(r, { className: "size-8 rounded-xl sm:size-10" }),
|
|
68
|
+
/* @__PURE__ */ s("div", { className: "space-y-2 pt-2", children: [
|
|
69
|
+
/* @__PURE__ */ e(r, { className: "h-4 w-3/4 rounded" }),
|
|
70
|
+
/* @__PURE__ */ e(r, { className: "h-3 w-1/2 rounded" })
|
|
71
|
+
] })
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
);
|
|
75
|
+
}
|
|
51
76
|
export {
|
|
52
|
-
|
|
77
|
+
g as SuggestionCard,
|
|
78
|
+
m as SuggestionCardSkeleton
|
|
53
79
|
};
|
|
@@ -17,6 +17,11 @@ export type ToolCallAccordionContentProps = React.ComponentProps<typeof Accordio
|
|
|
17
17
|
showViewToggle?: boolean;
|
|
18
18
|
args?: Record<string, unknown>;
|
|
19
19
|
result?: unknown;
|
|
20
|
+
errorNotice?: {
|
|
21
|
+
title: string;
|
|
22
|
+
description: string;
|
|
23
|
+
details?: string;
|
|
24
|
+
};
|
|
20
25
|
};
|
|
21
26
|
declare const toolCallAccordionTriggerVariants: (props?: ({
|
|
22
27
|
state?: "error" | "complete" | "calling" | null | undefined;
|
|
@@ -31,6 +36,6 @@ declare function ToolCallAccordionTrigger({ className, state, toolName, icon, sh
|
|
|
31
36
|
* and "Response" sections. The active view is applied automatically.
|
|
32
37
|
* Additional content can be passed as `children`.
|
|
33
38
|
*/
|
|
34
|
-
declare function ToolCallAccordionContent({ className, children, view: viewProp, onViewChange, showViewToggle, args, result, ...props }: ToolCallAccordionContentProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
declare function ToolCallAccordionContent({ className, children, view: viewProp, onViewChange, showViewToggle, args, result, errorNotice, ...props }: ToolCallAccordionContentProps): import("react/jsx-runtime").JSX.Element;
|
|
35
40
|
export { ToolCallAccordion, ToolCallAccordionContent, ToolCallAccordionItem, ToolCallAccordionTrigger, };
|
|
36
41
|
//# sourceMappingURL=tool-call-accordion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-call-accordion.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/tool-call-accordion.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"tool-call-accordion.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/tool-call-accordion.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAO,KAAK,YAA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