@vaadin/radio-group 23.2.0-alpha2 → 23.2.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/radio-group",
3
- "version": "23.2.0-alpha2",
3
+ "version": "23.2.0-alpha3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -36,16 +36,16 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@polymer/polymer": "^3.0.0",
39
- "@vaadin/component-base": "23.2.0-alpha2",
40
- "@vaadin/field-base": "23.2.0-alpha2",
41
- "@vaadin/vaadin-lumo-styles": "23.2.0-alpha2",
42
- "@vaadin/vaadin-material-styles": "23.2.0-alpha2",
43
- "@vaadin/vaadin-themable-mixin": "23.2.0-alpha2"
39
+ "@vaadin/component-base": "23.2.0-alpha3",
40
+ "@vaadin/field-base": "23.2.0-alpha3",
41
+ "@vaadin/vaadin-lumo-styles": "23.2.0-alpha3",
42
+ "@vaadin/vaadin-material-styles": "23.2.0-alpha3",
43
+ "@vaadin/vaadin-themable-mixin": "23.2.0-alpha3"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@esm-bundle/chai": "^4.3.4",
47
47
  "@vaadin/testing-helpers": "^0.3.2",
48
48
  "sinon": "^13.0.2"
49
49
  },
50
- "gitHead": "c9b8113d0fa9a602f8b9cb915c1826355af2e8df"
50
+ "gitHead": "06e5875be93ca50da2846dafc65a8531010c0576"
51
51
  }
@@ -20,10 +20,17 @@ export type RadioGroupInvalidChangedEvent = CustomEvent<{ value: boolean }>;
20
20
  */
21
21
  export type RadioGroupValueChangedEvent = CustomEvent<{ value: string }>;
22
22
 
23
+ /**
24
+ * Fired whenever the field is validated.
25
+ */
26
+ export type RadioGroupValidatedEvent = CustomEvent<{ valid: boolean }>;
27
+
23
28
  export interface RadioGroupCustomEventMap {
24
29
  'invalid-changed': RadioGroupInvalidChangedEvent;
25
30
 
26
31
  'value-changed': RadioGroupValueChangedEvent;
32
+
33
+ validated: RadioGroupValidatedEvent;
27
34
  }
28
35
 
29
36
  export interface RadioGroupEventMap extends HTMLElementEventMap, RadioGroupCustomEventMap {}
@@ -68,6 +75,7 @@ export interface RadioGroupEventMap extends HTMLElementEventMap, RadioGroupCusto
68
75
  *
69
76
  * @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
70
77
  * @fires {CustomEvent} value-changed - Fired when the `value` property changes.
78
+ * @fires {CustomEvent} validated - Fired whenever the field is validated.
71
79
  */
72
80
  declare class RadioGroup extends FieldMixin(
73
81
  FocusMixin(DisabledMixin(KeyboardMixin(ElementMixin(ThemableMixin(HTMLElement))))),
@@ -54,6 +54,7 @@ import { RadioButton } from './vaadin-radio-button.js';
54
54
  *
55
55
  * @fires {CustomEvent} invalid-changed - Fired when the `invalid` property changes.
56
56
  * @fires {CustomEvent} value-changed - Fired when the `value` property changes.
57
+ * @fires {CustomEvent} validated - Fired whenever the field is validated.
57
58
  *
58
59
  * @extends HTMLElement
59
60
  * @mixes ThemableMixin