@cardenelabs/dragon 0.46.3 → 0.46.4
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/cli.cjs.map +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/export.cjs.map +1 -1
- package/dist/export.js.map +1 -1
- package/dist/index.cjs +8 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/dist/light/chunk-CLS6JVKK.cjs.map +1 -1
- package/dist/light/chunk-SUL4AJLI.cjs.map +1 -1
- package/dist/light/chunk-V34DCH34.cjs.map +1 -1
- package/dist/light/git-WBGFDRBD.cjs.map +1 -1
- package/dist/light/index.cjs +8 -3
- package/dist/light/index.cjs.map +1 -1
- package/dist/light/index.js +8 -3
- package/dist/light/index.js.map +1 -1
- package/dist/light/lineup-WLGNGTFX.cjs.map +1 -1
- package/dist/light/state-JVAH4TSM.cjs.map +1 -1
- package/dist/light/time-EXRPI34B.cjs.map +1 -1
- package/dist/light/tree-DECHTXFU.cjs.map +1 -1
- package/dist/player.global.js +3 -3
- package/package.json +1 -1
- package/src/player.ts +10 -3
package/dist/index.js
CHANGED
|
@@ -13580,9 +13580,14 @@ function mountDiagram(host, diagram, options = {}) {
|
|
|
13580
13580
|
next = svg ? svg.cloneNode(true) : null;
|
|
13581
13581
|
}
|
|
13582
13582
|
if (!next) return;
|
|
13583
|
-
next.
|
|
13584
|
-
|
|
13585
|
-
|
|
13583
|
+
if (next.querySelector("a[href]")) {
|
|
13584
|
+
next.removeAttribute("aria-hidden");
|
|
13585
|
+
next.setAttribute("role", "group");
|
|
13586
|
+
} else {
|
|
13587
|
+
next.setAttribute("aria-hidden", "true");
|
|
13588
|
+
next.removeAttribute("role");
|
|
13589
|
+
next.removeAttribute("aria-label");
|
|
13590
|
+
}
|
|
13586
13591
|
next.style.setProperty("--at", String(at));
|
|
13587
13592
|
next.style.setProperty("--play", playing ? "running" : "paused");
|
|
13588
13593
|
next.dataset.motion = playing ? "play" : "still";
|