Commit Graph

1126 Commits

Author SHA1 Message Date
Nico Rehwaldt 607866d6ef 0.27.1 2018-02-14 22:11:56 +01:00
Nico Rehwaldt c96741df03 chore(replace): minor reformat 2018-02-14 22:08:04 +01:00
Philipp Fromme ef52dff84c fix(bpmn-replace): correctly replace sub process -> call activity
* when not morphing collapsed sub process with children
  into expanded sub process children must be removed

Related to camunda/camunda-modeler#739
2018-02-14 22:07:28 +01:00
Nico Rehwaldt efaeeddf19 chore(project): make .npmignore more stable
* explicitly whitespace non-ignored files
2018-02-14 17:00:01 +01:00
Nico Rehwaldt 79e2b8e6b9 chore(project): use shared linter config 2018-02-14 16:42:52 +01:00
Nico Rehwaldt 46c6eb0b70
docs(README): minor rephrase 2018-02-08 23:02:14 +01:00
Nico Rehwaldt 372eed6b46 chore(project): remove unused dev dependencies 2018-02-08 20:44:01 +01:00
Nico Rehwaldt 888fe9f0e3 0.27.0 2018-02-08 09:15:56 +01:00
Nico Rehwaldt 37d70a19ca chore(ci): update examples during release 2018-02-06 12:06:41 +01:00
Nico Rehwaldt 68bfa10351 chore(ci): don't update pre-built + seed anymore
Related to #760
2018-02-06 12:06:41 +01:00
Nico Rehwaldt 1dcbf68d48 docs(README): link examples in usage section 2018-02-06 12:06:41 +01:00
Nico Rehwaldt d629817f08 docs(README): split installation and usage 2018-02-06 12:06:41 +01:00
Nico Rehwaldt 5595fce934 chore(project): scale down screencast 2018-02-06 12:06:41 +01:00
Nico Rehwaldt e22a0b660a fix(README): correct screencast url 2018-02-06 12:06:41 +01:00
Nico Rehwaldt 0f80ce4516 docs(README): add rendering hint 2018-02-06 12:06:41 +01:00
Nico Rehwaldt 908c29c0d5 docs(README): rework installation guide
* remove dedicated install sections
* link to examples

Related to #760
2018-02-06 12:06:41 +01:00
Nico Rehwaldt d8fc6b0f23 0.27.0-1 2018-02-05 11:13:46 +01:00
Nico Rehwaldt d023f13eed chore(project): bump diagram-js dependency
* corrects error on connection hover
2018-02-02 15:30:45 +01:00
Nico Rehwaldt a185853915 0.27.0-0 2018-02-02 13:44:18 +01:00
Nico Rehwaldt da2a8be7e5 chore(project): es5ify scripts
...until we decide to switch to ES2015+
2018-02-02 11:24:00 +01:00
Nico Rehwaldt 5b2b053230 chore(distro): add integration test
Add a test that ensures the distribution works.

Related to #725
2018-02-02 11:24:00 +01:00
Nico Rehwaldt f1082a563f chore(distro): build bower distro using new scripts 2018-02-02 11:24:00 +01:00
Nico Rehwaldt da4f321284 chore(project): use external bpmn-font
This is a breaking change for users that may rely on `assets/bpmn-font`
being present in the library.

BREAKING CHANGE:

* use `bpmn-font` package, specifically `bpmn-font/dist` if you need the
font previously contained in the assets directory.
2018-02-02 11:24:00 +01:00
Nico Rehwaldt 1184cbd271 chore(distro): apply envify transform 2018-02-02 11:24:00 +01:00
Nico Rehwaldt ea17632311 chore(distro): rename dist files and omit .map
This renames distribution files to:

  {variant}.development.js
  {variant}.production.min.js

Additional changes:

* drops .map file; users should use .development bundle
  for easier debugging

Related to #725

BREAKING CHANGE:

* distribution files have been renamed; users must update their
  apps accordingly if they'd like to use newer bpmn-js dists
