@mediansh/widget 0.1.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.
@@ -5,16 +5,10 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __getProtoOf = Object.getPrototypeOf;
7
7
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __require = /* @__PURE__ */ ((x3) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x3, {
9
- get: (a, b3) => (typeof require !== "undefined" ? require : a)[b3]
10
- }) : x3)(function(x3) {
11
- if (typeof require !== "undefined") return require.apply(this, arguments);
12
- throw Error('Dynamic require of "' + x3 + '" is not supported');
13
- });
14
8
  var __esm = (fn2, res) => function __init() {
15
9
  return fn2 && (res = (0, fn2[__getOwnPropNames(fn2)[0]])(fn2 = 0)), res;
16
10
  };
17
- var __commonJS = (cb, mod) => function __require2() {
11
+ var __commonJS = (cb, mod) => function __require() {
18
12
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
19
13
  };
20
14
  var __export = (target, all5) => {
@@ -29742,7 +29736,7 @@ var lr = (e) => {
29742
29736
  `; ) t--;
29743
29737
  return e.slice(0, t);
29744
29738
  };
29745
- var cr = lazy(() => import("./highlighted-body-OFNGDK62-UN447WAU.js").then((e) => ({ default: e.HighlightedCodeBlockBody })));
29739
+ var cr = lazy(() => import("./highlighted-body-OFNGDK62-4TPSSDXW.js").then((e) => ({ default: e.HighlightedCodeBlockBody })));
29746
29740
  var st = ({ code: e, language: t, className: o, children: n, isIncomplete: r2 = false, startLine: s2, lineNumbers: a, ...l }) => {
29747
29741
  let i = y3(), d2 = useMemo(() => lr(e), [e]), c2 = useMemo(() => ({ bg: "transparent", fg: "inherit", tokens: d2.split(`
29748
29742
  `).map((p2) => [{ content: p2, color: "inherit", bgColor: "transparent", htmlStyle: {}, offset: 0 }]) }), [d2]);
@@ -30133,7 +30127,7 @@ var vo = ({ children: e, className: t, showControls: o, showCopy: n = true, show
30133
30127
  };
30134
30128
  var es = /startLine=(\d+)/;
30135
30129
  var ts = /\bnoLineNumbers\b/;
30136
- var os = lazy(() => import("./mermaid-GHXKKRXX-5WPKRFDI.js").then((e) => ({ default: e.Mermaid })));
30130
+ var os = lazy(() => import("./mermaid-GHXKKRXX-O3RS5IKL.js").then((e) => ({ default: e.Mermaid })));
30137
30131
  var ns = /language-([^\s]+)/;
30138
30132
  function qe2(e, t) {
30139
30133
  if (!(e != null && e.position || t != null && t.position)) return true;
@@ -30769,12 +30763,7 @@ var po = ({ chart: e, className: t, config: o, fullscreen: n = false, showContro
30769
30763
  };
30770
30764
 
30771
30765
  export {
30772
- __require,
30773
- __esm,
30774
- __commonJS,
30775
30766
  __export,
30776
- __toESM,
30777
- __toCommonJS,
30778
30767
  clsx,
30779
30768
  twMerge,
30780
30769
  At,
@@ -30783,4 +30772,4 @@ export {
30783
30772
  Qs,
30784
30773
  po
30785
30774
  };
30786
- //# sourceMappingURL=chunk-6E3NBXLE.js.map
30775
+ //# sourceMappingURL=chunk-WF2OQH7R.js.map