@arcadeai/design-system 3.33.1 → 3.34.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.
- package/dist/assets/icons/daytona.js +6 -6
- package/dist/components/index.js +595 -567
- package/dist/components/ui/atoms/avatar-notification-badge.d.ts +34 -0
- package/dist/components/ui/atoms/avatar-notification-badge.d.ts.map +1 -0
- package/dist/components/ui/atoms/avatar-notification-badge.js +78 -0
- package/dist/components/ui/atoms/command.js +288 -364
- package/dist/components/ui/atoms/copy-button.d.ts.map +1 -1
- package/dist/components/ui/atoms/copy-button.js +3 -2
- package/dist/components/ui/atoms/dropdown-menu.js +1 -1
- package/dist/components/ui/atoms/hover-card.js +1 -1
- package/dist/components/ui/atoms/icons/daytona.d.ts.map +1 -1
- package/dist/components/ui/atoms/icons/daytona.js +9 -14
- package/dist/components/ui/atoms/index.d.ts +3 -0
- package/dist/components/ui/atoms/index.d.ts.map +1 -1
- package/dist/components/ui/atoms/index.js +512 -504
- package/dist/components/ui/atoms/json-highlight.d.ts +60 -0
- package/dist/components/ui/atoms/json-highlight.d.ts.map +1 -0
- package/dist/components/ui/atoms/json-highlight.js +77 -0
- package/dist/components/ui/atoms/markdown.js +1 -1
- package/dist/components/ui/atoms/popover.js +1 -1
- package/dist/components/ui/atoms/scroll-button.js +8 -8
- package/dist/components/ui/atoms/select.js +1 -1
- package/dist/components/ui/atoms/tooltip.js +1 -1
- package/dist/components/ui/atoms/view-tools-control.d.ts +1 -1
- package/dist/components/ui/atoms/view-tools-control.d.ts.map +1 -1
- package/dist/components/ui/atoms/view-tools-control.js +20 -19
- package/dist/components/ui/index.js +595 -567
- package/dist/components/ui/molecules/chat-message-list.d.ts +5 -2
- package/dist/components/ui/molecules/chat-message-list.d.ts.map +1 -1
- package/dist/components/ui/molecules/chat-message-list.js +2 -2
- package/dist/components/ui/molecules/index.d.ts +8 -0
- package/dist/components/ui/molecules/index.d.ts.map +1 -1
- package/dist/components/ui/molecules/index.js +48 -28
- package/dist/components/ui/molecules/message.js +1 -1
- package/dist/components/ui/molecules/prompt-input.js +20 -20
- package/dist/components/ui/molecules/requirement-badges.js +9 -5
- package/dist/components/ui/molecules/switcher.d.ts +83 -0
- package/dist/components/ui/molecules/switcher.d.ts.map +1 -0
- package/dist/components/ui/molecules/switcher.js +164 -0
- package/dist/components/ui/molecules/tool-authorization.d.ts +56 -0
- package/dist/components/ui/molecules/tool-authorization.d.ts.map +1 -0
- package/dist/components/ui/molecules/tool-authorization.js +160 -0
- package/dist/components/ui/molecules/tool-call-accordion.d.ts +36 -0
- package/dist/components/ui/molecules/tool-call-accordion.d.ts.map +1 -0
- package/dist/components/ui/molecules/tool-call-accordion.js +301 -0
- package/dist/components/ui/molecules/toolkit-card.js +1 -1
- package/dist/components/ui/molecules/user-nav.d.ts +65 -0
- package/dist/components/ui/molecules/user-nav.d.ts.map +1 -0
- package/dist/components/ui/molecules/user-nav.js +154 -0
- package/dist/components/ui/pages/chat-page.d.ts +18 -10
- package/dist/components/ui/pages/chat-page.d.ts.map +1 -1
- package/dist/components/ui/pages/chat-page.js +328 -243
- package/dist/components/ui/templates/chat-template.d.ts +1 -1
- package/dist/components/ui/templates/chat-template.d.ts.map +1 -1
- package/dist/components/ui/templates/chat-template.js +11 -11
- package/dist/highlighted-body-TPN3WLV5-DyOGcftJ.js +19 -0
- package/dist/index-BEZCAdXQ.js +1568 -0
- package/dist/main.js +621 -593
- package/dist/{markdown-ChximrBv.js → markdown-9KGBuupR.js} +6264 -6046
- package/dist/mermaid-O7DHMXV3-CUp9wvRi.js +4 -0
- package/dist/{toolkit-card-Cb-KDQhU.js → toolkit-card-DAgQXF93.js} +14 -11
- package/package.json +1 -1
- package/dist/highlighted-body-B3W2YXNL-D6XBJnwx.js +0 -19
- package/dist/index-DO05OIM5.js +0 -1545
- package/dist/mermaid-3ZIDBTTL-DtIP-JZq.js +0 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-template.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/templates/chat-template.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAKpC,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAE5D,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,2CAWtE;AAID,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;AAErE,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,GAAG,KAAK,EACT,EAAE,uBAAuB,2CAWzB;AAID,MAAM,MAAM,4BAA4B,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEvE,wBAAgB,uBAAuB,CAAC,EACtC,SAAS,EACT,GAAG,KAAK,EACT,EAAE,4BAA4B,2CAQ9B;AAID,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAEhE,wBAAgB,gBAAgB,CAAC,EAC/B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,qBAAqB,2CAWvB;AAID,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,cAAc,CAAC,
|
|
1
|
+
{"version":3,"file":"chat-template.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/templates/chat-template.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAKpC,MAAM,MAAM,iBAAiB,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;AAE5D,wBAAgB,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,2CAWtE;AAID,MAAM,MAAM,uBAAuB,GAAG,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;AAErE,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,E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|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function s({
|
|
33
33
|
className: t,
|
|
34
34
|
...e
|
|
35
35
|
}) {
|
|
@@ -42,7 +42,7 @@ function i({
|
|
|
42
42
|
}
|
|
43
43
|
);
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function i({
|
|
46
46
|
className: t,
|
|
47
47
|
...e
|
|
48
48
|
}) {
|
|
@@ -58,12 +58,12 @@ function s({
|
|
|
58
58
|
}
|
|
59
59
|
);
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function c({
|
|
62
62
|
className: t,
|
|
63
63
|
...e
|
|
64
64
|
}) {
|
|
65
65
|
return /* @__PURE__ */ a(
|
|
66
|
-
"
|
|
66
|
+
"footer",
|
|
67
67
|
{
|
|
68
68
|
className: l(
|
|
69
69
|
"mx-auto flex w-full flex-col gap-1.5 px-4 pt-2 pb-4 md:max-w-3xl md:pb-6",
|
|
@@ -74,7 +74,7 @@ function d({
|
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function d({
|
|
78
78
|
className: t,
|
|
79
79
|
...e
|
|
80
80
|
}) {
|
|
@@ -122,7 +122,7 @@ function x({
|
|
|
122
122
|
}
|
|
123
123
|
);
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function f({
|
|
126
126
|
className: t,
|
|
127
127
|
...e
|
|
128
128
|
}) {
|
|
@@ -137,12 +137,12 @@ function u({
|
|
|
137
137
|
}
|
|
138
138
|
export {
|
|
139
139
|
m as ChatTemplate,
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
i as ChatTemplateBody,
|
|
141
|
+
c as ChatTemplateFooter,
|
|
142
142
|
n as ChatTemplateHeader,
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
s as ChatTemplateHeaderGroup,
|
|
144
|
+
d as ChatTemplateOverview,
|
|
145
145
|
x as ChatTemplateOverviewSubtitle,
|
|
146
146
|
p as ChatTemplateOverviewTitle,
|
|
147
|
-
|
|
147
|
+
f as ChatTemplateSuggestions
|
|
148
148
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { R as n, a as c, B as f } from "./markdown-9KGBuupR.js";
|
|
2
|
+
import { useContext as d, useState as p, useEffect as B } from "react";
|
|
3
|
+
import { jsx as x } from "react/jsx-runtime";
|
|
4
|
+
var L = ({ code: s, language: e, raw: a, className: l, startLine: g, ...m }) => {
|
|
5
|
+
let { shikiTheme: i } = d(n), t = c(), [u, r] = p(a);
|
|
6
|
+
return B(() => {
|
|
7
|
+
if (!t) {
|
|
8
|
+
r(a);
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
let o = t.highlight({ code: s, language: e, themes: i }, (h) => {
|
|
12
|
+
r(h);
|
|
13
|
+
});
|
|
14
|
+
o && r(o);
|
|
15
|
+
}, [s, e, i, t, a]), x(f, { className: l, language: e, result: u, startLine: g, ...m });
|
|
16
|
+
};
|
|
17
|
+
export {
|
|
18
|
+
L as HighlightedCodeBlockBody
|
|
19
|
+
};
|