v13.33.0
Minor Release v13.33.0
Build
Notes:
-
Support for React 16 and React 17 is now deprecated in Elyra Canvas. This support will be removed in a future major release.
-
To allow Elyra Canvas components to work correctly with Carbon themes, applications should include
@carbon/reactin their SCSS file and NOT individual files from that package. As documented: https://elyra-ai.github.io/canvas/02-set-up/#styling-using-sass
Common Canvas
#1579 Bi-directional links
In this release the application can customize links to make them bi-directional if needed. That is:
- with an arrow head at the target end of the link (as usual) or
- with an arrow head at the source end of the link or
- with arrow heads at both ends of the link or
- with no arrow heads.
There have been a couple of changes to Common Canvas to support this:
-
The
canvasLayoutproperty calleddataLinkArrowHeadcan now be set explicitly set tofalseto switch off the display of link arrow heads provided by Common Canvas.const config = { enableCanvasLayout: { dataLinkArrowHead: false: } }; -
The arrow heads can then be drawn using decorations. To help with that a new boolean property for decoration specifications has been added called
rotate. This is only applicable for decorations applied to links. If set totrueit will cause the decoration to rotate to an angle the same as the link line -- so the arrow heads will move around in the correct way when the links move.
These changes can be seen in the new Link Types sample application in the Elyra Canvas Test Harness.
Common Properties
#2675 Enhancement: Support for icons in action buttons.
Action buttons now support both icon and text simultaneously using the buttonIconHandler callback with new type actionButtonIcon. Previously, either icon or text was supported.
An example of this can be seen in the action_paramDef.json test file in the Elyra Canvas Test Harness:
Issues Resolved
- #2657 Keyboard accessibility: ports should be focusable (Minor docs c… by @tomlyn in #2670
- #2668 After entering multiline comments, position of the comment box … by @tomlyn in #2671
- #2676 Fixed Bug: Visible condition is not working properly inside subpanel for custom controls by @nmgokhale in #2677
- #2672 Highlighted text is not visible in the node palette when search… by @tomlyn in #2673
- #2674 Enhancement : Support for icons in action buttons-implementing by @Jerinjk14 in #2675
- #2679 Shortcut for titles in Markdown Comments overrides standard sho… by @tomlyn in #2680
- #2681 Dragging a connection in the tables sample app causes a highlig… by @tomlyn in #2682
- #1579 Bi directional links by @tomlyn in #2678
- #2683 Accessibility violation - common context menu by @srikant-ch5 in #2684
Full Changelog: v13.32.0...v13.33.0