Among the highlights of this release is the addition of a new API to remove all CSS classes from HTML elements of BPMN diagram, the improvement of the linking of EdgeBpmnSemantic and ShapeBpmnSemantic, and the usage of the "Update Style" API in the "Elements Identification" demo.
See milestone 0.34.0 to get the list of issues covered by this release.
Highlights
New API to remove all CSS classes of BPMN elements
A new API called removeAllCssClasses has been added to the BpmnElementsRegistry, allowing users to remove all CSS classes from HTML elements of BPMN elements.
Enhanced linking of EdgeBpmnSemantic and ShapeBpmnSemantic
The incomingIds and outgoingIds properties of ShapeBpmnElement are now assigned from the Flow, resulting in improved linking of Edge and Shape in the internal model.
As a result, the incomingIds and outgoingIds properties of ShapeBpmnSemantic now store the links calculated from the EdgeBpmnSemantic.
"Elements Identification" Demo Uses the "Update Style" API
The "Elements Identification" demo now includes a radio button to select the mode to apply the style: CSS or API.
The style is updated according to the selected BPMN kind and style method.
Style by CSS
Style by API
Additionally, we have included the missing TS Doc API for StyleWithOpacity.
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps bpmn-visualization from 0.33.1 to 0.34.0.
Release notes
Sourced from bpmn-visualization's releases.
... (truncated)
Commits
7f8586e
chore(release): 0.34.02c65c31
chore(release): prepare version for release9e45349
feat: add an API to remove all CSS classes of BPMN elements (#2666)6f118c4
test: move shared code to a dedicated directory (#2662)fc1cf91
refactor: fix code smells detected by SonarCloud (#2667)e39e50d
feat: enrich links between edges and shapes in the internal model (#2638)9accbab
test: add visual tests for label of collapsed/expanded activities (#2664)c510a08
test: simplify imports in test code (#2467)b2e2da0
ci: publish npm package with "provenance" (#2658)ea221f2
chore(deps-dev): bump vite from 4.3.3 to 4.3.4 (#2663)You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)