@superdoc-dev/mcp 0.5.0 → 0.5.1

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 +7 -6
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -200677,7 +200677,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
200677
200677
  init_remark_gfm_BhnWr3yf_es();
200678
200678
  });
200679
200679
 
200680
- // ../../packages/superdoc/dist/chunks/src-4yurqSRL.es.js
200680
+ // ../../packages/superdoc/dist/chunks/src-BDnlS-6f.es.js
200681
200681
  function deleteProps(obj, propOrProps) {
200682
200682
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
200683
200683
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -277319,6 +277319,7 @@ var Node$13 = class Node$14 {
277319
277319
  "redo"
277320
277320
  ];
277321
277321
  const shouldUseLgCompactStyles = availableWidth <= RESPONSIVE_BREAKPOINTS.lg;
277322
+ const shouldIncludeFormattingMarks = superToolbar.config?.showFormattingMarksButton === true;
277322
277323
  if (shouldUseLgCompactStyles)
277323
277324
  documentMode.attributes.value = {
277324
277325
  ...documentMode.attributes.value,
@@ -277361,7 +277362,7 @@ var Node$13 = class Node$14 {
277361
277362
  linkedStyles,
277362
277363
  separator,
277363
277364
  ruler,
277364
- formattingMarks,
277365
+ ...shouldIncludeFormattingMarks ? [formattingMarks] : [],
277365
277366
  copyFormat,
277366
277367
  clearFormatting,
277367
277368
  aiButton,
@@ -277377,7 +277378,6 @@ var Node$13 = class Node$14 {
277377
277378
  toolbarItems.splice(getLinkedStylesIndex - 1, 2);
277378
277379
  const filterItems = [
277379
277380
  "ruler",
277380
- "formattingMarks",
277381
277381
  "zoom",
277382
277382
  "undo",
277383
277383
  "redo"
@@ -295202,7 +295202,7 @@ menclose::after {
295202
295202
  return;
295203
295203
  console.log(...args$1);
295204
295204
  }, 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;
295205
- var init_src_4yurqSRL_es = __esm(() => {
295205
+ var init_src_BDnlS_6f_es = __esm(() => {
295206
295206
  init_rolldown_runtime_Bg48TavK_es();
295207
295207
  init_SuperConverter_CMMmelrE_es();
295208
295208
  init_jszip_C49i9kUs_es();
@@ -317082,7 +317082,8 @@ function print() { __p += __j.call(arguments, '') }
317082
317082
  editor: null,
317083
317083
  aiApiKey: null,
317084
317084
  aiEndpoint: null,
317085
- customButtons: []
317085
+ customButtons: [],
317086
+ showFormattingMarksButton: false
317086
317087
  };
317087
317088
  constructor(config3) {
317088
317089
  super();
@@ -333406,7 +333407,7 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
333406
333407
 
333407
333408
  // ../../packages/superdoc/dist/super-editor.es.js
333408
333409
  var init_super_editor_es = __esm(() => {
333409
- init_src_4yurqSRL_es();
333410
+ init_src_BDnlS_6f_es();
333410
333411
  init_SuperConverter_CMMmelrE_es();
333411
333412
  init_jszip_C49i9kUs_es();
333412
333413
  init_xml_js_CqGKpaft_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/mcp",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=20"
@@ -19,8 +19,8 @@
19
19
  "@types/bun": "^1.3.8",
20
20
  "@types/node": "22.19.2",
21
21
  "typescript": "^5.9.2",
22
- "superdoc": "1.33.0",
23
22
  "@superdoc/document-api": "0.0.1",
23
+ "superdoc": "1.33.0",
24
24
  "@superdoc/super-editor": "0.0.1"
25
25
  },
26
26
  "publishConfig": {