@openpresentation/opf-editor 0.26.10 → 0.28.0

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 (52) hide show
  1. package/README.md +60 -6
  2. package/dist/canvas-variables.d.ts +15 -0
  3. package/dist/canvas-variables.js +52 -0
  4. package/dist/canvas.js +33 -5
  5. package/dist/design-controls.js +3 -2
  6. package/dist/design-options.js +1 -1
  7. package/dist/index.d.ts +37 -1
  8. package/dist/index.js +50 -3
  9. package/dist/json-editor.d.ts +33 -0
  10. package/dist/json-editor.js +83 -2
  11. package/dist/layout-adapter.js +96 -0
  12. package/dist/layout-canvas.js +122 -232
  13. package/dist/layout-editor-ui.js +46 -185
  14. package/dist/layout-inspector.js +36 -99
  15. package/dist/layout-layers.js +75 -92
  16. package/dist/layout-model.js +62 -103
  17. package/dist/react.d.ts +38 -0
  18. package/dist/react.js +127 -0
  19. package/dist/slide-retention.js +13 -0
  20. package/dist/source-color-scheme.js +60 -0
  21. package/dist/source-pane.d.ts +85 -0
  22. package/dist/source-pane.js +151 -9
  23. package/dist/studio-kit/commands.d.ts +38 -0
  24. package/dist/studio-kit/commands.js +148 -0
  25. package/dist/studio-kit/dom.d.ts +36 -0
  26. package/dist/studio-kit/dom.js +162 -0
  27. package/dist/studio-kit/drag.d.ts +26 -0
  28. package/dist/studio-kit/drag.js +127 -0
  29. package/dist/studio-kit/gesture.d.ts +29 -0
  30. package/dist/studio-kit/gesture.js +87 -0
  31. package/dist/studio-kit/index.d.ts +29 -0
  32. package/dist/studio-kit/index.js +12 -0
  33. package/dist/studio-kit/inspector.d.ts +22 -0
  34. package/dist/studio-kit/inspector.js +119 -0
  35. package/dist/studio-kit/overlay.d.ts +29 -0
  36. package/dist/studio-kit/overlay.js +182 -0
  37. package/dist/studio-kit/selection.d.ts +30 -0
  38. package/dist/studio-kit/selection.js +106 -0
  39. package/dist/studio-kit/tree.d.ts +9 -0
  40. package/dist/studio-kit/tree.js +82 -0
  41. package/dist/studio-kit/viewport.d.ts +29 -0
  42. package/dist/studio-kit/viewport.js +153 -0
  43. package/dist/styles.css +325 -7
  44. package/dist/workspace-layouts.d.ts +31 -0
  45. package/dist/workspace-layouts.js +84 -0
  46. package/dist/workspace-measure.js +35 -0
  47. package/dist/workspace-shell.js +96 -0
  48. package/dist/workspace-source.js +83 -0
  49. package/dist/workspace-theme.js +142 -0
  50. package/dist/workspace.d.ts +413 -0
  51. package/dist/workspace.js +1274 -0
  52. package/package.json +29 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openpresentation/opf-editor",
3
- "version": "0.26.10",
3
+ "version": "0.28.0",
4
4
  "description": "Embeddable local OPF editor primitives built on the deterministic renderer.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -270,12 +270,20 @@
270
270
  "./thumbnail-cache": {
271
271
  "types": "./dist/thumbnail-cache.d.ts",
272
272
  "default": "./dist/thumbnail-cache.js"
273
+ },
274
+ "./workspace": {
275
+ "types": "./dist/workspace.d.ts",
276
+ "default": "./dist/workspace.js"
277
+ },
278
+ "./canvas-variables": {
279
+ "types": "./dist/canvas-variables.d.ts",
280
+ "default": "./dist/canvas-variables.js"
273
281
  }
274
282
  },
275
283
  "types": "./dist/index.d.ts",
276
284
  "sideEffects": false,
277
285
  "dependencies": {
278
- "@codemirror/autocomplete": "6.20.3",
286
+ "@codemirror/autocomplete": "6.20.4",
279
287
  "@codemirror/commands": "6.11.1",
280
288
  "@codemirror/lang-json": "6.0.2",
281
289
  "@codemirror/lang-yaml": "6.1.3",
@@ -283,18 +291,22 @@
283
291
  "@codemirror/lint": "6.9.7",
284
292
  "@codemirror/search": "6.7.2",
285
293
  "@codemirror/state": "6.7.6",
286
- "@codemirror/view": "6.43.14",
294
+ "@codemirror/view": "6.43.15",
287
295
  "@lezer/highlight": "1.2.5",
288
296
  "jsonc-parser": "3.3.1",
289
297
  "yaml": "^2.9.1",
290
- "@openpresentation/opf": "^0.26.10"
298
+ "@openpresentation/opf": "^0.28.0"
291
299
  },
292
300
  "peerDependencies": {
293
- "@openpresentation/opf-render": "^0.26.10"
301
+ "react": ">=18",
302
+ "@openpresentation/opf-render": "^0.28.0"
294
303
  },
295
304
  "peerDependenciesMeta": {
296
305
  "@openpresentation/opf-render": {
297
306
  "optional": true
307
+ },
308
+ "react": {
309
+ "optional": true
298
310
  }
299
311
  },
300
312
  "devDependencies": {
@@ -348,10 +360,14 @@
348
360
  "jszip": "3.10.2",
349
361
  "pdf-lib": "1.17.1",
350
362
  "pdfjs-dist": "6.4.299",
351
- "playwright": "1.64.0",
352
- "@openpresentation/opf-pptx": "0.26.10",
353
- "@openpresentation/gallery": "0.26.10",
354
- "@openpresentation/opf-render": "0.26.10"
363
+ "playwright": "1.64.1",
364
+ "react": "19.3.1",
365
+ "react-dom": "19.3.1",
366
+ "react-18": "npm:react@18.3.1",
367
+ "react-dom-18": "npm:react-dom@18.3.1",
368
+ "@openpresentation/gallery": "0.28.0",
369
+ "@openpresentation/opf-pptx": "0.28.0",
370
+ "@openpresentation/opf-render": "0.28.0"
355
371
  },
356
372
  "scripts": {
357
373
  "build": "node scripts/build.mjs",
@@ -400,7 +416,9 @@
400
416
  "test:presenter-browser": "node test/presenter-browser.mjs",
401
417
  "test:present-button-browser": "node test/present-button-browser.mjs",
402
418
  "test:export-menu-browser": "node test/export-menu-browser.mjs",
403
- "test:agent-handoff-browser": "node test/agent-handoff-browser.mjs"
419
+ "test:agent-handoff-browser": "node test/agent-handoff-browser.mjs",
420
+ "test:workspace-browser": "node test/workspace-browser.mjs",
421
+ "test:workspace-react-browser": "node test/workspace-react-browser.mjs"
404
422
  },
405
- "gitHead": "da3f869f6f3a152a0d7d5cb42eeb2843d302a46a"
423
+ "gitHead": "abc56634a584db38a305a27edc3bc76b4116637b"
406
424
  }