New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tradeshift/elements.checkbox

Package Overview
Dependencies
Maintainers
8
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tradeshift/elements.checkbox - npm Package Compare versions

Comparing version 0.27.0 to 0.27.2

6

package.json
{
"name": "@tradeshift/elements.checkbox",
"version": "0.27.0",
"version": "0.27.2",
"repository": {

@@ -18,6 +18,6 @@ "type": "git",

"dependencies": {
"@tradeshift/elements": "^0.27.0"
"@tradeshift/elements": "^0.27.2"
},
"src": "src/checkbox.js",
"gitHead": "a11a27abc355ec5cca791ff7353068f97f0872c7"
"gitHead": "bd49caa355a07257efd18228a55185ce788f7bce"
}

@@ -36,17 +36,17 @@ <h1 align="center">

| Property | Attribute | Type | Default | Description |
| -------- | ---------- | ------- | ------- | ------------------------------------------------------------------------------------------------------------------------------- |
| name | name | String | '' | Name of checkbox |
| value | value | String | | Value of checkbox |
| dir | dir | String | ltr | Direction of the component 'rtl' or 'ltr' |
| label | data-label | String | | Label of checkbox. To customize the label and have something more than simple string, use the slot, and remove this attribute |
| checked | checked | Boolean | false | Status of checkbox |
| disabled | disabled | Boolean | false | disabled |
| readonly | readonly | Boolean | false | readonly, user can't change the value like disabled, but with different styling |
| Property | Attribute | Type | Default | Description |
| --- | --- | --- | --- | --- |
| name | name | String | '' | Name of checkbox |
| value | value | String | | Value of checkbox |
| dir | dir | String | ltr | Direction of the component 'rtl' or 'ltr' |
| label | data-label | String | | Label of checkbox. To customize the label and have something more than simple string, use the slot, and remove this attribute |
| checked | checked | Boolean | false | Status of checkbox |
| disabled | disabled | Boolean | false | disabled |
| readonly | readonly | Boolean | false | readonly, user can't change the value like disabled, but with different styling |
## ➤ Slots
| Name | Description |
| ------- | ------------------------------------------------------------------------------------------------ |
| default | To customized checkbox label (links, ...). Remember you need to remove 'data-label' attribute. |
| Name | Description |
| ------- | ---------------------------------------------------------------------------------------------- |
| default | To customized checkbox label (links, ...). Remember you need to remove 'data-label' attribute. |

@@ -53,0 +53,0 @@ ## ➤ How to use it

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