@proximus/lavender-mega-dropdown 2.0.0-alpha.3 → 2.0.0-alpha.4

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 (2) hide show
  1. package/dist/index.es.js +2 -2
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -1818,7 +1818,7 @@ class re extends HTMLElement {
1818
1818
  }
1819
1819
  }
1820
1820
  customElements.get("px-mdd-closer") || customElements.define("px-mdd-closer", re);
1821
- const ie = ":host{--mdd-dialog-offset-top: 0}dialog{border:none;width:100%;margin-inline:0;margin-top:var(--mdd-dialog-offset-top);max-width:100%;max-height:100%;background-color:var(--px-color-background-surface-default)}@keyframes slide-left-fade-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}dialog::backdrop{background-color:#0000}@media screen and (max-width: 767px){dialog{height:100dvh;margin:0;padding:0;animation:slide-left-fade-in .3s ease-in-out}px-container{height:100dvh}px-container>px-vstack>px-button-icon{position:initial;display:none;right:0}px-container>px-vstack>px-mdd-closer{display:none}dialog::backdrop{background-color:var(--px-color-background-surface-default)}}px-container{position:relative}px-container>px-vstack>px-button-icon{position:absolute;top:2em;right:1em}#sections-container{overflow:auto}@media only screen and (min-width: 48em){#sections-container{padding-bottom:0}}#mobile-header{display:none}@media screen and (max-width: 767px){#mobile-header{display:block;padding-bottom:2em}}px-p{display:none}@media screen and (max-width: 767px){px-p{display:block;padding-bottom:2em}}#footer{display:none}@media screen and (max-width: 767px){#footer{display:block;position:absolute;bottom:0;left:0;right:0;padding:var(--px-padding-s-mobile);background-color:var(--px-color-background-container-light-default)}}", kt = new CSSStyleSheet();
1821
+ const ie = ":host{--mdd-dialog-offset-top: 0}dialog{border:none;width:100%;margin-inline:0;margin-top:var(--mdd-dialog-offset-top);max-width:100%;max-height:100%;background-color:var(--px-color-background-surface-default)}@keyframes slide-left-fade-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}dialog::backdrop{background-color:#0000}@media screen and (max-height: 285px){dialog #footer{position:static}dialog::backdrop{background-color:#0006}}@media screen and (max-width: 767px){dialog{height:100dvh;margin:0;padding:0;animation:slide-left-fade-in .3s ease-in-out}px-container{height:100dvh}px-container>px-vstack>px-button-icon{position:initial;display:none;right:0}px-container>px-vstack>px-mdd-closer{display:none}dialog::backdrop{background-color:var(--px-color-background-surface-default)}}px-container{position:relative}px-container>px-vstack>px-button-icon{position:absolute;top:2em;right:1em}#sections-container{overflow:auto}@media only screen and (min-width: 48em){#sections-container{padding-bottom:0}}#mobile-header{display:none}@media screen and (max-width: 767px){#mobile-header{display:block;padding-bottom:2em}}px-p{display:none}@media screen and (max-width: 767px){px-p{display:block;padding-bottom:2em}}#footer{display:none}@media screen and (max-width: 767px){#footer{display:block;position:absolute;bottom:0;left:0;right:0;padding:var(--px-padding-s-mobile);background-color:var(--px-color-background-container-light-default)}}", kt = new CSSStyleSheet();
1822
1822
  kt.replaceSync(ie);
1823
1823
  var v, l, R, yt, A, At;
1824
1824
  class ae extends HTMLElement {
@@ -1919,7 +1919,7 @@ class ae extends HTMLElement {
1919
1919
  }), this.getAttribute("name") === "__lavender_mobile_menu" && (n(this, l, R).style.visibility = "hidden"), this.getAttribute("name") !== "__lavender_mobile_menu" && (n(this, l, yt).innerText = ((o = (e = this.closest("px-header")) == null ? void 0 : e.querySelector(
1920
1920
  `px-header-item[for="${this.getAttribute("name")}"]`
1921
1921
  )) == null ? void 0 : o.innerText) ?? ""), this.$slotMddFooter || (n(this, l, A).style.display = "none"), y(this, v, new MutationObserver(() => {
1922
- console.log("mutation observed"), this.$slotMddFooter && (n(this, l, A).style.display = "block");
1922
+ this.$slotMddFooter && (n(this, l, A).style.display = "block");
1923
1923
  })), n(this, v).observe(this, { childList: !0, subtree: !0 });
1924
1924
  }
1925
1925
  disconnectedCallback() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-mega-dropdown",
3
- "version": "2.0.0-alpha.3",
3
+ "version": "2.0.0-alpha.4",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",