@yamada-ui/radio 1.3.6 → 1.3.7-dev-20250724153719
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.
|
@@ -36,7 +36,7 @@ interface UseRadioGroupProps<Y extends number | string = string> {
|
|
|
36
36
|
*/
|
|
37
37
|
onChange?: (value: Y) => void;
|
|
38
38
|
}
|
|
39
|
-
declare const useRadioGroup: <Y extends number | string, M extends Dict = Dict
|
|
39
|
+
declare const useRadioGroup: <Y extends number | string, M extends Dict = Dict>({ id, name, defaultValue, isNative, value: valueProp, onChange: onChangeProp, ...props }: M & UseRadioGroupProps<Y>) => {
|
|
40
40
|
id: string;
|
|
41
41
|
name: string;
|
|
42
42
|
props: Omit<M & UseRadioGroupProps<Y>, "value" | "defaultValue" | "name" | "id" | "onChange" | "isNative">;
|
|
@@ -36,7 +36,7 @@ interface UseRadioGroupProps<Y extends number | string = string> {
|
|
|
36
36
|
*/
|
|
37
37
|
onChange?: (value: Y) => void;
|
|
38
38
|
}
|
|
39
|
-
declare const useRadioGroup: <Y extends number | string, M extends Dict = Dict
|
|
39
|
+
declare const useRadioGroup: <Y extends number | string, M extends Dict = Dict>({ id, name, defaultValue, isNative, value: valueProp, onChange: onChangeProp, ...props }: M & UseRadioGroupProps<Y>) => {
|
|
40
40
|
id: string;
|
|
41
41
|
name: string;
|
|
42
42
|
props: Omit<M & UseRadioGroupProps<Y>, "value" | "defaultValue" | "name" | "id" | "onChange" | "isNative">;
|
package/dist/use-radio.d.mts
CHANGED
|
@@ -51,7 +51,7 @@ interface UseRadioProps<Y extends number | string = string> extends FormControlO
|
|
|
51
51
|
*/
|
|
52
52
|
onChange?: ChangeEventHandler<HTMLInputElement>;
|
|
53
53
|
}
|
|
54
|
-
declare const useRadio: <Y extends number | string = string, M extends Dict = Dict
|
|
54
|
+
declare const useRadio: <Y extends number | string = string, M extends Dict = Dict>({ id, ...props }: M & UseRadioProps<Y>) => {
|
|
55
55
|
active: boolean;
|
|
56
56
|
checked: boolean;
|
|
57
57
|
focused: boolean;
|
package/dist/use-radio.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ interface UseRadioProps<Y extends number | string = string> extends FormControlO
|
|
|
51
51
|
*/
|
|
52
52
|
onChange?: ChangeEventHandler<HTMLInputElement>;
|
|
53
53
|
}
|
|
54
|
-
declare const useRadio: <Y extends number | string = string, M extends Dict = Dict
|
|
54
|
+
declare const useRadio: <Y extends number | string = string, M extends Dict = Dict>({ id, ...props }: M & UseRadioProps<Y>) => {
|
|
55
55
|
active: boolean;
|
|
56
56
|
checked: boolean;
|
|
57
57
|
focused: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamada-ui/radio",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.7-dev-20250724153719",
|
|
4
4
|
"description": "Yamada UI radio component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"yamada",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@yamada-ui/form-control": "2.1.15",
|
|
41
41
|
"@yamada-ui/layouts": "1.4.3",
|
|
42
42
|
"@yamada-ui/use-controllable-state": "1.0.29",
|
|
43
|
-
"@yamada-ui/use-focus-visible": "1.1.
|
|
43
|
+
"@yamada-ui/use-focus-visible": "1.1.17-dev-20250724153719",
|
|
44
44
|
"@yamada-ui/utils": "1.7.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|