@superdoc-dev/cli 0.7.0-next.23 → 0.7.0-next.24

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 +20 -3
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -205567,7 +205567,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
205567
205567
  init_remark_gfm_BhnWr3yf_es();
205568
205568
  });
205569
205569
 
205570
- // ../../packages/superdoc/dist/chunks/src-BvQy1mGL.es.js
205570
+ // ../../packages/superdoc/dist/chunks/src-DmdTSOpy.es.js
205571
205571
  function deleteProps(obj, propOrProps) {
205572
205572
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
205573
205573
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -289487,6 +289487,23 @@ var Node$13 = class Node$14 {
289487
289487
  .superdoc-layout *::-moz-selection {
289488
289488
  background: transparent;
289489
289489
  }
289490
+
289491
+ /* Keep native selection visible inside live header/footer editors.
289492
+ * Unlike the main document surface, header/footer editing uses a visible
289493
+ * ProseMirror host. If we suppress native selection there, users can end up
289494
+ * with no obvious selection feedback when the custom overlay is subtle or
289495
+ * still syncing to the current drag gesture. */
289496
+ .superdoc-layout .superdoc-header-editor-host *::selection,
289497
+ .superdoc-layout .superdoc-footer-editor-host *::selection {
289498
+ background: Highlight;
289499
+ color: HighlightText;
289500
+ }
289501
+
289502
+ .superdoc-layout .superdoc-header-editor-host *::-moz-selection,
289503
+ .superdoc-layout .superdoc-footer-editor-host *::-moz-selection {
289504
+ background: Highlight;
289505
+ color: HighlightText;
289506
+ }
289490
289507
  `, nativeSelectionStylesInjected = false, FIELD_ANNOTATION_INTERACTION_STYLES = `
289491
289508
  /* Editing affordance: allow text selection on draggable annotations */
289492
289509
  .superdoc-layout .annotation[data-draggable="true"] {
@@ -289522,7 +289539,7 @@ var Node$13 = class Node$14 {
289522
289539
  return;
289523
289540
  console.log(...args$1);
289524
289541
  }, 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;
289525
- var init_src_BvQy1mGL_es = __esm(() => {
289542
+ var init_src_DmdTSOpy_es = __esm(() => {
289526
289543
  init_rolldown_runtime_Bg48TavK_es();
289527
289544
  init_SuperConverter_B4pTwmbr_es();
289528
289545
  init_jszip_C49i9kUs_es();
@@ -324299,7 +324316,7 @@ var init_zipper_DbkgrypV_es = __esm(() => {
324299
324316
 
324300
324317
  // ../../packages/superdoc/dist/super-editor.es.js
324301
324318
  var init_super_editor_es = __esm(() => {
324302
- init_src_BvQy1mGL_es();
324319
+ init_src_DmdTSOpy_es();
324303
324320
  init_SuperConverter_B4pTwmbr_es();
324304
324321
  init_jszip_C49i9kUs_es();
324305
324322
  init_xml_js_CqGKpaft_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/cli",
3
- "version": "0.7.0-next.23",
3
+ "version": "0.7.0-next.24",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "superdoc": "./dist/index.js"
@@ -25,20 +25,20 @@
25
25
  "@types/ws": "^8.5.13",
26
26
  "typescript": "^5.9.2",
27
27
  "@superdoc/document-api": "0.0.1",
28
- "@superdoc/super-editor": "0.0.1",
29
28
  "@superdoc/pm-adapter": "0.0.0",
30
- "superdoc": "1.26.0"
29
+ "superdoc": "1.26.0",
30
+ "@superdoc/super-editor": "0.0.1"
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.7.0-next.23",
38
- "@superdoc-dev/cli-darwin-x64": "0.7.0-next.23",
39
- "@superdoc-dev/cli-linux-x64": "0.7.0-next.23",
40
- "@superdoc-dev/cli-windows-x64": "0.7.0-next.23",
41
- "@superdoc-dev/cli-linux-arm64": "0.7.0-next.23"
37
+ "@superdoc-dev/cli-darwin-arm64": "0.7.0-next.24",
38
+ "@superdoc-dev/cli-darwin-x64": "0.7.0-next.24",
39
+ "@superdoc-dev/cli-linux-x64": "0.7.0-next.24",
40
+ "@superdoc-dev/cli-windows-x64": "0.7.0-next.24",
41
+ "@superdoc-dev/cli-linux-arm64": "0.7.0-next.24"
42
42
  },
43
43
  "scripts": {
44
44
  "predev": "node scripts/ensure-superdoc-build.js",