@vaadin/time-picker 23.0.10 → 23.0.13

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/time-picker",
3
- "version": "23.0.10",
3
+ "version": "23.0.13",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,18 +34,18 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "@polymer/polymer": "^3.0.0",
37
- "@vaadin/combo-box": "^23.0.10",
38
- "@vaadin/component-base": "^23.0.10",
39
- "@vaadin/field-base": "^23.0.10",
40
- "@vaadin/input-container": "^23.0.10",
41
- "@vaadin/vaadin-lumo-styles": "^23.0.10",
42
- "@vaadin/vaadin-material-styles": "^23.0.10",
43
- "@vaadin/vaadin-themable-mixin": "^23.0.10"
37
+ "@vaadin/combo-box": "^23.0.13",
38
+ "@vaadin/component-base": "^23.0.13",
39
+ "@vaadin/field-base": "^23.0.13",
40
+ "@vaadin/input-container": "^23.0.13",
41
+ "@vaadin/vaadin-lumo-styles": "^23.0.13",
42
+ "@vaadin/vaadin-material-styles": "^23.0.13",
43
+ "@vaadin/vaadin-themable-mixin": "^23.0.13"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@esm-bundle/chai": "^4.3.4",
47
47
  "@vaadin/testing-helpers": "^0.3.2",
48
48
  "sinon": "^9.2.0"
49
49
  },
50
- "gitHead": "e8402a55ce0e823ae6da5c97486998cfd931b1d3"
50
+ "gitHead": "e915550ec6400b5eae6c779fe0afeb1931399312"
51
51
  }
@@ -106,6 +106,7 @@ class TimePicker extends PatternMixin(InputControlMixin(ThemableMixin(ElementMix
106
106
  value="{{_comboBoxValue}}"
107
107
  disabled="[[disabled]]"
108
108
  readonly="[[readonly]]"
109
+ clear-button-visible="[[clearButtonVisible]]"
109
110
  auto-open-disabled="[[autoOpenDisabled]]"
110
111
  position-target="[[_inputContainer]]"
111
112
  theme$="[[theme]]"
@@ -532,7 +533,7 @@ class TimePicker extends PatternMixin(InputControlMixin(ThemableMixin(ElementMix
532
533
  const newValue = this.__formatISO(parsedObj) || '';
533
534
 
534
535
  if (this.value !== '' && this.value !== null && !parsedObj) {
535
- this.value = oldValue;
536
+ this.value = oldValue === undefined ? '' : oldValue;
536
537
  } else if (this.value !== newValue) {
537
538
  this.value = newValue;
538
539
  } else {