@openpresentation/opf 0.32.1 → 0.34.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 (105) hide show
  1. package/README.md +9 -0
  2. package/dist/browser.js +22 -21
  3. package/dist/catalog-refs-CoIrOdAw.d.ts +937 -0
  4. package/dist/{catalog-schemas-LdqOPebq.d.ts → catalog-schemas-FjLRPtjB.d.ts} +10 -4
  5. package/dist/{chart-data-oIZQlFGi.d.ts → chart-data-B_k-WTex.d.ts} +7 -4
  6. package/dist/{chunk-PB7ME64J.js → chunk-244OPLAV.js} +1 -1
  7. package/dist/{chunk-IT7FQKED.js → chunk-2HX4BGAS.js} +6 -6
  8. package/dist/{chunk-2E6CDYL2.js → chunk-36DLVJGW.js} +19 -16
  9. package/dist/{chunk-XQO2CT6Q.js → chunk-3THGTDL2.js} +2 -2
  10. package/dist/{chunk-CLRYHWQN.js → chunk-42JBXJKW.js} +187 -25
  11. package/dist/chunk-BLCDUM7B.js +7 -0
  12. package/dist/{chunk-NVAJASOD.js → chunk-CJVKOJ6B.js} +10195 -2036
  13. package/dist/{chunk-XFHXQCXL.js → chunk-DQ7QYOUV.js} +99 -13
  14. package/dist/{chunk-NEJ32O7X.js → chunk-F6BXO4AI.js} +1 -1
  15. package/dist/{chunk-OXLA4HXQ.js → chunk-FAXO3SUE.js} +1196 -313
  16. package/dist/{chunk-J63CIRIV.js → chunk-FIQMAIZV.js} +4 -4
  17. package/dist/{chunk-PJSPHHRK.js → chunk-FK5XG742.js} +3 -16
  18. package/dist/{chunk-HKUV7NEN.js → chunk-HHVQ2SDT.js} +1 -1
  19. package/dist/{chunk-SZFO3MAJ.js → chunk-HUGVYHZ2.js} +4 -4
  20. package/dist/{chunk-LEF4X4KI.js → chunk-LCT5ZV3Q.js} +2400 -222
  21. package/dist/chunk-NLJFNCZ4.js +1560 -0
  22. package/dist/{chunk-GM7WFPGG.js → chunk-PRXZD2II.js} +6 -1
  23. package/dist/{chunk-YFJIIIOL.js → chunk-QGJVOPLG.js} +3 -3
  24. package/dist/{chunk-F7DN33UL.js → chunk-QGTJF7HV.js} +16 -14
  25. package/dist/{chunk-ONVFUVQ5.js → chunk-RUV7CCE6.js} +136 -31
  26. package/dist/{chunk-SW676APJ.js → chunk-U7TYSPYM.js} +2 -2
  27. package/dist/chunk-UJZN2ZH6.js +1 -0
  28. package/dist/chunk-VDZXNNZF.js +221 -0
  29. package/dist/{chunk-UJSAR6GF.js → chunk-W4DYDRV2.js} +21 -0
  30. package/dist/chunk-WCPDN7AY.js +642 -0
  31. package/dist/{chunk-BBVW5ZC2.js → chunk-WMFT5R7I.js} +2 -2
  32. package/dist/{chunk-AQEAZDL2.js → chunk-XJUMFH33.js} +2 -1
  33. package/dist/{composition-Ds6WHyO7.d.ts → composition-CvtvgBDE.d.ts} +2783 -873
  34. package/dist/composition.d.ts +4 -3
  35. package/dist/composition.js +3 -2
  36. package/dist/{conversion-CdzrTxib.d.ts → conversion-B_5AKTYQ.d.ts} +39 -10
  37. package/dist/conversion-CMBGOTAC.js +25 -0
  38. package/dist/convert.d.ts +5 -4
  39. package/dist/convert.js +17 -13
  40. package/dist/data.d.ts +2 -2
  41. package/dist/data.js +4 -3
  42. package/dist/{deck-report-CKDNQ2t4.d.ts → deck-report-BVlQZ42f.d.ts} +3 -3
  43. package/dist/deck.d.ts +7 -6
  44. package/dist/deck.js +13 -12
  45. package/dist/diagram-engine-eager.js +6 -2
  46. package/dist/diagram-engine-lazy.js +14 -1
  47. package/dist/diagram-plantuml-XRZ6VAOL.js +3 -0
  48. package/dist/diff.js +6 -5
  49. package/dist/docs.js +88 -52
  50. package/dist/examples.js +28745 -18393
  51. package/dist/font-policy.js +2 -2
  52. package/dist/format.js +3 -3
  53. package/dist/ids.js +6 -5
  54. package/dist/index.d.ts +19 -16
  55. package/dist/index.js +37 -26
  56. package/dist/markdown.d.ts +3 -2
  57. package/dist/markdown.js +10 -9
  58. package/dist/node-engine.d.ts +44 -11
  59. package/dist/node-engine.js +47 -28
  60. package/dist/{pagination-DRZ_JNFY.d.ts → pagination-CZQQYk7L.d.ts} +22 -4
  61. package/dist/pagination.d.ts +5 -4
  62. package/dist/pagination.js +6 -5
  63. package/dist/patch.js +5 -4
  64. package/dist/precompiled.js +3 -3
  65. package/dist/{presentation-DnD7mfmf.d.ts → presentation-s9262acV.d.ts} +1172 -208
  66. package/dist/repo-readme.js +2 -2
  67. package/dist/schema-engine-ajv.js +2 -2
  68. package/dist/schema-engine-precompiled.js +3 -3
  69. package/dist/schema.d.ts +3 -3
  70. package/dist/schema.js +5 -4
  71. package/dist/schemas.d.ts +56 -4
  72. package/dist/schemas.js +2 -2
  73. package/dist/shape-catalog.d.ts +98 -0
  74. package/dist/shape-catalog.js +302 -0
  75. package/dist/shape-engine-eager.js +9 -0
  76. package/dist/shape-engine-lazy.js +12 -0
  77. package/dist/shape-engine-module-N74FCHGY.js +3 -0
  78. package/dist/shape-geometry.d.ts +126 -0
  79. package/dist/shape-geometry.js +2 -0
  80. package/dist/source.d.ts +10 -5
  81. package/dist/source.js +12 -11
  82. package/dist/spec/README.md +1 -1
  83. package/dist/spec/reference/engine-vocabularies.json +135 -0
  84. package/dist/spec/reference/font-policy.json +3 -16
  85. package/dist/spec/reference/preset-geometry.json +10699 -0
  86. package/dist/spec/reference/preset-geometry.schema.json +126 -0
  87. package/dist/spec/schemas/catalog-index.schema.json +1 -0
  88. package/dist/spec/schemas/chart-type.schema.json +4 -4
  89. package/dist/spec/schemas/icon-set.schema.json +75 -0
  90. package/dist/spec/schemas/layout.schema.json +82 -23
  91. package/dist/spec/schemas/opf.schema.json +1616 -296
  92. package/dist/spec/schemas/theme.schema.json +11 -5
  93. package/dist/spec-files.d.ts +1 -1
  94. package/dist/spec-files.js +2 -2
  95. package/dist/symbol-font-encodings.js +1 -1
  96. package/dist/types.d.ts +83 -71
  97. package/dist/{validation-types-DxyYPebs.d.ts → validation-types-CYbsUuZ9.d.ts} +8 -5
  98. package/dist/validator.d.ts +35 -7
  99. package/dist/validator.js +5 -4
  100. package/dist/yaml.d.ts +3 -2
  101. package/dist/yaml.js +9 -8
  102. package/package.json +22 -6
  103. package/dist/catalog-refs-kAefsZWT.d.ts +0 -129
  104. package/dist/chunk-DGS47ONG.js +0 -1
  105. package/dist/conversion-5FUDQPED.js +0 -24
