@openpresentation/gallery 2.0.0 → 3.0.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 +9 -0
- package/README.md +14 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/previews.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 3.0.0 (2026-10-13)
|
|
6
|
+
|
|
7
|
+
- Canonicalize the bootstrap temporary root on macOS before strict artifact checks, so the system `/var` alias does not reject valid merged-source builds. Source-child symlinks remain rejected; release metadata and runtime bytes are unchanged.
|
|
8
|
+
|
|
9
|
+
- **Breaking catalog contract:** layout `areas` now use arrays of cells instead of whitespace-delimited row strings. `CATALOG_SCHEMA` and `opf.catalogSchema` advance to `3`; consumers must support array-row areas. Layout IDs, per-layout schema version `2` and `opf-layout/v2` remain unchanged.
|
|
10
|
+
- Gallery 3 build tooling requires exact core and renderer commits that are ancestors of their actual remote default branches. The one-release bootstrap stages development tarballs, verifies shared core/catalog resolution and unchanged release manifests, and retains artifact identities; its commands also run portably on Windows. Qualification uses the actual merged core and renderer commits. This tooling does not qualify published engine metadata or establish native acceptance.
|
|
11
|
+
- **Breaking visual defaults:** center compact quote and headline-metric regions and image-side explanations; keep dense text, lists, charts and tables top-aligned. FAQ, process, dashboard, pillars, comparison and scorecard layouts no longer add decorative content boxes by default. Existing layout IDs are preserved. These appearance changes require gallery 3 under the pixel-stability policy; record schema remains v2.
|
|
12
|
+
- Picker previews now use authored, explicitly illustrative examples with distinct measures and units, number formats, actual questions and answers, ordered process steps and named responsibilities. Exhaustive stability fixtures remain separate and unchanged.
|
|
13
|
+
|
|
5
14
|
## 2.0.0 (2026-10-11)
|
|
6
15
|
|
|
7
16
|
- **Breaking: replace the 278 placeholder layouts of 1.x with 28 OPF 0.19 intent layouts.** Records now use `opf-layout/v2` grid templates with `areas`, `columns`, `rows` and typed content regions; `CATALOG_SCHEMA` and `opf.catalogSchema` are `2`. Consumers require `@openpresentation/opf` 0.19 or later. There are no v1 aliases or migration APIs. Six old ids remain with new template semantics: `agenda`, `comparison`, `dashboard`, `faq`, `timeline` and `two-column`. Other old ids no longer resolve in this catalog. Boxed treatment, direction, alignment, image fit and item images are design settings rather than layout variants.
|
package/README.md
CHANGED
|
@@ -9,10 +9,15 @@ It holds every layout, theme, colour scheme, font scheme, narrative, audience, p
|
|
|
9
9
|
never fetch records: a host registers the catalogs it trusts, and this package is the catalog every OPF host registers by
|
|
10
10
|
default.
|
|
11
11
|
|
|
12
|
-
**2.x is the catalog of OPF 0.19
|
|
13
|
-
templates (`opf-layout/v2`);
|
|
12
|
+
**2.x is the catalog of OPF 0.19.** Its layouts are the 28 OPF 0.19 layouts named by intent, written as grid
|
|
13
|
+
templates (`opf-layout/v2`); their compatibility contract targets `@openpresentation/opf` 0.19. 1.x holds the 278 OPF 0.18 layouts. 2.0.0
|
|
14
14
|
changed the layouts with no migration path: see [Layouts](#layouts) and the [changelog](CHANGELOG.md).
|
|
15
15
|
|
|
16
|
+
Gallery 3.x advances the overall catalog compatibility contract to `3` and requires the upcoming OPF 0.20
|
|
17
|
+
engine contract. The engine packages follow their separate release process. Layout grid
|
|
18
|
+
`areas` use arrays of cells instead of whitespace-delimited strings. The per-kind layout schema version remains
|
|
19
|
+
`2` and its URI remains `opf-layout/v2`; those identifiers are distinct from the overall catalog contract.
|
|
20
|
+
|
|
16
21
|
## Use
|
|
17
22
|
|
|
18
23
|
```sh
|
|
@@ -37,7 +42,7 @@ registers later.
|
|
|
37
42
|
| --- | --- |
|
|
38
43
|
| `gallery` | The content records by kind and then by id, without `$schema`, `id` or `x-*` members, with `source: "https://www.pptx.gallery"` |
|
|
39
44
|
| `GALLERY_SOURCE` | `https://www.pptx.gallery`, the `source` of a document's `catalogs.default` |
|
|
40
|
-
| `CATALOG_SCHEMA` | The
|
|
45
|
+
| `CATALOG_SCHEMA` | The overall catalog compatibility contract (also `opf.catalogSchema` in `package.json`): `3` requires array-row areas; layouts retain per-kind schema version `2` and `opf-layout/v2` |
|
|
41
46
|
| `catalogDisplay` | Display metadata for pickers: `chartTypes`, `languages` and `socialPlatforms` by id |
|
|
42
47
|
| `catalogIndexes` | Each kind's `index.json`: the record summaries and their content hash (a layout's entry also has its `summary` and `group`) |
|
|
43
48
|
| `catalogManifest` | The pptx.gallery commit the 1.x records were taken from, and a content hash per kind |
|
|
@@ -143,3 +148,9 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for the checks, releases and the license.
|
|
|
143
148
|
## License
|
|
144
149
|
|
|
145
150
|
[MIT](LICENSE). The records, the previews and the code are all under it; `npm run check:license` checks it.
|
|
151
|
+
|
|
152
|
+
### Editorial layout defaults
|
|
153
|
+
|
|
154
|
+
Compact quote, headline-metric and image-side explanation regions opt into `anchor: "middle"`. Long text, lists and analytical views retain top alignment. A pin still selects a named region; its anchor governs content placement within that region. Centering needs a core engine that measures the content kind; older engines may keep unsupported kinds at the top. Explicit deck and slide design continues to override catalog defaults.
|
|
155
|
+
|
|
156
|
+
Picker examples in `scripts/editorial-previews.mjs` use fictional content and are separate from the unchanged filled/empty stability fixtures. Numeric examples supply units and explicit precision; FAQ previews pair questions with answers, and process previews show ordered actions.
|
package/dist/index.d.ts
CHANGED
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
export declare const GALLERY_SOURCE: "https://www.pptx.gallery";
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
* The version of core's catalog record
|
|
15
|
-
*
|
|
14
|
+
* The version of core's catalog record compatibility contract these records target (package.json `opf.catalogSchema`). 3 requires
|
|
15
|
+
* array rows in layout grid areas. Per-kind layout schemaVersion 2 and `opf-layout/v2` remain unchanged.
|
|
16
16
|
*/
|
|
17
|
-
export declare const CATALOG_SCHEMA:
|
|
17
|
+
export declare const CATALOG_SCHEMA: 3;
|
|
18
18
|
|
|
19
19
|
/** Records of one kind, keyed by id (core's `CatalogRecordMap`). */
|
|
20
20
|
export type GalleryRecords = Readonly<Record<string, Readonly<Record<string, unknown>>>>;
|