vim-web 0.5.0-dev.15 → 0.5.0-dev.17

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.
@@ -72808,7 +72808,7 @@ Averrage Date/Second ${avgDataRatePS} kb
72808
72808
  return;
72809
72809
  }
72810
72810
  if (rectElem.top < rectContainer.top || rectElem.top < 0) {
72811
- selection.scrollIntoView();
72811
+ selection.scrollIntoView({ block: "nearest", inline: "nearest" });
72812
72812
  }
72813
72813
  }
72814
72814
  const isControlKey = (e) => {
@@ -75362,7 +75362,7 @@ Averrage Date/Second ${avgDataRatePS} kb
75362
75362
  }
75363
75363
  }
75364
75364
  function MessageBox(props) {
75365
- const [minimized, setMinimized] = React2.useState(false);
75365
+ const [minimized, setMinimized] = React2.useState(props.value.minimize ?? false);
75366
75366
  const p = props.value;
75367
75367
  if (!p.title || !p.body) return null;
75368
75368
  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "vim-message-box vc-p-6 vc-max-h-[80%] vc-max-w-[80%] vc-w-[424px] vc-bg-white vc-rounded-md vc-shadow-message vc-shadow-[0px_4px_16px_rgba(33,39,51,0.5)] vc-font-roboto", children: [