@vaadin/date-time-picker 23.0.0 → 23.0.3
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 +10 -10
- package/src/vaadin-date-time-picker.js +9 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/date-time-picker",
|
|
3
|
-
"version": "23.0.
|
|
3
|
+
"version": "23.0.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -34,19 +34,19 @@
|
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@polymer/polymer": "^3.0.0",
|
|
37
|
-
"@vaadin/component-base": "^23.0.
|
|
38
|
-
"@vaadin/custom-field": "^23.0.
|
|
39
|
-
"@vaadin/date-picker": "^23.0.
|
|
40
|
-
"@vaadin/field-base": "^23.0.
|
|
41
|
-
"@vaadin/time-picker": "^23.0.
|
|
42
|
-
"@vaadin/vaadin-lumo-styles": "^23.0.
|
|
43
|
-
"@vaadin/vaadin-material-styles": "^23.0.
|
|
44
|
-
"@vaadin/vaadin-themable-mixin": "^23.0.
|
|
37
|
+
"@vaadin/component-base": "^23.0.3",
|
|
38
|
+
"@vaadin/custom-field": "^23.0.3",
|
|
39
|
+
"@vaadin/date-picker": "^23.0.3",
|
|
40
|
+
"@vaadin/field-base": "^23.0.3",
|
|
41
|
+
"@vaadin/time-picker": "^23.0.3",
|
|
42
|
+
"@vaadin/vaadin-lumo-styles": "^23.0.3",
|
|
43
|
+
"@vaadin/vaadin-material-styles": "^23.0.3",
|
|
44
|
+
"@vaadin/vaadin-themable-mixin": "^23.0.3"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@esm-bundle/chai": "^4.3.4",
|
|
48
48
|
"@vaadin/testing-helpers": "^0.3.2",
|
|
49
49
|
"sinon": "^9.2.1"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "3f010a4167c9e04405c9dfab098da0821e02a601"
|
|
52
52
|
}
|
|
@@ -1009,13 +1009,16 @@ class DateTimePicker extends FieldMixin(
|
|
|
1009
1009
|
|
|
1010
1010
|
/** @private */
|
|
1011
1011
|
__themeChanged(theme, datePicker, timePicker) {
|
|
1012
|
+
if (!datePicker || !timePicker) {
|
|
1013
|
+
// Both pickers are not ready yet
|
|
1014
|
+
return;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1012
1017
|
[datePicker, timePicker].forEach((picker) => {
|
|
1013
|
-
if (
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
picker.removeAttribute('theme');
|
|
1018
|
-
}
|
|
1018
|
+
if (theme) {
|
|
1019
|
+
picker.setAttribute('theme', theme);
|
|
1020
|
+
} else {
|
|
1021
|
+
picker.removeAttribute('theme');
|
|
1019
1022
|
}
|
|
1020
1023
|
});
|
|
1021
1024
|
}
|