@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 +3 -3
- package/dist/index.js +269 -287
- package/dist/index.js.map +1 -1
- package/dist/legend/CmLegend.d.ts +0 -4
- package/dist/legend/CmLegend.d.ts.map +1 -1
- package/dist/theme/index.d.ts +0 -1
- package/dist/theme/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/theme/sizes.d.ts +0 -13
- package/dist/theme/sizes.d.ts.map +0 -1
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.
|
|
168
|
-
|
|
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 })`
|