@vaadin/card 25.0.0-beta1 → 25.0.0-beta3
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 +8 -8
- package/src/vaadin-card.js +7 -3
- 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/card",
|
|
3
|
-
"version": "25.0.0-
|
|
3
|
+
"version": "25.0.0-beta3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -33,21 +33,21 @@
|
|
|
33
33
|
"web-component"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@vaadin/component-base": "25.0.0-
|
|
37
|
-
"@vaadin/vaadin-themable-mixin": "25.0.0-
|
|
36
|
+
"@vaadin/component-base": "25.0.0-beta3",
|
|
37
|
+
"@vaadin/vaadin-themable-mixin": "25.0.0-beta3",
|
|
38
38
|
"lit": "^3.0.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@vaadin/avatar": "25.0.0-
|
|
42
|
-
"@vaadin/chai-plugins": "25.0.0-
|
|
43
|
-
"@vaadin/test-runner-commands": "25.0.0-
|
|
41
|
+
"@vaadin/avatar": "25.0.0-beta3",
|
|
42
|
+
"@vaadin/chai-plugins": "25.0.0-beta3",
|
|
43
|
+
"@vaadin/test-runner-commands": "25.0.0-beta3",
|
|
44
44
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
45
|
-
"@vaadin/vaadin-lumo-styles": "25.0.0-
|
|
45
|
+
"@vaadin/vaadin-lumo-styles": "25.0.0-beta3",
|
|
46
46
|
"sinon": "^21.0.0"
|
|
47
47
|
},
|
|
48
48
|
"web-types": [
|
|
49
49
|
"web-types.json",
|
|
50
50
|
"web-types.lit.json"
|
|
51
51
|
],
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "4b2006b0e2f4fc131f5483223b852d34224e7b9a"
|
|
53
53
|
}
|
package/src/vaadin-card.js
CHANGED
|
@@ -62,9 +62,7 @@ class Card extends ElementMixin(ThemableMixin(PolylitMixin(LumoInjectionMixin(Li
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
static get lumoInjector() {
|
|
65
|
-
return {
|
|
66
|
-
includeBaseStyles: true,
|
|
67
|
-
};
|
|
65
|
+
return { ...super.lumoInjector, includeBaseStyles: true };
|
|
68
66
|
}
|
|
69
67
|
|
|
70
68
|
static get properties() {
|
|
@@ -126,6 +124,12 @@ class Card extends ElementMixin(ThemableMixin(PolylitMixin(LumoInjectionMixin(Li
|
|
|
126
124
|
`;
|
|
127
125
|
}
|
|
128
126
|
|
|
127
|
+
/** @protected */
|
|
128
|
+
firstUpdated() {
|
|
129
|
+
super.firstUpdated();
|
|
130
|
+
this._onSlotChange();
|
|
131
|
+
}
|
|
132
|
+
|
|
129
133
|
/** @private */
|
|
130
134
|
_onSlotChange() {
|
|
131
135
|
this.toggleAttribute('_m', this.querySelector(':scope > [slot="media"]'));
|
package/web-types.json
CHANGED