@vaadin/date-picker 24.4.0-dev.4b20a0c55.3 → 24.4.0-rc1
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 +11 -11
- package/src/vaadin-date-picker-mixin.js +5 -0
- package/theme/lumo/vaadin-date-picker-light.d.ts +4 -0
- package/theme/lumo/vaadin-date-picker-overlay-content-styles.d.ts +7 -0
- package/theme/lumo/vaadin-date-picker-overlay-styles.d.ts +2 -0
- package/theme/lumo/vaadin-date-picker-styles.d.ts +2 -0
- package/theme/lumo/vaadin-date-picker-year-styles.d.ts +1 -0
- package/theme/lumo/vaadin-date-picker.d.ts +5 -0
- package/theme/lumo/vaadin-lit-date-picker.d.ts +5 -0
- package/theme/lumo/vaadin-month-calendar-styles.d.ts +5 -0
- package/theme/material/vaadin-date-picker-light.d.ts +4 -0
- package/theme/material/vaadin-date-picker-overlay-content-styles.d.ts +6 -0
- package/theme/material/vaadin-date-picker-overlay-styles.d.ts +1 -0
- package/theme/material/vaadin-date-picker-styles.d.ts +3 -0
- package/theme/material/vaadin-date-picker-year-styles.d.ts +1 -0
- package/theme/material/vaadin-date-picker.d.ts +5 -0
- package/theme/material/vaadin-lit-date-picker.d.ts +5 -0
- package/theme/material/vaadin-month-calendar-styles.d.ts +2 -0
- package/web-types.json +934 -0
- package/web-types.lit.json +398 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/date-picker",
|
|
3
|
-
"version": "24.4.0-
|
|
3
|
+
"version": "24.4.0-rc1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
38
38
|
"@polymer/polymer": "^3.2.0",
|
|
39
|
-
"@vaadin/a11y-base": "24.4.0-
|
|
40
|
-
"@vaadin/button": "24.4.0-
|
|
41
|
-
"@vaadin/component-base": "24.4.0-
|
|
42
|
-
"@vaadin/field-base": "24.4.0-
|
|
43
|
-
"@vaadin/input-container": "24.4.0-
|
|
44
|
-
"@vaadin/overlay": "24.4.0-
|
|
45
|
-
"@vaadin/vaadin-lumo-styles": "24.4.0-
|
|
46
|
-
"@vaadin/vaadin-material-styles": "24.4.0-
|
|
47
|
-
"@vaadin/vaadin-themable-mixin": "24.4.0-
|
|
39
|
+
"@vaadin/a11y-base": "24.4.0-rc1",
|
|
40
|
+
"@vaadin/button": "24.4.0-rc1",
|
|
41
|
+
"@vaadin/component-base": "24.4.0-rc1",
|
|
42
|
+
"@vaadin/field-base": "24.4.0-rc1",
|
|
43
|
+
"@vaadin/input-container": "24.4.0-rc1",
|
|
44
|
+
"@vaadin/overlay": "24.4.0-rc1",
|
|
45
|
+
"@vaadin/vaadin-lumo-styles": "24.4.0-rc1",
|
|
46
|
+
"@vaadin/vaadin-material-styles": "24.4.0-rc1",
|
|
47
|
+
"@vaadin/vaadin-themable-mixin": "24.4.0-rc1",
|
|
48
48
|
"lit": "^3.0.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"web-types.json",
|
|
57
57
|
"web-types.lit.json"
|
|
58
58
|
],
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "a81e3b927d44c56613fa4e1307494a2acc81005f"
|
|
60
60
|
}
|
|
@@ -908,7 +908,9 @@ export const DatePickerMixin = (subclass) =>
|
|
|
908
908
|
/** @protected */
|
|
909
909
|
_onOverlayEscapePress() {
|
|
910
910
|
this._focusedDate = this._selectedDate;
|
|
911
|
+
this._closedByEscape = true;
|
|
911
912
|
this._close();
|
|
913
|
+
this._closedByEscape = false;
|
|
912
914
|
}
|
|
913
915
|
|
|
914
916
|
/** @protected */
|
|
@@ -999,6 +1001,9 @@ export const DatePickerMixin = (subclass) =>
|
|
|
999
1001
|
}
|
|
1000
1002
|
window.removeEventListener('scroll', this._boundOnScroll, true);
|
|
1001
1003
|
|
|
1004
|
+
if (this._closedByEscape) {
|
|
1005
|
+
this._applyInputValue(this._selectedDate);
|
|
1006
|
+
}
|
|
1002
1007
|
this.__commitParsedOrFocusedDate();
|
|
1003
1008
|
|
|
1004
1009
|
if (this._nativeInput && this._nativeInput.selectionStart) {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import '@vaadin/vaadin-lumo-styles/color.js';
|
|
2
|
+
import '@vaadin/vaadin-lumo-styles/sizing.js';
|
|
3
|
+
import '@vaadin/vaadin-lumo-styles/spacing.js';
|
|
4
|
+
import '@vaadin/vaadin-lumo-styles/style.js';
|
|
5
|
+
import '@vaadin/vaadin-lumo-styles/typography.js';
|
|
6
|
+
import '@vaadin/button/theme/lumo/vaadin-button-styles.js';
|
|
7
|
+
import './vaadin-date-picker-year-styles.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@vaadin/vaadin-lumo-styles/color.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import '@vaadin/vaadin-material-styles/color.js';
|
|
2
|
+
import '@vaadin/vaadin-material-styles/font-icons.js';
|
|
3
|
+
import '@vaadin/vaadin-material-styles/typography.js';
|
|
4
|
+
import '@vaadin/vaadin-material-styles/shadow.js';
|
|
5
|
+
import '@vaadin/button/theme/material/vaadin-button-styles.js';
|
|
6
|
+
import './vaadin-date-picker-year-styles.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@vaadin/vaadin-material-styles/typography.js';
|