@zag-js/radio-group 1.23.0 → 1.24.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.
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -213,7 +213,7 @@ function connect(service, normalize) {
|
|
|
213
213
|
send({ type: "SET_ACTIVE", value: null });
|
|
214
214
|
}
|
|
215
215
|
},
|
|
216
|
-
disabled: itemState.disabled,
|
|
216
|
+
disabled: itemState.disabled || readOnly,
|
|
217
217
|
defaultChecked: itemState.checked,
|
|
218
218
|
style: domQuery.visuallyHiddenStyle
|
|
219
219
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -211,7 +211,7 @@ function connect(service, normalize) {
|
|
|
211
211
|
send({ type: "SET_ACTIVE", value: null });
|
|
212
212
|
}
|
|
213
213
|
},
|
|
214
|
-
disabled: itemState.disabled,
|
|
214
|
+
disabled: itemState.disabled || readOnly,
|
|
215
215
|
defaultChecked: itemState.checked,
|
|
216
216
|
style: visuallyHiddenStyle
|
|
217
217
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zag-js/radio-group",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.24.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.24.0",
|
|
31
|
+
"@zag-js/dom-query": "1.24.0",
|
|
32
|
+
"@zag-js/focus-visible": "1.24.0",
|
|
33
|
+
"@zag-js/utils": "1.24.0",
|
|
34
|
+
"@zag-js/core": "1.24.0",
|
|
35
|
+
"@zag-js/types": "1.24.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"clean-package": "2.2.0"
|