@openpresentation/opf-editor 0.26.6 → 0.26.7

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.
@@ -17,6 +17,7 @@ import { forEachDiagnostic } from "@codemirror/lint";
17
17
  import {createDiagnostics,editsTransaction} from './source-diagnostics.js';
18
18
  import { createKeymap, domKeymap, strokeText } from './source-keymap.js';
19
19
  import { fold, foldEverything, foldGutterExtension, foldLevel, foldRecursively, toggleFoldHere, unfold, unfoldEverything, unfoldRecursively } from './source-folding.js';
20
+ import { hangingIndent } from './source-wrap.js';
20
21
  import {languageDataFor,markdownBackspace,markdownEnter,markdownFolding,markdownTab,markdownToggleComment,markdownWrapSelection,yamlEnter} from './source-editing.js';
21
22
  const external = Annotation.define();
22
23
  const hoverField = StateEffect.define();
@@ -551,6 +552,7 @@ function mountJsonCodeEditor(parent, options) {
551
552
  attributes.of(contentAttributes()),
552
553
  options.lineNumbers ? lineNumbers() : [],
553
554
  EditorView.lineWrapping,
555
+ hangingIndent,
554
556
  keydownKeys,
555
557
  mainKeymap,
556
558
  EditorView.domEventHandlers({
@@ -140,9 +140,13 @@ export function createLayoutEditor(container, options = {}) {
140
140
  paint();
141
141
 
142
142
  // The container's width decides the layout: wide shows the palette, canvas and side panels; narrow stacks them with tabs.
143
- const measure = () => { root.dataset.compact = String((container.clientWidth || root.clientWidth || COMPACT_WIDTH) < COMPACT_WIDTH); };
143
+ const measure = () => {
144
+ const compact = String((container.clientWidth || root.clientWidth || COMPACT_WIDTH) < COMPACT_WIDTH);
145
+ if (root.dataset.compact !== compact) root.dataset.compact = compact;
146
+ };
147
+ // The switch changes the editor's own height, so a host whose height follows it would loop inside the observer: the change is made a frame later.
144
148
  let observer = null;
145
- if (typeof win.ResizeObserver === "function") { observer = new win.ResizeObserver(measure); observer.observe(container); }
149
+ if (typeof win.ResizeObserver === "function") { observer = new win.ResizeObserver(() => win.requestAnimationFrame(measure)); observer.observe(container); }
146
150
  measure();
147
151
 
148
152
  root.addEventListener("keydown", (event) => { handleGlobalShortcut(event, model); });
@@ -403,8 +403,9 @@ export function createSourcePane(container, options = {}) {
403
403
  if (token !== syntaxToken) return;
404
404
  syntaxBusy = false;
405
405
  showBusy();
406
- // The applied text has its findings already (and they are the final ones).
407
- if (found === null || destroyed || format !== "json" || control.api.getValue() !== text || text === baseline) return;
406
+ // A null answer means the worker dropped the request. The text may equal the applied one: a quick fix and Undo bring the broken text
407
+ // back while `baseline` still holds it, and its syntax problem must show again at once (checkSyntax has no such guard either).
408
+ if (found === null || destroyed || format !== "json" || control.api.getValue() !== text) return;
408
409
  showSyntax(found);
409
410
  }, () => {
410
411
  if (token !== syntaxToken) return;
@@ -0,0 +1,55 @@
1
+ import { RangeSetBuilder, countColumn } from "@codemirror/state";
2
+ import { Decoration, ViewPlugin } from "@codemirror/view";
3
+
4
+ // A wrapped line continues under its own indentation, as VS Code's `wrappingIndent: "indent"` does (JSON, YAML and Markdown).
5
+ // Each line carries a class `opf-hang-<n>`; the stylesheet (panels.css) turns n columns into a left padding and the same negative
6
+ // text-indent, so the first line starts where it always did and every continuation line starts n columns in. n is the line's leading
7
+ // whitespace (a tab counts as the editor's tab size) plus the width of a list marker ("- ", "1. ") when the line starts one, so wrapped
8
+ // list items line up under their text, or plus two columns (one indent step) for any other line, so a continuation never looks like a new line.
9
+
10
+ /** The most columns a line can hang. The stylesheet defines `opf-hang-0` through `opf-hang-${MAX_HANG}`, and caps the indent at 40% of the line. */
11
+ export const MAX_HANG = 32;
12
+ const LIST_MARKER = /^([-*+]|\d{1,9}[.)])[ \t]+/;
13
+ const OFFSET = 2;
14
+
15
+ /** How many columns the continuation lines of `text` are indented. */
16
+ export function hangColumns(text, tabSize = 4) {
17
+ let at = 0;
18
+ while (at < text.length && (text[at] === " " || text[at] === "\t")) at++;
19
+ const indent = countColumn(text.slice(0, at), tabSize);
20
+ const marker = LIST_MARKER.exec(text.slice(at));
21
+ const columns = marker ? indent + countColumn(marker[0], tabSize) : indent + OFFSET;
22
+ return Math.min(columns, MAX_HANG);
23
+ }
24
+
25
+ const decorations = Array.from({ length: MAX_HANG + 1 }, (_, columns) => Decoration.line({ class: `opf-hang-${columns}` }));
26
+
27
+ function build(view) {
28
+ const builder = new RangeSetBuilder();
29
+ const { doc, tabSize } = view.state;
30
+ let last = -1;
31
+ for (const { from, to } of view.visibleRanges) {
32
+ for (let position = from; position <= to;) {
33
+ const line = doc.lineAt(position);
34
+ if (line.from > last) {
35
+ builder.add(line.from, line.from, decorations[hangColumns(line.text, tabSize)]);
36
+ last = line.from;
37
+ }
38
+ position = line.to + 1;
39
+ }
40
+ }
41
+ return builder.finish();
42
+ }
43
+
44
+ /** The extension: line decorations for the visible lines (a line is decorated again when the document, the viewport or the tab size changes). */
45
+ export const hangingIndent = ViewPlugin.fromClass(
46
+ class {
47
+ constructor(view) {
48
+ this.decorations = build(view);
49
+ }
50
+ update(update) {
51
+ if (update.docChanged || update.viewportChanged || update.startState.tabSize !== update.state.tabSize) this.decorations = build(update.view);
52
+ }
53
+ },
54
+ { decorations: (plugin) => plugin.decorations },
55
+ );
package/dist/styles.css CHANGED
@@ -72,6 +72,17 @@
72
72
  --opf-ui-control-h: 40px;
73
73
  }
74
74
 
75
+ /* A coarse pointer (a finger) gets 44px controls, whatever the density: every control built from --opf-ui-control-h grows with it, and
76
+ src/styles/touch.css lifts the ones that size themselves. Comes after the density rule so it wins at equal specificity. */
77
+ @media (pointer: coarse) {
78
+ :root,
79
+ .opf-ui,
80
+ .opf-ui[data-density="touch"],
81
+ [data-density="touch"] .opf-ui {
82
+ --opf-ui-control-h: 44px;
83
+ }
84
+ }
85
+
75
86
  /* Base rules for a mounted component or a whole editor surface. */
76
87
  .opf-ui {
77
88
  font-family: var(--opf-ui-font);
@@ -695,7 +706,7 @@
695
706
  .opf-lx[data-compact="true"] { min-height: 0; height: auto; }
696
707
  .opf-lx[data-compact="true"] .opf-lx-main { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; }
697
708
  .opf-lx[data-compact="true"] .opf-lx-palette-host { overflow-x: auto; border-bottom: 1px solid var(--opf-ui-border); }
698
- .opf-lx[data-compact="true"] .opf-lx-palette { flex-direction: row; flex: 1; padding: 4px 8px; border-right: 0; }
709
+ .opf-lx[data-compact="true"] .opf-lx-palette { flex-direction: row; flex-wrap: wrap; justify-content: center; flex: 1; padding: 4px 8px; border-right: 0; }
699
710
  .opf-lx[data-compact="true"] .opf-lx-tool-gap { width: 1px; height: auto; margin: 4px; }
700
711
  .opf-lx[data-compact="true"] .opf-lx-viewport { min-height: 220px; }
701
712
  .opf-lx[data-compact="true"] .opf-lx-side { border-left: 0; border-top: 1px solid var(--opf-ui-border); }
@@ -3542,6 +3553,52 @@ input.opf-lx-input[data-field="max"] { font-family: var(--opf-ui-mono); font-siz
3542
3553
  border-right: 1px solid var(--opf-ui-code-border);
3543
3554
  }
3544
3555
 
3556
+ /* A wrapped line continues under its own indentation (src/source-wrap.js, VS Code's wrappingIndent "indent"): `opf-hang-<n>` says how many
3557
+ columns, the first line keeps its place (a negative text-indent of the same width) and every continuation line starts n columns in.
3558
+ The hang is capped at 40% of the line so a deeply nested line still leaves room for text at 320px. Text inside an inline widget does not
3559
+ inherit the negative indent. `--opf-line-start` is the line's own left padding (the source pane sets it to 2px). */
3560
+ .cm-line.opf-hang-0 { --opf-hang: 0; }
3561
+ .cm-line.opf-hang-1 { --opf-hang: 1; }
3562
+ .cm-line.opf-hang-2 { --opf-hang: 2; }
3563
+ .cm-line.opf-hang-3 { --opf-hang: 3; }
3564
+ .cm-line.opf-hang-4 { --opf-hang: 4; }
3565
+ .cm-line.opf-hang-5 { --opf-hang: 5; }
3566
+ .cm-line.opf-hang-6 { --opf-hang: 6; }
3567
+ .cm-line.opf-hang-7 { --opf-hang: 7; }
3568
+ .cm-line.opf-hang-8 { --opf-hang: 8; }
3569
+ .cm-line.opf-hang-9 { --opf-hang: 9; }
3570
+ .cm-line.opf-hang-10 { --opf-hang: 10; }
3571
+ .cm-line.opf-hang-11 { --opf-hang: 11; }
3572
+ .cm-line.opf-hang-12 { --opf-hang: 12; }
3573
+ .cm-line.opf-hang-13 { --opf-hang: 13; }
3574
+ .cm-line.opf-hang-14 { --opf-hang: 14; }
3575
+ .cm-line.opf-hang-15 { --opf-hang: 15; }
3576
+ .cm-line.opf-hang-16 { --opf-hang: 16; }
3577
+ .cm-line.opf-hang-17 { --opf-hang: 17; }
3578
+ .cm-line.opf-hang-18 { --opf-hang: 18; }
3579
+ .cm-line.opf-hang-19 { --opf-hang: 19; }
3580
+ .cm-line.opf-hang-20 { --opf-hang: 20; }
3581
+ .cm-line.opf-hang-21 { --opf-hang: 21; }
3582
+ .cm-line.opf-hang-22 { --opf-hang: 22; }
3583
+ .cm-line.opf-hang-23 { --opf-hang: 23; }
3584
+ .cm-line.opf-hang-24 { --opf-hang: 24; }
3585
+ .cm-line.opf-hang-25 { --opf-hang: 25; }
3586
+ .cm-line.opf-hang-26 { --opf-hang: 26; }
3587
+ .cm-line.opf-hang-27 { --opf-hang: 27; }
3588
+ .cm-line.opf-hang-28 { --opf-hang: 28; }
3589
+ .cm-line.opf-hang-29 { --opf-hang: 29; }
3590
+ .cm-line.opf-hang-30 { --opf-hang: 30; }
3591
+ .cm-line.opf-hang-31 { --opf-hang: 31; }
3592
+ .cm-line.opf-hang-32 { --opf-hang: 32; }
3593
+ :is(.opf-ui, .opf-json, .opf-code) .cm-line {
3594
+ padding-left: calc(var(--opf-line-start, 6px) + min(calc(var(--opf-hang, 0) * 1ch), 40%));
3595
+ text-indent: calc(-1 * min(calc(var(--opf-hang, 0) * 1ch), 40%));
3596
+ }
3597
+
3598
+ :is(.opf-ui, .opf-json, .opf-code) .cm-line > * {
3599
+ text-indent: 0;
3600
+ }
3601
+
3545
3602
  :is(.opf-ui, .opf-json, .opf-code) .cm-activeLine,
3546
3603
  :is(.opf-ui, .opf-json, .opf-code) .cm-line.is-hover {
3547
3604
  background: color-mix(in srgb, var(--opf-ui-accent) 8%, transparent);
@@ -4256,11 +4313,13 @@ input.opf-lx-input[data-field="max"] { font-family: var(--opf-ui-mono); font-siz
4256
4313
  .opf-source [hidden] { display: none !important; }
4257
4314
  .opf-source button { font: inherit; color: inherit; }
4258
4315
 
4259
- /* Bar: file name, format menu, actions */
4316
+ /* Bar: file name, format menu, actions. It wraps: where the name, the format and the actions do not fit on one row (a narrow pane, or 44px
4317
+ buttons under a coarse pointer), the actions drop to their own row on the right instead of squeezing the name. */
4260
4318
  .opf-source-bar {
4261
4319
  display: flex;
4320
+ flex-wrap: wrap;
4262
4321
  align-items: center;
4263
- gap: 14px;
4322
+ gap: 0 14px;
4264
4323
  flex: none;
4265
4324
  min-height: var(--_bar);
4266
4325
  padding: 0 8px 0 14px;
@@ -4391,7 +4450,7 @@ input.opf-lx-input[data-field="max"] { font-family: var(--opf-ui-mono); font-siz
4391
4450
  .opf-source-code .cm-scroller { overflow: auto; font: 400 13.5px/22px var(--opf-ui-mono); }
4392
4451
  .opf-source[data-density="touch"] .opf-source-code .cm-scroller { font-size: 13px; line-height: 21px; }
4393
4452
  .opf-source-code .cm-content { padding: 16px 16px 16px 4px; caret-color: var(--opf-ui-fg); }
4394
- .opf-source-code .cm-line { padding: 0 2px; }
4453
+ .opf-source-code .cm-line { --opf-line-start: 2px; padding-top: 0; padding-right: 2px; padding-bottom: 0; }
4395
4454
  .opf-source-code .cm-gutters { border: 0; background: transparent; color: color-mix(in srgb, var(--opf-ui-muted-fg) 60%, transparent); }
4396
4455
  .opf-source-code .cm-lineNumbers .cm-gutterElement { min-width: 30px; padding: 0 12px 0 0; text-align: right; font-size: 11px; }
4397
4456
  .opf-source-code .cm-activeLine { background: transparent; }
@@ -4741,3 +4800,217 @@ input.opf-lx-input[data-field="max"] { font-family: var(--opf-ui-mono); font-siz
4741
4800
  transition: none;
4742
4801
  }
4743
4802
  }
4803
+
4804
+ /* touch.css */
4805
+ /*
4806
+ * Touch: a coarse pointer (a finger) gets a 44px hit area on every control, and the text in a field is 16px so iOS Safari does not
4807
+ * zoom the page when the field gets focus. tokens.css already raises --opf-ui-control-h to 44px under `(pointer: coarse)`, which lifts every
4808
+ * control that is sized by it; this file lifts the ones that size themselves (compact buttons, rows, menu items, completion items) and
4809
+ * keeps the visual look: the padding grows, the type does not. The code in an editor stays at its own size: it is not a field.
4810
+ * Tokens only, no color literals (test/styles.mjs).
4811
+ */
4812
+ @media (pointer: coarse) {
4813
+ /* ---- fields: 16px, 44px ------------------------------------------------------------------------------------------------------ */
4814
+ :is(.opf-ui, .opf-source, .opf-json, .opf-code, .opf-shortcuts, .opf-quickpick, .opf-sym)
4815
+ :is(input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"], [type="color"], [type="button"], [type="submit"], [type="reset"], [type="image"]), select, textarea):not(.opf-inline-input, .opf-rich-input) {
4816
+ font-size: 16px;
4817
+ }
4818
+ :is(.opf-ui, .opf-source, .opf-json, .opf-code, .opf-shortcuts, .opf-quickpick, .opf-sym)
4819
+ :is(input:not([type="checkbox"], [type="radio"], [type="range"], [type="file"], [type="color"], [type="button"], [type="submit"], [type="reset"], [type="image"]), select):not(.opf-inline-input, .opf-rich-input) {
4820
+ min-height: 44px;
4821
+ }
4822
+ /* WebKit sizes a native select by its text unless the height is set. */
4823
+ :is(.opf-ui, .opf-source, .opf-json, .opf-code) select {
4824
+ height: 44px;
4825
+ }
4826
+ .opf-ui input[type="file"] {
4827
+ min-height: 44px;
4828
+ }
4829
+
4830
+ /* ---- the source pane ---------------------------------------------------------------------------------------------------------- */
4831
+ .opf-source,
4832
+ .opf-source[data-density="touch"] {
4833
+ --_h: 44px;
4834
+ --_bar: 52px;
4835
+ }
4836
+ .opf-source-name,
4837
+ .opf-source-format {
4838
+ min-height: var(--_h);
4839
+ }
4840
+ .opf-source-name {
4841
+ min-width: 44px;
4842
+ }
4843
+ .opf-source-finding {
4844
+ min-height: var(--_h);
4845
+ }
4846
+ .opf-source-finding-fix,
4847
+ .opf-source-finding-details {
4848
+ min-height: var(--_h);
4849
+ padding: 0 12px;
4850
+ }
4851
+ .opf-source-finding-fixes {
4852
+ gap: 6px;
4853
+ }
4854
+ .opf-source-outline-item {
4855
+ min-height: var(--_h);
4856
+ }
4857
+ .opf-source-finding-explain-link {
4858
+ display: inline-flex;
4859
+ align-items: center;
4860
+ min-height: 44px;
4861
+ }
4862
+ .opf-sym-close {
4863
+ min-width: 44px;
4864
+ min-height: 44px;
4865
+ }
4866
+ .opf-sym-ref {
4867
+ min-height: 44px;
4868
+ align-items: center;
4869
+ }
4870
+ .opf-shortcuts .opf-shortcuts-close {
4871
+ width: 44px;
4872
+ height: 44px;
4873
+ }
4874
+ .opf-shortcuts .opf-shortcuts-search,
4875
+ .opf-quickpick-input {
4876
+ min-height: 44px;
4877
+ }
4878
+ .opf-quickpick-item {
4879
+ min-height: 44px;
4880
+ align-items: center;
4881
+ }
4882
+
4883
+ /* ---- CodeMirror's lists and panels (completions, problems, quick fixes, search) ---------------------------------------------- */
4884
+ :root :is(.opf-ui, .opf-source, .opf-json, .opf-code) .cm-tooltip.cm-tooltip-autocomplete > ul > li {
4885
+ display: flex;
4886
+ align-items: center;
4887
+ gap: 4px;
4888
+ min-height: 44px;
4889
+ padding: 2px 12px;
4890
+ }
4891
+ :root :is(.opf-ui, .opf-source, .opf-json, .opf-code) .cm-tooltip-autocomplete .cm-completionLabel {
4892
+ min-width: 0;
4893
+ overflow: hidden;
4894
+ text-overflow: ellipsis;
4895
+ }
4896
+ .cm-tooltip .opf-fix {
4897
+ display: flex;
4898
+ align-items: center;
4899
+ min-height: 44px;
4900
+ padding: 3px 12px;
4901
+ }
4902
+ .cm-tooltip-lint .cm-diagnosticAction {
4903
+ min-height: 44px;
4904
+ padding: 0 14px;
4905
+ }
4906
+ :root .cm-panels .cm-panel.cm-search :is(input, button, label) {
4907
+ min-height: 44px;
4908
+ }
4909
+ :root .cm-panels .cm-panel.cm-search :is(input[type="text"], input:not([type])) {
4910
+ font-size: 16px;
4911
+ }
4912
+ /* The find and replace fields take a row of their own each, the buttons and options wrap beneath, the close button stays in the corner. */
4913
+ :root .cm-panels .cm-panel.cm-search {
4914
+ display: flex;
4915
+ flex-wrap: wrap;
4916
+ align-items: center;
4917
+ gap: 6px;
4918
+ padding: 6px 52px 6px 8px;
4919
+ }
4920
+ :root .cm-panels .cm-panel.cm-search br {
4921
+ display: none;
4922
+ }
4923
+ :root .cm-panels .cm-panel.cm-search input[type="text"],
4924
+ :root .cm-panels .cm-panel.cm-search input:not([type]) {
4925
+ flex: 1 1 100%;
4926
+ min-width: 0;
4927
+ margin: 0;
4928
+ }
4929
+ :root .cm-panels .cm-panel.cm-search button,
4930
+ :root .cm-panels .cm-panel.cm-search label {
4931
+ margin: 0;
4932
+ }
4933
+ :root .cm-panels .cm-panel.cm-search label {
4934
+ display: inline-flex;
4935
+ align-items: center;
4936
+ gap: 6px;
4937
+ }
4938
+ :root .cm-panels .cm-panel.cm-search button {
4939
+ min-width: 44px;
4940
+ }
4941
+ :root .cm-panels .cm-panel.cm-search button[name="close"] {
4942
+ top: 0;
4943
+ right: 4px;
4944
+ }
4945
+
4946
+ /* ---- menus, dialogs and the compact controls of the panels --------------------------------------------------------------------- */
4947
+ .opf-export .opf-export-close {
4948
+ width: 44px;
4949
+ height: 44px;
4950
+ }
4951
+ .opf-export[data-density="touch"] .opf-export-trigger,
4952
+ .opf-export[data-density="touch"] .opf-export-item,
4953
+ .opf-export .opf-export-item {
4954
+ min-height: 44px;
4955
+ }
4956
+ .opf-export .opf-export-status-action {
4957
+ height: 44px;
4958
+ }
4959
+ .opf-handoff[data-density="touch"] .opf-handoff-button,
4960
+ .opf-handoff .opf-handoff-button {
4961
+ height: 44px;
4962
+ }
4963
+ .opf-handoff[data-density="touch"] .opf-handoff-target,
4964
+ .opf-handoff .opf-handoff-target {
4965
+ height: 44px;
4966
+ padding: 0 14px;
4967
+ }
4968
+ .opf-handoff[data-density="touch"] .opf-handoff-x,
4969
+ .opf-handoff .opf-handoff-x {
4970
+ width: 44px;
4971
+ height: 44px;
4972
+ }
4973
+ .opf-nav[data-density="touch"] .opf-nav-button,
4974
+ .opf-nav .opf-nav-button {
4975
+ width: 44px;
4976
+ height: 44px;
4977
+ }
4978
+ .opf-thumbs[data-density="touch"] .opf-thumbs-item,
4979
+ .opf-thumbs .opf-thumbs-item {
4980
+ min-height: 44px;
4981
+ }
4982
+ :root .opf-review-fix {
4983
+ min-height: 44px;
4984
+ padding: 0 12px;
4985
+ }
4986
+ :root .opf-find button.opf-find-close,
4987
+ :root .opf-find button[aria-label="Previous match"],
4988
+ :root .opf-find button[aria-label="Next match"] {
4989
+ min-width: 44px;
4990
+ }
4991
+ .opf-dc-group > summary,
4992
+ .opf-template-insert-section summary {
4993
+ min-height: 44px;
4994
+ padding-block: calc((44px - 1lh) / 2);
4995
+ }
4996
+ .opf-dc-check {
4997
+ display: flex;
4998
+ flex-direction: row;
4999
+ flex-wrap: wrap;
5000
+ align-items: center;
5001
+ column-gap: 10px;
5002
+ }
5003
+ .opf-dc-check > input {
5004
+ flex: none;
5005
+ width: 22px;
5006
+ height: 22px;
5007
+ margin: 0;
5008
+ }
5009
+ .opf-dc-check > label {
5010
+ display: flex;
5011
+ align-items: center;
5012
+ flex: 1 1 0;
5013
+ min-width: 0;
5014
+ min-height: 44px;
5015
+ }
5016
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openpresentation/opf-editor",
3
- "version": "0.26.6",
3
+ "version": "0.26.7",
4
4
  "description": "Embeddable local OPF editor primitives built on the deterministic renderer.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -287,10 +287,10 @@
287
287
  "@lezer/highlight": "1.2.5",
288
288
  "jsonc-parser": "3.3.1",
289
289
  "yaml": "^2.9.1",
290
- "@openpresentation/opf": "^0.26.6"
290
+ "@openpresentation/opf": "^0.26.7"
291
291
  },
292
292
  "peerDependencies": {
293
- "@openpresentation/opf-render": "^0.26.6"
293
+ "@openpresentation/opf-render": "^0.26.7"
294
294
  },
295
295
  "peerDependenciesMeta": {
296
296
  "@openpresentation/opf-render": {
@@ -349,9 +349,9 @@
349
349
  "pdf-lib": "1.17.1",
350
350
  "pdfjs-dist": "6.4.299",
351
351
  "playwright": "1.64.0",
352
- "@openpresentation/opf-pptx": "0.26.6",
353
- "@openpresentation/opf-render": "0.26.6",
354
- "@openpresentation/gallery": "0.26.6"
352
+ "@openpresentation/gallery": "0.26.7",
353
+ "@openpresentation/opf-pptx": "0.26.7",
354
+ "@openpresentation/opf-render": "0.26.7"
355
355
  },
356
356
  "scripts": {
357
357
  "build": "node scripts/build.mjs",
@@ -402,5 +402,5 @@
402
402
  "test:export-menu-browser": "node test/export-menu-browser.mjs",
403
403
  "test:agent-handoff-browser": "node test/agent-handoff-browser.mjs"
404
404
  },
405
- "gitHead": "66937576155a3c10ec86ee3327921b51f0c141ae"
405
+ "gitHead": "9c8a2c82ee5d42462cfe1404e3a3172ab759645f"
406
406
  }