@arcadeai/design-system 3.36.2 → 3.38.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.
Files changed (32) hide show
  1. package/dist/assets/index.css +1 -1
  2. package/dist/assets/tokens.css +1 -1
  3. package/dist/assets/variables.css +1 -1
  4. package/dist/components/index.js +62 -61
  5. package/dist/components/ui/atoms/loader.d.ts +1 -1
  6. package/dist/components/ui/atoms/loader.d.ts.map +1 -1
  7. package/dist/components/ui/atoms/loader.js +91 -61
  8. package/dist/components/ui/index.js +62 -61
  9. package/dist/components/ui/molecules/command-bar.d.ts +8 -1
  10. package/dist/components/ui/molecules/command-bar.d.ts.map +1 -1
  11. package/dist/components/ui/molecules/command-bar.js +24 -17
  12. package/dist/components/ui/molecules/index.d.ts +2 -2
  13. package/dist/components/ui/molecules/index.d.ts.map +1 -1
  14. package/dist/components/ui/molecules/index.js +25 -24
  15. package/dist/components/ui/molecules/prompt-input.d.ts.map +1 -1
  16. package/dist/components/ui/molecules/prompt-input.js +57 -45
  17. package/dist/components/ui/molecules/steps-progress.d.ts +5 -0
  18. package/dist/components/ui/molecules/steps-progress.d.ts.map +1 -1
  19. package/dist/components/ui/molecules/steps-progress.js +181 -49
  20. package/dist/components/ui/molecules/suggestion-card.d.ts +3 -1
  21. package/dist/components/ui/molecules/suggestion-card.d.ts.map +1 -1
  22. package/dist/components/ui/molecules/suggestion-card.js +94 -31
  23. package/dist/components/ui/molecules/tool-authorization.js +5 -5
  24. package/dist/components/ui/molecules/tool-call-accordion.d.ts +6 -1
  25. package/dist/components/ui/molecules/tool-call-accordion.d.ts.map +1 -1
  26. package/dist/components/ui/molecules/tool-call-accordion.js +153 -96
  27. package/dist/components/ui/templates/chat-template-skeletons.d.ts.map +1 -1
  28. package/dist/components/ui/templates/chat-template-skeletons.js +27 -35
  29. package/dist/components/ui/templates/chat-template.d.ts.map +1 -1
  30. package/dist/components/ui/templates/chat-template.js +53 -50
  31. package/dist/main.js +89 -88
  32. 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 jn, ToolAuthorizationArgs as Qn, ToolAuthorizationContent as Kn, ToolAuthorizationHeader as _n, ToolAuthorizationMessage as $n } from "./molecules/tool-authorization.js";
