@bitcobblers/wod-wiki-ui 0.49.2177 → 0.49.2179
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/{chunk-2XY6AZR6.mjs → chunk-CD7P6Q4Z.mjs} +5 -5
- package/dist/chunk-CD7P6Q4Z.mjs.map +1 -0
- package/dist/extensions/index.cjs +3 -3
- package/dist/extensions/index.cjs.map +1 -1
- package/dist/extensions/index.mjs +1 -1
- package/dist/index.cjs +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.mjs +8 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
- package/dist/chunk-2XY6AZR6.mjs.map +0 -1
|
@@ -6874,7 +6874,7 @@ function WqlComposer({
|
|
|
6874
6874
|
"data-testid": "wql-composer-root",
|
|
6875
6875
|
children: [
|
|
6876
6876
|
diagnosticsPosition === "top" && showDiagnostics && /* @__PURE__ */ jsxRuntime.jsx(WqlDiagnosticsStrip, { diagnostics, stages, actions: action, variant: "header" }),
|
|
6877
|
-
(desktop ||
|
|
6877
|
+
(desktop || active.kind === "wql" || !guided) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 w-full items-center gap-2", children: [
|
|
6878
6878
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
6879
6879
|
WqlTextEditor,
|
|
6880
6880
|
{
|
|
@@ -6900,7 +6900,7 @@ function WqlComposer({
|
|
|
6900
6900
|
setUndo(void 0);
|
|
6901
6901
|
}, className: "min-h-9 shrink-0 rounded-lg px-2.5 text-xs text-muted-foreground hover:text-foreground", children: "Undo removal" })
|
|
6902
6902
|
] }),
|
|
6903
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex min-w-0 flex-wrap items-center gap-1", !desktop && !compact && "rounded-xl border border-border p-2", compact && "hidden"), "data-testid": "wql-composer", onKeyDown: (event) => {
|
|
6903
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex min-w-0 flex-wrap items-center gap-1", !desktop && !compact && "rounded-xl border border-border p-2", desktop && compact && "hidden"), "data-testid": "wql-composer", onKeyDown: (event) => {
|
|
6904
6904
|
if (!["Delete", "Backspace"].includes(event.key) || !(event.target instanceof HTMLButtonElement)) return;
|
|
6905
6905
|
const buttons = Array.from(event.currentTarget.querySelectorAll('[data-testid^="token-slot-"]:not([data-testid^="token-slot-remove-"]):not([data-testid^="token-slot-value-"])'));
|
|
6906
6906
|
const pill = visiblePills[buttons.indexOf(event.target)];
|
|
@@ -6915,7 +6915,7 @@ function WqlComposer({
|
|
|
6915
6915
|
setUndo(currentRef.current.wql);
|
|
6916
6916
|
updateClause(pill, null);
|
|
6917
6917
|
} }, pill.id)),
|
|
6918
|
-
!desktop &&
|
|
6918
|
+
!desktop && active.kind !== "wql" && guided && /* @__PURE__ */ jsxRuntime.jsx("input", { ref: inputRef, type: "text", role: "combobox", "aria-label": "Search text or WQL", "aria-controls": suggesting ? listId : void 0, "aria-expanded": suggesting, "aria-activedescendant": suggesting && highlight >= 0 ? `${listId}-option-${highlight}` : void 0, value: pending, placeholder, onChange: (event) => {
|
|
6919
6919
|
const text = event.target.value;
|
|
6920
6920
|
setPending(text);
|
|
6921
6921
|
setHighlight(-1);
|