bpmn-js-token-simulation
Advanced tools
Comparing version 0.9.1 to 0.10.0
@@ -9,2 +9,7 @@ # Changelog | ||
## 0.10.0 | ||
* `CHORE`: update colors | ||
* `CHORE`: update to `bpmn-js@7` | ||
## 0.9.1 | ||
@@ -11,0 +16,0 @@ |
@@ -20,2 +20,4 @@ 'use strict'; | ||
var STROKE_COLOR = getComputedStyle(document.documentElement).getPropertyValue('--token-simulation-green-base-44'); | ||
function isFirstSegment(index) { | ||
@@ -176,3 +178,3 @@ return index === 1; | ||
.circle(TOKEN_SIZE, TOKEN_SIZE) | ||
.attr('fill', '#52b415') | ||
.attr('fill', STROKE_COLOR) | ||
.attr('class', 'circle'); | ||
@@ -179,0 +181,0 @@ |
@@ -8,3 +8,4 @@ 'use strict'; | ||
var NO_CONFIGURATION_COLOR = '#999'; | ||
var NOT_SELECTED_COLOR = getComputedStyle(document.documentElement).getPropertyValue('--token-simulation-grey-lighten-56'), | ||
SELECTED_COLOR = getComputedStyle(document.documentElement).getPropertyValue('--token-simulation-grey-darken-30'); | ||
@@ -106,5 +107,5 @@ function getNext(gateway) { | ||
if (outgoing === gateway.sequenceFlow) { | ||
self.setColor(outgoing, '#000'); | ||
self.setColor(outgoing, SELECTED_COLOR); | ||
} else { | ||
self.setColor(outgoing, NO_CONFIGURATION_COLOR); | ||
self.setColor(outgoing, NOT_SELECTED_COLOR); | ||
} | ||
@@ -111,0 +112,0 @@ }); |
@@ -17,2 +17,5 @@ 'use strict'; | ||
var FILL_COLOR = getComputedStyle(document.documentElement).getPropertyValue('--token-simulation-silver-base-97'), | ||
STROKE_COLOR = getComputedStyle(document.documentElement).getPropertyValue('--token-simulation-green-base-44'); | ||
function isNull(value) { | ||
@@ -159,3 +162,3 @@ return value === null; | ||
ShowProcessInstance.prototype.addHighlightToProcess = function(element) { | ||
this.setColor(element, '#52b415', '#ecfbe3'); | ||
this.setColor(element, STROKE_COLOR, FILL_COLOR); | ||
@@ -162,0 +165,0 @@ if (!element.parent) { |
{ | ||
"name": "bpmn-js-token-simulation", | ||
"version": "0.9.1", | ||
"version": "0.10.0", | ||
"description": "bpmn-js token simulation extension", | ||
@@ -40,3 +40,3 @@ "main": "index.js", | ||
"bpmn-font": "^0.8.0", | ||
"bpmn-js": "^3.0.4", | ||
"bpmn-js": "^7.2.0", | ||
"chai": "^4.2.0", | ||
@@ -43,0 +43,0 @@ "copy-webpack-plugin": "^4.5.2", |
@@ -9,3 +9,3 @@ > Looking for the Camunda Modeler Plugin? Get it [here](https://github.com/philippfromme/bpmn-js-token-simulation-plugin)! | ||
![Screencast](docs/screencast.gif) | ||
![Screencast](docs/screenshot.png) | ||
@@ -12,0 +12,0 @@ ## Installation |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
3371
0
1438501