@vaadin/radio-group 24.7.0-alpha3 → 24.7.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/package.json +9 -9
- package/src/vaadin-lit-radio-button.d.ts +1 -1
- package/src/vaadin-lit-radio-button.js +1 -1
- package/src/vaadin-lit-radio-group.d.ts +1 -1
- package/src/vaadin-lit-radio-group.js +1 -1
- package/src/vaadin-radio-button-mixin.d.ts +1 -1
- package/src/vaadin-radio-button-mixin.js +5 -13
- package/src/vaadin-radio-button-styles.d.ts +1 -1
- package/src/vaadin-radio-button-styles.js +1 -1
- package/src/vaadin-radio-button.d.ts +1 -1
- package/src/vaadin-radio-button.js +1 -1
- package/src/vaadin-radio-group-mixin.d.ts +1 -1
- package/src/vaadin-radio-group-mixin.js +1 -1
- package/src/vaadin-radio-group-styles.d.ts +1 -1
- package/src/vaadin-radio-group-styles.js +1 -1
- package/src/vaadin-radio-group.d.ts +1 -1
- package/src/vaadin-radio-group.js +1 -1
- package/web-types.json +1 -1
- package/web-types.lit.json +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/radio-group",
|
|
3
|
-
"version": "24.7.0-
|
|
3
|
+
"version": "24.7.0-alpha4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@open-wc/dedupe-mixin": "^1.3.0",
|
|
41
41
|
"@polymer/polymer": "^3.0.0",
|
|
42
|
-
"@vaadin/a11y-base": "24.7.0-
|
|
43
|
-
"@vaadin/component-base": "24.7.0-
|
|
44
|
-
"@vaadin/field-base": "24.7.0-
|
|
45
|
-
"@vaadin/vaadin-lumo-styles": "24.7.0-
|
|
46
|
-
"@vaadin/vaadin-material-styles": "24.7.0-
|
|
47
|
-
"@vaadin/vaadin-themable-mixin": "24.7.0-
|
|
42
|
+
"@vaadin/a11y-base": "24.7.0-alpha4",
|
|
43
|
+
"@vaadin/component-base": "24.7.0-alpha4",
|
|
44
|
+
"@vaadin/field-base": "24.7.0-alpha4",
|
|
45
|
+
"@vaadin/vaadin-lumo-styles": "24.7.0-alpha4",
|
|
46
|
+
"@vaadin/vaadin-material-styles": "24.7.0-alpha4",
|
|
47
|
+
"@vaadin/vaadin-themable-mixin": "24.7.0-alpha4",
|
|
48
48
|
"lit": "^3.0.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@vaadin/chai-plugins": "24.7.0-
|
|
51
|
+
"@vaadin/chai-plugins": "24.7.0-alpha4",
|
|
52
52
|
"@vaadin/testing-helpers": "^1.1.0",
|
|
53
53
|
"sinon": "^18.0.0"
|
|
54
54
|
},
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"web-types.json",
|
|
57
57
|
"web-types.lit.json"
|
|
58
58
|
],
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "d7165cebf9dcf6a7e9e22f6353662d33404b4856"
|
|
60
60
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import type { Constructor } from '@open-wc/dedupe-mixin';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { ActiveMixin } from '@vaadin/a11y-base/src/active-mixin.js';
|
|
@@ -32,18 +32,6 @@ export const RadioButtonMixin = (superclass) =>
|
|
|
32
32
|
type: String,
|
|
33
33
|
value: '',
|
|
34
34
|
},
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Indicates whether the element can be focused and where it participates in sequential keyboard navigation.
|
|
38
|
-
*
|
|
39
|
-
* @override
|
|
40
|
-
* @protected
|
|
41
|
-
*/
|
|
42
|
-
tabindex: {
|
|
43
|
-
type: Number,
|
|
44
|
-
value: 0,
|
|
45
|
-
reflectToAttribute: true,
|
|
46
|
-
},
|
|
47
35
|
};
|
|
48
36
|
}
|
|
49
37
|
|
|
@@ -60,6 +48,10 @@ export const RadioButtonMixin = (superclass) =>
|
|
|
60
48
|
// Set the string "on" as the default value for the radio button following the HTML specification:
|
|
61
49
|
// https://html.spec.whatwg.org/multipage/input.html#dom-input-value-default-on
|
|
62
50
|
this.value = 'on';
|
|
51
|
+
|
|
52
|
+
// Set tabindex to 0 by default to not lose focus on click in Safari
|
|
53
|
+
// See https://github.com/vaadin/web-components/pull/6780
|
|
54
|
+
this.tabindex = 0;
|
|
63
55
|
}
|
|
64
56
|
|
|
65
57
|
/** @protected */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { css } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { ControllerMixin } from '@vaadin/component-base/src/controller-mixin.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { html, PolymerElement } from '@polymer/polymer/polymer-element.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import type { Constructor } from '@open-wc/dedupe-mixin';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { DisabledMixin } from '@vaadin/a11y-base/src/disabled-mixin.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { css } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license
|
|
3
|
-
* Copyright (c) 2017 -
|
|
3
|
+
* Copyright (c) 2017 - 2025 Vaadin Ltd.
|
|
4
4
|
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
|
|
5
5
|
*/
|
|
6
6
|
import { ElementMixin } from '@vaadin/component-base/src/element-mixin.js';
|
package/web-types.json
CHANGED
package/web-types.lit.json
CHANGED