@danxbot/ui 6.4.2 → 6.4.4
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/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -37985,7 +37985,7 @@ function Ky(e) {
|
|
|
37985
37985
|
}
|
|
37986
37986
|
else
|
|
37987
37987
|
x.fill(0), g.push(0);
|
|
37988
|
-
return { source: t, stops: g, graphemes: o, representative: x };
|
|
37988
|
+
return x[t.length] !== t.length && (g.push(t.length), x[t.length] = t.length), { source: t, stops: g, graphemes: o, representative: x };
|
|
37989
37989
|
}
|
|
37990
37990
|
function Ao(e, t) {
|
|
37991
37991
|
const n = Math.max(0, Math.min(t, e.source.length));
|
|
@@ -38549,7 +38549,7 @@ function qy(e, t = {}) {
|
|
|
38549
38549
|
const m = u.content[0].start, d = u.content[u.content.length - 1].end;
|
|
38550
38550
|
r.set(u, t.highlight(e.slice(m, d), u.frame.language, m));
|
|
38551
38551
|
}
|
|
38552
|
-
const o = [...n].sort((u, m) => u.start - m.start ||
|
|
38552
|
+
const o = [...n].sort((u, m) => u.start - m.start || u.seq - m.seq);
|
|
38553
38553
|
let s = 0, i = 0;
|
|
38554
38554
|
function a(u, m, d, p) {
|
|
38555
38555
|
let h = m;
|
|
@@ -39217,7 +39217,7 @@ function K5({ surface: e, state: t, run: n, container: r }) {
|
|
|
39217
39217
|
"absolute left-8 z-20 flex items-center gap-1 rounded-lg border border-border-subtle",
|
|
39218
39218
|
"bg-surface px-1.5 py-1 shadow-lg"
|
|
39219
39219
|
),
|
|
39220
|
-
style: { top: s -
|
|
39220
|
+
style: { top: s, transform: "translateY(calc(-100% - 6px))" },
|
|
39221
39221
|
onMouseDown: (a) => a.preventDefault(),
|
|
39222
39222
|
children: [
|
|
39223
39223
|
t.construct && /* @__PURE__ */ f(q5, { surface: e, construct: t.construct, run: n }),
|