@finos/legend-application-studio 26.1.7 → 26.1.8

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 (234) hide show
  1. package/lib/__lib__/DSL_ExternalFormat_LegendStudioDocumentation.js +1 -1
  2. package/lib/__lib__/DSL_ExternalFormat_LegendStudioDocumentation.js.map +1 -1
  3. package/lib/__lib__/LegendStudioApplicationNavigationContext.js +1 -1
  4. package/lib/__lib__/LegendStudioApplicationNavigationContext.js.map +1 -1
  5. package/lib/__lib__/LegendStudioCommand.js +1 -1
  6. package/lib/__lib__/LegendStudioCommand.js.map +1 -1
  7. package/lib/__lib__/LegendStudioDocumentation.js +1 -1
  8. package/lib/__lib__/LegendStudioDocumentation.js.map +1 -1
  9. package/lib/__lib__/LegendStudioEvent.js +1 -1
  10. package/lib/__lib__/LegendStudioEvent.js.map +1 -1
  11. package/lib/__lib__/LegendStudioNavigation.js +1 -1
  12. package/lib/__lib__/LegendStudioNavigation.js.map +1 -1
  13. package/lib/__lib__/LegendStudioSetting.js +1 -1
  14. package/lib/__lib__/LegendStudioSetting.js.map +1 -1
  15. package/lib/__lib__/LegendStudioTesting.d.ts +1 -1
  16. package/lib/__lib__/LegendStudioTesting.d.ts.map +1 -1
  17. package/lib/__lib__/LegendStudioTesting.js +2 -2
  18. package/lib/__lib__/LegendStudioTesting.js.map +1 -1
  19. package/lib/__lib__/STO_Relational_LegendStudioCommand.js +1 -1
  20. package/lib/__lib__/STO_Relational_LegendStudioCommand.js.map +1 -1
  21. package/lib/application/LegendStudioApplicationConfig.d.ts.map +1 -1
  22. package/lib/application/LegendStudioApplicationConfig.js +2 -4
  23. package/lib/application/LegendStudioApplicationConfig.js.map +1 -1
  24. package/lib/components/LegendStudioWebApplication.d.ts.map +1 -1
  25. package/lib/components/LegendStudioWebApplication.js +16 -4
  26. package/lib/components/LegendStudioWebApplication.js.map +1 -1
  27. package/lib/components/editor/ActivityBar.js +1 -1
  28. package/lib/components/editor/ActivityBar.js.map +1 -1
  29. package/lib/components/editor/editor-group/GenerationSpecificationEditor.d.ts.map +1 -1
  30. package/lib/components/editor/editor-group/GenerationSpecificationEditor.js +1 -1
  31. package/lib/components/editor/editor-group/GenerationSpecificationEditor.js.map +1 -1
  32. package/lib/components/editor/editor-group/INTERNAL__UnknownFunctionActivatorEdtior.d.ts.map +1 -1
  33. package/lib/components/editor/editor-group/INTERNAL__UnknownFunctionActivatorEdtior.js +2 -2
  34. package/lib/components/editor/editor-group/INTERNAL__UnknownFunctionActivatorEdtior.js.map +1 -1
  35. package/lib/components/editor/editor-group/ModelImporter.d.ts.map +1 -1
  36. package/lib/components/editor/editor-group/ModelImporter.js +5 -5
  37. package/lib/components/editor/editor-group/ModelImporter.js.map +1 -1
  38. package/lib/components/editor/editor-group/RuntimeEditor.d.ts.map +1 -1
  39. package/lib/components/editor/editor-group/RuntimeEditor.js +6 -6
  40. package/lib/components/editor/editor-group/RuntimeEditor.js.map +1 -1
  41. package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.d.ts.map +1 -1
  42. package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js +2 -2
  43. package/lib/components/editor/editor-group/connection-editor/ConnectionEditor.js.map +1 -1
  44. package/lib/components/editor/editor-group/connection-editor/DatabaseBuilder.d.ts.map +1 -1
  45. package/lib/components/editor/editor-group/connection-editor/DatabaseBuilder.js +2 -2
  46. package/lib/components/editor/editor-group/connection-editor/DatabaseBuilder.js.map +1 -1
  47. package/lib/components/editor/editor-group/data-editor/DataElementEditor.d.ts.map +1 -1
  48. package/lib/components/editor/editor-group/data-editor/DataElementEditor.js +2 -2
  49. package/lib/components/editor/editor-group/data-editor/DataElementEditor.js.map +1 -1
  50. package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.d.ts.map +1 -1
  51. package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.js +3 -3
  52. package/lib/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.js.map +1 -1
  53. package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.d.ts.map +1 -1
  54. package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js +4 -4
  55. package/lib/components/editor/editor-group/element-generation-editor/FileSystemViewer.js.map +1 -1
  56. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.d.ts.map +1 -1
  57. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js +5 -5
  58. package/lib/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.js.map +1 -1
  59. package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.js +1 -1
  60. package/lib/components/editor/editor-group/mapping-editor/ClassMappingEditor.js.map +1 -1
  61. package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.d.ts.map +1 -1
  62. package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js +2 -2
  63. package/lib/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.js.map +1 -1
  64. package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.d.ts.map +1 -1
  65. package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js +3 -3
  66. package/lib/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.js.map +1 -1
  67. package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.d.ts.map +1 -1
  68. package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js +7 -7
  69. package/lib/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.js.map +1 -1
  70. package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.d.ts.map +1 -1
  71. package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js +2 -2
  72. package/lib/components/editor/editor-group/mapping-editor/MappingTestsExplorer.js.map +1 -1
  73. package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.d.ts.map +1 -1
  74. package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js +3 -3
  75. package/lib/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.js.map +1 -1
  76. package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.d.ts.map +1 -1
  77. package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js +5 -5
  78. package/lib/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.js.map +1 -1
  79. package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.d.ts.map +1 -1
  80. package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js +3 -3
  81. package/lib/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.js.map +1 -1
  82. package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.d.ts.map +1 -1
  83. package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js +3 -3
  84. package/lib/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.js.map +1 -1
  85. package/lib/components/editor/editor-group/service-editor/ServiceEditor.d.ts.map +1 -1
  86. package/lib/components/editor/editor-group/service-editor/ServiceEditor.js +2 -2
  87. package/lib/components/editor/editor-group/service-editor/ServiceEditor.js.map +1 -1
  88. package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.d.ts.map +1 -1
  89. package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js +2 -2
  90. package/lib/components/editor/editor-group/service-editor/ServiceExecutionEditor.js.map +1 -1
  91. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.d.ts.map +1 -1
  92. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.js +3 -3
  93. package/lib/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.js.map +1 -1
  94. package/lib/components/editor/editor-group/testable/TestableSharedComponents.d.ts.map +1 -1
  95. package/lib/components/editor/editor-group/testable/TestableSharedComponents.js +2 -2
  96. package/lib/components/editor/editor-group/testable/TestableSharedComponents.js.map +1 -1
  97. package/lib/components/editor/editor-group/uml-editor/AssociationEditor.d.ts.map +1 -1
  98. package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js +2 -2
  99. package/lib/components/editor/editor-group/uml-editor/AssociationEditor.js.map +1 -1
  100. package/lib/components/editor/editor-group/uml-editor/ClassEditor.d.ts.map +1 -1
  101. package/lib/components/editor/editor-group/uml-editor/ClassEditor.js +7 -7
  102. package/lib/components/editor/editor-group/uml-editor/ClassEditor.js.map +1 -1
  103. package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.d.ts.map +1 -1
  104. package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js +5 -5
  105. package/lib/components/editor/editor-group/uml-editor/EnumerationEditor.js.map +1 -1
  106. package/lib/components/editor/editor-group/uml-editor/ProfileEditor.d.ts.map +1 -1
  107. package/lib/components/editor/editor-group/uml-editor/ProfileEditor.js +2 -2
  108. package/lib/components/editor/editor-group/uml-editor/ProfileEditor.js.map +1 -1
  109. package/lib/components/editor/editor-group/uml-editor/PropertyEditor.d.ts.map +1 -1
  110. package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js +2 -2
  111. package/lib/components/editor/editor-group/uml-editor/PropertyEditor.js.map +1 -1
  112. package/lib/components/editor/side-bar/SideBar.js +1 -1
  113. package/lib/components/editor/side-bar/SideBar.js.map +1 -1
  114. package/lib/components/editor/side-bar/testable/GlobalTestRunner.d.ts.map +1 -1
  115. package/lib/components/editor/side-bar/testable/GlobalTestRunner.js +9 -9
  116. package/lib/components/editor/side-bar/testable/GlobalTestRunner.js.map +1 -1
  117. package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js +1 -2
  118. package/lib/components/extensions/Core_LegendStudioApplicationPlugin.js.map +1 -1
  119. package/lib/index.css +2 -2
  120. package/lib/index.css.map +1 -1
  121. package/lib/package.json +6 -6
  122. package/lib/stores/editor/EditorConfig.d.ts +3 -3
  123. package/lib/stores/editor/EditorConfig.d.ts.map +1 -1
  124. package/lib/stores/editor/EditorConfig.js +10 -10
  125. package/lib/stores/editor/EditorConfig.js.map +1 -1
  126. package/lib/stores/editor/EditorGraphState.js +2 -2
  127. package/lib/stores/editor/EditorGraphState.js.map +1 -1
  128. package/lib/stores/editor/EditorStore.d.ts.map +1 -1
  129. package/lib/stores/editor/EditorStore.js +4 -10
  130. package/lib/stores/editor/EditorStore.js.map +1 -1
  131. package/lib/stores/editor/ExplorerTreeState.js +1 -1
  132. package/lib/stores/editor/ExplorerTreeState.js.map +1 -1
  133. package/lib/stores/editor/NewElementState.js +1 -1
  134. package/lib/stores/editor/NewElementState.js.map +1 -1
  135. package/lib/stores/editor/editor-state/ExternalFormatState.js +1 -1
  136. package/lib/stores/editor/editor-state/ExternalFormatState.js.map +1 -1
  137. package/lib/stores/editor/editor-state/ModelImporterState.js +2 -2
  138. package/lib/stores/editor/editor-state/ModelImporterState.js.map +1 -1
  139. package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.js +1 -1
  140. package/lib/stores/editor/editor-state/element-editor-state/ElementEditorState.js.map +1 -1
  141. package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.js +1 -1
  142. package/lib/stores/editor/editor-state/element-editor-state/FunctionEditorState.js.map +1 -1
  143. package/lib/stores/editor/editor-state/element-editor-state/UMLEditorState.js +1 -1
  144. package/lib/stores/editor/editor-state/element-editor-state/UMLEditorState.js.map +1 -1
  145. package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.js +4 -4
  146. package/lib/stores/editor/editor-state/element-editor-state/connection/ConnectionEditorState.js.map +1 -1
  147. package/lib/stores/editor/editor-state/element-editor-state/data/DataEditorState.js +1 -1
  148. package/lib/stores/editor/editor-state/element-editor-state/data/DataEditorState.js.map +1 -1
  149. package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js +1 -1
  150. package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_BindingEditorState.js.map +1 -1
  151. package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js +1 -1
  152. package/lib/stores/editor/editor-state/element-editor-state/external-format/DSL_ExternalFormat_SchemaSetEditorState.js.map +1 -1
  153. package/lib/stores/editor/editor-state/element-editor-state/mapping/DEPRECATED__MappingTestState.js +2 -2
  154. package/lib/stores/editor/editor-state/element-editor-state/mapping/DEPRECATED__MappingTestState.js.map +1 -1
  155. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.js +3 -3
  156. package/lib/stores/editor/editor-state/element-editor-state/mapping/MappingEditorState.js.map +1 -1
  157. package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.js +1 -1
  158. package/lib/stores/editor/editor-state/element-editor-state/mapping/testable/MappingTestableState.js.map +1 -1
  159. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.js +1 -1
  160. package/lib/stores/editor/editor-state/element-editor-state/service/ServiceEditorState.js.map +1 -1
  161. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js +3 -3
  162. package/lib/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.js.map +1 -1
  163. package/lib/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.js +1 -1
  164. package/lib/stores/editor/editor-state/element-editor-state/testable/TestAssertionState.js.map +1 -1
  165. package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js +1 -1
  166. package/lib/stores/editor/editor-state/element-editor-state/testable/TestableEditorState.js.map +1 -1
  167. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js +1 -1
  168. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityChangeConflictEditorState.js.map +1 -1
  169. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.js +1 -1
  170. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffEditorState.js.map +1 -1
  171. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.js +1 -1
  172. package/lib/stores/editor/editor-state/entity-diff-editor-state/EntityDiffViewState.js.map +1 -1
  173. package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js +1 -1
  174. package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectConfigurationEditorState.js.map +1 -1
  175. package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js +1 -1
  176. package/lib/stores/editor/editor-state/project-configuration-editor-state/ProjectDependencyEditorState.js.map +1 -1
  177. package/lib/stores/editor/panel-group/DevToolPanelState.d.ts +1 -0
  178. package/lib/stores/editor/panel-group/DevToolPanelState.d.ts.map +1 -1
  179. package/lib/stores/editor/panel-group/DevToolPanelState.js +12 -0
  180. package/lib/stores/editor/panel-group/DevToolPanelState.js.map +1 -1
  181. package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.js +1 -1
  182. package/lib/stores/editor/sidebar-state/BulkServiceRegistrationState.js.map +1 -1
  183. package/lib/stores/editor/sidebar-state/ProjectOverviewState.js +1 -1
  184. package/lib/stores/editor/sidebar-state/ProjectOverviewState.js.map +1 -1
  185. package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.js +1 -1
  186. package/lib/stores/editor/sidebar-state/testable/GlobalTestRunnerState.js.map +1 -1
  187. package/lib/stores/editor/utils/DnDUtils.js +1 -1
  188. package/lib/stores/editor/utils/DnDUtils.js.map +1 -1
  189. package/lib/stores/editor/utils/MockDataUtils.js +1 -1
  190. package/lib/stores/editor/utils/MockDataUtils.js.map +1 -1
  191. package/lib/stores/editor/utils/ModelClassifierUtils.js +3 -3
  192. package/lib/stores/editor/utils/ModelClassifierUtils.js.map +1 -1
  193. package/lib/stores/project-view/ProjectViewerStore.d.ts.map +1 -1
  194. package/lib/stores/project-view/ProjectViewerStore.js +4 -9
  195. package/lib/stores/project-view/ProjectViewerStore.js.map +1 -1
  196. package/package.json +16 -16
  197. package/src/__lib__/LegendStudioTesting.ts +1 -1
  198. package/src/application/LegendStudioApplicationConfig.ts +1 -2
  199. package/src/components/LegendStudioWebApplication.tsx +25 -6
  200. package/src/components/editor/ActivityBar.tsx +1 -1
  201. package/src/components/editor/editor-group/GenerationSpecificationEditor.tsx +6 -11
  202. package/src/components/editor/editor-group/INTERNAL__UnknownFunctionActivatorEdtior.tsx +10 -10
  203. package/src/components/editor/editor-group/ModelImporter.tsx +17 -15
  204. package/src/components/editor/editor-group/RuntimeEditor.tsx +19 -28
  205. package/src/components/editor/editor-group/connection-editor/ConnectionEditor.tsx +10 -10
  206. package/src/components/editor/editor-group/connection-editor/DatabaseBuilder.tsx +9 -18
  207. package/src/components/editor/editor-group/data-editor/DataElementEditor.tsx +5 -4
  208. package/src/components/editor/editor-group/element-generation-editor/ElementXTGenerationEditor.tsx +10 -11
  209. package/src/components/editor/editor-group/element-generation-editor/FileSystemViewer.tsx +13 -13
  210. package/src/components/editor/editor-group/external-format-editor/DSL_ExternalFormat_SchemaSetModelGenerationEditor.tsx +29 -36
  211. package/src/components/editor/editor-group/mapping-editor/EnumerationMappingEditor.tsx +9 -8
  212. package/src/components/editor/editor-group/mapping-editor/InstanceSetImplementationEditor.tsx +13 -12
  213. package/src/components/editor/editor-group/mapping-editor/MappingExecutionBuilder.tsx +27 -37
  214. package/src/components/editor/editor-group/mapping-editor/MappingTestsExplorer.tsx +3 -2
  215. package/src/components/editor/editor-group/mapping-editor/OperationSetImplementationEditor.tsx +9 -8
  216. package/src/components/editor/editor-group/project-configuration-editor/ProjectConfigurationEditor.tsx +17 -14
  217. package/src/components/editor/editor-group/project-configuration-editor/ProjectDependencyEditor.tsx +17 -21
  218. package/src/components/editor/editor-group/service-editor/BulkServiceRegistrationEditor.tsx +18 -19
  219. package/src/components/editor/editor-group/service-editor/ServiceEditor.tsx +3 -2
  220. package/src/components/editor/editor-group/service-editor/ServiceExecutionEditor.tsx +9 -8
  221. package/src/components/editor/editor-group/service-editor/testable/ServiceTestableEditor.tsx +16 -17
  222. package/src/components/editor/editor-group/testable/TestableSharedComponents.tsx +4 -6
  223. package/src/components/editor/editor-group/uml-editor/AssociationEditor.tsx +7 -6
  224. package/src/components/editor/editor-group/uml-editor/ClassEditor.tsx +13 -12
  225. package/src/components/editor/editor-group/uml-editor/EnumerationEditor.tsx +24 -27
  226. package/src/components/editor/editor-group/uml-editor/ProfileEditor.tsx +5 -4
  227. package/src/components/editor/editor-group/uml-editor/PropertyEditor.tsx +5 -4
  228. package/src/components/editor/side-bar/SideBar.tsx +1 -1
  229. package/src/components/editor/side-bar/testable/GlobalTestRunner.tsx +18 -20
  230. package/src/stores/editor/EditorConfig.ts +3 -3
  231. package/src/stores/editor/EditorStore.ts +5 -23
  232. package/src/stores/editor/editor-state/element-editor-state/service/testable/ServiceTestEditorState.ts +1 -1
  233. package/src/stores/editor/panel-group/DevToolPanelState.ts +25 -0
  234. package/src/stores/project-view/ProjectViewerStore.ts +3 -25
