@elyra/canvas 12.31.1 → 12.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (477) hide show
  1. package/.eslintrc.js +1 -1
  2. package/README.md +1 -1
  3. package/build.sh +1 -1
  4. package/dist/{_baseForOwn-ad2a8649.js → _baseForOwn-2ef49e2c.js} +2 -2
  5. package/dist/{_baseForOwn-ad2a8649.js.map → _baseForOwn-2ef49e2c.js.map} +1 -1
  6. package/dist/{_baseForOwn-bfa77b3e.js → _baseForOwn-33edf1a0.js} +1 -1
  7. package/dist/{_baseForOwn-bfa77b3e.js.map → _baseForOwn-33edf1a0.js.map} +1 -1
  8. package/dist/canvas-constants-0b396113.js +2 -0
  9. package/dist/{canvas-constants-187a30d5.js.map → canvas-constants-0b396113.js.map} +1 -1
  10. package/dist/{canvas-constants-5fb4e9b8.js → canvas-constants-903046ab.js} +2 -2
  11. package/dist/{canvas-constants-5fb4e9b8.js.map → canvas-constants-903046ab.js.map} +1 -1
  12. package/dist/canvas-controller-293520d1.js +2 -0
  13. package/dist/canvas-controller-293520d1.js.map +1 -0
  14. package/dist/canvas-controller-978f3e99.js +2 -0
  15. package/dist/canvas-controller-978f3e99.js.map +1 -0
  16. package/dist/{canvas-logger-27d3180d.js → canvas-logger-3bfbcf85.js} +1 -1
  17. package/dist/{canvas-logger-27d3180d.js.map → canvas-logger-3bfbcf85.js.map} +1 -1
  18. package/dist/{canvas-logger-bb537fb3.js → canvas-logger-6f90b136.js} +1 -1
  19. package/dist/{canvas-logger-bb537fb3.js.map → canvas-logger-6f90b136.js.map} +1 -1
  20. package/dist/common-canvas-b19904f0.js +2 -0
  21. package/dist/common-canvas-b19904f0.js.map +1 -0
  22. package/dist/common-canvas-ef3c716f.js +2 -0
  23. package/dist/common-canvas-ef3c716f.js.map +1 -0
  24. package/dist/common-canvas.es.js +1 -1
  25. package/dist/common-canvas.es.js.map +1 -1
  26. package/dist/common-canvas.js +1 -1
  27. package/dist/common-canvas.js.map +1 -1
  28. package/dist/common-properties-7863aacb.js +2 -0
  29. package/dist/common-properties-7863aacb.js.map +1 -0
  30. package/dist/common-properties-8b8a659b.js +2 -0
  31. package/dist/common-properties-8b8a659b.js.map +1 -0
  32. package/dist/context-menu-wrapper-5846a20e.js +2 -0
  33. package/dist/context-menu-wrapper-5846a20e.js.map +1 -0
  34. package/dist/context-menu-wrapper-ac5e8c7a.js +2 -0
  35. package/dist/context-menu-wrapper-ac5e8c7a.js.map +1 -0
  36. package/dist/datarecord-metadata-v3-schema-64329ae4.js +2 -0
  37. package/dist/datarecord-metadata-v3-schema-64329ae4.js.map +1 -0
  38. package/dist/datarecord-metadata-v3-schema-cd1871c0.js +2 -0
  39. package/dist/datarecord-metadata-v3-schema-cd1871c0.js.map +1 -0
  40. package/dist/{flexible-table-aa7a3125.js → flexible-table-865cd1c7.js} +2 -2
  41. package/dist/{flexible-table-aa7a3125.js.map → flexible-table-865cd1c7.js.map} +1 -1
  42. package/dist/{flexible-table-1f259bf6.js → flexible-table-ccced653.js} +2 -2
  43. package/dist/{flexible-table-1f259bf6.js.map → flexible-table-ccced653.js.map} +1 -1
  44. package/dist/{icon-e1c49d95.js → icon-5f3da14a.js} +2 -2
  45. package/dist/{icon-e1c49d95.js.map → icon-5f3da14a.js.map} +1 -1
  46. package/dist/{icon-c65ffd4c.js → icon-f3de6e3a.js} +2 -2
  47. package/dist/{icon-c65ffd4c.js.map → icon-f3de6e3a.js.map} +1 -1
  48. package/dist/{index-27d84a2b.js → index-20a7841f.js} +2 -2
  49. package/dist/{index-27d84a2b.js.map → index-20a7841f.js.map} +1 -1
  50. package/dist/{index-6776fe83.js → index-7ec85110.js} +2 -2
  51. package/dist/{index-6776fe83.js.map → index-7ec85110.js.map} +1 -1
  52. package/dist/{isArrayLikeObject-6a001191.js → isArrayLikeObject-5da4b548.js} +2 -2
  53. package/dist/{isArrayLikeObject-6a001191.js.map → isArrayLikeObject-5da4b548.js.map} +1 -1
  54. package/dist/lib/canvas-controller.es.js +1 -1
  55. package/dist/lib/canvas-controller.js +1 -1
  56. package/dist/lib/canvas.es.js +1 -1
  57. package/dist/lib/canvas.js +1 -1
  58. package/dist/lib/command-stack.es.js.map +1 -1
  59. package/dist/lib/command-stack.js.map +1 -1
  60. package/dist/lib/context-menu.es.js +1 -1
  61. package/dist/lib/context-menu.js +1 -1
  62. package/dist/lib/properties/field-picker.es.js +1 -1
  63. package/dist/lib/properties/field-picker.js +1 -1
  64. package/dist/lib/properties/flexible-table.es.js +1 -1
  65. package/dist/lib/properties/flexible-table.js +1 -1
  66. package/dist/lib/properties.es.js +1 -1
  67. package/dist/lib/properties.js +1 -1
  68. package/dist/lib/tooltip.es.js.map +1 -1
  69. package/dist/lib/tooltip.js.map +1 -1
  70. package/dist/styles/common-canvas.min.css +1 -1
  71. package/dist/styles/common-canvas.min.css.map +1 -1
  72. package/dist/toolbar-9f4c1709.js +2 -0
  73. package/dist/toolbar-9f4c1709.js.map +1 -0
  74. package/dist/toolbar-c2ec8f11.js +2 -0
  75. package/dist/toolbar-c2ec8f11.js.map +1 -0
  76. package/locales/command-actions/locales/index.js +1 -1
  77. package/locales/common-canvas/locales/index.js +1 -1
  78. package/locales/common-properties/locales/de.json +1 -1
  79. package/locales/common-properties/locales/es.json +1 -1
  80. package/locales/common-properties/locales/fr.json +1 -1
  81. package/locales/common-properties/locales/index.js +1 -1
  82. package/locales/common-properties/locales/it.json +1 -1
  83. package/locales/common-properties/locales/ja.json +1 -1
  84. package/locales/common-properties/locales/ko.json +1 -1
  85. package/locales/common-properties/locales/pt-br.json +1 -1
  86. package/locales/common-properties/locales/sv.json +1 -1
  87. package/locales/common-properties/locales/zh-CN.json +1 -1
  88. package/locales/common-properties/locales/zh-TW.json +1 -1
  89. package/locales/palette/locales/index.js +1 -1
  90. package/locales/toolbar/locales/index.js +1 -1
  91. package/package.json +1 -1
  92. package/rollup.config.js +1 -1
  93. package/src/.eslintrc.js +1 -1
  94. package/src/color-picker/color-picker.jsx +31 -8
  95. package/src/color-picker/color-picker.scss +1 -1
  96. package/src/color-picker/index.js +18 -0
  97. package/src/command-actions/arrangeLayoutAction.js +1 -1
  98. package/src/command-actions/attachNodeToLinksAction.js +1 -1
  99. package/src/command-actions/collapseSuperNodeInPlaceAction.js +1 -1
  100. package/src/command-actions/colorSelectedObjectsAction.js +3 -2
  101. package/src/command-actions/commonPropertiesAction.js +1 -1
  102. package/src/command-actions/convertSuperNodeExternalToLocalAction.js +1 -1
  103. package/src/command-actions/convertSuperNodeLocalToExternalAction.js +1 -1
  104. package/src/command-actions/createAutoNodeAction.js +1 -1
  105. package/src/command-actions/createCommentAction.js +1 -1
  106. package/src/command-actions/createCommentLinkAction.js +1 -1
  107. package/src/command-actions/createNodeAction.js +1 -1
  108. package/src/command-actions/createNodeAttachLinksAction.js +1 -1
  109. package/src/command-actions/createNodeLinkAction.js +1 -1
  110. package/src/command-actions/createNodeLinkDetachedAction.js +1 -1
  111. package/src/command-actions/createNodeOnLinkAction.js +1 -1
  112. package/src/command-actions/createSuperNodeAction.js +1 -1
  113. package/src/command-actions/deconstructSuperNodeAction.js +1 -1
  114. package/src/command-actions/deleteLinkAction.js +1 -1
  115. package/src/command-actions/deleteObjectsAction.js +1 -1
  116. package/src/command-actions/disconnectObjectsAction.js +1 -1
  117. package/src/command-actions/displayPreviousPipelineAction.js +1 -1
  118. package/src/command-actions/displaySubPipelineAction.js +1 -1
  119. package/src/command-actions/editCommentAction.js +1 -1
  120. package/src/command-actions/editDecorationLabelAction.js +1 -1
  121. package/src/command-actions/expandSuperNodeInPlaceAction.js +1 -1
  122. package/src/command-actions/insertNodeIntoLinkAction.js +1 -1
  123. package/src/command-actions/moveObjectsAction.js +1 -1
  124. package/src/command-actions/pasteAction.js +1 -1
  125. package/src/command-actions/saveToPaletteAction.js +1 -1
  126. package/src/command-actions/setLinksStyleAction.js +1 -1
  127. package/src/command-actions/setNodeLabelAction.js +1 -1
  128. package/src/command-actions/setObjectsStyleAction.js +1 -1
  129. package/src/command-actions/sizeAndPositionObjectsAction.js +1 -1
  130. package/src/command-actions/updateLinkAction.js +1 -1
  131. package/src/command-stack/action.js +1 -1
  132. package/src/command-stack/command-stack.js +1 -1
  133. package/src/command-stack/internal-stack.js +1 -1
  134. package/src/common-canvas/canvas-controller-menu-utils.js +2 -2
  135. package/src/common-canvas/cc-bottom-panel.jsx +1 -1
  136. package/src/common-canvas/cc-central-items.jsx +1 -1
  137. package/src/common-canvas/cc-context-menu.jsx +1 -1
  138. package/src/common-canvas/cc-context-toolbar.jsx +53 -33
  139. package/src/common-canvas/cc-right-flyout.jsx +1 -1
  140. package/src/common-canvas/cc-state-tag.jsx +1 -1
  141. package/src/common-canvas/cc-text-toolbar.jsx +9 -16
  142. package/src/common-canvas/cc-toolbar.jsx +1 -1
  143. package/src/common-canvas/cc-tooltip.jsx +1 -1
  144. package/src/common-canvas/common-canvas-utils.js +1 -1
  145. package/src/common-canvas/common-canvas.scss +8 -15
  146. package/src/common-canvas/constants/canvas-constants.js +1 -0
  147. package/src/common-canvas/d3-zoom-extension/.eslintrc.js +1 -1
  148. package/src/common-canvas/index.js +1 -1
  149. package/src/common-canvas/label-util.js +1 -1
  150. package/src/common-canvas/local-storage.js +1 -1
  151. package/src/common-canvas/svg-canvas-d3.js +2 -2
  152. package/src/common-canvas/svg-canvas-d3.scss +1 -1
  153. package/src/common-canvas/svg-canvas-pipeline.js +1 -1
  154. package/src/common-canvas/svg-canvas-renderer.js +26 -10
  155. package/src/common-canvas/svg-canvas-utils-comments.js +1 -1
  156. package/src/common-canvas/svg-canvas-utils-decs.js +1 -1
  157. package/src/common-canvas/svg-canvas-utils-display.js +1 -1
  158. package/src/common-canvas/svg-canvas-utils-links.js +1 -1
  159. package/src/common-canvas/svg-canvas-utils-markdown.js +1 -1
  160. package/src/common-canvas/svg-canvas-utils-nodes.js +1 -1
  161. package/src/common-canvas/svg-canvas-utils-textarea.js +2 -2
  162. package/src/common-properties/actions/action-factory.js +1 -1
  163. package/src/common-properties/actions/actions.scss +1 -1
  164. package/src/common-properties/actions/button/button.jsx +1 -1
  165. package/src/common-properties/actions/button/button.scss +1 -1
  166. package/src/common-properties/actions/button/index.js +1 -1
  167. package/src/common-properties/actions/image/image.jsx +1 -1
  168. package/src/common-properties/actions/image/image.scss +1 -1
  169. package/src/common-properties/actions/image/index.js +1 -1
  170. package/src/common-properties/actions.js +1 -1
  171. package/src/common-properties/common-properties.jsx +1 -1
  172. package/src/common-properties/components/components.scss +1 -1
  173. package/src/common-properties/components/control-item/control-item.jsx +1 -1
  174. package/src/common-properties/components/control-item/control-item.scss +1 -1
  175. package/src/common-properties/components/control-item/index.js +1 -1
  176. package/src/common-properties/components/editor-form/editor-form.jsx +1 -1
  177. package/src/common-properties/components/editor-form/editor-form.scss +2 -1
  178. package/src/common-properties/components/editor-form/index.js +1 -1
  179. package/src/common-properties/components/empty-table/empty-table.jsx +1 -1
  180. package/src/common-properties/components/empty-table/empty-table.scss +1 -1
  181. package/src/common-properties/components/empty-table/index.js +1 -1
  182. package/src/common-properties/components/field-picker/field-picker.jsx +1 -1
  183. package/src/common-properties/components/field-picker/field-picker.scss +1 -1
  184. package/src/common-properties/components/field-picker/index.js +1 -1
  185. package/src/common-properties/components/flexible-table/flexible-table.jsx +9 -6
  186. package/src/common-properties/components/flexible-table/flexible-table.scss +1 -1
  187. package/src/common-properties/components/flexible-table/index.js +1 -1
  188. package/src/common-properties/components/main-editor-properties-buttons/index.js +1 -1
  189. package/src/common-properties/components/main-editor-properties-buttons/main-editor-properties-buttons.jsx +1 -1
  190. package/src/common-properties/components/moveable-table-rows/index.js +1 -1
  191. package/src/common-properties/components/moveable-table-rows/moveable-table-rows.jsx +1 -1
  192. package/src/common-properties/components/moveable-table-rows/moveable-table-rows.scss +1 -1
  193. package/src/common-properties/components/properties-buttons/index.js +1 -1
  194. package/src/common-properties/components/properties-buttons/properties-buttons.jsx +1 -1
  195. package/src/common-properties/components/properties-buttons/properties-buttons.scss +1 -1
  196. package/src/common-properties/components/properties-editor/index.js +1 -1
  197. package/src/common-properties/components/properties-editor/properties-editor.jsx +1 -1
  198. package/src/common-properties/components/properties-modal/index.js +1 -1
  199. package/src/common-properties/components/properties-modal/properties-modal.jsx +1 -1
  200. package/src/common-properties/components/properties-modal/properties-modal.scss +1 -1
  201. package/src/common-properties/components/table-buttons/index.js +1 -1
  202. package/src/common-properties/components/table-buttons/table-buttons.jsx +1 -1
  203. package/src/common-properties/components/table-buttons/table-buttons.scss +1 -1
  204. package/src/common-properties/components/title-editor/index.js +1 -1
  205. package/src/common-properties/components/title-editor/title-editor.jsx +1 -1
  206. package/src/common-properties/components/title-editor/title-editor.scss +1 -1
  207. package/src/common-properties/components/truncated-content-tooltip/index.js +1 -1
  208. package/src/common-properties/components/truncated-content-tooltip/truncated-content-tooltip.jsx +1 -1
  209. package/src/common-properties/components/truncated-content-tooltip/truncated-content-tooltip.scss +1 -1
  210. package/src/common-properties/components/validation-message/index.js +1 -1
  211. package/src/common-properties/components/validation-message/validation-message.jsx +1 -1
  212. package/src/common-properties/components/validation-message/validation-message.scss +1 -1
  213. package/src/common-properties/components/virtualized-table/index.js +1 -1
  214. package/src/common-properties/components/virtualized-table/virtualized-table.jsx +1 -1
  215. package/src/common-properties/components/virtualized-table/virtualized-table.scss +1 -1
  216. package/src/common-properties/components/wide-flyout/index.js +1 -1
  217. package/src/common-properties/components/wide-flyout/wide-flyout.jsx +1 -1
  218. package/src/common-properties/components/wide-flyout/wide-flyout.scss +1 -1
  219. package/src/common-properties/constants/constants.js +1 -1
  220. package/src/common-properties/constants/form-constants.js +1 -1
  221. package/src/common-properties/controls/abstract-table.jsx +1 -1
  222. package/src/common-properties/controls/abstract-table.scss +1 -1
  223. package/src/common-properties/controls/checkbox/checkbox.jsx +1 -1
  224. package/src/common-properties/controls/checkbox/checkbox.scss +1 -1
  225. package/src/common-properties/controls/checkbox/index.js +1 -1
  226. package/src/common-properties/controls/checkboxset/checkboxset.jsx +1 -1
  227. package/src/common-properties/controls/checkboxset/checkboxset.scss +1 -1
  228. package/src/common-properties/controls/checkboxset/index.js +1 -1
  229. package/src/common-properties/controls/control-factory.js +1 -1
  230. package/src/common-properties/controls/datefield/datefield.jsx +1 -1
  231. package/src/common-properties/controls/datefield/index.js +1 -1
  232. package/src/common-properties/controls/dropdown/dropdown.jsx +1 -1
  233. package/src/common-properties/controls/dropdown/dropdown.scss +1 -1
  234. package/src/common-properties/controls/dropdown/index.js +1 -1
  235. package/src/common-properties/controls/expression/expression-builder/expression-builder.jsx +1 -1
  236. package/src/common-properties/controls/expression/expression-builder/expression-builder.scss +1 -1
  237. package/src/common-properties/controls/expression/expression-builder/expression-select-field-function.jsx +1 -1
  238. package/src/common-properties/controls/expression/expression-builder/expression-select-operator.jsx +1 -1
  239. package/src/common-properties/controls/expression/expression-builder/expression-selection-panel.jsx +1 -1
  240. package/src/common-properties/controls/expression/expression-toggle/expression-toggle.jsx +1 -1
  241. package/src/common-properties/controls/expression/expression.jsx +1 -1
  242. package/src/common-properties/controls/expression/expression.scss +1 -1
  243. package/src/common-properties/controls/expression/expressionInfo-parser.js +1 -1
  244. package/src/common-properties/controls/expression/index.js +1 -1
  245. package/src/common-properties/controls/expression/languages/CLEM-hint.js +1 -1
  246. package/src/common-properties/controls/expression/languages/python-hint.js +1 -1
  247. package/src/common-properties/controls/expression/languages/r-hint.js +1 -1
  248. package/src/common-properties/controls/list/index.js +1 -1
  249. package/src/common-properties/controls/list/list.jsx +1 -1
  250. package/src/common-properties/controls/multiselect/index.js +1 -1
  251. package/src/common-properties/controls/multiselect/multiselect.jsx +1 -1
  252. package/src/common-properties/controls/multiselect/multiselect.scss +1 -1
  253. package/src/common-properties/controls/numberfield/index.js +1 -1
  254. package/src/common-properties/controls/numberfield/numberfield.jsx +1 -1
  255. package/src/common-properties/controls/numberfield/numberfield.scss +1 -1
  256. package/src/common-properties/controls/passwordfield/index.js +1 -1
  257. package/src/common-properties/controls/passwordfield/passwordfield.jsx +1 -1
  258. package/src/common-properties/controls/radioset/index.js +1 -1
  259. package/src/common-properties/controls/radioset/radioset.jsx +1 -1
  260. package/src/common-properties/controls/radioset/radioset.scss +1 -1
  261. package/src/common-properties/controls/readonly/index.js +1 -1
  262. package/src/common-properties/controls/readonly/readonly.jsx +1 -1
  263. package/src/common-properties/controls/readonly/readonly.scss +1 -1
  264. package/src/common-properties/controls/readonlytable/index.js +1 -1
  265. package/src/common-properties/controls/readonlytable/readonlytable.jsx +1 -1
  266. package/src/common-properties/controls/selectcolumns/index.js +1 -1
  267. package/src/common-properties/controls/selectcolumns/selectcolumns.jsx +1 -1
  268. package/src/common-properties/controls/selectcolumns/selectcolumns.scss +1 -1
  269. package/src/common-properties/controls/someofselect/index.js +1 -1
  270. package/src/common-properties/controls/someofselect/someofselect.jsx +1 -1
  271. package/src/common-properties/controls/someofselect/someofselect.scss +1 -1
  272. package/src/common-properties/controls/structureeditor/index.js +1 -1
  273. package/src/common-properties/controls/structureeditor/structureeditor.jsx +1 -1
  274. package/src/common-properties/controls/structureeditor/structureeditor.scss +1 -1
  275. package/src/common-properties/controls/structurelisteditor/index.js +1 -1
  276. package/src/common-properties/controls/structurelisteditor/structurelisteditor.jsx +1 -1
  277. package/src/common-properties/controls/structuretable/index.js +1 -1
  278. package/src/common-properties/controls/structuretable/structuretable.jsx +1 -1
  279. package/src/common-properties/controls/textarea/index.js +1 -1
  280. package/src/common-properties/controls/textarea/textarea.jsx +1 -1
  281. package/src/common-properties/controls/textarea/textarea.scss +1 -1
  282. package/src/common-properties/controls/textfield/index.js +1 -1
  283. package/src/common-properties/controls/textfield/textfield.jsx +1 -1
  284. package/src/common-properties/controls/textfield/textfield.scss +1 -1
  285. package/src/common-properties/controls/timefield/index.js +1 -1
  286. package/src/common-properties/controls/timefield/timefield.jsx +1 -1
  287. package/src/common-properties/controls/toggle/index.jsx +1 -1
  288. package/src/common-properties/controls/toggle/toggle.jsx +1 -1
  289. package/src/common-properties/controls/toggle/toggle.scss +1 -1
  290. package/src/common-properties/controls/toggletext/index.js +1 -1
  291. package/src/common-properties/controls/toggletext/toggletext.jsx +1 -1
  292. package/src/common-properties/controls/toggletext/toggletext.scss +1 -1
  293. package/src/common-properties/form/ActionInfo.js +1 -1
  294. package/src/common-properties/form/ButtonInfo.js +1 -1
  295. package/src/common-properties/form/Conditions.js +1 -1
  296. package/src/common-properties/form/ControlInfo.js +1 -1
  297. package/src/common-properties/form/EditorForm.js +1 -1
  298. package/src/common-properties/form/Form.js +1 -1
  299. package/src/common-properties/form/GroupInfo.js +1 -1
  300. package/src/common-properties/form/ParameterInfo.js +1 -1
  301. package/src/common-properties/form/PropertyDef.js +1 -1
  302. package/src/common-properties/form/StructureInfo.js +1 -1
  303. package/src/common-properties/form/UIItem.js +1 -1
  304. package/src/common-properties/index.js +1 -1
  305. package/src/common-properties/index.scss +1 -1
  306. package/src/common-properties/panels/action-panel/action-panel.jsx +1 -1
  307. package/src/common-properties/panels/action-panel/action-panel.scss +1 -1
  308. package/src/common-properties/panels/action-panel/index.js +1 -1
  309. package/src/common-properties/panels/column/column.jsx +1 -1
  310. package/src/common-properties/panels/column/column.scss +1 -1
  311. package/src/common-properties/panels/column/index.js +1 -1
  312. package/src/common-properties/panels/control/control.jsx +1 -1
  313. package/src/common-properties/panels/control/control.scss +1 -1
  314. package/src/common-properties/panels/control/index.js +1 -1
  315. package/src/common-properties/panels/panels.scss +1 -1
  316. package/src/common-properties/panels/selector/index.js +1 -1
  317. package/src/common-properties/panels/selector/selector.jsx +1 -1
  318. package/src/common-properties/panels/sub-panel/button.jsx +1 -1
  319. package/src/common-properties/panels/sub-panel/cell.jsx +1 -1
  320. package/src/common-properties/panels/sub-panel/invoker.jsx +1 -1
  321. package/src/common-properties/panels/sub-panel/sub-panel.scss +1 -1
  322. package/src/common-properties/panels/subtabs/index.js +1 -1
  323. package/src/common-properties/panels/subtabs/subtabs.jsx +1 -1
  324. package/src/common-properties/panels/subtabs/subtabs.scss +1 -1
  325. package/src/common-properties/panels/summary/index.js +1 -1
  326. package/src/common-properties/panels/summary/summary.jsx +1 -1
  327. package/src/common-properties/panels/summary/summary.scss +1 -1
  328. package/src/common-properties/panels/tearsheet/index.js +1 -1
  329. package/src/common-properties/panels/tearsheet/tearsheet.jsx +1 -1
  330. package/src/common-properties/panels/tearsheet/tearsheet.scss +1 -1
  331. package/src/common-properties/panels/text-panel/index.js +1 -1
  332. package/src/common-properties/panels/text-panel/text-panel.jsx +1 -1
  333. package/src/common-properties/panels/text-panel/text-panel.scss +1 -1
  334. package/src/common-properties/panels/twisty/index.js +1 -1
  335. package/src/common-properties/panels/twisty/twisty.jsx +1 -1
  336. package/src/common-properties/panels/twisty/twisty.scss +1 -1
  337. package/src/common-properties/properties-controller.js +1 -1
  338. package/src/common-properties/properties-main/index.js +1 -1
  339. package/src/common-properties/properties-main/properties-main-widths.scss +1 -1
  340. package/src/common-properties/properties-main/properties-main.jsx +1 -1
  341. package/src/common-properties/properties-main/properties-main.scss +1 -1
  342. package/src/common-properties/properties-store.js +1 -1
  343. package/src/common-properties/reducers/action-states.js +1 -1
  344. package/src/common-properties/reducers/component-metadata.js +1 -1
  345. package/src/common-properties/reducers/control-states.js +1 -1
  346. package/src/common-properties/reducers/dataset-metadata.js +1 -1
  347. package/src/common-properties/reducers/disable-row-move-buttons.js +1 -1
  348. package/src/common-properties/reducers/error-messages.js +1 -1
  349. package/src/common-properties/reducers/panel-states.js +1 -1
  350. package/src/common-properties/reducers/properties-settings.js +1 -1
  351. package/src/common-properties/reducers/properties.js +1 -1
  352. package/src/common-properties/reducers/row-selections.js +1 -1
  353. package/src/common-properties/reducers/row-static.js +1 -1
  354. package/src/common-properties/reducers/save-button-disable.js +1 -1
  355. package/src/common-properties/reducers/tearsheet-states.js +1 -1
  356. package/src/common-properties/reducers/wide-flyout-primary-button-disable.js +1 -1
  357. package/src/common-properties/schema-validator/properties-schema-validator.js +1 -1
  358. package/src/common-properties/ui-conditions/condition-ops/cellNotEmpty.js +1 -1
  359. package/src/common-properties/ui-conditions/condition-ops/colDoesExists.js +1 -1
  360. package/src/common-properties/ui-conditions/condition-ops/colNotExists.js +1 -1
  361. package/src/common-properties/ui-conditions/condition-ops/condition-ops.js +1 -1
  362. package/src/common-properties/ui-conditions/condition-ops/contains.js +1 -1
  363. package/src/common-properties/ui-conditions/condition-ops/dmMeasurementEquals.js +1 -1
  364. package/src/common-properties/ui-conditions/condition-ops/dmMeasurementNotEquals.js +1 -1
  365. package/src/common-properties/ui-conditions/condition-ops/dmRoleEquals.js +1 -1
  366. package/src/common-properties/ui-conditions/condition-ops/dmRoleNotEquals.js +1 -1
  367. package/src/common-properties/ui-conditions/condition-ops/dmTypeEquals.js +1 -1
  368. package/src/common-properties/ui-conditions/condition-ops/dmTypeNotEquals.js +1 -1
  369. package/src/common-properties/ui-conditions/condition-ops/equals.js +1 -1
  370. package/src/common-properties/ui-conditions/condition-ops/lengthEquals.js +1 -1
  371. package/src/common-properties/ui-conditions/condition-ops/lengthGreaterThan.js +1 -1
  372. package/src/common-properties/ui-conditions/condition-ops/lengthLessThan.js +1 -1
  373. package/src/common-properties/ui-conditions/condition-ops/matches.js +1 -1
  374. package/src/common-properties/ui-conditions/condition-ops/notContains.js +1 -1
  375. package/src/common-properties/ui-conditions/condition-ops/notEquals.js +1 -1
  376. package/src/common-properties/ui-conditions/condition-ops/notMatches.js +1 -1
  377. package/src/common-properties/ui-conditions/ui-conditions-parser.js +1 -1
  378. package/src/common-properties/ui-conditions/ui-conditions.js +1 -1
  379. package/src/common-properties/ui-conditions/ui-groups-parser.js +1 -1
  380. package/src/common-properties/util/L10nProvider.js +1 -1
  381. package/src/common-properties/util/property-utils.js +1 -1
  382. package/src/context-menu/common-context-menu.jsx +3 -3
  383. package/src/context-menu/context-menu-wrapper.jsx +1 -1
  384. package/src/context-menu/context-menu.scss +1 -1
  385. package/src/flow-validation/validate-flow.js +1 -1
  386. package/src/icons/icon.jsx +1 -1
  387. package/src/icons/icon.scss +1 -1
  388. package/src/index.js +1 -1
  389. package/src/index.scss +1 -1
  390. package/src/logging/canvas-logger.js +1 -1
  391. package/src/notification-panel/notification-panel.jsx +1 -1
  392. package/src/notification-panel/notification-panel.scss +1 -1
  393. package/src/object-model/api-pipeline.js +1 -1
  394. package/src/object-model/canvas-in-handler.js +2 -1
  395. package/src/object-model/canvas-out-handler.js +1 -1
  396. package/src/object-model/config-utils.js +21 -2
  397. package/src/object-model/layout-dimensions.js +1 -1
  398. package/src/object-model/pipeline-in-handler.js +1 -1
  399. package/src/object-model/pipeline-out-handler.js +4 -1
  400. package/src/object-model/redux/reducers/bottompanel.js +1 -1
  401. package/src/object-model/redux/reducers/breadcrumbs.js +1 -1
  402. package/src/object-model/redux/reducers/canvasconfig.js +1 -1
  403. package/src/object-model/redux/reducers/canvasinfo.js +1 -1
  404. package/src/object-model/redux/reducers/canvastoolbar.js +1 -1
  405. package/src/object-model/redux/reducers/categories.js +1 -1
  406. package/src/object-model/redux/reducers/comments.js +1 -1
  407. package/src/object-model/redux/reducers/externalpipelineflows.js +1 -1
  408. package/src/object-model/redux/reducers/links.js +1 -1
  409. package/src/object-model/redux/reducers/nodes.js +1 -1
  410. package/src/object-model/redux/reducers/nodetypes.js +1 -1
  411. package/src/object-model/redux/reducers/notificationpanel.js +1 -1
  412. package/src/object-model/redux/reducers/notifications.js +1 -1
  413. package/src/object-model/redux/reducers/palette.js +1 -1
  414. package/src/object-model/redux/reducers/ports.js +1 -1
  415. package/src/object-model/redux/reducers/rightflyout.js +1 -1
  416. package/src/object-model/redux/reducers/selectioninfo.js +1 -1
  417. package/src/object-model/redux/reducers/texttoolbar.js +1 -1
  418. package/src/object-model/redux/reducers/tooltip.js +1 -1
  419. package/src/object-model/schemas-utils/schema-validator.js +1 -1
  420. package/src/object-model/schemas-utils/upgrade-palette.js +1 -1
  421. package/src/palette/palette-content-list-item.jsx +1 -1
  422. package/src/palette/palette-content-list.jsx +1 -1
  423. package/src/palette/palette-dialog-content-categories.jsx +1 -1
  424. package/src/palette/palette-dialog-content-category.jsx +1 -1
  425. package/src/palette/palette-dialog-content-grid-node.jsx +1 -1
  426. package/src/palette/palette-dialog-content-grid.jsx +1 -1
  427. package/src/palette/palette-dialog-content.jsx +1 -1
  428. package/src/palette/palette-dialog-topbar-three-way-icon.jsx +1 -1
  429. package/src/palette/palette-dialog-topbar.jsx +1 -1
  430. package/src/palette/palette-dialog.jsx +1 -1
  431. package/src/palette/palette-flyout-content-category.jsx +1 -1
  432. package/src/palette/palette-flyout-content-filtered-list.jsx +1 -1
  433. package/src/palette/palette-flyout-content-search.jsx +1 -1
  434. package/src/palette/palette-flyout-content.jsx +1 -1
  435. package/src/palette/palette-flyout-utils.js +1 -1
  436. package/src/palette/palette-flyout.jsx +1 -1
  437. package/src/palette/palette.jsx +1 -1
  438. package/src/palette/palette.scss +1 -1
  439. package/src/themes/light.scss +1 -1
  440. package/src/toolbar/toolbar-action-item.jsx +123 -31
  441. package/src/toolbar/toolbar-action-sub-area.jsx +126 -0
  442. package/src/toolbar/toolbar-divider-item.jsx +1 -1
  443. package/src/toolbar/toolbar-overflow-item.jsx +62 -15
  444. package/src/toolbar/toolbar-overflow-menu.jsx +77 -0
  445. package/src/toolbar/toolbar-utils.js +33 -0
  446. package/src/toolbar/toolbar.jsx +18 -25
  447. package/src/toolbar/toolbar.scss +52 -26
  448. package/src/tooltip/tooltip.jsx +1 -1
  449. package/src/tooltip/tooltip.scss +1 -1
  450. package/stats.html +1 -1
  451. package/utils/logger.js +1 -1
  452. package/dist/canvas-constants-187a30d5.js +0 -2
  453. package/dist/canvas-controller-53bd69c8.js +0 -2
  454. package/dist/canvas-controller-53bd69c8.js.map +0 -1
  455. package/dist/canvas-controller-9551a089.js +0 -2
  456. package/dist/canvas-controller-9551a089.js.map +0 -1
  457. package/dist/common-canvas-1c40c3df.js +0 -2
  458. package/dist/common-canvas-1c40c3df.js.map +0 -1
  459. package/dist/common-canvas-93c3f6a4.js +0 -2
  460. package/dist/common-canvas-93c3f6a4.js.map +0 -1
  461. package/dist/common-properties-02c52656.js +0 -2
  462. package/dist/common-properties-02c52656.js.map +0 -1
  463. package/dist/common-properties-df2350d5.js +0 -2
  464. package/dist/common-properties-df2350d5.js.map +0 -1
  465. package/dist/context-menu-wrapper-6c8f7928.js +0 -2
  466. package/dist/context-menu-wrapper-6c8f7928.js.map +0 -1
  467. package/dist/context-menu-wrapper-fc78153c.js +0 -2
  468. package/dist/context-menu-wrapper-fc78153c.js.map +0 -1
  469. package/dist/datarecord-metadata-v3-schema-15146f5e.js +0 -2
  470. package/dist/datarecord-metadata-v3-schema-15146f5e.js.map +0 -1
  471. package/dist/datarecord-metadata-v3-schema-9994b9ee.js +0 -2
  472. package/dist/datarecord-metadata-v3-schema-9994b9ee.js.map +0 -1
  473. package/dist/toolbar-83b4d3d3.js +0 -2
  474. package/dist/toolbar-83b4d3d3.js.map +0 -1
  475. package/dist/toolbar-d7febd83.js +0 -2
  476. package/dist/toolbar-d7febd83.js.map +0 -1
  477. package/src/color-picker/color-picker-panel.jsx +0 -61
