@arcadeai/design-system 5.0.2 → 5.3.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 (156) hide show
  1. package/dist/{clamp-DV0oJUnl.js → CSPContext-_3HefTUC.js} +1 -6
  2. package/dist/{DialogRoot-xodRxCJ6.js → DialogRoot-DuiSPdsZ.js} +1 -1
  3. package/dist/{DialogTrigger-BRWKaMYv.js → DialogTrigger-DGGP-2Oc.js} +109 -108
  4. package/dist/{FloatingPortalLite-e0IaokaG.js → FloatingPortalLite-D5nFwFgJ.js} +1 -1
  5. package/dist/ReactStore-C3H8e2ha.js +600 -0
  6. package/dist/{Toggle-waFXW8db.js → Toggle-BdxyK_Ln.js} +1 -1
  7. package/dist/{accordion-DimUia61.js → accordion-BP9Lgkg8.js} +18 -18
  8. package/dist/{alert-dialog-BiDZwtP2.js → alert-dialog-1bUE2clB.js} +1 -1
  9. package/dist/assets/index.css +1 -1
  10. package/dist/assets/tokens.css +1 -1
  11. package/dist/assets/variables.css +1 -1
  12. package/dist/{avatar-B-lhJ-Gz.js → avatar-DbL6b01k.js} +4 -3
  13. package/dist/{checkbox-CZViOGvt.js → checkbox-DB9O_Iw9.js} +96 -85
  14. package/dist/clamp-BT4ayAnN.js +6 -0
  15. package/dist/{collapsible-DlF1q_cg.js → collapsible-DP7Fb-Lu.js} +17 -17
  16. package/dist/components/index.js +257 -251
  17. package/dist/components/ui/atoms/accordion.js +1 -1
  18. package/dist/components/ui/atoms/alert-dialog.js +1 -1
  19. package/dist/components/ui/atoms/avatar.js +1 -1
  20. package/dist/components/ui/atoms/checkbox.d.ts +16 -2
  21. package/dist/components/ui/atoms/checkbox.d.ts.map +1 -1
  22. package/dist/components/ui/atoms/checkbox.js +2 -2
  23. package/dist/components/ui/atoms/clear-button.d.ts +13 -0
  24. package/dist/components/ui/atoms/clear-button.d.ts.map +1 -0
  25. package/dist/components/ui/atoms/clear-button.js +23 -0
  26. package/dist/components/ui/atoms/collapsible.js +1 -1
  27. package/dist/components/ui/atoms/dialog.js +2 -2
  28. package/dist/components/ui/atoms/dropdown-menu.js +1 -1
  29. package/dist/components/ui/atoms/hover-card.js +1 -1
  30. package/dist/components/ui/atoms/icon-tile.d.ts +10 -0
  31. package/dist/components/ui/atoms/icon-tile.d.ts.map +1 -0
  32. package/dist/components/ui/atoms/icon-tile.js +25 -0
  33. package/dist/components/ui/atoms/index.d.ts +3 -1
  34. package/dist/components/ui/atoms/index.d.ts.map +1 -1
  35. package/dist/components/ui/atoms/index.js +210 -208
  36. package/dist/components/ui/atoms/input-group.js +1 -1
  37. package/dist/components/ui/atoms/input.js +1 -1
  38. package/dist/components/ui/atoms/mobile-tooltip.js +2 -2
  39. package/dist/components/ui/atoms/popover.js +1 -1
  40. package/dist/components/ui/atoms/progress.js +1 -1
  41. package/dist/components/ui/atoms/radio-group.js +1 -1
  42. package/dist/components/ui/atoms/scroll-area.js +1 -1
  43. package/dist/components/ui/atoms/scroll-button.js +1 -1
  44. package/dist/components/ui/atoms/scroll-to-bottom-button.d.ts +24 -0
  45. package/dist/components/ui/atoms/scroll-to-bottom-button.d.ts.map +1 -0
  46. package/dist/components/ui/atoms/scroll-to-bottom-button.js +31 -0
  47. package/dist/components/ui/atoms/select.js +1 -1
  48. package/dist/components/ui/atoms/sheet.js +2 -2
  49. package/dist/components/ui/atoms/sidebar.js +2 -2
  50. package/dist/components/ui/atoms/slider.js +1 -1
  51. package/dist/components/ui/atoms/switch.js +1 -1
  52. package/dist/components/ui/atoms/tabs.js +1 -1
  53. package/dist/components/ui/atoms/toggle-group.js +1 -1
  54. package/dist/components/ui/atoms/toggle.js +1 -1
  55. package/dist/components/ui/atoms/tooltip.js +1 -1
  56. package/dist/components/ui/blocks/demo.js +4 -4
  57. package/dist/components/ui/index.js +257 -251
  58. package/dist/components/ui/molecules/avatar-stack.d.ts +32 -0
  59. package/dist/components/ui/molecules/avatar-stack.d.ts.map +1 -0
  60. package/dist/components/ui/molecules/avatar-stack.js +91 -0
  61. package/dist/components/ui/molecules/callout.d.ts +20 -0
  62. package/dist/components/ui/molecules/callout.d.ts.map +1 -0
  63. package/dist/components/ui/molecules/callout.js +39 -0
  64. package/dist/components/ui/molecules/chat-history-item.js +1 -1
  65. package/dist/components/ui/molecules/chip-body.d.ts +21 -0
  66. package/dist/components/ui/molecules/chip-body.d.ts.map +1 -0
  67. package/dist/components/ui/molecules/chip-body.js +21 -0
  68. package/dist/components/ui/molecules/client-secret-field.js +1 -1
  69. package/dist/components/ui/molecules/confirm-popover.js +1 -1
  70. package/dist/components/ui/molecules/date-time-picker.js +2 -2
  71. package/dist/components/ui/molecules/filter-chip-group.d.ts +26 -0
  72. package/dist/components/ui/molecules/filter-chip-group.d.ts.map +1 -0
  73. package/dist/components/ui/molecules/{mcp-server-picker/category-filter.js → filter-chip-group.js} +8 -7
  74. package/dist/components/ui/molecules/index.d.ts +14 -6
  75. package/dist/components/ui/molecules/index.d.ts.map +1 -1
  76. package/dist/components/ui/molecules/index.js +39 -35
  77. package/dist/components/ui/molecules/mcp-server-picker/recommended-toolkits-chip.d.ts.map +1 -1
  78. package/dist/components/ui/molecules/mcp-server-picker/recommended-toolkits-chip.js +18 -15
  79. package/dist/components/ui/molecules/mcp-server-picker/recommended-tools.js +2 -2
  80. package/dist/components/ui/molecules/mcp-server-picker/search-scope-tabs.js +1 -1
  81. package/dist/components/ui/molecules/mcp-server-picker/server-avatar-stack.d.ts +1 -1
  82. package/dist/components/ui/molecules/mcp-server-picker/server-avatar-stack.d.ts.map +1 -1
  83. package/dist/components/ui/molecules/mcp-server-picker/server-avatar-stack.js +29 -81
  84. package/dist/components/ui/molecules/mcp-server-picker/server-card.js +1 -1
  85. package/dist/components/ui/molecules/mcp-server-picker/tool-card.js +1 -1
  86. package/dist/components/ui/molecules/mcp-server-picker/tool-recommendations.d.ts +12 -0
  87. package/dist/components/ui/molecules/mcp-server-picker/tool-recommendations.d.ts.map +1 -0
  88. package/dist/components/ui/molecules/mcp-server-picker/{tool-search-band.js → tool-recommendations.js} +6 -6
  89. package/dist/components/ui/molecules/mcp-server-picker/toolkit-avatar.d.ts +6 -6
  90. package/dist/components/ui/molecules/mcp-server-picker/toolkit-avatar.d.ts.map +1 -1
  91. package/dist/components/ui/molecules/mcp-server-picker/toolkit-avatar.js +21 -33
  92. package/dist/components/ui/molecules/mcp-server-picker/toolkit-chip.d.ts.map +1 -1
  93. package/dist/components/ui/molecules/mcp-server-picker/toolkit-chip.js +19 -22
  94. package/dist/components/ui/molecules/mcp-server-picker/unoptimized-match-card.js +1 -1
  95. package/dist/components/ui/molecules/message.js +2 -2
  96. package/dist/components/ui/molecules/prompt-input.js +1 -1
  97. package/dist/components/ui/molecules/removable-chip.d.ts.map +1 -0
  98. package/dist/components/ui/{atoms → molecules}/removable-chip.js +1 -1
  99. package/dist/components/ui/molecules/requirement-badges.js +1 -1
  100. package/dist/components/ui/molecules/tool-call-accordion.js +2 -2
  101. package/dist/components/ui/molecules/tool-card.js +2 -2
  102. package/dist/components/ui/molecules/toolkit-card.js +1 -1
  103. package/dist/components/ui/molecules/undo-toast.d.ts +47 -0
  104. package/dist/components/ui/molecules/undo-toast.d.ts.map +1 -0
  105. package/dist/components/ui/molecules/undo-toast.js +3 -0
  106. package/dist/components/ui/molecules/user-nav.js +2 -2
  107. package/dist/components/ui/organisms/mcp-selection-summary-bar.d.ts.map +1 -1
  108. package/dist/components/ui/organisms/mcp-selection-summary-bar.js +27 -30
  109. package/dist/{dropdown-menu-CWWN1cXs.js → dropdown-menu-ecggVuhu.js} +202 -199
  110. package/dist/{getPseudoElementBounds-D_dlkPnQ.js → getPseudoElementBounds-BOe22aYl.js} +3 -3
  111. package/dist/{hover-card-GELKDadU.js → hover-card-CGLPPPPP.js} +71 -70
  112. package/dist/{input-DZfZK6b1.js → input-DZTqcpe-.js} +1 -1
  113. package/dist/main.js +263 -257
  114. package/dist/metadata/oauth-providers.d.ts +2 -0
  115. package/dist/metadata/oauth-providers.d.ts.map +1 -1
  116. package/dist/metadata/oauth-providers.js +153 -141
  117. package/dist/{popover-Cne_hQUh.js → popover-CpLkQtT5.js} +129 -128
  118. package/dist/popupStateMapping-XiLS0Jku.js +643 -0
  119. package/dist/{progress-D71iUjvg.js → progress-BqG0PtAD.js} +1 -1
  120. package/dist/{radio-group-CTqA-p0w.js → radio-group-BpMluqfv.js} +8 -7
  121. package/dist/{safePolygon-os2F06tc.js → safePolygon-DmV1hDsw.js} +35 -34
  122. package/dist/{scroll-area-C0KbhRES.js → scroll-area-D7iOy7xj.js} +4 -3
  123. package/dist/{scrollEdges-CHZpP0us.js → scrollEdges-Dck9qFyQ.js} +1 -1
  124. package/dist/{select-RvAj5g6e.js → select-DFWNXxvZ.js} +179 -176
  125. package/dist/{slider-Bhn1ogwZ.js → slider-ClXWRpwI.js} +4 -3
  126. package/dist/{store-C-KXBzZ0.js → store-D7k1qIkZ.js} +23 -22
  127. package/dist/{switch-D8M0xvzp.js → switch-DlxZDt6o.js} +3 -3
  128. package/dist/{tabs-ttkDuwww.js → tabs-Cj3LY-7F.js} +9 -8
  129. package/dist/{toggle-group-CL_MBwuU.js → toggle-group-CmP4iHEJ.js} +1 -1
  130. package/dist/{tooltip-ZIywOFGf.js → tooltip-BUR7V5Aa.js} +197 -196
  131. package/dist/{ui-CttBuHXi.js → ui-46pgiw5T.js} +2 -2
  132. package/dist/undo-toast-Cf4T6ToX.js +898 -0
  133. package/dist/{useAnchoredPopupScrollLock-a2b_Frjv.js → useAnchoredPopupScrollLock-CnoPUwXv.js} +1 -1
  134. package/dist/{useAriaLabelledBy-WyUZP7Yf.js → useAriaLabelledBy-DJZioWd6.js} +1 -1
  135. package/dist/useBaseUiId-CXSJgVcI.js +8 -0
  136. package/dist/{useCollapsiblePanel-B6XZh6zH.js → useCollapsiblePanel-BPbcE70S.js} +15 -14
  137. package/dist/{useFocus-DwJfNYN6.js → useFocus-B_SrhX9q.js} +10 -10
  138. package/dist/{useBaseUiId-voePHgyX.js → useId-Bzr7_bed.js} +1 -6
  139. package/dist/{useLabelableId-CC2YaILf.js → useLabelableId-9jrDGk5d.js} +1 -1
  140. package/dist/useOpenChangeComplete-CVIwfcpl.js +80 -0
  141. package/dist/{useOpenInteractionType-DQhvPqO3.js → useOpenInteractionType-INvHftZi.js} +29 -28
  142. package/dist/{usePositioner-DkeyI5Le.js → usePositioner-CaLGGc-z.js} +98 -97
  143. package/dist/useTransitionStatus-CCIoL5RH.js +51 -0
  144. package/dist/{useTriggerFocusGuards-Qi8iK-AK.js → useTriggerFocusGuards-Dlv8KvSm.js} +7 -7
  145. package/package.json +1 -1
  146. package/dist/components/ui/atoms/removable-chip.d.ts.map +0 -1
  147. package/dist/components/ui/molecules/mcp-server-picker/category-filter-menu.d.ts +0 -31
  148. package/dist/components/ui/molecules/mcp-server-picker/category-filter-menu.d.ts.map +0 -1
  149. package/dist/components/ui/molecules/mcp-server-picker/category-filter-menu.js +0 -106
  150. package/dist/components/ui/molecules/mcp-server-picker/category-filter.d.ts +0 -18
  151. package/dist/components/ui/molecules/mcp-server-picker/category-filter.d.ts.map +0 -1
  152. package/dist/components/ui/molecules/mcp-server-picker/tool-search-band.d.ts +0 -12
  153. package/dist/components/ui/molecules/mcp-server-picker/tool-search-band.d.ts.map +0 -1
  154. package/dist/popupStateMapping-C8W76brO.js +0 -1221
  155. package/dist/useOpenChangeComplete-Bs6gnxd9.js +0 -127
  156. /package/dist/components/ui/{atoms → molecules}/removable-chip.d.ts +0 -0
