@zag-js/radio-group 1.36.0 → 1.38.0
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.
|
@@ -180,6 +180,7 @@ function connect(service, normalize) {
|
|
|
180
180
|
form: prop("form"),
|
|
181
181
|
value: props.value,
|
|
182
182
|
required: prop("required"),
|
|
183
|
+
"aria-labelledby": dom.getItemLabelId(scope, props.value),
|
|
183
184
|
"aria-invalid": itemState.invalid || void 0,
|
|
184
185
|
onClick(event) {
|
|
185
186
|
if (readOnly) {
|
|
@@ -146,6 +146,7 @@ function connect(service, normalize) {
|
|
|
146
146
|
form: prop("form"),
|
|
147
147
|
value: props.value,
|
|
148
148
|
required: prop("required"),
|
|
149
|
+
"aria-labelledby": dom.getItemLabelId(scope, props.value),
|
|
149
150
|
"aria-invalid": itemState.invalid || void 0,
|
|
150
151
|
onClick(event) {
|
|
151
152
|
if (readOnly) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/radio-group",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.38.0",
|
|
4
4
|
"description": "Core logic for the radio group widget implemented as a state machine",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"js",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"url": "https://github.com/chakra-ui/zag/issues"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@zag-js/anatomy": "1.
|
|
31
|
-
"@zag-js/dom-query": "1.
|
|
32
|
-
"@zag-js/focus-visible": "1.
|
|
33
|
-
"@zag-js/utils": "1.
|
|
34
|
-
"@zag-js/core": "1.
|
|
35
|
-
"@zag-js/types": "1.
|
|
30
|
+
"@zag-js/anatomy": "1.38.0",
|
|
31
|
+
"@zag-js/dom-query": "1.38.0",
|
|
32
|
+
"@zag-js/focus-visible": "1.38.0",
|
|
33
|
+
"@zag-js/utils": "1.38.0",
|
|
34
|
+
"@zag-js/core": "1.38.0",
|
|
35
|
+
"@zag-js/types": "1.38.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"clean-package": "2.2.0"
|