@@ -104,18 +104,18 @@
104
104
  "titleAlignment": {
105
105
  "type": "string",
106
106
  "enum": [
107
- "left",
107
+ "start",
108
108
  "center",
109
- "right"
109
+ "end"
110
110
  ],
111
111
  "description": "As design.titleAlignment of a deck."
112
112
  },
113
113
  "contentAlignment": {
114
114
  "type": "string",
115
115
  "enum": [
116
- "left",
116
+ "start",
117
117
  "center",
118
- "right"
118
+ "end"
119
119
  ],
120
120
  "description": "As design.contentAlignment of a deck."
121
121
  },
@@ -159,7 +159,7 @@
159
159
  "examples": [
160
160
  {
161
161
  "contentBox": true,
162
- "titleAlignment": "left"
162
+ "titleAlignment": "start"
163
163
  }
164
164
  ]
165
165
  },
@@ -264,6 +264,12 @@
264
264
  },
265
265
  "slot": {
266
266
  "$ref": "#/$defs/ThemeBackgroundSlot"
267
+ },
268
+ "opacity": {
269
+ "type": "number",
270
+ "minimum": 0,
271
+ "maximum": 1,
272
+ "description": "Background opacity from 0 (fully transparent) to 1 (fully opaque). Default 1; the selected theme slot remains unchanged."
267
273
  }
268
274
  }
269
275
  }
@@ -1,5 +1,5 @@
1
1
  /** Path of a file under `spec/`, relative to the spec root. */
2
- type SpecFilePath = "README.md" | "openapi.yaml" | "reference/engine-defaults.json" | "reference/engine-vocabularies.json" | "reference/font-policy.json" | "reference/font-policy.schema.json" | "reference/symbol-font-encodings.json" | "reference/symbol-font-encodings.schema.json" | "schemas/audience.schema.json" | "schemas/catalog-index.schema.json" | "schemas/catalog-manifest.schema.json" | "schemas/chart-type.schema.json" | "schemas/color-scheme.schema.json" | "schemas/finding.schema.json" | "schemas/font-scheme.schema.json" | "schemas/language.schema.json" | "schemas/layout-preview-index.schema.json" | "schemas/layout.schema.json" | "schemas/narrative.schema.json" | "schemas/opf.schema.json" | "schemas/purpose.schema.json" | "schemas/social-platform.schema.json" | "schemas/theme.schema.json" | "schemas/tone.schema.json";
2
+ type SpecFilePath = "README.md" | "openapi.yaml" | "reference/engine-defaults.json" | "reference/engine-vocabularies.json" | "reference/font-policy.json" | "reference/font-policy.schema.json" | "reference/preset-geometry.json" | "reference/preset-geometry.schema.json" | "reference/symbol-font-encodings.json" | "reference/symbol-font-encodings.schema.json" | "schemas/audience.schema.json" | "schemas/catalog-index.schema.json" | "schemas/catalog-manifest.schema.json" | "schemas/chart-type.schema.json" | "schemas/color-scheme.schema.json" | "schemas/finding.schema.json" | "schemas/font-scheme.schema.json" | "schemas/icon-set.schema.json" | "schemas/language.schema.json" | "schemas/layout-preview-index.schema.json" | "schemas/layout.schema.json" | "schemas/narrative.schema.json" | "schemas/opf.schema.json" | "schemas/purpose.schema.json" | "schemas/social-platform.schema.json" | "schemas/theme.schema.json" | "schemas/tone.schema.json";
3
3
  /** Category of a bundled spec file. */
4
4
  type SpecFileKind = "spec" | "openapi" | "reference" | "schema";
5
5
  /** One entry per file shipped under `@openpresentation/opf/spec/`. */
@@ -1,2 +1,2 @@
1
- export { specFileEntries, specFileKinds, specFilePaths } from './chunk-UJSAR6GF.js';
2
- import './chunk-GM7WFPGG.js';
1
+ export { specFileEntries, specFileKinds, specFilePaths } from './chunk-W4DYDRV2.js';
2
+ import './chunk-PRXZD2II.js';
@@ -1,4 +1,4 @@
1
- import './chunk-GM7WFPGG.js';
1
+ import './chunk-PRXZD2II.js';
2
2
 
3
3
  // src/generated/symbol-font-encodings.ts
