@react-types/checkbox
Advanced tools
Comparing version 3.0.0-nightly.3051 to 3.0.0-nightly.3052
{ | ||
"name": "@react-types/checkbox", | ||
"version": "3.0.0-nightly.3051+89c42a819", | ||
"version": "3.0.0-nightly.3052+81e380437", | ||
"description": "Spectrum UI components in React", | ||
@@ -12,3 +12,3 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-types/shared": "3.0.0-nightly.3051+89c42a819" | ||
"@react-types/shared": "3.0.0-nightly.3052+81e380437" | ||
}, | ||
@@ -21,3 +21,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "89c42a819b3585d25a52429110a8f26871dff2a5" | ||
"gitHead": "81e380437c63adb98b0ce73e3eaa08918d06c8bc" | ||
} |
@@ -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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
15786
101