@superdoc-dev/cli 0.8.0-next.4 → 0.8.0-next.6

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 +101 -56
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -205992,7 +205992,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
205992
205992
  init_remark_gfm_BhnWr3yf_es();
205993
205993
  });
205994
205994
 
205995
- // ../../packages/superdoc/dist/chunks/src-CIV8KODS.es.js
205995
+ // ../../packages/superdoc/dist/chunks/src-NhQXv8uF.es.js
205996
205996
  function deleteProps(obj, propOrProps) {
205997
205997
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
205998
205998
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -208422,6 +208422,9 @@ function chainCommands(...commands$1) {
208422
208422
  return false;
208423
208423
  };
208424
208424
  }
208425
+ function resolveHeaderFooterSelection({ tr }) {
208426
+ return tr?.selection;
208427
+ }
208425
208428
  function findParagraph($pos) {
208426
208429
  for (let depth = $pos.depth;depth >= 0; depth--) {
208427
208430
  const node3 = $pos.node(depth);
@@ -208496,10 +208499,8 @@ function removeRunPropertiesForMark(runProperties, mark2) {
208496
208499
  break;
208497
208500
  }
208498
208501
  }
208499
- function canSetMark(editor, state, tr, newMarkType) {
208500
- let { selection } = tr;
208501
- if (editor.options.isHeaderOrFooter)
208502
- selection = editor.options.lastSelection;
208502
+ function canSetMark(state, tr, newMarkType) {
208503
+ const selection = resolveHeaderFooterSelection({ tr });
208503
208504
  let cursor = null;
208504
208505
  if (isTextSelection(selection))
208505
208506
  cursor = selection.$cursor;
@@ -266669,11 +266670,8 @@ var Node$13 = class Node$14 {
266669
266670
  return createParagraphNear(state, dispatch);
266670
266671
  }, newlineInCode$1 = () => ({ state, dispatch }) => newlineInCode(state, dispatch), exitCode$1 = () => ({ state, dispatch }) => {
266671
266672
  return exitCode(state, dispatch);
266672
- }, setMark = (typeOrName, attributes = {}) => ({ tr, state, dispatch, editor }) => {
266673
- let { selection } = tr;
266674
- if (editor.options.isHeaderOrFooter)
266675
- selection = editor.options.lastSelection;
266676
- const { empty: empty$1, ranges } = selection;
266673
+ }, setMark = (typeOrName, attributes = {}) => ({ tr, state, dispatch }) => {
266674
+ const { empty: empty$1, ranges } = resolveHeaderFooterSelection({ tr });
266677
266675
  const type = getMarkType(typeOrName, state.schema);
266678
266676
  if (dispatch)
266679
266677
  if (empty$1) {
@@ -266703,12 +266701,10 @@ var Node$13 = class Node$14 {
266703
266701
  tr.addMark(trimmedFrom, trimmedTo, type.create(attributes));
266704
266702
  });
266705
266703
  });
266706
- return canSetMark(editor, state, tr, type);
266707
- }, unsetMark = (typeOrName, options = {}) => ({ tr, state, dispatch, editor }) => {
266704
+ return canSetMark(state, tr, type);
266705
+ }, unsetMark = (typeOrName, options = {}) => ({ tr, state, dispatch }) => {
266708
266706
  const { extendEmptyMarkRange = false } = options;
266709
- let { selection } = tr;
266710
- if (editor.options.isHeaderOrFooter)
266711
- selection = editor.options.lastSelection;
266707
+ const selection = resolveHeaderFooterSelection({ tr });
266712
266708
  const type = getMarkType(typeOrName, state.schema);
266713
266709
  const { $from, empty: empty$1, ranges } = selection;
266714
266710
  if (!dispatch)
@@ -266733,11 +266729,8 @@ var Node$13 = class Node$14 {
266733
266729
  tr.removeStoredMark(type);
266734
266730
  removeParagraphRunProperty(tr, markToRemove);
266735
266731
  return true;
266736
- }, unsetAllMarks = () => ({ tr, dispatch, editor }) => {
266737
- let { selection } = tr;
266738
- if (editor.options.isHeaderOrFooter)
266739
- selection = editor.options.lastSelection;
266740
- const { empty: empty$1, ranges } = selection;
266732
+ }, unsetAllMarks = () => ({ tr, dispatch }) => {
266733
+ const { empty: empty$1, ranges } = resolveHeaderFooterSelection({ tr });
266741
266734
  if (dispatch) {
266742
266735
  if (!empty$1)
266743
266736
  ranges.forEach((range) => {
@@ -274451,7 +274444,7 @@ var Node$13 = class Node$14 {
274451
274444
  }, icons, getAvailableColorOptions = () => {
274452
274445
  return icons.flat().map((item) => item.value);
274453
274446
  }, _hoisted_1$14, _hoisted_2$10, ROW_SIZE = 5, TableGrid_default, _hoisted_1$13, _hoisted_2$9, _hoisted_3$7, _hoisted_4$5, _hoisted_5$2, TableActions_default, check_default = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--!Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2025 Fonticons, Inc.--><path d="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"/></svg>
274454
- `, _hoisted_1$12, _hoisted_2$8, _hoisted_3$6, SearchInput_default, TOOLBAR_FONTS, TOOLBAR_FONT_SIZES, HEADLESS_ITEM_MAP, TABLE_ACTION_COMMAND_MAP, TABLE_ACTION_COMMAND_IDS, HEADLESS_TOOLBAR_COMMANDS, NON_HEADLESS_EXECUTE_ITEM_NAMES, HEADLESS_EXECUTE_ITEMS, closeDropdown = (dropdown) => {
274447
+ `, _hoisted_1$12, _hoisted_2$8, _hoisted_3$6, SearchInput_default, TOOLBAR_FONTS, TOOLBAR_FONT_SIZES, RESPONSIVE_BREAKPOINTS, HEADLESS_ITEM_MAP, TABLE_ACTION_COMMAND_MAP, TABLE_ACTION_COMMAND_IDS, HEADLESS_TOOLBAR_COMMANDS, NON_HEADLESS_EXECUTE_ITEM_NAMES, HEADLESS_EXECUTE_ITEMS, closeDropdown = (dropdown) => {
274455
274448
  dropdown.expand.value = false;
274456
274449
  }, makeDefaultItems = ({ superToolbar, toolbarIcons: toolbarIcons$1, toolbarTexts: toolbarTexts$1, toolbarFonts, hideButtons, availableWidth, role, isDev = false } = {}) => {
274457
274450
  const bold2 = useToolbarItem({
@@ -275316,12 +275309,7 @@ var Node$13 = class Node$14 {
275316
275309
  };
275317
275310
  })
275318
275311
  });
275319
- const breakpoints = {
275320
- sm: 768,
275321
- md: 1024,
275322
- lg: 1280,
275323
- xl: 1410
275324
- };
275312
+ const XL_OVERFLOW_SAFETY_BUFFER = 20;
275325
275313
  const stickyItemsWidth = 120;
275326
275314
  const toolbarPadding = 32;
275327
275315
  const itemsToHideXL = [
@@ -275336,6 +275324,17 @@ var Node$13 = class Node$14 {
275336
275324
  "fontSize",
275337
275325
  "redo"
275338
275326
  ];
275327
+ const shouldUseLgCompactStyles = availableWidth <= RESPONSIVE_BREAKPOINTS.lg;
275328
+ if (shouldUseLgCompactStyles)
275329
+ documentMode.attributes.value = {
275330
+ ...documentMode.attributes.value,
275331
+ className: `${documentMode.attributes.value.className} toolbar-item--doc-mode-compact`
275332
+ };
275333
+ if (shouldUseLgCompactStyles)
275334
+ linkedStyles.attributes.value = {
275335
+ ...linkedStyles.attributes.value,
275336
+ className: `${linkedStyles.attributes.value.className} toolbar-item--linked-styles-compact`
275337
+ };
275339
275338
  let toolbarItems = [
275340
275339
  undo$2,
275341
275340
  redo$2,
@@ -275376,7 +275375,7 @@ var Node$13 = class Node$14 {
275376
275375
  ];
275377
275376
  if (!superToolbar.config?.superdoc?.config?.modules?.ai)
275378
275377
  toolbarItems = toolbarItems.filter((item) => item.name.value !== "ai");
275379
- if (availableWidth <= breakpoints.md && hideButtons)
275378
+ if (availableWidth <= RESPONSIVE_BREAKPOINTS.md && hideButtons)
275380
275379
  toolbarItems = toolbarItems.filter((item) => item.type !== "separator");
275381
275380
  if (superToolbar.config.mode !== "docx") {
275382
275381
  const getLinkedStylesIndex = toolbarItems.findIndex((item) => item.name.value === "linkedStyles");
@@ -275407,7 +275406,7 @@ var Node$13 = class Node$14 {
275407
275406
  let totalWidth = toolbarPadding + stickyItemsWidth;
275408
275407
  toolbarItems.forEach((item) => {
275409
275408
  const itemWidth = controlSizes.get(item.name.value) || controlSizes.get("default");
275410
- if (availableWidth < breakpoints.xl && itemsToHideXL.includes(item.name.value) && hideButtons) {
275409
+ if (availableWidth < RESPONSIVE_BREAKPOINTS.xl + XL_OVERFLOW_SAFETY_BUFFER && itemsToHideXL.includes(item.name.value) && hideButtons) {
275411
275410
  overflowItems.push(item);
275412
275411
  if (item.name.value === "linkedStyles") {
275413
275412
  const linkedStylesIdx = toolbarItems.findIndex((item$1) => item$1.name.value === "linkedStyles");
@@ -275415,7 +275414,7 @@ var Node$13 = class Node$14 {
275415
275414
  }
275416
275415
  return;
275417
275416
  }
275418
- if (availableWidth < breakpoints.sm && itemsToHideSM.includes(item.name.value) && hideButtons) {
275417
+ if (availableWidth < RESPONSIVE_BREAKPOINTS.sm && itemsToHideSM.includes(item.name.value) && hideButtons) {
275419
275418
  overflowItems.push(item);
275420
275419
  return;
275421
275420
  }
@@ -290713,7 +290712,7 @@ menclose::after {
290713
290712
  return;
290714
290713
  console.log(...args$1);
290715
290714
  }, 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;
290716
- var init_src_CIV8KODS_es = __esm(() => {
290715
+ var init_src_NhQXv8uF_es = __esm(() => {
290717
290716
  init_rolldown_runtime_Bg48TavK_es();
290718
290717
  init_SuperConverter_DEAeNCv7_es();
290719
290718
  init_jszip_C49i9kUs_es();
@@ -310453,6 +310452,12 @@ function print() { __p += __j.call(arguments, '') }
310453
310452
  props: { "data-item": "btn-fontSize-option" }
310454
310453
  }
310455
310454
  ];
310455
+ RESPONSIVE_BREAKPOINTS = {
310456
+ sm: 768,
310457
+ md: 1024,
310458
+ lg: 1280,
310459
+ xl: 1410
310460
+ };
310456
310461
  HEADLESS_ITEM_MAP = {
310457
310462
  undo: "undo",
310458
310463
  redo: "redo",
@@ -310688,7 +310693,7 @@ function print() { __p += __j.call(arguments, '') }
310688
310693
  ], 10, _hoisted_2$6)], 46, _hoisted_1$10);
310689
310694
  };
310690
310695
  }
310691
- }, [["__scopeId", "data-v-ed885547"]]);
310696
+ }, [["__scopeId", "data-v-5bcd66d0"]]);
310692
310697
  _hoisted_1$9 = {
310693
310698
  class: "toolbar-separator",
310694
310699
  role: "separator",
@@ -311342,6 +311347,10 @@ function print() { __p += __j.call(arguments, '') }
311342
311347
  fromOverflow: {
311343
311348
  type: Boolean,
311344
311349
  default: false
311350
+ },
311351
+ compactSideGroups: {
311352
+ type: Boolean,
311353
+ default: false
311345
311354
  }
311346
311355
  },
311347
311356
  emits: [
@@ -311357,22 +311366,22 @@ function print() { __p += __j.call(arguments, '') }
311357
311366
  const props = __props;
311358
311367
  const currentItem = exports_vue.ref(null);
311359
311368
  const { isHighContrastMode: isHighContrastMode$1 } = useHighContrastMode();
311360
- const styleMap = {
311361
- left: {
311362
- minWidth: "120px",
311363
- justifyContent: "flex-start"
311364
- },
311365
- right: {
311366
- minWidth: "120px",
311367
- justifyContent: "flex-end"
311368
- },
311369
- default: {
311370
- flexGrow: window.matchMedia("(max-width: 768px)").matches ? 0 : 1,
311371
- justifyContent: "center"
311372
- }
311373
- };
311369
+ const isMobile = window.matchMedia("(max-width: 768px)").matches;
311374
311370
  const getPositionStyle = exports_vue.computed(() => {
311375
- return styleMap[props.position] || styleMap.default;
311371
+ if (props.position === "left")
311372
+ return {
311373
+ minWidth: props.compactSideGroups ? "auto" : "120px",
311374
+ justifyContent: "flex-start"
311375
+ };
311376
+ if (props.position === "right")
311377
+ return {
311378
+ minWidth: props.compactSideGroups ? "auto" : "120px",
311379
+ justifyContent: "flex-end"
311380
+ };
311381
+ return {
311382
+ flexGrow: isMobile ? 0 : 1,
311383
+ justifyContent: "center"
311384
+ };
311376
311385
  });
311377
311386
  const isButton = (item) => item.type === "button";
311378
311387
  const isDropdown = (item) => item.type === "dropdown";
@@ -311680,7 +311689,7 @@ function print() { __p += __j.call(arguments, '') }
311680
311689
  }), 128))], 36);
311681
311690
  };
311682
311691
  }
