@superdoc-dev/cli 0.5.0-next.60 → 0.5.0-next.61

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 +5 -5
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -203905,7 +203905,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
203905
203905
  init_remark_gfm_BhnWr3yf_es();
203906
203906
  });
203907
203907
 
203908
- // ../../packages/superdoc/dist/chunks/src-C8kQT9o6.es.js
203908
+ // ../../packages/superdoc/dist/chunks/src-BFCuWPe2.es.js
203909
203909
  function deleteProps(obj, propOrProps) {
203910
203910
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
203911
203911
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -272453,7 +272453,7 @@ var Node$13 = class Node$14 {
272453
272453
  }, getLevel = (node3) => {
272454
272454
  const lvl = node3.getAttribute("data-level");
272455
272455
  return lvl ? parseInt(lvl, 10) : 0;
272456
- }, DEFAULT_FALLBACK_MARGIN_INCHES = 1, MIN_MOBILE_SIDE_MARGIN_PX = 10, RESIZE_DEBOUNCE_MS = 150, DEFAULT_LINE_HEIGHT = 1.2, RUNTIME_COPY_STRIP_SELECTOR, PARAGRAPH_CONTENT_SELECTOR = "span.sd-paragraph-content", BLOCK_COPY_CONTEXT_SELECTOR = "p, div, h1, h2, h3, h4, h5, h6, blockquote, table", WORD_HTML_META = '<meta name="Generator" content="Microsoft Word">', WORD_NUM_FMT_BY_LIST_FMT, ProseMirrorRenderer = class {
272456
+ }, DEFAULT_FALLBACK_MARGIN_INCHES = 1, MIN_MOBILE_SIDE_MARGIN_PX = 10, RESIZE_DEBOUNCE_MS = 150, DEFAULT_LINE_HEIGHT = 1.2, HEADER_FOOTER_LINE_HEIGHT = 1, RUNTIME_COPY_STRIP_SELECTOR, PARAGRAPH_CONTENT_SELECTOR = "span.sd-paragraph-content", BLOCK_COPY_CONTEXT_SELECTOR = "p, div, h1, h2, h3, h4, h5, h6, blockquote, table", WORD_HTML_META = '<meta name="Generator" content="Microsoft Word">', WORD_NUM_FMT_BY_LIST_FMT, ProseMirrorRenderer = class {
272457
272457
  constructor() {
272458
272458
  this.view = null;
272459
272459
  this.eventListenerCleanups = [];
@@ -272544,7 +272544,7 @@ var Node$13 = class Node$14 {
272544
272544
  element3.style.fontFamily = resolvedFontFamily;
272545
272545
  if (fontSizePt)
272546
272546
  element3.style.fontSize = `${fontSizePt}pt`;
272547
- proseMirror.style.lineHeight = String(DEFAULT_LINE_HEIGHT);
272547
+ proseMirror.style.lineHeight = editor.options.isHeaderOrFooter ? String(HEADER_FOOTER_LINE_HEIGHT) : String(DEFAULT_LINE_HEIGHT);
272548
272548
  element3.style.transformOrigin = "top left";
272549
272549
  element3.style.touchAction = "auto";
272550
272550
  const elementStyleWithVendor = element3.style;
@@ -286216,7 +286216,7 @@ var Node$13 = class Node$14 {
286216
286216
  return;
286217
286217
  console.log(...args$1);
286218
286218
  }, 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;
286219
- var init_src_C8kQT9o6_es = __esm(() => {
286219
+ var init_src_BFCuWPe2_es = __esm(() => {
286220
286220
  init_rolldown_runtime_Bg48TavK_es();
286221
286221
  init_SuperConverter_CE_qGNRx_es();
286222
286222
  init_jszip_C49i9kUs_es();
@@ -320687,7 +320687,7 @@ var init_zipper_DbkgrypV_es = __esm(() => {
320687
320687
 
320688
320688
  // ../../packages/superdoc/dist/super-editor.es.js
320689
320689
  var init_super_editor_es = __esm(() => {
320690
- init_src_C8kQT9o6_es();
320690
+ init_src_BFCuWPe2_es();
320691
320691
  init_SuperConverter_CE_qGNRx_es();
320692
320692
  init_jszip_C49i9kUs_es();
320693
320693
  init_xml_js_CqGKpaft_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/cli",
3
- "version": "0.5.0-next.60",
3
+ "version": "0.5.0-next.61",
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/pm-adapter": "0.0.0",
28
- "superdoc": "1.24.0",
27
+ "@superdoc/document-api": "0.0.1",
29
28
  "@superdoc/super-editor": "0.0.1",
30
- "@superdoc/document-api": "0.0.1"
29
+ "@superdoc/pm-adapter": "0.0.0",
30
+ "superdoc": "1.24.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.5.0-next.60",
38
- "@superdoc-dev/cli-linux-x64": "0.5.0-next.60",
39
- "@superdoc-dev/cli-darwin-x64": "0.5.0-next.60",
40
- "@superdoc-dev/cli-linux-arm64": "0.5.0-next.60",
41
- "@superdoc-dev/cli-windows-x64": "0.5.0-next.60"
37
+ "@superdoc-dev/cli-darwin-arm64": "0.5.0-next.61",
38
+ "@superdoc-dev/cli-darwin-x64": "0.5.0-next.61",
39
+ "@superdoc-dev/cli-linux-x64": "0.5.0-next.61",
40
+ "@superdoc-dev/cli-windows-x64": "0.5.0-next.61",
41
+ "@superdoc-dev/cli-linux-arm64": "0.5.0-next.61"
42
42
  },
43
43
  "scripts": {
44
44
  "predev": "node scripts/ensure-superdoc-build.js",