@@ -0,0 +1,32 @@
1
+ import { ReactNode } from 'react';
2
+ import type * as React from "react";
3
+ export type AvatarStackItem = {
4
+ /** Stable key for the item. */
5
+ id: string;
6
+ /** Compact tile shown in the overlapping row (avatar/icon). */
7
+ avatar: ReactNode;
8
+ /** Row content shown inside the overflow popover. Defaults to `avatar`. */
9
+ overflowRow?: ReactNode;
10
+ /**
11
+ * Accessible label for the overflow row. Pass this whenever `onSelect` makes
12
+ * the row an interactive button — its content is often icon-only, so the
13
+ * label is the button's accessible name.
14
+ */
15
+ overflowRowLabel?: string;
16
+ /** Click handler for the overflow row; renders the row as a button. */
17
+ onSelect?: () => void;
18
+ };
19
+ export type AvatarStackProps = {
20
+ /** Ordered items; the first `maxVisible` render inline, the rest overflow. */
21
+ items: AvatarStackItem[];
22
+ /** Items past this count collapse into the "+N" overflow. @default 5 */
23
+ maxVisible?: number;
24
+ /** Noun phrase completing the "+N" trigger label, e.g. "more servers". */
25
+ overflowLabel?: string;
26
+ /** Popover header content; receives the overflow count. Omit for no header. */
27
+ renderOverflowHeader?: (overflowCount: number) => ReactNode;
28
+ /** Reveal overflow items in a popover. When false, "+N" is a static badge. @default true */
29
+ overflowPopover?: boolean;
30
+ } & Omit<React.ComponentProps<"span">, "children">;
31
+ export declare function AvatarStack({ items, maxVisible, overflowLabel, renderOverflowHeader, overflowPopover, className, ...rest }: AvatarStackProps): React.JSX.Element | null;
32
+ //# sourceMappingURL=avatar-stack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar-stack.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/avatar-stack.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,EAAY,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AAqB3D,MAAM,MAAM,eAAe,GAAG;IAC5B,+BAA+B;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,+DAA+D;IAC/D,MAAM,EAAE,SAAS,CAAC;IAClB,2EAA2E;IAC3E,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,uEAAuE;IACvE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,8EAA8E;IAC9E,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,wEAAwE;IACxE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0EAA0E;IAC1E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,+EAA+E;IAC/E,oBAAoB,CAAC,EAAE,CAAC,aAAa,EAAE,MAAM,KAAK,SAAS,CAAC;IAC5D,4FAA4F;IAC5F,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,CAAC;AAEnD,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,UAAc,EACd,aAAsB,EACtB,oBAAoB,EACpB,eAAsB,EACtB,SAAS,EACT,GAAG,IAAI,EACR,EAAE,gBAAgB,4BA6BlB"}
@@ -0,0 +1,91 @@
1
+ "use client";
2
+ "use client";
3
+ import { cn as e } from "../../../lib/utils.js";
4
+ import { i as t, n, o as r, t as i } from "../../../popover-CpLkQtT5.js";
5
+ import { t as a } from "../../../scroll-area-D7iOy7xj.js";
6
+ import { Fragment as o, useState as s } from "react";
7
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
8
+ //#region lib/components/ui/molecules/avatar-stack.tsx
9
+ var u = 32, d = 8, f = 288, p = "inline-flex h-5 min-w-8 items-center justify-center whitespace-nowrap rounded-md bg-foreground/10 px-1.5 font-semibold text-[10px] text-foreground tabular-nums";
10
+ function m({ items: t, maxVisible: n = 5, overflowLabel: r = "more", renderOverflowHeader: i, overflowPopover: a = !0, className: s, ...u }) {
11
+ if (t.length === 0) return null;
12
+ let d = t.slice(0, n), f = t.slice(n), p = f.length;
13
+ return /* @__PURE__ */ l("span", {
14
+ ...u,
15
+ className: e("inline-flex shrink-0 items-center gap-1", s),
16
+ "data-slot": "avatar-stack",
17
+ children: [/* @__PURE__ */ c("span", {
18
+ className: "inline-flex items-center gap-1",
19
+ children: d.map((e) => /* @__PURE__ */ c(o, { children: e.avatar }, e.id))
20
+ }), h({
21
+ items: f,
22
+ label: r,
23
+ overflowCount: p,
24
+ overflowPopover: a,
25
+ renderOverflowHeader: i
26
+ })]
27
+ });
28
+ }
29
+ function h({ items: e, label: t, overflowCount: n, overflowPopover: r, renderOverflowHeader: i }) {
30
+ return n === 0 ? null : r ? /* @__PURE__ */ c(g, {
31
+ items: e,
32
+ label: t,
33
+ renderHeader: i
34
+ }) : /* @__PURE__ */ l("span", {
35
+ "aria-label": `+${n} ${t}`,
36
+ className: p,
37
+ role: "img",
38
+ children: ["+", n]
39
+ });
40
+ }
41
+ function g({ items: o, label: m, renderHeader: h }) {
42
+ let [g, v] = s(!1), y = o.length, b = `Show ${y} ${m}`, x = Math.min(y * u + d, f);
43
+ return /* @__PURE__ */ l(i, {
44
+ onOpenChange: v,
45
+ open: g,
46
+ children: [/* @__PURE__ */ l(r, {
47
+ "aria-label": b,
48
+ className: e(p, "cursor-pointer transition-colors hover:bg-foreground/15 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/60"),
49
+ title: b,
50
+ type: "button",
51
+ children: ["+", y]
52
+ }), /* @__PURE__ */ l(n, {
53
+ align: "start",
54
+ className: "w-72 max-w-[calc(100vw-1rem)] gap-0 overflow-hidden bg-popover p-0 opacity-100",
55
+ sideOffset: 6,
56
+ children: [h ? /* @__PURE__ */ c(t, {
57
+ className: "px-3 pt-2.5 pb-1.5 font-medium text-foreground text-xs",
58
+ children: h(y)
59
+ }) : null, /* @__PURE__ */ c(a, {
60
+ className: "min-h-0 overflow-hidden",
61
+ orientation: "vertical",
62
+ style: { height: x },
63
+ type: "hover",
64
+ children: /* @__PURE__ */ c("ul", {
65
+ className: "flex flex-col py-1 pr-1",
66
+ children: o.map((e) => /* @__PURE__ */ c("li", { children: /* @__PURE__ */ c(_, {
67
+ item: e,
68
+ onClose: () => v(!1)
69
+ }) }, e.id))
70
+ })
71
+ })]
72
+ })]
73
+ });
74
+ }
75
+ function _({ item: e, onClose: t }) {
76
+ let n = e.overflowRow ?? e.avatar, { onSelect: r } = e;
77
+ return r ? /* @__PURE__ */ c("button", {
78
+ "aria-label": e.overflowRowLabel,
79
+ className: "flex w-full cursor-pointer items-center gap-2 px-3 py-1.5 text-left text-xs transition-colors hover:bg-foreground/[0.06] focus-visible:bg-foreground/[0.06] focus-visible:outline-none",
80
+ onClick: () => {
81
+ t(), r();
82
+ },
83
+ type: "button",
84
+ children: n
85
+ }) : /* @__PURE__ */ c("div", {
86
+ className: "flex w-full items-center gap-2 px-3 py-1.5 text-left text-xs",
87
+ children: n
88
+ });
89
+ }
90
+ //#endregion
91
+ export { m as AvatarStack };
@@ -0,0 +1,20 @@
1
+ import type * as React from "react";
2
+ export type CalloutProps = {
3
+ title: React.ReactNode;
4
+ description?: React.ReactNode;
5
+ /** Trailing action hint — the whole callout is a single click target. */
6
+ actionLabel?: React.ReactNode;
7
+ /** Leading icon, rendered in a small tile. */
8
+ icon?: React.ReactNode;
9
+ /** Extra classes for the leading icon tile (e.g. a status tint). */
10
+ iconClassName?: string;
11
+ onClick?: () => void;
12
+ } & Omit<React.ComponentProps<"button">, "children" | "title" | "onClick">;
13
+ /**
14
+ * Clickable summary banner: an icon tile, a title with optional description,
15
+ * and a trailing action hint. The whole surface is one button; consumers own
16
+ * the destination (sheet, inline flow, or page). Status-specific treatments
17
+ * compose via `className` / `iconClassName` (see `McpSetupCallout`).
18
+ */
19
+ export declare function Callout({ title, description, actionLabel, icon, iconClassName, className, onClick, ...rest }: CalloutProps): React.JSX.Element;
20
+ //# sourceMappingURL=callout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callout.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/callout.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,MAAM,MAAM,YAAY,GAAG;IACzB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,yEAAyE;IACzE,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,8CAA8C;IAC9C,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,oEAAoE;IACpE,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,UAAU,GAAG,OAAO,GAAG,SAAS,CAAC,CAAC;AAE3E;;;;;GAKG;AACH,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,WAAW,EACX,WAAW,EACX,IAAI,EACJ,aAAa,EACb,SAAS,EACT,OAAO,EACP,GAAG,IAAI,EACR,EAAE,YAAY,qBAiDd"}
@@ -0,0 +1,39 @@
1
+ "use client";
2
+ "use client";
3
+ import { cn as e } from "../../../lib/utils.js";
4
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
5
+ import { ChevronRight as r } from "lucide-react";
6
+ //#region lib/components/ui/molecules/callout.tsx
7
+ function i({ title: i, description: a, actionLabel: o, icon: s, iconClassName: c, className: l, onClick: u, ...d }) {
8
+ return /* @__PURE__ */ n("button", {
9
+ className: e("group flex w-full cursor-pointer flex-col gap-3 rounded-lg border border-border bg-muted/25 p-3 text-left transition-[border-color,background-color,transform] duration-[var(--duration-fast)] ease-[var(--ease-smooth)] hover:bg-muted/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/60 active:scale-[0.995] motion-reduce:transition-colors motion-reduce:active:scale-100 sm:flex-row sm:items-center sm:justify-between", l),
10
+ "data-slot": "callout",
11
+ onClick: u,
12
+ ...d,
13
+ type: "button",
14
+ children: [/* @__PURE__ */ n("span", {
15
+ className: "flex min-w-0 items-start gap-3",
16
+ children: [s ? /* @__PURE__ */ t("span", {
17
+ className: e("grid size-8 shrink-0 place-items-center rounded-md bg-background/70 text-muted-foreground transition-colors group-hover:bg-background", c),
18
+ "data-slot": "callout-icon",
19
+ children: s
20
+ }) : null, /* @__PURE__ */ n("span", {
21
+ className: "min-w-0 space-y-0.5",
22
+ children: [/* @__PURE__ */ t("span", {
23
+ className: "flex flex-wrap items-center gap-2 font-medium text-sm",
24
+ children: i
25
+ }), a ? /* @__PURE__ */ t("span", {
26
+ className: "block text-muted-foreground text-xs",
27
+ "data-slot": "callout-description",
28
+ children: a
29
+ }) : null]
30
+ })]
31
+ }), o ? /* @__PURE__ */ n("span", {
32
+ className: "inline-flex shrink-0 items-center gap-1.5 font-medium text-muted-foreground text-sm transition-colors group-hover:text-foreground sm:self-center",
33
+ "data-slot": "callout-action",
34
+ children: [o, /* @__PURE__ */ t(r, { className: "size-3.5 transition-transform duration-[var(--duration-fast)] ease-[var(--ease-smooth)] group-hover:translate-x-0.5 motion-reduce:transition-none motion-reduce:group-hover:translate-x-0" })]
35
+ }) : null]
36
+ });
37
+ }
38
+ //#endregion
39
+ export { i as Callout };
@@ -1,5 +1,5 @@
1
1
  import { cn as e } from "../../../lib/utils.js";