2018-02-02 11:24:00 +01:00
Nico Rehwaldt d9d0d9dcdb chore(distro): consolidate into single task 2018-02-02 11:24:00 +01:00
Nico Rehwaldt f7cb94244d chore(project): update copyright banner
* {start}-present
2018-02-02 11:24:00 +01:00
Nico Rehwaldt dc9b06d1b1 chore(project): build distro pre-publish
Closes #725
2018-02-02 11:24:00 +01:00
Nico Rehwaldt 1a0e14efa5 chore(project): package dist folder
Related to #725
2018-02-02 11:24:00 +01:00
Nico Rehwaldt 0b159674e2 chore(package): rebuild package-lock.json 2018-02-02 11:24:00 +01:00
Nico Rehwaldt e3bf356461 chore(project): drop grunt + bundle assets to dist directory
* replace grunt with npm scripts
* copy static assets to dist directory
* build and copy library variants to dist directory

Related to #725
2018-02-02 11:24:00 +01:00
Philipp Fromme f047fefd89 fix(update-properties-handler): fix typo 2018-01-31 18:21:16 +01:00
Nico Rehwaldt ce791b8e17 test(Modeler): verify color support
Related to #756
2018-01-31 12:22:31 +01:00
Nico Rehwaldt cbb2f9f600 fix(modeling): correct DI updating
Don't assign <di> property to businessObject; will
be serialized as di="[Object...]" otherwise.

Closes #756
2018-01-31 12:22:31 +01:00
Nico Rehwaldt 3124f9ba96 chore(modeling): minor SetColorHandler cleanup 2018-01-31 12:16:08 +01:00
Nico Rehwaldt 953574eefb style(tests): reformat UpdatePropertiesSpec
* line width = 80
2018-01-31 12:06:17 +01:00
Nico Rehwaldt acb2d83856 chore(project): bump diagram-js dependency
Adds support for reacting to element.contextmenu.

Related to #750
2018-01-31 11:16:20 +01:00
Nico Rehwaldt 38bff969ac chore(tests): reformat color tests 2018-01-30 13:15:41 +01:00
Nico Rehwaldt 46cd6ea119 0.26.6 2018-01-29 20:26:36 +01:00
Nico Rehwaldt f637d63da9 fix(tests): resolve lib/* locally in helper util
* ensures reusing test/helper does not break
2018-01-29 20:23:14 +01:00
Nico Rehwaldt 3d17c37a42 0.26.5 2018-01-29 20:19:06 +01:00
Nico Rehwaldt 7c7db26027 chore(lint): add function expression indent rule 2018-01-29 20:09:41 +01:00
Nico Rehwaldt f1daf4841f fix(modeling): support newBounds
This fixes a bug where Modeling#updateLabel would not work on
text annotations, because these need to have labels pre-configured.

* Modeling#updateLabel now takes the (optional) newBounds
* newBounds must now explicitly be passed to trigger resize
  for text annotations
* newBounds is _only_ passed for text annotations via
  LabelEditingProvider (it was discarded before anyway)
* lib/features/label-editing did not depend on lib/features/modeling
  for historical reasons. It now uses the offical #updateLabel
  API provided by Modeling
* Localize test diagrams

Closes #753
2018-01-29 17:20:41 +01:00
Nico Rehwaldt d32da90013 chore(lint): bump eslint
...and fix lint errors
2018-01-28 20:35:04 +01:00
Nico Rehwaldt 49cc8dc7ea chore(lint): disallow trailing spaces
+ format lint rules
+ fix lint error
2018-01-24 11:41:57 +01:00
Nico Rehwaldt 37a06a378d chore(tests): use absolute lib requires 2018-01-24 11:41:21 +01:00
Nico Rehwaldt 85dd6f6cd8 0.26.4 2018-01-18 16:04:56 +01:00
Nico Rehwaldt 729ddce821 fix(copy-paste): don't override descriptor <type> property
This is redundant anyway, as we take the type + additional
information from the to-be-copied business object.

Closes #751
2018-01-18 11:22:09 +01:00
Nico Rehwaldt f40b5c41b3 chore(project): bump bpmn-moddle dependency
Pulls in the following improvements:

* gracefully detect and handle attribute re-declaration in broken
  BPMN 2.0 documents
2018-01-09 19:22:39 +01:00
Nico Rehwaldt 82ef31295a 0.26.3 2018-01-04 14:18:29 +01:00