@formicoidea/labre-ddd-shared 0.25.0 → 0.26.1

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.
@@ -16,9 +16,9 @@ export class DddMenuBase extends EdgelessToolbarToolMixin(LitElement) {
16
16
  }
17
17
  static { this.styles = css `
18
18
  :host {
19
- position: absolute;
20
19
  display: flex;
21
20
  z-index: -1;
21
+ justify-content: center;
22
22
  }
23
23
  .menu-content {
24
24
  display: flex;
@@ -22,9 +22,6 @@ export class DddSeniorButtonBase extends EdgelessToolbarToolMixin(SignalWatcher(
22
22
  width: 100%;
23
23
  height: 100%;
24
24
  }
25
- :host {
26
- position: relative;
27
- }
28
25
  .ddd-root {
29
26
  width: 100%;
30
27
  height: 64px;
@@ -61,18 +58,6 @@ export class DddSeniorButtonBase extends EdgelessToolbarToolMixin(SignalWatcher(
61
58
  this.setEdgelessTool(DefaultTool);
62
59
  const menu = this.createPopper(this.menuTag, this);
63
60
  menu.element.edgeless = this.edgeless;
64
- const el = menu.element;
65
- const wrap = el.parentElement;
66
- if (wrap) {
67
- wrap.style.overflow = 'visible';
68
- wrap.style.justifyContent = 'flex-end';
69
- }
70
- Object.assign(el.style, {
71
- position: 'static',
72
- width: 'max-content',
73
- maxWidth: 'calc(100vw - 16px)',
74
- marginLeft: '0',
75
- });
76
61
  }
77
62
  render() {
78
63
  return html `<edgeless-toolbar-button
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@formicoidea/labre-ddd-shared",
3
3
  "description": "Labre ddd-shared — shared building blocks for @formicoidea/labre-core frameworks.",
4
- "version": "0.25.0",
4
+ "version": "0.26.1",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "author": "lajola",
@@ -19,7 +19,7 @@
19
19
  "dist"
20
20
  ],
21
21
  "dependencies": {
22
- "@formicoidea/labre-core": "0.25.0",
22
+ "@formicoidea/labre-core": "0.26.1",
23
23
  "lit": "^3.2.0"
24
24
  }
25
25
  }