@vaadin/date-picker 22.0.4 → 22.0.7

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/date-picker",
3
- "version": "22.0.4",
3
+ "version": "22.0.7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -35,21 +35,21 @@
35
35
  "@polymer/iron-a11y-announcer": "^3.0.0",
36
36
  "@polymer/iron-media-query": "^3.0.0",
37
37
  "@polymer/polymer": "^3.2.0",
38
- "@vaadin/button": "^22.0.4",
39
- "@vaadin/component-base": "^22.0.4",
40
- "@vaadin/field-base": "^22.0.4",
41
- "@vaadin/input-container": "^22.0.4",
42
- "@vaadin/vaadin-lumo-styles": "^22.0.4",
43
- "@vaadin/vaadin-material-styles": "^22.0.4",
44
- "@vaadin/vaadin-overlay": "^22.0.4",
45
- "@vaadin/vaadin-themable-mixin": "^22.0.4"
38
+ "@vaadin/button": "^22.0.7",
39
+ "@vaadin/component-base": "^22.0.7",
40
+ "@vaadin/field-base": "^22.0.7",
41
+ "@vaadin/input-container": "^22.0.7",
42
+ "@vaadin/vaadin-lumo-styles": "^22.0.7",
43
+ "@vaadin/vaadin-material-styles": "^22.0.7",
44
+ "@vaadin/vaadin-overlay": "^22.0.7",
45
+ "@vaadin/vaadin-themable-mixin": "^22.0.7"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@esm-bundle/chai": "^4.3.4",
49
- "@vaadin/dialog": "^22.0.4",
50
- "@vaadin/polymer-legacy-adapter": "^22.0.4",
49
+ "@vaadin/dialog": "^22.0.7",
50
+ "@vaadin/polymer-legacy-adapter": "^22.0.7",
51
51
  "@vaadin/testing-helpers": "^0.3.2",
52
52
  "sinon": "^9.2.0"
53
53
  },
54
- "gitHead": "55891f68d4da41e846e06dfe51dceba1665e41ce"
54
+ "gitHead": "947d74491296ca746b360ecb5f5a8efd55ab2866"
55
55
  }
@@ -214,6 +214,9 @@ class DatePicker extends DatePickerMixin(
214
214
  })
215
215
  );
216
216
  this.addController(new LabelledInputController(this.inputElement, this._labelController));
217
+
218
+ const toggleButton = this.shadowRoot.querySelector('[part="toggle-button"]');
219
+ toggleButton.addEventListener('mousedown', (e) => e.preventDefault());
217
220
  }
218
221
 
219
222
  /** @private */