@dataforsyningen/designsystem
Advanced tools
Comparing version 7.12.2 to 7.13.1
@@ -864,2 +864,3 @@ // src/js/toast.js | ||
debounceTimer; | ||
mutationObserver; | ||
style = ` | ||
@@ -937,2 +938,5 @@ :host { | ||
this.shadowRoot.querySelector(".btn-scroll-right").addEventListener("click", this.scrollRightHandler.bind(this)); | ||
this.mutationObserver = new MutationObserver(this.updateButtons.bind(this)); | ||
const target = this.querySelector(".ds-panel"); | ||
this.mutationObserver.observe(target, { childList: true, subtree: true }); | ||
} | ||
@@ -939,0 +943,0 @@ scrollHandler() { |
{ | ||
"name": "@dataforsyningen/designsystem", | ||
"version": "7.12.2", | ||
"version": "7.13.1", | ||
"description": "Common design system for Klimadatastyrelsen with CSS, icons, UI components, and logo images.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -226,2 +226,3 @@ import { DSTogglePanel } from './togglePanel.js' | ||
debounceTimer | ||
mutationObserver | ||
style = ` | ||
@@ -301,2 +302,6 @@ :host { | ||
this.shadowRoot.querySelector('.btn-scroll-right').addEventListener('click', this.scrollRightHandler.bind(this)) | ||
this.mutationObserver = new MutationObserver(this.updateButtons.bind(this)) | ||
const target = this.querySelector('.ds-panel') | ||
this.mutationObserver.observe(target, { childList: true, subtree: true }) | ||
} | ||
@@ -303,0 +308,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4653397
3959