@vaadin/details 25.2.4 → 25.2.5
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.
- package/package.json +10 -10
- package/src/summary-controller.js +15 -0
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/details",
|
|
3
|
-
"version": "25.2.
|
|
3
|
+
"version": "25.2.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,18 +35,18 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
|
-
"@vaadin/a11y-base": "~25.2.
|
|
39
|
-
"@vaadin/button": "~25.2.
|
|
40
|
-
"@vaadin/component-base": "~25.2.
|
|
41
|
-
"@vaadin/vaadin-themable-mixin": "~25.2.
|
|
38
|
+
"@vaadin/a11y-base": "~25.2.5",
|
|
39
|
+
"@vaadin/button": "~25.2.5",
|
|
40
|
+
"@vaadin/component-base": "~25.2.5",
|
|
41
|
+
"@vaadin/vaadin-themable-mixin": "~25.2.5",
|
|
42
42
|
"lit": "^3.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@vaadin/aura": "~25.2.
|
|
46
|
-
"@vaadin/chai-plugins": "~25.2.
|
|
47
|
-
"@vaadin/test-runner-commands": "~25.2.
|
|
45
|
+
"@vaadin/aura": "~25.2.5",
|
|
46
|
+
"@vaadin/chai-plugins": "~25.2.5",
|
|
47
|
+
"@vaadin/test-runner-commands": "~25.2.5",
|
|
48
48
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
49
|
-
"@vaadin/vaadin-lumo-styles": "~25.2.
|
|
49
|
+
"@vaadin/vaadin-lumo-styles": "~25.2.5",
|
|
50
50
|
"sinon": "^22.0.0"
|
|
51
51
|
},
|
|
52
52
|
"customElements": "custom-elements.json",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"web-types.json",
|
|
55
55
|
"web-types.lit.json"
|
|
56
56
|
],
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "bfaf51d71619f34c0b00b326e6426f1cd9f7b2f5"
|
|
58
58
|
}
|
|
@@ -13,6 +13,21 @@ export class SummaryController extends SlotChildObserveController {
|
|
|
13
13
|
super(host, 'summary', tagName);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
/**
|
|
17
|
+
* Override method inherited from `SlotController` to notify the host about
|
|
18
|
+
* the default empty summary element created during initialization.
|
|
19
|
+
*
|
|
20
|
+
* @protected
|
|
21
|
+
* @override
|
|
22
|
+
*/
|
|
23
|
+
initSingle() {
|
|
24
|
+
super.initSingle();
|
|
25
|
+
|
|
26
|
+
if (this.node && this.node === this.defaultNode) {
|
|
27
|
+
this.__notifyChange(this.node);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
16
31
|
/**
|
|
17
32
|
* Set summary based on corresponding host property.
|
|
18
33
|
*
|
package/web-types.json
CHANGED