@@ -43,6 +43,10 @@ import {
43
43
  Modal,
44
44
  ModalTitle,
45
45
  clsx,
46
+ PanelHeaderActionItem,
47
+ PanelHeader,
48
+ PanelHeaderActions,
49
+ Panel,
46
50
  } from '@finos/legend-art';
47
51
  import { observer } from 'mobx-react-lite';
48
52
  import {
@@ -371,30 +375,20 @@ const MappingExecutionQueryEditor = observer(
371
375
  );
372
376
 
373
377
  return (
374
- <div className="panel mapping-execution-builder__query-panel">
375
- <div className="panel__header">
376
- <div className="panel__header__title">
377
- <div className="panel__header__title__label">query</div>
378
- </div>
379
- <div className="panel__header__actions">
380
- <button
381
- className="panel__header__action"
382
- tabIndex={-1}
378
+ <Panel className="mapping-execution-builder__query-panel">
379
+ <PanelHeader title="query">
380
+ <PanelHeaderActions>
381
+ <PanelHeaderActionItem
383
382
  onClick={editWithQueryBuilder}
384
383
  title="Edit query..."
385
384
  >
386
385
  <PencilIcon />
387
- </button>
388
- <button
389
- className="panel__header__action"
390
- tabIndex={-1}
391
- onClick={clearQuery}
392
- title="Clear query"
393
- >
386
+ </PanelHeaderActionItem>
387
+ <PanelHeaderActionItem onClick={clearQuery} title="Clear query">
394
388
  <TimesIcon />
395
- </button>
396
- </div>
397
- </div>
389
+ </PanelHeaderActionItem>
390
+ </PanelHeaderActions>
391
+ </PanelHeader>
398
392
  {!isStubbed_RawLambda(queryState.query) && (
399
393
  <PanelContent>
400
394
  <div className="mapping-execution-builder__query-panel__query">
@@ -430,7 +424,7 @@ const MappingExecutionQueryEditor = observer(
430
424
  changeClassMapping={changeClassMapping}
431
425
  />
432
426
  )}
433
- </div>
427
+ </Panel>
434
428
  );
435
429
  },
436
430
  );
