Comparing version 2.1.7 to 2.1.8
@@ -19,3 +19,3 @@ import { html, css, LitElement } from "lit"; | ||
align-items: center; | ||
--dile-icon-color: var(--dile-on-primary-color, #303030); | ||
--dile-icon-color: var(--dile-on-primary-color, #ffffff); | ||
} | ||
@@ -22,0 +22,0 @@ dile-icon { |
@@ -15,3 +15,3 @@ import { LitElement, html, css } from 'lit'; | ||
--dile-modal-max-height: 95vh; | ||
color: #303030; | ||
color: var(--dile-on-primary-color, #303030); | ||
--dile-icon-rounded-background-color: var(--dile-primary-color, #2962FF); | ||
@@ -18,0 +18,0 @@ --dile-icon-color: var(--dile-modal-help-icon-color, #fff); |
@@ -154,2 +154,3 @@ import { LitElement, html, css } from 'lit'; | ||
registerText(json) { | ||
console.log('json', json); | ||
this.selectedText = json[this.displayProperty]; | ||
@@ -291,8 +292,12 @@ this.loading = false; | ||
registerData(json) { | ||
if(this.resultDataProperty === undefined || this.resultDataProperty === '') { | ||
this.data = json; | ||
this.data = this.getResultData(json); | ||
this.updateComplete.then( () => this.loading = false ) | ||
} | ||
getResultData(json) { | ||
if (this.resultDataProperty === undefined || this.resultDataProperty === '') { | ||
return json; | ||
} else { | ||
this.data = json[this.resultDataProperty]; | ||
return json[this.resultDataProperty]; | ||
} | ||
this.updateComplete.then( () => this.loading = false ) | ||
} | ||
@@ -299,0 +304,0 @@ |
{ | ||
"name": "@dile/ui", | ||
"version": "2.1.7", | ||
"version": "2.1.8", | ||
"description": "UI Core components from dile-components.", | ||
@@ -23,3 +23,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"@dile/icons": "^2.0.9", | ||
"@dile/icons": "^2.0.10", | ||
"lit": "^2.7.0 || ^3.0.0" | ||
@@ -30,3 +30,3 @@ }, | ||
}, | ||
"gitHead": "f8612e377dd1d5f0b89fe10f9569e44f86a74aba" | ||
"gitHead": "e3ddacef52e67cdc9c6b0f6e1beda9aa15aeb0f0" | ||
} |
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
210235
186
6666
Updated@dile/icons@^2.0.10