@dataforsyningen/designsystem
Advanced tools
Comparing version 5.3.0 to 5.4.0
@@ -708,2 +708,3 @@ // src/js/toast.js | ||
this.renderBody(); | ||
this.dispatchEvent(new CustomEvent("datatable:update", { bubbles: true })); | ||
} | ||
@@ -713,3 +714,3 @@ renderFilterInput() { | ||
filterElement.type = "search"; | ||
filterElement.style.width = "auto"; | ||
filterElement.placeholder = "Filter"; | ||
filterElement.addEventListener("input", this.filterDataHandler.bind(this)); | ||
@@ -796,2 +797,5 @@ return filterElement; | ||
} | ||
if (data.className) { | ||
cellElement.classList.add(data.className); | ||
} | ||
return cellElement; | ||
@@ -798,0 +802,0 @@ } |
{ | ||
"name": "@dataforsyningen/designsystem", | ||
"version": "5.3.0", | ||
"version": "5.4.0", | ||
"description": "Common design system for SDFI with CSS, icons, UI components, and logo images.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -34,2 +34,3 @@ /** Web component to render table data with filter and sort features */ | ||
this.renderBody() | ||
this.dispatchEvent(new CustomEvent('datatable:update', {bubbles: true})) | ||
} | ||
@@ -40,3 +41,3 @@ | ||
filterElement.type = 'search' | ||
filterElement.style.width = 'auto' | ||
filterElement.placeholder = 'Filter' | ||
filterElement.addEventListener('input', this.filterDataHandler.bind(this)) | ||
@@ -137,2 +138,5 @@ return filterElement | ||
} | ||
if (data.className) { | ||
cellElement.classList.add(data.className) | ||
} | ||
return cellElement | ||
@@ -139,0 +143,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
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
678952
3094