@@ -446,13 +440,13 @@ export const MappingExecutionObjectInputDataBuilder = observer(
446
440
  objectInputData_setData(inputDataState.inputData, val);
447
441
 
448
442
  return (
449
- <div className="panel__content mapping-execution-builder__input-data-panel__content">
443
+ <PanelContent className="mapping-execution-builder__input-data-panel__content">
450
444
  <CodeEditor
451
445
  language={CODE_EDITOR_LANGUAGE.JSON}
452
446
  inputValue={inputDataState.inputData.data}
453
447
  updateInput={updateInput}
454
448
  />
455
- </div>
449
+ </PanelContent>
456
450
  );
457
451
  },
458
452
  );
@@ -466,13 +460,13 @@ export const MappingExecutionFlatDataInputDataBuilder = observer(
466
460
  flatData_setData(inputDataState.inputData, val);
467
461
 
468
462
  return (
469
- <div className="panel__content mapping-execution-builder__input-data-panel__content">
463
+ <PanelContent className="mapping-execution-builder__input-data-panel__content">
470
464
  <CodeEditor
471
465
  language={CODE_EDITOR_LANGUAGE.TEXT}
472
466
  inputValue={inputDataState.inputData.data}
473
467
  updateInput={updateInput}
474
468
  />
475
- </div>
469
+ </PanelContent>
476
470
  );
477
471
  },
