@dile/ui 2.23.10 → 2.23.11
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.
|
@@ -35,9 +35,10 @@ export class DileSlideShow extends DileSlideDown(LitElement) {
|
|
|
35
35
|
-webkit-transition: height 0.5s ease-in;
|
|
36
36
|
padding: 1px 0;
|
|
37
37
|
}
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
a {
|
|
39
|
+
display: block;
|
|
40
40
|
cursor: pointer;
|
|
41
|
+
padding: var(--dile-slide-show-nav-padding, 0.5rem 0 0 0);
|
|
41
42
|
text-align: var(--dile-slide-show-align-control, left);
|
|
42
43
|
font-size: var(--dile-slide-show-font-size, 1em);
|
|
43
44
|
color: var(--dile-slide-show-text-color, #39c);
|
|
@@ -75,11 +76,11 @@ export class DileSlideShow extends DileSlideDown(LitElement) {
|
|
|
75
76
|
<div id="content">
|
|
76
77
|
<slot></slot>
|
|
77
78
|
</div>
|
|
78
|
-
<
|
|
79
|
+
<a href="#" @click="${this.toggleHandler}" class="${this._opened ? 'showmoreopen' : 'showmoreclose'}" role="button" tabindex="0">
|
|
79
80
|
<span>
|
|
80
81
|
${this._opened ? this.hideLabel : this.showLabel}
|
|
81
82
|
</span>
|
|
82
|
-
</
|
|
83
|
+
</a>
|
|
83
84
|
`;
|
|
84
85
|
}
|
|
85
86
|
|
|
@@ -87,6 +88,11 @@ export class DileSlideShow extends DileSlideDown(LitElement) {
|
|
|
87
88
|
this.content = this.shadowRoot.getElementById('content');
|
|
88
89
|
}
|
|
89
90
|
|
|
91
|
+
toggleHandler(e) {
|
|
92
|
+
e.preventDefault();
|
|
93
|
+
this.toggle();
|
|
94
|
+
}
|
|
95
|
+
|
|
90
96
|
toggle() {
|
|
91
97
|
if (this._opened) {
|
|
92
98
|
this.close();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dile/ui",
|
|
3
|
-
"version": "2.23.
|
|
3
|
+
"version": "2.23.11",
|
|
4
4
|
"description": "UI Core components from dile-components.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"publishConfig": {
|
|
27
27
|
"access": "public"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "728ff2ae631ddef00dfc3c5bc9370b3a5ab0bb3f"
|
|
30
30
|
}
|