@react-types/checkbox
Advanced tools
Comparing version 3.0.0-nightly.3053 to 3.0.0-nightly.3069
{ | ||
"name": "@react-types/checkbox", | ||
"version": "3.0.0-nightly.3053+f56a78746", | ||
"version": "3.0.0-nightly.3069+ec7509177", | ||
"description": "Spectrum UI components in React", | ||
@@ -12,3 +12,3 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-types/shared": "3.0.0-nightly.3053+f56a78746" | ||
"@react-types/shared": "3.0.0-nightly.3069+ec7509177" | ||
}, | ||
@@ -21,3 +21,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "f56a78746d0fd804267cb5ab17e2675f33f13e5e" | ||
"gitHead": "ec75091771bcfccaed7e23a2adbc0911dc284896" | ||
} |
@@ -33,4 +33,8 @@ /* | ||
export interface ToggleStateOptions extends InputBase { | ||
export interface ToggleProps extends InputBase, Validation<boolean>, FocusableProps { | ||
/** | ||
* The label for the element. | ||
*/ | ||
children?: ReactNode, | ||
/** | ||
* Whether the element should be selected (uncontrolled). | ||
@@ -46,11 +50,4 @@ */ | ||
*/ | ||
onChange?: (isSelected: boolean) => void | ||
} | ||
export interface ToggleProps extends ToggleStateOptions, Validation, FocusableProps { | ||
onChange?: (isSelected: boolean) => void, | ||
/** | ||
* 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). | ||
@@ -57,0 +54,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
210
15728
99