2
- import { i as t, n, t as r } from "../../../tooltip-ZIywOFGf.js";
2
+ import { i as t, n, t as r } from "../../../tooltip-BUR7V5Aa.js";
3
3
  import { Loader as i } from "../atoms/loader.js";
4
4
  import { SidebarMenuAction as a, SidebarMenuButton as o, SidebarMenuItem as s } from "../atoms/sidebar.js";
5
5
  import { ConfirmPopover as c } from "./confirm-popover.js";
@@ -0,0 +1,21 @@
1
+ import { RemovableChipButtonProps } from './removable-chip';
2
+ import type * as React from "react";
3
+ export type ChipBodyProps = {
4
+ /** Leading icon or avatar rendered before the label. */
5
+ icon?: React.ReactNode;
6
+ /** Text label — rendered in a medium-weight span. */
7
+ label: React.ReactNode;
8
+ /** Extra classes for the label span (e.g. `truncate capitalize`). */
9
+ labelClassName?: string;
10
+ /** Optional trailing count/fraction rendered after the label. */
11
+ count?: React.ReactNode;
12
+ } & Omit<RemovableChipButtonProps, "children">;
13
+ /**
14
+ * The clickable body of a segmented chip: a leading icon, a text label, and an
15
+ * optional trailing count. Built on `RemovableChipButton`, so it inherits the
16
+ * chip's hover, focus, and press styling and rounds its left edge to meet the
17
+ * shell. Pair it with `RemovableChip` (which supplies the divider and trailing
18
+ * × remove button) to assemble a full removable chip.
19
+ */
20
+ export declare function ChipBody({ icon, label, labelClassName, count, ...props }: ChipBodyProps): React.JSX.Element;
21
+ //# sourceMappingURL=chip-body.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chip-body.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/chip-body.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,0CAA0C,CAAC;AAGlD,MAAM,MAAM,aAAa,GAAG;IAC1B,wDAAwD;IACxD,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,qDAAqD;IACrD,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,qEAAqE;IACrE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iEAAiE;IACjE,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAGzB,GAAG,IAAI,CAAC,wBAAwB,EAAE,UAAU,CAAC,CAAC;AAE/C;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,EACvB,IAAI,EACJ,KAAK,EACL,cAAc,EACd,KAAK,EACL,GAAG,KAAK,EACT,EAAE,aAAa,qBAQf"}
@@ -0,0 +1,21 @@
1
+ "use client";
2
+ "use client";
3
+ import { cn as e } from "../../../lib/utils.js";
4
+ import { RemovableChipButton as t } from "./removable-chip.js";
5
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
6
+ //#region lib/components/ui/molecules/chip-body.tsx
7
+ function i({ icon: i, label: a, labelClassName: o, count: s, ...c }) {
8
+ return /* @__PURE__ */ r(t, {
9
+ ...c,
10
+ children: [
11
+ i,
12
+ /* @__PURE__ */ n("span", {
13
+ className: e("font-medium", o),
14
+ children: a
15
+ }),
16
+ s
17
+ ]
18
+ });
19
+ }
20
+ //#endregion
21
+ export { i as ChipBody };
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "../../../button-BdQxLUOB.js";
2
- import { t } from "../../../input-DZfZK6b1.js";
2
+ import { t } from "../../../input-DZTqcpe-.js";
3
3
  import { useState as n } from "react";
