@vaadin/list-box 23.1.0-alpha3 → 23.1.0-beta2
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/list-box",
|
|
3
|
-
"version": "23.1.0-
|
|
3
|
+
"version": "23.1.0-beta2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@polymer/polymer": "^3.0.0",
|
|
37
|
-
"@vaadin/component-base": "23.1.0-
|
|
38
|
-
"@vaadin/item": "23.1.0-
|
|
39
|
-
"@vaadin/vaadin-list-mixin": "23.1.0-
|
|
40
|
-
"@vaadin/vaadin-lumo-styles": "23.1.0-
|
|
41
|
-
"@vaadin/vaadin-material-styles": "23.1.0-
|
|
42
|
-
"@vaadin/vaadin-themable-mixin": "23.1.0-
|
|
37
|
+
"@vaadin/component-base": "23.1.0-beta2",
|
|
38
|
+
"@vaadin/item": "23.1.0-beta2",
|
|
39
|
+
"@vaadin/vaadin-list-mixin": "23.1.0-beta2",
|
|
40
|
+
"@vaadin/vaadin-lumo-styles": "23.1.0-beta2",
|
|
41
|
+
"@vaadin/vaadin-material-styles": "23.1.0-beta2",
|
|
42
|
+
"@vaadin/vaadin-themable-mixin": "23.1.0-beta2"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@esm-bundle/chai": "^4.3.4",
|
|
46
46
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
47
47
|
"sinon": "^13.0.2"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "f11f9245a0b5e6bf912725a501c27c24b74e7c8d"
|
|
50
50
|
}
|
package/src/vaadin-list-box.d.ts
CHANGED
|
@@ -65,13 +65,13 @@ declare class ListBox extends MultiSelectListMixin(ThemableMixin(ElementMixin(Co
|
|
|
65
65
|
addEventListener<K extends keyof ListBoxEventMap>(
|
|
66
66
|
type: K,
|
|
67
67
|
listener: (this: ListBox, ev: ListBoxEventMap[K]) => void,
|
|
68
|
-
options?: boolean | AddEventListenerOptions
|
|
68
|
+
options?: boolean | AddEventListenerOptions,
|
|
69
69
|
): void;
|
|
70
70
|
|
|
71
71
|
removeEventListener<K extends keyof ListBoxEventMap>(
|
|
72
72
|
type: K,
|
|
73
73
|
listener: (this: ListBox, ev: ListBoxEventMap[K]) => void,
|
|
74
|
-
options?: boolean | EventListenerOptions
|
|
74
|
+
options?: boolean | EventListenerOptions,
|
|
75
75
|
): void;
|
|
76
76
|
}
|
|
77
77
|
|
package/src/vaadin-list-box.js
CHANGED
|
@@ -76,8 +76,8 @@ class ListBox extends ElementMixin(MultiSelectListMixin(ThemableMixin(Controller
|
|
|
76
76
|
// but we don't want it to be modified, or be shown in the API docs.
|
|
77
77
|
/** @private */
|
|
78
78
|
orientation: {
|
|
79
|
-
readOnly: true
|
|
80
|
-
}
|
|
79
|
+
readOnly: true,
|
|
80
|
+
},
|
|
81
81
|
};
|
|
82
82
|
}
|
|
83
83
|
|
|
@@ -88,6 +88,7 @@ class ListBox extends ElementMixin(MultiSelectListMixin(ThemableMixin(Controller
|
|
|
88
88
|
* @type {Element | null}
|
|
89
89
|
* @protected
|
|
90
90
|
*/
|
|
91
|
+
// eslint-disable-next-line no-unused-expressions
|
|
91
92
|
this.focused;
|
|
92
93
|
}
|
|
93
94
|
|
|
@@ -108,7 +109,7 @@ class ListBox extends ElementMixin(MultiSelectListMixin(ThemableMixin(Controller
|
|
|
108
109
|
|
|
109
110
|
/** @private */
|
|
110
111
|
_checkImport() {
|
|
111
|
-
|
|
112
|
+
const item = this.querySelector('vaadin-item');
|
|
112
113
|
if (item && !(item instanceof PolymerElement)) {
|
|
113
114
|
console.warn(`Make sure you have imported the vaadin-item element.`);
|
|
114
115
|
}
|