@wireweave/core 1.2.0 → 1.3.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.
- package/README.md +0 -58
- package/dist/index.cjs +1 -1210
- package/dist/index.d.cts +1 -185
- package/dist/index.d.ts +1 -185
- package/dist/index.js +1 -1202
- package/dist/renderer.cjs +1 -1
- package/dist/renderer.d.cts +2 -0
- package/dist/renderer.d.ts +2 -0
- package/dist/renderer.js +1 -1
- package/package.json +1 -1
package/dist/renderer.cjs
CHANGED
|
@@ -49752,7 +49752,7 @@ function renderToSvg(document, options = {}) {
|
|
|
49752
49752
|
}
|
|
49753
49753
|
}
|
|
49754
49754
|
const background = options.background ?? "#ffffff";
|
|
49755
|
-
const { html, css } = render(document, { theme: "light" });
|
|
49755
|
+
const { html, css } = render(document, { theme: options.theme ?? "light" });
|
|
49756
49756
|
const svg = `<?xml version="1.0" encoding="UTF-8"?>
|
|
49757
49757
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
49758
49758
|
viewBox="0 0 ${width} ${height}" width="${width}" height="${height}">
|
package/dist/renderer.d.cts
CHANGED
package/dist/renderer.d.ts
CHANGED
package/dist/renderer.js
CHANGED
|
@@ -49714,7 +49714,7 @@ function renderToSvg(document, options = {}) {
|
|
|
49714
49714
|
}
|
|
49715
49715
|
}
|
|
49716
49716
|
const background = options.background ?? "#ffffff";
|
|
49717
|
-
const { html, css } = render(document, { theme: "light" });
|
|
49717
|
+
const { html, css } = render(document, { theme: options.theme ?? "light" });
|
|
49718
49718
|
const svg = `<?xml version="1.0" encoding="UTF-8"?>
|
|
49719
49719
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
49720
49720
|
viewBox="0 0 ${width} ${height}" width="${width}" height="${height}">
|