@khanacademy/wonder-blocks-form
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -54,3 +54,3 @@ // @flow | ||
*/ | ||
onChange: (selectedValues: Array<string>) => void, | ||
onChange: (selectedValues: Array<string>) => mixed, | ||
@@ -57,0 +57,0 @@ /** |
@@ -31,3 +31,3 @@ // @flow | ||
*/ | ||
onChange: (newCheckedState: boolean) => void, | ||
onChange: (newCheckedState: boolean) => mixed, | ||
@@ -34,0 +34,0 @@ /** |
@@ -28,3 +28,3 @@ // @flow | ||
/** Returns the new checked state of the component. */ | ||
onChange: (newCheckedState: boolean) => void, | ||
onChange: (newCheckedState: boolean) => mixed, | ||
@@ -31,0 +31,0 @@ /** |
@@ -58,3 +58,3 @@ // @flow | ||
*/ | ||
onChange?: (newCheckedState: boolean) => void, | ||
onChange?: (newCheckedState: boolean) => mixed, | ||
@@ -61,0 +61,0 @@ /** |
@@ -53,3 +53,3 @@ // @flow | ||
*/ | ||
onChange: (selectedValue: string) => void, | ||
onChange: (selectedValue: string) => mixed, | ||
@@ -56,0 +56,0 @@ /** |
@@ -31,3 +31,3 @@ // @flow | ||
*/ | ||
onChange: (newCheckedState: boolean) => void, | ||
onChange: (newCheckedState: boolean) => mixed, | ||
@@ -34,0 +34,0 @@ /** |
{ | ||
"name": "@khanacademy/wonder-blocks-form", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"design": "v1", | ||
@@ -18,8 +18,8 @@ "description": "Form components for Wonder Blocks.", | ||
"dependencies": { | ||
"@khanacademy/wonder-blocks-color": "^1.1.0", | ||
"@khanacademy/wonder-blocks-core": "^2.1.0", | ||
"@khanacademy/wonder-blocks-icon": "^1.1.0", | ||
"@khanacademy/wonder-blocks-layout": "^1.1.0", | ||
"@khanacademy/wonder-blocks-spacing": "^2.1.0", | ||
"@khanacademy/wonder-blocks-typography": "^1.1.0" | ||
"@khanacademy/wonder-blocks-color": "^1.1.1", | ||
"@khanacademy/wonder-blocks-core": "^2.1.1", | ||
"@khanacademy/wonder-blocks-icon": "^1.1.1", | ||
"@khanacademy/wonder-blocks-layout": "^1.1.1", | ||
"@khanacademy/wonder-blocks-spacing": "^2.1.1", | ||
"@khanacademy/wonder-blocks-typography": "^1.1.1" | ||
}, | ||
@@ -26,0 +26,0 @@ "peerDependencies": { |
@@ -34,3 +34,3 @@ // @flow | ||
* new checked state of the component. */ | ||
onChange: (newCheckedState: boolean) => void, | ||
onChange: (newCheckedState: boolean) => mixed, | ||
/** Optional label for the field. */ | ||
@@ -68,3 +68,3 @@ label?: string, | ||
* selected values. */ | ||
onChange: (selectedValues: Array<string>) => void, | ||
onChange: (selectedValues: Array<string>) => mixed, | ||
/** An array of the values of the selected values in this checkbox group. */ | ||
@@ -76,5 +76,5 @@ selectedValues: Array<string>, | ||
/** Callback for when the selected value of the radio group has changed. */ | ||
onChange: (selectedValue: string) => void, | ||
onChange: (selectedValue: string) => mixed, | ||
/** Value of the selected radio item. */ | ||
selectedValue: string, | ||
|}; |
361465