@vaadin/vaadin-combo-box 21.0.3 → 21.0.4
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 +12 -12
- package/src/vaadin-combo-box-dropdown.js +11 -0
- package/src/vaadin-combo-box.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/vaadin-combo-box",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.4",
|
|
4
4
|
"description": "Web Component for displaying a list of items with filtering",
|
|
5
5
|
"main": "vaadin-combo-box.js",
|
|
6
6
|
"repository": "vaadin/vaadin-combo-box",
|
|
@@ -28,27 +28,27 @@
|
|
|
28
28
|
"@polymer/iron-list": "^3.0.0",
|
|
29
29
|
"@polymer/iron-resizable-behavior": "^3.0.0",
|
|
30
30
|
"@polymer/polymer": "^3.0.0",
|
|
31
|
-
"@vaadin/vaadin-control-state-mixin": "^21.0.
|
|
32
|
-
"@vaadin/vaadin-element-mixin": "^21.0.
|
|
33
|
-
"@vaadin/vaadin-item": "^21.0.
|
|
34
|
-
"@vaadin/vaadin-lumo-styles": "^21.0.
|
|
35
|
-
"@vaadin/vaadin-material-styles": "^21.0.
|
|
36
|
-
"@vaadin/vaadin-overlay": "^21.0.
|
|
37
|
-
"@vaadin/vaadin-text-field": "^21.0.
|
|
38
|
-
"@vaadin/vaadin-themable-mixin": "^21.0.
|
|
31
|
+
"@vaadin/vaadin-control-state-mixin": "^21.0.4",
|
|
32
|
+
"@vaadin/vaadin-element-mixin": "^21.0.4",
|
|
33
|
+
"@vaadin/vaadin-item": "^21.0.4",
|
|
34
|
+
"@vaadin/vaadin-lumo-styles": "^21.0.4",
|
|
35
|
+
"@vaadin/vaadin-material-styles": "^21.0.4",
|
|
36
|
+
"@vaadin/vaadin-overlay": "^21.0.4",
|
|
37
|
+
"@vaadin/vaadin-text-field": "^21.0.4",
|
|
38
|
+
"@vaadin/vaadin-themable-mixin": "^21.0.4"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@esm-bundle/chai": "4.3.0",
|
|
42
42
|
"@polymer/iron-input": "^3.0.1",
|
|
43
43
|
"@polymer/paper-input": "^3.0.0",
|
|
44
44
|
"@vaadin/testing-helpers": "^0.2.1",
|
|
45
|
-
"@vaadin/vaadin-dialog": "^21.0.
|
|
46
|
-
"@vaadin/vaadin-template-renderer": "^21.0.
|
|
45
|
+
"@vaadin/vaadin-dialog": "^21.0.4",
|
|
46
|
+
"@vaadin/vaadin-template-renderer": "^21.0.4",
|
|
47
47
|
"lit": "^2.0.0",
|
|
48
48
|
"sinon": "^9.2.0"
|
|
49
49
|
},
|
|
50
50
|
"publishConfig": {
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "5bcf4893e594a60701c723f5c9157ad6ac694baf"
|
|
54
54
|
}
|
|
@@ -22,6 +22,8 @@ registerStyles(
|
|
|
22
22
|
|
|
23
23
|
const ONE_THIRD = 0.3;
|
|
24
24
|
|
|
25
|
+
let memoizedTemplate;
|
|
26
|
+
|
|
25
27
|
/**
|
|
26
28
|
* An element used internally by `<vaadin-combo-box>`. Not intended to be used separately.
|
|
27
29
|
*
|
|
@@ -33,6 +35,15 @@ class ComboBoxOverlayElement extends OverlayElement {
|
|
|
33
35
|
return 'vaadin-combo-box-overlay';
|
|
34
36
|
}
|
|
35
37
|
|
|
38
|
+
static get template() {
|
|
39
|
+
if (!memoizedTemplate) {
|
|
40
|
+
memoizedTemplate = super.template.cloneNode(true);
|
|
41
|
+
memoizedTemplate.content.querySelector('[part~="overlay"]').removeAttribute('tabindex');
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
return memoizedTemplate;
|
|
45
|
+
}
|
|
46
|
+
|
|
36
47
|
connectedCallback() {
|
|
37
48
|
super.connectedCallback();
|
|
38
49
|
|