@react-types/checkbox
Advanced tools
Comparing version 3.8.3 to 3.8.4
{ | ||
"name": "@react-types/checkbox", | ||
"version": "3.8.3", | ||
"version": "3.8.4", | ||
"description": "Spectrum UI components in React", | ||
@@ -12,3 +12,3 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-types/shared": "^3.24.1" | ||
"@react-types/shared": "^3.25.0" | ||
}, | ||
@@ -20,4 +20,3 @@ "peerDependencies": { | ||
"access": "public" | ||
}, | ||
"gitHead": "f0aa6aacee60af265dc8994b9274ccf072a850aa" | ||
} | ||
} | ||
} |
@@ -33,8 +33,4 @@ /* | ||
export interface ToggleProps extends InputBase, Validation<boolean>, FocusableProps { | ||
export interface ToggleStateOptions extends InputBase { | ||
/** | ||
* The label for the element. | ||
*/ | ||
children?: ReactNode, | ||
/** | ||
* Whether the element should be selected (uncontrolled). | ||
@@ -50,4 +46,11 @@ */ | ||
*/ | ||
onChange?: (isSelected: boolean) => void, | ||
onChange?: (isSelected: boolean) => void | ||
} | ||
export interface ToggleProps extends ToggleStateOptions, Validation, FocusableProps { | ||
/** | ||
* The label for the element. | ||
*/ | ||
children?: ReactNode, | ||
/** | ||
* The value of the input element, used when submitting an HTML form. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefvalue). | ||
@@ -54,0 +57,0 @@ */ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
101
63
4349
3
209
Updated@react-types/shared@^3.25.0