@superdoc-dev/mcp 0.3.0-next.95 → 0.3.0-next.96

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.
Files changed (2) hide show
  1. package/dist/index.js +16 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -200373,7 +200373,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
200373
200373
  init_remark_gfm_BhnWr3yf_es();
200374
200374
  });
200375
200375
 
200376
- // ../../packages/superdoc/dist/chunks/src-GAfNMk63.es.js
200376
+ // ../../packages/superdoc/dist/chunks/src-BaUVXQjX.es.js
200377
200377
  function deleteProps(obj, propOrProps) {
200378
200378
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
200379
200379
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -294188,7 +294188,7 @@ menclose::after {
294188
294188
  return;
294189
294189
  console.log(...args$1);
294190
294190
  }, HEADER_FOOTER_INIT_BUDGET_MS = 200, MAX_ZOOM_WARNING_THRESHOLD = 10, MAX_SELECTION_RECTS_PER_USER = 100, SEMANTIC_RESIZE_DEBOUNCE_MS = 120, MIN_SEMANTIC_CONTENT_WIDTH_PX = 1, GLOBAL_PERFORMANCE, PresentationEditor, ICONS, TEXTS, tableActionsOptions;
294191
- var init_src_GAfNMk63_es = __esm(() => {
294191
+ var init_src_BaUVXQjX_es = __esm(() => {
294192
294192
  init_rolldown_runtime_Bg48TavK_es();
294193
294193
  init_SuperConverter_1Voea3gd_es();
294194
294194
  init_jszip_C49i9kUs_es();
@@ -327859,11 +327859,23 @@ function print() { __p += __j.call(arguments, '') }
327859
327859
  if (pageIndex != null) {
327860
327860
  const pageEl = getPageElementByIndex(this.#viewportHost, pageIndex);
327861
327861
  if (pageEl) {
327862
- (this.#findElementAtPosition(pageEl, clampedPos) ?? pageEl).scrollIntoView({
327862
+ const elToScroll = this.#findElementAtPosition(pageEl, clampedPos) ?? pageEl;
327863
+ elToScroll.scrollIntoView({
327863
327864
  block,
327864
327865
  inline: "nearest",
327865
327866
  behavior
327866
327867
  });
327868
+ this.#shouldScrollSelectionIntoView = false;
327869
+ const win = this.#visibleHost.ownerDocument?.defaultView;
327870
+ if (win)
327871
+ win.requestAnimationFrame(() => {
327872
+ elToScroll.scrollIntoView({
327873
+ block,
327874
+ inline: "nearest",
327875
+ behavior
327876
+ });
327877
+ this.#shouldScrollSelectionIntoView = false;
327878
+ });
327867
327879
  return true;
327868
327880
  }
327869
327881
  }
@@ -332289,7 +332301,7 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
332289
332301
 
332290
332302
  // ../../packages/superdoc/dist/super-editor.es.js
332291
332303
  var init_super_editor_es = __esm(() => {
332292
- init_src_GAfNMk63_es();
332304
+ init_src_BaUVXQjX_es();
332293
332305
  init_SuperConverter_1Voea3gd_es();
332294
332306
  init_jszip_C49i9kUs_es();
332295
332307
  init_xml_js_CqGKpaft_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/mcp",
3
- "version": "0.3.0-next.95",
3
+ "version": "0.3.0-next.96",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=20"
@@ -19,9 +19,9 @@
19
19
  "@types/bun": "^1.3.8",
20
20
  "@types/node": "22.19.2",
21
21
  "typescript": "^5.9.2",
22
- "@superdoc/document-api": "0.0.1",
23
22
  "@superdoc/super-editor": "0.0.1",
24
- "superdoc": "1.32.0"
23
+ "superdoc": "1.32.0",
24
+ "@superdoc/document-api": "0.0.1"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public"