@ones-editor/editor 2.2.8-beta.4 → 2.2.8-beta.5

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.js CHANGED
@@ -40132,7 +40132,13 @@ ${codeText}
40132
40132
  phase: "main",
40133
40133
  fn: ({ state }) => {
40134
40134
  const popper = state.elements.popper;
40135
- if (popper.getBoundingClientRect().top < overflowBoundary.getBoundingClientRect().top) {
40135
+ const popperRect = popper.getBoundingClientRect();
40136
+ const overflowBoundaryRect = overflowBoundary.getBoundingClientRect();
40137
+ const topCheck = popperRect.top < overflowBoundaryRect.top;
40138
+ const bottomCheck = popperRect.bottom > overflowBoundaryRect.bottom;
40139
+ const leftCheck = popperRect.left < overflowBoundaryRect.left;
40140
+ const rightCheck = popperRect.right > overflowBoundaryRect.right;
40141
+ if (topCheck || bottomCheck || leftCheck || rightCheck) {
40136
40142
  popper.setAttribute("data-tippy-hidden", "");
40137
40143
  } else {
40138
40144
  popper.removeAttribute("data-tippy-hidden");
@@ -88328,7 +88334,7 @@ ${data2.flowchartText}
88328
88334
  }
88329
88335
  }
88330
88336
  });
88331
- editor.version = "2.2.8-beta.4";
88337
+ editor.version = "2.2.8-beta.5";
88332
88338
  if (Logger$2.level === LogLevel.DEBUG) {
88333
88339
  window.setReauthFail = (fail) => {
88334
88340
  window.isReauthError = fail;
@@ -88429,7 +88435,7 @@ ${data2.flowchartText}
88429
88435
  });
88430
88436
  editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
88431
88437
  OnesEditorToolbar.register(editor);
88432
- editor.version = "2.2.8-beta.4";
88438
+ editor.version = "2.2.8-beta.5";
88433
88439
  return editor;
88434
88440
  }
88435
88441
  async function showDocVersions(editor, options, serverUrl) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ones-editor/editor",
3
- "version": "2.2.8-beta.4",
3
+ "version": "2.2.8-beta.5",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",