217
- import { ToolCallAccordion as rf, ToolCallAccordionContent as ef, ToolCallAccordionItem as tf, ToolCallAccordionTrigger as af } from "./molecules/tool-call-accordion.js";
218
- import { ToolCard as mf } from "./molecules/tool-card.js";
219
- import { UserNav as nf } from "./molecules/user-nav.js";
220
- import { ChatPageSkeleton as xf } from "./pages/chat-page-skeleton.js";
221
- import { LoginPage as sf } from "./pages/login-page.js";
222
- import { AuthTemplate as uf, AuthTemplateCard as Cf, AuthTemplateContent as cf, AuthTemplateDefaultBackground as Tf, AuthTemplateDescription as Sf, AuthTemplateFooter as hf, AuthTemplateGridOverlay as bf, AuthTemplateHeader as Af, AuthTemplateLegal as Mf, AuthTemplateLegalLink as Df, AuthTemplateLogo as kf, AuthTemplatePrompt as Bf, AuthTemplatePromptLink as Gf, AuthTemplateTitle as Pf, AuthTemplateVideoBackground as vf } from "./templates/auth-template.js";
223
- import { ChatTemplate as yf, ChatTemplateBody as If, ChatTemplateFooter as wf, ChatTemplateHeader as Hf, ChatTemplateHeaderGroup as Ef, ChatTemplateOverview as Ff, ChatTemplateOverviewSubtitle as Of, ChatTemplateOverviewTitle as Rf, ChatTemplateSuggestions as Vf } from "./templates/chat-template.js";
224
- import { ChatBodySkeleton as Wf, ChatContentSkeleton as Nf, ChatFooterSkeleton as Zf, ChatHeaderSkeleton as qf, ChatSidebarSkeleton as Uf } from "./templates/chat-template-skeletons.js";
225
- import { ErrorTemplate as Xf, ErrorTemplateActions as Yf, ErrorTemplateContent as jf, ErrorTemplateDescription as Qf, ErrorTemplateIcon as Kf, ErrorTemplateLogo as _f, ErrorTemplateTitle as $f, ErrorTemplateUrl as ox } from "./templates/error-template.js";
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
- uf as AuthTemplate,
258
- Cf as AuthTemplateCard,
259
- cf as AuthTemplateContent,
260
- Tf as AuthTemplateDefaultBackground,
261
- Sf as AuthTemplateDescription,
262
- hf as AuthTemplateFooter,
263
- bf as AuthTemplateGridOverlay,
264
- Af as AuthTemplateHeader,
265
- Mf as AuthTemplateLegal,
266
- Df as AuthTemplateLegalLink,
267
- kf as AuthTemplateLogo,
268
- Bf as AuthTemplatePrompt,
269
- Gf as AuthTemplatePromptLink,
270
- Pf as AuthTemplateTitle,
271
- vf as AuthTemplateVideoBackground,
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
- Wf as ChatBodySkeleton,
315
+ Nf as ChatBodySkeleton,
316
316
  uo as ChatContainerContent,
317
317
  Co as ChatContainerRoot,
318
318
  co as ChatContainerScrollAnchor,
319
- Nf as ChatContentSkeleton,
320
- Zf as ChatFooterSkeleton,
321
- qf as ChatHeaderSkeleton,
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
- xf as ChatPageSkeleton,
326
- Uf as ChatSidebarSkeleton,
325
+ df as ChatPageSkeleton,
326
+ Jf as ChatSidebarSkeleton,
327
327
  Tn as ChatStreamingIndicator,
328
- yf as ChatTemplate,
329
- If as ChatTemplateBody,
330
- wf as ChatTemplateFooter,
331
- Hf as ChatTemplateHeader,
332
- Ef as ChatTemplateHeaderGroup,
333
- Ff as ChatTemplateOverview,
334
- Of as ChatTemplateOverviewSubtitle,
335
- Rf as ChatTemplateOverviewTitle,
336
- Vf as ChatTemplateSuggestions,
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
- Xf as ErrorTemplate,
407
- Yf as ErrorTemplateActions,
408
- jf as ErrorTemplateContent,
409
- Qf as ErrorTemplateDescription,
410
- Kf as ErrorTemplateIcon,
411
- _f as ErrorTemplateLogo,
412
- $f as ErrorTemplateTitle,
413
- ox as ErrorTemplateUrl,
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
- sf as LoginPage,
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
- jn as ToolAuthorization,
602
- Qn as ToolAuthorizationArgs,
603
- Kn as ToolAuthorizationContent,
604
- _n as ToolAuthorizationHeader,
605
- $n as ToolAuthorizationMessage,
606
- rf as ToolCallAccordion,
607
- ef as ToolCallAccordionContent,
608
- tf as ToolCallAccordionItem,
609
- af as ToolCallAccordionTrigger,
610
- mf as ToolCard,
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
- nf as UserNav,
620
+ ff as UserNav,
620
621
  Tm as Vercel,
621
622
  hm as VercelLogotype,
622
623
  nn as ViewToolsControl,
@@ -1,7 +1,14 @@
1
1
  type CommandBarProps = {
2
2
  command: string;
3
3
  className?: string;
4
+ /**
5
+ * Called when content is copied from the command area.
6
+ * `source` is `"copy_button"` for button clicks (via navigator.clipboard)
7
+ * and `"clipboard"` for keyboard/menu copies (DOM copy event).
8
+ * The two paths are mutually exclusive — no double-counting occurs.
9
+ */
10
+ onCopy?: (source: "copy_button" | "clipboard") => void;
4
11
  };
5
- export declare function CommandBar({ command, className }: CommandBarProps): import("react/jsx-runtime").JSX.Element;
12
+ export declare function CommandBar({ command, className, onCopy }: CommandBarProps): import("react/jsx-runtime").JSX.Element;
6
13
  export {};
7
14
  //# sourceMappingURL=command-bar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"command-bar.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/command-bar.tsx"],"names":[],"mappings":"AAKA,KAAK,eAAe,GAAG;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,wBAAgB,UAAU,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,eAAe,2CA2BjE"}
1
+ {"version":3,"file":"command-bar.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/command-bar.tsx"],"names":[],"mappings":"AAKA,KAAK,eAAe,GAAG;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,GAAG,WAAW,KAAK,IAAI,CAAC;CACxD,CAAC;AAEF,wBAAgB,UAAU,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,eAAe,2CA8BzE"}
@@ -1,25 +1,32 @@
1
- import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
- import { w as a } from "../../../web-BwFNdl01.js";
3
- import { CopyButton as l } from "../atoms/copy-button.js";
4
- import { SHIKI_THEMES as s } from "../../../lib/shiki-themes.js";
1
+ import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
+ import { w as l } from "../../../web-BwFNdl01.js";
3
+ import { CopyButton as s } from "../atoms/copy-button.js";
4
+ import { SHIKI_THEMES as n } from "../../../lib/shiki-themes.js";
5
5
  import { cn as i } from "../../../lib/utils.js";
