@dile/ui 2.0.7 → 2.1.0
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.
|
@@ -13,14 +13,19 @@ export class DileModalHelp extends LitElement {
|
|
|
13
13
|
--dile-modal-height: auto;
|
|
14
14
|
--dile-modal-max-height: 95vh;
|
|
15
15
|
color: #303030;
|
|
16
|
+
--dile-icon-rounded-background-color: var(--dile-primary-color, #2962FF);
|
|
17
|
+
--dile-icon-color: var(--dile-modal-help-icon-color, #fff);
|
|
16
18
|
}
|
|
17
19
|
h1 {
|
|
18
20
|
margin: 0 0 1rem;
|
|
19
21
|
font-size: 1.5rem;
|
|
20
22
|
font-weight: 300;
|
|
21
|
-
color: var(--primary-dark-color);
|
|
23
|
+
color: var(--primary-dark-color, #303030);
|
|
22
24
|
padding-bottom: 0.5rem;
|
|
23
|
-
border-bottom: 1px solid var(--primary-color);
|
|
25
|
+
border-bottom: 1px solid var(--primary-color, #2962FF);
|
|
26
|
+
}
|
|
27
|
+
dile-icon {
|
|
28
|
+
cursor: pointer;
|
|
24
29
|
}
|
|
25
30
|
.content {
|
|
26
31
|
overflow: auto;
|
|
@@ -57,7 +62,7 @@ export class DileModalHelp extends LitElement {
|
|
|
57
62
|
render() {
|
|
58
63
|
return html`
|
|
59
64
|
${this.onlyIcon
|
|
60
|
-
? html`<dile-icon .icon=${this.icon} @click=${this.open}></dile-icon>`
|
|
65
|
+
? html`<dile-icon .icon=${this.icon} @click=${this.open} rounded></dile-icon>`
|
|
61
66
|
: html`
|
|
62
67
|
<dile-button-icon
|
|
63
68
|
.icon="${this.icon}"
|
|
@@ -77,7 +82,14 @@ export class DileModalHelp extends LitElement {
|
|
|
77
82
|
`;
|
|
78
83
|
}
|
|
79
84
|
|
|
85
|
+
get elmodal() {
|
|
86
|
+
return this.shadowRoot.getElementById('elmodal');
|
|
87
|
+
}
|
|
88
|
+
|
|
80
89
|
open() {
|
|
81
|
-
this.
|
|
90
|
+
this.elmodal.open();
|
|
91
|
+
}
|
|
92
|
+
close() {
|
|
93
|
+
this.elmodal.close();
|
|
82
94
|
}
|
|
83
95
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dile/ui",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "UI Core components from dile-components.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/Polydile/
|
|
11
|
+
"url": "git+https://github.com/Polydile/dile-components.git"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
14
|
"ui"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"bugs": {
|
|
19
19
|
"url": "https://github.com/Polydile/Components/issues"
|
|
20
20
|
},
|
|
21
|
-
"homepage": "https://
|
|
21
|
+
"homepage": "https://dile-components.polydile.com/",
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@dile/icons": "^2.0.3",
|
|
24
24
|
"lit": "^2.7.0 || ^3.0.0"
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "9d26c17d9855b73203b87535fd2a8b83c890b4cb"
|
|
30
30
|
}
|