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

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
@@ -25715,7 +25715,8 @@ var __publicField = (obj, key, value) => {
25715
25715
  if (enableHorizontal) {
25716
25716
  animateScrollTo(target, {
25717
25717
  elementToScroll: getScrollContainer$1(target, { horizontal: true }),
25718
- disableHorizontal: false
25718
+ disableHorizontal: false,
25719
+ speed: options.speed
25719
25720
  });
25720
25721
  }
25721
25722
  const mobileClient = editor.options.componentsOptions.mobile;
@@ -25723,7 +25724,8 @@ var __publicField = (obj, key, value) => {
25723
25724
  elementToScroll: (_a = options.elementToScroll) != null ? _a : getScrollContainer$1(target),
25724
25725
  disableHorizontal: true,
25725
25726
  verticalOffset: options == null ? void 0 : options.verticalOffset,
25726
- getClientHeight: mobileClient && clientType.isMobile ? mobileClient.getViewPortHeight : void 0
25727
+ getClientHeight: mobileClient && clientType.isMobile ? mobileClient.getViewPortHeight : void 0,
25728
+ speed: options.speed
25727
25729
  });
25728
25730
  } else if (target.scrollIntoView) {
25729
25731
  target.scrollIntoView({
@@ -40130,7 +40132,7 @@ ${codeText}
40130
40132
  phase: "main",
40131
40133
  fn: ({ state }) => {
40132
40134
  const popper = state.elements.popper;
40133
- if (popper.getBoundingClientRect().top < overflowBoundary.getBoundingClientRect().top + (padding != null ? padding : 20)) {
40135
+ if (popper.getBoundingClientRect().top < overflowBoundary.getBoundingClientRect().top) {
40134
40136
  popper.setAttribute("data-tippy-hidden", "");
40135
40137
  } else {
40136
40138
  popper.removeAttribute("data-tippy-hidden");
@@ -88326,7 +88328,7 @@ ${data2.flowchartText}
88326
88328
  }
88327
88329
  }
88328
88330
  });
88329
- editor.version = "2.2.8-beta.2";
88331
+ editor.version = "2.2.8-beta.4";
88330
88332
  if (Logger$2.level === LogLevel.DEBUG) {
88331
88333
  window.setReauthFail = (fail) => {
88332
88334
  window.isReauthError = fail;
@@ -88427,7 +88429,7 @@ ${data2.flowchartText}
88427
88429
  });
88428
88430
  editor.addCustom(DOC_RE_AUTH_KEYS, (editor2) => new DocReAuthCallbacks(editor2));
88429
88431
  OnesEditorToolbar.register(editor);
88430
- editor.version = "2.2.8-beta.2";
88432
+ editor.version = "2.2.8-beta.4";
88431
88433
  return editor;
88432
88434
  }
88433
88435
  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.2",
3
+ "version": "2.2.8-beta.4",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",