@inf-monkeys-tech/monkeys-design 1.0.60 → 1.0.61
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/dist/components/agent-workbench/index.js +12 -12
- package/dist/components/agent-workbench/index.js.map +1 -1
- package/dist/components/agent-workbench/index.mjs +12 -12
- package/dist/components/agent-workbench/index.mjs.map +1 -1
- package/dist/components/data-explorer/index.d.mts +3 -3
- package/dist/components/data-explorer/index.d.ts +3 -3
- package/dist/components/data-explorer/index.js +85 -0
- package/dist/components/data-explorer/index.js.map +1 -1
- package/dist/components/data-explorer/index.mjs +85 -1
- package/dist/components/data-explorer/index.mjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +97 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +97 -13
- package/dist/index.mjs.map +1 -1
- package/dist/provider/index.d.mts +1 -1
- package/dist/provider/index.d.ts +1 -1
- package/dist/styles.css +1 -1
- package/dist/{theme-14445419d731.d.mts → theme-18525cb7bef0.d.ts} +3 -2
- package/dist/{theme-c5a0144240a1.d.ts → theme-7ae346c5b5d1.d.mts} +3 -2
- package/dist/{types-21f4ff60e931.d.mts → types-c2dd7eeeadcd.d.mts} +19 -2
- package/dist/{types-21f4ff60e931.d.ts → types-c2dd7eeeadcd.d.ts} +19 -2
- package/package.json +1 -1
|
@@ -1842,8 +1842,8 @@ function AgentWorkbenchExploreSidebar({
|
|
|
1842
1842
|
),
|
|
1843
1843
|
children: [
|
|
1844
1844
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "shrink-0 space-y-3 px-4 pb-2 pt-4", children: [
|
|
1845
|
-
/* @__PURE__ */ jsxRuntime.jsxs(InputGroup, { className: "h-12 rounded-
|
|
1846
|
-
/* @__PURE__ */ jsxRuntime.jsx(InputGroupAddon, { children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Search, { className: "size-4 text-
|
|
1845
|
+
/* @__PURE__ */ jsxRuntime.jsxs(InputGroup, { className: "h-12 rounded-[var(--radius)] border-border bg-card text-foreground", children: [
|
|
1846
|
+
/* @__PURE__ */ jsxRuntime.jsx(InputGroupAddon, { children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Search, { className: "size-4 text-muted-foreground", "aria-hidden": "true" }) }),
|
|
1847
1847
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1848
1848
|
InputGroupInput,
|
|
1849
1849
|
{
|
|
@@ -1852,17 +1852,17 @@ function AgentWorkbenchExploreSidebar({
|
|
|
1852
1852
|
value: searchQuery,
|
|
1853
1853
|
"aria-label": labels.search,
|
|
1854
1854
|
placeholder: labels.search,
|
|
1855
|
-
className: "min-w-0 text-
|
|
1855
|
+
className: "min-w-0 text-foreground placeholder:text-muted-foreground [&::-webkit-search-cancel-button]:hidden",
|
|
1856
1856
|
onChange: (event) => onIntent?.({ type: "change-search", query: event.target.value })
|
|
1857
1857
|
}
|
|
1858
1858
|
),
|
|
1859
|
-
/* @__PURE__ */ jsxRuntime.jsx(InputGroupAddon, { align: "inline-end", children: /* @__PURE__ */ jsxRuntime.jsx("kbd", { className: "rounded border border-
|
|
1859
|
+
/* @__PURE__ */ jsxRuntime.jsx(InputGroupAddon, { align: "inline-end", children: /* @__PURE__ */ jsxRuntime.jsx("kbd", { className: "rounded-sm border border-border px-1.5 py-0.5 text-[10px] text-muted-foreground", children: "Ctrl K" }) })
|
|
1860
1860
|
] }),
|
|
1861
1861
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1862
1862
|
Button,
|
|
1863
1863
|
{
|
|
1864
1864
|
type: "button",
|
|
1865
|
-
className: "h-11 w-full justify-start gap-2 rounded-
|
|
1865
|
+
className: "h-11 w-full justify-start gap-2 rounded-[var(--radius)] border border-primary/60 bg-primary px-3 font-semibold text-primary-foreground hover:bg-primary/90",
|
|
1866
1866
|
onClick: () => onIntent?.({ type: "create-session" }),
|
|
1867
1867
|
children: [
|
|
1868
1868
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.SquarePen, { className: "size-4", "aria-hidden": "true" }),
|
|
@@ -1871,13 +1871,13 @@ function AgentWorkbenchExploreSidebar({
|
|
|
1871
1871
|
}
|
|
1872
1872
|
)
|
|
1873
1873
|
] }),
|
|
1874
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-[160px] flex-[0_1_280px] overflow-y-auto px-4 pb-3", children: loading && sessions.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-24 items-center justify-center text-
|
|
1874
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-h-[160px] flex-[0_1_280px] overflow-y-auto px-4 pb-3", children: loading && sessions.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-24 items-center justify-center text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Loader2, { className: "size-5 animate-spin" }) }) : filteredSessions.length === 0 && !draftVisible ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3 py-8 text-center text-sm text-muted-foreground", children: normalizedQuery ? labels.noResults : labels.emptySessions }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
1875
1875
|
draftVisible ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
1876
1876
|
"button",
|
|
1877
1877
|
{
|
|
1878
1878
|
type: "button",
|
|
1879
1879
|
"aria-current": "page",
|
|
1880
|
-
className: "block h-10 w-full truncate rounded-
|
|
1880
|
+
className: "block h-10 w-full truncate rounded-[var(--radius)] border border-primary bg-primary/10 px-3 text-left text-sm font-semibold text-foreground",
|
|
1881
1881
|
onClick: () => onIntent?.({ type: "create-session" }),
|
|
1882
1882
|
children: labels.draftSession
|
|
1883
1883
|
}
|
|
@@ -1887,18 +1887,18 @@ function AgentWorkbenchExploreSidebar({
|
|
|
1887
1887
|
{
|
|
1888
1888
|
type: "button",
|
|
1889
1889
|
"aria-current": session.id === selectedSessionId ? "page" : void 0,
|
|
1890
|
-
className: "block h-10 w-full truncate rounded-
|
|
1890
|
+
className: "block h-10 w-full truncate rounded-[var(--radius)] border border-transparent bg-muted/60 px-3 text-left text-sm font-semibold text-foreground transition hover:bg-muted aria-[current=page]:border-primary aria-[current=page]:bg-primary/10",
|
|
1891
1891
|
onClick: () => onIntent?.({ type: "select-session", sessionId: session.id }),
|
|
1892
1892
|
children: session.title
|
|
1893
1893
|
},
|
|
1894
1894
|
session.id
|
|
1895
1895
|
))
|
|
1896
1896
|
] }) }),
|
|
1897
|
-
activeGroup ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "shrink-0 border-t border-
|
|
1897
|
+
activeGroup ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "shrink-0 border-t border-border px-4 pb-4 pt-3", children: [
|
|
1898
1898
|
/* @__PURE__ */ jsxRuntime.jsx(Tabs, { value: activeGroup.id, onValueChange: changeGroup, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
1899
1899
|
TabsList,
|
|
1900
1900
|
{
|
|
1901
|
-
className: "grid h-10 w-full rounded-
|
|
1901
|
+
className: "grid h-10 w-full rounded-[var(--radius)] bg-muted p-0.5 text-muted-foreground",
|
|
1902
1902
|
style: {
|
|
1903
1903
|
gridTemplateColumns: `repeat(${groups.length}, minmax(0, 1fr))`
|
|
1904
1904
|
},
|
|
@@ -1906,7 +1906,7 @@ function AgentWorkbenchExploreSidebar({
|
|
|
1906
1906
|
TabsTrigger,
|
|
1907
1907
|
{
|
|
1908
1908
|
value: group.id,
|
|
1909
|
-
className: "rounded-
|
|
1909
|
+
className: "rounded-md text-sm font-semibold text-muted-foreground data-[state=active]:border data-[state=active]:border-border data-[state=active]:bg-background data-[state=active]:text-foreground",
|
|
1910
1910
|
children: group.label
|
|
1911
1911
|
},
|
|
1912
1912
|
group.id
|
|
@@ -1918,7 +1918,7 @@ function AgentWorkbenchExploreSidebar({
|
|
|
1918
1918
|
{
|
|
1919
1919
|
type: "button",
|
|
1920
1920
|
"aria-label": item.title,
|
|
1921
|
-
className: "group relative aspect-[1.27] overflow-hidden rounded-
|
|
1921
|
+
className: "group relative aspect-[1.27] overflow-hidden rounded-[var(--radius)] border border-border bg-card text-left transition hover:border-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
1922
1922
|
style: Number.isFinite(activeGroup.itemAspectRatio) && Number(activeGroup.itemAspectRatio) > 0 ? { aspectRatio: activeGroup.itemAspectRatio } : void 0,
|
|
1923
1923
|
onClick: () => onIntent?.({
|
|
1924
1924
|
type: "select-item",
|