@dile/utils 2.9.17 → 2.9.19
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.
|
@@ -15,11 +15,14 @@ export class DileDatepicker extends DileInput {
|
|
|
15
15
|
css`
|
|
16
16
|
div.container {
|
|
17
17
|
display: flex;
|
|
18
|
-
align-items: flex-
|
|
18
|
+
align-items: flex-start;
|
|
19
|
+
gap: 0.75rem;
|
|
19
20
|
}
|
|
20
21
|
section.input {
|
|
21
22
|
flex-grow: 1;
|
|
22
|
-
|
|
23
|
+
}
|
|
24
|
+
.icon-container {
|
|
25
|
+
margin-top: var(--icon-container-margin-top, 0.5rem);
|
|
23
26
|
}
|
|
24
27
|
dile-icon {
|
|
25
28
|
cursor: pointer;
|
|
@@ -88,19 +91,29 @@ export class DileDatepicker extends DileInput {
|
|
|
88
91
|
<section class="input">
|
|
89
92
|
${super.render()}
|
|
90
93
|
</section>
|
|
91
|
-
<
|
|
92
|
-
${this.
|
|
93
|
-
? html
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
${this.iconTemplate}
|
|
97
|
-
<div slot="content" class="calendar">
|
|
98
|
-
${this.contentTemplate}
|
|
94
|
+
<div>
|
|
95
|
+
${this.label
|
|
96
|
+
? html`
|
|
97
|
+
<div class="label">
|
|
98
|
+
|
|
99
99
|
</div>
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
`
|
|
101
|
+
: ''
|
|
102
102
|
}
|
|
103
|
-
|
|
103
|
+
<span class="icon-container">
|
|
104
|
+
${this.disabled
|
|
105
|
+
? html`<dile-icon class="trigger-disabled" .icon="${calendarIcon}"></dile-icon>`
|
|
106
|
+
: html`
|
|
107
|
+
<dile-menu-overlay moveTop="${this.moveTop}" moveLeft="${this.moveLeft}" verticalAlign="${this.verticalAlign}" horizontalAlign="${this.horizontalAlign}" id="menu">
|
|
108
|
+
${this.iconTemplate}
|
|
109
|
+
<div slot="content" class="calendar">
|
|
110
|
+
${this.contentTemplate}
|
|
111
|
+
</div>
|
|
112
|
+
</dile-menu-overlay>
|
|
113
|
+
`
|
|
114
|
+
}
|
|
115
|
+
</span>
|
|
116
|
+
</div>
|
|
104
117
|
</div>
|
|
105
118
|
`;
|
|
106
119
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dile/utils",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.19",
|
|
4
4
|
"description": "Utility Components of Diverse Uses Based on the Lit Library and Web Components Standard.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
"homepage": "https://dile-components.com/",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@dile/ui": "^2.21.
|
|
23
|
+
"@dile/ui": "^2.21.4",
|
|
24
24
|
"@lion/ui": "^0.11.2",
|
|
25
25
|
"linkify-string": "^4.1.3",
|
|
26
26
|
"linkifyjs": "^4.1.3",
|
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "f3d7061476125162d6d9822928d40dc15e110c6c"
|
|
33
33
|
}
|