4
4
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
5
  import { Eye as a, EyeOff as o } from "lucide-react";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "../../../button-BdQxLUOB.js";
2
- import { a as t, i as n, n as r, o as i, r as a, t as o } from "../../../popover-Cne_hQUh.js";
2
+ import { a as t, i as n, n as r, o as i, r as a, t as o } from "../../../popover-CpLkQtT5.js";
3
3
  import { useState as s } from "react";
4
4
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
5
5
  //#region lib/components/ui/molecules/confirm-popover.tsx
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "../../../button-BdQxLUOB.js";
2
- import { n as t, o as n, t as r } from "../../../popover-Cne_hQUh.js";
2
+ import { n as t, o as n, t as r } from "../../../popover-CpLkQtT5.js";
3
3
  import { r as i, t as a } from "../../../calendar-Ctzadwv-.js";
4
- import { t as o } from "../../../input-DZfZK6b1.js";
4
+ import { t as o } from "../../../input-DZTqcpe-.js";
5
5
  import { Label as s } from "../atoms/label.js";
6
6
  import { useState as c } from "react";
7
7
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
@@ -0,0 +1,26 @@
1
+ import type * as React from "react";
2
+ export type FilterChipGroupItem = {
3
+ id: string;
4
+ label: string;
5
+ count?: number;
6
+ };
7
+ export type FilterChipGroupProps = {
8
+ items: FilterChipGroupItem[];
9
+ /**
10
+ * Currently selected item ids. Multi-select: an empty array means no filter
11
+ * is active. The consumer owns any "clear"/"all" affordance — this component
12
+ * renders only the items it's given.
13
+ */
14
+ selected: string[];
15
+ onChange?: (ids: string[]) => void;
16
+ } & Omit<React.ComponentProps<"div">, "onChange">;
17
+ /**
18
+ * A horizontally scrollable, labeled group of selectable filter chips.
19
+ * Multi-select: clicking a chip toggles its id in/out of the `selected` array.
20
+ * Built on `ToggleGroup` so the chips get real group semantics (the group
21
+ * role carries the accessible name) and roving keyboard focus; this component
22
+ * owns the overflow-scroll fade, the consumer owns the data and the selection
23
+ * array.
24
+ */
25
+ export declare function FilterChipGroup({ items, selected, onChange, className, "aria-label": ariaLabel, ...rest }: FilterChipGroupProps): React.JSX.Element;
26
+ //# sourceMappingURL=filter-chip-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"filter-chip-group.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/filter-chip-group.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAOpC,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,EAAE,mBAAmB,EAAE,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CACpC,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC;AAElD;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,YAAY,EAAE,SAAS,EACvB,GAAG,IAAI,EACR,EAAE,oBAAoB,qBAyBtB"}
@@ -1,15 +1,16 @@
1
1
  "use client";