478
472
  );
@@ -489,7 +483,7 @@ export const MappingExecutionRelationalInputDataBuilder = observer(
489
483
  relationalInputData_setData(inputDataState.inputData, val);
490
484
 
491
485
  return (
492
- <div className="panel__content mapping-execution-builder__input-data-panel__content">
486
+ <PanelContent className="mapping-execution-builder__input-data-panel__content">
493
487
  <CodeEditor
494
488
  language={getRelationalInputTestDataEditorLanguage(
495
489
  inputDataState.inputData.inputType,
@@ -497,7 +491,7 @@ export const MappingExecutionRelationalInputDataBuilder = observer(
497
491
  inputValue={inputDataState.inputData.data}
498
492
  updateInput={updateInput}
499
493
  />
500
- </div>
494
+ </PanelContent>
501
495
  );
502
496
  },
503
497
  );
@@ -536,7 +530,7 @@ export const MappingExecutionEmptyInputDataBuilder = observer(
536
530
  );
537
531
 
538
532
  return (
539
- <div className="panel__content">
533
+ <PanelContent>
540
534
  <PanelDropZone dropTargetConnector={dropRef} isDragOver={isDragOver}>
541
535
  <BlankPanelPlaceholder
542
536
  text="Choose a class mapping"
@@ -546,7 +540,7 @@ export const MappingExecutionEmptyInputDataBuilder = observer(
546
540
  isDropZoneActive={canDrop}
547
541
  />
548
542
  </PanelDropZone>
549
- </div>
543
+ </PanelContent>
550
544
  );
551
545
  },
552
546
  );
@@ -859,20 +853,16 @@ export const MappingExecutionBuilder = observer(
859
853
  <ResizablePanelSplitterLine color="var(--color-dark-grey-50)" />
860
854
  </ResizablePanelSplitter>
861
855
  <ResizablePanel minSize={28}>
862
- <div className="panel mapping-execution-builder__result-panel">
863
- <div className="panel__header">
864
- <div className="panel__header__title">
865
- <div className="panel__header__title__label">result</div>
866
- </div>
867
- </div>
868
- <div className="panel__content mapping-execution-builder__result-panel__content">
856
+ <Panel className="mapping-execution-builder__result-panel">
857
+ <PanelHeader title="result" />
858
+ <PanelContent className="mapping-execution-builder__result-panel__content">
869
859
  <CodeEditor
870
860
  inputValue={executionResultText ?? ''}
871
861
  isReadOnly={true}
872
862
  language={CODE_EDITOR_LANGUAGE.JSON}
873
863
  />
874
- </div>
875
- </div>
864
+ </PanelContent>
865
+ </Panel>
876
866
  </ResizablePanel>
877
867
  </ResizablePanelGroup>
878
868
  </div>
@@ -39,6 +39,7 @@ import {
39
39
  BlankPanelPlaceholder,
40
40
  MenuContent,
41
41
  MenuContentItem,
42
+ Panel,
42
43
  } from '@finos/legend-art';
43
44
  import {
44
45
  type MappingElementDragSource,
@@ -382,7 +383,7 @@ export const MappingTestsExplorer = observer(
382
383
  );
383
384
 
384
385
  return (
385
- <div className="panel mapping-test-explorer">
386
+ <Panel className="mapping-test-explorer">
386
387
  <div className="panel__header" title={testReportSummary}>
387
388
  <div className="mapping-test-explorer__header__info">
388
389
  <div className="panel__header__title">
@@ -496,7 +497,7 @@ export const MappingTestsExplorer = observer(
496
497
  changeClassMapping={changeClassMapping}
497
498
  />
498
499
  )}
499
- </div>
500
+ </Panel>
500
501
  );
501
502
  },
502
503
  );
