@miragon/context-maps-renderer 0.5.0 → 0.6.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 CHANGED
@@ -164,9 +164,9 @@ What a chrome around the canvas shows, typed structurally (a `@miragon/modeler-s
164
164
 
165
165
  - `renderLegend(body, { tooltip })` renders the notation legend (subdomain types, integration roles,
166
166
  relationship patterns) into a chrome's legend card, each row explained in the chrome's tooltip.
167
- Hosts without such a chrome add `cmLegendModule`, a legend card on the canvas. Like the shell's,
168
- it starts open, but closed on a canvas at most 440px wide or 820px high (guide §5.10); the
169
- `cmLegend` service's `setOpen(open)` restores a state the host stored.
167
+ Hosts without such a chrome add `cmLegendModule`, a legend card on the canvas. It starts closed
168
+ on every canvas size, so it never covers the map unasked; the user opens it with its button, and
169
+ the `cmLegend` service's `setOpen(open)` restores a state the host stored.
170
170
  - `contextMapMenu({ exports, showKeyboardShortcuts, editTitle })` builds the Model group's "Map
171
171
  title…" (with `editTitle`), the Export group (PNG, SVG, JSON, CML; an export's `shortcut` shows as
172
172
  its chip) and the Help group's "Keyboard shortcuts…". `createShortcutsDialog(chrome, { fileKeys })`