2
2
  "use client";
3
- import { cn as e } from "../../../../lib/utils.js";
4
- import { n as t, t as n } from "../../../../toggle-group-CL_MBwuU.js";
3
+ import { cn as e } from "../../../lib/utils.js";
4
+ import { n as t, t as n } from "../../../toggle-group-CmP4iHEJ.js";
5
5
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
6
- //#region lib/components/ui/molecules/mcp-server-picker/category-filter.tsx
7
- function a({ categories: a, selectedCategories: o, onSelectionChange: s, className: c, ...l }) {
6
+ //#region lib/components/ui/molecules/filter-chip-group.tsx
7
+ function a({ items: a, selected: o, onChange: s, className: c, "aria-label": l, ...u }) {
8
8
  return /* @__PURE__ */ r("div", {
9
- ...l,
9
+ ...u,
10
10
  className: e("min-w-0 overflow-hidden", c),
11
- "data-slot": "mcp-category-filter",
11
+ "data-slot": "filter-chip-group",
12
12
  children: /* @__PURE__ */ r(n, {
13
+ "aria-label": l,
13
14
  className: "scroll-fade-x flex-nowrap overflow-x-auto p-0.5 [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
14
15
  multiple: !0,
15
16
  onValueChange: (e) => s?.(e),
@@ -26,4 +27,4 @@ function a({ categories: a, selectedCategories: o, onSelectionChange: s, classNa
26
27
  });
27
28
  }
28
29
  //#endregion
29
- export { a as McpCategoryFilter };
30
+ export { a as FilterChipGroup };
@@ -1,8 +1,14 @@
1
1
  /** biome-ignore-all lint/performance/noBarrelFile: Barrel files are acceptable for atomic component folders */
2
+ export type { AvatarStackItem, AvatarStackProps } from './avatar-stack';
3
+ export { AvatarStack } from './avatar-stack';
4
+ export type { CalloutProps } from './callout';
5
+ export { Callout } from './callout';
2
6
  export type { ChatHistoryItemProps } from './chat-history-item';
3
7
  export { ChatHistoryItem } from './chat-history-item';
4
8
  export type { ChatAssistantMessageProps, ChatMessageItem, ChatMessageListProps, ChatMessageListSkeletonProps, ChatStreamingIndicatorProps, ChatUserMessageProps, } from './chat-message-list';
5
9
  export { ChatAssistantMessage, ChatMessageList, ChatMessageListSkeleton, ChatStreamingIndicator, ChatUserMessage, } from './chat-message-list';
10
+ export type { ChipBodyProps } from './chip-body';
11
+ export { ChipBody } from './chip-body';
6
12
  export type { ClientSecretInputProps } from './client-secret-field';
7
13
  export { ClientSecretInput } from './client-secret-field';
8
14
  export { CommandBar } from './command-bar';
@@ -12,12 +18,10 @@ export { DateTimePicker } from './date-time-picker';
12
18
  export { EmptyState } from './empty-state';
13
19
  export type { ErrorStateProps } from './error-state';
14
20
  export { ErrorState } from './error-state';
21
+ export type { FilterChipGroupItem, FilterChipGroupProps, } from './filter-chip-group';
22
+ export { FilterChipGroup } from './filter-chip-group';
15
23
  export type { FlowAnimateMode, FlowDiagramProps, FlowSize, } from './flow-diagram';
16
24
  export { FlowDiagram } from './flow-diagram';
17
- export type { McpCategoryFilterOption, McpCategoryFilterProps, } from './mcp-server-picker/category-filter';
18
- export { McpCategoryFilter } from './mcp-server-picker/category-filter';
19
- export type { McpCategoryFilterMenuProps } from './mcp-server-picker/category-filter-menu';
20
- export { McpCategoryFilterMenu } from './mcp-server-picker/category-filter-menu';
21
25
  export type { McpRecommendedToolsCalloutProps, McpRecommendedToolsDeactivateDialogProps, McpRecommendedToolsOptOutDialogProps, McpRecommendedToolsOptOutKind, McpRecommendedToolsState, } from './mcp-server-picker/recommended-tools';
22
26
  export { McpRecommendedToolsCallout, McpRecommendedToolsDeactivateDialog, McpRecommendedToolsOptOutDialog, } from './mcp-server-picker/recommended-tools';
23
27
  export type { McpReviewCountChipProps } from './mcp-server-picker/review-count-chip';
@@ -34,8 +38,8 @@ export type { McpServerCardProps, McpServerCardSelectionState, } from './mcp-ser
34
38
  export { McpServerCard, mcpServerCardShellVariants, } from './mcp-server-picker/server-card';
35
39
  export type { McpToolCardProps } from './mcp-server-picker/tool-card';
36
40
  export { McpToolCard } from './mcp-server-picker/tool-card';
37
- export type { McpToolSearchBandProps, McpToolSearchState, } from './mcp-server-picker/tool-search-band';
38
- export { McpToolSearchBand } from './mcp-server-picker/tool-search-band';
41
+ export type { McpToolRecommendationsProps, McpToolRecommendationsState, } from './mcp-server-picker/tool-recommendations';
42
+ export { McpToolRecommendations } from './mcp-server-picker/tool-recommendations';
39
43
  export type { McpToolkitAvatarProps } from './mcp-server-picker/toolkit-avatar';
40
44
  export { McpToolkitAvatar, mcpToolkitAvatarVariants, } from './mcp-server-picker/toolkit-avatar';
41
45
  export type { McpToolkitChipProps } from './mcp-server-picker/toolkit-chip';
@@ -48,6 +52,8 @@ export type { MessageActionProps, MessageActionsProps, MessageAvatarProps, Messa
48
52
  export { Message, MessageAction, MessageActions, MessageAvatar, MessageContent, } from './message';
49
53
  export type { PromptInputActionProps, PromptInputActionsProps, PromptInputProps, PromptInputTextareaProps, } from './prompt-input';
50
54
  export { PromptInput, PromptInputAction, PromptInputActions, PromptInputTextarea, } from './prompt-input';
55
+ export type { RemovableChipButtonProps, RemovableChipProps, } from './removable-chip';
56
+ export { RemovableChip, RemovableChipButton, removableChipButtonClass, } from './removable-chip';
51
57
  export { RequirementBadges } from './requirement-badges';
52
58
  export type { Step, StepStatus, StepsProgressProps } from './steps-progress';
53
59
  export { StepsProgress } from './steps-progress';
@@ -61,6 +67,8 @@ export type { ToolCallAccordionContentProps, ToolCallAccordionItemProps, ToolCal
61
67
  export { ToolCallAccordion, ToolCallAccordionContent, ToolCallAccordionItem, ToolCallAccordionTrigger, } from './tool-call-accordion';
62
68
  export { ToolCard } from './tool-card';
63
69
  export { ToolkitCard } from './toolkit-card';
70
+ export type { UndoToastOptions, UndoToastProviderProps, } from './undo-toast';
71
+ export { UndoToastProvider, useUndoToast } from './undo-toast';
64
72
  export type { UserNavProps, UserNavSize } from './user-nav';
65
73
  export { UserNav } from './user-nav';
66
74
  //# sourceMappingURL=index.d.ts.map
@@ -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;AA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WAAW,EAAE,MAAM,YAAY,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC"}
@@ -1,35 +1,39 @@
1
- import { ConfirmPopover as e } from "./confirm-popover.js";
2
- import { ChatHistoryItem as t } from "./chat-history-item.js";
3
- import { Message as n, MessageAction as r, MessageActions as i, MessageAvatar as a, MessageContent as o } from "./message.js";
4
- import { ChatAssistantMessage as s, ChatMessageList as c, ChatMessageListSkeleton as l, ChatStreamingIndicator as u, ChatUserMessage as d } from "./chat-message-list.js";
5
- import { ClientSecretInput as f } from "./client-secret-field.js";
6
- import { CommandBar as p } from "./command-bar.js";
7
- import { DateTimePicker as m } from "./date-time-picker.js";
8
- import { EmptyState as h } from "./empty-state.js";
9
- import { ErrorState as g } from "./error-state.js";
10
- import { FlowDiagram as _ } from "./flow-diagram.js";
11
- import { McpCategoryFilter as v } from "./mcp-server-picker/category-filter.js";
12
- import { McpCategoryFilterMenu as y } from "./mcp-server-picker/category-filter-menu.js";
13
- import { McpSectionCallout as b } from "./mcp-server-picker/section-callout.js";
14
- import { McpRecommendedToolsCallout as x, McpRecommendedToolsDeactivateDialog as S, McpRecommendedToolsOptOutDialog as C } from "./mcp-server-picker/recommended-tools.js";
15
- import { McpReviewCountChip as w } from "./mcp-server-picker/review-count-chip.js";
16
- import { McpSearchScopeTabs as T } from "./mcp-server-picker/search-scope-tabs.js";
17
- import { McpSectionNavHeader as E } from "./mcp-server-picker/section-nav-header.js";
18
- import { McpToolkitAvatar as D, mcpToolkitAvatarVariants as O } from "./mcp-server-picker/toolkit-avatar.js";
19
- import { McpServerAvatarStack as k } from "./mcp-server-picker/server-avatar-stack.js";
20
- import { McpServerCard as A, mcpServerCardShellVariants as j } from "./mcp-server-picker/server-card.js";
21
- import { McpToolCard as M } from "./mcp-server-picker/tool-card.js";
22
- import { McpToolSearchBand as N } from "./mcp-server-picker/tool-search-band.js";
23
- import { McpToolkitChip as P } from "./mcp-server-picker/toolkit-chip.js";
24
- import { McpToolkitGroupHeader as F } from "./mcp-server-picker/toolkit-group-header.js";
25
- import { McpUnoptimizedMatchCard as I } from "./mcp-server-picker/unoptimized-match-card.js";
26
- import { PromptInput as L, PromptInputAction as R, PromptInputActions as z, PromptInputTextarea as B } from "./prompt-input.js";
27
- import { r as V, t as H } from "../../../ui-CttBuHXi.js";
28
- import { StepsProgress as U } from "./steps-progress.js";
29
- import { SuggestionCard as W, SuggestionCardSkeleton as G } from "./suggestion-card.js";
30
- import { TagsInput as K, TagsInputValue as q } from "./tags-input.js";
31
- import { ToolAuthorization as J, ToolAuthorizationArgs as Y, ToolAuthorizationContent as X, ToolAuthorizationHeader as Z, ToolAuthorizationMessage as Q } from "./tool-authorization.js";
32
- import { ToolCallAccordion as $, ToolCallAccordionContent as ee, ToolCallAccordionItem as te, ToolCallAccordionTrigger as ne } from "./tool-call-accordion.js";
33
- import { ToolCard as re } from "./tool-card.js";
34
- import { UserNav as ie } from "./user-nav.js";
35
- export { s as ChatAssistantMessage, t as ChatHistoryItem, c as ChatMessageList, l as ChatMessageListSkeleton, u as ChatStreamingIndicator, d as ChatUserMessage, f as ClientSecretInput, p as CommandBar, e as ConfirmPopover, m as DateTimePicker, h as EmptyState, g as ErrorState, _ as FlowDiagram, v as McpCategoryFilter, y as McpCategoryFilterMenu, x as McpRecommendedToolsCallout, S as McpRecommendedToolsDeactivateDialog, C as McpRecommendedToolsOptOutDialog, w as McpReviewCountChip, T as McpSearchScopeTabs, b as McpSectionCallout, E as McpSectionNavHeader, k as McpServerAvatarStack, A as McpServerCard, M as McpToolCard, N as McpToolSearchBand, D as McpToolkitAvatar, P as McpToolkitChip, F as McpToolkitGroupHeader, I as McpUnoptimizedMatchCard, n as Message, r as MessageAction, i as MessageActions, a as MessageAvatar, o as MessageContent, L as PromptInput, R as PromptInputAction, z as PromptInputActions, B as PromptInputTextarea, V as RequirementBadges, U as StepsProgress, W as SuggestionCard, G as SuggestionCardSkeleton, K as TagsInput, q as TagsInputValue, J as ToolAuthorization, Y as ToolAuthorizationArgs, X as ToolAuthorizationContent, Z as ToolAuthorizationHeader, Q as ToolAuthorizationMessage, $ as ToolCallAccordion, ee as ToolCallAccordionContent, te as ToolCallAccordionItem, ne as ToolCallAccordionTrigger, re as ToolCard, H as ToolkitCard, ie as UserNav, j as mcpServerCardShellVariants, O as mcpToolkitAvatarVariants };
1
+ import { AvatarStack as e } from "./avatar-stack.js";
2
+ import { Callout as t } from "./callout.js";
3
+ import { ConfirmPopover as n } from "./confirm-popover.js";
4
+ import { ChatHistoryItem as r } from "./chat-history-item.js";
5
+ import { Message as i, MessageAction as a, MessageActions as o, MessageAvatar as s, MessageContent as c } from "./message.js";
6
+ import { ChatAssistantMessage as l, ChatMessageList as u, ChatMessageListSkeleton as d, ChatStreamingIndicator as f, ChatUserMessage as p } from "./chat-message-list.js";
7
+ import { RemovableChip as m, RemovableChipButton as h, removableChipButtonClass as g } from "./removable-chip.js";
8
+ import { ChipBody as _ } from "./chip-body.js";
9
+ import { ClientSecretInput as v } from "./client-secret-field.js";
10
+ import { CommandBar as y } from "./command-bar.js";
11
+ import { DateTimePicker as b } from "./date-time-picker.js";
12
+ import { EmptyState as x } from "./empty-state.js";
13
+ import { ErrorState as S } from "./error-state.js";
14
+ import { FilterChipGroup as C } from "./filter-chip-group.js";
15
+ import { FlowDiagram as w } from "./flow-diagram.js";
16
+ import { McpSectionCallout as T } from "./mcp-server-picker/section-callout.js";
17
+ import { McpRecommendedToolsCallout as E, McpRecommendedToolsDeactivateDialog as D, McpRecommendedToolsOptOutDialog as O } from "./mcp-server-picker/recommended-tools.js";
18
+ import { McpReviewCountChip as k } from "./mcp-server-picker/review-count-chip.js";
19
+ import { McpSearchScopeTabs as A } from "./mcp-server-picker/search-scope-tabs.js";
20
+ import { McpSectionNavHeader as j } from "./mcp-server-picker/section-nav-header.js";
21
+ import { McpToolkitAvatar as M, mcpToolkitAvatarVariants as N } from "./mcp-server-picker/toolkit-avatar.js";
22
+ import { McpServerAvatarStack as P } from "./mcp-server-picker/server-avatar-stack.js";
23
+ import { McpServerCard as F, mcpServerCardShellVariants as I } from "./mcp-server-picker/server-card.js";
24
+ import { McpToolCard as L } from "./mcp-server-picker/tool-card.js";
25
+ import { McpToolRecommendations as R } from "./mcp-server-picker/tool-recommendations.js";
26
+ import { McpToolkitChip as z } from "./mcp-server-picker/toolkit-chip.js";
27
+ import { McpToolkitGroupHeader as B } from "./mcp-server-picker/toolkit-group-header.js";
28
+ import { McpUnoptimizedMatchCard as V } from "./mcp-server-picker/unoptimized-match-card.js";
29
+ import { PromptInput as H, PromptInputAction as U, PromptInputActions as W, PromptInputTextarea as G } from "./prompt-input.js";
30
+ import { r as K, t as q } from "../../../ui-46pgiw5T.js";
31
+ import { StepsProgress as J } from "./steps-progress.js";
32
+ import { SuggestionCard as Y, SuggestionCardSkeleton as X } from "./suggestion-card.js";
33
+ import { TagsInput as Z, TagsInputValue as Q } from "./tags-input.js";
34
+ import { ToolAuthorization as $, ToolAuthorizationArgs as ee, ToolAuthorizationContent as te, ToolAuthorizationHeader as ne, ToolAuthorizationMessage as re } from "./tool-authorization.js";
35
+ import { ToolCallAccordion as ie, ToolCallAccordionContent as ae, ToolCallAccordionItem as oe, ToolCallAccordionTrigger as se } from "./tool-call-accordion.js";
36
+ import { ToolCard as ce } from "./tool-card.js";
37
+ import { n as le, t as ue } from "../../../undo-toast-Cf4T6ToX.js";
38
+ import { UserNav as de } from "./user-nav.js";
39
+ export { e as AvatarStack, t as Callout, l as ChatAssistantMessage, r as ChatHistoryItem, u as ChatMessageList, d as ChatMessageListSkeleton, f as ChatStreamingIndicator, p as ChatUserMessage, _ as ChipBody, v as ClientSecretInput, y as CommandBar, n as ConfirmPopover, b as DateTimePicker, x as EmptyState, S as ErrorState, C as FilterChipGroup, w as FlowDiagram, E as McpRecommendedToolsCallout, D as McpRecommendedToolsDeactivateDialog, O as McpRecommendedToolsOptOutDialog, k as McpReviewCountChip, A as McpSearchScopeTabs, T as McpSectionCallout, j as McpSectionNavHeader, P as McpServerAvatarStack, F as McpServerCard, L as McpToolCard, R as McpToolRecommendations, M as McpToolkitAvatar, z as McpToolkitChip, B as McpToolkitGroupHeader, V as McpUnoptimizedMatchCard, i as Message, a as MessageAction, o as MessageActions, s as MessageAvatar, c as MessageContent, H as PromptInput, U as PromptInputAction, W as PromptInputActions, G as PromptInputTextarea, m as RemovableChip, h as RemovableChipButton, K as RequirementBadges, J as StepsProgress, Y as SuggestionCard, X as SuggestionCardSkeleton, Z as TagsInput, Q as TagsInputValue, $ as ToolAuthorization, ee as ToolAuthorizationArgs, te as ToolAuthorizationContent, ne as ToolAuthorizationHeader, re as ToolAuthorizationMessage, ie as ToolCallAccordion, ae as ToolCallAccordionContent, oe as ToolCallAccordionItem, se as ToolCallAccordionTrigger, ce as ToolCard, q as ToolkitCard, ue as UndoToastProvider, de as UserNav, I as mcpServerCardShellVariants, N as mcpToolkitAvatarVariants, g as removableChipButtonClass, le as useUndoToast };
@@ -1 +1 @@
1
- {"version":3,"file":"recommended-toolkits-chip.d.ts","sourceRoot":"","sources":["../../../../../lib/components/ui/molecules/mcp-server-picker/recommended-toolkits-chip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAiBpC,MAAM,MAAM,uBAAuB,GAAG;IACpC,8DAA8D;IAC9D,EAAE,EAAE,MAAM,CAAC;IACX,+BAA+B;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iDAAiD;IACjD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qEAAqE;IACrE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;;;OAIG;IACH,UAAU,EAAE,uBAAuB,EAAE,CAAC;IACtC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;OAGG;IACH,eAAe,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,kDAAkD;IAClD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC,CAAC;AAqB/D;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CAAC,EACzC,UAAU,EACV,MAAc,EACd,QAAQ,EACR,eAAe,EACf,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,+BAA+B,qBAqFjC"}
1
+ {"version":3,"file":"recommended-toolkits-chip.d.ts","sourceRoot":"","sources":["../../../../../lib/components/ui/molecules/mcp-server-picker/recommended-toolkits-chip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAepC,MAAM,MAAM,uBAAuB,GAAG;IACpC,8DAA8D;IAC9D,EAAE,EAAE,MAAM,CAAC;IACX,+BAA+B;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iDAAiD;IACjD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,qEAAqE;IACrE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;;;OAIG;IACH,UAAU,EAAE,uBAAuB,EAAE,CAAC;IACtC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;OAGG;IACH,eAAe,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,kDAAkD;IAClD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC,CAAC;AAqB/D;;;;;;;;;GASG;AACH,wBAAgB,0BAA0B,CAAC,EACzC,UAAU,EACV,MAAc,EACd,QAAQ,EACR,eAAe,EACf,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,+BAA+B,qBAmGjC"}
@@ -1,10 +1,11 @@
1
1
  "use client";
2
2
  "use client";
3
3
  import { cn as e } from "../../../../lib/utils.js";
4
- import { i as t, n, o as r, t as i } from "../../../../popover-Cne_hQUh.js";
4
+ import { i as t, n, o as r, t as i } from "../../../../popover-CpLkQtT5.js";
5
5
  import { Arcade as a } from "../../atoms/icons/arcade.js";
6
- import { RemovableChip as o, RemovableChipButton as s } from "../../atoms/removable-chip.js";
7
- import { t as c } from "../../../../scroll-area-C0KbhRES.js";
6
+ import { t as o } from "../../../../scroll-area-D7iOy7xj.js";
7
+ import { RemovableChip as s } from "../removable-chip.js";
8
+ import { ChipBody as c } from "../chip-body.js";
8
9
  import { McpToolkitAvatar as l } from "./toolkit-avatar.js";
9
10
  import { useState as u } from "react";
10
11
  import { jsx as d, jsxs as f } from "react/jsx-runtime";
@@ -18,28 +19,29 @@ function p({ className: t }) {
18
19
  });
19
20
  }
20
21
  function m({ mcpServers: a, active: m = !1, onReview: h, onOpenMcpServer: g, onRemove: _, className: v, ...y }) {
21
- let [b, x] = u(!1), S = a.length, C = S === 1 ? "server" : "servers", w = `Review ${S} recommended ${C}`, T = `Show ${S} recommended ${C}`, E = `Remove all ${S} recommended ${C}`;
22
- return /* @__PURE__ */ f(o, {
22
+ let [b, x] = u(!1), S = a.length, C = S === 1 ? "server" : "servers", w = `min(18rem, calc(${S} * 2rem + 0.5rem))`, T = `Review ${S} recommended ${C}`, E = `Show ${S} recommended ${C}`, D = `Remove all ${S} recommended ${C}`;
23
+ return /* @__PURE__ */ f(s, {
23
24
  ...y,
24
25
  active: m,
25
26
  className: e(m ? "bg-brand-navy/15 ring-brand-navy/40" : null, v),
26
27
  "data-slot": "mcp-recommended-toolkits-chip",
27
28
  "data-status": m ? "open" : "closed",
28
29
  onRemove: _,
29
- removeLabel: E,
30
- children: [/* @__PURE__ */ f(s, {
31
- "aria-label": w,
30
+ removeLabel: D,
31
+ children: [/* @__PURE__ */ d(c, {
32
+ "aria-label": T,
32
33
  className: "pr-1.5 font-medium",
34
+ icon: /* @__PURE__ */ d(p, {}),
35
+ label: "Recommended tools",
33
36
  onClick: h,
34
- title: w,
35
- children: [/* @__PURE__ */ d(p, {}), /* @__PURE__ */ d("span", { children: "Recommended tools" })]
37
+ title: T
36
38
  }), /* @__PURE__ */ f(i, {
37
39
  onOpenChange: x,
38
40
  open: b,
39
41
  children: [/* @__PURE__ */ d(r, {
40
- "aria-label": T,
42
+ "aria-label": E,
41
43
  className: "inline-flex cursor-pointer items-center gap-1 py-1 pr-1.5 pl-1 text-muted-foreground transition-[background-color,color] duration-[var(--duration-fast)] ease-[var(--ease-smooth)] hover:bg-foreground/10 hover:text-foreground focus-visible:bg-foreground/10 focus-visible:outline-none motion-reduce:transition-colors",
42
- title: T,
44
+ title: E,
43
45
  type: "button",
44
46
  children: /* @__PURE__ */ d("span", {
45
47
  className: "rounded-full bg-muted px-1.5 py-0.5 text-[10px] text-foreground tabular-nums",
@@ -47,14 +49,15 @@ function m({ mcpServers: a, active: m = !1, onReview: h, onOpenMcpServer: g, onR
47
49
  })
48
50
  }), /* @__PURE__ */ f(n, {
49
51
  align: "start",
50
- className: "w-64 gap-0 p-0",
52
+ className: "w-64 gap-0 overflow-hidden p-0",
51
53
  sideOffset: 6,
52
54
  children: [/* @__PURE__ */ f(t, {
53
55
  className: "flex items-center gap-2 px-3 pt-2.5 pb-1.5 font-medium text-foreground text-xs",
54
56
  children: [/* @__PURE__ */ d(p, {}), /* @__PURE__ */ d("span", { children: "Recommended by Arcade" })]
55
- }), /* @__PURE__ */ d(c, {
56
- className: "max-h-72",
57
+ }), /* @__PURE__ */ d(o, {
58
+ className: "min-h-0 overflow-hidden",
57
59
  orientation: "vertical",
60
+ style: { height: w },
58
61
  type: "hover",
59
62
  children: /* @__PURE__ */ d("ul", {
60
63
  className: "flex flex-col py-1",
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  "use client";
3
3
  import { cn as e } from "../../../../lib/utils.js";
4
- import { a as t, d as n, i as r, n as i, o as a, r as o, s, t as c } from "../../../../alert-dialog-BiDZwtP2.js";
5
- import { t as l } from "../../../../switch-D8M0xvzp.js";
4
+ import { a as t, d as n, i as r, n as i, o as a, r as o, s, t as c } from "../../../../alert-dialog-1bUE2clB.js";
5
+ import { t as l } from "../../../../switch-DlxZDt6o.js";
6
6
  import { McpSectionCallout as u } from "./section-callout.js";
7
7
  import { Fragment as d, jsx as f, jsxs as p } from "react/jsx-runtime";
8
8
  //#region lib/components/ui/molecules/mcp-server-picker/recommended-tools.tsx
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  "use client";
3
- import { i as e, r as t, t as n } from "../../../../tabs-ttkDuwww.js";
3
+ import { i as e, r as t, t as n } from "../../../../tabs-Cj3LY-7F.js";
4
4
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
5
5
  //#region lib/components/ui/molecules/mcp-server-picker/search-scope-tabs.tsx
6
6
  function a({ active: a, serverCount: o, toolCount: s, onChange: c, ...l }) {