@openpresentation/gallery 0.30.0 → 0.32.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/CHANGELOG.md +52 -0
- package/dist/index.js +1 -1
- package/dist/previews.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,58 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.32.0 (2026-11-04)
|
|
6
|
+
|
|
7
|
+
- Layout regions that hold a figure accept the new `diagram` kind: `charts` of `chart`, `chart` of `chart-beside`, `media` of `image`, `image-beside` and `hero`, `first` and `second` of `comparison` and `two-column`, the three columns of `three-column`, `steps` of `process` and `timeline` of `timeline`. A slide that pins a diagram to one of these regions, or binds one by kind, now places it there instead of reporting `region-kind`; no record draws differently.
|
|
8
|
+
- LH-01 (output-changing for slides on the section, statement, quote and closing layouts): a layout record can name a background variant in `design.variant`, either a variant or a value relative to the deck's own variant (`surface`: light2 on a light deck, dark2 on a dark one; `brand`: the brand dark, dark2, with light text; each takes the other slot where the deck is already on it). The default section draws on accent1, statement and quote on `surface` and closing on `brand`, so a dark deck keeps its tone. A layout's variant outranks the deck's and the theme's variant or background (it hides their background, and keeps the deck's accent order when it names none); the slide's own `design.variant` or `design.background` still wins. A variant's background can now be an accent (`accent1` to `accent6`, `ColorVariantSlot`): the accent is bg1 and bg2 and the text is the scheme's light family (light1, light2) or dark family (dark1, dark2), whichever reads better on it, with tx2 on tx1's slot where the family's tx2 is under 4.5:1. Core resolves it once (`resolveSlideContext` `resolved.roles` and `resolved.layoutVariant`, the validator's contrast checks, `composeSlide`'s background picture); the preview draws the variant's bg1 and the PPTX export writes the slide's `clrMapOvr` (`bg1="accent1"` for an accent) and imports it back as the variant its layout already gives. New on `/composition`: `layoutColorVariant(layout, deck)`, `layoutVariantApplies`, the `ColorBaseSlot`, `LayoutVariantRole` and `LayoutVariantDeck` types; `colorMapFor` takes the color scheme as a second argument for accent variants. The preview no longer paints a theme-slot background that sits beside a variant at the same level (`{ "background": "light1", "variant": "dark1" }` drew light text on white): the slide is the variant's bg1, as core and the PPTX export already resolved it.
|
|
9
|
+
Drawing change (existing records that draw differently or are gone): `layouts:section`, `layouts:statement`, `layouts:quote`, `layouts:closing`.
|
|
10
|
+
- LH-06 and LH-68 (layout harvest; output-changing): one emphasis surface per slide, and scorecard metrics sized from their tiles.
|
|
11
|
+
|
|
12
|
+
- **`emphasis` on a block or group** (schema, core, render, PPTX). `emphasis: true` draws the block or group on the slide's emphasis surface: a card in its cell, with no card of its own for anything drawn on it. Its colors come from the deck's own scheme slots through the LH-01 variant machinery (new core `emphasisSurface`): on a light slide the brand dark (dark2, then dark1, then the accents), on a dark slide the accents in the slide's order, then light1, the first whose text reaches 4.5:1 on its fill and whose fill reaches 3:1 against the slide. Every text role on the surface (text, secondary text, primary, secondary, accent) under 4.5:1 is drawn in the surface's text color. A slide has one surface: the first `emphasis: true` in reading order takes it, any other is drawn without it and reported (composition diagnostic `emphasis-ignored`). Composition reports the surface as `SlideComposition.emphasis` (`path`, `box`, `radius`, `shape` card, band or pill, `source`) and marks every item on it `emphasis: true`; the preview and the PPTX export draw it from there (PPTX: a tagged `OPF card` frame with no line, imported as decoration), and `validate` measures the contrast of those items against the surface.
|
|
13
|
+
- **Automatic emphasis** (no authoring). On a slide without an authored emphasis, a short last text block (60 characters or fewer) after blocks that are all longer (any other kind, or text over 60 characters) is drawn as a full-width band at the foot of the body, and one of 30 characters or fewer after a lone long text as a pill one gap under that text's last line, at the start of its column (at the foot of the body when there is no room there). The body above composes in what is left, with a layout or without. **No block loses size to them**: the slide is also composed without the band or pill (what it drew before), the band or pill text starts at least at the size the block fitted at there, and the band or pill is kept only when it leaves fewer findings, or as many and no body block (text, list, any visible part of a quote, code panel, metric or timeline, a table's smallest cell) smaller. `emphasis: false` keeps a block out; a slide with an arrangement of its own (a `composition` mode other than auto, weights or columns) takes neither. Across the 844 slides of the LH-27 corpus, 8 take a foot band and 10 a pill; no slide gains a finding and no block gets a smaller size. Of the 360 composition goldens, 7 cases take a foot band (timeline, metrics, chart, chart-beside, table, table-beside and code with 2 short blocks), none gained a finding.
|
|
14
|
+
- **Metric tiles** (layout schema, core, gallery). A layout region's new `metrics: "tile"` lays each metric in it out from its whole cell: 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, new `layoutMetric` option `tile`), a stacked unit under the value, and the description, delta and trend at the foot of the cell, start-aligned. Tiles fill their cards (no hugging) and siblings still share their sizes (LH-43). A tile never sets a role smaller than the metric fitted at as a stack (new `layoutMetric` option `minimumSizes`, from a stacked composition of the slide); where tiles would still cost a size or a finding, the slide keeps its stacks. The gallery `scorecard` layout's `cards` region uses it; its 12 composition golden cases moved, and across the corpus 18 metric values grow (76 to about 114 px) and none shrinks.
|
|
15
|
+
Drawing change (existing records that draw differently or are gone): `layouts:scorecard`, `layouts:timeline`, `layouts:metrics`, `layouts:chart`, `layouts:chart-beside`, `layouts:table`, `layouts:table-beside`, `layouts:code`.
|
|
16
|
+
- LH-07: numbered step badges and a connector for process and agenda, and short lists as an arrowed flow. A layout region's new `sequence` key (`steps` or `numbered`) lists the steps of a sequence. In a `steps` region, two or more text or list blocks draw under numbered badges: an accent circle 1.75 times the step text across, its numeral at the step text size in the scheme color readable on the accent, on one connector line through the badge centers. A one-entry numbered list gives its badge its number and draws as a heading over its description. A lone list draws its entries beside badges down a connector, and a lone list of 3 to 6 entries of one or two words is a row of chips joined by arrows. In a `numbered` region (an agenda, which runs in time), every list draws beside badges, numbered or not: an unnumbered list is counted in arabic as drawing only, continuing across the region's lists (unless one of them cannot take badges), and the document and its PPTX import keep it unnumbered. Steps keep the text size they have without the badges (a guarded rule, `step-badges`), and right-to-left decks run from the right. Core reports the drawing as `SlideComposition.steps`, list entries as `ListEntryLayout.badge` (`fitList` option `badges`) and adds `listNumberLabel`, `STEP_BADGE`, `STEP_BADGE_GAP` and the `STEP_FLOW_*` limits. The preview draws them, and the PPTX export writes native shapes: an ellipse holding its numeral, a line, rounded rectangles and `rightArrow` or `leftArrow` presets, each tagged `OPF_STEPS_V1`. Import consumes those shapes and gives a list its numbering back. The gallery's `process` layout uses `steps`; `agenda` and `agenda-split` use `numbered`.
|
|
17
|
+
Drawing change (existing records that draw differently or are gone): `layouts:process`, `layouts:agenda`, `layouts:agenda-split`.
|
|
18
|
+
- LH-104 (output-changing for the `image` layout): a picture fit `auto` (`fit: "auto"` on an image block, `design.imageFit: "auto"` on a slide, deck, theme or layout) covers the frame when the crop keeps at least 85% of the picture along the cropped dimension (at most 7.5% off each edge, from the EXIF-corrected proportions against the frame) and contains it otherwise; an SVG, or a picture whose size core cannot read from the document, is always contained, and an authored focus or the LH-84 portrait focus still places a cover crop. Core decides it (`fitImage` takes `auto`; new on `/composition`: `autoImageFit`, `coverKept`, `AUTO_FIT_MIN_KEPT`, the `ImageFitOption` type), so the preview and the PPTX export draw the same fit; `ComposedItem.image.fit` is the fit it took and `autoFit: true` says it was `auto`. The gallery `image` layout's default fit changes from `contain` to `auto`: a picture close to the frame's shape now fills it with a light crop (with a title, the region is about 2.24:1, so a 16:9 photo is still shown whole), any other picture is shown whole as before. The automatic picture track (LH-80) keeps its own test: it is a frame the engine chooses to crop the picture into, so an `auto` picture takes it as one with no fit does and is cover-cropped there, while an authored `contain` or `stretch` still keeps the picture out of it. The editor offers `auto` as an image fit and as a design `imageFit`.
|
|
19
|
+
Drawing change (existing records that draw differently or are gone): `layouts:image`.
|
|
20
|
+
- Layout harvest (the layout sampler compared with Claude Design): pillars, team, two-column and three-column draw full-height cards with their content at the foot, and scorecard full-height cards with its measures in the middle, instead of text pinned under the title; hero sets a full-height picture, bled to the slide's top, right and bottom edges, beside a text column holding the title, the lead and the supporting points (its regions now read lead, support, media). The editorial layout previews show a subtitle only on the cover, section and chart layouts, where slides usually carry one.
|
|
21
|
+
Drawing change (existing records that draw differently or are gone): `layouts:pillars`, `layouts:team`, `layouts:scorecard`, `layouts:two-column`, `layouts:three-column`, `layouts:hero`.
|
|
22
|
+
- LH-112, LH-101, LH-53, LH-61, LH-15 and LH-57 (layout harvest; output-changing): metrics at display size beside other kinds, the trend arrow and delta on one line, a KPI column beside a chart, a band in a wide short cell, and the value in the text color on dark.
|
|
23
|
+
|
|
24
|
+
- **Display size beside other blocks (LH-112, core).** One or two metrics that share the body with one or two blocks of other kinds are drawn at display size: one metric's value starts at 120 reference pixels and grows to 160 while its line height stays within 40% of the body and its one line within 90% of its cell (two metrics: 90 to 120; new `layoutMetric` option `display`, `METRIC_DISPLAY_SIZES`), start-aligned with its column unless the slide or the deck sets `contentAlignment`. A metric alone or a grid of metrics alone stays centered. Both are guarded rules of the one size guard (`metric-start`, `metric-display`, the display size tried last); a value at display size is compared at its 76 px role size, its headroom above that being free for an arrangement to spend.
|
|
25
|
+
- **Lone metric (LH-101, core).** A lone metric grows up to nine type-scale steps while it fills at most 80% of its cell, its value up to 232 px (was 152 px and 60%): b01 s49 draws its value at 232 px (was 116), b04 s38 at 232 (was 133).
|
|
26
|
+
- **Trend arrow on the delta line (LH-53, core, render, PPTX).** The trend word ("up", "down", "flat") is no longer drawn: the arrow sits before the delta on one line ("↑ +7 pts"), or before the label (then the description) without a delta, at the reading start (the right of a right-to-left metric), and the word stays the arrow's text alternative ("Trend: up") and the part's source (`MetricLayout.trendBox`; the trend part is `visible: false`). The English word no longer shows on Arabic slides. A unit beside its value is drawn at 60% of the value's size on its baseline in the value's color (`METRIC_UNIT_SHARE`), so "18 %" reads as one figure. A metric with less reduced metadata is kept on a near tie, so its label keeps its size and the value gives way. PPTX import accepts both the new metric groups and exports that drew the trend word.
|
|
27
|
+
- **KPI column beside a chart (LH-61, core).** One or two metrics stacked over one chart (and at most one table), as the dashboard layout draws them, are composed again with the metrics in a column of about a third of the width and the chart in a full-height track beside it (`recomposed.kpis`, `track`), when the plot is at least as tall and the slide reads as well. A table that would be smaller in the column keeps the layout's arrangement (m37).
|
|
28
|
+
- **Band (LH-15, core).** A metric at display size in a cell at least three times as wide as it is tall draws as a band: the value at the start, its label, description and delta in a column beside it (`arrangement: "band"`, new `layoutMetric` option `band`).
|
|
29
|
+
- **Value color on dark (LH-57, core, render, PPTX).** On a dark slide or card a value whose accent is under 4.5:1 against it takes the light text color (`metricValueColor(color, background, text)`), not a lightened accent.
|
|
30
|
+
- Across the 844 LH-27 corpus slides no slide gains a finding; one slide trades its metric labels 17 to 16 px to remove all four of its findings (b11 s27); 20 slides' smallest body size goes up; 205 metric values on 96 slides grow and none shrinks. Of the 360 composition goldens, 15 move (metrics, scorecard 1, dashboard 2 to 4), none gains a finding and no item is smaller.
|
|
31
|
+
Drawing change (existing records that draw differently or are gone): `layouts:metrics`, `layouts:scorecard`, `layouts:dashboard`, `layouts:hero`, `layouts:timeline`, `layouts:chart-beside`.
|
|
32
|
+
- LH-114, LH-06 (widened), LH-121, LH-122 (output-changing for slides with a short quote beside data, a takeaway after two or more charts or tables, a timeline with event status, and the `timeline` layout): a quote of 140 characters or fewer that shares the slide's root `blocks` with a table, a list of three or more entries, or two or more other blocks is drawn as a full-width pull line, the last row when it is the last block and the first row under the headings when it is the first block of an automatic slide: an 80 x 6 px accent rule in the primary color, the quote at the lead size in at most two lines, and one caption line "— Name, Role" (`layoutQuote` option `pull`; `QuoteLayout.rule`; `QUOTE_PULL_RULE`, `QUOTE_PULL_PREFIX`, `QUOTE_PULL_ROLE_SEPARATOR`, `QUOTE_PULL_LINES`, `QUOTE_PULL_MAX_CHARACTERS` on `/composition`). A quote beside one compact block keeps its LH-78 card. The preview draws the rule; the PPTX export writes it as a tagged native rectangle that import consumes, and the pull line's caption imports back as `attribution` and `role`. A last text of up to 120 characters right after two or more charts or tables is LH-06's foot band (`EMPHASIS_TAKEAWAY_MAX_CHARACTERS`). A timeline whose events carry `status` draws its connector in the primary color up to the current event (`TimelineLayout.progress`) and, in an English deck, a status word (Done, Current, Planned) under each label (`TimelineLayout.statusLabels`, `TIMELINE_STATUS_WORDS`, `layoutTimeline` option `statusWords`); both engines draw them, the PPTX export as a tagged line and tagged text shapes that import consumes. The pull line and the status words are held to the size guard (`guardedCompose`): no other block reads smaller, and a timeline that would shrink its labels draws no words. Region binding keeps source order across equally ranked regions (`bindRegions`), and the `timeline` layout has a `lead` region (text, auto height) between the title and the timeline, so a text authored before the timeline is drawn under the title and one after it stays a note; an empty `lead` takes no height.
|
|
33
|
+
Drawing change (existing records that draw differently or are gone): `layouts:timeline`.
|
|
34
|
+
- LH-116, LH-101, LH-102 and the widened LH-80, LH-64, LH-47 and LH-10 (layout harvest; output-changing for automatic slides with a picture track under a long title, lone code panels, under-filled layout bodies, rows of cards that mix a table or code with other kinds, automatic grids with a short last row, and long paragraphs in full-width layout regions). An automatic picture track spans the title band only when the title fits one line beside it (after LH-51's steps); otherwise the tag, title and subtitle take the full width and the track bleeds from the body top to the side and foot. A track is no longer kept when it would wrap a table cell the slide set on one line. A lone code panel grows its code in type-scale steps (up to the code display size) and hugs it in the middle of the body; only code that covers at least 60% of the body takes the whole body, its lines in the middle of the panel (new `layoutCode` option `fill`; `codeLayout.bounds` is then the panel). A layout body of text, lists, quotes, metrics, code, tables or timelines (pictures only in a bled region) that covers under 60% of the body height sits in the middle of the space under the headings, its regions taking their need and its cards hugging, when it moves as one and no block reads smaller. A row of middle- or bottom-anchored cards with a table, code panel or timeline among other kinds starts at the card top instead of three anchors. In automatic composition the cells of the scored grid's short last row stretch to the full width, unless every block is a picture or video. A paragraph in a layout region keeps the reading measure (about 70 average characters of its size), unless the body would then not grow (LH-48), since a readable size outranks the measure. Each rule is guarded like the other wave 3 rules: no block's body size is smaller; of the 844 LH-27 corpus slides none gained a finding or a smaller size. Preview and PPTX export read the geometry from core and agree.
|
|
35
|
+
Drawing change (existing records that draw differently or are gone): `layouts:agenda`, `layouts:list`, `layouts:comparison`, `layouts:process`, `layouts:faq`, `layouts:metrics`, `layouts:chart`, `layouts:table-beside`, `layouts:code`, `layouts:three-column`.
|
|
36
|
+
- LH-130, LH-148: covers and sections set their display title low at the start edge, as Claude Design does. A heading region of a layout record takes its own `anchor` (`bottom` sets the heading group at the foot of a sized area; `middle` stays the default) and the `title` region takes `rule: true`, a short accent rule (80 by 5 px) half a gap above a title that has no tag, at the start edge of its first line; a tag stays the group's eyebrow and takes the rule's place, and the rule is drawn only where the headings are the slide's message (no body), so it never costs a body its room. Core composes it as `SlideComposition.titleRule`; the preview draws it as a rectangle and the PPTX export as a native rectangle tagged `OPF_TITLE_RULE_V1` (import consumes it), both in the tag's color. The gallery `cover` and `section` use `anchor: "bottom"` and `rule: true` with start alignment; the section keeps its `accent1` variant (a fixed deck background still wins, LH-103). A title that is the slide's whole message (a cover, a section, a closing) and fits one line at its role size may now take a second line as it grows to its 75 px display size, when the two lines read as one balanced block (the shorter at least half the longer, no line but the last ending in a one-letter word or an article), so a long cover or section title reaches display size instead of stopping a step or two below it. LH-148: a heading that LH-129 grows keeps the line breaks WI-4 balanced at its role size, so "A smaller pilot. / A clearer decision." no longer turns into "A smaller pilot. A / clearer decision." at the grown size: growth stops at the largest step that keeps the breaks.
|
|
37
|
+
Drawing change (existing records that draw differently or are gone): `layouts:cover`, `layouts:section`.
|
|
38
|
+
- LH-144, LH-149, LH-150, LH-151 (layout harvest; output-changing for slides whose body text shrank to fit, paginated slides, ratios such as "4.6 / 5", and metric values on dark cards in validate). Fitted body text takes the half steps of LH-17's type scale too (16, 17, 18, 20, 21, 23, 24, 26, 28, 30 and 32 px at the default floor), so siblings sized jointly lose at most half a step of the size they fit (six FAQ pairs that fit 24 px drew at 21, now 23); it is a guarded rule (`half-steps`), kept only where no block reads smaller, and every choice between arrangements (rule sets, step badges, tracks, LH-83's recomposition at the floor) counts a block on a half step at the step under it, so half a step never changes which arrangement wins. New `composition.maxFontSize` (reference pixels, 8 to 200, inherited like `minFontSize`) caps paragraphs, lists (a list in columns keeps the columns its role size chooses), quotes, metrics and timelines, their growth included, never under `minFontSize`: no block grows past it and a block composed larger is laid out again in its own place at the cap; `paginate` (and the export's `continueOverfull`) writes it on every page after the first, set to the largest size the first page draws for the kinds of block the page holds, so a last page with a lone timeline or a short list no longer reads larger than the pages before it. Line breaking keeps a ratio whole (a figure, a slash and a figure: "4.6 / 5", "3/4"), in measurement, preview, table cells and the PPTX export's no-break spaces, and a metric value written so is one figure. `opf/text-contrast` judges a metric value in the color the engines draw (`metricValueColor` on its card or slide), so a value lifted to the light text color on a dark card no longer reports 2.73:1.
|
|
39
|
+
Drawing change (existing records that draw differently or are gone): `layouts:agenda`, `layouts:agenda-split`, `layouts:text`, `layouts:list`, `layouts:pillars`, `layouts:comparison`, `layouts:timeline`, `layouts:metrics`, `layouts:image-beside`, `layouts:chart`, `layouts:chart-beside`, `layouts:table`, `layouts:table-beside`, `layouts:code`, `layouts:hero`, `layouts:process`, `layouts:faq`.
|
|
40
|
+
- LH-41 (output-changing for every timeline): timelines draw as compact horizontal bands, as Claude Design does. A timeline whose `when` and `what` labels fit their event spacing is one band (`arrangement: "band"`): each `when` an eyebrow above its marker, the `what` and description below; labels alternate above and below, now up to two spacings wide, only when one is wider than its spacing. `TimelineLayout.bounds` gives what the timeline covers, and composition measures a timeline's height with it, label bands included, instead of a fixed 170 px, so a stack never squeezes it under its labels. Several timelines in one template region (the timeline layout, the process layout) are a stack of bands one gap apart, in one column while it fits at the readability floor and otherwise two columns, every band at one size and never a vertical rail; with four or more they are compact (`compact`: smaller role sizes, `when` and `what` on one row). The timeline layout's `timeline` region now flows as a column, so a second or third timeline joins the first instead of being drawn below the notes, and the notes come after the bands. A lone timeline in its region grows its type by up to 4 reference px when it still fits. New `layoutTimeline` options: `horizontal`, `compact`, `inlineHeader` and `sizeOffset`.
|
|
41
|
+
Drawing change (existing records that draw differently or are gone): `layouts:timeline`.
|
|
42
|
+
- LH-42, LH-77, LH-85 (output-changing for slides with several lists, a one-entry described list or a nested list): lists stay whole. `listColumns: "auto"` (and a list payload's `columns: "auto"`) never deals a list of 6 or fewer entries across columns (`LIST_WHOLE_ENTRIES`), so "Queue | Route | Resolve" no longer reads as a table row. A region that receives 2 or more lists and nothing else lays them out one list per cell, a card when the slide draws cards, in a grid of 2 to 4 columns for 2 to 4 lists, 3 for a multiple of 3, otherwise 4 (`listGridShape`; narrower and portrait regions take fewer columns); each row is as tall as its tallest list needs with descriptions and nested entries counted, at the largest size at which every row fits, and the region's lists share that size, so a list no longer draws over the next row. A list of exactly one entry with a description (and no numbering) draws as a heading: the entry bold at `LIST_HEADING_SCALE` (1.25) times the list size with no bullet, over its description at the list size (`ListFitOptions.heading`, `ListEntryLayout.heading`); the PPTX export records the bold heading as the list's own look, so import returns the plain entry. The bullets now alternate • and an en dash by level (`LIST_MARKERS`, as PowerPoint's default levels do) instead of •, ◦ and ▪, which most bundled faces (Roboto, Open Sans, Montserrat, Lora, Poppins and others) lack and the preview drew as a missing-glyph box; the PPTX export writes the same characters. The stacked-column measure of a described list no longer counts it one size step too tall below the description floor. The gallery's list, agenda, agenda-split and faq layouts draw these changes.
|
|
43
|
+
Drawing change (existing records that draw differently or are gone): `layouts:list`, `layouts:agenda`, `layouts:agenda-split`, `layouts:faq`.
|
|
44
|
+
- LH-52, LH-71 and LH-86 (layout harvest; output-changing for automatic slides of two or three blocks that leave the body half empty, and for layout slides of two or three long paragraphs in cards side by side). A split is two or three blocks (no group, no caption) at the root of the body, and its fill is the share of the body they draw: the ink of text, lists, quotes, metrics and code; a table at most its natural width by the height of its rows; a timeline at its needed height; a picture or video at its frame; a chart in the largest 4:3 box of its cell. LH-52: a split that fills under 55% of the body no longer reads as a strip along the top. In a row (any mode), a code panel takes its whole cell with its code in the middle, other measured blocks sit in the middle of their cells (a card still fills its cell), and pictures, videos and charts are centered. In a column, the measured blocks keep their needed heights (a table no longer pushes its neighbor to the foot of the body) and the stack is centered. No block changes size. LH-71: in `auto` mode with no `columns` or `weights`, a split tries one row and one column besides the scored grid and keeps whichever fills the most, under three conditions. A row must give each block at least 120 px of width, a column must give each picture, chart and video at least 120 px of height, neither may overflow more, and neither may set its blocks smaller unless it removes an overflow. A table that wraps in a row now goes full width above its text, and texts alone keep their row. The explanation records the choice as the new decision reason `split-fill`. Explicit `row`, `column` and `grid` compositions are kept. LH-86: on a slide that draws cards, two or three paragraphs of at least 80 characters that a layout drew side by side (in regions of one row, or in one region's grid) are drawn one card per row, across the row. Every paragraph moves to the row's first region and the others collapse into it. A stacked column of long-text cards shares the region's height at the largest type-scale size where every row fits, with the gap closing to half when that sets the text larger, and each text centered in its card. When the texts would fill under 45% of the height, the cards hug their text and the stack is centered. The rows are kept only when their smallest body size is at least the side-by-side one, or they overflow less. Of the 360 composition goldens, 10 moved (two-column, three-column and pillars with 2, 3, 5 or 6 long blocks) and none gained a finding. Across the 844 corpus slides, 136 changed, findings stay at 539, no slide gained one, every block is still drawn, and no slide's smallest body size went down (none went up).
|
|
45
|
+
Drawing change (existing records that draw differently or are gone): `layouts:two-column`, `layouts:three-column`, `layouts:pillars`.
|
|
46
|
+
- LH-58, LH-82, LH-73, LH-46, LH-47 (output-changing, layout harvest): composition groups a slide's blocks before it places a cell (`groupBinding`, `repeatedPairs`, `majorityKind` on `/composition`; rules over kinds, counts and text lengths, never a layout id). A sequence that repeats a pair (metric, chart, table, picture, video or code with a paragraph, or a long and a short paragraph) is one cell per pair, the pair side by side or stacked as its cell allows. A flowing region that is mostly one kind keeps only that kind: the other blocks it took as the overflow region join the region that accepts them (the note of `metrics` and `chart`) in one row under the grid, at most 30% of the content box, or the row below the grid; with no layout, interleaved kinds with unequal counts are a majority grid above a row of the others. A block that went below the grid joins the region that accepts it: a `flow: none` region takes up to 6 (no `layout-unplaced`), the side-by-side columns of `comparison` and `two-column` become one region of N cells in reading order, a lone fixed region sets pictures as a row or a lead plus mosaic (cover-cropped unless the block, slide, deck or theme sets a fit) and text as a lead over cards; a flowing region takes up to 12 beyond its `max` (still `layout-unplaced`). Grids have balanced rows (9 as 3 x 3, 10 as 4 + 3 + 3, `gridFlowShape`) and the cells of a short row stretch to the full width, except in a grid of pictures, whose cells keep one aspect. The layout records are unchanged; slides with more blocks than their regions' places, and grids of 5 or 7 to 12, draw differently.
|
|
47
|
+
Drawing change (existing records that draw differently or are gone): `layouts:cover`, `layouts:section`, `layouts:statement`, `layouts:closing`, `layouts:text`, `layouts:quote`, `layouts:two-column`, `layouts:three-column`, `layouts:pillars`, `layouts:comparison`, `layouts:metrics`, `layouts:scorecard`, `layouts:image`, `layouts:image-beside`, `layouts:chart`, `layouts:chart-beside`, `layouts:table`, `layouts:table-beside`, `layouts:code`, `layouts:hero`, `layouts:gallery`, `layouts:team`, `layouts:logos`.
|
|
48
|
+
- LH-64 and LH-04, content cards in template regions: a row of cards (a grid row of one region, or the lone blocks of regions side by side) no longer always fills its cell. In a `middle` or `bottom` region, a row of body text only (paragraphs and plain lists; a picture, metric or labeled list item keeps the foot anchor of LH-22) hugs its tallest text with one card height and centers in the region when that text fills under 45% of a filled card, and starts every text at the card's top when the texts are longer and more than 1.5x apart in height. In a `top` region, cards of measured blocks hug the tallest of their row, so an auto row of cards (the implicit row of extra blocks) is no longer trimmed by the half-gap card offset and its text keeps the starting size. Pillars, two-column and three-column slides of short text draw a centered row of hugging cards instead of tall cards with the text at their foot; comparison stays without cards, since its dense options would fall under 20 px on cards.
|
|
49
|
+
Drawing change (existing records that draw differently or are gone): `layouts:pillars`, `layouts:two-column`, `layouts:three-column`.
|
|
50
|
+
- LH-87 (output-changing for the ten schemes below): the color schemes now pass the contrast line of the review checklist in `docs/default-catalog.md`. `accent1` reaches 3:1 against both `light1` and `dark1` (golden-yellow, pastel-red, burnt-orange, black-and-white, slate-gray were lighter; deep-purple, vibes, bold-red darker than that on the dark variant), no accent is under 1.5:1 against either (forest-green and burnt-orange `accent5`, corporate-blue `accent5`, bold-red and golden-yellow `accent6`, black-and-white and slate-gray `accent6`, pastel-red `accent3`), and `light2` is at least 1.05:1 from `light1` (black-and-white, burnt-orange, golden-yellow). Each slot keeps its hue and moves only in lightness (and, for the pale tints, chroma); golden-yellow `accent2` (teal) is lightened so it stays apart from the darker gold `accent1`. The Bold theme follows its burnt-orange scheme.
|
|
51
|
+
Drawing change (existing records that draw differently or are gone): `colorSchemes:black-and-white`, `colorSchemes:bold-red`, `colorSchemes:burnt-orange`, `colorSchemes:corporate-blue`, `colorSchemes:deep-purple`, `colorSchemes:forest-green`, `colorSchemes:golden-yellow`, `colorSchemes:pastel-red`, `colorSchemes:slate-gray`, `colorSchemes:vibes`, `themes:bold`.
|
|
52
|
+
|
|
53
|
+
## 0.31.0 (2026-11-02)
|
|
54
|
+
|
|
55
|
+
No package changes; released with the set.
|
|
56
|
+
|
|
5
57
|
## 0.30.0 (2026-11-02)
|
|
6
58
|
|
|
7
59
|
No package changes; released with the set.
|