@mechane-ai/elements 0.19.0 → 0.20.1
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 +15 -4
- package/dist/ai.js +4 -4
- package/dist/{categorical-values-D-sSI9JB.js → categorical-values-DG0kzYxN.js} +2 -2
- package/dist/{chart-frame-vwS7YVgv.js → chart-frame-DxAZ0h_q.js} +50 -51
- package/dist/{chart-input-D6Fw2UGV.js → chart-input-Dru0GScv.js} +2 -2
- package/dist/charts/cartesian.js +279 -229
- package/dist/charts/distribution.js +2 -2
- package/dist/charts/graph.js +82 -80
- package/dist/charts/hierarchy.js +3 -3
- package/dist/charts/matrix.js +136 -134
- package/dist/charts/timeline.js +2 -2
- package/dist/charts.js +1 -1
- package/dist/code-block-DlUwVaPP.js +182 -0
- package/dist/collections.js +144 -143
- package/dist/{constants.stylex-bbdiv1fD.js → constants.stylex-BILvnwUk.js} +1 -0
- package/dist/content/code.js +1 -1
- package/dist/content/diff.js +3 -3
- package/dist/content/link.js +1 -1
- package/dist/content/markdown.js +108 -102
- package/dist/content/tree.js +43 -41
- package/dist/{content-link-rdxJ94P8.js → content-link-BIMrgXbz.js} +1 -1
- package/dist/content.js +139 -137
- package/dist/elements.css +34 -0
- package/dist/feedback.js +1 -1
- package/dist/forms/dates.js +1 -1
- package/dist/forms.js +1 -1
- package/dist/index.js +1 -1
- package/dist/layout.js +349 -212
- package/dist/navigation/commands.js +1 -1
- package/dist/navigation.js +0 -1
- package/dist/packages/charts/src/chart-cursor.d.ts +7 -0
- package/dist/packages/charts/src/chart-theme.d.ts +1 -7
- package/dist/packages/feedback/src/async-region.d.ts +3 -1
- package/dist/packages/foundations/src/constants.stylex.d.ts +1 -0
- package/dist/packages/foundations/src/use-scroll-tab-index.d.ts +6 -0
- package/dist/packages/layout/src/app-shell.d.ts +2 -1
- package/dist/packages/layout/src/index.d.ts +2 -0
- package/dist/packages/layout/src/navigation-rail.d.ts +18 -0
- package/dist/packages/layout/src/sidebar.d.ts +2 -1
- package/dist/pierre-diff-CHQsoQSZ.js +72 -0
- package/dist/{pierre-theme-BUeJim8s.js → pierre-theme-CLgk9v3e.js} +1 -1
- package/dist/{pierre-tree-BQBbAhmI.js → pierre-tree-D3XsgEH6.js} +4 -4
- package/dist/{src-BVsyKLQ8.js → src-0mocxTaR.js} +64 -43
- package/dist/{src-Dven_9lR.js → src-D4zPPr32.js} +1 -1
- package/dist/{src-BXh4g2VY.js → src-qU5Z5LRH.js} +1 -0
- package/dist/tokens.js +1 -1
- package/dist/use-scroll-tab-index-Dxpdh4W7.js +45 -0
- package/package.json +1 -1
- package/packages/foundations/src/constants.stylex.ts +1 -1
- package/dist/code-block-DB42-a0M.js +0 -180
- package/dist/pierre-diff-C_j0nxwS.js +0 -71
package/dist/content.js
CHANGED
|
@@ -1,40 +1,41 @@
|
|
|
1
|
-
import { C as e, E as t, _ as n, g as r } from "./src-
|
|
2
|
-
import { t as i } from "./
|
|
3
|
-
import { t as a } from "./
|
|
4
|
-
import { t as o } from "./
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import x from "
|
|
1
|
+
import { C as e, E as t, _ as n, g as r } from "./src-qU5Z5LRH.js";
|
|
2
|
+
import { t as i } from "./use-scroll-tab-index-Dxpdh4W7.js";
|
|
3
|
+
import { t as a } from "./viewer-styles-CpHqp5Qv.js";
|
|
4
|
+
import { t as o } from "./code-block-DlUwVaPP.js";
|
|
5
|
+
import { t as s } from "./content-link-BIMrgXbz.js";
|
|
6
|
+
import * as c from "@stylexjs/stylex";
|
|
7
|
+
import { useCallback as l, useEffect as u, useLayoutEffect as d, useRef as f, useState as p } from "react";
|
|
8
|
+
import { jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
9
|
+
import { Check as g, Circle as _, CircleDashed as v, CircleHelp as y, Clock as b, X as x } from "lucide-react";
|
|
10
|
+
import S from "strip-ansi";
|
|
10
11
|
// packages/content/src/json-viewer.tsx
|
|
11
|
-
var
|
|
12
|
+
var C = { body: {
|
|
12
13
|
kmVPX3: "x1mvvolr",
|
|
13
14
|
kVQacm: "xysyzu8",
|
|
14
15
|
kskxy: "x1phlbz0",
|
|
15
16
|
kMv6JI: "xiard35",
|
|
16
17
|
kGuDYH: "xy8obcc",
|
|
17
18
|
$$css: !0
|
|
18
|
-
} },
|
|
19
|
-
function
|
|
20
|
-
let [o, s] =
|
|
19
|
+
} }, w = 500;
|
|
20
|
+
function T({ value: e, name: t, path: n, depth: r, maxDepth: i, maxEntries: a }) {
|
|
21
|
+
let [o, s] = p(r === 0);
|
|
21
22
|
if (typeof e != "object" || !e) {
|
|
22
|
-
let n = JSON.stringify(e), r = n.length >
|
|
23
|
-
return /* @__PURE__ */
|
|
23
|
+
let n = JSON.stringify(e), r = n.length > w;
|
|
24
|
+
return /* @__PURE__ */ h("div", {
|
|
24
25
|
className: "xeuugli x126k92a xj0a0fe",
|
|
25
26
|
children: [
|
|
26
|
-
/* @__PURE__ */
|
|
27
|
+
/* @__PURE__ */ h("span", {
|
|
27
28
|
className: "x153jb6y",
|
|
28
29
|
children: [t, ": "]
|
|
29
30
|
}),
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
+
/* @__PURE__ */ m("span", {
|
|
31
32
|
...{
|
|
32
33
|
0: { className: "xbixft" },
|
|
33
34
|
1: { className: "x7ixh4y" }
|
|
34
35
|
}[typeof e == "string" | 0],
|
|
35
|
-
children: n.slice(0,
|
|
36
|
+
children: n.slice(0, w)
|
|
36
37
|
}),
|
|
37
|
-
r && /* @__PURE__ */
|
|
38
|
+
r && /* @__PURE__ */ m("span", {
|
|
38
39
|
className: "x153jb6y x1hz01jw",
|
|
39
40
|
children: "… (value truncated)"
|
|
40
41
|
})
|
|
@@ -42,38 +43,38 @@ function w({ value: e, name: t, path: n, depth: r, maxDepth: i, maxEntries: a })
|
|
|
42
43
|
});
|
|
43
44
|
}
|
|
44
45
|
let c = Object.entries(e), l = Array.isArray(e) ? `${c.length} items` : `${c.length} fields`;
|
|
45
|
-
return r >= i ? /* @__PURE__ */
|
|
46
|
+
return r >= i ? /* @__PURE__ */ h("div", {
|
|
46
47
|
className: "xeuugli x126k92a xj0a0fe",
|
|
47
|
-
children: [/* @__PURE__ */
|
|
48
|
+
children: [/* @__PURE__ */ h("span", {
|
|
48
49
|
className: "x153jb6y",
|
|
49
50
|
children: [t, ": "]
|
|
50
|
-
}), /* @__PURE__ */
|
|
51
|
+
}), /* @__PURE__ */ h("span", {
|
|
51
52
|
className: "x153jb6y x1hz01jw",
|
|
52
53
|
children: [l, " · depth limit"]
|
|
53
54
|
})]
|
|
54
|
-
}) : /* @__PURE__ */
|
|
55
|
+
}) : /* @__PURE__ */ h("details", {
|
|
55
56
|
open: o,
|
|
56
57
|
onToggle: (e) => s(e.currentTarget.open),
|
|
57
58
|
className: "xeuugli x126k92a xj0a0fe",
|
|
58
|
-
children: [/* @__PURE__ */
|
|
59
|
+
children: [/* @__PURE__ */ h("summary", {
|
|
59
60
|
className: "x9f619 x1ypdohk x16exltd x17oiadl xt970qd x1r6zayv xjbqb8w xif5pkx x1s9zmfe x19rmrnh x13qnu6 x9v5kkp x1bqaal",
|
|
60
61
|
children: [
|
|
61
|
-
/* @__PURE__ */
|
|
62
|
+
/* @__PURE__ */ h("span", {
|
|
62
63
|
className: "x153jb6y",
|
|
63
64
|
children: [t, ": "]
|
|
64
65
|
}),
|
|
65
66
|
Array.isArray(e) ? "[]" : "{}",
|
|
66
67
|
" ",
|
|
67
|
-
/* @__PURE__ */
|
|
68
|
+
/* @__PURE__ */ m("span", {
|
|
68
69
|
className: "x153jb6y x1hz01jw",
|
|
69
70
|
children: l
|
|
70
71
|
})
|
|
71
72
|
]
|
|
72
|
-
}), o && /* @__PURE__ */
|
|
73
|
+
}), o && /* @__PURE__ */ h("div", {
|
|
73
74
|
className: "xo02m6d xpilrb4 x1t7ytsu x97x49r xa1dmyi",
|
|
74
75
|
children: [c.slice(0, a).map(([e, t]) => {
|
|
75
76
|
let o = `${n}/${e.replaceAll("~", "~0").replaceAll("/", "~1")}`;
|
|
76
|
-
return /* @__PURE__ */
|
|
77
|
+
return /* @__PURE__ */ m(T, {
|
|
77
78
|
name: JSON.stringify(e),
|
|
78
79
|
path: o,
|
|
79
80
|
value: t,
|
|
@@ -81,46 +82,47 @@ function w({ value: e, name: t, path: n, depth: r, maxDepth: i, maxEntries: a })
|
|
|
81
82
|
maxDepth: i,
|
|
82
83
|
maxEntries: a
|
|
83
84
|
}, o);
|
|
84
|
-
}), c.length > a && /* @__PURE__ */
|
|
85
|
+
}), c.length > a && /* @__PURE__ */ h("div", {
|
|
85
86
|
className: "x153jb6y x1hz01jw",
|
|
86
87
|
children: [c.length - a, " more entries · copy to inspect the complete value"]
|
|
87
88
|
})]
|
|
88
89
|
})]
|
|
89
90
|
});
|
|
90
91
|
}
|
|
91
|
-
function
|
|
92
|
-
let
|
|
93
|
-
return /* @__PURE__ */
|
|
92
|
+
function E({ value: e, label: t, maxDepth: r = 6, maxEntries: o = 50 }) {
|
|
93
|
+
let s = i(), u = l(() => JSON.stringify(e, null, 2), [e]);
|
|
94
|
+
return /* @__PURE__ */ h("section", {
|
|
94
95
|
"aria-label": t,
|
|
95
|
-
...
|
|
96
|
-
children: [/* @__PURE__ */
|
|
97
|
-
...
|
|
98
|
-
children: [/* @__PURE__ */
|
|
99
|
-
...
|
|
96
|
+
...c.props(a.root),
|
|
97
|
+
children: [/* @__PURE__ */ h("div", {
|
|
98
|
+
...c.props(a.header),
|
|
99
|
+
children: [/* @__PURE__ */ m("span", {
|
|
100
|
+
...c.props(a.label),
|
|
100
101
|
children: t
|
|
101
|
-
}), /* @__PURE__ */
|
|
102
|
+
}), /* @__PURE__ */ m(n, {
|
|
102
103
|
label: t,
|
|
103
|
-
value:
|
|
104
|
+
value: u,
|
|
104
105
|
children: "Copy JSON"
|
|
105
106
|
})]
|
|
106
|
-
}), /* @__PURE__ */
|
|
107
|
+
}), /* @__PURE__ */ m("div", {
|
|
108
|
+
ref: s.ref,
|
|
107
109
|
role: "region",
|
|
108
110
|
"aria-label": `${t} fields`,
|
|
109
|
-
tabIndex:
|
|
110
|
-
...
|
|
111
|
-
children: /* @__PURE__ */
|
|
111
|
+
tabIndex: s.tabIndex,
|
|
112
|
+
...c.props(a.scrollRegion, C.body),
|
|
113
|
+
children: /* @__PURE__ */ m(T, {
|
|
112
114
|
name: "root",
|
|
113
115
|
path: "",
|
|
114
116
|
value: e,
|
|
115
117
|
depth: 0,
|
|
116
118
|
maxDepth: Math.max(1, r),
|
|
117
|
-
maxEntries: Math.max(1,
|
|
119
|
+
maxEntries: Math.max(1, o)
|
|
118
120
|
})
|
|
119
121
|
})]
|
|
120
122
|
});
|
|
121
123
|
}
|
|
122
124
|
// packages/content/src/log-viewer.tsx
|
|
123
|
-
var
|
|
125
|
+
var D = {
|
|
124
126
|
kVQacm: "xysyzu8",
|
|
125
127
|
kmVPX3: "x1mvvolr",
|
|
126
128
|
kogj98: "x1ghz6dp",
|
|
@@ -131,9 +133,9 @@ var E = {
|
|
|
131
133
|
kHjlTd: "xj0a0fe",
|
|
132
134
|
kKi2Bq: "xeq4nuv",
|
|
133
135
|
$$css: !0
|
|
134
|
-
},
|
|
136
|
+
}, O = {
|
|
135
137
|
output: (e) => [
|
|
136
|
-
|
|
138
|
+
D,
|
|
137
139
|
{
|
|
138
140
|
kskxy: e == null ? e : "x1jols5v",
|
|
139
141
|
$$css: !0
|
|
@@ -146,66 +148,66 @@ var E = {
|
|
|
146
148
|
kL6WhQ: "x1qndepd",
|
|
147
149
|
$$css: !0
|
|
148
150
|
}
|
|
149
|
-
},
|
|
150
|
-
function
|
|
151
|
-
let
|
|
152
|
-
return
|
|
153
|
-
|
|
154
|
-
}, [t,
|
|
155
|
-
!
|
|
156
|
-
}, [
|
|
151
|
+
}, k = 2e5;
|
|
152
|
+
function A({ output: t, label: r, maxLines: o = 500, maxHeight: s = 320, isRunning: l = !1 }) {
|
|
153
|
+
let g = i(), _ = g.viewport, v = f(!1), [y, b] = p(!0), x = S(t), C = x.slice(-2e5).split("\n"), w = C.slice(-Math.max(1, o)), T = C.length - w.length;
|
|
154
|
+
return u(() => {
|
|
155
|
+
y && _.current !== null && (_.current.scrollTop = _.current.scrollHeight);
|
|
156
|
+
}, [t, y]), d(() => {
|
|
157
|
+
!l && v.current && (v.current = !1, _.current?.focus({ preventScroll: !0 }));
|
|
158
|
+
}, [l]), /* @__PURE__ */ h("section", {
|
|
157
159
|
"aria-label": r,
|
|
158
|
-
...
|
|
160
|
+
...c.props(a.root),
|
|
159
161
|
children: [
|
|
160
|
-
/* @__PURE__ */
|
|
161
|
-
...
|
|
162
|
-
children: [/* @__PURE__ */
|
|
163
|
-
...
|
|
164
|
-
children: [r,
|
|
165
|
-
}), /* @__PURE__ */
|
|
166
|
-
...
|
|
167
|
-
children: [
|
|
162
|
+
/* @__PURE__ */ h("div", {
|
|
163
|
+
...c.props(a.header),
|
|
164
|
+
children: [/* @__PURE__ */ h("span", {
|
|
165
|
+
...c.props(a.label),
|
|
166
|
+
children: [r, l && " · running"]
|
|
167
|
+
}), /* @__PURE__ */ h("div", {
|
|
168
|
+
...c.props(a.actions),
|
|
169
|
+
children: [l && /* @__PURE__ */ m(e, {
|
|
168
170
|
variant: "ghost",
|
|
169
|
-
onClick: () =>
|
|
171
|
+
onClick: () => b(!y),
|
|
170
172
|
onFocus: () => {
|
|
171
|
-
|
|
173
|
+
v.current = !0;
|
|
172
174
|
},
|
|
173
175
|
onBlur: () => {
|
|
174
|
-
|
|
176
|
+
v.current = !1;
|
|
175
177
|
},
|
|
176
|
-
children:
|
|
177
|
-
}), /* @__PURE__ */
|
|
178
|
+
children: y ? "Pause following" : "Follow output"
|
|
179
|
+
}), /* @__PURE__ */ m(n, {
|
|
178
180
|
value: t,
|
|
179
181
|
label: r,
|
|
180
182
|
children: "Copy"
|
|
181
183
|
})]
|
|
182
184
|
})]
|
|
183
185
|
}),
|
|
184
|
-
|
|
185
|
-
...
|
|
186
|
-
children: [
|
|
186
|
+
T > 0 && /* @__PURE__ */ h("div", {
|
|
187
|
+
...c.props(a.note, O.notice),
|
|
188
|
+
children: [T, " earlier lines omitted from this view. Copy includes the supplied output."]
|
|
187
189
|
}),
|
|
188
|
-
|
|
189
|
-
...
|
|
190
|
+
x.length > k && /* @__PURE__ */ m("div", {
|
|
191
|
+
...c.props(a.note, O.notice),
|
|
190
192
|
children: "Preview limited to the last 200,000 characters. Copy includes the supplied output."
|
|
191
193
|
}),
|
|
192
|
-
/* @__PURE__ */
|
|
193
|
-
ref:
|
|
194
|
+
/* @__PURE__ */ m("pre", {
|
|
195
|
+
ref: g.ref,
|
|
194
196
|
role: "region",
|
|
195
197
|
"aria-label": `${r} output`,
|
|
196
|
-
tabIndex:
|
|
198
|
+
tabIndex: g.tabIndex,
|
|
197
199
|
onScroll: (e) => {
|
|
198
200
|
let t = e.currentTarget;
|
|
199
|
-
|
|
201
|
+
b(t.scrollHeight - t.scrollTop - t.clientHeight < 8);
|
|
200
202
|
},
|
|
201
|
-
...
|
|
202
|
-
children:
|
|
203
|
+
...c.props(a.scrollRegion, O.output(s)),
|
|
204
|
+
children: x.length === 0 ? "No output recorded." : w.join("\n")
|
|
203
205
|
})
|
|
204
206
|
]
|
|
205
207
|
});
|
|
206
208
|
}
|
|
207
209
|
// packages/content/src/media-viewer.tsx
|
|
208
|
-
var
|
|
210
|
+
var j = {
|
|
209
211
|
viewport: {
|
|
210
212
|
k1xSpc: "xrvj5dj",
|
|
211
213
|
kgQiWS: "x1ku5rj1",
|
|
@@ -222,27 +224,27 @@ var A = {
|
|
|
222
224
|
$$css: !0
|
|
223
225
|
}
|
|
224
226
|
};
|
|
225
|
-
function
|
|
226
|
-
return /* @__PURE__ */
|
|
227
|
+
function M() {
|
|
228
|
+
return /* @__PURE__ */ m("div", {
|
|
227
229
|
"aria-hidden": !0,
|
|
228
|
-
...
|
|
230
|
+
...c.props(a.root, j.viewport, j.placeholder)
|
|
229
231
|
});
|
|
230
232
|
}
|
|
231
|
-
function
|
|
232
|
-
return /* @__PURE__ */
|
|
233
|
-
...
|
|
234
|
-
children: e === "image" ? /* @__PURE__ */
|
|
233
|
+
function N({ kind: e, src: t, label: n, widthPixels: r, heightPixels: i, onError: o }) {
|
|
234
|
+
return /* @__PURE__ */ m("div", {
|
|
235
|
+
...c.props(a.root, j.viewport),
|
|
236
|
+
children: e === "image" ? /* @__PURE__ */ m("img", {
|
|
235
237
|
src: t,
|
|
236
238
|
alt: n,
|
|
237
239
|
width: r,
|
|
238
|
-
height:
|
|
240
|
+
height: i,
|
|
239
241
|
onError: o,
|
|
240
242
|
className: "x1lliihq xh8yej3 x5yr21d x2lwn1j x19kjcj4"
|
|
241
|
-
}) : /* @__PURE__ */
|
|
243
|
+
}) : /* @__PURE__ */ m("video", {
|
|
242
244
|
src: t,
|
|
243
245
|
"aria-label": n,
|
|
244
246
|
width: r,
|
|
245
|
-
height:
|
|
247
|
+
height: i,
|
|
246
248
|
controls: !0,
|
|
247
249
|
muted: !0,
|
|
248
250
|
playsInline: !0,
|
|
@@ -253,17 +255,17 @@ function M({ kind: e, src: t, label: n, widthPixels: r, heightPixels: a, onError
|
|
|
253
255
|
});
|
|
254
256
|
}
|
|
255
257
|
// packages/content/src/stack-trace.tsx
|
|
256
|
-
function
|
|
257
|
-
return /* @__PURE__ */
|
|
258
|
+
function P({ message: e, frames: t }) {
|
|
259
|
+
return /* @__PURE__ */ h("section", {
|
|
258
260
|
"aria-label": "Stack trace",
|
|
259
|
-
...
|
|
260
|
-
children: [/* @__PURE__ */
|
|
261
|
+
...c.props(a.root),
|
|
262
|
+
children: [/* @__PURE__ */ m("p", {
|
|
261
263
|
className: "x1ghz6dp x1mvvolr xso031l x1q0q8m5 x1qndepd xr5kp14 xk4h15q xj0a0fe",
|
|
262
264
|
children: e
|
|
263
|
-
}), t.length === 0 ? /* @__PURE__ */
|
|
265
|
+
}), t.length === 0 ? /* @__PURE__ */ m("p", {
|
|
264
266
|
className: "x1ghz6dp x1mvvolr x153jb6y",
|
|
265
267
|
children: "No frames recorded."
|
|
266
|
-
}) : /* @__PURE__ */
|
|
268
|
+
}) : /* @__PURE__ */ m("ol", {
|
|
267
269
|
className: "x1ghz6dp x1717udv x3ct3a4",
|
|
268
270
|
children: t.map((e) => {
|
|
269
271
|
let t = [
|
|
@@ -271,15 +273,15 @@ function N({ message: e, frames: t }) {
|
|
|
271
273
|
e.line,
|
|
272
274
|
e.column
|
|
273
275
|
].filter((e) => e !== void 0).join(":");
|
|
274
|
-
return /* @__PURE__ */
|
|
276
|
+
return /* @__PURE__ */ h("li", {
|
|
275
277
|
className: "x78zum5 xdt5ytf x1hnptsi xeuugli xj0a0fe x1mvvolr xso031l x1t1lzn6 x1q0q8m5 x1qndepd",
|
|
276
|
-
children: [/* @__PURE__ */
|
|
278
|
+
children: [/* @__PURE__ */ h("div", { children: [/* @__PURE__ */ m(s, {
|
|
277
279
|
href: e.href,
|
|
278
280
|
children: e.name
|
|
279
|
-
}), t.length > 0 && /* @__PURE__ */
|
|
281
|
+
}), t.length > 0 && /* @__PURE__ */ m("span", {
|
|
280
282
|
className: "x1lliihq x153jb6y xiard35 xy8obcc xj0a0fe",
|
|
281
283
|
children: t
|
|
282
|
-
})] }), e.code !== void 0 && /* @__PURE__ */
|
|
284
|
+
})] }), e.code !== void 0 && /* @__PURE__ */ m(o, {
|
|
283
285
|
code: e.code,
|
|
284
286
|
language: e.language,
|
|
285
287
|
filename: e.file
|
|
@@ -290,7 +292,7 @@ function N({ message: e, frames: t }) {
|
|
|
290
292
|
});
|
|
291
293
|
}
|
|
292
294
|
// packages/content/src/trace.tsx
|
|
293
|
-
var
|
|
295
|
+
var F = {
|
|
294
296
|
pending: {
|
|
295
297
|
kMwMTN: "x153jb6y",
|
|
296
298
|
$$css: !0
|
|
@@ -315,78 +317,78 @@ var P = {
|
|
|
315
317
|
kMwMTN: "x153jb6y",
|
|
316
318
|
$$css: !0
|
|
317
319
|
}
|
|
318
|
-
}, F = {
|
|
319
|
-
pending: P.pending,
|
|
320
|
-
running: P.running,
|
|
321
|
-
complete: P.complete,
|
|
322
|
-
failed: P.failed,
|
|
323
|
-
skipped: P.skipped,
|
|
324
|
-
unknown: P.unknown
|
|
325
320
|
}, I = {
|
|
326
|
-
pending:
|
|
327
|
-
running:
|
|
328
|
-
complete:
|
|
329
|
-
failed:
|
|
330
|
-
skipped:
|
|
331
|
-
unknown:
|
|
321
|
+
pending: F.pending,
|
|
322
|
+
running: F.running,
|
|
323
|
+
complete: F.complete,
|
|
324
|
+
failed: F.failed,
|
|
325
|
+
skipped: F.skipped,
|
|
326
|
+
unknown: F.unknown
|
|
327
|
+
}, L = {
|
|
328
|
+
pending: b,
|
|
329
|
+
running: _,
|
|
330
|
+
complete: g,
|
|
331
|
+
failed: x,
|
|
332
|
+
skipped: v,
|
|
333
|
+
unknown: y
|
|
332
334
|
};
|
|
333
|
-
function
|
|
334
|
-
return /* @__PURE__ */
|
|
335
|
+
function R({ label: e, children: t }) {
|
|
336
|
+
return /* @__PURE__ */ m("ol", {
|
|
335
337
|
"aria-label": e,
|
|
336
338
|
className: "x1ghz6dp x1717udv x3ct3a4 xeuugli x1hz01jw xtqrqnz x1778rvt xj57cvi xbixft",
|
|
337
339
|
children: t
|
|
338
340
|
});
|
|
339
341
|
}
|
|
340
|
-
function
|
|
341
|
-
return /* @__PURE__ */
|
|
342
|
+
function z({ label: e, children: t }) {
|
|
343
|
+
return /* @__PURE__ */ m("ol", {
|
|
342
344
|
"aria-label": e,
|
|
343
345
|
className: "x1ghz6dp x1717udv x3ct3a4 xeuugli x1hz01jw xtqrqnz x1778rvt xj57cvi xbixft x3bg4vu",
|
|
344
346
|
children: t
|
|
345
347
|
});
|
|
346
348
|
}
|
|
347
|
-
function
|
|
348
|
-
let f =
|
|
349
|
-
return /* @__PURE__ */
|
|
349
|
+
function B({ id: e, label: n, status: i, statusLabel: a, description: o, detail: s, isSelected: l, onSelect: u, children: d }) {
|
|
350
|
+
let f = L[i];
|
|
351
|
+
return /* @__PURE__ */ h("li", {
|
|
350
352
|
"data-item-id": e,
|
|
351
353
|
className: "x1n2onr6 xrvj5dj x1qpdrs7 x8zbtdt x1wv5www xup0pd7",
|
|
352
|
-
children: [/* @__PURE__ */
|
|
354
|
+
children: [/* @__PURE__ */ h("div", {
|
|
353
355
|
"aria-hidden": !0,
|
|
354
356
|
className: "x78zum5 xdt5ytf x6s0dn4 xunmzkg x1lk341d",
|
|
355
|
-
children: [/* @__PURE__ */
|
|
357
|
+
children: [/* @__PURE__ */ m(f, {
|
|
356
358
|
size: 14,
|
|
357
|
-
...
|
|
358
|
-
}), /* @__PURE__ */
|
|
359
|
-
}), /* @__PURE__ */
|
|
359
|
+
...c.props(I[i])
|
|
360
|
+
}), /* @__PURE__ */ m("span", { className: "x1i1rx1s x1f6qilh x98rzlu x1fa40ue" })]
|
|
361
|
+
}), /* @__PURE__ */ h("div", {
|
|
360
362
|
className: "x78zum5 xdt5ytf xunmzkg xeuugli",
|
|
361
363
|
children: [
|
|
362
|
-
/* @__PURE__ */
|
|
364
|
+
/* @__PURE__ */ m("div", {
|
|
363
365
|
...{
|
|
364
366
|
0: { className: "xk4h15q xj0a0fe" },
|
|
365
367
|
1: { className: "xk4h15q xj0a0fe xujl8zx xda060z" }
|
|
366
368
|
}[l === !0 | 0],
|
|
367
|
-
children: u === void 0 ? n : /* @__PURE__ */
|
|
369
|
+
children: u === void 0 ? n : /* @__PURE__ */ m(t, {
|
|
368
370
|
"aria-pressed": l,
|
|
369
371
|
onClick: () => u(e),
|
|
370
372
|
children: n
|
|
371
373
|
})
|
|
372
374
|
}),
|
|
373
|
-
/* @__PURE__ */
|
|
375
|
+
/* @__PURE__ */ m("span", {
|
|
374
376
|
className: "xy8obcc xas2l8k x153jb6y xj0a0fe",
|
|
375
377
|
children: a
|
|
376
378
|
}),
|
|
377
|
-
o !== void 0 && /* @__PURE__ */
|
|
379
|
+
o !== void 0 && /* @__PURE__ */ m("p", {
|
|
378
380
|
className: "x1ghz6dp x153jb6y xj0a0fe",
|
|
379
381
|
children: o
|
|
380
382
|
}),
|
|
381
|
-
|
|
383
|
+
s !== void 0 && /* @__PURE__ */ h(r.Root, { children: [/* @__PURE__ */ m(r.Trigger, { children: "Details" }), /* @__PURE__ */ m(r.Panel, { children: s })] }),
|
|
382
384
|
d
|
|
383
385
|
]
|
|
384
386
|
})]
|
|
385
387
|
});
|
|
386
388
|
}
|
|
387
|
-
var
|
|
388
|
-
Root:
|
|
389
|
-
Item:
|
|
390
|
-
Group:
|
|
389
|
+
var V = {
|
|
390
|
+
Root: R,
|
|
391
|
+
Item: B,
|
|
392
|
+
Group: z
|
|
391
393
|
};
|
|
392
|
-
export {
|
|
394
|
+
export { E as JsonViewer, A as LogViewer, N as MediaViewer, M as MediaViewerPlaceholder, P as StackTrace, V as Trace };
|
package/dist/elements.css
CHANGED
|
@@ -472,6 +472,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
472
472
|
margin-inline: auto;
|
|
473
473
|
}
|
|
474
474
|
|
|
475
|
+
.xn92wy8 {
|
|
476
|
+
margin-inline: var(--xxhyxt);
|
|
477
|
+
}
|
|
478
|
+
|
|
475
479
|
.xysyzu8 {
|
|
476
480
|
overflow: auto;
|
|
477
481
|
}
|
|
@@ -676,6 +680,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
676
680
|
animation-duration: .12s;
|
|
677
681
|
}
|
|
678
682
|
|
|
683
|
+
.x11hm9ij {
|
|
684
|
+
animation-duration: .2s;
|
|
685
|
+
}
|
|
686
|
+
|
|
679
687
|
.x1irg2zc {
|
|
680
688
|
animation-duration: 80ms;
|
|
681
689
|
}
|
|
@@ -1218,6 +1226,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
1218
1226
|
grid-auto-columns: auto;
|
|
1219
1227
|
}
|
|
1220
1228
|
|
|
1229
|
+
.x1rnidkh {
|
|
1230
|
+
grid-auto-columns: minmax(0, 1fr);
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1221
1233
|
.x1mt1orb {
|
|
1222
1234
|
grid-auto-flow: column;
|
|
1223
1235
|
}
|
|
@@ -1554,6 +1566,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
1554
1566
|
stroke-width: 2px;
|
|
1555
1567
|
}
|
|
1556
1568
|
|
|
1569
|
+
.xzly4p3 {
|
|
1570
|
+
stroke-width: var(--xxx3t85);
|
|
1571
|
+
}
|
|
1572
|
+
|
|
1557
1573
|
.xeq4nuv {
|
|
1558
1574
|
tab-size: 2;
|
|
1559
1575
|
}
|
|
@@ -1762,6 +1778,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
1762
1778
|
}
|
|
1763
1779
|
}
|
|
1764
1780
|
|
|
1781
|
+
.xgs60n.xgs60n:where(.x-default-marker:focus-visible *) {
|
|
1782
|
+
visibility: visible;
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1765
1785
|
.x7bu0ch[data-orientation="vertical"] {
|
|
1766
1786
|
align-items: flex-start;
|
|
1767
1787
|
}
|
|
@@ -2050,6 +2070,12 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
2050
2070
|
text-decoration-line: underline;
|
|
2051
2071
|
}
|
|
2052
2072
|
|
|
2073
|
+
@media (forced-colors: active) {
|
|
2074
|
+
.xbabvq0.xbabvq0 {
|
|
2075
|
+
stroke: highlight;
|
|
2076
|
+
}
|
|
2077
|
+
}
|
|
2078
|
+
|
|
2053
2079
|
@media (prefers-reduced-motion: reduce) {
|
|
2054
2080
|
.x12w9bfk.x12w9bfk {
|
|
2055
2081
|
transition-duration: 0s;
|
|
@@ -2608,6 +2634,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
2608
2634
|
padding-bottom: var(--x1qq5i99);
|
|
2609
2635
|
}
|
|
2610
2636
|
|
|
2637
|
+
.xngumbj {
|
|
2638
|
+
padding-bottom: var(--x1xijsos);
|
|
2639
|
+
}
|
|
2640
|
+
|
|
2611
2641
|
.xmmm7uk {
|
|
2612
2642
|
padding-bottom: var(--xxhyxt);
|
|
2613
2643
|
}
|
|
@@ -2752,6 +2782,10 @@ html[dir=ltr],[data-sonner-toaster][dir=ltr]{--toast-icon-margin-start:-3px;--to
|
|
|
2752
2782
|
width: auto;
|
|
2753
2783
|
}
|
|
2754
2784
|
|
|
2785
|
+
.xuqhkz3 {
|
|
2786
|
+
width: calc(var(--xyyn5jb) - var(--x1m0ogk9));
|
|
2787
|
+
}
|
|
2788
|
+
|
|
2755
2789
|
.xeq5yr9 {
|
|
2756
2790
|
width: fit-content;
|
|
2757
2791
|
}
|
package/dist/feedback.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as AsyncRegion, c as ButtonPlaceholder, n as ContentReveal, p as EmptyState, l as FieldPlaceholder, r as LoadingScope, o as Meter, m as Notice, s as Progress, u as Skeleton, d as SkeletonText, f as Spinner, i as Toaster, a as toast } from "./src-
|
|
1
|
+
export { t as AsyncRegion, c as ButtonPlaceholder, n as ContentReveal, p as EmptyState, l as FieldPlaceholder, r as LoadingScope, o as Meter, m as Notice, s as Progress, u as Skeleton, d as SkeletonText, f as Spinner, i as Toaster, a as toast } from "./src-0mocxTaR.js";
|
package/dist/forms/dates.js
CHANGED
package/dist/forms.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { _ as AgentAvatarPicker, r as Checkbox, v as Combobox, c as Field, f as Fieldset, p as FilePicker, d as FormActions, l as Input, m as InputGroup, h as NumberField, i as RadioGroup, s as Select, n as SettingsRow, t as SettingsSection, g as Slider, a as Switch, u as Textarea, o as ToggleGroup } from "./src-
|
|
1
|
+
export { _ as AgentAvatarPicker, r as Checkbox, v as Combobox, c as Field, f as Fieldset, p as FilePicker, d as FormActions, l as Input, m as InputGroup, h as NumberField, i as RadioGroup, s as Select, n as SettingsRow, t as SettingsSection, g as Slider, a as Switch, u as Textarea, o as ToggleGroup } from "./src-D4zPPr32.js";
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { h as Accordion, v as AgentAvatar, S as Avatar, t as Badge, C as Button, g as Collapsible, l as Columns, _ as CopyValue, u as Divider, n as Heading, w as IconButton, T as IconLink, r as Identifier, i as Muted, d as Panel, a as Prose, f as Row, p as Stack, o as Status, s as Subheading, m as SurfaceLink, c as Text, E as TextButton, D as TextLink, y as agentAppearance, b as agentAvatarColors, x as agentAvatarShapes } from "./src-
|
|
1
|
+
export { h as Accordion, v as AgentAvatar, S as Avatar, t as Badge, C as Button, g as Collapsible, l as Columns, _ as CopyValue, u as Divider, n as Heading, w as IconButton, T as IconLink, r as Identifier, i as Muted, d as Panel, a as Prose, f as Row, p as Stack, o as Status, s as Subheading, m as SurfaceLink, c as Text, E as TextButton, D as TextLink, y as agentAppearance, b as agentAvatarColors, x as agentAvatarShapes } from "./src-qU5Z5LRH.js";
|