zudoku 0.3.0-dev.13 → 0.3.0-dev.14
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/lib/util/MdxComponents.js +2 -2
- package/dist/lib/util/MdxComponents.js.map +1 -1
- package/lib/{Spinner-CbtkR-Im.js → Spinner-D-NVRYkd.js} +2 -2
- package/lib/zudoku.components.js +2 -2
- package/lib/zudoku.plugins.js +1 -1
- package/package.json +1 -1
- package/src/lib/util/MdxComponents.tsx +2 -2
|
@@ -32,9 +32,9 @@ export const MdxComponents = {
|
|
|
32
32
|
const inline = props.inline;
|
|
33
33
|
if (!inline) {
|
|
34
34
|
const match = className?.match(/language?-(\w+)/);
|
|
35
|
-
return (_jsx(SyntaxHighlight, { language: match?.[1] ?? "markup", className: "rounded-xl overflow-x-auto p-4 border border-border dark:!bg-foreground/10 dark:border-transparent
|
|
35
|
+
return (_jsx(SyntaxHighlight, { language: match?.[1] ?? "markup", className: "rounded-xl overflow-x-auto p-4 border border-border dark:!bg-foreground/10 dark:border-transparent", showLanguageIndicator: true, code: String(children).trim() }));
|
|
36
36
|
}
|
|
37
|
-
return (_jsx("code", { className: cn(className, "font-mono border border-border p-1 py-0.5 rounded bg-border/50 dark:bg-border/70"), children: children }));
|
|
37
|
+
return (_jsx("code", { className: cn(className, "font-mono border border-border p-1 py-0.5 rounded bg-border/50 dark:bg-border/70 whitespace-nowrap"), children: children }));
|
|
38
38
|
},
|
|
39
39
|
};
|
|
40
40
|
//# sourceMappingURL=MdxComponents.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MdxComponents.js","sourceRoot":"","sources":["../../../src/lib/util/MdxComponents.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACn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EACT,oGAAoG,CACrG,YAEA,QAAQ,GACJ,CACR,CAAC;IACJ,CAAC;CAC0B,CAAC"}
|
|
@@ -7929,7 +7929,7 @@ const rl = ({
|
|
|
7929
7929
|
rl,
|
|
7930
7930
|
{
|
|
7931
7931
|
language: (a == null ? void 0 : a[1]) ?? "markup",
|
|
7932
|
-
className: "rounded-xl overflow-x-auto p-4 border border-border dark:!bg-foreground/10 dark:border-transparent
|
|
7932
|
+
className: "rounded-xl overflow-x-auto p-4 border border-border dark:!bg-foreground/10 dark:border-transparent",
|
|
7933
7933
|
showLanguageIndicator: !0,
|
|
7934
7934
|
code: String(t).trim()
|
|
7935
7935
|
}
|
|
@@ -7940,7 +7940,7 @@ const rl = ({
|
|
|
7940
7940
|
{
|
|
7941
7941
|
className: Ne(
|
|
7942
7942
|
e,
|
|
7943
|
-
"font-mono border border-border p-1 py-0.5 rounded bg-border/50 dark:bg-border/70"
|
|
7943
|
+
"font-mono border border-border p-1 py-0.5 rounded bg-border/50 dark:bg-border/70 whitespace-nowrap"
|
|
7944
7944
|
),
|
|
7945
7945
|
children: t
|
|
7946
7946
|
}
|
package/lib/zudoku.components.js
CHANGED
|
@@ -14,8 +14,8 @@ var S = (t, e, s, a) => ({
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
import { j as n, u as D, O as Ee } from "./index-PyGcnQFX.js";
|
|
17
|
-
import { S as me, h as ge, Q as Se, n as m, m as ne, M as Fe, a as re, b as j, e as Re, c as He, d as Le, f as ze, o as ie, r as oe, g as Ke, i as le, p as ce, s as _e, j as z, u as U, N as B, k as Be, l as Ve, q as Ue, t as W, v as X, w as V, x as ve, y as We, z as L, R as ye, T as xe, C as be, A as Xe, B as $e, D as Ge, E as Je, H as je, F as Ye, G as Ze, I as et, J as tt, K as st, L as at, O as nt, P as rt, U as it, V as ot } from "./Spinner-
|
|
18
|
-
import { X as Vt, W as Ut } from "./Spinner-
|
|
17
|
+
import { S as me, h as ge, Q as Se, n as m, m as ne, M as Fe, a as re, b as j, e as Re, c as He, d as Le, f as ze, o as ie, r as oe, g as Ke, i as le, p as ce, s as _e, j as z, u as U, N as B, k as Be, l as Ve, q as Ue, t as W, v as X, w as V, x as ve, y as We, z as L, R as ye, T as xe, C as be, A as Xe, B as $e, D as Ge, E as Je, H as je, F as Ye, G as Ze, I as et, J as tt, K as st, L as at, O as nt, P as rt, U as it, V as ot } from "./Spinner-D-NVRYkd.js";
|
|
18
|
+
import { X as Vt, W as Ut } from "./Spinner-D-NVRYkd.js";
|
|
19
19
|
import { memo as Pe, createContext as lt, useEffect as I, useRef as K, useState as ct, forwardRef as ht, Suspense as we, useMemo as H, Fragment as ut } from "react";
|
|
20
20
|
import { c as dt } from "./state-2Hu1renZ.js";
|
|
21
21
|
var x, de, ft = (de = class extends me {
|
package/lib/zudoku.plugins.js
CHANGED
|
@@ -5,7 +5,7 @@ var Ki = (e, t, n) => t.has(e) || Vs("Cannot " + n);
|
|
|
5
5
|
var Oe = (e, t, n) => (Ki(e, t, "read from private field"), n ? n.call(e) : t.get(e)), bn = (e, t, n) => t.has(e) ? Vs("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), vn = (e, t, n, r) => (Ki(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), wn = (e, t, n) => (Ki(e, t, "access private method"), n);
|
|
6
6
|
import { j as m, a as Ch, O as ic, b as Eh, u as Th, N as oc, m as Ah } from "./index-PyGcnQFX.js";
|
|
7
7
|
import { l as Oh } from "./loglevel-CoH7VSwE.js";
|
|
8
|
-
import { S as Nh, Y as Ph, i as Hs, Z as jh, n as ac, _ as sc, $ as Rh, a0 as $h, j as ht, B as Ih, z as se, a1 as Mn, a2 as Wn, a3 as Pe, a4 as Gt, a5 as be, a6 as xe, a7 as Fh, a8 as st, a9 as Wt, aa as fr, ab as _h, u as lc, X as dr, ac as Lh, q as Dh, k as Mh, J as Bh, t as qh, A as zh, D as uc, ad as Ko, w as Go, H as Uh, ae as Kt, W as Vh, af as Pi, l as Hh, R as cc, T as fc, C as dc, ag as Wh, ah as Kh, ai as Gh, F as Ws, aj as ji, ak as Jh } from "./Spinner-
|
|
8
|
+
import { S as Nh, Y as Ph, i as Hs, Z as jh, n as ac, _ as sc, $ as Rh, a0 as $h, j as ht, B as Ih, z as se, a1 as Mn, a2 as Wn, a3 as Pe, a4 as Gt, a5 as be, a6 as xe, a7 as Fh, a8 as st, a9 as Wt, aa as fr, ab as _h, u as lc, X as dr, ac as Lh, q as Dh, k as Mh, J as Bh, t as qh, A as zh, D as uc, ad as Ko, w as Go, H as Uh, ae as Kt, W as Vh, af as Pi, l as Hh, R as cc, T as fc, C as dc, ag as Wh, ah as Kh, ai as Gh, F as Ws, aj as ji, ak as Jh } from "./Spinner-D-NVRYkd.js";
|
|
9
9
|
import * as C from "react";
|
|
10
10
|
import ee, { useLayoutEffect as Yh, useEffect as Ia, useState as vr, useRef as pc, useMemo as hc, forwardRef as Qh, Fragment as Hr, createContext as Xh, useContext as Zh } from "react";
|
|
11
11
|
import * as Fa from "react-dom";
|
package/package.json
CHANGED
|
@@ -74,7 +74,7 @@ export const MdxComponents = {
|
|
|
74
74
|
return (
|
|
75
75
|
<SyntaxHighlight
|
|
76
76
|
language={match?.[1] ?? "markup"}
|
|
77
|
-
className="rounded-xl overflow-x-auto p-4 border border-border dark:!bg-foreground/10 dark:border-transparent
|
|
77
|
+
className="rounded-xl overflow-x-auto p-4 border border-border dark:!bg-foreground/10 dark:border-transparent"
|
|
78
78
|
showLanguageIndicator
|
|
79
79
|
code={String(children).trim()}
|
|
80
80
|
/>
|
|
@@ -85,7 +85,7 @@ export const MdxComponents = {
|
|
|
85
85
|
<code
|
|
86
86
|
className={cn(
|
|
87
87
|
className,
|
|
88
|
-
"font-mono border border-border p-1 py-0.5 rounded bg-border/50 dark:bg-border/70",
|
|
88
|
+
"font-mono border border-border p-1 py-0.5 rounded bg-border/50 dark:bg-border/70 whitespace-nowrap",
|
|
89
89
|
)}
|
|
90
90
|
>
|
|
91
91
|
{children}
|