@openpresentation/gallery 0.32.1 → 0.33.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 CHANGED
@@ -2,6 +2,27 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.33.0 (2026-11-08)
6
+
7
+ - LH-14: icons. An optional `icon` on a list entry (`items[].icon`), a metric (`metric.icon`) and a group (`icon` on a block with `blocks`) draws an icon on a chip, as Claude Design draws a feature list or a "what we will cover" card: in the marker column of a list (in place of the bullet, and of an agenda's numbered badges), above a metric, at the top start of a group. The value is `"<set>:<name>"` (`"lucide:truck"`), a bare name from the deck's new top-level `icons` map (an author's or an LLM's own SVG, written once), or an SVG source (`asset:<id>`, a relative path, an HTTPS URL or a data URI). Icon sets are a new catalog kind (`spec/schemas/icon-set.schema.json`, `catalogs.<group>.iconSets`): `@openpresentation/gallery` bundles Lucide (ISC, `lucide-static` 1.68.0) as the default set and Tabler outline (MIT, `@tabler/icons` 3.50.0), generated by `scripts/build-icon-sets.mjs`, with their licenses in each record and in the new `THIRD-PARTY-NOTICES.md`; the new entry `@openpresentation/gallery/icon-sets` exports `galleryIconSets`, a catalog to register beside `gallery` (`catalogs: [gallery, galleryIconSets]`) whose loaders import each set (`@openpresentation/gallery/icon-sets/<id>`) only when a deck uses it, so `gallery` itself carries no icon data; `ensureIcons(deck, { catalogs })` (core) loads what a deck names before the synchronous code reads it (`toPptx`, the renderer's browser `ensure`, core's `convert`, `opf validate` and the MCP call it; core's Node defaults, the CLI and the MCP register `galleryIconSets`). An SVG is read, never run: one paint makes a recolorable glyph (path commands in a 24 unit box), several a picture with its own colors; a script, event handler, external reference or raster refuses it. The chip is a light tint of the primary with the glyph in the primary (the inverse on a dark slide); it is a guarded drawing rule of composition (`icons` with compact chips a line high, `icon-chips` with chips 1.75 em across), so an icon never sets text smaller: a slide without room draws no chips. The preview draws SVG paths; the PowerPoint export draws a native ellipse and editable custom geometries in the theme's accent (`a:schemeClr val="accent1"`, the chip with lumMod/lumOff), so the icon recolors with the theme, and a multicolor icon as an SVG picture with its PNG fallback; import gives each `icon` back (OPF_ICON_V1 tags; the `icons` map travels in the document provenance). New findings `opf/icon-unknown` (with the nearest names), `opf/icon-invalid` and `opf/icon-dropped`; the MCP has a `search_icons` tool. New core exports: `ensureIcons`, `resolveIcon`, `parseIconReference`, `embedIcons`, `iconColors`, `iconFromSvg`, `iconPathCommands`, `iconPathData`, `placeIconCommands` (`/composition`), `SlideComposition.icons` and `ListEntryLayout.icon`. See docs/icons.md. Slides without icons compose and draw as before.
8
+ - SH-09: pyramids and matrices, written to PowerPoint as live SmartArt. A layout region's new `arrangement` (`"pyramid"` or `"matrix"`) draws its lone list of one level as a diagram, in the first design that holds every entry at one text size, the list's role size or larger, never smaller: PowerPoint's own geometry (Basic Pyramid of 1 to 8 levels, the first at the top; Basic Matrix of exactly four quadrants over a diamond), else OPF's own design of the arrangement (a stepped pyramid with each entry beside its level, or four quadrants filling the region). A matrix of other than four entries draws a grid of cards, and a list no design holds (or with nested entries, descriptions, icons or numbering) stays a list; both report the new info finding `opf/arrangement-adapted`. The gallery adds the `pyramid` and `matrix` layouts (32 layouts). Core exports the geometry and paint (`pyramidNodes`, `matrixNodes`, `pyramidSteps`, `matrixQuadrants`, `cardNodes`, `arrangementPaint`) and the domain PowerPoint was compared on (`SMART_ART_DOMAIN`, `smartArtUnavailable`); the preview draws the nodes under the entries. The PPTX export writes PowerPoint's design as live SmartArt where the instance lies in that domain: a `p:graphicFrame` with OPF's data model (explicit run sizes with `custT`, so PowerPoint keeps them), OPF's own colors and quick style parts, a drawing from core's geometry and no layout part (`r:lo` empty: OPF never writes a SmartArt layout definition); everything else, and everything with `smartArt: "shapes"` (CLI `--smart-art shapes`), is native `trapezoid`, `roundRect` and `diamond` shapes under the measured lines, with the info finding `pptx/smartart-unavailable` and its reason where live SmartArt was not written. Import reads an unchanged OPF SmartArt (`OPF_SMARTART_V1`) back as its list on its layout, and an edited one or a PowerPoint-authored Basic Pyramid or Basic Matrix from its data model (the nodes in `cxn` order with their run properties). See `docs/smartart.md`.
9
+ - SH-17: three more diagram layouts, `chevrons` (a row of chevrons), `flow` (boxes joined by arrows in a row) and `vertical-flow` (the same as a column beside the title), each a region's new `arrangement` value of the same name for one list of 1 to 8 stages or steps in order. Where it holds the entries they draw PowerPoint's own geometry for its Basic Chevron Process, Basic Process and Vertical Process SmartArt, measured through COM and fitted in core (`SMART_ART_SCALES`: PowerPoint sizes a node by the last step of a binary search, a share of the frame that depends only on the node count, so core matches every measured frame within 0.0001 pt), and the PPTX export writes them as live SmartArt (`chevron1`, `process1`, `process2`) with SH-16's fallback picture, inside the domain the COM sweep passed: Latin text, 1 to 6 chevrons or boxes in a row at 1.1 to 2.3 : 1, 1 to 4 boxes in a column at 0.55 to 1.2 : 1, at most two lines an entry, no entry filling more than 95% of its node's height, and the text covering at most 8% of the frame. Elsewhere OPF draws its own design, as native shapes in both engines, in PowerPoint's proportions (its arrows, rooms and least node heights): the text at the largest size every node holds (up to 1.5 times the role size, never below it), each node as tall as that text needs, centered; in one to four rows (a vertical flow: columns) when that holds the text larger, every row spanning the region, a flow's rows snaking with a down arrow from one row's end to the next (a vertical flow's columns with a right arrow), a row of chevrons breaking after a point; a right-to-left deck mirrors it. The arrows are the primary lightened 40%. Import reads OPF's frame, the fallback picture alone, native shapes and a PowerPoint-authored Basic Chevron Process, Basic Process or Vertical Process back to the same layout and list, from the data model only. See `docs/smartart.md`. Two or more list blocks in such a region draw as the entries, as SH-18 draws them for cycles: cards of OPF's chevrons or boxes with the arrows between them, one size, the markers kept, a card grid where they do not fit (`opf/arrangement-adapted`).
10
+ - SH-18: cycles, written to PowerPoint as live Basic Cycle SmartArt. A layout region's `arrangement` takes `"cycle"`, and the gallery adds the `cycle` layout (33 layouts): its lone list of 1 to 8 entries draws as the steps of a loop, each a node on a ring with an arrow to the next, in the first design that holds every entry at one size, the list's role size or larger, never smaller. PowerPoint's design is its Basic Cycle (`cycle2`), measured through COM: OPF gives the SmartArt frame the cycle's own proportion (1.8 : 1 for two entries, 1.15 : 1 otherwise), at which PowerPoint's layout is exactly proportional to the frame, and reproduces its circles (`ellipse`) and turned `rightArrow` arrows from the frame's width (core `cycleFrame`, `cycleNodes`, `CYCLE_DIAMETER`, `CYCLE_RADIUS`; every circle and arrow within 0.0001 pt). Where the circles do not hold the entries OPF draws its own cycle, the larger-text of a ring of rounded rectangles filling the region and a loop of two or three rows with a node on every place of its edge (a row of fewer nodes widens them, so no place is ever empty; `cycleRing`, `cycleLoop`), with the same arrows; a cycle of more than 8 entries, or one no design holds, stays a list with `opf/arrangement-adapted`. Such a list (of a pyramid, matrix or cycle region alike) now fills the region: the largest size up to 1.5 times the role size at which the whole list fits, in the middle of the region's height, where before it kept the role size at the top of the region. The arrows are the primary lightened 40% (`arrangementPaint().arrow`), and a right-to-left deck's cycle runs counterclockwise. The PPTX export writes PowerPoint's design as live SmartArt (with SH-16's fallback picture) for Latin, left-to-right entries of at most two lines each; everything else is native shapes with `pptx/smartart-unavailable`. Import reads an OPF cycle back from its `mc:Choice`, its fallback picture alone or its native shapes, and a PowerPoint-authored Basic Cycle from its data model, never storing a layout part. See `docs/smartart.md`. A region of two or more list blocks draws each block as an entry with its list inside, the same for every count: a cycle's on cards on the ring or a loop with arrows, a matrix's on a grid of cards, a pyramid's beside its stepped levels, at one size that grows from the role size; where they do not fit, a grid of cards with `opf/arrangement-adapted` (before, the blocks were bare lists placed in the region).
11
+ - The package READMEs of core, the CLI and the gallery gain a short section on shapes, icons, live SmartArt layouts and native Mermaid diagrams, and the gallery README documents the `@openpresentation/gallery/icon-sets` export (American spelling throughout). A new technical example, `icons-and-arrangements` (`opf create --example icons-and-arrangements`), draws icons from the Lucide and Tabler sets, the pyramid, matrix, cycle, chevrons, flow and vertical-flow layouts, and shapes joined by connectors. The opf-export skill describes the live slide-number field default (Header & Footer) correctly, and the opf-author and opf-inspect skills tell an agent to use the MCP server's `show_deck` to show a deck.
12
+ - LH-09, LH-69 (output-changing): statements and short bodies draw at display size, as Claude Design draws them. The `statement` layout is start-aligned with LH-130's accent rule over its title. A statement whose title is a sentence over a paragraph draws the title at display size (up to 75 px) under the rule, the paragraph at its size below; a statement whose block is a metric, or a text under a short label title, keeps the title as a running head at the top and grows the block as a lone block (n28's "14 months" from 76 to 232 px). A lone text of at most 25 words (`messageWords`, any script) grows on in the body face, its lines balanced, up to 56 px (`MESSAGE_DISPLAY_SIZE`; 75 px for 4 words or fewer) in at most 4 lines; the words the author set bold in it draw in the primary color where that reads 4.5:1 (the document is unchanged), and nothing else is emphasized. A text that cites a source or carries a footnote stays body text. A lone one-entry list whose entry is a short label draws it as a display word over a short accent rule (`ListFitOptions.displayRule`), and a placed region's short plain text draws as a heading in the heading face, bold. All of it is inside the size guard (the guarded rules `statement-message` and `display-message`): over the 976 sweep slides no block is smaller and no finding is added. Cover, section, closing and quote keep LH-129's and LH-130's treatment.
13
+ Drawing change (existing records that draw differently or are gone): `layouts:statement`.
14
+ - LH-155, LH-138 (caption half): the gallery `closing` takes the cover's treatment, as Claude Design draws a closing: its stack (the display title, then the contact lines) is start-aligned and anchored at the foot of the slide (`anchor: "bottom"` on the record) under the accent rule (`rule: true` on its `title` region), where it was centered. A stack anchored low over a picture background goes where the measured picture lets it read, by the scores LH-158 gives a cover's heading group (the foot of the slide where the picture is calm there, else the top or the middle), and is centered over an unmeasured one, as before. The title rule is a guarded rule (`title-rule`): where the slide has no room to spare, so that the rule would set the contact lines smaller, the slide has no rule, which the size guard requires and a cover or section (no body) never meets. LH-138: a picture's caption that is one plain string with a colon and a space after one to six words and a detail after it ("Before: loose boxes, tape and paper") draws the words up to the first colon in bold, the detail in the regular weight, in the preview and the PowerPoint export; `TextRun[]` captions, colons inside words and chart, table, video and diagram captions stay as written. Contact icons and a one-row contact line are not part of this change.
15
+ Drawing change (existing records that draw differently or are gone): `layouts:closing`.
16
+ - LH-164, LH-163 (output-changing): a slide whose whole body is one display message draws on the accent surface, as Claude Design draws a statement or a one-sentence slide. The body is one message when it is LH-09's `statement-message` (a text in the `statement` record) or `display-message` (a lone text of at most 25 words, in any script, with no citation, footnote or subtitle, in a layout of one body region and no picture area); a metric, a quote and any slide with a second block keep the plain surface. The surface is `accent1` in the deck's accent order, taken in the place of a layout variant under the same conditions (the slide's own `design` sets no variant or background and the deck and theme draw no fixed background), only where composition really draws the message at display size (a deck whose texts sit on cards keeps its body text), the deck is not a deliberately dark one (a deck or theme record that sets a dark background or variant keeps it), and the theme's accent carries the text at 4.5:1, differs from the deck's own surface and is calm enough to fill a slide (CIELCh L* at most 60 and C* at most 80; a loud accent such as `boost` or `corporate-blue` keeps the plain surface and is never recolored); a layout that names its own variant (`section`, `closing`) keeps it and the statement's `surface` gives way. A deck never shows two accent surfaces on consecutive slides (judged by whether the slide before actually took a message surface, or is on a layout's accent or its own accent variant), so the second keeps the plain surface and a run of message slides alternates. `resolveSlideContext(...).resolved.messageSurface` `{ kind, variant }` is the reason (`layoutVariant` and `roles` follow it, so the preview, the PowerPoint export with its `clrMapOvr`, the validator and the editor read it as they read a layout's variant), and `composeSlide` echoes it as `SlideComposition.surface`. A color the author set on a run of the message that does not read on the surface draws in the nearest one that does, and an image watermark draws in the slide's text color (a one-color duotone in the PowerPoint export). LH-163: in a display message on a dark or accent surface, the bold words draw in a lighter tint of the primary that reads 4.5:1 there (hue and saturation kept) where the primary itself does not. The PowerPoint import drops the `variant` that the surface implies, so a round trip adds nothing to the document.
17
+ Drawing change (existing records that draw differently or are gone): `layouts:statement`, `layouts:text`.
18
+ - LH-168 (output-changing): steps that wrap draw as a stepper in every language. A `process` layout of numbered steps (and any `steps` region) drew "1. Kickoff" columns in English and the stepper in Arabic: the step badges' guard compared each list's base size, which is the label's in the columns (37 px, the description at 0.82 of it) and the description's beside a badge (32 px, the label at 1.25 of it), so a stepper that sets every line larger (32 over 30 px) read as smaller and lost wherever the descriptions wrapped, and won only where short text let the columns grow no further. The guard now also accepts steps whose smallest drawn size (each list's label and description sizes) is no smaller, still with LH-149's half-step discount; a slide that kept its badges keeps them. A row of steps that fills half the body or more keeps its size and is centered under the title as the columns are. Steps that would really draw smaller under their badges (six steps of long descriptions) keep the columns. Narrative n09 and n10 now match n11 and Claude Design.
19
+ Drawing change (existing records that draw differently or are gone): `layouts:process`.
20
+ - LH-187 (output-changing for a team of five or six people with side portraits): each person's card now takes its whole cell, so the rows fill the body as four people with portraits across the top already do. The picture and the text sit in the middle of the card. The portrait grows with the card, up to `PORTRAIT_SIDE_FILL` (0.6) tall for its width, and the text keeps its size. Narrative n23 now fills its two rows.
21
+ Drawing change (existing records that draw differently or are gone): `layouts:team`.
22
+ - LH wave 8 and shapes phase 1 integration (output-changing where the features meet). Shape blocks draw their effects: the preview wraps a shape's outline and its text in SH-03's SVG filters (the outer shadow and the reflection include the text, as PowerPoint's do) and the PowerPoint export writes SH-03's `a:effectLst` in the shape's `p:spPr` right after its line, with `{ color, lighten }` and `{ color, darken }` effect colors as theme colors with `a:lumMod` and `a:lumOff` and every length at the slide's scale (`ComposedShape.effectScale`); `examples/technical/shape-effects.opf.json` shows every effect and shadow preset. Every wave 8 composition rule (`heading-tracks`, `run-in`, `figure-row`, `note-band`, `icon-cards`, `text-tiles`, the stepper's drawn-size comparison and the message surface's display check) runs inside the one size guard of `composeSlide`, with LH-149's half-step discount. A figure-led list whose entries carry icons is LH-169's row of figures first and takes LH-165's icon cards where no text then reads smaller (the larger text wins, the cards on a tie; a numbered step's icon is still not drawn). The cards of a row share their label track, so a row's descriptions start on one line (LH-18). A band's text that opens with a short "Label:" draws the label bold inside the band, as n18's "Recommendation:" (LH-63 with LH-170). On the message surface, a run color written as `{ color, lighten }` or `{ color, darken }` is held to 4.5:1 as any other ColorRef is (LH-164 with SH-02). A mixed card on a dark or accent slide stops mixing towards the text where the text would read under 4.5:1 on it (`CARD_TEXT_MIN_CONTRAST`): on an accent slide (the section layout, an accent variant) icon cards, text tiles and the section's cards draw a little closer to the surface and their text reads 4.5:1. The engines and icon sets that load on demand (`ensureDiagrams`, `ensureShapes`, `ensureIcons`) share one preload, documented once in `docs/how-opf-works.md`. The image stroke's composed field and the opf-layout skill say `stroke`, not `border`.
23
+ Drawing change (existing records that draw differently or are gone): `layouts:closing`, `layouts:comparison`, `layouts:metrics`, `layouts:pillars`, `layouts:section`.
24
+ - RR-103: no third-party API names in OPF. The chart-type records no longer carry a `mappings.renderers` entry naming a vendor API (the `renderers` field stays in the schema as opaque renderer metadata), the schema descriptions define the supported chart types as those OPF renders and exports natively, and the PPTX chart table drops its vendor field. Chart types, records and exports are unchanged.
25
+
5
26
  ## 0.32.1 (2026-11-05)
6
27
 
7
28
  No package changes; released with the set.
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # gallery
2
2
 
3
- The default catalog for Open Presentation: layouts, themes, colour schemes and font schemes for OPF decks, published as
3
+ The default catalog for Open Presentation: layouts, themes, color schemes and font schemes for OPF decks, published as
4
4
  [`@openpresentation/gallery`](https://www.npmjs.com/package/@openpresentation/gallery) and previewed at
5
5
  [pptx.gallery](https://www.pptx.gallery).
6
6
 
7
- It holds every layout, theme, colour scheme, font scheme, narrative, audience, purpose and tone that
7
+ It holds every layout, theme, color scheme, font scheme, narrative, audience, purpose and tone that
8
8
  [OPF](https://openpresentation.org) decks name by id (`layout: "pillars"`, `design: { theme: "minimal" }`). Engines
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.
@@ -15,7 +15,7 @@ default.
15
15
 
16
16
  Gallery 5.x advances the overall catalog compatibility contract to `4`: a layout record is `direction` and one ordered
17
17
  list of `regions`, nested for two dimensions, and `areas`, `columns`, `rows` and the `regions` map are gone (FA-33, no
18
- migration path). The engine packages follow their separate release process. The per-kind layout schema version remains
18
+ migration path). Those versions predate the shared OPF release line. The per-kind layout schema version remains
19
19
  `2` and its URI remains `opf-layout/v2`; those identifiers are distinct from the overall catalog contract.
20
20
 
21
21
  ## Use
@@ -53,6 +53,19 @@ content in every region by the pinned `@openpresentation/opf-render`, a self-con
53
53
  package has no dependency, not even for its types: `GalleryCatalog` has the shape of core's `Catalog`, so `gallery` is
54
54
  assignable to it.
55
55
 
56
+ ## Icon sets
57
+
58
+ `@openpresentation/gallery/icon-sets` exports `galleryIconSets`, a catalog of two icon sets that decks name as `<set>:<name>` in an `icon` field: `lucide:truck` ([Lucide](https://lucide.dev), ISC, 2,020 icons, the default set) and `tabler:rocket` ([Tabler outline](https://tabler.io/icons), MIT, 5,203 icons). Each set is a module of its own (`@openpresentation/gallery/icon-sets/<id>`), so a host loads only the sets a deck uses. Register it beside `gallery`:
59
+
60
+ ```js
61
+ import { gallery } from "@openpresentation/gallery";
62
+ import { galleryIconSets } from "@openpresentation/gallery/icon-sets";
63
+
64
+ const catalogs = [gallery, galleryIconSets];
65
+ ```
66
+
67
+ The licenses are in `THIRD-PARTY-NOTICES.md`. See [icons](https://github.com/OpenPresentation/opf/blob/main/docs/icons.md).
68
+
56
69
  ## Layouts
57
70
 
58
71
  A slide names a layout by intent; its content flows into the layout's regions, so no layout fixes a block count.
@@ -81,6 +94,12 @@ automatically. A deck's own layouts are records of the same schema under `catalo
81
94
  | `process` | Steps in order, in one row. |
82
95
  | `timeline` | Dated events or a roadmap along one axis, with optional notes. |
83
96
  | `faq` | Questions with their answers. |
97
+ | `pyramid` | Levels that build on each other, as a pyramid, the first at the top. |
98
+ | `matrix` | Four parts of a whole, as the quadrants of a square beside the title. |
99
+ | `cycle` | Steps that repeat, as a loop of nodes with arrows beside the title. |
100
+ | `chevrons` | Stages in order, as a row of chevrons. |
101
+ | `flow` | Steps in order, as boxes joined by arrows in one row. |
102
+ | `vertical-flow` | Steps in order, as boxes joined by arrows in a column beside the title. |
84
103
  | **Numbers** | |
85
104
  | `metrics` | One to six headline numbers, with an optional note. |
86
105
  | `scorecard` | Metrics with commentary or status, as cards. |
@@ -139,7 +158,7 @@ Core compiles the list to the grid its engine uses, so the same layout draws the
139
158
  ## Versions
140
159
 
141
160
  The gallery is released with the other OPF packages under one shared version (core, the CLI, the renderer, the PPTX exporter,
142
- the editor and this package; from 0.26.0). The gallery's earlier line (1.0.0 to 5.0.0) is not continued: those versions stay
161
+ the editor and this package from 0.26.0, with MCP joining in 0.27.0). The gallery's earlier line (1.0.0 to 5.0.0) is not continued: those versions stay
143
162
  on npm, and `latest` points at the shared line, so `^5` consumers keep 5.0.0 and get no further catalog fixes. While the
144
163
  shared version is 0.x, a breaking change is a minor bump.
145
164
 
@@ -0,0 +1,87 @@
1
+ # Third-party notices
2
+
3
+ @openpresentation/gallery is MIT (LICENSE). It bundles these icon sets, generated from their npm packages by scripts/build-icon-sets.mjs, which writes this file (do not edit it by hand). Each record in catalog/icon-sets/ also carries its license, copyright and license text.
4
+
5
+ ## Lucide (`lucide`)
6
+
7
+ - Package: [lucide-static](https://www.npmjs.com/package/lucide-static) 1.68.0
8
+ - Homepage: https://lucide.dev
9
+ - License: ISC
10
+ - Copyright (c) 2026 Lucide Icons and Contributors; Copyright (c) 2013-present Cole Bemis
11
+
12
+ ```text
13
+ ISC License
14
+
15
+ Copyright (c) 2026 Lucide Icons and Contributors
16
+
17
+ Permission to use, copy, modify, and/or distribute this software for any
18
+ purpose with or without fee is hereby granted, provided that the above
19
+ copyright notice and this permission notice appear in all copies.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
22
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
23
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
24
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
25
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
26
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
27
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
28
+
29
+ ---
30
+
31
+ The following Lucide icons are derived from the Feather project:
32
+
33
+ airplay, alert-circle, alert-octagon, alert-triangle, aperture, arrow-down-circle, arrow-down-left, arrow-down-right, arrow-down, arrow-left-circle, arrow-left, arrow-right-circle, arrow-right, arrow-up-circle, arrow-up-left, arrow-up-right, arrow-up, at-sign, calendar, cast, check, chevron-down, chevron-left, chevron-right, chevron-up, chevrons-down, chevrons-left, chevrons-right, chevrons-up, circle, clipboard, clock, code, columns, command, compass, corner-down-left, corner-down-right, corner-left-down, corner-left-up, corner-right-down, corner-right-up, corner-up-left, corner-up-right, crosshair, database, divide-circle, divide-square, dollar-sign, download, external-link, feather, frown, hash, headphones, help-circle, info, italic, key, layout, life-buoy, link-2, link, loader, lock, log-in, log-out, maximize, meh, minimize, minimize-2, minus-circle, minus-square, minus, monitor, moon, more-horizontal, more-vertical, move, music, navigation-2, navigation, octagon, pause-circle, percent, plus-circle, plus-square, plus, power, radio, rss, search, server, share, shopping-bag, sidebar, smartphone, smile, square, table-2, tablet, target, terminal, trash-2, trash, triangle, tv, type, upload, x-circle, x-octagon, x-square, x, zoom-in, zoom-out
34
+
35
+ The MIT License (MIT) (for the icons listed above)
36
+
37
+ Copyright (c) 2013-present Cole Bemis
38
+
39
+ Permission is hereby granted, free of charge, to any person obtaining a copy
40
+ of this software and associated documentation files (the "Software"), to deal
41
+ in the Software without restriction, including without limitation the rights
42
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
43
+ copies of the Software, and to permit persons to whom the Software is
44
+ furnished to do so, subject to the following conditions:
45
+
46
+ The above copyright notice and this permission notice shall be included in all
47
+ copies or substantial portions of the Software.
48
+
49
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
50
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
51
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
52
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
53
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
54
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
55
+ SOFTWARE.
56
+ ```
57
+
58
+ ## Tabler outline (`tabler`)
59
+
60
+ - Package: [@tabler/icons](https://www.npmjs.com/package/@tabler/icons) 3.50.0
61
+ - Homepage: https://tabler.io/icons
62
+ - License: MIT
63
+ - Copyright (c) 2020-2026 Paweł Kuna
64
+
65
+ ```text
66
+ MIT License
67
+
68
+ Copyright (c) 2020-2026 Paweł Kuna
69
+
70
+ Permission is hereby granted, free of charge, to any person obtaining a copy
71
+ of this software and associated documentation files (the "Software"), to deal
72
+ in the Software without restriction, including without limitation the rights
73
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
74
+ copies of the Software, and to permit persons to whom the Software is
75
+ furnished to do so, subject to the following conditions:
76
+
77
+ The above copyright notice and this permission notice shall be included in all
78
+ copies or substantial portions of the Software.
79
+
80
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
81
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
82
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
83
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
84
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
85
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
86
+ SOFTWARE.
87
+ ```
@@ -0,0 +1,28 @@
1
+ // @openpresentation/gallery/icon-sets/<id>: one icon set of the gallery (LH-14), loaded on demand. `galleryIconSets.iconSets.<id>()` imports
2
+ // it; core's ensureIcons calls that for the sets a deck uses. The record is https://openpresentation.org/schema/opf-icon-set/v1
3
+ // without `$schema` and `id`.
4
+
5
+ /** One icon: its path data (drawn as the set's style), or the parts the set strokes and fills. */
6
+ export type GalleryIcon = string | { readonly stroke?: string; readonly fill?: string };
7
+
8
+ /** An icon set record. */
9
+ export interface GalleryIconSet {
10
+ readonly name: string;
11
+ readonly summary?: string;
12
+ readonly version?: string;
13
+ readonly package?: string;
14
+ readonly homepage?: string;
15
+ readonly license: string;
16
+ readonly copyright: string;
17
+ readonly licenseText?: string;
18
+ readonly viewBox: readonly [number, number, number, number];
19
+ readonly style: "stroke" | "fill";
20
+ readonly strokeWidth?: number;
21
+ readonly strokeLinecap?: "butt" | "round" | "square";
22
+ readonly strokeLinejoin?: "miter" | "round" | "bevel";
23
+ readonly icons: Readonly<Record<string, GalleryIcon>>;
24
+ readonly tags?: Readonly<Record<string, readonly string[]>>;
25
+ }
26
+
27
+ declare const iconSet: GalleryIconSet;
28
+ export default iconSet;