@vaadin/radio-group 25.3.0-alpha3 → 25.3.0-alpha4
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/custom-elements.json
CHANGED
|
@@ -128,8 +128,7 @@
|
|
|
128
128
|
"inheritedFrom": {
|
|
129
129
|
"name": "InputMixin",
|
|
130
130
|
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
131
|
-
}
|
|
132
|
-
"default": "'on'"
|
|
131
|
+
}
|
|
133
132
|
}
|
|
134
133
|
],
|
|
135
134
|
"attributes": [
|
|
@@ -330,28 +329,18 @@
|
|
|
330
329
|
"module": "src/vaadin-radio-button-mixin.js"
|
|
331
330
|
}
|
|
332
331
|
},
|
|
333
|
-
{
|
|
334
|
-
"kind": "field",
|
|
335
|
-
"name": "tabindex",
|
|
336
|
-
"type": {
|
|
337
|
-
"text": "number"
|
|
338
|
-
},
|
|
339
|
-
"default": "0",
|
|
340
|
-
"inheritedFrom": {
|
|
341
|
-
"name": "RadioButtonMixin",
|
|
342
|
-
"module": "src/vaadin-radio-button-mixin.js"
|
|
343
|
-
}
|
|
344
|
-
},
|
|
345
332
|
{
|
|
346
333
|
"kind": "field",
|
|
347
334
|
"name": "value",
|
|
335
|
+
"privacy": "public",
|
|
348
336
|
"type": {
|
|
349
337
|
"text": "string"
|
|
350
338
|
},
|
|
351
|
-
"
|
|
339
|
+
"description": "The value of the field.",
|
|
340
|
+
"attribute": "value",
|
|
352
341
|
"inheritedFrom": {
|
|
353
|
-
"name": "
|
|
354
|
-
"
|
|
342
|
+
"name": "InputMixin",
|
|
343
|
+
"package": "@vaadin/field-base/src/input-mixin.js"
|
|
355
344
|
}
|
|
356
345
|
}
|
|
357
346
|
],
|
|
@@ -453,18 +442,6 @@
|
|
|
453
442
|
"module": "src/vaadin-radio-button-mixin.js"
|
|
454
443
|
}
|
|
455
444
|
},
|
|
456
|
-
{
|
|
457
|
-
"name": "tabindex",
|
|
458
|
-
"type": {
|
|
459
|
-
"text": "number"
|
|
460
|
-
},
|
|
461
|
-
"description": "Indicates whether the element can be focused and where it participates in sequential keyboard navigation.",
|
|
462
|
-
"fieldName": "tabindex",
|
|
463
|
-
"inheritedFrom": {
|
|
464
|
-
"name": "TabindexMixin",
|
|
465
|
-
"package": "@vaadin/a11y-base/src/tabindex-mixin.js"
|
|
466
|
-
}
|
|
467
|
-
},
|
|
468
445
|
{
|
|
469
446
|
"name": "value",
|
|
470
447
|
"type": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/radio-group",
|
|
3
|
-
"version": "25.3.0-
|
|
3
|
+
"version": "25.3.0-alpha4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -37,18 +37,18 @@
|
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
40
|
-
"@vaadin/a11y-base": "25.3.0-
|
|
41
|
-
"@vaadin/component-base": "25.3.0-
|
|
42
|
-
"@vaadin/field-base": "25.3.0-
|
|
43
|
-
"@vaadin/vaadin-themable-mixin": "25.3.0-
|
|
40
|
+
"@vaadin/a11y-base": "25.3.0-alpha4",
|
|
41
|
+
"@vaadin/component-base": "25.3.0-alpha4",
|
|
42
|
+
"@vaadin/field-base": "25.3.0-alpha4",
|
|
43
|
+
"@vaadin/vaadin-themable-mixin": "25.3.0-alpha4",
|
|
44
44
|
"lit": "^3.0.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@vaadin/aura": "25.3.0-
|
|
48
|
-
"@vaadin/chai-plugins": "25.3.0-
|
|
49
|
-
"@vaadin/test-runner-commands": "25.3.0-
|
|
47
|
+
"@vaadin/aura": "25.3.0-alpha4",
|
|
48
|
+
"@vaadin/chai-plugins": "25.3.0-alpha4",
|
|
49
|
+
"@vaadin/test-runner-commands": "25.3.0-alpha4",
|
|
50
50
|
"@vaadin/testing-helpers": "^2.0.0",
|
|
51
|
-
"@vaadin/vaadin-lumo-styles": "25.3.0-
|
|
51
|
+
"@vaadin/vaadin-lumo-styles": "25.3.0-alpha4",
|
|
52
52
|
"sinon": "^22.0.0"
|
|
53
53
|
},
|
|
54
54
|
"customElements": "custom-elements.json",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"web-types.json",
|
|
57
57
|
"web-types.lit.json"
|
|
58
58
|
],
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "ff0efcd52d3b8a081e8101d36cf7bef65ed71cb1"
|
|
60
60
|
}
|
|
@@ -40,12 +40,18 @@ export const RadioButtonMixin = (superclass) =>
|
|
|
40
40
|
|
|
41
41
|
this._setType('radio');
|
|
42
42
|
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
/**
|
|
44
|
+
* Set the string "on" as the default value for the radio button following the HTML specification:
|
|
45
|
+
* https://html.spec.whatwg.org/multipage/input.html#dom-input-value-default-on
|
|
46
|
+
* @internal to not document it in CEM
|
|
47
|
+
*/
|
|
45
48
|
this.value = 'on';
|
|
46
49
|
|
|
47
|
-
|
|
48
|
-
|
|
50
|
+
/**
|
|
51
|
+
* Set tabindex to 0 by default to not lose focus on click in Safari
|
|
52
|
+
* See https://github.com/vaadin/web-components/pull/6780
|
|
53
|
+
* @internal to not document it in CEM
|
|
54
|
+
*/
|
|
49
55
|
this.tabindex = 0;
|
|
50
56
|
}
|
|
51
57
|
|
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.3.0-
|
|
4
|
+
"version": "25.3.0-alpha4",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -55,15 +55,6 @@
|
|
|
55
55
|
]
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
|
-
{
|
|
59
|
-
"name": "tabindex",
|
|
60
|
-
"description": "Indicates whether the element can be focused and where it participates in sequential keyboard navigation.",
|
|
61
|
-
"value": {
|
|
62
|
-
"type": [
|
|
63
|
-
"number"
|
|
64
|
-
]
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
58
|
{
|
|
68
59
|
"name": "theme",
|
|
69
60
|
"description": "The theme variants to apply to the component.",
|
|
@@ -132,18 +123,9 @@
|
|
|
132
123
|
]
|
|
133
124
|
}
|
|
134
125
|
},
|
|
135
|
-
{
|
|
136
|
-
"name": "tabindex",
|
|
137
|
-
"description": "",
|
|
138
|
-
"value": {
|
|
139
|
-
"type": [
|
|
140
|
-
"number"
|
|
141
|
-
]
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
126
|
{
|
|
145
127
|
"name": "value",
|
|
146
|
-
"description": "",
|
|
128
|
+
"description": "The value of the field.",
|
|
147
129
|
"value": {
|
|
148
130
|
"type": [
|
|
149
131
|
"string"
|
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.3.0-
|
|
4
|
+
"version": "25.3.0-alpha4",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"framework": "lit",
|
|
7
7
|
"framework-config": {
|
|
@@ -54,16 +54,9 @@
|
|
|
54
54
|
"kind": "expression"
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
|
-
{
|
|
58
|
-
"name": ".tabindex",
|
|
59
|
-
"description": "",
|
|
60
|
-
"value": {
|
|
61
|
-
"kind": "expression"
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
57
|
{
|
|
65
58
|
"name": ".value",
|
|
66
|
-
"description": "",
|
|
59
|
+
"description": "The value of the field.",
|
|
67
60
|
"value": {
|
|
68
61
|
"kind": "expression"
|
|
69
62
|
}
|