311683
- }, [["__scopeId", "data-v-064b7f76"]]);
311692
+ }, [["__scopeId", "data-v-517244e6"]]);
311684
311693
  Toolbar_default = /* @__PURE__ */ __plugin_vue_export_helper_default({
311685
311694
  __name: "Toolbar",
311686
311695
  emits: [
@@ -311691,6 +311700,8 @@ function print() { __p += __j.call(arguments, '') }
311691
311700
  setup(__props, { emit: __emit }) {
311692
311701
  const { proxy } = exports_vue.getCurrentInstance();
311693
311702
  let toolbarKey = exports_vue.ref(1);
311703
+ const compactSideGroups = exports_vue.ref(false);
311704
+ let containerResizeObserver = null;
311694
311705
  const uiFontFamily = exports_vue.computed(() => {
311695
311706
  const configured = proxy?.$toolbar?.config?.uiDisplayFallbackFont;
311696
311707
  if (typeof configured === "string" && configured.trim())
@@ -311703,6 +311714,9 @@ function print() { __p += __j.call(arguments, '') }
311703
311714
  const getFilteredItems = (position4) => {
311704
311715
  return proxy.$toolbar.getToolbarItemByGroup(position4).filter((item) => !excludeButtonsList.includes(item.name.value));
311705
311716
  };
311717
+ const updateCompactSideGroups = () => {
311718
+ compactSideGroups.value = proxy.$toolbar.getAvailableWidth() <= RESPONSIVE_BREAKPOINTS.lg;
311719
+ };
311706
311720
  const onKeyDown = async (e) => {
311707
311721
  if (e.metaKey && e.key === "f") {
311708
311722
  const searchItem = proxy.$toolbar.getToolbarItemByName("search");
@@ -311717,16 +311731,27 @@ function print() { __p += __j.call(arguments, '') }
311717
311731
  };
311718
311732
  const onWindowResized = async () => {
311719
311733
  await proxy.$toolbar.onToolbarResize();
311734
+ updateCompactSideGroups();
311720
311735
  toolbarKey.value += 1;
311721
311736
  };
311722
311737
  const onResizeThrottled = throttle(onWindowResized, 300);
311723
311738
  function teardownWindowListeners() {
311724
311739
  window.removeEventListener("resize", onResizeThrottled);
311725
311740
  window.removeEventListener("keydown", onKeyDown);
311741
+ containerResizeObserver?.disconnect();
311742
+ containerResizeObserver = null;
311726
311743
  }
311727
311744
  function setupWindowListeners() {
311745
+ teardownWindowListeners();
311728
311746
  window.addEventListener("resize", onResizeThrottled);
311729
311747
  window.addEventListener("keydown", onKeyDown);
311748
+ if (typeof ResizeObserver !== "undefined" && proxy.$toolbar.config?.responsiveToContainer && proxy.$toolbar.toolbarContainer) {
311749
+ containerResizeObserver = new ResizeObserver(() => {
311750
+ onResizeThrottled();
311751
+ });
311752
+ containerResizeObserver.observe(proxy.$toolbar.toolbarContainer);
311753
+ }
311754
+ updateCompactSideGroups();
311730
311755
  }
311731
311756
  exports_vue.onMounted(setupWindowListeners);
311732
311757
  exports_vue.onActivated(setupWindowListeners);
@@ -311740,7 +311765,12 @@ function print() { __p += __j.call(arguments, '') }
311740
311765
  });
311741
311766
  };
311742
311767
  const restoreSelection$1 = () => {
311743
- proxy.$toolbar.activeEditor?.commands?.restoreSelection();
311768
+ const editor = proxy.$toolbar.activeEditor;
311769
+ if (!editor)
311770
+ return;
311771
+ if (editor.options?.isHeaderOrFooter)
311772
+ return;
311773
+ editor.commands?.restoreSelection();
311744
311774
  };
311745
311775
  const handleToolbarMousedown = (e) => {
311746
311776
  if (e.target.closest('input, textarea, [contenteditable="true"]'))
@@ -311760,16 +311790,22 @@ function print() { __p += __j.call(arguments, '') }
311760
311790
  key: 0,
311761
311791
  tabindex: "0",
311762
311792
  "toolbar-items": getFilteredItems("left"),
311793
+ "compact-side-groups": compactSideGroups.value,
311763
311794
  "ui-font-family": uiFontFamily.value,
311764
311795
  position: "left",
311765
311796
  onCommand: handleCommand,
311766
311797
  onItemClicked: restoreSelection$1,
311767
311798
  class: "superdoc-toolbar-group-side"
311768
- }, null, 8, ["toolbar-items", "ui-font-family"])) : exports_vue.createCommentVNode("", true),
311799
+ }, null, 8, [
311800
+ "toolbar-items",
311801
+ "compact-side-groups",
311802
+ "ui-font-family"
311803
+ ])) : exports_vue.createCommentVNode("", true),
311769
311804
  exports_vue.createVNode(ButtonGroup_default, {
311770
311805
  tabindex: "0",
311771
311806
  "toolbar-items": getFilteredItems("center"),
311772
311807
  "overflow-items": exports_vue.unref(proxy).$toolbar.overflowItems,
311808
+ "compact-side-groups": compactSideGroups.value,
311773
311809
  "ui-font-family": uiFontFamily.value,
311774
311810
  position: "center",
311775
311811
  onCommand: handleCommand,
@@ -311777,22 +311813,28 @@ function print() { __p += __j.call(arguments, '') }
311777
311813
  }, null, 8, [
311778
311814
  "toolbar-items",
311779
311815
  "overflow-items",
311816
+ "compact-side-groups",
311780
311817
  "ui-font-family"
311781
311818
  ]),
