@brett_lamy/ui 5.15.0 → 5.15.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/dist/components/call-stack.d.ts +26 -0
- package/dist/components/call-stack.d.ts.map +1 -0
- package/dist/components/call-stack.js +236 -0
- package/dist/components/code-editor-window.d.ts +191 -0
- package/dist/components/code-editor-window.d.ts.map +1 -0
- package/dist/components/code-editor-window.js +1474 -0
- package/dist/components/code-editor.d.ts +213 -0
- package/dist/components/code-editor.d.ts.map +1 -0
- package/dist/components/code-editor.js +484 -0
- package/dist/components/file-upload.d.ts +1 -1
- package/dist/components/file-upload.d.ts.map +1 -1
- package/dist/components/file-upload.js +1 -1
- package/dist/components/filter-input.d.ts +1 -1
- package/dist/components/filter-input.d.ts.map +1 -1
- package/dist/components/filter-input.js +1 -1
- package/dist/components/filter.d.ts +1 -1
- package/dist/components/filter.d.ts.map +1 -1
- package/dist/components/filter.js +1 -1
- package/dist/components/log-list.d.ts +95 -0
- package/dist/components/log-list.d.ts.map +1 -0
- package/dist/components/log-list.js +549 -0
- package/dist/components/object-tree.d.ts +30 -0
- package/dist/components/object-tree.d.ts.map +1 -0
- package/dist/components/object-tree.js +415 -0
- package/dist/components/object-value.d.ts +13 -0
- package/dist/components/object-value.d.ts.map +1 -0
- package/dist/components/object-value.js +69 -0
- package/dist/components/request-table.d.ts +78 -0
- package/dist/components/request-table.d.ts.map +1 -0
- package/dist/components/request-table.js +697 -0
- package/dist/components/spreadsheet.d.ts +1 -1
- package/dist/components/spreadsheet.d.ts.map +1 -1
- package/dist/components/spreadsheet.js +1 -1
- package/dist/components/syntax-highlighting.d.ts +45 -77
- package/dist/components/syntax-highlighting.d.ts.map +1 -1
- package/dist/components/syntax-highlighting.js +36 -275
- package/dist/components/terminal.d.ts +62 -0
- package/dist/components/terminal.d.ts.map +1 -0
- package/dist/components/terminal.js +172 -0
- package/dist/components/trace-timeline.d.ts +97 -0
- package/dist/components/trace-timeline.d.ts.map +1 -0
- package/dist/components/trace-timeline.js +850 -0
- package/dist/components/tree.d.ts.map +1 -1
- package/dist/components/tree.js +99 -91
- package/dist/components/video-preview.d.ts +1 -1
- package/dist/components/video-preview.d.ts.map +1 -1
- package/dist/components/video-preview.js +1 -1
- package/dist/components/video-timeline.d.ts +1 -1
- package/dist/components/video-timeline.d.ts.map +1 -1
- package/dist/components/video-timeline.js +1 -1
- package/dist/components/workspace.d.ts.map +1 -1
- package/dist/components/workspace.js +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +45 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +119 -100
- package/dist/lib/call-stack-model.d.ts +75 -0
- package/dist/lib/call-stack-model.d.ts.map +1 -0
- package/dist/lib/call-stack-model.js +114 -0
- package/dist/lib/code-document.d.ts +229 -0
- package/dist/lib/code-document.d.ts.map +1 -0
- package/dist/lib/code-document.js +727 -0
- package/dist/lib/code-editor-gpu.d.ts +9 -0
- package/dist/lib/code-editor-gpu.d.ts.map +1 -0
- package/dist/lib/code-editor-gpu.js +23 -0
- package/dist/lib/code-editor-model.d.ts +371 -0
- package/dist/lib/code-editor-model.d.ts.map +1 -0
- package/dist/lib/code-editor-model.js +1105 -0
- package/dist/lib/{file-upload.d.ts → file-upload-model.d.ts} +1 -1
- package/dist/lib/file-upload-model.d.ts.map +1 -0
- package/dist/lib/{file-upload.js → file-upload-model.js} +1 -1
- package/dist/lib/{filter.d.ts → filter-model.d.ts} +1 -1
- package/dist/lib/filter-model.d.ts.map +1 -0
- package/dist/lib/{filter.js → filter-model.js} +1 -1
- package/dist/lib/filter-query.d.ts +1 -1
- package/dist/lib/filter-query.d.ts.map +1 -1
- package/dist/lib/filter-query.js +1 -1
- package/dist/lib/log-list-model.d.ts +132 -0
- package/dist/lib/log-list-model.d.ts.map +1 -0
- package/dist/lib/log-list-model.js +214 -0
- package/dist/lib/log-list-window.d.ts +121 -0
- package/dist/lib/log-list-window.d.ts.map +1 -0
- package/dist/lib/log-list-window.js +245 -0
- package/dist/lib/object-tree-model.d.ts +162 -0
- package/dist/lib/object-tree-model.d.ts.map +1 -0
- package/dist/lib/object-tree-model.js +347 -0
- package/dist/lib/object-tree-value.d.ts +139 -0
- package/dist/lib/object-tree-value.d.ts.map +1 -0
- package/dist/lib/object-tree-value.js +410 -0
- package/dist/lib/request-table-model.d.ts +85 -0
- package/dist/lib/request-table-model.d.ts.map +1 -0
- package/dist/lib/request-table-model.js +105 -0
- package/dist/lib/{spreadsheet.d.ts → spreadsheet-model.d.ts} +1 -1
- package/dist/lib/spreadsheet-model.d.ts.map +1 -0
- package/dist/lib/{spreadsheet.js → spreadsheet-model.js} +1 -1
- package/dist/lib/syntax.d.ts +19 -7
- package/dist/lib/syntax.d.ts.map +1 -1
- package/dist/lib/syntax.js +54 -50
- package/dist/lib/terminal-line.d.ts +155 -0
- package/dist/lib/terminal-line.d.ts.map +1 -0
- package/dist/lib/terminal-line.js +463 -0
- package/dist/lib/trace-timeline-draw.d.ts +109 -0
- package/dist/lib/trace-timeline-draw.d.ts.map +1 -0
- package/dist/lib/trace-timeline-draw.js +252 -0
- package/dist/lib/trace-timeline-model.d.ts +324 -0
- package/dist/lib/trace-timeline-model.d.ts.map +1 -0
- package/dist/lib/trace-timeline-model.js +510 -0
- package/dist/lib/video-render.d.ts +1 -1
- package/dist/lib/video-render.d.ts.map +1 -1
- package/dist/lib/video-render.js +1 -1
- package/dist/lib/{video-timeline.d.ts → video-timeline-model.d.ts} +1 -1
- package/dist/lib/video-timeline-model.d.ts.map +1 -0
- package/dist/lib/{video-timeline.js → video-timeline-model.js} +1 -1
- package/package.json +4 -1
- package/dist/lib/file-upload.d.ts.map +0 -1
- package/dist/lib/filter.d.ts.map +0 -1
- package/dist/lib/spreadsheet.d.ts.map +0 -1
- package/dist/lib/video-timeline.d.ts.map +0 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
import { CallStackFrame } from '../lib/call-stack-model';
|
|
3
|
+
export interface CallStackProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children' | 'onSelect'> {
|
|
4
|
+
frames: readonly CallStackFrame[];
|
|
5
|
+
/** The selected frame. Leave it out for a list that remembers its own. */
|
|
6
|
+
selectedId?: string | null;
|
|
7
|
+
/** Selected when the list mounts, when `selectedId` is left out. */
|
|
8
|
+
defaultSelectedId?: string | null;
|
|
9
|
+
/** A frame was pressed, or the arrow keys reached it. */
|
|
10
|
+
onSelect?: (frame: CallStackFrame, index: number) => void;
|
|
11
|
+
/** Fold runs of framework and library frames. Default `true`. */
|
|
12
|
+
collapseRuns?: boolean;
|
|
13
|
+
/** Runs open when the list mounts, each named by its first frame's id. */
|
|
14
|
+
defaultExpandedRuns?: Iterable<string>;
|
|
15
|
+
/** Row height in px. Default 26. */
|
|
16
|
+
rowHeight?: number;
|
|
17
|
+
/** Shown when there are no frames. */
|
|
18
|
+
emptyMessage?: ReactNode;
|
|
19
|
+
'aria-label'?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare const callStackRowVariants: (props?: ({
|
|
22
|
+
kind?: "run" | "app" | "framework" | null | undefined;
|
|
23
|
+
inRun?: boolean | null | undefined;
|
|
24
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
25
|
+
export declare function CallStack({ frames: framesProp, selectedId, defaultSelectedId, onSelect, collapseRuns, defaultExpandedRuns, rowHeight, emptyMessage, className, style, 'aria-label': ariaLabel, ...props }: CallStackProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
//# sourceMappingURL=call-stack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"call-stack.d.ts","sourceRoot":"","sources":["../../src/components/call-stack.tsx"],"names":[],"mappings":"AACA,OAAO,EAAwC,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAQlG,OAAO,EAEL,KAAK,cAAc,EACpB,MAAM,wBAAwB,CAAC;AAUhC,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,UAAU,CAAC;IACnG,MAAM,EAAE,SAAS,cAAc,EAAE,CAAC;IAClC,0EAA0E;IAC1E,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,oEAAoE;IACpE,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,yDAAyD;IACzD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1D,iEAAiE;IACjE,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,0EAA0E;IAC1E,mBAAmB,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IACvC,oCAAoC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,oBAAoB;;;8EAYhC,CAAC;AA6GF,wBAAgB,SAAS,CAAC,EACxB,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,iBAAiB,EAAE,QAAQ,EAAE,YAAmB,EAAE,mBAAmB,EAAE,SAAc,EAAE,YAA0B,EAAE,SAAS,EAAE,KAAK,EACnK,YAAY,EAAE,SAAwB,EAAE,GAAG,KAAK,EACjD,EAAE,cAAc,2CAmFhB"}
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "../lib/utils.js";
|
|
3
|
+
import { Icon as t } from "../lib/icon.js";
|
|
4
|
+
import { Popover as n } from "./popover.js";
|
|
5
|
+
import { Button as r } from "./button.js";
|
|
6
|
+
import { PlainButton as i } from "./plain-button.js";
|
|
7
|
+
import { buildCallStackRows as a, callStackRowOffset as o, frameText as s, fullLocation as c, reuseCallStackRows as l, shortLocation as u } from "../lib/call-stack-model.js";
|
|
8
|
+
import { useEffect as d, useMemo as f, useRef as p, useState as m } from "react";
|
|
9
|
+
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
10
|
+
import { Collection as _, Dialog as v, DialogTrigger as y, GridList as b, GridListHeader as x, GridListItem as S, GridListSection as C, ListLayout as w, Virtualizer as T } from "react-aria-components";
|
|
11
|
+
import { cva as E } from "class-variance-authority";
|
|
12
|
+
//#region src/components/call-stack.tsx
|
|
13
|
+
var D = E(["group/row flex h-full w-full cursor-default items-center gap-1.5 pr-2 text-caption leading-none text-foreground outline-none", "data-hovered:bg-accent/50 data-selected:bg-accent data-focus-visible:[box-shadow:inset_0_0_0_2px_var(--ring)]"], {
|
|
14
|
+
variants: {
|
|
15
|
+
kind: {
|
|
16
|
+
app: "",
|
|
17
|
+
framework: "text-muted-foreground data-selected:text-foreground",
|
|
18
|
+
run: "font-sans text-muted-foreground"
|
|
19
|
+
},
|
|
20
|
+
inRun: {
|
|
21
|
+
true: "pl-5",
|
|
22
|
+
false: "pl-1"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
defaultVariants: { inRun: !1 }
|
|
26
|
+
});
|
|
27
|
+
function O({ location: e }) {
|
|
28
|
+
let [t, a] = m(!1), [o, s] = m(void 0), l = c(e);
|
|
29
|
+
return /* @__PURE__ */ g(y, { children: [/* @__PURE__ */ h(i, {
|
|
30
|
+
title: l,
|
|
31
|
+
onPress: (e) => s(e.target.closest("[data-slot=\"bl-provider\"]") ?? void 0),
|
|
32
|
+
"aria-label": `Location: ${l}`,
|
|
33
|
+
excludeFromTabOrder: !0,
|
|
34
|
+
className: "max-w-[55%] min-w-0 shrink-0 cursor-default overflow-hidden rounded-md border-0 bg-transparent px-1 py-0.5 text-right font-mono text-caption2 text-muted-foreground outline-none data-hovered:bg-secondary-strong data-hovered:text-foreground data-focus-visible:ring-2 data-focus-visible:ring-ring",
|
|
35
|
+
children: /* @__PURE__ */ h("span", {
|
|
36
|
+
dir: "rtl",
|
|
37
|
+
className: "block truncate",
|
|
38
|
+
children: /* @__PURE__ */ h("bdi", { children: u(e) })
|
|
39
|
+
})
|
|
40
|
+
}), /* @__PURE__ */ h(n, {
|
|
41
|
+
placement: "bottom end",
|
|
42
|
+
boundaryElement: o,
|
|
43
|
+
className: "w-[min(26rem,calc(100vw-1.5rem))] min-w-0",
|
|
44
|
+
children: /* @__PURE__ */ g(v, {
|
|
45
|
+
"aria-label": "Location",
|
|
46
|
+
"data-slot": "call-stack-location",
|
|
47
|
+
className: "flex items-start gap-2 p-3 outline-none",
|
|
48
|
+
children: [/* @__PURE__ */ h("span", {
|
|
49
|
+
className: "min-w-0 flex-1 font-mono text-caption break-all text-foreground select-text",
|
|
50
|
+
children: l
|
|
51
|
+
}), /* @__PURE__ */ h(r, {
|
|
52
|
+
size: "sm",
|
|
53
|
+
variant: "ghost",
|
|
54
|
+
className: "-my-1 h-6 shrink-0 px-2 text-caption",
|
|
55
|
+
onPress: () => {
|
|
56
|
+
navigator.clipboard?.writeText(l).then(() => {
|
|
57
|
+
a(!0), setTimeout(() => a(!1), 1200);
|
|
58
|
+
}, () => {});
|
|
59
|
+
},
|
|
60
|
+
children: t ? "Copied" : "Copy"
|
|
61
|
+
})]
|
|
62
|
+
})
|
|
63
|
+
})] });
|
|
64
|
+
}
|
|
65
|
+
var k = (n) => (r) => {
|
|
66
|
+
if (r.kind === "run") return /* @__PURE__ */ g(S, {
|
|
67
|
+
id: r.key,
|
|
68
|
+
"data-slot": "call-stack-run",
|
|
69
|
+
textValue: `${r.label}, ${r.expanded ? "open" : "closed"}`,
|
|
70
|
+
isDisabled: !0,
|
|
71
|
+
onAction: () => n(r.runId),
|
|
72
|
+
className: D({ kind: "run" }),
|
|
73
|
+
children: [/* @__PURE__ */ h("span", {
|
|
74
|
+
className: "grid size-4 shrink-0 place-items-center",
|
|
75
|
+
children: /* @__PURE__ */ h(t, {
|
|
76
|
+
name: "chevron-right",
|
|
77
|
+
size: 10,
|
|
78
|
+
sw: 3,
|
|
79
|
+
className: e("transition-transform duration-100 motion-reduce:transition-none", r.expanded && "rotate-90")
|
|
80
|
+
})
|
|
81
|
+
}), /* @__PURE__ */ h("span", {
|
|
82
|
+
className: "min-w-0 flex-1 truncate",
|
|
83
|
+
children: r.label
|
|
84
|
+
})]
|
|
85
|
+
});
|
|
86
|
+
let { frame: i } = r, a = i.kind === "framework" || i.kind === "library" ? "framework" : "app";
|
|
87
|
+
return /* @__PURE__ */ g(S, {
|
|
88
|
+
id: r.key,
|
|
89
|
+
"data-slot": "call-stack-frame",
|
|
90
|
+
"data-kind": i.kind ?? "app",
|
|
91
|
+
"data-top": r.isTop || void 0,
|
|
92
|
+
textValue: r.isTop ? `${s(i)}, stopped here` : s(i),
|
|
93
|
+
className: D({
|
|
94
|
+
kind: a,
|
|
95
|
+
inRun: r.inRun
|
|
96
|
+
}),
|
|
97
|
+
children: [
|
|
98
|
+
/* @__PURE__ */ h("span", {
|
|
99
|
+
className: "grid size-4 shrink-0 place-items-center",
|
|
100
|
+
children: r.isTop ? /* @__PURE__ */ h(t, {
|
|
101
|
+
name: "play",
|
|
102
|
+
size: 10,
|
|
103
|
+
className: "text-warning",
|
|
104
|
+
title: "Stopped here"
|
|
105
|
+
}) : null
|
|
106
|
+
}),
|
|
107
|
+
/* @__PURE__ */ h("span", {
|
|
108
|
+
className: e("min-w-0 flex-1 truncate font-sans text-footnote", r.isTop && "font-semibold", !i.functionName && "italic"),
|
|
109
|
+
children: i.functionName || "(anonymous)"
|
|
110
|
+
}),
|
|
111
|
+
i.location ? /* @__PURE__ */ h(O, { location: i.location }) : null
|
|
112
|
+
]
|
|
113
|
+
});
|
|
114
|
+
}, A = "flex h-full items-center gap-2 pr-2 pl-1 font-sans text-caption2 font-medium text-muted-foreground", j = (e) => (t) => /* @__PURE__ */ g(C, {
|
|
115
|
+
id: t.key,
|
|
116
|
+
"aria-label": t.label ?? "Stack",
|
|
117
|
+
className: "contents",
|
|
118
|
+
children: [t.label === void 0 ? null : /* @__PURE__ */ g(x, {
|
|
119
|
+
"data-slot": "call-stack-separator",
|
|
120
|
+
className: A,
|
|
121
|
+
children: [
|
|
122
|
+
/* @__PURE__ */ h("span", { className: "h-px w-3 shrink-0 bg-border" }),
|
|
123
|
+
/* @__PURE__ */ h("span", {
|
|
124
|
+
className: "min-w-0 truncate",
|
|
125
|
+
children: t.label
|
|
126
|
+
}),
|
|
127
|
+
/* @__PURE__ */ h("span", { className: "h-px min-w-3 flex-1 bg-border" })
|
|
128
|
+
]
|
|
129
|
+
}), /* @__PURE__ */ h(_, {
|
|
130
|
+
items: t.rows,
|
|
131
|
+
children: e
|
|
132
|
+
})]
|
|
133
|
+
}), M = 16;
|
|
134
|
+
function N(e) {
|
|
135
|
+
let [t, n] = m({
|
|
136
|
+
value: e,
|
|
137
|
+
quiet: !0
|
|
138
|
+
}), r = p(e);
|
|
139
|
+
r.current = e;
|
|
140
|
+
let i = t;
|
|
141
|
+
return i.quiet && !Object.is(i.value, e) && (i = {
|
|
142
|
+
value: e,
|
|
143
|
+
quiet: !1
|
|
144
|
+
}, n(i)), d(() => {
|
|
145
|
+
if (i.quiet) return;
|
|
146
|
+
let e = setTimeout(() => {
|
|
147
|
+
n((e) => Object.is(e.value, r.current) ? {
|
|
148
|
+
value: e.value,
|
|
149
|
+
quiet: !0
|
|
150
|
+
} : {
|
|
151
|
+
value: r.current,
|
|
152
|
+
quiet: !1
|
|
153
|
+
});
|
|
154
|
+
}, M);
|
|
155
|
+
return () => clearTimeout(e);
|
|
156
|
+
}, [i]), i.value;
|
|
157
|
+
}
|
|
158
|
+
function P({ frames: t, selectedId: n, defaultSelectedId: r, onSelect: i, collapseRuns: s = !0, defaultExpandedRuns: c, rowHeight: u = 26, emptyMessage: g = "No frames", className: _, style: v, "aria-label": y = "Call stack", ...x }) {
|
|
159
|
+
let [S, C] = m(r ?? null), { frames: E, selected: D } = N(f(() => ({
|
|
160
|
+
frames: t,
|
|
161
|
+
selected: n === void 0 ? S : n
|
|
162
|
+
}), [
|
|
163
|
+
t,
|
|
164
|
+
n,
|
|
165
|
+
S
|
|
166
|
+
])), [O, A] = m(() => new Set(c)), M = p(null), P = f(() => {
|
|
167
|
+
let e = a(E, {
|
|
168
|
+
selectedId: D,
|
|
169
|
+
expandedRuns: O,
|
|
170
|
+
collapse: s
|
|
171
|
+
});
|
|
172
|
+
return M.current = l(M.current, e), M.current;
|
|
173
|
+
}, [
|
|
174
|
+
E,
|
|
175
|
+
D,
|
|
176
|
+
O,
|
|
177
|
+
s
|
|
178
|
+
]), F = f(() => {
|
|
179
|
+
let e = /* @__PURE__ */ new Map();
|
|
180
|
+
for (let t of P) for (let n of t.rows) e.set(n.key, n);
|
|
181
|
+
return e;
|
|
182
|
+
}, [P]), I = f(() => j(k((e) => A((t) => {
|
|
183
|
+
let n = new Set(t);
|
|
184
|
+
return n.delete(e) || n.add(e), n;
|
|
185
|
+
}))), []), L = p(null);
|
|
186
|
+
d(() => {
|
|
187
|
+
let e = L.current;
|
|
188
|
+
if (!e || D == null) return;
|
|
189
|
+
let t = o(P, D);
|
|
190
|
+
if (t === null) return;
|
|
191
|
+
let n = t * u, r = () => {
|
|
192
|
+
let t = e.clientHeight, r = e.scrollTop - n, i = n + u - (e.scrollTop + t);
|
|
193
|
+
r <= 0 && i <= 0 || (Math.max(r, i) > t ? e.scrollTop = Math.max(0, n - (t - u) / 2) : e.scrollTop = r > 0 ? n : n + u - t);
|
|
194
|
+
};
|
|
195
|
+
if (r(), n + u <= e.scrollHeight) return;
|
|
196
|
+
let i = requestAnimationFrame(r);
|
|
197
|
+
return () => cancelAnimationFrame(i);
|
|
198
|
+
}, [D]);
|
|
199
|
+
let R = f(() => ({
|
|
200
|
+
rowSize: u,
|
|
201
|
+
headingSize: u
|
|
202
|
+
}), [u]);
|
|
203
|
+
return /* @__PURE__ */ h("div", {
|
|
204
|
+
"data-slot": "call-stack",
|
|
205
|
+
className: e("flex h-full max-h-dvh min-h-0 w-full min-w-0 flex-col", _),
|
|
206
|
+
style: v,
|
|
207
|
+
...x,
|
|
208
|
+
children: /* @__PURE__ */ h(T, {
|
|
209
|
+
layout: w,
|
|
210
|
+
layoutOptions: R,
|
|
211
|
+
children: /* @__PURE__ */ h(b, {
|
|
212
|
+
ref: L,
|
|
213
|
+
"aria-label": y,
|
|
214
|
+
items: P,
|
|
215
|
+
selectionMode: "single",
|
|
216
|
+
selectionBehavior: "replace",
|
|
217
|
+
disallowEmptySelection: !0,
|
|
218
|
+
disabledBehavior: "selection",
|
|
219
|
+
selectedKeys: D == null ? [] : [D],
|
|
220
|
+
onSelectionChange: (e) => {
|
|
221
|
+
if (e === "all") return;
|
|
222
|
+
let [t] = e, n = t == null ? void 0 : F.get(String(t));
|
|
223
|
+
n?.kind === "frame" && (C(n.frame.id), i?.(n.frame, n.index));
|
|
224
|
+
},
|
|
225
|
+
renderEmptyState: () => /* @__PURE__ */ h("div", {
|
|
226
|
+
className: "px-3 py-6 text-center text-footnote text-muted-foreground",
|
|
227
|
+
children: g
|
|
228
|
+
}),
|
|
229
|
+
className: "bl-scroll min-h-0 flex-1 overflow-auto outline-none",
|
|
230
|
+
children: I
|
|
231
|
+
})
|
|
232
|
+
})
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
//#endregion
|
|
236
|
+
export { P as CallStack, D as callStackRowVariants };
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { CSSProperties, HTMLAttributes, KeyboardEvent, MouseEvent, ReactNode, Ref } from 'react';
|
|
2
|
+
import { CodeHighlight, CodeLineRange, CodeSelection, CodeEditorAlign } from '../lib/code-editor-model';
|
|
3
|
+
import { CodeDocument, CodeEditOrigin, CodeHistory } from '../lib/code-document';
|
|
4
|
+
import { SyntaxEngine } from '../lib/syntax';
|
|
5
|
+
/** The band behind a line, across gutters and code. */
|
|
6
|
+
export declare const codeEditorLineVariants: (props?: ({
|
|
7
|
+
tint?: "muted" | "success" | "warning" | "current" | "none" | "info" | "danger" | null | undefined;
|
|
8
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
+
export declare const codeEditorGutterCellVariants: (props?: ({
|
|
10
|
+
align?: "end" | "start" | "center" | null | undefined;
|
|
11
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
12
|
+
export interface CodeEditorGutter {
|
|
13
|
+
id: string;
|
|
14
|
+
/** Width in px. */
|
|
15
|
+
width: number;
|
|
16
|
+
/** A cell's contents: anything. Interactive things in it take part in the gutter's keyboard navigation. */
|
|
17
|
+
render: (lineNumber: number) => ReactNode;
|
|
18
|
+
/** Makes the cell a button. */
|
|
19
|
+
onPress?: (lineNumber: number) => void;
|
|
20
|
+
/** Whether this line's cell can be pressed (default: all of them, given `onPress`). */
|
|
21
|
+
isPressable?: (lineNumber: number) => boolean;
|
|
22
|
+
/** The button's accessible name (default: the gutter's id and the line). */
|
|
23
|
+
label?: (lineNumber: number) => string;
|
|
24
|
+
title?: (lineNumber: number) => string | undefined;
|
|
25
|
+
align?: 'start' | 'center' | 'end';
|
|
26
|
+
className?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface CodeEditorLineDecoration {
|
|
29
|
+
/** A band behind the line, across gutters and code. */
|
|
30
|
+
tint?: 'current' | 'info' | 'success' | 'warning' | 'danger' | 'muted';
|
|
31
|
+
/** On the band: a tint of your own. */
|
|
32
|
+
className?: string;
|
|
33
|
+
/** On the row of code: dim a line that never ran. */
|
|
34
|
+
textClassName?: string;
|
|
35
|
+
/** On the line's gutter cells. */
|
|
36
|
+
gutterClassName?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface CodeEditorMarker {
|
|
39
|
+
/** Only used in the flat form of `markers`. */
|
|
40
|
+
line?: number;
|
|
41
|
+
/** UTF-16 code units from the start of the line, from 0. */
|
|
42
|
+
column: number;
|
|
43
|
+
/** Its accessible name. */
|
|
44
|
+
label: string;
|
|
45
|
+
/** Makes it a button. */
|
|
46
|
+
onPress?: (marker: CodeEditorMarker) => void;
|
|
47
|
+
/** Filled in, and announced as pressed. */
|
|
48
|
+
isActive?: boolean;
|
|
49
|
+
title?: string;
|
|
50
|
+
className?: string;
|
|
51
|
+
/** Replaces the default dot. */
|
|
52
|
+
children?: ReactNode;
|
|
53
|
+
}
|
|
54
|
+
export interface CodeEditorScrollOptions {
|
|
55
|
+
/** Where the line ends up in the view (default `center`). */
|
|
56
|
+
align?: CodeEditorAlign;
|
|
57
|
+
/** Scroll sideways to this column too. */
|
|
58
|
+
column?: number;
|
|
59
|
+
/** Animate. Reduced motion wins. */
|
|
60
|
+
smooth?: boolean;
|
|
61
|
+
}
|
|
62
|
+
export interface CodeEditorScrollTarget extends CodeEditorScrollOptions {
|
|
63
|
+
line: number;
|
|
64
|
+
}
|
|
65
|
+
/** A position in the editor's API: `line` from 1, `column` in UTF-16 code units from 0. */
|
|
66
|
+
export interface CodeEditorPosition {
|
|
67
|
+
line: number;
|
|
68
|
+
column: number;
|
|
69
|
+
}
|
|
70
|
+
export interface CodeEditorSelection {
|
|
71
|
+
anchor: CodeEditorPosition;
|
|
72
|
+
focus: CodeEditorPosition;
|
|
73
|
+
}
|
|
74
|
+
export interface CodeEditorCopy {
|
|
75
|
+
text: string;
|
|
76
|
+
/** The selection was longer than a clipboard should be asked to take, and this is the start of it. */
|
|
77
|
+
truncated: boolean;
|
|
78
|
+
}
|
|
79
|
+
export interface CodeEditorHandle {
|
|
80
|
+
/** Brings a line into view. `line` is from 1. */
|
|
81
|
+
scrollToLine: (line: number, options?: CodeEditorScrollOptions) => void;
|
|
82
|
+
/** With nothing selected: in an editor, the caret, as a selection with both ends at the same place; otherwise `null`. */
|
|
83
|
+
getSelection: () => CodeEditorSelection | null;
|
|
84
|
+
/** The selected text, from the source, however much of it is on screen. */
|
|
85
|
+
getSelectionText: () => string;
|
|
86
|
+
setSelection: (selection: CodeEditorSelection | null) => void;
|
|
87
|
+
selectAll: () => void;
|
|
88
|
+
focus: () => void;
|
|
89
|
+
/** The whole text. On a huge document this takes a while, so ask when you need it rather than on every key. */
|
|
90
|
+
getValue: () => string;
|
|
91
|
+
}
|
|
92
|
+
/** An edit, as `onChange` and `onEdit` report it. */
|
|
93
|
+
export interface CodeEditorChange {
|
|
94
|
+
/** Where the replaced range starts and ends, in the text before the change. */
|
|
95
|
+
from: CodeEditorPosition;
|
|
96
|
+
to: CodeEditorPosition;
|
|
97
|
+
/** Where the new text ends, in the text after the change. */
|
|
98
|
+
newTo: CodeEditorPosition;
|
|
99
|
+
/** What went in, with `\n` for line ends. */
|
|
100
|
+
text: string;
|
|
101
|
+
/** What came out, with `\n` for line ends. */
|
|
102
|
+
removed: string;
|
|
103
|
+
/** What made it: typing (`input`), a delete key, `newline`, `indent`, `paste`, `cut`, an input method (`composition`), `undo`, or `redo`. */
|
|
104
|
+
origin: Exclude<CodeEditOrigin, 'value'>;
|
|
105
|
+
}
|
|
106
|
+
/** What the windowed renderer takes: the parts of `CodeEditorProps` that reach it, worked out by `CodeEditor`. */
|
|
107
|
+
export interface CodeEditorWindowProps {
|
|
108
|
+
handleRef?: Ref<CodeEditorHandle>;
|
|
109
|
+
/** The source, a line to an entry. Or use `lineCount` and `getLine`, or `document`. */
|
|
110
|
+
lines?: readonly string[];
|
|
111
|
+
lineCount?: number;
|
|
112
|
+
/** A line by index, from 0. Only called for what's on screen, and by a pass over the file in the background (see
|
|
113
|
+
`maxLineLength`). */
|
|
114
|
+
getLine?: (index: number) => string;
|
|
115
|
+
/** Changes when what `getLine` returns does. Without it a new `getLine` function means new content, so keep it stable. */
|
|
116
|
+
contentKey?: unknown;
|
|
117
|
+
/** A text as lines. A document that stays the same with `editable` is edited in place. */
|
|
118
|
+
document?: CodeDocument | null;
|
|
119
|
+
/** Editing is on. Needs `document` and `history`. */
|
|
120
|
+
editable?: boolean;
|
|
121
|
+
history?: CodeHistory | null;
|
|
122
|
+
/** Where the caret starts, and where it's kept between mounts. */
|
|
123
|
+
selectionStore?: {
|
|
124
|
+
current: CodeSelection;
|
|
125
|
+
};
|
|
126
|
+
/** What the host says the text is, if it's controlled. */
|
|
127
|
+
value?: string;
|
|
128
|
+
onChange?: (value: string, change: CodeEditorChange) => void;
|
|
129
|
+
onEdit?: (change: CodeEditorChange) => void;
|
|
130
|
+
language?: string;
|
|
131
|
+
/** Beside the code, in this order. They stay put when the code scrolls sideways. */
|
|
132
|
+
gutters?: readonly CodeEditorGutter[];
|
|
133
|
+
/** The built-in line number gutter: next to the code (`true`, `end`), first (`start`), or none. */
|
|
134
|
+
lineNumbers?: boolean | 'start' | 'end';
|
|
135
|
+
onLineNumberPress?: (lineNumber: number) => void;
|
|
136
|
+
isLineNumberPressable?: (lineNumber: number) => boolean;
|
|
137
|
+
lineNumberLabel?: (lineNumber: number) => string;
|
|
138
|
+
lineNumberTitle?: (lineNumber: number) => string | undefined;
|
|
139
|
+
/** The number of the first line. Every line number in the props and the ref counts from it. */
|
|
140
|
+
startLine?: number;
|
|
141
|
+
/** Lines to highlight: `[3, [7, 9], '12-14']`. */
|
|
142
|
+
highlightLines?: readonly CodeLineRange[];
|
|
143
|
+
/** Lines shown as added (green, `+`) … */
|
|
144
|
+
addedLines?: readonly CodeLineRange[];
|
|
145
|
+
/** … and removed (red, `−`). Either one adds a column for the sign. */
|
|
146
|
+
removedLines?: readonly CodeLineRange[];
|
|
147
|
+
/** Extra attributes per line (`id` anchors, `data-*`, handlers), on the line's first row, for lines on screen. */
|
|
148
|
+
lineProps?: (line: number) => HTMLAttributes<HTMLElement> | undefined;
|
|
149
|
+
/** The line execution is on, from 1: a band, and with `currentColumn`, a mark in the line. */
|
|
150
|
+
currentLine?: number | null;
|
|
151
|
+
currentColumn?: number | null;
|
|
152
|
+
/** Keep `currentLine` in view when it changes (default). `{ smooth: true }` animates it. */
|
|
153
|
+
revealCurrentLine?: boolean | {
|
|
154
|
+
smooth?: boolean;
|
|
155
|
+
};
|
|
156
|
+
/** Tints and classes by line. Called for rows on screen, so it can be a lookup; it can return a new object every time. */
|
|
157
|
+
lineDecoration?: (lineNumber: number) => CodeEditorLineDecoration | null | undefined;
|
|
158
|
+
/** Things to press at a column of a line, like a column-level breakpoint. An array, or a function for a line's markers
|
|
159
|
+
when there are many of them. Only those in the part of the line that's rendered are in the DOM. */
|
|
160
|
+
markers?: readonly CodeEditorMarker[] | ((lineNumber: number) => readonly CodeEditorMarker[] | null | undefined);
|
|
161
|
+
/** Scrolls here when this changes. A line, or a line with options. */
|
|
162
|
+
scrollToLine?: number | CodeEditorScrollTarget | null;
|
|
163
|
+
/** Labels the text. By default a small lexer for C-family and script languages labels it here, at once. `null` or `false`
|
|
164
|
+
turns highlighting off. See the docs for gpu-lexer. */
|
|
165
|
+
highlight?: boolean | CodeHighlight | null;
|
|
166
|
+
/** `gpu` labels with gpu-lexer instead of the small lexer. */
|
|
167
|
+
engine?: SyntaxEngine;
|
|
168
|
+
/** Soft-wrap at the width of the view, breaking at the last column that fits, not between words. */
|
|
169
|
+
wrap?: boolean;
|
|
170
|
+
/** Cap the height; it scrolls past it. */
|
|
171
|
+
maxHeight?: number | string;
|
|
172
|
+
/** Cells between tab stops (default 2). */
|
|
173
|
+
tabSize?: number;
|
|
174
|
+
/** Height of a row in px (default 20). */
|
|
175
|
+
lineHeight?: number;
|
|
176
|
+
/** The widest line in cells, if you know it: saves a pass over the file to find the scrollable width. */
|
|
177
|
+
maxLineLength?: number;
|
|
178
|
+
/** Space above the first line and below the last, in px. */
|
|
179
|
+
paddingY?: number;
|
|
180
|
+
/** Copying a selection, with the text that's going on the clipboard. */
|
|
181
|
+
onCopyText?: (copy: CodeEditorCopy) => void;
|
|
182
|
+
onSelectionChange?: (selection: CodeEditorSelection | null) => void;
|
|
183
|
+
onFocusChange?: (focused: boolean) => void;
|
|
184
|
+
onKeyDown?: (event: KeyboardEvent<HTMLDivElement>) => void;
|
|
185
|
+
onContextMenu?: (event: MouseEvent<HTMLDivElement>) => void;
|
|
186
|
+
'aria-label'?: string;
|
|
187
|
+
className?: string;
|
|
188
|
+
style?: CSSProperties;
|
|
189
|
+
}
|
|
190
|
+
export declare function CodeEditorWindow({ handleRef, lines, lineCount, getLine, contentKey, document: textDocument, editable, history, selectionStore, value, onChange, onEdit, language, gutters: gutterProp, lineNumbers, onLineNumberPress, isLineNumberPressable, lineNumberLabel, lineNumberTitle, startLine, highlightLines, addedLines, removedLines, lineProps, currentLine, currentColumn, revealCurrentLine, lineDecoration, markers, scrollToLine, highlight: highlightProp, engine, wrap, maxHeight, tabSize, lineHeight, maxLineLength, paddingY, onCopyText, onSelectionChange, onFocusChange, className, style, onKeyDown, onContextMenu, 'aria-label': ariaLabel, }: CodeEditorWindowProps): import("react/jsx-runtime").JSX.Element;
|
|
191
|
+
//# sourceMappingURL=code-editor-window.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"code-editor-window.d.ts","sourceRoot":"","sources":["../../src/components/code-editor-window.tsx"],"names":[],"mappings":"AACA,OAAO,EAEqF,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,KAAK,aAAa,EAAE,KAAK,UAAU,EAC9H,KAAK,SAAS,EAAE,KAAK,GAAG,EACjE,MAAM,OAAO,CAAC;AAIf,OAAO,EAKL,KAAK,aAAa,EAAE,KAAK,aAAa,EAAqB,KAAK,aAAa,EAAkB,KAAK,eAAe,EAEpH,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAG6B,KAAK,YAAY,EAAE,KAAK,cAAc,EAAE,KAAK,WAAW,EAC3F,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAmC,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;AA0DlF,uDAAuD;AACvD,eAAO,MAAM,sBAAsB;;8EAejC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;8EAKvC,CAAC;AAOH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,2GAA2G;IAC3G,MAAM,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,SAAS,CAAC;IAC1C,+BAA+B;IAC/B,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