@vaadin/select 23.2.0-alpha2 → 23.2.0-dev.48e5e3967

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/select",
3
- "version": "23.2.0-alpha2",
3
+ "version": "23.2.0-dev.48e5e3967",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,25 +36,25 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@polymer/polymer": "^3.2.0",
39
- "@vaadin/button": "23.2.0-alpha2",
40
- "@vaadin/component-base": "23.2.0-alpha2",
41
- "@vaadin/field-base": "23.2.0-alpha2",
42
- "@vaadin/input-container": "23.2.0-alpha2",
43
- "@vaadin/item": "23.2.0-alpha2",
44
- "@vaadin/list-box": "23.2.0-alpha2",
45
- "@vaadin/lit-renderer": "23.2.0-alpha2",
46
- "@vaadin/vaadin-list-mixin": "23.2.0-alpha2",
47
- "@vaadin/vaadin-lumo-styles": "23.2.0-alpha2",
48
- "@vaadin/vaadin-material-styles": "23.2.0-alpha2",
49
- "@vaadin/vaadin-overlay": "23.2.0-alpha2",
50
- "@vaadin/vaadin-themable-mixin": "23.2.0-alpha2"
39
+ "@vaadin/button": "23.2.0-dev.48e5e3967",
40
+ "@vaadin/component-base": "23.2.0-dev.48e5e3967",
41
+ "@vaadin/field-base": "23.2.0-dev.48e5e3967",
42
+ "@vaadin/input-container": "23.2.0-dev.48e5e3967",
43
+ "@vaadin/item": "23.2.0-dev.48e5e3967",
44
+ "@vaadin/list-box": "23.2.0-dev.48e5e3967",
45
+ "@vaadin/lit-renderer": "23.2.0-dev.48e5e3967",
46
+ "@vaadin/vaadin-list-mixin": "23.2.0-dev.48e5e3967",
47
+ "@vaadin/vaadin-lumo-styles": "23.2.0-dev.48e5e3967",
48
+ "@vaadin/vaadin-material-styles": "23.2.0-dev.48e5e3967",
49
+ "@vaadin/vaadin-overlay": "23.2.0-dev.48e5e3967",
50
+ "@vaadin/vaadin-themable-mixin": "23.2.0-dev.48e5e3967"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@esm-bundle/chai": "^4.3.4",
54
- "@vaadin/polymer-legacy-adapter": "23.2.0-alpha2",
54
+ "@vaadin/polymer-legacy-adapter": "23.2.0-dev.48e5e3967",
55
55
  "@vaadin/testing-helpers": "^0.3.2",
56
56
  "lit": "^2.0.0",
57
57
  "sinon": "^13.0.2"
58
58
  },
59
- "gitHead": "c9b8113d0fa9a602f8b9cb915c1826355af2e8df"
59
+ "gitHead": "961bc4ae5b707c3c02f12b99819b3c12c9b478aa"
60
60
  }
@@ -244,13 +244,6 @@ declare class Select extends DelegateFocusMixin(FieldMixin(ElementMixin(Themable
244
244
  */
245
245
  requestContentUpdate(): void;
246
246
 
247
- /**
248
- * Returns true if `value` is valid, and sets the `invalid` flag appropriately.
249
- *
250
- * @returns True if the value is valid and sets the `invalid` flag appropriately
251
- */
252
- validate(): boolean;
253
-
254
247
  addEventListener<K extends keyof SelectEventMap>(
255
248
  type: K,
256
249
  listener: (this: Select, ev: SelectEventMap[K]) => void,
@@ -697,12 +697,12 @@ class Select extends DelegateFocusMixin(FieldMixin(ElementMixin(ThemableMixin(Po
697
697
  }
698
698
 
699
699
  /**
700
- * Returns true if `value` is valid, and sets the `invalid` flag appropriately.
700
+ * Returns true if the current value satisfies all constraints (if any)
701
701
  *
702
- * @return {boolean} True if the value is valid and sets the `invalid` flag appropriately
702
+ * @return {boolean}
703
703
  */
704
- validate() {
705
- return !(this.invalid = !(this.disabled || !this.required || this.value));
704
+ checkValidity() {
705
+ return this.disabled || !this.required || !!this.value;
706
706
  }
707
707
 
708
708
  /**