@yamada-ui/radio 1.3.0-dev-20241128161242 → 1.3.0-dev-20241129021830
Sign up to get free protection for your applications and to get access to all the features.
@@ -37,7 +37,7 @@ interface UseRadioGroupProps<Y extends number | string = string> {
|
|
37
37
|
declare const useRadioGroup: <Y extends number | string, M extends Dict = Dict<any>>({ id, name, defaultValue, isNative, value: valueProp, onChange: onChangeProp, ...props }: M & UseRadioGroupProps<Y>) => {
|
38
38
|
id: string;
|
39
39
|
name: string;
|
40
|
-
props: Omit<M & UseRadioGroupProps<Y>, "
|
40
|
+
props: Omit<M & UseRadioGroupProps<Y>, "value" | "defaultValue" | "name" | "id" | "onChange" | "isNative">;
|
41
41
|
setValue: react.Dispatch<react.SetStateAction<Y>>;
|
42
42
|
value: Y;
|
43
43
|
getContainerProps: PropGetter<"div", undefined>;
|
@@ -37,7 +37,7 @@ interface UseRadioGroupProps<Y extends number | string = string> {
|
|
37
37
|
declare const useRadioGroup: <Y extends number | string, M extends Dict = Dict<any>>({ id, name, defaultValue, isNative, value: valueProp, onChange: onChangeProp, ...props }: M & UseRadioGroupProps<Y>) => {
|
38
38
|
id: string;
|
39
39
|
name: string;
|
40
|
-
props: Omit<M & UseRadioGroupProps<Y>, "
|
40
|
+
props: Omit<M & UseRadioGroupProps<Y>, "value" | "defaultValue" | "name" | "id" | "onChange" | "isNative">;
|
41
41
|
setValue: react.Dispatch<react.SetStateAction<Y>>;
|
42
42
|
value: Y;
|
43
43
|
getContainerProps: PropGetter<"div", undefined>;
|
package/dist/use-radio.d.mts
CHANGED
@@ -76,7 +76,7 @@ declare const useRadio: <Y extends number | string = string, M extends Dict = Di
|
|
76
76
|
onFocus: (event: react.FocusEvent<HTMLElement, Element>) => void;
|
77
77
|
} & Omit<{
|
78
78
|
id: string;
|
79
|
-
} & Omit<M & UseRadioProps<Y>, "id"> & _yamada_ui_form_control.UseFormControlProps<HTMLElement>, "
|
79
|
+
} & Omit<M & UseRadioProps<Y>, "id"> & _yamada_ui_form_control.UseFormControlProps<HTMLElement>, "disabled" | "isDisabled" | "id" | "onFocus" | "onBlur" | "readOnly" | "required" | "isInvalid" | "isReadOnly" | "isRequired">, "value" | "name" | "defaultChecked" | "id" | "onChange" | "checked" | "defaultIsChecked" | "isChecked">, "disabled" | "aria-disabled" | "_active" | "_focus" | "_focusVisible" | "_hover" | "_invalid" | "aria-invalid" | "aria-readonly" | "aria-required" | "onFocus" | "onBlur" | "readOnly" | "required" | "data-readonly">;
|
80
80
|
getContainerProps: PropGetter<"label", undefined>;
|
81
81
|
getIconProps: PropGetter<"div", undefined>;
|
82
82
|
getInputProps: PropGetter<"input", undefined>;
|
package/dist/use-radio.d.ts
CHANGED
@@ -76,7 +76,7 @@ declare const useRadio: <Y extends number | string = string, M extends Dict = Di
|
|
76
76
|
onFocus: (event: react.FocusEvent<HTMLElement, Element>) => void;
|
77
77
|
} & Omit<{
|
78
78
|
id: string;
|
79
|
-
} & Omit<M & UseRadioProps<Y>, "id"> & _yamada_ui_form_control.UseFormControlProps<HTMLElement>, "
|
79
|
+
} & Omit<M & UseRadioProps<Y>, "id"> & _yamada_ui_form_control.UseFormControlProps<HTMLElement>, "disabled" | "isDisabled" | "id" | "onFocus" | "onBlur" | "readOnly" | "required" | "isInvalid" | "isReadOnly" | "isRequired">, "value" | "name" | "defaultChecked" | "id" | "onChange" | "checked" | "defaultIsChecked" | "isChecked">, "disabled" | "aria-disabled" | "_active" | "_focus" | "_focusVisible" | "_hover" | "_invalid" | "aria-invalid" | "aria-readonly" | "aria-required" | "onFocus" | "onBlur" | "readOnly" | "required" | "data-readonly">;
|
80
80
|
getContainerProps: PropGetter<"label", undefined>;
|
81
81
|
getIconProps: PropGetter<"div", undefined>;
|
82
82
|
getInputProps: PropGetter<"input", undefined>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@yamada-ui/radio",
|
3
|
-
"version": "1.3.0-dev-
|
3
|
+
"version": "1.3.0-dev-20241129021830",
|
4
4
|
"description": "Yamada UI radio component",
|
5
5
|
"keywords": [
|
6
6
|
"yamada",
|
@@ -36,12 +36,12 @@
|
|
36
36
|
"url": "https://github.com/yamada-ui/yamada-ui/issues"
|
37
37
|
},
|
38
38
|
"dependencies": {
|
39
|
-
"@yamada-ui/core": "1.16.0-dev-
|
40
|
-
"@yamada-ui/form-control": "2.1.9-dev-
|
41
|
-
"@yamada-ui/layouts": "1.3.0-dev-
|
42
|
-
"@yamada-ui/use-controllable-state": "1.0.24-dev-
|
43
|
-
"@yamada-ui/use-focus-visible": "1.1.11-dev-
|
44
|
-
"@yamada-ui/utils": "1.6.0-dev-
|
39
|
+
"@yamada-ui/core": "1.16.0-dev-20241129021830",
|
40
|
+
"@yamada-ui/form-control": "2.1.9-dev-20241129021830",
|
41
|
+
"@yamada-ui/layouts": "1.3.0-dev-20241129021830",
|
42
|
+
"@yamada-ui/use-controllable-state": "1.0.24-dev-20241129021830",
|
43
|
+
"@yamada-ui/use-focus-visible": "1.1.11-dev-20241129021830",
|
44
|
+
"@yamada-ui/utils": "1.6.0-dev-20241129021830"
|
45
45
|
},
|
46
46
|
"devDependencies": {
|
47
47
|
"clean-package": "2.2.0",
|