Comparing version 2.0.7 to 2.1.0
@@ -16,2 +16,4 @@ import { LitElement, html, css } from 'lit'; | ||
color: #303030; | ||
--dile-icon-rounded-background-color: var(--dile-primary-color, #2962FF); | ||
--dile-icon-color: var(--dile-modal-help-icon-color, #fff); | ||
} | ||
@@ -22,6 +24,9 @@ h1 { | ||
font-weight: 300; | ||
color: var(--primary-dark-color); | ||
color: var(--primary-dark-color, #303030); | ||
padding-bottom: 0.5rem; | ||
border-bottom: 1px solid var(--primary-color); | ||
border-bottom: 1px solid var(--primary-color, #2962FF); | ||
} | ||
dile-icon { | ||
cursor: pointer; | ||
} | ||
.content { | ||
@@ -62,3 +67,3 @@ overflow: auto; | ||
${this.onlyIcon | ||
? html`<dile-icon .icon=${this.icon} @click=${this.open}></dile-icon>` | ||
? html`<dile-icon .icon=${this.icon} @click=${this.open} rounded></dile-icon>` | ||
: html` | ||
@@ -83,5 +88,12 @@ <dile-button-icon | ||
get elmodal() { | ||
return this.shadowRoot.getElementById('elmodal'); | ||
} | ||
open() { | ||
this.shadowRoot.getElementById('elmodal').open(); | ||
this.elmodal.open(); | ||
} | ||
close() { | ||
this.elmodal.close(); | ||
} | ||
} |
{ | ||
"name": "@dile/ui", | ||
"version": "2.0.7", | ||
"version": "2.1.0", | ||
"description": "UI Core components from dile-components.", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"type": "git", | ||
"url": "git+https://github.com/Polydile/Components.git" | ||
"url": "git+https://github.com/Polydile/dile-components.git" | ||
}, | ||
@@ -22,3 +22,3 @@ "keywords": [ | ||
}, | ||
"homepage": "https://github.com/Polydile/Components#readme", | ||
"homepage": "https://dile-components.polydile.com/", | ||
"dependencies": { | ||
@@ -31,3 +31,3 @@ "@dile/icons": "^2.0.3", | ||
}, | ||
"gitHead": "7d521acefdc4edef45f7f4c3dd0f454013a9e75a" | ||
"gitHead": "9d26c17d9855b73203b87535fd2a8b83c890b4cb" | ||
} |
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
204288
6486