@vaadin/item 23.1.0-alpha1 → 23.1.0-alpha4
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/item",
|
|
3
|
-
"version": "23.1.0-
|
|
3
|
+
"version": "23.1.0-alpha4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
37
37
|
"@polymer/polymer": "^3.0.0",
|
|
38
|
-
"@vaadin/component-base": "23.1.0-
|
|
39
|
-
"@vaadin/vaadin-lumo-styles": "23.1.0-
|
|
40
|
-
"@vaadin/vaadin-material-styles": "23.1.0-
|
|
41
|
-
"@vaadin/vaadin-themable-mixin": "23.1.0-
|
|
38
|
+
"@vaadin/component-base": "23.1.0-alpha4",
|
|
39
|
+
"@vaadin/vaadin-lumo-styles": "23.1.0-alpha4",
|
|
40
|
+
"@vaadin/vaadin-material-styles": "23.1.0-alpha4",
|
|
41
|
+
"@vaadin/vaadin-themable-mixin": "23.1.0-alpha4"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@esm-bundle/chai": "^4.3.4",
|
|
45
45
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
46
|
-
"sinon": "^
|
|
46
|
+
"sinon": "^13.0.2"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "aacdb7fe09811894751f0378ff7fb66071892c71"
|
|
49
49
|
}
|
|
@@ -14,7 +14,7 @@ import { FocusMixinClass } from '@vaadin/component-base/src/focus-mixin.js';
|
|
|
14
14
|
* `focused`, `active` and `focus-ring` are set as only as attributes.
|
|
15
15
|
*/
|
|
16
16
|
export declare function ItemMixin<T extends Constructor<HTMLElement>>(
|
|
17
|
-
base: T
|
|
17
|
+
base: T,
|
|
18
18
|
): T &
|
|
19
19
|
Constructor<ItemMixinClass> &
|
|
20
20
|
Constructor<ActiveMixinClass> &
|
package/src/vaadin-item-mixin.js
CHANGED
|
@@ -23,7 +23,7 @@ export const ItemMixin = (superClass) =>
|
|
|
23
23
|
* @type {boolean}
|
|
24
24
|
*/
|
|
25
25
|
_hasVaadinItemMixin: {
|
|
26
|
-
value: true
|
|
26
|
+
value: true,
|
|
27
27
|
},
|
|
28
28
|
|
|
29
29
|
/**
|
|
@@ -34,11 +34,11 @@ export const ItemMixin = (superClass) =>
|
|
|
34
34
|
type: Boolean,
|
|
35
35
|
value: false,
|
|
36
36
|
reflectToAttribute: true,
|
|
37
|
-
observer: '_selectedChanged'
|
|
37
|
+
observer: '_selectedChanged',
|
|
38
38
|
},
|
|
39
39
|
|
|
40
40
|
/** @private */
|
|
41
|
-
_value: String
|
|
41
|
+
_value: String,
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
44
|
|
package/src/vaadin-item.js
CHANGED
|
@@ -81,6 +81,7 @@ class Item extends ItemMixin(ThemableMixin(DirMixin(PolymerElement))) {
|
|
|
81
81
|
* Submittable string value. The default value is the trimmed text content of the element.
|
|
82
82
|
* @type {string}
|
|
83
83
|
*/
|
|
84
|
+
// eslint-disable-next-line no-unused-expressions
|
|
84
85
|
this.value;
|
|
85
86
|
}
|
|
86
87
|
}
|