@gengage/assistant-fe 0.6.32 → 0.6.34

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.
@@ -1716,7 +1716,8 @@ function Qr(e) {
1716
1716
  }), n.addEventListener("click", (c) => {
1717
1717
  s.classList.contains("is-hidden") || s.contains(c.target) || d.contains(c.target) || (s.classList.add("is-hidden"), d.setAttribute("aria-pressed", "false"));
1718
1718
  }), n.querySelector('[data-action="clear"]')?.addEventListener("click", () => e.clear()), n.querySelector('[data-action="toggle"]')?.addEventListener("click", (c) => {
1719
- i.panel.classList.toggle("is-minimized"), c.currentTarget.textContent = i.panel.classList.contains("is-minimized") ? "Open" : "Min";
1719
+ const p = i.panel.classList.toggle("is-minimized");
1720
+ c.currentTarget.textContent = p ? "Open" : "Min", r.style.bottom = p ? "auto" : "10px";
1720
1721
  }), i.search?.addEventListener("input", () => {
1721
1722
  o.search = i.search.value || "", a();
1722
1723
  }), i.sections?.addEventListener("click", (c) => {
@@ -2452,8 +2453,14 @@ function Sn(e) {
2452
2453
  .json-number { color: #fbbf24; }
2453
2454
  .json-boolean { color: #f0abfc; }
2454
2455
  .json-null { color: #cbd5e1; }
2456
+ /* Minimized: collapse to just the header. The body sections are hidden
2457
+ AND the panel/host stop reserving full viewport height (the host's
2458
+ inline bottom offset is released in JS), so only the title bar remains
2459
+ and the page underneath is clickable again. */
2460
+ .is-minimized { height: auto; max-height: none; }
2455
2461
  .is-minimized .controls, .is-minimized .list { display: none; }
2456
2462
  .is-minimized .state-view { display: none; }
2463
+ .is-minimized .filters-popup { display: none; }
2457
2464
  @media (max-width: 620px) {
2458
2465
  .panel { width: calc(100vw - 20px); }
2459
2466
  }