@vaadin/radio-group 25.0.0-alpha14 → 25.0.0-alpha16
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 +9 -9
- package/src/vaadin-radio-group-mixin.js +2 -2
- package/src/vaadin-radio-group.d.ts +10 -10
- package/src/vaadin-radio-group.js +10 -10
- package/web-types.json +2 -2
- package/web-types.lit.json +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/radio-group",
|
|
3
|
-
"version": "25.0.0-
|
|
3
|
+
"version": "25.0.0-alpha16",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -36,22 +36,22 @@
|
|
|
36
36
|
],
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
39
|
-
"@vaadin/a11y-base": "25.0.0-
|
|
40
|
-
"@vaadin/component-base": "25.0.0-
|
|
41
|
-
"@vaadin/field-base": "25.0.0-
|
|
42
|
-
"@vaadin/vaadin-themable-mixin": "25.0.0-
|
|
39
|
+
"@vaadin/a11y-base": "25.0.0-alpha16",
|
|
40
|
+
"@vaadin/component-base": "25.0.0-alpha16",
|
|
41
|
+
"@vaadin/field-base": "25.0.0-alpha16",
|
|
42
|
+
"@vaadin/vaadin-themable-mixin": "25.0.0-alpha16",
|
|
43
43
|
"lit": "^3.0.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@vaadin/chai-plugins": "25.0.0-
|
|
47
|
-
"@vaadin/test-runner-commands": "25.0.0-
|
|
46
|
+
"@vaadin/chai-plugins": "25.0.0-alpha16",
|
|
47
|
+
"@vaadin/test-runner-commands": "25.0.0-alpha16",
|
|
48
48
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
49
|
-
"@vaadin/vaadin-lumo-styles": "25.0.0-
|
|
49
|
+
"@vaadin/vaadin-lumo-styles": "25.0.0-alpha16",
|
|
50
50
|
"sinon": "^18.0.0"
|
|
51
51
|
},
|
|
52
52
|
"web-types": [
|
|
53
53
|
"web-types.json",
|
|
54
54
|
"web-types.lit.json"
|
|
55
55
|
],
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "4b316158a4a4f702f032bc9940fc82f0faa840f4"
|
|
57
57
|
}
|
|
@@ -209,7 +209,7 @@ export const RadioGroupMixin = (superclass) =>
|
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
/**
|
|
212
|
-
* @param {
|
|
212
|
+
* @param {HTMLElement} radioButton
|
|
213
213
|
* @private
|
|
214
214
|
*/
|
|
215
215
|
__selectNextRadioButton(radioButton) {
|
|
@@ -219,7 +219,7 @@ export const RadioGroupMixin = (superclass) =>
|
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
/**
|
|
222
|
-
* @param {
|
|
222
|
+
* @param {HTMLElement} radioButton
|
|
223
223
|
* @private
|
|
224
224
|
*/
|
|
225
225
|
__selectPrevRadioButton(radioButton) {
|
|
@@ -34,16 +34,16 @@ export * from './vaadin-radio-group-mixin.js';
|
|
|
34
34
|
*
|
|
35
35
|
* The following state attributes are available for styling:
|
|
36
36
|
*
|
|
37
|
-
* Attribute | Description
|
|
38
|
-
*
|
|
39
|
-
* `disabled` | Set when the element is disabled
|
|
40
|
-
* `readonly` | Set when the element is readonly
|
|
41
|
-
* `invalid` | Set when the element is invalid
|
|
42
|
-
* `focused` | Set when the element is focused
|
|
43
|
-
* `has-label` | Set when the element has a label
|
|
44
|
-
* `has-value` | Set when the element has a value
|
|
45
|
-
* `has-helper` | Set when the element has helper text
|
|
46
|
-
* `has-error-message` | Set when the element has an error message
|
|
37
|
+
* Attribute | Description
|
|
38
|
+
* --------------------|---------------------------------
|
|
39
|
+
* `disabled` | Set when the element is disabled
|
|
40
|
+
* `readonly` | Set when the element is readonly
|
|
41
|
+
* `invalid` | Set when the element is invalid
|
|
42
|
+
* `focused` | Set when the element is focused
|
|
43
|
+
* `has-label` | Set when the element has a label
|
|
44
|
+
* `has-value` | Set when the element has a value
|
|
45
|
+
* `has-helper` | Set when the element has helper text
|
|
46
|
+
* `has-error-message` | Set when the element has an error message
|
|
47
47
|
*
|
|
48
48
|
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
49
49
|
*
|
|
@@ -38,16 +38,16 @@ import { RadioGroupMixin } from './vaadin-radio-group-mixin.js';
|
|
|
38
38
|
*
|
|
39
39
|
* The following state attributes are available for styling:
|
|
40
40
|
*
|
|
41
|
-
* Attribute | Description
|
|
42
|
-
*
|
|
43
|
-
* `disabled` | Set when the element is disabled
|
|
44
|
-
* `readonly` | Set when the element is readonly
|
|
45
|
-
* `invalid` | Set when the element is invalid
|
|
46
|
-
* `focused` | Set when the element is focused
|
|
47
|
-
* `has-label` | Set when the element has a label
|
|
48
|
-
* `has-value` | Set when the element has a value
|
|
49
|
-
* `has-helper` | Set when the element has helper text
|
|
50
|
-
* `has-error-message` | Set when the element has an error message
|
|
41
|
+
* Attribute | Description
|
|
42
|
+
* --------------------|---------------------------------
|
|
43
|
+
* `disabled` | Set when the element is disabled
|
|
44
|
+
* `readonly` | Set when the element is readonly
|
|
45
|
+
* `invalid` | Set when the element is invalid
|
|
46
|
+
* `focused` | Set when the element is focused
|
|
47
|
+
* `has-label` | Set when the element has a label
|
|
48
|
+
* `has-value` | Set when the element has a value
|
|
49
|
+
* `has-helper` | Set when the element has helper text
|
|
50
|
+
* `has-error-message` | Set when the element has an error message
|
|
51
51
|
*
|
|
52
52
|
* See [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.
|
|
53
53
|
*
|
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": "25.0.0-
|
|
4
|
+
"version": "25.0.0-alpha16",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
},
|
|
164
164
|
{
|
|
165
165
|
"name": "vaadin-radio-group",
|
|
166
|
-
"description": "`<vaadin-radio-group>` is a web component that allows the user to choose one item from a group of choices.\n\n```html\n<vaadin-radio-group label=\"Travel class\">\n <vaadin-radio-button value=\"economy\" label=\"Economy\"></vaadin-radio-button>\n <vaadin-radio-button value=\"business\" label=\"Business\"></vaadin-radio-button>\n <vaadin-radio-button value=\"firstClass\" label=\"First Class\"></vaadin-radio-button>\n</vaadin-radio-group>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n---------------------|----------------\n`label` | The slotted label element wrapper\n`group-field` | The radio button elements wrapper\n`helper-text` | The slotted helper text element wrapper\n`error-message` | The slotted error message element wrapper\n`required-indicator` | The `required` state indicator element\n\nThe following state attributes are available for styling:\n\nAttribute | Description
|
|
166
|
+
"description": "`<vaadin-radio-group>` is a web component that allows the user to choose one item from a group of choices.\n\n```html\n<vaadin-radio-group label=\"Travel class\">\n <vaadin-radio-button value=\"economy\" label=\"Economy\"></vaadin-radio-button>\n <vaadin-radio-button value=\"business\" label=\"Business\"></vaadin-radio-button>\n <vaadin-radio-button value=\"firstClass\" label=\"First Class\"></vaadin-radio-button>\n</vaadin-radio-group>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n---------------------|----------------\n`label` | The slotted label element wrapper\n`group-field` | The radio button elements wrapper\n`helper-text` | The slotted helper text element wrapper\n`error-message` | The slotted error message element wrapper\n`required-indicator` | The `required` state indicator element\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n--------------------|---------------------------------\n`disabled` | Set when the element is disabled\n`readonly` | Set when the element is readonly\n`invalid` | Set when the element is invalid\n`focused` | Set when the element is focused\n`has-label` | Set when the element has a label\n`has-value` | Set when the element has a value\n`has-helper` | Set when the element has helper text\n`has-error-message` | Set when the element has an error message\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
|
|
167
167
|
"attributes": [
|
|
168
168
|
{
|
|
169
169
|
"name": "disabled",
|
package/web-types.lit.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": "25.0.0-
|
|
4
|
+
"version": "25.0.0-alpha16",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
81
|
"name": "vaadin-radio-group",
|
|
82
|
-
"description": "`<vaadin-radio-group>` is a web component that allows the user to choose one item from a group of choices.\n\n```html\n<vaadin-radio-group label=\"Travel class\">\n <vaadin-radio-button value=\"economy\" label=\"Economy\"></vaadin-radio-button>\n <vaadin-radio-button value=\"business\" label=\"Business\"></vaadin-radio-button>\n <vaadin-radio-button value=\"firstClass\" label=\"First Class\"></vaadin-radio-button>\n</vaadin-radio-group>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n---------------------|----------------\n`label` | The slotted label element wrapper\n`group-field` | The radio button elements wrapper\n`helper-text` | The slotted helper text element wrapper\n`error-message` | The slotted error message element wrapper\n`required-indicator` | The `required` state indicator element\n\nThe following state attributes are available for styling:\n\nAttribute | Description
|
|
82
|
+
"description": "`<vaadin-radio-group>` is a web component that allows the user to choose one item from a group of choices.\n\n```html\n<vaadin-radio-group label=\"Travel class\">\n <vaadin-radio-button value=\"economy\" label=\"Economy\"></vaadin-radio-button>\n <vaadin-radio-button value=\"business\" label=\"Business\"></vaadin-radio-button>\n <vaadin-radio-button value=\"firstClass\" label=\"First Class\"></vaadin-radio-button>\n</vaadin-radio-group>\n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n---------------------|----------------\n`label` | The slotted label element wrapper\n`group-field` | The radio button elements wrapper\n`helper-text` | The slotted helper text element wrapper\n`error-message` | The slotted error message element wrapper\n`required-indicator` | The `required` state indicator element\n\nThe following state attributes are available for styling:\n\nAttribute | Description\n--------------------|---------------------------------\n`disabled` | Set when the element is disabled\n`readonly` | Set when the element is readonly\n`invalid` | Set when the element is invalid\n`focused` | Set when the element is focused\n`has-label` | Set when the element has a label\n`has-value` | Set when the element has a value\n`has-helper` | Set when the element has helper text\n`has-error-message` | Set when the element has an error message\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.",
|
|
83
83
|
"extension": true,
|
|
84
84
|
"attributes": [
|
|
85
85
|
{
|