@arcadeai/design-system 3.28.0 → 3.28.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +154 -13
- package/dist/assets/index.css +1 -1
- package/dist/assets/tokens.css +1 -1
- package/dist/assets/variables.css +1 -1
- package/dist/{calendar-w1IATMME.js → calendar-cxv-TTEh.js} +10 -10
- package/dist/components/index.js +2 -2
- package/dist/components/ui/atoms/accordion.d.ts +1 -1
- package/dist/components/ui/atoms/accordion.d.ts.map +1 -1
- package/dist/components/ui/atoms/accordion.js +15 -15
- package/dist/components/ui/atoms/alert-dialog.d.ts +1 -1
- package/dist/components/ui/atoms/alert-dialog.d.ts.map +1 -1
- package/dist/components/ui/atoms/alert.d.ts.map +1 -1
- package/dist/components/ui/atoms/alert.js +1 -1
- package/dist/components/ui/atoms/avatar.d.ts +1 -1
- package/dist/components/ui/atoms/avatar.d.ts.map +1 -1
- package/dist/components/ui/atoms/badge.d.ts.map +1 -1
- package/dist/components/ui/atoms/badge.js +6 -6
- package/dist/components/ui/atoms/breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/atoms/breadcrumb.js +5 -5
- package/dist/components/ui/atoms/button.d.ts.map +1 -1
- package/dist/components/ui/atoms/button.js +6 -6
- package/dist/components/ui/atoms/byoc-badge.d.ts.map +1 -1
- package/dist/components/ui/atoms/byoc-badge.js +6 -6
- package/dist/components/ui/atoms/calendar.d.ts +1 -1
- package/dist/components/ui/atoms/calendar.d.ts.map +1 -1
- package/dist/components/ui/atoms/calendar.js +3 -3
- package/dist/components/ui/atoms/card.d.ts.map +1 -1
- package/dist/components/ui/atoms/chart.d.ts.map +1 -1
- package/dist/components/ui/atoms/chart.js +1 -1
- package/dist/components/ui/atoms/checkbox.d.ts +1 -1
- package/dist/components/ui/atoms/checkbox.d.ts.map +1 -1
- package/dist/components/ui/atoms/checkbox.js +13 -13
- package/dist/components/ui/atoms/collapsible.d.ts +1 -1
- package/dist/components/ui/atoms/collapsible.d.ts.map +1 -1
- package/dist/components/ui/atoms/command.d.ts +1 -1
- package/dist/components/ui/atoms/command.d.ts.map +1 -1
- package/dist/components/ui/atoms/command.js +28 -28
- package/dist/components/ui/atoms/dialog.d.ts +1 -1
- package/dist/components/ui/atoms/dialog.d.ts.map +1 -1
- package/dist/components/ui/atoms/dialog.js +10 -10
- package/dist/components/ui/atoms/dropdown-menu.d.ts +1 -1
- package/dist/components/ui/atoms/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/atoms/dropdown-menu.js +27 -27
- package/dist/components/ui/atoms/form.d.ts +2 -3
- package/dist/components/ui/atoms/form.d.ts.map +1 -1
- package/dist/components/ui/atoms/form.js +12 -10
- package/dist/components/ui/atoms/hover-card.d.ts +1 -1
- package/dist/components/ui/atoms/hover-card.d.ts.map +1 -1
- package/dist/components/ui/atoms/index.js +1 -1
- package/dist/components/ui/atoms/input.d.ts.map +1 -1
- package/dist/components/ui/atoms/label.d.ts +1 -1
- package/dist/components/ui/atoms/label.d.ts.map +1 -1
- package/dist/components/ui/atoms/mobile-tooltip.d.ts +7 -6
- package/dist/components/ui/atoms/mobile-tooltip.d.ts.map +1 -1
- package/dist/components/ui/atoms/popover.d.ts +1 -1
- package/dist/components/ui/atoms/popover.d.ts.map +1 -1
- package/dist/components/ui/atoms/pro-badge.d.ts.map +1 -1
- package/dist/components/ui/atoms/pro-badge.js +6 -6
- package/dist/components/ui/atoms/progress.d.ts +1 -1
- package/dist/components/ui/atoms/progress.d.ts.map +1 -1
- package/dist/components/ui/atoms/radio-group.d.ts +1 -1
- package/dist/components/ui/atoms/radio-group.d.ts.map +1 -1
- package/dist/components/ui/atoms/radio-group.js +13 -13
- package/dist/components/ui/atoms/resizable.d.ts.map +1 -1
- package/dist/components/ui/atoms/resizable.js +1 -1
- package/dist/components/ui/atoms/scroll-area.d.ts +1 -1
- package/dist/components/ui/atoms/scroll-area.d.ts.map +1 -1
- package/dist/components/ui/atoms/select.d.ts +1 -1
- package/dist/components/ui/atoms/select.d.ts.map +1 -1
- package/dist/components/ui/atoms/select.js +36 -36
- package/dist/components/ui/atoms/separator.d.ts +1 -1
- package/dist/components/ui/atoms/separator.d.ts.map +1 -1
- package/dist/components/ui/atoms/sheet.d.ts +1 -1
- package/dist/components/ui/atoms/sheet.d.ts.map +1 -1
- package/dist/components/ui/atoms/sheet.js +10 -10
- package/dist/components/ui/atoms/sidebar.d.ts +1 -1
- package/dist/components/ui/atoms/sidebar.d.ts.map +1 -1
- package/dist/components/ui/atoms/sidebar.js +24 -24
- package/dist/components/ui/atoms/slider.d.ts +1 -1
- package/dist/components/ui/atoms/slider.d.ts.map +1 -1
- package/dist/components/ui/atoms/slider.js +1 -1
- package/dist/components/ui/atoms/switch.d.ts +1 -1
- package/dist/components/ui/atoms/switch.d.ts.map +1 -1
- package/dist/components/ui/atoms/table.d.ts.map +1 -1
- package/dist/components/ui/atoms/tabs.d.ts +1 -1
- package/dist/components/ui/atoms/tabs.d.ts.map +1 -1
- package/dist/components/ui/atoms/textarea.d.ts.map +1 -1
- package/dist/components/ui/atoms/toggle.d.ts +1 -1
- package/dist/components/ui/atoms/toggle.d.ts.map +1 -1
- package/dist/components/ui/atoms/toggle.js +12 -12
- package/dist/components/ui/atoms/tooltip.d.ts +1 -1
- package/dist/components/ui/atoms/tooltip.d.ts.map +1 -1
- package/dist/components/ui/atoms/view-tools-control.d.ts.map +1 -1
- package/dist/components/ui/atoms/view-tools-control.js +10 -10
- package/dist/components/ui/blocks/demo.d.ts +2 -0
- package/dist/components/ui/blocks/demo.d.ts.map +1 -0
- package/dist/components/ui/blocks/demo.js +186 -0
- package/dist/components/ui/index.js +2 -2
- package/dist/components/ui/molecules/date-time-picker.d.ts +1 -1
- package/dist/components/ui/molecules/date-time-picker.d.ts.map +1 -1
- package/dist/components/ui/molecules/date-time-picker.js +14 -14
- package/dist/components/ui/molecules/index.js +1 -1
- package/dist/components/ui/molecules/requirement-badges.d.ts.map +1 -1
- package/dist/components/ui/molecules/requirement-badges.js +3 -3
- package/dist/components/ui/molecules/tool-card.d.ts.map +1 -1
- package/dist/components/ui/molecules/tool-card.js +16 -16
- package/dist/components/ui/molecules/toolkit-card.d.ts +1 -1
- package/dist/components/ui/molecules/toolkit-card.d.ts.map +1 -1
- package/dist/components/ui/molecules/toolkit-card.js +4 -4
- package/dist/components/ui/molecules/toolkit-picker-trigger.d.ts.map +1 -1
- package/dist/components/ui/molecules/toolkit-picker-trigger.js +13 -13
- package/dist/components/ui/molecules/toolkit-selection-summary.d.ts.map +1 -1
- package/dist/components/ui/molecules/toolkit-selection-summary.js +1 -1
- package/dist/components/ui/organisms/toolkit-picker/components/action-buttons.js +1 -1
- package/dist/components/ui/organisms/toolkit-picker/components/filter-badges.js +10 -10
- package/dist/components/ui/organisms/toolkit-picker/components/search-input.js +2 -2
- package/dist/components/ui/organisms/toolkit-picker/components/select-button.js +1 -1
- package/dist/components/ui/organisms/toolkit-picker/components/toolkit-card-with-selection.d.ts.map +1 -1
- package/dist/components/ui/organisms/toolkit-picker/components/toolkit-card-with-selection.js +1 -1
- package/dist/components/ui/organisms/toolkit-picker/components/toolkit-list.d.ts.map +1 -1
- package/dist/components/ui/organisms/toolkit-picker/components/toolkit-list.js +7 -7
- package/dist/components/ui/organisms/toolkit-picker/components/tools-list.d.ts.map +1 -1
- package/dist/components/ui/organisms/toolkit-picker/components/tools-list.js +2 -2
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker.d.ts +1 -1
- package/dist/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker.d.ts.map +1 -1
- package/dist/components/ui/organisms/toolkit-picker/index.d.ts.map +1 -1
- package/dist/components/ui/organisms/toolkit-picker/mocks/toolkit-collection.d.ts.map +1 -1
- package/dist/components/ui/organisms/toolkit-picker/toolkit-picker.js +34 -34
- package/dist/components/ui/organisms/toolkit-picker/utils/toolkit-grouping.d.ts.map +1 -1
- package/dist/lib/arcade/arcade.d.ts.map +1 -1
- package/dist/main.js +2 -2
- package/dist/metadata/toolkit-icons.d.ts.map +1 -1
- package/dist/{toolkit-card-Cmp_yG03.js → toolkit-card-BTFS_2j_.js} +13 -13
- package/package.json +8 -34
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DateTimePicker as e } from "./date-time-picker.js";
|
|
2
2
|
import { EmptyState as m } from "./empty-state.js";
|
|
3
|
-
import { R as a, T as p } from "../../../toolkit-card-
|
|
3
|
+
import { R as a, T as p } from "../../../toolkit-card-BTFS_2j_.js";
|
|
4
4
|
import { ToolCard as f } from "./tool-card.js";
|
|
5
5
|
import { ToolkitPickerTrigger as k } from "./toolkit-picker-trigger.js";
|
|
6
6
|
import { ToolkitSelectionSummary as c } from "./toolkit-selection-summary.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requirement-badges.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/requirement-badges.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"requirement-badges.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/requirement-badges.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,MAAM,cAAc,GAAG;IAAE,UAAU,EAAE,MAAM,EAAE,CAAC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AACzE,MAAM,MAAM,aAAa,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,QAAQ,GAAG,UAAU,CAAC;IAC9B,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB,CAAC;AACF,MAAM,MAAM,YAAY,GAAG;IAAE,SAAS,EAAE,aAAa,EAAE,CAAA;CAAE,CAAC;AA2H1D,iBAAS,qBAAqB,CAAC,EAC7B,mBAAmB,EACnB,MAAc,EACd,KAAa,EACb,cAAc,GACf,EAAE;IACD,mBAAmB,EAAE;QACnB,OAAO,CAAC,EAAE,cAAc,CAAC;QACzB,KAAK,CAAC,EAAE,YAAY,CAAC;KACtB,CAAC;IACF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,kDA0BA;AAOD,QAAA,MAAM,YAAY,sDApKf;IACD,OAAO,EAAE,cAAc,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,6CA0LC,CAAC;AAEH,QAAA,MAAM,UAAU,oDAhIb;IACD,KAAK,EAAE,YAAY,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,6CA2JC,CAAC;AAEH,QAAA,MAAM,iBAAiB,yDAWtB,CAAC;AAEF,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
-
import "../../../utils-6KgZuQUR.js";
|
|
3
2
|
import "lucide-react";
|
|
3
|
+
import "react";
|
|
4
|
+
import "../../../utils-6KgZuQUR.js";
|
|
4
5
|
import "../atoms/badge.js";
|
|
5
6
|
import "../atoms/byoc-badge.js";
|
|
6
|
-
import "react";
|
|
7
7
|
import "../atoms/chart.js";
|
|
8
8
|
import "../atoms/mobile-tooltip.js";
|
|
9
9
|
import "../atoms/pro-badge.js";
|
|
@@ -11,7 +11,7 @@ import "../../../react-resizable-panels.browser-DYl0LXfw.js";
|
|
|
11
11
|
import "../atoms/sidebar.js";
|
|
12
12
|
import "../atoms/tooltip.js";
|
|
13
13
|
import "./date-time-picker.js";
|
|
14
|
-
import { O as q, R as x, S as A } from "../../../toolkit-card-
|
|
14
|
+
import { O as q, R as x, S as A } from "../../../toolkit-card-BTFS_2j_.js";
|
|
15
15
|
import "./tool-card.js";
|
|
16
16
|
import "../../../metadata/oauth-providers.js";
|
|
17
17
|
import "../../../metadata/toolkits.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-card.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/tool-card.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tool-card.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/tool-card.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAY7C,MAAM,MAAM,aAAa,GAAG;IAC1B,oBAAoB,EAAE,MAAM,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,GAAG,CAAC,OAAO,CAAC;IACtD,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,CAAC;AAE3D,iBAAS,YAAY,CAAC,EACpB,oBAAoB,EACpB,IAAI,EACJ,WAAW,EACX,WAAW,EACX,IAA+B,EAC/B,UAAkB,EAClB,QAAQ,EACR,YAAoB,EACpB,GAAG,IAAI,EACR,EAAE,aAAa,eAgIf;AAcD,eAAO,MAAM,QAAQ,gDAAoD,CAAC"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { jsx as r, jsxs as a } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { Card as D, CardContent as I } from "../atoms/card.js";
|
|
4
|
-
import { Checkbox as P } from "../atoms/checkbox.js";
|
|
5
|
-
import { Collapsible as j, CollapsibleTrigger as K, CollapsibleContent as T } from "../atoms/collapsible.js";
|
|
6
|
-
import { useIsTruncated as S } from "../../../hooks/use-is-truncated.js";
|
|
7
|
-
import { c as d } from "../../../utils-6KgZuQUR.js";
|
|
8
|
-
import { Wrench as z } from "lucide-react";
|
|
2
|
+
import { Wrench as E } from "lucide-react";
|
|
9
3
|
import * as t from "react";
|
|
4
|
+
import { Button as D } from "../atoms/button.js";
|
|
5
|
+
import { Card as I, CardContent as P } from "../atoms/card.js";
|
|
6
|
+
import { Checkbox as j } from "../atoms/checkbox.js";
|
|
7
|
+
import { Collapsible as K, CollapsibleTrigger as T, CollapsibleContent as S } from "../atoms/collapsible.js";
|
|
8
|
+
import { useIsTruncated as z } from "../../../hooks/use-is-truncated.js";
|
|
9
|
+
import { c as d } from "../../../utils-6KgZuQUR.js";
|
|
10
10
|
import { createPropsComparator as _ } from "../utils/memo.js";
|
|
11
11
|
function R({
|
|
12
12
|
fully_qualified_name: m,
|
|
13
13
|
name: k,
|
|
14
14
|
toolkitName: p,
|
|
15
15
|
description: h,
|
|
16
|
-
Icon: b = (s) => /* @__PURE__ */ r(
|
|
16
|
+
Icon: b = (s) => /* @__PURE__ */ r(E, { ...s }),
|
|
17
17
|
isSelected: o = !1,
|
|
18
18
|
onSelect: l,
|
|
19
19
|
hideCheckbox: u = !1,
|
|
@@ -22,7 +22,7 @@ function R({
|
|
|
22
22
|
const s = t.useCallback(
|
|
23
23
|
() => l?.(!o),
|
|
24
24
|
[o, l]
|
|
25
|
-
), [n, C] = t.useState(!1), { ref: y, isTruncated: v } =
|
|
25
|
+
), [n, C] = t.useState(!1), { ref: y, isTruncated: v } = z(!n), w = (e) => {
|
|
26
26
|
const i = e.key === "Enter" || e.code === "Enter", c = e.key === " " || e.key === "Spacebar" || e.code === "Space";
|
|
27
27
|
(i || c) && (e.preventDefault(), s());
|
|
28
28
|
}, N = t.useCallback(
|
|
@@ -35,7 +35,7 @@ function R({
|
|
|
35
35
|
(i || c) && e.stopPropagation();
|
|
36
36
|
}, []);
|
|
37
37
|
return /* @__PURE__ */ r(
|
|
38
|
-
|
|
38
|
+
I,
|
|
39
39
|
{
|
|
40
40
|
...x,
|
|
41
41
|
className: d(
|
|
@@ -48,7 +48,7 @@ function R({
|
|
|
48
48
|
onClick: s,
|
|
49
49
|
onKeyDown: w,
|
|
50
50
|
tabIndex: 0,
|
|
51
|
-
children: /* @__PURE__ */ r(
|
|
51
|
+
children: /* @__PURE__ */ r(P, { className: "px-3", children: /* @__PURE__ */ a(
|
|
52
52
|
"div",
|
|
53
53
|
{
|
|
54
54
|
className: d(
|
|
@@ -58,7 +58,7 @@ function R({
|
|
|
58
58
|
),
|
|
59
59
|
children: [
|
|
60
60
|
!u && /* @__PURE__ */ r("div", { className: "flex items-center justify-center pt-1.5", children: /* @__PURE__ */ r(
|
|
61
|
-
|
|
61
|
+
j,
|
|
62
62
|
{
|
|
63
63
|
"aria-label": `Select ${m}`,
|
|
64
64
|
checked: o,
|
|
@@ -76,7 +76,7 @@ function R({
|
|
|
76
76
|
p && /* @__PURE__ */ r("span", { className: "font-medium text-neutral-500 text-xs leading-tight dark:text-neutral-400", children: p })
|
|
77
77
|
] })
|
|
78
78
|
] }),
|
|
79
|
-
h && /* @__PURE__ */ a(
|
|
79
|
+
h && /* @__PURE__ */ a(K, { onOpenChange: C, open: n, children: [
|
|
80
80
|
/* @__PURE__ */ a("div", { className: "space-y-1", children: [
|
|
81
81
|
/* @__PURE__ */ r(
|
|
82
82
|
"p",
|
|
@@ -89,8 +89,8 @@ function R({
|
|
|
89
89
|
children: h
|
|
90
90
|
}
|
|
91
91
|
),
|
|
92
|
-
v && /* @__PURE__ */ r(
|
|
93
|
-
|
|
92
|
+
v && /* @__PURE__ */ r(T, { asChild: !0, children: /* @__PURE__ */ a(
|
|
93
|
+
D,
|
|
94
94
|
{
|
|
95
95
|
className: "h-auto px-0",
|
|
96
96
|
onClick: f,
|
|
@@ -104,7 +104,7 @@ function R({
|
|
|
104
104
|
}
|
|
105
105
|
) })
|
|
106
106
|
] }),
|
|
107
|
-
/* @__PURE__ */ r(
|
|
107
|
+
/* @__PURE__ */ r(S, {})
|
|
108
108
|
] })
|
|
109
109
|
] }),
|
|
110
110
|
/* @__PURE__ */ r("div", { className: "w-8" })
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolkit-card.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/toolkit-card.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"toolkit-card.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/toolkit-card.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAI7C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAI5D,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,GAAG,CAAC,OAAO,CAAC;IACtD,mBAAmB,EAAE,gBAAgB,CAAC,qBAAqB,CAAC,CAAC;IAC7D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,CAAC;AAgD3D,iBAAS,eAAe,CAAC,EACvB,IAAI,EACJ,OAAO,EACP,UAAU,EACV,IAAgC,EAChC,UAAkB,EAClB,mBAA2B,EAC3B,kBAAsB,EACtB,mBAAmB,EACnB,QAAQ,EACR,MAAM,EACN,YAAoB,EACpB,MAAM,EACN,KAAK,EACL,GAAG,IAAI,EACR,EAAE,gBAAgB,eAmJlB;AAmBD,eAAO,MAAM,WAAW,mDAGvB,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
|
+
import "../../../index-r7CUvu2m.js";
|
|
3
|
+
import "lucide-react";
|
|
4
|
+
import "react";
|
|
2
5
|
import "../atoms/card.js";
|
|
3
6
|
import "../atoms/checkbox.js";
|
|
4
7
|
import "../atoms/view-tools-control.js";
|
|
5
8
|
import "../../../utils-6KgZuQUR.js";
|
|
6
|
-
import "../../../
|
|
7
|
-
import "lucide-react";
|
|
8
|
-
import "react";
|
|
9
|
-
import { T as k } from "../../../toolkit-card-Cmp_yG03.js";
|
|
9
|
+
import { T as k } from "../../../toolkit-card-BTFS_2j_.js";
|
|
10
10
|
import "../utils/memo.js";
|
|
11
11
|
export {
|
|
12
12
|
k as ToolkitCard
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolkit-picker-trigger.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/toolkit-picker-trigger.tsx"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"toolkit-picker-trigger.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/toolkit-picker-trigger.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAUtD,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,GAAG;IAC5E,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,wBAAgB,oBAAoB,CAAC,EACnC,eAAmB,EACnB,SAAS,EACT,SAAsB,EACtB,OAAe,EACf,GAAG,WAAW,EACf,EAAE,yBAAyB,2CAsH3B"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as e, jsxs as t, Fragment as h } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { Loader2 as T, Package as w } from "lucide-react";
|
|
3
|
+
import { Badge as C } from "../atoms/badge.js";
|
|
4
|
+
import { Button as y } from "../atoms/button.js";
|
|
5
|
+
import { Tooltip as z, TooltipTrigger as M, TooltipContent as P } from "../atoms/tooltip.js";
|
|
5
6
|
import { c as g } from "../../../utils-6KgZuQUR.js";
|
|
6
|
-
import { getToolkitIcon as
|
|
7
|
-
import { Loader2 as P, Package as S } from "lucide-react";
|
|
7
|
+
import { getToolkitIcon as S } from "../../../metadata/toolkit-icons.js";
|
|
8
8
|
import { useToolkitPicker as j } from "../organisms/toolkit-picker/hooks/use-toolkit-picker.js";
|
|
9
9
|
function D({
|
|
10
10
|
maxVisibleIcons: k = 2,
|
|
@@ -17,13 +17,13 @@ function D({
|
|
|
17
17
|
state: { committedToolkits: f, committedTools: N }
|
|
18
18
|
} = j(), o = Array.from(f.keys()), l = o.length, x = N.size, c = o.slice(0, k).map((a) => {
|
|
19
19
|
const r = f.get(a);
|
|
20
|
-
return
|
|
20
|
+
return S(r?.metadata?.id);
|
|
21
21
|
}), p = Math.max(l - c.length, 0), v = s === "tools";
|
|
22
22
|
let d = "MCP Servers", m = l;
|
|
23
23
|
v && (d = "Tools", m = x);
|
|
24
24
|
let u = `Select ${s === "tools" ? "Tools" : "MCP Servers"}`;
|
|
25
25
|
return n ? u = "Loading MCP servers..." : l > 0 && (u = `${m} ${d.toLowerCase()} selected`), /* @__PURE__ */ e(
|
|
26
|
-
|
|
26
|
+
y,
|
|
27
27
|
{
|
|
28
28
|
...i,
|
|
29
29
|
"aria-label": u,
|
|
@@ -32,14 +32,14 @@ function D({
|
|
|
32
32
|
size: i.size ?? "sm",
|
|
33
33
|
variant: i.variant ?? "outline",
|
|
34
34
|
children: n ? /* @__PURE__ */ t(h, { children: [
|
|
35
|
-
/* @__PURE__ */ e(
|
|
35
|
+
/* @__PURE__ */ e(T, { className: "h-4 w-4 animate-spin" }),
|
|
36
36
|
/* @__PURE__ */ t("div", { className: "flex items-center gap-2", children: [
|
|
37
37
|
/* @__PURE__ */ e("div", { className: "h-4 w-16 animate-pulse rounded bg-neutral-200 dark:bg-neutral-700" }),
|
|
38
38
|
/* @__PURE__ */ e("div", { className: "h-5 w-6 animate-pulse rounded-full bg-neutral-200 dark:bg-neutral-700" })
|
|
39
39
|
] })
|
|
40
40
|
] }) : /* @__PURE__ */ t(h, { children: [
|
|
41
|
-
l > 0 && /* @__PURE__ */ t(
|
|
42
|
-
/* @__PURE__ */ e(
|
|
41
|
+
l > 0 && /* @__PURE__ */ t(z, { children: [
|
|
42
|
+
/* @__PURE__ */ e(M, { asChild: !0, children: /* @__PURE__ */ t("span", { className: "mr-2 flex items-center", children: [
|
|
43
43
|
c.map((a, r) => /* @__PURE__ */ e(
|
|
44
44
|
"div",
|
|
45
45
|
{
|
|
@@ -61,7 +61,7 @@ function D({
|
|
|
61
61
|
}
|
|
62
62
|
)
|
|
63
63
|
] }) }),
|
|
64
|
-
/* @__PURE__ */ e(
|
|
64
|
+
/* @__PURE__ */ e(P, { side: "bottom", sideOffset: 6, children: /* @__PURE__ */ e("div", { className: "text-xs", children: /* @__PURE__ */ t("ul", { className: "list-disc space-y-1 pl-4", children: [
|
|
65
65
|
/* @__PURE__ */ t("li", { children: [
|
|
66
66
|
/* @__PURE__ */ e("span", { className: "font-semibold text-neutral-800 dark:text-neutral-200", children: "MCP Servers" }),
|
|
67
67
|
/* @__PURE__ */ t("span", { className: "text-neutral-700 dark:text-neutral-300", children: [
|
|
@@ -80,7 +80,7 @@ function D({
|
|
|
80
80
|
] }) }) })
|
|
81
81
|
] }),
|
|
82
82
|
l === 0 && /* @__PURE__ */ t(h, { children: [
|
|
83
|
-
/* @__PURE__ */ e(
|
|
83
|
+
/* @__PURE__ */ e(w, { className: "h-4 w-4" }),
|
|
84
84
|
/* @__PURE__ */ t("span", { className: "truncate text-sm", children: [
|
|
85
85
|
"Select ",
|
|
86
86
|
s === "tools" ? "Tools" : "MCP Servers"
|
|
@@ -88,7 +88,7 @@ function D({
|
|
|
88
88
|
] }),
|
|
89
89
|
l > 0 && /* @__PURE__ */ t("span", { className: "inline-flex items-center gap-2 truncate text-sm", children: [
|
|
90
90
|
d,
|
|
91
|
-
/* @__PURE__ */ e(
|
|
91
|
+
/* @__PURE__ */ e(C, { className: "px-1.5 py-0 text-[11px]", variant: "default", children: m })
|
|
92
92
|
] })
|
|
93
93
|
] })
|
|
94
94
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolkit-selection-summary.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/toolkit-selection-summary.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"toolkit-selection-summary.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/molecules/toolkit-selection-summary.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mEAAmE,CAAC;AAG7G,MAAM,MAAM,4BAA4B,GAAG;IACzC,gBAAgB,EAAE,mBAAmB,CAAC;IACtC,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B,CAAC;AAGF,wBAAgB,uBAAuB,CAAC,EACtC,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,WAAW,EACX,kBAAkB,EAClB,aAAa,GACd,EAAE,4BAA4B,2CA6G9B"}
|
|
@@ -7,7 +7,7 @@ import "../atoms/chart.js";
|
|
|
7
7
|
import "../../../react-resizable-panels.browser-DYl0LXfw.js";
|
|
8
8
|
import "../atoms/sidebar.js";
|
|
9
9
|
import "./date-time-picker.js";
|
|
10
|
-
import "../../../toolkit-card-
|
|
10
|
+
import "../../../toolkit-card-BTFS_2j_.js";
|
|
11
11
|
import "./tool-card.js";
|
|
12
12
|
import { getToolkitIcon as z } from "../../../metadata/toolkit-icons.js";
|
|
13
13
|
import "../organisms/toolkit-picker/hooks/use-toolkit-picker.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as l, jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { Button as r } from "../../../atoms/button.js";
|
|
3
2
|
import { X as v, CheckSquare as x } from "lucide-react";
|
|
3
|
+
import { Button as r } from "../../../atoms/button.js";
|
|
4
4
|
import { useToolkitPicker as b } from "../hooks/use-toolkit-picker.js";
|
|
5
5
|
function y({ selectionMode: o }) {
|
|
6
6
|
const {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { FilterIcon as m, X as l, Search as x } from "lucide-react";
|
|
3
|
+
import { Badge as i } from "../../../atoms/badge.js";
|
|
4
|
+
import { getToolkitIcon as b } from "../../../../../metadata/toolkit-icons.js";
|
|
5
5
|
import { useToolkitPicker as h } from "../hooks/use-toolkit-picker.js";
|
|
6
6
|
function y() {
|
|
7
7
|
const {
|
|
@@ -12,13 +12,13 @@ function y() {
|
|
|
12
12
|
} = h();
|
|
13
13
|
return t || a ? /* @__PURE__ */ r("div", { className: "mb-2 flex flex-wrap items-center gap-2", children: [
|
|
14
14
|
t && /* @__PURE__ */ r(
|
|
15
|
-
|
|
15
|
+
i,
|
|
16
16
|
{
|
|
17
17
|
className: "h-8 border border-purple-200 bg-purple-50 pr-1.5 pl-2 text-purple-800 shadow-sm ring-1 ring-purple-200/50 dark:border-purple-800/60 dark:bg-purple-950/40 dark:text-purple-200 dark:ring-purple-800/30",
|
|
18
18
|
variant: "secondary",
|
|
19
19
|
children: [
|
|
20
20
|
/* @__PURE__ */ r("span", { className: "mr-1.5 inline-flex items-center gap-1 rounded-full bg-purple-100 px-1.5 py-0.5 text-[10px] text-purple-700 dark:bg-purple-800/60 dark:text-purple-200", children: [
|
|
21
|
-
/* @__PURE__ */ e(
|
|
21
|
+
/* @__PURE__ */ e(m, { className: "h-3 w-3" }),
|
|
22
22
|
"Filter"
|
|
23
23
|
] }),
|
|
24
24
|
/* @__PURE__ */ r(
|
|
@@ -32,7 +32,7 @@ function y() {
|
|
|
32
32
|
(() => {
|
|
33
33
|
const c = Array.from(d).find(
|
|
34
34
|
(u) => u.name === t
|
|
35
|
-
), p =
|
|
35
|
+
), p = b(c?.metadata?.id);
|
|
36
36
|
return /* @__PURE__ */ e(p, { className: "h-3.5 w-3.5" });
|
|
37
37
|
})(),
|
|
38
38
|
/* @__PURE__ */ e("span", { className: "font-medium text-xs", children: t })
|
|
@@ -47,20 +47,20 @@ function y() {
|
|
|
47
47
|
"data-testid": "clear-filter",
|
|
48
48
|
onClick: n,
|
|
49
49
|
type: "button",
|
|
50
|
-
children: /* @__PURE__ */ e(
|
|
50
|
+
children: /* @__PURE__ */ e(l, { className: "h-3.5 w-3.5" })
|
|
51
51
|
}
|
|
52
52
|
)
|
|
53
53
|
]
|
|
54
54
|
}
|
|
55
55
|
),
|
|
56
56
|
a && /* @__PURE__ */ r(
|
|
57
|
-
|
|
57
|
+
i,
|
|
58
58
|
{
|
|
59
59
|
className: "h-8 border border-teal-200 bg-teal-50 pr-1.5 pl-2 text-teal-800 shadow-sm ring-1 ring-teal-200/50 dark:border-teal-800/60 dark:bg-teal-950/40 dark:text-teal-200 dark:ring-teal-800/30",
|
|
60
60
|
variant: "secondary",
|
|
61
61
|
children: [
|
|
62
62
|
/* @__PURE__ */ r("span", { className: "mr-1.5 inline-flex items-center gap-1 rounded-full bg-teal-100 px-1.5 py-0.5 text-[10px] text-teal-700 dark:bg-teal-800/60 dark:text-teal-200", children: [
|
|
63
|
-
/* @__PURE__ */ e(
|
|
63
|
+
/* @__PURE__ */ e(x, { className: "h-3 w-3" }),
|
|
64
64
|
"Search"
|
|
65
65
|
] }),
|
|
66
66
|
/* @__PURE__ */ r("span", { className: "font-medium text-xs", children: [
|
|
@@ -76,7 +76,7 @@ function y() {
|
|
|
76
76
|
"data-testid": "clear-search",
|
|
77
77
|
onClick: o,
|
|
78
78
|
type: "button",
|
|
79
|
-
children: /* @__PURE__ */ e(
|
|
79
|
+
children: /* @__PURE__ */ e(l, { className: "h-3.5 w-3.5" })
|
|
80
80
|
}
|
|
81
81
|
)
|
|
82
82
|
]
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { Search as y } from "lucide-react";
|
|
3
|
-
import "../../../atoms/mobile-tooltip.js";
|
|
4
3
|
import { useRef as T } from "react";
|
|
4
|
+
import "../../../atoms/mobile-tooltip.js";
|
|
5
5
|
import "../../../atoms/chart.js";
|
|
6
6
|
import { Input as k } from "../../../atoms/input.js";
|
|
7
7
|
import "../../../../../react-resizable-panels.browser-DYl0LXfw.js";
|
|
8
8
|
import "../../../atoms/sidebar.js";
|
|
9
9
|
import "../../../molecules/date-time-picker.js";
|
|
10
|
-
import "../../../../../toolkit-card-
|
|
10
|
+
import "../../../../../toolkit-card-BTFS_2j_.js";
|
|
11
11
|
import "../../../molecules/tool-card.js";
|
|
12
12
|
import "../../../../../metadata/oauth-providers.js";
|
|
13
13
|
import "../../../../../metadata/toolkits.js";
|
|
@@ -7,7 +7,7 @@ import "../../../atoms/chart.js";
|
|
|
7
7
|
import "../../../../../react-resizable-panels.browser-DYl0LXfw.js";
|
|
8
8
|
import "../../../atoms/sidebar.js";
|
|
9
9
|
import "../../../molecules/date-time-picker.js";
|
|
10
|
-
import "../../../../../toolkit-card-
|
|
10
|
+
import "../../../../../toolkit-card-BTFS_2j_.js";
|
|
11
11
|
import "../../../molecules/tool-card.js";
|
|
12
12
|
import "../../../../../metadata/oauth-providers.js";
|
|
13
13
|
import "../../../../../metadata/toolkits.js";
|
package/dist/components/ui/organisms/toolkit-picker/components/toolkit-card-with-selection.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolkit-card-with-selection.d.ts","sourceRoot":"","sources":["../../../../../../lib/components/ui/organisms/toolkit-picker/components/toolkit-card-with-selection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"toolkit-card-with-selection.d.ts","sourceRoot":"","sources":["../../../../../../lib/components/ui/organisms/toolkit-picker/components/toolkit-card-with-selection.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAG5D,MAAM,MAAM,6BAA6B,GAAG;IAC1C,OAAO,EAAE,gBAAgB,CAAC;IAC1B,aAAa,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B,QAAQ,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,aAAa,EAAE,QAAQ,GAAG,OAAO,CAAC;CACnC,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,EACvC,OAAO,EACP,aAAa,EACb,QAAQ,EACR,MAAM,EACN,aAAa,GACd,EAAE,6BAA6B,2CA4B/B"}
|
package/dist/components/ui/organisms/toolkit-picker/components/toolkit-card-with-selection.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { T as c } from "../../../../../toolkit-card-
|
|
2
|
+
import { T as c } from "../../../../../toolkit-card-BTFS_2j_.js";
|
|
3
3
|
import { getToolkitIcon as d } from "../../../../../metadata/toolkit-icons.js";
|
|
4
4
|
function g({
|
|
5
5
|
toolkit: e,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolkit-list.d.ts","sourceRoot":"","sources":["../../../../../../lib/components/ui/organisms/toolkit-picker/components/toolkit-list.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"toolkit-list.d.ts","sourceRoot":"","sources":["../../../../../../lib/components/ui/organisms/toolkit-picker/components/toolkit-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAO9C,KAAK,gBAAgB,GAAG;IACtB,aAAa,EAAE,aAAa,CAAC;IAC7B,kBAAkB,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CACtD,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAC1B,aAAa,EACb,kBAAkB,GACnB,EAAE,gBAAgB,2CAoLlB"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as t, jsxs as o } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as P } from "react";
|
|
2
3
|
import { VirtualizedGrid as h } from "../../../atoms/virtualized-grid.js";
|
|
3
4
|
import "../../../molecules/date-time-picker.js";
|
|
4
|
-
import { EmptyState as
|
|
5
|
-
import "../../../../../toolkit-card-
|
|
5
|
+
import { EmptyState as R } from "../../../molecules/empty-state.js";
|
|
6
|
+
import "../../../../../toolkit-card-BTFS_2j_.js";
|
|
6
7
|
import "../../../molecules/tool-card.js";
|
|
8
|
+
import "lucide-react";
|
|
7
9
|
import "../../../../../metadata/oauth-providers.js";
|
|
8
10
|
import "../../../../../metadata/toolkits.js";
|
|
9
|
-
import "
|
|
10
|
-
import { useToolkitPicker as R } from "../hooks/use-toolkit-picker.js";
|
|
11
|
+
import { useToolkitPicker as A } from "../hooks/use-toolkit-picker.js";
|
|
11
12
|
import "../../../atoms/mobile-tooltip.js";
|
|
12
|
-
import { useMemo as A } from "react";
|
|
13
13
|
import "../../../atoms/chart.js";
|
|
14
14
|
import "../../../../../react-resizable-panels.browser-DYl0LXfw.js";
|
|
15
15
|
import "../../../atoms/sidebar.js";
|
|
@@ -36,7 +36,7 @@ function ee({
|
|
|
36
36
|
setActiveTab: y,
|
|
37
37
|
setToolkitFilter: N,
|
|
38
38
|
toggleUnoptimizedToolkits: w
|
|
39
|
-
} =
|
|
39
|
+
} = A(), c = L(), { selectedToolkitItems: l, featuredToolkitItems: a, unselectedToolkitItems: p } = P(() => {
|
|
40
40
|
const e = Array.from(d), u = new Set(
|
|
41
41
|
U.map((r) => r.toLowerCase())
|
|
42
42
|
), b = e.filter(
|
|
@@ -62,7 +62,7 @@ function ee({
|
|
|
62
62
|
onToggle: w
|
|
63
63
|
}
|
|
64
64
|
) : /* @__PURE__ */ t(
|
|
65
|
-
|
|
65
|
+
R,
|
|
66
66
|
{
|
|
67
67
|
"data-testid": "empty-toolkits",
|
|
68
68
|
description: "Try a different search term",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools-list.d.ts","sourceRoot":"","sources":["../../../../../../lib/components/ui/organisms/toolkit-picker/components/tools-list.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tools-list.d.ts","sourceRoot":"","sources":["../../../../../../lib/components/ui/organisms/toolkit-picker/components/tools-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAM9C,KAAK,cAAc,GAAG;IACpB,aAAa,EAAE,aAAa,CAAC;IAC7B,kBAAkB,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;CACtD,CAAC;AAEF,wBAAgB,SAAS,CAAC,EACxB,aAAa,EACb,kBAAkB,GACnB,EAAE,cAAc,2CAgIhB"}
|
|
@@ -2,10 +2,10 @@ import { jsx as t, jsxs as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { VirtualizedGrid as g } from "../../../atoms/virtualized-grid.js";
|
|
3
3
|
import "../../../molecules/date-time-picker.js";
|
|
4
4
|
import { EmptyState as C } from "../../../molecules/empty-state.js";
|
|
5
|
-
import "../../../../../toolkit-card-
|
|
5
|
+
import "../../../../../toolkit-card-BTFS_2j_.js";
|
|
6
6
|
import { ToolCard as S } from "../../../molecules/tool-card.js";
|
|
7
|
-
import { getToolkitIcon as q } from "../../../../../metadata/toolkit-icons.js";
|
|
8
7
|
import "lucide-react";
|
|
8
|
+
import { getToolkitIcon as q } from "../../../../../metadata/toolkit-icons.js";
|
|
9
9
|
import { useToolkitPicker as z } from "../hooks/use-toolkit-picker.js";
|
|
10
10
|
import "../../../atoms/mobile-tooltip.js";
|
|
11
11
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ProcessedTool, ProcessedToolkit, ToolkitCollection } from '../../../../../lib/arcade/arcade';
|
|
2
1
|
import { ReactNode } from 'react';
|
|
2
|
+
import { ProcessedTool, ProcessedToolkit, ToolkitCollection } from '../../../../../lib/arcade/arcade';
|
|
3
3
|
import { SelectionMode } from '../index';
|
|
4
4
|
export type ToolkitPickerInitialProps = {
|
|
5
5
|
selectedToolkits?: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-toolkit-picker.d.ts","sourceRoot":"","sources":["../../../../../../lib/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker.tsx"],"names":[],"mappings":"AAAA,kGAAkG;AAElG,OAAO,KAAK,EACV,aAAa,EACb,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,
|
|
1
|
+
{"version":3,"file":"use-toolkit-picker.d.ts","sourceRoot":"","sources":["../../../../../../lib/components/ui/organisms/toolkit-picker/hooks/use-toolkit-picker.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/components/ui/organisms/toolkit-picker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/components/ui/organisms/toolkit-picker/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EACL,KAAK,yBAAyB,EAE/B,MAAM,4BAA4B,CAAC;AAGpC,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE/C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE;QACzB,gBAAgB,EAAE,MAAM,EAAE,CAAC;QAC3B,aAAa,EAAE,MAAM,EAAE,CAAC;KACzB,KAAK,IAAI,CAAC;IACX,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,YAAY,CAAC,EAAE,yBAAyB,CAAC;CAC1C,CAAC;AAEF,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,2CAUtD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toolkit-collection.d.ts","sourceRoot":"","sources":["../../../../../../lib/components/ui/organisms/toolkit-picker/mocks/toolkit-collection.ts"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EAGV,OAAO,EACP,iBAAiB,EAClB,MAAM,
|
|
1
|
+
{"version":3,"file":"toolkit-collection.d.ts","sourceRoot":"","sources":["../../../../../../lib/components/ui/organisms/toolkit-picker/mocks/toolkit-collection.ts"],"names":[],"mappings":"AAAA,OAAO,8BAA8B,CAAC;AAEtC,OAAO,KAAK,EAGV,OAAO,EACP,iBAAiB,EAClB,MAAM,qBAAqB,CAAC;AA+C7B,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAoThD,CAAC;AAGF,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAChC,iBAAiB,CA4JnB;AAGD,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAyEtD,CAAC;AAEF,eAAO,MAAM,qBAAqB,mBAA4C,CAAC;AAC/E,eAAO,MAAM,2BAA2B,mBACS,CAAC;AAGlD,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CA2LpD,CAAC;AAEF,eAAO,MAAM,yBAAyB,mBACS,CAAC;AAGhD,wBAAgB,oBAAoB,CAClC,OAAO,GAAE;IACP,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CACxB,GACL,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CA6MzB"}
|