@vaadin/radio-group 23.2.0 → 23.3.0-alpha1

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",
3
+ "version": "23.3.0-alpha1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -38,11 +38,11 @@
38
38
  ],
39
39
  "dependencies": {
40
40
  "@polymer/polymer": "^3.0.0",
41
- "@vaadin/component-base": "^23.2.0",
42
- "@vaadin/field-base": "^23.2.0",
43
- "@vaadin/vaadin-lumo-styles": "^23.2.0",
44
- "@vaadin/vaadin-material-styles": "^23.2.0",
45
- "@vaadin/vaadin-themable-mixin": "^23.2.0"
41
+ "@vaadin/component-base": "23.3.0-alpha1",
42
+ "@vaadin/field-base": "23.3.0-alpha1",
43
+ "@vaadin/vaadin-lumo-styles": "23.3.0-alpha1",
44
+ "@vaadin/vaadin-material-styles": "23.3.0-alpha1",
45
+ "@vaadin/vaadin-themable-mixin": "23.3.0-alpha1"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@esm-bundle/chai": "^4.3.4",
@@ -53,5 +53,5 @@
53
53
  "web-types.json",
54
54
  "web-types.lit.json"
55
55
  ],
56
- "gitHead": "8b1f5941f26ac41ca038e75e24c8584e331bc7a8"
56
+ "gitHead": "beabc527d4b1274eb798ff701d406fed45cfe638"
57
57
  }
@@ -9,6 +9,7 @@ import { DisabledMixin } from '@vaadin/component-base/src/disabled-mixin.js';
9
9
  import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
10
10
  import { FocusMixin } from '@vaadin/component-base/src/focus-mixin.js';
11
11
  import { KeyboardMixin } from '@vaadin/component-base/src/keyboard-mixin.js';
12
+ import { TooltipController } from '@vaadin/component-base/src/tooltip-controller.js';
12
13
  import { generateUniqueId } from '@vaadin/component-base/src/unique-id-utils.js';
13
14
  import { FieldMixin } from '@vaadin/field-base/src/field-mixin.js';
14
15
  import { ThemableMixin } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
@@ -116,6 +117,8 @@ class RadioGroup extends FieldMixin(
116
117
  <slot name="error-message"></slot>
117
118
  </div>
118
119
  </div>
120
+
121
+ <slot name="tooltip"></slot>
119
122
  `;
120
123
  }
121
124
 
@@ -185,6 +188,9 @@ class RadioGroup extends FieldMixin(
185
188
  // Unregisters the removed radio buttons.
186
189
  this.__filterRadioButtons(removedNodes).forEach(this.__unregisterRadioButton);
187
190
  });
191
+
192
+ this._tooltipController = new TooltipController(this);
193
+ this.addController(this._tooltipController);
188
194
  }
189
195
 
190
196
  /**
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/radio-group",
4
- "version": "23.2.0",
4
+ "version": "23.3.0-alpha1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -127,7 +127,16 @@
127
127
  }
128
128
  }
129
129
  ],
130
- "events": []
130
+ "events": [
131
+ {
132
+ "name": "value-changed",
133
+ "description": "Fired when the `value` property changes."
134
+ },
135
+ {
136
+ "name": "checked-changed",
137
+ "description": "Fired when the `checked` property changes."
138
+ }
139
+ ]
131
140
  }
132
141
  },
133
142
  {
@@ -325,6 +334,10 @@
325
334
  {
326
335
  "name": "value-changed",
327
336
  "description": "Fired when the `value` property changes."
337
+ },
338
+ {
339
+ "name": "invalid-changed",
340
+ "description": "Fired when the `invalid` property changes."
328
341
  }
329
342
  ]
330
343
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "name": "@vaadin/radio-group",
4
- "version": "23.2.0",
4
+ "version": "23.3.0-alpha1",
5
5
  "description-markup": "markdown",
6
6
  "framework": "lit",
7
7
  "framework-config": {
@@ -53,6 +53,20 @@
53
53
  "value": {
54
54
  "kind": "expression"
55
55
  }
56
+ },
57
+ {
58
+ "name": "@value-changed",
59
+ "description": "Fired when the `value` property changes.",
60
+ "value": {
61
+ "kind": "expression"
62
+ }
63
+ },
64
+ {
65
+ "name": "@checked-changed",
66
+ "description": "Fired when the `checked` property changes.",
67
+ "value": {
68
+ "kind": "expression"
69
+ }
56
70
  }
57
71
  ]
58
72
  },
@@ -130,6 +144,13 @@
130
144
  "value": {
131
145
  "kind": "expression"
132
146
  }
147
+ },
148
+ {
149
+ "name": "@invalid-changed",
150
+ "description": "Fired when the `invalid` property changes.",
151
+ "value": {
152
+ "kind": "expression"
153
+ }
133
154
  }
134
155
  ]
135
156
  }