clientIO / joint

A proven SVG-based JavaScript diagramming library powering exceptional UIs
https://jointjs.com
Mozilla Public License 2.0
4.48k stars 839 forks source link

refactor(linkTools, elementTools)!: change Remove tool name #2447

Closed kumilingus closed 5 months ago

kumilingus commented 5 months ago

Description

As per documentation "The names of built-in link tools are kebab-case versions of their class names ". This was not the case for the linkTools.Remove and elementTools.Remove buttons.

Migration guide

You may have styled the Remove button using CSS in your app.

Before:

.joint-tool[data-tool-name="button"] circle {
    fill: #333;
}

Now:

.joint-tool[data-tool-name="remove"] circle {
    fill: #333;
}