@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
@@ -1,66 +1,198 @@
1
- import { jsx as e, jsxs as s } from "react/jsx-runtime";
2
- import { X as n } from "lucide-react";
3
- import { Button as d } from "../atoms/button.js";
4
- import { StepIndicator as m } from "../atoms/step-indicator.js";
1
+ import { jsxs as s, jsx as n } from "react/jsx-runtime";
2
+ import { ChevronLeft as w, X as g, ChevronRight as y } from "lucide-react";
3
+ import { useState as C, useLayoutEffect as S } from "react";
4
+ import { Button as p } from "../atoms/button.js";
5
+ import { StepIndicator as j } from "../atoms/step-indicator.js";
5
6
  import { cn as c } from "../../../lib/utils.js";
6
- function x({
7
- steps: l,
7
+ function M({ step: e, stepNumber: t }) {
8
+ const r = /* @__PURE__ */ n(
9
+ j,
10
+ {
11
+ className: "min-w-0",
12
+ label: e.label,
13
+ status: e.status,
14
+ stepNumber: t
15
+ }
16
+ );
17
+ return e.onClick ? /* @__PURE__ */ n(
18
+ "button",
19
+ {
20
+ className: "flex min-w-0 flex-1 cursor-pointer items-center justify-center",
21
+ onClick: e.onClick,
22
+ type: "button",
23
+ children: r
24
+ }
25
+ ) : /* @__PURE__ */ n("span", { className: "flex min-w-0 flex-1 items-center justify-center", children: r });
26
+ }
27
+ function v(e) {
28
+ return e.length - 1;
29
+ }
30
+ function L(e) {
31
+ return e.findIndex((t) => t.status === "active");
32
+ }
33
+ function N(e, t) {
34
+ return e.length === 0 ? t ? 0 : -1 : t ? e.length : v(e);
35
+ }
36
+ function f(e, t) {
37
+ const { currentIndex: r, isDismissible: l = !1 } = t ?? {}, i = L(e);
38
+ if (i >= 0)
39
+ return i;
40
+ if (e.length === 0)
41
+ return l ? 0 : -1;
42
+ const d = N(e, l);
43
+ return r !== void 0 && r >= 0 && r <= d ? r : v(e);
44
+ }
45
+ function z(e, t, r) {
46
+ const l = N(e, r);
47
+ return t >= 0 && t <= l ? t : f(e, {
48
+ currentIndex: t,
49
+ isDismissible: r
50
+ });
51
+ }
52
+ function B(e) {
53
+ return `calc(${(e - 1) / e} * (100% - 4.25rem) + 0.75rem)`;
54
+ }
55
+ function F({
56
+ steps: e,
8
57
  onDismiss: t,
9
- className: o,
10
- ...i
58
+ className: r,
59
+ ...l
11
60
  }) {
12
- return /* @__PURE__ */ e(
61
+ const i = !!t, [d, u] = C(
62
+ () => f(e, { isDismissible: i })
63
+ );
64
+ S(() => {
65
+ u(
66
+ (a) => f(e, {
67
+ currentIndex: a,
68
+ isDismissible: i
69
+ })
70
+ );
71
+ }, [i, e]);
72
+ const o = z(
73
+ e,
74
+ d,
75
+ i
76
+ ), k = e[o], h = e.length, b = o > 0, x = i ? o < h : o < e.length - 1, I = i && e.at(-1)?.status === "active";
77
+ return /* @__PURE__ */ s(
13
78
  "section",
14
79
  {
15
80
  "aria-label": "Steps progress",
16
81
  className: c(
17
82
  "relative h-14 overflow-hidden border border-border bg-card text-foreground",
18
- o
83
+ r
19
84
  ),
20
- ...i,
21
- children: /* @__PURE__ */ s("div", { className: "relative z-10 flex h-full items-center gap-3 px-3", children: [
22
- /* @__PURE__ */ e("ol", { className: "flex h-full min-w-0 flex-1 items-center gap-0", children: l.map((r, a) => /* @__PURE__ */ s(
23
- "li",
85
+ ...l,
86
+ children: [
87
+ I && /* @__PURE__ */ n(
88
+ "span",
24
89
  {
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,
90
+ "aria-hidden": "true",
91
+ className: "pointer-events-none absolute top-0 right-0 z-10 hidden h-0.5 bg-foreground sm:block",
92
+ style: { left: B(e.length) }
93
+ }
94
+ ),
95
+ k?.status === "active" && /* @__PURE__ */ n(
96
+ "span",
50
97
  {
51
- "aria-label": "Dismiss steps progress",
52
- className: "h-8 w-8 shrink-0 border border-border text-muted-foreground hover:bg-muted hover:text-foreground",
53
- onClick: t,
54
- size: "icon",
55
- type: "button",
56
- variant: "ghost",
57
- children: /* @__PURE__ */ e(n, { className: "h-4 w-4" })
98
+ "aria-hidden": "true",
99
+ className: "pointer-events-none absolute inset-x-0 top-0 z-20 h-0.5 bg-foreground sm:hidden"
58
100
  }
59
- ) : null
60
- ] })
101
+ ),
102
+ /* @__PURE__ */ s("div", { className: "relative z-10 flex h-full items-center sm:gap-3 sm:px-3", children: [
103
+ /* @__PURE__ */ n(
104
+ "button",
105
+ {
106
+ "aria-label": "Go to previous step",
107
+ className: c(
108
+ "flex h-full shrink-0 items-center px-2 text-muted-foreground sm:hidden",
109
+ !b && "pointer-events-none invisible"
110
+ ),
111
+ onClick: () => u(o - 1),
112
+ tabIndex: b ? 0 : -1,
113
+ type: "button",
114
+ children: /* @__PURE__ */ n(w, { className: "h-4 w-4" })
115
+ }
116
+ ),
117
+ /* @__PURE__ */ s("ol", { className: "flex h-full min-w-0 flex-1 items-center gap-0", children: [
118
+ e.map((a, m) => /* @__PURE__ */ s(
119
+ "li",
120
+ {
121
+ "aria-current": a.status === "active" ? "step" : void 0,
122
+ className: c(
123
+ "relative isolate flex h-full min-w-0 flex-1 items-center justify-center px-2 py-4 sm:px-3",
124
+ m !== o && "hidden sm:flex"
125
+ ),
126
+ "data-status": a.status,
127
+ children: [
128
+ m > 0 && /* @__PURE__ */ n(
129
+ "span",
130
+ {
131
+ "aria-hidden": "true",
132
+ className: "absolute left-0 hidden h-full w-px bg-border sm:block"
133
+ }
134
+ ),
135
+ /* @__PURE__ */ n(M, { step: a, stepNumber: m + 1 })
136
+ ]
137
+ },
138
+ a.id
139
+ )),
140
+ t && /* @__PURE__ */ n(
141
+ "li",
142
+ {
143
+ className: c(
144
+ "relative isolate flex h-full flex-1 items-center justify-center sm:hidden",
145
+ o !== h && "hidden"
146
+ ),
147
+ children: /* @__PURE__ */ s(
148
+ p,
149
+ {
150
+ "aria-label": "Dismiss steps progress",
151
+ className: "h-8 gap-1.5 border border-border px-3 text-muted-foreground hover:bg-muted hover:text-foreground",
152
+ onClick: t,
153
+ type: "button",
154
+ variant: "ghost",
155
+ children: [
156
+ /* @__PURE__ */ n(g, { className: "h-4 w-4" }),
157
+ /* @__PURE__ */ n("span", { className: "text-sm", children: "Dismiss" })
158
+ ]
159
+ }
160
+ )
161
+ }
162
+ )
163
+ ] }),
164
+ /* @__PURE__ */ n(
165
+ "button",
166
+ {
167
+ "aria-label": "Go to next step",
168
+ className: c(
169
+ "flex h-full shrink-0 items-center px-2 text-muted-foreground sm:hidden",
170
+ !x && "pointer-events-none invisible"
171
+ ),
172
+ onClick: () => u(o + 1),
173
+ tabIndex: x ? 0 : -1,
174
+ type: "button",
175
+ children: /* @__PURE__ */ n(y, { className: "h-4 w-4" })
176
+ }
177
+ ),
178
+ t && /* @__PURE__ */ n(
179
+ p,
180
+ {
181
+ "aria-label": "Dismiss steps progress",
182
+ className: "hidden h-8 w-8 shrink-0 border border-border text-muted-foreground hover:bg-muted hover:text-foreground sm:flex",
183
+ onClick: t,
184
+ size: "icon",
185
+ type: "button",
186
+ variant: "ghost",
187
+ children: /* @__PURE__ */ n(g, { className: "h-4 w-4" })
188
+ }
189
+ )
190
+ ] })
191
+ ]
61
192
  }
62
193
  );
63
194
  }
64
195
  export {
65
- x as StepsProgress
196
+ F as StepsProgress,
197
+ f as getMobileIndexForSteps
66
198
  };
@@ -7,5 +7,7 @@ export type SuggestionCardProps = {
7
7
  /** Secondary descriptive text */
8
8
  subtitle: string;
9
9
  } & React.ComponentProps<"button">;
10
- export declare function SuggestionCard({ className, icon, title, subtitle, ...props }: SuggestionCardProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function SuggestionCard({ className, icon, title, subtitle, style, ...props }: SuggestionCardProps): import("react/jsx-runtime").JSX.Element;
11
+ export type SuggestionCardSkeletonProps = React.ComponentProps<"div">;
12
+ export declare function SuggestionCardSkeleton({ className, style, ...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;AAKpC,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"}
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,KAAK,EACL,GAAG,KAAK,EACT,EAAE,mBAAmB,2CA4CrB;AAID,MAAM,MAAM,2BAA2B,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEtE,wBAAgB,sBAAsB,CAAC,EACrC,SAAS,EACT,KAAK,EACL,GAAG,KAAK,EACT,EAAE,2BAA2B,2CA+B7B"}
@@ -1,53 +1,116 @@
1
1
  import { jsxs as t, jsx as e } from "react/jsx-runtime";
2
- import { cn as n } from "../../../lib/utils.js";
3
- function c({
4
- className: s,
5
- icon: o,
6
- title: r,
7
- subtitle: i,
8
- ...a
2
+ import { Skeleton as d } from "../atoms/skeleton.js";
3
+ import { cn as l } from "../../../lib/utils.js";
4
+ function u({
5
+ className: r,
6
+ icon: s,
7
+ title: a,
8
+ subtitle: o,
9
+ style: n,
10
+ ...i
9
11
  }) {
10
12
  return /* @__PURE__ */ t(
11
13
  "button",
12
14
  {
13
- className: n(
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
- s
15
+ className: l(
16
+ "flex w-full cursor-pointer flex-col gap-1.5 rounded-2xl border bg-card 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",
17
+ r
16
18
  ),
17
19
  "data-slot": "suggestion-card",
20
+ style: {
21
+ padding: "clamp(0.75rem, 1.6vh, 1rem)",
22
+ ...n
23
+ },
18
24
  type: "button",
19
- ...a,
25
+ ...i,
20
26
  children: [
21
27
  /* @__PURE__ */ e(
22
28
  "div",
23
29
  {
24
- className: "flex size-8 items-center justify-center rounded-xl border bg-muted shadow-xs sm:size-10",
30
+ className: "flex items-center justify-center rounded-xl border bg-muted shadow-xs",
25
31
  "data-slot": "suggestion-card-icon",
26
- children: o
32
+ style: {
33
+ width: "clamp(2rem, 2.8vh, 2.5rem)",
34
+ height: "clamp(2rem, 2.8vh, 2.5rem)"
35
+ },
36
+ children: s
27
37
  }
28
38
  ),
29
- /* @__PURE__ */ t("div", { className: "space-y-2 pt-2", children: [
30
- /* @__PURE__ */ e(
31
- "h3",
32
- {
33
- className: "font-semibold text-card-foreground text-sm",
34
- "data-slot": "suggestion-card-title",
35
- children: r
36
- }
37
- ),
38
- /* @__PURE__ */ e(
39
- "p",
40
- {
41
- className: "text-muted-foreground text-xs",
42
- "data-slot": "suggestion-card-subtitle",
43
- children: i
39
+ /* @__PURE__ */ t(
40
+ "div",
41
+ {
42
+ className: "space-y-1.5",
43
+ style: { paddingTop: "clamp(0.25rem, 0.8vh, 0.5rem)" },
44
+ children: [
45
+ /* @__PURE__ */ e(
46
+ "h3",
47
+ {
48
+ className: "font-semibold text-card-foreground text-sm leading-tight",
49
+ "data-slot": "suggestion-card-title",
50
+ children: a
51
+ }
52
+ ),
53
+ /* @__PURE__ */ e(
54
+ "p",
55
+ {
56
+ className: "text-muted-foreground text-xs leading-snug",
57
+ "data-slot": "suggestion-card-subtitle",
58
+ children: o
59
+ }
60
+ )
61
+ ]
62
+ }
63
+ )
64
+ ]
65
+ }
66
+ );
67
+ }
68
+ function h({
69
+ className: r,
70
+ style: s,
71
+ ...a
72
+ }) {
73
+ return /* @__PURE__ */ t(
74
+ "div",
75
+ {
76
+ "aria-hidden": "true",
77
+ className: l(
78
+ "flex w-full flex-col gap-1.5 rounded-2xl border bg-card shadow-xs",
79
+ r
80
+ ),
81
+ "data-slot": "suggestion-card-skeleton",
82
+ style: {
83
+ padding: "clamp(0.75rem, 1.6vh, 1rem)",
84
+ ...s
85
+ },
86
+ ...a,
87
+ children: [
88
+ /* @__PURE__ */ e(
89
+ d,
90
+ {
91
+ className: "rounded-xl",
92
+ style: {
93
+ width: "clamp(2rem, 2.8vh, 2.5rem)",
94
+ height: "clamp(2rem, 2.8vh, 2.5rem)"
44
95
  }
45
- )
46
- ] })
96
+ }
97
+ ),
98
+ /* @__PURE__ */ t(
99
+ "div",
100
+ {
101
+ className: "space-y-1.5",
102
+ style: { paddingTop: "clamp(0.25rem, 0.8vh, 0.5rem)" },
103
+ children: [
104
+ /* @__PURE__ */ e(d, { className: "h-4 w-3/4 rounded" }),
105
+ /* @__PURE__ */ e(d, { className: "h-3 w-1/2 rounded" })
106
+ ]
107
+ }
108
+ )
47
109
  ]
48
110
  }
49
111
  );
50
112
  }
51
113
  export {
52
- c as SuggestionCard
114
+ u as SuggestionCard,
115
+ h as SuggestionCardSkeleton
53
116
  };
@@ -3,7 +3,7 @@ import { c as d } from "../../../index-UgeK3A8s.js";
3
3
  import { Card as m, CardContent as c, CardHeader as x } from "../atoms/card.js";
4
4
  import { JsonHighlight as f } from "../atoms/json-highlight.js";
5
5
  import { cn as o } from "../../../lib/utils.js";
6
- const h = d("gap-0 py-0", {
6
+ const h = d("my-2 gap-0 py-0", {
7
7
  variants: {
8
8
  status: {
9
9
  loading: "",
@@ -96,7 +96,7 @@ function T({
96
96
  }
97
97
  ) });
98
98
  }
99
- function j({
99
+ function y({
100
100
  className: e,
101
101
  ...a
102
102
  }) {
@@ -109,7 +109,7 @@ function j({
109
109
  }
110
110
  ) });
111
111
  }
112
- function y({
112
+ function j({
113
113
  className: e,
114
114
  status: a,
115
115
  ...r
@@ -154,7 +154,7 @@ function H({
154
154
  export {
155
155
  C as ToolAuthorization,
156
156
  H as ToolAuthorizationArgs,
157
- j as ToolAuthorizationContent,
157
+ y as ToolAuthorizationContent,
158
158
  T as ToolAuthorizationHeader,
159
- y as ToolAuthorizationMessage
159
+ j as ToolAuthorizationMessage
160
160
  };
@@ -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;AASlE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EACjB,MAAM,iCAAiC,CAAC;AASzC,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,MAAM,CAAC;AAE5C,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,CAAC;AAE7D,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;AAE5E,MAAM,MAAM,0BAA0B,GAAG,KAAK,CAAC,cAAc,CAC3D,OAAO,aAAa,CACrB,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG,KAAK,CAAC,cAAc,CAC9D,OAAO,gBAAgB,CACxB,GACC,YAAY,CAAC,OAAO,gCAAgC,CAAC,GAAG;IACtD,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAEJ,MAAM,MAAM,6BAA6B,GAAG,KAAK,CAAC,cAAc,CAC9D,OAAO,gBAAgB,CACxB,GAAG;IACF,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAC;IAC5C,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAMF,QAAA,MAAM,gCAAgC;;8EAYrC,CAAC;AAmNF,iBAAS,iBAAiB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,sBAAsB,2CAQzE;AAED,iBAAS,qBAAqB,CAAC,EAC7B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,0BAA0B,2CAW5B;AAED,iBAAS,wBAAwB,CAAC,EAChC,SAAS,EACT,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,kBAAyB,EACzB,GAAG,KAAK,EACT,EAAE,6BAA6B,2CAyD/B;AAED;;;;;;GAMG;AACH,iBAAS,wBAAwB,CAAC,EAChC,SAAS,EACT,QAAQ,EACR,IAAI,EAAE,QAAQ,EACd,YAAY,EACZ,cAAqB,EACrB,IAAI,EACJ,MAAM,EACN,GAAG,KAAK,EACT,EAAE,6BAA6B,2CAkE/B;AAMD,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,qBAAqB,EACrB,wBAAwB,GACzB,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,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAUlE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,aAAa,EACb,gBA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