@arcadeai/design-system 3.46.1 → 3.48.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 (121) hide show
  1. package/dist/{toggle-C4ztdcN-.js → Toggle-CyMSF-Z7.js} +14 -46
  2. package/dist/ToolbarRootContext-DVNA8Vkb.js +13 -0
  3. package/dist/{alert-dialog-oB_cE8NP.js → alert-dialog-tBMDYzJ3.js} +1 -1
  4. package/dist/assets/index.css +1 -1
  5. package/dist/assets/tokens.css +1 -1
  6. package/dist/assets/variables.css +1 -1
  7. package/dist/components/index.js +236 -215
  8. package/dist/components/ui/atoms/alert-dialog.js +1 -1
  9. package/dist/components/ui/atoms/avatar-notification-badge.d.ts +2 -2
  10. package/dist/components/ui/atoms/avatar-notification-badge.d.ts.map +1 -1
  11. package/dist/components/ui/atoms/avatar-notification-badge.js +21 -0
  12. package/dist/components/ui/atoms/dropdown-menu.js +1 -1
  13. package/dist/components/ui/atoms/filter-chip.d.ts +16 -0
  14. package/dist/components/ui/atoms/filter-chip.d.ts.map +1 -0
  15. package/dist/components/ui/atoms/filter-chip.js +37 -0
  16. package/dist/components/ui/atoms/index.d.ts +4 -0
  17. package/dist/components/ui/atoms/index.d.ts.map +1 -1
  18. package/dist/components/ui/atoms/index.js +193 -189
  19. package/dist/components/ui/atoms/mobile-tooltip.js +1 -1
  20. package/dist/components/ui/atoms/popover.js +1 -1
  21. package/dist/components/ui/atoms/removable-chip.d.ts +38 -0
  22. package/dist/components/ui/atoms/removable-chip.d.ts.map +1 -0
  23. package/dist/components/ui/atoms/removable-chip.js +36 -0
  24. package/dist/components/ui/atoms/scroll-area.d.ts +7 -1
  25. package/dist/components/ui/atoms/scroll-area.d.ts.map +1 -1
  26. package/dist/components/ui/atoms/scroll-area.js +1 -1
  27. package/dist/components/ui/atoms/select.js +1 -1
  28. package/dist/components/ui/atoms/toggle-group.d.ts +29 -0
  29. package/dist/components/ui/atoms/toggle-group.d.ts.map +1 -0
  30. package/dist/components/ui/atoms/toggle-group.js +3 -0
  31. package/dist/components/ui/atoms/toggle.js +36 -2
  32. package/dist/components/ui/atoms/unoptimized-marker.d.ts +16 -0
  33. package/dist/components/ui/atoms/unoptimized-marker.d.ts.map +1 -0
  34. package/dist/components/ui/atoms/unoptimized-marker.js +20 -0
  35. package/dist/components/ui/index.d.ts +1 -0
  36. package/dist/components/ui/index.d.ts.map +1 -1
  37. package/dist/components/ui/index.js +236 -215
  38. package/dist/components/ui/molecules/confirm-popover.js +1 -1
  39. package/dist/components/ui/molecules/date-time-picker.js +1 -1
  40. package/dist/components/ui/molecules/empty-state.d.ts +28 -3
  41. package/dist/components/ui/molecules/empty-state.d.ts.map +1 -1
  42. package/dist/components/ui/molecules/empty-state.js +25 -19
  43. package/dist/components/ui/molecules/index.d.ts +30 -0
  44. package/dist/components/ui/molecules/index.d.ts.map +1 -1
  45. package/dist/components/ui/molecules/index.js +25 -10
  46. package/dist/components/ui/molecules/mcp-server-picker/category-filter-menu.d.ts +31 -0
  47. package/dist/components/ui/molecules/mcp-server-picker/category-filter-menu.d.ts.map +1 -0
  48. package/dist/components/ui/molecules/mcp-server-picker/category-filter-menu.js +106 -0
  49. package/dist/components/ui/molecules/mcp-server-picker/category-filter.d.ts +18 -0
  50. package/dist/components/ui/molecules/mcp-server-picker/category-filter.d.ts.map +1 -0
  51. package/dist/components/ui/molecules/mcp-server-picker/category-filter.js +34 -0
  52. package/dist/components/ui/molecules/mcp-server-picker/recommended-toolkits-chip.d.ts +53 -0
  53. package/dist/components/ui/molecules/mcp-server-picker/recommended-toolkits-chip.d.ts.map +1 -0
  54. package/dist/components/ui/molecules/mcp-server-picker/recommended-toolkits-chip.js +91 -0
  55. package/dist/components/ui/molecules/mcp-server-picker/recommended-tools.d.ts +52 -0
  56. package/dist/components/ui/molecules/mcp-server-picker/recommended-tools.d.ts.map +1 -0
  57. package/dist/components/ui/molecules/mcp-server-picker/recommended-tools.js +103 -0
  58. package/dist/components/ui/molecules/mcp-server-picker/review-count-chip.d.ts +22 -0
  59. package/dist/components/ui/molecules/mcp-server-picker/review-count-chip.d.ts.map +1 -0
  60. package/dist/components/ui/molecules/mcp-server-picker/review-count-chip.js +42 -0
  61. package/dist/components/ui/molecules/mcp-server-picker/search-scope-tabs.d.ts +18 -0
  62. package/dist/components/ui/molecules/mcp-server-picker/search-scope-tabs.d.ts.map +1 -0
  63. package/dist/components/ui/molecules/mcp-server-picker/search-scope-tabs.js +31 -0
  64. package/dist/components/ui/molecules/mcp-server-picker/section-callout.d.ts +21 -0
  65. package/dist/components/ui/molecules/mcp-server-picker/section-callout.d.ts.map +1 -0
  66. package/dist/components/ui/molecules/mcp-server-picker/section-callout.js +23 -0
  67. package/dist/components/ui/molecules/mcp-server-picker/section-nav-header.d.ts +39 -0
  68. package/dist/components/ui/molecules/mcp-server-picker/section-nav-header.d.ts.map +1 -0
  69. package/dist/components/ui/molecules/mcp-server-picker/section-nav-header.js +43 -0
  70. package/dist/components/ui/molecules/mcp-server-picker/server-avatar-stack.d.ts +16 -0
  71. package/dist/components/ui/molecules/mcp-server-picker/server-avatar-stack.d.ts.map +1 -0
  72. package/dist/components/ui/molecules/mcp-server-picker/server-avatar-stack.js +99 -0
  73. package/dist/components/ui/molecules/mcp-server-picker/server-card.d.ts +41 -0
  74. package/dist/components/ui/molecules/mcp-server-picker/server-card.d.ts.map +1 -0
  75. package/dist/components/ui/molecules/mcp-server-picker/server-card.js +124 -0
  76. package/dist/components/ui/molecules/mcp-server-picker/tool-card.d.ts +27 -0
  77. package/dist/components/ui/molecules/mcp-server-picker/tool-card.d.ts.map +1 -0
  78. package/dist/components/ui/molecules/mcp-server-picker/tool-card.js +67 -0
  79. package/dist/components/ui/molecules/mcp-server-picker/tool-search-band.d.ts +8 -0
  80. package/dist/components/ui/molecules/mcp-server-picker/tool-search-band.d.ts.map +1 -0
  81. package/dist/components/ui/molecules/mcp-server-picker/tool-search-band.js +41 -0
  82. package/dist/components/ui/molecules/mcp-server-picker/toolkit-avatar.d.ts +16 -0
  83. package/dist/components/ui/molecules/mcp-server-picker/toolkit-avatar.d.ts.map +1 -0
  84. package/dist/components/ui/molecules/mcp-server-picker/toolkit-avatar.js +56 -0
  85. package/dist/components/ui/molecules/mcp-server-picker/toolkit-chip.d.ts +38 -0
  86. package/dist/components/ui/molecules/mcp-server-picker/toolkit-chip.d.ts.map +1 -0
  87. package/dist/components/ui/molecules/mcp-server-picker/toolkit-chip.js +42 -0
  88. package/dist/components/ui/molecules/mcp-server-picker/toolkit-group-header.d.ts +33 -0
  89. package/dist/components/ui/molecules/mcp-server-picker/toolkit-group-header.d.ts.map +1 -0
  90. package/dist/components/ui/molecules/mcp-server-picker/toolkit-group-header.js +36 -0
  91. package/dist/components/ui/molecules/mcp-server-picker/unoptimized-callout.d.ts +10 -0
  92. package/dist/components/ui/molecules/mcp-server-picker/unoptimized-callout.d.ts.map +1 -0
  93. package/dist/components/ui/molecules/mcp-server-picker/unoptimized-callout.js +15 -0
  94. package/dist/components/ui/molecules/user-nav.js +1 -1
  95. package/dist/components/ui/organisms/index.d.ts +5 -0
  96. package/dist/components/ui/organisms/index.d.ts.map +1 -0
  97. package/dist/components/ui/organisms/index.js +3 -0
  98. package/dist/components/ui/organisms/mcp-selection-summary-bar.d.ts +71 -0
  99. package/dist/components/ui/organisms/mcp-selection-summary-bar.d.ts.map +1 -0
  100. package/dist/components/ui/organisms/mcp-selection-summary-bar.js +61 -0
  101. package/dist/components/ui/organisms/mcp-server-picker.d.ts +45 -0
  102. package/dist/components/ui/organisms/mcp-server-picker.d.ts.map +1 -0
  103. package/dist/components/ui/organisms/mcp-server-picker.js +35 -0
  104. package/dist/components/ui/pages/login-page.js +19 -19
  105. package/dist/components/ui/templates/gateway-diagram.js +10 -10
  106. package/dist/{dropdown-menu-DCFuLDwH.js → dropdown-menu-dsg43mOw.js} +2 -1
  107. package/dist/hooks/use-scroll-fade.d.ts +15 -0
  108. package/dist/hooks/use-scroll-fade.d.ts.map +1 -0
  109. package/dist/hooks/use-scroll-fade.js +38 -0
  110. package/dist/main.js +242 -221
  111. package/dist/metadata/index.js +6 -6
  112. package/dist/metadata/toolkit-icons.d.ts +15 -0
  113. package/dist/metadata/toolkit-icons.d.ts.map +1 -1
  114. package/dist/metadata/toolkit-icons.js +294 -292
  115. package/dist/{popover-Ck3ILBUA.js → popover-CXSOUeVQ.js} +2 -1
  116. package/dist/{scroll-area-BD6qsU_I.js → scroll-area-53KPfESS.js} +6 -3
  117. package/dist/{select-cAvbXH_n.js → select-CPTT__cT.js} +2 -1
  118. package/dist/toggle-group-CDYMBO0F.js +87 -0
  119. package/dist/useAnchoredPopupScrollLock-C8wRjuy0.js +24 -0
  120. package/package.json +1 -1
  121. package/dist/ToolbarRootContext-Dubw_915.js +0 -34
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  "use client";
3
3
  import { i as e, n as t, r as n, t as r } from "../../../tooltip-34vRSwJG.js";
