@arcadeai/design-system 3.33.1 → 3.33.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/dist/assets/icons/daytona.js +6 -6
- package/dist/components/index.js +2 -2
- 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.js +1 -1
- package/dist/components/ui/atoms/markdown.js +1 -1
- package/dist/components/ui/atoms/popover.js +1 -1
- package/dist/components/ui/atoms/select.js +1 -1
- package/dist/components/ui/atoms/tooltip.js +1 -1
- package/dist/components/ui/index.js +2 -2
- package/dist/components/ui/molecules/index.js +1 -1
- package/dist/components/ui/molecules/message.js +1 -1
- package/dist/components/ui/molecules/requirement-badges.js +2 -2
- package/dist/components/ui/molecules/toolkit-card.js +1 -1
- package/dist/highlighted-body-TPN3WLV5-DyOGcftJ.js +19 -0
- package/dist/index-BEZCAdXQ.js +1568 -0
- package/dist/main.js +2 -2
- 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-k8jio69G.js} +1 -1
- 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":"copy-button.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/copy-button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAyB,MAAM,OAAO,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAKtD,KAAK,eAAe,GAAG;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;AAElC,iBAAS,UAAU,CAAC,EAClB,OAAO,EACP,MAAM,EACN,SAAS,EACT,OAAiB,EACjB,IAAa,EACb,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"copy-button.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/copy-button.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAyB,MAAM,OAAO,CAAC;AACnE,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAKtD,KAAK,eAAe,GAAG;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;AAElC,iBAAS,UAAU,CAAC,EAClB,OAAO,EACP,MAAM,EACN,SAAS,EACT,OAAiB,EACjB,IAAa,EACb,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,eAAe,2CAuCjB;AAED,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,YAAY,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t, jsxs as u } from "react/jsx-runtime";
|
|
2
2
|
import { Copy as d, Check as f } from "lucide-react";
|
|
3
|
-
import { useState as
|
|
3
|
+
import { useState as y, useCallback as C } from "react";
|
|
4
4
|
import { Button as b } from "./button.js";
|
|
5
5
|
import { cn as a } from "../../../lib/utils.js";
|
|
6
6
|
const x = 2e3;
|
|
@@ -13,7 +13,7 @@ function k({
|
|
|
13
13
|
children: n,
|
|
14
14
|
...p
|
|
15
15
|
}) {
|
|
16
|
-
const [e, s] =
|
|
16
|
+
const [e, s] = y(!1), m = C(async () => {
|
|
17
17
|
await navigator.clipboard.writeText(o), s(!0), setTimeout(() => s(!1), x), i?.();
|
|
18
18
|
}, [o, i]);
|
|
19
19
|
return /* @__PURE__ */ t(
|
|
@@ -24,6 +24,7 @@ function k({
|
|
|
24
24
|
disabled: e,
|
|
25
25
|
onClick: m,
|
|
26
26
|
size: c,
|
|
27
|
+
type: "button",
|
|
27
28
|
variant: r,
|
|
28
29
|
...p,
|
|
29
30
|
children: n ?? /* @__PURE__ */ u("span", { className: "relative flex size-4 items-center justify-center", children: [
|
|
@@ -12,7 +12,7 @@ import { u as Pn } from "../../../index-ByaXH_ih.js";
|
|
|
12
12
|
import { P as En, D as yn } from "../../../index-DrFfdHac.js";
|
|
13
13
|
import { h as Nn, u as Tn, R as An, F as On } from "../../../index-CvA4FcaC.js";
|
|
14
14
|
import { u as V } from "../../../index-Cv867SGx.js";
|
|
15
|
-
import { R as Ce, A as kn, c as _e, C as Ln, a as Gn } from "../../../index-
|
|
15
|
+
import { R as Ce, A as kn, c as _e, C as Ln, a as Gn } from "../../../index-BEZCAdXQ.js";
|
|
16
16
|
import { P as Y } from "../../../index-BaLuVb4t.js";
|
|
17
17
|
import { c as Re, I as Fn, R as Kn } from "../../../index-Dz8CQngS.js";
|
|
18
18
|
import { u as te } from "../../../index-0ioNhtNM.js";
|
|
@@ -5,7 +5,7 @@ import { c as l } from "../../../index-B695uy69.js";
|
|
|
5
5
|
import { c as F } from "../../../index-DFZozV_h.js";
|
|
6
6
|
import { u as I } from "../../../index-437EL2iq.js";
|
|
7
7
|
import { u as U } from "../../../index-D2LZVjSn.js";
|
|
8
|
-
import { R as $, A as W, c as T, C as z, a as B } from "../../../index-
|
|
8
|
+
import { R as $, A as W, c as T, C as z, a as B } from "../../../index-BEZCAdXQ.js";
|
|
9
9
|
import { P as G, D as K } from "../../../index-DrFfdHac.js";
|
|
10
10
|
import { P as H } from "../../../index-BaLuVb4t.js";
|
|
11
11
|
import { P as j } from "../../../index-DLohNuco.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"daytona.d.ts","sourceRoot":"","sources":["../../../../../lib/components/ui/atoms/icons/daytona.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,eAAO,MAAM,OAAO,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,
|
|
1
|
+
{"version":3,"file":"daytona.d.ts","sourceRoot":"","sources":["../../../../../lib/components/ui/atoms/icons/daytona.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,eAAO,MAAM,OAAO,GAAI,OAAO,QAAQ,CAAC,aAAa,CAAC,4CAYrD,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,25 +1,20 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
const
|
|
1
|
+
import { jsxs as o, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
const m = (h) => /* @__PURE__ */ o(
|
|
3
3
|
"svg",
|
|
4
4
|
{
|
|
5
5
|
fill: "currentColor",
|
|
6
|
-
viewBox: "
|
|
6
|
+
viewBox: "192 120 68 80",
|
|
7
7
|
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
-
...
|
|
8
|
+
...h,
|
|
9
9
|
children: [
|
|
10
10
|
/* @__PURE__ */ t("title", { children: "Daytona" }),
|
|
11
|
-
/* @__PURE__ */ t("path", { d: "
|
|
12
|
-
/* @__PURE__ */ t("path", { d: "
|
|
13
|
-
/* @__PURE__ */ t("path", { d: "
|
|
14
|
-
/* @__PURE__ */ t("path", { d: "M89.157 170.084L24.175 105.102L0 129.277L64.9819 194.259L89.157 170.084Z" }),
|
|
15
|
-
/* @__PURE__ */ t("path", { d: "M174.629 217.911L106.133 286.407L81.9577 262.232L150.454 193.736L174.629 217.911Z" }),
|
|
16
|
-
/* @__PURE__ */ t("path", { d: "M174.106 132.44L250.66 208.994L274.835 184.819L198.281 108.265L174.106 132.44Z" }),
|
|
17
|
-
/* @__PURE__ */ t("path", { d: "M88.6338 48.434V131.057H54.4451L54.4451 48.434H88.6338Z" }),
|
|
18
|
-
/* @__PURE__ */ t("path", { d: "M208.294 168.094V270.66H174.106V168.094H208.294Z" })
|
|
11
|
+
/* @__PURE__ */ t("path", { d: "M195.994 172.235h24.929v8.547h-24.929zm33.477-29.915h28.491v8.547h-28.491zm-14.958 2.634 21.153-21.153 6.044 6.044-21.153 21.153z" }),
|
|
12
|
+
/* @__PURE__ */ t("path", { d: "m214.644 166.322-16.246-16.246-6.043 6.044 16.245 16.246zm21.368 11.957-17.124 17.124-6.044-6.044 17.124-17.124zm-.131-21.368 19.139 19.139 6.043-6.044-19.138-19.139zm-21.368-21.002v20.656h-8.547v-20.656z" }),
|
|
13
|
+
/* @__PURE__ */ t("path", { d: "M244.428 165.825v25.642h-8.547v-25.642z" })
|
|
19
14
|
]
|
|
20
15
|
}
|
|
21
16
|
);
|
|
22
17
|
export {
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
m as Daytona,
|
|
19
|
+
m as default
|
|
25
20
|
};
|
|
@@ -166,7 +166,7 @@ import { Zoom as Pm } from "./icons/zoom.js";
|
|
|
166
166
|
import { Input as ym } from "./input.js";
|
|
167
167
|
import { Label as Lm } from "./label.js";
|
|
168
168
|
import { Loader as Fm } from "./loader.js";
|
|
169
|
-
import { M as Om } from "../../../markdown-
|
|
169
|
+
import { M as Om } from "../../../markdown-9KGBuupR.js";
|
|
170
170
|
import { MobileTooltip as Em, MobileTooltipContent as zm, MobileTooltipProvider as Wm, MobileTooltipTrigger as Zm } from "./mobile-tooltip.js";
|
|
171
171
|
import { Popover as Nm, PopoverAnchor as Jm, PopoverContent as Xm, PopoverTrigger as Ym } from "./popover.js";
|
|
172
172
|
import { ProBadge as Um } from "./pro-badge.js";
|
|
@@ -7,7 +7,7 @@ import { c as G } from "../../../index-DFZozV_h.js";
|
|
|
7
7
|
import { P as H, D as K } from "../../../index-DrFfdHac.js";
|
|
8
8
|
import { h as j, R as U, u as V, F as W } from "../../../index-CvA4FcaC.js";
|
|
9
9
|
import { u as Z } from "../../../index-Cv867SGx.js";
|
|
10
|
-
import { R as q, A as _, c as x, C as B, a as J } from "../../../index-
|
|
10
|
+
import { R as q, A as _, c as x, C as B, a as J } from "../../../index-BEZCAdXQ.js";
|
|
11
11
|
import { P as w } from "../../../index-BaLuVb4t.js";
|
|
12
12
|
import { P as b } from "../../../index-DLohNuco.js";
|
|
13
13
|
import { u as Q } from "../../../index-437EL2iq.js";
|
|
@@ -12,7 +12,7 @@ import { u as pt } from "../../../index-ByaXH_ih.js";
|
|
|
12
12
|
import { P as ft, D as mt } from "../../../index-DrFfdHac.js";
|
|
13
13
|
import { h as ht, u as vt, R as gt, F as St } from "../../../index-CvA4FcaC.js";
|
|
14
14
|
import { u as Te } from "../../../index-Cv867SGx.js";
|
|
15
|
-
import { R as wt, A as xt, c as Me, C as Ct, a as yt } from "../../../index-
|
|
15
|
+
import { R as wt, A as xt, c as Me, C as Ct, a as yt } from "../../../index-BEZCAdXQ.js";
|
|
16
16
|
import { P as M } from "../../../index-DLohNuco.js";
|
|
17
17
|
import { u as It } from "../../../index-0ioNhtNM.js";
|
|
18
18
|
import { u as Re } from "../../../index-437EL2iq.js";
|
|
@@ -6,7 +6,7 @@ import { u as S, a as W } from "../../../index-D2LZVjSn.js";
|
|
|
6
6
|
import { c as J } from "../../../index-DFZozV_h.js";
|
|
7
7
|
import { P as Q, D as Z } from "../../../index-DrFfdHac.js";
|
|
8
8
|
import { u as ee } from "../../../index-Cv867SGx.js";
|
|
9
|
-
import { R as te, A as oe, a as re, c as G, C as ne } from "../../../index-
|
|
9
|
+
import { R as te, A as oe, a as re, c as G, C as ne } from "../../../index-BEZCAdXQ.js";
|
|
10
10
|
import { P as j } from "../../../index-BaLuVb4t.js";
|
|
11
11
|
import { P as se } from "../../../index-DLohNuco.js";
|
|
12
12
|
import { u as ae } from "../../../index-437EL2iq.js";
|
|
@@ -166,7 +166,7 @@ import { Zoom as vm } from "./atoms/icons/zoom.js";
|
|
|
166
166
|
import { Input as Im } from "./atoms/input.js";
|
|
167
167
|
import { Label as Lm } from "./atoms/label.js";
|
|
168
168
|
import { Loader as Fm } from "./atoms/loader.js";
|
|
169
|
-
import { M as Rm } from "../../markdown-
|
|
169
|
+
import { M as Rm } from "../../markdown-9KGBuupR.js";
|
|
170
170
|
import { MobileTooltip as Em, MobileTooltipContent as zm, MobileTooltipProvider as Wm, MobileTooltipTrigger as Zm } from "./atoms/mobile-tooltip.js";
|
|
171
171
|
import { Popover as Nm, PopoverAnchor as Jm, PopoverContent as Um, PopoverTrigger as Xm } from "./atoms/popover.js";
|
|
172
172
|
import { ProBadge as Qm } from "./atoms/pro-badge.js";
|
|
@@ -194,7 +194,7 @@ import { DateTimePicker as Jl } from "./molecules/date-time-picker.js";
|
|
|
194
194
|
import { EmptyState as Xl } from "./molecules/empty-state.js";
|
|
195
195
|
import { Message as Ql, MessageAction as jl, MessageActions as Kl, MessageAvatar as _l, MessageContent as $l } from "./molecules/message.js";
|
|
196
196
|
import { PromptInput as rf, PromptInputAction as ef, PromptInputActions as tf, PromptInputTextarea as af } from "./molecules/prompt-input.js";
|
|
197
|
-
import { R as mf, T as lf } from "../../toolkit-card-
|
|
197
|
+
import { R as mf, T as lf } from "../../toolkit-card-k8jio69G.js";
|
|
198
198
|
import { StepsProgress as nf } from "./molecules/steps-progress.js";
|
|
199
199
|
import { SuggestionCard as df } from "./molecules/suggestion-card.js";
|
|
200
200
|
import { ToolCard as sf } from "./molecules/tool-card.js";
|
|
@@ -3,7 +3,7 @@ import { DateTimePicker as m } from "./date-time-picker.js";
|
|
|
3
3
|
import { EmptyState as g } from "./empty-state.js";
|
|
4
4
|
import { Message as x, MessageAction as f, MessageActions as C, MessageAvatar as M, MessageContent as c } from "./message.js";
|
|
5
5
|
import { PromptInput as A, PromptInputAction as P, PromptInputActions as d, PromptInputTextarea as I } from "./prompt-input.js";
|
|
6
|
-
import { R as h, T as S } from "../../../toolkit-card-
|
|
6
|
+
import { R as h, T as S } from "../../../toolkit-card-k8jio69G.js";
|
|
7
7
|
import { StepsProgress as l } from "./steps-progress.js";
|
|
8
8
|
import { SuggestionCard as q } from "./suggestion-card.js";
|
|
9
9
|
import { ToolCard as y } from "./tool-card.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { Avatar as c, AvatarImage as m, AvatarFallback as l } from "../atoms/avatar.js";
|
|
3
|
-
import { M as d } from "../../../markdown-
|
|
3
|
+
import { M as d } from "../../../markdown-9KGBuupR.js";
|
|
4
4
|
import { TooltipProvider as p, Tooltip as u, TooltipTrigger as f, TooltipContent as g } from "../atoms/tooltip.js";
|
|
5
5
|
import { cn as n } from "../../../lib/utils.js";
|
|
6
6
|
function N({ children: e, className: t, ...r }) {
|
|
@@ -5,7 +5,7 @@ import "../../../lib/utils.js";
|
|
|
5
5
|
import "../atoms/badge.js";
|
|
6
6
|
import "../atoms/byoc-badge.js";
|
|
7
7
|
import "../atoms/chart.js";
|
|
8
|
-
import "../../../markdown-
|
|
8
|
+
import "../../../markdown-9KGBuupR.js";
|
|
9
9
|
import "../atoms/mobile-tooltip.js";
|
|
10
10
|
import "../atoms/pro-badge.js";
|
|
11
11
|
import "../../../react-resizable-panels.browser-DYl0LXfw.js";
|
|
@@ -13,7 +13,7 @@ import "../atoms/tooltip.js";
|
|
|
13
13
|
import "../atoms/sidebar.js";
|
|
14
14
|
import "./date-time-picker.js";
|
|
15
15
|
import "./prompt-input.js";
|
|
16
|
-
import { O as n, R as q, S as x } from "../../../toolkit-card-
|
|
16
|
+
import { O as n, R as q, S as x } from "../../../toolkit-card-k8jio69G.js";
|
|
17
17
|
import "./tool-card.js";
|
|
18
18
|
import "../utils/memo.js";
|
|
19
19
|
export {
|
|
@@ -6,7 +6,7 @@ import "../atoms/card.js";
|
|
|
6
6
|
import "../atoms/checkbox.js";
|
|
7
7
|
import "../atoms/view-tools-control.js";
|
|
8
8
|
import "../../../lib/utils.js";
|
|
9
|
-
import { T as k } from "../../../toolkit-card-
|
|
9
|
+
import { T as k } from "../../../toolkit-card-k8jio69G.js";
|
|
10
10
|
import "../utils/memo.js";
|
|
11
11
|
export {
|
|
12
12
|
k as ToolkitCard
|
|
@@ -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
|
+
};
|