@meridianlabs/log-viewer 0.3.145 → 0.3.146
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/lib/index.js +8 -3
- package/lib/index.js.map +1 -1
- package/lib/styles/index.css +7 -7
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -104397,7 +104397,7 @@ const ViewerOptionsPopover = ({
|
|
|
104397
104397
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1q.fullWidth, styles$1q.fullWidthPadded), children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: styles$1q.logDir, children: logDir2 }) }),
|
|
104398
104398
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1q.spacer) }),
|
|
104399
104399
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-style-secondary"), children: "Version" }),
|
|
104400
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: "0.3.
|
|
104400
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: "0.3.146-0-gc4af21d61" }),
|
|
104401
104401
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx("text-style-label", "text-style-secondary"), children: "Schema" }),
|
|
104402
104402
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(), children: DB_VERSION }),
|
|
104403
104403
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: clsx(styles$1q.spacer) }),
|
|
@@ -140188,7 +140188,8 @@ class CompletionTooltip {
|
|
|
140188
140188
|
this.range = rangeAroundSelected(open.options.length, open.selected, this.view.state.facet(completionConfig).maxRenderedOptions);
|
|
140189
140189
|
this.showOptions(open.options, cState.id);
|
|
140190
140190
|
}
|
|
140191
|
-
|
|
140191
|
+
let newSel = this.updateSelectedOption(open.selected);
|
|
140192
|
+
if (newSel) {
|
|
140192
140193
|
this.destroyInfo();
|
|
140193
140194
|
let { completion } = open.options[open.selected];
|
|
140194
140195
|
let { info } = completion;
|
|
@@ -140204,6 +140205,7 @@ class CompletionTooltip {
|
|
|
140204
140205
|
}).catch((e) => logException(this.view.state, e, "completion info"));
|
|
140205
140206
|
} else {
|
|
140206
140207
|
this.addInfoPane(infoResult, completion);
|
|
140208
|
+
newSel.setAttribute("aria-describedby", this.info.id);
|
|
140207
140209
|
}
|
|
140208
140210
|
}
|
|
140209
140211
|
}
|
|
@@ -140211,6 +140213,7 @@ class CompletionTooltip {
|
|
|
140211
140213
|
this.destroyInfo();
|
|
140212
140214
|
let wrap2 = this.info = document.createElement("div");
|
|
140213
140215
|
wrap2.className = "cm-tooltip cm-completionInfo";
|
|
140216
|
+
wrap2.id = "cm-completionInfo-" + Math.floor(Math.random() * 65535).toString(16);
|
|
140214
140217
|
if (content2.nodeType != null) {
|
|
140215
140218
|
wrap2.appendChild(content2);
|
|
140216
140219
|
this.infoDestroy = null;
|
|
@@ -140233,8 +140236,10 @@ class CompletionTooltip {
|
|
|
140233
140236
|
set3 = opt;
|
|
140234
140237
|
}
|
|
140235
140238
|
} else {
|
|
140236
|
-
if (opt.hasAttribute("aria-selected"))
|
|
140239
|
+
if (opt.hasAttribute("aria-selected")) {
|
|
140237
140240
|
opt.removeAttribute("aria-selected");
|
|
140241
|
+
opt.removeAttribute("aria-describedby");
|
|
140242
|
+
}
|
|
140238
140243
|
}
|
|
140239
140244
|
}
|
|
140240
140245
|
if (set3)
|