@superdoc-dev/mcp 0.3.0-next.105 → 0.3.0-next.107

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 +10 -9
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -200676,7 +200676,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
200676
200676
  init_remark_gfm_BhnWr3yf_es();
200677
200677
  });
200678
200678
 
200679
- // ../../packages/superdoc/dist/chunks/src-C3dDgx5S.es.js
200679
+ // ../../packages/superdoc/dist/chunks/src-DkqDaHKO.es.js
200680
200680
  function deleteProps(obj, propOrProps) {
200681
200681
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
200682
200682
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -277297,6 +277297,7 @@ var Node$13 = class Node$14 {
277297
277297
  "redo"
277298
277298
  ];
277299
277299
  const shouldUseLgCompactStyles = availableWidth <= RESPONSIVE_BREAKPOINTS.lg;
277300
+ const shouldIncludeFormattingMarks = superToolbar.config?.showFormattingMarksButton === true;
277300
277301
  if (shouldUseLgCompactStyles)
277301
277302
  documentMode.attributes.value = {
277302
277303
  ...documentMode.attributes.value,
@@ -277339,7 +277340,7 @@ var Node$13 = class Node$14 {
277339
277340
  linkedStyles,
277340
277341
  separator,
277341
277342
  ruler,
277342
- formattingMarks,
277343
+ ...shouldIncludeFormattingMarks ? [formattingMarks] : [],
277343
277344
  copyFormat,
277344
277345
  clearFormatting,
277345
277346
  aiButton,
@@ -277355,7 +277356,6 @@ var Node$13 = class Node$14 {
277355
277356
  toolbarItems.splice(getLinkedStylesIndex - 1, 2);
277356
277357
  const filterItems = [
277357
277358
  "ruler",
277358
- "formattingMarks",
277359
277359
  "zoom",
277360
277360
  "undo",
277361
277361
  "redo"
@@ -295180,7 +295180,7 @@ menclose::after {
295180
295180
  return;
295181
295181
  console.log(...args$1);
295182
295182
  }, 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;
295183
- var init_src_C3dDgx5S_es = __esm(() => {
295183
+ var init_src_DkqDaHKO_es = __esm(() => {
295184
295184
  init_rolldown_runtime_Bg48TavK_es();
295185
295185
  init_SuperConverter_ByqzBuoW_es();
295186
295186
  init_jszip_C49i9kUs_es();
@@ -317042,7 +317042,8 @@ function print() { __p += __j.call(arguments, '') }
317042
317042
  editor: null,
317043
317043
  aiApiKey: null,
317044
317044
  aiEndpoint: null,
317045
- customButtons: []
317045
+ customButtons: [],
317046
+ showFormattingMarksButton: false
317046
317047
  };
317047
317048
  constructor(config3) {
317048
317049
  super();
@@ -333320,9 +333321,9 @@ function print() { __p += __j.call(arguments, '') }
333320
333321
  ];
333321
333322
  });
333322
333323
 
333323
- // ../../packages/superdoc/dist/chunks/create-super-doc-ui-ohqFuGuC.es.js
333324
+ // ../../packages/superdoc/dist/chunks/create-super-doc-ui-BrI339ti.es.js
333324
333325
  var MOD_ALIASES, ALT_ALIASES, CTRL_ALIASES, SHIFT_ALIASES, BUILTIN_CONTEXT_MENU_GROUPS, BUILTIN_GROUP_ORDER, RESERVED_PROXY_PROPERTY_NAMES, ALL_TOOLBAR_COMMAND_IDS, EMPTY_ACTIVE_IDS;
333325
- var init_create_super_doc_ui_ohqFuGuC_es = __esm(() => {
333326
+ var init_create_super_doc_ui_BrI339ti_es = __esm(() => {
333326
333327
  init_SuperConverter_ByqzBuoW_es();
333327
333328
  init_create_headless_toolbar_CaWsmmol_es();
333328
333329
  MOD_ALIASES = new Set([
@@ -333366,7 +333367,7 @@ var init_zipper_BxRAi0_5_es = __esm(() => {
333366
333367
 
333367
333368
  // ../../packages/superdoc/dist/super-editor.es.js
333368
333369
  var init_super_editor_es = __esm(() => {
333369
- init_src_C3dDgx5S_es();
333370
+ init_src_DkqDaHKO_es();
333370
333371
  init_SuperConverter_ByqzBuoW_es();
333371
333372
  init_jszip_C49i9kUs_es();
333372
333373
  init_xml_js_CqGKpaft_es();
@@ -333375,7 +333376,7 @@ var init_super_editor_es = __esm(() => {
333375
333376
  init_dist_B8HfvhaK_es();
333376
333377
  init_unified_Dsuw2be5_es();
333377
333378
  init_DocxZipper_Bphhij1P_es();
333378
- init_create_super_doc_ui_ohqFuGuC_es();
333379
+ init_create_super_doc_ui_BrI339ti_es();
333379
333380
  init_ui_CGB3qmy3_es();
333380
333381
  init_eventemitter3_UwU_CLPU_es();
333381
333382
  init_errors_C_DoKMoN_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/mcp",
3
- "version": "0.3.0-next.105",
3
+ "version": "0.3.0-next.107",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=20"
@@ -20,8 +20,8 @@
20
20
  "@types/node": "22.19.2",
21
21
  "typescript": "^5.9.2",
22
22
  "@superdoc/document-api": "0.0.1",
23
- "@superdoc/super-editor": "0.0.1",
24
- "superdoc": "1.32.0"
23
+ "superdoc": "1.32.0",
24
+ "@superdoc/super-editor": "0.0.1"
25
25
  },
26
26
  "publishConfig": {
27
27
  "access": "public"