6
- function u({ command: t, className: r }) {
7
- return /* @__PURE__ */ o(
6
+ function c({ command: t, className: r, onCopy: o }) {
7
+ return /* @__PURE__ */ a(
8
8
  "div",
9
9
  {
10
10
  className: i("relative overflow-hidden rounded-md border", r),
11
11
  children: [
12
- /* @__PURE__ */ e("div", { className: "overflow-x-auto text-sm [&_.shiki]:py-3 [&_.shiki]:pr-14 [&_.shiki]:pl-10", children: /* @__PURE__ */ e(
13
- a,
12
+ /* @__PURE__ */ e(
13
+ "div",
14
14
  {
15
- addDefaultStyles: !1,
16
- defaultColor: !1,
17
- language: "shellscript",
18
- showLanguage: !1,
19
- theme: s,
20
- children: t
15
+ className: "overflow-x-auto text-sm [&_.shiki]:py-3 [&_.shiki]:pr-14 [&_.shiki]:pl-10",
16
+ onCopy: () => o?.("clipboard"),
17
+ children: /* @__PURE__ */ e(
18
+ l,
19
+ {
20
+ addDefaultStyles: !1,
21
+ defaultColor: !1,
22
+ language: "shellscript",
23
+ showLanguage: !1,
24
+ theme: n,
25
+ children: t
26
+ }
27
+ )
21
28
  }
22
- ) }),
29
+ ),
23
30
  /* @__PURE__ */ e(
24
31
  "span",
25
32
  {
@@ -28,11 +35,11 @@ function u({ command: t, className: r }) {
28
35
  children: "$"
29
36
  }
30
37
  ),
31
- /* @__PURE__ */ e("div", { className: "absolute top-1/2 right-3 -translate-y-1/2", children: /* @__PURE__ */ e(l, { content: t }) })
38
+ /* @__PURE__ */ e("div", { className: "absolute top-1/2 right-3 -translate-y-1/2", children: /* @__PURE__ */ e(s, { content: t, onCopy: () => o?.("copy_button") }) })
32
39
  ]
33
40
  }
34
41
  );
35
42
  }
36
43
  export {
37
- u as CommandBar
44
+ c as CommandBar
38
45
  };
@@ -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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iB,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
+ {"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,c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chat-history-item.js";
2
- import { ChatAssistantMessage as a, ChatMessageList as s, ChatMessageListSkeleton as i, ChatStreamingIndicator as n, ChatUserMessage as m } from "./chat-message-list.js";
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 u, MessageAction as M, MessageActions as I, MessageAvatar as P, MessageContent as S } from "./message.js";
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 b, ToolAuthorizationArgs as j, ToolAuthorizationContent as w, ToolAuthorizationHeader as F, ToolAuthorizationMessage as G } from "./tool-authorization.js";
14
- import { ToolCallAccordion as K, ToolCallAccordionContent as O, ToolCallAccordionItem as Q, ToolCallAccordionTrigger as V } from "./tool-call-accordion.js";
15
- import { ToolCard as X } from "./tool-card.js";
16
- import { UserNav as Z } from "./user-nav.js";
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
- i as ChatMessageListSkeleton,
22
- n as ChatStreamingIndicator,
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
- u as Message,
29
+ h as Message,
30
30
  M as MessageAction,
31
- I as MessageActions,
32
- P as MessageAvatar,
33
- S as MessageContent,
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
- b as ToolAuthorization,
42
- j as ToolAuthorizationArgs,
43
- w as ToolAuthorizationContent,
44
- F as ToolAuthorizationHeader,
45
- G as ToolAuthorizationMessage,
46
- K as ToolCallAccordion,
47
- O as ToolCallAccordionContent,
48
- Q as ToolCallAccordionItem,
49
- V as ToolCallAccordionTrigger,
50
- X as ToolCard,
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
- Z as UserNav
53
+ _ as UserNav
53
54
  };
@@ -1 +1 @@
1
- {"version":3,"file":"prompt-input.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/prompt-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAA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,MAAM,wBAAwB,GAAG;IACrC,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,CAAC;AAE1C,iBAAS,mBAAmB,CAAC,EAC3B,SAAS,EACT,SAAS,EACT,eAAuB,EACvB,GAAG,KAAK,EACT,EAAE,wBAAwB,2CAqE1B;AAED,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAElE,iBAAS,kBAAkB,CAAC,EAC1B,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,uBAAuB,2CAUzB;AAED,MAAM,MAAM,sBAAsB,GAAG;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;CAC5C,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC;AAEzC,iBAAS,iBAAiB,CAAC,EACzB,OAAO,EACP,QAAQ,EACR,SAAS,EACT,IAAY,EACZ,GAAG,KAAK,EACT,EAAE,sBAAsB,2CAwBxB;AAED,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,GACpB,CAAC"}
@@ -1,7 +1,7 @@
1
- import { jsx as a, jsxs as w } from "react/jsx-runtime";
2
- import y, { createContext as _, useState as C, useRef as k, useLayoutEffect as P, useContext as H } from "react";
3
- import { Textarea as I } from "../atoms/textarea.js";
4
- import { TooltipProvider as R, Tooltip as T, TooltipTrigger as $, TooltipContent as D } from "../atoms/tooltip.js";
1
+ import { jsx as a, jsxs as y } from "react/jsx-runtime";
2
+ import w, { createContext as _, useState as C, useRef as P, useLayoutEffect as k, useContext as T } from "react";
3
+ import { Textarea as H } from "../atoms/textarea.js";
4
+ import { TooltipProvider as I, Tooltip as R, TooltipTrigger as $, TooltipContent as D } from "../atoms/tooltip.js";
5
5
  import { cn as x } from "../../../lib/utils.js";
6
6
  const b = _({
7
7
  isLoading: !1,
@@ -11,15 +11,15 @@ const b = _({
11
11
  maxHeight: 240,
12
12
  onSubmit: void 0,
13
13
  disabled: !1,
14
- textareaRef: y.createRef()
14
+ textareaRef: w.createRef()
15
15
  });
16
16
  function v() {
17
- return H(b);
17
+ return T(b);
18
18
  }
19
- function V({
20
- className: o,
19
+ function E({
20
+ className: n,
21
21
  isLoading: r = !1,
22
- maxHeight: n = 240,
22
+ maxHeight: o = 240,
23
23
  value: s,
24
24
  onValueChange: i,
25
25
  onSubmit: l,
@@ -28,30 +28,31 @@ function V({
28
28
  onClick: d,
29
29
  ...u
30
30
  }) {
31
- const [f, m] = C(s || ""), h = k(null), g = (p) => {
32
- m(p), i?.(p);
33
- }, t = (p) => {
34
- c || h.current?.focus(), d?.(p);
31
+ const [p, m] = C(s || ""), f = P(null), g = (h) => {
32
+ m(h), i?.(h);
33
+ }, t = (h) => {
34
+ c || f.current?.focus(), d?.(h);
35
35
  };
36
- return /* @__PURE__ */ a(R, { children: /* @__PURE__ */ a(
36
+ return /* @__PURE__ */ a(I, { children: /* @__PURE__ */ a(
37
37
  b.Provider,
38
38
  {
39
39
  value: {
40
40
  isLoading: r,
41
- value: s ?? f,
41
+ value: s ?? p,
42
42
  setValue: i ?? g,
43
- maxHeight: n,
43
+ maxHeight: o,
44
44
  onSubmit: l,
45
45
  disabled: c,
46
- textareaRef: h
46
+ textareaRef: f
47
47
  },
48
48
  children: /* @__PURE__ */ a(
49
49
  "div",
50
50
  {
51
51
  className: x(
52
52
  "cursor-text rounded-lg border border-input bg-background p-2 shadow-xs transition-[box-shadow,border-color] focus-within:border focus-within:border-muted-foreground focus-within:shadow-[0_0_4px_color-mix(in_oklch,var(--ring)_4%,transparent)] dark:focus-within:shadow-[0_0_4px_color-mix(in_oklch,var(--ring)_8%,transparent)]",
53
- o
53
+ n
54
54
  ),
55
+ "data-slot": "prompt-input",
55
56
  onClick: t,
56
57
  ...u,
57
58
  children: e
@@ -60,36 +61,37 @@ function V({
60
61
  }
61
62
  ) });
62
63
  }
63
- function E({
64
- className: o,
64
+ function L({
65
+ className: n,
65
66
  onKeyDown: r,
66
- disableAutosize: n = !1,
67
+ disableAutosize: o = !1,
67
68
  ...s
68
69
  }) {
69
- const { value: i, setValue: l, maxHeight: e, onSubmit: c, disabled: d, textareaRef: u } = v(), f = (t) => {
70
- !t || n || (t.style.height = "auto", typeof e == "number" ? t.style.height = `${Math.min(t.scrollHeight, e)}px` : t.style.height = `min(${t.scrollHeight}px, ${e})`);
70
+ const { value: i, setValue: l, maxHeight: e, onSubmit: c, disabled: d, textareaRef: u } = v(), p = (t) => {
71
+ !t || o || (t.style.height = "auto", typeof e == "number" ? t.style.height = `${Math.min(t.scrollHeight, e)}px` : t.style.height = `min(${t.scrollHeight}px, ${e})`);
71
72
  }, m = (t) => {
72
- u.current = t, f(t);
73
+ u.current = t, p(t);
73
74
  };
74
- P(() => {
75
- if (!u.current || n)
75
+ k(() => {
76
+ if (!u.current || o)
76
77
  return;
77
78
  const t = u.current;
78
79
  t.style.height = "auto", typeof e == "number" ? t.style.height = `${Math.min(t.scrollHeight, e)}px` : t.style.height = `min(${t.scrollHeight}px, ${e})`;
79
- }, [i, e, n]);
80
- const h = (t) => {
81
- f(t.target), l(t.target.value);
80
+ }, [i, e, o]);
81
+ const f = (t) => {
82
+ p(t.target), l(t.target.value);
82
83
  }, g = (t) => {
83
84
  t.key === "Enter" && !t.shiftKey && (t.preventDefault(), d || c?.()), r?.(t);
84
85
  };
85
86
  return /* @__PURE__ */ a(
86
- I,
87
+ H,
87
88
  {
88
89
  className: x(
89
- "min-h-[44px] w-full resize-none border-none bg-transparent text-foreground shadow-none outline-none focus-visible:ring-0 focus-visible:ring-offset-0 dark:bg-transparent",
90
- o
90
+ "min-h-[56px] w-full resize-none border-none bg-transparent text-foreground shadow-none outline-none focus-visible:ring-0 focus-visible:ring-offset-0 dark:bg-transparent",
91
+ n
91
92
  ),
92
- onChange: h,
93
+ "data-slot": "prompt-input-textarea",
94
+ onChange: f,
93
95
  onKeyDown: g,
94
96
  ref: m,
95
97
  rows: 1,
@@ -98,38 +100,48 @@ function E({
98
100
  }
99
101
  );
100
102
  }
101
- function L({
102
- children: o,
103
+ function M({
104
+ children: n,
103
105
  className: r,
104
- ...n
106
+ ...o
105
107
  }) {
106
- return /* @__PURE__ */ a("div", { className: x("flex items-center gap-2", r), ...n, children: o });
108
+ return /* @__PURE__ */ a(
109
+ "div",
110
+ {
111
+ className: x("flex items-center gap-2", r),
112
+ "data-slot": "prompt-input-actions",
113
+ ...o,
114
+ children: n
115
+ }
116
+ );
107
117
  }
108
118
  function q({
109
- tooltip: o,
119
+ tooltip: n,
110
120
  children: r,
111
- className: n,
121
+ className: o,
112
122
  side: s = "top",
113
123
  ...i
114
124
  }) {
115
125
  const { disabled: l } = v();
116
- return /* @__PURE__ */ w(T, { ...i, children: [
126
+ return /* @__PURE__ */ y(R, { ...i, children: [
117
127
  /* @__PURE__ */ a(
118
128
  $,
119
129
  {
120
130
  asChild: !0,
121
131
  disabled: l,
122
132
  onClick: (e) => e.stopPropagation(),
123
- onMouseDown: (e) => e.preventDefault(),
133
+ onPointerDown: (e) => {
134
+ e.pointerType !== "touch" && e.preventDefault();
135
+ },
124
136
  children: r
125
137
  }
126
138
  ),
127
- /* @__PURE__ */ a(D, { className: n, side: s, children: o })
139
+ /* @__PURE__ */ a(D, { className: o, side: s, children: n })
128
140
  ] });
129
141
  }
130
142
  export {
131
- V as PromptInput,
143
+ E as PromptInput,
132
144
  q as PromptInputAction,
133
- L as PromptInputActions,
134
- E as PromptInputTextarea
145
+ M as PromptInputActions,
146
+ L as PromptInputTextarea
135
147
  };
@@ -4,10 +4,15 @@ export type Step = {
4
4
  id: string;
5
5
  label: string;
6
6
  status: StepStatus;
7
+ onClick?: () => void;
7
8
  };
8
9
  export type StepsProgressProps = {
9
10
  steps: Step[];
10
11
  onDismiss?: () => void;
11
12
  } & React.ComponentProps<"section">;
13
+ export declare function getMobileIndexForSteps(steps: Step[], options?: {
14
+ currentIndex?: number;
15
+ isDismissible?: boolean;
16
+ }): number;
12
17
  export declare function StepsProgress({ steps, onDismiss, className, ...props }: StepsProgressProps): import("react/jsx-runtime").JSX.Element;
13
18
  //# sourceMappingURL=steps-progress.d.ts.map
@@ -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;CACpB,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;AAEpC,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,SAAS,EACT,SAAS,EACT,GAAG,KAAK,EACT,EAAE,kBAAkB,2CAiDpB"}
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;AAMpC,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;AAoDpC,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,IAAI,EAAE,EACb,OAAO,CAAC,EAAE;IACR,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB,UAwBF;AAuBD,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,SAAS,EACT,SAAS,EACT,GAAG,KAAK,EACT,EAAE,kBAAkB,2CAuIpB"}