@wildwinter/app-shell 0.19.0 → 0.20.0

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/index.cjs CHANGED
@@ -717,7 +717,8 @@ function openGameIdEditor(opts) {
717
717
  className: "shell-id-editor",
718
718
  title: opts.title ?? "Game ID",
719
719
  width: 260,
720
- ...opts.prefer !== void 0 ? { prefer: opts.prefer } : {}
720
+ ...opts.prefer !== void 0 ? { prefer: opts.prefer } : {},
721
+ ...opts.keepClear !== void 0 ? { keepClear: opts.keepClear } : {}
721
722
  });
722
723
  if (!panel) return false;
723
724
  const input = el("input", "shell-id-input");
@@ -1016,7 +1017,7 @@ function openComments(opts) {
1016
1017
  // want it to the left; and never over the problems bar, which an author may
1017
1018
  // be stepping through while reading the thread.
1018
1019
  prefer: opts.prefer ?? "below",
1019
- keepClear: [".problembar"]
1020
+ keepClear: opts.keepClear ?? [".problembar"]
1020
1021
  });
1021
1022
  if (!panel) return;
1022
1023
  const { body, close } = panel;