@arach/arc 0.8.0 → 0.9.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.
- package/README.md +8 -0
- package/lib/{MarkupPanel--EYuvzz7.js → MarkupPanel-Cj5CBxZm.js} +1 -1
- package/lib/arc.es.js +1 -1
- package/lib/arc.umd.js +92 -92
- package/lib/{index-jV-38nBI.js → index-BQwFdXh6.js} +1 -1
- package/lib/{index-Cv2FalAd.js → index-HRf_R0nb.js} +9662 -9649
- package/lib/index.d.ts +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -255,3 +255,11 @@ If you're using a custom Tailwind config that restricts the color palette, ensur
|
|
|
255
255
|
## License
|
|
256
256
|
|
|
257
257
|
MIT
|
|
258
|
+
|
|
259
|
+
### Retro print material
|
|
260
|
+
|
|
261
|
+
Set `material: 'retro-print'` on an isometric `DiagramConfig` for mineral inks,
|
|
262
|
+
warm paper, and deterministic stipple. It works in the React diagram and static
|
|
263
|
+
SVG renderer. Omit the option (or use `'standard'`) to keep the existing finish.
|
|
264
|
+
React technical styles such as blueprint and cyanotype take precedence over
|
|
265
|
+
the material setting.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as j, jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useState as f, useRef as N, useMemo as Z, useEffect as C, useCallback as h } from "react";
|
|
3
|
-
import { C as q, a as B, X as G, b as Q, v as V } from "./index-
|
|
3
|
+
import { C as q, a as B, X as G, b as Q, v as V } from "./index-HRf_R0nb.js";
|
|
4
4
|
const L = "arc-markup-width", u = 460, D = 280, ee = 0.68, P = 24;
|
|
5
5
|
function T() {
|
|
6
6
|
return typeof window > "u" ? u : Math.max(D, Math.round(window.innerWidth * ee));
|
package/lib/arc.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, o, c as r, D as i, E as t, I as d, T as m, G as n, F as g, H as S, S as u, O as l, N as D, y as c, m as T, n as h, K as v, z as E, w as p, x as I, s as x, R as A, Q as B, B as C, J as L, p as M, q as f, r as y, P as F, t as O, M as R, L as w, i as H, d as P, l as Y, u as j, e as k, k as q, j as z, h as G, f as J, v as K } from "./index-
|
|
1
|
+
import { A as e, o, c as r, D as i, E as t, I as d, T as m, G as n, F as g, H as S, S as u, O as l, N as D, y as c, m as T, n as h, K as v, z as E, w as p, x as I, s as x, R as A, Q as B, B as C, J as L, p as M, q as f, r as y, P as F, t as O, M as R, L as w, i as H, d as P, l as Y, u as j, e as k, k as q, j as z, h as G, f as J, v as K } from "./index-HRf_R0nb.js";
|
|
2
2
|
export {
|
|
3
3
|
e as ArcDiagram,
|
|
4
4
|
o as ArcDiagramIsometric,
|