@vaadin/date-picker 25.1.13 → 25.1.14
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 +13 -13
- package/src/vaadin-date-picker-mixin.js +7 -1
- 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/date-picker",
|
|
3
|
-
"version": "25.1.
|
|
3
|
+
"version": "25.1.14",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -35,21 +35,21 @@
|
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
|
-
"@vaadin/a11y-base": "~25.1.
|
|
39
|
-
"@vaadin/button": "~25.1.
|
|
40
|
-
"@vaadin/component-base": "~25.1.
|
|
41
|
-
"@vaadin/field-base": "~25.1.
|
|
42
|
-
"@vaadin/input-container": "~25.1.
|
|
43
|
-
"@vaadin/overlay": "~25.1.
|
|
44
|
-
"@vaadin/vaadin-themable-mixin": "~25.1.
|
|
38
|
+
"@vaadin/a11y-base": "~25.1.14",
|
|
39
|
+
"@vaadin/button": "~25.1.14",
|
|
40
|
+
"@vaadin/component-base": "~25.1.14",
|
|
41
|
+
"@vaadin/field-base": "~25.1.14",
|
|
42
|
+
"@vaadin/input-container": "~25.1.14",
|
|
43
|
+
"@vaadin/overlay": "~25.1.14",
|
|
44
|
+
"@vaadin/vaadin-themable-mixin": "~25.1.14",
|
|
45
45
|
"lit": "^3.0.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@vaadin/aura": "~25.1.
|
|
49
|
-
"@vaadin/chai-plugins": "~25.1.
|
|
50
|
-
"@vaadin/test-runner-commands": "~25.1.
|
|
48
|
+
"@vaadin/aura": "~25.1.14",
|
|
49
|
+
"@vaadin/chai-plugins": "~25.1.14",
|
|
50
|
+
"@vaadin/test-runner-commands": "~25.1.14",
|
|
51
51
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
52
|
-
"@vaadin/vaadin-lumo-styles": "~25.1.
|
|
52
|
+
"@vaadin/vaadin-lumo-styles": "~25.1.14",
|
|
53
53
|
"sinon": "^21.0.2"
|
|
54
54
|
},
|
|
55
55
|
"customElements": "custom-elements.json",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"web-types.json",
|
|
58
58
|
"web-types.lit.json"
|
|
59
59
|
],
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "e1e68f0783c9b6c50ac194086d15e5ca91d00d24"
|
|
61
61
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { hideOthers } from '@vaadin/a11y-base/src/aria-hidden.js';
|
|
7
7
|
import { DelegateFocusMixin } from '@vaadin/a11y-base/src/delegate-focus-mixin.js';
|
|
8
|
-
import { isKeyboardActive } from '@vaadin/a11y-base/src/focus-utils.js';
|
|
8
|
+
import { isElementFocused, isKeyboardActive } from '@vaadin/a11y-base/src/focus-utils.js';
|
|
9
9
|
import { KeyboardMixin } from '@vaadin/a11y-base/src/keyboard-mixin.js';
|
|
10
10
|
import { isIOS } from '@vaadin/component-base/src/browser-utils.js';
|
|
11
11
|
import { I18nMixin } from '@vaadin/component-base/src/i18n-mixin.js';
|
|
@@ -996,6 +996,12 @@ export const DatePickerMixin = (subclass) =>
|
|
|
996
996
|
if (!this.value && !this._keyboardActive) {
|
|
997
997
|
this._requestValidation();
|
|
998
998
|
}
|
|
999
|
+
|
|
1000
|
+
// Focusout events while closing arrive with `opened` still true and keep the focused state.
|
|
1001
|
+
// Clear it here unless focus was restored to the input, as at a wide viewport or on Esc.
|
|
1002
|
+
if (!this.inputElement || !isElementFocused(this.inputElement)) {
|
|
1003
|
+
this._setFocused(false);
|
|
1004
|
+
}
|
|
999
1005
|
}
|
|
1000
1006
|
|
|
1001
1007
|
/** @private */
|
package/web-types.json
CHANGED