@onlyworlds/sdk 4.123.3 → 4.123.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/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ earlier history lives in git log only.
5
5
 
6
6
  ## [Unreleased]
7
7
 
8
+ ## [4.123.4] - 2026-10-31
9
+
10
+ ### Fixed
11
+
12
+ - **The Waymark closes when focus comes back to the page somewhere else.** Tab off the last row with nothing after it on the page takes focus into the browser's toolbar; the fan-out stays open then, as it does for any window that loses focus. When focus came back into the page on another control (measured in Chromium and WebKit), the fan-out stayed open over the page with focus outside it. Focus arriving anywhere outside the fan-out now closes it, and stays where it arrived; coming back to a row keeps it open.
13
+ - **Every row of the Waymark is reached by Tab in Safari.** WebKit leaves a link out of the Tab order unless it carries a `tabindex`, so Tab skipped the rows that are links (a tool that opens on the web) between the rows that are buttons. Link rows now carry `tabindex="0"`; Chromium and Firefox are unchanged. Read in Chromium, Firefox and WebKit at 390 and 1440 px wide.
14
+
8
15
  ## [4.123.3] - 2026-10-31
9
16
 
10
17
  ### Fixed
package/dist/waymark.js CHANGED
@@ -248,6 +248,7 @@ function mountWaymark(target, options) {
248
248
  a.setAttribute("aria-disabled", "true");
249
249
  } else {
250
250
  a = el("a", cls);
251
+ a.tabIndex = 0;
251
252
  a.href = r.href;
252
253
  if (WEB_LINK.test(r.href)) {
253
254
  a.target = "_blank";
@@ -386,6 +387,7 @@ function mountWaymark(target, options) {
386
387
  placePop();
387
388
  from.setAttribute("aria-expanded", "true");
388
389
  on(openListeners, doc, "pointerdown", onOutside, true);
390
+ on(openListeners, doc, "focusin", onFocusIn, true);
389
391
  if (win !== null) {
390
392
  on(openListeners, win, "online", onConnection);
391
393
  on(openListeners, win, "offline", onConnection);
@@ -545,6 +547,9 @@ function mountWaymark(target, options) {
545
547
  if (!inside(doc.activeElement)) close(false);
546
548
  }, 0);
547
549
  };
550
+ const onFocusIn = (e) => {
551
+ if (isOpen() && !inside(e.target)) close(false);
552
+ };
548
553
  const onConnection = () => {
549
554
  if (isOpen()) drawRows();
550
555
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onlyworlds/sdk",
3
- "version": "4.123.3",
3
+ "version": "4.123.4",
4
4
  "description": "TypeScript SDK for the OnlyWorlds API - build world-building applications with type safety",
5
5
  "type": "module",
6
6
  "exports": {