Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-types/checkbox

Package Overview
Dependencies
Maintainers
1
Versions
795
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-types/checkbox - npm Package Compare versions

Comparing version 3.0.0-rc.1 to 3.0.0-rc.2

LICENSE

6

package.json
{
"name": "@react-types/checkbox",
"version": "3.0.0-rc.1",
"version": "3.0.0-rc.2",
"description": "Spectrum UI components in React",

@@ -12,3 +12,3 @@ "license": "Apache-2.0",

"dependencies": {
"@react-types/shared": "^3.0.0-rc.1"
"@react-types/shared": "^3.0.0-rc.2"
},

@@ -21,3 +21,3 @@ "peerDependencies": {

},
"gitHead": "5a9784f0bb6c25af7422215efb31ef72caeb9600"
"gitHead": "207e6ee9076905c96638a7f81a367758872e1410"
}

@@ -0,1 +1,13 @@

/*
* Copyright 2020 Adobe. All rights reserved.
* This file is licensed to you under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. You may obtain a copy
* of the License at http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
* OF ANY KIND, either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
import {DOMProps, InputBase, StyleProps} from '@react-types/shared';

@@ -6,3 +18,2 @@ import {ReactNode} from 'react';

children?: ReactNode, // pass in children to render label
defaultSelected?: boolean,

@@ -16,2 +27,6 @@ isSelected?: boolean,

export interface CheckboxProps extends CheckboxBase {
/**
* Indeterminism is presentational, when a checkbox is indeterminate, it overrides the selection state.
* The indeterminate visual representation remains even after subsequent clicks.
*/
isIndeterminate?: boolean

@@ -21,3 +36,7 @@ }

export interface SpectrumCheckboxProps extends CheckboxProps, DOMProps, StyleProps {
/**
* By default, checkboxes are not emphasized (gray).
* This prop sets the emphasized style (blue) which provides visual prominence.
*/
isEmphasized?: boolean
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc