@formicoidea/labre-framework-cynefin 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.
@@ -1,5 +1,5 @@
1
1
  import { CynefinEstuarineViewExtension } from './view.js';
2
- /** Host wiring for the cynefin-estuarine framework. */
2
+ /** Host wiring for the cynefin framework. */
3
3
  export declare const cynefinFramework: {
4
4
  readonly flag: "cynefin-estuarine";
5
5
  readonly telemetry: "cynefin";
@@ -1,5 +1,5 @@
1
1
  import { CynefinEstuarineViewExtension } from './view.js';
2
- /** Host wiring for the cynefin-estuarine framework. */
2
+ /** Host wiring for the cynefin framework. */
3
3
  export const cynefinFramework = {
4
4
  flag: 'cynefin-estuarine',
5
5
  telemetry: 'cynefin',
@@ -32,9 +32,9 @@ export class EdgelessCynefinEstuarineMenu extends EdgelessToolbarToolMixin(LitEl
32
32
  }
33
33
  static { this.styles = css `
34
34
  :host {
35
- position: absolute;
36
35
  display: flex;
37
36
  z-index: -1;
37
+ justify-content: center;
38
38
  }
39
39
  .menu-content {
40
40
  display: flex;
@@ -18,9 +18,6 @@ export class EdgelessCynefinEstuarineSeniorButton extends EdgelessToolbarToolMix
18
18
  width: 100%;
19
19
  height: 100%;
20
20
  }
21
- :host {
22
- position: relative;
23
- }
24
21
  .ce-root {
25
22
  width: 100%;
26
23
  height: 64px;
@@ -60,18 +57,6 @@ export class EdgelessCynefinEstuarineSeniorButton extends EdgelessToolbarToolMix
60
57
  this.setEdgelessTool(DefaultTool);
61
58
  const menu = this.createPopper('edgeless-cynefin-estuarine-menu', this);
62
59
  menu.element.edgeless = this.edgeless;
63
- const el = menu.element;
64
- const wrap = el.parentElement;
65
- if (wrap) {
66
- wrap.style.overflow = 'visible';
67
- wrap.style.justifyContent = 'flex-end';
68
- }
69
- Object.assign(el.style, {
70
- position: 'static',
71
- width: 'max-content',
72
- maxWidth: 'calc(100vw - 16px)',
73
- marginLeft: '0',
74
- });
75
60
  }
76
61
  render() {
77
62
  return html `<edgeless-toolbar-button
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@formicoidea/labre-framework-cynefin",
3
- "description": "Labre cynefin-estuarine framework for @formicoidea/labre-core.",
4
- "version": "0.24.0",
3
+ "description": "Labre cynefin framework for @formicoidea/labre-core.",
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
  }