@cardenelabs/dragon 0.46.1 → 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/README.ja.md +2 -2
- 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 +2 -2
- package/src/player.ts +10 -3
package/dist/light/index.js
CHANGED
|
@@ -9764,9 +9764,14 @@ function mountDiagram(host, diagram, options = {}) {
|
|
|
9764
9764
|
next = svg ? svg.cloneNode(true) : null;
|
|
9765
9765
|
}
|
|
9766
9766
|
if (!next) return;
|
|
9767
|
-
next.
|
|
9768
|
-
|
|
9769
|
-
|
|
9767
|
+
if (next.querySelector("a[href]")) {
|
|
9768
|
+
next.removeAttribute("aria-hidden");
|
|
9769
|
+
next.setAttribute("role", "group");
|
|
9770
|
+
} else {
|
|
9771
|
+
next.setAttribute("aria-hidden", "true");
|
|
9772
|
+
next.removeAttribute("role");
|
|
9773
|
+
next.removeAttribute("aria-label");
|
|
9774
|
+
}
|
|
9770
9775
|
next.style.setProperty("--at", String(at));
|
|
9771
9776
|
next.style.setProperty("--play", playing ? "running" : "paused");
|
|
9772
9777
|
next.dataset.motion = playing ? "play" : "still";
|