@yamada-ui/checkbox 1.3.6 → 1.3.7-dev-20250502090500
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.
|
@@ -34,7 +34,7 @@ interface UseCheckboxGroupProps<Y extends number | string = string> {
|
|
|
34
34
|
*/
|
|
35
35
|
onChange?: (value: Y[]) => void;
|
|
36
36
|
}
|
|
37
|
-
declare const useCheckboxGroup: <Y extends number | string, M extends Dict = Dict
|
|
37
|
+
declare const useCheckboxGroup: <Y extends number | string, M extends Dict = Dict>({ defaultValue, isNative, value: valueProp, onChange: onChangeProp, ...props }: M & UseCheckboxGroupProps<Y>) => {
|
|
38
38
|
props: Omit<M & UseCheckboxGroupProps<Y>, "defaultValue" | "onChange" | "value" | "isNative">;
|
|
39
39
|
setValue: react.Dispatch<react.SetStateAction<Y[]>>;
|
|
40
40
|
value: Y[];
|
|
@@ -34,7 +34,7 @@ interface UseCheckboxGroupProps<Y extends number | string = string> {
|
|
|
34
34
|
*/
|
|
35
35
|
onChange?: (value: Y[]) => void;
|
|
36
36
|
}
|
|
37
|
-
declare const useCheckboxGroup: <Y extends number | string, M extends Dict = Dict
|
|
37
|
+
declare const useCheckboxGroup: <Y extends number | string, M extends Dict = Dict>({ defaultValue, isNative, value: valueProp, onChange: onChangeProp, ...props }: M & UseCheckboxGroupProps<Y>) => {
|
|
38
38
|
props: Omit<M & UseCheckboxGroupProps<Y>, "defaultValue" | "onChange" | "value" | "isNative">;
|
|
39
39
|
setValue: react.Dispatch<react.SetStateAction<Y[]>>;
|
|
40
40
|
value: Y[];
|
package/dist/use-checkbox.d.mts
CHANGED
|
@@ -83,7 +83,7 @@ interface UseCheckboxProps<Y extends number | string = string> extends FormContr
|
|
|
83
83
|
*/
|
|
84
84
|
onFocus?: FocusEventHandler<HTMLInputElement>;
|
|
85
85
|
}
|
|
86
|
-
declare const useCheckbox: <Y extends number | string = string, M extends Dict = Dict
|
|
86
|
+
declare const useCheckbox: <Y extends number | string = string, M extends Dict = Dict>({ id, ...props }: M & UseCheckboxProps<Y>) => {
|
|
87
87
|
active: boolean;
|
|
88
88
|
checked: boolean;
|
|
89
89
|
focused: boolean;
|
package/dist/use-checkbox.d.ts
CHANGED
|
@@ -83,7 +83,7 @@ interface UseCheckboxProps<Y extends number | string = string> extends FormContr
|
|
|
83
83
|
*/
|
|
84
84
|
onFocus?: FocusEventHandler<HTMLInputElement>;
|
|
85
85
|
}
|
|
86
|
-
declare const useCheckbox: <Y extends number | string = string, M extends Dict = Dict
|
|
86
|
+
declare const useCheckbox: <Y extends number | string = string, M extends Dict = Dict>({ id, ...props }: M & UseCheckboxProps<Y>) => {
|
|
87
87
|
active: boolean;
|
|
88
88
|
checked: boolean;
|
|
89
89
|
focused: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamada-ui/checkbox",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.7-dev-20250502090500",
|
|
4
4
|
"description": "Yamada UI checkbox component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"yamada",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@yamada-ui/core": "1.17.3",
|
|
40
40
|
"@yamada-ui/form-control": "2.1.15",
|
|
41
41
|
"@yamada-ui/layouts": "1.4.3",
|
|
42
|
-
"@yamada-ui/motion": "2.3.
|
|
42
|
+
"@yamada-ui/motion": "2.3.4-dev-20250502090500",
|
|
43
43
|
"@yamada-ui/use-controllable-state": "1.0.29",
|
|
44
44
|
"@yamada-ui/use-focus-visible": "1.1.16",
|
|
45
45
|
"@yamada-ui/utils": "1.7.2"
|