4
- import { n as i, o as a, t as o } from "../../../popover-Ck3ILBUA.js";
4
+ import { n as i, o as a, t as o } from "../../../popover-CXSOUeVQ.js";
5
5
  import { createContext as s, useContext as c, useEffect as l, useState as u } from "react";
6
6
  import { jsx as d } from "react/jsx-runtime";
7
7
  //#region lib/components/ui/atoms/mobile-tooltip.tsx
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import { a as e, i as t, n, o as r, r as i, t as a } from "../../../popover-Ck3ILBUA.js";
2
+ import { a as e, i as t, n, o as r, r as i, t as a } from "../../../popover-CXSOUeVQ.js";
3
3
  export { a as Popover, n as PopoverContent, i as PopoverDescription, t as PopoverHeader, e as PopoverTitle, r as PopoverTrigger };
@@ -0,0 +1,38 @@
1
+ import type * as React from "react";
2
+ declare const chipBodyButtonClass = "inline-flex cursor-pointer items-center gap-1.5 transition-[background-color,color,transform] duration-[var(--duration-fast)] ease-[var(--ease-smooth)] hover:bg-foreground/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/60 focus-visible:ring-inset active:scale-[0.98] motion-reduce:transition-colors motion-reduce:active:scale-100";
3
+ export type RemovableChipProps = {
4
+ /** Accessible label for the trailing remove (×) button. */
5
+ removeLabel: string;
6
+ /** Remove handler for the trailing × button. */
7
+ onRemove?: () => void;
8
+ /**
9
+ * Pressed/open visual — adds a ring so the active state reads at a glance.
10
+ * The ring uses the default focus colour; override it (or add a fill) through
11
+ * `className` when a chip wants a branded active state.
12
+ */
13
+ active?: boolean;
14
+ /**
15
+ * Chip body — typically one or more `RemovableChipButton`s plus any middle
16
+ * affordances (e.g. a popover trigger). The faint divider and the trailing ×
17
+ * button are appended automatically.
18
+ */
19
+ children: React.ReactNode;
20
+ } & Omit<React.ComponentProps<"div">, "children">;
21
+ /**
22
+ * The shared shell for the picker's segmented chips: a rounded `bg-muted/40`
23
+ * pill hosting a body, then a faint divider, then a trailing × remove button.
24
+ * Centralising the shell, divider, and remove button keeps every chip's shape,
25
+ * focus ring, and press animation in sync — consumers supply only the body and
26
+ * the labels. Powers `McpToolkitChip` and `McpRecommendedToolkitsChip`.
27
+ */
28
+ export declare function RemovableChip({ removeLabel, onRemove, active, children, className, ...rest }: RemovableChipProps): React.JSX.Element;
29
+ export type RemovableChipButtonProps = Omit<React.ComponentProps<"button">, "type">;
30
+ /**
31
+ * A body affordance inside a `RemovableChip` (e.g. "open this server's tools"
32
+ * or "review this set"). Shares the chip's hover, focus, and press styling and
33
+ * rounds its left edge to meet the shell. Pass `className` to tune padding for
34
+ * its position in the chip.
35
+ */
36
+ export declare function RemovableChipButton({ className, ...props }: RemovableChipButtonProps): React.JSX.Element;
37
+ export { chipBodyButtonClass as removableChipButtonClass };
38
+ //# sourceMappingURL=removable-chip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"removable-chip.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/removable-chip.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,QAAA,MAAM,mBAAmB,0WACgV,CAAC;AAE1W,MAAM,MAAM,kBAAkB,GAAG;IAC/B,2DAA2D;IAC3D,WAAW,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,CAAC;AAElD;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,EAC5B,WAAW,EACX,QAAQ,EACR,MAAc,EACd,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,kBAAkB,qBA2BpB;AAED,MAAM,MAAM,wBAAwB,GAAG,IAAI,CACzC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,EAC9B,MAAM,CACP,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,EAClC,SAAS,EACT,GAAG,KAAK,EACT,EAAE,wBAAwB,qBAY1B;AAED,OAAO,EAAE,mBAAmB,IAAI,wBAAwB,EAAE,CAAC"}
@@ -0,0 +1,36 @@
1
+ "use client";
2
+ "use client";
3
+ import { cn as e } from "../../../lib/utils.js";
4
+ import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
5
+ import { X as i } from "lucide-react";
6
+ //#region lib/components/ui/atoms/removable-chip.tsx
7
+ var a = "inline-flex cursor-pointer items-center gap-1.5 transition-[background-color,color,transform] duration-[var(--duration-fast)] ease-[var(--ease-smooth)] hover:bg-foreground/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/60 focus-visible:ring-inset active:scale-[0.98] motion-reduce:transition-colors motion-reduce:active:scale-100";
8
+ function o({ removeLabel: a, onRemove: o, active: s = !1, children: c, className: l, ...u }) {
9
+ return /* @__PURE__ */ r("div", {
10
+ className: e("ds-focus-in inline-flex shrink-0 items-center rounded-md bg-muted/40 text-xs", s ? "ring-2 ring-ring/60" : "hover:bg-muted/60", l),
11
+ ...u,
12
+ children: [c, o ? /* @__PURE__ */ r(t, { children: [/* @__PURE__ */ n("span", {
13
+ "aria-hidden": !0,
14
+ className: "h-4 w-px shrink-0 bg-foreground/10"
15
+ }), /* @__PURE__ */ n("button", {
16
+ "aria-label": a,
17
+ className: "inline-flex cursor-pointer items-center self-stretch rounded-r-md pr-2 pl-1.5 text-muted-foreground transition-[background-color,color,transform] duration-[var(--duration-fast)] ease-[var(--ease-smooth)] hover:bg-foreground/10 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring/60 focus-visible:ring-inset active:scale-[0.98] motion-reduce:transition-colors motion-reduce:active:scale-100",
18
+ onClick: o,
19
+ title: a,
20
+ type: "button",
21
+ children: /* @__PURE__ */ n(i, {
22
+ "aria-hidden": !0,
23
+ className: "size-3"
24
+ })
25
+ })] }) : null]
26
+ });
27
+ }
28
+ function s({ className: t, ...r }) {
29
+ return /* @__PURE__ */ n("button", {
30
+ className: e(a, "rounded-l-md py-1 pr-2 pl-1.5", t),
31
+ type: "button",
32
+ ...r
33
+ });
34
+ }
35
+ //#endregion
36
+ export { o as RemovableChip, s as RemovableChipButton, a as removableChipButtonClass };
@@ -1,7 +1,13 @@
1
1
  import { ScrollArea as ScrollAreaPrimitive } from '@base-ui/react/scroll-area';
