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

@leafygreen-ui/checkbox

Package Overview
Dependencies
Maintainers
4
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@leafygreen-ui/checkbox - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

dist/ts3.4/Checkbox.d.ts

8

CHANGELOG.md
# @leafygreen-ui/checkbox
## 6.0.1
### Patch Changes
- dac3f38b: Fixes a publishing error that prevented UMD modules from being distributed
- Updated dependencies [dac3f38b]
- @leafygreen-ui/lib@6.0.1
## 6.0.0

@@ -4,0 +12,0 @@

6

package.json
{
"name": "@leafygreen-ui/checkbox",
"version": "6.0.0",
"version": "6.0.1",
"description": "LeafyGreen UI Kit Checkbox",

@@ -23,8 +23,8 @@ "main": "./dist/index.js",

"dependencies": {
"@leafygreen-ui/lib": "^6.0.0"
"@leafygreen-ui/lib": "^6.0.1"
},
"devDependencies": {
"@leafygreen-ui/palette": "^3.0.0"
"@leafygreen-ui/palette": "^3.0.1"
},
"gitHead": "dd71a2d404218ccec2e657df9c0263dc1c15b9e0"
}

@@ -23,12 +23,14 @@ # Checkbox

```Javascript
```js
import Checkbox from '@leafygreen-ui/checkbox';
<Checkbox
className='my-checkbox'
onChange={(event) => {/* Something to handle the click event */}}
label='This is how you enable a thing'
checked={true}
bold={false}
/>
className="my-checkbox"
onChange={event => {
/* Something to handle the click event */
}}
label="This is how you enable a thing"
checked={true}
bold={false}
/>;
```

@@ -38,24 +40,28 @@

```HTML
<label class="css-1rgbgdt my-checkbox" title="Create an item" for="checkbox-14827892">
<input
checked
type="checkbox"
role="checkbox"
class="css-32kjhsdaf"
id="checkbox-14827892"
name="checkbox-14827892"
aria-disabled="false"
aria-checked="true"
aria-labeledby="checkbox-14827892-label"
/>
```html
<label
class="css-1rgbgdt my-checkbox"
title="Create an item"
for="checkbox-14827892"
>
<input
checked
type="checkbox"
role="checkbox"
class="css-32kjhsdaf"
id="checkbox-14827892"
name="checkbox-14827892"
aria-disabled="false"
aria-checked="true"
aria-labeledby="checkbox-14827892-label"
/>
<div class="css-34kjkdfg">
<div class="css-98sdfjsad"></div>
</div>
<div class="css-34kjkdfg">
<div class="css-98sdfjsad"></div>
</div>
<span class="css-8xdsjfh9" id="checkbox-14827892-label">
This is how you enable a thing
</span>
</label>
<span class="css-8xdsjfh9" id="checkbox-14827892-label">
This is how you enable a thing
</span>
</label>
```

@@ -62,0 +68,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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