Skip to content

Commit

Permalink
Merge pull request #223 from wkspower/feat/francav/update-webmodeler-…
Browse files Browse the repository at this point in the history
…version

feat(ui): upgrading web modeller version
  • Loading branch information
francav authored Apr 25, 2024
2 parents 0c7dea1 + d0cdffe commit f10fb67
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 125 deletions.
2 changes: 1 addition & 1 deletion apps/react/case-portal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@formio/react": "^5.3.0",
"@miragon/camunda-web-modeler": "^0.0.4",
"@wkspower/camunda-web-modeler": "^0.0.5",
"@mui/icons-material": "^5.15.15",
"@mui/material": "^5.15.15",
"@mui/styles": "^5.15.15",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
isNotificationEvent,
isPropertiesPanelResizedEvent,
isUIUpdateRequiredEvent,
} from '@miragon/camunda-web-modeler';
} from '@wkspower/camunda-web-modeler';
import newProcessXml from './new-process';

const Transition = React.forwardRef(function Transition(props, ref) {
Expand Down Expand Up @@ -171,7 +171,20 @@ export const BPMNModeler = ({ open, keycloak, processDef, handleClose }) => {
onClose={handleClose}
TransitionComponent={Transition}
>
<AppBar sx={{ position: 'relative' }}>
<div
style={{
height: '100vh',
}}
>
<CamundaWebModeler
xml={bpmnXml}
onEvent={onEvent}
xmlTabOptions={xmlTabOptions}
modelerTabOptions={modelerTabOptions}
/>
</div>

<AppBar sx={{ top: 'auto', left: 0, bottom: 0, width: '20%', zIndex: '1' }}>
<Toolbar>
<IconButton
edge='start'
Expand All @@ -189,19 +202,6 @@ export const BPMNModeler = ({ open, keycloak, processDef, handleClose }) => {
</Button>
</Toolbar>
</AppBar>

<div
style={{
height: '100vh',
}}
>
<CamundaWebModeler
xml={bpmnXml}
onEvent={onEvent}
xmlTabOptions={xmlTabOptions}
modelerTabOptions={modelerTabOptions}
/>
</div>
</Dialog>
</div>
);
Expand Down
Loading

0 comments on commit f10fb67

Please sign in to comment.