Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

diagram-js

Package Overview
Dependencies
Maintainers
8
Versions
288
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

diagram-js - npm Package Versions

1
29

11.4.2

Diff

Changelog

Source

11.4.2

  • FIX: render popup menu inside djs-container (#728)
  • FIX: correct popup menu overflow (#727)
  • FIX: drop popup menu backdrop border (e1327caf)
nikku
published 11.4.1 •

Changelog

Source

11.4.1

  • FIX: gracefully handle context pad trigger errors
nikku
published 11.4.0 •

Changelog

Source

11.4.0

  • FEAT: add Overlays#isShown utility (#719)
  • FEAT: add ContextPad#isShown utility (#719)
  • FEAT: allow to trigger context pad entries by ID (#719)
  • FIX: make context pad triggering fail-safe (#719)
beatrizmendes
published 11.3.0 •

Changelog

Source

11.3.0

  • FEAT: fire popupMenu.opened and popupMenu.closed events (#718)
  • FIX: do not search popup menu entries by id (#720)
nikku
published 11.2.1 •

Changelog

Source

11.2.1

  • FIX: correct popup menu icon to label spacing (da5dac5)
nikku
published 11.2.0 •

Changelog

Source

11.2.0

  • FEAT: consistently truncate popup menu elements (#717)
  • FIX: account for popup menu entry title meta-data (#717)
  • FIX: apply popup menu element margins only where needed (#717)
  • CHORE: improve popup menu theming (#717)
nikku
published 11.1.1 •

Changelog

Source

11.1.1

  • FEAT: keep popup menu class structure aligned with diagram-js@10 (f78a1a57)
  • FIX: remove popup menu container on close (e1df3edd)
  • FIX: make actual popup menu keyboard selectable (9fda6b0f)
  • FIX: apply consistent popup-menu spacing (4d4ab8e1)
beatrizmendes
published 11.1.0 •

Changelog

Source

11.1.0

  • FEAT: keyboard handles events on bubble phase instead of capture phase (#708)
  • FEAT: keyboard ignores events that got their propagation stopped or their default prevented (#708)
  • FIX: popup menu remains open after clicking on it (#702)
  • FIX: correctly listen for <ESCAPE> to cancel dragging (#709)
  • FIX: ensure arrow keys navigation works consistently in popup menu (#701)
  • FIX: handle popup menu header selection properly (#711)
  • CHORE: add djs-popup- prefix to popup menu classes (#703)
beatrizmendes
published 11.0.0 •

Changelog

Source

11.0.0

  • FEAT: drop KeyboardEvent#keyCode in favor of code (#681)
  • FEAT: introduction of .djs-parent class to canvas and popup menu root (#687)
  • FEAT: new popupMenu UI featuring menu and group titles, search, entry descriptions and documentation urls (#686, #695, #697, #699)
  • FEAT: provide UI utilities through diagram-js/lib/ui (#692)
  • DOCS: update popup menu provider example (#678)
  • DOCS: correct ElementRegistry method signatures (#698)
  • DEPS: bump utility dependencies

Breaking Changes

  • HTML structure and CSS classes of the popup menu changed in the context of #687. Ensure alignment with the new structure in your custom implementation.
  • There is no longer a single root (.djs-container). The global selector for both the canvas and popup menu roots is now .djs-parent.
  • Keyboard-related features no longer use KeyboardEvent#keyCode. Use a polyfill (e.g. keyboardevent-key-polyfill) if you need to support old browsers.
beatrizmendes
published 11.0.0-aplha.0 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc