graph-grammar-react@2.1.0
Immutable
release. Only release title and notes can be modified.
Minor Changes
Workbenchaccepts an optional controlledviewprop ('graph' | 'editor') to drive the graph/rule-editor tab from outside — e.g. scripted walkthroughs. Omitted, the switcher behaves exactly as before.
Patch Changes
-
Harden the Workbench stats panel against host-page CSS when embedded
The stats/legend panel uses common class names (
.stats,.stat-row). When
the Workbench is embedded in a host application whose own stylesheets define
unscoped rules for those names (e.g. a centered-modal
.stats { position: absolute; transform: translate(-50%, -50%); width: 640px }),
the panel was hijacked out of its rail and rendered as a floating overlay on
top of unrelated UI..gg-root .statsand.gg-root .stat-rownow pin their layout-critical
properties explicitly (position: relative,transform: none,width: auto,
top/left: auto,max-height: none,z-index: auto), so host globals can no
longer reposition or resize the panel.