@mediansh/widget 0.7.0 → 0.9.0

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.
@@ -1,13 +1,15 @@
1
1
  "use client";
2
+ import {
3
+ clsx,
4
+ twMerge
5
+ } from "./chunk-HLALDSPM.js";
2
6
  import {
3
7
  __commonJS,
4
8
  __esm,
5
9
  __export,
6
10
  __toCommonJS,
7
- __toESM,
8
- clsx,
9
- twMerge
10
- } from "./chunk-W6NPKKCE.js";
11
+ __toESM
12
+ } from "./chunk-77KIJLPP.js";
11
13
 
12
14
  // ../../node_modules/.bun/inline-style-parser@0.2.7/node_modules/inline-style-parser/esm/index.mjs
13
15
  function index(style2, options) {
@@ -26443,7 +26445,7 @@ var lr = (e) => {
26443
26445
  `; ) t--;
26444
26446
  return e.slice(0, t);
26445
26447
  };
26446
- var cr = lazy(() => import("./highlighted-body-OFNGDK62-DW3EMPTG.js").then((e) => ({ default: e.HighlightedCodeBlockBody })));
26448
+ var cr = lazy(() => import("./highlighted-body-OFNGDK62-T25BCWKJ.js").then((e) => ({ default: e.HighlightedCodeBlockBody })));
26447
26449
  var st = ({ code: e, language: t, className: o, children: n, isIncomplete: r = false, startLine: s2, lineNumbers: a, ...l }) => {
26448
26450
  let i = y3(), d2 = useMemo(() => lr(e), [e]), c2 = useMemo(() => ({ bg: "transparent", fg: "inherit", tokens: d2.split(`
26449
26451
  `).map((p2) => [{ content: p2, color: "inherit", bgColor: "transparent", htmlStyle: {}, offset: 0 }]) }), [d2]);
@@ -26834,7 +26836,7 @@ var vo = ({ children: e, className: t, showControls: o, showCopy: n = true, show
26834
26836
  };
26835
26837
  var es = /startLine=(\d+)/;
26836
26838
  var ts = /\bnoLineNumbers\b/;
26837
- var os = lazy(() => import("./mermaid-GHXKKRXX-N3BSVIR6.js").then((e) => ({ default: e.Mermaid })));
26839
+ var os = lazy(() => import("./mermaid-GHXKKRXX-U6EYEPWB.js").then((e) => ({ default: e.Mermaid })));
26838
26840
  var ns = /language-([^\s]+)/;
26839
26841
  function qe2(e, t) {
26840
26842
  if (!(e != null && e.position || t != null && t.position)) return true;
@@ -27476,4 +27478,4 @@ export {
27476
27478
  Qs,
27477
27479
  po
27478
27480
  };
27479
- //# sourceMappingURL=chunk-DVQ7V3LR.js.map
27481
+ //# sourceMappingURL=chunk-R3S6Y434.js.map