4
4
  var symbolFontEncodingsSource = {
package/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { P as Presentation } from './presentation-DnD7mfmf.js';
2
- export { a as CatalogKind } from './catalog-refs-kAefsZWT.js';
1
+ export { P as Presentation } from './presentation-s9262acV.js';
2
+ export { a as CatalogKind } from './catalog-refs-CoIrOdAw.js';
3
3
  export { SchemaName } from './schemas.js';
4
4
  export { a as Finding, d as FindingCategory, e as FindingFix, f as FindingFocus, b as FindingLocation, F as FindingReport, c as FindingSeverity, g as FindingSuggestion, J as JsonPatchOperation, V as ValidationIssue } from './finding-l9dlQ2NF.js';
5
5
  import './json-BFSdESOE.js';
@@ -270,11 +270,11 @@ interface Theme {
270
270
  /**
271
271
  * As design.titleAlignment of a deck.
272
272
  */
273
- titleAlignment?: ("left" | "center" | "right");
273
+ titleAlignment?: ("start" | "center" | "end");
274
274
  /**
275
275
  * As design.contentAlignment of a deck.
276
276
  */
277
- contentAlignment?: ("left" | "center" | "right");
277
+ contentAlignment?: ("start" | "center" | "end");
278
278
  /**
279
279
  * As design.contentBox of a deck.
280
280
  */
@@ -332,6 +332,10 @@ interface ThemeBackground {
332
332
  */
333
333
  type: "theme";
334
334
  slot: ThemeBackgroundSlot;
335
+ /**
336
+ * Background opacity from 0 (fully transparent) to 1 (fully opaque). Default 1; the selected theme slot remains unchanged.
337
+ */
338
+ opacity?: number;
335
339
  [k: string]: unknown;
336
340
  }
337
341
  /**
@@ -372,7 +376,7 @@ interface ColorVariant$1 {
372
376
  }
373
377
 
374
378
  /**
375
- * A layout variant relative to the deck's own variant (LH-01). 'surface' is the deck's secondary surface on its own side: light2 on a light deck and dark2 on a dark one (light1 or dark1 where the deck is already on light2 or dark2), so a statement stands off the deck without changing its tone. 'brand' is the scheme's brand dark, dark2 (dark1 where the deck is already on dark2), with light text: a closing slide's strong surface on a light or a dark deck.
379
+ * A layout variant relative to the deck's own variant. 'surface' is the deck's secondary surface on its own side: light2 on a light deck and dark2 on a dark one (light1 or dark1 where the deck is already on light2 or dark2), so a statement stands off the deck without changing its tone. 'brand' is the scheme's brand dark, dark2 (dark1 where the deck is already on dark2), with light text: a closing slide's strong surface on a light or a dark deck.
376
380
  *
377
381
  * This interface was referenced by `Layout`'s JSON-Schema
378
382
  * via the `definition` "LayoutVariantRole".
@@ -392,6 +396,69 @@ type RegionEntry = (HeadingRegion | Region | Split);
392
396
  * via the `definition` "RegionSize".
393
397
  */
394
398
  type RegionSize = (number | "auto");
399
+ /**
400
+ * One body region of a layout: its name, its share of the space and the rules for which content it takes and how several blocks share it.
401
+ *
402
+ * This interface was referenced by `Layout`'s JSON-Schema
403
+ * via the `definition` "Region".
404
+ */
405
+ type Region = {
406
+ /**
407
+ * The region's name, lowercase kebab-case, unique across the whole record. A block targets it with 'region': '<name>'. It may not be 'title' (those are heading regions), 'tag', 'auto' or one of the promoted-region words ('start', 'center', 'end', 'top', 'middle', 'bottom'), so a Markdown block's region= option stays unambiguous: the validate finding opf/layout-region.
408
+ */
409
+ name: string;
410
+ size?: RegionSize;
411
+ /**
412
+ * Content kinds the region takes: the body content kinds, and 'group' for a content group of any content. A region that takes 'image' also takes a shape block. A group is also accepted where every one of its leaf kinds is. Omitted: every body content kind and 'group'.
413
+ *
414
+ * @minItems 1
415
+ */
416
+ accepts?: [("text" | "list" | "image" | "video" | "chart" | "table" | "code" | "metric" | "quote" | "timeline" | "diagram" | "shape" | "group"), ...(("text" | "list" | "image" | "video" | "chart" | "table" | "code" | "metric" | "quote" | "timeline" | "diagram" | "shape" | "group"))[]];
417
+ /**
418
+ * Which content the region wants first. Binding gives a picture (image, video) to a media region first, then primary, secondary, supporting; every other kind to a primary region first, then secondary, supporting, media; of two equal regions the first in reading order fills first. A supporting region receives content only when no primary or secondary region that accepts it has room, or by a pin. Default 'primary'.
419
+ */
420
+ role?: ("primary" | "secondary" | "media" | "supporting");
421
+ /**
422
+ * How several blocks share the region: 'none' one block fills it (blocks no region had room for join it, up to 6, and it flows as 'auto'); 'grid' by count (1 fills, 2 side by side, 3 in a row, 4 as 2 x 2, 5 as 3 + 2, 6 as 3 x 2, 7 to 12 in balanced rows of at most four, 9 as 3 x 3; rows and columns swap in a portrait region; the cells of a short row stretch to the full width, or keep one size and are centred in a grid of pictures); 'column' stacked at the heights the blocks need, one gap apart, and placed by the region's anchor (charts, pictures, tables, timelines and videos take what the measured blocks leave; blocks that do not fit share the region, each giving up the same fraction of what it can give up above its height at the minimum font size); 'auto' a grid when every block is short and a column when any block is long (more than 6 estimated lines in its grid cell at the starting size). design.contentDirection turns every flowing region into one row or one column. Default 'auto'.
423
+ */
424
+ flow?: ("none" | "grid" | "column" | "auto");
425
+ /**
426
+ * Blocks the region holds on one slide. Default 1 for flow 'none' (which requires 1), else 6. Content beyond every region's room is drawn in the overflow region with the warning opf/layout-unplaced, and paginate moves it to a continuation slide.
427
+ */
428
+ max?: number;
429
+ /**
430
+ * The region's outer edges that lie on the content box's edge extend to the slide edge, as a placed image does. A bled region is never drawn as a card. Default false.
431
+ */
432
+ bleed?: boolean;
433
+ /**
434
+ * 'auto': a list in the region that does not fit its cell at the starting size (a lone list, or one of several blocks) flows into up to three columns before it shrinks, as a list payload's columns: 'auto'; a list of 6 or fewer entries is never split. 2 or more lists alone in a region are one list per cell in a grid instead. Default 1.
435
+ */
436
+ listColumns?: ("auto" | 1);
437
+ /**
438
+ * How a metric block in the region is laid out. 'stack' (default): value, unit, label and the rest as one block at the region's anchor and content alignment. 'tile': the metric fills its cell (its card when the layout draws cards) from the start: the label first as an eyebrow, the value under it asking for a quarter of the cell's height (between its 76 px role size and twice it, fitted down as usual), and the description, delta and trend at the foot of the cell.
439
+ */
440
+ metrics?: ("stack" | "tile");
441
+ /**
442
+ * The region lists the steps of a sequence. 'steps': two or more text or list blocks are the steps, each under a numbered badge (an accent circle with its numeral; a one-entry numbered list gives the badge its number and draws as a heading over its description) on one connector line through the badge centers; a lone list's entries are the steps, each beside its badge on a connector down the badge column; a lone list of 3 to 6 entries of one or two words is a flow of chips joined by arrows. 'numbered' (an agenda, ordered by nature): every list of two or more entries of one level draws its entries beside badges, numbered or not; an unnumbered list is counted in arabic, continuing from the region's previous unnumbered list, as drawing only (the document keeps no numbering). Steps keep the text size they have without the badges: a slide whose blocks would get smaller draws them as before. Absent: the region's content draws as any other.
443
+ */
444
+ sequence?: ("steps" | "numbered");
445
+ /**
446
+ * The region draws its lone list of one level as a diagram (docs/smartart.md), in the first design that holds every entry at one size, the list's role size or larger (up to 1.5 times), never smaller: PowerPoint's own geometry (Basic Pyramid: 1 to 8 entries as stacked levels, the first at the apex; Basic Matrix: exactly four entries as the quadrants of a centered square over a diamond; Basic Cycle: 1 to 8 entries as circles on a ring, the first at the top and the rest clockwise, with an arrow from each to the next, in a frame of the cycle's own proportion centered in the region), which the PPTX export writes as live SmartArt where PowerPoint lays it out as the preview draws it; else OPF's own design (a stepped pyramid with each entry beside its level, four quadrants filling the region, or rounded rectangles on a ring filling the region with an arrow from each to the next). A matrix of other than four entries draws a grid of cards. 'chevrons' (Basic Chevron Process: 1 to 8 entries as a row of chevrons), 'flow' (Basic Process: a row of boxes with arrows between them) and 'vertical-flow' (Vertical Process: a column of boxes with arrows between them), in PowerPoint's geometry where it holds the entries, else OPF's own row or column filling the region. Nodes are filled in the primary color with a 1.5 pt outline in the background color (cards in the card neutral). A cycle's arrows are the primary lightened 40%. A list with nested entries, descriptions, icons or numbering, more than 8 levels or steps, or one no design holds, draws as a list; opf/arrangement-adapted (info) reports the cards and the lists. 'org-chart' and 'hierarchy' take a list whose entry levels form one tree (one root at the first level, each child one level below its parent); a skipped level or a second root keeps the authored list, reported by opf/arrangement-adapted. 'venn' draws 1 to 7 flat sets. These arrangements never draw the list smaller than its own size; whether PowerPoint can edit the result as native shapes and text is decided separately. Absent: the region's content draws as any other.
447
+ */
448
+ arrangement?: ("pyramid" | "matrix" | "cycle" | "chevrons" | "flow" | "vertical-flow" | "org-chart" | "hierarchy" | "venn");
449
+ /**
450
+ * For arrangement 'pyramid': 'up' (default) puts the narrow tip first, at the top; 'down' puts the widest level first and the tip at the bottom. Entries retain their authored top-to-bottom order. Both the continuous and stepped designs use shared geometry; downward pyramids export as editable native shapes until live SmartArt is qualified.
451
+ */
452
+ pyramidDirection?: ("up" | "down");
453
+ /**
454
+ * Vertical position of the region's content when it is shorter than the region. Replaces the 'anchor' of the record and of the splits around it. Default: the nearest of those that sets one, else 'top'. A picture shown whole (fit 'contain') and a video, whose 16:9 frame is the largest that fits the cell, sit at the anchor inside the cell.
455
+ */
456
+ anchor?: ("top" | "middle" | "bottom");
457
+ /**
458
+ * What the region does on a slide that gives it no content: 'collapse' (default) joins its cells to a neighbouring area that shares the full length of one of its edges and is not itself empty; 'keep' leaves the space.
459
+ */
460
+ empty?: ("collapse" | "keep");
461
+ };
395
462
  /**
396
463
  * Schema for slide-layout records. A layout is one ordered list of regions, declared once, in reading order: 'direction' says whether the record's 'regions' sit side by side (row) or are stacked (column), and each region says which content kinds it takes and how several blocks share it. A split is an entry that nests a second list the other way, which is how a layout gets two dimensions. 'title' and 'subtitle' are reserved heading regions. Engines compile the list into a grid of tracks (the guillotine partition it describes). Slide content stays flat: engines bind a slide's blocks to the regions by reading order, role and kind (bindRegions in @openpresentation/opf), a block may pin itself to a region with 'region', and an empty region collapses into a neighbour. Built-in and custom layouts are records of this one schema; a custom layout is embedded under catalogs.custom.layouts or shipped in a catalog. Documents reference a layout from Slide.layout; a slide without a layout, with layout 'auto', or whose layout resolves nowhere composes automatically.
397
464
  *
@@ -420,7 +487,7 @@ interface Layout {
420
487
  description?: string;
421
488
  design?: DesignHints;
422
489
  /**
423
- * How the record's 'regions' are laid out: 'row' places them side by side, left to right in reading order; 'column' stacks them top to bottom. Default 'column'.
490
+ * How the record's 'regions' are laid out: 'row' places them side by side from the start edge in reading order (left to right; right to left in a right-to-left deck); 'column' stacks them top to bottom. Default 'column'.
424
491
  */
425
492
  direction?: ("row" | "column");
426
493
  /**
@@ -472,13 +539,13 @@ interface Layout {
472
539
  */
473
540
  interface DesignHints {
474
541
  /**
475
- * Horizontal alignment of the title heading area.
542
+ * Horizontal alignment of the title heading area. Logical, as design.titleAlignment of a deck: 'start' is the edge a paragraph starts on.
476
543
  */
477
- titleAlignment?: ("left" | "center" | "right");
544
+ titleAlignment?: ("start" | "center" | "end");
478
545
  /**
479
- * Horizontal alignment of the body regions.
546
+ * Horizontal alignment of the body regions. Logical, as design.contentAlignment of a deck: 'start' is the edge a paragraph starts on.
480
547
  */
481
- contentAlignment?: ("left" | "center" | "right");
548
+ contentAlignment?: ("start" | "center" | "end");
482
549
  /**
483
550
  * Whether the body regions are drawn inside a visible card or surface.
484
551
  */
@@ -490,7 +557,7 @@ interface DesignHints {
490
557
  /**
491
558
  * Where the primary chart sits relative to supporting content on automatic slides. Template layouts express this arrangement with their regions; chartPrimary does not override a template.
492
559
  */
493
- chartPrimary?: ("none" | "top" | "bottom" | "left" | "right");
560
+ chartPrimary?: ("none" | "top" | "bottom" | "start" | "end");
494
561
  /**
495
562
  * Default fit of the slide's image blocks: 'cover' fills the frame and crops around focus, 'contain' shows the whole picture, 'stretch' scales it to the frame, 'auto' covers when the crop keeps at least 85% of the picture and contains otherwise.
496
563
  */
@@ -508,7 +575,7 @@ interface DesignHints {
508
575
  */
509
576
  mirror?: boolean;
510
577
  /**
511
- * The color variant slides on this layout draw on (LH-01): a background slot ('accent1', 'dark1', ...) or the ColorVariant object, as design.variant, or a value relative to the deck's own variant (LayoutVariantRole: 'surface', 'brand'), so the layout keeps the deck's tone. Unlike the other keys it outranks the deck's design and the theme: the slide's own design.variant or design.background wins, then this, then the deck's variant or background, then the theme's. It hides a background of the deck or theme (the slide is the variant's bg1), and without an accent order of its own it keeps the deck's.
578
+ * The color variant slides on this layout draw on: a background slot ('accent1', 'dark1', ...) or the ColorVariant object, as design.variant, or a value relative to the deck's own variant (LayoutVariantRole: 'surface', 'brand'), so the layout keeps the deck's tone. Unlike the other keys it outranks the deck's design and the theme: the slide's own design.variant or design.background wins, then this, then the deck's variant or background, then the theme's. It hides a background of the deck or theme (the slide is the variant's bg1), and without an accent order of its own it keeps the deck's.
512
579
  */
513
580
  variant?: (("light1" | "light2" | "dark1" | "dark2" | "accent1" | "accent2" | "accent3" | "accent4" | "accent5" | "accent6") | ColorVariant | LayoutVariantRole);
514
581
  }
@@ -541,69 +608,14 @@ interface HeadingRegion {
541
608
  name: ("title" | "subtitle");
542
609
  size?: RegionSize;
543
610
  /**
544
- * Vertical position of the heading group in its area when the area is sized (a number): 'middle' (default) centers it, 'bottom' sets it at the foot of the area, as a cover or section sets its display title low (LH-130), 'top' at the top. An 'auto' area is as tall as the group, so the anchor changes nothing there. A heading region never inherits the 'anchor' of the record or a split.
611
+ * Vertical position of the heading group in its area when the area is sized (a number): 'middle' (default) centers it, 'bottom' sets it at the foot of the area, as a cover or section sets its display title low, 'top' at the top. An 'auto' area is as tall as the group, so the anchor changes nothing there. A heading region never inherits the 'anchor' of the record or a split.
545
612
  */
546
613
  anchor?: ("top" | "middle" | "bottom");
547
614
  /**
548
- * 'title' only: draw a short accent rule (80 by 5 px at a 720 px short edge) half a gap above the title, at the title's start edge, on a slide with a title and no tag; a tag is the group's eyebrow and takes the rule's place (LH-130). Engines draw it in the tag's color, the primary or the text color where the primary is under 4.5:1 on the slide. Default false.
615
+ * 'title' only: draw a short accent rule (80 by 5 px at a 720 px short edge) half a gap above the title, at the title's start edge, on a slide with a title and no tag; a tag is the group's eyebrow and takes the rule's place. Engines draw it in the tag's color, the primary or the text color where the primary is under 4.5:1 on the slide. Default false.
549
616
  */
550
617
  rule?: boolean;
551
618
  }
552
- /**
553
- * One body region of a layout: its name, its share of the space and the rules for which content it takes and how several blocks share it.
554
- *
555
- * This interface was referenced by `Layout`'s JSON-Schema
556
- * via the `definition` "Region".
557
- */
558
- interface Region {
559
- /**
560
- * The region's name, lowercase kebab-case, unique across the whole record. A block targets it with 'region': '<name>'. It may not be 'title' (those are heading regions), 'tag', 'auto' or one of the promoted-region words ('left', 'center', 'right', 'top', 'middle', 'bottom'), so a Markdown block's region= option stays unambiguous: the validate finding opf/layout-region.
561
- */
562
- name: string;
563
- size?: RegionSize;
564
- /**
565
- * Content kinds the region takes: the body content kinds, and 'group' for a content group of any content. A group is also accepted where every one of its leaf kinds is. Omitted: every body content kind and 'group'.
566
- *
567
- * @minItems 1
568
- */
569
- accepts?: [("text" | "list" | "image" | "video" | "chart" | "table" | "code" | "metric" | "quote" | "timeline" | "diagram" | "group"), ...(("text" | "list" | "image" | "video" | "chart" | "table" | "code" | "metric" | "quote" | "timeline" | "diagram" | "group"))[]];
570
- /**
571
- * Which content the region wants first. Binding gives a picture (image, video) to a media region first, then primary, secondary, supporting; every other kind to a primary region first, then secondary, supporting, media; of two equal regions the first in reading order fills first. A supporting region receives content only when no primary or secondary region that accepts it has room, or by a pin. Default 'primary'.
572
- */
573
- role?: ("primary" | "secondary" | "media" | "supporting");
574
- /**
575
- * How several blocks share the region: 'none' one block fills it (blocks no region had room for join it, up to 6, and it flows as 'auto'); 'grid' by count (1 fills, 2 side by side, 3 in a row, 4 as 2 x 2, 5 as 3 + 2, 6 as 3 x 2, 7 to 12 in balanced rows of at most four, 9 as 3 x 3; rows and columns swap in a portrait region; the cells of a short row stretch to the full width, or keep one size and are centred in a grid of pictures); 'column' stacked at the heights the blocks need, one gap apart, and placed by the region's anchor (charts, pictures, tables, timelines and videos take what the measured blocks leave; blocks that do not fit share the region, each giving up the same fraction of what it can give up above its height at the minimum font size); 'auto' a grid when every block is short and a column when any block is long (more than 6 estimated lines in its grid cell at the starting size). design.contentDirection turns every flowing region into one row or one column. Default 'auto'.
576
- */
577
- flow?: ("none" | "grid" | "column" | "auto");
578
- /**
579
- * Blocks the region holds on one slide. Default 1 for flow 'none' (which requires 1), else 6. Content beyond every region's room is drawn in the overflow region with the warning opf/layout-unplaced, and paginate moves it to a continuation slide.
580
- */
581
- max?: number;
582
- /**
583
- * The region's outer edges that lie on the content box's edge extend to the slide edge, as a placed image does. A bled region is never drawn as a card. Default false.
584
- */
585
- bleed?: boolean;
586
- /**
587
- * 'auto': a list in the region that does not fit its cell at the starting size (a lone list, or one of several blocks) flows into up to three columns before it shrinks, as a list payload's columns: 'auto'; a list of 6 or fewer entries is never split. 2 or more lists alone in a region are one list per cell in a grid instead. Default 1.
588
- */
589
- listColumns?: ("auto" | 1);
590
- /**
591
- * How a metric block in the region is laid out. 'stack' (default): value, unit, label and the rest as one block at the region's anchor and content alignment. 'tile': the metric fills its cell (its card when the layout draws cards) from the start: the label first as an eyebrow, the value under it asking for a quarter of the cell's height (between its 76 px role size and twice it, fitted down as usual), and the description, delta and trend at the foot of the cell.
592
- */
593
- metrics?: ("stack" | "tile");
594
- /**
595
- * The region lists the steps of a sequence (LH-07). 'steps': two or more text or list blocks are the steps, each under a numbered badge (an accent circle with its numeral; a one-entry numbered list gives the badge its number and draws as a heading over its description) on one connector line through the badge centers; a lone list's entries are the steps, each beside its badge on a connector down the badge column; a lone list of 3 to 6 entries of one or two words is a flow of chips joined by arrows. 'numbered' (an agenda, ordered by nature): every list of two or more entries of one level draws its entries beside badges, numbered or not; an unnumbered list is counted in arabic, continuing from the region's previous unnumbered list, as drawing only (the document keeps no numbering). Steps keep the text size they have without the badges: a slide whose blocks would get smaller draws them as before. Absent: the region's content draws as any other.
596
- */
597
- sequence?: ("steps" | "numbered");
598
- /**
599
- * Vertical position of the region's content when it is shorter than the region. Replaces the 'anchor' of the record and of the splits around it. Default: the nearest of those that sets one, else 'top'. A picture shown whole (fit 'contain') and a video, whose 16:9 frame is the largest that fits the cell, sit at the anchor inside the cell.
600
- */
601
- anchor?: ("top" | "middle" | "bottom");
602
- /**
603
- * What the region does on a slide that gives it no content: 'collapse' (default) joins its cells to a neighbouring area that shares the full length of one of its edges and is not itself empty; 'keep' leaves the space.
604
- */
605
- empty?: ("collapse" | "keep");
606
- }
607
619
  /**
608
620
  * A split nests a list of regions the other way inside one cell of its parent: a row of regions inside a column, or a column inside a row. It has no name; its regions are declared in reading order like the record's own. Splits nest at most three levels (the record's own list is level 1).
609
621
  *
@@ -651,7 +663,7 @@ interface Composition {
651
663
  }
652
664
 
653
665
  /**
654
- * Schema for chart-type records: display metadata for chart pickers (name, group, expected series, complexity) and the Open XML mapping a picker can describe. One record per chart type that Aspose.Slides officially supports (see mappings.renderers["aspose-slides"].chartType), plus the column-and-line combination 'combo'. A document's chart.type is an engine vocabulary validated directly; engines never look a chart-type record up. pptx.gallery publishes these records and @openpresentation/gallery ships them as catalogDisplay.chartTypes.
666
+ * Schema for chart-type records: display metadata for chart pickers (name, group, expected series, complexity) and the Open XML mapping a picker can describe. One record per chart type that OPF supports natively in its preview and PPTX export, plus the column-and-line combination 'combo'. A document's chart.type is an engine vocabulary validated directly; engines never look a chart-type record up. pptx.gallery publishes these records and @openpresentation/gallery ships them as catalogDisplay.chartTypes.
655
667
  */
656
668
  interface ChartType {
657
669
  /**
@@ -743,7 +755,7 @@ interface ChartType {
743
755
  interface ChartTypeMappings {
744
756
  openxml: OpenXmlChartMapping;
745
757
  /**
746
- * Optional renderer-specific mappings. Keys are renderer ids; values are intentionally opaque to OPF. The bundled catalog records the matching Aspose.Slides ChartType enumeration member under the "aspose-slides" key, e.g. {"aspose-slides": {"chartType": "StackedColumn"}}; a mixed composition names the ChartType it starts from and the series type it switches series to, e.g. {"chartType": "ClusteredColumn", "lineSeriesType": "LineWithMarkers"}.
758
+ * Optional renderer-specific mappings. Keys are renderer ids; values are intentionally opaque to OPF. The bundled catalog records carry none.
747
759
  */
748
760
  renderers?: {
749
761
  [k: string]: {
@@ -1,5 +1,5 @@
1
- import { C as Catalog } from './catalog-refs-kAefsZWT.js';
2
- import { T as TextMeasurement } from './composition-Ds6WHyO7.js';
1
+ import { C as Catalog } from './catalog-refs-CoIrOdAw.js';
2
+ import { T as TextMeasurement } from './composition-CvtvgBDE.js';
3
3
  import { c as FindingSeverity, F as FindingReport } from './finding-l9dlQ2NF.js';
4
4
  import { J as JsonPrimitive } from './json-BFSdESOE.js';
5
5
 
@@ -37,7 +37,7 @@ interface VariableUse {
37
37
  path: string;
38
38
  form: VariableUseForm;
39
39
  }
40
- type VariableDiagnosticCode = "variable-unfilled" | "variable-example-used" | "variable-invalid-value" | "variable-unknown" | "variable-unknown-value" | "variable-unknown-builtin" | "variable-builtin-missing" | "variable-unused" | "variable-rich-flattened" | "variable-format";
40
+ type VariableDiagnosticCode = "variable-unfilled" | "variable-example-used" | "variable-invalid-value" | "variable-unknown" | "variable-unknown-value" | "variable-unknown-builtin" | "variable-builtin-missing" | "variable-unused" | "variable-rich-flattened" | "variable-format" | "variable-group-omitted";
41
41
  type VariableDiagnosticSeverity = "error" | "warning" | "info";
42
42
  interface VariableDiagnostic {
43
43
  code: VariableDiagnosticCode;
@@ -103,8 +103,11 @@ declare function variableDeclarations(presentation: unknown): VariableDeclaratio
103
103
  * (`{{speaker.name}}`, `var:organization.logo`): the cases where resolveVariables changes the document.
104
104
  */
105
105
  declare function hasContentVariables(presentation: unknown): boolean;
106
- /** Format a number with a display pattern (see the schema `NumberVariable.format`). */
107
- declare function formatVariableNumber(value: number, pattern?: string): {
106
+ /**
107
+ * Format a number with a display pattern (see the schema `NumberVariable.format`). LH-106: with `language`, the text is in that
108
+ * language's numbering system (`localizePatternNumber`; without a pattern, `localizeNumberText`); without it, Latin as written.
109
+ */
110
+ declare function formatVariableNumber(value: number, pattern?: string, language?: string): {
108
111
  text: string;
109
112
  } | {
110
113
  error: string;
@@ -1,13 +1,22 @@
1
1
  import { CatalogRecordKind } from './index.js';
2
2
  import { Finding } from './index.js';
3
3
  import { Presentation } from './index.js';
4
- import { b as ValidationThresholds, c as ValidationRuleInfo, V as ValidationReport, a as ValidateOptions } from './validation-types-DxyYPebs.js';
5
- export { C as Contract, d as ValidateFonts, e as ValidationCategory, f as ValidationChecks, g as ValidationRuleCost, v as validationCategories } from './validation-types-DxyYPebs.js';
6
- import './catalog-refs-kAefsZWT.js';
4
+ import { b as ValidationThresholds, c as ValidationRuleInfo, V as ValidationReport, a as ValidateOptions } from './validation-types-CYbsUuZ9.js';
5
+ export { C as Contract, d as ValidateFonts, e as ValidationCategory, f as ValidationChecks, g as ValidationRuleCost, v as validationCategories } from './validation-types-CYbsUuZ9.js';
6
+ import './catalog-refs-CoIrOdAw.js';
7
7
  import './schemas.js';
8
8
  import './json-BFSdESOE.js';
9
- import './composition-Ds6WHyO7.js';
10
- import './chart-data-oIZQlFGi.js';
9
+ import './composition-CvtvgBDE.js';
10
+ import './chart-data-B_k-WTex.js';
11
+ import './shape-geometry.js';
12
+
13
+ interface ValidationCacheInfo {
14
+ readonly entries: number;
15
+ /** Conservative logical weight of retained keys/plain data; measure the host heap separately. */
16
+ readonly bytes: number;
17
+ readonly maxEntries: number;
18
+ readonly maxBytes: number;
19
+ }
11
20
 
12
21
  /**
13
22
  * The rule metadata: every rule `validate` can report, with its category, default severity, cost, rationale and the
@@ -28,7 +37,7 @@ declare const validationRules: readonly ValidationRuleInfo[];
28
37
  /** The rule a full id (`opf/text-contrast`) or bare name (`text-contrast`) names, or undefined. */
29
38
  declare function findValidationRule(name: string): ValidationRuleInfo | undefined;
30
39
 
31
- declare const promotedRegionKeys: readonly ["left", "center", "right", "left+center", "center+right", "left+center+right", "top", "middle", "bottom", "top+middle", "middle+bottom", "top+middle+bottom", "top:left", "top:center", "top:right", "top:left+center", "top:center+right", "top:left+center+right", "middle:left", "middle:center", "middle:right", "middle:left+center", "middle:center+right", "middle:left+center+right", "bottom:left", "bottom:center", "bottom:right", "bottom:left+center", "bottom:center+right", "bottom:left+center+right", "top+middle:left", "top+middle:center", "top+middle:right", "top+middle:left+center", "top+middle:center+right", "top+middle:left+center+right", "middle+bottom:left", "middle+bottom:center", "middle+bottom:right", "middle+bottom:left+center", "middle+bottom:center+right", "middle+bottom:left+center+right", "top+middle+bottom:left", "top+middle+bottom:center", "top+middle+bottom:right", "top+middle+bottom:left+center", "top+middle+bottom:center+right", "top+middle+bottom:left+center+right"];
40
+ declare const promotedRegionKeys: readonly ["start", "center", "end", "start+center", "center+end", "start+center+end", "top", "middle", "bottom", "top+middle", "middle+bottom", "top+middle+bottom", "top:start", "top:center", "top:end", "top:start+center", "top:center+end", "top:start+center+end", "middle:start", "middle:center", "middle:end", "middle:start+center", "middle:center+end", "middle:start+center+end", "bottom:start", "bottom:center", "bottom:end", "bottom:start+center", "bottom:center+end", "bottom:start+center+end", "top+middle:start", "top+middle:center", "top+middle:end", "top+middle:start+center", "top+middle:center+end", "top+middle:start+center+end", "middle+bottom:start", "middle+bottom:center", "middle+bottom:end", "middle+bottom:start+center", "middle+bottom:center+end", "middle+bottom:start+center+end", "top+middle+bottom:start", "top+middle+bottom:center", "top+middle+bottom:end", "top+middle+bottom:start+center", "top+middle+bottom:center+end", "top+middle+bottom:start+center+end"];
32
41
 
33
42
  declare class OPFValidationError extends Error {
34
43
  /** The full report that failed. */
@@ -46,6 +55,24 @@ declare class OPFValidationError extends Error {
46
55
  * typo cannot silently disable a check).
47
56
  */
48
57
  declare function validate(input: unknown, options?: ValidateOptions): ValidationReport;
58
+
59
+ interface Validator {
60
+ /** Same complete report as validate; only equivalent derived slide compositions can be reused. */
61
+ validate(input: unknown, options?: ValidateOptions): ValidationReport;
62
+ /** Invalidate after a host changes resources/measurement behavior behind an unchanged function identity. */
63
+ clear(): void;
64
+ /** Bounded logical retention, not engine-specific heap usage. */
65
+ readonly cache: ValidationCacheInfo;
66
+ }
67
+ /**
68
+ * A validator owned by one editing/review session. Every call runs the full selected checks and reconstructs findings,
69
+ * fixes and source locations. Only detached, equivalent composition data is retained (64 slides / 8 MiB logical budget,
70
+ * including at most 2 MiB of shared exact keys); oversized/opaque inputs and failed compositions stay cold.
71
+ *
72
+ * Measurement callbacks and lazy catalog loaders must be deterministic until clear() (or their identity changes).
73
+ * Call clear() after fonts/icons/diagram engines load or a callback's backing resources change. Plain validate is always cold.
74
+ */
75
+ declare function createValidator(): Validator;
49
76
  /**
50
77
  * Throw `OPFValidationError` (carrying the `report`) unless `validate(value, options)` is valid; afterwards TypeScript
51
78
  * knows `value` is a `Presentation`. It takes a parsed value, not text. Pass `{ only: ['format'] }` for the cheap check.
@@ -59,4 +86,5 @@ declare function assertValid(value: unknown, options?: ValidateOptions): asserts
59
86
  declare function validateCatalogRecord(kind: CatalogRecordKind, value: unknown): ValidationReport;
60
87
  declare function assertValidCatalogRecord(kind: CatalogRecordKind, value: unknown): void;
61
88
 
62
- export { DEFAULT_VALIDATION_THRESHOLDS, OPFValidationError, ValidateOptions, ValidationReport, ValidationRuleInfo, ValidationThresholds, assertValid, assertValidCatalogRecord, findValidationRule, promotedRegionKeys, validate, validateCatalogRecord, validationRules };
89
+ export { DEFAULT_VALIDATION_THRESHOLDS, OPFValidationError, ValidateOptions, ValidationReport, ValidationRuleInfo, ValidationThresholds, assertValid, assertValidCatalogRecord, createValidator, findValidationRule, promotedRegionKeys, validate, validateCatalogRecord, validationRules };
90
+ export type { ValidationCacheInfo, Validator };
package/dist/validator.js CHANGED
@@ -1,5 +1,6 @@
1
- export { DEFAULT_VALIDATION_THRESHOLDS, OPFValidationError, assertValid, assertValidCatalogRecord, findValidationRule, validate, validateCatalogRecord, validationCategories, validationRules } from './chunk-OXLA4HXQ.js';
1
+ export { DEFAULT_VALIDATION_THRESHOLDS, OPFValidationError, assertValid, assertValidCatalogRecord, createValidator, findValidationRule, validate, validateCatalogRecord, validationCategories, validationRules } from './chunk-FAXO3SUE.js';
2
2
  import './chunk-JBARNYFR.js';
3
- import './chunk-LEF4X4KI.js';
4
- export { promotedRegionKeys } from './chunk-NVAJASOD.js';
5
- import './chunk-GM7WFPGG.js';
3
+ import './chunk-LCT5ZV3Q.js';
4
+ export { promotedRegionKeys } from './chunk-CJVKOJ6B.js';
5
+ import './chunk-BLCDUM7B.js';
6
+ import './chunk-PRXZD2II.js';
package/dist/yaml.d.ts CHANGED
@@ -2,8 +2,9 @@ import { Catalog } from './composition.js';
2
2
  import { Presentation } from './index.js';
3
3
  import { ValidateOptions, ValidationReport } from './index.js';
4
4
  import { Finding, FindingLocation } from './index.js';
5
- import './composition-Ds6WHyO7.js';
6
- import './chart-data-oIZQlFGi.js';
5
+ import './composition-CvtvgBDE.js';
6
+ import './chart-data-B_k-WTex.js';
7
+ import './shape-geometry.js';
7
8
  import './json-BFSdESOE.js';
8
9
 
9
10
  /** A finding located in the YAML source: `yaml/<rule>` syntax and dialect errors (category `format`) and the OPF findings of the parsed deck. */
package/dist/yaml.js CHANGED
@@ -1,10 +1,11 @@
1
- export { OPFYamlError, YAML_SCHEMA_URL, fromYaml, parseYamlData, scanYamlComments, toYaml } from './chunk-IT7FQKED.js';
2
- import './chunk-HKUV7NEN.js';
1
+ export { OPFYamlError, YAML_SCHEMA_URL, fromYaml, parseYamlData, scanYamlComments, toYaml } from './chunk-2HX4BGAS.js';
2
+ import './chunk-HHVQ2SDT.js';
3
3
  import './chunk-RYZPBJLB.js';
4
- import './chunk-BBVW5ZC2.js';
5
- import './chunk-XQO2CT6Q.js';
6
- import './chunk-OXLA4HXQ.js';
4
+ import './chunk-WMFT5R7I.js';
5
+ import './chunk-3THGTDL2.js';
6
+ import './chunk-FAXO3SUE.js';
7
7
  import './chunk-JBARNYFR.js';
8
- import './chunk-LEF4X4KI.js';
9
- import './chunk-NVAJASOD.js';
10
- import './chunk-GM7WFPGG.js';
8
+ import './chunk-LCT5ZV3Q.js';
9
+ import './chunk-CJVKOJ6B.js';
10
+ import './chunk-BLCDUM7B.js';
11
+ import './chunk-PRXZD2II.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openpresentation/opf",
3
- "version": "0.32.1",
3
+ "version": "0.34.0",
4
4
  "description": "Canonical Open Presentation Format schemas, TypeScript types, local validation and composition; in Node, the file API and the CLI defaults register the pptx.gallery catalog of @openpresentation/gallery.",
5
5
  "license": "MIT",
6
6
  "author": "Open Presentation",
@@ -96,6 +96,14 @@
96
96
  "types": "./dist/symbol-font-encodings.d.ts",
97
97
  "import": "./dist/symbol-font-encodings.js"
98
98
  },
99
+ "./shape-geometry": {
100
+ "types": "./dist/shape-geometry.d.ts",
101
+ "import": "./dist/shape-geometry.js"
102
+ },
103
+ "./shape-catalog": {
104
+ "types": "./dist/shape-catalog.d.ts",
105
+ "import": "./dist/shape-catalog.js"
106
+ },
99
107
  "./deck": {
100
108
  "types": "./dist/deck.d.ts",
101
109
  "import": "./dist/deck.js"
@@ -156,6 +164,14 @@
156
164
  "edge-light": "./dist/diagram-engine-lazy.js",
157
165
  "browser": "./dist/diagram-engine-lazy.js",
158
166
  "default": "./dist/diagram-engine-eager.js"
167
+ },
168
+ "#shape-engine": {
169
+ "types": "./src/shape-engine-eager.ts",
170
+ "workerd": "./dist/shape-engine-lazy.js",
171
+ "worker": "./dist/shape-engine-lazy.js",
172
+ "edge-light": "./dist/shape-engine-lazy.js",
173
+ "browser": "./dist/shape-engine-lazy.js",
174
+ "default": "./dist/shape-engine-eager.js"
159
175
  }
160
176
  },
161
177
  "files": [
@@ -173,7 +189,7 @@
173
189
  "jsonc-parser": "3.3.1",
174
190
  "pele": "1.13.0",
175
191
  "yaml": "^2.9.1",
176
- "@openpresentation/gallery": "^0.32.1"
192
+ "@openpresentation/gallery": "^0.34.0"
177
193
  },
178
194
  "devDependencies": {
179
195
  "@expo-google-fonts/arimo": "0.4.3",
@@ -191,11 +207,11 @@
191
207
  "sharp": "0.35.5",
192
208
  "tsup": "^9.0.0",
193
209
  "typescript": "~5.9.3",
194
- "workerd": "1.20261030.1"
210
+ "workerd": "1.20261106.1"
195
211
  },
196
212
  "peerDependencies": {
197
- "@openpresentation/opf-pptx": "^0.32.1",
198
- "@openpresentation/opf-render": "^0.32.1"
213
+ "@openpresentation/opf-pptx": "^0.34.0",
214
+ "@openpresentation/opf-render": "^0.34.0"
199
215
  },
200
216
  "peerDependenciesMeta": {
201
217
  "@openpresentation/opf-pptx": {
@@ -216,5 +232,5 @@
216
232
  "test:packed": "node test/packed-install-smoke.mjs",
217
233
  "pack:dry-run": "pnpm run build:deps && pnpm run build && npm pack --dry-run --cache /tmp/opf-npm-cache"
218
234
  },
219
- "gitHead": "9d5510c31efff5f0d3a5a2406ae3488f34b2b6c4"
235
+ "gitHead": "8f395d3d332b48dae0b62a2f767a4153eed7ca18"
220
236
  }