@formicoidea/labre-framework-bpmn 0.24.0 → 0.26.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.
@@ -31,9 +31,9 @@ export class EdgelessBpmnMenu extends EdgelessToolbarToolMixin(LitElement) {
31
31
  }
32
32
  static { this.styles = css `
33
33
  :host {
34
- position: absolute;
35
34
  display: flex;
36
35
  z-index: -1;
36
+ justify-content: center;
37
37
  }
38
38
  .menu-content {
39
39
  display: flex;
@@ -21,9 +21,6 @@ export class EdgelessBpmnSeniorButton extends EdgelessToolbarToolMixin(SignalWat
21
21
  width: 100%;
22
22
  height: 100%;
23
23
  }
24
- :host {
25
- position: relative;
26
- }
27
24
  .bpmn-root {
28
25
  width: 100%;
29
26
  height: 64px;
@@ -67,18 +64,6 @@ export class EdgelessBpmnSeniorButton extends EdgelessToolbarToolMixin(SignalWat
67
64
  this.setEdgelessTool(DefaultTool);
68
65
  const menu = this.createPopper('edgeless-bpmn-menu', this);
69
66
  menu.element.edgeless = this.edgeless;
70
- const el = menu.element;
71
- const wrap = el.parentElement;
72
- if (wrap) {
73
- wrap.style.overflow = 'visible';
74
- wrap.style.justifyContent = 'flex-end';
75
- }
76
- Object.assign(el.style, {
77
- position: 'static',
78
- width: 'max-content',
79
- maxWidth: 'calc(100vw - 16px)',
80
- marginLeft: '0',
81
- });
82
67
  }
83
68
  render() {
84
69
  return html `<edgeless-toolbar-button
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@formicoidea/labre-framework-bpmn",
3
3
  "description": "Labre bpmn framework for @formicoidea/labre-core.",
4
- "version": "0.24.0",
4
+ "version": "0.26.0",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "author": "lajola",
@@ -27,7 +27,7 @@
27
27
  "dist"
28
28
  ],
29
29
  "dependencies": {
30
- "@formicoidea/labre-core": "0.24.0",
30
+ "@formicoidea/labre-core": "0.26.0",
31
31
  "lit": "^3.2.0"
32
32
  }
33
33
  }