@vaadin/time-picker 23.1.0-alpha2 → 23.1.0-alpha3

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.1.0-alpha2",
3
+ "version": "23.1.0-alpha3",
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.1.0-alpha2",
38
- "@vaadin/component-base": "23.1.0-alpha2",
39
- "@vaadin/field-base": "23.1.0-alpha2",
40
- "@vaadin/input-container": "23.1.0-alpha2",
41
- "@vaadin/vaadin-lumo-styles": "23.1.0-alpha2",
42
- "@vaadin/vaadin-material-styles": "23.1.0-alpha2",
43
- "@vaadin/vaadin-themable-mixin": "23.1.0-alpha2"
37
+ "@vaadin/combo-box": "23.1.0-alpha3",
38
+ "@vaadin/component-base": "23.1.0-alpha3",
39
+ "@vaadin/field-base": "23.1.0-alpha3",
40
+ "@vaadin/input-container": "23.1.0-alpha3",
41
+ "@vaadin/vaadin-lumo-styles": "23.1.0-alpha3",
42
+ "@vaadin/vaadin-material-styles": "23.1.0-alpha3",
43
+ "@vaadin/vaadin-themable-mixin": "23.1.0-alpha3"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@esm-bundle/chai": "^4.3.4",
47
47
  "@vaadin/testing-helpers": "^0.3.2",
48
- "sinon": "^9.2.0"
48
+ "sinon": "^13.0.2"
49
49
  },
50
- "gitHead": "6842dcb8b163d4512fae8d3d12a6559077a4aee6"
50
+ "gitHead": "8c9e64e8dfa158dd52a9bf6da351ff038c88ca85"
51
51
  }
@@ -79,27 +79,6 @@ class TimePickerComboBox extends ComboBoxMixin(ThemableMixin(PolymerElement)) {
79
79
  // See https://github.com/vaadin/vaadin-time-picker/issues/145
80
80
  this.setAttribute('dir', 'ltr');
81
81
  }
82
-
83
- /** @protected */
84
- _isClearButton(event) {
85
- return (
86
- super._isClearButton(event) ||
87
- (event.type === 'input' && !event.isTrusted) || // fake input event dispatched by clear button
88
- event.composedPath()[0].getAttribute('part') === 'clear-button'
89
- );
90
- }
91
-
92
- /**
93
- * @param {!Event} event
94
- * @protected
95
- */
96
- _onChange(event) {
97
- super._onChange(event);
98
-
99
- if (this._isClearButton(event)) {
100
- this._clear();
101
- }
102
- }
103
82
  }
104
83
 
105
84
  customElements.define(TimePickerComboBox.is, TimePickerComboBox);