11 Commits

Author SHA1 Message Date
3ea2852221 chore: simplify element type names 2023-04-19 12:18:42 +02:00
e24c238e74 fix: fix behaviors JSDocs 2023-04-19 12:18:42 +02:00
f3a20e5603 fix(copy-paste): don't attach for labels 2022-08-16 13:14:13 +00:00
66c3612eb6 feat(copy-paste): implement group copy in a safe manner
* properly copy category and category value
* create category value when creating group label
2022-08-16 13:14:13 +00:00
7478388070 deps: replace inherits with inherits-browser
This increase the safety of our build; external consumers
do no longer need to account for the `browser` field to
bundle bpmn-js (or otherwise bundle a Node shim, unintentionally).
2022-05-18 10:15:53 +00:00
1e202d475f fix(modeling): allways create Categories in definitions
closes #1606
2022-02-21 17:37:45 +01:00
2dd1e13305 chore(documentation): fix JSDoc boolean types 2020-04-07 06:52:55 +00:00
194b963959 chore(copy-paste): rework and base upon diagram-js@5
* use <copyPaste.canCopyProperty> event to copy category value when copying group
* add camunda-bpmn-moddle for integration tests

BREAKING CHANGES

* CopyPaste: remove <property.clone>, add <moddleCopy.canCopyProperties>, <moddleCopy.canCopyProperty>, <moddleCopy.canSetCopiedProperty>
* BpmnRules: removed <elements.paste> rule in favor of <elements.create> rule
* BpmnRules: removed <element.paste> rule
* ElementFactory: use <attrs.di> property instead of <attrs.colors> for fill and stroke when creating element through ElementFactory#createBpmnElement
2019-08-07 16:03:55 +00:00
9e52e4ee3e feat(group-behavior): set copied name value to pasted group elements
Closes camunda/camunda-modeler#1417
2019-07-02 07:42:22 +00:00
57f516ef32 chore(group-behavior): move category creation to util 2019-05-28 06:46:53 +00:00
a7e3980059 feat(modeling/behaviors): add GroupBehavior
* Create new Category + Value for every new Group
* Cleanup on Group deletion
2019-05-23 15:12:38 +02:00