2
2
  type ScrollAreaType = "auto" | "always" | "hover" | "scroll";
3
- declare function ScrollArea({ className, children, type, ...props }: ScrollAreaPrimitive.Root.Props & {
3
+ declare function ScrollArea({ className, children, type, orientation, ...props }: ScrollAreaPrimitive.Root.Props & {
4
4
  type?: ScrollAreaType;
5
+ /**
6
+ * Which scrollbar(s) to render. Defaults to `vertical`; use `horizontal`
7
+ * for a single row that overflows sideways (e.g. a chip strip), or `both`
8
+ * for a 2-axis area.
9
+ */
10
+ orientation?: "vertical" | "horizontal" | "both";
5
11
  }): import("react").JSX.Element;
6
12
  declare function ScrollBar({ className, orientation, ...props }: ScrollAreaPrimitive.Scrollbar.Props): import("react").JSX.Element;
7
13
  export { ScrollArea, ScrollBar };
@@ -1 +1 @@
1
- {"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/scroll-area.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAI/E,KAAK,cAAc,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;AAW7D,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,QAAQ,EACR,IAAa,EACb,GAAG,KAAK,EACT,EAAE,mBAAmB,CAAC,IAAI,CAAC,KAAK,GAAG;IAClC,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB,+BAiBA;AAED,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAAwB,EACxB,GAAG,KAAK,EACT,EAAE,mBAAmB,CAAC,SAAS,CAAC,KAAK,+BAkBrC;AAED,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC"}
1
+ {"version":3,"file":"scroll-area.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/scroll-area.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,IAAI,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAI/E,KAAK,cAAc,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;AAW7D,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,QAAQ,EACR,IAAa,EACb,WAAwB,EACxB,GAAG,KAAK,EACT,EAAE,mBAAmB,CAAC,IAAI,CAAC,KAAK,GAAG;IAClC,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB;;;;OAIG;IACH,WAAW,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,MAAM,CAAC;CAClD,+BA0BA;AAED,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAAwB,EACxB,GAAG,KAAK,EACT,EAAE,mBAAmB,CAAC,SAAS,CAAC,KAAK,+BAkBrC;AAED,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,CAAC"}
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import { n as e, t } from "../../../scroll-area-BD6qsU_I.js";
2
+ import { n as e, t } from "../../../scroll-area-53KPfESS.js";
3
3
  export { t as ScrollArea, e as ScrollBar };
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "../../../select-cAvbXH_n.js";
2
+ import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c, u as l } from "../../../select-CPTT__cT.js";
3
3
  export { c as Select, i as SelectContent, o as SelectGroup, n as SelectItem, e as SelectLabel, a as SelectScrollDownButton, s as SelectScrollUpButton, t as SelectSeparator, r as SelectTrigger, l as SelectValue };
@@ -0,0 +1,29 @@
1
+ import { Toggle as TogglePrimitive } from '@base-ui/react/toggle';
2
+ import { ToggleGroup as ToggleGroupPrimitive } from '@base-ui/react/toggle-group';
3
+ import { FilterChipProps } from './filter-chip';
4
+ import type * as React from "react";
5
+ export type ToggleGroupProps = ToggleGroupPrimitive.Props;
6
+ /**
7
+ * A set of related toggle buttons that share pressed state. Wraps Base UI's
8
+ * `ToggleGroup`, which manages the value array, roving keyboard focus, and
9
+ * single-vs-multi-select semantics (`multiple`). Render `ToggleGroupChip`
10
+ * children for the design system's pill styling.
11
+ */
12
+ export declare function ToggleGroup({ className, ...props }: ToggleGroupProps): React.JSX.Element;
13
+ export type ToggleGroupChipProps = {
14
+ /** The value contributed to the group when this chip is pressed. */
15
+ value: string;
16
+ /** Extra classes merged after the chip variants. */
17
+ className?: string;
18
+ } & Pick<FilterChipProps, "size"> & Omit<React.ComponentProps<typeof TogglePrimitive>, "value" | "render" | "className">;
19
+ /**
20
+ * A `ToggleGroup` item styled as a filter chip. Reuses `filterChipVariants` so
21
+ * the chip's shape, focus ring, and selected fill stay identical to the
22
+ * standalone `FilterChip`. The selected fill is driven by Base UI's actual
23
+ * pressed state — derived from the group's value — so it can never drift from
24
+ * what the group considers selected; the consumer passes no `selected` prop.
25
+ * Base UI also supplies `aria-pressed`, `data-pressed`, and the group's
26
+ * keyboard navigation.
27
+ */
28
+ export declare function ToggleGroupChip({ value, size, className, ...props }: ToggleGroupChipProps): React.JSX.Element;
29
+ //# sourceMappingURL=toggle-group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toggle-group.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/toggle-group.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAClE,OAAO,EAAE,WAAW,IAAI,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAClF,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAE,KAAK,eAAe,EAAsB,MAAM,eAAe,CAAC;AAEzE,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,CAAC,KAAK,CAAC;AAE1D;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,qBAQpE;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,oEAAoE;IACpE,KAAK,EAAE,MAAM,CAAC;IACd,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,GAC/B,IAAI,CACF,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,EAC5C,OAAO,GAAG,QAAQ,GAAG,WAAW,CACjC,CAAC;AAEJ;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,IAAI,EACJ,SAAS,EACT,GAAG,KAAK,EACT,EAAE,oBAAoB,qBAWtB"}
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import { n as e, t } from "../../../toggle-group-CDYMBO0F.js";
3
+ export { t as ToggleGroup, e as ToggleGroupChip };
@@ -1,3 +1,37 @@
1
1
  "use client";
2
- import { n as e, t } from "../../../toggle-C4ztdcN-.js";
3
- export { t as Toggle, e as toggleVariants };
2
+ "use client";
3
+ import { cn as e } from "../../../lib/utils.js";
4
+ import { t } from "../../../dist-Ber_p4PA.js";
5
+ import { t as n } from "../../../Toggle-CyMSF-Z7.js";
6
+ import { jsx as r } from "react/jsx-runtime";
7
+ //#region lib/components/ui/atoms/toggle.tsx
8
+ var i = t("group/toggle inline-flex items-center justify-center gap-1 whitespace-nowrap rounded-md font-medium text-sm outline-none transition-[color,box-shadow] hover:bg-muted hover:text-foreground focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-pressed:bg-muted aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
9
+ variants: {
10
+ variant: {
11
+ default: "bg-transparent",
12
+ outline: "border border-input bg-transparent shadow-xs hover:bg-muted"
13
+ },
14
+ size: {
15
+ default: "h-9 min-w-9 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
16
+ sm: "h-8 min-w-8 px-2.5 has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5",
17
+ lg: "h-10 min-w-10 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2"
18
+ }
19
+ },
20
+ defaultVariants: {
21
+ variant: "default",
22
+ size: "default"
23
+ }
24
+ });
25
+ function a({ className: t, variant: a = "default", size: o = "default", ...s }) {
26
+ return /* @__PURE__ */ r(n, {
27
+ className: e(i({
28
+ variant: a,
29
+ size: o,
30
+ className: t
31
+ })),
32
+ "data-slot": "toggle",
33
+ ...s
34
+ });
35
+ }
36
+ //#endregion
37
+ export { a as Toggle, i as toggleVariants };
@@ -0,0 +1,16 @@
1
+ import type * as React from "react";
2
+ export type UnoptimizedMarkerProps = {
3
+ /**
4
+ * Show the `{}` marker. When false the slot collapses to zero width (and
5
+ * fades out) so the row it sits in doesn't shift between states.
6
+ */
7
+ active: boolean;
8
+ } & React.ComponentProps<"span">;
9
+ /**
10
+ * The `{}` braces marker flagging an unoptimized (action-level) tool or server.
11
+ * Renders inside a fixed-height slot that animates its width and opacity, so it
12
+ * can appear and disappear in place without nudging the surrounding layout.
13
+ * Shared by `McpServerCard` and `McpToolCard` so the marker stays identical.
14
+ */
15
+ export declare function UnoptimizedMarker({ active, className, ...props }: UnoptimizedMarkerProps): React.JSX.Element;
16
+ //# sourceMappingURL=unoptimized-marker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"unoptimized-marker.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/unoptimized-marker.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAGpC,MAAM,MAAM,sBAAsB,GAAG;IACnC;;;OAGG;IACH,MAAM,EAAE,OAAO,CAAC;CACjB,GAAG,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;AAEjC;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,MAAM,EACN,SAAS,EACT,GAAG,KAAK,EACT,EAAE,sBAAsB,qBAexB"}
@@ -0,0 +1,20 @@
1
+ "use client";
2
+ "use client";
3
+ import { cn as e } from "../../../lib/utils.js";
4
+ import { jsx as t } from "react/jsx-runtime";
5
+ import { Braces as n } from "lucide-react";
6
+ //#region lib/components/ui/atoms/unoptimized-marker.tsx
7
+ function r({ active: r, className: i, ...a }) {
8
+ return /* @__PURE__ */ t("span", {
9
+ ...a,
10
+ "aria-hidden": !0,
11
+ className: e("inline-flex h-4 shrink-0 items-center justify-center overflow-hidden text-muted-foreground transition-[width,opacity] duration-[var(--duration-fast)] ease-[var(--ease-smooth)] motion-reduce:transition-none", r ? "w-4 opacity-100" : "w-0 opacity-0", i),
12
+ "data-slot": "unoptimized-marker",
13
+ children: r ? /* @__PURE__ */ t(n, {
14
+ "aria-hidden": !0,
15
+ className: "ds-pop-in size-3.5"
16
+ }) : null
17
+ });
18
+ }
19
+ //#endregion
20
+ export { r as UnoptimizedMarker };
@@ -1,6 +1,7 @@
1
1
  /** biome-ignore-all lint/performance/noBarrelFile: Barrel files are acceptable for atomic component folders */
2
2
  export * from './atoms';
3
3
  export * from './molecules';
4
+ export * from './organisms';
4
5
  export * from './pages';
5
6
  export * from './templates';
6
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/ui/index.ts"],"names":[],"mappings":"AAAA,+GAA+G;AAC/G,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../lib/components/ui/index.ts"],"names":[],"mappings":"AAAA,+GAA+G;AAC/G,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC"}