@vaadin/time-picker 23.0.6 → 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.0.6",
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.0.6",
38
- "@vaadin/component-base": "^23.0.6",
39
- "@vaadin/field-base": "^23.0.6",
40
- "@vaadin/input-container": "^23.0.6",
41
- "@vaadin/vaadin-lumo-styles": "^23.0.6",
42
- "@vaadin/vaadin-material-styles": "^23.0.6",
43
- "@vaadin/vaadin-themable-mixin": "^23.0.6"
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": "82ca8522e24a63343fb28bcb4c686e55d25c8858"
50
+ "gitHead": "8c9e64e8dfa158dd52a9bf6da351ff038c88ca85"
51
51
  }
@@ -39,7 +39,7 @@ class TimePickerComboBox extends ComboBoxMixin(ThemableMixin(PolymerElement)) {
39
39
  _item-id-path="[[itemIdPath]]"
40
40
  _item-label-path="[[itemLabelPath]]"
41
41
  loading="[[loading]]"
42
- theme="[[theme]]"
42
+ theme="[[_theme]]"
43
43
  ></vaadin-time-picker-dropdown>
44
44
  `;
45
45
  }
@@ -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);
@@ -27,7 +27,7 @@ class TimePickerDropdown extends ComboBoxDropdown {
27
27
  hidden$="[[_isOverlayHidden(_items.*, loading)]]"
28
28
  loading$="[[loading]]"
29
29
  opened="{{_overlayOpened}}"
30
- theme$="[[theme]]"
30
+ theme$="[[_theme]]"
31
31
  position-target="[[positionTarget]]"
32
32
  no-vertical-overlap
33
33
  ></vaadin-time-picker-overlay>
@@ -108,7 +108,7 @@ class TimePicker extends PatternMixin(InputControlMixin(ThemableMixin(ElementMix
108
108
  readonly="[[readonly]]"
109
109
  auto-open-disabled="[[autoOpenDisabled]]"
110
110
  position-target="[[_inputContainer]]"
111
- theme$="[[theme]]"
111
+ theme$="[[_theme]]"
112
112
  on-change="__onChange"
113
113
  >
114
114
  <vaadin-input-container
@@ -116,7 +116,7 @@ class TimePicker extends PatternMixin(InputControlMixin(ThemableMixin(ElementMix
116
116
  readonly="[[readonly]]"
117
117
  disabled="[[disabled]]"
118
118
  invalid="[[invalid]]"
119
- theme$="[[theme]]"
119
+ theme$="[[_theme]]"
120
120
  >
121
121
  <slot name="prefix" slot="prefix"></slot>
122
122
  <slot name="input"></slot>