@openpresentation/opf 0.34.1 → 0.35.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.
- package/README.md +6 -6
- package/dist/browser.js +19 -19
- package/dist/{catalog-refs-CoIrOdAw.d.ts → catalog-refs-BgotJhR5.d.ts} +117 -98
- package/dist/{catalog-schemas-FjLRPtjB.d.ts → catalog-schemas-BX-VEc5Q.d.ts} +1 -1
- package/dist/{chunk-MUILZGRY.js → chunk-2GCTKQDD.js} +4 -4
- package/dist/{chunk-LCT5ZV3Q.js → chunk-3KPTVK77.js} +92 -284
- package/dist/{chunk-SR6T4LKI.js → chunk-3ZTKRX7F.js} +4 -6
- package/dist/{chunk-MAFJ5O2D.js → chunk-4UMZDDJG.js} +11 -29
- package/dist/{chunk-NLJFNCZ4.js → chunk-6JHV2K67.js} +6 -6
- package/dist/{chunk-FK5XG742.js → chunk-6VGLE7C5.js} +114 -2
- package/dist/{chunk-AAWHOCXS.js → chunk-7KUUIL7W.js} +8 -8
- package/dist/{chunk-FCSYIBVR.js → chunk-ARPMSD7V.js} +1 -1
- package/dist/{chunk-244OPLAV.js → chunk-GGN3NQDK.js} +1 -1
- package/dist/{chunk-L3MCLD3X.js → chunk-GKUAVSXU.js} +3 -10
- package/dist/{chunk-6PMXVP5G.js → chunk-HORPH6O7.js} +202 -21
- package/dist/{chunk-XLSWZSQS.js → chunk-JQNT37IO.js} +4 -13
- package/dist/{chunk-AEHDXNZX.js → chunk-KNMMEE67.js} +1433 -916
- package/dist/{chunk-CJVKOJ6B.js → chunk-LDLLZQPP.js} +1094 -472
- package/dist/{chunk-HHVQ2SDT.js → chunk-MS2LPR7F.js} +1 -5
- package/dist/{chunk-AGYPRTEC.js → chunk-MVPQEMCP.js} +97 -15
- package/dist/{chunk-2B6GLT2O.js → chunk-NPRNWPP4.js} +1 -1
- package/dist/{chunk-X72WPTST.js → chunk-P2ACZJUL.js} +6 -6
- package/dist/chunk-SEC4IOOS.js +1 -0
- package/dist/{chunk-CQXBGZQP.js → chunk-VMPOCXTE.js} +5 -17
- package/dist/{chunk-ABA2D6X5.js → chunk-ZZWX4W2G.js} +2 -2
- package/dist/{composition-CvtvgBDE.d.ts → composition-BmJfljJl.d.ts} +345 -242
- package/dist/composition.d.ts +2 -2
- package/dist/composition.js +1 -1
- package/dist/{conversion-CyNRlWGw.d.ts → conversion-BbXhlurO.d.ts} +10 -8
- package/dist/conversion-VWCH3NKR.js +25 -0
- package/dist/convert.d.ts +11 -11
- package/dist/convert.js +61 -86
- package/dist/data.d.ts +1 -1
- package/dist/data.js +2 -2
- package/dist/{deck-report-BVlQZ42f.d.ts → deck-report-BYkbL7uT.d.ts} +3 -3
- package/dist/deck.d.ts +6 -6
- package/dist/deck.js +11 -11
- package/dist/diagram-engine-eager.js +1 -1
- package/dist/diagram-engine-lazy.js +1 -1
- package/dist/{diagram-plantuml-XRZ6VAOL.js → diagram-plantuml-GWXGKY7R.js} +1 -1
- package/dist/diff.d.ts +2 -2
- package/dist/diff.js +4 -4
- package/dist/docs.js +40 -40
- package/dist/example-files/technical/assets/alice.png +0 -0
- package/dist/example-files/technical/assets/context-photo.png +0 -0
- package/dist/example-files/technical/assets/cover-image.png +0 -0
- package/dist/example-files/technical/assets/cover.png +0 -0
- package/dist/example-files/technical/assets/diagram.svg +1 -0
- package/dist/example-files/technical/assets/icon.svg +1 -0
- package/dist/example-files/technical/assets/logo-dark.svg +1 -0
- package/dist/example-files/technical/assets/logo-light.svg +1 -0
- package/dist/example-files/technical/assets/logo.svg +1 -0
- package/dist/example-files/technical/assets/primary-logo.svg +1 -0
- package/dist/example-files/technical/assets/product-shot.png +0 -0
- package/dist/example-files/technical/assets/watermark.png +0 -0
- package/dist/example-files/technical/assets/wordmark.svg +1 -0
- package/dist/examples.js +6383 -8169
- package/dist/{finding-l9dlQ2NF.d.ts → finding-mcHslZLA.d.ts} +6 -2
- package/dist/font-policy.d.ts +16 -2
- package/dist/font-policy.js +1 -1
- package/dist/format.js +2 -2
- package/dist/ids.d.ts +2 -2
- package/dist/ids.js +4 -4
- package/dist/index.d.ts +125 -27
- package/dist/index.js +24 -23
- package/dist/markdown.d.ts +1 -1
- package/dist/markdown.js +8 -8
- package/dist/node-engine.d.ts +22 -8
- package/dist/node-engine.js +38 -22
- package/dist/{pagination-CZQQYk7L.d.ts → pagination-C0FPjO29.d.ts} +4 -4
- package/dist/pagination.d.ts +3 -3
- package/dist/pagination.js +4 -4
- package/dist/patch.d.ts +4 -4
- package/dist/patch.js +3 -3
- package/dist/precompiled.js +2 -2
- package/dist/{presentation-s9262acV.d.ts → presentation-Dx-kZC8Y.d.ts} +33 -81
- package/dist/repo-readme.js +1 -1
- package/dist/schema-engine-ajv.js +1 -1
- package/dist/schema-engine-precompiled.js +2 -2
- package/dist/schema.d.ts +5 -7
- package/dist/schema.js +3 -3
- package/dist/schemas.js +1 -1
- package/dist/source.d.ts +5 -0
- package/dist/source.js +10 -10
- package/dist/spec/reference/engine-defaults.json +1 -1
- package/dist/spec/reference/engine-vocabularies.json +43 -43
- package/dist/spec/reference/font-policy.json +114 -2
- package/dist/spec/reference/font-policy.schema.json +45 -1
- package/dist/spec/schemas/color-scheme.schema.json +2 -2
- package/dist/spec/schemas/finding.schema.json +2 -1
- package/dist/spec/schemas/icon-set.schema.json +5 -0
- package/dist/spec/schemas/layout.schema.json +27 -85
- package/dist/spec/schemas/opf.schema.json +35 -176
- package/dist/spec/schemas/theme.schema.json +10 -10
- package/dist/symbol-font-encodings.d.ts +2 -2
- package/dist/symbol-font-encodings.js +12695 -12736
- package/dist/types.d.ts +74 -86
- package/dist/{validation-types-CYbsUuZ9.d.ts → validation-types-DKIe1RQW.d.ts} +5 -5
- package/dist/validator.d.ts +5 -7
- package/dist/validator.js +3 -3
- package/dist/yaml.d.ts +1 -1
- package/dist/yaml.js +7 -7
- package/package.json +7 -7
- package/dist/chunk-UJZN2ZH6.js +0 -1
- package/dist/conversion-CSQ5EHD2.js +0 -25
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$id": "https://openpresentation.org/schema/opf-layout/v2",
|
|
4
4
|
"$comment": "The v2 in the $id marks the pre-1.0 line of this schema, not a frozen contract: it may change in any 0.x minor release. The release that produced this copy is the version of the @openpresentation/opf package it came from (opf --version; opf schemas lists it next to each id). See docs/schema-versioning.md.",
|
|
5
5
|
"title": "Slide Layout",
|
|
6
|
-
"description": "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
|
|
6
|
+
"description": "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 neighbor. 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.\n\nA document references a record as a bare id or 'name:id' and resolves it in its own catalogs groups first, then in the catalog the host registered for the group's source; engines never fetch a catalog. A published record file carries '$schema' and 'id'; the copy a document embeds under catalogs.<group>.<kind>.<id> carries neither (the key is the id) and no 'x-*' display metadata.",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"required": [
|
|
9
9
|
"$schema",
|
|
@@ -20,16 +20,13 @@
|
|
|
20
20
|
"id": {
|
|
21
21
|
"type": "string",
|
|
22
22
|
"pattern": "^[a-z][a-z0-9-]*$",
|
|
23
|
-
"description": "The layout's id in its catalog, lowercase kebab-case. Required in a published record file; a document references the record by it (a bare id, or 'name:id' for a named group) and embeds it keyed by it, without this field.
|
|
23
|
+
"description": "The layout's id in its catalog, lowercase kebab-case. Required in a published record file; a document references the record by it (a bare id, or 'name:id' for a named group) and embeds it keyed by it, without this field.",
|
|
24
24
|
"examples": [
|
|
25
25
|
"cover",
|
|
26
26
|
"pillars",
|
|
27
27
|
"chart-beside",
|
|
28
28
|
"roadmap-split"
|
|
29
|
-
]
|
|
30
|
-
"not": {
|
|
31
|
-
"const": "auto"
|
|
32
|
-
}
|
|
29
|
+
]
|
|
33
30
|
},
|
|
34
31
|
"name": {
|
|
35
32
|
"type": "string",
|
|
@@ -78,7 +75,7 @@
|
|
|
78
75
|
"middle",
|
|
79
76
|
"bottom"
|
|
80
77
|
],
|
|
81
|
-
"description": "Vertical position of the content of every body region when it is shorter than the region. A split's 'anchor' replaces it for the regions under that split, and a region's own 'anchor' replaces both. Only 'anchor' is inherited, and only by body regions: the heading regions 'title' and 'subtitle' never take it (they set their own, HeadingRegion.anchor), and the other region rules stay per region. One exception places the whole slide: when the record is a column and every entry of its 'regions' list is sized 'auto' (heading regions included), the record has no numeric row to hold the leftover height, so its 'anchor' places the whole stack, title and subtitle included, in the content box's leftover height: 'middle'
|
|
78
|
+
"description": "Vertical position of the content of every body region when it is shorter than the region. A split's 'anchor' replaces it for the regions under that split, and a region's own 'anchor' replaces both. Only 'anchor' is inherited, and only by body regions: the heading regions 'title' and 'subtitle' never take it (they set their own, HeadingRegion.anchor), and the other region rules stay per region. One exception places the whole slide: when the record is a column and every entry of its 'regions' list is sized 'auto' (heading regions included), the record has no numeric row to hold the leftover height, so its 'anchor' places the whole stack, title and subtitle included, in the content box's leftover height: 'middle' centers it, 'bottom' sits it at the foot, 'top' (default) starts it at the top as before. A record with any numeric entry, a row record and an anchor on a split keep the rule above. Default 'top'."
|
|
82
79
|
},
|
|
83
80
|
"regions": {
|
|
84
81
|
"type": "array",
|
|
@@ -132,7 +129,7 @@
|
|
|
132
129
|
"overflowRegion": {
|
|
133
130
|
"type": "string",
|
|
134
131
|
"pattern": "^[a-z][a-z0-9-]*$",
|
|
135
|
-
"description": "The region where content that no region accepts goes, whatever its 'accepts', while it has room; content beyond every region's room is drawn there too, with the warning opf/layout-unplaced. Omitted: the first primary region (in reading order)
|
|
132
|
+
"description": "The region where content that no region accepts goes, whatever its 'accepts', while it has room; content beyond every region's room is drawn there too, with the warning opf/layout-unplaced. Omitted: the first primary region (in reading order) that is not a single-block region ('max': 1)."
|
|
136
133
|
},
|
|
137
134
|
"tags": {
|
|
138
135
|
"type": "array",
|
|
@@ -316,7 +313,7 @@
|
|
|
316
313
|
"subtitle"
|
|
317
314
|
]
|
|
318
315
|
},
|
|
319
|
-
"description": "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
|
|
316
|
+
"description": "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 cell words of a slide without a layout ('start', 'center', 'end', 'top', 'middle', 'bottom'), so a block's 'region' (and a Markdown block's region= option) stays unambiguous: the validate finding opf/layout-region.",
|
|
320
317
|
"examples": [
|
|
321
318
|
"main",
|
|
322
319
|
"aside",
|
|
@@ -364,43 +361,31 @@
|
|
|
364
361
|
"type": "string",
|
|
365
362
|
"enum": [
|
|
366
363
|
"primary",
|
|
367
|
-
"secondary",
|
|
368
364
|
"media",
|
|
369
365
|
"supporting"
|
|
370
366
|
],
|
|
371
|
-
"description": "Which content the region wants first. Binding gives a picture (image, video) to a media region first, then primary,
|
|
367
|
+
"description": "Which content the region wants first. Binding gives a picture (image, video) to a media region first, then primary, supporting; every other kind to a primary region first, then supporting, media; of two equal regions the first in reading order fills first. A supporting region receives content only when no primary region that accepts it has room, or by a pin. Default 'primary'. OPF 0.35 removed 'secondary': write 'supporting' (or 'primary' for content that must be bound first); the old value fails the schema as opf/catalog-record."
|
|
372
368
|
},
|
|
373
369
|
"flow": {
|
|
374
370
|
"type": "string",
|
|
375
371
|
"enum": [
|
|
376
|
-
"
|
|
372
|
+
"auto",
|
|
377
373
|
"grid",
|
|
378
|
-
"
|
|
379
|
-
"
|
|
374
|
+
"row",
|
|
375
|
+
"column"
|
|
380
376
|
],
|
|
381
|
-
"description": "How several blocks share the region: '
|
|
377
|
+
"description": "How several blocks share the region, in the words of composition.mode: '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); '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 centered in a grid of pictures); 'row' side by side in one row, one cell each at equal widths in reading order, the counterpart of 'column' (the row is kept as written: no paragraph columns, lead block, list grid or regrouping replaces it); '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). A region of one block is 'max': 1, not a flow. OPF 0.35 removed 'none' (write 'max': 1) and design.contentDirection (write 'row' or 'column' here, or composition.mode on an automatic slide). Default 'auto'."
|
|
382
378
|
},
|
|
383
379
|
"max": {
|
|
384
380
|
"type": "integer",
|
|
385
381
|
"minimum": 1,
|
|
386
382
|
"maximum": 12,
|
|
387
|
-
"description": "Blocks the region holds on one slide. Default 1 for flow 'none'
|
|
383
|
+
"description": "Blocks the region holds on one slide. Default 6. 1 makes a single-block region: its block fills it, and blocks no region had room for still join it, up to 6, arranged by its flow (as 'none' did before OPF 0.35); a single-block region is never the default overflowRegion, nor the region a slide's own composition.mode arranges. 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."
|
|
388
384
|
},
|
|
389
385
|
"bleed": {
|
|
390
386
|
"type": "boolean",
|
|
391
387
|
"description": "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."
|
|
392
388
|
},
|
|
393
|
-
"listColumns": {
|
|
394
|
-
"oneOf": [
|
|
395
|
-
{
|
|
396
|
-
"const": "auto"
|
|
397
|
-
},
|
|
398
|
-
{
|
|
399
|
-
"const": 1
|
|
400
|
-
}
|
|
401
|
-
],
|
|
402
|
-
"description": "'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."
|
|
403
|
-
},
|
|
404
389
|
"metrics": {
|
|
405
390
|
"type": "string",
|
|
406
391
|
"enum": [
|
|
@@ -409,36 +394,23 @@
|
|
|
409
394
|
],
|
|
410
395
|
"description": "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."
|
|
411
396
|
},
|
|
412
|
-
"sequence": {
|
|
413
|
-
"type": "string",
|
|
414
|
-
"enum": [
|
|
415
|
-
"steps",
|
|
416
|
-
"numbered"
|
|
417
|
-
],
|
|
418
|
-
"description": "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."
|
|
419
|
-
},
|
|
420
397
|
"arrangement": {
|
|
421
398
|
"type": "string",
|
|
422
399
|
"enum": [
|
|
400
|
+
"steps",
|
|
401
|
+
"numbered",
|
|
423
402
|
"pyramid",
|
|
403
|
+
"inverted-pyramid",
|
|
424
404
|
"matrix",
|
|
425
405
|
"cycle",
|
|
426
406
|
"chevrons",
|
|
427
|
-
"
|
|
428
|
-
"vertical-
|
|
407
|
+
"process",
|
|
408
|
+
"vertical-process",
|
|
429
409
|
"org-chart",
|
|
430
410
|
"hierarchy",
|
|
431
411
|
"venn"
|
|
432
412
|
],
|
|
433
|
-
"description": "
|
|
434
|
-
},
|
|
435
|
-
"pyramidDirection": {
|
|
436
|
-
"type": "string",
|
|
437
|
-
"enum": [
|
|
438
|
-
"up",
|
|
439
|
-
"down"
|
|
440
|
-
],
|
|
441
|
-
"description": "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."
|
|
413
|
+
"description": "What the region draws its content as. 'steps' and 'numbered' draw a sequence; the other values draw a lone list of one level as a diagram (docs/smartart.md). Absent: the region's content draws as any other.\n\n'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 2 to 8 entries of one level, each of one or two words and at most 24 characters, without numbering, descriptions or icons, draws as Basic Process instead (the 'process' drawing below) where it holds every entry at the size the steps would have or larger. '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.\n\nThe diagrams draw 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). 'inverted-pyramid' is the pyramid upside down: the widest level first and the tip at the bottom, the entries still in their authored top-to-bottom order; it exports as editable native shapes. 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), 'process' (Basic Process: a row of boxes with arrows between them) and 'vertical-process' (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."
|
|
442
414
|
},
|
|
443
415
|
"anchor": {
|
|
444
416
|
"type": "string",
|
|
@@ -455,30 +427,11 @@
|
|
|
455
427
|
"collapse",
|
|
456
428
|
"keep"
|
|
457
429
|
],
|
|
458
|
-
"description": "What the region does on a slide that gives it no content: 'collapse' (default) joins its cells to a
|
|
430
|
+
"description": "What the region does on a slide that gives it no content: 'collapse' (default) joins its cells to a neighboring area that shares the full length of one of its edges and is not itself empty; 'keep' leaves the space."
|
|
459
431
|
}
|
|
460
432
|
},
|
|
461
433
|
"required": [
|
|
462
434
|
"name"
|
|
463
|
-
],
|
|
464
|
-
"allOf": [
|
|
465
|
-
{
|
|
466
|
-
"if": {
|
|
467
|
-
"required": [
|
|
468
|
-
"pyramidDirection"
|
|
469
|
-
]
|
|
470
|
-
},
|
|
471
|
-
"then": {
|
|
472
|
-
"required": [
|
|
473
|
-
"arrangement"
|
|
474
|
-
],
|
|
475
|
-
"properties": {
|
|
476
|
-
"arrangement": {
|
|
477
|
-
"const": "pyramid"
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
}
|
|
481
|
-
}
|
|
482
435
|
]
|
|
483
436
|
},
|
|
484
437
|
"DesignHints": {
|
|
@@ -495,6 +448,14 @@
|
|
|
495
448
|
],
|
|
496
449
|
"description": "Horizontal alignment of the title heading area. Logical, as design.titleAlignment of a deck: 'start' is the edge a paragraph starts on."
|
|
497
450
|
},
|
|
451
|
+
"titlePosition": {
|
|
452
|
+
"type": "string",
|
|
453
|
+
"enum": [
|
|
454
|
+
"top",
|
|
455
|
+
"start"
|
|
456
|
+
],
|
|
457
|
+
"description": "Where the heading group sits, as design.titlePosition of a deck: 'top' above the body, or 'start' beside it in a column of two fifths of the content width on the reading side. A record writes its regions under its title and sets 'start' to draw them beside it (the gallery's cycle, matrix and vertical-process do)."
|
|
458
|
+
},
|
|
498
459
|
"contentAlignment": {
|
|
499
460
|
"type": "string",
|
|
500
461
|
"enum": [
|
|
@@ -508,25 +469,6 @@
|
|
|
508
469
|
"type": "boolean",
|
|
509
470
|
"description": "Whether the body regions are drawn inside a visible card or surface."
|
|
510
471
|
},
|
|
511
|
-
"contentDirection": {
|
|
512
|
-
"type": "string",
|
|
513
|
-
"enum": [
|
|
514
|
-
"horizontal",
|
|
515
|
-
"vertical"
|
|
516
|
-
],
|
|
517
|
-
"description": "Axis along which parallel body content is arranged: 'vertical' is a column, 'horizontal' a row. On a layout slide it turns every flowing region into one row or one column; the slide's own composition.mode, columns and weights rank above it."
|
|
518
|
-
},
|
|
519
|
-
"chartPrimary": {
|
|
520
|
-
"type": "string",
|
|
521
|
-
"enum": [
|
|
522
|
-
"none",
|
|
523
|
-
"top",
|
|
524
|
-
"bottom",
|
|
525
|
-
"start",
|
|
526
|
-
"end"
|
|
527
|
-
],
|
|
528
|
-
"description": "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."
|
|
529
|
-
},
|
|
530
472
|
"imageFit": {
|
|
531
473
|
"type": "string",
|
|
532
474
|
"enum": [
|