Commit Graph

1266 Commits

Author SHA1 Message Date
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
Nico Rehwaldt 1f5c69a58b fix(modeling): create ConditionalEventDefinition with condition
This ensures we always create valid BPMN 2.0 XML when
creating conditional start and intermediate events.

Closes #747
2018-01-03 14:19:01 +01:00
Nico Rehwaldt f15407d95b chore(Viewer): inline logo as SVG
Make logo retina friendly and save 30 bytes.

Closes #119
2018-01-02 13:46:15 +01:00
Nico Rehwaldt 6e76f76ae4 0.26.2 2017-12-22 22:00:17 +01:00
Nico Rehwaldt 1c3d06ae2d chore(project): bump diagram-js version
* inverts SHIFT+wheel scroll behavior (matching default
  behavior in standard applications now)
2017-12-22 21:57:08 +01:00
Nico Rehwaldt fdab6a852c 0.26.1 2017-12-22 15:51:21 +01:00
Nico Rehwaldt 562674e74b chore(project): bump diagram-js dependency
Fixes text sometimes being selected during dragging.

* makes a ContextPad hack obsolete, too.
2017-12-22 15:49:00 +01:00
Nico Rehwaldt 01ed2bce68 0.26.0 2017-12-22 13:30:43 +01:00
Nico Rehwaldt 4b94f35d63 chore(project): bump diagram-js version
Adds support for create from contextPad (#742).
2017-12-22 10:38:37 +01:00
Nico Rehwaldt 367399d509 feat(rules): support attach from context-menu
* take target attach and parent hints on `connection.create`
  rule into account to implement create from context-menu

Related to bpmn-io/diagram-js#242

Closes #742
2017-12-22 10:32:54 +01:00
Nico Rehwaldt 11354e951c chore(project): migrate to new attach related Modeling APIs
Related to bpmn-io/diagram-js#242

BREAKING CHANGE:

* as documented in bpmn-io/diagram-js#242 a few modeling APIs changed;
  users of these APIs must adapt accordingly.
2017-12-22 10:32:54 +01:00