@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
|
@@ -1811,8 +1811,8 @@ function AgentWorkbenchExploreSidebar({
|
|
|
1811
1811
|
),
|
|
1812
1812
|
children: [
|
|
1813
1813
|
/* @__PURE__ */ jsxs("div", { className: "shrink-0 space-y-3 px-4 pb-2 pt-4", children: [
|
|
1814
|
-
/* @__PURE__ */ jsxs(InputGroup, { className: "h-12 rounded-
|
|
1815
|
-
/* @__PURE__ */ jsx(InputGroupAddon, { children: /* @__PURE__ */ jsx(Search, { className: "size-4 text-
|
|
1814
|
+
/* @__PURE__ */ jsxs(InputGroup, { className: "h-12 rounded-[var(--radius)] border-border bg-card text-foreground", children: [
|
|
1815
|
+
/* @__PURE__ */ jsx(InputGroupAddon, { children: /* @__PURE__ */ jsx(Search, { className: "size-4 text-muted-foreground", "aria-hidden": "true" }) }),
|
|
1816
1816
|
/* @__PURE__ */ jsx(
|
|
1817
1817
|
InputGroupInput,
|
|
1818
1818
|
{
|
|
@@ -1821,17 +1821,17 @@ function AgentWorkbenchExploreSidebar({
|
|
|
1821
1821
|
value: searchQuery,
|
|
1822
1822
|
"aria-label": labels.search,
|
|
1823
1823
|
placeholder: labels.search,
|
|
1824
|
-
className: "min-w-0 text-
|
|
1824
|
+
className: "min-w-0 text-foreground placeholder:text-muted-foreground [&::-webkit-search-cancel-button]:hidden",
|
|
1825
1825
|
onChange: (event) => onIntent?.({ type: "change-search", query: event.target.value })
|
|
1826
1826
|
}
|
|
1827
1827
|
),
|
|
1828
|
-
/* @__PURE__ */ jsx(InputGroupAddon, { align: "inline-end", children: /* @__PURE__ */ jsx("kbd", { className: "rounded border border-
|
|
1828
|
+
/* @__PURE__ */ jsx(InputGroupAddon, { align: "inline-end", children: /* @__PURE__ */ jsx("kbd", { className: "rounded-sm border border-border px-1.5 py-0.5 text-[10px] text-muted-foreground", children: "Ctrl K" }) })
|
|
1829
1829
|
] }),
|
|
1830
1830
|
/* @__PURE__ */ jsxs(
|
|
1831
1831
|
Button,
|
|
1832
1832
|
{
|
|
1833
1833
|
type: "button",
|
|
1834
|
-
className: "h-11 w-full justify-start gap-2 rounded-
|
|
1834
|
+
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",
|
|
1835
1835
|
onClick: () => onIntent?.({ type: "create-session" }),
|
|
1836
1836
|
children: [
|
|
1837
1837
|
/* @__PURE__ */ jsx(SquarePen, { className: "size-4", "aria-hidden": "true" }),
|
|
@@ -1840,13 +1840,13 @@ function AgentWorkbenchExploreSidebar({
|
|
|
1840
1840
|
}
|
|
1841
1841
|
)
|
|
1842
1842
|
] }),
|
|
1843
|
-
/* @__PURE__ */ jsx("div", { className: "min-h-[160px] flex-[0_1_280px] overflow-y-auto px-4 pb-3", children: loading && sessions.length === 0 ? /* @__PURE__ */ jsx("div", { className: "flex h-24 items-center justify-center text-
|
|
1843
|
+
/* @__PURE__ */ jsx("div", { className: "min-h-[160px] flex-[0_1_280px] overflow-y-auto px-4 pb-3", children: loading && sessions.length === 0 ? /* @__PURE__ */ jsx("div", { className: "flex h-24 items-center justify-center text-muted-foreground", children: /* @__PURE__ */ jsx(Loader2, { className: "size-5 animate-spin" }) }) : filteredSessions.length === 0 && !draftVisible ? /* @__PURE__ */ jsx("div", { className: "px-3 py-8 text-center text-sm text-muted-foreground", children: normalizedQuery ? labels.noResults : labels.emptySessions }) : /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
1844
1844
|
draftVisible ? /* @__PURE__ */ jsx(
|
|
1845
1845
|
"button",
|
|
1846
1846
|
{
|
|
1847
1847
|
type: "button",
|
|
1848
1848
|
"aria-current": "page",
|
|
1849
|
-
className: "block h-10 w-full truncate rounded-
|
|
1849
|
+
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",
|
|
1850
1850
|
onClick: () => onIntent?.({ type: "create-session" }),
|
|
1851
1851
|
children: labels.draftSession
|
|
1852
1852
|
}
|
|
@@ -1856,18 +1856,18 @@ function AgentWorkbenchExploreSidebar({
|
|
|
1856
1856
|
{
|
|
1857
1857
|
type: "button",
|
|
1858
1858
|
"aria-current": session.id === selectedSessionId ? "page" : void 0,
|
|
1859
|
-
className: "block h-10 w-full truncate rounded-
|
|
1859
|
+
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",
|
|
1860
1860
|
onClick: () => onIntent?.({ type: "select-session", sessionId: session.id }),
|
|
1861
1861
|
children: session.title
|
|
1862
1862
|
},
|
|
1863
1863
|
session.id
|
|
1864
1864
|
))
|
|
1865
1865
|
] }) }),
|
|
1866
|
-
activeGroup ? /* @__PURE__ */ jsxs("div", { className: "shrink-0 border-t border-
|
|
1866
|
+
activeGroup ? /* @__PURE__ */ jsxs("div", { className: "shrink-0 border-t border-border px-4 pb-4 pt-3", children: [
|
|
1867
1867
|
/* @__PURE__ */ jsx(Tabs, { value: activeGroup.id, onValueChange: changeGroup, children: /* @__PURE__ */ jsx(
|
|
1868
1868
|
TabsList,
|
|
1869
1869
|
{
|
|
1870
|
-
className: "grid h-10 w-full rounded-
|
|
1870
|
+
className: "grid h-10 w-full rounded-[var(--radius)] bg-muted p-0.5 text-muted-foreground",
|
|
1871
1871
|
style: {
|
|
1872
1872
|
gridTemplateColumns: `repeat(${groups.length}, minmax(0, 1fr))`
|
|
1873
1873
|
},
|
|
@@ -1875,7 +1875,7 @@ function AgentWorkbenchExploreSidebar({
|
|
|
1875
1875
|
TabsTrigger,
|
|
1876
1876
|
{
|
|
1877
1877
|
value: group.id,
|
|
1878
|
-
className: "rounded-
|
|
1878
|
+
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",
|
|
1879
1879
|
children: group.label
|
|
1880
1880
|
},
|
|
1881
1881
|
group.id
|
|
@@ -1887,7 +1887,7 @@ function AgentWorkbenchExploreSidebar({
|
|
|
1887
1887
|
{
|
|
1888
1888
|
type: "button",
|
|
1889
1889
|
"aria-label": item.title,
|
|
1890
|
-
className: "group relative aspect-[1.27] overflow-hidden rounded-
|
|
1890
|
+
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",
|
|
1891
1891
|
style: Number.isFinite(activeGroup.itemAspectRatio) && Number(activeGroup.itemAspectRatio) > 0 ? { aspectRatio: activeGroup.itemAspectRatio } : void 0,
|
|
1892
1892
|
onClick: () => onIntent?.({
|
|
1893
1893
|
type: "select-item",
|