diagram-js
Advanced tools
Comparing version 12.6.0 to 12.7.0
@@ -212,5 +212,4 @@ import { | ||
> | ||
${ entry.imageUrl ? html` | ||
<img class="djs-popup-entry-icon" src=${ entry.imageUrl } alt="" /> | ||
` : null } | ||
${(entry.imageUrl && html`<img class="djs-popup-entry-icon" src=${ entry.imageUrl } alt="" />`) || | ||
(entry.imageHtml && html`<div class="djs-popup-entry-icon" dangerouslySetInnerHTML=${ { __html: entry.imageHtml } } />`)} | ||
@@ -217,0 +216,0 @@ ${ entry.label ? html` |
@@ -6,2 +6,4 @@ import { PopupMenuTarget } from './PopupMenu'; | ||
className: string; | ||
imageUrl?: string; | ||
imageHtml?: string; | ||
label: string; | ||
@@ -17,2 +19,5 @@ }; | ||
id: string; | ||
imageUrl?: string; | ||
imageHtml?: string; | ||
label?: string; | ||
title: string; | ||
@@ -19,0 +24,0 @@ }; |
@@ -8,2 +8,4 @@ import { PopupMenuTarget } from './PopupMenu'; | ||
className: string; | ||
imageUrl?: string; | ||
imageHtml?: string; | ||
label: string; | ||
@@ -23,2 +25,5 @@ }; | ||
id: string; | ||
imageUrl?: string; | ||
imageHtml?: string; | ||
label?: string; | ||
title: string; | ||
@@ -25,0 +30,0 @@ }; |
{ | ||
"name": "diagram-js", | ||
"version": "12.6.0", | ||
"version": "12.7.0", | ||
"description": "A toolbox for displaying and modifying diagrams on the web", | ||
@@ -5,0 +5,0 @@ "main": "lib/Diagram.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
956791
33479