@formicoidea/labre-framework-bpmn 0.53.0 → 0.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/node/node-renderer.js +1 -1
- package/dist/view.js +4 -1
- package/package.json +2 -2
|
@@ -222,7 +222,7 @@ export const bpmnNode = (model, ctx, matrix, renderer, rc, bound) => {
|
|
|
222
222
|
// The native rect under these three is unfilled and unstroked, so both the
|
|
223
223
|
// fill and the outline are drawn here — off the model's own colours, which
|
|
224
224
|
// keeps them editable from the shape toolbar like every other node's.
|
|
225
|
-
const fill = renderer.getColorValue(model.fillColor, DefaultTheme.shapeFillColor, true);
|
|
225
|
+
const fill = renderer.getColorValue(model.fillColor, DefaultTheme.shapeFillColor, true, 'fill');
|
|
226
226
|
const half = strokeWidth / 2;
|
|
227
227
|
const x0 = half;
|
|
228
228
|
const y0 = half;
|
package/dist/view.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FrameworkBackgroundInteractionExtension, InterchangeExtension, morphToolbarConfig, ReadingProfileExtension, ValidationProfileExtension, ValidationRuleExtension, } from '@formicoidea/labre-core/blocks/surface';
|
|
1
|
+
import { FrameworkBackgroundInteractionExtension, InterchangeExtension, morphToolbarConfig, ReadingProfileExtension, ValidationProfileExtension, ValidationRuleExtension, NotationDarkPaletteExtension, } from '@formicoidea/labre-core/blocks/surface';
|
|
2
2
|
import { FrameworkPaletteExtension } from '@formicoidea/labre-core/components/color-picker';
|
|
3
3
|
import { ViewExtensionProvider, } from '@formicoidea/labre-core/ext-loader';
|
|
4
4
|
import { TemplateCategoryExtension } from '@formicoidea/labre-core/gfx/template';
|
|
@@ -36,6 +36,9 @@ export class BpmnRenderViewExtension extends ViewExtensionProvider {
|
|
|
36
36
|
}
|
|
37
37
|
setup(context) {
|
|
38
38
|
super.setup(context);
|
|
39
|
+
// Nothing of this notation vanishes on the dark card: it registers an
|
|
40
|
+
// empty dark palette to say so (ADR 0039, `notation-dark-palettes`).
|
|
41
|
+
context.register(NotationDarkPaletteExtension({ framework: 'bpmn', colors: {} }));
|
|
39
42
|
context.register(BpmnPoolView);
|
|
40
43
|
context.register(BpmnPoolRendererExtension);
|
|
41
44
|
context.register(BpmnNodeView);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@formicoidea/labre-framework-bpmn",
|
|
3
3
|
"description": "Labre bpmn framework for @formicoidea/labre-core.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.55.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"author": "lajola",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"dist"
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@formicoidea/labre-core": "0.
|
|
38
|
+
"@formicoidea/labre-core": "0.55.0",
|
|
39
39
|
"lit": "^3.2.0"
|
|
40
40
|
}
|
|
41
41
|
}
|