@@ -19,7 +19,7 @@ import PropTypes from "prop-types";
19
19
  import { connect } from "react-redux";
20
20
  import Toolbar from "../toolbar/toolbar.jsx";
21
21
  import Logger from "../logging/canvas-logger.js";
22
- import ColorPickerPanel from "../color-picker/color-picker-panel.jsx";
22
+ import ColorPicker from "../color-picker";
23
23
 
24
24
  const CM_TOOLBAR_GAP = 4;
25
25
  const CM_ICON_SIZE = 32;
@@ -47,27 +47,8 @@ class CommonCanvasContextToolbar extends React.Component {
47
47
 
48
48
  getToolbarConfig({ toolbarItems, overflowMenuItems }) {
49
49
  const leftBar = [];
50
- toolbarItems.forEach((item) => {
51
- leftBar.push(this.getMenuItem(item));
52
- });
53
-
54
- // Records if we have just displayed a divider. This is useful because we
55
- // only want to display one divider if there is a divider element
56
- // immediately after another divider element in the overflowMenuItems array.
57
- let previousDivider = false;
58
-
59
- overflowMenuItems.forEach((item) => {
60
- if (item.divider) {
61
- if (!previousDivider) {
62
- leftBar.push({ divider: true });
63
- previousDivider = true;
64
- }
65
- } else {
66
- leftBar.push(this.getMenuItem(item));
67
- previousDivider = false;
68
- }
69
- });
70
-
50
+ toolbarItems.forEach((item) => leftBar.push(this.getMenuItem(item)));
51
+ overflowMenuItems.forEach((item) => leftBar.push(this.getMenuItem(item)));
71
52
  return {
72
53
  leftBar: leftBar,
73
54
  rightBar: []
@@ -75,19 +56,28 @@ class CommonCanvasContextToolbar extends React.Component {
75
56
  }
76
57
 
77
58
  getMenuItem(menuItem) {
59
+ if (menuItem.divider) {
60
+ return { divider: true };
61
+ }
78
62
  const subPanel = this.getSubPanel(menuItem);
79
- const subMenu = !subPanel && menuItem.submenu ? this.getSubMenu(menuItem) : null;
80
- return { action: menuItem.action, label: menuItem.label, subMenu, subPanel, enable: this.getEnable(menuItem), iconEnabled: menuItem.icon };
63
+ const subMenu = !subPanel && menuItem.menu ? this.getSubMenu(menuItem) : null;
64
+ return {
65
+ action: menuItem.action,
66
+ label: menuItem.label,
67
+ subMenu: subMenu,
68
+ subPanel: subPanel,
69
+ enable: this.getEnable(menuItem),
70
+ iconEnabled: menuItem.icon
71
+ };
81
72
  }
82
73
 
83
74
  getSubPanel(menuItem) {
84
75
  if (menuItem.action === "colorBackground") {
85
- return this.buildColorPickerPanel();
76
+ return this.buildColorPicker();
86
77
  }
87
78
  return null;
88
79
  }
89
80
 
90
-
91
81
  getSubMenu(menuItem) {
92
82
  if (typeof menuItem.menu === "object") {
93
83
  return menuItem.menu.map((option) => {
@@ -114,12 +104,41 @@ class CommonCanvasContextToolbar extends React.Component {
114
104
  const overflowItemCount = overflowMenuItems.length > 0 ? 1 : 0;
115
105
  const toolbarItemsCount = toolbarItems.length + overflowItemCount;
116
106
 
117
- // If we have some overflow menu items, we reduce the width by one pixel
118
- // which forces the overflow menu and the overflow icon to be shown.
119
- const reduction = overflowMenuItems.length > 0 ? 1 : 0;
107
+ // If we have some overflow menu items, we reduce the width by five pixels
108
+ // which forces the overflow menu and the overflow icon to be shown. We
109
+ // use 5 pixels because this is how many are needed to make the toolbar
110
+ // work correcty with differnet browser magnificaitons.
111
+ const reduction = overflowMenuItems.length > 0 ? 5 : 0;
120
112
  return (toolbarItemsCount * (CM_ICON_SIZE + CM_ICON_PAD)) - reduction;
121
113
  }
122
114
 
115
+ // Removes leading and trailing dividers from the items array and any
116
+ // remaining places where there are consecutive dividers are reduced to a
117
+ // single divider. These unecessary dividers may occur because the app's
118
+ // contextMenuHandler may return an array which result in these being left
119
+ // in the overflowItems array.
120
+ removeUnnecessaryDividers(items) {
121
+ const start = items.findIndex((item) => !item.divider);
122
+ const end = items.findLastIndex((item) => !item.divider);
123
+ const trimmedItems = items.slice(start, end + 1);
124
+
125
+ const outItems = [];
126
+ let previousDivider = false;
127
+
128
+ trimmedItems.forEach((item) => {
129
+ if (item.divider) {
130
+ if (!previousDivider) {
131
+ outItems.push(item);
132
+ }
133
+ previousDivider = true;
134
+ } else {
135
+ outItems.push(item);
136
+ previousDivider = false;
137
+ }
138
+ });
139
+ return outItems;
140
+ }
141
+
123
142
  toolbarActionHandler(action, editParam) {
124
143
  this.props.canvasController.setMouseInContextToolbar(false);
125
144
  this.props.canvasController.closeContextToolbar();
@@ -130,9 +149,9 @@ class CommonCanvasContextToolbar extends React.Component {
130
149
  this.toolbarActionHandler("colorSelectedObjects", { color });
131
150
  }
132
151
 
133
- buildColorPickerPanel() {
152
+ buildColorPicker() {
134
153
  return (
135
- <ColorPickerPanel clickActionHandler={this.colorClicked} />
154
+ <ColorPicker clickActionHandler={this.colorClicked} />
136
155
  );
137
156
  }
138
157
 
@@ -153,9 +172,9 @@ class CommonCanvasContextToolbar extends React.Component {
153
172
 
154
173
  if (this.props.showContextMenu) {
155
174
  const toolbarItems = this.props.contextMenuDef.filter((cmItem) => cmItem.toolbarItem && !cmItem.divider);
156
- const overflowMenuItems = this.props.contextMenuDef.filter((cmItem) => !cmItem.toolbarItem);
175
+ let overflowMenuItems = this.props.contextMenuDef.filter((cmItem) => !cmItem.toolbarItem);
176
+ overflowMenuItems = this.removeUnnecessaryDividers(overflowMenuItems);
157
177
  const toolbarConfig = this.getToolbarConfig({ toolbarItems, overflowMenuItems });
158
-
159
178
  const toolbarWidth = this.getContextToolbarWidth(toolbarItems, overflowMenuItems);
160
179
 
161
180
  // Note: cmPos is already adjusted as a starting point for the context
@@ -173,6 +192,7 @@ class CommonCanvasContextToolbar extends React.Component {
173
192
  <Toolbar
174
193
  config={toolbarConfig}
175
194
  instanceId={this.props.canvasController.getInstanceId()}
195
+ containingDivId={this.props.containingDivId}
176
196
  toolbarActionHandler={this.toolbarActionHandler}
177
197
  tooltipDirection={"top"}
178
198
  size={"sm"}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -23,7 +23,6 @@ import defaultToolbarMessages from "../../locales/toolbar/locales/en.json";
23
23
  import Toolbar from "../toolbar/toolbar.jsx";
24
24
  import CanvasUtils from "../common-canvas/common-canvas-utils.js";
25
25
  import Logger from "../logging/canvas-logger.js";
26
- import { OverflowMenu, OverflowMenuItem } from "carbon-components-react";
27
26
  import { Code32, Link32, ListBulleted32, ListNumbered32, TextIndentMore32,
28
27
  TextBold32, TextItalic32, TextScale32, TextStrikethrough32 } from "@carbon/icons-react";
29
28
 
@@ -61,23 +60,17 @@ class CommonCanvasTextToolbar extends React.Component {
61
60
  const quoteLabel = this.getJsxLabel("texttoolbar.quoteAction", "shift + >");
62
61
  const numberedListLabel = this.getJsxLabel("texttoolbar.numberedListAction", "shift + 7");
63
62
  const bulletedListLabel = this.getJsxLabel("texttoolbar.bulletedListAction", "shift + 8");
64
- const headerOptions = (
65
- <div>
66
- <OverflowMenu id={"headerMenu"} iconDescription={""} renderIcon={TextScale32} size={"sm"}>
67
- <OverflowMenuItem itemText={this.getLabel("texttoolbar.titleAction")} onClick={(evt) => this.props.actionHandler("title", evt)} />
68
- <OverflowMenuItem itemText={this.getLabel("texttoolbar.headerAction")} onClick={(evt) => this.props.actionHandler("header", evt)} />
69
- <OverflowMenuItem itemText={this.getLabel("texttoolbar.subheaderAction")} onClick={(evt) => this.props.actionHandler("subheader", evt)} />
70
- <OverflowMenuItem itemText={this.getLabel("texttoolbar.bodyAction")} onClick={(evt) => this.props.actionHandler("body", evt)} />
71
- </OverflowMenu>
72
- <svg className="text-toolbar-tick-svg">
73
- <path d="M 31 31 L 31 25 25 31 Z" className="text-toolbar-tick-mark" />
74
- </svg>
75
- </div>
76
- );
63
+
64
+ const headerOptions = [
65
+ { action: "title", label: this.getLabel("texttoolbar.titleAction"), enable: true },
66
+ { action: "header", label: this.getLabel("texttoolbar.headerAction"), enable: true },
67
+ { action: "subheader", label: this.getLabel("texttoolbar.subheaderAction"), enable: true },
68
+ { action: "body", label: this.getLabel("texttoolbar.bodyAction"), enable: true }
69
+ ];
77
70
 
78
71
  return {
79
72
  leftBar: [
80
- { action: "header", tooltip: headerLabel, jsx: headerOptions },
73
+ { action: "headerStyle", tooltip: headerLabel, enable: true, subMenu: headerOptions, closeSubAreaOnClick: true, iconEnabled: (<TextScale32 />) },
81
74
  { divider: true },
82
75
  { action: "bold", label: boldLabel, enable: true, iconEnabled: (<TextBold32 />) },
83
76
  { action: "italics", label: italicsLabel, enable: true, iconEnabled: (<TextItalic32 />) },
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -144,12 +144,18 @@ $panel-border-color: $ui-03;
144
144
  // Below, we have to override the Carbon button's focus highlighting in the
145
145
  // context toolbar to get a complete border around the overflow icon. This is
146
146
  // necessary because the width allocated to the context toolbar is reduced by
147
- // one pixel to force the overflow icon to be displayed.
147
+ // five pixels to force the overflow icon to be displayed.
148
148
  .context-toolbar {
149
149
  .toolbar-overflow-item {
150
150
  button:focus {
151
151
  border-color: transparent;
152
- box-shadow: inset 0 0 0 1px $interactive-01, inset 0 0 0 2px $interactive-01
152
+ box-shadow: inset 2px 2px $interactive-01, inset -6px -2px $interactive-01;
153
+ }
154
+ // Set padding so overflow icon appears in the center (horizontally). This
155
+ // offsets the 5px which are set in the code to make the overflow icon
156
+ // be generated correctly.
157
+ .toolbar-item-content {
158
+ padding-left: 4px;
153
159
  }
154
160
  }
155
161
  }
@@ -174,19 +180,6 @@ $panel-border-color: $ui-03;
174
180
  padding-right: 0px;
175
181
  }
176
182
  }
177
-
178
- .text-toolbar-tick-svg {
179
- position: absolute;
180
- top: 0;
181
- left: 0;
182
- height: 32px;
183
- width: 32px;
184
- pointer-events: none;
185
- }
186
-
187
- .text-toolbar-tick-mark {
188
- fill: $interactive-02;
189
- }
190
183
  }
191
184
 
192
185
  .text-toolbar {
@@ -178,6 +178,7 @@ export const TOOLBAR_REDO = "redo";
178
178
  export const TOOLBAR_CUT = "cut";
179
179
  export const TOOLBAR_COPY = "copy";
180
180
  export const TOOLBAR_PASTE = "paste";
181
+ export const TOOLBAR_CLIPBOARD = "clipboard";
181
182
  export const TOOLBAR_CREATE_COMMENT = "createComment";
182
183
  export const TOOLBAR_CREATE_AUTO_COMMENT = "createAutoComment";
183
184
  export const TOOLBAR_SET_COMMENT_EDIT_MODE = "setCommentEditingMode";
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -39,7 +39,7 @@ export default class SVGCanvasD3 {
39
39
  !this.canvasInfo ||
40
40
  canvasInfo.id !== this.canvasInfo.id ||
41
41
  (this.renderer && this.renderer.pipelineId !== this.canvasController.getCurrentBreadcrumb().pipelineId) ||
42
- !ConfigUtils.compareCanvasConfigs(this.config, config)) {
42
+ !ConfigUtils.compareCanvasConfigsOmitFields(this.config, config)) {
43
43
  this.logger.logStartTimer("initializing");
44
44
 
45
45
  this.canvasInfo = this.cloneCanvasInfo(canvasInfo);
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -2337,21 +2337,31 @@ export default class SVGCanvasRenderer {
2337
2337
  // If we are dragging an 'insertable' node, set it to be translucent so
2338
2338
  // that, when it is dragged over a link line, the highlightd line can be seen OK.
2339
2339
  if (this.isExistingNodeInsertableIntoLink()) {
2340
- this.existingNodeInsertableIntoLink = true;
2341
- this.setNodeTranslucentState(this.dragObjects[0].id, true);
2342
- this.setDataLinkSelectionAreaWider(true);
2340
+ // Only style the node to be translucent if this action isn't cancelled
2341
+ // by the user releasing the mouse button within 200 ms of pressing it.
2342
+ // This stops the node flashing when the user is only selecting it.
2343
+ this.startNodeInsertingInLink = setTimeout(() => {
2344
+ this.existingNodeInsertableIntoLink = true;
2345
+ this.setNodeTranslucentState(this.dragObjects[0].id, true);
2346
+ this.setDataLinkSelectionAreaWider(true);
2347
+ }, 200);
2343
2348
  }
2344
2349
 
2345
2350
  // If we are dragging an 'attachable' node, set it to be translucent so
2346
2351
  // that, when it is dragged over link lines, the highlightd lines can be seen OK.
2347
2352
  if (this.isExistingNodeAttachableToDetachedLinks()) {
2348
- this.existingNodeAttachableToDetachedLinks = true;
2349
- const mousePos = this.getTransformedMousePos(d3Event);
2350
- this.dragPointerOffsetInNode = {
2351
- x: mousePos.x - this.dragObjects[0].x_pos,
2352
- y: mousePos.y - this.dragObjects[0].y_pos
2353
- };
2354
- this.setNodeTranslucentState(this.dragObjects[0].id, true);
2353
+ // Only style the node to be translucent if this action isn't cancelled
2354
+ // by the user releasing the mouse button within 200 ms of pressing it.
2355
+ // This stops the node from when the user is only selecting it.
2356
+ this.startNodeAttachingToDetachedLinks = setTimeout(() => {
2357
+ this.existingNodeAttachableToDetachedLinks = true;
2358
+ const mousePos = this.getTransformedMousePos(d3Event);
2359
+ this.dragPointerOffsetInNode = {
2360
+ x: mousePos.x - this.dragObjects[0].x_pos,
2361
+ y: mousePos.y - this.dragObjects[0].y_pos
2362
+ };
2363
+ this.setNodeTranslucentState(this.dragObjects[0].id, true);
2364
+ }, 200);
2355
2365
  }
2356
2366
  }
2357
2367
 
@@ -2453,6 +2463,12 @@ export default class SVGCanvasRenderer {
2453
2463
  // Set to false before updating object model so main body of displayNodes is run.
2454
2464
  this.dragging = false;
2455
2465
 
2466
+ // Cancels the styling of insertable/attachable nodes if the user releases
2467
+ // the mouse button with 200 milliseconds of pressing it on the node. This
2468
+ // stops the node flashing when the user just selects the node.
2469
+ clearTimeout(this.startNodeInsertingInLink);
2470
+ clearTimeout(this.startNodeAttachingToDetachedLinks);
2471
+
2456
2472
  // If the pointer hasn't moved and enableDragWithoutSelect we interpret
2457
2473
  // that as a select on the object.
2458
2474
  if (this.dragOffsetX === 0 &&
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -184,7 +184,7 @@ export default class SvgCanvasTextArea {
184
184
 
185
185
  const mdObj = SvgCanvasMarkdown.processMarkdownAction(action, text, start, end);
186
186
  if (mdObj) {
187
- CanvasUtils.stopPropagationAndPreventDefault(evt);
187
+ evt.preventDefault();
188
188
  this.addTextToTextArea(mdObj, commentEntryElement);
189
189
  }
190
190
  }
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -34,6 +34,7 @@ $primary-tab-height: $spacing-08;
34
34
  .properties-single-category {
35
35
  height: 100%;
36
36
  .properties-sub-tab-container {
37
+ position: relative;
37
38
  height: 100%;
38
39
  }
39
40
  .properties-subtabs {
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2022 Elyra Authors
2
+ * Copyright 2017-2023 Elyra Authors
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License");
5
5
  * you may not use this file except in compliance with the License.