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

@tradeshift/elements.button

Package Overview
Dependencies
Maintainers
2
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tradeshift/elements.button - npm Package Compare versions

Comparing version 0.27.0 to 0.27.2

8

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

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

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

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

| Property | Attribute | Type | Default | Description |
| -------- | --------- | ------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------- |
| type | type | String | | Button type to have different style `primary`, `secondary`, `text`, `accept`, `warning`, `danger` |
| size | size | String | | Size of the button, `macro`, `micro` |
| busy | busy | Boolean | false | Show busy/loading animation |
| icon | icon | String | | Icon name, see the list of available icons in ts-icon component. Also note that it will hide the slot content unless the type is text |
| disabled | disabled | Boolean | false | Determine if the button is disabled. `button-click` event won't be dispatched |
| grouped | grouped | Boolean | false | For internal use in `ts-button-group` component |
| focused | focused | Boolean | false | Make the button focused |
| dir | dir | String | ltr | Direction of the component 'rtl' or 'ltr' |
| Property | Attribute | Type | Default | Description |
| --- | --- | --- | --- | --- |
| type | type | String | | Button type to have different style `primary`, `secondary`, `text`, `accept`, `warning`, `danger` |
| size | size | String | | Size of the button, `macro`, `micro` |
| busy | busy | Boolean | false | Show busy/loading animation |
| icon | icon | String | | Icon name, see the list of available icons in ts-icon component. Also note that it will hide the slot content unless the type is text |
| disabled | disabled | Boolean | false | Determine if the button is disabled. `button-click` event won't be dispatched |
| grouped | grouped | Boolean | false | For internal use in `ts-button-group` component |
| focused | focused | Boolean | false | Make the button focused |
| dir | dir | String | ltr | Direction of the component 'rtl' or 'ltr' |
## ➤ Slots
| Name | Description |
| ------- | ------------------------------------------------------------------- |
| default | Text of the button should be wrapped around \`ts-button\` element |
| Name | Description |
| ------- | ----------------------------------------------------------------- |
| default | Text of the button should be wrapped around \`ts-button\` element |

@@ -54,0 +54,0 @@ ## ➤ Events

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