311782
311819
  exports_vue.unref(showRightSide) ? (exports_vue.openBlock(), exports_vue.createBlock(ButtonGroup_default, {
311783
311820
  key: 1,
311784
311821
  tabindex: "0",
311785
311822
  "toolbar-items": getFilteredItems("right"),
311823
+ "compact-side-groups": compactSideGroups.value,
311786
311824
  "ui-font-family": uiFontFamily.value,
311787
311825
  position: "right",
311788
311826
  onCommand: handleCommand,
311789
311827
  onItemClicked: restoreSelection$1,
311790
311828
  class: "superdoc-toolbar-group-side"
311791
- }, null, 8, ["toolbar-items", "ui-font-family"])) : exports_vue.createCommentVNode("", true)
311829
+ }, null, 8, [
311830
+ "toolbar-items",
311831
+ "compact-side-groups",
311832
+ "ui-font-family"
311833
+ ])) : exports_vue.createCommentVNode("", true)
311792
311834
  ], 32);
311793
311835
  };
311794
311836
  }
311795
- }, [["__scopeId", "data-v-1f259312"]]);
311837
+ }, [["__scopeId", "data-v-bae4cd8a"]]);
311796
311838
  toolbarTexts = {
311797
311839
  bold: "Bold",
311798
311840
  fontFamily: "Font",
@@ -311995,16 +312037,19 @@ function print() { __p += __j.call(arguments, '') }
311995
312037
  getToolbarItemByName(name) {
311996
312038
  return this.toolbarItems.find((item) => item.name.value === name);
311997
312039
  }
311998
- #makeToolbarItems({ superToolbar, icons: icons$1, texts, fonts, hideButtons, isDev = false } = {}) {
312040
+ getAvailableWidth() {
311999
312041
  const documentWidth = document.documentElement.clientWidth;
312000
312042
  const containerWidth = this.toolbarContainer?.offsetWidth ?? 0;
312043
+ return this.config.responsiveToContainer ? containerWidth : documentWidth;
312044
+ }
312045
+ #makeToolbarItems({ superToolbar, icons: icons$1, texts, fonts, hideButtons, isDev = false } = {}) {
312001
312046
  const { defaultItems, overflowItems } = makeDefaultItems({
312002
312047
  superToolbar,
312003
312048
  toolbarIcons: icons$1,
312004
312049
  toolbarTexts: texts,
312005
312050
  toolbarFonts: fonts,
312006
312051
  hideButtons,
312007
- availableWidth: this.config.responsiveToContainer ? containerWidth : documentWidth,
312052
+ availableWidth: this.getAvailableWidth(),
312008
312053
  role: this.role,
312009
312054
  isDev
312010
312055
  });
@@ -312265,7 +312310,7 @@ function print() { __p += __j.call(arguments, '') }
312265
312310
  const isFontCommand = item?.command === "setFontFamily" || item?.command === "setFontSize";
312266
312311
  if (isDropdownOpen && isFontCommand)
312267
312312
  return;
312268
- if (!wasFocused && isMarkToggle) {
312313
+ if (!wasFocused && isMarkToggle && !this.activeEditor?.options?.isHeaderOrFooter) {
312269
312314
  this.pendingMarkCommands.push({
312270
312315
  command: command$1,
312271
312316
  argument,
@@ -325616,7 +325661,7 @@ var init_zipper_DbkgrypV_es = __esm(() => {
325616
325661
 
325617
325662
  // ../../packages/superdoc/dist/super-editor.es.js
325618
325663
  var init_super_editor_es = __esm(() => {
325619
- init_src_CIV8KODS_es();
325664
+ init_src_NhQXv8uF_es();
325620
325665
  init_SuperConverter_DEAeNCv7_es();
325621
325666
  init_jszip_C49i9kUs_es();
325622
325667
  init_xml_js_CqGKpaft_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/cli",
3
- "version": "0.8.0-next.4",
3
+ "version": "0.8.0-next.6",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "superdoc": "./dist/index.js"
@@ -24,21 +24,21 @@
24
24
  "@types/node": "22.19.2",
25
25
  "@types/ws": "^8.5.13",
26
26
  "typescript": "^5.9.2",
27
- "@superdoc/document-api": "0.0.1",
28
27
  "@superdoc/pm-adapter": "0.0.0",
29
- "superdoc": "1.27.0",
30
- "@superdoc/super-editor": "0.0.1"
28
+ "@superdoc/document-api": "0.0.1",
29
+ "@superdoc/super-editor": "0.0.1",
30
+ "superdoc": "1.27.0"
31
31
  },
32
32
  "module": "src/index.ts",
33
33
  "publishConfig": {
34
34
  "access": "public"
35
35
  },
36
36
  "optionalDependencies": {
37
- "@superdoc-dev/cli-darwin-arm64": "0.8.0-next.4",
38
- "@superdoc-dev/cli-darwin-x64": "0.8.0-next.4",
39
- "@superdoc-dev/cli-linux-x64": "0.8.0-next.4",
40
- "@superdoc-dev/cli-linux-arm64": "0.8.0-next.4",
41
- "@superdoc-dev/cli-windows-x64": "0.8.0-next.4"
37
+ "@superdoc-dev/cli-darwin-arm64": "0.8.0-next.6",
38
+ "@superdoc-dev/cli-darwin-x64": "0.8.0-next.6",
39
+ "@superdoc-dev/cli-linux-x64": "0.8.0-next.6",
40
+ "@superdoc-dev/cli-linux-arm64": "0.8.0-next.6",
41
+ "@superdoc-dev/cli-windows-x64": "0.8.0-next.6"
42
42
  },
43
43
  "scripts": {
44
44
  "predev": "node scripts/ensure-superdoc-build.js",