@locusgraph/loop 0.2.0 → 0.2.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/agent/pulse/gradient-label.js +12 -62
- package/dist/agent/pulse/marks/bars-mark.js +15 -37
- package/dist/agent/pulse/marks/glyph-mark.js +15 -54
- package/dist/agent/pulse/marks/locus-mark.js +12 -36
- package/dist/agent/pulse/marks/orb-mark.js +9 -19
- package/dist/agent/pulse/marks/spinner-mark.js +20 -29
- package/dist/agent/pulse/pulse.js +36 -123
- package/dist/agent/pulse/use-loop-animation.js +12 -33
- package/dist/agent/steps/step-icon.js +26 -96
- package/dist/agent/steps/steps.js +47 -210
- package/dist/agent/tool/json-block.js +11 -31
- package/dist/agent/tool/tool-status.js +12 -35
- package/dist/approval/inbox/inbox-row.js +76 -301
- package/dist/approval/inbox/inbox.js +39 -190
- package/dist/approval/inbox/virtual-inbox-list.js +26 -102
- package/dist/approval/memory/memory-review.js +36 -170
- package/dist/approval/memory/memory-row.js +50 -185
- package/dist/approval/plan/plan-review.js +73 -223
- package/dist/approval/plan/plan-step-row.js +76 -180
- package/dist/approval/plan/question-choices.js +44 -130
- package/dist/approval/plan/question.js +38 -154
- package/dist/approval/run/run-bar.js +39 -123
- package/dist/approval/shared/risk-badge.js +9 -24
- package/dist/approval/shared/use-focus-on-mount.js +5 -21
- package/dist/approval/spend/raise-cap-form.js +48 -221
- package/dist/approval/spend/spend-gate.js +40 -155
- package/dist/approval/spend/spend-meter.js +85 -312
- package/dist/approval/tool/approval.js +35 -194
- package/dist/approval/tool/args/args-editor.js +46 -204
- package/dist/approval/tool/args/args-field.js +55 -238
- package/dist/approval/tool/deny-form.js +36 -123
- package/dist/approval/tool/tool-inputs.js +23 -88
- package/dist/chat/chat/use-stick-to-bottom.js +60 -113
- package/dist/chat/chat/virtual-chat-items.js +34 -127
- package/dist/chat/composer/composer-actions.js +46 -129
- package/dist/chat/composer/use-auto-grow.js +8 -23
- package/dist/chat/files/files.js +66 -291
- package/dist/chat/reply/fenced-code.js +10 -32
- package/dist/chat/reply/reply.js +24 -99
- package/dist/chat/turn/turn.js +46 -197
- package/dist/cost/context.js +65 -282
- package/dist/cost/cost-steps.js +42 -195
- package/dist/cost/cost.js +108 -497
- package/dist/cost/model-picker.js +42 -172
- package/dist/cost/shared/context-breakdown.js +64 -280
- package/dist/cost/shared/meter-marks.js +34 -92
- package/dist/cost/shared/model-option-row.js +35 -158
- package/dist/cost/shared/step-cost-row.js +37 -222
- package/dist/memory/cite.js +58 -179
- package/dist/memory/memorized.js +42 -194
- package/dist/memory/recall.js +68 -263
- package/dist/memory/shared/source-mark.js +10 -38
- package/dist/memory/sources.js +52 -230
- package/dist/shared/decision-summary.js +35 -117
- package/dist/shared/panel-empty.js +15 -73
- package/dist/shared/panel.js +65 -239
- package/dist/shared/status-dot.js +10 -32
- package/dist/thread/actions/action-button.js +10 -53
- package/dist/thread/actions/branch-switcher.js +21 -95
- package/dist/thread/canvas/version-switcher.js +31 -126
- package/dist/thread/code/copy-code-button.js +24 -56
- package/dist/thread/history/row/history-row.js +18 -97
- package/dist/thread/history/row/thread-item-menu.js +19 -72
- package/dist/thread/history/row/thread-title-editor.js +29 -72
- package/dist/thread/history/virtual-history-list.js +46 -82
- package/dist/thread/starters/starters.js +27 -87
- package/dist/thread/use-copied.js +10 -38
- package/package.json +3 -3
package/dist/memory/recall.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { c as _c } from "react/compiler-runtime";
|
|
2
1
|
import { ChevronRight as ChevronRightIcon, RecentlyViewed as HistoryIcon } from "@carbon/icons-react";
|
|
3
2
|
import { Collapsible, CollapsibleContent, CollapsibleTrigger, cn } from "@locusgraph/components";
|
|
4
3
|
import { pluralize } from "@locusgraph/utils";
|
|
@@ -7,235 +6,77 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
7
6
|
export function relevancePercent(relevance) {
|
|
8
7
|
return Math.round(Math.min(Math.max(relevance, 0), 1) * 100);
|
|
9
8
|
}
|
|
10
|
-
export function Recall(
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
let t2;
|
|
23
|
-
if ($[0] !== className) {
|
|
24
|
-
t2 = cn("flex min-w-0 flex-col gap-2", className);
|
|
25
|
-
$[0] = className;
|
|
26
|
-
$[1] = t2;
|
|
27
|
-
} else {
|
|
28
|
-
t2 = $[1];
|
|
29
|
-
}
|
|
30
|
-
let t3;
|
|
31
|
-
if ($[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
32
|
-
t3 = /*#__PURE__*/_jsx(HistoryIcon, {
|
|
33
|
-
"aria-hidden": true
|
|
34
|
-
});
|
|
35
|
-
$[2] = t3;
|
|
36
|
-
} else {
|
|
37
|
-
t3 = $[2];
|
|
38
|
-
}
|
|
39
|
-
let t4;
|
|
40
|
-
if ($[3] !== memories.length) {
|
|
41
|
-
t4 = pluralize(memories.length, "memory", "memories");
|
|
42
|
-
$[3] = memories.length;
|
|
43
|
-
$[4] = t4;
|
|
44
|
-
} else {
|
|
45
|
-
t4 = $[4];
|
|
46
|
-
}
|
|
47
|
-
let t5;
|
|
48
|
-
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
49
|
-
t5 = /*#__PURE__*/_jsx(ChevronRightIcon, {
|
|
50
|
-
"aria-hidden": true,
|
|
51
|
-
className: chevronClass
|
|
52
|
-
});
|
|
53
|
-
$[5] = t5;
|
|
54
|
-
} else {
|
|
55
|
-
t5 = $[5];
|
|
56
|
-
}
|
|
57
|
-
let t6;
|
|
58
|
-
if ($[6] !== t4) {
|
|
59
|
-
t6 = /*#__PURE__*/_jsxs(CollapsibleTrigger, {
|
|
9
|
+
export function Recall({
|
|
10
|
+
memories,
|
|
11
|
+
onOpenMemory,
|
|
12
|
+
defaultOpen = false,
|
|
13
|
+
className
|
|
14
|
+
}) {
|
|
15
|
+
if (memories.length === 0) return null;
|
|
16
|
+
return /*#__PURE__*/_jsxs(Collapsible, {
|
|
17
|
+
"data-slot": "recall",
|
|
18
|
+
defaultOpen: defaultOpen,
|
|
19
|
+
className: cn("flex min-w-0 flex-col gap-2", className),
|
|
20
|
+
children: [/*#__PURE__*/_jsxs(CollapsibleTrigger, {
|
|
60
21
|
className: collapsibleTriggerClass,
|
|
61
|
-
children: [
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
let t7;
|
|
69
|
-
if ($[8] !== memories || $[9] !== onOpenMemory) {
|
|
70
|
-
let t8;
|
|
71
|
-
if ($[11] !== onOpenMemory) {
|
|
72
|
-
t8 = memory => /*#__PURE__*/_jsx(RecallRow, {
|
|
73
|
-
memory: memory,
|
|
74
|
-
onOpenMemory: onOpenMemory
|
|
75
|
-
}, memory.id);
|
|
76
|
-
$[11] = onOpenMemory;
|
|
77
|
-
$[12] = t8;
|
|
78
|
-
} else {
|
|
79
|
-
t8 = $[12];
|
|
80
|
-
}
|
|
81
|
-
t7 = memories.map(t8);
|
|
82
|
-
$[8] = memories;
|
|
83
|
-
$[9] = onOpenMemory;
|
|
84
|
-
$[10] = t7;
|
|
85
|
-
} else {
|
|
86
|
-
t7 = $[10];
|
|
87
|
-
}
|
|
88
|
-
let t8;
|
|
89
|
-
if ($[13] !== t7) {
|
|
90
|
-
t8 = /*#__PURE__*/_jsx(CollapsibleContent, {
|
|
22
|
+
children: [/*#__PURE__*/_jsx(HistoryIcon, {
|
|
23
|
+
"aria-hidden": true
|
|
24
|
+
}), "Recalled ", pluralize(memories.length, "memory", "memories"), /*#__PURE__*/_jsx(ChevronRightIcon, {
|
|
25
|
+
"aria-hidden": true,
|
|
26
|
+
className: chevronClass
|
|
27
|
+
})]
|
|
28
|
+
}), /*#__PURE__*/_jsx(CollapsibleContent, {
|
|
91
29
|
children: /*#__PURE__*/_jsx("ul", {
|
|
92
30
|
className: ruledListClass,
|
|
93
|
-
children:
|
|
31
|
+
children: memories.map(memory => /*#__PURE__*/_jsx(RecallRow, {
|
|
32
|
+
memory: memory,
|
|
33
|
+
onOpenMemory: onOpenMemory
|
|
34
|
+
}, memory.id))
|
|
94
35
|
})
|
|
95
|
-
})
|
|
96
|
-
|
|
97
|
-
$[14] = t8;
|
|
98
|
-
} else {
|
|
99
|
-
t8 = $[14];
|
|
100
|
-
}
|
|
101
|
-
let t9;
|
|
102
|
-
if ($[15] !== defaultOpen || $[16] !== t2 || $[17] !== t6 || $[18] !== t8) {
|
|
103
|
-
t9 = /*#__PURE__*/_jsxs(Collapsible, {
|
|
104
|
-
"data-slot": "recall",
|
|
105
|
-
defaultOpen: defaultOpen,
|
|
106
|
-
className: t2,
|
|
107
|
-
children: [t6, t8]
|
|
108
|
-
});
|
|
109
|
-
$[15] = defaultOpen;
|
|
110
|
-
$[16] = t2;
|
|
111
|
-
$[17] = t6;
|
|
112
|
-
$[18] = t8;
|
|
113
|
-
$[19] = t9;
|
|
114
|
-
} else {
|
|
115
|
-
t9 = $[19];
|
|
116
|
-
}
|
|
117
|
-
return t9;
|
|
36
|
+
})]
|
|
37
|
+
});
|
|
118
38
|
}
|
|
119
|
-
function RelevanceMeter(
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
let t1;
|
|
128
|
-
if ($[0] !== memory.relevance) {
|
|
129
|
-
t1 = relevancePercent(memory.relevance);
|
|
130
|
-
$[0] = memory.relevance;
|
|
131
|
-
$[1] = t1;
|
|
132
|
-
} else {
|
|
133
|
-
t1 = $[1];
|
|
134
|
-
}
|
|
135
|
-
const percent = t1;
|
|
136
|
-
const t2 = `Relevance of ${memory.label}`;
|
|
137
|
-
const t3 = `${percent}% relevant`;
|
|
138
|
-
const t4 = `${percent}%`;
|
|
139
|
-
let t5;
|
|
140
|
-
if ($[2] !== t4) {
|
|
141
|
-
t5 = /*#__PURE__*/_jsx("span", {
|
|
142
|
-
className: "absolute inset-y-0 left-0 bg-foreground/60 transition-[width] duration-300 motion-reduce:transition-none",
|
|
143
|
-
style: {
|
|
144
|
-
width: t4
|
|
145
|
-
}
|
|
146
|
-
});
|
|
147
|
-
$[2] = t4;
|
|
148
|
-
$[3] = t5;
|
|
149
|
-
} else {
|
|
150
|
-
t5 = $[3];
|
|
151
|
-
}
|
|
152
|
-
let t6;
|
|
153
|
-
if ($[4] !== percent || $[5] !== t2 || $[6] !== t3 || $[7] !== t5) {
|
|
154
|
-
t6 = /*#__PURE__*/_jsx("span", {
|
|
39
|
+
function RelevanceMeter({
|
|
40
|
+
memory
|
|
41
|
+
}) {
|
|
42
|
+
if (memory.relevance === undefined) return null;
|
|
43
|
+
const percent = relevancePercent(memory.relevance);
|
|
44
|
+
return /*#__PURE__*/_jsxs("span", {
|
|
45
|
+
className: "flex shrink-0 items-center gap-2",
|
|
46
|
+
children: [/*#__PURE__*/_jsx("span", {
|
|
155
47
|
role: "meter",
|
|
156
|
-
"aria-label":
|
|
48
|
+
"aria-label": `Relevance of ${memory.label}`,
|
|
157
49
|
"aria-valuemin": 0,
|
|
158
50
|
"aria-valuemax": 100,
|
|
159
51
|
"aria-valuenow": percent,
|
|
160
|
-
"aria-valuetext":
|
|
52
|
+
"aria-valuetext": `${percent}% relevant`,
|
|
161
53
|
className: "relative h-[3px] w-10 overflow-hidden bg-muted",
|
|
162
|
-
children:
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
} else {
|
|
170
|
-
t6 = $[8];
|
|
171
|
-
}
|
|
172
|
-
let t7;
|
|
173
|
-
if ($[9] !== percent) {
|
|
174
|
-
t7 = /*#__PURE__*/_jsxs("span", {
|
|
54
|
+
children: /*#__PURE__*/_jsx("span", {
|
|
55
|
+
className: "absolute inset-y-0 left-0 bg-foreground/60 transition-[width] duration-300 motion-reduce:transition-none",
|
|
56
|
+
style: {
|
|
57
|
+
width: `${percent}%`
|
|
58
|
+
}
|
|
59
|
+
})
|
|
60
|
+
}), /*#__PURE__*/_jsxs("span", {
|
|
175
61
|
className: "w-8 text-right font-mono text-xs text-muted-foreground tabular-nums",
|
|
176
62
|
children: [percent, "%"]
|
|
177
|
-
})
|
|
178
|
-
|
|
179
|
-
$[10] = t7;
|
|
180
|
-
} else {
|
|
181
|
-
t7 = $[10];
|
|
182
|
-
}
|
|
183
|
-
let t8;
|
|
184
|
-
if ($[11] !== t6 || $[12] !== t7) {
|
|
185
|
-
t8 = /*#__PURE__*/_jsxs("span", {
|
|
186
|
-
className: "flex shrink-0 items-center gap-2",
|
|
187
|
-
children: [t6, t7]
|
|
188
|
-
});
|
|
189
|
-
$[11] = t6;
|
|
190
|
-
$[12] = t7;
|
|
191
|
-
$[13] = t8;
|
|
192
|
-
} else {
|
|
193
|
-
t8 = $[13];
|
|
194
|
-
}
|
|
195
|
-
return t8;
|
|
63
|
+
})]
|
|
64
|
+
});
|
|
196
65
|
}
|
|
197
|
-
function RecallRow(
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
let t1;
|
|
204
|
-
if ($[0] !== memory.label) {
|
|
205
|
-
t1 = /*#__PURE__*/_jsx("span", {
|
|
206
|
-
className: "min-w-0 flex-1 truncate text-sm font-medium",
|
|
207
|
-
children: memory.label
|
|
208
|
-
});
|
|
209
|
-
$[0] = memory.label;
|
|
210
|
-
$[1] = t1;
|
|
211
|
-
} else {
|
|
212
|
-
t1 = $[1];
|
|
213
|
-
}
|
|
214
|
-
let t2;
|
|
215
|
-
if ($[2] !== memory) {
|
|
216
|
-
t2 = /*#__PURE__*/_jsx(RelevanceMeter, {
|
|
217
|
-
memory: memory
|
|
218
|
-
});
|
|
219
|
-
$[2] = memory;
|
|
220
|
-
$[3] = t2;
|
|
221
|
-
} else {
|
|
222
|
-
t2 = $[3];
|
|
223
|
-
}
|
|
224
|
-
let t3;
|
|
225
|
-
if ($[4] !== t1 || $[5] !== t2) {
|
|
226
|
-
t3 = /*#__PURE__*/_jsxs("span", {
|
|
66
|
+
function RecallRow({
|
|
67
|
+
memory,
|
|
68
|
+
onOpenMemory
|
|
69
|
+
}) {
|
|
70
|
+
const content = /*#__PURE__*/_jsxs(_Fragment, {
|
|
71
|
+
children: [/*#__PURE__*/_jsxs("span", {
|
|
227
72
|
className: "flex w-full items-baseline gap-3",
|
|
228
|
-
children: [
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
}
|
|
236
|
-
let t4;
|
|
237
|
-
if ($[7] !== memory.kind || $[8] !== memory.snippet) {
|
|
238
|
-
t4 = (memory.kind || memory.snippet) && /*#__PURE__*/_jsxs("span", {
|
|
73
|
+
children: [/*#__PURE__*/_jsx("span", {
|
|
74
|
+
className: "min-w-0 flex-1 truncate text-sm font-medium",
|
|
75
|
+
children: memory.label
|
|
76
|
+
}), /*#__PURE__*/_jsx(RelevanceMeter, {
|
|
77
|
+
memory: memory
|
|
78
|
+
})]
|
|
79
|
+
}), (memory.kind || memory.snippet) && /*#__PURE__*/_jsxs("span", {
|
|
239
80
|
className: "flex w-full gap-2 text-xs text-muted-foreground",
|
|
240
81
|
children: [memory.kind && /*#__PURE__*/_jsx("span", {
|
|
241
82
|
className: "shrink-0 font-mono",
|
|
@@ -247,57 +88,21 @@ function RecallRow(t0) {
|
|
|
247
88
|
className: "line-clamp-2 min-w-0",
|
|
248
89
|
children: memory.snippet
|
|
249
90
|
})]
|
|
250
|
-
})
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
let t5;
|
|
258
|
-
if ($[10] !== t3 || $[11] !== t4) {
|
|
259
|
-
t5 = /*#__PURE__*/_jsxs(_Fragment, {
|
|
260
|
-
children: [t3, t4]
|
|
261
|
-
});
|
|
262
|
-
$[10] = t3;
|
|
263
|
-
$[11] = t4;
|
|
264
|
-
$[12] = t5;
|
|
265
|
-
} else {
|
|
266
|
-
t5 = $[12];
|
|
267
|
-
}
|
|
268
|
-
const content = t5;
|
|
269
|
-
let t6;
|
|
270
|
-
if ($[13] !== content || $[14] !== memory.id || $[15] !== memory.label || $[16] !== onOpenMemory) {
|
|
271
|
-
t6 = onOpenMemory ? /*#__PURE__*/_jsx("button", {
|
|
91
|
+
})]
|
|
92
|
+
});
|
|
93
|
+
const rowClass = "flex w-full flex-col items-start gap-1 px-3 py-2.5 text-left";
|
|
94
|
+
return /*#__PURE__*/_jsx("li", {
|
|
95
|
+
"data-slot": "recall-item",
|
|
96
|
+
"data-id": memory.id,
|
|
97
|
+
children: onOpenMemory ? /*#__PURE__*/_jsx("button", {
|
|
272
98
|
type: "button",
|
|
273
99
|
"aria-label": `Open memory ${memory.label}`,
|
|
274
100
|
onClick: () => onOpenMemory(memory.id),
|
|
275
|
-
className: cn(
|
|
101
|
+
className: cn(rowClass, interactiveRowClass),
|
|
276
102
|
children: content
|
|
277
103
|
}) : /*#__PURE__*/_jsx("div", {
|
|
278
|
-
className:
|
|
104
|
+
className: rowClass,
|
|
279
105
|
children: content
|
|
280
|
-
})
|
|
281
|
-
|
|
282
|
-
$[14] = memory.id;
|
|
283
|
-
$[15] = memory.label;
|
|
284
|
-
$[16] = onOpenMemory;
|
|
285
|
-
$[17] = t6;
|
|
286
|
-
} else {
|
|
287
|
-
t6 = $[17];
|
|
288
|
-
}
|
|
289
|
-
let t7;
|
|
290
|
-
if ($[18] !== memory.id || $[19] !== t6) {
|
|
291
|
-
t7 = /*#__PURE__*/_jsx("li", {
|
|
292
|
-
"data-slot": "recall-item",
|
|
293
|
-
"data-id": memory.id,
|
|
294
|
-
children: t6
|
|
295
|
-
});
|
|
296
|
-
$[18] = memory.id;
|
|
297
|
-
$[19] = t6;
|
|
298
|
-
$[20] = t7;
|
|
299
|
-
} else {
|
|
300
|
-
t7 = $[20];
|
|
301
|
-
}
|
|
302
|
-
return t7;
|
|
106
|
+
})
|
|
107
|
+
});
|
|
303
108
|
}
|
|
@@ -1,42 +1,14 @@
|
|
|
1
|
-
import { c as _c } from "react/compiler-runtime";
|
|
2
1
|
import { cn } from "@locusgraph/components";
|
|
3
2
|
import { sourceInitial } from "./host-label.js";
|
|
4
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
-
export function SourceMark(
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
$[1] = t1;
|
|
16
|
-
} else {
|
|
17
|
-
t1 = $[1];
|
|
18
|
-
}
|
|
19
|
-
let t2;
|
|
20
|
-
if ($[2] !== citation) {
|
|
21
|
-
t2 = sourceInitial(citation);
|
|
22
|
-
$[2] = citation;
|
|
23
|
-
$[3] = t2;
|
|
24
|
-
} else {
|
|
25
|
-
t2 = $[3];
|
|
26
|
-
}
|
|
27
|
-
let t3;
|
|
28
|
-
if ($[4] !== t1 || $[5] !== t2) {
|
|
29
|
-
t3 = /*#__PURE__*/_jsx("span", {
|
|
30
|
-
"aria-hidden": true,
|
|
31
|
-
"data-slot": "source-mark",
|
|
32
|
-
className: t1,
|
|
33
|
-
children: t2
|
|
34
|
-
});
|
|
35
|
-
$[4] = t1;
|
|
36
|
-
$[5] = t2;
|
|
37
|
-
$[6] = t3;
|
|
38
|
-
} else {
|
|
39
|
-
t3 = $[6];
|
|
40
|
-
}
|
|
41
|
-
return t3;
|
|
4
|
+
export function SourceMark({
|
|
5
|
+
citation,
|
|
6
|
+
className
|
|
7
|
+
}) {
|
|
8
|
+
return /*#__PURE__*/_jsx("span", {
|
|
9
|
+
"aria-hidden": true,
|
|
10
|
+
"data-slot": "source-mark",
|
|
11
|
+
className: cn("flex size-4 shrink-0 items-center justify-center bg-muted font-mono text-[11px] leading-none font-medium text-muted-foreground ring-1 ring-border", className),
|
|
12
|
+
children: sourceInitial(citation)
|
|
13
|
+
});
|
|
42
14
|
}
|