@@ -26,6 +26,9 @@ import {
26
26
  PanelDropZone,
27
27
  Panel,
28
28
  PanelContent,
29
+ PanelHeaderActions,
30
+ PanelHeader,
31
+ PanelHeaderActionItem,
29
32
  } from '@finos/legend-art';
30
33
  import {
31
34
  CORE_DND_TYPE,
@@ -198,25 +201,23 @@ export const OperationSetImplementationEditor = observer(
198
201
  return (
199
202
  <div className="mapping-element-editor__content">
200
203
  <Panel>
201
- <div className="panel__header">
204
+ <PanelHeader>
202
205
  <div className="panel__header__title">
203
206
  <div className="panel__header__title__content">PARAMETERS</div>
204
207
  </div>
205
- <div className="panel__header__actions">
206
- <button
207
- className="panel__header__action"
208
+ <PanelHeaderActions>
209
+ <PanelHeaderActionItem
208
210
  disabled={
209
211
  isReadOnly ||
210
212
  setImplementation.operation === OperationType.INHERITANCE
211
213
  }
212
214
  onClick={addParameter}
213
- tabIndex={-1}
214
215
  title="Add parameter"
215
216
  >
216
217
  <PlusIcon />
217
- </button>
218
- </div>
219
- </div>
218
+ </PanelHeaderActionItem>
219
+ </PanelHeaderActions>
220
+ </PanelHeader>
220
221
  <PanelDropZone
221
222
  isDragOver={isDragOver && !isReadOnly}
222
223
  dropTargetConnector={dropRef}
@@ -36,6 +36,11 @@ import {
36
36
  Button,
37
37
  PencilEditIcon,
38
38
  PanelDivider,
39
+ PanelHeaderActionItem,
40
+ PanelHeaderActions,
41
+ PanelContent,
42
+ PanelHeader,
43
+ PanelContentLists,
39
44
  } from '@finos/legend-art';
40
45
  import { flowResult } from 'mobx';
41
46
  import {
@@ -99,7 +104,7 @@ const ProjectStructureEditor = observer(
99
104
  };
100
105
 
101
106
  return (
102
- <div className="panel__content__lists">
107
+ <PanelContentLists>
103
108
  <div className="project-configuration-editor__project__structure__version">
104
109
  <div className="project-configuration-editor__project__structure__version__label">
105
110
  <div className="project-configuration-editor__project__structure__version__label__status">
@@ -197,7 +202,7 @@ const ProjectStructureEditor = observer(
197
202
  </PanelListItem>
198
203
  </PanelFormSection>
199
204
  </PanelForm>
200
- </div>
205
+ </PanelContentLists>
201
206
  );
202
207
  },
203
208
  );
@@ -662,7 +667,7 @@ export const ProjectConfigurationEditor = observer(() => {
662
667
  return (
663
668
  <div className="project-configuration-editor">
664
669
  <Panel>
665
- <div className="panel__header">
670
+ <PanelHeader>
666
671
  <div className="panel__header__title">
667
672
  <div className="panel__header__title__label">
668
673
  project configuration
@@ -685,8 +690,8 @@ export const ProjectConfigurationEditor = observer(() => {
685
690
  >
686
691
  Update
687
692
  </button>
688
- </div>
689
- <div className="panel__header project-configuration-editor__tabs__header">
693
+ </PanelHeader>
694
+ <PanelHeader className="project-configuration-editor__tabs__header">
690
695
  <div className="project-configuration-editor__tabs">
691
696
  {tabs.map((tab) => (
692
697
  <button
@@ -701,19 +706,17 @@ export const ProjectConfigurationEditor = observer(() => {
701
706
  </button>
702
707
  ))}
703
708
  </div>
704
- <div className="panel__header__actions">
705
- <button
706
- className="panel__header__action"
709
+ <PanelHeaderActions>
710
+ <PanelHeaderActionItem
707
711
  disabled={disableAddButton}
708
- tabIndex={-1}
709
712
  onClick={addValue}
710
713
  title={addButtonTitle}
711
714
  >
712
715
  <PlusIcon />
713
- </button>
714
- </div>
715
- </div>
716
- <div className="panel__content project-configuration-editor__content">
716
+ </PanelHeaderActionItem>
717
+ </PanelHeaderActions>
718
+ </PanelHeader>
719
+ <PanelContent className="project-configuration-editor__content">
717
720
  {selectedTab === CONFIGURATION_EDITOR_TAB.PROJECT_STRUCTURE && (
718
721
  <ProjectStructureEditor
719
722
  projectConfig={currentProjectConfiguration}
@@ -729,7 +732,7 @@ export const ProjectConfigurationEditor = observer(() => {
729
732
  isReadOnly={isReadOnly}
730
733
  />
731
734
  )}
732
- </div>
735
+ </PanelContent>
733
736
  </Panel>
734
737
  </div>
735
738
  );
@@ -53,6 +53,7 @@ import {
53
53
  PanelHeader,
54
54
  PanelHeaderActions,
55
55
  PanelHeaderActionItem,
56
+ PanelContentLists,
56
57
  } from '@finos/legend-art';
57
58
  import {
58
59
  MASTER_SNAPSHOT_ALIAS,
@@ -552,30 +553,25 @@ const ProjectDependencyConflictViewer = observer(
552
553
  }, [dependencyEditorState, hasConflict]);
553
554
 
554
555
  return (
555
- <div className="panel project-dependency-explorer">
556
- <div className="panel__header">
557
- <div className="panel__header__title">
558
- <div className="panel__header__title__label">conflicts</div>
559
- </div>
560
- <div className="panel__header__actions">
561
- <button
562
- className="panel__header__action"
556
+ <Panel className="project-dependency-explorer">
557
+ <PanelHeader title="conflicts">
558
+ <PanelHeaderActions>
559
+ <PanelHeaderActionItem
560
+ title="Collapse Tree"
563
561
  disabled={!hasConflict || !dependencyEditorState.conflictStates}
564
562
  onClick={collapseTree}
565
- tabIndex={-1}
566
563
  >
567
- <CompressIcon title="Collapse Tree" />
568
- </button>
569
- <button
570
- className="panel__header__action"
564
+ <CompressIcon />
565
+ </PanelHeaderActionItem>
566
+ <PanelHeaderActionItem
567
+ title="Expand All Conflict Paths"
571
568
  disabled={!hasConflict || !dependencyEditorState.conflictStates}
572
569
  onClick={expandAllNodes}
573
- tabIndex={-1}
574
570
  >
575
- <ExpandAllIcon title="Expand All Conflict Paths" />
576
- </button>
577
- </div>
578
- </div>
571
+ <ExpandAllIcon />
572
+ </PanelHeaderActionItem>
573
+ </PanelHeaderActions>
574
+ </PanelHeader>
579
575
  <div className="project-dependency-explorer__content">
580
576
  {hasConflict && dependencyEditorState.conflictStates && (
581
577
  <div>
@@ -592,7 +588,7 @@ const ProjectDependencyConflictViewer = observer(
592
588
  )}
593
589
  {!hasConflict && <BlankPanelContent>No Conflicts</BlankPanelContent>}
594
590
  </div>
595
- </div>
591
+ </Panel>
596
592
  );
597
593
  },
598
594
  );
@@ -1002,7 +998,7 @@ export const ProjectDependencyEditor = observer(() => {
1002
998
  dependencyEditorState.fetchingDependencyInfoState.isInProgress;
1003
999
 
1004
1000
  return (
1005
- <div className="panel__content__lists">
1001
+ <PanelContentLists>
1006
1002
  <PanelLoadingIndicator isLoading={isLoading} />
1007
1003
  {isLoading && (
1008
1004
  <div className="project-dependency-editor__progress-msg">
@@ -1031,6 +1027,6 @@ export const ProjectDependencyEditor = observer(() => {
1031
1027
  dependencyEditorState={dependencyEditorState}
1032
1028
  />
1033
1029
  )}
1034
- </div>
1030
+ </PanelContentLists>
1035
1031
  );
1036
1032
  });
@@ -22,6 +22,10 @@ import {
22
22
  SquareIcon,
23
23
  PanelLoadingIndicator,
24
24
  PanelFormBooleanField,
25
+ PanelHeaderActionItem,
26
+ PanelHeaderActions,
27
+ PanelHeader,
28
+ PanelContent,
25
29
  } from '@finos/legend-art';
26
30
  import { prettyCONSTName } from '@finos/legend-shared';
27
31
  import { LEGEND_STUDIO_TEST_ID } from '../../../../__lib__/LegendStudioTesting.js';
@@ -161,30 +165,25 @@ export const BulkServiceRegistrationEditor = observer(() => {
161
165
  data-testid={LEGEND_STUDIO_TEST_ID.SERVICE_REGISTRATION_EDITOR}
162
166
  className="service-registration-editor"
163
167
  >
164
- <div className="panel__header">
165
- <div className="panel__header__title">
166
- <div className="panel__header__title__label">Register Service</div>
167
- </div>
168
- <div className="panel__header__actions">
169
- <div className="panel__header__action">
170
- <button
171
- className="btn--dark model-loader__header__load-btn"
172
- onClick={registerService}
173
- disabled={disableRegistration}
174
- title="Register Service"
175
- >
176
- Register
177
- </button>
178
- </div>
179
- </div>
180
- </div>
168
+ <PanelHeader title="Register Service">
169
+ <PanelHeaderActions>
170
+ <PanelHeaderActionItem
171
+ className="btn--dark model-loader__header__load-btn"
172
+ onClick={registerService}
173
+ disabled={disableRegistration}
174
+ title="Register Service"
175
+ >
176
+ Register
177
+ </PanelHeaderActionItem>
178
+ </PanelHeaderActions>
179
+ </PanelHeader>
181
180
  <PanelLoadingIndicator
182
181
  isLoading={
183
182
  globalBulkServiceRegistrationState.serviceConfigState
184
183
  .registrationState.isInProgress
185
184
  }
186
185
  />
187
- <div className="panel__content">
186
+ <PanelContent>
188
187
  <div className="panel__content__form">
189
188
  {globalBulkServiceRegistrationState.serviceConfigState
190
189
  .registrationState.message && (
@@ -305,7 +304,7 @@ export const BulkServiceRegistrationEditor = observer(() => {
305
304
  />
306
305
  </div>
307
306
  </div>
308
- </div>
307
+ </PanelContent>
309
308
  </div>
310
309
  );
311
310
  });
@@ -31,6 +31,7 @@ import {
31
31
  PanelForm,
32
32
  CustomSelectorInput,
33
33
  PanelFormValidatedTextField,
34
+ PanelContentLists,
34
35
  } from '@finos/legend-art';
35
36
  import { debounce, prettyCONSTName } from '@finos/legend-shared';
36
37
  import { ServiceExecutionEditor } from './ServiceExecutionEditor.js';
@@ -197,7 +198,7 @@ const ServiceGeneralEditor = observer(() => {
197
198
  }, [serviceState]);
198
199
 
199
200
  return (
200
- <div className="panel__content__lists service-editor__general">
201
+ <PanelContentLists className="service-editor__general">
201
202
  <PanelForm>
202
203
  <PanelFormValidatedTextField
203
204
  ref={patternRef}
@@ -436,7 +437,7 @@ const ServiceGeneralEditor = observer(() => {
436
437
  </div>
437
438
  </div>
438
439
  </PanelForm>
439
- </div>
440
+ </PanelContentLists>
440
441
  );
441
442
  });
442
443
 
@@ -58,6 +58,9 @@ import {
58
58
  Panel,
59
59
  PanelContent,
60
60
  ModalTitle,
61
+ PanelHeaderActionItem,
62
+ PanelHeaderActions,
63
+ PanelHeader,
61
64
  } from '@finos/legend-art';
62
65
  import { ServiceExecutionQueryEditor } from './ServiceExecutionQueryEditor.js';
63
66
  import { useEditorStore } from '../../EditorStoreProvider.js';
@@ -680,24 +683,22 @@ const MultiPureExecutionEditor = observer(
680
683
  </div>
681
684
  </div>
682
685
  <div className="service-multi-execution-editor__panel">
683
- <div className="panel__header">
686
+ <PanelHeader>
684
687
  <div className="panel__header__title">
685
688
  <div className="panel__header__title__content">
686
689
  Execution Contexts
687
690
  </div>
688
691
  </div>
689
- <div className="panel__header__actions">
690
- <button
691
- className="panel__header__action"
692
+ <PanelHeaderActions>
693
+ <PanelHeaderActionItem
692
694
  disabled={multiExecutionState.serviceEditorState.isReadOnly}
693
695
  onClick={addExecutionKey}
694
- tabIndex={-1}
695
696
  title="Add an execution context"
696
697
  >
697
698
  <PlusIcon />
698
- </button>
699
- </div>
700
- </div>
699
+ </PanelHeaderActionItem>
700
+ </PanelHeaderActions>
701
+ </PanelHeader>
701
702
 
702
703
  {multiExecution.executionParameters.map((executionParameter) => (
703
704
  <KeyExecutionItem
@@ -26,6 +26,10 @@ import {
26
26
  MenuContent,
27
27
  MenuContentItem,
28
28
  BlankPanelContent,
29
+ PanelHeaderActionItem,
30
+ PanelHeaderActions,
31
+ Panel,
32
+ PanelHeader,
29
33
  } from '@finos/legend-art';
30
34
  import { observer } from 'mobx-react-lite';
31
35
  import type { ServiceTestSuite } from '@finos/legend-graph';
@@ -113,10 +117,10 @@ export const ServiceTestableEditor = observer(
113
117
  );
114
118
 
115
119
  return (
116
- <div className="service-test-suite-editor panel">
117
- <div className="panel__header">
120
+ <Panel className="service-test-suite-editor">
121
+ <PanelHeader>
118
122
  {service.tests.length ? (
119
- <div className="panel__header service-test-suite-editor__header service-test-suite-editor__header--with-tabs">
123
+ <PanelHeader className="service-test-suite-editor__header service-test-suite-editor__header--with-tabs">
120
124
  <div className="uml-element-editor__tabs">
121
125
  {service.tests.map((suite) => (
122
126
  <div
@@ -141,22 +145,17 @@ export const ServiceTestableEditor = observer(
141
145
  </div>
142
146
  ))}
143
147
  </div>
144
- </div>
148
+ </PanelHeader>
145
149
  ) : (
146
150
  <div></div>
147
151
  )}
148
- <div className="panel__header__actions">
149
- <button
150
- className="panel__header__action"
151
- tabIndex={-1}
152
- onClick={addSuite}
153
- title="Add Service Suite"
154
- >
152
+ <PanelHeaderActions>
153
+ <PanelHeaderActionItem onClick={addSuite} title="Add Service Suite">
155
154
  <PlusIcon />
156
- </button>
157
- </div>
158
- </div>
159
- <div className="service-test-suite-editor panel">
155
+ </PanelHeaderActionItem>
156
+ </PanelHeaderActions>
157
+ </PanelHeader>
158
+ <Panel className="service-test-suite-editor">
160
159
  {serviceTestableState.selectedSuiteState && (
161
160
  <ServiceTestSuiteEditor
162
161
  serviceTestSuiteState={serviceTestableState.selectedSuiteState}
@@ -181,8 +180,8 @@ export const ServiceTestableEditor = observer(
181
180
  setValue={renameSuite}
182
181
  />
183
182
  )}
184
- </div>
185
- </div>
183
+ </Panel>
184
+ </Panel>
186
185
  );
187
186
  },
188
187
  );
@@ -29,6 +29,7 @@ import {
29
29
  PanelContent,
30
30
  PanelFormTextField,
31
31
  PanelHeader,
32
+ PanelHeaderActions,
32
33
  PanelLoadingIndicator,
33
34
  RefreshIcon,
34
35
  WrenchIcon,
@@ -306,12 +307,9 @@ const TestAssertionResultViewer = observer(
306
307
 
307
308
  return (
308
309
  <>
309
- <div className="panel__header">
310
- <div className="panel__header__title">
311
- <div className="panel__header__title__label">result</div>
312
- </div>
313
- <div className="panel__header__actions"></div>
314
- </div>
310
+ <PanelHeader title="result">
311
+ <PanelHeaderActions />
312
+ </PanelHeader>
315
313
  <PanelContent className="testable-test-assertion-result__content">
316
314
  <div
317
315
  className={clsx('testable-test-assertion-result__summary', {
@@ -45,6 +45,7 @@ import {
45
45
  Panel,
46
46
  InfoCircleIcon,
47
47
  PanelHeader,
48
+ PanelContentLists,
48
49
  } from '@finos/legend-art';
49
50
  import { getElementIcon } from '../../../ElementIconUtils.js';
50
51
  import { prettyCONSTName, guaranteeType } from '@finos/legend-shared';
@@ -562,7 +563,7 @@ export const AssociationEditor = observer(
562
563
  })}
563
564
  >
564
565
  {selectedTab === UML_EDITOR_TAB.PROPERTIES && (
565
- <div className="panel__content__lists">
566
+ <PanelContentLists>
566
567
  <AssociationPropertyBasicEditor
567
568
  association={association}
568
569
  property={getFirstAssociatedProperty(association)}
@@ -579,14 +580,14 @@ export const AssociationEditor = observer(
579
580
  )}
580
581
  isReadOnly={isReadOnly}
581
582
  />
582
- </div>
583
+ </PanelContentLists>
583
584
  )}
584
585
  {selectedTab === UML_EDITOR_TAB.TAGGED_VALUES && (
585
586
  <PanelDropZone
586
587
  isDragOver={isTaggedValueDragOver && !isReadOnly}
587
588
  dropTargetConnector={dropTaggedValueRef}
588
589
  >
589
- <div className="panel__content__lists">
590
+ <PanelContentLists>
590
591
  <TaggedValueDragPreviewLayer />
591
592
  {association.taggedValues.map((taggedValue) => (
592
593
  <TaggedValueEditor
@@ -597,7 +598,7 @@ export const AssociationEditor = observer(
597
598
  isReadOnly={isReadOnly}
598
599
  />
599
600
  ))}
600
- </div>
601
+ </PanelContentLists>
601
602
  </PanelDropZone>
602
603
  )}
603
604
  {selectedTab === UML_EDITOR_TAB.STEREOTYPES && (
@@ -605,7 +606,7 @@ export const AssociationEditor = observer(
605
606
  isDragOver={isStereotypeDragOver && !isReadOnly}
606
607
  dropTargetConnector={dropStereotypeRef}
607
608
  >
608
- <div className="panel__content__lists">
609
+ <PanelContentLists>
609
610
  <StereotypeDragPreviewLayer />
610
611
  {association.stereotypes.map((stereotype) => (
611
612
  <StereotypeSelector
@@ -616,7 +617,7 @@ export const AssociationEditor = observer(
616
617
  isReadOnly={isReadOnly}
617
618
  />
618
619
  ))}
619
- </div>
620
+ </PanelContentLists>
620
621
  </PanelDropZone>
621
622
  )}
622
623
  </div>